"use strict";this.default_kevlar_base=this.default_kevlar_base||{};(function(_){var window=this;
try{
var caa,daa,eaa,faa,gaa,haa,jaa,kaa,oaa,paa,raa,saa,taa,Fa,uaa,vaa,waa,zaa,yaa,Aaa,Baa,xaa,Daa,Eaa,Iaa,Kaa,Faa,Gaa,Naa,Oaa,Paa,Qaa,Laa,Maa,Waa,Yaa,aba,bba,cba,eba,hb,fba,kba,nba,qba,tba,rba,sba,uba,Lb,xba,Sb,Fba,Jba,Kba,Pba,mc,Qba,Rba,Sba,Tba,Uba,Wba,Vba,Yba,aca,$ba,bca,cca,Xba,dca,gca,fca,Zba,hca,ica,rc,jca,vc,rca,qca,uca,vca,zca,Bca,Kca,Oca,Ac,Rca,Sca,Bc,Kc,Zca,$ca,bda,cda,eda,gda,hda,ida,jda,mda,rda,pda,lda,sda,tda,qda,Rc,vda,wda,xda,yda,Bda,Cda,Hda,Gda,Kda,Qda,Rda,Tda,Vda,Wda,Vc,Yda,Zda,aea,bea,
cea,gea,hea,iea,lea,mea,xea,zea,Aea,wea,Gea,Jea,Hea,Kea,Nea,$c,Pea,Rea,Vea,Uea,Zea,$ea,bfa,cfa,efa,ud,ifa,ffa,mfa,ufa,vfa,xfa,Bfa,zfa,Afa,Efa,Ifa,Jfa,Qfa,Kfa,Lfa,Mfa,Nfa,Xfa,Xd,Zfa,$fa,bga,dga,de,he,ie,gga,hga,iga,jga,kga,oe,lga,mga,nga,oga,qga,sga,vga,xga,yga,zga,Aga,Bga,Cga,Dga,Fga,Hga,Nga,Mga,Gga,Pga,Oe,Rga,Tga,Re,Qga,aha,Ue,eha,fha,hha,jha,gha,mha,nha,lha,qha,Ze,rha,uha,mf,Aha,Bha,zha,Eha,Gha,pf,vf,Cha,Dha,Fha,Lha,Mha,Kha,Pha,Qha,Jha,Oha,Nha,Vha,Wha,Yha,aia,$ha,Lf,gia,hia,iia,jia,kia,lia,mia,
nia,Bia,Wf,Hia,Iia,Xf,Jia,Yf,Kia,Lia,Mia,Oia,Nia,Pia,Qia,Ria,Sia,Zia,aja,cja,Wia,Uia,dja,fja,jja,kja,lja,bg,cg,qja,rja,sja,tja,uja,wja,ig,vja,lg,Cja,Dja,Eja,Yja,Kga,Hg,fka,gka,kka,mka,nka,oka,pka,rka,Ug,Aka,Xg,Bka,Eka,Fka,Gka,Hka,Ika,$g,Kka,Nka,Oka,Pka,Rka,Ska,Tka,Zka,Xka,$ka,ih,gla,fla,sh,lla,mla,qla,yh,tla,Ah,Fh,xla,yla,Hh,Ih,zla,Dla,ii,Tla,Vla,Wla,Xla,$la,cma,ema,fma,gma,hma,jma,kma,ima,lma,nma,oma,si,qma,sma,tma,wma,xma,Bma,Ema,Dma,Fma,Lma,Mma,Oma,Rma,Sma,Tma,Uma,Wma,Ena,Hna,Jna,Kna,Ni,Lna,Oi,
Mna,Qi,Ona,Ri,Si,Vna,Xna,Yna,Zna,aoa,$na,Ti,boa,coa;_.aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,_.aa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)};
_.ba=function(a){return a[a.length-1]};
_.ha=function(a,b){return 0<=_.fa(a,b)};
_.aaa=function(a,b){_.ha(a,b)||a.push(b)};
_.ja=function(a,b){b=_.fa(a,b);var c;(c=0<=b)&&_.ia(a,b);return c};
_.ia=function(a,b){Array.prototype.splice.call(a,b,1)};
_.ka=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
_.oa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.la(d)){var e=a.length||0,h=d.length||0;a.length=e+h;for(var l=0;l<h;l++)a[e+l]=d[l]}else a.push(d)}};
_.ta=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var h=a[d++],l=_.pa(h)?"o"+_.qa(h):(typeof h).charAt(0)+h;Object.prototype.hasOwnProperty.call(e,l)||(e[l]=!0,b[c++]=h)}b.length=c};
_.baa=function(a,b){return a>b?1:a<b?-1:0};
caa=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
daa=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
eaa=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
faa=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=faa(a[c]);return b};
gaa=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return gaa.apply(null,arguments[0]);if(b%2)throw Error("t");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};
haa=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return haa.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};
_.ua=function(){var a=_.g.navigator;return a&&(a=a.userAgent)?a:""};
_.wa=function(a){return _.va(_.ua(),a)};
_.iaa=function(){return _.wa("Trident")||_.wa("MSIE")};
jaa=function(){return _.wa("Firefox")||_.wa("FxiOS")};
_.xa=function(){return _.wa("Safari")&&!(kaa()||_.wa("Coast")||_.wa("Opera")||_.wa("Edge")||_.wa("Edg/")||_.wa("OPR")||jaa()||_.wa("Silk")||_.wa("Android"))};
kaa=function(){return(_.wa("Chrome")||_.wa("CriOS"))&&!_.wa("Edge")||_.wa("Silk")};
_.laa=function(){return _.wa("Android")&&!(kaa()||jaa()||_.wa("Opera")||_.wa("Silk"))};
oaa=function(a){var b=!1;b=void 0===b?!1:b;if(maa){if(b&&/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a))throw Error("H");a=(naa||(naa=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e<a.length;e++){var h=a.charCodeAt(e);if(128>h)d[c++]=h;else{if(2048>h)d[c++]=h>>6|192;else{if(55296<=h&&57343>=h){if(56319>=h&&e<a.length){var l=a.charCodeAt(++e);if(56320<=l&&57343>=l){h=1024*(h-55296)+l-56320+65536;d[c++]=h>>18|240;d[c++]=h>>12&63|128;
d[c++]=h>>6&63|128;d[c++]=h&63|128;continue}else e--}if(b)throw Error("H");h=65533}d[c++]=h>>12|224;d[c++]=h>>6&63|128}d[c++]=h&63|128}}a=c===d.length?d:d.subarray(0,c)}return a};
paa=function(){return _.wa("iPhone")&&!_.wa("iPod")&&!_.wa("iPad")};
_.ya=function(){return paa()||_.wa("iPad")||_.wa("iPod")};
_.za=function(a){return qaa&&null!=a&&a instanceof Uint8Array};
raa=function(a){var b=+("-"===a[0]);Ba=Da=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),Ba*=1E6,Da=1E6*Da+d,4294967296<=Da&&(Ba+=Da/4294967296|0,Da%=4294967296);b&&(a=Da,b=Ba,b=~b,a?a=~a+1:b+=1,b=_.k([a,b]),a=b.next().value,b=b.next().value,Da=a,Ba=b)};
saa=function(a,b){Object.isFrozen(a)||(Ea?a[Ea]|=b:void 0!==a.internalArrayState?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}}))};
taa=function(a){var b;Ea?b=a[Ea]:b=a.internalArrayState;return null==b?0:b};
Fa=function(a){saa(a,1);return a};
_.Ga=function(a){return Array.isArray(a)?!!(taa(a)&2):!1};
_.Ha=function(a){if(!Array.isArray(a))throw Error("N");saa(a,2)};
uaa=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object};
vaa=function(a){return{value:a,configurable:!1,writable:!1,enumerable:!1}};
waa=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "object":if(a&&!Array.isArray(a)){if(_.za(a))return _.Ia(a);if(a instanceof _.Ja){var b=a.value_;b=null==b||"string"===typeof b?b:qaa&&b instanceof Uint8Array?_.Ia(b):null;return(a.value_=b)||""}if(a instanceof _.Ka)return a.toArrayInternal()}}return a};
_.Ma=function(a,b){b=void 0===b?xaa:b;return yaa(a,b)};
zaa=function(a,b){if(null!=a){if(Array.isArray(a))a=yaa(a,b);else if(uaa(a)){var c={},d;for(d in a)c[d]=zaa(a[d],b);a=c}else a=b(a);return a}};
yaa=function(a,b){for(var c=a.slice(),d=0;d<c.length;d++)c[d]=zaa(c[d],b);Array.isArray(a)&&taa(a)&1&&Fa(c);return c};
Aaa=function(a){if(a&&"object"==typeof a&&a.toJSON)return a.toJSON();a=waa(a);return Array.isArray(a)?_.Ma(a,Aaa):a};
Baa=function(a){return a.clone()};
xaa=function(a){return _.za(a)?new Uint8Array(a):a instanceof _.Ka?Caa(a,Baa):a};
_.Pa=function(a,b,c,d){_.Na(a);c!==d?_.n(a,b,c):_.Oa(a,b);return a};
_.Ra=function(a,b,c){_.Na(a);_.Qa(a,b).push(c);return a};
_.Ta=function(a,b,c){return _.Sa(a,b)===c?c:-1};
Daa=function(a,b){return waa(b)};
Eaa=function(a,b){b.internalUnknownFields_&&(a.internalUnknownFields_=b.internalUnknownFields_.slice());var c=b.internalWrappers_;if(c){b=b.internalSparseObject_;for(var d in c){var e=c[d];if(e){var h=!(!b||!b[d]),l=+d;if(Array.isArray(e)){if(e.length)for(h=_.Ua(a,e[0].constructor,l,h),l=0;l<Math.min(h.length,e.length);l++)Eaa(h[l],e[l])}else(h=_.Va(a,e.constructor,l,void 0,h))&&Eaa(h,e)}}}};
Iaa=function(a,b,c){if(c){var d={},e;for(e in c){var h=c[e],l=h.writerFn;l||(d.$jscomp$loop$prop$baseWriterFn$3284=h.messageSetWriterFn||h.readerWriterSelector.writer,h.binaryFieldsInitializer?(d.$jscomp$loop$prop$writerCallback$3283=Faa(h.binaryFieldsInitializer),l=function(m){return function(p,r,v){return m.$jscomp$loop$prop$baseWriterFn$3284(p,r,v,m.$jscomp$loop$prop$writerCallback$3283)}}(d)):h.messageSetExtensions?(d.$jscomp$loop$prop$writerCallback$1763$3285=Gaa(h.fieldInfo.ctor,h.messageSetExtensions),
l=function(m){return function(p,r,v){return m.$jscomp$loop$prop$baseWriterFn$3284(p,r,v,m.$jscomp$loop$prop$writerCallback$1763$3285)}}(d)):l=d.$jscomp$loop$prop$baseWriterFn$3284,h.writerFn=l);
l(b,a,h.fieldInfo);d={$jscomp$loop$prop$baseWriterFn$3284:d.$jscomp$loop$prop$baseWriterFn$3284,$jscomp$loop$prop$writerCallback$3283:d.$jscomp$loop$prop$writerCallback$3283,$jscomp$loop$prop$writerCallback$1763$3285:d.$jscomp$loop$prop$writerCallback$1763$3285}}}Haa(b,a)};
Kaa=function(a,b){var c=a[b];"function"==typeof c&&0===c.length&&(c=c(),a[b]=c);return Array.isArray(c)&&(Jaa in c||Wa in c||0<c.length&&"function"==typeof c[0])?c:void 0};
Faa=function(a){var b=a[Xa];if(!b){var c=Laa(a);b=function(d,e){return Maa(d,e,c)};
a[Xa]=b}return b};
Gaa=function(a,b){var c=a[Xa];c||(c=function(d,e){return Iaa(d,e,b)},a[Xa]=c);
return c};
Naa=function(a,b){a.push(b)};
Oaa=function(a,b,c){a.push(b,c.writer)};
Paa=function(a,b,c,d){var e=Faa(d),h=Laa(d).ctor,l=c.writer;a.push(b,function(m,p,r){return l(m,p,r,h,e)})};
Qaa=function(a,b,c,d,e,h){var l=Gaa(d,h),m=c.writer;a.push(b,function(p,r,v){return m(p,r,v,d,l)})};
Laa=function(a){var b=a[Wa];if(b)return b;b=a[Wa]=[];var c=Naa,d=Oaa,e=Paa,h=Qaa;b.ctor=a[0];var l=1;if(a.length>l&&"number"!==typeof a[l]){var m=a[l++];c(b,m)}for(;l<a.length;){c=a[l++];for(var p=l+1;p<a.length&&"number"!==typeof a[p];)p++;m=a[l++];p-=l;switch(p){case 0:d(b,c,m);break;case 1:(p=Kaa(a,l))?(l++,e(b,c,m,p)):d(b,c,m,a[l++]);break;case 2:p=l++;p=Kaa(a,p);e(b,c,m,p,a[l++]);break;case 3:h(b,c,m,a[l++],a[l++],a[l++]);break;case 4:h(b,c,m,a[l++],a[l++],a[l++],a[l++]);break;default:throw Error("T`"+
p);}}Jaa in a&&Wa in a&&(a.length=0);return b};
Maa=function(a,b,c){for(var d=c.length,e=1==d%2,h=e?1:0;h<d;h+=2)(0,c[h+1])(b,a,c[h]);Iaa(a,b,e?c[0]:void 0)};
_.Za=function(a,b){return{reader:a,writer:b}};
_.Raa=function(a,b,c){b=_.ab(b,c);if(null!=b){bb(a.encoder_,8*c+1);a=a.encoder_;var d=+b;if(0===d)Ba=0<1/d?0:2147483648,Da=0;else if(isNaN(d))Ba=2147483647,Da=4294967295;else if(d=(c=0>d?-2147483648:0)?-d:d,1.7976931348623157E308<d)Ba=(c|2146435072)>>>0,Da=0;else if(2.2250738585072014E-308>d)b=d/Math.pow(2,-1074),Ba=(c|b/4294967296)>>>0,Da=b>>>0;else{var e=d;b=0;if(2<=e)for(;2<=e&&1023>b;)b++,e/=2;else for(;1>e&&-1022<b;)e*=2,b--;d*=Math.pow(2,-b);Ba=(c|b+1023<<20|1048576*d&1048575)>>>0;Da=4503599627370496*
d>>>0}cb(a,Da);cb(a,Ba)}};
_.Uaa=function(a,b,c){b=_.ab(b,c);if(null!=b&&("string"===typeof b&&Saa(b),null!=b))if(bb(a.encoder_,8*c),"number"===typeof b){a=a.encoder_;var d=b;c=0>d;d=Math.abs(d);b=d>>>0;d=Math.floor((d-b)/4294967296);d>>>=0;c&&(d=~d>>>0,b=(~b>>>0)+1,4294967295<b&&(b=0,d++,4294967295<d&&(d=0)));Da=b;Ba=d;Taa(a,Da,Ba)}else c=Saa(b),Taa(a.encoder_,c.JSC$32190_lo,c.JSC$32190_hi)};
_.Vaa=function(a,b,c){b=_.ab(b,c);if(null!=b&&null!=b)if(bb(a.encoder_,8*c),a=a.encoder_,c=b,0<=c)bb(a,c);else{for(b=0;9>b;b++)a.JSC$32192_buffer_.push(c&127|128),c>>=7;a.JSC$32192_buffer_.push(1)}};
Waa=function(a,b,c){b=_.ab(b,c);null!=b&&(bb(a.encoder_,8*c),a.encoder_.JSC$32192_buffer_.push(b?1:0))};
Yaa=function(a,b,c){b=_.ab(b,c);null!=b&&Xaa(a,c,oaa(b))};
aba=function(a,b,c,d,e){b=_.Va(b,d,c);null!=b&&(c=Zaa(a,c),e(b,a),$aa(a,c))};
bba=function(a){var b=this.ctor,c=this.fieldIndex;return this.isRepeated?_.Ua(a,b,c,!0):_.Va(a,b,c,void 0,!0)};
cba=function(a,b){var c=this.fieldIndex;return this.isRepeated?_.db(a,c,b,!0):_.eb(a,c,b,!0)};
eba=function(a,b,c,d,e,h){(a=a.internalWrappers_&&a.internalWrappers_[c])?Array.isArray(a)?_.db(b,c,h.copyRepeatedFields?Fa(a.slice()):a):_.eb(b,c,a):(qaa&&d instanceof Uint8Array?e=d.length?new _.Ja(new Uint8Array(d),_.fb):_.gb():d instanceof _.Ka?e=Caa(d,dba):(Array.isArray(d)&&(e?_.Ha(d):Array.isArray(d)&&taa(d)&1&&h.copyRepeatedFields&&(d=d.slice())),e=d),_.n(b,c,e))};
hb=function(a){return null===a?void 0:a};
fba=function(a){return _.ib(_.jb("From proto message. b/12014412"),_.ab(a,4)||"")};
_.nb=function(a){var b,c=null==(b=_.kb())?void 0:b.createScriptURL(a);return new lb(null!=c?c:a,_.mb)};
_.gba=function(a){if(a instanceof lb)return a.privateDoNotAccessOrElseWrappedResourceUrl;throw Error("Z");};
_.pb=function(a){var b,c=null==(b=_.kb())?void 0:b.createScript(a);return new ob(null!=c?c:a,_.mb)};
_.hba=function(a){if(a instanceof _.qb)return a.privateDoNotAccessOrElseWrappedUrl;throw Error("Z");};
_.iba=function(a){if("function"==typeof _.rb&&a instanceof _.rb)if("function"==typeof _.sb&&a instanceof _.sb)a=a.privateDoNotAccessOrElseWrappedHtml;else throw Error("Z");else a=_.tb(a);return a};
_.wb=function(a){return a instanceof ub?_.gba(a):_.jba(a)};
_.zb=function(a){return a instanceof _.xb?_.hba(a):_.yb(a)};
kba=function(a){return a instanceof ub?_.gba(a).toString():_.Ab(a)};
nba=function(a){if(a instanceof lba)if(a instanceof ob)a=a.privateDoNotAccessOrElseWrappedScript;else throw Error("Z");else a=_.mba(a);return a};
_.Bb=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);};
_.Cb=function(a,b){a.src=kba(b)};
_.pba=function(a,b){if(b instanceof _.Db||b instanceof ub)a.href=kba(b);else{if(-1===oba.indexOf("stylesheet"))throw Error("ba`stylesheet");a.href=_.zb(b)}a.rel="stylesheet"};
qba=function(a){var b,c,d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};
_.Eb=function(a,b){a.textContent=nba(b);qba(a)};
_.Fb=function(a,b){a.src=_.wb(b);qba(a)};
tba=function(a,b){return b?rba(b):a?sba(a):Promise.resolve()};
rba=function(a){return new Promise(function(b,c){var d=_.Gb("SCRIPT"),e=fba(a);_.Fb(d,e);d.onload=function(){_.Hb(d);b()};
d.onerror=function(){_.Hb(d);c(Error("ca"))};
(_.Ib("HEAD")[0]||document.documentElement).appendChild(d)})};
sba=function(a){return new Promise(function(b){var c=_.Gb("SCRIPT");if(a){var d=_.ab(a,6);d=null===d||void 0===d?null:_.pb(d)}else d=null;_.Eb(c,d);(_.Ib("HEAD")[0]||document.documentElement).appendChild(c);_.Hb(c);b()})};
_.Jb=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
_.Kb=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];_.la(d)?_.Kb.apply(null,d):_.Jb(d)}};
uba=function(a){_.g.setTimeout(function(){throw a;},0)};
Lb=function(a){return new vba(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})};
_.Nb=function(a,b){b=void 0===b?_.wba:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof vba&&d.isValid(a))return new _.qb(a,_.mb)}};
_.Pb=function(a){var b=_.Ob.apply(1,arguments);if(0===b.length)return _.nb(a[0]);for(var c=[a[0]],d=0;d<b.length;d++)c.push(encodeURIComponent(b[d])),c.push(a[d+1]);return _.nb(c.join(""))};
xba=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;v=r=0}
function b(z){for(var A=l,D=0;64>D;D+=4)A[D/4]=z[D]<<24|z[D+1]<<16|z[D+2]<<8|z[D+3];for(D=16;80>D;D++)z=A[D-3]^A[D-8]^A[D-14]^A[D-16],A[D]=(z<<1|z>>>31)&4294967295;z=e[0];var E=e[1],J=e[2],R=e[3],da=e[4];for(D=0;80>D;D++){if(40>D)if(20>D){var sa=R^E&(J^R);var Ca=1518500249}else sa=E^J^R,Ca=1859775393;else 60>D?(sa=E&J|R&(E|J),Ca=2400959708):(sa=E^J^R,Ca=3395469782);sa=((z<<5|z>>>27)&4294967295)+sa+da+Ca+A[D]&4294967295;da=R;R=J;J=(E<<30|E>>>2)&4294967295;E=z;z=sa}e[0]=e[0]+z&4294967295;e[1]=e[1]+
E&4294967295;e[2]=e[2]+J&4294967295;e[3]=e[3]+R&4294967295;e[4]=e[4]+da&4294967295}
function c(z,A){if("string"===typeof z){z=unescape(encodeURIComponent(z));for(var D=[],E=0,J=z.length;E<J;++E)D.push(z.charCodeAt(E));z=D}A||(A=z.length);D=0;if(0==r)for(;D+64<A;)b(z.slice(D,D+64)),D+=64,v+=64;for(;D<A;)if(h[r++]=z[D++],v++,64==r)for(r=0,b(h);D+64<A;)b(z.slice(D,D+64)),D+=64,v+=64}
function d(){var z=[],A=8*v;56>r?c(m,56-r):c(m,64-(r-56));for(var D=63;56<=D;D--)h[D]=A&255,A>>>=8;b(h);for(D=A=0;5>D;D++)for(var E=24;0<=E;E-=8)z[A++]=e[D]>>E&255;return z}
for(var e=[],h=[],l=[],m=[128],p=1;64>p;++p)m[p]=0;var r,v;a();return{reset:a,update:c,digest:d,digestString:function(){for(var z=d(),A="",D=0;D<z.length;D++)A+="0123456789ABCDEF".charAt(Math.floor(z[D]/16))+"0123456789ABCDEF".charAt(z[D]%16);return A}}};
Sb=function(){!_.Qb&&_.Rb&&_.yba((0,_.Rb)());return _.Qb};
_.yba=function(a){_.Qb=a;zba.forEach(function(b){b(_.Qb)});
zba=[]};
_.Tb=function(a){_.Qb&&_.Qb.beforeLoadModuleCode(a)};
_.Ub=function(){_.Qb&&_.Qb.JSC$32538_setLoaded()};
_.Aba=function(a){return a?(a=a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue)?_.nb(a):null:null};
_.Xb=function(a,b){if(a&&Bba.test(a)||"//"===a)return a;if(void 0===Vb){Vb=!1;try{var c=new URL("b","http://a");c.pathname="c%20d";Vb="http://a/c%20d"===c.href}catch(d){}}b||(b=document.baseURI||window.location.href);if(Vb)try{return(new URL(a,b)).href}catch(d){return a}Wb||(Wb=document.implementation.createHTMLDocument("temp"),Wb.base=Wb.createElement("base"),Wb.head.appendChild(Wb.base),Wb.anchor=Wb.createElement("a"),Wb.body.appendChild(Wb.anchor));Wb.base.href=b;Wb.anchor.href=a;return Wb.anchor.href||
a};
_.Yb=function(a,b){return a.replace(Cba,function(c,d,e,h){return d+"'"+_.Xb(e.replace(/["']/g,""),b)+"'"+h})};
_.Zb=function(a){return a.substring(0,a.lastIndexOf("/")+1)};
Fba=function(){Dba=!1;for(var a=ac.length,b=0;b<a;b++){var c=ac[b];if(c)try{c()}catch(d){setTimeout(function(){throw d;})}}ac.splice(0,a);
Eba+=a};
_._regLog$$module$third_party$javascript$polymer$v2$polymer$lib$utils$telemetry=function(a){console.log("["+a.is+"]: registered")};
_.Gba=function(a){_.bc.push(a)};
_.dc=function(a){return cc[a]||(cc[a]=0>a.indexOf("-")?a:a.replace(Hba,function(b){return b[1].toUpperCase()}))};
_.ec=function(a){return cc[a]||(cc[a]=a.replace(Iba,"-$1").toLowerCase())};
Jba=function(a,b){var c=b.parentInfo&&Jba(a,b.parentInfo);if(c)for(a=c.firstChild,c=0;a;a=a.nextSibling){if(b.parentIndex===c++)return a}else return a};
Kba=function(a,b){a=a._methodHost||a;return function(c){if(a[b])a[b](c,c.detail);else console.warn("listener method `"+b+"` not defined")}};
_.fc=function(a){return 0<=a.indexOf(".")};
_.gc=function(a){var b=a.indexOf(".");return-1===b?a:a.slice(0,b)};
_.Lba=function(a,b){return 0===a.indexOf(b+".")};
_.hc=function(a,b){return 0===b.indexOf(a+".")};
_.ic=function(a,b,c){return b+c.slice(a.length)};
_.Mba=function(a,b){return a===b||_.Lba(a,b)||_.hc(a,b)};
_.jc=function(a){if(Array.isArray(a)){for(var b=[],c=0;c<a.length;c++)for(var d=a[c].toString().split("."),e=0;e<d.length;e++)b.push(d[e]);return b.join(".")}return a};
_.Nba=function(a){return Array.isArray(a)?_.jc(a).split("."):a.toString().split(".")};
_.kc=function(a,b,c){b=_.Nba(b);for(var d=0;d<b.length;d++){if(!a)return;a=a[b[d]]}c&&(c.path=b.join("."));return a};
_.Oba=function(a,b,c){var d=_.Nba(b),e=d[d.length-1];if(1<d.length){for(b=0;b<d.length-1;b++)if(a=a[d[b]],!a)return;a[e]=c}else a[b]=c;return d.join(".")};
Pba=function(a,b,c){var d=a[b];if(!d)d=a[b]={};else if(!a.hasOwnProperty(b)&&(d=a[b]=Object.create(a[b]),c))for(var e in d)for(a=d[e],b=d[e]=Array(a.length),c=0;c<a.length;c++)b[c]=a[c];return d};
mc=function(a,b,c,d,e,h){if(b){var l=!1,m=lc++,p;for(p in c){var r=e?_.gc(p):p;if(r=b[r])for(var v=0,z=r.length,A=void 0;v<z&&(A=r[v]);v++)A.info&&A.info.lastRun===m||e&&!Qba(p,A.trigger)||(A.info&&(A.info.lastRun=m),A.fn(a,p,c,d,A.info,e,h),l=!0)}return l}return!1};
Qba=function(a,b){if(b){var c=b.name;return c==a||!(!b.structured||!_.Lba(c,a))||!(!b.wildcard||!_.hc(c,a))}return!0};
Rba=function(a,b,c,d,e){b="string"===typeof e.method?a[e.method]:e.method;c=e.property;b?b.call(a,a.__data[c],d[c]):e.dynamicFn||console.warn("observer method `"+e.method+"` not defined")};
Sba=function(a,b,c,d){c={value:c,queueProperty:!0};d&&(c.path=d);(0,_.nc)(a).dispatchEvent(new CustomEvent(b,{detail:c}))};
Tba=function(a,b,c,d,e,h){h=(d=(h?_.gc(b):b)!=b?b:null)?_.kc(a,d):a.__data[b];d&&void 0===h&&(h=c[b]);Sba(a,e.eventName,h,d)};
Uba=function(a,b,c,d,e){c=a.__data[b];_.oc&&(c=(0,_.oc)(c,e.attrName,"attribute",a));a._propertyToAttribute(b,e.attrName,c)};
Wba=function(a){var b=a.constructor.__orderedComputedDeps;if(!b){b=new Map;for(var c=a.__computeEffects,d=Vba(a),e=d.counts,h=d.ready,l=d.total;d=h.shift();)b.set(d,b.size),(d=c[d])&&d.forEach(function(m){m=m.info.methodInfo;--l;0===--e[m]&&h.push(m)});
0!==l&&console.warn("Computed graph for "+a.localName+" incomplete; circular?");a.constructor.__orderedComputedDeps=b}return b};
Vba=function(a){var b=a.__computeInfo,c={};a=a.__computeEffects;var d=[],e=0,h;for(h in b){var l=b[h];e+=c[h]=l.args.filter(function(p){return!p.literal}).length+(l.dynamicFn?1:0)}for(var m in a)b[m]||d.push(m);
return{counts:c,ready:d,total:e}};
Yba=function(a,b,c,d,e){b=Xba(a,b,c,d,e);if(b===pc)return!1;e=e.methodInfo;if(a.__dataHasAccessor&&a.__dataHasAccessor[e])return a._setPendingProperty(e,b,!0);a[e]=b;return!1};
aca=function(a,b,c,d,e,h,l){c.bindings=c.bindings||[];d={kind:d,target:e,parts:h,literal:l,isCompound:1!==h.length};c.bindings.push(d);d.target&&"attribute"!=d.kind&&"text"!=d.kind&&!d.isCompound&&"{"===d.parts[0].mode&&(c=d.parts[0],h=c.negate,d.listenerEvent=c.event||_.ec(e)+"-changed",d.listenerNegate=h);e=b.nodeInfoList.length;for(c=0;c<d.parts.length;c++){var m=d.parts[c];m.compoundIndex=c;h=a;l=b;var p=d,r=m,v=e;if(!r.literal)if("attribute"===p.kind&&"-"===p.target[0])console.warn("Cannot set attribute "+
p.target+' because "-" is not a valid attribute starting character');else for(m=r.dependencies,p={index:v,binding:p,part:r,evaluator:h},r=0;r<m.length;r++)v=m[r],"string"==typeof v&&(v=Zba(v),v.wildcard=!0),h._addTemplatePropertyEffect(l,v.rootProperty,{fn:$ba,info:p,trigger:v})}};
$ba=function(a,b,c,d,e,h,l){l=l[e.index];var m=e.binding,p=e.part;h&&p.source&&b.length>p.source.length&&"property"==m.kind&&!m.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[m.target]?(c=c[b],b=_.ic(p.source,m.target,b),l._setPendingPropertyOrPath(b,c,!1,!0)&&a._enqueueClient(l)):(b=e.evaluator._evaluateBinding(a,p,b,c,d,h),b!==pc&&(m.isCompound&&(c=l.__dataCompoundStorage[m.target],c[p.compoundIndex]=b,b=c.join("")),"attribute"===m.kind||"textContent"!==m.target&&
("value"!==m.target||"input"!==l.localName&&"textarea"!==l.localName)||(b=void 0==b?"":b),p=b,_.oc&&(p=(0,_.oc)(p,m.target,m.kind,l)),"attribute"==m.kind?a._valueToNodeAttribute(l,p,m.target):(m=m.target,l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[m]?l.__readOnly&&l.__readOnly[m]||l._setPendingProperty(m,p)&&a._enqueueClient(l):a._setUnmanagedPropertyToNode(l,m,p))))};
bca=function(a,b,c){if(c.listenerEvent){var d=c.parts[0];a.addEventListener(c.listenerEvent,function(e){var h=c.target,l=d.source,m=e.detail,p=m&&m.path;p?(l=_.ic(h,l,p),e=m&&m.value):e=e.currentTarget[h];b.__readOnly&&b.__readOnly[l]||!b._setPendingPropertyOrPath(l,d.negate?!e:e,!0,!!p)||m&&m.queueProperty||b._invalidateProperties()})}};
cca=function(a,b,c,d,e,h){h=b.static||h&&("object"!==typeof h||h[b.methodName]);e={methodName:b.methodName,args:b.args,methodInfo:e,dynamicFn:h};for(var l=0,m=void 0;l<b.args.length&&(m=b.args[l]);l++)m.literal||a._addPropertyEffect(m.rootProperty,c,{fn:d,info:e,trigger:m});h&&a._addPropertyEffect(b.methodName,c,{fn:d,info:e});return e};
Xba=function(a,b,c,d,e){d=a._methodHost||a;var h=d[e.methodName];if(h)return a=a._marshalArgs(e.args,b,c),a===pc?pc:h.apply(d,a);e.dynamicFn||console.warn("method `"+e.methodName+"` not defined")};
dca=function(a){for(var b="",c=0;c<a.length;c++)b+=a[c].literal||"";return b};
gca=function(a){if(a=a.match(/([^\s]+?)\(([\s\S]*)\)/)){var b={methodName:a[1],static:!0,args:eca};return a[2].trim()?fca(a[2].replace(/\\,/g,"&comma;").split(","),b):b}return null};
fca=function(a,b){b.args=a.map(function(c){c=Zba(c);c.literal||(b.static=!1);return c},this);
return b};
Zba=function(a){a=a.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1");var b={name:a,value:"",literal:!1},c=a[0];"-"===c&&(c=a[1]);"0"<=c&&"9">=c&&(c="#");switch(c){case "'":case '"':b.value=a.slice(1,-1);b.literal=!0;break;case "#":b.value=Number(a),b.literal=!0}b.literal||(b.rootProperty=_.gc(a),b.structured=_.fc(a),b.structured&&(b.wildcard=".*"==a.slice(-2),b.wildcard&&(b.name=a.slice(0,-2))));return b};
hca=function(a,b,c){a=_.kc(a,c);void 0===a&&(a=b[c]);return a};
ica=function(a,b,c,d){d={indexSplices:d};_.qc&&!a._overrideLegacyUndefined&&(b.splices=d);a.notifyPath(c+".splices",d);a.notifyPath(c+".length",b.length);_.qc&&!a._overrideLegacyUndefined&&(d.indexSplices=[])};
rc=function(a,b,c,d,e,h){ica(a,b,c,[{index:d,addedCount:e,removed:h,object:b,type:"splice"}])};
jca=function(a){a=_.Yb((a.body?a.body:a).textContent,a.baseURI);var b=document.createElement("style");b.textContent=a;return b};
_.lca=function(a){a=a.trim().split(/\s+/);for(var b=[],c=0;c<a.length;c++)b.push.apply(b,_.sc(_.kca(a[c])));return b};
_.kca=function(a){var b=_.tc.import(a);if(!b)return console.warn("Could not find style data in module named",a),[];if(void 0===b._styles){a=[];a.push.apply(a,_.sc(_._stylesFromModuleImports$$module$third_party$javascript$polymer$v2$polymer$lib$utils$style_gather(b)));var c=b.querySelector("template");c&&a.push.apply(a,_.sc(_.uc(c,b.assetpath)));b._styles=a}return b._styles};
_.uc=function(a,b){if(!a._styles){for(var c=[],d=a.content.querySelectorAll("style"),e=0;e<d.length;e++){var h=d[e],l=h.getAttribute("include");l&&c.push.apply(c,_.sc(_.lca(l).filter(function(m,p,r){return r.indexOf(m)===p})));
b&&(h.textContent=_.Yb(h.textContent,b));c.push(h)}a._styles=c}return a._styles};
_.mca=function(a){return(a=_.tc.import(a))?_._stylesFromModuleImports$$module$third_party$javascript$polymer$v2$polymer$lib$utils$style_gather(a):[]};
_._stylesFromModuleImports$$module$third_party$javascript$polymer$v2$polymer$lib$utils$style_gather=function(a){var b=[];a=a.querySelectorAll("link[rel=import][type~=css]");for(var c=0;c<a.length;c++){var d=a[c];if(d.import){var e=d.import;if((d=d.hasAttribute("shady-unscoped"))&&!e._unscopedStyle){var h=jca(e);h.setAttribute("shady-unscoped","");e._unscopedStyle=h}else e._style||(e._style=jca(e));b.push(d?e._unscopedStyle:e._style)}}return b};
_.oca=function(a){a=a.trim().split(/\s+/);for(var b="",c=0;c<a.length;c++)b+=_.nca(a[c]);return b};
_.nca=function(a){var b=_.tc.import(a);if(b&&void 0===b._cssText){var c=_._cssFromModuleImports$$module$third_party$javascript$polymer$v2$polymer$lib$utils$style_gather(b),d=b.querySelector("template");d&&(c+=_.pca(d,b.assetpath));b._cssText=c||null}b||console.warn("Could not find style data in module named",a);return b&&b._cssText||""};
_.pca=function(a,b){var c="";a=_.uc(a,b);for(b=0;b<a.length;b++){var d=a[b];d.parentNode&&d.parentNode.removeChild(d);c+=d.textContent}return c};
_._cssFromModuleImports$$module$third_party$javascript$polymer$v2$polymer$lib$utils$style_gather=function(a){var b="";a=_._stylesFromModuleImports$$module$third_party$javascript$polymer$v2$polymer$lib$utils$style_gather(a);for(var c=0;c<a.length;c++)b+=a[c].textContent;return b};
vc=function(a,b){return{index:a,removed:[],addedCount:b}};
rca=function(a,b,c,d){var e=0,h=0,l=0,m=0,p=Math.min(b-e,d-h);if(0==e&&0==h)a:{for(l=0;l<p;l++)if(a[l]!==c[l])break a;l=p}if(b==a.length&&d==c.length){m=a.length;for(var r=c.length,v=0;v<p-l&&qca(a[--m],c[--r]);)v++;m=v}e+=l;h+=l;b-=m;d-=m;if(0==b-e&&0==d-h)return[];if(e==b){for(b=vc(e,0);h<d;)b.removed.push(c[h++]);return[b]}if(h==d)return[vc(e,b-e)];p=e;l=h;d=d-l+1;m=b-p+1;b=Array(d);for(r=0;r<d;r++)b[r]=Array(m),b[r][0]=r;for(r=0;r<m;r++)b[0][r]=r;for(r=1;r<d;r++)for(v=1;v<m;v++)if(a[p+v-1]===
c[l+r-1])b[r][v]=b[r-1][v-1];else{var z=b[r-1][v]+1,A=b[r][v-1]+1;b[r][v]=z<A?z:A}p=b.length-1;l=b[0].length-1;d=b[p][l];for(a=[];0<p||0<l;)0==p?(a.push(2),l--):0==l?(a.push(3),p--):(m=b[p-1][l-1],r=b[p-1][l],v=b[p][l-1],z=r<v?r<m?r:m:v<m?v:m,z==m?(m==d?a.push(0):(a.push(1),d=m),p--,l--):z==r?(a.push(3),p--,d=r):(a.push(2),l--,d=v));a.reverse();b=void 0;p=[];for(l=0;l<a.length;l++)switch(a[l]){case 0:b&&(p.push(b),b=void 0);e++;h++;break;case 1:b||(b=vc(e,0));b.addedCount++;e++;b.removed.push(c[h]);
h++;break;case 2:b||(b=vc(e,0));b.addedCount++;e++;break;case 3:b||(b=vc(e,0)),b.removed.push(c[h]),h++}b&&p.push(b);return p};
_.sca=function(a,b){return rca(a,a.length,b,b.length)};
qca=function(a,b){return a===b};
_.tca=function(a){if("function"==typeof _.wc&&a instanceof _.wc)return a.value;throw Error("Ra`"+a);};
uca=function(a,b){for(var c in b)null===c?a.style.removeProperty(c):a.style.setProperty(c,b[c])};
vca=function(a,b){return(a=window.getComputedStyle(a).getPropertyValue(b))?a.trim():""};
zca=function(a){requestAnimationFrame(function(){wca?wca(a):(xca||(xca=new Promise(function(b){yca=b}),"complete"===document.readyState?yca():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&yca()})),xca.then(function(){a&&a()}))})};
Bca=function(a){Aca=a&&a.shimcssproperties?!1:xc||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))};
Kca=function(a){if(!(-1<yc.indexOf(a))&&"touchend"!==a&&Cca&&Jca&&_.zc)return{passive:!0}};
Oca=function(a){for(var b=Lca?["click"]:yc,c=0,d;c<b.length;c++)d=b[c],a?(Mca.length=0,document.addEventListener(d,Nca,!0)):document.removeEventListener(d,Nca,!0)};
Ac=function(a){var b=a.type;return-1<yc.indexOf(b)?"mousemove"===b?(b=void 0===a.buttons?1:a.buttons,a instanceof window.MouseEvent&&!Pca&&(b=Qca[a.which]||0),!!(b&1)):0===(void 0===a.button?0:a.button):!1};
Rca=function(a){if("click"===a.type){if(0===a.detail)return!0;var b=_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a);if(!b.nodeType||b.nodeType!==Node.ELEMENT_NODE)return!0;b=b.getBoundingClientRect();var c=a.pageX;a=a.pageY;return!(c>=b.left&&c<=b.right&&a>=b.top&&a<=b.bottom)}return!1};
Sca=function(a,b,c){a.movefn=b;a.upfn=c;document.addEventListener("mousemove",b);document.addEventListener("mouseup",c)};
Bc=function(a){document.removeEventListener("mousemove",a.movefn);document.removeEventListener("mouseup",a.upfn);a.movefn=null;a.upfn=null};
_.Tca=function(a,b){for(var c=document.elementFromPoint(a,b),d=c;d&&d.shadowRoot&&!window.ShadyDOM;){var e=d;d=d.shadowRoot.elementFromPoint(a,b);if(e===d)break;d&&(c=d)}return c};
_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures=function(a){var b=Cc(a);return 0<b.length?b[0]:a.target};
_._handleNative$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures=function(a){var b=a.type,c=a.currentTarget.__polymerGestures;if(c&&(c=c[b])){if(!a.__polymerGesturesHandled&&(a.__polymerGesturesHandled={},"touch"===b.slice(0,5))){var d=a.changedTouches[0];"touchstart"===b&&1===a.touches.length&&(Uca=d.identifier);if(Uca!==d.identifier)return;Cca||("touchstart"===b||"touchmove"===b)&&_._handleTouchAction$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a)}d=
a.__polymerGesturesHandled;if(!d.skip){for(var e=0,h;e<_.Dc.length;e++)h=_.Dc[e],c[h.name]&&!d[h.name]&&h.flow&&-1<h.flow.start.indexOf(a.type)&&h.reset&&h.reset();for(e=0;e<_.Dc.length;e++)h=_.Dc[e],c[h.name]&&!d[h.name]&&(d[h.name]=!0,h[b](a))}}};
_._handleTouchAction$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures=function(a){var b=a.changedTouches[0],c=a.type;if("touchstart"===c)Vca=b.clientX,Wca=b.clientY,Xca=!1;else if("touchmove"===c&&!Xca){Xca=!0;c="auto";for(var d=Cc(a),e=0,h;e<d.length;e++)if(h=d[e],h.__polymerGesturesTouchAction){c=h.__polymerGesturesTouchAction;break}d=!1;e=Math.abs(Vca-b.clientX);b=Math.abs(Wca-b.clientY);a.cancelable&&("none"===c?d=!0:"pan-x"===c?d=b>e:"pan-y"===c&&(d=e>b));d?a.preventDefault():
_.Ec("track")}};
_.Gc=function(a,b,c){return _.Fc[b]?(_._add$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a,b,c),!0):!1};
_.Yca=function(a,b,c){return _.Fc[b]?(_._remove$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a,b,c),!0):!1};
_._add$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures=function(a,b,c){var d=_.Fc[b],e=d.deps,h=d.name,l=a.__polymerGestures;l||(a.__polymerGestures=l={});for(var m=0,p,r;m<e.length;m++)p=e[m],Lca&&-1<yc.indexOf(p)&&"click"!==p||((r=l[p])||(l[p]=r={_count:0}),0===r._count&&a.addEventListener(p,_._handleNative$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures,Kca(p)),r[h]=(r[h]||0)+1,r._count=(r._count||0)+1);a.addEventListener(b,c);d.touchAction&&_.Hc(a,d.touchAction)};
_._remove$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures=function(a,b,c){var d=_.Fc[b],e=d.deps;d=d.name;var h=a.__polymerGestures;if(h)for(var l=0,m,p;l<e.length;l++)m=e[l],(p=h[m])&&p[d]&&(p[d]=(p[d]||1)-1,p._count=(p._count||1)-1,0===p._count&&a.removeEventListener(m,_._handleNative$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures,Kca(m)));a.removeEventListener(b,c)};
_.Ic=function(a){_.Dc.push(a);for(var b=0;b<a.emits.length;b++)_.Fc[a.emits[b]]=a};
_._findRecognizerByEvent$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures=function(a){for(var b=0,c;b<_.Dc.length;b++){c=_.Dc[b];for(var d=0,e;d<c.emits.length;d++)if(e=c.emits[d],e===a)return c}return null};
_.Hc=function(a,b){Cca&&a instanceof HTMLElement&&_.Jc.run(function(){a.style.touchAction=b});
a.__polymerGesturesTouchAction=b};
_._fire$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures=function(a,b,c){b=new Event(b,{bubbles:!0,cancelable:!0,composed:!0});b.detail=c;(0,_.nc)(a).dispatchEvent(b);b.defaultPrevented&&(a=c.preventer||c.sourceEvent)&&a.preventDefault&&a.preventDefault()};
_.Ec=function(a){a=_._findRecognizerByEvent$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a);a.info&&(a.info.prevent=!0)};
Kc=function(a,b,c,d){b&&_._fire$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(b,a,{x:c.clientX,y:c.clientY,sourceEvent:c,preventer:d,prevent:function(e){return _.Ec(e)}})};
Zca=function(a,b,c){if(a.prevent)return!1;if(a.started)return!0;c=Math.abs(a.y-c);return 5<=Math.abs(a.x-b)||5<=c};
$ca=function(a,b,c){if(b){var d=a.moves[a.moves.length-2],e=a.moves[a.moves.length-1],h=e.x-a.x,l=e.y-a.y,m=0;if(d){var p=e.x-d.x;m=e.y-d.y}_._fire$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(b,"track",{state:a.state,x:c.clientX,y:c.clientY,dx:h,dy:l,ddx:p,ddy:m,sourceEvent:c,hover:function(){return _.Tca(c.clientX,c.clientY)}})}};
bda=function(a,b,c){var d=Math.abs(b.clientX-a.x),e=Math.abs(b.clientY-a.y),h=_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(c||b);!h||ada[h.localName]&&h.hasAttribute("disabled")||!(isNaN(d)||isNaN(e)||25>=d&&25>=e||Rca(b))||a.prevent||_._fire$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(h,"tap",{x:b.clientX,y:b.clientY,sourceEvent:b,preventer:c})};
cda=function(a,b,c,d,e){var h;e&&(h="object"===typeof c&&null!==c)&&(d=a.__dataTemp[b]);d=d!==c&&(d===d||c===c);h&&d&&(a.__dataTemp[b]=c);return d};
eda=function(){if(_.Lc&&!_.Mc){if(!dda){dda=!0;var a=document.createElement("style");a.textContent="dom-bind,dom-if,dom-repeat{display:none;}";document.head.appendChild(a)}return!0}return!1};
gda=function(){return fda};
hda=function(a,b){fda=a;Object.setPrototypeOf(a,b.prototype);new b;fda=null};
ida=function(a,b){for(var c=0;c<b.length;c++){var d=b[c];if(!!a!=!!d.__hideTemplateChildren__)if(d.nodeType===Node.TEXT_NODE)a?(d.__polymerTextContent__=d.textContent,d.textContent=""):d.textContent=d.__polymerTextContent__;else if("slot"===d.localName)if(a)d.__polymerReplaced__=document.createComment("hidden-slot"),(0,_.nc)((0,_.nc)(d).parentNode).replaceChild(d.__polymerReplaced__,d);else{var e=d.__polymerReplaced__;e&&(0,_.nc)((0,_.nc)(e).parentNode).replaceChild(d,e)}else d.style&&(a?(d.__polymerDisplay__=
d.style.display,d.style.display="none"):d.style.display=d.__polymerDisplay__);d.__hideTemplateChildren__=a;d._showHideChildren&&d._showHideChildren(a)}};
jda=function(a){return(a=a.__dataHost)&&a._methodHost||a};
mda=function(a,b,c){var d=c.mutableData?kda:_.Nc;_.Oc.mixin&&(d=_.Oc.mixin(d));var e=function(){return d.apply(this,arguments)||this};
_.q(e,d);e.prototype.__templatizeOptions=c;e.prototype._bindTemplate(a);lda(e,a,b,c);return e};
rda=function(a,b,c,d){var e=c.forwardHostProp;if(e&&b.hasHostProps){var h="template"==a.localName,l=b.templatizeTemplateClass;if(!l){if(h){var m=c.mutableData?nda:oda;l=function(){return m.apply(this,arguments)||this};
_.q(l,m);l=b.templatizeTemplateClass=l}else{var p=a.constructor;l=function(){return p.apply(this,arguments)||this};
_.q(l,p);l=b.templatizeTemplateClass=l}var r=b.hostProps,v;for(v in r)l.prototype._addPropertyEffect("_host_"+v,l.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:pda(e)}),l.prototype._createNotifyingProperty("_host_"+v);_.Pc&&d&&qda(b,c,d)}a.__dataProto&&Object.assign(a.__data,a.__dataProto);if(h)hda(a,l),a.__dataTemp={},a.__dataPending=null,a.__dataOld=null,a._enableProperties();else{Object.setPrototypeOf(a,l.prototype);b=b.hostProps;for(var z in b)z="_host_"+z,z in a&&(b=a[z],delete a[z],a.__data[z]=
b)}}};
pda=function(a){return function(b,c,d){a.call(b.__templatizeOwner,c.substring(6),d[c])}};
lda=function(a,b,c,d){var e=c.hostProps||{},h;for(h in d.instanceProps){delete e[h];var l=d.notifyInstanceProp;l&&a.prototype._addPropertyEffect(h,a.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:sda(l)})}if(d.forwardHostProp&&b.__dataHost)for(var m in e)c.hasHostProps||(c.hasHostProps=!0),a.prototype._addPropertyEffect(m,a.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:tda()})};
sda=function(a){return function(b,c,d){a.call(b.__templatizeOwner,b,c,d[c])}};
tda=function(){return function(a,b,c){a.__dataHost._setPendingPropertyOrPath("_host_"+b,c[b],!0,!0)}};
_.Oc=function(a,b,c){if(_.Qc&&!jda(a))throw Error("Wa");c=c||{};if(a.__templatizeOwner)throw Error("Xa");a.__templatizeOwner=b;var d=(b?b.constructor:_.Nc)._parseTemplate(a),e=d.templatizeInstanceClass;e||(e=mda(a,d,c),d.templatizeInstanceClass=e);var h=jda(a);rda(a,d,c,h);c=function(){return e.apply(this,arguments)||this};
_.q(c,e);c.prototype._methodHost=h;c.prototype.__dataHost=a;c.prototype.__templatizeOwner=b;c.prototype.__hostProps=d.hostProps;return c};
qda=function(a,b,c){c=c.constructor._properties;a=a.propertyEffects;b=b.instanceProps;for(var d in a)if(!(c[d]||b&&b[d]))for(var e=a[d],h=0;h<e.length;h++){var l=e[h].info.part;if(!l.signature||!l.signature.static){console.warn("Property '"+d+"' used in template but not declared in 'properties'; attribute will not be observed.");break}}};
_.uda=function(a,b){for(var c;b;)if(c=b.__dataHost?b:b.__templatizeInstance)if(c.__dataHost!=a)b=c.__dataHost;else return c;else b=(0,_.nc)(b).parentNode;return null};
Rc=function(a){return"slot"===a.localName};
vda=function(){for(var a=Sc.prototype,b="cloneNode appendChild insertBefore removeChild replaceChild setAttribute removeAttribute querySelector querySelectorAll attachShadow".split(" "),c={},d=0;d<b.length;c={$jscomp$loop$prop$method$3298:c.$jscomp$loop$prop$method$3298},d++)c.$jscomp$loop$prop$method$3298=b[d],a[c.$jscomp$loop$prop$method$3298]=function(e){return function(){return this.node[e.$jscomp$loop$prop$method$3298].apply(this.node,arguments)}}(c)};
wda=function(a,b){for(var c={},d=0;d<b.length;c={$jscomp$loop$prop$name$3300:c.$jscomp$loop$prop$name$3300},d++)c.$jscomp$loop$prop$name$3300=b[d],Object.defineProperty(a,c.$jscomp$loop$prop$name$3300,{get:function(e){return function(){return this.node[e.$jscomp$loop$prop$name$3300]}}(c),
configurable:!0})};
xda=function(){for(var a=Sc.prototype,b=["textContent","innerHTML","className"],c={},d=0;d<b.length;c={$jscomp$loop$prop$name$3303:c.$jscomp$loop$prop$name$3303},d++)c.$jscomp$loop$prop$name$3303=b[d],Object.defineProperty(a,c.$jscomp$loop$prop$name$3303,{get:function(e){return function(){return this.node[e.$jscomp$loop$prop$name$3303]}}(c),
set:function(e){return function(h){this.node[e.$jscomp$loop$prop$name$3303]=h}}(c),
configurable:!0})};
yda=function(){Tc=document.documentElement.getAttribute("dir");Tc=document.documentElement.getAttribute("dir");for(var a=0;a<Uc.length;a++){var b=Uc[a];b.__autoDirOptOut||b.setAttribute("dir",Tc)}};
Bda=function(a,b){b=void 0===b?!1:b;if(!zda||!Ada||!zda.handlesDynamicScoping)return null;var c=Ada.ScopingShim;if(!c)return null;var d=c.scopeForNode(a),e=(0,_.nc)(a).getRootNode(),h=function(l){if((0,_.nc)(l).getRootNode()===e){var m=Array.from(zda.nativeMethods.querySelectorAll.call(l,"*"));m.push(l);for(l=0;l<m.length;l++){var p=m[l];if((0,_.nc)(p).getRootNode()===e){var r=c.currentScopeForNode(p);r!==d&&(""!==r&&c.unscopeNode(p,r),c.scopeNode(p,d))}}}};
h(a);return b?(b=new MutationObserver(function(l){for(var m=0;m<l.length;m++)for(var p=l[m],r=0;r<p.addedNodes.length;r++){var v=p.addedNodes[r];v.nodeType===Node.ELEMENT_NODE&&h(v)}}),b.observe(a,{childList:!0,
subtree:!0}),b):null};
Cda=function(){document.body.removeAttribute("unresolved")};
Hda=function(a){var b=a=a.replace(Dda,"").replace(Eda,""),c=new Fda;c.start=0;c.end=b.length;for(var d=c,e=0,h=b.length;e<h;e++)if("{"===b[e]){d.rules||(d.rules=[]);var l=d,m=l.rules[l.rules.length-1]||null;d=new Fda;d.start=e+1;d.parent=l;d.previous=m;l.rules.push(d)}else"}"===b[e]&&(d.end=e+1,d=d.parent||c);return Gda(c,a)};
Gda=function(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&(c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=_._expandUnicodeEscapes$$module$third_party$javascript$polymer$v2$shadycss$src$css_parse(c),c=c.replace(Ida," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=4:c.match(Jda)&&(a.type=7,a.keyframesName=a.selector.split(Ida).pop()):0===c.indexOf("--")?
a.type=1E3:a.type=1);if(c=a.rules)for(var d=0,e=c.length,h=void 0;d<e&&(h=c[d]);d++)Gda(h,b);return a};
_._expandUnicodeEscapes$$module$third_party$javascript$polymer$v2$shadycss$src$css_parse=function(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(b,c){b=c;for(c=6-b.length;c--;)b="0"+b;return"\\"+b})};
Kda=function(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules;if(e&&!_._hasMixinRules$$module$third_party$javascript$polymer$v2$shadycss$src$css_parse(e))for(var h=0,l=e.length,m=void 0;h<l&&(m=e[h]);h++)d=Kda(m,b,d);else b?b=a.cssText:(b=a.cssText,b=b.replace(Lda,"").replace(Mda,""),b=b.replace(Nda,"").replace(Oda,"")),(d=b.trim())&&(d="  "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c};
_._hasMixinRules$$module$third_party$javascript$polymer$v2$shadycss$src$css_parse=function(a){a=a[0];return!!a&&!!a.selector&&0===a.selector.indexOf("--")};
Qda=function(a){if(a=Pda[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1};
Rda=function(a){return a._applyShimCurrentVersion===a._applyShimNextVersion};
Tda=function(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a._validating||(a._validating=!0,Sda.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a._validating=!1}))};
Vda=function(a){if(!a)return"";"string"===typeof a&&(a=Hda(a));return Kda(a,Uda)};
Wda=function(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Hda(a.textContent));return a.__cssRules||null};
Vc=function(a,b,c,d){if(a){var e=!1,h=a.type;if(d&&4===h){var l=a.selector.match(Xda);l&&(window.matchMedia(l[1]).matches||(e=!0))}1===h?b(a):c&&7===h?c(a):1E3===h&&(e=!0);if((a=a.rules)&&!e)for(e=0,h=a.length,l=void 0;e<h&&(l=a[e]);e++)Vc(l,b,c,d)}};
Yda=function(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");a:{var d=0;var e=c+3;for(var h=a.length;e<h;e++)if("("===a[e])d++;else if(")"===a[e]&&0===--d)break a;e=-1}d=a.substring(c+4,e);c=a.substring(0,c);a=Yda(a.substring(e+1),b);e=d.indexOf(",");return-1===e?b(c,d.trim(),"",a):b(c,d.substring(0,e).trim(),d.substring(e+1).trim(),a)};
Zda=function(a){if(void 0!==Wc)return Wc;if(void 0===a.__cssBuild){var b=a.getAttribute("css-build");if(b)a.__cssBuild=b;else{a:{b="template"===a.localName?a.content.firstChild:a.firstChild;if(b instanceof Comment&&(b=b.textContent.trim().split(":"),"css-build"===b[0])){b=b[1];break a}b=""}if(""!==b){var c="template"===a.localName?a.content.firstChild:a.firstChild;c.parentNode.removeChild(c)}a.__cssBuild=b}}return a.__cssBuild||""};
aea=function(a,b,c,d){for(var e=b._noAccessors,h=Object.getOwnPropertyNames(b),l=0;l<h.length;l++){var m=h[l];if(!(m in d))if(e)a[m]=b[m];else{var p=Object.getOwnPropertyDescriptor(b,m);p&&(p.configurable=!0,Object.defineProperty(a,m,p))}}for(var r in $da)b[r]&&(c[r]=c[r]||[],c[r].push(b[r]))};
bea=function(a,b,c){b=b||[];for(var d=a.length-1;0<=d;d--){var e=a[d];e?Array.isArray(e)?bea(e,b):0>b.indexOf(e)&&(!c||0>c.indexOf(e))&&b.unshift(e):console.warn("behavior is null, check for missing or 404 import")}return b};
cea=function(a,b){for(var c in b){var d=a[c],e=b[c];a[c]=!("value"in e)&&d&&"value"in d?Object.assign({value:d.value},e):e}};
_.fea=function(a,b,c){var d={},e=function(){return b.apply(this,arguments)||this};
_.q(e,b);e._finalizeClass=function(){if(this.hasOwnProperty("generatedFrom")){if(l)for(var p=0,r;p<l.length;p++)r=l[p],r.properties&&this.createProperties(r.properties),r.observers&&this.createObservers(r.observers,r.properties);a.properties&&this.createProperties(a.properties);a.observers&&this.createObservers(a.observers,a.properties);this._prepareTemplate()}else b._finalizeClass.call(this)};
e.prototype.created=function(){b.prototype.created.call(this);var p=d.created;if(p)for(var r=0;r<p.length;r++)p[r].call(this)};
e.prototype._registered=function(){var p=e.prototype;if(!p.hasOwnProperty("__hasRegisterFinished")){p.__hasRegisterFinished=!0;b.prototype._registered.call(this);_.Lc&&m(p);p=Object.getPrototypeOf(this);var r=d.beforeRegister;if(r)for(var v=0;v<r.length;v++)r[v].call(p);if(r=d.registered)for(v=0;v<r.length;v++)r[v].call(p)}};
e.prototype._applyListeners=function(){b.prototype._applyListeners.call(this);var p=d.listeners;if(p)for(var r=0;r<p.length;r++){var v=p[r];if(v)for(var z in v)this._addMethodEventListenerToNode(this,z,v[z])}};
e.prototype._ensureAttributes=function(){var p=d.hostAttributes;if(p)for(var r=p.length-1;0<=r;r--){var v=p[r],z;for(z in v)this._ensureAttribute(z,v[z])}b.prototype._ensureAttributes.call(this)};
e.prototype.ready=function(){b.prototype.ready.call(this);var p=d.ready;if(p)for(var r=0;r<p.length;r++)p[r].call(this)};
e.prototype.attached=function(){b.prototype.attached.call(this);var p=d.attached;if(p)for(var r=0;r<p.length;r++)p[r].call(this)};
e.prototype.detached=function(){b.prototype.detached.call(this);var p=d.detached;if(p)for(var r=0;r<p.length;r++)p[r].call(this)};
e.prototype.attributeChanged=function(p,r,v){b.prototype.attributeChanged.call(this);var z=d.attributeChanged;if(z)for(var A=0;A<z.length;A++)z[A].call(this,p,r,v)};
_.t.Object.defineProperties(e,{properties:{configurable:!0,enumerable:!0,get:function(){var p={};if(l)for(var r=0;r<l.length;r++)cea(p,l[r].properties);cea(p,a.properties);return p}},
observers:{configurable:!0,enumerable:!0,get:function(){var p=[];if(l)for(var r=0,v;r<l.length;r++)v=l[r],v.observers&&(p=p.concat(v.observers));a.observers&&(p=p.concat(a.observers));return p}}});
if(c){Array.isArray(c)||(c=[c]);var h=b.prototype.behaviors;var l=bea(c,null,h);e.prototype.behaviors=h?h.concat(c):l}var m=function(p){if(l)for(var r=l,v=0;v<r.length;v++)aea(p,r[v],d,dea);aea(p,a,d,eea)};
_.Lc||m(e.prototype);e.generatedFrom=a;return e};
gea=function(a,b){if(a&&a.fn){var c=a.fn;a.fn=function(){try{c.apply(this,arguments)}catch(d){if(d instanceof Xc)console.warn("Argument '"+d.arg+"'"+(b?" for method '"+b+"'":"")+" was undefined. Ensure it has a default value, or else ensure the method handles the argument being undefined.");else throw d;}}}return a};
hea=function(){var a=_.Ob.apply(0,arguments);return 0===a.length?function(b){return b}:1===a.length?a[0]:a.reduce(function(b,c){return function(){return b(c.apply(null,_.sc(_.Ob.apply(0,arguments))))}})};
iea=function(){var a=_.Ob.apply(0,arguments);return function(b){return function(c,d){c=b(c,d);var e=function(){throw Error("$a");},h={getState:c.getState,
dispatch:function(l){return e.apply(null,[l].concat(_.sc(_.Ob.apply(1,arguments))))}};
d=a.map(function(l){return l(h)});
e=hea.apply(null,_.sc(d))(c.dispatch);return Object.assign({},c,{dispatch:e})}}};
lea=function(a){Object.keys(a).forEach(function(b){var c=a[b];if("undefined"===typeof c(void 0,{type:jea}))throw Error("ab`"+b);if("undefined"===typeof c(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION"+kea()}))throw Error("bb`"+b+"`"+jea);})};
_.Yc=function(a){for(var b=Object.keys(a),c={},d=0;d<b.length;d++){var e=b[d];"function"===typeof a[e]&&(c[e]=a[e])}var h=Object.keys(c);try{lea(c)}catch(m){var l=m}return function(m,p){m=void 0===m?{}:m;if(l)throw l;for(var r=!1,v={},z=0;z<h.length;z++){var A=h[z],D=m[A],E=(0,c[A])(D,p);if("undefined"===typeof E)throw m=p&&p.type,Error("Given "+(m&&'action "'+String(m)+'"'||"an action")+', reducer "'+A+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.');
v[A]=E;r=r||E!==D}return(r=r||h.length!==Object.keys(m).length)?v:m}};
mea=function(a,b,c,d){function e(){if(z)throw Error("cb");return p}
function h(D){if("function"!==typeof D)throw Error("db");if(z)throw Error("eb");var E=!0;v===r&&(v=r.slice());v.push(D);return function(){if(E){if(z)throw Error("fb");E=!1;v===r&&(v=r.slice());var J=v.indexOf(D);v.splice(J,1);r=null}}}
function l(D){if("object"!==typeof D||null===D)var E=!1;else{for(E=D;null!==Object.getPrototypeOf(E);)E=Object.getPrototypeOf(E);E=Object.getPrototypeOf(D)===E}if(!E)throw Error("gb");if("undefined"===typeof D.type)throw Error("hb");if(z)throw Error("ib");try{z=!0,p=m(p,D)}finally{z=!1}E=r=v;for(var J=0;J<E.length;J++)(0,E[J])();return D}
if("function"===typeof b&&"function"===typeof c||"function"===typeof c&&"function"===typeof d)throw Error("jb");"function"===typeof b&&"undefined"===typeof c&&(c=b,b=void 0);if("undefined"!==typeof c){if("function"!==typeof c)throw Error("kb");return c(mea)(a,b)}if("function"!==typeof a)throw Error("lb");var m=a,p=b,r=[],v=r,z=!1;l({type:jea});a={};var A=(a.dispatch=l,a.subscribe=h,a.getState=e,a.replaceReducer=function(D){if("function"!==typeof D)throw Error("mb");m=D;l({type:nea});return A},a[oea]=
function(){var D={};
return D.subscribe=function(E){function J(){E.next&&E.next(e())}
if("object"!==typeof E||null===E)throw new TypeError("nb");J();return{unsubscribe:h(J)}},D[oea]=function(){return this},D},a);
return A};
_.rea=function(a,b,c){if(Object.hasOwnProperty.call(pea,a)&&(a=pea[a],Object.hasOwnProperty.call(a,b)&&(a=a[b],a instanceof Array))){for(var d=null,e=!1,h=0,l=a.length;h<l;++h){var m=a[h],p=m.contingentAttribute;if(!p)return m.contract;null===d&&(d={});p=Object.hasOwnProperty.call(d,p)?d[p]:d[p]=c(p);if(p===m.requiredValue)return m.contract;null==p&&(e=!0)}if(e)return null}b=qea[b];return"number"===typeof b?b:null};
_.uea=function(a,b,c){var d=null;(a=sea[a])&&(d=a[b]);return"number"!==typeof d&&((a=sea["*"])&&(d=a[b]),"number"!==typeof d)?!1:!0===tea[d][String(c).toLowerCase()]};
xea=function(a){var b=vea;b||(b=wea(),b=vea=_.u.transpose(b));b=b[a];return"string"===typeof b?b:_.Zc(a)};
zea=function(a){a=String(a).toLowerCase();var b=wea()[a];return"string"===typeof b?b:_.yea(a)};
Aea=function(a){a=a.toLowerCase();a=wea()[a];return"string"===typeof a?a:null};
wea=function(){if(!Bea){for(var a=Object.assign({},Cea),b=_.k(Dea),c=b.next();!c.done;c=b.next())c=c.value,a[c.toLowerCase()]=c;Bea=a}return Bea};
Gea=function(a,b){var c=window.customElements;return c&&c.get(a)||!0===Eea[a]?2:"HTMLUnknownElement"===b.name?1:"HTMLElement"===b.name&&Fea.test(a)?3:0};
Jea=function(a,b){switch(b){case "innerHTML":return 1===Hea(a)?2:null;case "textContent":return a=Hea(a),1===a||6===a?1:null;default:var c,d;return null!=(d=null==(c=Iea[a.localName])?void 0:c[b])?d:null}};
Hea=function(a){var b=a.localName,c=Gea(b,a.constructor);switch(c){case 0:case 1:return Kea(b,a);case 3:case 2:return 1;default:_.Bb(c,"got an unknown element classification")}};
Kea=function(a,b){var c=Object.hasOwnProperty.call(Lea,a)?Lea[a]:null;return null!==c?c:Object.hasOwnProperty.call(Mea,a)&&b instanceof SVGElement?Mea[a]:null};
Nea=function(a){return a&&a.implementsGoogStringTypedString?a.getTypedStringValue():a};
$c=function(a,b){return b};
Pea=function(a){return(a=a.split(Oea,2))?{url:a[0],metadata:a[1]}:null};
Rea=function(a){var b=String(a.url).replace(Qea,encodeURIComponent);if(a=a.metadata){Qea.lastIndex=0;if(Qea.test(a))return null;b+=" "+a}return b};
Vea=function(a){function b(r){var v=r.localName;if(!r.getAttribute("is")&&2===Gea(v,r.constructor))return p;(r=m[v])||(r=m[v]=document.createElement(v));return r}
var c=a.reportHandler||void 0,d=a.safeTypesBridge||Sea,e=/^$/;if(a=a.allowedIdentifierPrefixes){a=_.k(a);for(var h=a.next();!h.done;h=a.next())e=new RegExp(e.source+"|^"+_.Tea(h.value))}c&&c(!1,"initResin",null);var l=Uea(e,d,c),m={},p=document.createElement("polyresinuncustomized");return function(r,v,z){var A=r.nodeType;if(A!==Node.ELEMENT_NODE){if(A===Node.TEXT_NODE){v=r.parentElement;z=!v;if(v&&v.nodeType===Node.ELEMENT_NODE){A=v.localName;var D=Gea(A,v.constructor);switch(D){case 0:case 1:v=
Kea(A,v);z=1===v||6===v;break;case 3:case 2:z=!0;break;default:_.Bb(D,"got an unknown element classification")}}if(z)return function(da){return""+d(da,"STRING",da)}}return function(da){if(!da&&da!==document.all)return da;
c&&c(!0,"Failed to sanitize "+(r.parentElement&&r.parentElement.nodeName)+" #text node to value "+da,r.parentElement);return ad}}var E=r.localName;
A=b(r);var J=null;switch(z){case "attribute":if(zea(v)in A)break;return function(da){return da};
case "property":if(v in A){J=Jea(A,v);break}if((D=Aea(v))&&D in A)break;return function(da){return da};
default:_.Bb(z,"got an unknown resin type, expected either 'property' or 'attribute'")}var R="attribute"===z?v.toLowerCase():xea(v);J||(J=_.rea(E,R,function(da){var sa=r.getAttribute(da);return!sa||/[\[\{]/.test(da)?null:sa}));
return function(da){var sa=bd,Ca=null;if(!da&&da!==document.all)return da;if(null!=J){var ea=l[J],na=ea.safeType;Ca=ea.safeReplacement;na&&(sa=d(da,na,bd));sa===bd&&(ea.filterString?(sa=String(d(da,"STRING",da)),sa=ea.filterString(E,R,sa)):ea.filterRaw&&(sa=ea.filterRaw(E,R,da,r)),sa===Ca&&(sa=bd))}sa===bd&&(sa=Ca||ad,c&&(da=void 0!==da.getTypedStringValue?da.getTypedStringValue():da,c(!0,"Failed to sanitize attribute of <"+E+">: <"+E+" "+R+'="'+da+'">',r)));return sa}}};
Uea=function(a,b,c){return[,{filterRaw:function(d,e,h){return h},
filterString:void 0,safeReplacement:void 0,safeType:void 0},{filterRaw:void 0,filterString:void 0,safeReplacement:void 0,safeType:"HTML"},{filterRaw:void 0,filterString:void 0,safeReplacement:cd,safeType:"URL"},{filterRaw:void 0,filterString:void 0,safeReplacement:cd,safeType:"RESOURCE_URL"},{filterRaw:void 0,filterString:void 0,safeReplacement:ad,safeType:"STYLE"},,{filterRaw:void 0,filterString:void 0,safeReplacement:Wea,safeType:"JAVASCRIPT"},{filterRaw:void 0,filterString:function(d,e,h){h=String(h).toLowerCase();
return _.uea(d,e,h)?h:ad},
safeReplacement:ad,safeType:void 0},{filterRaw:void 0,filterString:void 0,safeReplacement:ad,safeType:"CONSTANT"},{filterRaw:void 0,filterString:function(d,e,h){return a.test(h)?h:ad},
safeReplacement:ad,safeType:"CONSTANT"},{filterRaw:function(d,e,h,l){if("string"===typeof h)var m=(m=h.match(Xea))?m.map(Pea).filter(Boolean):[];else if(Array.isArray(h))m=h;else return cd;var p=m;m=[];var r=[],v={};if(Array.isArray(p))for(var z=0,A=p.length;z<A;++z){var D=p[z],E=D&&D.url;if(E){var J=b(E,"URL",v);if(J){var R=J!==v;(R?m:r).push({url:R?J:E,metadata:D.metadata})}}}else r.push(p);p=r.length?JSON.stringify(r):null;r=bd;if(m.length){if(!Array.isArray(m))throw Error();r=m.map(Rea).filter(Boolean).join(" , ")||
bd}p&&c&&c(!0,"Failed to sanitize attribute value of <"+d+">: <"+d+" "+e+'="'+h+'">: '+p,l);return r===bd?cd:r},
filterString:void 0,safeReplacement:void 0,safeType:void 0}]};
_.Yea=function(a){var b=Vea(a);return function(c,d,e,h){return h||h===document.all?b(c,d,e)(h):h}};
_.ed=function(){var a=arguments;1<a.length?_.dd[a[0]]=a[1]:1===a.length&&Object.assign(_.dd,a[0])};
_.w=function(a,b){return a in _.dd?_.dd[a]:b};
_.fd=function(a,b){return!!_.w(a,b)};
Zea=function(){return _.dd.EXPERIMENT_FLAGS};
$ea=function(a){var b=Zea();return b?b[a]:void 0};
_.x=function(a){a=_.gd(a);return"string"===typeof a&&"false"===a?!1:!!a};
_.hd=function(a,b){a=_.gd(a);return void 0===a&&void 0!==b?b:Number(a||0)};
_.afa=function(a){a=_.gd(a);return Array.isArray(a)?_.id(a,function(b){return String(b||"")}):[String(a||"")]};
bfa=function(){return _.w("EXPERIMENTS_TOKEN","")};
_.gd=function(a){var b=_.w("EXPERIMENTS_FORCED_FLAGS",{});return void 0!==b[a]?b[a]:_.w("EXPERIMENT_FLAGS",{})[a]};
cfa=function(){var a=[],b=_.w("EXPERIMENTS_FORCED_FLAGS",{});for(c in b)a.push({key:c,value:String(b[c])});var c=_.w("EXPERIMENT_FLAGS",{});for(var d in c)d.startsWith("force_")&&void 0===b[d]&&a.push({key:d,value:String(c[d])});return a};
efa=function(a){dfa.forEach(function(b){return b(a)})};
_.kd=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){_.jd(b)}}:a};
_.jd=function(a,b,c,d){var e=_.ld("yt.logging.errors.log");e?e(a,"ERROR",b,c,d):(e=_.w("ERRORS",[]),e.push([a,"ERROR",b,c,d]),_.ed("ERRORS",e));efa(a)};
_.md=function(a,b,c,d){var e=_.ld("yt.logging.errors.log");e?e(a,"WARNING",b,c,d):(e=_.w("ERRORS",[]),e.push([a,"WARNING",b,c,d]),_.ed("ERRORS",e))};
_.nd=function(a,b){b=a.split(b);for(var c={},d=0,e=b.length;d<e;d++){var h=b[d].split("=");if(1==h.length&&h[0]||2==h.length)try{var l=ffa(h[0]||""),m=ffa(h[1]||"");l in c?Array.isArray(c[l])?_.oa(c[l],m):c[l]=[c[l],m]:c[l]=m}catch(z){var p=z,r=h[0],v=String(_.nd);p.args=[{key:r,value:h[1],query:a,method:gfa==v?"unchanged":v}];hfa.hasOwnProperty(r)||_.md(p)}}return c};
_.qd=function(a){var b=[];_.u.forEach(a,function(c,d){var e=_.od(d),h;Array.isArray(c)?h=c:h=[c];_.pd(h,function(l){""==l?b.push(e):b.push(e+"="+_.od(l))})});
return b.join("&")};
_.rd=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return _.nd(a,"&")};
_.sd=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),_.rd(1<a.length?a[1]:a[0])):{}};
_.td=function(a,b){return ifa(a,b||{},!0)};
ud=function(a,b){return ifa(a,b||{},!1)};
ifa=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=_.rd(e[1]||"");for(var h in b)if(c||!_.u.containsKey(e,h))e[h]=b[h];return _.vd(a,e)+d};
_.zd=function(a){if(!b)var b=window.location.href;var c=_.wd(a)[1]||null,d=_.xd(a);return c&&d?_.yd(a,b):d?_.xd(b)==d&&(Number(_.wd(b)[4]||null)||null)==(Number(_.wd(a)[4]||null)||null):!0};
_.jfa=function(a){a=_.xd(a);a=null!==a?a.split(".").reverse():null;return null===a?!1:"com"==a[0]&&a[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1};
ffa=function(a){return a&&a.match(kfa)?a:_.Ad(a)};
mfa=function(){if(!lfa)return null;var a=lfa();return"open"in a?a:null};
_.ofa=function(a){switch(_.nfa(a)){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
_.nfa=function(a){return a&&"status"in a?a.status:-1};
_.Bd=function(a,b){"function"===typeof a&&(a=_.kd(a));return window.setTimeout(a,b)};
_.Cd=function(a,b){"function"===typeof a&&(a=_.kd(a));return window.setInterval(a,b)};
_.Dd=function(a){window.clearTimeout(a)};
_.rfa=function(a,b){b=void 0===b?{}:b;var c=_.zd(a),d=_.x("web_ajax_ignore_global_headers_if_set"),e;for(e in pfa){var h=_.w(pfa[e]);!h||!c&&_.xd(a)||d&&void 0!==b[e]||!_.x("enable_web_eom_visitor_data")&&"X-Goog-EOM-Visitor-Id"===e||(b[e]=h)}"X-Goog-EOM-Visitor-Id"in b&&"X-Goog-Visitor-Id"in b&&delete b["X-Goog-Visitor-Id"];if(c||!_.xd(a))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());if(c||!_.xd(a)){try{var l=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(m){}l&&(b["X-YouTube-Time-Zone"]=
l)}if(c||!_.xd(a))b["X-YouTube-Ad-Signals"]=_.qd(qfa());return b};
_.Fd=function(a){var b=window.location.search,c=_.xd(a);_.x("debug_handle_relative_url_for_query_forward_killswitch")||c||!_.zd(a)||(c=document.location.hostname);var d=_.Ed(a);d=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=_.rd(b),h={};_.pd(_.sfa,function(l){e[l]&&(h[l]=e[l])});
return ud(a,h)};
_.tfa=function(a,b){var c=_.w("XSRF_FIELD_NAME"),d;b.headers&&(d=b.headers["Content-Type"]);return!b.excludeXsrf&&(!_.xd(a)||b.withCredentials||_.xd(a)==document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.postParams&&b.postParams[c])};
_.Gd=function(a,b){var c=b.format||"JSON";a=ufa(a,b);var d=vfa(a,b),e=!1,h=wfa(a,function(p){if(!e){e=!0;m&&_.Dd(m);var r=_.ofa(p),v=null,z=400<=p.status&&500>p.status,A=500<=p.status&&600>p.status;if(r||z||A)v=xfa(a,c,p,b.convertToSafeHtml);if(r)a:if(p&&204==p.status)r=!0;else{switch(c){case "XML":r=0==parseInt(v&&v.return_code,10);break a;case "RAW":r=!0;break a}r=!!v}v=v||{};z=b.context||_.g;r?b.onSuccess&&b.onSuccess.call(z,p,v):b.onError&&b.onError.call(z,p,v);b.onFinish&&b.onFinish.call(z,p,
v)}},b.method,d,b.headers,b.responseType,b.withCredentials);
d=b.timeout||0;if(b.onTimeout&&0<d){var l=b.onTimeout;var m=_.Bd(function(){e||(e=!0,h.abort(),_.Dd(m),l.call(b.context||_.g,h))},d)}return h};
ufa=function(a,b){b.includeDomain&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=_.w("XSRF_FIELD_NAME");if(b=b.urlParams)b[c]&&delete b[c],a=_.td(a,b);return a};
vfa=function(a,b){var c=_.w("XSRF_FIELD_NAME"),d=_.w("XSRF_TOKEN"),e=b.postBody||"",h=b.postParams;_.tfa(a,b)&&(h||(h={}),h[c]=d);h&&"string"===typeof e&&(e=_.rd(e),_.u.extend(e,h),e=b.postBodyFormat&&"JSON"==b.postBodyFormat?JSON.stringify(e):_.Hd(e));h=e||h&&!_.u.isEmpty(h);!yfa&&h&&"POST"!=b.method&&(yfa=!0,_.jd(Error("ob")));return e};
xfa=function(a,b,c,d){var e=null;switch(b){case "JSON":try{var h=c.responseText}catch(l){throw d=Error("pb"),d.params=a,_.md(d),l;}a=c.getResponseHeader("Content-Type")||"";h&&0<=a.indexOf("json")&&(")]}'\n"===h.substring(0,5)&&(h=h.substring(5)),e=JSON.parse(h));break;case "XML":if(a=(a=c.responseXML)?zfa(a):null)e={},_.pd(a.getElementsByTagName("*"),function(l){e[l.tagName]=Afa(l)})}d&&Bfa(e);
return e};
Bfa=function(a){if(_.pa(a))for(var b in a)"html_content"==b||_.Id(b,"_html")?a[b]=_.Jd(_.jb("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):Bfa(a[b])};
zfa=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Afa=function(a){var b="";_.pd(a.childNodes,function(c){b+=c.nodeValue});
return b};
_.Ld=function(a,b,c,d,e){_.Kd.set(a,b,{maxAge:c,path:"/",domain:void 0===d?"youtube.com":d,secure:void 0===e?!1:e})};
_.Cfa=function(a,b,c){_.Kd.remove(a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
_.Dfa=function(){if(!_.Kd.isEnabled())return!1;if(!_.Kd.isEmpty())return!0;_.Kd.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==_.Kd.get("TESTCOOKIESENABLED"))return!1;_.Kd.remove("TESTCOOKIESENABLED");return!0};
Efa=function(){var a=_.g.navigator;return a?a.connection:void 0};
_.Ffa=function(){if("undefined"!==typeof Intl)try{return(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(a){}};
_.Md=function(){var a=Efa();if(a){var b=Gfa[a.type||"unknown"]||"CONN_UNKNOWN";a=Gfa[a.effectiveType||"unknown"]||"CONN_UNKNOWN";"CONN_CELLULAR_UNKNOWN"===b&&"CONN_UNKNOWN"!==a&&(b=a);if("CONN_UNKNOWN"!==b)return b;if("CONN_UNKNOWN"!==a)return a}};
Ifa=function(){var a=Efa();if(null!=a&&a.effectiveType)return Hfa.hasOwnProperty(a.effectiveType)?Hfa[a.effectiveType]:"EFFECTIVE_CONNECTION_TYPE_UNKNOWN"};
Jfa=function(){return"INNERTUBE_API_KEY"in _.dd&&"INNERTUBE_API_VERSION"in _.dd};
_.Nd=function(){return{innertubeApiKey:_.w("INNERTUBE_API_KEY"),innertubeApiVersion:_.w("INNERTUBE_API_VERSION"),innertubeContextClientConfigInfo:_.w("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),innertubeContextClientName:_.w("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientNameFieldNumber:_.w("INNERTUBE_CONTEXT_CLIENT_NAME",1),innertubeContextClientVersion:_.w("INNERTUBE_CONTEXT_CLIENT_VERSION"),innertubeContextHostLanguage:_.w("INNERTUBE_CONTEXT_HL"),innertubeContextGeoLocation:_.w("INNERTUBE_CONTEXT_GL"),
innertubeHostOverride:_.w("INNERTUBE_HOST_OVERRIDE")||"",innertubeUseThirdPartyAuth:_.fd("INNERTUBE_USE_THIRD_PARTY_AUTH",!1),innertubeOmitApiKeyWhenAuthHeaderIsPresent:_.fd("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT",!1),appInstallData:_.w("SERIALIZED_CLIENT_CONFIG_DATA")}};
_.Ofa=function(a){var b={client:{hl:a.innertubeContextHostLanguage,gl:a.innertubeContextGeoLocation,clientName:a.innertubeContextClientName,clientVersion:a.innertubeContextClientVersion,configInfo:a.innertubeContextClientConfigInfo}};navigator.userAgent&&(b.client.userAgent=String(navigator.userAgent));var c=_.g.devicePixelRatio;c&&1!=c&&(b.client.screenDensityFloat=String(c));c=bfa();""!==c&&(b.client.experimentsToken=c);c=cfa();0<c.length&&(b.request={internalExperimentFlags:c});Kfa(a,void 0,b);
Lfa(void 0,b);Mfa(a,void 0,b);Nfa(void 0,b);_.w("DELEGATED_SESSION_ID")&&!_.x("pageid_as_header_web")&&(b.user={onBehalfOfUser:_.w("DELEGATED_SESSION_ID")});a=Object;c=a.assign;for(var d=b.client,e={},h=_.k(Object.entries(_.rd(_.w("DEVICE","")))),l=h.next();!l.done;l=h.next()){var m=_.k(l.value);l=m.next().value;m=m.next().value;"cbrand"===l?e.deviceMake=m:"cmodel"===l?e.deviceModel=m:"cbr"===l?e.browserName=m:"cbrver"===l?e.browserVersion=m:"cos"===l?e.osName=m:"cosver"===l?e.osVersion=m:"cplatform"===
l&&(e.platform=m)}b.client=c.call(a,d,e);return b};
Qfa=function(a){var b=new Od,c=new Pd;_.n(c,1,a.innertubeContextHostLanguage);_.n(c,2,a.innertubeContextGeoLocation);_.n(c,16,a.innertubeContextClientNameFieldNumber);_.n(c,17,a.innertubeContextClientVersion);if(a.innertubeContextClientConfigInfo){var d=a.innertubeContextClientConfigInfo,e=new Qd;d.coldConfigData&&_.n(e,1,d.coldConfigData);d.appInstallData&&_.n(e,6,d.appInstallData);d.coldHashData&&_.n(e,3,d.coldHashData);d.hotHashData&&_.n(e,5,d.hotHashData);_.eb(c,62,e)}(d=_.g.devicePixelRatio)&&
1!=d&&_.n(c,65,d);d=bfa();""!==d&&_.n(c,54,d);d=cfa();if(0<d.length){e=new Pfa;for(var h=0;h<d.length;h++){var l=new Rd;l.setKey(d[h].key);l.setValue(d[h].value);_.Sd(e,15,Rd,l)}_.eb(b,5,e)}Kfa(a,c);Lfa(c);Mfa(a,c);Nfa(c);_.w("DELEGATED_SESSION_ID")&&!_.x("pageid_as_header_web")&&(a=new Td,_.n(a,3,_.w("DELEGATED_SESSION_ID")));a=_.k(Object.entries(_.rd(_.w("DEVICE",""))));for(d=a.next();!d.done;d=a.next())e=_.k(d.value),d=e.next().value,e=e.next().value,"cbrand"===d?_.n(c,12,e):"cmodel"===d?_.n(c,
13,e):"cbr"===d?_.n(c,87,e):"cbrver"===d?_.n(c,88,e):"cos"===d?_.n(c,18,e):"cosver"===d?_.n(c,19,e):"cplatform"===d&&_.n(c,42,e);_.eb(b,1,c);return b};
Kfa=function(a,b,c){a=a.innertubeContextClientName;if("WEB"===a||"MWEB"===a||1===a||2===a)if(b){c=_.Va(b,Rfa,96)||new Rfa;var d=Sfa();d=Object.keys(Tfa).indexOf(d);d=-1===d?null:d;null!==d&&_.n(c,3,d);_.eb(b,96,c)}else c&&(c.client.mainAppWebInfo=null!=(d=c.client.mainAppWebInfo)?d:{},c.client.mainAppWebInfo.webDisplayMode=Sfa())};
Lfa=function(a,b){var c;if(_.x("web_log_memory_total_kbytes")&&(null==(c=_.g.navigator)?0:c.deviceMemory)){var d;c=null==(d=_.g.navigator)?void 0:d.deviceMemory;a?_.n(a,95,1E6*c):b&&(b.client.memoryTotalKbytes=""+1E6*c)}};
Mfa=function(a,b,c){if(a.appInstallData)if(b){var d;c=null!=(d=_.Va(b,Qd,62))?d:new Qd;_.n(c,6,a.appInstallData);_.eb(b,62,c)}else c&&(c.client.configInfo=c.client.configInfo||{},c.client.configInfo.appInstallData=a.appInstallData)};
Nfa=function(a,b){var c=_.Md();c&&(a?_.n(a,61,Ufa[c]):b&&(b.client.connectionType=c));_.x("web_log_effective_connection_type")&&(c=Ifa())&&(a?_.n(a,94,Vfa[c]):b&&(b.client.effectiveConnectionType=c))};
_.Wfa=function(a,b,c){c=void 0===c?{}:c;var d={};_.x("enable_web_eom_visitor_data")&&_.w("EOM_VISITOR_DATA")?d={"X-Goog-EOM-Visitor-Id":_.w("EOM_VISITOR_DATA")}:d={"X-Goog-Visitor-Id":c.visitorData||_.w("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.authorization||_.w("AUTHORIZATION"))||(a?b="Bearer "+_.ld("gapi.auth.getToken")().access_token:b=_.Ud([]));b&&(d.Authorization=b,d["X-Goog-AuthUser"]=_.w("SESSION_INDEX",0),_.x("pageid_as_header_web")&&(d["X-Goog-PageId"]=
_.w("DELEGATED_SESSION_ID")));return d};
Xfa=function(a){a=Object.assign({},a);delete a.Authorization;var b=_.Ud();if(b){var c=new Vd;c.update(_.w("INNERTUBE_API_KEY"));c.update(b);a.hash=_.Ia(c.digest(),3)}return a};
Xd=function(){Yfa||(Yfa=new _.Wd("yt.innertube"));return Yfa};
Zfa=function(a,b,c,d){if(d)return null;d=Xd().get("nextId",!0)||1;var e=Xd().get("requests",!0)||{};e[d]={method:a,request:b,authState:Xfa(c),requestTime:Math.round((0,_.Yd)())};Xd().set("nextId",d+1,86400,!0);Xd().set("requests",e,86400,!0);return d};
$fa=function(a){var b=Xd().get("requests",!0)||{};delete b[a];Xd().set("requests",b,86400,!0)};
bga=function(a){var b=Xd().get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(6E4>Math.round((0,_.Yd)())-d.requestTime)){var e=d.authState,h=Xfa(_.Wfa(!1));_.u.equals(e,h)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round((0,_.Yd)())),aga(a,d.method,e,{}));delete b[c]}}Xd().set("requests",b,86400,!0)}};
_.Zd=function(a){var b=_.ua();return b?0<=b.toLowerCase().indexOf(a):!1};
dga=function(){var a;return null==(a=cga())?void 0:a.get("LAST_RESULT_ENTRY_KEY",!0)};
_.ce=function(a){$d||(_.ae?_.ae.logError(a):(_.be.push({type:"ERROR",payload:a}),10<_.be.length&&_.be.shift()))};
de=function(a,b){$d||(_.ae?_.ae.logEvent(a,b):(_.be.push({type:"EVENT",eventType:a,payload:b}),10<_.be.length&&_.be.shift()))};
_.fe=function(){try{return _.ee(),!0}catch(a){return!1}};
_.ee=function(a){if(void 0!==_.w("DATASYNC_ID"))return _.w("DATASYNC_ID");throw new _.ge("Datasync ID not set",void 0===a?"unknown":a);};
he=function(a){if(0<=a.indexOf(":"))throw Error("tb");};
ie=function(a){return a.substr(0,a.indexOf(":"))||a};
gga=function(a,b,c,d){b=ie(b);var e=a instanceof Error?a:Error("ub`"+a);if(e instanceof je)return e;a={objectStoreNames:c,dbName:b,dbVersion:d};if("QuotaExceededError"===e.name)return new je("QUOTA_EXCEEDED",a);if(_.ega&&"UnknownError"===e.name)return new je("QUOTA_MAYBE_EXCEEDED",a);if(e instanceof ke)return new je("MISSING_INDEX",Object.assign({},a,{objectStore:e.objectStore,index:e.index}));if("InvalidStateError"===e.name&&fga.some(function(h){return e.message.includes(h)}))return new je("EXECUTE_TRANSACTION_ON_CLOSED_DB",
a);
if("AbortError"===e.name)return new je("UNKNOWN_ABORT",a,e.message);e.args=[Object.assign({},a,{name:"IdbError",originalName:e.name})];e.level="WARNING";return e};
_.le=function(a,b,c){var d=dga();return new je("IDB_NOT_SUPPORTED",{context:{caller:a,publicName:b,version:c,hasSucceededOnce:null==d?void 0:d.hasSucceededOnce}})};
hga=function(a){if(!a)throw Error();throw a;};
iga=function(a){return a};
jga=function(a,b,c){var d=function(){try{a.removeEventListener("success",e),a.removeEventListener("error",h)}catch(l){}},e=function(){b(a.result);
d()},h=function(){c(a.error);
d()};
a.addEventListener("success",e);a.addEventListener("error",h)};
kga=function(a){return new Promise(function(b,c){jga(a,b,c)})};
oe=function(a){return new me(new ne(function(b,c){jga(a,b,c)}))};
lga=function(a,b){return new me(new ne(function(c,d){var e=function(){var h=a?b(a):null;h?h.then(function(l){a=l;e()},d):c()};
e()}))};
mga=function(a,b,c){return new Promise(function(d,e){var h=void 0!==b?self.indexedDB.open(a,b):self.indexedDB.open(a);var l=c.blocked,m=c.blocking,p=c.terminated,r=c.upgrade,v=c.closed,z,A=function(){z||(z=new pe(h.result,{closed:v}));return z};
h.addEventListener("upgradeneeded",function(D){try{if(null===D.newVersion)throw Error("zb");if(null===h.transaction)throw Error("Ab");D.dataLoss&&"none"!==D.dataLoss&&de("IDB_DATA_CORRUPTED",{reason:D.dataLossMessage||"unknown reason",dbName:ie(a)});var E=A(),J=new re(h.transaction);r&&r(E,function(R){return D.oldVersion<R&&D.newVersion>=R},J);
J.done.catch(function(R){e(R)})}catch(R){e(R)}});
h.addEventListener("success",function(){var D=h.result;m&&D.addEventListener("versionchange",function(){m(A())});
D.addEventListener("close",function(){de("IDB_UNEXPECTEDLY_CLOSED",{dbName:ie(a),dbVersion:D.version});p&&p()});
d(A())});
h.addEventListener("error",function(){e(h.error)});
l&&h.addEventListener("blocked",function(){l()})})};
nga=function(a,b,c){c=void 0===c?{}:c;return mga(a,b,c)};
_.ve=function(a,b){b=void 0===b?{}:b;var c,d,e,h;return _.y(function(l){if(1==l.nextAddress)return _.se(l,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),_.B(l,kga(c),4);
if(2!=l.nextAddress)return _.te(l,0);h=_.ue(l);throw gga(h,a,"",-1);})};
oga=function(a){return new Promise(function(b){_.we(_.xe,function(){b()},a)})};
qga=function(a,b){var c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,_.ye(pga,b),2);c=d.yieldResult;return d.return(_.ze(c,["databases"],{enableRetries:!0,mode:"readwrite"},function(e){var h=e.objectStore("databases");return h.get(a.actualName).then(function(l){if(l?a.actualName!==l.actualName||a.publicName!==l.publicName||a.userIdentifier!==l.userIdentifier:1)return h.put(a).then(function(){})})}))})};
_.Ae=function(a,b){var c;return _.y(function(d){if(1==d.nextAddress)return a?_.B(d,_.ye(pga,b),2):d.return();c=d.yieldResult;return d.return(c.delete("databases",a))})};
_.rga=function(a,b){var c,d;return _.y(function(e){return 1==e.nextAddress?(c=[],_.B(e,_.ye(pga,b),2)):3!=e.nextAddress?(d=e.yieldResult,_.B(e,_.ze(d,["databases"],{enableRetries:!0,mode:"readonly"},function(h){c.length=0;return Be(h.objectStore("databases"),{},function(l){a(l.getValue())&&c.push(l.getValue());return l.continue()})}),3)):e.return(c)})};
sga=function(a){return _.rga(function(b){return"LogsDatabaseV2"===b.publicName&&void 0!==b.userIdentifier},a)};
vga=function(){var a,b,c,d;return _.y(function(e){switch(e.nextAddress){case 1:a=dga();if(null==(b=a)?0:b.hasSucceededOnce)return e.return(!0);var h;if(h=_.tga)h=/WebKit\/([0-9]+)/.exec(_.ua()),h=!!(h&&600<=parseInt(h[1],10));h&&(h=/WebKit\/([0-9]+)/.exec(_.ua()),h=!(h&&602<=parseInt(h[1],10)));if(h||_.Ce)return e.return(!1);try{if(c=self,!(c.indexedDB&&c.IDBIndex&&c.IDBKeyRange&&c.IDBObjectStore))return e.return(!1)}catch(l){return e.return(!1)}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return e.return(!1);
_.se(e,2);d={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0};return _.B(e,qga(d,uga),4);case 4:return _.B(e,_.Ae("yt-idb-test-do-not-use",uga),5);case 5:return e.return(!0);case 2:return _.ue(e),e.return(!1)}})};
_.De=function(){if(void 0!==wga)return wga;$d=!0;return wga=vga().then(function(a){$d=!1;var b;if(null!=(b=cga())&&b.expiringStorage_){var c;b={hasSucceededOnce:(null==(c=dga())?void 0:c.hasSucceededOnce)||a};var d;null==(d=cga())||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})};
_.Ee=function(){return _.ld("ytglobal.idbToken_")||void 0};
_.Ge=function(){var a=_.Ee();return a?Promise.resolve(a):_.De().then(function(b){(b=b?uga:void 0)&&_.Fe("ytglobal.idbToken_",b);return b})};
xga=function(a){if(!_.fe())throw a=new je("AUTH_INVALID",{dbName:a}),_.ce(a),a;var b=_.ee();return{actualName:a+":"+b,publicName:a,userIdentifier:b}};
yga=function(a,b,c,d){var e,h,l,m,p,r;return _.y(function(v){switch(v.nextAddress){case 1:return h=null!=(e=Error().stack)?e:"",_.B(v,_.Ge(),2);case 2:l=v.yieldResult;if(!l)throw m=_.le("openDbImpl",a,b),_.x("ytidb_async_stack_killswitch")||(m.stack=m.stack+"\n"+h.substring(h.indexOf("\n")+1)),_.ce(m),m;he(a);p=c?{actualName:a,publicName:a,userIdentifier:void 0}:xga(a);_.se(v,3);return _.B(v,qga(p,l),5);case 5:return _.B(v,nga(p.actualName,b,d),6);case 6:return v.return(v.yieldResult);case 3:return r=
_.ue(v),_.se(v,7),_.B(v,_.Ae(p.actualName,l),9);case 9:_.te(v,8);break;case 7:_.ue(v);case 8:throw r;}})};
zga=function(a,b,c){c=void 0===c?{}:c;return yga(a,b,!1,c)};
Aga=function(a,b,c){c=void 0===c?{}:c;return yga(a,b,!0,c)};
Bga=function(a,b){b=void 0===b?{}:b;var c,d;return _.y(function(e){if(1==e.nextAddress)return _.B(e,_.Ge(),2);if(3!=e.nextAddress){c=e.yieldResult;if(!c)return e.return();he(a);d=xga(a);return _.B(e,_.ve(d.actualName,b),3)}return _.B(e,_.Ae(d.actualName,c),0)})};
Cga=function(a,b,c){a=a.map(function(d){return _.y(function(e){return 1==e.nextAddress?_.B(e,_.ve(d.actualName,b),2):_.B(e,_.Ae(d.actualName,c),0)})});
return Promise.all(a).then(function(){})};
Dga=function(){var a=void 0===a?{}:a;var b,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,_.Ge(),2);if(3!=d.nextAddress){b=d.yieldResult;if(!b)return d.return();he("LogsDatabaseV2");return _.B(d,sga(b),3)}c=d.yieldResult;return _.B(d,Cga(c,a,b),0)})};
_.Ega=function(a,b){b=void 0===b?{}:b;var c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,_.Ge(),2);if(3!=d.nextAddress){c=d.yieldResult;if(!c)return d.return();he(a);return _.B(d,_.ve(a,b),3)}return _.B(d,_.Ae(a,c),0)})};
Fga=function(a){var b;return(a=null==a?void 0:null==(b=a.error)?void 0:b.code)&&400<=a&&599>=a?!1:!0};
Hga=function(a,b){var c=Gga();c&&c.publish.call(c,a.toString(),a,b)};
_.Jga=function(a,b,c){var d=Gga();if(!d)return 0;var e=d.subscribe(a.toString(),function(h,l){var m=_.ld("ytPubsub2Pubsub2SkipSubKey");m&&m==e||(m=function(){if(He[e])try{if(l&&a instanceof Ie&&a!=h)try{var p=a.dataClass,r=l;if(!r.args||!r.version)throw Error("Db");try{if(!p.version_){var v=new p;p.version_=v.version}var z=p.version_}catch(A){}if(!z||r.version!=z)throw Error("Eb");try{l=Reflect.construct(p,_.ka(r.args))}catch(A){throw A.message="yt.pubsub2.Data.deserialize(): "+A.message,A;}}catch(A){throw A.message=
"yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+A.message,A;}b.call(c||window,l)}catch(A){_.jd(A)}},Iga[a.toString()]?_.ld("yt.scheduler.instance")?_.xe.addLowPriorityJob(m):_.Bd(m,0):m())});
He[e]=!0;Je[a.toString()]||(Je[a.toString()]=[]);Je[a.toString()].push(e);return e};
Nga=function(){var a=Kga,b=_.Jga(Lga,function(c){a.apply(void 0,arguments);Mga(b)});
return b};
Mga=function(a){var b=Gga();b&&("number"===typeof a&&(a=[a]),_.pd(a,function(c){b.unsubscribeByKey(c);delete He[c]}))};
Gga=function(){return _.ld("ytPubsub2Pubsub2Instance")};
_.Ke=function(a,b){return Oga(a,b)};
Pga=function(){if(Le)return Le();var a={};Le=_.Ke("LogsDatabaseV2",{objectStores:(a.LogsRequestsStore={addedAtVersion:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&_.Me(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.JSC$33648_wrapped.indexNames.contains("newRequest")&&d.JSC$33648_wrapped.deleteIndex("newRequest"),Ne(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&b.JSC$33634_wrapped.objectStoreNames.contains("sapisid")&&b.JSC$33634_wrapped.deleteObjectStore("sapisid");
c(9)&&b.JSC$33634_wrapped.objectStoreNames.contains("SWHealthLog")&&b.JSC$33634_wrapped.deleteObjectStore("SWHealthLog")},
version:9});return Le()};
Oe=function(a){return _.ye(Pga(),a)};
Rga=function(a,b){var c,d,e,h;return _.y(function(l){if(1==l.nextAddress)return c={startTime:(0,_.Yd)(),transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},_.B(l,Oe(b),2);if(3!=l.nextAddress)return d=l.yieldResult,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:_.w("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),_.B(l,d.put("LogsRequestsStore",e),3);h=l.yieldResult;c.transactionCompleteTime=(0,_.Yd)();Qga(c);return l.return(h)})};
_.Sga=function(a,b){var c,d,e,h,l,m,p;return _.y(function(r){if(1==r.nextAddress)return c={startTime:(0,_.Yd)(),transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},_.B(r,Oe(b),2);if(3!=r.nextAddress)return d=r.yieldResult,e=_.w("INNERTUBE_CONTEXT_CLIENT_NAME",0),h=[a,e,0],l=[a,e,(0,_.Yd)()],m=IDBKeyRange.bound(h,l),p=void 0,_.B(r,_.ze(d,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(v){return _.Pe(v.objectStore("LogsRequestsStore").index("newRequestV2"),{query:m,direction:"prev"},
function(z){z.getValue()&&(p=z.getValue(),"NEW"===a&&(p.status="QUEUED",z.update(p)))})}),3);
c.transactionCompleteTime=(0,_.Yd)();Qga(c);return r.return(p)})};
Tga=function(a,b){var c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,Oe(b),2);c=d.yieldResult;return d.return(_.ze(c,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(e){var h=e.objectStore("LogsRequestsStore");return h.get(a).then(function(l){if(l)return l.status="QUEUED",h.put(l).then(function(){return l})})}))})};
_.Qe=function(a,b,c){c=void 0===c?!0:c;var d;return _.y(function(e){if(1==e.nextAddress)return _.B(e,Oe(b),2);d=e.yieldResult;return e.return(_.ze(d,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(h){var l=h.objectStore("LogsRequestsStore");return l.get(a).then(function(m){return m?(m.status="NEW",c&&(m.sendCount+=1),l.put(m).then(function(){return m})):me.resolve(void 0)})}))})};
Re=function(a,b){var c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,Oe(b),2);c=d.yieldResult;return d.return(c.delete("LogsRequestsStore",a))})};
_.Uga=function(a){var b,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,Oe(a),2);b=d.yieldResult;c=(0,_.Yd)()-2592E6;return _.B(d,_.ze(b,["LogsRequestsStore"],{mode:"readwrite",enableRetries:!0},function(e){return Be(e.objectStore("LogsRequestsStore"),{},function(h){if(h.getValue().timestamp<=c)return h.delete().then(function(){return h.continue()})})}),0)})};
_.Vga=function(){return _.y(function(a){return _.B(a,Dga(),0)})};
Qga=function(a){_.x("nwl_csi_killswitch")||.01>=Math.random()&&Hga("nwl_transaction_latency_payload",a)};
_.Xga=function(a){return _.ye(Wga(),a)};
_.Yga=function(a){var b,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,_.Xga(a),2);b=d.yieldResult;c=(0,_.Yd)()-2592E6;return _.B(d,_.ze(b,["SWHealthLog"],{mode:"readwrite",enableRetries:!0},function(e){return Be(e.objectStore("SWHealthLog"),{},function(h){if(h.getValue().timestamp<=c)return h.delete().then(function(){return h.continue()})})}),0)})};
_.Zga=function(a){var b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,_.Xga(a),2);b=c.yieldResult;return _.B(c,b.clear("SWHealthLog"),0)})};
_.Te=function(a){var b=void 0===b?"":b;if(a)if(b)wfa(a,void 0,"POST",b);else if(_.w("USE_NET_AJAX_FOR_PING_TRANSPORT",!1))wfa(a,void 0,"GET","");else{b:{try{var c=new $ga({url:a});if(c.isSonicV2OrV3_&&c.adurl_||c.isSonicV4_){var d=_.Ed(a);var e=!(!d||!d.endsWith("/aclk")||"1"!==_.Se(a,"ri"));break b}}catch(l){}e=!1}if(e){b:{try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")){var h=!0;break b}}catch(l){}h=!1}b=h?!0:!1}else b=!1;b||aha(a)}};
aha=function(a){var b=new Image,c=""+bha++;cha[c]=b;b.onload=b.onerror=function(){delete cha[c]};
b.src=a};
Ue=function(){dha||(dha=new _.Wd("yt.offline"));return dha};
eha=function(a){if(_.x("offline_error_handling")){var b=Ue().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);Ue().set("errors",b,2592E3,!0)}};
fha=function(){if(_.x("offline_error_handling")){var a=Ue().get("errors",!0);if(a){for(var b in a)if(a[b]){var c=new _.ge(b,"sent via offline_errors");c.name=a[b].name;c.stack=a[b].stack;c.level=a[b].level;_.jd(c)}Ue().set("errors",{},2592E3,!0)}}};
hha=function(a,b,c){_.x("use_cfr_monitor")&&gha(a,b);var d;if(null==(d=b.postParams)?0:d.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,_.Yd)());c&&0===Object.keys(b).length?_.Te(a):_.Gd(a,b)};
jha=function(){iha||(iha=new _.Ve({logOfflineErrors:!0,enablePolling:!0}));return iha};
gha=function(a,b){var c=b.onError?b.onError:function(){};
b.onError=function(e,h){We().requestComplete(a,!1);c(e,h)};
var d=b.onSuccess?b.onSuccess:function(){};
b.onSuccess=function(e,h){We().requestComplete(a,!0);d(e,h)}};
_.kha=function(){return _.x("embeds_web_nwl_disable_nocookie")?"www.youtube-nocookie.com"!==_.xd(document.location.toString()):!0};
mha=function(a,b){b=void 0===b?{}:b;var c=function(d){var e=_.Xe().isNetworkAvailable();if(!_.Ye()||!d||e&&_.x("vss_networkless_bypass_write"))Ze(a,b);else{var h={url:a,options:b,timestamp:(0,_.Yd)(),status:"NEW",sendCount:0};Rga(h,d).then(function(l){h.id=l;_.Xe().isNetworkAvailable()&&lha(h)}).catch(function(l){lha(h);
_.Xe().isNetworkAvailable()?_.jd(l):eha(l)})}};
_.x("skip_is_supported_killswitch")?_.Ge().then(function(d){c(d)}):c(_.Ee())};
nha=function(a,b){b=void 0===b?{}:b;var c=function(d){if(_.Ye()&&d){var e={url:a,options:b,timestamp:(0,_.Yd)(),status:"NEW",sendCount:0},h=!1,l=b.onSuccess?b.onSuccess:function(){};
e.options.onSuccess=function(p,r){_.x("use_cfr_monitor")&&We().requestComplete(e.url,!0);void 0!==e.id?Re(e.id,d):h=!0;_.x("vss_network_hint")&&_.Xe().networkStatusHint(!0);l(p,r)};
if(_.x("use_cfr_monitor")){var m=b.onError?b.onError:function(){};
e.options.onError=function(p,r){We().requestComplete(e.url,!1);m(p,r)}}Ze(e.url,e.options);
Rga(e,d).then(function(p){e.id=p;h&&Re(e.id,d)}).catch(function(p){_.Xe().isNetworkAvailable()?_.jd(p):eha(p)})}else Ze(a,b)};
_.x("skip_is_supported_killswitch")?_.Ge().then(function(d){c(d)}):c(_.Ee())};
_.af=function(){var a=_.Ee();if(!a)throw _.le("throttleSend");$e||($e=_.xe.addLowPriorityJob(function(){var b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,_.Sga("NEW",a),2);if(3!=c.nextAddress)return b=c.yieldResult,b?_.B(c,lha(b),3):(_.oha(),c.return());$e&&($e=0,_.af());_.bf(c)})},100))};
_.oha=function(){_.xe.cancelJob($e);$e=0};
lha=function(a){var b,c,d;return _.y(function(e){switch(e.nextAddress){case 1:b=_.Ee();if(!b)throw c=_.le("immediateSend"),c;if(void 0===a.id){e.jumpTo(2);break}return _.B(e,Tga(a.id,b),3);case 3:(d=e.yieldResult)?a=d:_.md(Error("Bb"));case 2:if(_.pha(a,2592E6)){e.jumpTo(4);break}_.md(Error("Cb"));if(void 0===a.id){e.jumpTo(5);break}return _.B(e,Re(a.id,b),5);case 5:return e.return();case 4:a.skipRetry||(a=qha(a));var h=a,l,m;if(null==h?0:null==(l=h.options)?0:null==(m=l.postParams)?0:m.requestTimeMs)h.options.postParams.requestTimeMs=
Math.round((0,_.Yd)());a=h;if(!a){e.jumpTo(0);break}if(!a.skipRetry||void 0===a.id){e.jumpTo(8);break}return _.B(e,Re(a.id,b),8);case 8:Ze(a.url,a.options,!!a.skipRetry),_.bf(e)}})};
qha=function(a){var b=_.Ee();if(!b)throw _.le("updateRequestHandlers");var c=a.options.onError?a.options.onError:function(){};
a.options.onError=function(e,h){var l,m,p;return _.y(function(r){switch(r.nextAddress){case 1:_.x("use_cfr_monitor")&&We().requestComplete(a.url,!1);l=Fga(h);if(!(_.x("nwl_consider_error_code")&&l||!_.x("nwl_consider_error_code")&&rha()<=_.hd("potential_esf_error_limit",10))){r.jumpTo(2);break}if(_.x("skip_checking_network_on_cfr_failure")&&(!_.x("skip_checking_network_on_cfr_failure")||We().isEndpointCFR(a.url))){r.jumpTo(3);break}return _.B(r,_.Xe().sendNetworkCheckRequest(),3);case 3:if(_.Xe().isNetworkAvailable()){r.jumpTo(2);
break}c(e,h);if(!_.x("nwl_consider_error_code")||void 0===(null==(m=a)?void 0:m.id)){r.jumpTo(6);break}return _.B(r,_.Qe(a.id,b,!1),6);case 6:return r.return();case 2:if(_.x("nwl_consider_error_code")&&!l&&rha()>_.hd("potential_esf_error_limit",10))return r.return();_.ld("ytNetworklessLoggingInitializationOptions")&&_.cf.potentialEsfErrorCounter++;sha++;if(void 0===(null==(p=a)?void 0:p.id)){r.jumpTo(8);break}return 1>a.sendCount?_.B(r,_.Qe(a.id,b),12):_.B(r,Re(a.id,b),8);case 12:_.xe.addLowPriorityJob(function(){_.Xe().isNetworkAvailable()&&
_.af()},5E3);
case 8:c(e,h),_.bf(r)}})};
var d=a.options.onSuccess?a.options.onSuccess:function(){};
a.options.onSuccess=function(e,h){var l;return _.y(function(m){if(1==m.nextAddress)return _.x("use_cfr_monitor")&&We().requestComplete(a.url,!0),void 0===(null==(l=a)?void 0:l.id)?m.jumpTo(2):_.B(m,Re(a.id,b),2);_.x("vss_network_hint")&&_.Xe().networkStatusHint(!0);d(e,h);_.bf(m)})};
return a};
_.pha=function(a,b){a=a.timestamp;return(0,_.Yd)()-a>=b?!1:!0};
_.Xe=function(){if(_.x("use_new_nwl"))return jha();tha||(tha=new _.Ve({logOfflineErrors:!0,enablePolling:!0}));return tha};
Ze=function(a,b,c){c&&0===Object.keys(b).length?_.Te(a):_.Gd(a,b)};
_.Ye=function(){return _.ld("ytNetworklessLoggingInitializationOptions")?_.cf.isNwlInitialized:_.df};
rha=function(){return _.ld("ytNetworklessLoggingInitializationOptions")?_.cf.potentialEsfErrorCounter:sha};
uha=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return _.u.findKey(ef,function(e){var h="boolean"===typeof e[4]&&e[4]==!!d,l=_.pa(e[4])&&_.pa(d)&&_.u.equals(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(h||l)})};
_.jf=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=uha(a,b,c,d);if(e)return e;e=++vha.count+"";var h=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var l=h?function(m){m=new ff(m);if(!_.hf(m.relatedTarget,function(p){return p==a},!0))return m.currentTarget=a,m.type=b,c.call(a,m)}:function(m){m=new ff(m);
m.currentTarget=a;return c.call(a,m)};
l=_.kd(l);a.addEventListener?("mouseenter"==b&&h?b="mouseover":"mouseleave"==b&&h?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),wha()||"boolean"===typeof d?a.addEventListener(b,l,d):a.addEventListener(b,l,!!d.capture)):a.attachEvent("on"+b,l);ef[e]=[a,b,c,l,d];return e};
_.kf=function(a){a&&("string"==typeof a&&(a=[a]),_.pd(a,function(b){if(b in ef){var c=ef[b],d=c[0],e=c[1],h=c[3];c=c[4];d.removeEventListener?wha()||"boolean"===typeof c?d.removeEventListener(e,h,c):d.removeEventListener(e,h,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,h);delete ef[b]}}))};
_.xha=function(){var a={},b=void 0===a.preferMobileEvents?!1:a.preferMobileEvents;a=void 0===a.enableScrollEventListener?!0:a.enableScrollEventListener;if(null==_.ld("_lact",window)){var c=parseInt(_.w("LACT"),10);c=isFinite(c)?Date.now()-Math.max(c,0):-1;_.Fe("_lact",c,window);_.Fe("_fact",c,window);-1==c&&_.lf();_.jf(document,"keydown",_.lf);_.jf(document,"keyup",_.lf);_.jf(document,"mousedown",_.lf);_.jf(document,"mouseup",_.lf);b?_.jf(window,"touchmove",function(){mf("touchmove",200)},{passive:!0}):
(_.jf(window,"resize",function(){mf("resize",200)}),a&&_.jf(window,"scroll",function(){mf("scroll",200)}));
new nf(function(){mf("mouse",100)});
_.jf(document,"touchstart",_.lf,{passive:!0});_.jf(document,"touchend",_.lf,{passive:!0})}};
mf=function(a,b){yha[a]||(yha[a]=!0,_.xe.addLowPriorityJob(function(){_.lf();yha[a]=!1},b))};
_.lf=function(){null==_.ld("_lact",window)&&_.xha();var a=Date.now();_.Fe("_lact",a,window);-1==_.ld("_fact",window)&&_.Fe("_fact",a,window);(a=_.ld("ytglobal.ytUtilActivityCallback_"))&&a()};
_.of=function(){var a=_.ld("_lact",window);return null==a?-1:Math.max(Date.now()-a,0)};
Aha=function(a,b){if("log_event"===a.endpoint){var c=pf(a),d=qf.get(c)||[];qf.set(c,d);d.push(a.payload);zha(b,d,c)}};
Bha=function(a,b){if("log_event"===a.endpoint){var c=pf(a,!0),d=rf.get(c)||[];rf.set(c,d);a=a.payload.toJSON();d.push(a);zha(b,d,c,!0)}};
zha=function(a,b,c,d){d=void 0===d?!1:d;a&&(sf=new a);a=_.hd("tvhtml5_logging_max_batch")||_.hd("web_logging_max_batch")||100;var e=(0,_.Yd)(),h=d?tf.lastDebounceQueueFromLogTimeMs:uf.lastDebounceQueueFromLogTimeMs;b.length>=a?vf({writeThenSend:!0},_.x("flush_only_full_queue")?c:void 0,d):10<=e-h&&(Cha(d),d?tf.lastDebounceQueueFromLogTimeMs=e:uf.lastDebounceQueueFromLogTimeMs=e)};
Eha=function(a,b){if("log_event"===a.endpoint){var c=pf(a),d=new Map;d.set(c,[a.payload]);b&&(sf=new b);return new _.wf(function(e){sf&&sf.isReady()?Dha(d,e,{bypassNetworkless:!0},!0):e()})}};
Gha=function(a,b){if("log_event"===a.endpoint){var c=pf(a,!0),d=new Map;d.set(c,[a.payload.toJSON()]);b&&(sf=new b);return new _.wf(function(e){sf&&sf.isReady()?Fha(d,e,{bypassNetworkless:!0},!0):e()})}};
pf=function(a,b){var c="";if(a.dangerousLogToVisitorSession)c="visitorOnlyApprovedKey";else if(a.cttAuthInfo){if(void 0===b?0:b){b=a.cttAuthInfo.token;c=a.cttAuthInfo;var d=new xf;c.videoId?d.setVideoId(c.videoId):c.playlistId&&_.yf(d,2,zf,c.playlistId);Af[b]=d}else b=a.cttAuthInfo,c={},b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId),Bf[a.cttAuthInfo.token]=c;c=a.cttAuthInfo.token}return c};
vf=function(a,b,c){a=void 0===a?{}:a;c=void 0===c?!1:c;new _.wf(function(d){c?(_.Dd(tf.queueTimer),_.Dd(tf.queueMaxTimer),tf.queueMaxTimer=0):(_.Dd(uf.queueTimer),_.Dd(uf.queueMaxTimer),uf.queueMaxTimer=0);if(sf&&sf.isReady())if(void 0!==b)if(c){var e=new Map,h=rf.get(b)||[];e.set(b,h);Fha(e,d,a);rf.delete(b)}else e=new Map,h=qf.get(b)||[],e.set(b,h),Dha(e,d,a),qf.delete(b);else c?(Fha(rf,d,a),rf.clear()):(Dha(qf,d,a),qf.clear());else Cha(c),d()})};
Cha=function(a){a=void 0===a?!1:a;if(_.x("web_gel_timeout_cap")&&(!a&&!uf.queueMaxTimer||a&&!tf.queueMaxTimer)){var b=_.Bd(function(){vf({writeThenSend:!0},void 0,a)},6E4);
a?tf.queueMaxTimer=b:uf.queueMaxTimer=b}_.Dd(a?tf.queueTimer:uf.queueTimer);b=_.w("LOGGING_BATCH_TIMEOUT",_.hd("web_gel_debounce_ms",1E4));_.x("shorten_initial_gel_batch_timeout")&&Hha&&(b=Iha);b=_.Bd(function(){vf({writeThenSend:!0},void 0,a)},b);
a?tf.queueTimer=b:uf.queueTimer=b};
Dha=function(a,b,c,d){var e=sf;c=void 0===c?{}:c;var h=Math.round((0,_.Yd)()),l=a.size;a=_.k(a);for(var m=a.next();!m.done;m=a.next()){var p=_.k(m.value);m=p.next().value;var r=p=p.next().value;p=_.u.unsafeClone({context:_.Ofa(e.config_||_.Nd())});p.events=r;(r=Bf[m])&&Jha(p,m,r);delete Bf[m];m="visitorOnlyApprovedKey"===m;Kha(p,h,m);Lha(c);aga(e,"log_event",p,Mha(c,m,function(){l--;l||b()},function(){l--;
l||b()},d));
Hha=!1}};
Fha=function(a,b,c,d){var e=sf;c=void 0===c?{}:c;var h=Math.round((0,_.Yd)()),l=a.size;a=_.k(a);for(var m=a.next();!m.done;m=a.next()){var p=_.k(m.value);m=p.next().value;var r=p=p.next().value;p=new Cf;var v=Qfa(e.config_||_.Nd());_.eb(p,1,v);r=Nha(r);for(v=0;v<r.length;v++)_.Sd(p,3,_.Df,r[v]);(r=Af[m])&&Oha(p,m,r);delete Af[m];m="visitorOnlyApprovedKey"===m;Pha(p,h,m);Lha(c);p=p.serialize();m=Mha(c,m,function(){l--;l||b()},function(){l--;
l||b()},d);
m.headers={"Content-Type":"application/json+protobuf"};m.postBodyFormat="JSPB";m.postBody=p;aga(e,"log_event","",m);Hha=!1}};
Lha=function(a){_.x("always_send_and_write")&&(a.writeThenSend=!1)};
Mha=function(a,b,c,d,e){return{retry:!0,onSuccess:c,onError:d,networklessOptions:a,dangerousLogToVisitorSession:b,bypassMonitoring:!!e,headers:{},postBodyFormat:"",postBody:""}};
Kha=function(a,b,c){a.requestTimeMs=String(b);_.x("unsplit_gel_payloads_in_logs")&&(a.unsplitGelPayloadsInLogs=!0);!c&&(b=_.w("EVENT_ID"))&&(c=Qha(),a.serializedClientEventId={serializedEventId:b,clientCounter:String(c)})};
Pha=function(a,b,c){_.n(a,2,b);if(!c&&(b=_.w("EVENT_ID"))){c=Qha();var d=new Rha;_.n(d,1,b);_.n(d,2,c);_.eb(a,5,d)}};
Qha=function(){var a=_.w("BATCH_CLIENT_COUNTER")||0;a||(a=Math.floor(Math.random()*Sha/2));a++;a>Sha&&(a=1);_.ed("BATCH_CLIENT_COUNTER",a);return a};
Jha=function(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]};
Oha=function(a,b,c){if(_.Ef(c,1,zf))var d=1;else if(c.getPlaylistId())d=2;else return;_.eb(a,4,c);a=a.getContext()||new Od;c=_.Va(a,Td,3)||new Td;var e=new Ff;e.setToken(b);_.n(e,1,d);_.Sd(c,12,Ff,e);_.eb(a,3,c)};
Nha=function(a){for(var b=[],c=0;c<a.length;c++)try{b.push(new _.Df(a[c]))}catch(d){_.jd(new _.ge("Transport failed to deserialize "+String(a[c])))}return b};
_.Hf=function(a,b,c,d){d=void 0===d?{}:d;if(_.x("lr_drop_other_and_business_payloads")){if(Tha[a]||Uha[a])return}else if(_.x("lr_drop_other_payloads")&&Tha[a])return;var e={},h=Math.round(d.timestamp||(0,_.Yd)());e.eventTimeMs=h<Number.MAX_SAFE_INTEGER?h:0;e[a]=b;a=_.of();e.context={lastActivityMs:String(d.timestamp||!isFinite(a)?-1:a)};_.x("log_sequence_info_on_gel_web")&&d.sequenceGroup&&(a=e.context,b=d.sequenceGroup,b={index:Vha(b),groupKey:b},a.sequence=b,d.endOfSequence&&delete Gf[d.sequenceGroup]);
(d.sendIsolatedPayload?Eha:Aha)({endpoint:"log_event",payload:e,cttAuthInfo:d.cttAuthInfo,dangerousLogToVisitorSession:d.dangerousLogToVisitorSession},c)};
_.If=function(a){vf(void 0,void 0,void 0===a?!1:a)};
Vha=function(a){Gf[a]=a in Gf?Gf[a]+1:0;return Gf[a]};
_.Kf=function(a,b,c){c=void 0===c?{}:c;var d=_.Jf;_.fd("ytLoggingEventsDefaultDisabled",!1)&&_.Jf==_.Jf&&(d=null);_.Hf(a,b,d,c)};
Wha=function(a){if("JavaException"===a.name)return!0;a=a.stack;return a.includes("chrome://")||a.includes("chrome-extension://")||a.includes("moz-extension://")};
_.Xha=function(a){return atob(a.replace(/-/g,"+").replace(/_/g,"/"))};
_.Zha=function(a,b){var c=a.length,d=0,e=function(){return a.charCodeAt(d++)};
do{var h=Yha(e);if(Infinity===h)break;var l=h>>3;switch(h&7){case 0:h=Yha(e);if(l===b)return h;break;case 1:if(l===b)return;d+=8;break;case 2:h=Yha(e);if(l===b)return a.substr(d,h);d+=h;break;case 5:if(l===b)return;d+=4;break;default:return}}while(d<c)};
Yha=function(a){var b=a(),c=b&127;if(128>b)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity};
aia=function(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;d<a.length&&!(a[d]&&(e+=$ha(d,a[d],b,c),500<e));d++);d=e}else if("object"===typeof a)for(e in a){if(a[e]){var h=a[e];var l=b;var m=c;l="string"!==typeof h||"clickTrackingParams"!==e&&"trackingParams"!==e?0:(h=_.Zha(_.Xha(h),2))?$ha(e+".ve",h,l,m):0;d+=l;d+=$ha(e,a[e],b,c);if(500<d)break}}else c[b]=Lf(a),d+=c[b].length;else c[b]=Lf(a),d+=c[b].length;return d};
$ha=function(a,b,c,d){c+="."+a;a=Lf(b);d[c]=a;return c.length+a.length};
Lf=function(a){try{return("string"===typeof a?a:String(JSON.stringify(a))).substr(0,500)}catch(b){return"unable to serialize "+typeof a+" ("+b.message+")"}};
_.Mf=function(a,b,c){c=void 0===c?{}:c;var d=Math.round(c.timestamp||(0,_.Yd)());_.n(a,1,d<Number.MAX_SAFE_INTEGER?d:0);var e=_.of();d=new bia;_.n(d,1,c.timestamp||!isFinite(e)?-1:e);if(_.x("log_sequence_info_on_gel_web")&&c.sequenceGroup){e=c.sequenceGroup;var h=Vha(e),l=new cia;_.n(l,2,h);_.n(l,1,e);_.eb(d,3,l);c.endOfSequence&&delete dia[c.sequenceGroup]}_.eb(a,33,d);(c.sendIsolatedPayload?Gha:Bha)({endpoint:"log_event",payload:a,cttAuthInfo:c.cttAuthInfo,dangerousLogToVisitorSession:c.dangerousLogToVisitorSession},
b)};
_.Nf=function(a,b){b=void 0===b?{}:b;var c=!1;_.fd("ytLoggingEventsDefaultDisabled",!1)&&_.Jf===_.Jf&&(c=!0);_.Mf(a,c?null:_.Jf,b)};
_.eia=function(a,b,c){var d=new _.Df;_.Of(d,72,_.Pf,a);c?_.Mf(d,c,b):_.Nf(d,b)};
_.fia=function(a,b,c){var d=new _.Df;_.Of(d,73,_.Pf,a);c?_.Mf(d,c,b):_.Nf(d,b)};
gia=function(a,b,c){var d=new _.Df;_.Of(d,78,_.Pf,a);c?_.Mf(d,c,b):_.Nf(d,b)};
hia=function(a,b,c){var d=new _.Df;_.Of(d,208,_.Pf,a);c?_.Mf(d,c,b):_.Nf(d,b)};
iia=function(a,b,c){var d=new _.Df;_.Of(d,156,_.Pf,a);c?_.Mf(d,c,b):_.Nf(d,b)};
jia=function(a,b,c){var d=new _.Df;_.Of(d,215,_.Pf,a);c?_.Mf(d,c,b):_.Nf(d,b)};
kia=function(a,b,c){var d=new _.Df;_.Of(d,111,_.Pf,a);c?_.Mf(d,c,b):_.Nf(d,b)};
lia=function(){_.pd(_.w("ERRORS")||[],function(a){_.Qf.apply(null,a)});
_.ed("ERRORS",[])};
_.Rf=function(a){_.Qf(a,"WARNING")};
mia=function(a){a instanceof Error?_.Qf(a):(a=_.pa(a)?JSON.stringify(a):String(a),a=new _.ge(a),a.name="RejectedPromiseError",_.Rf(a))};
nia=function(a,b,c,d,e,h){b=void 0===b?"Unknown file":b;c=void 0===c?0:c;var l=!1,m=$ea("log_window_onerror_fraction");if(m&&Math.random()<m)l=!0;else{m=document.getElementsByTagName("script");for(var p=0,r=m.length;p<r;p++)if(0<m[p].src.indexOf("/debug-")){l=!0;break}}l&&(l=!1,e?l=!0:("string"===typeof a?m=a:ErrorEvent&&a instanceof ErrorEvent?(l=!0,m=a.message,b=a.filename,c=a.lineno,d=a.colno):(m="Unknown error",b="Unknown file",c=0),e=new _.ge(m),e.name="UnhandledWindowError",e.message=m,e.fileName=
b,e.lineNumber=c,isNaN(d)?delete e.columnNumber:e.columnNumber=d),h&&_.Sf(e,h),l?_.Qf(e):_.Rf(e))};
_.Qf=function(a,b,c,d,e,h){h=void 0===h?{}:h;h.name=c||_.w("INNERTUBE_CONTEXT_CLIENT_NAME",1);h.version=d||_.w("INNERTUBE_CONTEXT_CLIENT_VERSION");var l=h||{},m=void 0===b?"ERROR":b;m=void 0===m?"ERROR":m;if(a){a.hasOwnProperty("level")&&a.level&&(m=a.level);if(_.x("console_log_js_exceptions")){var p=[];p.push("Name: "+a.name);p.push("Message: "+a.message);a.hasOwnProperty("params")&&p.push("Error Params: "+JSON.stringify(a.params));a.hasOwnProperty("args")&&p.push("Error args: "+JSON.stringify(a.args));
p.push("File name: "+a.fileName);p.push("Stacktrace: "+a.stack);var r=p.join("\n");window.console.log(r,a)}if(!(5<=oia)){var v=_.pia,z=qia(a),A=z.message||"Unknown Error",D=z.name||"UnknownError",E=z.stack||a.stacktrace||"Not available";if(E.startsWith(D+": "+A)){var J=E.split("\n");J.shift();E=J.join("\n")}var R=z.lineNumber||"Not available",da=z.fileName||"Not available",sa=E,Ca=0;if(a.hasOwnProperty("args")&&a.args&&a.args.length)for(var ea=0;ea<a.args.length&&!(Ca=aia(a.args[ea],"params."+ea,
l,Ca),500<=Ca);ea++);else if(a.hasOwnProperty("params")&&a.params){var na=a.params;if("object"===typeof a.params)for(var ma in na){if(na[ma]){var Aa="params."+ma,$a=Lf(na[ma]);l[Aa]=$a;Ca+=Aa.length+$a.length;if(500<Ca)break}}else l.params=Lf(na)}if(v.length)for(var gf=0;gf<v.length&&!(Ca=aia(v[gf],"params.context."+gf,l,Ca),500<=Ca);gf++);navigator.vendor&&!l.hasOwnProperty("vendor")&&(l["device.vendor"]=navigator.vendor);var Ya={message:A,name:D,lineNumber:R,fileName:da,stack:sa,params:l,sampleWeight:1},
po=Number(a.columnNumber);isNaN(po)||(Ya.lineNumber=Ya.lineNumber+":"+po);if("IGNORED"===a.level)var Mb=0;else a:{for(var Uh=ria(),jh=_.k(Uh.messageWeights),bq=jh.next();!bq.done;bq=jh.next()){var jA=bq.value;if(Ya.message&&Ya.message.match(jA.messageRegExp)){Mb=jA.weight;break a}}for(var pV=_.k(Uh.callbackWeights),pk=pV.next();!pk.done;pk=pV.next()){var pH=pk.value;if(pH.callback(Ya)){Mb=pH.weight;break a}}Mb=1}Ya.sampleWeight=Mb;for(var Fv=_.k(sia),Ji=Fv.next();!Ji.done;Ji=Fv.next()){var ss=Ji.value;
if(ss.patternsForType[Ya.name])for(var kA=_.k(ss.patternsForType[Ya.name]),Gv=kA.next();!Gv.done;Gv=kA.next()){var lA=Gv.value,ts=Ya.message.match(lA.regexp);if(ts){Ya.params["params.error.original"]=ts[0];for(var us=lA.groups,cq={},qo=0;qo<us.length;qo++)cq[us[qo]]=ts[qo+1],Ya.params["params.error."+us[qo]]=ts[qo+1];Ya.message=ss.messageFn(cq);break}}}Ya.params||(Ya.params={});var qH=ria();Ya.params["params.errorServiceSignature"]="msg="+qH.messageWeights.length+"&cb="+qH.callbackWeights.length;
Ya.params["params.serviceWorker"]="false";_.g.document&&_.g.document.querySelectorAll&&(Ya.params["params.fscripts"]=String(document.querySelectorAll("script:not([nonce])").length));_.jb("sample").constructor!==_.Tf&&(Ya.params["params.fconst"]="true");window.yterr&&"function"===typeof window.yterr&&window.yterr(Ya);if(0!==Ya.sampleWeight&&!tia.has(Ya.message)){if("ERROR"===m){uia.JSC$32713_publish("handleError",Ya);if(_.x("record_app_crashed_web")&&0===via&&1===Ya.sampleWeight)if(via++,_.x("errors_via_jspb")){var rH=
new wia;_.n(rH,1,1);if(!_.x("report_client_error_with_app_crash_ks")){var sH=new Uf;_.n(sH,1,Ya.message);var rV=new xia;_.eb(rV,3,sH);var dq=new yia;_.eb(dq,5,rV);var vs=new zia;_.eb(vs,9,dq);_.eb(rH,4,vs)}var mA=new _.Df;_.Of(mA,20,_.Pf,rH);_.Nf(mA)}else{var sV={appCrashType:"APP_CRASH_TYPE_BREAKPAD"};_.x("report_client_error_with_app_crash_ks")||(sV.systemHealth={crashData:{clientError:{logMessage:{message:Ya.message}}}});_.Kf("appCrashed",sV)}Aia++}else"WARNING"===m&&uia.JSC$32713_publish("handleWarning",
Ya);if(_.x("kevlar_gel_error_routing"))a:{var Hv=m;if(_.x("errors_via_jspb")){if(Bia())var tH=void 0;else{var ws=new Cia;_.n(ws,1,Ya.stack);Ya.fileName&&_.n(ws,4,Ya.fileName);var Ym=Ya.lineNumber&&Ya.lineNumber.split?Ya.lineNumber.split(":"):[];0!==Ym.length&&(1!==Ym.length||isNaN(Number(Ym[0]))?2!==Ym.length||isNaN(Number(Ym[0]))||isNaN(Number(Ym[1]))||(_.n(ws,2,Number(Ym[0])),_.n(ws,3,Number(Ym[1]))):_.n(ws,2,Number(Ym[0])));var ro=new Uf;_.n(ro,1,Ya.message);_.n(ro,3,Ya.name);_.n(ro,6,Ya.sampleWeight);
"ERROR"===Hv?_.n(ro,2,2):"WARNING"===Hv?_.n(ro,2,1):_.n(ro,2,0);var xs=new Dia;_.n(xs,1,!0);_.Of(xs,3,Eia,ws);var eq=new Fia;_.n(eq,3,window.location.href);for(var tV=_.w("FEXP_EXPERIMENTS",[]),uH=0;uH<tV.length;uH++)_.Ra(eq,5,tV[uH]);var nA=_.w("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS");if(!$ea("web_disable_gel_stp_ecatcher_killswitch")&&nA)for(var vH=_.k(Object.keys(nA)),fq=vH.next();!fq.done;fq=vH.next()){var wH=fq.value,oA=new Vf;oA.setKey(wH);oA.setValue(String(nA[wH]));_.Sd(eq,4,Vf,oA)}var M=
Ya.params;if(M){var W=_.k(Object.keys(M));for(fq=W.next();!fq.done;fq=W.next()){var ca=fq.value,ra=new Vf;ra.setKey("client."+ca);ra.setValue(String(M[ca]));_.Sd(eq,4,Vf,ra)}}var La=_.w("SERVER_NAME"),vb=_.w("SERVER_VERSION");if(La&&vb){var $b=new Vf;$b.setKey("server.name");$b.setValue(La);_.Sd(eq,4,Vf,$b);var qe=new Vf;qe.setKey("server.version");qe.setValue(vb);_.Sd(eq,4,Vf,qe)}var sj=new xia;_.eb(sj,1,eq);_.eb(sj,2,xs);_.eb(sj,3,ro);tH=sj}var uV=tH;if(!uV)break a;var H2a=new _.Df;_.Of(H2a,163,
_.Pf,uV);_.Nf(H2a)}else{if(Bia())var I2a=void 0;else{var xH={stackTrace:Ya.stack};Ya.fileName&&(xH.filename=Ya.fileName);var gq=Ya.lineNumber&&Ya.lineNumber.split?Ya.lineNumber.split(":"):[];0!==gq.length&&(1!==gq.length||isNaN(Number(gq[0]))?2!==gq.length||isNaN(Number(gq[0]))||isNaN(Number(gq[1]))||(xH.lineNumber=Number(gq[0]),xH.columnNumber=Number(gq[1])):xH.lineNumber=Number(gq[0]));var Dca={level:"ERROR_LEVEL_UNKNOWN",message:Ya.message,errorClassName:Ya.name,sampleWeight:Ya.sampleWeight};"ERROR"===
Hv?Dca.level="ERROR_LEVEL_ERROR":"WARNING"===Hv&&(Dca.level="ERROR_LEVEL_WARNNING");var Iwb={isObfuscated:!0,browserStackInfo:xH},pA={pageUrl:window.location.href,kvPairs:[]};_.w("FEXP_EXPERIMENTS")&&(pA.experimentIds=_.w("FEXP_EXPERIMENTS"));var Eca=_.w("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS");if(!$ea("web_disable_gel_stp_ecatcher_killswitch")&&Eca)for(var J2a=_.k(Object.keys(Eca)),Iv=J2a.next();!Iv.done;Iv=J2a.next()){var K2a=Iv.value;pA.kvPairs.push({key:K2a,value:String(Eca[K2a])})}var Fca=
Ya.params;if(Fca){var L2a=_.k(Object.keys(Fca));for(Iv=L2a.next();!Iv.done;Iv=L2a.next()){var M2a=Iv.value;pA.kvPairs.push({key:"client."+M2a,value:String(Fca[M2a])})}}var N2a=_.w("SERVER_NAME"),O2a=_.w("SERVER_VERSION");N2a&&O2a&&(pA.kvPairs.push({key:"server.name",value:N2a}),pA.kvPairs.push({key:"server.version",value:O2a}));I2a={errorMetadata:pA,stackTrace:Iwb,logMessage:Dca}}var P2a=I2a;if(!P2a)break a;_.Kf("clientError",P2a)}("ERROR"===Hv||_.x("errors_flush_gel_always_killswitch"))&&_.If()}if(!_.x("suppress_error_204_logging")){var yH=
Ya.params||{},ys={urlParams:{a:"logerror",t:"jserror",type:Ya.name,msg:Ya.message.substr(0,250),line:Ya.lineNumber,level:m,"client.name":yH.name},postParams:{url:_.w("PAGE_NAME",window.location.href),file:Ya.fileName},method:"POST"};yH.version&&(ys["client.version"]=yH.version);if(ys.postParams){Ya.stack&&(ys.postParams.stack=Ya.stack);for(var Q2a=_.k(Object.keys(yH)),Gca=Q2a.next();!Gca.done;Gca=Q2a.next()){var R2a=Gca.value;ys.postParams["client."+R2a]=yH[R2a]}var Hca=_.w("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS");
if(Hca)for(var S2a=_.k(Object.keys(Hca)),Ica=S2a.next();!Ica.done;Ica=S2a.next()){var T2a=Ica.value;ys.postParams[T2a]=Hca[T2a]}var U2a=_.w("SERVER_NAME"),V2a=_.w("SERVER_VERSION");U2a&&V2a&&(ys.postParams["server.name"]=U2a,ys.postParams["server.version"]=V2a)}_.Gd(_.w("ECATCHER_REPORT_HOST","")+"/error_204",ys)}try{tia.add(Ya.message)}catch(JXb){}oia++}}}};
Bia=function(){for(var a=_.k(Gia),b=a.next();!b.done;b=a.next())if(_.Zd(b.value.toLowerCase()))return!0;return!1};
_.Sf=function(a){var b=_.Ob.apply(1,arguments);a.args||(a.args=[]);a.args.push.apply(a.args,_.sc(b))};
Wf=function(a,b){function c(){function e(m,p,r){for(p=Reflect.getMetadata("parameters",m)||[];p.length<=r;)p.push(null);p[r]=p[r]||[];p[r].push(l);Reflect.defineMetadata(p,m);return m}
var h=_.Ob.apply(0,arguments);if(this instanceof c)return d.apply(this,h),this;var l=new (Function.prototype.bind.apply(c,[null].concat(_.sc(h))));e.annotation=l;return e}
var d=Hia(b);c.prototype.toString=function(){return"@"+a};
return c.annotationCls=c};
Hia=function(a){return function(){var b=_.Ob.apply(0,arguments),c=this;a.forEach(function(d,e){e=b[e];if(Array.isArray(d))c[d[0]]=e&&void 0!==e?e:d[1];else for(var h in d)c[h]=e&&void 0!==e[h]?e[h]:d[h]})}};
Iia=function(a){return void 0!==a&&null!==a};
Xf=function(a){if("string"===typeof a)return a;if(void 0===a||null===a)return""+a;if(a.overriddenName)return a.overriddenName;if(a.name)return a.name;a=a.toString();var b=a.indexOf("\n");return-1===b?a:a.substring(0,b)};
Jia=function(a){a.__forward_ref__=Jia;a.toString=function(){return Xf(this())};
return a};
Yf=function(a){return"function"===typeof a&&a.hasOwnProperty("__forward_ref__")&&a.__forward_ref__===Jia?a():a};
Kia=function(a){return a?a.map(function(b){return new (Function.prototype.bind.apply(b.type.annotationCls,[null].concat(_.sc(b.args?b.args:[]))))}):[]};
Lia=function(a){for(var b=[],c=0;c<a.length;++c){if(-1<b.indexOf(a[c])){b.push(a[c]);break}b.push(a[c])}return b};
Mia=function(a){return 1<a.length?" ("+Lia(a.slice().reverse()).map(function(b){return Xf(b.token)}).join(" -> ")+")":""};
Oia=function(a,b,c,d){if(d){var e=Error("Ib``"+(d instanceof Error?d.message:d));e.ngOriginalError=d}else e=Error();e.addKey=Nia;e.keys=[b];e.injectors=[a];e.constructResolvingMessage=c;e.message=e.constructResolvingMessage();e.ngOriginalError=d;return e};
Nia=function(a,b){this.injectors.push(a);this.keys.push(b);this.message=this.constructResolvingMessage()};
Pia=function(a,b){return Oia(a,b,function(){return"No provider for "+Xf(this.keys[0].token)+"!"+Mia(this.keys)})};
Qia=function(a,b){return Oia(a,b,function(){return"Cannot instantiate cyclic dependency!"+Mia(this.keys)})};
Ria=function(a,b,c){return Oia(a,c,function(){var d=Xf(this.keys[0].token);return this.ngOriginalError.message+": Error during instantiation of "+d+"!"+Mia(this.keys)+"."},b)};
Sia=function(a,b){for(var c=[],d=0,e=b.length;d<e;d++){var h=b[d];h&&0!=h.length?c.push(h.map(Xf).join(" ")):c.push("?")}return Error("Lb`"+Xf(a)+"`"+c.join(", ")+"`"+Xf(a))};
Zia=function(a){if(a&&void 0!==a.useClass){var b=Yf(a.useClass);var c=Tia.factory(b);b=Uia(b)}else a&&void 0!==a.useExisting?(c=function(d){return d},b=[new Via(Zf.get(Yf(a.useExisting)),!1,null)]):a&&void 0!==a.useFactory?(c=a.useFactory,b=Wia(a.useFactory,a.deps)):(c=function(){return a.useValue},b=Xia);
return new Yia(c,b)};
aja=function(a){return new $ia(Zf.get(Yf(a.provide)),[Zia(a)],a.multi)};
cja=function(a,b){a.forEach(function(c){if(c instanceof bja)b.push({provide:c,useClass:c});else if(c&&"object"==typeof c&&void 0!==c.provide)b.push(c);else if(c instanceof Array)cja(c,b);else throw Error("Kb`"+c);});
return b};
Wia=function(a,b){if(b){var c=b.map(function(d){return[d]});
return b.map(function(d){return dja(a,d,c)})}return Uia(a)};
Uia=function(a){var b=Tia.parameters(a);if(!b)return[];if(b.some(function(c){return null==c}))throw Sia(a,b);
return b.map(function(c){return dja(a,c,b)})};
dja=function(a,b,c){var d=null,e=!1;if(!Array.isArray(b))return b instanceof eja?fja(b.token,e,null):fja(b,e,null);for(var h=null,l=0;l<b.length;++l){var m=b[l];if(m instanceof bja)d=m;else if(m instanceof eja)d=m.token;else if(m instanceof gja)e=!0;else if(m instanceof hja||m instanceof ija)h=m}d=Yf(d);if(null!=d)return fja(d,e,h);throw Sia(a,c);};
fja=function(a,b,c){return new Via(Zf.get(Yf(a)),b,c)};
jja=function(a,b){for(var c=Array(a.providers.length),d=0;d<a.providers.length;++d){var e=d;if(0>d||d>=a.providers.length)throw Error("Mb`"+d);c[e]=b(a.providers[d])}return c};
kja=function(a){return"function"===typeof a&&Tia.parameters(a).every(function(b){return!!b})};
lja=function(a){switch(a){case "canary":return"CLIENT_CANARY_STATE_CANARY";case "control":return"CLIENT_CANARY_STATE_CONTROL";case "none":return"CLIENT_CANARY_STATE_NONE";default:return"CLIENT_CANARY_STATE_UNKNOWN"}};
_.$f=function(){a:{if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];var d=a;break a}catch(e){}d=Array(16);for(a=0;16>a;a++){b=Date.now();for(c=0;c<b%23;c++)d[a]=Math.random();d[a]=Math.floor(256*Math.random())}if(mja)for(a=1,b=0;b<mja.length;b++)d[a%16]=d[a%16]^d[(a-1)%16]/4^mja.charCodeAt(b),a++}a=[];for(b=0;b<d.length;b++)a.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(d[b]&
63));return a.join("")};
_.pja=function(a){if(a)if(_.x("web_time_via_jspb")){var b=new nja;_.n(b,1,_.ag);_.n(b,2,a);_.x("use_default_heartbeat_client")?kia(b):kia(b,void 0,oja)}else a={clientDocumentNonce:_.ag,clientScreenNonce:a},_.x("use_default_heartbeat_client")?_.Kf("foregroundHeartbeatScreenAssociated",a):_.Hf("foregroundHeartbeatScreenAssociated",a,oja)};
bg=function(a){a=void 0===a?0:a;return 0===a?"client-screen-nonce":"client-screen-nonce."+a};
cg=function(a){a=void 0===a?0:a;return 0===a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};
qja=function(a){return _.w(cg(void 0===a?0:a))};
_.eg=function(a){return(a=qja(void 0===a?0:a))?new dg({veType:a,youtubeData:void 0,jspbYoutubeData:void 0}):null};
rja=function(){var a=_.w("csn-to-ctt-auth-info");a||(a={},_.ed("csn-to-ctt-auth-info",a));return a};
_.fg=function(a){a=_.w(bg(void 0===a?0:a));if(!a&&!_.fd("USE_CSN_FALLBACK",!0))return null;a||(a="UNDEFINED_CSN");return a?a:null};
sja=function(a,b,c){var d=rja();(c=_.fg(c))&&delete d[c];b&&(d[a]=b)};
_.gg=function(a){return rja()[a]};
_.hg=function(a,b,c,d){c=void 0===c?0:c;if(a!==_.w(bg(c))||b!==_.w(cg(c)))sja(a,d,c),_.ed(bg(c),a),_.ed(cg(c),b),b=function(){setTimeout(function(){_.pja(a)},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b()};
tja=function(a,b){b=void 0===b?"":b;var c=[],d;for(d in a)if(a.hasOwnProperty(d)){var e=""!==b?b+"."+d:d;"object"===typeof a[d]?c.push.apply(c,_.sc(tja(a[d],e))):c.push([e,a[d]])}c.sort();return c};
_.jg=function(a){var b=_.Ob.apply(1,arguments);if(!ig(a)||b.some(function(d){return!ig(d)}))throw Error("Pb");
b=_.k(b);for(var c=b.next();!c.done;c=b.next())uja(a,c.value);return a};
uja=function(a,b){for(var c in b)if(ig(b[c])){if(c in a&&!ig(a[c]))throw Error("Qb");c in a||(a[c]={});uja(a[c],b[c])}else if(vja(b[c])){if(c in a&&!vja(a[c]))throw Error("Rb");c in a||(a[c]=[]);wja(a[c],b[c])}else a[c]=b[c];return a};
wja=function(a,b){b=_.k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,ig(c)?a.push(uja({},c)):vja(c)?a.push(wja([],c)):a.push(c);return a};
ig=function(a){return"object"===typeof a&&!Array.isArray(a)};
vja=function(a){return"object"===typeof a&&Array.isArray(a)};
_.yja=function(a){for(var b=_.k(Object.entries(xja)),c=b.next();!c.done;c=b.next())if(c=_.k(c.value),c.next(),c=c.next().value,c==="SLI_STATUS_"+a)return c;return"SLI_STATUS_UNKNOWN"};
_.kg=function(a,b,c,d){return zja(a,b,function(){return new _.Aja(a,b,c,d)})};
_.Bja=function(){return _.kg("SLI_NAME_YOUTUBE_WEB_APP_BOOTS","APP_BOOTS",12E4,"TIMEOUT")};
lg=function(){return _.kg("SLI_NAME_YOUTUBE_WEB_NETWORK_REQUEST","NETWORK_REQUEST",12E4,"TIMEOUT")};
Cja=function(){return _.kg("SLI_NAME_YOUTUBE_WEB_YT_INITIAL_DATA_PRESENT","YT_INITIAL_DATA_LOADED",6E4,"FAILURE")};
Dja=function(){return _.kg("SLI_NAME_YOUTUBE_WEB_STFE_GREATER_THAN_ONE_MINUTE","STFE_GREATER_THAN_ONE_MINUTE",6E4,"SUCCESS")};
Eja=function(){return _.kg("SLI_NAME_YOUTUBE_WEB_STFE_GREATER_THAN_TEN_MINUTES","STFE_GREATER_THAN_TEN_MINUTES",6E5,"SUCCESS")};
_.pg=function(a){a=void 0===a?!1:a;_.mg.getInstance();var b="USER_INTERFACE_THEME_LIGHT";_.ng(0,165)?b="USER_INTERFACE_THEME_DARK":_.ng(0,174)?b="USER_INTERFACE_THEME_LIGHT":_.og()&&(b="USER_INTERFACE_THEME_DARK");return a?b:_.Fja()||b};
_.qg=function(){return!_.x("kevlar_legacy_browsers")&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches};
_.og=function(){return _.qg()&&window.matchMedia("(prefers-color-scheme: dark)").matches};
_.Gja=function(){_.mg.getInstance();return _.qg()&&!_.ng(0,165)&&!_.ng(0,174)};
_.Fja=function(){var a=void 0===a?window.location.href:a;if(_.x("kevlar_disable_theme_param"))return null;_.Ed(a);try{var b=_.sd(a).theme;return Hja.get(b)||null}catch(c){}return null};
_.Pja=function(a,b,c,d,e,h,l){var m=Ija();h=new dg({veType:b,youtubeData:h,jspbYoutubeData:void 0});e={cttAuthInfo:e,sequenceGroup:m};var p=function(){_.Rf(new _.ge("newScreen() parent element does not have a VE - rootVe",b))};
if(_.x("il_via_jspb")){var r=new Jja;r.setCsn(m);Kja(r,h.getAsJspb());c&&c.visualElement?(h=new Lja,c.clientScreenNonce&&_.n(h,2,c.clientScreenNonce),Mja(h,c.visualElement.getAsJspb()),l&&_.n(h,4,Nja[l]),_.eb(r,5,h)):c&&p();d&&_.n(r,3,d);iia(r,e,a)}else h={csn:m,pageVe:h.getAsJson()},c&&c.visualElement?(h.implicitGesture={parentCsn:c.clientScreenNonce,gesturedVe:c.visualElement.getAsJson()},l&&(h.implicitGesture.gestureType=l)):c&&p(),d&&(h.cloneCsn=d),a?_.Hf("screenCreated",h,a,e):_.Kf("screenCreated",
h,e);Hga(Lga,new Oja(m));return m};
_.sg=function(a,b,c,d){var e=d.filter(function(p){p.csn!==b?(p.csn=b,p=!0):p=!1;return p}),h={cttAuthInfo:_.gg(b),
sequenceGroup:b};d=_.k(d);for(var l=d.next();!l.done;l=d.next())l=l.value.getAsJson(),(_.u.isEmpty(l)||!l.trackingParams&&!l.veType)&&_.Rf(Error("Ub"));if(_.x("il_via_jspb")){var m=new Qja;m.setCsn(b);Rja(m,c.getAsJspb());_.id(e,function(p){p=p.getAsJspb();_.Sd(m,3,Sja,p)});
"UNDEFINED_CSN"==b?_.rg("visualElementAttached",m,h):jia(m,h,a)}else c={csn:b,parentVe:c.getAsJson(),childVes:_.id(e,function(p){return p.getAsJson()})},"UNDEFINED_CSN"==b?_.rg("visualElementAttached",c,h):a?_.Hf("visualElementAttached",c,a,h):_.Kf("visualElementAttached",c,h)};
_.Tja=function(a,b,c,d,e){var h={cttAuthInfo:_.gg(b),sequenceGroup:b};if(_.x("il_via_jspb")){var l=new _.tg;l.setCsn(b);c=c.getAsJspb();_.eb(l,2,c);_.n(l,4,1);d&&_.eb(l,3,e);"UNDEFINED_CSN"==b?_.rg("visualElementShown",l,h):_.eia(l,h,a)}else e={csn:b,ve:c.getAsJson(),eventType:1},d&&(e.clientData=d),"UNDEFINED_CSN"==b?_.rg("visualElementShown",e,h):a?_.Hf("visualElementShown",e,a,h):_.Kf("visualElementShown",e,h)};
_.Uja=function(a,b,c,d){var e=(d=void 0===d?!1:d)?16:8,h={cttAuthInfo:_.gg(b),sequenceGroup:b,endOfSequence:d};_.x("il_via_jspb")?(e=new _.tg,e.setCsn(b),c=c.getAsJspb(),_.eb(e,2,c),_.n(e,4,d?16:8),"UNDEFINED_CSN"==b?_.rg("visualElementHidden",e,h):_.fia(e,h,a)):(d={csn:b,ve:c.getAsJson(),eventType:e},"UNDEFINED_CSN"==b?_.rg("visualElementHidden",d,h):a?_.Hf("visualElementHidden",d,a,h):_.Kf("visualElementHidden",d,h))};
_.ug=function(a,b,c,d,e){d=d||"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK";var h={cttAuthInfo:_.gg(b),sequenceGroup:b};if(_.x("il_via_jspb")){var l=new Vja;l.setCsn(b);c=c.getAsJspb();_.eb(l,2,c);_.n(l,4,Nja[d]);e&&_.eb(l,3);"UNDEFINED_CSN"==b?_.rg("visualElementGestured",l,h):gia(l,h,a)}else d={csn:b,ve:c.getAsJson(),gestureType:d},e&&(d.clientData=e),"UNDEFINED_CSN"==b?_.rg("visualElementGestured",d,h):a?_.Hf("visualElementGestured",d,a,h):_.Kf("visualElementGestured",d,h)};
_.vg=function(a,b,c,d){var e={cttAuthInfo:_.gg(b),sequenceGroup:b};_.x("il_via_jspb")?(d=new Wja,d.setCsn(b),c=c.getAsJspb(),_.eb(d,2,c),"UNDEFINED_CSN"==b?_.rg("visualElementStateChanged",d,e):hia(d,e,a)):(c={csn:b,ve:c.getAsJson(),clientData:d},"UNDEFINED_CSN"==b?_.rg("visualElementStateChanged",c,e):a?_.Hf("visualElementStateChanged",c,a,e):_.Kf("visualElementStateChanged",c,e))};
Yja=function(){return _.Xja(Math.random()+"",3)};
_.rg=function(a,b,c){wg.push({payloadName:a,payload:b,options:c});Zja||(Zja=Nga())};
Kga=function(a){if(wg){for(var b=_.k(wg),c=b.next();!c.done;c=b.next())if(c=c.value,c.payload)if(_.x("il_via_jspb"))switch(c.payload.setCsn(a.csn),c.payloadName){case "screenCreated":iia(c.payload,c.options);break;case "visualElementAttached":jia(c.payload,c.options);break;case "visualElementShown":_.eia(c.payload,c.options);break;case "visualElementHidden":_.fia(c.payload,c.options);break;case "visualElementGestured":gia(c.payload,c.options);break;case "visualElementStateChanged":hia(c.payload,c.options);
break;default:_.Rf(new _.ge("flushQueue unable to map payloadName to JSPB setter"))}else c.payload.csn=a.csn,_.Hf(c.payloadName,c.payload,null,c.options);wg.length=0}Zja=0};
_.xg=function(a,b){_.Tja(void 0,a,b)};
_.zg=function(){if(!_.yg){_.yg=new $ja;var a=_.hd("client_streamz_web_flush_count",-1);-1!==a&&(_.yg.invocationLimit=a)}return _.yg};
_.Bg=function(a,b,c){b=void 0===b?{}:b;a=(a=a in _.Ag?_.Ag[a]:c)||"";c={};for(var d in b){c.$jscomp$loop$prop$key$3307=d;var e=function(h){return function(){return String(b[h.$jscomp$loop$prop$key$3307])}}(c);
a=a.replace(new RegExp("\\$\\{"+c.$jscomp$loop$prop$key$3307+"\\}","gi"),e);a=a.replace(new RegExp("\\$"+c.$jscomp$loop$prop$key$3307,"gi"),e);c={$jscomp$loop$prop$key$3307:c.$jscomp$loop$prop$key$3307}}return a};
_.Cg=function(a){return new aka(a)};
_.Eg=function(){_.Dg||(_.Dg=new bka);return _.Dg};
_.Fg=function(a,b){if(!a)return null;a=Object.keys(a);a=_.k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.toLowerCase();if(-1<d.indexOf(b,d.length-b.length))return c}return null};
_.dka=function(a,b){var c=b+a,d=cka.get(c);if(d)return d;a=b+"-"+a.replace(/([A-Z])/g,"-$1").toLowerCase();cka.set(c,a);return a};
_.Gg=function(a){var b=_.Fg(a,"action")||_.Fg(a,"command")||_.Fg(a,"endpoint");if(!b)return null;b=_.dka(b,"yt");a.signalAction&&(b+="-"+a.signalAction.signal.toLowerCase().replace(/_/g,"-"));return b};
Hg=function(a,b,c){b=new CustomEvent(b,{bubbles:!0,cancelable:!1,composed:!0,detail:c});a.dispatchEvent(b);return b};
_.C=function(a,b,c,d){return Hg(a,"yt-action",new _.Ig(b,!(void 0===d||!d),c)).detail.returnValue};
_.Jg=function(a,b,c){return _.C(a,b,c,!0)};
_.Lg=function(a,b,c,d){b&&b.length&&b.forEach(function(e){var h=_.Gg(e);h&&(_.x("handle_service_request_actions")&&e.commandMetadata&&e.commandMetadata.webCommandMetadata&&e.commandMetadata.webCommandMetadata.sendPost?c&&_.x("use_source_element_if_present_for_actions")?_.Kg(c,[e]):_.Kg(a,[e]):_.Jg(a,h,[e,c,d]))})};
_.Kg=function(a,b){var c=[a];b&&c.push.apply(c,b);b=_.C(a,"yt-service-request",c);return 0<b.length&&(b=b[0],Hg(a,"yt-service-request-sent",b),b&&b.ajaxPromise)?(b.ajaxPromise.then(function(d){Hg(a,"yt-service-request-completed",d)},function(d){Hg(a,"yt-service-request-error",{error:d,
params:c})},a),b.ajaxPromise):_.Mg()};
fka=function(){if(!eka){if(Polymer.Base){var a=Polymer.Base.createdCallback;Polymer.Base.createdCallback=function(){try{a.apply(this,arguments)}catch(z){_.jd(z)}};
var b=Polymer.Base.attachedCallback;Polymer.Base.attachedCallback=function(){try{b.apply(this,arguments)}catch(z){_.jd(z)}};
var c=Polymer.Base.detachedCallback;Polymer.Base.detachedCallback=function(){try{c.apply(this,arguments)}catch(z){_.jd(z)}};
var d=Polymer.Base.attributeChangedCallback;Polymer.Base.attributeChangedCallback=function(){try{d.apply(this,arguments)}catch(z){_.jd(z)}};
var e=Polymer.Base._listen,h=new WeakMap;Polymer.Base._listen=function(z,A,D){var E=function(){try{D.apply(this,arguments)}catch(J){_.jd(J)}};
h.set(D,E);e.call(this,z,A,E)};
var l=Polymer.Base._unlisten;Polymer.Base._unlisten=function(z,A,D){l.call(this,z,A,h.get(D))}}if(Polymer.Async){var m=Polymer.Async,p=m._atEndOfMicrotask;
m._atEndOfMicrotask=function(){try{p.apply(m,arguments)}catch(z){_.jd(z)}}}if(Polymer.RenderStatus){var r=Polymer.RenderStatus,v=r.afterNextRender;
r.afterNextRender=function(z,A,D){v.call(r,z,function(){try{A.apply(this,arguments)}catch(E){_.jd(E)}},D)}}eka=!0}};
gka=function(a,b){a=_.k(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.constructor===Array)gka(c,b);else{var d=b;d.has(c)||(c.inject&&d.add(c),c.behaviors&&gka(c.behaviors,d))}};
kka=function(){function a(e,h,l,m){var p=e[h];e[h]=function(){this._host=b.currentHost();this.initializeInjection&&this.initializeInjection();if(p)return p.apply(this,arguments)};
var r=e[l];e[l]=function(){b.push(m?this._host:this);var v=r.apply(this,arguments);b.pop();return v}}
var b={stack:[],push:function(e){this.stack.push(e)},
pop:function(){this.stack.pop()},
currentHost:function(){if(this.stack.length)return this.stack[this.stack.length-1]}};
_.Ng.Class=function(e,h){e=_.hka(e,h);a(e.prototype,"created","_stampTemplate",!1);return e};
a(_.Og.prototype,"_initializeProperties","__stampInstance",!0);a(_.Pg.prototype,"_initializeProperties","__ensureInstance",!0);if(ika)a(_.jka,"created","stamp",!0);else{var c=function(){a(customElements.get("tp-yt-iron-list").prototype,"_initializeProperties","stamp",!0)};
if(customElements.get("tp-yt-iron-list"))c();else{var d=customElements.define;customElements.define=function(e,h,l){d.call(customElements,e,h,l);"tp-yt-iron-list"===e&&(c(),customElements.define=d)}}}_.Qg(function(e){var h=function(){return e.apply(this,arguments)||this};
_.q(h,e);h.prototype._initializeProperties=function(){this._host=b.currentHost();this.initializeInjection&&this.initializeInjection();e.prototype._initializeProperties.call(this)};
h.prototype._stampTemplate=function(){var l=_.Ob.apply(0,arguments);b.push(this);l=e.prototype._stampTemplate.call.apply(e.prototype._stampTemplate,[this].concat(_.sc(l)));b.pop();return l};
return h})};
_.lka=function(a){for(;a=a._host;)if(a.injector)return a.injector};
mka=function(){var a=window;return a.Polymer&&a.Polymer.Base&&a.Polymer.Base._hostStack?0===a.Polymer.Base._hostStack.length?"empty":a.Polymer.Base._hostStack.map(function(b){try{return b.localName}catch(c){if(b._rootDataHost)return b._rootDataHost.localName}return"unknown"}).join(" > "):"unknown"};
nka=function(a){var b=a._host;return b?nka(b)+" > "+a.localName+":"+!!a.injector:a.localName+":"+!!a.injector};
oka=function(a){var b=a.tagName.toLowerCase();return a.parentElement?oka(a.parentElement)+" > "+b:b};
_.Rg=function(a){var b=a.payload;a={type:a.type};void 0!==b&&(a.payload=b);return a};
pka=function(a,b,c){for(var d=Object.assign({},a),e=_.k(Object.keys(b)),h=e.next();!h.done;h=e.next()){h=h.value;var l=a[h],m=b[h];if(void 0===m)delete d[h];else if(void 0===l)d[h]=m;else if(Array.isArray(m)&&Array.isArray(l))d[h]=c?[].concat(_.sc(l),_.sc(m)):m;else if(!Array.isArray(m)&&_.pa(m)&&!Array.isArray(l)&&_.pa(l))d[h]=pka(l,m,c);else if(typeof m===typeof l)d[h]=m;else return b=new _.ge("Attempted to merge fields of differing types.",{name:"DeepMergeError",key:h,originalValue:l,updateValue:m}),
_.Qf(b),a}return d};
rka=function(a,b){var c;if(null==(c=qka)?0:c.encodeInto)return b=qka.encodeInto(a,b),b.read<a.length?4*a.length:b.written;for(var d=c=0;d<a.length;d++){var e=a.charCodeAt(d);128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296===(e&64512)&&d+1<a.length&&56320===(a.charCodeAt(d+1)&64512)?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return c};
Ug=function(a){a=new ska(new Sg([_.tka(decodeURIComponent(a))]));if(uka(a,2)){var b=Tg(a);var c=a.JSC$34907_pos;var d=a.arrayView;c=void 0===c?0:c;var e=void 0===b?-1:b;c=void 0===c?0:c;e=void 0===e?-1:e;if(d.totalLength&&e){0>e&&(e=d.totalLength-c);d.focus(c);if(!(c-d.arrayPos+e<=d.arrays[d.arrayIdx].length)){var h=d.arrayIdx,l=d.arrayPos;d.focus(c+e-1);l=new Uint8Array(d.arrayPos+d.arrays[d.arrayIdx].length-l);for(var m=0,p=h;p<=d.arrayIdx;p++)l.set(d.arrays[p],m),m+=d.arrays[p].length;d.arrays.splice(h,
d.arrayIdx-h+1,l);d.arrayIdx=0;d.arrayPos=0;d.focus(c)}h=d.arrays[d.arrayIdx];d=new DataView(h.buffer,h.byteOffset+c-d.arrayPos,e)}else d=new DataView(new ArrayBuffer(0));d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);a.JSC$34907_pos+=b;b=d}else b=void 0;b=b?vka(b):void 0;a=uka(a,4)?Tg(a):void 0;d=wka[a];if("undefined"===typeof d)throw a=new _.ge("Failed to recognize field number",{name:"EntityKeyHelperError",fieldNumber:a}),_.Qf(a),a;return{entityTypeFieldNumber:a,entityType:d,entityId:b}};
_.Wg=function(a,b){var c=new _.xka;_.yka(c,2,a);a=zka[b];if("undefined"===typeof a)throw b=new _.ge("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:b}),_.Qf(b),b;void 0!==a&&(Vg(c,32),Vg(c,a));Vg(c,40);Vg(c,1);b=new Uint8Array(c.buf.buffer,0,c.JSC$34910_pos);return encodeURIComponent(_.Ia(b))};
Aka=function(a){a=a.key||a.id;if(!a)throw Error("dc");return a};
_.Cka=function(a,b){a=void 0===a?{}:a;switch(b.type){case "ENTITY_LOADED":return b.payload.reduce(function(d,e){var h,l=null==(h=e.options)?void 0:h.persistenceOption;if(l&&"ENTITY_PERSISTENCE_OPTION_UNKNOWN"!==l&&"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST"!==l)return d;if(!e.entityKey)return _.Qf(Error("ec")),d;if("ENTITY_MUTATION_TYPE_REPLACE"===e.type){if(!e.payload)return _.Qf(new _.ge("REPLACE entity mutation is missing a payload",{entityKey:e.entityKey})),d;var m=(0,_.u.getAnyKey)(e.payload);
return Xg(d,m,e.entityKey,e.payload[m])}if("ENTITY_MUTATION_TYPE_DELETE"===e.type){e=e.entityKey;try{var p=Ug(e).entityType;m=Xg(d,p,e)}catch(z){if(z instanceof Error)_.Qf(new _.ge("Failed to deserialize entity key",{entityKey:e,originalMessage:z.message})),m=d;else throw z;}return m}if("ENTITY_MUTATION_TYPE_UPDATE"===e.type){if(!e.payload)return _.Qf(new _.ge("UPDATE entity mutation is missing a payload",{entityKey:e.entityKey})),d;m=(0,_.u.getAnyKey)(e.payload);var r,v;return Bka(d,m,e.entityKey,
e.payload[m],null==(r=e.fieldMask)?void 0:null==(v=r.mergeOptions)?void 0:v.repeatedFieldsMergeOption)}return d},a);
case "REPLACE_ENTITY":var c=b.payload;return Xg(a,c.entityType,c.key,c.entityPayload);case "REPLACE_ENTITIES":return Object.keys(b.payload).reduce(function(d,e){var h=b.payload[e];return Object.keys(h).reduce(function(l,m){return Xg(l,e,m,h[m])},d)},a);
case "UPDATE_ENTITY":return c=b.payload,Bka(a,c.entityType,c.key,c.entityPayload,c.mergeOption);default:return a}};
Xg=function(a,b,c,d){if(void 0===d)return d=Object.assign({},a[b]||{}),c=(delete d[c],d),d={},Object.assign({},a,(d[b]=c,d));var e={},h={};return Object.assign({},a,(h[b]=Object.assign({},a[b],(e[c]=d,e)),h))};
Bka=function(a,b,c,d,e){var h=a[b];if(null==h||!h[c])return a;d=pka(h[c],d,"REPEATED_FIELDS_MERGE_OPTION_APPEND"===e);e={};h={};return Object.assign({},a,(h[b]=Object.assign({},a[b],(e[c]=d,e)),h))};
_.Yg=function(a,b,c){return a[b]?a[b][c]||null:null};
Eka=function(a){return _.ye(Dka(),a)};
Fka=function(a){return new Zg("WRONG_DATA_TYPE",{encoderVersion:a})};
Gka=function(a){return a instanceof Error?new Zg("UNKNOWN_ENCODE_ERROR",{originalMessage:a.message}):new Zg("UNKNOWN_ENCODE_ERROR")};
Hka=function(a){return a instanceof Error?new Zg("UNKNOWN_DECODE_ERROR",{originalMessage:a.message}):new Zg("UNKNOWN_DECODE_ERROR")};
Ika=function(a,b){a=a instanceof Zg?a:b(a);_.Qf(a);throw a;};
$g=function(a){a=(new TextEncoder).encode(a).subarray(0,16);var b=new Uint8Array(16);b.set(a);return b};
Kka=function(a){var b=Jka[a];if(b)return b;_.Rf(new _.ge("Entity model not found.",{entityType:a}))};
Nka=function(a){var b=new Lka,c=a.objectStore("EntityStore"),d=a.objectStore("EntityAssociationStore");Be(c,{},function(e){var h=e.getValue(),l=Mka(ah(b,h.version),h.data,h.key),m=Ug(h.key).entityType;m=Kka(m);if(!m)return e.continue();m=(new m(l)).getAssociations();l=[];m=_.k(m);for(var p=m.next();!p.done;p=m.next())l.push(d.put({parentEntityKey:h.key,childEntityKey:p.value}));return me.all(l).then(function(){return e.continue()})})};
Oka=function(){if(bh)return bh();var a={};bh=_.Ke("PersistentEntityStoreDb",{objectStores:(a.EntityStore={addedAtVersion:1},a.EntityAssociationStore={addedAtVersion:2},a),shared:!1,upgrade:function(b,c,d){c(1)&&Ne(_.Me(b,"EntityStore",{keyPath:"key"}),"entityType","entityType");c(2)&&(b=_.Me(b,"EntityAssociationStore",{keyPath:["parentEntityKey","childEntityKey"]}),Ne(b,"byParentEntityKey","parentEntityKey"),Ne(b,"byChildEntityKey","childEntityKey"));c(3)&&!c(1)&&Nka(d)},
version:_.x("pes_migrate_association_data")?3:2});return bh()};
Pka=function(a){return _.ye(Oka(),a)};
_.ch=function(){Qka||(Qka=Rka());return Qka};
Rka=function(){var a,b,c;return _.y(function(d){if(1==d.nextAddress)return _.se(d,2),_.B(d,_.Ge(),4);if(2!=d.nextAddress){a=d.yieldResult;if(!a||!_.fe()||"undefined"===typeof _.g.BroadcastChannel)return d.return();b=new Lka;return d.return(new dh(a,b))}c=_.ue(d);c instanceof Error&&_.Qf(c);return d.return()})};
_.eh=function(a,b){var c;return _.y(function(d){if(1==d.nextAddress){c=a.mutations;if(!c||0>=c.length)return d.return();b&&b.dispatch(_.Rg({type:"ENTITY_LOADED",payload:c}));return _.B(d,Ska(c),2)}c.length=0;_.bf(d)})};
Ska=function(a){var b;return _.y(function(c){return 1==c.nextAddress?_.B(c,_.ch(),2):(b=c.yieldResult)?_.B(c,fh(b,"readwrite",function(d){for(var e={},h={},l=_.k(a),m=l.next();!m.done;h={$jscomp$loop$prop$mutation$3316:h.$jscomp$loop$prop$mutation$3316,$jscomp$loop$prop$mutationEntityType$3317:h.$jscomp$loop$prop$mutationEntityType$3317},m=l.next())h.$jscomp$loop$prop$mutation$3316=m.value,h.$jscomp$loop$prop$mutation$3316.entityKey&&Tka(h.$jscomp$loop$prop$mutation$3316)&&(h.$jscomp$loop$prop$mutationEntityType$3317=
(0,_.u.getAnyKey)(h.$jscomp$loop$prop$mutation$3316.payload),m=void 0,"ENTITY_MUTATION_TYPE_REPLACE"===h.$jscomp$loop$prop$mutation$3316.type&&(m=function(p){return function(){return Uka(d,p.$jscomp$loop$prop$mutation$3316.payload[p.$jscomp$loop$prop$mutationEntityType$3317],p.$jscomp$loop$prop$mutationEntityType$3317)}}(h)),"ENTITY_MUTATION_TYPE_DELETE"===h.$jscomp$loop$prop$mutation$3316.type&&(m=function(p){return function(){return Vka(d,p.$jscomp$loop$prop$mutation$3316.entityKey)}}(h)),"ENTITY_MUTATION_TYPE_UPDATE"===
h.$jscomp$loop$prop$mutation$3316.type&&(m=function(p){return function(){return Wka(d,p.$jscomp$loop$prop$mutation$3316.entityKey,p.$jscomp$loop$prop$mutation$3316.payload[p.$jscomp$loop$prop$mutationEntityType$3317],p.$jscomp$loop$prop$mutationEntityType$3317)}}(h)),m&&(e[h.$jscomp$loop$prop$mutation$3316.entityKey]=e[h.$jscomp$loop$prop$mutation$3316.entityKey]?e[h.$jscomp$loop$prop$mutation$3316.entityKey].then(m):m()));
return me.all(Object.values(e))}),0):c.return()})};
Tka=function(a){var b;a=null==(b=a.options)?void 0:b.persistenceOption;return"ENTITY_PERSISTENCE_OPTION_PERSIST"===a||"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST"===a};
Zka=function(a,b,c){var d,e;_.y(function(h){if(1==h.nextAddress)return _.B(h,_.ch(),2);if(3!=h.nextAddress)return(d=h.yieldResult)?_.B(h,fh(d,"readonly",function(l){var m={},p=Object.keys(b);c&&(p=p.filter(function(r){return c.includes(r)}));
p=p.map(function(r){var v=b[r]?[].concat(_.sc(b[r])):[];return Xka(l,r,v,m)});
return me.all(p).then(function(){return m})}),3):h.return();
e=h.yieldResult;0<Object.keys(e).length&&a.dispatch(Yka(e));_.bf(h)})};
Xka=function(a,b,c,d){return gh(a,b,c).then(function(e){d[b]=$ka(c,e)})};
$ka=function(a,b){if(b.length!==a.length)throw Error("gc");return b.reduce(function(c,d,e){c[a[e]]=d;return c},{})};
ih=function(){return _.hh};
_.ala=function(a,b,c,d){return{browseEndpoint:{browseId:a},commandMetadata:{webCommandMetadata:{url:b,rootVe:c,webPageType:void 0===d?"WEB_PAGE_TYPE_BROWSE":d}}}};
_.kh=function(a,b,c){var d="/watch?v="+a;a={videoId:a};b&&(a.playlistId=b,d+="&list="+b);b={watchEndpoint:a,commandMetadata:{webCommandMetadata:{url:d,rootVe:3832,webPageType:"WEB_PAGE_TYPE_WATCH"}}};c&&(b.clickTrackingParams=c);return b};
_.lh=function(a){return{runs:[{text:a}]}};
_.mh=function(a){return a?_.lh(a):void 0};
_.nh=function(a){return a?{simpleText:a}:void 0};
_.bla=function(a){if(!a||!a.expirationTimestamp||!a.action)return!1;var b=(0,_.Yd)()/1E3;return Number(a.expirationTimestamp)>=b};
_.oh=function(a){return a&&a.expirationTimestamp&&a.action?_.bla(a)&&"OFFLINE_VIDEO_POLICY_ACTION_OK"===a.action:!1};
_.ph=function(a){return["TRANSFER_STATE_TRANSFER_IN_QUEUE","TRANSFER_STATE_PAUSED_BY_USER","TRANSFER_STATE_TRANSFERRING"].includes(a||"TRANSFER_STATE_UNKNOWN")};
_.cla=function(a,b){if(!b)return"TRANSFER_STATE_UNKNOWN";var c=_.Yg(a,"transfer",_.Wg(b,"transfer"));if(c)return c.transferState||"TRANSFER_STATE_UNKNOWN";c=_.Yg(a,"offlineOrchestrationActionWrapperEntity",_.Wg(b,"offlineOrchestrationActionWrapperEntity"));a=_.Yg(a,"ytMainVideoEntity",_.Wg(b,"ytMainVideoEntity"));return c||a?"TRANSFER_STATE_TRANSFER_IN_QUEUE":"TRANSFER_STATE_UNKNOWN"};
_.qh=function(a,b){if(b){var c=_.x("kevlar_new_woffle_entities")?"mainVideoEntity":"ytMainVideoEntity";c=_.Yg(a,c,_.Wg(b,c));var d=_.Yg(a,"ytMainChannelEntity",_.Wg(b,"ytMainChannelEntity")),e,h=null!=(e=_.Yg(a,"playbackData",_.Wg(b,"playbackData")))?e:null,l;e=null!=(l=_.Yg(a,"transfer",_.Wg(b,"transfer")))?l:null;var m;l=null!=(m=_.Yg(a,"offlineVideoStreams",_.Wg(b,"offlineVideoStreams")))?m:null;var p;a=null!=(p=_.Yg(a,"offlineVideoPolicy",_.Wg(b,"offlineVideoPolicy")))?p:null;if(c&&d)return{videoEntity:c,
playbackDataEntity:h,channelEntity:d,transferEntity:e,streamEntity:l,policyEntity:a}}};
_.rh=function(a){var b=_.x("kevlar_new_woffle_entities"),c=b?a.mainVideoDownloadStateEntity:a.ytMainDownloadedVideoEntity;if(!c)return[];var d=[];c=_.k(Object.keys(c));for(var e=c.next();!e.done;e=c.next()){var h=e.value;e=_.qh(a,Ug(h).entityId);var l=void 0,m=void 0;h=null!=(m=Number(null==(l=_.Yg(a,b?"mainVideoDownloadStateEntity":"ytMainDownloadedVideoEntity",h))?void 0:l.addedTimestampMillis))?m:(0,_.Yd)();l={videoEntity:e,addedTimestampMillis:h};void 0!==e&&d.push(l)}return d.sort(function(p,
r){return r.addedTimestampMillis-p.addedTimestampMillis}).map(function(p){return p.videoEntity})};
_.ela=function(a){var b=["TRANSFER_STATE_COMPLETE"];b=void 0===b?dla:b;return a.filter(function(c){var d,e;return b.includes(null!=(e=null==(d=c.transferEntity)?void 0:d.transferState)?e:"TRANSFER_STATE_UNKNOWN")})};
gla=function(a,b){return"TRANSFER_STATE_COMPLETE"===_.cla(a,b)&&fla(a,b)};
_.hla=function(a){return _.rh(a).filter(function(b){var c;if((null==(c=b.policyEntity)?0:c.action)&&"OFFLINE_VIDEO_POLICY_ACTION_OK"!==b.policyEntity.action)return!1;var d;if(null==(d=b.transferEntity)?0:d.transferState){if(_.x("kevlar_hide_toast_paused_downloads")){var e;return["TRANSFER_STATE_TRANSFER_IN_QUEUE","TRANSFER_STATE_TRANSFERRING"].includes(null==(e=b.transferEntity)?void 0:e.transferState)}return _.ph(b.transferEntity.transferState)}return!0})};
fla=function(a,b){if(!b)return!1;if(_.x("of_pb_en_po_ks"))return!0;var c;a=null!=(c=_.Yg(a,"offlineVideoPolicy",_.Wg(b,"offlineVideoPolicy")))?c:void 0;return!!a&&_.oh(a)};
_.ila=function(a){return a.download.isLeaderTab};
_.jla=function(){var a=_.ld("ytDebugData.callbacks");a||(a={},_.Fe("ytDebugData.callbacks",a));return a};
sh=function(a,b){var c=_.jla();if(_.x("web_dd_iu")||kla.includes(a))c[a]=b};
lla=function(){return _.y(function(a){return a.return({isLeader:_.ila(_.hh.getState()),c:_.w("INNERTUBE_CONTEXT_CLIENT_NAME"),cver:_.w("INNERTUBE_CONTEXT_CLIENT_VERSION")})})};
mla=function(){var a;_.y(function(b){if(1==b.nextAddress)return sh("APP_STATE",lla),_.B(b,_.Eg().resolve(_.th),2);a=b.yieldResult;sh("PI",function(){return _.y(function(c){return c.return(a.getVideoStats())})});
_.bf(b)})};
_.pla=function(a){var b="unknown",c=_.nla(_.u.getValueByKeys(a,"commandMetadata","webCommandMetadata","webPageType"));c&&ola[c]?b=ola[c]:a.browseEndpoint||a.watchPlaylistEndpoint?b="browse":a.searchEndpoint?b="search":a.watchEndpoint&&(b="watch");"unknown"==b&&_.md(Error("hc`"+JSON.stringify(a)));return b};
_.wh=function(a){var b=a.indexOf("#");b=0>b?null:a.slice(b+1);a=a.slice(0);var c=["frags"];_.x("kevlar_hide_pp_url_param")&&c.push("pp");_.x("kevlar_hide_time_continue_url_param")&&c.push("time_continue");c=_.k(c);for(var d=c.next();!d.done;d=c.next())d=d.value,a=_.uh(_.vh(a),d);return _.vh(a)+(b?"#"+b:"")};
_.nla=function(a){if(!a)return a;a=a.toLowerCase();a.startsWith("web_page_type_")&&(a=a.slice(14));return a};
qla=function(a,b){b=1E3*Number(b);var c=Math.round((0,_.Yd)()),d=c.toString();a={innertubeResponse:a,serverDateTimestampMs:d,lastModifiedTimestampMs:d,expireTimestampMs:(c+b).toString()};if(b=_.w("INNERTUBE_CONTEXT_CLIENT_NAME"))a.clientName=b;return a};
_.xh=function(){return{isShellLoad:_.fd("IS_SHELL_LOAD",!1)}};
yh=function(a,b){return new rla(a,b)};
tla=function(a){var b=void 0===b?"UNKNOWN_INTERFACE":b;if(1===a.length)return a[0];var c=sla[b];if(c){var d=new RegExp(c),e=_.k(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,d.exec(c))return c}var h=[];Object.entries(sla).forEach(function(l){var m=_.k(l);l=m.next().value;m=m.next().value;b!==l&&h.push(m)});
d=new RegExp(h.join("|"));a.sort(function(l,m){return l.length-m.length});
e=_.k(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,!d.exec(c))return c;return a[0]};
_.zh=function(a){return"/youtubei/v1/"+tla(a)};
Ah=function(a){var b=_.Eg();return function(){return b.resolve(a)}};
_.Dh=function(a,b,c,d,e){b=void 0===b?!1:b;c=void 0===c?!1:c;var h=_.w("INNERTUBE_CONTEXT");if(!h)return _.Qf(Error("yc")),{};h=(0,_.u.unsafeClone)(h);_.x("web_no_tracking_params_in_shell_killswitch")||delete h.clickTracking;h.client||(h.client={});var l=h.client;"MWEB"===l.clientName&&(l.clientFormFactor=_.w("IS_TABLET")?"LARGE_FORM_FACTOR":"SMALL_FORM_FACTOR");l.screenWidthPoints=window.innerWidth;l.screenHeightPoints=window.innerHeight;l.screenPixelDensity=Math.round(window.devicePixelRatio||1);
l.screenDensityFloat=window.devicePixelRatio||1;l.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());l.userInterfaceTheme=_.pg();if(!b){var m=_.Md();m&&(l.connectionType=m);_.x("web_log_effective_connection_type")&&(m=Ifa())&&(h.client.effectiveConnectionType=m)}var p;if(_.x("web_log_memory_total_kbytes")&&(null==(p=_.g.navigator)?0:p.deviceMemory)){var r;p=null==(r=_.g.navigator)?void 0:r.deviceMemory;h.client.memoryTotalKbytes=""+1E6*p}b&&d&&!_.x("web_it_context_set_original_url_ks")&&
(l.originalUrl=ula(_.g.location.href,d).toString());r=_.sd(_.g.location.href);!_.x("web_populate_internal_geo_killswitch")&&r.internalcountrycode&&(l.internalGeo=r.internalcountrycode);!_.x("web_populate_client_screen_killswitch")&&e&&(l.clientScreen=e);"MWEB"===l.clientName||"WEB"===l.clientName?(l.mainAppWebInfo={graftUrl:d||_.g.location.href},_.x("kevlar_woffle")&&_.Bh.instance&&(l.mainAppWebInfo.pwaInstallabilityStatus=_.Bh.instance.deferredInstallPrompt?"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED":
"PWA_INSTALLABILITY_STATUS_UNKNOWN"),l.mainAppWebInfo.webDisplayMode=Sfa(),l.mainAppWebInfo.isWebNativeShareAvailable=navigator&&void 0!==navigator.share):"TVHTML5"===l.clientName&&(!_.x("web_lr_app_quality_killswitch")&&(d=_.w("LIVING_ROOM_APP_QUALITY"))&&(l.tvAppInfo=Object.assign(l.tvAppInfo||{},{appQuality:d})),d=_.w("LIVING_ROOM_CERTIFICATION_SCOPE"))&&(l.tvAppInfo=Object.assign(l.tvAppInfo||{},{certificationScope:d}));!_.x("web_populate_time_zone_itc_killswitch")&&(d=_.Ffa())&&(l.timeZone=d);
(d=bfa())?l.experimentsToken=d:delete l.experimentsToken;l=cfa();d=(0,_.u.getValues)(_.vla().tokenJars);h.request=Object.assign({},h.request,{internalExperimentFlags:l,consistencyTokenJars:d});!_.x("web_prequest_context_killswitch")&&(l=_.w("INNERTUBE_CONTEXT_PREQUEST_CONTEXT"))&&(h.request.externalPrequestContext=l);d=_.mg.getInstance();l=_.ng(0,58);d=d.get("gsml","");h.user=Object.assign({},h.user);l&&(h.user.enableSafetyMode=l);d&&(h.user.lockedSafetyMode=!0);_.x("warm_op_csn_cleanup")?c&&(b=_.fg())&&
(h.clientScreenNonce=b):!b&&(b=_.fg())&&(h.clientScreenNonce=b);a&&(h.clickTracking={clickTrackingParams:a});if(a=_.ld("yt.mdx.remote.remoteClient_"))h.remoteClient=a;_.x("web_enable_client_location_service")&&_.Ch.getInstance().setLocationOnInnerTubeContext(h);try{var v=qfa(),z=v.bid;delete v.bid;h.adSignalsInfo={params:[],bid:z};for(var A=_.k(Object.entries(v)),D=A.next();!D.done;D=A.next()){var E=_.k(D.value),J=E.next().value,R=E.next().value;v=J;z=R;a=void 0;null==(a=h.adSignalsInfo.params)||
a.push({key:v,value:""+z})}}catch(da){_.Qf(da)}return h};
_.Eh=function(a,b){if(!a)return!1;var c;if((null==(c=a.signalServiceEndpoint)?0:c.signal)&&b.signalEndpointMap)return!!b.signalEndpointMap[a.signalServiceEndpoint.signal];var d;if((null==(d=a.continuationCommand)?0:d.request)&&b.continuationEndpointMap)return!!b.continuationEndpointMap[a.continuationCommand.request];for(var e in a)if(b.commandEndpointMap[e])return!0;return!1};
_.wla=function(a,b){var c;if((null==(c=a.signalServiceEndpoint)?0:c.signal)&&b.signalEndpointMap&&(c=b.signalEndpointMap[a.signalServiceEndpoint.signal]))return c();var d;if((null==(d=a.continuationCommand)?0:d.request)&&b.continuationEndpointMap&&(d=b.continuationEndpointMap[a.continuationCommand.request]))return d();for(var e in a)if(b.commandEndpointMap[e]&&(a=b.commandEndpointMap[e]))return a()};
Fh=function(a){return function(){return new a}};
xla=function(a){var b=_.w("INNERTUBE_HOST_OVERRIDE");b&&(a=String(b)+String(_.Gh(a)));return a};
yla=function(a,b){var c={};_.w("INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT")&&(null==b?0:b.Authorization)||(c.key=_.w("INNERTUBE_API_KEY"));_.x("json_condensed_response")&&(c.prettyPrint="false");return a=ud(a,c)};
Hh=function(a,b){return{method:void 0===b?"POST":b,mode:_.zd(a)?"same-origin":"cors",credentials:_.zd(a)?"same-origin":"include"}};
Ih=function(a,b){b=void 0===b?{}:b;return"service:"+a+"/"+Object.keys(b).sort().map(function(c){return c+":"+b[c]}).join("/")};
zla=function(a){var b,c,d,e;a=null==(b=a.watchEndpoint)?void 0:null==(c=b.watchEndpointSupportedOnesieConfig)?void 0:null==(d=c.html5PlaybackOnesieConfig)?void 0:null==(e=d.commonConfig)?void 0:e.url;if(!a)return[];b=new _.Jh(a);return b.JSC$32753_domain_?["https://"+b.JSC$32753_domain_+"/generate_204"]:[]};
_.Ala=function(a){var b=_.Kh(a);if(b.aft)return b.aft;a=_.w((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return NaN};
_.Lh=function(a){return _.ld("ytcsi."+(a||"")+"data_")||_.Bla(a)};
_.Mh=function(a){a=_.Lh(a);a.info||(a.info={});return a.info};
_.Kh=function(a){a=_.Lh(a);a.tick||(a.tick={});return a.tick};
_.Nh=function(a){a=_.Lh(a);if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}else a.gel={gelTicks:{},gelInfos:{}};return a.gel};
_.Oh=function(a){a=_.Nh(a);a.gelInfos||(a.gelInfos={});return a.gelInfos};
_.Cla=function(a){a=_.Nh(a);a.jspbInfos||(a.jspbInfos=[]);return a.jspbInfos};
Dla=function(a){var b=_.Lh(a).nonce;b||(b=_.$f(),_.Lh(a).nonce=b);return b};
_.Bla=function(a){var b={tick:{},info:{}};_.Fe("ytcsi."+(a||"")+"data_",b);return b};
_.Hla=function(a){var b=_.Kh(a||""),c=_.Ala(a);c&&!Ela&&(Hga(Fla,new Gla(Math.round(c-b._start),a)),Ela=!0)};
_.Ila=function(){var a=_.ld("ytcsi.debug");a||(a=[],_.Fe("ytcsi.debug",a),_.Fe("ytcsi.reference",{}));return a};
_.Ph=function(a){a=a||"";var b=_.Jla();if(b[a])return b[a];var c=_.Ila(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);return b[a]=d};
_.Jla=function(){var a=_.ld("ytcsi.reference");if(a)return a;_.Ila();return _.ld("ytcsi.reference")};
_.Ola=function(a,b,c){c=_.Nh(c);if(c.gelInfos)c.gelInfos[a]=!0;else{var d={};c.gelInfos=(d[a]=!0,d)}if(a.match("_rid")){var e=a.split("_rid")[0];a="REQUEST_ID"}if(a in Kla){c=Kla[a];_.ha(Lla,c)&&(b=!!b);a in Mla&&"string"===typeof b&&(b=Mla[a]+b.toUpperCase());a=b;b=c.split(".");for(var h=d={},l=0;l<b.length-1;l++){var m=b[l];h[m]={};h=h[m]}h[b[b.length-1]]="requestIds"===c?[{id:a,endpoint:e}]:a;return _.jg({},d)}_.ha(Nla,a)||_.Rf(new _.ge("Unknown label logged with GEL CSI",a))};
_.Rh=function(a,b,c,d){null!==b&&(_.Mh(c)[a]=b,(a=_.Ola(a,b,c))&&_.Qh(a,c,d))};
_.Qh=function(a,b,c){if(!_.x("web_csi_via_jspb")||(void 0===c?0:c))c=_.Ph(b||""),_.jg(c.info,a),_.jg(_.Oh(b),a),c=Dla(b),b=_.Lh(b).cttAuthInfo,Sh().info(a,c,b);else{c=new _.Th;var d=Object.keys(a);a=Object.values(a);for(var e=0;e<d.length;e++){var h=d[e];try{switch(h){case "actionType":_.Pla(c,_.F[a[e]]);break;case "clientActionNonce":_.n(c,2,a[e]);break;case "clientScreenNonce":_.n(c,4,a[e]);break;case "loadType":_.n(c,3,a[e]);break;case "isPrewarmedLaunch":_.n(c,92,a[e]);break;case "isFirstInstall":_.n(c,
55,a[e]);break;case "networkType":_.n(c,5,Vh[a[e]]);break;case "connectionType":_.n(c,26,Wh[a[e]]);break;case "detailedConnectionType":_.n(c,27,Xh[a[e]]);break;case "isVisible":_.n(c,6,a[e]);break;case "playerType":_.n(c,7,Yh[a[e]]);break;case "clientPlaybackNonce":_.n(c,8,a[e]);break;case "adClientPlaybackNonce":_.n(c,28,a[e]);break;case "previousCpn":_.n(c,77,a[e]);break;case "targetCpn":_.n(c,76,a[e]);break;case "isMonetized":_.n(c,9,a[e]);break;case "isPrerollAllowed":_.n(c,16,a[e]);break;case "isPrerollShown":_.n(c,
17,a[e]);break;case "adType":_.n(c,12,a[e]);break;case "adTypesAllowed":_.n(c,36,a[e]);break;case "adNetworks":_.n(c,37,a[e]);break;case "previousAction":_.n(c,13,_.F[a[e]]);break;case "isRedSubscriber":_.n(c,14,a[e]);break;case "serverTimeMs":_.n(c,15,a[e]);break;case "videoId":c.setVideoId(a[e]);break;case "adVideoId":_.n(c,20,a[e]);break;case "targetVideoId":_.n(c,78,a[e]);break;case "adBreakType":_.n(c,21,Zh[a[e]]);break;case "isNavigation":_.Qla(c,a[e]);break;case "viewportHeight":_.n(c,29,a[e]);
break;case "viewportWidth":_.n(c,30,a[e]);break;case "screenHeight":_.n(c,84,a[e]);break;case "screenWidth":_.n(c,85,a[e]);break;case "browseId":_.n(c,31,a[e]);break;case "isCacheHit":_.n(c,32,a[e]);break;case "httpProtocol":_.n(c,33,a[e]);break;case "transportProtocol":_.n(c,34,a[e]);break;case "searchQuery":_.n(c,41,a[e]);break;case "isContinuation":_.n(c,42,a[e]);break;case "availableProcessors":_.n(c,43,a[e]);break;case "sdk":_.n(c,44,a[e]);break;case "isLocalStream":_.n(c,45,a[e]);break;case "navigationRequestedSameUrl":_.n(c,
64,a[e]);break;case "shellStartupDurationMs":_.n(c,70,a[e]);break;case "appInstallDataAgeMs":_.n(c,73,a[e]);break;case "latencyActionError":_.n(c,71,$h[a[e]]);break;case "actionStep":_.n(c,79,a[e]);break;case "jsHeapSizeLimit":_.n(c,80,a[e]);break;case "totalJsHeapSize":_.n(c,81,a[e]);break;case "usedJsHeapSize":_.n(c,82,a[e]);break;case "sourceVideoDurationMs":_.n(c,90,a[e]);break;case "adPrebufferedTimeSecs":_.n(c,39,a[e]);break;case "isLivestream":_.n(c,47,a[e]);break;case "liveStreamMode":_.n(c,
91,ai[a[e]]);break;case "adCpn2":_.n(c,48,a[e]);break;case "adDaiDriftMillis":_.n(c,49,a[e]);break;case "videoStreamType":_.n(c,53,bi[a[e]]);break;case "playbackRequiresTap":_.n(c,56,a[e]);break;case "performanceNavigationTiming":_.n(c,67,a[e]);break;case "transactionType":_.n(c,74,ci[a[e]]);break;case "playerRotationType":_.n(c,101,di[a[e]]);break;case "allowedPreroll":_.n(c,10,a[e]);break;case "shownPreroll":_.n(c,11,a[e]);break;case "getHomeRequestId":_.n(c,57,a[e]);break;case "getSearchRequestId":_.n(c,
60,a[e]);break;case "getPlayerRequestId":_.n(c,61,a[e]);break;case "getWatchNextRequestId":_.n(c,62,a[e]);break;case "getBrowseRequestId":_.n(c,63,a[e]);break;case "getLibraryRequestId":_.n(c,66,a[e]);break;default:Rla.includes(h)&&_.jd(new _.ge("Codegen laipb translator asked to translate message field",h))}}catch(l){_.jd(Error("zc`"+h))}}_.ei(c,b)}};
_.ei=function(a,b){_.Cla(b).push(a);_.Ph(b||"").jspbInfo.push(a);var c=Dla(b);b=_.Lh(b).cttAuthInfo;Sh().jspbInfo(a,c,b)};
_.fi=function(a,b,c){b||"_"===a[0]||_.Sla(a,c);_.Ph(c||"").tick[a]=b||(0,_.Yd)();var d=_.Nh(c);d.gelTicks&&(d.gelTicks[a]=!0);d=_.Kh(c);var e=b||(0,_.Yd)();d[a]=e;e=Dla(c);var h=_.Lh(c).cttAuthInfo;"_start"===a?Sh().baseline(e,b,h):Sh().tick(a,e,b,h);_.Hla(c);return d[a]};
_.Sla=function(a,b){_.gi.mark&&(_.hi(a,"mark_")||(a="mark_"+a),b&&(a+=" ("+b+")"),_.gi.mark(a))};
ii=function(a){return{signalAction:{signal:a}}};
Tla=function(){return{style:"STYLE_LIGHT_TEXT",size:"SIZE_DEFAULT",text:_.lh(_.Bg("VIEW_DOWNLOADS",void 0,"View")),loggingDirectives:{clientVeSpec:{uiType:98970}},navigationEndpoint:_.ji}};
_.Ula=function(a,b,c,d){return{popupType:"DIALOG",popup:{confirmDialogRenderer:{title:_.lh(a),confirmButton:{buttonRenderer:{style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:_.lh(b),serviceEndpoint:d?{signalServiceEndpoint:{signal:"CLIENT_SIGNAL",actions:[{signalAction:d}]}}:void 0}},cancelButton:{buttonRenderer:{style:"STYLE_TEXT",size:"SIZE_DEFAULT",text:_.lh(c)}}}}}};
Vla=function(){var a=_.Bg("DOWNLOADED",void 0,"Downloaded");return{popup:{notificationActionRenderer:{responseText:_.lh(a),actionButton:{buttonRenderer:Tla()}}},popupType:"TOAST"}};
Wla=function(){var a=_.x("unavailable_offline_toast_killswitch")?_.Bg("YOU_ARE_OFFLINE",void 0,"You are offline"):_.Bg("UNAVAILABLE_OFFLINE",void 0,"Unavailable offline");return{popup:{notificationActionRenderer:{responseText:_.lh(a),loggingDirectives:{clientVeSpec:{uiType:135356}}}},popupType:"TOAST"}};
Xla=function(){return{title:_.lh(_.Bg("CONNECT_TO_THE_INTERNET",void 0,"Connect to the internet")),bodyText:_.lh(_.Bg("OFFLINE_CHECK_CONNECTION",void 0,"You're offline. Check your connection.")),icon:{iconType:"OFFLINE_NO_CONTENT"},ctaButton:{reloadPageButtonRenderer:{style:"STYLE_SUGGESTIVE",size:"SIZE_SMALL",text:_.lh(_.Bg("RETRY",void 0,"Retry")),loggingDirectives:{clientVeSpec:{uiType:49504}},serviceEndpoint:{signalServiceEndpoint:{signal:"CLIENT_SIGNAL",actions:[ii("SOFT_RELOAD_PAGE")]}}}},style:{value:"BACKGROUND_PROMO_STYLE_TYPE_FULL_HEIGHT"},
loggingDirectives:{clientVeSpec:{uiType:22233}}}};
_.Yla=function(a){a=_.ki(a,2);return"ru"!==_.li&&"es_419"!==_.li&&"es-419"!==_.li&&"es"!==_.li&&"es_US"!==_.li&&"es-US"!==_.li&&"fr"!==_.li&&"pl"!==_.li&&"it"!==_.li&&"nl"!==_.li&&"uk"!==_.li&&"fr_CA"!==_.li&&"fr-CA"!==_.li||""===a?a:a[0].toLocaleUpperCase()+a.substring(1)};
$la=function(a){return function(b){var c=a(),d=_.ki(b,c.dateFormat);b=_.ki(b,c.timeFormat);var e=Zla.DATETIMEFORMATS[c.joinerStyle];e=e.replace(/'(?!')/g,"");e=e.replace("{0}",b);e=e.replace("{1}",d);return c.capitalize(e)}};
_.ama=function(a){return a?"string"===typeof a.seconds&&(void 0===a.nanos||"number"===typeof a.nanos):!1};
_.bma=function(a){return new Date(1E3*Number(a.seconds)+1E-6*(a.nanos||0))};
_.ki=function(a,b){if("function"===typeof a.getTime)a={date:a};else if(_.ama(a))a={date:_.bma(a)};else if(typeof _.ama(a.timestamp)&&"number"===typeof a.i18nInternalSecondsEastOfUtc)a={date:_.bma(a.timestamp),timeZone:_.mi(-a.i18nInternalSecondsEastOfUtc/60)};else throw Error("Bc`"+JSON.stringify(a));var c=a;a=c.date;c=c.timeZone;b=cma(b).format(a,c);"zh-TW"===_.li&&(a=c?Number(cma("H").format(a,c)):a.getHours(),b=5>a?b.replace("\u4e0a\u5348","\u51cc\u6668"):8>a?b.replace("\u4e0a\u5348","\u65e9\u4e0a"):
12>a?b.replace("\u4e0a\u5348","\u4e0a\u5348"):13>a?b.replace("\u4e0b\u5348","\u4e2d\u5348"):19>a?b.replace("\u4e0b\u5348","\u4e0b\u5348"):b.replace("\u4e0b\u5348","\u665a\u4e0a"));return b};
cma=function(a){if(dma.has(a))return dma.get(a);var b=ema(a);b=fma(b);b=new _.ni(b,Zla);dma.set(a,b);return b};
ema=function(a){return(new _.ni(a,Zla)).patternParts_.map(function(b){return 0===b.type?"'"+b.text+"'":b.text}).join("")};
fma=function(a){return"en"===_.li||"es_US"===_.li||"es-US"===_.li?a:a.replace(/(?:a\s?)?([hK]+)([:.]mm)(?:\s?a)?/g,function(b,c,d){return"H".repeat(c.length)+d})};
gma=function(a){return{itemSectionRenderer:{contents:[{backgroundPromoRenderer:a}]}}};
hma=function(a){a.responseContext||(a.responseContext={});a.responseContext.maxAgeSeconds=0;return a};
jma=function(a){var b;return _.y(function(c){return 1==c.nextAddress?_.B(c,ima(a,"service:topbar:fallback"),2):(b=c.yieldResult)&&oi(b)?c.return(hma(oi(b))):c.return()})};
kma=function(a){var b;return _.y(function(c){return 1==c.nextAddress?_.B(c,ima(a,"service:downloads_settings:fallback"),2):(b=c.yieldResult)&&oi(b)?c.return(b):c.return()})};
ima=function(a,b){var c;return _.y(function(d){if(1==d.nextAddress)return a?_.B(d,a.get(b),2):d.return();c=d.yieldResult;return!c||!oi(c)||!isNaN(Number(c.data.expireTimestampMs))&&c.isExpired()?d.return():d.return(c)})};
lma=function(a,b){var c;return _.y(function(d){if(1==d.nextAddress)return _.se(d,2),_.B(d,a,4);if(2!=d.nextAddress)return(c=0<_.rh(b.getState().entities).length)?d.return({title:_.lh(_.Bg("YOU_ARE_OFFLINE",void 0,"You are offline")),bodyText:_.lh(_.Bg("CHECK_CONNECTION_OR_DOWNLOADS",void 0,"Please check your connection or watch your downloaded videos.")),icon:{iconType:"OFFLINE_NO_CONTENT"},ctaButton:{buttonRenderer:{style:"STYLE_SUGGESTIVE",size:"SIZE_SMALL",text:_.lh(_.Bg("GO_TO_DOWNLOADS",void 0,
"Go to downloads")),loggingDirectives:{clientVeSpec:{uiType:49503}},navigationEndpoint:_.ji}},style:{value:"BACKGROUND_PROMO_STYLE_TYPE_FULL_HEIGHT"},loggingDirectives:{clientVeSpec:{uiType:22233}}}):d.return(Xla());_.ue(d);return d.return(Xla())})};
nma=function(a){var b=(a.watchEndpoint||a.reelWatchEndpoint).videoId;if(!b||!mma.test(b))return!1;var c,d;return(a=null==(c=a.commandMetadata)?void 0:null==(d=c.webCommandMetadata)?void 0:d.url)&&a.includes(b)?!0:!1};
_.pi=function(a,b,c){var d={};d.currentUrl=b;d.vis=void 0!==a.vis?a.vis:0;d.splay=!1;_.mg.getInstance();d.autoCaptionsDefaultOn=_.ng(0,66);d.autonavState=_.ng(0,141)?_.ng(0,140)?"STATE_OFF":"STATE_ON":"STATE_NONE";d.html5Preference="HTML5_PREF_WANTS";isNaN(_.w("STS"))||(d.signatureTimestamp=_.w("STS"));a.autonav&&(d.autoplay=!0,d.autonav=!0);a.mutedAutoplay&&(d.autoplay=!0,d.mutedAutoplay=!0,void 0!==a.inlineUnmuted&&(d.isInlineUnmutedPlayback=!!a.inlineUnmuted));d.referer=c;d.lactMilliseconds=void 0!==
a.lact?a.lact.toString():"-1";return d};
_.qi=function(a){if(a&&a.simpleText)return a.simpleText;var b="";if(a&&a.runs)for(var c=0;c<a.runs.length;c++)a.runs[c].text&&(b+=a.runs[c].text);return b};
oma=function(){if(ri)return ri();var a=!_.x("idb_response_store_auth_killswitch"),b={};ri=_.Ke("yt-it-response-store",{objectStores:(b.ResponseStore={addedAtVersion:1},b),shared:!a,upgrade:function(c,d){d(1)&&(c=_.Me(c,"ResponseStore",{keyPath:["key","clientName"]}),Ne(c,"byExpiration","expireTimestampMs"),Ne(c,"byInterface","clientName"))},
version:1});return ri()};
si=function(a){return _.ye(oma(),a)};
qma=function(a,b){var c;return _.y(function(d){return 1==d.nextAddress?_.B(d,_.Ge(),2):(c=d.yieldResult)?d.return(new pma(a,b,c)):d.return()})};
sma=function(a){if(rma)rma(a.message,void 0,void 0,void 0,a);else throw a;};
tma=function(a){a=[].concat(_.sc(a)).sort(function(c,d){return c-d});
var b=Math.floor(a.length/2);return a.length%2?a[b]:(a[b-1]+a[b])/2};
wma=function(a,b){_.Fe("yt.logging.errors.log",_.Qf);window.onerror&&(rma=window.onerror);lia();uma(ria(),b);window.onerror=a;vma=mia;window.addEventListener("unhandledrejection",function(c){if(c.reason instanceof Error){var d=c.reason;_.Sf(d,{source:"unhandledrejection"});"AbortError"===d.name&&(d.level="WARNING")}mia(c.reason);c.preventDefault()})};
xma=function(a,b){a=a&&a.watchEndpointSupportedAuthorizationTokenConfig&&a.watchEndpointSupportedAuthorizationTokenConfig.videoAuthorizationToken&&a.watchEndpointSupportedAuthorizationTokenConfig.videoAuthorizationToken.credentialTransferTokens||[];for(var c=0;c<a.length;++c)if(a[c].scope===b)return a[c].token||void 0};
_.zma=function(){return _.ti?_.ti:window.lottie?_.ti=Promise.resolve(window.lottie):_.ti=new Promise(function(a){var b=document.createElement("script");b.addEventListener("load",function(){a(lottie)});
b.addEventListener("error",function(){_.md(Error("Rc"))});
_.Fb(b,yma);document.head.appendChild(b)})};
_.Ama=function(a){var b,c,d,e,h,l,m,p,r,v,z,A,D,E,J,R,da;return _.y(function(sa){if(1==sa.nextAddress)return _.B(sa,fh(a,{mode:"readonly",enableRetries:!0},function(Ca){return gh(Ca,"playbackData").then(function(ea){var na=ea.map(function(Aa){return Aa.transfer}).filter(function(Aa){return!!Aa}),ma=ea.map(function(Aa){return Aa.offlineVideoPolicy}).filter(function(Aa){return!!Aa});
na=gh(Ca,"transfer",na);ma=gh(Ca,"offlineVideoPolicy",ma);return me.all([na,ma]).then(function(Aa){var $a=_.k(Aa);Aa=$a.next().value;$a=$a.next().value;return[ea,Aa,$a]})})}),2);
b=sa.yieldResult;c=_.k(b);d=c.next().value;e=c.next().value;h=c.next().value;l=d;m=e;p=h;r={};v={};z=_.k(m);for(A=z.next();!A.done;A=z.next())(D=A.value)&&(r[D.key]=D);E=_.k(p);for(J=E.next();!J.done;J=E.next())(R=J.value)&&(v[R.key]=R);da=l.map(function(Ca){var ea=r[Ca.transfer],na=v[Ca.offlineVideoPolicy];Ca=Ug(na.key).entityId;if("OFFLINE_VIDEO_POLICY_ACTION_DISABLE"===na.action){var ma="OFFLINE_VIDEO_STATE_DISABLED";na.expirationTimestamp&&Number(na.expirationTimestamp)<Date.now()/1E3&&(ma="OFFLINE_VIDEO_STATE_EXPIRED");
na=ma}else if("OFFLINE_VIDEO_POLICY_ACTION_DOWNLOAD_FAILED"===na.action)na="OFFLINE_VIDEO_STATE_OFFLINE_FAILED";else{switch(null==ea?void 0:ea.transferState){case "TRANSFER_STATE_TRANSFER_IN_QUEUE":ma="OFFLINE_VIDEO_STATE_PENDING";break;case "TRANSFER_STATE_TRANSFERRING":ma="OFFLINE_VIDEO_STATE_TRANSFERRING";break;case "TRANSFER_STATE_PAUSED_BY_USER":ma="OFFLINE_VIDEO_STATE_PAUSED_TRANSFER";break;case "TRANSFER_STATE_FAILED":ma="OFFLINE_VIDEO_STATE_OFFLINE_FAILED";break;case "TRANSFER_STATE_COMPLETE":ma=
"OFFLINE_VIDEO_STATE_PLAYABLE";break;case "TRANSFER_STATE_WAITING_FOR_PLAYER_RESPONSE_REFRESH":ma="OFFLINE_VIDEO_STATE_STREAMS_OUT_OF_DATE";break;default:ma="OFFLINE_VIDEO_STATE_UNKNOWN"}if("OFFLINE_VIDEO_STATE_OFFLINE_FAILED"===ma)switch(null==ea?void 0:ea.failureReason){case "TRANSFER_FAILURE_REASON_EXTERNAL_FILESYSTEM_WRITE":case "TRANSFER_FAILURE_REASON_FILESYSTEM_WRITE":ma="OFFLINE_VIDEO_STATE_OUT_OF_STORAGE_ERROR";break;case "TRANSFER_FAILURE_REASON_STREAM_MISSING":ma="OFFLINE_VIDEO_STATE_STREAMS_MISSING";
break;case "TRANSFER_FAILURE_REASON_NETWORK":case "TRANSFER_FAILURE_REASON_NETWORK_LOST":ma="OFFLINE_VIDEO_STATE_NETWORK_ERROR"}na=ma}Ca={id:Ca,videoState:na};if(null==ea?0:ea.cotn)Ca.cotn=ea.cotn;if(null==ea?0:ea.maximumDownloadQuality)Ca.selectedVideoQuality=null==ea?void 0:ea.maximumDownloadQuality;return Ca});
return sa.return({offlineVideos:da})})};
Bma=function(){var a;return _.y(function(b){return 1==b.nextAddress?_.B(b,_.ch(),2):(a=b.yieldResult)?b.return(_.Ama(a)):b.return({state:"PES Unavailable"})})};
Ema=function(){var a,b,c,d;return _.y(function(e){if(1==e.nextAddress)return _.B(e,_.ch(),2);if(3!=e.nextAddress)return(a=e.yieldResult)?_.B(e,Cma(a),3):e.return({state:"PES Unavailable"});b=e.yieldResult;c={};d=b.reduce(function(h,l){h[l.key]=l;return h},c);
return e.return(Dma(d))})};
Dma=function(a){for(var b={},c=[],d=_.k(Object.keys(a)),e=d.next();!e.done;e=d.next()){var h=e.value;if((e=a[h])&&"ytMainDownloadedVideoEntity"===e.entityType){delete a[h];var l=e.data;e={};if(l){var m=l.video;h=a;var p="vid-"+m;m&&(m=h[m])&&m.data&&(delete h[m.key],e.video=m.data,delete e.video.formattedDescription,delete e.video.thumbnail,m=m.data,m.videoId&&(p=m.videoId),m.channelOwner&&(m=h[m.channelOwner])&&m.data&&(delete h[m.key],e.video.channelOwner=m.data,delete e.video.channelOwner.avatar));
h=p;(p=l.offlineVideoPolicy)&&(p=a[p])&&p.data&&(delete a[p.key],e.offlineVideoPolicy=p.data);p=l.playbackData;l=a;if(p&&(m=l[p],null!=m&&m.data&&(delete l[p],p=m.data,delete p.playerResponseJson,e.playbackData=p,p.transfer&&(p=l[p.transfer],null==p?0:p.data)))){delete l[p.key];m=p.data;e.transfer=m;p=[];m=_.k(m.offlineVideoStreams||[]);for(var r=m.next();!r.done;r=m.next())if(r=l[r.value])delete l[r.key],p.push(r.data);p&&(e.streams=p)}b[h]=e}}else e&&"offlineOrchestrationActionWrapperEntity"===
e.entityType&&e.data&&(delete a[e.key],h=e.data,l=void 0,c.push({id:h.rootActionId,type:(null==(l=h.actionProto)?void 0:l.actionType)||"",entity:e}))}b.wrapperEntities=c;0<Object.keys(a).length&&(b.unknownKeys=a);return b};
Fma=function(){var a,b,c,d,e,h,l,m,p;return _.y(function(r){if(1==r.nextAddress)return a=!!(new _.Wd("")).expiringStorage_,d=!!(null==(b=_.g.crypto)?0:null==(c=b.subtle)?0:c.importKey),e=!!_.g.BroadcastChannel,h=!!_.g.navigator.locks,_.B(r,_.De(),2);l=r.yieldResult;m=a&&d&&e&&h&&l;p={isSupported:m};if(m)return r.return(p);p.missingBrowserFeatures=[];l||p.missingBrowserFeatures.push("OFFLINE_WEB_CLIENT_BROWSER_FEATURE_INDEXED_DB");a||p.missingBrowserFeatures.push("OFFLINE_WEB_CLIENT_BROWSER_FEATURE_LOCALSTORAGE");
d||p.missingBrowserFeatures.push("OFFLINE_WEB_CLIENT_BROWSER_FEATURE_CRYPTO_EXTENSION");e||p.missingBrowserFeatures.push("OFFLINE_WEB_CLIENT_BROWSER_FEATURE_BROADCAST_CHANNEL");h||p.missingBrowserFeatures.push("OFFLINE_WEB_CLIENT_BROWSER_FEATURE_WEB_LOCKS_API");return r.return(p)})};
Lma=function(){var a,b,c,d,e,h,l,m;_.y(function(p){if(1==p.nextAddress)return a=_.w("HIGH_ENTROPY_HINTS_RECEIVED")||{},_.B(p,navigator.userAgentData.getHighEntropyValues(["architecture","bitness","model","platformVersion","uaFullVersion"]),2);b=p.yieldResult;c=_.zg();a.architecture||(d=new Gma(c),d.increment(!!b.architecture));a.bitness||(e=new Hma(c),e.increment(!!b.bitness));a.fullVersion||(h=new Ima(c),h.increment(!!b.uaFullVersion));a.model||(l=new Jma(c),l.increment(!!b.model));a.platformVersion||
(m=new Kma(c),m.increment(!!b.platformVersion));_.bf(p)})};
Mma=function(){var a=navigator;return new Promise(function(b,c){var d;null!=(d=a.webkitTemporaryStorage)&&d.queryUsageAndQuota?a.webkitTemporaryStorage.queryUsageAndQuota(function(e,h){b({usage:e,quota:h})},function(e){c(e)}):c(Error("Tc"))})};
Oma=function(a,b,c){a={"/youtubei/v1/browse":new ui(a,b,c),"/youtubei/v1/player":new Nma(a,b),"/youtubei/v1/navigation/resolve_url":new vi,"/youtubei/v1/next":new wi(a,b,c),"/youtubei/v1/guide":new xi(c),"/youtubei/v1/search":new yi(a,b,c)};_.x("local_menu_service_killswitch")||(a["/youtubei/v1/account/account_menu"]=new zi,a["/youtubei/v1/notification/get_notification_menu"]=new Ai);return a};
Rma=function(a,b){_.Bi(_.Ci(),function(){_.fi("adl")});
_.Eg().resolve(Pma)(b);a=a.root;a.loadData&&a.loadData(b);(null==b?0:b.response)?_.Di(Cja(),"SUCCESS"):_.Rf(new _.ge("Lifecycle: No response in data",_.fd("IS_SHELL_LOAD"),b?b.page:"NO_PAGE",b?b.endpoint:"NO_ENDPOINT"));a.$["page-manager"].lazyPrepareCriticalPages((null==b?void 0:b.page)||"",b.endpoint);var c,d,e;(null==b?0:null==(c=b.endpoint)?0:null==(d=c.commandMetadata)?0:null==(e=d.webCommandMetadata)?0:e.webPageType)&&_.hh.dispatch(_.Qma(b.endpoint.commandMetadata.webCommandMetadata.webPageType))};
Sma=function(a,b,c){b=void 0===b?{}:b;var d,e,h=null==(d=a.commandMetadata)?void 0:null==(e=d.webCommandMetadata)?void 0:e.url;d=b.form||{};!c||d.element||d.skipDefaultElement||(b.form=b.form||{},b.form.element=c);if(h&&"/service_ajax"!==h)return{type:0,command:a,form:b.form};if(_.x("kevlar_service_command_check")){if(_.Eh(a,_.Ei().endpointMap))return Object.assign({},{type:1,command:a},b)}else{var l,m;if(null==(l=a.commandMetadata)?0:null==(m=l.webCommandMetadata)?0:m.apiUrl)return Object.assign({},
{type:1,command:a},b)}return{type:2,command:a,form:b.form}};
Tma=function(a){if(a.form){var b=a.form,c=Object.assign({},b);b=b.element;c=(delete c.element,c);if(b)return[_.Kg(b,[a.command,c,a.commandController])]}return[]};
Uma=function(a){if(a.form){var b=a.form,c=Object.assign({},b);b=b.element;c=(delete c.element,c);b&&_.Lg(b,[a.command],b,c)}};
Wma=function(a){var b=a.root;Vma(function(c,d){return Sma(c,d,b)},function(c){if(!c.command)return[];
var d;(null==(d=c.form)?0:d.element)?c.form.element.fire("yt-navigate",Object.assign({},c.form,{endpoint:c.command})):b.handleNavigate(c);return[]});
_.Eg().addProvider({provide:_.Fi,useValue:_.Gi.instance})};
Ena=function(){Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(Hi(_.Eg().resolve(_.Ii),Xma),_.Yma),Zma),_.$ma),_.ana),_.bna),_.cna),_.dna),_.ena),_.fna),_.gna),_.hna),_.ina),_.jna),_.kna),_.lna),_.mna),_.nna),_.ona),_.pna),_.qna),rna),_.sna),_.tna),_.una),_.vna),_.wna),_.xna),_.yna),_.zna),_.Ana),_.Bna),_.Cna),_.Dna)};
Hna=function(a,b){_.x("kevlar_enable_mss_lazy_load")&&!_.x("kevlar_enable_mss_page_modules_client")&&_.Eg().resolve(Fna).handleResponse(b.response);var c=_.hh,d,e,h=null==(d=b.response)?void 0:null==(e=d.frameworkUpdates)?void 0:e.entityBatchUpdate,l,m;d=null==(l=b.playerResponse)?void 0:null==(m=l.frameworkUpdates)?void 0:m.entityBatchUpdate;var p,r;l=null==(p=b.reelWatchSequenceResponse)?void 0:null==(r=p.frameworkUpdates)?void 0:r.entityBatchUpdate;h&&_.eh(h,c);d&&_.eh(d,c);l&&_.eh(l,c);h=_.Eg();
c=h.resolve(Ki);h=h.resolve(_.Li);b.endpoint&&(c=Gna(c,b.endpoint),c.content&&b.response&&_.Mi(h,b.response,c.content),c.player&&b.playerResponse&&_.Mi(h,b.playerResponse,c.player),c.reelSequence&&b.reelWatchSequenceResponse&&_.Mi(h,b.reelWatchSequenceResponse,c.reelSequence));Rma(a,b)};
Jna=function(a){var b,c,d,e,h,l,m;return _.y(function(p){switch(p.nextAddress){case 1:b=window;if(!b.getDataPromise){p.jumpTo(2);break}_.se(p,3);return _.B(p,b.getDataPromise(),5);case 5:c=p.yieldResult;Hna(a,c);_.te(p,4);break;case 3:return _.ue(p),d=a.injector.resolve(Ki),e=function(){return 0},h=function(){return!1},_.B(p,Promise.resolve(Ina(d,_.g.location.href,{},document.referrer,e,h)),6);
case 6:l=p.yieldResult,Rma(a,l);case 4:return p.return();case 2:b.getInitialData?(m=b.getInitialData(),b.getInitialData=void 0,Hna(a,m)):b.loadInitialData=function(r){Hna(a,r)},_.bf(p)}})};
Kna=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
Ni="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
Lna=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("a");};
_.t=Lna(this);Oi=function(a,b){if(b)a:{var c=_.t;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&Ni(c,a,{configurable:!0,writable:!0,value:b})}};
Oi("Symbol",function(a){if(a)return a;var b=function(h,l){this.$jscomp$symbol$id_=h;Ni(this,"description",{configurable:!0,writable:!0,value:l})};
b.prototype.toString=function(){return this.$jscomp$symbol$id_};
var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(h){if(this instanceof e)throw new TypeError("b");return new b(c+(h||"")+"_"+d++,h)};
return e});
Oi("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=_.t[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&Ni(d.prototype,a,{configurable:!0,writable:!0,value:function(){return Mna(Kna(this))}})}return a});
Oi("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
Mna=function(a){a={next:a};a[Symbol.iterator]=function(){return this};
return a};
_.Pi=function(a){return a.raw=a};
_.k=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:Kna(a)}};
_.Nna=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c};
_.sc=function(a){return a instanceof Array?a:_.Nna(_.k(a))};
Qi=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Ona="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)Qi(d,e)&&(a[e]=d[e])}return a};
Oi("Object.assign",function(a){return a||Ona});
var Pna="function"==typeof Object.create?Object.create:function(a){var b=function(){};
b.prototype=a;return new b},Qna=function(){function a(){function c(){}
new c;Reflect.construct(c,[],function(){});
return new c instanceof c}
if("undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){void 0===e&&(e=c);
e=Pna(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}(),Rna;
if("function"==typeof Object.setPrototypeOf)Rna=Object.setPrototypeOf;else{var Sna;a:{var Tna={a:!0},Una={};try{Una.__proto__=Tna;Sna=Una.a;break a}catch(a){}Sna=!1}Rna=Sna?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("e`"+a);return a}:null}Ri=Rna;
_.q=function(a,b){a.prototype=Pna(b.prototype);a.prototype.constructor=a;if(Ri)Ri(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.superClass_=b.prototype};
Si=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
Vna=function(a){if(a.isRunning_)throw new TypeError("g");a.isRunning_=!0};
Si.prototype.JSC$32018_next_=function(a){this.yieldResult=a};
var Wna=function(a,b){a.abruptCompletion_={exception:b,isException:!0};a.nextAddress=a.catchAddress_||a.finallyAddress_};
Si.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};
_.B=function(a,b,c){a.nextAddress=c;return{value:b}};
Si.prototype.jumpTo=function(a){this.nextAddress=a};
_.bf=function(a){a.nextAddress=0};
_.se=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)};
_.te=function(a,b,c){a.nextAddress=b;a.catchAddress_=c||0};
_.ue=function(a,b){a.catchAddress_=b||0;b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b};
Xna=function(a){a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=0;a.finallyAddress_=0};
Yna=function(a){var b=a.finallyContexts_.splice(0)[0];(b=a.abruptCompletion_=a.abruptCompletion_||b)?b.isException?a.nextAddress=a.catchAddress_||a.finallyAddress_:void 0!=b.jumpTo&&a.finallyAddress_<b.jumpTo?(a.nextAddress=b.jumpTo,a.abruptCompletion_=null):a.nextAddress=a.finallyAddress_:a.nextAddress=0};
Zna=function(a){this.JSC$32023_context_=new Si;this.program_=a};
aoa=function(a,b){Vna(a.JSC$32023_context_);var c=a.JSC$32023_context_.yieldAllIterator_;if(c)return $na(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.JSC$32023_context_.return);
a.JSC$32023_context_.return(b);return Ti(a)};
$na=function(a,b,c,d){try{var e=b.call(a.JSC$32023_context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("f`"+e);if(!e.done)return a.JSC$32023_context_.isRunning_=!1,e;var h=e.value}catch(l){return a.JSC$32023_context_.yieldAllIterator_=null,Wna(a.JSC$32023_context_,l),Ti(a)}a.JSC$32023_context_.yieldAllIterator_=null;d.call(a.JSC$32023_context_,h);return Ti(a)};
Ti=function(a){for(;a.JSC$32023_context_.nextAddress;)try{var b=a.program_(a.JSC$32023_context_);if(b)return a.JSC$32023_context_.isRunning_=!1,{value:b.value,done:!1}}catch(c){a.JSC$32023_context_.yieldResult=void 0,Wna(a.JSC$32023_context_,c)}a.JSC$32023_context_.isRunning_=!1;if(a.JSC$32023_context_.abruptCompletion_){b=a.JSC$32023_context_.abruptCompletion_;a.JSC$32023_context_.abruptCompletion_=null;if(b.isException)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}};
boa=function(a){this.next=function(b){Vna(a.JSC$32023_context_);a.JSC$32023_context_.yieldAllIterator_?b=$na(a,a.JSC$32023_context_.yieldAllIterator_.next,b,a.JSC$32023_context_.JSC$32018_next_):(a.JSC$32023_context_.JSC$32018_next_(b),b=Ti(a));return b};
this.throw=function(b){Vna(a.JSC$32023_context_);a.JSC$32023_context_.yieldAllIterator_?b=$na(a,a.JSC$32023_context_.yieldAllIterator_["throw"],b,a.JSC$32023_context_.JSC$32018_next_):(Wna(a.JSC$32023_context_,b),b=Ti(a));return b};
this.return=function(b){return aoa(a,b)};
this[Symbol.iterator]=function(){return this}};
coa=function(a){function b(d){return a.next(d)}
function c(d){return a.throw(d)}
return new Promise(function(d,e){function h(l){l.done?d(l.value):Promise.resolve(l.value).then(b,c).then(h,e)}
h(a.next())})};
_.y=function(a){return coa(new boa(new Zna(a)))};
_.Ob=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
Oi("Reflect",function(a){return a?a:{}});
Oi("Reflect.construct",function(){return Qna});
Oi("Reflect.setPrototypeOf",function(a){return a?a:Ri?function(b,c){try{return Ri(b,c),!0}catch(d){return!1}}:null});
Oi("Promise",function(a){function b(){this.batch_=null}
function c(l){return l instanceof e?l:new e(function(m){m(l)})}
if(a&&("undefined"!==typeof _.t.PromiseRejectionEvent||!_.t.Promise||-1===_.t.Promise.toString().indexOf("[native code]")))return a;b.prototype.asyncExecute=function(l){if(null==this.batch_){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(l)};
var d=_.t.setTimeout;b.prototype.asyncExecuteFunction=function(l){d(l,0)};
b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var l=this.batch_;this.batch_=[];for(var m=0;m<l.length;++m){var p=l[m];l[m]=null;try{p()}catch(r){this.asyncThrow_(r)}}}this.batch_=null};
b.prototype.asyncThrow_=function(l){this.asyncExecuteFunction(function(){throw l;})};
var e=function(l){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{l(m.resolve,m.reject)}catch(p){m.reject(p)}};
e.prototype.createResolveAndReject_=function(){function l(r){return function(v){p||(p=!0,r.call(m,v))}}
var m=this,p=!1;return{resolve:l(this.resolveTo_),reject:l(this.JSC$32040_reject_)}};
e.prototype.resolveTo_=function(l){if(l===this)this.JSC$32040_reject_(new TypeError("h"));else if(l instanceof e)this.settleSameAsPromise_(l);else{a:switch(typeof l){case "object":var m=null!=l;break a;case "function":m=!0;break a;default:m=!1}m?this.resolveToNonPromiseObj_(l):this.fulfill_(l)}};
e.prototype.resolveToNonPromiseObj_=function(l){var m=void 0;try{m=l.then}catch(p){this.JSC$32040_reject_(p);return}"function"==typeof m?this.settleSameAsThenable_(m,l):this.fulfill_(l)};
e.prototype.JSC$32040_reject_=function(l){this.settle_(2,l)};
e.prototype.fulfill_=function(l){this.settle_(1,l)};
e.prototype.settle_=function(l,m){if(0!=this.state_)throw Error("i`"+l+"`"+m+"`"+this.state_);this.state_=l;this.result_=m;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};
e.prototype.scheduleUnhandledRejectionCheck_=function(){var l=this;d(function(){if(l.notifyUnhandledRejection_()){var m=_.t.console;"undefined"!==typeof m&&m.error(l.result_)}},1)};
e.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var l=_.t.CustomEvent,m=_.t.Event,p=_.t.dispatchEvent;if("undefined"===typeof p)return!0;"function"===typeof l?l=new l("unhandledrejection",{cancelable:!0}):"function"===typeof m?l=new m("unhandledrejection",{cancelable:!0}):(l=_.t.document.createEvent("CustomEvent"),l.initCustomEvent("unhandledrejection",!1,!0,l));l.promise=this;l.reason=this.result_;return p(l)};
e.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var l=0;l<this.onSettledCallbacks_.length;++l)h.asyncExecute(this.onSettledCallbacks_[l]);this.onSettledCallbacks_=null}};
var h=new b;e.prototype.settleSameAsPromise_=function(l){var m=this.createResolveAndReject_();l.callWhenSettled_(m.resolve,m.reject)};
e.prototype.settleSameAsThenable_=function(l,m){var p=this.createResolveAndReject_();try{l.call(m,p.resolve,p.reject)}catch(r){p.reject(r)}};
e.prototype.then=function(l,m){function p(A,D){return"function"==typeof A?function(E){try{r(A(E))}catch(J){v(J)}}:D}
var r,v,z=new e(function(A,D){r=A;v=D});
this.callWhenSettled_(p(l,r),p(m,v));return z};
e.prototype.catch=function(l){return this.then(void 0,l)};
e.prototype.callWhenSettled_=function(l,m){function p(){switch(r.state_){case 1:l(r.result_);break;case 2:m(r.result_);break;default:throw Error("j`"+r.state_);}}
var r=this;null==this.onSettledCallbacks_?h.asyncExecute(p):this.onSettledCallbacks_.push(p);this.isRejectionHandled_=!0};
e.resolve=c;e.reject=function(l){return new e(function(m,p){p(l)})};
e.race=function(l){return new e(function(m,p){for(var r=_.k(l),v=r.next();!v.done;v=r.next())c(v.value).callWhenSettled_(m,p)})};
e.all=function(l){var m=_.k(l),p=m.next();return p.done?c([]):new e(function(r,v){function z(E){return function(J){A[E]=J;D--;0==D&&r(A)}}
var A=[],D=0;do A.push(void 0),D++,c(p.value).callWhenSettled_(z(A.length-1),v),p=m.next();while(!p.done)})};
return e});
var Ui=function(a,b,c){if(null==a)throw new TypeError("k`"+c);if(b instanceof RegExp)throw new TypeError("l`"+c);return a+""};
Oi("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ui(this,b,"startsWith"),e=d.length,h=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var l=0;l<h&&c<e;)if(d[c++]!=b[l++])return!1;return l>=h}});
Oi("WeakMap",function(a){function b(){}
function c(p){var r=typeof p;return"object"===r&&null!==p||"function"===r}
function d(p){if(!Qi(p,h)){var r=new b;Ni(p,h,{value:r})}}
function e(p){var r=Object[p];r&&(Object[p]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return r(v)})}
if(function(){if(!a||!Object.seal)return!1;try{var p=Object.seal({}),r=Object.seal({}),v=new a([[p,2],[r,3]]);if(2!=v.get(p)||3!=v.get(r))return!1;v.delete(p);v.set(r,4);return!v.has(p)&&4==v.get(r)}catch(z){return!1}}())return a;
var h="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var l=0,m=function(p){this.JSC$32044_id_=(l+=Math.random()+1).toString();if(p){p=_.k(p);for(var r;!(r=p.next()).done;)r=r.value,this.set(r[0],r[1])}};
m.prototype.set=function(p,r){if(!c(p))throw Error("m");d(p);if(!Qi(p,h))throw Error("n`"+p);p[h][this.JSC$32044_id_]=r;return this};
m.prototype.get=function(p){return c(p)&&Qi(p,h)?p[h][this.JSC$32044_id_]:void 0};
m.prototype.has=function(p){return c(p)&&Qi(p,h)&&Qi(p[h],this.JSC$32044_id_)};
m.prototype.delete=function(p){return c(p)&&Qi(p,h)&&Qi(p[h],this.JSC$32044_id_)?delete p[h][this.JSC$32044_id_]:!1};
return m});
Oi("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var m=Object.seal({x:4}),p=new a(_.k([[m,"s"]]));if("s"!=p.get(m)||1!=p.size||p.get({x:4})||p.set({x:4},"t")!=p||2!=p.size)return!1;var r=p.entries(),v=r.next();if(v.done||v.value[0]!=m||"s"!=v.value[1])return!1;v=r.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!r.next().done?!1:!0}catch(z){return!1}}())return a;
var b=new WeakMap,c=function(m){this.data_={};this.JSC$32050_head_=h();this.size=0;if(m){m=_.k(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};
c.prototype.set=function(m,p){m=0===m?0:m;var r=d(this,m);r.list||(r.list=this.data_[r.id]=[]);r.entry?r.entry.value=p:(r.entry={next:this.JSC$32050_head_,previous:this.JSC$32050_head_.previous,head:this.JSC$32050_head_,key:m,value:p},r.list.push(r.entry),this.JSC$32050_head_.previous.next=r.entry,this.JSC$32050_head_.previous=r.entry,this.size++);return this};
c.prototype.delete=function(m){m=d(this,m);return m.entry&&m.list?(m.list.splice(m.index,1),m.list.length||delete this.data_[m.id],m.entry.previous.next=m.entry.next,m.entry.next.previous=m.entry.previous,m.entry.head=null,this.size--,!0):!1};
c.prototype.clear=function(){this.data_={};this.JSC$32050_head_=this.JSC$32050_head_.previous=h();this.size=0};
c.prototype.has=function(m){return!!d(this,m).entry};
c.prototype.get=function(m){return(m=d(this,m).entry)&&m.value};
c.prototype.entries=function(){return e(this,function(m){return[m.key,m.value]})};
c.prototype.keys=function(){return e(this,function(m){return m.key})};
c.prototype.values=function(){return e(this,function(m){return m.value})};
c.prototype.forEach=function(m,p){for(var r=this.entries(),v;!(v=r.next()).done;)v=v.value,m.call(p,v[1],v[0],this)};
c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(m,p){var r=p&&typeof p;"object"==r||"function"==r?b.has(p)?r=b.get(p):(r=""+ ++l,b.set(p,r)):r="p_"+p;var v=m.data_[r];if(v&&Qi(m.data_,r))for(m=0;m<v.length;m++){var z=v[m];if(p!==p&&z.key!==z.key||p===z.key)return{id:r,list:v,index:m,entry:z}}return{id:r,list:v,index:-1,entry:void 0}},e=function(m,p){var r=m.JSC$32050_head_;
return Mna(function(){if(r){for(;r.head!=m.JSC$32050_head_;)r=r.previous;for(;r.next!=r.head;)return r=r.next,{done:!1,value:p(r)};r=null}return{done:!0,value:void 0}})},h=function(){var m={};
return m.previous=m.next=m.head=m},l=0;
return c});
Oi("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ui(this,b,"endsWith");void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
var doa=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var h=a[e];if(b.call(c,h,e,a))return{i:e,v:h}}return{i:-1,v:void 0}};
Oi("Array.prototype.find",function(a){return a?a:function(b,c){return doa(this,b,c).v}});
Oi("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});
Oi("String.prototype.repeat",function(a){return a?a:function(b){var c=Ui(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("o");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
var eoa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var h=c++;return{value:b(h,a[h]),done:!1}}d=!0;return{done:!0,value:void 0}}};
e[Symbol.iterator]=function(){return e};
return e};
Oi("Array.prototype.entries",function(a){return a?a:function(){return eoa(this,function(b,c){return[b,c]})}});
Oi("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});
Oi("Object.setPrototypeOf",function(a){return a||Ri});
Oi("Array.prototype.keys",function(a){return a?a:function(){return eoa(this,function(b){return b})}});
Oi("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(_.k([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),h=e.next();if(h.done||h.value[0]!=c||h.value[1]!=c)return!1;h=e.next();return h.done||h.value[0]==c||4!=h.value[0].x||h.value[1]!=h.value[0]?!1:e.next().done}catch(l){return!1}}())return a;
var b=function(c){this.map_=new Map;if(c){c=_.k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};
b.prototype.add=function(c){c=0===c?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};
b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};
b.prototype.clear=function(){this.map_.clear();this.size=0};
b.prototype.has=function(c){return this.map_.has(c)};
b.prototype.entries=function(){return this.map_.entries()};
b.prototype.values=function(){return this.map_.values()};
b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(h){return c.call(d,h,h,e)})};
return b});
Oi("Array.prototype.values",function(a){return a?a:function(){return eoa(this,function(b,c){return c})}});
Oi("Array.prototype.findIndex",function(a){return a?a:function(b,c){return doa(this,b,c).i}});
Oi("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Qi(b,d)&&c.push([d,b[d]]);return c}});
Oi("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
Oi("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var h=d[c];if(h===b||Object.is(h,b))return!0}return!1}});
Oi("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Ui(this,b,"includes").indexOf(b,c||0)}});
Oi("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(m){return m};
var e=[],h="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof h){b=h.call(b);for(var l=0;!(h=b.next()).done;)e.push(c.call(d,h.value,l++))}else for(h=b.length,l=0;l<h;l++)e.push(c.call(d,b[l],l));return e}});
Oi("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;for(var c=[],d=0;d<this.length;d++){var e=this[d];Array.isArray(e)&&0<b?(e=Array.prototype.flat.call(e,b-1),c.push.apply(c,e)):c.push(e)}return c}});
Oi("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
Oi("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
Oi("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});
var Vi=function(a){return a?a:Array.prototype.fill};
Oi("Int8Array.prototype.fill",Vi);Oi("Uint8Array.prototype.fill",Vi);Oi("Uint8ClampedArray.prototype.fill",Vi);Oi("Int16Array.prototype.fill",Vi);Oi("Uint16Array.prototype.fill",Vi);Oi("Int32Array.prototype.fill",Vi);Oi("Uint32Array.prototype.fill",Vi);Oi("Float32Array.prototype.fill",Vi);Oi("Float64Array.prototype.fill",Vi);Oi("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Qi(b,d)&&c.push(b[d]);return c}});
Oi("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}});
Oi("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;
})})}});
Oi("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
Oi("Reflect.ownKeys",function(a){return a?a:function(b){var c=[],d=Object.getOwnPropertyNames(b);b=Object.getOwnPropertySymbols(b);for(var e=0;e<d.length;e++)("jscomp_symbol_"==d[e].substring(0,14)?b:c).push(d[e]);return c.concat(b)}});
Oi("Object.getOwnPropertyDescriptors",function(a){return a?a:function(b){for(var c={},d=Reflect.ownKeys(b),e=0;e<d.length;e++)c[d[e]]=Object.getOwnPropertyDescriptor(b,d[e]);return c}});
Oi("WeakSet",function(a){if(function(){if(!a||!Object.seal)return!1;try{var c=Object.seal({}),d=Object.seal({}),e=new a([c]);if(!e.has(c)||e.has(d))return!1;e.delete(c);e.add(d);return!e.has(c)&&e.has(d)}catch(h){return!1}}())return a;
var b=function(c){this.map_=new WeakMap;if(c){c=_.k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}};
b.prototype.add=function(c){this.map_.set(c,!0);return this};
b.prototype.has=function(c){return this.map_.has(c)};
b.prototype.delete=function(c){return this.map_.delete(c)};
return b});
Oi("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}
function c(d){return{status:"rejected",reason:d}}
return a?a:function(d){var e=this;d=Array.from(d,function(h){return e.resolve(h).then(b,c)});
return e.all(d)}});
Oi("Math.sign",function(a){return a?a:function(b){b=Number(b);return 0===b||isNaN(b)?b:0<b?1:-1}});
Oi("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("p");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});
Oi("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});
Oi("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
_._DumpException=window._DumpException||function(a){throw a;};
window._DumpException=_._DumpException;
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var foa,goa,Xi,Wi,hoa,ioa,joa,koa,loa;foa=foa||{};_.g=this||self;_.Fe=function(a,b,c){a=a.split(".");c=c||_.g;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};
goa=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;Xi=function(a){if("string"!==typeof a||!a||-1==a.search(goa))throw Error("q");if(!Wi||"goog"!=Wi.type)throw Error("r`"+a);if(Wi.moduleName)throw Error("s");Wi.moduleName=a};
Xi.get=function(){return null};
Wi=null;_.ld=function(a,b){a=a.split(".");b=b||_.g;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};
_.Yi=function(a){a.instance_=void 0;a.getInstance=function(){return a.instance_?a.instance_:a.instance_=new a}};
_.Zi=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"};
_.la=function(a){var b=_.Zi(a);return"array"==b||"object"==b&&"number"==typeof a.length};
_.pa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
_.qa=function(a){return Object.prototype.hasOwnProperty.call(a,hoa)&&a[hoa]||(a[hoa]=++ioa)};
hoa="closure_uid_"+(1E9*Math.random()>>>0);ioa=0;joa=function(a,b,c){return a.call.apply(a.bind,arguments)};
koa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};
_.$i=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?_.$i=joa:_.$i=koa;return _.$i.apply(null,arguments)};
_.aj=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};
_.bj=function(){return Date.now()};
_.cj=function(a,b){function c(){}
c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,h){for(var l=Array(arguments.length-2),m=2;m<arguments.length;m++)l[m-2]=arguments[m];return b.prototype[e].apply(d,l)}};
loa=function(a){return a};
_.moa=function(a){var b=null,c=_.g.trustedTypes;if(!c||!c.createPolicy)return b;try{b=c.createPolicy(a,{createHTML:loa,createScript:loa,createScriptURL:loa})}catch(d){_.g.console&&_.g.console.error(d.message)}return b};
_.cj(_.aa,Error);_.aa.prototype.name="CustomError";
var $ga=function(a){a=a.url;var b=/[?&]dsh=1(&|$)/.test(a);this.isSonicV2OrV3_=!b&&/[?&]ae=1(&|$)/.test(a);this.isSonicV4_=!b&&/[?&]ae=2(&|$)/.test(a);if((this.adurlMatches_=/[?&]adurl=([^&]*)/.exec(a))&&this.adurlMatches_[1]){try{var c=decodeURIComponent(this.adurlMatches_[1])}catch(d){c=null}this.adurl_=c}};
var noa;_.dj=function(){};
_.ej=function(a){return a};
noa=function(a){return function(){throw Error(a);}};
_.fj=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
_.fa=function(a,b){return Array.prototype.indexOf.call(a,b,void 0)};
_.pd=function(a,b,c){Array.prototype.forEach.call(a,b,c)};
_.id=function(a,b,c){return Array.prototype.map.call(a,b,c)};
_.gj=function(a,b,c){return Array.prototype.reduce.call(a,b,c)};
_.hj=function(a,b,c){return Array.prototype.some.call(a,b,c)};
var ooa;_.u={};ooa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");_.u.add=function(a,b,c){if(null!==a&&b in a)throw Error("u`"+b);a[b]=c};
_.u.clear=function(a){for(var b in a)delete a[b]};
_.u.clone=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
_.u.contains=function(a,b){return daa(a,b)};
_.u.containsKey=function(a,b){return null!==a&&b in a};
_.u.containsValue=daa;_.u.create=gaa;_.u.createImmutableView=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
_.u.createSet=haa;_.u.equals=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0};
_.u.every=function(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return!1;return!0};
_.u.extend=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var h=0;h<ooa.length;h++)c=ooa[h],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
_.u.filter=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
_.u.findKey=eaa;_.u.findValue=function(a,b,c){return(b=eaa(a,b,c))&&a[b]};
_.u.forEach=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
_.u.get=function(a,b,c){return null!==a&&b in a?a[b]:c};
_.u.getAllPropertyNames=function(a,b,c){if(!a)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return caa(a);for(var d={};a&&(a!==Object.prototype||b)&&(a!==Function.prototype||c);){for(var e=Object.getOwnPropertyNames(a),h=0;h<e.length;h++)d[e[h]]=!0;a=Object.getPrototypeOf(a)}return caa(d)};
_.u.getAnyKey=function(a){for(var b in a)return b};
_.u.getAnyValue=function(a){for(var b in a)return a[b]};
_.u.getCount=function(a){var b=0,c;for(c in a)b++;return b};
_.u.getKeys=caa;_.u.getSuperClass=function(a){return(a=Object.getPrototypeOf(a.prototype))&&a.constructor};
_.u.getValueByKeys=function(a,b){var c=_.la(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
_.u.getValues=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
_.u.isEmpty=function(a){for(var b in a)return!1;return!0};
_.u.isImmutableView=function(a){return!!Object.isFrozen&&Object.isFrozen(a)};
_.u.map=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d};
_.u.remove=function(a,b){var c;(c=b in a)&&delete a[b];return c};
_.u.set=function(a,b,c){a[b]=c};
_.u.setIfUndefined=function(a,b,c){return b in a?a[b]:a[b]=c};
_.u.setWithReturnValueIfNotSet=function(a,b,c){if(b in a)return a[b];c=c();return a[b]=c};
_.u.some=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1};
_.u.transpose=function(a){var b={},c;for(c in a)b[a[c]]=c;return b};
_.u.unsafeClone=faa;
var poa;_.kb=function(){void 0===poa&&(poa=_.moa("goog#html"));return poa};
var roa,qoa;_.Tf=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===qoa&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=roa};
_.Tf.prototype.implementsGoogStringTypedString=!0;_.Tf.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
_.ij=function(a){return a instanceof _.Tf&&a.constructor===_.Tf&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===roa?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"};
_.jb=function(a){return new _.Tf(qoa,a)};
roa={};qoa={};_.jb("");
_.soa={};_.jj=function(a,b){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=b===_.soa?a:"";this.implementsGoogStringTypedString=!0};
_.jj.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()};
_.mba=function(a){return a instanceof _.jj&&a.constructor===_.jj?a.privateDoNotAccessOrElseSafeScriptWrappedValue_:"type_error:SafeScript"};
_.jj.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()};
var toa;_.Db=function(a,b){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=b===toa?a:""};
_.f=_.Db.prototype;_.f.implementsGoogStringTypedString=!0;_.f.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
_.f.implementsGoogI18nBidiDirectionalString=!0;_.f.getDirection=function(){return 1};
_.f.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};
_.Ab=function(a){return _.jba(a).toString()};
_.jba=function(a){return a instanceof _.Db&&a.constructor===_.Db?a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:"type_error:TrustedResourceUrl"};
_.uoa=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i");toa={};_.kj=function(a){var b=_.kb();a=b?b.createScriptURL(a):a;return new _.Db(a,toa)};
var woa,xoa,yoa,zoa,Aoa,Boa,voa,Doa;_.hi=function(a,b){return 0==a.lastIndexOf(b,0)};
_.Id=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
_.lj=function(a){return/^[\s\xa0]*$/.test(a)};
_.mj=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
_.Coa=function(a){if(!voa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(woa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(xoa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(yoa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(zoa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Aoa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Boa,"&#0;"));return a};
woa=/&/g;xoa=/</g;yoa=/>/g;zoa=/"/g;Aoa=/'/g;Boa=/\x00/g;voa=/[\x00&<>"']/;_.va=function(a,b){return-1!=a.indexOf(b)};
_.nj=function(a,b){return _.va(a.toLowerCase(),b.toLowerCase())};
_.oj=function(a,b){var c=0;a=(0,_.mj)(String(a)).split(".");b=(0,_.mj)(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var h=a[e]||"",l=b[e]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==h[0].length&&0==l[0].length)break;c=Doa(0==h[1].length?0:parseInt(h[1],10),0==l[1].length?0:parseInt(l[1],10))||Doa(0==h[2].length,0==l[2].length)||Doa(h[2],l[2]);h=h[3];l=l[3]}while(0==c)}return c};
Doa=function(a,b){return a<b?-1:a>b?1:0};
var Foa,Eoa;_.pj=function(a,b){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=b===Eoa?a:""};
_.f=_.pj.prototype;_.f.implementsGoogStringTypedString=!0;_.f.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
_.f.implementsGoogI18nBidiDirectionalString=!0;_.f.getDirection=function(){return 1};
_.f.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
_.yb=function(a){return a instanceof _.pj&&a.constructor===_.pj?a.privateDoNotAccessOrElseSafeUrlWrappedValue_:"type_error:SafeUrl"};
Foa=/^data:(.*);base64,[a-z0-9+\/]+=*$/i;_.rj=function(a){a=String(a);a=a.replace(/(%0A|%0D)/g,"");return a.match(Foa)?_.qj(a):null};
_.Goa=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;_.uj=function(a,b){if(a instanceof _.pj)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);if(b&&/^data:/i.test(a)&&(b=_.rj(a)||_.tj,b.getTypedStringValue()==a))return b;_.Goa.test(a)||(a="about:invalid#zClosurez");return _.qj(a)};
Eoa={};_.qj=function(a){return new _.pj(a,Eoa)};
_.tj=_.qj("about:invalid#zClosurez");
_.vj={};_.wj=function(a,b){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=b===_.vj?a:"";this.implementsGoogStringTypedString=!0};
_.wj.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};
_.wj.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
_.Hoa=function(a){return a instanceof _.wj&&a.constructor===_.wj?a.privateDoNotAccessOrElseSafeStyleWrappedValue_:"type_error:SafeStyle"};
_.Ioa=new _.wj("",_.vj);_.Joa=RegExp("^[-,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$");_.Koa=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g");_.Loa=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)","g");
var Moa;Moa={};_.xj=function(a,b,c){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=c===Moa?a:"";this.dir_=b;this.implementsGoogStringTypedString=this.implementsGoogI18nBidiDirectionalString=!0};
_.xj.prototype.getDirection=function(){return this.dir_};
_.xj.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
_.xj.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
_.tb=function(a){return a instanceof _.xj&&a.constructor===_.xj?a.privateDoNotAccessOrElseSafeHtmlWrappedValue_:"type_error:SafeHtml"};
_.Noa=function(a,b){var c=_.kb();a=c?c.createHTML(a):a;return new _.xj(a,b,Moa)};
_.Ooa=new _.xj(_.g.trustedTypes&&_.g.trustedTypes.emptyHTML||"",0,Moa);
_.Jd=function(a,b){return _.Noa(b,null)};
_.ib=function(a,b){return _.kj(b)};
var Roa;_.Poa=_.fj(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=_.tb(_.Ooa);return!b.parentElement});
_.yj=function(a){return _.Qoa("script[nonce]",a)};
Roa=/^[\w+/_-]+[=]{0,2}$/;_.Qoa=function(a,b){b=(b||_.g).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&Roa.test(a)?a:"":""};
_.od=function(a){return encodeURIComponent(String(a))};
_.Ad=function(a){return decodeURIComponent(a.replace(/\+/g," "))};
_.Tea=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};
_.Soa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};
_.zj=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);var c=a.indexOf(".");-1===c&&(c=a.length);var d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+(0,_.Soa)("0",Math.max(0,b-c))+a};
_.yea=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
_.Zc=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
var Uoa,Voa,Woa,$oa,apa,bpa,cpa;_.Toa=function(a,b,c,d,e,h,l){var m="";a&&(m+=a+":");c&&(m+="//",b&&(m+=b+"@"),m+=c,d&&(m+=":"+d));e&&(m+=e);h&&(m+="?"+h);l&&(m+="#"+l);return m};
Uoa=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");_.wd=function(a){return a.match(Uoa)};
Voa=function(a){return a?decodeURI(a):a};
Woa=function(a){a=_.wd(a)[1]||null;!a&&_.g.self&&_.g.self.location&&(a=_.g.self.location.protocol.slice(0,-1));return a?a.toLowerCase():""};
_.xd=function(a){return Voa(_.wd(a)[3]||null)};
_.Ed=function(a){return Voa(_.wd(a)[5]||null)};
_.Gh=function(a){a=_.wd(a);return _.Toa(null,null,null,null,a[5],a[6],a[7])};
_.vh=function(a){var b=a.indexOf("#");return 0>b?a:a.slice(0,b)};
_.yd=function(a,b){a=_.wd(a);b=_.wd(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.Aj=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var h=a[c].substring(0,d);e=a[c].substring(d+1)}else h=a[c];b(h,e?_.Ad(e):"")}}};
_.Xoa=function(a){var b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.slice(0,c),d,a.slice(b)]};
_.Yoa=function(a,b){return b?a?a+"&"+b:b:a};
_.Zoa=function(a,b){if(!b)return a;a=_.Xoa(a);a[1]=_.Yoa(a[1],b);return a[0]+(a[1]?"?"+a[1]:"")+a[2]};
$oa=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)$oa(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+_.od(b)))};
_.Hd=function(a){var b=[],c;for(c in a)$oa(c,a[c],b);return b.join("&")};
_.vd=function(a,b){b=_.Hd(b);return _.Zoa(a,b)};
apa=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var h=a.charCodeAt(b-1);if(38==h||63==h)if(h=a.charCodeAt(b+e),!h||61==h||38==h||35==h)return b;b+=e+1}return-1};
bpa=/#|$/;_.Se=function(a,b){var c=a.search(bpa),d=apa(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return _.Ad(a.slice(d,-1!==e?e:0))};
cpa=/[?&]($|#)/;_.uh=function(a,b){for(var c=a.search(bpa),d=0,e,h=[];0<=(e=apa(a,d,b,c));)h.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);h.push(a.slice(d));return h.join("").replace(cpa,"$1")};
var naa,maa="undefined"!==typeof TextEncoder;
var dpa=function(a){dpa[" "](a);return a};
dpa[" "]=function(){};
_.Bj=function(a,b){try{return dpa(a[b]),!0}catch(c){}return!1};
_.epa=function(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};
var jpa,upa,wpa;_.fpa=_.wa("Opera");_.Cj=_.iaa();_.Ce=_.wa("Edge");_.Dj=_.Ce||_.Cj;_.Ej=_.wa("Gecko")&&!(_.nj(_.ua(),"WebKit")&&!_.wa("Edge"))&&!(_.wa("Trident")||_.wa("MSIE"))&&!_.wa("Edge");_.Fj=_.nj(_.ua(),"WebKit")&&!_.wa("Edge");_.gpa=_.Fj&&_.wa("Mobile");_.Gj=_.wa("Macintosh");_.hpa=_.wa("Windows");_.ipa=_.wa("Linux")||_.wa("CrOS");jpa=_.g.navigator||null;jpa&&_.va(jpa.appVersion||"","X11");_.kpa=_.wa("Android");_.lpa=paa();_.mpa=_.wa("iPad");_.npa=_.wa("iPod");_.opa=_.ya();_.nj(_.ua(),"KaiOS");
var ppa=function(){var a=_.g.document;return a?a.documentMode:void 0},qpa;
a:{var rpa="",spa=function(){var a=_.ua();if(_.Ej)return/rv:([^\);]+)(\)|;)/.exec(a);if(_.Ce)return/Edge\/([\d\.]+)/.exec(a);if(_.Cj)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(_.Fj)return/WebKit\/(\S+)/.exec(a);if(_.fpa)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
spa&&(rpa=spa?spa[1]:"");if(_.Cj){var tpa=ppa();if(null!=tpa&&tpa>parseFloat(rpa)){qpa=String(tpa);break a}}qpa=rpa}_.Hj=qpa;upa={};_.Ij=function(a){return _.epa(upa,a,function(){return 0<=_.oj(_.Hj,a)})};
_.Jj=function(a){return Number(vpa)>=a};
if(_.g.document&&_.Cj){var xpa=ppa();wpa=xpa?xpa:parseInt(_.Hj,10)||void 0}else wpa=void 0;var vpa=wpa;
_.ypa=jaa();_.zpa=paa()||_.wa("iPod");_.Apa=_.wa("iPad");_.Bpa=_.laa();_.Kj=kaa();_.ega=_.xa()&&!_.ya();
var Cpa,Lj,Dpa,Epa;Cpa={};Lj=null;Dpa=_.Ej||_.Fj||"function"==typeof _.g.btoa;_.Ia=function(a,b){void 0===b&&(b=0);Epa();b=Cpa[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,h=0;e<a.length-2;e+=3){var l=a[e],m=a[e+1],p=a[e+2],r=b[l>>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|p>>6];p=b[p&63];c[h++]=r+l+m+p}r=0;p=d;switch(a.length-e){case 2:r=a[e+1],p=b[(r&15)<<2]||d;case 1:a=a[e],c[h]=b[a>>2]+b[(a&3)<<4|r>>4]+p+d}return c.join("")};
_.Xja=function(a,b){if(Dpa&&!b)a=_.g.btoa(a);else{for(var c=[],d=0,e=0;e<a.length;e++){var h=a.charCodeAt(e);255<h&&(c[d++]=h&255,h>>=8);c[d++]=h}a=_.Ia(c,b)}return a};
_.tka=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):_.va("=.",a[b-1])&&(c=_.va("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;_.Fpa(a,function(h){d[e++]=h});
return e!==c?d.subarray(0,e):d};
_.Fpa=function(a,b){function c(p){for(;d<a.length;){var r=a.charAt(d++),v=Lj[r];if(null!=v)return v;if(!_.lj(r))throw Error("I`"+r);}return p}
Epa();for(var d=0;;){var e=c(-1),h=c(0),l=c(64),m=c(64);if(64===m&&-1===e)break;b(e<<2|h>>4);64!=l&&(b(h<<4&240|l>>2),64!=m&&b(l<<6&192|m))}};
Epa=function(){if(!Lj){Lj={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Cpa[c]=d;for(var e=0;e<d.length;e++){var h=d[e];void 0===Lj[h]&&(Lj[h]=e)}}}};
var qaa;qaa="undefined"!==typeof Uint8Array;_.fb={};
var Gpa;_.Ja=function(a,b){if(b!==_.fb)throw Error("J");this.value_=a;if(null!==a&&0===a.length)throw Error("K");};
_.gb=function(){return Gpa||(Gpa=new _.Ja(null,_.fb))};
_.Ja.prototype.isEmpty=function(){return null==this.value_};
_.Ja.prototype.sizeBytes=function(){var a=_.Hpa(this);return a?a.length:0};
_.Hpa=function(a){if(_.fb!==_.fb)throw Error("J");var b=a.value_;b=null==b||_.za(b)?b:"string"===typeof b?_.tka(b):null;return a.value_=b};
var Da=0,Ba=0;
var Ipa=function(a,b){this.JSC$32188_lo=a>>>0;this.JSC$32188_hi=b>>>0},Kpa=function(a){if(!a)return Jpa||(Jpa=new Ipa(0,0));
if(!/^\d+$/.test(a))return null;raa(a);return new Ipa(Da,Ba)},Jpa,Lpa=function(a,b){this.JSC$32190_lo=a>>>0;
this.JSC$32190_hi=b>>>0},Saa=function(a){if(!a)return Mpa||(Mpa=new Lpa(0,0));
if(!/^-?\d+$/.test(a))return null;raa(a);return new Lpa(Da,Ba)},Mpa;
var Npa=function(){this.JSC$32192_buffer_=[]};
Npa.prototype.length=function(){return this.JSC$32192_buffer_.length};
Npa.prototype.end=function(){var a=this.JSC$32192_buffer_;this.JSC$32192_buffer_=[];return a};
var Taa=function(a,b,c){for(;0<c||127<b;)a.JSC$32192_buffer_.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.JSC$32192_buffer_.push(b)},bb=function(a,b){for(;127<b;)a.JSC$32192_buffer_.push(b&127|128),b>>>=7;
a.JSC$32192_buffer_.push(b)},cb=function(a,b){a.JSC$32192_buffer_.push(b>>>0&255);
a.JSC$32192_buffer_.push(b>>>8&255);a.JSC$32192_buffer_.push(b>>>16&255);a.JSC$32192_buffer_.push(b>>>24&255)};
var Opa=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Npa},Nj=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},Zaa=function(a,b){bb(a.encoder_,8*b+2);
b=a.encoder_.end();Nj(a,b);b.push(a.totalLength_);return b},$aa=function(a,b){var c=b.pop();
for(c=a.totalLength_+a.encoder_.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.totalLength_++;b.push(c);a.totalLength_++},Haa=function(a,b){if(b=b.internalUnknownFields_){Nj(a,a.encoder_.end());
for(var c=0;c<b.length;c++)Nj(a,_.Hpa(b[c])||_.Mj||(_.Mj=new Uint8Array(0)))}},Ppa=function(a,b,c){null!=c&&("string"===typeof c&&Kpa(c),bb(a.encoder_,8*b+1),"number"===typeof c?(a=a.encoder_,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,Da=b,Ba=c,cb(a,Da),cb(a,Ba)):(c=Kpa(c),a=a.encoder_,b=c.JSC$32188_hi,cb(a,c.JSC$32188_lo),cb(a,b)))},Xaa=function(a,b,c){bb(a.encoder_,8*b+2);
bb(a.encoder_,c.length);Nj(a,a.encoder_.end());Nj(a,c)};
var Oj={};
var Ea="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol(void 0):void 0;
var Qpa,Pj,Rpa;Pj=Object.freeze(Fa([]));_.Na=function(a){if(_.Ga(a.internalArray_))throw Error("O");};
Rpa="undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.hasInstance;
var Spa;_.Ka=function(a,b){this.JSC$32200_arr_=a;this.valueCtor=b;this.map={};this.arrClean=!1;for(a=this.size=0;a<this.JSC$32200_arr_.length;a++){b=this.JSC$32200_arr_[a];var c=b[0].toString(),d=this.map[c];this.map[c]=b;void 0===d&&this.size++}};
Spa=function(a){if(_.Ga(a.JSC$32200_arr_))throw Error("P");};
_.Ka.prototype.toArrayInternal=function(){if(!this.arrClean){var a=Qj(this);a.sort();for(var b=0;b<a.length;b++)this.JSC$32200_arr_[b]=this.map[a[b]];a.length<this.JSC$32200_arr_.length&&(this.JSC$32200_arr_.length=a.length);this.arrClean=!0;this.size=this.JSC$32200_arr_.length}return this.JSC$32200_arr_};
var Caa=function(a,b){var c=a.valueCtor,d=new _.Ka(Fa([]),c),e;for(e in a.map){var h=a.map[e];c?d.set(h[0],b(Rj(a,h))):d.set(h[0],h[1])}return d};
_.f=_.Ka.prototype;_.f.clear=function(){Spa(this);this.map={};this.size=this.JSC$32200_arr_.length=0;this.arrClean=!0};
_.f.delete=function(a){Spa(this);a=a.toString();return this.map.hasOwnProperty(a)?(delete this.map[a],this.size--,this.arrClean=!1,!0):!1};
_.f.del=function(a){return this.delete(a)};
_.f.entries=function(){var a=[],b=Qj(this);b.sort();for(var c=0;c<b.length;c++){var d=this.map[b[c]];a.push([d[0],Rj(this,d)])}return new Sj(a)};
_.f.keys=function(){var a=[],b=Qj(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.map[b[c]][0]);return new Sj(a)};
_.f.values=function(){var a=[],b=Qj(this);b.sort();for(var c=0;c<b.length;c++)a.push(Rj(this,this.map[b[c]]));return new Sj(a)};
_.f.forEach=function(a,b){var c=Qj(this);c.sort();for(var d=0;d<c.length;d++){var e=this.map[c[d]];a.call(b,Rj(this,e),e[0],this)}};
_.f.set=function(a,b){Spa(this);var c=a.toString(),d=this.map[c];d?d[1]=b:(a=[a,b],this.map[c]=a,this.JSC$32200_arr_.push(a),this.arrClean=!1,this.size++);return this};
var Rj=function(a,b){var c=b[1];a.valueCtor&&(Array.isArray(c)||null==c)&&(c=new a.valueCtor(c),c=b[1]=c,_.Ga(a.JSC$32200_arr_)&&_.Ha(c.internalArray_));return c};
_.Ka.prototype.get=function(a){if(a=this.map[a.toString()])return Rj(this,a)};
_.Ka.prototype.has=function(a){return a.toString()in this.map};
var Qj=function(a){a=a.map;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b};
_.Ka.prototype[Symbol.iterator]=function(){return this.entries()};
var Sj=function(a){this.idx_=0;this.JSC$32203_arr_=a};
Sj.prototype.next=function(){return this.idx_<this.JSC$32203_arr_.length?{done:!1,value:this.JSC$32203_arr_[this.idx_++]}:{done:!0,value:void 0}};
Sj.prototype[Symbol.iterator]=function(){return this};
var Tpa,Upa;Tpa=function(a){return a.internalSparseObject_||(a.internalSparseObject_=a.internalArray_[a.pivot_+a.arrayIndexOffset]={})};
_.ab=function(a,b,c){return-1===b?null:b>=a.pivot_?a.internalSparseObject_?a.internalSparseObject_[b]:void 0:(void 0===c?0:c)&&a.internalSparseObject_&&(c=a.internalSparseObject_[b],null!=c)?c:a.internalArray_[b+a.arrayIndexOffset]};
_.n=function(a,b,c,d,e){d=void 0===d?!1:d;(void 0===e?0:e)||_.Na(a);b<a.pivot_&&!d?a.internalArray_[b+a.arrayIndexOffset]=c:Tpa(a)[b]=c;return a};
_.Qa=function(a,b,c,d){c=void 0===c?!0:c;d=void 0===d?!1:d;var e=_.ab(a,b,d);null==e&&(e=Pj);if(_.Ga(a.internalArray_))c&&(_.Ha(e),Object.freeze(e));else if(e===Pj||_.Ga(e))e=Fa(e.slice()),_.n(a,b,e,d);return e};
_.Tj=function(a,b,c){a=_.ab(a,b);return null==a?c:a};
_.Uj=function(a,b,c){var d=void 0===d?!1:d;return _.n(a,b,null==c?Fa([]):Array.isArray(c)?Fa(c):c,d)};
_.Oa=function(a,b,c){_.n(a,b,void 0,!1,void 0===c?!1:c)};
_.yf=function(a,b,c,d){_.Na(a);(c=_.Sa(a,c))&&c!==b&&null!=d&&(a.internalWrappers_&&c in a.internalWrappers_&&(a.internalWrappers_[c]=void 0),_.n(a,c));return _.n(a,b,d)};
_.Sa=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];null!=_.ab(a,e)&&(0!==c&&_.Oa(a,c,!0),c=e)}return c};
Upa=function(a,b,c){var d=void 0===d?!1:d;_.Na(a);a.internalWrappers_||(a.internalWrappers_={});var e=a.internalWrappers_[c];if(e)return b=e.toMutable(Oj),b!==e&&(_.n(a,c,b.toArrayInternal(),d),a.internalWrappers_[c]=b),b;e=new b(_.ab(a,c,d));_.Ga(e.internalArray_)&&(e=e.toMutable(Oj));_.n(a,c,e.toArrayInternal(),d);return a.internalWrappers_[c]=e};
_.Va=function(a,b,c,d,e){if(-1===c)return null;a.internalWrappers_||(a.internalWrappers_={});var h=a.internalWrappers_[c];if(h)return h;e=_.ab(a,c,void 0===e?!1:e);if(null==e&&!d)return h;b=new b(e);_.Ga(a.internalArray_)&&_.Ha(b.internalArray_);return a.internalWrappers_[c]=b};
_.Ua=function(a,b,c,d){a.internalWrappers_||(a.internalWrappers_={});var e=_.Ga(a.internalArray_),h=a.internalWrappers_[c];if(!h){d=_.Qa(a,c,!0,void 0===d?!1:d);h=[];e=e||_.Ga(d);for(var l=0;l<d.length;l++)h[l]=new b(d[l]),e&&_.Ha(h[l].internalArray_);e&&(_.Ha(h),Object.freeze(h));a.internalWrappers_[c]=h}return h};
_.eb=function(a,b,c,d){d=void 0===d?!1:d;_.Na(a);a.internalWrappers_||(a.internalWrappers_={});var e=c?c.toArrayInternal():c;a.internalWrappers_[b]=c;return _.n(a,b,e,d)};
_.Of=function(a,b,c,d){_.Na(a);a.internalWrappers_||(a.internalWrappers_={});var e=d?d.toArrayInternal():d;a.internalWrappers_[b]=d;return _.yf(a,b,c,e)};
_.db=function(a,b,c,d){d=void 0===d?!1:d;_.Na(a);if(c){var e=Fa([]);for(var h=0;h<c.length;h++)e[h]=c[h].toArrayInternal();a.internalWrappers_||(a.internalWrappers_={});a.internalWrappers_[b]=c}else a.internalWrappers_&&(a.internalWrappers_[b]=void 0),e=Pj;return _.n(a,b,e,d)};
_.Sd=function(a,b,c,d){var e=void 0===e?!1:e;_.Na(a);e=_.Ua(a,c,b,e);c=d?d:new c;a=_.Qa(a,b);e.push(c);a.push(c.toArrayInternal());return c};
_.Vj=function(a,b){return _.Tj(a,b,"")};
_.Ef=function(a,b,c){return _.ab(a,_.Ta(a,c,b))};
_.Wj=function(a,b,c){return _.Pa(a,b,c,"")};
var Vpa=function(a,b,c){a||(a=_.Xj);_.Xj=null;var d=this.constructor.messageId;a||(a=d?[d]:[]);this.arrayIndexOffset=(d?0:-1)-(this.constructor.internalGroupNumberDoNotUse||0);this.internalWrappers_=void 0;this.internalArray_=a;a:{d=this.internalArray_.length;a=d-1;if(d&&(d=this.internalArray_[a],uaa(d))){this.pivot_=a-this.arrayIndexOffset;this.internalSparseObject_=d;break a}void 0!==b&&-1<b?(this.pivot_=Math.max(b,a+1-this.arrayIndexOffset),this.internalSparseObject_=void 0):this.pivot_=Number.MAX_VALUE}if(c)for(b=
0;b<c.length;b++)if(a=c[b],a<this.pivot_)a+=this.arrayIndexOffset,(d=this.internalArray_[a])?Array.isArray(d)&&Fa(d):this.internalArray_[a]=Pj;else{d=Tpa(this);var e=d[a];e?Array.isArray(e)&&Fa(e):d[a]=Pj}};
_.f=Vpa.prototype;_.f.toJSON=function(){var a=this.toArrayInternal();return Qpa?a:_.Ma(a,Aaa)};
_.f.toArrayInternal=function(){return this.internalArray_};
_.f.serialize=function(){Qpa=!0;try{return JSON.stringify(this.toJSON(),Daa)}finally{Qpa=!1}};
_.f.getExtension=function(a){return a.getExtensionFn(this)};
_.f.clone=function(){var a=_.Ma(this.toArrayInternal());_.Xj=a;a=new this.constructor(a);_.Xj=null;Eaa(a,this);return a};
_.f.isMutable=function(a){if(a!==Oj)throw Error("M");return!_.Ga(this.internalArray_)};
_.f.toString=function(){return this.toArrayInternal().toString()};
var Yj=function(){Vpa.apply(this,arguments)};
_.q(Yj,Vpa);Yj.prototype.toMutable=function(){return this};
if(Rpa){var Wpa={};Object.defineProperties(Yj,(Wpa[Symbol.hasInstance]=vaa(function(){throw Error("S");}),Wpa))}
;var Xa,Wa,Jaa,Ypa,Zpa,$pa,aqa,bqa,cqa,dqa,eqa,gqa,Zj,hqa,iqa,jqa,kqa;Xa=Symbol();Wa=Symbol();Jaa=Symbol();_.Xpa=function(a,b){var c=new Opa;Maa(a,c,Laa(b));Nj(c,c.encoder_.end());a=new Uint8Array(c.totalLength_);b=c.blocks_;for(var d=b.length,e=0,h=0;h<d;h++){var l=b[h];a.set(l,e);e+=l.length}c.blocks_=[a];return a};
Ypa=_.Za(function(a,b,c){if(1!==a.nextWireType_)return!1;_.n(b,c,a.JSC$32186_readDouble());return!0},_.Raa);
Zpa=_.Za(function(a,b,c,d){if(1!==a.nextWireType_)return!1;_.yf(b,c,d,a.JSC$32186_readDouble());return!0},_.Raa);
$pa=_.Za(function(a,b,c){if(0!==a.nextWireType_)return!1;_.n(b,c,a.JSC$32186_readInt64());return!0},_.Uaa);
aqa=_.Za(function(a,b,c,d){if(0!==a.nextWireType_)return!1;_.yf(b,c,d,a.JSC$32186_readInt64());return!0},_.Uaa);
bqa=_.Za(function(a,b,c){if(0!==a.nextWireType_)return!1;_.n(b,c,a.JSC$32186_readInt32());return!0},_.Vaa);
cqa=_.Za(function(a,b,c,d){if(0!==a.nextWireType_)return!1;_.yf(b,c,d,a.JSC$32186_readInt32());return!0},_.Vaa);
dqa=_.Za(function(a,b,c){if(1!==a.nextWireType_)return!1;_.n(b,c,a.readFixed64());return!0},function(a,b,c){Ppa(a,c,_.ab(b,c))});
eqa=_.Za(function(a,b,c){if(1!==a.nextWireType_&&2!==a.nextWireType_)return!1;a.readPackableFixed64Into(_.Qa(b,c));return!0},function(a,b,c){b=_.Qa(b,c);
if(null!=b)for(var d=0;d<b.length;d++)Ppa(a,c,b[d])});
_.fqa=_.Za(function(a,b,c){if(0!==a.nextWireType_)return!1;_.n(b,c,a.JSC$32186_readBool());return!0},Waa);
gqa=_.Za(function(a,b,c,d){if(0!==a.nextWireType_)return!1;_.yf(b,c,d,a.JSC$32186_readBool());return!0},Waa);
Zj=_.Za(function(a,b,c){if(2!==a.nextWireType_)return!1;_.n(b,c,a.JSC$32186_readString());return!0},Yaa);
hqa=_.Za(function(a,b,c){if(2!==a.nextWireType_)return!1;a=a.JSC$32186_readString();_.Ra(b,c,a);return!0},function(a,b,c){b=_.Qa(b,c);
if(null!=b)for(var d=0;d<b.length;d++){var e=b[d];null!=e&&Xaa(a,c,oaa(e))}});
iqa=_.Za(function(a,b,c,d){if(2!==a.nextWireType_)return!1;_.yf(b,c,d,a.JSC$32186_readString());return!0},Yaa);
jqa=_.Za(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;a.readMessage(Upa(b,d,c),e);return!0},aba);
_.ak=_.Za(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;a.readMessage(_.Sd(b,c,d),e);return!0},function(a,b,c,d,e){b=_.Ua(b,d,c);
if(null!=b)for(d=0;d<b.length;d++){var h=Zaa(a,c);e(b[d],a);$aa(a,h)}});
kqa=_.Za(function(a,b,c,d,e,h){if(2!==a.nextWireType_)return!1;var l=a.readMessage;(h=_.Sa(b,h))&&h!==c&&_.Oa(b,h);b=Upa(b,d,c);l.call(a,b,e);return!0},aba);
var lqa=function(a,b,c,d){var e=bba,h=cba;this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=e;this.setExtensionFn=h};
var dba=function(a){return a};
_.G=function(){Yj.apply(this,arguments)};
_.q(_.G,Yj);
_.G.prototype.toMutable=function(a){if(a!==Oj)throw Error("M");if(_.Ga(this.internalArray_)){a={copyRepeatedFields:!0};var b=_.Ga(this.internalArray_);if(b&&!a.copyRepeatedFields)throw Error("U");var c=new this.constructor;this.internalUnknownFields_&&(c.internalUnknownFields_=this.internalUnknownFields_.slice());for(var d=this.toArrayInternal(),e=0;e<d.length;e++){var h=d[e];if(e===d.length-1&&uaa(h))for(m in h){var l=+m;Number.isNaN(l)?Tpa(c)[m]=h[m]:eba(this,c,l,h[m],b,a)}else eba(this,c,e-this.arrayIndexOffset,
h,b,a)}var m=c}else m=this;return m};
if(Rpa){var mqa={};Object.defineProperties(_.G,(mqa[Symbol.hasInstance]=vaa(Object[Symbol.hasInstance]),mqa))}
;var nqa=function(a){_.G.call(this,a)};
_.q(nqa,_.G);
_.bk=function(a){_.G.call(this,a)};
_.q(_.bk,_.G);
var ck=function(a){_.G.call(this,a)};
_.q(ck,_.G);ck.messageId="bfkj";
_.dk=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};
_.ek=function(a){this.didDispose=!1;if(a.challenge instanceof ck){var b=_.Vj(a.challenge,4);a=_.Vj(a.challenge,5)}else b=a.program,a=a.globalName;var c=new _.dk;this.vmFunctionsPromise=c.promise;this.syncSnapshotFunction=_.k((0,_.g[a].a)(b,function(d,e){Promise.resolve().then(function(){c.resolve({asyncSnapshotFunction:d,shutdownFunction:e})})},!0)).next().value;
this.setupDonePromise=c.promise.then(function(){})};
_.ek.prototype.snapshot=function(a){if(this.didDispose)throw Error("X");return this.vmFunctionsPromise.then(function(b){var c=b.asyncSnapshotFunction;return new Promise(function(d){c(function(e){d(e)},[a.contentBinding,
a.signedTimestamp])})})};
_.ek.prototype.dispose=function(){this.didDispose=!0;this.vmFunctionsPromise.then(function(a){(a=a.shutdownFunction)&&a()})};
_.ek.prototype.isDisposed=function(){return this.didDispose};
/*

 SPDX-License-Identifier: Apache-2.0
*/
_.mb={};
var ub=function(){},lb=function(a){this.privateDoNotAccessOrElseWrappedResourceUrl=a};
_.q(lb,ub);lb.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()};
var lba=function(){},ob=function(a){this.privateDoNotAccessOrElseWrappedScript=a};
_.q(ob,lba);ob.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedScript.toString()};
_.xb=function(){};
_.qb=function(a){this.privateDoNotAccessOrElseWrappedUrl=a};
_.q(_.qb,_.xb);_.qb.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedUrl};
_.oqa=new _.qb("about:blank",_.mb);_.pqa=new _.qb("about:invalid#zTSz",_.mb);
var oba="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");
try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var qqa=_.Cj||_.Fj;
_.fk=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};
_.f=_.fk.prototype;_.f.clone=function(){return new _.fk(this.x,this.y)};
_.f.equals=function(a){return a instanceof _.fk&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};
_.f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
_.f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
_.f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
_.f.translate=function(a,b){a instanceof _.fk?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};
_.f.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};
_.gk=function(a,b){this.width=a;this.height=b};
_.f=_.gk.prototype;_.f.clone=function(){return new _.gk(this.width,this.height)};
_.f.area=function(){return this.width*this.height};
_.f.aspectRatio=function(){return this.width/this.height};
_.f.isEmpty=function(){return!this.area()};
_.f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
_.f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
_.f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
_.f.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};
var rqa,uqa,tqa;_.hk=function(a,b){return"string"===typeof b?a.getElementById(b):b};
_.Ib=function(a,b){return(b||document).getElementsByTagName(String(a))};
_.ik=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,h=0,l;l=a[h];h++)b==l.nodeName&&(d[e++]=l);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(h=e=0;l=a[h];h++)b=l.className,"function"==typeof b.split&&_.ha(b.split(/\s+/),c)&&(d[e++]=l);d.length=e;return d}return a};
_.sqa=function(a,b){_.u.forEach(b,function(c,d){c&&"object"==typeof c&&c.implementsGoogStringTypedString&&(c=c.getTypedStringValue());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:rqa.hasOwnProperty(d)?a.setAttribute(rqa[d],c):_.hi(d,"aria-")||_.hi(d,"data-")?a.setAttribute(d,c):a[d]=c})};
rqa={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};_.jk=function(a){a=(a||window).document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new _.gk(a.clientWidth,a.clientHeight)};
_.lk=function(a){return a?_.kk(a):window};
_.kk=function(a){return a.parentWindow||a.defaultView};
_.vqa=function(a,b){var c=b[1],d=tqa(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):_.sqa(d,c));2<b.length&&uqa(a,d,b,2);return d};
uqa=function(a,b,c,d){function e(m){m&&b.appendChild("string"===typeof m?a.createTextNode(m):m)}
for(;d<c.length;d++){var h=c[d];if(!_.la(h)||_.pa(h)&&0<h.nodeType)e(h);else{a:{if(h&&"number"==typeof h.length){if(_.pa(h)){var l="function"==typeof h.item||"string"==typeof h.item;break a}if("function"===typeof h){l="function"==typeof h.item;break a}}l=!1}_.pd(l?_.ka(h):h,e)}}};
_.Gb=function(a){return tqa(document,a)};
tqa=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)};
_.mk=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
_.wqa=function(a,b){uqa(_.nk(a),a,arguments,1)};
_.Hb=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
_.xqa=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};
_.ok=function(a){return _.pa(a)&&1==a.nodeType};
_.yqa=function(a){var b;if(qqa&&!(_.Cj&&_.Ij("9")&&!_.Ij("10")&&_.g.SVGElement&&a instanceof _.g.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ok(b)?b:null};
_.qk=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
_.nk=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
_.hf=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};
_.rk=function(a){this.JSC$32303_document_=a||_.g.document||document};
_.f=_.rk.prototype;_.f.getElement=function(a){return _.hk(this.JSC$32303_document_,a)};
_.f.$=_.rk.prototype.getElement;_.f.getElementsByTagName=function(a,b){return(b||this.JSC$32303_document_).getElementsByTagName(String(a))};
_.f.getElementsByTagNameAndClass=function(a,b,c){return _.ik(this.JSC$32303_document_,a,b,c)};
_.f.$$=_.rk.prototype.getElementsByTagNameAndClass;_.f.setProperties=_.sqa;_.f.JSC$32305_createDom=function(a,b,c){return _.vqa(this.JSC$32303_document_,arguments)};
_.f.createElement=function(a){return tqa(this.JSC$32303_document_,a)};
_.f.createTextNode=function(a){return this.JSC$32303_document_.createTextNode(String(a))};
_.f.appendChild=function(a,b){a.appendChild(b)};
_.f.append=_.wqa;_.f.canHaveChildren=_.mk;_.f.removeNode=_.Hb;_.f.getChildren=_.xqa;_.f.getParentElement=_.yqa;_.f.contains=_.qk;
var sk=function(){this.promises={};this.latestInterpreterHash=null},zqa=function(){sk.instance||(sk.instance=new sk);
return sk.instance},Bqa=function(a,b){return Aqa(a,_.Va(b,nqa,1),_.Va(b,_.bk,2),_.Vj(b,3))},Aqa=function(a,b,c,d){var e;
if(!b&&!c)return Promise.resolve();if(!d)return tba(b,c);(e=a.promises)[d]||(e[d]=new Promise(function(h,l){tba(b,c).then(function(){a.latestInterpreterHash=d;h()},function(m){delete a.promises[d];
l(m)})}));
return a.promises[d]};
var Cqa=function(a){this.cellValue_=a};
var Dqa=function(a,b,c){this.JSC$32313_metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};
_.f=Dqa.prototype;_.f.JSC$32315_setCell=function(a){var b=this.getKey_(_.Ob.apply(1,arguments));this.cellMap_.set(b,[new Cqa(a)])};
_.f.getCells=function(){var a=this.getKey_(_.Ob.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
_.f.getCell=function(){var a=this.getCells(_.Ob.apply(0,arguments));return a&&a.length?a[0]:void 0};
_.f.clear=function(){this.cellMap_.clear()};
_.f.getKey_=function(){var a=_.Ob.apply(0,arguments);return a?a.join(","):"key"};
var tk=function(a,b){Dqa.call(this,a,3,b)};
_.q(tk,Dqa);tk.prototype.JSC$32318_incrementCounterBy=function(a){var b=_.Ob.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.JSC$32315_setCell(c+a,b)};
_.uk=function(){this.JSC$32323_disposed_=this.JSC$32323_disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};
_.uk.prototype.JSC$32323_disposed_=!1;_.uk.prototype.isDisposed=function(){return this.JSC$32323_disposed_};
_.uk.prototype.dispose=function(){this.JSC$32323_disposed_||(this.JSC$32323_disposed_=!0,this.disposeInternal())};
_.wk=function(a,b){_.vk(a,_.aj(_.Jb,b))};
_.vk=function(a,b){a.JSC$32323_disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};
_.uk.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};
_.yk=function(a,b){this.type="function"==typeof _.xk&&a instanceof _.xk?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};
_.yk.prototype.stopPropagation=function(){this.propagationStopped_=!0};
_.yk.prototype.preventDefault=function(){this.defaultPrevented=!0};
var qia=function(a){var b=_.ld("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(l){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||_.g.$googDebugFname||b}catch(l){e="Not available",c=!0}b=Eqa(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(null==c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,zk[c])c=zk[c];else{c=String(c);if(!zk[c]){var h=/function\s+([^\(]+)/m.exec(c);zk[c]=h?h[1]:"[Anonymous]"}c=zk[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},Eqa=function(a,b){b||(b={});
b[Fqa(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[Fqa(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=Eqa(a,b));return c},Fqa=function(a){var b="";
"function"===typeof a.toString&&(b=""+a);return b+a.stack},zk={};
_.Gqa=function(){if(!_.g.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
try{_.g.addEventListener("test",function(){},b),_.g.removeEventListener("test",function(){},b)}catch(c){}return a}();
_.Ak=function(a,b){_.yk.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.event_=null;a&&this.init(a,b)};
_.cj(_.Ak,_.yk);var Hqa={2:"touch",3:"pen",4:"mouse"};
_.Ak.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.Ej&&(_.Bj(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.Fj||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.Fj||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===
typeof a.pointerType?a.pointerType:Hqa[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&_.Ak.superClass_.preventDefault.call(this)};
_.Ak.prototype.stopPropagation=function(){_.Ak.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
_.Ak.prototype.preventDefault=function(){_.Ak.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};
var Iqa;Iqa="closure_listenable_"+(1E6*Math.random()|0);_.Bk=function(a){return!(!a||!a[Iqa])};
var Jqa=0;
var Kqa=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Jqa;this.removed=this.callOnce=!1},Ck=function(a){a.removed=!0;
a.listener=null;a.proxy=null;a.src=null;a.handler=null};
var Dk=function(a){this.src=a;this.listeners={};this.typeCount_=0};
Dk.prototype.add=function(a,b,c,d,e){var h=a.toString();a=this.listeners[h];a||(a=this.listeners[h]=[],this.typeCount_++);var l=Lqa(a,b,d,e);-1<l?(b=a[l],c||(b.callOnce=!1)):(b=new Kqa(b,this.src,h,!!d,e),b.callOnce=c,a.push(b));return b};
Dk.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Lqa(e,b,c,d);return-1<b?(Ck(e[b]),_.ia(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};
var Mqa=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=_.ja(a.listeners[c],b);d&&(Ck(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
Dk.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.listeners)if(!a||c==a){for(var d=this.listeners[c],e=0;e<d.length;e++)++b,Ck(d[e]);delete this.listeners[c];this.typeCount_--}return b};
Dk.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Lqa(a,b,c,d));return-1<e?a[e]:null};
Dk.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return _.u.some(this.listeners,function(h){for(var l=0;l<h.length;++l)if(!(c&&h[l].type!=d||e&&h[l].capture!=b))return!0;return!1})};
var Lqa=function(a,b,c,d){for(var e=0;e<a.length;++e){var h=a[e];if(!h.removed&&h.listener==b&&h.capture==!!c&&h.handler==d)return e}return-1};
var Nqa,Oqa,Pqa,Qqa,Rqa,Sqa,Tqa,Uqa;Nqa="closure_lm_"+(1E6*Math.random()|0);Oqa={};Pqa=0;_.Fk=function(a,b,c,d,e){if(d&&d.once)return _.Ek(a,b,c,d,e);if(Array.isArray(b)){for(var h=0;h<b.length;h++)_.Fk(a,b[h],c,d,e);return null}c=_.Gk(c);return _.Bk(a)?a.listen(b,c,_.pa(d)?!!d.capture:!!d,e):Qqa(a,b,c,!1,d,e)};
Qqa=function(a,b,c,d,e,h){if(!b)throw Error("da");var l=_.pa(e)?!!e.capture:!!e,m=_.Hk(a);m||(a[Nqa]=m=new Dk(a));c=m.add(b,c,d,l,h);if(c.proxy)return c;d=Rqa();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)_.Gqa||(e=l),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Sqa(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ea");Pqa++;return c};
Rqa=function(){var a=Tqa,b=function(c){return a.call(b.src,b.listener,c)};
return b};
_.Ek=function(a,b,c,d,e){if(Array.isArray(b)){for(var h=0;h<b.length;h++)_.Ek(a,b[h],c,d,e);return null}c=_.Gk(c);return _.Bk(a)?a.listenOnce(b,c,_.pa(d)?!!d.capture:!!d,e):Qqa(a,b,c,!0,d,e)};
_.Ik=function(a,b,c,d,e){if(Array.isArray(b))for(var h=0;h<b.length;h++)_.Ik(a,b[h],c,d,e);else d=_.pa(d)?!!d.capture:!!d,c=_.Gk(c),_.Bk(a)?a.unlisten(b,c,d,e):a&&(a=_.Hk(a))&&(b=a.getListener(b,c,d,e))&&_.Jk(b)};
_.Jk=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(_.Bk(b))return Mqa(b.eventTargetListeners_,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Sqa(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Pqa--;(c=_.Hk(b))?(Mqa(c,a),0==c.typeCount_&&(c.src=null,b[Nqa]=null)):Ck(a);return!0};
Sqa=function(a){return a in Oqa?Oqa[a]:Oqa[a]="on"+a};
Tqa=function(a,b){if(a.removed)a=!0;else{b=new _.Ak(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&_.Jk(a);a=c.call(d,b)}return a};
_.Hk=function(a){a=a[Nqa];return a instanceof Dk?a:null};
Uqa="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Gk=function(a){if("function"===typeof a)return a;a[Uqa]||(a[Uqa]=function(b){return a.handleEvent(b)});
return a[Uqa]};
_.Kk=function(){_.uk.call(this);this.eventTargetListeners_=new Dk(this);this.actualEventTarget_=this;this.parentEventTarget_=null};
_.cj(_.Kk,_.uk);_.Kk.prototype[Iqa]=!0;_.f=_.Kk.prototype;_.f.setParentEventTarget=function(a){this.parentEventTarget_=a};
_.f.addEventListener=function(a,b,c,d){_.Fk(this,a,b,c,d)};
_.f.removeEventListener=function(a,b,c,d){_.Ik(this,a,b,c,d)};
_.f.dispatchEvent=function(a){var b,c=this.parentEventTarget_;if(c)for(b=[];c;c=c.parentEventTarget_)b.push(c);c=this.actualEventTarget_;var d=a.type||a;if("string"===typeof a)a=new _.yk(a,c);else if(a instanceof _.yk)a.target=a.target||c;else{var e=a;a=new _.yk(d,c);_.u.extend(a,e)}e=!0;if(b)for(var h=b.length-1;!a.propagationStopped_&&0<=h;h--){var l=a.currentTarget=b[h];e=Lk(l,d,!0,a)&&e}a.propagationStopped_||(l=a.currentTarget=c,e=Lk(l,d,!0,a)&&e,a.propagationStopped_||(e=Lk(l,d,!1,a)&&e));if(b)for(h=
0;!a.propagationStopped_&&h<b.length;h++)l=a.currentTarget=b[h],e=Lk(l,d,!1,a)&&e;return e};
_.f.disposeInternal=function(){_.Kk.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};
_.f.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};
_.f.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
_.f.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};
_.f.removeAllListeners=function(a){return this.eventTargetListeners_?this.eventTargetListeners_.removeAll(a):0};
var Lk=function(a,b,c,d){b=a.eventTargetListeners_.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,h=0;h<b.length;++h){var l=b[h];if(l&&!l.removed&&l.capture==c){var m=l.listener,p=l.handler||l.src;l.callOnce&&Mqa(a.eventTargetListeners_,l);e=!1!==m.call(p,d)&&e}}return e&&!d.defaultPrevented};
_.Kk.prototype.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
_.Kk.prototype.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};
var Mk=function(a,b){this.create_=a;this.reset_=b;this.occupants_=0;this.JSC$32360_head_=null};
Mk.prototype.get=function(){if(0<this.occupants_){this.occupants_--;var a=this.JSC$32360_head_;this.JSC$32360_head_=a.next;a.next=null}else a=this.create_();return a};
Mk.prototype.put=function(a){this.reset_(a);100>this.occupants_&&(this.occupants_++,a.next=this.JSC$32360_head_,this.JSC$32360_head_=a)};
var Wqa,Xqa,Vqa;_.Yqa=function(a){a=Vqa(a);"function"!==typeof _.g.setImmediate||_.g.Window&&_.g.Window.prototype&&!_.wa("Edge")&&_.g.Window.prototype.setImmediate==_.g.setImmediate?(Wqa||(Wqa=Xqa()),Wqa(a)):_.g.setImmediate(a)};
Xqa=function(){var a=_.g.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!_.wa("Presto")&&(a=function(){var e=_.Gb("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var h=e.contentWindow;e=h.document;e.open();e.close();var l="callImmediate"+Math.random(),m="file:"==h.location.protocol?"*":h.location.protocol+"//"+h.location.host;e=(0,_.$i)(function(p){if(("*"==m||p.origin==m)&&p.data==l)this.port1.onmessage()},
this);
h.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){h.postMessage(l,m)}}});
if("undefined"!==typeof a&&!_.iaa()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};
return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){_.g.setTimeout(e,0)}};
Vqa=_.ej;
var Zqa=function(){this.workTail_=this.workHead_=null};
Zqa.prototype.add=function(a,b){var c=$qa.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};
Zqa.prototype.remove=function(){var a=null;this.workHead_&&(a=this.workHead_,this.workHead_=this.workHead_.next,this.workHead_||(this.workTail_=null),a.next=null);return a};
var $qa=new Mk(function(){return new ara},function(a){return a.reset()}),ara=function(){this.next=this.scope=this.fn=null};
ara.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};
ara.prototype.reset=function(){this.next=this.scope=this.fn=null};
var Nk,bra,cra,dra,era;_.Ok=function(a,b){Nk||bra();cra||(Nk(),cra=!0);dra.add(a,b)};
bra=function(){if(_.g.Promise&&_.g.Promise.resolve){var a=_.g.Promise.resolve(void 0);Nk=function(){a.then(era)}}else Nk=function(){_.Yqa(era)}};
cra=!1;dra=new Zqa;era=function(){for(var a;a=dra.remove();){try{a.fn.call(a.scope)}catch(b){uba(b)}$qa.put(a)}cra=!1};
var fra;_.Pk=function(a){a.prototype.$goog_Thenable=!0};
fra=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
var gra,hra,ira,lra,rra,vra,tra,vma;_.wf=function(a,b){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=_.dj)try{var c=this;a.call(b,function(d){c.resolve_(2,d)},function(d){c.resolve_(3,d)})}catch(d){this.resolve_(3,d)}};
gra=function(){this.next=this.context=this.onRejected=this.JSC$32375_onFulfilled=this.child=null;this.always=!1};
gra.prototype.reset=function(){this.context=this.onRejected=this.JSC$32375_onFulfilled=this.child=null;this.always=!1};
hra=new Mk(function(){return new gra},function(a){a.reset()});
ira=function(a,b,c){var d=hra.get();d.JSC$32375_onFulfilled=a;d.onRejected=b;d.context=c;return d};
_.Mg=function(a){if(a instanceof _.wf)return a;var b=new _.wf(_.dj);b.resolve_(2,a);return b};
_.Qk=function(a){return new _.wf(function(b,c){c(a)})};
_.kra=function(a,b,c){jra(a,b,c,null)||_.Ok(_.aj(b,a))};
_.Rk=function(a){return new _.wf(function(b,c){var d=a.length,e=[];if(d)for(var h=function(r,v){d--;e[r]=v;0==d&&b(e)},l=function(r){c(r)},m=0,p;m<a.length;m++)p=a[m],_.kra(p,_.aj(h,m),l);
else b(e)})};
lra=function(a){return new _.wf(function(b){var c=a.length,d=[];if(c)for(var e=function(m,p,r){c--;d[m]=p?{fulfilled:!0,value:r}:{fulfilled:!1,reason:r};0==c&&b(d)},h=0,l;h<a.length;h++)l=a[h],_.kra(l,_.aj(e,h,!0),_.aj(e,h,!1));
else b(d)})};
_.Sk=function(){var a,b,c=new _.wf(function(d,e){a=d;b=e});
return new mra(c,a,b)};
_.wf.prototype.then=function(a,b,c){return nra(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};
_.Pk(_.wf);_.Tk=function(a,b){b=ira(b,b);b.always=!0;ora(a,b);return a};
_.wf.prototype.thenCatch=function(a,b){return nra(this,null,a,b)};
_.wf.prototype.catch=_.wf.prototype.thenCatch;_.wf.prototype.cancel=function(a){if(0==this.state_){var b=new _.Uk(a);_.Ok(function(){pra(this,b)},this)}};
var pra=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,h=null,l=c.callbackEntries_;l&&(l.always||(d++,l.child==a&&(e=l),!(e&&1<d)));l=l.next)e||(h=l);e&&(0==c.state_&&1==d?pra(c,b):(h?(d=h,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):qra(c),rra(c,e,3,b)))}a.parent_=null}else a.resolve_(3,b)},ora=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||sra(a);
a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=b;a.callbackEntriesTail_=b},nra=function(a,b,c,d){var e=ira(null,null,null);
e.child=new _.wf(function(h,l){e.JSC$32375_onFulfilled=b?function(m){try{var p=b.call(d,m);h(p)}catch(r){l(r)}}:h;
e.onRejected=c?function(m){try{var p=c.call(d,m);void 0===p&&m instanceof _.Uk?l(m):h(p)}catch(r){l(r)}}:l});
e.child.parent_=a;ora(a,e);return e.child};
_.wf.prototype.unblockAndFulfill_=function(a){this.state_=0;this.resolve_(2,a)};
_.wf.prototype.unblockAndReject_=function(a){this.state_=0;this.resolve_(3,a)};
_.wf.prototype.resolve_=function(a,b){0==this.state_&&(this===b&&(a=3,b=new TypeError("fa")),this.state_=1,jra(b,this.unblockAndFulfill_,this.unblockAndReject_,this)||(this.result_=b,this.state_=a,this.parent_=null,sra(this),3!=a||b instanceof _.Uk||tra(this,b)))};
var jra=function(a,b,c,d){if(a instanceof _.wf)return ora(a,ira(b||_.dj,c||null,d)),!0;if(fra(a))return a.then(b,c,d),!0;if(_.pa(a))try{var e=a.then;if("function"===typeof e)return ura(a,e,b,c,d),!0}catch(h){return c.call(d,h),!0}return!1},ura=function(a,b,c,d,e){var h=!1,l=function(p){h||(h=!0,c.call(e,p))},m=function(p){h||(h=!0,d.call(e,p))};
try{b.call(a,l,m)}catch(p){m(p)}},sra=function(a){a.executing_||(a.executing_=!0,_.Ok(a.executeCallbacks_,a))},qra=function(a){var b=null;
a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};
_.wf.prototype.executeCallbacks_=function(){for(var a;a=qra(this);)rra(this,a,this.state_,this.result_);this.executing_=!1};
rra=function(a,b,c,d){if(3==c&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,vra(b,c,d);else try{b.always?b.JSC$32375_onFulfilled.call(b.context):vra(b,c,d)}catch(e){vma.call(null,e)}hra.put(b)};
vra=function(a,b,c){2==b?a.JSC$32375_onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
tra=function(a,b){a.hadUnhandledRejection_=!0;_.Ok(function(){a.hadUnhandledRejection_&&vma.call(null,b)})};
vma=uba;_.Uk=function(a){_.aa.call(this,a)};
_.cj(_.Uk,_.aa);_.Uk.prototype.name="cancel";var mra=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};
_.Vk=function(a,b){_.Kk.call(this);this.JSC$32387_interval_=a||1;this.timerObject_=b||_.g;this.boundTick_=(0,_.$i)(this.tick_,this);this.last_=_.bj()};
_.cj(_.Vk,_.Kk);_.f=_.Vk.prototype;_.f.enabled=!1;_.f.JSC$32389_timer_=null;_.f.setInterval=function(a){this.JSC$32387_interval_=a;this.JSC$32389_timer_&&this.enabled?(this.stop(),this.start()):this.JSC$32389_timer_&&this.stop()};
_.f.tick_=function(){if(this.enabled){var a=_.bj()-this.last_;0<a&&a<.8*this.JSC$32387_interval_?this.JSC$32389_timer_=this.timerObject_.setTimeout(this.boundTick_,this.JSC$32387_interval_-a):(this.JSC$32389_timer_&&(this.timerObject_.clearTimeout(this.JSC$32389_timer_),this.JSC$32389_timer_=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
_.f.start=function(){this.enabled=!0;this.JSC$32389_timer_||(this.JSC$32389_timer_=this.timerObject_.setTimeout(this.boundTick_,this.JSC$32387_interval_),this.last_=_.bj())};
_.f.stop=function(){this.enabled=!1;this.JSC$32389_timer_&&(this.timerObject_.clearTimeout(this.JSC$32389_timer_),this.JSC$32389_timer_=null)};
_.f.disposeInternal=function(){_.Vk.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
_.Wk=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.$i)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.$i)(a.handleEvent,a);else throw Error("ga");return 2147483647<Number(b)?-1:_.g.setTimeout(a,b||0)};
_.Xk=function(a){_.g.clearTimeout(a)};
var $ja=function(){this.streamzLogger_=new wra;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.invocationLimit=100;this.flushInterval=3E4;this.JSC$32393_flushTimer=new _.Vk(this.flushInterval);this.JSC$32393_flushTimer.listen("tick",this.snapshotAndFlush,!1,this);this.sendIsolatedPayload_=!1};
_.f=$ja.prototype;_.f.sendIsolatedPayload=function(a){this.sendIsolatedPayload_=a;this.invocationLimit=1};
_.f.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(_.sc(a)).filter(function(b){return b.cellMap_.size});
a.length&&this.streamzLogger_.flush(a,this.sendIsolatedPayload_);xra(a);this.invocationCount=0;this.JSC$32393_flushTimer.enabled&&this.JSC$32393_flushTimer.stop()};
_.f.addNewCounter=function(a){var b=_.Ob.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new tk(a,b))};
_.f.JSC$32395_incrementCounter=function(a){this.JSC$32395_incrementCounterBy.apply(this,[a,1].concat(_.sc(_.Ob.apply(1,arguments))))};
_.f.JSC$32395_incrementCounterBy=function(a,b){var c=_.Ob.apply(2,arguments),d;(d=this.disabledMetrics_.has(a)?void 0:this.metricMap.get(a))&&d instanceof tk&&(d.JSC$32318_incrementCounterBy(b,c),this.JSC$32393_flushTimer.enabled||this.JSC$32393_flushTimer.start(),this.invocationCount++,this.invocationCount>=this.invocationLimit&&this.snapshotAndFlush())};
_.f.record=function(){this.disabledMetrics_.has(void 0)||this.metricMap.get(void 0)};
var xra=function(a){for(var b=0;b<a.length;b++)a[b].clear()};
var Gma=function(a){this.JSC$32451_streamzService_=a;this.JSC$32451_streamzService_.addNewCounter("/client_streamz/youtube/web/clienthint/architecture_available",{field_type:1,field_name:"available"})};
Gma.prototype.increment=function(a){this.JSC$32451_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/clienthint/architecture_available",a)};
var Hma=function(a){this.JSC$32454_streamzService_=a;this.JSC$32454_streamzService_.addNewCounter("/client_streamz/youtube/web/clienthint/bitness_available",{field_type:1,field_name:"available"})};
Hma.prototype.increment=function(a){this.JSC$32454_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/clienthint/bitness_available",a)};
var Ima=function(a){this.JSC$32457_streamzService_=a;this.JSC$32457_streamzService_.addNewCounter("/client_streamz/youtube/web/clienthint/full_version_available",{field_type:1,field_name:"available"})};
Ima.prototype.increment=function(a){this.JSC$32457_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/clienthint/full_version_available",a)};
var Jma=function(a){this.JSC$32460_streamzService_=a;this.JSC$32460_streamzService_.addNewCounter("/client_streamz/youtube/web/clienthint/model_available",{field_type:1,field_name:"available"})};
Jma.prototype.increment=function(a){this.JSC$32460_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/clienthint/model_available",a)};
var Kma=function(a){this.JSC$32463_streamzService_=a;this.JSC$32463_streamzService_.addNewCounter("/client_streamz/youtube/web/clienthint/platform_version_available",{field_type:1,field_name:"available"})};
Kma.prototype.increment=function(a){this.JSC$32463_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/clienthint/platform_version_available",a)};
_.Yk=document;_.Zk=window;
_.jb("csi.gstatic.com");_.jb("googleads.g.doubleclick.net");_.jb("partner.googleadservices.com");_.jb("pubads.g.doubleclick.net");_.jb("securepubads.g.doubleclick.net");_.jb("tpc.googlesyndication.com");
_.yra=_.fj(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
_.g.addEventListener("test",null,b)}catch(c){}return a});
var Ara,zra,Bra,Cra;_.$k=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)};
Ara=function(){var a=[];_.$k(zra,function(b){a.push(b)});
return a};
zra={ALLOW_FORMS:"allow-forms",ALLOW_MODALS:"allow-modals",ALLOW_ORIENTATION_LOCK:"allow-orientation-lock",ALLOW_POINTER_LOCK:"allow-pointer-lock",ALLOW_POPUPS:"allow-popups",ALLOW_POPUPS_TO_ESCAPE_SANDBOX:"allow-popups-to-escape-sandbox",ALLOW_PRESENTATION:"allow-presentation",ALLOW_SAME_ORIGIN:"allow-same-origin",ALLOW_SCRIPTS:"allow-scripts",ALLOW_TOP_NAVIGATION:"allow-top-navigation",ALLOW_TOP_NAVIGATION_BY_USER_ACTIVATION:"allow-top-navigation-by-user-activation"};Bra=_.fj(function(){return Ara()});
Cra=function(){var a=_.al("IFRAME"),b={};_.pd(Bra(),function(c){a.sandbox&&a.sandbox.supports&&a.sandbox.supports(c)&&(b[c]=!0)});
return b};
_.al=function(a,b){b=void 0===b?document:b;return b.createElement(String(a).toLowerCase())};
_.bl=function(a,b,c,d){this.allowedElements=a;this.elementPolicies=b;this.allowedGlobalAttributes=c;this.globalAttributePolicies=d};
_.Dra=new _.bl(new Set("ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER".split(" ")),new Map([["A",
new Map([["href",{policyAction:2}]])],["AREA",new Map([["href",{policyAction:2}]])],["LINK",new Map([["href",{policyAction:2,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{policyAction:2}]])],["IMG",new Map([["src",{policyAction:2}]])],["VIDEO",new Map([["src",{policyAction:2}]])],["AUDIO",new Map([["src",{policyAction:2}]])]]),
new Set("title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" ")),
new Map([["dir",{policyAction:3,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:3,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:2}],["loading",{policyAction:3,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:2}],["target",{policyAction:3,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));
var vba;vba=function(a){this.isValid=a};
_.wba=[Lb("data"),Lb("http"),Lb("https"),Lb("mailto"),Lb("ftp"),new vba(function(a){return/^[^:]*([/?#]|$)/.test(a)})];
_.Era=function(a){this.JSC$32492_sanitizerTable=a;this.changes=[];if(_.mb!==_.mb)throw Error("Y");};
_.Fra=new _.Era(_.Dra);
var Gra=(new Date).getTime();
var Hra=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("la`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==
c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("ma`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};
var Ira="client_dev_mss_url client_dev_regex_map client_dev_root_url client_rollout_override expflag jsfeat jsmode mods".split(" ");_.sc(Ira);
var Kra=function(a,b,c){var d=String(_.g.location.href);return d&&a&&b?[b,Jra(Hra(d),a,c||null)].join(" "):null},Jra=function(a,b,c){var d=[],e=[];
if(1==(Array.isArray(c)?2:1))return e=[b,a],_.pd(d,function(m){e.push(m)}),Lra(e.join(" "));
var h=[],l=[];_.pd(c,function(m){l.push(m.key);h.push(m.value)});
c=Math.floor((new Date).getTime()/1E3);e=0==h.length?[c,b,a]:[h.join(":"),c,b,a];_.pd(d,function(m){e.push(m)});
a=Lra(e.join(" "));a=[c,a];0==l.length||a.push(l.join(""));return a.join("_")},Lra=function(a){var b=xba();
b.update(a);return b.digestString().toLowerCase()};
var Mra={};
var dl;_.cl=function(a){this.JSC$32516_document_=a||{cookie:""}};
_.f=_.cl.prototype;_.f.isEnabled=function(){if(!_.g.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.f.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var h=c.domain||void 0;var l=c.path||void 0;var m=c.maxAge}if(/[;=\s]/.test(a))throw Error("na`"+a);if(/[;\r\n]/.test(b))throw Error("oa`"+b);void 0===m&&(m=-1);c=h?";domain="+h:"";l=l?";path="+l:"";d=d?";secure":"";m=0>m?"":0==m?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*m)).toUTCString();this.JSC$32516_document_.cookie=a+"="+b+c+l+m+d+(null!=e?";samesite="+e:"")};
_.f.get=function(a,b){for(var c=a+"=",d=(this.JSC$32516_document_.cookie||"").split(";"),e=0,h;e<d.length;e++){h=(0,_.mj)(d[e]);if(0==h.lastIndexOf(c,0))return h.slice(c.length);if(h==a)return""}return b};
_.f.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};
_.f.getKeys=function(){return dl(this).keys};
_.f.getValues=function(){return dl(this).values};
_.f.isEmpty=function(){return!this.JSC$32516_document_.cookie};
_.f.getCount=function(){return this.JSC$32516_document_.cookie?(this.JSC$32516_document_.cookie||"").split(";").length:0};
_.f.containsKey=function(a){return void 0!==this.get(a)};
_.f.containsValue=function(a){for(var b=dl(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};
_.f.clear=function(){for(var a=dl(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
dl=function(a){a=(a.JSC$32516_document_.cookie||"").split(";");for(var b=[],c=[],d,e,h=0;h<a.length;h++)e=(0,_.mj)(a[h]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
_.Kd=new _.cl("undefined"==typeof document?null:document);
var Nra,Pra;Nra=function(a){return!!Mra.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};
_.Ora=function(a){a=void 0===a?!1:a;var b=_.g.__SAPISID||_.g.__APISID||_.g.__3PSAPISID||_.g.__OVERRIDE_SID;Nra(a)&&(b=b||_.g.__1PSAPISID);if(b)return!0;var c=new _.cl(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Nra(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};
Pra=function(a,b,c,d){(a=_.g[a])||(a=(new _.cl(document)).get(b));return a?Kra(a,c,d):null};
_.Ud=function(a){var b=void 0===b?!1:b;var c=Hra(String(_.g.location.href)),d=[];if(_.Ora(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.g.__SAPISID:_.g.__APISID;e||(e=new _.cl(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Kra(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Nra(b)&&((b=Pra("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Pra("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
var el=function(){this.keys_={};this.urlPrefix_="";this.JSC$32524_queryData_={}};
el.prototype.toString=function(){var a=this.urlPrefix_+Qra(this),b=_.Hd(this.JSC$32524_queryData_),c="";""!=b&&(c="?"+b);return a+c};
var Qra=function(a){var b=[],c=(0,_.$i)(function(d){void 0!==this.keys_[d]&&b.push(d+"="+this.keys_[d])},a);
"1"==fl(a,"md")?(c("md"),c("k"),c("ck"),c("am"),c("rs"),c("gssmodulesetproto")):(c("sdch"),c("k"),c("ck"),c("am"),c("rt"),"d"in a.keys_||gl(a,"d","0"),c("d"),c("exm"),c("excm"),c("esmo"),(a.keys_.excm||a.keys_.exm)&&b.push("ed=1"),c("im"),c("dg"),c("sm"),"1"==fl(a,"br")&&c("br"),""!==Rra(a)&&c("wt"),c("gssmodulesetproto"),c("rs"),c("ee"),c("cb"),c("m"));return b.join("/")},fl=function(a,b){return a.keys_[b]?a.keys_[b]:null},gl=function(a,b,c){c?a.keys_[b]=c:delete a.keys_[b]},Sra=function(a,b){a.urlPrefix_=
b},Tra=function(a){return(a=fl(a,"m"))?a.split(","):[]},Rra=function(a){switch(fl(a,"wt")){case "0":return"0";
case "1":return"1";case "2":return"2";default:return""}},Ura=function(a,b){gl(a,"ee",Object.keys(b).filter(function(c){return!!Object.keys(b[c]).length}).map(function(c){return c+":"+Object.keys(b[c]).join(",")}).join(";"))};
el.prototype.getMetadata=function(){return"1"==fl(this,"md")};
var Vra=function(a){delete a.keys_.m;delete a.keys_.exm;delete a.keys_.ed};
el.prototype.clone=function(){return hl(this.toString())};
var hl=function(a,b){b=void 0===b?!0:b;var c=Wra(a),d=new el,e=_.wd(c)[5];_.u.forEach(Xra,function(l){var m=e.match("/"+l+"=([^/]+)");m&&gl(d,l,m[1])});
var h=-1!=a.indexOf("_/ss/")?"_/ss/":"_/js/";Sra(d,a.substr(0,a.indexOf(h)+h.length));if(!b)return d;(a=_.wd(c)[6]||null)&&_.Aj(a,function(l,m){d.JSC$32524_queryData_[l]=m});
return d},Yra=function(a){a=_.Ed(Wra(a));
return null!==a&&!!a.match("(/_/js/)|(/_/ss/)")&&!!a.match("/k=")},Wra=function(a){return a.startsWith("https://uberproxy-pen-redirect.corp.google.com/uberproxy/pen?url=")?a.substr(65):a},Xra={ROW_KEY:"k",
CSS_ROW_KEY:"ck",MODULES:"m",EXCLUDED_MODULES:"exm",EXCLUDED_CSS_MODULES:"excm",EXCLUDE_SYNTHETIC_MODULE_OVERHEAD:"esmo",ACTIVE_MODS:"am",RESPONSE_TYPE:"rt",INCLUDE_DEPS:"d",EXCLUDED_DEPS:"ed",SPEC_VERSION:"sv",DEOBFUSCATION_VERSION:"deob",CALLBACK:"cb",SIGNATURE:"rs",SDCH:"sdch",INSERT_MARKERS:"im",DEPENDENCY_GRAPH:"dg",ENABLE_BROTLI_ENCODING:"br",WRAP_IN_TRY:"wt",EXTRA_EDGES:"ee",SOURCE_MAP:"sm",METADATA:"md",GSS_MODULE_SET_PROTO:"gssmodulesetproto"},Zra=RegExp("^loaded_[_\\d]+$");
Xi=Xi||{};
var il=function(){_.uk.call(this)};
_.cj(il,_.uk);il.prototype.initialize=function(){};
var $ra=function(a,b){this.fn_=a;this.handler_=b};
$ra.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};
$ra.prototype.abort=function(){this.handler_=this.fn_=null};
var jl=function(a,b){_.uk.call(this);this.deps_=a;this.JSC$32533_id_=b;this.onloadCallbacks_=[];this.JSC$32533_onErrorCallbacks_=[];this.earlyOnloadCallbacks_=[]};
_.cj(jl,_.uk);jl.prototype.moduleConstructor_=il;jl.prototype.module_=null;jl.prototype.getId=function(){return this.JSC$32533_id_};
jl.prototype.registerCallback=function(a,b){return asa(this.onloadCallbacks_,a,b)};
var bsa=function(a,b){asa(a.JSC$32533_onErrorCallbacks_,b)},asa=function(a,b,c){b=new $ra(b,c);
a.push(b);return b};
jl.prototype.isLoaded=function(){return!!this.module_};
jl.prototype.onLoad=function(a){var b=new this.moduleConstructor_;b.initialize(a());this.module_=b;b=(b=!!csa(this.earlyOnloadCallbacks_,a()))||!!csa(this.onloadCallbacks_,a());b||(this.JSC$32533_onErrorCallbacks_.length=0);return b};
jl.prototype.onError=function(a){(a=csa(this.JSC$32533_onErrorCallbacks_,a))&&_.g.setTimeout(noa("Module errback failures: "+a),0);this.earlyOnloadCallbacks_.length=0;this.onloadCallbacks_.length=0};
var csa=function(a,b){for(var c=[],d=0;d<a.length;d++)try{a[d].execute(b)}catch(e){uba(e),c.push(e)}a.length=0;return c.length?c:null};
jl.prototype.disposeInternal=function(){jl.superClass_.disposeInternal.call(this);_.Jb(this.module_)};
var dsa=function(){this.JSC$32536_loader_=null};
_.f=dsa.prototype;_.f.setBatchModeEnabled=function(){};
_.f.setAllModuleInfoString=function(){};
_.f.removeExtraEdge=function(){throw Error("ra");};
_.f.getModuleContext=function(){return null};
_.f.isActive=function(){return!1};
_.f.isUserActive=function(){return!1};
_.f.registerCallback=function(){};
var zba;_.Qb=null;_.Rb=null;zba=[];
var esa=function(a,b){this.serviceId_=a;this.moduleId_=b||null};
esa.prototype.toString=function(){return this.serviceId_};
esa.prototype.getModuleId=function(){return this.moduleId_};
var fsa=function(a){if(Rpa){var b={};Object.defineProperties(a,(b[Symbol.hasInstance]=vaa(Object[Symbol.hasInstance]),b))}};
/*

 Copyright 2011 Google LLC.
 SPDX-License-Identifier: Apache-2.0
*/
var isa=function(a){gsa[a]||(gsa[a]=new hsa(a))},hsa=function(a){this.xid_=a};
hsa.prototype.toString=function(){return this.xid_};
var gsa={};
/*

 Copyright 2013 Google LLC.
 SPDX-License-Identifier: Apache-2.0
*/
var ll=function(a){_.Kk.call(this);var b=this;this.JSC$32549_pollingJob=this.JSC$32549_abortTimeoutKey=0;this.jobManager=null!=a?a:{addLowPriorityJob:function(e,h){return setTimeout(e,h)},
cancelJob:clearTimeout};var c,d;this.JSC$32549_isOnline=null!=(d=null==(c=window.navigator)?void 0:c.onLine)?d:!0;this.onNavigatorChange=function(){return _.y(function(e){return _.B(e,kl(b),0)})};
window.addEventListener("offline",this.onNavigatorChange);window.addEventListener("online",this.onNavigatorChange);this.JSC$32549_pollingJob||this.poll()};
_.q(ll,_.Kk);var jsa=function(){var a=_.xe;ll.instance||(ll.instance=new ll(a));return ll.instance};
ll.prototype.dispose=function(){window.removeEventListener("offline",this.onNavigatorChange);window.removeEventListener("online",this.onNavigatorChange);this.jobManager.cancelJob(this.JSC$32549_pollingJob);delete ll.instance};
ll.prototype.isNetworkAvailable=function(){return this.JSC$32549_isOnline};
ll.prototype.poll=function(){var a=this;this.JSC$32549_pollingJob=this.jobManager.addLowPriorityJob(function(){var b;return _.y(function(c){if(1==c.nextAddress)return a.JSC$32549_isOnline?(null==(b=window.navigator)?0:b.onLine)?c.jumpTo(3):_.B(c,kl(a),3):_.B(c,kl(a),3);a.poll();_.bf(c)})},3E4)};
var kl=function(a,b){return a.JSC$32549_networkRequestPromise?a.JSC$32549_networkRequestPromise:a.JSC$32549_networkRequestPromise=new Promise(function(c){var d,e,h,l;return _.y(function(m){switch(m.nextAddress){case 1:return d=window.AbortController?new window.AbortController:void 0,h=null==(e=d)?void 0:e.signal,l=!1,_.se(m,2,3),d&&(a.JSC$32549_abortTimeoutKey=a.jobManager.addLowPriorityJob(function(){d.abort()},b||2E4)),_.B(m,fetch("/generate_204",{method:"HEAD",
signal:h}),5);case 5:l=!0;case 3:Xna(m);a.JSC$32549_networkRequestPromise=void 0;a.JSC$32549_abortTimeoutKey&&(a.jobManager.cancelJob(a.JSC$32549_abortTimeoutKey),a.JSC$32549_abortTimeoutKey=0);l!==a.JSC$32549_isOnline&&(a.JSC$32549_isOnline=l,a.JSC$32549_isOnline?a.dispatchEvent("networkstatus-online"):a.dispatchEvent("networkstatus-offline"));c(l);Yna(m);break;case 2:_.ue(m),l=!1,m.jumpTo(3)}})})};
var lsa=function(a){_.G.call(this,a,-1,ksa)};
_.q(lsa,_.G);var msa=function(a){_.G.call(this,a)};
_.q(msa,_.G);msa.prototype.getCount=function(){return _.ab(this,2)};
var ksa=[1],nsa=[lsa,1,_.ak,[msa,1,Ypa,2,$pa]];
var psa=function(a){_.G.call(this,a,-1,osa)};
_.q(psa,_.G);var qsa=function(a){_.G.call(this,a)};
_.q(qsa,_.G);var rsa=function(a){_.G.call(this,a)};
_.q(rsa,_.G);var ssa=function(a){_.G.call(this,a)};
_.q(ssa,_.G);var usa=function(a){_.G.call(this,a,-1,tsa)};
_.q(usa,_.G);var vsa=function(a){_.G.call(this,a)};
_.q(vsa,_.G);var wsa=function(a){_.G.call(this,a)};
_.q(wsa,_.G);var osa=[3,6,4],xsa=[1,2],tsa=[1],ml=[1,2,3],nl=[1,2,3],ysa=[psa,1,Zj,5,dqa,2,jqa,[qsa,1,kqa,[rsa,1,Zj,2,Zj,3,_.fqa],xsa,2,kqa,[ssa,1,Zj,2,Zj,3,bqa,4,_.fqa],xsa],3,hqa,6,eqa,4,_.ak,[usa,1,_.ak,[vsa,1,iqa,ml,2,cqa,ml,3,gqa,ml],2,jqa,[wsa,1,aqa,nl,2,Zpa,nl,3,kqa,nsa,nl]]];
var zsa=function(a){a=a.clone();Vra(a);gl(a,"dg",null);gl(a,"d","0");return a},Asa=!0,Bsa=function(a,b,c){var d=void 0===c?{}:c;
c=void 0===d.cssRowKey?void 0:d.cssRowKey;var e=void 0===d.combinedSignature?void 0:d.combinedSignature,h=void 0===d.extraEdges?void 0:d.extraEdges;d=void 0===d.callback?void 0:d.callback;gl(a,"m",b.join(","));h&&Ura(a,h);c&&(gl(a,"ck",c),e?gl(a,"rs",e):Asa&&(Asa=!1));if(d){if(null!=d&&!Zra.test(d))throw Error("pa`"+d);gl(a,"cb",d)}a=a.toString();_.hi(a,"/")&&(b=_.wd(document.location.href),a=_.Toa(b[1],b[2],b[3],b[4])+a);return _.ib(_.jb("formatModuleUrl adds additional paths for a safe scs url."),
a)};
var Csa=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};
_.ol=function(){};
_.ol.prototype.cachedOptions_=null;_.ol.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};
var pl,ql=function(){};
_.cj(ql,_.ol);ql.prototype.JSC$32583_createInstance=function(){var a=Dsa(this);return a?new ActiveXObject(a):new XMLHttpRequest};
ql.prototype.internalGetOptions=function(){var a={};Dsa(this)&&(a[0]=!0,a[1]=!0);return a};
var Dsa=function(a){if(!a.ieProgId_&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.ieProgId_=d}catch(e){}}throw Error("ta");}return a.ieProgId_};
pl=new ql;
var Fsa=function(a){return Esa(a).then(function(b){return JSON.parse(b.responseText)})},Esa=function(a){var b={},c=b.xmlHttpFactory?b.xmlHttpFactory.JSC$32583_createInstance():pl.JSC$32583_createInstance();
return(new _.wf(function(d,e){var h;try{c.open("GET",a,!0)}catch(p){e(new rl("Error opening XHR: "+p.message,a,c))}c.onreadystatechange=function(){if(4==c.readyState){_.g.clearTimeout(h);var p;!(p=Csa(c.status))&&(p=0===c.status)&&(p=Woa(a),p=!("http"==p||"https"==p||""==p));p?d(c):e(new Gsa(c.status,a,c))}};
c.onerror=function(){e(new rl("Network error",a,c))};
if(b.headers)for(var l in b.headers){var m=b.headers[l];null!=m&&c.setRequestHeader(l,m)}b.withCredentials&&(c.withCredentials=b.withCredentials);b.responseType&&(c.responseType=b.responseType);b.mimeType&&c.overrideMimeType(b.mimeType);0<b.timeoutMs&&(h=_.g.setTimeout(function(){c.onreadystatechange=function(){};
c.abort();e(new Hsa(a,c))},b.timeoutMs));
try{c.send(null)}catch(p){c.onreadystatechange=function(){},_.g.clearTimeout(h),e(new rl("Error sending XHR: "+p.message,a,c))}})).thenCatch(function(d){d instanceof _.Uk&&c.abort();
throw d;})},rl=function(a,b,c){_.aa.call(this,a+", url="+b);
this.url=b;this.xhr=c};
_.cj(rl,_.aa);rl.prototype.name="XhrError";var Gsa=function(a,b,c){rl.call(this,"Request Failed, status="+a,b,c);this.status=a};
_.cj(Gsa,rl);Gsa.prototype.name="XhrHttpError";var Hsa=function(a,b){rl.call(this,"Request timed out",a,b)};
_.cj(Hsa,rl);Hsa.prototype.name="XhrTimeoutError";
var Ksa,Osa,Msa,Nsa,Lsa,Usa,Ssa,Tsa,Qsa;
_.wl=function(){_.jb("base-js url is generated from ModulesetsUrlBuilder");var a=sl;var b="";var c=_.g._F_jsUrl;if("undefined"!==typeof document&&document&&document.getElementById&&(a=document.getElementById(a))){var d=a.tagName.toUpperCase();if("SCRIPT"==d||"LINK"==d)b=a.src?a.src:a.getAttribute("href")}if(c&&b){if(c!=b)throw Error("ya`"+c+"`"+b);b=c}else b=c||b;if(!Yra(b))throw Error("za");c=_.kj(b);a=Isa;d=Jsa;var e=tl;b=ul;e=void 0===e?!1:e;b=void 0===b?!1:b;this.scsReferenceUrl_=hl(_.Ab(c),!0);
this.cssRowKey_=a;this.combinedSignature_=d;this.useNegativeLoading_=e;this.loadedModuleMap_={};this.loadedModuleList_=[];this.loadedModuleListSorted_=!0;this.loadedCssModuleList_=(c=fl(this.scsReferenceUrl_,"excm"))?c.split(","):[];this.shouldScanForCss_=b;this.useCors_=!1;this.urlMaxLength=4043;this.insertPos=document.head||document.documentElement;this.pendingModuleGraphUpdate_=this.lastScript_=null;this.supportsExtraEdges=!0;_.vl(this,Tra(this.scsReferenceUrl_));this.maybeSetAdditionalFields()};
Ksa=function(a,b){if(b.href||b.getAttribute("data-href"))if(b=b.href||b.getAttribute("data-href"),Yra(b)&&!hl(b).urlPrefix_.endsWith("_/js/")){b=Tra(hl(b));b=_.k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.loadedCssModuleList_.includes(c)||a.loadedCssModuleList_.push(c)}};
_.wl.prototype.JSC$32600_loadModules=function(a,b,c){var d=void 0===c?{}:c;b=d.extraEdges;c=d.onError;var e=d.onSuccess;d=d.onTimeout;if(!a)throw Error("ua");if(this.shouldScanForCss_){for(var h=_.k(document.getElementsByTagName("style")),l=h.next();!l.done;l=h.next())Ksa(this,l.value);h=_.k(document.getElementsByTagName("link"));for(l=h.next();!l.done;l=h.next())Ksa(this,l.value)}this.loadModulesImpl(Lsa(this,a),b,c,e,d)};
_.wl.prototype.loadModulesImpl=function(a,b,c,d){var e=this;c=void 0===c?function(){}:c;
d=void 0===d?function(){}:d;
_.xl(this,a,function(h,l){e.load(h,l,c,d)},b)||c(-1)};
_.wl.prototype.maybeSetAdditionalFields=function(){};
Osa=function(a,b,c){if(a.useNegativeLoading_){c={cssRowKey:a.cssRowKey_,combinedSignature:a.combinedSignature_,extraEdges:c,requestedModuleIds:Msa(a),requestedCssModuleIds:Nsa(a)};var d=void 0===c?{}:c;c=void 0===d.requestedModuleIds?[]:d.requestedModuleIds;var e=void 0===d.requestedCssModuleIds?[]:d.requestedCssModuleIds,h=void 0===d.cssRowKey?void 0:d.cssRowKey,l=void 0===d.combinedSignature?void 0:d.combinedSignature,m=void 0===d.extraEdges?void 0:d.extraEdges;d=void 0===d.callback?void 0:d.callback;
a=zsa(a.scsReferenceUrl_);gl(a,"d","1");c.sort();gl(a,"exm",c.join(","));e.sort();gl(a,"excm",e.join(","));b=Bsa(a,b,{cssRowKey:h,combinedSignature:l,extraEdges:m,callback:d})}else c={cssRowKey:a.cssRowKey_,combinedSignature:a.combinedSignature_,requestedModuleIds:Msa(a),requestedCssModuleIds:Nsa(a)},m=void 0===c?{}:c,c=void 0===m.requestedCssModuleIds?[]:m.requestedCssModuleIds,e=void 0===m.cssRowKey?void 0:m.cssRowKey,h=void 0===m.combinedSignature?void 0:m.combinedSignature,l=void 0===m.extraEdges?
void 0:m.extraEdges,m=void 0===m.callback?void 0:m.callback,a=zsa(a.scsReferenceUrl_),c.sort(),gl(a,"excm",c.join(",")),b=Bsa(a,b,{cssRowKey:e,combinedSignature:h,extraEdges:l,callback:m});return b};
_.vl=function(a,b){for(var c=!1,d=[],e=0;e<b.length;++e){var h=b[e];a.loadedModuleMap_[h]||(a.loadedModuleMap_[h]=!0,a.loadedModuleList_.push(h),d.push(h),c=!0)}c&&(a.loadedModuleListSorted_=!1)};
_.Psa=function(a,b){for(var c=[],d=0;d<b.length;++d){var e=b[d];a.loadedModuleMap_[e]&&(delete a.loadedModuleMap_[e],_.ja(a.loadedModuleList_,e),c.push(e))}};
_.wl.prototype.load=function(a,b,c,d){var e=this,h=Qsa(a,this.useCors_);_.vl(this,b);this.lastScript_=h;this.insertPos.insertBefore(h,this.insertPos.firstChild);_.Rsa(h,b,function(){h.parentElement.removeChild(h);e.lastScript_==h&&(e.lastScript_=null);d()},function(l){h.parentElement.removeChild(h);
e.lastScript_==h&&(e.lastScript_=null);_.Psa(e,l);e.pendingModuleGraphUpdate_?e.pendingModuleGraphUpdate_.then(function(){c(-1)}):c(-1)})};
_.Rsa=function(a,b,c,d){var e=b.length,h=function(){e=0;a.onload=null;a.onerror=null;l=function(){}},l=function(){h();
var p=b.filter(function(r){return!Sb().getModuleInfo(r).isLoaded()});
0!==p.length?d(p,"Response was successful but was missing module(s) "+p+"."):c()},m=function(){e--;
0==e&&l()};
b.forEach(function(p){p=Sb().getModuleInfo(p);p.isLoaded()?m():(asa(p.earlyOnloadCallbacks_,m),bsa(p,m))});
a.onload=function(){return l()};
a.onerror=function(){h();d(b)}};
Msa=function(a){a.loadedModuleListSorted_||(a.loadedModuleListSorted_=!0,a.loadedModuleList_.sort());return a.loadedModuleList_};
Nsa=function(a){a=a.loadedCssModuleList_;a.sort();return a};
Lsa=function(a,b){return b.filter(function(c){return!a.loadedModuleMap_[c]})};
_.xl=function(a,b,c,d){if(a.pendingModuleGraphUpdate_)return a.pendingModuleGraphUpdate_.then(function(){_.xl(a,b,c,d)}),!0;
if(!a.useNegativeLoading_){var e=[],h=Object.assign({},a.loadedModuleMap_);Ssa(a,b,function(v){e.push(v.getId())},d,function(v){return!v.isLoaded()},h);
b=e}for(h=0;h<b.length;){for(var l=b.length-h,m=0==h?b:b.slice(h,b.length),p=Osa(a,m,d),r=_.Ab(p);r.length>a.urlMaxLength;)if(1<l)l-=Math.ceil((r.length-a.urlMaxLength)/6),l=Math.max(l,1),m=b.slice(h,h+l),p=Osa(a,m,d),r=_.Ab(p);else return a.useNegativeLoading_?(a.useNegativeLoading_=!1,a.pendingModuleGraphUpdate_=Tsa(a).then(function(v){Usa(a,v,d)}),_.xl(a,b.slice(h),c,d)):!1;
h+=l;c(p,m)}return!0};
Usa=function(a,b,c){Sb().setAllModuleInfoString((b||{}).moduleGraph);Ssa(a,Msa(a),function(d){_.vl(a,[d.getId()])},c);
a.pendingModuleGraphUpdate_=null};
Ssa=function(a,b,c,d,e,h){h=void 0===h?{}:h;var l=Sb();b=_.k(b);for(var m=b.next();!m.done;m=b.next()){m=m.value;var p=l.getModuleInfo(m);if(!(h[m]||e&&!e(p))){h[m]=!0;var r=p.deps_||[];if(d){var v=[];d[m]&&(v=Object.keys(d[m]));r=r.concat(v)}Ssa(a,r,c,d,e,h);c(p)}}};
Tsa=function(a){a=a.scsReferenceUrl_.clone();Vra(a);gl(a,"dg",null);gl(a,"md","1");return Fsa(a.toString())};
Qsa=function(a,b){var c=_.Gb("SCRIPT");_.Fb(c,a);b&&(c.crossOrigin="anonymous");c.async=!1;return c};
/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
_.yl=function(a,b){this.sequence_=[];this.onCancelFunction_=a;this.defaultScope_=b||null;this.hadError_=this.fired_=!1;this.result_=void 0;this.silentlyCanceled_=this.blocking_=this.blocked_=!1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0};
_.yl.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof _.yl&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,0>=b.branches_&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||this.errback(new zl(this))}};
_.yl.prototype.continue_=function(a,b){this.blocked_=!1;Vsa(this,a,b)};
var Vsa=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;Wsa(a)},Xsa=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Al(a);
a.silentlyCanceled_=!1}};
_.yl.prototype.callback=function(a){Xsa(this);Vsa(this,!0,a)};
_.yl.prototype.errback=function(a){Xsa(this);Vsa(this,!1,a)};
_.Bl=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&Wsa(a)};
_.yl.prototype.then=function(a,b,c){var d,e,h=new _.wf(function(l,m){e=l;d=m});
_.Bl(this,e,function(l){l instanceof zl?h.cancel():d(l)});
return h.then(a,b,c)};
_.Pk(_.yl);_.yl.prototype.branch=function(a){var b=new _.yl;_.Bl(this,b.callback,b.errback,b);a&&(b.parent_=this,this.branches_++);return b};
_.yl.prototype.isError=function(a){return a instanceof Error};
var Ysa=function(a){return _.hj(a.sequence_,function(b){return"function"===typeof b[1]})},Wsa=function(a){if(a.unhandledErrorId_&&a.fired_&&Ysa(a)){var b=a.unhandledErrorId_,c=Cl[b];
c&&(_.g.clearTimeout(c.JSC$32614_id_),delete Cl[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),h=e[0],l=e[1];e=e[2];if(h=a.hadError_?l:h)try{var m=h.call(e||a.defaultScope_,b);void 0!==m&&(a.hadError_=a.hadError_&&(m==b||a.isError(m)),a.result_=b=m);if(fra(b)||"function"===typeof _.g.Promise&&b instanceof _.g.Promise)d=!0,a.blocked_=!0}catch(p){b=p,a.hadError_=!0,Ysa(a)||(c=!0)}}a.result_=
b;d&&(m=(0,_.$i)(a.continue_,a,!0),d=(0,_.$i)(a.continue_,a,!1),b instanceof _.yl?(_.Bl(b,m,d),b.blocking_=!0):b.then(m,d));c&&(b=new Zsa(b),Cl[b.JSC$32614_id_]=b,a.unhandledErrorId_=b.JSC$32614_id_)},Al=function(){_.aa.call(this)};
_.cj(Al,_.aa);Al.prototype.message="Deferred has already fired";Al.prototype.name="AlreadyCalledError";var zl=function(){_.aa.call(this)};
_.cj(zl,_.aa);zl.prototype.message="Deferred was canceled";zl.prototype.name="CanceledError";var Zsa=function(a){this.JSC$32614_id_=_.g.setTimeout((0,_.$i)(this.throwError,this),0);this.JSC$32614_error_=a};
Zsa.prototype.throwError=function(){delete Cl[this.JSC$32614_id_];throw this.JSC$32614_error_;};
var Cl={};
var Dl=function(a,b){this.type=a;this.status=b};
Dl.prototype.toString=function(){return $sa(this)+" ("+(void 0!=this.status?this.status:"?")+")"};
var $sa=function(a){switch(a.type){case Dl.Type.UNAUTHORIZED:return"Unauthorized";case Dl.Type.CONSECUTIVE_FAILURES:return"Consecutive load failures";case Dl.Type.TIMEOUT:return"Timed out";case Dl.Type.OLD_CODE_GONE:return"Out of date module id";case Dl.Type.INIT_ERROR:return"Init error";default:return"Unknown failure type "+a.type}};
Xi.ModuleLoadFailure=Dl;Xi.ModuleLoadFailure.Type={UNAUTHORIZED:0,CONSECUTIVE_FAILURES:1,TIMEOUT:2,OLD_CODE_GONE:3,INIT_ERROR:4};
var El=function(){this.JSC$32536_loader_=null;this.moduleInfoMap={};this.loadingModuleIds_=[];this.requestedLoadingModuleIds_=[];this.requestedModuleIds_=[];this.requestedModuleIdsQueue_=[];this.userInitiatedLoadingModuleIds_=[];this.JSC$32621_extraEdges_={};this.JSC$32621_callbackMap_={};this.JSC$32621_currentlyLoadingModule_=this.baseModuleInfo_=new jl([],"");this.lastInitialModuleId_=null;this.initialModulesLoaded_=new _.yl;this.batchModeEnabled_=!1;this.consecutiveFailures_=0;this.isDisposed_=
this.userLastActive_=this.lastActive_=!1};
_.cj(El,dsa);var ata=function(a,b){_.aa.call(this,"Error loading "+a+": "+b)};
_.cj(ata,_.aa);_.f=El.prototype;_.f.setBatchModeEnabled=function(a){this.batchModeEnabled_=a};
_.f.setAllModuleInfoString=function(a,b){if(!(this instanceof El))this.setAllModuleInfoString(a,b);else if("string"===typeof a){a=a.split("/");for(var c=[],d=0;d<a.length;d++){var e=a[d].split(":"),h=e[0];if(e[1]){e=e[1].split(",");for(var l=0;l<e.length;l++)e[l]=c[parseInt(e[l],36)]}else e=[];c.push(h);this.moduleInfoMap[h]?(h=this.moduleInfoMap[h].deps_,h!=e&&h.splice.apply(h,[0,h.length].concat(_.sc(e)))):this.moduleInfoMap[h]=new jl(e,h)}b&&b.length?(_.oa(this.loadingModuleIds_,b),this.lastInitialModuleId_=
_.ba(b)):this.initialModulesLoaded_.fired_||this.initialModulesLoaded_.callback();this.JSC$32621_currentlyLoadingModule_==this.baseModuleInfo_&&(this.JSC$32621_currentlyLoadingModule_=null,this.baseModuleInfo_.onLoad((0,_.$i)(this.getModuleContext,this))&&Fl(this,new Xi.ModuleLoadFailure(Xi.ModuleLoadFailure.Type.INIT_ERROR)),Gl(this))}};
_.f.getModuleInfo=function(a){return this.moduleInfoMap[a]};
_.f.removeExtraEdge=function(a,b){if(this.JSC$32621_extraEdges_[a]){delete this.JSC$32621_extraEdges_[a][b];for(var c in this.JSC$32621_extraEdges_[a])return;delete this.JSC$32621_extraEdges_[a]}};
_.f.isActive=function(){return 0<this.loadingModuleIds_.length};
_.f.isUserActive=function(){return 0<this.userInitiatedLoadingModuleIds_.length};
var Gl=function(a){var b=a.lastActive_,c=a.isActive();c!=b&&(a.executeCallbacks_(c?"active":"idle"),a.lastActive_=c);b=a.isUserActive();b!=a.userLastActive_&&(a.executeCallbacks_(b?"userActive":"userIdle"),a.userLastActive_=b)},cta=function(a,b,c){var d=[];
_.ta(b,d);b=[];for(var e={},h=0;h<d.length;h++){var l=d[h],m=a.getModuleInfo(l);if(!m)throw Error("va`"+l);var p=new _.yl;e[l]=p;m.isLoaded()?p.callback(null):(bta(a,l,m,!!c,p),a.isModuleLoading(l)||b.push(l))}0<b.length&&(0===a.loadingModuleIds_.length?a.loadModules_(b):(a.requestedModuleIdsQueue_.push(b),Gl(a)));return e},bta=function(a,b,c,d,e){c.registerCallback(e.callback,e);
bsa(c,function(h){e.errback(new ata(b,h))});
a.isModuleLoading(b)?d&&(dta(a,b),Gl(a)):d&&dta(a,b)};
El.prototype.loadModules_=function(a,b,c){var d=this;b||(this.consecutiveFailures_=0);var e=eta(this,a);this.loadingModuleIds_=e;this.requestedLoadingModuleIds_=this.batchModeEnabled_?a:_.ka(e);Gl(this);if(0!==e.length){this.requestedModuleIds_.push.apply(this.requestedModuleIds_,e);if(0<Object.keys(this.JSC$32621_extraEdges_).length&&!this.JSC$32536_loader_.supportsExtraEdges)throw Error("wa");a=(0,_.$i)(this.JSC$32536_loader_.JSC$32600_loadModules,this.JSC$32536_loader_,_.ka(e),this.moduleInfoMap,
{extraEdges:this.JSC$32621_extraEdges_,forceReload:!!c,onError:function(h){var l=d.requestedLoadingModuleIds_;h=null!=h?h:void 0;d.consecutiveFailures_++;d.requestedLoadingModuleIds_=l;e.forEach(_.aj(_.ja,d.requestedModuleIds_),d);401==h?(Fl(d,new Xi.ModuleLoadFailure(Xi.ModuleLoadFailure.Type.UNAUTHORIZED,h)),d.requestedModuleIdsQueue_.length=0):410==h?(fta(d,new Xi.ModuleLoadFailure(Xi.ModuleLoadFailure.Type.OLD_CODE_GONE,h)),Hl(d)):3<=d.consecutiveFailures_?(fta(d,new Xi.ModuleLoadFailure(Xi.ModuleLoadFailure.Type.CONSECUTIVE_FAILURES,
h)),Hl(d)):d.loadModules_(d.requestedLoadingModuleIds_,!0,8001==h)},
onTimeout:(0,_.$i)(this.handleLoadTimeout_,this)});(b=5E3*Math.pow(this.consecutiveFailures_,2))?_.g.setTimeout(a,b):a()}};
var eta=function(a,b){b=b.filter(function(e){return a.moduleInfoMap[e].isLoaded()?(_.g.setTimeout(function(){return Error("xa`"+e)},0),!1):!0});
for(var c=[],d=0;d<b.length;d++)c=c.concat(gta(a,b[d]));_.ta(c);return!a.batchModeEnabled_&&1<c.length?(b=c.shift(),a.requestedModuleIdsQueue_=c.map(function(e){return[e]}).concat(a.requestedModuleIdsQueue_),[b]):c},gta=function(a,b){var c=_.u.createSet(a.requestedModuleIds_),d=[];
c[b]||d.push(b);b=[b];for(var e=0;e<b.length;e++)for(var h=a.getModuleInfo(b[e]).deps_,l=h.length-1;0<=l;l--){var m=h[l];a.getModuleInfo(m).isLoaded()||c[m]||(d.push(m),b.push(m))}d.reverse();_.ta(d);return d};
El.prototype.JSC$32538_setLoaded=function(){if(this.JSC$32621_currentlyLoadingModule_){var a=this.JSC$32621_currentlyLoadingModule_.getId(),b=[];if(this.JSC$32621_extraEdges_[a]){for(var c=_.k(Object.keys(this.JSC$32621_extraEdges_[a])),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.getModuleInfo(d);e&&!e.isLoaded()&&(this.removeExtraEdge(a,d),b.push(d))}this.loadMultiple(b)}this.isDisposed()||(this.moduleInfoMap[a].onLoad((0,_.$i)(this.getModuleContext,this))&&Fl(this,new Xi.ModuleLoadFailure(Xi.ModuleLoadFailure.Type.INIT_ERROR)),
_.ja(this.userInitiatedLoadingModuleIds_,a),_.ja(this.loadingModuleIds_,a),0===this.loadingModuleIds_.length&&Hl(this),this.lastInitialModuleId_&&a==this.lastInitialModuleId_&&(this.initialModulesLoaded_.fired_||this.initialModulesLoaded_.callback()),Gl(this),this.JSC$32621_currentlyLoadingModule_=null)}};
El.prototype.isModuleLoading=function(a){if(_.ha(this.loadingModuleIds_,a))return!0;for(var b=0;b<this.requestedModuleIdsQueue_.length;b++)if(_.ha(this.requestedModuleIdsQueue_[b],a))return!0;return!1};
El.prototype.load=function(a,b){return cta(this,[a],b)[a]};
El.prototype.loadMultiple=function(a){return cta(this,a)};
var dta=function(a,b){_.ha(a.userInitiatedLoadingModuleIds_,b)||a.userInitiatedLoadingModuleIds_.push(b)};
El.prototype.beforeLoadModuleCode=function(a){var b=this;this.JSC$32621_currentlyLoadingModule_&&"synthetic_module_overhead"===this.JSC$32621_currentlyLoadingModule_.getId()&&(this.JSC$32538_setLoaded(),delete this.moduleInfoMap.synthetic_module_overhead);this.moduleInfoMap[a]&&hta(this,this.moduleInfoMap[a].deps_||[],function(c){c.module_=new il;_.ja(b.loadingModuleIds_,c.getId())},function(c){return!c.isLoaded()});
this.JSC$32621_currentlyLoadingModule_=this.getModuleInfo(a)};
El.prototype.handleLoadTimeout_=function(){fta(this,new Xi.ModuleLoadFailure(Xi.ModuleLoadFailure.Type.TIMEOUT));Hl(this)};
var fta=function(a,b){1<a.requestedLoadingModuleIds_.length?a.requestedModuleIdsQueue_=a.requestedLoadingModuleIds_.map(function(c){return[c]}).concat(a.requestedModuleIdsQueue_):Fl(a,b)},Fl=function(a,b){var c=a.requestedLoadingModuleIds_;
a.loadingModuleIds_.length=0;for(var d=[],e=0;e<a.requestedModuleIdsQueue_.length;e++){var h=a.requestedModuleIdsQueue_[e].filter(function(p){var r=gta(this,p);return _.hj(c,function(v){return _.ha(r,v)})},a);
_.oa(d,h)}for(e=0;e<c.length;e++)_.aaa(d,c[e]);for(e=0;e<d.length;e++){for(h=0;h<a.requestedModuleIdsQueue_.length;h++)_.ja(a.requestedModuleIdsQueue_[h],d[e]);_.ja(a.userInitiatedLoadingModuleIds_,d[e])}var l=a.JSC$32621_callbackMap_.error;if(l)for(e=0;e<l.length;e++){var m=l[e];for(h=0;h<d.length;h++)m("error",d[h],b)}for(e=0;e<c.length;e++)if(a.moduleInfoMap[c[e]])a.moduleInfoMap[c[e]].onError(b);a.requestedLoadingModuleIds_.length=0;Gl(a)},Hl=function(a){for(;a.requestedModuleIdsQueue_.length;){var b=
a.requestedModuleIdsQueue_.shift().filter(function(c){return!this.getModuleInfo(c).isLoaded()},a);
if(0<b.length){a.loadModules_(b);return}}Gl(a)};
El.prototype.registerCallback=function(a,b){Array.isArray(a)||(a=[a]);for(var c=0;c<a.length;c++){var d=a[c],e=b,h=this.JSC$32621_callbackMap_;h[d]||(h[d]=[]);h[d].push(e)}};
El.prototype.executeCallbacks_=function(a){for(var b=this.JSC$32621_callbackMap_[a],c=0;b&&c<b.length;c++)b[c](a)};
var hta=function(a,b,c,d,e){d=void 0===d?function(){return!0}:d;
e=void 0===e?{}:e;b=_.k(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;var l=a.getModuleInfo(h);!e[h]&&d(l)&&(e[h]=!0,hta(a,l.deps_||[],c,d,e),c(l))}};
El.prototype.dispose=function(){_.Kb(_.u.getValues(this.moduleInfoMap),this.baseModuleInfo_);this.moduleInfoMap={};this.loadingModuleIds_=[];this.requestedLoadingModuleIds_=[];this.userInitiatedLoadingModuleIds_=[];this.requestedModuleIdsQueue_=[];this.JSC$32621_callbackMap_={};this.isDisposed_=!0};
El.prototype.isDisposed=function(){return this.isDisposed_};
_.Rb=function(){return new El};
var ita=[5E3,2E4],jta=function(){this.JSC$32536_loader_=null;this.moduleInfoMap_=Object.create(null);this.loadingModules_=Object.create(null);this.activeLoads_=0;this.JSC$32629_queue_=[];this.JSC$32629_extraEdges_=Object.create(null);this.JSC$32629_currentlyLoadingModule_=this.getModuleInfo("{base}")};
_.q(jta,dsa);_.f=jta.prototype;_.f.setAllModuleInfoString=function(){this.JSC$32629_currentlyLoadingModule_&&"{base}"==this.JSC$32629_currentlyLoadingModule_.getId()&&this.JSC$32538_setLoaded()};
_.f.getModuleInfo=function(a){var b=this.moduleInfoMap_[a];b||(b=new jl([],a),this.moduleInfoMap_[a]=b);return b};
_.f.removeExtraEdge=function(a,b){if(this.JSC$32629_extraEdges_[a]){delete this.JSC$32629_extraEdges_[a][b];for(var c in this.JSC$32629_extraEdges_[a])return;delete this.JSC$32629_extraEdges_[a]}};
_.f.isModuleLoading=function(a){return!!this.loadingModules_[a]};
_.f.load=function(a){kta(this,[a]);return lta(this,a)};
_.f.loadMultiple=function(a){var b=this,c=Object.create(null),d=[];a.forEach(function(e){c[e]||(c[e]=lta(b,e),d.push(e))});
kta(this,d);return c};
_.f.beforeLoadModuleCode=function(a){var b;"synthetic_module_overhead"===(null==(b=this.JSC$32629_currentlyLoadingModule_)?void 0:b.getId())&&this.JSC$32538_setLoaded();var c,d;mta(this,null!=(d=null==(c=this.moduleInfoMap_[a])?void 0:c.deps_)?d:[],function(e){e.module_=new il},function(e){return!e.isLoaded()});
this.JSC$32629_currentlyLoadingModule_=this.getModuleInfo(a)};
_.f.JSC$32538_setLoaded=function(){if(this.JSC$32629_currentlyLoadingModule_){var a=this.JSC$32629_currentlyLoadingModule_.getId(),b=[];if(this.JSC$32629_extraEdges_[a]){for(var c=_.k(Object.keys(this.JSC$32629_extraEdges_[a])),d=c.next();!d.done;d=c.next())d=d.value,this.getModuleInfo(d).isLoaded()||(this.removeExtraEdge(a,d),b.push(d));this.loadMultiple(b)}this.JSC$32629_currentlyLoadingModule_.onLoad(function(){return null});
this.JSC$32629_currentlyLoadingModule_=null;(!this.isModuleLoading(a)&&/^sy[0-9a-z]{0,4}$/.test(a)||"synthetic_module_overhead"===a)&&delete this.moduleInfoMap_[a];this.unsetModulesAsLoading(a)}};
_.f.setModulesAsLoading=function(){var a=this;_.Ob.apply(0,arguments).forEach(function(b){a.loadingModules_[b]=!0})};
_.f.unsetModulesAsLoading=function(){var a=this;_.Ob.apply(0,arguments).forEach(function(b){delete a.loadingModules_[b]})};
var lta=function(a,b){return new _.wf(function(c,d){var e=a.getModuleInfo(b);e.isLoaded()?c(null):(e.registerCallback(function(){c(null)}),bsa(e,function(h){d(Error("Ba`"+b+"`"+h))}))})},kta=function(a,b){b=b.filter(function(c){return!a.isModuleLoading(c)&&!a.getModuleInfo(c).isLoaded()});
0<b.length&&(a.setModulesAsLoading.apply(a,_.sc(b)),a.JSC$32629_queue_.push(b),nta(a))},nta=function(a){for(var b={};Infinity>a.activeLoads_&&0<a.JSC$32629_queue_.length;)b.$jscomp$loop$prop$ids$3291=a.JSC$32629_queue_.shift().filter(function(c){return!a.getModuleInfo(c).isLoaded()}),0<b.$jscomp$loop$prop$ids$3291.length&&(a.activeLoads_++,b.$jscomp$loop$prop$finishLoad$3294=function(c){return function(){a.activeLoads_--;
nta(a);c.$jscomp$loop$prop$finishLoad$3294=function(){}}}(b),_.Rk(b.$jscomp$loop$prop$ids$3291.map(function(c){return lta(a,c)})).then(function(c){return function(){c.$jscomp$loop$prop$finishLoad$3294()}}(b)),b.$jscomp$loop$prop$attempt$3292=0,b.$jscomp$loop$prop$load$3293=function(c){return function(){if(0<Object.keys(a.JSC$32629_extraEdges_).length&&!a.JSC$32536_loader_.supportsExtraEdges)throw Error("wa");
a.JSC$32536_loader_.JSC$32600_loadModules(c.$jscomp$loop$prop$ids$3291,{},{extraEdges:a.JSC$32629_extraEdges_,onError:function(d){var e=ita[c.$jscomp$loop$prop$attempt$3292++];void 0!==e?setTimeout(function(){c.$jscomp$loop$prop$load$3293()},e):(a.unsetModulesAsLoading.apply(a,_.sc(c.$jscomp$loop$prop$ids$3291)),c.$jscomp$loop$prop$finishLoad$3294(),c.$jscomp$loop$prop$ids$3291.forEach(function(h){h=a.getModuleInfo(h);
if(!h.isLoaded())h.onError(new Xi.ModuleLoadFailure(Xi.ModuleLoadFailure.Type.CONSECUTIVE_FAILURES,d))}))}})}}(b),b.$jscomp$loop$prop$load$3293()),b={$jscomp$loop$prop$finishLoad$3294:b.$jscomp$loop$prop$finishLoad$3294,
$jscomp$loop$prop$ids$3291:b.$jscomp$loop$prop$ids$3291,$jscomp$loop$prop$attempt$3292:b.$jscomp$loop$prop$attempt$3292,$jscomp$loop$prop$load$3293:b.$jscomp$loop$prop$load$3293}},mta=function(a,b,c,d,e){d=void 0===d?function(){return!0}:d;
e=void 0===e?{}:e;b=_.k(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;var l=a.getModuleInfo(h);!e[h]&&d(l)&&(e[h]=!0,mta(a,l.deps_||[],c,d,e),c(l))}};
_.ota=_.g.JSON.parse;_.Il=_.g.JSON.stringify;
var pta=!/^\s*class\s*\{\s*\}\s*$/.test(function(){}.toString());
var xja={SLI_STATUS_UNKNOWN:"SLI_STATUS_UNKNOWN",SLI_STATUS_SUCCESS:"SLI_STATUS_SUCCESS",SLI_STATUS_FAILURE:"SLI_STATUS_FAILURE",SLI_STATUS_TIMEOUT:"SLI_STATUS_TIMEOUT",SLI_STATUS_ABORTED:"SLI_STATUS_ABORTED",SLI_STATUS_CANCELLED:"SLI_STATUS_CANCELLED",SLI_STATUS_REJECTED:"SLI_STATUS_REJECTED"},Tfa={WEB_DISPLAY_MODE_UNKNOWN:"WEB_DISPLAY_MODE_UNKNOWN",WEB_DISPLAY_MODE_BROWSER:"WEB_DISPLAY_MODE_BROWSER",WEB_DISPLAY_MODE_MINIMAL_UI:"WEB_DISPLAY_MODE_MINIMAL_UI",WEB_DISPLAY_MODE_STANDALONE:"WEB_DISPLAY_MODE_STANDALONE",
WEB_DISPLAY_MODE_FULLSCREEN:"WEB_DISPLAY_MODE_FULLSCREEN"};
var qta=function(){this.data_=[];this.cachedPackedInt52_=-1};
qta.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&Number.isInteger(a)&&this.data_[a]!==b&&(this.data_[a]=b,this.cachedPackedInt52_=-1)};
qta.prototype.get=function(a){return!!this.data_[a]};
var rta=function(a){-1===a.cachedPackedInt52_&&(a.cachedPackedInt52_=_.gj(a.data_,function(b,c,d){return c?b+Math.pow(2,d):b},0));
return a.cachedPackedInt52_};
_.sta=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new _.gk(b.innerWidth,b.innerHeight)).round():_.jk(b).round()}catch(d){return new _.gk(-12245933,-12245933)}};
_.Jl=function(a){return a.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0};
var tta=function(a,b){this.childIterator_=a[_.g.Symbol.iterator]();this.mapFn_=b};
tta.prototype[Symbol.iterator]=function(){return this};
tta.prototype.next=function(){var a=this.childIterator_.next();return{value:a.done?void 0:this.mapFn_.call(void 0,a.value),done:a.done}};
var uta=function(a,b){return new tta(a,b)};
var vta=function(){this.blockSize=-1};
var Vd=function(){this.blockSize=-1;this.blockSize=64;this.chain_=[];this.buf_=[];this.W_=[];this.pad_=[];this.pad_[0]=128;for(var a=1;a<this.blockSize;++a)this.pad_[a]=0;this.JSC$32654_total_=this.inbuf_=0;this.reset()};
_.cj(Vd,vta);Vd.prototype.reset=function(){this.chain_[0]=1732584193;this.chain_[1]=4023233417;this.chain_[2]=2562383102;this.chain_[3]=271733878;this.chain_[4]=3285377520;this.JSC$32654_total_=this.inbuf_=0};
var Kl=function(a,b,c){c||(c=0);var d=a.W_;if("string"===typeof b)for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var h=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(h<<1|h>>>31)&4294967295}b=a.chain_[0];c=a.chain_[1];var l=a.chain_[2],m=a.chain_[3],p=a.chain_[4];for(e=0;80>e;e++){if(40>e)if(20>e){h=m^c&(l^m);var r=1518500249}else h=c^l^m,r=1859775393;else 60>
e?(h=c&l|m&(c|l),r=2400959708):(h=c^l^m,r=3395469782);h=(b<<5|b>>>27)+h+p+r+d[e]&4294967295;p=m;m=l;l=(c<<30|c>>>2)&4294967295;c=b;b=h}a.chain_[0]=a.chain_[0]+b&4294967295;a.chain_[1]=a.chain_[1]+c&4294967295;a.chain_[2]=a.chain_[2]+l&4294967295;a.chain_[3]=a.chain_[3]+m&4294967295;a.chain_[4]=a.chain_[4]+p&4294967295};
Vd.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.buf_,h=this.inbuf_;d<b;){if(0==h)for(;d<=c;)Kl(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[h]=a.charCodeAt(d),++h,++d,h==this.blockSize){Kl(this,e);h=0;break}}else for(;d<b;)if(e[h]=a[d],++h,++d,h==this.blockSize){Kl(this,e);h=0;break}}this.inbuf_=h;this.JSC$32654_total_+=b}};
Vd.prototype.digest=function(){var a=[],b=8*this.JSC$32654_total_;56>this.inbuf_?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(var c=this.blockSize-1;56<=c;c--)this.buf_[c]=b&255,b/=256;Kl(this,this.buf_);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.chain_[c]>>d&255,++b;return a};
var wta;
wta={ERAS:["BC","AD"],ERANAMES:["Before Christ","Anno Domini"],NARROWMONTHS:"JFMAMJJASOND".split(""),STANDALONENARROWMONTHS:"JFMAMJJASOND".split(""),MONTHS:"January February March April May June July August September October November December".split(" "),STANDALONEMONTHS:"January February March April May June July August September October November December".split(" "),SHORTMONTHS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONESHORTMONTHS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),WEEKDAYS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
STANDALONEWEEKDAYS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTWEEKDAYS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),STANDALONESHORTWEEKDAYS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),NARROWWEEKDAYS:"SMTWTFS".split(""),STANDALONENARROWWEEKDAYS:"SMTWTFS".split(""),SHORTQUARTERS:["Q1","Q2","Q3","Q4"],QUARTERS:["1st quarter","2nd quarter","3rd quarter","4th quarter"],AMPMS:["AM","PM"],DATEFORMATS:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],TIMEFORMATS:["h:mm:ss a zzzz",
"h:mm:ss a z","h:mm:ss a","h:mm a"],DATETIMEFORMATS:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],FIRSTDAYOFWEEK:6,WEEKENDRANGE:[5,6],FIRSTWEEKCUTOFFDAY:5};_.Ll=wta;_.Ll=wta;
var xta,yta;_.Ml=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31};
xta=function(a,b,c,d,e){a=new Date(a,b,c);e=e||0;return a.valueOf()+864E5*(((void 0!==d?d:3)-e+7)%7-((a.getDay()+6)%7-e+7)%7)};
_.Ol=function(a){"number"===typeof a?(this.date=yta(a,0,1),Nl(this,1)):_.pa(a)?(this.date=yta(a.getFullYear(),a.getMonth(),a.getDate()),Nl(this,a.getDate())):(this.date=new Date(_.bj()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Nl(this,a))};
yta=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
_.f=_.Ol.prototype;_.f.firstDayOfWeek_=_.Ll.FIRSTDAYOFWEEK;_.f.firstWeekCutOffDay_=_.Ll.FIRSTWEEKCUTOFFDAY;_.f.clone=function(){var a=new _.Ol(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};
_.f.getFullYear=function(){return this.date.getFullYear()};
_.f.getYear=function(){return this.getFullYear()};
_.f.getMonth=function(){return this.date.getMonth()};
_.f.getDate=function(){return this.date.getDate()};
_.f.getTime=function(){return this.date.getTime()};
_.f.getDay=function(){return this.date.getDay()};
_.f.getUTCFullYear=function(){return this.date.getUTCFullYear()};
_.f.getUTCMonth=function(){return this.date.getUTCMonth()};
_.f.getUTCDate=function(){return this.date.getUTCDate()};
_.f.getUTCDay=function(){return this.date.getDay()};
_.f.getUTCHours=function(){return this.date.getUTCHours()};
_.f.getUTCMinutes=function(){return this.date.getUTCMinutes()};
_.f.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
_.f.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
_.f.setFullYear=function(a){this.date.setFullYear(a)};
_.f.setYear=function(a){this.setFullYear(a)};
_.f.setMonth=function(a){this.date.setMonth(a)};
_.f.setDate=function(a){this.date.setDate(a)};
_.f.setTime=function(a){this.date.setTime(a)};
_.f.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};
_.f.setUTCMonth=function(a){this.date.setUTCMonth(a)};
_.f.setUTCDate=function(a){this.date.setUTCDate(a)};
_.f.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+12*a.years,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(_.Ml(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,a=new Date((new Date(c,this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Nl(this,a.getDate()))};
_.zta=function(a){var b=a.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+_.zj(Math.abs(b),c?6:4),_.zj(a.getMonth()+1,2),_.zj(a.getDate(),2)].join("")};
_.Ol.prototype.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};
_.Ol.prototype.toString=function(){return _.zta(this)};
var Nl=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
_.Ol.prototype.valueOf=function(){return this.date.valueOf()};
_.Pl=function(){};
_.Pl.prototype.next=function(){return _.Ql};
_.Ql={done:!0,value:void 0};_.Rl=function(a){return{value:a,done:!1}};
_.Pl.prototype.__iterator__=function(){return this};
_.Sl=function(a){if(a instanceof _.Pl)return a;if("function"==typeof a.__iterator__)return a.__iterator__(!1);if(_.la(a)){var b=0,c=new _.Pl;c.next=function(){for(;;){if(b>=a.length)return _.Ql;if(b in a)return _.Rl(a[b++]);b++}};
return c}throw Error("Ca");};
var Ata=function(a){if(a instanceof Tl||a instanceof Ul||a instanceof Vl)return a;if("function"==typeof a.next)return new Tl(function(){return a});
if("function"==typeof a[Symbol.iterator])return new Tl(function(){return a[Symbol.iterator]()});
if("function"==typeof a.__iterator__)return new Tl(function(){return a.__iterator__()});
throw Error("Da");},Tl=function(a){this.func_=a};
Tl.prototype.__iterator__=function(){return new Ul(this.func_())};
Tl.prototype[Symbol.iterator]=function(){return new Vl(this.func_())};
Tl.prototype.toEs6=function(){return new Vl(this.func_())};
var Ul=function(a){this.JSC$32674_iter_=a};
_.q(Ul,_.Pl);Ul.prototype.next=function(){return this.JSC$32674_iter_.next()};
Ul.prototype[Symbol.iterator]=function(){return new Vl(this.JSC$32674_iter_)};
Ul.prototype.toEs6=function(){return new Vl(this.JSC$32674_iter_)};
var Vl=function(a){Tl.call(this,function(){return a});
this.JSC$32677_iter_=a};
_.q(Vl,Tl);Vl.prototype.next=function(){return this.JSC$32677_iter_.next()};
_.Wl=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("t");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};
_.f=_.Wl.prototype;_.f.getCount=function(){return this.size};
_.f.getValues=function(){Xl(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};
_.f.getKeys=function(){Xl(this);return this.keys_.concat()};
_.f.containsKey=function(a){return this.has(a)};
_.f.has=function(a){return Yl(this.map_,a)};
_.f.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(Yl(this.map_,c)&&this.map_[c]==a)return!0}return!1};
_.f.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||Bta;Xl(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};
var Bta=function(a,b){return a===b};
_.Wl.prototype.isEmpty=function(){return 0==this.size};
_.Wl.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};
_.Wl.prototype.remove=function(a){return this.delete(a)};
_.Wl.prototype.delete=function(a){return Yl(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&Xl(this),!0):!1};
var Xl=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];Yl(a.map_,d)&&(a.keys_[c++]=d);b++}a.keys_.length=c}if(a.size!=a.keys_.length){var e={};for(c=b=0;b<a.keys_.length;)d=a.keys_[b],Yl(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};
_.f=_.Wl.prototype;_.f.get=function(a,b){return Yl(this.map_,a)?this.map_[a]:b};
_.f.set=function(a,b){Yl(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
_.f.addAll=function(a){if(a instanceof _.Wl)for(var b=a.getKeys(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};
_.f.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],h=this.get(e);a.call(b,h,e,this)}};
_.f.clone=function(){return new _.Wl(this)};
_.f.transpose=function(){for(var a=new _.Wl,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};
_.f.keys=function(){return Ata(this.__iterator__(!0)).toEs6()};
_.f.values=function(){return Ata(this.__iterator__(!1)).toEs6()};
_.f.entries=function(){var a=this;return uta(this.keys(),function(b){return[b,a.get(b)]})};
_.f.__iterator__=function(a){Xl(this);var b=0,c=this.version_,d=this,e=new _.Pl;e.next=function(){if(c!=d.version_)throw Error("Ea");if(b>=d.keys_.length)return _.Ql;var h=d.keys_[b++];return _.Rl(a?h:d.map_[h])};
return e};
_.f.setSizeInternal_=function(a){this.size=a};
var Yl=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
var Cta,Zl;Cta=function(){};
_.mi=function(a){if("number"==typeof a){var b=new Cta;b.standardOffset_=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",_.zj(c,2));c=d.join("")}b.timeZoneId_=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=_.Dta(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new Cta;b.timeZoneId_=
a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b};
_.Dta=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(_.zj(Math.floor(a/60)%100,2),":",_.zj(a%60,2));return b.join("")};
Zl=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c<a.transitions_.length&&b>=a.transitions_[c];)c+=2;return 0==c?0:a.transitions_[c-1]};
_.$l=function(a,b){a=a.standardOffset_-Zl(a,b);return-1440===a?0:a};
var Gta,am,Fta;_.ni=function(a,b){this.patternParts_=[];this.JSC$32692_dateTimeSymbols_=b||_.Ll;"number"==typeof a?Eta(this,a):Fta(this,a)};
Gta=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|b+|B+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEabBhKHcLQdmsvVwzZ]+/];am=function(a){return a.getHours?a.getHours():0};
Fta=function(a,b){for(Hta&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;d<Gta.length;++d){var e=b.match(Gta[d]);if(e){var h=e[0];b=b.substring(h.length);0==d&&("''"==h?h="'":(h=h.substring(1,"'"==e[1]?h.length-1:h.length),h=h.replace(/''/g,"'")));a.patternParts_.push({text:h,type:d});break}}if(c===b)throw Error("Ga`"+b);}};
_.ni.prototype.format=function(a,b){if(!a)throw Error("Ha");var c=b?6E4*(a.getTimezoneOffset()-_.$l(b,a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var h=0;h<this.patternParts_.length;++h){var l=this.patternParts_[h].text;1==this.patternParts_[h].type?c.push(Ita(this,l,a,d,e,b)):c.push(l)}return c.join("")};
var Eta=function(a,b){if(4>b)var c=a.JSC$32692_dateTimeSymbols_.DATEFORMATS[b];else if(8>b)c=a.JSC$32692_dateTimeSymbols_.TIMEFORMATS[b-4];else if(12>b)c=a.JSC$32692_dateTimeSymbols_.DATETIMEFORMATS[b-8],c=c.replace("{1}",a.JSC$32692_dateTimeSymbols_.DATEFORMATS[b-8]),c=c.replace("{0}",a.JSC$32692_dateTimeSymbols_.TIMEFORMATS[b-8]);else{Eta(a,10);return}Fta(a,c)},bm=function(a,b){b=String(b);
a=a.JSC$32692_dateTimeSymbols_||_.Ll;if(void 0!==a.ZERODIGIT&&!Jta){for(var c=[],d=0;d<b.length;d++){var e=b.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(a.ZERODIGIT+e-48):b.charAt(d))}b=c.join("")}return b},Jta=!1,Hta=!1,cm=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("Ia");
},Ita=function(a,b,c,d,e,h){var l=b.length;
switch(b.charAt(0)){case "G":return c=0<d.getFullYear()?1:0,4<=l?a.JSC$32692_dateTimeSymbols_.ERANAMES[c]:a.JSC$32692_dateTimeSymbols_.ERAS[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==l&&(c%=100),bm(a,_.zj(c,l));case "Y":return c=(new Date(xta(d.getFullYear(),d.getMonth(),d.getDate(),a.JSC$32692_dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.JSC$32692_dateTimeSymbols_.FIRSTDAYOFWEEK))).getFullYear(),0>c&&(c=-c),2==l&&(c%=100),bm(a,_.zj(c,l));case "M":a:switch(c=d.getMonth(),l){case 5:a=a.JSC$32692_dateTimeSymbols_.NARROWMONTHS[c];
break a;case 4:a=a.JSC$32692_dateTimeSymbols_.MONTHS[c];break a;case 3:a=a.JSC$32692_dateTimeSymbols_.SHORTMONTHS[c];break a;default:a=bm(a,_.zj(c+1,l))}return a;case "k":return cm(e),bm(a,_.zj(am(e)||24,l));case "S":return bm(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,l)).slice(2)+(3<l?_.zj(0,l-3):""));case "E":return c=d.getDay(),4<=l?a.JSC$32692_dateTimeSymbols_.WEEKDAYS[c]:a.JSC$32692_dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return cm(e),l=am(e),a.JSC$32692_dateTimeSymbols_.AMPMS[12<=l&&
24>l?1:0];case "b":return cm(e),l=am(e),a.JSC$32692_dateTimeSymbols_.AMPMS[12<=l&&24>l?1:0];case "B":return cm(e),l=am(e),a.JSC$32692_dateTimeSymbols_.AMPMS[12<=l&&24>l?1:0];case "h":return cm(e),bm(a,_.zj(am(e)%12||12,l));case "K":return cm(e),bm(a,_.zj(am(e)%12,l));case "H":return cm(e),bm(a,_.zj(am(e),l));case "c":a:switch(c=d.getDay(),l){case 5:a=a.JSC$32692_dateTimeSymbols_.STANDALONENARROWWEEKDAYS[c];break a;case 4:a=a.JSC$32692_dateTimeSymbols_.STANDALONEWEEKDAYS[c];break a;case 3:a=a.JSC$32692_dateTimeSymbols_.STANDALONESHORTWEEKDAYS[c];
break a;default:a=bm(a,_.zj(c,1))}return a;case "L":a:switch(c=d.getMonth(),l){case 5:a=a.JSC$32692_dateTimeSymbols_.STANDALONENARROWMONTHS[c];break a;case 4:a=a.JSC$32692_dateTimeSymbols_.STANDALONEMONTHS[c];break a;case 3:a=a.JSC$32692_dateTimeSymbols_.STANDALONESHORTMONTHS[c];break a;default:a=bm(a,_.zj(c+1,l))}return a;case "Q":return c=Math.floor(d.getMonth()/3),4>l?a.JSC$32692_dateTimeSymbols_.SHORTQUARTERS[c]:a.JSC$32692_dateTimeSymbols_.QUARTERS[c];case "d":return bm(a,_.zj(d.getDate(),l));
case "m":return cm(e),bm(a,_.zj(e.getMinutes(),l));case "s":return cm(e),bm(a,_.zj(e.getSeconds(),l));case "v":return a=h||_.mi(c.getTimezoneOffset()),a.timeZoneId_;case "V":return a=h||_.mi(c.getTimezoneOffset()),2>=l?a.timeZoneId_:0<Zl(a,c)?void 0!==a.tzNamesExt_.DST_GENERIC_LOCATION?a.tzNamesExt_.DST_GENERIC_LOCATION:a.tzNamesExt_.DST_GENERIC_LOCATION:void 0!==a.tzNamesExt_.STD_GENERIC_LOCATION?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=xta(e.getFullYear(),
e.getMonth(),e.getDate(),a.JSC$32692_dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.JSC$32692_dateTimeSymbols_.FIRSTDAYOFWEEK),bm(a,_.zj(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,l));case "z":return a=h||_.mi(c.getTimezoneOffset()),4>l?a.tzNames_[0<Zl(a,c)?2:0]:a.tzNames_[0<Zl(a,c)?3:1];case "Z":return b=h||_.mi(c.getTimezoneOffset()),4>l?(a=-_.$l(b,c),l=[0>a?"-":"+"],a=Math.abs(a),l.push(_.zj(Math.floor(a/60)%100,2),_.zj(a%60,2)),a=l.join("")):a=bm(a,_.Dta(_.$l(b,
c))),a;default:return""}};
var Kta;_.dm={DECIMAL_SEP:".",GROUP_SEP:",",PERCENT:"%",ZERO_DIGIT:"0",PLUS_SIGN:"+",MINUS_SIGN:"-",EXP_SYMBOL:"E",PERMILL:"\u2030",INFINITY:"\u221e",NAN:"NaN",DECIMAL_PATTERN:"#,##0.###",SCIENTIFIC_PATTERN:"#E0",PERCENT_PATTERN:"#,##0%",CURRENCY_PATTERN:"\u00a4#,##0.00",DEF_CURRENCY_CODE:"USD"};Kta=_.dm;Kta=_.dm;
var Lta;Lta=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min;a+="";var e=a.indexOf(".");b=d.call(b,-1===e?0:a.length-e-1,3)}return 1==c&&0==b?"one":"other"};
_.em=Lta;_.em=Lta;
_.Mta={DAY:{LONG:{R:{"-1":"yesterday",0:"today",1:"tomorrow"},P:"one{# day ago}other{# days ago}",F:"one{in # day}other{in # days}"}},HOUR:{LONG:{R:{0:"this hour"},P:"one{# hour ago}other{# hours ago}",F:"one{in # hour}other{in # hours}"},SHORT:{R:{0:"this hour"},P:"one{# hr. ago}other{# hr. ago}",F:"one{in # hr.}other{in # hr.}"}},MINUTE:{LONG:{R:{0:"this minute"},P:"one{# minute ago}other{# minutes ago}",F:"one{in # minute}other{in # minutes}"},SHORT:{R:{0:"this minute"},P:"one{# min. ago}other{# min. ago}",
F:"one{in # min.}other{in # min.}"}},MONTH:{LONG:{R:{"-1":"last month",0:"this month",1:"next month"},P:"one{# month ago}other{# months ago}",F:"one{in # month}other{in # months}"},SHORT:{R:{"-1":"last mo.",0:"this mo.",1:"next mo."},P:"one{# mo. ago}other{# mo. ago}",F:"one{in # mo.}other{in # mo.}"}},QUARTER:{LONG:{R:{"-1":"last quarter",0:"this quarter",1:"next quarter"},P:"one{# quarter ago}other{# quarters ago}",F:"one{in # quarter}other{in # quarters}"},SHORT:{R:{"-1":"last qtr.",0:"this qtr.",
1:"next qtr."},P:"one{# qtr. ago}other{# qtrs. ago}",F:"one{in # qtr.}other{in # qtrs.}"}},SECOND:{LONG:{R:{0:"now"},P:"one{# second ago}other{# seconds ago}",F:"one{in # second}other{in # seconds}"},SHORT:{R:{0:"now"},P:"one{# sec. ago}other{# sec. ago}",F:"one{in # sec.}other{in # sec.}"}},WEEK:{LONG:{R:{"-1":"last week",0:"this week",1:"next week"},P:"one{# week ago}other{# weeks ago}",F:"one{in # week}other{in # weeks}"},SHORT:{R:{"-1":"last wk.",0:"this wk.",1:"next wk."},P:"one{# wk. ago}other{# wk. ago}",
F:"one{in # wk.}other{in # wk.}"}},YEAR:{LONG:{R:{"-1":"last year",0:"this year",1:"next year"},P:"one{# year ago}other{# years ago}",F:"one{in # year}other{in # years}"},SHORT:{R:{"-1":"last yr.",0:"this yr.",1:"next yr."},P:"one{# yr. ago}other{# yr. ago}",F:"one{in # yr.}other{in # yr.}"}}};
_.fm=function(a){_.uk.call(this);this.JSC$32711_key_=1;this.pendingKeys_=[];this.publishDepth_=0;this.subscriptions_=[];this.topics_={};this.async_=!!a};
_.cj(_.fm,_.uk);_.fm.prototype.subscribe=function(a,b,c){var d=this.topics_[a];d||(d=this.topics_[a]=[]);var e=this.JSC$32711_key_;this.subscriptions_[e]=a;this.subscriptions_[e+1]=b;this.subscriptions_[e+2]=c;this.JSC$32711_key_=e+3;d.push(e);return e};
var Nta=function(a){var b=uia,c=!1,d=b.subscribe("handleError",function(e){c||(c=!0,this.unsubscribeByKey(d),a.apply(void 0,arguments))},b)};
_.fm.prototype.unsubscribe=function(a,b,c){if(a=this.topics_[a]){var d=this.subscriptions_;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.unsubscribeByKey(a)}return!1};
_.fm.prototype.unsubscribeByKey=function(a){var b=this.subscriptions_[a];if(b){var c=this.topics_[b];0!=this.publishDepth_?(this.pendingKeys_.push(a),this.subscriptions_[a+1]=function(){}):(c&&_.ja(c,a),delete this.subscriptions_[a],delete this.subscriptions_[a+1],delete this.subscriptions_[a+2])}return!!b};
_.fm.prototype.JSC$32713_publish=function(a,b){var c=this.topics_[a];if(c){for(var d=Array(arguments.length-1),e=1,h=arguments.length;e<h;e++)d[e-1]=arguments[e];if(this.async_)for(e=0;e<c.length;e++){var l=c[e];Ota(this.subscriptions_[l+1],this.subscriptions_[l+2],d)}else{this.publishDepth_++;try{for(e=0,h=c.length;e<h&&!this.isDisposed();e++)l=c[e],this.subscriptions_[l+1].apply(this.subscriptions_[l+2],d)}finally{if(this.publishDepth_--,0<this.pendingKeys_.length&&0==this.publishDepth_)for(;c=
this.pendingKeys_.pop();)this.unsubscribeByKey(c)}}return 0!=e}return!1};
var Ota=function(a,b,c){_.Ok(function(){a.apply(b,c)})};
_.fm.prototype.clear=function(a){if(a){var b=this.topics_[a];b&&(b.forEach(this.unsubscribeByKey,this),delete this.topics_[a])}else this.subscriptions_.length=0,this.topics_={}};
_.fm.prototype.getCount=function(a){if(a){var b=this.topics_[a];return b?b.length:0}a=0;for(b in this.topics_)a+=this.getCount(b);return a};
_.fm.prototype.disposeInternal=function(){_.fm.superClass_.disposeInternal.call(this);this.clear();this.pendingKeys_.length=0};
_.gm=function(a){if(a.instance_&&a.hasOwnProperty("instance_"))return a.instance_;var b=new a;return a.instance_=b};
_.hm=function(a){this.mechanism=a};
_.hm.prototype.set=function(a,b){void 0===b?this.mechanism.remove(a):this.mechanism.set(a,(0,_.Il)(b))};
_.hm.prototype.get=function(a){try{var b=this.mechanism.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
_.hm.prototype.remove=function(a){this.mechanism.remove(a)};
var im=function(a){this.mechanism=a};
_.cj(im,_.hm);var Pta=function(a){this.data=a},Qta=function(a){return void 0===a||a instanceof Pta?a:new Pta(a)};
im.prototype.set=function(a,b){im.superClass_.set.call(this,a,Qta(b))};
im.prototype.getWrapper=function(a){a=im.superClass_.get.call(this,a);if(void 0===a||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
im.prototype.get=function(a){if(a=this.getWrapper(a)){if(a=a.data,void 0===a)throw"Storage: Invalid value was encountered";}else a=void 0;return a};
var jm=function(a){this.mechanism=a};
_.cj(jm,im);_.Rta=function(a){var b=a.creation;a=a.expiration;return!!a&&a<_.bj()||!!b&&b>_.bj()};
jm.prototype.set=function(a,b,c){if(b=Qta(b)){if(c){if(c<_.bj()){jm.prototype.remove.call(this,a);return}b.expiration=c}b.creation=_.bj()}jm.superClass_.set.call(this,a,b)};
jm.prototype.getWrapper=function(a,b){var c=jm.superClass_.getWrapper.call(this,a);if(c)if(!b&&_.Rta(c))jm.prototype.remove.call(this,a);else return c};
_.km=function(a){this.mechanism=a};
_.cj(_.km,jm);
var Sta=function(){};
var lm=function(){};
_.cj(lm,Sta);lm.prototype.getCount=function(){for(var a=0,b=_.k(this),c=b.next();!c.done;c=b.next())a++;return a};
lm.prototype[Symbol.iterator]=function(){return Ata(this.__iterator__(!0)).toEs6()};
lm.prototype.clear=function(){var a=Array.from(this);a=_.k(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};
var mm=function(a){this.storage_=a};
_.cj(mm,lm);_.f=mm.prototype;_.f.isAvailable=function(){if(!this.storage_)return!1;try{return this.storage_.setItem("__sak","1"),this.storage_.removeItem("__sak"),!0}catch(a){return!1}};
_.f.set=function(a,b){try{this.storage_.setItem(a,b)}catch(c){if(0==this.storage_.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
_.f.get=function(a){a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
_.f.remove=function(a){this.storage_.removeItem(a)};
_.f.getCount=function(){return this.storage_.length};
_.f.__iterator__=function(a){var b=0,c=this.storage_,d=new _.Pl;d.next=function(){if(b>=c.length)return _.Ql;var e=c.key(b++);if(a)return _.Rl(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return _.Rl(e)};
return d};
_.f.clear=function(){this.storage_.clear()};
_.f.key=function(a){return this.storage_.key(a)};
var Tta=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};
_.cj(Tta,mm);
_.nm=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.storage_=a};
_.cj(_.nm,mm);
var Uta=function(a,b){this.storageKey_=a;this.storageNode_=null;if(_.Cj&&!_.Jj(9)){om||(om=new _.Wl);this.storageNode_=om.get(a);this.storageNode_||(b?this.storageNode_=document.getElementById(b):(this.storageNode_=document.createElement("userdata"),this.storageNode_.addBehavior("#default#userData"),document.body.appendChild(this.storageNode_)),om.set(a,this.storageNode_));try{this.storageNode_.load(this.storageKey_)}catch(c){this.storageNode_=null}}};
_.cj(Uta,lm);var Vta={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},om=null,Wta=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Vta[b]})};
_.f=Uta.prototype;_.f.isAvailable=function(){return!!this.storageNode_};
_.f.set=function(a,b){this.storageNode_.setAttribute(Wta(a),b);Xta(this)};
_.f.get=function(a){a=this.storageNode_.getAttribute(Wta(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
_.f.remove=function(a){this.storageNode_.removeAttribute(Wta(a));Xta(this)};
_.f.getCount=function(){return Yta(this).attributes.length};
_.f.__iterator__=function(a){var b=0,c=Yta(this).attributes,d=new _.Pl;d.next=function(){if(b>=c.length)return _.Ql;var e=c[b++];if(a)return _.Rl(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return _.Rl(e)};
return d};
_.f.clear=function(){for(var a=Yta(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);Xta(this)};
var Xta=function(a){try{a.storageNode_.save(a.storageKey_)}catch(b){throw"Storage mechanism: Quota exceeded";}},Yta=function(a){return a.storageNode_.XMLDocument.documentElement};
_.pm=function(a,b){this.mechanism_=a;this.JSC$32747_prefix_=b+"::"};
_.cj(_.pm,lm);_.pm.prototype.set=function(a,b){this.mechanism_.set(this.JSC$32747_prefix_+a,b)};
_.pm.prototype.get=function(a){return this.mechanism_.get(this.JSC$32747_prefix_+a)};
_.pm.prototype.remove=function(a){this.mechanism_.remove(this.JSC$32747_prefix_+a)};
_.pm.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new _.Pl;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.JSC$32747_prefix_.length)!=c.JSC$32747_prefix_;){e=b.next();if(e.done)return e;e=e.value}return _.Rl(a?e.slice(c.JSC$32747_prefix_.length):c.mechanism_.get(e))};
return d};
_.Zta=function(a){var b=new Tta;return b.isAvailable()?a?new _.pm(b,a):b:null};
_.qm=function(a){if(a.getValues&&"function"==typeof a.getValues)return a.getValues();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(_.la(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.u.getValues(a)};
_.$ta=function(a){if(a.getKeys&&"function"==typeof a.getKeys)return a.getKeys();if(!a.getValues||"function"!=typeof a.getValues){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(_.la(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.u.getKeys(a)}}};
_.rm=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.la(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=_.$ta(a),e=_.qm(a),h=e.length,l=0;l<h;l++)b.call(c,e[l],d&&d[l],a)};
var ula,ym,Am,gua,aua,cua,bua,fua,dua;
_.Jh=function(a){this.JSC$32753_domain_=this.userInfo_=this.scheme_="";this.JSC$32753_port_=null;this.fragment_=this.JSC$32753_path_="";this.JSC$32753_ignoreCase_=!1;var b;a instanceof _.Jh?(this.JSC$32753_ignoreCase_=a.JSC$32753_ignoreCase_,_.sm(this,a.scheme_),this.userInfo_=a.userInfo_,_.tm(this,a.JSC$32753_domain_),_.um(this,a.JSC$32753_port_),_.vm(this,a.getPath()),_.wm(this,a.JSC$32753_queryData_.clone()),_.xm(this,a.fragment_)):a&&(b=_.wd(String(a)))?(this.JSC$32753_ignoreCase_=!1,_.sm(this,
b[1]||"",!0),this.userInfo_=ym(b[2]||""),_.tm(this,b[3]||"",!0),_.um(this,b[4]),_.vm(this,b[5]||"",!0),_.wm(this,b[6]||"",!0),_.xm(this,b[7]||"",!0)):(this.JSC$32753_ignoreCase_=!1,this.JSC$32753_queryData_=new _.zm(null,this.JSC$32753_ignoreCase_))};
_.Jh.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(Am(b,aua,!0),":");var c=this.JSC$32753_domain_;if(c||"file"==b)a.push("//"),(b=this.userInfo_)&&a.push(Am(b,aua,!0),"@"),a.push(_.od(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.JSC$32753_port_,null!=c&&a.push(":",String(c));if(c=this.getPath())this.JSC$32753_domain_&&"/"!=c.charAt(0)&&a.push("/"),a.push(Am(c,"/"==c.charAt(0)?bua:cua,!0));(c=this.JSC$32753_queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",
Am(c,dua));return a.join("")};
_.Jh.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?_.sm(b,a.scheme_):c=!!a.userInfo_;c?b.userInfo_=a.userInfo_:c=!!a.JSC$32753_domain_;c?_.tm(b,a.JSC$32753_domain_):c=null!=a.JSC$32753_port_;var d=a.getPath();if(c)_.um(b,a.JSC$32753_port_);else if(c=!!a.JSC$32753_path_){if("/"!=d.charAt(0))if(this.JSC$32753_domain_&&!this.JSC$32753_path_)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(_.va(e,"./")||_.va(e,
"/.")){d=_.hi(e,"/");e=e.split("/");for(var h=[],l=0;l<e.length;){var m=e[l++];"."==m?d&&l==e.length&&h.push(""):".."==m?((1<h.length||1==h.length&&""!=h[0])&&h.pop(),d&&l==e.length&&h.push("")):(h.push(m),d=!0)}d=h.join("/")}else d=e}c?_.vm(b,d):c=""!==a.JSC$32753_queryData_.toString();c?_.wm(b,a.JSC$32753_queryData_.clone()):c=!!a.fragment_;c&&_.xm(b,a.fragment_);return b};
_.Jh.prototype.clone=function(){return new _.Jh(this)};
_.sm=function(a,b,c){a.scheme_=c?ym(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};
_.tm=function(a,b,c){a.JSC$32753_domain_=c?ym(b,!0):b;return a};
_.um=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Ja`"+b);a.JSC$32753_port_=b}else a.JSC$32753_port_=null;return a};
_.Jh.prototype.getPath=function(){return this.JSC$32753_path_};
_.vm=function(a,b,c){a.JSC$32753_path_=c?ym(b,!0):b;return a};
_.wm=function(a,b,c){b instanceof _.zm?(a.JSC$32753_queryData_=b,eua(a.JSC$32753_queryData_,a.JSC$32753_ignoreCase_)):(c||(b=Am(b,fua)),a.JSC$32753_queryData_=new _.zm(b,a.JSC$32753_ignoreCase_));return a};
_.xm=function(a,b,c){a.fragment_=c?ym(b):b;return a};
_.Bm=function(a){return a instanceof _.Jh?a.clone():new _.Jh(a)};
ula=function(a,b){a instanceof _.Jh||(a=_.Bm(a));b instanceof _.Jh||(b=_.Bm(b));return a.resolve(b)};
ym=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
Am=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,gua),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
gua=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
aua=/[#\/\?@]/g;cua=/[#\?:]/g;bua=/[#\?]/g;fua=/[#\?@]/g;dua=/#/g;_.zm=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.JSC$32754_ignoreCase_=!!b};
_.Cm=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&_.Aj(a.encodedQuery_,function(b,c){a.add(_.Ad(b),c)}))};
_.f=_.zm.prototype;_.f.getCount=function(){_.Cm(this);return this.count_};
_.f.add=function(a,b){_.Cm(this);this.encodedQuery_=null;a=Dm(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};
_.f.remove=function(a){_.Cm(this);a=Dm(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};
_.f.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};
_.f.isEmpty=function(){_.Cm(this);return 0==this.count_};
_.f.containsKey=function(a){_.Cm(this);a=Dm(this,a);return this.keyMap_.has(a)};
_.f.containsValue=function(a){var b=this.getValues();return _.ha(b,a)};
_.f.forEach=function(a,b){_.Cm(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};
_.f.getKeys=function(){_.Cm(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],h=0;h<e.length;h++)c.push(b[d]);return c};
_.f.getValues=function(a){_.Cm(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(Dm(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
_.f.set=function(a,b){_.Cm(this);this.encodedQuery_=null;a=Dm(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};
_.f.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
_.hua=function(a,b,c){a.remove(b);0<c.length&&(a.encodedQuery_=null,a.keyMap_.set(Dm(a,b),_.ka(c)),a.count_+=c.length)};
_.zm.prototype.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=_.od(d);d=this.getValues(d);for(var h=0;h<d.length;h++){var l=e;""!==d[h]&&(l+="="+_.od(d[h]));a.push(l)}}return this.encodedQuery_=a.join("&")};
_.zm.prototype.clone=function(){var a=new _.zm;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};
var Dm=function(a,b){b=String(b);a.JSC$32754_ignoreCase_&&(b=b.toLowerCase());return b},eua=function(a,b){b&&!a.JSC$32754_ignoreCase_&&(_.Cm(a),a.encodedQuery_=null,a.keyMap_.forEach(function(c,d){var e=d.toLowerCase();
d!=e&&(this.remove(d),_.hua(this,e,c))},a));
a.JSC$32754_ignoreCase_=b};
_.zm.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)_.rm(arguments[b],function(c,d){this.add(d,c)},this)};
/*

 Copyright 2016 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
(function(){if(pta&&!HTMLElement.es5Shimmed&&void 0!==window.Reflect&&void 0!==window.customElements&&!window.customElements.polyfillWrapFlushCallback){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};
HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;HTMLElement.es5Shimmed=!0;Object.setPrototypeOf(HTMLElement,a)}})();
/*
 *****************************************************************************
Copyright (C) Microsoft. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and
limitations under the License.
*****************************************************************************/
var iua=iua||{id:"third_party/javascript/node_modules/reflect_decorators/Reflect.closure.js"},jua;(function(a){function b(ea,na,ma){var Aa=Ca.get(ea);if(!Aa){if(!ma)return;Aa=new da;Ca.set(ea,Aa)}ea=Aa.get(na);if(!ea){if(!ma)return;ea=new da;Aa.set(na,ea)}return ea}
function c(ea,na,ma){if(d(ea,na,ma))return!0;na=A(na);return null!==na?c(ea,na,ma):!1}
function d(ea,na,ma){na=b(na,ma,!1);return void 0===na?!1:!!na.has(ea)}
function e(ea,na,ma){if(d(ea,na,ma))return h(ea,na,ma);na=A(na);if(null!==na)return e(ea,na,ma)}
function h(ea,na,ma){na=b(na,ma,!1);if(void 0!==na)return na.get(ea)}
function l(ea,na){var ma=m(ea,na);ea=A(ea);if(null===ea)return ma;var Aa=l(ea,na);if(0>=Aa.length)return ma;if(0>=ma.length)return Aa;na=new sa;ea=[];ma=_.k(ma);for(var $a=ma.next();!$a.done;$a=ma.next())$a=$a.value,na.has($a)||(na.add($a),ea.push($a));ma=_.k(Aa);for($a=ma.next();!$a.done;$a=ma.next())Aa=$a.value,na.has(Aa)||(na.add(Aa),ea.push(Aa));return ea}
function m(ea,na){ea=b(ea,na,!1);var ma=[];ea&&ea.forEach(function(Aa,$a){return ma.push($a)});
return ma}
function p(ea){return void 0===ea}
function r(ea){return"object"===typeof ea?null!==ea:"function"===typeof ea}
function v(ea){return"function"===typeof ea}
function z(ea){return"symbol"===typeof ea?ea:String(ea)}
function A(ea){var na=Object.getPrototypeOf(ea);if("function"!==typeof ea||ea===R||na!==R)return na;var ma=Object.getPrototypeOf(ea.prototype);if(null==ma||ma===Object.prototype)return na;ma=ma.constructor;return"function"!==typeof ma||ma===ea?na:ma}
function D(){function ea(){this._keys=[];this._values=[];this._cache=na}
var na={};ea.prototype={get size(){return this._keys.length},has:function(ma){return ma===this._cache?!0:0<=this._find(ma)?(this._cache=ma,!0):!1},
get:function(ma){var Aa=this._find(ma);if(0<=Aa)return this._cache=ma,this._values[Aa]},
set:function(ma,Aa){this.delete(ma);this._keys.push(ma);this._values.push(Aa);this._cache=ma;return this},
delete:function(ma){ma=this._find(ma);return 0<=ma?(this._keys.splice(ma,1),this._values.splice(ma,1),this._cache=na,!0):!1},
clear:function(){this._keys.length=0;this._values.length=0;this._cache=na},
forEach:function(ma){for(var Aa=this.size,$a=0;$a<Aa;++$a){var gf=this._keys[$a],Ya=this._values[$a];this._cache=gf;ma.call(this,Ya,gf,this)}},
_find:function(ma){for(var Aa=this._keys,$a=Aa.length,gf=0;gf<$a;++gf)if(Aa[gf]===ma)return gf;return-1}};
return ea}
function E(){function ea(){this._map=new da}
ea.prototype={get size(){return this._map.length},has:function(na){return this._map.has(na)},
add:function(na){this._map.set(na,na);return this},
delete:function(na){return this._map.delete(na)},
clear:function(){this._map.clear()},
forEach:function(na,ma){this._map.forEach(na,ma)}};
return ea}
function J(){function ea(){this._key=ma()}
function na(Mb,Uh){for(var jh=0;jh<Uh;++jh)Mb[jh]=255*Math.random()|0}
function ma(){do{if($a)var Mb=$a.randomBytes(16);else"function"===typeof Uint8Array?(Mb=new Uint8Array(16),"undefined"!==typeof crypto?crypto.getRandomValues(Mb):na(Mb,16)):(Mb=Array(16),na(Mb,16));Mb[6]=Mb[6]&79|64;Mb[8]=Mb[8]&191|128;for(var Uh="",jh=0;16>jh;++jh){var bq=Mb[jh];if(4===jh||6===jh||8===jh)Uh+="-";16>bq&&(Uh+="0");Uh+=bq.toString(16).toLowerCase()}Mb="@@WeakMap@@"+Uh}while(gf.call(Ya,Mb));Ya[Mb]=!0;return Mb}
function Aa(Mb,Uh){if(!gf.call(Mb,po)){if(!Uh)return;Object.defineProperty(Mb,po,{value:Object.create(null)})}return Mb[po]}
var $a="undefined"!==typeof global&&"object"===typeof iua&&"function"===typeof require&&require("crypto"),gf=Object.prototype.hasOwnProperty,Ya={},po=ma();ea.prototype={has:function(Mb){return(Mb=Aa(Mb,!1))?this._key in Mb:!1},
get:function(Mb){if(Mb=Aa(Mb,!1))return Mb[this._key]},
set:function(Mb,Uh){Aa(Mb,!0)[this._key]=Uh;return this},
delete:function(Mb){return(Mb=Aa(Mb,!1))&&this._key in Mb?delete Mb[this._key]:!1},
clear:function(){this._key=ma()}};
return ea}
var R=Object.getPrototypeOf(Function),da="function"===typeof Map?Map:D(),sa="function"===typeof Set?Set:E(),Ca=new ("function"===typeof WeakMap?WeakMap:J());a.decorate=function(ea,na,ma,Aa){if(p(Aa)){if(p(ma)){if(!Array.isArray(ea))throw new TypeError;if(!v(na))throw new TypeError;for(ma=ea.length-1;0<=ma;--ma)if(Aa=(0,ea[ma])(na),!p(Aa)){if(!v(Aa))throw new TypeError;na=Aa}return na}if(!Array.isArray(ea))throw new TypeError;if(!r(na))throw new TypeError;ma=z(ma);for(Aa=ea.length-1;0<=Aa;--Aa)(0,ea[Aa])(na,
ma)}else{if(Array.isArray(ea))if(r(na)){if(p(ma))throw new TypeError;if(!r(Aa))throw new TypeError;}else throw new TypeError;else throw new TypeError;ma=z(ma);for(var $a=ea.length-1;0<=$a;--$a){var gf=(0,ea[$a])(na,ma,Aa);if(!p(gf)){if(!r(gf))throw new TypeError;Aa=gf}}return Aa}};
a.metadata=function(ea,na){return function(ma,Aa){if(p(Aa)){if(!v(ma))throw new TypeError;b(ma,void 0,!0).set(ea,na)}else{if(!r(ma))throw new TypeError;Aa=z(Aa);b(ma,Aa,!0).set(ea,na)}}};
a.defineMetadata=function(ea,na){var ma;if(r(na))p(ma)||(ma=z(ma));else throw new TypeError;b(na,ma,!0).set("parameters",ea)};
a.hasMetadata=function(ea,na,ma){if(r(na))p(ma)||(ma=z(ma));else throw new TypeError;return c(ea,na,ma)};
a.hasOwnMetadata=function(ea,na,ma){if(r(na))p(ma)||(ma=z(ma));else throw new TypeError;return d(ea,na,ma)};
a.getMetadata=function(ea,na,ma){if(r(na))p(ma)||(ma=z(ma));else throw new TypeError;return e(ea,na,ma)};
a.getOwnMetadata=function(ea,na,ma){if(r(na))p(ma)||(ma=z(ma));else throw new TypeError;return h(ea,na,ma)};
a.getMetadataKeys=function(ea,na){if(r(ea))p(na)||(na=z(na));else throw new TypeError;return l(ea,na)};
a.getOwnMetadataKeys=function(ea,na){if(r(ea))p(na)||(na=z(na));else throw new TypeError;return m(ea,na)};
a.deleteMetadata=function(ea,na,ma){if(r(na))p(ma)||(ma=z(ma));else throw new TypeError;var Aa=b(na,ma,!1);if(!p(Aa)){if(!Aa.delete(ea))return!1;if(0<Aa.size)return!0;ea=Ca.get(na);ea.delete(ma);if(0<ea.size)return!0;Ca.delete(na);return!0}};
(function(ea){if("undefined"!==typeof ea.Reflect){if(ea.Reflect!==a)for(var na in a)ea.Reflect[na]=a[na]}else ea.Reflect=a})("undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope?self:"undefined"!==typeof global?global:Function("return this;")())})(jua||(jua={}));
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
window.JSCompiler_renameProperty=function(a){return a};
/*

Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
window.COMPILED=window.COMPILED||!1;
var Cba=/(url\()([^)]*)(\))/g,Bba=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,Vb,Wb;
var Em,oua,Mm,pua;_.Mc=!window.ShadyDOM||!window.ShadyDOM.inUse;_.kua=!(window.ShadyCSS&&!window.ShadyCSS.nativeCss);_.lua=!window.customElements.polyfillWrapFlushCallback;if(Em=_.Mc&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype)try{var mua=new CSSStyleSheet;mua.replaceSync("");var nua=document.createElement("div");nua.attachShadow({mode:"open"});nua.shadowRoot.adoptedStyleSheets=[mua];Em=nua.shadowRoot.adoptedStyleSheets[0]===mua}catch(a){Em=!1}oua=Em;
_.Fm=window.Polymer&&window.Polymer.rootPath||_.Zb(document.baseURI||window.location.href);_.oc=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;_.zc=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;_.Qc=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;_.Gm=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;_.Lc=window.Polymer&&window.Polymer.legacyOptimizations||!1;_.Pc=window.Polymer&&window.Polymer.legacyWarnings||!1;
_.Hm=window.Polymer&&window.Polymer.syncInitialRender||!1;_.qc=window.Polymer&&window.Polymer.legacyUndefined||!1;_.Im=window.Polymer&&window.Polymer.orderedComputed||!1;_.Jm=window.Polymer&&window.Polymer.removeNestedTemplates||!1;_.Km=window.Polymer&&window.Polymer.fastDomIf||!1;_.Lm=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;Mm=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1;pua=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;
var Nm,Om;Nm={};Om={};_.tc=function(){return HTMLElement.apply(this,arguments)||this};
_.q(_.tc,HTMLElement);_.tc.import=function(a,b){return a?(a=Nm[a]||Om[a.toLowerCase()])&&b?a.querySelector(b):a:null};
_.tc.prototype.attributeChangedCallback=function(a,b,c){b!==c&&this.register()};
_.tc.prototype.register=function(a){if(a=a||this.id){if(_.Qc&&void 0!==(Nm[a]||Om[a.toLowerCase()]))throw Nm[a]=Om[a.toLowerCase()]=null,Error("La`"+a);this.id=a;Nm[a]=Om[a.toLowerCase()]=this;this.querySelector("style")&&console.warn("dom-module %s has style outside template",this.id)}};
_.t.Object.defineProperties(_.tc.prototype,{assetpath:{configurable:!0,enumerable:!0,get:function(){if(!this.__assetpath){var a=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument;a=_.Xb(this.getAttribute("assetpath")||"",a.baseURI);this.__assetpath=_.Zb(a)}return this.__assetpath}}});
_.t.Object.defineProperties(_.tc,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["id"]}}});
_.tc["import"]=_.tc.import;_.tc.prototype.modules=Nm;customElements.define("dom-module",_.tc);
var qua=0,Eba=0,ac=[],rua=0,Dba=!1,sua=document.createTextNode("");(new window.MutationObserver(Fba)).observe(sua,{characterData:!0});_.Pm={after:function(a){return{run:function(b){return window.setTimeout(b,a)},
cancel:function(b){window.clearTimeout(b)}}},
run:function(a,b){return window.setTimeout(a,b)},
cancel:function(a){window.clearTimeout(a)}};
_.Jc={run:function(a){Dba||(Dba=!0,sua.textContent=rua++);ac.push(a);return qua++},
cancel:function(a){var b=a-Eba;if(0<=b){if(!ac[b])throw Error("Ma`"+a);ac[b]=null}}};
var tua;tua=0;_.Qg=function(a){var b=a.__mixinApplications;b||(b=new WeakMap,a.__mixinApplications=b);var c=tua++;return function(d){var e=d.__mixinSet;if(e&&e[c])return d;var h=b,l=h.get(d);l||(l=a(d),h.set(d,l),d=Object.create(l.__mixinSet||e||null),d[c]=!0,l.__mixinSet=d);return l}};
_.nc=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?function(a){return ShadyDOM.patch(a)}:function(a){return a};
_.Qm=_.Qg(function(a){var b=function(){var c=a.call(this)||this;c.__dataEnabled=!1;c.__dataReady=!1;c.__dataInvalid=!1;c.__data={};c.__dataPending=null;c.__dataOld=null;c.__dataInstanceProps=null;c.__dataCounter=0;c.__serializing=!1;c._initializeProperties();return c};
_.q(b,a);b.createProperties=function(c){var d=this.prototype,e;for(e in c)e in d||d._createPropertyAccessor(e)};
b.attributeNameForProperty=function(c){return c.toLowerCase()};
b.typeForProperty=function(){};
b.prototype._createPropertyAccessor=function(c,d){this._addPropertyToAttributeMap(c);this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor));this.__dataHasAccessor[c]||(this.__dataHasAccessor[c]=!0,this._definePropertyAccessor(c,d))};
b.prototype._addPropertyToAttributeMap=function(c){this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes));var d=this.__dataAttributes[c];d||(d=this.constructor.attributeNameForProperty(c),this.__dataAttributes[d]=c);return d};
b.prototype._definePropertyAccessor=function(c,d){Object.defineProperty(this,c,{get:function(){return this.__data[c]},
set:d?function(){}:function(e){this._setPendingProperty(c,e,!0)&&this._invalidateProperties()}})};
b.prototype.ready=function(){this.__dataReady=!0;this._flushProperties()};
b.prototype._initializeProperties=function(){for(var c in this.__dataHasAccessor)this.hasOwnProperty(c)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[c]=this[c],delete this[c])};
b.prototype._initializeInstanceProperties=function(c){Object.assign(this,c)};
b.prototype._setProperty=function(c,d){this._setPendingProperty(c,d)&&this._invalidateProperties()};
b.prototype._getProperty=function(c){return this.__data[c]};
b.prototype._setPendingProperty=function(c,d){var e=this.__data[c],h=this._shouldPropertyChange(c,d,e);h&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),!this.__dataOld||c in this.__dataOld||(this.__dataOld[c]=e),this.__data[c]=d,this.__dataPending[c]=d);return h};
b.prototype._isPropertyPending=function(c){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(c))};
b.prototype._invalidateProperties=function(){var c=this;!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,_.Jc.run(function(){c.__dataInvalid&&(c.__dataInvalid=!1,c._flushProperties())}))};
b.prototype._enableProperties=function(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())};
b.prototype._flushProperties=function(){this.__dataCounter++;var c=this.__data,d=this.__dataPending,e=this.__dataOld;this._shouldPropertiesChange(c,d,e)&&(this.__dataOld=this.__dataPending=null,this._propertiesChanged(c,d,e));this.__dataCounter--};
b.prototype._shouldPropertiesChange=function(c,d){return!!d};
b.prototype._propertiesChanged=function(){};
b.prototype._shouldPropertyChange=function(c,d,e){return e!==d&&(e===e||d===d)};
b.prototype.attributeChangedCallback=function(c,d,e,h){d!==e&&this._attributeToProperty(c,e);a.prototype.attributeChangedCallback&&a.prototype.attributeChangedCallback.call(this,c,d,e,h)};
b.prototype._attributeToProperty=function(c,d,e){if(!this.__serializing){var h=this.__dataAttributes;c=h&&h[c]||c;this[c]=this._deserializeValue(d,e||this.constructor.typeForProperty(c))}};
b.prototype._propertyToAttribute=function(c,d,e){this.__serializing=!0;e=3>arguments.length?this[c]:e;this._valueToNodeAttribute(this,e,d||this.constructor.attributeNameForProperty(c));this.__serializing=!1};
b.prototype._valueToNodeAttribute=function(c,d,e){d=this._serializeValue(d);if("class"===e||"name"===e||"slot"===e)c=(0,_.nc)(c);void 0===d?c.removeAttribute(e):c.setAttribute(e,d)};
b.prototype._serializeValue=function(c){switch(typeof c){case "boolean":return c?"":void 0;default:return null!=c?c.toString():void 0}};
b.prototype._deserializeValue=function(c,d){switch(d){case Boolean:return null!==c;case Number:return Number(c);default:return c}};
return b});
_.uua=0;_.bc=[];
_.vua=_.Qg(function(a){function b(h){h=Object.getPrototypeOf(h);return h.prototype instanceof e?h:null}
function c(h){if(!h.hasOwnProperty("__ownProperties")){var l=null;if(h.hasOwnProperty("properties")){var m=h.properties;if(m){l={};for(var p in m){var r=m[p];l[p]="function"===typeof r?{type:r}:r}}}h.__ownProperties=l}return h.__ownProperties}
var d=(0,_.Qm)(a),e=function(){return d.apply(this,arguments)||this};
_.q(e,d);e.finalize=function(){if(!this.hasOwnProperty("__finalized")){var h=b(this);h&&h.finalize();this.__finalized=!0;this._finalizeClass()}};
e._finalizeClass=function(){var h=c(this);h&&this.createProperties(h)};
e.typeForProperty=function(h){return(h=this._properties[h])&&h.type};
e.prototype._initializeProperties=function(){_.uua++;this.constructor.finalize();d.prototype._initializeProperties.call(this)};
e.prototype.connectedCallback=function(){d.prototype.connectedCallback&&d.prototype.connectedCallback.call(this);this._enableProperties()};
e.prototype.disconnectedCallback=function(){d.prototype.disconnectedCallback&&d.prototype.disconnectedCallback.call(this)};
_.t.Object.defineProperties(e,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){var h=this;if(!this.hasOwnProperty("__observedAttributes")){_.Gba(this.prototype);var l=this._properties;this.__observedAttributes=l?Object.keys(l).map(function(m){return h.prototype._addPropertyToAttributeMap(m)}):[]}return this.__observedAttributes}},
_properties:{configurable:!0,enumerable:!0,get:function(){if(!this.hasOwnProperty("__properties")){var h=b(this);this.__properties=Object.assign({},h&&h._properties,c(this))}return this.__properties}}});
return e});
var cc={},Hba=/-[a-z]/g,Iba=/([A-Z])/g;
for(var wua={},Rm=HTMLElement.prototype;Rm;){for(var xua=Object.getOwnPropertyNames(Rm),yua=0;yua<xua.length;yua++)wua[xua[yua]]=!0;Rm=Object.getPrototypeOf(Rm)}var zua;zua=window.trustedTypes?function(a){return trustedTypes.isHTML(a)||trustedTypes.isScript(a)||trustedTypes.isScriptURL(a)}:function(){return!1};
_.Aua=_.Qg(function(a){var b=(0,_.Qm)(a);a=function(){return b.apply(this,arguments)||this};
_.q(a,b);a.createPropertiesForAttributes=function(){for(var c=this.observedAttributes,d=0;d<c.length;d++)this.prototype._createPropertyAccessor(_.dc(c[d]))};
a.attributeNameForProperty=function(c){return _.ec(c)};
a.prototype._initializeProperties=function(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null);b.prototype._initializeProperties.call(this)};
a.prototype._initializeProtoProperties=function(c){for(var d in c)this._setProperty(d,c[d])};
a.prototype._ensureAttribute=function(c,d){this.hasAttribute(c)||this._valueToNodeAttribute(this,d,c)};
a.prototype._serializeValue=function(c){switch(typeof c){case "object":if(c instanceof Date)return c.toString();if(c){if(zua(c))return c;try{return JSON.stringify(c)}catch(d){return""}}default:return b.prototype._serializeValue.call(this,c)}};
a.prototype._deserializeValue=function(c,d){switch(d){case Object:try{var e=JSON.parse(c)}catch(h){e=c}break;case Array:try{e=JSON.parse(c)}catch(h){e=null,console.warn("Polymer::Attributes: couldn't decode Array as JSON: "+c)}break;case Date:e=isNaN(c)?String(c):Number(c);e=new Date(e);break;default:e=b.prototype._deserializeValue.call(this,c,d)}return e};
a.prototype._definePropertyAccessor=function(c,d){if(!wua[c]){var e=this[c];void 0!==e&&(this.__data?this._setPendingProperty(c,e):(this.__dataProto?this.hasOwnProperty("__dataProto")||(this.__dataProto=Object.create(this.__dataProto)):this.__dataProto={},this.__dataProto[c]=e))}b.prototype._definePropertyAccessor.call(this,c,d)};
a.prototype._hasAccessor=function(c){return this.__dataHasAccessor&&this.__dataHasAccessor[c]};
a.prototype._isPropertyPending=function(c){return!!(this.__dataPending&&c in this.__dataPending)};
return a});
var Bua,Cua,Dua,Eua;Bua={"dom-if":!0,"dom-repeat":!0};Cua=!1;Dua=!1;Eua=function(){var a=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:function(b){return b}});
return function(b,c,d){c=c.getAttribute(d);a&&d.startsWith("on-")?b.setAttribute(d,a.createScript(c,d)):b.setAttribute(d,c)}}();
_.Fua=_.Qg(function(a){var b=function(){return a.apply(this,arguments)||this};
_.q(b,a);b._parseTemplate=function(c,d){if(!c._templateInfo){var e=c._templateInfo={};e.nodeInfoList=[];e.nestedTemplate=!!d;e.stripWhiteSpace=d&&d.stripWhiteSpace||c.hasAttribute&&c.hasAttribute("strip-whitespace");this._parseTemplateContent(c,e,{parent:null})}return c._templateInfo};
b._parseTemplateContent=function(c,d,e){return this._parseTemplateNode(c.content,d,e)};
b._parseTemplateNode=function(c,d,e){var h=!1;"template"!=c.localName||c.hasAttribute("preserve-content")?"slot"===c.localName&&(d.hasInsertionPoint=!0):h=this._parseTemplateNestedTemplate(c,d,e)||h;if(!Cua){Cua=!0;var l=document.createElement("textarea");l.placeholder="a";Dua=l.placeholder===l.textContent}Dua&&"textarea"===c.localName&&c.placeholder&&c.placeholder===c.textContent&&(c.textContent=null);c.firstChild&&this._parseTemplateChildNodes(c,d,e);c.hasAttributes&&c.hasAttributes()&&(h=this._parseTemplateNodeAttributes(c,
d,e)||h);return h||e.noted};
b._parseTemplateChildNodes=function(c,d,e){if("script"!==c.localName&&"style"!==c.localName)for(var h=c.firstChild,l=0,m;h;h=m){if("template"==h.localName){var p=h.getAttribute("is");if(p&&Bua[p])for(m=h,m.removeAttribute("is"),h=m.ownerDocument.createElement(p),m.parentNode.replaceChild(h,m),h.appendChild(m);m.attributes.length;)p=m.attributes[0].name,Eua(h,m,p),m.removeAttribute(p)}m=h.nextSibling;if(h.nodeType===Node.TEXT_NODE){for(p=m;p&&p.nodeType===Node.TEXT_NODE;)h.textContent+=p.textContent,
m=p.nextSibling,c.removeChild(p),p=m;if(d.stripWhiteSpace&&!h.textContent.trim()){c.removeChild(h);continue}}p={parentIndex:l,parentInfo:e};this._parseTemplateNode(h,d,p)&&(p.infoIndex=d.nodeInfoList.push(p)-1);h.parentNode&&l++}};
b._parseTemplateNestedTemplate=function(c,d,e){d=this._parseTemplate(c,d);(d.content=c.content.ownerDocument.createDocumentFragment()).appendChild(c.content);e.templateInfo=d;return!0};
b._parseTemplateNodeAttributes=function(c,d,e){for(var h=!1,l=Array.from(c.attributes),m=l.length-1,p;p=l[m];m--)h=this._parseTemplateNodeAttribute(c,d,e,p.name,p.value)||h;return h};
b._parseTemplateNodeAttribute=function(c,d,e,h,l){return"on-"===h.slice(0,3)?(c.removeAttribute(h),e.events=e.events||[],e.events.push({name:h.slice(3),value:l}),!0):"id"===h?(e.id=l,!0):!1};
b._contentForTemplate=function(c){var d=c._templateInfo;return d&&d.content||c.content};
b.prototype._stampTemplate=function(c,d){c&&!c.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(c);d=d||this.constructor._parseTemplate(c);var e=d.nodeInfoList;c=document.importNode(d.content||c.content,!0);c.__noInsertionPoint=!d.hasInsertionPoint;var h=c.nodeList=Array(e.length);c.$={};for(var l=0,m=e.length,p=void 0;l<m&&(p=e[l]);l++){var r=h[l]=Jba(c,p);p.id&&(c.$[p.id]=r);var v=r,z=d;p.templateInfo&&(v._templateInfo=p.templateInfo,v._parentTemplateInfo=
z);if(p.events&&p.events.length){v=0;z=p.events;for(var A=void 0;v<z.length&&(A=z[v]);v++)this._addMethodEventListenerToNode(r,A.name,A.value,this)}}return c};
b.prototype._addMethodEventListenerToNode=function(c,d,e,h){e=Kba(h||c,e);this._addEventListenerToNode(c,d,e);return e};
b.prototype._addEventListenerToNode=function(c,d,e){c.addEventListener(d,e)};
b.prototype._removeEventListenerFromNode=function(c,d,e){c.removeEventListener(d,e)};
return b});
/*
 Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
 This code may only be used under the BSD style license found at
 http://polymer.github.io/LICENSE.txt The complete set of authors may be found
 at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
 be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
 Google as part of the polymer project is also subject to an additional IP
 rights grant found at http://polymer.github.io/PATENTS.txt
*/
var lc,pc,Gua,Hua,Iua,eca,Jua,Sm;lc=0;pc=[];Gua={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"};Hua=/[A-Z]/;
Iua=function(a,b,c,d,e){var h=e?_.gc(a):a;if(b=b[h])for(h=0;h<b.length;h++){var l=b[h];if(l.info.lastRun!==lc&&(!e||Qba(a,l.trigger))){l.info.lastRun=lc;l=l.info;for(var m=c,p=d,r=0,v=m.length-1,z=-1;r<=v;){var A=r+v>>1,D=p.get(m[A].methodInfo)-p.get(l.methodInfo);if(0>D)r=A+1;else if(0<D)v=A-1;else{z=A;break}}0>z&&(z=v+1);m.splice(z,0,l)}}};
eca=[];Jua=RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?((?:[a-zA-Z_$][\\w.:$\\-*]*)\\s*(?:\\(\\s*(?:(?:(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)(?:,\\s*(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*))*)?)\\)\\s*)?)(?:]]|}})","g");
_.Tm=_.Qg(function(a){var b=(0,_.Fua)((0,_.Aua)(a));a=function(){var c=b.call(this)||this;c.__isPropertyEffectsClient=!0;return c};
_.q(a,b);a.prototype._initializeProperties=function(){b.prototype._initializeProperties.call(this);this._registerHost();this.__dataClientsReady=!1;this.__dataLinkedPaths=this.__dataToNotify=this.__dataPendingClients=null;this.__dataHasPaths=!1;this.__dataCompoundStorage=this.__dataCompoundStorage||null;this.__dataHost=this.__dataHost||null;this.__dataTemp={};this.__dataClientsInitialized=!1};
a.prototype._registerHost=function(){if(Sm.length){var c=Sm[Sm.length-1];c._enqueueClient(this);this.__dataHost=c}};
a.prototype._initializeProtoProperties=function(c){this.__data=Object.create(c);this.__dataPending=Object.create(c);this.__dataOld={}};
a.prototype._initializeInstanceProperties=function(c){var d=this.__readOnly,e;for(e in c)d&&d[e]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[e]=this.__dataPending[e]=c[e])};
a.prototype._addPropertyEffect=function(c,d,e){this._createPropertyAccessor(c,"__readOnly"==d);var h=Pba(this,d,!0)[c];h||(h=this[d][c]=[]);h.push(e)};
a.prototype._removePropertyEffect=function(c,d,e){c=Pba(this,d,!0)[c];e=c.indexOf(e);0<=e&&c.splice(e,1)};
a.prototype._hasPropertyEffect=function(c,d){d=this[d];return!(!d||!d[c])};
a.prototype._hasReadOnlyEffect=function(c){return this._hasPropertyEffect(c,"__readOnly")};
a.prototype._hasNotifyEffect=function(c){return this._hasPropertyEffect(c,"__notifyEffects")};
a.prototype._hasReflectEffect=function(c){return this._hasPropertyEffect(c,"__reflectEffects")};
a.prototype._hasComputedEffect=function(c){return this._hasPropertyEffect(c,"__computeEffects")};
a.prototype._setPendingPropertyOrPath=function(c,d,e,h){if(h||_.gc(Array.isArray(c)?c[0]:c)!==c){if(!h&&(h=_.kc(this,c),c=_.Oba(this,c,d),!c||!b.prototype._shouldPropertyChange.call(this,c,d,h)))return!1;this.__dataHasPaths=!0;if(this._setPendingProperty(c,d,e)){if(e=this.__dataLinkedPaths)for(var l in e)h=e[l],_.hc(l,c)?(h=_.ic(l,h,c),this._setPendingPropertyOrPath(h,d,!0,!0)):_.hc(h,c)&&(h=_.ic(h,l,c),this._setPendingPropertyOrPath(h,d,!0,!0));return!0}}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[c])return this._setPendingProperty(c,
d,e);this[c]=d}return!1};
a.prototype._setUnmanagedPropertyToNode=function(c,d,e){if(e!==c[d]||"object"==typeof e)"className"===d&&(c=(0,_.nc)(c)),c[d]=e};
a.prototype._setPendingProperty=function(c,d,e){var h=this.__dataHasPaths&&_.fc(c);if(this._shouldPropertyChange(c,d,(h?this.__dataTemp:this.__data)[c])){this.__dataPending||(this.__dataPending={},this.__dataOld={});c in this.__dataOld||(this.__dataOld[c]=this.__data[c]);h?this.__dataTemp[c]=d:this.__data[c]=d;this.__dataPending[c]=d;if(h||this.__notifyEffects&&this.__notifyEffects[c])this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[c]=e;return!0}return!1};
a.prototype._setProperty=function(c,d){this._setPendingProperty(c,d,!0)&&this._invalidateProperties()};
a.prototype._invalidateProperties=function(){this.__dataReady&&this._flushProperties()};
a.prototype._enqueueClient=function(c){this.__dataPendingClients=this.__dataPendingClients||[];c!==this&&this.__dataPendingClients.push(c)};
a.prototype._flushClients=function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)};
a.prototype.__enableOrFlushClients=function(){var c=this.__dataPendingClients;if(c){this.__dataPendingClients=null;for(var d=0;d<c.length;d++){var e=c[d];e.__dataEnabled?e.__dataPending&&e._flushProperties():e._enableProperties()}}};
a.prototype._readyClients=function(){this.__enableOrFlushClients()};
a.prototype.setProperties=function(c,d){for(var e in c)!d&&this.__readOnly&&this.__readOnly[e]||this._setPendingPropertyOrPath(e,c[e],!0);this._invalidateProperties()};
a.prototype.ready=function(){this._flushProperties();this.__dataClientsReady||this._flushClients();this.__dataPending&&this._flushProperties()};
a.prototype._propertiesChanged=function(c,d,e){c=this.__dataHasPaths;this.__dataHasPaths=!1;var h;if(h=this.__computeEffects)if(_.Im){lc++;var l=Wba(this),m=[],p;for(p in d)Iua(p,h,m,l,c);for(;p=m.shift();)Yba(this,"",d,e,p)&&Iua(p.methodInfo,h,m,l,c);Object.assign(e,this.__dataOld);Object.assign(d,this.__dataPending);this.__dataPending=null}else for(l=d;mc(this,h,l,e,c);)Object.assign(e,this.__dataOld),Object.assign(d,this.__dataPending),l=this.__dataPending,this.__dataPending=null;h=this.__dataToNotify;
this.__dataToNotify=null;this._propagatePropertyChanges(d,e,c);this._flushClients();mc(this,this.__reflectEffects,d,e,c);mc(this,this.__observeEffects,d,e,c);if(h){l=this.__notifyEffects;m=lc++;for(var r in h)if(h[r]){if(p=l){var v=l;p=m;var z=r,A=d,D=e,E=c,J=!1,R=E?_.gc(z):z;if(v=v[R]){R=0;for(var da=v.length,sa=void 0;R<da&&(sa=v[R]);R++)sa.info&&sa.info.lastRun===p||E&&!Qba(z,sa.trigger)||(sa.info&&(sa.info.lastRun=p),sa.fn(this,z,A,D,sa.info,E,void 0),J=!0)}p=J}if(p)var Ca=!0;else{if(p=c)p=r,
z=d,A=_.gc(p),A!==p?(A=_.ec(A)+"-changed",Sba(this,A,z[p],p),p=!0):p=!1;p&&(Ca=!0)}}var ea;Ca&&(ea=this.__dataHost)&&ea._invalidateProperties&&ea._invalidateProperties()}1==this.__dataCounter&&(this.__dataTemp={})};
a.prototype._propagatePropertyChanges=function(c,d,e){this.__propagateEffects&&mc(this,this.__propagateEffects,c,d,e);this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,c,d,e)};
a.prototype._runEffectsForTemplate=function(c,d,e,h){var l=this,m=function(p,r){mc(l,c.propertyEffects,p,e,r,c.nodeList);for(var v=c.firstChild;v;v=v.nextSibling)l._runEffectsForTemplate(v,p,e,r)};
c.runEffects?c.runEffects(m,d,h):m(d,h)};
a.prototype.linkPaths=function(c,d){c=_.jc(c);d=_.jc(d);this.__dataLinkedPaths=this.__dataLinkedPaths||{};this.__dataLinkedPaths[c]=d};
a.prototype.unlinkPaths=function(c){c=_.jc(c);this.__dataLinkedPaths&&delete this.__dataLinkedPaths[c]};
a.prototype.notifySplices=function(c,d){var e={path:""};c=_.kc(this,c,e);ica(this,c,e.path,d)};
a.prototype.get=function(c,d){return _.kc(d||this,c)};
a.prototype.set=function(c,d,e){e?_.Oba(e,c,d):this.__readOnly&&this.__readOnly[c]||this._setPendingPropertyOrPath(c,d,!0)&&this._invalidateProperties()};
a.prototype.push=function(c){var d=_.Ob.apply(1,arguments),e={path:""},h=_.kc(this,c,e),l=h.length,m=h.push.apply(h,_.sc(d));d.length&&rc(this,h,e.path,l,d.length,[]);return m};
a.prototype.pop=function(c){var d={path:""};c=_.kc(this,c,d);var e=!!c.length,h=c.pop();e&&rc(this,c,d.path,c.length,0,[h]);return h};
a.prototype.splice=function(c,d,e){var h=_.Ob.apply(3,arguments),l={path:""},m=_.kc(this,c,l);0>d?d=m.length-Math.floor(-d):d&&(d=Math.floor(d));var p=2===arguments.length?m.splice(d):m.splice.apply(m,[d,e].concat(_.sc(h)));(h.length||p.length)&&rc(this,m,l.path,d,h.length,p);return p};
a.prototype.shift=function(c){var d={path:""};c=_.kc(this,c,d);var e=!!c.length,h=c.shift();e&&rc(this,c,d.path,0,0,[h]);return h};
a.prototype.unshift=function(c){var d=_.Ob.apply(1,arguments),e={path:""},h=_.kc(this,c,e),l=h.unshift.apply(h,_.sc(d));d.length&&rc(this,h,e.path,0,d.length,[]);return l};
a.prototype.notifyPath=function(c,d){if(1==arguments.length){var e={path:""};d=_.kc(this,c,e);e=e.path}else e=Array.isArray(c)?_.jc(c):c;this._setPendingPropertyOrPath(e,d,!0,!0)&&this._invalidateProperties()};
a.prototype._createReadOnlyProperty=function(c,d){this._addPropertyEffect(c,"__readOnly");d&&(this["_set"+(c[0].toUpperCase()+c.substring(1))]=function(e){this._setProperty(c,e)})};
a.prototype._createPropertyObserver=function(c,d,e){var h={property:c,method:d,dynamicFn:!!e};this._addPropertyEffect(c,"__observeEffects",{fn:Rba,info:h,trigger:{name:c}});e&&this._addPropertyEffect(d,"__observeEffects",{fn:Rba,info:h,trigger:{name:d}})};
a.prototype._createMethodObserver=function(c,d){var e=gca(c);if(!e)throw Error("Na`"+c);cca(this,e,"__observeEffects",Xba,null,d)};
a.prototype._createNotifyingProperty=function(c){this._addPropertyEffect(c,"__notifyEffects",{fn:Tba,info:{eventName:_.ec(c)+"-changed",property:c}})};
a.prototype._createReflectedProperty=function(c){var d=this.constructor.attributeNameForProperty(c);"-"===d[0]?console.warn("Property "+c+" cannot be reflected to attribute "+d+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(c,"__reflectEffects",{fn:Uba,info:{attrName:d}})};
a.prototype._createComputedProperty=function(c,d,e){var h=gca(d);if(!h)throw Error("Oa`"+d);d=cca(this,h,"__computeEffects",Yba,c,e);Pba(this,"__computeInfo")[c]=d};
a.prototype._marshalArgs=function(c,d,e){for(var h=this.__data,l=[],m=0,p=c.length;m<p;m++){var r=c[m],v=r.name,z=r.structured,A=r.wildcard,D=r.value;r.literal||(A?(r=_.hc(v,d),z=hca(h,e,r?d:v),D={path:r?d:v,value:z,base:r?_.kc(h,v):z}):D=z?hca(h,e,v):h[v]);if(_.qc&&!this._overrideLegacyUndefined&&void 0===D&&1<c.length)return pc;l[m]=D}return l};
a.addPropertyEffect=function(c,d,e){this.prototype._addPropertyEffect(c,d,e)};
a.createPropertyObserver=function(c,d,e){this.prototype._createPropertyObserver(c,d,e)};
a.createMethodObserver=function(c,d){this.prototype._createMethodObserver(c,d)};
a.createNotifyingProperty=function(c){this.prototype._createNotifyingProperty(c)};
a.createReadOnlyProperty=function(c,d){this.prototype._createReadOnlyProperty(c,d)};
a.createReflectedProperty=function(c){this.prototype._createReflectedProperty(c)};
a.createComputedProperty=function(c,d,e){this.prototype._createComputedProperty(c,d,e)};
a.bindTemplate=function(c){return this.prototype._bindTemplate(c)};
a.prototype._bindTemplate=function(c,d){var e=this.constructor._parseTemplate(c),h=this.__preBoundTemplateInfo==e;if(!h)for(var l in e.propertyEffects)this._createPropertyAccessor(l);d?(e=Object.create(e),e.wasPreBound=h,this.__templateInfo?(c=c._parentTemplateInfo||this.__templateInfo,d=c.lastChild,e.parent=c,c.lastChild=e,(e.previousSibling=d)?d.nextSibling=e:c.firstChild=e):this.__templateInfo=e):this.__preBoundTemplateInfo=e;return e};
a._addTemplatePropertyEffect=function(c,d,e){(c.hostProps=c.hostProps||{})[d]=!0;c=c.propertyEffects=c.propertyEffects||{};(c[d]=c[d]||[]).push(e)};
a.prototype._stampTemplate=function(c,d){d=d||this._bindTemplate(c,!0);Sm.push(this);c=b.prototype._stampTemplate.call(this,c,d);Sm.pop();d.nodeList=c.nodeList;if(!d.wasPreBound)for(var e=d.childNodes=[],h=c.firstChild;h;h=h.nextSibling)e.push(h);c.templateInfo=d;e=d.nodeList;h=d.nodeInfoList;if(h.length)for(var l=0;l<h.length;l++){var m=e[l],p=h[l].bindings;if(p)for(var r=0;r<p.length;r++){var v=p[r],z=m,A=v;if(A.isCompound){for(var D=z.__dataCompoundStorage||(z.__dataCompoundStorage={}),E=A.parts,
J=Array(E.length),R=0;R<E.length;R++)J[R]=E[R].literal;E=A.target;D[E]=J;A.literal&&"property"==A.kind&&("className"===E&&(z=(0,_.nc)(z)),z[E]=A.literal)}bca(m,this,v)}m.__dataHost=this}this.__dataClientsReady&&(this._runEffectsForTemplate(d,this.__data,null,!1),this._flushClients());return c};
a.prototype._removeBoundDom=function(c){c=c.templateInfo;var d=c.previousSibling,e=c.nextSibling,h=c.parent;d?d.nextSibling=e:h&&(h.firstChild=e);e?e.previousSibling=d:h&&(h.lastChild=d);c.nextSibling=c.previousSibling=null;c=c.childNodes;for(d=0;d<c.length;d++)e=c[d],(0,_.nc)((0,_.nc)(e).parentNode).removeChild(e)};
a._parseTemplateNode=function(c,d,e){var h=b._parseTemplateNode.call(this,c,d,e);if(c.nodeType===Node.TEXT_NODE){var l=this._parseBindings(c.textContent,d);l&&(c.textContent=dca(l)||" ",aca(this,d,e,"text","textContent",l),h=!0)}return h};
a._parseTemplateNodeAttribute=function(c,d,e,h,l){var m=this._parseBindings(l,d);if(m){l=h;var p="property";Hua.test(h)?p="attribute":"$"==h[h.length-1]&&(h=h.slice(0,-1),p="attribute");var r=dca(m);r&&"attribute"==p&&("class"==h&&c.hasAttribute("class")&&(r+=" "+c.getAttribute(h)),c.setAttribute(h,r));"attribute"==p&&"disable-upgrade$"==l&&c.setAttribute(h,"");"input"===c.localName&&"value"===l&&c.setAttribute(l,"");c.removeAttribute(l);"property"===p&&(h=_.dc(h));aca(this,d,e,p,h,m,r);return!0}return b._parseTemplateNodeAttribute.call(this,
c,d,e,h,l)};
a._parseTemplateNestedTemplate=function(c,d,e){var h=b._parseTemplateNestedTemplate.call(this,c,d,e),l=c.parentNode,m=e.templateInfo,p="dom-if"===l.localName,r="dom-repeat"===l.localName;_.Jm&&(p||r)&&(l.removeChild(c),e=e.parentInfo,e.templateInfo=m,e.noted=!0,h=!1);c=m.hostProps;if(_.Km&&p)c&&(d.hostProps=Object.assign(d.hostProps||{},c),_.Jm||(e.parentInfo.noted=!0));else for(var v in c)aca(this,d,e,"property","_host_"+v,[{mode:"{",source:v,dependencies:[v],hostProp:!0}]);return h};
a._parseBindings=function(c,d){for(var e=[],h=0,l;null!==(l=Jua.exec(c));){l.index>h&&e.push({literal:c.slice(h,l.index)});h=l[1][0];var m=!!l[2];l=l[3].trim();var p=!1,r="",v=-1;"{"==h&&0<(v=l.indexOf("::"))&&(r=l.substring(v+2),l=l.substring(0,v),p=!0);v=gca(l);var z=[];if(v){var A=v,D=A.args;A=A.methodName;for(var E=0;E<D.length;E++){var J=D[E];J.literal||z.push(J)}if((D=d.dynamicFns)&&D[A]||v.static)z.push(A),v.dynamicFn=!0}else z.push(l);e.push({source:l,mode:h,negate:m,customEvent:p,signature:v,
dependencies:z,event:r});h=Jua.lastIndex}h&&h<c.length&&(c=c.substring(h))&&e.push({literal:c});return e.length?e:null};
a._evaluateBinding=function(c,d,e,h,l,m){c=d.signature?Xba(c,e,h,l,d.signature):e!=d.source?_.kc(c,d.source):m&&_.fc(e)?_.kc(c,e):c.__data[e];d.negate&&(c=!c);return c};
_.t.Object.defineProperties(a.prototype,{PROPERTY_EFFECT_TYPES:{configurable:!0,enumerable:!0,get:function(){return Gua}}});
return a});
Sm=[];
var Kua;Kua=window.ShadyCSS&&window.ShadyCSS.cssBuild;
_.Um=_.Qg(function(a){function b(d,e,h,l){if(!Kua){for(var m=e.content.querySelectorAll("style"),p=_.uc(e),r=_.mca(h),v=e.content.firstElementChild,z=0;z<r.length;z++){var A=r[z];A.textContent=d._processStyleText(A.textContent,l);e.content.insertBefore(A,v)}for(v=r=0;v<p.length;v++)z=p[v],A=m[r],A!==z?(z=z.cloneNode(!0),A.parentNode.insertBefore(z,A)):r++,z.textContent=d._processStyleText(z.textContent,l)}window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,h);if(pua&&Kua&&oua&&(e=e.content.querySelectorAll("style"))){var D=
"";Array.from(e).forEach(function(E){D+=E.textContent;E.parentNode.removeChild(E)});
d._styleSheet=new CSSStyleSheet;d._styleSheet.replaceSync(D)}}
var c=(0,_.vua)((0,_.Tm)(a));a=function(){return c.call(this)||this};
_.q(a,c);a._finalizeClass=function(){c._finalizeClass.call(this);var d;this.hasOwnProperty("__ownObservers")||(this.__ownObservers=this.hasOwnProperty("observers")?this.observers:null);(d=this.__ownObservers)&&this.createObservers(d,this._properties);this._prepareTemplate()};
a._prepareTemplate=function(){var d=this.template;d&&("string"===typeof d?(console.error("template getter must return HTMLTemplateElement"),d=null):_.Lc||(d=d.cloneNode(!0)));this.prototype._template=d};
a.createProperties=function(d){for(var e in d){var h=this.prototype,l=e,m=d[e],p=d;m.computed&&(m.readOnly=!0);m.computed&&(h._hasReadOnlyEffect(l)?console.warn("Cannot redefine computed property '"+l+"'."):h._createComputedProperty(l,m.computed,p));m.readOnly&&!h._hasReadOnlyEffect(l)?h._createReadOnlyProperty(l,!m.computed):!1===m.readOnly&&h._hasReadOnlyEffect(l)&&console.warn("Cannot make readOnly property '"+l+"' non-readOnly.");m.reflectToAttribute&&!h._hasReflectEffect(l)?h._createReflectedProperty(l):
!1===m.reflectToAttribute&&h._hasReflectEffect(l)&&console.warn("Cannot make reflected property '"+l+"' non-reflected.");m.notify&&!h._hasNotifyEffect(l)?h._createNotifyingProperty(l):!1===m.notify&&h._hasNotifyEffect(l)&&console.warn("Cannot make notify property '"+l+"' non-notify.");m.observer&&h._createPropertyObserver(l,m.observer,p[m.observer]);h._addPropertyToAttributeMap(l)}};
a.createObservers=function(d,e){for(var h=this.prototype,l=0;l<d.length;l++)h._createMethodObserver(d[l],e)};
a.prototype._initializeProperties=function(){this.constructor.finalize();this.constructor._finalizeTemplate(this.localName);c.prototype._initializeProperties.call(this);this.rootPath=_.Fm;this.importPath=this.constructor.importPath;var d=this.constructor;if(!d.hasOwnProperty("__propertyDefaults")){d.__propertyDefaults=null;var e=d._properties,h;for(h in e){var l=e[h];"value"in l&&(d.__propertyDefaults=d.__propertyDefaults||{},d.__propertyDefaults[h]=l)}}if(d=d.__propertyDefaults)for(var m in d)e=
d[m],this._canApplyPropertyDefault(m)&&(e="function"==typeof e.value?e.value.call(this):e.value,this._hasAccessor(m)?this._setPendingProperty(m,e,!0):this[m]=e)};
a.prototype._canApplyPropertyDefault=function(d){return!this.hasOwnProperty(d)};
a._processStyleText=function(d,e){return _.Yb(d,e)};
a._finalizeTemplate=function(d){var e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;var h=this.importPath;h=h?_.Xb(h):"";b(this,e,d,h);this.prototype._bindTemplate(e)}};
a.prototype.connectedCallback=function(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this);c.prototype.connectedCallback.call(this)};
a.prototype.ready=function(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$);c.prototype.ready.call(this)};
a.prototype._readyClients=function(){this._template&&(this.root=this._attachDom(this.root));c.prototype._readyClients.call(this)};
a.prototype._attachDom=function(d){var e=(0,_.nc)(this);if(e.attachShadow)return d?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:d}),e.shadowRoot.appendChild(d),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),_.Hm&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw Error("Qa");};
a.prototype.updateStyles=function(d){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,d)};
a.prototype.resolveUrl=function(d,e){!e&&this.importPath&&(e=_.Xb(this.importPath));return _.Xb(d,e)};
a._parseTemplateContent=function(d,e,h){e.dynamicFns=e.dynamicFns||this._properties;return c._parseTemplateContent.call(this,d,e,h)};
a._addTemplatePropertyEffect=function(d,e,h){!_.Pc||e in this._properties||h.info.part.signature&&h.info.part.signature.static||h.info.part.hostProp||d.nestedTemplate||console.warn("Property '"+e+"' used in template but not declared in 'properties'; attribute will not be observed.");return c._addTemplatePropertyEffect.call(this,d,e,h)};
_.t.Object.defineProperties(a,{template:{configurable:!0,enumerable:!0,get:function(){if(!this.hasOwnProperty("_template")){var d=this.prototype.hasOwnProperty("_template")?this.prototype._template:void 0;"function"===typeof d&&(d=d());if(void 0===d){if(d=this.hasOwnProperty("is")){d=this.is;var e=null;if(d&&(!_.Qc||_.Gm)&&(e=_.tc.import(d,"template"),_.Qc&&!e))throw Error("Pa`"+d);d=e}d=d||Object.getPrototypeOf(this.prototype).constructor.template}this._template=d}return this._template},
set:function(d){this._template=d}},
importPath:{configurable:!0,enumerable:!0,get:function(){if(!this.hasOwnProperty("_importPath")){var d=this.importMeta;d?this._importPath=_.Zb(d.url):this._importPath=(d=_.tc.import(this.is))&&d.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}return this._importPath}}});
return a});
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var Lua;Lua=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:function(a){return a}});
_.Vm=function(a){var b=_.Ob.apply(1,arguments);_.Mua(a,b);var c=document.createElement("template");b=b.reduce(function(d,e,h){if(e instanceof HTMLTemplateElement)e=e.innerHTML;else if("function"==typeof _.wc&&e instanceof _.wc)e=_.tca(e);else throw Error("Sa`"+e);return d+e+a[h+1]},a[0]);
Lua&&(b=Lua.createHTML(b));c.innerHTML=b;return c};
_.Mua=function(a,b){if(!Array.isArray(a)||!Array.isArray(a.raw)||b.length!==a.length-1)throw new TypeError("Ta");};
_.Wm=(0,_.Um)(HTMLElement);
var Oua;_.Nua=_.Qg(function(a){var b=(0,_.Um)(a);a=function(){var c=b.call(this)||this;c.__lastItems=null;c.__lastMulti=null;c.__selectedMap=null;return c};
_.q(a,b);a.prototype.__updateSelection=function(c,d){var e=d.path;"items"==e?(d=d.base||[],e=this.__lastItems,c!==this.__lastMulti&&this.clearSelection(),e&&(e=_.sca(d,e),this.__applySplices(e)),this.__lastItems=d,this.__lastMulti=c):"items.splices"==d.path?this.__applySplices(d.value.indexSplices):(c=e.slice(6),d=parseInt(c,10),0>c.indexOf(".")&&c==d&&this.__deselectChangedIdx(d))};
a.prototype.__applySplices=function(c){for(var d=this,e=this.__selectedMap,h={},l=0;l<c.length;h={$jscomp$loop$prop$s$3296:h.$jscomp$loop$prop$s$3296},l++){h.$jscomp$loop$prop$s$3296=c[l];e.forEach(function(v){return function(z,A){z<v.$jscomp$loop$prop$s$3296.index||(z>=v.$jscomp$loop$prop$s$3296.index+v.$jscomp$loop$prop$s$3296.removed.length?e.set(A,z+v.$jscomp$loop$prop$s$3296.addedCount-v.$jscomp$loop$prop$s$3296.removed.length):e.set(A,-1))}}(h));
for(var m=0;m<h.$jscomp$loop$prop$s$3296.addedCount;m++){var p=h.$jscomp$loop$prop$s$3296.index+m;e.has(this.items[p])&&e.set(this.items[p],p)}}this.__updateLinks();var r=0;e.forEach(function(v,z){0>v?(d.multi?d.splice("selected",r,1):d.selected=d.selectedItem=null,e.delete(z)):r++})};
a.prototype.__updateLinks=function(){var c=this;this.__dataLinkedPaths={};if(this.multi){var d=0;this.__selectedMap.forEach(function(e){0<=e&&c.linkPaths("items."+e,"selected."+d++)})}else this.__selectedMap.forEach(function(e){c.linkPaths("selected","items."+e);
c.linkPaths("selectedItem","items."+e)})};
a.prototype.clearSelection=function(){this.__dataLinkedPaths={};this.__selectedMap=new Map;this.selected=this.multi?[]:null;this.selectedItem=null};
a.prototype.isSelected=function(c){return this.__selectedMap.has(c)};
a.prototype.isIndexSelected=function(c){return this.isSelected(this.items[c])};
a.prototype.__deselectChangedIdx=function(c){var d=this,e=this.__selectedIndexForItemIndex(c);if(0<=e){var h=0;this.__selectedMap.forEach(function(l,m){e==h++&&d.deselect(m)})}};
a.prototype.__selectedIndexForItemIndex=function(c){if(c=this.__dataLinkedPaths["items."+c])return parseInt(c.slice(9),10)};
a.prototype.deselect=function(c){var d=this.__selectedMap.get(c);if(0<=d){this.__selectedMap.delete(c);var e;this.multi&&(e=this.__selectedIndexForItemIndex(d));this.__updateLinks();this.multi?this.splice("selected",e,1):this.selected=this.selectedItem=null}};
a.prototype.deselectIndex=function(c){this.deselect(this.items[c])};
a.prototype.select=function(c){this.selectIndex(this.items.indexOf(c))};
a.prototype.selectIndex=function(c){var d=this.items[c];this.isSelected(d)?this.toggle&&this.deselectIndex(c):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(d,c),this.__updateLinks(),this.multi?this.push("selected",d):this.selected=this.selectedItem=d)};
_.t.Object.defineProperties(a,{properties:{configurable:!0,enumerable:!0,get:function(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}},
observers:{configurable:!0,enumerable:!0,get:function(){return["__updateSelection(multi, items.*)"]}}});
return a});
Oua=(0,_.Nua)(_.Wm);_.Xm=function(){return Oua.apply(this,arguments)||this};
_.q(_.Xm,Oua);_.t.Object.defineProperties(_.Xm,{is:{configurable:!0,enumerable:!0,get:function(){return"array-selector"}},
template:{configurable:!0,enumerable:!0,get:function(){return null}}});
customElements.define(_.Xm.is,_.Xm);
var Pua=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Zm=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Xda=/@media\s(.*)/;
var xca=null,wca=window.HTMLImports&&window.HTMLImports.whenReady||null,yca;
var $m=null,an=null,bn=function(){this.customStyles=[];this.enqueued=!1;zca(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})},Qua=function(a){!a.enqueued&&an&&(a.enqueued=!0,zca(an))};
bn.prototype.addCustomStyle=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),Qua(this))};
bn.prototype.getStyleForCustomStyle=function(a){if(a.__shadyCSSCachedStyle)return a.__shadyCSSCachedStyle;var b;a.getStyle?b=a.getStyle():b=a;return b};
bn.prototype.processStyles=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var c=a[b];if(!c.__shadyCSSCachedStyle){var d=this.getStyleForCustomStyle(c);d&&(d=d.__appliedElement||d,$m&&$m(d),c.__shadyCSSCachedStyle=d)}}return a};
bn.prototype.addCustomStyle=bn.prototype.addCustomStyle;bn.prototype.getStyleForCustomStyle=bn.prototype.getStyleForCustomStyle;bn.prototype.processStyles=bn.prototype.processStyles;Object.defineProperties(bn.prototype,{transformCallback:{get:function(){return $m},
set:function(a){$m=a}},
validateCallback:{get:function(){return an},
set:function(a){var b=!1;an||(b=!0);an=a;b&&Qua(this)}}});
var xc=!(window.ShadyDOM&&window.ShadyDOM.inUse),Aca,Wc;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(Wc=window.ShadyCSS.cssBuild);var Rua=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Aca=window.ShadyCSS.nativeCss:window.ShadyCSS?(Bca(window.ShadyCSS),window.ShadyCSS=void 0):Bca(window.WebComponents&&window.WebComponents.flags);var Uda=Aca;
var cn=new bn;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(){},
prepareTemplateDom:function(){},
prepareTemplateStyles:function(){},
styleSubtree:function(a,b){cn.processStyles();uca(a,b)},
styleElement:function(){cn.processStyles()},
styleDocument:function(a){cn.processStyles();uca(document.body,a)},
getComputedStyleValue:function(a,b){return vca(a,b)},
flushCustomStyles:function(){},
nativeCss:Uda,nativeShadow:xc,cssBuild:Wc,disableRuntime:Rua});window.ShadyCSS.CustomStyleInterface=cn;
var Sua;Sua=window.ShadyCSS.CustomStyleInterface;_.dn=function(){var a=HTMLElement.call(this)||this;a._style=null;Sua.addCustomStyle(a);return a};
_.q(_.dn,HTMLElement);_.dn.prototype.getStyle=function(){if(this._style)return this._style;var a=this.querySelector("style");if(!a)return null;this._style=a;var b=a.getAttribute("include");b&&(a.removeAttribute("include"),a.textContent=_.oca(b)+a.textContent);this.ownerDocument!==window.document&&window.document.head.appendChild(this);return this._style};
_.dn.prototype.getStyle=_.dn.prototype.getStyle;window.customElements.define("custom-style",_.dn);
var fn,Uua;_.en=function(){this._timer=this._callback=this._asyncModule=null};
_.en.prototype.setConfig=function(a,b){var c=this;this._asyncModule=a;this._callback=b;this._timer=this._asyncModule.run(function(){c._timer=null;fn.delete(c);c._callback()})};
_.en.prototype.cancel=function(){this.isActive()&&(Tua(this),fn.delete(this))};
var Tua=function(a){a.isActive()&&(a._asyncModule.cancel(a._timer),a._timer=null)};
_.en.prototype.flush=function(){this.isActive()&&(this.cancel(),this._callback())};
_.en.prototype.isActive=function(){return null!=this._timer};
_.gn=function(a,b,c){a instanceof _.en?Tua(a):a=new _.en;a.setConfig(b,c);return a};
fn=new Set;_.hn=function(a){fn.add(a)};
Uua=function(){var a=!!fn.size;fn.forEach(function(b){try{b.flush()}catch(c){setTimeout(function(){throw c;})}});
return a};
var Cca="string"===typeof document.head.style.touchAction,yc=["mousedown","mousemove","mouseup","click"],Qca=[0,1,4,2],Pca,Lca,Mca,Vua,ada,Nca,Wua,Vca,Wca,Uca,Xca,Cc;try{Pca=1===(new MouseEvent("test",{buttons:1})).buttons}catch(a){Pca=!1}var Jca=!1;(function(){try{var a=Object.defineProperty({},"passive",{get:function(){Jca=!0}});
window.addEventListener("test",null,a);window.removeEventListener("test",null,a)}catch(b){}})();
Lca=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);Mca=[];Vua={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0};ada={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};
Nca=function(a){var b=a.sourceCapabilities;if(!b||b.firesTouchEvents)if(a.__polymerGesturesHandled={skip:!0},"click"===a.type){b=!1;for(var c=Cc(a),d=0;d<c.length;d++){if(c[d].nodeType===Node.ELEMENT_NODE)if("label"===c[d].localName)Mca.push(c[d]);else if(Vua[c[d].localName]){var e=c[d];var h=Array.prototype.slice.call(e.labels||[]);if(!h.length){h=[];try{var l=e.getRootNode();if(e.id){var m=l.querySelectorAll("label[for = "+e.id+"]");for(e=0;e<m.length;e++)h.push(m[e])}}catch(p){}}for(e=0;e<h.length;e++)b=
b||-1<Mca.indexOf(h[e])}if(c[d]===Wua)return}b||(a.preventDefault(),a.stopPropagation())}};
Wua=null;_.jn=null;Vca=0;Wca=0;Uca=-1;Xca=!1;document.addEventListener("touchend",function(a){_.jn||Oca(!0);Wua=Cc(a)[0];_.jn=_.gn(_.jn,_.Pm.after(2500),function(){Oca();_.jn=Wua=null})},Jca?{passive:!0}:!1);
Cc=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:function(a){return a.composedPath&&a.composedPath()||[]};
_.Fc={};_.Dc=[];_.Ic({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){Bc(this.info)},
mousedown:function(a){if(Ac(a)){var b=_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a),c=this;Sca(this.info,function(d){Ac(d)||(Kc("up",b,d),Bc(c.info))},function(d){Ac(d)&&Kc("up",b,d);
Bc(c.info)});
Kc("down",b,a)}},
touchstart:function(a){Kc("down",_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a),a.changedTouches[0],a)},
touchend:function(a){Kc("up",_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a),a.changedTouches[0],a)}});
_.Ic({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(a){2<this.moves.length&&this.moves.shift();this.moves.push(a)},
movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start";this.info.started=!1;this.info.moves=[];this.info.x=0;this.info.y=0;this.info.prevent=!1;Bc(this.info)},
mousedown:function(a){if(Ac(a)){var b=_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a),c=this,d=function(e){var h=e.clientX,l=e.clientY;Zca(c.info,h,l)&&(c.info.state=c.info.started?"mouseup"===e.type?"end":"track":"start","start"===c.info.state&&_.Ec("tap"),c.info.addMove({x:h,y:l}),Ac(e)||(c.info.state="end",Bc(c.info)),b&&$ca(c.info,b,e),c.info.started=!0)};
Sca(this.info,d,function(e){c.info.started&&d(e);Bc(c.info)});
this.info.x=a.clientX;this.info.y=a.clientY}},
touchstart:function(a){a=a.changedTouches[0];this.info.x=a.clientX;this.info.y=a.clientY},
touchmove:function(a){var b=_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a);a=a.changedTouches[0];var c=a.clientX,d=a.clientY;Zca(this.info,c,d)&&("start"===this.info.state&&_.Ec("tap"),this.info.addMove({x:c,y:d}),$ca(this.info,b,a),this.info.state="track",this.info.started=!0)},
touchend:function(a){var b=_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a);a=a.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:a.clientX,y:a.clientY}),$ca(this.info,b,a))}});
_.Ic({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN;this.info.y=NaN;this.info.prevent=!1},
mousedown:function(a){Ac(a)&&(this.info.x=a.clientX,this.info.y=a.clientY)},
click:function(a){Ac(a)&&bda(this.info,a)},
touchstart:function(a){a=a.changedTouches[0];this.info.x=a.clientX;this.info.y=a.clientY},
touchend:function(a){bda(this.info,a.changedTouches[0],a)}});
_.Xua=_.Qg(function(a){var b=function(){return a.apply(this,arguments)||this};
_.q(b,a);b.prototype._addEventListenerToNode=function(c,d,e){_.Gc(c,d,e)||a.prototype._addEventListenerToNode.call(this,c,d,e)};
b.prototype._removeEventListenerFromNode=function(c,d,e){_.Yca(c,d,e)||a.prototype._removeEventListenerFromNode.call(this,c,d,e)};
return b});
_.kn=_.Qg(function(a){var b=function(){return a.apply(this,arguments)||this};
_.q(b,a);b.prototype._shouldPropertyChange=function(c,d,e){return cda(this,c,d,e,!0)};
return b});
_.Yua=_.Qg(function(a){var b=function(){return a.apply(this,arguments)||this};
_.q(b,a);b.prototype._shouldPropertyChange=function(c,d,e){return cda(this,c,d,e,this.mutableData)};
_.t.Object.defineProperties(b,{properties:{configurable:!0,enumerable:!0,get:function(){return{mutableData:Boolean}}}});
return b});
_.kn._mutablePropertyChange=cda;
var dda=!1;
var Zua;Zua=(0,_.Xua)((0,_.Yua)((0,_.Tm)(HTMLElement)));_.ln=function(){var a=Zua.call(this)||this;if(_.Qc)throw Error("Ua");a.root=null;a.$=null;a.__children=null;return a};
_.q(_.ln,Zua);_.f=_.ln.prototype;_.f.attributeChangedCallback=function(){this.mutableData=!0};
_.f.connectedCallback=function(){eda()||(this.style.display="none");this.render()};
_.f.disconnectedCallback=function(){this.__removeChildren()};
_.f.__insertChildren=function(){(0,_.nc)((0,_.nc)(this).parentNode).insertBefore(this.root,this)};
_.f.__removeChildren=function(){if(this.__children)for(var a=0;a<this.__children.length;a++)this.root.appendChild(this.__children[a])};
_.f.render=function(){var a=this;if(!this.__children){var b=b||this.querySelector("template");if(!b){var c=new MutationObserver(function(){if(b=a.querySelector("template"))c.disconnect(),a.render();else throw Error("Va");});
c.observe(this,{childList:!0});return}this.root=this._stampTemplate(b);this.$=this.root.$;this.__children=[];for(var d=this.root.firstChild;d;d=d.nextSibling)this.__children[this.__children.length]=d;this._enableProperties()}this.__insertChildren();this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))};
_.t.Object.defineProperties(_.ln,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["mutable-data"]}}});
customElements.define("dom-bind",_.ln);
_.mn=function(){do{var a=window.ShadyDOM&&ShadyDOM.flush();window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush();var b=Uua()}while(a||b)};
var fda=null,oda,nda,$ua;gda.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:gda,writable:!0}});oda=(0,_.Tm)(gda);nda=(0,_.kn)(oda);$ua=(0,_.Tm)(function(){});
_.Nc=function(a){var b=$ua.call(this)||this;b._configureProperties(a);b.root=b._stampTemplate(b.__dataHost);var c=[];b.children=c;for(var d=b.root.firstChild;d;d=d.nextSibling)c.push(d),d.__templatizeInstance=b;b.__templatizeOwner&&b.__templatizeOwner.__hideTemplateChildren__&&b._showHideChildren(!0);c=b.__templatizeOptions;(a&&c.instanceProps||!c.instanceProps)&&b._enableProperties();return b};
_.q(_.Nc,$ua);_.f=_.Nc.prototype;_.f._configureProperties=function(a){if(this.__templatizeOptions.forwardHostProp)for(var b in this.__hostProps)this._setPendingProperty(b,this.__dataHost["_host_"+b]);for(var c in a)this._setPendingProperty(c,a[c])};
_.f.forwardHostProp=function(a,b){this._setPendingPropertyOrPath(a,b,!1,!0)&&this.__dataHost._enqueueClient(this)};
_.f._addEventListenerToNode=function(a,b,c){var d=this;if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(a,b,function(h){h.model=d;c(h)});
else{var e=this.__dataHost.__dataHost;e&&e._addEventListenerToNode(a,b,c)}};
_.f._showHideChildren=function(a){ida(a,this.children)};
_.f._setUnmanagedPropertyToNode=function(a,b,c){a.__hideTemplateChildren__&&a.nodeType==Node.TEXT_NODE&&"textContent"==b?a.__polymerTextContent__=c:$ua.prototype._setUnmanagedPropertyToNode.call(this,a,b,c)};
_.f.dispatchEvent=function(){return!0};
_.t.Object.defineProperties(_.Nc.prototype,{parentModel:{configurable:!0,enumerable:!0,get:function(){var a=this.__parentModel;if(!a){var b;a=this;do a=a.__dataHost.__dataHost;while((b=a.__templatizeOptions)&&!b.parentModel);this.__parentModel=a}return a}}});
var kda=(0,_.kn)(_.Nc);
var nn=function(){var a=_.Wm.call(this)||this;a.__renderDebouncer=null;a._lastIf=!1;a.__hideTemplateChildren__=!1;return a};
_.q(nn,_.Wm);_.f=nn.prototype;_.f.__debounceRender=function(){var a=this;this.__renderDebouncer=_.gn(this.__renderDebouncer,_.Jc,function(){return a.__render()});
_.hn(this.__renderDebouncer)};
_.f.disconnectedCallback=function(){_.Wm.prototype.disconnectedCallback.call(this);var a=(0,_.nc)(this).parentNode;a&&(a.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||(0,_.nc)(a).host)||this.__teardownInstance()};
_.f.connectedCallback=function(){_.Wm.prototype.connectedCallback.call(this);eda()||(this.style.display="none");this.if&&this.__debounceRender()};
_.f.__ensureTemplate=function(){var a=this;if(!this.__template){var b=this._templateInfo?this:(0,_.nc)(this).querySelector("template");if(!b){var c=new MutationObserver(function(){if((0,_.nc)(a).querySelector("template"))c.disconnect(),a.__render();else throw Error("Ya");});
c.observe(this,{childList:!0});return!1}this.__template=b}return!0};
_.f.__ensureInstance=function(){var a=(0,_.nc)(this).parentNode;if(this.__hasInstance()){var b=this.__getInstanceNodes();if(b&&b.length&&(0,_.nc)(this).previousSibling!==b[b.length-1])for(var c=0,d=void 0;c<b.length&&(d=b[c]);c++)(0,_.nc)(a).insertBefore(d,this)}else{if(!a||!this.__ensureTemplate())return!1;this.__createAndInsertInstance(a)}return!0};
_.f.render=function(){_.mn()};
_.f.__render=function(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren();_.Lm&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)};
_.f.__hasInstance=function(){};
_.f.__getInstanceNodes=function(){};
_.f.__createAndInsertInstance=function(){};
_.f.__teardownInstance=function(){};
_.f._showHideChildren=function(){};
_.t.Object.defineProperties(nn,{is:{configurable:!0,enumerable:!0,get:function(){return"dom-if"}},
template:{configurable:!0,enumerable:!0,get:function(){return null}},
properties:{configurable:!0,enumerable:!0,get:function(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"},notifyDomChange:{type:Boolean}}}}});
var ava=function(){var a=nn.call(this)||this;a.__instance=null;a.__syncInfo=null;return a};
_.q(ava,nn);_.f=ava.prototype;_.f.__hasInstance=function(){return!!this.__instance};
_.f.__getInstanceNodes=function(){return this.__instance.templateInfo.childNodes};
_.f.__createAndInsertInstance=function(a){var b=this,c=this.__dataHost||this;if(_.Qc&&!this.__dataHost)throw Error("Wa");var d=c._bindTemplate(this.__template,!0);d.runEffects=function(e,h,l){var m=b.__syncInfo;if(b.if)m&&(b.__syncInfo=null,b._showHideChildren(),h=Object.assign(m.changedProps,h)),e(h,l);else if(b.__instance)if(m||(m=b.__syncInfo={runEffects:e,changedProps:{}}),l)for(var p in h)e=_.gc(p),m.changedProps[e]=b.__dataHost[e];else Object.assign(m.changedProps,h)};
this.__instance=c._stampTemplate(this.__template,d);(0,_.nc)(a).insertBefore(this.__instance,this)};
_.f.__syncHostProperties=function(){var a=this.__syncInfo;a&&(this.__syncInfo=null,a.runEffects(a.changedProps,!1))};
_.f.__teardownInstance=function(){var a=this.__dataHost||this;this.__instance&&(a._removeBoundDom(this.__instance),this.__syncInfo=this.__instance=null)};
_.f._showHideChildren=function(){var a=this.__hideTemplateChildren__||!this.if;this.__instance&&!!this.__instance.__hidden!==a&&(this.__instance.__hidden=a,ida(a,this.__instance.templateInfo.childNodes));a||this.__syncHostProperties()};
var bva=function(){var a=nn.call(this)||this;a.__ctor=null;a.__instance=null;a.__invalidProps=null;return a};
_.q(bva,nn);_.f=bva.prototype;_.f.__hasInstance=function(){return!!this.__instance};
_.f.__getInstanceNodes=function(){return this.__instance.children};
_.f.__createAndInsertInstance=function(a){this.__ctor||(this.__ctor=_.Oc(this.__template,this,{mutableData:!0,forwardHostProp:function(b,c){this.__instance&&(this.if?this.__instance.forwardHostProp(b,c):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[_.gc(b)]=!0))}}));
this.__instance=new this.__ctor;(0,_.nc)(a).insertBefore(this.__instance.root,this)};
_.f.__teardownInstance=function(){if(this.__instance){var a=this.__instance.children;if(a&&a.length){var b=(0,_.nc)(a[0]).parentNode;if(b){b=(0,_.nc)(b);for(var c=0,d=void 0;c<a.length&&(d=a[c]);c++)b.removeChild(d)}}this.__instance=this.__invalidProps=null}};
_.f.__syncHostProperties=function(){var a=this.__invalidProps;if(a){this.__invalidProps=null;for(var b in a)this.__instance._setPendingProperty(b,this.__dataHost[b]);this.__instance._flushProperties()}};
_.f._showHideChildren=function(){var a=this.__hideTemplateChildren__||!this.if;this.__instance&&!!this.__instance.__hidden!==a&&(this.__instance.__hidden=a,this.__instance._showHideChildren(a));a||this.__syncHostProperties()};
_.Pg=_.Km?ava:bva;customElements.define(_.Pg.is,_.Pg);
var on;on=(0,_.Yua)(_.Wm);_.Og=function(){var a=on.call(this)||this;a.__instances=[];a.__renderDebouncer=null;a.__itemsIdxToInstIdx={};a.__chunkCount=null;a.__renderStartTime=null;a.__itemsArrayChanged=!1;a.__shouldMeasureChunk=!1;a.__shouldContinueChunking=!1;a.__chunkingId=0;a.__sortFn=null;a.__filterFn=null;a.__observePaths=null;a.__ctor=null;a.__isDetached=!0;a.template=null;return a};
_.q(_.Og,on);_.f=_.Og.prototype;_.f.disconnectedCallback=function(){on.prototype.disconnectedCallback.call(this);this.__isDetached=!0;for(var a=0;a<this.__instances.length;a++)this.__detachInstance(a);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)};
_.f.connectedCallback=function(){on.prototype.connectedCallback.call(this);eda()||(this.style.display="none");if(this.__isDetached){this.__isDetached=!1;for(var a=(0,_.nc)((0,_.nc)(this).parentNode),b=0;b<this.__instances.length;b++)this.__attachInstance(b,a);this.__chunkingId&&this.__render()}};
_.f.__ensureTemplatized=function(){var a=this;if(!this.__ctor){var b=this.template=this._templateInfo?this:this.querySelector("template");if(!b){var c=new MutationObserver(function(){if(a.querySelector("template"))c.disconnect(),a.__render();else throw Error("Za");});
c.observe(this,{childList:!0});return!1}var d={};d[this.as]=!0;d[this.indexAs]=!0;d[this.itemsIndexAs]=!0;this.__ctor=_.Oc(b,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:d,forwardHostProp:function(e,h){for(var l=this.__instances,m=0,p=void 0;m<l.length&&(p=l[m]);m++)p.forwardHostProp(e,h)},
notifyInstanceProp:function(e,h,l){_.Mba(this.as,h)&&(e=e[this.itemsIndexAs],h==this.as&&(this.items[e]=l),this.notifyPath(_.ic(this.as,"items."+e,h),l))}})}return!0};
_.f.__getMethodHost=function(){return this.__dataHost._methodHost||this.__dataHost};
_.f.__functionFromPropertyValue=function(a){if("string"===typeof a){var b=this.__getMethodHost();return function(){return b[a].apply(b,arguments)}}return a};
_.f.__sortChanged=function(a){this.__sortFn=this.__functionFromPropertyValue(a);this.items&&this.__debounceRender(this.__render)};
_.f.__filterChanged=function(a){this.__filterFn=this.__functionFromPropertyValue(a);this.items&&this.__debounceRender(this.__render)};
_.f.__computeFrameTime=function(a){return Math.ceil(1E3/a)};
_.f.__observeChanged=function(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")};
_.f.__handleObservedPaths=function(a){if(this.__sortFn||this.__filterFn)if(!a)this.__debounceRender(this.__render,this.delay);else if(this.__observePaths)for(var b=this.__observePaths,c=0;c<b.length;c++)0===a.indexOf(b[c])&&this.__debounceRender(this.__render,this.delay)};
_.f.__itemsChanged=function(a){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items);this.__handleItemPath(a.path,a.value)||("items"===a.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))};
_.f.__debounceRender=function(a,b){b=void 0===b?0:b;this.__renderDebouncer=_.gn(this.__renderDebouncer,0<b?_.Pm.after(b):_.Jc,a.bind(this));_.hn(this.__renderDebouncer)};
_.f.render=function(){this.__debounceRender(this.__render);_.mn()};
_.f.__render=function(){var a=this;if(this.__ensureTemplatized()){var b=this.items||[],c=this.__sortAndFilterItems(b),d=this.__calculateLimit(c.length);this.__updateInstances(b,d,c);this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(function(){a.__chunkingId=null;a.__continueChunking()}));
this._setRenderedItemCount(this.__instances.length);_.Lm&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}};
_.f.__sortAndFilterItems=function(a){for(var b=this,c=Array(a.length),d=0;d<a.length;d++)c[d]=d;this.__filterFn&&(c=c.filter(function(e,h,l){return b.__filterFn(a[e],h,l)}));
this.__sortFn&&c.sort(function(e,h){return b.__sortFn(a[e],a[h])});
return c};
_.f.__calculateLimit=function(a){var b=a,c=this.__instances.length;if(this.initialCount){var d;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(b=Math.min(a,this.initialCount),this.__chunkCount=(d=Math.max(b-c,0))||1):(d=Math.min(Math.max(a-c,0),this.__chunkCount),b=Math.min(c+d,a));this.__shouldMeasureChunk=d===this.__chunkCount;this.__shouldContinueChunking=b<a;this.__renderStartTime=performance.now()}this.__itemsArrayChanged=!1;return b};
_.f.__continueChunking=function(){if(this.__shouldMeasureChunk){var a=performance.now()-this.__renderStartTime;this.__chunkCount=Math.round(this._targetFrameTime/a*this.__chunkCount)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)};
_.f.__updateInstances=function(a,b,c){var d=this.__itemsIdxToInstIdx={},e;for(e=0;e<b;e++){var h=this.__instances[e],l=c[e],m=a[l];d[l]=e;h?(h._setPendingProperty(this.as,m),h._setPendingProperty(this.indexAs,e),h._setPendingProperty(this.itemsIndexAs,l),h._flushProperties()):this.__insertInstance(m,e,l)}for(a=this.__instances.length-1;a>=e;a--)this.__detachAndRemoveInstance(a)};
_.f.__detachInstance=function(a){a=this.__instances[a];for(var b=(0,_.nc)(a.root),c=0;c<a.children.length;c++)b.appendChild(a.children[c]);return a};
_.f.__attachInstance=function(a,b){b.insertBefore(this.__instances[a].root,this)};
_.f.__detachAndRemoveInstance=function(a){this.__detachInstance(a);this.__instances.splice(a,1)};
_.f.__stampInstance=function(a,b,c){var d={};d[this.as]=a;d[this.indexAs]=b;d[this.itemsIndexAs]=c;return new this.__ctor(d)};
_.f.__insertInstance=function(a,b,c){a=this.__stampInstance(a,b,c);c=(c=this.__instances[b+1])?c.children[0]:this;(0,_.nc)((0,_.nc)(this).parentNode).insertBefore(a.root,c);return this.__instances[b]=a};
_.f._showHideChildren=function(a){for(var b=0;b<this.__instances.length;b++)this.__instances[b]._showHideChildren(a)};
_.f.__handleItemPath=function(a,b){var c=a.slice(6),d=c.indexOf(".");a=0>d?c:c.substring(0,d);if(a==parseInt(a,10)){c=0>d?"":c.substring(d+1);this.__handleObservedPaths(c);if(a=this.__instances[this.__itemsIdxToInstIdx[a]])a._setPendingPropertyOrPath(this.as+(c?"."+c:""),b,!1,!0),a._flushProperties();return!0}};
_.f.itemForElement=function(a){return(a=this.modelForElement(a))&&a[this.as]};
_.f.indexForElement=function(a){return(a=this.modelForElement(a))&&a[this.indexAs]};
_.f.modelForElement=function(a){return _.uda(this.template,a)};
_.t.Object.defineProperties(_.Og,{is:{configurable:!0,enumerable:!0,get:function(){return"dom-repeat"}},
template:{configurable:!0,enumerable:!0,get:function(){return null}},
properties:{configurable:!0,enumerable:!0,get:function(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!_.Lm,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,
computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}},
observers:{configurable:!0,enumerable:!0,get:function(){return["__itemsChanged(items.*)"]}}});
_.Og.prototype._setRenderedItemCount=function(){};
customElements.define(_.Og.is,_.Og);
var dva;_.cva=function(a,b){var c=this;this._nativeChildrenObserver=this._shadyChildrenObserver=null;this._connected=!1;this._target=a;this.callback=b;this._effectiveNodes=[];this._observer=null;this._scheduled=!1;this._boundSchedule=function(){c._schedule()};
this.connect();this._schedule()};
dva=function(a){var b=(0,_.nc)(a);return Rc(a)?b.assignedNodes({flatten:!0}):Array.from(b.childNodes).map(function(c){return Rc(c)?(0,_.nc)(c).assignedNodes({flatten:!0}):[c]}).reduce(function(c,d){return c.concat(d)},[])};
_.f=_.cva.prototype;_.f.connect=function(){var a=this;Rc(this._target)?this._listenSlots([this._target]):(0,_.nc)(this._target).children&&(this._listenSlots((0,_.nc)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,function(b){a._processMutations(b)}):(this._nativeChildrenObserver=new MutationObserver(function(b){a._processMutations(b)}),this._nativeChildrenObserver.observe(this._target,{childList:!0})));
this._connected=!0};
_.f.disconnect=function(){Rc(this._target)?this._unlistenSlots([this._target]):(0,_.nc)(this._target).children&&(this._unlistenSlots((0,_.nc)(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null));this._connected=!1};
_.f._schedule=function(){var a=this;this._scheduled||(this._scheduled=!0,_.Jc.run(function(){return a.flush()}))};
_.f._processMutations=function(a){this._processSlotMutations(a);this.flush()};
_.f._processSlotMutations=function(a){if(a)for(var b=0;b<a.length;b++){var c=a[b];c.addedNodes&&this._listenSlots(c.addedNodes);c.removedNodes&&this._unlistenSlots(c.removedNodes)}};
_.f.flush=function(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush();this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords());this._scheduled=!1;for(var a={target:this._target,addedNodes:[],removedNodes:[]},b=dva(this._target),c=_.sca(b,this._effectiveNodes),d=0,e=void 0;d<c.length&&(e=c[d]);d++)for(var h=0,l=void 0;h<e.removed.length&&(l=e.removed[h]);h++)a.removedNodes.push(l);
d=0;for(e=void 0;d<c.length&&(e=c[d]);d++)for(h=e.index;h<e.index+e.addedCount;h++)a.addedNodes.push(b[h]);this._effectiveNodes=b;b=!1;if(a.addedNodes.length||a.removedNodes.length)b=!0,this.callback.call(this._target,a);return b};
_.f._listenSlots=function(a){for(var b=0;b<a.length;b++){var c=a[b];Rc(c)&&c.addEventListener("slotchange",this._boundSchedule)}};
_.f._unlistenSlots=function(a){for(var b=0;b<a.length;b++){var c=a[b];Rc(c)&&c.removeEventListener("slotchange",this._boundSchedule)}};
var pn,eva,Sc;pn=Element.prototype;eva=pn.matches||pn.matchesSelector||pn.mozMatchesSelector||pn.msMatchesSelector||pn.oMatchesSelector||pn.webkitMatchesSelector;_.fva=function(a,b){return eva.call(a,b)};
Sc=function(a){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(a);this.node=a};
_.f=Sc.prototype;_.f.observeNodes=function(a){return new _.cva(this.node,a)};
_.f.unobserveNodes=function(a){a.disconnect()};
_.f.notifyObserver=function(){};
_.f.deepContains=function(a){if((0,_.nc)(this.node).contains(a))return!0;var b=a;for(a=a.ownerDocument;b&&b!==a&&b!==this.node;)b=(0,_.nc)(b).parentNode||(0,_.nc)(b).host;return b===this.node};
_.f.getOwnerRoot=function(){return(0,_.nc)(this.node).getRootNode()};
_.f.getDistributedNodes=function(){return"slot"===this.node.localName?(0,_.nc)(this.node).assignedNodes({flatten:!0}):[]};
_.f.getDestinationInsertionPoints=function(){for(var a=[],b=(0,_.nc)(this.node).assignedSlot;b;)a.push(b),b=(0,_.nc)(b).assignedSlot;return a};
_.f.importNode=function(a,b){return(0,_.nc)(this.node instanceof Document?this.node:this.node.ownerDocument).importNode(a,b)};
_.f.getEffectiveChildNodes=function(){return dva(this.node)};
_.f.queryDistributedElements=function(a){for(var b=this.getEffectiveChildNodes(),c=[],d=0,e=b.length,h=void 0;d<e&&(h=b[d]);d++)h.nodeType===Node.ELEMENT_NODE&&_.fva(h,a)&&c.push(h);return c};
_.t.Object.defineProperties(Sc.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){var a=this.node;return void 0!==a._activeElement?a._activeElement:a.activeElement}}});
_.qn=function(a){this.event=a};
_.t.Object.defineProperties(_.qn.prototype,{rootTarget:{configurable:!0,enumerable:!0,get:function(){return this.path[0]}},
localTarget:{configurable:!0,enumerable:!0,get:function(){return this.event.target}},
path:{configurable:!0,enumerable:!0,get:function(){return this.event.composedPath()}}});
var rn=Sc;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){var gva=window.ShadyDOM.Wrapper,sn=function(){return gva.apply(this,arguments)||this};
_.q(sn,gva);Object.getOwnPropertyNames(Sc.prototype).forEach(function(a){"activeElement"!=a&&(sn.prototype[a]=Sc.prototype[a])});
wda(sn.prototype,["classList"]);rn=sn;Object.defineProperties(_.qn.prototype,{localTarget:{get:function(){var a=this.event.currentTarget;a=a&&_.H(a).getOwnerRoot();for(var b=this.path,c=0;c<b.length;c++){var d=b[c];if(_.H(d).getOwnerRoot()===a)return d}},
configurable:!0},path:{get:function(){return window.ShadyDOM.composedPath(this.event)},
configurable:!0}})}else vda(),wda(Sc.prototype,"parentNode firstChild lastChild nextSibling previousSibling firstElementChild lastElementChild nextElementSibling previousElementSibling childNodes children classList shadowRoot".split(" ")),xda();_.hva=rn;_.H=function(a){a=a||document;if(a instanceof rn)return a;if(a instanceof _.qn)return a;var b=a.__domApi;b||(a instanceof Event?b=new _.qn(a):b=new rn(a),a.__domApi=b);return b};
var iva,jva,kva,lva,Uc,tn,Tc;iva=/:host\(:dir\((ltr|rtl)\)\)/g;jva=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g;kva=/:dir\((?:ltr|rtl)\)/;lva=!(!window.ShadyDOM||!window.ShadyDOM.inUse);Uc=[];tn=null;Tc="";_.mva=_.Qg(function(a){lva||tn||(Tc=document.documentElement.getAttribute("dir"),tn=new MutationObserver(yda),tn.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));var b=(0,_.Aua)(a);a=function(){var c=b.call(this)||this;c.__autoDirOptOut=!1;return c};
_.q(a,b);a._processStyleText=function(c,d){c=b._processStyleText.call(this,c,d);!lva&&kva.test(c)&&(c=this._replaceDirInCssText(c),this.__activateDir=!0);return c};
a._replaceDirInCssText=function(c){c=c.replace(iva,':host([dir="$1"])');return c=c.replace(jva,':host([dir="$2"]) $1')};
a.prototype.ready=function(){b.prototype.ready.call(this);this.__autoDirOptOut=this.hasAttribute("dir")};
a.prototype.connectedCallback=function(){b.prototype.connectedCallback&&b.prototype.connectedCallback.call(this);this.constructor.__activateDir&&(tn&&tn.takeRecords().length&&yda(),Uc.push(this),this.__autoDirOptOut||this.setAttribute("dir",Tc))};
a.prototype.disconnectedCallback=function(){b.prototype.disconnectedCallback&&b.prototype.disconnectedCallback.call(this);if(this.constructor.__activateDir){var c=Uc.indexOf(this);-1<c&&Uc.splice(c,1)}};
a.__activateDir=!1;return a});
var nva=function(a){for(;a;){var b=Object.getOwnPropertyDescriptor(a,"observedAttributes");if(b)return b.get;a=Object.getPrototypeOf(a.prototype).constructor}return function(){return[]}};
_.Qg(function(a){var b=(0,_.Um)(a),c=nva(b);a=function(){return b.call(this)||this};
_.q(a,b);a.prototype._initializeProperties=function(){this.hasAttribute("disable-upgrade")?this.__isUpgradeDisabled=!0:b.prototype._initializeProperties.call(this)};
a.prototype._enableProperties=function(){this.__isUpgradeDisabled||b.prototype._enableProperties.call(this)};
a.prototype._canApplyPropertyDefault=function(d){return b.prototype._canApplyPropertyDefault.call(this,d)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(d))};
a.prototype.attributeChangedCallback=function(d,e,h,l){"disable-upgrade"==d?this.__isUpgradeDisabled&&null==h&&(b.prototype._initializeProperties.call(this),this.__isUpgradeDisabled=!1,(0,_.nc)(this).isConnected&&b.prototype.connectedCallback.call(this)):b.prototype.attributeChangedCallback.call(this,d,e,h,l)};
a.prototype.connectedCallback=function(){this.__isUpgradeDisabled||b.prototype.connectedCallback.call(this)};
a.prototype.disconnectedCallback=function(){this.__isUpgradeDisabled||b.prototype.disconnectedCallback.call(this)};
_.t.Object.defineProperties(a,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return c.call(this).concat("disable-upgrade")}}});
return a});
/*

Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var zda=window.ShadyDOM,Ada=window.ShadyCSS;
window.WebComponents?window.addEventListener("WebComponentsReady",Cda):"interactive"===document.readyState||"complete"===document.readyState?Cda():window.addEventListener("DOMContentLoaded",Cda);
var Fda=function(){this.end=this.start=0;this.rules=this.parent=this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""},Dda=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Eda=/@import[^;]*;/gim,Lda=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Mda=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Nda=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Oda=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Jda=/^@[^\s]*keyframes/,
Ida=/\s+/g;
var Pda={};
var Sda=Promise.resolve();
var ova=new Set;
var pva=/;\s*/m,qva=/^\s*(initial)|(inherit)\s*$/,rva=/\s*!important/,sva=function(){this._map={}};
sva.prototype.set=function(a,b){a=a.trim();this._map[a]={properties:b,dependants:{}}};
sva.prototype.get=function(a){a=a.trim();return this._map[a]||null};
var un=null,vn=function(){this._measureElement=this._currentElement=null;this._map=new sva};
_.f=vn.prototype;_.f.detectMixin=function(a){a=Zm.test(a)||Pua.test(a);Zm.lastIndex=0;Pua.lastIndex=0;return a};
_.f.transformTemplate=function(a,b){if(void 0===a._gatheredStyle){var c=[];for(var d=a.content.querySelectorAll("style"),e=0;e<d.length;e++){var h=d[e];if(h.hasAttribute("shady-unscoped")){if(!xc){var l=h.textContent;if(!ova.has(l)){ova.add(l);var m=document.createElement("style");m.setAttribute("shady-unscoped","");m.textContent=l;document.head.appendChild(m)}h.parentNode.removeChild(h)}}else c.push(h.textContent),h.parentNode.removeChild(h)}(c=c.join("").trim())?(d=document.createElement("style"),
d.textContent=c,a.content.insertBefore(d,a.content.firstChild),c=d):c=null;a._gatheredStyle=c}return(a=a._gatheredStyle)?this.JSC$32995_transformStyle(a,b):null};
_.f.JSC$32995_transformStyle=function(a,b){b=void 0===b?"":b;var c=Wda(a);this.transformRules(c,b);a.textContent=Vda(c);return c};
_.f.transformCustomStyle=function(a){var b=this,c=Wda(a);Vc(c,function(d){":root"===d.selector&&(d.selector="html");b.transformRule(d)});
a.textContent=Vda(c);return c};
_.f.transformRules=function(a,b){var c=this;this._currentElement=b;Vc(a,function(d){c.transformRule(d)});
this._currentElement=null};
_.f.transformRule=function(a){a.cssText=tva(this,a.parsedCssText,a);":root"===a.selector&&(a.selector=":host > *")};
var tva=function(a,b,c){b=b.replace(Pua,function(d,e,h,l){return a._produceCssProperties(d,e,h,l,c)});
return a._consumeCssProperties(b,c)};
_.f=vn.prototype;_.f._getInitialValueForProperty=function(a){this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement));return window.getComputedStyle(this._measureElement).getPropertyValue(a)};
_.f._fallbacksFromPreviousRules=function(a){for(var b=this,c=a;c.parent;)c=c.parent;var d={},e=!1;Vc(c,function(h){(e=e||h===a)||h.selector===a.selector&&Object.assign(d,b._cssTextToMap(h.parsedCssText))});
return d};
_.f._consumeCssProperties=function(a,b){for(var c;c=Zm.exec(a);){var d=c[0],e=c[1];c=c.index;var h=c+d.indexOf("@apply");h=a.slice(0,h);a=a.slice(c+d.length);d=b?this._fallbacksFromPreviousRules(b):{};Object.assign(d,this._cssTextToMap(h));e=this._atApplyToCssProperties(e,d);a=h+e+a;Zm.lastIndex=c+e.length}return a};
_.f._atApplyToCssProperties=function(a,b){a=a.replace(pva,"");var c=[],d=this._map.get(a);d||(this._map.set(a,{}),d=this._map.get(a));if(d){this._currentElement&&(d.dependants[this._currentElement]=!0);var e,h=d.properties;for(e in h){var l=b&&b[e];d=[e,": var(",a,"_-_",e];l&&d.push(",",l.replace(rva,""));d.push(")");rva.test(h[e])&&d.push(" !important");c.push(d.join(""))}}return c.join("; ")};
_.f._replaceInitialOrInherit=function(a,b){var c=qva.exec(b);c&&(b=c[1]?this._getInitialValueForProperty(a):"apply-shim-inherit");return b};
_.f._cssTextToMap=function(a,b){b=void 0===b?!1:b;a=a.split(";");for(var c,d,e={},h=0;h<a.length;h++)if(c=a[h])d=c.split(":"),1<d.length&&(c=d[0].trim(),d=d.slice(1).join(":"),b&&(d=this._replaceInitialOrInherit(c,d)),e[c]=d);return e};
_.f._invalidateMixinEntry=function(a){if(un)for(var b in a.dependants)b!==this._currentElement&&un(b)};
_.f._produceCssProperties=function(a,b,c,d,e){var h=this;c&&Yda(c,function(E,J){J&&h._map.get(J)&&(d="@apply "+J+";")});
if(!d)return a;var l=this._consumeCssProperties(""+d,e);e=a.slice(0,a.indexOf("--"));var m=l=this._cssTextToMap(l,!0),p=this._map.get(b),r=p&&p.properties;r?m=Object.assign(Object.create(r),l):this._map.set(b,m);var v=[],z,A=!1;for(z in m){var D=l[z];void 0===D&&(D="initial");!r||z in r||(A=!0);v.push(b+"_-_"+z+": "+D)}A&&this._invalidateMixinEntry(p);p&&(p.properties=m);c&&(e=a+";"+e);return e+v.join("; ")+";"};
vn.prototype.detectMixin=vn.prototype.detectMixin;vn.prototype.transformStyle=vn.prototype.JSC$32995_transformStyle;vn.prototype.transformCustomStyle=vn.prototype.transformCustomStyle;vn.prototype.transformRules=vn.prototype.transformRules;vn.prototype.transformRule=vn.prototype.transformRule;vn.prototype.transformTemplate=vn.prototype.transformTemplate;vn.prototype._separator="_-_";Object.defineProperty(vn.prototype,"invalidCallback",{get:function(){return un},
set:function(a){un=a}});
var wn=new vn,uva=function(){this.customStyleInterface=null;wn.invalidCallback=Qda},xn=function(a){!a.customStyleInterface&&window.ShadyCSS.CustomStyleInterface&&(a.customStyleInterface=window.ShadyCSS.CustomStyleInterface,a.customStyleInterface.transformCallback=function(b){wn.transformCustomStyle(b)},a.customStyleInterface.validateCallback=function(){requestAnimationFrame(function(){a.customStyleInterface.enqueued&&a.flushCustomStyles()})})};
_.f=uva.prototype;_.f.prepareTemplate=function(a,b){xn(this);""===Zda(a)&&(Pda[b]=a,b=wn.transformTemplate(a,b),a._styleAst=b)};
_.f.flushCustomStyles=function(){xn(this);if(this.customStyleInterface){var a=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(var b=0;b<a.length;b++){var c=this.customStyleInterface.getStyleForCustomStyle(a[b]);c&&wn.transformCustomStyle(c)}this.customStyleInterface.enqueued=!1}}};
_.f.styleSubtree=function(a,b){xn(this);b&&uca(a,b);if(a.shadowRoot)for(this.styleElement(a),a=a.shadowRoot.children||a.shadowRoot.childNodes,b=0;b<a.length;b++)this.styleSubtree(a[b]);else for(a=a.children||a.childNodes,b=0;b<a.length;b++)this.styleSubtree(a[b])};
_.f.styleElement=function(a){xn(this);var b=a.localName,c;b?-1<b.indexOf("-")?c=b:c=a.getAttribute&&a.getAttribute("is")||"":c=a.is;b=Pda[c];if(!(b&&""!==Zda(b)||!b||Rda(b))){if(Rda(b)||b._applyShimValidatingVersion!==b._applyShimNextVersion)this.prepareTemplate(b,c),Tda(b);if(a=a.shadowRoot)if(a=a.querySelector("style"))a.__cssRules=b._styleAst,a.textContent=Vda(b._styleAst)}};
_.f.styleDocument=function(a){xn(this);this.styleSubtree(document.body,a)};
if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){var yn=new uva,vva=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate:function(a,b){yn.flushCustomStyles();yn.prepareTemplate(a,b)},
prepareTemplateStyles:function(a,b,c){window.ShadyCSS.prepareTemplate(a,b,c)},
prepareTemplateDom:function(){},
styleSubtree:function(a,b){yn.flushCustomStyles();yn.styleSubtree(a,b)},
styleElement:function(a){yn.flushCustomStyles();yn.styleElement(a)},
styleDocument:function(a){yn.flushCustomStyles();yn.styleDocument(a)},
getComputedStyleValue:function(a,b){return vca(a,b)},
flushCustomStyles:function(){yn.flushCustomStyles()},
nativeCss:Uda,nativeShadow:xc,cssBuild:Wc,disableRuntime:Rua};vva&&(window.ShadyCSS.CustomStyleInterface=vva)}window.ShadyCSS.ApplyShim=wn;
var wva;wva=window.ShadyCSS;_.zn=_.Qg(function(a){a=(0,_.Xua)((0,_.Um)(a));var b=Kua?a:(0,_.mva)(a),c=nva(b),d={x:"pan-x",y:"pan-y",none:"none",all:"auto"};a=function(){return b.call(this)||this};
_.q(a,b);a.prototype.created=function(){};
a.prototype.__attributeReaction=function(e,h,l){(this.__dataAttributes&&this.__dataAttributes[e]||"disable-upgrade"===e)&&this.attributeChangedCallback(e,h,l,null)};
a.prototype.setAttribute=function(e,h){if(Mm&&!this._legacyForceObservedAttributes){var l=this.getAttribute(e);b.prototype.setAttribute.call(this,e,h);this.__attributeReaction(e,l,String(h))}else b.prototype.setAttribute.call(this,e,h)};
a.prototype.removeAttribute=function(e){if(Mm&&!this._legacyForceObservedAttributes){var h=this.getAttribute(e);b.prototype.removeAttribute.call(this,e);this.__attributeReaction(e,h,null)}else b.prototype.removeAttribute.call(this,e)};
a.prototype._enableProperties=function(){this.__isUpgradeDisabled||b.prototype._enableProperties.call(this)};
a.prototype._canApplyPropertyDefault=function(e){return b.prototype._canApplyPropertyDefault.call(this,e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))};
a.prototype.connectedCallback=function(){this.__needsAttributesAtConnected&&this._takeAttributes();this.__isUpgradeDisabled||(b.prototype.connectedCallback.call(this),this.isAttached=!0,this.attached())};
a.prototype.attached=function(){};
a.prototype.disconnectedCallback=function(){this.__isUpgradeDisabled||(b.prototype.disconnectedCallback.call(this),this.isAttached=!1,this.detached())};
a.prototype.detached=function(){};
a.prototype.attributeChangedCallback=function(e,h,l,m){h!==l&&("disable-upgrade"==e?this.__isUpgradeDisabled&&null==l&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,(0,_.nc)(this).isConnected&&this.connectedCallback()):(b.prototype.attributeChangedCallback.call(this,e,h,l,m),this.attributeChanged(e,h,l)))};
a.prototype.attributeChanged=function(){};
a.prototype._initializeProperties=function(){if(_.Lc&&this.hasAttribute("disable-upgrade"))this.__isUpgradeDisabled=!0;else{var e=Object.getPrototypeOf(this);e.hasOwnProperty("__hasRegisterFinished")||(this._registered(),e.__hasRegisterFinished=!0);b.prototype._initializeProperties.call(this);this.root=this;this.created();Mm&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0));this._applyListeners()}};
a.prototype._takeAttributes=function(){for(var e=this.attributes,h=0,l=e.length;h<l;h++){var m=e[h];this.__attributeReaction(m.name,null,m.value)}};
a.prototype._registered=function(){};
a.prototype.ready=function(){this._ensureAttributes();b.prototype.ready.call(this)};
a.prototype._ensureAttributes=function(){};
a.prototype._applyListeners=function(){};
a.prototype.serialize=function(e){return this._serializeValue(e)};
a.prototype.deserialize=function(e,h){return this._deserializeValue(e,h)};
a.prototype.reflectPropertyToAttribute=function(e,h,l){this._propertyToAttribute(e,h,l)};
a.prototype.serializeValueToAttribute=function(e,h,l){this._valueToNodeAttribute(l||this,e,h)};
a.prototype.extend=function(e,h){if(!e||!h)return e||h;for(var l=Object.getOwnPropertyNames(h),m=0,p=void 0;m<l.length&&(p=l[m]);m++){var r=Object.getOwnPropertyDescriptor(h,p);r&&Object.defineProperty(e,p,r)}return e};
a.prototype.mixin=function(e,h){for(var l in h)e[l]=h[l];return e};
a.prototype.chainObject=function(e,h){e&&h&&e!==h&&(e.__proto__=h);return e};
a.prototype.instanceTemplate=function(e){e=this.constructor._contentForTemplate(e);return document.importNode(e,!0)};
a.prototype.fire=function(e,h,l){l=l||{};h=null===h||void 0===h?{}:h;e=new Event(e,{bubbles:void 0===l.bubbles?!0:l.bubbles,cancelable:!!l.cancelable,composed:void 0===l.composed?!0:l.composed});e.detail=h;(0,_.nc)(l.node||this).dispatchEvent(e);return e};
a.prototype.listen=function(e,h,l){e=e||this;var m=this.__boundListeners||(this.__boundListeners=new WeakMap),p=m.get(e);p||(p={},m.set(e,p));m=h+l;p[m]||(p[m]=this._addMethodEventListenerToNode(e,h,l,this))};
a.prototype.unlisten=function(e,h,l){e=e||this;var m=this.__boundListeners&&this.__boundListeners.get(e);l=h+l;var p=m&&m[l];p&&(this._removeEventListenerFromNode(e,h,p),m[l]=null)};
a.prototype.setScrollDirection=function(e,h){_.Hc(h||this,d[e]||"auto")};
a.prototype.$$=function(e){return this.root.querySelector(e)};
a.prototype.distributeContent=function(){var e=_.H(this);window.ShadyDOM&&e.shadowRoot&&ShadyDOM.flush()};
a.prototype.getEffectiveChildNodes=function(){return _.H(this).getEffectiveChildNodes()};
a.prototype.queryDistributedElements=function(e){return _.H(this).queryDistributedElements(e)};
a.prototype.getEffectiveChildren=function(){return this.getEffectiveChildNodes().filter(function(e){return e.nodeType===Node.ELEMENT_NODE})};
a.prototype.getEffectiveTextContent=function(){for(var e=this.getEffectiveChildNodes(),h=[],l=0,m;m=e[l];l++)m.nodeType!==Node.COMMENT_NODE&&h.push(m.textContent);return h.join("")};
a.prototype.queryEffectiveChildren=function(e){return(e=this.queryDistributedElements(e))&&e[0]};
a.prototype.queryAllEffectiveChildren=function(e){return this.queryDistributedElements(e)};
a.prototype.getContentChildNodes=function(e){return(e=this.root.querySelector(e||"slot"))?_.H(e).getDistributedNodes():[]};
a.prototype.getContentChildren=function(e){return this.getContentChildNodes(e).filter(function(h){return h.nodeType===Node.ELEMENT_NODE})};
a.prototype.isLightDescendant=function(e){return this!==e&&(0,_.nc)(this).contains(e)&&(0,_.nc)(this).getRootNode()===(0,_.nc)(e).getRootNode()};
a.prototype.isLocalDescendant=function(e){return this.root===(0,_.nc)(e).getRootNode()};
a.prototype.scopeSubtree=function(e,h){return Bda(e,void 0===h?!1:h)};
a.prototype.getComputedStyleValue=function(e){return wva.getComputedStyleValue(this,e)};
a.prototype.debounce=function(e,h,l){this._debouncers=this._debouncers||{};return this._debouncers[e]=_.gn(this._debouncers[e],0<l?_.Pm.after(l):_.Jc,h.bind(this))};
a.prototype.isDebouncerActive=function(e){this._debouncers=this._debouncers||{};e=this._debouncers[e];return!(!e||!e.isActive())};
a.prototype.flushDebouncer=function(e){this._debouncers=this._debouncers||{};(e=this._debouncers[e])&&e.flush()};
a.prototype.cancelDebouncer=function(e){this._debouncers=this._debouncers||{};(e=this._debouncers[e])&&e.cancel()};
a.prototype.async=function(e,h){return 0<h?_.Pm.run(e.bind(this),h):~_.Jc.run(e.bind(this))};
a.prototype.cancelAsync=function(e){0>e?_.Jc.cancel(~e):_.Pm.cancel(e)};
a.prototype.create=function(e,h){e=document.createElement(e);if(h)if(e.setProperties)e.setProperties(h);else for(var l in h)e[l]=h[l];return e};
a.prototype.elementMatches=function(e,h){return _.fva(h||this,e)};
a.prototype.toggleAttribute=function(e,h){var l=this;3===arguments.length&&(l=arguments[2]);1==arguments.length&&(h=!l.hasAttribute(e));if(h)return(0,_.nc)(l).setAttribute(e,""),!0;(0,_.nc)(l).removeAttribute(e);return!1};
a.prototype.toggleClass=function(e,h,l){l=l||this;1==arguments.length&&(h=!l.classList.contains(e));h?l.classList.add(e):l.classList.remove(e)};
a.prototype.transform=function(e,h){h=h||this;h.style.webkitTransform=e;h.style.transform=e};
a.prototype.translate3d=function(e,h,l,m){this.transform("translate3d("+e+","+h+","+l+")",m||this)};
a.prototype.arrayDelete=function(e,h){if(Array.isArray(e)){if(h=e.indexOf(h),0<=h)return e.splice(h,1)}else if(h=_.kc(this,e).indexOf(h),0<=h)return this.splice(e,h,1);return null};
a.prototype._logger=function(e,h){Array.isArray(h)&&1===h.length&&Array.isArray(h[0])&&(h=h[0]);switch(e){case "log":case "warn":case "error":console[e].apply(console,_.sc(h))}};
a.prototype._log=function(){this._logger("log",_.Ob.apply(0,arguments))};
a.prototype._warn=function(){this._logger("warn",_.Ob.apply(0,arguments))};
a.prototype._error=function(){this._logger("error",_.Ob.apply(0,arguments))};
a.prototype._logf=function(e){return["[%s::%s]",this.is,e].concat(_.sc(_.Ob.apply(1,arguments)))};
_.t.Object.defineProperties(a.prototype,{domHost:{configurable:!0,enumerable:!0,get:function(){var e=(0,_.nc)(this).getRootNode();return e instanceof DocumentFragment?e.host:e}}});
_.t.Object.defineProperties(a,{importMeta:{configurable:!0,enumerable:!0,get:function(){return this.prototype.importMeta}},
observedAttributes:{configurable:!0,enumerable:!0,get:function(){return Mm&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty("__observedAttributes")||(this.__observedAttributes=[],_.Gba(this.prototype)),this.__observedAttributes):c.call(this).concat("disable-upgrade")}}});
a.prototype.is="";return a});
var $da,eea,dea,xva;$da={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0};eea={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0};dea=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},eea);xva=(0,_.zn)(HTMLElement);
_.hka=function(a,b){a||console.warn("Polymer.Class requires `info` argument");b=b?b(xva):xva;b=_.fea(a,b,a.behaviors);b.is=b.prototype.is=a.is;return b};
_.yva=_.kn._mutablePropertyChange;_.zva={properties:{mutableData:Boolean},_shouldPropertyChange:function(a,b,c){return(0,_.yva)(this,a,b,c,this.mutableData)}};
_.Ng=function(a){var b="function"===typeof a?a:_.Ng.Class(a);a._legacyForceObservedAttributes&&(b.prototype._legacyForceObservedAttributes=a._legacyForceObservedAttributes);customElements.define(b.is,b);return b};
_.Ng.Class=_.hka;
_.jka={templatize:function(a,b){this._templatizerTemplate=a;this.ctor=_.Oc(a,this,{mutableData:!!b,parentModel:this._parentModel,instanceProps:this._instanceProps,forwardHostProp:this._forwardHostPropV2,notifyInstanceProp:this._notifyInstancePropV2})},
stamp:function(a){return new this.ctor(a)},
modelForElement:function(a){return _.uda(this._templatizerTemplate,a)}};
_.An=(0,_.zn)(HTMLElement).prototype;
var Xc=function(a,b){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.arg=b;this.name=this.constructor.name;this.constructor=Xc;this.__proto__=Xc.prototype};
_.q(Xc,Error);var Ava=_.Qg(function(a){var b=function(){return a.apply(this,arguments)||this};
_.q(b,a);b.prototype._marshalArgs=function(c,d,e){d=a.prototype._marshalArgs.call(this,c,d,e);if(this._legacyUndefinedCheck&&1<d.length)for(e=0;e<d.length;e++)if(void 0===d[e]||c[e].wildcard&&void 0===d[e].base)throw c=c[e].name,new Xc("Argument '"+c+"' is undefined.",c);return d};
b.prototype._addPropertyEffect=function(c,d,e){return a.prototype._addPropertyEffect.call(this,c,d,gea(e,e&&e.info&&e.info.methodName))};
b._addTemplatePropertyEffect=function(c,d,e){return a._addTemplatePropertyEffect.call(this,c,d,gea(e))};
return b}),Bva=_.Ng.Class;
_.Ng.Class=function(a,b){return Bva(a,function(c){return b?b(Ava(c)):Ava(c)})};
var Cva=_.Qg(function(a){var b=Ava(a);a=function(){return b.apply(this,arguments)||this};
_.q(a,b);_.t.Object.defineProperties(a.prototype,{_legacyUndefinedCheck:{configurable:!0,enumerable:!0,get:function(){return this._methodHost&&this._methodHost._legacyUndefinedCheck}}});
return a}),Dva=_.Oc.mixin;
_.Oc.mixin=Dva?function(a){return Cva(Dva(a))}:Cva;
console.info("LegacyDataMixin will be applied to all legacy elements.\nSet `_legacyUndefinedCheck: true` on element class to enable.");
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var ika=_.Lc;
/*

Math.uuid.js (v1.4)
http://www.broofa.com
mailto:robert@broofa.com
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
var Fva;_.Eva="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");Fva=function(){var a=[],b;var c=c||_.Eva.length;for(b=0;8>b;b++)a[b]=_.Eva[0|Math.random()*c];return a.join("")};
/*


 The MIT License (MIT)

 Copyright (c) 2015-present Dan Abramov

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var kea=function(){return Math.random().toString(36).substring(7).split("").join(".")},jea="@@redux/INIT"+kea(),nea="@@redux/REPLACE"+kea();
var oea="function"===typeof Symbol&&Symbol.observable||"@@observable";
/*

 Copyright 2017 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
var qea={align:1,alt:1,"aria-activedescendant":10,"aria-atomic":1,"aria-autocomplete":1,"aria-busy":1,"aria-checked":1,"aria-controls":10,"aria-current":1,"aria-disabled":1,"aria-dropeffect":1,"aria-expanded":1,"aria-haspopup":1,"aria-hidden":1,"aria-invalid":1,"aria-label":1,"aria-labelledby":10,"aria-level":1,"aria-live":1,"aria-multiline":1,"aria-multiselectable":1,"aria-orientation":1,"aria-owns":10,"aria-posinset":1,"aria-pressed":1,"aria-readonly":1,"aria-relevant":1,"aria-required":1,"aria-selected":1,
"aria-setsize":1,"aria-sort":1,"aria-valuemax":1,"aria-valuemin":1,"aria-valuenow":1,"aria-valuetext":1,async:8,autocapitalize:1,autocomplete:1,autocorrect:1,autofocus:1,autoplay:1,bgcolor:1,border:1,cellpadding:1,cellspacing:1,checked:1,cite:3,"class":1,color:1,cols:1,colspan:1,contenteditable:1,controls:1,datetime:1,dir:8,disabled:1,download:1,draggable:1,enctype:1,face:1,"for":10,formenctype:1,frameborder:1,height:1,hidden:1,href:4,hreflang:1,id:10,ismap:1,itemid:1,itemprop:1,itemref:1,itemscope:1,
itemtype:1,label:1,lang:1,list:10,loading:8,loop:1,max:1,maxlength:1,media:1,min:1,minlength:1,multiple:1,muted:1,name:10,nonce:1,open:1,placeholder:1,poster:3,preload:1,rel:1,required:1,reversed:1,role:1,rows:1,rowspan:1,selected:1,shape:1,size:1,sizes:1,slot:1,span:1,spellcheck:1,src:4,srcset:11,start:1,step:1,style:5,summary:1,tabindex:1,target:8,title:1,translate:1,type:1,valign:1,value:1,width:1,wrap:1},pea={a:{href:[{contract:3}]},area:{href:[{contract:3}]},audio:{src:[{contract:3}]},button:{formaction:[{contract:3}],
formmethod:[{contract:1}]},form:{action:[{contract:3}],method:[{contract:1}]},iframe:{srcdoc:[{contract:2}]},img:{src:[{contract:3}]},input:{accept:[{contract:1}],formaction:[{contract:3}],formmethod:[{contract:1}],pattern:[{contract:1}],readonly:[{contract:1}],src:[{contract:3}]},link:{href:[{contract:3,contingentAttribute:"rel",requiredValue:"alternate"},{contract:3,contingentAttribute:"rel",requiredValue:"author"},{contract:3,contingentAttribute:"rel",requiredValue:"bookmark"},{contract:3,contingentAttribute:"rel",
requiredValue:"canonical"},{contract:3,contingentAttribute:"rel",requiredValue:"cite"},{contract:3,contingentAttribute:"rel",requiredValue:"help"},{contract:3,contingentAttribute:"rel",requiredValue:"icon"},{contract:3,contingentAttribute:"rel",requiredValue:"license"},{contract:3,contingentAttribute:"rel",requiredValue:"next"},{contract:3,contingentAttribute:"rel",requiredValue:"prefetch"},{contract:3,contingentAttribute:"rel",requiredValue:"dns-prefetch"},{contract:3,contingentAttribute:"rel",requiredValue:"prerender"},
{contract:3,contingentAttribute:"rel",requiredValue:"preconnect"},{contract:3,contingentAttribute:"rel",requiredValue:"preload"},{contract:3,contingentAttribute:"rel",requiredValue:"prev"},{contract:3,contingentAttribute:"rel",requiredValue:"search"},{contract:3,contingentAttribute:"rel",requiredValue:"subresource"}]},script:{defer:[{contract:1}]},source:{src:[{contract:3}]},textarea:{readonly:[{contract:1}]},video:{src:[{contract:3}]}},Lea={a:1,abbr:1,address:1,applet:4,area:5,article:1,aside:1,
audio:1,b:1,base:4,bdi:1,bdo:1,blockquote:1,body:1,br:5,button:1,canvas:1,caption:1,center:1,cite:1,code:1,col:5,colgroup:1,command:1,data:1,datalist:1,dd:1,del:1,details:1,dfn:1,dialog:1,div:1,dl:1,dt:1,em:1,embed:4,fieldset:1,figcaption:1,figure:1,font:1,footer:1,form:1,frame:1,frameset:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,head:1,header:1,hr:5,html:1,i:1,iframe:1,img:5,input:5,ins:1,kbd:1,label:1,legend:1,lh:1,li:1,link:5,main:1,map:1,mark:1,math:4,menu:1,meta:4,meter:1,nav:1,noscript:1,object:4,ol:1,
optgroup:1,option:1,output:1,p:1,param:5,picture:1,pre:1,progress:1,q:1,rb:1,rp:1,rt:1,rtc:1,ruby:1,s:1,samp:1,script:3,section:1,select:1,slot:1,small:1,source:5,span:1,strong:1,style:2,sub:1,summary:1,sup:1,svg:4,table:1,tbody:1,td:1,template:4,textarea:6,tfoot:1,th:1,thead:1,time:1,title:6,tr:1,track:5,u:1,ul:1,"var":1,video:1,wbr:5},tea=[{auto:!0,ltr:!0,rtl:!0},{async:!0},{eager:!0,lazy:!0},{_self:!0,_blank:!0}],sea={"*":{async:1,dir:0,loading:2,target:3}};
var Dea="aLink accessKey allowFullscreen bgColor cellPadding cellSpacing codeBase codeType contentEditable crossOrigin dateTime dirName formAction formEnctype formMethod formNoValidate formTarget frameBorder innerHTML innerText inputMode isMap longDesc marginHeight marginWidth maxLength mediaGroup minLength noHref noResize noShade noValidate noWrap nodeValue outerHTML outerText readOnly tabIndex textContent trueSpeed useMap vAlign vLink valueAsDate valueAsNumber valueType".split(" "),Cea={accept_charset:"acceptCharset",
"char":"ch",charoff:"chOff",checked:"defaultChecked","class":"className","for":"htmlFor",http_equiv:"httpEquiv",muted:"defaultMuted",selected:"defaultSelected",value:"defaultValue"},Bea=null,vea=null;
/*

 Copyright 2017 Google LLC
 SPDX-License-Identifier: BSD-3-Clause

*/
var Eea={},Fea=RegExp("^(?!(?:annotation-xml|color-profile|font-face|font-face(?:-(?:src|uri|format|name))?|missing-glyph)$)[a-z][a-z.0-9_\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u200c\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\udfff\uf900-\ufdcf\ufdf0-\ufffd]*-[\\-a-z.0-9_\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u200c\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\udfff\uf900-\ufdcf\ufdf0-\ufffd]*$");
/*

 Copyright 2020 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
var Mea={text:1},Iea={audio:{currentTime:1,srcObject:1},video:{currentTime:1,srcObject:1}};
/*

 Copyright 2018 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
var Gva={CONSTANT:{isUnwrappable:function(a){return a instanceof _.Tf},
unwrap:_.ij},JAVASCRIPT:{isUnwrappable:function(a){return a instanceof _.jj||a instanceof lba},
unwrap:nba},HTML:{isUnwrappable:function(a){return a instanceof _.xj||"function"==typeof _.rb&&a instanceof _.rb},
unwrap:_.iba},RESOURCE_URL:{isUnwrappable:function(a){return a instanceof _.Db||a instanceof ub},
unwrap:_.wb},STRING:{isUnwrappable:function(a){return a instanceof Object},
unwrap:Nea},STYLE:{isUnwrappable:function(a){return a instanceof _.wj||!1},
unwrap:function(a){return _.Hoa(a)}},
URL:{isUnwrappable:function(a){return a instanceof _.pj||a instanceof _.xb},
unwrap:_.zb}},Hva={CONSTANT:$c,JAVASCRIPT:$c,HTML:function(a){if(a instanceof _.xj)var b=a;else{var c="object"==typeof a;b=null;c&&a.implementsGoogI18nBidiDirectionalString&&(b=a.getDirection());a=c&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);b=_.Noa(_.Coa(a),b)}return _.tb(b)},
RESOURCE_URL:$c,STRING:String,STYLE:$c,URL:function(a,b){a=_.Nb(a);return void 0===a?b:a.toString()}};
var Xea=/(?!,)([^\t\n\f\r ]+)(?:[\t\n\f\r ]+([.0-9+\-]+[a-z]?))?/gi,Oea=/[\t\n\f\r ]+/,Qea=/[\t\n\f\r ,]+/g,Sea=function(a,b,c){return c},bd={},Iva=function(){var a=function(){var d={createHTML:function(){return"zClosurez"},
createScript:function(){return" /*zClosurez*/ "},
createScriptURL:function(){return"about:invalid#zClosurez"}};
return"undefined"!==typeof trustedTypes?trustedTypes.createPolicy("polymer_resin",d):d}(),b=a.createHTML(""),c=a.createScript("");
a=a.createScriptURL("");return{INNOCUOUS_STRING:b,INNOCUOUS_SCRIPT:c,INNOCUOUS_URL:a}}(),ad=Iva.INNOCUOUS_STRING,Wea=Iva.INNOCUOUS_SCRIPT,cd=Iva.INNOCUOUS_URL;
var Fia=function(a){_.G.call(this,a,-1,Jva)};
_.q(Fia,_.G);var Vf=function(a){_.G.call(this,a)};
_.q(Vf,_.G);Vf.prototype.getKey=function(){return _.Vj(this,1)};
Vf.prototype.setKey=function(a){return _.n(this,1,a)};
Vf.prototype.getValue=function(){return _.Vj(this,2)};
Vf.prototype.setValue=function(a){return _.n(this,2,a)};
var Jva=[4,5];
var Cia=function(a){_.G.call(this,a)};
_.q(Cia,_.G);
var Dia=function(a){_.G.call(this,a)};
_.q(Dia,_.G);var Eia=[2,3];
var Uf=function(a){_.G.call(this,a)};
_.q(Uf,_.G);Uf.prototype.getMessage=function(){return _.Vj(this,1)};
var xia=function(a){_.G.call(this,a)};
_.q(xia,_.G);
var yia=function(a){_.G.call(this,a)};
_.q(yia,_.G);
var zia=function(a){_.G.call(this,a,-1,Kva)};
_.q(zia,_.G);var Kva=[10,17];
var wia=function(a){_.G.call(this,a)};
_.q(wia,_.G);
var Bn=function(a){_.G.call(this,a,1)};
_.q(Bn,_.G);
var Cn=function(a){_.G.call(this,a)};
_.q(Cn,_.G);var Lva;Lva=new lqa(406606992,{i18nExtension:0},Cn,function(a,b){if(null!=b){var c={gl:hb(_.ab(b,1)),hl:hb(_.ab(b,2)),htmlLang:hb(_.ab(b,3)),locale:hb(_.ab(b,4)),overrideGeo:hb(_.ab(b,5))};a&&(c.$jspbMessageInstance=b);return c}});
var Dn=function(){Cn.apply(this,arguments)};
_.q(Dn,Cn);fsa(Dn);
var En,Mva,Nva,Ova,Pva,Fn;En=_.g.window;_.dd=(null==En?void 0:null==(Mva=En.yt)?void 0:Mva.config_)||(null==En?void 0:null==(Nva=En.ytcfg)?void 0:Nva.data_)||{};Pva=(null==En?void 0:null==(Ova=En.ytcfg)?void 0:Ova.obfuscatedData_)||[];Fn=function(){Bn.apply(this,arguments)};
_.q(Fn,Bn);Fn.prototype.getExtension=function(a){var b=Zea();406606992!==a.fieldIndex||b&&b.jspb_i18n_extension||(a=new lqa(a.fieldIndex,a.fieldName,Dn,a.toObjectFn));return Bn.prototype.getExtension.call(this,a)};
fsa(Fn);var Qva=new Fn(Pva),Rva=Zea();if(!Rva||!Rva.jspb_i18n_extension){var Sva=new Dn;Lva.setExtensionFn(Qva,Sva)}_.Fe("yt.config_",_.dd);_.Fe("yt.configJspb_",Pva);
var Rd=function(a){_.G.call(this,a)};
_.q(Rd,_.G);Rd.prototype.getKey=function(){return _.ab(this,1)};
Rd.prototype.setKey=function(a){return _.n(this,1,a)};
Rd.prototype.getValue=function(){return _.Ef(this,2,Tva)};
Rd.prototype.setValue=function(a){return _.yf(this,2,Tva,a)};
var Tva=[2,3,4,5,6];
var Qd=function(a){_.G.call(this,a)};
_.q(Qd,_.G);
var Rfa=function(a){_.G.call(this,a)};
_.q(Rfa,_.G);
var Pd=function(a){_.G.call(this,a,-1,Uva)};
_.q(Pd,_.G);Pd.prototype.getDeviceId=function(){return _.ab(this,6)};
Pd.prototype.getPlayerType=function(){return _.ab(this,36)};
Pd.prototype.setHomeGroupInfo=function(a){return _.eb(this,81,a)};
var Uva=[9,66,24,32,86,100,101];
var Pfa=function(a){_.G.call(this,a,-1,Vva)};
_.q(Pfa,_.G);var Vva=[15,26,28];
var Ff=function(a){_.G.call(this,a)};
_.q(Ff,_.G);Ff.prototype.setToken=function(a){return _.n(this,2,a)};
var Td=function(a){_.G.call(this,a,-1,Wva)};
_.q(Td,_.G);Td.prototype.setSafetyMode=function(a){return _.n(this,5,a)};
var Wva=[12];
var Od=function(a){_.G.call(this,a,-1,Xva)};
_.q(Od,_.G);var Xva=[12];
var Yva={},dfa=[];
var kfa=/^[\w.]*$/,hfa={q:!0,search_query:!0},gfa=String(_.nd);
var qfa=function(a){var b=Zva;a=void 0===a?_.ld("yt.ads.biscotti.lastId_")||"":a;var c=Object,d=c.assign,e={};e.dt=Gra;e.flash="0";a:{try{var h=b.JSC$33557_win_.top.location.href}catch($a){h=2;break a}h=h?h===b.doc_.location.href?0:1:2}e=(e.frm=h,e);try{e.u_tz=-(new Date).getTimezoneOffset();var l=void 0===l?_.Zk:l;try{var m=l.history.length}catch($a){m=0}e.u_his=m;var p;e.u_h=null==(p=_.Zk.screen)?void 0:p.height;var r;e.u_w=null==(r=_.Zk.screen)?void 0:r.width;var v;e.u_ah=null==(v=_.Zk.screen)?
void 0:v.availHeight;var z;e.u_aw=null==(z=_.Zk.screen)?void 0:z.availWidth;var A;e.u_cd=null==(A=_.Zk.screen)?void 0:A.colorDepth}catch($a){}m=b.JSC$33557_win_;try{var D=m.screenX;var E=m.screenY}catch($a){}try{var J=m.outerWidth;var R=m.outerHeight}catch($a){}try{var da=m.innerWidth;var sa=m.innerHeight}catch($a){}try{var Ca=m.screenLeft;var ea=m.screenTop}catch($a){}try{da=m.innerWidth,sa=m.innerHeight}catch($a){}try{var na=m.screen.availWidth;var ma=m.screen.availTop}catch($a){}D=[Ca,ea,D,E,na,
ma,J,R,da,sa];E=_.sta(!1,b.JSC$33557_win_.top);J={};var Aa=void 0===Aa?_.g:Aa;R=new qta;Aa.SVGElement&&Aa.document.createElementNS&&R.set(0);da=Cra();da["allow-top-navigation-by-user-activation"]&&R.set(1);da["allow-popups-to-escape-sandbox"]&&R.set(2);Aa.crypto&&Aa.crypto.subtle&&R.set(3);Aa.TextDecoder&&Aa.TextEncoder&&R.set(4);Aa=rta(R);b=(J.bc=Aa,J.bih=E.height,J.biw=E.width,J.brdim=D.join(),J.vis=_.Jl(b.doc_),J.wgl=!!_.Zk.WebGLRenderingContext,J);c=d.call(c,e,b);c.ca_type="image";a&&(c.bid=a);
return c},Zva=new function(){var a=window.document;
this.JSC$33557_win_=window;this.doc_=a};
_.Fe("yt.ads_.signals_.getAdSignalsString",function(a){return _.qd(qfa(a))});
_.bj();navigator.userAgent.indexOf(" (CrKey ");
var lfa="XMLHttpRequest"in _.g?function(){return new XMLHttpRequest}:null;
var pfa,yfa,wfa;
pfa={Authorization:"AUTHORIZATION","X-Goog-EOM-Visitor-Id":"EOM_VISITOR_DATA","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-Youtube-Domain-Admin-State":"DOMAIN_ADMIN_STATE","X-Youtube-Chrome-Connected":"CHROME_CONNECTED_HEADER","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-YouTube-Delegation-Context":"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT","X-YouTube-Device":"DEVICE","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL",
"X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"};_.sfa="app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" ").concat(_.sc(Ira));yfa=!1;
wfa=function(a,b,c,d,e,h,l){c=void 0===c?"GET":c;d=void 0===d?"":d;var m=mfa();if(!m)return null;var p=function(){4==(m&&"readyState"in m?m.readyState:0)&&b&&_.kd(b)(m)};
"onloadend"in m?m.addEventListener("loadend",p,!1):m.onreadystatechange=p;_.x("debug_forward_web_query_parameters")&&(a=_.Fd(a));m.open(c,a,!0);h&&(m.responseType=h);l&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof FormData));if(e=_.rfa(a,e))for(var r in e)m.setRequestHeader(r,e[r]),"content-type"==r.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);return m};
var Sfa;_.Bh=function(){var a=this;this.deferredInstallPrompt=void 0;_.g.addEventListener("beforeinstallprompt",function(b){b.preventDefault();a.deferredInstallPrompt=b})};
Sfa=function(){if(!_.g.matchMedia)return"WEB_DISPLAY_MODE_UNKNOWN";try{return _.g.matchMedia("(display-mode: standalone)").matches?"WEB_DISPLAY_MODE_STANDALONE":_.g.matchMedia("(display-mode: minimal-ui)").matches?"WEB_DISPLAY_MODE_MINIMAL_UI":_.g.matchMedia("(display-mode: fullscreen)").matches?"WEB_DISPLAY_MODE_FULLSCREEN":_.g.matchMedia("(display-mode: browser)").matches?"WEB_DISPLAY_MODE_BROWSER":"WEB_DISPLAY_MODE_UNKNOWN"}catch(a){return"WEB_DISPLAY_MODE_UNKNOWN"}};
var awa,$va;_.Gn=_.ld("ytglobal.prefsUserPrefsPrefs_")||{};_.Fe("ytglobal.prefsUserPrefsPrefs_",_.Gn);_.mg=function(){this.cookieName_=_.w("ALT_PREF_COOKIE_NAME","PREF");this.cookieDomain_=_.w("ALT_PREF_COOKIE_DOMAIN","youtube.com");var a=_.Kd.get(this.cookieName_,void 0);if(a){a=decodeURIComponent(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(_.Gn[d]=c.toString())}}};
_.mg.prototype.get=function(a,b){$va(a);awa(a);a=void 0!==_.Gn[a]?_.Gn[a].toString():null;return null!=a?a:b?b:""};
_.mg.prototype.set=function(a,b){$va(a);awa(a);if(null==b)throw Error("qb");_.Gn[a]=b.toString()};
_.ng=function(a,b){return!!((_.bwa("f"+(Math.floor(b/31)+1))||0)&1<<b%31)};
_.mg.prototype.remove=function(a){$va(a);awa(a);delete _.Gn[a]};
_.mg.prototype.save=function(){var a=!0;_.x("web_secure_pref_cookie_killswitch")&&(a=!1);_.Ld(this.cookieName_,this.dump(),63072E3,this.cookieDomain_,a)};
_.mg.prototype.clear=function(){_.u.clear(_.Gn)};
_.mg.prototype.dump=function(){var a=[],b;for(b in _.Gn)a.push(b+"="+encodeURIComponent(String(_.Gn[b])));return a.join("&")};
awa=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("rb`"+a);};
$va=function(a){if(!/^\w+$/.test(a))throw Error("sb`"+a);};
_.bwa=function(a){a=void 0!==_.Gn[a]?_.Gn[a].toString():null;return null!=a&&/^[A-Fa-f0-9]+$/.test(a)?parseInt(a,16):null};
_.Yi(_.mg);
var Gfa={bluetooth:"CONN_DISCO",cellular:"CONN_CELLULAR_UNKNOWN",ethernet:"CONN_WIFI",none:"CONN_NONE",wifi:"CONN_WIFI",wimax:"CONN_CELLULAR_4G",other:"CONN_UNKNOWN",unknown:"CONN_UNKNOWN","slow-2g":"CONN_CELLULAR_2G","2g":"CONN_CELLULAR_2G","3g":"CONN_CELLULAR_3G","4g":"CONN_CELLULAR_4G"},Ufa={CONN_DEFAULT:0,CONN_UNKNOWN:1,CONN_NONE:2,CONN_WIFI:3,CONN_CELLULAR_2G:4,CONN_CELLULAR_3G:5,CONN_CELLULAR_4G:6,CONN_CELLULAR_UNKNOWN:7,CONN_DISCO:8,CONN_CELLULAR_5G:9,CONN_WIFI_METERED:10,CONN_CELLULAR_5G_SA:11,
CONN_CELLULAR_5G_NSA:12,CONN_INVALID:31},Vfa={EFFECTIVE_CONNECTION_TYPE_UNKNOWN:0,EFFECTIVE_CONNECTION_TYPE_OFFLINE:1,EFFECTIVE_CONNECTION_TYPE_SLOW_2G:2,EFFECTIVE_CONNECTION_TYPE_2G:3,EFFECTIVE_CONNECTION_TYPE_3G:4,EFFECTIVE_CONNECTION_TYPE_4G:5},Hfa={"slow-2g":"EFFECTIVE_CONNECTION_TYPE_SLOW_2G","2g":"EFFECTIVE_CONNECTION_TYPE_2G","3g":"EFFECTIVE_CONNECTION_TYPE_3G","4g":"EFFECTIVE_CONNECTION_TYPE_4G"};
_.Wd=function(a){var b;(b=_.Zta(a))||(a=new Uta(a||"UserDataSharedStore"),b=a.isAvailable()?a:null);this.expiringStorage_=(a=b)?new jm(a):null;this.JSC$33587_domain_=document.domain||window.location.hostname};
_.Wd.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.expiringStorage_)try{this.expiringStorage_.set(a,b,Date.now()+1E3*c);return}catch(h){}var e="";if(d)try{e=escape((0,_.Il)(b))}catch(h){return}else e=escape(b);_.Ld(a,e,c,this.JSC$33587_domain_)};
_.Wd.prototype.get=function(a,b){var c=void 0,d=!this.expiringStorage_;if(!d)try{c=this.expiringStorage_.get(a)}catch(e){d=!0}if(d&&(c=_.Kd.get(a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
_.Wd.prototype.remove=function(a){this.expiringStorage_&&this.expiringStorage_.remove(a);_.Cfa(a,"/",this.JSC$33587_domain_)};
var Hn;Hn=window;_.Yd=Hn.ytcsi&&Hn.ytcsi.now?Hn.ytcsi.now:Hn.performance&&Hn.performance.timing&&Hn.performance.now&&Hn.performance.timing.navigationStart?function(){return Hn.performance.timing.navigationStart+Hn.performance.now()}:function(){return(new Date).getTime()};
var Yfa;
_.In=function(){this.cancelDebouncedJobMap=new WeakMap;this.cancelThrottledJobMap=new WeakMap};
_.Jn=function(a,b,c){return a.addJob(b,0,c)};
_.In.prototype.addLowPriorityJob=function(a,b){return this.addJob(a,1,b)};
_.we=function(a,b,c){return a.addJob(b,2,c)};
_.Bi=function(a,b,c){return a.addJob(b,4,c)};
_.Kn=function(a){var b=_.ld("yt.scheduler.instance.addImmediateJob");b?b(a):a()};
_.In.prototype.debounce=function(a,b,c){var d=this,e=0,h=function(){e&&d.cancelJob(e);e=d.addJob(a,b,c);d.cancelDebouncedJobMap.set(h,e)};
return h};
_.In.prototype.cancelThrottle=function(a){(a=this.cancelThrottledJobMap.get(a))&&a()};
var Ln=function(){_.In.apply(this,arguments)};
_.q(Ln,_.In);_.Ci=function(){Ln.instance||(Ln.instance=new Ln);return Ln.instance};
Ln.prototype.addJob=function(a,b,c){void 0!==c&&Number.isNaN(Number(c))&&(c=void 0);var d=_.ld("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):_.Bd(a,c||0)};
Ln.prototype.cancelJob=function(a){if(void 0===a||!Number.isNaN(Number(a))){var b=_.ld("yt.scheduler.instance.cancelJob");b?b(a):_.Dd(a)}};
Ln.prototype.start=function(){var a=_.ld("yt.scheduler.instance.start");a&&a()};
Ln.prototype.pause=function(){var a=_.ld("yt.scheduler.instance.pause");a&&a()};
_.xe=_.Ci();
_.tga=_.zpa||_.Apa;
var cga=function(){var a;return function(){a||(a=new _.Wd("ytidb"));return a}}();
var $d;_.be=[];$d=!1;
_.ge=function(a){var b=_.Ob.apply(1,arguments);var c=Error.call(this,a);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.args=[].concat(_.sc(b))};
_.q(_.ge,Error);
var Mn={},cwa=(Mn.AUTH_INVALID="No user identifier specified.",Mn.EXPLICIT_ABORT="Transaction was explicitly aborted.",Mn.IDB_NOT_SUPPORTED="IndexedDB is not supported.",Mn.MISSING_INDEX="Index not created.",Mn.MISSING_OBJECT_STORES="Object stores not created.",Mn.DB_DELETED_BY_MISSING_OBJECT_STORES="Database is deleted because expected object stores were not created.",Mn.DB_REOPENED_BY_MISSING_OBJECT_STORES="Database is reopened because expected object stores were not created.",Mn.UNKNOWN_ABORT=
"Transaction was aborted for unknown reasons.",Mn.QUOTA_EXCEEDED="The current transaction exceeded its quota limitations.",Mn.QUOTA_MAYBE_EXCEEDED="The current transaction may have failed because of exceeding quota limitations.",Mn.EXECUTE_TRANSACTION_ON_CLOSED_DB="Can't start a transaction on a closed database",Mn.INCOMPATIBLE_DB_VERSION="The binary is incompatible with the database version",Mn),Nn={},dwa=(Nn.AUTH_INVALID="ERROR",Nn.EXECUTE_TRANSACTION_ON_CLOSED_DB="WARNING",Nn.EXPLICIT_ABORT="IGNORED",
Nn.IDB_NOT_SUPPORTED="ERROR",Nn.MISSING_INDEX="WARNING",Nn.MISSING_OBJECT_STORES="ERROR",Nn.DB_DELETED_BY_MISSING_OBJECT_STORES="WARNING",Nn.DB_REOPENED_BY_MISSING_OBJECT_STORES="WARNING",Nn.QUOTA_EXCEEDED="WARNING",Nn.QUOTA_MAYBE_EXCEEDED="WARNING",Nn.UNKNOWN_ABORT="WARNING",Nn.INCOMPATIBLE_DB_VERSION="WARNING",Nn),On={},ewa=(On.AUTH_INVALID=!1,On.EXECUTE_TRANSACTION_ON_CLOSED_DB=!1,On.EXPLICIT_ABORT=!1,On.IDB_NOT_SUPPORTED=!1,On.MISSING_INDEX=!1,On.MISSING_OBJECT_STORES=!1,On.DB_DELETED_BY_MISSING_OBJECT_STORES=
!1,On.DB_REOPENED_BY_MISSING_OBJECT_STORES=!1,On.QUOTA_EXCEEDED=!1,On.QUOTA_MAYBE_EXCEEDED=!0,On.UNKNOWN_ABORT=!0,On.INCOMPATIBLE_DB_VERSION=!1,On),je=function(a,b,c,d,e){b=void 0===b?{}:b;c=void 0===c?cwa[a]:c;d=void 0===d?dwa[a]:d;e=void 0===e?ewa[a]:e;_.ge.call(this,c,Object.assign({},{name:"YtIdbKnownError",isSw:void 0===self.document,isIframe:self!==self.top,type:a},b));this.type=a;this.message=c;this.level=d;this.retryable=e;Object.setPrototypeOf(this,je.prototype)};
_.q(je,_.ge);var fwa=function(a,b){je.call(this,"MISSING_OBJECT_STORES",{expectedObjectStores:b,foundObjectStores:a},cwa.MISSING_OBJECT_STORES);Object.setPrototypeOf(this,fwa.prototype)};
_.q(fwa,je);var ke=function(a,b){var c=Error.call(this);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.index=a;this.objectStore=b;Object.setPrototypeOf(this,ke.prototype)};
_.q(ke,Error);var fga=["The database connection is closing","Can't start a transaction on a closed database","A mutation operation was attempted on a database that did not allow mutations"];
var ne=function(a){this.executor=a},me=function(a){var b=this;
this.state={status:"PENDING"};this.JSC$33626_onFulfilled=[];this.onRejected=[];a=a.executor;var c=function(e){if("PENDING"===b.state.status){b.state={status:"FULFILLED",value:e};e=_.k(b.JSC$33626_onFulfilled);for(var h=e.next();!h.done;h=e.next())h=h.value,h()}},d=function(e){if("PENDING"===b.state.status){b.state={status:"REJECTED",
reason:e};e=_.k(b.onRejected);for(var h=e.next();!h.done;h=e.next())h=h.value,h()}};
try{a(c,d)}catch(e){d(e)}};
me.all=function(a){return new me(new ne(function(b,c){var d=[],e=a.length;0===e&&b(d);for(var h={$jscomp$loop$prop$i$1929$3305:0};h.$jscomp$loop$prop$i$1929$3305<a.length;h={$jscomp$loop$prop$i$1929$3305:h.$jscomp$loop$prop$i$1929$3305},++h.$jscomp$loop$prop$i$1929$3305)me.resolve(a[h.$jscomp$loop$prop$i$1929$3305]).then(function(l){return function(m){d[l.$jscomp$loop$prop$i$1929$3305]=m;e--;0===e&&b(d)}}(h)).catch(function(l){c(l)})}))};
me.resolve=function(a){return new me(new ne(function(b,c){a instanceof me?a.then(b,c):b(a)}))};
me.reject=function(a){return new me(new ne(function(b,c){c(a)}))};
me.prototype.then=function(a,b){var c=this,d=null!=a?a:iga,e=null!=b?b:hga;return new me(new ne(function(h,l){"PENDING"===c.state.status?(c.JSC$33626_onFulfilled.push(function(){gwa(c,c,d,h,l)}),c.onRejected.push(function(){hwa(c,c,e,h,l)})):"FULFILLED"===c.state.status?gwa(c,c,d,h,l):"REJECTED"===c.state.status&&hwa(c,c,e,h,l)}))};
me.prototype.catch=function(a){return this.then(void 0,a)};
var gwa=function(a,b,c,d,e){try{if("FULFILLED"!==a.state.status)throw Error("vb");var h=c(a.state.value);h instanceof me?iwa(a,b,h,d,e):d(h)}catch(l){e(l)}},hwa=function(a,b,c,d,e){try{if("REJECTED"!==a.state.status)throw Error("wb");
var h=c(a.state.reason);h instanceof me?iwa(a,b,h,d,e):d(h)}catch(l){e(l)}},iwa=function(a,b,c,d,e){b===c?e(new TypeError("xb")):c.then(function(h){h instanceof me?iwa(a,b,h,d,e):d(h)},function(h){e(h)})};
var pe=function(a,b){this.JSC$33634_wrapped=a;this.options=b;this.transactionCount=0;this.startedMs=Math.round((0,_.Yd)());this.hasUnknownAbortedTransaction=!1},lwa,mwa,rwa,Rn;
pe.prototype.add=function(a,b,c){return _.ze(this,[a],{mode:"readwrite",enableRetries:!0},function(d){return d.objectStore(a).add(b,c)})};
pe.prototype.clear=function(a){return _.ze(this,[a],{mode:"readwrite",enableRetries:!0},function(b){return b.objectStore(a).clear()})};
pe.prototype.close=function(){this.JSC$33634_wrapped.close();var a;(null==(a=this.options)?0:a.closed)&&this.options.closed()};
pe.prototype.count=function(a,b){return _.ze(this,[a],{mode:"readonly",enableRetries:!0},function(c){return c.objectStore(a).count(b)})};
_.Me=function(a,b,c){a=a.JSC$33634_wrapped.createObjectStore(b,c);return new Pn(a)};
pe.prototype.delete=function(a,b){return _.ze(this,[a],{mode:"readwrite",enableRetries:!0},function(c){return c.objectStore(a).delete(b)})};
var jwa=function(a,b){return _.ze(a,["ResponseStore"],{mode:"readwrite",enableRetries:!0},function(c){return c.objectStore("ResponseStore").index("byInterface").delete(b)})};
pe.prototype.get=function(a,b){return _.ze(this,[a],{mode:"readonly",enableRetries:!0},function(c){return c.objectStore(a).get(b)})};
pe.prototype.put=function(a,b,c){return _.ze(this,[a],{mode:"readwrite",enableRetries:!0},function(d){return d.objectStore(a).put(b,c)})};
pe.prototype.objectStoreNames=function(){return Array.from(this.JSC$33634_wrapped.objectStoreNames)};
_.ze=function(a,b,c,d){var e,h,l,m,p,r,v,z,A,D,E,J;return _.y(function(R){switch(R.nextAddress){case 1:var da={mode:"readonly",enableRetries:!1,tag:"IDB_TRANSACTION_TAG_UNKNOWN"};"string"===typeof c?da.mode=c:Object.assign(da,c);e=da;a.transactionCount++;h=e.enableRetries?3:1;l=0;case 2:if(m){R.jumpTo(3);break}l++;p=Math.round((0,_.Yd)());_.se(R,4);r=a.JSC$33634_wrapped.transaction(b,e.mode);da=new re(r);da=kwa(da,d);return _.B(R,da,6);case 6:return v=R.yieldResult,z=Math.round((0,_.Yd)()),lwa(a,
p,z,l,void 0,b.join(),e),R.return(v);case 4:A=_.ue(R);D=Math.round((0,_.Yd)());E=gga(A,a.JSC$33634_wrapped.name,b.join(),a.JSC$33634_wrapped.version);if((J=E instanceof je&&!E.retryable)||l>=h)lwa(a,p,D,l,E,b.join(),e),m=E;R.jumpTo(2);break;case 3:return R.return(Promise.reject(m))}})};
lwa=function(a,b,c,d,e,h,l){b=c-b;e?(e instanceof je&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&de("QUOTA_EXCEEDED",{dbName:ie(a.JSC$33634_wrapped.name),objectStoreNames:h,transactionCount:a.transactionCount,transactionMode:l.mode}),e instanceof je&&"UNKNOWN_ABORT"===e.type&&(c-=a.startedMs,0>c&&c>=Math.pow(2,31)&&(c=0),de("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:h,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.hasUnknownAbortedTransaction=
!0),mwa(a,!1,d,h,b,l.tag),_.ce(e)):mwa(a,!0,d,h,b,l.tag)};
mwa=function(a,b,c,d,e,h){de("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.hasUnknownAbortedTransaction,duration:e,isSuccessful:b,tryCount:c,tag:void 0===h?"IDB_TRANSACTION_TAG_UNKNOWN":h})};
pe.prototype.getVersion=function(){return this.JSC$33634_wrapped.version};
pe.prototype.getName=function(){return this.JSC$33634_wrapped.name};
var Pn=function(a){this.JSC$33648_wrapped=a};
Pn.prototype.add=function(a,b){return oe(this.JSC$33648_wrapped.add(a,b))};
Pn.prototype.autoIncrement=function(){return this.JSC$33648_wrapped.autoIncrement};
Pn.prototype.clear=function(){return oe(this.JSC$33648_wrapped.clear()).then(function(){})};
var Ne=function(a,b,c){a.JSC$33648_wrapped.createIndex(b,c,{unique:!1})};
Pn.prototype.count=function(a){return oe(this.JSC$33648_wrapped.count(a))};
var nwa=function(a,b){return Be(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})};
Pn.prototype.delete=function(a){return a instanceof IDBKeyRange?nwa(this,a):oe(this.JSC$33648_wrapped.delete(a))};
Pn.prototype.get=function(a){return oe(this.JSC$33648_wrapped.get(a))};
var owa=function(a){var b=[];return Be(a,{query:void 0},function(c){b.push(c.getValue());return c.continue()}).then(function(){return b})};
Pn.prototype.index=function(a){try{return new Qn(this.JSC$33648_wrapped.index(a))}catch(b){if(b instanceof Error&&"NotFoundError"===b.name)throw new ke(a,this.JSC$33648_wrapped.name);throw b;}};
Pn.prototype.getName=function(){return this.JSC$33648_wrapped.name};
Pn.prototype.keyPath=function(){return this.JSC$33648_wrapped.keyPath};
Pn.prototype.put=function(a,b){return oe(this.JSC$33648_wrapped.put(a,b))};
var Be=function(a,b,c){a=a.JSC$33648_wrapped.openCursor(b.query,b.direction);return Rn(a).then(function(d){return lga(d,c)})},re=function(a){var b=this;
this.JSC$33656_wrapped=a;this.objectStoreCache=new Map;this.JSC$33656_aborted=!1;this.done=new Promise(function(c,d){b.JSC$33656_wrapped.addEventListener("complete",function(){c()});
b.JSC$33656_wrapped.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.JSC$33656_wrapped.error)});
b.JSC$33656_wrapped.addEventListener("abort",function(){var e=b.JSC$33656_wrapped.error;if(e)d(e);else if(!b.JSC$33656_aborted){e=je;for(var h=b.JSC$33656_wrapped.objectStoreNames,l=[],m=0;m<h.length;m++){var p=h.item(m);if(null===p)throw Error("yb");l.push(p)}e=new e("UNKNOWN_ABORT",{objectStoreNames:l.join(),dbName:b.JSC$33656_wrapped.db.name,mode:b.JSC$33656_wrapped.mode});d(e)}})})},kwa=function(a,b){var c=new Promise(function(d,e){try{b(a).then(function(h){d(h)}).catch(e)}catch(h){e(h),a.abort()}});
return Promise.all([c,a.done]).then(function(d){return _.k(d).next().value})};
re.prototype.abort=function(){this.JSC$33656_wrapped.abort();this.JSC$33656_aborted=!0;throw new je("EXPLICIT_ABORT");};
re.prototype.objectStore=function(a){a=this.JSC$33656_wrapped.objectStore(a);var b=this.objectStoreCache.get(a);b||(b=new Pn(a),this.objectStoreCache.set(a,b));return b};
var Qn=function(a){this.JSC$33658_wrapped=a};
Qn.prototype.count=function(a){return oe(this.JSC$33658_wrapped.count(a))};
Qn.prototype.delete=function(a){return _.Pe(this,{query:a},function(b){return b.delete().then(function(){return b.continue()})})};
Qn.prototype.get=function(a){return oe(this.JSC$33658_wrapped.get(a))};
var qwa=function(a,b){return"getAll"in IDBIndex.prototype?oe(a.JSC$33658_wrapped.getAll(b,void 0)):pwa(a,b)},pwa=function(a,b){var c=[];
return _.Pe(a,{query:b},function(d){c.push(d.getValue());return d.continue()}).then(function(){return c})};
Qn.prototype.getKey=function(a){return oe(this.JSC$33658_wrapped.getKey(a))};
Qn.prototype.keyPath=function(){return this.JSC$33658_wrapped.keyPath};
Qn.prototype.unique=function(){return this.JSC$33658_wrapped.unique};
_.Pe=function(a,b,c){a=a.JSC$33658_wrapped.openCursor(void 0===b.query?null:b.query,void 0===b.direction?"next":b.direction);return Rn(a).then(function(d){return lga(d,c)})};
rwa=function(a,b){this.request=a;this.cursor=b};
Rn=function(a){return oe(a).then(function(b){return b?new rwa(a,b):null})};
_.f=rwa.prototype;_.f.advance=function(a){this.cursor.advance(a);return Rn(this.request)};
_.f.continue=function(a){this.cursor.continue(a);return Rn(this.request)};
_.f.delete=function(){return oe(this.cursor.delete()).then(function(){})};
_.f.getKey=function(){return this.cursor.key};
_.f.getValue=function(){return this.cursor.value};
_.f.update=function(a){return oe(this.cursor.update(a))};
var Sn=function(a,b){this.name=a;this.options=b;this.isCompatible=!0;this.timesReopenedToFixMissingObjectStore=this.timesDeletedToFixMissingObjectStore=0;this.missingObjectStorePauseTime=500},swa;
Sn.prototype.openDb=function(a,b,c){c=void 0===c?{}:c;return nga(a,b,c)};
Sn.prototype.delete=function(a){a=void 0===a?{}:a;return _.ve(this.name,a)};
swa=function(a,b){return new je("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})};
_.ye=function(a,b){if(!b)throw _.le("openWithToken",ie(a.name));return a.open()};
Sn.prototype.open=function(){var a=this;if(!this.isCompatible)throw swa(this);if(this.connectionPromise)return this.connectionPromise;var b,c=function(){a.connectionPromise===b&&(a.connectionPromise=void 0)},d={blocking:function(h){h.close()},
closed:c,terminated:c,upgrade:this.options.upgrade},e=function(){var h,l,m,p,r,v,z,A,D,E;return _.y(function(J){switch(J.nextAddress){case 1:return l=null!=(h=Error().stack)?h:"",_.se(J,2),_.B(J,a.openDb(a.name,a.options.version,d),4);case 4:m=J.yieldResult;for(var R=a.options,da=[],sa=_.k(Object.keys(R.objectStores)),Ca=sa.next();!Ca.done;Ca=sa.next()){Ca=Ca.value;var ea=R.objectStores[Ca],na=void 0===ea.removedAtVersion?Number.MAX_VALUE:ea.removedAtVersion;!(m.JSC$33634_wrapped.version>=ea.addedAtVersion)||
m.JSC$33634_wrapped.version>=na||m.JSC$33634_wrapped.objectStoreNames.contains(Ca)||da.push(Ca)}p=da;if(0===p.length){J.jumpTo(5);break}r=Object.keys(a.options.objectStores);v=m.objectStoreNames();if(a.timesReopenedToFixMissingObjectStore<_.hd("ytidb_reopen_db_retries",0))return a.timesReopenedToFixMissingObjectStore++,m.close(),_.ce(new je("DB_REOPENED_BY_MISSING_OBJECT_STORES",{dbName:a.name,expectedObjectStores:r,foundObjectStores:v})),J.return(e());if(!(a.timesDeletedToFixMissingObjectStore<_.hd("ytidb_remake_db_retries",
1))){J.jumpTo(6);break}a.timesDeletedToFixMissingObjectStore++;if(!_.x("ytidb_remake_db_enable_backoff_delay")){J.jumpTo(7);break}return _.B(J,oga(a.missingObjectStorePauseTime),8);case 8:a.missingObjectStorePauseTime*=2;case 7:return _.B(J,a.delete(),9);case 9:return _.ce(new je("DB_DELETED_BY_MISSING_OBJECT_STORES",{dbName:a.name,expectedObjectStores:r,foundObjectStores:v})),J.return(e());case 6:throw new fwa(v,r);case 5:return J.return(m);case 2:z=_.ue(J);if(z instanceof DOMException?"VersionError"!==
z.name:"DOMError"in self&&z instanceof DOMError?"VersionError"!==z.name:!(z instanceof Object&&"message"in z)||"An attempt was made to open a database using a lower version than the existing version."!==z.message){J.jumpTo(10);break}return _.B(J,a.openDb(a.name,void 0,Object.assign({},d,{upgrade:void 0})),11);case 11:A=J.yieldResult;D=A.getVersion();if(void 0!==a.options.version&&D>a.options.version+1)throw A.close(),a.isCompatible=!1,swa(a,D);return J.return(A);case 10:throw c(),z instanceof Error&&
!_.x("ytidb_async_stack_killswitch")&&(z.stack=z.stack+"\n"+l.substring(l.indexOf("\n")+1)),gga(z,a.name,"",null!=(E=a.options.version)?E:-1);}})};
return this.connectionPromise=b=e()};
var pga=new Sn("YtIdbMeta",{objectStores:{databases:{addedAtVersion:1}},upgrade:function(a,b){b(1)&&_.Me(a,"databases",{keyPath:"actualName"})}});
var wga,uga=new function(){}(new function(){});
new _.dk;
var Tn=function(a){var b=this;this.initialized=!1;this.potentialEsfErrorCounter=this.intervalJob=0;this.handleError=function(){};
this.handleWarning=function(){};
this.now=Date.now;this.disableYtIdbTransactions=!1;this.TEST_ONLY={setDbToken:function(v){b.databaseToken=v},
triggerThrottle:function(){b.throttledSend()},
cancelThrottle:function(){b.cancelThrottledSend()},
immediateSend:function(v){return _.y(function(z){return _.B(z,b.immediateSend(v),0)})},
requestWithinAgeLimit:function(v,z){return b.requestWithinAgeLimit(v,z)},
retryQueuedRequests:function(){b.retryQueuedRequests()}};
var c;this.throttleTimeout=null!=(c=a.throttleTimeout)?c:100;var d;this.retryMaxAttempts=null!=(d=a.retryMaxAttempts)?d:1;var e;this.requestAgeLimitMs=null!=(e=a.requestAgeLimitMs)?e:2592E6;var h;this.queuedRequestAgeLimitMs=null!=(h=a.queuedRequestAgeLimitMs)?h:12E4;var l;this.retryDelayMs=null!=(l=a.retryDelayMs)?l:5E3;var m;this.databaseToken=null!=(m=a.databaseToken)?m:void 0;this.enableCleaning=!!a.enableCleaning;var p;this.cleaningRate=null!=(p=a.cleaningRate)?p:.1;var r;this.potentialEsfErrorLimit=
null!=(r=a.potentialEsfErrorLimit)?r:10;a.handleError&&(this.handleError=a.handleError);a.handleWarning&&(this.handleWarning=a.handleWarning);a.disableYtIdbTransactions&&(this.disableYtIdbTransactions=a.disableYtIdbTransactions);this.getBooleanFlag=a.getBooleanFlag;this.jobManager=a.jobManager;this.logsStore=a.logsStore;this.networkManager=a.networkManager;this.sendFn=a.sendFn;this.onlineEvent=a.onlineEvent;this.offlineEvent=a.offlineEvent;this.databaseToken&&(!this.getBooleanFlag||this.getBooleanFlag("networkless_logging"))&&
twa(this)},twa=function(a){a.databaseToken&&!a.disableYtIdbTransactions&&(a.initialized=!0,a.enableCleaning&&Math.random()<=a.cleaningRate&&a.logsStore.cleanLogsStore(a.databaseToken),a.retryQueuedRequests(),a.networkManager.isNetworkAvailable()&&a.throttledSend(),a.networkManager.listen(a.onlineEvent,a.throttledSend.bind(a)),a.networkManager.listen(a.offlineEvent,a.cancelThrottledSend.bind(a)))};
_.f=Tn.prototype;_.f.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(this.databaseToken&&this.initialized){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.logsStore.set(d,this.databaseToken).then(function(e){d.id=e;c.networkManager.isNetworkAvailable()&&c.immediateSend(d)}).catch(function(e){c.immediateSend(d);
Un(c,e)})}else this.sendFn(a,b)};
_.f.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(this.databaseToken&&this.initialized){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.getBooleanFlag&&this.getBooleanFlag("nwl_skip_retry")&&(e.skipRetry=c);if(this.networkManager.isNetworkAvailable()||this.getBooleanFlag&&this.getBooleanFlag("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var h=b.onError?b.onError:function(){};
b.onError=function(l,m){return _.y(function(p){if(1==p.nextAddress)return _.B(p,d.logsStore.set(e,d.databaseToken).catch(function(r){Un(d,r)}),2);
h(l,m);_.bf(p)})}}this.sendFn(a,b,e.skipRetry)}else this.logsStore.set(e,this.databaseToken).catch(function(l){d.sendFn(a,b,e.skipRetry);
Un(d,l)})}else this.sendFn(a,b,this.getBooleanFlag&&this.getBooleanFlag("nwl_skip_retry")&&c)};
_.f.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(this.databaseToken&&this.initialized){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0},e=!1,h=b.onSuccess?b.onSuccess:function(){};
d.options.onSuccess=function(l,m){void 0!==d.id?c.logsStore.deleteRequest(d.id,c.databaseToken):e=!0;c.networkManager.networkStatusHint&&c.getBooleanFlag&&c.getBooleanFlag("vss_network_hint")&&c.networkManager.networkStatusHint(!0);h(l,m)};
this.sendFn(d.url,d.options);this.logsStore.set(d,this.databaseToken).then(function(l){d.id=l;e&&c.logsStore.deleteRequest(d.id,c.databaseToken)}).catch(function(l){Un(c,l)})}else this.sendFn(a,b)};
_.f.throttledSend=function(){var a=this;if(!this.databaseToken)throw _.le("throttleSend");this.intervalJob||(this.intervalJob=this.jobManager.addLowPriorityJob(function(){var b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,a.logsStore.getMostRecentByStatus("NEW",a.databaseToken),2);if(3!=c.nextAddress)return b=c.yieldResult,b?_.B(c,a.immediateSend(b),3):(a.cancelThrottledSend(),c.return());a.intervalJob&&(a.intervalJob=0,a.throttledSend());_.bf(c)})},this.throttleTimeout))};
_.f.cancelThrottledSend=function(){this.jobManager.cancelJob(this.intervalJob);this.intervalJob=0};
_.f.immediateSend=function(a){var b=this,c,d;return _.y(function(e){switch(e.nextAddress){case 1:if(!b.databaseToken)throw c=_.le("immediateSend"),c;if(void 0===a.id){e.jumpTo(2);break}return _.B(e,b.logsStore.markAsQueued(a.id,b.databaseToken),3);case 3:(d=e.yieldResult)?a=d:b.handleWarning(Error("Bb"));case 2:if(b.requestWithinAgeLimit(a,b.requestAgeLimitMs)){e.jumpTo(4);break}b.handleWarning(Error("Cb"));if(void 0===a.id){e.jumpTo(5);break}return _.B(e,b.logsStore.deleteRequest(a.id,b.databaseToken),
5);case 5:return e.return();case 4:a.skipRetry||(a=uwa(b,a));if(!a){e.jumpTo(0);break}if(!a.skipRetry||void 0===a.id){e.jumpTo(8);break}return _.B(e,b.logsStore.deleteRequest(a.id,b.databaseToken),8);case 8:b.sendFn(a.url,a.options,!!a.skipRetry),_.bf(e)}})};
var uwa=function(a,b){if(!a.databaseToken)throw _.le("updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){};
b.options.onError=function(e,h){var l,m,p;return _.y(function(r){switch(r.nextAddress){case 1:l=Fga(h);if(!(a.getBooleanFlag&&a.getBooleanFlag("nwl_consider_error_code")&&l||a.getBooleanFlag&&!a.getBooleanFlag("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.potentialEsfErrorLimit)){r.jumpTo(2);break}if(!a.networkManager.sendNetworkCheckRequest){r.jumpTo(3);break}return _.B(r,a.networkManager.sendNetworkCheckRequest(),3);case 3:if(a.networkManager.isNetworkAvailable()){r.jumpTo(2);break}c(e,
h);if(!a.getBooleanFlag||!a.getBooleanFlag("nwl_consider_error_code")||void 0===(null==(m=b)?void 0:m.id)){r.jumpTo(6);break}return _.B(r,a.logsStore.resetRequest(b.id,a.databaseToken,!1),6);case 6:return r.return();case 2:if(a.getBooleanFlag&&a.getBooleanFlag("nwl_consider_error_code")&&!l&&a.potentialEsfErrorCounter>a.potentialEsfErrorLimit)return r.return();a.potentialEsfErrorCounter++;if(void 0===(null==(p=b)?void 0:p.id)){r.jumpTo(8);break}return b.sendCount<a.retryMaxAttempts?_.B(r,a.logsStore.resetRequest(b.id,
a.databaseToken),12):_.B(r,a.logsStore.deleteRequest(b.id,a.databaseToken),8);case 12:a.jobManager.addLowPriorityJob(function(){a.networkManager.isNetworkAvailable()&&a.throttledSend()},a.retryDelayMs);
case 8:c(e,h),_.bf(r)}})};
var d=b.options.onSuccess?b.options.onSuccess:function(){};
b.options.onSuccess=function(e,h){var l;return _.y(function(m){if(1==m.nextAddress)return void 0===(null==(l=b)?void 0:l.id)?m.jumpTo(2):_.B(m,a.logsStore.deleteRequest(b.id,a.databaseToken),2);a.networkManager.networkStatusHint&&a.getBooleanFlag&&a.getBooleanFlag("vss_network_hint")&&a.networkManager.networkStatusHint(!0);d(e,h);_.bf(m)})};
return b};
Tn.prototype.requestWithinAgeLimit=function(a,b){a=a.timestamp;return this.now()-a>=b?!1:!0};
Tn.prototype.retryQueuedRequests=function(){var a=this;if(!this.databaseToken)throw _.le("retryQueuedRequests");this.logsStore.getMostRecentByStatus("QUEUED",this.databaseToken).then(function(b){b&&!a.requestWithinAgeLimit(b,a.queuedRequestAgeLimitMs)?a.jobManager.addLowPriorityJob(function(){return _.y(function(c){if(1==c.nextAddress)return void 0===b.id?c.jumpTo(2):_.B(c,a.logsStore.resetRequest(b.id,a.databaseToken),2);a.retryQueuedRequests();_.bf(c)})}):a.networkManager.isNetworkAvailable()&&
a.throttledSend()})};
var Un=function(a,b){a.writeError&&!a.networkManager.isNetworkAvailable()?a.writeError(b):a.handleError(b)};
var Vn=function(a,b){this.version=a;this.args=b};
Vn.prototype.serialize=function(){return{version:this.version,args:this.args}};
var Ie=function(a,b){this.topic=a;this.dataClass=b};
Ie.prototype.toString=function(){return this.topic};
var vwa=_.ld("ytPubsub2Pubsub2Instance")||new _.fm;_.fm.prototype.subscribe=_.fm.prototype.subscribe;_.fm.prototype.unsubscribeByKey=_.fm.prototype.unsubscribeByKey;_.fm.prototype.publish=_.fm.prototype.JSC$32713_publish;_.fm.prototype.clear=_.fm.prototype.clear;_.Fe("ytPubsub2Pubsub2Instance",vwa);var He=_.ld("ytPubsub2Pubsub2SubscribedKeys")||{};_.Fe("ytPubsub2Pubsub2SubscribedKeys",He);var Je=_.ld("ytPubsub2Pubsub2TopicToKeys")||{};_.Fe("ytPubsub2Pubsub2TopicToKeys",Je);
var Iga=_.ld("ytPubsub2Pubsub2IsAsync")||{};_.Fe("ytPubsub2Pubsub2IsAsync",Iga);_.Fe("ytPubsub2Pubsub2SkipSubKey",null);
var Wn=function(a,b){Sn.call(this,a,b);this.options=b;he(a)};
_.q(Wn,Sn);var Oga=function(a,b){var c;return function(){c||(c=new Wn(a,b));return c}};
Wn.prototype.openDb=function(a,b,c){c=void 0===c?{}:c;return(this.options.shared?Aga:zga)(a,b,Object.assign({},c))};
Wn.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.shared?_.Ega:Bga)(this.name,a)};
var Le;
var wwa={},Wga=_.Ke("ServiceWorkerLogsDatabase",{objectStores:(wwa.SWHealthLog={addedAtVersion:1},wwa),shared:!0,upgrade:function(a,b){b(1)&&Ne(_.Me(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])},
version:1});
var cha={},bha=0;
var Xn=function(){this.requestMap=new Map;this.anyRequestHasSucceeded=!1},We=function(){if(!Xn.instance){var a=_.ld("yt.networkRequestMonitor.instance")||new Xn;
_.Fe("yt.networkRequestMonitor.instance",a);Xn.instance=a}return Xn.instance};
Xn.prototype.requestComplete=function(a,b){b&&(this.anyRequestHasSucceeded=!0);a=this.removeParams(a);this.requestMap.get(a)||this.requestMap.set(a,b)};
Xn.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.requestMap.get(a))?!1:!1===a&&this.anyRequestHasSucceeded?!0:null};
Xn.prototype.removeParams=function(a){return a.split("?")[0]};
Xn.prototype.removeParams=Xn.prototype.removeParams;Xn.prototype.isEndpointCFR=Xn.prototype.isEndpointCFR;Xn.prototype.requestComplete=Xn.prototype.requestComplete;Xn.getInstance=We;
var dha;
var xwa=_.hd("network_polling_interval",3E4),Yn=function(){_.Kk.call(this);var a=this;this.JSC$33732_pollingJob=0;this.shouldFlushErrors=this.JSC$33732_isMonitoring=!1;this.JSC$33732_isOnline=this.getWindowStatus();_.x("use_shared_nsm")?(this.sharedNetworkStatusManager=jsa(),_.x("use_shared_nsm_and_keep_yt_online_updated")&&(this.sharedNetworkStatusManager.listen("networkstatus-online",function(){a.JSC$33732_isOnline=!0;a.shouldFlushErrors&&fha()}),this.sharedNetworkStatusManager.listen("networkstatus-offline",
function(){a.JSC$33732_isOnline=!1}))):(ywa(this),zwa(this))};
_.q(Yn,_.Kk);var Awa=function(){if(!Yn.instance){var a=_.ld("yt.networkStatusManager.instance")||new Yn;_.Fe("yt.networkStatusManager.instance",a);Yn.instance=a}return Yn.instance};
_.f=Yn.prototype;_.f.isNetworkAvailable=function(){if(_.x("use_shared_nsm")&&this.sharedNetworkStatusManager){var a;return null==(a=this.sharedNetworkStatusManager)?void 0:a.isNetworkAvailable()}return this.JSC$33732_isOnline};
_.f.networkStatusHint=function(a){if(_.x("use_shared_nsm")&&this.sharedNetworkStatusManager){var b;null!=(b=this.sharedNetworkStatusManager)&&(b.JSC$32549_isOnline=a)}else a!==this.JSC$33732_isOnline&&(this.JSC$33732_isOnline=a)};
_.f.monitorNetworkStatusChange=function(a){!_.x("use_shared_nsm")&&(this.JSC$33732_isMonitoring=!0,void 0===a?0:a)&&(this.JSC$33732_pollingJob||this.poll())};
_.f.getWindowStatus=function(){var a=window.navigator.onLine;return void 0===a?!0:a};
_.f.enableErrorFlushing=function(){this.shouldFlushErrors=!0};
_.f.listen=function(a,b){return _.x("use_shared_nsm")&&this.sharedNetworkStatusManager?this.sharedNetworkStatusManager.listen(a,b):_.Kk.prototype.listen.call(this,a,b)};
var zwa=function(a){window.addEventListener("online",function(){return _.y(function(b){if(1==b.nextAddress)return _.B(b,a.sendNetworkCheckRequest(),2);a.shouldFlushErrors&&fha();_.bf(b)})})},ywa=function(a){window.addEventListener("offline",function(){return _.y(function(b){return _.B(b,a.sendNetworkCheckRequest(),0)})})};
Yn.prototype.poll=function(){var a=this;this.JSC$33732_pollingJob=_.Jn(_.xe,function(){return _.y(function(b){if(1==b.nextAddress)return a.JSC$33732_isOnline?a.getWindowStatus()||!a.JSC$33732_isMonitoring?b.jumpTo(3):_.B(b,a.sendNetworkCheckRequest(),3):_.B(b,a.sendNetworkCheckRequest(),3);a.poll();_.bf(b)})},xwa)};
Yn.prototype.sendNetworkCheckRequest=function(a){var b=this;if(_.x("use_shared_nsm")&&this.sharedNetworkStatusManager){var c=kl(this.sharedNetworkStatusManager,a);c.then(function(d){_.x("use_cfr_monitor")&&We().requestComplete("generate_204",d)});
return c}return this.JSC$33732_networkRequestPromise?this.JSC$33732_networkRequestPromise:this.JSC$33732_networkRequestPromise=new Promise(function(d){var e,h,l,m;return _.y(function(p){switch(p.nextAddress){case 1:return e=window.AbortController?new window.AbortController:void 0,l=null==(h=e)?void 0:h.signal,m=!1,_.se(p,2,3),e&&(b.JSC$33732_abortTimeoutKey=_.xe.addLowPriorityJob(function(){e.abort()},a||2E4)),_.B(p,fetch("/generate_204",{method:"HEAD",
signal:l}),5);case 5:m=!0;case 3:Xna(p);_.x("use_cfr_monitor")&&We().requestComplete("generate_204",m);b.JSC$33732_networkRequestPromise=void 0;b.JSC$33732_abortTimeoutKey&&_.xe.cancelJob(b.JSC$33732_abortTimeoutKey);m!==b.JSC$33732_isOnline&&(b.JSC$33732_isOnline=m,b.JSC$33732_isOnline&&b.JSC$33732_isMonitoring?b.dispatchEvent("ytnetworkstatus-online"):b.JSC$33732_isMonitoring&&b.dispatchEvent("ytnetworkstatus-offline"));d(m);Yna(p);break;case 2:_.ue(p),m=!1,p.jumpTo(3)}})})};
Yn.prototype.sendNetworkCheckRequest=Yn.prototype.sendNetworkCheckRequest;Yn.prototype.listen=Yn.prototype.listen;Yn.prototype.enableErrorFlushing=Yn.prototype.enableErrorFlushing;Yn.prototype.getWindowStatus=Yn.prototype.getWindowStatus;Yn.prototype.monitorNetworkStatusChange=Yn.prototype.monitorNetworkStatusChange;Yn.prototype.networkStatusHint=Yn.prototype.networkStatusHint;Yn.prototype.isNetworkAvailable=Yn.prototype.isNetworkAvailable;Yn.getInstance=Awa;
_.Ve=function(a){a=void 0===a?{}:a;_.Kk.call(this);var b=this;this.lastJobTime=this.schedulerJob=0;this.offlineListenEvent="ytnetworkstatus-offline";this.onlineListenEvent="ytnetworkstatus-online";_.x("use_shared_nsm")&&(this.offlineListenEvent="networkstatus-offline",this.onlineListenEvent="networkstatus-online");this.nsmInstance=Awa();var c=_.ld("yt.networkStatusManager.instance.monitorNetworkStatusChange").bind(this.nsmInstance);c&&c(a.enablePolling);a.logOfflineErrors&&(c=_.ld("yt.networkStatusManager.instance.enableErrorFlushing").bind(this.nsmInstance))&&
c();if(c=_.ld("yt.networkStatusManager.instance.listen").bind(this.nsmInstance))a.rateLimit?(this.rateLimit=a.rateLimit,c(this.onlineListenEvent,function(){Bwa(b,"publicytnetworkstatus-online")}),c(this.offlineListenEvent,function(){Bwa(b,"publicytnetworkstatus-offline")})):(c(this.onlineListenEvent,function(){b.dispatchEvent("publicytnetworkstatus-online")}),c(this.offlineListenEvent,function(){b.dispatchEvent("publicytnetworkstatus-offline")}))};
_.q(_.Ve,_.Kk);_.Ve.prototype.isNetworkAvailable=function(){var a=_.ld("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.nsmInstance)():!0};
_.Ve.prototype.networkStatusHint=function(a){var b=_.ld("yt.networkStatusManager.instance.networkStatusHint").bind(this.nsmInstance);b&&b(a)};
_.Ve.prototype.sendNetworkCheckRequest=function(a){var b=this,c;return _.y(function(d){c=_.ld("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.nsmInstance);return _.x("skip_network_check_if_cfr")&&We().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var h;b.networkStatusHint((null==(h=window.navigator)?void 0:h.onLine)||!0);e(b.isNetworkAvailable())})):c?d.return(c(a)):d.return(!0)})};
var Bwa=function(a,b){a.rateLimit?a.lastJobTime?(_.xe.cancelJob(a.schedulerJob),a.schedulerJob=_.xe.addLowPriorityJob(function(){a.lastPublicSignalSent!==b&&(a.dispatchEvent(b),a.lastPublicSignalSent=b,a.lastJobTime=(0,_.Yd)())},a.rateLimit-((0,_.Yd)()-a.lastJobTime))):(a.dispatchEvent(b),a.lastPublicSignalSent=b,a.lastJobTime=(0,_.Yd)()):a.dispatchEvent(b)};
var iha,Zn=function(){Tn.call(this,{logsStore:{cleanLogsStore:_.Uga,deleteRequest:Re,getMostRecentByStatus:_.Sga,markAsQueued:Tga,resetRequest:_.Qe,set:Rga},networkManager:jha(),handleError:_.jd,handleWarning:_.md,sendFn:hha,now:_.Yd,writeError:eha,jobManager:_.Ci(),onlineEvent:"publicytnetworkstatus-online",offlineEvent:"publicytnetworkstatus-offline",enableCleaning:!0,cleaningRate:.1,potentialEsfErrorLimit:_.hd("potential_esf_error_limit",10),getBooleanFlag:_.x,disableYtIdbTransactions:!(_.fe()&&
_.kha())});this.initializationPromise=new _.dk;_.x("networkless_immediately_drop_all_requests")&&_.Vga();_.Ega("LogsDatabaseV2")};
_.q(Zn,Tn);_.$n=function(){var a=_.ld("yt.networklessRequestController.instance");a||(a=new Zn,_.Fe("yt.networklessRequestController.instance",a),_.x("networkless_logging")&&_.Ge().then(function(b){a.databaseToken=b;twa(a);a.initializationPromise.resolve();a.enableCleaning&&Math.random()<=a.cleaningRate&&a.databaseToken&&_.Yga(a.databaseToken);_.x("networkless_immediately_drop_sw_health_store")&&Cwa(a)}));
return a};
Zn.prototype.writeThenSend=function(a,b){b||(b={});_.fe()||(this.initialized=!1);Tn.prototype.writeThenSend.call(this,a,b)};
Zn.prototype.sendThenWrite=function(a,b,c){b||(b={});_.fe()||(this.initialized=!1);Tn.prototype.sendThenWrite.call(this,a,b,c)};
Zn.prototype.sendAndWrite=function(a,b){b||(b={});_.fe()||(this.initialized=!1);Tn.prototype.sendAndWrite.call(this,a,b)};
Zn.prototype.awaitInitialization=function(){return this.initializationPromise.promise};
var Cwa=function(a){var b;_.y(function(c){if(!a.databaseToken)throw b=_.le("clearSWHealthLogsDb"),b;return c.return(_.Zga(a.databaseToken).catch(function(d){a.handleError(d)}))})};
var $e,sha,tha;_.df=!1;$e=0;sha=0;_.cf=_.g.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:_.df,potentialEsfErrorCounter:sha};_.Fe("ytNetworklessLoggingInitializationOptions",_.cf);
_.Jf=function(a){var b=this;this.config_=null;a?this.config_=a:Jfa()&&(this.config_=_.Nd());_.Jn(_.xe,function(){bga(b)},5E3)};
_.Jf.prototype.isReady=function(){!this.config_&&Jfa()&&(this.config_=_.Nd());return!!this.config_};
var aga=function(a,b,c,d){!_.w("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&_.md(new _.ge("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady()){var e=new _.ge("innertube xhrclient not ready",b,c,d);_.jd(e);throw e;}var h={headers:d.headers||{},method:"POST",postParams:c,postBody:d.postBody,postBodyFormat:d.postBodyFormat||"JSON",onTimeout:function(){d.onTimeout()},
onFetchTimeout:d.onTimeout,onSuccess:function(E,J){if(d.onSuccess)d.onSuccess(J)},
onFetchSuccess:function(E){if(d.onSuccess)d.onSuccess(E)},
onError:function(E,J){if(d.onError)d.onError(J)},
onFetchError:function(E){if(d.onError)d.onError(E)},
timeout:d.timeout,withCredentials:!0};h.headers["Content-Type"]||(h.headers["Content-Type"]="application/json");var l="";(e=a.config_.innertubeHostOverride)&&(l=e);var m=a.config_.innertubeUseThirdPartyAuth||!1,p=_.Wfa(m,l,d);Object.assign(h.headers,p);(e=h.headers.Authorization)&&!l&&(h.headers["x-origin"]=window.location.origin);var r="/youtubei/"+a.config_.innertubeApiVersion+"/"+b,v={alt:"json"},z=a.config_.innertubeOmitApiKeyWhenAuthHeaderIsPresent&&e;z=z&&e.startsWith("Bearer");z||(v.key=a.config_.innertubeApiKey);
var A=_.td(l+r,v),D=function(E){E=void 0===E?!1:E;var J;if(d.retry&&"www.youtube-nocookie.com"!=l&&(E||_.x("skip_ls_gel_retry")||"application/json"!==h.headers["Content-Type"]||(J=Zfa(b,c,p,m)),J)){var R=h.onSuccess,da=h.onFetchSuccess;h.onSuccess=function(sa,Ca){$fa(J);R(sa,Ca)};
c.onFetchSuccess=function(sa,Ca){$fa(J);da(sa,Ca)}}try{E&&d.retry&&!d.networklessOptions.bypassNetworkless?(h.method="POST",d.networklessOptions.writeThenSend?_.x("use_new_nwl_wts")?_.$n().writeThenSend(A,h):mha(A,h):_.x("use_new_nwl_saw")?_.$n().sendAndWrite(A,h):nha(A,h)):(h.method="POST",h.postParams||(h.postParams={}),_.Gd(A,h))}catch(sa){if("InvalidAccessError"==sa.name)J&&($fa(J),J=0),_.md(Error("Fb"));
else throw sa;}J&&_.Jn(_.xe,function(){bga(a)},5E3)};
_.x("use_new_nwl")&&_.$n().initialized||!_.x("use_new_nwl")&&_.Ye()?_.De().then(function(E){D(E)}):D(!1)};
var cia=function(a){_.G.call(this,a)};
_.q(cia,_.G);
var Uha={appSettingsCaptured:!0,visualElementAttached:!0,visualElementGestured:!0,visualElementHidden:!0,visualElementShown:!0,flowEvent:!0,visualElementStateChanged:!0,playbackAssociated:!0,youThere:!0,accountStateChangeSignedIn:!0,accountStateChangeSignedOut:!0},Tha={latencyActionBaselined:!0,latencyActionInfo:!0,latencyActionTicked:!0,bedrockRepetitiveActionTimed:!0,adsClientStateChange:!0,streamzIncremented:!0,mdxDialAdditionalDataUpdateEvent:!0,tvhtml5WatchKeyEvent:!0,tvhtml5VideoSeek:!0,tokenRefreshEvent:!0,
adNotify:!0,adNotifyFilled:!0,tvhtml5LaunchUrlComponentChanged:!0,bedrockResourceConsumptionSnapshot:!0,deviceStartupMetrics:!0,mdxSignIn:!0,tvhtml5KeyboardLogging:!0,tvhtml5StartupSoundEvent:!0,tvhtml5LiveChatStatus:!0,tvhtml5DeviceStorageStatus:!0,tvhtml5LocalStorage:!0,directSignInEvent:!0,finalPayload:!0,tvhtml5SearchCompleted:!0,tvhtml5KeyboardPerformance:!0,adNotifyFailure:!0,latencyActionSpan:!0,tvhtml5AccountDialogOpened:!0,tvhtml5ApiTest:!0};
var Dwa;Dwa=0;_.Ewa=_.Fj?"webkit":_.Ej?"moz":_.Cj?"ms":_.fpa?"o":"";_.Fe("ytDomDomGetNextId",_.ld("ytDomDomGetNextId")||function(){return++Dwa});
var Fwa={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1},ff=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;try{if(a=
a||window.event){this.event=a;for(var b in a)b in Fwa||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget;if(d)try{d=d.nodeName?d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;
this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pageX_=a.pageX;this.pageY_=a.pageY}}catch(e){}},Gwa=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;
a.pageX_=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.pageY_=a.clientY+b}};
ff.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
ff.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
ff.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};
var ef=_.g.ytEventsEventsListeners||{},wha;_.Fe("ytEventsEventsListeners",ef);var vha=_.g.ytEventsEventsCounter||{count:0};_.Fe("ytEventsEventsCounter",vha);wha=_.fj(function(){var a=!1;try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});
_.ao=function(a,b,c){var d=void 0===d?{}:d;var e;return e=_.jf(a,b,function(){_.kf(e);c.apply(a,arguments)},d)};
_.bo=window.ytcsi&&window.ytcsi.now?window.ytcsi.now:window.performance&&window.performance.timing&&window.performance.now&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};
var nf=function(a){this.callback_=a;this.position_=null;this.previousTime_=0;this.previousPosition_=null;this.previousVelocity_=0;this.cycles_=[];for(a=0;4>a;a++)this.cycles_.push(0);this.index_=0;this.mouseListenerKey_=_.jf(window,"mousemove",(0,_.$i)(this.onMouseMove_,this));this.timerId_=_.Cd((0,_.$i)(this.checkPosition_,this),25)};
_.cj(nf,_.uk);nf.prototype.onMouseMove_=function(a){void 0===a.pageX_&&Gwa(a);var b=a.pageX_;void 0===a.pageY_&&Gwa(a);this.position_=new _.fk(b,a.pageY_)};
nf.prototype.checkPosition_=function(){if(this.position_){var a=_.bo();if(0!=this.previousTime_){var b=this.previousPosition_,c=this.position_,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.previousTime_);this.cycles_[this.index_]=.5<Math.abs((d-this.previousVelocity_)/this.previousVelocity_)?1:0;for(c=b=0;4>c;c++)b+=this.cycles_[c]||0;3<=b&&this.callback_();this.previousVelocity_=d}this.previousTime_=a;this.previousPosition_=this.position_;this.index_=(this.index_+1)%4}};
nf.prototype.disposeInternal=function(){window.clearInterval(this.timerId_);_.kf(this.mouseListenerKey_)};
var yha={};
var Sja=function(a){_.G.call(this,a)};
_.q(Sja,_.G);
var nja=function(a){_.G.call(this,a)};
_.q(nja,_.G);
var Jja=function(a){_.G.call(this,a)};
_.q(Jja,_.G);var Kja=function(a,b){_.eb(a,1,b)};
Jja.prototype.setCsn=function(a){_.n(this,2,a)};
var Lja=function(a){_.G.call(this,a)};
_.q(Lja,_.G);var Mja=function(a,b){_.eb(a,1,b)};
var Qja=function(a){_.G.call(this,a,-1,Hwa)};
_.q(Qja,_.G);Qja.prototype.setCsn=function(a){_.n(this,1,a)};
var Rja=function(a,b){_.eb(a,2,b)},Hwa=[3];
var Vja=function(a){_.G.call(this,a)};
_.q(Vja,_.G);Vja.prototype.setCsn=function(a){_.n(this,1,a)};
_.tg=function(a){_.G.call(this,a)};
_.q(_.tg,_.G);_.tg.prototype.setCsn=function(a){_.n(this,1,a)};
var Wja=function(a){_.G.call(this,a)};
_.q(Wja,_.G);Wja.prototype.setCsn=function(a){_.n(this,1,a)};
var Iwa=function(a){_.G.call(this,a)};
_.q(Iwa,_.G);
var Jwa;_.Th=function(a){_.G.call(this,a,-1,Jwa)};
_.q(_.Th,_.G);_.Pla=function(a,b){return _.n(a,1,b)};
_.Th.prototype.getPlayerType=function(){return _.Tj(this,7,0)};
_.Th.prototype.setVideoId=function(a){return _.n(this,19,a)};
_.Qla=function(a,b){return _.n(a,25,b)};
Jwa=[83,68];
var Kwa=function(a){_.G.call(this,a)};
_.q(Kwa,_.G);
var bia=function(a){_.G.call(this,a)};
_.q(bia,_.G);
_.Df=function(a){_.G.call(this,a,431)};
_.q(_.Df,_.G);_.Df.prototype.getContext=function(){return _.Va(this,bia,33)};
_.Pf=[23,24,11,6,7,5,2,3,20,21,28,32,37,229,241,45,59,225,288,72,73,78,208,156,202,215,74,76,79,80,111,85,91,97,100,102,105,119,126,127,136,146,157,158,159,163,164,168,176,222,383,177,178,179,411,184,188,189,190,191,193,194,195,196,198,199,200,201,203,204,205,206,258,259,260,261,209,226,227,232,233,234,240,247,248,251,254,255,270,278,291,293,300,304,308,309,310,311,313,314,319,321,323,324,328,330,331,332,337,338,340,344,348,350,351,352,353,354,355,356,357,358,361,363,364,368,369,370,373,374,375,378,
380,381,388,389,403,412,429,413,414,415,416,417,418,430,423,424,425,426,427,117];
var Rha=function(a){_.G.call(this,a)};
_.q(Rha,_.G);
var xf=function(a){_.G.call(this,a)};
_.q(xf,_.G);xf.prototype.setVideoId=function(a){return _.yf(this,1,zf,a)};
xf.prototype.getPlaylistId=function(){return _.Ef(this,2,zf)};
var zf=[1,2];
var Cf=function(a){_.G.call(this,a,-1,Lwa)};
_.q(Cf,_.G);Cf.prototype.getContext=function(){return _.Va(this,Od,1)};
Cf.prototype.getTier=function(){return _.Tj(this,7,0)};
var Lwa=[3];
var Mwa;Mwa=_.g.ytPubsubPubsubInstance||new _.fm;_.co=_.g.ytPubsubPubsubSubscribedKeys||{};_.eo=_.g.ytPubsubPubsubTopicToKeys||{};_.fo=_.g.ytPubsubPubsubIsSynchronous||{};_.fm.prototype.subscribe=_.fm.prototype.subscribe;_.fm.prototype.unsubscribeByKey=_.fm.prototype.unsubscribeByKey;_.fm.prototype.publish=_.fm.prototype.JSC$32713_publish;_.fm.prototype.clear=_.fm.prototype.clear;_.Fe("ytPubsubPubsubInstance",Mwa);_.Fe("ytPubsubPubsubTopicToKeys",_.eo);_.Fe("ytPubsubPubsubIsSynchronous",_.fo);
_.Fe("ytPubsubPubsubSubscribedKeys",_.co);
var Iha=_.hd("initial_gel_batch_timeout",2E3),Sha=Math.pow(2,16)-1,sf=void 0,Nwa=function(){this.lastDebounceQueueFromLogTimeMs=this.queueMaxTimer=this.queueTimer=0},uf=new Nwa,tf=new Nwa,Hha=!0,qf=_.g.ytLoggingTransportGELQueue_||new Map;
_.Fe("ytLoggingTransportGELQueue_",qf);var rf=_.g.ytLoggingTransportGELProtoQueue_||new Map;_.Fe("ytLoggingTransportGELProtoQueue_",rf);var Bf=_.g.ytLoggingTransportTokensToCttTargetIds_||{};_.Fe("ytLoggingTransportTokensToCttTargetIds_",Bf);var Af=_.g.ytLoggingTransportTokensToJspbCttTargetIds_||{};_.Fe("ytLoggingTransportTokensToJspbCttTargetIds_",Af);
var Gf=_.g.ytLoggingGelSequenceIdObj_||{};_.Fe("ytLoggingGelSequenceIdObj_",Gf);
var sia=[{messageFn:function(a){return"Cannot read property '"+a.key+"'"},
patternsForType:{Error:[{regexp:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}],TypeError:[{regexp:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{regexp:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{regexp:/\uc815\uc758\ub418\uc9c0 \uc54a\uc74c \ub610\ub294 (null|undefined) \ucc38\uc870\uc778 '([^']+)' \uc18d\uc131\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4./,
groups:["value","key"]},{regexp:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/,groups:["key"]},{regexp:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]},{regexp:/(null) is not an object \(evaluating '(?:([^.]+)\.)?([^']+)'\)/,groups:["value","base","key"]}]}},{messageFn:function(a){return"Cannot call '"+a.key+"'"},
patternsForType:{TypeError:[{regexp:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{regexp:/([^ ]+) called on (null or undefined)/,groups:["key","value"]},{regexp:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{regexp:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{regexp:/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f '([^']+)' \u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093/,
groups:["key"]},{regexp:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./,groups:["key"]}]}},{messageFn:function(a){return a.key+" is not defined"},
patternsForType:{ReferenceError:[{regexp:/(.*) is not defined/,groups:["key"]},{regexp:/Can't find variable: (.*)/,groups:["key"]}]}}];
var Owa={messageWeights:[],callbackWeights:[{callback:Wha,weight:500}]};
var Pwa=function(){this.callbackWeights=[];this.messageWeights=[]},Qwa,ria=function(){if(!Qwa){var a=Qwa=new Pwa;
a.messageWeights.length=0;a.callbackWeights.length=0;uma(a,Owa)}return Qwa},uma=function(a,b){b.messageWeights&&a.messageWeights.push.apply(a.messageWeights,b.messageWeights);
b.callbackWeights&&a.callbackWeights.push.apply(a.callbackWeights,b.callbackWeights)};
var uia=new _.fm;
var dia=_.g.ytLoggingGelSequenceIdObj_||{};_.Fe("ytLoggingGelSequenceIdObj_",dia);
var tia,oia,Aia,via,Gia;tia=new Set;oia=0;Aia=0;via=0;_.pia=[];Gia=["PhantomJS","Googlebot","TO STOP THIS SECURITY SCAN go/scan"];
var Rwa=function(a){var b=_.Yea(a);return function(c,d,e,h){return h?b(h,d,e,c):ad}}({reportHandler:function(a,b){if(a)try{throw Error(b);
}catch(c){_.Qf(c)}},
safeTypesBridge:function(a,b,c){var d=Gva[b];return d.isUnwrappable(a)&&(d=d.unwrap(a,c),d!==c)?d:(0,Hva[b])(String(Nea(a)),c)},
allowedIdentifierPrefixes:[""]});if(void 0!==_.oc)throw Error("Gb");_.oc=Rwa;if(_.oc!==Rwa)throw Error("Hb");
/*

 Copyright Google Inc. All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
*/
Wf("Injectable",[]);
var eja=Wf("Inject",[["token",void 0]]),gja=Wf("Optional",[]);Wf("Injectable",[]);var hja=Wf("Self",[]),ija=Wf("SkipSelf",[]);Wf("Host",[]);
var Swa;Swa={};_.Twa=function(){};
_.Twa.prototype.get=function(){throw Error("Jb");};
var bja=Function;
var Uwa=/^function\s+\S+\(\)\s*{\s*("use strict";)?\s*(return\s+)?\S+\.apply\(this,\s*arguments\)/,Vwa=function(){this._reflect=window.Reflect};
_.f=Vwa.prototype;_.f.factory=function(a){return function(){return new (Function.prototype.bind.apply(a,[null].concat(_.sc(_.Ob.apply(0,arguments)))))}};
_.f._zipTypesAndAnnotations=function(a,b){var c="undefined"===typeof a?Array(b.length):Array(a.length);for(var d=0;d<c.length;d++)c[d]="undefined"===typeof a?[]:a[d]!=Object?[a[d]]:[],b&&Iia(b[d])&&(c[d]=c[d].concat(b[d]));return c};
_.f._ownParameters=function(a,b){if(Uwa.exec(a.toString()))return null;if(a.parameters&&a.parameters!==b.parameters)return a.parameters;var c=a.ctorParameters;return c&&c!==b.ctorParameters?(b="function"===typeof c?c():c,a=b.map(function(d){return d&&d.type}),b=b.map(function(d){return d&&Kia(d.decorators)}),this._zipTypesAndAnnotations(a,b)):Iia(this._reflect)&&Iia(this._reflect.getOwnMetadata)&&(b=this._reflect.getOwnMetadata("parameters",a),(c=this._reflect.getOwnMetadata("design:paramtypes",a))||
b)?this._zipTypesAndAnnotations(c,b):Array(a.length).fill(void 0)};
_.f.parameters=function(a){if(!a.prototype)return[];var b=Object.getPrototypeOf(a.prototype).constructor;(a=this._ownParameters(a,b))||b===Object||(a=this.parameters(b));return a||[]};
_.f._ownAnnotations=function(a,b){if(a.annotations&&a.annotations!==b.annotations)return a=a.annotations,"function"===typeof a&&a.annotations&&(a=a.annotations),a;if(a.decorators&&a.decorators!==b.decorators)return Kia(a.decorators);if(this._reflect&&this._reflect.getOwnMetadata)return this._reflect.getOwnMetadata("annotations",a)};
_.f.annotations=function(a){var b=Object.getPrototypeOf(a.prototype).constructor;a=this._ownAnnotations(a,b)||[];return(b!==Object?this.annotations(b):[]).concat(a)};
_.f._ownPropMetadata=function(a,b){if(a.propMetadata&&a.propMetadata!==b.propMetadata)return a=a.propMetadata,"function"===typeof a&&a.propMetadata&&(a=a.propMetadata),a;if(a.propDecorators&&a.propDecorators!==b.propDecorators){var c=a.propDecorators,d={};Object.keys(c).forEach(function(e){d[e]=Kia(c[e])});
return d}if(this._reflect&&this._reflect.getOwnMetadata)return this._reflect.getOwnMetadata("propMetadata",a)};
_.f.propMetadata=function(a){var b=Object.getPrototypeOf(a.prototype).constructor,c={};if(b!==Object){var d=this.propMetadata(b);Object.keys(d).forEach(function(h){c[h]=d[h]})}var e=this._ownPropMetadata(a,b);
e&&Object.keys(e).forEach(function(h){var l=[];c.hasOwnProperty(h)&&l.push.apply(l,_.sc(c[h]));l.push.apply(l,_.sc(e[h]));c[h]=l});
return c};
_.f.method=function(a){return new Function("o","args","if (!o."+a+") throw new Error('\""+a+"\" is undefined');\n        return o."+a+".apply(o, args);")};
var Wwa=function(){};
var Xwa=function(a){this.reflectionCapabilities=a};
_.q(Xwa,Wwa);_.f=Xwa.prototype;_.f.factory=function(a){return this.reflectionCapabilities.factory(a)};
_.f.parameters=function(a){return this.reflectionCapabilities.parameters(a)};
_.f.annotations=function(a){return this.reflectionCapabilities.annotations(a)};
_.f.propMetadata=function(a){return this.reflectionCapabilities.propMetadata(a)};
_.f.method=function(a){return this.reflectionCapabilities.method(a)};
var Tia=new Xwa(new Vwa);
var go=function(a,b){this.token=a;this.id=b;if(void 0===a||null===a)throw Error("Ob");};
_.t.Object.defineProperties(go.prototype,{displayName:{configurable:!0,enumerable:!0,get:function(){return Xf(this.token)}}});
_.t.Object.defineProperties(go,{JSC$34619_numberOfKeys:{configurable:!0,enumerable:!0,get:function(){return Zf.JSC$34623_numberOfKeys}}});
var Ywa=function(){this._allKeys=new Map};
Ywa.prototype.get=function(a){if(a instanceof go)return a;if(this._allKeys.has(a))return this._allKeys.get(a);var b=new go(a,go.JSC$34619_numberOfKeys);this._allKeys.set(a,b);return b};
_.t.Object.defineProperties(Ywa.prototype,{JSC$34623_numberOfKeys:{configurable:!0,enumerable:!0,get:function(){return this._allKeys.size}}});
var Zf=new Ywa;
var Via=function(a,b,c){this.key=a;this.optional=b;this.visibility=c},Xia=[],$ia=function(a,b,c){this.key=a;
this.resolvedFactories=b;this.multiProvider=c},Yia=function(a,b){this.factory=a;
this.dependencies=b};
var ho={},io=function(a,b){this.constructedKeyIds={};this.providers=[];this.keyIds=[];this.objs=[];this.parent=void 0===b?null:b;a=_.k(a);for(b=a.next();!b.done;b=a.next())this.addProvider(b.value)};
_.f=io.prototype;_.f.addProvider=function(a){this.providers.push(a);this.keyIds.push(a.key.id);this.objs.push(ho)};
_.f.get=function(a,b){b=void 0===b?Swa:b;return this._getByKey(Zf.get(Yf(a)),null,b)};
_.f._new=function(a){if(this.constructedKeyIds[a.key.id])throw Qia(this,a.key);this.constructedKeyIds[a.key.id]=!0;return this._instantiateProvider(a)};
_.f._instantiateProvider=function(a){if(a.multiProvider){for(var b=Array(a.resolvedFactories.length),c=0;c<a.resolvedFactories.length;++c)b[c]=this._instantiate(a,a.resolvedFactories[c]);return b}return this._instantiate(a,a.resolvedFactories[0])};
_.f._instantiate=function(a,b){var c=this,d=b.factory;try{var e=b.dependencies.map(function(l){return c._getByReflectiveDependency(l)})}catch(l){throw l.addKey&&l.addKey(this,a.key),l;
}try{var h=d.apply(null,_.sc(e))}catch(l){throw Ria(this,l,a.key);}return h};
_.f._getByReflectiveDependency=function(a){return this._getByKey(a.key,a.visibility,a.optional?null:Swa)};
_.f._getByKey=function(a,b,c){return a===Zwa?this:b instanceof hja?this._getByKeySelf(a,c):this._getByKeyDefault(a,c,b)};
_.f._getObjByKeyId=function(a){for(var b=0;b<this.keyIds.length;b++)if(this.keyIds[b]===a)return this.objs[b]===ho&&(this.objs[b]=this._new(this.providers[b])),this.objs[b];return ho};
_.f._throwOrNull=function(a,b){if(b!==Swa)return b;throw Pia(this,a);};
_.f._getByKeySelf=function(a,b){var c=this._getObjByKeyId(a.id);return c!==ho?c:this._throwOrNull(a,b)};
_.f._getByKeyDefault=function(a,b,c){for(var d=c=c instanceof ija?this.parent:this;c instanceof io;){var e=c._getObjByKeyId(a.id);if(e!==ho)return e;c=c.parent}e=void 0;if(null!==c)try{var h=c.get(a.token,b);if(h!==ho)return h}catch(l){e=l}if(!(d instanceof io&&kja(a.token))){if(e)throw e;return this._throwOrNull(a,b)}for(h=d;h.parent instanceof io;)h=h.parent;h.addProvider(aja({provide:a.token,useClass:a.token}));return h.get(a.token,b)};
_.f.toString=function(){return this.displayName};
_.t.Object.defineProperties(io.prototype,{displayName:{configurable:!0,enumerable:!0,get:function(){return"ReflectiveInjector(providers: ["+jja(this,function(a){return' "'+a.key.displayName+'" '}).join(", ")+"])"}}});
var Zwa=Zf.get(Yf(_.Twa));
var jo=function(a){this.delegate=a},ko=function(){jo.apply(this,arguments)};
_.q(ko,jo);
var $wa=function(){ko.apply(this,arguments)};
_.q($wa,ko);$wa.prototype.getAssociations=function(){return[]};
var axa=function(){ko.apply(this,arguments)};
_.q(axa,ko);axa.prototype.getAssociations=function(){var a=[];this.delegate.alternateChannel&&a.push(this.delegate.alternateChannel);this.delegate.alternateChannelList&&a.push.apply(a,_.sc(this.delegate.alternateChannelList));this.delegate.oneofChannelEntity&&a.push(this.delegate.oneofChannelEntity);return[].concat(_.sc(new Set(a)))};
var bxa=function(){ko.apply(this,arguments)};
_.q(bxa,ko);bxa.prototype.getAssociations=function(){var a=[];this.delegate.entryCollection&&a.push(this.delegate.entryCollection);return[].concat(_.sc(new Set(a)))};
var cxa=function(){ko.apply(this,arguments)};
_.q(cxa,ko);cxa.prototype.getAssociations=function(){var a=[];this.delegate.parentPlaylist&&a.push(this.delegate.parentPlaylist);if(this.delegate.entries)for(var b=_.k(this.delegate.entries),c=b.next();!c.done;c=b.next())a.push.apply(a,_.sc((new dxa(c.value)).getAssociations()));return[].concat(_.sc(new Set(a)))};
var dxa=function(){jo.apply(this,arguments)};
_.q(dxa,jo);dxa.prototype.getAssociations=function(){var a=[];this.delegate.video&&a.push(this.delegate.video);return[].concat(_.sc(new Set(a)))};
var exa=function(){ko.apply(this,arguments)};
_.q(exa,ko);exa.prototype.getAssociations=function(){var a=[];this.delegate.descriptionEntity&&a.push(this.delegate.descriptionEntity);this.delegate.creators&&a.push.apply(a,_.sc(this.delegate.creators));this.delegate.theBiggestFan&&a.push(this.delegate.theBiggestFan);return[].concat(_.sc(new Set(a)))};
var fxa=function(){ko.apply(this,arguments)};
_.q(fxa,ko);fxa.prototype.getAssociations=function(){return[]};
var gxa=function(){ko.apply(this,arguments)};
_.q(gxa,ko);gxa.prototype.getAssociations=function(){return[]};
var hxa=function(){ko.apply(this,arguments)};
_.q(hxa,ko);hxa.prototype.getAssociations=function(){return[]};
var Nja={INTERACTION_LOGGING_GESTURE_TYPE_UNKNOWN:0,INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED:1,INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK:2,INTERACTION_LOGGING_GESTURE_TYPE_HOVER:4,INTERACTION_LOGGING_GESTURE_TYPE_PINCH:8,INTERACTION_LOGGING_GESTURE_TYPE_INPUT_TEXT:16,INTERACTION_LOGGING_GESTURE_TYPE_INPUT_VOICE:32,INTERACTION_LOGGING_GESTURE_TYPE_SWIPE:64,INTERACTION_LOGGING_GESTURE_TYPE_SHAKE:128,INTERACTION_LOGGING_GESTURE_TYPE_DOUBLE_CLICK:256,INTERACTION_LOGGING_GESTURE_TYPE_FORCE_TOUCH:512,
INTERACTION_LOGGING_GESTURE_TYPE_LONG_PRESS:1024,INTERACTION_LOGGING_GESTURE_TYPE_DRAG_DROP:2048,INTERACTION_LOGGING_GESTURE_TYPE_FORWARD_SWIPE:4096,INTERACTION_LOGGING_GESTURE_TYPE_BACK_SWIPE:8192,INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS:16384};
var ixa=function(){ko.apply(this,arguments)};
_.q(ixa,ko);ixa.prototype.getAssociations=function(){return[]};
var jxa=function(){ko.apply(this,arguments)};
_.q(jxa,ko);jxa.prototype.getAssociations=function(){var a=[];this.delegate.playbackData&&a.push(this.delegate.playbackData);this.delegate.localImageEntities&&a.push.apply(a,_.sc(this.delegate.localImageEntities));return[].concat(_.sc(new Set(a)))};
var kxa=function(){ko.apply(this,arguments)};
_.q(kxa,ko);kxa.prototype.getAssociations=function(){return[]};
var lxa=function(){ko.apply(this,arguments)};
_.q(lxa,ko);lxa.prototype.getAssociations=function(){var a=[];this.delegate.fakeChildren&&a.push.apply(a,_.sc(this.delegate.fakeChildren));return[].concat(_.sc(new Set(a)))};
var mxa=function(){ko.apply(this,arguments)};
_.q(mxa,ko);mxa.prototype.getAssociations=function(){var a=[];this.delegate.video&&a.push(this.delegate.video);this.delegate.playbackData&&a.push(this.delegate.playbackData);this.delegate.offlineVideoPolicy&&a.push(this.delegate.offlineVideoPolicy);return[].concat(_.sc(new Set(a)))};
var nxa=function(){ko.apply(this,arguments)};
_.q(nxa,ko);nxa.prototype.getAssociations=function(){return[]};
var oxa=function(){jo.apply(this,arguments)};
_.q(oxa,jo);oxa.prototype.getAssociations=function(){var a=[];this.delegate.playbackPosition&&a.push(this.delegate.playbackPosition);return[].concat(_.sc(new Set(a)))};
var pxa=function(){ko.apply(this,arguments)};
_.q(pxa,ko);pxa.prototype.getAssociations=function(){var a=[];this.delegate.owner&&a.push(this.delegate.owner);this.delegate.downloadState&&a.push(this.delegate.downloadState);this.delegate.userState&&a.push.apply(a,_.sc((new oxa(this.delegate.userState)).getAssociations()));return[].concat(_.sc(new Set(a)))};
var qxa=function(){ko.apply(this,arguments)};
_.q(qxa,ko);qxa.prototype.getAssociations=function(){return[]};
var rxa=function(){ko.apply(this,arguments)};
_.q(rxa,ko);rxa.prototype.getAssociations=function(){var a=[];this.delegate.channelOwner&&a.push(this.delegate.channelOwner);this.delegate.playbackPosition&&a.push(this.delegate.playbackPosition);this.delegate.localImageEntities&&a.push.apply(a,_.sc(this.delegate.localImageEntities));this.delegate.downloadStatus&&a.push(this.delegate.downloadStatus);return[].concat(_.sc(new Set(a)))};
var sxa=function(){ko.apply(this,arguments)};
_.q(sxa,ko);sxa.prototype.getAssociations=function(){return[]};
var txa=function(){ko.apply(this,arguments)};
_.q(txa,ko);txa.prototype.getAssociations=function(){return[]};
var uxa=function(){ko.apply(this,arguments)};
_.q(uxa,ko);uxa.prototype.getAssociations=function(){return[]};
var vxa=function(){ko.apply(this,arguments)};
_.q(vxa,ko);vxa.prototype.getAssociations=function(){return[]};
var wxa=function(){ko.apply(this,arguments)};
_.q(wxa,ko);wxa.prototype.getAssociations=function(){return[]};
var xxa=function(){ko.apply(this,arguments)};
_.q(xxa,ko);xxa.prototype.getAssociations=function(){return[]};
var yxa=function(){ko.apply(this,arguments)};
_.q(yxa,ko);yxa.prototype.getAssociations=function(){var a=[];this.delegate.transfer&&a.push(this.delegate.transfer);this.delegate.adsPlaybackData&&a.push.apply(a,_.sc(this.delegate.adsPlaybackData));this.delegate.drmLicense&&a.push(this.delegate.drmLicense);this.delegate.offlineVideoPolicy&&a.push(this.delegate.offlineVideoPolicy);return[].concat(_.sc(new Set(a)))};
var zxa=function(){ko.apply(this,arguments)};
_.q(zxa,ko);zxa.prototype.getAssociations=function(){var a=[];this.delegate.offlineVideoStreams&&a.push.apply(a,_.sc(this.delegate.offlineVideoStreams));this.delegate.captionTrack&&a.push.apply(a,_.sc(this.delegate.captionTrack));return[].concat(_.sc(new Set(a)))};
var Axa=function(){ko.apply(this,arguments)};
_.q(Axa,ko);Axa.prototype.getAssociations=function(){return[]};
var Bxa=function(){ko.apply(this,arguments)};
_.q(Bxa,ko);Bxa.prototype.getAssociations=function(){return[]};
var Cxa=function(){ko.apply(this,arguments)};
_.q(Cxa,ko);Cxa.prototype.getAssociations=function(){return[]};
var Dxa=function(){ko.apply(this,arguments)};
_.q(Dxa,ko);Dxa.prototype.getAssociations=function(){return[]};
var Exa,zja;Exa=function(){this.register=new Map};
zja=function(a,b,c){a=a+"_"+b;_.lo.register.has(a)?c=_.lo.register.get(a):(c=c(),_.lo.register.set(a,c));return c};
_.Fxa=function(a){a=_.k(a.register.values());for(var b=a.next();!b.done;b=a.next())_.Di(b.value,"ABORTED")};
Exa.prototype.clear=function(){_.Fxa(this);this.register.clear()};
_.lo=new Exa;
var mja=Date.now().toString();
var mo;mo=_.g.ytLoggingDocDocumentNonce_;mo||(mo=_.$f(),_.Fe("ytLoggingDocDocumentNonce_",mo));_.ag=mo;var oja=_.Jf;
var Gxa={DEFAULT:0,CHAT:1,CONVERSATIONS:2,MINIPLAYER:3,DIALOG:4,VOZ:5,MUSIC_WATCH_TABS:6,SHARE:7,PUSH_NOTIFICATIONS:8,0:"DEFAULT",1:"CHAT",2:"CONVERSATIONS",3:"MINIPLAYER",4:"DIALOG",5:"VOZ",6:"MUSIC_WATCH_TABS",7:"SHARE",8:"PUSH_NOTIFICATIONS"};
var Hxa,dg;Hxa=1;dg=function(a){this.veData=a};
_.no=function(a){return new dg({trackingParams:a})};
_.oo=function(a,b,c,d,e){var h=Hxa++;return new dg({veType:a,veCounter:h,elementIndex:c,dataElement:b,youtubeData:d,jspbYoutubeData:e})};
dg.prototype.getAsJson=function(){var a={};void 0!==this.veData.trackingParams?a.trackingParams=this.veData.trackingParams:(a.veType=this.veData.veType,void 0!==this.veData.veCounter&&(a.veCounter=this.veData.veCounter),void 0!==this.veData.elementIndex&&(a.elementIndex=this.veData.elementIndex));void 0!==this.veData.dataElement&&(a.dataElement=this.veData.dataElement.getAsJson());void 0!==this.veData.youtubeData&&(a.youtubeData=this.veData.youtubeData);return a};
dg.prototype.getAsJspb=function(){var a=new Sja;void 0!==this.veData.trackingParams?_.n(a,1,this.veData.trackingParams):(void 0!==this.veData.veType&&_.n(a,2,this.veData.veType),void 0!==this.veData.veCounter&&_.n(a,6,this.veData.veCounter),void 0!==this.veData.elementIndex&&_.n(a,3,this.veData.elementIndex));if(void 0!==this.veData.dataElement){var b=this.veData.dataElement.getAsJspb();_.eb(a,7,b)}void 0!==this.veData.youtubeData&&_.eb(a,8,this.veData.jspbYoutubeData);return a};
dg.prototype.toString=function(){return JSON.stringify(this.getAsJson())};
dg.prototype.isClientVe=function(){return!this.veData.trackingParams&&!!this.veData.veType};
_.Fe("yt_logging_screen.getRootVeType",qja);_.Fe("yt_logging_screen.getCurrentCsn",_.fg);_.Fe("yt_logging_screen.getCttAuthInfo",_.gg);_.Fe("yt_logging_screen.setCurrentScreen",_.hg);
var so=function(){this.events=new Map},Ixa=function(a){var b=[];
a=_.k(a.events.values());for(var c=a.next();!c.done;c=a.next())b.push(c.value);return b};
so.prototype.clear=function(){this.events.clear()};
so.prototype.getKey=function(a){return tja(a.dimensions).join(";")};
var Kxa=function(){this.logTransport=new Jxa;this.loggedEventRegister=new so;this.unloggedEventRegister=new so;this.eventsCount=0;this.flushInterval=3E4;this.JSC$34755_flushTimer=new _.Vk(this.flushInterval);this.JSC$34755_flushTimer.listen("tick",this.flush,!1,this)};
Kxa.prototype.flush=function(){if(this.eventsCount){var a={loggedEvents:Ixa(this.loggedEventRegister),unloggedEvents:Ixa(this.unloggedEventRegister)};if(_.x("export_player_version_to_ytconfig")){var b;(b=_.w("PLAYER_CLIENT_VERSION"))?(b=b.split("-")[0].replace(/\./g,""),b=isNaN(Number(b))?"0":b):b="";var c=_.w("PLAYER_CLIENT_VERSION");if(c){c=c.split("-");var d="";1<c.length&&(d=c[c.length-1]);c=lja("canary_experiment"===d?"canary":"canary_control"===d?"control":"none")}else c="CLIENT_CANARY_STATE_UNKNOWN";
a.dimensions={playerClientVersion:b,playerCanaryState:c}}this.logTransport.flush(a);this.loggedEventRegister.clear();this.unloggedEventRegister.clear();this.eventsCount=0;this.JSC$34755_flushTimer.enabled&&this.JSC$34755_flushTimer.stop()}};
_.Lxa=function(a){null==_.to&&(_.to=new Kxa);var b=_.to;var c=b.loggedEventRegister;a.dimensions=a.dimensions||{};a.dimensions.csn=_.fg()||"";var d=c.getKey(a);if(null!=a.records)if(c.events.has(d)){var e;null==(e=c.events.get(d).records)||e.push.apply(e,_.sc(a.records))}else c.events.set(d,a);b.JSC$34755_flushTimer.enabled||b.JSC$34755_flushTimer.start();b.eventsCount++;100<=b.eventsCount&&b.flush()};
var Jxa=function(){};
Jxa.prototype.flush=function(a,b){_.x("enable_client_sli_logging")&&_.Kf("sliEventBatch",a,{sendIsolatedPayload:!!b})};
_.Aja=function(a,b,c,d){this.name=a;this.sliId=b;this.timeoutMs=c;this.statusOnTimeout=d;this.logSliId="";this.timeoutHandle=-1;this.ongoing=!1;this.dimensions={}};
_.Aja.prototype.getId=function(){return this.sliId};
_.uo=function(a,b){b=void 0===b?{}:b;a.ongoing||(a.ongoing=!0,a.dimensions=b,a.logSliId=Fva(),_.Lxa({dimensions:a.dimensions,records:[{name:a.name,state:"SLI_STATE_START",sliId:a.logSliId}]}),0<a.timeoutMs&&(a.timeoutHandle=setTimeout(function(){_.Di(a,a.statusOnTimeout)},a.timeoutMs)))};
_.Di=function(a,b){a.ongoing&&(0<a.timeoutMs&&clearTimeout(a.timeoutHandle),a.ongoing=!1,b={dimensions:a.dimensions,records:[{name:a.name,status:_.yja(b),state:"SLI_STATE_END",sliId:a.logSliId}]},_.lo.register.delete(a.name+"_"+a.sliId),_.Lxa(b))};
_.Mxa=new function(){this.name="SLI_NAME_YOUTUBE_WEB_SESSION_PARTITION"};
var Hja=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);
var Nxa,Oxa,Pxa,Qxa,Rxa,Sxa,Txa,Uxa,Vxa,Wxa,Xxa,Yxa,Zxa,$xa,aya,bya,cya,dya,eya,fya,gya,hya,iya,jya,kya,lya,mya,nya,oya,pya,qya,rya,sya,tya,uya,vya,wya,xya,yya,zya,Aya,Bya,Cya,Dya,Eya,Fya,Gya,Hya,Iya,Jya,Kya,Lya,Mya,Nya,Oya,Pya,Qya,Rya,Sya,Tya,Uya,Vya,Wya,Xya,Yya,Zya,$ya,aza,bza,cza,dza,eza,fza,gza,hza,iza,jza,kza,lza,mza,oza,pza,qza,rza,sza,tza,uza,vza,wza,xza,yza,zza,Aza,Bza;Nxa=["account/accounts_list"];Oxa=["acknowledge_channel_tou_strike"];Pxa=["notification/add_upcoming_event_reminder"];
Qxa=["att/get"];Rxa=["browse","music/browse","unplugged/browse"];Sxa=["channel/claim_legacy_youtube_channel"];Txa=["history/clear_search_history"];Uxa=["history/clear_watch_history"];Vxa=["comment/perform_comment_action"];Wxa=["comment/get_comment_replies"];Xxa=["ypc/commerce_action"];Yxa=["backstage/create_post"];Zxa=["channel/create_channel"];$xa=["comment/create_comment_reply"];aya=["comment/create_comment"];bya=["live_chat/create_poll"];cya=["playlist/create"];dya=["decorate_message"];eya=["live_chat/delete_message"];
fya=["playlist/delete"];gya=["like/dislike"];hya=["dismissal/dismiss"];iya=["flag/flag"];jya=["flow"];kya=["account/account_menu"];lya=["playlist/get_add_to_playlist"];mya=["channel/get_channel_creation_form"];nya=["offline/get_download_action"];oya=["kids/get_kids_blocklist_picker"];pya=["live_chat/get_item_context_menu"];qya=["live_chat/get_live_chat_message_buy_flow"];rya=["live_chat/get_live_chat_replay"];sya=["live_chat/get_live_chat"];tya=["live_chat/get_live_chat_super_sticker_buy_flow"];
uya=["notification/get_notification_menu"];vya=["playlist/get_settings_editor"];wya=["backstage/get_post_video_preview"];xya=["share/get_share_panel"];yya=["get_survey"];zya=["notification/get_unseen_count"];Aya=["get_user_mention_suggestions"];Bya=["guide"];Cya=["feedback"];Dya=["kids/update_blacklist"];Eya=["like/like"];Fya=["live_chat/live_chat_action"];Gya=["live_chat/live_chat_qna_action"];Hya=["live_chat/manage_user"];Iya=["live_chat/moderate"];Jya=["notification/modify_channel_preference"];
Kya=["notification/opt_out"];Lya=["get_panel"];Mya=["player"];Nya=["browse/edit_playlist"];Oya=["notification/record_interactions"];Pya=["reel/reel_item_watch"];Qya=["reel/reel_watch_sequence"];Rya=["like/removelike"];Sya=["notification/remove_upcoming_event_reminder"];Tya=["flag/get_form"];Uya=["navigation/resolve_url"];Vya=["channel/reveal_business_email"];Wya=["in_video/search"];Xya=["search","sfv/search","unplugged/search"];Yya=["live_chat/send_message"];Zya=["live_chat/send_live_chat_vote"];
$ya=["account/set_setting"];aza=["subscription/subscribe"];bza=["get_transcript"];cza=["resolve_location","unplugged/resolve_location"];dza=["subscription/unsubscribe"];eza=["backstage/update_post"];fza=["channel_edit/update_channel_page_settings"];gza=["comment/update_comment_reply"];hza=["comment/update_comment"];iza=["comment/update_comments_settings"];jza=["pdg/update_enablement"];kza=["updated_metadata"];lza=["channel_edit/validate_channel_handle"];mza=["verify_age"];_.nza=["next","unplugged/watch_next"];
oza=["whitelist/edit"];pza=["ypc/cancel_recurrence"];qza=["ypc/complete_transaction"];rza=["ypc/get_cart"];sza=["ypc/get_cross_device_offline_enabled_devices"];tza=["ypc/get_fix_instrument_params"];uza=["ypc/get_offers"];vza=["ypc/get_payment_instruments_params"];wza=["ypc/handle_transaction"];xza=["ypc/log_payment_server_analytics"];yza=["ypc/offline_video_on_device"];zza=["ypc/pause_subscription"];Aza=["ypc/redeem_code"];Bza=["ypc/resume_subscription"];
var wra=function(){};
wra.prototype.flush=function(a,b){a=void 0===a?[]:a;b=void 0===b?!1:b;if(_.x("enable_client_streamz_web")){a=_.k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=new psa;d=_.n(d,1,c.JSC$32313_metricName_);for(var e=c,h=[],l=0;l<e.fields_.length;l++)h.push(e.fields_[l].field_name);d=_.Uj(d,3,h);e=[];h=[];l=_.k(c.cellMap_.keys());for(var m=l.next();!m.done;m=l.next())h.push(m.value.split(","));for(l=0;l<h.length;l++){m=h[l];var p=c.cellType_;for(var r=c.getCells(m)||[],v=[],z=0;z<r.length;z++){var A=
r[z];A=A&&A.cellValue_;var D=new wsa;switch(p){case 3:_.yf(D,1,nl,Number(A));break;case 2:_.yf(D,2,nl,Number(A))}v.push(D)}p=v;for(r=0;r<p.length;r++){v=p[r];z=new usa;v=_.eb(z,2,v);z=m;A=[];D=c;for(var E=[],J=0;J<D.fields_.length;J++)E.push(D.fields_[J].field_type);D=E;for(E=0;E<D.length;E++){J=D[E];var R=z[E],da=new vsa;switch(J){case 3:_.yf(da,1,ml,String(R));break;case 2:_.yf(da,2,ml,Number(R));break;case 1:_.yf(da,3,ml,"true"==R)}A.push(da)}_.db(v,1,A);e.push(v)}}_.db(d,4,e);c={serializedIncrementBatch:_.Ia(_.Xpa(d,
ysa))};_.Kf("streamzIncremented",c,{sendIsolatedPayload:b})}}};
var Oja=function(a){Vn.call(this,1,arguments);this.csn=a};
_.q(Oja,Vn);var Lga=new Ie("screen-created",Oja),wg=[],Ija=Yja,Zja=0;
var Cza={CHANNEL_PAGE_VIEW:3611,ABANDONED_WATCH_NOTIFICATION:27686,ACCESSIBILITY_SETTINGS_SCREEN:85013,ACCOUNT_PAGE:23462,ADD_BY_EMAIL_PAGE:42016,ADD_BY_LINK_PAGE:62407,ADD_CONTACTS_PAGE:26926,ADDME_SHARE_PANEL_PAGE:43781,ADMIN_REVIEW_PAGE:51236,ADMIN_REVUE_PAGE:79148,ADMIN_TOOLBOX_PAGE:50160,ADMIN_YURT_PAGE:77504,ANALYTICS_CATALYST_FEEDBACK_SCREEN:87907,ANALYTICS_MAIN_SCREEN:18630,APP_PROMO_AD_ENGAGEMENT_PANEL_SCREEN:54445,AR_CAMERA_ENGAGEMENT_PANEL_SCREEN:80935,BACKGROUND_PLAYBACK_NOTIFICATION_SCREEN:105675,
BACKSTAGE_FULLSCREEN_IMAGE_VIEWER_SCREEN:37521,BACKSTAGE_IMAGE_PREVIEW_SELECT_SCREEN:147285,BACKSTAGE_POST_DIALOG_SCREEN:47786,BEDTIME_REMINDER_DIALOG_PAGE:98349,BOTTOM_SHEET_PAGE:123695,BROWSE_PAGE:6827,CAPTIONS_MANAGER_PAGE:29434,CHANNEL_BROWSE_PAGE:7282,CHANNEL_CREATION_FORM_PAGE:124448,COMMENT_REPLIES_ENGAGEMENT_PANEL_SCREEN:32276,COMMENTS_ENGAGEMENT_PANEL_SCREEN:76278,COMMERCE_INVITE_CODE_ENGAGEMENT_PANEL_SCREEN:147868,COMMERCE_INVITE_REWARDS_ENGAGEMENT_PANEL_SCREEN:147869,CONFIRMATION_FORMFILL_AD_ENGAGEMENT_PANEL_SCREEN:93911,
CONSENT_BUMP_PAGE:106531,CONTACTS_PERMISSION_DENIED_FOREVER_PAGE:27259,CONTACTS_PERMISSION_PRE_PROMPT_PAGE:27262,CONTACTS_PERMISSION_SYSTEM_DIALOG_PAGE:27263,CONVERSATION_PAGE:21759,CONVERSATION_PARTICIPANTS_PAGE:27107,CONVERSATION_VIDEO_PICKER_PAGE:62936,COWATCH_WATCH_PAGE:49568,CREATOR_STUDIO_ANALYTICS_SCREEN:38408,CREATOR_STUDIO_ARTIST_ANALYTICS_SCREEN:80637,CREATOR_STUDIO_ARTIST_CONCERTS_PAGE:68727,CREATOR_STUDIO_ARTIST_PRESS_KIT_PAGE:68728,CREATOR_STUDIO_ASSET_ANALYTICS_SCREEN:80353,CREATOR_STUDIO_ASSET_METADATA_SCREEN:80356,
CREATOR_STUDIO_CHANNEL_COMMENTS_SCREEN:74610,CREATOR_STUDIO_CHANNEL_COPYRIGHT:45707,CREATOR_STUDIO_CHANNEL_COPYRIGHT_INTERSTITIAL_PAGE:83962,CREATOR_STUDIO_CHANNEL_COPYRIGHT_STRIKES_MODAL_PAGE:83970,CREATOR_STUDIO_CHANNEL_DASHBOARD_PAGE:46713,CREATOR_STUDIO_CHANNEL_EDITING_PAGE:89711,CREATOR_STUDIO_CHANNEL_MONETIZATION_SCREEN:74612,CREATOR_STUDIO_CHANNEL_SPONSORSHIPS_SCREEN:93265,CREATOR_STUDIO_CHANNEL_TRANSLATIONS_SCREEN:74611,CREATOR_STUDIO_CHANNEL_TWO_STEP_VERIFICATION_INTERSTITIAL_PAGE:131380,
CREATOR_STUDIO_CMS_ALBUM_RELEASE_ART_TRACKS_SCREEN:128979,CREATOR_STUDIO_CMS_ALBUM_RELEASE_AVAILABILITY_SCREEN:139311,CREATOR_STUDIO_CMS_ALBUM_RELEASE_OVERVIEW_SCREEN:128978,CREATOR_STUDIO_CMS_ALBUM_RELEASES_SCREEN:131391,CREATOR_STUDIO_CMS_ALLOWLIST_SCREEN:105350,CREATOR_STUDIO_CMS_ART_TRACK_AVAILABILITY_SCREEN:139312,CREATOR_STUDIO_CMS_ART_TRACK_OVERVIEW_SCREEN:134800,CREATOR_STUDIO_CMS_ART_TRACKS_SCREEN:131392,CREATOR_STUDIO_CMS_ASSET_CLAIMED_VIDEOS_SCREEN:113533,CREATOR_STUDIO_CMS_ASSET_COMPOSITION_SCREEN:93252,
CREATOR_STUDIO_CMS_ASSET_EMBEDDED_IN_SCREEN:99357,CREATOR_STUDIO_CMS_ASSET_GROUP_ASSETS_SCREEN:94521,CREATOR_STUDIO_CMS_ASSET_GROUP_CAMPAIGNS_SCREEN:114252,CREATOR_STUDIO_CMS_ASSET_GROUP_CLAIMED_VIDEOS_SCREEN:113532,CREATOR_STUDIO_CMS_ASSET_GROUP_METADATA_SCREEN:94522,CREATOR_STUDIO_CMS_ASSET_GROUPS_SCREEN:94583,CREATOR_STUDIO_CMS_ASSET_ISSUE_SCREEN:88E3,CREATOR_STUDIO_CMS_ASSET_LICENSE_MANAGEMENT_SCREEN:139580,CREATOR_STUDIO_CMS_ASSET_METADATA_SCREEN:93253,CREATOR_STUDIO_CMS_ASSET_OWNERSHIP_POLICY_SCREEN:93254,
CREATOR_STUDIO_CMS_ASSET_OWNERSHIP_SCREEN:94387,CREATOR_STUDIO_CMS_ASSET_POLICY_SCREEN:94388,CREATOR_STUDIO_CMS_ASSET_REFERENCE_SCREEN:93255,CREATOR_STUDIO_CMS_ASSET_SOUND_RECORDINGS_SCREEN:97424,CREATOR_STUDIO_CMS_ASSETS_LIST_SCREEN:72502,CREATOR_STUDIO_CMS_CAMPAIGNS_PAGE:110111,CREATOR_STUDIO_CMS_CHANNELS_PAGE:76019,CREATOR_STUDIO_CMS_CLAIMED_VIDEO_DETAIL_SCREEN:117092,CREATOR_STUDIO_CMS_CLAIMED_VIDEO_POLICY_SCREEN:117093,CREATOR_STUDIO_CMS_CLAIMED_VIDEOS_LIST_SCREEN:89431,CREATOR_STUDIO_CMS_CONTENT_DELIVERY_SCREEN:110466,
CREATOR_STUDIO_CMS_DASHBOARD_PAGE:77240,CREATOR_STUDIO_CMS_ISSUES_LIST_SCREEN:60508,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_ASSETS_SCREEN:148123,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_CLAIMED_VIDEOS_SCREEN:148124,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_DETAILS_SCREEN:137401,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_HISTORY_SCREEN:137402,CREATOR_STUDIO_CMS_LICENSE_STRATEGY_MANAGEMENT_SCREEN:137046,CREATOR_STUDIO_CMS_MANUAL_CLAIMING_VIDEO_SEARCH_SCREEN:73393,CREATOR_STUDIO_CMS_POLICIES_SCREEN:113534,CREATOR_STUDIO_CMS_REPORTS_SCREEN:92098,
CREATOR_STUDIO_CMS_TWO_STEP_VERIFICATION_INTERSTITIAL_PAGE:131381,CREATOR_STUDIO_CMS_VIDEO_DETAIL_SCREEN:84517,CREATOR_STUDIO_CMS_VIDEO_LIST_SCREEN:83759,CREATOR_STUDIO_CONTENT_OWNER_ANALYTICS_SCREEN:80357,CREATOR_STUDIO_GROUP_ANALYTICS_SCREEN:86113,CREATOR_STUDIO_LIVE_CHAT_MONETIZATION:72598,CREATOR_STUDIO_LIVE_STREAMING_PAGE:72733,CREATOR_STUDIO_MENTION_LIST_SCREEN:107349,CREATOR_STUDIO_MOBILE_ACCOUNT_ERROR_SCREEN:124275,CREATOR_STUDIO_MOBILE_ACCOUNT_SCREEN:118203,CREATOR_STUDIO_MOBILE_ANALYTICS_AUDIENCE_TAB:133275,
CREATOR_STUDIO_MOBILE_ANALYTICS_ENGAGEMENT_TAB:133274,CREATOR_STUDIO_MOBILE_ANALYTICS_OVERVIEW_TAB:133272,CREATOR_STUDIO_MOBILE_ANALYTICS_REACH_TAB:133273,CREATOR_STUDIO_MOBILE_ANALYTICS_REVENUE_TAB:133276,CREATOR_STUDIO_MOBILE_ANALYTICS_VIDEO_RANKING_SCREEN:144507,CREATOR_STUDIO_MOBILE_ARTIST_ANALYTICS_AUDIENCE_TAB:143247,CREATOR_STUDIO_MOBILE_ARTIST_ANALYTICS_ENGAGEMENT_TAB:143248,CREATOR_STUDIO_MOBILE_ARTIST_ANALYTICS_OVERVIEW_TAB:143249,CREATOR_STUDIO_MOBILE_ARTIST_ANALYTICS_REACH_TAB:143250,
CREATOR_STUDIO_MOBILE_ARTIST_ANALYTICS_REVENUE_TAB:143251,CREATOR_STUDIO_MOBILE_CHANNEL_PROFILE_EDITOR:144401,CREATOR_STUDIO_MOBILE_COMMENT_SCREEN:117431,CREATOR_STUDIO_MOBILE_COMMENTS_REPLIES_SCREEN:133797,CREATOR_STUDIO_MOBILE_ELEMENTS_SCREEN:128572,CREATOR_STUDIO_MOBILE_NOTIFICATIONS_COMMENTS_SCREEN:133405,CREATOR_STUDIO_MOBILE_NOTIFICATIONS_SCREEN:117429,CREATOR_STUDIO_MOBILE_NOTIFICATIONS_SETTINGS_SCREEN:117430,CREATOR_STUDIO_MOBILE_PLAYLIST_EDITOR_SCREEN:117432,CREATOR_STUDIO_MOBILE_SEARCH_SCREEN:120080,
CREATOR_STUDIO_MOBILE_SETTINGS_SCREEN:117259,CREATOR_STUDIO_MOBILE_SPLASH_SCREEN:121692,CREATOR_STUDIO_MOBILE_VIDEO_ANALYTICS_AUDIENCE_TAB:145656,CREATOR_STUDIO_MOBILE_VIDEO_ANALYTICS_ENGAGEMENT_TAB:145655,CREATOR_STUDIO_MOBILE_VIDEO_ANALYTICS_OVERVIEW_TAB:145653,CREATOR_STUDIO_MOBILE_VIDEO_ANALYTICS_REACH_TAB:145654,CREATOR_STUDIO_MOBILE_VIDEO_ANALYTICS_REVENUE_TAB:145657,CREATOR_STUDIO_MOBILE_VIDEO_LIST_LIVE_TAB:132972,CREATOR_STUDIO_MOBILE_VIDEO_LIST_SEARCH_RESULTS:133051,CREATOR_STUDIO_MOBILE_VIDEO_LIST_SHORTS_TAB:133658,
CREATOR_STUDIO_MOBILE_VIDEO_LIST_UPLOADS_TAB:132971,CREATOR_STUDIO_MUSIC_SCREEN:97615,CREATOR_STUDIO_MUSIC_STOREFRONT_FEATURED_COLLECTION_SCREEN:143359,CREATOR_STUDIO_MUSIC_STOREFRONT_FEATURED_COLLECTIONS_LIST_SCREEN:143356,CREATOR_STUDIO_MUSIC_STOREFRONT_GENRE_SCREEN:143361,CREATOR_STUDIO_MUSIC_STOREFRONT_GENRES_LIST_SCREEN:143358,CREATOR_STUDIO_MUSIC_STOREFRONT_MOOD_SCREEN:143360,CREATOR_STUDIO_MUSIC_STOREFRONT_MOODS_LIST_SCREEN:143357,CREATOR_STUDIO_MUSIC_STOREFRONT_SCREEN:142303,CREATOR_STUDIO_MUSIC_STOREFRONT_SEARCH_SCREEN:143353,
CREATOR_STUDIO_MUSIC_STOREFRONT_YOUR_LIBRARY_DOWNLOADED_SCREEN:143354,CREATOR_STUDIO_MUSIC_STOREFRONT_YOUR_LIBRARY_LICENSED_SCREEN:144479,CREATOR_STUDIO_MUSIC_STOREFRONT_YOUR_LIBRARY_SAVED_SCREEN:143355,CREATOR_STUDIO_MY_VIDEOS_SCREEN:31402,CREATOR_STUDIO_OTT_PROGRAM_ARTWORK_SCREEN:133624,CREATOR_STUDIO_OTT_PROGRAM_HISTORY_SCREEN:146477,CREATOR_STUDIO_OTT_PROGRAM_METADATA_SCREEN:133623,CREATOR_STUDIO_OTT_PROGRAM_OVERVIEW_SCREEN:133622,CREATOR_STUDIO_OTT_PROGRAMS_LIST_SCREEN:133621,CREATOR_STUDIO_PITCH_MUSIC_SCREEN:84774,
CREATOR_STUDIO_PLAYLISTS_PAGE:95117,CREATOR_STUDIO_POST_COMMENTS_SCREEN:98930,CREATOR_STUDIO_POST_DETAILS_SCREEN:98931,CREATOR_STUDIO_POST_LIST_SCREEN:98932,CREATOR_STUDIO_SCREEN:43347,CREATOR_STUDIO_SHORTS_FUND_SCREEN:129889,CREATOR_STUDIO_SONG_ANALYTICS_SCREEN:149123,CREATOR_STUDIO_TAKEDOWN_WEBFORM_PAGE:45474,CREATOR_STUDIO_TOU_PAGE:100352,CREATOR_STUDIO_TOU_STRIKES_DIALOG_PAGE:84758,CREATOR_STUDIO_TOU_STRIKES_INTERSTITIAL_PAGE:98443,CREATOR_STUDIO_UNIFIED_TAKEDOWN_FORM_PAGE:117985,CREATOR_STUDIO_VIDEO_ANALYTICS_SCREEN:74613,
CREATOR_STUDIO_VIDEO_COMMENTS_SCREEN:74614,CREATOR_STUDIO_VIDEO_COPYRIGHT_DIALOG:64502,CREATOR_STUDIO_VIDEO_COPYRIGHT_SCREEN:136032,CREATOR_STUDIO_VIDEO_DETAILS_SCREEN:74615,CREATOR_STUDIO_VIDEO_EDITOR_SCREEN:74616,CREATOR_STUDIO_VIDEO_LIVE_SETTINGS_SCREEN:122224,CREATOR_STUDIO_VIDEO_MONETIZATION_SCREEN:74617,CREATOR_STUDIO_VIDEO_RIGHTS_MANAGEMENT_SCREEN:77820,CREATOR_STUDIO_VIDEO_TRANSLATIONS_SCREEN:74618,CREATOR_STUDIO_YPP_SIGNUP_INELIGIBLE:93278,CREATOR_STUDIO_YPP_SIGNUP_MAIN:93274,CREATOR_STUDIO_YPP_SIGNUP_OVERVIEW:93275,
CREATOR_STUDIO_YPP_SIGNUP_REJECTED:93276,CROWDSOURCING_CONTRIBUTOR_QUEUE_PAGE:22110,CROWDSOURCING_EDITOR_PAGE:29433,DATA_SAVING_SETTINGS:133798,DEEP_LINK_PAGE:132295,DESCRIPTION_ENGAGEMENT_PANEL_PAGE:120541,DIRECT_SIGN_IN_AUTHZEN_CHALLENGE_PAGE:82047,DIRECT_SIGN_IN_DEVICE_PROMPT_CHALLENGE_PAGE:113550,DIRECT_SIGN_IN_IDENTIFIER_ENTRY_PAGE:75836,DIRECT_SIGN_IN_PASSWORD_ENTRY_PAGE:75837,DOWNLOADS_PAGE:42352,EDIT_CREATOR_COMPLIANCE_PAGE:84512,EDIT_INK_OVERLAY:76065,EDIT_VOLUME_SHEET_PANEL:75989,EMBED_PAGE:16623,
EMBED_PREVIEW_PAGE:32594,EMBED_WATCH_PAGE:27240,ENGAGEMENT_PANEL_SCREEN:32633,EXPLORE_PAGE:74858,FEED_PAGE:3945,FEEDBACK_PAGE:16989,FINE_LOCATION_PERMISSION_SYSTEM_DIALOG_PAGE:45520,FIRST_TIME_SIGN_IN_COUNTERFACTUAL_PAGE:25488,FIRST_TIME_SIGN_IN_VARIANT1_PAGE:25492,FIRST_TIME_SIGN_IN_VARIANT2_PAGE:25494,FORMFILL_AD_ENGAGEMENT_PANEL_SCREEN:55760,FULL_SCREEN_WATCH_PAGE:14057,GAME_PAGE:18451,GAMING_ACCOUNT_LINK_CONFIRM_DIALOG:57204,GAMING_ACCOUNT_LINK_SETTING_DIALOG:57203,GAMING_LEFT_RAIL:17897,GAMING_MULTIPLE_ACCOUNT_LINK_DIALOG:57205,
GAMING_ONBOARDING_PAGE:18198,GAMING_RIGHT_RAIL:17898,GAMING_WARM_WELCOME_PAGE:17909,GAMING_WATCH_NEXT_CONTAINER_SCREEN:43980,GENERIC_UPSELL_DIALOG_PAGE:46220,GUIDE_PAGE:11721,HASHTAG_LANDING_PAGE:147994,HELP_PAGE:49954,HISTORY_PAGE:96369,HOME_PAGE:3854,IMMERSIVE_AD_ENGAGEMENT_PANEL_SCREEN:56251,INLINE_SIGN_IN_PAGE:25624,INTERSTITIAL_PAGE:16906,INTERSTITIAL_PRODUCT_SHELF_ENGAGEMENT_PANEL_SCREEN:99999,INVITATION_FORMFILL_AD_ENGAGEMENT_PANEL_SCREEN:68172,INVITE_MORE_PANEL_PAGE:27068,JOIN_GROUP_PAGE:47973,
KIDS_ACTION_PAGE:72773,KIDS_ALL_USER_CONSENT_FLOW_ACTIVITY_PAGE:26970,KIDS_ALL_USER_SIGN_IN_ACTIVITY_PAGE:26971,KIDS_ANNOUNCEMENT_DIALOG_PAGE:96805,KIDS_APP_REVIEW_FLOW_PAGE:17752,KIDS_EDIT_CORPUS_PREFERENCES_FLOW_PAGE:73233,KIDS_IMPRESSUM_NOTICE_FLOW_PAGE:109512,KIDS_NO_RED_ACCOUNT_CONSENT_FLOW_PAGE:22256,KIDS_ONBOARDING_FLOW_PAGE:14115,KIDS_ONBOARDING_FOR_EXISTING_USER_FLOW_PAGE:22696,KIDS_PARENT_PROFILE_SETTINGS_PAGE:89278,KIDS_PARENT_SETTINGS_PAGE:89277,KIDS_PRIVACY_NOTICE_FLOW_PAGE:109513,KIDS_PROFILE_CREATION_FLOW_PAGE:43278,
KIDS_PROFILE_PIN_CREATION_PAGE:43459,KIDS_PROFILE_PIN_GATE:43464,KIDS_PROFILE_SETTINGS_PAGE:89279,KIDS_PROFILE_SWITCHER_PAGE:43717,KIDS_PROMO_EVENT_PAGE_VIEW:55764,KIDS_RED_ACCOUNT_CONSENT_FLOW_PAGE:22255,KIDS_SEARCH_DISCLOSURE_FLOW_PAGE:147912,KIDS_SECRET_CODE_PAGE:89281,KIDS_SHOW_BROWSE_PAGE:40963,KIDS_SIGN_IN_FLOW_PAGE:43277,KIDS_UNICORN_ONBOARDING_FLOW_PAGE:43442,LABS_PAGE:91824,LAUNCHER_RECOMMENDATIONS_PAGE:120137,LIBRARY_PAGE:96367,LIGHTWEIGHT_CAMERA_PAGE:36850,LIGHTWEIGHT_CREATION_PAGE:72694,
LIGHTWEIGHT_PLAYER_PAGE:37414,LIGHTWEIGHT_VIDEO_EDITING_PAGE:36851,LIST_RECOMMENDATIONS_PAGE:124863,LISTEN_FIRST_ENGAGEMENT_PANEL_SCREEN:121343,LIVE_CHAT_ENGAGEMENT_PANEL_SCREEN:73491,LIVE_CHAT_PAGE:54473,LIVE_DASHBOARD_PAGE:43375,LIVE_STUDIO_PAGE:46674,MAIN_APP_ARTIST_ANALYTICS_PAGE:143815,MAIN_APP_CHANNEL_ANALYTICS_PAGE:139095,MAIN_APP_CHANNEL_PROFILE_EDITOR:144402,MAIN_APP_SMART_DOWNLOADS_SETTINGS_PAGE:149968,MAIN_APP_SMART_DOWNLOADS_STORAGE_CONTROLS_SETTINGS_PAGE:149969,MAIN_AUTO_OFFLINE_NOTIFICATIONS_PAGE:32473,
MANGO_ACCOUNT_ERROR_PAGE:72901,MANGO_ACCOUNT_LOADING_PAGE:72906,MANGO_CHANNEL_DESCRIPTION_PAGE:50947,MANGO_CHANNEL_LIST_PAGE:50612,MANGO_CHANNEL_PREVIEW_PAGE:50613,MANGO_CHANNEL_VIDEOS_PAGE:50942,MANGO_DIALOG_YTB_EDUCATION:84938,MANGO_DIALOG_YTB_INVALID_FILE_ERROR:84943,MANGO_DIALOG_YTB_PERMISSION:84939,MANGO_DIALOG_YTB_PERMISSION_DEEP_LINK:84941,MANGO_DIALOG_YTB_PERMISSION_ERROR:84944,MANGO_DIALOG_YTB_PERMISSION_SETTINGS:84940,MANGO_DIALOG_YTB_PERMISSION_SETTINGS_DEEP_LINK:84942,MANGO_DISCO_SEND_PAGE:35585,
MANGO_EXPLORATION_PAGE:51926,MANGO_GUEST_DOWNLOAD_TAB_PAGE:79983,MANGO_HOME_HOUSEWARMING_CARD_PAGE:63238,MANGO_HOME_PAGE:18921,MANGO_HOME_TOPICK_PICKER_PAGE:63241,MANGO_HOME_VIDEO_REPORTING_PAGE:57893,MANGO_LOW_APKVERSION_PAGE:41182,MANGO_MAIN_APP_PROMO_PAGE:135732,MANGO_MAIN_PAGE:33424,MANGO_NOTIFICATION_DAILY_VIDEOS_AVAILABLE_PAGE:22207,MANGO_NOTIFICATION_SOCIAL_MESSAGES:42993,MANGO_NOTIFICATION_UPGRADE_AVAILABLE_PAGE:36229,MANGO_NOTIFICATION_VIDEO_TRANSFER_COMPLETED_PAGE:22206,MANGO_NOTIFICATION_VIDEO_TRANSFER_IN_PROGRESS_PAGE:22205,
MANGO_ONBOARDING_ACCOUNT_CREATION_PAGE:18993,MANGO_ONBOARDING_COMPLETE_PAGE:19001,MANGO_ONBOARDING_LANGUAGE_SELECTION_PAGE:18990,MANGO_ONBOARDING_PHONE_NUMBER_SELECTION_PAGE:18991,MANGO_ONBOARDING_PHONE_VERIFICATION_PAGE:18997,MANGO_ONBOARDING_SCREEN:18725,MANGO_ONBOARDING_SLIDE_SHOW_PAGE:19003,MANGO_ONBOARDING_VIDEO_PREVIEW_PAGE:36874,MANGO_PROFILE_PAGE:44763,MANGO_SAVED_PAGE:33427,MANGO_SETTINGS_MANAGE_HISTORY_PAGE:67793,MANGO_SETTINGS_PAGE:22182,MANGO_SPLASH_PAGE:37091,MANGO_STORAGE_MANAGEMENT_PAGE:34650,
MANGO_SUBSCRIPTIONS_FEED_PAGE:50617,MANGO_UNFORK_MIGRATION_ERROR_PAGE:47261,MANGO_UPDATE_APK_PAGE:22287,MANGO_VIDEO_FORMAT_SELECTION_PAGE:25144,MANUAL_SYNC_DOWNLOADED_PLAYLIST_DIALOG_PAGE:97917,MDX_ASSISTED_TV_SIGN_IN_DIALOG_PAGE:62397,MDX_AUTOCONNECT_PROMPT:125598,MDX_AUTOCONNECT_PROMPT_COUNTERFACTUAL:137935,MDX_FIJI_DRAWER:36961,MDX_LOCAL_NETWORK_PERMISSIONS_REQUEST_PAGE:108035,MDX_REMOTE_WATCH_DIALOG:27426,MDX_SMART_PAIRING_DELETE_TV_CODES_PAGE:27857,MDX_SMART_PAIRING_PAIR_WITH_TV_PAGE:27846,MDX_SMART_PAIRING_USE_TV_CODE_PAGE:27854,
MDX_SMART_REMOTE_PERMISSION_REQUEST_PAGE:69692,MDX_SMART_REMOTE_SCREEN:61411,MDX_SYSTEM_NOTIFICATION_COUNTERFACTUAL_PAGE:39299,MDX_SYSTEM_NOTIFICATION_PAGE:38696,MDX_TOAST_PAGE:62520,MDX_TV_SIGN_IN_ACCOUNT_CHOOSER_PAGE:36382,MDX_TV_SIGN_IN_PASSIVE_ACCOUNT_CHOOSER_PAGE:108701,MDX_TV_SIGN_IN_PASSIVE_WAITING_PAGE:50663,MDX_TV_SIGN_IN_PERMISSIONS_PAGE:36387,MDX_WATCH_PAGE:14908,MEALBAR_PROMO_PAGE:37533,MEDIA_ACTIONS_BROWSE_PAGE:105443,MEDIA_BROWSER_ANDROID_AUTO_PAGE:61635,MEDIA_BROWSER_ANDROID_CLOCK_PAGE:62274,
MEDIA_BROWSER_ANDROID_WEAR_PAGE:133818,MEDIA_BROWSER_CAR_PLAY_ERROR_PAGE:65702,MEDIA_BROWSER_CAR_PLAY_LOADING_PAGE:65703,MEDIA_BROWSER_CAR_PLAY_SCREEN:65701,MEDIA_BROWSER_WAZE_PAGE:76256,MESSAGES_EXTENSION_CONVERSATION_PAGE:37671,METADATA_EDITOR_PAGE:49953,MOBILE_CREATION_PAGE:36216,MOBILE_LIVE_ADVANCED_SETTINGS_PAGE:28237,MOBILE_LIVE_LOCATION_SEARCH_PAGE:39553,MOBILE_LIVE_PERMISSION_REQUEST_PAGE:29222,MOBILE_LIVE_PREFERENCES_PAGE:26107,MOBILE_LIVE_SCHEDULED_BROADCASTS_PAGE:38050,MOBILE_LIVE_STATS_PAGE:26108,
MOBILE_LIVE_STREAM_END_PAGE:120745,MOBILE_LIVE_STREAMING_PAGE:26109,MOBILE_LIVE_THUMBNAIL_PAGE:26110,MOBILE_SCREENCAST_THUMBNAIL_PAGE:66881,MOBILE_THUMBNAIL_EDITOR_PAGE:28236,MODAL_ACCOUNT_SWITCHER_PAGE:14586,MULTI_REEL_DISMISSAL_PAGE:57929,MUSIC_ADD_TO_PLAYLIST_POPUP:74723,MUSIC_ALBUM_PAGE:44098,MUSIC_ARTIST_PAGE:44099,MUSIC_AUDIO_CAST_UPSELL_PROMO:23528,MUSIC_AUDIO_PREVIEW_PAGE:61699,MUSIC_AUDIOBOOK_ARTIST_PAGE:134104,MUSIC_AUDIOBOOK_PAGE:134103,MUSIC_DEEP_LINK_PAGE:59149,MUSIC_IOSSDKSCREEN:101951,
MUSIC_LIBRARY_ARTIST_PAGE:97346,MUSIC_LISTENING_REVIEW_PAGE:118051,MUSIC_LYRICS_PAGE:95102,MUSIC_NAVIGATION_ERROR_PAGE:64882,MUSIC_ONBOARDING_PAGE:119505,MUSIC_PERSISTED_WATCH_PAGE:63595,MUSIC_PLAYLIST_PAGE:63349,MUSIC_RELATED_PAGE:95101,MUSIC_REMOVE_DOWNLOADS_AFTER_REMOVING_FROM_LIBRARY_DIALOG_PAGE:75240,MUSIC_RESUME_PLAYBACK_MINIPLAYER_PAGE:27039,MUSIC_SHORTCUTS_SYSTEM_DIALOG_PAGE:68823,MUSIC_SIGN_IN_PAGE:21537,MUSIC_SIRI_MEDIA_INTENT_PAGE:83464,MUSIC_SONG_DETAIL_PAGE:75707,MUSIC_USER_CHANNEL_PAGE:83113,
MUSIC_WATCH_APP_SCREEN:101952,MUSIC_WATCH_APP_UPGRADE_SCREEN:101953,MUSIC_WIDGET_WATCH_PAGE:79610,NEW_STORE_VISITS_AD_ENGAGEMENT_PANEL_SCREEN:125755,NEW_VERSION_AVAILABLE_FORCE_PAGE:24402,NEW_VERSION_AVAILABLE_NAG_PAGE:24400,NEW_VERSION_AVAILABLE_TIMER_PAGE:32925,NOTIFICATION_SETTINGS_PAGE:57173,OFFLINE_DOWNLOADS_SEARCH_RESULTS_PAGE:122502,OFFLINE_ERROR_DIALOG_PAGE:145268,OFFLINE_HOME_PAGE:138480,OFFLINE_MUSIC_ALBUM_PAGE:64423,OFFLINE_MUSIC_PLAYLIST_PAGE:64424,OFFLINE_PROMO_RENDERER_PAGE:33986,OFFLINE_SEARCH_PAGE:100828,
OFFLINE_SETTINGS_PAGE:129089,OFFLINE_VIDEO_PAGE:21409,PARENT_TOOLS_ALL_SET_PAGE:135155,PARENT_TOOLS_APP_CHOICE_PAGE:135156,PARENT_TOOLS_APP_UNAVAILABLE_PAGE:135157,PARENT_TOOLS_CONTENT_SETTINGS_PAGE:135158,PARENT_TOOLS_DASHBOARD_PAGE:135159,PARENT_TOOLS_EDIT_PROFILE_PAGE:135160,PARENT_TOOLS_ONBOARDED_TO_OTHER_APP_PAGE:135161,PARENT_TOOLS_PARENT_FEATURE_TOUR_PAGE:135162,PARENT_TOOLS_PARENT_SETTINGS_PAGE:135163,PARENT_TOOLS_SEARCH_ON_OFF_PAGE:135164,PARENT_TOOLS_SETTINGS_PAGE:135165,PARENT_TOOLS_WELCOME_PAGE:135166,
PARENTAL_CONTROL_PAGE:11070,PARENTAL_CONTROL_TIMER_EXPIRED_PAGE:11074,PARENTAL_CONTROL_TIMER_PAGE:17880,PAUSE_AND_BUFFER_NOTIFICATIONS_PAGE:14001,PHONE_VERIFICATION_CODE_ENTRY_PAGE:30709,PHONE_VERIFICATION_INTRO_PAGE:30707,PHONE_VERIFICATION_RESULT_ERROR_PAGE:30711,PHONE_VERIFICATION_RESULT_SUCCESS_PAGE:30710,PHONE_VERIFICATION_TELEPHONE_NUMBER_ENTRY_PAGE:30708,PHONEBOOK_PAGE:26984,PHOTO_LIBRARY_MEDIA_SELECTION_POSTS_PAGE:146143,PIN_CONFIGURATION_SCREEN:63648,PIN_LOCK_SCREEN:63649,PLAYER_ERROR_PAGE:51879,
PLAYLIST_ENGAGEMENT_PANEL_SCREEN:111059,PLAYLIST_PAGE:5754,PLAYLIST_SETTINGS_EDITOR_PAGE:20445,POST_COMMENT_REPLIES_ENGAGEMENT_PANEL_SCREEN:130975,POST_COMMENTS_ENGAGEMENT_PANEL_SCREEN:130976,PREMIUM_YPC_OFFERS_BROWSE_PAGE:110386,PRODUCT_PANEL_SCREEN:113746,PROFILE_CARD_PAGE:66557,PUSH_NOTIFICATION_DIALOG:17310,PUSH_NOTIFICATION_PAGE:28631,QUICK_ACTION_PAGE:21589,REDEEM_PAGE:68012,REELS_CREATION_ONBOARDING_PAGE:60480,REELS_NON_VIDEO_AD_PAGE:138664,REELS_NON_VIDEO_SURVEY_PAGE:141121,REELS_PERMISSION_REQUEST_PAGE:31571,
RELATED_ENGAGEMENT_PANEL_PAGE:141978,REQUIRED_SIGN_IN_PAGE:76980,RESTORE_VIDEO_AFTER_CRASH_PAGE:41577,RETROACTIVE_SIGN_IN_PROMO_PAGE:45469,SCAN_CODE_PAGE:38669,SCREENCAST_CONTROLLER_PAGE:13768,SCREENCAST_LAUNCH_PAGE:13777,SEARCH_API_PAGE:141842,SEARCH_INPUT_PAGE:62985,SEARCH_PAGE:4724,SEARCH_SUGGESTION_PAGE:59369,SEND_SMS_PERMISSION_PRE_PROMPT_PAGE:43927,SEND_SMS_PERMISSION_SYSTEM_DIALOG_PAGE:43928,SETTINGS_OVERVIEW_PAGE:12924,SFV_AUDIO_PICKER_SEARCH_PAGE:100355,SHARE_CONVERSATION_INBOX_PAGE:56219,
SHARE_CONVERSATION_PAGE:27669,SHARE_MENU:10337,SHARED_TAB_NEW_GROUP_PAGE:47896,SHOPPING_CART_SCREEN:122629,SHORTS_COMMENT_REPLIES_ENGAGEMENT_PANEL_SCREEN:139723,SHORTS_COMMENTS_ENGAGEMENT_PANEL_SCREEN:139722,SHORTS_CREATION_ADD_CLIP_PAGE:121258,SHORTS_CREATION_AUDIO_SCRUBBER_BOTTOM_SHEET_PAGE:107598,SHORTS_CREATION_AUDIO_SCRUBBER_OVERLAY_PAGE:127991,SHORTS_CREATION_CAMERA_PAGE:96639,SHORTS_CREATION_CAMERA_PERMISSIONS_PAGE:107536,SHORTS_CREATION_CLIP_EDIT_PAGE:130169,SHORTS_CREATION_CREATION_PAGE:96661,
SHORTS_CREATION_DRAFTS_LIST_PAGE:145188,SHORTS_CREATION_EDITOR_PAGE:96658,SHORTS_CREATION_EDITOR_TIMELINE_EDITOR_PAGE:116646,SHORTS_CREATION_EFFECTS_TRAY_PAGE:121122,SHORTS_CREATION_GALLERY_PAGE:96660,SHORTS_CREATION_GREEN_SCREEN_MEDIA_PICKER_GALLERY_PAGE:127738,SHORTS_CREATION_GREEN_SCREEN_MEDIA_PICKER_PAGE:127083,SHORTS_CREATION_SEGMENT_IMPORT_TRIM_PAGE:147842,SHORTS_CREATION_TIMER_BOTTOM_SHEET_PAGE:104443,SHORTS_CREATION_TRIM_PAGE:96659,SHORTS_CREATION_VIDEO_INGESTION_PAGE:147595,SHORTS_CREATION_VOLUME_BALANCER_PAGE:106442,
SHORTS_WATCH_PAGE:134840,SIDELOADED_MUSIC_ALBUM_PAGE:63667,SIDELOADED_MUSIC_ARTIST_PAGE:63668,SIDELOADED_MUSIC_PLAYLIST_PAGE:63669,SIDELOADED_SEARCH_RESULTS_PAGE:130686,SNACKBAR_PAGE:147036,SPONSORSHIPS_COMMENTS_ENGAGEMENT_PANEL_SCREEN:78314,SPONSORSHIPS_GIFTING_OPT_IN_DIALOG:147799,STARTUP_LOADING_SCREEN:148649,STORE_VISITS_AD_ENGAGEMENT_PANEL_SCREEN:55761,STORIES_CREATION_GALLERY_PAGE:127098,STORIES_WATCH_PAGE:134841,SUBSCRIPTIONS_PAGE:96368,SUGGESTED_PLAYLIST_VIDEOS_PAGE:67374,SUPER_CHAT_CONTRACT_PAGE:48992,
SYSTEM_SHARE_SHEET_PAGE:146176,THUMBNAIL_EDITOR_PAGE:49956,TODAY_WIDGET_PAGE:31961,TOMBSTONED_PAGE_VISUAL_ELEMENT:26388,TOPIC_EXPLORER_PAGE:23811,TOPIC_PICKER_PAGE:5E4,TRANSCRIPT_ENGAGEMENT_PANEL_SCREEN:126250,TRENDING_PAGE:96370,TUNEDER_FORM_PAGE:47355,TUNEDER_SWIPE_PAGE:47356,TV_SPLASH_PAGE:37935,UDC_LOCATION_REPORTING_CONSENT_FLOW_PAGE:45521,UNIFIED_SHARE_PANEL_PAGE:21760,UNKNOWN_PAGE:83769,UNLIMITED_FAMILY_MESSAGE_INTERSTITIAL_PAGE:49977,UNLIMITED_FAMILY_PROFILE_INTERSTITIAL_PAGE:49974,UNLIMITED_MANAGE_SUBSCRIPTION_PAGE:93497,
UNLIMITED_ONBOARDING_PAGE:93498,UNLIMITED_POST_PURCHASE_WELCOME_PAGE:34325,UNPLUGGED_ACCOUNT_SELECTOR_PAGE:140759,UNPLUGGED_APP_OVERLAY_PAGE:115803,UNPLUGGED_DOWNLOADS_PAGE:123707,UNPLUGGED_INFO_DIALOG_PAGE:100081,UNPLUGGED_LOCATION_PAGE:35309,UNPLUGGED_ONBOARDING_ACCESS_PENDING_PAGE:68314,UNPLUGGED_ONBOARDING_PAGE:25602,UNPLUGGED_ONBOARDING_V2_PAGE:100339,UNPLUGGED_STORE_PAGE:143516,UPLOAD_PAGE:59018,UPLOAD_VIDEO_CAMERA_EXTERNAL_PAGE:18248,UPLOAD_VIDEO_CAMERA_PAGE:50625,UPLOAD_VIDEO_EDITING_PAGE:9729,
UPLOAD_VIDEO_EDITING_STICKER_CATALOG_PAGE:37168,UPLOAD_VIDEO_EDITING_TEXT_PAGE:37169,UPLOAD_VIDEO_METADATA_EDITING_PAGE:21667,UPLOAD_VIDEO_PERMISSION_PAGE:16749,UPLOAD_VIDEO_PERMISSION_REQUEST_PAGE:18635,UPLOAD_VIDEO_SELECTION_PAGE:39305,UPLOAD_VIDEO_SPLIT_PAGE:18046,VIDEO_GAME_TOPIC_CHANNEL_PAGE:53969,VIDEO_MANAGER_PAGE:8213,VIDEO_QUALITY_PERSISTENT_SETTINGS:93926,VOICE_SEARCH_EXTERNAL_LINK_PAGE:102852,VOICE_SEARCH_MOBILE_REMOTE_PAGE:110099,VOICE_SEARCH_PAGE:22678,VOICE_SEARCH_PERMISSION_REQUEST_PAGE:69076,
VOICE_SEARCH_VAA_CONSENT_PAGE:137575,VR360_VIDEOS_PAGE:139224,VR_MOVIES_PAGE:100856,WATCH_IT_AGAIN_PAGE:17736,WATCH_PAGE:3832,WEAR_TILE_PAGE:147111,WEBSITE_ACTIONS_AMP_AD_ENGAGEMENT_PANEL_SCREEN:55759,WEBSITE_ACTIONS_EXTENSIONS_AD_ENGAGEMENT_PANEL_SCREEN:64031,WELCOME_PAGE:93044,WHOS_WATCHING_PAGE:93045,YOU_TUBE_ORIGINALS_HOME_PAGE:34388,YPC_DONATION_POST_TRANSACTION:17657,YPC_DONATION_SCREEN:17655,YPC_MEMBERSHIP_CANCEL_SUCCESS_PAGE:39579,YPC_MEMBERSHIP_POST_TRANSACTION_PAGE:39578,YPC_OFFERS_MODULE_PAGE:77448,
YPC_OFFERS_PAGE:8196,YPC_POST_TIP_PAGE:11357,YPC_SPONSORSHIP_OFFER_SCREEN:69877,YPC_TIP_PAGE:8197,YT_FLOWS_PAGE:82039};
_.vo=function(){this.shownElements_=new Set;this.JSC$34801_hiddenElements_=new Set;this.visibleState_=new Map;this.csn_=null;this.JSC$34801_client_=_.Jf};
_.Dza=function(){var a=_.vo.getInstance();a.clear();a.csn_=_.fg()};
_.vo.prototype.clear=function(){this.shownElements_.clear();this.JSC$34801_hiddenElements_.clear();this.visibleState_.clear();this.csn_=null};
_.Yi(_.vo);
_.Ag=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};_.Fe("yt.msgs_",_.Ag);
_.Ig=function(a,b,c){this.actionName=a;this.optionalAction=void 0===b?!1:b;this.args=void 0===c?null:c;this.returnValue=[]};
var wo=Symbol("Vb"),xo=function(a){this.name=a};
xo.prototype.toString=function(){return"InjectionToken("+this.name+")"};
var aka=function(a){this.key=a},bka=function(){this.providers=new Map;
this.cachedValues=new Map};
bka.prototype.addProvider=function(a){this.providers.set(a.provide,a)};
bka.prototype.resolve=function(a){return a instanceof aka?yo(this,a.key,[],!0):yo(this,a,[])};
var yo=function(a,b,c,d){d=void 0===d?!1:d;if(-1<c.indexOf(b))throw Error("Wb`"+b);if(a.cachedValues.has(b))return a.cachedValues.get(b);if(!a.providers.has(b)){if(d)return;throw Error("Xb`"+b);}d=a.providers.get(b);c.push(b);if(d.useValue)var e=d.useValue;else if(d.useFactory)e=d[wo]?Eza(a,d[wo],c):[],e=d.useFactory.apply(d,_.sc(e));else if(d.useClass){e=d.useClass;var h=e[wo]?Eza(a,e[wo],c):[];e=new (Function.prototype.bind.apply(e,[null].concat(_.sc(h))))}else throw Error("Yb`"+b);c.pop();d.skipCache||
a.cachedValues.set(b,e);return e},Eza=function(a,b,c){return b?b.map(function(d){return d instanceof aka?yo(a,d.key,c,!0):yo(a,d,c)}):[]};
_.zo=new xo("ACTIVITY_TOKEN");_.Ao=new xo("GUIDE_TOKEN");_.Bo=new xo("KEY_MANAGER_TOKEN");_.Co=new xo("PAGE_TOKEN");_.Fza=new xo("NAVIGATION_PROGRESS_TOKEN");_.Do=new xo("NAVIGATION_TOKEN");_.Eo=new xo("NETWORK_TOKEN");_.Fo=new xo("VISIBILITY_TOKEN");_.Go=new xo("PLAYLIST_TOKEN");_.Ho=new xo("GFEEDBACK_TOKEN");_.Gza=new xo("ENDPOINT_HANDLER_TOKEN");
var cka=new Map;
isa("wit.events.ytFooActionEvent");isa("wit.events.ytServiceRequestCompletedEvent");isa("wit.events.ytServiceRequestSentEvent");
_.Io=function(){this.actionRoutingMap=new Map};
_.Io.prototype.triggerAction=function(a){var b=new _.Ig(a,!1,_.Ob.apply(1,arguments));this.handleAction(b);return b.returnValue};
_.Io.prototype.triggerOptionalAction=function(a){var b=new _.Ig(a,!0,_.Ob.apply(1,arguments));this.handleAction(b);return b.returnValue};
_.Io.prototype.handleAction=function(a){var b=this.actionRoutingMap.get(a.actionName);a.optionalAction||b?b&&Hza(a,b):(b=Error("Zb"),b.params=a.actionName,_.md(b))};
var Hza=function(a,b){b.forEach(function(c){var d=null;c?d=c.apply(null,a.args):(c=Error("$b"),c.params=a.actionName,_.jd(c));a.returnValue.push(d)})};
_.Yi(_.Io);
var Iza=new xo("ACTION_ROUTER_TOKEN");
var eka=!1;
var Jza=new xo("USER_PREFS");
var Jo,Lza,Mza,Oza,Pza;Jo=function(){this.isEnabled=_.x("enable_signals");this.signals=[];this.compoundSignals=new Map;this.inProgressSignals=new Set;this.JSC$34836_parkedJobs=new Map;this.parkedProcessors=new Map};
_.Ko=function(){Jo.instance||(Jo.instance=new Jo);return Jo.instance};
Jo.prototype.onAny=function(a){return _.Kza(this,a,2)};
Jo.prototype.parkOrScheduleJob=function(a,b,c,d,e){_.Lo(this,c)?_.Ci().addJob(a,b,d):(e&&(a=Lza(a),Mza(this,a,b,c,e)),e=this.JSC$34836_parkedJobs.get(c),e||(this.JSC$34836_parkedJobs.set(c,[]),e=this.JSC$34836_parkedJobs.get(c)),e.push({job:a,priority:b,delay:d}))};
Jo.prototype.addListener=function(a,b,c){this.isEnabled&&(c&&(b=Lza(b),Mza(this,b,0,a,c)),c=this.parkedProcessors.get(a),c||(this.parkedProcessors.set(a,[]),c=this.parkedProcessors.get(a)),c.push(b))};
Jo.prototype.processSignal=function(a){if(!_.Lo(this,a)){this.inProgressSignals.add(a);var b=this.JSC$34836_parkedJobs.get(a);if(b){b=_.k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.Ci().addJob(c.job,c.priority,c.delay);this.JSC$34836_parkedJobs.delete(a)}if(b=this.parkedProcessors.get(a)){b=_.k(b);for(c=b.next();!c.done;c=b.next())c=c.value,c();this.parkedProcessors.delete(a)}this.signals.push(a);this.inProgressSignals.delete(a)}};
_.Lo=function(a,b){return a.isEnabled&&(_.fd("IS_HOMEPAGE_COLD")||_.fd("IS_RESULTS_PAGE_COLD")||_.fd("IS_WATCH_PAGE_COLD"))?0<=a.signals.indexOf(b):!0};
Lza=function(a){var b=!1;return function(){b||(b=!0,a())}};
Mza=function(a,b,c,d,e){if(Nza.has(d))_.Ci().addJob(b,c,e);else{var h=a.compoundSignals.get(d);h&&_.Ci().addJob(function(){_.Lo(a,d)||(h.isTimeoutConditionSatisfied?_.Ci().addJob(b,c):h.timeoutConditionObservers.push(function(){_.Ci().addJob(b,c)}))},c,e)}};
_.Kza=function(a,b,c){if(!a.isEnabled)return"n/a";if(1<b.length){var d=[],e=Object.create(null);b=_.k(b);for(var h=b.next();!h.done;h=b.next())h=h.value,e[h]||(d.push(h),e[h]=!0);b=d}if(1===b.length)return b[0];e=b;h="";d=2===c?"|":"&";e.sort();e=_.k(e);for(var l=e.next();!l.done;l=e.next())h+=l.value+d;d=h;if(!a.compoundSignals.get(d)){e=0;l=[];var m=_.k(b);for(h=m.next();!h.done;h=m.next())h=h.value,e++,_.Lo(a,h)||l.push(h);(c=2===c)&&e>l.length||!c&&!l.length?a.signals.push(d):Oza(a,d,c,b,l)}return d};
Oza=function(a,b,c,d,e){var h=e.length,l=function(){c||0===--h?a.processSignal(b):Pza(a,b)};
e=_.k(e);for(var m=e.next();!m.done;m=e.next())a.addListener(m.value,l);a.compoundSignals.set(b,{signals:d,isOnAny:c,isInitialized:!1,isTimeoutConditionSatisfied:!1,timeoutConditionObservers:[]});Pza(a,b)};
Pza=function(a,b){if(!_.Lo(a,b)){var c=a.compoundSignals.get(b);if(c&&!c.isTimeoutConditionSatisfied){for(var d=!1,e=0,h=0,l=_.k(c.signals),m=l.next();!m.done;m=l.next()){var p=m.value;m=!_.Lo(a,p);Nza.has(p)?d=!0:(p=a.compoundSignals.get(p))?m&&!p.isTimeoutConditionSatisfied&&(h++,c.isInitialized||p.timeoutConditionObservers.push(function(){Pza(a,b)})):m&&e++}c.isInitialized=!0;
c.isOnAny?d&&(c.isTimeoutConditionSatisfied=!0):0===e&&0===h&&(c.isTimeoutConditionSatisfied=!0);if(c.isTimeoutConditionSatisfied)for(c=_.k(c.timeoutConditionObservers),d=c.next();!d.done;d=c.next())d=d.value,d()}}};
Jo.prototype.processSignal=Jo.prototype.processSignal;Jo.prototype.parkOrScheduleJob=Jo.prototype.parkOrScheduleJob;Jo.prototype.onAny=Jo.prototype.onAny;_.Fe("ytsignals.getInstance",_.Ko);Jo.prototype.onAny=Jo.prototype.onAny;Jo.prototype.parkOrScheduleJob=Jo.prototype.parkOrScheduleJob;Jo.prototype.processSignal=Jo.prototype.processSignal;
Jo.RawSignal={END_OF_HOME_PRECONSTRUCTION_SCHEDULE:"eohps",END_OF_SEARCH_PRECONSTRUCTION_SCHEDULE:"eosps",END_OF_WATCH_PRECONSTRUCTION_SCHEDULE:"eowps",END_OF_PRECONSTRUCTION:"eop",END_OF_CRITICAL_SECTION:"eocs",END_OF_REGISTRATION:"eor",END_OF_DEFERRED_HTML_IMPORT:"eodhi",APPLICATION_ATTACHED:"aa",DOCUMENT_LOADED:"dl",PAGE_COLD_LOADED:"pcl",CLIENT_INITIALIZED:"ci",MINIPLAYER_ATTACHED:"ma"};var Nza=new Set(["eop","eocs","dl","pcl"]);
var Qza;_.No=function(a,b,c){var d=c&&0<c?c:0;c=d?Date.now()+1E3*d:0;if((d=d?(0,_.Mo)():Qza())&&window.JSON){"string"!==typeof b&&(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
_.Oo=function(a){var b=Qza(),c=(0,_.Mo)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if("string"!==typeof d)try{d=c.get(a)}catch(e){}if("string"!==typeof d)return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
_.Po=function(a){try{var b=Qza(),c=(0,_.Mo)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
_.Mo=_.fj(function(){var a=new Tta;return a.isAvailable()?new _.km(a):null});
Qza=_.fj(function(){var a=new _.nm;return a.isAvailable()?new _.km(a):null});
var Rza=!1;
_.Ro=[];
_.Sza={};Rza||(kka(),Rza=!0);
_.Sza.InjectBehavior={initializeInjection:function(){var a=this.isInjectionRoot,b=this.provide,c=_.Qo||_.lka(this)||_.Ro[_.Ro.length-1];_.Qo=void 0;if(c||a){if(!c||b&&0<b.length){a=b||[];c=void 0===c?null:c;a=cja(a,[]).map(aja);b=new Map;for(var d=0;d<a.length;d++){var e=a[d],h=b.get(e.key.id);if(h){if(e.multiProvider!==h.multiProvider)throw Error("Nb`"+h+"`"+e);if(e.multiProvider)for(var l=0;l<e.resolvedFactories.length;l++)h.resolvedFactories.push(e.resolvedFactories[l]);else b.set(e.key.id,e)}else h=
void 0,e.multiProvider?h=new $ia(e.key,e.resolvedFactories.slice(),e.multiProvider):h=e,b.set(e.key.id,h)}a=Array.from(b.values());this.injector=new io(a,void 0===c?null:c)}else this.injector=c;a=new Set;gka(this.behaviors||[],a);c={};a=_.k(a);for(b=a.next();!b.done;b=a.next())b=b.value,b.inject&&Object.assign(c,b.inject);this.inject&&Object.assign(c,this.inject);a=_.k(Object.keys(c));for(b=a.next();!b.done;b=a.next()){b=b.value;d=c[b];try{this[b]=this.injector.get(d)}catch(m){throw m;}}this.tempInjectionInitialized&&
this.tempInjectionInitialized()}else throw c=oka(this),a=mka(),Error("Inject failed on "+c+", global hostStack "+a+", local hostStack "+nka(this));}};
_.Tza={};_.Tza.InjectBehavior=[_.Sza.InjectBehavior];
_.Uza=new Map;
var Vza,Wza,aAa,$za;
Vza={home:{"ytd-thumbnail":1,"ytd-topbar-menu-button-renderer":1,"ytd-item-section-renderer":5,"ytd-shelf-renderer":5,"yt-horizontal-list-renderer":5,"ytd-grid-video-renderer":30,"ytd-button-renderer":11,"tp-yt-paper-icon-button":7,"tp-yt-paper-button":5,"yt-formatted-string":5,"tp-yt-paper-tooltip":2,"yt-next-continuation":1,"~ytd-guide-entry-renderer":17,"~ytd-guide-signin-promo-renderer":1,"~ytd-browse":{count:1,signals:["yt-app-context","aa"]}},search:{"yt-next-continuation":1,"ytd-button-renderer":2,
"ytd-channel-renderer":2,"ytd-item-section-renderer":1,"ytd-video-renderer":20,"ytd-promoted-video-renderer":1,"ytd-search-pyv-renderer":1,"ytd-thumbnail":1,"ytd-thumbnail-overlay-time-status-renderer":20,"ytd-thumbnail-overlay-toggle-button-renderer":0,"ytd-shelf-renderer":1,"ytd-vertical-list-renderer":1,"ytd-thumbnail-overlay-hover-text-renderer":2,"ytd-thumbnail-overlay-side-panel-renderer":2,"yt-formatted-string":3,"iron-icon":1,"tp-yt-iron-icon":1,"tp-yt-paper-button":3,"tp-yt-paper-tooltip":33,
"yt-icon":1,"ytd-playlist-renderer":1,"ytd-playlist-video-thumbnail-renderer":1,"ytd-subscribe-button-renderer":1,"~ytd-artist-watch-card-renderer":1,"~ytd-search":{count:1,signals:["yt-app-context","aa"]}},watch:{"yt-next-continuation":2,"ytd-video-view-count-renderer":1,"ytd-button-renderer":3,"ytd-toggle-button-renderer":2,"ytd-menu-renderer":1,"ytd-compact-autoplay-renderer":1,"ytd-compact-video-renderer":19,"ytd-compact-promoted-video-renderer":1,"ytd-compact-playlist-renderer":1,"ytd-compact-radio-renderer":1,
"ytd-thumbnail":1,"ytd-thumbnail-overlay-time-status-renderer":20,"ytd-thumbnail-overlay-toggle-button-renderer":0,"ytd-player-legacy-desktop-watch-ads-renderer":1,"tp-yt-paper-button":20,"tp-yt-paper-icon-button":20,"tp-yt-paper-tooltip":30,"yt-formatted-string":5}};Wza={home:"eohps",search:"eosps",watch:"eowps"};_.Xza=["watch","search","home"];
_.So=function(){this.DEFAULT_DELAY_=_.w("PRECONSTRUCTION_DELAY",0);this.JSC$34861_isInitialized_=!1;this.signals_=_.Ko();this.isInitialPass_=!0;this.isSeenDuringInitialPass_={};this.JSC$34861_queue_=[];this.pendingPages_=[];this.targetPage_="";this.pagePreparerJobId_=this.fragmentJobId_=0};
_.So.prototype.init=function(a,b){if(this.JSC$34861_isInitialized_)this.abort();else if(this.JSC$34861_isInitialized_=!0,a&&_.Yza(this,a),b){var c=_.Lo(this.signals_,"pcl")?0:10,d=function(){for(var e=0,h;h=_.Xza[e++];)h!=a&&h!=b&&this.pendingPages_.push(h);_.Zza(this)}.bind(this);
this.signals_.parkOrScheduleJob(d,c,"pcl")}};
_.So.prototype.abort=function(){this.fragmentJobId_&&(_.xe.cancelJob(this.fragmentJobId_),this.fragmentJobId_=0);$za(this)};
_.Yza=function(a,b){a.JSC$34861_isInitialized_&&!a.targetPage_&&(a.targetPage_=b,aAa(a,b),a.isInitialPass_=!1,aAa(a,b),a.signals_.processSignal(Wza[a.targetPage_]),$za(a),_.Zza(a))};
_.Zza=function(a){a.pendingPages_.length&&!a.pagePreparerJobId_&&(a.pagePreparerJobId_=_.Jn(_.xe,function(){this.pagePreparerJobId_=0;this.pendingPages_.length&&!this.targetPage_&&_.Yza(this,this.pendingPages_.shift())}.bind(a),a.DEFAULT_DELAY_))};
aAa=function(a,b){if(b=Vza[b])for(var c in b){var d=!1,e=c;"~"==c.charAt(0)&&(d=!0,e=c.substring(1));var h=b[c];h="object"==typeof h?h:{count:h};b[c]=h;h.componentName=e;0<h.count&&(a.isInitialPass_?d||a.isSeenDuringInitialPass_[e]||(a.JSC$34861_queue_.push({componentName:e,count:1,signals:h.signals}),a.isSeenDuringInitialPass_[e]=!0,h.count--):a.JSC$34861_queue_.push(h))}};
$za=function(a){a.JSC$34861_queue_.length=0;a.targetPage_="";a.isInitialPass_=!0;a.signals_.processSignal("eop")};
_.So.getInstance=function(){return _.gm(_.So)};
var Gla=function(a,b){Vn.call(this,1,arguments);this.timer=b};
_.q(Gla,Vn);var Fla=new Ie("aft-recorded",Gla);
var To=function(){this.signals=_.Ko();this.init()};
To.prototype.startPreconstruction=function(){_.So.getInstance().init(_.fd("IS_HOMEPAGE_COLD")?"home":null,"n/a")};
To.prototype.init=function(){bAa(this);window.Polymer&&Yva&&fka();this.signals.parkOrScheduleJob(this.startPreconstruction,10,"eor");a:{var a=_.g.ytcsi;if(a&&a.gt&&(a=a.gt())&&a.tick&&(0<a.tick.aft||0<a.tick.pbs)&&(_.fd("IS_HOMEPAGE_COLD")||_.fd("IS_RESULTS_PAGE_COLD")||_.fd("IS_WATCH_PAGE_COLD"))){cAa(this);break a}_.Jga(Fla,this.onNotifications,this)}};
var bAa=function(a){var b=function(){a.signals.processSignal("dl")};
"complete"===document.readyState?(_.md(Error("cc"),"WARNING"),b()):_.ao(window,"load",b)};
To.prototype.onNotifications=function(a){a.timer||(_.fd("IS_HOMEPAGE_COLD")||_.fd("IS_RESULTS_PAGE_COLD")||_.fd("IS_WATCH_PAGE_COLD"))&&cAa(this)};
var cAa=function(a){a.signals.parkOrScheduleJob(function(){a.signals.processSignal("eocs")},10,"eor")};
new To;
_.Uo=function(a,b){b=void 0===b?[]:b;var c=void 0===c?[]:c;b=hea.apply(null,[iea.apply(null,_.sc(b))].concat(_.sc(c)));this.store=mea(a,void 0,b)};
_.Uo.prototype.getState=function(){return this.store.getState()};
_.Uo.prototype.dispatch=function(a){return this.store.dispatch(a)};
_.Uo.prototype.subscribe=function(a){return this.store.subscribe(a)};
_.Uo.prototype.replaceReducer=function(a){return this.store.replaceReducer(a)};
_.Uo.prototype[Symbol.observable]=function(){return this.store[Symbol.observable]()};
var dAa=_.Yc({additionalContext:function(a,b){switch(b.type){case "CHANNEL_REPORT_RESET":return"";case "ADDITIONAL_CONTEXT_UPDATED":var c;return null!=(c=b.payload)?c:"";default:return void 0===a?"":a}},
impersonatedChannelUrl:function(a,b){switch(b.type){case "CHANNEL_REPORT_RESET":return"";case "IMPERSONATED_CHANNEL_URL_UPDATED":var c;return null!=(c=b.payload)?c:"";default:return void 0===a?"":a}},
selectedVideoIds:function(a,b){a=void 0===a?{}:a;switch(b.type){case "CHANNEL_REPORT_RESET":return{};case "VIDEO_SELECTED":var c={};return Object.assign({},a,(c[b.payload]=!0,c));case "VIDEO_UNSELECTED":return b=b.payload,a=Object.assign({},a),delete a[b],a;default:return a}}});
var eAa=function(){return function(a){return function(b){var c=a(b);_.C(document.documentElement,"yt-forward-redux-action-to-live-chat-iframe",[b],!0);return c}}};
_.fAa=new _.dk;_.th=new xo("WATCH_PLAYER_PROMISE_TOKEN");_.gAa=new _.dk;_.hAa=new xo("SHORTS_PLAYER_PROMISE_TOKEN");
var iAa=function(){return function(a){return function(b){"ENTITY_LOADED"===b.type&&_.Eg().resolve(_.th).then(function(c){var d;null==(d=c.dispatchReduxAction)||d.call(c,b)});
return a(b)}}};
var jAa=_.Yc({parentClickTrackingParams:function(a,b){switch(b.type){case "SET_PARENT_CLICK_TRACKING_PARAMS":return b.payload.parentClickTrackingParams;case "CLEAR_PARENT_CLICK_TRACKING_PARAMS":return"";default:return void 0===a?"":a}}});
var kAa=_.Yc({isShortsActive:function(a,b){switch(b.type){case "SET_IS_SHORTS_ACTIVE":return b.payload.isShortsActive;default:return void 0===a?!1:a}},
isWatchWhileMode:function(a,b){switch(b.type){case "SET_IS_WATCH_WHILE_MODE":return b.payload.isWatchWhileMode;default:return void 0===a?!1:a}}});
_.Qma=function(a){return _.Rg({type:"SET_CURRENT_PAGE_TYPE",payload:a})};
var lAa={scrollAtTop:!0,guideIsExpanded:!1,guideIsVisibleButNotPersistent:!1,miniplayerIsActive:!1,miniplayerPlaybackState:-1,richGridMiniMode:!1,richGridItemsPerRow:4,richGridWatchStatus:"inactive",currentPageType:"WEB_PAGE_TYPE_UNKNOWN",inlinePreviewIsActive:!1,inlinePreviewIsEnabled:!0,darkModeIsEnabled:!1,tabGesturesIsActive:!1};
var mAa={width:0,height:0};
var nAa=_.Yc({isTheaterMode:function(a,b){switch(b.type){case "SET_IS_THEATER_MODE":return b.payload.isTheaterMode;default:return void 0===a?!1:a}},
isWatchActive:function(a,b){switch(b.type){case "SET_IS_WATCH_ACTIVE":return b.payload.isWatchActive;default:return void 0===a?!1:a}},
isWatchFullscreen:function(a,b){switch(b.type){case "SET_IS_WATCH_FULLSCREEN":return b.payload.isWatchFullscreen;default:return void 0===a?!1:a}},
isWatchNarrowWidth:function(a,b){switch(b.type){case "SET_IS_WATCH_NARROW_WIDTH":return b.payload.isWatchNarrowWidth;default:return void 0===a?!1:a}},
watchScrollTop:function(a,b){switch(b.type){case "SET_WATCH_SCROLL_TOP":return b.payload.watchScrollTop;default:return void 0===a?0:a}},
watchWindowSize:function(a,b){a=void 0===a?mAa:a;switch(b.type){case "SET_WATCH_WINDOW_SIZE":return b.payload.watchWindowSize;default:return a}}});
var oAa=_.Yc({surveyFeedbackData:function(a,b){a=void 0===a?{feedbackTokens:[]}:a;switch(b.type){case "YPC_UPDATE_SURVEY_FEEDBACK_DATA":return b.payload;case "YPC_UPDATE_PARTIAL_SURVEY_FEEDBACK_DATA":return Object.assign({},a,b.payload);default:return a}}});
var pAa=_.Yc({isLeaderTab:function(a,b){switch(b.type){case "SET_IS_LEADER_TAB":return b.payload.isLeaderTab;default:return void 0===a?!0:a}}});
var Yka=function(a){return _.Rg({type:"REPLACE_ENTITIES",payload:a})};
var Sg=function(a){var b=this;a=void 0===a?[]:a;this.arrays=[];this.totalLength=this.arrayPos=this.arrayIdx=0;a.forEach(function(c){b.append(c)})};
Sg.prototype.append=function(a){var b=0===this.arrays.length?!1:(b=this.arrays[this.arrays.length-1])&&b.buffer===a.buffer&&b.byteOffset+b.length===a.byteOffset;b?(b=this.arrays[this.arrays.length-1],this.arrays[this.arrays.length-1]=new Uint8Array(b.buffer,b.byteOffset,b.length+a.length),this.arrayPos=this.arrayIdx=0):this.arrays.push(a);this.totalLength+=a.length};
Sg.prototype.split=function(a){for(var b=new Sg,c=new Sg,d=_.k(this.arrays),e=d.next();!e.done;e=d.next())e=e.value,a>=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{headView:b,tailView:c}};
Sg.prototype.isFocused=function(a){return a>=this.arrayPos&&a<this.arrayPos+this.arrays[this.arrayIdx].length};
Sg.prototype.focus=function(a){if(!this.isFocused(a))for(a<this.arrayPos&&(this.arrayPos=this.arrayIdx=0);this.arrayPos+this.arrays[this.arrayIdx].length<=a&&this.arrayIdx<this.arrays.length;)this.arrayPos+=this.arrays[this.arrayIdx].length,this.arrayIdx+=1};
var qAa=function(a,b){a.focus(b);return a.arrays[a.arrayIdx][b-a.arrayPos]};
(function(){var a=function(d){return new Uint8Array(d)},b=function(d){for(var e=new Uint8Array(d.length),h=0;h<d.length;h++)e[h]=d[h];
return e},c=new Uint8Array([1]);
return 1===c.length&&1===c[0]?a:b})();
var Vo=Array(1024),vka=function(a){if(!a.length)return"";try{if(rAa)return rAa.decode(a);if("FetchInternal"in window)return FetchInternal.decodeFromUTF8(a)}catch(l){}for(var b=0,c=[],d=a.length;b<d;){for(var e=0;1024>e&&b<d;){var h=a[b++];if(128>h)Vo[e++]=h;else{if(224>h)h=(h&31)<<6|a[b++]&63;else if(240>h)h=(h&15)<<12|(a[b++]&63)<<6|a[b++]&63;else{if(1024===e+1){--b;break}h=(h&7)<<18|(a[b++]&63)<<12|(a[b++]&63)<<6|a[b++]&63;h-=65536;Vo[e++]=55296|h>>10;h=56320|h&1023}Vo[e++]=h}}h=String.fromCharCode.apply(String,
Vo);1024>e&&(h=h.substr(0,e));c.push(h)}return c.join("")},rAa=window.TextDecoder?new TextDecoder:void 0,qka=window.TextEncoder?new TextEncoder:void 0;
var ska=function(a){this.arrayView=a;this.JSC$34907_pos=0;this.pendingTagAndType=-1},Tg=function(a){var b=qAa(a.arrayView,a.JSC$34907_pos);
++a.JSC$34907_pos;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=qAa(a.arrayView,a.JSC$34907_pos),++a.JSC$34907_pos,d*=128,c+=(b&127)*d;return c},uka=function(a,b){var c=a.pendingTagAndType;
for(a.pendingTagAndType=-1;a.JSC$34907_pos+1<=a.arrayView.totalLength;){0>c&&(c=Tg(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.pendingTagAndType=c;break}c=-1;switch(e){case 0:Tg(a);break;case 1:a.JSC$34907_pos+=8;break;case 2:d=Tg(a);a.JSC$34907_pos+=d;break;case 5:a.JSC$34907_pos+=4}}return!1};
var Wo,Vg;_.xka=function(){this.JSC$34910_pos=0;this.submessagePosStack=[];this.buf=new Uint8Array(4096);this.view=new DataView(this.buf.buffer)};
Wo=function(a,b){b=a.JSC$34910_pos+b;if(!(a.buf.length>=b)){for(var c=2*a.buf.length;c<b;)c*=2;b=new Uint8Array(c);b.set(a.buf.subarray(0,a.JSC$34910_pos));a.buf=b;a.view=new DataView(a.buf.buffer)}};
Vg=function(a,b){if(268435455<b){Wo(a,4);for(var c=b&1073741823,d=0;4>d;d++)a.view.setUint8(a.JSC$34910_pos,c&127|128),c>>=7,a.JSC$34910_pos+=1;b=Math.floor(b/268435456)}for(Wo(a,4);127<b;)a.view.setUint8(a.JSC$34910_pos,b&127|128),b>>=7,a.JSC$34910_pos+=1;a.view.setUint8(a.JSC$34910_pos,b);a.JSC$34910_pos+=1};
_.yka=function(a,b,c){if(void 0!==c){var d=Math.ceil(Math.log2(4*c.length+2)/7);d=void 0===d?2:d;Vg(a,b<<3|2);a.submessagePosStack.push(a.JSC$34910_pos);a.submessagePosStack.push(d);a.JSC$34910_pos+=d;Wo(a,1.2*c.length);b=rka(c,a.buf.subarray(a.JSC$34910_pos));a.JSC$34910_pos+b>a.buf.length&&(Wo(a,b),b=rka(c,a.buf.subarray(a.JSC$34910_pos)));a.JSC$34910_pos+=b;c=a.submessagePosStack.pop();b=a.submessagePosStack.pop();for(d=a.JSC$34910_pos-b-c;c--;){var e=c?128:0;a.view.setUint8(b++,d&127|e);d>>=7}}};
for(var zka={buttonEntity:358,captionTrack:225,channelHandle:275,commerceCartListEntity:236,downloadQualityPickerEntity:202,fakeChannel:2,fakePlaylist:279,fakePlaylistEntryCollection:280,fakeVideo:182,fakeVideoDescription:278,iconBadgeEntity:229,liveChatPollStateEntity:217,logoEntity:245,mainPlaylistEntity:306,mainVideoDownloadStateEntity:262,mainVideoEntity:261,markersVisibilityOverrideEntity:312,offlineOrchestrationActionWrapperEntity:169,offlineVideoPolicy:130,offlineVideoStreams:198,offlineabilityEntity:246,
orchestrationWebSamplingEntity:242,pinnedProductEntity:273,playbackData:119,transfer:120,videoPlaybackPositionEntity:76,ytMainChannelEntity:152,ytMainDownloadedVideoEntity:155,ytMainVideoEntity:151},wka={},sAa=_.k(Object.entries(zka)),tAa=sAa.next();!tAa.done;tAa=sAa.next()){var uAa=_.k(tAa.value),vAa=uAa.next().value,wAa=uAa.next().value,xAa=vAa,yAa=wAa;yAa&&(wka[yAa]=xAa)}
;var Xo=function(a){return window.Int32Array?new Int32Array(a):Array(a)},zAa=!1,Yo,Zo,$o,ap,bp,AAa=function(a){this.counter=[0,
0,0,0];this.cipherBlock=new Uint8Array(16);this.blockOffset=16;if(!zAa){var b,c=new Uint8Array(256),d=new Uint8Array(256);var e=1;for(b=0;256>b;b++)c[e]=b,d[b]=e,e^=e<<1^(e>>7&&283);Yo=new Uint8Array(256);Zo=Xo(256);$o=Xo(256);ap=Xo(256);bp=Xo(256);for(var h=0;256>h;h++){e=h?d[255^c[h]]:0;e^=e<<1^e<<2^e<<3^e<<4;e=e&255^e>>>8^99;Yo[h]=e;b=e<<1^(e>>7&&283);var l=b^e;Zo[h]=b<<24|e<<16|e<<8|l;$o[h]=l<<24|Zo[h]>>>8;ap[h]=e<<24|$o[h]>>>8;bp[h]=e<<24|ap[h]>>>8}zAa=!0}e=Xo(44);for(c=0;4>c;c++)e[c]=a[4*c]<<
24|a[4*c+1]<<16|a[4*c+2]<<8|a[4*c+3];for(d=1;44>c;c++)a=e[c-1],c%4||(a=(Yo[a>>16&255]^d)<<24|Yo[a>>8&255]<<16|Yo[a&255]<<8|Yo[a>>>24],d=d<<1^(d>>7&&283)),e[c]=e[c-4]^a;this.key=e};
AAa.prototype.encrypt=function(a){var b=a.length;a=new Uint8Array(a.buffer.slice(a.byteOffset,a.byteOffset+b));for(var c=this.cipherBlock,d=0;d<b&&16>this.blockOffset;)a[d++]^=c[this.blockOffset++];for(var e=b-(b-d)%16;d<e;)BAa(this),a[d++]^=c[0],a[d++]^=c[1],a[d++]^=c[2],a[d++]^=c[3],a[d++]^=c[4],a[d++]^=c[5],a[d++]^=c[6],a[d++]^=c[7],a[d++]^=c[8],a[d++]^=c[9],a[d++]^=c[10],a[d++]^=c[11],a[d++]^=c[12],a[d++]^=c[13],a[d++]^=c[14],a[d++]^=c[15];if(d<b)for(BAa(this),this.blockOffset=0;d<b;)a[d++]^=
c[this.blockOffset++];return a};
var CAa=function(a,b){for(var c=0;4>c;c++)a.counter[c]=b[4*c]<<24|b[4*c+1]<<16|b[4*c+2]<<8|b[4*c+3];a.blockOffset=16},BAa=function(a){for(var b=a.key,c=a.counter[0]^b[0],d=a.counter[1]^b[1],e=a.counter[2]^b[2],h=a.counter[3]^b[3],l=3;0<=l&&!(a.counter[l]=-~a.counter[l]);l--);
for(var m,p,r=4;40>r;)l=Zo[c>>>24]^$o[d>>16&255]^ap[e>>8&255]^bp[h&255]^b[r++],m=Zo[d>>>24]^$o[e>>16&255]^ap[h>>8&255]^bp[c&255]^b[r++],p=Zo[e>>>24]^$o[h>>16&255]^ap[c>>8&255]^bp[d&255]^b[r++],h=Zo[h>>>24]^$o[c>>16&255]^ap[d>>8&255]^bp[e&255]^b[r++],c=l,d=m,e=p;a=a.cipherBlock;l=b[40];a[0]=Yo[c>>>24]^l>>>24;a[1]=Yo[d>>16&255]^l>>16&255;a[2]=Yo[e>>8&255]^l>>8&255;a[3]=Yo[h&255]^l&255;l=b[41];a[4]=Yo[d>>>24]^l>>>24;a[5]=Yo[e>>16&255]^l>>16&255;a[6]=Yo[h>>8&255]^l>>8&255;a[7]=Yo[c&255]^l&255;l=b[42];
a[8]=Yo[e>>>24]^l>>>24;a[9]=Yo[h>>16&255]^l>>16&255;a[10]=Yo[c>>8&255]^l>>8&255;a[11]=Yo[d&255]^l&255;l=b[43];a[12]=Yo[h>>>24]^l>>>24;a[13]=Yo[c>>16&255]^l>>16&255;a[14]=Yo[d>>8&255]^l>>8&255;a[15]=Yo[e&255]^l&255};
var DAa=!1;(function(){var a=function(d){return new Uint8Array(d)},b=function(d){for(var e=new Uint8Array(d.length),h=0;h<d.length;h++)e[h]=d[h];
return e},c=new Uint8Array([1]);
return 1===c.length&&1===c[0]?a:b})();
var cp;
var EAa=function(a){this.JSC$34927_aesKey=a};
EAa.prototype.encrypt=function(a,b){var c=this,d,e;return _.y(function(h){if(1==h.nextAddress){a:{if(!DAa&&!_.Ce){if(cp){var l=cp;break a}cp=null==(l=window.crypto)?void 0:l.subtle;var m,p,r;if((null==(m=cp)?0:m.importKey)&&(null==(p=cp)?0:p.sign)&&(null==(r=cp)?0:r.encrypt)){l=cp;break a}cp=void 0}l=void 0}d=l;if(!d)return h.return(FAa(c,a,b));_.se(h,3);return _.B(h,GAa(c,a,b,d),5)}if(3!=h.nextAddress)return h.return(h.yieldResult);e=_.ue(h);_.Rf(e);DAa=!0;return h.return(FAa(c,a,b))})};
var GAa=function(a,b,c,d){var e,h,l;return _.y(function(m){switch(m.nextAddress){case 1:if(a.cryptoKey){m.jumpTo(2);break}e=a;return _.B(m,d.importKey("raw",a.JSC$34927_aesKey,{name:"AES-CTR"},!1,["encrypt"]),3);case 3:e.cryptoKey=m.yieldResult;case 2:return h={name:"AES-CTR",counter:c,length:128},_.B(m,d.encrypt(h,a.cryptoKey,b),4);case 4:return l=m.yieldResult,m.return(new Uint8Array(l))}})},FAa=function(a,b,c){a.encryptorPolyfill||(a.encryptorPolyfill=new AAa(a.JSC$34927_aesKey));
CAa(a.encryptorPolyfill,c);return a.encryptorPolyfill.encrypt(b)},HAa=function(a){this.JSC$34931_aesKey=a};
HAa.prototype.encrypt=function(a,b){this.encryptor||(this.encryptor=new AAa(this.JSC$34931_aesKey));CAa(this.encryptor,b);return this.encryptor.encrypt(a)};
var IAa={},Dka=_.Ke("yt-idb-pref-storage",{objectStores:(IAa.prefs={addedAtVersion:1},IAa),shared:!1,upgrade:function(a,b){b(1)&&Ne(_.Me(a,"prefs",{keyPath:"key"}),"byExpiration","expirationTimestampMs")},
version:1});
_.dp=function(a){this.token=a};
_.dp.getInstance=function(){return _.y(function(a){return a.return(new Promise(function(b){_.Ge().then(function(c){c?(_.dp.instance||(_.dp.instance=new _.dp(c)),b(_.dp.instance)):b(void 0)})}))})};
_.dp.prototype.get=function(a){var b=this,c,d,e;return _.y(function(h){if(1==h.nextAddress)return _.B(h,Eka(b.token),2);if(3!=h.nextAddress)return c=h.yieldResult,_.B(h,c.get("prefs",a),3);d=h.yieldResult;if(!d)return h.return();e=(0,_.Yd)();return d.expirationTimestampMs<=e?h.return():h.return(d.value)})};
_.dp.prototype.set=function(a,b,c){c=void 0===c?31536E3:c;var d=this,e,h,l;return _.y(function(m){if(1==m.nextAddress)return e=(0,_.Yd)(),h={key:a,value:b,expirationTimestampMs:e+1E3*c},_.B(m,Eka(d.token),2);l=m.yieldResult;return _.B(m,l.put("prefs",h),0)})};
_.dp.prototype.remove=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,Eka(b.token),2);c=d.yieldResult;return _.B(d,c.delete("prefs",a),0)})};
var ep={},JAa=(ep.INVALID_ENCODER_VERSION="Invalid encoder version",ep.KEY_CREATION_FAILED="Failed to create encoder key",ep.UNKNOWN_DECODE_ERROR="Failed to decode PES data",ep.UNKNOWN_ENCODE_ERROR="Failed to encode PES data",ep.WRONG_DATA_TYPE="Encoder cannot process the data type",ep),Zg=function(a,b){b=void 0===b?{}:b;_.ge.call(this,JAa[a],Object.assign({},{name:"PESEncoderError",type:a},b));this.type=a;this.level="WARNING";Object.setPrototypeOf(this,Zg.prototype)};
_.q(Zg,_.ge);
var KAa=function(){},LAa=function(a,b,c){try{return a.encodeImpl(b,c)}catch(d){Ika(d,Gka)}},Mka=function(a,b,c){try{return a.decodeImpl(b,c)}catch(d){Ika(d,Hka)}},MAa=function(a,b,c){var d;
return _.y(function(e){if(1==e.nextAddress)return _.se(e,2),_.B(e,a.decodeAsyncImpl(b,c),4);if(2!=e.nextAddress)return e.return(e.yieldResult);d=_.ue(e);Ika(d,Hka);_.bf(e)})};
KAa.prototype.decodeAsyncImpl=function(a,b){return Promise.resolve(this.decodeImpl(a,b))};
var fp=function(a,b){this.aesEncryptor=a;this.aesEncryptorAsync=b};
_.q(fp,KAa);fp.prototype.encodeImpl=function(a,b){b=$g(b);a=(new TextEncoder).encode(JSON.stringify(a));return this.aesEncryptor.encrypt(a,b)};
fp.prototype.decodeImpl=function(a,b){if(!(a instanceof Uint8Array))throw Fka(1);var c=new TextDecoder;b=$g(b);a=this.aesEncryptor.encrypt(a,b);return JSON.parse(c.decode(a))};
fp.prototype.decodeAsyncImpl=function(a,b){var c=this,d,e,h;return _.y(function(l){if(1==l.nextAddress){if(!(a instanceof Uint8Array))throw Fka(1);d=new TextDecoder;e=$g(b);return _.B(l,c.aesEncryptorAsync.encrypt(a,e),2)}h=l.yieldResult;return l.return(JSON.parse(d.decode(h)))})};
var gp=function(){};
_.q(gp,KAa);gp.prototype.encodeImpl=function(a){return a};
gp.prototype.decodeImpl=function(a){if(a instanceof Uint8Array)throw Fka(0);return a};
var Lka=function(){this.cacheMap={};this.cacheMap[0]=new gp;if(!_.x("aes_pes_encoder_killswitch")){var a=this.cacheMap;try{var b=_.ee();var c=$g(b);var d=new fp(new HAa(c),new EAa(c))}catch(e){throw a=e instanceof Error?new Zg("KEY_CREATION_FAILED",{originalMessage:e.message}):new Zg("KEY_CREATION_FAILED"),_.Qf(a),a;}a[1]=d}},ah=function(a,b){b=void 0===b?0:b;
a=a.cacheMap[b];if(!a)throw b=new Zg("INVALID_ENCODER_VERSION",{encoderVersion:b}),_.Qf(b),b;return a};
var Jka={buttonEntity:Axa,captionTrack:uxa,channelHandle:$wa,commerceCartListEntity:Cxa,downloadQualityPickerEntity:ixa,fakeChannel:axa,fakePlaylist:bxa,fakePlaylistEntryCollection:cxa,fakeVideo:exa,fakeVideoDescription:fxa,iconBadgeEntity:Dxa,liveChatPollStateEntity:hxa,logoEntity:gxa,mainPlaylistEntity:nxa,mainVideoDownloadStateEntity:jxa,mainVideoEntity:pxa,markersVisibilityOverrideEntity:sxa,offlineOrchestrationActionWrapperEntity:vxa,offlineVideoPolicy:wxa,offlineVideoStreams:xxa,offlineabilityEntity:kxa,
orchestrationWebSamplingEntity:lxa,pinnedProductEntity:txa,playbackData:yxa,transfer:zxa,videoPlaybackPositionEntity:Bxa,ytMainChannelEntity:qxa,ytMainDownloadedVideoEntity:mxa,ytMainVideoEntity:rxa};
var bh;
var NAa=function(a,b){this.JSC$34957_wrapped=a;this.JSC$34957_encoderRegistry=b;this.changedKeys={}},OAa=function(a,b){return Mka(ah(a.JSC$34957_encoderRegistry,b.version),b.data,b.key)},PAa=function(a,b,c){return a.JSC$34957_wrapped.objectStore("EntityStore").get(b).then(function(d){if(d){if(c&&d.entityType!==c)throw Error("fc");
return OAa(a,d)}})},gh=function(a,b,c){return c?(c=c.map(function(d){return PAa(a,d,b)}),me.all(c)):qwa(a.JSC$34957_wrapped.objectStore("EntityStore").index("entityType"),IDBKeyRange.only(b)).then(function(d){return d.map(function(e){return OAa(a,e)})})},Uka=function(a,b,c){var d=Aka(b),e=ah(a.JSC$34957_encoderRegistry,1),h={key:d,
entityType:c,data:LAa(e,b,d),version:1};return a.JSC$34957_wrapped.objectStore("EntityStore").get(d).then(function(l){if(l&&l.entityType!==c)throw Error("fc");}).then(function(){return me.all([a.JSC$34957_wrapped.objectStore("EntityStore").put(h),
QAa(a,b,c)])}).then(function(){RAa(a,d,c);
return d})},Vka=function(a,b){var c=Ug(b).entityType;
return me.all([a.JSC$34957_wrapped.objectStore("EntityStore").delete(b),SAa(a,b)]).then(function(){RAa(a,b,c)})},Wka=function(a,b,c,d){var e=ah(a.JSC$34957_encoderRegistry,1);
return PAa(a,b,d).then(function(h){if(h){h=pka(h,c);var l={key:b,entityType:d,data:LAa(e,h,b),version:1};return me.all([a.JSC$34957_wrapped.objectStore("EntityStore").put(l),QAa(a,h,d)])}}).then(function(){RAa(a,b,d);
return b})},RAa=function(a,b,c){var d=a.changedKeys[c];
d||(d=new Set,a.changedKeys[c]=d);d.add(b)},TAa=function(a,b,c){var d=Aka(b);
c=Kka(c);if(!c)return me.resolve([]);c=new c(b);a=a.JSC$34957_wrapped.objectStore("EntityAssociationStore");b=[];c=_.k(c.getAssociations());for(var e=c.next();!e.done;e=c.next())b.push(a.put({parentEntityKey:d,childEntityKey:e.value}));return me.all(b).then(function(h){return h.map(function(l){return l[1]})})},SAa=function(a,b){return a.JSC$34957_wrapped.objectStore("EntityAssociationStore").index("byParentEntityKey").delete(IDBKeyRange.only(b))},QAa=function(a,b,c){var d=Aka(b);
return SAa(a,d).then(function(){return TAa(a,b,c)})};
var dh=function(a,b){_.uk.call(this);this.token=a;this.JSC$34965_encoderRegistry=b;this.observers=[];a=new _.g.BroadcastChannel("PERSISTENT_ENTITY_STORE_SYNC:"+_.ee());a.onmessage=this.JSC$34965_handleMessage.bind(this);this.channel=a};
_.q(dh,_.uk);var fh=function(a,b,c){var d,e,h,l;return _.y(function(m){if(1==m.nextAddress)return _.B(m,Pka(a.token),2);if(3!=m.nextAddress)return d=m.yieldResult,_.B(m,_.ze(d,["EntityStore","EntityAssociationStore"],b,function(p){e=new NAa(p,a.JSC$34965_encoderRegistry);return c(e)}),3);
h=m.yieldResult;e&&(l=e.changedKeys,0<Object.keys(l).length&&(a.channel.postMessage(l),UAa(a,l)));return m.return(h)})};
dh.prototype.observe=function(a){var b=this;this.observers.push(a);return function(){var c=b.observers.indexOf(a);0<=c&&b.observers.splice(c,1)}};
var Cma=function(a){var b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,fh(a,{mode:"readonly",enableRetries:!0},function(d){d=d.JSC$34957_wrapped.objectStore("EntityStore");return"getAll"in IDBObjectStore.prototype?oe(d.JSC$33648_wrapped.getAll(void 0,void 0)):owa(d)}),2);
b=c.yieldResult;return c.return(Promise.all(b.filter(function(d){return!!d}).map(function(d){var e,h;
return _.y(function(l){if(1==l.nextAddress){e=d.key;h=d.entityType;var m=MAa(ah(a.JSC$34965_encoderRegistry,d.version),d.data,d.key);return _.B(l,m,2)}return l.return({key:e,entityType:h,data:l.yieldResult})})})))})};
dh.prototype.JSC$34965_handleMessage=function(a){UAa(this,a.data)};
var UAa=function(a,b){a=_.k(a.observers);for(var c=a.next();!c.done;c=a.next())c=c.value,c=c(b),VAa&&c&&VAa.push(c)};
dh.prototype.disposeInternal=function(){this.channel.close()};
var Qka,VAa=void 0;
var WAa;
WAa=_.Yc({entities:_.Cka,download:pAa,reportChannelAbuse:dAa,share:jAa,ui:function(a,b){a=void 0===a?lAa:a;switch(b.type){case "SET_GUIDE_IS_EXPANDED":return Object.assign({},a,{guideIsExpanded:b.payload});case "SET_SCROLL_AT_TOP":return Object.assign({},a,{scrollAtTop:b.payload});case "SET_GUIDE_IS_VISIBLE_BUT_NOT_PERSISTENT":return Object.assign({},a,{guideIsVisibleButNotPersistent:b.payload});case "SET_MINIPLAYER_IS_ACTIVE":return Object.assign({},a,{miniplayerIsActive:b.payload});case "SET_RICH_GRID_MINI_MODE":return Object.assign({},a,
{richGridMiniMode:b.payload});case "SET_RICH_GRID_ITEMS_PER_ROW":return Object.assign({},a,{richGridItemsPerRow:b.payload});case "SET_RICH_GRID_WATCH_STATUS":return Object.assign({},a,{richGridWatchStatus:b.payload});case "SET_CURRENT_PAGE_TYPE":return Object.assign({},a,{currentPageType:b.payload});case "SET_INLINE_PREVIEW_IS_ACTIVE":return Object.assign({},a,{inlinePreviewIsActive:b.payload});case "SET_INLINE_PREVIEW_IS_ENABLED":return Object.assign({},a,{inlinePreviewIsEnabled:b.payload});case "SET_DARK_MODE_IS_ENABLED":return Object.assign({},
a,{darkModeIsEnabled:b.payload});case "SET_MINIPLAYER_PLAYBACK_STATE":return Object.assign({},a,{miniplayerPlaybackState:b.payload});case "SET_TAB_GESTURES_IS_ACTIVE":return Object.assign({},a,{tabGesturesIsActive:b.payload});default:return a}},
voiceSearch:function(a,b){a=void 0===a?{}:a;switch(b.type){case "SET_TRANSCRIPTION_STATE":return Object.assign({},a,{transcription:b.payload});case "SET_OVERLAY_STATE":return Object.assign({},a,{overlay:b.payload});case "RESET_VOICE_SEARCH_STATE":return{};default:return a}},
watch:nAa,ypc:oAa,shorts:kAa});_.hh=_.x("web_player_entities_middleware")?new _.Uo(WAa,[eAa,iAa]):new _.Uo(WAa,[eAa]);
_.hp=_.ala("FEwhat_to_watch","/",3854);_.ji=_.ala("FEdownloads","/feed/downloads",42352);
var XAa={CAPTION_TRACK:"captionTrack",DEPRECATED_MAIN_DOWNLOADED_VIDEO:"ytMainDownloadedVideoEntity",DEPRECATED_MAIN_VIDEO:"ytMainVideoEntity",MAIN_CHANNEL:"ytMainChannelEntity",MAIN_VIDEO:"mainVideoEntity",MAIN_VIDEO_DOWNLOAD_STATE:"mainVideoDownloadStateEntity",OFFLINE_ACTION:"offlineOrchestrationActionWrapperEntity",OFFLINE_VIDEO_POLICY:"offlineVideoPolicy",OFFLINE_VIDEO_STREAMS:"offlineVideoStreams",PLAYBACK_DATA:"playbackData",SAMPLING:"orchestrationWebSamplingEntity",TRANSFER:"transfer"};
var dla=["TRANSFER_STATE_COMPLETE","TRANSFER_STATE_FAILED","TRANSFER_STATE_TRANSFER_IN_QUEUE","TRANSFER_STATE_PAUSED_BY_USER","TRANSFER_STATE_TRANSFERRING"];
var kla=["APP_STATE","PI"];
var YAa=_.Pi(["about:blank"]),ZAa={pushState:window.history.pushState,replaceState:window.history.replaceState};
var ip=function(a){this.initialized=!1;this.internalReplaceState=this.internalPushState=null;this.history=a;this.internalPushState=a.pushState.bind(a);this.internalReplaceState=a.replaceState.bind(a)};
ip.prototype.init=function(){this.initialized=!0};
ip.prototype.pushState=function(a,b){this.initialized||this.init();this.internalPushState&&this.internalPushState(a,"",b)};
ip.prototype.replaceState=function(a,b){this.initialized||this.init();this.internalReplaceState&&this.internalReplaceState(a,"",b)};
ip.prototype.getState=function(){return this.history&&this.history.state};
var $Aa=function(a){var b=function(){var c=a.apply(this,arguments)||this;c.boundHistoryPushState=!1;c.boundHistoryReplaceState=!1;c.debugInfo={};return c};
_.q(b,a);b.prototype.init=function(){var c=_.Gb("IFRAME");_.Cb(c,_.Pb(YAa));c.style.display="none";this.iframe=c;document.body.appendChild(c);this.bindHistoryStateFunctions();a.prototype.init.call(this)};
b.prototype.bindHistoryStateFunctions=function(){var c=this,d=[],e;this.iframe&&(null==(e=this.iframe.contentWindow)?0:e.history)&&(e=this.iframe.contentWindow.history)&&(d.push(e),e.__proto__&&d.push(e.__proto__));window.history&&d.push(window.history);e=window.history;e.__proto__&&d.push(e.__proto__);d.push(ZAa);e=function(l){for(var m=null,p=0;p<d.length;p++){var r=d[p][l];if("function"===typeof r){m=r.bind(window.history);c.debugInfo[l]=p;break}}return m};
if(!this.boundHistoryReplaceState){var h=e("replaceState");h&&(this.internalReplaceState=h,this.boundHistoryReplaceState=!0)}!this.boundHistoryPushState&&(e=e("pushState"))&&(this.internalPushState=e,this.boundHistoryPushState=!0)};
return b}(ip),aBa=function(){return $Aa.call(this,window.history)||this};
_.q(aBa,$Aa);aBa.prototype.getThirdPartyManipulationSuspected=function(){return this.initialized&&this.boundHistoryPushState!==this.boundHistoryReplaceState};
var ola={UNKNOWN:"unknown",BROWSE:"browse",SEARCH:"search",WATCH:"watch"};
var jp=function(a){this.browserHistory=a;this.initialized=!1};
jp.prototype.init=function(){this.initialized||(this.browserHistory.init(),this.initialized=!0,window.addEventListener("popstate",this.handlePopstate.bind(this)))};
jp.prototype.pushState=function(a,b){this.initialized||this.init();this.browserHistory.pushState(a,b)};
jp.prototype.replaceState=function(a,b){this.initialized||this.init();this.browserHistory.replaceState(a,b)};
jp.prototype.handlePopstate=function(a){return a.state};
_.bBa=function(a,b,c,d,e){this.endpoint=a;this.forward=b;this.historyEntry=c;this.savedComponentState=d;this.legacyBorder=void 0===e?!1:e};
_.cBa=function(a,b){this.rootData=a;this.scrollTop=b};
var Ki=new xo("PAGE_REQUEST_TOKEN"),dBa=new xo("FETCH_PBJ_TOKEN");
_.kp=new xo("EPHEMERAL_STORE_TOKEN");
_.lp=function(a){this.data=Object.assign({},a);var b;null==(b=this.data.innertubeResponse)||delete b.frameworkUpdates};
_.lp.prototype.isExpired=function(){return Number(this.data.expireTimestampMs||0)<(0,_.Yd)()};
var oi=function(a){return Object.assign({},a.data.innertubeResponse)};
_.mp=function(a){this.maxSize=a;this.timeToDataCache=new Map};
_.mp.prototype.get=function(a){var b=this.timeToDataCache.get(a);b&&(this.timeToDataCache.delete(a),this.timeToDataCache.set(a,b));if(b&&b.rootData&&_.x("web_use_response_store_for_history_cache")){var c=_.Eg().resolve(_.kp),d=eBa(b),e=!0;if(d.content){var h=np(c,d.content);e&&h?b.rootData.response=oi(h):e=!1}d.player&&(h=np(c,d.player),e&&h?b.rootData.playerResponse=oi(h):e=!1);d.reelSequence&&(c=np(c,d.reelSequence),e&&c?b.rootData.reelWatchSequenceResponse=oi(c):e=!1);e||(this.timeToDataCache.delete(a),
b=void 0)}return b};
_.mp.prototype.set=function(a,b){if(b.rootData&&_.x("web_use_response_store_for_history_cache")){var c=eBa(b),d=Object.assign({},b.rootData);c.content&&b.rootData.response&&(fBa(c.content,b.rootData.response),d.response=null);c.player&&b.rootData.playerResponse&&(fBa(c.player,b.rootData.playerResponse),d.playerResponse=null);c.reelSequence&&b.rootData.reelWatchSequenceResponse&&(fBa(c.reelSequence,b.rootData.reelWatchSequenceResponse),d.reelWatchSequenceResponse=null);b=new _.cBa(d,b.scrollTop)}this.timeToDataCache.has(a)?
this.timeToDataCache.delete(a):this.timeToDataCache.size>=this.maxSize&&(c=this.timeToDataCache.keys().next(),this.timeToDataCache.delete(c.value));this.timeToDataCache.set(a,b)};
_.mp.prototype.clear=function(){this.timeToDataCache.clear()};
var eBa=function(a){return Gna(_.Eg().resolve(Ki),a.rootData.endpoint)},fBa=function(a,b){var c,d=null==(c=b.responseContext)?void 0:c.maxAgeSeconds;
d&&0<Number(d)&&(c=_.Eg().resolve(_.kp),b=qla(b,d),c.put(a,new _.lp(b)))};
_.op=function(a,b,c){this.endpoint=b;this.savedComponentState=void 0===c?null:c;this.entryTime=a};
var gBa=1;
var pp=function(a){var b=function(){var c=a.apply(this,arguments)||this;c.historySnapshotCache=new _.mp(100);c.historyEntryTime=0;return c};
_.q(b,a);b.prototype.saveAndReplace=function(c,d,e){var h=window.location.href;var l=void 0===l?{}:l;var m=(m=this.browserHistory.getState())&&m.entryTime?m.entryTime:window.performance.now();c=new _.op(m,c,l);this.saveSnapshot(m,d,e);this.replaceState(c,h||window.location.href)};
b.prototype.saveAndPush=function(c,d,e,h,l){l=void 0===l?{}:l;this.saveSnapshot(this.historyEntryTime,e,h);d=new _.op(window&&window.performance&&window.performance.now?window.performance.now():Date&&Date.now?Date.now():++gBa,d,l);this.pushState(d,c)};
b.prototype.saveSnapshot=function(c,d,e){this.historySnapshotCache.set(c,new _.cBa(d,e))};
b.prototype.handlePopstate=function(c){var d=a.prototype.handlePopstate.call(this,c),e=null,h=null,l=!1,m=null;d&&d.entryTime&&(m=this.historySnapshotCache.get(d.entryTime)||null,l=d.entryTime>this.historyEntryTime,this.historyEntryTime=d.entryTime,e=d.endpoint,h=d.savedComponentState);this.handleHistoryCacheLoad(new _.bBa(e,l,m,h),c);return d};
b.prototype.pushState=function(c,d){0<=Number(null==c?void 0:c.entryTime)&&(this.historyEntryTime=c.entryTime);a.prototype.pushState.call(this,c,d)};
b.prototype.replaceState=function(c,d){0<=Number(null==c?void 0:c.entryTime)&&(this.historyEntryTime=c.entryTime);a.prototype.replaceState.call(this,c,d)};
b.prototype.handleHistoryCacheLoad=function(){};
return b}(jp),hBa=function(){var a=pp.call(this,new aBa)||this;
a.dispatchElement=null;a.entryIndex=0;return a};
_.q(hBa,pp);_.f=hBa.prototype;_.f.init=function(a){a=void 0===a?!0:a;pp.prototype.init.call(this);this.initialized||(a||this.saveAndReplace(null,null,0),"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"))};
_.f.handlePopstate=function(a){var b=null;a.state||(b="History popstate has no state - "+this.getDebugString());if(!this.dispatchElement)return pp.prototype.handlePopstate.call(this,a);var c=new CustomEvent("yt-history-pop",{cancelable:!0});_.C(this.dispatchElement,"yt-history-pop",[c,{errorMsg:b}]);if(!c.defaultPrevented){c=_.Eg().resolve(_.Co);b=c.getCurrentData();var d=c.getCurrentPage();c=0;d?(d=_.C(this.dispatchElement,"yt-get-page-offset",[d]),0<d.length&&(c=d[0])):_.Qf(new _.ge("getCurrentPage returned undefined",
{debugString:this.getDebugString(),page:b?b.page:"undefined"}));b&&(b.csn=_.fg());this.saveSnapshot(this.historyEntryTime,b,c)}return pp.prototype.handlePopstate.call(this,a)};
_.f.handleHistoryCacheLoad=function(a,b){b.state&&(a.legacyBorder=!!b.state["spf-timestamp"]||!!b.state.blazer);a.forward?this.entryIndex++:this.entryIndex--;this.dispatchElement&&_.C(this.dispatchElement,"yt-history-load",[b,a])};
_.f.pushState=function(a,b){this.entryIndex++;this.browserHistory.boundHistoryPushState||_.Qf(new _.ge("history.pushState is not a function",this.getDebugString()));pp.prototype.pushState.call(this,a,b)};
_.f.replaceState=function(a,b){this.browserHistory.boundHistoryReplaceState||_.Qf(new _.ge("history.replaceState is not a function",this.getDebugString()));pp.prototype.replaceState.call(this,a,b)};
_.f.saveAndPush=function(a,b,c,d,e){e=void 0===e?{}:e;c&&(c.csn=_.fg());pp.prototype.saveAndPush.call(this,a,b,c,d,e)};
_.f.getDebugString=function(){var a=[];this.initialized&&a.push("i");this.browserHistory.boundHistoryReplaceState&&a.push("bhr");this.browserHistory.boundHistoryPushState&&a.push("bhs");"replaceState"in this.browserHistory.debugInfo&&a.push("brs:"+String(this.browserHistory.debugInfo.replaceState));"pushState"in this.browserHistory.debugInfo&&a.push("bps:"+String(this.browserHistory.debugInfo.pushState));0<this.entryIndex&&a.push("ei:"+String(this.entryIndex));return a.join(",")};
_.f.replaceUrl=function(a){this.init(!0);var b=this.browserHistory.getState();this.replaceState(b,_.wh(a))};
_.f.getThirdPartyManipulationSuspected=function(){return this.initialized&&this.browserHistory.getThirdPartyManipulationSuspected()};
_.iBa=new xo("DESKTOP_HISTORY_MANAGER_TOKEN");
var jBa={start:function(){_.uo(lg(),{mainAppWeb:_.xh()})},
success:function(){_.Di(lg(),"SUCCESS")},
failure:function(){_.Di(lg(),"FAILURE")},
cancelled:function(){_.Di(lg(),"CANCELLED")}};
var kBa=new xo("APP_STORE_TOKEN");
var rla=function(a,b){this.serviceId=new esa(a,b)};
rla.prototype.toString=function(){return this.serviceId.toString()};
_.Yma=yh("browse","h8y2qb");
_.$ma=yh("search","JzFVk");
_.ana=yh("shorts","xwEKAe");
_.bna=yh("watchFixie","nmfa2d");
_.cna=yh("watchFlexy","CF909");
var Zma=yh("inFeedAdLayoutRenderer","hNdNCf");
var rna=yh("pageTopAdLayoutRenderer","CEEeJb");
var Xma=yh("adSlotRenderer","lUqOif");
_.dna=yh("channelSwitcherPageRenderer","MYuYkc");
_.ena=yh("commentsHeaderRenderer","MlY7Sd");
_.mna=yh("destinationShelfRenderer","VsfQf");
_.una=yh("reelShelfRenderer","aTQB0e");
_.fna=yh("compactPlaylistRenderer","mpuYde");
_.gna=yh("compactPromotedVideoRenderer","KrdVxb");
_.hna=yh("compactRadioRenderer","risM8");
_.ina=yh("compactTextPromoRenderer","bWbFF");
_.kna=yh("compactVideoRenderer","UVqZue");
_.lna=yh("counterfactualRenderer","Xdm0O");
_.ona=yh("infoPanelContainerRenderer","gUbuRc");
_.pna=yh("infoPanelContentRenderer","eR8R3");
_.qna=yh("itemSectionHeaderRenderer","MzoJxe");
_.sna=yh("premiumBrowseFooterRenderer","emmCof");
_.tna=yh("primetimePromoRenderer","paZond");
_.vna=yh("sortFilterHeaderRenderer","b4RdN");
_.nna=yh("hashtagTileRenderer","iZytze");
_.wna=yh("sponsorshipsAlertRenderer","CrfNOc");
_.xna=yh("transcriptBodyRenderer","qDDDKd");
_.yna=yh("transcriptFooterRenderer","uT4QRb");
_.zna=yh("transcriptRenderer","YP2Wmc");
_.Ana=yh("transcriptSearchBoxRenderer","vNaWWc");
_.Bna=yh("transcriptSearchPanelRenderer","FOHVId");
_.Cna=yh("transcriptSegmentListRenderer","JfbIWd");
_.Dna=yh("transcriptSegmentRenderer","n0sZLe");
_.jna=yh("compactMovieRenderer","SF5I9b");
var qp=function(a){var b=this;this.eventJobIds={};this.scrollEventsToIgnore=0;this.stopIgnoringScrollTimeoutIds=[];_.xha();_.Fe("ytglobal.ytUtilActivityCallback_",function(){_.Jg(a,"yt-user-activity")});
new nf(function(){return b.JSC$35044_onMouseMove});
document.addEventListener("scroll",function(){return b.onScroll});
window.addEventListener("resize",function(){return b.onResize})},lBa=function(a,b,c){b in a.eventJobIds||(c=_.Ci().addLowPriorityJob(function(){_.lf();
delete a.eventJobIds[b]},c),a.eventJobIds[b]=c)};
qp.prototype.onScroll=function(a){0<this.scrollEventsToIgnore?(this.scrollEventsToIgnore--,clearTimeout(this.stopIgnoringScrollTimeoutIds.pop())):a.target===document&&lBa(this,"scroll",200)};
qp.prototype.onResize=function(){lBa(this,"resize",200)};
qp.prototype.JSC$35044_onMouseMove=function(){lBa(this,"mousemove",100)};
var mBa=function(){this.internalMap={}};
_.f=mBa.prototype;_.f.contains=function(a){return Object.prototype.hasOwnProperty.call(this.internalMap,a)};
_.f.get=function(a){if(this.contains(a))return this.internalMap[a]};
_.f.set=function(a,b){this.internalMap[a]=b};
_.f.getKeys=function(){return Object.keys(this.internalMap)};
_.f.remove=function(a){delete this.internalMap[a]};
var rp=function(){this.mappings=new mBa;this.errorCallbacks=new Set};
rp.prototype.getModuleId=function(a){return a.serviceId.getModuleId()};
rp.prototype.get=function(a){var b=this.mappings.get(a.toString());return nBa(this,b,a)};
rp.prototype.getMultipleAsync=function(){var a=_.Ob.apply(0,arguments),b=this,c=a.map(function(p){return b.getModuleId(p)}),d=a.map(function(p){return b.mappings.get(p.toString())}).filter(function(p){return p});
if(d.length===a.length)return _.Mg(d.map(function(p,r){return nBa(b,p,a[r])}));
var e=Sb().loadMultiple(c);d=_.Rk(c.map(function(p){return e[p]}));
var h=document.hidden,l=-1,m=_.hd("get_async_timeout_ms",-1);-1<m&&(l=setTimeout(function(){_.Rf(new _.ge("Module timeout.",c,h,document.hidden))},m));
return d.then(function(){clearTimeout(l);return a.map(function(p){return nBa(b,b.mappings.get(p.toString()),p)})}).thenCatch(function(p){b.notifyError(p);
throw p;})};
var nBa=function(a,b,c){switch(b.type){case "mapping":return b.value;case "factory":return b=b.value(),a.mappings.set(c.toString(),{type:"mapping",value:b}),b;default:return _.Bb(b)}};
rp.prototype.notifyError=function(a){for(var b=_.k(this.errorCallbacks),c=b.next();!c.done;c=b.next())c=c.value,c(a)};
_.oBa=new rp;
var pBa,rBa,tBa,sBa;_.sp=function(a){this.network=a;this.challengePromise=pBa(this,0)};
pBa=function(a,b,c){c=void 0===c?0:c;var d,e,h,l,m,p,r,v,z,A,D,E;return _.y(function(J){switch(J.nextAddress){case 1:return _.B(J,new Promise(function(R){_.Jn(_.xe,R,b)}),2);
case 2:d={engagementType:"ENGAGEMENT_TYPE_UNBOUND"};if(e=zqa().latestInterpreterHash)d.interpreterHash=e;_.se(J,3);return _.B(J,qBa(a.network,d),5);case 5:h=J.yieldResult;if(!h)throw Error("ic");if(!h.challenge)throw Error("jc");l=h.challenge;m=rBa(l);if("c1a"in m&&(!h.bgChallenge||!h.bgChallenge.program))throw Error("kc");_.te(J,4);break;case 3:p=_.ue(J);_.Qf(p);c++;if(5<=c)return _.Qf(Error("lc`"+c)),sBa(a,864E5),J.return({challenge:"",challengeVars:{},vm:void 0,bgChallenge:void 0});r=1E3*Math.pow(2,
c-1)+1E3*Math.random();return J.return(pBa(a,r,c));case 4:v=Number(m.t)||7200;sBa(a,1E3*v);z=void 0;if(!("c1a"in m&&h.bgChallenge)){J.jumpTo(6);break}A=tBa(h.bgChallenge);_.se(J,7);return _.B(J,Bqa(zqa(),A),9);case 9:_.te(J,8);break;case 7:return D=_.ue(J),_.Qf(D),J.return({challenge:l,challengeVars:m,vm:z,bgChallenge:A});case 8:return z=new _.ek({challenge:A}),_.se(J,10),_.B(J,z.setupDonePromise,12);case 12:_.te(J,6);break;case 10:E=_.ue(J),_.Qf(E),z=void 0;case 6:return J.return({challenge:l,challengeVars:m,
vm:z,bgChallenge:A})}})};
rBa=function(a){var b={};a=_.k(a.split("&"));for(var c=a.next();!c.done;c=a.next())c=c.value.split("="),2===c.length&&(b[c[0]]=c[1]);return b};
tBa=function(a){var b=new ck;if(a.interpreterJavascript){var c;c=(c=a.interpreterJavascript)?(c=c.privateDoNotAccessOrElseSafeScriptWrappedValue)?_.pb(c):null:null;c=nba(c).toString();var d=new nqa;_.n(d,6,c);_.eb(b,1,d)}else a.interpreterUrl&&(c=_.Aba(a.interpreterUrl),c=kba(c),d=new _.bk,_.n(d,4,c),_.eb(b,2,d));a.interpreterHash&&_.Wj(b,3,a.interpreterHash);a.program&&_.Wj(b,4,a.program);a.globalName&&_.Wj(b,5,a.globalName);return b};
sBa=function(a,b){pBa(a,b).then(function(c){Promise.race([a.challengePromise,null]).then(function(d){var e;null==d||null==(e=d.vm)||e.dispose()}).finally(function(){a.challengePromise=Promise.resolve(c)})})};
var tp={},sla=(tp.WEB_UNPLUGGED="^unplugged/",tp.WEB_UNPLUGGED_ONBOARDING="^unplugged/",tp.WEB_UNPLUGGED_OPS="^unplugged/",tp.WEB_UNPLUGGED_PUBLIC="^unplugged/",tp.WEB_CREATOR="^creator/",tp.WEB_KIDS="^kids/",tp.WEB_EXPERIMENTS="^experiments/",tp.WEB_MUSIC="^music/",tp.WEB_REMIX="^music/",tp.WEB_MUSIC_EMBEDDED_PLAYER="^music/",tp.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",tp);
var uBa=function(a){this.JSC$35067_innertubeTransportService=a},qBa=function(a,b){return _.up(a.JSC$35067_innertubeTransportService,b,_.zh(Qxa)).then(function(c){return c})};
_.vBa=function(a){this.JSC$35071_innertubeTransportService=a};
var wBa=function(){this.syncHeaders=!0},xBa=function(a){var b={},c=_.Ud([]);
c&&(b.Authorization=c,c=a=null==a?void 0:a.sessionIndex,void 0===c&&(c=Number(_.w("SESSION_INDEX",0)),c=isNaN(c)?0:c),_.x("voice_search_auth_header_removal")||(b["X-Goog-AuthUser"]=c),"INNERTUBE_HOST_OVERRIDE"in _.dd||(b["X-Origin"]=window.location.origin),void 0===a&&"DELEGATED_SESSION_ID"in _.dd&&(b["X-Goog-PageId"]=_.w("DELEGATED_SESSION_ID")));return b};
var yBa={identityType:"UNAUTHENTICATED_IDENTITY_TYPE_UNKNOWN"};
var zBa=new xo("AUTH_SERVICE_TOKEN");
var Vma,BBa;_.Gi=function(a,b,c,d,e){var h=ABa;this.buildCommandPayload=a;this.navigate=b;this.handleServiceRequest=c;this.sendAction=d;this.JSC$35083_screenManager=e;this.commandResolverMap=h;this.pendingCommands=new Set};
Vma=function(a,b){var c=Tma,d=Uma,e=_.vp();_.Gi.instance=new _.Gi(a,b,c,d,e)};
BBa=function(a,b,c){if(!a.commandResolverMap)return!1;a:{a=a.commandResolverMap;for(var d=_.k(Object.keys(b)),e=d.next();!e.done;e=d.next())if(e=e.value,a[e]&&(e=a[e])){a=e();break a}a=void 0}return a?(a.resolve(b,c),!0):!1};
_.Gi.prototype.resolveCommand=function(a,b){var c=this;if(BBa(this,a,b))return!0;if(CBa(a))return DBa(this,a,b);var d=this.buildCommandPayload(a,b);if(null==b?0:b.commandController)d.commandController=b.commandController;if(0===d.type){if(!this.navigate)return _.Qf(Error("qc")),!1;if(!EBa(d.command))return _.Qf(Error("rc")),!1;if(FBa(this,d.command))return!1;a=this.navigate(d)||[];lra(a).then(function(){c.pendingCommands.delete(d.command)});
return!0}if(1===d.type){if(!this.handleServiceRequest)return _.Qf(Error("sc")),!1;if(FBa(this,d.command))return!1;a=this.handleServiceRequest(d);lra(a).then(function(){c.pendingCommands.delete(d.command)});
return!0}if(2===d.type){if(!this.sendAction)return _.Qf(Error("tc")),!1;GBa(this,d.command,b);this.sendAction(d);return!0}return!1};
var FBa=function(a,b){if(a.pendingCommands.has(b))return!0;a.pendingCommands.add(b);return!1},GBa=function(a,b,c){(null==c?0:c.disableClickTracking)||a.JSC$35083_screenManager&&b.clickTrackingParams&&a.JSC$35083_screenManager.clickCommand(b)},CBa=function(a){var b=!!a.commandExecutorCommand,c;
a="CLIENT_SIGNAL"===(null==(c=a.signalServiceEndpoint)?void 0:c.signal);return b||a},DBa=function(a,b,c){if(b.commandExecutorCommand){var d;
var e=(null==(d=b.commandExecutorCommand)?void 0:d.commands)||[]}else{var h;if("CLIENT_SIGNAL"===(null==(h=b.signalServiceEndpoint)?void 0:h.signal)){var l;e=(null==(l=b.signalServiceEndpoint)?void 0:l.actions)||[]}}if(e){b=_.k(e);for(e=b.next();!e.done;e=b.next()){e=e.value;try{a.resolveCommand(e,c)}catch(m){m instanceof Error&&_.Qf(m)}}return!0}_.Qf(Error("uc"));return!1},EBa=function(a){var b,c;
return!!(null==a?0:null==(b=a.commandMetadata)?0:null==(c=b.webCommandMetadata)?0:c.url)};
_.Fi=new xo("COMMAND_HANDLER_TOKEN");
var wp=new xo("STATE_STORE_TOKEN");
var HBa=function(a){this.store=a};
HBa.prototype.handleResponse=function(a){var b;(a=null==(b=a.frameworkUpdates)?void 0:b.entityBatchUpdate)&&_.eh(a,this.store)};
HBa[wo]=[wp];
var IBa=new xo("ENTITIES_RESPONSE_PROCESSOR_TOKEN");
var xp=new xo("ENTITY_STATE_TOKEN"),JBa=new xo("PERSISTENT_ENTITY_STORE_ACCESSOR_TOKEN");
var yp=function(){};
yp.prototype.resolve=function(a,b){var c=this;return _.y(function(d){return _.B(d,c.resolveCommand(a,b),0)})};
var zp=function(){};
_.q(zp,yp);zp.prototype.resolveCommand=function(a){var b,c;return _.y(function(d){if(null==(b=a.entityUpdateCommand)||!b.entityBatchUpdate)return d.jumpTo(0);c=Object.assign({},a.entityUpdateCommand.entityBatchUpdate,{mutations:[].concat(_.sc(a.entityUpdateCommand.entityBatchUpdate.mutations||[]))});return _.B(d,_.eh(c,_.hh),0)})};
var Ap=new xo("INNERTUBE_TRANSPORT_TOKEN");
_.Bp=new xo("PANEL_CONTROLLER_TOKEN");
var Cp=function(a,b){this.JSC$35102_innertubeTransportService=a;this.JSC$35102_controller=b};
_.q(Cp,yp);Cp.prototype.resolveCommand=function(a){var b=this,c,d,e,h,l;return _.y(function(m){if(1==m.nextAddress)return c=a.refreshPanelEndpoint,null!=(d=c)&&d.panelId?_.B(m,b.JSC$35102_controller.getReloadContinuation(c.panelId),2):m.return();if(3!=m.nextAddress)return(e=m.yieldResult)?_.B(m,_.Dp(b.JSC$35102_innertubeTransportService,a,{continuation:e}),3):m.return();h=m.yieldResult;return _.B(m,b.JSC$35102_controller.updatePanel(c.panelId,null==(l=h)?void 0:l.content),0)})};
Cp[wo]=[Ap,_.Bp];
var Ep=function(a,b){this.JSC$35116_innertubeTransportService=a;this.JSC$35116_controller=b};
_.q(Ep,yp);
Ep.prototype.resolveCommand=function(a,b){var c=this,d,e,h,l,m,p,r,v;return _.y(function(z){if(1==z.nextAddress){d=a.showEngagementPanelEndpoint;if(!d)return z.return();var A,D=d.panelIdentifier||(null==(A=d.identifier)?void 0:A.tag);if(!D)throw Error("vc");e=D;var E;if(d){var J;A=(null==(J=d.globalConfiguration)?void 0:J.initialState)||d.engagementPanel;if(J=!A)J=!!(null==d?0:null==(E=d.engagementPanelPresentationConfigs)?0:E.engagementPanelPopupPresentationConfig);J&&(A={engagementPanelSectionListRenderer:{panelIdentifier:d.panelIdentifier,identifier:d.identifier,
visibility:"ENGAGEMENT_PANEL_VISIBILITY_EXPANDED",content:{contentLoadingRenderer:{useSpinner:!0}}}});E=A}else E=void 0;h=E;l=d.engagementPanelPresentationConfigs;return _.B(z,c.JSC$35116_controller.showPanel(e,h,l,null==(m=b)?void 0:null==(p=m.form)?void 0:p.element),2)}if(4!=z.nextAddress)return d.globalConfiguration?_.B(z,_.Dp(c.JSC$35116_innertubeTransportService,a),4):z.jumpTo(0);r=z.yieldResult;return _.B(z,c.JSC$35116_controller.updatePanel(e,null==(v=r)?void 0:v.content),0)})};
Ep[wo]=[Ap,_.Bp];
var Fp=function(a,b){this.JSC$35120_controller=a;this.JSC$35120_commandHandler=b};
_.q(Fp,yp);
Fp.prototype.resolveCommand=function(a,b){var c=this,d,e,h;return _.y(function(l){if(1==l.nextAddress){d=a.toggleEngagementPanelCommand;var m,p=null==(m=d.showCommand)?void 0:m.showEngagementPanelEndpoint,r,v;m=null!=(v=null==p?void 0:p.panelIdentifier)?v:null==p?void 0:null==(r=p.identifier)?void 0:r.tag;if(!m)throw Error("wc");e=m;return _.B(l,c.JSC$35120_controller.isVisible(e),2)}return(h=l.yieldResult)?_.B(l,c.JSC$35120_controller.hidePanel(e),0):_.B(l,c.JSC$35120_commandHandler.resolveCommand(d.showCommand,b),
0)})};
Fp[wo]=[_.Bp,_.Fi];
var Gp;Gp=function(){this.tokenJars={};if(this.cookiesEnabled=_.Dfa()){var a=_.Kd.get("CONSISTENCY",void 0);a&&KBa(this,{encryptedTokenJarContents:a})}};
_.vla=function(){Gp.instance||(Gp.instance=new Gp);return Gp.instance};
Gp.prototype.handleResponse=function(a,b){var c,d;b=(null==(c=b.innerTubeRequest.context)?void 0:null==(d=c.request)?void 0:d.consistencyTokenJars)||[];var e;(a=null==(e=a.responseContext)?void 0:e.consistencyTokenJar)&&this.replace(b,a)};
Gp.prototype.replace=function(a,b){a=_.k(a);for(var c=a.next();!c.done;c=a.next())delete this.tokenJars[c.value.encryptedTokenJarContents];KBa(this,b)};
var KBa=function(a,b){if(b.encryptedTokenJarContents&&(a.tokenJars[b.encryptedTokenJarContents]=b,"string"===typeof b.expirationSeconds)){var c=Number(b.expirationSeconds);setTimeout(function(){delete a.tokenJars[b.encryptedTokenJarContents]},1E3*c);
a.cookiesEnabled&&_.Ld("CONSISTENCY",b.encryptedTokenJarContents,c,void 0,!0)}};
var LBa,Hp;LBa=window.location.hostname.split(".").slice(-2).join(".");_.Ch=function(){var a=_.w("LOCATION_PLAYABILITY_TOKEN");"TVHTML5"===_.w("INNERTUBE_CLIENT_NAME")&&(this.localStorage=MBa(this))&&(a=this.localStorage.get("yt-location-playability-token"));a&&(this.locationPlayabilityToken=a,this.mostRecentPosition=void 0)};
_.Ch.getInstance=function(){Hp=_.ld("yt.clientLocationService.instance");Hp||(Hp=new _.Ch,_.Fe("yt.clientLocationService.instance",Hp));return Hp};
_.Ch.prototype.setLocationOnInnerTubeContext=function(a){a.client||(a.client={});this.mostRecentPosition?(a.client.locationInfo||(a.client.locationInfo={}),a.client.locationInfo.latitudeE7=1E7*this.mostRecentPosition.coords.latitude,a.client.locationInfo.longitudeE7=1E7*this.mostRecentPosition.coords.longitude,a.client.locationInfo.horizontalAccuracyMeters=Math.round(this.mostRecentPosition.coords.accuracy),a.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0):this.locationPlayabilityToken&&
(a.client.locationPlayabilityToken=this.locationPlayabilityToken)};
_.Ch.prototype.handleResponse=function(a){var b;a=null==(b=a.responseContext)?void 0:b.locationPlayabilityToken;void 0!==a&&(this.locationPlayabilityToken=a,this.mostRecentPosition=void 0,"TVHTML5"===_.w("INNERTUBE_CLIENT_NAME")?(this.localStorage=MBa(this))&&this.localStorage.set("yt-location-playability-token",a,15552E3):_.Ld("YT_CL",JSON.stringify({loctok:a}),15552E3,LBa,!0))};
var MBa=function(a){return void 0===a.localStorage?new _.Wd("yt-client-location"):a.localStorage};
_.Ch.prototype.getCurrentPositionFromGeolocation=function(){var a=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition)||!_.x("web_enable_browser_geolocation_api")&&!_.x("enable_handoff_location_2fa_on_mweb"))return Promise.reject(Error("xc"));var b=!1,c=1E4;_.x("enable_handoff_location_2fa_on_mweb")&&(b=!0,c=15E3);return new Promise(function(d,e){navigator.geolocation.getCurrentPosition(function(h){a.mostRecentPosition=h;d(h)},function(h){e(h)},{enableHighAccuracy:b,
maximumAge:0,timeout:c})})};
_.Ch.prototype.createUnpluggedLocationInfo=function(a){var b={};a=a.coords;if(null==a?0:a.latitude)b.latitudeE7=Math.floor(1E7*a.latitude);if(null==a?0:a.longitude)b.longitudeE7=Math.floor(1E7*a.longitude);if(null==a?0:a.accuracy)b.locationRadiusMeters=Math.round(a.accuracy);return b};
var Ip=function(){};
_.f=Ip.prototype;
_.f.JSC$35151_getRequest=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?yBa:c;var d=b;if(this.isNavigationCommand()){var e,h,l=null==a?void 0:null==(e=a.commandMetadata)?void 0:null==(h=e.webCommandMetadata)?void 0:h.url;d=_.Dh(a.clickTrackingParams,!0,!1,l,this.JSC$35151_getClientScreen(d))}else d=_.Dh(a.clickTrackingParams,!1,this.includeCsn);d={context:d};if(e=this.getExtension(a)){this.buildRequest(d,e,b);var m;e=_.zh(this.getApiPaths(a));var p;(h=null==(m=a.commandMetadata)?void 0:null==(p=m.webCommandMetadata)?
void 0:p.apiUrl)&&(e=h);m=yla(xla(e));m={input:m,requestShell:Hh(m),innerTubeRequest:d,config:Object.assign({},this.getRequestConfig(a,b))};m.config.authStrategy?m.config.authStrategy.identity=c:m.config.authStrategy={identity:c};(a=this.JSC$35151_getStoreKey(a,b))&&!m.config.requestKey&&(m.config.requestKey=a);return m}_.Qf(new _.ge("Error: Failed to create Request from Command.",a))};
_.f.isNavigationCommand=function(){return!1};
_.f.JSC$35151_getClientScreen=function(){};
_.f.JSC$35151_getStoreKey=function(){};
_.f.getRequestConfig=function(){};
_.t.Object.defineProperties(Ip.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!1}}});
var Jp=function(){};
_.q(Jp,Ip);Jp.prototype.JSC$35151_getRequest=function(){return{input:"/getDatasyncIdsEndpoint",requestShell:Hh("/getDatasyncIdsEndpoint","GET"),innerTubeRequest:{}}};
Jp.prototype.getApiPaths=function(){return[]};
Jp.prototype.getExtension=function(){};
Jp.prototype.buildRequest=function(){};
var NBa={},OBa=(NBa.GET_DATASYNC_IDS=Fh(Jp),NBa);
var Kp,PBa;Kp=window;PBa=function(){this.timing={};this.clearResourceTimings=function(){};
this.webkitClearResourceTimings=function(){};
this.mozClearResourceTimings=function(){};
this.msClearResourceTimings=function(){};
this.oClearResourceTimings=function(){}};
_.gi=Kp.performance||Kp.mozPerformance||Kp.msPerformance||Kp.webkitPerformance||new PBa;
var Ela;Ela=!1;_.QBa=(0,_.$i)(_.gi.clearResourceTimings||_.gi.webkitClearResourceTimings||_.gi.mozClearResourceTimings||_.gi.msClearResourceTimings||_.gi.oClearResourceTimings||_.dj,_.gi);
var Lp,Mp,Kla,Lla,Np,Mla,Nla;Lp={};
_.RBa=(Lp.auto_search="LATENCY_ACTION_AUTO_SEARCH",Lp.ad_to_ad="LATENCY_ACTION_AD_TO_AD",Lp.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",Lp["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",Lp.app_startup="LATENCY_ACTION_APP_STARTUP",Lp["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",Lp["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",Lp["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",Lp.browse="LATENCY_ACTION_BROWSE",Lp.cast_splash="LATENCY_ACTION_CAST_SPLASH",
Lp.channels="LATENCY_ACTION_CHANNELS",Lp.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",Lp["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",Lp["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",Lp["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",Lp["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",Lp["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",Lp["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",
Lp["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",Lp["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS",Lp["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",Lp["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",Lp["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",Lp.chips="LATENCY_ACTION_CHIPS",Lp["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",Lp["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",
Lp.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",Lp.embed="LATENCY_ACTION_EMBED",Lp.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",Lp.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",Lp.explore="LATENCY_ACTION_EXPLORE",Lp.home="LATENCY_ACTION_HOME",Lp.library="LATENCY_ACTION_LIBRARY",Lp.live="LATENCY_ACTION_LIVE",Lp.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",Lp.onboarding="LATENCY_ACTION_ONBOARDING",Lp.parent_profile_settings=
"LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",Lp.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",Lp.parent_tools_dashboard="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",Lp.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",Lp["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",Lp["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",Lp.prebuffer="LATENCY_ACTION_PREBUFFER",Lp.prefetch="LATENCY_ACTION_PREFETCH",Lp.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",Lp.profile_switcher="LATENCY_ACTION_LOGIN",
Lp.reel_watch="LATENCY_ACTION_REEL_WATCH",Lp.results="LATENCY_ACTION_RESULTS",Lp.search_ui="LATENCY_ACTION_SEARCH_UI",Lp.search_suggest="LATENCY_ACTION_SUGGEST",Lp.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",Lp.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",Lp.seek="LATENCY_ACTION_PLAYER_SEEK",Lp.settings="LATENCY_ACTION_SETTINGS",Lp.tenx="LATENCY_ACTION_TENX",Lp.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",Lp.watch="LATENCY_ACTION_WATCH",Lp.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",
Lp["watch,watch7"]="LATENCY_ACTION_WATCH",Lp["watch,watch7_html5"]="LATENCY_ACTION_WATCH",Lp["watch,watch7ad"]="LATENCY_ACTION_WATCH",Lp["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",Lp.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",Lp.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",Lp["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",Lp["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",Lp["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",Lp["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",
Lp["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",Lp["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",Lp["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",Lp["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",Lp["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",Lp.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",Lp.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",Lp.networkless_performance=
"LATENCY_ACTION_NETWORKLESS_PERFORMANCE",Lp);Mp={};
Kla=(Mp.ad_allowed="adTypesAllowed",Mp.yt_abt="adBreakType",Mp.ad_cpn="adClientPlaybackNonce",Mp.ad_docid="adVideoId",Mp.yt_ad_an="adNetworks",Mp.ad_at="adType",Mp.aida="appInstallDataAgeMs",Mp.browse_id="browseId",Mp.p="httpProtocol",Mp.t="transportProtocol",Mp.cs="commandSource",Mp.cpn="clientPlaybackNonce",Mp.ccs="creatorInfo.creatorCanaryState",Mp.ctop="creatorInfo.topEntityType",Mp.csn="clientScreenNonce",Mp.docid="videoId",Mp.GetHome_rid="requestIds",Mp.GetSearch_rid="requestIds",Mp.GetPlayer_rid=
"requestIds",Mp.GetWatchNext_rid="requestIds",Mp.GetBrowse_rid="requestIds",Mp.GetLibrary_rid="requestIds",Mp.is_continuation="isContinuation",Mp.is_nav="isNavigation",Mp.b_p="kabukiInfo.browseParams",Mp.is_prefetch="kabukiInfo.isPrefetch",Mp.is_secondary_nav="kabukiInfo.isSecondaryNav",Mp.nav_type="kabukiInfo.navigationType",Mp.prev_browse_id="kabukiInfo.prevBrowseId",Mp.query_source="kabukiInfo.querySource",Mp.voz_type="kabukiInfo.vozType",Mp.yt_lt="loadType",Mp.mver="creatorInfo.measurementVersion",
Mp.yt_ad="isMonetized",Mp.nr="webInfo.navigationReason",Mp.nrsu="navigationRequestedSameUrl",Mp.pnt="performanceNavigationTiming",Mp.prt="playbackRequiresTap",Mp.plt="playerInfo.playbackType",Mp.pis="playerInfo.playerInitializedState",Mp.paused="playerInfo.isPausedOnLoad",Mp.yt_pt="playerType",Mp.fmt="playerInfo.itag",Mp.yt_pl="watchInfo.isPlaylist",Mp.yt_pre="playerInfo.preloadType",Mp.yt_ad_pr="prerollAllowed",Mp.pa="previousAction",Mp.yt_red="isRedSubscriber",Mp.rce="mwebInfo.responseContentEncoding",
Mp.rc="resourceInfo.resourceCache",Mp.scrh="screenHeight",Mp.scrw="screenWidth",Mp.st="serverTimeMs",Mp.ssdm="shellStartupDurationMs",Mp.br_trs="tvInfo.bedrockTriggerState",Mp.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",Mp.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",Mp.label="tvInfo.label",Mp.is_mdx="tvInfo.isMdx",Mp.preloaded="tvInfo.isPreloaded",Mp.aac_type="tvInfo.authAccessCredentialType",Mp.upg_player_vis="playerInfo.visibilityState",Mp.query="unpluggedInfo.query",Mp.upg_chip_ids_string=
"unpluggedInfo.upgChipIdsString",Mp.yt_vst="videoStreamType",Mp.vph="viewportHeight",Mp.vpw="viewportWidth",Mp.yt_vis="isVisible",Mp.rcl="mwebInfo.responseContentLength",Mp.GetSettings_rid="requestIds",Mp.GetTrending_rid="requestIds",Mp.GetMusicSearchSuggestions_rid="requestIds",Mp.REQUEST_ID="requestIds",Mp);Lla="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" ");
Np={};Mla=(Np.ccs="CANARY_STATE_",Np.mver="MEASUREMENT_VERSION_",Np.pis="PLAYER_INITIALIZED_STATE_",Np.yt_pt="LATENCY_PLAYER_",Np.pa="LATENCY_ACTION_",Np.ctop="TOP_ENTITY_TYPE_",Np.yt_vst="VIDEO_STREAM_TYPE_",Np);Nla="all_vc ap aq c cbr cbrand cbrver cmodel cos cosver cplatform ctheme cver ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" ");
_.F={LATENCY_ACTION_KIDS_PROFILE_SWITCHER:90,LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER:100,LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC:46,LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR:37,LATENCY_ACTION_SPINNER_DISPLAYED:14,LATENCY_ACTION_PLAYABILITY_CHECK:10,LATENCY_ACTION_PROCESS:9,LATENCY_ACTION_APP_STARTUP:5,LATENCY_ACTION_THUMBNAIL_FETCH:156,LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK:154,LATENCY_ACTION_SHARE_VIDEO:153,LATENCY_ACTION_AD_TO_VIDEO_INT:152,LATENCY_ACTION_ABANDONED_BROWSE:151,LATENCY_ACTION_PLAYER_ROTATION:150,
LATENCY_ACTION_SHOPPING_IN_APP:124,LATENCY_ACTION_PLAYER_ATTESTATION:121,LATENCY_ACTION_PLAYER_SEEK:119,LATENCY_ACTION_SUPER_STICKER_BUY_FLOW:114,LATENCY_ACTION_BLOCKS_PERFORMANCE:148,LATENCY_ACTION_ASSISTANT_QUERY:138,LATENCY_ACTION_ASSISTANT_SETTINGS:137,LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF:129,LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF:128,LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE:127,LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION:123,LATENCY_ACTION_NETWORKLESS_PERFORMANCE:122,LATENCY_ACTION_DOWNLOADS_EXPANSION:133,
LATENCY_ACTION_ENTITY_TRANSFORM:131,LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER:96,LATENCY_ACTION_EMBEDS_SET_VIDEO:95,LATENCY_ACTION_SETTINGS:93,LATENCY_ACTION_ABANDONED_STARTUP:81,LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY:80,LATENCY_ACTION_MEDIA_BROWSER_SEARCH:79,LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE:78,LATENCY_ACTION_WHO_IS_WATCHING:77,LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH:76,LATENCY_ACTION_LITE_SWITCH_ACCOUNT:73,LATENCY_ACTION_ELEMENTS_PERFORMANCE:70,LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION:69,
LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION:65,LATENCY_ACTION_OFFLINE_STORE_START:61,LATENCY_ACTION_REEL_EDITOR:58,LATENCY_ACTION_CHANNEL_SUBSCRIBE:56,LATENCY_ACTION_CHANNEL_PREVIEW:55,LATENCY_ACTION_PREFETCH:52,LATENCY_ACTION_ABANDONED_WATCH:45,LATENCY_ACTION_LOAD_COMMENT_REPLIES:26,LATENCY_ACTION_LOAD_COMMENTS:25,LATENCY_ACTION_EDIT_COMMENT:24,LATENCY_ACTION_NEW_COMMENT:23,LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING:19,LATENCY_ACTION_EMBED:18,LATENCY_ACTION_MDX_LAUNCH:15,LATENCY_ACTION_RESOLVE_URL:13,
LATENCY_ACTION_CAST_SPLASH:149,LATENCY_ACTION_MDX_CAST:120,LATENCY_ACTION_MDX_COMMAND:12,LATENCY_ACTION_REEL_SELECT_SEGMENT:136,LATENCY_ACTION_ACCELERATED_EFFECTS:145,LATENCY_ACTION_UPLOAD_AUDIO_MIXER:147,LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING:157,LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING:146,LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK:130,LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD:125,LATENCY_ACTION_SHORTS_VIDEO_INGESTION:155,LATENCY_ACTION_SHORTS_GALLERY:107,LATENCY_ACTION_SHORTS_TRIM:105,LATENCY_ACTION_SHORTS_EDIT:104,
LATENCY_ACTION_SHORTS_CAMERA:103,LATENCY_ACTION_PARENT_TOOLS_DASHBOARD:102,LATENCY_ACTION_PARENT_TOOLS_COLLECTION:101,LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS:116,LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS:115,LATENCY_ACTION_MUSIC_ALBUM_DETAIL:72,LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL:71,LATENCY_ACTION_CHIPS:68,LATENCY_ACTION_SEARCH_ZERO_STATE:67,LATENCY_ACTION_LIVE_PAGINATION:117,LATENCY_ACTION_LIVE:20,LATENCY_ACTION_PREBUFFER:40,LATENCY_ACTION_TENX:39,LATENCY_ACTION_KIDS_PROFILE_SETTINGS:94,LATENCY_ACTION_KIDS_WATCH_IT_AGAIN:92,
LATENCY_ACTION_KIDS_SECRET_CODE:91,LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS:89,LATENCY_ACTION_KIDS_ONBOARDING:88,LATENCY_ACTION_KIDS_VOICE_SEARCH:82,LATENCY_ACTION_KIDS_CURATED_COLLECTION:62,LATENCY_ACTION_KIDS_LIBRARY:53,LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS:38,LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION:74,LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING:141,LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS:142,LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC:51,LATENCY_ACTION_CREATOR_VIDEO_EDITOR:50,LATENCY_ACTION_CREATOR_VIDEO_EDIT:36,
LATENCY_ACTION_CREATOR_VIDEO_COMMENTS:34,LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS:33,LATENCY_ACTION_CREATOR_POST_LIST:112,LATENCY_ACTION_CREATOR_POST_EDIT:110,LATENCY_ACTION_CREATOR_POST_COMMENTS:111,LATENCY_ACTION_CREATOR_LIVE_STREAMING:108,LATENCY_ACTION_CREATOR_DIALOG_UPLOADS:86,LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES:87,LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS:32,LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS:48,LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS:139,LATENCY_ACTION_CREATOR_CHANNEL_MUSIC:99,
LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION:43,LATENCY_ACTION_CREATOR_CHANNEL_EDITING:113,LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD:49,LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT:44,LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS:66,LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS:31,LATENCY_ACTION_CREATOR_ARTIST_PROFILE:85,LATENCY_ACTION_CREATOR_ARTIST_CONCERTS:84,LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS:83,LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE:140,LATENCY_ACTION_STORYBOARD_THUMBNAILS:118,LATENCY_ACTION_SEARCH_THUMBNAILS:59,
LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD:54,LATENCY_ACTION_VOICE_ASSISTANT:47,LATENCY_ACTION_SEARCH_UI:35,LATENCY_ACTION_SUGGEST:30,LATENCY_ACTION_AUTO_SEARCH:126,LATENCY_ACTION_DOWNLOADS:98,LATENCY_ACTION_EXPLORE:75,LATENCY_ACTION_VIDEO_LIST:63,LATENCY_ACTION_HOME_RESUME:60,LATENCY_ACTION_SUBSCRIPTIONS_LIST:57,LATENCY_ACTION_THUMBNAIL_LOAD:42,LATENCY_ACTION_FIRST_THUMBNAIL_LOAD:29,LATENCY_ACTION_SUBSCRIPTIONS_FEED:109,LATENCY_ACTION_SUBSCRIPTIONS:28,LATENCY_ACTION_TRENDING:27,LATENCY_ACTION_LIBRARY:21,
LATENCY_ACTION_VIDEO_THUMBNAIL:8,LATENCY_ACTION_SHOW_MORE:7,LATENCY_ACTION_VIDEO_PREVIEW:6,LATENCY_ACTION_PREBUFFER_VIDEO:144,LATENCY_ACTION_PREFETCH_VIDEO:143,LATENCY_ACTION_DIRECT_PLAYBACK:132,LATENCY_ACTION_REEL_WATCH:41,LATENCY_ACTION_AD_TO_AD:22,LATENCY_ACTION_VIDEO_TO_AD:17,LATENCY_ACTION_AD_TO_VIDEO:16,LATENCY_ACTION_ONBOARDING:135,LATENCY_ACTION_LOGIN:97,LATENCY_ACTION_BROWSE:11,LATENCY_ACTION_CHANNELS:4,LATENCY_ACTION_WATCH:3,LATENCY_ACTION_RESULTS:2,LATENCY_ACTION_HOME:1,LATENCY_ACTION_STARTUP:106,
LATENCY_ACTION_UNKNOWN:0};_.F[_.F.LATENCY_ACTION_KIDS_PROFILE_SWITCHER]="LATENCY_ACTION_KIDS_PROFILE_SWITCHER";_.F[_.F.LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER]="LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR";_.F[_.F.LATENCY_ACTION_SPINNER_DISPLAYED]="LATENCY_ACTION_SPINNER_DISPLAYED";
_.F[_.F.LATENCY_ACTION_PLAYABILITY_CHECK]="LATENCY_ACTION_PLAYABILITY_CHECK";_.F[_.F.LATENCY_ACTION_PROCESS]="LATENCY_ACTION_PROCESS";_.F[_.F.LATENCY_ACTION_APP_STARTUP]="LATENCY_ACTION_APP_STARTUP";_.F[_.F.LATENCY_ACTION_THUMBNAIL_FETCH]="LATENCY_ACTION_THUMBNAIL_FETCH";_.F[_.F.LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK]="LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK";_.F[_.F.LATENCY_ACTION_SHARE_VIDEO]="LATENCY_ACTION_SHARE_VIDEO";_.F[_.F.LATENCY_ACTION_AD_TO_VIDEO_INT]="LATENCY_ACTION_AD_TO_VIDEO_INT";
_.F[_.F.LATENCY_ACTION_ABANDONED_BROWSE]="LATENCY_ACTION_ABANDONED_BROWSE";_.F[_.F.LATENCY_ACTION_PLAYER_ROTATION]="LATENCY_ACTION_PLAYER_ROTATION";_.F[_.F.LATENCY_ACTION_SHOPPING_IN_APP]="LATENCY_ACTION_SHOPPING_IN_APP";_.F[_.F.LATENCY_ACTION_PLAYER_ATTESTATION]="LATENCY_ACTION_PLAYER_ATTESTATION";_.F[_.F.LATENCY_ACTION_PLAYER_SEEK]="LATENCY_ACTION_PLAYER_SEEK";_.F[_.F.LATENCY_ACTION_SUPER_STICKER_BUY_FLOW]="LATENCY_ACTION_SUPER_STICKER_BUY_FLOW";_.F[_.F.LATENCY_ACTION_BLOCKS_PERFORMANCE]="LATENCY_ACTION_BLOCKS_PERFORMANCE";
_.F[_.F.LATENCY_ACTION_ASSISTANT_QUERY]="LATENCY_ACTION_ASSISTANT_QUERY";_.F[_.F.LATENCY_ACTION_ASSISTANT_SETTINGS]="LATENCY_ACTION_ASSISTANT_SETTINGS";_.F[_.F.LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF";_.F[_.F.LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF";_.F[_.F.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE";
_.F[_.F.LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION]="LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION";_.F[_.F.LATENCY_ACTION_NETWORKLESS_PERFORMANCE]="LATENCY_ACTION_NETWORKLESS_PERFORMANCE";_.F[_.F.LATENCY_ACTION_DOWNLOADS_EXPANSION]="LATENCY_ACTION_DOWNLOADS_EXPANSION";_.F[_.F.LATENCY_ACTION_ENTITY_TRANSFORM]="LATENCY_ACTION_ENTITY_TRANSFORM";_.F[_.F.LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER]="LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER";_.F[_.F.LATENCY_ACTION_EMBEDS_SET_VIDEO]="LATENCY_ACTION_EMBEDS_SET_VIDEO";
_.F[_.F.LATENCY_ACTION_SETTINGS]="LATENCY_ACTION_SETTINGS";_.F[_.F.LATENCY_ACTION_ABANDONED_STARTUP]="LATENCY_ACTION_ABANDONED_STARTUP";_.F[_.F.LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY]="LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY";_.F[_.F.LATENCY_ACTION_MEDIA_BROWSER_SEARCH]="LATENCY_ACTION_MEDIA_BROWSER_SEARCH";_.F[_.F.LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE]="LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE";_.F[_.F.LATENCY_ACTION_WHO_IS_WATCHING]="LATENCY_ACTION_WHO_IS_WATCHING";
_.F[_.F.LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH]="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH";_.F[_.F.LATENCY_ACTION_LITE_SWITCH_ACCOUNT]="LATENCY_ACTION_LITE_SWITCH_ACCOUNT";_.F[_.F.LATENCY_ACTION_ELEMENTS_PERFORMANCE]="LATENCY_ACTION_ELEMENTS_PERFORMANCE";_.F[_.F.LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION]="LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION";_.F[_.F.LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION]="LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION";_.F[_.F.LATENCY_ACTION_OFFLINE_STORE_START]="LATENCY_ACTION_OFFLINE_STORE_START";
_.F[_.F.LATENCY_ACTION_REEL_EDITOR]="LATENCY_ACTION_REEL_EDITOR";_.F[_.F.LATENCY_ACTION_CHANNEL_SUBSCRIBE]="LATENCY_ACTION_CHANNEL_SUBSCRIBE";_.F[_.F.LATENCY_ACTION_CHANNEL_PREVIEW]="LATENCY_ACTION_CHANNEL_PREVIEW";_.F[_.F.LATENCY_ACTION_PREFETCH]="LATENCY_ACTION_PREFETCH";_.F[_.F.LATENCY_ACTION_ABANDONED_WATCH]="LATENCY_ACTION_ABANDONED_WATCH";_.F[_.F.LATENCY_ACTION_LOAD_COMMENT_REPLIES]="LATENCY_ACTION_LOAD_COMMENT_REPLIES";_.F[_.F.LATENCY_ACTION_LOAD_COMMENTS]="LATENCY_ACTION_LOAD_COMMENTS";
_.F[_.F.LATENCY_ACTION_EDIT_COMMENT]="LATENCY_ACTION_EDIT_COMMENT";_.F[_.F.LATENCY_ACTION_NEW_COMMENT]="LATENCY_ACTION_NEW_COMMENT";_.F[_.F.LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING]="LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING";_.F[_.F.LATENCY_ACTION_EMBED]="LATENCY_ACTION_EMBED";_.F[_.F.LATENCY_ACTION_MDX_LAUNCH]="LATENCY_ACTION_MDX_LAUNCH";_.F[_.F.LATENCY_ACTION_RESOLVE_URL]="LATENCY_ACTION_RESOLVE_URL";_.F[_.F.LATENCY_ACTION_CAST_SPLASH]="LATENCY_ACTION_CAST_SPLASH";
_.F[_.F.LATENCY_ACTION_MDX_CAST]="LATENCY_ACTION_MDX_CAST";_.F[_.F.LATENCY_ACTION_MDX_COMMAND]="LATENCY_ACTION_MDX_COMMAND";_.F[_.F.LATENCY_ACTION_REEL_SELECT_SEGMENT]="LATENCY_ACTION_REEL_SELECT_SEGMENT";_.F[_.F.LATENCY_ACTION_ACCELERATED_EFFECTS]="LATENCY_ACTION_ACCELERATED_EFFECTS";_.F[_.F.LATENCY_ACTION_UPLOAD_AUDIO_MIXER]="LATENCY_ACTION_UPLOAD_AUDIO_MIXER";_.F[_.F.LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING]="LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING";
_.F[_.F.LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING]="LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING";_.F[_.F.LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK]="LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK";_.F[_.F.LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD]="LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD";_.F[_.F.LATENCY_ACTION_SHORTS_VIDEO_INGESTION]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION";_.F[_.F.LATENCY_ACTION_SHORTS_GALLERY]="LATENCY_ACTION_SHORTS_GALLERY";_.F[_.F.LATENCY_ACTION_SHORTS_TRIM]="LATENCY_ACTION_SHORTS_TRIM";
_.F[_.F.LATENCY_ACTION_SHORTS_EDIT]="LATENCY_ACTION_SHORTS_EDIT";_.F[_.F.LATENCY_ACTION_SHORTS_CAMERA]="LATENCY_ACTION_SHORTS_CAMERA";_.F[_.F.LATENCY_ACTION_PARENT_TOOLS_DASHBOARD]="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD";_.F[_.F.LATENCY_ACTION_PARENT_TOOLS_COLLECTION]="LATENCY_ACTION_PARENT_TOOLS_COLLECTION";_.F[_.F.LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS";_.F[_.F.LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS";
_.F[_.F.LATENCY_ACTION_MUSIC_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_ALBUM_DETAIL";_.F[_.F.LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL";_.F[_.F.LATENCY_ACTION_CHIPS]="LATENCY_ACTION_CHIPS";_.F[_.F.LATENCY_ACTION_SEARCH_ZERO_STATE]="LATENCY_ACTION_SEARCH_ZERO_STATE";_.F[_.F.LATENCY_ACTION_LIVE_PAGINATION]="LATENCY_ACTION_LIVE_PAGINATION";_.F[_.F.LATENCY_ACTION_LIVE]="LATENCY_ACTION_LIVE";_.F[_.F.LATENCY_ACTION_PREBUFFER]="LATENCY_ACTION_PREBUFFER";
_.F[_.F.LATENCY_ACTION_TENX]="LATENCY_ACTION_TENX";_.F[_.F.LATENCY_ACTION_KIDS_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PROFILE_SETTINGS";_.F[_.F.LATENCY_ACTION_KIDS_WATCH_IT_AGAIN]="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN";_.F[_.F.LATENCY_ACTION_KIDS_SECRET_CODE]="LATENCY_ACTION_KIDS_SECRET_CODE";_.F[_.F.LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS";_.F[_.F.LATENCY_ACTION_KIDS_ONBOARDING]="LATENCY_ACTION_KIDS_ONBOARDING";
_.F[_.F.LATENCY_ACTION_KIDS_VOICE_SEARCH]="LATENCY_ACTION_KIDS_VOICE_SEARCH";_.F[_.F.LATENCY_ACTION_KIDS_CURATED_COLLECTION]="LATENCY_ACTION_KIDS_CURATED_COLLECTION";_.F[_.F.LATENCY_ACTION_KIDS_LIBRARY]="LATENCY_ACTION_KIDS_LIBRARY";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING";
_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_EDIT]="LATENCY_ACTION_CREATOR_VIDEO_EDIT";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_COMMENTS]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS";_.F[_.F.LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS";
_.F[_.F.LATENCY_ACTION_CREATOR_POST_LIST]="LATENCY_ACTION_CREATOR_POST_LIST";_.F[_.F.LATENCY_ACTION_CREATOR_POST_EDIT]="LATENCY_ACTION_CREATOR_POST_EDIT";_.F[_.F.LATENCY_ACTION_CREATOR_POST_COMMENTS]="LATENCY_ACTION_CREATOR_POST_COMMENTS";_.F[_.F.LATENCY_ACTION_CREATOR_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_LIVE_STREAMING";_.F[_.F.LATENCY_ACTION_CREATOR_DIALOG_UPLOADS]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS";_.F[_.F.LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES";
_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION";
_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_EDITING]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD]="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS";_.F[_.F.LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS";
_.F[_.F.LATENCY_ACTION_CREATOR_ARTIST_PROFILE]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE";_.F[_.F.LATENCY_ACTION_CREATOR_ARTIST_CONCERTS]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS";_.F[_.F.LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS";_.F[_.F.LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE";_.F[_.F.LATENCY_ACTION_STORYBOARD_THUMBNAILS]="LATENCY_ACTION_STORYBOARD_THUMBNAILS";_.F[_.F.LATENCY_ACTION_SEARCH_THUMBNAILS]="LATENCY_ACTION_SEARCH_THUMBNAILS";
_.F[_.F.LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD]="LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD";_.F[_.F.LATENCY_ACTION_VOICE_ASSISTANT]="LATENCY_ACTION_VOICE_ASSISTANT";_.F[_.F.LATENCY_ACTION_SEARCH_UI]="LATENCY_ACTION_SEARCH_UI";_.F[_.F.LATENCY_ACTION_SUGGEST]="LATENCY_ACTION_SUGGEST";_.F[_.F.LATENCY_ACTION_AUTO_SEARCH]="LATENCY_ACTION_AUTO_SEARCH";_.F[_.F.LATENCY_ACTION_DOWNLOADS]="LATENCY_ACTION_DOWNLOADS";_.F[_.F.LATENCY_ACTION_EXPLORE]="LATENCY_ACTION_EXPLORE";_.F[_.F.LATENCY_ACTION_VIDEO_LIST]="LATENCY_ACTION_VIDEO_LIST";
_.F[_.F.LATENCY_ACTION_HOME_RESUME]="LATENCY_ACTION_HOME_RESUME";_.F[_.F.LATENCY_ACTION_SUBSCRIPTIONS_LIST]="LATENCY_ACTION_SUBSCRIPTIONS_LIST";_.F[_.F.LATENCY_ACTION_THUMBNAIL_LOAD]="LATENCY_ACTION_THUMBNAIL_LOAD";_.F[_.F.LATENCY_ACTION_FIRST_THUMBNAIL_LOAD]="LATENCY_ACTION_FIRST_THUMBNAIL_LOAD";_.F[_.F.LATENCY_ACTION_SUBSCRIPTIONS_FEED]="LATENCY_ACTION_SUBSCRIPTIONS_FEED";_.F[_.F.LATENCY_ACTION_SUBSCRIPTIONS]="LATENCY_ACTION_SUBSCRIPTIONS";_.F[_.F.LATENCY_ACTION_TRENDING]="LATENCY_ACTION_TRENDING";
_.F[_.F.LATENCY_ACTION_LIBRARY]="LATENCY_ACTION_LIBRARY";_.F[_.F.LATENCY_ACTION_VIDEO_THUMBNAIL]="LATENCY_ACTION_VIDEO_THUMBNAIL";_.F[_.F.LATENCY_ACTION_SHOW_MORE]="LATENCY_ACTION_SHOW_MORE";_.F[_.F.LATENCY_ACTION_VIDEO_PREVIEW]="LATENCY_ACTION_VIDEO_PREVIEW";_.F[_.F.LATENCY_ACTION_PREBUFFER_VIDEO]="LATENCY_ACTION_PREBUFFER_VIDEO";_.F[_.F.LATENCY_ACTION_PREFETCH_VIDEO]="LATENCY_ACTION_PREFETCH_VIDEO";_.F[_.F.LATENCY_ACTION_DIRECT_PLAYBACK]="LATENCY_ACTION_DIRECT_PLAYBACK";
_.F[_.F.LATENCY_ACTION_REEL_WATCH]="LATENCY_ACTION_REEL_WATCH";_.F[_.F.LATENCY_ACTION_AD_TO_AD]="LATENCY_ACTION_AD_TO_AD";_.F[_.F.LATENCY_ACTION_VIDEO_TO_AD]="LATENCY_ACTION_VIDEO_TO_AD";_.F[_.F.LATENCY_ACTION_AD_TO_VIDEO]="LATENCY_ACTION_AD_TO_VIDEO";_.F[_.F.LATENCY_ACTION_ONBOARDING]="LATENCY_ACTION_ONBOARDING";_.F[_.F.LATENCY_ACTION_LOGIN]="LATENCY_ACTION_LOGIN";_.F[_.F.LATENCY_ACTION_BROWSE]="LATENCY_ACTION_BROWSE";_.F[_.F.LATENCY_ACTION_CHANNELS]="LATENCY_ACTION_CHANNELS";
_.F[_.F.LATENCY_ACTION_WATCH]="LATENCY_ACTION_WATCH";_.F[_.F.LATENCY_ACTION_RESULTS]="LATENCY_ACTION_RESULTS";_.F[_.F.LATENCY_ACTION_HOME]="LATENCY_ACTION_HOME";_.F[_.F.LATENCY_ACTION_STARTUP]="LATENCY_ACTION_STARTUP";_.F[_.F.LATENCY_ACTION_UNKNOWN]="LATENCY_ACTION_UNKNOWN";var Vh={LATENCY_NETWORK_MOBILE:2,LATENCY_NETWORK_WIFI:1,LATENCY_NETWORK_UNKNOWN:0};Vh[Vh.LATENCY_NETWORK_MOBILE]="LATENCY_NETWORK_MOBILE";Vh[Vh.LATENCY_NETWORK_WIFI]="LATENCY_NETWORK_WIFI";Vh[Vh.LATENCY_NETWORK_UNKNOWN]="LATENCY_NETWORK_UNKNOWN";
var Wh={CONN_INVALID:31,CONN_CELLULAR_5G_NSA:12,CONN_CELLULAR_5G_SA:11,CONN_WIFI_METERED:10,CONN_CELLULAR_5G:9,CONN_DISCO:8,CONN_CELLULAR_UNKNOWN:7,CONN_CELLULAR_4G:6,CONN_CELLULAR_3G:5,CONN_CELLULAR_2G:4,CONN_WIFI:3,CONN_NONE:2,CONN_UNKNOWN:1,CONN_DEFAULT:0};Wh[Wh.CONN_INVALID]="CONN_INVALID";Wh[Wh.CONN_CELLULAR_5G_NSA]="CONN_CELLULAR_5G_NSA";Wh[Wh.CONN_CELLULAR_5G_SA]="CONN_CELLULAR_5G_SA";Wh[Wh.CONN_WIFI_METERED]="CONN_WIFI_METERED";Wh[Wh.CONN_CELLULAR_5G]="CONN_CELLULAR_5G";
Wh[Wh.CONN_DISCO]="CONN_DISCO";Wh[Wh.CONN_CELLULAR_UNKNOWN]="CONN_CELLULAR_UNKNOWN";Wh[Wh.CONN_CELLULAR_4G]="CONN_CELLULAR_4G";Wh[Wh.CONN_CELLULAR_3G]="CONN_CELLULAR_3G";Wh[Wh.CONN_CELLULAR_2G]="CONN_CELLULAR_2G";Wh[Wh.CONN_WIFI]="CONN_WIFI";Wh[Wh.CONN_NONE]="CONN_NONE";Wh[Wh.CONN_UNKNOWN]="CONN_UNKNOWN";Wh[Wh.CONN_DEFAULT]="CONN_DEFAULT";
var Xh={DETAILED_NETWORK_TYPE_NR_NSA:126,DETAILED_NETWORK_TYPE_NR_SA:125,DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED:124,DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT:123,DETAILED_NETWORK_TYPE_DISCONNECTED:122,DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN:121,DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN:120,DETAILED_NETWORK_TYPE_WIMAX:119,DETAILED_NETWORK_TYPE_ETHERNET:118,DETAILED_NETWORK_TYPE_BLUETOOTH:117,DETAILED_NETWORK_TYPE_WIFI:116,DETAILED_NETWORK_TYPE_LTE:115,DETAILED_NETWORK_TYPE_HSPAP:114,DETAILED_NETWORK_TYPE_EHRPD:113,
DETAILED_NETWORK_TYPE_EVDO_B:112,DETAILED_NETWORK_TYPE_UMTS:111,DETAILED_NETWORK_TYPE_IDEN:110,DETAILED_NETWORK_TYPE_HSUPA:109,DETAILED_NETWORK_TYPE_HSPA:108,DETAILED_NETWORK_TYPE_HSDPA:107,DETAILED_NETWORK_TYPE_EVDO_A:106,DETAILED_NETWORK_TYPE_EVDO_0:105,DETAILED_NETWORK_TYPE_CDMA:104,DETAILED_NETWORK_TYPE_1_X_RTT:103,DETAILED_NETWORK_TYPE_GPRS:102,DETAILED_NETWORK_TYPE_EDGE:101,DETAILED_NETWORK_TYPE_UNKNOWN:0};Xh[Xh.DETAILED_NETWORK_TYPE_NR_NSA]="DETAILED_NETWORK_TYPE_NR_NSA";
Xh[Xh.DETAILED_NETWORK_TYPE_NR_SA]="DETAILED_NETWORK_TYPE_NR_SA";Xh[Xh.DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED]="DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED";Xh[Xh.DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT]="DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT";Xh[Xh.DETAILED_NETWORK_TYPE_DISCONNECTED]="DETAILED_NETWORK_TYPE_DISCONNECTED";Xh[Xh.DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN";Xh[Xh.DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN";
Xh[Xh.DETAILED_NETWORK_TYPE_WIMAX]="DETAILED_NETWORK_TYPE_WIMAX";Xh[Xh.DETAILED_NETWORK_TYPE_ETHERNET]="DETAILED_NETWORK_TYPE_ETHERNET";Xh[Xh.DETAILED_NETWORK_TYPE_BLUETOOTH]="DETAILED_NETWORK_TYPE_BLUETOOTH";Xh[Xh.DETAILED_NETWORK_TYPE_WIFI]="DETAILED_NETWORK_TYPE_WIFI";Xh[Xh.DETAILED_NETWORK_TYPE_LTE]="DETAILED_NETWORK_TYPE_LTE";Xh[Xh.DETAILED_NETWORK_TYPE_HSPAP]="DETAILED_NETWORK_TYPE_HSPAP";Xh[Xh.DETAILED_NETWORK_TYPE_EHRPD]="DETAILED_NETWORK_TYPE_EHRPD";Xh[Xh.DETAILED_NETWORK_TYPE_EVDO_B]="DETAILED_NETWORK_TYPE_EVDO_B";
Xh[Xh.DETAILED_NETWORK_TYPE_UMTS]="DETAILED_NETWORK_TYPE_UMTS";Xh[Xh.DETAILED_NETWORK_TYPE_IDEN]="DETAILED_NETWORK_TYPE_IDEN";Xh[Xh.DETAILED_NETWORK_TYPE_HSUPA]="DETAILED_NETWORK_TYPE_HSUPA";Xh[Xh.DETAILED_NETWORK_TYPE_HSPA]="DETAILED_NETWORK_TYPE_HSPA";Xh[Xh.DETAILED_NETWORK_TYPE_HSDPA]="DETAILED_NETWORK_TYPE_HSDPA";Xh[Xh.DETAILED_NETWORK_TYPE_EVDO_A]="DETAILED_NETWORK_TYPE_EVDO_A";Xh[Xh.DETAILED_NETWORK_TYPE_EVDO_0]="DETAILED_NETWORK_TYPE_EVDO_0";Xh[Xh.DETAILED_NETWORK_TYPE_CDMA]="DETAILED_NETWORK_TYPE_CDMA";
Xh[Xh.DETAILED_NETWORK_TYPE_1_X_RTT]="DETAILED_NETWORK_TYPE_1_X_RTT";Xh[Xh.DETAILED_NETWORK_TYPE_GPRS]="DETAILED_NETWORK_TYPE_GPRS";Xh[Xh.DETAILED_NETWORK_TYPE_EDGE]="DETAILED_NETWORK_TYPE_EDGE";Xh[Xh.DETAILED_NETWORK_TYPE_UNKNOWN]="DETAILED_NETWORK_TYPE_UNKNOWN";var Yh={LATENCY_PLAYER_RTSP:7,LATENCY_PLAYER_HTML5_INLINE:6,LATENCY_PLAYER_HTML5_FULLSCREEN:5,LATENCY_PLAYER_HTML5:4,LATENCY_PLAYER_FRAMEWORK:3,LATENCY_PLAYER_FLASH:2,LATENCY_PLAYER_EXO:1,LATENCY_PLAYER_UNKNOWN:0};
Yh[Yh.LATENCY_PLAYER_RTSP]="LATENCY_PLAYER_RTSP";Yh[Yh.LATENCY_PLAYER_HTML5_INLINE]="LATENCY_PLAYER_HTML5_INLINE";Yh[Yh.LATENCY_PLAYER_HTML5_FULLSCREEN]="LATENCY_PLAYER_HTML5_FULLSCREEN";Yh[Yh.LATENCY_PLAYER_HTML5]="LATENCY_PLAYER_HTML5";Yh[Yh.LATENCY_PLAYER_FRAMEWORK]="LATENCY_PLAYER_FRAMEWORK";Yh[Yh.LATENCY_PLAYER_FLASH]="LATENCY_PLAYER_FLASH";Yh[Yh.LATENCY_PLAYER_EXO]="LATENCY_PLAYER_EXO";Yh[Yh.LATENCY_PLAYER_UNKNOWN]="LATENCY_PLAYER_UNKNOWN";
var Zh={LATENCY_AD_BREAK_TYPE_POSTROLL:3,LATENCY_AD_BREAK_TYPE_MIDROLL:2,LATENCY_AD_BREAK_TYPE_PREROLL:1,LATENCY_AD_BREAK_TYPE_UNKNOWN:0};Zh[Zh.LATENCY_AD_BREAK_TYPE_POSTROLL]="LATENCY_AD_BREAK_TYPE_POSTROLL";Zh[Zh.LATENCY_AD_BREAK_TYPE_MIDROLL]="LATENCY_AD_BREAK_TYPE_MIDROLL";Zh[Zh.LATENCY_AD_BREAK_TYPE_PREROLL]="LATENCY_AD_BREAK_TYPE_PREROLL";Zh[Zh.LATENCY_AD_BREAK_TYPE_UNKNOWN]="LATENCY_AD_BREAK_TYPE_UNKNOWN";var $h={LATENCY_ACTION_ERROR_STARTUP_TIMEOUT:1,LATENCY_ACTION_ERROR_UNSPECIFIED:0};
$h[$h.LATENCY_ACTION_ERROR_STARTUP_TIMEOUT]="LATENCY_ACTION_ERROR_STARTUP_TIMEOUT";$h[$h.LATENCY_ACTION_ERROR_UNSPECIFIED]="LATENCY_ACTION_ERROR_UNSPECIFIED";var ai={LIVE_STREAM_MODE_WINDOW:5,LIVE_STREAM_MODE_POST:4,LIVE_STREAM_MODE_LP:3,LIVE_STREAM_MODE_LIVE:2,LIVE_STREAM_MODE_DVR:1,LIVE_STREAM_MODE_UNKNOWN:0};ai[ai.LIVE_STREAM_MODE_WINDOW]="LIVE_STREAM_MODE_WINDOW";ai[ai.LIVE_STREAM_MODE_POST]="LIVE_STREAM_MODE_POST";ai[ai.LIVE_STREAM_MODE_LP]="LIVE_STREAM_MODE_LP";
ai[ai.LIVE_STREAM_MODE_LIVE]="LIVE_STREAM_MODE_LIVE";ai[ai.LIVE_STREAM_MODE_DVR]="LIVE_STREAM_MODE_DVR";ai[ai.LIVE_STREAM_MODE_UNKNOWN]="LIVE_STREAM_MODE_UNKNOWN";var bi={VIDEO_STREAM_TYPE_VOD:3,VIDEO_STREAM_TYPE_DVR:2,VIDEO_STREAM_TYPE_LIVE:1,VIDEO_STREAM_TYPE_UNSPECIFIED:0};bi[bi.VIDEO_STREAM_TYPE_VOD]="VIDEO_STREAM_TYPE_VOD";bi[bi.VIDEO_STREAM_TYPE_DVR]="VIDEO_STREAM_TYPE_DVR";bi[bi.VIDEO_STREAM_TYPE_LIVE]="VIDEO_STREAM_TYPE_LIVE";bi[bi.VIDEO_STREAM_TYPE_UNSPECIFIED]="VIDEO_STREAM_TYPE_UNSPECIFIED";
var ci={YT_IDB_TRANSACTION_TYPE_READ:2,YT_IDB_TRANSACTION_TYPE_WRITE:1,YT_IDB_TRANSACTION_TYPE_UNKNOWN:0};ci[ci.YT_IDB_TRANSACTION_TYPE_READ]="YT_IDB_TRANSACTION_TYPE_READ";ci[ci.YT_IDB_TRANSACTION_TYPE_WRITE]="YT_IDB_TRANSACTION_TYPE_WRITE";ci[ci.YT_IDB_TRANSACTION_TYPE_UNKNOWN]="YT_IDB_TRANSACTION_TYPE_UNKNOWN";var di={PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN:2,PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT:1,PLAYER_ROTATION_TYPE_UNKNOWN:0};di[di.PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN]="PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN";
di[di.PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT]="PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT";di[di.PLAYER_ROTATION_TYPE_UNKNOWN]="PLAYER_ROTATION_TYPE_UNKNOWN";var Rla="actionVisualElement spinnerInfo resourceInfo playerInfo commentInfo mdxInfo watchInfo thumbnailLoadInfo creatorInfo unpluggedInfo reelInfo subscriptionsFeedInfo requestIds mediaBrowserActionInfo musicLoadActionInfo shoppingInfo prefetchInfo accelerationSession webInfo tvInfo kabukiInfo mwebInfo musicInfo".split(" ");
var Op=_.g.ytLoggingLatencyUsageStats_||{};_.Fe("ytLoggingLatencyUsageStats_",Op);var Pp=function(){this.cleanupJob=0},Sh=function(){Pp.instance||(Pp.instance=new Pp);
return Pp.instance};
_.f=Pp.prototype;_.f.baseline=function(a,b,c){Qp(this,"baseline_"+a)||(b={timestamp:b,cttAuthInfo:c},_.x("web_csi_via_jspb")?(c=new Iwa,_.n(c,1,a),a=new _.Df,_.Of(a,6,_.Pf,c),_.Nf(a,b)):_.Kf("latencyActionBaselined",{clientActionNonce:a},b))};
_.f.tick=function(a,b,c,d){Qp(this,"tick_"+a+"_"+b)||(c={timestamp:c,cttAuthInfo:d},_.x("web_csi_via_jspb")?(d=new Kwa,_.n(d,1,a),_.n(d,2,b),a=new _.Df,_.Of(a,5,_.Pf,d),_.Nf(a,c)):_.Kf("latencyActionTicked",{tickName:a,clientActionNonce:b},c))};
_.f.info=function(a,b,c){var d=Object.keys(a).join("");Qp(this,"info_"+d+"_"+b)||(a=Object.assign({},a),a.clientActionNonce=b,_.Kf("latencyActionInfo",a,{cttAuthInfo:c}))};
_.f.jspbInfo=function(a,b,c){for(var d="",e=0;e<a.toJSON().length;e++)void 0!==a.toJSON()[e]&&(d=0===e?d.concat(""+e):d.concat("_"+e));Qp(this,"info_"+d+"_"+b)||(_.n(a,2,b),b={cttAuthInfo:c},c=new _.Df,_.Of(c,7,_.Pf,a),_.Nf(c,b))};
_.f.span=function(a,b,c){var d=Object.keys(a).join("");Qp(this,"span_"+d+"_"+b)||(a.clientActionNonce=b,_.Kf("latencyActionSpan",a,{cttAuthInfo:c}))};
var Qp=function(a,b){Op[b]=Op[b]||{count:0};var c=Op[b];c.count++;c.time=(0,_.Yd)();a.cleanupJob||(a.cleanupJob=_.Jn(_.xe,function(){var d=(0,_.Yd)(),e;for(e in Op)Op[e]&&6E4<d-Op[e].time&&delete Op[e];a&&(a.cleanupJob=0)},5E3));
return 5<c.count?(6===c.count&&1>1E5*Math.random()&&(c=new _.ge("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||_.Rf(c)),!0):!1};
var SBa=window;SBa.ytcsi&&(SBa.ytcsi.info=_.Rh,SBa.ytcsi.tick=_.fi);
var TBa,Rp,UBa,XBa,WBa,VBa,YBa;TBa=["consistency","mss","client_location","entities","store"];Rp=function(a,b,c,d,e,h){this.endpointMap=a;this.networkManager=b;this.authService=c;this.responseProcessorMap=d;this.innertubeResponseStore=e;this.localInnertubeRouter=h;this.inflightRequests=new Map;a.signalEndpointMap||(a.signalEndpointMap={});a.signalEndpointMap=Object.assign({},OBa,a.signalEndpointMap)};
UBa=function(a,b,c,d,e,h){if(void 0!==Rp.instance){if(d=Rp.instance,a=[a!==d.endpointMap,b!==d.networkManager,c!==d.authService,e!==d.innertubeResponseStore,!1,h!==d.localInnertubeRouter],a.some(function(l){return l}))throw new _.ge("InnerTubeTransportService is already initialized",a);
}else Rp.instance=new Rp(a,b,c,d,e,h)};
_.Ei=function(){return Rp.instance};
_.Dp=function(a,b,c){var d=void 0===d?yBa:d;var e=_.wla(b,a.endpointMap);if(!e)return _.Qk(new _.ge("Error: No request builder found for command.",b));var h=e.JSC$35151_getRequest(b,c,d);return h?new _.wf(function(l){var m,p,r;return _.y(function(v){if(1==v.nextAddress)return p="cors"===(null==(m=h.requestShell)?void 0:m.mode)?"cors":void 0,a.authService.syncHeaders?(r=VBa(h.config,p),v.jumpTo(2)):_.B(v,WBa(h.config,p),3);2!=v.nextAddress&&(r=v.yieldResult);l(XBa(a,h,r));_.bf(v)})}):_.Qk(new _.ge("Error: Failed to build request for command.",
b))};
_.up=function(a,b,c,d,e){e=void 0===e?{authStrategy:{identity:yBa}}:e;var h=void 0===h?!0:h;b.context||(b.context=_.Dh(d,h));return new _.wf(function(l){var m,p,r,v,z;return _.y(function(A){if(1==A.nextAddress)return m=xla(c),p=_.zd(m)?"same-origin":"cors",a.authService.syncHeaders?(r=VBa(e,p),A.jumpTo(2)):_.B(A,WBa(e,p),3);2!=A.nextAddress&&(r=A.yieldResult);var D=r;v=yla(xla(c),D);z={input:v,requestShell:Hh(v),innerTubeRequest:b,config:e};l(XBa(a,z,r));_.bf(A)})})};
XBa=function(a,b,c){var d,e,h,l,m,p,r,v,z,A,D,E,J,R,da,sa,Ca,ea,na,ma,Aa;return _.y(function($a){switch($a.nextAddress){case 1:h=null==(d=b.config)?void 0:null==(e=d.storeStrategy)?void 0:e.storeKey;if(!(h&&a.innertubeResponseStore&&a.innertubeResponseStore.has(h))){$a.jumpTo(2);break}return _.B($a,a.innertubeResponseStore.get(h),3);case 3:if((l=$a.yieldResult)&&!l.isExpired())return $a.return(Promise.resolve(oi(l)));case 2:if((p=null==(m=b.config)?void 0:m.requestKey)&&a.inflightRequests.has(p)&&
_.x("web_memoize_inflight_requests"))return $a.return(a.inflightRequests.get(p));if(null==(r=b)?0:null==(v=r.innerTubeRequest)?0:v.context)for(z=_.k([]),A=z.next();!A.done;A=z.next())D=A.value,D.processContext(b.innerTubeRequest.context);if(null==(E=a.localInnertubeRouter)?0:E.shouldPreferLocalResponse(b.input,b.innerTubeRequest))return $a.return(a.localInnertubeRouter.localInnertubeResponse(b.input,b.innerTubeRequest));J=JSON.stringify(b.innerTubeRequest);b.requestShell=Object.assign({},b.requestShell,
{headers:c});R=Object.assign({},b.requestShell);"POST"===b.requestShell.method&&(R=Object.assign({},R,{body:J}));(null==(da=b.config)?0:da.requestTick)&&_.fi(b.config.requestTick);sa=a.networkManager.fetch(b.input,R,b.config);p&&a.inflightRequests.set(p,sa);return _.B($a,sa,4);case 4:Ca=$a.yieldResult;p&&a.inflightRequests.has(p)&&a.inflightRequests.delete(p);(null==(ea=b.config)?0:ea.responseTick)&&_.fi(b.config.responseTick);if(Ca||null==(na=a.localInnertubeRouter)||!na.canProvideFallbackResponse(b.input,
b.innerTubeRequest)){$a.jumpTo(5);break}return _.B($a,a.localInnertubeRouter.localFallbackInnertubeResponse(b.input,b.innerTubeRequest),6);case 6:Ca=$a.yieldResult;case 5:if(Ca&&a.responseProcessorMap)for(ma=_.k(TBa),A=ma.next();!A.done;A=ma.next())Aa=A.value,a.responseProcessorMap[Aa]&&a.responseProcessorMap[Aa].handleResponse(Ca,b);return $a.return(Ca)}})};
WBa=function(a,b){var c,d,e,h;return _.y(function(l){if(1==l.nextAddress){e=null==(c=a)?void 0:null==(d=c.authStrategy)?void 0:d.sessionIndex;var m=_.Mg(xBa({sessionIndex:e}));return _.B(l,m,2)}h=l.yieldResult;return l.return(Promise.resolve(Object.assign({},YBa(b),h)))})};
VBa=function(a,b){var c;a=null==a?void 0:null==(c=a.authStrategy)?void 0:c.sessionIndex;c=xBa({sessionIndex:a});return Object.assign({},YBa(b),c)};
YBa=function(a){var b={"Content-Type":"application/json"};_.x("enable_web_eom_visitor_data")&&_.w("EOM_VISITOR_DATA")?b["X-Goog-EOM-Visitor-Id"]=_.w("EOM_VISITOR_DATA"):_.w("VISITOR_DATA")&&(b["X-Goog-Visitor-Id"]=_.w("VISITOR_DATA"));"cors"!==a&&((a=_.w("INNERTUBE_CONTEXT_CLIENT_NAME"))&&(b["X-Youtube-Client-Name"]=a),(a=_.w("INNERTUBE_CONTEXT_CLIENT_VERSION"))&&(b["X-Youtube-Client-Version"]=a),(a=_.w("CHROME_CONNECTED_HEADER"))&&(b["X-Youtube-Chrome-Connected"]=a),_.x("forward_domain_admin_state_on_embeds")&&
(a=_.w("DOMAIN_ADMIN_STATE"))&&(b["X-Youtube-Domain-Admin-State"]=a));return b};
var ZBa=new xo("LOCAL_INNERTUBE_ROUTER_TOKEN"),$Ba=new xo("LOCAL_INNERTUBE_SERVICE_MAP_TOKEN");
var Sp=function(a){this.serviceMap=a};
Sp.prototype.shouldPreferLocalResponse=function(a,b){return(a=Tp(this,a))?a.shouldPreferLocalResponse(b):!1};
Sp.prototype.localInnertubeResponse=function(a,b){var c=this,d;return _.y(function(e){return(d=Tp(c,a))?e.return(d.localInnertubeResponse(b)):e.return(Promise.reject(Error("Ac")))})};
Sp.prototype.canProvideFallbackResponse=function(a,b){return(a=Tp(this,a))?a.canProvideFallbackResponse(b):!1};
Sp.prototype.localFallbackInnertubeResponse=function(a,b){var c=this,d;return _.y(function(e){return(d=Tp(c,a))?e.return(d.localFallbackInnertubeResponse(b)):e.return(Promise.reject(Error("Ac")))})};
var Tp=function(a,b){b=_.Ed(b);return b?(a=a.serviceMap[b])?a:null:null};
Sp[wo]=[$Ba];
var Up,Zla;Up=window;_.li=Up.YT_I18N_FORMATTING_GOOG_LOCALE||"en-US";_.aCa=Up.YT_I18N_FORMATTING_PLURAL_RULES_SELECT||_.em;Zla=Up.YT_I18N_FORMATTING_DATE_TIME_SYMBOLS||_.Ll;_.bCa=Up.YT_I18N_FORMATTING_RELATIVE_DATE_TIME_SYMBOLS||_.Mta;_.cCa=Up.YT_I18N_FORMATTING_NUMBER_FORMAT_SYMBOLS||Kta;
var dma;!0!==Jta&&(Jta=!0);Hta=!0;Hta=!1;
_.mi({id:"America/Los_Angeles",names:["PST","PST","PDT","PDT"],std_offset:-480,transitions:[2770,60,7137,0,11506,60,16041,0,20410,60,24777,0,29146,60,33513,0,35194,60,42249,0,45106,60,50985,0,55354,60,59889,0,64090,60,68625,0,72994,60,77361,0,81730,60,86097,0,90466,60,94833,0,99202,60,103569,0,107938,60,112473,0,116674,60,121209,0,125578,60,129945,0,134314,60,138681,0,143050,60,147417,0,151282,60,156153,0,160018,60,165057,0,168754,60,173793,0,177490,60,182529,0,186394,60,191265,0,195130,60,200001,
0,203866,60,208905,0,212602,60,217641,0,221338,60,226377,0,230242,60,235113,0,238978,60,243849,0,247714,60,252585,0,256450,60,261489,0,265186,60,270225,0,273922,60,278961,0,282826,60,287697,0,291562,60,296433,0,300298,60,305337,0,309034,60,314073,0,317770,60,322809,0,326002,60,331713,0,334738,60,340449,0,343474,60,349185,0,352378,60,358089,0,361114,60,366825,0,369850,60,375561,0,378586,60,384297,0,387322,60,393033,0,396058,60,401769,0,404962,60,410673,0,413698,60,419409,0,422434,60,428145,0,431170,
60,436881,0,439906,60,445617,0,448810,60,454521,0,457546,60,463257,0,466282,60,471993,0,475018,60,480729,0,483754,60,489465,0,492490,60,498201,0,501394,60,507105,0,510130,60,515841,0,518866,60,524577,0,527602,60,533313,0,536338,60,542049,0,545242,60,550953,0,553978,60,559689,0,562714,60,568425,0,571450,60,577161,0,580186,60,585897,0,588922,60,594633,0]});_.dCa=$la(function(){return{dateFormat:1,timeFormat:7,joinerStyle:1,capitalize:function(a){return a}}});
_.eCa=$la(function(){return{dateFormat:3,timeFormat:7,joinerStyle:3,capitalize:function(a){return a}}});
dma=new Map;
var zi=function(){};
zi.prototype.shouldPreferLocalResponse=function(){return!1};
zi.prototype.localInnertubeResponse=function(){return _.y(function(a){return a.return(Promise.reject(Error("Cc")))})};
zi.prototype.canProvideFallbackResponse=function(){return!0};
zi.prototype.localFallbackInnertubeResponse=function(){var a,b,c;return _.y(function(d){a=ii("CLOSE_POPUP");b={openPopupAction:Wla()};c={actions:[a,b]};return d.return(c)})};
var ui=function(a,b,c){this.JSC$35264_upliftPromise=a;this.store=b;this.JSC$35264_persistentStorePromiseAccessor=c};
ui.prototype.shouldPreferLocalResponse=function(a){return"FEdownloads"===a.browseId?!0:!1};
ui.prototype.localInnertubeResponse=function(a){var b=this;return _.y(function(c){return"FEdownloads"===a.browseId?c.return(fCa(b)):c.return(Promise.reject(Error("Dc")))})};
ui.prototype.canProvideFallbackResponse=function(){return!0};
ui.prototype.localFallbackInnertubeResponse=function(a){var b=this,c,d;return _.y(function(e){switch(e.nextAddress){case 1:return _.B(e,b.JSC$35264_persistentStorePromiseAccessor(),2);case 2:c=e.yieldResult;if("SPaccount_downloads"!==a.browseId||!c){e.jumpTo(3);break}return _.B(e,kma(c),4);case 4:if(d=e.yieldResult)return e.return(oi(d));case 3:return e.return(gCa(b))}})};
var fCa=function(a){var b,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,a.JSC$35264_upliftPromise,2);if(3!=d.nextAddress)return b=hCa([{offlineItemSectionRenderer:{}}]),_.B(d,iCa(a,b),3);c=d.yieldResult;c.onResponseReceivedActions=[ii("REFRESH_DOWNLOADS")];return d.return(c)})},gCa=function(a){var b,c;
return _.y(function(d){if(1==d.nextAddress)return _.B(d,lma(a.JSC$35264_upliftPromise,a.store),2);b=d.yieldResult;c=hCa([gma(b)]);return d.return(iCa(a,c))})},hCa=function(a){return{twoColumnBrowseResultsRenderer:{tabs:[{tabRenderer:{selected:!0,
content:{sectionListRenderer:{contents:a}}}}]}}},iCa=function(a,b){var c,d;
return _.y(function(e){if(1==e.nextAddress)return _.B(e,a.JSC$35264_persistentStorePromiseAccessor(),2);if(3!=e.nextAddress)return c=e.yieldResult,_.B(e,jma(c),3);d=e.yieldResult;return e.return({responseContext:{},contents:b,topbar:d})})};
var Nma=function(a,b){this.JSC$35275_upliftPromise=a;this.store=b};
_.f=Nma.prototype;_.f.shouldPreferLocalResponse=function(a){var b;if(b="PPSV"===a.playlistId)b=gla(this.store.getState().entities,a.videoId);return b};
_.f.localInnertubeResponse=function(a){var b=this,c;return _.y(function(d){return(c=b.getPlayerResponse(a))?d.return(Promise.resolve(c)):d.return(Promise.reject(Error("Ec")))})};
_.f.canProvideFallbackResponse=function(a){return!!a.videoId};
_.f.localFallbackInnertubeResponse=function(a){var b=this,c;return _.y(function(d){return 1==d.nextAddress?_.B(d,b.JSC$35275_upliftPromise,2):(c=b.getPlayerResponse(a))?d.return(Promise.resolve(c)):d.return({playabilityStatus:{status:"UNPLAYABLE",errorScreen:{playerErrorMessageRenderer:{reason:_.lh(_.Bg("OFFLINE_CHECK_CONNECTION",void 0,"You're offline. Check your connection.")),proceedButton:{buttonRenderer:{style:"STYLE_OVERLAY",size:"SIZE_DEFAULT",text:_.lh(_.Bg("RETRY",void 0,"Retry")),loggingDirectives:{clientVeSpec:{uiType:123635}},
serviceEndpoint:{signalServiceEndpoint:{signal:"CLIENT_SIGNAL",actions:[{signalAction:{signal:"SOFT_RELOAD_PAGE"}}]}}}},icon:{iconType:"OFFLINE_NO_CONTENT"}}}}})})};
_.f.getPlayerResponse=function(a){a:{var b=this.store.getState().entities;if((a=a.videoId)&&fla(b,a)){var c,d,e=null==(d=null!=(c=_.Yg(b,"playbackData",_.Wg(a,"playbackData")))?c:void 0)?void 0:d.playerResponseJson;if(e){try{var h=JSON.parse(e);var l=_.Yg(b,"transfer",_.Wg(a,"transfer"));h.cotn=null==l?void 0:l.cotn}catch(m){}b=h;break a}}b=void 0}return b};
var xi=function(a){this.JSC$35282_persistentStorePromiseAccessor=a};
xi.prototype.shouldPreferLocalResponse=function(){return!1};
xi.prototype.localInnertubeResponse=function(){return _.y(function(a){return a.return(Promise.reject(Error("Fc")))})};
xi.prototype.canProvideFallbackResponse=function(){return!0};
xi.prototype.localFallbackInnertubeResponse=function(){var a=this,b,c;return _.y(function(d){return 1==d.nextAddress?_.B(d,a.JSC$35282_persistentStorePromiseAccessor(),2):3!=d.nextAddress?(b=d.yieldResult)?_.B(d,b.get("service:guide:fallback"),3):d.return(Promise.reject(Error("Gc"))):(c=d.yieldResult)&&oi(c)?d.return(hma(oi(c))):d.return(Promise.reject(Error("Hc")))})};
var Ai=function(){};
Ai.prototype.shouldPreferLocalResponse=function(){return!1};
Ai.prototype.localInnertubeResponse=function(){return _.y(function(a){return a.return(Promise.reject(Error("Ic")))})};
Ai.prototype.canProvideFallbackResponse=function(){return!0};
Ai.prototype.localFallbackInnertubeResponse=function(){var a,b,c;return _.y(function(d){a=ii("CLOSE_POPUP");b={openPopupAction:Wla()};c={actions:[a,b]};return d.return(c)})};
var vi=function(){this.urlMap=jCa;this.fallbackCommand=_.hp};
vi.prototype.shouldPreferLocalResponse=function(a){return(a=a.url)?!!kCa(this,a):!1};
vi.prototype.localInnertubeResponse=function(a){var b=this,c;return _.y(function(d){return(c=a.url)?d.return(Vp(a,kCa(b,c))):d.return(Promise.reject(Error("Jc")))})};
vi.prototype.canProvideFallbackResponse=function(){return!0};
vi.prototype.localFallbackInnertubeResponse=function(a){var b=this,c,d,e,h,l,m,p;return _.y(function(r){c=a.url;if(!c)return r.return(Vp(a,b.fallbackCommand));if(d=kCa(b,c))return r.return(Vp(a,d));e=void 0;h=_.Ed(c);"/watch"===h&&(l=_.Se(c,"v"))&&(p=null!=(m=_.Se(c,"list"))?m:void 0,e=_.kh(l,p));e||(e=b.fallbackCommand);return r.return(Vp(a,e))})};
var kCa=function(a,b){if(b)return a.urlMap[_.Gh(b)]},Vp=function(a,b){b&&a.parentTrackingParams&&(b.commandMetadata=Object.assign({},{resolveUrlCommandMetadata:{parentTrackingParams:a.parentTrackingParams}},b.commandMetadata));
return Promise.resolve({responseContext:{},endpoint:b})};
var yi=function(a,b,c){this.JSC$35293_upliftPromise=a;this.store=b;this.JSC$35293_persistentStorePromiseAccessor=c};
yi.prototype.shouldPreferLocalResponse=function(){return!1};
yi.prototype.localInnertubeResponse=function(){return _.y(function(a){return a.return(Promise.reject(Error("Kc")))})};
yi.prototype.canProvideFallbackResponse=function(){return!0};
yi.prototype.localFallbackInnertubeResponse=function(){var a=this;return _.y(function(b){return b.return(lCa(a))})};
var lCa=function(a){var b,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,lma(a.JSC$35293_upliftPromise,a.store),2);b=d.yieldResult;c={twoColumnSearchResultsRenderer:{primaryContents:{sectionListRenderer:{contents:[gma(b)]}}}};return d.return(mCa(a,c))})},mCa=function(a,b){var c,d;
return _.y(function(e){if(1==e.nextAddress)return _.B(e,a.JSC$35293_persistentStorePromiseAccessor(),2);if(3!=e.nextAddress)return c=e.yieldResult,_.B(e,jma(c),3);d=e.yieldResult;return e.return({responseContext:{},contents:b,topbar:d})})};
var wi=function(a,b,c){this.JSC$35298_upliftPromise=a;this.store=b;this.JSC$35298_persistentStorePromiseAccessor=c};
wi.prototype.shouldPreferLocalResponse=function(){return!1};
wi.prototype.localInnertubeResponse=function(){return _.y(function(a){return a.return(Promise.reject(Error("Lc")))})};
wi.prototype.canProvideFallbackResponse=function(a){return a.videoId?!0:!1};
wi.prototype.localFallbackInnertubeResponse=function(a){var b=this,c,d,e,h,l,m,p,r;return _.y(function(v){switch(v.nextAddress){case 1:c=a.videoId;if(!c)return v.return(Promise.reject(Error("Mc")));d=a.playlistId;e=_.kh(c,d);return _.B(v,b.JSC$35298_persistentStorePromiseAccessor(),2);case 2:return h=v.yieldResult,_.B(v,jma(h),3);case 3:return l=v.yieldResult,m={responseContext:{},currentVideoEndpoint:e,topbar:l},_.B(v,b.JSC$35298_upliftPromise,4);case 4:if(gla(b.store.getState().entities,c)){v.jumpTo(5);
break}return _.B(v,lma(b.JSC$35298_upliftPromise,b.store),6);case 6:return p=v.yieldResult,m.contents={singleColumnWatchNextResults:{results:{results:{contents:[gma(p)]}}}},v.return(m);case 5:if(r=_.qh(b.store.getState().entities,c)){var z=r.videoEntity;var A,D,E={title:_.mh(z.title),viewCount:{videoViewCountRenderer:{shortViewCount:_.nh(null==(A=z.localizedStrings)?void 0:A.viewCount),viewCount:_.nh(null==(D=z.localizedStrings)?void 0:D.viewCount)}}};z.publishedTimestampMillis&&(E.dateText=_.nh(_.Yla(new Date(Number(z.publishedTimestampMillis)))));
z={videoPrimaryInfoRenderer:E};A=r.videoEntity;D=r.channelEntity;A={videoSecondaryInfoRenderer:{defaultExpanded:!1,descriptionCollapsedLines:3,showMoreText:_.mh(_.Bg("SHOW_MORE",void 0,"Show more")),showLessText:_.mh(_.Bg("SHOW_LESS",void 0,"Show less")),description:A.formattedDescription,owner:{videoOwnerRenderer:{title:_.mh(D.title),thumbnail:D.avatar}}}};m.contents={twoColumnWatchNextResults:{results:{results:{contents:[z,A]}}}}}return v.return(m)}})};
var nCa=new xo("ENDPOINT_MAP");
var mma=/^[a-zA-Z0-9_\-]{11}$/;
var oCa,pCa,qCa,rCa,sCa,uCa,Ina,Gna,vCa,wCa;oCa=["SPhistory_controls"];pCa=new RegExp("jct sld rapt cid channel_creation_token force_ad_format ex_ads extra_kw".split(" ").map(function(a){return a+"="}).join("|"));
qCa=RegExp(".*?.*ybp=1.*");rCa=["FEcommerce_cart","SPcommerce_checkout"];sCa=RegExp(".*?.*playnext=1.*");_.Wp=function(a,b,c,d){this.watchEndpointMap=a;this.reelWatchEndpointMap=b;this.innerTubeTransportService=c;this.fetchPbj=d;this.forceWebFEForAdsTesting=!1};
uCa=function(a){var b=tCa.watchEndpointMap||{},c=_.Ei(),d=_.Eg().resolve(_.Cg(dBa));_.Wp.instance=new _.Wp(b,a,c,d)};
_.Xp=function(a,b){var c,d;if(!(null==(c=b.commandMetadata)?0:null==(d=c.webCommandMetadata)?0:d.rootVe))return!1;var e,h;c=null==(e=b.commandMetadata)?void 0:null==(h=e.webCommandMetadata)?void 0:h.url;if(!c)return!1;if((e=_.afa("kevlar_page_service_url_prefix_carveouts"))&&e.length)for(e=_.k(e),h=e.next();!h.done;h=e.next())if((h=h.value)&&c.startsWith(h))return!1;if(sCa.test(c))return _.x("page_request_service_enable_watch_playlist");if(pCa.test(c))return!1;var l;return(e=null==(l=b.browseEndpoint)?
void 0:l.browseId)&&oCa.includes(e)||!(!qCa.test(c)||_.x("kevlar_enable_ybp_op")||_.x("kevlar_enable_ybp_op_for_shoptube")&&e&&rCa.includes(e))?!1:b.watchEndpoint?!a.forceWebFEForAdsTesting&&a.watchEndpointMap.watchNext&&a.watchEndpointMap.player?b.watchEndpoint&&nma(b)?!0:!1:!1:b.reelWatchEndpoint?b.reelWatchEndpoint&&nma(b)?!0:!1:_.Eh(b,a.innerTubeTransportService.endpointMap)};
Ina=function(a,b,c,d,e,h){b={url:b};if(null==c?0:c.itct)b.parentTrackingParams=c.itct;var l=_.zh(Uya);return _.up(a.innerTubeTransportService,b,l).then(function(m){m=m.endpoint;(null==c?0:c.itct)&&!m.trackingParams&&(m.trackingParams=c.itct);var p=_.pla(m);return _.Yp(a,m,c,d,p,e,h)})};
_.Yp=function(a,b,c,d,e,h,l){if(a.fetchPbj&&!_.Xp(a,b)){var m=a.fetchPbj(b);return _.Mg(m.then(function(ea){if(!ea)throw Error("Nc");l(_.Mg(m))||h(b,ea);return ea}))}var p,r,v,z,A={rootVe:null==(p=b.commandMetadata)?void 0:null==(r=p.webCommandMetadata)?void 0:r.rootVe,
url:null==(v=b.commandMetadata)?void 0:null==(z=v.webCommandMetadata)?void 0:z.url,endpoint:b,page:e};if(b.watchEndpoint){var D,E;c={contentPlaybackContext:_.pi(c,null==(D=b.commandMetadata)?void 0:null==(E=D.webCommandMetadata)?void 0:E.url,d)};d=_.Mg();(D=a.watchEndpointMap.player)&&(D=D().JSC$35151_getRequest(b,c))&&(d=_.up(a.innerTubeTransportService,D.innerTubeRequest,D.input,b.clickTrackingParams,D.config));D=_.Mg();var J=a.watchEndpointMap.watchNext;J&&(c=J().JSC$35151_getRequest(b,c))&&(D=
_.up(a.innerTubeTransportService,c.innerTubeRequest,c.input,b.clickTrackingParams,c.config));a=_.Mg(A);c=_.Sk();vCa(b,a,d,D,h,l,c);return c.promise}if(b.reelWatchEndpoint){D=_.Mg();if(E=a.reelWatchEndpointMap.player){E=E();var R;c={contentPlaybackContext:_.pi(c,null==(J=b.commandMetadata)?void 0:null==(R=J.webCommandMetadata)?void 0:R.url,d)};(d=E.JSC$35151_getRequest(b,c))&&(D=_.up(a.innerTubeTransportService,d.innerTubeRequest,d.input,b.clickTrackingParams,d.config))}d=_.Mg();(c=a.reelWatchEndpointMap.reelItemWatch)&&
(c=c().JSC$35151_getRequest(b))&&(d=_.up(a.innerTubeTransportService,c.innerTubeRequest,c.input,b.clickTrackingParams,c.config));c=_.Mg();(J=a.reelWatchEndpointMap.reelWatchSequence)&&b.reelWatchEndpoint.sequenceParams&&(J=J().JSC$35151_getRequest(b))&&(c=_.up(a.innerTubeTransportService,J.innerTubeRequest,J.input,b.clickTrackingParams,J.config));a=_.Mg(A);J=_.Sk();wCa(b,a,D,d,c,h,l,J);return J.promise}var da,sa;if(b.watchPlaylistEndpoint&&(null==(da=b.commandMetadata)?0:null==(sa=da.webCommandMetadata)?
0:sa.url))return D=ula(_.Bm(_.lk().location.href),_.Bm(b.commandMetadata.webCommandMetadata.url)).toString(),Ina(a,D,c,d,h,l);if(_.Eh(b,a.innerTubeTransportService.endpointMap)){var Ca=_.Dp(a.innerTubeTransportService,b,{tempData:c,disableCache:c.disableCache});return Ca=Ca.then(function(ea){A.response=ea;l(Ca)||h(b,A);return A})}return _.Mg(A)};
Gna=function(a,b){var c,d,e;if(b.watchEndpoint){var h=a.watchEndpointMap.watchNext;h&&(c=h());(a=a.watchEndpointMap.player)&&(d=a())}else b.reelWatchEndpoint?((h=a.reelWatchEndpointMap.reelItemWatch)&&(c=h()),(h=a.reelWatchEndpointMap.player)&&(d=h()),(a=a.reelWatchEndpointMap.reelWatchSequence)&&(e=a())):(a=_.wla(b,a.innerTubeTransportService.endpointMap))&&(c=a);var l,m,p;return{content:null==(l=c)?void 0:l.JSC$35151_getStoreKey(b),player:null==(m=d)?void 0:m.JSC$35151_getStoreKey(b),reelSequence:null==
(p=e)?void 0:p.JSC$35151_getStoreKey(b)}};
vCa=function(a,b,c,d,e,h,l){var m,p,r,v,z;_.y(function(A){switch(A.nextAddress){case 1:return _.B(A,b,2);case 2:m=A.yieldResult;if(h(l.promise))return l.resolve(m),A.return();e(a,m);p=zla(a);if(!p.length){A.jumpTo(3);break}return _.B(A,b,4);case 4:m.preconnect=p,e(a,m);case 3:return _.se(A,5),_.B(A,c,7);case 7:r=A.yieldResult;_.te(A,6);break;case 5:return v=_.ue(A),l.reject(v),A.return();case 6:if(void 0===r)return m.reload=!0,e(a,m),l.resolve(m),A.return();if(h(l.promise))return l.resolve(m),A.return();
m.playerResponse=r;e(a,m);_.se(A,8);return _.B(A,d,10);case 10:z=A.yieldResult;_.te(A,9);break;case 8:_.ue(A);case 9:if(void 0===z)return m.response={responseContext:{}},l.resolve(m),A.return();if(h(l.promise))return l.resolve(m),A.return();m.response=z;e(a,m);l.resolve(m);_.bf(A)}})};
wCa=function(a,b,c,d,e,h,l,m){var p,r,v,z,A,D;_.y(function(E){switch(E.nextAddress){case 1:return _.B(E,b,2);case 2:p=E.yieldResult;if(l(m.promise))return m.resolve(p),E.return();h(a,p);r=zla(a);if(!r.length){E.jumpTo(3);break}return _.B(E,b,4);case 4:p.preconnect=r,h(a,p);case 3:return _.se(E,5),_.B(E,c,7);case 7:v=E.yieldResult;_.te(E,6);break;case 5:return z=_.ue(E),m.reject(z),E.return();case 6:if(void 0===v)return p.reload=!0,h(a,p),m.resolve(p),E.return();if(l(m.promise))return m.resolve(p),
E.return();p.playerResponse=v;h(a,p);_.se(E,8);return _.B(E,d,10);case 10:A=E.yieldResult;_.te(E,9);break;case 8:_.ue(E);case 9:if(void 0===A)return p.response={responseContext:{}},m.resolve(p),E.return();if(l(m.promise))return m.resolve(p),E.return();p.response=A;h(a,p);_.se(E,11);return _.B(E,e,13);case 13:D=E.yieldResult;_.te(E,12);break;case 11:_.ue(E);case 12:if(l(m.promise))return m.resolve(p),E.return();p.reelWatchSequenceResponse=D;h(a,p);m.resolve(p);_.bf(E)}})};
var Zp=function(){};
_.q(Zp,Ip);Zp.prototype.getApiPaths=function(){return Qxa};
Zp.prototype.getExtension=function(a){return a.runAttestationCommand};
Zp.prototype.buildRequest=function(a,b){b.ids&&(a.ids=[].concat(_.sc(b.ids)));b.engagementType&&(a.engagementType=b.engagementType)};
var $p=function(){};
_.q($p,Ip);$p.prototype.getApiPaths=function(){return Yxa};
$p.prototype.getExtension=function(a){return a.createBackstagePostEndpoint};
$p.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.createBackstagePostParams&&(a.createBackstagePostParams=b.createBackstagePostParams);c.comment_text&&(a.commentText=c.comment_text);if(c.attached_video_id)a.videoAttachment={videoId:c.attached_video_id};else if(c.poll_options)a.pollAttachment={choices:c.poll_options};else if(c.image_blob_id)a.imageAttachment={encryptedBlobId:c.image_blob_id},c.source_video_id&&(a.imageAttachment.sourceExternalVideoId=c.source_video_id),c.image_preview_coordinates&&
(a.imageAttachment.previewCoordinates=JSON.parse(c.image_preview_coordinates));else if(c.images_data)a.imagesAttachment={imagesData:c.images_data};else if(void 0!==c.clip_external_video_id||void 0!==c.clip_offset_ms||void 0!==c.clip_duration_ms){var d,e,h,l,m;a.clipAttachment={externalVideoId:null!=(h=c.clip_external_video_id)?h:"",offsetMs:null!=(l=null==(d=c.clip_offset_ms)?void 0:d.toString())?l:"",durationMs:null!=(m=null==(e=c.clip_duration_ms)?void 0:e.toString())?m:""}}else c.shared_post_id&&
(a.sharedPostAttachment={postId:c.shared_post_id});c.tagged_video_id&&(a.postCreationData={taggedVideoId:c.tagged_video_id});c.access_restrictions&&("number"===typeof c.access_restrictions&&(b=c.access_restrictions,a.accessRestrictions={restriction:1!==b&&2===b?"RESTRICTION_TYPE_SPONSORS_ONLY":"RESTRICTION_TYPE_EVERYONE"}),"string"===typeof c.access_restrictions&&(a.accessRestrictionsParams=c.access_restrictions));c.scheduled_publish_time_sec&&(a.scheduledPublishTimeSec=c.scheduled_publish_time_sec.toString())};
var aq=function(){};
_.q(aq,Ip);aq.prototype.getApiPaths=function(){return dya};
aq.prototype.getExtension=function(a){return a.decorateMessageEndpoint};
aq.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.decorateMessageParams&&(a.params=b.decorateMessageParams);c.text&&(a.text=c.text)};
var hq=function(){};
_.q(hq,Ip);hq.prototype.getApiPaths=function(){return wya};
hq.prototype.getExtension=function(a){return a.getPostVideoPreviewEndpoint};
hq.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;c.video_id&&(a.videoId=c.video_id)};
var iq=function(){};
_.q(iq,Ip);iq.prototype.getApiPaths=function(){return Aya};
iq.prototype.getExtension=function(a){return a.signalServiceEndpoint};
iq.prototype.buildRequest=function(a,b,c){c.suggestions_query&&(a.input=c.suggestions_query)};
var jq=function(){};
_.q(jq,Ip);jq.prototype.getApiPaths=function(){return eza};
jq.prototype.getExtension=function(a){return a.updateBackstagePostEndpoint};
jq.prototype.buildRequest=function(a,b,c){void 0!==c.comment_text&&(a.commentText=c.comment_text);c.scheduled_publish_time_sec&&(a.scheduledPublishTimeSec=c.scheduled_publish_time_sec.toString());a.updateBackstagePostParams=b.updateBackstagePostParams};
var kq=function(){};
_.q(kq,Ip);kq.prototype.getApiPaths=function(){return Rxa};
kq.prototype.getExtension=function(a){return a.continuationCommand};
kq.prototype.buildRequest=function(a,b){b.token&&(a.continuation=b.token)};
var xCa=function(){};
_.q(xCa,Ip);_.f=xCa.prototype;_.f.getApiPaths=function(){return Rxa};
_.f.getExtension=function(a){return a.browseEndpoint};
_.f.isNavigationCommand=function(){return!0};
_.f.JSC$35151_getStoreKey=function(a,b){b=void 0===b?{}:b;if(!b.disableCache&&(a=this.getExtension(a))&&a.browseId)return b={browseId:a.browseId},a.browseEndpointContextSupportedConfigs&&(b.browseEndpointContextSupportedConfigs=JSON.stringify(a.browseEndpointContextSupportedConfigs)),a.params&&(b.params=a.params),Ih("browse",b)};
_.f.buildRequest=function(a,b,c){b.browseId&&(a.browseId=b.browseId);b.params&&(a.params=b.params);b.query&&(a.query=b.query);c.formData?a.formData=c.formData:b.formData&&(a.formData=b.formData);"FEsubscriptions"===b.browseId&&_.ng(_.mg.getInstance(),155)&&(a.subscriptionSettingsState="MY_SUBS_SETTINGS_STATE_LAYOUT_FORMAT_LIST");"SPaccount_playback"===b.browseId&&(_.mg.getInstance(),a.formData||(a.formData={}),a.formData.accountSettingsFormData={flagCaptionsDefaultOff:_.ng(0,65),flagAutoCaptionsDefaultOn:_.ng(0,
66),flagDisableInlinePreview:_.ng(0,186)})};
_.f.getRequestConfig=function(a,b){b=void 0===b?{}:b;a=this.JSC$35151_getStoreKey(a,b);var c;a&&(c={storeStrategy:{storeKey:a}});_.x("web_log_browse_ticks_ks")||(c=c||{},c.requestTick="br_s",c.responseTick="br_r");return c};
var lq=function(){};
_.q(lq,Ip);lq.prototype.getApiPaths=function(){return Sxa};
lq.prototype.getExtension=function(a){return a.claimLegacyYoutubeChannelEndpoint};
lq.prototype.buildRequest=function(a,b,c){a.legacyYoutubeChannelUsername=c.legacyYouTubeChannelUsername||"";a.legacyYoutubeChannelPassword=c.legacyYouTubeChannelPassword||""};
var mq=function(){};
_.q(mq,Ip);mq.prototype.getApiPaths=function(){return Vya};
mq.prototype.getExtension=function(a){return a.revealBusinessEmailCommand};
mq.prototype.buildRequest=function(a,b,c){c.recaptcha_response_token&&(a.recaptchaResponseToken=c.recaptcha_response_token);c.channel_id&&(a.channelId=c.channel_id)};
var nq=function(){};
_.q(nq,Ip);nq.prototype.getApiPaths=function(){return fza};
nq.prototype.getExtension=function(a){return a.updateChannelPageSettingsEndpoint};
nq.prototype.buildRequest=function(a,b,c){b.externalChannelId&&(a.externalChannelId=b.externalChannelId);c.handle&&(a.handleUpdate={handle:c.handle})};
var oq=function(){};
_.q(oq,Ip);oq.prototype.getApiPaths=function(){return lza};
oq.prototype.getExtension=function(a){return a.validateChannelHandleCommand};
oq.prototype.buildRequest=function(a,b,c){b.externalChannelId&&(a.externalChannelId=b.externalChannelId);b.channelHandleEntityKey&&(a.channelHandleEntityKey=b.channelHandleEntityKey);c.handle&&(a.handle=c.handle)};
var pq=function(){};
_.q(pq,Ip);pq.prototype.getApiPaths=function(){return Vxa};
pq.prototype.getExtension=function(a){return a.performCommentActionEndpoint};
pq.prototype.buildRequest=function(a,b){b.actions?a.actions=b.actions:b.action&&(a.actions=[b.action])};
var qq=function(){};
_.q(qq,Ip);qq.prototype.getApiPaths=function(){return Wxa};
qq.prototype.getExtension=function(a){return a.continuationCommand};
qq.prototype.buildRequest=function(a,b){b.token&&(a.continuation=b.token)};
var rq=function(){};
_.q(rq,Ip);rq.prototype.getApiPaths=function(){return uya};
rq.prototype.getExtension=function(a){return a.continuationCommand};
rq.prototype.buildRequest=function(a,b){a.notificationsMenuRequestType="NOTIFICATIONS_MENU_REQUEST_TYPE_COMMENTS";b.token&&(a.fetchCommentsParams={continuation:b.token})};
var sq=function(){};
_.q(sq,Ip);sq.prototype.getApiPaths=function(){return $xa};
sq.prototype.getExtension=function(a){return a.createCommentReplyEndpoint};
sq.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.createReplyParams&&(a.createReplyParams=b.createReplyParams);b.commentText&&(a.commentText=_.qi(b.commentText));c.comment_text&&(a.commentText=c.comment_text);c.image_blob_id&&(a.imageAttachment={encryptedBlobId:c.image_blob_id});c.botguard_response&&(a.botguardResponse=c.botguard_response)};
_.t.Object.defineProperties(sq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var tq=function(){};
_.q(tq,Ip);tq.prototype.getApiPaths=function(){return aya};
tq.prototype.getExtension=function(a){return a.createCommentEndpoint};
tq.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.createCommentParams&&(a.createCommentParams=b.createCommentParams);b.commentText&&(a.commentText=_.qi(b.commentText));c.comment_text&&(a.commentText=c.comment_text);c.attached_video_id?a.videoAttachment={videoId:c.attached_video_id}:c.poll_options?a.pollAttachment={choices:c.poll_options}:c.image_blob_id?a.imageAttachment={encryptedBlobId:c.image_blob_id}:c.shared_post_id&&(a.sharedPostAttachment={postId:c.shared_post_id});c.access_restrictions&&
"number"===typeof c.access_restrictions&&(b=c.access_restrictions,a.accessRestrictions={restriction:1!==b&&2===b?"RESTRICTION_TYPE_SPONSORS_ONLY":"RESTRICTION_TYPE_EVERYONE"});c.botguard_response&&(a.botguardResponse=c.botguard_response)};
_.t.Object.defineProperties(tq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var uq=function(){};
_.q(uq,Ip);uq.prototype.getApiPaths=function(){return gza};
uq.prototype.getExtension=function(a){return a.updateCommentReplyEndpoint};
uq.prototype.buildRequest=function(a,b,c){b.commentText&&(a.replyText=_.qi(b.commentText));c.comment_text&&(a.replyText=c.comment_text);a.updateReplyParams=b.updateReplyParams};
_.t.Object.defineProperties(uq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var vq=function(){};
_.q(vq,Ip);vq.prototype.getApiPaths=function(){return hza};
vq.prototype.getExtension=function(a){return a.updateCommentEndpoint};
vq.prototype.buildRequest=function(a,b,c){b.commentText&&(a.commentText=_.qi(b.commentText));c.comment_text&&(a.commentText=c.comment_text);a.updateCommentParams=b.updateCommentParams};
_.t.Object.defineProperties(vq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var wq=function(){};
_.q(wq,Ip);wq.prototype.getApiPaths=function(){return iza};
wq.prototype.getExtension=function(a){return a.updateCommentsSettingsEndpoint};
wq.prototype.buildRequest=function(a,b){b.settings&&(a.settings=b.settings)};
var xq=function(){};
_.q(xq,Ip);xq.prototype.getApiPaths=function(){return mya};
xq.prototype.getExtension=function(a){return a.channelCreationFormEndpoint};
xq.prototype.buildRequest=function(a,b){b.channelCreationToken&&(a.channelCreationToken=b.channelCreationToken);b.source&&(a.source=b.source)};
var yq=function(){};
_.q(yq,Ip);yq.prototype.getApiPaths=function(){return Zxa};
yq.prototype.getExtension=function(a){return a.channelCreationServiceEndpoint};
yq.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;if(c.name&&(c.given_name||c.family_name))_.Qf(new _.ge("channel creation cannot set both GAIA and YouTube names",b));else{if(b.zeroStepChannelCreationParams){if(!c.comment_text){_.Qf(new _.ge("zero_step_create_comment_params but no zero_step_texts",b));return}a.zeroStepChannelCreationParams=b.zeroStepChannelCreationParams;a.zeroStepChannelCreationParams.zeroStepCreateCommentParams&&(a.zeroStepChannelCreationParams.zeroStepCreateCommentParams.input=
c.comment_text,c.botguard_response&&(a.zeroStepChannelCreationParams.zeroStepCreateCommentParams.botguardResponse=c.botguard_response))}a.channelCreationToken=b.channelCreationToken;c.given_name&&(a.givenName=c.given_name);c.family_name&&(a.familyName=c.family_name);if(c.name||c.handle||c.avatar_url||c.encryptedBlobId)a.overrideChannelCreationParams={},c.name&&(a.overrideChannelCreationParams.name=c.name),c.handle&&(a.overrideChannelCreationParams.handle=c.handle),c.avatar_url&&(a.overrideChannelCreationParams.avatarUrl=
c.avatar_url),c.encryptedBlobId&&(a.overrideChannelCreationParams.blobEncryptionId=c.encryptedBlobId)}};
var zq=function(){};
_.q(zq,Ip);zq.prototype.getApiPaths=function(a){return(a=this.getExtension(a))&&"DISLIKE"===a.status?gya:a&&"INDIFFERENT"===a.status?Rya:Eya};
zq.prototype.getExtension=function(a){return a.likeEndpoint};
zq.prototype.buildRequest=function(a,b){b.target&&(a.target=b.target);if(b=this.getParams(b))a.params=b};
zq.prototype.getParams=function(a){switch(null==a?void 0:a.status){case "DISLIKE":return a.dislikeParams;case "INDIFFERENT":return a.removeLikeParams;default:return null==a?void 0:a.likeParams}};
var Aq=function(){};
_.q(Aq,Ip);Aq.prototype.getApiPaths=function(){return $ya};
Aq.prototype.getExtension=function(a){return a.setSettingEndpoint};
Aq.prototype.buildRequest=function(a,b){b.settingItemId&&(a.settingItemId=b.settingItemId);null!=b.stringValue&&void 0!==b.stringValue?a.newValue={stringValue:b.stringValue}:b.intValue?a.newValue={intValue:b.intValue}:null!==b.boolValue&&void 0!==b.boolValue?a.newValue={boolValue:b.boolValue}:_.Qf(new _.ge("Unknown value type for SetSettingEndpoint.",b))};
var Bq=function(){};
_.q(Bq,Ip);Bq.prototype.getApiPaths=function(){return aza};
Bq.prototype.getExtension=function(a){return a.subscribeEndpoint};
Bq.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params);c.botguardResponse&&(a.botguardResponse=c.botguardResponse);c.feature&&(a.clientFeature=c.feature)};
_.t.Object.defineProperties(Bq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var Cq=function(){};
_.q(Cq,Ip);Cq.prototype.getApiPaths=function(){return dza};
Cq.prototype.getExtension=function(a){return a.unsubscribeEndpoint};
Cq.prototype.buildRequest=function(a,b){b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params)};
_.t.Object.defineProperties(Cq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var Dq=function(){};
_.q(Dq,Ip);Dq.prototype.getApiPaths=function(){return xya};
Dq.prototype.getExtension=function(a){return a.shareEntityEndpoint||a.shareEntityServiceEndpoint||a.shareEndpoint};
Dq.prototype.buildRequest=function(a,b){b.serializedShareEntity&&(a.serializedSharedEntity=b.serializedShareEntity)};
var Eq=function(){};
_.q(Eq,Ip);Eq.prototype.getApiPaths=function(){return Oxa};
Eq.prototype.getExtension=function(a){return a.acknowledgeChannelTouStrikeCommand};
Eq.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var Fq=function(){};
_.q(Fq,Ip);Fq.prototype.getApiPaths=function(){return hya};
Fq.prototype.getExtension=function(a){return a.dismissalEndpoint};
Fq.prototype.buildRequest=function(a,b){b.dismissal&&(a.items=[b.dismissal])};
_.t.Object.defineProperties(Fq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var Gq=function(){};
_.q(Gq,Ip);Gq.prototype.getApiPaths=function(){return Cya};
Gq.prototype.getExtension=function(a){return a.feedbackEndpoint};
Gq.prototype.buildRequest=function(a,b,c){a.feedbackTokens=[];b.feedbackToken&&a.feedbackTokens.push(b.feedbackToken);if(b=b.cpn||c.cpn)a.feedbackContext={cpn:b};a.isFeedbackTokenUnencrypted=!!c.is_feedback_token_unencrypted;a.shouldMerge=!1;c.extra_feedback_tokens&&(a.shouldMerge=!0,a.feedbackTokens=a.feedbackTokens.concat(c.extra_feedback_tokens))};
_.t.Object.defineProperties(Gq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var Hq=function(){};
_.q(Hq,Ip);Hq.prototype.getApiPaths=function(){return Cya};
Hq.prototype.getExtension=function(a){return a.signalServiceEndpoint};
Hq.prototype.buildRequest=function(a,b,c){c.feedback_tokens&&(a.feedbackTokens=c.feedback_tokens,a.shouldMerge=!0)};
_.t.Object.defineProperties(Hq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var Iq=function(){};
_.q(Iq,Ip);Iq.prototype.getApiPaths=function(){return Cya};
Iq.prototype.getExtension=function(a){return a.undoFeedbackEndpoint};
Iq.prototype.buildRequest=function(a,b){b.undoToken&&(a.feedbackTokens=[b.undoToken]);b.isUndoTokenUnencrypted&&(a.isFeedbackTokenUnencrypted=b.isUndoTokenUnencrypted)};
_.t.Object.defineProperties(Iq.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var Jq=function(){};
_.q(Jq,Ip);Jq.prototype.getApiPaths=function(){return mza};
Jq.prototype.getExtension=function(a){return a.verifyAgeEndpoint};
Jq.prototype.buildRequest=function(a,b){b.nextEndpoint&&b.nextEndpoint.urlEndpoint?a.nextEndpoint={urlEndpoint:b.nextEndpoint.urlEndpoint}:b.nextEndpoint&&b.nextEndpoint.watchEndpoint&&(a.nextEndpoint={watchEndpoint:b.nextEndpoint.watchEndpoint});b.setRacy&&(a.setRacy=b.setRacy);b.setControvercy&&(a.setControvercy=b.setControvercy)};
var Kq=function(){};
_.q(Kq,Ip);Kq.prototype.getApiPaths=function(){return jya};
Kq.prototype.getExtension=function(a){return a.getFlowCommand};
Kq.prototype.buildRequest=function(a,b){b.flowId&&(a.flowId=b.flowId);b.targetId&&(a.targetId=b.targetId);b.continuation&&(a.continuation=b.continuation)};
var yCa=function(){};
_.q(yCa,Ip);_.f=yCa.prototype;_.f.getApiPaths=function(){return Bya};
_.f.JSC$35151_getStoreKey=function(){return Ih("guide")};
_.f.getRequestConfig=function(){var a=this.JSC$35151_getStoreKey(),b;a&&(b={storeStrategy:{storeKey:a}});return b};
_.f.isNavigationCommand=function(){return _.x("warm_op_csn_cleanup")};
_.f.getExtension=function(a){return a.signalServiceEndpoint};
_.f.buildRequest=function(a){a.fetchLiveState=!0};
var Lq=function(){};
_.q(Lq,Ip);Lq.prototype.getApiPaths=function(){return Txa};
Lq.prototype.getExtension=function(a){return a.clearSearchHistoryEndpoint};
Lq.prototype.buildRequest=function(){};
var Mq=function(){};
_.q(Mq,Ip);Mq.prototype.getApiPaths=function(){return Uxa};
Mq.prototype.getExtension=function(a){return a.clearWatchHistoryEndpoint};
Mq.prototype.buildRequest=function(){};
var Nq=function(){};
_.q(Nq,Ip);Nq.prototype.getApiPaths=function(){return Nxa};
Nq.prototype.getExtension=function(a){return a.continuationCommand};
Nq.prototype.buildRequest=function(a,b){b.token&&(a.continuation=b.token);var c,d;null==a||null==(c=a.context)||null==(d=c.user)||delete d.onBehalfOfUser};
Nq.prototype.getRequestConfig=function(a){var b={},c;if(void 0!==(null==(c=this.getExtension(a))?void 0:c.sessionIndex)){var d;b={authStrategy:{sessionIndex:null==(d=this.getExtension(a))?void 0:d.sessionIndex}}}return b};
var Oq=function(){};
_.q(Oq,Ip);Oq.prototype.JSC$35151_getRequest=function(){return{input:"/getAccountSwitcherEndpoint",requestShell:Hh("/getAccountSwitcherEndpoint","GET"),innerTubeRequest:{}}};
Oq.prototype.getApiPaths=function(){return[]};
Oq.prototype.getExtension=function(a){return a.getAccountSwitcherEndpoint};
Oq.prototype.buildRequest=function(){};
var Pq=function(){};
_.q(Pq,Ip);Pq.prototype.JSC$35151_getRequest=function(a){var b="/cross_account_channel_transfer";(a=this.getExtension(a))&&(b=ud(b,{target_session:a.targetSessionIndex,source_rapt:a.sourceRapt,rapt:a.targetRapt}));return{input:b,requestShell:Hh(b,"GET"),innerTubeRequest:{}}};
Pq.prototype.getApiPaths=function(){return[]};
Pq.prototype.getExtension=function(a){return a.crossAccountChannelTransferEndpoint};
Pq.prototype.buildRequest=function(){};
var Qq=function(){};
_.q(Qq,Ip);Qq.prototype.getApiPaths=function(){return kya};
Qq.prototype.isNavigationCommand=function(){return _.x("warm_op_csn_cleanup")};
Qq.prototype.getExtension=function(a){return a.signalServiceEndpoint};
Qq.prototype.buildRequest=function(a){var b=_.mg.getInstance().get("gsml","");b&&(a.safetyModeLockerObfuscatedGaiaId=b);a.userInterfaceTheme=_.pg(!0);_.Gja()?a.deviceTheme="DEVICE_THEME_SELECTED":_.qg()?a.deviceTheme="DEVICE_THEME_SUPPORTED":a.deviceTheme="DEVICE_THEME_UNSUPPORTED"};
var Rq=function(){};
_.q(Rq,Ip);Rq.prototype.getApiPaths=function(){return Nxa};
Rq.prototype.getExtension=function(a){return a.getAccountsListInnertubeEndpoint};
Rq.prototype.buildRequest=function(a,b){if(b&&b.requestType&&(a.requestType=b.requestType,"ACCOUNTS_LIST_REQUEST_TYPE_CHANNEL_SWITCHER"===b.requestType||"ACCOUNTS_LIST_REQUEST_TYPE_IDENTITY_PROMPT"===b.requestType)){var c=b.nextUrl;c&&(_.jfa(c)||_.zd(c))&&(a.nextNavendpoint={urlEndpoint:{url:c}})}b&&b.channelSwitcherQuery&&(a.channelSwitcherQuery=b.channelSwitcherQuery);a.callCircumstance=b&&b.requestType&&"ACCOUNTS_LIST_REQUEST_TYPE_IDENTITY_PROMPT"===b.requestType?"SUPPLEMENTAL_USER":"SWITCHING_USERS_FULL";
var d,e;b=null==a?void 0:null==(d=a.context)?void 0:null==(e=d.user)?void 0:e.onBehalfOfUser;if(void 0!==b){a.obfuscatedSelectedGaiaId=b;var h,l;null==a||null==(h=a.context)||null==(l=h.user)||delete l.onBehalfOfUser}};
var Sq=function(){};
_.q(Sq,Ip);Sq.prototype.getApiPaths=function(){return Pxa};
Sq.prototype.getExtension=function(a){return a.addUpcomingEventReminderEndpoint};
Sq.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var Tq=function(){};
_.q(Tq,Ip);Tq.prototype.getApiPaths=function(){return bya};
Tq.prototype.getExtension=function(a){return a.createLiveChatPollEndpoint};
Tq.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.params&&(a.params=b.params);c.questionText&&(a.questionText=c.questionText);c.optionText&&0<c.optionText.length&&(a.optionText=c.optionText)};
var Uq=function(){};
_.q(Uq,Ip);Uq.prototype.getApiPaths=function(){return eya};
Uq.prototype.getExtension=function(a){return a.deleteLiveChatMessageCommand};
Uq.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var Vq=function(){};
_.q(Vq,Ip);Vq.prototype.getApiPaths=function(){return pya};
Vq.prototype.getExtension=function(a){return a.liveChatItemContextMenuEndpoint};
Vq.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var Wq=function(){};
_.q(Wq,Ip);Wq.prototype.getApiPaths=function(){return rya};
Wq.prototype.getExtension=function(a){return a.liveChatReplayEndpoint};
Wq.prototype.buildRequest=function(a,b,c){b.params&&(a.params=b.params);b.continuation&&(a.continuation=b.continuation);c.currentPlayerState&&c.currentPlayerState.playerOffsetMs&&(a.currentPlayerState={playerOffsetMs:c.currentPlayerState.playerOffsetMs.toString()})};
var Xq=function(){};
_.q(Xq,Ip);Xq.prototype.getApiPaths=function(){return sya};
Xq.prototype.getExtension=function(a){return a.liveChatEndpoint};
Xq.prototype.buildRequest=function(a,b,c){b.params&&(a.params=b.params);c.continuation&&(a.continuation=c.continuation);"hidden"in c&&(a.webClientInfo={isDocumentHidden:c.hidden});c.isInvalidationTimeoutRequest&&(a.isInvalidationTimeoutRequest=c.isInvalidationTimeoutRequest);c.reloadActionPanel&&(a.reloadActionPanel=c.reloadActionPanel);c.fullReload&&(a.fullReload=c.fullReload)};
var Yq=function(){};
_.q(Yq,Ip);Yq.prototype.getApiPaths=function(){return Fya};
Yq.prototype.getExtension=function(a){return a.liveChatActionEndpoint};
Yq.prototype.buildRequest=function(a,b){a.params=b.params};
var Zq=function(){};
_.q(Zq,Ip);Zq.prototype.getApiPaths=function(){return qya};
Zq.prototype.getExtension=function(a){return a.liveChatPurchaseMessageEndpoint};
Zq.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var $q=function(){};
_.q($q,Ip);$q.prototype.getApiPaths=function(){return Gya};
$q.prototype.getExtension=function(a){return a.liveChatQnaActionEndpoint};
$q.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.params&&(a.params=b.params);c.textMessage&&(a.textMessage=c.textMessage)};
var ar=function(){};
_.q(ar,Ip);ar.prototype.getApiPaths=function(){return tya};
ar.prototype.getExtension=function(a){return a.openSuperStickerBuyFlowCommand};
ar.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var br=function(){};
_.q(br,Ip);br.prototype.getApiPaths=function(){return Hya};
br.prototype.getExtension=function(a){return a.manageLiveChatUserEndpoint};
br.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var cr=function(){};
_.q(cr,Ip);cr.prototype.getApiPaths=function(){return Iya};
cr.prototype.getExtension=function(a){return a.moderateLiveChatEndpoint};
cr.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var dr=function(){};
_.q(dr,Ip);dr.prototype.getApiPaths=function(){return Sya};
dr.prototype.getExtension=function(a){return a.removeUpcomingEventReminderEndpoint};
dr.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var er=function(){};
_.q(er,Ip);er.prototype.getApiPaths=function(){return Yya};
er.prototype.getExtension=function(a){return a.sendLiveChatMessageEndpoint};
er.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.params&&(a.params=b.params);c.client_message_id&&(a.clientMessageId=c.client_message_id);c.recaptcha_token&&(a.recaptchaToken=c.recaptcha_token);c.rich_message&&c.rich_message.text_segments?(b=c.rich_message.text_segments.map(function(d){var e={};d.text&&(e.text=d.text);d.emoji_id&&(e.emojiId=d.emoji_id);return e}),a.richMessage={textSegments:b}):c.message&&(a.message=c.message)};
var fr=function(){};
_.q(fr,Ip);fr.prototype.getApiPaths=function(){return Zya};
fr.prototype.getExtension=function(a){return a.sendLiveChatVoteEndpoint};
fr.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var gr=function(){};
_.q(gr,Ip);gr.prototype.getApiPaths=function(){return cza};
gr.prototype.getExtension=function(a){return a.resolveLocationCommand};
gr.prototype.buildRequest=function(a,b,c){b.isUserInitiated&&(a.isUserInitiated=b.isUserInitiated);b.initiationSource&&(a.initiationSource=b.initiationSource);c.locationInfo&&(a.context.client.locationInfo=c.locationInfo)};
var hr=function(){};
_.q(hr,Ip);hr.prototype.getApiPaths=function(){return kza};
hr.prototype.getExtension=function(a){return a.updatedMetadataEndpoint};
hr.prototype.buildRequest=function(a,b,c){c.continuation?a.continuation=c.continuation:b.videoId&&(a.videoId=b.videoId)};
var ir=function(){};
_.q(ir,Ip);ir.prototype.getApiPaths=function(){return uya};
ir.prototype.getExtension=function(a){return a.getCommentsFromInboxCommand};
ir.prototype.buildRequest=function(a,b){a.notificationsMenuRequestType="NOTIFICATIONS_MENU_REQUEST_TYPE_COMMENTS";a.fetchCommentsParams={};b.videoId&&(a.fetchCommentsParams.encryptedVideoId=b.videoId);b.postId&&(a.fetchCommentsParams.postId=b.postId);b.externalChannelId&&(a.fetchCommentsParams.externalChannelId=b.externalChannelId);b.linkedCommentId&&(a.fetchCommentsParams.linkedCommentId=b.linkedCommentId);(0,_.u.isEmpty)(a.fetchCommentsParams)&&delete a.fetchCommentsParams};
var jr=function(){};
_.q(jr,Ip);jr.prototype.getApiPaths=function(){return uya};
jr.prototype.buildRequest=function(a,b){"GET_NOTIFICATIONS_MENU"===b.signal&&(a.notificationsMenuRequestType="NOTIFICATIONS_MENU_REQUEST_TYPE_INBOX");b.ctoken&&(a.ctoken=b.ctoken)};
var zCa=function(){};
_.q(zCa,jr);zCa.prototype.getExtension=function(a){return a.signalServiceEndpoint};
var ACa=function(){};
_.q(ACa,jr);ACa.prototype.getExtension=function(a){return a.getNotificationMenuEndpoint};
var kr=function(){};
_.q(kr,Ip);kr.prototype.getApiPaths=function(){return zya};
kr.prototype.getExtension=function(a){return a.signalServiceEndpoint};
kr.prototype.buildRequest=function(){};
var lr=function(){};
_.q(lr,Ip);lr.prototype.getApiPaths=function(){return Jya};
lr.prototype.getExtension=function(a){return a.modifyChannelNotificationPreferenceEndpoint};
lr.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params);b.secondaryParams&&(a.secondaryParams=b.secondaryParams)};
var mr=function(){};
_.q(mr,Ip);mr.prototype.getApiPaths=function(){return Kya};
mr.prototype.getExtension=function(a){return a.notificationOptOutEndpoint};
mr.prototype.buildRequest=function(a,b){b.undo&&(a.undo=b.undo);b.serializedOptOut&&(a.serializedOptOut=b.serializedOptOut);b.serializedRecordInteractionsRequest&&(a.serializedRecordInteractionsRequest=b.serializedRecordInteractionsRequest)};
var nr=function(){};
_.q(nr,Ip);nr.prototype.getApiPaths=function(){return Oya};
nr.prototype.getExtension=function(a){return a.recordNotificationInteractionsEndpoint};
nr.prototype.buildRequest=function(a,b){b.serializedInteractionsRequest&&(a.serializedRecordNotificationInteractionsRequest=b.serializedInteractionsRequest)};
var or=function(){};
_.q(or,Ip);or.prototype.getApiPaths=function(){return nya};
or.prototype.getExtension=function(a){return a.getDownloadActionCommand};
or.prototype.buildRequest=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;b.videoId&&(a.videoId=b.videoId);var d,e=null!=(d=b.offlineWebClientEligibility)?d:c.offlineWebClientEligibility;e&&(a.offlineWebClientEligibility=e);var h;if(d=null!=(h=b.preferredFormatType)?h:c.preferredFormatType)a.preferredFormatType=d;var l;if(h=null!=(l=b.preferredFormatTypeExpirationMs)?l:c.preferredFormatTypeExpirationMs)a.preferredFormatTypeExpirationMs=h;b.params&&(a.params=b.params)};
var pr=function(){};
_.q(pr,Ip);pr.prototype.getApiPaths=function(){return Lya};
pr.prototype.getExtension=function(a){return a.showEngagementPanelEndpoint};
pr.prototype.buildRequest=function(a,b){var c,d=b.panelIdentifier||(null==(c=b.identifier)?void 0:c.tag);d&&(a.panelId=d);var e;if(null==(e=b.globalConfiguration)?0:e.params){var h;a.params=null==(h=b.globalConfiguration)?void 0:h.params}};
var qr=function(){};
_.q(qr,Ip);qr.prototype.getApiPaths=function(){return Lya};
qr.prototype.getExtension=function(a){return a.refreshPanelEndpoint};
qr.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;a.continuation=c.continuation};
var rr=function(){};
_.q(rr,Ip);rr.prototype.getApiPaths=function(){return["pdg/get_pdg_buy_flow"]};
rr.prototype.getExtension=function(a){return a.getPdgBuyFlowCommand};
rr.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var sr=function(){};
_.q(sr,Ip);sr.prototype.getApiPaths=function(){return jza};
sr.prototype.getExtension=function(a){return a.updatePdgFeatureEnablementCommand};
sr.prototype.buildRequest=function(a,b){b.externalChannelId&&(a.externalChannelId=b.externalChannelId);b.superChatAction&&(a.superChatAction=b.superChatAction);b.superStickersAction&&(a.superStickersAction=b.superStickersAction)};
var tr=function(){};
_.q(tr,Ip);tr.prototype.getApiPaths=function(){return lya};
tr.prototype.getExtension=function(a){return a.addToPlaylistServiceEndpoint||a.addToPlaylistEndpoint};
tr.prototype.buildRequest=function(a,b){b.videoIds?a.videoIds=b.videoIds:b.videoId&&(a.videoIds=[b.videoId]);b.playlistId&&(a.playlistId=b.playlistId);a.excludeWatchLater=!1};
var ur=function(){};
_.q(ur,Ip);ur.prototype.getApiPaths=function(){return cya};
ur.prototype.getExtension=function(a){return a.createPlaylistServiceEndpoint};
ur.prototype.buildRequest=function(a,b,c){c.create_playlist_title&&(a.title=c.create_playlist_title);if(c.create_playlist_privacy_status&&"number"===typeof c.create_playlist_privacy_status){a:{var d=c.create_playlist_privacy_status;if(0!==d){if(1===d){d="PUBLIC";break a}if(2===d){d="UNLISTED";break a}}d="PRIVATE"}a.privacyStatus=d}c.create_playlist_description&&(a.description=c.create_playlist_description);b.videoIds&&(a.videoIds=b.videoIds);b.params&&(a.params=b.params);b.sourcePlaylistId&&(a.sourcePlaylistId=
b.sourcePlaylistId)};
var vr=function(){};
_.q(vr,Ip);vr.prototype.getApiPaths=function(){return fya};
vr.prototype.getExtension=function(a){return a.deletePlaylistEndpoint};
vr.prototype.buildRequest=function(a,b){a.playlistId=b.playlistId};
var wr=function(){};
_.q(wr,Ip);wr.prototype.getApiPaths=function(){return vya};
wr.prototype.getExtension=function(a){return a.playlistEditorEndpoint};
wr.prototype.buildRequest=function(a,b){b.playlistId&&(a.playlistId=b.playlistId)};
var xr=function(){};
_.q(xr,Ip);xr.prototype.getApiPaths=function(){return Nya};
xr.prototype.getExtension=function(a){return a.playlistEditEndpoint};
xr.prototype.buildRequest=function(a,b){b.actions&&(a.actions=b.actions);b.params&&(a.params=b.params);b.playlistId&&(a.playlistId=b.playlistId)};
var yr=function(){};
_.q(yr,Ip);yr.prototype.getApiPaths=function(){return Pya};
yr.prototype.getExtension=function(a){return a.reelWatchEndpoint};
yr.prototype.buildRequest=function(a,b){b.videoId&&(a.playerRequest={videoId:b.videoId});b.params&&(a.params=b.params);b.inputType&&(a.inputType=b.inputType);a.disablePlayerResponse=!0};
yr.prototype.getRequestConfig=function(){if(_.x("web_log_reels_ticks")){var a=a||{};a.requestTick="r_wrs";a.responseTick="r_wrr"}return a};
var zr=function(){};
_.q(zr,Ip);zr.prototype.getApiPaths=function(){return Qya};
zr.prototype.getExtension=function(a){return a.reelWatchEndpoint};
zr.prototype.buildRequest=function(a,b){a.sequenceParams=b.sequenceParams};
var Ar=function(){};
_.q(Ar,Ip);Ar.prototype.getApiPaths=function(){return Qya};
Ar.prototype.getExtension=function(a){return a.continuationCommand};
Ar.prototype.buildRequest=function(a,b){b.token&&(a.continuation=b.token)};
var Br=function(){};
_.q(Br,Ip);Br.prototype.getApiPaths=function(){return iya};
Br.prototype.getExtension=function(a){return a.flagEndpoint};
Br.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.flagAction&&(a.action=b.flagAction);b.flagRequestType&&(a.flagRequestType=b.flagRequestType);b.additionalDetailCheckboxChecked&&(a.additionalDetailCheckboxChecked=b.additionalDetailCheckboxChecked);b.legalCheckboxChecked&&(a.legalCheckboxChecked=b.legalCheckboxChecked);b={};void 0!==c.flag_issue_type&&(b.issue=c.flag_issue_type);void 0!==c.flag_affiliation&&(b.affiliation=c.flag_affiliation);c.flag_full_name&&(b.fullName=c.flag_full_name);
Object.keys(b).length&&(a.legalReportDetails=b);if(c.flag_description||c.text)a.userComments=c.flag_description||c.text;b={};void 0!==c.minutes&&void 0!==c.seconds&&(b.minutes=c.minutes,b.seconds=c.seconds);c.vss_id&&(b.vssId=c.vss_id);Object.keys(b).length&&(a.videoReportDetails=b);b={};c.video_ids&&(b.videoIds=c.video_ids);c.impersonated_channel_url&&(b.impersonatedChannelUrl=c.impersonated_channel_url);Object.keys(b).length&&(a.channelAbuseReportDetails=b)};
var Cr=function(){};
_.q(Cr,Ip);Cr.prototype.getApiPaths=function(){return oya};
Cr.prototype.getExtension=function(a){return a.getKidsBlocklistPickerCommand};
Cr.prototype.buildRequest=function(a,b){b.blockedForKidsContent&&(a.blockedForKidsContent=b.blockedForKidsContent)};
var Dr=function(){};
_.q(Dr,Ip);Dr.prototype.getApiPaths=function(){return Tya};
Dr.prototype.getExtension=function(a){return a.getReportFormEndpoint};
Dr.prototype.buildRequest=function(a,b,c){a.params=b.params;c.impersonated_channel_url&&(a.impersonatedChannelUrl=c.impersonated_channel_url)};
var Er=function(){};
_.q(Er,Ip);Er.prototype.getApiPaths=function(){return Dya};
Er.prototype.getExtension=function(a){return a.updateKidsBlacklistEndpoint};
Er.prototype.buildRequest=function(a,b){b.items&&(a.items=b.items);b.kidGaiaId&&(a.kidGaiaId=b.kidGaiaId)};
var Fr=function(){};
_.q(Fr,Ip);Fr.prototype.getApiPaths=function(){return Wya};
Fr.prototype.getExtension=function(a){return a.getSearchInVideoCommand};
Fr.prototype.buildRequest=function(a,b){b.externalVideoId&&(a.externalVideoId=b.externalVideoId);b.query&&(a.query=b.query);b.sourceTimelines&&(a.sourceTimelines=b.sourceTimelines)};
var Gr=function(){};
_.q(Gr,Ip);Gr.prototype.getApiPaths=function(){return Xya};
Gr.prototype.getExtension=function(a){return a.continuationCommand};
Gr.prototype.buildRequest=function(a,b){b.token&&(a.continuation=b.token)};
_.Hr=function(){};
_.q(_.Hr,Ip);_.f=_.Hr.prototype;_.f.getApiPaths=function(){return Xya};
_.f.getExtension=function(a){return a.searchEndpoint};
_.f.isNavigationCommand=function(){return!0};
_.f.JSC$35151_getStoreKey=function(a,b){b=void 0===b?{}:b;if(_.x("kevlar_cache_on_ttl_search")&&!b.disableCache&&(a=this.getExtension(a))&&a.query)return b={query:a.query},a.params&&(b.params=a.params),Ih("search",b)};
_.f.buildRequest=function(a,b,c){b.query&&(a.query=b.query);b.params&&(a.params=b.params);!_.x("web_forward_suggest_stats_killswitch")&&b.suggestStats&&(a.suggestStats=b.suggestStats);var d;!_.x("kevlar_searchbox_stats_killswitch")&&(null==(d=c.tempData)?0:d.gs_l)&&!b.suggestStats&&(a.webSearchboxStatsUrl="/search?oq="+(c.tempData.oq||"")+"&gs_l="+c.tempData.gs_l)};
_.f.getRequestConfig=function(a,b){b=void 0===b?{}:b;a=this.JSC$35151_getStoreKey(a,b);var c;a&&(c={storeStrategy:{storeKey:a}});_.x("web_log_search_ticks_ks")||(c=c||{},c.requestTick="sr_s",c.responseTick="sr_r");return c};
var Ir=function(){};
_.q(Ir,Ip);Ir.prototype.getApiPaths=function(){return yya};
Ir.prototype.getExtension=function(a){return a.getSurveyCommand};
Ir.prototype.buildRequest=function(a,b){b.endpoint&&(a.endpoint=b.endpoint);b.action&&(a.action=b.action)};
_.Jr=function(){};
_.q(_.Jr,Ip);_.f=_.Jr.prototype;_.f.getApiPaths=function(){return Mya};
_.f.getExtension=function(a){return a.watchEndpoint||a.reelWatchEndpoint};
_.f.isNavigationCommand=function(){return!0};
_.f.JSC$35151_getStoreKey=function(a){if((_.x("kevlar_cache_on_ttl_player")||_.x("mweb_enable_shorts_innertube_player_prefetch"))&&(a=this.getExtension(a))&&a.videoId){var b={videoId:a.videoId};a.playlistId&&(b.playlistId=a.playlistId);a.playerParams&&(b.params=a.playerParams);return Ih("player",b)}};
_.f.JSC$35151_getClientScreen=function(a){var b;return 2===(null==(b=a.contentPlaybackContext)?void 0:b.vis)?"WATCH_FULL_SCREEN":"WATCH"};
_.f.buildRequest=function(a,b,c){b.videoId&&(a.videoId=b.videoId);b.playlistId&&(a.playlistId=b.playlistId);void 0!==b.index&&(a.playlistIndex=b.index+1);b.playerParams&&(a.params=b.playerParams);"startTimeSeconds"in b&&b.startTimeSeconds&&(a.startTimeSecs=b.startTimeSeconds);c.contentPlaybackContext&&(a.playbackContext={contentPlaybackContext:c.contentPlaybackContext});c.prefetchPlaybackContext&&(a.playbackContext=Object.assign({},a.playbackContext,{prefetchPlaybackContext:c.prefetchPlaybackContext}),
a.context.request||(a.context.request={}),a.context.request.isPrefetch=!0);a.racyCheckOk=!1;a.contentCheckOk=!1;"MWEB"===_.w("INNERTUBE_CLIENT_NAME")&&(a.mwebCapabilities={supportsDashStreaming:_.w("SUPPORTS_DASH_STREAMING",!1),mobileClientSupportsLivestream:_.w("SUPPORTS_LIVESTREAM",!1)})};
_.f.getRequestConfig=function(a){a=this.JSC$35151_getStoreKey(a);var b;a&&(b={storeStrategy:{storeKey:a}});_.x("web_log_player_watch_next_ticks")&&(b=b||{},b.requestTick="ps_s",b.responseTick="ps_r");return b};
var Kr=function(){};
_.q(Kr,Ip);Kr.prototype.getApiPaths=function(){return bza};
Kr.prototype.getExtension=function(a){return a.getTranscriptEndpoint};
Kr.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params);a.searchQuery=b.searchQuery};
var BCa=function(){};
_.q(BCa,Ip);_.f=BCa.prototype;_.f.getApiPaths=function(){return _.nza};
_.f.getExtension=function(a){return a.watchEndpoint};
_.f.isNavigationCommand=function(){return!0};
_.f.JSC$35151_getStoreKey=function(a){if(_.x("enable_linear_prefetching_on_desktop")&&(a=this.getExtension(a))&&a.videoId){var b={videoId:a.videoId};a.playlistId&&(b.playlistId=a.playlistId);a.index&&(b.index=a.index);a.params&&(b.params=a.params);return Ih("next",b)}};
_.f.JSC$35151_getClientScreen=function(a){var b;return 2===(null==(b=a.contentPlaybackContext)?void 0:b.vis)?"WATCH_FULL_SCREEN":"WATCH"};
_.f.buildRequest=function(a,b,c){b.videoId&&(a.videoId=b.videoId);b.playlistId&&(a.playlistId=b.playlistId);b.params&&(a.params=b.params);void 0!==b.index&&(a.playlistIndex=b.index);var d;a.racyCheckOk=null!=(d=c.racyCheckOk)?d:!1;a.contentCheckOk=!1;c.contentPlaybackContext&&(a.autonavState=c.contentPlaybackContext.autonavState,a.playbackContext={vis:c.contentPlaybackContext.vis,lactMilliseconds:c.contentPlaybackContext.lactMilliseconds});c.prefetchPlaybackContext&&_.x("enable_linear_prefetching_on_desktop")&&
(a.context.request||(a.context.request={}),a.context.request.isPrefetch=!0);_.x("captions_hats_killswitch")||(b=_.ng(_.mg.getInstance(),65),b=null!=b?!b:!1,c=!!_.Oo("yt-player-sticky-caption"),a.captionsRequested=b&&c)};
_.f.getRequestConfig=function(a){a=this.JSC$35151_getStoreKey(a);var b;a&&(b={storeStrategy:{storeKey:a}});_.x("web_log_player_watch_next_ticks")&&(b=b||{},b.requestTick="wn_s",b.responseTick="wn_r");return b};
var Lr=function(){};
_.q(Lr,Ip);Lr.prototype.getApiPaths=function(){return _.nza};
Lr.prototype.getExtension=function(a){return a.continuationCommand};
Lr.prototype.buildRequest=function(a,b){b.token&&(a.continuation=b.token)};
var Mr=function(){};
_.q(Mr,Ip);Mr.prototype.getApiPaths=function(){return oza};
Mr.prototype.getExtension=function(a){return a.whitelistEditEndpoint};
Mr.prototype.buildRequest=function(a,b){b.params&&(a.params=b.params)};
var Nr=function(a){this.JSC$35732_storeWithEntities=a};
_.q(Nr,Ip);Nr.prototype.getApiPaths=function(){return Xxa};
Nr.prototype.getExtension=function(a){return a.commerceActionCommand};
Nr.prototype.buildRequest=function(a,b){var c=b.actionId,d=b.commerceActionParams;b=b.entityKeys;c&&(a.actionId=c);d&&(a.commerceActionParams=d);var e,h;c=null==(e=this.JSC$35732_storeWithEntities)?void 0:null==(h=e.getState())?void 0:h.entities;if(b&&c){e=[];b=_.k(b);for(h=b.next();!h.done;h=b.next())if(d=h.value,h=Ug(d).entityType,d=_.Yg(c,h,d)){var l={};e.push((l[h]=d,l))}a.entityMutationPayloads=e}};
Nr[wo]=[xp];
var Or=function(){};
_.q(Or,Ip);Or.prototype.getApiPaths=function(){return pza};
Or.prototype.getExtension=function(a){return a.ypcCancelRecurrenceEndpoint};
Or.prototype.buildRequest=function(a,b){b.feedbackData&&(a.feedbackData=b.feedbackData);b.params&&(a.itemParams=b.params)};
_.t.Object.defineProperties(Or.prototype,{includeCsn:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var Pr=function(){};
_.q(Pr,Ip);Pr.prototype.getApiPaths=function(){return qza};
Pr.prototype.getExtension=function(a){return a.ypcCompleteTransactionEndpoint};
Pr.prototype.buildRequest=function(a,b,c){c.payments_payload&&(a.paymentsPayload=c.payments_payload);c.offer_params&&(a.offerParams=c.offer_params);c.buybucket_params&&(a.buybucketParams=c.buybucket_params);b.transactionParams&&(a.transactionParams=b.transactionParams)};
var Qr=function(){};
_.q(Qr,Ip);Qr.prototype.getApiPaths=function(){return rza};
Qr.prototype.getExtension=function(a){return a.ypcGetCartEndpoint};
Qr.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.buybucketParams&&(a.buybucketData={params:b.buybucketParams},b.stickerParams?a.buybucketData.stickerParams=b.stickerParams:(c.rich_chat_message?a.buybucketData.richChatMessage=c.rich_chat_message:c.chat_message_text&&(a.buybucketData.chatMessageText=c.chat_message_text),c.purchase_price_micros&&(a.buybucketData.purchasePriceMicros=c.purchase_price_micros.toString())));b.donationAmountMicros&&(a.tipAmountMicros=b.donationAmountMicros,b.tipParams&&
(a.tipParams=b.tipParams));b.offerParams&&(a.offerParams=b.offerParams);b.productData&&(a.productData=b.productData);b.transactionParams&&(a.transactionParams=b.transactionParams)};
var Rr=function(){};
_.q(Rr,Ip);Rr.prototype.getApiPaths=function(){return sza};
Rr.prototype.getExtension=function(a){return a.ypcGetCrossDeviceOfflineEnabledDevicesCommand};
Rr.prototype.buildRequest=function(a,b){b.videoId?a.videoId=b.videoId:b.playlistId&&(a.playlistId=b.playlistId)};
var Sr=function(){};
_.q(Sr,Ip);Sr.prototype.getApiPaths=function(){return tza};
Sr.prototype.getExtension=function(a){return a.ypcUpdateFopEndpoint};
Sr.prototype.buildRequest=function(a,b){b.updateFopParams&&(a.updateFopParams=b.updateFopParams)};
var Tr=function(){};
_.q(Tr,Ip);Tr.prototype.getApiPaths=function(){return uza};
Tr.prototype.getExtension=function(a){return a.ypcGetOffersEndpoint};
Tr.prototype.buildRequest=function(a,b){b.couponCode&&(a.couponCode=b.couponCode);b.params&&(a.itemParams=b.params)};
var Ur=function(){};
_.q(Ur,Ip);Ur.prototype.getApiPaths=function(){return uza};
Ur.prototype.getExtension=function(a){return a.ypcOffersEndpoint};
Ur.prototype.buildRequest=function(a,b){b.params&&(a.itemParams=b.params)};
var Vr=function(){};
_.q(Vr,Ip);Vr.prototype.getApiPaths=function(){return vza};
Vr.prototype.getExtension=function(a){return a.getPaymentInstrumentsParamsCommand};
Vr.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;b.params&&(a.params=b.params);c.ctk&&(a.clientToken=c.ctk)};
var Wr=function(){};
_.q(Wr,Ip);Wr.prototype.getApiPaths=function(){return wza};
Wr.prototype.getExtension=function(a){return a.ypcHandleTransactionEndpoint};
Wr.prototype.buildRequest=function(a,b,c){c.purchase_price_micros&&(a.productData={pdgData:{purchasePriceMicros:c.purchase_price_micros.toString()}},c.rich_chat_message&&(a.productData.pdgData.richChatMessage=c.rich_chat_message));b.transactionParams&&(a.transactionParams=b.transactionParams);b.clientLocationContext&&(a.clientLocationContext=b.clientLocationContext);c.payments_payload&&(a.paymentsPayload=c.payments_payload);c.funds_guarantee_callback_client_data&&(a.fundsGuaranteeCallbackClientData=
c.funds_guarantee_callback_client_data)};
var Xr=function(){};
_.q(Xr,Ip);Xr.prototype.getApiPaths=function(){return xza};
Xr.prototype.getExtension=function(a){return a.ypcLogWalletAnalyticDataEndpoint};
Xr.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;c.backend_analytics&&(a.serializedBackendAnalyticsEvent=c.backend_analytics);b.offerParams&&(a.offerParams=b.offerParams)};
var Yr=function(){};
_.q(Yr,Ip);Yr.prototype.getApiPaths=function(){return yza};
Yr.prototype.getExtension=function(a){return a.ypcOfflineVideoOnDeviceCommand};
Yr.prototype.buildRequest=function(a,b){b.videoId?a.videoId=b.videoId:b.playlistId&&(a.playlistId=b.playlistId);b.deviceId&&(a.deviceId=b.deviceId);b.targetPlatformType&&(a.targetPlatformType=b.targetPlatformType);b.targetClientName&&(a.targetClientName=b.targetClientName)};
var Zr=function(){};
_.q(Zr,Ip);Zr.prototype.getApiPaths=function(){return zza};
Zr.prototype.getExtension=function(a){return a.ypcPauseSubscriptionCommand};
Zr.prototype.buildRequest=function(a,b,c){c.resume_time_ms&&(a.resumeTimeMs=c.resume_time_ms);b.pauseParams&&(a.pauseParams=b.pauseParams)};
var $r=function(){};
_.q($r,Ip);$r.prototype.getApiPaths=function(){return Aza};
$r.prototype.getExtension=function(a){return a.ypcRedeemCodeEndpoint};
$r.prototype.buildRequest=function(a,b,c){c=void 0===c?{}:c;c.c&&(a.redeemCode=c.c);c.rd&&(a.riskData=c.rd);c.ctk&&(a.clientToken=c.ctk)};
var as=function(){};
_.q(as,Ip);as.prototype.getApiPaths=function(){return Bza};
as.prototype.getExtension=function(a){return a.ypcResumeSubscriptionCommand};
as.prototype.buildRequest=function(a,b){b.resumeParams&&(a.resumeParams=b.resumeParams)};
var bs=new xo("DEFAULT_STORE_EXPIRATION_TOKEN"),cs=new xo("CLIENT_NAME_TOKEN");
var ds=function(a,b){this.clientName=a;this.defaultExpirationDelayMs=b};
ds.prototype.put=function(a,b){var c=this,d;return _.y(function(e){d=Object.assign({},b.data);d.key=a;d.clientName=c.clientName;void 0===d.expireTimestampMs&&(d.expireTimestampMs=(Math.round((0,_.Yd)())+c.defaultExpirationDelayMs).toString());return e.return(c.putInternal(a,d))})};
ds[wo]=[cs,bs];
var CCa=function(){ds.apply(this,arguments);this.JSC$35802_responseStore=new Map};
_.q(CCa,ds);_.f=CCa.prototype;_.f.get=function(a){var b=this;return _.y(function(c){return c.return(np(b,a))})};
_.f.putInternal=function(a,b){var c=this,d,e,h;return _.y(function(l){d=c.defaultExpirationDelayMs;b.expireTimestampMs&&(d=Number(b.expireTimestampMs)-Math.round((0,_.Yd)()),e=_.hd("mweb_override_response_store_expiration_ms"),0<e&&e<d&&(d=e));h=setTimeout(function(){c.remove(a)},d);
c.JSC$35802_responseStore.set(a,{entryData:b,timer:h});_.bf(l)})};
_.f.remove=function(a){var b=this;return _.y(function(c){DCa(b,a);_.bf(c)})};
_.f.removeAll=function(){var a=this;return _.y(function(b){a.JSC$35802_responseStore.forEach(function(c){clearTimeout(c.timer)});
a.JSC$35802_responseStore.clear();_.bf(b)})};
_.f.has=function(a){return!!this.JSC$35802_responseStore.get(a)};
_.f.getKeys=function(){return this.JSC$35802_responseStore.keys()};
var np=function(a,b){if(a=a.JSC$35802_responseStore.get(b))return new _.lp(a.entryData)},DCa=function(a,b){var c=a.JSC$35802_responseStore.get(b);
c&&(clearTimeout(c.timer),a.JSC$35802_responseStore.delete(b))};
var ri;
var pma=function(a,b,c){ds.call(this,a,b);this.token=c};
_.q(pma,ds);_.f=pma.prototype;_.f.get=function(a){var b=this,c,d;return _.y(function(e){return 1==e.nextAddress?_.B(e,si(b.token),2):3!=e.nextAddress?(c=e.yieldResult,_.B(e,c.get("ResponseStore",[a,b.clientName]),3)):(d=e.yieldResult)?e.return(new _.lp(d)):e.return(void 0)})};
_.f.putInternal=function(a,b){var c=this,d;return _.y(function(e){if(1==e.nextAddress)return _.B(e,si(c.token),2);d=e.yieldResult;return _.B(e,d.put("ResponseStore",b),0)})};
_.f.remove=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,si(b.token),2);c=d.yieldResult;return d.return(c.delete("ResponseStore",[a,b.clientName]))})};
_.f.removeAll=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,si(a.token),2);b=c.yieldResult;return _.B(c,jwa(b,IDBKeyRange.only(a.clientName)),0)})};
_.f.has=function(){throw Error("Oc");};
_.es=new xo("PERSISTENT_STORE_PROMISE_ACCESSOR_TOKEN");
var ECa=function(a){var b;this.stateTagsData=null==(b=a.responseContext)?void 0:b.stateTags},FCa=function(a){var b;
return(null==(b=a.stateTagsData)?void 0:b.stateTagsModified)||[]};
var GCa;GCa=function(a){this.JSC$35815_responseStore=a};
_.Mi=function(a,b,c){if(!_.x("state_tags_killswitch")){var d=new ECa(b);if(0<FCa(d).length){var e=a.JSC$35815_responseStore.getKeys();e=_.k(e);for(var h=e.next();!h.done;h=e.next()){h=h.value;var l=np(a.JSC$35815_responseStore,h);if(l){var m=oi(l);a:{var p=void 0;l=FCa(d);m=(null==(p=(new ECa(m)).stateTagsData)?void 0:p.relevantStateTags)||[];p=_.k(m);for(m=p.next();!m.done;m=p.next())if(m=m.value,null!=m.stateTag&&l.includes(m.stateTag)&&"STATE_TAG_CACHE_INSTRUCTION_EVICT_RESPONSE"===m.onStateTagModified){l=
!0;break a}l=!1}l&&DCa(a.JSC$35815_responseStore,h)}}}}var r;d=null==(r=b.responseContext)?void 0:r.maxAgeSeconds;c&&d&&0<Number(d)&&(b=qla(b,d),a.JSC$35815_responseStore.put(c,new _.lp(b)))};
GCa.prototype.handleResponse=function(a,b){var c,d;b=null==(c=b.config)?void 0:null==(d=c.storeStrategy)?void 0:d.storeKey;_.Mi(this,a,b)};
GCa[wo]=[_.kp];
_.Li=new xo("STORE_RESPONSE_PROCESSOR_TOKEN");
var HCa=new xo("WINDOW_ON_ERROR"),ICa=new xo("ERROR_WEIGHT_MAPS"),JCa=new xo("INIT_ERROR");
var KCa={},LCa=(KCa.initialized={priority:10,callback:function(a){a.injector.resolve(JCa)()}},KCa);
var rma=null;
var NCa=function(a){var b=this;var c=void 0===c?0:c;var d=void 0===d?_.Ci():d;this.JSC$35823_defaultPriority=c;this.JSC$35823_scheduler=d;this.completedResolver=new _.dk;this.scheduledPayloads=a;a={};c=_.k(this.scheduledPayloads.entries());for(d=c.next();!d.done;a={$jscomp$loop$prop$payload$3319:a.$jscomp$loop$prop$payload$3319,$jscomp$loop$prop$index$3320:a.$jscomp$loop$prop$index$3320},d=c.next()){var e=_.k(d.value);d=e.next().value;e=e.next().value;a.$jscomp$loop$prop$index$3320=d;a.$jscomp$loop$prop$payload$3319=
e;d=function(h){return function(){h.$jscomp$loop$prop$payload$3319.job();b.scheduledPayloads[h.$jscomp$loop$prop$index$3320].processed=!0;b.scheduledPayloads.every(function(l){return!0===l.processed})&&b.completedResolver.resolve()}}(a);
e=this.JSC$35823_scheduler.addJob(d,MCa(this,a.$jscomp$loop$prop$payload$3319));this.scheduledPayloads[a.$jscomp$loop$prop$index$3320]=Object.assign({},a.$jscomp$loop$prop$payload$3319,{job:d,jobId:e})}};
NCa.prototype.flushJobs=function(){var a=this,b=Array.from(this.scheduledPayloads.keys()).sort(function(d,e){return MCa(a,a.scheduledPayloads[e])-MCa(a,a.scheduledPayloads[d])});
b=_.k(b);for(var c=b.next();!c.done;c=b.next())c=this.scheduledPayloads[c.value],void 0===c.jobId||c.processed||(this.JSC$35823_scheduler.cancelJob(c.jobId),this.JSC$35823_scheduler.addJob(c.job,10))};
NCa.prototype.cancel=function(){for(var a=_.k(this.scheduledPayloads),b=a.next();!b.done;b=a.next())b=b.value,void 0===b.jobId||b.processed||this.JSC$35823_scheduler.cancelJob(b.jobId),b.processed=!0;this.completedResolver.resolve()};
var MCa=function(a,b){var c;return null!=(c=b.priority)?c:a.JSC$35823_defaultPriority};
_.fs=function(a){this.state=a;this.plugins=[];this.overridePriority=void 0};
_.fs.prototype.install=function(){this.plugins.push.apply(this.plugins,_.sc(_.Ob.apply(0,arguments)))};
_.fs.prototype.transition=function(a,b){var c=this,d=this.transitions.find(function(h){return h.from===c.state&&h.to===a});
if(d){this.jobSet&&(this.jobSet.flushJobs(),this.jobSet=void 0);this.state=a;d=d.action.bind(this);var e=this.plugins.filter(function(h){return h[a]}).map(function(h){return h[a]});
d(OCa(this,e,this.overridePriority),b)}else sma(Error("Pc`"+this.state+"`"+a))};
var OCa=function(a,b,c){return function(){var d=_.Ob.apply(0,arguments),e=b.filter(function(p){var r;return 10===(null!=(r=null!=c?c:p.priority)?r:0)}),h=b.filter(function(p){var r;
return 10!==(null!=(r=null!=c?c:p.priority)?r:0)});
_.Ci();var l={};e=_.k(e);for(var m=e.next();!m.done;l={$jscomp$loop$prop$lifecycle$3322:l.$jscomp$loop$prop$lifecycle$3322},m=e.next())l.$jscomp$loop$prop$lifecycle$3322=m.value,_.Kn(function(p){return function(){p.$jscomp$loop$prop$lifecycle$3322.callback.apply(p.$jscomp$loop$prop$lifecycle$3322,_.sc(d))}}(l));
h=h.map(function(p){var r;return{job:function(){p.callback.apply(p,_.sc(d))},
priority:null!=(r=null!=c?c:p.priority)?r:0}});
h.length&&(a.jobSet=new NCa(h))}};
_.t.Object.defineProperties(_.fs.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});
var gs=function(a,b){_.fs.call(this,void 0===b?"uninitialized":b);this.env=a;this.transitions=[{from:"uninitialized",to:"initialized",action:this.init},{from:"initialized",to:"rendering",action:this.initialRender},{from:"rendering",to:"rendered",action:this.afterRender}]};
_.q(gs,_.fs);gs.prototype.init=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return a(b.env),b.jobSet?_.B(d,b.jobSet.completedResolver.promise,2):d.jumpTo(2);c=_.Ko();c.parkOrScheduleJob(function(){b.transition("rendering")},10,"ci");
_.bf(d)})};
gs.prototype.initialRender=function(a){a(this.env)};
gs.prototype.afterRender=function(a){a(this.env)};
var hs=function(a,b){this.innertubeClientName=a;this.userPrefs=b};
hs.prototype.record=function(){if(_.x("web_li_record_binary_eval_tick")){var a=_.Kh().rsef_dpj;var b=_.Kh().rses_dpj;a=void 0!==a&&void 0!==b?Math.round(a-b):void 0;if(void 0!==a&&0<a){b=_.Oo(this.storagePrefix+"-"+this.innertubeClientName)||{valuesSample:[],valuesSeen:0};var c=this.poolSize;if(!(1E9<=b.valuesSeen)){if(b.valuesSample.length<c)b.valuesSample.push(a);else{var d=Math.floor(Math.random()*(b.valuesSeen+1));d<c&&(b.valuesSample[d]=a)}b.valuesSeen+=1}_.No(this.storagePrefix+"-"+this.innertubeClientName,
b,2592E3);a=b.valuesSample;b=tma(a);a=5>a.length?void 0:400>b?1:1700>b?2:3;void 0!==a&&(this.userPrefs.set(this.cookiePrefix+this.innertubeClientName,a),this.userPrefs.save())}}else _.Po(this.storagePrefix+"-"+this.innertubeClientName),this.userPrefs.remove(this.cookiePrefix+this.innertubeClientName),this.userPrefs.save()};
hs[wo]=[cs,Jza];
var is=function(){hs.apply(this,arguments);this.storagePrefix="yt-signal-be";this.cookiePrefix="lsbe";this.poolSize=5};
_.q(is,hs);
var js;js=function(){this.graftQueue=[];this.stateChangedQueue=[];this.backHistoryStack=[];this.afterNewScreenOneOffJobs=[];this.afterNewScreenRecurringJobs=[];this.pendingScreenCreation=new Set;this.recurringGrafts=new Map};
_.vp=function(){js.instance||(js.instance=new js);return js.instance};
_.PCa=function(a,b,c){c=void 0===c?{}:c;var d,e,h=null==b?void 0:null==(d=b.commandMetadata)?void 0:null==(e=d.webCommandMetadata)?void 0:e.rootVe;if(h){var l;d=null==b?void 0:null==(l=b.commandMetadata)?void 0:l.resolveUrlCommandMetadata;if(null==d?0:d.parentTrackingParams){var m=_.no(d.parentTrackingParams);if(d.parentCsn)var p=d.parentCsn}else c.clickedVisualElement?m=c.clickedVisualElement:b.clickTrackingParams&&(m=_.no(b.clickTrackingParams));a:{if(b.watchEndpoint){if(l=xma(b.watchEndpoint,"VIDEO")){b=
{token:l,videoId:b.watchEndpoint.videoId};break a}}else if(b.watchPlaylistEndpoint&&(l=xma(b.watchPlaylistEndpoint,"PLAYLIST"))){b={token:l,playlistId:b.watchPlaylistEndpoint.playlistId};break a}b=void 0}c=Object.assign({},{cttAuthInfo:b,parentCsn:p},c);_.ks(a,h,m,c)}else _.Rf(new _.ge("Error: Trying to create a new screen without a rootVeType",b))};
_.ks=function(a,b,c,d){d=void 0===d?{}:d;Object.values(Cza).includes(b)||(_.Rf(new _.ge("createClientScreen() called with a non-page VE",b)),b=83769);d.isHistoryNavigation||a.backHistoryStack.push({rootVe:b,key:d.key||""});a.graftQueue=[];a.stateChangedQueue=[];d.dataPromises?QCa(a,b,c,d):RCa(a,b,c,d)};
_.SCa=function(a,b,c){c=void 0===c?0:c;b.then(function(d){a.pendingScreenCreation.has(c)&&a.pendingScreenFn&&a.pendingScreenFn();var e=_.fg(c),h=_.eg(c);if(e&&h){var l;(null==d?0:null==(l=d.response)?0:l.trackingParams)&&_.sg(a.client,e,h,[_.no(d.response.trackingParams)]);var m;(null==d?0:null==(m=d.playerResponse)?0:m.trackingParams)&&_.sg(a.client,e,h,[_.no(d.playerResponse.trackingParams)])}})};
_.ms=function(a,b,c,d){b=_.no(b);_.ls(a,b,c,d);return b};
_.ls=function(a,b,c,d){d=void 0===d?0:d;if(a.pendingScreenCreation.has(d))return a.graftQueue.push([b,c]),!0;var e=_.fg(d);c=c||_.eg(d);return e&&c?(_.sg(a.client,e,c,[b]),!0):!1};
_.TCa=function(a,b,c,d){d=_.fg(void 0===d?0:d);if(!d)return!1;_.ug(a.client,d,b,void 0,c);return!0};
_.ns=function(a,b,c,d){if(!b)return!1;d=_.fg(void 0===d?0:d);if(!d)return!1;_.ug(a.client,d,_.no(b),void 0,c);return!0};
js.prototype.clickCommand=function(a,b,c){return _.ns(this,a.clickTrackingParams,b,void 0===c?0:c)};
js.prototype.stateChanged=function(a,b,c){c=void 0===c?0:c;a=_.no(a);0===c&&this.pendingScreenCreation.has(c)?this.stateChangedQueue.push([a,b]):this.logStateChanged(a,b,c)};
js.prototype.logStateChanged=function(a,b,c){c=void 0===c?0:c;var d=_.fg(c);a=a||_.eg(c);return d&&a?(_.vg(this.client,d,a,b),!0):!1};
var QCa=function(a,b,c,d){d=void 0===d?{}:d;a.pendingScreenCreation.add(d.layer||0);a.pendingScreenFn=function(){RCa(a,b,c,d);var l=_.eg(d.layer);if(l){for(var m=_.k(a.graftQueue),p=m.next();!p.done;p=m.next())p=p.value,_.ls(a,p[0],p[1]||l,d.layer);l=_.k(a.stateChangedQueue);for(m=l.next();!m.done;m=l.next())m=m.value,a.logStateChanged(m[0],m[1])}};
c||_.fg(d.layer)||a.pendingScreenFn();if(d.dataPromises)for(var e=_.k(d.dataPromises),h=e.next();!h.done;h=e.next())_.SCa(a,h.value,d.layer);else _.Qf(Error("Qc"))},RCa=function(a,b,c,d){d=void 0===d?{}:d;
d.layer||(d.layer=0);var e=void 0!==d.parentLayer?d.parentLayer:d.layer;var h=_.fg(e);e=_.eg(e);var l=c||e,m;l&&(void 0!==d.parentCsn?m=a.getParentElement(d.parentCsn,l):h&&"UNDEFINED_CSN"!==h&&(m=a.getParentElement(h,l)));var p;l=_.w("EVENT_ID");"UNDEFINED_CSN"===h&&l&&(p={servletData:{serializedServletEventId:l}});try{var r=_.Pja(a.client,b,m,d.csnToClone,d.cttAuthInfo,p,d.implicitGestureType)}catch(v){_.Sf(v,{rootVeType:b,rootVe:e,parentVisualElement:c,currentCsn:h,parentEl:m,csnToClone:d.csnToClone});
_.Qf(v);return}_.hg(r,b,d.layer,d.cttAuthInfo);if(b=h&&"UNDEFINED_CSN"!==h&&e){a:{b=_.k(Object.values(Gxa));for(c=b.next();!c.done;c=b.next())if(_.fg(c.value)===h){b=!0;break a}b=!1}b=!b}b&&_.Uja(a.client,h,e,!0);a.backHistoryStack[a.backHistoryStack.length-1]&&!a.backHistoryStack[a.backHistoryStack.length-1].csn&&(a.backHistoryStack[a.backHistoryStack.length-1].csn=r||"");_.Qh({clientScreenNonce:r});_.Dza();e=_.eg(d.layer);h&&"UNDEFINED_CSN"!==h&&e&&(_.x("web_mark_root_visible")||_.x("music_web_mark_root_visible"))&&
_.xg(r,e);a.pendingScreenCreation.delete(d.layer||0);a.pendingScreenFn=void 0;h=_.k(a.recurringGrafts);for(r=h.next();!r.done;r=h.next())b=_.k(r.value),r=b.next().value,b=b.next().value,b.has(d.layer)&&e&&_.ls(a,r,e,d.layer);for(d=0;d<a.afterNewScreenOneOffJobs.length;d++){h=a.afterNewScreenOneOffJobs[d];try{h()}catch(v){_.Qf(v)}}for(d=a.afterNewScreenOneOffJobs.length=0;d<a.afterNewScreenRecurringJobs.length;d++){h=a.afterNewScreenRecurringJobs[d];try{h()}catch(v){_.Qf(v)}}};
js.prototype.getParentElement=function(a,b){return{clientScreenNonce:a,visualElement:b}};
var os=new xo("SCREEN_MANAGER_TOKEN"),Pma=new xo("SCREEN_MANAGER_TOKEN");
var UCa,yma;UCa=_.Pi(["https://www.gstatic.com/external_hosted/lottie/lottie_light.js"]);yma=_.Pb(UCa);
var VCa=new xo("NETWORK_SLI_TOKEN");
var ps=function(a){this.networkSli=a};
ps.prototype.fetch=function(a,b){var c=this,d,e;return _.y(function(h){c.networkSli&&(d=_.Ed(_.uh(a,"key"))||"/UNKNOWN_PATH",c.networkSli.start(d));e=new window.Request(a,b);return _.x("web_fetch_promise_cleanup_killswitch")?h.return(Promise.resolve(fetch(e).then(function(l){return c.handleResponse(l)}).catch(function(l){_.Rf(l)}))):h.return(fetch(e).then(function(l){return c.handleResponse(l)}).catch(function(l){_.Rf(l)}))})};
ps.prototype.handleResponse=function(a){var b=a.text().then(function(c){return JSON.parse(c.replace(")]}'",""))});
a.redirected||a.ok?this.networkSli&&this.networkSli.success():(this.networkSli&&this.networkSli.failure(),b=b.then(function(c){_.Rf(new _.ge("Error: API fetch failed",a.status,a.url,c));return Object.assign({},c,{errorMetadata:{status:a.status}})}));
return b};
ps[wo]=[_.Cg(VCa)];
var WCa=new xo("NETWORK_MANAGER_TOKEN");
var XCa=new xo("DOWNLOAD_ELIGIBILITY_PROMISE_TOKEN");
var qs=function(a,b){this.JSC$35882_storeWithEntities=a;this.JSC$35882_commandHandler=b;this.downloadingToastInitialized=!1;this.downloadingVideos=[]};
qs.prototype.start=function(){this.JSC$35882_storeWithEntities.subscribe(this.observeDownloadingVideos.bind(this))};
qs.prototype.observeDownloadingVideos=function(){var a=_.hla(this.JSC$35882_storeWithEntities.getState().entities).map(function(d){return d.videoEntity.videoId});
if(0<a.length){if(!this.downloadingToastInitialized){this.downloadingToastInitialized=!0;var b={openPopupAction:{popup:{videoDownloadToastRenderer:{actionButton:{buttonRenderer:Tla()},loggingDirectives:{clientVeSpec:{uiType:98969}}}},popupType:"TOAST",durationHintMs:0}};this.JSC$35882_commandHandler.resolveCommand(b)}this.downloadingVideos=a}else if(this.downloadingVideos.length){var c=_.ela(_.rh(this.JSC$35882_storeWithEntities.getState().entities)).map(function(d){return d.videoEntity.videoId});
this.downloadingVideos.filter(function(d){return c.includes(d)}).length&&(a={openPopupAction:Vla()},this.JSC$35882_commandHandler.resolveCommand(a));
this.downloadingVideos=[]}};
qs[wo]=[xp,_.Fi];
var YCa=new xo("PREF_STORAGE_PROMISE_TOKEN");
var ZCa;_.rs=function(a,b,c,d,e,h){this.playerApiPromise=a;this.JSC$35886_commandHandler=b;this.JSC$35886_screenManager=c;this.offlineWebClientEligibility=d;this.prefStorage=e;this.JSC$35886_actionRouter=h;this.downloadFailureListenerBound=!1};
ZCa=function(){var a=_.Eg().resolve(_.rs),b;_.y(function(c){if(1==c.nextAddress)return a.downloadFailureListenerBound?c.return():_.B(c,a.playerApiPromise,2);b=c.yieldResult;b.addEventListener("onOfflineOperationFailure",function(d){if(d.failureReason&&d.entityKey&&"OFFLINE_OPERATION_FAILURE_REASON_UNKNOWN"!==d.failureReason)if("OFFLINE_OPERATION_FAILURE_REASON_VIDEO_DELETED"===d.failureReason){var e=Ug(d.entityKey).entityId;e&&a.JSC$35886_actionRouter.triggerOptionalAction("yt-downloaded-video-deleted",
e)}else if(_.x("kevlar_woffle")){e=a.JSC$35886_commandHandler;var h=e.resolveCommand;d=d.failureReason;var l=_.Bg("TRANSFER_FAILED",void 0,"Download failed");"OFFLINE_OPERATION_FAILURE_REASON_DATABASE_REQUEST_FAILED"===d&&(l=_.Bg("STORAGE_FULL",void 0,"Storage full"));h.call(e,{openPopupAction:{popup:{notificationActionRenderer:{responseText:_.lh(l),loggingDirectives:{clientVeSpec:{uiType:134511}}}},popupType:"TOAST"}})}});
a.downloadFailureListenerBound=!0;_.bf(c)})};
_.rs.prototype.downloadVideo=function(a,b,c,d){var e=this,h,l,m,p,r,v;return _.y(function(z){if(1==z.nextAddress)return _.B(z,e.playerApiPromise,2);h=z.yieldResult;l=_.oo(7111);m=d?_.no(d):void 0;_.ls(e.JSC$35886_screenManager,l,m);p="DOWNLOAD_QUALITY_SETTINGS_ACTION_ALREADY_SAVED"===c;r={offlineModeType:"OFFLINE_NOW",offlineObjectType:"OFFLINE_OBJECT_TYPE_VIDEO",offlineId:a,offlineabilityFormatType:b,isDefaultFormatType:p,downloadQualitySettingsAction:c};_.TCa(e.JSC$35886_screenManager,l,{offlineabilityData:r});
return _.x("kevlar_new_orchestration_api")?(b&&(v={ytMainDownloadedVideoEntityActionMetadata:{maximumDownloadQuality:b}}),_.B(z,h.queueOfflineAction(a,"ytMainDownloadedVideoEntity","OFFLINE_ORCHESTRATION_ACTION_TYPE_ADD",v),0)):_.B(z,h.downloadVideo(a,b),0)})};
var $Ca=function(a,b,c,d,e){return _.y(function(h){return 1==h.nextAddress?_.B(h,a.deleteVideo(b),2):_.B(h,a.downloadVideo(b,c,d,e),0)})};
_.rs.prototype.deleteVideo=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,b.playerApiPromise,2);c=d.yieldResult;return _.x("kevlar_new_orchestration_api")?_.B(d,c.queueOfflineAction(a,"ytMainDownloadedVideoEntity","OFFLINE_ORCHESTRATION_ACTION_TYPE_DELETE"),0):_.B(d,c.deleteVideos([a]),0)})};
_.rs.prototype.deleteAllVideos=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,a.playerApiPromise,2);b=c.yieldResult;return _.x("kevlar_new_orchestration_api")?_.B(c,b.queueOfflineAction("!*$_ALL_ENTITIES_!*$","ytMainDownloadedVideoEntity","OFFLINE_ORCHESTRATION_ACTION_TYPE_DELETE"),0):_.B(c,b.deleteAllVideos(),0)})};
_.rs.prototype.pauseVideoDownload=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,b.playerApiPromise,2);c=d.yieldResult;return _.B(d,c.pauseVideoDownload(a),0)})};
_.rs.prototype.resumeVideoDownload=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,b.playerApiPromise,2);c=d.yieldResult;return _.B(d,c.resumeVideoDownload(a),0)})};
var aDa=function(a,b){var c,d,e,h,l,m;return _.y(function(p){switch(p.nextAddress){case 1:return void 0===(null==(c=b)?void 0:null==(d=c.actionParams)?void 0:d.formatType)?p.return():_.B(p,a.prefStorage,2);case 2:e=p.yieldResult;if(void 0===e)return p.return();if("DOWNLOAD_QUALITY_SETTINGS_ACTION_SAVE"===(null==(h=b.actionParams)?void 0:h.settingsAction))return _.B(p,e.set("lmqf",b.actionParams.formatType),8);if("DOWNLOAD_QUALITY_SETTINGS_ACTION_EXPIRING_SAVE"!==(null==(l=b.actionParams)?void 0:l.settingsAction)){p.jumpTo(0);
break}return _.B(p,e.set("lmqf",b.actionParams.formatType),6);case 6:return m=(0,_.Yd)()+2592E6,_.B(p,e.set("lmqfet",m),0);case 8:return _.B(p,e.remove("lmqfet"),0)}})},bDa=function(a){var b,c;
return _.y(function(d){switch(d.nextAddress){case 1:return _.B(d,a.prefStorage,2);case 2:b=d.yieldResult;if(!b){d.jumpTo(3);break}return _.B(d,b.get("lmqfet"),4);case 4:if(c=d.yieldResult,void 0!==c)return d.return(c);case 3:return d.return(0)}})},cDa=function(a){var b,c,d;
return _.y(function(e){switch(e.nextAddress){case 1:return _.B(e,a.prefStorage,2);case 2:b=e.yieldResult;if(void 0===b){e.jumpTo(3);break}return _.B(e,b.get("lmqf"),4);case 4:if(c=e.yieldResult,void 0!==c)return e.return(c);case 3:return d=_.x("default_to_unknown_downloads_quality")?"UNKNOWN_FORMAT_TYPE":"SD",e.return(d)}})};
_.rs.prototype.handleOfflineVideoEndpoint=function(a,b){var c=this,d,e,h,l,m,p,r,v,z,A;return _.y(function(D){switch(D.nextAddress){case 1:return _.B(D,aDa(c,a),2);case 2:d=a.videoId;if(!d)return D.return();if("ACTION_REMOVE_WITH_PROMPT"===a.action){var E=c.JSC$35886_commandHandler,J=E.resolveCommand,R=_.Bg("DELETE_FROM_DOWNLOADS",void 0,"Remove from downloads"),da=_.Bg("DELETE",void 0,"Delete"),sa=_.Bg("CANCEL",void 0,"Cancel");J.call(E,{openPopupAction:_.Ula(R,da,sa,{signal:"DELETE_DOWNLOAD",targetId:d})});
return D.return()}if("ACTION_ADD"===a.action)return(null==(p=a.actionParams)?0:p.formatType)?_.B(D,c.downloadVideo(d,a.actionParams.formatType,null==(A=a.actionParams)?void 0:A.settingsAction,b),0):_.B(D,c.offlineWebClientEligibility,17);if("ACTION_RETRY"===a.action)return _.B(D,cDa(c),13);if("ACTION_PAUSE"===a.action)return _.B(D,c.pauseVideoDownload(d),0);if("ACTION_RESUME"!==a.action){D.jumpTo(0);break}return _.B(D,c.resumeVideoDownload(d),0);case 13:e=D.yieldResult;"UNKNOWN_FORMAT_TYPE"===e&&
(e="SD");h="DOWNLOAD_QUALITY_SETTINGS_ACTION_ALREADY_SAVED";if(null==(l=a.actionParams)?0:l.formatType)e=a.actionParams.formatType,h=null==(m=a.actionParams)?void 0:m.settingsAction;return _.B(D,$Ca(c,d,e,h,b),14);case 14:return D.return();case 17:return r=D.yieldResult,_.B(D,cDa(c),18);case 18:return v=D.yieldResult,_.B(D,bDa(c),19);case 19:z=D.yieldResult,a.onAddCommand&&c.JSC$35886_commandHandler.resolveCommand(a.onAddCommand,{form:{preferredFormatType:v,offlineWebClientEligibility:r,preferredFormatTypeExpirationMs:z.toString()}}),
D.jumpTo(0)}})};
_.rs[wo]=[_.th,_.Fi,os,XCa,YCa,Iza];
var dDa=new xo("DOWNLOAD_STATE_STORE_TOKEN");
var eDa=function(a,b){this.JSC$35898_persistentStorePromiseAccessor=a;this.store=b;this.upliftCompletionResolver=new _.dk},hDa=function(){var a=_.Eg().resolve(fDa),b;
_.y(function(c){switch(c.nextAddress){case 1:if(a.upliftImplPromise)return c.return(a.upliftImplPromise);_.se(c,2);a.upliftImplPromise=gDa(a);return _.B(c,a.upliftImplPromise,4);case 4:a.upliftCompletionResolver.resolve();_.te(c,3);break;case 2:throw b=_.ue(c),a.upliftCompletionResolver.reject(b),b;case 3:return c.return(a.upliftImplPromise)}})},gDa=function(a){var b,c,d,e;
return _.y(function(h){switch(h.nextAddress){case 1:return _.fd("LOGGED_IN")?_.B(h,a.JSC$35898_persistentStorePromiseAccessor(),2):h.return();case 2:b=h.yieldResult;if(!b)return _.fi("vdeur"),h.return();_.fi("vdeus");_.se(h,3);return _.B(h,iDa(b),5);case 5:c=h.yieldResult;a.store.dispatch(Yka(c));d=Object.values(XAa);b.observe(function(l){Zka(a.store,l,d)});
_.te(h,4);break;case 3:throw e=_.ue(h),_.fi("vdeur"),e;case 4:_.fi("vdeuc"),_.bf(h)}})},iDa=function(a){var b;
return _.y(function(c){if(1==c.nextAddress)return _.B(c,Cma(a),2);b=c.yieldResult;return c.return(b.reduce(function(d,e){if(!e.data||!e.key||!e.entityType)return d;d[e.entityType]||(d[e.entityType]={});d[e.entityType][e.key]=e.data;return d},{}))})};
eDa[wo]=[JBa,wp];
var fDa;fDa=new xo("DOWNLOAD_UPLIFT_SERVICE_TOKEN");_.zs=new xo("DOWNLOAD_UPLIFT_COMPLETION_PROMISE_TOKEN");
var As=function(a,b){this.JSC$35901_persistentStorePromiseAccessor=a;this.transportService=b};
As.prototype.refresh=function(){var a=this,b,c,d,e;return _.y(function(h){if(1==h.nextAddress)return _.fd("LOGGED_IN")?_.B(h,a.JSC$35901_persistentStorePromiseAccessor(),2):h.return();if(3!=h.nextAddress)return(b=h.yieldResult)?_.B(h,kma(b),3):h.return();if((c=h.yieldResult)&&!(Number(c.data.refreshTimestampMs||0)<(0,_.Yd)()))return h.return();d={browseId:"SPaccount_downloads"};e=_.zh(Rxa);_.up(a.transportService,d,e).then(function(l){var m;if(b&&0!==(null==l?void 0:null==(m=l.responseContext)?void 0:
m.maxAgeSeconds)){var p;m=(null==l?void 0:null==(p=l.responseContext)?void 0:p.maxAgeSeconds)||604800;p=String(Math.floor((0,_.Yd)())+1E3*m);b.put("service:downloads_settings:fallback",new _.lp({innertubeResponse:l,refreshTimestampMs:p}))}});
_.bf(h)})};
As[wo]=[_.es,Ap];
var Bs=function(a,b){this.playerPromise=a;this.store=b;this.started=!1};
Bs.prototype.start=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return a.started?c.return():_.B(c,a.playerPromise,2);b=c.yieldResult;b.addEventListener("onOrchestrationBecameLeader",a.updateIsLeader.bind(a,!0));b.addEventListener("onOrchestrationLostLeader",a.updateIsLeader.bind(a,!1));b.isOrchestrationLeader?a.updateIsLeader(b.isOrchestrationLeader()):(_.Qf(new _.ge("Function isOrchestrationLeader is undefined",{"player.isReady":b.isReady(),"player.playVideo":b.playVideo?"defined":
"undefined"})),a.updateIsLeader(!1));a.started=!0;_.bf(c)})};
Bs.prototype.updateIsLeader=function(a){this.store.dispatch(_.Rg({type:"SET_IS_LEADER_TAB",payload:{isLeaderTab:a}}))};
Bs[wo]=[_.th,wp];
var jDa=function(a,b){this.networkStatusManager=a;this.prefStoragePromise=b;this.redirectsToPreload=["https://youtube.com"]},kDa=function(){var a=_.Eg().resolve(jDa),b,c,d,e,h,l;
_.y(function(m){switch(m.nextAddress){case 1:return _.B(m,a.prefStoragePromise,2);case 2:b=m.yieldResult;if(!(c=b)){m.jumpTo(3);break}return _.B(m,b.get("yt-redirect-prefetch-id"),4);case 4:c=m.yieldResult;case 3:if(c||!a.networkStatusManager.isNetworkAvailable())return m.return();d={cache:"reload",redirect:"manual"};e=_.k(a.redirectsToPreload);h=e.next();case 5:if(h.done){if(!b){m.jumpTo(0);break}return _.B(m,b.set("yt-redirect-prefetch-id",!0,86400),0)}l=h.value;_.se(m,8);return _.B(m,_.g.fetch(l,
d),10);case 10:_.te(m,6);break;case 8:_.ue(m);case 6:h=e.next(),m.jumpTo(5)}})};
_.Cs=new xo("POPUP_CONTROLLER_TOKEN");
var lDa=function(){this.panelMap=new Map;this.pendingPanelResolvers=new Map},Ds=function(a,b){var c;
return _.y(function(d){return(c=a.panelMap.get(b))?d.return(c):d.return(mDa(a,b))})},mDa=function(a,b){var c,d;
return _.y(function(e){if(c=a.pendingPanelResolvers.get(b))return e.return(c.promise);d=new _.dk;a.pendingPanelResolvers.set(b,d);return e.return(d.promise)})},Es=function(a){lDa.call(this);
this.popupController=a};
_.q(Es,lDa);_.f=Es.prototype;_.f.getReloadContinuation=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,Ds(b,a),2);c=d.yieldResult;return d.return(c.getReloadContinuation())})};
_.f.showPanel=function(a,b,c,d){var e=this,h,l,m,p;return _.y(function(r){if(1==r.nextAddress){if(null==(h=c)?0:null==(l=h.engagementPanelPopupPresentationConfig)?0:l.popupType){m=c.engagementPanelPopupPresentationConfig.popupType;var v=r.return,z=e.popupController,A=z.openPopup;a:switch(m){case "PANEL_POPUP_TYPE_DIALOG":var D="DIALOG";break a;case "PANEL_POPUP_TYPE_DROPDOWN":D="DROPDOWN";break a;default:throw Error("Sc`"+m);}return v.call(r,A.call(z,a,b,D,d))}return _.B(r,Ds(e,a),2)}p=r.yieldResult;
b&&p.updatePanel(b);p.showPanel();_.bf(r)})};
_.f.hidePanel=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,Ds(b,a),2);c=d.yieldResult;c.hidePanel();_.bf(d)})};
_.f.isVisible=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,Ds(b,a),2);c=d.yieldResult;return d.return(c.isVisible())})};
_.f.updatePanel=function(a,b){var c=this,d;return _.y(function(e){if(1==e.nextAddress)return b?_.B(e,Ds(c,a),2):e.return();d=e.yieldResult;d.updatePanel(b);_.bf(e)})};
Es[wo]=[_.Cs];
var nDa=function(){};
nDa.prototype.openPopup=function(a,b,c,d){var e=this,h;return _.y(function(l){if(!e.container)return l.return();h={openPopupAction:{popup:b,popupType:c,uniqueId:a}};return l.return(e.container.handleOpenPopupAction(h,d))})};
_.oDa=new xo("STORAGE_MANAGER_TOKEN");
_.Fs=function(){};
_.Fs.getInstance=function(){var a=_.ld("ytglobal.storage_");a||(a=new _.Fs,_.Fe("ytglobal.storage_",a));return a};
_.Fs.prototype.estimate=function(){var a,b,c;return _.y(function(d){a=navigator;return(null==(b=a.storage)?0:b.estimate)?d.return(a.storage.estimate()):(null==(c=a.webkitTemporaryStorage)?0:c.queryUsageAndQuota)?d.return(Mma()):d.return()})};
_.Fe("ytglobal.storageClass_",_.Fs);
var pDa=_.Pi(["https://fonts.googleapis.com/css?family=Roboto:300italic,400italic,500italic,700italic"]),qDa=_.Pi(["https://fonts.googleapis.com/css?family=Roboto+Mono:400"]);
var jCa={"/":_.hp,"/?feature=ytca":_.hp,"/feed/downloads":_.ji};
var rDa=function(){this.JSC$35934_moduleRegistry={};this.fetchCount=0};
rDa.prototype.isFetching=function(){return 0<this.fetchCount};
var Hi=function(a,b){a.JSC$35934_moduleRegistry[b.toString()]={asyncId:b,isFetching:!1};return a};
rDa.prototype.JSC$35934_loadModules=function(){for(var a=this,b=new Map,c=[],d=_.k(_.Ob.apply(0,arguments)),e=d.next();!e.done;e=d.next()){e=e.value;var h=this.JSC$35934_moduleRegistry[e];h?h.resolver?b.set(e,h.resolver):(h.resolver=new _.dk,b.set(e,h.resolver),c.push(h.asyncId),h.isFetching=!0):(h=new _.dk,b.set(e,h),h.resolve(void 0))}c.length&&(this.fetchCount+=1,_.Tk(_.oBa.getMultipleAsync.apply(_.oBa,_.sc(c)).then(function(l){for(var m=_.k(c.entries()),p=m.next();!p.done;p=m.next()){var r=_.k(p.value);
p=r.next().value;r=r.next().value;p=l[p];r=a.JSC$35934_moduleRegistry[r.toString()];r.isFetching=!1;r.resolver.resolve(p)}}).catch(function(l){for(var m=_.k(c),p=m.next();!p.done;p=m.next()){p=p.value;
var r=a.JSC$35934_moduleRegistry[p.toString()];r.resolver=void 0;r.isFetching=!1;b.get(p.toString()).reject(l)}}),function(){--a.fetchCount}));
return Promise.all([].concat(_.sc(b.values())).map(function(l){return l.promise}))};
_.Ii=new xo("MODULE_REGISTRY_TOKEN");
var sDa=function(a){this.JSC$35940_moduleRegistry=a};
sDa.prototype.handleResponse=function(a){var b,c,d,e;a=null!=(e=null==(b=a.responseContext)?void 0:null==(c=b.webResponseContextExtensionData)?void 0:null==(d=c.webResponseContextPreloadData)?void 0:d.preloadMessageNames)?e:[];this.JSC$35940_moduleRegistry.JSC$35934_loadModules.apply(this.JSC$35940_moduleRegistry,_.sc(a))};
sDa[wo]=[_.Ii];
var Fna=new xo("MSS_RESPONSE_PROCESSOR_TOKEN");
var tDa,uDa={},vDa=(uDa.initialized={priority:10,callback:function(){tDa=Promise.resolve(Ina(_.Wp.instance,_.g.location.href,{},document.referrer,function(){return 0},function(){return!1}))}},uDa.rendering={callback:function(a){var b;
return _.y(function(c){if(1==c.nextAddress)return _.B(c,tDa,2);b=c.yieldResult;if(!b.endpoint)throw Error("Uc`"+_.g.location.href);Rma(a,b);_.bf(c)})}},uDa);
var wDa={messageWeights:[{messageRegExp:/.*(window.customElements|HTMLTemplateElement).* is undefined/,weight:500},{messageRegExp:/.*property '(configurable|polyfillWrapFlushCallback)'.*/,weight:500},{messageRegExp:/.*__shady_(native_addEventListener|getRootNode).*/,weight:500},{messageRegExp:/ytsignals missing/,weight:500},{messageRegExp:/MutationObserver is not defined/,weight:100},{messageRegExp:/Cannot call 'patch'/,weight:500},{messageRegExp:/ShadyDOM.patch is not a function/,weight:500},{messageRegExp:/Illegal invocation/,
weight:500},{messageRegExp:/no such interface supported/,weight:500},{messageRegExp:/play.*request was interrupted/,weight:500},{messageRegExp:/Failed to .* ServiceWorker.*/,weight:500},{messageRegExp:/(DOMPurify|vid_mate_check) is not defined/,weight:0},{messageRegExp:/A network error occurred/,weight:500},{messageRegExp:/Ticking CPT when CPT already ticked/,weight:100},{messageRegExp:/Unexpected end of .*(input|data)/,weight:500},{messageRegExp:/JSON .* unexpected/,weight:500},{messageRegExp:/Unexpected token </,
weight:500},{messageRegExp:/undefined/,weight:500},{messageRegExp:/The YouTube player is not attached to the DOM/,weight:500},{messageRegExp:/Malformed continuation/,weight:500},{messageRegExp:/Offset is outside the bounds of the DataView/,weight:500},{messageRegExp:/Cannot redefine property: BetterJsPop/,weight:0},{messageRegExp:/^network error$/,weight:0},{messageRegExp:/Cannot read property 'snippet'.*/,weight:0},{messageRegExp:/The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission./,
weight:0},{messageRegExp:/Unhandled action/,weight:100},{messageRegExp:/UrlEndpoint should not be used for same origin navigations. Use a better typed endpoint instead./,weight:100},{messageRegExp:/VisibilityLogger called before newScreen/,weight:1E3},{messageRegExp:/Unable to load Botguard/,weight:500},{messageRegExp:/Failed to retrieve emoji manager initial JSON data/,weight:100},{messageRegExp:/Endpoint supplied is invalid/,weight:100},{messageRegExp:/Cannot read property 'polyfillWrapFlushCallback'.*/,
weight:500},{messageRegExp:/unblocked44.ml.*/,weight:0},{messageRegExp:/Failed to fetch/,weight:500},{messageRegExp:/.*API fetch failed.*/,weight:1E3},{messageRegExp:/No RequestBuilder for endpoint/,weight:100},{messageRegExp:/.*Failed to initialize Tango client in CommentsInvalidation.*/,weight:100},{messageRegExp:/.*redefine.*property.*adPlacements/,weight:1E3},{messageRegExp:/ownerObj.base is undefined/,weight:1E3},{messageRegExp:/Cannot read property 'u'/,weight:100},{messageRegExp:/History popstate has no state/,
weight:500},{messageRegExp:/ReadableStream uploading is not supported/,weight:1E3},{messageRegExp:/bad trailing UTF-8 byte .* doesn't match the pattern 0b10xxxxxx/,weight:1E3},{messageRegExp:/b172965563/,weight:1E3},{messageRegExp:/UrlEndpoint should not be used for same origin navigations/,weight:1E3},{messageRegExp:/Fetching RunAttestationCommand returned falsy/,weight:100},{messageRegExp:/WEBCHANNEL_NETWORK_ERROR/,weight:100},{messageRegExp:/urlForEndpoint used on client endpoint/,weight:1E3},
{messageRegExp:/InnerTubeTransportService is already initialized/,weight:100},{messageRegExp:/Cannot redefine property: userAgent/,weight:500}],callbackWeights:[{callback:function(a){var b=a.stack;if(b.includes("chrome://")||b.includes("chrome-extension://")||b.includes("moz-extension://")||b.includes("local.adguard.org")||b.includes("auctioneer3.50million.club")||b.includes("youtubedownloader")||b.includes("youtube_home_page")||b.includes("is_youtube_video_no_longer_available")||b.includes("switchScreenSizeHack")||
a.stack.includes("/YouTubeCenter.js")||a.stack.includes("/mytube.js")||b.includes("JSON.parseWrapper")||b.includes("/inj_js/common.js")||b.includes(".repl.co/")||a.message.includes("Access is denied for this document")&&b.includes("<anonymous>"))return!0;if(b.includes("https://www.youtube.com"))return!1;a=b.split("\n");if(!a.length)return!1;if(3>=a.length&&b.includes("s.onloadeddata"))return!0;b=0;for(var c=_.k(a),d=c.next();!d.done;d=c.next())d=d.value,(d.includes("https://")||d.includes("http://"))&&
b++;return.95<b/a.length},
weight:0},{callback:function(a){return"Unknown Error"===a.message&&0===a.name.indexOf("NS_")},
weight:100},{callback:function(a){if(!_.Cj)return!1;var b=0===a.message.indexOf("\uba54\ubaa8\ub9ac \ub9ac\uc18c\uc2a4\uac00 \ubd80\uc871\ud558\uae30 \ub54c\ubb38\uc5d0 \uc774 \uc791\uc5c5\uc744 \uc644\ub8cc\ud560")||a.message.includes("available to complete this operation"),c=a.stack.includes("webcomponents")&&"Object doesn't support this action"===a.message;a=a.message.includes("object that does not implement interface Element");return b||c||a},
weight:0},{callback:function(a){return"Illegal invocation"===a.message&&navigator.userAgent.includes("Trident")&&"Google Inc."===navigator.vendor},
weight:0},{callback:function(a){return"Operation is not supported"===a.message&&5<=(a.stack.match(/textinputassistant/g)||[]).length},
weight:500},{callback:function(a){return a.stack.includes("eval code (eval (code:1:1)")||a.stack.includes("Object.my_load [as load] ")},
weight:0},{callback:function(a){return a.message.includes("Permission denied")&&a.stack.includes("this.domHandler")?!0:a.name.includes("TypeError")&&a.stack.includes("/www-searchbox")&&navigator.userAgent.includes("Trident")},
weight:500},{callback:function(a){if(!a.stack)return!1;var b=a.stack.trim().split("\n");b.length&&b[0].endsWith("Error: "+a.message)&&b.shift();b.length&&b[b.length-1].includes("at window.onerror (")&&b.pop();if(!b.length)return!0;if("Script error."===a.message)return b[0].includes("www.youtube.com")||2<=b.length&&b[0].startsWith("at new")&&b[1].startsWith("at window.onerror");if("Unexpected token"===a.message)return!0;a=_.k(b);for(b=a.next();!b.done;b=a.next())if(b=b.value,!(b.includes("<anonymous>")||
b.startsWith("load@")||b.startsWith("global code@")||b.startsWith("@https://")))return!1;return!0},
weight:500},{callback:function(a){return"Cannot read property 'experiments'"===a.message&&a.stack.includes("/s/player/")},
weight:500},{callback:function(a){return a.message.includes("must not have attributes")&&navigator.userAgent.includes("Vivaldi")},
weight:500},{callback:function(a){return a.stack.includes("/embed.js")?(a.params&&a.params&&(a.params.name="56"),!0):!1},
weight:1}]};
var xDa={},yDa=(xDa.initialized={priority:10,callback:function(a){a.injector.addProvider({provide:HCa,useValue:nia});a.injector.addProvider({provide:ICa,useValue:wDa});var b={};a.injector.addProvider((b.provide=JCa,b.useFactory=function(c,d){return function(){wma(c,d)}},b[wo]=[HCa,
ICa],b))}},xDa);
var zDa={},ADa=(zDa.initialized={callback:function(){_.x("high_entropy_hint_client_logging")&&Lma()}},zDa);
var BDa={},CDa=(BDa.initialized={priority:10,callback:function(){var a=_.xh(),b=_.fd("IS_HOMEPAGE_COLD")&&"MAIN_APP_WEB_PAGE_TYPE_BROWSE"||_.fd("IS_WATCH_PAGE_COLD")&&"MAIN_APP_WEB_PAGE_TYPE_WATCH"||_.fd("IS_RESULTS_PAGE_COLD")&&"MAIN_APP_WEB_PAGE_TYPE_SEARCH"||_.fd("IS_SHORTS_PAGE_COLD")&&"MAIN_APP_WEB_PAGE_TYPE_SHORTS"||"MAIN_APP_WEB_PAGE_TYPE_UNKNOWN";_.uo(_.Bja(),{mainAppWeb:Object.assign({},a,{pageType:b})});_.uo(Cja(),{mainAppWeb:Object.assign({},a,{pageType:b})});_.uo(Dja(),{mainAppWeb:a});
_.uo(Eja(),{mainAppWeb:a});Nta(function(){_.Di(Dja(),"FAILURE");_.Di(Eja(),"FAILURE")})}},BDa);
var DDa={},EDa=(DDa.rendering={priority:0,callback:function(){var a=_.Ko();a.parkOrScheduleJob(function(){a.processSignal("eocs")},10,"eor",5E3)}},DDa);
var ABa={showEngagementPanelEndpoint:Ah(Ep),refreshPanelEndpoint:Ah(Cp),entityUpdateCommand:Ah(zp),toggleEngagementPanelCommand:Ah(Fp)};
var FDa={},GDa=(FDa.initialized={priority:10,callback:Wma},FDa);
var HDa={acknowledgeChannelTouStrikeCommand:Fh(Eq),addToPlaylistServiceEndpoint:Fh(tr),addUpcomingEventReminderEndpoint:Fh(Sq),browseEndpoint:Fh(xCa),channelCreationFormEndpoint:Fh(xq),channelCreationServiceEndpoint:Fh(yq),claimLegacyYoutubeChannelEndpoint:Fh(lq),clearSearchHistoryEndpoint:Fh(Lq),clearWatchHistoryEndpoint:Fh(Mq),commerceActionCommand:function(a){var b=_.Eg();return function(){return b.resolve(a)}}(Nr),
createBackstagePostEndpoint:Fh($p),createCommentEndpoint:Fh(tq),createCommentReplyEndpoint:Fh(sq),createLiveChatPollEndpoint:Fh(Tq),createPlaylistServiceEndpoint:Fh(ur),crossAccountChannelTransferEndpoint:Fh(Pq),deleteLiveChatMessageCommand:Fh(Uq),deletePlaylistEndpoint:Fh(vr),dismissalEndpoint:Fh(Fq),feedbackEndpoint:Fh(Gq),flagEndpoint:Fh(Br),getAccountSwitcherEndpoint:Fh(Oq),getAccountsListInnertubeEndpoint:Fh(Rq),getCommentsFromInboxCommand:Fh(ir),getDownloadActionCommand:Fh(or),getFlowCommand:Fh(Kq),
getKidsBlocklistPickerCommand:Fh(Cr),getNotificationMenuEndpoint:Fh(ACa),getPaymentInstrumentsParamsCommand:Fh(Vr),getPdgBuyFlowCommand:Fh(rr),getReportFormEndpoint:Fh(Dr),getSearchInVideoCommand:Fh(Fr),getSurveyCommand:Fh(Ir),getTranscriptEndpoint:Fh(Kr),getPostVideoPreviewEndpoint:Fh(hq),decorateMessageEndpoint:Fh(aq),likeEndpoint:Fh(zq),liveChatActionEndpoint:Fh(Yq),liveChatEndpoint:Fh(Xq),liveChatItemContextMenuEndpoint:Fh(Vq),liveChatPurchaseMessageEndpoint:Fh(Zq),liveChatQnaActionEndpoint:Fh($q),
liveChatReplayEndpoint:Fh(Wq),manageLiveChatUserEndpoint:Fh(br),moderateLiveChatEndpoint:Fh(cr),modifyChannelNotificationPreferenceEndpoint:Fh(lr),notificationOptOutEndpoint:Fh(mr),openSuperStickerBuyFlowCommand:Fh(ar),performCommentActionEndpoint:Fh(pq),playlistEditEndpoint:Fh(xr),playlistEditorEndpoint:Fh(wr),recordNotificationInteractionsEndpoint:Fh(nr),reelWatchEndpoint:Fh(yr),refreshPanelEndpoint:Fh(qr),removeUpcomingEventReminderEndpoint:Fh(dr),runAttestationCommand:Fh(Zp),resolveLocationCommand:Fh(gr),
revealBusinessEmailCommand:Fh(mq),searchEndpoint:Fh(_.Hr),sendLiveChatMessageEndpoint:Fh(er),sendLiveChatVoteEndpoint:Fh(fr),setSettingEndpoint:Fh(Aq),shareEntityServiceEndpoint:Fh(Dq),showEngagementPanelEndpoint:Fh(pr),subscribeEndpoint:Fh(Bq),undoFeedbackEndpoint:Fh(Iq),unsubscribeEndpoint:Fh(Cq),updateBackstagePostEndpoint:Fh(jq),updateCommentEndpoint:Fh(vq),updateCommentReplyEndpoint:Fh(uq),updateCommentsSettingsEndpoint:Fh(wq),updateKidsBlacklistEndpoint:Fh(Er),updatePdgFeatureEnablementCommand:Fh(sr),
updatedMetadataEndpoint:Fh(hr),validateChannelHandleCommand:Fh(oq),updateChannelPageSettingsEndpoint:Fh(nq),verifyAgeEndpoint:Fh(Jq),whitelistEditEndpoint:Fh(Mr),ypcCancelRecurrenceEndpoint:Fh(Or),ypcCompleteTransactionEndpoint:Fh(Pr),ypcGetCartEndpoint:Fh(Qr),ypcGetCrossDeviceOfflineEnabledDevicesCommand:Fh(Rr),ypcGetOffersEndpoint:Fh(Tr),ypcHandleTransactionEndpoint:Fh(Wr),ypcLogWalletAnalyticDataEndpoint:Fh(Xr),ypcOffersEndpoint:Fh(Ur),ypcOfflineVideoOnDeviceCommand:Fh(Yr),ypcPauseSubscriptionCommand:Fh(Zr),
ypcRedeemCodeEndpoint:Fh($r),ypcResumeSubscriptionCommand:Fh(as),ypcUpdateFopEndpoint:Fh(Sr)},Gs={},IDa=(Gs.GET_ACCOUNT_MENU=Fh(Qq),Gs.GET_NOTIFICATIONS_MENU=Fh(zCa),Gs.GET_UNSEEN_NOTIFICATION_COUNT=Fh(kr),Gs.GET_USER_MENTION_SUGGESTIONS=Fh(iq),Gs.LOAD_GUIDE=Fh(yCa),Gs.SUBMIT_FEEDBACK=Fh(Hq),Gs),Hs={},JDa=(Hs.CONTINUATION_REQUEST_TYPE_BROWSE=Fh(kq),Hs.CONTINUATION_REQUEST_TYPE_SEARCH=Fh(Gr),Hs.CONTINUATION_REQUEST_TYPE_WATCH_NEXT=Fh(Lr),Hs.CONTINUATION_REQUEST_TYPE_ACCOUNTS_LIST=Fh(Nq),Hs.CONTINUATION_REQUEST_TYPE_COMMENTS_NOTIFICATION_MENU=
Fh(rq),Hs.CONTINUATION_REQUEST_TYPE_COMMENT_REPLIES=Fh(qq),Hs.CONTINUATION_REQUEST_TYPE_REEL_WATCH_SEQUENCE=Fh(Ar),Hs),tCa={commandEndpointMap:HDa,signalEndpointMap:IDa,continuationEndpointMap:JDa,watchEndpointMap:{player:Fh(_.Jr),watchNext:Fh(BCa)},reelWatchEndpointMap:{player:Fh(_.Jr),reelItemWatch:Fh(yr),reelWatchSequence:Fh(zr)}};
var Is=function(a){_.fs.call(this,void 0===a?"page_idle":a);this.overridePriority=10;this.transitions=[{from:"page_idle",to:"page_preparing",action:this.JSC$35962_defaultAction},{from:"page_preparing",to:"page_loading",action:this.JSC$35962_defaultAction},{from:"page_loading",to:"page_active",action:this.pageActiveAction},{from:"page_active",to:"page_idle",action:this.JSC$35962_defaultAction}]};
_.q(Is,_.fs);Is.prototype.JSC$35962_defaultAction=function(a,b){b=void 0===b?{}:b;a(b)};
Is.prototype.pageActiveAction=function(a,b){b=void 0===b?{}:b;a(b);this.transition("page_idle",b)};
_.KDa=new xo("PAGE_LIFECYCLE_TOKEN");
var Js=function(){var a=this;this.JSC$35970_activeModules=[];this.activeIndex=0;this.TEST_ONLY={getActiveModules:function(){return a.JSC$35970_activeModules}}};
Js.prototype.getRoot=function(){return this.JSC$35970_rootElement};
Js.prototype.setActiveIndex=function(a){this.activeIndex=a};
_.t.Object.defineProperties(Js.prototype,{playerApi:{configurable:!0,enumerable:!0,get:function(){return this.JSC$35970_rootElement?this.JSC$35970_rootElement.getPlayer().getPlayerPromise():Promise.resolve(void 0)}}});
_.Ks=new xo("SHORTS_CONTROLLER_TOKEN");
var LDa={},MDa=(LDa.initialized={priority:10,callback:function(a){var b=_.Eg();b.addProvider({provide:cs,useValue:_.w("INNERTUBE_CONTEXT_CLIENT_NAME","WEB")});b.addProvider({provide:bs,useValue:5184E6});b.addProvider({provide:_.th,useFactory:function(){return _.fAa.promise}});
b.addProvider({provide:_.hAa,useFactory:function(){return _.gAa.promise}});
var c={};b.addProvider((c.provide=_.es,c.useFactory=function(l,m){return function(){return qma(l,m)}},c[wo]=[cs,
bs],c));c={};b.addProvider((c.provide=_.kp,c.useClass=CCa,c[wo]=[cs,bs],c));c={};b.addProvider((c.provide=_.Li,c.useClass=GCa,c[wo]=[_.kp],c));b.addProvider({provide:kBa,useFactory:ih});b.addProvider({provide:xp,useFactory:ih});b.addProvider({provide:dDa,useFactory:ih});b.addProvider({provide:wp,useFactory:ih});b.addProvider({provide:JBa,useValue:_.ch});b.addProvider({provide:zBa,useClass:wBa});b.addProvider({provide:IBa,useClass:HBa});b.addProvider({provide:Nr,useClass:Nr});b.addProvider({provide:nCa,
useValue:tCa});b.addProvider({provide:os,useFactory:_.vp});b.addProvider({provide:Jza,useFactory:_.mg.getInstance});c={};b.addProvider((c.provide=Pma,c.useFactory=function(l){return function(m){var p=void 0===p?{}:p;var r,v,z,A=null==(r=m.endpoint)?void 0:null==(v=r.commandMetadata)?void 0:null==(z=v.webCommandMetadata)?void 0:z.rootVe;if(A){if(m.previousCsn){r=m.previousCsn;var D=void 0===D?{}:D;if(r!==_.fg(D.layer)||A!==qja(D.layer))sja(r,D.cttAuthInfo,D.layer||0),_.ed(bg(D.layer),r),_.ed(cg(D.layer),
A)}m.endpoint&&m.previousCsn?(p.parentCsn=m.previousCsn,_.PCa(l,m.endpoint,p)):_.ks(l,A,void 0,p);var E;(null==(E=m.response)?0:E.trackingParams)&&_.ms(l,m.response.trackingParams);var J;(null==(J=m.playerResponse)?0:J.trackingParams)&&_.ms(l,m.playerResponse.trackingParams);var R;(null==(R=m.reelWatchSequenceResponse)?0:R.trackingParams)&&_.ms(l,m.reelWatchSequenceResponse.trackingParams)}}},c[wo]=[os],c));
c={};b.addProvider((c.provide=fDa,c.useClass=eDa,c[wo]=[JBa,wp],c));c={};b.addProvider((c.provide=Bs,c.useClass=Bs,c[wo]=[_.th,wp],c));c={};b.addProvider((c.provide=qs,c.useClass=qs,c[wo]=[xp,_.Fi],c));b.addProvider({provide:_.Cs,useClass:nDa});c={};b.addProvider((c.provide=_.Bp,c.useClass=Es,c[wo]=[_.Cs],c));c={};b.addProvider((c.provide=Ep,c.useClass=Ep,c[wo]=[Ap,_.Bp],c));c={};b.addProvider((c.provide=Fp,c.useClass=Fp,c[wo]=[_.Bp,_.Fi],c));c={};b.addProvider((c.provide=Cp,c.useClass=Cp,c[wo]=[Ap,
_.Bp],c));b.addProvider({provide:zp,useClass:zp});_.x("kevlar_enable_mss_lazy_load")&&(b.addProvider({provide:_.Ii,useClass:rDa}),c={},b.addProvider((c.provide=Fna,c.useClass=sDa,c[wo]=[_.Ii],c)));b.addProvider({provide:_.Ks,useClass:Js});b.addProvider({provide:Iza,useFactory:function(){return _.Io.getInstance()}});
b.addProvider({provide:XCa,useFactory:Fma});b.addProvider({provide:YCa,useFactory:function(){return _.dp.getInstance()}});
c={};b.addProvider((c.provide=_.rs,c.useClass=_.rs,c[wo]=[_.th,_.Fi,os,XCa,YCa,Iza],c));b.addProvider({provide:_.iBa,useClass:hBa});c={};b.addProvider((c.provide=_.zs,c.useFactory=function(l){return l.upliftCompletionResolver.promise},c[wo]=[fDa],c));
c=_.fd("IS_SHELL_LOAD")?"aa":"eocs";var d=_.fd("IS_SHELL_LOAD")?3:2;_.Ko().parkOrScheduleJob(function(){hDa()},d,c);
_.Ko().parkOrScheduleJob(function(){_.Eg().resolve(Bs).start()},2,"eocs");
_.Ko().parkOrScheduleJob(function(){ZCa()},2,"eocs");
_.Ko().parkOrScheduleJob(function(){_.Eg().resolve(qs).start()},2,"eocs");
_.x("web_include_lottie")&&_.Ko().parkOrScheduleJob(function(){_.zma()},1,"eocs");
_.x("kevlar_debug_data_app_registration_ks")||mla();b.addProvider({provide:_.zo,useValue:new qp(a.root)});a=b.resolve(zBa);_.x("kevlar_network_sli_killswitch")||b.addProvider({provide:VCa,useValue:jBa});c={};b.addProvider((c.provide=$Ba,c.useFactory=Oma,c[wo]=[_.zs,xp,_.es],c));c={};b.addProvider((c.provide=ZBa,c.useClass=Sp,c[wo]=[$Ba],c));b.addProvider({provide:WCa,useClass:ps});c=b.resolve(WCa);_.x("kevlar_fetch_pbj")&&(d={},b.addProvider((d.provide=dBa,d.useFactory=function(l){return function(m){var p,
r,v=null==(p=m.commandMetadata)?void 0:null==(r=p.webCommandMetadata)?void 0:r.url;if(!v)throw new _.ge("No URL for PBJ Command",m);v=ud(v,{pbj:"1"});p=_.rfa(v,{})||{};p=Object.assign({},p,{"Content-Type":"application/x-www-form-urlencoded","x-youtube-csoc":"1","X-YouTube-STS":_.w("STS").toString()});m=_.Hd({command:JSON.stringify(m),session_token:_.w("XSRF_TOKEN")});return l.fetch(v,{method:"POST",headers:p,body:m})}},d[wo]=[WCa],d)));
var e=_.x("web_enable_client_location_service")?_.Ch.getInstance():void 0;d={};d=(d.consistency=_.vla(),d);_.x("kevlar_enable_mss_lazy_load")&&!_.x("kevlar_enable_mss_page_modules_client")&&(d.mss=b.resolve(Fna));e&&(d.client_location=e);var h=b.resolve(_.kp);d.entities=b.resolve(IBa);d.store=b.resolve(_.Li);e=b.resolve(nCa);UBa(e,c,a,d,h,b.resolve(ZBa));b.addProvider({provide:Ap,useValue:_.Ei()});b.addProvider({provide:_.Ve,useClass:_.Ve});b.addProvider({provide:jDa,useFactory:function(){return new jDa(_.Eg().resolve(_.Ve),
_.dp.getInstance())}});
_.Ko().parkOrScheduleJob(function(){kDa()},1,"eocs");
a={};b.addProvider((a.provide=As,a.useClass=As,a[wo]=[_.es,Ap],a));b.addProvider({provide:_.oDa,useFactory:_.Fs.getInstance});_.Ko().parkOrScheduleJob(function(){_.Eg().resolve(As).refresh()},0,"eocs");
uCa(e.reelWatchEndpointMap||{});b.addProvider({provide:Ki,useValue:_.Wp.instance});_.x("web_prs_testing_mode_killswitch")||(a=new _.Jh(window.location.href),""!==a.JSC$32753_queryData_.toString()&&a.JSC$32753_queryData_.get("force_ad_encrypted")&&(_.Wp.instance.forceWebFEForAdsTesting=!0));_.x("kevlar_signal_collection_killswitch")||(a={},b.addProvider((a.provide=is,a.useClass=is,a[wo]=[cs,Jza],a)),_.Ko().parkOrScheduleJob(function(){_.Eg().resolve(is).record()},1,"eocs"));
_.x("web_debug_handler_registration_killswitch")||_.Ko().parkOrScheduleJob(function(){sh("DOWNLOAD_PES",Ema);_.x("offline_client_state_export_ks")||sh("OFFLINE_CLIENT_STATE",Bma)},0,"eocs");
_.x("kevlar_prevent_polymer_dynamic_font_load")&&_.Ko().parkOrScheduleJob(function(){var l=[_.Pb(pDa),_.Pb(qDa)];l=_.k(l);for(var m=l.next();!m.done;m=l.next()){m=m.value;var p=document.createElement("link");_.pba(p,m);document.head.appendChild(p)}},1,"eocs");
a=_.Ei();_.vBa.instance=new _.vBa(a);_.x("enable_rta_manager")&&(_.sp.instance=new _.sp(new uBa(a)));_.x("kevlar_use_page_navigation_lifecycle")&&b.addProvider({provide:_.KDa,useClass:Is})}},LDa);
var NDa={},ODa=(NDa.initialized={priority:10,callback:Ena},NDa);
var PDa={},QDa=(PDa.rendering={priority:10,callback:Jna},PDa),RDa={},SDa=(RDa.rendering={callback:Jna},RDa);
_.ed("FILLER_DATA",{browse:{filler:!0,page:"browse"},search:{filler:!0,page:"search",endpoint:{commandMetadata:{webCommandMetadata:{url:"/results",webPageType:"WEB_PAGE_TYPE_SEARCH"}},urlEndpoint:{url:"/results"}},response:{contents:{twoColumnSearchResultsRenderer:{primaryContents:{sectionListRenderer:{contents:[],subMenu:{searchSubMenuRenderer:{}}}},secondaryContents:{secondarySearchContainerRenderer:{contents:[]}}}}}},watch:{filler:!0,page:"watch",endpoint:{commandMetadata:{webCommandMetadata:{url:"/watch",
webPageType:"WEB_PAGE_TYPE_WATCH"}},urlEndpoint:{url:"/watch"}},playerResponse:{playabilityStatus:{status:"OK"}},response:{contents:{twoColumnWatchNextResults:{results:{results:{contents:[{videoPrimaryInfoRenderer:{},videoSecondaryInfoRenderer:{}}]}},secondaryResults:{secondaryResults:{}}}}}}});
if(_.x("kevlar_enable_mss")){_.yba(new jta);var tl=!0,sl,ul,Ls;tl=void 0===tl?!1:tl;sl=void 0===sl?"base-js":sl;ul=void 0===ul?!1:ul;Ls=void 0===Ls?{}:Ls;var Isa="",Jsa="";window&&window._F_cssRowKey&&(Isa=window._F_cssRowKey,window._F_combinedSignature&&(Jsa=window._F_combinedSignature));if(Isa&&"function"!==typeof window._F_installCss)throw Error("Aa");var TDa=new _.wl;Ls.useCors&&(TDa.useCors_=Ls.useCors);Ls.urlMaxLength&&(TDa.urlMaxLength=Ls.urlMaxLength);var UDa=Sb();UDa.JSC$32536_loader_=TDa;
UDa.setBatchModeEnabled(!0)}var VDa=document.querySelector("ytd-app");if(!VDa)throw Error("Vc");var Ms=new gs({root:VDa,injector:_.Eg()});Ms.install(CDa);Ms.install(yDa);Ms.install(LCa);Ms.install(GDa);Ms.install(MDa);Ms.install(ADa);_.x("kevlar_enable_mss_lazy_load")&&Ms.install(ODa);if(_.fd("IS_SHELL_LOAD")&&!_.x("kevlar_fetch_initial_data_promise_client"))Ms.install(vDa);else{var WDa=_.Ed(window.location.href);WDa&&"/watch"===WDa?Ms.install(SDa):Ms.install(QDa)}Ms.install(EDa);Ms.transition("initialized");
_.Ns=_.g.JSON.parse;
var XDa,YDa;_.Os=function(a){_.Kk.call(this);this.headers=new Map;this.JSC$35989_xmlHttpFactory_=a||null;this.JSC$35989_active_=!1;this.xhrOptions_=this.JSC$35989_xhr_=null;this.JSC$35989_lastUri_="";this.JSC$35989_lastErrorCode_=0;this.JSC$35989_lastError_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.JSC$35989_timeoutId_=null;this.responseType_="";this.useXhr2Timeout_=this.JSC$35989_withCredentials_=!1};
_.cj(_.Os,_.Kk);XDa=/^https?$/i;YDa=["POST","PUT"];_.ZDa=[];_.Os.prototype.cleanupSend_=function(){this.dispose();_.ja(_.ZDa,this)};
_.Os.prototype.send=function(a,b,c,d){if(this.JSC$35989_xhr_)throw Error("Wc`"+this.JSC$35989_lastUri_+"`"+a);b=b?b.toUpperCase():"GET";this.JSC$35989_lastUri_=a;this.JSC$35989_lastError_="";this.JSC$35989_lastErrorCode_=0;this.errorDispatched_=!1;this.JSC$35989_active_=!0;this.JSC$35989_xhr_=this.createXhr();this.xhrOptions_=this.JSC$35989_xmlHttpFactory_?this.JSC$35989_xmlHttpFactory_.getOptions():pl.getOptions();this.JSC$35989_xhr_.onreadystatechange=(0,_.$i)(this.onReadyStateChange_,this);try{this.inOpen_=
!0,this.JSC$35989_xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(l){$Da(this,l);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=_.k(d.keys());for(var h=e.next();!h.done;h=e.next())h=h.value,c.set(h,d.get(h))}else throw Error("Xc`"+String(d));d=Array.from(c.keys()).find(function(l){return"content-type"==l.toLowerCase()});
e=_.g.FormData&&a instanceof _.g.FormData;!_.ha(YDa,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=_.k(c);for(d=b.next();!d.done;d=b.next())c=_.k(d.value),d=c.next().value,c=c.next().value,this.JSC$35989_xhr_.setRequestHeader(d,c);this.responseType_&&(this.JSC$35989_xhr_.responseType=this.responseType_);"withCredentials"in this.JSC$35989_xhr_&&this.JSC$35989_xhr_.withCredentials!==this.JSC$35989_withCredentials_&&(this.JSC$35989_xhr_.withCredentials=this.JSC$35989_withCredentials_);
try{aEa(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=bEa(this.JSC$35989_xhr_))?(this.JSC$35989_xhr_.timeout=this.timeoutInterval_,this.JSC$35989_xhr_.ontimeout=(0,_.$i)(this.timeout_,this)):this.JSC$35989_timeoutId_=_.Wk(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.JSC$35989_xhr_.send(a),this.inSend_=!1}catch(l){$Da(this,l)}};
var bEa=function(a){return _.Cj&&_.Ij(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout};
_.Os.prototype.createXhr=function(){return this.JSC$35989_xmlHttpFactory_?this.JSC$35989_xmlHttpFactory_.JSC$32583_createInstance():pl.JSC$32583_createInstance()};
_.Os.prototype.timeout_=function(){"undefined"!=typeof foa&&this.JSC$35989_xhr_&&(this.JSC$35989_lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.JSC$35989_lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};
var $Da=function(a,b){a.JSC$35989_active_=!1;a.JSC$35989_xhr_&&(a.inAbort_=!0,a.JSC$35989_xhr_.abort(),a.inAbort_=!1);a.JSC$35989_lastError_=b;a.JSC$35989_lastErrorCode_=5;cEa(a);Ps(a)},cEa=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
_.Os.prototype.abort=function(a){this.JSC$35989_xhr_&&this.JSC$35989_active_&&(this.JSC$35989_active_=!1,this.inAbort_=!0,this.JSC$35989_xhr_.abort(),this.inAbort_=!1,this.JSC$35989_lastErrorCode_=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ps(this))};
_.Os.prototype.disposeInternal=function(){this.JSC$35989_xhr_&&(this.JSC$35989_active_&&(this.JSC$35989_active_=!1,this.inAbort_=!0,this.JSC$35989_xhr_.abort(),this.inAbort_=!1),Ps(this,!0));_.Os.superClass_.disposeInternal.call(this)};
_.Os.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)dEa(this);else this.onReadyStateChangeEntryPoint_()};
_.Os.prototype.onReadyStateChangeEntryPoint_=function(){dEa(this)};
var dEa=function(a){if(a.JSC$35989_active_&&"undefined"!=typeof foa&&(!a.xhrOptions_[1]||4!=_.Qs(a)||2!=a.getStatus()))if(a.inSend_&&4==_.Qs(a))_.Wk(a.onReadyStateChange_,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.JSC$35989_active_=!1;try{if(_.Rs(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.JSC$35989_lastErrorCode_=6;try{var b=2<_.Qs(a)?a.JSC$35989_xhr_.statusText:""}catch(c){b=""}a.JSC$35989_lastError_=b+" ["+a.getStatus()+"]";cEa(a)}}finally{Ps(a)}}},
Ps=function(a,b){if(a.JSC$35989_xhr_){aEa(a);
var c=a.JSC$35989_xhr_,d=a.xhrOptions_[0]?function(){}:null;
a.JSC$35989_xhr_=null;a.xhrOptions_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},aEa=function(a){a.JSC$35989_xhr_&&a.useXhr2Timeout_&&(a.JSC$35989_xhr_.ontimeout=null);
a.JSC$35989_timeoutId_&&(_.Xk(a.JSC$35989_timeoutId_),a.JSC$35989_timeoutId_=null)};
_.Os.prototype.isActive=function(){return!!this.JSC$35989_xhr_};
_.Os.prototype.isComplete=function(){return 4==_.Qs(this)};
_.Rs=function(a){var b=a.getStatus(),c;if(!(c=Csa(b))){if(b=0===b)a=Woa(String(a.JSC$35989_lastUri_)),b=!XDa.test(a);c=b}return c};
_.Qs=function(a){return a.JSC$35989_xhr_?a.JSC$35989_xhr_.readyState:0};
_.Os.prototype.getStatus=function(){try{return 2<_.Qs(this)?this.JSC$35989_xhr_.status:-1}catch(a){return-1}};
_.Ss=function(a){try{return a.JSC$35989_xhr_?a.JSC$35989_xhr_.responseText:""}catch(b){return""}};
_.Os.prototype.getResponse=function(){try{if(!this.JSC$35989_xhr_)return null;if("response"in this.JSC$35989_xhr_)return this.JSC$35989_xhr_.response;switch(this.responseType_){case "":case "text":return this.JSC$35989_xhr_.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.JSC$35989_xhr_)return this.JSC$35989_xhr_.mozResponseArrayBuffer}return null}catch(a){return null}};
_.Os.prototype.getAllResponseHeaders=function(){return this.JSC$35989_xhr_&&2<=_.Qs(this)?this.JSC$35989_xhr_.getAllResponseHeaders()||"":""};
_.Os.prototype.getLastError=function(){return"string"===typeof this.JSC$35989_lastError_?this.JSC$35989_lastError_:String(this.JSC$35989_lastError_)};

_._ModuleManager_initialize=function(a,b){if(!_.Qb){if(!_.Rb)return;_.yba((0,_.Rb)())}_.Qb.setAllModuleInfoString(a,b)};

_._ModuleManager_initialize('kevlar_base_module/syj/syk:1/sy3/sy13/sya/syn:3,5/sye:1,3,5/syr:3/sy17:5/sy1c:9/sy1f/sy15:3,a,b/sy1l:5/sy1o/syp:2,3/sy1g:9/sy1a:6,7,8,c,f,g/sy1d/syd:d,h,i/syt:5/sy1q:6,8,c,k/sy18:7,l/sy1i/sys:7,n/sy7:4,e,j,m,o/sy8/sy9/syh:2,8/syx:s/syi:5,t/sy12:s/sy11:s/syl:6,c,f,v,w/sy1k/sy19:m,y/sy1r:h,m,o/sy1s:m/sy1j:h,o/sy1t:j/sy1u:h/sy1v:7,8/syo:p,x,z,12,13,14,15/sy1h:h/syz:t/sy1:q,r,u,10,11,16,17,18/syq:2,3,5/sy14:3,4/sy5/sy1n:19,1b,1c/sy1x:d,e,h,n,1b/sy1m/syg:p,z,1f/sy6:1a,1d,1e,1g/sy2:1h/sym:x/sy4:1h,1j/syc/syb:1l/syv:1h/syf:1n/syy:s,1a/syu:1p/syw:1k,1m,1n/sy1e:c,1m/sy1y:h,q,u/sy10:o,w,1s,1t/sy16/sy1b/sy1p:q/sy1w:5/kevlar_main_module:1i,1o,1q,1r,1u,1v,1w,1x,1y/sy20:5,1c,1l/sy21:1h,20/sy1z:1i,21/sy25:c/sy27:b,o,1w/sy22:1k,21,23,24/sy23:3/sy24:1j,1p/sy26:1d,1g,20,24/sy28:j,o/sy29:h/sy2a:a/sy2b:7,8/h8y2qb:1r,1t,22,25,26,27,28,29,2a,2b,2c/sy2c:x/JzFVk:25,27,29,2b,2e/sy2e:j,k,o,y/sy2d:16,2g/sy2f:p,17,1y/xwEKAe:r,1f,1x,2b,2h,2i/sy2g:1v,22/nmfa2d:2b,2i,2k/CF909:1o,1s,25,27,2a,2b,2c,2e,2i,2k/MYuYkc:1e,1u/MlY7Sd:19,26,27,2a/VsfQf:6,7,8,a,b,d,e,f/aTQB0e:1d/mpuYde:j,10,11,12,15/KrdVxb:p,11,20,23/risM8:p,z,11,12,15/bWbFF:h,l/UVqZue:p,z,11,12,13,14/Xdm0O:g/gUbuRc:2h/eR8R3:2g/MzoJxe:7,8/emmCof:7/paZond:28/b4RdN:7,x/iZytze:8,o/CrfNOc:h/qDDDKd:8,b,k,q/uT4QRb:x/YP2Wmc:8,a,b,i/sy2h/vNaWWc:6,7,v,18,1q,38/FOHVId:1e,38/sy2i/JfbIWd:7,8,a,b,f,k,3b/n0sZLe:7,8,q,r,3b/SF5I9b:p,z,11,12,14/iuT5Oc/YmiaNe',['sya','syj','sy17','sy3','syk','sy1f','sy1c','sy1g','syp','sy15','syr','sye','syn','syt','sy1d','sy1a','sy1l','sy1i','sy1q','syh','syd','sys','sy1k','sy18','sy11','sy12','sy1o','sy13','syx','sy1v','sy1u','sy1t','sy1j','sy19','syl','sy7','syz','sy1h','syo','sy1s','sy1r','syi','sy9','sy8','sy1m','sy14','sy5','sy1','syc','syg','sy1x','sy1n','syq','sy20','sy6','sy1b','syb','sy21','sy2','sym','syy','sy27','sy2e','sy1y','sy1e','sy1z','sy16','sy1w','sy25','sy4','syv','sy2i','sy2h','syu','sy26','sy2d','sy29','sy24','sy23','sy10','sy2g','sy2f','sy2c','sy2b','sy2a','sy22','syf','sy1p','sy28','syw','YmiaNe','iuT5Oc','SF5I9b','n0sZLe','JfbIWd','FOHVId','vNaWWc','YP2Wmc','uT4QRb','qDDDKd','CrfNOc','iZytze','b4RdN','paZond','emmCof','MzoJxe','eR8R3','gUbuRc','Xdm0O','UVqZue','bWbFF','risM8','KrdVxb','mpuYde','aTQB0e','VsfQf','MlY7Sd','MYuYkc','CF909','nmfa2d','xwEKAe','JzFVk','h8y2qb','kevlar_main_module']);

}catch(e){_._DumpException(e)}
try{
_.Tb("sya");

var fFa,gFa,hFa,iFa,rt,oFa,sFa,qFa,tFa,uFa,wFa,BFa,CFa,AFa,zFa,DFa,HFa,FFa,GFa,IFa,KFa,JFa,MFa,NFa,XFa,ZFa,$Fa,Nt,bGa,tt,rFa;
_.dFa=function(a,b,c,d,e){var h={cttAuthInfo:_.gg(b),sequenceGroup:b};if(_.x("il_via_jspb")){var l=new _.tg;l.setCsn(b);c=c.getAsJspb();_.eb(l,2,c);_.n(l,4,4);d&&_.eb(l,3,e);"UNDEFINED_CSN"==b?_.rg("visualElementShown",l,h):_.eia(l,h,a)}else e={csn:b,ve:c.getAsJson(),eventType:4},d&&(e.clientData=d),"UNDEFINED_CSN"==b?_.rg("visualElementShown",e,h):a?_.Hf("visualElementShown",e,a,h):_.Kf("visualElementShown",e,h)};
_.eFa=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,h=0;h<d;h++)if(h in e&&b.call(c,e[h],h,a))return h;return-1};
_.ht=function(a,b,c){b=_.eFa(a,b,c);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]};
fFa=function(a,b){return a===b};
_.jt=function(a,b,c){if(!_.la(a)||!_.la(b)||a.length!=b.length)return!1;var d=a.length;c=c||fFa;for(var e=0;e<d;e++)if(!c(a[e],b[e]))return!1;return!0};
gFa=function(a){var b=a[0],c=a[1];a=a[2];try{c.apply(b,a)}catch(d){setTimeout(function(){throw d;})}};
hFa=function(a){for(;a.length;)gFa(a.shift())};
iFa=function(){kt=!0;requestAnimationFrame(function(){kt=!1;hFa(lt);setTimeout(function(){for(var a=0,b=mt.length;a<b;a++)gFa(mt.shift())})})};
_.nt=function(a,b,c){kt||iFa();mt.push([a,b,c])};
_.ot=function(a){a=_.gd(a);return void 0!==a?String(a):""};
_.jFa=function(a,b){_.pia.push(a);b();_.pia.pop()};
_.pt=function(a,b){_.ug(void 0,a,b)};
rt=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a=_.qt(a,c,b[c]));return a};
_.kFa=function(a){var b=_.u.clone(a);if(_.pa(a.continuation)){var c=Object.keys(a.continuation)[0];b.continuation=a.continuation[c].continuation}return rt("/youtubei/v1/live_chat/get_live_chat",b)};
_.lFa=function(a){a=_.u.clone(a);a.currentPlayerState&&(_.u.extend(a,a.currentPlayerState),delete a.currentPlayerState);return rt("/youtubei/v1/live_chat/get_live_chat_replay",a)};
_.st=function(a,b,c){c=void 0===c?!1:c;if(!a)return null;if(a.adInfoDialogEndpoint||a.backstageImageUploadEndpoint||a.confirmDialogEndpoint||a.clientActionEndpoint||a.createBackstagePostDialogEndpoint||a.createCommentReplyDialogEndpoint||a.flowEndpoint||a.guideBuilderEndpoint||a.liveChatDialogEndpoint||a.modalEndpoint||a.openPopupAction||a.shareEndpoint||a.shareEntityEndpoint||a.showLiveChatItemEndpoint||a.subscriptionManagerEndpoint||a.unlimitedCreateFamilyEndpoint||a.unlimitedFamilyFlowEndpoint||
a.updateCommentDialogEndpoint||a.updateCommentReplyDialogEndpoint||a.userFeedbackEndpoint||a.videoEditorEndpoint||a.ypcCancelSurveyEndpoint)return b=_.hd("polymer_report_client_url_requested_rate"),!c&&Math.random()<b&&_.Rf(new _.ge("urlForEndpoint used on client endpoint",a)),null;var d=_.hd("polymer_report_missing_web_navigation_endpoint_rate");if(a.liveChatEndpoint||a.liveChatReplayEndpoint)d=0;if(!a.commandMetadata&&!a.clickTrackingParams&&Math.random()<d){var e={},h;for(h in a)e[h]="1";_.Rf(new _.ge("Missing navigation data",
e))}e="";if(a.commandMetadata&&a.commandMetadata.webCommandMetadata&&a.commandMetadata.webCommandMetadata.url)e=a.commandMetadata.webCommandMetadata.url;else if(a.searchEndpoint)Math.random()<d&&_.Rf(new _.ge("Should not manually handle search",a)),e="/results?search_query="+encodeURIComponent(a.searchEndpoint.query).replace(/%20/g,"+"),a.searchEndpoint.params&&(e+="&sp="+a.searchEndpoint.params);else if(a.watchEndpoint)Math.random()<d&&_.Rf(new _.ge("Should not manually handle watch",a)),e="/watch?v="+
a.watchEndpoint.videoId,a.watchEndpoint.playlistId&&(e+="&list="+a.watchEndpoint.playlistId),a.watchEndpoint.index&&(e+="&index="+a.watchEndpoint.index),a.watchEndpoint.startTimeSeconds&&(e+="&t="+a.watchEndpoint.startTimeSeconds);else if(a.browseEndpoint)d=a.browseEndpoint.browseId,(h=a.browseEndpoint.canonicalBaseUrl)?e=h:d&&(e=d.substr(0,2),e="FE"==e?"FEwhat_to_watch"==d?"/":"FEmy_videos"==d?"/my_videos":"/feed/"+d.substr(2):"VL"==e?"/playlist?list="+d.substr(2):"/channel/"+d),e&&a.browseEndpoint.query&&
(e=rt(e+"/search",{query:a.browseEndpoint.query})),e&&a.browseEndpoint.params&&(e=rt(e,{params:a.browseEndpoint.params}));else{if(a.urlEndpoint)return a.urlEndpoint.url;a.signInEndpoint?(e="https://accounts.google.com/ServiceLogin",d={},_.u.extend(d,b||{},{"continue":window.location.href.split("#")[0],action_handle_signin:!0,passive:!0}),b=d):a.uploadEndpoint?e="//www.youtube.com/upload":a.liveChatEndpoint?e=_.kFa(a.liveChatEndpoint):a.liveChatReplayEndpoint?e=_.lFa(a.liveChatReplayEndpoint):a.liveChatItemContextMenuEndpoint?
e=rt("/youtubei/v1/live_chat/get_item_context_menu",a.liveChatItemContextMenuEndpoint):a.liveChatPurchaseMessageEndpoint?e=rt("/youtubei/v1/live_chat/get_live_chat_message_buy_flow",a.liveChatPurchaseMessageEndpoint):a.openSuperStickerBuyFlowCommand?e=rt("/youtubei/v1/live_chat/get_live_chat_super_sticker_buy_flow",a.openSuperStickerBuyFlowCommand):a.videoEditEndpoint?e=rt("/edit",{video_id:a.videoEditEndpoint.videoId}):a.liveDashboardEndpoint?e=a.liveDashboardEndpoint.videoId?rt("/live_dashboard",
{v:a.liveDashboardEndpoint.videoId}):"/live_dashboard":a.signalNavigationEndpoint&&a.signalNavigationEndpoint.signal&&"WEBCAM"==a.signalNavigationEndpoint.signal?e="/webcam":a.getPdgBuyFlowCommand&&(e=rt(a.getPdgBuyFlowCommand.buyflowApiPath,{params:a.getPdgBuyFlowCommand.params}))}return e||c?rt(e,b||{}):(_.Rf(new _.ge("Error: Can't construct url for endpoint","keys:"+Object.keys(a).sort().join(","),a)),null)};
_.mFa=function(a){if(a){if(a.browseEndpoint)return!!a.browseEndpoint.nofollow;if(a.watchEndpoint)return!!a.watchEndpoint.nofollow;if(a.urlEndpoint)return!!a.urlEndpoint.nofollow}return!1};
oFa=function(){tt||(tt=_.Eg().resolve(_.Cg(_.Gza)))||(tt=new nFa);return tt};
_.pFa=function(a,b){b=void 0===b?!1:b;var c=oFa();return c&&a&&!_.u.isEmpty(a)?c.getUrl(a,b):""};
sFa=function(a,b,c){qFa(a,b);a[b][rFa].unshift(c)};
qFa=function(a,b){if(!a[b]||!a[b][rFa]){var c=a[b],d=c?[c]:[];a[b]=function(){for(var e=_.k(d),h=e.next();!h.done;h=e.next())h.value.apply(this,arguments)};
a[b][rFa]=d}};
tFa=function(a){if(!a)return[];var b=[];a=_.k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?b.push.apply(b,_.sc(tFa(c))):b.push(c);return b};
uFa=function(a){var b={};Object.defineProperties(b,Object.getOwnPropertyDescriptors(a));return b};
_.yFa=function(a){var b="string"!==typeof a?a:{is:a,notifyObserversOnUndefined:!0};void 0===b.fastInit&&(b.fastInit=!0);return function(c){if(Object.getPrototypeOf(c.prototype).constructor!==_.K)throw Error("$c");var d=vFa&&_.ut?uFa(c.prototype):c.prototype;d.is=b.is;wFa(d,c,b.fastInit);b.notifyObserversOnUndefined&&(_.ut?sFa(d,"created",function(){var r=this._propertyEffects;if(r)for(var v=_.k(Object.keys(r)),z=v.next();!z.done;z=v.next()){z=_.k(r[z.value]);for(var A=z.next();!A.done;A=z.next())if(A=
A.value,"compute"===A.kind||"complexObserver"===A.kind)A.effect.args=[]}}):d._overrideLegacyUndefined=!0);
if(vFa)for(var e=_.k(Object.getOwnPropertyNames(d)),h=e.next();!h.done;h=e.next()){h=h.value;var l=Object.getOwnPropertyDescriptor(d,h);!1===l.enumerable&&(l.enumerable=!0,Object.defineProperty(d,h,l))}if("template"in c)var m=function(){return c.template};
else void 0!==b.template&&(m=b.template);if(void 0!==m){var p;Object.defineProperty(d,"_template",{get:function(){void 0===p&&(p=m());return p},
set:function(r){p=r},
configurable:!0,enumerable:!0})}Polymer(d);c[xFa]=d}};
_.wt=function(){var a=void 0===a?{}:a;void 0===a.fastInit&&(a.fastInit=!0);return function(b){if(Object.getPrototypeOf(b.prototype).constructor!==_.vt)throw Error("ad");wFa(b.prototype,b,a.fastInit)}};
wFa=function(a,b,c){c=void 0===c?!1:c;zFa(b);_.ut||!c?sFa(a,"ready",function(){for(var d={},e=_.k(tFa(this.behaviors)),h=e.next();!h.done;h=e.next())h=h.value,h.properties&&Object.assign(d,AFa(this,h.properties));Object.assign(d,AFa(this,this.properties));BFa(b,this);e=_.k(Object.keys(d));for(h=e.next();!h.done;h=e.next())h=h.value,this[h]=d[h]}):sFa(a,"created",function(){BFa(b,this)})};
BFa=function(a,b){if(vFa){a=new a;for(var c=_.k(Object.getOwnPropertyNames(a)),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a[d];for(c=b;c&&c!==Object.prototype;c=Object.getPrototypeOf(c)){d=_.k(Object.getOwnPropertyNames(c));for(var e=d.next();!e.done;e=d.next())e=e.value,a.hasOwnProperty(e)||Object.defineProperty(a,e,CFa(b,e))}}else a.apply(b)};
CFa=function(a,b){return{get:function(){var c=a[b];return c instanceof Function?c.bind(a):c},
set:function(c){a[b]=c}}};
AFa=function(a,b){if(!b)return{};for(var c={},d=_.k(Object.keys(b)),e=d.next();!e.done;e=d.next())if(e=e.value,!b[e].readOnly){var h=a[e];void 0!==h&&(c[e]=h)}return c};
zFa=function(a){var b=new a;a=a.prototype.properties||{};for(var c=_.k(Object.keys(a)),d=c.next();!d.done;d=c.next())if(d=d.value,b.hasOwnProperty(d)){var e=a[d];"function"===typeof e&&(a[d]=e={type:e});null!=b[d]&&e.type===Object&&(e.type=DFa(b[d].constructor))}};
DFa=function(a){for(var b=_.k(EFa),c=b.next();!c.done;c=b.next())if(c=c.value,a===c)return c;return Object};
_.L=function(a){return function(b,c){b.behaviors=b.behaviors||[];b.behaviors.push(a||(void 0!==window.Reflect&&void 0!==window.Reflect.getMetadata?Reflect.getMetadata("design:type",b,c).prototype:void 0));Object.defineProperty(b,c,{get:function(){return this},
enumerable:!0,configurable:!0})}};
_.N=function(a){a=void 0===a?{}:a;return function(b,c){b.properties=b.properties||{};a.type||(void 0!==window.Reflect&&void 0!==window.Reflect.getMetadata?a.type=DFa(Reflect.getMetadata("design:type",b,c)):a.type=String);var d=a,e=b.properties[c];b.properties[c]=e?Object.assign({},e,d):d}};
_.O=function(a){return function(b,c){b.listeners=b.listeners||{};b.listeners[a]=c}};
_.P=function(){var a=_.Ob.apply(0,arguments);if(0===a.length)throw Error("bd");return function(b,c){b.observers=b.observers||[];b.observers.push(c+"("+a.join(",")+")")}};
HFa=function(a){_.vo.getInstance();if((parseInt(a.data&&a.data.loggingDirectives&&a.data.loggingDirectives.gestures&&a.data.loggingDirectives.gestures.types||"",10)||0)&4){FFa(a);var b=GFa(a);xt.set(a,b)}};
FFa=function(a){xt.has(a)&&(xt.get(a).cancel("untrack hover element"),xt.delete(a))};
GFa=function(a){var b,c=[],d=!1,e=new _.wf(function(h,l){_.Ek(a,"mouseenter",_.kd(function(){var m,p,r;return _.y(function(v){if(1==v.nextAddress)return b=(0,_.Yd)(),m=IFa(a),c.push(m),p=JFa(a,function(){d=!0;l(Error("dd"))}),_.B(v,m,2);
if(3!=v.nextAddress)return p&&_.Jk(p),r=KFa(a),c.push(r),_.B(v,r,3);h();_.bf(v)})}))});
e.then(function(){var h=(0,_.Yd)()-b,l=_.hd("minimum_duration_to_consider_mouseover_as_hover",500),m=_.hd("max_duration_to_consider_mouseover_as_hover",6E5);h=Math.round(h);l>h||m<=h||(l=a.getScreenLayer?a.getScreenLayer():void 0,l=_.fg(l)||"",m=_.zt(_.vo.getInstance(),a),_.ug(void 0,l,a.visualElement?a.visualElement:_.no(m),"INTERACTION_LOGGING_GESTURE_TYPE_HOVER",{hoverData:{durationHoveredMs:h}}));HFa(a)},function(){At&&(At(),At=null);
d&&(FFa(a),HFa(a))});
return e};
IFa=function(a){var b;return(new _.wf(function(c,d){At=function(){d(Error("ed"))};
b=_.xe.debounce(_.kd(function(){_.Jk(e);c()}),1,_.hd("min_mouse_still_duration",100));
var e=_.Fk(a,"mousemove",b)})).thenCatch(function(){var c=_.xe,d=c.cancelDebouncedJobMap.get(b);
d&&c.cancelJob(d)})};
KFa=function(a){var b;return(new _.wf(function(c,d){At=function(){d(Error("fd"))};
b=_.Ek(a,"mouseleave",_.kd(function(){c()}))})).thenCatch(function(){_.Jk(b)})};
JFa=function(a,b){return _.Ek(a,"mouseleave",_.kd(b))};
MFa=function(a){if(window.IntersectionObserver)return new LFa(a,400);throw new TypeError("hd");};
NFa=function(a,b){null!=Bt[a]||(Bt[a]=new Set);Bt[a].add(b)};
_.Ct=function(){var a=_.P.apply(null,_.sc(_.Ob.apply(0,arguments)));return function(b,c){NFa(b.is,c);a(b,c)}};
_.QFa=function(a){OFa||(OFa=Date.now());return(_.PFa(a)+OFa)%100<_.hd("polymer_log_prop_change_observer_percent")};
_.Q=function(a){return function(b){a.asyncProperties&&_.x("polymer_enable_async_property_setting")&&(b.prototype._invalidateProperties=_.RFa);_.L(_.Dt.prototype)(b.prototype,"__templateHelpers");_.QFa(a.is)&&_.L(_.Et.prototype)(b.prototype,"__propertyObserverObserver");_.yFa({is:a.is,notifyObserversOnUndefined:!1,template:a.template})(b)}};
XFa=function(a,b){var c=(b=void 0===b?!1:b)?_.SFa:_.TFa,d=b?_.UFa:_.VFa;a.getIconNames().forEach(function(e){e=b?e:e.substring(e.indexOf(":")+1);"yt-icons"===a.name?_.WFa.add(e):e.includes("-filled")?c.add(e):d.add(e)})};
_.Ft=function(a){if(YFa.has(a))return YFa.get(a);var b=a.toLowerCase();var c="yt-icons",d=b.replace(/_/g,"-");switch(a){case "MY_CHANNEL":b="account_circle";break;case "ADD_TO_LIBRARY":b="add";break;case "ALERT_WARN_RED":b="warning";break;case "BLOCK_USER":b="block";break;case "CLOSED_CAPTION":c="av";b="closed-caption";break;case "COLLECTION":c="maps";b="layers";break;case "CONTACT":c="icons";b="business";break;case "CREATOR_STUDIO_ERROR_ON_LOAD":case "CREATOR_STUDIO_ERROR_ON_LOAD_V2":case "CREATOR_STUDIO_NO_COMMENTS":case "CREATOR_STUDIO_NO_HELD_COMMENTS":case "CREATOR_STUDIO_NO_HELD_COMMENTS_V2":case "CREATOR_STUDIO_NO_SEARCH_MATCH":case "CREATOR_STUDIO_NO_SEARCH_MATCH_V2":c=
"ytcp-icons";b=d.split("creator-studio-")[1];break;case "DISMISSAL":b="close";break;case "DO_NOT_DISTURB":b="block";break;case "DOGFOOD":c="icons";b="pets";break;case "EMPTY_LIKE":b="like_outline";break;case "EXIT_APP":b="exit_to_app";break;case "EXPAND_MORE":case "EXPAND_LESS":b=d;break;case "GAMES":c="ytg";b="my-games";break;case "GO_TO_PAGE":b="arrow-forward";break;case "GROUP":c="social";break;case "HIDE":b="not_interested";break;case "INPUT_COMPONENT":c="icons";b="settings-input-component";break;
case "KIDS_BLOCK":b="block";break;case "MEMBERSHIP_LIMITED_PRE_PURCHASE":case "MEMBERSHIP_OFFER":c="ytg";b="membership-pre-purchase";break;case "MEMBERSHIP_LIMITED_POST_PURCHASE":c="ytg";b="membership-post-purchase";break;case "MY_LOCATION":c="maps";b=d;break;case "NOTIFICATIONS_INBOX":b="NOTIFICATIONS";break;case "NEXT":b="chevron_right";break;case "OFFLINE":b="power-settings-new";break;case "PAUSE":c="miniplayer";break;case "PAYMENT":c="icons";break;case "PHONE_DOWNLOAD":b="phone_download";break;
case "QUESTION_ANSWER":b="question_answer";break;case "REDEEM":c="icons";b="redeem";break;case "REMOVE":case "REMOVE_FROM_HISTORY":case "REMOVE_FROM_PLAYLIST":b="remove-circle-outline";break;case "SAVE_PLAYLIST":case "LIBRARY_ADD":b="library_add";break;case "SETTINGS_LIGHT":b="settings_applications";break;case "SETTINGS_MATERIAL":b="settings";break;case "SEARCH_HISTORY":b="watch_history";break;case "SOCIAL":case "PEOPLE":c="yt-icons";b="people";break;case "STAFF_PICK":c="ytg";b="spotlight";break;
case "START_DVR":b="add";break;case "STOP_DVR":c="av";b="stop";break;case "SUBSCRIPTIONS":c="av";break;case "TAB_LIKED":b="like";break;case "TERMS_OF_SERVICE":c="icons";b="description";break;case "UNBLOCK_USER":b="remove";break;case "UNPLUGGED_DARK_THEME":c="image";b="brightness-3";break;case "UNPLUGGED_LIVE_GUIDE":case "LIVE":b="live";break;case "UNPLUGGED_SPORTS":c="ytu";b="visibility-off";break;case "VIDEOS":c="av";b="play-circle-filled";break;case "VOLUME_UP":c="miniplayer";b=d;break;case "YOUTUBE":c=
"yt-logos";b="lozenge";break;case "YOUTUBE_RED_LOGO":case "YOUTUBE_PREMIUM_LOGO":c="yt-logos-ext";b="yt-logo-red-updated";break;case "YOUTUBE_LOGO":c="yt-logos-ext";b="yt-logo-updated";break;case "OFFLINE_NO_CONTENT":c="offline-no-content";break;case "SHORTS_COMMENT":case "SHORTS_DISLIKE":case "SHORTS_LIKE":case "SHORTS_SHARE":c="shorts";b=d;break;case "OUTLINE_YOUTUBE_IMPROVE_TV":c="yt-sys-icons";b="youtube_improve_tv";break;case "OUTLINE_BAG":c="yt-sys-icons",b="bag"}b=c+":"+b;YFa.set(a,b);return b};
ZFa=function(a){Gt&&_.Ht.cancel(Gt);Gt=_.Ht.run(function(){a.fire("yt-visibility-refresh");Gt=0})};
_.It=function(a){a instanceof _.pj||(a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a),a=_.Goa.test(a)?_.qj(a):_.rj(a));return a||_.tj};
_.Jt=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^_.bj()).toString(36)};
_.Kt=function(a,b,c){return _.Pa(a,b,c,0)};
_.Lt=function(a){return a.scrollingElement?a.scrollingElement:_.Fj||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement};
_.Mt=function(a){var b=_.Lt(a);a=_.kk(a);return _.Cj&&_.Ij("10")&&a.pageYOffset!=b.scrollTop?new _.fk(b.scrollLeft,b.scrollTop):new _.fk(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.zt=function(a,b){return b.data&&b.data.loggingDirectives?b.data.loggingDirectives.trackingParams||"":b.veContainer&&b.veContainer.trackingParams?b.veContainer.trackingParams:b.data&&b.data.trackingParams||""};
$Fa=function(a,b,c){var d=_.fg(c);return null===a.csn_||d==a.csn_||c?d:(_.Rf(new _.ge("VisibilityLogger called before newScreen()",{caller:b.tagName,previous_csn:a.csn,current_csn:d})),null)};
Nt=function(a){return parseInt(a.data&&a.data.loggingDirectives&&a.data.loggingDirectives.visibility&&a.data.loggingDirectives.visibility.types||"",10)||1};
_.Ot=function(a,b,c){var d=_.zt(0,b),e=b.visualElement?b.visualElement:d,h=a.shownElements_.has(e),l=a.visibleState_.get(e);a.shownElements_.add(e);a.visibleState_.set(e,!0);b.impressionLog&&!h&&b.impressionLog();if(d||b.visualElement)if(c=$Fa(a,b,c))if(e=!(!b.data||!b.data.loggingDirectives),Nt(b)||e){d=b.visualElement?b.visualElement:_.no(d);var m=b.interactionLoggingClientData,p=b.interactionLoggingClientDataJspbType;e||h?Nt(b)&4?l||_.dFa(a.JSC$34801_client_,c,d,m,p):Nt(b)&1&&!h&&_.Tja(a.JSC$34801_client_,
c,d,m,p):_.Tja(a.JSC$34801_client_,c,d,m)}};
_.Pt=function(a,b,c){var d=_.zt(0,b),e=b.visualElement?b.visualElement:d,h=a.JSC$34801_hiddenElements_.has(e),l=a.visibleState_.get(e);a.JSC$34801_hiddenElements_.add(e);a.visibleState_.set(e,!1);if(!1===l)return!0;if(!d&&!b.visualElement)return!1;c=$Fa(a,b,c);if(!c||!Nt(b)&&b.data&&b.data.loggingDirectives)return!1;d=b.visualElement?b.visualElement:_.no(d);Nt(b)&8?_.Uja(a.JSC$34801_client_,c,d):Nt(b)&2&&!h&&(a=a.JSC$34801_client_,b={cttAuthInfo:_.gg(c),sequenceGroup:c},_.x("il_via_jspb")?(h=new _.tg,
h.setCsn(c),d=d.getAsJspb(),_.eb(h,2,d),_.n(h,4,2),"UNDEFINED_CSN"==c?_.rg("visualElementHidden",h,b):_.fia(h,b,a)):(h={csn:c,ve:d.getAsJson(),eventType:2},"UNDEFINED_CSN"==c?_.rg("visualElementHidden",h,b):a?_.Hf("visualElementHidden",h,a,b):_.Kf("visualElementHidden",h,b)));return!0};
_.Qt=function(a,b,c){b.forEach(function(d){var e=_.Gg(d);e&&a.triggerOptionalAction(e,d,c,void 0)})};
_.Rt=function(a,b){_.oBa.mappings.set(a.toString(),{type:"mapping",value:b})};
_.aGa=function(a,b){if(!b.veType)return _.Qf(new _.ge("Error: Trying to graft a client VE without a veType.")),null;b=_.oo(b.veType,b.visualElement,b.elementIndex,b.clientYouTubeData,b.jspbClientYouTubeData);return _.ls(a,b)?b:null};
_.St=function(a,b,c){return Array.prototype.filter.call(a,b,c)};
_.Tt=function(a){return _.kj(_.ij(a))};
_.Ut=function(a,b){b=b instanceof _.pj?b:_.uj(b);a.href=_.yb(b)};
_.PFa=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
_.Vt=function(a,b,c){c=null!=c?"="+_.od(c):"";return _.Zoa(a,b+c)};
_.qt=function(a,b,c){return _.Vt(_.uh(a,b),b,c)};
_.S=function(a,b,c,d){var e=arguments.length,h=3>e?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d,l;if("object"===typeof Reflect&&Reflect&&"function"===typeof Reflect.decorate)h=Reflect.decorate(a,b,c,d);else for(var m=a.length-1;0<=m;m--)if(l=a[m])h=(3>e?l(h):3<e?l(b,c,h):l(b,c))||h;return 3<e&&h&&Object.defineProperty(b,c,h),h};
_.T=function(a,b){if("object"===typeof Reflect&&Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(a,b)};
_.Wt=function(a){return a?new _.rk(_.nk(a)):bGa||(bGa=new _.rk)};
_.Xt=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
_.f=_.Xt.prototype;_.f.getWidth=function(){return this.right-this.left};
_.f.getHeight=function(){return this.bottom-this.top};
_.f.clone=function(){return new _.Xt(this.top,this.right,this.bottom,this.left)};
_.f.contains=function(a){return this&&a?a instanceof _.Xt?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
_.f.expand=function(a,b,c,d){_.pa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
_.f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
_.f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.f.translate=function(a,b){a instanceof _.fk?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};
_.f.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
_.Yt=function(a,b){var c=_.nk(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};
_.cGa=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Zt=function(a){var b=_.nk(a),c=new _.fk(0,0);var d=b?_.nk(b):document;d=!_.Cj||_.Jj(9)||"CSS1Compat"==_.Wt(d).JSC$32303_document_.compatMode?d.documentElement:d.body;if(a==d)return c;a=_.cGa(a);b=_.Mt(_.Wt(b).JSC$32303_document_);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.Ht={run:function(a){return window.requestAnimationFrame(a)},
cancel:function(a){window.cancelAnimationFrame(a)}};
_.dGa={run:function(a){return window.requestIdleCallback?window.requestIdleCallback(a):window.setTimeout(a,16)},
cancel:function(a){window.cancelIdleCallback?window.cancelIdleCallback(a):window.clearTimeout(a)}};
_.eGa=function(a){window.ShadyCSS&&window.ShadyCSS.styleDocument(a)};
_.wc=function(a,b){_.Mua(a,b);this.value=b.reduce(function(c,d,e){return c+_.tca(d)+a[e+1]},a[0]).toString()};
_.wc.prototype.toString=function(){return this.value};
var kt=!1,lt=[],mt=[],nFa=function(){};
nFa.prototype.getUrl=function(a,b){b=void 0===b?!1:b;return a.hasOwnProperty("shareEndpoint")?null:_.st(a,null,b)};
tt=null;_.$t=function(a){var b=a.is;if(b){var c=_.Uza.get(b);c||(c=[],_.Uza.set(b,c));var d=_.w("ELEMENT_POOL_CONFIG")||{};c.length>=(void 0!==d[b]?d[b]:_.w("ELEMENT_POOL_DEFAULT_CAP",0))||c.push(a)}else _.Rf(new _.ge("Element pool should only handle custom elements:",a.nodeName))};
rFa=Symbol("Yc");
var fGa,vFa;fGa=window.Polymer;_.ut=fGa&&fGa.version&&fGa.version.startsWith("1.");vFa=/\bclass\b/.test(function(){}.toString());
window.PolymerFakeBaseClass=function(){};
_.K=function(){return PolymerFakeBaseClass.apply(this,arguments)||this};
_.q(_.K,PolymerFakeBaseClass);_.vt=function(){return PolymerFakeBaseClass.apply(this,arguments)||this};
_.q(_.vt,PolymerFakeBaseClass);var xFa=Symbol("Zc"),EFa=[Array,Boolean,Date,Number,Object,String];
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var gGa=window.Polymer;window.Polymer=function(a){return window.Polymer._polymerFn(a)};
gGa&&Object.assign(Polymer,gGa);Polymer._polymerFn=function(){throw Error("cd");};
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
Polymer.ResolveUrl={resolveCss:_.Yb,resolveUrl:_.Xb,pathFromUrl:_.Zb};
Polymer.DomModule=_.tc;
Polymer.Async={timeOut:_.Pm,animationFrame:_.Ht,idlePeriod:_.dGa,microTask:_.Jc};
Polymer.dedupingMixin=_.Qg;
Polymer.wrap=_.nc;
Polymer.PropertiesChanged=_.Qm;
Polymer.telemetry={instanceCount:_.uua,incrementInstanceCount:function(){_.uua++},
registrations:_.bc,register:_.Gba,dumpRegistrations:function(){_.bc.forEach(_._regLog$$module$third_party$javascript$polymer$v2$polymer$lib$utils$telemetry)}};
Polymer.PropertiesMixin=_.vua;
Polymer.CaseMap={dashToCamelCase:_.dc,camelToDashCase:_.ec};
Polymer.PropertyAccessors=_.Aua;
Polymer.TemplateStamp=_.Fua;
Polymer.Path={isPath:_.fc,root:_.gc,isAncestor:_.Lba,isDescendant:_.hc,translate:_.ic,matches:_.Mba,normalize:_.jc,split:_.Nba,get:_.kc,set:_.Oba,isDeep:_.fc};
Polymer.Settings={useShadow:_.Mc,useNativeCSSProperties:_.kua,useNativeCustomElements:_.lua,get rootPath(){return _.Fm},setRootPath:function(a){_.Fm=a},
get sanitizeDOMValue(){return _.oc},setSanitizeDOMValue:function(a){_.oc=a},
get passiveTouchGestures(){return _.zc},setPassiveTouchGestures:function(a){_.zc=a},
get strictTemplatePolicy(){return _.Qc},setStrictTemplatePolicy:function(a){_.Qc=a},
get allowTemplateFromDomModule(){return _.Gm},setAllowTemplateFromDomModule:function(a){_.Gm=a},
get legacyOptimizations(){return _.Lc},setLegacyOptimizations:function(a){_.Lc=a},
get syncInitialRender(){return _.Hm},setSyncInitialRender:function(a){_.Hm=a},
get legacyUndefined(){return _.qc},setLegacyUndefined:function(a){_.qc=a},
get legacyWarnings(){return _.Pc},setLegacyWarnings:function(a){_.Pc=a},
get orderedComputed(){return _.Im},setOrderedComputed:function(a){_.Im=a},
get fastDomIf(){return _.Km},setFastDomIf:function(a){_.Km=a},
get removeNestedTemplates(){return _.Jm},setRemoveNestedTemplates:function(a){_.Jm=a},
get suppressTemplateNotifications(){return _.Lm},setSuppressTemplateNotifications:_.Lm};void 0!==Polymer.rootPath&&(_.Fm=Polymer.rootPath);void 0!==Polymer.sanitizeDOMValue&&(_.oc=Polymer.sanitizeDOMValue);void 0!==Polymer.passiveTouchGestures&&(_.zc=Polymer.passiveTouchGestures);void 0!==Polymer.strictTemplatePolicy&&(_.Qc=Polymer.strictTemplatePolicy);_.Gm=void 0!==Polymer.allowTemplateFromDomModule?Polymer.allowTemplateFromDomModule:!0;void 0!==Polymer.legacyOptimizations&&(_.Lc=Polymer.legacyOptimizations);
void 0!==Polymer.syncInitialRender&&(_.Hm=Polymer.syncInitialRender);void 0!==Polymer.legacyUndefined&&(_.qc=Polymer.legacyUndefined);void 0!==Polymer.legacyWarnings&&(_.Pc=Polymer.legacyWarnings);void 0!==Polymer.orderedComputed&&(_.Im=Polymer.orderedComputed);void 0!==Polymer.fastDomIf&&(_.Km=Polymer.fastDomIf);void 0!==Polymer.removeNestedTemplates&&(_.Jm=Polymer.removeNestedTemplates);void 0!==Polymer.suppressTemplateNotifications&&(_.Lm=Polymer.suppressTemplateNotifications);
Object.defineProperty(Polymer,"sanitizeDOMValue",{get:function(){return _.oc},
set:function(a){_.oc=a}});
Polymer.PropertyEffects=_.Tm;
Polymer.StyleGather={stylesFromModules:_.lca,stylesFromModule:_.kca,stylesFromTemplate:_.uc,stylesFromModuleImports:_.mca,cssFromModules:_.oca,cssFromModule:_.nca,cssFromTemplate:_.pca,cssFromModuleImports:function(a){return(a=_.tc.import(a))?_._cssFromModuleImports$$module$third_party$javascript$polymer$v2$polymer$lib$utils$style_gather(a):""}};
Polymer.ElementMixin=_.Um;Polymer.updateStyles=_.eGa;Polymer.version="3.4.1";
Polymer.ArraySplice={calculateSplices:_.sca};
Polymer.html=_.Vm;Polymer.htmlLiteral=function(a){return new _.wc(a,_.Ob.apply(1,arguments))};
Polymer.Element=_.Wm;
Polymer.ArraySelectorMixin=_.Nua;Polymer.ArraySelector=_.Xm;
Polymer.CustomStyle=_.dn;
Polymer.Debouncer=_.en;
Polymer.Gestures={gestures:_.Fc,recognizers:_.Dc,deepTargetFind:_.Tca,addListener:_.Gc,removeListener:_.Yca,register:_.Ic,setTouchAction:_.Hc,prevent:_.Ec,resetMouseCanceller:function(){_.jn&&_.jn.flush()},
findOriginalTarget:_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures,add:_.Gc,remove:_.Yca};
Polymer.GestureEventListeners=_.Xua;
Polymer.MutableData=_.kn;Polymer.OptionalMutableData=_.Yua;
Polymer.DomBind=_.ln;
Polymer.enqueueDebouncer=_.hn;Polymer.flush=_.mn;
Polymer.Templatize={templatize:_.Oc,modelForElement:_.uda};Polymer.TemplateInstanceBase=_.Nc;
Polymer.DomIf=_.Pg;
Polymer.DomRepeat=_.Og;
Polymer.FlattenedNodesObserver=_.cva;
Polymer.DomApi=_.hva;Polymer.EventApi=_.qn;Polymer.dom=_.H;Polymer.dom.matchesSelector=_.fva;Polymer.dom.flush=_.mn;Polymer.dom.addDebouncer=_.hn;
Polymer.DirMixin=_.mva;
Polymer.RenderStatus={beforeNextRender:function(a,b,c){kt||iFa();lt.push([a,b,c])},
afterNextRender:_.nt,flush:function(){for(;lt.length||mt.length;)hFa(lt),hFa(mt);kt=!1}};
Polymer.LegacyElementMixin=_.zn;
Polymer.MutableDataBehavior={_shouldPropertyChange:function(a,b,c){return(0,_.yva)(this,a,b,c,!0)}};
Polymer.OptionalMutableDataBehavior=_.zva;
Polymer.Class=_.hka;Polymer.mixinBehaviors=function(a,b){return _.fea({},(0,_.zn)(b),a)};
Polymer._polymerFn=_.Ng;var hGa=window.onLegacyPolymerFunctionDefinedCallback;hGa&&hGa();
Polymer.Templatizer=_.jka;
Polymer.Base=_.An;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.au=function(a){_.au[" "](a);this.type=a&&a.type||"default";this.key=a&&a.key;a&&"value"in a&&(this.value=a.value)};
_.au.prototype.byKey=function(a){this.key=a;return this.value};
_.t.Object.defineProperties(_.au.prototype,{value:{configurable:!0,enumerable:!0,get:function(){var a=this.type,b=this.key;if(a&&b)return bu[a]&&bu[a][b]},
set:function(a){var b=this.type,c=this.key;b&&c&&(b=bu[b]=bu[b]||{},null==a?delete b[c]:b[c]=a)}},
list:{configurable:!0,enumerable:!0,get:function(){if(!this.type)return[];var a=bu[this.type];return a?Object.keys(a).map(function(b){return bu[this.type][b]},this):[]}}});
_.au[" "]=function(){};
var bu={};_.Ng({is:"iron-meta",_template:null,properties:{type:{type:String,value:"default"},key:{type:String},value:{type:String,notify:!0},self:{type:Boolean,observer:"_selfChanged"},__meta:{type:Boolean,computed:"__computeMeta(type, key, value)"}},hostAttributes:{hidden:!0},__computeMeta:function(a,b,c){a=new _.au({type:a,key:b});void 0!==c&&c!==a.value?a.value=c:this.value!==a.value&&(this.value=a.value);return a},
get list(){return this.__meta&&this.__meta.list},_selfChanged:function(a){a&&(this.value=this)},
byKey:function(a){return(new _.au({type:this.type,key:a})).value}});
_.Ng({is:"iron-iconset-svg",_template:null,properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new _.au({type:"iconset",key:null,value:null})},
attached:function(){this.style.display="none"},
getIconNames:function(){this._icons=this._createIconMap();return Object.keys(this._icons).map(function(a){return this.name+":"+a},this)},
applyIcon:function(a,b){this.removeIcon(a);if(b=this._cloneIcon(b,this.rtlMirroring&&this._targetIsRTL(a))){var c=_.H(a.root||a);c.insertBefore(b,c.childNodes[0]);return a._svgIcon=b}return null},
removeIcon:function(a){a._svgIcon&&(_.H(a.root||a).removeChild(a._svgIcon),a._svgIcon=null)},
_targetIsRTL:function(a){null==this.__targetIsRTL&&(this.useGlobalRtlAttribute?this.__targetIsRTL="rtl"===(document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement).getAttribute("dir"):(a&&a.nodeType!==Node.ELEMENT_NODE&&(a=a.host),this.__targetIsRTL=a&&"rtl"===window.getComputedStyle(a).direction));return this.__targetIsRTL},
_nameChanged:function(){this._meta.value=null;this._meta.key=this.name;this._meta.value=this;this.async(function(){this.fire("iron-iconset-added",this,{node:window})})},
_createIconMap:function(){var a=Object.create(null);_.H(this).querySelectorAll("[id]").forEach(function(b){a[b.id]=b});
return a},
_cloneIcon:function(a,b){this._icons=this._icons||this._createIconMap();return this._prepareSvgClone(this._icons[a],this.size,b)},
_prepareSvgClone:function(a,b,c){if(a){a=a.cloneNode(!0);var d=document.createElementNS("http://www.w3.org/2000/svg","svg");b=a.getAttribute("viewBox")||"0 0 "+b+" "+b;var e="pointer-events: none; display: block; width: 100%; height: 100%;";c&&a.hasAttribute("mirror-in-rtl")&&(e+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;");d.setAttribute("viewBox",b);d.setAttribute("preserveAspectRatio","xMidYMid meet");d.setAttribute("focusable","false");d.style&&(d.style.cssText=
e);d.appendChild(a).removeAttribute("id");return d}return null}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var xt=new Map,At;
var cu=function(){if(this.constructor===cu)throw new TypeError("gd");};
_.f=cu.prototype;_.f.dispose=function(){};
_.f.disconnect=function(){};
_.f.reconnect=function(){};
_.f.observe=function(a,b,c){return{element:a,option:c}};
_.f.unobserveByKey=function(){};
var LFa=function(a,b){b=void 0===b?0:b;cu.call(this);this.viewroot=a;this.defaultPrescanHeight=b;this.isConnected=!0;this.pauseObservingUntilReconnect=!1;this.observer=new IntersectionObserver(this.handleObserveEvent.bind(this),a?{root:a,rootMargin:"-0.1px"}:{rootMargin:"-0.1px"});this.prescanObservers=new Map;this.handlers=new Map};
_.q(LFa,cu);_.f=LFa.prototype;_.f.dispose=function(){this.disconnect();this.handlers.clear()};
_.f.disconnect=function(a){this.isConnected=!1;this.pauseObservingUntilReconnect=void 0===a?!1:a;this.observer.disconnect();a=_.k(this.prescanObservers.values());for(var b=a.next();!b.done;b=a.next())b.value.disconnect()};
_.f.reconnect=function(){if(!this.isConnected){this.isConnected=!0;this.pauseObservingUntilReconnect=!1;for(var a=_.k(this.handlers),b=a.next();!b.done;b=a.next()){var c=_.k(b.value);b=c.next().value;var d=c.next().value;c=!1;d=_.k(d.keys());for(var e=d.next();!e.done;e=d.next())if((e=e.value)&&"prescan"===e.state){c=!0;break}c&&iGa(this,b).observe(b);this.observer.observe(b)}}};
_.f.handleObserveEvent=function(a){a=_.k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=this.handlers.get(b.target);if(c){var d=b.isIntersecting;c=_.k(c);for(var e=c.next();!e.done;e=c.next()){var h=_.k(e.value);e=h.next().value;h=h.next().value;e&&("visible"===e.state&&d||"hidden"===e.state&&!d)&&(h(b.target,e.state),e.calledOnce&&this.unobserveByKey({element:b.target,option:e}))}}}};
_.f.handlePrescanEvent=function(a){a=_.k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=this.handlers.get(b.target);if(c&&b.isIntersecting){c=_.k(c);for(var d=c.next();!d.done;d=c.next()){var e=_.k(d.value);d=e.next().value;e=e.next().value;d&&"prescan"===d.state&&(e(b.target,d.state),d.calledOnce&&this.unobserveByKey({element:b.target,option:d}))}}}};
_.f.observe=function(a,b,c){var d=(d=this.handlers.get(a))&&d.has(c)?{element:a,option:c}:void 0;if(d)return d;d={element:a,option:c};this.handlers.has(a)||this.handlers.set(a,new Map);var e=this.handlers.get(a);e&&!e.has(c)&&e.set(c,b);this.pauseObservingUntilReconnect||("prescan"===c.state&&iGa(this,a).observe(a),this.observer.observe(a));return d};
_.f.unobserveByKey=function(a){var b=this.handlers.get(a.element);if(b&&b.has(a.option)){b.delete(a.option);if(a&&"prescan"===a.option.state)for(var c=_.k(this.prescanObservers.values()),d=c.next();!d.done;d=c.next())d.value.unobserve(a.element);0===b.size&&(this.handlers.delete(a.element),this.observer.unobserve(a.element))}};
var iGa=function(a,b){var c=a.defaultPrescanHeight;b.hasAttribute("prescan-height")&&(b=Number(b.getAttribute("prescan-height")),isNaN(b)||(c=b));if(a.prescanObservers.has(c))return a.prescanObservers.get(c);b="-0.1px -0.1px "+c+"px -0.1px";b=new IntersectionObserver(a.handlePrescanEvent.bind(a),a.viewroot?{root:a.viewroot,rootMargin:b}:{rootMargin:b});a.prescanObservers.set(c,b);return b};
var jGa=["browse-video-menu-button","unified-verified-badge","topbar-guide-menu"],du=function(){var a,b=this;this.JSC$36100_actionRouter=a=void 0===a?_.Io.getInstance():a;this.targetMap=new Map;this.targetedElements=new WeakMap;this.triggeredTargets=new Set;this.TEST_ONLY={getVisibilityObserver:function(){return b.visibilityObserver},
getVisibilityObservedElementHandlerKeys:function(){return b.visibilityObservedElementHandlerKeys}}},kGa,mGa,pGa;
du.prototype.initVisibilityObserver=function(){!this.visibilityObserver&&_.x("kevlar_use_vimio_behavior")&&"WEB_REMIX"!==_.w("INNERTUBE_CLIENT_NAME")&&(this.visibilityObserver=MFa())};
du.prototype.dispose=function(){this.visibilityMonitor&&_.Ik(this.visibilityMonitor,"yt-visibility-monitor-refreshed",this.handleVisibilityRefreshed,!1,this);this.visibilityObserver&&this.visibilityObserver.dispose()};
du.prototype.handleVisibilityRefreshed=function(){for(var a=_.k(this.targetMap.entries()),b=a.next();!b.done;b=a.next()){var c=_.k(b.value);b=c.next().value;c=c.next().value;_.lGa(this,b,c)}};
_.oGa=function(a,b){var c=_.eu();mGa(c,b);var d=_.nGa(c,a);d.element=b;c.targetedElements.set(b,a);_.lGa(c,a,d)};
mGa=function(a,b){var c=a.targetedElements.get(b);if(c){var d=a.targetMap.get(c);d&&(delete d.element,a.targetMap.set(c,d));a.targetedElements.delete(b);a.visibilityObserver&&a.visibilityObservedElementHandlerKeys&&(c=a.visibilityObservedElementHandlerKeys.get(b))&&(a.visibilityObserver.unobserveByKey(c),a.visibilityObservedElementHandlerKeys.delete(b))}};
_.lGa=function(a,b,c){var d=c.action,e=c.element;e&&d&&(jGa.includes(b)||"WEB_REMIX"===_.w("INNERTUBE_CLIENT_NAME")||a.visibilityMonitor&&a.visibilityMonitor.isNodeVisible(e)?pGa(a,b,c):a.visibilityObserver&&(a.visibilityObservedElementHandlerKeys||(a.visibilityObservedElementHandlerKeys=new WeakMap),d=a.visibilityObserver.observe(e,function(){pGa(a,b,c);a.visibilityObservedElementHandlerKeys.delete(e)},{calledOnce:!0,
state:"visible"}),a.visibilityObservedElementHandlerKeys.set(e,d)))};
pGa=function(a,b,c){var d=c.action;(c=c.element)&&d&&(_.Qt(a.JSC$36100_actionRouter,[d],c),a.targetMap.delete(b),a.targetedElements.delete(c),a.triggeredTargets.add(b))};
_.nGa=function(a,b){var c=a.targetMap.get(b);c||(c={},a.targetMap.set(b,c));return c};
_.eu=function(){kGa||(kGa=new du);return kGa};
var fu=[],Bt={},gu=function(){return _.vt.apply(this,arguments)||this};
_.q(gu,_.vt);gu.prototype._addPropertyEffect=function(a,b,c){if("__observeEffects"===b&&c){var d,e=null!=(d=c.info.method)?d:c.info.methodName;if(e){var h=this[e];this[e]=function(){fu.push(e);try{null==h||h.apply(this,arguments)}finally{fu.pop()}}}}_.An._addPropertyEffect.apply(this,[a,
b,c])};
gu.prototype._setPendingProperty=function(a,b,c){if(fu.length){var d=fu[fu.length-1],e;null!=(e=Bt[this.is])&&e.has(d)||(NFa(this.is,d),_.Kf("polymerPropertyChangedInObserver",{componentName:this.is,observerName:d}))}return _.An._setPendingProperty.apply(this,[a,b,c])};
_.Et=gu;_.Et=_.S([_.wt()],_.Et);
_.RFa=(0,_.Qm)(function(){}).prototype._invalidateProperties;
var hu=function(){var a=_.vt.apply(this,arguments)||this;a.json=function(){};
return a};
_.q(hu,_.vt);hu.prototype.equals=function(a,b){return a===b};
hu.prototype.isEmpty=function(a){return!a||_.la(a)&&0===a.length};
_.Dt=hu;_.Dt=_.S([_.wt()],_.Dt);
var OFa;
var qGa,YFa;qGa=[48,20,18,16,15,13,12];YFa=new Map;_.WFa=new Set;_.TFa=new Set;_.VFa=new Set;_.SFa=new Set;_.UFa=new Set;
_.rGa=new Promise(function(a){var b=!1,c=!1,d=!1,e=[],h=function(l){var m;if("yt-icons"===(null==l?void 0:null==(m=l.detail)?void 0:m.name))XFa(l.detail),b=!0;else{var p;if("yt-sys-icons"===(null==l?void 0:null==(p=l.detail)?void 0:p.name))XFa(l.detail),c=!0;else{var r,v;(null==l?0:null==(r=l.detail)?0:r.name.includes("yt-sys-icons"))&&24!==(null==l?void 0:null==(v=l.detail)?void 0:v.size)&&(XFa(l.detail,!0),e.push(l.detail.size),e.length===qGa.length&&(d=!0))}}b&&c&&d&&(window.removeEventListener("iron-iconset-added",
h),a())};
window.addEventListener("iron-iconset-added",h)});
_.sGa=new Map([["what_to_watch","tab_home"],["access_time","watch_later"],["schedule","watch_later"],["emoji_recent","watch_later"],["watch_related_mix","mix"],["report_problem","warning"],["insert_photo","image"],["wallpaper","image"],["video_library_white","uploads"],["vertical_align_bottom","offline_download"],["creation_upload_red","upload"],["video_youtube","subscribe"],["unlimited","subscribe"],["tab_trending","trending"],["tab_subscriptions","subscriptions"],["tab_explore","explore"],["tab_account",
"person"],["supervisor_account","people"],["add_friend","people"],["add_to_playlist","add"],["sticker_emoticon","happy"],["slow_mode_off","message"],["music_shuffle","shuffle"],["share_arrow","share"],["settings_application","settings"],["settings_material","settings"],["subscription_manager","settings"],["report","error"],["delete_sweep","delete"],["remove-circle-outline","remove_circle"],["question_answer","forum"],["local_offer","purchases"],["privacy_unlisted","link"],["privacy_private","lock"],
["insert_chart","poll"],["play_all","play_arrow"],["paid","creator_metadata_monetization"],["official_artist_badge","music"],["channel_notification_preference_on","notifications_active"],["channel_notification_preference_off","notifications"],["notifications_done_checkmark","check"],["creation_upload","my_videos"],["my_channel","account_circle"],["music_repeat_one","loop_one"],["music_repeat_all","loop"],["music_note","music"],["audiotrack","music"],["more_horiz","more"],["more_chevron","expand"],
["members_only_mode_off","message"],["live_unlisted","link"],["creation_live","live"],["likes_playlist","like"],["launch","open_in_new"],["external_link","open_in_new"],["contact_support","help"],["notifications_none","notifications"],["info_outline","info"],["help_outline","help"],["guide_close","chevron_left"],["emoji_flags","flag"],["expand_less","collapse"],["expand-more","expand"],["exit_app","exit_to_app"],["emoji_objects","course"],["emoji","very_happy"],["emoji_people","very_happy"],["dismissal",
"close"],["check_circle","check_circle_thick"],["bookmark_border","bookmark"],["back","arrow_back"],["arrow-back","arrow_back"],["avatar_anonymous","account_circle"],["avatar_logged_out","account_circle"],["arrow-drop-down","arrow_drop_down"],["arrow-forward","arrow_forward"],["answer_neither_satisfied_nor_dissatisfied","meh"],["answer_somewhat_dissatisfied","sad"],["answer_somewhat_satisfied","happy"],["answer_very_dissatisfied","very_sad"],["answer_very_satisfied","very_happy"],["auto-awesome",
"auto_awesome"]]);
_.iu={};_.iu.YtComponentBehavior={_noAccessors:!0,asyncFrame:function(a,b){return setTimeout(function(){requestAnimationFrame(a)},b)},
getSimpleString:_.qi,getEndpointHandler_:oFa,computeHref_:function(a,b){b=void 0===b?!1:b;if(!a)return null;var c=_.pFa(a,b);return b||null!==c?c?_.x("enable_polymer_resin")?_.It(c).getTypedStringValue():c:null:(_.Rf(new _.ge("computeHref was null",this.is,a)),null)},
computeOptionalHref_:function(a){return this.computeHref_(a,!0)},
computeNofollow_:function(a){return a?_.mFa(a)?"nofollow":null:null},
computeIcon_:function(a){return a&&a.iconType?_.Ft(a.iconType):""},
resolveCommand:function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=_.afa("kevlar_command_handler_command_banlist");d=_.k(d);for(var e=d.next();!e.done;e=d.next())if(a[e.value])return!1;var h,l;return c&&(null==(h=a.commandMetadata)?0:null==(l=h.webCommandMetadata)?0:l.url)?!1:_.Gi.instance?(c=_.Gi.instance,b.form||(b.form={element:this}),b.form.element||(b.form.element=this),c.resolveCommand(a,b),!0):!1}};
var uGa,ju;_.tGa={};uGa=null;
ju={isVisibilityRoot:!1,properties:{observeVisibleOption:{type:String,value:null},observeHiddenOption:{type:String,value:null},observePrescanOption:{type:String,value:null},viewroot:Object},created:function(){this.prescanHandlerKey_=this.hiddenHandlerKey_=this.visibleHandlerKey_=this.visibilityObserverForChild_=this.localVisibilityObserver_=null;this.visibilityOptionVisible_=this.observeVisibleOption?{calledOnce:"observe_once"==this.observeVisibleOption,state:"visible"}:null;this.visibilityOptionHidden_=
this.observeHiddenOption?{calledOnce:"observe_once"==this.observeHiddenOption,state:"hidden"}:null;this.visibilityOptionPrescan_=this.observePrescanOption?{calledOnce:"observe_once"==this.observePrescanOption,state:"prescan"}:null},
attached:function(){this.isVisibilityRoot&&(this.visibilityObserverForChild_=MFa(this.viewroot));this.async(this.initVisibilityObserver_)},
initVisibilityObserver_:function(){this.visibilityObserver&&this.configureVisibilityObserver_()},
configureVisibilityObserver_:function(){var a=this;this.unobserve_();this.visibilityOptionVisible_&&(this.visibleHandlerKey_=this.visibilityObserver.observe(this,function(){return a.onVisible()},this.visibilityOptionVisible_));
this.visibilityOptionHidden_&&(this.hiddenHandlerKey_=this.visibilityObserver.observe(this,function(){return a.onHidden()},this.visibilityOptionHidden_));
this.visibilityOptionPrescan_&&(this.prescanHandlerKey_=this.visibilityObserver.observe(this,function(){a.onPrescanVisible()},this.visibilityOptionPrescan_))},
detached:function(){this.unobserve_();this.visibilityObserverForChild_=this.localVisibilityObserver_=null},
unobserve_:function(){this.visibleHandlerKey_&&(this.visibilityObserver.unobserveByKey(this.visibleHandlerKey_),this.visibleHandlerKey_=null);this.hiddenHandlerKey_&&(this.visibilityObserver.unobserveByKey(this.hiddenHandlerKey_),this.hiddenHandlerKey_=null);this.prescanHandlerKey_&&(this.visibilityObserver.unobserveByKey(this.prescanHandlerKey_),this.prescanHandlerKey_=null)},
markDirtyVisibilityObserver:function(){this.localVisibilityObserver_&&this.configureVisibilityObserver_()},
getVisibilityObserverForChild:function(){return this.visibilityObserverForChild_?this.visibilityObserverForChild_:this.localVisibilityObserver_},
get visibilityObserver(){if(this.localVisibilityObserver_)return this.localVisibilityObserver_;var a=_.hf(this.parentNode,function(b){return!!b.getVisibilityObserverForChild&&b.getVisibilityObserverForChild()},!0);
a?this.localVisibilityObserver_=a.getVisibilityObserverForChild():(uGa||(uGa=MFa()),this.localVisibilityObserver_=uGa);return this.localVisibilityObserver_},onVisible:function(){},
onHidden:function(){},
onPrescanVisible:function(){}};
_.x("kevlar_use_vimio_behavior")||_.x("gaming_vimio_behavior_onshow")||(ju={});ju&&!_.x("kevlar_use_vimio_behavior")&&(delete ju.attached,delete ju.detached);_.tGa.YtVisibilityObserverBehavior=[ju];
var vGa={};vGa.YtVisualElementBehavior=[_.tGa.YtVisibilityObserverBehavior,{properties:{observeVisibleOption:{type:String,value:"observe_multiple"},observeHiddenOption:{type:String,value:"observe_multiple"},visualElement:Object},onVisible:function(){if(_.x("kevlar_use_vimio_behavior")&&this.onShow)this.onShow();if(!this.shouldSkipLogging_()){var a=this.getScreenLayer&&this.getScreenLayer(),b=this.getVisibilityLogger();b&&_.Ot(b,this,a)}},
onHidden:function(){if(_.x("kevlar_use_vimio_behavior")&&this.onHide)this.onHide();var a=this.getScreenLayer&&this.getScreenLayer(),b=this.getVisibilityLogger();b&&_.Pt(b,this,a)},
getVisibilityLogger:function(){return _.x("kevlar_use_vimio_behavior")?_.vo.getInstance():null},
shouldSkipLogging_:function(){if("WEB"!==_.w("INNERTUBE_CLIENT_NAME")||!this.data)return!1;var a=this.getParentRenderer&&this.getParentRenderer();if(!a||!a.data)return!1;var b=this.data.trackingParams;b=this.data.loggingDirectives?this.data.loggingDirectives.trackingParams:b;var c=a.trackingParams;c=a.loggingDirectives?a.loggingDirectives.trackingParams:c;return b&&c&&b===c}}];
var Gt;_.U={};Gt=0;_.U.YtRendererBehavior=[_.iu.YtComponentBehavior,vGa.YtVisualElementBehavior,{_noAccessors:!0,properties:{data:Object},observers:["ytRendererBehaviorDataObserver_(data)","ytRendererBehaviorTargetIdObserver_(data.targetId)"],dirtyTree:!1,childCache_:null,parentComponent:null,wasVisible:!1,wasPrescan:!1,lastHandledScroll_:0,isRenderer_:!0,screenLayer:null,veFromLoggingDirective_:!1,useVimio_:_.x("kevlar_use_vimio_behavior"),created:function(){this.useVimio_||(this.childCache_=new Set)},
detached:function(){this.monitorScroll&&this.unlisten(this.monitorScrollElement||this,"scroll","onScroll");this.parentComponent&&(this.parentComponent.childCache_&&this.parentComponent.childCache_.delete(this),this.parentComponent=null);this.useVimio_||this.markDirty();FFa(this);mGa(_.eu(),this)},
registerRenderer:function(a){a.parentComponent=this;this.useVimio_||(this.childCache_.add(a),this.markDirty())},
unregisterRenderer_:function(a){this.useVimio_||(this.childCache_.delete(a),this.markDirty())},
attached:function(){var a=this,b=this.getParentRenderer();b&&b.registerRenderer(this);!this.useVimio_&&this.monitorScroll&&this.listen(this.monitorScrollElement||this,"scroll","onScroll");_.xe.addJob(function(){HFa(a)},8)},
getParentRenderer:function(){for(var a=this.parentNode;a&&!a.isRenderer_;)a=a.parentNode||a.host;return a},
ytRendererBehaviorDataObserver_:function(){if(this.data){this.wasVisible=!1;_.x("kevlar_use_vimio_behavior")&&this.markDirtyVisibilityObserver();_.fd("ADD_SCRAPER_ATTRIBUTES")&&this.data.trackingParams&&(this.dataset.ved=this.data.trackingParams);if(_.x("debug_web_ve_data")&&this.data.trackingParams){var a=_.Zha(_.Xha(this.data.trackingParams),1);void 0!==a&&(this.dataset.veIndex=String(a));a=_.Zha(_.Xha(this.data.trackingParams),2);void 0!==a&&(this.dataset.ve=String(a))}this.veFromLoggingDirective_&&
(this.dataElement=this.clientYouTubeData=this.veType=this.visualElement=void 0,this.veFromLoggingDirective_=!1);!this.visualElement&&this.data.loggingDirectives&&this.data.loggingDirectives.clientVeSpec&&this.data.loggingDirectives.clientVeSpec.uiType&&(this.veType=this.data.loggingDirectives.clientVeSpec.uiType,this.clientYouTubeData=this.data.loggingDirectives.clientVeSpec.clientYoutubeData,_.x("debug_web_ve_data")&&(this.dataset.ve=String(this.veType)),this.data.loggingDirectives.trackingParams&&
(this.dataElement=_.no(this.data.loggingDirectives.trackingParams)),this.visualElement=_.aGa(_.vp(),this)||void 0,this.veFromLoggingDirective_=!0)}},
ytRendererBehaviorTargetIdObserver_:function(){if(this.data&&this.data.targetId){var a=this.data.targetId;(_.x("kevlar_nitrate_driven_tooltips")||"WEB_REMIX"===_.w("INNERTUBE_CLIENT_NAME"))&&_.oGa(a,this)}else mGa(_.eu(),this)},
onScroll:function(){var a=Date.now();50>a-this.lastHandledScroll_||(this.lastHandledScroll_=a,this.markDirty())},
markDirty:function(){_.x("kevlar_use_vimio_behavior")?this.markDirtyVisibilityObserver():ZFa(this)},
getScreenLayer:function(){if(this.screenLayer)return this.screenLayer;var a=this.getParentRenderer();if(a)return a.getScreenLayer()},
invalidate:function(a){this.markDirty();this.wasPrescan=this.wasVisible=!1;a&&(this.dirtyTree=!0)},
getNodes:function(){return this.childCache_?[].concat(_.sc(this.childCache_)):[]},
impressionLog:function(){if(this.data&&this.data.impressionEndpoints)for(var a=0;a<this.data.impressionEndpoints.length;a++)this.sendImpression(this.data.impressionEndpoints[a]);else this.data&&this.data.impressionEndpoint&&this.sendImpression(this.data.impressionEndpoint)},
sendImpression:function(a){a.clickTrackingParams&&delete a.clickTrackingParams;_.Kg(this,[a,{impression:!0}])},
logExplicitClick:function(a){var b=_.fg(this.getScreenLayer());if(b){var c=a.visualElement;a=a.trackingParams||a.clickTrackingParams;!c&&a&&(c=_.no(a));c&&_.pt(b,c)}},
getEndpointHandler_:oFa}];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syj");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var tEa,yEa,uEa,wEa,xEa,rEa,vEa,sEa,pEa,qEa;tEa=function(a,b){var c="";if(a)if(a=a.toLowerCase()," "===a||pEa.test(a))c="space";else if(qEa.test(a))c="esc";else if(1==a.length){if(!b||rEa.test(a))c=a}else c=sEa.test(a)?a.replace("arrow",""):"multiply"==a?"*":a;return c};
_.Vs=function(a,b){var c=a.hasModifiers;if(b.key)c=tEa(b.key,c);else if(b.detail&&b.detail.key)c=tEa(b.detail.key,c);else{c=b.keyIdentifier;var d="";c&&(c in uEa?d=uEa[c]:vEa.test(c)?(c=parseInt(c.replace("U+","0x"),16),d=String.fromCharCode(c).toLowerCase()):d=c.toLowerCase());(c=d)||(c=b.keyCode,d="",Number(c)&&(65<=c&&90>=c?d=String.fromCharCode(32+c):112<=c&&123>=c?d="f"+(c-112+1):48<=c&&57>=c?d=String(c-48):96<=c&&105>=c?d=String(c-96):d=wEa[c]),c=d);c=c||""}return c===a.key&&(!a.hasModifiers||
!!b.shiftKey===!!a.shiftKey&&!!b.ctrlKey===!!a.ctrlKey&&!!b.altKey===!!a.altKey&&!!b.metaKey===!!a.metaKey)};
yEa=function(a){return 1===a.length?{combo:a,key:a,event:"keydown"}:a.split("+").reduce(function(b,c){var d=c.split(":");c=d[0];d=d[1];c in xEa?(b[xEa[c]]=!0,b.hasModifiers=!0):(b.key=c,b.event=d||"keydown");return b},{combo:a.split(":").shift()})};
_.Ws=function(a){return a.trim().split(" ").map(function(b){return yEa(b)})};
uEa={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"};wEa={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"};xEa={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"};rEa=/[a-z0-9*]/;vEa=/U\+/;sEa=/^arrow/;pEa=/^space(bar)?/;qEa=/^escape$/;_.Xs={properties:{keyEventTarget:{type:Object,value:function(){return this}},
stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},
_imperativeKeyBindings:{type:Object,value:function(){return{}}}},
observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},
attached:function(){this._listenKeyEventListeners()},
detached:function(){this._unlistenKeyEventListeners()},
addOwnKeyBinding:function(a,b){this._imperativeKeyBindings[a]=b;this._prepKeyBindings();this._resetKeyEventListeners()},
removeOwnKeyBindings:function(){this._imperativeKeyBindings={};this._prepKeyBindings();this._resetKeyEventListeners()},
keyboardEventMatchesKeys:function(a,b){b=_.Ws(b);for(var c=0;c<b.length;++c)if(_.Vs(b[c],a))return!0;return!1},
_collectKeyBindings:function(){var a=this.behaviors.map(function(b){return b.keyBindings});
-1===a.indexOf(this.keyBindings)&&a.push(this.keyBindings);return a},
_prepKeyBindings:function(){this._keyBindings={};this._collectKeyBindings().forEach(function(c){for(var d in c)this._addKeyBinding(d,c[d])},this);
for(var a in this._imperativeKeyBindings)this._addKeyBinding(a,this._imperativeKeyBindings[a]);for(var b in this._keyBindings)this._keyBindings[b].sort(function(c,d){c=c[0].hasModifiers;return c===d[0].hasModifiers?0:c?-1:1})},
_addKeyBinding:function(a,b){_.Ws(a).forEach(function(c){this._keyBindings[c.event]=this._keyBindings[c.event]||[];this._keyBindings[c.event].push([c,b])},this)},
_resetKeyEventListeners:function(){this._unlistenKeyEventListeners();this.isAttached&&this._listenKeyEventListeners()},
_listenKeyEventListeners:function(){this.keyEventTarget&&Object.keys(this._keyBindings).forEach(function(a){var b=this._onKeyBindingEvent.bind(this,this._keyBindings[a]);this._boundKeyHandlers.push([this.keyEventTarget,a,b]);this.keyEventTarget.addEventListener(a,b)},this)},
_unlistenKeyEventListeners:function(){for(var a,b,c;this._boundKeyHandlers.length;)a=this._boundKeyHandlers.pop(),b=a[0],c=a[1],a=a[2],b.removeEventListener(c,a)},
_onKeyBindingEvent:function(a,b){this.stopKeyboardEventPropagation&&b.stopPropagation();if(!b.defaultPrevented)for(var c=0;c<a.length;c++){var d=a[c][0],e=a[c][1];if(_.Vs(d,b)&&(this._triggerKeyHandler(d,e,b),b.defaultPrevented))break}},
_triggerKeyHandler:function(a,b,c){var d=Object.create(a);d.keyboardEvent=c;a=new CustomEvent(a.event,{detail:d,cancelable:!0});this[b].call(this,a);a.defaultPrevented&&c.preventDefault()}};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy17");

_.xu=new WeakMap;

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy3");

/*

 SPDX-License-Identifier: Apache-2.0
*/
var dt,EEa;dt=new function(){this.calledBuild=!1;this.JSC$32500_sanitizerTable=_.Dra};
EEa=new Map(dt.JSC$32500_sanitizerTable.globalAttributePolicies);EEa.set("style",{policyAction:4});dt.JSC$32500_sanitizerTable=new _.bl(dt.JSC$32500_sanitizerTable.allowedElements,dt.JSC$32500_sanitizerTable.elementPolicies,dt.JSC$32500_sanitizerTable.allowedGlobalAttributes,EEa);var FEa=new Map(dt.JSC$32500_sanitizerTable.globalAttributePolicies);FEa.set("class",{policyAction:1});
dt.JSC$32500_sanitizerTable=new _.bl(dt.JSC$32500_sanitizerTable.allowedElements,dt.JSC$32500_sanitizerTable.elementPolicies,dt.JSC$32500_sanitizerTable.allowedGlobalAttributes,FEa);var GEa=new Map(dt.JSC$32500_sanitizerTable.globalAttributePolicies);GEa.set("id",{policyAction:1});dt.JSC$32500_sanitizerTable=new _.bl(dt.JSC$32500_sanitizerTable.allowedElements,dt.JSC$32500_sanitizerTable.elementPolicies,dt.JSC$32500_sanitizerTable.allowedGlobalAttributes,GEa);if(dt.calledBuild)throw Error("ja");
dt.calledBuild=!0;_.DEa=new _.Era(dt.JSC$32500_sanitizerTable);
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var HEa=_.Pi(['\n<custom-style>\n  <style is="custom-style">\n    [hidden] {\n      display: none !important;\n    }\n  </style>\n</custom-style>\n<custom-style>\n  <style is="custom-style">\n    html {\n\n      --layout: {\n        display: -ms-flexbox;\n        display: -webkit-flex;\n        display: flex;\n      };\n\n      --layout-horizontal: {\n        @apply --layout;\n\n        -ms-flex-direction: row;\n        -webkit-flex-direction: row;\n        flex-direction: row;\n      };\n\n      --layout-vertical: {\n        @apply --layout;\n\n        -ms-flex-direction: column;\n        -webkit-flex-direction: column;\n        flex-direction: column;\n      };\n\n      --layout-flex-none: {\n        -ms-flex: none;\n        -webkit-flex: none;\n        flex: none;\n      };\n\n      --layout-flex: {\n        -ms-flex: 1 1 0.000000001px;\n        -webkit-flex: 1;\n        flex: 1;\n        -webkit-flex-basis: 0.000000001px;\n        flex-basis: 0.000000001px;\n      };\n\n      /* alignment in cross axis */\n\n      --layout-center: {\n        -ms-flex-align: center;\n        -webkit-align-items: center;\n        align-items: center;\n      };\n\n      /* alignment in main axis */\n\n      --layout-center-justified: {\n        -ms-flex-pack: center;\n        -webkit-justify-content: center;\n        justify-content: center;\n      };\n\n      --layout-justified: {\n        -ms-flex-pack: justify;\n        -webkit-justify-content: space-between;\n        justify-content: space-between;\n      };\n    }\n  </style>\n</custom-style>']),
IEa=_.Vm(HEa);IEa.setAttribute("style","display: none;");document.head.appendChild(IEa.content);var JEa=document.createElement("style");JEa.textContent="[hidden] { display: none !important; }";document.head.appendChild(JEa);
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var KEa;
_.I=function(){if(void 0!==KEa)return KEa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>canvas,caption,center,cite,code,dd,del,dfn,div,dl,dt,em,embed,fieldset,font,form,h1,h2,h3,h4,h5,h6,hr,i,iframe,img,ins,kbd,label,legend,li,menu,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,u,ul,var {margin: 0;padding: 0;border: 0;background: transparent;} [hidden] {display: none!important;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=yt-base-styles.css.map*/</style>";return KEa=
a};
document.head.appendChild(_.I().content);
var LEa,MEa=function(){if(void 0!==LEa)return LEa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html[system-icons] {--yt-spec-icon-active-other: #030303;--yt-spec-icon-inactive: #030303;--yt-spec-icon-disabled: #909090;--yt-spec-brand-icon-active: #030303;--yt-spec-brand-icon-inactive: #030303;--yt-button-icon-button-text-color: var(--yt-spec-text-primary);} html[system-icons][dark],html[system-icons] [dark] {--yt-spec-icon-inactive: #fff;--yt-spec-icon-disabled: #717171;--yt-spec-brand-icon-inactive: #fff;} html,[light] {--yt-spec-brand-background-solid: #fff;--yt-spec-brand-background-primary: rgba(255, 255, 255, 0.98);--yt-spec-brand-background-secondary: rgba(255, 255, 255, 0.95);--yt-spec-general-background-a: #f9f9f9;--yt-spec-general-background-b: #f1f1f1;--yt-spec-general-background-c: #e9e9e9;--yt-spec-error-background: #181818;--yt-spec-text-primary: #030303;--yt-spec-text-primary-inverse: #fff;--yt-spec-text-secondary: #606060;--yt-spec-text-disabled: #909090;--yt-spec-call-to-action: #065fd4;--yt-spec-call-to-action-inverse: #3ea6ff;--yt-spec-suggested-action: #def1ff;--yt-spec-icon-active-other: #606060;--yt-spec-icon-inactive: #909090;--yt-spec-icon-disabled: #ccc;--yt-spec-badge-chip-background: rgba(0, 0, 0, 0.05);--yt-spec-verified-badge-background: rgba(0, 0, 0, 0.15);--yt-spec-button-chip-background-hover: rgba(0, 0, 0, 0.1);--yt-spec-touch-response: #000;--yt-spec-touch-response-inverse: #fff;--yt-spec-brand-icon-active: #f00;--yt-spec-brand-icon-inactive: #606060;--yt-spec-brand-button-background: #c00;--yt-spec-brand-link-text: #c00;--yt-spec-wordmark-text: #212121;--yt-spec-10-percent-layer: rgba(0, 0, 0, 0.1);--yt-spec-snackbar-background: #212121;--yt-spec-snackbar-background-updated: #181818;--yt-spec-error-indicator: #990412;--yt-spec-themed-blue: #065fd4;--yt-spec-themed-green: #107516;--yt-spec-ad-indicator: #00716c;--yt-spec-themed-overlay-background: rgba(255, 255, 255, 0.7);--yt-spec-commerce-badge-background: #deffde;--yt-spec-static-brand-red: #f00;--yt-spec-static-brand-white: #fff;--yt-spec-static-brand-black: #212121;--yt-spec-static-clear-color: rgba(255, 255, 255, 0);--yt-spec-static-clear-black: rgba(0, 0, 0, 0);--yt-spec-static-ad-yellow: #fbc02d;--yt-spec-static-grey: #606060;--yt-spec-static-overlay-background-solid: #000;--yt-spec-static-overlay-background-heavy: rgba(0, 0, 0, 0.8);--yt-spec-static-overlay-background-medium: rgba(0, 0, 0, 0.6);--yt-spec-static-overlay-background-medium-light: rgba(0, 0, 0, 0.3);--yt-spec-static-overlay-background-light: rgba(0, 0, 0, 0.1);--yt-spec-static-overlay-text-primary: #fff;--yt-spec-static-overlay-text-secondary: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-text-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-call-to-action: #3ea6ff;--yt-spec-static-overlay-icon-active-other: #fff;--yt-spec-static-overlay-icon-inactive: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-icon-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-button-secondary: rgba(255, 255, 255, 0.1);--yt-spec-static-overlay-button-primary: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-background-brand: rgba(204, 0, 0, 0.9);--yt-spec-assistive-feed-vibrant-gradient-1: #007a65;--yt-spec-assistive-feed-vibrant-gradient-2: #7f0e7f;--yt-spec-assistive-feed-vibrant-gradient-3: #ff8983;--yt-spec-assistive-feed-themed-gradient-1: #d4fff8;--yt-spec-assistive-feed-themed-gradient-2: #ffdeff;--yt-spec-assistive-feed-themed-gradient-3: #ffe6e6;--yt-spec-filled-button-text: #fff;--yt-spec-paper-tab-ink: rgba(0, 0, 0, 0.3);--yt-spec-call-to-action-faded: rgba(6, 95, 212, 0.3);--yt-spec-call-to-action-hover: #0551b4;--yt-spec-brand-button-background-hover: #990412;--yt-spec-brand-link-text-faded: rgba(204, 0, 0, 0.3);--yt-spec-filled-button-focus-outline: rgba(0, 0, 0, 0.6);--yt-spec-selected-nav-text: #c00;--yt-spec-static-overlay-button-hover: rgba(255, 255, 255, 0.5);} html[dark],[dark] {--yt-spec-brand-background-solid: #212121;--yt-spec-brand-background-primary: rgba(33, 33, 33, 0.98);--yt-spec-brand-background-secondary: rgba(33, 33, 33, 0.95);--yt-spec-general-background-a: #181818;--yt-spec-general-background-b: #0f0f0f;--yt-spec-general-background-c: #030303;--yt-spec-error-background: #f9f9f9;--yt-spec-text-primary: #fff;--yt-spec-text-secondary: #aaa;--yt-spec-text-disabled: #717171;--yt-spec-text-primary-inverse: #030303;--yt-spec-call-to-action: #3ea6ff;--yt-spec-call-to-action-inverse: #065fd4;--yt-spec-suggested-action: #263850;--yt-spec-icon-active-other: #fff;--yt-spec-icon-inactive: #909090;--yt-spec-icon-disabled: #606060;--yt-spec-badge-chip-background: rgba(255, 255, 255, 0.1);--yt-spec-verified-badge-background: rgba(255, 255, 255, 0.25);--yt-spec-button-chip-background-hover: rgba(255, 255, 255, 0.2);--yt-spec-touch-response: #fff;--yt-spec-touch-response-inverse: #000;--yt-spec-brand-icon-active: #fff;--yt-spec-brand-icon-inactive: #909090;--yt-spec-brand-link-text: #ff4e45;--yt-spec-wordmark-text: #fff;--yt-spec-10-percent-layer: rgba(255, 255, 255, 0.1);--yt-spec-snackbar-background: #030303;--yt-spec-snackbar-background-updated: #f9f9f9;--yt-spec-error-indicator: #ff8983;--yt-spec-themed-blue: #3ea6ff;--yt-spec-themed-green: #2ba640;--yt-spec-ad-indicator: #00aaa7;--yt-spec-themed-overlay-background: rgba(0, 0, 0, 0.8);--yt-spec-commerce-badge-background: #002d08;--yt-spec-static-brand-red: #f00;--yt-spec-static-brand-white: #fff;--yt-spec-static-brand-black: #212121;--yt-spec-static-clear-color: rgba(255, 255, 255, 0);--yt-spec-static-clear-black: rgba(0, 0, 0, 0);--yt-spec-static-ad-yellow: #fbc02d;--yt-spec-static-grey: #606060;--yt-spec-static-overlay-background-solid: #000;--yt-spec-static-overlay-background-heavy: rgba(0, 0, 0, 0.8);--yt-spec-static-overlay-background-medium: rgba(0, 0, 0, 0.6);--yt-spec-static-overlay-background-medium-light: rgba(0, 0, 0, 0.3);--yt-spec-static-overlay-background-light: rgba(0, 0, 0, 0.1);--yt-spec-static-overlay-text-primary: #fff;--yt-spec-static-overlay-text-secondary: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-text-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-call-to-action: #3ea6ff;--yt-spec-static-overlay-icon-active-other: #fff;--yt-spec-static-overlay-icon-inactive: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-icon-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-button-primary: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-button-secondary: rgba(255, 255, 255, 0.1);--yt-spec-static-overlay-background-brand: rgba(204, 0, 0, 0.9);--yt-spec-assistive-feed-themed-gradient-1: #005446;--yt-spec-assistive-feed-themed-gradient-2: #39003f;--yt-spec-assistive-feed-themed-gradient-3: #590000;--yt-spec-paper-tab-ink: rgba(255, 255, 255, 0.3);--yt-spec-filled-button-text: #030303;--yt-spec-call-to-action-faded: rgba(62, 166, 255, 0.3);--yt-spec-call-to-action-hover: #6ebcff;--yt-spec-brand-button-background-hover: #990412;--yt-spec-brand-link-text-faded: rgba(255, 78, 69, 0.3);--yt-spec-filled-button-focus-outline: rgba(255, 255, 255, 0.7);--yt-spec-selected-nav-text: #fff;}</style>";
return LEa=a};
document.head.appendChild(MEa().content);
var NEa;
var OEa,PEa=function(){if(void 0!==OEa)return OEa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html {--yt-spec-white-1: #fff;--yt-spec-white-2: #f9f9f9;--yt-spec-white-3: #f1f1f1;--yt-spec-white-4: #e9e9e9;--yt-spec-black-1: #282828;--yt-spec-black-2: #1f1f1f;--yt-spec-black-3: #161616;--yt-spec-black-4: #0d0d0d;--yt-spec-black-pure: #000;--yt-spec-grey-1: #ccc;--yt-spec-grey-2: #aaa;--yt-spec-grey-3: #909090;--yt-spec-grey-4: #717171;--yt-spec-grey-5: #606060;--yt-brand-youtube-red: #f00;--yt-brand-medium-red: #c00;--yt-brand-light-red: #ff4e45;--yt-spec-red-30: #ff8983;--yt-spec-red-70: #990412;--yt-spec-pale-blue: #f2f8ff;--yt-spec-light-blue: #3ea6ff;--yt-spec-dark-blue: #065fd4;--yt-spec-navy-blue: #252a3a;--yt-spec-light-green: #2ba640;--yt-spec-dark-green: #107516;--yt-spec-yellow: #fbc02d;--yt-spec-black-pure-alpha-5: rgba(0, 0, 0, 0.05);--yt-spec-black-pure-alpha-10: rgba(0, 0, 0, 0.1);--yt-spec-black-pure-alpha-15: rgba(0, 0, 0, 0.15);--yt-spec-black-pure-alpha-30: rgba(0, 0, 0, 0.3);--yt-spec-black-pure-alpha-60: rgba(0, 0, 0, 0.6);--yt-spec-black-pure-alpha-80: rgba(0, 0, 0, 0.8);--yt-spec-black-1-alpha-98: rgba(40, 40, 40, 0.98);--yt-spec-black-1-alpha-95: rgba(40, 40, 40, 0.95);--yt-spec-white-1-alpha-10: rgba(255, 255, 255, 0.1);--yt-spec-white-1-alpha-20: rgba(255, 255, 255, 0.2);--yt-spec-white-1-alpha-25: rgba(255, 255, 255, 0.25);--yt-spec-white-1-alpha-30: rgba(255, 255, 255, 0.3);--yt-spec-white-1-alpha-70: rgba(255, 255, 255, 0.7);--yt-spec-white-1-alpha-95: rgba(255, 255, 255, 0.95);--yt-spec-white-1-alpha-98: rgba(255, 255, 255, 0.98);--yt-brand-medium-red-alpha-90: rgba(204, 0, 0, 0.9);--yt-brand-medium-red-alpha-30: rgba(204, 0, 0, 0.3);--yt-brand-light-red-alpha-30: rgba(255, 78, 69, 0.3);--yt-spec-light-blue-alpha-30: rgba(62, 166, 255, 0.3);--yt-spec-dark-blue-alpha-30: rgba(6, 95, 212, 0.3);} /*# sourceMappingURL=yt-colors-definitions_custom_style.css.map*/</style>";
return OEa=a};
document.head.appendChild(PEa().content);
var QEa;
var REa=document.head,SEa=REa.appendChild,TEa;if(void 0===QEa){var et=document.createElement("template");et.innerHTML="";et.content.insertBefore(PEa().content.cloneNode(!0),et.content.firstChild);QEa=et}TEa=QEa;SEa.call(REa,TEa.content);
var UEa,VEa=function(){if(void 0!==UEa)return UEa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html {--yt-deprecated-luna-black: hsl(0, 0%, 6.7%);--yt-deprecated-opalescence-grey: hsl(0, 0%, 53.3%);--yt-deprecated-opalescence-soft-grey: hsl(0, 0%, 93.3%);--yt-deprecated-blue: hsl(206.1, 79.3%, 52.7%);--yt-deprecated-luna-black-opacity-lighten-1: hsla(0, 0%, 6.7%, 0.8);--yt-deprecated-luna-black-opacity-lighten-2: hsla(0, 0%, 6.7%, 0.6);--yt-deprecated-luna-black-opacity-lighten-3: hsla(0, 0%, 6.7%, 0.4);--yt-deprecated-opalescence-soft-grey-opacity-lighten-3: hsla(0, 0%, 93.3%, 0.4);--yt-deprecated-white-opacity-lighten-1: hsla(0, 0%, 100%, 0.8);--yt-deprecated-white-opacity-lighten-2: hsla(0, 0%, 100%, 0.6);--yt-deprecated-dark-surface-100: hsl(0, 0%, 7%);}</style>";
return UEa=a};
document.head.appendChild(VEa().content);
var WEa;
var XEa=document.head,YEa=XEa.appendChild,ZEa;if(void 0===WEa){var ft=document.createElement("template");ft.innerHTML="";ft.content.insertBefore(VEa().content.cloneNode(!0),ft.content.firstChild);WEa=ft}ZEa=WEa;YEa.call(XEa,ZEa.content);
var $Ea=document.head,aFa=$Ea.appendChild,bFa;if(void 0===NEa){var gt=document.createElement("template");gt.innerHTML="";gt.content.insertBefore(MEa().content.cloneNode(!0),gt.content.firstChild);NEa=gt}bFa=NEa;aFa.call($Ea,bFa.content);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syk");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var zEa,BEa;zEa=function(a){this.element=a;this.width=this.boundingRect.width;this.height=this.boundingRect.height;this.size=Math.max(this.width,this.height)};
BEa=function(a){this.element=a;this.color=window.getComputedStyle(a).color;this.wave=document.createElement("div");this.waveContainer=document.createElement("div");this.wave.style.backgroundColor=this.color;this.wave.classList.add("wave");this.waveContainer.classList.add("wave-container");_.H(this.waveContainer).appendChild(this.wave);AEa(this)};
_.Ys={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_oldTabIndex:{type:String},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},
observers:["_changedControlState(focused, disabled)"],ready:function(){this.addEventListener("focus",this._boundFocusBlurHandler,!0);this.addEventListener("blur",this._boundFocusBlurHandler,!0)},
_focusBlurHandler:function(a){this._setFocused("focus"===a.type)},
_disabledChanged:function(a){this.setAttribute("aria-disabled",a?"true":"false");this.style.pointerEvents=a?"none":"";a?(this._oldTabIndex=this.getAttribute("tabindex"),this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(null===this._oldTabIndex?this.removeAttribute("tabindex"):this.setAttribute("tabindex",this._oldTabIndex))},
_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}};
_.Zs={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",mouseup:"_upHandler",tap:"_tapHandler"},observers:["_focusChanged(focused)",
"_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},
_focusChanged:function(a){this._detectKeyboardFocus(a);a||this._setPressed(!1)},
_detectKeyboardFocus:function(a){this._setReceivedFocusFromKeyboard(!this.pointerDown&&a)},
_userActivate:function(a){this.active!==a&&(this.active=a,this.fire("change"))},
_downHandler:function(){this._setPointerDown(!0);this._setPressed(!0);this._setReceivedFocusFromKeyboard(!1)},
_upHandler:function(){this._setPointerDown(!1);this._setPressed(!1)},
_spaceKeyDownHandler:function(a){a=a.detail.keyboardEvent;var b=_.H(a).localTarget;this.isLightDescendant(b)||(a.preventDefault(),a.stopImmediatePropagation(),this._setPressed(!0))},
_spaceKeyUpHandler:function(a){a=_.H(a.detail.keyboardEvent).localTarget;this.isLightDescendant(a)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},
_asyncClick:function(){this.async(function(){this.click()},1)},
_pressedChanged:function(){this._changedButtonState()},
_ariaActiveAttributeChanged:function(a,b){b&&b!=a&&this.hasAttribute(b)&&this.removeAttribute(b)},
_activeChanged:function(a){this.toggles?this.setAttribute(this.ariaActiveAttribute,a?"true":"false"):this.removeAttribute(this.ariaActiveAttribute);this._changedButtonState()},
_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},
_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}};
_.$s=[_.Xs,_.Zs];
/*

Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var CEa=_.Pi(['\n    <style>\n      :host {\n        display: block;\n        position: absolute;\n        border-radius: inherit;\n        overflow: hidden;\n        top: 0;\n        left: 0;\n        right: 0;\n        bottom: 0;\n\n        /* See PolymerElements/paper-behaviors/issues/34. On non-Chrome browsers,\n         * creating a node (with a position:absolute) in the middle of an event\n         * handler "interrupts" that event handler (which happens when the\n         * ripple is created on demand) */\n        pointer-events: none;\n      }\n\n      :host([animating]) {\n        /* This resolves a rendering issue in Chrome (as of 40) where the\n           ripple is not properly clipped by its parent (which may have\n           rounded corners). See: http://jsbin.com/temexa/4\n\n           Note: We only apply this style conditionally. Otherwise, the browser\n           will create a new compositing layer for every ripple element on the\n           page, and that would be bad. */\n        -webkit-transform: translate(0, 0);\n        transform: translate3d(0, 0, 0);\n      }\n\n      #background,\n      #waves,\n      .wave-container,\n      .wave {\n        pointer-events: none;\n        position: absolute;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n      }\n\n      #background,\n      .wave {\n        opacity: 0;\n      }\n\n      #waves,\n      .wave {\n        overflow: hidden;\n      }\n\n      .wave-container,\n      .wave {\n        border-radius: 50%;\n      }\n\n      :host(.circle) #background,\n      :host(.circle) #waves {\n        border-radius: 50%;\n      }\n\n      :host(.circle) .wave-container {\n        overflow: hidden;\n      }\n    </style>\n\n    <div id="background"></div>\n    <div id="waves"></div>\n']),
at=function(a,b,c,d){a-=c;b-=d;return Math.sqrt(a*a+b*b)},bt=window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now;
zEa.prototype={get boundingRect(){return this.element.getBoundingClientRect()}};var AEa=function(a){a.maxRadius=0;a.mouseDownStart=0;a.mouseUpStart=0;a.xStart=0;a.yStart=0;a.xEnd=0;a.yEnd=0;a.containerMetrics=new zEa(a.element)};
BEa.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){if(!this.mouseDownStart)return 0;var a=bt()-this.mouseDownStart;this.mouseUpStart&&(a-=this.mouseUpElapsed);return a},get mouseUpElapsed(){return this.mouseUpStart?bt()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1E3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1E3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+
this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var a=1.1*Math.min(Math.sqrt(this.containerMetrics.width*this.containerMetrics.width+this.containerMetrics.height*this.containerMetrics.height),300)+5;return Math.abs(a*(1-Math.pow(80,-(this.mouseInteractionSeconds/(1.1-a/300*.2)))))},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):
this.initialOpacity},get outerOpacity(){return Math.max(0,Math.min(.3*this.mouseUpElapsedSeconds,this.opacity))},get isOpacityFullyDecayed(){return.01>this.opacity&&this.radius>=Math.min(this.maxRadius,300)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,300)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*
2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},draw:function(){this.wave.style.opacity=this.opacity;var a=this.radius/(this.containerMetrics.size/2);var b=this.xNow-this.containerMetrics.width/2;var c=this.yNow-this.containerMetrics.height/2;this.waveContainer.style.webkitTransform=
"translate("+b+"px, "+c+"px)";this.waveContainer.style.transform="translate3d("+b+"px, "+c+"px, 0)";this.wave.style.webkitTransform="scale("+a+","+a+")";this.wave.style.transform="scale3d("+a+","+a+",1)"},
downAction:function(a){var b=this.containerMetrics.width/2,c=this.containerMetrics.height/2;AEa(this);this.mouseDownStart=bt();this.center?(this.xStart=b,this.yStart=c):(this.xStart=a?a.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=a?a.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2);this.recenters&&(this.xEnd=b,this.yEnd=c);a=this.containerMetrics;b=this.xStart;c=this.yStart;this.maxRadius=Math.max(at(b,c,0,0),at(b,c,a.width,
0),at(b,c,0,a.height),at(b,c,a.width,a.height));this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px";this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px";this.waveContainer.style.width=this.containerMetrics.size+"px";this.waveContainer.style.height=this.containerMetrics.size+"px"},
upAction:function(){this.isMouseDown&&(this.mouseUpStart=bt())},
remove:function(){_.H(_.H(this.waveContainer).parentNode).removeChild(this.waveContainer)}};
_.Ng({_template:_.Vm(CEa),is:"paper-ripple",behaviors:[_.Xs],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},
animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},
get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==_.H(this).parentNode.nodeType?this.keyEventTarget=_.H(this).getOwnerRoot().host:this.keyEventTarget=_.H(this).parentNode;var a=this.keyEventTarget;this.listen(a,"up","uiUpAction");this.listen(a,"down","uiDownAction")},
detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction");this.unlisten(this.keyEventTarget,"down","uiDownAction");this.keyEventTarget=null},
get shouldKeepAnimating(){for(var a=0;a<this.ripples.length;++a)if(!this.ripples[a].isAnimationComplete)return!0;return!1},simulatedRipple:function(){this.downAction(null);this.async(function(){this.upAction()},1)},
uiDownAction:function(a){this.noink||this.downAction(a)},
downAction:function(a){this.holdDown&&0<this.ripples.length||(this.addRipple().downAction(a),this._animating||(this._animating=!0,this.animate()))},
uiUpAction:function(a){this.noink||this.upAction(a)},
upAction:function(a){this.holdDown||(this.ripples.forEach(function(b){b.upAction(a)}),this._animating=!0,this.animate())},
onAnimationComplete:function(){this._animating=!1;this.$.background.style.backgroundColor="";this.fire("transitionend")},
addRipple:function(){var a=new BEa(this);_.H(this.$.waves).appendChild(a.waveContainer);this.$.background.style.backgroundColor=a.color;this.ripples.push(a);this._setAnimating(!0);return a},
removeRipple:function(a){var b=this.ripples.indexOf(a);0>b||(this.ripples.splice(b,1),a.remove(),this.ripples.length||this._setAnimating(!1))},
animate:function(){if(this._animating){var a;for(a=0;a<this.ripples.length;++a){var b=this.ripples[a];b.draw();this.$.background.style.opacity=b.outerOpacity;b.isOpacityFullyDecayed&&!b.isRestingAtMaxRadius&&this.removeRipple(b)}if(this.shouldKeepAnimating||0!==this.ripples.length)window.requestAnimationFrame(this._boundAnimate);else this.onAnimationComplete()}},
animateRipple:function(){return this.animate()},
_onEnterKeydown:function(){this.uiDownAction();this.async(this.uiUpAction,1)},
_onSpaceKeydown:function(){this.uiDownAction()},
_onSpaceKeyup:function(){this.uiUpAction()},
_holdDownChanged:function(a,b){void 0!==b&&(a?this.downAction():this.upAction())}});
_.ct={properties:{noink:{type:Boolean,observer:"_noinkChanged"},_rippleContainer:{type:Object}},_buttonStateChanged:function(){this.focused&&this.ensureRipple()},
_downHandler:function(a){_.Zs._downHandler.call(this,a);this.pressed&&this.ensureRipple(a)},
ensureRipple:function(a){if(!this.hasRipple()){this._ripple=this._createRipple();this._ripple.noink=this.noink;var b=this._rippleContainer||this.root;b&&_.H(b).appendChild(this._ripple);if(a){b=_.H(this._rippleContainer||this);var c=_.H(a).rootTarget;b.deepContains(c)&&this._ripple.uiDownAction(a)}}},
getRipple:function(){this.ensureRipple();return this._ripple},
hasRipple:function(){return!!this._ripple},
_createRipple:function(){return document.createElement("paper-ripple")},
_noinkChanged:function(a){this.hasRipple()&&(this._ripple.noink=a)}};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1f");

_.HHa=function(a,b,c){b=_.k(Object.keys(b));for(var d=b.next();!d.done;d=b.next())(d=a.actionRoutingMap.get(d.value))&&d.delete(c)};
_.Y={YtActionHandlerBehavior:[{actionMap:{},attached:function(){this.registerActionMap(this.actionMap)},
detached:function(){this.unregisterActionMap(this.actionMap)},
registerActionMap:function(a){for(var b=_.Io.getInstance(),c=_.k(Object.keys(a)),d=c.next();!d.done;d=c.next()){var e=d.value;d=a[e];if(this&&this[d]){var h=b.actionRoutingMap.get(e);h||(h=new Map,b.actionRoutingMap.set(e,h));h.set(this,_.kd(this[d].bind(this)))}else e=Error("ac"),e.params=d,_.jd(e)}},
unregisterActionMap:function(a){_.HHa(_.Io.getInstance(),a,this)}}]};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1c");

var eHa,fHa,Au,iHa,jHa,kHa,lHa,mHa,nHa,Eu,Fu,pHa,qHa;_.yu=function(a,b){b=_.Kh(b);return a in b};
_.zu=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=_.Ewa+"VisibilityState";if(b in a)return a[b]};
eHa=function(a,b){if(!(b instanceof HTMLElement))return _.Qo=b,document.createElement(a);_.Qo=b.injector||_.lka(b);a=document.createElement(a);if(_.Qo)throw _.Qo=void 0,Error("bc`"+a.tagName.toLowerCase());return a};
fHa=function(a){return a.some(function(b){return Array.isArray(b)?fHa(b):!!b.initializeInjection})};
Au=function(a){if("string"===typeof a){var b=_.bc.find(function(c){return c.is===a});
return b?fHa(b.behaviors||[]):(b=customElements&&customElements.get(a))?!!b.prototype.initializeInjection:!1}return!!a.injector};
_.Bu=function(){return _.x("csi_use_time_origin")&&_.gi.timeOrigin?Math.floor(_.gi.timeOrigin):_.gi.timing.navigationStart};
_.gHa=function(a,b){_.Fe("ytglobal.timing"+(b||"")+"ready_",a)};
_.Cu=function(a){return _.RBa[a]||"LATENCY_ACTION_UNKNOWN"};
_.Du=function(){switch(_.zu()){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3;default:return-1}};
_.hHa=function(a){var b=new _.Th;a=_.k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.k(c.value);c=d.next().value;d=d.next().value;switch(c){case "GetBrowse_rid":var e=new Eu;_.n(e,1,c);_.n(e,2,String(d));Fu(b,e);break;case "GetGuide_rid":e=new Eu;_.n(e,1,c);_.n(e,2,String(d));Fu(b,e);break;case "GetHome_rid":e=new Eu;_.n(e,1,c);_.n(e,2,String(d));Fu(b,e);break;case "GetPlayer_rid":e=new Eu;_.n(e,1,c);_.n(e,2,String(d));Fu(b,e);break;case "GetSearch_rid":e=new Eu;_.n(e,1,c);_.n(e,
2,String(d));Fu(b,e);break;case "GetSettings_rid":e=new Eu;_.n(e,1,c);_.n(e,2,String(d));Fu(b,e);break;case "GetTrending_rid":e=new Eu;_.n(e,1,c);_.n(e,2,String(d));Fu(b,e);break;case "GetWatchNext_rid":e=new Eu;_.n(e,1,c);_.n(e,2,String(d));Fu(b,e);break;case "yt_red":_.n(b,14,!!d);break;case "yt_ad":_.n(b,9,!!d)}}return b};
iHa=function(a,b){for(var c in a)if(a.hasOwnProperty(c)&&b[c])return c;return null};
jHa=function(a){var b=a.match(/\[\[([\w\.]+)\]\]/);if(b&&1<b.length)return b[1];_.Qf(Error("nd`"+a));return null};
kHa=function(a){return void 0===a?_.x("kevlar_tuner_should_test_reuse_components")?_.x("kevlar_tuner_should_reuse_components"):_.fd("REUSE_COMPONENTS",!1):a||!1};
lHa=function(a,b,c){c&&(b.is?_.$t(b):b.__proto__==HTMLElement.prototype&&(a=new _.ge("Rendererstamper removed a non custom element","Stamper: "+a+" element: "+(b&&b.nodeName)),_.Rf(a)))};
mHa=function(a,b,c,d){var e=b.node?b.node:b;_.H(c).parentNode==e&&(b.removeChild(c),lHa(a,c,d));if(a=_.xu.get(c))_.xu.delete(c),_.xe.cancelJob(a);c.hidden=!1};
nHa=function(a,b,c,d){if(b&&b.children&&(c=b.children[c]))if(_.fd("DEFERRED_DETACH"))for(;c&&!_.xu.has(c);){var e=a,h=b,l=c,m=d;l.hidden=!0;e=_.Jn(_.xe,mHa.bind(null,e,h,l,m),0);_.xu.set(l,e);c=c.nextElementSibling}else for(;(l=b.lastElementChild)&&(b.removeChild(l),lHa(a,l,d),l!=c););};
Eu=function(a){_.G.call(this,a)};
_.q(Eu,_.G);Eu.prototype.getEndpoint=function(){return _.Vj(this,1)};
Eu.prototype.getId=function(){return _.Vj(this,2)};
Fu=function(a,b){_.Sd(a,68,Eu,b)};
_.oHa=function(a){a.scrollEventsToIgnore+=1;a.stopIgnoringScrollTimeoutIds.push(setTimeout(function(){a.scrollEventsToIgnore--},500))};
_.Gu=function(a,b){var c=[],d=!1;b=_.k(b);for(var e=b.next();!e.done;e=b.next()){e=a.JSC$35934_moduleRegistry[e.value];var h=void 0,l=void 0;(null==(h=e)?0:h.isFetching)&&(null==(l=e)?0:l.resolver)?(c.push(e.resolver.promise),d=!0):(e=new _.dk,e.resolve(void 0),c.push(e.promise))}return d?Promise.all(c):void 0};
pHa=0;qHa=0;_.Hu=function(a,b){var c=_.Uza.get(a);if(c&&(c=c.pop())){if(!_.x("disable_dependency_injection")&&b&&Au(b)&&Au(c)){if(!c.injector)throw Error("Z");if(!b.injector)throw Error("Z");c.injector!==b.injector&&c.initializeInjection&&(_.Qo=b.injector,c.initializeInjection())}pHa++;return c}qHa++;var d;try{!_.x("disable_dependency_injection")&&b&&Au(b)?d=eHa(a,b):d=document.createElement(a)}catch(e){throw new _.ge("ElementPool failed to create element",a,e.message);}return d};
var rHa,sHa,tHa;rHa=function(a,b,c,d){this.JSC$36161_taskManager_=a;this.onFulfilled_="function"===typeof b?b:null;this.onRejected_="function"===typeof c?c:null;this.JSC$36161_context_=d};
sHa=function(a,b){a.onFulfilled_&&_.we(a.JSC$36161_taskManager_,function(){a.onFulfilled_.call(a.JSC$36161_context_,b)})};
tHa=function(a,b){a.onRejected_&&_.we(a.JSC$36161_taskManager_,function(){a.onRejected_.call(a.JSC$36161_context_,b)})};
_.Iu=function(a){this.JSC$36164_taskManager_=a;this.callbacks_=[]};
_.Iu.prototype.then=function(a,b,c){this.callbacks_.push(new rHa(this.JSC$36164_taskManager_,a,b,c));return this};
_.Iu.prototype.onSuccess=function(a){this.callbacks_.forEach(function(b){sHa(b,a)})};
_.Iu.prototype.onFailure=function(a){this.callbacks_.forEach(function(b){tHa(b,a)})};
_.Iu.prototype.cancel=function(){this.callbacks_.length=0};
_.Pk(_.Iu);
_.Ju=function(a,b,c){c=void 0===c?_.Ci():c;this.JSC$36180_defaultPriority=a;this.signal=b;this.JSC$36180_scheduler=c;this.nextJobDescriptor=0;this.JSC$36180_parkedJobs=[];this.scheduledJobs=new Map};
_.Ku=function(a,b){if(b){var c=_.Ko();a.signal&&!_.Lo(c,a.signal)?(c.addListener(a.signal,function(){a.processSignal()}),a.JSC$36180_parkedJobs.push({job:b,
priority:void 0})):uHa(a,b)}};
_.vHa=function(a,b){if(b!==a.JSC$36180_defaultPriority){a.JSC$36180_defaultPriority=b;for(var c=_.k(a.scheduledJobs.values()),d=c.next();!d.done;d=c.next())d=d.value,a.JSC$36180_scheduler.cancelJob(d.jobId),d.jobId=a.JSC$36180_scheduler.addJob(d.jobWrapper,b)}};
_.Ju.prototype.flushJobs=function(){_.vHa(this,10);this.processSignal()};
_.Ju.prototype.cancel=function(){for(var a=_.k(this.scheduledJobs),b=a.next();!b.done;b=a.next()){var c=_.k(b.value);b=c.next().value;c=c.next().value;this.JSC$36180_scheduler.cancelJob(c.jobId);this.scheduledJobs.delete(b)}this.JSC$36180_parkedJobs=[]};
_.Ju.prototype.processSignal=function(){for(var a=_.k(this.JSC$36180_parkedJobs),b=a.next();!b.done;b=a.next())b=b.value,uHa(this,b.job,b.priority);this.JSC$36180_parkedJobs=[]};
var uHa=function(a,b,c){c=c||a.JSC$36180_defaultPriority;if(10===c)_.Kn(b);else{var d=a.nextJobDescriptor++,e=function(){b();a.scheduledJobs.delete(d)},h=a.JSC$36180_scheduler.addJob(e,c);
a.scheduledJobs.set(d,{jobWrapper:e,jobId:h,priority:c})}};
var wHa=[],xHa=["ytd-section-list-renderer","yt-horizontal-list-renderer","ytd-item-section-renderer","ytd-watch-next-secondary-results-renderer","ytd-video-primary-info-renderer"],zHa=function(a,b){this.usableComponents_=new Map;this.experimentMode_=_.ot("polymer_task_manager_status");"disabled"!=this.experimentMode_&&yHa(this,a||wHa,b||xHa)},yHa=function(a,b,c){var d=_.afa("polymer_task_manager_blacklisted_components")||[],e="experimental"==a.experimentMode_,h="production"==a.experimentMode_,l=
"counterfactual"==a.experimentMode_;
e&&b.forEach(function(m){a.usableComponents_.set(m,!0)});
(h||e||l)&&c.forEach(function(m){a.usableComponents_.set(m,!0)});
d.forEach(function(m){a.usableComponents_.set(m,!1)})};
_.Yi(zHa);
_.Lu={YtTaskEmitterBehavior:{created:function(){this.cachedProviderNode_=null},
detached:function(){this.cachedProviderNode_=null},
getTaskManager:function(){var a=this.getContext_();return a?a.getTaskManager():_.xe},
getContext_:function(){if(this.shouldUseTaskManager()){if(!this.cachedProviderNode_){var a=this.fire("yt-get-context-provider");a.detail&&a.detail.contextProvider?this.cachedProviderNode_=a.detail.contextProvider:this.parentElement&&(this.cachedProviderNode_=this)}if(this.cachedProviderNode_&&this.cachedProviderNode_.getProvidedContext&&this.cachedProviderNode_.getProvidedContext())return this.cachedProviderNode_.getProvidedContext()}},
shouldUseTaskManager:function(){var a=zHa.getInstance();if("disabled"==a.experimentMode_)a=!1;else{var b=!!a.usableComponents_.get(this.localName);a="counterfactual"==a.experimentMode_?!1:b}return a},
getNetworkManager:function(){var a=this.getContext_();if(a)return a.getNetworkManager()}}};
var AHa,BHa,CHa,DHa,EHa,FHa,GHa;_.X={};AHa={"yt-live-chat-text-message-renderer":!0,"yt-live-chat-author-badge-renderer":!0};BHa=_.x("kevlar_enable_async_stamper");CHa=_.hd("kevlar_async_stamp_probability");DHa=_.hd("kevlar_async_stamp_delay");EHa=_.hd("kevlar_async_stamp_use_microtask");FHa=_.x("kevlar_enable_mss_lazy_load");GHa=_.x("kevlar_enable_mss_page_modules_client");
_.X.YtRendererstamperBehavior=[_.Lu.YtTaskEmitterBehavior,{mappings:null,stampDom:null,rendererStamperLogger_:null,beforeRegister:function(){this.configureRendererStamper&&"function"===typeof this.configureRendererStamper&&(_.x("disable_stampdom_merge")||!this.stampDom?this.stampDom=this.configureRendererStamper():this.stampDom=Object.assign({},this.stampDom,this.configureRendererStamper()));this.stampDom&&this.addStampDomObservers_()},
created:function(){this.deferredBindingTasks_=[];this.renderJobsMap_=Object.create(null);this.hasDataPath_=Object.create(null);this.stampDom&&this.addStampDomObserverFns_();this.telemetry_={};this.resetTelemetry_()},
resetTelemetry_:function(){this.telemetry_.create=0;this.telemetry_.reuse=0},
addStampDomObservers_:function(){var a=(this.constructor.generatedFrom||this).observers;a||(a=[]);for(var b in this.stampDom){var c=this.stampDom[b];c&&c.id&&a.push("stamp"+c.id.replace("-","_")+"_("+b+".*)")}this.constructor.generatedFrom.observers=a},
addStampDomObserverFns_:function(){for(var a in this.stampDom){var b=this.stampDom[a];b.id?(this["stamp"+b.id.replace("-","_")+"_"]=this.rendererStamperObserver_.bind(this,a,b.id),this.hasDataPath_[a]=!1):_.Qf(new _.ge("Bad rendererstamper config",this.is+":"+a))}},
rendererStamperObserver_:function(a,b,c){if(c.path==a){if(void 0===c.value&&!this.hasDataPath_[a])return;this.hasDataPath_[a]=void 0!==c.value}this.rendererStamperApplyChangeRecord_(a,b,c)},
rendererStamperApplyChangeRecord_:function(a,b,c){var d=this.renderJobsMap_[b],e=null;if(a==c.path){c=c.value;_.la(c)||(c=void 0===c||null===c?[]:[c]);a=this.stampDom[a];if(a.mapping){var h=this.stampDomArray_.bind(this,c,b,a.mapping,a.reuseComponents,a.events,a.stamperStableList);e=h;BHa&&Math.random()<CHa&&(EHa?e=function(){Promise.resolve(h())}:e=setTimeout.bind(_.g,h,DHa));
if(FHa&&!GHa){var l=_.Eg().resolve(_.Ii);if(l.isFetching()){c=c.map(function(v){return Object.keys(v)}).flat();
c=[].concat(_.sc(new Set(c)));var m=_.Gu(l,c);m&&(e=function(){m.then(h)})}}}d&&d.cancel();
c=a.usePageScheduler?this.getTaskManager():void 0;d||void 0==a.initialRenderPriority?void 0==a.renderPriority||d||(d=new _.Ju(a.renderPriority,a.waitForSignal,c),this.renderJobsMap_[b]=d):(d=new _.Ju(a.initialRenderPriority,a.waitForSignal,c),this.renderJobsMap_[b]=d,e=function(v,z){v();_.vHa(z,10)}.bind(this,e,d))}else if(a+".splices"==c.path){var p=this.stampDomArraySplices_.bind(this,a,b,c.value);
e=p;BHa&&Math.random()<CHa&&(EHa?e=function(){Promise.resolve(p())}:e=setTimeout.bind(_.g,p,DHa));
if(FHa&&!GHa&&(b=_.Eg().resolve(_.Ii),b.isFetching()&&(null==(l=c.value)?0:l.indexSplices))){a=c.value.indexSplices.map(function(v){for(var z=[],A=v.index+v.addedCount,D=v.index;D<A;D++)z.push(Object.keys(v.object[D]));return z}).flat().flat();
a=[].concat(_.sc(new Set(a)));var r=_.Gu(b,a);r&&(e=function(){r.then(p)})}}else e=this.forwardRendererStamperChanges_.bind(this,a,b,c);
d?_.Ku(d,e):e()},
forwardRendererStamperChanges_:function(a,b,c){var d=c.path.slice(a.length+1),e=this.getStampContainer_(b),h=d.indexOf("."),l=d.substring(0,h),m=!1,p=0,r=parseInt(l,0);if("#"==l[0]){m=parseInt(l.substring(1),0);r=this.get(a);var v=this.get([a,l]);r[m]==v?p=m:p=r.indexOf(v);m=!0}else isNaN(r)||(p=r,m=!0);m&&(d=d.substring(l.length+1),h=d.indexOf("."));if(e=_.H(e).children[p])d="data"+d.slice(h),"function"!=typeof e.notifyPath?_.Rf(new _.ge("notifyPath missing",this.is+": "+a+", "+b)):c.value?e.notifyPath(d,
c.value):e.notifyPath(d)},
stampDomArraySplices_:function(a,b,c){if(c&&c.indexSplices){var d=this.getStampContainer_(b);if(d){for(var e=_.H(d),h=kHa(this.stampDom[a].reuseComponents),l=c.indexSplices.length,m=0;m<l;m++){for(var p=c.indexSplices[m],r=e.children[p.index],v=p.removed.length;0<v;v--)r&&r.parentElement&&(_.H(r.parentElement).removeChild(r),h&&_.$t(r),r=e.children[p.index]);v=this.stampDom[a].mapping;for(var z=p.index+p.addedCount,A=document.createDocumentFragment(),D=h,E=p.index;E<z;E++){var J=p.object[E],R=iHa(v,
J);if(R){var da=v[R];J=J[R];R=this.getComponentName_(da,J);var sa=r?_.xu.has(r):!1;D&&r&&r.is==R&&sa?(R=r,this.telemetry_.reuse++,r=r.nextElementSibling):D&&r&&sa?(R=this.createComponent_(da,J,h),sa=_.H(r).nextElementSibling,e.insertBefore(R,sa),mHa(this.is,e,r,h),r=sa):(D=!1,R=this.createComponent_(da,J,h),A.appendChild(R));this.deferRenderStamperBinding_(R,da,J)}else _.Qf(new _.ge("Unimplemented type",a,b,d.tagName,Object.keys(J)[0]))}e.insertBefore(A,r)}this.flushRenderStamperComponentBindings_();
this.stampDom[a].events&&this.fire("yt-rendererstamper-finished",{container:d})}else _.Qf(new _.ge("Container object not found",b))}},
stampDomArray_:function(a,b,c,d,e,h){var l=this.getStampContainer_(b);if(l)if(b=_.H(l),d=kHa(d),a){var m=0,p=0,r;if(h=void 0===h?_.x("kevlar_tuner_should_test_maintain_stable_list")?_.x("kevlar_should_maintain_stable_list"):_.fd("STAMPER_STABLE_LIST",!1):h||!1)for(r=b.firstElementChild;r&&!_.xu.has(r)&&a.length>p;){h=a[p];var v=iHa(c,h);if(v){if(this.getComponentName_(c[v],h[v])!=r.is){var z=this.createComponent_(c[v],h[v],d),A=_.H(r).nextElementSibling;A?b.insertBefore(z,A):b.appendChild(z);mHa(this.is,
b,r,d);r=z}else this.telemetry_.reuse++;this.deferRenderStamperBinding_(r,c[v],h[v]);m++;p++;r=_.H(r).nextElementSibling}else p++}nHa(this.is,b,m,d);m=r;if(a.length>p){h=document.createDocumentFragment();for(v=a.length;p<v;p++)if(z=a[p],A=iHa(c,z))r=this.createComponent_(c[A],z[A],d),this.deferRenderStamperBinding_(r,c[A],z[A]),h.appendChild(r);m&&_.H(m).parentNode&&r&&!_.xu.has(r)?b.insertBefore(h,m):b.appendChild(h)}this.flushRenderStamperComponentBindings_();this.markDirty&&this.markDirty();e&&
this.fire("yt-rendererstamper-finished",{container:l})}else nHa(this.is,b,0,d);else _.Qf(new _.ge("Container object not found",b))},
getStampContainer_:function(a){return this.$[a]||this.$$("#"+a)},
getComponentName_:function(a,b){return"string"===typeof a?a:a.matcher?a.matcher.call(this,b):a.component},
createComponent_:function(a,b,c){b=this.getComponentName_(a,b);try{if(c){var d=this.isInjectionEnabled_(a)?this:void 0;var e=_.Hu(b,d);e.updateStyles?e.updateStyles():_.Rf(new _.ge("Unregistered element",b))}else a&&this.isInjectionEnabled_(a)?e=eHa(b,this):e=document.createElement(b)}catch(h){return a="YtRendererStamperBehavior failed to create "+b+".",h.message&&(a+=" Original description: "+h.message),h.message="YtRendererStamperBehavior failed to create element",_.Sf(h,a),AHa.hasOwnProperty(b)?
_.Rf(h):_.Qf(h),document.createElement("SPAN")}this.telemetry_.create++;return e},
deferRenderStamperBinding_:function(a,b,c){this.deferredBindingTasks_.push({component:a,typeOrConfig:b,data:c})},
flushRenderStamperComponentBindings_:function(){for(var a=0,b=this.deferredBindingTasks_.length;a<b;a++){var c=this.deferredBindingTasks_[a],d=void 0,e=void 0,h=void 0,l=c.component,m=c.typeOrConfig;c=c.data;if("string"!==typeof m){for(h in m.attributes)!0===m.attributes[h]?l.setAttribute(h,""):!1===m.attributes[h]?l.removeAttribute(h):l.setAttribute(h,m.attributes[h]);for(e in m.params)l[e]=m.params[e];for(d in m.properties)if(e=m.properties[d]){if(e=jHa(e),l[d]=this.get(e),"on-tap"===d||"on-click"===
d)_.x("kevlar_rendererstamper_event_listener")?l.addEventListener("click",this.get(e)):"function"===typeof l.listen?l.listen(l,"tap","on-tap"):_.Qf(new _.ge("listen is not a function",[typeof l.listen,typeof this.listen,typeof l.translate3d,typeof this.translate3d].join(" "),this.tagName,l.tagName))}else _.Qf(new _.ge("Undefined property binding",d));if(m.classListBinding&&(d=this[jHa(m.classListBinding)]))for(m=0;m<d.length;m++)l.toggleClass(d[m],!0)}l.data=c;if(c=_.xu.get(l))l.hidden=!1,_.xu.delete(l),
_.xe.cancelJob(c)}this.deferredBindingTasks_.length=0},
isInjectionEnabled_:function(a,b){return!Au(this)||a.noInjection?!1:!b||Au(b)}}];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1g");

_.$u=function(a,b,c){_.Zu[a]||(_.Zu[a]={});_.Zu[a][b]=c};
_.Zu={};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syp");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var ZHa={properties:{elevation:{type:Number,reflectToAttribute:!0,readOnly:!0}},observers:["_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)","_computeKeyboardClass(receivedFocusFromKeyboard)"],hostAttributes:{role:"button",tabindex:"0",animated:!0},_calculateElevation:function(){var a=1;this.disabled?a=0:this.active||this.pressed?a=4:this.receivedFocusFromKeyboard&&(a=3);this._setElevation(a)},
_computeKeyboardClass:function(a){this.toggleClass("keyboard-focus",a)},
_spaceKeyDownHandler:function(a){_.Zs._spaceKeyDownHandler.call(this,a);this.hasRipple()&&1>this.getRipple().ripples.length&&this._ripple.uiDownAction()},
_spaceKeyUpHandler:function(a){_.Zs._spaceKeyUpHandler.call(this,a);this.hasRipple()&&this._ripple.uiUpAction()}};
var $Ha;
var aIa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==aIa)return aIa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-button--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_button.tp.yt.paper.button.css.js--\x3e<slot></slot>";var b=a.content,c=b.insertBefore;if(void 0===$Ha){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_button.tp.yt.paper.button.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/**\n@license\nCopyright (c) 2017 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: -ms-inline-flexbox;\n  display: -webkit-inline-flex;\n  display: inline-flex;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  -ms-flex-pack: center;\n  -webkit-justify-content: center;\n  justify-content: center;\n  position: relative;\n  box-sizing: border-box;\n  min-width: 5.14em;\n  margin: 0 0.29em;\n  background: transparent;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  -webkit-tap-highlight-color: transparent;\n  font: inherit;\n  text-transform: uppercase;\n  outline-width: 0;\n  border-radius: 3px;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -webkit-user-select: none;\n  user-select: none;\n  cursor: pointer;\n  z-index: 0;\n  padding: 0.7em 0.57em;\n  @apply --paper-font-common-base;\n}\n\n:host([elevation="1"]) {\n  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\n}\n\n:host([elevation="2"]) {\n  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="3"]) {\n  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="4"]) {\n  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="5"]) {\n  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);\n}\n\n:host([hidden]) {\n  display: none !important;\n}\n\n:host([raised].keyboard-focus) {\n  font-weight: bold;\n}\n\n:host(:not([raised]).keyboard-focus) {\n  background-color: var(--paper-button-flat-keyboard-focus-background-color);\n  font-weight: var(--paper-button-flat-keyboard-focus-font-weight, bold);\n  outline: var(--paper-button-flat-keyboard-focus-outline);\n}\n\n:host([disabled]) {\n  background: none;\n  color: #a8a8a8;\n  cursor: auto;\n  pointer-events: none;\n}\n\n:host([disabled][raised]) {\n  background: #eaeaea;\n}\n\n:host([animated]) {\n  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\npaper-ripple {\n  color: var(--paper-button-ink-color);\n}\n\n/*# sourceMappingURL=tp-yt-paper-button.css.map */</style>';
$Ha=d}d=$Ha;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return aIa=a},
is:"tp-yt-paper-button",hostAttributes:{"style-target":"host"},behaviors:[[_.$s,_.Ys,_.ct,ZHa]],properties:{raised:{type:Boolean,reflectToAttribute:!0,value:!1,observer:"_calculateElevation"}},_calculateElevation:function(){this.raised?ZHa._calculateElevation.apply(this):this._setElevation(0)}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy15");

var IHa,LHa,NHa,KHa,JHa,QHa;IHa=function(a){return a.command?[a.command]:a.onExecutionAction?[a.onExecutionAction]:a.onResponseReceivedCommand?[a.onResponseReceivedCommand]:a.updateFlowCommand?[a.updateFlowCommand]:a.clientActions||a.actions||a.commands||a.onResponseReceivedActions||a.onResponseReceivedCommands||a.onResponseReceivedEndpoints||[]};
LHa=function(a){try{var b=Object.keys(a)}catch(e){return[]}for(var c=0;c<b.length;c++){var d=b[c];if(JHa.test(d)||KHa.test(d))return IHa(a[d])}return[]};
_.Mu=function(a){return{runs:[{text:a}]}};
_.Z=function(a){return function(b,c){Object.defineProperty(b,c,{get:function(){return Polymer.dom(this.root).querySelector(a)},
enumerable:!0,configurable:!0})}};
_.MHa=function(){if(_.Ora()||_.tga&&_.Zd("applewebkit")&&!_.Zd("version")&&(!_.Zd("safari")||_.Zd("gsa/"))||_.kpa&&_.Zd("version/"))return!0;if(_.x("enable_web_eom_visitor_data"))return _.w("EOM_VISITOR_DATA")?!1:!0;var a=_.w("INNERTUBE_CLIENT_NAME");return!a||"WEB"!==a&&"MWEB"!==a?!0:(a=_.Kd.get("CONSENT",void 0))?a.startsWith("YES+"):!0};
_.Nu=function(a,b,c){var d=void 0===d?!0:d;var e=_.w("VALID_SESSION_TEMPDATA_DOMAINS",[]),h=_.xd(window.location.href);h&&e.push(h);h=_.xd(a);if(_.ha(e,h)||!h&&_.hi(a,"/"))if(_.x("autoescape_tempdata_url")&&(e=document.createElement("a"),_.Ut(e,a),a=e.href),a&&(a=_.Gh(a),a=_.vh(a)))d&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:_.fg()},b)),c?(c=parseInt(c,10),isFinite(c)&&0<c&&NHa(a,b,c)):NHa(a,b)};
NHa=function(a,b,c){a="ST-"+_.PFa(a).toString(36);b=b?_.Hd(b):"";c=c||5;_.MHa()&&_.Ld(a,b,c)};
_.OHa=function(a,b){var c={itct:b.clickTrackingParams};_.x("kevlar_client_side_screens")&&(c.endpoint=JSON.stringify(b));_.Nu(a,c)};
_.Ou=function(a,b){var c=b.getScreenLayer&&b.getScreenLayer();if(b.visualElement)return _.TCa(a,b.visualElement,void 0,c);b=_.zt(_.vo.getInstance(),b);return _.ns(a,b,void 0,c)};
_.PHa=function(a,b,c){a={endpoint:b,actions:[]};c=(c.path?c.path[0]:c.target).icon||"";b=c.indexOf(":");0<b&&(c=c.substr(b+1));c&&a.actions.push(c);return a};
KHa=/Command$/;JHa=/Endpoint$/;
var RHa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt SPDX-License-Identifier:
BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==RHa)return RHa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-tooltip--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_tooltip.tp.yt.paper.tooltip.css.js--\x3e<div id="tooltip" class="hidden" style-target="tooltip">\n  <slot></slot>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===QHa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_tooltip.tp.yt.paper.tooltip.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n  position: absolute;\n  outline: none;\n  z-index: 1002;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -webkit-user-select: none;\n  user-select: none;\n  cursor: default;\n}\n\n[style-target=tooltip] {\n  display: block;\n  outline: none;\n  @apply --paper-font-common-base;\n  font-size: 10px;\n  line-height: 1;\n  background-color: var(--paper-tooltip-background, #616161);\n  color: var(--paper-tooltip-text-color, white);\n  padding: 8px;\n  border-radius: 2px;\n}\n\n@keyframes keyFrameScaleUp {\n  0% {\n    transform: scale(0);\n  }\n  100% {\n    transform: scale(1);\n  }\n}\n@keyframes keyFrameScaleDown {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0);\n  }\n}\n@keyframes keyFrameFadeInOpacity {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: var(--paper-tooltip-opacity, 0.9);\n  }\n}\n@keyframes keyFrameFadeOutOpacity {\n  0% {\n    opacity: var(--paper-tooltip-opacity, 0.9);\n  }\n  100% {\n    opacity: 0;\n  }\n}\n@keyframes keyFrameSlideDownIn {\n  0% {\n    transform: translateY(-2000px);\n    opacity: 0;\n  }\n  10% {\n    opacity: 0.2;\n  }\n  100% {\n    transform: translateY(0);\n    opacity: var(--paper-tooltip-opacity, 0.9);\n  }\n}\n@keyframes keyFrameSlideDownOut {\n  0% {\n    transform: translateY(0);\n    opacity: var(--paper-tooltip-opacity, 0.9);\n  }\n  10% {\n    opacity: 0.2;\n  }\n  100% {\n    transform: translateY(-2000px);\n    opacity: 0;\n  }\n}\n.fade-in-animation {\n  opacity: 0;\n  animation-delay: var(--paper-tooltip-delay-in, 500ms);\n  animation-name: keyFrameFadeInOpacity;\n  animation-iteration-count: 1;\n  animation-timing-function: ease-in;\n  animation-duration: var(--paper-tooltip-duration-in, 500ms);\n  animation-fill-mode: forwards;\n}\n\n.fade-out-animation {\n  opacity: var(--paper-tooltip-opacity, 0.9);\n  animation-delay: var(--paper-tooltip-delay-out, 0ms);\n  animation-name: keyFrameFadeOutOpacity;\n  animation-iteration-count: 1;\n  animation-timing-function: ease-in;\n  animation-duration: var(--paper-tooltip-duration-out, 500ms);\n  animation-fill-mode: forwards;\n}\n\n.scale-up-animation {\n  transform: scale(0);\n  opacity: var(--paper-tooltip-opacity, 0.9);\n  animation-delay: var(--paper-tooltip-delay-in, 500ms);\n  animation-name: keyFrameScaleUp;\n  animation-iteration-count: 1;\n  animation-timing-function: ease-in;\n  animation-duration: var(--paper-tooltip-duration-in, 500ms);\n  animation-fill-mode: forwards;\n}\n\n.scale-down-animation {\n  transform: scale(1);\n  opacity: var(--paper-tooltip-opacity, 0.9);\n  animation-delay: var(--paper-tooltip-delay-out, 500ms);\n  animation-name: keyFrameScaleDown;\n  animation-iteration-count: 1;\n  animation-timing-function: ease-in;\n  animation-duration: var(--paper-tooltip-duration-out, 500ms);\n  animation-fill-mode: forwards;\n}\n\n.slide-down-animation {\n  transform: translateY(-2000px);\n  opacity: 0;\n  animation-delay: var(--paper-tooltip-delay-out, 500ms);\n  animation-name: keyFrameSlideDownIn;\n  animation-iteration-count: 1;\n  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n  animation-duration: var(--paper-tooltip-duration-out, 500ms);\n  animation-fill-mode: forwards;\n}\n\n.slide-down-animation-out {\n  transform: translateY(0);\n  opacity: var(--paper-tooltip-opacity, 0.9);\n  animation-delay: var(--paper-tooltip-delay-out, 500ms);\n  animation-name: keyFrameSlideDownOut;\n  animation-iteration-count: 1;\n  animation-timing-function: cubic-bezier(0.4, 0, 1, 1);\n  animation-duration: var(--paper-tooltip-duration-out, 500ms);\n  animation-fill-mode: forwards;\n}\n\n.cancel-animation {\n  animation-delay: -30s !important;\n}\n\n.hidden {\n  display: none !important;\n}\n\n/*# sourceMappingURL=tp-yt-paper-tooltip.css.map */</style>";
QHa=d}d=QHa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return RHa=a},
is:"tp-yt-paper-tooltip",hostAttributes:{role:"tooltip",tabindex:-1},properties:{for:{type:String,observer:"_findTarget"},manualMode:{type:Boolean,value:!1,observer:"_manualModeChanged"},position:{type:String,value:"bottom"},fitToVisibleBounds:{type:Boolean,value:!1},offset:{type:Number,value:14},marginTop:{type:Number,value:14},alwaysDisplay:{type:Boolean,value:!1},animationDelay:{type:Number,value:500,observer:"_delayChange"},animationEntry:{type:String,value:""},animationExit:{type:String,value:""},
animationConfig:{type:Object,value:function(){return{entry:[{name:"fade-in-animation",node:this,timing:{delay:0}}],exit:[{name:"fade-out-animation",node:this}]}}},
_showing:{type:Boolean,value:!1}},listeners:{webkitAnimationEnd:"_onAnimationEnd"},get target(){var a=_.H(this).parentNode,b=_.H(this).getOwnerRoot(),c;this.for?c=_.H(b).querySelector("#"+this.for):c=a.nodeType==Node.DOCUMENT_FRAGMENT_NODE?b.host:a;return c},attached:function(){this._findTarget()},
detached:function(){this.manualMode||this._removeListeners()},
playAnimation:function(a){"entry"===a?this.show():"exit"===a&&this.hide()},
cancelAnimation:function(){this.$.tooltip.classList.add("cancel-animation")},
show:function(){if(!this._showing){if(!this.alwaysDisplay&&""===_.H(this).textContent.trim()){for(var a=!0,b=_.H(this).getEffectiveChildNodes(),c=0;c<b.length;c++)if(""!==b[c].textContent.trim()){a=!1;break}if(a)return}this._showing=!0;this.$.tooltip.classList.remove("hidden");this.$.tooltip.classList.remove("cancel-animation");this.$.tooltip.classList.remove(this._getAnimationType("exit"));this.updatePosition();this._animationPlaying=!0;this.$.tooltip.classList.add(this._getAnimationType("entry"))}},
hide:function(){this._showing&&(this._animationPlaying?(this._showing=!1,this._cancelAnimation()):(this._onAnimationFinish(),this._showing=!1,this._animationPlaying=!0))},
updatePosition:function(){if(this._target&&this.offsetParent){var a=this.offset;14!=this.marginTop&&14==this.offset&&(a=this.marginTop);var b=this.offsetParent.getBoundingClientRect(),c=this._target.getBoundingClientRect(),d=this.getBoundingClientRect(),e=(c.width-d.width)/2,h=(c.height-d.height)/2,l=c.left-b.left,m=c.top-b.top;switch(this.position){case "top":var p=l+e;var r=m-d.height-a;break;case "bottom":p=l+e;r=m+c.height+a;break;case "left":p=l-d.width-a;r=m+h;break;case "right":p=l+c.width+
a,r=m+h}this.fitToVisibleBounds?(b.left+p+d.width>window.innerWidth?(this.style.right="0px",this.style.left="auto"):(this.style.left=Math.max(0,p)+"px",this.style.right="auto"),b.top+r+d.height>window.innerHeight?(this.style.bottom=b.height+"px",this.style.top="auto"):(this.style.top=Math.max(-b.top,r)+"px",this.style.bottom="auto")):(this.style.left=p+"px",this.style.top=r+"px")}},
_addListeners:function(){this._target&&(this.listen(this._target,"mouseenter","show"),this.listen(this._target,"focus","show"),this.listen(this._target,"mouseleave","hide"),this.listen(this._target,"blur","hide"),this.listen(this._target,"tap","hide"));this.listen(this.$.tooltip,"animationend","_onAnimationEnd");this.listen(this,"mouseenter","hide")},
_findTarget:function(){this.manualMode||this._removeListeners();this._target=this.target;this.manualMode||this._addListeners()},
_delayChange:function(a){500!==a&&this.updateStyles({"--paper-tooltip-delay-in":a+"ms"})},
_manualModeChanged:function(){this.manualMode?this._removeListeners():this._addListeners()},
_cancelAnimation:function(){this.$.tooltip.classList.remove(this._getAnimationType("entry"));this.$.tooltip.classList.remove(this._getAnimationType("exit"));this.$.tooltip.classList.remove("cancel-animation");this.$.tooltip.classList.add("hidden")},
_onAnimationFinish:function(){this._showing&&(this.$.tooltip.classList.remove(this._getAnimationType("entry")),this.$.tooltip.classList.remove("cancel-animation"),this.$.tooltip.classList.add(this._getAnimationType("exit")))},
_onAnimationEnd:function(){this._animationPlaying=!1;this._showing||(this.$.tooltip.classList.remove(this._getAnimationType("exit")),this.$.tooltip.classList.add("hidden"))},
_getAnimationType:function(a){if("entry"===a&&""!==this.animationEntry)return this.animationEntry;if("exit"===a&&""!==this.animationExit)return this.animationExit;if(this.animationConfig[a]&&"string"===typeof this.animationConfig[a][0].name){if(this.animationConfig[a][0].timing&&this.animationConfig[a][0].timing.delay&&0!==this.animationConfig[a][0].timing.delay){var b=this.animationConfig[a][0].timing.delay;"entry"===a?this.updateStyles({"--paper-tooltip-delay-in":b+"ms"}):"exit"===a&&this.updateStyles({"--paper-tooltip-delay-out":b+
"ms"})}return this.animationConfig[a][0].name}},
_removeListeners:function(){this._target&&(this.unlisten(this._target,"mouseenter","show"),this.unlisten(this._target,"focus","show"),this.unlisten(this._target,"mouseleave","hide"),this.unlisten(this._target,"blur","hide"),this.unlisten(this._target,"tap","hide"));this.unlisten(this.$.tooltip,"animationend","_onAnimationEnd");this.unlisten(this,"mouseenter","hide")}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var SHa;
var THa=function(){var a=document.body,b=a.appendChild;if(void 0===SHa){var c=document.createElement("template");c.innerHTML='<svg style="position: absolute; height: 0; width: 0;" aria-hidden="true"><defs><mask id="artwork__b" fill="#fff"><path d="M.24.24v70.2h10.43c0 33 26.76 59.77 59.77 59.77 33 0 59.77-26.7 59.77-59.7h9.7V.3H.3z"></path></mask><mask id="artwork__d" fill="#fff"><path d="M17.3.23C-2.2-.13.26 14.73.26 14.73s-.1 25.85 14.83 28.3c3.9.06 5.2-5.33 5.2-5.33l-2.2 13.24-4.6 31.26s17.9 5.3 33.4 1.02c.1-12.1 4-43.73 3.9-49.96 3.2 3.7 9 24.97 11 51.1 5.8 1.27 9.3 0 9.3 0S70.9 43.12 54.9 21c-4.7-6.87-16.7-6.87-16.7-6.87-7-.98-8.9-.8-16 .18-7.1 1-6.6 9.5-6.6 9.5s1 5.5-1.4 10.2c-8.1-5-7.1-20.5-7.1-20.5s.5-5.6 8.1-6.8c2.3-1.3 3.9-4.7 2-6.3z"></path></mask><mask id="artwork__f" fill="#fff"><path d="M15.65 12.32L2.2 10.67C1.06 10.54.26 9.5.4 8.4L1.18 2C1.32.88 2.35.07 3.48.2l13.45 1.66c1.12.13 1.92 1.16 1.8 2.28l-.8 6.4c-.13 1.1-1.16 1.92-2.28 1.78z"></path></mask><mask id="artwork__h" fill="#fff"><path id="artwork__g" d="M2.97.2l12.6 1.55-.3 11.72-15.03-2.1z"></path></mask><mask id="artwork__j" fill="#fff"><path d="M.2.24c10.98 3.92 12.35 11.63 12.35 11.63l-.44.8S3.3 10.34.2.25z"></path></mask><mask id="artwork__l" fill="#fff"><path d="M.17.27S7.42.9 5.7 4.77l-.7.98C1 8.05.16.27.16.27z"></path></mask><mask id="artwork__n" fill="#fff"><path d="M.24.24H6.4S7.14 4.8 3.32 4.8C-.5 4.8.24.24.24.24z" id="artwork__m"></path></mask><mask id="artwork__p" fill="#fff"><circle cx="6.46" cy="6.64" r="6.46"></circle></mask><mask id="artwork__r" fill="#fff"><circle cx="6.46" cy="6.64" r="6.46"></circle></mask><mask id="artwork__t" fill="#fff"><path d="M28 14.83c0 8.06-6.22 14.6-13.9 14.6-7.7 0-13.9-4-13.9-14.6C.2 6.77 6.4.25 14.1.25 21.77.25 28 6.78 28 14.83z"></path></mask><mask id="artwork__v" fill="#fff"><path d="M28 14.83c0 8.06-6.22 14.6-13.9 14.6-7.7 0-13.9-4-13.9-14.6C.2 6.77 6.4.25 14.1.25 21.77.25 28 6.78 28 14.83z"></path></mask><mask id="artwork__x" fill="#fff"><path d="M.55.4l9.95.24s1.64 9.34-2.4 9.6C-1.47 10.54.54.4.54.4z"></path></mask><mask id="artwork__z" fill="#fff"><circle cx="59.77" cy="59.77" r="59.77"></circle></mask><clipPath id="hashtag_landing_page_empty__a"><path class="hashtag_landing_page_empty__cls-1" d="M0 0h200v200H0z"></path></clipPath><clipPath id="hashtag_landing_page_empty_dark_mode__a"><path class="hashtag_landing_page_empty_dark_mode__cls-1" d="M0 0h200v200H0z"></path></clipPath><clipPath id="hashtag_landing_page_error__a"><path class="hashtag_landing_page_error__cls-1" d="M-79.58-79.58h459.2v459.2h-459.2z"></path></clipPath><clipPath id="hashtag_landing_page_error__c"><path class="hashtag_landing_page_error__cls-1" d="M189.2 50.73c-44.7 0-83.94 30.59-90.33 67.34-7.88 45.31 26.77 92.29 78 101.2s101.3-23.34 109.2-68.65-28.76-89.53-80.04-98.45a97.63 97.63 0 00-16.75-1.45"></path></clipPath><clipPath id="hashtag_landing_page_error__b"><path class="hashtag_landing_page_error__cls-1" d="M1.49 219.9L124.8 212l-60.67-41.9z"></path></clipPath><clipPath id="hashtag_landing_page_error_dark_mode__a"><path class="hashtag_landing_page_error_dark_mode__cls-1" d="M-78.75-78.75h457.5v457.5h-457.5z"></path></clipPath><clipPath id="hashtag_landing_page_error_dark_mode__c"><path class="hashtag_landing_page_error_dark_mode__cls-1" d="M99.07 118.2c-7.85 45.15 26.68 92 77.76 100.8s100.9-23.25 108.8-68.39-28.69-89.21-79.78-98.1a98.36 98.36 0 00-16.72-1.44c-44.54 0-83.64 30.48-90 67.09"></path></clipPath><clipPath id="hashtag_landing_page_error_dark_mode__b"><path class="hashtag_landing_page_error_dark_mode__cls-1" d="M2.03 219.7l122.87-7.9L64.45 170z"></path></clipPath><mask id="offline_no_content__b" fill="#fff"><use xlink:href="#offline_no_content__a"></use></mask><mask id="offline_no_content__d" fill="#fff"><use xlink:href="#offline_no_content__c"></use></mask><path id="offline_no_content__a" d="M0 194.555V.675h191.961v193.88z"></path><path d="M.668 18.586C8.545 12.047 15.125 3.19 25.082.49v20.673H.668v-2.577z" id="offline_no_content__c"></path><clipPath id="empty_search__clip-path"><path d="M3.43 126.34H227a29.17 29.17 0 0 0-5.06-24c-4.42-6.11-10-12.51-9.71-28.73s-.4-59.23-20.9-67.3c-28.87-11.37-53.18 18.05-71.57 19s-32.31-9.34-45.87-4.5-11.63 16.68-18.17 19.83-20.58.73-25.18 13.8S34.06 77.8 25 83.73c-8.82 5.75-27.62 9.32-21.57 42.61z" fill="none"></path></clipPath><clipPath id="chrome_icon__b"><use overflow="visible" xlink:href="#chrome_icon__a"></use></clipPath><clipPath id="chrome_icon__f"><use overflow="visible" xlink:href="#chrome_icon__e"></use></clipPath><clipPath id="chrome_icon__j"><use overflow="visible" xlink:href="#chrome_icon__i"></use></clipPath><clipPath id="chrome_icon__n"><use overflow="visible" xlink:href="#chrome_icon__m"></use></clipPath><linearGradient id="chrome_icon__c" x1="29.337" x2="81.837" y1="75.021" y2="44.354" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a52714" stop-opacity=".6"></stop><stop offset=".66" stop-color="#a52714" stop-opacity="0"></stop></linearGradient><linearGradient id="chrome_icon__d" x1="110.872" x2="52.538" y1="164.495" y2="130.329" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#055524" stop-opacity=".4"></stop><stop offset=".33" stop-color="#055524" stop-opacity="0"></stop></linearGradient><linearGradient id="chrome_icon__g" x1="121.858" x2="136.547" y1="49.804" y2="114.13" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ea6100" stop-opacity=".3"></stop><stop offset=".66" stop-color="#ea6100" stop-opacity="0"></stop></linearGradient><linearGradient id="chrome_icon__h" x1="121.858" x2="136.547" y1="49.804" y2="114.13" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ea6100" stop-opacity=".3"></stop><stop offset=".66" stop-color="#ea6100" stop-opacity="0"></stop></linearGradient><linearGradient id="chrome_icon__k" x1="29.337" x2="81.837" y1="75.021" y2="44.354" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a52714" stop-opacity=".6"></stop><stop offset=".66" stop-color="#a52714" stop-opacity="0"></stop></linearGradient><radialGradient id="chrome_icon__l" cx="668.176" cy="55.948" r="84.078" gradientTransform="translate(-576)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#3e2723" stop-opacity=".2"></stop><stop offset="1" stop-color="#3e2723" stop-opacity="0"></stop></radialGradient><linearGradient id="chrome_icon__o" x1="110.872" x2="52.538" y1="164.495" y2="130.329" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#055524" stop-opacity=".4"></stop><stop offset=".33" stop-color="#055524" stop-opacity="0"></stop></linearGradient><radialGradient id="chrome_icon__p" cx="597.875" cy="48.52" r="78.044" gradientTransform="translate(-576)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#3e2723" stop-opacity=".2"></stop><stop offset="1" stop-color="#3e2723" stop-opacity="0"></stop></radialGradient><radialGradient id="chrome_icon__q" cx="671.844" cy="96.138" r="87.87" gradientTransform="translate(-576)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#263238" stop-opacity=".2"></stop><stop offset="1" stop-color="#263238" stop-opacity="0"></stop></radialGradient><radialGradient id="chrome_icon__r" cx="34.286" cy="32.014" r="176.746" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".1"></stop><stop offset="1" stop-color="#fff" stop-opacity="0"></stop></radialGradient><circle id="chrome_icon__a" cx="96" cy="96" r="88"></circle><path id="chrome_icon__e" d="M8 184h83.77l38.88-38.88V116H61.36L8 24.48z"></path><path id="chrome_icon__i" d="M96 56l34.65 60-38.88 68H184V56z"></path><path id="chrome_icon__m" d="M21.97 8v40.34L61.36 116 96 56h88V8z"></path><circle id="ring__dot" cx="4" cy="4" r="2"></circle></defs></svg><iron-iconset-svg name="backstage"><svg><defs><g fill="none" fill-rule="evenodd" viewBox="0 0 140 140" id="artwork"><circle fill="#EEE" fill-rule="nonzero" cx="70.44" cy="70.44" r="59.77"></circle><g mask="url(#artwork__b)"><path d="M115.6 109.04H79.48v21.76l29.15-.83c-.2 0 6.97-20.93 6.97-20.93z" fill="#2F82FF" fill-rule="nonzero"></path><path d="M85.77 34.3c-19.5-.35-16.96 14.5-16.96 14.5s-.1 25.85 14.9 28.32c3.9.04 5.3-5.34 5.3-5.34l-2.2 13.24L83 109.7s17.9 5.33 33.45 1.08c.15-12.1 3.23-37.16 3.08-43.4 3.24 3.68 9.1 24.97 11.1 51.1 5.8 1.28 9.3 0 9.3 0s-.38-41.27-16.34-63.4c-4.7-6.86-16.7-6.86-16.7-6.86-7-.98-8.9-.8-16 .17-7.1.9-6.6 9.4-6.6 9.4s1 5.5-1.4 10.1c-8.1-5-7.1-20.5-7.1-20.5s.4-5.6 8.1-6.9c2.2-1.4 3.7-4.7 1.9-6.4z" fill="#FF534F" fill-rule="nonzero"></path><path d="M82.9 109.7s17.9 5.33 33.47 1.08" stroke="#D90A17" stroke-width=".62" stroke-linecap="round" stroke-linejoin="round"></path><g transform="translate(68.563 34.076)"><path d="M14.54.37C12.76 3 13.92 6.8 13.92 6.8" stroke="#D90A17" stroke-width=".5" stroke-linecap="round" stroke-linejoin="round" mask="url(#artwork__d)"></path></g><path d="M90.3 62.37l-1.52 9.72 1.5-9.8z" stroke="#D90A17" stroke-width=".62" stroke-linecap="round" stroke-linejoin="round"></path><path d="M101.43 62.16c10.02 1.76 10.2-9.2 10.2-9.2l3.2-22.6L97.5 28l-3.25 24.48s-1.84 8.26 7.18 9.68z" fill="#4620AE" fill-rule="nonzero"></path><path d="M112.47 41.4s.72 1.36 1.34 1.36c.7 0 1.1-.7 1.1-.7s.9 1.8 1.6-.7c2.5.6 2.1-2.58 2.1-2.58s3.2-1.34 0-6.1c2.1-2.9-.7-4.17-.7-4.17s2.5-3-2.2-4c-.3-3.5-4.9-2.6-4.9-2.6s.1-3.1-4.4-1.5c-1.7-1.6-2.6-2.7-6.3.3-4.8-.2-3.2 2.7-4.9 3.6-3.8-1-2 3.7-2 3.7s-4.04 2.2 0 5.1l1.1 5.1 18.37 3.3z" fill="#4620AE" fill-rule="nonzero"></path><path d="M104 41.38c1 .12 3.18.7 3.46 3.36.06.54.24 1.07.62 1.47 2.37 2.6 3.6-3.4 3.93-8.9.1-1.3.5-5.7-7-6.5-3.8-.5-5.8 1.1-6.6 2.2-.4.5-.4 1.2 0 1.6l4.9 6.4c.3.3.6.5.9.5zm8.83-1.33l.3-2.53c.02-.17.15-.3.32-.33 1.95-.3 2.5.6 2.25 1.9.04 1.2-1.67 1.3-2.5 1.3-.22 0-.4-.2-.37-.5z" fill="#CE4115" fill-rule="nonzero"></path><path d="M106.24 38.3c.17-.92 1.06-1.54 2-1.37.92.16 1.54 1.05 1.37 1.98" stroke="#4620AE" stroke-width=".82" stroke-linecap="round"></path><g transform="translate(84.575 32.023)"><path d="M17.7 12.32L4.25 10.67c-1.13-.13-1.93-1.16-1.8-2.28l.8-6.4C3.35.8 4.4 0 5.5.2l13.46 1.66c1.12.13 1.93 1.16 1.8 2.28l-.8 6.4c-.13 1.1-1.16 1.92-2.28 1.78z" fill="#FF9BEA" fill-rule="nonzero"></path><g transform="translate(2.053)"><path fill="#91D5FF" fill-rule="nonzero" mask="url(#artwork__f)" transform="rotate(6.973 9.634 1.937)" d="M-.35-.37H19.6v4.62H-.34z"></path></g><circle fill="#CC26A1" fill-rule="nonzero" transform="rotate(-83.027 11.616 6.268)" cx="11.62" cy="6.27" r="4.06"></circle><circle fill="#FFC100" fill-rule="nonzero" transform="rotate(-83.027 11.616 6.268)" cx="11.62" cy="6.27" r="3.35"></circle><circle fill="#404040" fill-rule="nonzero" transform="rotate(-83.027 11.616 6.268)" cx="11.62" cy="6.27" r="1.98"></circle><path d="M11.76 5.1c.65.06 1.1.66 1.03 1.3" stroke="#EEE" stroke-width=".5" stroke-linecap="round" stroke-linejoin="round"></path><circle fill="#91D5FF" fill-rule="nonzero" transform="rotate(-83.027 5.45 7.803)" cx="5.45" cy="7.8" r="1"></circle><path d="M18.98 15.4L2 13.3C.87 13.18.07 12.16.2 11.04.36 9.9 1.38 9.1 2.5 9.24l16.98 2.07c1.13.2 1.93 1.2 1.8 2.3-.15 1.2-1.17 2-2.3 1.8z" fill="#FF8983" fill-rule="nonzero"></path><path d="M4.57 12.18l12.22 1.5" stroke="#404040" stroke-width=".82" stroke-linecap="round" stroke-linejoin="round"></path><g transform="translate(1.232 11.496)"><g mask="url(#artwork__h)"><path d="M14.64-.15L5.08-1.7c-.2-.02-.42.12-.45.33L2.8 9.93c-.02.2.1.4.32.44l9.53 1.76c.22.04.42-.1.46-.33L15 .3c.04-.2-.1-.4-.32-.45z" fill="#FFF" fill-rule="nonzero"></path><path fill="#3EA6FF" fill-rule="nonzero" d="M13.8.98L5.53-.35l-1.6 9.83 8.25 1.54"></path><path d="M8.03 8.05c-1.1-.48-1.6-1.53-1.68-2.66C6.28 4.2 7.7-.4 7.7-.4c.26-1.2 1.5-2.37 2.7-2.1 1.2.3 1.95 1.47 1.67 2.67 0 0-1 4.95-1.3 5.33-.3.38-1.17 2.84-2.74 2.5z" fill="#FF534F" fill-rule="nonzero"></path><path d="M9.8.9s-.88 2.33-1.04 3.9" stroke="#D90A17" stroke-width=".62" stroke-linecap="round" stroke-linejoin="round"></path></g></g></g><path d="M85.77 34.3c-3.73 2.27-1.92 6.38-1.92 6.38s1.68 1.06 3.15.9c2.08-.35 1.57-2 1.06-2.5 1.57-.76.44-2.34.44-2.34s1.6-1.43-.54-2.12c-.48-.3-2.2-.3-2.2-.3z" fill="#CE4115" fill-rule="nonzero"></path><g transform="translate(1.232 18.065)"><path d="M12.94 51.66c8.47.07 12.4-8.86 13.6-12.2.22-.7.4-1.38.53-2.1l.28-1.63c.8-4.64 4.04-8.52 8.5-10.1 7.32-2.57 7.8-8.1 7.8-12.18 0-2.7-1.28-11.06-11.05-11.06-7.84 0-9.75 4.6-11.2 9.3-1.4 4.5-1.55 11.4-9.26 12.5-9 1.4-12.68 9.2-11.77 16.1.83 6.3 6.22 11.1 12.57 11.2z" fill="#4620AE" fill-rule="nonzero"></path><g transform="translate(47.625)"><path fill="#FF9BEA" fill-rule="nonzero" d="M8.45 19.94V10.9h3.7l.27 9.5"></path><path d="M4.3 4.34c9.85 3.52 11.97 10.07 12.3 11.4.04.14.02.3-.05.43l-.16.3c-.1.18-.4.27-.6.2-1.7-.56-8.9-3.45-11.6-12.33z" fill="#6F38D4" fill-rule="nonzero"></path><g transform="translate(4.106 4.106)"><path fill="#00D4B5" fill-rule="nonzero" mask="url(#artwork__j)" d="M1.12 5.27L5.1 1.3.2-.58"></path></g><path d="M.17.27S7.42.9 5.7 4.77l-.32.45c-.37.5-.9.86-1.53.93C.85 6.5.17.27.17.27z" fill="#CE4115" fill-rule="nonzero"></path><path d="M.5 4.78c3.33.52 2.47-1.25 1.72-1.56-.6-.83.44-1.4 1.57-.35 1.1 1.06 1.9-1.7 1.9-1.7L.1-3.88l-1.98 5s-1 3.12 2.3 3.65z" fill="#FFC100" fill-rule="nonzero" mask="url(#artwork__l)"></path><ellipse fill="#FF9BEA" fill-rule="nonzero" cx="8.21" cy="11.85" rx="1.72" ry="2.04"></ellipse><circle fill="#FF9BEA" fill-rule="nonzero" cx="9.49" cy="6.99" r="1.68"></circle><circle fill="#FF9BEA" fill-rule="nonzero" cx="11.71" cy="8.68" r="1.68"></circle><circle fill="#FF9BEA" fill-rule="nonzero" cx="13.86" cy="10.37" r="1.68"></circle></g><path d="M25.8 50.22c-4.63-5.5-3.36-11.5-2.75-13.48.06-.2.36-.2.42 0l2.6 9.73c0 .1.1.16.2.16h14c.1 0 .2-.1.2-.2l.37-8.97c0-.23.3-.3.42-.1.8 1.57 3.1 4.43 9.28 3.63 11.9-1.1 10.76-19.6 10.58-21.7 0-.1-.1-.2-.2-.2H55.5c-.13 0-.23.1-.22.2.12 1.8.7 13.6-5.9 16.1h-.1c-8.06-.8-3.9-10.7-10.34-10.7h-13.9c-.44 0-.87 0-1.3.2-8.96 2.6-7.8 17.1-7.8 17.1s-.04 6.9 7.2 12.5c6.36 5 8.33 2.2 2.66-4.5z" fill="#F949B4" fill-rule="nonzero"></path><path d="M26.1 46.63s8.83-.82 14.37 0c0 0 11.9 12.22 11.9 38.33 12.53 17-8.1 29.82-8.1 29.82H19.94s-8.92-39.72 6.16-68.15z" fill="#9A4DFF" fill-rule="nonzero"></path><path d="M29.8 21.6v3.78c0 .24.05.48.15.7.28.57.94 1.55 2.26 1.55 1.2 0 1.9-.67 2.4-1.18.3-.32.4-.72.4-1.13l-.1-3.82c0-.87-.7-1.56-1.6-1.56h-1.7c-.9 0-1.6.74-1.6 1.65z" fill="#FF9BEA" fill-rule="nonzero"></path><path d="M39.86 15.98c0-4.03-3.2-7.7-7.5-7.7-4.27 0-7.5 3.67-7.5 7.7s3.37 6.48 7.5 6.48c4.14 0 7.5-2.45 7.5-6.48z" fill="#FF9BEA" fill-rule="nonzero"></path><circle fill="#4620AE" fill-rule="nonzero" cx="29.9" cy="7.26" r="3.33"></circle><circle fill="#4620AE" fill-rule="nonzero" cx="35.01" cy="7.26" r="3.33"></circle><path d="M25 15.48h.55c.68 0 1.23-.55 1.23-1.23v-.54c0-.6-.55-1.2-1.23-1.2H25c-.67 0-1.22.6-1.22 1.3v.6c0 .7.55 1.3 1.23 1.3zm14.18 0h.54c.67 0 1.23-.55 1.23-1.23v-.54c0-.6-.56-1.2-1.23-1.2h-.54c-.68 0-1.24.6-1.24 1.3v.6c0 .7.56 1.3 1.24 1.3z" fill="#FF9BEA" fill-rule="nonzero"></path><path d="M40.06 12.76c-.9-.53-1.36-.73-2.46-.4m-10.68 0c-1.1-.33-1.64-.15-2.46.4" stroke="#FF534F" stroke-width=".82" stroke-linecap="round"></path><g transform="translate(26.276 9.443)"><circle fill="#FFD61D" fill-rule="nonzero" cx="2.89" cy="2.85" r="2.77"></circle><circle fill="#404040" fill-rule="nonzero" cx="2.89" cy="2.85" r="2"></circle><path d="M3.08 1.54c.62 0 1.12.5 1.12 1.12" stroke="#EEE" stroke-width=".5" stroke-linecap="round" stroke-linejoin="round"></path></g><g transform="translate(32.434 9.443)"><circle fill="#FFD61D" fill-rule="nonzero" cx="3.1" cy="2.85" r="2.77"></circle><circle fill="#404040" fill-rule="nonzero" cx="3.1" cy="2.85" r="2"></circle><path d="M3.28 1.54c.62 0 1.13.5 1.13 1.12" stroke="#EEE" stroke-width=".5" stroke-linecap="round" stroke-linejoin="round"></path></g><path d="M28.57 16.25h6.15s.75 4.57-3.07 4.57c-3.83 0-3.08-4.57-3.08-4.57z" fill="#404040" fill-rule="nonzero"></path><g transform="translate(28.328 16.012)"><ellipse fill="#FF534F" fill-rule="nonzero" mask="url(#artwork__n)" cx="3.09" cy="5" rx="2.56" ry="2.1"></ellipse></g></g><path d="M125.25 68.56c.75-2.77-2.43-3.3-3.18-2.92 0 0-4.53 2.18-4.53-.68 0-2.33 2.52-2.86 3.46-2.97.5-.1.95-.3 1.37-.5.92-.6 2-1.8 1.04-4.2-1.2-3.5-2-6.8-2-6.8-1-3.8 2.6-5 3.2-2 .4 2.2.8 4.5 2 7 .2.3.7.2.6-.1 0-2.5-1.6-8.6-1.6-8.6-.1-3.1 2.6-3.3 3.3-1.6 0 0 1.3 7.5 1.4 9.2.2 1.3.9 1.7 1.1-.6 0-1.5.05-5 .5-7 1-2.1 3.3-1.7 3.07.7 0 2.9-.6 6.1-1.1 7.9-.24 1 .9 1.5 1.44.5.3-.6.9-1.7 1.9-3.2 1.96-2.18 3.45-.07 2.03 2.8-2.03 4-5.16 6.6-5.7 11.3v2.6l-7.64.4-.38-1.58z" fill="#FFAE47" fill-rule="nonzero"></path><g transform="translate(29.56 69.795)"><path fill="#FFAE47" fill-rule="nonzero" d="M5.16 13.8h7.4v18.88h-7.4z"></path><path d="M.86 25.3l3.37 3.02c.36.32.9.26 1.2-.12l12.44-16.52c.27-.36.2-.88-.18-1.15L14 7.9c-.36-.27-.86-.2-1.13.16L.74 24.2c-.25.34-.2.82.1 1.1z" fill="#404040" fill-rule="nonzero"></path><circle fill="#67C0FF" fill-rule="nonzero" cx="18.37" cy="6.64" r="6.46"></circle><g transform="translate(11.906)"><path d="M7.83-1.4L4.55 15.43M9.48-1.4l-3.3 16.83M11.12-1.4l-3.3 16.83M12.76-1.4L9.48 15.43M6.2-1.4L2.9 15.43M4.55-1.4l-3.3 16.83M2.9-1.4L-.37 15.43m-.55-3.63L13.3 2.22m-15.4 8.42l14.24-9.58m-15.4 8.42L11-.1M-4.4 8.32L9.8-1.26M.24 12.96l14.22-9.58M1.4 14.12l14.23-9.58M2.56 15.3l14.22-9.6" mask="url(#artwork__p)" stroke="#2F82FF" stroke-width=".5"></path></g><g transform="translate(11.906)"><path d="M0 .8c1.84 6.25 6.15 10.23 12.43 12.43" stroke="#2F82FF" stroke-width="1.23" mask="url(#artwork__r)"></path></g><ellipse fill="#FFAE47" fill-rule="nonzero" cx="12.26" cy="19.36" rx="2.86" ry="3.39"></ellipse><circle fill="#FFAE47" fill-rule="nonzero" cx="3.25" cy="18.42" r="2.86"></circle><circle fill="#FFAE47" fill-rule="nonzero" cx="6.1" cy="14.66" r="2.86"></circle><circle fill="#FFAE47" fill-rule="nonzero" cx="8.98" cy="11.01" r="2.86"></circle></g><path d="M76.03 87.65H76c-.37.05-5.77.62-13.75 1.17-9.2.63-8.9 10.42-8.9 10.42s.84 21.64-4.72 21.5c-7.92-.23-6.04-16.73-5.75-19 .02-.14-.1-.25-.23-.26l-8.47-.12c-.14 0-.25.12-.24.26l1.62 14.43c0 .3.63 13.7 12.04 13.7 6.35-.22 10.47-4.28 11.74-5.73.15-.16.4-.06.4.16l-.1 8.43c0 .2.1.3.23.3h32.1c.13 0 .23-.1.23-.2v-30.5c0-.2.23-.3.38-.2 1.52 1.3 7.57 5.7 17.82 7.1h.02c25.2 2.2 23.68-24.9 23.66-25.2V69.1c0-.13-.1-.24-.24-.24h-8.94c-.14 0-.25.1-.23.2.43 2.8 3.7 26.7-7.64 30.15C105 102.9 94.1 87.8 84.6 88c-3.9.04-8.25-.28-8.57-.3z" fill="#00AEA8" fill-rule="nonzero"></path><path d="M70.34 72.25l-.57 19.38s-.26 3.55 4.18 3.55c3.67 0 5.62.3 6.35-2.5.74-2.8.74-4.85.74-4.85l-5.3-17.23-5.4 1.65z" fill="#FFAE47" fill-rule="nonzero"></path><path d="M69.23 55.6l-9.4 5.98-6.48-4.32-.03-.02c-.27-.2-4.28-3.34-3.03-7.8.4-1.6 1.8-2.74 3.5-2.92 8.2-.85 7.4 11.18 15.4 9.1z" fill="#3EA6FF" fill-rule="nonzero"></path><path d="M85.48 67.38c0 8.06-6.23 14.6-13.9 14.6-7.7 0-13.9-4-13.9-14.6 0-8.05 6.2-14.58 13.9-14.58 7.67 0 13.9 6.53 13.9 14.58z" fill="#FFAE47" fill-rule="nonzero"></path><g transform="translate(57.478 52.55)"><path d="M6.2-1.75s-.46 14.83 2.3 15.97c3 1.25 1.97-3.17 4.47-3.42 2.5-.26 1.13 5.07 6.93 2.8 2.9-4.2.88 4.04.88 4.04s.88 6.96 8.5 4.94c7.6-2.02 3.8-4.94 3.8-4.94L6.2-1.76z" fill="#CE4115" fill-rule="nonzero" mask="url(#artwork__t)"></path></g><g transform="translate(57.478 52.55)"><path fill="#3EA6FF" fill-rule="nonzero" mask="url(#artwork__v)" d="M5.06.85l25.66 19 5.34-11L15.33-5.2"></path></g><path d="M73.66 66.93c2-1.1 1.85-3.1 2.68-3.73.83-.63 3.75-.93 4.36.57 1.37 2.57.6 6.26-2.2 6.5-2.76.24-3.6-.55-3.6-.55s-3.36-1.6-1.24-2.8zM60.98 59.9l-3.03-1.95s-2.72-2.12-3.78.83c-1.06 2.96 4.54 5.62 4.54 5.62l2.3-4.5z" fill="#FFAE47" fill-rule="nonzero"></path><path d="M72.3 64.9s.7 1.7 1.83 1.7c.8 0 1.48-2.13 1.48-2.13l-3.3.43z" fill="#CE4115" fill-rule="nonzero"></path><path d="M61.17 68.96l9.43.24c.15 0 .27.12.3.27.22 1.5 1.2 9.1-2.46 9.34-8.6.3-7.82-7.9-7.58-9.5 0-.1.15-.2.3-.2z" fill="#404040" fill-rule="nonzero"></path><g transform="translate(60.352 68.563)"><path d="M5.6 6.65c-.47-.7-3.16-2.05-3.88.94-.56 1.3-.04 5.9 3.08 5.7 3.13-.3 5.65-1.3 5.65-1.3s.66-1.4.38-4.5c.07-2-3.92-3.1-5.23-1z" fill="#FF534F" fill-rule="nonzero" mask="url(#artwork__x)"></path></g><path d="M8.77 29.37s-.24-1.16.8-1.8c1.13-.87 1.08-2.34 1.95-2.75 1.58-.52 1.05 2.05.5 3.08l2.6-.3s1.6-.38 1.37.85l-.9 4.28c-.1.46-.5.82-1 .87l-3.9.46c-1.3.22-1.2-1.3-1.2-1.3-.2-1.15-.2-1.96-.4-3.4zm-2.55-.34l.84-.12c.3 0 .6.2.64.5 0 1.8.3 3.1.62 4.4.04.3-.16.6-.45.6l-.73.1c-.3.1-.57-.1-.62-.4-.4-1.4-.76-2.8-.72-4.4-.04-.2.15-.5.42-.5zm122.16-7.37s.3-1.15 1.5-1.27c1.42-.3 2.03-1.6 3-1.6 1.63.2 0 2.3-.94 3l2.47.8s1.7.4.9 1.4l-2.6 3.4c-.3.3-.8.5-1.2.3l-3.6-1.3c-1.2-.4-.4-1.7-.4-1.7.4-1.2.7-1.9 1.2-3.3zm-2.13-1.44l.8.28c.3.1.46.42.36.72-.7 1.54-1 2.86-1.3 4.18-.1.28-.4.42-.6.34l-.7-.23c-.3 0-.4-.3-.3-.6.3-1.4.6-2.9 1.4-4.3.1-.2.4-.4.6-.3z" fill="#3EA6FF" fill-rule="nonzero"></path><g transform="translate(72.258 20.117)" fill="#F00" fill-rule="nonzero"><circle transform="rotate(-73.896 3.604 3.577)" cx="3.6" cy="3.58" r="2.8"></circle><circle transform="rotate(-73.896 8.125 4.88)" cx="8.12" cy="4.88" r="2.8"></circle><path d="M.98 2.8C.2 3.86 2.48 7.84 3.9 11c3.18-2 7.14-4.26 6.85-5.37L.98 2.8z"></path></g></g><path d="M125.25 68.56c.75-2.77-2.43-3.3-3.18-2.92 0 0-4.53 2.18-4.53-.68 0-2.33 2.52-2.86 3.46-2.97.5-.1.95-.3 1.37-.5.92-.6 2-1.8 1.04-4.2-1.2-3.5-2-6.8-2-6.8-1-3.8 2.6-5 3.2-2 .4 2.2.8 4.5 2 7 .2.3.7.2.6-.1 0-2.5-1.6-8.6-1.6-8.6-.1-3.1 2.6-3.3 3.3-1.6 0 0 1.3 7.5 1.4 9.2.2 1.3.9 1.7 1.1-.6 0-1.5.05-5 .5-7 1-2.1 3.3-1.7 3.07.7 0 2.9-.6 6.1-1.1 7.9-.24 1 .9 1.5 1.44.5.3-.6.9-1.7 1.9-3.2 1.96-2.18 3.45-.07 2.03 2.8-2.03 4-5.16 6.6-5.7 11.3v2.6l-7.64.4-.38-1.58z" fill="#FFAE47" fill-rule="nonzero"></path><path d="M62.24 88.82c-9.2.63-8.88 10.42-8.88 10.42s.82 21.64-4.73 21.5c-7.93-.23-6.05-16.73-5.75-19 .02-.14-.1-.25-.23-.26l-8.48-.12c-.13 0-.25.12-.23.26l1.6 14.43c.03.3.65 13.7 12.05 13.7 6.3-.22 10.4-4.28 11.7-5.73.1-.16.4-.06.4.16m32.4-22.03c0-.2.2-.3.3-.18 1.5 1.24 7.5 5.68 17.8 7.12 25.2 2.1 23.7-24.9 23.6-25.3V69c0-.13-.1-.24-.3-.24h-8.97c-.1 0-.23.1-.2.23.42 2.8 3.7 26.7-7.65 30.1-11.9 3.8-22.8-11.3-32.3-11.2" fill="#00AEA8" fill-rule="nonzero"></path><g transform="translate(10.674 10.674)"><path d="M49.1 122.58c-.18 0-.32-.2-.3-.36l.4-30.46c0-.16.14-.38.3-.38.18 0 .32.2.3.36l-.4 30.46c0 .17-.14.38-.3.38z" fill="#008596" fill-rule="nonzero" mask="url(#artwork__z)"></path></g></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="hashtag-landing-page"><svg><defs><g viewBox="0 0 200 200" id="hashtag_landing_page_empty"><defs><style>\n      .hashtag_landing_page_empty__cls-1{fill:none}.hashtag_landing_page_empty__cls-2{fill:#ffac73}.hashtag_landing_page_empty__cls-3{clip-path:url(#hashtag_landing_page_empty__a)}.hashtag_landing_page_empty__cls-4{fill:#006}.hashtag_landing_page_empty__cls-5{fill:#a4c5ff}\n    </style></defs><path class="hashtag_landing_page_empty__cls-2" d="M33.29 108.2l82.31-63.48 26.5 40.27L40.49 122.1z"></path><g class="hashtag_landing_page_empty__cls-3" clip-path="url(#hashtag_landing_page_empty__a)"><path class="hashtag_landing_page_empty__cls-4" d="M29.41 115a7.83 7.83 0 117.82 7.83 7.82 7.82 0 01-7.82-7.83M106.6 63c0-13.22 11.46-23.95 25.6-23.95s25.59 10.7 25.59 23.95-11.46 24-25.59 24-25.6-10.72-25.6-24"></path><path class="hashtag_landing_page_empty__cls-5" d="M123.7 63a8.56 8.56 0 118.55 8 8.29 8.29 0 01-8.55-8"></path><path class="hashtag_landing_page_empty__cls-5" d="M132.22 81.61c-11 0-19.89-8.36-19.89-18.64s8.92-18.64 19.89-18.64S152.1 52.7 152.1 63s-8.92 18.64-19.88 18.64m0-36.28c-10.42 0-18.89 7.92-18.89 17.64s8.47 17.64 18.89 17.64S151.1 72.7 151.1 63s-8.47-17.64-18.88-17.64"></path><path class="hashtag_landing_page_empty__cls-4" d="M128.4 166l-38.06-60.5L61.22 166l-.67-.3 29.7-61.7L129 165.6z"></path><path class="hashtag_landing_page_empty__cls-4" d="M84.51673945 165.77552827l5.40121727-61.1218165.7470887.0660188-5.40121727 61.1218165z"></path><path fill="#ff8d40" d="M59.09 88.34l10.77 23.06L109 97.11 91.92 63.02z"></path></g><g class="hashtag_landing_page_empty__cls-3" clip-path="url(#hashtag_landing_page_empty__a)"><path class="hashtag_landing_page_empty__cls-2" d="M177.3 91.43c1 8.51-4 17.36-11.59 21.17a15.22 15.22 0 01-1.35 5.46c-2.31 5.06-6.75 8.17-10.06 9.89a31.58 31.58 0 01-27.51.5l.3-.62a30.87 30.87 0 0026.89-.49c3.22-1.67 7.52-4.68 9.75-9.56a14.59 14.59 0 001.27-4.84c-.48.21-1 .41-1.47.58-3.71 1.29-7.26 1.24-10-.16h-.07c-3.28-1.72-5-5.6-3.92-8.69a7 7 0 016.72-4.32 9.43 9.43 0 017.11 4 12.6 12.6 0 012.36 7.53 20.82 20.82 0 0010.88-20.3zm-12.26 20.73a12 12 0 00-2.22-7.47 8.7 8.7 0 00-6.58-3.68 6.26 6.26 0 00-6 3.85c-.88 2.43.25 6.1 3.58 7.85h.08c3.46 1.76 7.41.83 9.45.12.59-.21 1.17-.45 1.74-.71"></path><path fill="#ff4c3e" d="M55.29 65.57l-.34-.74-6.37 2.94-2.17-6.33-.77.26 2.2 6.41-5.02 2.31.34.73 4.94-2.27 1.83 5.31.77-.26-1.86-5.4z"></path><path class="hashtag_landing_page_empty__cls-2" d="M30.89 48.18a4.21 4.21 0 11-3.32-4.94 4.21 4.21 0 013.32 4.94"></path><path class="hashtag_landing_page_empty__cls-5" d="M77.48 31.28l-15.92-1.52 7.37 15.59z"></path><path class="hashtag_landing_page_empty__cls-4" d="M29.41 165.5h114v.75h-114zM148.5 165.5h5.87v.75h-5.87zM159 165.5h17.84v.75H159z"></path></g></g><g viewBox="0 0 200 200" id="hashtag_landing_page_empty_dark_mode"><defs><style>\n      .hashtag_landing_page_empty_dark_mode__cls-1{fill:none}.hashtag_landing_page_empty_dark_mode__cls-3{clip-path:url(#hashtag_landing_page_empty_dark_mode__a)}.hashtag_landing_page_empty_dark_mode__cls-4{fill:#005cff}.hashtag_landing_page_empty_dark_mode__cls-5{fill:#00e5be}.hashtag_landing_page_empty_dark_mode__cls-6{fill:#6ea2ff}\n    </style></defs><path fill="#a4c5ff" d="M33.72 108.2l82.38-63.48 26.5 40.27L40.93 122.1z"></path><g class="hashtag_landing_page_empty_dark_mode__cls-3" clip-path="url(#hashtag_landing_page_empty_dark_mode__a)"><path class="hashtag_landing_page_empty_dark_mode__cls-4" d="M29.84 115a7.83 7.83 0 117.83 7.83 7.82 7.82 0 01-7.83-7.83M107 63c0-13.22 11.46-23.95 25.6-23.95s25.59 10.7 25.59 23.95-11.46 24-25.59 24S107 76.28 107 63"></path><path class="hashtag_landing_page_empty_dark_mode__cls-5" d="M124.1 63a8.56 8.56 0 118.55 8 8.29 8.29 0 01-8.55-8"></path><path class="hashtag_landing_page_empty_dark_mode__cls-5" d="M132.6 81.61c-11 0-19.89-8.36-19.89-18.64s8.92-18.64 19.89-18.64S152.49 52.7 152.49 63s-8.93 18.64-19.89 18.64m0-36.28c-10.41 0-18.89 7.92-18.89 17.64s8.48 17.64 18.89 17.64S151.49 72.7 151.49 63s-8.48-17.64-18.89-17.64M128.7 166.1l-37.92-60.3-29.01 60.3-.9-.5 29.8-61.9 38.93 61.9z"></path><path class="hashtag_landing_page_empty_dark_mode__cls-5" d="M84.8549784 165.83839492l5.40121727-61.1218165.99611826.08802505-5.40121727 61.1218165z"></path><path class="hashtag_landing_page_empty_dark_mode__cls-6" d="M59.52 88.34L70.3 111.4l39.1-14.29-17.05-34.09z"></path></g><g class="hashtag_landing_page_empty_dark_mode__cls-3" clip-path="url(#hashtag_landing_page_empty_dark_mode__a)"><path class="hashtag_landing_page_empty_dark_mode__cls-6" d="M177.8 91.43c1 8.51-3.95 17.36-11.59 21.17a15 15 0 01-1.35 5.46c-2.31 5.06-6.74 8.17-10.05 9.89a31.58 31.58 0 01-27.51.5l.29-.62a30.89 30.89 0 0026.9-.49c3.21-1.67 7.51-4.68 9.74-9.56a14.35 14.35 0 001.27-4.84c-.48.21-1 .41-1.47.58-3.71 1.29-7.26 1.24-10-.16h-.08c-3.27-1.72-5-5.6-3.92-8.69a7 7 0 016.73-4.32 9.41 9.41 0 017.1 4 12.54 12.54 0 012.36 7.53 20.83 20.83 0 0010.89-20.3zm-12.26 20.73a12 12 0 00-2.22-7.47 8.68 8.68 0 00-6.57-3.69 6.27 6.27 0 00-6.06 3.85c-.87 2.43.25 6.1 3.58 7.85h.08c3.46 1.76 7.41.83 9.45.12.6-.21 1.18-.45 1.74-.71M55.72 65.57l-.34-.74-6.37 2.94-2.17-6.33-.77.26 2.2 6.41-5.02 2.31.34.73 4.95-2.27 1.83 5.31.76-.26-1.86-5.4z"></path><path class="hashtag_landing_page_empty_dark_mode__cls-4" d="M31.32 48.18A4.21 4.21 0 1128 43.24a4.2 4.2 0 013.32 4.94"></path><path class="hashtag_landing_page_empty_dark_mode__cls-5" d="M77.91 31.28L62 29.76l7.36 15.59zM29.84 165.4h114v1h-114zM148.9 165.4h5.87v1h-5.87zM159.4 165.4h17.84v1H159.4z"></path></g></g><g viewBox="0 0 300 300" id="hashtag_landing_page_error"><defs><style>\n      .hashtag_landing_page_error__cls-1{fill:none}.hashtag_landing_page_error__cls-2{clip-path:url(#hashtag_landing_page_error__a)}.hashtag_landing_page_error__cls-5{fill:#ff8780}.hashtag_landing_page_error__cls-10{fill:#e4e4e4}.hashtag_landing_page_error__cls-14{fill:#2d79ff}\n    </style></defs><g class="hashtag_landing_page_error__cls-2" clip-path="url(#hashtag_landing_page_error__a)"><path d="M286.1 150.6c-7.88 45.31-57.87 77.57-109.2 68.65s-85.92-55.9-78-101.2c7.14-41.29 55.8-74.81 107.1-65.89s88 53.14 80.08 98.45" fill="#ffbebb"></path><path d="M232.6 137.7a42.07 42.07 0 11-42.07-42.08 42.07 42.07 0 0142.07 42.08" fill="#ff8c34"></path><path class="hashtag_landing_page_error__cls-5" d="M184.6 197.7c.92 1.26.46 2.45-.8 3.37s-2.83 1.25-3.76 0a2.82 2.82 0 01.88-3.9 2.5 2.5 0 013.68.54M146.73157003 69.19721195l1.37433444-.67238742 4.90886765 10.03353967-1.37433444.67238742z"></path><path class="hashtag_landing_page_error__cls-5" d="M145.45139157 78.3317295l8.11104295-6.83981595.98632596 1.16964145-8.11104295 6.83981595z"></path></g><g clip-path="url(#hashtag_landing_page_error__c)"><path class="hashtag_landing_page_error__cls-5" d="M97.84 141.7c-13.72 0-23.29-9.79-23.29-23.8 0-14.7 10.44-26.67 23.29-26.67 13.42 0 23.15 10.36 23.15 24.64 0 14.49-10.17 25.83-23.15 25.83m0-48.94c-12 0-21.76 11.28-21.76 25.14 0 13.11 8.94 22.27 21.76 22.27 12.12 0 21.62-10.67 21.62-24.3 0-13.39-9.09-23.11-21.62-23.11M262.6 72.57c0 5.93-6 10.15-11.94 10.15s-10.74-3.62-10.74-9.55a10.74 10.74 0 0110.74-10.75c5.94 0 11.94 4.21 11.94 10.15M171.8 253.8l-1.42-.58c6.93-16.6 15-33.65 29.94-43.66 7.41-4.94 16-7.72 24.32-10.41 6.25-2 12.72-4.12 18.61-7.11a63.07 63.07 0 0025.84-24.55 125.3 125.3 0 006.52-13.89 116.7 116.7 0 017.25-15.15c5.21-8.66 14.84-17.71 26.32-17l-.08 1.53c-10.76-.59-20 8-24.93 16.31a115.8 115.8 0 00-7.15 15 129.9 129.9 0 01-6.6 14.06A64.63 64.63 0 01244 193.4c-6 3.05-12.53 5.16-18.84 7.21-8.22 2.65-16.71 5.4-23.94 10.23-14.64 9.77-22.54 26.58-29.37 43"></path></g><path class="hashtag_landing_page_error__cls-5" d="M258.3652172 155.30849565l1.3684145-.684355 4.2716276 8.54141075-1.3684145.684355z"></path><path class="hashtag_landing_page_error__cls-5" d="M256.6 164.1l-1-1.1 10.2-9.9 1 1.1z"></path><g class="hashtag_landing_page_error__cls-2" clip-path="url(#hashtag_landing_page_error__a)"><path d="M212.1 82.78c37.59 1.71 52.54 19.65 51.54 39.44-1 20.11-20 36.74-61.4 49.27-48 14.54-113.5 31.34-113.5 31.34L70.07 191.9s86.95-23.09 107-28.74c15.16-4.27 64.85-16.73 71.75-39.29 6.31-20.61-12.52-31.91-35.38-36.1-21.81-4-60.36 1.71-60.36 1.71s29.7-8 59.05-6.7" fill="#fff"></path><path class="hashtag_landing_page_error__cls-10" d="M88.65489699 196.57848177l54.39567991-13.92596522.37946085 1.48219752-54.3956799 13.9259652zM89.70866435 190.9287484l35.59368744-9.38432283.39005742 1.47944422-35.59368743 9.38432283z"></path><path fill="#6b9fff" d="M1.49 219.9l62.64-49.8L124.8 212z"></path></g><g clip-path="url(#hashtag_landing_page_error__b)"><path d="M64.13 172l.85.6-7.85 4.27 7-4.87m0-1.87S38.29 188 36.9 189.62l31-16.87z" fill="#7c35dd"></path><path class="hashtag_landing_page_error__cls-14" d="M124.8 212l-12.24-9.4-67.77 18.34c17.51-1.17 80-9 80-9M36.9 189.62l34.92-15.23-7.69-4.28S38.29 188 36.9 189.62"></path></g><path class="hashtag_landing_page_error__cls-14" d="M56.44 196.7l41.4-32.7-7.79 24z"></path><g class="hashtag_landing_page_error__cls-2" clip-path="url(#hashtag_landing_page_error__a)"><path class="hashtag_landing_page_error__cls-14" d="M42.11 197.8s-4.19 3.08-2 6.4c2.65 4 17 1.51 17 1.51s-18.72 7.27-22 1.69c-3-5.15 7-9.6 7-9.6"></path></g></g><g viewBox="0 0 300 300" id="hashtag_landing_page_error_dark_mode"><defs><style>\n      .hashtag_landing_page_error_dark_mode__cls-1{fill:none}.hashtag_landing_page_error_dark_mode__cls-2{clip-path:url(#hashtag_landing_page_error_dark_mode__a)}.hashtag_landing_page_error_dark_mode__cls-5{fill:#00c19f}.hashtag_landing_page_error_dark_mode__cls-10{fill:#fff}.hashtag_landing_page_error_dark_mode__cls-14{fill:#007b65}\n    </style></defs><g class="hashtag_landing_page_error_dark_mode__cls-2" clip-path="url(#hashtag_landing_page_error_dark_mode__a)"><path d="M285.6 150.6c-7.85 45.14-57.66 77.28-108.8 68.39s-85.61-55.69-77.76-100.8c7.16-41.14 55.64-74.54 106.7-65.66s87.64 53 79.78 98.1" fill="#005d7b"></path><path d="M232.3 137.7a41.92 41.92 0 11-41.92-41.92 41.92 41.92 0 0141.92 41.92" fill="#00b8e6"></path><path class="hashtag_landing_page_error_dark_mode__cls-5" d="M184.4 197.6c.92 1.25.46 2.44-.79 3.36s-2.83 1.24-3.75 0a2.81 2.81 0 01.88-3.88 2.48 2.48 0 013.66.54M146.72832894 69.49907133l1.36523526-.66823102 4.89742999 10.00573733-1.36523526.66823102z"></path><path class="hashtag_landing_page_error_dark_mode__cls-5" d="M145.4554491 78.53813682l8.08046408-6.81402965.98632596 1.16964144-8.08046409 6.81402965z"></path></g><g clip-path="url(#hashtag_landing_page_error_dark_mode__c)"><path class="hashtag_landing_page_error_dark_mode__cls-5" d="M98 141.7c-13.67 0-23.21-9.75-23.21-23.71.03-14.65 10.44-26.58 23.21-26.58 13.37 0 23.07 10.33 23.07 24.56 0 14.43-10.13 25.73-23.07 25.73m0-48.76c-12 0-21.68 11.24-21.68 25 0 13.06 8.91 22.18 21.68 22.18 12.08 0 21.55-10.63 21.55-24.2 0-13.34-9.07-23-21.55-23M262.2 72.85c0 5.92-6 10.11-11.9 10.11s-10.7-3.6-10.7-9.51a10.7 10.7 0 0110.7-10.71c5.92 0 11.9 4.2 11.9 10.11M171.7 253.4l-1.41-.59c6.9-16.54 14.89-33.53 29.83-43.49 7.38-4.93 15.94-7.7 24.22-10.38 6.24-2 12.68-4.1 18.56-7.08a62.89 62.89 0 0025.73-24.46 125.3 125.3 0 006.5-13.84 117.2 117.2 0 017.22-15.1c5.2-8.63 14.84-17.63 26.23-17l-.08 1.52c-10.77-.6-19.88 8-24.84 16.25a117.6 117.6 0 00-7.13 14.9 126.2 126.2 0 01-6.57 14 64.35 64.35 0 01-26.37 25c-6 3-12.49 5.15-18.78 7.18-8.18 2.65-16.64 5.39-23.85 10.19-14.58 9.74-22.45 26.49-29.26 42.82"></path></g><g class="hashtag_landing_page_error_dark_mode__cls-2" clip-path="url(#hashtag_landing_page_error_dark_mode__a)"><path class="hashtag_landing_page_error_dark_mode__cls-5" d="M257.9327327 155.29797313l1.36841449-.684355 4.25820888 8.5145791-1.3684145.684355z"></path><path class="hashtag_landing_page_error_dark_mode__cls-5" d="M256.2 164l-1-1.1 10.2-9.8 1 1.1z"></path></g><g class="hashtag_landing_page_error_dark_mode__cls-2" clip-path="url(#hashtag_landing_page_error_dark_mode__a)"><path d="M211.85 83c37.45 1.7 52.35 19.57 51.36 39.29-1 20-20 36.61-61.18 49.09C154.21 185.9 89 202.63 89 202.63l-18.66-10.88s86.6-23 106.58-28.64c15.1-4.25 64.61-16.67 71.49-39.15 6.29-20.53-12.48-31.79-35.25-36C191.43 84 153 89.7 153 89.7s29.6-8 58.84-6.67" fill="#cbcd00"></path><path class="hashtag_landing_page_error_dark_mode__cls-10" d="M88.89290963 196.45456298l54.19224104-13.87388235.37946085 1.4821975-54.19224104 13.87388236zM89.95036936 190.81553876l35.45817104-9.38831755.38904697 1.46936805-35.45817105 9.38831754z"></path><path fill="#6b9fff" d="M2.03 219.7L64.45 170l60.45 41.8z"></path><path class="hashtag_landing_page_error_dark_mode__cls-5" d="M2.03 219.7L64.45 170l60.45 41.8z"></path></g><g clip-path="url(#hashtag_landing_page_error_dark_mode__b)"><path d="M64.44 171.9l.85.6-7.82 4.25 7-4.85m0-1.86s-25.77 17.84-27.15 19.43l30.85-16.8z" fill="#7c35dd"></path><path class="hashtag_landing_page_error_dark_mode__cls-14" d="M124.9 211.8l-12.2-9.37-67.53 18.3c17.45-1.17 79.73-8.93 79.73-8.93M37.32 189.5l34.79-15.17-7.66-4.3S38.7 187.91 37.32 189.5"></path></g><g class="hashtag_landing_page_error_dark_mode__cls-2" clip-path="url(#hashtag_landing_page_error_dark_mode__a)"><path class="hashtag_landing_page_error_dark_mode__cls-14" d="M56.79 196.6l41.24-32.7-7.77 24zM42.5 197.6s-4.17 3.08-2 6.38c2.64 4 16.92 1.51 16.92 1.51s-18.66 7.24-21.9 1.68c-3-5.13 7-9.57 7-9.57"></path></g></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="live-chat-badges" size="16"><svg><defs><g transform="scale(0.66)" id="member"><path d="M12,2 C17.5166667,2 22,6.48333333 22,12 C22,17.5166667 17.5166667,22 12,22 C6.48333333,22 2,17.5166667 2,12 C2,6.48333333 6.48333333,2 12,2 Z M14.4,4.9 C11.6666667,3.98333333 8.5,4.675 6.41666667,7.00833333 C4.46666667,9.18333333 4.05,12.375 5.2,15.0583333 C5.58333333,15.9583333 6.09166667,16.6833333 6.68333333,17.2833333 C7.34166667,17.9416667 8.40833333,17.9583333 9.06666667,17.3 L9.06666667,17.3 L14.3666667,12 C14.6916667,11.675 15.2166667,11.675 15.5416667,12 C15.8666667,12.325 15.8666667,12.85 15.5416667,13.175 L15.5416667,13.175 L9.61666667,19.1 C12.35,20.0166667 15.5166667,19.325 17.6,16.9916667 C19.5416667,14.8166667 19.9583333,11.625 18.8166667,8.94166667 C18.4333333,8.04166667 17.925,7.31666667 17.3333333,6.71666667 C16.675,6.05833333 15.6083333,6.04166667 14.95,6.7 L14.95,6.7 L9.65,12 C9.325,12.325 8.8,12.325 8.475,12 C8.15,11.675 8.15,11.15 8.475,10.825 L8.475,10.825 Z"></path></g><g id="moderator"><path d="M9.64589146,7.05569719 C9.83346524,6.562372 9.93617022,6.02722257 9.93617022,5.46808511 C9.93617022,3.00042984 7.93574038,1 5.46808511,1 C4.90894765,1 4.37379823,1.10270499 3.88047304,1.29027875 L6.95744681,4.36725249 L4.36725255,6.95744681 L1.29027875,3.88047305 C1.10270498,4.37379824 1,4.90894766 1,5.46808511 C1,7.93574038 3.00042984,9.93617022 5.46808511,9.93617022 C6.02722256,9.93617022 6.56237198,9.83346524 7.05569716,9.64589147 L12.4098057,15 L15,12.4098057 L9.64589146,7.05569719 Z"></path></g><g id="owner"><polygon points="1.33333333 3.33333333 5.33333333 6 8 2 10.6666667 6 14.6666667 3.33333333 13.3333333 14 2.66666667 14"></polygon></g><g transform="scale(0.66)" id="verified"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="miniplayer" size="24"><svg><defs><g id="cast-connected"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g id="cast"><path d="M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11z"></path></g><g id="keyboard-arrow-down"><path d="M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"></path></g><g id="keyboard-arrow-up"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></path></g><g mirror-in-rtl="" id="miniplayer-expand"><path d="M15 3l2.3 2.3-2.89 2.87 1.42 1.42L18.7 6.7 21 9V3zM3 9l2.3-2.3 2.87 2.89 1.42-1.42L6.7 5.3 9 3H3zm6 12l-2.3-2.3 2.89-2.87-1.42-1.42L5.3 17.3 3 15v6zm12-6l-2.3 2.3-2.87-2.89-1.42 1.42 2.89 2.87L15 21h6z"></path></g><g id="pause"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"></path></g><g id="play-arrow"><path d="M8 5v14l11-7z"></path></g><g id="skip-next"><path d="M6 18l8.5-6L6 6v12zM16 6v12h2V6h-2z"></path></g><g id="skip-previous"><path d="M6 6h2v12H6zm3.5 6l8.5 6V6z"></path></g><g id="volume-off"><path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"></path></g><g id="volume-up"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="offline-no-content"><svg><defs><g viewBox="0 0 192 195" xmlns:xlink="http://www.w3.org/1999/xlink" id="offline_no_content"><defs></defs><g fill="none" fill-rule="evenodd"><path d="M63.227 57.833s-4.403 1.068-5.938 1.483c-1.456.393-4.553 1.79-4.443 6.532.112 4.74.112 4.463.223 5.85.11 1.389 1.11 3.444 3.053 3.999 1.944.555 2.834 1.777 2.444 6.386-.389 4.609 17.055-6.552 17.055-6.552l-5.41-15.82-6.984-1.878z" fill="#DDD"></path><g transform="translate(0 -.341)"><path d="M96.24.675c-17.36 0-24.86 17.956-38.835 24.25-9.382 4.226-31.732.669-39.879 14.75C9.38 53.757 20.86 65.52 15.12 74.544 9.38 83.568-.48 85.263.02 99.774c.5 14.51 20.374 19.494 22.32 30.4 1.946 10.908-4.853 13.059 0 28.997s18.193 17.626 35.867 18.065c17.673.439 14.368 12.34 32.52 16.64 18.153 4.299 29.831-13.08 43.992-16.64 14.161-3.561 24.004.189 32.504-11.311 8.5-11.5-2.77-30.212 3.23-38.855 6-8.643 22.896-13.127 21.418-30.728-1.167-13.883-11.99-16.16-15.24-26.777-3.438-11.225 4.75-21.285-4.25-33.253-10.85-14.428-29.882-3.073-41.805-14.656C118.653 10.072 113.88.675 96.24.675" fill="#6F38D4" mask="url(#offline_no_content__b)"></path></g><path d="M127.519 54.153c1.374-2.688 3.936-3.375 6.061-3.375h31.375c2.188 0 5.418 2.011 3.625 5.875-1.75 3.77-8.833 17.628-9.812 19.625-.9 1.834-2.5 3.562-6.25 3.562h-33.124c-2.5 0-4.064-2.812-2.189-6.5 1.876-3.687 10.314-19.187 10.314-19.187" fill="#282828"></path><path fill="#FF76DA" d="M132.08 54.522h32.314L153.518 75.96h-33.224z"></path><path d="M130.91 72.181c1.96-.157 2.745.471 5.414 0 2.67-.47 3.141-2.617 5.025-2.722 1.884-.105 4.45-.366 6.543-2.04 2.094-1.676 2.827-4.608 1.1-6.073-1.729-1.466-2.723-.262-4.397-.785-1.675-.524-.733-2.513-2.879-3.036-2.147-.524-3.664.471-5.078-.105-1.262-.514-2.104-1.039-2.532-2.898h-2.025L120.294 75.96h4.83c.918-1.467 3.824-3.622 5.785-3.779" fill="#FFD61D"></path><path fill="#FFF771" d="M149.736 64.156l-20.166-5.068-5.573 10.135 23.96-2.388z"></path><path fill="#FFF" d="M148.02 63.81l-18.033 1.087 17.456 2.105z"></path><path d="M166.335 155.314c-7.65-5.535-13.913.717-21.104-6.867-7.19-7.584-.204-10.69-9.321-18.884-9.118-8.193-13.5.819-19.298-4.991-5.797-5.811-2.957-14.741-8.792-20.643-5.834-5.903-16.191.678-22.72-5.88-6.528-6.555-1.388-14.961-9.761-19.945-8.372-4.985-15.748 1.04-21.691-4.531-6.12-5.74-2.37-14.698-9.37-19.05-6.645-4.131-12.298-.594-18.355-3.744-5.782-3.007-7.52-8.195-6.902-13.63a18.305 18.305 0 00-1.495 2.185c-8.147 14.08 3.333 25.845-2.407 34.869-5.74 9.024-15.6 10.719-15.1 25.23.5 14.51 20.374 19.494 22.32 30.4 1.947 10.908-4.853 13.059 0 28.997s18.193 17.626 35.867 18.065c17.673.439 14.368 12.34 32.52 16.64 18.153 4.299 29.832-13.08 43.993-16.64 14.16-3.561 24.004.189 32.504-11.311 1.397-1.891 2.253-3.98 2.746-6.183-.978-1.607-2.172-3.03-3.634-4.087" fill="#4620AE"></path><path d="M35.996 149.688c-2.405-27.576 22.517-52.274 55.666-55.167 38.958-3.398 61.973 17.118 64.378 44.693 2.406 27.576-22.517 52.275-55.666 55.167-33.149 2.892-61.972-17.118-64.378-44.693" fill="#BD79FF"></path><path d="M86.795 123.632c.465 4.071-3.06 7.3-7.8 7.84-4.74.542-9.502-1.3-10.046-6.06-.465-4.072 3.729-7.22 8.468-7.762 4.74-.542 8.869 1.528 9.378 5.982M143.194 136.755c.405 3.685-2.99 6.613-7.52 7.112-4.532.498-9.062-1.16-9.537-5.47-.405-3.685 3.628-6.542 8.16-7.041 4.531-.498 8.454 1.368 8.897 5.399M132.987 159.146c.488 4.187-3.937 7.61-9.808 8.294-5.872.685-11.72-1.087-12.292-5.983-.488-4.186 4.763-7.545 10.634-8.23 5.871-.685 10.932 1.34 11.466 5.92M111.496 185.225c-5.791-4.012-1.343-13.936-7.953-16.37-6.611-2.436-13.361 5.055-18.123-2.686-3.035-4.933 2.563-10.26-3.661-15.454-6.225-5.193-13.257 3.38-18.386-.189-5.128-3.568 1.68-10.789-3.346-16.624-5.026-5.835-13.957 1.822-19.095-2.435-1.026-.849-1.173-2.245-1.072-3.56-3.1 6.776-4.528 14.168-3.864 21.781 2.406 27.575 31.229 47.585 64.378 44.693 10.788-.94 20.694-4.203 29.081-9.11-4.525 2.412-12.183 3.956-17.959-.046" fill="#9A4DFF"></path><path d="M101.622 77.33c5.125 9.375 20.396 11.317 28.646 2.505h-5.5c-1.375 0-1.5-2.063-.75-2.688s2.688-1.312 1.938-2.875c-.75-1.562-3.063-.125-5.625.5-2.563.625-5.5.267-7.5-.937-1.557-.937-4.188-3.438-4.563-10.063-.286-5.054-6.646 13.558-6.646 13.558" fill="#EEE"></path><path d="M67.394 83.835s-.75 8-.876 11.5c-.124 3.5-.874 9.625 5 12.25 5.876 2.625 7 3.375 8.626 4.625 1.624 1.25 3.188 2.937 3.561 5.375.376 2.438-.436 9.188 0 12 .439 2.813 1 3.75 1 3.75h20.48c3.105-6.75-2.553-6.375-4.442-5.935-1.995.466-2.766-1.002-2.078-2.94.686-1.937 3.43-10.182 1.082-14.5-1.938-3.563-5.791-6.094-5.166-7.813.55-1.511 2.727-.812 5.644-.062 2.919.75 5.544 1.562 7.482 2.75 1.937 1.187 2.603 3.372 1.978 6.874-.626 3.5-1.063 7.814-.626 10.126.439 2.313 1 3.375 1 3.375h20.084c2.292-4.833-1-6.542-4.084-5.833-2.082.479-3.602-.854-3.165-2.917.438-2.063 3-9.125 3-13.438 0-4.312-1.793-9.562-7.876-11.854-5.528-2.082-15-4.833-13.5-13.166 1.5-8.334 1.584-10.584 3.334-12.667s9.041-5.875 11.522-12.572c2.706-7.3-.522-14.428-10.19-17.844-9.665-3.417-23.901-3.907-37.25 1.916-12.415 5.417-21.415 17.584-5.915 26.5 10.587 6.09 1.374 20.5 1.374 20.5" fill="#FFF"></path><path d="M69.02 65.847s1.286 1.658-1.579 5.381c-1.798 2.337-9.923 9.606-12.007 12.19-2.083 2.583-5.083 8-5 14 .084 6 1.417 8.25-.833 11.5s-4.276 5.325-3.222 7.121c1.055 1.795 9.805-5.205 9.805-5.205s-.925 3.417 1.08 3.25c2.004-.166 5.254-4.583 5.504-9.666.25-5.084.344-8.433 3.927-12.183 3.584-3.75 7.66-9.05 6.49-16.65-.667-4.334-.915-7.655-4.165-9.738" fill="#EEE"></path><path d="M75.621 52.085c2.147 10.817 16.602 13.624 26.001 13.083 4.385-.251 7.945-1.781 10.578-3.436 2.662-2.165 5.731-5.073 7.175-8.97 2.704-7.298-.524-14.427-10.191-17.844-2.557-.904-5.442-1.595-8.539-2.026-13.794-1.325-27.452 6.957-25.024 19.193" fill="#DDD"></path><path d="M105.5 38.136c-2.586-.818-5.441-1.595-8.538-2.026-6.697-.643-13.357.983-18.165 4.222-2.746 3.17-4.082 7.186-3.176 11.753 2.148 10.817 16.602 13.624 26 13.083 4.145-.238 5.92-.656 8.505-2.203 3.395-2.095 4.27-6.633 4.265-10.714-.006-4.312.166-11.25-8.89-14.115" fill="#FF76DA"></path><path d="M97.283 57.765s.792 2.836 3.21 2.836c2.707 0 3.25-2.836 3.25-2.836" stroke="#4620AE" stroke-width="1.5" stroke-linecap="round"></path><path d="M86.706 70.952c-2.188 0-3.75 1.902-4.062 3.589-.313 1.688 1.062 3.563 3.19 3.563 2.091 0 3.688-1.25 4.061-3.313.374-2.062-.876-3.84-3.189-3.84" fill="#FF76DA"></path><path d="M96.41 71.51h4.452c.625 0 .988.812.76 1.719a84.627 84.627 0 00-.697 3.156c-.125.625-.657.906-1.344.906h-4.53c-.595 0-1.064-.594-.876-1.47.187-.873.515-2.78.765-3.467.25-.688.625-.844 1.47-.844" fill="red"></path><path d="M94.943 79.511h4.453c.625 0 .99.812.761 1.72-.23.905-.19.628-.315 1.253-.125.625-.656.906-1.343.906h-4.532c-.593 0-1.062-.593-.875-1.468.188-.875.132-.88.382-1.567.25-.688.625-.844 1.47-.844" fill="#00D4B5"></path><path d="M101.204 49.454c-.329 2.401-1.975 4.056-3.728 4.068-1.752.013-3.224-1.365-2.839-4.173.329-2.402 2.204-3.968 3.956-3.98 1.753-.012 2.971 1.458 2.611 4.085" fill="#FFF"></path><path d="M101.204 49.454c.343-2.503-.753-3.939-2.371-4.06l-2.957 7.671a2.834 2.834 0 001.6.457c1.753-.012 3.399-1.667 3.728-4.068" fill="#4620AE"></path><path d="M104.177 49.44c.329-2.402 1.976-4.057 3.729-4.069 1.75-.012 3.223 1.365 2.838 4.174-.33 2.401-2.203 3.967-3.956 3.98-1.753.012-2.97-1.458-2.611-4.085" fill="#FFF"></path><path d="M110.744 49.549c.362-2.643-.92-4.018-2.532-4.161l-2.951 7.657c.426.313.943.488 1.527.484 1.753-.012 3.627-1.578 3.956-3.98M87.91 45.315c.562-3.03 2.388-5.916 5.08-5.916h15.45a24.551 24.551 0 00-2.939-1.263c-2.558-.904-5.443-1.595-8.539-2.026-6.698-.643-13.358.983-18.165 4.222-2.746 3.17-4.082 7.186-3.176 11.753.658 3.317 2.477 5.877 4.95 7.823 5.04-4.733 6.904-12.245 7.34-14.593" fill="#4620AE"></path><path d="M83.706 129.585c.437 2.813 1 3.75 1 3.75h20.479c3.104-6.75-2.552-6.375-4.442-5.935-1.996.466-2.766-1.003-2.079-2.94a40.677 40.677 0 001.519-5.488H83.801c.059 3.017-.466 8.227-.095 10.613M109.684 111.708c-.624 3.501-1.061 7.814-.624 10.126.438 2.313 1 3.375 1 3.375h20.083c2.292-4.833-1-6.54-4.084-5.833-2.082.48-3.603-.854-3.165-2.917.197-.937.837-2.91 1.474-5.188h-14.622c-.022.148-.034.285-.061.437" fill="#EEE"></path><path d="M85.223 132.604h19.812a1.063 1.063 0 110 2.125H85.223a1.062 1.062 0 010-2.125M110.556 124.604h19.812a1.063 1.063 0 110 2.125h-19.812a1.062 1.062 0 010-2.125M49.602 108.918c-2.25 3.25-4.276 5.326-3.222 7.121 1.054 1.796 9.804-5.204 9.804-5.204s-.924 3.416 1.08 3.25c2.005-.167 5.255-4.584 5.505-9.667.102-2.075.181-3.859.479-5.502H50.486c.242 4.898 1.167 7.04-.884 10.002M150.654 62.194c-1.233 1.457-2.734 2.486-4.527 3.286-.459.206-.51.838-.077 1.094 1.025.605 1.386 1.649 1.505 2.937a.618.618 0 001.088.349c1.381-1.58 2.95-2.694 4.694-3.44.434-.186.523-.777.14-1.053-1.006-.725-1.563-1.695-1.748-2.895-.079-.508-.742-.672-1.075-.278" fill="#FFF"></path><path d="M152.672 63.118c-1.558.43-2.922.342-4.232-.116-.414-.144-.874.147-.844.584.105 1.497-.647 2.935-1.778 4.463-.355.479.09 1.12.667.967 1.686-.45 3.12-.401 4.36.063.39.145.816-.102.843-.516.097-1.57.66-3.047 1.633-4.482.32-.473-.1-1.115-.65-.963M130.268 79.839h-5.5c-1.375 0-1.5-2.063-.75-2.688s2.688-1.312 1.938-2.874c-.75-1.563-3.063-.125-5.625.5a11.12 11.12 0 01-5.16-.011l-5.046 9.582c6.893 2.464 17.022 1.17 20.143-4.51M57.805 89.604c2.353-3.097 1.502-7.375.834-9.547-1.391 1.37-2.575 2.58-3.204 3.36-1.532 1.9-3.556 5.336-4.488 9.406 2.04-.07 4.922-.672 6.858-3.22" fill="#FFF"></path><path d="M91.184 111.492c-.596 2.674 3.376 5.067 9.437 4.404.168-2.171.002-4.326-.873-5.936-.444-.814-.988-1.572-1.555-2.281-3.201.24-6.453 1.326-7.008 3.813M116.437 98.588c-.598 2.677 3.384 5.072 9.455 4.402-.006-2.685-.706-5.73-2.704-8.194-3.117.278-6.21 1.371-6.75 3.791" fill="#EEE"></path><path d="M24.872 84.989c.476 1.649-.427 3.134-1.944 3.57-1.515.437-3.227-.103-3.784-2.032-.474-1.65.655-3.131 2.17-3.568 1.515-.437 3.038.225 3.558 2.03M41.888 74.31c.947 3.286-1.01 6.286-4.222 7.212-3.213.926-6.807-.096-7.914-3.937-.947-3.284 1.487-6.288 4.699-7.214 3.213-.926 6.402.347 7.437 3.94" fill="#BD79FF"></path><g transform="translate(65 .659)"><path d="M24.617 6.552c1.838 6.374-1.958 12.195-8.192 13.992-6.235 1.797-13.207-.185-15.356-7.638-1.837-6.374 2.885-12.202 9.12-14 6.234-1.796 12.42.674 14.428 7.646" fill="#BD79FF" mask="url(#offline_no_content__d)"></path></g><g fill="#BD79FF"><path d="M164.33 92.07c2.266 2.426 2.012 5.775-.217 7.858-2.228 2.082-5.652 2.653-8.303-.183-2.266-2.426-1.621-5.97.609-8.053 2.228-2.082 5.432-2.275 7.911.378"></path><path d="M169.264 87.026c-1.634 0-7.03 5.042-9.735 7.569-7.73 7.221-9.117 9.51-8.92 10.159 1.03 1.026 6.113-3.715 9.816-7.186l2.438-2.273c3.522-3.269 6.848-6.357 6.876-7.801a.439.439 0 00-.138-.349c-.081-.081-.194-.119-.337-.119m-18.335 19.338a1.89 1.89 0 01-1.397-.576c-.201-.2-.437-.555-.427-1.111.03-1.752 2.665-4.886 9.4-11.178 6.295-5.882 10.253-9.32 12.156-7.414.388.387.587.884.577 1.437-.038 2.082-3.108 4.93-7.355 8.872l-2.432 2.269c-4.63 4.339-8.217 7.701-10.522 7.701M113.169 17.511c.507 1.758-.456 3.34-2.071 3.806-1.616.465-3.44-.11-4.033-2.166-.506-1.759.698-3.338 2.313-3.804 1.615-.465 3.236.241 3.79 2.164M170.296 109.446c.308 1.065-.275 2.023-1.255 2.306-.978.28-2.084-.067-2.442-1.313-.308-1.065.422-2.021 1.4-2.304.979-.282 1.96.146 2.297 1.31M33.03 107.177c.306 1.065-.277 2.023-1.256 2.306-.978.281-2.083-.067-2.442-1.313-.307-1.065.422-2.022 1.4-2.304.98-.282 1.961.146 2.297 1.311"></path></g></g></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="promo-full-height"><svg><defs><g viewBox="0 0 230 130" id="empty_search"><defs></defs><path fill="#ffc100" d="M3.43 126.34H227a29.17 29.17 0 0 0-5.06-24c-4.42-6.11-10-12.51-9.71-28.73s-.4-59.23-20.9-67.3c-28.87-11.37-53.18 18.05-71.57 19s-32.31-9.34-45.87-4.5-11.63 16.68-18.17 19.83-20.58.73-25.18 13.8S34.06 77.8 25 83.73c-8.82 5.75-27.62 9.32-21.57 42.61z"></path><g clip-path="url(#empty_search__clip-path)"><path fill="#ffd61d" d="M103 87a6 6 0 0 1 6-5.78 5.79 5.79 0 1 1 0 11.57 6 6 0 0 1-6-5.79zm-92.16 31.41a6 6 0 0 1 6-5.78 5.79 5.79 0 0 1 0 11.57 6 6 0 0 1-6-5.79zm14.3-41.94c0-5 4.34-8.8 9.31-9s9 4.33 9 9a9 9 0 0 1-9 9 9.32 9.32 0 0 1-9.31-9zm129.13-12.59H166v11.53h-11.73c-.69 0-1.25-.69-1.25-1.81v-8.26a1.43 1.43 0 0 1 1.25-1.46zM103 111.22c0-4.73 4.12-8.37 8.85-8.55s8.56 4.11 8.56 8.56a8.56 8.56 0 0 1-8.56 8.56 8.86 8.86 0 0 1-8.85-8.57z"></path><path fill="#ffc100" d="M111.73 113.07a1.9 1.9 0 0 1-1.82-1.88 1.82 1.82 0 1 1 3.64 0 1.88 1.88 0 0 1-1.82 1.88z"></path><path fill="#ffd61d" d="M176.68 27.32c0-4.26 3.72-7.54 8-7.71s7.71 3.71 7.71 7.71a7.71 7.71 0 0 1-7.74 7.68 8 8 0 0 1-7.97-7.68z"></path><path fill="#ffc100" d="M184.52 31.19a4 4 0 0 1-3.81-3.94 3.81 3.81 0 1 1 7.62 0 3.94 3.94 0 0 1-3.81 3.94z"></path><path fill="#ffd61d" d="M24.59 56.92A5.47 5.47 0 0 1 30 51.68a5.24 5.24 0 0 1 0 10.48 5.43 5.43 0 0 1-5.41-5.24z"></path><path fill="#ffc100" d="M29.92 59.55a2.7 2.7 0 0 1-2.59-2.68 2.59 2.59 0 1 1 5.18 0 2.68 2.68 0 0 1-2.59 2.68z"></path><path fill="#ffd61d" d="M40 53.15a5.47 5.47 0 0 1 7.53.13 5.24 5.24 0 0 1-7.41 7.41 5.43 5.43 0 0 1-.12-7.54z"></path><path fill="#ffc100" d="M41.87 58.78a2.7 2.7 0 0 1 .06-3.72 2.59 2.59 0 0 1 3.66 3.66 2.68 2.68 0 0 1-3.72.06z"></path><path fill="#ffd61d" d="M52.78 56.92a5.47 5.47 0 0 1 5.42-5.24 5.24 5.24 0 0 1 0 10.48 5.43 5.43 0 0 1-5.42-5.24z"></path><path fill="#ffc100" d="M58.11 59.55a2.7 2.7 0 0 1-2.59-2.68 2.59 2.59 0 1 1 5.18 0 2.68 2.68 0 0 1-2.59 2.68z"></path><path fill="#ffd61d" d="M211 110.72c0-5.23 4.57-9.27 9.8-9.47s9.48 4.56 9.48 9.48a9.48 9.48 0 0 1-9.48 9.48 9.82 9.82 0 0 1-9.8-9.49z"></path><path fill="#ffc100" d="M220.66 113.7a3.06 3.06 0 0 1-2.93-3 2.93 2.93 0 1 1 5.86 0 3 3 0 0 1-2.93 3z"></path><path fill="#ffd61d" d="M104.28 108.46a.5.5 0 0 1-.45-.73l9.57-18.93a.5.5 0 1 1 .89.45l-9.57 18.94a.5.5 0 0 1-.44.27zm96.37 12.97l-3.35-5.08a1.75 1.75 0 0 1-.1-1.75l3.45-6.84-3.45-6a1.75 1.75 0 0 1 0-1.64l3.5-7-3.38-5.57a1.75 1.75 0 0 1 0-1.76l3.42-6.13h5l-3.91 7 3.41 5.61a1.75 1.75 0 0 1 .07 1.68l-3.48 7 3.44 6a1.75 1.75 0 0 1 0 1.65l-3.49 6.91 3.91 5.93zM53 32.24l5.08-3.35a1.75 1.75 0 0 1 1.75-.1l6.84 3.45 6-3.45a1.75 1.75 0 0 1 1.64 0l7 3.5 5.57-3.38a1.75 1.75 0 0 1 1.76 0l6.13 3.42v5l-7-3.91-5.61 3.41a1.75 1.75 0 0 1-1.68.07l-7-3.48-6 3.44a1.75 1.75 0 0 1-1.65 0l-6.91-3.49L53 37.23z"></path><rect fill="#ffd61d" x="153.02" y="54.34" width="5.88" height="5.88" rx="1.4" ry="1.4"></rect><rect fill="#ffd61d" x="153.02" y="44.21" width="5.88" height="5.88" rx="1.4" ry="1.4" transform="rotate(-90 155.965 47.145)"></rect><rect fill="#ffd61d" x="95.08" y="47.15" width="11.9" height="11.9" rx="2.82" ry="2.82" transform="rotate(-90 101.03 53.1)"></rect><rect fill="#ffd61d" x="178.75" y="78.83" width="8.54" height="16.87" rx="2.85" ry="2.85"></rect><rect fill="#ffd61d" x="138.51" y="6.23" width="32.52" height="29.92" rx="2.39" ry="2.39"></rect><rect fill="#ffd61d" x="49.06" y="69.72" width="17.55" height="13.74" rx="1.22" ry="1.22"></rect><rect fill="#ffd61d" x="154.77" y="107.68" width="32.52" height="13.74" rx="1.62" ry="1.62"></rect><path fill="#ffc100" d="M157.43 110.27h27.2v8.57h-27.2z"></path><path fill="#ffd61d" d="M157.43 118.84l7.05-4.78 2.87 2.47 8.08-4.39 1.98 2.42 7.22-4.29.96 9.47-28.16-.9z"></path><path fill="#ffc100" d="M144.34 12.19h20.87v17.99h-20.87z"></path><path fill="#ffd61d" d="M183-.79s-4.66 5.26-2 10.91c2.45 5.21 10.84 2.5 13.62 6.25s1.56 7.23 5.6 8.44c6.75 2 13.46-3.5 13.46-3.5zM60.93 126.34s3.33-20.47 14.31-20.12 9 14 12.92 15.21 4.88-3.1 9.4-.75c2.61 1.35 3.43 5.66 3.43 5.66z"></path><path fill="#ffc100" d="M65.82 126.34s1-5.89 5.46-5.89c3.42 0 6 5.89 6 5.89z"></path><rect fill="#ffd61d" x="-7.73" y="82.16" width="32.52" height="18.05" rx="1.86" ry="1.86" transform="rotate(90 8.53 91.18)"></rect><rect fill="#ffc100" x="7.73" y="98.12" width="5.88" height="5.88" rx="1.4" ry="1.4" transform="rotate(-90 10.67 101.06)"></rect><rect fill="#ffc100" x="7.73" y="89.74" width="5.88" height="5.88" rx="1.4" ry="1.4" transform="rotate(-90 10.675 92.675)"></rect></g><path fill="#4620ae" d="M59.72 102h17.55V47.78H85c1.45 0 2.42 1.33 2.3 3.87s3.64 54 3.4 55.56-1.94 1.57-3.39 1.57H59.72z"></path><path fill="#6f38d4" d="M77.27 47.78H62c-1.09 0-2.3.61-2.3 1.69v24.26a2.64 2.64 0 0 0 2.91 2.74h14.66V65.94h-6.65c-.85 0-1.34-.44-1.34-1.21V58.4c0-.48 0-1 .77-1h7.22z"></path><path fill="#4620ae" d="M123.19 40.8h20.21c2.26 0 3.51 1.45 3.51 4.44v57.05h-18.53c-2.68 0-5.19-2-5.19-6.38z"></path><path fill="#6f38d4" d="M88.15 65.9H113a2 2 0 0 0 2.12-2.11V13.1h17.61a2.69 2.69 0 0 1 2.6 2.72c0 1.39-2 56-2.08 57.25 0 1.62-.93 3.39-3.83 3.39H88.84z"></path><path fill="#4620ae" d="M115.1 13.1h-13.18c-1.45 0-2.5.91-2.5 3.41s1.25 30.5 1.25 32 .4 2.66 2 2.66h12.43v-9.32H109v-15h6.11z"></path><path fill="#6f38d4" d="M146.91 83.49h13.27c1.82 0 2.78-1.57 2.91-3.51s0-40.43 0-42.73 1.45-4.36 4.84-4.36h17.19s-4.86 59-5 61.16c-.33 4.57-2.62 8.24-9.49 8.24h-23.7z"></path><path fill="#4620ae" d="M182.39 66.06h17.86V32.9h-15.13l-2.73 33.16z"></path><path fill="#6f38d4" d="M193.6 50.16c.54-12.43 7.38-21 15.22-21.22l3.65-.09c-.55 8.68 4.79 33.22-3.23 42.61 0 0-.82 0-3.38-.09-7.52-.24-12.77-9.45-12.26-21.21z"></path><path fill="#4620ae" d="M125.82 126.34h-1.12l11.11-19.62.84.48-10.83 19.14zm10.93-18.9h.97v18.91h-.97zm12.93 18.9l-11.4-18.65.83-.51 11.71 19.16h-1.14zM197 50.16c.54-12.43 7.51-21.3 15.47-21.3s14.12 9.52 13.37 21.3-7.08 21.3-16.6 21.3c-7.24.01-12.75-9.54-12.24-21.3z"></path><path fill="#282828" d="M210.63 66.68a7.62 7.62 0 0 1-5.56-2.68c-2.91-3.09-4.44-8.27-4.1-13.84.6-9.75 5.6-16.56 12.17-16.56a6.36 6.36 0 0 1 4.57 2.17c2.84 3 4.45 8.45 4.21 14.31-.38 9.33-5.34 16.6-11.29 16.6z"></path><path fill="#6f38d4" d="M213.15 34.39a5.56 5.56 0 0 1 4 1.94c2.7 2.82 4.24 8.09 4 13.76-.37 8.88-5 15.83-10.54 15.83a6.89 6.89 0 0 1-5-2.4c-2.77-2.95-4.23-7.91-3.9-13.28.57-9.34 5.27-15.86 11.43-15.86m0-1.5c-7.41 0-12.34 7.75-12.92 17.27s4.21 17.27 10.41 17.27 11.62-7.2 12-17.27c.4-9.53-3.88-17.27-9.53-17.27z"></path><path fill="#f86500" d="M209 50.16c.13-2.89 1.75-5 3.6-5s3.29 2.22 3.11 5-1.65 5-3.87 5c-1.67-.03-2.95-2.26-2.84-5z"></path><path fill="#6f38d4" d="M133.23 107.65a4.82 4.82 0 0 1 1.67-6.43 4.62 4.62 0 1 1 4.82 7.88 4.78 4.78 0 0 1-6.49-1.45z"></path><path fill="#4620ae" d="M139.71 109.1a4.62 4.62 0 1 1-4.82-7.88m-92.26-7.86h15c1.79 0 2.57 1 3.08 2.48.31.9 1.23 3.76 1.23 3.76l-5.51.79-1.29-4a.72.72 0 0 0-.68-.5H42.63zm81.78-32.91a2.34 2.34 0 0 1-2.24-2.32 2.24 2.24 0 0 1 4.48 0 2.32 2.32 0 0 1-2.24 2.32zM126.69 42a2.34 2.34 0 0 1-2.32 2.24 2.24 2.24 0 1 1 0-4.48 2.32 2.32 0 0 1 2.32 2.24zm-4.56-15.74a2.34 2.34 0 0 1 2.32-2.26 2.24 2.24 0 1 1 0 4.48 2.32 2.32 0 0 1-2.32-2.22z"></path><path fill="#6f38d4" d="M53 104.59A6.92 6.92 0 0 1 59.83 98a6.63 6.63 0 1 1 0 13.26 6.86 6.86 0 0 1-6.83-6.67z"></path><path fill="#4620ae" d="M59.72 106.22a1.68 1.68 0 0 1-1.61-1.66 1.61 1.61 0 0 1 3.21 0 1.66 1.66 0 0 1-1.6 1.66z"></path><path fill="#282828" d="M28.94 94.5a3 3 0 0 1-2.85-2.95 2.85 2.85 0 1 1 5.7 0 3 3 0 0 1-2.85 2.95z"></path><path fill="#f86500" d="M29.69 102.24s.76-.25 1.17-2.27c.32-1.62-2-7.42 3.06-7.75 4.68-.3 2.31 3.38 5.62 4.27-1.43.38-.19 1.47-.33 2.74-.22 2-3.15 1.35-1.51 2.69 1.86 1.53-8.01.32-8.01.32z"></path><path d="M34.58 100.38c-4.5-1.39-7.79.79-9.52 5.84-1.63 4.74-6.62 6.78-7.5 12.19h19.93a14.17 14.17 0 0 1 1.38-8c5.57 3.31 9.62-.54 10.34-4.13a10.49 10.49 0 0 0-.24-5.75H43c0 1.15 1.27 4.18-.73 4.62-1.42.36-3.19-3.38-7.69-4.77z" fill="#fff"></path><path fill="#6f38d4" d="M37.94 93.89h4.7v1.53h-4.7z"></path><path fill="#282828" d="M24.21 118.41s-.23 1 .83 3c1 1.86 1.48 2.55 1.07 3.28a2.68 2.68 0 0 0-.2 1.65h1s0-1.25.69-1.09a8.74 8.74 0 0 0 4.2 1.09c1.22 0-2.11-.92-2.58-3.47a5.87 5.87 0 0 1 1.2-4.46z"></path><path fill="#4620ae" d="M37.77 96.07c-.53 0-.59-.67-.6-1.44s.12-1.39.6-1.39.6.62.6 1.39.01 1.44-.6 1.44zM32 118.41a11.9 11.9 0 0 0 1.21 2.77c1.06 1.59 2.64 2.78 2.42 3.51a2.75 2.75 0 0 0 .21 1.65h1s-.27-1.25.42-1.09a10.55 10.55 0 0 0 4.47 1.09c1.22 0-1.76-1-3-3.48a14.4 14.4 0 0 1-1.2-4.45z"></path><path fill="#282828" d="M36.31 92.65S36.46 95 35 95.58s-2.32.39-2.1 1.69a2.36 2.36 0 0 1-2.1 2.82c.17-1.49-2.15-4.15 0-6.72a4 4 0 0 1 5.51-.72z"></path><path fill="#f86500" d="M43 100.58c-.79-5.63 6-5.74 6.63-5s-.88 1-.88 1 1.14-.22 1.4.56-1.07.68-1.07.68 1.07-.08 1.26.64c.27 1-1.73.07-1.36 2.12z"></path><path fill="#eee" d="M32 111.93c-2.09-4.23 2.6-6.17-.21-9-1.18-1.17-3-1.09-4.53-.76a11.85 11.85 0 0 0-2.21 4c-1.63 4.74-6.62 6.78-7.5 12.19h12.83s3.56-2.51 1.62-6.43z"></path><path fill="#4620ae" d="M168.57 77.83c-.64-3.22-2.45-6.45 1.34-10.88s4.44-8.31 1.65-11.82-2.7-7.06 1.5-11.9c3.65-4.21.4-8.92-3.06-10.33h-2.06c-3.39 0-4.84 2.06-4.84 4.36s.12 40.79 0 42.73-1 3.27-2.54 3.47h.06c6.72 0 8.64-2.12 7.95-5.63zM63.72 70.34c-1.5-1.78-.24-3.07-1.29-7-.63-2.37-1.84-3.17-2.7-3.43v13.82a2.64 2.64 0 0 0 2.91 2.74h5.61c-.62-3.55-2.6-3.84-4.53-6.13z"></path><path fill="#eee" d="M45.29 100.58H43c0 1.15 1.27 4.18-.73 4.62a1 1 0 0 1-.63-.1c4.36 2.29 4.82-2.23 3.65-4.52z"></path><path fill="#6f38d4" d="M47.35 90.19h1.72v3.17h-1.72z"></path><path fill="#4620ae" d="M45.63 90.19h5.17s.2-1.47-.57-1.48-.7.54-1.07.59-.32-.58-1-.59-.49.59-.86.59-.55-.58-1-.59c-.61-.01-.82 1-.67 1.48z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="rotten-tomatoes" size="13"><svg><defs><g viewBox="0 0 323.4 315.6" id="certified"><path style="fill:#006635" d="M131.2,323.3s-24.7-2.3-41.9,22c13.2,8.2,19,10.2,19,10.2l-7.7,41.7s33.9-23,53.2-20C149.7,364.1,131.2,323.3,131.2,323.3Z" transform="translate(-89.4 -81.7)"></path><path style="fill:#006635" d="M370.9,323.3s24.7-2.3,41.9,22c-13.2,8.2-19,10.2-19,10.2l7.7,41.7s-33.9-23-53.2-20C352.5,364.1,370.9,323.3,370.9,323.3Z" transform="translate(-89.4 -81.7)"></path><path style="fill:#f3ea24" d="M139.7,314.9c-3.3-4.4-13.4.4-16.1-4.4a146.2,146.2,0,0,1-20.1-74.3c0-81.2,65.8-150.8,147-150.8s147,69.6,147,150.8a146.3,146.3,0,0,1-20.7,75.3c-1.8,3-42.8,8.8-44.8,11.6" transform="translate(-89.4 -81.7)"></path><path style="fill:#5b5423" d="M334.3,326.1l-1.2-2-4.4-3.1c1.6-2.3,5-3.3,24.3-7.2,7.2-1.5,18-3.7,20.8-4.9a143,143,0,0,0,19.8-72.7c0-79.7-65.6-147-143.2-147s-143.2,67.3-143.2,147a143,143,0,0,0,19.6,72.4c0.5,0.5,3.3.5,4.7,0.4,3.8-.1,8.4-0.1,11.2,3.6l-6.1,4.6c-0.5-.6-3.4-0.5-5-0.5-3.8.1-8.9,0.1-11.4-4.2a150.7,150.7,0,0,1-20.6-76.2c0-83.8,69.1-154.6,150.8-154.6s150.8,70.8,150.8,154.6a150.7,150.7,0,0,1-21.3,77.3c-1.5,2.6-4.9,3.6-25.4,7.8C346.8,322.9,336.1,325.1,334.3,326.1Zm39.9-17.4h0Z" transform="translate(-89.4 -81.7)"></path><path style="fill:#006635" d="M374.3,369.4s4.4-50.6,5.9-69.3c-6.1-4.6-59.6-12.9-140.2-15.3-51.3,1.3-65.5,0-119.3,18.9,1.3,19.7,4.8,53.6,5.9,65.1,10.7-3,133.2-21.4,247.7.7" transform="translate(-89.4 -81.7)"></path><path style="fill:#cd2127" d="M345.1,245.5c0,44.4-42.4,80.4-94.7,80.4s-94.7-36-94.7-80.4S198.1,165,250.4,165s94.7,36,94.7,80.4" transform="translate(-89.4 -81.7)"></path><path style="fill:#669941" d="M126.6,368.8c13.4,4.3,22,6.2,27.3,8.4-0.9-2.9-4.5-12.1-4.5-12.1A143.8,143.8,0,0,0,126.6,368.8Z" transform="translate(-89.4 -81.7)"></path><path style="fill:#669941" d="M375.4,369.9c-13.8,3.3-21.8,5-27.1,7.3,2-5.9,4.2-11.5,4.2-11.5A186.2,186.2,0,0,1,375.4,369.9Z" transform="translate(-89.4 -81.7)"></path><path style="fill:#669941" d="M271.4,157.4c-1.6-5.8-8.2-5-9.4-6.7,10.5,14.8-2.3,8.5-6.1,1.8-2.8-5,2-8.1,5-9.9-5.1.2-10.6,1.7-16,7.5,1.1,3.9,2.1,7.6,2.9,10.1l7.8-5c-2.8,3-3.5,5.1-3.1,8,4.7,1.5,9.3,6.1,16.4,10.5-8.4-5.2-15.4-5-19.2-2.9,0.2,3-.3,7-2,13-1.7-4.8-5.6-7.3-11.5-8.9-4.1-1.1-8.2-.5-14.3,3.8,4-5.1,5.9-7.5,7.4-9.9s-0.4-4.8-6.2-7.7c5.6,2.8,8,1.1,9.9-3.1-2.3,4.9-1.5,7.4-.6,8.7a5.3,5.3,0,0,0,4.3,2.2c3.4-.4,5.1-2.8,4.9-6.7-0.8-1.7-.9-5.6-0.4-11.6a37.4,37.4,0,0,1,4.4-15.6c2.4-4.4,4.5-1.7,1.1-6.1l-6.8-2.4c-1.7,5.9-.7,15.1-6,27.4-6.5-3.2-11.4-4.4-15.4-7.5l6.7,9.1q-9.2-.1-13.5,2.3c-2.9,1.5-4.3,4.5-8.4,5.2s-7.2,2.8-15.8-3c3.2,2.1,8.2,8.6,13.8,10.2,7.8,1.6,13.5-5.9,13.7-1.5,0,1.6-1.5,1.5-3.7,1.9-22,4-33.8,24.5-36.8,25.9,22.8-10.4,39.1-20.1,46.9-7.4,1.7,2.8,4.6,6.9-.4,12.6-2.8,3.1-8.9,2.5-28.7,8.2,10.3-3,42.6,14.5,49.4-21.8-0.6,2.9,14.6,7,22,16.1s11.7,16.3,14.1,30.8c1,5.9,2.4-27.6-.8-36.4-4.3-11.7-7.7-12.9-14-16.4,1.2,0.6,2.2-.6,2.8-0.8a53.5,53.5,0,0,1,10.1-1h0.1a60.5,60.5,0,0,1,13.5,1.6h0.8l0.8,0.2,2.1,0.6,1.5,0.4a109.7,109.7,0,0,1,12,4.2c3.8,1.6,7.8,3.4,11.9,5.6s5.3,2.9,8.1,4.4a60.9,60.9,0,0,0-5.6-6.8l-0.9-1c-11-11.2-35.3-23.7-56.8-23.7,5.3,0,10.7,1.2,8-8.6" transform="translate(-89.4 -81.7)"></path><path style="fill:#006635" d="M240.3,126.8a14.8,14.8,0,0,0,3.9.4s2.8-.3,4,1,1.3,1.3.8,5.2a50,50,0,0,1-1.6,7.2l-2.3,9.5,2.9,9.4,8.6-5.1s-4.9,4-3.9,8.7c0,0,6.5,1.2,16.4,10.8,0,0-12.5-6.6-19-2.8,0,0,.7,3.4-2.4,13.6,0,0-2.2-8.1-12.4-9.7,0,0-6.1-1.1-14.7,4.9,0,0,4.7-5.9,8.2-11.1,0,0,1.2-1.2-.1-3.1,0,0-.9-1.9-6.8-5.1,0,0,3.9,1.9,6.8,1.1,0,0,3-.3,4.9-4.9,0,0-2.2,6.8-1.1,9.2a4.4,4.4,0,0,0,3.7,2.5,4.4,4.4,0,0,0,4.7-3.1s0.7-1.1-.1-4.8c0,0-.4-2.6,0-9.4a29.3,29.3,0,0,1,1.8-9.7s1.5-3.4,3.2-8.6c0,0,.9-2.5,0-3.6a2.7,2.7,0,0,0-1.5-.5,6.5,6.5,0,0,1-3.1-1S239.9,126.9,240.3,126.8Z" transform="translate(-89.4 -81.7)"></path></g><g viewBox="0 0 329 346.3" id="fresh"><path style="fill:#cd2127;" d="M414.4,287.2c0,77.2-73.7,139.7-164.5,139.7S85.4,364.4,85.4,287.2s73.7-139.7,164.5-139.7S414.4,210,414.4,287.2" transform="translate(-85.4 -80.6)"></path><path style="fill:#669941" d="M286.5,134.2c-2.7-10-14.2-8.7-16.3-11.6,18.3,25.8-4.1,14.8-10.6,3.2-4.9-8.8,3.4-14.1,8.7-17.3-8.9.3-18.5,2.7-28,13.6-4.6,5.2,4.2,12.7,5.7,17.1l12.9-8.4c-5.5,4.8-5.8,9.4-5,14.6,8.2,2.5,15,5.6,25.7,15.6-15.4-7.1-24.8-7.3-31.4-3.6,0.3,5.3.5,11-2.6,21.4-2.9-8.3-9.3-11.7-19.5-14.5-7.1-1.9-14.5-.5-25.2,6.9,7-8.9,10.6-12.3,13.3-16.3s1.5-8.6-9.7-13.2c8.6,3.5,12.5.7,15.3-4.9-4.2,8.3-2.5,11.6-.8,13.9a10.2,10.2,0,0,0,7.9,4.2c6-.7,8.7-5.2,8.4-11.9-1.3-3-1.5-9.7-.7-20.2s3.3-19.6,7.6-27.3,7.8-3,2-10.5l-11.8-4.1c-2.9,10.3-1.2,26.4-10.4,47.8-11.4-5.5-19.9-7.6-26.7-13l11.7,15.8q-16-.2-23.4,4c-5,2.6-7.5,7.8-14.6,9s-12.5,4.8-27.4-5.2c5.5,3.7,14.2,15.1,24,17.7,13.5,2.8,23.4-10.2,23.7-2.5,0,2.8-2.7,2.7-6.5,3.4-38.3,6.9-58.8,42.6-64.1,45,39.6-18,68-35,81.5-12.9,3,4.9,8.1,12-.8,21.9-4.8,5.4-15.5,4.3-49.9,14.2,17.9-5.2,74.1,25.2,86-38-1,5.1,25.4,12.2,38.2,28,14.4,17.8,20.3,28.3,24.5,53.7,1.7,10.3,4.2-48.1-1.4-63.4-7.5-20.4-13.4-22.5-24.3-28.5,2,1.1,3.8-1.1,4.9-1.4a92.8,92.8,0,0,1,17.6-1.8h0.1a105,105,0,0,1,23.4,2.8l1.3,0.2,1.4,0.3,3.7,1,2.5,0.7a190.6,190.6,0,0,1,20.8,7.4c6.6,2.7,13.5,6,20.6,9.7,4.6,2.3,9.2,5,14,7.7a106,106,0,0,0-9.8-11.9l-1.6-1.8c-19.1-19.5-59.8-41.5-96.1-41.8,9.3,0.1,15.3,1.2,11.3-14.4" transform="translate(-85.4 -80.6)"></path><path style="fill:#006635" d="M232.4,80.8a25.7,25.7,0,0,0,6.8.7s4.9-.6,7,1.8c0,0,2.3,2.3,1.4,9.1,0,0-.2,3.2-2.7,12.6L241,121.6l5,16.3,15-8.8s-8.4,7-6.9,15.1c0,0,11.4,2.1,28.4,18.8,0,0-21.7-11.4-33-4.9,0,0,1.3,5.9-4.2,23.6,0,0-3.9-14.1-21.5-16.8,0,0-10.6-1.9-25.5,8.6,0,0,8.2-10.3,14.2-19.2,0,0,2.1-2.1-.2-5.4,0,0-1.6-3.3-11.9-8.9,0,0,6.8,3.4,11.8,1.9,0,0,5.2-.6,8.6-8.5,0,0-3.8,11.9-1.8,16.1a7.7,7.7,0,0,0,6.4,4.4,7.6,7.6,0,0,0,8.2-5.4s1.2-2-.2-8.4c0,0-.7-4.5.1-16.4,0,0-.1-9.1,3.1-16.9,0,0,2.6-5.9,5.6-14.9,0,0,1.6-4.4,0-6.3,0,0-.4-0.6-2.7-0.9,0,0-3.6-.2-5.4-1.7C234.1,82.8,231.8,81,232.4,80.8Z" transform="translate(-85.4 -80.6)"></path></g><g viewBox="0 0 316.2 300.8" id="rotten"><path style="fill:#92af3c" d="M144.3,262.3s20,4,25.3-8.3c0,0,6.7-10-30-24,0,0-28-6.3-34.7-38.3,0,0-2.3-33.3,31.7-42.3,0,0,30-6.7,37,25,0,0-1,34.3,31,29.7,0,0,23.3-12-10-36.3,0,0-34-18-21-56.7,0,0,8.7-26,44.7-24.3,0,0,36.7,2,38.7,34,0,0,5,11.3-7.7,41.3,0,0-12.7,22.7,9.3,33,0,0,20,5,27-7,0,0,4.3-4.7,8.7-23.7,0,0,.7-14.7,28-28.7,0,0,31-11.3,49.7,17,0,0,18.3,22.3-2.3,56.3,0,0-12,17-47.7,15.7,0,0-34.3-2-22.7,27.3,0,0,3.3,10.3,54.7,16.3,0,0,60,8.7,48.3,66,0,0-6.7,33.3-50,32,0,0-16,1.3-39-33.7,0,0-17.3-38-43-32,0,0-10.3,3.3.7,26.7,0,0,22.7,32-.3,45.7,0,0-18,14.7-51,5,0,0-13.7-3-19.3-40.7,0,0,3-25.7-12-28,0,0-8-5.3-26,17.3,0,0-14.3,21-47.7,9,0,0-28.3-13.3-19-51C95.7,284.7,100,259.3,144.3,262.3Z" transform="translate(-91.9 -84.3)"></path><path style="fill:#3d5e2c" d="M263.2,313c-3.2-29.9,30.8-14.3,36.5-3.8,1,1.8-1.1,6.9-2.1,5.2-6.3-10.9-31.7-20-27.7.3,0.8,3.9,7.7,14.7,8.4,16.7l-1.7,9.9c-10.7-15.5-13.3-26.9-13.4-28.2" transform="translate(-91.9 -84.3)"></path><path style="fill:#3d5e2c" d="M276.7,341.4h-0.1c-10.1-14.7-13.2-26.2-13.5-28.3h0c-1.3-11.7,3.3-15.6,7.3-16.8s10.5-.3,16.9,2.8,10.6,6.8,12.4,10.2c0.8,1.5-.4,5-1.4,5.6a0.6,0.6,0,0,1-.8-0.3c-4-6.9-16.7-13.8-23.7-11.1-3.7,1.4-5,5.3-3.8,11.4,0.5,2.6,3.8,8.3,6.2,12.5,1.1,2,2,3.5,2.3,4.2h0Z" transform="translate(-91.9 -84.3)"></path><path style="fill:#3d5e2c" d="M179.6,157.4c-21.1-21.4-10.5-63,19.2-70.9,21.2-5.6,42.3-.4,55,16.1,7.7,13.5,7.1,28.6,3.8,43.2-2.1,9.3-16.4,35.2-3.8,44.5a23.4,23.4,0,0,0,28.6-.5c5.7-4.6,6.5-16.8,9.2-23.4,8.8-35.8,58.7-47.7,82.1-17.7a31.3,31.3,0,0,1,6.5,13.5c1.4,7.9,10,30.8-12.4,52.4-14.3,13.8-40.3,8.4-58.8,16-5.4,1.5-9.2,5-10.6,9.4-0.4,1.4-1.4,5,2.6,8.9,9.7,9.7,26.9,9.7,39.2,11.6,21.5,3.5,44.2,10.8,57.6,28.8,9.6,13.8,10.9,28.2,9.8,42.5,0,0-2,19.7-23.5,31.2-9,4.8-18.3,8.9-35.1,6.6h0c-26.6-6.2-36.9-35-51.5-55.4,0.4-1.9.5-4.8,1.3-6.7a120.7,120.7,0,0,1,12.2,16c3.5,5.4,7.3,11.1,10.7,15.6,4.9,6.7,8.9,13.9,16.2,17.3,20.8,12.3,54.9,2.9,61.8-20.1,2.3-6.9,2.2-13,1.3-20.8-1.6-13.8-13.2-28.6-24.7-35.5-22.3-13.8-50-9.5-72.6-21.1a20.6,20.6,0,0,1-9.7-11.7c-1.4-4.9.5-12.9,4.2-16.9,12.6-13.7,35.4-7.9,52.7-11.7,27.3-9.6,31.7-49.7,14.4-69.3-4.6-6.5-12.8-11.8-19.8-12.9-16.5-2.3-31.4.5-45,17.8-7.1,9.1-6.9,33.2-19.2,40.9-15,5.8-34.9,2.5-37.6-16.7,0.4-3.5,1-7.7,1.6-10.7,1.9-8.8,6-15.3,8.8-27.2s0.6-30.5-8-39.5c-13.8-14.6-38.6-14.9-54.4-7.4C168,105.1,168,146.2,190,162.3c5.8,4.2,11.5,8.3,17,14s10.1,10.2,8.7,20.5c-2.1,15.8-29.8,13-37.8-.7-6.2-10.6-3.8-30.7-15.4-38.3-7.7-6.9-22.2-9.4-31.8-4.8a36.3,36.3,0,0,0-21.6,22.7c-4.5,14.7,1,40,25.2,49.5,13.5,5.3,32.7,13.2,37.3,22.5,7.2,14.4-14.1,18.1-29.1,15.9s-36.2,3.4-43.2,18.4c-11.9,23.1,3.7,60,40.7,55,13.7-1.8,20.2-16.4,32.6-26,9.4-7.3,21.9-9.5,28.4,5.7,3.8,8.9,1.8,22.2,3.6,31.6,2.3,12,8.7,23.5,18.7,26.8,17.5,5.8,31.2,1.2,42.4-1.8-5.3,1.4-21.2,14.4-40.1,9.5-23.4-6.1-25.9-35-27.8-55.4,0-7.3-3.8-13.9-8.8-14.5-13.7-1.8-24.5,21.8-39.4,26.3-19.8,6-41.3.5-51.3-16.8-8.8-12.7-7.7-30.6-2.2-42.8,7.8-17.2,30.2-20.7,47.7-19.5,13.9,1,19.9-.3,23-5.3s-2.6-9.3-6.4-12.4c-13.8-8.5-30.5-11.4-42.2-22.4-13.5-12.7-18.6-30.5-11.3-49.1,8.1-20.6,32.2-31.9,52.6-19.6,17.7,7.3,15.7,33.9,24.9,45.8,6.6,8.6,24.8,5.6,25-2.3,0.2-14.7-19.8-24.2-29.7-37.4" transform="translate(-91.9 -84.3)"></path><path style="fill:#3d5e2c" d="M234.5,384.1a34.6,34.6,0,0,1-8.8-1.1c-23.2-6.1-25.9-34.3-27.9-55v-0.5c0-7.5-3.8-13.8-8.7-14.5h-1.6c-6.9,0-13.1,6.1-19.7,12.6s-11.6,11.4-18.2,13.4c-21.1,6.4-40.9,0-50.4-16.3a37.4,37.4,0,0,1-6.5-21.1,56.1,56.1,0,0,1,4.2-21.7c3.9-7.8,10.7-13.4,20.3-16.6s20.2-3.3,27-2.7c15.3,1.4,20.6-1.2,24.1-5.7a4.4,4.4,0,0,0,1-3.3c-0.4-3.1-4.1-6-7.1-8.3l-1.3-1a164.2,164.2,0,0,0-18.1-9.1c-8.4-3.8-17.1-7.7-24.5-13.6-12.1-12.1-16.6-31.6-11.1-48.4,5.4-11.2,14.6-19.5,25.3-22.7a33.2,33.2,0,0,1,27.2,3.7c10.6,4.4,13.6,15.6,16.5,26.3,2,7.4,3.8,14.3,7.9,19.2s12.3,7.3,20.2,4.4c3.8-1.4,6-3.9,6-6.8-0.1-10.6-9-18.2-17.6-25.5-4.9-4.2-9.5-8.1-12.6-12.5-9.9-10.1-13.5-26.1-9.2-41.6S185.5,90,198.8,86.5c22.2-5.9,42.8.2,55,16.2,6.6,11.6,7.8,25.4,3.8,43.3a77.5,77.5,0,0,1-2.9,8.6c-4.4,11.7-11,29.3-1.2,36.4s22.7,4.6,29.3-.8c3.8-3,5.2-9.6,6.5-15.4a53.8,53.8,0,0,1,2.2-8.2c4.2-16.9,18-29.8,36.1-33.7a48.4,48.4,0,0,1,24.8,1.1,43.9,43.9,0,0,1,21.3,14.9,31.1,31.1,0,0,1,6.6,13.5c0.2,0.9.4,1.9,0.7,3.1,2.2,9.8,6.9,30.1-13.1,49.3-8.5,8.2-21.4,9.6-33.9,11-8.5.9-17.4,1.9-24.8,5-5.4,1.5-9.2,5-10.5,9.4-0.4,1.2-1.5,4.9,2.5,8.9,7.8,7.8,20.5,9.3,31.6,10.6l7.5,1c27.7,4.4,46.6,13.9,57.7,28.9s10.7,29.9,9.8,42.6c0,0.2-2.2,19.9-23.5,31.3-8,4.3-15.5,6.8-28,6.8-2.2,0-3.3-1-5.9-1.1l0.8,0.5-2.4-1.7c-19.9-6.4-31-21.2-41.3-37.9-3.2-5.2-6.5-10.5-10-15.4h0c0.1-.7.2-1.4,0.3-2.3a19.6,19.6,0,0,1,.9-4.4h0.1a120.1,120.1,0,0,1,12.2,16c3.6,5.7,7.4,11.2,10.7,15.6l2.7,3.8c3.9,5.5,7.5,10.7,13.4,13.5,10.9,6.5,26,7.2,39.5,2,11.3-4.4,19.4-12.4,22.3-22.1,2.3-6.9,2.2-12.8,1.3-20.8-1.6-14.4-13.9-29.1-24.7-35.5s-25.4-9.6-38.6-11.8c-11.5-1.9-23.5-3.9-34.1-9.3a20.6,20.6,0,0,1-9.7-11.7c-1.5-5,.5-13,4.2-17,8.5-9.2,21.6-9.6,34.3-10,6.3-.2,12.7-0.4,18.5-1.7,11.2-3.9,19.6-13.7,23-26.7,4-15.3.6-31.9-8.6-42.4-4.5-6.4-12.6-11.7-19.7-12.9-9.3-1.3-16.7-.8-23.6,1.6s-14.9,8.1-21.4,16.3c-2.9,3.6-4.6,9.8-6.3,16.2-2.6,9.4-5.5,20.1-12.9,24.7-9.7,3.8-20.3,3.4-27.6-.9-5.6-3.3-9.1-8.8-10.1-15.9,0.5-4.1,1.1-8.1,1.6-10.7a81.8,81.8,0,0,1,3.8-11.9,116.1,116.1,0,0,0,4.9-15.3c3.8-16.1-1.2-32.4-7.9-39.5-10.7-11.3-33.9-17.1-54.3-7.4-10.7,5.1-17.8,17.4-18.5,32.1a45.9,45.9,0,0,0,3.5,20.1c2.8,6.5,7.8,13.2,13.1,16.3s11.9,8.6,17.1,14l0.5,0.5c5.4,5.6,9.6,10.1,8.3,20-0.7,5.4-4.6,9.1-10.8,10.4-9,1.8-22-2.2-27.1-11.1-2.4-4.1-3.5-9.6-4.7-15.4-1.8-9-3.7-18.2-10.7-22.9-7.9-7.1-22.4-9.2-31.8-4.8a36.1,36.1,0,0,0-21.6,22.7c-4.4,14.2.6,39.7,25.1,49.4,11.4,4.5,32.5,12.8,37.4,22.5,1.9,3.9,1.9,7.2,0,9.9s-8.1,5.2-12.2,6a56.2,56.2,0,0,1-16.9.2c-15.7-2.2-36.2,3.5-43.1,18.4-6.2,12.1-4.9,28,3.2,39.7a36,36,0,0,0,14.9,12.4,42.1,42.1,0,0,0,22.6,2.9c9.4-1.2,15.2-7.7,21.3-14.7a83.2,83.2,0,0,1,11.3-11.3c6.1-4.7,12.3-6.6,17.6-5.2s8.3,4.9,10.9,10.9,2.4,12.2,2.6,18.9a80.1,80.1,0,0,0,1,12.7c2.1,10.6,8.1,23.2,18.7,26.7,16.2,5.3,29.4,1.7,39.9-1.1l2.4-.7h0a31.8,31.8,0,0,0-5.3,2.5C254.5,379.2,245.3,384.1,234.5,384.1Zm-46.9-71.3h1.6c5,0.7,8.9,7.1,8.9,14.6v0.5c1.9,20.6,4.6,48.8,27.7,54.9,14.5,3.8,27.1-3,34.7-7l3.9-2-0.9.3c-10.6,2.9-23.7,6.5-40,1.1-10.6-3.5-16.7-16.2-18.8-26.8a80.1,80.1,0,0,1-1-12.7c-0.2-6.7-.4-13.5-2.6-18.8s-6.2-9.7-10.8-10.9-11.5.6-17.5,5.2a83.1,83.1,0,0,0-11.3,11.3c-6.1,7-11.9,13.5-21.3,14.7a42.2,42.2,0,0,1-22.7-2.9,36.1,36.1,0,0,1-15-12.4c-8.2-11.7-9.5-27.7-3.2-39.8,6.9-15,27.4-20.7,43.2-18.5,11.1,1.6,24.6,0,29-6.1,1.9-2.7,1.9-5.9,0-9.8-4.9-9.7-26-18-37.3-22.5-24.6-9.7-29.6-35.3-25.2-49.6A36.3,36.3,0,0,1,130.7,153c9.4-4.5,24-2.3,31.9,4.8,7.1,4.7,8.9,14,10.7,23,1.2,5.8,2.3,11.2,4.6,15.4,5.1,8.8,18,12.8,27,11,6.2-1.2,10-4.9,10.7-10.3,1.3-9.9-2.9-14.3-8.2-19.9l-0.5-.5c-5.2-5.4-11.3-10.1-17.5-14.6s-9.9-9.3-12.7-15.8a46,46,0,0,1-3.5-20.2,44.2,44.2,0,0,1,5.1-19,30.4,30.4,0,0,1,13.5-13.2c16.1-7.6,40.8-6.9,54.4,7.4,4,4.2,6.9,10.7,8.3,18.4a53.7,53.7,0,0,1-.4,21.2,116.4,116.4,0,0,1-4.9,15.3,81.8,81.8,0,0,0-3.8,11.9c-0.6,2.7-1.2,6.7-1.6,10.7,1,7,4.4,12.5,10,15.8,7.3,4.3,17.8,4.6,27.5.9,7.3-4.6,10.2-15.2,12.8-24.6,1.8-6.5,3.5-12.6,6.4-16.3,6.5-8.2,13.5-13.6,21.5-16.3s14.4-2.9,23.6-1.6c7.1,1.2,15.3,6.5,19.8,12.9,9.2,10.5,12.6,27.2,8.7,42.5-3.4,13.1-11.8,22.9-23.1,26.9-5.8,1.3-12.2,1.5-18.5,1.7-12.7.4-25.8,0.8-34.2,10-3.7,4-5.7,11.9-4.2,16.9a20.5,20.5,0,0,0,9.6,11.7c10.6,5.4,22.5,7.4,34,9.3,13.2,2.2,26.8,4.4,38.6,11.8s23.1,21.1,24.7,35.6c0.9,8,1,13.9-1.3,20.8-2.9,9.7-11,17.8-22.3,22.2-13.5,5.3-28.6,4.5-39.6-2-5.9-2.8-9.6-8-13.5-13.6l-2.7-3.8c-3.3-4.4-7.1-10-10.7-15.6a120,120,0,0,0-12.1-15.9,19.9,19.9,0,0,0-.9,4.3c-0.1.8-.2,1.6-0.3,2.2,3.5,4.9,6.8,10.2,9.9,15.4,10.3,16.7,21.7,34.5,42,39.1h0.8c17,1.1,24.4-.8,33.8-5.8,21.3-11.3,23.4-31,23.5-31.2,0.9-12.7.5-27.7-9.8-42.5s-30-24.4-57.6-28.8l-7.5-1c-11.2-1.3-23.9-2.8-31.7-10.6-4.1-4.1-2.9-7.8-2.6-9,1.4-4.5,5.2-8,10.6-9.5,7.5-3.1,16.3-4.1,24.9-5,12.5-1.4,25.4-2.8,33.8-11,19.9-19.2,15.2-39.4,13-49.2-0.3-1.2-.5-2.3-0.7-3.1a30.9,30.9,0,0,0-6.5-13.4A43.7,43.7,0,0,0,352.4,134a48.2,48.2,0,0,0-24.8-1.1c-18.1,3.9-31.9,16.7-36,33.6a53.5,53.5,0,0,0-2.2,8.1c-1.3,5.8-2.8,12.4-6.6,15.5-6.7,5.4-18.4,8.9-29.5.8s-3.2-24.8,1.2-36.5a77.4,77.4,0,0,0,2.9-8.5c4.1-17.9,2.9-31.6-3.7-43.2-12.2-15.9-32.7-22-54.9-16.1-13.2,3.5-23.5,14.4-27.6,29.1s-0.7,31.4,9.2,41.5h0c3,4.4,7.6,8.3,12.5,12.5,8.7,7.3,17.6,14.9,17.7,25.6,0,3-2.2,5.5-6.1,7-6.3,2.3-15.6,1.3-20.4-4.4s-6-11.9-8-19.3c-2.9-10.8-5.9-21.9-16.4-26.3a33,33,0,0,0-27.1-3.7c-10.7,3.2-19.9,11.4-25.2,22.6-5.5,16.8-1,36.2,11.1,48.3,7.4,5.8,16.1,9.7,24.5,13.5a164,164,0,0,1,18.2,9.1l1.3,1c3,2.3,6.7,5.2,7.1,8.4a4.6,4.6,0,0,1-1.1,3.4c-3.6,4.6-8.9,7.2-24.3,5.8-8.4-.7-36.8-1.6-47.2,19.2a56,56,0,0,0-4.2,21.6,37.3,37.3,0,0,0,6.5,21c9.4,16.3,29.1,22.7,50.2,16.3,6.6-2,12.5-7.8,18.2-13.4S180.6,312.7,187.5,312.7Z" transform="translate(-91.9 -84.3)"></path><path style="fill:#3d5e2c" d="M278.4,331.4c8.5,11.9,10.5,31.5.4,41.9-12.4,12.9-38.9,13.6-53,9.6,10.5,3,22.7-.4,32.3-6.9,12.7-6.1,22.2-13.9,18.6-32.7l-3.5-7.6Z" transform="translate(-91.9 -84.3)"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="settings"><svg><defs><g fill="none" fill-rule="evenodd" viewBox="0 0 155 155" id="account_advanced"><g transform="translate(50 17.7)"><mask fill="#fff"><path d="M.4.3h98.7v110.4H.4z"></path></mask><path d="M29.8 1.3C42.9-.2 62.4.1 73.5 1.3c15.1 1.7 23 6.7 24 22 1 15.4 1.6 37.4 1.6 45.4s-3.3 14.7-11 17c-7.6 2.3-9.3 6.7-10.3 12.7-1 6-4.7 12-18.7 12.3C45.1 111 .4 103 .4 103s4.3-52.6 4.7-69.7c.3-20.9 2.7-29.5 24.7-32" fill="#EEE" mask="url(#account_advanced__b)"></path></g><g transform="translate(6 88.7)"><mask fill="#fff"><path d="M.8.8h114.1V50H.8z"></path></mask><path d="M8.5 50c-6-.5-10.7-5.7-5.5-14.5C8 26.7 17.3 13.5 41 10.3c23.9-3.1 23.6 3.8 35.5 3.3C87.4 13 87.4 5 87.8 3.6c.5-1.6 1.6-3 4.8-2.7 3.2.4 17.2 2.3 19 3 1.7.6 3.4 1.4 3.3 5.2-.1 3.7-3.2 40.9-48 40.9H8.5z" fill="#00D4B5" mask="url(#account_advanced__d)"></path></g><path d="M101 70.3c-1 .3-6.2 4.3-6 10.7.4 6.4 4.2 11.2 12.2 11.9 8 .7 14.4-.8 17.5-5.8 3.1-5 1.5-10.3.7-11.1-.8-1-7.8-2.2-8.8-2.2-1 .1-1.3.8-1.2 2.2 0 1.3.8 9-5.8 7.6-6.5-1.4-3.4-7.2-1.1-9.4 1.4-1.4 0-2.8-1.4-3.1-1.4-.4-4.3-1.4-6.1-.8" fill="#4620AE"></path><g transform="translate(6 47.7)"><mask fill="#fff"><path d="M0 .7h69.5v52.1H0z"></path></mask><path d="M10.2 10.9c7.7-1.7 40.3-9 45.4-10 4.8-.8 10.4.2 11.8 5 0 0-3.4 8-3.3 8.3.7 4.5 5.3 8.2 5.3 8.2v3.4c0 5.2-2 21.1-27.5 25.8-20.8 3.8-35.7-.8-40.6-19-3.8-14 1.2-20 9-21.7" fill="#00D4B5" mask="url(#account_advanced__f)"></path></g><path d="M33.9 54.7c0-5.8-.3-11.3 2.6-11.3 2.8 0 6.3 9.3 6.3 9.3l-9 2zM19.6 74c1 5.4 3.6 7.4 12 5.9 7-1.3 35.2-8 43.8-9.8a143.9 143.9 0 0 0-2-16.5C66.6 55.1 31.7 63 27.8 64c-7.3 1.7-9.3 4.6-8.2 10" fill="#4620AE"></path><path d="M30.4 38.3c.5-2.6 2.8-4 5.2-3.5 2.7.5 4.2 2.7 3.7 5.2-.6 2.5-2.6 4-5.3 3.6-2.6-.4-4.1-2.6-3.6-5.3" fill="#FF76DA"></path><path d="M47.4 84.9c.5-2.7 2.8-4 5.3-3.5 2.7.5 4.2 2.7 3.6 5.2-.5 2.4-2.5 4-5.2 3.6-2.6-.4-4.2-2.6-3.7-5.3" fill="#4620AE"></path><path d="M119.6 50.8c3.2-3.3 7.8-2.9 10.8.1 0 0 1.2 6.2-2 9-3 3-8.9 1.8-8.9 1.8-3.2-3.1-3.2-7.7 0-11" fill="#FF76DA"></path><path d="M119.5 61.7c3.4 3.1 7.8 3 11 0 3-2.9 3.2-7.5-.1-10.8l-10.9 10.8z" fill="#4620AE"></path><path d="M119.4 41c-3.2-3.2-2.8-7.8.2-10.8 0 0 5-.1 8 3s2.7 7.9 2.7 7.9c-3 3.2-7.6 3.2-10.9 0" fill="red"></path><path d="M130.3 41c3.2-3.3 3-7.6 0-10.8-2.8-3.1-7.4-3.2-10.7 0l10.7 10.9z" fill="#FF76DA"></path><path d="M72.4 35.6c0-4.6 3.5-7.6 7.7-7.6 0 0 5 3.4 4.8 7.7-.1 4.3-4.8 7.6-4.8 7.6-4.5.1-7.7-3.1-7.7-7.7" fill="red"></path><path d="M80 43.3a7.6 7.6 0 0 0 7.8-7.7c.1-4.2-3-7.5-7.7-7.6v15.3zM101.3 29.1L95 37.9c-1.3 1.8 0 3.3 1.7 3.3h10.5c1.7 0 2.7-1.9 1.7-3.3l-6-8.8a1 1 0 0 0-1.6 0" fill="#4620AE"></path><path d="M106.3 62.4h-9a2.5 2.5 0 0 1-2.5-2.6V53c0-1.9 1.6-2.9 3-2.9h9c1.4 0 2.5 1.1 2.5 2.5v7.2c0 1.5-1.2 2.6-3 2.6" fill="red"></path><path d="M120.9 97.8c.1-3.8-1.6-4.6-3.4-5.3-1.7-.6-15.7-2.5-19-3-3.1-.3-4.2 1.2-4.7 2.8-.4 1.5-.4 9.5-11.2 10-3 .1-5.1-.2-7.1-.7v37a43 43 0 0 0 45.4-40.8" fill="#00D4B5"></path><path d="M28.8 73.7a1.5 1.5 0 0 1-.3-3l40.2-8.9c.8-.2 1.6.4 1.8 1.2.2.8-.3 1.6-1.2 1.8l-40.2 8.8h-.3" fill="#FF76DA"></path><path d="M62.8 119.7h-25a1.3 1.3 0 0 1 0-2.5h25a1.3 1.3 0 0 1 0 2.5M58.5 113.6H42a1.3 1.3 0 0 1 0-2.5h16.4a1.3 1.3 0 0 1 0 2.5M58.5 125.8H42a1.3 1.3 0 0 1 0-2.5h16.4a1.3 1.3 0 0 1 0 2.5M75.5 135.7a.8.8 0 0 1-.8-.8v-28a.8.8 0 0 1 1.5 0v28c0 .5-.3.8-.7.8M79.4 135.7a.8.8 0 0 1-.8-.8v-28a.8.8 0 0 1 1.5 0v28c0 .5-.3.8-.7.8M25 135.7a.8.8 0 0 1-.8-.8v-22.6a.8.8 0 0 1 1.5 0V135c0 .5-.3.8-.7.8M21.2 135.7a.8.8 0 0 1-.7-.8v-19.6a.8.8 0 0 1 1.5 0v19.6c0 .5-.4.8-.8.8" fill="#4620AE"></path></g><g fill="none" fill-rule="evenodd" viewBox="0 0 155 155" id="account_notifications"><g transform="translate(1 27.3)"><mask fill="#fff"><path d="M0 .7h125.5V99H0z"></path></mask><path d="M1.6 40.4C6.6 16.6 26.5.8 54.7.7 77.2.7 89.2 8 101 15.6c18.5 12.1 27 24.6 24 41.8-5 26.4-22.6 41.3-64.3 41.6-41.8.2-67.5-17.7-59-58.6" fill="#EEE" mask="url(1)"></path></g><path d="M63.1 47.8s21.2 11.4 23.7 12.9c2.1 1.2 2.1 3.3.3 4.9l-17.2 15L63 47.8z" fill="#00D4B5"></path><g transform="translate(13 83.3)"><mask fill="#fff"><path d="M.9 0h77.3v43H.9z"></path></mask><path d="M40.7.7C30.7 5 4.4 13.7 2.2 23.6L1 29.7C11.4 40.2 26.7 43.1 48.6 43c11.6 0 21.4-1 29.6-3-2.2-3.3-5-9.5-7.9-16.8C63.8 6.9 48-2.5 40.7.7" fill="red" mask="url(#account_notifications__d)"></path></g><path d="M25.4 102.4c5.5.2 4.4 7.6 10.6 8.5 6.4 1 7.3-8.3 12.9-8.2 5.6.2 6.1 9.3 13.7 8.2 5.6-.8 4.5-8 9.5-9.2 4.7-1 5.3 5.6 11.2 4.7-6.5-16.3-12.8-51-20.2-58.6-3.6-3.7-15.9-3.1-23.1 0-10 4.4-15.6 7.7-18 24.5 0 0-4.8 25.8-6.8 34.5 6 .7 5.6-4.4 10.2-4.4" fill="#FF76DA"></path><path d="M39.4 43.5c-9.8 4.3-14.8 11.8-17.3 27.9l41-23.6c-7.4-5.8-17.6-7-23.7-4.3" fill="#4620AE"></path><path d="M56.3 51.5a1.5 1.5 0 0 1-.8-2.8L71 40.1a1.5 1.5 0 0 1 1.5 2.6L57 51.3c-.2.2-.5.2-.7.2" fill="#4620AE"></path><path d="M41.5 70a8.4 8.4 0 0 1 9-7c.4 0 5.2 4.9 4.1 9.6-.8 3.9-2.7 7.9-2.7 7.9h-3.3c-5-.8-8-5.1-7-10.4" fill="#FFF"></path><g transform="translate(85 56.3)"><mask fill="#fff"><path d="M.3.5H69v40.6H.3z"></path></mask><path d="M21.6.5h40.1c3.5 0 9 0 6.7 6.2-2.3 6.4-9.3 25-11.2 28.7-1.8 3.7-4.5 5.7-9.3 5.7H7c-2 0-8.2-2-6.2-7.5 2-5.5 9.5-22.7 11.7-26.9C14.6 2.6 16 .5 21.6.5" fill="#00D4B5" mask="url(#account_notifications__f)"></path></g><path d="M59 73.3c1-4.8-1.9-9.2-7.2-10.2l-1.4-.1c-3.7 3.9-2.1 13.4 1.5 17.4a8.7 8.7 0 0 0 7-7" fill="#4620AE"></path><path d="M75 125.7A179.2 179.2 0 0 1 93.5 89c6.5-8.3 12.5-9.4 14.4-8.9 1.9.5-4.4 12.6-4.4 12.6s7-10.5 12.4-7.5c1.3.7-3.4 11.9-3.4 11.9s6-9.7 11.4-7c2.6 1.2-6.8 24.3-24.4 31.6-5.2 2.2-14.3 4.1-24.7 4.1" fill="#FF76DA"></path><path d="M119.2 77.4c-2 0-3.7-.7-5-2.1-1.5-1.9-8.6-10-11.7-13.5a.7.7 0 1 1 1.1-1c3.1 3.4 10.3 11.6 11.8 13.5 1.5 1.8 5 2.5 9.3-.2l15-8.2c3.4-2 6.7-3.8 9.1-5a.7.7 0 1 1 .7 1.2l-9.1 5-14.9 8.3c-2.2 1.3-4.3 2-6.3 2" fill="#FFF"></path><path d="M33.5 41.6c.3-1.5 1.7-2.3 3.1-2 1.6.2 2.5 1.6 2.2 3a2.6 2.6 0 0 1-3.1 2.2c-1.6-.3-2.5-1.6-2.2-3.2M78.3 67.2c-1.7 0-3.7-1.1-4.2-4.3a.7.7 0 1 1 1.5-.3c.3 2.5 1.8 3.2 3 3a2.8 2.8 0 0 0 2.5-2.9c0-.4.3-.8.7-.8.4 0 .7.3.8.7a4.3 4.3 0 0 1-4.3 4.6" fill="#4620AE"></path></g><g fill="none" fill-rule="evenodd" viewBox="0 0 155 155" id="account_playback"><path d="M81.4 33.2c-40.7 0-72.2 25.3-71.4 63 .4 14 4.2 23.2 10.4 29.2 0 0 38.6 8 60.5 8 21.6 0 46.5 1.9 59.5-11.3 6-6.3 9.6-15.2 9-27.9-1.6-32.6-19.4-61-68-61" fill="#EEE"></path><path d="M51.5 127.8c14.7 2.3 29.7.8 36.6-2 6.2-2.5 8-6.5 5.6-12a26.4 26.4 0 0 1-.7-1.7c-.7-1.6-1.3-3.2-1.6-4.9-3-13.8 18.5-23.3 10.8-54.5a45.6 45.6 0 0 0-6-14.4c-8-11.9-20.4-12.3-36.7-10.5C41 29.8 26.2 38 25 60.9c-1 17.3 7.7 28 13.9 37 2 3 3.4 5.8 3.4 8.7 0 2.5-.5 4.5-1.4 6.3-2.4 5.5-4 12.7 10.7 15" fill="#00D4B5"></path><g transform="translate(20 112)"><mask fill="#fff"><path d="M.4 1H94v24H.4z"></path></mask><path d="M73.7 1.8c2.4 5.5-.2 9.3-6.7 11.5a104 104 0 0 1-35.3 1.5C20.6 13.8 18.4 6.4 20.8 1 18.1 6.4 8.3 11.7.4 13.5c15.2 14.5 40.5 11.2 61 11.2 8.5 0 19.6-.8 28.5-2 4-.4 1.6-1.6 4.2-2.3-4.5-1-3.4-2.5-7.7-5.3A38 38 0 0 1 73.7 1.8" fill="#4620AE" mask="url(#account_playback__b)"></path></g><g transform="translate(6 19)"><mask fill="#fff"><path d="M0 0h27.5v26.8H0z"></path></mask><path d="M22.2 25.6c-6.7 1.9-14.7 2.1-19.1-3.9-8.6-11.4 2.2-24 14-21.2C24.5 2.3 28.5 12.8 27.2 20c-.4 2.2-5 5.6-5 5.6" fill="#4620AE" mask="url(#account_playback__d)"></path></g><path d="M36.7 46.2a55.3 55.3 0 0 0 38 3.4l-2-8.7s12.5 4.9 23.4-2.7c-7.8-11.8-20.8-15.7-37-14C40.4 26.2 22.8 38 21.4 61c-1 17.3 11.1 28 17.3 37l15-14.8s-21.4-16.2-17-36.9" fill="#4620AE"></path><path d="M43.4 57.6c-5.5 0-12 3.6-9.4 12.8 2.7 9 10.8 18.6 22.9 17.8 16.6-1 21.6-12.8 25.5-19.6 3 7.5 11.5 21 25.3 19.8 13.8-1.3 17-17.5 16.8-22.8-.1-5.4-3-8-7.5-8H43.4zM125.9 38.4c-1.5 0-2 3.7-3.2 4.4-1.2.6-3.7.7-3.8 2.3 0 1.6 3.6 1.7 4.4 2.9.9 1.2 1 4.9 2.6 4.7 1.6-.1 1.6-3.9 3.1-5 1.6-1 4.2-.3 4.2-2.1 0-1.9-3.3-1.8-4.3-3.1-1-1.4-1-4.2-3-4.1" fill="#FF76DA"></path><path d="M59.4 64.3l6.4-6.7h-5.2a48.4 48.4 0 0 0-8.4 8.4c-1 2.4 4.2 2 4.2 2S46.5 78.3 41.8 83c1.2 1 2.5 2 3.9 2.7 5.5-5.5 17.7-17.9 18.2-19.4.6-2-4.5-2-4.5-2M107.8 65l7-7.4h-5a55.1 55.1 0 0 0-9.3 9.2c-1 2.3 4.3 2 4.3 2s-8 9.2-12.6 14.1c1.2 1 2.4 2 3.7 2.7 5.5-5.9 15.9-17.2 16.3-18.7.6-2-4.4-1.9-4.4-1.9" fill="#FFF"></path><path d="M42.3 67.2l9.6-9.6h-3.2a66.8 66.8 0 0 0-9.3 10c-1 2.3 4.2 2 4.2 2l-6.9 7c.3.6.8 1.4 1.4 2 4.8-4.9 8.4-8.6 8.7-9.5.6-2-4.5-1.9-4.5-1.9M67.7 78.4c1-1 1-1.8-.6-1.7a14 14 0 0 1-3.9 0l4.3-4c.6-.5 1-1 1.5-1.3 1-1-.8-2-3 0-4.6 4-5.6 5.1-5 6.3.2.3.6 1 3.3 1a129 129 0 0 0-9.3 9.6h1.9l.9-.1c3.4-3.6 9-9.1 9.9-9.8M95 71.5l1-.8c.2-.3.1-1.1-.6-1-1.5.2-3.3.3-4.7.1a213 213 0 0 1 11.7-12.2h-2.8C87.7 69.4 87.9 69.9 88.4 70.8c.2.3.6 1 3.3 1l-5 5 1.3 1.6 7-7M111.9 74.2c-1.3 1.9.4 3 1.7 1.3 2-2.3 6.5-7.6 10.7-12.2l-.8-2.1-7.4 7.9-4.2 5" fill="red"></path><path d="M135.6 93c3.2-10.4 2.2-12.8 0-13.5-2.1-.8-4.7.4-5.8 6.1 0-4-3.8-6.3-9.3-7.2-5.4-1-6.5 1.8-4.5 4.5-4.4-1.8-6.7 2.4-4.4 4.7-4.1.8-3.2 4.2-1 6.2 2.4 2 7 1.9 8.2 4.6 1.2 2.8-1 8.6-5 8.8-4.2.1-3.8-2.2-3.8-5.8 0-5.3-6.5-7-7.6 2a59.7 59.7 0 0 0 7.5 31.3 48.6 48.6 0 0 0 30.5-12.6c-6-7.3-7.8-19.3-4.8-29" fill="#00D4B5"></path><path d="M77.9 99c-4.1 0-8.3-1.8-10-5.6-.6-1.5-.3-3.1 1-3.9 1.5-.8 3-.3 4 1 1.3 1.8 3 2.5 5.2 2.4 2.1 0 3.7-.8 4.8-2.5.9-1.4 2.4-2 3.8-1.3s1.8 2.3 1.3 3.8c-1.3 3.8-5.5 6-9.7 6.2H78" fill="#4620AE"></path><path d="M140.4 48.3c.4-1.8 2-2.8 3.7-2.4 1.9.3 3 1.9 2.6 3.6A3.1 3.1 0 0 1 143 52c-1.8-.2-3-1.8-2.6-3.7" fill="red"></path><path d="M130.9 60.4c.3-1.6 1.7-2.4 3.1-2.1 1.6.3 2.5 1.6 2.2 3a2.7 2.7 0 0 1-3.2 2.2c-1.5-.2-2.4-1.5-2.1-3.1" fill="#00D4B5"></path><path d="M122.7 91.2c-.2 0-.4 0-.5-.2-2-1.8-6.3-2.5-8.6-2.5a.8.8 0 0 1 0-1.5c2.6 0 7.3.8 9.6 2.9a.8.8 0 0 1-.5 1.3M126.4 86.5c-.2 0-.4 0-.6-.2-1.9-1.8-6.2-2.5-8.5-2.5a.8.8 0 0 1 0-1.5c2.6 0 7.3.8 9.6 3a.8.8 0 0 1-.5 1.2" fill="#4620AE"></path><path d="M35.5 62h-5.4c-1 0-4.3 4.6-3.7 5 .6.5 9.1 0 9.1 0v-5z" fill="#FF76DA"></path><path d="M79.4 57.6s-4 4.4-5.2 6.2c-1.6 2.2.8 4.2 2.9 2 2.3-2.2 7.2-8.2 7.2-8.2h-4.9z" fill="#FFF"></path></g><g fill="none" fill-rule="evenodd" viewBox="0 0 155 155" id="account_privacy"><path fill="#4620AE" d="M53.2 31.6l6.6 7.7 5-3.5-6.6-8zM27.5 114.7c0-9.5-2.4-35.5 24.5-35.5h46.2l-.6 42.1-70.1-6.6z"></path><path d="M62.1 37.8c9.6-7 34.8 1 35.2 1.3l14.5 15.1c1.4 1.6.8 5.6-2.8 5.4h-5.6c-.9 0-1.7.8-1.7 2.7 0 11.6-2.7 22.9-9.4 23.6-25.6 2.9-23-6.7-40.1-6.7 0 0 .3-3.5-1-7.1-.2-.3-4.4-23.3 11-34.3" fill="#FF76DA"></path><path d="M72.4 69.1c.4-1.3 1-7.4 1.5-10.4.4-3-1.9-3.4-3.7-3.8-1.7-.3-6.8-1.6-6-8 .6-6.5 8.3-7.8 13.7-7.8h19.4l-1.1-1.2c-9.7-10-26.9-7.6-36.5-.7-15.3 11-10.7 30-9 34 .2.2.3.6.4.9h17.1c2.7 0 4-1.7 4.2-3" fill="#4620AE"></path><path d="M83.6 50.6l4.1-7.2 1.5-.2c7.3-.3 8.8 4.8 8.7 7 0 4.5-4.1 7.3-8.6 7.1l-2.1-.3s-1.8-4.3-3.6-6.4" fill="#FFF"></path><path d="M94 68.7l-2.4-.3a10 10 0 0 1-6.6-5.7 1 1 0 0 1 1.8-.8c1 2.2 3 3.9 5.3 4.5a7 7 0 0 0 6-1 1 1 0 0 1 1.3 1.6 8.8 8.8 0 0 1-5.3 1.7M87.7 43.4c-6.4 1.1-10 7.3-10 7.3 1.9 2.1 5.7 5.3 9.5 6.3 3.7-4.4 3.3-9.3.5-13.6" fill="#4620AE"></path><path d="M45 47.4c2.7-9.8 13-22.8 34.4-22.4.9 0 1.6-.7 1.6-1.6v-6.8c0-.9-.7-1.6-1.6-1.6-14.8.1-38.8 2.6-46 31.6-.2 1 .6 2 1.6 2h8.4c.7 0 1.3-.5 1.5-1.2" fill="#00D4B5"></path><g transform="translate(16 97.2)"><mask fill="#fff"><path d="M0 .9h118.6V43H0z"></path></mask><path d="M5.2.9C1.9.9 0 2.5 0 6.7v17.4c0 2.5 1.3 4.5 5.2 4.5h5.6c2 0 3.3 1 3.3 4V39c0 1.8-.3 4.1 4 4.1h82.1c5 0 6.5.1 6.5-4.2V32c0-2.5.3-4.1 2.8-4.1h4c2 0 5.1-1 5.1-4.6V.9H47.8c-3.7 0-7.6.9-7.6 4.2v4.3c0 2-1.2 3.4-4.4 3.4h-8c-2 0-3.7-1.4-3.7-3.8V5C24 3 22.9 1 20.5 1H5.2z" fill="#00D4B5" mask="url(#account_privacy__b)"></path></g><path d="M106.3 130.4c1.7 0 10.2-17.8 15.9-22 5.7-4.1 15.9-7.9 15.9-10.3V80.8c0-3.3.1-6-3.7-6.9-3.8-1-5 5.3-14 5.3s-9.8-7.1-14-7.1c-3.7 0-.6 15.7-9.6 15.7S74.6 92 74.6 98v5.2c0 3 .1 6.7 5.8 10.9a709 709 0 0 0 20 14 12 12 0 0 0 6 2.2" fill="#4620AE"></path><path d="M106.3 72c-3.6 0-5.1 7.2-14.1 7.2S82.1 73 78.2 74c-3.8 1-3.6 3.6-3.6 6.9V98h31.7v-26zM132.2 114.2c5.7-4.2 5.9-7.9 5.9-10.9v-5.2h-31.8v32.3a12 12 0 0 0 6-2.3c2.1-1.4 14.2-9.7 20-14" fill="red"></path><path d="M71 126.7H38.3a1 1 0 1 1 0-2H71a1 1 0 1 1 0 2" fill="#4620AE"></path><path d="M48.2 134.4a1 1 0 0 1-1-1v-7.7a1 1 0 1 1 2 0v7.7c0 .6-.5 1-1 1M62.8 126.7a1 1 0 0 1-1-1v-7.8a1 1 0 1 1 2 0v7.8c0 .5-.4 1-1 1" fill="#4620AE"></path></g><g fill="none" fill-rule="evenodd" viewBox="0 0 155 155" id="account_settings"><path d="M3.9 76.2C3.9 37.9 32.7 13 68.3 13c39.1 0 65.4 27.6 64.4 63.2 0 3.1-.3 6.2-.7 9.2-.7 4.8-6.2 8-7.8 12.4-1.8 5 .2 11-2.7 15.4a59.7 59.7 0 0 1-18.6 17.7c-9.6 5.9-21.6 4-35 4.3-12.7.4-24 2.9-33.8-2.7-18.5-10.6-30.2-30.9-30.2-56.3" fill="#EEE"></path><path d="M78.7 92.5c14.1-6.8 5.6-21 1.4-26.3 4.3 3.2 7.6 1.6 9.2.3 1.7-1.3 2.6-5-.9-8-3.4-3-13.9-13.5-21.6-20.8-.3-.2-18.6-1.7-28.2 8.3-8.6 8.9-14.4 33.2-14.4 33.2 16.1 23.5 11.9 35 5.6 44.5 10.7 7.7 49-6.6 48-7.6-9.1-8.1-10.2-18.3.9-23.6" fill="#FF76DA"></path><g transform="translate(28 115.7)"><mask fill="#fff"><path d="M1 .4h74V25H1z"></path></mask><path d="M40.3 25c8.7-.3 16.8-1.9 24-4.6 1.7-.6 1-1.4 2.7-2.2 1.4-.6 5.2-1.3 6.5-2.1l1.4-.9c-2.2-1-5.7-2.7-9.5-4.8-1.2-.6-4.1-.9-5.4-1.6-1.3-.7-.9-2-2.2-2.7a100.6 100.6 0 0 1-8-5.7H6.3c-1 5.3-3 9.7-5.3 13.1 1.2 1 2.5 1.8 3.9 2.6s5.3 1.4 6.8 2.1c1.4.7.4 1.6 1.8 2.2 8 3.3 17.1 4.9 26.8 4.6" fill="#00D4B5" mask="url(#account_settings__b)"></path></g><path d="M32.9 131.8a59 59 0 0 0 8.6 4.3h50.7c3.3-1.2 6.4-2.7 9.3-4.3H32.9zM37.6 126h55.8c-2.5-1.2-5-2.7-7.6-4.2H37.6v4.3z" fill="#FFF"></path><path d="M46.4 55c14.1 1.7 14.1 14.3 14.1 14.3L55 74s-2.3-3.3-7.8-2.1c2.2 1.3 3.7 3.2 4.8 5.3 2.6 5.1 2.1 13-6 16.4-3 1.2-7 4-7.3 8.3-.4 6.5 4.6 10 11.6 8.7 2 9-6.2 24.8-26.9 22.5a22.9 22.9 0 0 1-18-32.7c5.4-11.8 22.4-14.7 18.9-21L46.4 55z" fill="#4620AE"></path><path d="M56.1 32a31 31 0 0 0-27 9.3C22.7 47.9 17.2 57 19 67.7c.8 3.7 40.7-35 37-35.7" fill="#00D4B5"></path><path d="M14.3 35c0-5.2 4-8.5 8.7-8.5 5.3 0 8.9 3.7 8.7 8.5a8.6 8.6 0 0 1-8.7 8.7c-5 .1-8.7-3.5-8.7-8.7" fill="red"></path><path d="M73.9 72.5c-2.8-1.3-6-1-6.8 2.3-.6 2.2.3 5.8 4.8 7.4a27.9 27.9 0 0 0 14.4 1.3c.6-3.1-.2-6.4-1.4-9.4-2.7.4-6.8.4-11-1.6" fill="#FFF"></path><path d="M104.6 46H75.7c-3.6 0-5 2-5 5 0 2.9.7 5.7 4.6 5.7h30.3l-1-10.7z" fill="#4620AE"></path><path d="M137.8 42.6h-29c-5.8 0-8.3 3.3-8.3 8 0 4.8 2.3 9.4 7.8 9.4h28.4l1.1-17.4z" fill="#4620AE"></path><path d="M101.3 57.8a.8.8 0 0 1-.6-.4 13 13 0 0 1-1.2-6.5c0-.4.4-.7.8-.7s.7.4.7.8c-.2 1.9.2 4.3 1 5.7a.8.8 0 0 1-.7 1.1" fill="#9A4DFF"></path><path d="M131 51.2c0-6.9 4.8-11.4 10.7-11.4 6.4 0 10.8 5 10.6 11.4-.2 6.6-4.2 11.5-10.6 11.7-6.1.2-10.6-4.6-10.6-11.7" fill="red"></path><path d="M136.1 51.3c0-3.7 2.5-6 5.6-6 3.4 0 5.7 2.6 5.6 6-.1 3.4-2.3 6-5.6 6.1-3.2.1-5.6-2.4-5.6-6.1" fill="#FFF"></path><path d="M124.4 66c.7-5.9 0-10.4-3.3-10.8-3.4-.4-4.5 4-4.5 4s.2-4.5-3-5c-3.2-.4-4.6 4.4-4.6 4.4s.9-4.7-3.6-4.3c-4.5.3-9.2 11.5-7.2 28.3a38.3 38.3 0 0 0 23.3 30.6c5.4-8 9-17.5 10.4-27.8-5.5-3.5-8.3-12.3-7.5-19.5" fill="#FF76DA"></path><path d="M107 71.7a.8.8 0 0 1-.7-.8c0-2.6.7-7.8 1.4-10.7 0-.4.5-.7.9-.6.4 0 .6.5.5.9-.7 3.2-1.3 8.1-1.3 10.4 0 .4-.3.8-.7.8M114.8 71.7a.8.8 0 0 1-.7-.8c0-2.6.7-7.8 1.3-10.7.1-.4.5-.7 1-.6.3 0 .6.5.5.9-.7 3.2-1.3 8.1-1.3 10.4 0 .4-.4.8-.8.8" fill="#4620AE"></path><path d="M66.8 37.7l-.7-.6a20.2 20.2 0 0 0-10-5L19.2 67.6c.7 3.7 2.3 7.5 5 11.5l42.6-41.5z" fill="red"></path><path d="M48.6 55.4C59.1 53 71.6 45 66.8 37.7L48.6 55.4z" fill="#4620AE"></path></g><g fill="none" fill-rule="evenodd" viewBox="0 0 155 155" id="account_sharing"><path d="M72 34.3C91 27 128.7 18.8 141.7 52.6c7.3 19 9.3 40.2 2.8 56.4 0 0-16.4 15-33 18-33.9 6.4-51.7 9.2-68.7 8.2-10.6-.7-28.8-10.6-28.8-10.6a45.7 45.7 0 0 1-3.7-25C12.8 72 24.1 53 72.1 34.2" fill="#4620AE"></path><path d="M100.5 69.6c0-5.6 4.2-9.3 9.4-9.3 5.7 0 9.5 4 9.4 9.3a9.3 9.3 0 0 1-9.4 9.4c-5.4.1-9.4-3.8-9.4-9.4" fill="red"></path><path d="M144.4 59.7c-4 0-6.5-3-6.5-6.6 0-4 2.9-6.7 6.5-6.6 3.7.1 6.5 2.6 6.6 6.6.1 3.8-2.6 6.6-6.6 6.6" fill="#00D4B5"></path><path d="M89.6 62.2c-2.8 0-4.5-2-4.5-4.6 0-2.7 2-4.6 4.5-4.5 2.5 0 4.5 1.8 4.5 4.5.1 2.7-1.8 4.6-4.5 4.6" fill="#FF76DA"></path><path d="M121 47.3c-1.8 0-3-1.4-3-3.1 0-1.9 1.3-3.2 3-3.1a3 3 0 0 1 3.1 3c0 1.9-1.2 3.2-3 3.2" fill="#EEE"></path><path d="M95.4 14c-2.9.1-2.7 8.7-4.2 9-1.5.2-9.4-3-10.4-.6-1 2.2 6.4 5.5 6.5 6.9 0 1.3-7.8 5.5-6.8 7.7 1 2.3 9.5-2 10.6-1.2 1 .9 2.1 8.8 4.3 8.8 2.1 0 3.6-8 5.4-8.3 1.8-.4 6.5 3.2 8.5 1.2s-5.1-5.8-4.7-7.2c.5-1.4 7.6-5.5 6.6-8-1-2.4-10.6 2.1-11.5.4-1-1.8-1.7-8.8-4.3-8.7" fill="#FF76DA"></path><path d="M106.2 58a1 1 0 0 1-1-.7l-4.6-15.2a1 1 0 1 1 2-.6l4.6 15.2a1 1 0 0 1-1 1.3M121.8 64.6a1 1 0 0 1-.4-2l12.8-5.9a1 1 0 1 1 .8 1.8l-12.8 6a1 1 0 0 1-.4.1" fill="#00D4B5"></path><g transform="translate(13 71)"><mask fill="#fff"><path d="M.8.3h130.6V70H.8z"></path></mask><path d="M26.7 69.7c17 1 39 0 72.9-6.3A40.2 40.2 0 0 0 131.4 38c-3.1-7.7-6.5-14.7-9.9-21.7-5-10.3-9.8-15.8-12.7-15-2 .5-2.3 2.2-1.8 6-1.5-3.2-5-7.6-7.1-7.1-2 .5-2.7 2.3-1.6 7C96.1 3 93.1.9 91.1 1.7c-1.9.9-1.8 4.2-.7 7.4-1.7-2.5-4.8-4.7-6.6-3.7-1.8 1-2.7 3.6 0 10.7 2.7 7.3 9.1 17.5 11 22.8 1.8 5.3-6.6 8.2-13.6 2.2-7.1-6-14.2-14-31.8-12.4C33.2 30.1 9.2 39.5.8 53.5a29.6 29.6 0 0 0 26 16.2" fill="#FFF" mask="url(#account_sharing__b)"></path></g><path d="M51.8 128.1c-3.3 0-5.4-2.4-5.4-5.5 0-3.4 2.4-5.7 5.4-5.6 3.1.1 5.5 2.2 5.6 5.6 0 3.2-2.2 5.5-5.6 5.5" fill="red"></path><path d="M67 111.2c-2 1-5 7.7-2.6 11.1 2.4 3.5 6.3-2.8 6.3-2.8s6.7 1.2 6.7-1.8-7.2-8.1-10.4-6.5M26.6 41c-12.2 4.7-31.8 18-20 47.7 5.8 14.2 14 20.1 22.4 21.9 0 0 17.2-3.6 23.5-6.1 4.3-1.8 15.2-5 15.2-5 7.9-6.4 13.2-17.4 6.1-38.5-9.2-27.8-32.2-25.7-47.2-20" fill="#FF76DA"></path><path d="M30.5 52.4C18.6 57 8.9 67.2 16 84.4 21.2 97 29.2 96 31.4 106c.3 1.5-.1 2.9-2.4 4.5l37.6-11.1c-7-3.8 7.6-12-1.8-33.3a35 35 0 0 0-10.5-14.6c-6.7-5-14.3-3-23.8.8" fill="#00D4B5"></path><path d="M54 107c4.2-1.8 9.3-4 13.7-7.5a85 85 0 0 0-38.7 11 44 44 0 0 0 25-3.5" fill="#00D4B5"></path><path d="M28 85.1c-3.7-4-12.4-9.6-10.7-15 2-6 11.4-6.1 24.1-11.5 7-3 10.9-5.4 13-7-6.8-5-14.8-4-24.3-.3-11.9 4.7-21.9 16-14.5 33 5.4 12.9 16.3 17 15.9 23.2 5.6-9.4-.3-18.7-3.6-22.4" fill="#4620AE"></path><path d="M41.7 70.2c-.7-4-5.3-3.8-5.3-3.8l-.7.3c-2.8 1.5-8.2 6-7 9.5.8 2.7 4.7 2.7 7.9 1.8.8-.3 5.7-4.3 5.1-7.8" fill="#F7F7F7"></path><path d="M44 70c-.6-4-4.7-4.7-7.6-3.6-.7 4.2-.4 8.5.2 11.5.8-.2 1.7-.5 2.4-1 3.2-1.6 5.7-3.4 5-7" fill="#4620AE"></path><path d="M56.3 58.4c-2.8 1.5-8.2 6-7 9.5.8 2.7 4.7 2.7 7.9 1.8.8-.3.8-12-.2-11.6l-.7.3" fill="#F7F7F7"></path><path d="M57 58.1c-.7 4.2-.4 8.5.2 11.6l2.4-1c2-1 3.8-2.2 4.6-3.8a48.4 48.4 0 0 0-4.1-7.2c-1-.1-2.1 0-3 .4" fill="#4620AE"></path><path d="M136.7 98H104a.8.8 0 0 1 0-1.6h32.7a.8.8 0 0 1 0 1.5M138.4 102.1h-32.7a.8.8 0 0 1 0-1.5h32.7a.8.8 0 0 1 0 1.5M96.8 118.3c-.4.2-.5.6-.3 1 2.9 5.4 5.4 11.7 7.1 16.6l1.5-.2c-1.7-5-4.3-11.5-7.3-17a.8.8 0 0 0-1-.4M101.2 117.6c-.4.1-.5.6-.3 1 2.8 5.4 5.3 11.7 7 16.6l1.6-.3c-1.8-5-4.3-11.5-7.3-17a.8.8 0 0 0-1-.3M23.4 121c-.3.2-.4.7-.1 1a62 62 0 0 1 7.5 17l1.8.5c-1.8-5.7-4.7-14-8.1-18.4a.8.8 0 0 0-1-.1M27.3 117.8c-.4.3-.5.7-.2 1a80.3 80.3 0 0 1 9 21.4l1.6.3c-2-8-5.8-17-9.4-22.5a.7.7 0 0 0-1-.2" fill="#00D4B5"></path><path d="M52.1 87c-.5 0-1 0-1.6-.2-2.3-.9-4.2-3.5-5.2-7.2a.7.7 0 1 1 1.5-.4c.8 3.2 2.4 5.5 4.2 6.2 1 .4 2 .2 3-.5 3-2-.3-8.1-.3-8.2A.8.8 0 0 1 55 76c.2.3 4 7.3-.1 10.2a5 5 0 0 1-2.8.9" fill="#4620AE"></path></g><g fill="none" fill-rule="evenodd" viewBox="0 0 192 192" xmlns:xlink="http://www.w3.org/1999/xlink" id="chrome_icon"><defs></defs><g clip-path="url(#chrome_icon__b)"><path fill="#DB4437" d="M21.97 8v108h39.39L96 56h88V8z"></path><path fill="url(#chrome_icon__c)" d="M21.97 8v108h39.39L96 56h88V8z"></path></g><path fill="#3E2723" fill-opacity=".15" d="M62.31 115.65L22.48 47.34l-.58 1 39.54 67.8z" clip-path="url(#chrome_icon__b)"></path><g clip-path="url(#chrome_icon__b)"><path fill="#0F9D58" d="M8 184h83.77l38.88-38.88V116H61.36L8 24.48z"></path><path fill="url(#chrome_icon__d)" d="M8 184h83.77l38.88-38.88V116H61.36L8 24.48z"></path></g><path fill="#263238" fill-opacity=".15" d="M129.84 117.33l-.83-.48L90.62 184h1.15l38.1-66.64z" clip-path="url(#chrome_icon__b)"></path><g clip-path="url(#chrome_icon__b)"><defs></defs><g clip-path="url(#chrome_icon__f)"><path fill="#FFCD40" d="M96 56l34.65 60-38.88 68H184V56z"></path><path fill="url(#chrome_icon__g)" d="M96 56l34.65 60-38.88 68H184V56z"></path></g></g><g clip-path="url(#chrome_icon__b)"><path fill="#FFCD40" d="M96 56l34.65 60-38.88 68H184V56z"></path><path fill="url(#chrome_icon__h)" d="M96 56l34.65 60-38.88 68H184V56z"></path></g><g clip-path="url(#chrome_icon__b)"><defs></defs><g clip-path="url(#chrome_icon__j)"><path fill="#DB4437" d="M21.97 8v108h39.39L96 56h88V8z"></path><path fill="url(#chrome_icon__k)" d="M21.97 8v108h39.39L96 56h88V8z"></path></g></g><path fill="url(#chrome_icon__l)" d="M96 56v20.95L174.4 56z" clip-path="url(#chrome_icon__b)"></path><g clip-path="url(#chrome_icon__b)"><defs></defs><g clip-path="url(#chrome_icon__n)"><path fill="#0F9D58" d="M8 184h83.77l38.88-38.88V116H61.36L8 24.48z"></path><path fill="url(#chrome_icon__o)" d="M8 184h83.77l38.88-38.88V116H61.36L8 24.48z"></path></g></g><path fill="url(#chrome_icon__p)" d="M21.97 48.45l57.25 57.24L61.36 116z" clip-path="url(#chrome_icon__b)"></path><path fill="url(#chrome_icon__q)" d="M91.83 183.89l20.96-78.2L130.65 116z" clip-path="url(#chrome_icon__b)"></path><g clip-path="url(#chrome_icon__b)"><circle cx="96" cy="96" r="40" fill="#F1F1F1"></circle><circle cx="96" cy="96" r="32" fill="#4285F4"></circle></g><g clip-path="url(#chrome_icon__b)"><path fill="#3E2723" fill-opacity=".2" d="M96 55c-22.09 0-40 17.91-40 40v1c0-22.09 17.91-40 40-40h88v-1H96z"></path><path fill="#FFF" fill-opacity=".1" d="M130.6 116c-6.92 11.94-19.81 20-34.6 20-14.8 0-27.69-8.06-34.61-20h-.04L8 24.48v1L61.36 117h.04c6.92 11.94 19.81 20 34.61 20 14.79 0 27.68-8.05 34.6-20h.05v-1h-.06z"></path><path fill="#3E2723" d="M97 56c-.17 0-.33.02-.5.03C118.36 56.3 136 74.08 136 96s-17.64 39.7-39.5 39.97c.17 0 .33.03.5.03 22.09 0 40-17.91 40-40s-17.91-40-40-40z" opacity=".1"></path><path fill="#FFF" fill-opacity=".2" d="M131 117.33c3.4-5.88 5.37-12.68 5.37-19.96 0-4.22-.66-8.28-1.87-12.09.95 3.42 1.5 7.01 1.5 10.73 0 7.28-1.97 14.08-5.37 19.96l.02.04-38.88 68h1.16l38.09-66.64-.02-.04z"></path></g><g clip-path="url(#chrome_icon__b)"><path fill="#FFF" fill-opacity=".2" d="M96 9c48.43 0 87.72 39.13 87.99 87.5 0-.17.01-.33.01-.5 0-48.6-39.4-88-88-88S8 47.4 8 96c0 .17.01.33.01.5C8.28 48.13 47.57 9 96 9z"></path><path fill="#3E2723" fill-opacity=".15" d="M96 183c48.43 0 87.72-39.13 87.99-87.5 0 .17.01.33.01.5 0 48.6-39.4 88-88 88S8 144.6 8 96c0-.17.01-.33.01-.5C8.28 143.87 47.57 183 96 183z"></path></g><circle cx="96" cy="96" r="88" fill="url(#chrome_icon__r)"></circle><path fill="none" d="M0 0h192v192H0z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="shorts" size="32"><svg><defs><g id="shorts-comment"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 3C4.11929 3 3 4.11929 3 5.5V21.5C3 22.8807 4.11929 24 5.5 24H22.5L26.7474 28.5741C27.5513 29.4399 29 28.871 29 27.6895V24V5.5C29 4.11929 27.8807 3 26.5 3H5.5ZM8 10.5C8 9.67157 8.67157 9 9.5 9H22.5C23.3284 9 24 9.67157 24 10.5C24 11.3284 23.3284 12 22.5 12H9.5C8.67157 12 8 11.3284 8 10.5ZM8 16.5C8 15.6716 8.67157 15 9.5 15H18.5C19.3284 15 20 15.6716 20 16.5C20 17.3284 19.3284 18 18.5 18H9.5C8.67157 18 8 17.3284 8 16.5Z"></path></g><g id="shorts-dislike"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.15895 20.0023C5.32221 20.0023 4.54031 19.586 4.07317 18.8918C3.30492 17.7502 3.31241 16.255 4.09205 15.1211L4.82045 14.0617L4.14538 12.4963C3.74297 11.5632 3.84031 10.4898 4.40399 9.64424L5.50013 8.00004L5.50013 6.00231C5.50013 4.89774 6.39557 4.00231 7.50014 4.00232L20.0001 4.00239C21.1047 4.0024 22.0001 4.89783 22.0001 6.0024L22.0001 19.1736C22.0001 20.0073 21.7396 20.8201 21.2551 21.4985L16.1368 28.6641C15.9224 28.9643 15.5279 29.0747 15.1888 28.9294C13.4238 28.1729 12.4653 26.2504 12.9234 24.3856L14.0001 20.0024L6.15895 20.0023ZM27 18.5001C28.1046 18.5001 29 17.6046 29 16.5001L29 6.00006C29 4.89549 28.1046 4.00006 27 4.00006L24 4.00006L24 18.5001L27 18.5001Z"></path></g><g id="shorts-like"><path fill-rule="evenodd" clip-rule="evenodd" d="M25.8411 11.9977C26.6778 11.9977 27.4597 12.414 27.9268 13.1082C28.6951 14.2498 28.6876 15.745 27.908 16.8789L27.1796 17.9383L27.8546 19.5037C28.257 20.4368 28.1597 21.5102 27.596 22.3558L26.4999 24V25.9977C26.4999 27.1023 25.6044 27.9977 24.4999 27.9977L11.9999 27.9976C10.8953 27.9976 9.99987 27.1022 9.99987 25.9976V12.8264C9.99987 11.9927 10.2604 11.1799 10.7449 10.5015L15.8632 3.33586C16.0776 3.03569 16.4721 2.92531 16.8112 3.07062C18.5762 3.82706 19.5347 5.74955 19.0766 7.6144L17.9999 11.9976L25.8411 11.9977ZM5 13.4999C3.89543 13.4999 3 14.3954 3 15.4999V25.9999C3 27.1045 3.89543 27.9999 5 27.9999H8V13.4999H5Z"></path></g><g id="shorts-share"><path fill-rule="evenodd" clip-rule="evenodd" d="M17.7375 5.26556L28.6745 15.2624C29.1083 15.6589 29.1083 16.3422 28.6745 16.7387L17.7375 26.7356C17.0958 27.3222 16.0628 26.8669 16.0628 25.9975V21.6217C16.0628 21.6217 16.0627 21.6217 16.0626 21.6217C9.92564 21.6217 6.69114 23.9378 5.1615 25.5968C4.80726 25.981 3.97329 25.7343 4.00015 25.2125C4.22558 20.8321 5.86088 10.8892 16.0626 10.8892C16.0627 10.8892 16.0628 10.8892 16.0628 10.8892V6.00368C16.0628 5.13426 17.0958 4.67898 17.7375 5.26556Z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="spinners" size="22"><svg><defs><g style="fill:#888" xmlns:xlink="http://www.w3.org/1999/xlink" id="ring"><defs></defs><use x="7" y="1" style="fill-opacity: 0.3" xlink:href="#ring__dot"></use><use x="11.152" y="2.895" style="fill-opacity: 0.4" xlink:href="#ring__dot"></use><use x="13" y="7" style="fill-opacity: 0.5" xlink:href="#ring__dot"></use><use x="11.152" y="11.152" style="fill-opacity: 0.6" xlink:href="#ring__dot"></use><use x="7" y="13" style="fill-opacity: 0.7" xlink:href="#ring__dot"></use><use x="2.895" y="11.152" style="fill-opacity: 0.8" xlink:href="#ring__dot"></use><use x="1" y="7" style="fill-opacity: 0.9" xlink:href="#ring__dot"></use><use x="2.895" y="2.895" style="fill-opacity: 1" xlink:href="#ring__dot"></use></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-icons" rtl-mirroring="" size="24" use-global-rtl-attribute=""><svg><defs><g fill="#0097A7" id="accelerator"><path d="M12 22l10-10L12 2 8.67 5.33l6.65 6.65-6.67 6.67zm-6.7-6.68l3.35-3.34-3.31-3.3L2 12.02z"></path><path fill="none" d="M0 0h24v24H0V0z"></path></g><g id="access_time"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path><path d="M0 0h24v24H0z" fill="none"></path><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g><g id="account_box"><path d="M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="account_circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"></path></g><g id="account_linked"><path d="M 17.919928,14.606013 C 16.93056,14.80302 16.03686,15.265429 15.316173,15.915895 L 18.004738,9.5 l 4,0 -4.08481,5.106013 z M 12.002369,8 7.5,8 l 2,-4 2.502369,0 2.502369,0 2,4 -4.502369,0 z M 5,4 8,4 6,8 2,8 5,4 z M 6,9.5 10.4,20 2,9.5 l 4,0 z m 1.5,0 4.5,0 L 12,21 7.5,9.5 z M 19.004738,4 l 3,4 -4,0 -2,-4 3,0 z m -2.5,5.5 -4.5,11.5 0,-11.5 4.5,0 z"></path><path d="m 19,24 c -2.209139,0 -4,-1.790861 -4,-4 0,-2.209139 1.790861,-4 4,-4 2.209139,0 4,1.790861 4,4 0,2.209139 -1.790861,4 -4,4 z m -0.249982,-3.911591 -1.251249,-1.213683 -1.044374,1.0767 2.313589,2.244128 2.981617,-2.992448 -1.062582,-1.058736 -1.937001,1.944039 z"></path></g><g id="account_unlinked"><path d="M12.0023692,8 L7.5,8 L9.5,4 L12.0023692,4 L14.5047384,4 L16.5047384,8 L12.0023692,8 Z M5,4 L8,4 L6,8 L2,8 L5,4 Z M6,9.5 L10.3999996,20 L2,9.5 L6,9.5 Z M7.5,9.5 L12,9.5 L12,21 L7.5,9.5 Z M19.0047384,4 L22.0047384,8 L18.0047384,8 L16.0047384,4 L19.0047384,4 Z M18.0047384,9.5 L22.0047384,9.5 L13.6047388,20 L18.0047384,9.5 Z M16.5047384,9.5 L12.0047384,21 L12.0047384,9.5 L16.5047384,9.5 Z"></path></g><g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g><g id="add_circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g><g id="add_friend"><path d="M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></g><g id="add_moderator"><path d="M13.22 22.61c-.4.15-.8.29-1.22.39-5.16-1.26-9-6.45-9-12V5l9-4 9 4v6c0 .9-.11 1.78-.3 2.65-.81-.41-1.73-.65-2.7-.65-3.31 0-6 2.69-6 6 0 1.36.46 2.61 1.22 3.61zM19 20v2.99s-1.99.01-2 0V20h-3v-2h3v-3h2v3h3v2h-3z"></path></g><g viewBox="0 0 24 24" id="add_photo_alternate"><path d="M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2h-3zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8h-3zM5 19l3-4 2 3 3-4 4 5H5z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="add_to_playlist"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g><g id="add_to_queue"><path d="M0 0h24v24H0z" fill="none"></path><path d="M15 6H3v2h12V6zm0 4H3v2h12v-2zM3 16h8v-2H3v2zM17 6v8.18c-.31-.11-.65-.18-1-.18-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3V8h3V6h-5z"></path></g><g id="add_to_queue_tail"><path d="M9,10 L18,10 L18,12 L9,12 L9,10 Z M6,6 L18,6 L18,8 L6,8 L6,6 Z M12,14 L18,14 L18,16 L12,16 L12,14 Z M6,12 L6,18 L10,15 L6,12 Z"></path></g><g transform="translate(1.000000, 3.000000)" viewBox="0 0 20 20" id="add_video_link"><path d="M16.6 10.8V8h-1.2v2.8H13v1.4h2.4V15h1.2v-2.8H19v-1.4h-2.4M14 1.07c0-.6-.43-1.07-.96-1.07H.96C.43 0 0 .48 0 1.07v9.86c0 .6.43 1.07.96 1.07h10.86V9.57H14v-8.5zM.85 9.12h1.43v1.6H.85v-1.6zm0-2.6h1.43V8.1H.85V6.5zm0-2.62h1.43v1.6H.85V3.9zm0-2.6h1.43v1.6H.85V1.3zm10.97 5.2h1.42v1.6h-1.42V6.5zm0-2.6h1.42v1.6h-1.42V3.9zm0-2.6h1.42v1.6h-1.42V1.3z"></path></g><g id="album"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 14.5c-2.49 0-4.5-2.01-4.5-4.5S9.51 7.5 12 7.5s4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-5.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"></path></g><g id="align_left"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zm0 8h18v-2H3v2zM3 3v2h18V3H3z"></path></g><g id="answer_neither_satisfied_nor_dissatisfied"><path d="M9 14h6v1.5H9z"></path><circle cx="15.5" cy="9.5" r="1.5"></circle><circle cx="8.5" cy="9.5" r="1.5"></circle><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="answer_somewhat_dissatisfied"><path fill="none" d="M0 0h24v24H0z"></path><circle cx="15.5" cy="9.5" r="1.5"></circle><circle cx="8.5" cy="9.5" r="1.5"></circle><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-6c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3.5z"></path></g><g id="answer_somewhat_satisfied"><path fill="none" d="M0 0h24v24H0z"></path><circle cx="15.5" cy="9.5" r="1.5"></circle><circle cx="8.5" cy="9.5" r="1.5"></circle><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-4c-1.48 0-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5s4.32-1.45 5.12-3.5h-1.67c-.7 1.19-1.97 2-3.45 2z"></path></g><g id="answer_very_dissatisfied"><path d="M11.99 2C6.47 2 2 6.47 2 12s4.47 10 9.99 10S22 17.53 22 12 17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm4.18-12.24l-1.06 1.06-1.06-1.06L13 8.82l1.06 1.06L13 10.94 14.06 12l1.06-1.06L16.18 12l1.06-1.06-1.06-1.06 1.06-1.06zM7.82 12l1.06-1.06L9.94 12 11 10.94 9.94 9.88 11 8.82 9.94 7.76 8.88 8.82 7.82 7.76 6.76 8.82l1.06 1.06-1.06 1.06zM12 14c-2.33 0-4.31 1.46-5.11 3.5h10.22c-.8-2.04-2.78-3.5-5.11-3.5z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="answer_very_satisfied"><path d="M11.99 2C6.47 2 2 6.47 2 12s4.47 10 9.99 10S22 17.53 22 12 17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm1-10.06L14.06 11l1.06-1.06L16.18 11l1.06-1.06-2.12-2.12zm-4.12 0L9.94 11 11 9.94 8.88 7.82 6.76 9.94 7.82 11zM12 17.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="applause"><path d="M1.26848545,11.4618188 C1.62646605,11.1038382 2.20686728,11.1038382 2.56484788,11.4618188 L2.56484788,11.4618188 L8.06484788,16.9618188 C11.2543673,20.1513382 16.4122994,20.1513382 19.6018188,16.9618188 C19.9597994,16.6038382 20.5402006,16.6038382 20.8981812,16.9618188 C21.2561618,17.3197994 21.2561618,17.9002006 20.8981812,18.2581812 C16.9927006,22.1636618 10.6739661,22.1636618 6.76848545,18.2581812 L6.76848545,18.2581812 L1.26848545,12.7581812 C0.91050485,12.4002006 0.91050485,11.8197994 1.26848545,11.4618188 Z M9.40583333,1 C9.67166667,1 9.92833333,1.10083333 10.13,1.29333333 L13.7966667,4.96916667 L16.675,7.8475 L17.3991667,7.12333333 L14.5208333,4.245 C14.1175,3.85083333 14.1175,3.2 14.5208333,2.80583333 C14.7225,2.61333333 14.9791667,2.5125 15.2358333,2.5125 C15.4925,2.5125 15.7583333,2.61333333 15.96,2.80583333 L18.8383333,5.68416667 C21.625,8.47083333 21.625,12.99 18.8383333,15.7675 C16.0516667,18.5541667 11.5416667,18.5541667 8.755,15.7675 L5.87666667,12.8891667 L2.8425,9.86416667 C2.44833333,9.46083333 2.44833333,8.81916667 2.8425,8.425 C3.04416667,8.22333333 3.31,8.1225 3.56666667,8.1225 C3.82333333,8.1225 4.08,8.22333333 4.28166667,8.425 L7.31583333,11.45 L8.04,10.7258333 L4.36416667,7.05916667 C3.97,6.665 3.97,6.01416667 4.36416667,5.62 C4.55666667,5.41833333 4.8225,5.3175 5.08833333,5.3175 C5.345,5.3175 5.60166667,5.41833333 5.80333333,5.62 L9.47916667,9.28666667 L10.1941667,8.57166667 L5.87666667,4.245 C5.47333333,3.85083333 5.47333333,3.2 5.87666667,2.80583333 C6.06916667,2.61333333 6.335,2.5125 6.59166667,2.5125 C6.8575,2.5125 7.11416667,2.61333333 7.31583333,2.80583333 L11.6333333,7.1325 L12.3575,6.40833333 L8.68166667,2.74166667 C8.2875,2.33833333 8.2875,1.69666667 8.68166667,1.29333333 C8.88333333,1.10083333 9.14,1 9.40583333,1 Z"></path></g><g id="apps"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"></path></g><g mirror-in-rtl="" id="arrow-back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></g><g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g><g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></g><g mirror-in-rtl="" id="arrow_back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></g><g id="arrow_chart_neutral"><path d="M 15.5, 12 a3.5,3.5 0 1,1 0,-.00001"></path></g><g id="arrow_drop_down"><path d="M7 10l5 5 5-5z"></path></g><g id="arrow_drop_up"><path d="M7 14l5-5 5 5z"></path></g><g mirror-in-rtl="" id="arrow_forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></g><g id="article"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"></path></g><g id="artist"><path d="M11 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm7.5-2v5.22c-.31-.14-.64-.22-1-.22a2.5 2.5 0 0 0 0 5 2.5 2.5 0 0 0 2.5-2.5V12h2v-2h-3.5zM11 14c-2.67 0-8 1.34-8 4v2h10.76c-.48-.72-.76-1.58-.76-2.5 0-1.18.46-2.26 1.21-3.06-1.17-.29-2.33-.44-3.21-.44z"></path></g><g id="audiotrack"><path d="M12 3v9.28a4.39 4.39 0 0 0-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7z"></path></g><g id="auto-awesome"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"></path></g><g viewBox="0 0 96 96" id="avatar-circle-blue"><circle fill="#C6DAFC" cx="48" cy="48" r="48"></circle><g><path fill="#5E97F6" d="M48,23c-8.28,0-15,6.72-15,15c0,8.28,6.72,15,15,15c8.28,0,15-6.72,15-15C63,29.72,56.28,23,48,23z"></path><path fill="#5E97F6" d="M48,61c-10.33,0-31,5.17-31,15.5v8.13C25.36,91.72,36.18,96,48,96s22.64-4.28,31-11.37V76.5      C79,66.17,58.33,61,48,61z"></path></g></g><g viewBox="0 0 192 192" id="avatar_anonymous"><path fill="#E0E0E0" d="M96,0C43.01,0,0,43.01,0,96s43.01,96,96,96s96-43.01,96-96S148.99,0,96,0z"></path><path fill="#BDBDBD" d="M96,85.09c13.28,0,24-10.72,24-24c0-13.28-10.72-24-24-24s-24,10.72-24,24   C72,74.37,82.72,85.09,96,85.09z"></path><path fill="#BDBDBD" d="M96,99.27c-29.33,0-52.36,14.18-52.36,27.27c11.09,17.06,30.51,28.36,52.36,28.36   s41.27-11.3,52.36-28.36C148.36,113.45,125.33,99.27,96,99.27z"></path></g><g id="avatar_logged_out"><path d="M12,0 C18.62375,0 24,5.37625 24,12 C24,18.62375 18.62375,24 12,24 C5.37625,24 0,18.62375 0,12 C0,5.37625 5.37625,0 12,0 Z M12,10.63625 C13.66,10.63625 15,9.29625 15,7.63625 C15,5.97625 13.66,4.63625 12,4.63625 C10.34,4.63625 9,5.97625 9,7.63625 C9,9.29625 10.34,10.63625 12,10.63625 Z M12,12.40875 C8.33375,12.40875 5.455,14.18125 5.455,15.8175 C6.84125,17.95 9.26875,19.3625 12,19.3625 C14.73125,19.3625 17.15875,17.95 18.545,15.8175 C18.545,14.18125 15.66625,12.40875 12,12.40875 Z"></path></g><g mirror-in-rtl="" id="back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></g><g id="bar_chart"><path d="M0 0h24v24H0z" fill="none"></path><path d="M5 9.2h3V19H5zM10.6 5h2.8v14h-2.8zm5.6 8H19v6h-2.8z"></path></g><g id="block"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"></path></g><g id="bookmark"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g><g id="bookmark_border"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g><g id="breaking_news"><path d="M20.34,4.67L18.68,3l-1.67,1.67L15.34,3l-1.67,1.67L12.01,3l-1.67,1.67L8.67,3L7,4.67L5.33,3L3.67,4.67L2,3v16  c0,1.1,0.9,2,2,2h16.01c1.1,0,1.99-0.9,1.99-2l0.01-16L20.34,4.67z M8,18H6v-2h2V18z M8,14H6V8h2V14z M19,18h-7v-2h7V18z M19,14h-7  v-2h7V14z M19,10h-7V8h7V10z"></path></g><g id="breaking_news_alt_1"><path fill="none" d="M0 0h24v24H0z"></path><path fill-rule="evenodd" d="M19.78 3H4.22C3 3 2 3.9 2 5v14c0 1.1 1 2 2.22 2h15.56C21 21 22 20.1 22 19V5c0-1.1-1-2-2.22-2zM11 17H6v-2h5v2zm0-4H6v-2h5v2zm0-4H6V7h5v2zm7 8h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g><g id="brightness_three"><path d="M9 2c-1.05 0-2.05.16-3 .46 4.06 1.27 7 5.06 7 9.54 0 4.48-2.94 8.27-7 9.54.95.3 1.95.46 3 .46 5.52 0 10-4.48 10-10S14.52 2 9 2z"></path></g><g id="build"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"></path></g><g id="cake"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12 6a2 2 0 002-2c0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12C21 10.34 19.66 9 18 9z"></path></g><g id="calendar"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"></path></g><g viewBox="0 0 24 24" id="camera_alt"><circle cx="12" cy="12" r="3.2"></circle><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="campaign"><path d="M0 0h24v24H0z" fill="none"></path><path d="M18 11v2h4v-2h-4zm-2 6.61c.96.71 2.21 1.65 3.2 2.39.4-.53.8-1.07 1.2-1.6-.99-.74-2.24-1.68-3.2-2.4-.4.54-.8 1.08-1.2 1.61zM20.4 5.6c-.4-.53-.8-1.07-1.2-1.6-.99.74-2.24 1.68-3.2 2.4.4.53.8 1.07 1.2 1.6.96-.72 2.21-1.65 3.2-2.4zM4 9c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1v4h2v-4h1l5 3V6L8 9H4zm11.5 3c0-1.33-.58-2.53-1.5-3.35v6.69c.92-.81 1.5-2.01 1.5-3.34z"></path></g><g id="channel_notification_preference_off"><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"></path></g><g id="channel_notification_preference_on"><path d="M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"></path></g><g id="chat_bubble"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"></path></g><g id="chat_off"><path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14-9H4.08L10 7.92V6h8v2h-7.92l1 1H18v2h-4.92l6.99 6.99C21.14 17.95 22 17.08 22 16V4c0-1.1-.9-2-2-2z"></path></g><g id="check-circle"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g><g id="check"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></g><g id="check_box"><path d="M5.0 21.0Q4.175 21.0 3.5875 20.4125Q3.0 19.825 3.0 19.0V5.0Q3.0 4.175 3.5875 3.5875Q4.175 3.0 5.0 3.0H19.0Q19.825 3.0 20.4125 3.5875Q21.0 4.175 21.0 5.0V19.0Q21.0 19.825 20.4125 20.4125Q19.825 21.0 19.0 21.0ZM5.0 19.0H19.0Q19.0 19.0 19.0 19.0Q19.0 19.0 19.0 19.0V5.0Q19.0 5.0 19.0 5.0Q19.0 5.0 19.0 5.0H5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0V19.0Q5.0 19.0 5.0 19.0Q5.0 19.0 5.0 19.0ZM10.6 16.2 17.65 9.15 16.25 7.75 10.6 13.4 7.75 10.55 6.35 11.95ZM5.0 19.0Q5.0 19.0 5.0 19.0Q5.0 19.0 5.0 19.0V5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0V19.0Q5.0 19.0 5.0 19.0Q5.0 19.0 5.0 19.0Z"></path></g><g id="check_box_bar"><path d="M7.0 13.0H17.0V11.0H7.0ZM5.0 21.0Q4.175 21.0 3.5875 20.4125Q3.0 19.825 3.0 19.0V5.0Q3.0 4.175 3.5875 3.5875Q4.175 3.0 5.0 3.0H19.0Q19.825 3.0 20.4125 3.5875Q21.0 4.175 21.0 5.0V19.0Q21.0 19.825 20.4125 20.4125Q19.825 21.0 19.0 21.0ZM5.0 19.0H19.0Q19.0 19.0 19.0 19.0Q19.0 19.0 19.0 19.0V5.0Q19.0 5.0 19.0 5.0Q19.0 5.0 19.0 5.0H5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0V19.0Q5.0 19.0 5.0 19.0Q5.0 19.0 5.0 19.0ZM5.0 19.0Q5.0 19.0 5.0 19.0Q5.0 19.0 5.0 19.0V5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0V19.0Q5.0 19.0 5.0 19.0Q5.0 19.0 5.0 19.0Z"></path></g><g id="check_box_outline_blank"><path d="M5.0 21.0Q4.175 21.0 3.5875 20.4125Q3.0 19.825 3.0 19.0V5.0Q3.0 4.175 3.5875 3.5875Q4.175 3.0 5.0 3.0H19.0Q19.825 3.0 20.4125 3.5875Q21.0 4.175 21.0 5.0V19.0Q21.0 19.825 20.4125 20.4125Q19.825 21.0 19.0 21.0ZM5.0 19.0H19.0Q19.0 19.0 19.0 19.0Q19.0 19.0 19.0 19.0V5.0Q19.0 5.0 19.0 5.0Q19.0 5.0 19.0 5.0H5.0Q5.0 5.0 5.0 5.0Q5.0 5.0 5.0 5.0V19.0Q5.0 19.0 5.0 19.0Q5.0 19.0 5.0 19.0Z"></path></g><g id="check_circle_thick"><path fill-rule="evenodd" clip-rule="evenodd" d="M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10 S17.52,2,12,2z M9.92,17.93l-4.95-4.95l2.05-2.05l2.9,2.9l7.35-7.35l2.05,2.05L9.92,17.93z"></path></g><g mirror-in-rtl="" id="chevron_left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"></path></g><g mirror-in-rtl="" id="chevron_right"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path></g><g id="chromecast-filled"><path d="M22,20l-8-0.04L14,19l7,0.04V5H3L2.99,8L2,8l0.02-4H22V20z M2,17.32V20h2.73C4.73,18.52,3.51,17.32,2,17.32z M2,13.75v1.79 c2.51,0,4.55,2,4.55,4.46h1.82C8.36,16.55,5.52,13.75,2,13.75z M2,10.18v1.79c4.52,0,8.18,3.6,8.18,8.03H12 C12,14.57,7.52,10.18,2,10.18z M5,7v1.39c4.21,1.09,7.52,4.39,8.61,8.61H19V7H5z"></path></g><g id="chromecast"><path d="M22,20h-8v-1h7V5H3v3H2V4h20V20z M2,17.32V20h2.73C4.73,18.52,3.51,17.32,2,17.32z M2,13.75v1.79c2.51,0,4.55,2,4.55,4.46 h1.82C8.36,16.55,5.52,13.75,2,13.75z M2,10.18v1.79c4.52,0,8.18,3.6,8.18,8.03H12C12,14.57,7.52,10.18,2,10.18z"></path></g><g id="chromecast_animate_frame-1"><path d="M2,17.32V20h2.73C4.73,18.52,3.51,17.32,2,17.32z"></path></g><g id="chromecast_animate_frame-2"><path d="M2,13.75v1.79c2.51,0,4.55,2,4.55,4.46h1.82C8.36,16.55,5.52,13.75,2,13.75z"></path></g><g id="chromecast_animate_frame-3"><path d="M2,10.18v1.79c4.52,0,8.18,3.6,8.18,8.03H12C12,14.57,7.52,10.18,2,10.18z"></path></g><g id="clarify"><path fill="none" d="M0 0h24v24H0z"></path><path fill-rule="evenodd" d="M19.78 3H4.22C3 3 2 3.9 2 5v14c0 1.1 1 2 2.22 2h15.56C21 21 22 20.1 22 19V5c0-1.1-1-2-2.22-2zM13 17H6v-2h7v2zm0-4H6v-2h7v2zm0-4H6V7h7v2zm5 8h-2V7h2v10z"></path></g><g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g><g id="cloud_upload"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g><g id="collapse"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"></path></g><g id="collections"><path d="M0 0h24v24H0z" fill="none"></path><path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"></path></g><g id="color_lens"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12 3a9 9 0 000 18c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8zm-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12zm3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8zm3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g><g fill-rule="evenodd" id="colored_gaming_logo"><path d="m 17.46,3.7145456 -4.92,2.7981819 c -0.332727,0.1909091 -0.741818,0.1909091 -1.08,0 L 6.54,3.7145456 C 6.3709091,3.6218184 6.1854545,3.5454548 6,3.5454548 c -0.1854545,0 -0.3709091,0.076364 -0.54,0.1690908 L 0.55090909,6.5018184 C 0.21272726,6.6981821 0,7.058182 0,7.4509093 V 13.68 c 0,0.392728 0.21272726,0.752728 0.55090909,0.949091 L 11.46,20.825455 C 11.629091,20.923636 11.814545,21 12,21 c 0.185455,0 0.37091,-0.07636 0.54,-0.169091 L 23.449091,14.634546 C 23.792727,14.438182 24,14.078182 24,13.685455 V 7.4509093 C 24,7.058182 23.787273,6.6981821 23.449091,6.5018184 L 18.54,3.7145456 C 18.370909,3.6218184 18.185455,3.5454548 18,3.5454548 c -0.185455,0 -0.370909,0.076364 -0.54,0.1690908 z" fill="#f00"></path><path d="m 18.136364,4.0909093 0,6.1363637 5.318181,-3.1363637 z" fill="#fff"></path></g><g id="comment"><path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="consent_shield"><path fill="#4285F4" d="M12 24c6.264-2.945 8.227-8.545 8.8-12.396.12-.813.2-2.085.2-2.604V3.75L12 0 3 3.75V9c0 .52.08 1.79.2 2.604.573 3.85 2.536 9.45 8.8 12.396z"></path><circle cx="12" cy="11" r="6" overflow="visible" fill="#3362B5"></circle><path fill="#FFF" d="M17 16.063c-1.17 1.434-2.975 2.354-5 2.354s-3.83-.92-5-2.354v-.7c0-1.277 2.324-2.316 5-2.363 2.676.046 5 1.086 5 2.363v.7zm-5-4.313c1.242 0 2.25-1.006 2.25-2.25 0-1.242-1.008-2.25-2.25-2.25S9.75 8.258 9.75 9.5c0 1.244 1.008 2.25 2.25 2.25z"></path></g><g id="contact_support"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M11.5 1C6.26 1 2 5.26 2 10.5c0 5.07 3.99 9.23 9 9.49v3.6l1.43-.69C17.56 20.43 21 15.45 21 10.5 21 5.26 16.74 1 11.5 1zM13 20.3V18h-1.5C7.36 18 4 14.64 4 10.5S7.36 3 11.5 3 19 6.36 19 10.5c0 3.73-2.36 7.51-6 9.8zm-2.5-5.8h2v2h-2zm1-10.5c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"></path></g><g id="content_cut"><circle cx="6" cy="18" r="2" fill="none"></circle><circle cx="6" cy="6" r="2" fill="none"></circle><path d="M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"></path></g><g id="conversations"><path d="M12.04 4C17 4 21 7.7 21 12.3c0 4.57-4 8.28-8.96 8.28-1.76 0-3.4-.47-4.8-1.28-.15-.1-.35-.1-.52-.04-1.58.68-2.8.88-3.45.93-.2 0-.34-.26-.22-.4.6-.9 1.08-1.8 1.43-2.5.1-.2.1-.46-.04-.65C3.58 15.4 3.1 13.9 3.1 12.3c0-4.6 4-8.3 8.94-8.3zm1.6 9.56v1.58c0 .17.22.25.34.13l3.43-3.34c.1-.07.1-.2 0-.27L14 8.32c-.12-.12-.33-.04-.33.13V10c0 .1-.07.18-.17.2-3.38.52-5.04 2.73-5.74 5.1-.06.2.2.34.32.2 1.3-1.42 3.05-2.1 5.4-2.13.1 0 .2.1.2.2z"></path></g><g id="copy"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"></path></g><g id="course"><path d="M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7z"></path></g><g id="creation_live"><path d="M23,12a11,11,0,0,1-3.22,7.78l-1.41-1.41a9,9,0,0,0,0-12.73l1.41-1.41A11,11,0,0,1,23,12ZM5.64,5.64,4.22,4.22a11,11,0,0,0,0,15.56l1.41-1.41a9,9,0,0,1,0-12.73ZM16.95,7.05,15.54,8.46a5,5,0,0,1,0,7.07l1.41,1.41a7,7,0,0,0,0-9.9Zm-9.9,0a7,7,0,0,0,0,9.9l1.41-1.41a5,5,0,0,1,0-7.07Z" fill="#6f6f6f" fill-rule="evenodd"></path><path d="M12,9a3,3,0,1,1-3,3,3,3,0,0,1,3-3" fill="#f80000" fill-rule="evenodd"></path></g><g id="creation_post"><path d="M18,10v8H6V6h8l2-2H6A2.15,2.15,0,0,0,4,6V18a2.15,2.15,0,0,0,2,2H18a2.15,2.15,0,0,0,2-2V8Z" fill="#6f6f6f" fill-rule="evenodd"></path><path d="M8,14v2h2l7-7L15,7ZM19.15,6.85a.5.5,0,0,0,0-.71L17.85,4.85a.5.5,0,0,0-.71,0L16,6l2,2Z" fill="#f80000" fill-rule="evenodd"></path></g><g id="creation_upload"><path d="M19,4H5A2.15,2.15,0,0,0,3,6V18a2.15,2.15,0,0,0,2,2H19a2.15,2.15,0,0,0,2-2V6A2.15,2.15,0,0,0,19,4ZM5,18H19V6H5Z" fill="#6f6f6f" fill-rule="evenodd"></path><path d="M15,12,10,8v8Z" fill="#f80000" fill-rule="evenodd"></path></g><g transform="translate(5 3)" id="creation_upload_red"><path d="M4 13h6V7h4L7 0 0 7h4z" fill="#737373" fill-rule="evenodd"></path><path d="M0 15h14v2H0z" fill="#f80000" fill-rule="evenodd"></path></g><g id="creator_metadata_monetization"><path d="M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z"></path></g><g id="creator_metadata_monetization_off"><path d="M12.5 6.9c1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-.53.12-1.03.3-1.48.54l1.47 1.47c.41-.17.91-.27 1.51-.27zM5.33 4.06L4.06 5.33 7.5 8.77c0 2.08 1.56 3.21 3.91 3.91l3.51 3.51c-.34.48-1.05.91-2.42.91-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c.96-.18 1.82-.55 2.45-1.12l2.22 2.22 1.27-1.27L5.33 4.06z"></path></g><g id="creator_studio"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM10 15V9l5 3-5 3z"></path></g><g id="creator_studio_red_logo"><path fill="red" d="M11.13 1.21c.48-.28 1.26-.28 1.74 0l8.01 4.64c.48.28.87.97.87 1.53v9.24c0 .56-.39 1.25-.87 1.53l-8.01 4.64c-.48.28-1.26.28-1.74 0l-8.01-4.64c-.48-.28-.87-.97-.87-1.53V7.38c0-.56.39-1.25.87-1.53l8.01-4.64z"></path><path fill="#fff" d="m12.71 18.98 4.9-2.83c.41-.24.64-.77.64-1.24V9.24c0-.47-.23-1-.64-1.24l-4.9-2.82c-.41-.23-1.02-.23-1.42 0L6.39 8c-.4.23-.64.77-.64 1.24v5.67c0 .47.24 1 .64 1.24l4.9 2.83c.2.12.46.18.71.18.26-.01.51-.07.71-.18z"></path><path fill="red" d="m12.32 5.73 4.89 2.83c.16.09.41.31.41.67v5.67c0 .37-.25.54-.41.64l-4.89 2.83c-.16.09-.48.09-.64 0l-4.89-2.83c-.16-.09-.41-.34-.41-.64V9.24c.02-.37.25-.58.41-.68l4.89-2.83c.08-.05.2-.07.32-.07s.24.02.32.07z"></path><path fill="#fff" d="M9.88 15.25 15.5 12 9.88 8.75z"></path></g><g id="credit_card"><path d="M0 0h24v24H0z" fill="none"></path><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g><g id="dark_theme"><path d="M280.485281,201.514719 L284,198 L287.514719,201.514719 L292.485281,201.514719 L292.485281,206.485281 L296,210 L292.485281,213.514719 L292.485281,218.485281 L287.514719,218.485281 L284,222 L280.485281,218.485281 L275.514719,218.485281 L275.514719,213.514719 L272,210 L275.514719,206.485281 L275.514719,201.514719 L280.485281,201.514719 Z M283.726536,215.86375 C287.116026,215.86375 289.86375,213.251451 289.86375,210.029016 C289.86375,206.806581 287.116026,204.194281 283.726536,204.194281 C283.073662,204.194281 282.164855,204.396254 281.000116,204.800201 C282.532112,206.378393 283.29811,208.121331 283.29811,210.029016 C283.29811,211.9367 282.444938,213.635948 280.738594,215.126758 C282.007413,215.618086 283.003393,215.86375 283.726536,215.86375 Z" transform="translate(-272, -198)"></path></g><g id="delete"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"></path></g><g id="delete_sweep"><path d="M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="dislike"><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"></path></g><g id="dislike_outline"><path d="M14.9 3H6c-.8 0-1.5.5-1.8 1.2l-3 7.3c-.1.2-.2.4-.2.7v2c0 1.1.9 2 2 2h6.3l-1 4.7v.3c0 .4.2.8.4 1.1.6.7 1.5.7 2.1.1l5.5-5.7c.4-.4.6-.9.6-1.4V5c0-1.1-.9-2-2-2zm-.2 12.6l-3.5 3.6c-.2.2-.5 0-.4-.2l1-4.6H4c-.6 0-1-.5-1-1v-1.1l2.7-6.6c.2-.5.6-.7 1-.7H14c.5 0 1 .5 1 1v8.8c-.1.3-.2.6-.3.8zM19 3h4v12h-4V3z"></path></g><g id="dismissal"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g><g id="dogfood"><circle cx="4.5" cy="9.5" r="2.5"></circle><circle cx="9" cy="5.5" r="2.5"></circle><circle cx="15" cy="5.5" r="2.5"></circle><circle cx="19.5" cy="9.5" r="2.5"></circle><path d="M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="done_all"><path d="M0 0h24v24H0z" fill="none"></path><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"></path></g><g id="down_arrow"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"></path></g><g viewBox="0 0 48 48" id="drag_handle"><path d="M0 18H10v4h24v-4zM8 30h26v-4H10v4z"></path></g><g viewBox="0 0 24 24" id="edit"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="email"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g><g fill-rule="evenodd" id="emoji"><path d="M6.87494031,14 C7.67500942,16.0486784 9.66801755,17.5 12,17.5 C14.3319824,17.5 16.3249906,16.0486784 17.1250597,14 L6.87494031,14 Z M12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 C17.5228475,2 22,6.4771525 22,12 C22,17.5228475 17.5228475,22 12,22 Z M15.5,11 C16.3284271,11 17,10.3284271 17,9.5 C17,8.67157288 16.3284271,8 15.5,8 C14.6715729,8 14,8.67157288 14,9.5 C14,10.3284271 14.6715729,11 15.5,11 Z M8.5,11 C9.32842712,11 10,10.3284271 10,9.5 C10,8.67157288 9.32842712,8 8.5,8 C7.67157288,8 7,8.67157288 7,9.5 C7,10.3284271 7.67157288,11 8.5,11 Z"></path></g><g id="emoji_activities"><path d="M2.85 6.005A11.187 11.187 0 0 0 1 11.475h5.934a6.756 6.756 0 0 0-4.084-5.47zm.94-1.222A11.223 11.223 0 0 1 11.474 1v10.475H8.442a8.255 8.255 0 0 0-4.653-6.692zm-.94 13.663A11.187 11.187 0 0 1 1 12.976h5.934a6.756 6.756 0 0 1-4.084 5.47zm.94 1.222a11.223 11.223 0 0 0 7.685 3.783V12.975H8.442a8.255 8.255 0 0 1-4.653 6.693zm17.81-1.222a11.187 11.187 0 0 0 1.85-5.47h-5.933a6.756 6.756 0 0 0 4.084 5.47zm-.938 1.222a11.223 11.223 0 0 1-7.687 3.783V12.975h3.034a8.255 8.255 0 0 0 4.653 6.693zM21.6 6.005a11.187 11.187 0 0 1 1.85 5.47h-5.934a6.756 6.756 0 0 1 4.084-5.47zm-.94-1.222A11.223 11.223 0 0 0 12.976 1v10.475h3.034a8.255 8.255 0 0 1 4.653-6.692z"></path></g><g id="emoji_custom"><path d="M 6 3.53125 C 5.8145455 3.53125 5.6378409 3.6260232 5.46875 3.71875 L 0.5625 6.5 C 0.22431817 6.6963637 0 7.0447727 0 7.4375 L 0 13.6875 C 0 14.080228 0.22431817 14.428637 0.5625 14.625 L 11.46875 20.8125 C 11.637841 20.910681 11.814545 21 12 21 C 12.185455 21 12.36216 20.936481 12.53125 20.84375 L 23.4375 14.625 C 23.781136 14.428636 24 14.080227 24 13.6875 L 24 7.4375 C 24 7.0447727 23.775682 6.6963637 23.4375 6.5 L 18.53125 3.71875 C 18.362159 3.6260228 18.185455 3.53125 18 3.53125 C 17.814545 3.53125 17.637841 3.6260232 17.46875 3.71875 L 12.53125 6.5 C 12.198523 6.6909091 11.806932 6.6909091 11.46875 6.5 L 6.53125 3.71875 C 6.3621591 3.6260228 6.1854545 3.53125 6 3.53125 z M 18.125 4.09375 L 23.46875 7.09375 L 18.125 10.21875 L 18.125 4.09375 z "></path></g><g id="emoji_flags"><path d="M4.875 1.5H3v21h2.25v-9H12l1.5-12H4.875zM15 4.5h7.5v12h-9l1.5-12zm-1.5-3l1.5 3-1.5 12-1.5-3 1.5-12z"></path></g><g id="emoji_food"><path d="M22.5 13.5v-.991a2.003 2.003 0 0 0-1.995-2.009H3.495c-1.093 0-1.995.9-1.995 2.009v.991h6a4.5 4.5 0 0 1-6 4.244v1.567a6.01 6.01 0 0 0 6-1.842A5.986 5.986 0 0 0 12 19.5c1.792 0 3.4-.786 4.5-2.031a6.01 6.01 0 0 0 6 1.842v-1.567a4.5 4.5 0 0 1-6-4.244h6v7.998a.995.995 0 0 1-.999 1.002H2.5c-.552 0-.999-.456-.999-1.002V13.5h21zm-17.25-6H7.5v3H5.25v-3zm5.25 0h3v3h-3v-3zm6 0h2.25v3H16.5v-3zM17.625 6c.828 0 1.5-.756 1.5-1.688 0-.931-1.5-2.812-1.5-2.812s-1.5 1.88-1.5 2.813c0 .931.672 1.687 1.5 1.687zM12 6a2.25 2.25 0 0 0 2.25-2.25C14.25 2.507 12 0 12 0S9.75 2.507 9.75 3.75A2.25 2.25 0 0 0 12 6zM6.375 6c.828 0 1.5-.756 1.5-1.688 0-.931-1.5-2.812-1.5-2.812s-1.5 1.88-1.5 2.813c0 .931.672 1.687 1.5 1.687zM7.5 13.5h9a4.5 4.5 0 1 1-9 0z"></path></g><g id="emoji_nature"><path d="M16.165 13.707c1.718.339 3.455.543 4.085.543 1.4 0 2.25-1.007 2.25-2.25s-.85-2.25-2.25-2.25c-.63 0-2.367.204-4.085.543.216.526.335 1.103.335 1.707 0 .604-.12 1.18-.335 1.707zm-.013-3.445c1.454-.975 2.827-2.059 3.273-2.505.99-.99.878-2.303 0-3.182-.88-.878-2.193-.99-3.182 0-.446.446-1.53 1.819-2.505 3.273a4.516 4.516 0 0 1 2.414 2.414zm-2.445-2.427c.339-1.718.543-3.455.543-4.085 0-1.4-1.007-2.25-2.25-2.25s-2.25.85-2.25 2.25c0 .63.204 2.367.543 4.085A4.487 4.487 0 0 1 12 7.5c.604 0 1.18.12 1.707.335zm-3.445.013C9.287 6.394 8.203 5.02 7.757 4.575c-.99-.99-2.303-.878-3.182 0-.878.88-.99 2.193 0 3.182.446.446 1.819 1.53 3.273 2.505a4.516 4.516 0 0 1 2.414-2.414zm-2.427 2.445C6.117 9.954 4.38 9.75 3.75 9.75c-1.4 0-2.25 1.007-2.25 2.25s.85 2.25 2.25 2.25c.63 0 2.367-.204 4.085-.543A4.487 4.487 0 0 1 7.5 12c0-.604.12-1.18.335-1.707zm.013 3.445c-1.454.975-2.827 2.059-3.273 2.505-.99.99-.878 2.303 0 3.182.88.878 2.193.99 3.182 0 .446-.446 1.53-1.819 2.505-3.273a4.516 4.516 0 0 1-2.414-2.414zm2.445 2.427c-.339 1.718-.543 3.455-.543 4.085 0 1.4 1.007 2.25 2.25 2.25s2.25-.85 2.25-2.25c0-.63-.204-2.367-.543-4.085A4.487 4.487 0 0 1 12 16.5c-.604 0-1.18-.12-1.707-.335zm3.445-.013c.975 1.454 2.059 2.827 2.505 3.273.99.99 2.303.878 3.182 0 .878-.88.99-2.193 0-3.182-.446-.446-1.819-1.53-3.273-2.505a4.516 4.516 0 0 1-2.414 2.414z"></path></g><g id="emoji_objects"><path d="M16.324 15.129a7.5 7.5 0 1 0-8.649 0l.379 1.89c.107.534.642.981 1.192.981h5.508c.55 0 1.084-.439 1.192-.98l.378-1.891zM9 19.5a3 3 0 0 0 6 0H9z"></path></g><g fill-rule="evenodd" id="emoji_people"><path d="M19.5 4.652c1.856 1.893 3 4.487 3 7.348 0 5.799-4.701 10.5-10.5 10.5S1.5 17.799 1.5 12c0-2.861 1.144-5.455 3-7.348v-.15h.15A10.466 10.466 0 0 1 12 1.5c2.862 0 5.456 1.145 7.35 3.002h.15v.15zm-1.453 10.35A6.75 6.75 0 0 1 12 18.75a6.75 6.75 0 0 1-6.047-3.748h12.094zM16.5 12.375a1.875 1.875 0 1 0 0-3.75 1.875 1.875 0 0 0 0 3.75zm-9 0a1.875 1.875 0 1 0 0-3.75 1.875 1.875 0 0 0 0 3.75z"></path></g><g fill-rule="evenodd" id="emoji_recent"><path d="M12.75 12V4.5H10.5v9.75H18V12h-5.25zM12 22.5c5.799 0 10.5-4.701 10.5-10.5S17.799 1.5 12 1.5 1.5 6.201 1.5 12 6.201 22.5 12 22.5z"></path></g><g id="emoji_sponsorships"><path d="M12 1C5.93166667 1 1 5.93166667 1 12c0 6.0683333 4.93166667 11 11 11 6.0683333 0 11-4.9316667 11-11 0-6.06833333-4.9316667-11-11-11zm6.16 16.4908333C15.8683333 20.0575 12.385 20.8183333 9.37833329 19.81l6.51750001-6.5175c.3575-.3575.3575-.935 0-1.2925-.3575-.3575-.935-.3575-1.2925 0l-5.82999997 5.83c-.72416666.7241667-1.8975.7058333-2.62166666-.0183333-.65083334-.66-1.21-1.4575-1.63166667-2.4475C3.255 12.4125 3.71333333 8.90166667 5.85833333 6.50916667 8.15 3.9425 11.6333333 3.18166667 14.64 4.19l-6.5175 6.5175c-.3575.3575-.3575.935 0 1.2925.3575.3575.935.3575 1.2925 0l5.83-5.83c.7241667-.72416667 1.8975-.70583333 2.6216667.01833333.6508333.66 1.21 1.4575 1.6316666 2.4475 1.2558334 2.95166667.7975 6.46249997-1.3383333 8.85499997z"></path></g><g id="emoji_symbols"><path d="M1.402 14.13a3.015 3.015 0 0 1 0-4.26L9.87 1.402a3.015 3.015 0 0 1 4.26 0l8.468 8.468a3.015 3.015 0 0 1 0 4.26l-8.468 8.468a3.015 3.015 0 0 1-4.26 0L1.402 14.13z"></path></g><g id="emoji_travel"><path d="M22.056 10.668L19.657 3.47A.73.73 0 0 0 19.001 3H4.999a.737.737 0 0 0-.656.471l-2.398 7.194a.994.994 0 0 0-.445.833v10.511c0 .263.22.491.49.491h2.77c.267 0 .49-.22.49-.491V19.5h13.5v2.509c0 .263.22.491.49.491h2.77c.267 0 .49-.22.49-.491V11.497a.996.996 0 0 0-.444-.83zM4 10.5l1.842-5.529a.743.743 0 0 1 .657-.471h10.995a.73.73 0 0 1 .657.471l1.842 5.529H4zm14.75 5.625a1.875 1.875 0 1 0 0-3.75 1.875 1.875 0 0 0 0 3.75zm-13.5 0a1.875 1.875 0 1 0 0-3.75 1.875 1.875 0 0 0 0 3.75z"></path></g><g id="error"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g><g id="error_black"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g><g id="error_outline"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g><g id="event"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"></path></g><g id="exit_app"><path d="M0 0h24v24H0z" fill="none"></path><path d="M10.1 15.6l1.4 1.4 5-5-5-5-1.4 1.4 2.57 2.6H3v2h9.67l-2.58 2.6zM19 3H5c-1.1 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g mirror-in-rtl="" id="exit_to_app"><path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g id="expand-less"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"></path></g><g id="expand-more"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path></g><g id="expand"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path></g><g id="explore"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g viewBox="0 0 48 48" id="external_link"><path d="M38 38H10V10h14V6H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V24h-4v14zM28 6v4h7.17L15.51 29.66l2.83 2.83L38 12.83V20h4V6H28z"></path></g><g id="fact_check"><path fill="none" d="M0 0h24v24H0z"></path><path fill-rule="evenodd" d="M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM10 17H5v-2h5v2zm0-4H5v-2h5v2zm0-4H5V7h5v2zm4.82 6L12 12.16l1.41-1.41 1.41 1.42L17.99 9l1.42 1.42L14.82 15z"></path></g><g viewBox="0 0 593 599.79" id="fashion_logo"><path d="M296.5 214.26l195.89 113.06H100.61L296.5 214.26m0-42.72L6.89 338.69c-12.17 7-7.19 25.63 6.87 25.63h565.49c14 0 19-18.61 6.86-25.63L296.5 171.54zM315 150.12h-37V97.2s14.52-.61 18.5-.84c14.93-.85 29.41-13.77 29.41-30a29.41 29.41 0 0 0-58.82 0h-37A66.41 66.41 0 1 1 315 130.14z"></path><path d="M259.39 144.69h74.23v48.27h-74.23zM186.01 549.93h37.11v49.86h-37.11zM334.47 549.93h37.11v49.86h-37.11zM378.46 356.41h56.28v144.32h-56.28zM260.24 549.93h37.11v49.86h-37.11z"></path><path d="M168.87 327.09h217.51v230H168.87z"></path></g><g id="fast_rewind"><path d="M0 0h24v24H0z" fill="none"></path><path d="M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z"></path></g><g id="feedback"><path d="M0 0h24v24H0z" fill="none"></path><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"></path></g><g viewBox="0 0 12 12" id="fill_dollar_sign_heart_12"><path d="M11.86 2.3c-.1-.44-.32-.84-.63-1.17-.33-.36-.74-.65-1.19-.85C9.58.09 9.09-.01 8.59 0c-.49.01-.98.12-1.43.33C6.72.55 6 1 6 1S5.3.55 4.85.33A3.523 3.523 0 001.98.28c-.45.2-.86.48-1.19.85-.31.33-.53.73-.64 1.17C-.71 5.3 2.12 9.61 6 12c3.58-2.39 6.71-6.12 5.86-9.7zM8 4H5v1h2c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1v1H5V8H4V7h3V6H5c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1V2h2v1h1v1z"></path></g><g id="filter"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"></path></g><g id="find_in_page"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm12 15.59l-2.2-2.2c.44-.69.7-1.51.7-2.39 0-2.48-2.02-4.5-4.5-4.5S7.5 10.52 7.5 13s2.02 4.5 4.5 4.5c.88 0 1.69-.26 2.39-.7l3.2 3.2H6V4h7.17L18 8.83v8.76zm-6-2.09c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g><g id="first_page"><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"></path></g><g id="flag"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"></path></g><g id="flag_outline"><path d="M14 6l-1-2H5v17h2v-7h5l1 2h7V6h-6zm4 8h-4l-1-2H7V6h5l1 2h5v6z"></path></g><g fill-rule="evenodd" id="folder"><path d="M12,6.75 L10.2,5 L4.8,5 C3.81,5 3,5.7875 3,6.75 L3,17.25 C3,18.2125 3.81,19 4.8,19 L19.2,19 C20.19,19 21,18.2125 21,17.25 L21,8.5 C21,7.5375 20.19,6.75 19.2,6.75 L12,6.75 Z"></path></g><g id="forum"><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"></path></g><g id="full_heart"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"></path></g><g id="fullscreen"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"></path></g><g id="fullscreen_exit"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"></path></g><g id="g_translate"><path d="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09 4.09-4.09c1.04 0 1.99.37 2.74 1.07l.07.06-1.23 1.18-.06-.05c-.29-.27-.78-.59-1.52-.59-1.31 0-2.38 1.09-2.38 2.42s1.07 2.42 2.38 2.42c1.37 0 1.96-.87 2.12-1.46H7.08V9.91h3.95l.01.07c.04.21.05.4.05.61 0 2.35-1.61 4-3.92 4zm6.03-1.71c.33.6.74 1.18 1.19 1.7l-.54.53-.65-2.23zm.77-.76h-.99l-.31-1.04h3.99s-.34 1.31-1.56 2.74c-.52-.62-.89-1.23-1.13-1.7zM21 20c0 .55-.45 1-1 1h-7l2-2-.81-2.77.92-.92L17.79 18l.73-.73-2.71-2.68c.9-1.03 1.6-2.25 1.92-3.51H19v-1.04h-3.64V9h-1.04v1.04h-1.96L11.18 6H20c.55 0 1 .45 1 1v13z"></path></g><g fill-rule="evenodd" id="gaming_logo"><path d="M22,13V8l-5-3l-5,3l0,0L7,5L2,8v5l10,6L22,13z M9,11H7v2H6v-2H4v-1h2V8h1v2h2V11z M15,13 c-0.55,0-1-0.45-1-1s0.45-1,1-1s1,0.45,1,1S15.55,13,15,13z M18,11c-0.55,0-1-0.45-1-1s0.45-1,1-1s1,0.45,1,1S18.55,11,18,11z"></path></g><g id="gif"><path fill="none" d="M0 0h24v24H0z"></path><path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zM19 10.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"></path></g><g id="google"><path d="M12 13.9v-3.72h9.36c.14.63.25 1.22.25 2.05 0 5.71-3.83 9.77-9.6 9.77C6.48 22 2 17.52 2 12S6.48 2 12 2c2.7 0 4.96.99 6.69 2.61l-2.84 2.76c-.72-.68-1.97-1.49-3.85-1.49-3.31 0-6.01 2.75-6.01 6.12s2.7 6.12 6.01 6.12c3.83 0 5.24-2.65 5.5-4.22H12z"></path></g><g transform="translate(3 3)" id="google_logo"><path d="m17.64 9.2045c0-0.63818-0.057273-1.2518-0.16364-1.8409h-8.4764v3.4814h4.8436c-0.20864 1.125-0.84273 2.0782-1.7959 2.7164v2.2582h2.9086c1.7018-1.5668 2.6836-3.8741 2.6836-6.615z" fill="#4285F4"></path><path d="m9 18c2.43 0 4.4673-0.80591 5.9564-2.1805l-2.9086-2.2582c-0.80591 0.54-1.8368 0.85909-3.0477 0.85909-2.3441 0-4.3282-1.5832-5.0359-3.7105h-3.0068v2.3318c1.4809 2.9414 4.5245 4.9582 8.0427 4.9582z" fill="#34A853"></path><path d="m3.9641 10.71c-0.18-0.54-0.28227-1.1168-0.28227-1.71s0.10227-1.17 0.28227-1.71v-2.3318h-3.0068c-0.60955 1.215-0.95727 2.5895-0.95727 4.0418 0 1.4523 0.34773 2.8268 0.95727 4.0418l3.0068-2.3318z" fill="#FBBC05"></path><path d="m9 3.5795c1.3214 0 2.5077 0.45409 3.4405 1.3459l2.5814-2.5814c-1.5586-1.4523-3.5959-2.3441-6.0218-2.3441-3.5182 0-6.5618 2.0168-8.0427 4.9582l3.0068 2.3318c0.70773-2.1273 2.6918-3.7105 5.0359-3.7105z" fill="#EA4335"></path></g><g viewBox="0 0 192 192" id="google_play_games"><style>\n    .google_play_games__Graphic_x0020_Style_x0020_5{fill:#fafafa}\n  </style><switch><g><linearGradient gradientUnits="userSpaceOnUse" x1="0" x2=".5" y1="0" y2=".866"><stop offset="0" stop-color="#064d25" stop-opacity="0"></stop><stop offset="1" stop-color="#064d25" stop-opacity=".25"></stop></linearGradient><path fill="none" d="M0 0h192v192H0z"></path><path d="M170.8 86.12L37.39 10.3c-5.69-3.24-10.76-2.93-13.94.15l-.01-.01C21.28 12.52 20 15.9 20 20.33v151.34c0 4.43 1.28 7.81 3.44 9.9l.01-.01c3.18 3.08 8.24 3.38 13.94.15l133.41-75.82c9.56-5.44 9.56-14.34 0-19.77z" fill="#097138"></path><linearGradient gradientUnits="userSpaceOnUse" x1="98.9853" x2="98.9853" y1="184.2492" y2="8.2492"><stop offset="0" stop-color="#fff" stop-opacity="0"></stop><stop offset="1" stop-color="#fff" stop-opacity=".1"></stop></linearGradient><path d="M170.8 86.12L37.39 10.3c-5.69-3.24-10.76-2.93-13.94.15l-.01-.01C21.28 12.52 20 15.9 20 20.33v151.34c0 4.43 1.28 7.81 3.44 9.9l.01-.01c3.18 3.08 8.24 3.38 13.94.15l133.41-75.82c9.56-5.44 9.56-14.34 0-19.77z" fill="url(#google_play_games__SVGID_2_)"></path><path d="M170.83 87.12L37.39 11.3C27.82 5.87 20 10.38 20 21.33v-1C20 9.38 27.82 4.87 37.39 10.3l133.44 75.82c5 2.84 7.36 6.63 7.13 10.38-.21-3.41-2.57-6.79-7.13-9.38z" opacity=".1" fill="#fff"></path><path d="M160.78 111.57c-1.98-11.56-4.68-27.34-6.63-38.7-.17-.98-.49-2.51-.49-2.51h-1s.34 3.02.34 4.66c0 17.61-13.67 31.02-31.09 31.02H84l-9 9h44l12.79 13.01 28.99-16.48z" fill="#00b359"></path><linearGradient gradientUnits="userSpaceOnUse" x1="125.302" x2="134.1527" y1="111.7027" y2="127.0326"><stop offset="0" stop-color="#064d25" stop-opacity="0"></stop><stop offset="1" stop-color="#064d25" stop-opacity=".25"></stop></linearGradient><path d="M160.78 111.57c-1.98-11.56-4.68-27.34-6.63-38.7-.17-.98-.49-2.51-.49-2.51h-1s.34 3.02.34 4.66c0 17.61-13.67 31.02-31.09 31.02H84l-9 9h44l12.79 13.01 28.99-16.48z" fill="url(#google_play_games__SVGID_3_)"></path><path d="M122.32 43.01H73.36c-15.7 0-28.49 9.79-31.93 29.87-3.43 20.06-9.23 53.94-9.23 53.94-.13.74-.19 1.45-.19 2.23 0 7.16 5.71 12.95 12.75 12.95 3.52 0 6.71-1.39 9.02-3.74l30.82-31.21h37.73c17.42 0 31.68-14.41 31.68-32.02-.01-17.62-14.27-32.02-31.69-32.02z" fill="#00e26b"></path><path class="google_play_games__Graphic_x0020_Style_x0020_5" d="M88 72H77V61h-8v11H58v8h11v11h8V80h11z"></path><circle class="google_play_games__Graphic_x0020_Style_x0020_5" cx="122" cy="65" r="5"></circle><circle class="google_play_games__Graphic_x0020_Style_x0020_5" cx="122" cy="87" r="5"></circle><circle class="google_play_games__Graphic_x0020_Style_x0020_5" cx="133" cy="76" r="5"></circle><g><circle class="google_play_games__Graphic_x0020_Style_x0020_5" cx="111" cy="76" r="5"></circle></g><path d="M122.32 106.04H84.59l-30.82 31.21c-2.31 2.35-5.5 3.74-9.02 3.74-6.89 0-12.48-5.53-12.73-12.48-.01.18-.02.35-.02.53 0 7.16 5.71 12.95 12.75 12.95 3.52 0 6.71-1.39 9.02-3.74l30.82-31.21h37.73c17.42 0 31.68-14.41 31.68-32.02 0-.17-.01-.33-.01-.5-.27 17.38-14.41 31.52-31.67 31.52z" opacity=".15" fill="#231f20"></path><path d="M42.5 68c4.75-16.11 16.77-23.99 30.86-23.99h48.96c14.68 0 27.36 10.24 30.91 23.99-3.19-14.26-15.87-24.99-30.91-24.99H73.36c-14.37 0-26.3 8.21-30.86 24.99z" opacity=".25" fill="#fff"></path></g></switch></g><g id="groups"><path fill="none" d="M0 0h24v24H0z"></path><path d="M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58A2.01 2.01 0 000 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29zM20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4 3.43c0-.81-.48-1.53-1.22-1.85A6.95 6.95 0 0020 14c-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24v-1.57zm-7.76-2.78c-1.17-.52-2.61-.9-4.24-.9-1.63 0-3.07.39-4.24.9A2.988 2.988 0 006 16.39V18h12v-1.61c0-1.18-.68-2.26-1.76-2.74zM8.07 16c.09-.23.13-.39.91-.69.97-.38 1.99-.56 3.02-.56s2.05.18 3.02.56c.77.3.81.46.91.69H8.07zM12 8c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m0-2c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g><g mirror-in-rtl="" id="guide_close"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"></path></g><g id="happy"><path fill="none" d="M0 0h24v24H0z"></path><circle cx="15.5" cy="9.5" r="1.5"></circle><circle cx="8.5" cy="9.5" r="1.5"></circle><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-4c-1.48 0-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5s4.32-1.45 5.12-3.5h-1.67c-.7 1.19-1.97 2-3.45 2z"></path></g><g id="health_and_safety"><path d="M17,13h-4v4h-2v-4H7v-2h4V7h2v4h4V13z M12,3.1l7,3.21v4.84c0,1.3-0.25,2.6-0.75,3.86c-0.15,0.37-0.33,0.76-0.55,1.17 c-0.15,0.27-0.31,0.54-0.48,0.81C15.91,19,14.06,20.41,12,20.97C9.94,20.41,8.09,19,6.77,16.99c-0.17-0.27-0.33-0.54-0.48-0.81 c-0.22-0.41-0.4-0.79-0.55-1.17C5.25,13.75,5,12.45,5,11.15V6.31L12,3.1 M12,2L4,5.67v5.49c0,1.47,0.3,2.9,0.81,4.22 c0.17,0.44,0.37,0.86,0.6,1.28c0.16,0.3,0.34,0.6,0.52,0.88c1.42,2.17,3.52,3.82,5.95,4.44L12,22l0.12-0.03 c2.43-0.61,4.53-2.26,5.95-4.43c0.19-0.29,0.36-0.58,0.52-0.88c0.22-0.41,0.43-0.84,0.6-1.28C19.7,14.05,20,12.62,20,11.15V5.67 L12,2L12,2z"></path></g><g id="help"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"></path></g><g id="help_outline"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"></path></g><g id="highlight_off"><path d="M0 0h24v24H0z" fill="none"></path><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="hourglass"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6z"></path></g><g id="image"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"></path></g><g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g><g id="info"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"></path></g><g id="info_circle"><path d="M13,17h-2v-6h2V17z M13,7h-2v2h2V7z M12,3c-4.96,0-9,4.04-9,9s4.04,9,9,9c4.96,0,9-4.04,9-9S16.96,3,12,3 M12,2 c5.52,0,10,4.48,10,10s-4.48,10-10,10C6.48,22,2,17.52,2,12S6.48,2,12,2L12,2z"></path></g><g id="info_outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g><g id="insert_chart"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g><g id="insert_chart_outlined"><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4zm2 2H5V5h14v14zm0-16H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g><g id="insert_photo"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"></path></g><g id="insights"><path fill="none" d="M0 0h24v24H0z"></path><path d="M21 8c-1.45 0-2.26 1.44-1.93 2.51l-3.55 3.56c-.3-.09-.74-.09-1.04 0l-2.55-2.55C12.27 10.45 11.46 9 10 9c-1.45 0-2.27 1.44-1.93 2.52l-4.56 4.55C2.44 15.74 1 16.55 1 18c0 1.1.9 2 2 2 1.45 0 2.26-1.44 1.93-2.51l4.55-4.56c.3.09.74.09 1.04 0l2.55 2.55C12.73 16.55 13.54 18 15 18c1.45 0 2.27-1.44 1.93-2.52l3.56-3.55c1.07.33 2.51-.48 2.51-1.93 0-1.1-.9-2-2-2z"></path><path d="M15 9l.94-2.07L18 6l-2.06-.93L15 3l-.92 2.07L12 6l2.08.93zM3.5 11L4 9l2-.5L4 8l-.5-2L3 8l-2 .5L3 9z"></path></g><g id="invite_only_mode"><path d="M21,15v-1c0-1.11-0.9-2-2-2c-1.11,0-2,0.9-2,2v1c-0.55,0-1,0.45-1,1v3c0,0.55,0.45,1,1,1h4c0.55,0,1-0.45,1-1v-3 C22,15.45,21.55,15,21,15z M20,15h-2v-1.02c0-0.54,0.45-0.98,1-0.98c0.55,0,1,0.44,1,0.98V15z M6,7c0-2.21,1.79-4,4-4 c2.21,0,4,1.79,4,4s-1.79,4-4,4C7.79,11,6,9.21,6,7z M14.18,20H2v-3c0-2.66,5.33-4,8-4c1.29,0,3.21,0.32,4.84,0.94 C14.33,14.48,14,15.2,14,16v3C14,19.35,14.07,19.69,14.18,20z"></path></g><g id="invite_only_mode_off"><path d="M6,7c0-2.21,1.79-4,4-4c2.21,0,4,1.79,4,4s-1.79,4-4,4C7.79,11,6,9.21,6,7z M14.18,20H2v-3c0-2.66,5.33-4,8-4 c1.29,0,3.21,0.32,4.84,0.94C14.33,14.48,14,15.2,14,16v3C14,19.35,14.07,19.69,14.18,20z M21,15v-1c0-1.11-0.9-2-2-2 c-1.11,0-2,0.9-2,2h1v-0.02c0-0.54,0.45-0.98,1-0.98c0.55,0,1,0.44,1,0.98V15h-1h-1h-1c-0.55,0-1,0.45-1,1v3c0,0.55,0.45,1,1,1h4 c0.55,0,1-0.45,1-1v-3C22,15.45,21.55,15,21,15z"></path></g><g id="keep"><path d="M16 5h.99L17 3H7v2h1v7l-2 2v2h5v6l1 1 1-1v-6h5v-2l-2-2V5z"></path></g><g id="keep_off"><path d="M20.17 20.41L14.76 15h.01L8 8.23v.01L3.65 3.88 2.41 5.12 8 10.71V11l-2 2v2h5v6l1 1 1-1v-5.29l5.94 5.94zM8 5.75L17.25 15H18v-2l-2-2V4h.99L17 2H7v2h1z"></path></g><g id="keyboard"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"></path></g><g id="language"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"></path></g><g id="last_page"><path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"></path></g><g id="launch"><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M19 19H5V5h7V3H3v18h18v-9h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g><g id="library_add"><path d="M0 0h24v24H0z" fill="none"></path><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z"></path></g><g id="library_music"><path d="M0 0h24v24H0z" fill="none"></path><path d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 5h-3v5.5c0 1.38-1.12 2.5-2.5 2.5S10 13.88 10 12.5s1.12-2.5 2.5-2.5c.57 0 1.08.19 1.5.51V5h4v2zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z"></path></g><g id="library_remove"><path fill="none" d="M0 0h24v24H0z"></path><path d="M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7.53 12L9 10.5l1.4-1.41 2.07 2.08L17.6 6 19 7.41 12.47 14zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6z"></path></g><g id="like"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"></path></g><g id="like_outline"><path d="M9 21h9c.8 0 1.5-.5 1.8-1.2l3-7.3c.1-.2.2-.4.2-.7V9.7c0-1.1-.9-2.1-2-2.1h-6.3l1-4.7v-.3c0-.4-.2-.8-.4-1.1-.6-.6-1.5-.5-2.1.1L7.6 7.3c-.4.4-.6.9-.6 1.4V19c0 1.1.9 2 2 2zm.3-12.6l3.5-3.6c.2-.2.5 0 .4.2l-1 4.7H20c.6 0 1 .5 1 1v1l-2.7 6.7c-.2.3-.6.6-1 .6H10c-.6 0-1-.5-1-1V9.2c0-.4.1-.6.3-.8zM5 21H1V9h4v12z"></path></g><g id="likes_playlist"><path d="M3.75 18.75h3v-9h-3v9zm16.5-8.25c0-.83-.68-1.5-1.5-1.5h-4.73l.7-3.43.03-.24c0-.3-.13-.6-.33-.8l-.8-.78L8.7 8.7c-.3.26-.45.64-.45 1.05v7.5c0 .82.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1.38-.9l2.27-5.3c.06-.18.1-.36.1-.55v-1.5z"></path></g><g id="link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g><g id="live"><path d="M16.94 6.91l-1.41 1.45c.9.94 1.46 2.22 1.46 3.64s-.56 2.71-1.46 3.64l1.41 1.45c1.27-1.31 2.05-3.11 2.05-5.09s-.78-3.79-2.05-5.09zM19.77 4l-1.41 1.45C19.98 7.13 21 9.44 21 12.01c0 2.57-1.01 4.88-2.64 6.54l1.4 1.45c2.01-2.04 3.24-4.87 3.24-7.99 0-3.13-1.23-5.96-3.23-8.01zM7.06 6.91c-1.27 1.3-2.05 3.1-2.05 5.09s.78 3.79 2.05 5.09l1.41-1.45c-.9-.94-1.46-2.22-1.46-3.64s.56-2.71 1.46-3.64L7.06 6.91zM5.64 5.45L4.24 4C2.23 6.04 1 8.87 1 11.99c0 3.13 1.23 5.96 3.23 8.01l1.41-1.45C4.02 16.87 3 14.56 3 11.99s1.01-4.88 2.64-6.54z"></path><circle cx="12" cy="12" r="3"></circle></g><g id="live_unlisted"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g><g id="local_mall"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 6h-2c0-2.76-2.24-5-5-5S7 3.24 7 6H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-7-3c1.66 0 3 1.34 3 3H9c0-1.66 1.34-3 3-3zm0 10c-2.76 0-5-2.24-5-5h2c0 1.66 1.34 3 3 3s3-1.34 3-3h2c0 2.76-2.24 5-5 5z"></path></g><g id="local_offer"><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"></path></g><g id="location_pin"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="lock"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g><g id="lock_clock"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M14.5 14.2l2.9 1.7-.8 1.3L13 15v-5h1.5v4.2zM22 14c0 4.41-3.59 8-8 8-2.02 0-3.86-.76-5.27-2H4c-1.15 0-2-.85-2-2V9c0-1.12.89-1.96 2-2v-.5C4 4.01 6.01 2 8.5 2c2.34 0 4.24 1.79 4.46 4.08.34-.05.69-.08 1.04-.08 4.41 0 8 3.59 8 8zM6 7h5v-.74A2.509 2.509 0 008.5 4 2.5 2.5 0 006 6.5V7zm14 7c0-3.31-2.69-6-6-6s-6 2.69-6 6 2.69 6 6 6 6-2.69 6-6z"></path></g><g id="lock_open"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"></path></g><g id="loop"><path d="M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4z"></path></g><g id="loop_one"><path d="M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4zm-4-2V9h-1l-2 1v1h1.5v4H13z"></path></g><g id="manual-record"><circle cx="12" cy="12" r="8"></circle></g><g id="maximize"><path d="M3 3h18v2H3z"></path></g><g id="meh"><path d="M9 14h6v1.5H9z"></path><circle cx="15.5" cy="9.5" r="1.5"></circle><circle cx="8.5" cy="9.5" r="1.5"></circle><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g fill-rule="evenodd" id="members_only_mode"><path d="M9,8 L9,9 L7,9 L7,7.5 L7,7 C7,6.44771525 7.4556644,6 7.99539757,6 L16.0046024,6 C16.5543453,6 17,6.44386482 17,7 L17,8 L9,8 Z M15,12 L7,12 L7,13 C7,13.5561352 7.44565467,14 7.99539757,14 L16.0046024,14 C16.5443356,14 17,13.5522847 17,13 L17,12.5 L17,11 L15,11 L15,12 Z M2,16.0029699 L2,3.99406028 C2,2.89451376 2.89130934,2 3.99079514,2 L20.0092049,2 C21.1017876,2 22,2.8927712 22,3.99406028 L22,16.0059397 C22,17.1054862 21.1086907,18 20.0092049,18 L6,18 L2,22 L2,16.0029699 Z M11,14 L13,14 L13,16 L11,16 L11,14 Z M7,9 L16.0046024,9 C16.5543453,9 17,9.44386482 17,10 L17,11 L7.99539757,11 C7.44565467,11 7,10.5561352 7,10 L7,9 Z M11,4 L13,4 L13,6 L11,6 L11,4 Z"></path></g><g fill-rule="evenodd" id="members_only_mode_off"><path d="M2,16.0029699 L2,3.99406028 C2,2.89451376 2.89130934,2 3.99079514,2 L20.0092049,2 C21.1017876,2 22,2.8927712 22,3.99406028 L22,16.0059397 C22,17.1054862 21.1086907,18 20.0092049,18 L6,18 L2,22 L2,16.0029699 Z M14,12 L6,12 L6,14 L14,14 L14,12 Z M18,9 L6,9 L6,11 L18,11 L18,9 Z M18,6 L6,6 L6,8 L18,8 L18,6 Z"></path></g><g id="membership_post_purchase"><path d="M9 4c-4.4 0-8 3.6-8 8s3.6 8 8 8c-2.4-1.8-4-4.7-4-8s1.6-6.2 4-8zm13 4.3c.7 1 1 2.4 1 3.7 0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8c2.4 0 4.5 1 6 2.6l-7 7-2.6-2.6-1.4 1.4 4 4 8-8z"></path></g><g id="membership_pre_purchase"><path d="M9 4c-4.42 0-8 3.582-8 8s3.58 8 8 8c-2.43-1.824-4-4.73-4-8 0-3.27 1.57-6.176 4-8zm7 4.09c.103.022.204.05.3.08.35.115.65.277.9.488.25.21.447.464.588.762.14.297.212.63.212.997h-1.83c0-.146-.02-.28-.065-.404-.043-.123-.11-.228-.198-.315-.09-.087-.2-.156-.33-.206-.13-.05-.284-.075-.462-.075-.174 0-.328.02-.46.062-.132.04-.243.09-.332.17-.09.07-.156.15-.2.25-.046.09-.07.19-.07.3 0 .12.033.22.098.32.07.09.16.18.28.27.12.08.27.16.44.23.17.07.37.14.58.21.41.13.77.28 1.09.44.32.16.59.34.81.55.22.2.39.44.5.7.12.26.17.55.17.88 0 .35-.06.66-.2.93s-.32.5-.57.68c-.24.19-.54.33-.89.42-.11.03-.22.05-.34.07V18h-2v-2.16c-.11-.032-.22-.07-.33-.113-.23-.092-.45-.21-.66-.35-.2-.14-.38-.31-.52-.505-.14-.196-.26-.42-.35-.67-.08-.248-.12-.526-.12-.833h1.84c0 .22.03.42.09.57.06.15.15.28.26.37.12.09.26.16.42.2.17.04.36.06.58.06.17 0 .32-.02.444-.06.12-.04.224-.1.305-.17.08-.07.14-.15.177-.24.04-.1.06-.19.06-.3 0-.12-.016-.23-.05-.33s-.1-.19-.195-.28c-.1-.09-.235-.18-.41-.26-.18-.09-.41-.18-.694-.28-.334-.11-.657-.24-.967-.38-.31-.15-.585-.31-.826-.51-.24-.2-.434-.43-.578-.69-.143-.26-.215-.57-.215-.92 0-.34.07-.64.22-.91.14-.264.35-.49.61-.68.26-.19.57-.337.93-.44h.01V6h2v2.09zM15 20c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z"></path></g><g id="memberships"><path d="M13.67 10.91l2.01-1.74-2.65-.23L12 6.5l-1.03 2.44-2.65.23 2.01 1.74-.6 2.59L12 12.13l2.28 1.37-.61-2.59zM12 2c-4.42 0-8 3.58-8 8 0 2.53 1.17 4.77 3 6.24V22l5-2 5 2v-5.76c1.83-1.47 3-3.71 3-6.24 0-4.42-3.58-8-8-8zm4 18.52l-4-1.6-4 1.6v-3.6c1.18.68 2.54 1.08 4 1.08s2.82-.4 4-1.08v3.6zM12 17c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7z"></path></g><g id="menu"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></g><g id="message"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="microphone_off"><path d="M19 11h-1.7c0 .74-.16 1.43-.43 2.05l1.23 1.23c.56-.98.9-2.1.9-3.28zm-4.02.17L15 11V5c0-1.66-1.34-3-3-3S9 3.34 9 5v.18l5.98 6zM4.28 3L3 4.27l6 6V11c0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.66 1.66c-.7.33-1.5.52-2.3.52-2.75 0-5.3-2.1-5.3-5.1H5c0 3.4 2.72 6.23 6 6.72V21h2v-3.28c.9-.13 1.77-.45 2.54-.9l4.2 4.18L21 19.73 4.27 3z"></path></g><g id="microphone_on"><path d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"></path></g><g id="minimize"><path d="M6 19h12v2H6z"></path></g><g id="mix"><path d="M16.94 6.9l-1.4 1.46C16.44 9.3 17 10.58 17 12s-.58 2.7-1.48 3.64l1.4 1.45C18.22 15.74 19 13.94 19 12s-.8-3.8-2.06-5.1zM23 12c0-3.12-1.23-5.95-3.23-8l-1.4 1.45C19.97 7.13 21 9.45 21 12s-1 4.9-2.64 6.55l1.4 1.45c2-2.04 3.24-4.87 3.24-8zM7.06 17.1l1.4-1.46C7.56 14.7 7 13.42 7 12s.6-2.7 1.5-3.64L7.08 6.9C5.78 8.2 5 10 5 12s.8 3.8 2.06 5.1zM1 12c0 3.12 1.23 5.95 3.23 8l1.4-1.45C4.03 16.87 3 14.55 3 12s1-4.9 2.64-6.55L4.24 4C2.24 6.04 1 8.87 1 12zm9-3.32v6.63l5-3.3-5-3.3z"></path></g><g id="mobile_portrait"><path fill="none" d="M0 0h24v24H0z"></path><path d="M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"></path></g><g id="monetization_on"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g fill-rule="evenodd" id="money_fill"><g><path d="M0,4.99508929 C0,3.8932319 0.897026226,3 2.00494659,3 L21.9950534,3 C23.1023548,3 24,3.8926228 24,4.99508929 L24,19.0049107 C24,20.1067681 23.1029738,21 21.9950534,21 L2.00494659,21 C0.897645164,21 0,20.1073772 0,19.0049107 L0,4.99508929 Z M11,5 L13,5 L13,7 L11,7 L11,5 Z M7,7 L17,7 L17,9 L7,9 L7,7 Z M7,9 L9,9 L9,11 L7,11 L7,9 Z M7,11 L17,11 L17,13 L7,13 L7,11 Z M15,13 L17,13 L17,15 L15,15 L15,13 Z M7,15 L17,15 L17,17 L7,17 L7,15 Z M11,17 L13,17 L13,19 L11,19 L11,17 Z"></path></g></g><g fill-rule="evenodd" id="money_fill_jpy"><path d="M2 3h20a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm10.29 7.67l-2.16-5.42H7.1l3.1 6.86H7.86v1.68h2.94v1.11H7.86v1.67h2.94v2.68h2.89v-2.68h2.76V14.9h-2.76v-1.11h2.76v-1.68h-2.09l3.09-6.86h-3z"></path></g><g fill-rule="evenodd" id="money_fill_more_arrow"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.6 12.9L12 10.3l-4.6 4.6L6 13.5l6-6 6 6-1.4 1.4z"></path></g><g fill-rule="evenodd" id="money_fill_shopping_bag"><path d="M21 7h-4.11v-.11a4.89 4.89 0 0 0-9.78 0V7H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zm-6.11 0H9.11v-.11a2.89 2.89 0 0 1 5.78 0z"></path></g><g fill-rule="evenodd" id="money_fill_store"><path d="M22.82 7.48l-1.54-4.61a2 2 0 0 0-1.9-1.37H4.62a2 2 0 0 0-1.9 1.37L1.18 7.48a3.5 3.5 0 0 0 .48 3.13A3.15 3.15 0 0 0 2 11v9.5a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V11a4.14 4.14 0 0 0 .35-.38 3.5 3.5 0 0 0 .47-3.14zm-1.9.64A1.46 1.46 0 0 1 19.53 10a1.44 1.44 0 0 1-1.44-1.22L18 8l-.8-4.5h2.18zM15.17 3.5l.06.31.77 4.55A1.46 1.46 0 0 1 14.54 10h-.08A1.46 1.46 0 0 1 13 8.58V3.5zM11 3.5v5.08A1.46 1.46 0 0 1 9.53 10h-.08A1.45 1.45 0 0 1 8 8.5l.77-4.67a.86.86 0 0 0 0-.16V3.5zM3.08 8.12L4.62 3.5h2.16L6 8v.16l-.11.65A1.44 1.44 0 0 1 4.47 10a1.46 1.46 0 0 1-1.39-1.88zM15.5 20.49H13v-4.32h2.5zm2 0v-6.32H11v6.32H4V12a3.75 3.75 0 0 0 .47 0A3.43 3.43 0 0 0 7 11a3.45 3.45 0 0 0 2.45 1h.08A3.44 3.44 0 0 0 12 11a3.44 3.44 0 0 0 2.47 1h.08A3.44 3.44 0 0 0 17 11a3.42 3.42 0 0 0 2.53 1 3.75 3.75 0 0 0 .47 0v8.5z"></path></g><g fill-rule="evenodd" id="money_heart"><path d="M21.8,6.9c-0.2-0.7-0.5-1.4-1.1-2c-0.5-0.6-1.2-1.1-2-1.4C18,3.2,17.2,3,16.3,3c-0.8,0-1.7,0.2-2.4,0.6\n    C13.2,3.9,12.5,4.4,12,5c-0.5-0.6-1.2-1.1-1.9-1.5C9.3,3.2,8.5,3,7.7,3C6.8,3,6,3.2,5.2,3.5c-0.8,0.3-1.4,0.8-2,1.4\n    c-0.5,0.5-0.9,1.2-1.1,2C0.8,11.9,5.5,18,12,22C18.5,18,23.2,11.9,21.8,6.9z M15,10h-4.5v1.5H14c0.5,0,1,0.5,1,1V15c0,0.5-0.5,1-1,1\n    h-1v1.5h-2V16h-1c-0.5,0-1-0.5-1-1v-0.5h4.5V13H10c-0.5,0-1-0.5-1-1V9.5c0-0.5,0.5-1,1-1h1V7h2v1.5h1c0.5,0,1,0.5,1,1V10z"></path></g><g id="more"><circle cx="5" cy="12" r="2"></circle><circle cx="12" cy="12" r="2"></circle><circle cx="19" cy="12" r="2"></circle></g><g id="more_chevron"><path d="M 18.006339,7.96 12.003622,13.962717 6.0009055,7.96 4,9.960906 12.003622,18 20.007244,9.960906 18.006339,7.96 l 0,0 z"></path></g><g id="more_horiz"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="more_vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="movies"><path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="music"><path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"></path></g><g id="music_explicit_badge"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 6h-4v2h4v2h-4v2h4v2H9V7h6v2z"></path></g><g mirror-in-rtl="" id="music_miniplayer"><path d="M19 11h-8v6h8v-6zm4 8V5a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h18a2 2 0 0 0 2-2zm-2 0H3V5h18v14z"></path><path fill="none" d="M0 0h24v24H0V0z"></path></g><g id="music_new_release"><path fill-rule="evenodd" clip-rule="evenodd" d="M20.56 9.22L23 12l-2.44 2.78.34 3.68-3.61.82-1.89 3.18L12 21l-3.4 1.47-1.89-3.18-3.61-.82.34-3.69L1 12l2.44-2.79-.34-3.68 3.61-.81L8.6 1.54 12 3l3.4-1.46 1.89 3.18 3.61.82-.34 3.68zm-1.81 7.68l-.26-2.79L20.34 12l-1.85-2.11.26-2.79-2.74-.62-1.43-2.41L12 5.18l-2.58-1.1-1.43 2.41-2.74.61.26 2.78L3.66 12l1.85 2.1-.26 2.8 2.74.62 1.43 2.41L12 18.82l2.58 1.11 1.43-2.41 2.74-.62zM12 12.775V7.5h3v2h-2v5a2 2 0 11-2-2c.365 0 .705.105 1 .275z"></path></g><g id="music_note"><path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"></path></g><g mirror-in-rtl="" id="music_player_page"><path d="M17 7H5v8h12V7zm6 12V5a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h18a2 2 0 0 0 2-2zm-2 0H3V5h18v14z"></path></g><g id="music_repeat_all"><path d="M3 6.929c0-.75.643-1.393 1.393-1.393h14.286L16.32 3.179 17.5 2l4.393 4.393-4.393 4.393-1.179-1.179L18.68 7.25H4.714V11H3V6.929zM2.107 17.607L6.5 13.214l1.179 1.179L5.32 16.75l13.965-.071v-3.965H21V17c0 .75-.643 1.393-1.393 1.393l-14.286.071 2.358 2.357L6.5 22l-4.393-4.393z"></path></g><g id="music_repeat_one"><path d="M4.393 5.536C3.643 5.536 3 6.179 3 6.929V11h1.714V7.25H18.68L16.32 9.607l1.179 1.179 4.393-4.393L17.5 2l-1.179 1.179 2.358 2.357H4.393zM6.5 13.214l-4.393 4.393L6.5 22l1.179-1.179-2.358-2.357 14.286-.071c.75 0 1.393-.643 1.393-1.393v-4.286h-1.714v3.965L5.32 16.75l2.358-2.357L6.5 13.214z"></path><path d="M13 9v6h-1.5v-4H10v-1l2-1h1z"></path></g><g id="music_shuffle"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.808 4.655l2.069 1.978h-.527c-1.656 0-3.312.68-4.458 1.814L12.797 9.75l1.179 1.246 1.317-1.527c.764-.794 1.91-1.247 3.057-1.247h.55l-2.07 2.014 1.178 1.179 4.005-3.993-4.026-3.945-1.178 1.179zm1.974 10.998l-1.974-1.888 1.18-1.179 4.024 3.945-4.004 3.993-1.178-1.179 1.954-1.901h-.434c-1.656 0-3.312-.625-4.458-1.667L8.242 9.8C7.35 9.071 6.204 8.55 4.93 8.55H2l.006-1.794 2.965.003c1.784 0 3.312.521 4.459 1.563l5.904 6.185c.765.73 1.911 1.146 3.058 1.146h.39zm-9.02-2.092l-1.52 1.394c-.892.793-2.038 1.36-3.312 1.36H2v1.588h2.93c1.783 0 3.312-.567 4.459-1.701l1.537-1.396-1.164-1.245z"></path></g><g id="music_video"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"></path></g><g id="my_channel"><path d="M12,2 C6.477,2 2,6.477 2,12 C2,17.523 6.477,22 12,22 C17.523,22 22,17.523 22,12 C22,6.477 17.523,2 12,2 L12,2 Z M12,5 C13.656,5 15,6.344 15,8 C15,9.658 13.656,11 12,11 C10.344,11 9,9.658 9,8 C9,6.344 10.344,5 12,5 L12,5 Z M12,19.2 C9.496,19.2 7.293,17.921 6.002,15.98 C6.028,13.993 10.006,12.9 12,12.9 C13.994,12.9 17.972,13.993 17.998,15.98 C16.707,17.921 14.504,19.2 12,19.2 L12,19.2 Z"></path></g><g id="my_videos"><path d="M18.4 5.6v12.8H5.6V5.6h12.8zm0-1.8H5.6a1.8 1.8 0 0 0-1.8 1.8v12.8a1.8 1.8 0 0 0 1.8 1.9h12.8a1.8 1.8 0 0 0 1.9-1.9V5.6a1.8 1.8 0 0 0-1.9-1.8z"></path><path d="M10.2 9v6.5l5-3.2-5-3.2z"></path></g><g id="new_release"><path d="M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-4.51 2.11l.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12l-1.85 2.11zM11 15h2v2h-2zm0-8h2v6h-2z"></path></g><g id="not_interested"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"></path></g><g id="notifications"><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"></path></g><g id="notifications_active"><path d="M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"></path></g><g id="notifications_done_checkmark"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></g><g id="notifications_none"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"></path></g><g id="notifications_off"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12.1,21.5 C11,21.5 10.1,20.6 10.1,19.5 L14.1,19.5 C14.1,20.6 13.2,21.5 12.1,21.5 Z M17.8493827,18.5 L4.1,18.5 L4.1,17.5 L6.1,15.5 L6.1,10.5 C6.1,9.28787069 6.34383266,8.14803693 6.80191317,7.17284768 L4,4.3 L5.3,3 L8.39345122,6.17176644 C8.80987992,6.58774655 9.3,7.1 9.3,7.1 L21.1,19.2 L19.8,20.5 L17.8493827,18.5 Z M8.37723023,8.78804618 C8.20156515,9.32818052 8.1,9.91409026 8.1,10.5 L8.1,16.5 L15.8987654,16.5 L8.37723023,8.78804618 Z M18.1,13.7 L16.1,11.6 L16.1,10.5 C16.1,8 14.6,6 12.1,6 C11.6,6 11.2,6.1 10.8,6.2 L9.3,4.7 C9.7,4.5 10.1,4.3 10.6,4.2 L10.6,3.5 C10.6,2.7 11.3,2 12.1,2 C12.9,2 13.6,2.7 13.6,3.5 L13.6,4.2 C16.5,4.9 18.1,7.4 18.1,10.5 L18.1,13.7 Z"></path></g><g viewBox="0 0 24 24" id="official_artist_badge"><path fill="none" d="M0 0h24v24H0z"></path><path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"></path></g><g id="offline_cloud"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.48 0-2.85.43-4.01 1.17l1.46 1.46C10.21 6.23 11.08 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3 0 1.13-.64 2.11-1.56 2.62l1.45 1.45C23.16 18.16 24 16.68 24 15c0-2.64-2.05-4.78-4.65-4.96zM3 5.27l2.75 2.74C2.56 8.15 0 10.77 0 14c0 3.31 2.69 6 6 6h11.73l2 2L21 20.73 4.27 4 3 5.27zM7.73 10l8 8H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73z"></path></g><g id="offline_download"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g><g id="offline_downloading_eighty"><path d="M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00673 12C3.00673 16.9668 7.03315 20.9933 12 20.9933C16.9668 20.9933 20.9933 16.9668 20.9933 12C20.9933 7.03315 16.9668 3.00673 12 3.00673C7.03315 3.00673 3.00673 7.03315 3.00673 12Z" fill="var(--yt-spec-call-to-action-inverse)"></path><path d="M12 1C14.323 1 16.5863 1.7354 18.4656 3.10081C20.345 4.46622 21.7438 6.39154 22.4616 8.60081C23.1795 10.8101 23.1795 13.1899 22.4616 15.3992C21.7438 17.6085 20.345 19.5338 18.4656 20.8992C16.5863 22.2646 14.323 23 12 23C9.67703 23 7.41368 22.2646 5.53436 20.8992C3.65504 19.5338 2.25622 17.6085 1.53838 15.3992C0.82054 13.1899 0.820541 10.8101 1.53838 8.60081L3.44239 9.21946C2.8552 11.0267 2.8552 12.9733 3.44239 14.7805C4.02958 16.5877 5.17382 18.1626 6.71111 19.2795C8.24839 20.3964 10.0998 20.998 12 20.998C13.9002 20.998 15.7516 20.3964 17.2889 19.2795C18.8262 18.1626 19.9704 16.5877 20.5576 14.7805C21.1448 12.9733 21.1448 11.0267 20.5576 9.21947C19.9704 7.41228 18.8262 5.83737 17.2889 4.72047C15.7516 3.60356 13.9002 3.002 12 3.002L12 1Z" fill="var(--yt-spec-call-to-action)"></path><path d="M17.3596 12.71L11.9996 18.07L6.63965 12.71L8.04965 11.3L10.9996 14.24V6H12.9996V14.24L15.9496 11.29L17.3596 12.71Z" fill="var(--yt-spec-call-to-action)"></path></g><g id="offline_downloading_forty"><path d="M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00673 12C3.00673 16.9668 7.03315 20.9933 12 20.9933C16.9668 20.9933 20.9933 16.9668 20.9933 12C20.9933 7.03315 16.9668 3.00673 12 3.00673C7.03315 3.00673 3.00673 7.03315 3.00673 12Z" fill="var(--yt-spec-call-to-action-inverse)"></path><path d="M12 1C14.323 1 16.5863 1.7354 18.4656 3.10081C20.345 4.46622 21.7438 6.39154 22.4616 8.60081C23.1795 10.8101 23.1795 13.1899 22.4616 15.3992C21.7438 17.6085 20.345 19.5338 18.4656 20.8992L17.2889 19.2795C18.8262 18.1626 19.9704 16.5877 20.5576 14.7805C21.1448 12.9733 21.1448 11.0267 20.5576 9.21947C19.9704 7.41228 18.8262 5.83737 17.2889 4.72047C15.7516 3.60356 13.9002 3.002 12 3.002L12 1Z" fill="var(--yt-spec-call-to-action)"></path><path d="M17.3596 12.71L11.9996 18.07L6.63965 12.71L8.04965 11.3L10.9996 14.24V6H12.9996V14.24L15.9496 11.29L17.3596 12.71Z" fill="var(--yt-spec-call-to-action)"></path></g><g id="offline_downloading_sixty"><path d="M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00673 12C3.00673 16.9668 7.03315 20.9933 12 20.9933C16.9668 20.9933 20.9933 16.9668 20.9933 12C20.9933 7.03315 16.9668 3.00673 12 3.00673C7.03315 3.00673 3.00673 7.03315 3.00673 12Z" fill="var(--yt-spec-call-to-action-inverse)"></path><path d="M12 1C13.7359 1 15.4472 1.41084 16.9939 2.19893C18.5406 2.98702 19.8788 4.12998 20.8992 5.53436C21.9195 6.93875 22.593 8.56468 22.8646 10.2792C23.1361 11.9938 22.998 13.7482 22.4616 15.3992C21.9252 17.0501 21.0057 18.5507 19.7782 19.7782C18.5507 21.0056 17.0501 21.9252 15.3992 22.4616C13.7482 22.998 11.9938 23.1361 10.2792 22.8646C8.56468 22.593 6.93875 21.9195 5.53437 20.8992L6.71111 19.2795C7.8599 20.1142 9.18991 20.6651 10.5924 20.8872C11.9949 21.1094 13.4301 20.9964 14.7805 20.5576C16.131 20.1188 17.3585 19.3666 18.3625 18.3625C19.3666 17.3585 20.1188 16.131 20.5576 14.7805C20.9964 13.4301 21.1094 11.9949 20.8872 10.5924C20.6651 9.18991 20.1142 7.85989 19.2795 6.71111C18.4449 5.56232 17.3502 4.62738 16.085 3.98272C14.8198 3.33807 13.42 3.002 12 3.002L12 1Z" fill="var(--yt-spec-call-to-action)"></path><path d="M17.3596 12.71L11.9996 18.07L6.63965 12.71L8.04965 11.3L10.9996 14.24V6H12.9996V14.24L15.9496 11.29L17.3596 12.71Z" fill="var(--yt-spec-call-to-action)"></path></g><g id="offline_downloading_spinner"><rect opacity="0.8" width="24" height="24" rx="12" fill="var(--yt-spec-static-brand-black)"></rect><path d="M19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 8.13401 8.13401 5 12 5C15.866 5 19 8.13401 19 12ZM6.27701 12C6.27701 15.1607 8.83928 17.723 12 17.723C15.1607 17.723 17.723 15.1607 17.723 12C17.723 8.83928 15.1607 6.27701 12 6.27701C8.83928 6.27701 6.27701 8.83928 6.27701 12Z" fill="var(--yt-spec-static-brand-white)"></path><path d="M15 12.8915L12 16L9 12.8915L9.78918 12.0737L11.4403 13.7788V9H12.5597V13.7788L14.2108 12.0679L15 12.8915Z" fill="var(--yt-spec-static-brand-white)"></path></g><g id="offline_downloading_twenty"><path d="M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00673 12C3.00673 16.9668 7.03315 20.9933 12 20.9933C16.9668 20.9933 20.9933 16.9668 20.9933 12C20.9933 7.03315 16.9668 3.00673 12 3.00673C7.03315 3.00673 3.00673 7.03315 3.00673 12Z" fill="var(--yt-spec-call-to-action-inverse)"></path><path d="M12 1C14.323 1 16.5863 1.7354 18.4656 3.10081C20.345 4.46622 21.7438 6.39154 22.4616 8.60081L20.5576 9.21947C19.9704 7.41228 18.8262 5.83737 17.2889 4.72047C15.7516 3.60356 13.9002 3.002 12 3.002L12 1Z" fill="var(--yt-spec-call-to-action)"></path><path d="M17.3596 12.71L11.9996 18.07L6.63965 12.71L8.04965 11.3L10.9996 14.24V6H12.9996V14.24L15.9496 11.29L17.3596 12.71Z" fill="var(--yt-spec-call-to-action)"></path></g><g id="offline_downloading_zero"><path d="M23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12ZM3.00673 12C3.00673 16.9668 7.03315 20.9933 12 20.9933C16.9668 20.9933 20.9933 16.9668 20.9933 12C20.9933 7.03315 16.9668 3.00673 12 3.00673C7.03315 3.00673 3.00673 7.03315 3.00673 12Z" fill="var(--yt-spec-call-to-action-inverse)"></path><path d="M17.3596 12.71L11.9996 18.07L6.63965 12.71L8.04965 11.3L10.9996 14.24V6H12.9996V14.24L15.9496 11.29L17.3596 12.71Z" fill="var(--yt-spec-call-to-action)"></path></g><g height="24" viewBox="0 0 24 24" width="24" id="offline_pause"><path d="M9,19H7V5H9ZM17,5H15V19h2Z"></path></g><g id="offline_pin"><path d="M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M17,18H7v-2h10V18z M10.3,14L7,10.7l1.4-1.4l1.9,1.9 l5.3-5.3L17,7.3L10.3,14z"></path></g><g id="open_in_new"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g><g id="open_with"><path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="paid"><path d="M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z"></path></g><g id="pause_outlined"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M9 16h2V8H9v8zm3-14C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm1-4h2V8h-2v8z"></path></g><g id="people"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"></path></g><g id="person"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></g><g id="person_add"><path d="M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></g><g id="phone"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"></path></g><g id="phone_download"><path d="M16 1.048H8c-1.66 0-3 1.34-3 3v16c0 1.66 1.34 3 3 3h8c1.66 0 3-1.34 3-3v-16c0-1.66-1.34-3-3-3zm-2 20h-4v-1h4v1zm3-3H7v-14h10v14z"></path><path d="M15.242 10.188h-1.861V7.396h-2.793v2.792H8.727l3.258 3.258 3.257-3.258zm-6.515 4.189v.93h6.515v-.93H8.727z"></path></g><g id="play_all"><path d="M8 5v14l11-7z"></path></g><g id="play_arrow"><path d="M8 5v14l11-7z"></path></g><g id="play_disabled"><rect fill="none" height="24" width="24"></rect><polygon points="16.45,13.62 19,12 8,5 8,5.17"></polygon><path d="M2.81,2.81L1.39,4.22L8,10.83V19l4.99-3.18l6.78,6.78l1.41-1.41L2.81,2.81z M10,15.36v-2.53l1.55,1.55L10,15.36z"></path></g><g id="play_next"><path d="M9,12 L18,12 L18,14 L9,14 L9,12 Z M6,16 L18,16 L18,18 L6,18 L6,16 Z M12,8 L18,8 L18,10 L12,10 L12,8 Z M6,6 L6,12 L10,9 L6,6 Z"></path></g><g id="play_outlined"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M10 16.5l6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="playlist_add"><path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z"></path></g><g id="playlist_add_check"><path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zM2 16h8v-2H2v2zm19.5-4.5L23 13l-6.99 7-4.51-4.5L13 14l3.01 3 5.49-5.5z"></path></g><g id="playlists"><path d="M3.67 8.67h14V11h-14V8.67zm0-4.67h14v2.33h-14V4zm0 9.33H13v2.34H3.67v-2.34zm11.66 0v7l5.84-3.5-5.84-3.5z"></path></g><g id="policy"><path d="M21,5l-9-4L3,5v6c0,5.55,3.84,10.74,9,12c2.3-0.56,4.33-1.9,5.88-3.71l-3.12-3.12c-1.94,1.29-4.58,1.07-6.29-0.64c-1.95-1.95-1.95-5.12,0-7.07c1.95-1.95,5.12-1.95,7.07,0c1.71,1.71,1.92,4.35,0.64,6.29l2.9,2.9C20.29,15.69,21,13.38,21,11V5z"></path><circle cx="12" cy="12" r="3"></circle></g><g id="poll"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g><g viewBox="0 0 14 14" id="premium"><path d="M0 1.007C0 .45.45 0 1.007 0H14v14H1.007C.45 14 0 13.55 0 12.993V1.007z" fill="#CC0000"></path><path d="M5.52 7.994V11H3.762V2.469H7.09c.64 0 1.204.117 1.69.351.487.235.86.568 1.122 1 .262.431.393.922.393 1.473 0 .836-.286 1.495-.858 1.978-.573.482-1.365.723-2.376.723H5.52zm0-1.424h1.57c.465 0 .82-.11 1.063-.328.244-.219.367-.531.367-.937 0-.418-.124-.756-.37-1.014s-.586-.39-1.02-.398H5.52V6.57z" fill="#FFF" fill-rule="nonzero"></path></g><g id="privacy_info"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"></path></g><g id="privacy_private"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g><g id="privacy_public"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"></path></g><g id="privacy_unlisted"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g><g xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 144 144" style="enable-background:new 0 0 144 144;" xml:space="preserve" id="prompted_sign_in"><style>\n    .prompted_sign_in__st0{fill:#ffc200;}\n    .prompted_sign_in__st1{fill:#d09fff;}\n    .prompted_sign_in__st2{fill:#00c1a0;}\n    .prompted_sign_in__st3{fill:#005cff;}\n  </style><g><path class="prompted_sign_in__st0" d="M40.9,78.9l-0.4-0.4c1-1,1.9-4.3,1-7c-0.7-2.1-2.4-3.4-4.8-3.8L36,67.6l0.6-0.4c1.9-1.4,2.7-3.4,2.2-5.4\n            c-0.7-2.4-3.2-4.1-6.8-4.4l0.1-0.6c3.8,0.4,6.5,2.2,7.3,4.9c0.6,2-0.2,4.1-1.9,5.6c3,0.7,4.2,2.6,4.7,4.1\n            C43,74.3,42,77.8,40.9,78.9z"></path><rect x="34.1" y="37.4" transform="matrix(0.3627 -0.9319 0.9319 0.3627 -22.2932 62.2217)" class="prompted_sign_in__st1" width="0.6" height="20.1"></rect><rect x="42.4" y="82.9" transform="matrix(0.7149 -0.6993 0.6993 0.7149 -44.7921 56.6335)" class="prompted_sign_in__st2" width="9.4" height="0.6"></rect><rect x="108.2" y="75.1" transform="matrix(0.5358 -0.8444 0.8444 0.5358 -23.5341 132.2362)" class="prompted_sign_in__st2" width="0.6" height="24.8"></rect><rect x="95.2" y="32.8" transform="matrix(0.7409 -0.6716 0.6716 0.7409 5.501 80.3848)" class="prompted_sign_in__st1" width="23.5" height="0.6"></rect><rect x="101" y="44" transform="matrix(0.878 -0.4786 0.4786 0.878 -8.3787 55.7619)" class="prompted_sign_in__st0" width="8.4" height="0.6"></rect><rect x="65.8" y="19.9" transform="matrix(0.9702 -0.2422 0.2422 0.9702 -4.3774 16.7857)" class="prompted_sign_in__st2" width="0.6" height="12.6"></rect><path class="prompted_sign_in__st1" d="M113.2,79.4c-1.2-1.6-2.2-1.4-3.2-1.2c-0.9,0.2-1.8,0.3-2.5-1.3c-0.6-1.6-1.6-1.5-3.5-1.2\n            c-1.1,0.1-2.4,0.3-4.1,0.2l0.1-0.6c1.6,0.2,2.9,0,3.9-0.1c1.8-0.3,3.3-0.5,4.1,1.6c0.5,1.2,1,1.1,1.8,0.9c1-0.2,2.3-0.4,3.8,1.4\n            L113.2,79.4z"></path><path class="prompted_sign_in__st3" d="M73.7,36.9c-13.7,0-23.5,9.6-24.5,21.7c-0.1,0.7,3.2,14.4,6.3,17.5c2.6,2.7,4.9,4,4.9,4l-11.2,29.3l-2.6,11.4\n            l6.9,2.1h48l-8.3-22.6l-2.4-2.8l0.2-3.1l-1.5-4.1l-6.3-11l8.7-4.5c1.2-1.4,2.4-3,3.4-5L97.4,56c-0.5-2.8-1.5-5.8-3.3-8.5L76.2,37\n            C75.4,37,74.5,36.9,73.7,36.9z"></path><g><path class="prompted_sign_in__st0" d="M97.4,56c-2.2,1.5-3.9,4.1-4.3,6.8c-0.4,2.7,0.5,5.3,2.1,7c1.4-2.9,2.4-6.4,2.4-10.7\n              C97.7,58.2,97.6,57.1,97.4,56z"></path></g><path class="prompted_sign_in__st2" d="M71.6,49.9c7.9-4.6,8-3.4,8.5,6.4c2.8-7.3,5.8-8.8,9.6-1.8c-0.2-3.6,0.9-6.2,4.4-7.1\n            c-3.4-5.3-9.2-9.8-17.9-10.5c-1.1,1.3-3.2,2.5-6.2,2.4C76.9,42.4,76.8,44.8,71.6,49.9z"></path><path class="prompted_sign_in__st2" d="M62.7,68.7c-1.3-4.9-6.6-3.1-6.6-3.1s5.4-3.2,2.8-7.3c-2.2-3.5-6.8-2.7-9.6,0.4c-0.1,0.7-0.1,1.4-0.1,2.1\n            c0,7.2,3.3,12.3,6.3,15.5C59,75.8,63.9,73.1,62.7,68.7z"></path><g><path class="prompted_sign_in__st0" d="M93.2,100.4L91,94.5c-2,0.3-3.3,1.5-3.3,3.6C87.7,100.8,91,101.1,93.2,100.4z"></path></g><g><rect x="61.6" y="96.6" transform="matrix(0.8899 -0.4562 0.4562 0.8899 -40.2344 39.5879)" class="prompted_sign_in__st0" width="0.6" height="13.1"></rect><rect x="63.1" y="94.8" transform="matrix(0.1617 -0.9868 0.9868 0.1617 -47.4622 148.1004)" class="prompted_sign_in__st0" width="0.6" height="14.3"></rect><rect x="54.9" y="100.5" transform="matrix(0.7934 -0.6087 0.6087 0.7934 -48.5428 58.5709)" class="prompted_sign_in__st0" width="14.2" height="0.6"></rect><rect x="54.5" y="102.1" transform="matrix(0.2324 -0.9726 0.9726 0.2324 -52.8566 137.7879)" class="prompted_sign_in__st0" width="12.8" height="0.6"></rect></g><path class="prompted_sign_in__st1" d="M71.8,67.5c-0.5,0-1-0.1-1.5-0.4c-0.7-0.4-1.3-1.1-1.5-1.9c-0.2-0.8-0.2-1.7,0.2-2.4h0c0.8-1.5,2.6-2,4.3-1.3\n            c0.8,0.3,1.4,0.9,1.6,1.7c0.3,0.8,0.2,1.8-0.3,2.6c-0.4,0.7-1.1,1.3-1.9,1.5C72.4,67.5,72.1,67.5,71.8,67.5z M71.8,61.8\n            c-1,0-1.8,0.5-2.3,1.3h0c-0.3,0.6-0.4,1.3-0.2,2c0.2,0.7,0.6,1.2,1.3,1.5c0.6,0.3,1.3,0.4,2,0.2c0.7-0.2,1.2-0.6,1.5-1.3\n            c0.4-0.7,0.5-1.5,0.2-2.2c-0.2-0.6-0.6-1-1.3-1.3C72.6,61.9,72.2,61.8,71.8,61.8z"></path><g><path class="prompted_sign_in__st0" d="M55.2,44.8l3.9,2.6V53l2.9-3.6l3.3,1.9l-1.4-3.4l2.6-1.6l-4.3-1l-2-4.6c-0.3,0.2-0.5,0.3-0.7,0.5v3.9\n              l-4.1-0.4C55.3,44.6,55.2,44.7,55.2,44.8z"></path></g><g><path class="prompted_sign_in__st2" d="M99.9,118.4C99.9,118.4,99.9,118.4,99.9,118.4C99.9,118.4,99.9,118.4,99.9,118.4\n              C99.9,118.4,99.9,118.4,99.9,118.4C99.9,118.4,99.9,118.4,99.9,118.4z"></path><path class="prompted_sign_in__st2" d="M74.9,118.8C74.9,118.8,74.9,118.8,74.9,118.8C74.9,118.8,74.9,118.8,74.9,118.8\n              C74.9,118.8,74.9,118.8,74.9,118.8C74.9,118.8,74.9,118.8,74.9,118.8z"></path><path class="prompted_sign_in__st2" d="M81.8,121.2c1.4-0.6,2.8-1.3,4.3-1.8c1.7-0.7,3.5-1.3,5.3-2c2.4-0.8,4.8-1.6,7.2-2.4l-0.1-0.3\n              c-0.8,0.3-1.6,0.5-2.4,0.8c-1.4,0.5-2.8,1-4.3,1.5c-1.1,0.4-2.1,0.8-3.1,1.2c-1,0.4-2.1,0.8-3.1,1.2c-0.4,0.2-0.7,0.4-1.1,0.6\n              c-0.8,0.4-1.6,0.7-2.4,1.1c-0.6,0.3-1.2,0.5-1.8,0.7c-0.2,0.1-0.3,0.2-0.5,0.2c0.2-0.3,0.6-0.3,0.8-0.4c0.3-0.2,0.6-0.3,0.9-0.4\n              c0.3-0.1,0.6-0.3,0.9-0.4c0.3-0.1,0.6-0.3,0.9-0.4c-0.1,0-0.1,0-0.2,0l0,0c-0.2,0.2-0.4,0.2-0.7,0.3c-0.3,0.2-0.6,0.3-0.9,0.4\n              c-0.1,0-0.2,0.1-0.3,0.1c0,0,0,0,0-0.1c0.3-0.1,0.6-0.3,1-0.5c-0.1,0-0.2,0-0.3,0c-0.1-0.1-0.1-0.1-0.2,0\n              c-0.3,0.2-0.7,0.3-1.1,0.4c0,0,0,0-0.1,0c-0.4,0.3-0.9,0.4-1.4,0.6c-0.5,0.2-0.9,0.4-1.4,0.6c-0.2,0.1-0.3,0.1-0.5,0.1\n              c0,0,0,0,0,0c0,0,0,0,0,0c-0.1,0.1-0.1,0.1-0.2,0.2c0-0.2,0.1-0.2,0.2-0.2c0,0,0,0,0,0c0,0,0,0,0,0c0.4-0.2,0.9-0.5,1.3-0.7\n              c1.3-0.5,2.5-1.1,3.8-1.6c2.2-0.9,4.5-1.8,6.8-2.6c2.9-1,5.8-2,8.8-2.9c0.1,0,0.2-0.1,0.4-0.1l-0.1-0.1c-0.2,0.1-0.4,0.1-0.6,0.2\n              c-0.1,0-0.2,0-0.3,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0-0.1,0.1-0.1,0.1c-0.9,0.3-1.9,0.6-2.8,0.9c0,0,0,0-0.1,0c1.1-0.4,2.1-0.7,3.1-1\n              c0,0,0,0,0,0c0,0,0,0,0,0c0.3-0.1,0.6-0.2,0.8-0.3c0,0,0,0,0,0l-0.1-0.2c-0.5,0.2-1,0.3-1.5,0.5c-0.9,0.3-1.8,0.6-2.8,0.9\n              c-0.8,0.3-1.6,0.6-2.3,0.8c-0.1,0.1-0.3,0.1-0.4,0c0,0,0,0,0,0c0,0,0,0-0.1,0c-0.1,0-0.2,0.1-0.3,0.1c0,0,0,0,0-0.1\n              c0.1,0,0.2,0,0.3,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0.2-0.1,0.4-0.2,0.6-0.3c0.7-0.3,1.5-0.5,2.2-0.7c1.1-0.4,2.2-0.7,3.3-1.1\n              c0.3-0.1,0.6-0.2,0.9-0.3l-0.1-0.4c-1.1,0.3-2.1,0.7-3.2,1c-1.5,0.5-2.9,1-4.4,1.6c-1.2,0.4-2.5,0.9-3.7,1.4\n              c-1.7,0.7-3.4,1.4-5.1,2.1c-1.5,0.6-2.9,1.3-4.4,1.9c-0.5,0.2-0.9,0.4-1.4,0.6c0,0,0,0,0,0c0,0,0,0,0,0c-0.2,0.1-0.3,0.2-0.5,0.3\n              c0.2-0.2,0.2-0.2,0.5-0.3c0,0,0,0,0,0c0,0,0,0,0,0c0.1-0.1,0.2-0.2,0.3-0.2c0.8-0.4,1.7-0.8,2.5-1.2c0.5-0.2,0.9-0.5,1.4-0.7\n              c0.8-0.3,1.5-0.7,2.3-1c0.9-0.4,1.9-0.8,2.8-1.1c2.1-0.8,4.1-1.6,6.2-2.3c1.4-0.5,2.8-1,4.2-1.4c0.8-0.3,1.6-0.5,2.5-0.8l-0.9-2.4\n              c0,0-0.1,0-0.1,0c-0.2-0.1-0.4,0.1-0.6,0.1c-0.1,0-0.2,0-0.3,0.1c-0.2,0.2-0.5,0.2-0.8,0.3c-0.3,0.1-0.4,0-0.4-0.3\n              c-0.2-0.1-0.4,0.1-0.6-0.1c-0.2,0.1-0.4,0-0.5,0c0,0-0.1,0-0.1,0.1c-0.1,0-0.1,0.1-0.2,0.1c-0.1,0-0.2,0.1-0.2,0.1\n              c0.1,0.4,0,0.4-0.3,0.7c0,0-0.1-0.1-0.1-0.1c0.1-0.1,0.3,0,0.3-0.2c-0.3,0-0.6,0.2-0.9,0c0,0.1-0.1,0.1-0.1,0.2\n              c-0.2-0.1-0.3-0.2-0.5-0.2c-0.2,0-0.4,0.2-0.6,0.3c0.2,0.1,0.4,0.2,0.5,0.2c0,0.1-0.1,0.1-0.1,0.2c0,0.1-0.1,0.1-0.1,0.1\n              c0,0.2-0.1,0.2-0.3,0.3c-0.4,0.1-0.8,0.3-1.2,0.4c-0.1-0.1-0.2-0.2-0.1-0.3c0.1-0.3-0.2-0.3-0.3-0.5c-0.1,0.2-0.2,0.3-0.3,0.5\n              c-0.1-0.1-0.1-0.1-0.2-0.2c0,0,0,0,0,0c-0.1-0.1-0.2-0.1-0.4,0c-0.2,0.1-0.3,0.1-0.5,0.2c0,0.3-0.1,0.5-0.5,0.5c0,0,0-0.1,0-0.1\n              c-0.1-0.1-0.2-0.1-0.3-0.2c-0.1,0-0.2,0-0.2,0c-0.1,0.1-0.2,0.2-0.4,0.3c-0.1,0-0.2,0.2-0.4,0c0,0-0.1,0-0.2,0.1\n              c-0.1,0.1-0.1,0.1-0.2,0.2c0,0,0.1,0,0.1,0.1c0,0,0,0,0.1,0.1c-0.8-0.3-1.3,0.3-1.8,0.6c0,0-0.1-0.1-0.2-0.1\n              c-0.1,0-0.1,0.1-0.2,0.1c0,0.1,0,0.1,0.1,0.2c-0.2-0.1-0.3-0.2-0.5-0.3c-0.1,0.1-0.2,0.2-0.2,0.3c0,0,0,0,0,0\n              c0.1,0,0.2-0.1,0.4-0.2c0,0.1-0.1,0.2-0.1,0.2c-0.2,0-0.4,0.4-0.6,0.3c-0.3,0.2-0.7,0.3-1.1,0.5c-0.4,0.2-0.9,0.4-1.3,0.6\n              c-0.2,0.1-0.4,0.2-0.6,0.3c-0.2,0.1-0.4,0.2-0.6,0.3c-0.1,0.1-0.2,0.1-0.3,0.1c0,0,0-0.1-0.1-0.1c0.1-0.1,0.1-0.1,0.2-0.2\n              c0.1-0.1,0.1-0.1,0.2-0.2c0.1-0.1,0.2-0.2,0.3-0.2c0.6-0.3,1.1-0.5,1.7-0.8c0.1,0,0.2-0.1,0.3-0.2c-0.1,0-0.2,0.1-0.2,0\n              c-0.1-0.1-0.2-0.1-0.3,0c-0.6,0.2-1.2,0.4-1.7,0.6c-1.3,0.6-2.6,1.3-3.9,1.9c-1.1,0.6-2.2,1.2-3.3,1.8c-0.1,0-0.1,0.1-0.2,0.1\n              c0.1-0.1,0.1-0.2,0.2-0.2c0.3-0.2,0.7-0.4,1-0.6c0.5-0.3,0.9-0.6,1.4-0.8c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0c0.1,0,0.1-0.1,0.2-0.1\n              c0,0,0,0.1,0.1,0.1c0-0.2,0.2-0.3,0.4-0.4c1-0.6,2.1-1.1,3.1-1.7c0.1-0.1,0.3-0.2,0.4-0.2c-0.1,0-0.2,0-0.3,0c0,0,0-0.1,0-0.1\n              c-0.3,0.1-0.6,0.3-0.8,0.4c-1.3,0.7-2.6,1.4-3.9,2.1c-0.1,0-0.1,0-0.2,0.1c0.9-0.6,1.9-1.2,2.9-1.8c1-0.6,2-1.1,3-1.6\n              c-2,0.9-4,1.9-6,2.9c0,0,0-0.1,0-0.1c1.8-1,3.7-1.9,5.5-2.9c-0.1-0.1-0.2-0.1-0.3-0.1c0.2-0.3,0.7-0.3,0.9-0.6\n              c-0.2,0.1-0.4,0.1-0.6,0.2c-0.1,0-0.2,0.1-0.2,0c-0.1-0.2-0.2,0-0.3,0c-0.5,0.3-1.1,0.5-1.6,0.8c-1.1,0.6-2.2,1.1-3.3,1.7\n              c-0.7,0.4-1.4,0.7-2.1,1.1c-0.3,0.2-0.7,0.3-1,0.5c-0.7,0.4-1.5,0.8-2.2,1.2c-0.2,0.1-0.4,0.2-0.5,0.3c0-0.1,0.1-0.1,0.1-0.1\n              c1.4-0.8,2.8-1.6,4.2-2.4c0.9-0.5,1.9-1,2.8-1.6c0.1-0.1,0.2-0.1,0.3-0.3c-1.9,0.9-3.7,1.9-5.6,2.9c0.1-0.1,0.2-0.2,0.3-0.2\n              c1.3-0.7,2.6-1.4,3.9-2.2c0.9-0.5,1.7-0.9,2.6-1.4c0.3-0.2,0.5-0.4,0.7-0.5c0.4-0.2,0.8-0.4,1.2-0.6c0.2-0.1,0.4-0.2,0.6-0.3\n              c0,0,0,0,0-0.1c-0.1,0-0.1,0-0.2,0c0,0,0,0,0-0.1c0.7-0.3,1.4-0.7,2.1-1c-0.1,0-0.1,0-0.1,0c-1.2,0.4-2.4,1-3.5,1.6\n              c-0.7,0.4-1.4,0.8-2.1,1.2c-0.5,0.3-1.1,0.5-1.6,0.8c-1.5,0.8-3.1,1.6-4.6,2.4c-0.2,0.1-0.4,0.2-0.6,0.3c0,0,0,0,0-0.1\n              c0.5-0.3,1.1-0.7,1.6-1c0.6-0.3,1.1-0.6,1.7-0.9c0.1-0.1,0.3-0.1,0.3-0.2c0-0.3,0.2-0.3,0.3-0.4c0.3-0.2,0.5-0.3,0.8-0.5\n              c1.1-0.6,2.1-1.2,3.2-1.8c0.3-0.2,0.7-0.3,1-0.5c-0.1,0-0.1,0-0.2,0c-0.4,0.2-0.7,0.3-1.1,0.5c-1.6,0.9-3.3,1.8-4.9,2.6\n              c-0.4,0.2-0.8,0.5-1.2,0.7c-0.1,0.1-0.2,0.1-0.3,0.2c0,0,0,0,0-0.1c0.1,0,0.1-0.1,0.2-0.1c0.6-0.5,1.3-0.9,2-1.2\n              c1.5-0.8,3.1-1.6,4.7-2.4c0.3-0.1,0.5-0.3,0.8-0.5c-0.1,0-0.2,0.1-0.4,0.1c-0.1,0-0.2,0.1-0.3,0.1c-0.1,0-0.2,0-0.3,0.1\n              c-0.7,0.4-1.5,0.8-2.2,1.1c-0.1,0-0.2,0.1-0.2,0.1c0,0,0,0,0-0.1c0.3-0.3,0.7-0.4,1.1-0.6c0.4-0.2,0.8-0.4,1.1-0.6c0,0,0,0,0-0.1\n              c-2.5,1.2-4.8,2.6-7.4,3.8c0.3-0.2,0.6-0.4,0.9-0.6c0,0,0,0,0,0c-0.2,0.1-0.3,0.1-0.5,0.2c0,0,0,0,0,0c0,0,0,0,0,0\n              c-0.1,0.1-0.2,0.1-0.3,0.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0.2-0.2,0.2-0.3,0.2c0-0.1,0.2-0.2,0.3-0.2c0,0,0,0,0,0c0,0,0,0,0,0\n              c0.1,0,0.2-0.1,0.3-0.1c0,0,0,0,0,0c0,0,0,0,0,0c0.1-0.1,0.2-0.2,0.3-0.3c1.3-0.7,2.6-1.4,3.9-2.1c0.4-0.2,0.7-0.4,1.1-0.6\n              c0.1,0,0.1-0.1,0-0.1c-0.1,0-0.1,0.1-0.2,0.1c-0.1,0.1-0.3,0.1-0.4,0.1c0,0,0,0,0,0c0,0,0,0,0,0c-0.1,0.3-0.3,0.3-0.6,0.4\n              c0.1-0.2,0.1-0.2,0.6-0.4c0,0,0,0,0,0c0,0,0,0,0,0c0.1-0.1,0.2-0.1,0.3-0.2c0.1,0,0.2,0,0.3,0c0-0.1,0.1-0.2,0.2-0.2\n              c0.3-0.2,0.6-0.3,0.9-0.5c0.6-0.3,1.1-0.6,1.6-1c0.1,0,0.1-0.1,0.1-0.1c0,0,0,0,0-0.1c-0.7,0.4-1.5,0.7-2.2,1.1\n              c0-0.1,0.1-0.1,0.2-0.2c1-0.5,2-1.1,3-1.6c0.2-0.1,0.3-0.2,0.4-0.3c0,0,0,0,0-0.1c-0.2,0.1-0.4,0.2-0.6,0.3\n              c-0.5,0.2-0.9,0.4-1.4,0.6c-1.3,0.7-2.7,1.4-4,2.2c-0.4,0.2-0.9,0.5-1.3,0.8c0,0,0,0,0,0c0,0,0,0,0,0c-0.2,0.1-0.3,0.2-0.5,0.3\n              c0,0,0,0,0,0c0,0,0,0,0,0c-0.1,0.1-0.2,0.1-0.4,0.2c0,0,0,0,0,0c0,0,0,0,0,0c-0.1,0.1-0.2,0.2-0.3,0.2c0.1-0.2,0.1-0.2,0.3-0.2\n              c0,0,0,0,0,0c0,0,0,0,0,0c0.1-0.2,0.2-0.2,0.4-0.2c0,0,0,0,0,0c0,0,0,0,0,0c0.1-0.2,0.2-0.3,0.5-0.3c0,0,0,0,0,0c0,0,0,0,0,0\n              c0-0.1,0.3-0.5,0.4-0.6c0.8-0.4,1.6-0.9,2.4-1.3c0.1-0.1,0.3-0.2,0.3-0.3c0-0.1,0.1-0.3,0.3-0.3c0.3-0.1,0.4-0.4,0.8-0.3\n              c0.3-0.1,0.5-0.2,0.8-0.4c0.1-0.1,0-0.1-0.1-0.1c0,0,0,0,0,0c0,0,0,0,0,0c-0.1,0.1-0.2,0.2-0.3,0.2c0,0,0,0,0-0.1\n              c0.1-0.1,0.2-0.2,0.4-0.2c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0.1-0.1,0.1-0.1c0.2,0.1,0.3-0.2,0.5-0.2c0-0.2,0.2-0.2,0.4-0.3\n              c0.2-0.1,0.3-0.2,0.5-0.3c0,0,0.1-0.1,0.1-0.1c0-0.2,0.2-0.3,0.3-0.3c1.5-0.7,3.1-1.4,4.6-2.1c0.2-0.1,0.4-0.2,0.6-0.3\n              c0,0,0,0,0-0.1c-0.1,0-0.1,0-0.2,0c-0.3,0.1-0.5,0.2-0.8,0.3c-0.4,0.1-0.7,0.3-1.1,0.4c-0.2,0.1-0.4,0.1-0.6,0.2\n              c-1.1,0.5-2.2,1-3.3,1.6c-0.5,0.3-1.1,0.5-1.6,0.8c-0.5,0.3-1.1,0.5-1.6,0.8c-0.5,0.3-1.1,0.5-1.6,0.9c-0.4,0.2-0.8,0.4-1.1,0.7\n              c-0.6,0.4-1.2,0.8-1.8,1.3c0,0-0.1,0.1-0.1,0.2c0.1,0,0.1,0,0.3,0c-0.1,0.1-0.2,0.1-0.2,0.1c-0.8,0.5-1.7,0.9-2.4,1.6\n              c-0.4,0.4-0.9,0.8-1.3,1.2c-0.3,0.3-0.5,0.6-0.8,0.9c-0.4,0.4-0.6,0.8-1,1.2c-0.1,0.1-0.1,0.3-0.2,0.4c-0.2,0.3-0.4,0.5-0.5,0.8\n              c-0.2,0-0.4,0.1-0.6,0.1c0,0,0-0.1,0-0.2c0-0.1,0-0.1,0.1-0.2c-0.3-0.1-0.4,0-0.3,0.3c0,0.1,0.1,0.3,0,0.4\n              c-0.1-0.1-0.2-0.2-0.3-0.3c-0.1,0.1-0.2,0.2-0.2,0.3c0,0.3,0.3,0.2,0.5,0.3c0,0.1,0,0.2,0,0.3c0.2,0,0.3,0.1,0.2,0.3\n              c0,0.2-0.2,0.2-0.3,0.2c0-0.1,0.1-0.3-0.1-0.4c-0.1-0.2-0.2-0.4-0.3-0.5c-0.1-0.1-0.1-0.2-0.2-0.2c-0.1,0.1-0.1,0.3-0.2,0.3\n              c-0.1,0-0.2,0-0.3,0c0,0.1,0.1,0.2,0.1,0.3c-0.1,0-0.1,0.1-0.1,0.1c-0.1,0.4-0.4,0.6-0.5,0.9c-0.1,0.3-0.1,0.6-0.1,1h18.3\n              C79.2,122.4,80.5,121.8,81.8,121.2z M80.2,121.3C80.2,121.3,80.2,121.4,80.2,121.3c0,0.1-0.1,0.1-0.1,0.1c0,0,0,0,0-0.1\n              C80.1,121.4,80.1,121.3,80.2,121.3z M93.3,115.7C93.4,115.7,93.4,115.7,93.3,115.7c-0.3,0.2-0.6,0.3-1,0.4c0,0,0,0,0,0\n              C92.7,115.9,93,115.8,93.3,115.7z M91.7,116.2C91.7,116.3,91.8,116.3,91.7,116.2c-0.1,0.1-0.2,0.1-0.3,0.2c0,0,0,0,0-0.1\n              C91.5,116.3,91.6,116.3,91.7,116.2z M89.6,116.6c0.1,0,0.3,0,0.4,0c0.1-0.2,0.3-0.2,0.5-0.2c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0\n              c0,0,0,0,0,0.1c-0.1,0-0.2,0.1-0.3,0.1l0,0c-0.4,0.2-0.8,0.3-1.2,0.5c0,0,0,0,0-0.1C89.4,116.8,89.4,116.6,89.6,116.6z\n               M78.4,121.3c1.2-0.5,2.4-1.1,3.6-1.6c0.5-0.2,1-0.4,1.4-0.5c0.6-0.3,1.3-0.5,1.9-0.8c0.7-0.3,1.3-0.5,2-0.8\n              c0.1,0,0.2-0.1,0.2-0.1c0,0,0,0-0.1-0.1c0.1,0,0.1-0.1,0.2-0.1c0,0,0,0,0,0c0,0-0.1,0.1-0.1,0.1c0.3-0.1,0.5-0.2,0.8-0.3\n              c0.1,0,0.2-0.2,0.3-0.2c0,0.2,0.2,0.1,0.3,0.1c-1,0.4-1.9,0.8-2.9,1.2c-0.1,0-2.7,1.1-2.9,1.2c-1,0.4-2,0.8-2.9,1.2\n              c-1,0.4-1.9,0.8-2.9,1.1C77.6,121.6,78,121.4,78.4,121.3z M93.7,111C93.7,111.1,93.8,111.1,93.7,111c0.1,0.1,0.2,0.2,0.2,0.4\n              c-0.1,0-0.2-0.1-0.3-0.2C93.6,111.2,93.7,111.1,93.7,111z M88.1,112.8c0.1,0.1,0.3,0.2,0.4,0.3c0,0,0,0,0,0c0,0,0,0,0,0\n              c0.1,0,0.2-0.2,0.3-0.1c0.1,0,0.1-0.1,0.2-0.2c0.2,0.1,0.2,0.2,0.1,0.4c-0.2,0-0.4,0-0.7,0.1c0-0.1,0-0.1,0-0.2c0,0,0,0,0,0\n              c0,0,0,0,0,0c-0.1,0-0.3,0-0.4,0C88.1,113,88.1,112.9,88.1,112.8z M85.3,114.5c0,0.2-0.1,0.2-0.2,0.1\n              C85.2,114.6,85.2,114.6,85.3,114.5z M78.6,117.1c-0.1,0.1-0.3,0.1-0.4,0.3C78.3,117.1,78.4,117,78.6,117.1z M75.9,118.2\n              C76,118.2,76,118.3,75.9,118.2c-0.1,0.1-0.2,0.2-0.3,0.2c0,0,0,0,0-0.1C75.7,118.3,75.8,118.3,75.9,118.2z M77.3,115.2\n              C77.3,115.2,77.3,115.2,77.3,115.2C77.3,115.2,77.3,115.2,77.3,115.2c0.2-0.1,0.3-0.3,0.5-0.4c0,0.1,0.1,0.2,0.1,0.3\n              C77.9,115.1,77.6,115.2,77.3,115.2C77.3,115.2,77.3,115.2,77.3,115.2C77.3,115.2,77.3,115.2,77.3,115.2c0.1,0.2-0.1,0.2-0.2,0.2\n              C77.2,115.3,77.1,115.1,77.3,115.2z M75.9,115.9C75.9,115.9,75.9,115.9,75.9,115.9c0,0.1,0,0.1,0,0.2c0,0,0,0-0.1,0\n              C75.8,116,75.8,115.9,75.9,115.9z M74.9,116.4C74.9,116.4,74.9,116.5,74.9,116.4c0,0.1-0.1,0.1-0.1,0.1c0,0,0,0,0,0\n              C74.8,116.5,74.9,116.5,74.9,116.4z M73.1,118.4C73.1,118.4,73.1,118.4,73.1,118.4c0,0.1-0.1,0.1-0.2,0.2c0,0,0,0,0-0.1\n              C72.9,118.5,73,118.4,73.1,118.4z M73.3,115.7C73.3,115.7,73.3,115.7,73.3,115.7c0,0.1-0.1,0.1-0.2,0.2c0,0,0,0,0,0\n              C73.2,115.8,73.2,115.8,73.3,115.7z M72.8,114.3c0,0,0.1,0,0.1-0.1c0,0,0,0,0,0c-0.1,0.1-0.2,0.1-0.2,0.2c0,0,0,0,0,0\n              C72.7,114.3,72.7,114.3,72.8,114.3z M70.8,114.2C70.8,114.2,70.8,114.3,70.8,114.2c-0.1,0.1-0.1,0.1-0.2,0.2c0,0,0,0,0-0.1\n              C70.6,114.3,70.7,114.2,70.8,114.2z M70.1,114.5C70.1,114.5,70.2,114.6,70.1,114.5c0,0.1-0.1,0.1-0.2,0.2c0,0,0,0,0-0.1\n              C70,114.6,70.1,114.6,70.1,114.5z M69.5,114.9C69.5,114.9,69.5,114.9,69.5,114.9c0,0.1-0.1,0.1-0.2,0.2c0,0,0,0,0,0\n              C69.4,115,69.4,114.9,69.5,114.9z M69.6,113.5C69.6,113.5,69.6,113.5,69.6,113.5C69.6,113.5,69.6,113.5,69.6,113.5\n              c0.1-0.1,0.1-0.1,0.1-0.2c0,0,0,0,0.1,0.1C69.7,113.5,69.7,113.5,69.6,113.5C69.6,113.5,69.6,113.5,69.6,113.5\n              C69.6,113.5,69.6,113.5,69.6,113.5c-0.2,0.1-0.3,0.2-0.5,0.4C69.2,113.6,69.3,113.6,69.6,113.5z M62,121.1c-0.2,0-0.2-0.3-0.3-0.4\n              C62,120.7,62.1,120.9,62,121.1z M62.1,120.6c0,0,0-0.1,0-0.1c0,0,0,0,0.1,0C62.2,120.5,62.2,120.5,62.1,120.6\n              C62.2,120.6,62.2,120.6,62.1,120.6z M72.1,120.3C72.1,120.3,72.1,120.3,72.1,120.3c0-0.1,0.1-0.1,0.2-0.2c0,0,0,0,0,0\n              C72.2,120.2,72.2,120.3,72.1,120.3z M72.8,119.9C72.8,119.9,72.8,119.9,72.8,119.9c0.1-0.1,0.1-0.1,0.2-0.2c0,0,0,0,0,0.1\n              C73,119.8,72.9,119.9,72.8,119.9z M73.6,119.5C73.6,119.5,73.6,119.4,73.6,119.5c0.2-0.2,0.5-0.3,0.7-0.5c0,0,0,0,0,0.1\n              C74.1,119.2,73.9,119.3,73.6,119.5z M74.9,118.8C74.9,118.8,74.9,118.8,74.9,118.8C74.9,118.8,74.9,118.8,74.9,118.8\n              c0.1-0.1,0.2-0.2,0.3-0.3c0,0,0,0.1,0.1,0.1C75.1,118.7,75,118.7,74.9,118.8C74.9,118.8,74.9,118.8,74.9,118.8\n              C74.9,118.8,74.9,118.8,74.9,118.8c-0.1,0-0.1,0.1-0.2,0.1C74.7,118.8,74.8,118.8,74.9,118.8z M74.8,122.4\n              C74.8,122.4,74.8,122.4,74.8,122.4c0-0.1,0.1-0.1,0.1-0.1c0,0,0,0,0,0.1C74.9,122.3,74.9,122.4,74.8,122.4z M79.5,122\n              c-0.7,0.3-1.3,0.6-2,0.9C77.7,122.7,79,122.1,79.5,122z"></path><path class="prompted_sign_in__st2" d="M69.6,113.5C69.6,113.5,69.6,113.5,69.6,113.5C69.6,113.5,69.6,113.5,69.6,113.5\n              C69.6,113.5,69.6,113.5,69.6,113.5C69.6,113.5,69.6,113.5,69.6,113.5z"></path><path class="prompted_sign_in__st2" d="M88.5,113.1C88.5,113.1,88.5,113.1,88.5,113.1C88.5,113.1,88.5,113.1,88.5,113.1\n              C88.5,113.1,88.5,113.1,88.5,113.1C88.5,113.1,88.5,113.1,88.5,113.1z"></path><path class="prompted_sign_in__st2" d="M77.3,115.2C77.3,115.2,77.3,115.2,77.3,115.2C77.3,115.2,77.3,115.2,77.3,115.2\n              C77.3,115.2,77.3,115.2,77.3,115.2C77.3,115.2,77.3,115.2,77.3,115.2z"></path><path class="prompted_sign_in__st2" d="M91.7,123c0.2-0.1,0.4-0.1,0.7-0.2c0,0.1-0.1,0.2-0.2,0.2h9.3l-1.7-4.6c-0.2,0.1-0.4,0.1-0.7,0.2\n              c0.2-0.1,0.4-0.2,0.6-0.2l-0.1-0.3c-4.7,1.5-9.3,3.1-13.9,4.9H91.7z M98.7,118.7C98.7,118.7,98.7,118.7,98.7,118.7\n              c-0.1,0.1-0.2,0.1-0.2,0.1c0,0,0,0,0,0C98.5,118.7,98.6,118.7,98.7,118.7z M98,118.9C98,118.9,98,118.9,98,118.9\n              c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0.1-0.3,0.1-0.5,0.2c0,0,0,0,0-0.1C97.3,119.1,97.7,119,98,118.9z M94.8,122.1\n              c-0.3,0.3-0.8,0.5-1.2,0.7c-0.1,0-0.1-0.1-0.2-0.1c0,0.1-0.1,0.1-0.1,0.2c-0.1-0.1-0.2-0.1-0.4-0.2\n              C93.6,122.4,94.2,122.2,94.8,122.1z M92.6,122.7c0.2,0.2,0.4-0.1,0.6,0.1c-0.1,0.2-0.2,0.1-0.3,0.1c-0.1,0-0.3,0-0.4,0\n              C92.5,122.8,92.5,122.8,92.6,122.7z"></path><path class="prompted_sign_in__st2" d="M96.1,110.7c0,0,0,0.1-0.1,0.1c0.4,0.1,0.5-0.3,0.7-0.3c0.1,0,0.1,0.1,0.2,0.1l-0.1-0.3c-0.1,0-0.2,0-0.3,0\n              C96.4,110.5,96.3,110.7,96.1,110.7z"></path><path class="prompted_sign_in__st2" d="M92.7,118.1c-0.4,0.1-0.7,0.3-1.1,0.5c0.1,0,0.2,0,0.3-0.1c1.1-0.3,2.1-0.7,3.1-1.1c0.5-0.2,1-0.4,1.6-0.5\n              c0.8-0.2,1.5-0.5,2.3-0.7l-0.1-0.1c-0.5,0.1-0.9,0.3-1.4,0.4C95.9,117,94.3,117.5,92.7,118.1z"></path><path class="prompted_sign_in__st2" d="M78.8,123H80c0,0,0.1,0,0.2,0c0,0,0,0,0,0c0,0,0,0,0,0c0.1-0.1,0.2-0.1,0.2-0.2c0.3-0.2,0.6-0.3,0.9-0.4\n              c0,0-0.1,0-0.1,0c0,0,0,0,0-0.1c0.1,0,0.2-0.1,0.3-0.1c0,0,0.1,0,0.1,0c0.1,0,0.2,0,0.3,0c0.1,0,0.3-0.1,0.4-0.2\n              c-0.1,0-0.1,0-0.2,0c0.1-0.1,0.1-0.2,0.2,0c0.1-0.1,0.1-0.2,0.2-0.2c0.6-0.3,1.2-0.5,1.8-0.7c0.4-0.1,0.8-0.3,1.2-0.4\n              c1.3-0.5,2.5-1,3.8-1.4c2.6-0.9,5.2-1.9,7.9-2.7c0.5-0.2,1.1-0.3,1.6-0.5l-0.1-0.2c-0.9,0.3-1.7,0.5-2.6,0.8\n              C90.3,118.5,84.5,120.6,78.8,123z M80.3,122.8C80.3,122.7,80.3,122.7,80.3,122.8c0-0.1,0.1-0.1,0.1-0.1c0,0,0,0,0,0\n              C80.4,122.7,80.4,122.7,80.3,122.8z M80.8,122.5C80.8,122.5,80.8,122.5,80.8,122.5c0-0.1,0.1-0.1,0.1-0.1c0,0,0,0,0,0\n              C80.9,122.5,80.8,122.5,80.8,122.5z"></path><path class="prompted_sign_in__st2" d="M83.1,120.9C83.1,120.9,83.1,120.9,83.1,120.9c0.3,0,0.6-0.1,0.9-0.3c1-0.4,2-0.8,2.9-1.2\n              c2.2-0.8,4.5-1.7,6.7-2.4c1.4-0.5,2.8-0.9,4.2-1.4c0.3-0.1,0.5-0.2,0.8-0.3l-0.1-0.2c-0.1,0-0.1,0-0.2,0\n              C93.3,116.9,88.1,118.7,83.1,120.9z"></path><path class="prompted_sign_in__st2" d="M91.6,118.5C91.6,118.5,91.6,118.5,91.6,118.5C91.6,118.5,91.6,118.5,91.6,118.5L91.6,118.5z"></path><polygon class="prompted_sign_in__st2" points="70,114.2 70,114.2 70,114.2 70,114.2 \t\t"></polygon><path class="prompted_sign_in__st2" d="M89.4,120.1c-1.4,0.5-2.8,1.1-4.3,1.7c-0.9,0.4-1.9,0.8-2.8,1.2h2.6c0,0,0,0,0.1,0c0,0,0,0,0,0h0.6\n              c0.5-0.2,0.9-0.4,1.4-0.6c1.2-0.5,2.5-1,3.7-1.4c0.6-0.2,1.2-0.4,1.8-0.6c0.6-0.2,1.1-0.4,1.7-0.6c1.5-0.5,2.9-1,4.4-1.5\n              c0.4-0.1,0.8-0.2,1.2-0.4l-0.1-0.2c-0.8,0.2-1.6,0.5-2.3,0.8c-1.9,0.7-3.9,1.4-5.8,2c-1.1,0.4-2.2,0.8-3.3,1.2\n              c-0.4,0.2-0.9,0.4-1.3,0.5c-0.1,0-0.2,0.1-0.3,0.1c0,0,0-0.1,0-0.1c0.1,0,0.2-0.1,0.2-0.1c0.3-0.1,0.6-0.3,1-0.4\n              c1-0.4,2-0.7,3-1.1c1-0.4,2.1-0.8,3.1-1.1c1.3-0.5,2.6-0.9,3.9-1.3c0.6-0.2,1.2-0.4,1.8-0.6l-0.3-0.8c-1.2,0.4-2.5,0.8-3.7,1.2\n              C93.5,118.6,91.4,119.4,89.4,120.1z M85.2,123c0-0.2,0-0.2,0.3-0.2C85.4,122.8,85.3,122.9,85.2,123z"></path><path class="prompted_sign_in__st2" d="M97.3,114.3C97.4,114.3,97.4,114.3,97.3,114.3C97.4,114.3,97.4,114.3,97.3,114.3\n              C97.4,114.3,97.4,114.3,97.3,114.3C97.4,114.3,97.4,114.3,97.3,114.3z"></path><polygon class="prompted_sign_in__st2" points="70.5,113.9 70.5,113.9 70.6,113.9 70.5,113.9 \t\t"></polygon><path class="prompted_sign_in__st2" d="M72.9,113.1C73,113.1,73,113.1,72.9,113.1C73,113.1,73,113.1,72.9,113.1C73,113.1,73,113.1,72.9,113.1\n              C73,113.1,73,113.1,72.9,113.1z"></path><path class="prompted_sign_in__st2" d="M91.1,116.1C91.1,116.1,91.1,116.1,91.1,116.1C91.2,116.1,91.2,116.1,91.1,116.1\n              C91.2,116.1,91.2,116.1,91.1,116.1C91.1,116.1,91.1,116.1,91.1,116.1z"></path><polygon class="prompted_sign_in__st2" points="68,116.1 68,116.1 68,116.1 68,116.1 \t\t"></polygon><path class="prompted_sign_in__st2" d="M68.3,116.1C68.3,116.1,68.3,116,68.3,116.1C68.3,116,68.3,116,68.3,116.1C68.3,116,68.3,116,68.3,116.1\n              C68.3,116,68.3,116,68.3,116.1z"></path><path class="prompted_sign_in__st2" d="M77.2,122.2C77.2,122.2,77.2,122.2,77.2,122.2C77.2,122.2,77.2,122.2,77.2,122.2\n              C77.2,122.2,77.2,122.2,77.2,122.2C77.2,122.2,77.2,122.2,77.2,122.2z"></path><path class="prompted_sign_in__st2" d="M69.6,114.4C69.6,114.4,69.6,114.4,69.6,114.4C69.7,114.4,69.7,114.4,69.6,114.4\n              C69.7,114.4,69.7,114.4,69.6,114.4C69.6,114.4,69.6,114.4,69.6,114.4z"></path><polygon class="prompted_sign_in__st2" points="78.2,115.7 78.2,115.8 78.2,115.8 \t\t"></polygon><path class="prompted_sign_in__st2" d="M76.6,112.6C76.6,112.6,76.6,112.6,76.6,112.6C76.6,112.6,76.6,112.6,76.6,112.6L76.6,112.6z"></path><path class="prompted_sign_in__st2" d="M81.5,115.3C81.5,115.3,81.5,115.3,81.5,115.3C81.5,115.3,81.5,115.3,81.5,115.3L81.5,115.3z"></path><path class="prompted_sign_in__st2" d="M75.7,121.9C75.7,121.9,75.7,121.9,75.7,121.9C75.7,121.9,75.7,121.9,75.7,121.9\n              C75.7,121.9,75.7,121.9,75.7,121.9C75.7,121.9,75.7,121.9,75.7,121.9z"></path><polygon class="prompted_sign_in__st2" points="68.6,114 68.6,114 68.5,114 \t\t"></polygon><polygon class="prompted_sign_in__st2" points="87.3,113.2 87.3,113.2 87.3,113.2 \t\t"></polygon><polygon class="prompted_sign_in__st2" points="96.1,110.7 96.1,110.7 96.1,110.7 \t\t"></polygon><path class="prompted_sign_in__st2" d="M82.4,122.1c-0.7,0.3-1.3,0.5-2,0.8c-0.1,0-0.1,0-0.2,0.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0h0.4\n              c0.5-0.2,1.1-0.5,1.6-0.7C82.3,122.3,82.3,122.2,82.4,122.1z"></path><path class="prompted_sign_in__st2" d="M82.8,122.5c0.6-0.3,1.2-0.5,1.8-0.7c0.8-0.3,1.7-0.7,2.5-1c1-0.4,2.1-0.8,3.1-1.2c0,0,0.1-0.1,0.1-0.1\n              c-0.4,0.1-0.7,0.3-1.1,0.4c-1.6,0.6-3.2,1.2-4.8,1.8c-1.1,0.4-2.1,0.9-3.2,1.3h0.7c0.2-0.1,0.4-0.2,0.5-0.3\n              C82.5,122.6,82.7,122.6,82.8,122.5z"></path><polygon class="prompted_sign_in__st2" points="90.3,119.5 90.3,119.5 90.3,119.5 \t\t"></polygon><path class="prompted_sign_in__st2" d="M80.2,123C80.2,123,80.2,123,80.2,123C80.2,123,80.2,123,80.2,123C80.2,123,80.2,123,80.2,123\n              C80.2,123,80.2,123,80.2,123z"></path><path class="prompted_sign_in__st2" d="M81.4,122.3C81.4,122.3,81.4,122.3,81.4,122.3C81.4,122.3,81.4,122.3,81.4,122.3L81.4,122.3z"></path><path class="prompted_sign_in__st2" d="M75.4,110.6C75.4,110.6,75.4,110.6,75.4,110.6C75.4,110.6,75.4,110.6,75.4,110.6\n              C75.4,110.6,75.4,110.6,75.4,110.6C75.4,110.6,75.4,110.6,75.4,110.6z"></path><path class="prompted_sign_in__st2" d="M82.4,122.1C82.4,122.1,82.4,122.1,82.4,122.1C82.4,122.1,82.4,122.1,82.4,122.1L82.4,122.1z"></path><path class="prompted_sign_in__st2" d="M79.7,107.6C79.7,107.6,79.7,107.6,79.7,107.6C79.7,107.6,79.7,107.6,79.7,107.6L79.7,107.6z"></path><path class="prompted_sign_in__st2" d="M73.2,110.9C73.2,110.9,73.2,110.9,73.2,110.9C73.2,110.9,73.2,110.9,73.2,110.9L73.2,110.9z"></path><path class="prompted_sign_in__st2" d="M75,110c1.5-0.7,2.9-1.5,4.4-2.2c0.1,0,0.2-0.1,0.3-0.2c-0.4,0.1-0.7,0.3-1.1,0.4c-0.6,0.2-1.2,0.7-1.9,0.8\n              c-0.2,0-0.3,0.2-0.5,0.3c-0.5,0.2-0.9,0.5-1.4,0.7c-0.4,0.2-0.7,0.4-1.1,0.6c-0.2,0.1-0.3,0.2-0.5,0.4c0.1,0,0.1,0,0.2-0.1\n              C74,110.6,74.5,110.3,75,110z"></path><path class="prompted_sign_in__st2" d="M82.7,114.4c1.2-0.5,2.4-1,3.6-1.5c0.2-0.1,0.4-0.2,0.5-0.2c0,0,0,0,0-0.1c-0.4,0.1-0.8,0.3-1.3,0.5\n              c-0.7,0.3-1.5,0.6-2.2,0.9c-0.4,0.2-0.9,0.4-1.3,0.7c0.1,0,0.2,0,0.3-0.1C82.4,114.5,82.5,114.4,82.7,114.4z"></path><path class="prompted_sign_in__st2" d="M81.9,114.6C82,114.6,82,114.6,81.9,114.6C82,114.6,81.9,114.6,81.9,114.6C81.9,114.6,81.9,114.6,81.9,114.6z\n              "></path><path class="prompted_sign_in__st2" d="M81.2,106.6c-0.1,0-0.1,0-0.1,0c-0.8,0.4-1.5,0.7-2.3,1.1c-0.1,0-0.2,0.1-0.1,0.2\n              C79.5,107.4,80.3,107,81.2,106.6z"></path><polygon class="prompted_sign_in__st2" points="78.7,107.8 78.7,107.8 78.7,107.8 \t\t"></polygon><path class="prompted_sign_in__st2" d="M75.7,112.6c0.7-0.3,1.3-0.6,2-1C77,111.8,76.3,112.2,75.7,112.6z"></path><path class="prompted_sign_in__st2" d="M78.3,115.7c0.5-0.2,1-0.5,1.5-0.7c0.1,0,0.2-0.1,0.2-0.2c-0.3,0.1-0.5,0.2-0.8,0.3c-0.4,0.2-0.7,0.4-1.1,0.6\n              C78.2,115.7,78.3,115.7,78.3,115.7z"></path><path class="prompted_sign_in__st2" d="M78.2,115.8C78.2,115.7,78.2,115.7,78.2,115.8C78.2,115.7,78.2,115.7,78.2,115.8\n              C78.2,115.7,78.2,115.8,78.2,115.8z"></path><path class="prompted_sign_in__st2" d="M62.4,119.3c-0.2,0.2-0.3,0.5-0.1,0.7C62.5,119.6,62.5,119.5,62.4,119.3z"></path><path class="prompted_sign_in__st2" d="M81,107c0.1,0,0.1-0.1,0.2-0.1c0,0,0,0,0-0.1c-0.5,0.2-0.9,0.5-1.4,0.7c0.1,0,0.1,0,0.2,0\n              C80.3,107.4,80.6,107.2,81,107z"></path><path class="prompted_sign_in__st2" d="M79.7,107.6C79.7,107.6,79.7,107.6,79.7,107.6C79.7,107.6,79.7,107.6,79.7,107.6\n              C79.7,107.6,79.7,107.6,79.7,107.6z"></path><path class="prompted_sign_in__st2" d="M79.5,111c-0.4,0.2-0.8,0.4-1.1,0.6C78.7,111.5,79.1,111.2,79.5,111C79.5,111,79.5,111,79.5,111z"></path><path class="prompted_sign_in__st2" d="M78.3,111.6C78.3,111.6,78.3,111.6,78.3,111.6C78.3,111.6,78.3,111.6,78.3,111.6L78.3,111.6z"></path><path class="prompted_sign_in__st2" d="M89.8,111.5c0.3-0.1,0.6-0.2,1-0.3C90.4,111.1,90.1,111.4,89.8,111.5z"></path><path class="prompted_sign_in__st2" d="M95.9,110.9c0-0.1,0-0.3-0.2-0.3c-0.1,0-0.2,0-0.3,0.2c0.1,0,0.2,0,0.2,0C95.6,110.9,95.6,110.9,95.9,110.9z"></path><path class="prompted_sign_in__st2" d="M95.1,110.7c0,0.1,0,0.2-0.1,0.3c0.2,0,0.3,0,0.5,0C95.3,110.9,95.2,110.8,95.1,110.7z"></path><path class="prompted_sign_in__st2" d="M61.1,119.8c-0.1,0.1-0.4,0.2-0.4,0.4C60.9,120.1,61,120,61.1,119.8z"></path><path class="prompted_sign_in__st2" d="M61.1,119.8C61.1,119.8,61.1,119.8,61.1,119.8C61.1,119.8,61.1,119.8,61.1,119.8L61.1,119.8z"></path><path class="prompted_sign_in__st2" d="M90.6,112.1c-0.1-0.1-0.1-0.2-0.2-0.3c-0.1,0-0.2,0.1-0.2,0.1C90.3,112.2,90.5,112,90.6,112.1z"></path><polygon class="prompted_sign_in__st2" points="96.1,110.7 96.1,110.7 96.1,110.7 \t\t"></polygon><path class="prompted_sign_in__st2" d="M96,110.3C96,110.3,96,110.3,96,110.3c-0.1,0.1-0.1,0.2-0.1,0.3c0.1,0,0.1,0.1,0.2,0.1\n              C96.2,110.4,96.2,110.4,96,110.3z"></path><path class="prompted_sign_in__st2" d="M81.9,106.6C81.9,106.6,81.9,106.6,81.9,106.6c-0.2,0-0.3,0.1-0.5,0.1c0,0,0,0,0,0.1\n              C81.6,106.7,81.8,106.7,81.9,106.6z"></path><path class="prompted_sign_in__st2" d="M81.1,115C81.1,115,81.1,115,81.1,115C81.1,115,81.1,115,81.1,115L81.1,115z"></path><path class="prompted_sign_in__st2" d="M80.7,115.3c0.1-0.1,0.3-0.1,0.4-0.3C80.9,115.1,80.8,115.2,80.7,115.3C80.6,115.3,80.6,115.3,80.7,115.3z"></path><path class="prompted_sign_in__st2" d="M61.4,119.6c-0.2,0-0.4,0-0.3,0.2C61.2,119.7,61.3,119.7,61.4,119.6z"></path><path class="prompted_sign_in__st2" d="M61.1,119.8C61.1,119.8,61.1,119.8,61.1,119.8C61.1,119.8,61.1,119.8,61.1,119.8\n              C61.1,119.8,61.1,119.8,61.1,119.8z"></path><path class="prompted_sign_in__st2" d="M89.4,110.7C89.4,110.7,89.4,110.6,89.4,110.7c-0.2,0-0.3,0-0.4,0.1c0,0,0,0,0,0.1\n              C89.1,110.8,89.3,110.7,89.4,110.7z"></path><path class="prompted_sign_in__st2" d="M81.5,115.3C81.5,115.3,81.5,115.3,81.5,115.3C81.5,115.3,81.5,115.3,81.5,115.3\n              C81.5,115.3,81.5,115.3,81.5,115.3z"></path><path class="prompted_sign_in__st2" d="M81.5,115.3c0.2,0,0.2,0,0.4-0.2C81.8,115.2,81.6,115.3,81.5,115.3z"></path><path class="prompted_sign_in__st2" d="M89.5,112.6c0.1,0,0.2,0.1,0.3,0.1C89.7,112.6,89.7,112.6,89.5,112.6z"></path><path class="prompted_sign_in__st2" d="M83.8,105.7c-0.1,0.1-0.3,0.1-0.4,0.2C83.5,105.9,83.7,105.9,83.8,105.7z"></path><path class="prompted_sign_in__st2" d="M83.8,105.7C83.8,105.7,83.8,105.7,83.8,105.7C83.8,105.7,83.8,105.7,83.8,105.7\n              C83.8,105.7,83.8,105.7,83.8,105.7z"></path><path class="prompted_sign_in__st2" d="M83.3,105.9C83.3,105.9,83.3,105.9,83.3,105.9C83.3,105.9,83.3,105.9,83.3,105.9L83.3,105.9z"></path><path class="prompted_sign_in__st2" d="M84.2,105.4c-0.1,0.1-0.3,0.2-0.4,0.2C84,105.7,84.2,105.7,84.2,105.4z"></path><polygon class="prompted_sign_in__st2" points="84.2,105.4 84.2,105.4 84.2,105.4 \t\t"></polygon><path class="prompted_sign_in__st2" d="M83.8,105.7C83.8,105.7,83.8,105.7,83.8,105.7C83.8,105.7,83.8,105.7,83.8,105.7\n              C83.8,105.7,83.8,105.7,83.8,105.7z"></path><path class="prompted_sign_in__st2" d="M91.6,102.8C91.5,102.8,91.5,102.8,91.6,102.8c-0.1-0.1-0.1,0-0.2,0c0,0,0,0,0,0.1\n              C91.5,102.9,91.5,102.9,91.6,102.8z"></path><path class="prompted_sign_in__st2" d="M78.3,111.6C78.2,111.6,78.2,111.6,78.3,111.6C78.2,111.6,78.3,111.6,78.3,111.6\n              C78.3,111.6,78.3,111.6,78.3,111.6z"></path><path class="prompted_sign_in__st2" d="M78,111.8c0.1-0.1,0.2-0.1,0.3-0.2C78.1,111.7,78,111.7,78,111.8C77.9,111.7,78,111.8,78,111.8z"></path><path class="prompted_sign_in__st2" d="M81.9,114.6C81.9,114.6,81.9,114.6,81.9,114.6c-0.1,0.1-0.3,0.1-0.4,0.2c0,0,0,0,0,0\n              C81.7,114.8,81.8,114.7,81.9,114.6z"></path><path class="prompted_sign_in__st2" d="M81.5,114.9C81.5,114.9,81.5,114.9,81.5,114.9C81.5,114.9,81.5,114.9,81.5,114.9\n              C81.5,114.9,81.5,114.9,81.5,114.9z"></path><path class="prompted_sign_in__st2" d="M81.1,115C81.1,115,81.1,115,81.1,115C81.1,115,81.1,115,81.1,115C81.1,115,81.1,115,81.1,115z"></path><path class="prompted_sign_in__st2" d="M81.5,114.9c-0.1,0.1-0.3,0.1-0.4,0.2C81.3,115.1,81.4,115,81.5,114.9z"></path><path class="prompted_sign_in__st2" d="M78.4,108c0.1,0,0.2-0.1,0.3-0.1C78.5,107.8,78.5,107.8,78.4,108z"></path><path class="prompted_sign_in__st2" d="M78.7,107.8C78.7,107.8,78.7,107.8,78.7,107.8C78.7,107.8,78.7,107.8,78.7,107.8\n              C78.7,107.8,78.7,107.8,78.7,107.8z"></path><path class="prompted_sign_in__st2" d="M83,106.1c0.1-0.1,0.2-0.1,0.3-0.2C83.2,106,83.1,106,83,106.1C83,106.1,83,106.1,83,106.1z"></path><path class="prompted_sign_in__st2" d="M83.3,105.9C83.3,105.9,83.3,105.9,83.3,105.9C83.3,105.9,83.3,105.9,83.3,105.9\n              C83.3,105.9,83.3,105.9,83.3,105.9z"></path><path class="prompted_sign_in__st2" d="M84.8,105.6C84.8,105.6,84.8,105.6,84.8,105.6c-0.1,0-0.1,0-0.2,0.1c0,0,0,0,0,0\n              C84.7,105.7,84.8,105.6,84.8,105.6z"></path><path class="prompted_sign_in__st2" d="M77.8,108.3C77.8,108.2,77.8,108.2,77.8,108.3c-0.1,0-0.2,0-0.2,0c0,0,0,0,0,0\n              C77.7,108.3,77.8,108.3,77.8,108.3z"></path><path class="prompted_sign_in__st2" d="M68.3,114.2c0.1-0.1,0.2-0.1,0.2-0.2C68.4,114.1,68.3,114.1,68.3,114.2z"></path><path class="prompted_sign_in__st2" d="M68.5,114C68.5,114,68.5,114,68.5,114C68.5,114,68.5,114,68.5,114C68.6,114,68.5,114,68.5,114z"></path><path class="prompted_sign_in__st2" d="M60.6,120.5c0,0,0,0-0.1-0.1c0,0.1-0.1,0.1-0.1,0.1C60.4,120.5,60.5,120.5,60.6,120.5\n              C60.5,120.5,60.5,120.5,60.6,120.5z"></path><path class="prompted_sign_in__st2" d="M83.3,106.6c0.1-0.1,0.1-0.1,0.2-0.1C83.3,106.4,83.3,106.4,83.3,106.6z"></path><path class="prompted_sign_in__st2" d="M72.9,111.1c0.1-0.1,0.2-0.1,0.2-0.2C73.1,110.9,73,111,72.9,111.1C72.9,111,72.9,111.1,72.9,111.1z"></path><path class="prompted_sign_in__st2" d="M73.2,110.9C73.2,110.9,73.2,110.9,73.2,110.9C73.2,110.9,73.2,110.9,73.2,110.9\n              C73.2,110.9,73.2,110.9,73.2,110.9z"></path><path class="prompted_sign_in__st2" d="M89.4,111.6C89.4,111.6,89.4,111.6,89.4,111.6c-0.1,0-0.2,0-0.2,0c0,0,0,0.1,0,0.1\n              C89.3,111.7,89.4,111.7,89.4,111.6z"></path><path class="prompted_sign_in__st2" d="M88.7,112.5c0,0,0,0.1,0,0.1c0,0,0.1,0,0.1,0C88.7,112.6,88.7,112.5,88.7,112.5z"></path><path class="prompted_sign_in__st2" d="M88.6,112.6C88.6,112.6,88.6,112.6,88.6,112.6C88.6,112.6,88.6,112.6,88.6,112.6\n              C88.6,112.6,88.6,112.6,88.6,112.6z"></path><polygon class="prompted_sign_in__st2" points="85.9,105 85.9,105 85.9,105 \t\t"></polygon><path class="prompted_sign_in__st2" d="M85.9,105.3c0-0.1,0-0.2,0-0.3c-0.1,0-0.1,0.1-0.2,0.1C85.8,105.1,85.8,105.2,85.9,105.3z"></path><path class="prompted_sign_in__st2" d="M85.5,104.5C85.5,104.5,85.5,104.5,85.5,104.5c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0\n              C85.4,104.6,85.5,104.5,85.5,104.5z"></path><path class="prompted_sign_in__st2" d="M86.3,104.2C86.3,104.1,86.3,104.1,86.3,104.2c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0.1\n              C86.2,104.2,86.3,104.2,86.3,104.2z"></path><path class="prompted_sign_in__st2" d="M90,103.4C89.9,103.4,89.9,103.4,90,103.4c-0.1,0-0.1,0-0.1,0.1C89.8,103.5,89.9,103.5,90,103.4\n              C89.9,103.5,89.9,103.5,90,103.4z"></path><path class="prompted_sign_in__st2" d="M93.6,102.1C93.6,102.1,93.6,102.1,93.6,102.1c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0.1\n              C93.5,102.2,93.5,102.2,93.6,102.1z"></path><path class="prompted_sign_in__st2" d="M83.6,106.2C83.6,106.2,83.6,106.1,83.6,106.2c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0.1\n              C83.5,106.2,83.6,106.2,83.6,106.2z"></path><path class="prompted_sign_in__st2" d="M82.6,106.6C82.6,106.6,82.6,106.6,82.6,106.6c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0.1\n              C82.5,106.7,82.6,106.6,82.6,106.6z"></path><polygon class="prompted_sign_in__st2" points="84.2,105.4 84.2,105.4 84.2,105.4 \t\t"></polygon><path class="prompted_sign_in__st2" d="M84.6,105.3C84.6,105.3,84.6,105.3,84.6,105.3C84.6,105.3,84.6,105.3,84.6,105.3L84.6,105.3z"></path><path class="prompted_sign_in__st2" d="M84.6,105.3c-0.1,0-0.2,0.1-0.4,0.1C84.4,105.5,84.5,105.5,84.6,105.3z"></path><path class="prompted_sign_in__st2" d="M84.6,105.3C84.6,105.3,84.6,105.3,84.6,105.3C84.6,105.3,84.6,105.3,84.6,105.3\n              C84.6,105.3,84.6,105.3,84.6,105.3z"></path><path class="prompted_sign_in__st2" d="M84.9,105.2c-0.1,0-0.2,0.1-0.2,0.1C84.7,105.3,84.8,105.3,84.9,105.2C84.9,105.3,84.9,105.2,84.9,105.2z"></path><polygon class="prompted_sign_in__st2" points="85.9,105 85.9,105 85.9,105 \t\t"></polygon><path class="prompted_sign_in__st2" d="M86.2,104.9c-0.1,0-0.2,0-0.3,0.1C86,105,86.1,105,86.2,104.9z"></path><path class="prompted_sign_in__st2" d="M88.6,110.9c-0.1,0-0.1,0.1-0.2,0.1C88.5,111,88.6,111,88.6,110.9C88.7,110.9,88.6,110.9,88.6,110.9z"></path><path class="prompted_sign_in__st2" d="M88.4,111C88.4,111,88.4,111,88.4,111C88.4,111,88.4,111,88.4,111L88.4,111z"></path><path class="prompted_sign_in__st2" d="M88.4,111C88.4,111,88.4,111,88.4,111C88.4,111.1,88.4,111,88.4,111C88.4,111,88.4,111,88.4,111z"></path><path class="prompted_sign_in__st2" d="M88.1,111.2c0.1,0,0.2-0.1,0.3-0.1C88.3,111.1,88.2,111.1,88.1,111.2C88.1,111.1,88.1,111.2,88.1,111.2z"></path><path class="prompted_sign_in__st2" d="M87.7,111.2c0,0-0.1,0.1-0.1,0.1C87.6,111.3,87.7,111.3,87.7,111.2C87.7,111.3,87.7,111.3,87.7,111.2z"></path><path class="prompted_sign_in__st2" d="M81.3,111.6C81.3,111.6,81.3,111.6,81.3,111.6c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0\n              C81.2,111.7,81.2,111.7,81.3,111.6z"></path><path class="prompted_sign_in__st2" d="M76.6,112.6c0.1,0,0.2,0,0.2-0.1C76.7,112.5,76.6,112.5,76.6,112.6z"></path><path class="prompted_sign_in__st2" d="M76.6,112.6C76.6,112.6,76.6,112.6,76.6,112.6C76.6,112.6,76.6,112.6,76.6,112.6\n              C76.6,112.6,76.6,112.6,76.6,112.6z"></path><path class="prompted_sign_in__st2" d="M87.3,113C87.3,113,87.3,113,87.3,113c-0.1,0.1-0.1,0.2-0.1,0.2C87.4,113.1,87.4,113.1,87.3,113z"></path><path class="prompted_sign_in__st2" d="M87.3,113.2C87.3,113.2,87.3,113.2,87.3,113.2C87.3,113.2,87.3,113.2,87.3,113.2\n              C87.3,113.2,87.3,113.2,87.3,113.2z"></path><path class="prompted_sign_in__st2" d="M81.6,122.2C81.6,122.2,81.6,122.2,81.6,122.2c-0.1,0.1-0.2,0.1-0.2,0.2C81.5,122.3,81.5,122.3,81.6,122.2\n              C81.6,122.3,81.6,122.2,81.6,122.2z"></path><path class="prompted_sign_in__st2" d="M81.4,122.3C81.4,122.3,81.4,122.3,81.4,122.3C81.4,122.3,81.4,122.3,81.4,122.3L81.4,122.3z"></path><polygon class="prompted_sign_in__st2" points="90.5,116.4 90.5,116.4 90.5,116.4 \t\t"></polygon><path class="prompted_sign_in__st2" d="M90.5,116.4c0,0,0.1-0.1,0.1-0.1c-0.1,0-0.1,0-0.2,0C90.4,116.4,90.3,116.5,90.5,116.4z"></path><path class="prompted_sign_in__st2" d="M98,116.6c-1,0.3-2,0.6-2.9,0.9c-1.3,0.4-2.6,0.9-3.8,1.3c-0.3,0.1-0.5,0.2-0.8,0c0,0.1,0,0.2,0,0.3\n              c-0.2,0.1-0.3,0.2-0.5,0.2c0.1-0.1,0.2-0.2,0.3-0.2c-0.4,0.1-0.9,0.2-1.2,0.5c0.1,0,0.1,0,0.2,0c0,0,0,0.1,0,0.1\n              c-0.2,0.1-0.3,0.1-0.5,0.2c0,0,0,0,0,0c0.1-0.1,0.2-0.2,0.3-0.2c-0.1,0-0.2,0-0.3,0c-0.6,0.2-1.1,0.4-1.7,0.7\n              c-0.6,0.2-1.2,0.5-1.8,0.7c-0.2,0.1-0.4,0.2-0.6,0.3c0.5,0,0.8-0.2,1.2-0.3c0.2-0.1,0.4-0.3,0.6-0.3c0.3,0,0.6-0.2,0.9-0.3\n              c1.8-0.6,3.5-1.3,5.3-1.8c2.2-0.7,4.4-1.4,6.6-2.1l-0.1-0.2C98.7,116.4,98.3,116.5,98,116.6z M89.3,119.6c0-0.2,0.1-0.2,0.3-0.1\n              C89.5,119.5,89.4,119.5,89.3,119.6z"></path><path class="prompted_sign_in__st2" d="M91.6,118.5C91.6,118.5,91.6,118.5,91.6,118.5C91.6,118.5,91.6,118.5,91.6,118.5\n              C91.6,118.5,91.6,118.5,91.6,118.5z"></path><path class="prompted_sign_in__st2" d="M91.6,118.5c-0.3,0-0.6,0.1-0.8,0.3C91.1,118.8,91.3,118.7,91.6,118.5z"></path><path class="prompted_sign_in__st2" d="M82.9,121.9C82.9,121.9,82.9,121.9,82.9,121.9C82.9,121.9,82.9,121.9,82.9,121.9L82.9,121.9z"></path><path class="prompted_sign_in__st2" d="M82.9,121.9c-0.2,0.1-0.3,0.1-0.5,0.2C82.6,122.1,82.8,122,82.9,121.9z"></path><path class="prompted_sign_in__st2" d="M82.4,122.1C82.4,122.1,82.4,122.1,82.4,122.1C82.4,122.1,82.4,122.1,82.4,122.1\n              C82.4,122.1,82.4,122.1,82.4,122.1z"></path><path class="prompted_sign_in__st2" d="M82.9,121.9C82.9,121.9,82.9,121.9,82.9,121.9C82.9,121.9,82.9,121.9,82.9,121.9\n              C82.9,121.9,82.9,121.9,82.9,121.9z"></path><path class="prompted_sign_in__st2" d="M83.3,121.7c-0.1,0.1-0.3,0.1-0.4,0.2C83.2,121.9,83.2,121.9,83.3,121.7z"></path><path class="prompted_sign_in__st2" d="M84.2,121.5C84.2,121.4,84.1,121.4,84.2,121.5c-0.1,0-0.1,0-0.2,0c0,0,0,0,0,0.1\n              C84.1,121.5,84.1,121.5,84.2,121.5z"></path><path class="prompted_sign_in__st2" d="M90.7,119.4c-0.1,0-0.3,0.1-0.4,0.1c0,0,0,0,0,0C90.5,119.5,90.6,119.5,90.7,119.4z"></path><path class="prompted_sign_in__st2" d="M83.4,119.7c-0.2,0.1-0.4,0.2-0.5,0.2c0.1,0.1,0.1,0.2,0.2,0.2C83,119.9,83.3,119.9,83.4,119.7z"></path><path class="prompted_sign_in__st2" d="M83,120.1C83,120.1,83,120.1,83,120.1C83,120.1,83,120.1,83,120.1C83,120.2,83,120.1,83,120.1z"></path><path class="prompted_sign_in__st2" d="M84.7,119.2c-0.1,0.1-0.3,0-0.4,0.2C84.5,119.3,84.6,119.3,84.7,119.2C84.7,119.2,84.7,119.2,84.7,119.2z"></path><path class="prompted_sign_in__st2" d="M84.3,119.4C84.3,119.4,84.3,119.4,84.3,119.4C84.3,119.4,84.3,119.4,84.3,119.4L84.3,119.4z"></path><path class="prompted_sign_in__st2" d="M83.7,120C83.7,120,83.7,120,83.7,120c-0.1,0-0.2,0-0.3,0c0,0,0,0.1,0,0.1C83.5,120.1,83.6,120.1,83.7,120z"></path><polygon class="prompted_sign_in__st2" points="83.9,119.5 83.9,119.5 83.9,119.5 \t\t"></polygon><path class="prompted_sign_in__st2" d="M83.9,119.5c-0.1,0-0.1,0.1-0.3,0.2C83.8,119.6,83.9,119.7,83.9,119.5z"></path><path class="prompted_sign_in__st2" d="M84.3,119.4c-0.1,0-0.3,0.1-0.4,0.1C84,119.5,84.2,119.5,84.3,119.4z"></path><path class="prompted_sign_in__st2" d="M84.3,119.4C84.3,119.4,84.3,119.4,84.3,119.4C84.3,119.4,84.3,119.4,84.3,119.4\n              C84.3,119.4,84.3,119.4,84.3,119.4z"></path><polygon class="prompted_sign_in__st2" points="83.9,119.5 83.9,119.5 83.9,119.5 \t\t"></polygon></g><path class="prompted_sign_in__st1" d="M53.5,123c-0.8-5.5-2.1-10.3-4.3-13.5L44,123H53.5z"></path><path class="prompted_sign_in__st1" d="M66.6,88.1l12.9,8.2c2.2-3.7,5.9-6,9.9-5.9L85.6,80c0,0,3.1-1.6,6.2-5l-10.4-9.7L66.6,88.1z"></path></g></g><g id="purchase_sponsorship"><path d="M12,0C5.38,0,0,5.38,0,12s5.38,12,12,12c6.62,0,12-5.38,12-12S18.62,0,12,0z M18.72,17.99c-2.5,2.8-6.3,3.63-9.58,2.53   l7.11-7.11c0.39-0.39,0.39-1.02,0-1.41c-0.39-0.39-1.02-0.39-1.41,0l-6.36,6.36c-0.79,0.79-2.07,0.77-2.86-0.02   c-0.71-0.72-1.32-1.59-1.78-2.67C2.46,12.45,2.96,8.62,5.3,6.01c2.5-2.8,6.3-3.63,9.58-2.53l-7.11,7.11   c-0.39,0.39-0.39,1.02,0,1.41s1.02,0.39,1.41,0l6.36-6.36c0.79-0.79,2.07-0.77,2.86,0.02c0.71,0.72,1.32,1.59,1.78,2.67   C21.55,11.55,21.05,15.38,18.72,17.99z"></path></g><g id="purchase_super_chat"><path d="M14.6 14L12 12.4 9.4 14l.7-3-2.3-2 3-.3L12 6l1.2 2.8 3 .3-2.3 2 .7 2.9zM20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"></path></g><g id="purchase_super_sticker"><path d="M16 18v-2c0-1.1.9-2 2-2h2l-4 4zm-1.4-2.61L12 13.82l-2.6 1.57.69-2.96-2.3-1.99 3.03-.26L12 7.39l1.18 2.79 3.03.26-2.3 1.99.69 2.96zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12l2-2 1-1 1-1 2-2V6c0-1.1-.9-2-2-2z"></path></g><g id="purchases"><path d="M19.84 11.65l-7.5-7.5c-.3-.3-.7-.48-1.17-.48H5.33c-.9 0-1.66.75-1.66 1.66v5.84c0 .45.18.87.5 1.18l7.5 7.5c.3.3.7.48 1.16.48.46 0 .88-.18 1.18-.5L19.87 14c.3-.3.5-.7.5-1.16 0-.46-.2-.88-.5-1.18zM6.58 7.83c-.7 0-1.25-.55-1.25-1.25s.56-1.25 1.25-1.25c.7 0 1.25.56 1.25 1.25 0 .7-.55 1.25-1.25 1.25z"></path></g><g id="question_answer"><path d="M 21 6 h -2 v 9 H 6 v 2 c 0 0.55 0.45 1 1 1 h 11 l 4 4 V 7 c 0 -0.55 -0.45 -1 -1 -1 Z m -4 6 V 3 c 0 -0.55 -0.45 -1 -1 -1 H 3 c -0.55 0 -1 0.45 -1 1 v 14 l 4 -4 h 10 c 0.55 0 1 -0.45 1 -1 Z"></path></g><g id="radio-button-unchecked"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g><g id="refresh"><path d="M13 9v2h7V4h-2v2.74C16.53 5.07 14.4 4 12 4c-2.21 0-4.21.9-5.66 2.34S4 9.79 4 12c0 4.42 3.58 8 8 8 2.21 0 4.21-.9 5.66-2.34l-1.42-1.42C15.15 17.33 13.65 18 12 18c-3.31 0-6-2.69-6-6 0-1.65.67-3.15 1.76-4.24C8.85 6.67 10.35 6 12 6c2.21 0 4.15 1.21 5.19 3H13z"></path></g><g id="remove-circle-outline"><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g><g id="remove"><path d="M19 13H5v-2h14v2z"></path></g><g id="remove_circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"></path></g><g id="remove_done"><path d="M1.79 12l5.58 5.59L5.96 19 .37 13.41 1.79 12zm.45-7.78L12.9 14.89l-1.28 1.28L7.44 12l-1.41 1.41L11.62 19l2.69-2.69 4.89 4.89 1.41-1.41L3.65 2.81 2.24 4.22zm14.9 9.27L23.62 7 22.2 5.59l-6.48 6.48 1.42 1.42zM17.96 7l-1.41-1.41-3.65 3.66 1.41 1.41L17.96 7z"></path></g><g id="remove_moderator"><path d="M22.27 21.73l-3.54-3.55L5.78 5.23 2.27 1.72 1 2.99 3.01 5H3v6c0 5.55 3.84 10.74 9 12 2.16-.53 4.08-1.76 5.6-3.41L21 23l1.27-1.27zM13 9.92l6.67 6.67C20.51 14.87 21 12.96 21 11V5l-9-4-5.48 2.44L11 7.92l2 2z"></path></g><g id="replay"><path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"></path></g><g id="report"><path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"></path></g><g id="report_problem"><path d="M0 0h24v24H0z" fill="none"></path><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g><g id="sad"><path fill="none" d="M0 0h24v24H0z"></path><circle cx="15.5" cy="9.5" r="1.5"></circle><circle cx="8.5" cy="9.5" r="1.5"></circle><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-6c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3.5z"></path></g><g id="scatterplot"><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M7 18c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm4-8c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm5.6 17.6c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g><g id="schedule"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path><path d="M0 0h24v24H0z" fill="none"></path><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g><g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g><g id="send"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="service_toolbox"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21.84 12.62l-2.32-5.41C19.2 6.48 18.48 6 17.68 6H17V5c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v1h-.68c-.8 0-1.52.48-1.84 1.21l-2.32 5.41c-.11.25-.16.52-.16.79V18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4.59c0-.27-.05-.54-.16-.79zM9 5h6v1H9V5zM6.32 8h11.36l1.71 4H17v-1h-2v1H9v-1H7v1H4.6l1.72-4zM20 18H4v-4h3v1h2v-1h6v1h2v-1h3v4z"></path></g><g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.1-1.65c.2-.15.25-.42.13-.64l-2-3.46c-.12-.22-.4-.3-.6-.22l-2.5 1c-.52-.4-1.08-.73-1.7-.98l-.37-2.65c-.06-.24-.27-.42-.5-.42h-4c-.27 0-.48.18-.5.42l-.4 2.65c-.6.25-1.17.6-1.7.98l-2.48-1c-.23-.1-.5 0-.6.22l-2 3.46c-.14.22-.08.5.1.64l2.12 1.65c-.04.32-.07.65-.07.98s.02.66.06.98l-2.1 1.65c-.2.15-.25.42-.13.64l2 3.46c.12.22.4.3.6.22l2.5-1c.52.4 1.08.73 1.7.98l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.6-.25 1.17-.6 1.7-.98l2.48 1c.23.1.5 0 .6-.22l2-3.46c.13-.22.08-.5-.1-.64l-2.12-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g><g id="settings_applications"><path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"></path></g><g id="settings_material"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.1-1.65c.2-.15.25-.42.13-.64l-2-3.46c-.12-.22-.4-.3-.6-.22l-2.5 1c-.52-.4-1.08-.73-1.7-.98l-.37-2.65c-.06-.24-.27-.42-.5-.42h-4c-.27 0-.48.18-.5.42l-.4 2.65c-.6.25-1.17.6-1.7.98l-2.48-1c-.23-.1-.5 0-.6.22l-2 3.46c-.14.22-.08.5.1.64l2.12 1.65c-.04.32-.07.65-.07.98s.02.66.06.98l-2.1 1.65c-.2.15-.25.42-.13.64l2 3.46c.12.22.4.3.6.22l2.5-1c.52.4 1.08.73 1.7.98l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.6-.25 1.17-.6 1.7-.98l2.48 1c.23.1.5 0 .6-.22l2-3.46c.13-.22.08-.5-.1-.64l-2.12-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g><g mirror-in-rtl="" id="share"><path d="M14 9V3L22 12L14 21V15C8.44 15 4.78 17.03 2 21C3.11 15.33 6.22 10.13 14 9Z"></path></g><g id="share_arrow"><path d="M11.7333 8.26667V4L19.2 11.4667L11.7333 18.9333V14.56C6.4 14.56 2.66667 16.2667 0 20C1.06667 14.6667 4.26667 9.33333 11.7333 8.26667Z"></path></g><g id="shield"><path d="M12,1L3,5v6c0,5.55,3.84,10.74,9,12c5.16-1.26,9-6.45,9-12V5L12,1z"></path></g><g id="shield_with_avatar"><path d="M12 1l9 4v6c0 5.5-3.8 10.7-9 12-5.2-1.3-9-6.5-9-12V5l9-4zM7.7 15.1A5.3 5.3 0 0 1 12 6.7a5.3 5.3 0 0 1 4.3 8.4c-.6-1.1-3-1.7-4.3-1.7-1.3 0-3.7.6-4.3 1.7zM12 8.3a2.2 2.2 0 0 0-2.2 2.2c0 1.2 1 2.2 2.2 2.2a2.2 2.2 0 0 0 2.2-2.2c0-1.2-1-2.2-2.2-2.2zm0-2.6A6.3 6.3 0 0 0 5.7 12a6.3 6.3 0 0 0 6.3 6.3 6.3 6.3 0 0 0 6.3-6.3A6.3 6.3 0 0 0 12 5.7z"></path></g><g id="shuffle"><path d="M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z"></path></g><g id="skip_next"><path d="M6 18l8.5-6L6 6v12zM16 6v12h2V6h-2z"></path></g><g id="skip_previous"><path d="M6 6h2v12H6zm3.5 6l8.5 6V6z"></path></g><g fill-rule="evenodd" id="slow_mode"><path d="M2,16.0029699 L2,3.99406028 C2,2.89451376 2.89130934,2 3.99079514,2 L20.0092049,2 C21.1017876,2 22,2.8927712 22,3.99406028 L22,16.0059397 C22,17.1054862 21.1086907,18 20.0092049,18 L6,18 L2,22 L2,16.0029699 Z M7,6 L9,6 L9,14 L7,14 L7,6 Z M10,6 L12,6 L12,14 L10,14 L10,6 Z M13,6 L19,10 L13,14 L13,6 Z"></path></g><g fill-rule="evenodd" id="slow_mode_off"><path d="M2,16.0029699 L2,3.99406028 C2,2.89451376 2.89130934,2 3.99079514,2 L20.0092049,2 C21.1017876,2 22,2.8927712 22,3.99406028 L22,16.0059397 C22,17.1054862 21.1086907,18 20.0092049,18 L6,18 L2,22 L2,16.0029699 Z M14,12 L6,12 L6,14 L14,14 L14,12 Z M18,9 L6,9 L6,11 L18,11 L18,9 Z M18,6 L6,6 L6,8 L18,8 L18,6 Z"></path></g><g id="sms"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"></path></g><g id="sort"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="sponsorship_star"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"></path></g><g viewBox="0 0 26 26" id="sponsorships"><circle cx="13" cy="13" r="11" fill="#FFF"></circle><path transform="translate(1 1)" d="M12,0C5.38,0,0,5.38,0,12s5.38,12,12,12s12-5.38,12-12S18.62,0,12,0z M18.72,17.99c-2.5,2.8-6.3,3.63-9.58,2.53l7.11-7.11c0.39-0.39,0.39-1.02,0-1.41s-1.02-0.39-1.41,0l-6.36,6.36c-0.79,0.79-2.07,0.77-2.86-0.02c-0.71-0.72-1.32-1.59-1.78-2.67C2.46,12.45,2.96,8.62,5.3,6.01c2.5-2.8,6.3-3.63,9.58-2.53l-7.11,7.11c-0.39,0.39-0.39,1.02,0,1.41c0.39,0.39,1.02,0.39,1.41,0l6.36-6.36c0.79-0.79,2.07-0.77,2.86,0.02c0.71,0.72,1.32,1.59,1.78,2.67C21.55,11.55,21.05,15.38,18.72,17.99z"></path></g><g viewBox="0 0 26 26" id="sponsorships_no_bg"><path transform="translate(1 1)" d="M12,0C5.38,0,0,5.38,0,12s5.38,12,12,12s12-5.38,12-12S18.62,0,12,0z M18.72,17.99c-2.5,2.8-6.3,3.63-9.58,2.53l7.11-7.11c0.39-0.39,0.39-1.02,0-1.41s-1.02-0.39-1.41,0l-6.36,6.36c-0.79,0.79-2.07,0.77-2.86-0.02c-0.71-0.72-1.32-1.59-1.78-2.67C2.46,12.45,2.96,8.62,5.3,6.01c2.5-2.8,6.3-3.63,9.58-2.53l-7.11,7.11c-0.39,0.39-0.39,1.02,0,1.41c0.39,0.39,1.02,0.39,1.41,0l6.36-6.36c0.79-0.79,2.07-0.77,2.86,0.02c0.71,0.72,1.32,1.59,1.78,2.67C21.55,11.55,21.05,15.38,18.72,17.99z"></path></g><g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g><g id="star_border"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g><g id="star_half"><path clip-path="url(#star_half__b)" d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g><g id="stars"><path d="M0 0h24v24H0z" fill="none"></path><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"></path></g><g id="sticker_emoticon"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"></path></g><g id="subdirectory_arrow_right"><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"></path></g><g viewBox="0 0 376 276" id="subscribe"><path d="M375.47 116.9v28.4c-.24 30.27-4 60.58-4 60.58s-3.67 25.8-14.9 37.15c-14.23 14.9-30.18 14.98-37.5 15.84-52.4 3.8-131.12 3.67-131.16 3.67-3.27-.04-97.8-.7-127.24-3.52-8.32-1.56-27.06-1.1-41.3-16C8.1 231.7 4.46 205.9 4.46 205.9S.7 175.6 0 145.3v-28.4c.7-30.3 4.46-60.57 4.46-60.57s3.67-25.8 14.9-37.15C33.6 4.28 49.56 4.2 56.86 3.34c52.4-3.8 131.1-3.32 131.1-3.32s78.67-.47 131.08 3.32c7.3.86 23.26.94 37.5 15.84 11.22 11.34 14.9 37.15 14.9 37.15s3.75 30.27 4.03 60.58zM149.7 78.13V183.7l100.66-52.8L149.7 78.13z"></path></g><g id="subscription_manager"><path d="M22 13.5v-3h-2.65c-.2-.95-.57-1.84-1.1-2.63L20.15 6 18 3.88l-1.86 1.87c-.8-.53-1.68-.9-2.64-1.1V2h-3v2.65c-.96.2-1.85.57-2.64 1.1L6 3.88 3.86 6l1.87 1.87c-.52.8-.9 1.68-1.1 2.64H2v3h2.65c.2.97.58 1.86 1.1 2.65L3.87 18 6 20.14l1.87-1.87c.8.52 1.67.9 2.63 1.1V22h3v-2.65c.96-.2 1.84-.57 2.63-1.1l1.87 1.9L20.13 18l-1.88-1.86c.52-.8.9-1.68 1.1-2.63H22zm-10 3c-2.48 0-4.5-2.02-4.5-4.5S9.52 7.5 12 7.5s4.5 2.02 4.5 4.5-2.02 4.5-4.5 4.5z"></path></g><g id="subscriptions"><path d="M18.7 8.7H5.3V7h13.4v1.7zm-1.7-5H7v1.6h10V3.7zm3.3 8.3v6.7c0 1-.7 1.6-1.6 1.6H5.3c-1 0-1.6-.7-1.6-1.6V12c0-1 .7-1.7 1.6-1.7h13.4c1 0 1.6.8 1.6 1.7zm-5 3.3l-5-2.7V18l5-2.7z"></path></g><g id="subtitles"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM4 12h4v2H4v-2zm10 6H4v-2h10v2zm6 0h-4v-2h4v2zm0-4H10v-2h10v2z"></path></g><g id="super_chat_for_good"><path d="M14.79,10.26c0.39,0.39,1.02,0.39,1.41,0c0.39-0.39,0.39-1.02,0-1.41L11.97,4.6c-2.34-2.34-6.14-2.34-8.49,0 s-1.5,7.01,0,8.49l0,0l7.07-7.07L14.79,10.26z"></path><path d="M12.74,3.96l4.1,4.1c0.7,0.7,0.88,1.84,0.3,2.65c-0.74,1.03-2.19,1.12-3.05,0.26l-3.54-3.54L9.49,8.49L5.6,12.38 l-0.71,0.71c-0.39,0.39-0.39,1.02,0,1.41c0.39,0.39,1.02,0.39,1.41,0l4.6-4.6c0.2-0.2,0.51-0.2,0.71,0c0.2,0.2,0.2,0.51,0,0.71 l-4.6,4.6c-0.39,0.39-0.39,1.02,0,1.41c0.39,0.39,1.02,0.39,1.41,0l4.6-4.6c0.2-0.2,0.51-0.2,0.71,0c0.2,0.2,0.2,0.51,0,0.71 l-4.6,4.6c-0.39,0.39-0.39,1.02,0,1.41c0.39,0.39,1.02,0.39,1.41,0l4.6-4.6c0.2-0.2,0.51-0.2,0.71,0c0.2,0.2,0.2,0.51,0,0.71 l-4.6,4.6c-0.39,0.39-0.39,1.02,0,1.41c0.39,0.39,1.02,0.39,1.41,0l7.59-7.59c1.78-1.72,2.58-6.06,0.39-8.46 C18.56,2.51,15.15,2.23,12.74,3.96z"></path></g><g id="supervisor_account"><path d="M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3zm7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75zM9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13z"></path></g><g id="switch_accounts"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h12zm-3 5c0-1.66-1.34-3-3-3s-3 1.34-3 3 1.34 3 3 3 3-1.34 3-3zm-9 8v1h12v-1c0-2-4-3.1-6-3.1S8 13 8 15z"></path></g><g id="tab_account"><path d="M12 10.8c2.6 0 4.7-2.2 4.7-5 0-2.6-2-4.8-4.7-4.8-2.6 0-4.7 2.2-4.7 5 0 2.6 2 4.8 4.7 4.8zm-10 8v3.7c0 .3.2.5.5.5h19c.3 0 .5-.2.5-.5V19c0-4-6.7-6-10-6S2 15 2 19z"></path></g><g id="tab_explore"><path d="M11.23 13.08c-.29-.21-.48-.51-.54-.86-.06-.35.02-.71.23-.99.21-.29.51-.48.86-.54.35-.06.7.02.99.23.29.21.48.51.54.86.06.35-.02.71-.23.99a1.327 1.327 0 01-1.08.56c-.28 0-.55-.08-.77-.25zM22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10zm-3.97-6.03L9.8 9.8l-3.83 8.23 8.23-3.83 3.83-8.23z"></path></g><g id="tab_home"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path></g><g id="tab_subscriptions"><path d="M20 8H4V6h16v2zm-2-6H6v2h12V2zm4 10v8c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2v-8c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2zm-6 4l-6-3.27v6.53L16 16z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="tab_trending"><path d="M19.642 10.63c-.314-.395-.658-.767-1.026-1.11-.87-.808-1.884-1.375-2.724-2.22-1.72-1.73-2.3-4.183-1.546-6.496.123-.375-.23-.72-.584-.566-.822.36-1.606.873-2.285 1.425-3.43 2.79-4.704 7.446-3.115 11.645.038.144.09.3.09.45 0 .3-.182.57-.448.687-.3.133-.62.044-.856-.175-.072-.068-.137-.143-.197-.222-1.11-1.452-1.52-3.386-1.21-5.19.08-.456-.49-.713-.77-.35-1.4 1.802-2.09 4.21-1.95 6.48.04.68.158 1.355.34 2.008.23.82.57 1.607 1.01 2.33 1.4 2.31 3.854 3.977 6.49 4.31 2.805.355 5.836-.162 7.997-2.15 2.408-2.217 3.285-5.74 2-8.823-.052-.123-.106-.243-.163-.363-.285-.596-.64-1.154-1.045-1.67m-4.288 8.098c-.366.324-.95.645-1.415.797-1.32.435-2.62-.083-3.516-.814-.13-.1-.084-.3.073-.35 1.37-.44 2.173-1.49 2.41-2.542.23-1.015-.182-1.885-.354-2.878-.14-.827-.128-1.544.135-2.297.047-.13.226-.147.283-.02.82 1.825 3.136 2.63 3.534 4.64.037.18.058.367.063.55.034 1.06-.427 2.226-1.21 2.92"></path></g><g id="trailer"><path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"></path></g><g id="translate"><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></g><g id="trending"><path d="M17.53 11.2c-.23-.3-.5-.56-.76-.82-.65-.6-1.4-1.03-2.03-1.66-1.46-1.46-1.78-3.87-.85-5.72-.9.23-1.75.75-2.45 1.32C8.9 6.4 7.9 10.07 9.1 13.22c.04.1.08.2.08.33 0 .22-.15.42-.35.5-.22.1-.46.04-.64-.12-.06-.05-.1-.1-.15-.17-1.1-1.43-1.28-3.48-.53-5.12C5.87 10 5 12.3 5.12 14.47c.04.5.1 1 .27 1.5.14.6.4 1.2.72 1.73 1.04 1.73 2.87 2.97 4.84 3.22 2.1.27 4.35-.12 5.96-1.6 1.8-1.66 2.45-4.3 1.5-6.6l-.13-.26c-.2-.45-.47-.87-.78-1.25zm-3.1 6.3c-.28.24-.73.5-1.08.6-1.1.38-2.2-.16-2.88-.82 1.2-.28 1.9-1.16 2.1-2.05.17-.8-.14-1.46-.27-2.23-.12-.74-.1-1.37.2-2.06.15.38.35.76.58 1.06.76 1 1.95 1.44 2.2 2.8.04.14.06.28.06.43.03.82-.32 1.72-.92 2.26z"></path></g><g id="trending_up"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"></path></g><g id="trophy"><path d="M6.85 7.76V6.18H1v2.88c0 2.35 1.9 4.26 4.26 4.26h1.59v-1.59H5.4a2.81 2.81 0 01-2.81-2.8V7.75h4.26zM17.15 7.76V6.18H23v2.88c0 2.35-1.9 4.26-4.26 4.26h-1.59v-1.59h1.45a2.81 2.81 0 002.81-2.8V7.75h-4.26z"></path><path d="M12 17.29a6.87 6.87 0 01-6.87-6.87V3h13.74v7.42c0 3.8-3.07 6.87-6.87 6.87z"></path><path d="M12 17.29V3h6.87v7.42c0 3.8-3.07 6.87-6.87 6.87zM12 17.29l4.13 2.38H7.88L12 17.3zM16.13 19.67H7.88v2.38h8.25v-2.38z"></path></g><g id="tune"><path d="M0 0h24v24H0z" fill="none"></path><path d="M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"></path></g><g id="tv"><path d="M0 0h24v24H0z" fill="none"></path><path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z"></path></g><g id="unlimited"><path fill-rule="nonzero" d="M21.78 8s-.2-1.37-.8-1.97c-.75-.8-1.6-.8-2-.85C16.2 4.98 12 5 12 5s-4.18-.02-6.97.18c-.4.05-1.24.05-2 .85-.6.6-.8 1.97-.8 1.97s-.2 1.63-.23 3.23v1.7c.03 1.6.23 3.2.23 3.2s.2 1.4.8 2c.76.8 1.75.76 2.2.85 1.57.15 6.6.18 6.77.18 0 0 4.2 0 7-.2.38-.04 1.23-.04 2-.84.6-.6.8-1.98.8-1.98s.2-1.6.2-3.22v-1.7c-.02-1.6-.22-3.22-.22-3.22zm-11.8 7V9.16l5.35 3.03L9.97 15z"></path></g><g id="unplugged_logo"><path fill="#FF0000" d="M6,18h12v1H6V18z M22,6.2v9.6c0,0.66-0.54,1.2-1.2,1.2H3.2C2.54,17,2,16.46,2,15.8V6.2C2,5.54,2.54,5,3.2,5 h17.6C21.46,5,22,5.54,22,6.2z"></path><polygon fill="#FFFFFF" points="15,11 10,8.35 10,13.65 "></polygon></g><g id="up_arrow"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"></path></g><g id="upload"><path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"></path></g><g id="uploads"><path d="M0 0h24v24H0z" fill="none"></path><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z"></path></g><g id="verified_user"><path d="M0 0h24v24H0z" fill="none"></path><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g><g id="vertical_align_bottom"><path d="M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="vertical_align_top"><path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="very_happy"><path d="M11.99 2C6.47 2 2 6.47 2 12s4.47 10 9.99 10S22 17.53 22 12 17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm1-10.06L14.06 11l1.06-1.06L16.18 11l1.06-1.06-2.12-2.12zm-4.12 0L9.94 11 11 9.94 8.88 7.82 6.76 9.94 7.82 11zM12 17.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="very_sad"><path d="M11.99 2C6.47 2 2 6.47 2 12s4.47 10 9.99 10S22 17.53 22 12 17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm4.18-12.24l-1.06 1.06-1.06-1.06L13 8.82l1.06 1.06L13 10.94 14.06 12l1.06-1.06L16.18 12l1.06-1.06-1.06-1.06 1.06-1.06zM7.82 12l1.06-1.06L9.94 12 11 10.94 9.94 9.88 11 8.82 9.94 7.76 8.88 8.82 7.82 7.76 6.76 8.82l1.06 1.06-1.06 1.06zM12 14c-2.33 0-4.31 1.46-5.11 3.5h10.22c-.8-2.04-2.78-3.5-5.11-3.5z"></path><path fill="none" d="M0 0h24v24H0z"></path></g><g id="video_call"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z"></path></g><g id="video_camera"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"></path></g><g id="video_camera_disabled"><path d="M21 6.5l-4 4V7c0-.55-.45-1-1-1H9.82L21 17.18V6.5zM3.27 2L2 3.27 4.73 6H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.21 0 .39-.08.54-.18L19.73 21 21 19.73 3.27 2z"></path></g><g id="video_library_white"><path fill="none" d="M0 0h24v24H0z"></path><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z"></path></g><g id="video_youtube"><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"></path></g><g id="videogame_asset"><path d="M0 0v24h24V0H0zm23 16c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2V8c0-1.1.9-2 2-2h18c1.1 0 2 .9 2 2v8z" fill="none"></path><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4-3c-.83 0-1.5-.67-1.5-1.5S18.67 9 19.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g><g id="view_list"><path d="M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="view_module"><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="visibility"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g><g id="visibility_off"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"></path></g><g id="volume_off"><path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"></path></g><g id="volume_up"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"></path></g><g id="vpn_key"><path d="M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g><g id="wallpaper"><path d="M0 0h24v24H0z" fill="none"></path><path d="M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"></path></g><g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g><g id="watch_history"><path d="M11.9 3.75c-4.55 0-8.23 3.7-8.23 8.25H.92l3.57 3.57.04.13 3.7-3.7H5.5c0-3.54 2.87-6.42 6.42-6.42 3.54 0 6.4 2.88 6.4 6.42s-2.86 6.42-6.4 6.42c-1.78 0-3.38-.73-4.54-1.9l-1.3 1.3c1.5 1.5 3.55 2.43 5.83 2.43 4.58 0 8.28-3.7 8.28-8.25 0-4.56-3.7-8.25-8.26-8.25zM11 8.33v4.6l3.92 2.3.66-1.1-3.2-1.9v-3.9H11z"></path></g><g id="watch_later"><path d="M12 3.67c-4.58 0-8.33 3.75-8.33 8.33s3.75 8.33 8.33 8.33 8.33-3.75 8.33-8.33S16.58 3.67 12 3.67zm3.5 11.83l-4.33-2.67v-5h1.25v4.34l3.75 2.25-.67 1.08z"></path></g><g id="watch_related_mix"><path d="M20.3 11.95c0 2.46-.95 4.7-2.47 6.32l1.07 1.13c1.8-1.92 2.9-4.55 2.9-7.45 0-2.9-1.12-5.54-2.9-7.45l-1.07 1.13c1.52 1.62 2.46 3.86 2.46 6.32zm-17 0c0-2.46.93-4.7 2.45-6.32L4.7 4.5c-1.8 1.9-2.9 4.54-2.9 7.45 0 2.9 1.1 5.53 2.9 7.45l1.05-1.13C4.23 16.64 3.3 14.4 3.3 11.95zm3 0c0-1.6.6-3.03 1.57-4.08L6.8 6.75c-1.24 1.34-2 3.17-2 5.2 0 2.03.76 3.86 2 5.2l1.07-1.12c-.97-1.06-1.58-2.5-1.58-4.08zm10.47-5.2L15.7 7.87c1 1.05 1.6 2.5 1.6 4.08 0 1.6-.6 3.02-1.6 4.08l1.07 1.12c1.25-1.34 2.02-3.17 2.02-5.2 0-2.03-.8-3.86-2.05-5.2zm-6.64 2.93l4.16 2.3-4.2 2.3v-4.6z"></path></g><g width="24" height="24" viewBox="0 0 24 24" fill="none" id="waveform"><rect x="11" y="2" width="2" height="20" rx="1" fill="white" fill-opacity="0.3"></rect><rect x="15" y="6" width="2" height="12" rx="1" fill="white" fill-opacity="0.3"></rect><rect x="7" y="6" width="2" height="12" rx="1" fill="white" fill-opacity="0.3"></rect><rect x="3" y="10" width="2" height="4" rx="1" fill="white" fill-opacity="0.3"></rect><rect x="19" y="10" width="2" height="4" rx="1" fill="white" fill-opacity="0.3"></rect></g><g id="what_to_watch"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8"></path></g><g viewBox="0 0 24 24" id="wifi_status_bar_four"><path d="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g viewBox="0 0 24 24" id="wifi_status_bar_one"><path fill-opacity=".3" d="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z"></path><path d="M0 0h24v24H0z" fill="none"></path><path d="M6.67 14.86L12 21.49v.01l.01-.01 5.33-6.63C17.06 14.65 15.03 13 12 13s-5.06 1.65-5.33 1.86z"></path></g><g viewBox="0 0 26 24" id="wifi_status_bar_three"><path fill-opacity=".3" d="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z"></path><path d="M0 0h24v24H0z" fill="none"></path><path d="M3.53 10.95l8.46 10.54.01.01.01-.01 8.46-10.54C20.04 10.62 16.81 8 12 8c-4.81 0-8.04 2.62-8.47 2.95z"></path></g><g viewBox="0 0 24 24" id="wifi_status_bar_zero"><path fill-opacity=".3" d="M12.01 21.49L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l11.63 14.49.01.01.01-.01z"></path><path d="M0 0h24v24H0z" fill="none"></path></g><g id="work_off"><path d="M23 21.74l-1.46-1.46L7.21 5.95 3.25 1.99 1.99 3.25l2.7 2.7h-.64c-1.11 0-1.99.89-1.99 2l-.01 11c0 1.11.89 2 2 2h15.64L21.74 23 23 21.74zM22 7.95c.05-1.11-.84-2-1.95-1.95h-4V3.95c0-1.11-.89-2-2-1.95h-4c-1.11-.05-2 .84-2 1.95v.32l13.95 14V7.95zM14.05 6H10V3.95h4.05V6z"></path></g><g id="youtube_ad"><path d="M9.5 12h-2v-1.5h2V12zM21 6v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.11.89-2 2-2h14c1.11 0 2 .89 2 2zM11 9H6v6h1.5v-1.5h2V15H11V9zm7 1.5c0-.83-.67-1.5-1.5-1.5H13v6h3.5c.83 0 1.5-.67 1.5-1.5v-3zm-3.5 0h2v3h-2v-3z"></path></g><g id="youtube_kids_round"><path fill="#FF0000" d="M21.39,13.19c0-0.08,0-0.15,0-0.22c-0.01-0.86-0.5-5-0.78-5.74c-0.32-0.85-0.76-1.5-1.31-1.91 c-0.9-0.67-1.66-0.82-2.6-0.84l-0.02,0c-0.4,0-3.01,0.32-5.2,0.62C9.28,5.4,6.53,5.8,5.88,6.04c-0.9,0.33-1.62,0.77-2.19,1.33 c-1.05,1.04-1.18,2.11-1.04,3.51c0.1,1.09,0.69,5.37,1.02,6.35c0.45,1.32,1.33,2.12,2.47,2.24c0.28,0.03,0.55,0.05,0.82,0.05 c1,0,1.8-0.21,2.72-0.46c1.45-0.39,3.25-0.87,6.97-0.87l0.09,0h0.02c0.91,0,3.14-0.2,4.16-2.07C21.44,15.12,21.41,13.91,21.39,13.19 z"></path><path fill="#000" d="M21.99,13.26c0-0.08,0-0.16-0.01-0.24c-0.01-0.92-0.54-5.32-0.83-6.11c-0.34-0.91-0.81-1.59-1.4-2.03 C18.81,4.17,17.99,4.02,17,4l-0.02,0c-0.43,0-3.21,0.34-5.54,0.66c-2.33,0.32-5.25,0.75-5.95,1C4.53,6.01,3.76,6.48,3.16,7.08 c-1.12,1.1-1.25,2.25-1.11,3.74c0.11,1.16,0.73,5.71,1.08,6.75c0.48,1.41,1.41,2.25,2.63,2.38C6.06,19.98,6.34,20,6.63,20 c1.07,0,1.91-0.23,2.89-0.49c1.54-0.41,3.46-0.93,7.41-0.93l0.1,0h0.02c0.97,0,3.34-0.21,4.42-2.2 C22.04,15.32,22.01,14.03,21.99,13.26z M20.59,15.91c-0.82,1.51-2.75,1.68-3.56,1.68l-0.1,0c-4.09,0-6.07,0.53-7.67,0.96 C8.31,18.8,7.56,19,6.63,19c-0.25,0-0.5-0.01-0.76-0.04c-1.04-0.11-1.54-0.99-1.79-1.71c-0.3-0.88-0.91-5.21-1.04-6.53 C2.9,9.25,3.1,8.54,3.86,7.79c0.5-0.5,1.15-0.89,1.97-1.19c0.17-0.06,1.1-0.32,5.74-0.95C14.2,5.29,16.64,5.01,16.99,5 c0.83,0.02,1.43,0.13,2.17,0.69c0.43,0.32,0.79,0.86,1.06,1.58c0.22,0.58,0.76,4.78,0.77,5.77l0.01,0.25 C21.01,13.96,21.04,15.08,20.59,15.91z"></path><path fill="#000" d="M11.59,14.76c-0.48,0.36-0.8,0.45-1.01,0.45c-0.16,0-0.25-0.05-0.3-0.08c-0.34-0.18-0.42-0.61-0.5-1.2l-0.01-0.1 c-0.04-0.31-0.26-2.1-0.38-3.16L9.3,9.94C9.26,9.66,9.2,9.19,9.54,8.94c0.32-0.23,0.75-0.09,0.96-0.03c0.53,0.17,3.6,1.23,4.59,1.73 c0.21,0.09,0.67,0.28,0.68,0.83c0.01,0.5-0.38,0.74-0.53,0.82L11.59,14.76z"></path><path fill="#FFF" d="M10.3,9.89c0,0,0.5,4.08,0.51,4.19c0.06-0.04,3.79-2.58,3.79-2.58C13.71,11.07,11.07,10.14,10.3,9.89z"></path></g><g id="youtube_logo"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g><g id="youtube_music"><circle fill="#FF0000" cx="12" cy="12" r="10"></circle><polygon fill="#FFFFFF" points="10,14.65 10,9.35 15,12 "></polygon><path fill="#FFFFFF" d="M12,7c2.76,0,5,2.24,5,5s-2.24,5-5,5s-5-2.24-5-5S9.24,7,12,7 M12,6c-3.31,0-6,2.69-6,6s2.69,6,6,6s6-2.69,6-6 S15.31,6,12,6L12,6z"></path></g><g viewBox="0 0 100 24" id="youtube_music_logo_short"><path d="M28.12 3.1A3.58 3.58 0 0 0 25.6.6C23.36 0 14.42 0 14.42 0S5.48 0 3.25.59A3.58 3.58 0 0 0 .73 3.1C.14 5.34.14 9.98.14 9.98s0 4.66.59 6.87a3.58 3.58 0 0 0 2.52 2.51c2.23.6 11.17.6 11.17.6s8.94 0 11.18-.6a3.58 3.58 0 0 0 2.52-2.51c.59-2.24.59-6.87.59-6.87s0-4.64-.6-6.87z" fill="red"></path><path fill="#FFF" d="M11.55 14.28L19 10l-7.44-4.3z"></path><path d="M41.3 7.74c-.52 2.59-.9 5.77-1.11 7.08h-.14c-.17-1.34-.54-4.5-1.09-7.06l-1.31-6.35h-3.98v17.15h2.47V4.42l.24 1.32 2.51 12.82h2.47l2.48-12.82.25-1.32v14.14h2.5V1.41h-4.03L41.3 7.74zM53.27 15.98c-.23.47-.7.8-1.2.8-.56 0-.8-.45-.8-1.56v-9.2h-2.82v9.37c0 2.3.75 3.36 2.42 3.36 1.15 0 2.07-.51 2.7-1.74h.08l.23 1.53h2.21V6.02h-2.82v9.96zM61.55 10.96c-.91-.68-1.48-1.12-1.48-2.09 0-.7.33-1.08 1.1-1.08.8 0 1.07.54 1.09 2.42l2.38-.1c.18-3.03-.83-4.3-3.42-4.3-2.4 0-3.6 1.08-3.6 3.32 0 2.02 1 2.94 2.57 4.14 1.36 1.06 2.16 1.65 2.16 2.52 0 .66-.4 1.1-1.13 1.1-.84 0-1.31-.8-1.2-2.18l-2.4.04c-.37 2.6.69 4.12 3.46 4.12 2.43 0 3.7-1.13 3.7-3.36 0-2.07-1.04-2.9-3.23-4.55zM66.33 6.02h2.7v12.52h-2.7zM67.7 1.08c-1.04 0-1.54.4-1.54 1.74 0 1.4.5 1.74 1.53 1.74 1.06 0 1.53-.35 1.53-1.74 0-1.3-.47-1.74-1.53-1.74zM78.1 14.05l-2.48-.12c0 2.21-.23 2.92-1.08 2.92-.85 0-.99-.8-.99-3.4v-2.41c0-2.52.17-3.32 1.01-3.32.78 0 1 .75 1 3.08l2.44-.16c.16-1.96-.07-3.28-.85-4.03-.54-.54-1.39-.82-2.56-.82-2.73 0-3.86 1.48-3.86 5.6v1.76c0 4.26.96 5.63 3.76 5.63 1.18 0 2-.24 2.57-.78.8-.75 1.1-2.02 1.03-3.95z"></path></g><g id="youtube_music_monochrome"><path d="M12 0.47998C5.63998 0.47998 0.47998 5.63998 0.47998 12C0.47998 18.36 5.63998 23.52 12 23.52C18.36 23.52 23.52 18.36 23.52 12C23.52 5.63998 18.36 0.47998 12 0.47998ZM12 18.82C8.22998 18.82 5.17998 15.77 5.17998 12C5.17998 8.22998 8.22998 5.17998 12 5.17998C15.77 5.17998 18.82 8.22998 18.82 12C18.82 15.77 15.77 18.82 12 18.82Z" fill-rule="nonzero"></path><path d="M12 6.02002C8.70996 6.02002 6.01996 8.70002 6.01996 12C6.01996 15.3 8.69996 17.98 12 17.98C15.3 17.98 17.98 15.3 17.98 12C17.98 8.70002 15.29 6.02002 12 6.02002ZM9.74996 15.4V8.60002L15.63 12L9.74996 15.4Z" fill-rule="nonzero"></path></g><g viewBox="0 0 100 24" id="youtube_premiere_logo_short"><path d="M27.34 3.28A3.5 3.5 0 0 0 24.87.81C22.7.23 13.97.23 13.97.23S5.22.23 3.04.81A3.5 3.5 0 0 0 .58 3.28C0 5.46 0 10 0 10s0 4.55.58 6.73a3.5 3.5 0 0 0 2.47 2.47c2.18.58 10.91.58 10.91.58s8.74 0 10.91-.58a3.5 3.5 0 0 0 2.47-2.47c.59-2.18.59-6.73.59-6.73s0-4.54-.59-6.72" fill="red"></path><path fill="#FFF" d="M11.17 14.2l7.26-4.2-7.26-4.18z"></path><path d="M37.68 6.67c0-2.43-.44-3.01-1.96-3.01h-.5v6.8h.46c1.44 0 2-1.03 2-3.29v-.5zm2.81-.24v.68c0 3.38-1.5 5.35-4.77 5.35h-.5v5.91h-2.67V1.62h3.41c3.12 0 4.53 1.32 4.53 4.81zm6.73-.5l-.14 3.18c-1.14-.24-2.07-.06-2.5.68v8.58h-2.65V6.13h2.12l.24 2.66h.1c.28-1.94 1.17-2.92 2.33-2.92.14 0 .3.02.5.06m3.46 4.74v.87h2.01v-.87c0-2.26-.16-2.9-1.02-2.9-.85 0-1 .66-1 2.9zm0 2.51v.62c0 2.16.12 2.9 1.03 2.9.88 0 1.08-.68 1.1-2.08l2.38.14c.18 2.63-1.2 3.81-3.54 3.81-2.83 0-3.67-1.85-3.67-5.23v-2.13c0-3.56.94-5.3 3.75-5.3 2.84 0 3.56 1.48 3.56 5.18v2.1h-4.61zM69.4 9.13v9.24h-2.75V9.33c0-1-.26-1.5-.86-1.5-.48 0-.92.28-1.22.8.02.16.02.32.02.5v9.24h-2.75V9.33c0-1-.26-1.5-.86-1.5-.48 0-.9.28-1.2.78v9.76h-2.75V6.13h2.17l.24 1.56h.04c.62-1.18 1.62-1.82 2.8-1.82 1.15 0 1.81.58 2.11 1.62a3.1 3.1 0 0 1 2.7-1.62c1.68 0 2.31 1.2 2.31 3.26M71.34 18.37h2.64V6.13h-2.64v12.24zM71.18 3c0-1.32.48-1.7 1.5-1.7 1.04 0 1.5.44 1.5 1.7 0 1.36-.46 1.7-1.5 1.7-1.02 0-1.5-.34-1.5-1.7zm7.2 7.67v.87h2.03v-.87c0-2.26-.16-2.9-1.02-2.9s-1 .66-1 2.9zm0 2.51v.62c0 2.16.13 2.9 1.05 2.9.88 0 1.08-.68 1.1-2.08l2.37.14c.18 2.63-1.2 3.81-3.53 3.81-2.84 0-3.68-1.85-3.68-5.23v-2.13c0-3.56.94-5.3 3.76-5.3C82.28 5.91 83 7.4 83 11.1v2.1H78.4zm11.65-7.25l-.14 3.18c-1.14-.24-2.08-.06-2.5.68v8.58h-2.65V6.13h2.11l.24 2.66h.1c.28-1.94 1.18-2.92 2.34-2.92.14 0 .3.02.5.06m3.45 4.74v.87h2.02v-.87c0-2.26-.16-2.9-1.02-2.9s-1 .66-1 2.9zm0 2.51v.62c0 2.16.12 2.9 1.04 2.9.88 0 1.08-.68 1.1-2.08l2.38.14c.18 2.63-1.2 3.81-3.54 3.81-2.83 0-3.67-1.85-3.67-5.23v-2.13c0-3.56.94-5.3 3.75-5.3 2.84 0 3.56 1.48 3.56 5.18v2.1h-4.62z"></path></g><g id="youtube_red_logo"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g><g viewBox="0 0 100 24" id="youtube_red_logo_short"><path d="M28 3.13A3.58 3.58 0 0 0 25.48.6C23.25.02 14.31.02 14.31.02s-8.95 0-11.18.6A3.58 3.58 0 0 0 .6 3.11C.02 5.37.02 10 .02 10s0 4.66.6 6.87a3.58 3.58 0 0 0 2.5 2.52c2.24.59 11.19.59 11.19.59s8.94 0 11.17-.6a3.58 3.58 0 0 0 2.52-2.5c.59-2.24.59-6.88.59-6.88s.02-4.64-.59-6.87z" fill="red"></path><path fill="#FFF" d="M11.46 14.3l7.43-4.28-7.43-4.3z"></path><path d="M39.01 18.59l-1.83-7.41c-.24.02-.52.04-.8.04h-.3v7.37h-2.74V1.44h3.58c3.5 0 4.59 1.6 4.59 4.68v.42c0 1.84-.71 3.15-1.96 3.9l.54 1.54 1.93 6.6h-3zm-2.47-9.25c1.55 0 2.1-.94 2.1-2.75v-.4c0-2-.5-2.66-2.08-2.66h-.51v5.83h.5v-.02zM45.44 13.27v.64c0 2.2.11 2.96 1.05 2.96.9 0 1.11-.7 1.13-2.12l2.43.14c.19 2.71-1.23 3.91-3.63 3.91-2.9 0-3.76-1.9-3.76-5.36v-2.2c0-3.64.96-5.4 3.83-5.4 2.9 0 3.65 1.5 3.65 5.29v2.14h-4.7zm0-2.59v.9h2.07v-.9c0-2.3-.17-2.96-1.04-2.96s-1.03.68-1.03 2.96zM56.47.8v6.33a2.7 2.7 0 0 0-2.4-1.3c-1.9 0-2.78 1.7-2.78 5.44v1.98c0 4.11.69 5.53 2.66 5.53a2.9 2.9 0 0 0 2.66-1.98h.05l.35 1.79h2.19V.8h-2.73zm0 14.78c-.21.73-.7 1.2-1.25 1.15-.84 0-1.08-.82-1.08-3.67v-1.62c0-2.73.3-3.58 1.2-3.58.45 0 .87.21 1.13.66v7.06z"></path></g><g id="youtube_round"><defs><radialGradient cx="5.4%" cy="7.11%" r="107.93%" fx="5.4%" fy="7.11%" gradientTransform="matrix(.70653 0 0 1 .016 0)"><stop offset="0%" stop-color="#FFF"></stop><stop offset="100%" stop-color="#FFF" stop-opacity="0"></stop></radialGradient></defs><g fill="none" fill-rule="evenodd"><path d="M1 1h21.77v22H1z"></path><g fill-rule="nonzero"><path fill="#F00" d="M22.54 7.6s-.2-1.5-.86-2.17c-.83-.87-1.75-.88-2.18-.93-3.04-.22-7.6-.2-7.6-.2s-4.56-.02-7.6.2c-.43.05-1.35.06-2.18.93-.65.67-.86 2.18-.86 2.18S1.04 9.4 1 11.18v1.66c.04 1.78.26 3.55.26 3.55s.2 1.5.86 2.18c.83.87 1.9.84 2.4.94 1.7.15 7.2.2 7.38.2 0 0 4.57 0 7.6-.22.43-.05 1.35-.06 2.18-.93.65-.67.86-2.18.86-2.18s.22-1.77.24-3.55v-1.66c-.02-1.78-.24-3.55-.24-3.55z"></path><path fill="#FAFAFA" d="M9.68 8.9v6.18l5.84-3.1"></path><path fill="#000" fill-opacity=".12" d="M9.68 8.88l5.13 3.48.73-.38"></path><path fill="#FFF" fill-opacity=".2" d="M22.54 7.6s-.2-1.5-.86-2.17c-.83-.87-1.75-.88-2.18-.93-3.04-.22-7.6-.2-7.6-.2s-4.56-.02-7.6.2c-.43.05-1.35.06-2.18.93-.65.67-.86 2.18-.86 2.18S1.04 9.4 1 11.18v.1c.04-1.76.26-3.54.26-3.54s.2-1.5.86-2.17c.83-.88 1.75-.88 2.18-.93 3.04-.22 7.6-.2 7.6-.2s4.56-.02 7.6.2c.43.05 1.35.05 2.18.93.65.66.86 2.17.86 2.17s.22 1.78.23 3.55v-.1c0-1.8-.23-3.56-.23-3.56z"></path><path fill="#3E2723" fill-opacity=".2" d="M22.54 16.4s-.2 1.5-.86 2.17c-.83.87-1.75.88-2.18.93-3.04.22-7.6.2-7.6.2s-4.56.02-7.6-.2c-.43-.05-1.35-.06-2.18-.93-.65-.67-.86-2.18-.86-2.18s-.22-1.8-.26-3.57v-.1c.04 1.76.26 3.54.26 3.54s.2 1.5.86 2.17c.83.88 1.75.88 2.18.93 3.04.22 7.6.2 7.6.2s4.56.02 7.6-.2c.43-.05 1.35-.05 2.18-.93.65-.66.86-2.17.86-2.17s.22-1.78.23-3.55v.1c0 1.8-.23 3.56-.23 3.56z"></path><path fill="#FFF" fill-opacity=".2" d="M9.68 15.08v.1l5.84-3.08v-.12"></path><path fill="#3E2723" fill-opacity=".2" d="M9.68 8.9v-.13l5.84 3.1v.1"></path><path fill="url(#youtube_round__a)" fill-opacity=".1" d="M21.54 3.4s-.2-1.5-.86-2.18C19.85.35 18.93.35 18.5.3 15.46.07 10.9.1 10.9.1S6.34.07 3.3.3c-.43.05-1.35.05-2.18.92C.47 1.9.26 3.4.26 3.4S.04 5.17 0 6.95V8.6c.04 1.8.26 3.56.26 3.56s.2 1.52.86 2.18c.83.87 1.9.85 2.4.94 1.7.16 7.2.2 7.38.2 0 0 4.57 0 7.6-.2.43-.06 1.35-.07 2.18-.94.65-.66.86-2.18.86-2.18s.22-1.77.24-3.55V6.97c-.02-1.78-.24-3.55-.24-3.55z" transform="translate(1 4.208)"></path></g></g></g><g width="24" height="24" viewBox="0 0 24 24" id="youtube_shorts_brand_24"><g><path d="M17.77,10.32l-1.2-.5L18,9.06a3.74,3.74,0,0,0-3.5-6.62L6,6.94a3.74,3.74,0,0,0,.23,6.74l1.2.49L6,14.93a3.75,3.75,0,0,0,3.5,6.63l8.5-4.5a3.74,3.74,0,0,0-.23-6.74Z" fill="red"></path><polygon points="10 14.65 15 12 10 9.35 10 14.65" fill="#fff"></polygon></g></g><g id="zoom_in"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path><path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></g><g id="zoom_out"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-logos"><svg><defs><g viewBox="0 0 376 376" id="lozenge"><path d="M375.47 116.9v28.4c-.24 30.27-4 60.58-4 60.58s-3.67 25.8-14.9 37.15c-14.23 14.9-30.18 14.98-37.5 15.84-52.4 3.8-131.12 3.67-131.16 3.67-3.27-.04-97.8-.7-127.24-3.52-8.32-1.56-27.06-1.1-41.3-16C8.1 231.7 4.46 205.9 4.46 205.9S.7 175.6 0 145.3v-28.4c.7-30.3 4.46-60.57 4.46-60.57s3.67-25.8 14.9-37.15C33.6 4.28 49.56 4.2 56.86 3.34c52.4-3.8 131.1-3.32 131.1-3.32s78.67-.47 131.08 3.32c7.3.86 23.26.94 37.5 15.84 11.22 11.34 14.9 37.15 14.9 37.15s3.75 30.27 4.03 60.58zM149.7 78.13V183.7l100.66-52.8L149.7 78.13z"></path></g><g viewBox="0 0 22 16" id="red"><path d="M2.6 7.03h.77C4.55 7.03 5 6.5 5 4.73c0-1.78-.45-2.3-1.63-2.3H2.6v4.6zM.43 15.26V.33h3.05c2.44 0 3.68 1.22 3.68 4.4 0 2.4-.8 3.37-1.52 3.77l1.84 6.76h-2.2L3.7 9.06c-.28.05-.73.08-1.12.08v6.12H.43zm17.34-7.9c0-1 .3-1.5.88-1.5.32 0 .66.16 1 .5v6.73c-.34.3-.68.46-1 .46-.58 0-.88-.5-.88-1.5V7.4zm-2 .17v4.4c0 1.02.07 1.76.2 2.23.27.82.8 1.24 1.6 1.24.72 0 1.4-.4 2.07-1.22v1.07h2V.4h-2v4.86c-.64-.8-1.33-1.2-2.06-1.2-.8 0-1.34.42-1.6 1.25-.14.47-.2 1.2-.2 2.25zM10.3 7.4c0-1.02.34-1.54 1-1.54.67 0 1 .52 1 1.54v1.02h-2V7.4zm4 2.7V7.8c0-1.18-.2-2.05-.6-2.6-.57-.76-1.37-1.14-2.37-1.14-1.02 0-1.82.38-2.4 1.13-.42.53-.62 1.4-.62 2.6v3.85c0 1.18.25 2.05.68 2.6.58.75 1.37 1.13 2.42 1.13 1.03 0 1.85-.4 2.4-1.2.25-.36.4-.76.48-1.2 0-.2.04-.65.04-1.3v-.3H12.3c0 .8-.04 1.26-.06 1.37-.1.53-.4.8-.9.8-.68 0-1-.5-1-1.53V10.1h4z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons" rtl-mirroring="" size="24"><svg><defs><g id="account_box-filled"><path d="M3,3v18h18V3H3z M20,20H4v-0.08c0.44-3.2,2.87-5.74,7.28-5.99C9.42,13.59,8,11.96,8,10c0-2.21,1.79-4,4-4 c2.21,0,4,1.79,4,4c0,1.96-1.42,3.59-3.28,3.93c4.41,0.25,6.84,2.8,7.28,5.99V20z"></path></g><g id="account_box"><path d="M3,3v18h18V3H3z M4.99,20c0.39-2.62,2.38-5.1,7.01-5.1s6.62,2.48,7.01,5.1H4.99z M9,10c0-1.65,1.35-3,3-3s3,1.35,3,3 c0,1.65-1.35,3-3,3S9,11.65,9,10z M12.72,13.93C14.58,13.59,16,11.96,16,10c0-2.21-1.79-4-4-4c-2.21,0-4,1.79-4,4 c0,1.96,1.42,3.59,3.28,3.93c-4.42,0.25-6.84,2.8-7.28,6V4h16v15.93C19.56,16.73,17.14,14.18,12.72,13.93z"></path></g><g id="account_circle-filled"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M8,9c0-2.21,1.79-4,4-4s4,1.79,4,4 c0,1.97-1.43,3.6-3.31,3.93c3.4,0.14,5.85,1.31,7.38,3.03C18.6,18.94,15.54,21,12,21c-3.54,0-6.6-2.06-8.07-5.04 c1.53-1.72,3.98-2.89,7.38-3.03C9.43,12.6,8,10.97,8,9z"></path></g><g id="account_circle"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,3c4.96,0,9,4.04,9,9 c0,1.42-0.34,2.76-0.93,3.96c-1.53-1.72-3.98-2.89-7.38-3.03C14.57,12.6,16,10.97,16,9c0-2.21-1.79-4-4-4C9.79,5,8,6.79,8,9 c0,1.97,1.43,3.6,3.31,3.93c-3.4,0.14-5.85,1.31-7.38,3.03C3.34,14.76,3,13.42,3,12C3,7.04,7.04,3,12,3z M9,9c0-1.65,1.35-3,3-3 s3,1.35,3,3c0,1.65-1.35,3-3,3S9,10.65,9,9z M12,21c-3.16,0-5.94-1.64-7.55-4.12C6.01,14.93,8.61,13.9,12,13.9 c3.39,0,5.99,1.03,7.55,2.98C17.94,19.36,15.16,21,12,21z"></path></g><g id="account_linked"><path d="M19.5,12.1L22,9.5L18,4H6L2,9.5L12,20l1.3-1.4c0.8,0.8,2,1.4,3.2,1.4c2.5,0,4.5-2,4.5-4.5C21,14.2,20.4,13,19.5,12.1 C19.5,12.1,19.5,12.1,19.5,12.1z M18.6,11.6C18,11.2,17.3,11,16.5,11c0,0-0.1,0-0.1,0l0.5-1h3.3L18.6,11.6z M17.5,5l2.9,4h-3.6 l-2-4H17.5z M13.7,5l2,4H8.3l2-4H13.7z M6.5,5h2.7l-2,4H3.6L6.5,5z M3.9,10h3.3l2.9,6.5L3.9,10z M12,15.5c0,0.7,0.2,1.3,0.4,1.9 c0,0,0,0,0,0l-0.4,1L8.3,10h7.5l-0.5,1.2c0,0,0,0,0,0C13.3,11.8,12,13.5,12,15.5z M16.2,17.4L14.8,16l0.7-0.7l0.7,0.7l1.9-1.9 l0.7,0.7L16.2,17.4z"></path></g><g id="account_unlinked"><path d="M18,4H6L2,9.5L12,20L22,9.5L18,4z M7.18,10l2.92,6.55L3.86,10H7.18z M15.73,10L12,18.37L8.27,10H15.73z M8.31,9l2-4h3.38 l2,4H8.31z M16.82,10h3.32l-6.23,6.55L16.82,10z M20.4,9h-3.59l-2-4h2.68L20.4,9z M6.51,5h2.68l-2,4H3.6L6.51,5z"></path></g><g id="add"><path d="M20,12h-8v8h-1v-8H3v-1h8V3h1v8h8V12z"></path></g><g id="add_circle"><path d="M17,13h-4v4h-2v-4H7v-2h4V7h2v4h4V13z M12,3c-4.96,0-9,4.04-9,9s4.04,9,9,9c4.96,0,9-4.04,9-9S16.96,3,12,3 M12,2 c5.52,0,10,4.48,10,10s-4.48,10-10,10C6.48,22,2,17.52,2,12S6.48,2,12,2L12,2z"></path></g><g id="add_moderator"><path d="M20,18h-2v2h-1v-2h-2v-1h2v-2h1v2h2V18z M22,17.5c0,2.49-2.01,4.5-4.5,4.5c-1.11,0-2.11-0.42-2.9-1.08 c-0.78,0.47-1.61,0.83-2.49,1.05L12,22l-0.12-0.03c-2.43-0.61-4.53-2.26-5.95-4.44c-0.19-0.29-0.36-0.58-0.52-0.88 c-0.22-0.41-0.42-0.84-0.6-1.28C4.3,14.05,4,12.62,4,11.15V5.67L12,2l8,3.67v5.49c0,0.83-0.1,1.65-0.28,2.45 C21.07,14.38,22,15.83,22,17.5z M13.9,20.17C13.34,19.42,13,18.5,13,17.5c0-2.49,2.01-4.5,4.5-4.5c0.45,0,0.88,0.09,1.29,0.21 c0.14-0.68,0.21-1.37,0.21-2.05V6.31L12,3.1L5,6.31v4.84c0,1.3,0.25,2.6,0.75,3.86c0.15,0.37,0.33,0.76,0.55,1.17 c0.14,0.27,0.31,0.54,0.48,0.81C8.09,19,9.94,20.41,12,20.97C12.66,20.79,13.29,20.52,13.9,20.17z M21,17.5c0-1.93-1.57-3.5-3.5-3.5 S14,15.57,14,17.5s1.57,3.5,3.5,3.5S21,19.43,21,17.5z"></path></g><g id="add_to_queue"><path d="M14,8H2V7h12V8z M10,11H2v1h8V11z M10,15H2v1h8V15z M22,7h-5v7.51C16.58,14.19,16.07,14,15.5,14c-1.38,0-2.5,1.12-2.5,2.5 c0,1.38,1.12,2.5,2.5,2.5c1.35,0,2.44-1.07,2.49-2.4L18,16.58V10h4V7z"></path></g><g id="add_to_queue_tail"><path d="M21,16h-7v-1h7V16z M21,11H9v1h12V11z M21,7H3v1h18V7z M10,15l-7-4v8L10,15z"></path></g><g id="add_video_link"><path d="M21,19h-2v2h-2v-2h-2v-2h2v-2h2v2h2V19z M4,3H3v18h1V3z M8,15H6v2h2V15z M8,11H6v2h2V11z M8,7H6v2h2V7z M8,19H6v2h2V19z M18,11h-2v2h2V11z M18,7h-2v2h2V7z M8,3H6v2h2V3z M18,3h-2v2h2V3z M21,3h-1v10h1V3z"></path></g><g id="admin_panel_settings"><path d="M12 20.95Q8.975 20.075 6.987 17.312Q5 14.55 5 11.1V5.7L12 3.075L19 5.7V11.35Q18.775 11.275 18.5 11.2Q18.225 11.125 18 11.075V6.375L12 4.15L6 6.375V11.1Q6 12.575 6.438 13.938Q6.875 15.3 7.625 16.438Q8.375 17.575 9.413 18.425Q10.45 19.275 11.625 19.725L11.675 19.7Q11.8 20 11.975 20.288Q12.15 20.575 12.375 20.825Q12.275 20.85 12.188 20.888Q12.1 20.925 12 20.95ZM17 17Q17.625 17 18.062 16.562Q18.5 16.125 18.5 15.5Q18.5 14.875 18.062 14.438Q17.625 14 17 14Q16.375 14 15.938 14.438Q15.5 14.875 15.5 15.5Q15.5 16.125 15.938 16.562Q16.375 17 17 17ZM17 20Q17.8 20 18.438 19.65Q19.075 19.3 19.5 18.7Q18.925 18.35 18.3 18.175Q17.675 18 17 18Q16.325 18 15.7 18.175Q15.075 18.35 14.5 18.7Q14.925 19.3 15.562 19.65Q16.2 20 17 20ZM17 21Q15.325 21 14.163 19.837Q13 18.675 13 17Q13 15.325 14.163 14.162Q15.325 13 17 13Q18.675 13 19.837 14.162Q21 15.325 21 17Q21 18.675 19.837 19.837Q18.675 21 17 21ZM12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Q12 11.95 12 11.95Z"></path></g><g id="album-filled"><path d="M13.11,12c0,0.61-0.5,1.11-1.11,1.11s-1.11-0.5-1.11-1.11s0.5-1.11,1.11-1.11S13.11,11.39,13.11,12z M22,12 c0,5.52-4.48,10-10,10S2,17.52,2,12S6.48,2,12,2S22,6.48,22,12z M17,12c0-2.77-2.23-5-5-5s-5,2.23-5,5s2.23,5,5,5S17,14.77,17,12z"></path></g><g id="album"><path d="M12,3c4.96,0,9,4.04,9,9s-4.04,9-9,9s-9-4.04-9-9S7.04,3,12,3 M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10 S17.52,2,12,2L12,2z M12,7c-2.77,0-5,2.23-5,5s2.23,5,5,5s5-2.23,5-5S14.77,7,12,7z M12,13.11c-0.61,0-1.11-0.5-1.11-1.11 s0.5-1.11,1.11-1.11s1.11,0.5,1.11,1.11S12.61,13.11,12,13.11z"></path></g><g id="apps-filled"><path d="M16,4v4h4V4H16z M16,10v4h4v-4H16z M10,4v4h4V4H10z M10,10v4h4v-4H10z M16,16v4h4v-4H16z M10,16v4h4v-4H10z M4,4v4h4V4H4z M4,10v4h4v-4H4z M4,16v4h4v-4H4z"></path></g><g id="apps"><path d="M16,4v4h4V4H16z M19,7h-2V5h2V7z M16,10v4h4v-4H16z M19,13h-2v-2h2V13z M10,4v4h4V4H10z M13,7h-2V5h2V7z M10,10v4h4v-4H10z M13,13h-2v-2h2V13z M16,16v4h4v-4H16z M19,19h-2v-2h2V19z M10,16v4h4v-4H10z M13,19h-2v-2h2V19z M4,4v4h4V4H4z M7,7H5V5h2V7z M4,10 v4h4v-4H4z M7,13H5v-2h2V13z M4,16v4h4v-4H4z M7,19H5v-2h2V19z"></path></g><g mirror-in-rtl="" id="arrow_back"><path d="M21,11v1H5.64l6.72,6.72l-0.71,0.71L3.72,11.5l7.92-7.92l0.71,0.71L5.64,11H21z"></path></g><g id="arrow_drop_down"><path d="M18,9l-6,6L6,9H18z"></path></g><g id="arrow_drop_up"><path d="M18,15H6l6-6L18,15z"></path></g><g id="arrow_flip"><path d="M8,9.03H3.92C5.38,5.8,8.6,3.57,12.19,3.57c4.09,0,6.96,2.71,8.11,6.43h1.11c-1.18-4.32-4.53-7.5-9.21-7.5 c-3.88,0-7.49,2.22-9.2,5.63V3H2.01v7H8V9.03z M16.04,14.97h4.07c-1.47,3.23-4.68,5.46-8.27,5.46c-4.09,0-6.96-2.71-8.11-6.43H2.62 c1.18,4.32,4.53,7.5,9.21,7.5c3.88,0,7.49-2.22,9.2-5.63V21H22v-7h-5.96V14.97z"></path></g><g mirror-in-rtl="" id="arrow_forward"><path d="M3.01,12v-1h15.36l-6.72-6.72l0.71-0.71l7.92,7.92l-7.92,7.92l-0.71-0.71L18.36,12H3.01z"></path></g><g id="artist-filled"><path d="M22,10h-4v2v3.51C17.58,15.19,17.07,15,16.5,15c-1.38,0-2.5,1.12-2.5,2.5c0,1.38,1.12,2.5,2.5,2.5 c1.36,0,2.46-1.08,2.5-2.43V12h3V10z M12.81,20H2c0-4.24,2.77-7.79,8.28-8.07C8.42,11.59,7,9.96,7,8c0-2.21,1.79-4,4-4 c2.21,0,4,1.79,4,4c0,1.96-1.42,3.59-3.28,3.93c0.92,0.05,1.75,0.19,2.51,0.41C12.87,13.44,12,15.12,12,17 C12,18.09,12.3,19.12,12.81,20z"></path></g><g id="artist"><path d="M22,10h-4v2v3.51C17.58,15.19,17.07,15,16.5,15c-1.38,0-2.5,1.12-2.5,2.5c0,1.38,1.12,2.5,2.5,2.5 c1.36,0,2.46-1.08,2.5-2.43V12h3V10z M3.06,19c0.38-3.11,2.61-6.1,7.94-6.1c0.62,0,1.19,0.05,1.73,0.13l0.84-0.84 c-0.58-0.13-1.19-0.23-1.85-0.26C13.58,11.59,15,9.96,15,8c0-2.21-1.79-4-4-4C8.79,4,7,5.79,7,8c0,1.96,1.42,3.59,3.28,3.93 C4.77,12.21,2,15.76,2,20h10.02L12,19H3.06z M8,8c0-1.65,1.35-3,3-3s3,1.35,3,3s-1.35,3-3,3S8,9.65,8,8z"></path></g><g id="auto_awesome-filled"><path d="M9.91,19.19l-1.56-5.53L2.83,12.1l5.53-1.56l1.56-5.53l1.56,5.53L17,12.1l-5.53,1.56L9.91,19.19z M16.72,16.81l-2.76,0.78 l2.76,0.78l0.78,2.76l0.78-2.76l2.76-0.78l-2.76-0.78l-0.78-2.76L16.72,16.81z M17.5,2.96l-0.78,2.76L13.96,6.5l2.76,0.78 l0.78,2.76l0.78-2.76l2.76-0.78l-2.76-0.78L17.5,2.96z"></path></g><g id="auto_awesome"><path d="M9.91,8.7l0.6,2.12l0.15,0.54l0.54,0.15l2.12,0.6l-2.12,0.6l-0.54,0.15l-0.15,0.54l-0.6,2.12l-0.6-2.12l-0.15-0.54 L8.62,12.7l-2.12-0.6l2.12-0.6l0.54-0.15l0.15-0.54L9.91,8.7 M9.91,5.01l-1.56,5.53L2.83,12.1l5.53,1.56l1.56,5.53l1.56-5.53 L17,12.1l-5.53-1.56L9.91,5.01L9.91,5.01z M16.72,16.81l-2.76,0.78l2.76,0.78l0.78,2.76l0.78-2.76l2.76-0.78l-2.76-0.78l-0.78-2.76 L16.72,16.81z M17.5,2.96l-0.78,2.76L13.96,6.5l2.76,0.78l0.78,2.76l0.78-2.76l2.76-0.78l-2.76-0.78L17.5,2.96z"></path></g><g id="bag-filled"><path d="M16.9,6c-0.46-2.28-2.48-4-4.9-4S7.56,3.72,7.1,6H4v14c0,1.1,0.9,2,2,2h12 c1.1,0,2-0.9,2-2V6H16.9z M12,3c1.86,0,3.43,1.27,3.87,3H8.13C8.57,4.27,10.14,3,12,3z M12,14c-3.31,0-6-2.69-6-6h2 c0,2.21,1.79,4,4,4s4-1.79,4-4h2C18,11.31,15.31,14,12,14z" fill-rule="evenodd"></path></g><g id="bag"><path d="M7,8c0,2.76,2.24,5,5,5s5-2.24,5-5h-1c0,2.21-1.79,4-4,4s-4-1.79-4-4H7z M16.9,6c-0.46-2.28-2.48-4-4.9-4S7.56,3.72,7.1,6H4 v14c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V6H16.9z M12,3c1.86,0,3.43,1.27,3.87,3H8.13C8.57,4.27,10.14,3,12,3z M19,20 c0,0.55-0.45,1-1,1H6c-0.55,0-1-0.45-1-1V7h14V20z"></path></g><g id="bar_chart-filled"><path d="M17,14v3h-2v-3H17z M11,7v10h2V7H11z M7,10v7h2v-7H7z"></path></g><g id="bar_chart"><path d="M16,14v3h-1v-3H16z M11,7v10h1V7H11z M7,10v7h1v-7H7z"></path></g><g id="bar_horizontal"><path d="M18,12H6v-1h12V12z"></path></g><g id="bookmark-filled"><path d="M19,3H5v18l7-5l7,5V3z"></path></g><g id="bookmark"><path d="M18,4v15.06l-5.42-3.87L12,14.77l-0.58,0.42L6,19.06V4H18 M19,3H5v18l7-5l7,5V3L19,3z"></path></g><g id="calendar-filled"><path d="M18,4V2h-2v2H8V2H6v2H3v18h18V4H18z M19,20H5V9h14V20z"></path></g><g id="calendar"><path d="M19,20H5V9h14V20z M18,4V2h-2v2H8V2H6v2H3v18h18V4H18z M20,21H4V5h16V21z"></path></g><g id="camera_alt"><path d="M12,10c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,10,12,10 M12,9c-2.21,0-4,1.79-4,4s1.79,4,4,4s4-1.79,4-4 S14.21,9,12,9L12,9z M14.59,5l1.71,1.71L16.59,7H17h4v12H3V7h4h0.41l0.29-0.29L9.41,5H14.59 M15,4H9L7,6H2v14h20V6h-5L15,4L15,4z"></path></g><g height="24" width="24" id="cast_outline"><path d="M22 20h-8v-1h7V5H3v3H2V4h20v16zM2 17.32V20h2.73c0-1.48-1.22-2.68-2.73-2.68zm0-3.57v1.79c2.51 0 4.55 2 4.55 4.46h1.82c-.01-3.45-2.85-6.25-6.37-6.25zm0-3.57v1.79c4.52 0 8.18 3.6 8.18 8.03H12c0-5.43-4.48-9.82-10-9.82z"></path></g><g id="chat_bubble-filled"><path d="M4,2v15h11l5,5V2H4z"></path></g><g id="chat_bubble"><path d="M5,3h14v16.59l-3.29-3.29L15.41,16H15H5V3 M4,2v15h11l5,5V2H4L4,2z"></path></g><g id="chat_off-filled"><path d="M3.85,3.15L3.15,3.85L4,4.71V22l5-5h7.29l3.85,3.85l0.71-0.71L3.85,3.15z M8,13v-2h2.29l2,2H8z M10.54,7l-5-5H20v14.46 L12.54,9H16V7H10.54z"></path></g><g id="chat_off"><path d="M13,12.29V11h-1.29l-2-2H16V7H8v0.29L3.85,3.15L3.15,3.85L4,4.71V22l5-5h7.29l3.85,3.85l0.71-0.71L13,12.29z M10.29,11H8v2 h4.29l3,3H9H8.59l-0.29,0.29L5,19.59V5.71L10.29,11z M6.54,3l-1-1H20v14.46l-1-1V3H6.54z"></path></g><g id="check-filled"><path d="M9,19.4l-5.7-5.7l1.4-1.4L9,16.6L20.3,5.3l1.4,1.4L9,19.4z"></path></g><g id="check"><path d="M9,18.7l-5.4-5.4l0.7-0.7L9,17.3L20.6,5.6l0.7,0.7L9,18.7z"></path></g><g id="check_box"><path d="M3 3V21H21V3H3ZM9.65 17L5.85 13.2L7.26 11.79L9.64 14.17L16.73 7.08L18.14 8.49L9.65 17Z"></path></g><g id="check_box_bar"><path d="M3 3V21H21V3H3ZM17 13H7V11H17V13Z"></path></g><g id="check_box_outline_blank"><path d="M3 3V21H21V3H3ZM20 20H4V4H20V20Z"></path></g><g id="check_circle_thick-filled"><path d="M12,2C6.5,2,2,6.5,2,12c0,5.5,4.5,10,10,10s10-4.5,10-10C22,6.5,17.5,2,12,2z M9.8,17.3l-4.2-4.1L7,11.8l2.8,2.7L17,7.4 l1.4,1.4L9.8,17.3z"></path></g><g id="check_circle_thick"><path d="M9.8,17.3l-4.2-4.1L7,11.8l2.8,2.7L17,7.4l1.4,1.4L9.8,17.3z M12,3c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S17,3,12,3 M12,2 c5.5,0,10,4.5,10,10s-4.5,10-10,10S2,17.5,2,12S6.5,2,12,2L12,2z"></path></g><g mirror-in-rtl="" id="chevron_left"><path d="M14.6,18.4L8.3,12l6.4-6.4l0.7,0.7L9.7,12l5.6,5.6L14.6,18.4z"></path></g><g mirror-in-rtl="" id="chevron_right"><path d="M9.4,18.4l-0.7-0.7l5.6-5.6L8.6,6.4l0.7-0.7l6.4,6.4L9.4,18.4z"></path></g><g id="clarify"><path fill-rule="evenodd" clip-rule="evenodd" d="M13,17H6v-2h7V17z M13,13H6v-2h7V13z M13,9H6V7h7V9z M18,17h-2V7h2V17z M20,4v16H4 V4H20 M21,3H3v18h18V3L21,3z"></path></g><g id="close"><path d="M12.7,12l6.6,6.6l-0.7,0.7L12,12.7l-6.6,6.6l-0.7-0.7l6.6-6.6L4.6,5.4l0.7-0.7l6.6,6.6l6.6-6.6l0.7,0.7L12.7,12z"></path></g><g id="collapse"><polygon points="18.4,14.6 12,8.3 5.6,14.6 6.4,15.4 12,9.7 17.6,15.4 "></polygon></g><g id="comment-filled"><path d="M4,2v15h11l5,5V2H4z M8,11h5v2H8V11z M8,7h8v2H8V7z"></path></g><g id="comment"><path d="M8,7h8v2H8V7z M8,13h5v-2H8V13z M5,3v13h10h0.41l0.29,0.29L19,19.59V3H5 M4,2h16v20l-5-5H4V2L4,2z"></path></g><g id="content_cut-filled"><path d="M22,3h-4l-5,5l3,3l6-6V3L22,3z M10.79,7.79C10.91,7.38,11,6.95,11,6.5C11,4.01,8.99,2,6.5,2S2,4.01,2,6.5S4.01,11,6.5,11 c0.45,0,0.88-0.09,1.29-0.21L9,12l-1.21,1.21C7.38,13.09,6.95,13,6.5,13C4.01,13,2,15.01,2,17.5S4.01,22,6.5,22s4.5-2.01,4.5-4.5 c0-0.45-0.09-0.88-0.21-1.29L12,15l6,6h4v-2L10.79,7.79z M6.5,8C5.67,8,5,7.33,5,6.5S5.67,5,6.5,5S8,5.67,8,6.5S7.33,8,6.5,8z M6.5,19C5.67,19,5,18.33,5,17.5S5.67,16,6.5,16S8,16.67,8,17.5S7.33,19,6.5,19z"></path></g><g id="content_cut"><path d="M8,7c0,0.55-0.45,1-1,1S6,7.55,6,7c0-0.55,0.45-1,1-1S8,6.45,8,7z M7,16c-0.55,0-1,0.45-1,1c0,0.55,0.45,1,1,1s1-0.45,1-1 C8,16.45,7.55,16,7,16z M10.79,8.23L21,18.44V20h-3.27l-5.76-5.76l-1.27,1.27C10.89,15.97,11,16.47,11,17c0,2.21-1.79,4-4,4 c-2.21,0-4-1.79-4-4c0-2.21,1.79-4,4-4c0.42,0,0.81,0.08,1.19,0.2l1.37-1.37l-1.11-1.11C8,10.89,7.51,11,7,11c-2.21,0-4-1.79-4-4 c0-2.21,1.79-4,4-4c2.21,0,4,1.79,4,4C11,7.43,10.91,7.84,10.79,8.23z M10.08,8.94L9.65,8.5l0.19-0.58C9.95,7.58,10,7.28,10,7 c0-1.65-1.35-3-3-3S4,5.35,4,7c0,1.65,1.35,3,3,3c0.36,0,0.73-0.07,1.09-0.21L8.7,9.55l0.46,0.46l1.11,1.11l0.71,0.71l-0.71,0.71 L8.9,13.91l-0.43,0.43l-0.58-0.18C7.55,14.05,7.27,14,7,14c-1.65,0-3,1.35-3,3c0,1.65,1.35,3,3,3s3-1.35,3-3 c0-0.38-0.07-0.75-0.22-1.12l-0.25-0.61L10,14.8l1.27-1.27l0.71-0.71l0.71,0.71L18.15,19H20v-0.15L10.08,8.94z M17.73,4H21v1.56 l-5.52,5.52l-2.41-2.41L17.73,4z M18.15,5l-3.67,3.67l1,1L20,5.15V5H18.15z"></path></g><g id="copy"><path d="M19,6v15H8V6H19 M15,2H4v16h1V3h10V2L15,2z M20,5H7v17h13V5L20,5z"></path></g><g id="course-filled"><path d="M16,21h-2.28c-0.35,0.6-0.98,1-1.72,1s-1.38-0.4-1.72-1H8v-1h8V21z M20,10c0,2.96-1.61,5.54-4,6.92V19H8v-2.08 C5.61,15.54,4,12.96,4,10c0-4.42,3.58-8,8-8S20,5.58,20,10z"></path></g><g id="course"><path d="M16,21h-2.28c-0.35,0.6-0.98,1-1.72,1s-1.38-0.4-1.72-1H8v-1h8V21z M20,10c0,2.96-1.61,5.54-4,6.92V19H8v-2.08 C5.61,15.54,4,12.96,4,10c0-4.42,3.58-8,8-8S20,5.58,20,10z M15,18v-1.66l0.5-0.29C17.66,14.8,19,12.48,19,10c0-3.86-3.14-7-7-7 s-7,3.14-7,7c0,2.48,1.34,4.8,3.5,6.06L9,16.34V18H15z"></path></g><g id="creation_post-filled"><path d="M15.01,5.92l3.06,3.06L9.05,18H5.99v-3.06L15.01,5.92L15.01,5.92z M17.91,3.02L15.83,5.1l3.09,3.09L21,6.11L17.91,3.02 L17.91,3.02z M21,10h-1v10H4V4h10V3H3v18h18V10z"></path></g><g id="creation_post"><path d="M15.01,7.34l1.64,1.64L8.64,17H6.99v-1.64L15.01,7.34 M15.01,5.92l-9.02,9.02V18h3.06l9.02-9.02L15.01,5.92L15.01,5.92z M17.91,4.43l1.67,1.67l-0.67,0.67L17.24,5.1L17.91,4.43 M17.91,3.02L15.83,5.1l3.09,3.09L21,6.11L17.91,3.02L17.91,3.02z M21,10h-1 v10H4V4h10V3H3v18h18V10z"></path></g><g id="creator_metadata_monetization-filled"><path d="M17.37,15.17c0,1.19-0.45,2.13-1.35,2.81c-0.76,0.58-1.78,0.89-3.02,0.98V21h-2v-2.11c-0.59-0.1-1.15-0.25-1.67-0.48 c-0.9-0.4-1.57-0.94-2.02-1.63c-0.45-0.69-0.68-1.48-0.68-2.38h3.29c0,0.73,0.19,1.27,0.57,1.61c0.38,0.35,0.99,0.52,1.84,0.52 c0.54,0,0.97-0.12,1.29-0.35c0.32-0.23,0.47-0.56,0.47-0.99c0-0.48-0.17-0.85-0.51-1.12c-0.34-0.27-0.94-0.55-1.79-0.83 s-1.55-0.56-2.1-0.83c-1.77-0.87-2.65-2.06-2.65-3.58c0-0.75,0.22-1.42,0.66-2C8.14,6.25,8.76,5.8,9.57,5.48 C10.01,5.3,10.49,5.18,11,5.1V3h2v2.03c0.7,0.07,1.33,0.23,1.91,0.49c0.78,0.35,1.38,0.85,1.81,1.49c0.43,0.65,0.65,1.38,0.65,2.21 H14.1c0-0.56-0.17-0.99-0.51-1.29c-0.34-0.31-0.8-0.46-1.38-0.46c-0.59,0-1.05,0.13-1.39,0.39c-0.34,0.26-0.51,0.59-0.51,0.99 c0,0.35,0.19,0.67,0.56,0.95c0.37,0.28,1.03,0.58,1.97,0.88c0.94,0.3,1.72,0.63,2.32,0.98C16.64,12.51,17.37,13.68,17.37,15.17z"></path></g><g id="creator_metadata_monetization"><path d="M16.95,15.35c0,1.1-0.43,1.99-1.29,2.65c-0.69,0.54-1.59,0.84-2.66,0.95V21h-2v-2.11c-0.49-0.09-0.96-0.23-1.41-0.43 c-0.81-0.36-1.44-0.85-1.88-1.47c-0.44-0.62-0.66-1.33-0.66-2.12h1.81c0,0.82,0.3,1.47,0.91,1.95c0.61,0.48,1.42,0.72,2.44,0.72 c0.95,0,1.68-0.19,2.18-0.58c0.51-0.39,0.76-0.91,0.76-1.58s-0.23-1.18-0.7-1.55c-0.47-0.36-1.32-0.73-2.55-1.08 c-1.54-0.44-2.66-0.99-3.36-1.63c-0.7-0.65-1.05-1.44-1.05-2.39c0-1.07,0.43-1.96,1.29-2.66C9.38,5.55,10.13,5.24,11,5.1V3h2v2.07 c0.58,0.08,1.12,0.23,1.62,0.48c0.73,0.36,1.3,0.86,1.7,1.5c0.4,0.64,0.6,1.33,0.6,2.09h-1.81c0-0.83-0.26-1.48-0.79-1.95 c-0.52-0.47-1.26-0.71-2.22-0.71c-0.89,0-1.58,0.19-2.07,0.59C9.54,7.45,9.3,7.99,9.3,8.68c0,0.56,0.24,1.03,0.71,1.41 c0.47,0.38,1.27,0.74,2.4,1.05c1.13,0.32,2.02,0.67,2.66,1.05c0.64,0.38,1.11,0.83,1.42,1.34C16.8,14.06,16.95,14.66,16.95,15.35z"></path></g><g id="creator_metadata_monetization_off"><path d="M20.15,20.85l-3.71-3.71c-0.2,0.32-0.45,0.61-0.77,0.86c-0.69,0.54-1.59,0.84-2.66,0.95V21h-2v-2.11 c-0.49-0.09-0.96-0.23-1.41-0.43c-0.81-0.36-1.44-0.85-1.88-1.47c-0.44-0.62-0.66-1.33-0.66-2.12h1.81c0,0.82,0.3,1.47,0.91,1.95 c0.61,0.48,1.42,0.72,2.44,0.72c0.95,0,1.68-0.19,2.18-0.58c0.39-0.3,0.62-0.68,0.71-1.14l-3.01-3.01c-0.07-0.02-0.13-0.04-0.2-0.06 c-1.54-0.44-2.66-0.99-3.36-1.63c-0.7-0.65-1.05-1.44-1.05-2.39c0-0.17,0.02-0.33,0.04-0.49L3.15,3.85l0.71-0.71l17,17L20.15,20.85z M12.11,6.47c0.95,0,1.69,0.24,2.22,0.71c0.52,0.47,0.79,1.12,0.79,1.95h1.81c0-0.75-0.2-1.45-0.6-2.09c-0.4-0.64-0.97-1.14-1.7-1.5 C14.12,5.3,13.58,5.15,13,5.07V3h-2v2.1C10.34,5.2,9.76,5.41,9.25,5.71l1.13,1.13C10.84,6.6,11.41,6.47,12.11,6.47z"></path></g><g id="creator_studio-filled"><path d="M19.56,12c0-0.39-0.03-0.77-0.09-1.14l2.19-2.13l-2-3.46L16.74,6.1c-0.6-0.48-1.27-0.87-2-1.14L14,2h-4L9.26,4.96 c-0.73,0.27-1.4,0.66-2,1.14L4.34,5.27l-2,3.46l2.19,2.13C4.47,11.23,4.44,11.61,4.44,12s0.03,0.77,0.09,1.14l-2.19,2.13l2,3.46 l2.92-0.83c0.6,0.48,1.27,0.87,2,1.14L10,22h4l0.74-2.96c0.73-0.27,1.4-0.66,2-1.14l2.92,0.83l2-3.46l-2.19-2.13 C19.53,12.77,19.56,12.39,19.56,12z M10,15V9l5.2,3L10,15z"></path></g><g id="creator_studio"><path d="M10,9l5.2,3L10,15V9z M13.22,3h-2.44l-0.55,2.2L10.1,5.71L9.61,5.9C9,6.12,8.42,6.45,7.88,6.88L7.48,7.2l-0.5-0.14 L4.82,6.44L3.6,8.56l1.63,1.59l0.37,0.36l-0.08,0.51C5.47,11.34,5.44,11.67,5.44,12s0.03,0.66,0.08,0.98l0.08,0.51l-0.37,0.36 L3.6,15.44l1.22,2.11l2.17-0.62l0.5-0.14l0.4,0.32C8.42,17.55,9,17.88,9.61,18.1l0.5,0.18l0.13,0.51l0.55,2.2h2.44l0.55-2.2 l0.13-0.51l0.5-0.18c0.61-0.23,1.19-0.56,1.72-0.98l0.4-0.32l0.5,0.14l2.17,0.62l1.22-2.11l-1.63-1.59l-0.37-0.36l0.08-0.51 c0.05-0.32,0.08-0.64,0.08-0.98s-0.03-0.66-0.08-0.98l-0.08-0.51l0.37-0.36l1.63-1.59l-1.22-2.11l-2.17,0.62l-0.5,0.14l-0.4-0.32 C15.58,6.45,15,6.12,14.39,5.9l-0.5-0.18L13.77,5.2L13.22,3 M14,2l0.74,2.96c0.73,0.27,1.4,0.66,2,1.14l2.92-0.83l2,3.46l-2.19,2.13 c0.06,0.37,0.09,0.75,0.09,1.14s-0.03,0.77-0.09,1.14l2.19,2.13l-2,3.46l-2.92-0.83c-0.6,0.48-1.27,0.87-2,1.14L14,22h-4l-0.74-2.96 c-0.73-0.27-1.4-0.66-2-1.14l-2.92,0.83l-2-3.46l2.19-2.13C4.47,12.77,4.44,12.39,4.44,12s0.03-0.77,0.09-1.14L2.34,8.73l2-3.46 L7.26,6.1c0.6-0.48,1.27-0.87,2-1.14L10,2H14L14,2z"></path></g><g id="credit_card-filled"><path d="M22 11V17C22 18.1 21.1 19 20 19H4C2.9 19 2 18.1 2 17V11H22ZM22 8V7C22 5.9 21.1 5 20 5H4C2.9 5 2 5.9 2 7V8H22Z"></path></g><g id="credit_card"><path fill-rule="evenodd" clip-rule="evenodd" d="M20 5H4C2.9 5 2 5.9 2 7V17C2 18.1 2.9 19 4 19H20C21.1 19 22 18.1 22 17V7C22 5.9 21.1 5 20 5ZM21 17C21 17.55 20.55 18 20 18H4C3.45 18 3 17.55 3 17V11H21V17ZM21 8H3V7C3 6.45 3.45 6 4 6H20C20.55 6 21 6.45 21 7V8Z"></path></g><g id="dark_theme-filled"><path d="M21.9999 12C21.9999 17.51 17.5099 22 11.9999 22C10.9299 22 9.86992 21.83 8.83992 21.48L7.41992 21.01L8.83992 20.54C12.5299 19.31 14.9999 15.88 14.9999 12C14.9999 8.12 12.5299 4.69 8.83992 3.47L7.41992 2.99L8.83992 2.52C9.86992 2.17 10.9299 2 11.9999 2C17.5099 2 21.9999 6.49 21.9999 12Z"></path></g><g id="dark_theme"><path d="M12 22C10.93 22 9.86998 21.83 8.83998 21.48L7.41998 21.01L8.83998 20.54C12.53 19.31 15 15.88 15 12C15 8.12 12.53 4.69 8.83998 3.47L7.41998 2.99L8.83998 2.52C9.86998 2.17 10.93 2 12 2C17.51 2 22 6.49 22 12C22 17.51 17.51 22 12 22ZM10.58 20.89C11.05 20.96 11.53 21 12 21C16.96 21 21 16.96 21 12C21 7.04 16.96 3 12 3C11.53 3 11.05 3.04 10.58 3.11C13.88 4.81 16 8.21 16 12C16 15.79 13.88 19.19 10.58 20.89Z"></path></g><g id="delete-filled"><path d="M15,4V3H9v1H5v1h1v16h12V5h1V4H15z M11,17H9V8h2V17z M15,17h-2V8h2V17z"></path></g><g id="delete"><path d="M11,17H9V8h2V17z M15,8h-2v9h2V8z M19,4v1h-1v16H6V5H5V4h4V3h6v1H19z M17,5H7v15h10V5z"></path></g><g id="dislike-filled"><path d="M18,4h3v10h-3V4z M5.23,14h4.23l-1.52,4.94C7.62,19.97,8.46,21,9.62,21c0.58,0,1.14-0.24,1.52-0.65L17,14V4H6.57 C5.5,4,4.59,4.67,4.38,5.61l-1.34,6C2.77,12.85,3.82,14,5.23,14z"></path></g><g id="dislike"><path d="M17,4h-1H6.57C5.5,4,4.59,4.67,4.38,5.61l-1.34,6C2.77,12.85,3.82,14,5.23,14h4.23l-1.52,4.94C7.62,19.97,8.46,21,9.62,21 c0.58,0,1.14-0.24,1.52-0.65L17,14h4V4H17z M10.4,19.67C10.21,19.88,9.92,20,9.62,20c-0.26,0-0.5-0.11-0.63-0.3 c-0.07-0.1-0.15-0.26-0.09-0.47l1.52-4.94l0.4-1.29H9.46H5.23c-0.41,0-0.8-0.17-1.03-0.46c-0.12-0.15-0.25-0.4-0.18-0.72l1.34-6 C5.46,5.35,5.97,5,6.57,5H16v8.61L10.4,19.67z M20,13h-3V5h3V13z"></path></g><g id="done_all-filled"><path d="M11.65,12.74l-1.41-1.41l5.38-5.38l1.41,1.41L11.65,12.74z M7.21,15.77l-3.79-3.79L2,13.4l3.79,3.79L7.21,15.77z M22,7.48 l-1.41-1.41l-9,9l-3.21-3.21l-1.41,1.41l4.62,4.62L22,7.48z"></path></g><g id="done_all"><path d="M10.51,14.74l-0.71-0.71l7.74-7.74L18.25,7L10.51,14.74z M7.31,17.24l-4.35-4.35l-0.71,0.71l4.35,4.35L7.31,17.24z M21.75,7 L21.04,6.3L10.45,16.88l-4-4l-0.71,0.71l4.71,4.71L21.75,7z"></path></g><g id="down_arrow-filled"><polygon points="18.79,11.29 13,17.09 13,4 11,4 11,17.09 5.21,11.29 3.79,12.71 12,20.91 20.21,12.71 "></polygon></g><g id="down_arrow"><polygon points="18.65,11.65 12,18.29 12,4 11,4 11,18.29 4.35,11.65 3.65,12.35 11.5,20.21 19.35,12.35 "></polygon></g><g id="drag_handle"><path d="M21,10H3V9h18V10z M21,14H3v1h18V14z"></path></g><g id="edit"><path d="M14.06,7.6l2.34,2.34L6.34,20H4v-2.34L14.06,7.6 M14.06,6.19L3,17.25V21h3.75L17.81,9.94L14.06,6.19L14.06,6.19z M17.61,4.05l2.37,2.37l-1.14,1.14l-2.37-2.37L17.61,4.05 M17.61,2.63l-2.55,2.55l3.79,3.79l2.55-2.55L17.61,2.63L17.61,2.63z"></path></g><g id="email-filled"><path d="M2,5.78V5h20v0.73l-10.04,7.83L2,5.78z M11.96,16.06L2,8.31V19h20V8.26L11.96,16.06z"></path></g><g id="email"><path d="M2,5v14h20V5H2z M21,6v0.88l-9,6.8l-9-6.8V6H21z M3,18V8.13l9,6.8l9-6.8V18H3z"></path></g><g id="emoji_activities-filled"><path d="M18,10c-0.74,0-1.42-0.22-2.02-0.57l3.76-3.76c0.64,0.78,1.16,1.66,1.54,2.61C20.55,9.32,19.36,10,18,10z M6,12 c1.3,0,2.49,0.41,3.47,1.11L10.59,12L4.26,5.67C2.85,7.4,2,9.6,2,12c0,0.49,0.05,0.96,0.11,1.43C3.16,12.54,4.52,12,6,12z M12,10.59 l1.11-1.11C12.41,8.49,12,7.3,12,6c0-1.48,0.54-2.84,1.43-3.89C12.96,2.05,12.49,2,12,2C9.6,2,7.4,2.85,5.67,4.26L12,10.59z M18.33,4.26c-0.78-0.64-1.66-1.16-2.61-1.54C14.68,3.45,14,4.64,14,6c0,0.74,0.22,1.42,0.57,2.02L18.33,4.26z M5.67,19.74 c0.78,0.64,1.66,1.16,2.61,1.54C9.32,20.55,10,19.36,10,18c0-0.74-0.22-1.42-0.57-2.02L5.67,19.74z M18,12 c-1.3,0-2.49-0.41-3.47-1.11L13.41,12l6.33,6.33C21.15,16.6,22,14.4,22,12c0-0.49-0.05-0.96-0.11-1.43C20.84,11.46,19.48,12,18,12z M12,13.41l-1.11,1.11C11.59,15.51,12,16.7,12,18c0,1.48-0.54,2.84-1.43,3.89C11.04,21.95,11.51,22,12,22c2.4,0,4.6-0.85,6.33-2.26 L12,13.41z M6,14c-1.36,0-2.55,0.68-3.28,1.72c0.38,0.95,0.9,1.83,1.54,2.61l3.76-3.76C7.42,14.22,6.74,14,6,14z"></path></g><g id="emoji_activities"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M13.89,3.2 c1.55,0.33,2.96,1.07,4.1,2.1l-3.84,3.84C13.44,8.28,13,7.2,13,6C13,4.96,13.34,4,13.89,3.2z M18.7,6.01 c1.02,1.14,1.77,2.55,2.1,4.1C20,10.66,19.04,11,18,11c-1.2,0-2.28-0.44-3.15-1.15L18.7,6.01z M12.8,3.04C12.3,3.92,12,4.92,12,6 c0,1.48,0.54,2.83,1.42,3.87L12,11.29L6.01,5.3C7.6,3.88,9.7,3,12,3C12.27,3,12.53,3.02,12.8,3.04z M5.3,6.01L11.29,12l-1.42,1.42 C8.83,12.54,7.48,12,6,12c-1.08,0-2.09,0.29-2.96,0.79C3.02,12.53,3,12.27,3,12C3,9.7,3.88,7.6,5.3,6.01z M10.11,20.8 c-1.55-0.33-2.96-1.07-4.1-2.1l3.84-3.84C10.56,15.72,11,16.8,11,18C11,19.04,10.66,20,10.11,20.8z M3.2,13.89C4,13.34,4.96,13,6,13 c1.2,0,2.28,0.44,3.15,1.15L5.3,17.99C4.28,16.85,3.54,15.44,3.2,13.89z M11.2,20.96C11.7,20.08,12,19.08,12,18 c0-1.48-0.54-2.83-1.42-3.87L12,12.71l5.99,5.99C16.4,20.12,14.3,21,12,21C11.73,21,11.46,20.98,11.2,20.96z M18.7,17.99L12.71,12 l1.42-1.42C15.17,11.46,16.52,12,18,12c1.08,0,2.08-0.3,2.96-0.8C20.98,11.46,21,11.73,21,12C21,14.3,20.12,16.4,18.7,17.99z"></path></g><g id="error-filled"><path d="M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M13,17h-2v-2h2V17z M13,13h-2V7h2V13z"></path></g><g id="error"><path d="M13,13h-2V7h2V13z M13,17h-2v-2h2V17z M22,12c0,5.52-4.48,10-10,10S2,17.52,2,12S6.48,2,12,2S22,6.48,22,12z M21,12 c0-4.96-4.04-9-9-9c-4.96,0-9,4.04-9,9c0,4.96,4.04,9,9,9C16.96,21,21,16.96,21,12z"></path></g><g id="exit_to_app"><path d="M20,3v18H8v-1h11V4H8V3H20z M11.1,15.1l0.7,0.7l4.4-4.4l-4.4-4.4l-0.7,0.7l3.1,3.1H3v1h11.3L11.1,15.1z"></path></g><g id="expand"><path d="M12,15.7L5.6,9.4l0.7-0.7l5.6,5.6l5.6-5.6l0.7,0.7L12,15.7z"></path></g><g id="explore-filled"><path d="M11.23,13.08c-0.29-0.21-0.48-0.51-0.54-0.86c-0.06-0.35,0.02-0.71,0.23-0.99c0.21-0.29,0.51-0.48,0.86-0.54 c0.35-0.06,0.7,0.02,0.99,0.23c0.29,0.21,0.48,0.51,0.54,0.86c0.06,0.35-0.02,0.71-0.23,0.99c-0.21,0.29-0.51,0.48-0.86,0.54 c-0.07,0.01-0.15,0.02-0.22,0.02C11.72,13.33,11.45,13.25,11.23,13.08z M22,12c0,5.52-4.48,10-10,10S2,17.52,2,12 C2,6.48,6.48,2,12,2S22,6.48,22,12z M18.03,5.97L9.8,9.8l-3.83,8.23l8.23-3.83L18.03,5.97z"></path></g><g id="explore"><path d="M9.8,9.8l-3.83,8.23l8.23-3.83l3.83-8.23L9.8,9.8z M13.08,12.77c-0.21,0.29-0.51,0.48-0.86,0.54 c-0.07,0.01-0.15,0.02-0.22,0.02c-0.28,0-0.54-0.08-0.77-0.25c-0.29-0.21-0.48-0.51-0.54-0.86c-0.06-0.35,0.02-0.71,0.23-0.99 c0.21-0.29,0.51-0.48,0.86-0.54c0.35-0.06,0.7,0.02,0.99,0.23c0.29,0.21,0.48,0.51,0.54,0.86C13.37,12.13,13.29,12.48,13.08,12.77z M12,3c4.96,0,9,4.04,9,9s-4.04,9-9,9s-9-4.04-9-9S7.04,3,12,3 M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2 L12,2z"></path></g><g id="fact_check"><path d="M14.49,15L12,12.51l1.41-1.41l1.07,1.07L17.65,9l1.41,1.41L14.49,15z M11,17H6v-2h5V17z M11,13H6v-2h5V13z M11,9H6V7h5V9z M20,4v16H4V4H20 M21,3H3v18h18V3L21,3z"></path></g><g id="fashion_logo-filled"><path d="M12.5,6.44v-0.5C13.36,5.71,14,4.93,14,4c0-1.1-0.9-2-2-2s-2,0.9-2,2h1c0-0.55,0.45-1,1-1s1,0.45,1,1s-0.45,1-1,1h-0.5v1.44 L4,13h2v6h1v2h1v-2h2v3h1v-3h2v2h1v-2h1v-3h3v-3h2L12.5,6.44z M6.66,12L12,7.33L17.34,12H6.66z"></path></g><g id="fashion_logo"><path d="M12.5,6.44v-0.5C13.36,5.71,14,4.93,14,4c0-1.1-0.9-2-2-2s-2,0.9-2,2h1c0-0.55,0.45-1,1-1s1,0.45,1,1s-0.45,1-1,1h-0.5v1.44 L4,13h2v6h1v2h1v-2h2v3h1v-3h2v2h1v-2h1v-3h3v-3h2L12.5,6.44z M6.66,12L12,7.33L17.34,12H6.66z M14,18H7v-5h7V18z M15,15v-2h2v2H15z"></path></g><g id="feedback"><path d="M13,14h-2v-2h2V14z M13,5h-2v6h2V5z M19,3H5v16.59l3.29-3.29L8.59,16H9h10V3 M20,2v15H9l-5,5V2H20L20,2z"></path></g><g id="filter-filled"><path d="M21,6.99H3V5h18V6.99z M18,11H6v1.99h12V11z M15,17H9v1.99h6V17z"></path></g><g id="filter"><path d="M21,6H3V5h18V6z M18,11H6v1h12V11z M15,17H9v1h6V17z"></path></g><g id="find_in_page"><path d="M21.97,11.77l-2.76-2.76C19.7,8.48,20,7.78,20,7c0-1.66-1.34-3-3-3s-3,1.34-3,3s1.34,3,3,3c0.52,0,1-0.14,1.42-0.37 l2.85,2.85L21.97,11.77z M15,7c0-1.1,0.9-2,2-2s2,0.9,2,2c0,1.1-0.9,2-2,2S15,8.1,15,7z M18,13v7H2V4h10v1H3v14h14v-6H18z"></path></g><g id="first_page-filled"><path d="M8,6H6v12h2V6z M17,18l-6-6l6-6l1.41,1.41L13.83,12l4.58,4.58L17,18z"></path></g><g id="first_page"><path d="M7,6H6v12h1V6z M17.35,17.65L11.71,12l5.65-5.65l0.71,0.71L13.12,12l4.94,4.94L17.35,17.65z"></path></g><g id="flag-filled"><path d="M14,3H5v18h1v-9h6.6l0.4,2h7V5h-5.6L14,3L14,3z"></path></g><g id="flag"><path d="M13.18,4l0.24,1.2L13.58,6h0.82H19v7h-5.18l-0.24-1.2L13.42,11H12.6H6V4H13.18 M14,3H5v18h1v-9h6.6l0.4,2h7V5h-5.6L14,3 L14,3z"></path></g><g id="folder-filled"><path d="M10,5l2,2h10v12H2V5H10"></path></g><g id="folder"><path d="M9.59,6l1.71,1.71L11.59,8H12h9v10H3V6H9.59 M10,5H2v14h20V7H12L10,5L10,5z"></path></g><g id="forum-filled"><path d="M4,19V2h13v13H8L4,19z M8,18h8l4,4V6h-1v13.59L16.41,17H8V18z"></path></g><g id="forum"><path d="M16,3v11H7.59L5,16.59V3H16 M17,2H4v17l4-4h9V2L17,2z M8,18h8l4,4V6h-1v13.59L16.41,17H8V18z"></path></g><g id="full_heart-filled"><path d="M16.5,2c-1.74,0-3.41,0.88-4.5,2.28C10.91,2.88,9.24,2,7.5,2C4.42,2,2,4.64,2,7.99c0,4.12,3.4,7.48,8.55,12.58L12,22 l1.45-1.44C18.6,15.47,22,12.11,22,7.99C22,4.64,19.58,2,16.5,2z"></path></g><g id="full_heart"><path d="M16.5,3C19.02,3,21,5.19,21,7.99c0,3.7-3.28,6.94-8.25,11.86L12,20.59l-0.74-0.73l-0.04-0.04C6.27,14.92,3,11.69,3,7.99 C3,5.19,4.98,3,7.5,3c1.4,0,2.79,0.71,3.71,1.89L12,5.9l0.79-1.01C13.71,3.71,15.1,3,16.5,3 M16.5,2c-1.74,0-3.41,0.88-4.5,2.28 C10.91,2.88,9.24,2,7.5,2C4.42,2,2,4.64,2,7.99c0,4.12,3.4,7.48,8.55,12.58L12,22l1.45-1.44C18.6,15.47,22,12.11,22,7.99 C22,4.64,19.58,2,16.5,2L16.5,2z"></path><path fill="none" d="M0,0h24v24H0V0z"></path></g><g id="fullscreen-filled"><path d="M8,11H6V6h5v2H8V11z M18,6h-5v2h3v3h2V6z M18,13h-2v3h-3v2h5V13z M11,16H8v-3H6v5h5V16z"></path></g><g id="fullscreen"><path d="M7,11H6V6h5v1H7V11z M18,6h-5v1h4v4h1V6z M18,13h-1v4h-4v1h5V13z M11,17H7v-4H6v5h5V17z"></path></g><g id="fullscreen_exit-filled"><path d="M11,11H6V9h3V6h2V11z M18,9h-3V6h-2v5h5V9z M15,15h3v-2h-5v5h2V15z M11,13H6v2h3v3h2V13z"></path></g><g id="fullscreen_exit"><path d="M10,10H6V9h3V6h1V10z M18,9h-3V6h-1v4h4V9z M15,15h3v-1h-4v4h1V15z M10,14H6v1h3v3h1V14z"></path></g><g id="gaming_logo-filled"><path d="M16.97,4l-4.99,2.8L6.99,4L2,6.8v7.6l9.98,5.6l9.98-5.6V6.8L16.97,4z M10,12H8v2H6v-2H4v-2h2V8h2v2h2V12z M15.5,14 c-0.83,0-1.5-0.67-1.5-1.5c0-0.83,0.67-1.5,1.5-1.5c0.83,0,1.5,0.67,1.5,1.5C17,13.33,16.33,14,15.5,14z M18.5,11 c-0.83,0-1.5-0.67-1.5-1.5C17,8.67,17.67,8,18.5,8C19.33,8,20,8.67,20,9.5C20,10.33,19.33,11,18.5,11z"></path></g><g id="gaming_logo"><path d="M10,12H8v2H6v-2H4v-2h2V8h2v2h2V12z M17,12.5c0-0.83-0.67-1.5-1.5-1.5S14,11.67,14,12.5c0,0.83,0.67,1.5,1.5,1.5 S17,13.33,17,12.5z M20,9.5C20,8.67,19.33,8,18.5,8S17,8.67,17,9.5c0,0.83,0.67,1.5,1.5,1.5S20,10.33,20,9.5z M16.97,5.15l-4.5,2.53 l-0.49,0.27l-0.49-0.27l-4.5-2.53L3,7.39v6.43l8.98,5.04l8.98-5.04V7.39L16.97,5.15 M16.97,4l4.99,2.8v7.6L11.98,20L2,14.4V6.8 L6.99,4l4.99,2.8L16.97,4L16.97,4z"></path></g><g id="gift-filled"><path d="M19.28,3.61c-0.96-0.81-2.51-0.81-3.47,0C15.13,4.19,14.34,6.27,14,7.25c-0.34-0.98-1.13-3.06-1.81-3.64 c-0.96-0.81-2.51-0.81-3.47,0c-0.96,0.81-0.96,2.13,0,2.94c0.62,0.53,2.7,1.12,3.94,1.45H5v6h8V8h2v6h4V8h-3.66 c1.24-0.32,3.32-0.92,3.94-1.45C20.24,5.74,20.24,4.42,19.28,3.61z M9.43,5.89c-0.58-0.43-0.58-1.13,0-1.57 C9.72,4.11,10.1,4,10.48,4s0.76,0.11,1.04,0.32C11.91,4.61,12.54,5.89,13,7C11.52,6.65,9.82,6.18,9.43,5.89z M18.57,5.89 C18.18,6.18,16.48,6.65,15,7c0.46-1.11,1.09-2.39,1.48-2.68C16.77,4.11,17.15,4,17.52,4c0.38,0,0.76,0.11,1.04,0.32 C19.14,4.76,19.14,5.46,18.57,5.89z M5,16h8v5H5V16z M15,16h4v5h-4V16z"></path></g><g id="gift"><path d="M19.28 3.61c-.96-.81-2.51-.81-3.47 0-.68.58-1.47 2.66-1.81 3.64-.34-.98-1.13-3.06-1.81-3.64-.96-.81-2.51-.81-3.47 0-.96.81-.96 2.13 0 2.94.62.53 2.7 1.12 3.94 1.45H5v13h14V8h-3.66c1.24-.32 3.32-.92 3.94-1.45.96-.81.96-2.13 0-2.94zM6 9h8v6H6V9zm0 11v-4h8v4H6zm12 0h-3v-4h3v4zm0-11v6h-3V9h3zM9.43 5.89c-.58-.43-.58-1.13 0-1.57.29-.21.67-.32 1.05-.32s.76.11 1.04.32c.39.29 1.02 1.57 1.48 2.68-1.48-.35-3.18-.82-3.57-1.11zm9.14 0c-.39.29-2.09.76-3.57 1.11.46-1.11 1.09-2.39 1.48-2.68.29-.21.67-.32 1.04-.32.38 0 .76.11 1.04.32.58.44.58 1.14.01 1.57z"></path></g><g id="google"><path d="M12.1,13.9v-3.72h9.36c0.14,0.63,0.25,1.22,0.25,2.05c0,5.71-3.83,9.77-9.6,9.77C6.58,22,2.1,17.52,2.1,12s4.48-10,10-10 c2.7,0,4.96,0.99,6.69,2.61l-2.84,2.76c-0.72-0.68-1.97-1.49-3.85-1.49c-3.31,0-6.01,2.75-6.01,6.12s2.7,6.12,6.01,6.12 c3.83,0,5.24-2.65,5.5-4.22H12.1z"></path></g><g id="happy-filled"><path d="M16.85,14c-0.5,1.8-2.35,3-4.85,3s-4.35-1.2-4.85-3H8.2c0.54,1.36,2.16,2,3.8,2s3.26-0.64,3.8-2H16.85z M12,4 c-4.41,0-8,3.59-8,8s3.59,8,8,8s8-3.59,8-8S16.41,4,12,4 M12,2c5.52,0,10,4.48,10,10c0,5.52-4.48,10-10,10S2,17.52,2,12 C2,6.48,6.48,2,12,2L12,2z M15.5,11c0.83,0,1.5-0.67,1.5-1.5S16.33,8,15.5,8S14,8.67,14,9.5S14.67,11,15.5,11z M8.5,11 c0.83,0,1.5-0.67,1.5-1.5S9.33,8,8.5,8S7,8.67,7,9.5S7.67,11,8.5,11z"></path></g><g id="happy"><path d="M16.85,14c-0.5,1.8-2.35,3-4.85,3s-4.35-1.2-4.85-3H8.2c0.54,1.36,2.16,2,3.8,2s3.26-0.64,3.8-2H16.85z M22,12 c0,5.52-4.48,10-10,10S2,17.52,2,12C2,6.48,6.48,2,12,2S22,6.48,22,12z M21,12c0-4.96-4.04-9-9-9s-9,4.04-9,9c0,4.96,4.04,9,9,9 S21,16.96,21,12z M15.5,11c0.83,0,1.5-0.67,1.5-1.5S16.33,8,15.5,8S14,8.67,14,9.5S14.67,11,15.5,11z M8.5,11 c0.83,0,1.5-0.67,1.5-1.5S9.33,8,8.5,8S7,8.67,7,9.5S7.67,11,8.5,11z"></path></g><g id="headset-filled"><path d="M21,21h-6v-7h5.01v-1.89c0-4.47-3.59-8.11-8-8.11s-8,3.64-8,8.11V14h5v7H3l0-8.89c0-5.02,4.04-9.11,9-9.11s9,4.09,9,9.11 L21,21z"></path></g><g id="headset"><path d="M21.01,12.11c0-5.02-4.04-9.11-9-9.11s-9,4.09-9,9.11L3,21h6v-7H4v-1.89c0-4.47,3.59-8.11,8-8.11s8,3.64,8,8.11V14H15v7h6 L21.01,12.11z M4,15h4v5H4V15z M20,20h-4v-5h4V20z"></path></g><g id="health_and_safety"><path d="M17,13h-4v4h-2v-4H7v-2h4V7h2v4h4V13z M12,3.1l7,3.21v4.84c0,1.3-0.25,2.6-0.75,3.86c-0.15,0.37-0.33,0.76-0.55,1.17 c-0.15,0.27-0.31,0.54-0.48,0.81C15.91,19,14.06,20.41,12,20.97C9.94,20.41,8.09,19,6.77,16.99c-0.17-0.27-0.33-0.54-0.48-0.81 c-0.22-0.41-0.4-0.79-0.55-1.17C5.25,13.75,5,12.45,5,11.15V6.31L12,3.1 M12,2L4,5.67v5.49c0,1.47,0.3,2.9,0.81,4.22 c0.17,0.44,0.37,0.86,0.6,1.28c0.16,0.3,0.34,0.6,0.52,0.88c1.42,2.17,3.52,3.82,5.95,4.44L12,22l0.12-0.03 c2.43-0.61,4.53-2.26,5.95-4.43c0.19-0.29,0.36-0.58,0.52-0.88c0.22-0.41,0.43-0.84,0.6-1.28C19.7,14.05,20,12.62,20,11.15V5.67 L12,2L12,2z"></path></g><g id="help"><path d="M15.36,9.96c0,1.09-0.67,1.67-1.31,2.24c-0.53,0.47-1.03,0.9-1.16,1.6L12.85,14h-1.75l0.03-0.28 c0.14-1.17,0.8-1.76,1.47-2.27c0.52-0.4,1.01-0.77,1.01-1.49c0-0.51-0.23-0.97-0.63-1.29c-0.4-0.31-0.92-0.42-1.42-0.29 c-0.59,0.15-1.05,0.67-1.19,1.34L10.32,10H8.57l0.06-0.42c0.2-1.4,1.15-2.53,2.42-2.87c1.05-0.29,2.14-0.08,2.98,0.57 C14.88,7.92,15.36,8.9,15.36,9.96z M12,18c0.55,0,1-0.45,1-1s-0.45-1-1-1s-1,0.45-1,1S11.45,18,12,18z M12,3c-4.96,0-9,4.04-9,9 s4.04,9,9,9s9-4.04,9-9S16.96,3,12,3 M12,2c5.52,0,10,4.48,10,10s-4.48,10-10,10S2,17.52,2,12S6.48,2,12,2L12,2z"></path></g><g id="highlight_off"><path d="M16.24,9.17L13.41,12l2.83,2.83l-1.41,1.41L12,13.41l-2.83,2.83l-1.41-1.41L10.59,12L7.76,9.17l1.41-1.41L12,10.59 l2.83-2.83L16.24,9.17z M4.93,4.93c-3.91,3.91-3.91,10.24,0,14.14c3.91,3.91,10.24,3.91,14.14,0c3.91-3.91,3.91-10.24,0-14.14 C15.17,1.02,8.83,1.02,4.93,4.93z M18.36,5.64c3.51,3.51,3.51,9.22,0,12.73s-9.22,3.51-12.73,0s-3.51-9.22,0-12.73 C9.15,2.13,14.85,2.13,18.36,5.64z"></path></g><g id="image"><path d="M19.08,18H5.06l4.01-5.16l2.14,2.59l3.02-3.89L19.08,18z M11.26,17h5.82l-2.87-3.82L11.26,17z M7.1,17h4.11l-2.12-2.56 L7.1,17z M20,4v16H4V4H20 M21,3H3v18h18V3L21,3z"></path></g><g id="info"><path d="M13,17h-2v-6h2V17z M13,7h-2v2h2V7z M12,3c-4.96,0-9,4.04-9,9s4.04,9,9,9c4.96,0,9-4.04,9-9S16.96,3,12,3 M12,2 c5.52,0,10,4.48,10,10s-4.48,10-10,10C6.48,22,2,17.52,2,12S6.48,2,12,2L12,2z"></path></g><g id="keep-filled"><path d="M17,2H7v1h1v8l-2,2v2h5v6l1,1l1-1v-6h5v-2l-2-2V3h1V2z"></path></g><g id="keep"><path d="M16,11V3h1V2H7v1h1v8l-2,2v2h5v6l1,1l1-1v-6h5v-2L16,11z M17,14h-4h-1h-1H7v-0.59l1.71-1.71L9,11.41V11V3h6v8v0.41 l0.29,0.29L17,13.41V14z"></path></g><g id="keep_off-filled"><path d="M20.15,20.85L14.29,15H13v6l-1,1l-1-1v-6H6v-2l2-2V8.71L3.15,3.85l0.71-0.71l17,17L20.15,20.85z M8,4.41l10,10V13l-2-2V3h1 V2H7v1h1V4.41z"></path></g><g id="keep_off"><path d="M3.85,3.15L3.15,3.85L8,8.71V11l-2,2v2h5v6l1,1l1-1v-6h1.29l5.85,5.85l0.71-0.71L3.85,3.15z M13,14h-1h-1H7v-0.59l1.71-1.71 L9,11.41V11V9.71L13.29,14H13z M8,3H7V2h10v1h-1v8l2,2v1.41l-3-3V11V3H9v2.41l-1-1V3z"></path></g><g id="keyboard-filled"><path d="M2,5v14h20V5H2z M11,8h2v2h-2V8z M11,11h2v2h-2V11z M8,8h2v2H8V8z M8,11h2v2H8V11z M7,13H5v-2h2V13z M7,10H5V8h2V10z M16,16 H8v-2h8V16z M16,13h-2v-2h2V13z M16,10h-2V8h2V10z M19,13h-2v-2h2V13z M19,10h-2V8h2V10z"></path></g><g id="keyboard"><path d="M16,16H8v-2h8V16z M16,11h-2v2h2V11z M19,11h-2v2h2V11z M13,11h-2v2h2V11z M10,11H8v2h2V11z M7,11H5v2h2V11z M16,8h-2v2h2V8 z M19,8h-2v2h2V8z M13,8h-2v2h2V8z M10,8H8v2h2V8z M7,8H5v2h2V8z M22,5v14H2V5H22z M21,6H3v12h18V6z"></path></g><g id="language-filled"><path d="M11.99,1.98C6.46,1.98,1.98,6.47,1.98,12s4.48,10.02,10.01,10.02c5.54,0,10.03-4.49,10.03-10.02S17.53,1.98,11.99,1.98z M18.91,7.95h-2.63c-0.35-1.21-0.87-2.38-1.55-3.48C16.49,5.11,17.97,6.35,18.91,7.95z M20.02,12c0,0.69-0.1,1.36-0.26,2h-3.05 c0.19-1.34,0.18-2.71-0.01-4.05h3.04C19.92,10.61,20.02,11.29,20.02,12z M9.28,14c-0.22-1.34-0.22-2.71,0.01-4.05h5.45 c0.23,1.34,0.24,2.71,0.01,4.05H9.28z M14.23,16C13.74,17.38,13,18.7,12,19.9C11,18.71,10.27,17.39,9.79,16H14.23z M3.98,12 c0-0.71,0.1-1.39,0.28-2.05h3.01c-0.2,1.34-0.2,2.71-0.01,4.05H4.24C4.08,13.36,3.98,12.69,3.98,12z M14.21,7.95h-4.4 c0.48-1.37,1.21-2.67,2.19-3.84C12.98,5.29,13.72,6.59,14.21,7.95z M9.28,4.46C8.59,5.57,8.07,6.74,7.71,7.95H5.09 C6.03,6.35,7.51,5.1,9.28,4.46z M5.06,16h2.63c0.36,1.23,0.89,2.42,1.59,3.54C7.49,18.89,6,17.63,5.06,16z M14.72,19.53 c0.69-1.12,1.21-2.31,1.57-3.53h2.65C18,17.62,16.51,18.89,14.72,19.53z"></path></g><g id="language"><path d="M11.99,1.98C6.46,1.98,1.98,6.47,1.98,12s4.48,10.02,10.01,10.02c5.54,0,10.03-4.49,10.03-10.02S17.53,1.98,11.99,1.98z M8.86,14.5c-0.16-0.82-0.25-1.65-0.25-2.5c0-0.87,0.09-1.72,0.26-2.55h6.27c0.17,0.83,0.26,1.68,0.26,2.55 c0,0.85-0.09,1.68-0.25,2.5H8.86z M14.89,15.5c-0.54,1.89-1.52,3.64-2.89,5.15c-1.37-1.5-2.35-3.25-2.89-5.15H14.89z M9.12,8.45 c0.54-1.87,1.52-3.61,2.88-5.1c1.36,1.49,2.34,3.22,2.88,5.1H9.12z M16.15,9.45h4.5c0.24,0.81,0.37,1.66,0.37,2.55 c0,0.87-0.13,1.71-0.36,2.5h-4.51c0.15-0.82,0.24-1.65,0.24-2.5C16.39,11.13,16.3,10.28,16.15,9.45z M20.29,8.45h-4.38 c-0.53-1.97-1.47-3.81-2.83-5.4C16.33,3.45,19.04,5.56,20.29,8.45z M10.92,3.05c-1.35,1.59-2.3,3.43-2.83,5.4H3.71 C4.95,5.55,7.67,3.44,10.92,3.05z M3.35,9.45h4.5C7.7,10.28,7.61,11.13,7.61,12c0,0.85,0.09,1.68,0.24,2.5H3.34 c-0.23-0.79-0.36-1.63-0.36-2.5C2.98,11.11,3.11,10.26,3.35,9.45z M3.69,15.5h4.39c0.52,1.99,1.48,3.85,2.84,5.45 C7.65,20.56,4.92,18.42,3.69,15.5z M13.09,20.95c1.36-1.6,2.32-3.46,2.84-5.45h4.39C19.08,18.42,16.35,20.55,13.09,20.95z"></path></g><g enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" id="laptop_mobile"><path d="M5,6v10h8v2H2v-2h2V5h17v1H5z M15,8v12h7V8H15z M21,9v1h-5V9H21z M21,11v6h-5v-6H21z M16,19v-1h5v1H16z"></path></g><g id="last_page-filled"><path d="M18,18h-2V6h2V18z M7,18l6-6L7,6L5.59,7.42L10.17,12l-4.58,4.58L7,18z"></path></g><g id="last_page"><path d="M18,18h-1V6h1V18z M5.65,7.06L10.59,12l-4.94,4.94l0.71,0.71L12,12L6.36,6.35L5.65,7.06z"></path></g><g id="library_add"><path d="M4,20h14v1H3V6h1V20z M18,10h-4V6h-1v4H9v1h4v4h1v-4h4V10z M21,3v15H6V3H21z M20,4H7v13h13V4z"></path></g><g id="library_music-filled"><path d="M18,21H3V6h1v14h14V21z M21,3v15H6V3H21z M16,6h-3v5.28C12.7,11.11,12.37,11,12,11c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2V8 h2V6z"></path></g><g id="library_music"><path d="M16,6v2h-2v5c0,1.1-0.9,2-2,2s-2-0.9-2-2s0.9-2,2-2c0.37,0,0.7,0.11,1,0.28V6H16z M18,20H4V6H3v15h15V20z M21,3H6v15h15V3z M7,4h13v13H7V4z"></path></g><g viewBox="0 0 24 24" id="library_outline"><path d="m11 7 6 3.5-6 3.5V7zm7 13H4V6H3v15h15v-1zm3-2H6V3h15v15zM7 17h13V4H7v13z"></path></g><g id="library_remove"><path d="M18,20H4V6H3v15h15V20z M21,3H6v15h15V3z M7,4h13v13H7V4z M17.58,8.41L11.99,14L9,11.01l1.41-1.41l1.58,1.58l4.18-4.18 L17.58,8.41z"></path></g><g id="like-filled"><path d="M3,11h3v10H3V11z M18.77,11h-4.23l1.52-4.94C16.38,5.03,15.54,4,14.38,4c-0.58,0-1.14,0.24-1.52,0.65L7,11v10h10.43 c1.06,0,1.98-0.67,2.19-1.61l1.34-6C21.23,12.15,20.18,11,18.77,11z"></path></g><g id="like"><path d="M18.77,11h-4.23l1.52-4.94C16.38,5.03,15.54,4,14.38,4c-0.58,0-1.14,0.24-1.52,0.65L7,11H3v10h4h1h9.43 c1.06,0,1.98-0.67,2.19-1.61l1.34-6C21.23,12.15,20.18,11,18.77,11z M7,20H4v-8h3V20z M19.98,13.17l-1.34,6 C18.54,19.65,18.03,20,17.43,20H8v-8.61l5.6-6.06C13.79,5.12,14.08,5,14.38,5c0.26,0,0.5,0.11,0.63,0.3 c0.07,0.1,0.15,0.26,0.09,0.47l-1.52,4.94L13.18,12h1.35h4.23c0.41,0,0.8,0.17,1.03,0.46C19.92,12.61,20.05,12.86,19.98,13.17z"></path></g><g id="link"><path d="M17.78,16H13v-1h4.78c1.8,0,3.26-1.57,3.26-3.5S19.58,8,17.78,8H13V7h4.78c2.35,0,4.26,2.02,4.26,4.5S20.13,16,17.78,16z M11,15H6.19c-1.8,0-3.26-1.57-3.26-3.5S4.39,8,6.19,8H11V7H6.19c-2.35,0-4.26,2.02-4.26,4.5S3.84,16,6.19,16H11V15z M16,11H8v1h8 V11z"></path></g><g id="live-filled"><path d="M14,12c0,1.1-0.9,2-2,2s-2-0.9-2-2s0.9-2,2-2S14,10.9,14,12z M6.36,6.33L4.95,4.92C3.13,6.73,2,9.24,2,12 s1.13,5.27,2.95,7.08l1.41-1.41C4.9,16.22,4,14.21,4,12S4.9,7.78,6.36,6.33z M19.05,4.92l-1.41,1.41C19.1,7.78,20,9.79,20,12 s-0.9,4.22-2.36,5.67l1.41,1.41C20.87,17.27,22,14.76,22,12S20.87,6.73,19.05,4.92z M9.19,9.16L7.77,7.75C6.68,8.83,6,10.34,6,12 s0.68,3.17,1.77,4.25l1.41-1.41C8.46,14.11,8,13.11,8,12S8.46,9.89,9.19,9.16z M16.23,7.75l-1.41,1.41C15.54,9.89,16,10.89,16,12 s-0.46,2.11-1.19,2.84l1.41,1.41C17.32,15.17,18,13.66,18,12S17.32,8.83,16.23,7.75z"></path></g><g id="live"><path d="M14,12c0,1.1-0.9,2-2,2s-2-0.9-2-2s0.9-2,2-2S14,10.9,14,12z M8.48,8.45L7.77,7.75C6.68,8.83,6,10.34,6,12 s0.68,3.17,1.77,4.25l0.71-0.71C7.57,14.64,7,13.39,7,12S7.57,9.36,8.48,8.45z M16.23,7.75l-0.71,0.71C16.43,9.36,17,10.61,17,12 s-0.57,2.64-1.48,3.55l0.71,0.71C17.32,15.17,18,13.66,18,12S17.32,8.83,16.23,7.75z M5.65,5.63L4.95,4.92C3.13,6.73,2,9.24,2,12 s1.13,5.27,2.95,7.08l0.71-0.71C4.02,16.74,3,14.49,3,12S4.02,7.26,5.65,5.63z M19.05,4.92l-0.71,0.71C19.98,7.26,21,9.51,21,12 s-1.02,4.74-2.65,6.37l0.71,0.71C20.87,17.27,22,14.76,22,12S20.87,6.73,19.05,4.92z"></path></g><g id="location_pin-filled"><path d="M12,2C8.13,2,5,5.13,5,9c0,5.25,7,13,7,13s7-7.75,7-13C19,5.13,15.87,2,12,2z M12,12c-1.66,0-3-1.34-3-3s1.34-3,3-3 s3,1.34,3,3S13.66,12,12,12z"></path></g><g id="location_pin"><path d="M12,3c3.31,0,6,2.69,6,6c0,3.83-4.25,9.36-6,11.47C9.82,17.86,6,12.54,6,9C6,5.69,8.69,3,12,3 M12,2C8.13,2,5,5.13,5,9 c0,5.25,7,13,7,13s7-7.75,7-13C19,5.13,15.87,2,12,2L12,2z M12,7c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2S10.9,7,12,7 M12,6 c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3S13.66,6,12,6L12,6z"></path></g><g id="lock"><path d="M17,8V6.63C17,4.08,14.76,2,12,2S7,4.08,7,6.63V8H4v14h16V8H17z M8,6.63c0-2.02,1.79-3.66,4-3.66s4,1.64,4,3.66V8H8V6.63z M19,21H5V9h14V21z M12,12c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3S13.66,12,12,12z M12,17c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2 s2,0.9,2,2C14,16.1,13.1,17,12,17z"></path></g><g id="lock_open"><path d="M12,12c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3S13.66,12,12,12z M12,17c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2s2,0.9,2,2 C14,16.1,13.1,17,12,17z M8.01,8V6.63C8.01,4.53,9.7,3,12.03,3c2.09,0,3.66,1.23,3.96,3H17c-0.3-2.25-2.2-4-4.97-4 C9.01,2,7,4.08,7,6.63V8H4v14h16V8H8.01z M19,21H5V9h14V21z"></path></g><g id="loop-filled"><path d="M20,14h2v5L5.84,19.02l1.77,1.77l-1.41,1.41L1.99,18l4.21-4.21l1.41,1.41l-1.82,1.82L20,17V14z M4,7l14.21-0.02l-1.82,1.82 l1.41,1.41L22.01,6l-4.21-4.21l-1.41,1.41l1.77,1.77L2,5v6h2V7z"></path></g><g id="loop"><path d="M21,13h1v5L3.93,18.03l2.62,2.62l-0.71,0.71L1.99,17.5l3.85-3.85l0.71,0.71l-2.67,2.67L21,17V13z M3,7l17.12-0.03 l-2.67,2.67l0.71,0.71l3.85-3.85l-3.85-3.85l-0.71,0.71l2.62,2.62L2,6v5h1V7z"></path></g><g id="loop_one-filled"><path d="M13,15h-1.37v-4.52l-1.3,0.38v-1L12.83,9H13V15z M20,17L5.79,17.02l1.82-1.82l-1.41-1.41L1.99,18l4.21,4.21l1.41-1.41 l-1.77-1.77L22,19v-5h-2V17z M4,7l14.21-0.02l-1.82,1.82l1.41,1.41L22.01,6l-4.21-4.21l-1.41,1.41l1.77,1.77L2,5v6h2V7z"></path></g><g id="loop_one"><path d="M13,15h-1.37v-4.52l-1.3,0.38v-1L12.83,9H13V15z M21,17L3.88,17.03l2.67-2.67l-0.71-0.71L1.99,17.5l3.85,3.85l0.71-0.71 l-2.62-2.62L22,18v-5h-1V17z M3,7l17.12-0.03l-2.67,2.67l0.71,0.71l3.85-3.85l-3.85-3.85l-0.71,0.71l2.62,2.62L2,6v5h1V7z"></path></g><g id="meh-filled"><path d="M14,9.5C14,8.67,14.67,8,15.5,8S17,8.67,17,9.5S16.33,11,15.5,11S14,10.33,14,9.5z M8.5,11c0.83,0,1.5-0.67,1.5-1.5 S9.33,8,8.5,8S7,8.67,7,9.5S7.67,11,8.5,11z M17,14H7v2h10V14z M22,12c0,5.52-4.48,10-10,10S2,17.52,2,12C2,6.48,6.48,2,12,2 S22,6.48,22,12z M12,20c4.41,0,8-3.59,8-8c0-4.41-3.59-8-8-8s-8,3.59-8,8C4,16.41,7.59,20,12,20z"></path></g><g id="meh"><path d="M12,3c4.96,0,9,4.04,9,9s-4.04,9-9,9s-9-4.04-9-9S7.04,3,12,3 M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10 S17.52,2,12,2L12,2z M15.5,11c0.83,0,1.5-0.67,1.5-1.5S16.33,8,15.5,8S14,8.67,14,9.5S14.67,11,15.5,11z M8.5,11 c0.83,0,1.5-0.67,1.5-1.5S9.33,8,8.5,8S7,8.67,7,9.5S7.67,11,8.5,11z M17,14H7v1h10V14z"></path></g><g id="menu"><path d="M21,6H3V5h18V6z M21,11H3v1h18V11z M21,17H3v1h18V17z"></path></g><g id="message-filled"><path d="M4,2v20l5-5h11V2H4z M13,13H8v-2h5V13z M16,9H8V7h8V9z"></path></g><g id="message"><path d="M16,9H8V7h8V9z M13,11H8v2h5V11z M19,3H5v16.59l3.29-3.29L8.59,16H9h10V3 M20,2v15H9l-5,5V2H20L20,2z"></path></g><g id="message_bubble_question"><path d="M19,3H5v16.59L8.59,16H19V3z M20,2v15H9l-5,5V2H20z M14.75,7.73c0,0.88-0.53,1.35-1.03,1.81c-0.42,0.38-0.81,0.73-0.91,1.29 L12.77,11h-1.38l0.02-0.23c0.11-0.95,0.63-1.42,1.16-1.84c0.41-0.32,0.8-0.62,0.8-1.21c0-0.41-0.18-0.78-0.5-1.04 c-0.32-0.25-0.73-0.34-1.12-0.23C11.29,6.58,10.93,7,10.82,7.54l-0.04,0.23H9.4l0.05-0.34c0.16-1.13,0.91-2.05,1.91-2.32 c0.83-0.23,1.69-0.06,2.35,0.46C14.37,6.08,14.75,6.87,14.75,7.73z M12.1,14c0.43,0,0.79-0.35,0.79-0.79c0-0.43-0.35-0.79-0.79-0.79 c-0.43,0-0.79,0.35-0.79,0.79C11.32,13.65,11.67,14,12.1,14z"></path></g><g id="microphone_on-filled"><path d="M13,18.93V21h-2v-2.07c-3.9-0.49-6-3.8-6-6.93h2c0,1.93,1.36,5,5,5s5-3.07,5-5h2C19,15.13,16.9,18.44,13,18.93z M12,15 c1.66,0,3-1.37,3-3.07V6.07C15,4.37,13.66,3,12,3S9,4.37,9,6.07v5.86C9,13.63,10.34,15,12,15z"></path></g><g id="microphone_on"><path d="M12 3C10.34 3 9 4.37 9 6.07V11.93C9 13.63 10.34 15 12 15C13.66 15 15 13.63 15 11.93V6.07C15 4.37 13.66 3 12 3ZM18.5 12H17.5C17.5 15.03 15.03 17.5 12 17.5C8.97 17.5 6.5 15.03 6.5 12H5.5C5.5 15.24 7.89 17.93 11 18.41V21H13V18.41C16.11 17.93 18.5 15.24 18.5 12Z"></path></g><g id="mix-filled"><path d="M4,12c0,2.21,0.9,4.22,2.36,5.67l-1.41,1.41C3.13,17.27,2,14.76,2,12s1.13-5.27,2.95-7.08l1.41,1.41C4.9,7.78,4,9.79,4,12z M19.05,4.92l-1.41,1.41C19.1,7.78,20,9.79,20,12s-0.9,4.22-2.36,5.67l1.41,1.41C20.87,17.27,22,14.76,22,12S20.87,6.73,19.05,4.92z M9.19,9.16L7.77,7.75C6.68,8.83,6,10.34,6,12s0.68,3.17,1.77,4.25l1.41-1.41C8.46,14.11,8,13.11,8,12S8.46,9.89,9.19,9.16z M16.23,7.75l-1.41,1.41C15.54,9.89,16,10.89,16,12s-0.46,2.11-1.19,2.84l1.41,1.41C17.32,15.17,18,13.66,18,12 S17.32,8.83,16.23,7.75z M14.67,12L10.5,9.6v4.81L14.67,12z"></path></g><g id="mix"><path d="M10.5,14.41V9.6l4.17,2.4L10.5,14.41z M8.48,8.45L7.77,7.75C6.68,8.83,6,10.34,6,12s0.68,3.17,1.77,4.25l0.71-0.71 C7.57,14.64,7,13.39,7,12S7.57,9.36,8.48,8.45z M16.23,7.75l-0.71,0.71C16.43,9.36,17,10.61,17,12s-0.57,2.64-1.48,3.55l0.71,0.71 C17.32,15.17,18,13.66,18,12S17.32,8.83,16.23,7.75z M5.65,5.63L4.95,4.92C3.13,6.73,2,9.24,2,12s1.13,5.27,2.95,7.08l0.71-0.71 C4.02,16.74,3,14.49,3,12S4.02,7.26,5.65,5.63z M19.05,4.92l-0.71,0.71C19.98,7.26,21,9.51,21,12s-1.02,4.74-2.65,6.37l0.71,0.71 C20.87,17.27,22,14.76,22,12S20.87,6.73,19.05,4.92z"></path></g><g id="mobile_portrait-filled"><path d="M6,19h12v3H6V19z M6,2v3h12V2H6z M18,6v12H6V6H18z"></path></g><g id="mobile_portrait"><path d="M18,2v20H6V2H18z M7,3v2h10V3H7z M7,6v12h10V6H7z M17,21v-2H7v2H17z"></path></g><g id="monetization_on-filled"><path d="M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M10.93,10.23c0.35,0.26,0.85,0.5,1.52,0.72 c1.24,0.41,2.14,0.92,2.7,1.53S16,13.85,16,14.76c0,1.01-0.34,1.8-1.03,2.38c-0.52,0.43-1.17,0.7-1.97,0.81V19h-2v-1.13 c-0.36-0.08-0.71-0.2-1.04-0.37c-0.67-0.33-1.17-0.78-1.52-1.35C8.22,15.81,8.08,15.42,8,15h2c0.26,0.73,1.13,1.1,2.18,1.1 c0.52,0,0.92-0.12,1.21-0.35c0.29-0.23,0.43-0.56,0.43-0.97c0-0.45-0.14-0.8-0.43-1.05c-0.29-0.24-0.81-0.5-1.56-0.77 c-0.75-0.27-1.35-0.54-1.79-0.8c-1.2-0.72-1.8-1.68-1.8-2.9c0-0.63,0.16-1.19,0.48-1.69C9.04,7.08,9.5,6.7,10.1,6.42 c0.28-0.13,0.58-0.22,0.9-0.29V5h2v1.09c0.41,0.07,0.79,0.18,1.14,0.36c0.59,0.3,1.05,0.73,1.37,1.28C15.74,8.12,15.93,8.54,16,9 h-2c-0.07-0.25-0.2-0.47-0.38-0.64c-0.3-0.3-0.98-0.44-1.53-0.44c-0.53,0-0.94,0.12-1.24,0.37c-0.29,0.25-0.44,0.58-0.44,0.98 C10.41,9.65,10.58,9.97,10.93,10.23z"></path></g><g id="monetization_on"><path d="M12,3c4.96,0,9,4.04,9,9s-4.04,9-9,9s-9-4.04-9-9S7.04,3,12,3 M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10 S17.52,2,12,2L12,2z M12.45,10.95c-0.67-0.22-1.18-0.47-1.52-0.72c-0.34-0.26-0.52-0.57-0.52-0.95c0-0.41,0.15-0.73,0.44-0.98 c0.29-0.25,0.71-0.37,1.24-0.37c0.55,0,1.23,0.15,1.53,0.44C13.8,8.53,13.93,8.75,14,9h2c-0.07-0.46-0.26-0.88-0.49-1.27 c-0.33-0.55-0.78-0.98-1.37-1.28C13.79,6.27,13.41,6.17,13,6.09V5h-2v1.12c-0.31,0.07-0.62,0.16-0.9,0.29 C9.5,6.7,9.04,7.08,8.72,7.58C8.4,8.07,8.24,8.63,8.24,9.26c0,1.21,0.6,2.18,1.8,2.9c0.44,0.26,1.04,0.53,1.79,0.8 c0.75,0.27,1.27,0.53,1.56,0.77c0.29,0.24,0.43,0.59,0.43,1.05c0,0.42-0.14,0.74-0.43,0.97c-0.29,0.23-0.69,0.35-1.21,0.35 c-1.05,0-1.92-0.37-2.18-1.1H8c0.08,0.42,0.22,0.81,0.44,1.16c0.35,0.57,0.86,1.02,1.52,1.35c0.33,0.16,0.67,0.28,1.04,0.37V19h2 v-1.05c0.79-0.11,1.45-0.38,1.97-0.81c0.69-0.57,1.03-1.37,1.03-2.38c0-0.91-0.28-1.67-0.85-2.28S13.69,11.36,12.45,10.95z"></path></g><g id="money_fill"><path d="M11.33,10.86c0.2,0.14,0.53,0.26,1,0.36c0.47,0.1,0.86,0.22,1.18,0.35c0.99,0.4,1.49,1.09,1.49,2.07 c0,0.7-0.28,1.27-0.83,1.71c-0.33,0.26-0.73,0.43-1.17,0.54V17h-2v-1.16c-0.18-0.05-0.37-0.1-0.53-0.19 c-0.46-0.23-0.92-0.55-1.18-0.95C9.15,14.48,9.06,14.24,9,14h2c0.05,0.09,0.07,0.18,0.15,0.25c0.23,0.19,0.54,0.29,0.92,0.29 c0.36,0,0.63-0.07,0.82-0.22s0.28-0.35,0.28-0.59c0-0.25-0.11-0.45-0.34-0.6s-0.59-0.27-1.1-0.39c-1.67-0.39-2.51-1.16-2.51-2.34 c0-0.68,0.26-1.26,0.78-1.71c0.28-0.25,0.62-0.43,1-0.54V7h2v1.12c0.46,0.11,0.85,0.29,1.18,0.57C14.59,9.05,14.9,9.48,15,10h-2 c-0.04-0.09-0.1-0.17-0.16-0.24c-0.17-0.19-0.44-0.29-0.81-0.29c-0.32,0-0.56,0.08-0.74,0.24c-0.17,0.16-0.26,0.36-0.26,0.6 C11.03,10.53,11.13,10.72,11.33,10.86z M21,6v12H3V6H21 M22,5H2v14h20V5L22,5z"></path></g><g id="money_fill_shopping_bag-filled"><path d="M19,8h-3V7c0-2.21-1.79-4-4-4C9.79,3,8,4.79,8,7v1H5L3,21h18L19,8z M9,7c0-1.65,1.35-3,3-3s3,1.35,3,3v1H9V7z"></path></g><g id="money_fill_shopping_bag"><path d="M19,8h-3V7c0-2.21-1.79-4-4-4C9.79,3,8,4.79,8,7v1H5L3,21h18L19,8z M9,7c0-1.65,1.35-3,3-3s3,1.35,3,3v1H9V7z M5.86,9h12.28 l1.69,11H4.17L5.86,9z"></path></g><g id="money_heart"><path d="M16.5,3C19.02,3,21,5.19,21,7.99c0,3.7-3.28,6.94-8.25,11.86L12,20.59l-0.74-0.73l-0.04-0.04C6.27,14.92,3,11.69,3,7.99 C3,5.19,4.98,3,7.5,3c1.4,0,2.79,0.71,3.71,1.89L12,5.9l0.79-1.01C13.71,3.71,15.1,3,16.5,3 M16.5,2c-1.74,0-3.41,0.88-4.5,2.28 C10.91,2.88,9.24,2,7.5,2C4.42,2,2,4.64,2,7.99c0,4.12,3.4,7.48,8.55,12.58L12,22l1.45-1.44C18.6,15.47,22,12.11,22,7.99 C22,4.64,19.58,2,16.5,2L16.5,2z M11.33,10.86c0.2,0.14,0.53,0.26,1,0.36c0.47,0.1,0.86,0.22,1.18,0.35 c0.99,0.4,1.49,1.09,1.49,2.07c0,0.7-0.28,1.27-0.83,1.71c-0.33,0.26-0.73,0.43-1.17,0.54V17h-2v-1.16 c-0.18-0.05-0.37-0.1-0.53-0.19c-0.46-0.23-0.92-0.55-1.18-0.95C9.15,14.48,9.06,14.24,9,14h2c0.05,0.09,0.07,0.18,0.15,0.25 c0.23,0.19,0.54,0.29,0.92,0.29c0.36,0,0.63-0.07,0.82-0.22s0.28-0.35,0.28-0.59c0-0.25-0.11-0.45-0.34-0.6s-0.59-0.27-1.1-0.39 c-1.67-0.39-2.51-1.16-2.51-2.34c0-0.68,0.26-1.26,0.78-1.71c0.28-0.25,0.62-0.43,1-0.54V7h2v1.12c0.46,0.11,0.85,0.29,1.18,0.57 C14.59,9.05,14.9,9.48,15,10h-2c-0.04-0.09-0.1-0.17-0.16-0.24c-0.17-0.19-0.44-0.29-0.81-0.29c-0.32,0-0.56,0.08-0.74,0.24 c-0.17,0.16-0.26,0.36-0.26,0.6C11.03,10.53,11.13,10.72,11.33,10.86z"></path></g><g id="moon_z-filled"><path d="M14.89,2.43C15.59,3.8,16,5.35,16,7c0,5.52-4.48,10-10,10c-1,0-1.97-0.15-2.89-0.43C4.77,19.79,8.13,22,12,22 c5.52,0,10-4.48,10-10C22,7.48,19,3.67,14.89,2.43L14.89,2.43z M12,6H6v1h4.5L6,10.99v0.05V12h6v-1H7.5L12,7.01V6.98V6L12,6z"></path></g><g id="moon_z"><path d="M16.67,4.31C19.3,5.92,21,8.83,21,12c0,4.96-4.04,9-9,9c-2.61,0-5.04-1.12-6.72-3.02C5.52,17.99,5.76,18,6,18 c6.07,0,11-4.93,11-11C17,6.08,16.89,5.18,16.67,4.31 M14.89,2.43C15.59,3.8,16,5.35,16,7c0,5.52-4.48,10-10,10 c-1,0-1.97-0.15-2.89-0.43C4.77,19.79,8.13,22,12,22c5.52,0,10-4.48,10-10C22,7.48,19,3.67,14.89,2.43L14.89,2.43z M12,6H6v1h4.5 L6,10.99v0.05V12h6v-1H7.5L12,7.01V6.98V6L12,6z"></path></g><g id="more"><path d="M7.5,12c0,0.83-0.67,1.5-1.5,1.5S4.5,12.83,4.5,12s0.67-1.5,1.5-1.5S7.5,11.17,7.5,12z M12,10.5c-0.83,0-1.5,0.67-1.5,1.5 s0.67,1.5,1.5,1.5s1.5-0.67,1.5-1.5S12.83,10.5,12,10.5z M18,10.5c-0.83,0-1.5,0.67-1.5,1.5s0.67,1.5,1.5,1.5s1.5-0.67,1.5-1.5 S18.83,10.5,18,10.5z"></path></g><g id="more_vert"><path d="M12,16.5c0.83,0,1.5,0.67,1.5,1.5s-0.67,1.5-1.5,1.5s-1.5-0.67-1.5-1.5S11.17,16.5,12,16.5z M10.5,12 c0,0.83,0.67,1.5,1.5,1.5s1.5-0.67,1.5-1.5s-0.67-1.5-1.5-1.5S10.5,11.17,10.5,12z M10.5,6c0,0.83,0.67,1.5,1.5,1.5 s1.5-0.67,1.5-1.5S12.83,4.5,12,4.5S10.5,5.17,10.5,6z"></path></g><g id="movies-filled"><path d="M18,3v2h-2V3H8v2H6V3H3v18h3v-2h2v2h8v-2h2v2h3V3H18z M8,17H6v-2h2V17z M8,13H6v-2h2V13z M8,9H6V7h2V9z M18,17h-2v-2h2V17z M18,13h-2v-2h2V13z M18,9h-2V7h2V9z"></path></g><g id="movies"><path d="M4,21H3V3h1V21z M8,15H6v2h2V15z M8,11H6v2h2V11z M8,7H6v2h2V7z M18,15h-2v2h2V15z M8,19H6v2h2V19z M18,19h-2v2h2V19z M18,11h-2v2h2V11z M18,7h-2v2h2V7z M8,3H6v2h2V3z M18,3h-2v2h2V3z M21,3h-1v18h1V3z"></path></g><g id="music-filled"><path d="M12,4v9.38C11.27,12.54,10.2,12,9,12c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4V8h6V4H12z"></path></g><g id="music"><path d="M12,4v9.38C11.27,12.54,10.2,12,9,12c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4V8h6V4H12z M9,19c-1.66,0-3-1.34-3-3 s1.34-3,3-3s3,1.34,3,3S10.66,19,9,19z M18,7h-5V5h5V7z"></path></g><g id="music_explicit_badge-filled"><path d="M3,3v18h18V3H3z M16,9h-6v2h6v2h-6v2h6v2H8V7h8V9z"></path></g><g id="music_explicit_badge"><path d="M16,9h-6v2h6v2h-6v2h6v2H8V7h8V9z M20,4H4v16h16V4 M21,3v18H3V3H21L21,3z"></path></g><g id="music_miniplayer-filled"><path d="M2,5v14h20V5H2z M19,16h-7v-4h7V16z"></path></g><g mirror-in-rtl="" id="music_miniplayer"><path d="M12,12h7v4h-7V12z M22,5H2v14h20V5z M3,6h18v12H3V6z"></path></g><g id="music_new_release"><path d="M16,7h-4v5.51C11.58,12.19,11.07,12,10.5,12C9.12,12,8,13.12,8,14.5c0,1.38,1.12,2.5,2.5,2.5c1.36,0,2.46-1.08,2.5-2.43V9h3 V7z M12,3.41L14.59,6H18v3.41L20.59,12L18,14.59V18h-3.41L12,20.59L9.41,18H6v-3.41L3.41,12L6,9.41V6h3.41L12,3.41 M12,2L9,5H5v4 l-3,3l3,3v4h4l3,3l3-3h4v-4l3-3l-3-3V5h-4L12,2L12,2z"></path></g><g mirror-in-rtl="" id="music_player_page-filled"><path d="M2,5v14h20V5H2z M14,13H5V8h9V13z"></path></g><g mirror-in-rtl="" id="music_player_page"><path d="M5,8h9v5H5V8z M22,5H2v14h20V5z M3,6h18v12H3V6z"></path></g><g id="music_video-filled"><path d="M2,5v14h20V5H2z M15,10h-2v4c0,1.1-0.9,2-2,2s-2-0.9-2-2c0-1.1,0.9-2,2-2c0.37,0,0.7,0.11,1,0.28V8h3V10z"></path></g><g id="music_video"><path d="M22,5H2v14h20V5z M3,6h18v12H3V6z M15,8v2h-2v4c0,1.1-0.9,2-2,2s-2-0.9-2-2c0-1.1,0.9-2,2-2c0.37,0,0.7,0.11,1,0.28V8H15z"></path></g><g id="my_videos-filled"><path d="M3,3v18h18V3H3z M10,16V8l6,4L10,16z"></path></g><g id="my_videos"><path d="M10,8l6,4l-6,4V8L10,8z M21,3v18H3V3H21z M20,4H4v16h16V4z"></path></g><g id="new_release-filled"><path d="M19,9V5h-4l-3-3L9,5H5v4l-3,3l3,3v4h4l3,3l3-3h4v-4l3-3L19,9z M13,17h-2v-2h2V17z M13,13h-2V7h2V13z"></path></g><g id="new_release"><path d="M13,13h-2V7h2V13z M13,17h-2v-2h2V17z M19,9V5h-4l-3-3L9,5H5v4l-3,3l3,3v4h4l3,3l3-3h4v-4l3-3L19,9z M18,14.57V18h-3.43 L12,20.57L9.43,18H6v-3.43L3.43,12L6,9.43V6h3.43L12,3.43L14.57,6H18v3.43L20.57,12L18,14.57z"></path></g><g id="news-filled"><path d="M3,3.03V21h14l4-4V3.03H3z M6,6h12v2H6V6z M13,15v-2h5v2H13z M13,12v-2h5v2H13z M12,18H6v-8h6V18z M16,16h3.99L16,19.99V16z"></path></g><g id="news"><path d="M11,11v6H7v-6H11 M12,10H6v8h6V10L12,10z M3,3.03V21h14l4-4V3.03 M20,4v11.99L19.99,16H16v3.99L15.99,20H4V4H20z M18,8H6V6 h12V8z M18,15h-5v-2h5V15z M18,12h-5v-2h5V12z"></path></g><g id="not_interested"><path fill-rule="evenodd" clip-rule="evenodd" d="M18.71 6C20.13 7.59 21 9.69 21 12c0 4.97-4.03 9-9 9-2.31 0-4.41-.87-6-2.29L18.71 6zM3 12c0-4.97 4.03-9 9-9 2.31 0 4.41.87 6 2.29L5.29 18C3.87 16.41 3 14.31 3 12zm9-10c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2z"></path></g><g id="notifications-filled"><path d="M10,20h4c0,1.1-0.9,2-2,2S10,21.1,10,20z M20,17.35V19H4v-1.65l2-1.88v-5.15c0-2.92,1.56-5.22,4-5.98V3.96\tc0-1.42,1.49-2.5,2.99-1.76C13.64,2.52,14,3.23,14,3.96l0,0.39c2.44,0.75,4,3.06,4,5.98v5.15L20,17.35z"></path></g><g id="notifications"><path d="M10,20h4c0,1.1-0.9,2-2,2S10,21.1,10,20z M20,17.35V19H4v-1.65l2-1.88v-5.15c0-2.92,1.56-5.22,4-5.98V3.96 c0-1.42,1.49-2.5,2.99-1.76C13.64,2.52,14,3.23,14,3.96l0,0.39c2.44,0.75,4,3.06,4,5.98v5.15L20,17.35z M19,17.77l-2-1.88v-5.47 c0-2.47-1.19-4.36-3.13-5.1c-1.26-0.53-2.64-0.5-3.84,0.03C8.15,6.11,7,7.99,7,10.42v5.47l-2,1.88V18h14V17.77z"></path></g><g id="notifications_active"><path d="M21.5 8.99992H19.5V8.80992C19.5 6.89992 18.39 5.18991 16.6 4.32991L17.47 2.52991C19.96 3.71991 21.5 6.12992 21.5 8.80992V8.99992ZM4.5 8.80992C4.5 6.89992 5.61 5.18991 7.4 4.32991L6.53 2.52991C4.04 3.71991 2.5 6.12992 2.5 8.80992V8.99992H4.5V8.80992ZM12 21.9999C13.1 21.9999 14 21.0999 14 19.9999H10C10 21.0999 10.9 21.9999 12 21.9999ZM20 17.3499V18.9999H4V17.3499L6 15.4699V10.3199C6 7.39991 7.56 5.09992 10 4.33992V3.95991C10 2.53991 11.49 1.45991 12.99 2.19991C13.64 2.51991 14 3.22991 14 3.95991V4.34991C16.44 5.09991 18 7.40991 18 10.3299V15.4799L20 17.3499Z"></path></g><g id="notifications_off"><path d="M3.85,3.15L3.15,3.85l3.48,3.48C6.22,8.21,6,9.22,6,10.32v5.15l-2,1.88V19h14.29l1.85,1.85l0.71-0.71L3.85,3.15z M5,18 v-0.23l2-1.88v-5.47c0-0.85,0.15-1.62,0.41-2.3L17.29,18H5z M10,20h4c0,1.1-0.9,2-2,2S10,21.1,10,20z M9.28,5.75l-0.7-0.7 c0.43-0.29,0.9-0.54,1.42-0.7V3.96c0-1.42,1.49-2.5,2.99-1.76C13.64,2.52,14,3.23,14,3.96v0.39c2.44,0.75,4,3.06,4,5.98v4.14l-1-1 v-3.05c0-2.47-1.19-4.36-3.13-5.1c-1.26-0.53-2.64-0.5-3.84,0.03C9.76,5.46,9.52,5.59,9.28,5.75z"></path></g><g id="offline_cloud"><path d="M22.04,14.28c0,1.48-0.52,2.65-1.48,3.45l-0.71-0.71c0.78-0.62,1.19-1.54,1.19-2.74c0-1.02-0.47-2.01-1.23-2.59 c-0.79-0.59-1.83-0.72-3.03-0.38l-0.69,0.2l0.05-0.71c0.17-2.42-1.19-4.51-3.1-4.76c-0.59-0.08-1.56,0.07-2.36,0.73 c-0.2,0.16-0.37,0.35-0.52,0.56l-0.7-0.7c0.2-0.25,0.4-0.46,0.59-0.62c1.05-0.87,2.3-1.06,3.13-0.96c2.24,0.29,3.9,2.5,3.98,5.16 c1.55-0.27,2.61,0.21,3.25,0.69C21.41,11.65,22.04,12.95,22.04,14.28z M4.13,4.12l15.75,15.75l-0.71,0.71l-1.68-1.68 c-0.26,0.03-0.53,0.07-0.82,0.07h-0.01H7.82c-3.61,0-5.85-2.01-5.85-5.24c0-1.59,0.86-3.17,2.25-4.13c0.92-0.63,1.99-0.94,3.08-0.9 L3.42,4.83L4.13,4.12z M16.57,17.98L8.55,9.96C8.06,9.8,7.58,9.7,7.11,9.7c-0.83,0-1.62,0.25-2.33,0.73 c-1.12,0.77-1.82,2.04-1.82,3.31c0,2.69,1.77,4.24,4.85,4.24H16.57z"></path></g><g id="offline_download"><path d="M17 18V19H6V18H17ZM16.5 11.4L15.8 10.7L12 14.4V4H11V14.4L7.2 10.6L6.5 11.3L11.5 16.3L16.5 11.4Z"></path></g><g height="24" viewBox="0 0 24 24" width="24" id="offline_pause"><path d="M9,19H7V5H9ZM17,5H15V19h2Z"></path></g><g id="open_in_new-filled"><path d="M21,21H3V3h9v2H5v14h14v-7h2V21z M15,3v2h2.61l-6.68,6.68l1.41,1.41L19,6.44V9h2V3H15z"></path></g><g id="open_in_new"><path d="M21,21H3V3h9v1H4v16h16v-8h1V21z M15,3v1h4.32l-8.03,8.03L12,12.74l8-8V9h1V3H15z"></path></g><g id="panels-filled"><path d="M6,18H2V6h4V18z M17,4H7v16h10V4z M22,6h-4v12h4V6z"></path></g><g id="panels"><path d="M5,7v10H3V7H5 M6,6H2v12h4V6L6,6z M16,5v14H8V5H16 M17,4H7v16h10V4L17,4z M21,7v10h-2V7H21 M22,6h-4v12h4V6L22,6z"></path></g><g id="pause_outlined"><path d="M11,16H9V8h2V16z M15,8h-2v8h2V8z M12,3c4.96,0,9,4.04,9,9s-4.04,9-9,9s-9-4.04-9-9S7.04,3,12,3 M12,2C6.48,2,2,6.48,2,12 s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2L12,2z"></path></g><g id="people-filled"><path d="M14 20C14 17.79 15.79 16 18 16C20.21 16 22 17.79 22 20H14ZM18 16C16.9 16 16 15.1 16 14C16 12.9 16.9 12 18 12C19.1 12 20 12.9 20 14C20 15.1 19.1 16 18 16ZM12.81 20H2C2 15.76 4.77 12.21 10.28 11.93C8.42 11.59 7 9.96 7 8C7 5.79 8.79 4 11 4C13.21 4 15 5.79 15 8C15 9.96 13.58 11.59 11.72 11.93C12.64 11.98 13.47 12.12 14.23 12.34C12.87 13.44 12 15.12 12 17C12 18.09 12.3 19.12 12.81 20Z"></path></g><g id="people"><path d="M14 20C14 17.79 15.79 16 18 16C20.21 16 22 17.79 22 20H14ZM18 16C16.9 16 16 15.1 16 14C16 12.9 16.9 12 18 12C19.1 12 20 12.9 20 14C20 15.1 19.1 16 18 16ZM15 8C15 5.79 13.21 4 11 4C8.79 4 7 5.79 7 8C7 9.96 8.42 11.59 10.28 11.93C4.77 12.21 2 15.76 2 20H12.02L12 19H3.06C3.44 15.89 5.67 12.9 11 12.9C11.62 12.9 12.19 12.95 12.73 13.03L13.57 12.19C12.99 12.06 12.38 11.96 11.72 11.93C13.58 11.59 15 9.96 15 8ZM11 11C9.35 11 8 9.65 8 8C8 6.35 9.35 5 11 5C12.65 5 14 6.35 14 8C14 9.65 12.65 11 11 11Z"></path></g><g id="person-filled"><path d="M22,20H2c0-4.16,3.1-7.8,9.27-8.07C9.41,11.58,8,9.96,8,8c0-2.21,1.79-4,4-4c2.21,0,4,1.79,4,4c0,1.96-1.41,3.58-3.27,3.93 C18.9,12.2,22,15.84,22,20z"></path></g><g id="person"><path d="M12.73,11.93C14.59,11.58,16,9.96,16,8c0-2.21-1.79-4-4-4C9.79,4,8,5.79,8,8c0,1.96,1.41,3.58,3.27,3.93 C5.1,12.2,2,15.84,2,20h20C22,15.84,18.9,12.2,12.73,11.93z M9,8c0-1.65,1.35-3,3-3s3,1.35,3,3s-1.35,3-3,3S9,9.65,9,8z M12,12.9 c5.98,0,8.48,3.09,8.93,6.1H3.07C3.52,15.99,6.02,12.9,12,12.9z"></path></g><g id="person_add-filled"><path d="M13.72,11.93C15.58,11.59,17,9.96,17,8c0-2.21-1.79-4-4-4c-2.21,0-4,1.79-4,4c0,1.96,1.42,3.59,3.28,3.93 C6.77,12.21,4,15.76,4,20h18C22,15.76,19.23,12.21,13.72,11.93z M4,12H2v-1h2V9h1v2h2v1H5v2H4V12z"></path></g><g id="person_add"><path d="M13.72,11.93C15.58,11.59,17,9.96,17,8c0-2.21-1.79-4-4-4c-2.21,0-4,1.79-4,4c0,1.96,1.42,3.59,3.28,3.93 C6.77,12.21,4,15.76,4,20h18C22,15.76,19.23,12.21,13.72,11.93z M10,8c0-1.65,1.35-3,3-3s3,1.35,3,3s-1.35,3-3,3S10,9.65,10,8z M13,12.9c5.33,0,7.56,2.99,7.94,6.1H5.06C5.44,15.89,7.67,12.9,13,12.9z M4,12H2v-1h2V9h1v2h2v1H5v2H4V12z"></path></g><g id="person_minus"><path d="M13.72,11.93C15.58,11.59,17,9.96,17,8c0-2.21-1.79-4-4-4S9,5.79,9,8c0,1.96,1.42,3.59,3.28,3.93\n        C6.77,12.21,4,15.76,4,20h18C22,15.76,19.23,12.21,13.72,11.93z M10,8c0-1.65,1.35-3,3-3s3,1.35,3,3s-1.35,3-3,3S10,9.65,10,8z\n         M13,12.9c5.33,0,7.56,2.99,7.94,6.1H5.06C5.44,15.89,7.67,12.9,13,12.9z M7,12H2v-1h5V12z"></path></g><g id="phone-filled"><path d="M6.49,2.09l4.41,4.41L9.01,8.38c-0.78,0.78-0.78,2.05,0,2.83l3.78,3.78c0.78,0.78,2.05,0.78,2.83,0l1.89-1.89l4.41,4.41 l-1.94,1.94c-1.5,1.5-3.74,1.96-5.7,1.17l0,0C9.3,18.63,5.37,14.7,3.38,9.73l0,0c-0.79-1.96-0.33-4.21,1.17-5.7L6.49,2.09z"></path></g><g id="phone"><path d="M6.49,3.5l2.99,2.99L8.3,7.68C7.73,8.24,7.42,9,7.42,9.8c0,0.8,0.31,1.56,0.88,2.12l3.78,3.78 c0.57,0.57,1.32,0.88,2.12,0.88c0.8,0,1.56-0.31,2.12-0.88l1.18-1.18l2.99,2.99l-1.23,1.23C18.45,19.55,17.38,20,16.23,20 c-0.55,0-1.08-0.1-1.59-0.31C9.95,17.82,6.18,14.05,4.31,9.36C3.67,7.76,4.04,5.95,5.26,4.74L6.49,3.5 M6.49,2.09L4.55,4.03 c-1.5,1.5-1.96,3.74-1.17,5.7v0c1.99,4.97,5.92,8.9,10.89,10.89l0,0c0.64,0.25,1.3,0.38,1.96,0.38c1.38,0,2.73-0.54,3.74-1.55 l1.94-1.94l-4.41-4.41l-1.89,1.89c-0.39,0.39-0.9,0.59-1.41,0.59c-0.51,0-1.02-0.2-1.41-0.59l-3.78-3.78 c-0.78-0.78-0.78-2.05,0-2.83l1.89-1.89L6.49,2.09L6.49,2.09z"></path></g><g id="phone_download"><path d="M8.45,12.86l1.41-1.41L11,12.58V8h2v4.58l1.13-1.13l1.41,1.41L12,16.41L8.45,12.86z M18,2v20H6V2H18z M7,3v2h10V3H7z M7,6 v12h10V6H7z M17,21v-2H7v2H17z"></path></g><g id="play_arrow"><path d="M6,4l12,8L6,20V4z"></path></g><g id="play_arrow_half_circle"><path d="M10,8v8l6-4L10,8L10,8z M6.3,5L5.7,4.2C7.2,3,9,2.2,11,2l0.1,1C9.3,3.2,7.7,3.9,6.3,5z M5,6.3L4.2,5.7C3,7.2,2.2,9,2,11 l1,0.1C3.2,9.3,3.9,7.7,5,6.3z M5,17.7c-1.1-1.4-1.8-3.1-2-4.8L2,13c0.2,2,1,3.8,2.2,5.4L5,17.7z M11.1,21c-1.8-0.2-3.4-0.9-4.8-2 l-0.6,0.8C7.2,21,9,21.8,11,22L11.1,21z M22,12c0-5.2-3.9-9.4-9-10l-0.1,1c4.6,0.5,8.1,4.3,8.1,9s-3.5,8.5-8.1,9l0.1,1 C18.2,21.5,22,17.2,22,12z"></path></g><g id="play_outlined-filled"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M10,16V8l6,4L10,16z"></path></g><g id="play_outlined"><path d="M10,8v8l6-4L10,8L10,8z M12,3c4.96,0,9,4.04,9,9s-4.04,9-9,9s-9-4.04-9-9S7.04,3,12,3 M12,2C6.48,2,2,6.48,2,12 s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2L12,2z"></path></g><g id="playlist_add"><path d="M22,13h-4v4h-2v-4h-4v-2h4V7h2v4h4V13z M14,7H2v1h12V7z M2,12h8v-1H2V12z M2,16h8v-1H2V16z"></path></g><g id="playlist_add_check"><path d="M15.06,16.47l-3.76-3.76l1.41-1.41l2.24,2.24l5.3-6.18l1.52,1.3L15.06,16.47z M14,9H2V7h12V9z M2,11h8v2H2V11z M2,15h8v2H2 V15z"></path></g><g id="playlists-filled"><path d="M15,19v-8l7,4L15,19z M22,7H2v2h20V7z M13,13H2v-2h11V13z M13,17H2v-2h11V17z"></path></g><g id="playlists"><path d="M22,7H2v1h20V7z M13,12H2v-1h11V12z M13,16H2v-1h11V16z M15,19v-8l7,4L15,19z"></path></g><g id="poll-filled"><path d="M3,3v18h18V3H3z M9,17H7v-7h2V17z M13,17h-2V7h2V17z M17,17h-2v-3h2V17z"></path></g><g id="poll"><path d="M9,17H7v-7h2V17z M13,7h-2v10h2V7z M17,14h-2v3h2V14z M20,4H4v16h16V4 M21,3v18H3V3H21L21,3z"></path></g><g id="privacy_info"><path d="M12,2L4,5.67v5.49c0,1.47,0.3,2.9,0.81,4.22c0.17,0.44,0.37,0.86,0.6,1.28c0.16,0.3,0.34,0.6,0.52,0.88 c1.42,2.17,3.52,3.82,5.95,4.44L12,22l0.12-0.03c2.43-0.61,4.53-2.26,5.95-4.43c0.19-0.29,0.36-0.58,0.52-0.88 c0.22-0.41,0.43-0.84,0.6-1.28C19.7,14.05,20,12.62,20,11.15V5.67L12,2z M12,3.1l6.11,2.8L12,11.15L5.89,5.9L12,3.1z M5.75,15.01 C5.25,13.75,5,12.45,5,11.15v-4.7l6.23,5.35l-4.98,4.28C6.05,15.71,5.88,15.36,5.75,15.01z M17.23,16.99 C15.91,19,14.06,20.41,12,20.97C9.94,20.41,8.09,19,6.77,16.99c0-0.01-0.01-0.01-0.01-0.02l5.24-4.5l5.24,4.5 C17.23,16.98,17.23,16.98,17.23,16.99z M19,11.15c0,1.3-0.25,2.6-0.75,3.86c-0.14,0.35-0.3,0.7-0.5,1.08l-4.98-4.28L19,6.45V11.15z"></path></g><g id="privacy_public-filled"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M11.5,18C10.12,18,9,16.88,9,15.5 v-1.21l-5.43-5.4C4.84,5.46,8.13,3,12,3c1.05,0,2.06,0.19,3,0.53V5c0,0.55-0.45,1-1,1h-3v2c0,0.55-0.45,1-1,1H8v3h6 c0.55,0,1,0.45,1,1v4h2c0.55,0,1,0.45,1,1v0.69C16.41,20.12,14.31,21,12,21v-3H11.5z"></path></g><g id="privacy_public"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M3,12c0-0.7,0.09-1.37,0.24-2.02 L8,14.71v0.79c0,1.76,1.31,3.22,3,3.46v1.98C6.51,20.44,3,16.62,3,12z M11.5,18C10.12,18,9,16.88,9,15.5v-1.21l-5.43-5.4 C4.84,5.46,8.13,3,12,3c1.05,0,2.06,0.19,3,0.53V5c0,0.55-0.45,1-1,1h-3v2c0,0.55-0.45,1-1,1H8v3h6c0.55,0,1,0.45,1,1v4h2 c0.55,0,1,0.45,1,1v0.69C16.41,20.12,14.31,21,12,21v-3H11.5z M18.97,17.69C18.82,16.73,18,16,17,16h-1v-3c0-1.1-0.9-2-2-2H9v-1h1 c1.1,0,2-0.9,2-2V7h2c1.1,0,2-0.9,2-2V3.95c2.96,1.48,5,4.53,5,8.05C21,14.16,20.24,16.14,18.97,17.69z"></path></g><g id="purchase_super_chat-filled"><path d="M4,2v20l5-5h11V2H4z M14.28,13L12,11.63L9.72,13l0.6-2.59L8.32,8.67l2.65-0.23L12,6l1.03,2.44l2.65,0.23l-2.01,1.74 L14.28,13z"></path></g><g id="purchase_super_chat"><path d="M19,3v13H8.59L5,19.59V3H19 M20,2H4v20l5-5h11V2L20,2z M13.67,10.41l2.01-1.74l-2.65-0.23L12,6l-1.03,2.44L8.32,8.67 l2.01,1.74L9.72,13L12,11.63L14.27,13L13.67,10.41z"></path></g><g id="purchase_super_sticker-filled"><path d="M2,5v14h15h0.41L22,14.41V14V5H2z M14.28,15L12,13.63L9.72,15l0.6-2.59l-2.01-1.74l2.65-0.23L12,8l1.03,2.44l2.65,0.23 l-2.01,1.74L14.28,15z M17,17.99V14h3.99L17,17.99z"></path></g><g id="purchase_super_sticker"><path d="M13.67,12.41l2.01-1.74l-2.65-0.23L12,8l-1.03,2.44l-2.65,0.23l2.01,1.74L9.72,15L12,13.63L14.27,15L13.67,12.41z M2,5v14 h15h0.41L22,14.41V14V5H2z M17,14v3.99L16.99,18H3V6h18v7.99L20.99,14H17z"></path></g><g id="purchases-filled"><path d="M11.49,3.01L2.99,3L3,11.49l10.36,10.36l8.49-8.49L11.49,3.01z M6.75,7.98C5.93,8.12,5.16,7.56,5.02,6.75 C4.88,5.93,5.44,5.16,6.25,5.02c0.82-0.14,1.59,0.41,1.73,1.23C8.12,7.07,7.56,7.84,6.75,7.98z"></path></g><g id="purchases"><path d="M5.02,6.75C4.88,5.93,5.44,5.16,6.25,5.02s1.59,0.41,1.73,1.23c0.14,0.82-0.41,1.59-1.23,1.73 C5.93,8.12,5.16,7.56,5.02,6.75z M3.99,4L4,11.08l9.36,9.36l7.07-7.07l-9.36-9.36L3.99,4 M2.99,3l8.49,0.01l10.36,10.36l-8.49,8.49 L3,11.49L2.99,3L2.99,3z"></path></g><g id="remove_circle"><path d="M12,3c-4.96,0-9,4.04-9,9s4.04,9,9,9s9-4.04,9-9S16.96,3,12,3 M12,2c5.52,0,10,4.48,10,10s-4.48,10-10,10S2,17.52,2,12 S6.48,2,12,2L12,2z M19,13H5v-2h14V13z"></path></g><g id="remove_done-filled"><path d="M3.85,3.15l17,17l-0.71,0.71l-5.76-5.76l-2.8,2.8l-4.62-4.62l1.41-1.41l3.21,3.21l1.39-1.39L3.15,3.85L3.85,3.15z M2,13.4 l3.79,3.79l1.41-1.41l-3.79-3.79L2,13.4z M17.04,7.36l-1.41-1.41l-3.07,3.07l1.41,1.41L17.04,7.36z M16.51,12.97L22,7.48l-1.41-1.41 l-5.49,5.49L16.51,12.97z"></path></g><g id="remove_done"><path d="M3.85,3.15l17,17l-0.71,0.71l-6.12-6.12l-3.57,3.57l-4.71-4.71l0.71-0.71l4,4l2.86-2.86l-1.04-1.04l-1.76,1.76l-0.71-0.71 l1.76-1.76L3.15,3.85L3.85,3.15z M2.25,13.59l4.35,4.35l0.71-0.71l-4.35-4.35L2.25,13.59z M18.25,7L17.55,6.3l-3.86,3.86l0.71,0.71 L18.25,7z M16.14,12.61l5.6-5.6L21.04,6.3l-5.6,5.6L16.14,12.61z"></path></g><g id="remove_moderator-filled"><path d="M20.85,20.15l-0.71,0.71l-2.6-2.6c-1.39,1.81-3.28,3.17-5.43,3.72L12,22l-0.12-0.03c-2.43-0.61-4.53-2.26-5.95-4.44 c-0.19-0.29-0.36-0.58-0.52-0.88c-0.22-0.41-0.42-0.84-0.6-1.28C4.3,14.05,4,12.62,4,11.15V5.67l0.66-0.3L3.15,3.85l0.71-0.71 L20.85,20.15z M19.18,15.38C19.7,14.05,20,12.62,20,11.15V5.67L12,2L7.57,4.03L19.1,15.56C19.12,15.5,19.16,15.44,19.18,15.38z"></path></g><g id="remove_moderator"><path d="M3.85,3.15L3.15,3.85l1.51,1.51L4,5.67v5.49c0,1.47,0.3,2.9,0.81,4.22c0.17,0.44,0.37,0.86,0.6,1.28 c0.16,0.3,0.34,0.6,0.52,0.88c1.42,2.17,3.52,3.82,5.95,4.44L12,22l0.12-0.03c2.15-0.54,4.04-1.9,5.43-3.72l2.6,2.6l0.71-0.71 L3.85,3.15z M12,20.97C9.94,20.41,8.09,19,6.77,16.99c-0.17-0.27-0.34-0.54-0.48-0.81c-0.22-0.41-0.4-0.79-0.55-1.17 C5.25,13.75,5,12.45,5,11.15V6.31l0.41-0.19l11.42,11.42C15.55,19.26,13.86,20.46,12,20.97z M8.32,4.79L7.57,4.03L12,2l8,3.67v5.49 c0,1.47-0.3,2.9-0.82,4.22c-0.03,0.06-0.06,0.12-0.09,0.19l-0.77-0.77C18.77,13.6,19,12.38,19,11.15V6.31L12,3.1L8.32,4.79z"></path></g><g id="replay"><path d="M22,12c0,5.51-4.49,10-10,10S2,17.51,2,12h1c0,4.96,4.04,9,9,9s9-4.04,9-9s-4.04-9-9-9C8.81,3,5.92,4.64,4.28,7.38 C4.17,7.56,4.06,7.75,3.97,7.94C3.96,7.96,3.95,7.98,3.94,8H8v1H1.96V3h1v4.74C3,7.65,3.03,7.57,3.07,7.49 C3.18,7.27,3.3,7.07,3.42,6.86C5.22,3.86,8.51,2,12,2C17.51,2,22,6.49,22,12z"></path></g><g id="replay_10"><path d="M18.95,6.28C17.23,4.19,14.7,3,12,3h-1.43l1.02-1.02l-1.41-1.41L6.82,3.92l3.35,3.35l1.41-1.41L10.73,5H12 c2.1,0,4.07,0.93,5.4,2.55c1.34,1.62,1.87,3.76,1.46,5.86c-0.53,2.73-2.72,4.92-5.45,5.45c-2.11,0.41-4.24-0.12-5.86-1.46 C5.93,16.07,5,14.1,5,12H3c0,2.7,1.19,5.23,3.28,6.95C7.9,20.29,9.93,21,12.02,21c0.59,0,1.19-0.06,1.78-0.17 c3.52-0.68,6.35-3.51,7.03-7.03C21.35,11.1,20.66,8.36,18.95,6.28z M10,8H9.85L7,9.19v1.29l1.63-0.59V16H10V8z M16.35,8.84 C15.92,8.28,15.3,8,14.5,8s-1.42,0.28-1.85,0.84c-0.43,0.56-0.64,1.39-0.64,2.48v1.43c0.01,1.04,0.23,1.85,0.65,2.41 C13.09,15.72,13.7,16,14.51,16c0.82,0,1.43-0.29,1.86-0.86c0.42-0.57,0.63-1.39,0.63-2.47v-1.43C16.99,10.2,16.77,9.39,16.35,8.84z M15.53,12.95c-0.01,0.61-0.09,1.06-0.25,1.36c-0.16,0.3-0.42,0.44-0.78,0.44c-0.36,0-0.62-0.15-0.79-0.46 c-0.16-0.31-0.25-0.78-0.25-1.42v-1.89c0.01-0.6,0.1-1.03,0.26-1.31c0.16-0.28,0.42-0.42,0.76-0.42c0.36,0,0.62,0.15,0.78,0.44 c0.17,0.29,0.25,0.76,0.25,1.41V12.95z"></path></g><g id="sad-filled"><path d="M12,4c4.41,0,8,3.59,8,8s-3.59,8-8,8s-8-3.59-8-8S7.59,4,12,4 M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10 C22,6.48,17.52,2,12,2L12,2z M15.5,11c0.83,0,1.5-0.67,1.5-1.5S16.33,8,15.5,8S14,8.67,14,9.5S14.67,11,15.5,11z M8.5,11 c0.83,0,1.5-0.67,1.5-1.5S9.33,8,8.5,8S7,8.67,7,9.5S7.67,11,8.5,11z M8.2,17c0.54-1.36,2.16-2,3.8-2s3.26,0.64,3.8,2h1.06 c-0.5-1.8-2.35-3-4.85-3s-4.35,1.2-4.85,3H8.2z"></path></g><g id="sad"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,21c-4.96,0-9-4.04-9-9 c0-4.96,4.04-9,9-9s9,4.04,9,9C21,16.96,16.96,21,12,21z M14,9.5C14,8.67,14.67,8,15.5,8S17,8.67,17,9.5S16.33,11,15.5,11 S14,10.33,14,9.5z M7,9.5C7,8.67,7.67,8,8.5,8S10,8.67,10,9.5S9.33,11,8.5,11S7,10.33,7,9.5z M7.15,17c0.5-1.8,2.35-3,4.85-3 s4.35,1.2,4.85,3H15.8c-0.54-1.36-2.16-2-3.8-2s-3.26,0.64-3.8,2H7.15z"></path></g><g id="screen_default-filled"><path d="M21,6v12H3V6H21 M22,5H2v14h20V5L22,5z M4,7v8h12V7H4z M6.35,13.35l-0.71-0.71L7.29,11L5.65,9.35l0.71-0.71L8.71,11 L6.35,13.35z M14.35,12.65l-0.71,0.71L11.29,11l2.35-2.35l0.71,0.71L12.71,11L14.35,12.65z"></path></g><g id="screen_default"><path d="M21,6v12H3V6H21 M22,5H2v14h20V5L22,5z M15,8v6H5V8H15 M16,7H4v8h12V7L16,7z M8.71,11L6.35,8.65L5.65,9.35L7.29,11 l-1.65,1.65l0.71,0.71L8.71,11z M14.35,12.65L12.71,11l1.65-1.65l-0.71-0.71L11.29,11l2.35,2.35L14.35,12.65z"></path></g><g id="screen_fullscreen-filled"><path d="M2,5v14h20V5H2z M8,8H5v3H4V7h4V8z M20,17h-4v-1h3v-3h1V17z"></path></g><g id="screen_fullscreen"><path d="M21,6v12H3V6H21 M22,5H2v14h20V5L22,5z M8,7H4v4h1V8h3V7z M16,17h4v-4h-1v3h-3V17z"></path></g><g id="screen_miniplayer-filled"><path d="M14,13h6v4h-6V13z M21,6v12H3V6H21 M22,5H2v14h20V5L22,5z M12,8v2.29L9.35,7.65 L8.65,8.35L11.29,11H9v1h3h1V8H12z"></path></g><g id="screen_miniplayer"><path d="M19,14v2h-4v-2H19 M20,13h-6v4h6V13L20,13z M12,8v2.29L9.35,7.65L8.65,8.35L11.29,11H9v1h3h1V8H12z M21,6v12H3V6H21 M22,5H2 v14h20V5L22,5z"></path></g><g id="screen_theatre-filled"><path d="M4,7v9h16V7H4z M9.35,13.15l-0.71,0.71L6.29,11.5l2.35-2.35l0.71,0.71L7.71,11.5L9.35,13.15z M15.35,13.85l-0.71-0.71 l1.65-1.65l-1.65-1.65l0.71-0.71l2.35,2.35L15.35,13.85z M21,6v12H3V6H21 M22,5H2v14h20V5L22,5z"></path></g><g id="screen_theatre"><path d="M15.35,13.85l-0.71-0.71l1.65-1.65l-1.65-1.65l0.71-0.71l2.35,2.35L15.35,13.85z M9.35,13.15L7.71,11.5l1.65-1.65L8.65,9.15 L6.29,11.5l2.35,2.35L9.35,13.15z M21,6H3v12h18V6 M22,5v14H2V5H22L22,5z M19,8H5v7h14V8 M20,7v9H4V7H20L20,7z"></path></g><g id="search"><path d="M20.87,20.17l-5.59-5.59C16.35,13.35,17,11.75,17,10c0-3.87-3.13-7-7-7s-7,3.13-7,7s3.13,7,7,7c1.75,0,3.35-0.65,4.58-1.71 l5.59,5.59L20.87,20.17z M10,16c-3.31,0-6-2.69-6-6s2.69-6,6-6s6,2.69,6,6S13.31,16,10,16z"></path></g><g id="send-filled"><path d="M3.01,3L3,9.44L14.86,12L3,14.56L3.01,21L21,12L3.01,3z"></path></g><g id="send"><path d="M4.01,4.62l14.12,7.07l-3.06-0.66L4,8.64L4.01,4.62 M18.13,12.32L4.01,19.38L4,15.36l11.07-2.39L18.13,12.32 M3.01,3L3,9.44 L14.86,12L3,14.56L3.01,21L21,12L3.01,3L3.01,3z"></path></g><g id="settings-filled"><path d="M19.56,12c0-0.39-0.03-0.77-0.09-1.14l2.19-2.13l-2-3.46L16.74,6.1c-0.6-0.48-1.27-0.87-2-1.14L14,2h-4L9.26,4.96 c-0.73,0.27-1.4,0.66-2,1.14L4.34,5.27l-2,3.46l2.19,2.13C4.47,11.23,4.44,11.61,4.44,12s0.03,0.77,0.09,1.14l-2.19,2.13l2,3.46 l2.92-0.83c0.6,0.48,1.27,0.87,2,1.14L10,22h4l0.74-2.96c0.73-0.27,1.4-0.66,2-1.14l2.92,0.83l2-3.46l-2.19-2.13 C19.53,12.77,19.56,12.39,19.56,12z M12,16c-2.21,0-4-1.79-4-4c0-2.21,1.79-4,4-4s4,1.79,4,4C16,14.21,14.21,16,12,16z"></path></g><g id="settings"><path d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,8c-2.21,0-4,1.79-4,4s1.79,4,4,4s4-1.79,4-4 S14.21,8,12,8L12,8z M13.22,3l0.55,2.2l0.13,0.51l0.5,0.18c0.61,0.23,1.19,0.56,1.72,0.98l0.4,0.32l0.5-0.14l2.17-0.62l1.22,2.11 l-1.63,1.59l-0.37,0.36l0.08,0.51c0.05,0.32,0.08,0.64,0.08,0.98s-0.03,0.66-0.08,0.98l-0.08,0.51l0.37,0.36l1.63,1.59l-1.22,2.11 l-2.17-0.62l-0.5-0.14l-0.4,0.32c-0.53,0.43-1.11,0.76-1.72,0.98l-0.5,0.18l-0.13,0.51L13.22,21h-2.44l-0.55-2.2l-0.13-0.51 l-0.5-0.18C9,17.88,8.42,17.55,7.88,17.12l-0.4-0.32l-0.5,0.14l-2.17,0.62L3.6,15.44l1.63-1.59l0.37-0.36l-0.08-0.51 C5.47,12.66,5.44,12.33,5.44,12s0.03-0.66,0.08-0.98l0.08-0.51l-0.37-0.36L3.6,8.56l1.22-2.11l2.17,0.62l0.5,0.14l0.4-0.32 C8.42,6.45,9,6.12,9.61,5.9l0.5-0.18l0.13-0.51L10.78,3H13.22 M14,2h-4L9.26,4.96c-0.73,0.27-1.4,0.66-2,1.14L4.34,5.27l-2,3.46 l2.19,2.13C4.47,11.23,4.44,11.61,4.44,12s0.03,0.77,0.09,1.14l-2.19,2.13l2,3.46l2.92-0.83c0.6,0.48,1.27,0.87,2,1.14L10,22h4 l0.74-2.96c0.73-0.27,1.4-0.66,2-1.14l2.92,0.83l2-3.46l-2.19-2.13c0.06-0.37,0.09-0.75,0.09-1.14s-0.03-0.77-0.09-1.14l2.19-2.13 l-2-3.46L16.74,6.1c-0.6-0.48-1.27-0.87-2-1.14L14,2L14,2z"></path></g><g mirror-in-rtl="" id="share"><path d="M15,5.63L20.66,12L15,18.37V15v-1h-1c-3.96,0-7.14,1-9.75,3.09c1.84-4.07,5.11-6.4,9.89-7.1L15,9.86V9V5.63 M14,3v6 C6.22,10.13,3.11,15.33,2,21c2.78-3.97,6.44-6,12-6v6l8-9L14,3L14,3z"></path></g><g id="shield-filled"><path d="M12,2L4,5.67v5.49c0,1.47,0.3,2.9,0.81,4.22c0.17,0.44,0.37,0.86,0.6,1.28c0.16,0.3,0.34,0.6,0.52,0.88 c1.42,2.17,3.52,3.82,5.95,4.44L12,22l0.12-0.03c2.43-0.61,4.53-2.26,5.95-4.43c0.19-0.29,0.36-0.58,0.52-0.88 c0.22-0.41,0.43-0.84,0.6-1.28C19.7,14.05,20,12.62,20,11.15V5.67L12,2z"></path></g><g id="shield"><path d="M12,3.1l7,3.21v4.84c0,1.3-0.25,2.6-0.75,3.86c-0.15,0.37-0.33,0.76-0.55,1.17c-0.15,0.27-0.31,0.54-0.48,0.81 C15.91,19,14.06,20.41,12,20.97C9.94,20.41,8.09,19,6.77,16.99c-0.17-0.27-0.33-0.54-0.48-0.81c-0.22-0.41-0.4-0.79-0.55-1.17 C5.25,13.75,5,12.45,5,11.15V6.31L12,3.1 M12,2L4,5.67v5.49c0,1.47,0.3,2.9,0.81,4.22c0.17,0.44,0.37,0.86,0.6,1.28 c0.16,0.3,0.34,0.6,0.52,0.88c1.42,2.17,3.52,3.82,5.95,4.44L12,22l0.12-0.03c2.43-0.61,4.53-2.26,5.95-4.43 c0.19-0.29,0.36-0.58,0.52-0.88c0.22-0.41,0.43-0.84,0.6-1.28C19.7,14.05,20,12.62,20,11.15V5.67L12,2L12,2z"></path></g><g id="shield_with_avatar-filled"><path d="M12,1.96L4,5.63v5.49c0,1.47,0.3,2.9,0.81,4.22c0.17,0.44,0.37,0.86,0.6,1.28c0.16,0.3,0.34,0.6,0.52,0.88 c1.42,2.17,3.52,3.82,5.95,4.44L12,21.96l0.12-0.03c2.43-0.61,4.53-2.26,5.95-4.43c0.19-0.29,0.36-0.58,0.52-0.88 c0.22-0.41,0.43-0.84,0.6-1.28C19.7,14.01,20,12.58,20,11.11V5.63L12,1.96z M7,17c0-2.38,1.64-4.42,3.92-4.89h0 c0.32-0.06,0.64-0.11,0.96-0.12C10.28,11.92,9,10.62,9,9c0-1.66,1.34-3,3-3s3,1.34,3,3c0,1.62-1.28,2.92-2.88,2.99 c0.32,0.01,0.64,0.06,0.96,0.12C15.36,12.58,17,14.62,17,17H7z"></path></g><g id="shield_with_avatar"><path d="M12,3.06l7,3.21v4.84c0,1.3-0.25,2.6-0.75,3.86c-0.15,0.37-0.33,0.76-0.55,1.17c-0.15,0.27-0.31,0.54-0.48,0.81 c-1.32,2.01-3.17,3.42-5.23,3.98c-2.06-0.56-3.91-1.97-5.23-3.98c-0.17-0.27-0.33-0.54-0.48-0.81c-0.22-0.41-0.4-0.79-0.55-1.17 C5.25,13.71,5,12.41,5,11.11V6.27L12,3.06 M12,1.96L4,5.63v5.49c0,1.47,0.3,2.9,0.81,4.22c0.17,0.44,0.37,0.86,0.6,1.28 c0.16,0.3,0.34,0.6,0.52,0.88c1.42,2.17,3.52,3.82,5.95,4.44L12,21.96l0.12-0.03c2.43-0.61,4.53-2.26,5.95-4.43 c0.19-0.29,0.36-0.58,0.52-0.88c0.22-0.41,0.43-0.84,0.6-1.28C19.7,14.01,20,12.58,20,11.11V5.63L12,1.96L12,1.96z M13.08,12.11 c-0.32-0.06-0.64-0.11-0.96-0.12C13.72,11.92,15,10.62,15,9c0-1.66-1.34-3-3-3S9,7.34,9,9c0,1.62,1.28,2.92,2.88,2.99 c-0.32,0.01-0.64,0.06-0.96,0.12h0C8.64,12.58,7,14.62,7,17h10C17,14.62,15.36,12.58,13.08,12.11z M10,9c0-1.1,0.9-2,2-2s2,0.9,2,2 s-0.9,2-2,2S10,10.1,10,9z M11.12,13.09c0.37-0.08,0.64-0.11,0.88-0.11s0.51,0.03,0.88,0.11c1.48,0.3,2.63,1.46,3,2.91H8.12 C8.49,14.55,9.64,13.39,11.12,13.09z"></path></g><g id="shopping_bag"><path d="M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"></path></g><g id="shopping_cart-filled"><path d="M10,20c0,1.1-0.9,2-2,2s-2-0.9-2-2c0-1.1,0.9-2,2-2S10,18.9,10,20z M16,18c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2s2-0.9,2-2 C18,18.9,17.1,18,16,18z M7.81,14L7.1,16H18v1H6l0.03-0.97l0.8-2.25L5,5V3H3V2h2h1v1v2h14l-1.88,9H7.81z"></path></g><g id="shopping_cart"><path d="M10,20c0,1.1-0.9,2-2,2s-2-0.9-2-2c0-1.1,0.9-2,2-2S10,18.9,10,20z M16,18c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2s2-0.9,2-2 C18,18.9,17.1,18,16,18z M7.81,14L7.1,16H18v1H6l0.03-0.97l0.8-2.25L5,5V3H3V2h2h1v1v2h14l-1.88,9H7.81z M6.23,6l1.46,7h9.62l1.46-7 H6.23z"></path></g><g id="shuffle-filled"><path d="M18.51,13.29l4.21,4.21l-4.21,4.21l-1.41-1.41l1.8-1.8c-2.95-0.03-5.73-1.32-7.66-3.55l1.51-1.31 c1.54,1.79,3.77,2.82,6.13,2.85l-1.79-1.79L18.51,13.29z M18.88,7.51l-1.78,1.78l1.41,1.41l4.21-4.21l-4.21-4.21l-1.41,1.41l1.8,1.8 c-3.72,0.04-7.12,2.07-8.9,5.34l-0.73,1.34C7.81,14.85,5.03,17,2,17v2c3.76,0,7.21-2.55,9.01-5.85l0.73-1.34 C13.17,9.19,15.9,7.55,18.88,7.51z M8.21,10.31l1.5-1.32C7.77,6.77,4.95,5,2,5v2C4.38,7,6.64,8.53,8.21,10.31z"></path></g><g id="shuffle"><path d="M18.15,13.65l3.85,3.85l-3.85,3.85l-0.71-0.71L20.09,18H19c-2.84,0-5.53-1.23-7.39-3.38l0.76-0.65 C14.03,15.89,16.45,17,19,17h1.09l-2.65-2.65L18.15,13.65z M19,7h1.09l-2.65,2.65l0.71,0.71l3.85-3.85l-3.85-3.85l-0.71,0.71 L20.09,6H19c-3.58,0-6.86,1.95-8.57,5.09l-0.73,1.34C8.16,15.25,5.21,17,2,17v1c3.58,0,6.86-1.95,8.57-5.09l0.73-1.34 C12.84,8.75,15.79,7,19,7z M8.59,9.98l0.75-0.66C7.49,7.21,4.81,6,2,6v1C4.52,7,6.92,8.09,8.59,9.98z"></path></g><g id="skip_forward_30-filled"><path d="M11.54,12.88c0.11,0.25,0.16,0.53,0.16,0.83c0,0.37-0.07,0.7-0.2,0.99c-0.13,0.29-0.33,0.54-0.57,0.74 c-0.24,0.2-0.53,0.35-0.85,0.46C9.75,16,9.4,16.05,9.02,16.05c-0.31,0-0.63-0.05-0.93-0.14c-0.3-0.09-0.58-0.23-0.83-0.42 c-0.25-0.19-0.45-0.43-0.59-0.71c-0.15-0.29-0.22-0.63-0.22-1.02v-0.05h1.56v0.05c0,0.19,0.05,0.36,0.14,0.51 c0.09,0.15,0.21,0.27,0.37,0.35c0.16,0.08,0.34,0.13,0.54,0.13c0.22,0,0.42-0.04,0.58-0.13c0.16-0.09,0.28-0.21,0.37-0.36 c0.09-0.16,0.13-0.34,0.13-0.56c0-0.27-0.05-0.5-0.14-0.66c-0.09-0.16-0.23-0.28-0.4-0.36c-0.18-0.08-0.39-0.12-0.63-0.12H8.13 v-1.27h0.83c0.24,0,0.44-0.04,0.59-0.13c0.15-0.09,0.27-0.21,0.34-0.36c0.08-0.16,0.11-0.35,0.11-0.56c0-0.19-0.04-0.36-0.1-0.51 C9.84,9.58,9.74,9.46,9.6,9.38C9.46,9.29,9.28,9.25,9.06,9.25c-0.17,0-0.33,0.04-0.47,0.11c-0.14,0.07-0.26,0.17-0.35,0.3 c-0.08,0.13-0.13,0.28-0.13,0.46v0.05H6.55v-0.05c0-0.44,0.11-0.82,0.34-1.15C7.1,8.66,7.41,8.4,7.78,8.22 c0.37-0.18,0.79-0.27,1.24-0.27c0.51,0,0.95,0.09,1.33,0.26c0.38,0.17,0.69,0.43,0.9,0.76c0.21,0.33,0.32,0.75,0.32,1.25 c0,0.25-0.06,0.5-0.17,0.73c-0.11,0.23-0.27,0.45-0.48,0.64c-0.12,0.11-0.27,0.21-0.45,0.3c0.23,0.09,0.42,0.21,0.57,0.34 C11.27,12.41,11.43,12.63,11.54,12.88z M17.67,11.32v1.35c0,0.59-0.06,1.1-0.18,1.52c-0.12,0.43-0.29,0.78-0.52,1.06 c-0.23,0.27-0.5,0.48-0.81,0.61c-0.31,0.13-0.66,0.2-1.03,0.2c-0.3,0-0.59-0.04-0.85-0.12c-0.26-0.08-0.5-0.21-0.71-0.39 c-0.21-0.18-0.39-0.4-0.54-0.66c-0.15-0.26-0.26-0.58-0.34-0.95c-0.08-0.36-0.12-0.79-0.12-1.26v-1.35c0-0.59,0.06-1.1,0.18-1.52 c0.12-0.42,0.3-0.77,0.52-1.05c0.23-0.27,0.5-0.48,0.81-0.6c0.31-0.13,0.66-0.19,1.03-0.19c0.3,0,0.59,0.04,0.84,0.12 c0.26,0.08,0.5,0.21,0.71,0.38c0.21,0.17,0.39,0.39,0.54,0.66c0.15,0.26,0.26,0.58,0.34,0.95C17.63,10.43,17.67,10.85,17.67,11.32z  M15.84,14.34c0.09-0.15,0.15-0.34,0.19-0.58c0.04-0.24,0.07-0.54,0.07-0.89v-1.76c0-0.28-0.01-0.52-0.04-0.73 c-0.03-0.2-0.07-0.38-0.13-0.53c-0.06-0.14-0.12-0.26-0.2-0.35c-0.08-0.09-0.17-0.15-0.27-0.19c-0.1-0.04-0.22-0.06-0.34-0.06 c-0.16,0-0.3,0.03-0.42,0.1c-0.12,0.06-0.22,0.17-0.3,0.31c-0.08,0.14-0.15,0.33-0.19,0.57c-0.04,0.24-0.07,0.54-0.07,0.88v1.76 c0,0.28,0.01,0.52,0.04,0.74c0.03,0.21,0.07,0.39,0.13,0.54c0.06,0.15,0.13,0.26,0.2,0.35c0.08,0.09,0.17,0.15,0.27,0.19 c0.1,0.04,0.22,0.06,0.34,0.06c0.15,0,0.29-0.03,0.41-0.1C15.65,14.58,15.76,14.48,15.84,14.34z M19,12c0,2.1-0.93,4.07-2.55,5.4 c-1.62,1.34-3.76,1.87-5.86,1.46c-2.73-0.53-4.92-2.72-5.45-5.45C4.73,11.31,5.26,9.17,6.6,7.55C7.93,5.93,9.9,5,12,5h1.27 l-0.85,0.85l1.41,1.41l3.35-3.35l-3.35-3.35l-1.41,1.41L13.43,3H12C9.3,3,6.77,4.19,5.05,6.28c-1.72,2.08-2.4,4.82-1.88,7.52 c0.68,3.52,3.51,6.35,7.03,7.03C10.8,20.94,11.39,21,11.98,21c2.09,0,4.11-0.71,5.74-2.05C19.81,17.23,21,14.7,21,12H19z"></path></g><g id="skip_forward_30"><path d="M11.54,12.88c0.11,0.25,0.16,0.53,0.16,0.83c0,0.37-0.07,0.7-0.2,0.99c-0.13,0.29-0.33,0.54-0.57,0.74 c-0.24,0.2-0.53,0.35-0.85,0.46C9.75,16,9.4,16.05,9.02,16.05c-0.31,0-0.63-0.05-0.93-0.14c-0.3-0.09-0.58-0.23-0.83-0.42 c-0.25-0.19-0.45-0.43-0.59-0.71c-0.15-0.29-0.22-0.63-0.22-1.02v-0.05h1.56v0.05c0,0.19,0.05,0.36,0.14,0.51 c0.09,0.15,0.21,0.27,0.37,0.35c0.16,0.08,0.34,0.13,0.54,0.13c0.22,0,0.42-0.04,0.58-0.13c0.16-0.09,0.28-0.21,0.37-0.36 c0.09-0.16,0.13-0.34,0.13-0.56c0-0.27-0.05-0.5-0.14-0.66c-0.09-0.16-0.23-0.28-0.4-0.36c-0.18-0.08-0.39-0.12-0.63-0.12H8.13 v-1.27h0.83c0.24,0,0.44-0.04,0.59-0.13c0.15-0.09,0.27-0.21,0.34-0.36c0.08-0.16,0.11-0.35,0.11-0.56c0-0.19-0.04-0.36-0.1-0.51 C9.84,9.58,9.74,9.46,9.6,9.38C9.46,9.29,9.28,9.25,9.06,9.25c-0.17,0-0.33,0.04-0.47,0.11c-0.14,0.07-0.26,0.17-0.35,0.3 c-0.08,0.13-0.13,0.28-0.13,0.46v0.05H6.55v-0.05c0-0.44,0.11-0.82,0.34-1.15C7.1,8.66,7.41,8.4,7.78,8.22 c0.37-0.18,0.79-0.27,1.24-0.27c0.51,0,0.95,0.09,1.33,0.26c0.38,0.17,0.69,0.43,0.9,0.76c0.21,0.33,0.32,0.75,0.32,1.25 c0,0.25-0.06,0.5-0.17,0.73c-0.11,0.23-0.27,0.45-0.48,0.64c-0.12,0.11-0.27,0.21-0.45,0.3c0.23,0.09,0.42,0.21,0.57,0.34 C11.27,12.41,11.43,12.63,11.54,12.88z M17.67,11.32v1.35c0,0.59-0.06,1.1-0.18,1.52c-0.12,0.43-0.29,0.78-0.52,1.06 c-0.23,0.27-0.5,0.48-0.81,0.61c-0.31,0.13-0.66,0.2-1.03,0.2c-0.3,0-0.59-0.04-0.85-0.12c-0.26-0.08-0.5-0.21-0.71-0.39 c-0.21-0.18-0.39-0.4-0.54-0.66c-0.15-0.26-0.26-0.58-0.34-0.95c-0.08-0.36-0.12-0.79-0.12-1.26v-1.35c0-0.59,0.06-1.1,0.18-1.52 c0.12-0.42,0.3-0.77,0.52-1.05c0.23-0.27,0.5-0.48,0.81-0.6c0.31-0.13,0.66-0.19,1.03-0.19c0.3,0,0.59,0.04,0.84,0.12 c0.26,0.08,0.5,0.21,0.71,0.38c0.21,0.17,0.39,0.39,0.54,0.66c0.15,0.26,0.26,0.58,0.34,0.95C17.63,10.43,17.67,10.85,17.67,11.32z  M15.84,14.34c0.09-0.15,0.15-0.34,0.19-0.58c0.04-0.24,0.07-0.54,0.07-0.89v-1.76c0-0.28-0.01-0.52-0.04-0.73 c-0.03-0.2-0.07-0.38-0.13-0.53c-0.06-0.14-0.12-0.26-0.2-0.35c-0.08-0.09-0.17-0.15-0.27-0.19c-0.1-0.04-0.22-0.06-0.34-0.06 c-0.16,0-0.3,0.03-0.42,0.1c-0.12,0.06-0.22,0.17-0.3,0.31c-0.08,0.14-0.15,0.33-0.19,0.57c-0.04,0.24-0.07,0.54-0.07,0.88v1.76 c0,0.28,0.01,0.52,0.04,0.74c0.03,0.21,0.07,0.39,0.13,0.54c0.06,0.15,0.13,0.26,0.2,0.35c0.08,0.09,0.17,0.15,0.27,0.19 c0.1,0.04,0.22,0.06,0.34,0.06c0.15,0,0.29-0.03,0.41-0.1C15.65,14.58,15.76,14.48,15.84,14.34z M21,12c0,2.7-1.2,5.23-3.28,6.95 C16.1,20.29,14.07,21,11.98,21c-0.59,0-1.19-0.06-1.78-0.17c-3.52-0.68-6.34-3.51-7.02-7.02c-0.52-2.7,0.16-5.44,1.88-7.52 C6.77,4.2,9.3,3,12,3h2.79l-1.95-1.95l0.71-0.71l3.16,3.16l-3.16,3.16l-0.71-0.71L14.79,4H12C9.6,4,7.35,5.06,5.82,6.92 c-1.53,1.85-2.13,4.29-1.67,6.69c0.61,3.12,3.11,5.63,6.23,6.23c2.41,0.47,4.84-0.14,6.69-1.67C18.94,16.65,20,14.4,20,12H21z"></path></g><g id="skip_next"><path d="M5,18l10-6L5,6V18L5,18z M19,6h-2v12h2V6z"></path></g><g id="skip_previous"><path d="M19,6L9,12l10,6V6L19,6z M7,6H5v12h2V6z"></path></g><g id="sort-filled"><path d="M21,6.99H3V5h18V6.99z M15,11H3v1.99h12V11z M9,17H3v1.99h6V17z"></path></g><g id="sort"><path d="M21,6H3V5h18V6z M15,11H3v1h12V11z M9,17H3v1h6V17z"></path></g><g id="spotlight-filled"><path d="M17.17,13h-1.74H6.5c-0.93,0-1.78,0.28-2.5,0.76c-0.5,0.26-1,0.94-1,0.94V3L17.17,13z M20.85,16.55 c-0.05-0.19-0.12-0.37-0.2-0.55c-0.02-0.05-0.05-0.1-0.08-0.14c-0.1-0.18-0.21-0.36-0.34-0.52c-0.02-0.03-0.04-0.05-0.06-0.07 c-0.15-0.18-0.32-0.35-0.51-0.5c-0.02-0.02-0.04-0.03-0.06-0.05c-0.08-0.06-0.16-0.12-0.25-0.18C18.81,14.2,18.18,14,17.5,14h-0.65 H6.5c-0.24,0-0.48,0.03-0.71,0.07c-0.06,0.01-0.11,0.04-0.17,0.05c-0.17,0.04-0.34,0.09-0.49,0.16C5.08,14.3,5.04,14.33,5,14.35 c-0.16,0.08-0.32,0.16-0.47,0.26c-0.03,0.02-0.06,0.05-0.09,0.08c-0.15,0.11-0.3,0.23-0.43,0.36C3.39,15.68,3,16.55,3,17.5 C3,19.43,4.57,21,6.5,21h11c1.93,0,3.5-1.57,3.5-3.5c0-0.27-0.03-0.52-0.09-0.77C20.89,16.67,20.87,16.61,20.85,16.55z"></path></g><g id="spotlight"><path d="M19.64,14.75L19.64,14.75l-0.03-0.02c-0.09-0.07-0.18-0.13-0.27-0.19L3,3v14.5C3,19.43,4.57,21,6.5,21h11 c1.93,0,3.5-1.57,3.5-3.5C21,16.38,20.46,15.39,19.64,14.75z M4,4.93L16.85,14H6.5c-0.98,0-1.86,0.41-2.5,1.06V4.93z M17.5,20h-11 C5.12,20,4,18.88,4,17.5S5.12,15,6.5,15h11c1.38,0,2.5,1.12,2.5,2.5S18.88,20,17.5,20z"></path></g><g id="star-filled"><path d="M12,17.27L18.18,21l-1.64-7.03L22,9.24l-7.19-0.61L12,2L9.19,8.63L2,9.24l5.46,4.73L5.82,21L12,17.27z"></path></g><g id="star"><path d="M12,4.56l1.89,4.46l0.24,0.56l0.6,0.05l4.83,0.41l-3.67,3.18l-0.46,0.4l0.14,0.59l1.1,4.72l-4.15-2.51L12,16.1l-0.52,0.31 l-4.15,2.51l1.1-4.72l0.14-0.59l-0.46-0.4l-3.67-3.18l4.83-0.41l0.6-0.05l0.24-0.56L12,4.56 M12,2L9.19,8.63L2,9.24l5.46,4.73 L5.82,21L12,17.27L18.18,21l-1.64-7.03L22,9.24l-7.19-0.61L12,2L12,2z"></path></g><g id="star_half"><path d="M22,9.24l-7.19-0.61L12,2L9.19,8.63L2,9.24l5.46,4.73L5.82,21L12,17.27L18.18,21l-1.64-7.03L22,9.24z M16.67,18.92 l-4.15-2.51L12,16.1V4.56l1.89,4.46l0.24,0.56l0.6,0.05l4.83,0.41l-3.67,3.18l-0.46,0.4l0.14,0.59L16.67,18.92z"></path></g><g id="subscribe-filled"><path d="M21.58,7.19a2.51,2.51,0,0,0-1.77-1.77C18.25,5,12,5,12,5s-6.25,0-7.81.42A2.51,2.51,0,0,0,2.42,7.19,25.87,25.87,0,0,0,2,12a25.87,25.87,0,0,0,.42,4.81,2.51,2.51,0,0,0,1.77,1.77C5.75,19,12,19,12,19s6.25,0,7.81-.42a2.51,2.51,0,0,0,1.77-1.77A25.87,25.87,0,0,0,22,12,25.87,25.87,0,0,0,21.58,7.19ZM10,14.65V9.35L15,12Z"></path></g><g id="subscribe"><path d="M10,9.35,15,12l-5,2.65ZM12,6a54.36,54.36,0,0,0-7.56.38A1.53,1.53,0,0,0,3.38,7.44,24.63,24.63,0,0,0,3,12a24.63,24.63,0,0,0,.38,4.56,1.53,1.53,0,0,0,1.06,1.06A54.36,54.36,0,0,0,12,18a54.36,54.36,0,0,0,7.56-.38,1.53,1.53,0,0,0,1.06-1.06A24.63,24.63,0,0,0,21,12a24.63,24.63,0,0,0-.38-4.56,1.53,1.53,0,0,0-1.06-1.06A54.36,54.36,0,0,0,12,6h0m0-1s6.25,0,7.81.42a2.51,2.51,0,0,1,1.77,1.77A25.87,25.87,0,0,1,22,12a25.87,25.87,0,0,1-.42,4.81,2.51,2.51,0,0,1-1.77,1.77C18.25,19,12,19,12,19s-6.25,0-7.81-.42a2.51,2.51,0,0,1-1.77-1.77A25.87,25.87,0,0,1,2,12a25.87,25.87,0,0,1,.42-4.81A2.51,2.51,0,0,1,4.19,5.42C5.75,5,12,5,12,5Z"></path></g><g id="subscriptions-filled"><path d="M20,7H4V6h16V7z M22,9v12H2V9H22z M15,15l-5-3v6L15,15z M17,3H7v1h10V3z"></path></g><g id="subscriptions"><path d="M10,18v-6l5,3L10,18z M17,3H7v1h10V3z M20,6H4v1h16V6z M22,9H2v12h20V9z M3,10h18v10H3V10z"></path></g><g id="subtitles-filled"><path d="M2,6v14h20V6H2z M5,11h2v2H5V11z M15,17H5v-2h10V17z M19,17h-2v-2h2V17z M19,13H9v-2h10V13z"></path></g><g id="subtitles"><path d="M5,11h2v2H5V11z M15,15H5v2h10V15z M19,15h-2v2h2V15z M19,11H9v2h10V11z M22,6H2v14h20V6z M3,7h18v12H3V7z"></path></g><g id="super_chat_for_good-filled"><path d="M21.29,7.63L21.29,7.63C20.32,5.94,18.55,5,16.73,5c-0.89,0-1.8,0.23-2.63,0.71L12,6.92L9.9,5.71C9.07,5.23,8.17,5,7.27,5 C5.45,5,3.68,5.94,2.71,7.63l0,0c-1.45,2.52-0.59,5.74,1.93,7.19L12,19l7.36-4.17C21.88,13.37,22.75,10.15,21.29,7.63z M10.39,16.94 l-1.05-0.59l6.02-3.37c0.34,0.19,1.02,0.58,1.04,0.6L10.39,16.94z M3.52,12.29l4.67-2.65l-1.04-0.6l1.08-0.6c0,0,4.28,2.4,4.63,2.59 c0.35,0.19,0.71,0.21,1.07,0.03c0.62-0.31,0.73-1.03,0.44-1.5c-0.11-0.17-0.25-0.29-0.42-0.39c-0.14-0.08-1-0.57-1.93-1.11l1.05-0.6 c0.08,0.04,1.06,0.59,1.44,0.81c0.33,0.19,0.6,0.43,0.8,0.75c0.25,0.41,0.35,0.85,0.29,1.32c-0.1,0.82-0.55,1.39-1.32,1.73 c-0.5,0.22-1.02,0.23-1.53,0.06c-0.08-0.03-0.15-0.03-0.22,0.02c-0.01,0.01-5.21,2.92-5.33,2.98l-1.07-0.6l5.39-3.04l-2.21-1.22 c0,0-3.73,2.07-5.17,2.88C3.9,12.88,3.69,12.6,3.52,12.29z"></path></g><g id="super_chat_for_good"><path d="M21.29,7.63L21.29,7.63C20.32,5.94,18.55,5,16.73,5c-0.89,0-1.8,0.23-2.63,0.71L12,6.92L9.9,5.71C9.07,5.23,8.17,5,7.27,5 C5.45,5,3.68,5.94,2.71,7.63l0,0c-1.45,2.52-0.59,5.74,1.93,7.19L12,19l7.36-4.17C21.88,13.37,22.75,10.15,21.29,7.63z M3.57,8.13 C4.33,6.82,5.75,6,7.27,6C8.02,6,8.75,6.2,9.4,6.57c0,0,4.22,2.43,4.54,2.61c0.17,0.1,0.32,0.22,0.42,0.39 c0.29,0.46,0.19,1.18-0.43,1.49c-0.36,0.18-0.72,0.16-1.07-0.03c-0.35-0.19-4.62-2.58-4.62-2.58l-1.07,0.6l1.04,0.6L3.53,12.3 c0,0-0.3-0.6-0.38-0.93C2.85,10.27,3,9.12,3.57,8.13z M4.15,13.15c1.43-0.8,5.17-2.88,5.17-2.88l2.2,1.22l-5.39,3.03l-1-0.57 C4.76,13.74,4.44,13.46,4.15,13.15z M20.85,11.37c-0.29,1.1-1,2.02-1.98,2.59L12,17.85l-1.62-0.92l6-3.36 c-0.01-0.02-0.7-0.41-1.04-0.6l-6.01,3.37L7.2,15.13c0,0,5.31-2.97,5.32-2.98c0.07-0.05,0.14-0.05,0.22-0.02 c0.52,0.17,1.03,0.16,1.53-0.06c0.77-0.33,1.22-0.9,1.32-1.72c0.06-0.47-0.05-0.91-0.29-1.32c-0.19-0.32-0.47-0.56-0.79-0.75 c-0.4-0.23-1.45-0.81-1.45-0.81l1.55-0.9C15.25,6.2,15.98,6,16.73,6c1.52,0,2.94,0.82,3.7,2.13C21,9.12,21.15,10.27,20.85,11.37z"></path></g><g id="switch_accounts-filled"><path d="M4,20h14v1H3V6h1V20z M6,3v15h15V3H6z M14.21,11.93C15.8,11.6,17,10.19,17,8.5C17,6.57,15.43,5,13.5,5S10,6.57,10,8.5 c0,1.69,1.2,3.1,2.79,3.43C9.32,12.19,7.4,14.35,7.02,17H7V4h13v13h-0.02C19.6,14.35,17.68,12.19,14.21,11.93z"></path></g><g id="switch_accounts"><path d="M4,20h14v1H3V6h1V20z M6,3v15h15V3H6z M8.02,17c0.36-2.13,1.93-4.1,5.48-4.1s5.12,1.97,5.48,4.1H8.02z M11,8.5 C11,7.12,12.12,6,13.5,6S16,7.12,16,8.5c0,1.38-1.12,2.5-2.5,2.5S11,9.88,11,8.5z M14.21,11.93C15.8,11.6,17,10.19,17,8.5 C17,6.57,15.43,5,13.5,5S10,6.57,10,8.5c0,1.69,1.2,3.1,2.79,3.43c-3.48,0.26-5.4,2.42-5.78,5.07H7V4h13v13h-0.01 C19.61,14.35,17.68,12.19,14.21,11.93z"></path></g><g id="tab_home-filled"><path d="M4,10V21h6V15h4v6h6V10L12,3Z"></path></g><g id="tab_home"><path d="M12,4.33l7,6.12V20H15V14H9v6H5V10.45l7-6.12M12,3,4,10V21h6V15h4v6h6V10L12,3Z"></path></g><g height="24" viewBox="0 0 24 24" width="24" id="tab_shorts-filled"><path d="M17.77 10.32c-.77-.32-1.2-.5-1.2-.5L18 9.06c1.84-.96 2.53-3.23 1.56-5.06s-3.24-2.53-5.07-1.56L6 6.94c-1.29.68-2.07 2.04-2 3.49.07 1.42.93 2.67 2.22 3.25.03.01 1.2.5 1.2.5L6 14.93c-1.83.97-2.53 3.24-1.56 5.07.97 1.83 3.24 2.53 5.07 1.56l8.5-4.5c1.29-.68 2.06-2.04 1.99-3.49-.07-1.42-.94-2.68-2.23-3.25zM10 14.65v-5.3L15 12l-5 2.65z"></path></g><g height="24" viewBox="0 0 24 24" width="24" id="tab_shorts"><path d="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33c-.77-.32-1.2-.5-1.2-.5L18 9.06c1.84-.96 2.53-3.23 1.56-5.06s-3.24-2.53-5.07-1.56L6 6.94c-1.29.68-2.07 2.04-2 3.49.07 1.42.93 2.67 2.22 3.25.03.01 1.2.5 1.2.5L6 14.93c-1.83.97-2.53 3.24-1.56 5.07.97 1.83 3.24 2.53 5.07 1.56l8.5-4.5c1.29-.68 2.06-2.04 1.99-3.49-.07-1.42-.94-2.68-2.23-3.25zm-.23 5.86l-8.5 4.5c-1.34.71-3.01.2-3.72-1.14-.71-1.34-.2-3.01 1.14-3.72l2.04-1.08v-1.21l-.69-.28-1.11-.46c-.99-.41-1.65-1.35-1.7-2.41-.05-1.06.52-2.06 1.46-2.56l8.5-4.5c1.34-.71 3.01-.2 3.72 1.14.71 1.34.2 3.01-1.14 3.72L15.5 9.26v1.21l1.8.74c.99.41 1.65 1.35 1.7 2.41.05 1.06-.52 2.06-1.46 2.56z"></path></g><g id="trailer-filled"><path d="M2,5v14h20V5H2z M6,9L5,6h3l1,3H6z M11,9l-1-3h3l1,3H11z M16,9l-1-3h3l1,3H16z"></path></g><g id="trailer"><path d="M2,5v14h20V5H2z M21,6v12H3V6h2l1,3h3L8,6h2l1,3h3l-1-3h2l1,3h3l-1-3H21z"></path></g><g id="translate-filled"><path d="M12.1,16.6l-2.8-2.8l-4.5,4.5l-1.28-1.28L8.1,12.5c-1.12-1.25-2.02-2.64-2.68-4.1h1.8c0.55,1.07,1.24,2.09,2.08,3.02 c1.3-1.44,2.25-3.09,2.85-4.82H2.1V4.8h6.3V3h1.8v1.8h6.3v1.8h-2.64c-0.66,2.12-1.77,4.13-3.34,5.88L10.5,12.5l2.29,2.26L12.1,16.6z M21.9,21h-1.8l-1.02-2.7h-4.28L13.8,21H12l4.05-10.8h1.8L21.9,21z M18.41,16.5l-1.46-3.9l-1.46,3.9H18.41z"></path></g><g id="translate"><path d="M12.26,16.18l-2.93-2.87c-0.8,0.86-1.64,1.71-2.48,2.54L4.6,18.1L3.9,17.4l2.25-2.25c0.84-0.84,1.68-1.69,2.48-2.55 c-1.18-1.23-2.17-2.64-2.9-4.18L5.73,8.4h1.14c0.65,1.26,1.47,2.43,2.44,3.45c1.59-1.81,2.89-3.69,3.43-5.7H2.08v-1h6.65V3h1v2.15 h6.78v1h-2.73c-0.54,2.32-2.01,4.42-3.77,6.42l2.63,2.58C12.51,15.5,12.39,15.82,12.26,16.18z M21.51,21.01h-0.95l-1.12-3.04h-4.91 l-1.11,3.04h-0.96l4.09-10.81h0.87L21.51,21.01z M19.15,17.2l-2.17-5.89l-2.17,5.89H19.15z"></path></g><g id="trending-filled"><path d="M19.48,12.83c-0.04-0.1-0.09-0.2-0.14-0.3c-0.25-0.49-0.55-0.96-0.91-1.38c-0.27-0.34-0.57-0.65-0.89-0.93 c-0.75-0.67-1.63-1.14-2.36-1.84c-1.49-1.44-2-3.46-1.34-5.39C14.2,2.2,14.41,2,14.41,2s-0.6,0.28-1.07,0.52 c-0.47,0.24-1.39,0.72-1.98,1.18C8.37,6,7.79,9.59,8.64,13.35c0.01,0.05-0.02,0.09-0.08,0.09c-0.07,0-0.18-0.06-0.34-0.22 C7,11.88,6.41,10.11,6.64,8.35c0.01-0.06,0.01-0.09,0.01-0.09S5.51,9.74,5.1,10.43c-0.41,0.69-1.2,2.43-1.08,4.31 c0.04,0.56,0.13,1.12,0.29,1.67c0.2,0.68,0.49,1.33,0.88,1.93c1.21,1.91,3.34,3.29,5.63,3.57c0.47,0.06,0.94,0.09,1.41,0.09 c2,0,4.01-0.53,5.53-1.87C19.84,18.3,20.6,15.38,19.48,12.83z M14.72,17.84c-0.32,0.27-0.83,0.53-1.23,0.66 c-1.34,0.33-2.41-0.34-2.62-0.46c-0.21-0.11-0.78-0.38-0.78-0.38s0.35-0.11,0.41-0.13c1.34-0.54,1.89-1.24,2.09-2.11 c0.2-0.84-0.16-1.56-0.31-2.39c-0.12-0.69-0.11-1.28,0.12-1.9c0.02-0.05,0.12-0.43,0.12-0.43s0.11,0.35,0.13,0.41 c0.71,1.51,2.72,2.18,3.07,3.84c0.03,0.15,0.05,0.3,0.05,0.46C15.8,16.3,15.4,17.26,14.72,17.84z"></path></g><g id="trending"><path d="M14.72,17.84c-0.32,0.27-0.83,0.53-1.23,0.66c-1.34,0.33-2.41-0.34-2.62-0.46c-0.21-0.11-0.78-0.38-0.78-0.38 s0.35-0.11,0.41-0.13c1.34-0.54,1.89-1.24,2.09-2.11c0.2-0.84-0.16-1.56-0.31-2.39c-0.12-0.69-0.11-1.28,0.12-1.9 c0.02-0.05,0.12-0.43,0.12-0.43s0.11,0.35,0.13,0.41c0.71,1.51,2.72,2.18,3.07,3.84c0.03,0.15,0.05,0.3,0.05,0.46 C15.8,16.3,15.4,17.26,14.72,17.84z M12.4,4.34c-0.12,0.08-0.22,0.15-0.31,0.22c-2.99,2.31-2.91,5.93-2.31,8.55l0.01,0.03l0.01,0.03 c0.06,0.35-0.05,0.7-0.28,0.96c-0.24,0.26-0.58,0.41-0.95,0.41c-0.44,0-0.85-0.2-1.22-0.6c-0.67-0.73-1.17-1.57-1.5-2.46 c-0.36,0.77-0.75,1.98-0.67,3.19c0.04,0.51,0.12,1,0.25,1.43c0.18,0.6,0.43,1.16,0.75,1.65c1.05,1.66,2.88,2.82,4.78,3.05 c0.42,0.05,0.85,0.08,1.26,0.08c1.34,0,3.25-0.27,4.74-1.57c1.77-1.56,2.35-3.99,1.44-6.06c-0.04-0.1-0.06-0.14-0.09-0.19 l-0.04-0.08c-0.21-0.42-0.47-0.81-0.75-1.14c-0.24-0.3-0.48-0.56-0.79-0.83c-0.3-0.27-0.64-0.51-1-0.77 c-0.46-0.33-0.93-0.67-1.38-1.09C12.98,7.83,12.3,6.11,12.4,4.34 M14.41,2c0,0-0.2,0.2-0.56,0.99c-0.66,1.92-0.15,3.95,1.34,5.39 c0.73,0.69,1.61,1.17,2.36,1.84c0.32,0.29,0.62,0.59,0.89,0.93c0.36,0.42,0.66,0.89,0.91,1.38c0.05,0.1,0.1,0.2,0.14,0.3 c1.12,2.55,0.36,5.47-1.73,7.31C16.23,21.47,14.22,22,12.22,22c-0.47,0-0.95-0.03-1.41-0.09c-2.29-0.28-4.42-1.66-5.63-3.57 c-0.39-0.6-0.68-1.26-0.88-1.93c-0.16-0.54-0.25-1.1-0.29-1.67c-0.12-1.88,0.67-3.63,1.08-4.31c0.41-0.69,1.55-2.18,1.55-2.18 s0,0.03-0.01,0.09C6.41,10.11,7,11.88,8.22,13.22c0.15,0.17,0.27,0.22,0.34,0.22c0.06,0,0.09-0.04,0.08-0.09 C7.79,9.59,8.37,6,11.35,3.7c0.59-0.46,1.51-0.94,1.98-1.18C13.8,2.28,14.41,2,14.41,2L14.41,2z"></path></g><g id="trending_up"><path d="M22,6v7h-1V7.6l-8.5,7.6l-4-4l-5.6,5.6l-0.7-0.7l6.4-6.4l4,4L20.2,7H15V6H22z"></path></g><g id="trophy-filled"><path d="M18 5V2H6V5H4V6V10V11H6.01C6.07 13.53 7.63 15.78 9.97 16.64C9.98 16.64 9.99 16.64 10 16.65V19H9V20H8V22H16V20H15V19H14V16.65C14.01 16.65 14.02 16.65 14.03 16.64C16.36 15.78 17.93 13.54 17.99 11H20V10V6V5H18ZM6 10H5V6H6V10ZM19 10H18V6H19V10Z"></path></g><g id="trophy"><path d="M17 3V5V6V10V10.51L16.99 10.97C16.94 13.1 15.66 14.94 13.74 15.67H13.72L13.66 15.69L13 15.95V16.65V19V20H14V21H15H10V20H11V19V16.65V15.95L10.34 15.71L10.26 15.68H10.25C8.33 14.95 7.05 13.11 7 10.98V10.51V10V6V5V3H17ZM18 2H6V5H4V6V10V11H6.01C6.07 13.53 7.63 15.78 9.97 16.64C9.98 16.64 9.99 16.64 10 16.65V19H9V20H8V22H16V20H15V19H14V16.65C14.01 16.65 14.02 16.65 14.03 16.64C16.36 15.78 17.93 13.54 17.99 11H20V10V6V5H18V2ZM18 10V6H19V10H18ZM5 10V6H6V10H5Z"></path></g><g id="tune-filled"><path d="M15,17h6v2h-6V17z M11,17H3v2h8v2h2v-6h-2V17z M14,9h2V3h-2v2H3v2h11V9z M18,5v2h3V5H18z M6,15h2V9H6v2H3v2h3V15z M10,13h11 v-2H10V13z"></path></g><g id="tune"><path d="M15,17h6v1h-6V17z M11,17H3v1h8v2h1v-2v-1v-2h-1V17z M14,8h1V6V5V3h-1v2H3v1h11V8z M18,5v1h3V5H18z M6,14h1v-2v-1V9H6v2H3v1 h3V14z M10,12h11v-1H10V12z"></path></g><g id="tv_circle-filled"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M11.44,9.34H9.02V16H7.39V9.34H5V8 h6.44V9.34z M16.25,16h-1.7L11.8,8h1.81l1.78,6.02L17.19,8H19L16.25,16z"></path></g><g id="tv_circle"><path d="M11.44,9.34H9.02V16H7.39V9.34H5V8h6.44V9.34z M15.39,14.02L17.19,8H19l-2.75,8h-1.7L11.8,8h1.81L15.39,14.02z M12,3 c4.96,0,9,4.04,9,9s-4.04,9-9,9s-9-4.04-9-9S7.04,3,12,3 M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2L12,2z"></path></g><g id="up_arrow-filled"><polygon points="20.21,11.79 12,3.59 3.79,11.79 5.21,13.21 11,7.41 11,20 13,20 13,7.41 18.79,13.21 "></polygon></g><g id="up_arrow"><polygon points="19.35,11.5 11.5,3.65 3.65,11.5 4.35,12.21 11,5.56 11,20 12,20 12,5.56 18.65,12.21 "></polygon></g><g id="upload"><path d="M17,18v1H6V18ZM6.49,9l.71.71L11,5.91V16h1V5.91l3.8,3.81L16.51,9l-5-5Z"></path></g><g id="uploads-filled"><path d="M4,20h14v1H3V6h1V20z M21,3v15H6V3H21z M17,10.5L11,7v7L17,10.5z"></path></g><g id="uploads"><path d="M11,7l6,3.5L11,14V7L11,7z M18,20H4V6H3v15h15V20z M21,18H6V3h15V18z M7,17h13V4H7V17z"></path></g><g id="vertical_align_top"><path d="M7 5L7 4L18 4L18 5L7 5ZM7.5 11.6L8.2 12.3L12 8.6L12 19L13 19L13 8.6L16.8 12.4L17.5 11.7L12.5 6.7L7.5 11.6Z"></path></g><g id="very_happy-filled"><path d="M12,4c4.41,0,8,3.59,8,8s-3.59,8-8,8s-8-3.59-8-8S7.59,4,12,4 M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10 C22,6.48,17.52,2,12,2L12,2z M7,13c0,1,1,4,5,4s5-3,5-4C16,13,8,13,7,13z M7.09,10C7.3,9.42,7.85,9,8.5,9s1.2,0.42,1.41,1h1.04 C10.72,8.86,9.71,8,8.5,8s-2.22,0.86-2.45,2H7.09z M14.09,10c0.21-0.58,0.76-1,1.41-1s1.2,0.42,1.41,1h1.04 c-0.23-1.14-1.24-2-2.45-2s-2.22,0.86-2.45,2H14.09z"></path></g><g id="very_happy"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,21c-4.96,0-9-4.04-9-9 c0-4.96,4.04-9,9-9s9,4.04,9,9C21,16.96,16.96,21,12,21z M17,13c0,1-1,4-5,4s-5-3-5-4C8,13,16,13,17,13z M6.05,10 C6.28,8.86,7.29,8,8.5,8s2.22,0.86,2.45,2H9.91C9.7,9.42,9.15,9,8.5,9s-1.2,0.42-1.41,1H6.05z M13.05,10c0.23-1.14,1.24-2,2.45-2 s2.22,0.86,2.45,2h-1.04c-0.21-0.58-0.76-1-1.41-1s-1.2,0.42-1.41,1H13.05z"></path></g><g id="very_sad-filled"><path d="M7.15,17c0.5-1.8,2.35-3,4.85-3s4.35,1.2,4.85,3H15.8c-0.54-1.36-2.16-2-3.8-2s-3.26,0.64-3.8,2H7.15z M15.5,13 c0.83,0,1.5-0.67,1.5-1.5S16.33,10,15.5,10S14,10.67,14,11.5S14.67,13,15.5,13z M8.5,13c0.83,0,1.5-0.67,1.5-1.5S9.33,10,8.5,10 S7,10.67,7,11.5S7.67,13,8.5,13z M9.91,8C9.7,8.58,9.15,9,8.5,9S7.3,8.58,7.09,8H6.05c0.23,1.14,1.24,2,2.45,2s2.22-0.86,2.45-2 H9.91z M16.91,8c-0.21,0.58-0.76,1-1.41,1s-1.2-0.42-1.41-1h-1.04c0.23,1.14,1.24,2,2.45,2s2.22-0.86,2.45-2H16.91z M12,4 c-4.41,0-8,3.59-8,8s3.59,8,8,8s8-3.59,8-8S16.41,4,12,4 M12,2c5.52,0,10,4.48,10,10c0,5.52-4.48,10-10,10S2,17.52,2,12 C2,6.48,6.48,2,12,2L12,2z"></path></g><g id="very_sad"><path d="M7.15,17c0.5-1.8,2.35-3,4.85-3s4.35,1.2,4.85,3H15.8c-0.54-1.36-2.16-2-3.8-2s-3.26,0.64-3.8,2H7.15z M15.5,13 c0.83,0,1.5-0.67,1.5-1.5S16.33,10,15.5,10S14,10.67,14,11.5S14.67,13,15.5,13z M8.5,13c0.83,0,1.5-0.67,1.5-1.5S9.33,10,8.5,10 S7,10.67,7,11.5S7.67,13,8.5,13z M9.91,8C9.7,8.58,9.15,9,8.5,9S7.3,8.58,7.09,8H6.05c0.23,1.14,1.24,2,2.45,2s2.22-0.86,2.45-2 H9.91z M16.91,8c-0.21,0.58-0.76,1-1.41,1s-1.2-0.42-1.41-1h-1.04c0.23,1.14,1.24,2,2.45,2s2.22-0.86,2.45-2H16.91z M12,3 c-4.96,0-9,4.04-9,9s4.04,9,9,9s9-4.04,9-9S16.96,3,12,3 M12,2c5.52,0,10,4.48,10,10c0,5.52-4.48,10-10,10S2,17.52,2,12 C2,6.48,6.48,2,12,2L12,2z"></path></g><g id="video_call-filled"><path d="M18,8.83V5H2v14h16v-5.83L22,15V7L18,8.83z M14,13h-3v3H9v-3H6v-2h3V8h2v3h3V13z"></path></g><g id="video_call"><path d="M14,13h-3v3H9v-3H6v-2h3V8h2v3h3V13z M17,6H3v12h14v-6.39l4,1.83V8.56l-4,1.83V6 M18,5v3.83L22,7v8l-4-1.83V19H2V5H18L18,5 z"></path></g><g id="video_camera"><path d="M18,8.83V5H2v14h16v-5.83L22,15V7L18,8.83z M21,13.44l-2.58-1.18L17,11.61v1.56V18H3V6h14v2.83v1.56l1.42-0.65L21,8.56 V13.44z"></path></g><g id="video_link"><path d="M3,5h17v6h1V5V4h-1H3H2v1v12v1h1h7v-1H3V5z M14,11l-5,3V8L14,11z M12,15.63c-1.11,0.68-1.46,2.13-0.78,3.25 c0.68,1.11,2.13,1.46,3.25,0.78L16,18.72c0.2-0.12,0.26-0.39,0.14-0.59c-0.12-0.2-0.38-0.26-0.59-0.14l-1.53,0.94 c-0.71,0.43-1.63,0.21-2.07-0.5c-0.43-0.71-0.21-1.63,0.5-2.07l2.2-1.34c0.71-0.43,1.63-0.21,2.07,0.5 c0.02,0.03,0.03,0.06,0.05,0.09c0.01,0.03,0.03,0.05,0.04,0.08c0.01,0.03,0.02,0.06,0.04,0.09c0.12,0.2,0.39,0.27,0.59,0.14 c0.19-0.12,0.26-0.37,0.16-0.56l0,0c-0.01-0.02-0.02-0.04-0.03-0.06c-0.01-0.02-0.02-0.04-0.03-0.06c-0.03-0.06-0.06-0.11-0.09-0.16 c-0.68-1.11-2.13-1.46-3.25-0.78L12,15.63z M21.6,12.72c0.71,1.1,0.39,2.56-0.71,3.26l-2.17,1.39c-1.1,0.71-2.56,0.39-3.26-0.71 c-0.03-0.05-0.06-0.1-0.09-0.14c-0.02-0.05-0.05-0.09-0.07-0.14l0,0c-0.11-0.2-0.05-0.44,0.14-0.57c0.2-0.13,0.47-0.07,0.59,0.13 c0.02,0.03,0.03,0.06,0.04,0.09c0.02,0.03,0.03,0.06,0.05,0.1c0.01,0.02,0.03,0.05,0.04,0.07c0.45,0.7,1.38,0.9,2.08,0.45l2.17-1.39 c0.7-0.45,0.9-1.38,0.45-2.08c-0.45-0.7-1.38-0.9-2.08-0.45l-1.51,0.97c-0.2,0.12-0.46,0.07-0.59-0.13 c-0.13-0.2-0.07-0.46,0.12-0.59l0,0l0,0l0,0l1.51-0.97C19.44,11.31,20.9,11.63,21.6,12.72z"></path></g><g id="view_list-filled"><path d="M20,9H9V7h11V9z M20,11H9v2h11V11z M20,15H9v2h11V15z M7,7H4v2h3V7z M7,11H4v2h3V11z M7,15H4v2h3V15z"></path></g><g id="view_list"><path d="M20,8H9V7h11V8z M20,11H9v1h11V11z M20,15H9v1h11V15z M7,7H4v1h3V7z M7,11H4v1h3V11z M7,15H4v1h3V15z"></path></g><g id="view_module-filled"><path d="M2,4h6v7H2V4z M2,20h6v-7H2V20z M9,11h6V4H9V11z M9,20h6v-7H9V20z M16,4v7h6V4H16z M16,20h6v-7h-6V20z"></path></g><g id="view_module"><path d="M8,11H2V4h6V11z M3,10h4V5H3V10z M8,20H2v-7h6V20z M3,19h4v-5H3V19z M15,11H9V4h6V11z M10,10h4V5h-4V10z M15,20H9v-7h6V20z M10,19h4v-5h-4V19z M22,11h-6V4h6V11z M17,10h4V5h-4V10z M22,20h-6v-7h6V20z M17,19h4v-5h-4V19z"></path></g><g id="visibility-filled"><path d="M12,5.18C7.45,5.18,3.57,8.01,2,12c1.57,3.99,5.45,6.82,10,6.82s8.43-2.83,10-6.82C20.43,8.01,16.55,5.18,12,5.18z M12,16.09c-2.25,0-4.09-1.84-4.09-4.09c0-2.25,1.84-4.09,4.09-4.09s4.09,1.84,4.09,4.09C16.09,14.25,14.25,16.09,12,16.09z"></path></g><g id="visibility"><path d="M12,8.91c1.7,0,3.09,1.39,3.09,3.09S13.7,15.09,12,15.09S8.91,13.7,8.91,12S10.3,8.91,12,8.91 M12,7.91 c-2.25,0-4.09,1.84-4.09,4.09s1.84,4.09,4.09,4.09s4.09-1.84,4.09-4.09S14.25,7.91,12,7.91L12,7.91z M12,6.18 c3.9,0,7.35,2.27,8.92,5.82c-1.56,3.55-5.02,5.82-8.92,5.82c-3.9,0-7.35-2.27-8.92-5.82C4.65,8.45,8.1,6.18,12,6.18 M12,5.18 C7.45,5.18,3.57,8.01,2,12c1.57,3.99,5.45,6.82,10,6.82s8.43-2.83,10-6.82C20.43,8.01,16.55,5.18,12,5.18L12,5.18z"></path></g><g id="visibility_off"><path d="M3.85,3.15L3.15,3.85L6.19,6.9C4.31,8.11,2.83,9.89,2,12c1.57,3.99,5.45,6.82,10,6.82c1.77,0,3.44-0.43,4.92-1.2l3.23,3.23 l0.71-0.71L3.85,3.15z M13.8,14.5c-0.51,0.37-1.13,0.59-1.8,0.59c-1.7,0-3.09-1.39-3.09-3.09c0-0.67,0.22-1.29,0.59-1.8L13.8,14.5z M12,17.82c-3.9,0-7.35-2.27-8.92-5.82c0.82-1.87,2.18-3.36,3.83-4.38L8.79,9.5c-0.54,0.69-0.88,1.56-0.88,2.5 c0,2.25,1.84,4.09,4.09,4.09c0.95,0,1.81-0.34,2.5-0.88l1.67,1.67C14.9,17.49,13.48,17.82,12,17.82z M11.49,7.95 c0.17-0.02,0.34-0.05,0.51-0.05c2.25,0,4.09,1.84,4.09,4.09c0,0.17-0.02,0.34-0.05,0.51l-1.01-1.01c-0.21-1.31-1.24-2.33-2.55-2.55 L11.49,7.95z M9.12,5.59C10.04,5.33,11,5.18,12,5.18c4.55,0,8.43,2.83,10,6.82c-0.58,1.47-1.48,2.78-2.61,3.85l-0.72-0.72 c0.93-0.87,1.71-1.92,2.25-3.13C19.35,8.45,15.9,6.18,12,6.18c-0.7,0-1.39,0.08-2.06,0.22L9.12,5.59z"></path></g><g id="volume_off"><path d="M3.15,3.85l4.17,4.17L6.16,9H3v6h3.16L12,19.93v-7.22l2.45,2.45c-0.15,0.07-0.3,0.13-0.45,0.18v1.04 c0.43-0.1,0.83-0.27,1.2-0.48l1.81,1.81c-0.88,0.62-1.9,1.04-3.01,1.2v1.01c1.39-0.17,2.66-0.71,3.73-1.49l2.42,2.42l0.71-0.71 l-17-17L3.15,3.85z M11,11.71v6.07L6.52,14H4v-4h2.52l1.5-1.27L11,11.71z M10.33,6.79L9.62,6.08L12,4.07v4.39l-1-1V6.22L10.33,6.79 z M14,8.66V7.62c2,0.46,3.5,2.24,3.5,4.38c0,0.58-0.13,1.13-0.33,1.64l-0.79-0.79c0.07-0.27,0.12-0.55,0.12-0.85 C16.5,10.42,15.44,9.1,14,8.66z M14,5.08V4.07c3.95,0.49,7,3.85,7,7.93c0,1.56-0.46,3.01-1.23,4.24l-0.73-0.73 C19.65,14.48,20,13.28,20,12C20,8.48,17.39,5.57,14,5.08z"></path></g><g id="volume_up-filled"><path d="M21,12c0,4.08-3.05,7.44-7,7.93v-2.02c2.83-0.48,5-2.94,5-5.91s-2.17-5.43-5-5.91V4.07C17.95,4.56,21,7.92,21,12z M3,9v6 h3.16L12,19.93V4.07L6.16,9H3z M14,7.62v2.09c0.88,0.39,1.5,1.27,1.5,2.29s-0.62,1.9-1.5,2.29v2.09c2-0.46,3.5-2.24,3.5-4.38 S16,8.08,14,7.62z"></path></g><g id="volume_up"><path d="M17.5,12c0,2.14-1.5,3.92-3.5,4.38v-1.04c1.44-0.43,2.5-1.76,2.5-3.34c0-1.58-1.06-2.9-2.5-3.34V7.62 C16,8.08,17.5,9.86,17.5,12z M12,4.07v15.86L6.16,15H3V9h3.16L12,4.07z M11,6.22L6.52,10H4v4h2.52L11,17.78V6.22z M21,12 c0,4.08-3.05,7.44-7,7.93v-1.01c3.39-0.49,6-3.4,6-6.92s-2.61-6.43-6-6.92V4.07C17.95,4.56,21,7.92,21,12z"></path></g><g id="vpn_key"><path d="M7,8c1.59,0,3.02,0.94,3.66,2.4l0.26,0.6h0.65H21v2h-2h-1v1v2h-2v-2v-1h-1h-3.42h-0.65l-0.26,0.6C10.02,15.06,8.59,16,7,16 c-2.21,0-4-1.79-4-4S4.79,8,7,8 M7,7c-2.76,0-5,2.24-5,5s2.24,5,5,5c2.05,0,3.81-1.24,4.58-3H15v3h4v-3h3v-4H11.58 C10.81,8.24,9.05,7,7,7L7,7z M7,10c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S8.1,10,7,10z"></path></g><g id="vr-filled"><path d="M12,6H2v12h2.86h2.86L12,15l4.22,3H22V6H12z M7.5,14C6.12,14,5,12.88,5,11.5C5,10.12,6.12,9,7.5,9s2.5,1.12,2.5,2.5 C10,12.88,8.88,14,7.5,14z M16.5,14c-1.38,0-2.5-1.12-2.5-2.5c0-1.38,1.12-2.5,2.5-2.5s2.5,1.12,2.5,2.5C19,12.88,17.88,14,16.5,14 z"></path></g><g id="vr"><path d="M21,7v10h-4.46l-3.96-2.82L12,13.78l-0.58,0.4L7.4,17H4.86H3V7l9,0H21 M22,6H12v0H2v12h2.86h2.86L12,15l4.22,3H22V6L22,6z M10,11.5C10,10.12,8.88,9,7.5,9S5,10.12,5,11.5S6.12,14,7.5,14S10,12.88,10,11.5z M19,11.5c0-1.38-1.12-2.5-2.5-2.5 S14,10.12,14,11.5s1.12,2.5,2.5,2.5S19,12.88,19,11.5z"></path></g><g id="warning-filled"><path d="M12,4L2,20h20L12,4z M13,18h-2v-2h2V18z M11,15v-5h2v5H11z"></path></g><g id="warning"><path d="M13,18h-2v-2h2V18z M13,10h-2v5h2V10z M12,5.89L20.2,19H3.8L12,5.89 M12,4L2,20h20L12,4L12,4z"></path></g><g id="watch_history-filled"><path d="M14.97,16.95L10,13.87V7h2v5.76l4.03,2.49L14.97,16.95z M12,2C8.73,2,5.8,3.44,4,5.83V3.02H2V9h6V7H5.62 C7.08,5.09,9.36,4,12,4c4.41,0,8,3.59,8,8s-3.59,8-8,8s-8-3.59-8-8H2c0,5.51,4.49,10,10,10s10-4.49,10-10S17.51,2,12,2z"></path></g><g id="watch_history"><path d="M14.97,16.95L10,13.87V7h2v5.76l4.03,2.49L14.97,16.95z M22,12c0,5.51-4.49,10-10,10S2,17.51,2,12h1c0,4.96,4.04,9,9,9 s9-4.04,9-9s-4.04-9-9-9C8.81,3,5.92,4.64,4.28,7.38C4.17,7.56,4.06,7.75,3.97,7.94C3.96,7.96,3.95,7.98,3.94,8H8v1H1.96V3h1v4.74 C3,7.65,3.03,7.57,3.07,7.49C3.18,7.27,3.3,7.07,3.42,6.86C5.22,3.86,8.51,2,12,2C17.51,2,22,6.49,22,12z"></path></g><g id="watch_later-filled"><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M14.97,16.95L10,13.87V7h2v5.76 l4.03,2.49L14.97,16.95z"></path></g><g id="watch_later"><path d="M14.97,16.95L10,13.87V7h2v5.76l4.03,2.49L14.97,16.95z M12,3c-4.96,0-9,4.04-9,9s4.04,9,9,9s9-4.04,9-9S16.96,3,12,3 M12,2c5.52,0,10,4.48,10,10s-4.48,10-10,10S2,17.52,2,12S6.48,2,12,2L12,2z"></path></g><g height="24" width="24" id="youtube_improve_tv"><path d="M14.6 15 12 13.43 9.4 15l.69-2.96-2.3-1.99 3.03-.26L12 7l1.18 2.79 3.03.26-2.3 1.99.69 2.96zM22 4v14h-6v2H8v-2H2V4h20zm-1 1H3v12h18V5z"></path></g><g id="youtube_music_monochrome"><path d="M10 9.35L15 12l-5 2.65zM12 7a5 5 0 105 5 5 5 0 00-5-5m0-1a6 6 0 11-6 6 6 6 0 016-6zm0-3a9 9 0 109 9 9 9 0 00-9-9m0-1A10 10 0 112 12 10 10 0 0112 2z"></path></g><g width="16" height="16" viewBox="0 0 16 16" id="youtube_shorts_fill_no_triangle_red_16"><path d="M10.65,1C10.65,1,10.65,1,10.65,1c-0.37,0-0.75,0.1-1.09,0.31L4.25,4.46C3.44,4.93,2.96,5.89,3,6.9  C3.05,7.9,3.58,8.77,4.39,9.18c0.02,0.01,0.75,0.35,0.75,0.35l-0.9,0.53c-1.14,0.68-1.58,2.27-0.98,3.55C3.69,14.49,4.5,15,5.35,15  c0.37,0,0.74-0.1,1.09-0.31l5.31-3.15c0.8-0.48,1.29-1.43,1.24-2.45c-0.04-0.99-0.58-1.87-1.39-2.27c-0.02-0.01-0.75-0.35-0.75-0.35  l0.9-0.53c1.14-0.68,1.58-2.27,0.97-3.55C12.31,1.51,11.49,1,10.65,1L10.65,1z"></path></g><g width="24" height="24" viewBox="0 0 24 24" id="youtube_studio_arrow_down-filled"><path d="M17.7,14.7L12,20.4l-5.7-5.7l1.4-1.4l3.3,3.3V4h2v12.6l3.3-3.3L17.7,14.7z"></path></g><g width="24" height="24" viewBox="0 0 24 24" id="youtube_studio_arrow_up-filled"><path d="M16.3,10.7L13,7.4V20h-2V7.4l-3.3,3.3L6.3,9.3L12,3.6l5.7,5.7L16.3,10.7z"></path></g><g id="zoom_in-filled"><path d="M15.6,14.19C16.48,13.02,17,11.57,17,10c0-3.87-3.13-7-7-7s-7,3.13-7,7c0,3.87,3.13,7,7,7c1.57,0,3.02-0.52,4.19-1.4 l5.64,5.64l1.41-1.41L15.6,14.19z M14,11h-3v3H9v-3H6V9h3V6h2v3h3V11z"></path></g><g id="zoom_in"><path d="M14,11h-3v3H9v-3H6V9h3V6h2v3h3V11z M20.17,20.87l-5.59-5.59C13.35,16.35,11.75,17,10,17c-3.87,0-7-3.13-7-7 c0-3.87,3.13-7,7-7s7,3.13,7,7c0,1.75-0.65,3.35-1.71,4.58l5.59,5.59L20.17,20.87z M16,10c0-3.31-2.69-6-6-6s-6,2.69-6,6s2.69,6,6,6 S16,13.31,16,10z"></path></g><g id="zoom_out-filled"><path d="M15.6,14.19C16.48,13.02,17,11.57,17,10c0-3.87-3.13-7-7-7s-7,3.13-7,7c0,3.87,3.13,7,7,7c1.57,0,3.02-0.52,4.19-1.4 l5.64,5.64l1.41-1.41L15.6,14.19z M14,11H6V9h8V11z"></path></g><g id="zoom_out"><path d="M14,11H6V9h8V11z M20.17,20.87l-5.59-5.59C13.35,16.35,11.75,17,10,17c-3.87,0-7-3.13-7-7c0-3.87,3.13-7,7-7s7,3.13,7,7 c0,1.75-0.65,3.35-1.71,4.58l5.59,5.59L20.17,20.87z M16,10c0-3.31-2.69-6-6-6s-6,2.69-6,6s2.69,6,6,6S16,13.31,16,10z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons12" rtl-mirroring="" size="12"><svg><defs><g id="keep-filled"><path d="M8,2V1H3v1h1v3.8L3,7h2v2.5L5.5,10L6,9.5V7h2L7,5.8V2H8z"></path></g><g id="keep"><path d="M8,2V1H3v1h1v3.8L3,7h2v2.5L5.5,10L6,9.5V7h2L7,5.8V2H8z M6,6H5V2h1V6z"></path></g><g id="music-filled"><path d="M10,1H6v4.51C5.58,5.19,5.07,5,4.5,5C3.12,5,2,6.12,2,7.5C2,8.88,3.12,10,4.5,10C5.88,10,7,8.88,7,7.5V4h3V1z"></path></g><g id="music"><path d="M10,1H6v4.51C5.58,5.19,5.07,5,4.5,5C3.12,5,2,6.12,2,7.5C2,8.88,3.12,10,4.5,10C5.88,10,7,8.88,7,7.5V4h3V1z M4.5,9 C3.67,9,3,8.33,3,7.5S3.67,6,4.5,6S6,6.67,6,7.5S5.33,9,4.5,9z M9,3H7V2h2V3z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons13" rtl-mirroring="" size="13"><svg><defs><g id="check-filled"><path d="M4.5,10.91L1.79,8.21l1.41-1.41L4.5,8.09l5.29-5.29l1.41,1.41L4.5,10.91z"></path></g><g id="check"><path d="M4.5,10.21L2.15,7.85l0.71-0.71L4.5,8.79l5.65-5.65l0.71,0.71L4.5,10.21z"></path></g><g id="check_circle_thick-filled"><path d="M6.5,1C3.46,1,1,3.46,1,6.5C1,9.54,3.46,12,6.5,12C9.54,12,12,9.54,12,6.5C12,3.46,9.54,1,6.5,1z M5.5,9.91L2.79,7.21 l1.41-1.41L5.5,7.09l3.29-3.29l1.41,1.41L5.5,9.91z"></path></g><g id="check_circle_thick"><path d="M6.5,2C8.98,2,11,4.02,11,6.5S8.98,11,6.5,11S2,8.98,2,6.5S4.02,2,6.5,2 M6.5,1C3.46,1,1,3.46,1,6.5S3.46,12,6.5,12 S12,9.54,12,6.5S9.54,1,6.5,1L6.5,1z M10.21,5.21L8.79,3.79L5.5,7.09L4.21,5.79L2.79,7.21L5.5,9.91L10.21,5.21z"></path></g><g id="music-filled"><path d="M11,1H6v6.51C5.58,7.19,5.07,7,4.5,7C3.12,7,2,8.12,2,9.5C2,10.88,3.12,12,4.5,12C5.88,12,7,10.88,7,9.5V4h4V1z"></path></g><g id="music"><path d="M11,1H6v6.51C5.58,7.19,5.07,7,4.5,7C3.12,7,2,8.12,2,9.5C2,10.88,3.12,12,4.5,12C5.88,12,7,10.88,7,9.5V4h4V1z M4.5,11 C3.67,11,3,10.33,3,9.5S3.67,8,4.5,8S6,8.67,6,9.5S5.33,11,4.5,11z M10,3H7V2h3V3z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons15" rtl-mirroring="" size="15"><svg><defs><g id="open_in_new-filled"><path d="M13,8v5H1V1h5v2H3v8h8V8H13z M11,1H8v2h1.59L6.29,6.29l1.41,1.41L11,4.41V6h2V3V1H11z"></path></g><g id="open_in_new"><path d="M13,8v5H1V1h5v1H2v10h10V8H13z M12,1H8v1h3.29L6.65,6.65l0.71,0.71L12,2.71V6h1V2V1H12z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons16" rtl-mirroring="" size="16"><svg><defs><g width="16" height="16" viewBox="0 0 16 16" id="add"><path d="M13,8H8v5H7V8H2V7h5V2h1v5h5V8z"></path></g><g width="16" height="16" viewBox="0 0 16 16" id="bar_horizontal"><path d="M14,8H2V7h12V8z"></path></g><g id="check_circle_thick-filled"><path d="M8,1C4.13,1,1,4.13,1,8c0,3.87,3.13,7,7,7s7-3.13,7-7C15,4.13,11.87,1,8,1z M6.5,11.91L3.79,9.21l1.41-1.41L6.5,9.09 l4.29-4.29l1.41,1.41L6.5,11.91z"></path></g><g id="check_circle_thick"><path d="M8,2c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6S4.69,2,8,2 M8,1C4.13,1,1,4.13,1,8s3.13,7,7,7s7-3.13,7-7S11.87,1,8,1L8,1z M12.21,6.21l-1.41-1.41L6.5,9.09L5.21,7.79L3.79,9.21l2.71,2.71L12.21,6.21z"></path></g><g mirror-in-rtl="" id="chevron_left"><path d="M10.15,13.35L4.79,8l5.35-5.35l0.71,0.71L6.21,8l4.65,4.65L10.15,13.35z"></path></g><g mirror-in-rtl="" id="chevron_right"><path d="M4.97,12.65L9.62,8L4.97,3.35l0.71-0.71L11.03,8l-5.35,5.35L4.97,12.65z"></path></g><g id="comment-filled"><path d="M3,2v9h7l3,3V2ZM9,8H5V7H9Zm2-2H5V5h6Z"></path></g><g id="comment"><path d="M12,3v8.59l-1.29-1.3-.3-.29H4V3h8m1-1H3v9h7l3,3V2ZM9,7H5V8H9Zm2-2H5V6h6Z"></path></g><g id="dislike-filled"><path d="M3.54,2A1.55,1.55,0,0,0,2,3.13L1,7.37C.83,8.24,1,9,2,9H6L4.52,12.54A1.17,1.17,0,0,0,5.71,14a1.49,1.49,0,0,0,1.09-.46L11,9l0-7ZM12,2h3V9H12Z"></path></g><g id="dislike"><path d="M3.54,2A1.55,1.55,0,0,0,2,3.13L1,7.37C.83,8.24,1,9,2,9H6L4.52,12.54A1.17,1.17,0,0,0,5.71,14a1.49,1.49,0,0,0,1.09-.46L11,9h4V2ZM6.07,12.86a.51.51,0,0,1-.36.14.28.28,0,0,1-.22-.09l0-.05L6.92,9.39,7.5,8H2a1.5,1.5,0,0,1,0-.41L3,3.35A.58.58,0,0,1,3.54,3H10V8.61ZM14,8H11l0-5h3Z"></path></g><g id="help-filled"><path d="M8,1C4.14,1,1,4.14,1,8s3.14,7,7,7s7-3.14,7-7S11.86,1,8,1z M8,12.3c-0.44,0-0.8-0.36-0.8-0.8s0.36-0.8,0.8-0.8 s0.8,0.36,0.8,0.8S8.44,12.3,8,12.3z M8.66,9.45H7.35c0-2.13,1.97-1.96,1.97-3.28c0-0.72-0.59-1.31-1.31-1.31S6.69,5.45,6.69,6.17 H5.38c0-1.45,1.18-2.62,2.62-2.62s2.62,1.18,2.62,2.62C10.62,7.81,8.66,7.98,8.66,9.45z"></path></g><g id="help"><path d="M8,2c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6S4.69,2,8,2 M8,1C4.14,1,1,4.14,1,8s3.14,7,7,7s7-3.14,7-7S11.86,1,8,1L8,1z M8,12.3c0.44,0,0.8-0.36,0.8-0.8S8.44,10.7,8,10.7s-0.8,0.36-0.8,0.8S7.56,12.3,8,12.3z M8,3.55c-1.45,0-2.62,1.18-2.62,2.62h1.31 c0-0.72,0.59-1.31,1.31-1.31s1.31,0.59,1.31,1.31c0,1.32-1.97,1.15-1.97,3.28h1.31c0-1.48,1.97-1.64,1.97-3.28 C10.62,4.72,9.45,3.55,8,3.55z"></path></g><g id="info"><path d="M8,2c3.31,0,6,2.69,6,6s-2.69,6-6,6s-6-2.69-6-6S4.69,2,8,2 M8,1C4.13,1,1,4.13,1,8s3.13,7,7,7s7-3.13,7-7S11.87,1,8,1L8,1z M9,3H7v2h2V3L9,3z M7,6v7h2V6H7z"></path></g><g id="like-filled"><path d="M12.42,14A1.54,1.54,0,0,0,14,12.87l1-4.24C15.12,7.76,15,7,14,7H10l1.48-3.54A1.17,1.17,0,0,0,10.24,2a1.49,1.49,0,0,0-1.08.46L5,7l0,7ZM4,14H1V7H4Z"></path></g><g id="like"><path d="M12.42,14A1.54,1.54,0,0,0,14,12.87l1-4.24C15.12,7.76,15,7,14,7H10l1.48-3.54A1.17,1.17,0,0,0,10.24,2a1.49,1.49,0,0,0-1.08.46L5,7H1v7ZM9.89,3.14A.48.48,0,0,1,10.24,3a.29.29,0,0,1,.23.09S9,6.61,9,6.61L8.46,8H14c0,.08-1,4.65-1,4.65a.58.58,0,0,1-.58.35H6V7.39ZM2,8H5v5H2Z"></path></g><g id="message_bubble_question"><path d="M4,3v8.59L5.59,10H12V3H4z M3,2h10v9H6l-3,3V2z M9.5,5.48c0,0.48-0.3,0.73-0.58,0.98c-0.23,0.21-0.46,0.39-0.51,0.7 L8.39,7.25H7.62l0.01-0.12c0.06-0.51,0.35-0.77,0.65-0.99c0.23-0.18,0.45-0.34,0.45-0.65c0-0.22-0.1-0.42-0.28-0.56 C8.27,4.78,8.04,4.73,7.82,4.79C7.56,4.85,7.36,5.08,7.3,5.37L7.27,5.5H6.5l0.03-0.18C6.61,4.7,7.03,4.2,7.6,4.06 c0.46-0.13,0.95-0.03,1.32,0.25C9.29,4.59,9.5,5.01,9.5,5.48z M8.02,9c0.24,0,0.44-0.2,0.44-0.44c0-0.24-0.2-0.44-0.44-0.44 s-0.44,0.2-0.44,0.44C7.57,8.8,7.77,9,8.02,9z"></path></g><g id="music-filled"><path d="M13,1H8v3v5.78C7.47,9.3,6.77,9,6,9c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3V4h4V1z"></path></g><g id="music"><path d="M13,1H8v3v5.78C7.47,9.3,6.77,9,6,9c-1.66,0-3,1.34-3,3s1.34,3,3,3s3-1.34,3-3V4h4V1z M6,14c-1.1,0-2-0.9-2-2 c0-1.1,0.9-2,2-2s2,0.9,2,2C8,13.1,7.1,14,6,14z M12,3H9V2h3V3z"></path></g><g id="open_in_new"><path d="M13,10h1v4H2V2h4v1H3v10h10V10z M8,3h4.29L6.15,9.15l0.71,0.71L13,3.71V8h1V2H8V3z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons18" rtl-mirroring="" size="18"><svg><defs><g id="info"><path d="M10,5H8v2h2V5z M10,8H8v5h2V8z M9,2c3.86,0,7,3.14,7,7s-3.14,7-7,7s-7-3.14-7-7S5.14,2,9,2 M9,1C4.58,1,1,4.58,1,9\n\ts3.58,8,8,8s8-3.58,8-8S13.42,1,9,1L9,1z"></path></g><g id="lock-filled"><path d="M13,6V5c0-2.21-1.79-4-4-4C6.79,1,5,2.79,5,5v1H3v11h12V6H13z M6,5c0-1.65,1.35-3,3-3c1.65,0,3,1.35,3,3v1H6V5z M9,13 c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2s2,0.9,2,2C11,12.1,10.1,13,9,13z"></path></g><g id="lock"><path d="M13,5c0-2.21-1.79-4-4-4C6.79,1,5,2.79,5,5v1H3v11h12V6h-2V5z M6,5c0-1.65,1.35-3,3-3c1.65,0,3,1.35,3,3v1H6V5z M14,7v9H4 V7H14z M7,11c0-1.1,0.9-2,2-2s2,0.9,2,2c0,1.1-0.9,2-2,2S7,12.1,7,11z"></path></g><g id="privacy_public-filled"><path d="M9,1C4.58,1,1,4.58,1,9s3.58,8,8,8s8-3.58,8-8S13.42,1,9,1z M10,15.92V14H9c-0.55,0-1-0.45-1-1v-0.77L2.04,8.26   C2.41,4.75,5.39,2,9,2c0.7,0,1.37,0.11,2,0.29V3c0,0.55-0.45,1-1,1H8v3c0,0.55-0.45,1-1,1H5.5v1H10c0.55,0,1,0.45,1,1   c0,1.1,0.9,2,2,2h1v1.89C12.95,14.96,11.56,15.7,10,15.92z"></path></g><g id="privacy_public"><path d="M9,1C4.58,1,1,4.58,1,9s3.58,8,8,8s8-3.58,8-8S13.42,1,9,1z M16,9c0,1.31-0.37,2.54-1,3.59V11h-2c-0.55,0-1-0.45-1-1   c0-1.1-0.9-2-2-2H8.73C8.9,7.71,9,7.36,9,7V5h1c1.1,0,2-0.9,2-2V2.69C14.36,3.81,16,6.21,16,9z M2.02,9.45L7,12.77V13   c0,1.1,0.9,2,2,2v1C5.29,16,2.26,13.1,2.02,9.45z M10,15.92V14H9c-0.55,0-1-0.45-1-1v-0.77L2.04,8.26C2.41,4.75,5.39,2,9,2   c0.7,0,1.37,0.11,2,0.29V3c0,0.55-0.45,1-1,1H8v3c0,0.55-0.45,1-1,1H5.5v1H10c0.55,0,1,0.45,1,1c0,1.1,0.9,2,2,2h1v1.89   C12.95,14.96,11.56,15.7,10,15.92z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons20" rtl-mirroring="" size="20"><svg><defs><g id="help-filled"><path d="M10,1c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9S14.97,1,10,1z M10,16c-0.55,0-1-0.45-1-1s0.45-1,1-1s1,0.45,1,1 S10.55,16,10,16z M11,12H9c0-2.92,2.8-2.59,2.8-4.4c0-0.99-0.81-1.8-1.8-1.8S8.2,6.61,8.2,7.6H6.4C6.4,5.61,8.01,4,10,4 s3.6,1.61,3.6,3.6C13.6,9.85,11,9.97,11,12z"></path></g><g id="help"><path d="M10,2c4.41,0,8,3.59,8,8s-3.59,8-8,8s-8-3.59-8-8S5.59,2,10,2 M10,1c-4.97,0-9,4.03-9,9s4.03,9,9,9c4.97,0,9-4.03,9-9 S14.97,1,10,1L10,1z M10,4C8.01,4,6.4,5.61,6.4,7.6h1.8c0-0.99,0.81-1.8,1.8-1.8s1.8,0.81,1.8,1.8C11.8,9.41,9,9.08,9,12h2 c0-2.03,2.6-2.15,2.6-4.4C13.6,5.61,11.99,4,10,4z M10,14c-0.55,0-1,0.45-1,1s0.45,1,1,1s1-0.45,1-1S10.55,14,10,14z M10,2 c4.41,0,8,3.59,8,8s-3.59,8-8,8s-8-3.59-8-8S5.59,2,10,2 M10,1c-4.97,0-9,4.03-9,9s4.03,9,9,9c4.97,0,9-4.03,9-9S14.97,1,10,1L10,1z"></path></g><g id="mix-filled"><path d="M8.27,12V8l3.46,2L8.27,12z M5.76,5.76C4.67,6.84,4,8.34,4,10s0.67,3.16,1.76,4.24l1.42-1.42C6.45,12.1,6,11.1,6,10 c0-1.1,0.45-2.1,1.17-2.83L5.76,5.76z M12.83,7.17C13.55,7.9,14,8.9,14,10c0,1.1-0.45,2.1-1.17,2.83l1.42,1.42 C15.33,13.16,16,11.66,16,10s-0.67-3.16-1.76-4.24L12.83,7.17z M3.64,3.64C2.01,5.26,1,7.51,1,10s1.01,4.74,2.64,6.36l1.42-1.42 C3.79,13.68,3,11.93,3,10c0-1.93,0.79-3.68,2.05-4.95L3.64,3.64z M14.95,5.05C16.21,6.32,17,8.07,17,10c0,1.93-0.79,3.68-2.05,4.95 l1.42,1.42C17.99,14.74,19,12.49,19,10s-1.01-4.74-2.64-6.36L14.95,5.05z"></path></g><g id="mix"><path d="M8.27,12V8l3.46,2L8.27,12z M5.76,5.76C4.67,6.84,4,8.34,4,10s0.67,3.16,1.76,4.24l0.71-0.71C5.56,12.63,5,11.38,5,10 c0-1.38,0.56-2.63,1.47-3.53L5.76,5.76z M13.53,6.47C14.44,7.37,15,8.62,15,10c0,1.38-0.56,2.63-1.47,3.53l0.71,0.71 C15.33,13.16,16,11.66,16,10s-0.67-3.16-1.76-4.24L13.53,6.47z M3.64,3.64C2.01,5.26,1,7.51,1,10s1.01,4.74,2.64,6.36l0.71-0.71 C2.9,14.21,2,12.21,2,10c0-2.21,0.9-4.21,2.35-5.65L3.64,3.64z M15.65,4.35C17.1,5.79,18,7.79,18,10c0,2.21-0.9,4.21-2.35,5.65 l0.71,0.71C17.99,14.74,19,12.49,19,10s-1.01-4.74-2.64-6.36L15.65,4.35z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="yt-sys-icons48" rtl-mirroring="" size="48"><svg><defs><g id="screen_default-filled"><path d="M45,10v28H3V10H45 M46,9H2v30h44V9L46,9z M5,12v18h30V12H5z M10.21,26.71l-1.41-1.41L13.09,21l-4.29-4.29l1.41-1.41 L15.91,21L10.21,26.71z M31.21,25.29l-1.41,1.41L24.09,21l5.71-5.71l1.41,1.41L26.91,21L31.21,25.29z"></path></g><g id="screen_default"><path d="M34,13v16H6V13H34 M35,12H5v18h30V12L35,12z M45,10v28H3V10H45 M46,9H2v30h44V9L46,9z M10.21,26.71l-1.41-1.41L13.09,21 l-4.29-4.29l1.41-1.41L15.91,21L10.21,26.71z M31.21,25.29L26.91,21l4.29-4.29l-1.41-1.41L24.09,21l5.71,5.71L31.21,25.29z"></path></g><g id="screen_fullscreen-filled"><path d="M2,9v30h44V9H2z M14,14H7v7H5v-9h9V14z M43,36h-9v-2h7v-7h2V36z"></path></g><g id="screen_fullscreen"><path d="M14,14H7v7H5v-9h9V14z M34,36h9v-9h-2v7h-7V36z M45,10H3v28h42V10 M46,9v30H2V9H46 L46,9z"></path></g><g id="screen_miniplayer-filled"><path d="M45,10v28H3V10H45 M46,9H2v30h44V9L46,9z M43,26H26v10h17V26 M23,16v6.09l-6.68-6.68l-1.41,1.41L21.09,23H16v2h9v-9H23z"></path></g><g id="screen_miniplayer"><path d="M45,10v28H3V10H45 M46,9H2v30h44V9L46,9z M42,27v8H27v-8H42 M43,26H26v10h17V26L43,26z M23,16v6.09l-6.68-6.68l-1.41,1.41 L21.09,23H16v2h9v-9H23z"></path></g><g id="screen_theatre-filled"><path d="M45,10v28H3V10H45 M46,9H2v30h44V9L46,9z M5,12v22h38V12H5z M15.21,27.29l-1.41,1.41L8.09,23l5.71-5.71l1.41,1.41L10.91,23 L15.21,27.29z M34.21,28.71l-1.41-1.41L37.09,23l-4.29-4.29l1.41-1.41L39.91,23L34.21,28.71z"></path></g><g id="screen_theatre"><path d="M13.79,28.71L8.09,23l5.71-5.71l1.41,1.41L10.91,23l4.29,4.29L13.79,28.71z M39.91,23l-5.71-5.71l-1.41,1.41L37.09,23 l-4.29,4.29l1.41,1.41L39.91,23z M45,10H3v28h42V10 M46,9v30H2V9H46L46,9z M42,13H6v20h36V13 M43,12v22H5V12H43L43,12z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="ytcp-icons" size="24"><svg><defs><g id="arrow-down-alt"><path transform="rotate(90 12,12)" d="m16.01,11l-12.01,0l0,2l12.01,0l0,3l3.99,-4l-3.99,-4l0,3z"></path></g><g id="arrow-right"><path d="M10 17l5-5-5-5v10z"></path></g><g id="arrow-up-alt"><path transform="rotate(-90 12,12)" d="m16.01,11l-12.01,0l0,2l12.01,0l0,3l3.99,-4l-3.99,-4l0,3z"></path></g><g id="check-circle-outline"><path d="M9.8,17.3l-4.2-4.1L7,11.8l2.8,2.7L17,7.4l1.4,1.4L9.8,17.3z M12,3c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S17,3,12,3 M12,2 c5.5,0,10,4.5,10,10s-4.5,10-10,10S2,17.5,2,12S6.5,2,12,2L12,2z"></path></g><g viewBox="0 0 200 200" id="error-on-load-v2"><circle fill="#CACACA" cx="100.38" cy="111.66" r="73.5"></circle><path fill="#FFF" d="M146.9 92.77a15.5 15.5 0 0 0-.21-1.65h-.84c-4.79 0-7.63-3.19-7.63-6.6a6.56 6.56 0 0 1 1.71-4.36 13 13 0 0 0-4.5-1.89v-1.85c-5.5 3.33-7.54 10.86-16.22 10.86a9.53 9.53 0 0 1-7.48-3.4 11 11 0 0 1-2.21-6.78c0-7.24 5.73-6.26 5.73-13.15 0-1.74-.3-3.45-.3-4.86a13.38 13.38 0 0 1 .13-1.8c.85-5.63 7.54-10.06 13.3-10.42-4.41-3.5-25.38-14.35-44.85 8.32 6 10.16 22.87 15.54 22.87 27.82 0 15.94-10 24.91-19.64 24.91-6.16 0-13-3.49-17.23-9.09-.87 4.65-1.91 8.71-3.54 11.71-.13.24-.26.47-.4.69a35.7 35.7 0 0 1-3.21 4.44c-1.38 1.65-2.85 3.18-4.34 4.67-3.6 3.6-7.29 7-10 11.4a26.41 26.41 0 0 0-3.53 9.79 36.52 36.52 0 0 0-.45 5.61A30.14 30.14 0 0 0 51.38 167a74 74 0 0 0 11.79 8.53h71.47v-.36c0-7.28-3.57-13.31-10.77-14.8 0-.26.09-.53.14-.79a45.3 45.3 0 0 0 1.74-9.12 16.66 16.66 0 0 1-.66-4.74.93.93 0 0 1 0-.1 18.7 18.7 0 0 1 3.17-11.23q1.78-11.74 3.23-23.55c9.08-1.07 14.37-7.11 15.35-14.25a18.22 18.22 0 0 0 .16-2.45c0-.44-.07-.91-.1-1.37zm-36.75 67.43c.14-.4.27-.8.4-1.21a3.53 3.53 0 0 0 1.32 1.84 8.35 8.35 0 0 0-1.72-.63zm1-2l-.58.75c.35-1.08.68-2.19 1-3.32l.4-.07a8.59 8.59 0 0 0-.83 2.65zm4.24 5.83a13.83 13.83 0 0 1 1.62 3.62 13.83 13.83 0 0 0-1.63-3.65zm14.5-53.16c-3.58 7.43-6.74 14-13.25 15.61a4.43 4.43 0 0 1-3.48 2.91l-.58.13a7 7 0 0 1-5.42 4.28l-6.12 1-.71.11a4.27 4.27 0 0 1-4.76-3l-4.46.7a1.78 1.78 0 0 1-2-1.48l-.09-.6a1.79 1.79 0 0 1 1.48-2l4.42-.71-.46-2.84-4.42.7a1.79 1.79 0 0 1-2-1.49l-.09-.59a1.79 1.79 0 0 1 1.48-2l4.54-.72a4.26 4.26 0 0 1 3.58-3.87l.71-.12 6.12-1a7 7 0 0 1 6.06 2l.92-.2a4.41 4.41 0 0 1 4.8 2.75c3.09-1.36 5.13-5.32 8.36-12 2.92-6.07 6.29-11.92 11-16.09a17.13 17.13 0 0 0 5.64 3.29c-5.16 3.43-8.51 9.47-11.28 15.24z"></path><path fill="#666" d="M146.69 91.12h-.84c-4.79 0-7.63-3.19-7.63-6.6a6.56 6.56 0 0 1 1.71-4.36 15.3 15.3 0 0 1 5.5 6.69 17.58 17.58 0 0 1 1.26 4.27z"></path><path fill="#599BFF" d="M135.47 92.17a17.13 17.13 0 0 0 5.64 3.29c-5.16 3.61-8.46 9.65-11.23 15.42-3.58 7.43-6.74 14-13.25 15.61a4.5 4.5 0 0 0 .19-2.14l-.5-3.13a5.41 5.41 0 0 0-.25-.92c3.09-1.36 5.13-5.32 8.36-12 2.92-6.11 6.29-11.96 11.04-16.13z"></path><path fill="#FFF" d="M135.52 73.17v1.6a23.13 23.13 0 0 1-2.5.14 14.57 14.57 0 0 1-6.62-1.38c2.53-1.29 4.76-3.68 4.76-8.41 0-3.81-2.27-7.16-7-7.16a13.65 13.65 0 0 1 8.9-3.57c1.8 5.08 2.46 11.51 2.46 18.78z"></path><path fill="#E4E4E4" d="M135.51 74.77v1.68c-5.5 3.33-7.54 10.86-16.22 10.86a9.53 9.53 0 0 1-7.48-3.4 11 11 0 0 1-2.21-6.78c0-7.24 5.73-6.26 5.73-13.15 0-1.74-.3-3.45-.3-4.86a13.38 13.38 0 0 1 .13-1.8c.85-5.63 7.54-10.06 13.3-10.42a17.57 17.57 0 0 1 3.35 4.62 24.11 24.11 0 0 1 1.19 2.87 13.65 13.65 0 0 0-8.9 3.57 9.44 9.44 0 0 0-2.83 6.92 9.19 9.19 0 0 0 5.09 8.65 14.57 14.57 0 0 0 6.64 1.38 23.13 23.13 0 0 0 2.51-.14z"></path><path fill="#666" d="M131.15 65.12c0 4.73-2.23 7.12-4.76 8.41a9.19 9.19 0 0 1-5.09-8.65 9.44 9.44 0 0 1 2.83-6.88c4.75 0 7.02 3.31 7.02 7.12z"></path><path fill="#599BFF" d="M165.12 146.6a14.57 14.57 0 0 0-3.85-6.89 13 13 0 0 0-9.95-3.9c-6.48.37-12.07 4.52-18 8.92l-2.24 1.65v-.27c-.57-10 8-14.42 17.85-19.51s21.24-11 20.51-24.14a16.81 16.81 0 0 0-6.17-12.25 18.76 18.76 0 0 0-13-4 26.83 26.83 0 0 0-4.92.73 17.58 17.58 0 0 1 1.26 4.24 15.5 15.5 0 0 1 .21 1.65 18.78 18.78 0 0 1 3.79-.58 12.71 12.71 0 0 1 8.8 2.68 10.69 10.69 0 0 1 3.94 7.9c.52 9.26-7.71 13.51-17.25 18.42-6.67 3.45-13.93 7.19-18 13.23a18.94 18.94 0 0 0-3.14 12 20.33 20.33 0 0 0 .55 3.72 35.6 35.6 0 0 1-14.05 5.5c-.45 1.56-.93 3.09-1.42 4.56a8.07 8.07 0 0 1 2.89 1.33 38.13 38.13 0 0 0 11.3-3.73c1.25-.62 2.45-1.3 3.62-2a25.46 25.46 0 0 0 20.49 11.7h1.15a16.13 16.13 0 0 0 12-6.6 18.77 18.77 0 0 0 3.88-12 12.56 12.56 0 0 0-.25-2.36zm-8.34 10.59a10.36 10.36 0 0 1-7.55 4.24c-5.35.3-12.76-3-16.22-9 1.36-1 2.67-1.94 4-2.89 5.39-4 10-7.47 14.72-7.73A7 7 0 0 1 157 144a8.3 8.3 0 0 1 2.43 5.26 12.77 12.77 0 0 1-2.65 7.93z"></path><path fill="#1B6EFF" d="M135.37 143.2l-2 1.5-2.24 1.65a11.51 11.51 0 0 0 1.94 6.05c1.34-1 2.63-1.91 3.9-2.85l2.09-1.55a7.91 7.91 0 0 0-3.69-4.8zM125.62 150.14a35.6 35.6 0 0 1-14.05 5.5c-.45 1.56-.93 3.09-1.42 4.56a8.07 8.07 0 0 1 2.89 1.33 38.13 38.13 0 0 0 11.3-3.73c1.21-.6 2.53-1.25 3.67-1.93a18.41 18.41 0 0 1-2.39-5.73z"></path><path fill="#0900D6" d="M116.82 124.35a4.5 4.5 0 0 1-.19 2.14 4.43 4.43 0 0 1-3.48 2.91l-.58.13a7 7 0 0 0 .44-3.8l-.65-4.07a6.93 6.93 0 0 0-2-3.91l.92-.2a4.41 4.41 0 0 1 4.8 2.75 5.41 5.41 0 0 1 .25.92zM105.12 128.79a5.29 5.29 0 0 1-4.09 6l-.71.11a4.27 4.27 0 0 1-4.76-3l4.38-.7a1.8 1.8 0 0 0 1.49-2.05l-.1-.59a1.79 1.79 0 0 0-2-1.49l-4.42.7-.46-2.84 4.43-.71a1.79 1.79 0 0 0 1.48-2l-.09-.6a1.8 1.8 0 0 0-2-1.48l-4.3.68a4.26 4.26 0 0 1 3.58-3.87l.71-.12a5.29 5.29 0 0 1 5.74 4.42z"></path><path fill="#9ABBFF" d="M112.57 129.53a7 7 0 0 1-5.42 4.28l-6.12 1a5.29 5.29 0 0 0 4.09-6l-1.21-7.59a5.29 5.29 0 0 0-5.74-4.42l6.12-1a7.06 7.06 0 0 1 8.07 5.86l.65 4.07a7 7 0 0 1-.44 3.8z"></path><path fill="#599BFF" d="M70.22 44.64a20.55 20.55 0 0 1 4.55 15.06C73.42 71.67 64 74.6 56.38 77c-7.22 2.21-11.38 3.74-11.94 9.1-1 8.54 3.57 11.43 11.65 15.8a30.43 30.43 0 0 1 10 8.67c-.13.24-.26.47-.4.69a35.7 35.7 0 0 1-3.21 4.44 2.88 2.88 0 0 1-.63-.67 24.58 24.58 0 0 0-8.58-7.81C45.6 103.1 37 98.44 38.43 85.43c1.07-9.55 9.09-12 16.16-14.24 8.25-2.56 13.33-4.66 14.17-12.19a14.45 14.45 0 0 0-3.92-11.36l-.21-.25c1.82-.97 3.68-1.91 5.59-2.75z"></path><path fill="#E4E4E4" d="M82.89 149.58a6 6 0 0 1 .94 3.15c0 3.75-3.9 6.86-7.46 6.86a5.12 5.12 0 0 1-5.22-5c0-3.67 4.14-7.27 7.75-7.27a4.52 4.52 0 0 1 3.99 2.26zM74.56 130.71c4.15 2.14 5.87 5.1 5.87 7.94 0 4.57-4.45 8.83-10.47 8.83s-8.53-3.75-8.53-8.56a9.32 9.32 0 0 1 2.8-6.94 9.22 9.22 0 0 1 10.33-1.27z"></path><path d="M65.67 150c1.92 1 2.67 2.39 2.67 3.74a5.06 5.06 0 0 1-4.86 4.7 3.89 3.89 0 0 1-4-3.83c0-2.42 2-5.05 4.45-5.05a3.6 3.6 0 0 1 1.74.44z" fill="#cbcbcb"></path><path fill="#FFD700" d="M125.99 97.82l-16.9 15.65 4.22-12.01-6.72-2.58 15.21-14.5-3.09 10.75 7.28 2.69z"></path><path fill="#E4E4E4" d="M58.09 120.37c-3.6 3.6-7.29 7-10 11.4a67.78 67.78 0 0 0-2.2-9.77c2.82-1.82 5.42-4.61 5.91-7.67a36.81 36.81 0 0 1 6.29 6.04z"></path><path fill="#666" d="M39 107.94a38.57 38.57 0 0 1 12.77 6.37c-.49 3.06-3.09 5.85-5.91 7.67A48.41 48.41 0 0 0 39 107.94z"></path><path fill="#1B6EFF" d="M146.9 92.77a18.78 18.78 0 0 1 3.79-.58 13 13 0 0 1 2.17 0 10.18 10.18 0 0 0 .14-1.64 10 10 0 0 0-.94-4.46h-1.71a26.83 26.83 0 0 0-4.92.73 17.58 17.58 0 0 1 1.26 4.24 15.5 15.5 0 0 1 .21 1.71zM58.85 103.6a12.86 12.86 0 0 0-2.56 5.62A25 25 0 0 1 61.8 115a2.88 2.88 0 0 0 .63.67 35.7 35.7 0 0 0 3.21-4.44c.14-.22.27-.45.4-.69a30.45 30.45 0 0 0-7.19-6.94z"></path><path fill="#AEAEAE" d="M82.66 162a.71.71 0 0 1-.53-1.19c5.22-5.84 7.65-11.71 7.65-18.5a14.6 14.6 0 0 0-5.44-11.93 20.21 20.21 0 0 0-12.53-3.92 22.14 22.14 0 0 0-11.53 3.11.71.71 0 1 1-.74-1.22 23.61 23.61 0 0 1 12.27-3.31c9.65 0 19.39 5.34 19.39 17.27 0 7.16-2.54 13.34-8 19.45a.69.69 0 0 1-.54.24z"></path><path fill="#AEAEAE" d="M106.82 174.73a.71.71 0 0 1-.66-.76c0-.58.06-1.16.06-1.72 0-11.17-7.72-12.84-12.31-12.84A29.35 29.35 0 0 0 77.73 165a.7.7 0 0 1-1-.17.72.72 0 0 1 .17-1 30.77 30.77 0 0 1 17-5.81c4.12 0 13.73 1.39 13.73 14.26 0 .59 0 1.2-.06 1.82a.72.72 0 0 1-.75.63z"></path><path fill="#CACACA" d="M91.53 174.78a.64.64 0 0 1-.2 0 .72.72 0 0 1-.48-.89 6.27 6.27 0 0 0 .27-1.82 6.71 6.71 0 0 0-5.27-6.49.71.71 0 0 1-.54-.85.71.71 0 0 1 .85-.54 8.15 8.15 0 0 1 6.38 7.81 7.72 7.72 0 0 1-.33 2.23.7.7 0 0 1-.68.55zM99.47 177.07a.59.59 0 0 1-.25 0 .71.71 0 0 1-.41-.91c.08-.21.15-.41.21-.61 1.3-4.24-.59-8.18-4.92-10.3a.71.71 0 1 1 .62-1.28c4.94 2.41 7.15 7.12 5.66 12-.07.24-.15.47-.24.7a.72.72 0 0 1-.67.4zM112.39 175.18a.58.58 0 0 1-.26-.05.7.7 0 0 1-.4-.92 6 6 0 0 0 .39-1.54 9 9 0 0 0-3.28-7.79.71.71 0 0 1 .89-1.11 10.5 10.5 0 0 1 3.8 9.09 7.53 7.53 0 0 1-.48 1.88.7.7 0 0 1-.66.44zM124.11 173.83a.58.58 0 0 1-.19 0 .72.72 0 0 1-.5-.88 5.56 5.56 0 0 0 .22-1.57 8.78 8.78 0 0 0-3.44-6.41.71.71 0 0 1 .89-1.11 10.12 10.12 0 0 1 4 7.52 7.24 7.24 0 0 1-.27 2 .71.71 0 0 1-.71.45zM129.33 174.44h-.15a.71.71 0 0 1-.55-.85 6.69 6.69 0 0 0 .15-1.44 7.74 7.74 0 0 0-3.51-6.65.71.71 0 1 1 .69-1.25 9.23 9.23 0 0 1 4.24 7.9 8.38 8.38 0 0 1-.18 1.75.71.71 0 0 1-.69.54z"></path><path fill="#AEAEAE" d="M57.08 171.6c2 1.41 4 2.74 6.09 4a73.68 73.68 0 0 0 80.09-4z"></path><path fill="#FFD700" d="M110.08 147.68l-9.72 17.55.22-11.08-6.26-.31 8.62-16.14.38 9.74 6.76.24z"></path><path fill="#666" d="M146.85 96.77c-6-.14-10.78-2.33-14.3-6.49a.72.72 0 0 1 .09-1 .71.71 0 0 1 1 .09 17.08 17.08 0 0 0 13.24 6 .71.71 0 0 1 .69.73.7.7 0 0 1-.72.67z"></path><path fill="#666" d="M128.27 93.07a.71.71 0 1 1 0-1.42 5.39 5.39 0 0 0 3.13-1.14 5.78 5.78 0 0 0 2.28-4.62 5.45 5.45 0 0 0-.84-2.92.72.72 0 0 1 .23-1 .71.71 0 0 1 1 .22 6.9 6.9 0 0 1 1 3.68 7.18 7.18 0 0 1-2.86 5.76 6.68 6.68 0 0 1-3.94 1.44z"></path><path fill="#FFF" d="M123.11 163c.64-2.6 2.41-8 2.64-12.46a16.66 16.66 0 0 1-.66-4.74 3 3 0 0 0-2.67-2.07c-4.62 0-11.25 12.11-11.28 14.53 0 4 4.71 3.77 7 10.91"></path><path fill="#9ABBFF" d="M101.43 129.13l-.1-.59a1.79 1.79 0 0 0-2-1.49l-4.42.7-4.42.71a1.79 1.79 0 0 0-1.48 2l.09.6a1.78 1.78 0 0 0 2 1.48l4.46-.7 4.38-.7a1.8 1.8 0 0 0 1.49-2.01zM90 125.61l4.42-.7 4.43-.71a1.79 1.79 0 0 0 1.48-2l-.09-.6a1.8 1.8 0 0 0-2-1.48l-4.3.68-4.54.72a1.79 1.79 0 0 0-1.48 2l.09.59a1.79 1.79 0 0 0 1.99 1.5z"></path><path fill="#AEAEAE" d="M118.56 175.59a.71.71 0 0 1-.68-.74v-1c0-6.78-3-11.74-8.06-13.26a.67.67 0 0 1-.45-.42.71.71 0 0 1 0-.62c3.53-6 6-11 6.47-20.67a.71.71 0 0 1 1.42.06c-.41 9.53-2.92 14.87-6.22 20.58 5.1 2 8.23 7.37 8.23 14.33v1a.71.71 0 0 1-.71.74z"></path><path fill="#666" d="M93.54 46.42c6 10.16 12.91 24.34 12.91 36.62 0 15.94-10 24.91-19.64 24.91-6.16 0-13-3.49-17.23-9.09-.49-37.95 22.94-51.98 23.96-52.44z"></path><path fill="#FFD700" d="M94.77 115.16l-7.78-9.55-7.01 4.89-3.52-25.12 8.2 11.37 6.55-4.45 3.56 22.86z"></path><path fill="#CACACA" d="M79.14 55.69c6.1-8.5 18.55-14.12 29.92-14 23.88.29 25.72 17.6 26.79 28.44.19 1.95 7.44-2.62 7.44-6.08 0-17.21-23.68-23.94-41.1-23.94-12.88 0-23.47 9.5-23.47 13.79a3.9 3.9 0 0 0 .42 1.79z"></path></g><g viewBox="0 0 200 200" id="error-on-load"><path fill="#D49CFF" d="M24.43,113.89c17.98-0.12,38.44-0.76,53.59-3.34c32.9-5.6,56.58-7.79,80.67-7.17 c4.67,0.12,9.52,0.43,14.31,0.85c0.08-1.4,0.12-2.8,0.12-4.21c0-41.42-33.58-75-75-75c-41.42,0-75,33.58-75,75 C23.13,104.76,23.59,109.39,24.43,113.89z"></path><path fill="#BD79FF" d="M173,104.23c-4.79-0.42-9.65-0.73-14.31-0.85c-24.09-0.63-47.77,1.56-80.67,7.17 c-15.15,2.58-35.6,3.22-53.59,3.34c6.51,34.79,37.02,61.13,73.7,61.13C138.13,175.02,170.82,143.69,173,104.23z"></path><path fill="#FFD61D" d="M148.24,52.39c3.35-2.63,7.79-3.53,11.97-3.45c3.25,0.06,6.09,1.04,8.67,3.03l-2.26,0.79l-8.55,3.14 l-3.54,3.34L142.28,71.5l-5.53,5.77l-0.5-1.39l6.64-11.42c0,0,2.74-5.59,7.21-10.05c0,0-3.68,1.4-5.41,2.73 C144.67,57.16,145.95,54.19,148.24,52.39z"></path><path fill="none" d="M156.38,64.74 c-0.01,0-0.01-0.02,0-0.02"></path><path fill="none" d="M156.38,64.5 c-0.02,0-0.02-0.03,0-0.03"></path><path fill="#9A4DFF" d="M129.27 137.95L127.61 137.91 139.97 112.28 127.44 112.18 119.16 137.74 117.45 137.7 113.16 153.31 129.86 153.65 122.79 148.54z"></path><path fill="#FFD61D" d="M184.39,39.46l-12.91,14c0,0,0.48,2.6,4.47,3.22L184.39,39.46z"></path><path fill="#FFF771" d="M119.07,77.23l7.63,0.36c3.22,0.58,9.54-1.7,9.54-1.7l19.15-19.04c1.2-1.19,2.65-2.11,4.24-2.68 l6.47-2.33c0,0,5.14-5.98,5.7-7.27c2.06,0.59-0.44,7.22-0.44,7.22l7.37,6.26c0,0,3.18,5.88,14.83,13.37l0.9,7.25l-5.33,2.09 l-12.46-6.13c-5.16-0.28-9.63-3.64-9.63-3.64s-12.67,12.34-13.54,24.58c-0.51,7.23-5.66,16.29-6.58,17.5l0,0l5.23,7.85 l-1.57,28.7c0,0-0.9,5.61-7.17,5.01v-28.94l-8.78-10.03c-3.79-0.21-8.73-0.61-15.3-0.93C114.8,103.43,114.91,90.93,119.07,77.23z"></path><path fill="#4620AE" d="M142.51 155.96L158.84 155.96 151.95 151.01 153.03 140.62 142.61 139.74z"></path><path fill="#414042" d="M174.63,60.9c0.09-0.36,0.3-0.67,0.67-0.72c1.05-0.16,0.99,1.91,0.17,2.2c-0.36,0.13-0.66-0.22-0.79-0.51 C174.58,61.6,174.55,61.23,174.63,60.9z"></path><path fill="#414042" d="M192.03,72.22c0.07-0.13,0.32-0.36,0.35-0.21c0.02,0.11,0.47,1.94,0.42,1.95 C192.22,74.07,191.76,72.73,192.03,72.22z"></path><path fill="#4620AE" d="M120.07,78.33c0,0,6.49,17.84,0.15,35.08C119.45,111.36,114.54,98.75,120.07,78.33z"></path><path fill="#414042" d="M193.3,79.14l-3.12-1.87c-0.24-0.14-0.32-0.45-0.17-0.69c0.14-0.24,0.45-0.32,0.69-0.17l3.77,2.27 L193.3,79.14z"></path><path fill="#FFD61D" d="M18.15,88.93c1.11-3.12,0.58-6.4,1.78-9.67c1.06-2.89,2.63-5.52,5.07-7.45 c4.36-3.46,10.5-4.23,15.55-1.85c0.21,0.1,0.42,0.2,0.63,0.31c0.2,0.11,0.4,0.22,0.59,0.32c1.49,0.85,2.77,2,3.88,3.31 c4.76,5.63,10.23,7.35,10.23,7.35c-1.77,2.61-2.58,5.65-2.58,5.65s-11.09-4.65-12.5-5.05c-3.33-0.97-7.55-0.08-9.68,2.66 c-2.56,3.28-3.08,7.76-3.08,7.76c-1.81,8.82-9.62,8.97-9.62,8.97c2.16-2.41,2.43-6.06,2.3-9.71c-0.43,0.56-1.62,2.6-6.19,2.95 C14.51,94.49,17.12,91.83,18.15,88.93z"></path><path fill="#9A4DFF" d="M56.63 139.58L65.76 123.61 63.43 117.8 54.67 115.87 53.98 127.51 48.98 139.41 47.48 139.37 41.23 154.79 57.92 155.12 50.85 150.01 58.41 139.62z"></path><path fill="#FFF771" d="M81.6,76.56c0,0-26.34-2.26-28.97-1.32c-2.15,0.77-8.17,9.6-8.62,11.02c-0.97,3.05-2.28,9.5-1.26,20.71 c0.05,0.54,22.49,15.73,23.22,18.09l-1.62,29.63c5.07,0.84,6.04-4.72,6.04-4.72l6.93-27.71l-5.16-6.19l9.43-1.77 C84.99,104.57,85.87,89.53,81.6,76.56z"></path><path fill="#FF9BEA" d="M57.8,84.36c-0.06-0.66,0.07-1.37,0.44-2.09c1.39-2.68,5.37-2.14,7.12-0.17 c0.74,0.84,1.26,1.91,1.28,3.04c0.05,2.33-1.86,4.29-4.22,3.73C60.25,88.36,57.99,86.57,57.8,84.36z"></path><path fill="#FF9BEA" d="M53.01,92.54c0.35-0.37,0.89-0.59,1.65-0.55c1.82,0.1,3.44,2.32,2.87,4.1 c-0.63,1.94-2.8,1.53-4.04,0.38C52.42,95.48,52.09,93.51,53.01,92.54z"></path><path fill="#CCC" d="M56.93,93.26L56.93,93.26c-0.04-0.06-0.08-0.12-0.12-0.18C56.85,93.14,56.89,93.2,56.93,93.26z"></path><path fill="#CCC" d="M56.93,93.26c0.08,0.1,0.15,0.21,0.22,0.31C57.08,93.47,57.01,93.36,56.93,93.26z"></path><path fill="#FF9BEA" d="M65.57,93.62c0,0,1.79,1.67,0.62,3.23c0,0-1.21,1.94-3.61-0.28c0,0-1.61-1.9,0.19-3.21 C64.28,92.26,65.57,93.62,65.57,93.62z"></path><path fill="#4620AE" d="M62.03 155.96L78.36 155.96 71.17 151.01 73.82 142.49 64.48 139.84z"></path><path fill="#FFCA71" d="M79.3,107.44c0,0,0.91-0.26,2.24,0.04c0.61,0.13,0.58,0.53,0.96,2.43c0.24,1.2,0.42,2.11-1.59,3.06 l-1.16-3.78L79.3,107.44z"></path><path fill="#FFCA71" d="M81.76,91.52c0.81,2.34,2.59,3.54,2.59,3.54s1.15-4.9,5.19-3.5c1.44,0.31,3.3,1.5,4.62,0.33 c0.21-0.18-1.07-0.75-0.68-1.13c0.32-0.31,1.5,0.44,1.83,0.2c0.76-0.56,1.09-0.45,1.64-0.34c0.76,0.16,1.19,0.15,1.27-1.15 c0.03-0.59,0.05-1.92,0.95-3.44l0,0c1.8-3.01,0.83-6.9-2.18-8.7c-3.01-1.8-6.9-0.83-8.7,2.18c-0.42,0.69-0.68,1.44-0.81,2.19 c-0.42,1.28-0.95,2.78-1.83,3.81c-0.62,0.78-1.21,0.6-1.21,0.6l-2.83,0.12C81.6,86.22,80.95,89.18,81.76,91.52z"></path><path fill="#212121" d="M94.84,82.72c-1.79-0.39-2.28,0.37-3.15,1.8c-0.88,1.44-1.89,0.36-1.51-0.28 C90.86,83.1,90.02,82,89,82.6c-1.25,0.74-0.72,2.9-1.15,3.39c-0.43,0.49-2.46-0.64-1.88-1.51c0.58-0.87,1.61-4.25,2.31-4.97 c0.71-0.71,2.73-1.64,5.03-0.14C95.61,80.86,95.92,82.95,94.84,82.72z"></path><g fill="#4620AE"><path d="M95.8,75.18c3.59,0.89,6.32,2.56,4.78,8.77l-13.17-2.83C89.05,74.52,91.3,74.06,95.8,75.18z"></path><path d="M100.58,83.86l4.46,2c0.3,0.16,0.14,0.62-0.19,0.56c-2.07-0.37-6.4-1.22-10.02-3.79L100.58,83.86z"></path></g><circle fill="#231F20" cx="96.23" cy="86.35" r=".33"></circle><path fill="#FBC02D" d="M96.12,85.31c0.31-0.07,0.6-0.07,0.89-0.01c0.3,0.07,0.6,0.21,0.88,0.43c0.18,0.14,0.12,0.28-0.1,0.19 c-0.81-0.3-1.16-0.35-1.76-0.41C95.79,85.48,95.83,85.38,96.12,85.31z"></path><path fill="#212121" d="M96.12,85.31c0.31-0.07,0.6-0.07,0.89-0.01c0.3,0.07,0.6,0.21,0.88,0.43c0.18,0.14,0.12,0.28-0.1,0.19 c-0.81-0.3-1.16-0.35-1.76-0.41C95.79,85.48,95.83,85.38,96.12,85.31z"></path><path fill="#4620AE" d="M81.08,78.04c-0.01-0.05-0.02-0.1-0.03-0.15c0,0-0.23,0.64-0.56,1.79c-0.44,1.51-1.05,3.92-1.55,6.93 c0.98-0.19,1.88-0.31,2.65-0.38l0.01,0c0.28-0.03,0.54-0.05,0.79-0.07C82.09,83.61,81.67,80.9,81.08,78.04"></path><path fill="#9A4DFF" d="M83.03,98.07c-1.26,2.16-2.8,4.11-4.38,5.81c-0.93-6.5-0.46-12.61,0.3-17.27 c0.98-0.19,1.88-0.31,2.65-0.38l0.01,0c0.28-0.03,0.54-0.05,0.79-0.07c1.26-0.09,2.03-0.05,2.03-0.05 c-2.55,3.01,0.85,6.89,0.85,6.89c0,0.01,0,0.01-0.01,0.02C84.73,94.8,83.95,96.49,83.03,98.07"></path><path fill="#4620AE" d="M83.03,98.07c-1.26,2.16-2.8,4.11-4.38,5.81c0.17,1.18,0.38,2.37,0.65,3.57l0,0 c0,0,0.91-0.26,2.24,0.04c0.31,0.07,0.45,0.21,0.57,0.57C82.55,105.59,82.95,102.24,83.03,98.07z"></path><path fill="#FFF" d="M59.31,35.82c1.03,1.06,2.04,1.97,3.62,2.22c1.8,0.53,3.58-0.98,5.38-1.21c2-0.26,4.03,0.89,5.12,2.34 c1.77,2.36,1.2,5.71,4.73,6.46c2.72,0.57,5.25,0.16,8.35,0.39c2.06,0.15,4.61,0.7,5.81,2.38c1.28,1.81,0.35,5.32-0.58,7.39 l-54.08-0.18C43.51,47.68,50.86,40.94,59.31,35.82z"></path><path fill="#D49CFF" d="M59.31,35.82c-0.44-0.45-0.88-0.93-1.37-1.4c-1.63-1.56-3.8-2.98-8.19-2.77 c-3.86,0.18-7.75,2.08-10.11,5.4c-0.01,0.02-0.03,0.04-0.04,0.06c-0.74,1.05-1.31,2.18-1.82,3.33c-0.47,1.06-0.58,2.47-1.61,3.24 c-0.06,0.05-0.12,0.1-0.19,0.15c-1.37,0.81-3.46-0.1-4.86-0.23c-1.36-0.13-2.79-0.16-4.2,0.13c-2.96,0.6-5,2.6-5.62,5.52 c-0.36,1.73,0.46,6.48,0.46,6.48l11.8-0.09l4.11-0.03C43.51,47.68,50.86,40.94,59.31,35.82z"></path></g><g id="escape-hatch"><path d="M21,19c-.18-.45-.17-.43-2-4H17V0H3V10.22A3.3,3.3,0,0,0,5.59,8.44c.52-.92.45-2.17,1.79-2.85a2.89,2.89,0,0,1,2.12,0L15,7v5H13V8.44L10.9,8,14,16h4l1,2H12.5l-2-4L8,16,7,21H5l1-6.18,2.14-2L7,9.8a5.33,5.33,0,0,1-4,2.5S3,20.84,3,21l3,3H7.74L5.47,22H7.59l2.8,2H20l-3-3V19C17.09,19,21,19,21,19ZM6.14,5.2a2,2,0,1,1,2-2A2,2,0,0,1,6.14,5.2Z"></path></g><g id="feature-search"><path d="M20 20c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h5.5c-.3.8-.5 1.6-.5 2.5 0 3.6 2.9 6.5 6.5 6.5.8 0 1.5-.1 2.1-.4L20 15v5zm-.7-11.1c.4-.7.7-1.5.7-2.4C20 4 18 2 15.5 2S11 4 11 6.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.1 3.1 1.4-1.4-3.1-3.1zm-3.8.1C14.1 9 13 7.9 13 6.5S14.1 4 15.5 4 18 5.1 18 6.5 16.9 9 15.5 9z"></path></g><g id="first-page"><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"></path></g><g id="last-page"><path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"></path></g><g viewBox="0 0 200 200" id="no-comments"><path fill="#B3B3B3" d="M57.89,86.77v23.97c0,12.37-15.81,21.3-25.4,25.58c-5.98-10.77-9.39-23.15-9.39-36.34 c0-11.59,2.63-22.57,7.33-32.37L57.89,86.77z"></path><path fill="#CCC" d="M164.79,134.29c-10.08-3.61-26.47-11.43-26.47-24.12V51.03c0-0.85-0.69-1.54-1.54-1.54H60.04 c-1.5,0-2.15,0.43-2.15,2.15v35.14L30.44,67.62C42.52,42.4,68.28,24.98,98.11,24.98c41.42,0,75,33.58,75,75 C173.11,112.35,170.09,124,164.79,134.29z"></path><path fill="#949494" d="M57.89,86.77V51.64c0-1.72,0.64-2.15,2.15-2.15h76.74c0.85,0,1.54,0.69,1.54,1.54v59.14 c0,12.69,16.39,20.51,26.47,24.12c-0.03,0.07-0.07,0.13-0.1,0.2c-14.13-1.65-28.77-2.86-43.4-3.48 c-31.29-1.32-62.52,0.07-88.62,5.63c-0.06-0.1-0.12-0.21-0.18-0.31c9.59-4.28,25.4-13.21,25.4-25.58V86.77"></path><path fill="#CCC" d="M162.65,138.17c0.72-1.21,1.39-2.44,2.04-3.69c-14.13-1.65-28.77-2.86-43.4-3.48 c-31.29-1.32-62.52,0.07-88.62,5.63c0.7,1.25,1.44,2.48,2.21,3.68c13.32,20.84,36.65,34.67,63.22,34.67 c21.07,0,40.09-8.7,53.71-22.68C155.96,148.05,159.61,143.31,162.65,138.17z"></path><path fill="#565656" d="M63.02,146.12v4.68h0.1c0,1.54,15.55,4.02,34.74,4.02s34.74-2.48,34.74-4.02v-4.68H63.02z"></path><path opacity=".25" fill="none" d="M67.62 147.85L67.65 147.94"></path><path opacity=".25" fill="none" d="M67.62 147.85L67.65 147.94"></path><path fill="#565656" d="M41.21,60.88l4.04,2.55l5.58-12.07l-12.8-4l-4.12,8.92l5.59,3.52v83.9c-4.98,0.43-8.61,3.28-8.61,3.28 H49.8c-2.95-2.36-5.91-3.23-8.59-3.33V60.88z"></path><path fill="#565656" d="M150.51,141.24h18.92c0,0-3.51-2.96-8.61-3.3V51.8l1.21-2.56l-8.26-5.32l-8.66,10.24l11.18,7.2l2.81-5.93 v82.51C156.48,138.07,153.55,138.96,150.51,141.24z"></path><ellipse fill="#FFF" cx="97.81" cy="145.96" rx="34.74" ry="4.72"></ellipse></g><g viewBox="0 0 200 200" id="no-held-comments-v2"><path fill="#FFF" d="M148.72 119.48c-.86-1.24-1.69-2.38-2.51-3.43 1-1.53 2.19-2.77 2.19-5.76 0-4.65-2.91-5.06-3.43-9a9.5 9.5 0 0 1-.08-1.25c0-5.11 3.51-5.11 3.51-10.21a8.12 8.12 0 0 0-.42-2.69c-.93-2.65-3.09-3.52-3.09-7.53a9 9 0 0 1 .16-1.74c.48-2.38 1.88-4.41 2.38-6.69H172c.5 2.28 1.91 4.31 2.38 6.69a5.71 5.71 0 0 1 .12.87 8.19 8.19 0 0 1 0 .87c0 2.95-1.17 4.2-2.15 5.71a8.29 8.29 0 0 0-.64 7.89c1 2.14 2.79 3.19 2.79 6.83a9.5 9.5 0 0 1-.08 1.25c-.52 3.9-3.42 4.31-3.42 9 0 5.11 3.5 5.11 3.5 10.22 0 3.89-2 4.82-3 7.31a7.79 7.79 0 0 0-.5 2.9 9.07 9.07 0 0 0 .14 1.65 78.7 78.7 0 0 1-10.79 7.25q-2.24-4.32-4.27-8c-1.29-2.32-2.54-4.47-3.73-6.44s-2.45-3.99-3.63-5.7z"></path><path fill="#E4E4E4" d="M144.45 88.58a.72.72 0 0 1-.58-.3.71.71 0 0 1 .17-1c1.86-1.31 4.1-3.51 4.23-6.52a.72.72 0 0 1 .73-.68.71.71 0 0 1 .68.74c-.11 2.84-1.78 5.48-4.82 7.62a.71.71 0 0 1-.41.14zM144.74 96.94a.72.72 0 0 1-.61-.34.71.71 0 0 1 .23-1c5.83-3.6 9.27-8.3 10.22-14a.71.71 0 0 1 1.4.24c-1 6.1-4.68 11.13-10.87 15a.64.64 0 0 1-.37.1zM143.54 105.62a.72.72 0 0 1-.65-.42.71.71 0 0 1 .36-.94c5.6-2.49 9.57-5.81 11.8-9.88a.71.71 0 0 1 1-.29.72.72 0 0 1 .28 1c-2.38 4.35-6.57 7.88-12.46 10.5a.79.79 0 0 1-.33.03zM165.17 104.86a.7.7 0 0 1-.57-1.14 16 16 0 0 1 9.65-6.1.71.71 0 0 1 .28 1.4 14.56 14.56 0 0 0-8.8 5.57.71.71 0 0 1-.56.27zM162.67 115.5a.69.69 0 0 1-.2 0 .71.71 0 0 1-.49-.87l.18-.57c1.47-4.26 6-7.81 11.59-9a.71.71 0 0 1 .3 1.39c-5.09 1.12-9.24 4.31-10.55 8.12l-.15.48a.71.71 0 0 1-.68.45zM152.9 126.72a.7.7 0 0 1-.61-.35.71.71 0 0 1 .25-1c3-1.8 4.78-4 5.16-6.65a.7.7 0 0 1 .8-.6.71.71 0 0 1 .6.81c-.45 3.05-2.41 5.63-5.84 7.66a.68.68 0 0 1-.36.13zM156.12 132.32a.75.75 0 0 1-.6-.32.72.72 0 0 1 .21-1 12.57 12.57 0 0 0 5.39-6.33.71.71 0 1 1 1.35.45 14 14 0 0 1-6 7.07.71.71 0 0 1-.35.13z"></path><path fill="#6628D4" d="M71.39 108.64l-2.85-5.86-3.27-6.72a11.39 11.39 0 0 1-8.87 4.4c-8.53 0-7.83-7.94-8.85-16.22l23-12.67A21.91 21.91 0 0 0 65 66.35a9.79 9.79 0 0 1-4.21 5.93 10.34 10.34 0 0 1-5.7 1.72 9.16 9.16 0 0 1-1.83-.18 11.25 11.25 0 0 1-4.42-2 14 14 0 0 1-3 5.08c-4.66 4.89-11 1.9-11 7.36 0 1.84.88 4 .88 5.67a2.92 2.92 0 0 1-3 3c-2.45 0-3.66-3.43-3.66-6 0-5.83 6.4-10 10.86-12.82l6.33-4.6a14.25 14.25 0 0 1-1.61-2.26l6.65-4.46a27 27 0 0 0-15.22 4.7 27.85 27.85 0 0 0-5.58 5c-3.3-3.75-7.27-6-12.06-6A19.65 19.65 0 0 0 5.7 71.53 11.64 11.64 0 0 0 1.62 80a10.59 10.59 0 0 0 1.27 5.07 7.81 7.81 0 0 0 6.94 4.33h.78c5.33-.44 7.18-5.48 15.14-8.75a28.13 28.13 0 0 0-1.85 10 28.63 28.63 0 0 0 6.94 18.93 29.65 29.65 0 0 0 20.6 10.22 16 16 0 0 1 4.68-.69 17.12 17.12 0 0 1 2.76.22 62.5 62.5 0 0 0 15.22-5.08z"></path><path fill="#9A43FF" d="M55.79 106.57a17.51 17.51 0 0 1-11.53-4.06.71.71 0 1 1 .93-1.08c6.6 5.63 16.35 4.27 22.58 0a.71.71 0 1 1 .8 1.17 23.16 23.16 0 0 1-12.78 3.97zM57.82 113.72a25 25 0 0 1-10-2 .71.71 0 1 1 .56-1.3 24.93 24.93 0 0 0 22.62-1.8l.26-.17a.71.71 0 0 1 .77 1.2l-.28.18a26.32 26.32 0 0 1-13.93 3.89zM55.82 80.39a.68.68 0 0 1-.51-.22 8.88 8.88 0 0 0-5.85-2.65.71.71 0 0 1 .08-1.42 10.32 10.32 0 0 1 6.8 3.1.7.7 0 0 1-.52 1.19zM61.29 77.37a.71.71 0 0 1-.51-.21 4.71 4.71 0 0 0-3-1.38.71.71 0 1 1 .22-1.41 6.06 6.06 0 0 1 3.79 1.8.72.72 0 0 1 0 1 .69.69 0 0 1-.5.2z"></path><path fill="#CBCBCB" d="M140.81 37.66a28.16 28.16 0 0 0-8.48-12l-.16-.13c7-1.45 14.07-.06 19.42 4.37.22.18.42.36.62.54l7.51-16.63 7.51 16.63.62-.54c5.35-4.43 12.44-5.82 19.43-4.37l-.16.13a28.18 28.18 0 0 0-8.49 12h.09a26 26 0 0 1 19.43 8.85h-.23a33.52 33.52 0 0 0-15.5 3.72c5.77 2.31 9.94 8.36 11.21 14.65a24.67 24.67 0 0 0-12-3.59c-6.45 0-9.77 4.12-9.77 8.34a6.92 6.92 0 0 0 .19 1.59h-24.62a6.92 6.92 0 0 0 .19-1.59c0-4.22-3.31-8.34-9.77-8.34a24.7 24.7 0 0 0-12 3.59c1.28-6.29 5.45-12.34 11.22-14.65a33.58 33.58 0 0 0-15.51-3.72h-.22a26.56 26.56 0 0 1 4.43-4 25.61 25.61 0 0 1 15-4.86z"></path><path fill="#E4E4E4" d="M176.8 101.33h-2.33a9.5 9.5 0 0 0 .08-1.25c0-3.64-1.77-4.69-2.79-6.83a8.29 8.29 0 0 1 .64-7.89 73.09 73.09 0 0 1 4.4 15.97z"></path><path fill="#CBCBCB" d="M176.8 101.33h-2.33c-.52 3.9-3.42 4.31-3.42 9 0 5.11 3.5 5.11 3.5 10.22 0 3.89-2 4.82-3 7.31a7.79 7.79 0 0 0-.5 2.9 9.07 9.07 0 0 0 .14 1.65 65.14 65.14 0 0 0 4.92-4.37v-.18a74.16 74.16 0 0 0 .65-26.49z"></path><path fill="#D09BFF" d="M138 133.13c-4.14-1.16-7.4-3.25-8-7.77a16 16 0 0 1-4 .59 7.63 7.63 0 0 1-7.89-6.71 20.44 20.44 0 0 1-8.39 1.82 12.19 12.19 0 0 1-2-.16c4.58-6.63 10.22-12.47 16.45-14.58a15.2 15.2 0 0 1 4.9-.84c6 0 11.23 2.94 17.2 10.57.82 1 1.65 2.19 2.51 3.43q1.77 2.56 3.68 5.7c1.19 2 2.44 4.12 3.73 6.44s2.78 5.12 4.27 8a102.19 102.19 0 0 1-24.5 9.65 26.26 26.26 0 0 0 .94-2.76 36.4 36.4 0 0 0 1.28-10.1c-.06-1.09-.1-2.19-.18-3.28z"></path><path fill="#CBCBCB" d="M148.4 110.29c0 3-1.2 4.23-2.19 5.76-6-7.63-11.17-10.57-17.2-10.57a15.2 15.2 0 0 0-4.9.84c-.39-1.49-.82-3.18-1.32-5H145c.49 3.91 3.4 4.32 3.4 8.97z"></path><path fill="#B476FF" d="M138 133.13c.09 1.09.13 2.19.13 3.28a36.4 36.4 0 0 1-1.28 10.1c-5-.1-10.15-2.73-12.71-6.73h-.19c-5 0-11.48-3.12-13.4-7.77a15 15 0 0 1-6.11 1.4 12 12 0 0 1-3.68-.57 95.22 95.22 0 0 1 5.1-9.21c.59-.92 1.19-1.84 1.81-2.73a12.19 12.19 0 0 0 2 .16 20.44 20.44 0 0 0 8.39-1.82A7.63 7.63 0 0 0 126 126a16 16 0 0 0 4-.59c.59 4.47 3.85 6.59 8 7.72z"></path><path d="M136.84 146.51a26.26 26.26 0 0 1-.94 2.76 125.65 125.65 0 0 1-27.9 3.87c-1.26-6.15-4.75-11-10.41-13 .82-2.13 1.9-4.64 3.2-7.3a12 12 0 0 0 3.68.57 15 15 0 0 0 6.11-1.4c1.92 4.65 8.4 7.77 13.4 7.77h.19c2.52 4 7.71 6.63 12.67 6.73z" fill="#6628d5"></path><path fill="#B476FF" d="M103.62 88.28a4.94 4.94 0 0 1-.73-2.53v-.23c.13-2.67 2.65-4.4 5.25-4.4a6.85 6.85 0 0 1 .91 0c7.46.81 11.35 11.58 13.73 20.16.5 1.8.93 3.49 1.32 5-6.23 2.11-11.87 8-16.45 14.58-.62.89-1.22 1.81-1.81 2.73a14.58 14.58 0 0 0-1.6-1.86l1.51-11.88.71-5.52a5.94 5.94 0 0 0 .12-1.16 3.72 3.72 0 0 0-1.92-3.32c-1.6-1-3.56-1.6-3.56-4a3.75 3.75 0 0 1 1.41-3.17 4.34 4.34 0 0 1-.32-1.6 3.69 3.69 0 0 1 1.43-2.8z"></path><path fill="#FFF" d="M109.73 75.2l-.67 6a6.85 6.85 0 0 0-.91 0c-2.6 0-5.12 1.73-5.25 4.4h-.65a13.83 13.83 0 0 1-2.82-.25l2.76-10.09z"></path><path fill="#FF80FF" d="M106.59 103.21a5.94 5.94 0 0 1-.12 1.16l-.71 5.52H89.65l-.79-8.56-1.54-16.7A8.38 8.38 0 0 1 92 83.32a9.86 9.86 0 0 1 4.1.82l-5.7 20.78a1.78 1.78 0 0 0 1.25 2.18 1.84 1.84 0 0 0 .47.06 1.78 1.78 0 0 0 1.71-1.3l5.63-20.57a13.83 13.83 0 0 0 2.82.25h.65v.23a4.94 4.94 0 0 0 .73 2.53 3.69 3.69 0 0 0-1.42 2.88 4.34 4.34 0 0 0 .32 1.6 3.75 3.75 0 0 0-1.41 3.17c0 2.35 2 3 3.56 4a3.72 3.72 0 0 1 1.88 3.26z"></path><path fill="#CBCBCB" d="M105.76 109.89l-1.51 11.88a11.56 11.56 0 0 0-8.25-3.48 13.91 13.91 0 0 0-4.38.72c-5.71 1.87-9.5 6.83-14.14 6.83a3.38 3.38 0 0 1-3.48-3.33c0-6.3 12.37-5.93 12.37-17.63a15.79 15.79 0 0 0-.41-3.55h2.87l.79 8.56z"></path><path fill="#B476FF" d="M120 58.12l-8.28-1.82a8.19 8.19 0 0 0-9.67 5.85L101 66.29l-2.49 8.91-2.44 8.94a15.62 15.62 0 0 0 3.36 1.15l2.76-10.09 2.48-9.07.84-3a4.66 4.66 0 0 1 5.49-3.37l8.28 1.82a1.77 1.77 0 1 0 .76-3.46z"></path><path fill="#9A43FF" d="M99.43 85.29l-5.63 20.57a1.78 1.78 0 0 1-1.71 1.3 1.84 1.84 0 0 1-.47-.06 1.78 1.78 0 0 1-1.25-2.18l5.7-20.78a15.62 15.62 0 0 0 3.36 1.15z"></path><path fill="#FFF" d="M98.51 75.2l-2.44 8.94a9.86 9.86 0 0 0-4.1-.82 8.38 8.38 0 0 0-4.65 1.31l-.16-1.8a8.47 8.47 0 0 0 7.73-7.63z"></path><path fill="#FF80FF" d="M86.46 75.2h8.43a8.47 8.47 0 0 1-7.73 7.63z"></path><path fill="#FB21F8" d="M94.93 74.38a8.48 8.48 0 0 0-17 0 8.33 8.33 0 0 0 1.14 4.24 8.46 8.46 0 0 0 7.34 4.25 5.53 5.53 0 0 0 .71 0l-.7-7.63h8.43a7.38 7.38 0 0 0 .08-.86z"></path><path fill="#D09BFF" d="M58.89 119.3a62.5 62.5 0 0 0 15.22-5.08l-2.72-5.58-2.85-5.86-3.27-6.72a11.39 11.39 0 0 1-8.87 4.4c-8.53 0-7.83-7.94-8.85-16.22l23-12.67a34.58 34.58 0 0 1 5.06 10.09 8.07 8.07 0 0 1 1.74-.44h.08a2.36 2.36 0 0 1 .38 0 3.18 3.18 0 0 1 3 3.41 4.85 4.85 0 0 1-2 3.66c.65.8 1.29 1.63 1.91 2.49A29.83 29.83 0 0 1 86 101.33a15.79 15.79 0 0 1 .41 3.55c0 11.7-12.37 11.33-12.37 17.63a3.38 3.38 0 0 0 3.41 3.33c4.64 0 8.43-5 14.14-6.83v20.11a18.47 18.47 0 0 1 6 1c5.66 2 9.15 6.85 10.41 13-1.24 0-2.48.05-3.73.05-3.79 0-7.53-.16-11.19-.47-6.63 7.39-17.35 14.64-25.93 14.64-14.32 0-25.84-19-26-32.11v-.3c0-7.85 4.35-13.32 10.35-15.18a16 16 0 0 1 4.68-.69 17.12 17.12 0 0 1 2.71.24z"></path><path fill="#CBCBCB" d="M29.61 37.66a28.16 28.16 0 0 0-8.48-12l-.13-.09c7-1.45 14.07-.06 19.42 4.37.22.18.43.36.62.54l7.5-16.63L56 30.48l.62-.54c5.35-4.43 12.44-5.82 19.43-4.37l-.16.13a28.18 28.18 0 0 0-8.49 12h.09a25.6 25.6 0 0 1 15 4.91 26.78 26.78 0 0 1 4.51 3.9h-.23a33.52 33.52 0 0 0-15.5 3.72c5.77 2.31 9.94 8.36 11.21 14.65a24.67 24.67 0 0 0-12-3.59 11.56 11.56 0 0 0-5.3 1.17 14.42 14.42 0 0 0-3-7l-.94.63-3.56 2.41L54 61l-2.68 1.81a27 27 0 0 0-15.22 4.7c-.95-3.36-4.14-6.17-9.47-6.17a24.73 24.73 0 0 0-12 3.59c1.28-6.29 5.45-12.34 11.22-14.65a33.58 33.58 0 0 0-15.51-3.72h-.24a26 26 0 0 1 19.42-8.85z"></path><path fill="#E4E4E4" d="M148.4 89.87a8.12 8.12 0 0 0-.42-2.69c-.93-2.65-3.09-3.52-3.09-7.53a9 9 0 0 1 .16-1.74c.48-2.38 1.88-4.41 2.38-6.69a6.92 6.92 0 0 0 .19-1.59c0-4.22-3.31-8.34-9.77-8.34a24.7 24.7 0 0 0-12 3.59c1.28-6.29 5.45-12.34 11.22-14.65a33.58 33.58 0 0 0-15.51-3.72h-.22a26.56 26.56 0 0 1 4.43-4 73.89 73.89 0 0 0-43.15 0 26.78 26.78 0 0 1 4.38 4h-.23a33.52 33.52 0 0 0-15.5 3.72c5.77 2.31 9.94 8.36 11.21 14.65a24.67 24.67 0 0 0-12-3.59 11.56 11.56 0 0 0-5.3 1.17 10.89 10.89 0 0 1 .05 1.54 10.6 10.6 0 0 1-.23 2.35 21.91 21.91 0 0 1 5.57 5.22 34.58 34.58 0 0 1 5.06 10.09 8.07 8.07 0 0 1 1.74-.44h.08a2.36 2.36 0 0 1 .38 0 3.18 3.18 0 0 1 3 3.41 4.85 4.85 0 0 1-2 3.66c.65.8 1.29 1.63 1.91 2.49A29.83 29.83 0 0 1 86 101.33h2.87l-1.54-16.7-.16-1.8a5.53 5.53 0 0 1-.71 0 8.46 8.46 0 0 1-7.34-4.25 8.33 8.33 0 0 1-1.12-4.2 8.48 8.48 0 1 1 17 0 7.38 7.38 0 0 1 0 .82h3.62l2.38-8.91 1.14-4.14a8.19 8.19 0 0 1 9.67-5.85l8.19 1.82a1.77 1.77 0 1 1-.76 3.46L111 59.76a4.66 4.66 0 0 0-5.49 3.32l-.84 3-2.48 9.07h7.54l-.67 6c7.46.81 11.35 11.58 13.73 20.16H145a9.5 9.5 0 0 1-.08-1.25c-.03-5.06 3.48-5.06 3.48-10.19z"></path><path fill="#FB21F8" d="M65.1 62.46a10.89 10.89 0 0 1 .13 1.54 10.6 10.6 0 0 1-.23 2.35 9.79 9.79 0 0 1-4.21 5.93 6.08 6.08 0 0 1-.53-2.55c0-3.07 1.83-6.07 1.83-9.45a10.66 10.66 0 0 0-.85-4.15l.94-.63a14.42 14.42 0 0 1 2.92 6.96z"></path><path d="M61.2 56.13a10.66 10.66 0 0 1 .85 4.15c0 3.38-1.83 6.38-1.83 9.45a6.08 6.08 0 0 0 .53 2.55 10.46 10.46 0 0 1-4.08 1.56 6.63 6.63 0 0 1-.84-3.3c0-3.53 2.17-6.66 2.17-10a6.62 6.62 0 0 0-.32-2.08z" fill="#fbb3ff"></path><path fill="#FF80FF" d="M57.68 58.5a6.62 6.62 0 0 1 .32 2.08c0 3.3-2.17 6.43-2.17 10a6.63 6.63 0 0 0 .84 3.3 10.41 10.41 0 0 1-1.58.12 9.16 9.16 0 0 1-1.83-.18 9 9 0 0 1-.84-3.8c0-3.46 1.92-5 1.92-7.42A4.69 4.69 0 0 0 54 61z"></path><path fill="#FB21F8" d="M54 61a4.69 4.69 0 0 1 .31 1.61c0 2.44-1.92 4-1.92 7.42a9 9 0 0 0 .84 3.8 11.25 11.25 0 0 1-4.42-2 15.9 15.9 0 0 1-2.53-2.33 14.25 14.25 0 0 1-1.61-2.26l6.65-4.46z"></path><path fill="#9A43FF" d="M46.31 69.48a15.9 15.9 0 0 0 2.53 2.33 14 14 0 0 1-3 5.08c-4.66 4.89-11 1.9-11 7.36 0 1.84.88 4 .88 5.67a2.92 2.92 0 0 1-3 3c-2.45 0-3.66-3.43-3.66-6 0-5.83 6.4-10 10.86-12.82z"></path><path fill="#FFF" d="M41.09 135v.3q-2.09-1.45-4-3a9.73 9.73 0 0 0 .12-1.51 7.79 7.79 0 0 0-.5-2.9c-1-2.49-3-3.42-3-7.31 0-3.24 1.4-4.42 2.44-6.15a29.3 29.3 0 0 0 15.31 5.41c-6.02 1.79-10.37 7.26-10.37 15.16z"></path><path fill="#CBCBCB" d="M36.7 127.82c-1-2.49-3-3.42-3-7.31 0-3.24 1.4-4.42 2.44-6.15a29 29 0 0 1-5.29-4.81c-.05 1.07-.08 2.15-.08 3.24a73.68 73.68 0 0 0 1.54 15v.18c1.48 1.46 3.07 2.87 4.74 4.23a9.73 9.73 0 0 0 .12-1.51 7.79 7.79 0 0 0-.47-2.87z"></path><path fill="#9A43FF" d="M76.54 94.05h-.76a.71.71 0 0 1 .14-1.42 6.13 6.13 0 0 0 2-.11 6.29 6.29 0 0 0 2.76-1.42.71.71 0 0 1 .94 1.06 7.69 7.69 0 0 1-3.39 1.74 7.58 7.58 0 0 1-1.69.15z"></path><path fill="#9A43FF" d="M73.65 97.05a.71.71 0 0 1-.32-1.35 2.87 2.87 0 0 0 1.58-2.08 2.7 2.7 0 0 0-.75-2.34.71.71 0 0 1 1-1 4.11 4.11 0 0 1 1.11 3.56A4.3 4.3 0 0 1 74 97a.72.72 0 0 1-.35.05zM64.32 86.91a.72.72 0 0 1-.7-.57A5.61 5.61 0 0 1 66.15 80a5.73 5.73 0 0 1 6.92 1.38.71.71 0 0 1-1 1 4.34 4.34 0 0 0-5.22-1.12A4.22 4.22 0 0 0 65 86.05a.7.7 0 0 1-.55.84zM90.9 156.83a.7.7 0 0 1-.49-.19.71.71 0 0 1 0-1 40.3 40.3 0 0 0 6.37-8.14.71.71 0 0 1 1-.28.72.72 0 0 1 .27 1 41.68 41.68 0 0 1-6.58 8.43.68.68 0 0 1-.57.18zM73.43 145h-.18a.68.68 0 0 1-.45-.36c-5.18-10.32-11.23-15.64-12.73-16.33a.71.71 0 0 1 .58-1.3c1.65.75 7.72 6 13.06 16.25 6-3.82 11.33-5.68 16.15-5.68.55 0 1.11 0 1.65.08a.71.71 0 1 1-.14 1.41c-.49 0-1-.07-1.51-.07-4.72 0-10 1.92-16 5.87a.69.69 0 0 1-.43.13z"></path><path d="M108 153.14a125.65 125.65 0 0 0 27.94-3.87 102.19 102.19 0 0 0 24.5-9.65 78.7 78.7 0 0 0 10.79-7.25 65.14 65.14 0 0 0 4.92-4.37 73.48 73.48 0 0 1-143.77 0q2.22 2.19 4.74 4.23 1.92 1.56 4 3c.17 13.13 11.69 32.11 26 32.11 8.58 0 19.3-7.25 25.93-14.64 3.66.31 7.4.47 11.19.47 1.24.02 2.48 0 3.76-.03z" fill="#eedcff"></path><circle fill="#D09BFF" cx="90.78" cy="166.43" r="1.15"></circle><circle fill="#D09BFF" cx="101.56" cy="157.46" r="1.15"></circle><circle fill="#D09BFF" cx="98.79" cy="180.85" r="1.15"></circle><circle fill="#D09BFF" cx="117.84" cy="178.89" r="1.15"></circle><circle fill="#D09BFF" cx="126.93" cy="167.5" r="1.15"></circle><circle fill="#D09BFF" cx="127.64" cy="156.1" r="1.15"></circle><circle fill="#D09BFF" cx="111.37" cy="166.69" r="1.15"></circle><circle fill="#D09BFF" cx="141.46" cy="169.53" r="1.15"></circle><circle fill="#D09BFF" cx="154.04" cy="160.63" r="1.15"></circle><circle fill="#D09BFF" cx="166.02" cy="141.96" r="1.15"></circle><circle fill="#D09BFF" cx="156.27" cy="148.67" r="1.15"></circle><circle fill="#D09BFF" cx="142.6" cy="157.52" r="1.15"></circle><circle fill="#D09BFF" cx="39.13" cy="139.36" r="1.15"></circle><circle fill="#D09BFF" cx="78.42" cy="174.88" r="1.15"></circle><path fill="#6628D4" d="M135.71 149.1a.91.91 0 0 1-.23 0 .72.72 0 0 1-.45-.9 38.27 38.27 0 0 0 1.69-7.82 46 46 0 0 0-2.55-20.57.72.72 0 0 1 .42-.91.71.71 0 0 1 .91.43 47.53 47.53 0 0 1 2.63 21.2 39.72 39.72 0 0 1-1.75 8.12.7.7 0 0 1-.67.45zM66.24 125.33a.71.71 0 0 1-.59-.3c-2.78-4-6-6.15-9.17-6.15a.71.71 0 0 1 0-1.42c3.71 0 7.28 2.34 10.34 6.76a.7.7 0 0 1-.58 1.11z"></path><path fill="#9A43FF" d="M88.08 130.9a.71.71 0 0 1-.52-1.19c2.56-2.8 6.08-3.18 9.17-3.32a.71.71 0 0 1 .06 1.42c-2.93.13-6 .46-8.19 2.86a.71.71 0 0 1-.52.23z"></path><path fill="#FFF" d="M104.25 121.77a14.58 14.58 0 0 1 1.6 1.86 95.22 95.22 0 0 0-5.1 9.21 93.02 93.02 0 0 0-3.2 7.3 18.47 18.47 0 0 0-6-1V119a13.91 13.91 0 0 1 4.38-.72 11.56 11.56 0 0 1 8.32 3.49z"></path><path fill="#FF80FF" d="M100.4 97.93a.72.72 0 0 1-.66-.46c-1.2-3.13.81-5.51 3.33-6.47a7.72 7.72 0 0 1 8.39 2 .7.7 0 0 1-.07 1 .71.71 0 0 1-1-.06 6.25 6.25 0 0 0-6.81-1.65c-1.81.7-3.42 2.28-2.52 4.64a.71.71 0 0 1-.4.92.8.8 0 0 1-.26.08z"></path><path fill="#FF80FF" d="M101.16 93.49a.7.7 0 0 1-.7-.62 5.87 5.87 0 0 1 3.48-6.33 7.56 7.56 0 0 1 8.38 1.34.72.72 0 0 1 0 1 .71.71 0 0 1-1 0 6.2 6.2 0 0 0-6.8-1.08 4.44 4.44 0 0 0-2.68 4.85.71.71 0 0 1-.61.8z"></path><circle fill="#FFF" cx="92.81" cy="89.23" r="2.63"></circle><circle fill="#FFF" cx="101.78" cy="103.29" r="2.07"></circle><circle fill="#FFF" cx="97.81" cy="106.79" r="1.17"></circle><circle fill="#FFF" cx="97.03" cy="97.27" r="2.03"></circle><path fill="#D09BFF" d="M95.44 89.23a2.67 2.67 0 0 0-.39-1.37l-1 3.7a2.63 2.63 0 0 0 1.39-2.33zM95 97.27a2 2 0 0 0 .72 1.55l1-3.55a2 2 0 0 0-1.72 2z"></path><circle fill="#FFF" cx="90.51" cy="94.83" r="1.28"></circle><circle fill="#FFF" cx="100.57" cy="88.96" r=".94"></circle><path fill="#9A43FF" d="M4.13 87.56a.59.59 0 0 1-.29-.07.7.7 0 0 1-.35-.94c2-4.3 6.82-8.46 11.88-7.69a.7.7 0 0 1 .59.81.69.69 0 0 1-.8.59c-3.27-.49-8 1.75-10.38 6.89a.71.71 0 0 1-.65.41zM2.13 77.59a.7.7 0 0 1-.52-.22.72.72 0 0 1 0-1C4.88 73.35 9.35 72 13 72.89c.27.07.53.15.79.24a.71.71 0 0 1-.47 1.34 6.36 6.36 0 0 0-.66-.2c-3.16-.78-7.21.48-10.06 3.13a.7.7 0 0 1-.47.19z"></path></g><g viewBox="0 0 200 200" id="no-held-comments"><path fill="#FFF771" d="M121.33,115.44l41.17-53.91C149.39,39.65,125.46,25,98.11,25c-8.44,0-16.55,1.42-24.13,3.99l-26.24,96.16 c1.9-0.68,3.98-1.05,6.26-1.05c9.64,0,14.06,4.66,18.98,12.82c1.96-19.37,7.08-37.74,25.35-37.74 C109.29,99.18,116.69,105.43,121.33,115.44z"></path><path fill="#FFE855" d="M73.98,28.99C44.4,39.04,23.11,67.02,23.11,100c0,14.56,4.17,28.13,11.36,39.63 c2.88-6.77,7.11-12.27,13.27-14.48L73.98,28.99z"></path><path fill="#FFAE47" d="M121.33,115.44c3.04,6.57,4.9,14.75,5.79,23.87c2.61-3.4,6.12-5.87,10.88-5.91 c10.2-0.09,16.45,4.73,20.21,11.49C144.52,163.17,122.7,175,98.11,175c-6.99,0-13.74-0.98-20.16-2.76 c-14.47-4.03-27.16-12.28-36.69-23.35c-2.5-2.9-4.76-6-6.8-9.26c2.88-6.77,7.11-12.27,13.27-14.48c1.9-0.68,3.98-1.05,6.26-1.05 c9.64,0,14.06,4.66,18.98,12.82c1.96-19.37,7.08-37.74,25.35-37.74C109.29,99.18,116.69,105.43,121.33,115.44z"></path><path fill="#FFE855" d="M158.2,144.88c-3.76-6.75-10.01-11.58-20.21-11.49c-4.75,0.04-8.27,2.51-10.88,5.91 c-0.89-9.12-2.75-17.3-5.79-23.87l41.17-53.91c6.74,11.25,10.62,24.4,10.62,38.47C173.11,116.83,167.56,132.37,158.2,144.88z"></path><path fill="#FFF771" d="M171.83,113.79l26.03,0.2c0,0,1.31-4.18,1.21-5.7c-0.17-2.58-1.71-4.35-4.22-4.88 c-1.2-0.26-2.45-0.23-3.66-0.13c-1.25,0.11-3.2,0.91-4.3,0.19c-0.99-0.65-0.86-2.01-1.17-3.01c-0.31-1.02-0.68-2.03-1.2-2.96 c-0.01-0.02-0.02-0.04-0.03-0.06c-1.67-2.97-4.88-4.68-8.28-4.87c-1.36-0.08-2.49,0.03-3.47,0.26c0.23,2.38,0.35,4.79,0.35,7.23 C173.09,104.74,172.66,109.34,171.83,113.79z"></path><path fill="#FFF" d="M171.83,113.79c0.82-4.45,1.26-9.04,1.26-13.74c0-2.44-0.12-4.85-0.35-7.23 c-4.61,1.08-5.64,4.87-9.04,5.38c-1.68,0.47-3.08-0.89-4.67-1.11c-1.76-0.24-3.73,0.78-4.87,2.08c-1.87,2.11-1.76,5.11-5.03,5.77 c-2.52,0.51-4.75,0.13-7.58,0.33c-1.88,0.13-4.26,0.61-5.54,2.13c-1.38,1.62-0.87,4.25-0.28,6.11L171.83,113.79z"></path><path fill="#FFF" d="M25.18,117.51l19.33-0.4c0,0-0.21-4.37-0.37-5.1c-0.48-2.21-1.83-4.43-3.75-5.36 c-1.87-0.91-3.79-0.03-5.72-0.25c-0.06-0.01-0.11-0.02-0.16-0.03c-3.66-0.52-4.76-4.07-7.59-5.92c-1.22-0.8-2.55-0.81-3.82-0.41 C23.11,106.05,23.83,111.9,25.18,117.51z"></path><path fill="#FFF771" d="M25.18,117.51l-3.03,0.06l-10.81,0.22c0,0,0,0,0,0l-0.2,0l-9.43,0.2c0,0,0.77-4.8,1.61-6.15 c2.44-3.92,5.94-2.09,9.35-2.99h0.21c0.36-0.1,0.71-0.22,1.06-0.38c2.91-1.36,4.1-5.46,6.88-7.31c0.7-0.47,1.48-0.87,2.28-1.12 C23.11,106.05,23.83,111.9,25.18,117.51z"></path><path fill="#FFF771" d="M46.48,45.64c-1.18-1.05-2.81-1.92-5.84-1.82c-3.02,0.11-6.22,1.53-8.39,4.12 c-0.01,0.02-0.03,0.03-0.04,0.05c-0.7,0.83-1.27,1.74-1.81,2.67c-0.5,0.87-0.74,2.04-1.67,2.68c-0.06,0.04-0.11,0.09-0.18,0.12 c-1.23,0.68-2.86-0.1-4-0.22c-1.12-0.11-2.3-0.14-3.51,0.09c-2.57,0.49-4.62,2.2-5.65,4.77c-0.62,1.55-0.78,5.94-0.78,5.94 l17.77-0.14C36.12,57.1,40.89,50.94,46.48,45.64z"></path><path fill="#FFF" d="M46.48,45.64c1.48,1.31,2.27,2.9,4.24,3.23c1.42,0.43,2.83-0.75,4.24-0.92c1.56-0.19,3.16,0.73,4.03,1.89 c1.45,1.91,1.06,4.68,3.93,5.32c2.21,0.49,4.23,0.15,6.73,0.36c1.66,0.14,3.74,0.6,4.84,2.04c1.19,1.57,0.69,4.15,0.11,6.01 l-37.9,0.3l-4.34,0.03C36.12,57.1,40.89,50.94,46.48,45.64z"></path><path d="M94.49,58.88c0.93,0.88,2.65,1.31,3.44,1.42c1.15,0.17,3.11-0.34,3.69-0.88c0.43-0.4,2.61-0.77,2.22-1.83 c-0.61-1.64-1.03-2.94-1.08-5.04c-0.03-1.23-0.15-3.74-0.31-4.72c-0.12-0.7-9.32-1.53-9.46-0.52c-0.17,1.22-0.24,2.79-0.18,4.07 c0.03,0.64,0.01,1.29-0.07,1.93l-0.59,4.67C92.15,57.97,94.22,58.63,94.49,58.88z"></path><path opacity=".9" fill="#EF6C51" d="M93.56,56.97c0,0,2.21-0.2,2.21-3.39l3.73,0.1c0,0,0.34,3.64,3,3.64 c0,0-1.13,2.11-4.32,2.11C98.17,59.43,94.59,59.38,93.56,56.97z"></path><path fill="#EF6C51" d="M101.66,45.21c-0.83-1.7-2.28-2.84-3.93-2.84c-2.58,0-4.68,2.75-4.69,6.14c0,1.14,0.24,2.2,0.64,3.11 c0.81,1.82,2.31,3.04,4.03,3.04c2.58,0,4.68-2.75,4.69-6.14C102.4,47.31,102.13,46.17,101.66,45.21z"></path><path d="M101.66,45.21c-0.23-0.47-0.51-0.9-0.82-1.27c0.5-0.82,0.31-1.96-0.38-2.65c-1.1-1.1-3.42-0.97-4.77-0.47 c-1.12,0.42-1.78,1.28-1.62,2.63c0.03,0.22,0.12,0.47,0.26,0.71c-0.88,1.1-1.44,2.63-1.44,4.32c0,0.68,7.18,1.27,9.61-0.03 C102.45,46.96,101.99,45.73,101.66,45.21z"></path><path fill="#CE93D8" d="M117.93,81.38c-3.73-0.81-10.62-0.2-11.68-0.09c-0.15-3.57-0.28-7.4-0.37-10.92l0,0.06l6.44-1.38 l-4.15-9.86c-0.33-0.71-0.97-1.23-1.74-1.39l-0.64-0.13c0,0,0.01-0.02,0.01-0.01l-1.64-0.32l-0.26-0.05l0,0l-1.48-0.29 c-0.11-0.02-0.22-0.02-0.32,0.02c-1.25,0.49-3.32,4.27-8.19-0.11c-0.15-0.14-0.37-0.19-0.57-0.12l-1.71,0.61l-1.94,0.4 c-0.77,0.16-1.42,0.67-1.74,1.39l-4.15,9.86l6.26,1.35c-0.22,3.93-0.53,7.62-0.98,10.9c-0.88-0.09-7.78-0.76-11.26,0.14 c-1.3,0.31-2.58,0.79-2.86,2.37c-0.09,0.48,0,0.98,0,1.47c0,1.75,1.39,3.58,3.12,4.01c12.85,3.19,26.29,3.19,39.14,0 c1.73-0.43,3.12-2.26,3.12-4.01c0-0.49,0-0.98,0-1.47C120.33,82.3,118.9,81.54,117.93,81.38z"></path><path fill="#EF6C51" d="M100.25,87.94c2.76,0.15,1.52,1.41,7.37,1.1c1.08-0.06,2.64,0.38,3.12,1.47c0.59,1.34-1.16,1.64-2.2,1.68 c-1.46,0.05-2.91,0.14-4.37,0.16c-0.93,0.01-2.75,0.22-3.62-0.21c-1.1-0.55-2.26-1.25-2.36-2.37 C98.04,88.21,99.53,87.9,100.25,87.94z"></path><path fill="#EF6C51" d="M84.66,69.23l-0.77,2.78l-9.12,8.33l0,0c0,0,0,0.01-0.01,0.01l-0.08,0.07c-0.13,0.1-0.44,0.2-1.03-0.13 c-0.3-0.17-0.61-0.31-0.95-0.37c-0.59-0.12-1.53-0.19-2.51,0.18c-0.38,0.14,0.52,0.84,0.91,0.76c0.13-0.03,0.42-0.12,0.98,0.12 c0,0,0.28,0.14,0.34,0.61c0.1,0.69-0.05,0.56-0.64,1.15c-0.49,0.39-1.5,1.03-1.72-0.32c0,0,0.81-1.47,0-2.08 c-0.05-0.04-0.13-0.03-0.18,0.03c-0.16,0.22-0.49,0.85-0.76,1.31c0,0-0.49,0.69-0.2,1.38c0,0,0.12,0.39,0.52,0.93 c0,0-1.23,0.84-2.04,1.36c0,0-1.45,0.98-0.1,1.39c0,0,1.2,0.49,3.51-0.36c0,0,2.38-0.69,3.83-2.2l1.05-0.82l10.82-7.32 c1.59-1.85,3.04-5.75,3.04-5.75L84.66,69.23z"></path><path fill="#EF6C51" d="M111.39,69.24l0.77,2.78l9.12,8.33l0,0c0,0,0,0.01,0.01,0.01l0.08,0.07c0.13,0.1,0.44,0.2,1.03-0.13 c0.3-0.17,0.61-0.31,0.95-0.37c0.59-0.12,1.53-0.19,2.51,0.18c0.38,0.14-0.52,0.84-0.91,0.76c-0.13-0.03-0.42-0.12-0.98,0.12 c0,0-0.28,0.14-0.34,0.61c-0.1,0.69,0.05,0.56,0.64,1.15c0.49,0.39,1.5,1.03,1.72-0.32c0,0-0.81-1.47,0-2.08 c0.05-0.04,0.13-0.03,0.18,0.03c0.16,0.22,0.49,0.85,0.76,1.31c0,0,0.49,0.69,0.2,1.38c0,0-0.12,0.39-0.52,0.93 c0,0,1.23,0.84,2.04,1.36c0,0,1.45,0.98,0.1,1.39c0,0-1.2,0.49-3.51-0.36c0,0-2.38-0.69-3.83-2.2l-1.05-0.82l-10.82-7.32 c-1.59-1.85-3.04-5.75-3.04-5.75L111.39,69.24z"></path></g><g viewBox="0 0 200 200" width="200" height="200" id="no-search-match-v2"><circle cx="100.31" cy="112.45" r="73.49" fill="#e4e4e4"></circle><path fill="#FFD38F" d="M194.89 65.71c2.67 0 3.76 6.17 3.76 13.77s-1.09 13.77-3.76 13.77z"></path><path fill="#00c4a2" d="M194.89 93.25v2.33l-13.4-1.47V64.89l13.4-1.48v29.84z"></path><path fill="#00A08C" d="M181.49 64.89v29.22l-18.22-2.01-3.35-.37V67.26l21.57-2.37z"></path><path fill="#AEAEAE" d="M156.05 160.38a73.62 73.62 0 0 1-23.52 18.15 63.56 63.56 0 0 1-4.48-12.16c5.63.09 6.58 1.83 9.41 1.83a2.81 2.81 0 0 0 3.11-3.16c0-4.79-8.06-7.45-13.17-7.45h-.58v-.89a27.88 27.88 0 0 1 2.83-12.8 21.12 21.12 0 0 1 1.55-2.61c.61.56 1.24 1.12 1.91 1.63a9.53 9.53 0 0 0 2.6 1.45c1.85.63 3.56.4 4.19-1.44 1.07-3.12-.84-5.79-2.53-7.6a27.62 27.62 0 0 1 15.1-4.09c1 0 2.06 0 3.1.12-.2 2.09-.34 4-.34 6.23 0 4.06.77 10.45 4.84 10.45a3.2 3.2 0 0 0 2.46-1.34c2-2.4 2.79-7.46 2.79-10.49 0-1-.05-2-.14-2.92a29.46 29.46 0 0 1 5 2.2 73.71 73.71 0 0 1-14.13 24.89z"></path><path fill="#FFD38F" d="M147.69 89.07q6.1.56 12.23.93v1.73l3.35.37c0 5.83-.05 14.39-5.42 16.82a8 8 0 0 1-3.35.66h-17.37c-1.34-2.14-2.23-5.11-2.23-9.33 0-3 1.23-7.92 3.17-12.19q4.81.58 9.62 1.01z"></path><path fill="#005652" d="M159.92 69.42V90q-6.12-.37-12.23-.93c.71-2.2 1.63-3.84 1.63-5.83a3.2 3.2 0 0 0-3.32-3.48c-3 0-5.84 3.79-7.89 8.32l-2.59-.32V71.23c8-1 16.06-1.71 24.15-2.22z"></path><path fill="#9A43FF" d="M159.92 69v.43l-.3-.41z"></path><path fill="#FFAE39" d="M137.12 109.6h17.38a8 8 0 0 0 3.35-.66l2.07 16.75h-24.74z"></path><path fill="#FFD38F" d="M146 79.76a3.2 3.2 0 0 1 3.37 3.48c0 2-.92 3.63-1.63 5.83q-4.81-.43-9.63-1c2-4.52 4.89-8.31 7.89-8.31z"></path><path fill="#FFAE39" d="M140.57 165a2.81 2.81 0 0 1-3.11 3.16c-2.83 0-3.78-1.74-9.41-1.83a63.56 63.56 0 0 0 4.48 12.16 73.09 73.09 0 0 1-21.75 6.68l-.49-11.63c10.19-11.92 12.31-28.87 12.33-33v-1.63c2.42 1.56 4.76 3.17 7 4.92a27.88 27.88 0 0 0-2.83 12.8v.89h.58c5.14.07 13.2 2.73 13.2 7.48z"></path><path fill="#00A08C" d="M135.47 73.59v11.82l-6.44-.58V74.16l6.44-.57z"></path><path fill="#FFAE39" d="M133.1 142.92l2.08-17.25h24.74l2.6 21a3.2 3.2 0 0 1-2.46 1.34c-4.07 0-4.84-6.39-4.84-10.45 0-2.21.14-4.14.34-6.23-1-.08-2.07-.12-3.1-.12a27.62 27.62 0 0 0-15.1 4.09c1.69 1.81 3.6 4.48 2.53 7.6-.63 1.84-2.34 2.07-4.19 1.44a9.53 9.53 0 0 1-2.6-1.45zM127.48 63.05h-16.32c.51-10.84-6.08-17.94-13.53-18.23h9.12a24.77 24.77 0 0 1 3.77.29c14.62 2.33 16.96 17.94 16.96 17.94z"></path><path d="M124.92 79.45a53.42 53.42 0 0 1-.69 8.22h-.07a6.82 6.82 0 0 1-7.1-7.15 10 10 0 0 1 6.83-9.23 29 29 0 0 1 1.03 8.16z" fill="#922200"></path><path fill="#FFF" d="M123.85 87.76c-7.65 0-11.65-5.07-11.65-9.47 0-4.67 4.38-8.68 9.9-8.68.41 0 .82 0 1.25.06q.3.78.54 1.62a10 10 0 0 0-6.83 9.23 6.82 6.82 0 0 0 7.1 7.15h.07v.09z"></path><path fill="#FFAE39" d="M97.63 44.82c7.45.29 14 7.39 13.53 18.23H78.82c0-.6-.07-1.22-.07-1.84 0-8.73 3.62-14.65 11.6-16.39z"></path><path d="M110.29 173.58l.49 11.63a74.81 74.81 0 0 1-24-.51l-.3-11.29-.85-31.94h.11c4.29-1 9.44-4.45 12.4-11.14 1.67 5.43 5.17 9.91 10.74 10.32zm-7-8.25a4.45 4.45 0 1 0-4.45 4.45 4.45 4.45 0 0 0 4.42-4.45zm-.71-17.6a4.46 4.46 0 1 0-4.46 4.45 4.46 4.46 0 0 0 4.43-4.45z" fill="#f96400"></path><path fill="#FFAE39" d="M110.52 45.11a24.77 24.77 0 0 0-3.77-.29H101c.26-9.4-3.65-15.75-7-15.75 10.48.16 14.62 8.14 16.52 16.04zM108.49 130.32l.43 10.32c-5.57-.41-9.07-4.89-10.74-10.32z"></path><path fill="#FFF" d="M108.41 122.17c7.51 0 13.68 5.51 14.17 16.82v1.63c0 4.09-2.14 21-12.33 33l-1.37-32.94-.43-10.32-.34-8.14z"></path><path fill="#FFD38F" d="M108.05 119.82l.1 2.36.34 8.14H85.34l-.24-9 6.75.64 13.7 1.3C101.2 103.77 96.62 84.32 91 65.18c18.2 8.72 31 2.46 31.28 2.33a16.52 16.52 0 0 1 1 2.16c-.43 0-.84-.06-1.25-.06-5.52 0-9.9 4-9.9 8.68 0 4.4 4 9.47 11.65 9.47h.37c0 .33-.1.65-.16 1 2.43.26 4.79 1.47 4.79 4.3 0 3-1.73 4.19-4.36 4.34.06.64.12 1.29.17 1.95l-7.43-.85a10 10 0 0 0 7.66 5.66v1c0 8.42-1.86 16.32-9.94 16.32a15.2 15.2 0 0 1-4.61-.71 15.64 15.64 0 0 1-2.3-1z"></path><circle fill="#FFAE39" cx="98.81" cy="165.33" r="4.45"></circle><path fill="#FFAE39" d="M98.09 143.27a4.46 4.46 0 1 1-4.45 4.46 4.46 4.46 0 0 1 4.45-4.46zM86.75 40.21c1.52-7.45 5.14-11.12 7.19-11.14 3.37 0 7.28 6.35 7 15.75H87.87a29.86 29.86 0 0 0-1.14-4.54.25.25 0 0 0 .02-.07z"></path><path fill="#9A43FF" d="M98.17 130.28z"></path><path fill="#FFAE39" d="M85.39 130.32h12.76c-3 6.69-8.11 10.19-12.4 11.14h-.11l-.3-11.15zM90.35 44.82c-8 1.74-11.6 7.66-11.6 16.39 0 .62 0 1.24.07 1.84H60.4A18.5 18.5 0 0 1 76.76 45a18.16 18.16 0 0 1 2.24-.18h11.35zM65.52 177.19a73.87 73.87 0 0 1-24.33-21.1c2.35-12.36 11.88-21.05 24.37-24.24a22.41 22.41 0 0 0-1.79 9c0 9.68 5.36 21.83 21 31.5.58.36 1.17.7 1.76 1l.3 11.29a73.06 73.06 0 0 1-21.31-7.45zM92.72 29.07h1.23c-2 0-5.67 3.69-7.19 11.14a.25.25 0 0 1 0 .07c-1-2.92-2.58-5.44-5-6.7a16.08 16.08 0 0 1 10.96-4.51z"></path><path fill="#FFF" d="M85.64 141.47l.85 31.94c-.59-.33-1.18-.67-1.76-1-15.6-9.67-21-21.82-21-31.5a22.41 22.41 0 0 1 1.79-9 18.25 18.25 0 0 1 14.4-11l.73.07 4.41.42.24 9z"></path><path fill="#FFD38F" d="M80.3 73.85l4.76 19.83c-5.6 0-13.68-5.18-13.68-12.15 0-4.51 3.23-7.87 7.24-7.87a7.44 7.44 0 0 1 1.67.19z"></path><path fill="#9A43FF" d="M80.66 120.73v.15l-.73-.07z"></path><path d="M61.85 68.81a30.29 30.29 0 0 1 1.3 8.61c0 8.23-4.61 13.06-11.62 14.63.58-10.93 4.88-18.38 10.32-23.24z" fill="#922300"></path><path fill="#CBCBCB" d="M42.55 67a73.37 73.37 0 0 1 11.5-11.67 30.68 30.68 0 0 1 4 5.07 20 20 0 0 0-9.74 7.17A24.58 24.58 0 0 1 60 64.71h.38a33.16 33.16 0 0 1 1.51 4.1c-5.44 4.86-9.74 12.31-10.32 23.24a24.05 24.05 0 0 1-4.38.55c-.31-4.44-2.49-11.19-5.9-14.69v1.29A24.92 24.92 0 0 1 38 91.68a23.54 23.54 0 0 1-7.18-3.18A73.3 73.3 0 0 1 42.55 67zM54.17 123.86a27.34 27.34 0 0 1-9.5 17.32 47.88 47.88 0 0 1-9 6.17 73.78 73.78 0 0 1-6.79-52A31 31 0 0 1 43.07 99c7 3.93 11.37 10.93 11.37 20.68a31.54 31.54 0 0 1-.27 4.18z"></path><path fill="#FF8C00" d="M101.4 45.53a.7.7 0 0 1-.68-.73c.2-6.65-1.83-11.18-3.79-13.19a3.73 3.73 0 0 0-2.53-1.31c-1.66 0-6.1 3.95-7.18 11.53a.71.71 0 1 1-1.4-.2C87 33.29 92 28.9 94.39 28.88a5.07 5.07 0 0 1 3.53 1.74c2.17 2.22 4.41 7.12 4.19 14.22a.7.7 0 0 1-.71.69z"></path><path fill="#FF8C00" d="M111.59 63.41a.71.71 0 0 1-.68-.74c.25-5.22-1.22-9.84-4.13-13A12.44 12.44 0 0 0 98 45.53a.71.71 0 1 1 .06-1.42 13.88 13.88 0 0 1 9.69 4.58c3.18 3.46 4.78 8.45 4.51 14a.71.71 0 0 1-.67.72zM79.25 63.76a.71.71 0 0 1-.71-.65c0-.63-.07-1.27-.07-1.9 0-9.44 4.21-15.34 12.16-17.08a.71.71 0 0 1 .84.54.69.69 0 0 1-.54.84c-7.33 1.6-11 6.89-11 15.7 0 .6 0 1.2.07 1.79a.71.71 0 0 1-.65.76zM66 178.14a.72.72 0 0 1-.71-.68c-.51-10.22-2.73-17.65-8.17-27.41a.71.71 0 0 1 1.24-.69c5.56 10 7.82 17.56 8.35 28a.71.71 0 0 1-.67.75z"></path><path fill="#CBCBCB" d="M156.3 160.79a.71.71 0 0 1-.61-.35c-4.48-7.48-10-12.38-13.21-13.36a.71.71 0 1 1 .42-1.36c3.32 1 9.12 5.84 14 14a.7.7 0 0 1-.61 1.07z"></path><path fill="#005652" d="M148.06 97.63a.72.72 0 0 1-.7-.59 22.94 22.94 0 0 1-.39-4 18.47 18.47 0 0 1 1.48-7.04 10.76 10.76 0 0 0 .94-3.8 2.5 2.5 0 0 0-2.65-2.78.71.71 0 1 1 0-1.41 3.91 3.91 0 0 1 4.07 4.19 12.1 12.1 0 0 1-1 4.3 17.19 17.19 0 0 0-1.42 6.5 21 21 0 0 0 .37 3.75.72.72 0 0 1-.57.83z"></path><path fill="#AEAEAE" d="M45.1 141.89a.71.71 0 0 1-.62-.37c-1.53-2.85-4.19-6.72-8.21-9a.71.71 0 0 1-.28-1 .72.72 0 0 1 1-.27 23.25 23.25 0 0 1 8.77 9.54.72.72 0 0 1-.3 1 .76.76 0 0 1-.36.1zM54.61 124.57a.73.73 0 0 1-.51-.21c-3.47-3.52-8.23-5.25-14.54-5.31a.71.71 0 0 1-.71-.72.72.72 0 0 1 .71-.7c6.71.06 11.79 1.94 15.54 5.73a.71.71 0 0 1-.5 1.21zM34.36 112.13a.71.71 0 0 1-.51-1.2c3.44-3.56 6.63-7.13 7.84-11.68.09-.31.16-.63.22-1a.71.71 0 0 1 .84-.55.7.7 0 0 1 .55.83c-.07.35-.15.69-.24 1-1.3 4.89-4.61 8.61-8.19 12.3a.7.7 0 0 1-.51.3zM51.4 77.91a.71.71 0 0 1-.58-.31 63.23 63.23 0 0 0-8.57-10.29.71.71 0 0 1 0-1 .72.72 0 0 1 1 0A64.19 64.19 0 0 1 52 76.8a.69.69 0 0 1-.18 1 .66.66 0 0 1-.42.11z"></path><path fill="#FF8C00" d="M94.14 63.41a.71.71 0 0 1-.71-.71v-18a.71.71 0 1 1 1.42 0v18a.71.71 0 0 1-.71.71z"></path><path fill="#FFD38F" d="M82.31 44.82H79a18.16 18.16 0 0 0-2.23.14 6.64 6.64 0 0 1-4.64-6.52 7 7 0 0 1 .58-2.79 5.75 5.75 0 0 1 5.18-2.93 8.13 8.13 0 0 1 3.8.87c2.47 1.26 4 3.78 5 6.7a29.86 29.86 0 0 1 1.14 4.54z"></path><path fill="#FF8C00" d="M110.42 45.41H75.93a.71.71 0 0 1 0-1.42h34.49a.71.71 0 0 1 0 1.42z"></path><path d="M91.85 121.94l-6.75-.64-4.41-.42v-.15l-.7.08-10-1-9.9-.94a38.18 38.18 0 0 1-8.54-24.33c0-.86 0-1.71.06-2.53 7-1.57 11.62-6.4 11.62-14.63a30.29 30.29 0 0 0-1.3-8.61 31.32 31.32 0 0 1 9.41-5.76h47.09a13.83 13.83 0 0 1 4 4.46c-.25.13-13.08 6.39-31.28-2.33 5.58 19.14 10.16 38.59 14.51 58.06zm-6.79-28.26L80.3 73.85a7.44 7.44 0 0 0-1.67-.19c-4 0-7.24 3.36-7.24 7.87-.01 6.97 8.07 12.14 13.67 12.15z" fill="#cf4000"></path><path fill="#FF8C00" d="M92.28 122.65a.7.7 0 0 1-.68-.54L79.18 70.43a.71.71 0 0 1 .52-.86.72.72 0 0 1 .86.53L93 121.77a.71.71 0 0 1-.52.86zM81.13 121.59a.71.71 0 0 1-.69-.55l-6.27-26.4a.71.71 0 1 1 1.38-.32l6.27 26.39a.71.71 0 0 1-.53.86zM70.34 120.56a.71.71 0 0 1-.69-.53l-3.79-14.92a.72.72 0 0 1 .52-.86.7.7 0 0 1 .86.51L71 119.68a.72.72 0 0 1-.52.86z"></path></g><g viewBox="0 0 200 200" id="no-search-match"><path fill="#CCC" d="M167.28,129.05C155.93,156.04,129.24,175,98.12,175c-34.17,0-62.99-22.86-72.03-54.12 c6.45-0.61,13.18-1.08,19.56-1.23c24.09-0.57,47.77,1.42,80.67,6.52C138,127.99,152.85,128.75,167.28,129.05z"></path><path fill="#747474" d="M171.42,115.87c1.1-5.12,1.7-10.43,1.7-15.88c0-41.42-33.58-75-75-75c-41.42,0-75,33.58-75,75 c0,4.97,0.5,9.82,1.42,14.52c4.31-19.56,13.61-48.07,31.35-48.86c9.28-0.41,15.63,4.99,20,12.95 c2.77-18.3,8.87-34.57,21.76-35.14c17.46-0.77,24.74,18.64,27.93,39.84c2.67-3.11,6.16-5.08,10.75-5.13 C156.69,77.94,161.2,103.44,171.42,115.87z"></path><path fill="#949494" d="M167.28,129.05c1.77-4.21,3.16-8.62,4.14-13.18c-10.22-12.43-14.73-37.93-35.09-37.69 c-4.58,0.05-8.08,2.02-10.75,5.13c-3.19-21.2-10.47-40.61-27.93-39.84c-12.89,0.57-18.99,16.84-21.76,35.14 c-4.37-7.96-10.72-13.36-20-12.95c-17.74,0.78-27.05,29.29-31.35,48.86c0.42,2.16,0.95,4.28,1.55,6.36 c6.45-0.61,13.18-1.08,19.56-1.23c24.09-0.57,47.77,1.42,80.67,6.52C138,127.99,152.85,128.75,167.28,129.05z"></path><path d="M104.32,85.47c-0.93-2.03-3.31-3.25-5.62-1.9c-2.31,1.35-2.32,4.8-2.44,9.09s-0.97,9.65,1.85,11.28s4.43,0.37,5.76-2.44 C105.21,98.7,106.23,89.64,104.32,85.47z"></path><path fill="#9A4DFF" d="M105.12,106.54l0.47-10.19c0.02-0.03,0.04-0.06,0.04-0.06l-0.04-0.03l0,0l0,0l-0.19-0.18 c-1.44-1.3-3.08-2.41-4.86-3.25c-1.2-0.57-2.46-0.98-3.77-1.21l-0.82-0.15c-0.23-0.04-0.46,0.03-0.62,0.19 c-4.31,4.15-7.88,9.8-9.1,14.14l8.62,6.31c1.17-1.95,4.19-6.36,6.74-10.03l0.43,5.36c0.51,1.22,2.44,2.23,3.69,2.65l4.89,2.65 l0.27-3.04L105.12,106.54z"></path><path fill="#EF6C51" d="M93.93,110.08c0,0,3.61,2.95,4.55,1.63c0.93-1.32-2.45-3.78-2.45-3.78L93.93,110.08z"></path><path fill="#EF6C51" d="M98.37,91.1c0.88,1.04,2.1,1.56,3.24,1.24c1.71-0.49,2.56-2.71,1.92-4.95c-0.23-0.81-0.63-1.5-1.12-2.05 C101.65,88.66,99.79,90.31,98.37,91.1z"></path><path d="M96.99,142.32l6.02-20.3l-8.13-9.9l-4.47-3.28l-4.17-3.06l-0.06,0.1l-0.01-0.01c-7.32,8.21-0.65,19.3-0.65,19.3l-8.63,6.4 l-0.01-0.01l-6.69,3.62l3.03,7.66l0.79-5.9l4.61-2.29l0,0l14.32-6.54l-0.51-6.16c1.65,1.35,2.88,2.2,2.88,2.2l-0.79,10.03l0,0 l-1.14,11.57l8.55,0.02L97,142.61L96.99,142.32z"></path><path fill="#9A4DFF" d="M66.54,75.2c0.28-2.64,0.61-5.28,0.98-7.91c0.67-4.84,2.46-11.72,7.98-10.69 c3.97,0.75,3.32,7.83,3.14,10.62c-0.38,5.88-1.66,11.66-2.35,17.5c-0.5,4.2-0.57,8.13-0.33,12.33c0.14,2.38,0.28,4.76,0.45,7.14 c0,0-2.33,8.83-9.29,7.71c-1.79-0.29-1.82-2.02-1.27-2.25c2.96-1.25,3.26-4.46,3.1-6.47c-0.37-4.69-3.28-17.22-3.28-17.22 S66.15,78.78,66.54,75.2z"></path><path fill="#9A4DFF" d="M37.96,111.11c0,0,2.03-6.83,2.2-9.93c0.17-3.22,0.26-5.93,0.17-9.11c-0.15-5.01-1.09-11.51,2.69-15.92 c0.97-1.13,3.68-3.96,4.92-4.94h0c6.04,0.43,10.61,5.29,11.3,12.01l0.52,5.06c-0.54,0.79-1.55,4.47-1.81,5.41 c-1.24,4.5-2.6,9.28-4.29,13.65c-1.16,3-4.15,9.09-4.15,9.09s-2.7,5.27-4.76,9.41c-1.31,2.63-4.67,10.34-4.67,10.34 s3.88,2.47,6.98,4c2.86,1.42,3.91,2.44,2.98,4.87c0,0-11.71-0.77-21.57-3.06L37.96,111.11z"></path><path fill="#D49CFF" d="M87.85,44.38c-4.01-3.68-9.08,0.6-13.06,2.17c-2.43,0.96-3.72,1.27-6.46,1.95l0,0 c-0.55,0.08-1.09,0.21-1.62,0.38c-2.84,0.05-6.18,1.51-8.74,2.88c-2.43,1.29-4.84,2.62-7.24,3.98c-2.46,1.4-6.7,4-8.6,5.18 c-0.64,0.4-1.22,0.88-1.73,1.44c-2.21,2.45-8.74,9.62-11.81,12.19c-1.6,1.34-4.48,3.03-7.28,1.39c-0.52-0.3-1.96,0.77-1.15,2.39 c2.46,4.9,8.34,3.91,10.83,3.23c0.7-0.19,1.35-0.53,1.91-0.99c2.53-2.07,10.57-8.6,11.49-9.02c0.11-0.05,0.21-0.1,0.31-0.14 c-0.79,1.29-1.53,2.55-2.21,3.71c-1.96,3.39-3.06,8.97-2.13,12.68c0.41,1.63,1.22,3.2,2.48,4.51c0.54,1.56,1.15,3.07,1.65,4.46 c1.05,2.94,1.77,5.48,2.57,8.52c0.77,2.93,0.82,9.84,0.82,9.84l-1.09,30.94c10.46,1.38,21.43,0.2,21.43,0.2 c0.18-2.52,0.04-4.52-3.2-5.04c-3.5-0.56-7.46-3.11-7.46-3.11s0.9-8.39,1.4-11.2c0.78-4.43,1.85-10.08,1.85-10.08 s1.11-6.5,1.35-9.6c0.35-4.53,0.25-9.35,0.12-13.88c-0.01-0.29-0.02-0.83-0.03-1.46c0.22-1.63,1.24-5.23,5.91-8.05 c7.24-4.36,10.76-11.87,11.74-15.6l-0.02-0.01c0.12-0.36,0.21-0.74,0.27-1.11c0.18-1.18,0.28-2.36,0.65-3.5 c0.34-1.08,0.94-2.12,1.72-2.98c0.83-0.91,1.87-1.6,2.71-2.5c0.81-0.88,1.01-1.42,1.5-2.09c0.84-1.16,1.53-2.46,2.07-3.78 C89.84,49.68,90.07,46.41,87.85,44.38z"></path><path fill="#EEE" d="M83.93,51.31c-0.92-0.51-1.98-0.75-2.81-0.52c-1.21,0.33-4.48,4.81-2.95,6.36 c1.38,1.39,3.85,3.15,5.53,1.19l1.3-1.51c1.41-1.92,0.95-3.07,0.95-3.07C85.81,52.78,84.96,51.88,83.93,51.31z"></path><path d="M81.04,55.25c0,0-0.38-0.16-0.56-0.6l-0.35,0.15c0.25,0.58,0.75,0.79,0.75,0.79c0.02,0.01,1.73,0.92,2.35,1.76 l0.3-0.22C82.86,56.22,81.13,55.3,81.04,55.25z"></path><path d="M84.58,51.22c-0.44-0.29-0.96-0.28-1.17,0.03c-0.16,0.25,0.23,0.42,0.62,0.63c0.22,0.87-1.37,3.1-2.02,3.9l0.29,0.24 c0.23-0.28,2.05-2.58,2.12-3.9c0.35,0.26,0.41,0.46,0.59,0.18C85.21,51.99,85.02,51.51,84.58,51.22z"></path><ellipse transform="rotate(-18.402 86.195 51.593)" cx="86.2" cy="51.6" rx=".35" ry=".35"></ellipse><ellipse transform="rotate(-18.402 83.201 49.845)" cx="83.21" cy="49.85" rx=".35" ry=".35"></ellipse><g fill="#9A4DFF"><path d="M52.28 136.05L51.49 138.41 50.84 135.81"></path><path d="M54.63 133.76L53.84 136.12 53.19 133.52"></path></g><g fill="#9A4DFF"><path d="M74.77 68.63L72.96 69.94 73.85 67.7"></path><path d="M72.1 69.25L70.29 70.56 71.18 68.32"></path><path d="M74.87 71.3L73.05 72.61 73.95 70.37"></path></g><path fill="#9A4DFF" d="M79.03 48.72L77.15 48.97 78.35 47.76"></path><path fill="#CCC" d="M161.28,59.54l25.37,0.51c0,0,1.2-3.59,0.66-5.43c-1.87-6.34-8.55-2.86-12.87-4.15 c-1.61-0.48-2.43-1.8-3.04-3.27c-0.25-0.62-0.47-1.26-0.68-1.88c-0.03-0.09-0.06-0.18-0.09-0.26c-0.02-0.07-0.05-0.14-0.07-0.2 c-0.08-0.22-0.16-0.44-0.24-0.64c-0.56-1.4-1.3-2.43-2.15-3.15c-3.68-3.12-9.53-0.45-12.93,3.26c-0.87,0.95-1.4,1.2-1.95,1.12 c-0.04-0.01-0.07-0.01-0.11-0.02c-0.59-0.13-1.21-0.62-2.31-1c-0.37-0.13-0.74-0.21-1.11-0.26c-0.09-0.01-0.19-0.02-0.28-0.02 c-0.41-0.02-0.82,0.01-1.22,0.08C153.25,48.72,157.64,53.87,161.28,59.54z"></path><path fill="#FFF" d="M161.28,59.54l-18.71-0.37l-0.33-0.01l-12.48-0.25c0,0-1.47-3.33,0.01-5.23 c2.34-3.02,5.03-1.15,7.64-1.51c1.03-0.14,2.01-0.35,2.85-0.73c0.74-0.33,1.29-0.75,1.74-1.24c0.58-0.63,1-1.4,1.47-2.29 c0.59-1.11,1.5-2.11,2.58-2.8c0.03-0.02,0.06-0.04,0.09-0.05c0.12-0.08,0.25-0.15,0.37-0.21c0.09-0.05,0.17-0.09,0.26-0.13 c0.02-0.01,0.03-0.02,0.05-0.02c0.14-0.06,0.27-0.12,0.41-0.17c0.33-0.13,0.68-0.23,1.03-0.29 C153.25,48.72,157.64,53.87,161.28,59.54z"></path><path d="M110.48,108.12l-1.62,1.33l4.54,6.21c0,0-0.96,1.12,0.9,3.64l4.83-3.85c0,0-2.09-2.21-3.42-1.75L110.48,108.12z"></path><path fill="#EF6C51" d="M112.3,109.11c0,0-3.8,2.28-2.04,4.09c1.07,1.1,3.85-1.89,3.85-1.89L112.3,109.11z"></path><path fill="#FFF" d="M172.16,152.74l0.07-0.01l-53.3-37.15l-4.13,3.39l8.4,37.15l0.08-0.01c0.11,4.69,11.45,8.48,25.42,8.48 c14.04,0,25.43-3.83,25.43-8.55C174.14,154.87,173.43,153.76,172.16,152.74z"></path><path fill="#CCC" d="M141.18,149.66c5.47-0.16,11,0.45,12.52,2.12c-1.71,1.7-7.16,2.24-12.62,2.04 c-5.75-0.22-11.19,0.04-11.83-2.16C128.69,149.71,135.58,149.83,141.18,149.66z"></path><path fill="#CCC" d="M151.06,155.74c5.47-0.16,11,0.45,12.52,2.12c-1.71,1.7-7.16,2.24-12.62,2.04 c-5.75-0.22-11.19,0.04-11.83-2.16C138.56,155.79,145.46,155.91,151.06,155.74z"></path></g><g id="report-off"><path d="M11 7h2v2.92l6.91 6.91 1.09-1.1V8.27L15.73 3H8.27L7.18 4.1 11 7.92zm11.27 14.73l-20-20.01L1 2.99l3.64 3.64L3 8.27v7.46L8.27 21h7.46l1.64-1.63L21 23l1.27-1.27zM12 17.3c-.72 0-1.3-.58-1.3-1.3s.58-1.3 1.3-1.3 1.3.58 1.3 1.3-.58 1.3-1.3 1.3z"></path></g><g id="show-ranking"><path d="M19 5v14H5V5h14m1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9zM11 7h6v2h-6V7zm0 4h6v2h-6v-2zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"></path></g><g id="trend-down-circle-outline"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-3l4-3.99h-3V6h-2v7.01H8L12 17z"></path></g><g id="trend-down-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 16.41L7.29 13.7l1.41-1.41 2.3 2.3V6h2v8.59l2.29-2.29 1.41 1.41-4.7 4.7z"></path></g><g id="trend-down"><polygon points="12 19.2 7.2 14.4 10.8 14.4 10.8 6 13.2 6 13.2 14.4 16.8 14.4"></polygon></g><g id="trend-up-circle"><path d="M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M15.29,11.71L13,9.41V18h-2V9.41l-2.29,2.29 l-1.41-1.41L12,5.59l4.71,4.71L15.29,11.71z"></path></g><g id="trend-up"><polygon points="12 4.8 7.2 9.6 10.8 9.6 10.8 18 13.2 18 13.2 9.6 16.8 9.6"></polygon></g><g id="web-traffic"><path d="M9,9c0.85,3.1,2.15,6.9,3,10l1.24-3.75L18,20l2-2l-4.7-4.7L19,12C15.9,11.15,12.1,9.9,9,9z"></path><path d="M10,3c0.67,0,1.33,0,2,0c0,1.51,0,1.54,0,3c-0.67,0-1.33,0-2,0C10,4.54,10,4.46,10,3z"></path><path d="M2,12c0-0.67,0-1.33,0-2c1.51,0,1.54,0,3,0c0,0.67,0,1.33,0,2C3.54,12,3.46,12,2,12z"></path><path d="M6.12,14c0.47,0.47,0.94,0.94,1.41,1.41c-1.06,1.06-1.09,1.09-2.12,2.12C4.94,17.06,4.47,16.59,4,16.12 C5.03,15.09,5.09,15.03,6.12,14z"></path><path d="M4,5.88c0.47-0.47,0.94-0.94,1.41-1.41c1.06,1.06,1.09,1.09,2.12,2.12C7.06,7.06,6.59,7.53,6.12,8 C5.09,6.97,5.03,6.91,4,5.88z"></path><path d="M16.59,4.46c0.47,0.47,0.94,0.94,1.41,1.41C16.94,6.94,16.91,6.97,15.88,8c-0.47-0.47-0.94-0.94-1.41-1.41 C15.49,5.56,15.56,5.49,16.59,4.46z"></path></g><g id="zoom-in"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></g><g id="zoom-out"><path fill="none" d="M0 0h24v24H0V0z"></path><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"></path></g></defs></svg></iron-iconset-svg>';
SHa=c}c=SHa;b.call(a,c.content)};
document.body?THa():window.addEventListener("DOMContentLoaded",THa);
var UHa,VHa,WHa;_.Pu={};UHa="accountDisconnectionEndpoint accountIntegrationEndpoint accountLinkCommand accountUnlinkCommand addToRemoteQueueEndpoint clearRemoteQueueEndpoint insertInRemoteQueueEndpoint offlineVideoEndpoint openPopupAction pingingEndpoint removeFromRemoteQueueEndpoint".split(" ");VHa=["updatedMetadataEndpoint","getBroadcastStatusEndpoint","getLiveAnalyticsEndpoint","getSearchInVideoCommand"];WHa=["GET_UNSEEN_NOTIFICATION_COUNT"];_.Qu=function(){};
_.Ru=function(a,b){this.data=a;this.actions=b};
_.Pu.YtEndpointHandlerBehavior=[_.Y.YtActionHandlerBehavior,{_noAccessors:!0,created:function(){this.endpointHandlerActionMap_={"yt-service-request":"handleServiceRequest_"};this.serviceEndpointHandlers_=[]},
attached:function(){this.registerActionMap(this.endpointHandlerActionMap_)},
detached:function(){this.unregisterActionMap(this.endpointHandlerActionMap_)},
registerServiceEndpointHandler:function(a){this.serviceEndpointHandlers_.push(a)},
handleServiceRequest_:function(a,b,c,d){var e=new _.Qu;e.endpoint=b;if(!b)return _.Qf(new _.ge("handle undefined endpoint",a.tagName)),e;var h=LHa(b);h.length&&(_.Lg(this,h,a,c),e.actions=h);b.loggingUrls&&b.loggingUrls.forEach(function(m){m.baseUrl&&_.Te(m.baseUrl)});
h=!_.x("web_skip_impression_click_killswitch")&&c&&c.impression;if(b.clickTrackingParams&&!this.isPollingEndpoint_(b)&&!this.hasNavigationLogging_(a)&&!h&&(h=_.vp(),!_.Ou(h,a))){var l=a.getScreenLayer&&a.getScreenLayer();l?h.clickCommand(b,null,l):h.clickCommand(b,null)}h=!1;for(l=0;l<this.serviceEndpointHandlers_.length;l++)if((0,this.serviceEndpointHandlers_[l])(a,b,c)){h=!0;break}!h&&this.shouldSendNetworkRequest_(b)&&(e.ajaxPromise=this.sendServiceAjax_(a,b,c,d));return e},
hasNavigationLogging_:function(a){return(a=a.data&&a.data.navigationEndpoint)&&!!a.clickTrackingParams},
isPollingEndpoint_:function(a){if(a.signalServiceEndpoint){var b=a.signalServiceEndpoint.signal;if(b&&0<=WHa.indexOf(b))return!0}for(var c in a)if(0<=VHa.indexOf(c))return!0;return!1},
shouldSendNetworkRequest_:function(a){if(a.signalServiceEndpoint&&"CLIENT_SIGNAL"==a.signalServiceEndpoint.signal)return!1;for(var b in a)if(0<=UHa.indexOf(b))return!1;a=Object.keys(a);return 1==a.length&&"loggingUrls"==a[0]?!1:!0},
getCancellableNetworkPromise_:function(a,b,c,d,e){var h=this,l=_.Ei();if(l&&_.Eh(c,l.endpointMap))var m=_.Dp(_.Ei(),c,d).then(function(r){return r.data?r:{data:r}});
else m=a.requestDataForServiceEndpoint(c,d),c.getAccountsListEndpoint||c.getAccountSwitcherEndpoint||_.Rf(new _.ge("No RequestBuilder for endpoint",c));var p=_.Sk();p.promise.thenCatch(function(){h.handleOnFailureAction_(c,b);m.cancel("Resolver promise rejected")});
m.then(function(r){if(r)if(r.error){if(e&&e.onServerError)e.onServerError(c,r);p.reject(new _.ge("Response error",c,r.error))}else{if(r=r.data)if(r.error){if(e&&e.onServerError)e.onServerError(c,r);p.reject(new _.ge("Returned error",c,r.error))}else{r.trackingParams&&h.logServiceAjaxResponse_(b,r.trackingParams,c);r.continuationEndpoint&&r.entries&&(r.onResponseReceivedActions=[{appendReelWatchSequenceContinuationEntriesAction:{entries:r.entries,continuationEndpoint:r.continuationEndpoint}}]);var v=
IHa(r);if(v)if(_.x("kevlar_command_handler_response_actions")&&_.Gi.instance)for(var z=_.Gi.instance,A=_.k(v),D=A.next();!D.done;D=A.next())(D=D.value)&&z.resolveCommand(D,{form:{element:b}});else if(_.x("handle_service_request_actions")||_.x("handle_response_commands_killswitch"))_.Lg(h,v,b);else for(z=_.k(v),D=z.next();!D.done;D=z.next())A=D.value,A.commandMetadata&&A.commandMetadata.webCommandMetadata&&A.commandMetadata.webCommandMetadata.sendPost?_.Kg(h,[A]):_.Lg(h,[A],b);h.get("frameworkUpdates.entityBatchUpdate",
r);if(e&&e.onSuccess)e.onSuccess(c,r);p.resolve(new _.Ru(r,v))}}else p.reject(new _.ge("Invalid service endpoint provided",c))},function(r){p.reject(r)},this);
return p.promise},
sendServiceAjax_:function(a,b,c,d){var e;return(e=a.getNetworkManager&&a.getNetworkManager()?a.getNetworkManager():_.Eg().resolve(_.Cg(_.Eo)))?this.getCancellableNetworkPromise_(e,a,b,c,d):_.Qk("No network manager.")},
logServiceAjaxResponse_:function(a,b,c){var d;c.getDownloadActionCommand&&c.clickTrackingParams?d=_.no(c.clickTrackingParams):_.x("web_graft_to_parent_command")&&c.clickTrackingParams&&(d=_.no(c.clickTrackingParams));a=a.getScreenLayer?a.getScreenLayer():void 0;b=_.ms(_.vp(),b,d,a);_.Jg(this,"yt-store-grafted-ve-action",[b])},
handleOnFailureAction_:function(a,b){var c=_.Fg(a,"action")||_.Fg(a,"command")||_.Fg(a,"endpoint");c&&(a[c].hasOwnProperty("onFailureAction")?_.Lg(this,[a[c].onFailureAction],b):a[c].hasOwnProperty("onFailureCommand")&&_.Lg(this,[a[c].onFailureCommand],b))}}];
_.Su={};_.Su.YtOpenPopupBehavior={properties:{popupPositionTarget:Object},listeners:{"yt-service-request-completed":"onOpenPopupServiceRequestCompleted_"},created:function(){this.openPopupConfig=null},
openPopup:function(a){_.C(this,"yt-open-popup-action",[a,this])},
getNavigationEndpointPopupAction:function(a){var b=_.Fg(a,"endpoint"),c=_.Fg(a,"action");if(b=c?c:b)if(b=this.openPopupConfig&&this.openPopupConfig.navigationEndpointPopupMap[b])if(a=this.get(b,a),(b=_.Fg(a,"renderer"))&&this.openPopupConfig.supportedPopups.hasOwnProperty(b))return{openPopupAction:{popupType:this.openPopupConfig.popupTypeMap[b],popup:a}};return null},
onOpenPopupServiceRequestCompleted_:function(a,b){b=this.get("data.contents",b);b instanceof Array&&b.length&&(b=b[0]);if(b){var c=_.Fg(b,"renderer");this.openPopupConfig.supportedPopups.hasOwnProperty(c)&&(a.stopPropagation(),this.openPopup({openPopupAction:{popupType:this.openPopupConfig.popupTypeMap[c],popup:b}}))}}};
_.Tu={};
_.Tu.YtEndpointBehavior=[_.Su.YtOpenPopupBehavior,{properties:{openPopupConfig:Object,endpointHandlerTarget:Object},ready:function(){this.openPopupConfig=_.w("openPopupConfig");this.endpointHandlerTarget||(this.endpointHandlerTarget=this);_.x("kevlar_fluid_touch_scroll")?this.listen(this.endpointHandlerTarget,"click","onEndpointClick_"):(this.listen(this.endpointHandlerTarget,"tap","onEndpointTap_"),this.listen(this.endpointHandlerTarget,"touchend","onEndpointTouchEnd_"));this.listen(this.endpointHandlerTarget,"touchstart",
"onEndpointTapStart_");this.listen(this.endpointHandlerTarget,"mousedown","onEndpointTapStart_")},
getEndpointFromEvent_:function(a){a=_.H(a).path;for(var b,c=0;c<a.length;c++){b=a[c];if("yt-endpoint"==b.is)break;if("A"==b.tagName&&b.classList.contains("yt-simple-endpoint")){if(!b.data)break;return b}}return null},
hasOtherKey_:function(a){return a.shiftKey||a.altKey||a.metaKey||a.ctrlKey},
onEndpointClick_:function(a){var b=this.getEndpointFromEvent_(a);if(b){var c=void 0!==a.button?0===a.button&&!this.hasOtherKey_(a):!this.hasOtherKey_(a);b.data&&c&&this.handleClick_(b,a)}},
onEndpointTap_:function(a){var b=this.getEndpointFromEvent_(a);if(b){var c=a.detail;var d=c.sourceEvent;c=c.preventer;d=void 0!==d.button?0===d.button&&!this.hasOtherKey_(d):c?!this.hasOtherKey_(c):!0;b.data&&d&&this.handleClick_(b,a)}},
handleClick_:function(a,b){var c=this,d=0===_.hd("pbj_navigate_limit",-1);this.setTempData_(a);this.getEndpointHandler_();var e=a.data;if(!_.x("kevlar_js_fixes")||0!==Object.keys(e).length){var h=this.getNavigationEndpointPopupAction(e);if(h)e.loggingUrls&&e.loggingUrls.forEach(function(m){m.baseUrl&&_.Te(m.baseUrl)}),b.preventDefault(),b.stopPropagation(),this.openPopup(h);
else{var l=_.PHa(0,a.data,b);a.getForm&&(h=a.getForm(),l.tempData=l.tempData||{},l.tempData=Object.assign({},l.tempData,h));if(h=_.H(b).path.find(function(m){return!!m.visualElement}))l.createScreenConfig=l.createScreenConfig||{},l.createScreenConfig.clickedVisualElement=h.visualElement;
if(!d)if(b.preventDefault(),b.stopPropagation(),e.userFeedbackEndpoint&&_.x("show_civ_reminder_on_web")&&_.Gi.instance)_.Gi.instance.resolveCommand(e,l);else if(_.x("kevlar_command_handler_formatted_string")&&_.Gi.instance)_.Gi.instance.resolveCommand(e,l);else if(_.x("kevlar_js_fixes")){b=_.H(b).path;d=[];for(e=0;e<b.length;e++)b[e].is&&d.push(b[e].is);_.jFa({parents:d.join(","),text:a.innerText},function(){c.fire("yt-navigate",l,{node:a})})}else this.fire("yt-navigate",l,{node:a})}}},
onEndpointTouchEnd_:function(a){this.hasOtherKey_(a)||this.getEndpointFromEvent_(a)&&a.preventDefault()},
onEndpointTapStart_:function(a){var b=this.getEndpointFromEvent_(a);b&&(this.setTempData_(b),_.x("polymer_endpoint_tap_start_stop_propagation")&&a.stopPropagation())},
setTempData_:function(a){a.href&&(_.x("kevlar_js_fixes")&&0===Object.keys(a.data).length||_.OHa(a.href,a.data))}}];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syr");

/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var JGa=document.createElement("template");JGa.innerHTML='<custom-style><style is="custom-style">html {\n  --ytd-grid-base: 103px;\n  --ytd-margin-base: 4px;\n  --ytd-avatar-size: 32px;\n  --ytd-toolbar-height: 56px;\n  --ytd-margin-2x: 8px;\n  --ytd-margin-3x: 12px;\n  --ytd-margin-4x: 16px;\n  --ytd-margin-5x: 20px;\n  --ytd-margin-6x: 24px;\n  --ytd-margin-7x: 28px;\n  --ytd-margin-8x: 32px;\n  --ytd-margin-9x: 36px;\n  --ytd-margin-10x: 40px;\n  --ytd-margin-11x: 44px;\n  --ytd-margin-12x: 48px;\n  --ytd-margin-14x: 56px;\n  --ytd-margin-16x: 64px;\n  --ytd-margin-17x: 68px;\n  --ytd-margin-24x: 96px;\n  --ytd-margin-25x: 100px;\n  --ytd-margin-35x: 140px;\n  --ytd-neg-margin-base: -4px;\n  --ytd-neg-margin-2x: -8px;\n  --ytd-neg-margin-3x: -12px;\n  --ytd-neg-margin-4x: -16px;\n  --ytd-neg-margin-5x: -20px;\n  --ytd-neg-margin-6x: -24px;\n  --ytd-neg-margin-7x: -28px;\n  --ytd-neg-margin-8x: -32px;\n  --ytd-neg-margin-10x: -40px;\n  --ytd-neg-margin-11x: -44px;\n  --ytd-neg-margin-12x: -48px;\n  --ytd-neg-margin-14x: -56px;\n  --ytd-neg-margin-16x: -64px;\n  --ytd-neg-margin-24x: -96px;\n  --ytd-neg-margin-25x: -100px;\n  --yt-report-form-modal-renderer-min-width: 250px;\n  --yt-legal-report-details-form-renderer-min-width: 250px;\n  --yt-circular: {\n    border-radius: 50%;\n    background-color: transparent;\n    overflow: hidden;\n  };\n  --yt-multi-line-ellipsis: {\n    -webkit-box-orient: vertical;\n    text-overflow: ellipsis;\n    white-space: normal;\n    display: -webkit-box;\n  };\n  --yt-upsell-dialog-layout-vertical-width: 400px;\n  --yt-upsell-dialog-layout-horizontal-width: 800px;\n}\n</style></custom-style>';
document.head.appendChild(JGa.content);
var KGa=document.createElement("template");KGa.innerHTML='<custom-style><style is="custom-style">html[typography-spacing] {\n  --yt-subheadline-letter-spacing: .1px;\n  --yt-subheadline-link-letter-spacing: .15px;\n  --yt-link-letter-spacing: .25px;\n  --yt-thumbnail-attribution-letter-spacing: .3px;\n  --yt-user-comment-letter-spacing: .2px;\n  --yt-guide-highlight-letter-spacing: .25px;\n  --yt-caption-letter-spacing: .35px;\n  --yt-badge-letter-spacing: .35px;\n  --yt-tab-system-letter-spacing: .5px;\n}\n\nhtml[typography] {\n  --yt-channel-line-height: 3.2rem;\n  --yt-navbar-title-line-height: 2.6rem;\n  --yt-subheadline-line-height: 2.2rem;\n  --yt-link-line-height: 2rem;\n  --yt-thumbnail-attribution-font-size: 1.2rem;\n  --yt-thumbnail-attribution-line-height: 1.8rem;\n  --yt-user-comment-line-height: 2rem;\n  --yt-guide-highlight-line-height: 2rem;\n  --yt-caption-font-size: 1.2rem;\n  --yt-caption-line-height: 1.8rem;\n}\n\nhtml {\n  --ytd-channel-title: {\n    font-size: var(--yt-channel-title-font-size, 2.4rem);\n    font-weight: 400;\n    line-height: var(--yt-channel-title-line-height, 3rem);\n  };\n  --yt-navbar-title-font-size: 1.8rem;\n  --ytd-navbar-title-font-size: var(--yt-navbar-title-font-size);\n  --ytd-navbar-title-font-weight: 400;\n  --ytd-navbar-title-line-height: var(--yt-navbar-title-line-height, 2.4rem);\n  --ytd-subheadline-font-size: var(--yt-subheadline-font-size, 1.6rem);\n  --ytd-subheadline-font-weight: 400;\n  --ytd-subheadline-line-height: var(--yt-subheadline-line-height, 2rem);\n  --ytd-subheadline-letter-spacing: var(--yt-subheadline-letter-spacing, normal);\n  --ytd-subheadline-link: {\n    font-size: var(--yt-subheadline-font-size, 1.6rem);\n    font-weight: 500;\n    line-height: var(--yt-subheadline-line-height, 2rem);\n    letter-spacing: var(--yt-subheadline-link-letter-spacing, normal);\n  };\n  --ytd-link_-_font-size: var(--yt-link-font-size, 1.4rem);\n  --ytd-link_-_font-weight: 500;\n  --ytd-link_-_line-height: var(--yt-link-line-height, 1.6rem);\n  --ytd-link_-_letter-spacing: var(--yt-link-letter-spacing, normal);\n  --ytd-thumbnail-attribution: {\n    font-size: var(--yt-thumbnail-attribution-font-size, 1.3rem);\n    font-weight: 400;\n    line-height: var(--yt-thumbnail-attribution-line-height, 1.8rem);\n    letter-spacing: var(--yt-thumbnail-attribution-letter-spacing, inherit);\n    text-transform: none;\n  };\n  --ytd-user-comment_-_font-size: var(--yt-user-comment-font-size, 1.4rem);\n  --ytd-user-comment_-_font-weight: 400;\n  --ytd-user-comment_-_line-height: var(--yt-user-comment-line-height, 2.1rem);\n  --ytd-user-comment_-_letter-spacing: var(--yt-user-comment-letter-spacing, normal);\n  --ytd-tab-system_-_font-size: var(--yt-tab-system-font-size, 1.4rem);\n  --ytd-tab-system_-_font-weight: 500;\n  --ytd-tab-system_-_letter-spacing: var(--yt-tab-system-letter-spacing, .007px);\n  --ytd-tab-system_-_text-transform: uppercase;\n  --ytd-caption: {\n    font-size: var(--yt-caption-font-size, 1.3rem);\n    line-height: var(--yt-caption-line-height, normal);\n    font-weight: 500;\n    letter-spacing: var(--yt-caption-letter-spacing, .007px);\n    text-transform: uppercase;\n  };\n  --ytd-floating-input-thumbnail-attribution: {\n    font-size: 1.7rem;\n    font-weight: 400;\n    line-height: 2.4rem;\n  };\n  --ytd-mini-attribution-font-size: 1.2rem;\n  --ytd-mini-attribution-font-weight: 400;\n  --ytd-mini-attribution-line-height: 1.5rem;\n  --ytd-code-snippet-font-size: 1.4rem;\n  --ytd-code-snippet-line-height: 2.4rem;\n}\n\n/*# sourceMappingURL=yt-typography_custom_style.css.map */\n</style></custom-style>';
document.head.appendChild(KGa.content);
var LGa,MGa=function(){if(void 0!==LGa)return LGa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html[system-icons] {--ytd-searchbox-legacy-button-icon-color: #030303;} html[system-icons][dark] {--ytd-searchbox-legacy-button-icon-color: #fff;} html {--ytd-searchbox-border-color: hsla(0, 0%, 53.3%, 0.2);--ytd-searchbox-legacy-border-color: #ccc;--ytd-searchbox-legacy-border-shadow-color: #eee;--ytd-searchbox-legacy-button-color: #f8f8f8;--ytd-searchbox-legacy-button-border-color: #d3d3d3;--ytd-searchbox-legacy-button-focus-color: #e9e9e9;--ytd-searchbox-legacy-button-hover-color: #f0f0f0;--ytd-searchbox-legacy-button-hover-border-color: #c6c6c6;--ytd-searchbox-legacy-button-icon-color: #333;--ytd-searchbox-background: hsl(0, 0%, 100%);--ytd-searchbox-text-color: hsl(0, 0%, 6.7%);} html[dark],[dark] {--ytd-searchbox-border-color: hsla(0, 0%, 53.3%, 0.4);--ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%);--ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0);--ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, 0.08);--ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%);--ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, 0.08);--ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, 0.08);--ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%);--ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, 0.5);--ytd-searchbox-background: hsl(0, 0%, 7%);--ytd-searchbox-text-color: hsla(0, 100%, 100%, 0.88);}</style>";
return LGa=a};
document.head.appendChild(MGa().content);
var NGa;
var OGa=document.head,PGa=OGa.appendChild,QGa;if(void 0===NGa){var uu=document.createElement("template");uu.innerHTML="";uu.content.insertBefore(MGa().content.cloneNode(!0),uu.content.firstChild);NGa=uu}QGa=NGa;PGa.call(OGa,QGa.content);
var RGa,SGa=function(){if(void 0!==RGa)return RGa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html {--ytd-z-index-report-form-overlay: 100;--ytd-z-index-engagement-panel-scrim: 600;--ytd-z-index-engagement-panel-scrimmed: 601;--ytd-z-index-toggle-button-tooltip: 2300;--ytd-z-index-miniplayer-bar: 2008;--ytd-z-index-masthead: 2020;--ytd-z-index-user-mention-suggestions-container: 2022;--ytd-z-index-notification: 2024;--ytd-z-index-miniplayer: 2018;--ytd-z-index-channel-name: 300;--ytd-thumbnail-height: 118px;--ytd-grid-1-columns-width: 214px;--ytd-grid-2-columns-width: 428px;--ytd-grid-3-columns-width: 642px;--ytd-grid-4-columns-width: 856px;--ytd-grid-5-columns-width: 1070px;--ytd-grid-6-columns-width: 1284px;--ytd-grid-max-width: 1284px;--ytd-scrollbar-width: 8px;--ytd-default-promo-panel-renderer-height: 600px;} html[standardized-themed-scrollbar] {scrollbar-color: var(--yt-spec-text-secondary) transparent;} body[standardized-themed-scrollbar]:not([no-y-overflow])::-webkit-scrollbar {width: 16px;} body[standardized-themed-scrollbar]:not([no-y-overflow])::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} body[standardized-themed-scrollbar]:not([no-y-overflow])::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} body[no-y-overflow] {overflow-y: hidden;} body.lock-scrollbar {overflow-y: scroll!important;position: fixed;left: 0px;right: 0px;bottom: 0px;} html[offline],[offline] {--ytd-offline-opacity: 0.5;--ytd-offline-pointer-events: none;}</style>";
return RGa=a};
document.head.appendChild(SGa().content);
var TGa;
var UGa=document.head,VGa=UGa.appendChild,WGa;if(void 0===TGa){var vu=document.createElement("template");vu.innerHTML="";vu.content.insertBefore(SGa().content.cloneNode(!0),vu.content.firstChild);TGa=vu}WGa=TGa;VGa.call(UGa,WGa.content);
var XGa=document.createElement("template");XGa.innerHTML='<custom-style><style is="custom-style">html {\n  --paper-tooltip-delay-in: 1ms;\n  --paper-tooltip-delay-out: 0;\n  --paper-tooltip-duration-in: 150ms;\n  --paper-tooltip-duration-out: 75ms;\n  --yt-button-tooltip-z-index: 2300;\n  --iron-overlay-backdrop-opacity: 0.8;\n  --paper-tab-content-focused-font-weight: 500;\n}\nhtml tp-yt-paper-tooltip[style-target=tooltip] {\n  margin: 8px;\n  @apply --ytd-thumbnail-attribution;\n}\n\n/*# sourceMappingURL=ytd-ui-styles_custom_style.css.map */\n</style></custom-style>';
document.head.appendChild(XGa.content);
var YGa=document.createElement("template");YGa.innerHTML='<custom-style><style is="custom-style">html {\n  --paper-dialog-background-color: var(--yt-spec-brand-background-solid);\n  --paper-listbox-background-color: var(--yt-spec-brand-background-solid);\n  --paper-listbox-color: var(--yt-spec-text-primary);\n  --paper-spinner-layer-1-color: var(--yt-spec-text-secondary);\n  --paper-spinner-layer-2-color: var(--yt-spec-text-secondary);\n  --paper-spinner-layer-3-color: var(--yt-spec-text-secondary);\n  --paper-spinner-layer-4-color: var(--yt-spec-text-secondary);\n  --paper-spinner-color: var(--yt-spec-text-secondary);\n  --paper-input-container-focus-color: var(--yt-spec-themed-blue);\n  --paper-input-container-input-color: var(--yt-spec-text-primary);\n  --paper-input-container-label-floating: {\n    @apply --ytd-floating-input-thumbnail-attribution;\n  };\n  --paper-input-container-invalid-color: var(--yt-spec-brand-link-text);\n  --paper-checkbox-unchecked-color: var(--yt-spec-icon-inactive);\n  --paper-checkbox-unchecked-ink-color: var(--yt-spec-icon-inactive);\n  --paper-checkbox-checked-color: var(--yt-spec-call-to-action);\n  --paper-checkbox-checked-ink-color: var(--yt-spec-call-to-action);\n  --paper-checkbox-label-color: var(--yt-spec-text-primary);\n  --paper-checkbox-label-spacing: 16px;\n  --paper-checkbox-size: 20px;\n  --paper-checkbox-checkmark-color: var(--yt-spec-text-primary-inverse);\n  --paper-radio-button-unchecked-color: var(--yt-spec-icon-inactive);\n  --paper-radio-button-unchecked-ink-color: var(--yt-spec-icon-inactive);\n  --paper-radio-button-checked-color: var(--yt-spec-call-to-action);\n  --paper-radio-button-checked-ink-color: var(--yt-spec-call-to-action);\n  --paper-radio-button-label-spacing: 16px;\n  --paper-radio-button-label-color: var(--yt-spec-text-primary);\n  --paper-radio-button-size: 20px;\n  --paper-item: {\n    white-space: nowrap;\n  };\n  --paper-input-error: {\n    overflow: hidden;\n  };\n  --paper-toggle-button-unchecked-bar-color: var(--yt-spec-icon-disabled);\n  --paper-toggle-button-unchecked-button-color: var(--yt-spec-icon-inactive);\n  --paper-toggle-button-checked-bar-color: var(--yt-spec-icon-disabled);\n  --paper-toggle-button-checked-button-color: var(--yt-spec-call-to-action);\n  --paper-toggle-button-checked-ink-color: var(--yt-spec-call-to-action);\n  --paper-toggle-button-unchecked-ink-color: var(--yt-spec-touch-response);\n  --paper-tab-content-unselected: {\n    opacity: 1;\n  };\n  --paper-menu-disabled-color: var(--yt-spec-text-primary);\n  --paper-menu-background-color: var(--yt-spec-brand-background-solid);\n  --paper-menu-color: var(--yt-spec-text-primary);\n  --yt-icon-width: 40px;\n  --yt-icon-height: 40px;\n}\n</style></custom-style>';
document.head.appendChild(YGa.content);
var ZGa,$Ga=function(){if(void 0!==ZGa)return ZGa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html {--ytd-rich-grid-items-per-row: 4;--ytd-rich-grid-posts-per-row: 3;--ytd-rich-grid-slim-items-per-row: 6;--ytd-rich-grid-game-cards-per-row: 6;--ytd-rich-grid-item-margin: 16px;--ytd-rich-grid-item-min-width: 320px;--ytd-rich-grid-item-max-width: 360px;--ytd-rich-grid-mini-item-min-width: 240px;--ytd-rich-grid-mini-item-max-width: 320px;--ytd-rich-grid-slim-item-max-width: 220px;}</style>";
return ZGa=a};
document.head.appendChild($Ga().content);
var aHa;
var bHa=document.head,cHa=bHa.appendChild,dHa;if(void 0===aHa){var wu=document.createElement("template");wu.innerHTML="";wu.content.insertBefore($Ga().content.cloneNode(!0),wu.content.firstChild);aHa=wu}dHa=aHa;cHa.call(bHa,dHa.content);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sye");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var zGa,AGa,BGa,DGa,CGa;zGa=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.aa.call(this,c+a[d])};
AGa=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};
BGa=function(a){return a.replace(_.Koa,function(b,c,d,e){var h="";d=d.replace(/^(['"])(.*)\1$/,function(l,m,p){h=m;return p});
b=_.It(d).getTypedStringValue();return c+h+b+h+e})};
DGa=function(a){if(a instanceof _.pj)return'url("'+_.yb(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.Tf)a=_.ij(a);else{a=String(a);var b=a.replace(_.Loa,"$1").replace(_.Loa,"$1").replace(_.Koa,"url");if(_.Joa.test(b)){if(b=!CGa.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&AGa(a)}a=b?BGa(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new zGa("Value does not allow [{;}], got: %s.",[a]);return a};
_.EGa=function(a,b,c){c=void 0===c?"":c;if(b){a.data=b;var d=_.pFa(b);d?(_.Ut(a,d),_.mFa(b)||!_.zd(d)?a.rel="nofollow":a.removeAttribute("rel"),b.urlEndpoint&&"TARGET_NEW_WINDOW"==b.urlEndpoint.target?a.target="_blank":c?a.target=c:a.removeAttribute("target")):(a.removeAttribute("href"),a.removeAttribute("rel"),a.removeAttribute("target"))}};
_.V=function(){var a=_.Ob.apply(0,arguments);return function(b,c,d){var e=Object.getOwnPropertyDescriptor(b,c).get,h="__compute__"+c;Object.defineProperty(b,h,{value:e,enumerable:!0});b.properties=b.properties||{};e=b.properties[c];e||(e={},b.properties[c]=e);e.computed=h+"("+a.join(",")+")";_.ut||(d.get=void 0)}};
_.lu=function(a){return function(b){if(!a.noInjection){var c=!!a.isInjectionRoot,d=a.providers;b.prototype.behaviors=b.prototype.behaviors||[];b.prototype.behaviors.unshift(_.Sza.InjectBehavior);b.prototype.provide=d;b.prototype.isInjectionRoot=c}a.asyncProperties&&_.x("polymer_enable_async_property_setting")&&(b.prototype._invalidateProperties=_.RFa);_.L(_.Dt.prototype)(b.prototype,"__templateHelpers");_.QFa(a.is)&&_.L(_.Et.prototype)(b.prototype,"__propertyObserverObserver");_.yFa({is:a.is,notifyObserversOnUndefined:!1!==
a.notifyObserversOnUndefined,fastInit:a.fastInit,template:a.template})(b)}};
_.nu=function(a,b,c,d){d=void 0===d?"width":d;if(!a||!a.length)return null;if(_.x("kevlar_tuner_should_always_use_device_pixel_ratio")){var e=window.devicePixelRatio;_.x("kevlar_tuner_should_clamp_device_pixel_ratio")?e=Math.min(e,_.hd("kevlar_tuner_clamp_device_pixel_ratio")):_.x("kevlar_tuner_should_use_thumbnail_factor")&&(e=_.hd("kevlar_tuner_thumbnail_factor"));mu=e}else mu||(mu=window.devicePixelRatio);e=mu;_.x("kevlar_tuner_should_always_use_device_pixel_ratio")?b*=e:1<e&&(b*=e);if(_.x("kevlar_tuner_min_thumbnail_quality"))return a[0].url||
null;e=a.length;if(_.x("kevlar_tuner_max_thumbnail_quality"))return a[e-1].url||null;if(c)for(var h=0;h<e;h++)if(0<=a[h].url.indexOf(c))return a[h].url||null;for(c=0;c<e;c++)if(a[c][d]>=b)return a[c].url||null;for(b=e-1;0<b;b--)if(a[b][d])return a[b].url||null;return a[0].url||null};
_.cj(zGa,_.aa);zGa.prototype.name="AssertionError";CGa=/\/\*/;_.ou=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("x`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(DGa).join(" "):DGa(d),b+=c+":"+d+";")}return b?new _.wj(b,_.vj):_.Ioa};
_.pu=function(a){var b=a[0],c=a[1];a=a[2];b=Number(b);c=Number(c);a=Number(a);if(b!=(b&255)||c!=(c&255)||a!=(a&255))throw Error("jd`"+b+"`"+c+"`"+a);c=b<<16|c<<8|a;return 16>b?"#"+(16777216|c).toString(16).slice(1):"#"+c.toString(16)};
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.FGa=!1;_.qu=function(){};
_.qu.prototype.reset=function(){_.FGa=!1};
_.Yi(_.qu);
_.ru=function(a){a&=16777215;return _.pu([(a&16711680)>>16,(a&65280)>>8,a&255])};
var mu;mu=0;_.su=new WeakMap;_.tu=new Set;
var GGa={};GGa.YtPlaintextBehavior=[_.Xs,{properties:{plaintextOnly:{type:Boolean,value:!1}},detached:function(){this.plaintextOnly&&(this.removeEventListener("paste",this.onPaste_),this.removeOwnKeyBindings())},
ready:function(){this.plaintextOnly&&(this.addEventListener("paste",this.onPaste_),this.addOwnKeyBinding("ctrl+b meta+b ctrl+i meta+i","preventRichTextFormatting_"))},
onPaste_:function(a){a.preventDefault();a=a.clipboardData.getData("text/plain");document.execCommand("insertText",!1,a)},
preventRichTextFormatting_:function(a){_.Kj&&(a=a.detail.keyboardEvent,a.stopImmediatePropagation(),a.preventDefault())}}];
var HGa;
var IGa;
_.Ng({is:"yt-formatted-string",_template:function(){if(void 0!==IGa)return IGa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-formatted-string--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_formatted_string.yt.formatted.string.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===
HGa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_formatted_string.yt.formatted.string.css.js--\x3e<style>:host(:not(.use-shadow):empty) {display: none;} :host span:empty {display: none;} :host([dir=auto]) {text-align: right;} .bold {font-weight: var(--yt-formatted-string-bold-font-weight,500);@apply --yt-formatted-string-bold;} :not(a).bold {color: var(--yt-formatted-string-bold-color,inherit);} .deemphasize {color: var(--yt-formatted-string-deemphasize-color,var(--yt-spec-text-secondary));@apply --yt-formatted-string-deemphasize;} .italic {font-style: italic;} .strikethrough {text-decoration: line-through;font-family: var(--yt-formatted-string-strikethrough-font-family);font-size: var(--yt-formatted-string-strikethrough-font-size);font-weight: var(--yt-formatted-string-strikethrough-font-weight);line-height: var(--yt-formatted-string-strikethrough-line-height);} :host ::slotted(.emoji),:host ::slotted(.small-emoji) {margin: -1px 2px 1px;vertical-align: middle;} :host ::slotted(.emoji) {width: var(--yt-formatted-string-emoji-size,24px);height: var(--yt-formatted-string-emoji-size,24px);} :host ::slotted(.emoji.small-emoji) {width: var(--yt-formatted-string-small-emoji-size,16px);height: var(--yt-formatted-string-small-emoji-size,16px);} a {color: var(--yt-spec-call-to-action);} a.yt-simple-endpoint {color: var(--yt-endpoint-color,var(--yt-spec-call-to-action));display: var(--yt-endpoint-display,inline-block);text-decoration: var(--yt-endpoint-text-regular-decoration,none);word-wrap: var(--yt-endpoint-word-wrap,none);word-break: var(--yt-endpoint-word-break,none);} a.yt-simple-endpoint:visited {color: var(--yt-endpoint-visited-color,var(--yt-spec-call-to-action));} a.yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-call-to-action));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint.yt-formatted-string:focus-visible {outline-offset: 0px;} :host([has-link-only_]:not([force-default-style])) a.yt-simple-endpoint {color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} :host([has-link-only_]:not([force-default-style])) a.yt-simple-endpoint:visited {color: var(--yt-endpoint-visited-color,var(--yt-spec-text-primary));} :host([has-link-only_]:not([force-default-style])) a.yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));} :host([contenteditable]) a.yt-simple-endpoint,#contenteditable-root a.yt-simple-endpoint {background: var(--yt-formatted-string-contenteditable-endpoint-background);border-radius: var(--yt-formatted-string-contenteditable-endpoint-border-radius);color: var(--yt-formatted-string-contenteditable-endpoint-color,var(--yt-endpoint-color,var(--yt-spec-call-to-action)));cursor: var(--yt-formatted-string-contenteditable-endpoint-cursor);max-width: var(--yt-formatted-string-contenteditable-endpoint-max-width);overflow: var(--yt-formatted-string-contenteditable-endpoint-overflow);pointer-events: var(--yt-formatted-string-contenteditable-endpoint-pointer-events);text-overflow: var(--yt-formatted-string-contenteditable-endpoint-text-overflow);vertical-align: var(--yt-formatted-string-contenteditable-endpoint-vertical-align);white-space: var(--yt-formatted-string-contenteditable-endpoint-white-space);} :host([split-lines]) {white-space: pre-wrap;} :host([ellipsis-truncate].complex-string) {white-space: pre;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([dir=auto][ellipsis-truncate].complex-string) {display: inline-block;} :host([dir=auto][ellipsis-truncate].complex-string)>*:not(style) {display: inline;} :host([ellipsis-truncate]) {display: block;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;} :host([ellipsis-truncate]) a {display: block;margin-right: -0.1em;padding-right: 0.1em;white-space: pre;} :host([ellipsis-truncate]) a:last-child,:host([ellipsis-truncate]) span:last-child {overflow: hidden;text-overflow: ellipsis;} :host(::-webkit-scrollbar-thumb) {height: 56px;background: var(--yt-spec-icon-disabled);} :host(::-webkit-scrollbar) {width: var(--ytd-scrollbar-width);} #contenteditable-root .emoji {height: var(--yt-formatted-string-contenteditable-emoji-height);margin: var(--yt-formatted-string-contenteditable-emoji-margin);padding-right: var(--yt-formatted-string-contenteditable-emoji-padding-right);vertical-align: var(--yt-formatted-string-contenteditable-emoji-vertical-align);width: var(--yt-formatted-string-contenteditable-emoji-width);} #contenteditable-root .small-emoji {height: var(--yt-formatted-string-contenteditable-small-emoji-height);margin: var(--yt-formatted-string-contenteditable-small-emoji-margin);padding-right: var(--yt-formatted-string-contenteditable-small-emoji-padding-right);vertical-align: var(--yt-formatted-string-contenteditable-small-emoji-vertical-align);width: var(--yt-formatted-string-contenteditable-small-emoji-width);} #contenteditable-root {@apply --contenteditable-root-style;} #contenteditable-root[aria-label]:empty:before {color: var(--contenteditable-root-style-placeholder-with-aria-color);content: var(--contenteditable-root-style-placeholder-with-aria-content);cursor: var(--contenteditable-root-style-placeholder-with-aria-cursor);} /*# sourceMappingURL=yt-formatted-string.css.map*/</style>";
HGa=d}d=HGa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return IGa=a},
properties:{text:{type:Object,observer:"textChanged_"},noEndpoints:Boolean,noStyles:Boolean,splitLines:{type:Boolean,reflectToAttribute:!0},forceDefaultStyle:{type:Boolean,reflectToAttribute:!0},ellipsisTruncate:{type:Boolean,reflectToAttribute:!0,observer:"ellipsisTruncateChanged_"},ariaLabel:{type:String,reflectToAttribute:!0,computed:"computeAriaLabel_(text.accessibility.accessibilityData.label)"},hasLinkOnly_:{type:String,reflectToAttribute:!0,computed:"computeHasLinkOnly_(text.runs)"},emojiSize:{type:Number,
value:_.x("render_unicode_emojis_as_small_images")?16:24},target:{type:String},enableContentEditable:{type:Boolean,observer:"enableContentEditableChanged_"},overrideAriaLabel:{type:String,observer:"overrideAriaLabelChanged_"},respectHtmlDir:Boolean,stringRunExtensions:{type:Array,value:function(){return[]}},
useMixedDirectionFormattedStrings:{type:Boolean,computed:"computeUseMixedDirectionFormattedStrings_(plaintextOnly)",value:function(){return _.x("enable_mixed_direction_formatted_strings")}}},
behaviors:[GGa.YtPlaintextBehavior,_.iu.YtComponentBehavior,_.U.YtRendererBehavior],created:function(){this.hasSetTitle_=this.hasChange_=!1;this.useIOObserverForVisibilityLogging_=_.x("kevlar_use_vimio_behavior")&&"WEB"===_.w("INNERTUBE_CLIENT_NAME")},
ready:function(){"rtl"==_.w("HTML_DIR")&&(this.useMixedDirectionFormattedStrings?this.setAttribute("dir","rtl"):this.respectHtmlDir||this.setAttribute("dir","auto"));this.enableContentEditableChanged_()},
attached:function(){this.hasChange_&&this.textChanged_(this.text)},
detached:function(){this.unobserveIOObservers_()},
clearContents_:function(){for(var a=this.getRoot(),b=a.lastChild;b&&"STYLE"!=b.tagName;){try{a.removeChild(b)}catch(c){break}"yt-endpoint"==b.is&&(_.$t(b),b.textContent="");b=a.lastChild}},
unobserveIOObservers_:function(){if(this.useIOObserverForVisibilityLogging_&&this.visibilityObserver&&this.ytFormattedStringObserverHandlerKeys_){for(var a=_.k(this.ytFormattedStringObserverHandlerKeys_),b=a.next();!b.done;b=a.next())this.visibilityObserver.unobserveByKey(b.value);this.ytFormattedStringObserverHandlerKeys_.length=0}},
textChanged_:function(a){if(void 0===this.isAttached)this.hasChange_=!0;else{this.hasChange_=!1;this.unobserveIOObservers_();for(var b=this.firstChild;b&&"FONT"==b.nodeName;){var c=b;b=b.nextSibling;this.removeChild(c)}c=this.getRoot();if(a&&(a.runs||a.simpleText))if(this.ellipsisTruncateChanged_(this.ellipsisTruncate),b=a.simpleText,!b&&1==a.runs.length&&this.isSimpleString_(a.runs[0])&&(b=a.runs[0].text),void 0!=b&&_.x("disable_simple_mixed_direction_formatted_strings")&&!this.respectHtmlDir&&this.useMixedDirectionFormattedStrings&&
"rtl"==_.w("HTML_DIR")&&this.setAttribute("dir","auto"),void 0===b||!_.x("disable_simple_mixed_direction_formatted_strings")&&this.useMixedDirectionFormattedStrings)a=a.runs,void 0!==b&&(a=[{text:b}]),this.ellipsisTruncate?this.classList.add("complex-string"):this.classList.remove("complex-string"),a&&this.updateText_(a);else{if(b!=c.textContent)try{c.textContent=b}catch(d){}}else this.clearContents_()}},
ellipsisTruncateChanged_:function(a){!a||this.hasAttribute("title")&&!this.hasSetTitle_?this.hasSetTitle_&&(this.removeAttribute("title"),this.hasSetTitle_=!1):(this.setAttribute("title",this.getRawText()),this.hasSetTitle_=!0)},
computeAriaLabel_:function(a){return a},
setNodeStyle_:function(a,b){!this.useMixedDirectionFormattedStrings||this.respectHtmlDir||_.x("disable_child_node_auto_formatted_strings")&&"auto"==this.getAttribute("dir")?b.removeAttribute("dir"):b.setAttribute("dir","auto");b.classList.remove("bold","deemphasize","italic","strikethrough");b.style.color="";this.noStyles||(a.bold&&b.classList.add("bold"),a.deemphasize&&b.classList.add("deemphasize"),a.italics&&b.classList.add("italic"),a.strikethrough&&b.classList.add("strikethrough"),a.textColor&&
(b.style.color=_.ru(a.textColor)))},
setUpVisibilityLogging_:function(a,b){var c=this;this.setNodeTrackingParams_(a,b);b.data.trackingParams&&this.useIOObserverForVisibilityLogging_&&this.visibilityObserver&&(a=this.visibilityObserver.observe(b,function(d){var e=c.getVisibilityLogger();e&&_.Ot(e,d)},this.visibilityOptionVisible_),b=this.visibilityObserver.observe(b,function(d){var e=c.getVisibilityLogger();
e&&_.Pt(e,d)},this.visibilityOptionHidden_),this.ytFormattedStringObserverHandlerKeys_||(this.ytFormattedStringObserverHandlerKeys_=[]),this.ytFormattedStringObserverHandlerKeys_.push(a),this.ytFormattedStringObserverHandlerKeys_.push(b))},
setNodeTrackingParams_:function(a,b){b.data||(b.data={});if((a=a.loggingDirectives?a.loggingDirectives.trackingParams:null)||b.data.trackingParams)b.data.trackingParams=a},
computeHasLinkOnly_:function(a){return!(!a||1!=a.length||this.noEndpoints||!a[0].navigationEndpoint)},
computeUseMixedDirectionFormattedStrings_:function(){return this.plaintextOnly?!1:_.x("enable_mixed_direction_formatted_strings")},
getRoot:function(){var a=_.H(this.root);this.enableContentEditable&&(a=_.H(a.querySelector("[contenteditable]")));return a},
fixContenteditableScope:function(){var a=function(b){b&&(1==b.nodeType&&b.classList&&(b.classList.add("style-scope"),b.classList.add("yt-formatted-string")),b.childNodes&&b.childNodes.forEach(function(c){a(c)}))};
a(this.getRoot())},
updateText_:function(a){for(var b=a.length,c=this.getRoot(),d=c.firstChild;d&&"STYLE"==d.nodeName;)d=d.nextSibling;for(var e=0;e<b&&d;){var h=a[e],l=_.x("remove_cr_char")&&h.text?h.text.replace("\r",""):h.text;if(this.isSimpleString_(h)&&!this.useMixedDirectionFormattedStrings)if("#text"==d.nodeName){d.textContent!=l&&(d.textContent=l);e++;d=d.nextSibling;continue}else break;if(h.emoji)break;else if(!this.noEndpoints&&h.navigationEndpoint){if("A"!=d.nodeName)break;this.setDataOnAnchor_(d,h.navigationEndpoint)}else if("SPAN"!=
d.nodeName)break;this.setNodeStyle_(h,d);this.setUpVisibilityLogging_(h,d);d.textContent!=l&&(d.textContent=l);e++;d=d.nextSibling}if(d)for(h=c.lastChild,d=e?d.previousSibling:null;h&&h!=d;){try{c.removeChild(h)}catch(m){}"yt-endpoint"==h.is&&(_.$t(h),h.textContent="");h=c.lastChild}e!=b&&this.addTextNodes_(a,e)},
addTextNodes_:function(a,b){for(var c=document.createDocumentFragment(),d=a.length,e={};b<d;e={$jscomp$loop$prop$run$3324:e.$jscomp$loop$prop$run$3324},b++){e.$jscomp$loop$prop$run$3324=a[b];var h=_.x("remove_cr_char")&&e.$jscomp$loop$prop$run$3324.text?e.$jscomp$loop$prop$run$3324.text.replace("\r",""):e.$jscomp$loop$prop$run$3324.text,l=void 0;if(l=this.stringRunExtensions.find(function(m){return function(p){return m.$jscomp$loop$prop$run$3324[p]}}(e))){if(h=this.querySelector("template."+l))h=
new (_.Oc(h))({data:e.$jscomp$loop$prop$run$3324[l]}),c.appendChild(h.root)}else this.isSimpleString_(e.$jscomp$loop$prop$run$3324)&&!this.useMixedDirectionFormattedStrings?c.appendChild(document.createTextNode(h)):e.$jscomp$loop$prop$run$3324.emoji?e.$jscomp$loop$prop$run$3324.emoji.image&&(l=document.createElement("img"),_.x(e.$jscomp$loop$prop$run$3324.emoji.isCustomEmoji?"render_custom_emojis_as_small_images":"render_unicode_emojis_as_small_images")&&l.classList.add("small-emoji"),l.classList.add("emoji"),
e.$jscomp$loop$prop$run$3324.emoji.isCustomEmoji&&(l.dataset.emojiId=e.$jscomp$loop$prop$run$3324.emoji.emojiId),l.src=_.nu(e.$jscomp$loop$prop$run$3324.emoji.image.thumbnails,this.emojiSize),(h=this.get("image.accessibility.accessibilityData.label",e.$jscomp$loop$prop$run$3324.emoji))?l.alt=h:e.$jscomp$loop$prop$run$3324.emoji.shortcuts&&0<e.$jscomp$loop$prop$run$3324.emoji.shortcuts.length?l.alt=e.$jscomp$loop$prop$run$3324.emoji.shortcuts[0]:e.$jscomp$loop$prop$run$3324.emoji.emojiId&&(l.alt=e.$jscomp$loop$prop$run$3324.emoji.emojiId),
c.appendChild(l)):(!this.noEndpoints&&e.$jscomp$loop$prop$run$3324.navigationEndpoint?(l=document.createElement("a"),l.classList.add("yt-simple-endpoint"),l.setAttribute("spellcheck","false"),this.setDataOnAnchor_(l,e.$jscomp$loop$prop$run$3324.navigationEndpoint)):l=document.createElement("span"),this.setNodeStyle_(e.$jscomp$loop$prop$run$3324,l),this.setUpVisibilityLogging_(e.$jscomp$loop$prop$run$3324,l),l.appendChild(document.createTextNode(h)),c.appendChild(l))}this.getRoot().appendChild(c)},
isSimpleString_:function(a){return(this.noEndpoints||!a.navigationEndpoint)&&!a.emoji&&(this.noStyles||!(a.bold||a.deemphasize||a.italics||a.strikethrough||a.textColor))&&!a.loggingDirectives},
getRawText:function(){return _.qi(this.text)},
getFirstRunText:function(){if(this.text&&this.text.runs[0])return this.text.runs[0].text},
setFirstRunText:function(a){this.text.runs[0]&&(this.text.runs[0].text=a,this.textChanged_(this.text))},
setDataOnAnchor_:function(a,b){var c=this;!_.x("yf_formatted_string_service_endpoint_killswitch")&&this.isServiceEndpoint_(b)||this.isSignalServiceEndpoint_(b)?(a.onclick=this.serviceEndpointHandler_(b),a.href="#"):_.jFa({text:this.text,command:b},function(){_.EGa(a,b,c.target)})},
isServiceEndpoint_:function(a){return null!=(a.commandMetadata&&a.commandMetadata.webCommandMetadata&&a.commandMetadata.webCommandMetadata.sendPost)},
isSignalServiceEndpoint_:function(a){return!!a.signalServiceEndpoint},
serviceEndpointHandler_:function(a){var b=this;return function(c){_.Kg(b,[a]);c.preventDefault()}},
overrideAriaLabelChanged_:function(){var a=this.getRoot();this.enableContentEditable&&a&&a.setAttribute("aria-label",this.overrideAriaLabel)},
enableContentEditableChanged_:function(){var a=this;if(this.enableContentEditable){this.removeAttribute("dir");var b=_.H(this.root);if(!b.lastChild||b.lastChild&&"contenteditable-root"!=b.lastChild.id){var c=document.createElement("div");c.id="contenteditable-root";c.setAttribute("contenteditable",!0);c.setAttribute("dir","auto");c.onfocus=function(){a.dispatchEvent(new FocusEvent("focus",{bubbles:!1}))};
b.appendChild(c);this.overrideAriaLabel&&c.setAttribute("aria-label",this.overrideAriaLabel)}}else b=_.H(this.root),b.firstChild&&"contenteditable-root"==b.firstChild.id&&b.removeChild(b.firstChild)},
getNodesForVisibilityLogging_:function(){return _.St(this.getRoot().childNodes,function(a){return a.data&&a.data.trackingParams})},
getNodes:function(){return this.getNodesForVisibilityLogging_()},
onShow:function(){if(!this.useIOObserverForVisibilityLogging_){var a=this.getVisibilityLogger();a&&this.getNodesForVisibilityLogging_().forEach(function(b){return _.Ot(a,b)})}},
onHide:function(){if(!this.useIOObserverForVisibilityLogging_){var a=this.getVisibilityLogger();a&&this.getNodesForVisibilityLogging_().forEach(function(b){return _.Pt(a,b)})}}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syn");

/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var wGa=function(a){a=(a||"").split(":");1==a.length&&a.unshift("yt-icons");a[1]=a[1].toLowerCase();return a},ku=function(a,b,c,d){c=void 0===c?!1:c;
d=void 0===d?!1:d;var e,h,l;return _.y(function(m){if(1==m.nextAddress)return _.B(m,_.rGa,2);if(d)return m.return(_.WFa.has(a));e=c?_.SFa:_.TFa;h=c?_.UFa:_.VFa;return b?(l=a.includes("-filled")?a:a.concat("-filled"),m.return(e.has(l))):m.return(h.has(a))})};
var xGa;
var yGa;
_.Ng({is:"yt-icon",_template:function(){if(void 0!==yGa)return yGa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-icon--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.core.yt_icon.yt.icon.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xGa){var d=document.createElement("template");
d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.core.yt_icon.yt.icon.css.js--\x3e<style>:host(yt-icon),.yt-icon-container {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: relative;vertical-align: middle;fill: var(--iron-icon-fill-color,currentcolor);stroke: var(--iron-icon-stroke-color,none);width: var(--iron-icon-width,24px);height: var(--iron-icon-height,24px);@apply --iron-icon;} :host(.external-container) {display: none!important;} /*# sourceMappingURL=yt-icon.css.map*/</style>";
xGa=d}d=xGa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return yGa=a},
properties:{icon:String,active:{type:Boolean,value:!1},defaultToFilled:{type:Boolean,value:!1},size:{type:Number,value:24},targetContainer:{type:String,value:""}},observers:["iconChanged_(icon, active, defaultToFilled, size, targetContainer, isAttached)"],meta_:new _.au({type:"iconset"}),created:function(){this.iconName_="";this.iconsetName_="yt-icons";this.iconset_=null;this.missingIconSet_=!1},
iconChanged_:function(a,b,c,d,e,h){var l=this;if((a||this.iconName_)&&h){if(a){!_.x("default_to_innertube_icon")||0<a.indexOf(":")||(a=_.Ft(a));h=wGa(a);h.length&&(this.iconsetName_=h[0],this.iconName_=h[1]);var m=this.defaultToNewIconset_(a,b,c,d);if(_.x("kevlar_system_icons")||_.x("music_web_enable_new_icon_set")||_.x("studio_system_icons"))var p=this.switchSystemIconsets_(a,b,c,d)}else this.iconName_=this.iconsetName_="";e?this.classList.add("external-container"):this.classList.remove("external-container");
p?p.then(function(){return l.updateIcon_(e)}):m?m.then(function(){return l.updateIcon_(e)}):this.updateIcon_(e)}},
switchSystemIconsets_:function(a,b,c,d){var e=this,h,l,m,p,r,v,z;return _.y(function(A){switch(A.nextAddress){case 1:if(!a||"yt-icons"!==e.iconsetName_&&"yt-sys-icons"!==e.iconsetName_){A.jumpTo(0);break}h=wGa(a);var D=l=h[1],E=D=D.toLowerCase();_.sGa.has(D)&&(E=_.sGa.get(D));l=E;return _.B(A,ku(l,!0),3);case 3:return m=A.yieldResult,_.B(A,ku(l,!1),4);case 4:if((p=A.yieldResult)||b&&m)e.iconsetName_="yt-sys-icons";e.iconName_=e.getIconName_(l,b,c,p,m);if(24===d){A.jumpTo(0);break}r="yt-sys-icons"+
d+":"+e.iconName_;return _.B(A,ku(r,!1,!0),6);case 6:return v=A.yieldResult,_.B(A,ku(r,!0,!0),7);case 7:z=A.yieldResult;e.iconName_=e.getIconName_(l,b,c,v,z);if(!b&&v||b&&z)e.iconsetName_="yt-sys-icons"+d;_.bf(A)}})},
getIconName_:function(a,b,c,d,e){a.includes("-filled")&&(a=a.replace("-filled",""));return b&&e||c?a+"-filled":a},
defaultToNewIconset_:function(a,b,c,d){var e=this,h,l;return _.y(function(m){if(1==m.nextAddress)return"yt-icons"!==e.iconsetName_?m.jumpTo(0):_.B(m,ku(e.iconName_,!1,!1,!0),3);if(4!=m.nextAddress)return h=m.yieldResult,_.B(m,ku(e.iconName_,!1),4);l=m.yieldResult;if(h||!l)return m.jumpTo(0);e.iconsetName_="yt-sys-icons";return _.B(m,e.switchSystemIconsets_(a,b,c,d),0)})},
onIconsetAdded_:function(){this.updateIcon_(this.targetContainer)},
updateIcon_:function(a){var b=this;if(a){if(!this.domHost||!this.domHost.$)return;b=this.domHost.$[a]||this.domHost.$$("#"+a);if(!b){_.Qf(new _.ge("yt-icon container missing",this.domHost.is,a));return}}if(""==this.iconName_)this.iconset_&&this.iconset_.removeIcon(b);else if(this.iconsetName_&&this.meta_)if(this.iconset_=this.meta_.byKey(this.iconsetName_)){try{this.iconset_.applyIcon(b,this.iconName_)}catch(c){_.Sf(c,this.iconName_,a,b),a=!1,window.location.href.includes("JpymaW6Lh2w")?a=!0:b._svgIcon&&
(b=(b=b._svgIcon.parentNode)?b.tagName:"unknown",_.Sf(c,b),"YT-ICON"===b&&"NotFoundError"===c.name&&(a=!0)),a?_.Rf(c):_.Qf(c)}this.missingIconSet_&&(this.missingIconSet_=!1,this.unlisten(window,"iron-iconset-added","onIconsetAdded_"))}else this.missingIconSet_=!0,this.listen(window,"iron-iconset-added","onIconsetAdded_")}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syt");


_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1d");

_.sv=function(){var a=_.Eg().resolve(_.Cg(_.Co));return a?(a=a.getCurrentPage())?_.rv(a):null:null};
_.rv=function(a){return a&&a.getPlayer?a.getPlayer():null};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1a");

var cIa,dv;_.av=function(a,b){if(b){var c={};bIa.forEach(function(d){d=cIa(b,d,"--yt-lightsource-");Object.assign(c,d)});
dIa.forEach(function(d){d=cIa(b,d,"--yt-basic-");Object.assign(c,d)});
a.updateStyles(c)}};
cIa=function(a,b,c){var d={};d[c+_.Zc(b)]=a&&a[b]?_.bv(a[b]):"";return d};
_.cv=function(a,b,c){return Array.prototype.every.call(a,b,c)};
_.bv=function(a){a=[(a&16711680)>>>16,(a&65280)>>>8,a&255,(a&4278190080)>>>24];var b=_.cv(a,function(c){return c==(c&255)});
a[3]=(a[3]/255).toFixed(3);if(!b)throw Error("ld`"+a.join(","));return"rgba("+a.join(",")+")"};
dv={};
_.eIa=(dv["subs-guide-item"]={bodyText:"SUBS_GUIDE_ITEM_EDU_TEXT",position:"OPEN_POPUP_POSITION_RIGHT"},dv["subs-filter-by-channel"]={bodyText:"SUBS_FILTER_EDU_TEXT",position:"OPEN_POPUP_POSITION_RIGHT",setKey:"subs-filter-by-channel-set"},dv["subs-filtered-by-channel"]={bodyText:"SUBS_FILTER_EDU_CHANNEL_TEXT",position:"OPEN_POPUP_POSITION_RIGHT",setKey:"subs-filter-by-channel-set"},dv["membership-join"]={titleText:"JOIN_MEMBERSHIP_EDU_TITLE",bodyText:"JOIN_MEMBERSHIP_EDU_TEXT",position:"OPEN_POPUP_POSITION_LEFT"},dv["membership-freebie-join"]=
{bodyText:"FREEBIE_JOIN_MEMBERSHIP_EDU_TEXT",position:"OPEN_POPUP_POSITION_LEFT"},dv["membership-manage"]={bodyText:"MANAGE_MEMBERSHIP_EDU_TEXT",position:"OPEN_POPUP_POSITION_LEFT"},dv["library-guide-item"]={titleText:"LIBRARY_GUIDE_ITEM_EDU_TITLE",bodyText:"LIBRARY_GUIDE_ITEM_EDU_TEXT",position:"OPEN_POPUP_POSITION_RIGHT"},dv);_.ev=new _.Wd("yt-edu");_.fv=function(){this.JSC$36245_eduDisplayedThisLoad_={}};
_.gv=function(a){var b=_.fv.getInstance();var c=_.hd("kevlar_tooltip_impression_cap");b=c&&parseInt(_.ev.get(a+"-impression")||0,10)>=c||_.ev.get(a+"-dismissed")?!1:(c=_.eIa[a])&&!b.JSC$36245_eduDisplayedThisLoad_[c.setKey||a]&&(c.titleText&&_.Bg(c.titleText)||c.bodyText&&_.Bg(c.bodyText))?!0:!1;if(!b)return null;b=_.eIa[a];if(!b)return null;c=b.bodyText?_.Bg(b.bodyText):void 0;var d=b.titleText?_.Bg(b.titleText):void 0;return[{openPopupAction:{popupType:"HINT",position:b.position,popup:{bubbleHintRenderer:{text:d?
_.Mu(d):void 0,detailsText:c?_.Mu(c):void 0,style:"BUBBLE_HINT_STYLE_BLUE_TOOLTIP",confirmButton:{buttonRenderer:{style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:_.Mu(_.Bg("EDU_GOT_IT")),serviceEndpoint:{signalServiceEndpoint:{signal:"CLIENT_SIGNAL",actions:[{eduDismissAction:{key:a}}]}}}}}}}},{eduImpressionAction:{key:a}}]};
_.Yi(_.fv);
var fIa,gIa;fIa=function(){var a=this;this.JSC$36251_keyboardInUse=!1;document.addEventListener("keydown",function(){a.onKeydown()});
document.addEventListener("mousedown",function(){a.JSC$36251_keyboardInUse=!1})};
_.hIa=function(){gIa||(gIa=new fIa);return gIa.JSC$36251_keyboardInUse};
fIa.prototype.onKeydown=function(){this.JSC$36251_keyboardInUse=!0};
var iIa;
var jIa;
var kIa;
var lIa;
var hv=function(){var a=_.K.apply(this,arguments)||this;a.focused=!1;a.disabled=!1;return a};
_.q(hv,_.K);hv.prototype.triggerDown=function(){if(!this.disabled){this.toggleClass("down",!0);var a;null==(a=this.currentAnimation)||a.cancel()}};
hv.prototype.triggerUp=function(){if(!this.disabled){this.toggleClass("down",!1);var a=this.strokeElement;a=new GroupEffect([new KeyframeEffect(this.fillElement,[{offset:0,opacity:.1,easing:"cubic-bezier(0.05, 0.00, 0.00, 1.00)"},{offset:1,opacity:0}],{duration:400}),new KeyframeEffect(a,[{offset:0,opacity:.2,easing:"cubic-bezier(0.20, 0.00, 0.60, 1.00)"},{offset:1,opacity:0}],{duration:400})]);this.currentAnimation=new Animation(a,document.timeline);var b;null==(b=this.currentAnimation)||b.play()}};
_.t.Object.defineProperties(hv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lIa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-interaction--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_interaction.yt.interaction.css.js--\x3e<div class="stroke"></div><div class="fill"></div>';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
var b=a.content,c=b.insertBefore;if(void 0===kIa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_interaction.yt.interaction.css.js--\x3e<style>:host {pointer-events: none;display: inline-block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} .fill {will-change: opacity;background-color: var(--yt-spec-touch-response);opacity: 0;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host(.down) .fill {opacity: 0.1;} .stroke {will-change: opacity;border: 1px solid var(--yt-spec-touch-response);opacity: 0;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host(.circular) .fill,:host(.circular) .stroke {border-radius: 50%;} :host(.extended) {margin: -4px;} :host(.extended) .fill,:host(.extended) .stroke {border-radius: 4px;} :host([focused]) .fill {opacity: 0.1;} /*# sourceMappingURL=yt-interaction.css.map*/</style>";
kIa=d}d=kIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lIa=a}a=lIa;return a}}});
_.iv=hv;_.S([_.Z(".stroke"),_.T("design:type",HTMLElement)],_.iv.prototype,"strokeElement",void 0);_.S([_.Z(".fill"),_.T("design:type",HTMLElement)],_.iv.prototype,"fillElement",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.iv.prototype,"focused",void 0);_.S([_.N(),_.T("design:type",Object)],_.iv.prototype,"disabled",void 0);_.iv=_.S([_.lu({is:"yt-interaction",noInjection:!0})],_.iv);
_.Ng({is:"yt-icon-button",_template:function(){if(void 0!==jIa)return jIa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-icon-button--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_icon_button.yt.icon.button.css.js--\x3e<button id="button" aria-label$="[[label]]" aria-pressed$="[[computeButtonAriaPressed_(pressed)]]" disabled$="[[disabled]]" tabindex$="[[computeTabIndex_(untabbable)]]"><slot></slot></button><yt-interaction id="interaction" class="circular" focused="[[keyboardFocused]]"></yt-interaction>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iIa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_icon_button.yt.icon.button.css.js--\x3e<style>:host {display: inline-block;position: relative;width: 24px;height: 24px;box-sizing: border-box;font-size: 0;} button {vertical-align: middle;color: inherit;outline: none;background: none;margin: 0;border: none;padding: 0;width: 100%;height: 100%;line-height: 0;cursor: pointer;-webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent;} button ::slotted(yt-icon) {width: var(--yt-icon-button-icon-width,100%);height: var(--yt-icon-button-icon-height,100%);} button[disabled] {pointer-events: none;cursor: auto;} /*# sourceMappingURL=yt-icon-button.css.map*/</style>";
iIa=d}d=iIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return jIa=a},
properties:{label:String,disabled:{type:Boolean,reflectToAttribute:!0},pressed:{type:Boolean,observer:"onPressedChanged_"},toggleable:Boolean,untabbable:Boolean,keyboardFocused:Boolean},listeners:{down:"rippleDown_",up:"rippleUp_"},ready:function(){var a=this,b=this.$.button;b.addEventListener("focus",function(){a.keyboardFocused=_.hIa()});
b.addEventListener("blur",function(){a.keyboardFocused=!1;a.rippleUp_()})},
computeTabIndex_:function(a){return a?-1:0},
computeButtonAriaPressed_:function(a){if(this.toggleable)return a?"true":"false"},
rippleDown_:function(){this.$.interaction.triggerDown()},
rippleUp_:function(){this.$.interaction.triggerUp()},
onPressedChanged_:function(){var a=this.$.button.querySelector("yt-icon")||this.$.button.children[0];a&&(a.active=this.pressed)}});
_.jv={YtActionSenderBehavior:{_noAccessors:!0,sendAction:function(a,b){return _.C(this,a,b)},
sendOptionalAction:function(a,b){return _.Jg(this,a,b)},
sendSingletonAction:function(a,b){return _.C(this,a,b)[0]},
sendInnerTubeActions:function(a,b,c){_.Lg(this,a,b,c)},
sendServiceRequestAction:function(a){return _.Kg(this,a)}}};
/*

 '--yt-lightsource-section1-color',
 '--yt-lightsource-section2-color',
 '--yt-lightsource-section3-color',
 '--yt-lightsource-navBarColor',
 '--yt-lightsource-primary-title-color',
 '--yt-lightsource-secondary-title-color',
 '--yt-lightsource-body-text-color',
 '--yt-lightsource-iron-activated-color',
 '--yt-lightsource-iron-inactive-color',
 '--yt-basic-background-color',
 '--yt-basic-border-color',
 '--yt-basic-foreground-title-color',
 '--yt-basic-foreground-body-color',
 '--yt-basic-foreground-activated-color'
*/
var bIa="section1Color section2Color section3Color navBarColor primaryTitleColor secondaryTitleColor bodyTextColor ironActivatedColor ironInactiveColor".split(" "),dIa=["backgroundColor","borderColor","foregroundTitleColor","foregroundBodyColor","foregroundActivatedColor"];
_.kv={};_.kv.YtRenderButtonBehavior=[_.U.YtRendererBehavior,_.jv.YtActionSenderBehavior,_.Tu.YtEndpointBehavior,{properties:{alignByText:{type:Boolean,value:!1,reflectToAttribute:!0},iconAlignByText:{type:Boolean,value:!1,reflectToAttribute:!0},disableTextTransform:{type:Boolean,reflectToAttribute:!0},useKeyboardFocused:{type:Boolean,value:function(){return!!_.Eg().resolve(_.Cg(_.Bo))&&_.x("kevlar_keyboard_button_focus")},
reflectToAttribute:!0},keyboardFocused:{type:Boolean,value:!1,reflectToAttribute:!0},startJustified:{type:Boolean,value:!1,reflectToAttribute:!0},forceIconButton:{type:Boolean,value:!1},forceIconOnly:{type:Boolean,value:!1},styleActionButton:{type:Boolean,reflectToAttribute:!0},verticallyAligned:{type:Boolean,value:!1,reflectToAttribute:!0},noink:{type:Boolean,value:!1},showTooltips:{type:Boolean,value:!1},buttonRaised:{type:Boolean,value:!1},disabled:{type:Boolean,observer:"disabledChanged_",reflectToAttribute:!0},
sendServiceEndpointWhenDisabled:{type:Boolean,value:!1},sendCommandWhenDisabled:{type:Boolean,value:!1},ellipsisTruncate:Boolean,buttonTooltipPosition:{type:String,value:"bottom"},buttonSize:{type:String,reflectToAttribute:!0},endpoint:{type:Object,readOnly:!0},serviceEndpoint:{type:Object,readOnly:!0},command:{type:Object,readOnly:!0},buttonIcon:{type:String,readOnly:!0,observer:"buttonIconChanged_"},buttonText:{type:Object,readOnly:!0},buttonAccessibility:{type:Object,readOnly:!0},buttonTooltip:{type:String,
readOnly:!0},buttonClass:{type:String,readOnly:!0,observer:"buttonClassChanged_"},iconPositionType:{type:String,readOnly:!0,observer:"iconPositionTypeChanged_"},iconSize:{type:Number},stampType_:{type:String,computed:"computeStampType_(forceIconButton, buttonText, buttonIcon, endpoint)",observer:"stampTypeChanged_"},componentReady_:Boolean},listeners:{focusin:"onFocus_",focusout:"onBlur_",mouseenter:"addTooltips_",tap:"onYtButtonTap_"},observers:["isDisabledChanged_(data.isDisabled)","observeBasicPalette_(data.colorData.basicColorPaletteData)",
"dataChanged_(data, componentReady_)","isSelectedChanged_(data)"],created:function(){this.elements_={};this.hasChange_=!1},
attached:function(){this.hasChange_&&this.stampTypeChanged_(this.stampType_);this.keyboardFocused=!1},
get container(){return this.root},onYtButtonTapHandler:function(){},
ytButtonServiceEndpointHandler:function(){},
updateRenderedElements:function(){if(this.elements_.endpoint){this.elements_.endpoint.data=this.endpoint;var a=this.computeHref_(this.endpoint,!0);a?this.elements_.endpoint.setAttribute("href",a):this.elements_.endpoint.removeAttribute("href")}if(this.buttonClass){a=this.buttonClass.split(" ");a=_.k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.toggleClass(b,!0),this.toggleClass(b,!0,this.elements_.button),this.toggleClass(b,!0,this.elements_.text)}this.elements_.icon&&(this.elements_.icon.icon=
this.buttonIcon,this.setIconActive_(this.elements_.icon),this.iconSize&&(this.elements_.icon.size=this.iconSize));this.elements_.text&&(this.elements_.text.text=this.buttonText);this.elements_.button&&(a=null,this.buttonAccessibility&&(a=this.buttonAccessibility.label),"yt-icon-button"==this.elements_.button.is?this.elements_.button.label=a:a?this.elements_.button.setAttribute("aria-label",a):this.elements_.button.removeAttribute("aria-label"))},
dataChanged_:function(){this.updateRenderedElements()},
onFocus_:function(){this.addTooltips_();if(this.useKeyboardFocused){var a=_.Eg().resolve(_.Cg(_.Bo));a&&(this.keyboardFocused=a.isKeyBoardInUse())}},
onBlur_:function(){this.keyboardFocused=!1},
addTooltips_:function(){this.elements_.endpoint&&this.showTooltips&&this.buttonTooltip&&(this.elements_.tooltip||(this.elements_.tooltip=this.reuseEnabled_()?_.Hu("tp-yt-paper-tooltip"):document.createElement("tp-yt-paper-tooltip"),this.elements_.tooltip.position=this.buttonTooltipPosition,this.elements_.tooltip.offset=8,this.elements_.tooltip.fitToVisibleBounds=!0,_.H(this.elements_.endpoint).appendChild(this.elements_.tooltip)),_.H(this.elements_.tooltip).textContent=this.buttonTooltip)},
buttonClassChanged_:function(a,b){if(b)for(a=b.split(" "),a=_.k(a),b=a.next();!b.done;b=a.next())b=b.value,this.toggleClass(b,!1),this.toggleClass(b,!1,this.elements_.button),this.toggleClass(b,!1,this.elements_.text)},
buttonIconChanged_:function(a){this.elements_.icon?a?(this.elements_.icon.icon=a,this.setIconActive_(this.elements_.icon)):(this.elements_.button&&_.H(this.elements_.button).removeChild(this.elements_.icon),this.elements_.icon=null,this.toggleAttribute("is-paper-button-with-icon",!1)):a&&this.stampType_&&"paper_button"==this.stampType_&&this.addIconElementToPaperButton_()},
addIconElementToPaperButton_:function(){this.elements_.icon=this.getIcon_();this.setIconActive_(this.elements_.icon);this.elements_.button&&(this.iconPositionType&&"BUTTON_ICON_POSITION_TYPE_LEFT_OF_TEXT"!=this.iconPositionType?"BUTTON_ICON_POSITION_TYPE_RIGHT_OF_TEXT"==this.iconPositionType&&_.H(this.elements_.button).appendChild(this.elements_.icon):_.H(this.elements_.button).insertBefore(this.elements_.icon,this.elements_.text),this.toggleAttribute("is-paper-button-with-icon",!0))},
stampTypeChanged_:function(a){if(void 0===this.isAttached)this.hasChange_=!0;else if(this.hasChange_=!1,this.emptyContainer_(),this.elements_={},this.componentReady_=!1,a){var b=!1;this.elements_.endpoint=document.createElement("a");this.elements_.endpoint.classList.add("yt-simple-endpoint");this.elements_.endpoint.tabIndex=-1;switch(a){case "yt_icon_button_with_label":b=!0;this.toggleClass("force-icon-button",!0);this.elements_.button=this.getYtIconButton_();a=_.H(this.elements_.button).firstElementChild;
this.elements_.icon=a;this.setIconActive_(this.elements_.icon);this.elements_.text=this.getFormattedString_();this.elements_.text.id="text";this.elements_.text.ellipsisTruncate=this.ellipsisTruncate;_.H(this.elements_.endpoint).appendChild(this.elements_.button);_.H(this.elements_.endpoint).appendChild(this.elements_.text);break;case "paper_button":this.elements_.button=this.reuseEnabled_()?_.Hu("tp-yt-paper-button"):document.createElement("tp-yt-paper-button");this.elements_.text=this.getFormattedString_();
this.elements_.text.id="text";this.elements_.text.ellipsisTruncate=this.ellipsisTruncate;this.elements_.button.raised=this.buttonRaised;_.H(this.elements_.button).appendChild(this.elements_.text);_.H(this.elements_.endpoint).appendChild(this.elements_.button);this.buttonIcon&&this.addIconElementToPaperButton_();break;case "yt-icon-button":b=!0,this.elements_.button=this.getYtIconButton_(),a=_.H(this.elements_.button).firstElementChild,this.elements_.icon=a,this.setIconActive_(this.elements_.icon),
_.H(this.elements_.endpoint).appendChild(this.elements_.button)}this.toggleAttribute("is-icon-button",b);this.toggleAttribute("is-paper-button",!b);this.toggleAttribute("has-no-text",!this.elements_.text);this.elements_.button.id="button";this.elements_.button.noink=this.noink;this.elements_.button.disabled=this.disabled;_.H(this.container).appendChild(this.elements_.endpoint);this.componentReady_=!0}},
iconPositionTypeChanged_:function(){this.iconPositionType&&(this.elements_.button&&this.elements_.icon&&_.H(this.elements_.button).removeChild(this.elements_.icon),this.addIconElementToPaperButton_(),this.elements_.icon.icon=this.buttonIcon)},
isDisabledChanged_:function(a){if(void 0!=a||this.disabled)this.disabled=a,this.elements_.button&&(this.elements_.button.disabled=a)},
isSelectedChanged_:function(){this.setIconActive_(this.elements_.icon)},
setIconActive_:function(a){_.x("kevlar_system_icons")&&this.data&&void 0!==this.data.isSelected&&a&&(a.active=this.data.isSelected)},
observeBasicPalette_:function(a){_.av(this,a)},
disabledChanged_:function(a){this.data&&this.set("data.isDisabled",a)},
onYtButtonTap_:function(a){if(this.disabled)a.stopImmediatePropagation(),this.sendServiceEndpointWhenDisabled&&this.serviceEndpoint&&this.sendServiceRequestAction([this.serviceEndpoint]),this.sendCommandWhenDisabled&&this.data&&this.data.command&&this.resolveCommand(this.data.command,{},!0);else if(!(this.data&&this.data.command&&this.resolveCommand(this.data.command,{},!0))){if(this.serviceEndpoint)this.ytButtonServiceEndpointHandler(),_.x("handle_service_request_actions")||this.sendServiceRequestAction([this.serviceEndpoint]),
this.fire("yt-execute-service-endpoint",{serviceEndpoint:this.serviceEndpoint});else this.onYtButtonTapHandler();_.x("handle_service_request_actions")?(a=[],this.serviceEndpoint&&a.push(this.serviceEndpoint),this.data&&this.data.command&&this.data.command!=this.serviceEndpoint&&a.push(this.data.command),a.length&&this.sendInnerTubeActions(a,this)):this.data&&this.data.command&&(a=this.data.command,a.accountUnlinkCommand||a.accountLinkCommand||a.insertAdCommand||a.insertHighlightMarkerCommand||a.createLivestreamHighlightClipCommand||
a.getVideoUploadFeedbackCommand||a.musicDeletePrivatelyOwnedEntityCommand||a.ypcCancelRecurrenceEndpoint||a.getMultiSelectCommandEndpoint?this.sendServiceRequestAction([a]):this.sendInnerTubeActions([a],this))}},
computeStampType_:function(){return this.forceIconButton&&this.buttonText&&this.buttonIcon?"yt_icon_button_with_label":this.buttonText?"paper_button":this.buttonIcon?"yt-icon-button":null},
emptyContainer_:function(){for(var a=_.H(this.container);a.lastChild&&"STYLE"!=a.lastChild.tagName;)try{a.removeChild(a.lastChild)}catch(b){break}},
getYtIconButton_:function(){var a=this.reuseEnabled_()?_.Hu("yt-icon-button"):document.createElement("yt-icon-button"),b=_.H(a).firstElementChild;if(b&&"yt-icon"!=b.is){for(b=_.H(a);b.lastChild;)b.removeChild(b.lastChild);b=null}b||(b=this.getIcon_(),this.setIconActive_(b),_.H(a).appendChild(b));return a},
reuseEnabled_:function(){return _.x("enable_button_behavior_reuse")},
getIcon_:function(){return this.reuseEnabled_()?_.Hu("yt-icon"):document.createElement("yt-icon")},
getFormattedString_:function(){return this.reuseEnabled_()?_.Hu("yt-formatted-string"):document.createElement("yt-formatted-string")}}];
_.lv={};
_.lv.YtButtonBehavior=[_.kv.YtRenderButtonBehavior,_.jv.YtActionSenderBehavior,{properties:{data:Object},observers:["stateChanged_(data)","stateChanged_(data.text)","stateChanged_(data.isDisabled)","stateChanged_(data.style)","stateChanged_(forceIconOnly)"],stateChanged_:function(){var a=this.data;a&&(this._setEndpoint(this.computeEndpoint_(a)),this._setServiceEndpoint(this.computeServiceEndpoint_(a)),this._setCommand(this.computeCommand_(a)),this._setButtonIcon(this.computeButtonIcon_(a)),this._setButtonText(this.computeButtonText_(a,
this.forceIconOnly)),this._setButtonAccessibility(this.computeAccessibility_(a)),this._setButtonTooltip(this.computeTooltip_(a)),this._setButtonClass(this.computeButtonClass_(a)),this._setIconPositionType(this.computeIconPositionType_(a)),this.updateRenderedElements())},
setPressedState:function(a){var b;if(null==(b=this.elements_)?0:b.button)this.elements_.button.pressed=!!a},
computeIconPositionType_:function(a){return a&&a.iconPosition||null},
computeEndpoint_:function(a){var b=a&&a.navigationEndpoint,c=this.get("data.command.commandMetadata.webCommandMetadata.url"),d=this.get("data.command.commandMetadata.webCommandMetadata.sendPost");return b?b:a&&a.command&&a.command.modalEndpoint?a.command:c&&!d&&a.command?a.command:null},
computeServiceEndpoint_:function(a){var b=a&&a.serviceEndpoint,c=this.get("data.command.commandMetadata.webCommandMetadata.sendPost");return b?b:c&&a.command?a.command:null},
computeCommand_:function(a){return a&&a.command||null},
computeButtonIcon_:function(a){return a&&a.icon&&a.icon.iconType?_.Ft(a.icon.iconType):null},
computeButtonText_:function(a,b){return!b&&a&&a.text||null},
computeAccessibility_:function(a){return this.get("accessibilityData.accessibilityData",a)||a&&a.accessibility||(a&&a.text?{label:this.getSimpleString(a.text)}:null)},
computeTooltip_:function(a){return a?a.isDisabled&&a.disabledTooltip||a.tooltip||null:null},
computeButtonClass_:function(a){var b=a&&a.style?a.style.toLowerCase().replace(/_/g,"-")+" ":"";b+=a&&a.size?a.size.toLowerCase().replace(/_/g,"-")+" ":"";a.colorData&&a.colorData.basicColorPaletteData&&a.colorData.basicColorPaletteData.borderColor&&(b+="palette-with-border");return b.trim()}}];
var mIa,nIa=function(){if(void 0!==mIa)return mIa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html {--yt-button-margin: 0;--yt-button-padding: 10px 16px;--yt-button-padding-minus-border: 9px 15px;--yt-button-padding-minus-focus-outline: 8px 14px;--yt-button-padding-minus-focus-outline-width: 2px;--yt-button-with-icon-padding-minus-focus-outline: 4px 14px;--yt-button-border-radius: 2px;} /*# sourceMappingURL=yt-button-styles_custom_style.css.map*/</style>";
return mIa=a};
document.head.appendChild(nIa().content);
var oIa;
var pIa=document.head,qIa=pIa.appendChild,rIa;if(void 0===oIa){var mv=document.createElement("template");mv.innerHTML="";mv.content.insertBefore(nIa().content.cloneNode(!0),mv.content.firstChild);oIa=mv}rIa=oIa;qIa.call(pIa,rIa.content);
var sIa=function(){var a=_.vt.apply(this,arguments)||this;a._noAccessors=!0;return a};
_.q(sIa,_.vt);sIa.prototype.created=function(){this.ytOpenPopupBehavior.openPopupConfig=_.w("openPopupConfig")};
var nv=sIa;_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],nv.prototype,"ytOpenPopupBehavior",void 0);nv=_.S([_.wt()],nv);_.ov=[_.Su.YtOpenPopupBehavior,nv.prototype];
var tIa;
var uIa;
_.$u("itemSectionRenderer","buttonRenderer","ytd-button-renderer");_.$u("sharingRendererButtons","buttonRenderer","ytd-button-renderer");var pv=function(){var a=_.K.apply(this,arguments)||this;a.isPressed=!1;a.actionMap={"yt-update-button-action":"handleUpdateButtonAction"};return a};
_.q(pv,_.K);_.f=pv.prototype;_.f.created=function(){this.showTooltips=!0};
_.f.attached=function(){this.hasAttribute("button-renderer")||this.setAttribute("button-renderer","true")};
_.f.onHintIdChanged=function(){var a=this,b,c,d=null==(b=this.ytButtonBehavior.data)?void 0:null==(c=b.hint)?void 0:c.hintRenderer;if(d&&d.hintId){b=_.Jg(this,"yt-get-opened-popups-action");b=0<(b&&1===b.length?b[0]:[]).length;var e=null;"sponsor-pre-purchase"!==d.hintId||b?d.hintId.startsWith("sponsor-post-purchase")&&!b?e=_.gv("membership-manage"):d.hintId.startsWith("sponsorships-premium-freebie-pre-purchase")&&!b&&(e=_.gv("membership-freebie-join")):e=_.gv("membership-join");e&&_.xe.addLowPriorityJob(function(){for(var h=
_.k(e),l=h.next();!l.done;l=h.next())a.ytComponentBehavior.resolveCommand(l.value)})}};
_.f.onPressedStateChanged=function(){this.ytButtonBehavior.setPressedState(this.isPressed)};
_.f.onYtNavigate=function(a){var b=this.ytdOpenPopupBehavior.getNavigationEndpointPopupAction(a.detail.endpoint);b&&(a.stopPropagation(),this.ytdOpenPopupBehavior.openPopup(b))};
_.f.onYtServiceRequestSent=function(a,b){this.handleServiceRequestActions(b);this.fire("yt-service-request-sent-button-renderer")};
_.f.onServiceRequestCompleted=function(a,b){this.handleServiceRequestActions(b);this.fire("yt-service-request-completed-button-renderer")};
_.f.updateButton=function(a){a.updateButtonAction&&a.updateButtonAction.updatedButton&&(this.ytButtonBehavior.data=a.updateButtonAction.updatedButton.buttonRenderer)};
_.f.handleUpdateButtonAction=function(a){var b=this.ytButtonBehavior.data;b.targetId&&a.updateButtonAction.targetId&&b.targetId===a.updateButtonAction.targetId&&this.updateButton(a)};
_.f.handleServiceRequestActions=function(a){if(a=a.actions)for(var b=0;b<a.length;b++)this.updateButton(a[b])};
_.t.Object.defineProperties(pv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uIa){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_button_renderer.ytd.button.renderer.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=
a.content,c=b.insertBefore;if(void 0===tIa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_button_renderer.ytd.button.renderer.css.js--\x3e<style>:host {--paper-button-ink-color: var(--yt-spec-icon-disabled);--yt-formatted-string-deemphasize-color: var(--yt-spec-static-brand-white);--yt-formatted-string-deemphasize: {margin-left: var(--ytd-margin-base);};} :host {vertical-align: middle;white-space: nowrap;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} :host([disable-text-transform]) {text-transform: none;} :host([disabled][is-paper-button]) a {cursor: initial;pointer-events: none;} :host([is-paper-button]) yt-icon {-ms-flex: none;-webkit-flex: none;flex: none;} :host yt-formatted-string {display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} tp-yt-paper-button {min-width: var(--yt-paper-button-min-width,var(--ytd-paper-button-min-width,5.14em));font-size: var(--yt-paper-button-font-size,inherit);} tp-yt-paper-button.keyboard-focus {font-weight: inherit;} tp-yt-paper-tooltip {z-index: var(--yt-button-tooltip-z-index);} :host([is-icon-button]):not([style-action-button]) {@apply --ytd-caption;} :host(.force-icon-button) a {padding-right: var(--yt-button-icon-padding,var(--ytd-margin-2x));} :host([is-paper-button]) {background-color: var(--yt-basic-background-color,var(--yt-button-background-color));color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));border-color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));} :host([is-paper-button-with-icon]) {--yt-button-padding-minus-focus-outline: var( --yt-button-with-icon-padding-minus-focus-outline );} :host(.style-suggestive.size-small[is-paper-button-with-icon]) {--yt-button-padding: 6px 12px;--yt-button-padding-minus-border: 5px 11px;} :host([is-paper-button-with-icon]) {--yt-button-padding: 6px 16px;--yt-button-padding-minus-border: 5px 15px;} :host([is-paper-button-with-icon][button-size=size-large]) {--yt-button-padding: 10px 16px;--yt-button-padding-minus-border: 9px 15px;--yt-button-padding-minus-focus-outline: 9px 15px;} :host([is-icon-button]) {color: var(--yt-button-color,var(--yt-spec-icon-inactive));} :host(.style-text[is-icon-button]),:host(.style-default[is-icon-button]),:host(.style-opacity[is-icon-button]) {color: var(--yt-spec-icon-inactive);} :host(.style-text[is-icon-button]) #text,:host(.style-default[is-icon-button]) #text,:host(.style-opacity[is-icon-button]) #text {color: var(--yt-button-icon-button-text-color,var(--yt-spec-text-secondary));} :host(.style-black[is-icon-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-icon-button]),:host(.style-opacity[is-icon-button][disabled]),:host(.style-text[is-icon-button][disabled]) #text,:host(.style-default[is-icon-button][disabled]) #text,:host(.style-opacity[is-icon-button][disabled]) #text {color: var(--yt-spec-text-disabled);} :host(.style-blue-text[is-icon-button]) {color: var(--yt-spec-call-to-action);} tp-yt-paper-tooltip {white-space: nowrap;} :host(.style-primary[is-paper-button]) {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);} :host(.style-primary[disabled][is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-disabled);} :host(.style-payment[is-paper-button]) {background-color: var(--yt-button-payment-background-color,var(--yt-spec-call-to-action));color: var(--yt-spec-text-primary-inverse);} :host(.style-payment[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-primary[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-payment[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-primary[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggestive[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-call-to-action);background-color: transparent;color: var(--yt-spec-call-to-action);} :host(.style-suggestive[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-border);} :host(.style-suggestive[is-paper-button][disabled]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-disabled);} :host(.style-suggestive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggestive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-focus-outline);} :host(.palette-with-border[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-border);} :host(.palette-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.palette-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-blue-text[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-call-to-action);} :host(.style-blue-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-blue-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[is-paper-button]) {background-color: var(--yt-spec-brand-button-background);color: var(--yt-spec-static-brand-white);} :host(.style-destructive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-destructive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[disabled][is-paper-button]) {background-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} :host(.style-brand[is-paper-button]) {color: var(--yt-spec-brand-link-text);} :host(.style-brand[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-brand[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-brand-link-text-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-default[is-paper-button]) {background-color: var(--yt-button-default-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-default-text-color,var(--yt-spec-text-secondary));} :host(.style-default[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-default[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-inactive-outline[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host(.style-inactive-outline[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-border);} :host(.style-inactive-outline[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-inactive-outline[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggested-action[is-paper-button]) {background-color: var(--yt-spec-suggested-action);color: var(--yt-spec-call-to-action);} :host(.style-suggested-action[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggested-action[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-compact-gray[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-compact-gray[is-paper-button]) tp-yt-paper-button {padding: var(--ytd-margin-base) var(--ytd-margin-2x);} :host(.style-text[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host([is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host([is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-icon-disabled);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-overlay[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-primary);color: var(--yt-spec-static-overlay-text-primary);} :host(.style-overlay[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-overlay[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-overlay-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-white-with-border[is-paper-button]) {background-color: transparent;border: 1px solid var(--yt-spec-static-brand-white);color: var(--yt-spec-static-brand-white);} :host(.style-white-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-white-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-brand-white);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-alert-info[is-paper-button]) {color: var(--yt-spec-call-to-action);} :host(.style-alert-info[is-paper-button]:hover) {color: var(--yt-spec-button-chip-background-hover);} :host(.style-dark[is-paper-button]) {background-color: var(--yt-button-dark-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-dark-text-color,var(--yt-spec-text-secondary));} :host(.style-light[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-light-text[is-paper-button]) {color: var(--yt-spec-static-overlay-text-primary);} :host(.style-black[is-paper-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-paper-button]) {background-color: transparent;color: var(--yt-spec-text-disabled);} :host(.style-black[disabled][is-paper-button]) {color: var(--yt-spec-text-disabled);} :host(.style-dark-on-black[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-secondary);border: none;color: var(--yt-spec-static-overlay-text-primary);} :host(.style-blue-text-with-inverse-theme[is-paper-button]) {color: var(--yt-spec-call-to-action-inverse);} :host(.style-count) {@apply --ytd-thumbnail-attribution;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} /*# sourceMappingURL=ytd-button-renderer.css.map*/</style>";
tIa=d}d=tIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uIa=a}a=uIa;return a}}});
_.qv=pv;_.qv.prototype.onServiceRequestCompleted=_.qv.prototype.onServiceRequestCompleted;_.qv.prototype.onYtServiceRequestSent=_.qv.prototype.onYtServiceRequestSent;_.qv.prototype.onYtNavigate=_.qv.prototype.onYtNavigate;_.qv.prototype.onPressedStateChanged=_.qv.prototype.onPressedStateChanged;_.qv.prototype.onHintIdChanged=_.qv.prototype.onHintIdChanged;_.S([_.N(),_.T("design:type",Object)],_.qv.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],_.qv.prototype,"isPressed",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],_.qv.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.lv.YtButtonBehavior),_.T("design:type",Object)],_.qv.prototype,"ytButtonBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],_.qv.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],_.qv.prototype,"ytComponentBehavior",void 0);
_.S([_.L(_.kv.YtRenderButtonBehavior),_.T("design:type",Object)],_.qv.prototype,"ytRenderButtonBehavior",void 0);_.S([_.P("data.hint.hintRenderer"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.qv.prototype,"onHintIdChanged",null);_.S([_.P("isPressed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.qv.prototype,"onPressedStateChanged",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],_.qv.prototype,"onYtNavigate",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],_.qv.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],_.qv.prototype,"onServiceRequestCompleted",null);_.qv=_.S([_.Q({is:"ytd-button-renderer"})],_.qv);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1l");

var Uu=function(){return _.vt.apply(this,arguments)||this};
_.q(Uu,_.vt);_.f=Uu.prototype;_.f.getState=function(){return this.store.getState()};
_.f.dispatch=function(a){this.store.dispatch(a)};
_.f.beforeRegister=function(){if(this.properties)for(var a=_.k(Object.keys(this.properties)),b=a.next();!b.done;b=a.next()){var c=b.value;b=this.properties[c];if(b.selector){if(b.computed)throw Error("rd");c=["reduxPropertiesRecomputeTrigger",'"'+c+'"'].concat(_.sc(b.selectorArgs||[])).join(",");b.computed="recomputeReduxSelector("+c+")"}}};
_.f.attached=function(){var a=this;this.reduxPropertiesRecomputeTrigger=0;this.activeStoreSubscription||(this.activeStoreSubscription=this.store.subscribe(function(){a.reduxPropertiesRecomputeTrigger++}));
this.reduxPropertiesRecomputeTrigger++};
_.f.detached=function(){this.activeStoreSubscription&&(this.activeStoreSubscription(),this.activeStoreSubscription=void 0)};
_.f.recomputeReduxSelector=function(a,b){var c=_.Ob.apply(2,arguments),d=this.properties[b].selector;if(!d)throw Error("pd`"+b);return d.apply(null,[this.store.getState()].concat(_.sc(c)))};
_.t.Object.defineProperties(Uu.prototype,{store:{configurable:!0,enumerable:!0,get:function(){throw Error("qd");}}});
_.Vu=Uu;_.Vu.prototype.recomputeReduxSelector=_.Vu.prototype.recomputeReduxSelector;_.S([_.N(),_.T("design:type",Number)],_.Vu.prototype,"reduxPropertiesRecomputeTrigger",void 0);_.Vu=_.S([_.wt()],_.Vu);
var XHa=function(){return _.vt.apply(this,arguments)||this};
_.q(XHa,_.vt);_.t.Object.defineProperties(XHa.prototype,{store:{configurable:!0,enumerable:!0,get:function(){return _.hh}}});
var YHa=XHa;YHa=_.S([_.wt()],YHa);_.Wu=[_.Vu.prototype,YHa.prototype];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1i");

_.gw={};_.gw.YtVisibilityBehavior={_noAccessors:!0,properties:{disablePrescanVisibility:Boolean,prescanHeight:{type:Number,reflectToAttribute:!0}},onShow:function(){if(this.onShow_)this.onShow_()}};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1q");

var WIa;
var XIa;
var Nv=function(){var a=_.K.apply(this,arguments)||this;a.systemIcons=_.x("kevlar_system_icons");a.animated=_.x("animated_live_badge_icon");return a};
_.q(Nv,_.K);_.f=Nv.prototype;_.f.addTooltips=function(){for(var a=_.H(this.root).querySelectorAll(".badge"),b=0,c;c=a[b++];){var d=this.repeatElement.itemForElement(c);c=_.H(c);c.lastChild&&"tp-yt-paper-tooltip"===c.lastChild.is&&c.removeChild(c.lastChild);if(d=d.metadataBadgeRenderer&&d.metadataBadgeRenderer.tooltip){var e=_.Hu("tp-yt-paper-tooltip");_.H(e).textContent=d;e.setAttribute("position","top");c.appendChild(e)}}};
_.f.badgesChanged=function(){var a=this;_.Ko().parkOrScheduleJob(function(){a.addTooltips()},0,"eocs",16);
this.updateComputedBadges(this.badges,this.topStandaloneBadge)};
_.f.standaloneBadgeChanged=function(){this.updateComputedBadges(this.badges,this.topStandaloneBadge,this.bottomStandaloneBadge)};
_.f.computeStyle=function(a){_.x("enable_html5_teal_ad_badge")&&"BADGE_STYLE_TYPE_AD"===a&&(a="badge-style-type-ad-alternate");_.x("kevlar_ytb_live_badges")&&"BADGE_STYLE_TYPE_LIVE_NOW"===a&&(a="badge-style-type-live-now-alternate");return a?a.toLowerCase().replace(/_/g,"-"):""};
_.f.updateComputedBadges=function(a,b,c){this.computedBadges=(b=b?[b]:c)?b:a};
_.f.useFilledIcons=function(a){return _.x("kevlar_system_icons")&&("CHECK_CIRCLE_THICK"===a||"OFFICIAL_ARTIST_BADGE"===a)};
_.t.Object.defineProperties(Nv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XIa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-badge-supported-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_badge_supported_renderer.ytd.badge.supported.renderer.css.js--\x3e<template is="dom-repeat" id="repeat" items="[[computedBadges]]" as="badge">\n  <div class$="badge [[computeStyle(badge.metadataBadgeRenderer.style)]]" aria-label$="[[badge.metadataBadgeRenderer.accessibilityData.label]]">\n    <yt-icon default-to-filled="[[useFilledIcons(badge.metadataBadgeRenderer.icon.iconType)]]" disable-upgrade$="[[!badge.metadataBadgeRenderer.icon]]" hidden="[[!badge.metadataBadgeRenderer.icon]]" icon="[[badge.metadataBadgeRenderer.icon.iconType]]">\n    </yt-icon>\n    <span>[[badge.metadataBadgeRenderer.label]]</span>\n  </div>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WIa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_badge_supported_renderer.ytd.badge.supported.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .badge {border-radius: 2px;display: var(--ytd-badge-display,block);padding: 3px 4px;white-space: var(--ytd-badge-white-space,inherit);font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} .badge:not(:last-of-type) {margin: var(--ytd-badge-margin,0);} yt-icon {width: var(--ytd-badge-icon-size,13px);height: var(--ytd-badge-icon-size,13px);color: var(--ytd-badge-icon-color,var(--yt-spec-text-secondary));} :host([system-icons]) yt-icon {width: 16px;height: 16px;} .badge-style-type-ad {background: var(--yt-spec-static-ad-yellow);color: var(--yt-spec-text-primary-inverse);} .badge-style-type-ad-alternate {color: var(--yt-spec-ad-indicator);border: 1px solid var(--yt-spec-ad-indicator);border-radius: 2px;} .badge-style-type-simple {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} .badge-style-type-red {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-brand-link-text);} .badge-style-type-premium {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);padding: 0;} .badge-style-type-shorts-player {background: var(--yt-spec-static-overlay-background-medium-light);color: var(--yt-spec-static-overlay-text-primary);} .badge-style-type-members-only {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);padding: 0;} .badge-style-type-members-only yt-icon {color: var(--yt-spec-themed-green);padding-top: 1px;padding-left: 4px;padding-right: 2px;vertical-align: top;} .badge-style-type-members-only span {padding-top: 3px;padding-bottom: 2px;padding-right: 4px;display: inline-block;} .badge-style-type-premium yt-icon {padding-top: 1px;padding-left: 1px;padding-bottom: 1px;width: 14px;height: 14px;vertical-align: top;} .badge-style-type-premium span {padding-top: 2px;padding-bottom: 2px;padding-right: 4px;display: inline-block;} .badge-style-type-ypc {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-themed-green);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .badge-style-type-simple-strikethrough {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);text-decoration: line-through;} .badge-style-type-verified {background: none;margin-bottom: 1px;padding: 0;padding-left: 4px;-ms-flex: none;-webkit-flex: none;flex: none;} .badge-style-type-verified-artist {background: none;margin-bottom: 1px;padding: 0;padding-left: 4px;color: var(--yt-spec-text-secondary);} .badge-style-type-disabled {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-disabled);} .badge-style-type-collection {background: none;color: var(--yt-spec-text-secondary);padding: 2px 0 8px 0;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} .badge-style-type-featured {background: var(--yt-spec-themed-blue);color: var(--yt-spec-text-primary-inverse);} .badge-style-type-accelerator {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} .badge-style-type-live-now,.badge-style-type-starting-soon {background: transparent;color: var(--yt-spec-brand-link-text);border: 1px solid var(--yt-spec-brand-link-text);} .badge-style-type-live-now-alternate {background: var(--yt-spec-static-overlay-background-brand);color: var(--yt-spec-static-brand-white);padding-top: 2px;padding-bottom: 2px;} .badge-style-type-live-now-alternate span {vertical-align: middle;} .badge-style-type-live-now-alternate yt-icon {color: var(--yt-spec-static-brand-white);} :host([animated]) .badge-style-type-live-now-alternate yt-icon {animation: 1s infinite icon-mask;} @keyframes icon-mask {from {-webkit-clip-path: circle(2px);clip-path: circle(2px);opacity: 50%;}to {-webkit-clip-path: circle(16px);clip-path: circle(16px);opacity: 100%;}} .badge-style-type-black {color: var(--yt-spec-static-brand-white);} .badge-style-type-medium-grey {white-space: nowrap;background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);margin-right: 8px;} .badge-style-type-medium-grey span {vertical-align: middle;} .badge-style-type-ypc-transparent {background: none;color: var(--yt-spec-text-secondary);padding-left: 0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .badge-style-type-nz-rating-red-square {color: #000;white-space: nowrap;overflow: hidden;text-overflow: clip;height: 2.2rem;width: 2.2rem;line-height: 2.2rem;padding: 0;display: inline-block;text-align: center;background: #f03936;border-radius: 0;} .badge-style-type-nz-rating-yellow-circle {color: #000;white-space: nowrap;overflow: hidden;text-overflow: clip;height: 2.2rem;width: 2.2rem;line-height: 2.2rem;padding: 0;display: inline-block;text-align: center;background: #ffef00;border-radius: 50%;} .badge-style-type-nz-rating-green-circle {color: #000;white-space: nowrap;overflow: hidden;text-overflow: clip;height: 2.2rem;width: 2.2rem;line-height: 2.2rem;padding: 0;display: inline-block;text-align: center;background: #42c758;border-radius: 50%;} .badge:not(:first-of-type) {margin-left: 4px;} :host([system-icons]) .badge-style-type-verified yt-icon,:host([system-icons]) .badge-style-type-verified-artist yt-icon,:host([system-icons]) .badge-style-type-collection yt-icon,:host([system-icons]) .badge-style-type-ypc-transparent yt-icon {width: 14px;height: 14px;} /*# sourceMappingURL=ytd-badge-supported-renderer.css.map*/</style>';
WIa=d}d=WIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XIa=a}a=XIa;return a}}});
var Ov=Nv;Ov.prototype.standaloneBadgeChanged=Ov.prototype.standaloneBadgeChanged;Ov.prototype.badgesChanged=Ov.prototype.badgesChanged;_.S([_.N(),_.T("design:type",Array)],Ov.prototype,"badges",void 0);_.S([_.N(),_.T("design:type",Object)],Ov.prototype,"topStandaloneBadge",void 0);_.S([_.N(),_.T("design:type",Array)],Ov.prototype,"bottomStandaloneBadge",void 0);_.S([_.N(),_.T("design:type",Object)],Ov.prototype,"computedBadges",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Ov.prototype,"systemIcons",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Ov.prototype,"animated",void 0);_.S([_.Z("#repeat"),_.T("design:type",Object)],Ov.prototype,"repeatElement",void 0);_.S([_.Ct("badges"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Ov.prototype,"badgesChanged",null);
_.S([_.Ct("topStandaloneBadge","bottomStandaloneBadge"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Ov.prototype,"standaloneBadgeChanged",null);Ov=_.S([_.Q({asyncProperties:!0,is:"ytd-badge-supported-renderer"})],Ov);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syh");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
if(!window.polymerSkipLoadingFontRoboto)for(var yLa=_.k(["https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic","https://fonts.googleapis.com/css?family=Roboto+Mono:400,700"]),zLa=yLa.next();!zLa.done;zLa=yLa.next()){var ALa=zLa.value,BLa=document.createElement("link");BLa.rel="stylesheet";BLa.href=ALa;document.head.appendChild(BLa)}
;var CLa=document.createElement("template");CLa.innerHTML='<custom-style><style is="custom-style">/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\nhtml {\n  --primary-text-color: var(--light-theme-text-color);\n  --primary-background-color: var(--light-theme-background-color);\n  --secondary-text-color: var(--light-theme-secondary-color);\n  --disabled-text-color: var(--light-theme-disabled-color);\n  --divider-color: var(--light-theme-divider-color);\n  --error-color: #dd2c00;\n  --primary-color: #3f51b5;\n  --light-primary-color: #c5cae9;\n  --dark-primary-color: #303f9f;\n  --accent-color: #ff4081;\n  --light-accent-color: #ff80ab;\n  --dark-accent-color: #f50057;\n  --light-theme-background-color: #fff;\n  --light-theme-base-color: #000;\n  --light-theme-text-color: #212121;\n  --light-theme-secondary-color: #737373;\n  --light-theme-disabled-color: #9b9b9b;\n  --light-theme-divider-color: #dbdbdb;\n  --dark-theme-background-color: #212121;\n  --dark-theme-base-color: #fff;\n  --dark-theme-text-color: #fff;\n  --dark-theme-secondary-color: #bcbcbc;\n  --dark-theme-disabled-color: #646464;\n  --dark-theme-divider-color: #3c3c3c;\n  --text-primary-color: var(--dark-theme-text-color);\n  --default-primary-color: var(--primary-color);\n}</style></custom-style>';
document.head.appendChild(CLa.content);
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt SPDX-License-Identifier:
BSD-3-Clause
*/
var DLa=document.createElement("template");DLa.innerHTML='<custom-style><style is="custom-style">/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\nhtml {\n  --paper-font-common-base: {\n    font-family: "Roboto", "Noto", sans-serif;\n    -webkit-font-smoothing: antialiased;\n  };\n  --paper-font-common-nowrap: {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n  };\n  --paper-font-title: {\n    @apply --paper-font-common-base;\n    @apply --paper-font-common-nowrap;\n    font-size: 20px;\n    font-weight: 500;\n    line-height: 28px;\n  };\n  --paper-font-subhead: {\n    @apply --paper-font-common-base;\n    font-size: 16px;\n    font-weight: 400;\n    line-height: 24px;\n  };\n  --paper-font-body1: {\n    @apply --paper-font-common-base;\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 20px;\n  };\n  --paper-font-caption: {\n    @apply --paper-font-common-base;\n    @apply --paper-font-common-nowrap;\n    font-size: 12px;\n    font-weight: 400;\n    letter-spacing: 0.011em;\n    line-height: 20px;\n  };\n}</style></custom-style>';
document.head.appendChild(DLa.content);
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.ox=[_.$s,_.Ys,{hostAttributes:{role:"option",tabindex:"0"}}];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syd");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.tv=function(a,b,c){_.sg(void 0,a,b,[c])};
_.vIa=function(a){var b=[];b=b.concat.apply(b,_.sc(a.filter(function(h){return h.streamEntity}).map(function(h){var l=Object.assign({},h.streamEntity);
l.streamsProgress=l.streamsProgress||[];l.streamsProgress=l.streamsProgress.map(function(m){m=Object.assign({},m);var p;"TRANSFER_STATE_COMPLETE"===(null==(p=h.transferEntity)?void 0:p.transferState)&&(m.numBytesDownloaded=m.numTotalBytes);return m});
return l}).map(function(h){return h.streamsProgress})));
var c=a=0;b=_.k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=Number(e.numBytesDownloaded);e=Number(e.numTotalBytes);c+=isNaN(d)?0:d;a+=isNaN(e)?0:e}return 0===a?0:Math.round(100*c/a)/100};
_.wIa=function(a){var b=new _.xka;_.yka(b,1,a);a=new Uint8Array(b.buf.buffer,0,b.JSC$34910_pos);return(new TextDecoder("utf-8")).decode(a)};
_.uv=function(a,b){return _.cla(a.entities,b)};
_.xIa=function(a,b){return(a=_.qh(a.entities,b))?_.vIa([a]):0};
_.yIa=function(a){return function(b,c){Object.defineProperty(b,c,{get:function(){return Polymer.dom(this.root).querySelectorAll(a)},
enumerable:!0,configurable:!0})}};
_.vv=function(a,b){if(_.x("handle_service_request_actions"))_.Lg(b,a,b);else{a=_.k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;if(null==(d=c.commandExecutorCommand)?0:d.commands)_.vv(c.commandExecutorCommand.commands,b);else if(d=void 0,null==(d=c.signalServiceEndpoint)?0:d.actions)_.vv(c.signalServiceEndpoint.actions,b);else{var e=d=void 0;(null==(d=c.commandMetadata)?0:null==(e=d.webCommandMetadata)?0:e.sendPost)?_.Kg(b,[c]):_.Lg(b,[c],b)}}}};
_.zIa=function(a,b){return _.Yg(a.entities,"playlistLoopStateEntity",b)};
_.wv=function(a,b,c){_.uk.call(this);this.JSC$36291_listener_=null!=c?a.bind(c):a;this.JSC$36291_interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.JSC$36291_timer_=null};
_.q(_.wv,_.uk);_.f=_.wv.prototype;_.f.fire=function(a){this.args_=arguments;this.JSC$36291_timer_||this.pauseCount_?this.shouldFire_=!0:AIa(this)};
_.f.stop=function(){this.JSC$36291_timer_&&(_.Xk(this.JSC$36291_timer_),this.JSC$36291_timer_=null,this.shouldFire_=!1,this.args_=null)};
_.f.pause=function(){this.pauseCount_++};
_.f.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.JSC$36291_timer_||(this.shouldFire_=!1,AIa(this))};
_.f.disposeInternal=function(){_.uk.prototype.disposeInternal.call(this);this.stop()};
var AIa=function(a){a.JSC$36291_timer_=_.Wk(function(){a.JSC$36291_timer_=null;a.shouldFire_&&!a.pauseCount_&&(a.shouldFire_=!1,AIa(a))},a.JSC$36291_interval_);
var b=a.args_;a.args_=null;a.JSC$36291_listener_.apply(null,b)};
var CIa=function(a){_.G.call(this,a,-1,BIa)};
_.q(CIa,_.G);var DIa=function(a,b){_.Sd(a,1,xv,b)},xv=function(a){_.G.call(this,a)};
_.q(xv,_.G);var EIa=function(a,b){return _.n(a,1,b)},BIa=[1],FIa=[CIa,
1,_.ak,[xv,1,_.fqa]];
var GIa;
var HIa;
var IIa;
var JIa;
var yv=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-account-linking-state-changed-command":"handleAccountLinkingStateChangedCommand","yt-signal-action-show-account-link-dialog":"handleShowAccountLinkDialog"};return a};
_.q(yv,_.K);yv.prototype.configureRendererStamper=function(){return{button:{id:"button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{forceIconButton:!0,styleActionButton:!0},properties:{disableTextTransform:"[[disableTextTransform]]"}}}}}};
yv.prototype.handleAccountLinkingStateChangedCommand=function(a){if(a.accountLinkingStateChangedCommand){var b,c=null==(b=this.data)?void 0:b.providerKey;b=a.accountLinkingStateChangedCommand.providerKey;c&&b&&c.id===b.id&&c.subject===b.subject&&(a=a.accountLinkingStateChangedCommand.linked,void 0!==a&&(this.set("data.linked",a),this.notifyPath("data.linked"),this.setPlayerAccountLinkState(a)))}};
yv.prototype.setPlayerAccountLinkState=function(a){var b=new CIa;DIa(b,EIa(new xv,a));var c=_.sv();c&&c.getPlayerPromise().then(function(d){d.setAccountLinkState(_.Ia(_.Xpa(b,FIa),4));d.updateAccountLinkingConfig(a)})};
yv.prototype.handleShowAccountLinkDialog=function(){var a=this.get("button.buttonRenderer.command");a&&_.vv([a],this)};
_.t.Object.defineProperties(yv.prototype,{button:{configurable:!0,enumerable:!0,get:function(){if(this.data){if(this.data.linked&&this.data.linkedButton)return this.data.linkedButton;if(!this.data.linked&&this.data.unlinkedButton)return this.data.unlinkedButton}}}});
_.t.Object.defineProperties(yv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JIa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-account-link-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_account_link_button_renderer.ytd.account.link.button.renderer.css.js--\x3e<div id="button"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IIa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_account_link_button_renderer.ytd.account.link.button.renderer.css.js--\x3e<style>:host {display: inline-block;} ytd-button-renderer {min-width: var(--ytd-account-link-button-min-width,inherit);} /*# sourceMappingURL=ytd-account-link-button-renderer.css.map*/</style>";IIa=d}d=IIa;c.call(b,
d.content.cloneNode(!0),a.content.firstChild);JIa=a}a=JIa;return a}}});
var zv=yv;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],zv.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],zv.prototype,"ytRendererBehavior",void 0);_.S([_.L([_.Y.YtActionHandlerBehavior]),_.T("design:type",Object)],zv.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],zv.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],zv.prototype,"disableTextTransform",void 0);
_.S([_.V("data","data.linked"),_.T("design:type",Object),_.T("design:paramtypes",[])],zv.prototype,"button",null);zv=_.S([_.Q({is:"ytd-account-link-button-renderer"})],zv);
var KIa;
var LIa;
var MIa=["PLAYLIST_LOOP_STATE_ONE","PLAYLIST_LOOP_STATE_ALL"],Av=function(){return _.K.apply(this,arguments)||this};
_.q(Av,_.K);Av.prototype.configureRendererStamper=function(){return{"currentButtonStateRenderer.button":{id:"button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{buttonTooltipPosition:"bottom"}}}}}};
Av.prototype.updateButtonActiveState=function(){var a=this,b=!!MIa.find(function(c){return a.currentState===c});
this.button&&(this.button.isPressed=b)};
_.t.Object.defineProperties(Av.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.playlistLoopStateEntity)?void 0:a.state)||(null==(b=this.data)?void 0:b.currentState)}},
currentButtonStateRenderer:{configurable:!0,enumerable:!0,get:function(){var a=void 0,b;if(this.currentState&&(null==(b=this.data)?0:b.states)){b=_.k(this.data.states);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;if((null==(d=c.playlistLoopButtonStateRenderer)?void 0:d.state)===this.currentState){a=c.playlistLoopButtonStateRenderer;break}}}return a}}});
_.t.Object.defineProperties(Av,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LIa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-loop-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_loop_button_renderer.ytd.playlist.loop.button.renderer.css.js--\x3e<div id="button"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KIa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_loop_button_renderer.ytd.playlist.loop.button.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=ytd-playlist-loop-button-renderer.css.map*/</style>";KIa=d}d=KIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LIa=a}a=LIa;return a}}});
var Bv=Av;Bv.prototype.updateButtonActiveState=Bv.prototype.updateButtonActiveState;_.S([_.L(_.Wu),_.T("design:type",Object)],Bv.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Bv.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Bv.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N({selectorArgs:["data.playlistLoopStateEntityKey"],selector:_.zIa}),_.T("design:type",Object)],Bv.prototype,"playlistLoopStateEntity",void 0);_.S([_.N(),_.T("design:type",Object)],Bv.prototype,"data",void 0);_.S([_.Z("ytd-button-renderer"),_.T("design:type",_.qv)],Bv.prototype,"button",void 0);_.S([_.V("data","playlistLoopStateEntity"),_.T("design:type",Object),_.T("design:paramtypes",[])],Bv.prototype,"currentState",null);
_.S([_.P("currentButtonStateRenderer"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Bv.prototype,"updateButtonActiveState",null);_.S([_.V("currentState"),_.T("design:type",Object),_.T("design:paramtypes",[])],Bv.prototype,"currentButtonStateRenderer",null);Bv=_.S([_.Q({is:"ytd-playlist-loop-button-renderer"})],Bv);
var NIa;
var OIa;
var PIa=_.Bg("DOWNLOAD",{},"Download"),Cv=_.Bg("DOWNLOADING",{},"Downloading"),QIa=_.Bg("DOWNLOADED",{},"Downloaded"),RIa=_.Bg("RETRY",{},"Retry"),Dv=function(){var a=_.K.apply(this,arguments)||this;a.downloadProgress=0;a.isDownloadComplete=!1;a.isHidden=!0;a.transferState="TRANSFER_STATE_UNKNOWN";a.offlineabilityState="ADD_TO_OFFLINE_BUTTON_STATE_UNKNOWN";return a};
_.q(Dv,_.K);_.f=Dv.prototype;_.f.attached=function(){this.hasAttribute("button-renderer")||this.setAttribute("button-renderer","true")};
_.f.dataChanged=function(){var a;null!=(a=this.data)&&a.text||(a=_.uv(_.hh.getState(),this.videoId),this.updateButtonState(a))};
_.f.computeVideoId=function(a){return a};
_.f.showHideButton=function(){this.updateButtonVisibility()};
_.f.updateButtonVisibility=function(){_.x("kevlar_show_disabled_download_button_ks")||(this.disabled="ADD_TO_OFFLINE_BUTTON_STATE_DISABLED"===this.offlineabilityState?!0:!1);this.isHidden="TRANSFER_STATE_UNKNOWN"!==this.transferState?!1:"ADD_TO_OFFLINE_BUTTON_STATE_ENABLED"===this.offlineabilityState||!_.x("kevlar_show_disabled_download_button_ks")&&"ADD_TO_OFFLINE_BUTTON_STATE_DISABLED"===this.offlineabilityState?!1:!0};
_.f.updateButtonState=function(a){if(this.data&&(this.ytRendererBehavior.getSimpleString(this.data.text)!==Cv||!_.ph(a))){this.updateButtonVisibility();this.isDownloadComplete=!1;switch(a){case "TRANSFER_STATE_UNKNOWN":a=PIa;var b="OFFLINE_DOWNLOAD";var c="ACTION_ADD";break;case "TRANSFER_STATE_FAILED":a=RIa;b="OFFLINE_DOWNLOAD";c="ACTION_RETRY";break;case "TRANSFER_STATE_COMPLETE":a=QIa;b="OFFLINE_PIN";c="ACTION_REMOVE_WITH_PROMPT";this.isDownloadComplete=!0;break;case "TRANSFER_STATE_TRANSFERRING":case "TRANSFER_STATE_TRANSFER_IN_QUEUE":a=
Cv;b="OFFLINE_DOWNLOADING_ZERO";c="ACTION_REMOVE_WITH_PROMPT";break;default:a=PIa,b="OFFLINE_DOWNLOAD",c="ACTION_ADD"}var d=Object.assign({},this.data);d.text=_.Mu(a);d.tooltip=a;d.icon={iconType:b};d.size="SIZE_DEFAULT";d.style="STYLE_DEFAULT";var e;if(null==(e=d.command)?0:e.offlineVideoEndpoint)d.command.offlineVideoEndpoint.action=c;this.set("data",d)}};
_.f.updateProgress=function(a){if(this.data){this.isDownloadComplete=!1;var b="OFFLINE_DOWNLOAD";0<a&&.1>=a?b="OFFLINE_DOWNLOADING_ZERO":.1<a&&.3>=a?b="OFFLINE_DOWNLOADING_TWENTY":.3<a&&.5>=a?b="OFFLINE_DOWNLOADING_FORTY":.5<a&&.7>=a?b="OFFLINE_DOWNLOADING_SIXTY":.7<a&&1>a?b="OFFLINE_DOWNLOADING_EIGHTY":1===a&&(b="OFFLINE_PIN",this.isDownloadComplete=!0);var c;if(b!==(null==(c=this.data.icon)?void 0:c.iconType)){a=Object.assign({},this.data);a.text=_.Mu(Cv);a.tooltip=Cv;a.icon={iconType:b};var d;
if(null==(d=a.command)?0:d.offlineVideoEndpoint)a.command.offlineVideoEndpoint.action="ACTION_REMOVE_WITH_PROMPT";this.set("data",a)}}};
_.t.Object.defineProperties(Dv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===OIa){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-download-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_download_button_renderer.ytd.download.button.renderer.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===NIa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_download_button_renderer.ytd.download.button.renderer.css.js--\x3e<style>:host {--paper-button-ink-color: var(--yt-spec-icon-disabled);--yt-formatted-string-deemphasize-color: var(--yt-spec-static-brand-white);--yt-formatted-string-deemphasize: {margin-left: var(--ytd-margin-base);};} :host {vertical-align: middle;white-space: nowrap;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} :host([disable-text-transform]) {text-transform: none;} :host([disabled][is-paper-button]) a {cursor: initial;pointer-events: none;} :host([is-paper-button]) yt-icon {-ms-flex: none;-webkit-flex: none;flex: none;} :host yt-formatted-string {display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} tp-yt-paper-button {min-width: var(--yt-paper-button-min-width,var(--ytd-paper-button-min-width,5.14em));font-size: var(--yt-paper-button-font-size,inherit);} tp-yt-paper-button.keyboard-focus {font-weight: inherit;} tp-yt-paper-tooltip {z-index: var(--yt-button-tooltip-z-index);} :host([is-icon-button]):not([style-action-button]) {@apply --ytd-caption;} :host(.force-icon-button) a {padding-right: var(--yt-button-icon-padding,var(--ytd-margin-2x));} :host([is-paper-button]) {background-color: var(--yt-basic-background-color,var(--yt-button-background-color));color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));border-color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));} :host([is-paper-button-with-icon]) {--yt-button-padding-minus-focus-outline: var( --yt-button-with-icon-padding-minus-focus-outline );} :host(.style-suggestive.size-small[is-paper-button-with-icon]) {--yt-button-padding: 6px 12px;--yt-button-padding-minus-border: 5px 11px;} :host([is-paper-button-with-icon]) {--yt-button-padding: 6px 16px;--yt-button-padding-minus-border: 5px 15px;} :host([is-paper-button-with-icon][button-size=size-large]) {--yt-button-padding: 10px 16px;--yt-button-padding-minus-border: 9px 15px;--yt-button-padding-minus-focus-outline: 9px 15px;} :host([is-icon-button]) {color: var(--yt-button-color,var(--yt-spec-icon-inactive));} :host(.style-text[is-icon-button]),:host(.style-default[is-icon-button]),:host(.style-opacity[is-icon-button]) {color: var(--yt-spec-icon-inactive);} :host(.style-text[is-icon-button]) #text,:host(.style-default[is-icon-button]) #text,:host(.style-opacity[is-icon-button]) #text {color: var(--yt-button-icon-button-text-color,var(--yt-spec-text-secondary));} :host(.style-black[is-icon-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-icon-button]),:host(.style-opacity[is-icon-button][disabled]),:host(.style-text[is-icon-button][disabled]) #text,:host(.style-default[is-icon-button][disabled]) #text,:host(.style-opacity[is-icon-button][disabled]) #text {color: var(--yt-spec-text-disabled);} :host(.style-blue-text[is-icon-button]) {color: var(--yt-spec-call-to-action);} tp-yt-paper-tooltip {white-space: nowrap;} :host(.style-primary[is-paper-button]) {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);} :host(.style-primary[disabled][is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-disabled);} :host(.style-payment[is-paper-button]) {background-color: var(--yt-button-payment-background-color,var(--yt-spec-call-to-action));color: var(--yt-spec-text-primary-inverse);} :host(.style-payment[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-primary[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-payment[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-primary[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggestive[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-call-to-action);background-color: transparent;color: var(--yt-spec-call-to-action);} :host(.style-suggestive[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-border);} :host(.style-suggestive[is-paper-button][disabled]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-disabled);} :host(.style-suggestive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggestive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-focus-outline);} :host(.palette-with-border[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-border);} :host(.palette-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.palette-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-blue-text[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-call-to-action);} :host(.style-blue-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-blue-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[is-paper-button]) {background-color: var(--yt-spec-brand-button-background);color: var(--yt-spec-static-brand-white);} :host(.style-destructive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-destructive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[disabled][is-paper-button]) {background-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} :host(.style-brand[is-paper-button]) {color: var(--yt-spec-brand-link-text);} :host(.style-brand[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-brand[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-brand-link-text-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-default[is-paper-button]) {background-color: var(--yt-button-default-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-default-text-color,var(--yt-spec-text-secondary));} :host(.style-default[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-default[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-inactive-outline[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host(.style-inactive-outline[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-border);} :host(.style-inactive-outline[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-inactive-outline[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggested-action[is-paper-button]) {background-color: var(--yt-spec-suggested-action);color: var(--yt-spec-call-to-action);} :host(.style-suggested-action[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggested-action[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-compact-gray[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-compact-gray[is-paper-button]) tp-yt-paper-button {padding: var(--ytd-margin-base) var(--ytd-margin-2x);} :host(.style-text[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host([is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host([is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-icon-disabled);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-overlay[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-primary);color: var(--yt-spec-static-overlay-text-primary);} :host(.style-overlay[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-overlay[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-overlay-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-white-with-border[is-paper-button]) {background-color: transparent;border: 1px solid var(--yt-spec-static-brand-white);color: var(--yt-spec-static-brand-white);} :host(.style-white-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-white-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-brand-white);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-alert-info[is-paper-button]) {color: var(--yt-spec-call-to-action);} :host(.style-alert-info[is-paper-button]:hover) {color: var(--yt-spec-button-chip-background-hover);} :host(.style-dark[is-paper-button]) {background-color: var(--yt-button-dark-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-dark-text-color,var(--yt-spec-text-secondary));} :host(.style-light[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-light-text[is-paper-button]) {color: var(--yt-spec-static-overlay-text-primary);} :host(.style-black[is-paper-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-paper-button]) {background-color: transparent;color: var(--yt-spec-text-disabled);} :host(.style-black[disabled][is-paper-button]) {color: var(--yt-spec-text-disabled);} :host(.style-dark-on-black[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-secondary);border: none;color: var(--yt-spec-static-overlay-text-primary);} :host(.style-blue-text-with-inverse-theme[is-paper-button]) {color: var(--yt-spec-call-to-action-inverse);} :host(.style-count) {@apply --ytd-thumbnail-attribution;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} :host([is-download-complete]) {--yt-button-color: var(--yt-spec-call-to-action);} :host([is-download-complete][primary-badge-color]) {--yt-button-color: var(--yt-spec-text-primary);} :host([is-hidden]) {display: none;} /*# sourceMappingURL=ytd-download-button-renderer.css.map*/</style>";
NIa=d}d=NIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);OIa=a}a=OIa;return a}}});
var Ev=Dv;Ev.prototype.updateProgress=Ev.prototype.updateProgress;Ev.prototype.updateButtonState=Ev.prototype.updateButtonState;Ev.prototype.showHideButton=Ev.prototype.showHideButton;Ev.prototype.dataChanged=Ev.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Ev.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],Ev.prototype,"ytdReduxBehavior",void 0);
_.S([_.L(_.lv.YtButtonBehavior),_.T("design:type",Object)],Ev.prototype,"ytButtonBehavior",void 0);_.S([_.N({computed:"computeVideoId(data.command.offlineVideoEndpoint.videoId)"}),_.T("design:type",String)],Ev.prototype,"videoId",void 0);_.S([_.N(),_.T("design:type",Object)],Ev.prototype,"data",void 0);_.S([_.N({selector:_.xIa,selectorArgs:["videoId"]}),_.T("design:type",Object)],Ev.prototype,"downloadProgress",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Ev.prototype,"isDownloadComplete",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_downloaded_badge_color")}}),
_.T("design:type",Boolean)],Ev.prototype,"primaryBadgeColor",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Ev.prototype,"isHidden",void 0);_.S([_.N({selector:_.uv,selectorArgs:["videoId"]}),_.T("design:type",String)],Ev.prototype,"transferState",void 0);
_.S([_.N({selector:function(a,b){a=a.entities;if(b){b=_.wIa(b);var c,d;b=null!=(d=null==(c=_.Yg(a,"offlineabilityEntity",_.Wg(b,"offlineabilityEntity")))?void 0:c.addToOfflineButtonState)?d:"ADD_TO_OFFLINE_BUTTON_STATE_UNKNOWN"}else b="ADD_TO_OFFLINE_BUTTON_STATE_UNKNOWN";return b},
selectorArgs:["videoId"]}),_.T("design:type",Object)],Ev.prototype,"offlineabilityState",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],Ev.prototype,"showTooltips",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],Ev.prototype,"sendCommandWhenDisabled",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],Ev.prototype,"disabled",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Ev.prototype,"dataChanged",null);
_.S([_.Ct("offlineabilityState"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Ev.prototype,"showHideButton",null);_.S([_.Ct("transferState"),_.T("design:type",Function),_.T("design:paramtypes",[String]),_.T("design:returntype")],Ev.prototype,"updateButtonState",null);_.S([_.Ct("downloadProgress"),_.T("design:type",Function),_.T("design:paramtypes",[Number]),_.T("design:returntype")],Ev.prototype,"updateProgress",null);
Ev=_.S([_.Q({is:"ytd-download-button-renderer"})],Ev);
var SIa;
var TIa;
var UIa={};UIa.YtToggleButtonBehavior=[_.Y.YtActionHandlerBehavior,_.jv.YtActionSenderBehavior,_.kv.YtRenderButtonBehavior,{_noAccessors:!0,properties:{data:Object},observers:["stateChanged_(data)","stateChanged_(data.isToggled)","stateChanged_(data.defaultText)","stateChanged_(data.toggledText)","stateChanged_(forceIconOnly)"],created:function(){this.toggleButtonActionMap_={"yt-update-toggle-button-text-action":"handleUpdateToggleButtonTextAction_","yt-update-toggle-button-state-command":"handleUpdateToggleButtonStateCommand_"}},
attached:function(){this.registerActionMap(this.toggleButtonActionMap_)},
detached:function(){this.unregisterActionMap(this.toggleButtonActionMap_)},
onYtToggleButtonTapHandler:function(){},
onYtButtonTapHandler:function(){if(!this.isModal_()){var a=this.data.isToggled;if(!this.data.preventAutoToggle){this.toggle();var b={toggled:this.data.isToggled,actions:{}};b.actions[this.buttonIcon]=this.data.isToggled;this.fire("yt-toggle-button",b)}b=this.data.defaultServiceEndpoint||null;var c=this.data.toggledServiceEndpoint||null;if(b&&c||b&&this.data.preventAutoToggle)a=a?c:b,this.sendServiceRequestAction([a]),this.fire("yt-execute-service-endpoint",{serviceEndpoint:a})}},
stateChanged_:function(){var a=this.data;if(a){var b=a.isToggled;this._setEndpoint(this.computeEndpoint_(a));this._setServiceEndpoint(this.computeServiceEndpoint_(a));this._setButtonIcon(this.computeButtonIcon_(a,b));this._setButtonText(this.computeButtonText_(a,b));this._setButtonAccessibility(this.computeAccessibility_(a,b));this._setButtonTooltip(this.computeTooltip_(a,b));this._setButtonClass(this.computeButtonClass_(a,b));this._setIconPositionType(this.computeIconPositionType_(a));this.updateRenderedElements();
this.elements_.button&&("yt-icon-button"===this.elements_.button.is?(this.elements_.button.toggleable=!0,this.elements_.button.pressed=b):this.elements_.button.setAttribute("aria-pressed",b));this.elements_.icon&&_.x("kevlar_system_icons")&&(this.elements_.icon.active=b)}},
toggle:function(a){this.set("data.isToggled",void 0!==a?a:!this.data.isToggled);_.x("web_toggle_button_force_update_killswitch")||this.notifyPath("data.isToggled")},
isModal_:function(){return!!this.endpoint&&(!!this.endpoint.modalEndpoint||!!this.endpoint.shareEndpoint||!!this.endpoint.shareEntityEndpoint)},
computeEndpoint_:function(a){return a&&a.defaultNavigationEndpoint||null},
computeButtonIcon_:function(a,b){var c=a&&a.defaultIcon?_.Ft(a.defaultIcon.iconType):null;a=a&&a.toggledIcon?_.Ft(a.toggledIcon.iconType):c;return b?a:c},
handleUpdateToggleButtonStateCommand_:function(a){a=a.updateToggleButtonStateCommand;this.get("toggleButtonSupportedData.toggleButtonIdData.id",this.data)==a.buttonId&&this.toggle(a.toggled)},
computeButtonText_:function(a,b){return a?b&&a.toggledText||a.defaultText||null:null},
computeAccessibility_:function(a,b){return a?(b?this.get("toggledAccessibilityData.accessibilityData",a):this.get("accessibilityData.accessibilityData",a))||a.accessibility||null:null},
computeTooltip_:function(a,b){return a?b&&a.toggledTooltip||a.defaultTooltip||null:null},
computeButtonClass_:function(a,b){if(!a)return"";var c="",d=a.toggledStyle||a.style;if(b=b?d:a.style){b.styleType&&(b=b.styleType);try{c+=b.toLowerCase().replace(/_/g,"-")+" "}catch(e){_.Sf(e,b,typeof b),_.Rf(e)}}if(a=a.size){a.sizeType&&(a=a.sizeType);try{c+=a.toLowerCase().replace(/_/g,"-")+" "}catch(e){_.Sf(e,a,typeof a),_.Rf(e)}}return c.trim()},
computeIconPositionType_:function(a){return a&&a.iconPosition||null},
computeServiceEndpoint_:function(a){var b=a&&a.serviceEndpoint,c=this.get("data.command.commandMetadata.webCommandMetadata.sendPost");return b?b:c&&a.command?a.command:null},
handleUpdateToggleButtonTextAction_:function(a){a=a.updateToggleButtonTextAction;this.get("toggleButtonSupportedData.toggleButtonIdData.id",this.data)==a.buttonId&&(this.set("data.defaultText",a.defaultText),this.notifyPath("data.defaultText"),this.set("data.toggledText",a.toggledText),this.notifyPath("data.toggledText"))}}];
_.$u("sharingToggleButtonAndDefaultButton","toggleButtonRenderer",{component:"ytd-toggle-button-renderer",params:{noink:!0}});var Jv=function(){var a=_.K.apply(this,arguments)||this;a.systemIcons=_.x("kevlar_system_icons");return a};
_.q(Jv,_.K);Jv.prototype.attached=function(){this.hasAttribute("button-renderer")||this.setAttribute("button-renderer","true")};
Jv.prototype.onYtButtonTapHandler=function(){if(!this.ytToggleButtonBehavior.isModal_()){var a=this.data.isToggled;if(!this.data.preventAutoToggle){this.ytToggleButtonBehavior.toggle();var b={toggled:this.data.isToggled,actions:{}};b.actions[this.ytToggleButtonBehavior.buttonIcon]=this.data.isToggled;this.fire("yt-toggle-button",b)}(a=a?this.data.toggledServiceEndpoint:this.data.defaultServiceEndpoint)&&this.ytComponentBehavior.resolveCommand(a)}};
Jv.prototype.onYtNavigate=function(a){var b=this.ytdOpenPopupBehavior.getNavigationEndpointPopupAction(a.detail.endpoint);b&&(a.stopPropagation(),this.ytdOpenPopupBehavior.openPopup(b))};
_.t.Object.defineProperties(Jv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TIa){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-toggle-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_toggle_button_renderer.ytd.toggle.button.renderer.css.js--\x3e\n";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
var b=a.content,c=b.insertBefore;if(void 0===SIa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_toggle_button_renderer.ytd.toggle.button.renderer.css.js--\x3e<style>tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} :host {--paper-button-ink-color: var(--yt-spec-icon-inactive);--yt-button-padding: 10px 16px;--yt-button-margin: 0;--yt-button-padding-minus-border: 9px 15px;vertical-align: middle;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} :host([is-icon-button]):not([style-action-button]) {text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} :host(.force-icon-button) a {padding-right: var(--yt-button-icon-padding,8px);} :host([is-icon-button]) {color: var(--yt-button-color);} :host([is-paper-button]) {color: var(--yt-button-color);} :host(.style-default[is-paper-button]) {background-color: var(--yt-button-default-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-default-text-color,var(--yt-spec-text-secondary));} :host(.style-light-text[is-icon-button]) {color: var(--yt-spec-static-brand-white);} :host(.style-grey-text[is-icon-button]) {color: var(--yt-spec-icon-inactive);} :host(.style-text[is-icon-button]) {color: var(--yt-spec-icon-inactive);} :host(.style-text[is-icon-button]) #text {color: var(--yt-button-icon-button-text-color,var(--yt-spec-text-secondary));} :host(.style-default-active[is-icon-button]) {color: var(--yt-spec-call-to-action);} :host(.style-default-active[is-icon-button][system-icons]) {color: var(--yt-spec-text-primary);} :host(.style-default-active[is-paper-button]) {color: var(--yt-spec-call-to-action);} :host(.style-default-active[is-paper-button][system-icons]) {color: var(--yt-spec-text-primary);} :host(.style-text[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host(.style-compact-gray[is-paper-button]) {background-color: var(--yt-button-compact-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-compact-text-color,var(--yt-spec-text-secondary));} :host(.style-compact-gray)[is-paper-button] tp-yt-paper-button {padding: 4px 8px;} :host(.style-overlay[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-primary);color: var(--yt-spec-static-overlay-text-primary);} :host(.style-primary[is-paper-button]) {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-filled-button-text);} :host(.style-primary[is-paper-button]:hover) {color: var(--yt-spec-static-brand-white);} :host(.style-primary[disabled][is-paper-button]) {background-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} :host(.style-primary[disabled][is-paper-button]:hover) {color: var(--yt-spec-text-primary-inverse);} :host(.style-suggestive[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-call-to-action);background-color: transparent;border: 1px solid var(--yt-spec-call-to-action);color: var(--yt-spec-call-to-action);} :host(.style-suggestive[is-paper-button]) tp-yt-paper-button,:host(.style-inactive-outline[is-paper-button]) tp-yt-paper-button {padding: var(--yt-button-padding-minus-border);} :host(.style-inactive-outline[is-paper-button]) {border: 1px solid var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);} :host(.size-small) {--yt-button-padding: 8px 16px;--yt-button-padding-minus-border: 7px 15px;} :host([is-paper-button-with-icon]) {--yt-button-padding: 6px 16px;--yt-button-padding-minus-border: 5px 15px;} :host(.size-small[is-paper-button-with-icon]) {--iron-icon-width: 20px;--iron-icon-height: 20px;} :host(.style-blue-text[is-paper-button]) {color: var(--yt-spec-call-to-action);} :host(.style-grey-text[is-paper-button]) {color: var(--yt-spec-icon-inactive);} :host([is-paper-button-with-icon]) tp-yt-paper-button {min-width: var(--yt-paper-button-min-width,5.14em);} :host([disable-text-transform]) {text-transform: none;} a.yt-simple-endpoint {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} tp-yt-paper-tooltip {white-space: nowrap;} tp-yt-iron-icon {margin-right: 8px;} tp-yt-paper-tooltip.ytd-toggle-button-renderer {z-index: var(--ytd-z-index-toggle-button-tooltip);} /*# sourceMappingURL=ytd-toggle-button-renderer.css.map*/</style>';
SIa=d}d=SIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TIa=a}a=TIa;return a}}});
_.Kv=Jv;_.Kv.prototype.onYtNavigate=_.Kv.prototype.onYtNavigate;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],_.Kv.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.Kv.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],_.Kv.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(UIa.YtToggleButtonBehavior),_.T("design:type",Object)],_.Kv.prototype,"ytToggleButtonBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],_.Kv.prototype,"data",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],_.Kv.prototype,"showTooltips",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.Kv.prototype,"systemIcons",void 0);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],_.Kv.prototype,"onYtNavigate",null);_.Kv=_.S([_.Q({is:"ytd-toggle-button-renderer"})],_.Kv);
_.$u("menuRenderer","menuRenderer","ytd-menu-renderer");
var VIa={buttonRenderer:{component:"ytd-button-renderer",properties:{buttonTooltipPosition:"[[buttonTooltipPosition]]",forceIconButton:"[[forceIconButton]]",styleActionButton:"[[styleActionButton]]",disableTextTransform:"[[disableTextTransformOnButtons]]"}},toggleButtonRenderer:{component:"ytd-toggle-button-renderer",properties:{buttonTooltipPosition:"[[buttonTooltipPosition]]",forceIconButton:"[[forceIconButton]]",styleActionButton:"[[styleActionButton]]",disableTextTransform:"[[disableTextTransformOnButtons]]"}},
accountLinkButtonRenderer:{component:"ytd-account-link-button-renderer",properties:{disableTextTransform:"[[disableTextTransformOnButtons]]"}},downloadButtonRenderer:{component:"ytd-download-button-renderer",properties:{buttonTooltipPosition:"[[buttonTooltipPosition]]",forceIconButton:"[[forceIconButton]]",styleActionButton:"[[styleActionButton]]",disableTextTransform:"[[disableTextTransformOnButtons]]"}},playlistLoopButtonRenderer:{component:"ytd-playlist-loop-button-renderer"}},Lv=function(){return _.K.apply(this,
arguments)||this};
_.q(Lv,_.K);_.f=Lv.prototype;_.f.iconButtonColorChanged=function(a){a&&a.iconColor&&(this.hasCustomIconColor=!0,this.updateStyles({"--ytd-menu-renderer-button-color":_.ru(a.iconColor)}))};
_.f.resetFlexibleItems=function(a){var b=this;a.flexibleItems?(this.flexAsTopLevelButtons=a.flexibleItems.map(function(c){return c.menuFlexibleItemRenderer.topLevelButton}),window.ResizeObserver&&(this.JSC$36336_lastWidth=this.clientWidth,this.resizeThrottle||(this.resizeThrottle=new _.wv(this.onResize,200,this)),this.JSC$36336_resizeObserver||(this.JSC$36336_resizeObserver=new ResizeObserver(function(){b.resizeThrottle.fire()}),this.JSC$36336_resizeObserver.observe(this)))):(this.flexAsTopLevelButtons=
void 0,this.JSC$36336_resizeObserver&&(this.JSC$36336_resizeObserver.disconnect(),this.JSC$36336_resizeObserver=void 0))};
_.f.onYtRendererstamperFinished=function(){this.removeFlexItemFromButtons()};
_.f.onResize=function(){if(null!=this.JSC$36336_lastWidth){var a=this.clientWidth;a<this.JSC$36336_lastWidth?this.removeFlexItemFromButtons():a>this.JSC$36336_lastWidth&&this.resetFlexibleItems(this.data);this.JSC$36336_lastWidth=a}};
_.f.removeFlexItemFromButtons=function(){this.flexAsTopLevelButtons&&this.clientHeight<this.scrollHeight&&0<this.flexAsTopLevelButtons.length&&(this.flexAsTopLevelButtons=[].concat(_.sc(this.flexAsTopLevelButtons.slice(0,-1))))};
_.f.configureRendererStamper=function(){return{topLevelButtonData:{id:"top-level-buttons-computed",mapping:VIa,events:!0},flexAsTopLevelButtons:{id:"flexible-item-buttons",mapping:VIa,events:!0}}};
_.f.ready=function(){var a=this,b=this.$.button;this.persistentMenu?(this.menuFocused=!0,this.overlayOpen=!1):(b.addEventListener("focus",function(){a.onMenuFocus()}),b.addEventListener("blur",function(){a.onMenuBlur()}));
this.ytdOpenPopupBehavior.popupPositionTarget=b};
_.f.detached=function(){this.icon="yt-icons:more_vert"};
_.f.computeTopLevelButtonData=function(a){if(!a)return[];var b;a=null!=(b=null==a?void 0:a.topLevelButtons)?b:[];return _.u.unsafeClone([].concat(_.sc(a)))};
_.f.computeItems=function(a,b){if(!a)return[];var c=[];if(b){var d=(a.flexibleItems||[]).map(function(l){return l.menuFlexibleItemRenderer});
d=_.k(d);for(var e=d.next();!e.done;e=d.next())e=e.value,b.includes(e.topLevelButton)||(e=e.menuItem)&&c.push(e)}var h;a=null!=(h=null==a?void 0:a.items)?h:[];return[].concat(_.sc(c),_.sc(a))};
_.f.computeMenuActive=function(a,b){return a||b};
_.f.computeNoInk=function(a){return _.x("kevlar_three_dot_ink")?!1:a};
_.f.onPopupOpened=function(){this.overlayOpen=!0;this.fire("yt-menu-overlay-changed",this.overlayOpen);null==this.menuFocused&&(this.menuFocused=!1)};
_.f.onPopupClosed=function(){this.overlayOpen=!1;this.fire("yt-menu-overlay-changed",this.overlayOpen)};
_.f.onPopupCanceled=function(){this.overlayOpen=!1;this.fire("yt-menu-overlay-changed",this.overlayOpen)};
_.f.onMenuFocus=function(){this.menuFocused=!0;null==this.overlayOpen&&(this.overlayOpen=!1)};
_.f.onMenuBlur=function(){this.menuFocused=!1};
_.f.computeAccessibilityLabel=function(a){return this.get("accessibility.accessibilityData.label",a)};
_.f.isHidden=function(a,b){return null==a?!0:null!=a.fetchMenuCommand?!1:!(null==b?0:b.length)};
_.f.onOverflowTap=function(){if(this.data.fetchMenuCommand)_.Kg(this,[this.data.fetchMenuCommand]);else{var a=this.createMenuRendererVe(),b={items:this.items};this.data.menuPopupAccessibility&&(b.menuPopupAccessibility=this.data.menuPopupAccessibility);this.data.footer&&(b.footer=this.data.footer);this.ytdOpenPopupBehavior.openPopup({openPopupAction:{popupType:"DROPDOWN",popup:{menuPopupRenderer:b},veData:a}})}};
_.f.createMenuRendererVe=function(){var a=this.data.trackingParams,b=_.fg(),c=_.eg();return a&&b&&c?(a=_.no(a),c=_.oo(7591),_.tv(b,a,c),c):null};
_.t.Object.defineProperties(Lv.prototype,{hasFlexibleItems:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.flexAsTopLevelButtons)||!a.length)}}});
_.t.Object.defineProperties(Lv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HIa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-menu-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_renderer.ytd.menu.renderer.css.js--\x3e<div id="top-level-buttons-computed" class="top-level-buttons"></div><div id="flexible-item-buttons" hidden="[[!flexAsTopLevelButtons]]"></div><yt-icon-button id="button" class="dropdown-trigger" hidden="[[isHidden(data, items)]]" label="[[computeAccessibilityLabel(data)]]" noink="[[computeNoInk(noInkOnDropdownButton)]]" style-target="button" on-click="onOverflowTap"><yt-icon icon="[[icon]]"></yt-icon></yt-icon-button>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GIa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_renderer.ytd.menu.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([condensed])) [button-renderer]+[button-renderer],[button-renderer]+template+#button,#flexible-item-buttons:not(:empty)+#button,#top-level-buttons-computed:not(:empty)+#flexible-item-buttons+#button {margin-left: 8px;} [style-target=button] {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;width: var(--yt-icon-width);height: var(--yt-icon-height);} #button yt-icon {color: var(--ytd-menu-renderer-button-color,var(--yt-spec-icon-inactive));} [button-renderer]:hover yt-icon,#button:hover yt-icon {color: var(--yt-spec-icon-active-other);} :host([has-custom-icon-color]) [button-renderer]:hover yt-icon,:host([has-custom-icon-color]) #button:hover yt-icon {color: var(--ytd-menu-renderer-button-color,var(--yt-spec-icon-active-other));} #items::after {display: none;} .top-level-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([has-flexible-items]) {width: 100%;max-height: var(--yt-icon-height);overflow-y: hidden;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} /*# sourceMappingURL=ytd-menu-renderer.css.map*/</style>";
GIa=d}d=GIa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HIa=a}a=HIa;return a}}});
_.Mv=Lv;_.Mv.prototype.onPopupCanceled=_.Mv.prototype.onPopupCanceled;_.Mv.prototype.onPopupClosed=_.Mv.prototype.onPopupClosed;_.Mv.prototype.onPopupOpened=_.Mv.prototype.onPopupOpened;_.Mv.prototype.onYtRendererstamperFinished=_.Mv.prototype.onYtRendererstamperFinished;_.Mv.prototype.resetFlexibleItems=_.Mv.prototype.resetFlexibleItems;_.Mv.prototype.iconButtonColorChanged=_.Mv.prototype.iconButtonColorChanged;_.S([_.L(_.ov),_.T("design:type",Object)],_.Mv.prototype,"ytdOpenPopupBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.Mv.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],_.Mv.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],_.Mv.prototype,"data",void 0);_.S([_.N({computed:"computeTopLevelButtonData(data)"}),_.T("design:type",Array)],_.Mv.prototype,"topLevelButtonData",void 0);_.S([_.N(),_.T("design:type",Array)],_.Mv.prototype,"flexAsTopLevelButtons",void 0);
_.S([_.N({computed:"computeItems(data, flexAsTopLevelButtons)"}),_.T("design:type",Array)],_.Mv.prototype,"items",void 0);_.S([_.N({value:"yt-icons:more_vert"}),_.T("design:type",String)],_.Mv.prototype,"icon",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeMenuActive(menuFocused, overlayOpen)"}),_.T("design:type",Boolean)],_.Mv.prototype,"menuActive",void 0);_.S([_.N(),_.T("design:type",Boolean)],_.Mv.prototype,"menuFocused",void 0);
_.S([_.N({value:function(){return _.x("desktop_persistent_menu")&&window.matchMedia("(any-pointer: coarse)").matches}}),
_.T("design:type",Boolean)],_.Mv.prototype,"persistentMenu",void 0);_.S([_.N({value:"bottom"}),_.T("design:type",String)],_.Mv.prototype,"buttonTooltipPosition",void 0);_.S([_.N(),_.T("design:type",Boolean)],_.Mv.prototype,"noInkOnDropdownButton",void 0);_.S([_.N(),_.T("design:type",Boolean)],_.Mv.prototype,"overlayOpen",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],_.Mv.prototype,"forceIconButton",void 0);_.S([_.N(),_.T("design:type",Boolean)],_.Mv.prototype,"styleActionButton",void 0);
_.S([_.N(),_.T("design:type",Boolean)],_.Mv.prototype,"disableTextTransformOnButtons",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],_.Mv.prototype,"hasCustomIconColor",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("flexAsTopLevelButtons"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.Mv.prototype,"hasFlexibleItems",null);_.S([_.yIa(".top-level-buttons > *"),_.T("design:type",Array)],_.Mv.prototype,"topLevelButtons",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],_.Mv.prototype,"iconButtonColorChanged",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],_.Mv.prototype,"resetFlexibleItems",null);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.Mv.prototype,"onYtRendererstamperFinished",null);
_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.Mv.prototype,"onPopupOpened",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.Mv.prototype,"onPopupClosed",null);_.S([_.O("yt-popup-canceled"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.Mv.prototype,"onPopupCanceled",null);_.Mv=_.S([_.Q({is:"ytd-menu-renderer"})],_.Mv);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sys");

/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var uJa,vJa,xJa,CJa,DJa,hw;uJa=function(){var a=(0,_.Yd)(),b=null,c=!1;_.tu.forEach(function(e){e.loaded=!0;e.loadTime=a;e.pendingPaint=!1;var h=_.su.get(e);h&&h.resolve(a);b=e;!c&&e.ftlEligible&&(c=!0)});
var d;(null==(d=b)?0:d.markDirty)&&b.markDirty();_.tu.clear();hw=0;c&&(_.qu.getInstance(),_.FGa||(_.FGa=!0,_.fi("ftl",a)))};
vJa=function(){_.tu.size?setTimeout(function(){_.Kn(uJa)},0):hw=0};
_.wJa=function(a){_.tu.add(a);a.pendingPaint=!0;hw||(hw=_.Bi(_.xe,vJa))};
xJa=function(a){var b=_.su.get(a);b||(b=_.Sk(),_.su.set(a,b));Infinity>a.loadTime&&0<a.loadTime&&b.resolve(a.loadTime);return b.promise};
_.yJa=function(a){var b=a.indexOf(":");return-1===b?{originalName:a}:{originalName:a.substring(0,b),datasyncId:a.substring(b+1)}};
_.zJa=function(){return _.y(function(a){if(void 0!==iw)return a.return(iw);iw=new Promise(function(b){var c;return _.y(function(d){switch(d.nextAddress){case 1:return _.se(d,2),_.B(d,_.jw.open("test-only"),4);case 4:return _.B(d,_.jw.delete("test-only"),5);case 5:_.te(d,3);break;case 2:if(c=_.ue(d),c instanceof Error&&"SecurityError"===c.name)return b(!1),d.return();case 3:b("caches"in window),_.bf(d)}})});
return a.return(iw)})};
CJa=function(){return _.y(function(a){if(1==a.nextAddress)return _.B(a,_.zJa(),2);if(!a.yieldResult)return a.return(void 0);AJa||(AJa=new BJa);return a.return(AJa)})};
DJa=function(a){var b,c,d,e;return _.y(function(h){switch(h.nextAddress){case 1:return _.B(h,CJa(),2);case 2:b=h.yieldResult;if(!b)throw Error("vd");return _.B(h,b.open("yt-player-local-img"),3);case 3:return c=h.yieldResult,_.B(h,c.match(a),4);case 4:d=h.yieldResult;if(!d)throw Error("wd");return _.B(h,d.blob(),5);case 5:return e=h.yieldResult,h.return(e)}})};
_.EJa=function(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||_.EJa(a,b,c,d))return!0;a=a.nextSibling}return!1};
hw=0;
var FJa,KJa;FJa=_.w("DORMANT_IMAGE_TIMEOUT",1E3);_.kw=function(){this.loadTimeResolver_=GJa(this);this.sessionResolved_=!1;this.collectionJobId_=0;this.visibleSet_=new Set;this.elementLoadPromises_=new Map;this.collectionPromise_=null;this.dormantJobId_=0};
_.kw.prototype.onDormantLoad_=function(){this.collectionPromise_&&this.loadTimeResolver_.reject(Error("sd"))};
var lw=function(a){_.xe.cancelJob(a.dormantJobId_);a:{var b=_.k(a.visibleSet_);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!c.loadTime||Infinity==c.loadTime){b=!1;break a}b=!0}b||(a.dormantJobId_=_.Jn(_.xe,a.onDormantLoad_.bind(a),FJa))},IJa=function(a,b){if(a.sessionResolved_)return!1;
a.collectionJobId_&&_.HJa(a);return"loadTime"in b?!0:!1};
_.kw.prototype.hidden=function(a){IJa(this,a)&&(this.visibleSet_.delete(a),this.elementLoadPromises_.delete(a),lw(this))};
var JJa=function(a,b){var c=xJa(b).then(function(){if(!a.visibleSet_.has(b))return null;lw(a);return b},function(){});
a.elementLoadPromises_.set(b,c)};
_.kw.prototype.shown=function(a){if(!IJa(this,a))return!1;this.visibleSet_.add(a);lw(this);JJa(this,a);return!0};
KJa=function(a){_.xe.cancelJob(a.collectionJobId_);a.collectionJobId_=0;a.collectionPromise_&&(a.collectionPromise_.cancel("canceled collectionPromise_"),a.collectionPromise_=null)};
_.HJa=function(a){KJa(a);var b=_.hd("viewport_load_collection_wait_time",0);a.collectionJobId_=_.Jn(_.xe,a.collectLoadTime_.bind(a),b)};
_.kw.prototype.collectLoadTime_=function(){var a=this;KJa(this);lw(this);var b=Infinity;this.collectionPromise_=_.Rk([].concat(_.sc(this.elementLoadPromises_.values())));this.collectionPromise_.then(function(c){c=c.filter(function(l){return!!l&&!!l.parentNode&&a.visibleSet_.has(l)});
for(var d=null,e=0;e<c.length;e++){var h=c[e];if(!d||d.loadTime<h.loadTime)d=h}d?b=d.loadTime:b=-1;_.xe.cancelJob(a.dormantJobId_);a.loadTimeResolver_.resolve(b)})};
var GJa=function(a){var b=_.Sk(),c=function(){a.sessionResolved_=!0};
b.promise.then(c,c);return b};
_.kw.prototype.reset=function(){var a=this;KJa(this);_.xe.cancelJob(this.dormantJobId_);this.elementLoadPromises_.clear();this.loadTimeResolver_.reject(Error("td"));this.sessionResolved_=!1;_.Tk(this.loadTimeResolver_.promise,function(){a.sessionResolved_=!1});
this.loadTimeResolver_=GJa(this);this.visibleSet_.clear()};
_.kw.getInstance=function(){return _.gm(_.kw)};
var LJa;
var MJa;
var iw,AJa,mw;_.jw=_.g.caches;mw=function(){};
mw.prototype.open=function(a){return _.jw.open(NJa(a))};
mw.prototype.has=function(a){return _.jw.has(NJa(a))};
mw.prototype.delete=function(a){return _.jw.delete(NJa(a))};
mw.prototype.match=function(a,b){var c=this,d,e,h,l,m,p;return _.y(function(r){switch(r.nextAddress){case 1:return _.B(r,c.keys(),2);case 2:d=r.yieldResult,e=_.k(d),h=e.next();case 3:if(h.done){r.jumpTo(5);break}l=h.value;return _.B(r,c.open(l),6);case 6:return m=r.yieldResult,_.B(r,m.match(a,b),7);case 7:if(p=r.yieldResult)return r.return(p);h=e.next();r.jumpTo(3);break;case 5:return r.return()}})};
var BJa=function(){};
_.q(BJa,mw);var NJa=function(a){if(a.includes(":"))throw Error("ud`"+a);return a+":"+_.ee("CacheStorage get")};
BJa.prototype.keys=function(){var a,b,c,d,e,h,l,m,p;return _.y(function(r){if(1==r.nextAddress)return a=[],b=_.ee("CacheStorage keys"),_.B(r,_.jw.keys(),2);c=r.yieldResult;d=_.k(c);for(e=d.next();!e.done;e=d.next())h=e.value,l=_.yJa(h),m=l.originalName,p=l.datasyncId,p===b&&a.push(m);return r.return(a)})};
var nw=function(){var a=_.K.apply(this,arguments)||this;a.empty_=!0;a.loadTime=Infinity;a.pendingPaint=!1;a.hasChange_=!1;a.oldThumbnail_=null;a.oldDelayedSrc_="";a.objectURL_=null;return a};
_.q(nw,_.K);_.f=nw.prototype;_.f.attached=function(){this.hasChange_&&this.thumbnailChanged_()};
_.f.ready=function(){var a=this.shouldShowPlaceholder_();this.toggleClass("no-transition",!0);a&&this.classList.add("with-placeholder")};
_.f.isPreloaded=function(){return this.isThumbPreloaded_(this.thumbnail)};
_.f.isThumbPreloaded_=function(a){return!!this.get("webThumbnailDetailsExtensionData.isPreloaded",a)};
_.f.computeSrc_=function(){return this.delayedSrc||this.computeThumbnailSrc_(this.thumbnail)||OJa};
_.f.computeThumbnailSrc_=function(a){return a&&a.thumbnails?_.nu(a.thumbnails,"width"==this.dimension?this.width:this.height,this.preferredThumbnail,this.dimension):null};
_.f.computeAlt_=function(){var a=this.thumbnail&&this.thumbnail.accessibility&&this.thumbnail.accessibility.accessibilityData&&this.thumbnail.accessibility.accessibilityData.label;return this.loaded&&a||""};
_.f.thumbnailChanged_=function(){var a=_.k([this.thumbnail,this.oldThumbnail_]),b=a.next().value;a=a.next().value;this.oldThumbnail_=b;if(void 0===this.isAttached)this.hasChange_=!0;else{this.hasChange_=!1;if(this.loaded&&(a=this.computeThumbnailSrc_(a),this.computeThumbnailSrc_(b)==a))return;_.x("kevlar_use_vimio_behavior")&&this.ytRendererBehavior.markDirty();this.isThumbPreloaded_(b)?(this.loadTime=Infinity,this.setSrc_(this.thumbnail.thumbnails[0].url),this.empty_=!1):b&&_.fd("DISABLE_YT_IMG_DELAY_LOADING",
!1)?this.loaded&&!this.empty_?_.nt(this,this.onReload_):_.nt(this,this.onShow_):this.resetImage_();b&&(this.style.opacity=""+b.opacity)}};
_.f.delayedSrcChanged_=function(){var a=this.oldDelayedSrc_;this.oldDelayedSrc_=this.delayedSrc;this.loaded&&this.delayedSrc==a||this.resetImage_()};
_.f.setSrc_=function(a){a?(this.$.img.src||this.classList.remove("empty"),this.$.img.src=a):(this.$.img.removeAttribute("src"),this.classList.add("empty"))};
_.f.resetImage_=function(){this.loaded=!1;this.loadTime=Infinity;var a=_.su.get(this);a&&(a.reject(Error("md")),_.su.delete(this));this.pendingPaint&&(_.tu.delete(this),this.pendingPaint=!1);this.empty_=!0;this.setSrc_(OJa);this.ytRendererBehavior.invalidate(!1)};
_.f.observePlaceholderColor_=function(){var a=this.thumbnail&&this.thumbnail.placeholderColor;a?this.style.backgroundColor=_.ru(a):this.shouldShowPlaceholder_()||(this.style.backgroundColor="transparent")};
_.f.onLoad_=function(){this.$.img.src&&this.$.img.src!=OJa&&(_.wJa(this),this.notifyOnLoaded&&this.fire("yt-img-shadow-loaded"),this.objectURL_&&(URL.revokeObjectURL(this.objectURL_),this.objectURL_=null))};
_.f.onError_=function(){var a=this;if(_.x("web_use_cache_for_image_fallback"))DJa(this.$.img.src).then(function(b){var c=b.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);if(2!==(null==c?void 0:c.length)||!(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)$/i.test(c[1])||/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(c[1])||/^audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(c[1])))throw Error("Z");b=new _.qb(URL.createObjectURL(b),
_.mb);a.objectURL_=b.toString();a.setSrc_(a.objectURL_)}).catch(function(){_.x("kevlar_woffle_fallback_image")&&a.setSrc_("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN8XA8AAksBZG7LpHYAAAAASUVORK5CYII=")});
else this.onLoad_()};
_.f.onPrescanVisible=function(){this.onShow_()};
_.f.onVisible=function(){if(_.x("yt_img_shadow_trigger_show_on_visible"))this.onShow_();_.kw.getInstance().shown(this)};
_.f.onShow_=function(){if(!this.loaded||this.empty_){this.empty_=!1;var a=this.computeSrc_();a!=this.$.img.src&&(this.loaded=!1,this.setSrc_(a))}};
_.f.onReload_=function(){this.empty_=!1;var a=this.computeSrc_();a!=this.$.img.src&&(this.loaded=!1,this.setSrc_(a))};
_.f.shouldShowPlaceholder_=function(){return _.x("kevlar_thumbnail_bg")};
_.t.Object.defineProperties(nw,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===MJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-img-shadow--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_img_shadow.yt.img.shadow.css.js--\x3e<img id="img" alt$="[[alt_]]" height="[[height]]" width="[[width]]" on-load="onLoad_" on-error="onError_">';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===LJa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_img_shadow.yt.img.shadow.css.js--\x3e<style>:host {display: inline-block;opacity: 0;transition: opacity 0.2s;-ms-flex: none;-webkit-flex: none;flex: none;} :host(.no-transition) {opacity: 1;transition: none;} :host(.with-placeholder) {background-color: var(--yt-img-shadow-placeholder-color,transparent);min-height: var(--yt-img-shadow-min-height,unset);min-width: var(--yt-img-shadow-min-width,unset);} :host([loaded]) {opacity: 1;} :host(.empty) img {visibility: hidden;} :host([fit-height]) img {height: 100%;width: auto;} :host([fit-width]) img {height: auto;width: 100%;} :host([object-fit=FILL]) img,:host([fit]) img {width: 100%;height: 100%;} :host([object-fit=COVER]) img {width: 100%;height: 100%;object-fit: cover;} :host([object-fit=CONTAIN]) img {width: 100%;height: 100%;object-fit: contain;} :host([object-position=LEFT]) img {object-position: left;} img {display: block;margin-left: var(--yt-img-margin-left,auto);margin-right: var(--yt-img-margin-right,auto);max-height: var(--yt-img-max-height,none);max-width: var(--yt-img-max-width,100%);border-radius: var(--yt-img-border-radius,none);} /*# sourceMappingURL=yt-img-shadow.css.map*/</style>";
LJa=d}d=LJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);MJa=a}a=MJa;return a}}});
var ow=nw;ow.prototype.observePlaceholderColor_=ow.prototype.observePlaceholderColor_;ow.prototype.delayedSrcChanged_=ow.prototype.delayedSrcChanged_;ow.prototype.thumbnailChanged_=ow.prototype.thumbnailChanged_;_.S([_.L(_.gw.YtVisibilityBehavior),_.T("design:type",Object)],ow.prototype,"ytVisibilityBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ow.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",String)],ow.prototype,"delayedSrc",void 0);
_.S([_.N(),_.T("design:type",Object)],ow.prototype,"thumbnail",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],ow.prototype,"loaded",void 0);_.S([_.N(),_.T("design:type",Boolean)],ow.prototype,"notifyOnLoaded",void 0);_.S([_.N(),_.T("design:type",Number)],ow.prototype,"height",void 0);_.S([_.N(),_.T("design:type",Number)],ow.prototype,"width",void 0);_.S([_.N({value:function(){return"width"}}),
_.T("design:type",String)],ow.prototype,"dimension",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],ow.prototype,"fit",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],ow.prototype,"fitHeight",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],ow.prototype,"fitWidth",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],ow.prototype,"objectFit",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],ow.prototype,"objectPosition",void 0);_.S([_.N(),_.T("design:type",String)],ow.prototype,"preferredThumbnail",void 0);_.S([_.N({value:"",computed:"computeAlt_(thumbnail.accessibility.accessibilityData.label, loaded)"}),_.T("design:type",String)],ow.prototype,"alt_",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],ow.prototype,"sharedTooltipText",void 0);
_.S([_.N(),_.T("design:type",Boolean)],ow.prototype,"ftlEligible",void 0);_.S([_.N({value:void 0}),_.T("design:type",String)],ow.prototype,"observeHiddenOption",void 0);_.S([_.N({value:"observe_once"}),_.T("design:type",String)],ow.prototype,"observePrescanOption",void 0);_.S([_.Ct("thumbnail"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ow.prototype,"thumbnailChanged_",null);
_.S([_.Ct("delayedSrc"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ow.prototype,"delayedSrcChanged_",null);_.S([_.P("thumbnail.placeholderColor"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ow.prototype,"observePlaceholderColor_",null);ow=_.S([_.lu({is:"yt-img-shadow",noInjection:!0})],ow);var OJa=_.fd("NO_EMPTY_DATA_IMG")?"":"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1k");

_.Hx=function(a,b,c){a=_.k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(d===b)break;for(var e=_.k(c),h=e.next();!h.done;h=e.next())if(d.tagName===h.value)return!0}return!1};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy18");

_.Pv=function(a,b){if(!a.includes("DATE_PLACEHOLDER"))return a;var c=new Date(0);c.setUTCSeconds(b);return a.replace("DATE_PLACEHOLDER",(0,_.eCa)(c))};
_.Qv=function(){this.showMiniplayerCommandActivation=this.lockupActivation=this.playlistWatchPageActivation=this.userActivation=this.miniplayerButtonActivation=!1;this.navigationFinishPromise=_.Mg();this.navigatingAwayFromWatchDeletedVideo=!1;this.currentEndpoint=this.playerContainer=null;this.isVideoPlaying=!1};
_.Yi(_.Qv);
var YIa=function(){var a=_.vt.apply(this,arguments)||this;a._noAccessors=!0;a.disableNowPlaying=!1;a.disableTooltips=!1;a.useHoveredProperty=!1;a.hovered=!1;a.isThumbnailHovered_=!1;a.addBackground=_.x("kevlar_thumbnail_bg");a.nowPlaying=!1;return a};
_.q(YIa,_.vt);_.f=YIa.prototype;_.f.computeThumbnailOverlaySidePanelWidth_=function(a,b){return a-b};
_.f.computeFinalHoveredState_=function(a,b,c){return this.nowPlaying?!1:_.x("kevlar_thumbnail_fluid")&&a?b:c};
_.f.computeHoverOverlays_=function(a,b){return a&&b?b:void 0};
_.f.onMouseEnter_=function(){this.isThumbnailHovered_=!0};
_.f.onMouseLeave_=function(){this.isThumbnailHovered_=!1};
_.f.dataObserver_=function(){this.checkMiniplayer_()};
_.f.checkMiniplayer_=function(){if(_.x("kevlar_thumbnail_equalizer_killswitch"))var a=_.Qv.getInstance().currentEndpoint;else{var b=_.Qv.getInstance();a=b.currentEndpoint}if(!this.disableNowPlaying&&a&&a.watchEndpoint&&this.data){if(this.nowPlaying=this.data.playlistId?a.watchEndpoint.playlistId===this.data.playlistId:a.watchEndpoint.videoId===this.data.videoId,!_.x("kevlar_thumbnail_equalizer_killswitch")){var c;this.isVideoPlaying=null==(c=b)?void 0:c.isVideoPlaying}}else this.nowPlaying=!1};
var Rv=YIa;Rv.prototype.checkMiniplayer_=Rv.prototype.checkMiniplayer_;Rv.prototype.dataObserver_=Rv.prototype.dataObserver_;Rv.prototype.onMouseLeave_=Rv.prototype.onMouseLeave_;Rv.prototype.onMouseEnter_=Rv.prototype.onMouseEnter_;Rv.prototype.computeHoverOverlays_=Rv.prototype.computeHoverOverlays_;Rv.prototype.computeFinalHoveredState_=Rv.prototype.computeFinalHoveredState_;Rv.prototype.computeThumbnailOverlaySidePanelWidth_=Rv.prototype.computeThumbnailOverlaySidePanelWidth_;
_.S([_.N(),_.T("design:type",Object)],Rv.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],Rv.prototype,"height",void 0);_.S([_.N(),_.T("design:type",Boolean)],Rv.prototype,"bottomSidePanel",void 0);_.S([_.N(),_.T("design:type",Number)],Rv.prototype,"width",void 0);_.S([_.N(),_.T("design:type",Object)],Rv.prototype,"disableNowPlaying",void 0);_.S([_.N(),_.T("design:type",Object)],Rv.prototype,"disableTooltips",void 0);
_.S([_.N(),_.T("design:type",Object)],Rv.prototype,"useHoveredProperty",void 0);_.S([_.N(),_.T("design:type",Object)],Rv.prototype,"hovered",void 0);_.S([_.N(),_.T("design:type",Object)],Rv.prototype,"isThumbnailHovered_",void 0);_.S([_.N({computed:"computeFinalHoveredState_(useHoveredProperty, hovered, isThumbnailHovered_)"}),_.T("design:type",Boolean)],Rv.prototype,"finalHoveredState_",void 0);
_.S([_.N({computed:"computeThumbnailOverlaySidePanelWidth_(width, height)"}),_.T("design:type",Number)],Rv.prototype,"thumbnailOverlaySidePanelWidth_",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Rv.prototype,"addBackground",void 0);_.S([_.N({computed:"computeHoverOverlays_(finalHoveredState_, data.thumbnailOverlays)"}),_.T("design:type",Object)],Rv.prototype,"hoverOverlays_",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Rv.prototype,"nowPlaying",void 0);
_.S([_.N(),_.T("design:type",Boolean)],Rv.prototype,"isVideoPlaying",void 0);_.S([_.O("mouseenter"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Rv.prototype,"onMouseEnter_",null);_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Rv.prototype,"onMouseLeave_",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object,Object]),_.T("design:returntype")],Rv.prototype,"dataObserver_",null);
_.S([_.P("disableNowPlaying"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Rv.prototype,"checkMiniplayer_",null);Rv=_.S([_.wt()],Rv);_.ZIa=[Rv.prototype];
var $Ia;
var aJa;
var Sv=function(){return _.K.apply(this,arguments)||this};
_.q(Sv,_.K);Sv.prototype.sampledThumbnailColorChanged=function(){if(this.sampledThumbnailColor){var a=this.sampledThumbnailColor;this.style.backgroundColor="rgba("+a.red+","+a.green+","+a.blue+",0.8)"}};
_.t.Object.defineProperties(Sv.prototype,{overlayStyle:{configurable:!0,enumerable:!0,get:function(){return _.x("enable_programmed_playlist_redesign")&&this.data.text&&this.data.icon?!0:!1}}});
_.t.Object.defineProperties(Sv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-bottom-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_bottom_panel_renderer.ytd.thumbnail.overlay.bottom.panel.renderer.css.js--\x3e<yt-icon hidden="[[!data.icon]]" icon="[[data.icon.iconType]]"></yt-icon>\n<yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Ia){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_bottom_panel_renderer.ytd.thumbnail.overlay.bottom.panel.renderer.css.js--\x3e<style>:host {position: absolute;right: 0;left: 0;bottom: 0;height: 24px;background-color: var(--yt-spec-static-overlay-background-heavy);color: var(--yt-spec-static-overlay-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([overlay-style]) {padding-right: 8px;padding-left: 8px;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([overlay-style]) yt-icon {height: 20px;width: 20px;} /*# sourceMappingURL=ytd-thumbnail-overlay-bottom-panel-renderer.css.map*/</style>';
$Ia=d}d=$Ia;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aJa=a}a=aJa;return a}}});
var Tv=Sv;Tv.prototype.sampledThumbnailColorChanged=Tv.prototype.sampledThumbnailColorChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Tv.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Tv.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],Tv.prototype,"sampledThumbnailColor",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data.icon","data.text"),_.T("design:type",Object),_.T("design:paramtypes",[])],Tv.prototype,"overlayStyle",null);
_.S([_.P("sampledThumbnailColor"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Tv.prototype,"sampledThumbnailColorChanged",null);Tv=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-bottom-panel-renderer"})],Tv);
var bJa;
var cJa;
var Uv=function(){return _.K.apply(this,arguments)||this};
_.q(Uv,_.K);_.t.Object.defineProperties(Uv.prototype,{text:{configurable:!0,enumerable:!0,get:function(){if(this.data)return this.ytRendererBehavior.getSimpleString(this.data.text)}}});
_.t.Object.defineProperties(Uv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-hover-text-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_hover_text_renderer.ytd.thumbnail.overlay.hover.text.renderer.css.js--\x3e<yt-icon icon="[[data.icon.iconType]]"></yt-icon>\n<span>[[text]]</span>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bJa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_hover_text_renderer.ytd.thumbnail.overlay.hover.text.renderer.css.js--\x3e<style>:host {opacity: 0;color: var(--yt-spec-static-overlay-text-primary);background-color: var(--yt-spec-static-overlay-background-heavy);text-align: center;transition: opacity 0.3s;z-index: 1;position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} /*# sourceMappingURL=ytd-thumbnail-overlay-hover-text-renderer.css.map*/</style>';
bJa=d}d=bJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cJa=a}a=cJa;return a}}});
var Vv=Uv;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Vv.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Vv.prototype,"data",void 0);_.S([_.V("data.text"),_.T("design:type",Object),_.T("design:paramtypes",[])],Vv.prototype,"text",null);Vv=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-hover-text-renderer"})],Vv);
var dJa;
var eJa;
var fJa=function(){return _.K.apply(this,arguments)||this};
_.q(fJa,_.K);
_.t.Object.defineProperties(fJa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-equalizer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_equalizer.ytd.thumbnail.overlay.equalizer.css.js--\x3e<svg xmlns="http://www.w3.org/2000/svg" id="equalizer" viewBox="0 0 55 95">\n  <g>\n    <rect class="bar" x="0"></rect>\n    <rect class="bar" x="20"></rect>\n    <rect class="bar" x="40"></rect>\n  </g>\n</svg>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dJa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_equalizer.ytd.thumbnail.overlay.equalizer.css.js--\x3e<style>:host {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} #equalizer {width: 100%;height: 100%;transform: rotate(180deg);} .bar {fill: #fff;height: 70px;width: 15px;} :host(:not([animate-equalizer])) .bar {transform: scaleY(0.08);} :host([animate-equalizer]) .bar:nth-child(1) {animation: equalize-bar1 2s ease-in-out infinite;animation-direction: alternate;} :host([animate-equalizer]) .bar:nth-child(2) {animation: equalize-bar2 2s ease-in-out infinite;animation-direction: alternate;} :host([animate-equalizer]) .bar:nth-child(3) {animation: equalize-bar3 2s ease-in-out infinite;animation-direction: alternate;} @keyframes equalize-bar1 {0% {transform: scaleY(0.2);}17% {transform: scaleY(0.31);}25% {transform: scaleY(0.3);}34% {transform: scaleY(0.24);}50% {transform: scaleY(0.12);}58% {transform: scaleY(0.52);}67% {transform: scaleY(0.48);}83% {transform: scaleY(0.31);}100% {transform: scaleY(0.2);}} @keyframes equalize-bar2 {0% {transform: scaleY(0.43);}17% {transform: scaleY(0.62);}34% {transform: scaleY(0.24);}50% {transform: scaleY(0.2);}58% {transform: scaleY(0.26);}67% {transform: scaleY(0.53);}75% {transform: scaleY(0.24);}83% {transform: scaleY(0.63);}100% {transform: scaleY(0.43);}} @keyframes equalize-bar3 {0% {transform: scaleY(0.25);}17% {transform: scaleY(0.43);}25% {transform: scaleY(0.46);}34% {transform: scaleY(0.43);}50% {transform: scaleY(0.33);}58% {transform: scaleY(0.57);}67% {transform: scaleY(0.24);}83% {transform: scaleY(0);}100% {transform: scaleY(0.25);}} /*# sourceMappingURL=ytd-thumbnail-overlay-equalizer.css.map*/</style>";
dJa=d}d=dJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);eJa=a}a=eJa;return a}}});
var gJa=fJa;_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],gJa.prototype,"animateEqualizer",void 0);gJa=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-equalizer"})],gJa);
var hJa;
var iJa;
var Wv=function(){var a=_.K.apply(this,arguments)||this;a.hideThumbnailEqualizer=_.x("kevlar_thumbnail_equalizer_killswitch");a.actionMap={"yt-miniplayer-play-state-changed":"onMiniplayerPlayStateChanged"};return a};
_.q(Wv,_.K);Wv.prototype.onMiniplayerPlayStateChanged=function(a){this.isVideoPlaying=a};
_.t.Object.defineProperties(Wv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-now-playing-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_now_playing_renderer.ytd.thumbnail.overlay.now.playing.renderer.css.js--\x3e<span>[[getSimpleString(data.text)]]</span>\n<ytd-thumbnail-overlay-equalizer animate-equalizer="[[isVideoPlaying]]" hidden="[[hideThumbnailEqualizer]]">\n</ytd-thumbnail-overlay-equalizer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hJa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_now_playing_renderer.ytd.thumbnail.overlay.now.playing.renderer.css.js--\x3e<style>:host {opacity: 0;color: #fff;background-color: var(--yt-spec-static-overlay-background-heavy);text-align: center;transition: opacity 0.3s;z-index: 1;pointer-events: none;position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} ytd-thumbnail-overlay-equalizer {position: absolute;bottom: 0;right: 0;margin: 6px;height: 28px;width: 16px;} /*# sourceMappingURL=ytd-thumbnail-overlay-now-playing-renderer.css.map*/</style>';
hJa=d}d=hJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iJa=a}a=iJa;return a}}});
var Xv=Wv;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Xv.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Xv.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Xv.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],Xv.prototype,"isVideoPlaying",void 0);_.S([_.N(),_.T("design:type",Object)],Xv.prototype,"hideThumbnailEqualizer",void 0);
Xv=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-now-playing-renderer"})],Xv);
var jJa;
var kJa;
var lJa=function(){return _.K.apply(this,arguments)||this};
_.q(lJa,_.K);
_.t.Object.defineProperties(lJa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-playback-status-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_playback_status_renderer.ytd.thumbnail.overlay.playback.status.renderer.css.js--\x3e<template is="dom-repeat" items="[[data.texts]]"><yt-formatted-string text="[[item]]"></yt-formatted-string></template>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jJa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_playback_status_renderer.ytd.thumbnail.overlay.playback.status.renderer.css.js--\x3e<style>:host {position: absolute;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-formatted-string {margin: 4px 0 4px 4px;color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-static-overlay-background-heavy);padding: 3px 4px;height: 12px;border-radius: 2px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);letter-spacing: var(--yt-badge-letter-spacing,0.5px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-thumbnail-overlay-playback-status-renderer.css.map*/</style>";
jJa=d}d=jJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kJa=a}a=kJa;return a}}});
var Yv=lJa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Yv.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Yv.prototype,"data",void 0);Yv=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-playback-status-renderer"})],Yv);
var mJa;
var nJa;
var Zv=function(){return _.K.apply(this,arguments)||this};
_.q(Zv,_.K);Zv.prototype.onDurationChanged=function(a){this.$.progress.style.width=a+"%"};
_.t.Object.defineProperties(Zv,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-resume-playback-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_resume_playback_renderer.ytd.thumbnail.overlay.resume.playback.renderer.css.js--\x3e<div id="progress"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mJa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_resume_playback_renderer.ytd.thumbnail.overlay.resume.playback.renderer.css.js--\x3e<style>:host {display: block;position: absolute;bottom: 0;right: 0;left: 0;height: 4px;background-color: var(--yt-spec-text-disabled);z-index: 1;} #progress {background-color: var(--yt-spec-static-brand-red);height: 100%;} /*# sourceMappingURL=ytd-thumbnail-overlay-resume-playback-renderer.css.map*/</style>";
mJa=d}d=mJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nJa=a}a=nJa;return a}}});
var $v=Zv;$v.prototype.onDurationChanged=$v.prototype.onDurationChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],$v.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$v.prototype,"data",void 0);_.S([_.P("data.percentDurationWatched"),_.T("design:type",Function),_.T("design:paramtypes",[Number]),_.T("design:returntype")],$v.prototype,"onDurationChanged",null);$v=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-resume-playback-renderer"})],$v);
var oJa;
var pJa;
var aw=function(){var a=_.K.apply(this,arguments)||this;a.bottomPanel=!1;a.richGridOverlay=!1;a.watchFeedOverlay=!1;return a};
_.q(aw,_.K);aw.prototype.widthChanged=function(){this.watchFeedOverlay?this.style.width="":this.richGridOverlay||(this.style.width=this.width+"px")};
_.t.Object.defineProperties(aw.prototype,{isIconFilled:{configurable:!0,enumerable:!0,get:function(){var a,b;return"PLAY_ALL"===(null==(a=this.data)?void 0:null==(b=a.icon)?void 0:b.iconType)&&_.x("kevlar_system_icons")}}});
_.t.Object.defineProperties(aw,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-side-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_side_panel_renderer.ytd.thumbnail.overlay.side.panel.renderer.css.js--\x3e<yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n<yt-icon default-to-filled="[[isIconFilled]]" icon="[[data.icon.iconType]]"></yt-icon>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oJa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_side_panel_renderer.ytd.thumbnail.overlay.side.panel.renderer.css.js--\x3e<style>:host {position: absolute;right: 0;top: 0;bottom: 0;background-color: var(--yt-spec-static-overlay-background-heavy);color: var(--yt-spec-static-overlay-text-primary);text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([bottom-panel]) {bottom: 0;height: 40px;top: auto;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([watch-feed-overlay]),:host([rich-grid-overlay]) {width: 33%;} yt-icon {margin: 4px 0 0;} :host([bottom-panel]) yt-icon {margin: 0 8px 0 0;} :host([bottom-panel]) yt-formatted-string {margin-right: 8px;} yt-formatted-string {color: var(--yt-spec-static-overlay-text-primary);} /*# sourceMappingURL=ytd-thumbnail-overlay-side-panel-renderer.css.map*/</style>';
oJa=d}d=oJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pJa=a}a=pJa;return a}}});
var bw=aw;bw.prototype.widthChanged=bw.prototype.widthChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],bw.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],bw.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],bw.prototype,"width",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],bw.prototype,"bottomPanel",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],bw.prototype,"richGridOverlay",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],bw.prototype,"watchFeedOverlay",void 0);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],bw.prototype,"isIconFilled",null);_.S([_.P("width","watchFeedOverlay"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],bw.prototype,"widthChanged",null);bw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-side-panel-renderer"})],bw);
var qJa;
var rJa;
var cw=function(){var a=_.K.apply(this,arguments)||this;a.animated=_.x("animated_live_badge_icon");a.hasIcon=!1;return a};
_.q(cw,_.K);cw.prototype.dataChanged=function(){this.data&&(this.hasIcon=!!this.data.icon)};
_.t.Object.defineProperties(cw.prototype,{overlayStyle:{configurable:!0,enumerable:!0,get:function(){if(this.data&&this.data.style)return this.data.style}},
overlayType:{configurable:!0,enumerable:!0,get:function(){if(this.data&&this.data.type)return this.data.type.replace("THUMBNAIL_OVERLAY_TIME_STATUS_TYPE_","")}}});
_.t.Object.defineProperties(cw,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-time-status-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_time_status_renderer.ytd.thumbnail.overlay.time.status.renderer.css.js--\x3e<yt-icon disable-upgrade$="[[!icon]]" hidden="[[!icon]]" icon="[[icon]]"></yt-icon><span id="text" aria-label$="[[data.text.accessibility.accessibilityData.label]]">\n  [[getSimpleString(data.text)]]\n</span>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qJa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_time_status_renderer.ytd.thumbnail.overlay.time.status.renderer.css.js--\x3e<style>:host {display: inline-block;position: absolute;bottom: 0;right: 0;margin: 4px;color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-static-overlay-background-heavy);padding: 3px 4px;height: 12px;border-radius: 2px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);letter-spacing: var(--yt-badge-letter-spacing,0.5px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} #text {max-height: 1.2rem;overflow: hidden;} :host yt-icon {--iron-icon-height: 16px;--iron-icon-width: 16px;margin-right: 4px;} :host([overlay-style=LIVE]) {background-color: var(--yt-spec-static-overlay-background-brand);} :host([overlay-style=SHORTS]) {background-color: var(--yt-spec-static-brand-white);color: var(--yt-spec-static-brand-black);z-index: 1;} :host([overlay-style=HERO]) {margin: 16px;padding: 6px;z-index: 1;} :host([overlay-type=WATCH_CARD_HERO]) {margin: 16px;padding: 6px;z-index: 1;} :host([overlay-type=CLIP]) {margin-right: 8px;} :host([overlay-type=CLIP]) yt-icon {height: 12px;width: 12px;} :host([overlay-style=LIVE][animated]) yt-icon {animation: 1s infinite icon-mask;} :host([overlay-style=SHORTS]) yt-icon {color: var(--yt-spec-static-brand-red);margin-right: 0;} :host([overlay-style=SHORTS]) #text {display: var(--yt-shorts-compact-label-text-hidden);margin-left: 4px;} @keyframes icon-mask {from {-webkit-clip-path: circle(2px);clip-path: circle(2px);opacity: 50%;}to {-webkit-clip-path: circle(16px);clip-path: circle(16px);opacity: 100%;}} /*# sourceMappingURL=ytd-thumbnail-overlay-time-status-renderer.css.map*/</style>";
qJa=d}d=qJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rJa=a}a=rJa;return a}}});
var dw=cw;dw.prototype.dataChanged=dw.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],dw.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],dw.prototype,"data",void 0);_.S([_.N({computed:"computeIcon_(data.icon)"}),_.T("design:type",String)],dw.prototype,"icon",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],dw.prototype,"animated",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],dw.prototype,"hasIcon",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],dw.prototype,"dataChanged",null);_.S([_.N({reflectToAttribute:!0}),_.V("data.style"),_.T("design:type",Object),_.T("design:paramtypes",[])],dw.prototype,"overlayStyle",null);_.S([_.N({reflectToAttribute:!0}),_.V("data.type"),_.T("design:type",Object),_.T("design:paramtypes",[])],dw.prototype,"overlayType",null);
dw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-time-status-renderer"})],dw);
var sJa;
var tJa;
var ew=function(){var a=_.K.apply(this,arguments)||this;a.DEFAULT_TOOLTIP_OFFSET="10";a.TOOLTIP_OFFSET_NO_BANNER="-8";a.badges=null;a.noEndpoints=!1;a.wrapText=!1;a.forceVerified=!1;a.tooltipPosition="top";a.height=0;a.lineHeight=0;return a};
_.q(ew,_.K);_.f=ew.prototype;_.f.registerTargetId=function(){var a=this.get("badges.0.metadataBadgeRenderer.targetId");a&&_.x("enable_unified_verified_badge")&&_.oGa(a,this)};
_.f.created=function(){this.ytActionHandlerBehavior.actionMap={"yt-window-resized":"handleWindowResized"}};
_.f.attached=function(){var a=this;this.observer=new MutationObserver(function(b,c){a.handleResized();c.disconnect()});
this.observer.observe(this.textEl,{childList:!0})};
_.f.detached=function(){this.observer&&this.observer.disconnect()};
_.f.handleWindowResized=function(){this.handleResized()};
_.f.onChannelNameChanged=function(){this.verified?this.handleResized():(this.textEl&&this.textEl.style.removeProperty("width"),this.textContainerEl&&(this.textContainerEl.style.removeProperty("padding"),this.textContainerEl.style.removeProperty("margin-right"),this.textContainerEl.style.removeProperty("margin-left")))};
_.f.onHeightChanged=function(){if(this.verified){var a=Math.ceil(this.height*Math.tan(30*Math.PI/180))+"px";"rtl"===_.w("HTML_DIR")?this.textContainerEl.style.marginLeft=a:this.textContainerEl.style.marginRight=a}};
_.f.onLineHeightChanged=function(){this.verified&&(24<=this.lineHeight||0===this.lineHeight&&24<=this.height)&&(this.textContainerEl.style.padding="rtl"===_.w("HTML_DIR")?"0 6px 0 2px":"0 2px 0 6px")};
_.f.handleResized=function(){var a=this;this.verified&&_.xe.addLowPriorityJob(function(){a.fitBackgroundToText();var b=getComputedStyle(a).lineHeight;b&&(b=b.match(/\d+/))&&b.length&&(a.lineHeight=Number(b[0]));a.height=a.lineHeight&&!a.wrapText?a.lineHeight:a.textEl.offsetHeight})};
_.f.fitBackgroundToText=function(){if(this.verified&&this.wrapText){this.textEl.style.width="unset";var a=document.createRange(),b=_.H(this.textEl.root).children;0<b.length?a.selectNodeContents(b[0]):a.selectNodeContents(this.textEl);this.textEl.style.width=Math.ceil(a.getBoundingClientRect().width)+"px"}};
_.f.computeChannelBadgeStyle=function(a){var b;if((null==a?0:null==(b=a.runs)?0:b.length)&&a.runs[0].textColor)return _.ou({"--ytd-badge-icon-color":_.ru(a.runs[0].textColor)})};
_.t.Object.defineProperties(ew.prototype,{verified:{configurable:!0,enumerable:!0,get:function(){return!(!this.forceVerified&&"BADGE_STYLE_TYPE_UNIFIED_VERIFIED"!==this.get("badges.0.metadataBadgeRenderer.style"))}},
hideBadges:{configurable:!0,enumerable:!0,get:function(){return this.verified||!this.badges||0===this.badges.length}},
formattedName:{configurable:!0,enumerable:!0,get:function(){return"string"===typeof this.channelName?_.Mu(this.channelName):this.channelName}},
tooltipText:{configurable:!0,enumerable:!0,get:function(){if(this.verified){if(this.tooltip)return this.tooltip;var a=this.get("badges.0.metadataBadgeRenderer.tooltip");if(a)return a}return _.qi(this.formattedName)}},
tooltipOffset:{configurable:!0,enumerable:!0,get:function(){return this.hasChannelArt?this.DEFAULT_TOOLTIP_OFFSET:this.TOOLTIP_OFFSET_NO_BANNER}}});
_.t.Object.defineProperties(ew,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tJa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-name--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_channel_name.ytd.channel.name.css.js--\x3e<div id="container">\n  <div id="text-container">\n    <yt-formatted-string id="text" ellipsis-truncate="[[!wrapText]]" no-endpoints="[[noEndpoints]]" text="[[formattedName]]" title="">\n    </yt-formatted-string>\n  </div>\n  <tp-yt-paper-tooltip fit-to-visible-bounds="" offset="[[tooltipOffset]]" position="[[tooltipPosition]]">\n    [[tooltipText]]\n  </tp-yt-paper-tooltip>\n</div>\n<ytd-badge-supported-renderer badges="[[badges]]" disable-upgrade$="[[!badges]]" hidden="[[hideBadges]]" style$="[[computeChannelBadgeStyle(formattedName)]]">\n</ytd-badge-supported-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sJa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_channel_name.ytd.channel.name.css.js--\x3e<style>:host {z-index: 300;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} ytd-badge-supported-renderer {display: var(--ytd-channel-name-badges-display,flex);margin-right: var(--ytd-channel-name-badges-margin-right);} #container {display: var(--ytd-channel-name-container-display,inline-block);overflow: hidden;max-width: 100%;} :host([verified]) #container {display: inline-block;} #text-container {display: var(--ytd-channel-name-text-container-display,block);} :host([verified]) #text-container {z-index: 1;box-sizing: border-box;margin-right: 11px;padding: 0 1px 0 4px;display: block;position: relative;} :host([verified]) #text-container::after {content: "";background-color: var(--ytd-channel-name-verified-background,var(--yt-spec-verified-badge-background));transform: skewX(-30deg);transform-origin: bottom;z-index: -1;position: absolute;top: 0;left: -60px;bottom: 0;right: 0;} :host(:dir(rtl)) #text-container::after {transform: skewX(30deg);} #text {display: var(--ytd-channel-name-text-display);-webkit-box-orient: vertical;-webkit-line-clamp: var(--ytd-channel-name-text-line-clamp,inherit);word-break: break-word;font-size: var(--ytd-channel-name-text-font-size);font-weight: var(--ytd-channel-name-text-font-weight);line-height: var(--ytd-channel-name-text-line-height);} #text.complex-string {display: var(--ytd-channel-name-text-complex-display);} :host([verified]) #text {display: block;} :host([verified][wrap-text]) #text {display: -webkit-box;} :host([verified]:not([wrap-text])) #text {overflow: hidden;} tp-yt-paper-tooltip {display: var(--yt-paper-tooltip-display);} /*# sourceMappingURL=ytd-channel-name.css.map*/</style>';
sJa=d}d=sJa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tJa=a}a=tJa;return a}}});
var fw=ew;fw.prototype.onLineHeightChanged=fw.prototype.onLineHeightChanged;fw.prototype.onHeightChanged=fw.prototype.onHeightChanged;fw.prototype.onChannelNameChanged=fw.prototype.onChannelNameChanged;fw.prototype.registerTargetId=fw.prototype.registerTargetId;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],fw.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],fw.prototype,"badges",void 0);
_.S([_.N(),_.T("design:type",Object)],fw.prototype,"channelName",void 0);_.S([_.N(),_.T("design:type",Object)],fw.prototype,"noEndpoints",void 0);_.S([_.N(),_.T("design:type",Boolean)],fw.prototype,"wrapText",void 0);_.S([_.N(),_.T("design:type",Boolean)],fw.prototype,"forceVerified",void 0);_.S([_.N(),_.T("design:type",String)],fw.prototype,"tooltipPosition",void 0);_.S([_.N(),_.T("design:type",String)],fw.prototype,"tooltip",void 0);
_.S([_.N(),_.T("design:type",Boolean)],fw.prototype,"hasChannelArt",void 0);_.S([_.Z("#text-container"),_.T("design:type",HTMLElement)],fw.prototype,"textContainerEl",void 0);_.S([_.Z("#text"),_.T("design:type",_.K)],fw.prototype,"textEl",void 0);_.S([_.Z("#verified-tooltip"),_.T("design:type",HTMLElement)],fw.prototype,"verifiedTooltip",void 0);_.S([_.N(),_.T("design:type",Number)],fw.prototype,"height",void 0);_.S([_.N(),_.T("design:type",Number)],fw.prototype,"lineHeight",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("badges","forceVerified"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],fw.prototype,"verified",null);_.S([_.V("badges","verified"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],fw.prototype,"hideBadges",null);_.S([_.V("channelName"),_.T("design:type",Object),_.T("design:paramtypes",[])],fw.prototype,"formattedName",null);
_.S([_.V("badges","verified","formattedName"),_.T("design:type",String),_.T("design:paramtypes",[])],fw.prototype,"tooltipText",null);_.S([_.V("hasChannelArt"),_.T("design:type",String),_.T("design:paramtypes",[])],fw.prototype,"tooltipOffset",null);_.S([_.P("badges"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fw.prototype,"registerTargetId",null);
_.S([_.P("channelName"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fw.prototype,"onChannelNameChanged",null);_.S([_.P("height"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fw.prototype,"onHeightChanged",null);_.S([_.P("lineHeight","height"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fw.prototype,"onLineHeightChanged",null);fw=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-name"})],fw);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy11");

var XLa;
var YLa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==YLa)return YLa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-item-body--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_item.tp.yt.paper.item.body.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===XLa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_item.tp.yt.paper.item.body.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  overflow: hidden;\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: column;\n  -webkit-flex-direction: column;\n  flex-direction: column;\n  -ms-flex-pack: center;\n  -webkit-justify-content: center;\n  justify-content: center;\n  -ms-flex: 1 1 0.000000001px;\n  -webkit-flex: 1;\n  flex: 1;\n  -webkit-flex-basis: 0.000000001px;\n  flex-basis: 0.000000001px;\n}\n\n:host([two-line]) {\n  min-height: var(--paper-item-body-two-line-min-height, 72px);\n}\n\n:host([three-line]) {\n  min-height: var(--paper-item-body-three-line-min-height, 88px);\n}\n\n:host > ::slotted(*) {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n:host > ::slotted([secondary]) {\n  @apply --paper-font-body1;\n  color: var(--paper-item-body-secondary-color, var(--secondary-text-color));\n}\n\n/*# sourceMappingURL=tp-yt-paper-item-body.css.map */</style>";
XLa=d}d=XLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return YLa=a},
is:"tp-yt-paper-item-body"});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy12");

var VLa;
var WLa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==WLa)return WLa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-item--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_item.tp.yt.paper.item.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===VLa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_item.tp.yt.paper.item.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n*/\n/* autoprefixer: off */\n:host,\n.tp-yt-paper-item {\n  display: block;\n  position: relative;\n  min-height: var(--paper-item-min-height, 48px);\n  padding: 0px 16px;\n}\n\n.tp-yt-paper-item {\n  @apply --paper-font-subhead;\n  border: none;\n  outline: none;\n  background: white;\n  width: 100%;\n  text-align: left;\n}\n\n:host([hidden]),\n.tp-yt-paper-item[hidden] {\n  display: none !important;\n}\n\n:host(.iron-selected),\n.tp-yt-paper-item.iron-selected {\n  font-weight: var(--paper-item-selected-weight, bold);\n  background: var(--paper-item-selected-background);\n}\n\n:host([disabled]),\n.tp-yt-paper-item[disabled] {\n  color: var(--paper-item-disabled-color, var(--disabled-text-color));\n}\n\n:host(:focus),\n.tp-yt-paper-item:focus {\n  position: relative;\n  outline: 0;\n  background-color: var(--paper-item-focused-background-color);\n}\n\n:host(:focus):before,\n.tp-yt-paper-item:focus:before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  pointer-events: none;\n  background: var(--paper-item-focused-before-background, currentColor);\n  border-radius: var(--paper-item-focused-before-border-radius, 0);\n  content: var(--paper-item-focused-before-content, "");\n  opacity: var(--paper-item-focused-before-opacity, var(--dark-divider-opacity, 0.12));\n}\n\n:host {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  @apply --paper-font-subhead;\n  @apply --paper-item;\n  min-height: var(--paper-item-min-height, 48px);\n}\n\n/*# sourceMappingURL=tp-yt-paper-item.css.map */</style>';
VLa=d}d=VLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return WLa=a},
is:"tp-yt-paper-item",behaviors:[_.ox]});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1o");

_.Xu=function(a){return a.ui.richGridMiniMode};
_.Yu=function(a){return a.ui.richGridItemsPerRow};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy13");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.cFa={properties:{active:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"__activeChanged"},alt:{type:String,value:"loading",observer:"__altChanged"},__coolingDown:{type:Boolean,value:!1}},__computeContainerClasses:function(a,b){return[a||b?"active":"",b?"cooldown":""].join(" ")},
__activeChanged:function(a,b){this.__setAriaHidden(!a);this.__coolingDown=!a&&b},
__altChanged:function(a){"loading"===a?this.alt=this.getAttribute("aria-label")||a:(this.__setAriaHidden(""===a),this.setAttribute("aria-label",a))},
__setAriaHidden:function(a){a?this.setAttribute("aria-hidden","true"):this.removeAttribute("aria-hidden")},
__reset:function(){this.__coolingDown=this.active=!1}};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syx");

var ELa=document.createElement("template");ELa.innerHTML='<custom-style><style is="custom-style">/* autoprefixer: off */\nhtml {\n  --paper-input-container-shared-input-style: {\n    position: relative; /* to make a stacking context */\n    outline: none;\n    box-shadow: none;\n    padding: 0;\n    margin: 0;\n    width: 100%;\n    max-width: 100%;\n    background: transparent;\n    border: none;\n    color: var(--paper-input-container-input-color, var(--primary-text-color));\n    -webkit-appearance: none;\n    text-align: inherit;\n    vertical-align: var(--paper-input-container-input-align, bottom);\n    @apply --paper-font-subhead;\n  };\n}</style></custom-style>';
document.head.appendChild(ELa.content);
var FLa;
var GLa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==GLa)return GLa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-input-container--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.container.css.js--\x3e<div class="floated-label-placeholder" aria-hidden="true" hidden="[[noLabelFloat]]">\n  &nbsp;\n</div>\n\n<div class="input-wrapper">\n  <span class="prefix"><slot name="prefix"></slot></span>\n\n  <div class$="[[_computeInputContentClass(noLabelFloat,alwaysFloatLabel,focused,invalid,_inputHasContent)]]" id="labelAndInputContainer">\n    <slot name="label"></slot>\n    <slot name="input"></slot><slot name="after-input"></slot>\n  </div>\n\n  <span class="suffix"><slot name="suffix"></slot></span>\n</div>\n\n<div class$="[[_computeUnderlineClass(focused,invalid)]]">\n  <div class="unfocused-line"></div>\n  <div class="focused-line"></div>\n</div>\n\n<div class$="[[_computeAddOnContentClass(focused,invalid)]]">\n  <slot name="add-on"></slot>\n</div>\n';
var b=a.content,c=b.insertBefore;if(void 0===FLa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.container.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: block;\n  padding: 8px 0;\n}\n\n:host([inline]) {\n  display: inline-block;\n}\n\n:host([disabled]) {\n  pointer-events: none;\n  color: var(--paper-input-container-disabled-color);\n  opacity: var(--paper-input-container-disabled-opacity, 0.33);\n}\n\n:host([hidden]) {\n  display: none !important;\n}\n\n[hidden] {\n  display: none !important;\n}\n\n.floated-label-placeholder {\n  display: var(--paper-input-container-floated-label-placeholder-display, block);\n  font-family: "Roboto", "Noto", sans-serif;\n  -webkit-font-smoothing: antialiased;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-size: 12px;\n  font-weight: 400;\n  letter-spacing: 0.011em;\n  line-height: 20px;\n}\n\n.underline {\n  height: var(--paper-input-container-underline-wrapper-height, 2px);\n  position: relative;\n}\n\n.focused-line {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  -webkit-transform-origin: center center;\n  transform-origin: center center;\n  -webkit-transform: scale3d(0, 1, 1);\n  transform: scale3d(0, 1, 1);\n  display: var(--paper-input-container-underline-focus-display, block);\n  border-color: var(--paper-input-container-underline-focus-border-color);\n  border-bottom: var(--paper-input-container-underline-focus-height, 2px) solid var(--paper-input-container-underline-focus-border-color, var(--paper-input-container-underline-focus-color, var(--paper-input-container-focus-color, var(--primary-color))));\n}\n\n.underline.is-highlighted .focused-line {\n  -webkit-transform: none;\n  transform: none;\n  -webkit-transition: -webkit-transform 0.25s;\n  transition: transform 0.25s;\n}\n\n.underline.is-invalid .focused-line {\n  border-bottom: var(--paper-input-container-underline-focus-height, 2px) solid var(--paper-input-container-underline-invalid-focus-color, var(--paper-input-container-invalid-color, var(--error-color)));\n  -webkit-transform: none;\n  transform: none;\n  -webkit-transition: -webkit-transform 0.25s;\n  transition: transform 0.25s;\n  display: var(--paper-input-container-underline-focus-display, block);\n}\n\n.unfocused-line {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: var(--paper-input-container-underline-background);\n  border-bottom: var(--paper-input-container-underline-border-bottom, var(--paper-input-container-underline-height, 1px solid var(--paper-input-container-underline-color, var(--paper-input-container-color, var(--secondary-text-color)))));\n  box-sizing: var(--paper-input-container-underline-box-sizing);\n  display: var(--paper-input-container-underline-display, block);\n  height: var(--paper-input-container-underline-height, var(--paper-input-container-underline-legacy-height));\n}\n\n:host([disabled]) .unfocused-line {\n  border-bottom: var(--paper-input-container-underline-height, 1px) var(--paper-input-container-underline-disabled-border-bottom-style, dashed) var(--paper-input-container-underline-color, var(--paper-input-container-color, var(--secondary-text-color)));\n  display: var(--paper-input-container-underline-disabled-display, block);\n}\n\n.input-wrapper {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  position: relative;\n}\n\n.input-content {\n  -ms-flex: 1 1 auto;\n  -webkit-flex: 1 1 auto;\n  flex: 1 1 auto;\n  position: relative;\n  max-width: 100%;\n}\n\n.input-content ::slotted(label),\n.input-content ::slotted(.paper-input-label) {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  font: inherit;\n  color: var(--paper-input-container-color, var(--secondary-text-color));\n  -webkit-transition: -webkit-transform 0.25s, width 0.25s;\n  transition: transform 0.25s, width 0.25s;\n  -webkit-transform-origin: left top;\n  transform-origin: left top;\n  min-height: 1px;\n  @apply --paper-font-common-nowrap;\n  @apply --paper-font-subhead;\n  @apply --paper-input-container-label;\n}\n\n.input-content.label-is-floating ::slotted(label),\n.input-content.label-is-floating ::slotted(.paper-input-label) {\n  -webkit-transform: translateY(-75%) scale(0.75);\n  transform: translateY(-75%) scale(0.75);\n  width: 133%;\n  @apply --paper-input-container-label-floating;\n}\n\n:host(:dir(rtl)) .input-content.label-is-floating ::slotted(label),\n:host(:dir(rtl)) .input-content.label-is-floating ::slotted(.paper-input-label) {\n  right: 0;\n  left: auto;\n  -webkit-transform-origin: right top;\n  transform-origin: right top;\n}\n\n.input-content.label-is-highlighted ::slotted(label),\n.input-content.label-is-highlighted ::slotted(.paper-input-label) {\n  color: var(--paper-input-container-label-focus-color, var(--paper-input-container-focus-color, var(--primary-color)));\n}\n\n.input-content.is-invalid ::slotted(label),\n.input-content.is-invalid ::slotted(.paper-input-label) {\n  color: var(--paper-input-container-invalid-color, var(--error-color));\n}\n\n.input-content.label-is-hidden ::slotted(label),\n.input-content.label-is-hidden ::slotted(.paper-input-label) {\n  visibility: hidden;\n}\n\n.input-content ::slotted(input),\n.input-content ::slotted(iron-input),\n.input-content ::slotted(textarea),\n.input-content ::slotted(iron-autogrow-textarea),\n.input-content ::slotted(.paper-input-input) {\n  @apply --paper-input-container-shared-input-style;\n  color: var(--paper-input-container-input-color, var(--primary-text-color));\n  @apply --paper-input-container-input;\n}\n\n.input-content ::slotted(input)::-webkit-outer-spin-button,\n.input-content ::slotted(input)::-webkit-inner-spin-button {\n  -webkit-appearance: var(--paper-input-container-input-webkit-spinner--webkit-appearance);\n  display: var(--paper-input-container-input-webkit-spinner-display);\n}\n\n.prefix ::slotted(*) {\n  display: inline-block;\n  @apply --paper-font-subhead;\n  -ms-flex: none;\n  -webkit-flex: none;\n  flex: none;\n  color: var(--paper-input-prefix-color);\n}\n\n.suffix ::slotted(*) {\n  display: inline-block;\n  @apply --paper-font-subhead;\n  -ms-flex: none;\n  -webkit-flex: none;\n  flex: none;\n  top: var(--paper-input-suffix-top);\n}\n\n.input-content ::slotted(input) {\n  min-width: 0;\n}\n\n.input-content ::slotted(textarea) {\n  resize: none;\n}\n\n.add-on-content {\n  position: relative;\n}\n\n.add-on-content.is-invalid ::slotted(*) {\n  color: var(--paper-input-container-invalid-color, var(--error-color));\n}\n\n.add-on-content.is-highlighted ::slotted(*) {\n  color: var(--paper-input-container-focus-color, var(--primary-color));\n}\n\n/*# sourceMappingURL=tp-yt-paper-input-container.css.map */</style>';
FLa=d}d=FLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return GLa=a},
is:"tp-yt-paper-input-container",hostAttributes:{"style-target":"host"},properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},noUnfloatedLabelError:{type:Boolean,value:!1},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,iron-input,textarea,.paper-input-input"},
_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},
_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},
_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},
_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},
listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return _.dc(this.attrForValue)},get _inputElement(){return _.H(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this.__isFirstValueUpdate=!0;this._addons||(this._addons=[]);this.addEventListener("focus",this._boundOnFocus,
!0);this.addEventListener("blur",this._boundOnBlur,!0)},
attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput);this._inputElementValue&&""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},
_onAddonAttached:function(a){this._addons||(this._addons=[]);a=a.target;-1===this._addons.indexOf(a)&&(this._addons.push(a),this.isAttached&&this._handleValue(this._inputElement))},
_onFocus:function(){this._setFocused(!0)},
_onBlur:function(){this._setFocused(!1);this._handleValueAndAutoValidate(this._inputElement)},
_onInput:function(a){this._handleValueAndAutoValidate(a.target)},
_onValueChanged:function(a){var b=a.target;if(this.__isFirstValueUpdate&&(this.__isFirstValueUpdate=!1,void 0===b.value||""===b.value))return;this._handleValueAndAutoValidate(a.target)},
_handleValue:function(a){var b=this._inputElementValue;b||0===b||"number"===a.type&&!a.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1;this.updateAddons({inputElement:a,value:b,invalid:this.invalid})},
_handleValueAndAutoValidate:function(a){this.autoValidate&&a&&(this.invalid=!(a.validate?a.validate(this._inputElementValue):a.checkValidity()));this._handleValue(a)},
_onIronInputValidate:function(){this.invalid=this._inputElement.invalid},
_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},
updateAddons:function(a){for(var b,c=0;b=this._addons[c];c++)b.update(a)},
_computeInputContentClass:function(a,b,c,d,e){var h="input-content";a?(e&&(h+=" label-is-hidden"),d&&!this.noUnfloatedLabelError&&(h+=" is-invalid")):(a=this.querySelector("label"),b||e?(h+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",d?h+=" is-invalid":c&&(h+=" label-is-highlighted")):(a&&(this.$.labelAndInputContainer.style.position="relative"),d&&!this.noUnfloatedLabelError&&(h+=" is-invalid")));c&&(h+=" focused");return h},
_computeUnderlineClass:function(a,b){var c="underline";b?c+=" is-invalid":a&&(c+=" is-highlighted");return c},
_computeAddOnContentClass:function(a,b){var c="add-on-content";b?c+=" is-invalid":a&&(c+=" is-highlighted");return c}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1v");

var FNa;
var GNa;
var oy=function(){return _.K.apply(this,arguments)||this};
_.q(oy,_.K);oy.prototype.ready=function(){var a=this;this.$.undo.addEventListener("tap",function(){a.onUndoTap()})};
oy.prototype.onUndoTap=function(){_.Kg(this,[this.data.undoEndpoint])};
_.t.Object.defineProperties(oy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===GNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-notification-text-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_notification_text_renderer.ytd.notification.text.renderer.css.js--\x3e<yt-formatted-string text="[[data.successResponseText]]"></yt-formatted-string>\n<yt-formatted-string id="undo" text="[[data.undoText]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FNa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_notification_text_renderer.ytd.notification.text.renderer.css.js--\x3e<style>:host {-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} yt-formatted-string {color: var(--yt-spec-text-secondary);display: block;padding: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #undo {cursor: pointer;color: var(--yt-spec-call-to-action);font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} /*# sourceMappingURL=ytd-notification-text-renderer.css.map*/</style>';
FNa=d}d=FNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);GNa=a}a=GNa;return a}}});
var py=oy;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],py.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],py.prototype,"data",void 0);py=_.S([_.Q({is:"ytd-notification-text-renderer"})],py);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1u");

var DNa;
var ENa;
var my=function(){return _.K.apply(this,arguments)||this};
_.q(my,_.K);my.prototype.configureRendererStamper=function(){return{"data.buttons":{id:"buttons",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{ellipsisTruncate:!0}}}}}};
_.t.Object.defineProperties(my.prototype,{text:{configurable:!0,enumerable:!0,get:function(){if(this.data)return this.ytRendererBehavior.getSimpleString(this.data.responseText)}}});
_.t.Object.defineProperties(my,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ENa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-notification-multi-action-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_notification_multi_action_renderer.ytd.notification.multi.action.renderer.css.js--\x3e<span id="text">[[text]]</span>\n<div id="buttons"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DNa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_notification_multi_action_renderer.ytd.notification.multi.action.renderer.css.js--\x3e<style>:host {display: block;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #text {color: var(--yt-spec-text-secondary);display: block;margin: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([shelf-dismissal]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([shelf-dismissal]) #text {margin: var(--ytd-margin-3x) var(--ytd-margin-4x) var(--ytd-margin-3x) 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} ytd-button-renderer {max-width: 100%;} /*# sourceMappingURL=ytd-notification-multi-action-renderer.css.map*/</style>';
DNa=d}d=DNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ENa=a}a=ENa;return a}}});
var ny=my;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],ny.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ny.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ny.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],ny.prototype,"shelfDismissal",void 0);
_.S([_.V("data.responseText"),_.T("design:type",Object),_.T("design:paramtypes",[])],ny.prototype,"text",null);ny=_.S([_.Q({asyncProperties:!0,is:"ytd-notification-multi-action-renderer"})],ny);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1t");

var BNa;_.ANa=function(a,b){return _.Yg(a.entities,"upcomingEventReminderStateEntity",b)};
_.jy=function(a,b,c){return _.Rg({type:"REPLACE_ENTITY",payload:{entityPayload:c,entityType:a,key:b}})};
var CNa;
var ky=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-update-upcoming-event-reminder-button-state-command":"handleUpdateUpcomingEventReminderButtonStateCommand"};return a};
_.q(ky,_.K);_.f=ky.prototype;_.f.configureRendererStamper=function(){return{"currentButtonStateRenderer.button":{id:"button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{buttonTooltipPosition:"top"}}}}}};
_.f.onSeriesReminderStateEntityChange=function(){var a,b,c;(null==(a=this.eventReminderStateEntity)?0:a.key)&&"SPORTS_SERIES_REMINDER_STATE_ALL"===(null==(b=this.seriesReminderStateEntity)?void 0:b.state)&&"UPCOMING_EVENT_REMINDER_STATE_SINGLE"===(null==(c=this.eventReminderStateEntity)?void 0:c.state)&&this.ytdReduxBehavior.dispatch(_.jy("upcomingEventReminderStateEntity",this.eventReminderStateEntity.key,Object.assign({},this.eventReminderStateEntity,{state:"UPCOMING_EVENT_REMINDER_STATE_NONE"})))};
_.f.onYtServiceRequestCompleted=function(){this.set("data.currentState",this.getButtonStateFromReminderState())};
_.f.onYtServiceRequestError=function(){var a;this.updateReminderStateEntitiesFromButtonState(null==(a=this.data)?void 0:a.currentState)};
_.f.handleUpdateUpcomingEventReminderButtonStateCommand=function(a){if(a.updateUpcomingEventReminderButtonStateCommand){var b,c=null==(b=this.data)?void 0:b.targetId;c&&a.updateUpcomingEventReminderButtonStateCommand.targetId===c&&this.async(this.updateReminderStateEntitiesFromButtonState.bind(this,a.updateUpcomingEventReminderButtonStateCommand.state))}};
_.f.getButtonStateFromReminderState=function(){var a;if("SPORTS_SERIES_REMINDER_STATE_ALL"===(null==(a=this.seriesReminderStateEntity)?void 0:a.state))return"UPCOMING_EVENT_REMINDER_BUTTON_STATE_SERIES";var b;if("UPCOMING_EVENT_REMINDER_STATE_SINGLE"===(null==(b=this.eventReminderStateEntity)?void 0:b.state))return"UPCOMING_EVENT_REMINDER_BUTTON_STATE_SINGLE";var c,d;if("SPORTS_SERIES_REMINDER_STATE_NONE"===(null==(c=this.seriesReminderStateEntity)?void 0:c.state)&&"UPCOMING_EVENT_REMINDER_STATE_NONE"===
(null==(d=this.eventReminderStateEntity)?void 0:d.state))return"UPCOMING_EVENT_REMINDER_BUTTON_STATE_NONE";var e;return null==(e=this.data)?void 0:e.currentState};
_.f.updateReminderStateEntitiesFromButtonState=function(a){if(a){switch(a){case "UPCOMING_EVENT_REMINDER_BUTTON_STATE_SERIES":a="UPCOMING_EVENT_REMINDER_STATE_NONE";var b="SPORTS_SERIES_REMINDER_STATE_ALL";break;case "UPCOMING_EVENT_REMINDER_BUTTON_STATE_SINGLE":a="UPCOMING_EVENT_REMINDER_STATE_SINGLE";b="SPORTS_SERIES_REMINDER_STATE_NONE";break;case "UPCOMING_EVENT_REMINDER_BUTTON_STATE_NONE":a="UPCOMING_EVENT_REMINDER_STATE_NONE";b="SPORTS_SERIES_REMINDER_STATE_NONE";break;default:return}var c;
(null==(c=this.eventReminderStateEntity)?0:c.key)&&this.ytdReduxBehavior.dispatch(_.jy("upcomingEventReminderStateEntity",this.eventReminderStateEntity.key,Object.assign({},this.eventReminderStateEntity,{state:a})));var d;(null==(d=this.seriesReminderStateEntity)?0:d.key)&&this.ytdReduxBehavior.dispatch(_.jy("sportsSeriesReminderStateEntity",this.seriesReminderStateEntity.key,Object.assign({},this.seriesReminderStateEntity,{state:b})))}};
_.t.Object.defineProperties(ky.prototype,{currentButtonStateRenderer:{configurable:!0,enumerable:!0,get:function(){var a=this.getButtonStateFromReminderState(),b,c;if(a&&(null==(b=this.data)?0:null==(c=b.states)?0:c.length))for(b=_.k(this.data.states),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;if((null==(d=c.upcomingEventReminderButtonStateRenderer)?void 0:d.state)===a)return c.upcomingEventReminderButtonStateRenderer}}}});
_.t.Object.defineProperties(ky,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-upcoming-event-reminder-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sports.ytd_upcoming_event_reminder_button_renderer.ytd.upcoming.event.reminder.button.renderer.css.js--\x3e<div id="button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sports.ytd_upcoming_event_reminder_button_renderer.ytd.upcoming.event.reminder.button.renderer.css.js--\x3e<style>:host {--yt-button-tooltip-z-index: 2300;display: block;} /*# sourceMappingURL=ytd-upcoming-event-reminder-button-renderer.css.map*/</style>";
BNa=d}d=BNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CNa=a}a=CNa;return a}}});
var ly=ky;ly.prototype.onYtServiceRequestError=ly.prototype.onYtServiceRequestError;ly.prototype.onYtServiceRequestCompleted=ly.prototype.onYtServiceRequestCompleted;ly.prototype.onSeriesReminderStateEntityChange=ly.prototype.onSeriesReminderStateEntityChange;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],ly.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ly.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],ly.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],ly.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ly.prototype,"data",void 0);_.S([_.N({selectorArgs:["data.upcomingEventData.reminderStateEntityKey"],selector:_.ANa}),_.T("design:type",Object)],ly.prototype,"eventReminderStateEntity",void 0);
_.S([_.N({selectorArgs:["eventReminderStateEntity.seriesReminderState"],selector:function(a,b){return _.Yg(a.entities,"sportsSeriesReminderStateEntity",b)}}),
_.T("design:type",Object)],ly.prototype,"seriesReminderStateEntity",void 0);_.S([_.V("data.currentState","eventReminderStateEntity","seriesReminderStateEntity"),_.T("design:type",Object),_.T("design:paramtypes",[])],ly.prototype,"currentButtonStateRenderer",null);_.S([_.P("seriesReminderStateEntity"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ly.prototype,"onSeriesReminderStateEntityChange",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ly.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ly.prototype,"onYtServiceRequestError",null);ly=_.S([_.Q({asyncProperties:!0,is:"ytd-upcoming-event-reminder-button-renderer"})],ly);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1j");

var wNa,xNa,zNa;
_.yNa=function(a){return(a=wNa(a,function(b){if(_.ok(b)){var c;if((c="A"==b.tagName&&b.hasAttribute("href")||"INPUT"==b.tagName||"TEXTAREA"==b.tagName||"SELECT"==b.tagName||"BUTTON"==b.tagName?!b.disabled&&(!b.hasAttribute("tabindex")||xNa(b)):b.hasAttribute("tabindex")&&xNa(b))&&_.Cj){var d;"function"!==typeof b.getBoundingClientRect||_.Cj&&null==b.parentElement?d={height:b.offsetHeight,width:b.offsetWidth}:d=b.getBoundingClientRect();c=null!=d&&0<d.height&&0<d.width}b=c&&!!b.offsetParent}else b=!1;
return b}))?a:null};
_.fy=function(a,b){a.hasAttribute("tabindex")||a.setAttribute("tabindex","-1");a.focus(b)};
_.gy=function(a){var b=_.yNa(a);b?b.focus():_.fy(a)};
wNa=function(a,b){var c=[];return _.EJa(a,b,c,!0)?c[0]:void 0};
xNa=function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a};
zNa=function(){var a=_.vt.apply(this,arguments)||this;a._noAccessors=!0;a.followUpDialogPromise_=null;a.followUpDialogPromiseResolve_=null;a.followUpDialogPromiseReject_=null;return a};
_.q(zNa,_.vt);_.f=zNa.prototype;_.f.dismissibleItemIsDismissedChanged_=function(a){_.x("kevlar_fluid_dismiss")&&(a?this.fire("yt-dismissible-item-dismissed"):this.fire("yt-dismissible-item-undismissed"))};
_.f.dismissibleItemDataChanged_=function(){this.dismissibleItemReset_()};
_.f.dismissibleItemReset_=function(){var a=this;this.isDismissed&&(this.isHideEnclosingAction=this.isDismissed=!1);this.dismissedRenderer&&(this.dismissedRenderer=void 0);this.followUpDialogPromiseReject_&&(this.followUpDialogPromise_.thenCatch(function(){}),this.followUpDialogPromiseReject_());
this.followUpDialogPromise_=new _.wf(function(b,c){a.followUpDialogPromiseResolve_=b;a.followUpDialogPromiseReject_=c});
this.fire("yt-enable-lockup-interaction")};
_.f.dismissibleItemOnYtServiceRequestSent_=function(a,b){b.actions&&this.dismissibleItemProcessActions_(a,b.actions)};
_.f.dismissibleItemProcessActions_=function(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.commandExecutorCommand&&d.commandExecutorCommand.commands&&this.dismissibleItemProcessActions_(a,d.commandExecutorCommand.commands);d.replaceEnclosingAction?(this.dismissibleItemHandleReplaceEnclosingAction_(d.replaceEnclosingAction),a.stopPropagation()):d.hideEnclosingAction?(this.dismissibleItemHandleHideEnclosingAction_(),a.stopPropagation()):d.undoFeedbackAction?(this.dismissibleItemHandleUndoFeedbackAction_(),
a.stopPropagation()):d.signalServiceEndpoint?((d=d.signalServiceEndpoint.actions)&&_.Lg(this,d,this),a.stopPropagation()):d.signalAction&&"TELL_US_WHY"==d.signalAction.signal&&(this.dismissibleItemHandleTellUsWhySignalAction_(),a.stopPropagation())}};
_.f.dismissibleItemOnYtServiceRequestCompleted_=function(a,b){var c=this.get("feedbackResponses.0.followUpDialog",b.data);c?this.followUpDialogPromiseResolve_(c):b.actions&&!this.dismissedRenderer&&this.dismissibleItemProcessActions_(a,b.actions)};
_.f.dismissibleItemHandleReplaceEnclosingAction_=function(a){this.dismissedRenderer=a.item;this.isDismissed=!0;var b;this.$&&(b=this.$.dismissed);b&&_.nt(this,function(){_.gy(b)});
this.fire("yt-disable-lockup-interaction")};
_.f.dismissibleItemHandleHideEnclosingAction_=function(){this.isHideEnclosingAction=this.isDismissed=!0};
_.f.dismissibleItemHandleUndoFeedbackAction_=function(){this.dismissibleItemReset_()};
_.f.dismissibleItemHandleTellUsWhySignalAction_=function(){var a=this;this.followUpDialogPromise_.then(function(b){a.ytdOpenPopupBehavior.openPopup({openPopupAction:{popupType:"DIALOG",popup:b}})})};
var hy=zNa;hy.prototype.dismissibleItemOnYtServiceRequestCompleted_=hy.prototype.dismissibleItemOnYtServiceRequestCompleted_;hy.prototype.dismissibleItemOnYtServiceRequestSent_=hy.prototype.dismissibleItemOnYtServiceRequestSent_;hy.prototype.dismissibleItemDataChanged_=hy.prototype.dismissibleItemDataChanged_;_.S([_.L(_.ov),_.T("design:type",Object)],hy.prototype,"ytdOpenPopupBehavior",void 0);
_.S([_.N({reflectToAttribute:!0,observer:"dismissibleItemIsDismissedChanged_"}),_.T("design:type",Boolean)],hy.prototype,"isDismissed",void 0);_.S([_.N(),_.T("design:type",Object)],hy.prototype,"dismissedRenderer",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hy.prototype,"dismissibleItemDataChanged_",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],hy.prototype,"dismissibleItemOnYtServiceRequestSent_",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],hy.prototype,"dismissibleItemOnYtServiceRequestCompleted_",null);hy=_.S([_.wt()],hy);_.iy=[_.ov,hy.prototype];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy19");

var CMa,DMa,EMa,GMa,HMa,KMa,MMa,NMa,OMa,PMa,RMa,TMa,VMa;_.BMa=function(a,b,c){_.pd(b,function(d){_.Uja(void 0,a,d,c)})};
CMa=function(a,b){var c=_.w("I18N_PLURAL_RULES");c||(c=function(d){return 1==d?"one":"other"});
return(a=a["case"+b]||a[c(b)])?a.replace("#",b.toString()):b+""};
DMa=function(a,b){return CMa(a in _.Ag?_.Ag[a]:{},b)};
_.Ix=function(a){return function(b,c){var d=a||c.replace(/([A-Z])/g,"-$1").toLowerCase();Object.defineProperty(b,c,{get:function(){return this.$[d]},
enumerable:!0,configurable:!0})}};
EMa=function(){return{}};
_.FMa=function(a,b){return new _.wf(function(c,d){a.then(function(e){if(e){if(e=b(e))return c(e);d()}},d)})};
GMa=function(a){var b,c,d,e=null==(b=a.contents)?void 0:null==(c=b.twoColumnWatchNextResults)?void 0:null==(d=c.autoplay)?void 0:d.autoplay,h,l,m;b=null==(h=a.contents)?void 0:null==(l=h.twoColumnWatchNextResults)?void 0:null==(m=l.playlist)?void 0:m.playlist;return e&&b&&b.playlistId?{rawResponse:a,autoplayRenderer:e,playlistPanelRenderer:b,playlistId:b.playlistId}:null};
HMa=function(a,b){var c={mode:"NORMAL"};a&&(c.autoplayVideo=a.navigationEndpoint,c.nextButtonVideo=a.navigationEndpoint);b&&(c.previousButtonVideo=b.navigationEndpoint);return c};
KMa=function(a,b,c){if(!c||!c.sets)return{sets:[HMa(a,b)]};var d=c.sets.find(function(l){return"NORMAL"===l.mode}),e=(0,_.u.unsafeClone)(c);
if(!d)return e.sets.push(HMa(a,b)),e;if(!a)return c;d=_.u.getValueByKeys.apply(null,[d].concat(_.sc(IMa)));var h=_.u.getValueByKeys.apply(null,[a].concat(_.sc(JMa)));if(d===h)return c;e.sets=e.sets.filter(function(l){return"NORMAL"!==l.mode});
e.sets.push(HMa(a,b));return e};
_.LMa=function(a){return!!a.playlistPanelVideoRenderer&&!a.playlistPanelVideoRenderer.unplayableText};
MMa=function(a){return!!a.playlistPanelVideoRenderer&&!!a.playlistPanelVideoRenderer.title};
NMa=function(a,b){if(b.contents&&!(a>=b.contents.length)&&(a=b.contents.slice(a).find(_.LMa)))return a.playlistPanelVideoRenderer};
OMa=function(a,b){if(b.contents)return(b=b.contents.find(function(c){return!!c.playlistPanelVideoRenderer&&c.playlistPanelVideoRenderer.videoId===a}))?b.playlistPanelVideoRenderer:void 0};
PMa=function(a,b){return b.contents?b.contents.findIndex(function(c){return!!c.playlistPanelVideoRenderer&&c.playlistPanelVideoRenderer.videoId===a}):-1};
_.QMa=function(a,b){return b.contents?b.contents.findIndex(function(c){return!!c.playlistPanelVideoRenderer&&c.playlistPanelVideoRenderer.playlistSetVideoId===a}):-1};
RMa=function(a,b){a.contents&&-1!==b&&1===a.contents.splice(b,1).length&&void 0!==a.totalVideos&&(--a.totalVideos,delete a.videoCountText)};
_.Jx=function(a){var b=[];if(!a||!a.contents)return b;a=_.k(a.contents);for(var c=a.next();!c.done;c=a.next())c=c.value,c.playlistPanelVideoRenderer&&c.playlistPanelVideoRenderer.videoId&&b.push(c.playlistPanelVideoRenderer.videoId);return b};
_.SMa=function(a,b,c){if(void 0!==a&&void 0!==b&&void 0!==c)return{runs:[{text:a},{text:" \u2022 "},{text:b+1+" / "+c}]}};
TMa=function(){return _.SMa(_.Bg("QUEUE",void 0,"Queue"),0,1)};
_.UMa=function(a){if(a&&a.contents)return(a=a.contents.find(function(b){return!!b.playlistPanelVideoRenderer&&!!b.playlistPanelVideoRenderer.selected})||a.contents[a.currentIndex])?a.playlistPanelVideoRenderer:void 0};
VMa=function(a,b,c,d,e,h,l){e=void 0===e?!1:e;h=void 0===h?!1:h;l=void 0===l?!1:l;if(a.contents&&0!==a.contents.length){d&&(a.contents=a.contents.filter(d));d=a.contents.length;for(var m=0;m<d;m++){var p=a.contents[m].playlistPanelVideoRenderer;p&&(m===b?(h&&delete p.menu,p.indexText=_.Mu("\u25b6")):e||a.isInfinite||void 0===p.indexText?delete p.indexText:p.indexText=_.Mu((m+1+c).toString()))}a.currentIndex=b+c;l&&(delete a.videoCountText,a.totalVideos=d)}};
_.Kx=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
_.Lx=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.WMa=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""};
_.Mx=function(a){return a.classList?a.classList:_.WMa(a).match(/\S+/g)||[]};
_.Nx=function(a,b){return a.classList?a.classList.contains(b):_.ha(_.Mx(a),b)};
_.Ox=function(a,b,c,d){d=void 0===d?[]:d;this.JSC$36658_playlistNetworkManager=a;this.listId=b;this.JSC$36658_updateCallback=c;this.videoIds=d;this.pendingUpdates=[];this.currentIndex=0};
_.Ox.prototype.JSC$36658_setCurrentIndex=function(a){this.currentIndex=a};
_.Ox.prototype.JSC$36658_setListId=function(a){this.listId=a};
_.XMa=function(a,b){a.currentCreateRequest&&a.currentCreateRequest.cancel(b);a.currentUpdateRequest&&a.currentUpdateRequest.cancel(b);a.currentRefreshRequest&&a.currentRefreshRequest.cancel(b)};
_.Ox.prototype.delete=function(){_.XMa(this,"PROXY DELETED")};
_.Px=function(a){if(0!==a.pendingUpdates.length&&(a.currentRefreshRequest&&a.currentRefreshRequest.cancel("OBSOLETE"),!a.currentUpdateRequest&&!a.currentCreateRequest)){var b=a.pendingUpdates.splice(0,a.pendingUpdates.length);a.currentUpdateRequest=a.JSC$36658_playlistNetworkManager.updatePlaylist(a.listId,b);_.Tk(a.currentUpdateRequest,function(){a.currentUpdateRequest=void 0}).then(function(){0<a.pendingUpdates.length?_.Px(a):_.YMa(a)}).thenCatch(function(){a.pendingUpdates.unshift.apply(a.pendingUpdates,
_.sc(b))})}};
_.YMa=function(a){a.currentRefreshRequest=ZMa(a.JSC$36658_playlistNetworkManager,a.listId,a.currentIndex,a.videoIds[a.currentIndex]);_.Tk(a.currentRefreshRequest,function(){a.currentRefreshRequest=void 0}).then(function(b){a.JSC$36658_updateCallback(b.playlistId,b.playlistPanelRenderer,b.autoplayRenderer)})};
_.Qx=function(a,b,c,d,e,h,l){e=void 0===e?[]:e;l=void 0===l?_.cl:l;_.Ox.call(this,a,b,c,e);this.JSC$36658_playlistNetworkManager=a;this.listId=b;this.JSC$36658_updateCallback=c;this.onAuthChange=d;this.videoIds=e;this.storage=h;this.cookieReader=l;this.queueSapisId="";this.queueSapisIdJob=0;this.attributionData=new Map;_.x("kevlar_clear_queue_on_auth_change")&&(this.queueSapisId=(new this.cookieReader(window.document)).get("SAPISID",""),this.queueSapisIdJob=_.Bi(_.xe,this.checkLoggedInStatusChange.bind(this),
1E3))};
_.q(_.Qx,_.Ox);_.f=_.Qx.prototype;_.f.checkLoggedInStatusChange=function(){(new this.cookieReader(window.document)).get("SAPISID","")!==this.queueSapisId?(this.onAuthChange(),this.storage&&this.storage.clear()):this.queueSapisIdJob=_.Bi(_.xe,this.checkLoggedInStatusChange.bind(this),1E3)};
_.f.JSC$36658_setCurrentIndex=function(a){_.Ox.prototype.JSC$36658_setCurrentIndex.call(this,a);this.store()};
_.f.delete=function(){_.xe.cancelJob(this.queueSapisIdJob);_.Ox.prototype.delete.call(this)};
_.f.JSC$36658_setListId=function(a){_.Ox.prototype.JSC$36658_setListId.call(this,a);this.store()};
_.f.store=function(){_.x("kevlar_frontend_queue_recover")&&this.storage&&this.listId&&void 0!==this.currentIndex&&this.storage.store(this.listId,this.currentIndex)};
var ZMa;_.$Ma=function(a){var b=_.Ei();this.networkManager=a;this.JSC$36686_innertubeTransportService=b};
ZMa=function(a,b,c,d){b={videoId:d,playlistId:b,playlistIndex:c};c=_.zh(_.nza);return _.FMa(_.up(a.JSC$36686_innertubeTransportService,b,c),GMa)};
_.$Ma.prototype.updatePlaylist=function(a,b){return _.FMa(_.Dp(this.JSC$36686_innertubeTransportService,{commandMetadata:{webCommandMetadata:{apiUrl:"/youtubei/v1/browse/edit_playlist",url:"/service_ajax",sendPost:!0}},playlistEditEndpoint:{playlistId:a,actions:b}}),EMa)};
var Rx=function(a){this.storage=a},aNa;
Rx.prototype.store=function(a,b){b=void 0===b?0:b;if(this.storage&&a.startsWith("TLPQ"))try{this.storage.set("TLPQplaylist",a),this.storage.set("TLPQindex",String(b)),this.storage.set("TLPQtimestamp",String(Date.now()))}catch(c){}};
Rx.prototype.clear=function(){this.storage&&(this.storage.remove("TLPQtimestamp"),this.storage.remove("TLPQplaylist"),this.storage.remove("TLPQindex"))};
Rx.prototype.getPlaylistId=function(){if(!this.storage)return null;var a=null;try{a=this.storage.get("TLPQplaylist")}catch(b){}return a};
var JMa=["navigationEndpoint","watchEndpoint","videoId"],IMa=["nextButtonVideo","watchEndpoint","videoId"];
var bNa,cNa;bNa=function(a,b,c){var d=_.Io.getInstance();if(!aNa){var e=new _.nm;var h=void 0,l=_.w("ID_TOKEN");l&&e.isAvailable()&&(h=new _.pm(e,"yt-queue"+l));aNa=new Rx(h)}e=aNa;h=_.Ko();this.JSC$36702_actionRouter=d;this.pageManager=a;this.playlistManager=b;this.JSC$36702_playlistNetworkManager=c;this.storage=e;this.signals=h;this.responsePlaylistData=this.response=this.index=this.listId=void 0;this.temporaryItems=[];this.downloadPlaylistProxy=this.playlistProxy=this.queueProxy=void 0};
_.Sx=function(){if(!cNa){var a=_.Eg(),b=a.resolve(_.Cg(_.Co)),c=a.resolve(_.Cg(_.Eo));a=a.resolve(_.Cg(_.Go));cNa=new bNa(b,a,new _.$Ma(c))}return cNa};
_.dNa=function(a,b,c){if(c){var d;if((null==(d=a.responsePlaylistData)?void 0:d.playlistId)!==c)return}a.responsePlaylistData&&(c=PMa(b,a.responsePlaylistData),a.responsePlaylistData=(0,_.u.unsafeClone)(a.responsePlaylistData),RMa(a.responsePlaylistData,c));c=a.temporaryItems.findIndex(function(e){return e.videoId===b});
-1<c&&a.temporaryItems.splice(c,1);_.Tx(a,_.Ux(a,a.response?a.response.autoplayRenderer:void 0))};
_.eNa=function(a,b){if(a.responsePlaylistData){var c=_.QMa(b,a.responsePlaylistData);RMa(a.responsePlaylistData,c);if(a.queueProxy){var d=a.queueProxy;0>c||(d.videoIds.splice(c,1),c<d.currentIndex&&d.JSC$36658_setCurrentIndex(d.currentIndex-1),d.pendingUpdates.push({action:"ACTION_REMOVE_VIDEO",setVideoId:b}),_.Px(d))}}_.Tx(a,_.Ux(a,a.response?a.response.autoplayRenderer:void 0))};
_.f=bNa.prototype;_.f.clearQueue=function(){this.temporaryItems=[];this.storage.clear();this.queueProxy&&(this.queueProxy.delete(),this.responsePlaylistData=this.queueProxy=void 0);this.response&&_.Tx(this,{autoplayRenderer:this.response.autoplayRenderer,playerData:{}})};
_.f.setPlaylistData=function(a,b,c){this.temporaryItems=[];this.listId=a;this.responsePlaylistData=b;_.Tx(this,_.Ux(this,c))};
_.f.isPlayingOfflineVideo=function(){var a=this.response?(a=this.response)?"PPSV"===a.playlistId:!1:!1;return a};
_.f.handleEndPlaylistCommand=function(a){if(a=a.endPlaylistCommand)"PLAYLIST_EDIT_LIST_TYPE_QUEUE"===a.listType&&this.clearQueue(),a.closeMiniplayer&&this.JSC$36702_actionRouter.triggerOptionalAction("yt-close-miniplayer-action")};
_.f.handleRecoverPlaylistCommand=function(a){var b=this,c,d,e,h,l,m;return _.y(function(p){if(1==p.nextAddress){c=a.recoverPlaylistCommand;if(!c||!c.listId)return p.return();b.index=c.index||b.index||0;d=b.response&&b.response.playingVideoId||void 0;return _.B(p,ZMa(b.JSC$36702_playlistNetworkManager,c.listId,b.index,d),2)}e=p.yieldResult;if(!e)return p.return();h=e.playlistId;l=e.playlistPanelRenderer;!b.queueProxy&&h&&l&&h.startsWith("TLPQ")&&(b.queueProxy=new _.Qx(b.JSC$36702_playlistNetworkManager,
h,b.setPlaylistData.bind(b),b.clearQueue.bind(b),_.Jx(l),b.storage));c.openMiniplayer&&(m=_.UMa(l))&&b.activateMiniplayer(m,"PLAYLIST_EDIT_LIST_TYPE_QUEUE"===c.listType);b.setPlaylistData(h,l,e.autoplayRenderer);_.bf(p)})};
_.f.handleRefreshPlaylistCommand=function(a){var b=this,c,d,e,h;return _.y(function(l){if(1==l.nextAddress){c=a.refreshPlaylistCommand;if(!(c&&c.listId&&b.response&&b.response.playingVideoId)||b.listId!==c.listId)return l.return();void 0===b.index&&(b.index=0);return _.B(l,ZMa(b.JSC$36702_playlistNetworkManager,c.listId,b.index,b.response.playingVideoId),2)}d=l.yieldResult;if(!d)return l.return();e=d.playlistId;h=d.playlistPanelRenderer;b.setPlaylistData(e,h,d.autoplayRenderer);_.bf(l)})};
_.f.closeMiniplayer=function(a){if(this.queueProxy){var b=this.responsePlaylistData;var c=this.temporaryItems.length+(b&&b.contents?b.contents.length:0);b={openPopupAction:{popupType:"TOAST",popup:{notificationActionRenderer:{responseText:{simpleText:_.Bg("QUEUE_CLEARED_UNPLURALIZED")||DMa("QUEUE_CLEARED",c)}}}}};var d=_.Bg("QUEUE_CLOSE_MINIPLAYER_CONFIRM_TITLE",void 0,"Close the queue");c=_.Bg("QUEUE_CLOSE_MINIPLAYER_CONFIRM_BODY_TEXT")||DMa("QUEUE_CLOSE_MINIPLAYER_CONFIRM_TEXT",c);var e=_.Bg("MINIPLAYER_CLOSE",
void 0,"Close"),h=_.Bg("CANCEL",void 0,"Cancel");_.Qt(this.JSC$36702_actionRouter,[{openPopupAction:{popupType:"DIALOG",popup:{confirmDialogRenderer:{title:_.Mu(d),dialogMessages:[_.Mu(c)],confirmButton:{buttonRenderer:{style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:_.Mu(e),serviceEndpoint:{signalServiceEndpoint:{signal:"CLIENT_SIGNAL",actions:[{endPlaylistCommand:{closeMiniplayer:!0,listType:"PLAYLIST_EDIT_LIST_TYPE_QUEUE"}},b]}}}},cancelButton:{buttonRenderer:{style:"STYLE_TEXT",size:"SIZE_DEFAULT",
text:_.Mu(h)}}}}}}],a)}else this.JSC$36702_actionRouter.triggerOptionalAction("yt-close-miniplayer-action")};
_.Ux=function(a,b){var c={},d=a.response;c.autoplayRenderer=b;if(!a.responsePlaylistData&&!a.temporaryItems.length)return!d||!d.hasRelatedVideoData&&_.x("kevlar_prefetch_data_augments_network_data")||(c.playerData={rvs:d.relatedVideoArgs,endScreenRenderer:d.endScreenRenderer}),c;c.playerData={};if(void 0===a.index)return _.Qf(Error("Hd")),c;c.panel=a.responsePlaylistData?(0,_.u.unsafeClone)(a.responsePlaylistData):{titleText:_.Mu(_.Bg("QUEUE",void 0,"Queue")),currentIndex:0,totalVideos:1,contents:[]};
b=c.panel;if(b.contents)for(var e=_.k(a.temporaryItems),h=e.next();!h.done;h=e.next())b.contents.push({playlistPanelVideoRenderer:h.value});a.queueProxy&&d&&d.playingVideo&&d.playingVideoId&&!OMa(d.playingVideoId,c.panel)&&(b=c.panel,e=a.index,b.contents&&b.contents.splice(void 0===e?0:e,0,{playlistPanelVideoRenderer:d.playingVideo}));d&&d.playingVideoId&&(b=a.index,e=c.panel,b=!e.contents||b>=e.contents.length?void 0:e.contents[b].playlistPanelVideoRenderer,b&&b.videoId===d.playingVideoId||(b=PMa(d.playingVideoId,
c.panel),a.index=-1!==b?b:a.index?a.index-1:0));b=NMa(a.index+1,c.panel);e=void 0;0<a.index&&(e=NMa(a.index-1,c.panel));if(e||b)c.autoplayRenderer=KMa(b,e,c.autoplayRenderer);!b&&(null==d?0:d.relatedVideoArgs)&&(c.playerData.rvs=d.relatedVideoArgs);d=d?d.playlistIndexOffset:0;a.queueProxy?VMa(c.panel,a.index,d,MMa,!0,!0,!0):VMa(c.panel,a.index,d);c.playerData.playlistPanelRenderer=c.panel;return c};
bNa.prototype.activateMiniplayer=function(a,b){var c=this.JSC$36702_actionRouter.triggerOptionalAction("yt-miniplayer-active");if(c&&c.length&&c[0])this.JSC$36702_actionRouter.triggerOptionalAction("yt-miniplayer-toast-action",a,_.Bg("ADDED_TO_QUEUE",void 0,"Added to queue"));else if(a&&a.navigationEndpoint){_.Qv.getInstance().lockupActivation=!0;c=a.navigationEndpoint;if(_.x("disable_miniplayer_prevent_double_load")){var d=this.pageManager.getPlayerFromWatch();this.JSC$36702_actionRouter.triggerOptionalAction("yt-activate-miniplayer-action",
d);this.JSC$36702_actionRouter.triggerOptionalAction("yt-miniplayer-update-header-action",a.title,b?TMa():a.longBylineText,a.navigationEndpoint);this.JSC$36702_actionRouter.triggerOptionalAction("yt-miniplayer-load-endpoint",c,!0)}else this.JSC$36702_actionRouter.triggerOptionalAction("yt-activate-with-endpoint-action",c,!0),this.JSC$36702_actionRouter.triggerOptionalAction("yt-miniplayer-update-header-action",a.title,b?TMa():a.longBylineText);_.x("kevlar_miniplayer_queue_user_activation")&&(_.Qv.getInstance().userActivation=
!0)}};
_.Tx=function(a,b){a.playlistManager.setAutoplayRenderer(b.autoplayRenderer||null);a.playlistManager.setPlaylistData(b.panel||null);b.playerData&&a.playlistManager.setPlayerPlaybackControlData(b.playerData)};
var fNa=["ytd-compact-video-renderer","ytd-playlist-video-renderer","ytd-compact-movie-renderer","ytd-playlist-panel-video-renderer"],gNa=function(){return _.vt.apply(this,arguments)||this};
_.q(gNa,_.vt);_.f=gNa.prototype;_.f.created=function(){var a=this;this.useExpandableTooltip=_.x("kevlar_expandable_tooltip_everywhere")?!0:!fNa.includes(this.is);_.x("kevlar_passive_event_listeners")?this.addEventListener("touchstart",function(){a.lockupOnTouchStart()},_.Gqa?{passive:!0}:void 0):this.addEventListener("touchstart",function(){a.lockupOnTouchStart()})};
_.f.attached=function(){this.hasAttribute("lockup")||this.setAttribute("lockup","true")};
_.f.detached=function(){this.useExpandableTooltip=!1};
_.f.lockupOnDown=function(a){this.interactionElement&&!_.Hx(_.H(a).path||[],this,["BUTTON".toString()])&&this.interactionElement.triggerDown()};
_.f.lockupOnUp=function(a){this.interactionElement&&!_.Hx(_.H(a).path||[],this,["BUTTON".toString()])&&this.interactionElement.triggerUp()};
_.f.lockupOnMouseEnter=function(){this.lockupIsHovered=!0};
_.f.lockupOnTouchStart=function(){_.x("desktop_moving_thumbs_touch")&&(this.lockupTouchTriggered=this.lockupIsHovered=!0)};
_.f.lockupOnMouseLeave=function(){this.lockupIsHovered=!1};
_.f.lockupOnPopupClosed=function(a,b){var c;"ytd-menu-popup-renderer"===(null==(c=b.popupRenderer)?void 0:c.is)&&(a=b.popupRenderer.veData,b=_.fg(),a&&b&&_.BMa(b,[a]))};
_.f.lockupOnLockupRequested=function(a){var b=a.detail.videoIds[0],c;a.detail&&b===(null==(c=this.data)?void 0:c.videoId)&&(a.detail.returnValue=[this.data])};
_.f.lockupOnYtServiceRequestSent=function(a,b){if(a=b.actions)for(var c=0;c<a.length;c++){var d=a[c];if("ACTION_REMOVE_VIDEO_BY_VIDEO_ID"===d.action&&b.ajaxPromise){var e=void 0,h=void 0,l=null==(e=b.endpoint)?void 0:null==(h=e.playlistEditEndpoint)?void 0:h.playlistId;e=void 0;d=null!=(e=d.removedVideoId)?e:"";_.dNa(_.Sx(),d,l)}else"ACTION_REMOVE_VIDEO"===d.action&&b.ajaxPromise&&(l=void 0,d=null!=(l=d.setVideoId)?l:"",_.eNa(_.Sx(),d))}};
_.f.lockupOnLockupDisabled=function(){this.interactionElement&&(this.interactionElement.disabled=!0)};
_.f.lockupOnLockupEnabled=function(){this.interactionElement&&(this.interactionElement.disabled=!1)};
var Vx=gNa;Vx.prototype.lockupOnLockupEnabled=Vx.prototype.lockupOnLockupEnabled;Vx.prototype.lockupOnLockupDisabled=Vx.prototype.lockupOnLockupDisabled;Vx.prototype.lockupOnYtServiceRequestSent=Vx.prototype.lockupOnYtServiceRequestSent;Vx.prototype.lockupOnLockupRequested=Vx.prototype.lockupOnLockupRequested;Vx.prototype.lockupOnPopupClosed=Vx.prototype.lockupOnPopupClosed;Vx.prototype.lockupOnMouseLeave=Vx.prototype.lockupOnMouseLeave;Vx.prototype.lockupOnTouchStart=Vx.prototype.lockupOnTouchStart;
Vx.prototype.lockupOnMouseEnter=Vx.prototype.lockupOnMouseEnter;Vx.prototype.lockupOnUp=Vx.prototype.lockupOnUp;Vx.prototype.lockupOnDown=Vx.prototype.lockupOnDown;_.S([_.N(),_.T("design:type",Object)],Vx.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],Vx.prototype,"lockupIsHovered",void 0);_.S([_.N(),_.T("design:type",Boolean)],Vx.prototype,"lockupTouchTriggered",void 0);_.S([_.N(),_.T("design:type",Boolean)],Vx.prototype,"useExpandableTooltip",void 0);
_.S([_.Ix("interaction"),_.T("design:type",Object)],Vx.prototype,"interactionElement",void 0);_.S([_.O("down"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],Vx.prototype,"lockupOnDown",null);_.S([_.O("up"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],Vx.prototype,"lockupOnUp",null);
_.S([_.O("mouseenter"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Vx.prototype,"lockupOnMouseEnter",null);_.S([_.O("touchstart"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Vx.prototype,"lockupOnTouchStart",null);_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Vx.prototype,"lockupOnMouseLeave",null);
_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],Vx.prototype,"lockupOnPopupClosed",null);_.S([_.O("yt-lockup-requested"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],Vx.prototype,"lockupOnLockupRequested",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],Vx.prototype,"lockupOnYtServiceRequestSent",null);_.S([_.O("yt-disable-lockup-interaction"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Vx.prototype,"lockupOnLockupDisabled",null);
_.S([_.O("yt-enable-lockup-interaction"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Vx.prototype,"lockupOnLockupEnabled",null);Vx=_.S([_.wt()],Vx);_.Wx=[Vx.prototype];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syl");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var tx,eMa;_._hasCachedLockedElement$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a){return-1<_._lockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.indexOf(a)};
_._hasCachedUnlockedElement$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a){return-1<_._unlockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.indexOf(a)};
_._composedTreeContains$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a,b){var c,d;if(a.contains(b))return!0;a=_.H(a).querySelectorAll("content,slot");for(c=0;c<a.length;++c){var e=_.H(a[c]).getDistributedNodes();for(d=0;d<e.length;++d)if(e[d].nodeType===Node.ELEMENT_NODE&&_._composedTreeContains$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager(e[d],b))return!0}return!1};
_._scrollInteractionHandler$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a){a.cancelable&&_._shouldPreventScrolling$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager(a)&&a.preventDefault();a.targetTouches&&(a=a.targetTouches[0],ZLa=a.pageX,$La=a.pageY)};
_._lockScrollInteractions$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(){_._boundScrollHandler$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=_._boundScrollHandler$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager||_._scrollInteractionHandler$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.bind(void 0);
for(var a=0,b=sx.length;a<b;a++)document.addEventListener(sx[a],_._boundScrollHandler$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager,{capture:!0,passive:!1})};
_._unlockScrollInteractions$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(){for(var a=0,b=sx.length;a<b;a++)document.removeEventListener(sx[a],_._boundScrollHandler$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager,{capture:!0,passive:!1})};
_._shouldPreventScrolling$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a){var b=_.H(a).rootTarget;"touchmove"!==a.type&&aMa!==b&&(aMa=b,bMa=_._getScrollableNodes$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager(_.H(a).path));if(!bMa.length)return!0;if("touchstart"===a.type)return!1;a=_._getScrollInfo$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager(a);
return!_._getScrollingNode$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager(bMa,a.deltaX,a.deltaY)};
_._getScrollableNodes$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a){for(var b=[],c=a.indexOf(cMa),d=0;d<=c;d++)if(a[d].nodeType===Node.ELEMENT_NODE){var e=a[d],h=e.style;"scroll"!==h.overflow&&"auto"!==h.overflow&&(h=window.getComputedStyle(e));"scroll"!==h.overflow&&"auto"!==h.overflow||b.push(e)}return b};
_._getScrollingNode$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a,b,c){if(b||c)for(var d=Math.abs(c)>=Math.abs(b),e=0;e<a.length;e++){var h=a[e];if(d?0>c?0<h.scrollTop:h.scrollTop<h.scrollHeight-h.clientHeight:0>b?0<h.scrollLeft:h.scrollLeft<h.scrollWidth-h.clientWidth)return h}};
_._getScrollInfo$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=function(a){var b={deltaX:a.deltaX,deltaY:a.deltaY};"deltaX"in a||("wheelDeltaX"in a&&"wheelDeltaY"in a?(b.deltaX=-a.wheelDeltaX,b.deltaY=-a.wheelDeltaY):"wheelDelta"in a?(b.deltaX=0,b.deltaY=-a.wheelDelta):"axis"in a?(b.deltaX=1===a.axis?a.detail:0,b.deltaY=2===a.axis?a.detail:0):a.targetTouches&&(a=a.targetTouches[0],b.deltaX=ZLa-a.pageX,b.deltaY=$La-a.pageY));return b};
_.dMa=function(a){var b=a.querySelector("yt-supported-renderers");if(b&&(b=b.rendererElement)&&"yt-reload-continuation"==b.is){b.trigger();return}(a=a.querySelector("yt-reload-continuation"))&&a.trigger()};
tx=void 0;eMa={properties:{sizingTarget:{type:Object,value:function(){return this}},
fitInto:{type:Object,value:window},noOverlap:{type:Boolean},positionTarget:{type:Element},horizontalAlign:{type:String},verticalAlign:{type:String},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},autoFitOnAttach:{type:Boolean,value:!1},expandSizingTargetForScrollbars:{type:Boolean,value:!1},_fitInfo:{type:Object}},get _fitWidth(){var a;this.fitInto===window?a=this.fitInto.innerWidth:a=this.fitInto.getBoundingClientRect().width;
return a},get _fitHeight(){var a;this.fitInto===window?a=this.fitInto.innerHeight:a=this.fitInto.getBoundingClientRect().height;return a},get _fitLeft(){var a;this.fitInto===window?a=0:a=this.fitInto.getBoundingClientRect().left;return a},get _fitTop(){var a;this.fitInto===window?a=0:a=this.fitInto.getBoundingClientRect().top;return a},get _defaultPositionTarget(){var a=_.H(this).parentNode;a&&a.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(a=a.host);return a},get _localeHorizontalAlign(){if(this._isRTL){if("right"===
this.horizontalAlign)return"left";if("left"===this.horizontalAlign)return"right"}return this.horizontalAlign},get __shouldPosition(){return(this.horizontalAlign||this.verticalAlign)&&this.positionTarget},get _isRTL(){"undefined"===typeof this._memoizedIsRTL&&(this._memoizedIsRTL="rtl"==window.getComputedStyle(this).direction);return this._memoizedIsRTL},attached:function(){this.positionTarget=this.positionTarget||this._defaultPositionTarget;this.autoFitOnAttach&&("none"===window.getComputedStyle(this).display?
setTimeout(function(){this.fit()}.bind(this)):(window.ShadyDOM&&ShadyDOM.flush(),this.fit()))},
detached:function(){this.__deferredFit&&(clearTimeout(this.__deferredFit),this.__deferredFit=null)},
fit:function(){this.position();this.constrain();this.center()},
_discoverInfo:function(){if(!this._fitInfo){var a=window.getComputedStyle(this),b=window.getComputedStyle(this.sizingTarget);this._fitInfo={inlineStyle:{top:this.style.top||"",left:this.style.left||"",position:this.style.position||""},sizerInlineStyle:{maxWidth:this.sizingTarget.style.maxWidth||"",maxHeight:this.sizingTarget.style.maxHeight||"",boxSizing:this.sizingTarget.style.boxSizing||""},positionedBy:{vertically:"auto"!==a.top?"top":"auto"!==a.bottom?"bottom":null,horizontally:"auto"!==a.left?
"left":"auto"!==a.right?"right":null},sizedBy:{height:"none"!==b.maxHeight,width:"none"!==b.maxWidth,minWidth:parseInt(b.minWidth,10)||0,minHeight:parseInt(b.minHeight,10)||0},margin:{top:parseInt(a.marginTop,10)||0,right:parseInt(a.marginRight,10)||0,bottom:parseInt(a.marginBottom,10)||0,left:parseInt(a.marginLeft,10)||0}}}},
resetFit:function(){var a=this._fitInfo||{},b;for(b in a.sizerInlineStyle)this.sizingTarget.style[b]=a.sizerInlineStyle[b];for(b in a.inlineStyle)this.style[b]=a.inlineStyle[b];this._fitInfo=null},
refit:function(){var a=this.sizingTarget.scrollLeft,b=this.sizingTarget.scrollTop;this.resetFit();this.fit();this.sizingTarget.scrollLeft=a;this.sizingTarget.scrollTop=b},
position:function(){if(this.__shouldPosition){this._discoverInfo();window.ShadyDOM&&window.ShadyDOM.flush();this.style.position="fixed";this.sizingTarget.style.boxSizing="border-box";this.style.left="0px";this.style.top="0px";var a=this.getBoundingClientRect(),b=this.__getNormalizedRect(this.positionTarget),c=this.__getNormalizedRect(this.fitInto);if(this.expandSizingTargetForScrollbars){var d=this.sizingTarget.offsetWidth;var e=this.sizingTarget.offsetHeight;var h=this.sizingTarget.clientWidth;var l=
this.sizingTarget.clientHeight}var m=this._fitInfo.margin;b=this.__getPosition(this._localeHorizontalAlign,this.verticalAlign,{width:a.width+m.left+m.right,height:a.height+m.top+m.bottom},a,b,c);var p=b.left+m.left,r=b.top+m.top,v=Math.min(c.right-m.right,p+a.width),z=Math.min(c.bottom-m.bottom,r+a.height);p=Math.max(c.left+m.left,Math.min(p,v-this._fitInfo.sizedBy.minWidth));r=Math.max(c.top+m.top,Math.min(r,z-this._fitInfo.sizedBy.minHeight));v=Math.max(v-p,this._fitInfo.sizedBy.minWidth);z=Math.max(z-
r,this._fitInfo.sizedBy.minHeight);this.sizingTarget.style.maxWidth=v+"px";this.sizingTarget.style.maxHeight=z+"px";p-=a.left;a=r-a.top;this.style.left=p+"px";this.style.top=a+"px";if(this.expandSizingTargetForScrollbars){r=this.sizingTarget.offsetHeight;e=r-this.sizingTarget.clientHeight-(e-l);if(0<e){this.sizingTarget.style.maxHeight=Math.min(c.height-m.top-m.bottom,z+e)+"px";e=this.sizingTarget.offsetHeight;l=e-r;var A;"top"===b.verticalAlign?A=a:"middle"===b.verticalAlign?A=a-l/2:"bottom"===b.verticalAlign&&
(A=a-l);A=Math.max(c.top+m.top,Math.min(A,c.bottom-m.bottom-e));this.style.top=A+"px"}A=this.sizingTarget.offsetWidth;d=A-this.sizingTarget.clientWidth-(d-h);if(0<d){void 0!==tx?h=tx:(h=document.createElement("div"),Object.assign(h.style,{overflow:"auto",position:"fixed",left:"0px",top:"0px",maxWidth:"100px",maxHeight:"100px"}),e=document.createElement("div"),e.style.width="200px",e.style.height="200px",h.appendChild(e),document.body.appendChild(h),tx=1<Math.abs(h.offsetWidth-100)?h.offsetWidth-h.clientWidth:
0,document.body.removeChild(h),h=tx);this.sizingTarget.style.maxWidth=Math.min(c.width-m.left-m.right,v+d-h)+"px";v=this.sizingTarget.offsetWidth+h;d=v-A;var D;"left"===b.horizontalAlign?D=p:"center"===b.horizontalAlign?D=p-d/2:"right"===b.horizontalAlign&&(D=p-d);D=Math.max(c.left+m.left,Math.min(D,c.right-m.right-v));this.style.left=D+"px"}}}},
constrain:function(){if(!this.__shouldPosition){this._discoverInfo();var a=this._fitInfo;a.positionedBy.vertically||(this.style.position="fixed",this.style.top="0px");a.positionedBy.horizontally||(this.style.position="fixed",this.style.left="0px");this.sizingTarget.style.boxSizing="border-box";var b=this.getBoundingClientRect();a.sizedBy.height||this.__sizeDimension(b,a.positionedBy.vertically,"top","bottom","Height");a.sizedBy.width||this.__sizeDimension(b,a.positionedBy.horizontally,"left","right",
"Width")}},
_sizeDimension:function(a,b,c,d,e){this.__sizeDimension(a,b,c,d,e)},
__sizeDimension:function(a,b,c,d,e){var h=this._fitInfo,l=this.__getNormalizedRect(this.fitInto);l="Width"===e?l.width:l.height;b=b===d;var m="offset"+e;this.sizingTarget.style["max"+e]=l-h.margin[b?c:d]-(b?l-a[d]:a[c])-(this[m]-this.sizingTarget[m])+"px"},
center:function(){if(!this.__shouldPosition){this._discoverInfo();var a=this._fitInfo.positionedBy;if(!a.vertically||!a.horizontally){this.style.position="fixed";a.vertically||(this.style.top="0px");a.horizontally||(this.style.left="0px");var b=this.getBoundingClientRect(),c=this.__getNormalizedRect(this.fitInto);a.vertically||(this.style.top=c.top-b.top+(c.height-b.height)/2+"px");a.horizontally||(this.style.left=c.left-b.left+(c.width-b.width)/2+"px")}}},
__getNormalizedRect:function(a){return a===document.documentElement||a===window?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:a.getBoundingClientRect()},
__getOffscreenArea:function(a,b,c){return Math.abs(Math.min(0,a.top)+Math.min(0,c.bottom-(a.top+b.height)))*b.width+Math.abs(Math.min(0,a.left)+Math.min(0,c.right-(a.left+b.width)))*b.height},
__getPosition:function(a,b,c,d,e,h){var l=[{verticalAlign:"top",horizontalAlign:"left",top:e.top+this.verticalOffset,left:e.left+this.horizontalOffset},{verticalAlign:"top",horizontalAlign:"right",top:e.top+this.verticalOffset,left:e.right-c.width-this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"left",top:e.bottom-c.height-this.verticalOffset,left:e.left+this.horizontalOffset},{verticalAlign:"bottom",horizontalAlign:"right",top:e.bottom-c.height-this.verticalOffset,left:e.right-c.width-
this.horizontalOffset}];if(this.noOverlap){for(var m=0,p=l.length;m<p;m++){var r={},v;for(v in l[m])r[v]=l[m][v];l.push(r)}l[0].top=l[1].top+=e.height;l[2].top=l[3].top-=e.height;l[4].left=l[6].left+=e.width;l[5].left=l[7].left-=e.width}b="auto"===b?null:b;a="auto"===a?null:a;a&&"center"!==a||(l.push({verticalAlign:"top",horizontalAlign:"center",top:e.top+this.verticalOffset+(this.noOverlap?e.height:0),left:e.left-d.width/2+e.width/2+this.horizontalOffset}),l.push({verticalAlign:"bottom",horizontalAlign:"center",
top:e.bottom-c.height-this.verticalOffset-(this.noOverlap?e.height:0),left:e.left-d.width/2+e.width/2+this.horizontalOffset}));b&&"middle"!==b||(l.push({verticalAlign:"middle",horizontalAlign:"left",top:e.top-d.height/2+e.height/2+this.verticalOffset,left:e.left+this.horizontalOffset+(this.noOverlap?e.width:0)}),l.push({verticalAlign:"middle",horizontalAlign:"right",top:e.top-d.height/2+e.height/2+this.verticalOffset,left:e.right-c.width-this.horizontalOffset-(this.noOverlap?e.width:0)}));"middle"===
b&&"center"===a&&l.push({verticalAlign:"middle",horizontalAlign:"center",top:e.top-d.height/2+e.height/2+this.verticalOffset,left:e.left-d.width/2+e.width/2+this.horizontalOffset});for(m=0;m<l.length;m++){d=l[m];e=d.verticalAlign===b;p=d.horizontalAlign===a;if(!this.dynamicAlign&&!this.noOverlap&&e&&p){var z=d;break}r=(!b||e)&&(!a||p);if(this.dynamicAlign||r){d.offscreenArea=this.__getOffscreenArea(d,c,h);if(0===d.offscreenArea&&r){z=d;break}z=z||d;r=d.offscreenArea-z.offscreenArea;if(0>r||0===r&&
(e||p))z=d}}return z}};
var fMa=function(a){this.multi=!1;this.selection=[];this.selectCallback=a};
_.f=fMa.prototype;_.f.get=function(){return this.multi?this.selection.slice():this.selection[0]};
_.f.clear=function(a){this.selection.slice().forEach(function(b){(!a||0>a.indexOf(b))&&this.setItemSelected(b,!1)},this)};
_.f.isSelected=function(a){return 0<=this.selection.indexOf(a)};
_.f.setItemSelected=function(a,b){if(null!=a&&b!==this.isSelected(a)){if(b)this.selection.push(a);else{var c=this.selection.indexOf(a);0<=c&&this.selection.splice(c,1)}this.selectCallback&&this.selectCallback(a,b)}};
_.f.select=function(a){this.multi?this.toggle(a):this.get()!==a&&(this.setItemSelected(this.get(),!1),this.setItemSelected(a,!0))};
_.f.toggle=function(a){this.setItemSelected(a,!this.isSelected(a))};
_.ux={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},
_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},
observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this);this._selection=new fMa(this._applySelection.bind(this))},
attached:function(){this._observer=this._observeItems(this);this._addListener(this.activateEvent)},
detached:function(){this._observer&&_.H(this).unobserveNodes(this._observer);this._removeListener(this.activateEvent)},
indexOf:function(a){return this.items?this.items.indexOf(a):-1},
select:function(a){this.selected=a},
selectPrevious:function(){var a=this.items.length,b=a-1;void 0!==this.selected&&(b=(Number(this._valueToIndex(this.selected))-1+a)%a);this.selected=this._indexToValue(b)},
selectNext:function(){var a=0;void 0!==this.selected&&(a=(Number(this._valueToIndex(this.selected))+1)%this.items.length);this.selected=this._indexToValue(a)},
selectIndex:function(a){this.select(this._indexToValue(a))},
forceSynchronousItemUpdate:function(){this._observer&&"function"===typeof this._observer.flush?this._observer.flush():this._updateItems()},
get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},
_addListener:function(a){this.listen(this,a,"_activateHandler")},
_removeListener:function(a){this.unlisten(this,a,"_activateHandler")},
_activateEventChanged:function(a,b){this._removeListener(b);this._addListener(a)},
_updateItems:function(){var a=_.H(this).queryDistributedElements(this.selectable||"*");a=Array.prototype.filter.call(a,this._bindFilterItem);this._setItems(a)},
_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},
_updateSelected:function(){this._selectSelected(this.selected)},
_selectSelected:function(){if(this.items){var a=this._valueToItem(this.selected);a?this._selection.select(a):this._selection.clear();this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},
_filterItem:function(a){return!this._excludedLocalNames[a.localName]},
_valueToItem:function(a){return null==a?null:this.items[this._valueToIndex(a)]},
_valueToIndex:function(a){if(this.attrForSelected)for(var b=0,c;c=this.items[b];b++){if(this._valueForItem(c)==a)return b}else return Number(a)},
_indexToValue:function(a){if(this.attrForSelected){if(a=this.items[a])return this._valueForItem(a)}else return a},
_valueForItem:function(a){if(!a)return null;if(!this.attrForSelected)return a=this.indexOf(a),-1===a?null:a;var b=a[_.dc(this.attrForSelected)];return void 0!=b?b:a.getAttribute(this.attrForSelected)},
_applySelection:function(a,b){this.selectedClass&&this.toggleClass(this.selectedClass,b,a);this.selectedAttribute&&this.toggleAttribute.call(a,this.selectedAttribute,b);this._selectionChange();this.fire("iron-"+(b?"select":"deselect"),{item:a})},
_selectionChange:function(){this._setSelectedItem(this._selection.get())},
_observeItems:function(a){return _.H(a).observeNodes(function(b){this._updateItems();this._updateSelected();this.fire("iron-items-changed",b,{bubbles:!1,cancelable:!1})})},
_activateHandler:function(a){a=a.target;for(var b=this.items;a&&a!=this;){var c=b.indexOf(a);if(0<=c){b=this._indexToValue(c);this._itemActivate(b,a);break}a=a.parentNode}},
_itemActivate:function(a,b){this.fire("iron-activate",{selected:a,item:b},{cancelable:!0}).defaultPrevented||this.select(a)}};
var gMa;gMa={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},
selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},
observers:["_updateSelected(selectedValues.splices)"],select:function(a){this.multi?this._toggleSelected(a):this.selected=a},
multiChanged:function(a){this._selection.multi=a;this._updateSelected()},
get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this.selectedItems&&0<this.selectedItems.length&&(this.selectedValues=this.selectedItems.map(function(a){return this._indexToValue(this.indexOf(a))},this).filter(function(a){return null!=a},this)):_.ux._updateAttrForSelected.apply(this)},
_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},
_selectMulti:function(a){a=a||[];a=(this._valuesToItems(a)||[]).filter(function(c){return null!==c&&void 0!==c});
this._selection.clear(a);for(var b=0;b<a.length;b++)this._selection.setItemSelected(a[b],!0);this.fallbackSelection&&!this._selection.get().length&&this._valueToItem(this.fallbackSelection)&&this.select(this.fallbackSelection)},
_selectionChange:function(){var a=this._selection.get();this.multi?(this._setSelectedItems(a),this._setSelectedItem(a.length?a[0]:null)):null!==a&&void 0!==a?(this._setSelectedItems([a]),this._setSelectedItem(a)):(this._setSelectedItems([]),this._setSelectedItem(null))},
_toggleSelected:function(a){var b=this.selectedValues.indexOf(a);0>b?this.push("selectedValues",a):this.splice("selectedValues",b,1)},
_valuesToItems:function(a){return null==a?null:a.map(function(b){return this._valueToItem(b)},this)}};
_.hMa=[_.ux,gMa];
_.vx={properties:{focusedItem:{observer:"_focusedItemChanged",readOnly:!0,type:Object},attrForItemTitle:{type:String},disabled:{type:Boolean,value:!1,observer:"_disabledChanged"}},_MODIFIER_KEYS:"Alt AltGraph CapsLock Control Fn FnLock Hyper Meta NumLock OS ScrollLock Shift Super Symbol SymbolLock".split(" "),_SEARCH_RESET_TIMEOUT_MS:1E3,_previousTabIndex:0,hostAttributes:{role:"menu"},observers:["_updateMultiselectable(multi)"],listeners:{focus:"_onFocus",keydown:"_onKeydown","iron-items-changed":"_onIronItemsChanged"},
keyBindings:{up:"_onUpKey",down:"_onDownKey",esc:"_onEscKey","shift+tab:keydown":"_onShiftTabDown"},attached:function(){this._resetTabindices()},
select:function(a){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null);var b=this._valueToItem(a);b&&b.hasAttribute("disabled")||(this._setFocusedItem(b),gMa.select.apply(this,arguments))},
_resetTabindices:function(){var a=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this.items.forEach(function(b){b.setAttribute("tabindex",b===a?"0":"-1");b.setAttribute("aria-selected",this._selection.isSelected(b))},this)},
_updateMultiselectable:function(a){a?this.setAttribute("aria-multiselectable","true"):this.removeAttribute("aria-multiselectable")},
_focusWithKeyboardEvent:function(a){if(-1===this._MODIFIER_KEYS.indexOf(a.key)){this.cancelDebouncer("_clearSearchText");var b=this._searchText||"";b+=(a.key&&1==a.key.length?a.key:String.fromCharCode(a.keyCode)).toLocaleLowerCase();a=b.length;for(var c=0,d;d=this.items[c];c++)if(!d.hasAttribute("disabled")){var e=this.attrForItemTitle||"textContent";e=(d[e]||d.getAttribute(e)||"").trim();if(!(e.length<a)&&e.slice(0,a).toLocaleLowerCase()==b){this._setFocusedItem(d);break}}this._searchText=b;this.debounce("_clearSearchText",
this._clearSearchText,this._SEARCH_RESET_TIMEOUT_MS)}},
_clearSearchText:function(){this._searchText=""},
_focusPrevious:function(){for(var a=this.items.length,b=Number(this.indexOf(this.focusedItem)),c=1;c<a+1;c++){var d=this.items[(b-c+a)%a];if(!d.hasAttribute("disabled")){var e=_.H(d).getOwnerRoot()||document;this._setFocusedItem(d);if(_.H(e).activeElement==d)break}}},
_focusNext:function(){for(var a=this.items.length,b=Number(this.indexOf(this.focusedItem)),c=1;c<a+1;c++){var d=this.items[(b+c)%a];if(!d.hasAttribute("disabled")){var e=_.H(d).getOwnerRoot()||document;this._setFocusedItem(d);if(_.H(e).activeElement==d)break}}},
_applySelection:function(a,b){b?a.setAttribute("aria-selected","true"):a.setAttribute("aria-selected","false");_.ux._applySelection.apply(this,arguments)},
_focusedItemChanged:function(a,b){b&&b.setAttribute("tabindex","-1");!a||a.hasAttribute("disabled")||this.disabled||(a.setAttribute("tabindex","0"),a.focus())},
_onIronItemsChanged:function(a){a.detail.addedNodes.length&&this._resetTabindices()},
_onShiftTabDown:function(){var a=this.getAttribute("tabindex");_.vx._shiftTabPressed=!0;this._setFocusedItem(null);this.setAttribute("tabindex","-1");this.async(function(){this.setAttribute("tabindex",a);_.vx._shiftTabPressed=!1},1)},
_onFocus:function(a){!_.vx._shiftTabPressed&&(a=_.H(a).rootTarget,a===this||"undefined"===typeof a.tabIndex||this.isLightDescendant(a))&&(this._defaultFocusAsync=this.async(function(){var b=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this._setFocusedItem(null);b?this._setFocusedItem(b):this.items[0]&&this._focusNext()}))},
_onUpKey:function(a){this._focusPrevious();a.detail.keyboardEvent.preventDefault()},
_onDownKey:function(a){this._focusNext();a.detail.keyboardEvent.preventDefault()},
_onEscKey:function(){var a=this.focusedItem;a&&a.blur()},
_onKeydown:function(a){this.keyboardEventMatchesKeys(a,"up down esc")||this._focusWithKeyboardEvent(a);a.stopPropagation()},
_activateHandler:function(a){_.ux._activateHandler.call(this,a);a.stopPropagation()},
_disabledChanged:function(a){a?(this._previousTabIndex=this.hasAttribute("tabindex")?this.tabIndex:0,this.removeAttribute("tabindex")):this.hasAttribute("tabindex")||this.setAttribute("tabindex",this._previousTabIndex)},
_shiftTabPressed:!1};_.iMa=[_.hMa,_.Xs,_.vx];
var wx;wx=new Set;_.xx={properties:{_parentResizable:{type:Object,observer:"_parentResizableChanged"},_notifyingDescendant:{type:Boolean,value:!1}},listeners:{"iron-request-resize-notifications":"_onIronRequestResizeNotifications"},created:function(){this._interestedResizables=[];this._boundNotifyResize=this.notifyResize.bind(this);this._boundOnDescendantIronResize=this._onDescendantIronResize.bind(this)},
attached:function(){this._requestResizeNotifications()},
detached:function(){this._parentResizable?this._parentResizable.stopResizeNotificationsFor(this):(wx.delete(this),window.removeEventListener("resize",this._boundNotifyResize));this._parentResizable=null},
notifyResize:function(){this.isAttached&&(this._interestedResizables.forEach(function(a){this.resizerShouldNotify(a)&&this._notifyDescendant(a)},this),this._fireResize())},
assignParentResizable:function(a){this._parentResizable&&this._parentResizable.stopResizeNotificationsFor(this);(this._parentResizable=a)&&-1===a._interestedResizables.indexOf(this)&&(a._interestedResizables.push(this),a._subscribeIronResize(this))},
stopResizeNotificationsFor:function(a){var b=this._interestedResizables.indexOf(a);-1<b&&(this._interestedResizables.splice(b,1),this._unsubscribeIronResize(a))},
_subscribeIronResize:function(a){a.addEventListener("iron-resize",this._boundOnDescendantIronResize)},
_unsubscribeIronResize:function(a){a.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},
resizerShouldNotify:function(){return!0},
_onDescendantIronResize:function(a){this._notifyingDescendant?a.stopPropagation():_.Mc||this._fireResize()},
_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},
_onIronRequestResizeNotifications:function(a){var b=_.H(a).rootTarget;b!==this&&(b.assignParentResizable(this),this._notifyDescendant(b),a.stopPropagation())},
_parentResizableChanged:function(a){a&&window.removeEventListener("resize",this._boundNotifyResize)},
_notifyDescendant:function(a){this.isAttached&&(this._notifyingDescendant=!0,a.notifyResize(),this._notifyingDescendant=!1)},
_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var a=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",function c(){document.removeEventListener("readystatechange",c);a()})}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach(function(b){b!==this&&b._findParent()},this):(wx.forEach(function(b){b!==this&&b._findParent()},this),window.addEventListener("resize",this._boundNotifyResize),
this.notifyResize())},
_findParent:function(){this.assignParentResizable(null);this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0});this._parentResizable?wx.delete(this):wx.add(this)}};
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var yx={properties:{animationTiming:{type:Object,value:function(){return{duration:500,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"both"}}}},
isNeonAnimation:!0,created:function(){document.body.animate||console.warn("No web animations detected. This element will not function without a web animations polyfill.")},
timingFromConfig:function(a){if(a.timing)for(var b in a.timing)this.animationTiming[b]=a.timing[b];return this.animationTiming},
setPrefixedProperty:function(a,b,c){for(var d={transform:["webkitTransform"],transformOrigin:["mozTransformOrigin","webkitTransformOrigin"]}[b],e,h=0;e=d[h];h++)a.style[e]=c;a.style[b]=c},
complete:function(){}};
_.Ng({is:"fade-in-animation",_template:null,behaviors:[yx],configure:function(a){return this._effect=new KeyframeEffect(a.node,[{opacity:"0"},{opacity:"1"}],this.timingFromConfig(a))}});
_.Ng({is:"fade-out-animation",_template:null,behaviors:[yx],configure:function(a){return this._effect=new KeyframeEffect(a.node,[{opacity:"1"},{opacity:"0"}],this.timingFromConfig(a))}});
_.jMa=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{};this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},
_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{};this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},
_copyProperties:function(a,b){for(var c in b)a[c]=b[c]},
_cloneConfig:function(a){var b={isClone:!0};this._copyProperties(b,a);return b},
_getAnimationConfigRecursive:function(a,b,c){if(this.animationConfig)if(this.animationConfig.value&&"function"===typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else{var d=a?this.animationConfig[a]:this.animationConfig;Array.isArray(d)||(d=[d]);if(d)for(var e,h=0;e=d[h];h++)if(e.animatable)e.animatable._getAnimationConfigRecursive(e.type||a,b,c);else if(e.id){var l=b[e.id];
l?(l.isClone||(b[e.id]=this._cloneConfig(l),l=b[e.id]),this._copyProperties(l,e)):b[e.id]=e}else c.push(e)}},
getAnimationConfig:function(a){var b={},c=[];this._getAnimationConfigRecursive(a,b,c);for(var d in b)c.push(b[d]);return c}},
{_configureAnimations:function(a){var b=[],c=[];if(0<a.length)for(var d,e=0;d=a[e];e++){var h=document.createElement(d.name);if(h.isNeonAnimation){var l=null;h.configure||(h.configure=function(){return null});
l=h.configure(d);c.push({result:l,config:d})}else console.warn(this.is+":",d.name,"not found!")}for(a=0;a<c.length;a++){l=c[a].result;d=c[a].config;try{"function"!=typeof l.cancel&&(l=document.timeline.play(l))}catch(m){l=null,console.warn("Couldnt play","(",d.name,").",m)}l&&b.push({neonAnimation:h,config:d,animation:l})}return b},
_shouldComplete:function(a){for(var b=!0,c=0;c<a.length;c++)if("finished"!=a[c].animation.playState){b=!1;break}return b},
_complete:function(a){for(var b=0;b<a.length;b++)a[b].neonAnimation.complete(a[b].config);for(b=0;b<a.length;b++)a[b].animation.cancel()},
playAnimation:function(a,b){var c=this.getAnimationConfig(a);if(c){this._active=this._active||{};this._active[a]&&(this._complete(this._active[a]),delete this._active[a]);var d=this._configureAnimations(c);if(0==d.length)this.fire("neon-animation-finish",b,{bubbles:!1});else for(this._active[a]=d,c=0;c<d.length;c++)d[c].animation.onfinish=function(){this._shouldComplete(d)&&(this._complete(d),delete this._active[a],this.fire("neon-animation-finish",b,{bubbles:!1}))}.bind(this)}},
cancelAnimation:function(){for(var a in this._active){var b=this._active[a],c;for(c in b)b[c].animation&&b[c].animation.cancel&&b[c].animation.cancel()}this._active={}}}];
var kMa;
var lMa;
/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var zx,mMa,nMa;zx=Element.prototype;mMa=zx.matches||zx.matchesSelector||zx.mozMatchesSelector||zx.msMatchesSelector||zx.oMatchesSelector||zx.webkitMatchesSelector;nMa=function(){};
_.Ax=function(a){var b=oMa,c=[];return b._collectTabbableNodes(a,c)?b._sortByTabIndex(c):c};
_.f=nMa.prototype;_.f._normalizedTabIndex=function(a){return(mMa.call(a,"input, select, textarea, button, object")?mMa.call(a,":not([disabled])"):mMa.call(a,"a[href], area[href], iframe, [tabindex], [contentEditable]"))?(a=a.getAttribute("tabindex")||0,Number(a)):-1};
_.f._collectTabbableNodes=function(a,b){if(a.nodeType!==Node.ELEMENT_NODE||!this._isVisible(a))return!1;var c=this._normalizedTabIndex(a),d=0<c;0<=c&&b.push(a);a="content"===a.localName||"slot"===a.localName?_.H(a).getDistributedNodes():_.H(a.root||a).children;for(c=0;c<a.length;c++)d=this._collectTabbableNodes(a[c],b)||d;return d};
_.f._isVisible=function(a){var b=a.style;return"hidden"!==b.visibility&&"none"!==b.display?(b=window.getComputedStyle(a),"hidden"!==b.visibility&&"none"!==b.display):!1};
_.f._sortByTabIndex=function(a){var b=a.length;if(2>b)return a;var c=Math.ceil(b/2);b=this._sortByTabIndex(a.slice(0,c));a=this._sortByTabIndex(a.slice(c));return this._mergeSortByTabIndex(b,a)};
_.f._mergeSortByTabIndex=function(a,b){for(var c=[];0<a.length&&0<b.length;)this._hasLowerTabOrder(a[0],b[0])?c.push(b.shift()):c.push(a.shift());return c.concat(a,b)};
_.f._hasLowerTabOrder=function(a,b){a=Math.max(a.tabIndex,0);b=Math.max(b.tabIndex,0);return 0===a||0===b?b>a:a>b};
var oMa=new nMa;
var pMa;
var qMa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==qMa)return qMa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-iron-overlay-backdrop--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_iron_overlay_behavior.tp.yt.iron.overlay.backdrop.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===pMa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_iron_overlay_behavior.tp.yt.iron.overlay.backdrop.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-color: var(--iron-overlay-backdrop-background-color, #000);\n  opacity: 0;\n  transition: opacity 0.2s;\n  pointer-events: none;\n}\n\n:host(.opened) {\n  opacity: var(--iron-overlay-backdrop-opacity, 0.6);\n  pointer-events: auto;\n  z-index: var(--iron-overlay-backdrop-opened-z-index);\n}\n\n/*# sourceMappingURL=tp-yt-iron-overlay-backdrop.css.map */</style>";
pMa=d}d=pMa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return qMa=a},
is:"tp-yt-iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},
attached:function(){this.opened&&this._openedChanged(this.opened)},
prepare:function(){this.opened&&!this.parentNode&&_.H(document.body).appendChild(this)},
open:function(){this.opened=!0},
close:function(){this.opened=!1},
complete:function(){this.opened||this.parentNode!==document.body||_.H(this.parentNode).removeChild(this)},
_onTransitionend:function(a){a&&a.target===this&&this.complete()},
_openedChanged:function(a){a?this.prepare():(a=window.getComputedStyle(this),"0s"!==a.transitionDuration&&0!=a.opacity||this.complete());this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null;this.toggleClass("opened",this.opened)}.bind(this)))}});
var Bx=function(){this._overlays=[];this._minimumZ=101;this._backdropElement=null;_.Gc(document.documentElement,"tap",function(){});
document.addEventListener("tap",this._onCaptureClick.bind(this),!0);document.addEventListener("focus",this._onCaptureFocus.bind(this),!0);document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)};
Bx.prototype._bringOverlayAtIndexToFront=function(a){var b=this._overlays[a];if(b){var c=this._overlays.length-1,d=this._overlays[c];d&&this._shouldBeBehindOverlay(b,d)&&c--;if(!(a>=c)){d=Math.max(this._getZ(_.Cx(this)),this._minimumZ);for(this._getZ(b)<=d&&this._applyOverlayZ(b,d);a<c;)this._overlays[a]=this._overlays[a+1],a++;this._overlays[c]=b}}};
Bx.prototype.addOverlay=function(a){var b=this._overlays.indexOf(a);if(0<=b)this._bringOverlayAtIndexToFront(b);else{b=this._overlays.length;var c=this._overlays[b-1],d=Math.max(this._getZ(c),this._minimumZ),e=this._getZ(a);c&&this._shouldBeBehindOverlay(a,c)&&(this._applyOverlayZ(c,d),b--,d=Math.max(this._getZ(this._overlays[b-1]),this._minimumZ));e<=d&&this._applyOverlayZ(a,d);this._overlays.splice(b,0,a)}this.trackBackdrop()};
Bx.prototype.removeOverlay=function(a){a=this._overlays.indexOf(a);-1!==a&&(this._overlays.splice(a,1),this.trackBackdrop())};
_.Cx=function(a){return a._overlays[a._overlays.length-1]};
_.f=Bx.prototype;_.f.trackBackdrop=function(){var a=this._overlayWithBackdrop();if(a||this._backdropElement)this.backdropElement.style.zIndex=this._getZ(a)-1,this.backdropElement.opened=!!a,this.backdropElement.prepare()};
_.f._overlayWithBackdrop=function(){for(var a=this._overlays.length-1;0<=a;a--)if(this._overlays[a].withBackdrop)return this._overlays[a]};
_.f._getZ=function(a){var b=this._minimumZ;a&&(a=Number(a.style.zIndex||window.getComputedStyle(a).zIndex),a===a&&(b=a));return b};
_.f._setZ=function(a,b){a.style.zIndex=b};
_.f._applyOverlayZ=function(a,b){this._setZ(a,b+2)};
_.f._overlayInPath=function(a){a=a||[];for(var b=0;b<a.length;b++)if(a[b]._manager===this)return a[b]};
_.f._onCaptureClick=function(a){var b=this._overlays.length-1;if(-1!==b)for(var c=_.H(a).path,d;(d=this._overlays[b])&&this._overlayInPath(c)!==d;)if(d._onCaptureClick(a),d.allowClickThrough)b--;else break};
_.f._onCaptureFocus=function(a){var b=_.Cx(this);b&&b._onCaptureFocus(a)};
_.f._onCaptureKeyDown=function(a){var b=_.Cx(this);b&&(_.Xs.keyboardEventMatchesKeys(a,"esc")?b._onCaptureEsc(a):_.Xs.keyboardEventMatchesKeys(a,"tab")&&b._onCaptureTab(a))};
_.f._shouldBeBehindOverlay=function(a,b){return!a.alwaysOnTop&&b.alwaysOnTop};
_.t.Object.defineProperties(Bx.prototype,{backdropElement:{configurable:!0,enumerable:!0,get:function(){this._backdropElement||(this._backdropElement=document.createElement("tp-yt-iron-overlay-backdrop"));return this._backdropElement}},
deepActiveElement:{configurable:!0,enumerable:!0,get:function(){var a=document.activeElement;a&&!1!==a instanceof Element||(a=document.body);for(;a.root&&_.H(a.root).activeElement;)a=_.H(a.root).activeElement;return a}}});
_.Dx=new Bx;
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var ZLa,$La,aMa,bMa,sx,cMa;ZLa=0;$La=0;aMa=null;bMa=[];sx=["wheel","mousewheel","DOMMouseScroll","touchstart","touchmove"];_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=[];_._lockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=null;
_._unlockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=null;
_.Ex={properties:{opened:{observer:"_openedChanged",type:Boolean,value:!1,notify:!0},canceled:{observer:"_canceledChanged",readOnly:!0,type:Boolean,value:!1},withBackdrop:{observer:"_withBackdropChanged",type:Boolean},noAutoFocus:{type:Boolean,value:!1},noCancelOnEscKey:{type:Boolean,value:!1},noCancelOnOutsideClick:{type:Boolean,value:!1},closingReason:{type:Object},restoreFocusOnClose:{type:Boolean,value:!1},allowClickThrough:{type:Boolean},alwaysOnTop:{type:Boolean},scrollAction:{type:String},
_manager:{type:Object,value:_.Dx},_focusedChild:{type:Object}},listeners:{"iron-resize":"_onIronResize"},observers:["__updateScrollObservers(isAttached, opened, scrollAction)"],get backdropElement(){return this._manager.backdropElement},get _focusNode(){return this._focusedChild||_.H(this).querySelector("[autofocus]")||this},get _focusableNodes(){return _.Ax(this)},ready:function(){this.__shouldRemoveTabIndex=this.__isAnimating=!1;this.__firstFocusableNode=this.__lastFocusableNode=null;this.__rafs=
{};this.__scrollTop=this.__scrollLeft=this.__restoreFocusNode=null;this.__onCaptureScroll=this.__onCaptureScroll.bind(this);this.__rootNodes=null;this._ensureSetup()},
attached:function(){this.opened&&this._openedChanged(this.opened);this._observer=_.H(this).observeNodes(this._onNodesChange)},
detached:function(){this._observer&&_.H(this).unobserveNodes(this._observer);this._observer=null;for(var a in this.__rafs)null!==this.__rafs[a]&&cancelAnimationFrame(this.__rafs[a]);this.__rafs={};this._manager.removeOverlay(this);this.__isAnimating&&(this.opened?this._finishRenderOpened():(this._applyFocus(),this._finishRenderClosed()))},
toggle:function(){this._setCanceled(!1);this.opened=!this.opened},
open:function(){this._setCanceled(!1);this.opened=!0},
close:function(){this._setCanceled(!1);this.opened=!1},
cancel:function(a){this.fire("iron-overlay-canceled",a,{cancelable:!0}).defaultPrevented||(this._setCanceled(!0),this.opened=!1)},
invalidateTabbables:function(){this.__firstFocusableNode=this.__lastFocusableNode=null},
_ensureSetup:function(){this._overlaySetup||(this._overlaySetup=!0,this.style.outline="none",this.style.display="none")},
_openedChanged:function(a){a?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true");this.isAttached&&(this.__isAnimating=!0,this.__deraf("__openedChanged",this.__openedChanged))},
_canceledChanged:function(){this.closingReason=this.closingReason||{};this.closingReason.canceled=this.canceled},
_withBackdropChanged:function(){this.withBackdrop&&!this.hasAttribute("tabindex")?(this.setAttribute("tabindex","-1"),this.__shouldRemoveTabIndex=!0):this.__shouldRemoveTabIndex&&(this.removeAttribute("tabindex"),this.__shouldRemoveTabIndex=!1);this.opened&&this.isAttached&&this._manager.trackBackdrop()},
_prepareRenderOpened:function(){this.__restoreFocusNode=this._manager.deepActiveElement;this._preparePositioning();this.refit();this._finishPositioning();this.noAutoFocus&&document.activeElement===this._focusNode&&(this._focusNode.blur(),this.__restoreFocusNode.focus())},
_renderOpened:function(){this._finishRenderOpened()},
_renderClosed:function(){this._finishRenderClosed()},
_finishRenderOpened:function(){this.notifyResize();this.__isAnimating=!1;this.fire("iron-overlay-opened")},
_finishRenderClosed:function(){this.style.display="none";this.style.zIndex="";this.notifyResize();this.__isAnimating=!1;this.fire("iron-overlay-closed",this.closingReason)},
_preparePositioning:function(){this.style.transition=this.style.webkitTransition="none";this.style.transform=this.style.webkitTransform="none";this.style.display=""},
_finishPositioning:function(){this.style.display="none";this.scrollTop=this.scrollTop;this.style.transition=this.style.webkitTransition="";this.style.transform=this.style.webkitTransform="";this.style.display="";this.scrollTop=this.scrollTop},
_applyFocus:function(){if(this.opened)this.noAutoFocus||this._focusNode.focus();else{if(this.restoreFocusOnClose&&this.__restoreFocusNode){var a=this._manager.deepActiveElement,b;if(!(b=a===document.body))a:{for(;a;a=a.assignedSlot||a.parentNode||a.host)if(a===this){b=!0;break a}b=!1}b&&this.__restoreFocusNode.focus()}this.__restoreFocusNode=null;this._focusNode.blur();this._focusedChild=null}},
_onCaptureClick:function(a){this.noCancelOnOutsideClick||this.cancel(a)},
_onCaptureFocus:function(a){if(this.withBackdrop){var b=_.H(a).path;-1===b.indexOf(this)?(a.stopPropagation(),this._applyFocus()):this._focusedChild=b[0]}},
_onCaptureEsc:function(a){this.noCancelOnEscKey||this.cancel(a)},
_onCaptureTab:function(a){if(this.withBackdrop){this.__ensureFirstLastFocusables();var b=a.shiftKey,c=b?this.__firstFocusableNode:this.__lastFocusableNode;b=b?this.__lastFocusableNode:this.__firstFocusableNode;if(c===b)c=!0;else{var d=this._manager.deepActiveElement;c=d===c||d===this}c&&(a.preventDefault(),this._focusedChild=b,this._applyFocus())}},
_onIronResize:function(){this.opened&&!this.__isAnimating&&this.__deraf("refit",this.refit)},
_onNodesChange:function(){this.opened&&!this.__isAnimating&&(this.invalidateTabbables(),this.notifyResize())},
__ensureFirstLastFocusables:function(){var a=this._focusableNodes;this.__firstFocusableNode=a[0];this.__lastFocusableNode=a[a.length-1]},
__openedChanged:function(){this.opened?(this._prepareRenderOpened(),this._manager.addOverlay(this),this._applyFocus(),this._renderOpened()):(this._manager.removeOverlay(this),this._applyFocus(),this._renderClosed())},
__deraf:function(a,b){var c=this.__rafs;null!==c[a]&&cancelAnimationFrame(c[a]);c[a]=requestAnimationFrame(function(){c[a]=null;b.call(this)}.bind(this))},
__updateScrollObservers:function(a,b,c){a&&b&&this.__isValidScrollAction(c)?("lock"===c&&(this.__saveScrollPosition(),0<=_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.indexOf(this)||(0===_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.length&&_._lockScrollInteractions$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager(),
_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.push(this),cMa=_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager[_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.length-1],_._lockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=
[],_._unlockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=[])),this.__addScrollListeners()):(a=_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.indexOf(this),-1!==a&&(_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.splice(a,1),cMa=_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager[_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.length-
1],_._lockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=[],_._unlockedElementCache$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager=[],0===_._lockingElements$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager.length&&_._unlockScrollInteractions$$module$third_party$javascript$youtube_components$tp_yt_iron_overlay_behavior$tp_yt_iron_scroll_manager()),
this.__removeScrollListeners())},
__addScrollListeners:function(){if(!this.__rootNodes){this.__rootNodes=[];if(_.Mc)for(var a=this;a;)a.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&a.host&&this.__rootNodes.push(a),a=a.host||a.assignedSlot||a.parentNode;this.__rootNodes.push(document)}this.__rootNodes.forEach(function(b){b.addEventListener("scroll",this.__onCaptureScroll,{capture:!0,passive:!0})},this)},
__removeScrollListeners:function(){this.__rootNodes&&this.__rootNodes.forEach(function(a){a.removeEventListener("scroll",this.__onCaptureScroll,{capture:!0,passive:!0})},this);
this.isAttached||(this.__rootNodes=null)},
__isValidScrollAction:function(a){return"lock"===a||"refit"===a||"cancel"===a},
__onCaptureScroll:function(a){if(!(this.__isAnimating||0<=_.H(a).path.indexOf(this)))switch(this.scrollAction){case "lock":this.__restoreScrollPosition();break;case "refit":this.__deraf("refit",this.refit);break;case "cancel":this.cancel(a)}},
__saveScrollPosition:function(){document.scrollingElement?(this.__scrollTop=document.scrollingElement.scrollTop,this.__scrollLeft=document.scrollingElement.scrollLeft):(this.__scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this.__scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},
__restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this.__scrollTop,document.scrollingElement.scrollLeft=this.__scrollLeft):(document.documentElement.scrollTop=document.body.scrollTop=this.__scrollTop,document.documentElement.scrollLeft=document.body.scrollLeft=this.__scrollLeft)}};
_.Fx=[eMa,_.xx,_.Ex];
_.Ng({_template:function(){if(void 0!==lMa)return lMa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-iron-dropdown--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_iron_dropdown.tp.yt.iron.dropdown.css.js--\x3e<div id="contentWrapper">\n  <slot id="content" name="dropdown-content"></slot>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===kMa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_iron_dropdown.tp.yt.iron.dropdown.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  position: fixed;\n}\n\n#contentWrapper ::slotted(*) {\n  overflow: auto;\n}\n\n#contentWrapper.animating ::slotted(*) {\n  overflow: hidden;\n  pointer-events: none;\n}\n\n/*# sourceMappingURL=tp-yt-iron-dropdown.css.map */</style>";
kMa=d}d=kMa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return lMa=a},
is:"tp-yt-iron-dropdown",behaviors:[_.Ys,_.Xs,_.Fx,_.jMa],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],
get containedElement(){for(var a=_.H(this.$.content).getDistributedNodes(),b=0,c=a.length;b<c;b++)if(a[b].nodeType===Node.ELEMENT_NODE)return a[b]},ready:function(){this.scrollAction||(this.scrollAction=this.allowOutsideScroll?"refit":"lock");this._readied=!0},
attached:function(){this.sizingTarget&&this.sizingTarget!==this||(this.sizingTarget=this.containedElement||this)},
detached:function(){this.cancelAnimation()},
_openedChanged:function(){this.opened&&this.disabled?this.cancel():(this.cancelAnimation(),this._updateAnimationConfig(),_.Ex._openedChanged.apply(this,arguments))},
_renderOpened:function(){!this.noAnimations&&this.animationConfig.open?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("open")):_.Ex._renderOpened.apply(this,arguments)},
_renderClosed:function(){!this.noAnimations&&this.animationConfig.close?(this.$.contentWrapper.classList.add("animating"),this.playAnimation("close")):_.Ex._renderClosed.apply(this,arguments)},
_onNeonAnimationFinish:function(){this.$.contentWrapper.classList.remove("animating");this.opened?this._finishRenderOpened():this._finishRenderClosed()},
_updateAnimationConfig:function(){for(var a=this.containedElement,b=[].concat(this.openAnimationConfig||[],this.closeAnimationConfig||[]),c=0;c<b.length;c++)b[c].node=a;this.animationConfig={open:this.openAnimationConfig,close:this.closeAnimationConfig}},
_updateOverlayPosition:function(){this.isAttached&&this.notifyResize()},
_allowOutsideScrollChanged:function(a){this._readied&&(a?this.scrollAction&&"lock"!==this.scrollAction||(this.scrollAction="refit"):this.scrollAction="lock")},
_applyFocus:function(){var a=this.focusTarget||this.containedElement;a&&this.opened&&!this.noAutoFocus?a.focus():_.Ex._applyFocus.apply(this,arguments)}});
var rMa=document.createElement("template");rMa.innerHTML='<custom-style><style is="custom-style">/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\nhtml {\n  --shadow-transition: {\n    transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);\n  };\n  --shadow-elevation-2dp: {\n    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\n  };\n  --shadow-elevation-4dp: {\n    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);\n  };\n  --shadow-elevation-6dp: {\n    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.4);\n  };\n  --shadow-elevation-8dp: {\n    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4);\n  };\n  --shadow-elevation-12dp: {\n    box-shadow: 0 12px 16px 1px rgba(0, 0, 0, 0.14), 0 4px 22px 3px rgba(0, 0, 0, 0.12), 0 6px 7px -4px rgba(0, 0, 0, 0.4);\n  };\n  --shadow-elevation-16dp: {\n    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);\n  };\n  --shadow-elevation-24dp: {\n    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.4);\n  };\n}</style></custom-style>';
document.head.appendChild(rMa.content);
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({is:"tp-yt-paper-menu-grow-height-animation",_template:null,behaviors:[yx],configure:function(a){var b=a.node,c=b.getBoundingClientRect().height;return this._effect=new KeyframeEffect(b,[{height:c/2+"px"},{height:c+"px"}],this.timingFromConfig(a))}});
_.Ng({is:"tp-yt-paper-menu-grow-width-animation",_template:null,behaviors:[yx],configure:function(a){var b=a.node,c=b.getBoundingClientRect().width;return this._effect=new KeyframeEffect(b,[{width:c/2+"px"},{width:c+"px"}],this.timingFromConfig(a))}});
_.Ng({is:"tp-yt-paper-menu-shrink-width-animation",_template:null,behaviors:[yx],configure:function(a){var b=a.node,c=b.getBoundingClientRect().width;return this._effect=new KeyframeEffect(b,[{width:c+"px"},{width:c-c/20+"px"}],this.timingFromConfig(a))}});
_.Ng({is:"tp-yt-paper-menu-shrink-height-animation",_template:null,behaviors:[yx],configure:function(a){var b=a.node,c=b.getBoundingClientRect().height;this.setPrefixedProperty(b,"transformOrigin","0 0");return this._effect=new KeyframeEffect(b,[{height:c+"px",transform:"translateY(0)"},{height:c/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(a))}});
var sMa;
var tMa;
var Gx={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400},uMa=function(){};
_.f=uMa.prototype;_.f.registered=function(){this._prepKeyBindings()};
_.f.addOwnKeyBinding=function(a,b){this._imperativeKeyBindings[a]=b;this._prepKeyBindings();this._resetKeyEventListeners()};
_.f.removeOwnKeyBindings=function(){this._imperativeKeyBindings={};this._prepKeyBindings();this._resetKeyEventListeners()};
_.f.keyboardEventMatchesKeys=function(a,b){b=_.Ws(b);for(var c=0;c<b.length;++c)if(_.Vs(b[c],a))return!0;return!1};
_.f._collectKeyBindings=function(){var a=this.behaviors.map(function(b){return b.keyBindings});
-1===a.indexOf(this.keyBindings)&&a.push(this.keyBindings);return a};
_.f._prepKeyBindings=function(){this._keyBindings={};this._collectKeyBindings().forEach(function(c){for(var d in c)this._addKeyBinding(d,c[d])},this);
for(var a in this._imperativeKeyBindings)this._addKeyBinding(a,this._imperativeKeyBindings[a]);for(var b in this._keyBindings)this._keyBindings[b].sort(function(c,d){c=c[0].hasModifiers;return c===d[0].hasModifiers?0:c?-1:1})};
_.f._addKeyBinding=function(a,b){_.Ws(a).forEach(function(c){this._keyBindings[c.event]=this._keyBindings[c.event]||[];this._keyBindings[c.event].push([c,b])},this)};
_.f._resetKeyEventListeners=function(){this._unlistenKeyEventListeners();this.isAttached&&this._listenKeyEventListeners()};
_.f._listenKeyEventListeners=function(){this.keyEventTarget&&Object.keys(this._keyBindings).forEach(function(a){var b=this._onKeyBindingEvent.bind(this,this._keyBindings[a]);this._boundKeyHandlers.push([this.keyEventTarget,a,b]);this.keyEventTarget.addEventListener(a,b)},this)};
_.f._unlistenKeyEventListeners=function(){for(var a,b,c;this._boundKeyHandlers.length;)a=this._boundKeyHandlers.pop(),b=a[0],c=a[1],a=a[2],b.removeEventListener(c,a)};
_.f._onKeyBindingEvent=function(a,b){this.stopKeyboardEventPropagation&&b.stopPropagation();if(!b.defaultPrevented)for(var c=0;c<a.length;c++){var d=a[c][0],e=a[c][1];if(_.Vs(d,b)&&(this._triggerKeyHandler(d,e,b),b.defaultPrevented))break}};
_.f._triggerKeyHandler=function(a,b,c){var d=Object.create(a);d.keyboardEvent=c;a=new CustomEvent(a.event,{detail:d,cancelable:!0});this[b].call(this,a);a.defaultPrevented&&c.preventDefault()};
_.f._focusBlurHandler=function(a){this._setFocused("focus"===a.type)};
_.f._changedControlState=function(){this._controlStateChanged&&this._controlStateChanged()};
_.f._setFocused=function(){};
uMa=_.Ng({_template:function(){if(void 0!==tMa)return tMa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-menu-button--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_menu_button.tp.yt.paper.menu.button.css.js--\x3e<div id="trigger" on-tap="toggle">\n  <slot name="dropdown-trigger"></slot>\n</div>\n\n<tp-yt-iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizontalAlign]]" vertical-align="[[verticalAlign]]" dynamic-align="[[dynamicAlign]]" horizontal-offset="[[horizontalOffset]]" vertical-offset="[[verticalOffset]]" no-overlap="[[noOverlap]]" open-animation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="[[noAnimations]]" focus-target="[[_dropdownContent]]" allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-overlay-canceled="__onIronOverlayCanceled" expand-sizing-target-for-scrollbars="[[expandSizingTargetForScrollbars]]">\n  <div slot="dropdown-content" class="dropdown-content">\n    <slot id="content" name="dropdown-content"></slot>\n  </div>\n</tp-yt-iron-dropdown>\n';
var b=a.content,c=b.insertBefore;if(void 0===sMa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_menu_button.tp.yt.paper.menu.button.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: inline-block;\n  position: relative;\n  outline: none;\n  background-color: var(--paper-menu-button-background-color);\n  border-radius: var(--paper-menu-button-border-radius);\n  padding: var(--paper-menu-button-padding, 8px);\n  width: var(--paper-menu-button-width);\n}\n\n:host([disabled]) {\n  cursor: auto;\n  color: var(--disabled-text-color);\n  opacity: var(--paper-menu-button-disabled-opacity);\n}\n\ntp-yt-iron-dropdown {\n  max-height: var(--paper-menu-button-dropdown-max-height);\n  width: var(--paper-menu-button-dropdown-width);\n}\n\n.dropdown-content {\n  background: var(--paper-menu-button-content-background);\n  background-color: var(--paper-menu-button-content-background-color, var(--paper-menu-button-dropdown-background, var(--primary-background-color)));\n  border-radius: var(--paper-menu-button-content-border-radius, 2px);\n  box-shadow: var(--paper-menu-button-content-box-shadow, 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2));\n  position: var(--paper-menu-button-content-position, relative);\n}\n\n:host([vertical-align=top]) .dropdown-content {\n  margin-bottom: 20px;\n  margin-top: -10px;\n  top: 10px;\n}\n\n:host([vertical-align=bottom]) .dropdown-content {\n  bottom: 10px;\n  margin-bottom: -10px;\n  margin-top: 20px;\n}\n\n#trigger {\n  cursor: pointer;\n}\n\n/*# sourceMappingURL=tp-yt-paper-menu-button.css.map */</style>";
sMa=d}d=sMa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return tMa=a},
is:"tp-yt-paper-menu-button",behaviors:[_.Xs,_.Ys],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,
value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"tp-yt-paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:Gx.ANIMATION_CUBIC_BEZIER}},{name:"tp-yt-paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:Gx.ANIMATION_CUBIC_BEZIER}}]}},
closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"tp-yt-paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:Gx.ANIMATION_CUBIC_BEZIER}},{name:"tp-yt-paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},
allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},expandSizingTargetForScrollbars:{type:Boolean,value:!1},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get JSC$36634_contentElement(){for(var a=_.H(this.$.content).getDistributedNodes(),b=0,c=a.length;b<c;b++)if(a[b].nodeType===Node.ELEMENT_NODE)return a[b]},toggle:function(){this.opened?this.close():
this.open()},
open:function(){this.disabled||this.$.dropdown.open()},
close:function(){this.$.dropdown.close()},
_onIronSelect:function(){this.ignoreSelect||this.close()},
_onIronActivate:function(){this.closeOnActivate&&this.close()},
_openedChanged:function(a,b){a?(this._dropdownContent=this.JSC$36634_contentElement,this.fire("paper-dropdown-open")):null!=b&&this.fire("paper-dropdown-close")},
_disabledChanged:function(a){_.Ys._disabledChanged.apply(this,arguments);a&&this.opened&&this.close()},
__onIronOverlayCanceled:function(a){var b=this.$.trigger;-1<_.H(a.detail).path.indexOf(b)&&a.preventDefault()}});
Object.keys(Gx).forEach(function(a){uMa[a]=Gx[a]});
var vMa;
var wMa;
_.Ng({_template:function(){if(void 0!==wMa)return wMa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-listbox--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_listbox.tp.yt.paper.listbox.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===vMa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_listbox.tp.yt.paper.listbox.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n  padding: 8px 0;\n  background: var(--paper-listbox-background-color, var(--primary-background-color));\n  color: var(--paper-listbox-color, var(--primary-text-color));\n  border: var(--paper-listbox-border);\n}\n\n/*# sourceMappingURL=tp-yt-paper-listbox.css.map */</style>";
vMa=d}d=vMa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return wMa=a},
is:"tp-yt-paper-listbox",behaviors:[_.iMa],hostAttributes:{role:"listbox"}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var xMa;
var yMa;
_.Ng({is:"yt-reload-continuation",behaviors:[_.U.YtRendererBehavior],properties:{data:Object},trigger:function(){this.fire("yt-load-reload-continuation",this.getContinuationUrl.bind(this))},
getContinuationUrl:function(a){var b={ctoken:this.data.continuation,continuation:this.data.continuation};this.data.clickTrackingParams&&(b.itct=this.data.clickTrackingParams);return _.vd(a,b)}});
var zMa;
var AMa;
_.Ng({is:"yt-dropdown-menu",_template:function(){if(void 0!==AMa)return AMa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-dropdown-menu--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_dropdown_menu.yt.dropdown.menu.css.js--\x3e<tp-yt-paper-menu-button close-on-activate="[[closeOnActivate]]" disabled="[[disabled]]" dynamic-align="" expand-sizing-target-for-scrollbars="[[expandSizingTargetForScrollbars]]" horizontal-align="[[horizontalAlign]]" vertical-offset="[[computeVerticalOffset_(icon)]]">\n  <tp-yt-paper-button id="label" class="dropdown-trigger" slot="dropdown-trigger" aria-expanded$="[[menuExpanded]]" aria-label$="[[ariaLabel]]" on-tap="onLabelClick_">\n    <template is="dom-if" if="[[computeShowIcon_(icon, useLabel)]]">\n      <yt-icon id="label-icon" active="[[isLabelIconActive_(menuExpanded)]]" icon="[[icon]]">\n      </yt-icon>\n      <div id="icon-label">[[iconLabel]]</div>\n    </template>\n    <template is="dom-if" if="[[useLabel]]">\n      <div id="label-text">[[computeLabel_(selected)]]</div>\n      <yt-icon id="label-icon" icon="expand">\n      </yt-icon>\n    </template>\n  </tp-yt-paper-button>\n  <tp-yt-paper-listbox id="menu" class="dropdown-content" slot="dropdown-content" selected="{{selected}}">\n    <template id="repeat" is="dom-repeat" items="[[data]]">\n      <a class="yt-simple-endpoint" href$="[[computeHrefForItem_(item)]]" data="[[computeEndpoint_(item)]]" on-focus="onLinkFocus_" on-tap="onItemTap_">\n        <tp-yt-paper-item>\n          <tp-yt-paper-item-body two-line$="[[computeHasSubtitle_(item.subtitle)]]">\n            <div class="item">[[item.title]]</div>\n            <div secondary="" id="subtitle" hidden="[[!computeHasSubtitle_(item.subtitle)]]">\n              [[item.subtitle]]\n            </div>\n          </tp-yt-paper-item-body>\n          <yt-reload-continuation data="[[item.continuation.reloadContinuationData]]">\n          </yt-reload-continuation>\n        </tp-yt-paper-item>\n      </a>\n    </template>\n  </tp-yt-paper-listbox>\n</tp-yt-paper-menu-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zMa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_dropdown_menu.yt.dropdown.menu.css.js--\x3e<style>:host {display: inline-block;max-width: 100%;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;width: var(--yt-dropdown-menu-button-width,auto);height: var(--yt-dropdown-menu-button-height,auto);} tp-yt-paper-menu-button {color: var(--yt-spec-text-secondary);--paper-menu-button-dropdown-background: transparent;} tp-yt-paper-menu-button,#label-text {max-width: 100%;} #label-text {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} tp-yt-paper-menu-button {padding: 0;} tp-yt-paper-listbox {background-color: var(--yt-spec-brand-background-primary);} tp-yt-paper-listbox tp-yt-paper-item:hover {background-color: var(--yt-spec-10-percent-layer);} tp-yt-paper-listbox .iron-selected {font-weight: inherit;background-color: var(--yt-spec-10-percent-layer);} #label {cursor: pointer;text-transform: var(--yt-dropdown-menu-label-transform,none);padding: 0;margin: 0;min-width: 0;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #label-text {color: var(--yt-spec-text-primary);@apply --yt-dropdown-menu-label-text;} #icon-label {color: var(--yt-spec-text-primary);font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} #label.keyboard-focus #icon-label {font-weight: 700;} #label.keyboard-focus #label-text {font-weight: 500;} #label-icon {flex-shrink: 0;color: var(--yt-spec-text-primary);} :host([icon-label]) #label-icon {margin-right: var(--ytd-margin-2x);} .item {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} #subtitle {color: var(--yt-spec-text-secondary);white-space: normal;font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));outline: none;} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {display: block;color: var(--yt-spec-text-primary);} :host(:not(.has-items)) #label-icon {display: none;} :host(:not(.has-items)) #label {cursor: default;} :host(:not(.has-items)) #label:focus {outline: none;} tp-yt-paper-item-body {max-width: 100%;-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=yt-dropdown-menu.css.map*/</style>";
zMa=d}d=zMa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return AMa=a},
behaviors:[_.iu.YtComponentBehavior,_.Tu.YtEndpointBehavior],properties:{data:{type:Object,observer:"dataChanged_"},selected:Number,useLabel:{type:Boolean,value:!1},icon:String,iconLabel:{type:String,reflectToAttribute:!0},ariaLabel:String,disabled:{type:Boolean,value:!1,reflectToAttribute:!0},menuExpanded:{type:String,value:"false"},closeOnActivate:{type:Boolean,value:!1},expandSizingTargetForScrollbars:{type:Boolean,value:_.x("kevlar_dropdown_fix")}},listeners:{"iron-activate":"onIronActivate_",
tap:"onTap_","iron-overlay-closed":"onMenuClose_"},dataChanged_:function(a){this.selected=void 0;var b=this.computeSelectedIndex_(a);0<=b&&(this.selected=b);a=a&&1<a.length;this.toggleClass("has-items",a);this.$.label.tabIndex=a?0:-1},
computeSelectedIndex_:function(a){if(a)for(var b=0,c=a.length;b<c;b++)if(a[b].selected)return b;return-1},
computeLabel_:function(a){return this.data&&void 0!=a?this.data[a].title:""},
computeShowIcon_:function(a,b){return!b&&!!a},
computeVerticalOffset_:function(a){return a?36:0},
computeEndpoint_:function(a){return a.endpoint||a.navigationEndpoint},
onLabelClick_:function(a){this.data&&1>=this.data.length?a.stopPropagation():this.menuExpanded="true"},
onIronActivate_:function(a){a=a.detail.item;var b=this.$.repeat.itemForElement(a);b&&b.serviceEndpoint?(_.Kg(this,[b.serviceEndpoint]),this.fire("yt-playlist-reloading")):_.dMa(a)},
onTap_:function(a){a.preventDefault()},
onItemTap_:function(a){this.onEndpointTap_(a)},
onLinkFocus_:function(a){try{var b=_.H(a).localTarget}catch(d){}if(b){var c=b.querySelector("tp-yt-paper-item");c&&this.debounce("focus",function(){c.focus()})}},
onMenuClose_:function(){this.menuExpanded="false"},
isLabelIconActive_:function(a){return"true"===a},
computeHasSubtitle_:function(a){return!!a},
computeHrefForItem_:function(a){return this.computeHref_(this.computeEndpoint_(a))}});
_.Ng({is:"yt-sort-filter-sub-menu-renderer",_template:function(){if(void 0!==yMa)return yMa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-sort-filter-sub-menu-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_sort_filter_sub_menu_renderer.yt.sort.filter.sub.menu.renderer.css.js--\x3e<tp-yt-paper-tooltip>[[data.tooltip]]</tp-yt-paper-tooltip>\n<yt-dropdown-menu aria-label="[[computeAccessibilityLabel_(data)]]" close-on-activate="[[closeOnActivate]]" data="[[data.subMenuItems]]" disabled="[[disabled]]" horizontal-align="[[computeHorizontalAlign_(isRightAligned)]]" icon="[[data.icon.iconType]]" icon-label="[[data.title]]" use-label="[[!data.icon.iconType]]">\n</yt-dropdown-menu>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xMa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_sort_filter_sub_menu_renderer.yt.sort.filter.sub.menu.renderer.css.js--\x3e<style>:host {--yt-endpoint-force-cursor: pointer;display: inline-block;} /*# sourceMappingURL=yt-sort-filter-sub-menu-renderer.css.map*/</style>";xMa=d}d=xMa;c.call(b,
d.content.cloneNode(!0),a.content.firstChild);return yMa=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object,isRightAligned:{type:Boolean,value:!1},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},closeOnActivate:{type:Boolean,value:!1}},computeHorizontalAlign_:function(a){return a?"right":"left"},
computeAccessibilityLabel_:function(a){return this.get("accessibility.accessibilityData.label",a)}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy7");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var PJa,QJa,rw,sw,SJa,TJa,VJa,XJa,YJa,ZJa,dKa,eKa,fKa,gKa,hKa,iKa,jKa,kKa,mKa,nKa,oKa,Fw,qKa,tKa,rKa,Jw,xKa,wKa,zKa,yKa,CKa,vKa,EKa,sKa;PJa=function(a,b){if(a===b)a=!0;else if(Array.isArray(a)&&Array.isArray(b))a=_.jt(a,b,PJa);else if(_.pa(a)&&_.pa(b))a:if((0,_.u.getKeys)(a).length!=(0,_.u.getKeys)(b).length)a=!1;else{for(var c in a)if(!PJa(a[c],b[c])){a=!1;break a}a=!0}else a=!1;return a};
QJa=function(a,b){var c;a instanceof HTMLElement?c=a.injector:a instanceof _.Twa&&(c=a);if(c){_.Ro.push(c);try{b()}finally{_.Ro.pop()}}};
_.pw=function(a,b,c){_.yu(a,c)||_.fi(a,b,c)};
_.RJa=function(a){return a.ui.inlinePreviewIsEnabled};
_.qw=function(){var a=_.sv();if(!a){var b=_.Eg().resolve(_.Cg(_.Co)),c=b?typeof b:"no page manager";b=b?b.getCurrentPage():null;_.Qf(new _.ge("Player is missing when requested.",c,b?b.tagName:"no page"))}return a};
rw=function(){};
sw=function(a,b){for(;a.length>b;)a.pop()};
SJa=function(a){a=Array(a);sw(a,0);return a};
TJa=function(a,b,c){if(null==c)a.removeAttribute(b);else{var d=0===b.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===b.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":null;d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)}};
VJa=function(a,b,c,d){(d[b]||d[UJa.default])(a,b,c)};
XJa=function(a,b,c){b=new WJa(b,c);return a.__incrementalDOMData=b};
_.tw=function(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData;var c=1===a.nodeType?a.localName:a.nodeName,d=1===a.nodeType?a.getAttribute("key"):null;b=XJa(a,c,1===a.nodeType?d||b:null);if(1===a.nodeType&&(a=a.attributes,c=a.length)){d=b._attrsArr||(b._attrsArr=SJa(c));for(var e=0,h=0;e<c;e+=1,h+=2){var l=a[e],m=l.value;d[h]=l.name;d[h+1]=m}}return b};
YJa=function(a,b,c,d,e){return b==c&&d==e};
ZJa=function(){for(var a=_.uw,b=_.vw?_.vw.nextSibling:_.uw.firstChild;null!==b;){var c=b.nextSibling;a.removeChild(b);ww.deleted.push(b);b=c}};
_.$Ja=function(a,b,c){_.vw=_.vw?_.vw.nextSibling:_.uw.firstChild;var d;a:{if(d=_.vw){do{var e=d,h=a,l=b,m=_.tw(e,l);if(xw(e,h,m.nameOrCtor,l,m.key))break a}while(b&&(d=d.nextSibling))}d=null}d||("#text"===a?(c=yw.createTextNode(""),XJa(c,"#text",null),a=c):(d=yw,e=_.uw,"function"===typeof a?d=new a:d=(e="svg"===a?"http://www.w3.org/2000/svg":"math"===a?"http://www.w3.org/1998/Math/MathML":null==e||"foreignObject"===_.tw(e).nameOrCtor?null:e.namespaceURI)?d.createElementNS(e,a):d.createElement(a),
XJa(d,a,b),a=d,c&&a.setAttribute("nonce",c)),ww.created.push(a),d=a);c=d;if(c!==_.vw){if(0<=zw.indexOf(c))for(a=_.uw,b=c.nextSibling,d=_.vw;null!==d&&d!==c;)e=d.nextSibling,a.insertBefore(d,b),d=e;else _.uw.insertBefore(c,_.vw);_.vw=c}};
dKa=function(a,b){b=void 0===b?{}:b;var c=void 0===b.matches?YJa:b.matches;return function(d,e,h){var l=ww,m=yw,p=zw,r=Aw,v=Bw,z=_.vw,A=_.uw,D=xw;yw=d.ownerDocument;ww=new aKa(d);xw=c;Aw=[];Bw=[];_.vw=null;var E=_.uw=d.parentNode,J,R=bKa.call(d);if((J=11===R.nodeType||9===R.nodeType?R.activeElement:null)&&d.contains(J)){for(R=[];J!==E;)R.push(J),J=J.parentNode;E=R}else E=[];zw=E;try{return a(d,e,h)}finally{d=ww,cKa&&0<d.deleted.length&&cKa(d.deleted),yw=m,ww=l,xw=D,Aw=r,Bw=v,_.vw=z,_.uw=A,zw=p}}};
eKa=function(a,b,c){Cw.push(VJa);Cw.push(a);Cw.push(b);Cw.push(c);Cw.push(Dw)};
fKa=function(a){var b=a._propertiesChanged;a._propertiesChanged=function(c,d,e){a.debounceRender();b&&b.call(a,c,d,e)}};
gKa=function(a,b){var c=new Set,d=[a].concat(_.sc(a.behaviors));d=_.k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;for(var h in e.properties)c.has(h)||(a._addPropertyEffect(h,"function",b),c.add(h))}};
hKa=function(){var a=Polymer.Element,b=a._prepareTemplate;a._prepareTemplate=function(){b.call(this);var c=this.prototype;if(c.experimentalTemplatingInUse&&c.experimentalTemplatingInUse()&&c.switchTemplateAtRegistration&&void 0!==this.template)if("string"===typeof this.template)_.Qf(Error("xd"));else{c=this.template.content.childNodes;for(var d=c.length-1;0<=d;d--){var e=c[d];"STYLE"!==e.nodeName&&"LINK"!==e.nodeName&&"SCRIPT"!==e.nodeName&&"#comment"!==e.nodeName&&e.remove()}}}};
iKa=function(a){hKa();var b=a.ready;a.ready=function(){this._template=null;b.call(this)};
gKa(a,a.debounceRender)};
jKa=function(a){var b=a.thumbnails;if(b){a={sources:[]};b=_.k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d={};d.url=c.url;d.width=c.width;d.height=c.height;a.sources.push(d)}return a}};
kKa=function(a,b,c){if(!b)return _.Rf(new _.ge("Must specify width or height.")),null;for(var d=_.k(a),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.width||!e.height)return _.Rf(new _.ge("Image source has undefined width or height.")),null;if(c&&e.width>=b||!c&&e.height>=b)return e}for(b=a.length-1;0<=b;b--)if(c&&a[b].width||!c&&a[b].height)return a[b];return a[0]};
mKa=function(a,b,c,d,e,h){h=void 0===h?!0:h;if(!b||0===b.length||b[0].clientResource)return null;d&&e||(e=a.getBoundingClientRect(),d=e.width,e=e.height);d*=lKa;e*=lKa;switch(c){case "WEB":d=kKa(b,h?d:e,h);break;case "MWEB":a:{e=0;c=Number.MAX_SAFE_INTEGER;h=0;a=-Number.MAX_SAFE_INTEGER;for(var l=0;l<b.length;l++){var m=b[l];if(!m.width){_.Rf(new _.ge("Image source has undefined width."));d=null;break a}m=m.width-d;0<=m&&m<=c?(e=l,c=m):0>m&&m>a&&(h=l,a=m)}d=100>c||c<-a?b[e]:b[h]}break;case "LR":a:{for(e=
b.length-1;0<=e;e--)if(c=b[e],c.width&&c.width<=.55*d){d=e+1===b.length?b[b.length-1]:b[e+1];break a}d=b[0]}break;default:a:{c=null;h=0;b=_.k(b);for(a=b.next();!a.done;a=b.next())if(a=a.value){if(!a.width||!a.height){_.Rf(new _.ge("Image source has undefined width or height."));d=null;break a}l=d-a.width;m=e-a.height;l=l*l+m*m;if(!c||l<h)c=a,h=l}d=c}}var p;if(null==(p=d)?0:p.url)return _.It(d.url);var r;return(null==(r=d)?0:r.imageData)?_.It(d.imageData):null};
nKa=function(a,b){b=b?[b]:[];a.opacity&&b.push("opacity: "+a.opacity+";");return b.join(" ")};
oKa=function(a,b){b=b?[b]:[];b.push("yt-core-image");switch(a.contentMode){case "CONTENT_MODE_SCALE_ASPECT_FIT":b.push("yt-core-image--content-mode-scale-aspect-fit");break;case "CONTENT_MODE_SCALE_ASPECT_FILL":b.push("yt-core-image--content-mode-scale-aspect-fill");break;case "CONTENT_MODE_CENTER":b.push("yt-core-image--content-mode-center");break;default:b.push("yt-core-image--content-mode-scale-to-fill")}a.flipForRtlLayout&&b.push("yt-core-image--flip-rtl");return b.join(" ")};
Fw=function(a){0===Ew.length&&requestAnimationFrame(function(){setTimeout(function(){var b=Ew.slice();Ew.length=0;b=_.k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;try{c()}catch(d){_.Qk(d)}}})});
Ew.push(a)};
qKa=function(a,b,c){if(null===c||void 0===c)return c;var d=_.rea(a.tagName,b,function(){throw Error("Cd");});
if(null===d)return c;d=pKa[d];var e;if(null==(e=d.isUnwrappable)?0:e.call(d,c)){if(d.unwrap)return d.unwrap(c);throw Error("Dd");}c=c&&c.implementsGoogStringTypedString?c.getTypedStringValue():c;return d.filterString?d.filterString(a.tagName,b,String(c)):c};
tKa=function(a){for(var b=0;b<a.length;b++){var c=a[b];rKa(c);c=sKa(c,function(e){return!!e.__spec});
for(var d=0;d<c.length;d++)rKa(c[d])}};
rKa=function(a){a.__spec&&a.__spec.didUnmount&&a.__spec.didUnmount()};
_.Iw=function(a,b,c){var d=b&&b.key,e=Aw;e[0]=a;e[1]=d;e[2]=void 0;for(var h in b)b.hasOwnProperty(h)&&(a=b[h],d=Bw,d.push(h),d.push(a));b=Aw;a:{if(h=Aw[2])for(a=0;a<h.length;a+=2)if("nonce"===h[a]){h=h[a+1];break a}h=""}_.$Ja(b[0],b[1],h);_.uw=_.vw;_.vw=null;h=_.uw;a=_.tw(h);d=b[2];if(!a.staticsApplied&&(a.staticsApplied=!0,d&&d.length))if((e=a._attrsArr)&&e.length){for(e=0;e<d.length;e+=2)Gw[d[e]]=e+1;e=a._attrsArr||(a._attrsArr=SJa(0));for(var l=0,m=0;m<e.length;m+=2){var p=e[m],r=e[m+1],v=Gw[p];
v?d[v]===r&&delete Gw[p]:(e[l]=p,e[l+1]=r,l+=2)}sw(e,l);for(var z in Gw)VJa(h,z,d[Gw[z]],Dw),delete Gw[z]}else for(z=0;z<d.length;z+=2)VJa(h,d[z],d[z+1],Dw);z=Bw;a=a._attrsArr||(a._attrsArr=SJa(z.length));e=!a.length||!1;for(d=0;d<z.length;d+=2){l=z[d];if(e)a[d]=l;else if(a[d]!==l)break;m=z[d+1];if(e||a[d+1]!==m)a[d+1]=m,eKa(h,l,m)}if(d<z.length||d<a.length){for(d=e=d;d<a.length;d+=2)Hw[a[d]]=a[d+1];for(d=e;d<z.length;d+=2)e=z[d],l=z[d+1],Hw[e]!==l&&eKa(h,e,l),a[d]=e,a[d+1]=l,delete Hw[e];sw(a,z.length);
for(var A in Hw)eKa(h,A),delete Hw[A]}A=uKa;uKa=h=Cw.length;for(a=A;a<h;a+=5)(0,Cw[a])(Cw[a+1],Cw[a+2],Cw[a+3],Cw[a+4]);uKa=A;sw(Cw,A);sw(z,0);sw(b,0);c&&c(_.uw);ZJa();_.vw=_.uw;_.uw=_.uw.parentNode};
Jw=function(a){var b=a.toString().toLowerCase();return function(c,d){_.Iw(b,c,d)}};
xKa=function(a,b,c){var d=_.x("web_replace_thumbnail_with_image")?vKa:wKa;d=void 0===d?wKa:d;d(a.lazyData,b)&&(a.lazyData=b,c())};
wKa=function(a,b){return a!==b};
zKa=function(){var a={rootMargin:"10%",threshold:.01},b={rootMargin:"-0.1px -0.1px 400px -0.1px"};return new IntersectionObserver(function(c,d){c.filter(function(e){return e.intersectionRect.height}).forEach(function(e){e=e.target;
yKa(e);d.unobserve(e)})},_.x("web_image_use_default_root_margin")?b:a)};
yKa=function(a){var b=a.retrieveSrcCallback(a.lazyData,a);_.Kw(a,b)};
CKa=function(a,b,c){a=void 0===a?null:a;Jw("IMG")(c,function(d){xKa(d,a||AKa,function(){var e=a;d.removeAttribute("src");e&&(d.retrieveSrcCallback=b,BKa.observe(d))})})};
vKa=function(a,b){return!PJa(a,b)};
EKa=function(a,b){var c=void 0===c?!0:c;var d=void 0!==a.sources?a:jKa(a);d&&(void 0===a.sources&&(b.alt=a.accessibility&&a.accessibility.accessibilityData&&a.accessibility.accessibilityData.label||b.alt,b.style$=nKa(a,b.style$)),b.contentMode&&!d.contentMode&&(d.contentMode=b.contentMode),b.className=oKa(d,b.className),c?CKa(d,function(e,h){return(e=mKa(h,e.sources,b.selectionAlgorithm,b.targetWidth,b.targetHeight,b.useWidth))?(h.className+=" yt-core-image--loaded",e.toString()):""},b):DKa(b,function(e){var h=
mKa(e,d.sources,b.selectionAlgorithm,b.targetWidth,b.targetHeight,b.useWidth);
h&&(e.src=_.zb(h),e.className+=" yt-core-image--loaded")}))};
_.Kw=function(a,b){b=b instanceof _.pj?b:_.uj(b,/^data:image\//i.test(b));a.src=_.yb(b)};
_.Lw=function(a){return a=_.Coa(a)};
sKa=function(a,b){var c=[];_.EJa(a,b,c,!1);return c};
_.Mw=function(){};
_.Yi(_.Mw);_.Mw.prototype.JSC$36414_nextId_=0;
/*
 SPDX-License-Identifier: Apache-2.0 */
var UJa={default:"__default"};
var FKa=Object.prototype.hasOwnProperty;rw.prototype=Object.create(null);
var Dw=new rw;Dw[UJa.default]=function(a,b,c){var d=typeof c;"object"===d||"function"===d?a[b]=c:TJa(a,b,c)};
Dw.style=function(a,b,c){a=a.style;if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var d in c)FKa.call(c,d)&&(b=c[d],0<=d.indexOf("-")?a.setProperty(d,b):a[d]=b)}};
var cKa=null;
var aKa=function(a){this.created=[];this.deleted=[];this.node=a};
var bKa="undefined"!==typeof Node&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};
var WJa=function(a,b){this._attrsArr=null;this.staticsApplied=!1;this.nameOrCtor=a;this.key=b;this.text=void 0};
var ww,yw,zw,xw,Aw,Bw;ww=null;_.vw=null;_.uw=null;yw=null;zw=[];xw=YJa;Aw=[];Bw=[];_.GKa=function(a){return dKa(function(b,c,d){_.uw=_.vw=b;_.vw=null;c(d);ZJa();_.vw=_.uw;_.uw=_.uw.parentNode;return b},a)}();
var Cw=[],uKa=0;
var Hw=new rw;
var Gw=new rw;
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.HKa={IronButtonState:_.$s,IronButtonStateImpl:_.Zs};
_.Nw=_.HKa.IronButtonState;
var IKa;
var JKa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==JKa)return JKa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-spinner-lite--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_spinner.tp.yt.paper.spinner.lite.css.js--\x3e<div id="spinnerContainer" class-name="[[__computeContainerClasses(active, __coolingDown)]]" on-animationend="__reset" on-webkit-animation-end="__reset"><div class="spinner-layer"><div class="circle-clipper left"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div></div>';
var b=a.content,c=b.insertBefore;if(void 0===IKa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_spinner.tp.yt.paper.spinner.lite.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n  position: relative;\n  width: 28px;\n  height: 28px;\n  --paper-spinner-container-rotation-duration: 1568ms;\n  --paper-spinner-expand-contract-duration: 1333ms;\n  --paper-spinner-full-cycle-duration: 5332ms;\n  --paper-spinner-cooldown-duration: 400ms;\n}\n\n#spinnerContainer {\n  width: 100%;\n  height: 100%;\n  direction: ltr;\n}\n\n#spinnerContainer.active {\n  -webkit-animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite;\n  animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite;\n}\n\n@-webkit-keyframes container-rotate {\n  to {\n    -webkit-transform: rotate(360deg);\n  }\n}\n@keyframes container-rotate {\n  to {\n    transform: rotate(360deg);\n  }\n}\n.spinner-layer {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  opacity: 0;\n  white-space: nowrap;\n  color: var(--paper-spinner-color, #4285f4);\n}\n\n.layer-1 {\n  color: var(--paper-spinner-layer-1-color, #4285f4);\n}\n\n.layer-2 {\n  color: var(--paper-spinner-layer-2-color, #db4437);\n}\n\n.layer-3 {\n  color: var(--paper-spinner-layer-3-color, #f4b400);\n}\n\n.layer-4 {\n  color: var(--paper-spinner-layer-4-color, #0f9d58);\n}\n\n.active .spinner-layer {\n  -webkit-animation-name: fill-unfill-rotate;\n  -webkit-animation-duration: var(--paper-spinner-full-cycle-duration);\n  -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  -webkit-animation-iteration-count: infinite;\n  animation-name: fill-unfill-rotate;\n  animation-duration: var(--paper-spinner-full-cycle-duration);\n  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  animation-iteration-count: infinite;\n  opacity: 1;\n}\n\n.active .spinner-layer.layer-1 {\n  -webkit-animation-name: fill-unfill-rotate, layer-1-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-1-fade-in-out;\n}\n\n.active .spinner-layer.layer-2 {\n  -webkit-animation-name: fill-unfill-rotate, layer-2-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-2-fade-in-out;\n}\n\n.active .spinner-layer.layer-3 {\n  -webkit-animation-name: fill-unfill-rotate, layer-3-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-3-fade-in-out;\n}\n\n.active .spinner-layer.layer-4 {\n  -webkit-animation-name: fill-unfill-rotate, layer-4-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-4-fade-in-out;\n}\n\n@-webkit-keyframes fill-unfill-rotate {\n  12.5% {\n    -webkit-transform: rotate(135deg);\n  }\n  25% {\n    -webkit-transform: rotate(270deg);\n  }\n  37.5% {\n    -webkit-transform: rotate(405deg);\n  }\n  50% {\n    -webkit-transform: rotate(540deg);\n  }\n  62.5% {\n    -webkit-transform: rotate(675deg);\n  }\n  75% {\n    -webkit-transform: rotate(810deg);\n  }\n  87.5% {\n    -webkit-transform: rotate(945deg);\n  }\n  to {\n    -webkit-transform: rotate(1080deg);\n  }\n}\n@keyframes fill-unfill-rotate {\n  12.5% {\n    transform: rotate(135deg);\n  }\n  25% {\n    transform: rotate(270deg);\n  }\n  37.5% {\n    transform: rotate(405deg);\n  }\n  50% {\n    transform: rotate(540deg);\n  }\n  62.5% {\n    transform: rotate(675deg);\n  }\n  75% {\n    transform: rotate(810deg);\n  }\n  87.5% {\n    transform: rotate(945deg);\n  }\n  to {\n    transform: rotate(1080deg);\n  }\n}\n@-webkit-keyframes layer-1-fade-in-out {\n  0% {\n    opacity: 1;\n  }\n  25% {\n    opacity: 1;\n  }\n  26% {\n    opacity: 0;\n  }\n  89% {\n    opacity: 0;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 1;\n  }\n}\n@keyframes layer-1-fade-in-out {\n  0% {\n    opacity: 1;\n  }\n  25% {\n    opacity: 1;\n  }\n  26% {\n    opacity: 0;\n  }\n  89% {\n    opacity: 0;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 1;\n  }\n}\n@-webkit-keyframes layer-2-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  15% {\n    opacity: 0;\n  }\n  25% {\n    opacity: 1;\n  }\n  50% {\n    opacity: 1;\n  }\n  51% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes layer-2-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  15% {\n    opacity: 0;\n  }\n  25% {\n    opacity: 1;\n  }\n  50% {\n    opacity: 1;\n  }\n  51% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@-webkit-keyframes layer-3-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  40% {\n    opacity: 0;\n  }\n  50% {\n    opacity: 1;\n  }\n  75% {\n    opacity: 1;\n  }\n  76% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes layer-3-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  40% {\n    opacity: 0;\n  }\n  50% {\n    opacity: 1;\n  }\n  75% {\n    opacity: 1;\n  }\n  76% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@-webkit-keyframes layer-4-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  65% {\n    opacity: 0;\n  }\n  75% {\n    opacity: 1;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes layer-4-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  65% {\n    opacity: 0;\n  }\n  75% {\n    opacity: 1;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n.circle-clipper {\n  display: inline-block;\n  position: relative;\n  width: 50%;\n  height: 100%;\n  overflow: hidden;\n}\n\n.spinner-layer::after {\n  content: "";\n  left: 45%;\n  width: 10%;\n  border-top-style: solid;\n}\n\n.spinner-layer::after,\n.circle-clipper .circle {\n  box-sizing: border-box;\n  position: absolute;\n  top: 0;\n  border-width: var(--paper-spinner-stroke-width, 3px);\n  border-radius: 50%;\n}\n\n.circle-clipper .circle {\n  bottom: 0;\n  width: 200%;\n  border-style: solid;\n  border-bottom-color: transparent !important;\n}\n\n.circle-clipper.left .circle {\n  left: 0;\n  border-right-color: transparent !important;\n  -webkit-transform: rotate(129deg);\n  transform: rotate(129deg);\n}\n\n.circle-clipper.right .circle {\n  left: -100%;\n  border-left-color: transparent !important;\n  -webkit-transform: rotate(-129deg);\n  transform: rotate(-129deg);\n}\n\n.active .gap-patch::after,\n.active .circle-clipper .circle {\n  -webkit-animation-duration: var(--paper-spinner-expand-contract-duration);\n  -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  -webkit-animation-iteration-count: infinite;\n  animation-duration: var(--paper-spinner-expand-contract-duration);\n  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  animation-iteration-count: infinite;\n}\n\n.active .circle-clipper.left .circle {\n  -webkit-animation-name: left-spin;\n  animation-name: left-spin;\n}\n\n.active .circle-clipper.right .circle {\n  -webkit-animation-name: right-spin;\n  animation-name: right-spin;\n}\n\n@-webkit-keyframes left-spin {\n  0% {\n    -webkit-transform: rotate(130deg);\n  }\n  50% {\n    -webkit-transform: rotate(-5deg);\n  }\n  to {\n    -webkit-transform: rotate(130deg);\n  }\n}\n@keyframes left-spin {\n  0% {\n    transform: rotate(130deg);\n  }\n  50% {\n    transform: rotate(-5deg);\n  }\n  to {\n    transform: rotate(130deg);\n  }\n}\n@-webkit-keyframes right-spin {\n  0% {\n    -webkit-transform: rotate(-130deg);\n  }\n  50% {\n    -webkit-transform: rotate(5deg);\n  }\n  to {\n    -webkit-transform: rotate(-130deg);\n  }\n}\n@keyframes right-spin {\n  0% {\n    transform: rotate(-130deg);\n  }\n  50% {\n    transform: rotate(5deg);\n  }\n  to {\n    transform: rotate(-130deg);\n  }\n}\n#spinnerContainer.cooldown {\n  -webkit-animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite, fade-out var(--paper-spinner-cooldown-duration) cubic-bezier(0.4, 0, 0.2, 1);\n  animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite, fade-out var(--paper-spinner-cooldown-duration) cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n@-webkit-keyframes fade-out {\n  0% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes fade-out {\n  0% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n\n/*# sourceMappingURL=tp-yt-paper-spinner-lite.css.map */</style>';
IKa=d}d=IKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return JKa=a},
is:"tp-yt-paper-spinner-lite",behaviors:[_.cFa]});
var KKa;
var LKa;
var Ow=function(){var a=_.K.apply(this,arguments)||this;a.mouseOverDelayJobId=0;a.fadeInImageDelayJobId=0;a.startTimeMs=-1;a.loadingStartTimeMs=-1;a.loadingEndTimeMs=-1;a.hasVideoPreview=!1;return a};
_.q(Ow,_.K);_.f=Ow.prototype;_.f.attached=function(){this.data&&(this.isAttachedAndDataSet=!0,this.showThumbnail())};
_.f.detached=function(){this.isAttachedAndDataSet=!1;this.hideThumbnail();this.data=void 0;this.csn=null};
_.f.dataChanged=function(){this.data&&this.isAttached&&!this.isAttachedAndDataSet&&(this.isAttachedAndDataSet=!0,this.showThumbnail())};
_.f.showThumbnail=function(){var a=this;this.csn=_.fg();_.pw("fmth");_.xe.cancelJob(this.mouseOverDelayJobId);this.data&&this.data.movingThumbnailDetails&&this.data.movingThumbnailDetails.thumbnails?this.mouseOverDelayJobId=_.Bi(_.xe,function(){a.loadingStartTimeMs=_.bo();var b=a.$.thumbnail;b.complete?a.displayMouseOverImage():a.listen(b,"load","displayMouseOverImage")},150):this.toggleClass("show",!0,this.$.play)};
_.f.hideThumbnail=function(){this.data&&this.data.enableHoveredLogging&&this.logEvent("INTERACTION_LOGGING_GESTURE_TYPE_HOVER");this.removeVideoPreview()};
_.f.onTap=function(){this.removeVideoPreview()};
_.f.logEvent=function(a){if(!(0>=this.loadingStartTimeMs)){var b={isMovingThumbnail:this.hasVideoPreview};if(this.hasVideoPreview&&0<this.startTimeMs){var c=this.loadingEndTimeMs-this.loadingStartTimeMs;0<c&&(b.movingThumbnailLoadingDurationMs=Math.round(c));b.durationHoveredMs=Math.round(_.bo()-this.startTimeMs)}this.videoId&&(b.videoId=this.videoId);this.csn&&this.trackingParams&&_.ug(void 0,this.csn,_.no(this.trackingParams),a,{thumbnailHoveredData:b});this.startTimeMs=this.loadingEndTimeMs=this.loadingStartTimeMs=
-1;this.hasVideoPreview=!1}};
_.f.removeVideoPreview=function(){_.xe.cancelJob(this.mouseOverDelayJobId);_.xe.cancelJob(this.fadeInImageDelayJobId);var a=this.$.thumbnail;this.toggleClass("fade-in",!1,a);this.unlisten(a,"load","displayMouseOverImage");a=this.$.play;this.toggleClass("fade-in",!1,a);this.toggleClass("show",!1,a)};
_.f.displayMouseOverImage=function(){var a=this,b=this.$.thumbnail,c=this.$.play;this.isImageAvailable(b)?(this.hasVideoPreview=!0,this.loadingEndTimeMs=_.bo(),this.startTimeMs=_.bo(),this.fadeInImageDelayJobId=_.Bi(_.xe,function(){a.toggleClass("fade-in",!0,b)},50)):this.toggleClass("fade-in",!0,c)};
_.f.computeThumbnail=function(a,b){var c;a&&a.movingThumbnailDetails&&a.movingThumbnailDetails.thumbnails&&b?c=_.nu(a.movingThumbnailDetails.thumbnails,this.clientWidth):c=b?"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7":"";if(c)return _.It(c)};
_.f.isImageAvailable=function(a){return!(!a.src||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"===a.src||120===a.naturalWidth)};
_.t.Object.defineProperties(Ow,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LKa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-moving-thumbnail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_moving_thumbnail_renderer.ytd.moving.thumbnail.renderer.css.js--\x3e<img id="thumbnail" alt="" src$="[[computeThumbnail(data, isAttachedAndDataSet)]]">\n<yt-icon id="play" default-to-filled="true" icon="play_all"></yt-icon>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KKa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_moving_thumbnail_renderer.ytd.moving.thumbnail.renderer.css.js--\x3e<style>:host {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #thumbnail {transition: opacity 0.5s;opacity: 0;width: 100%;height: 100%;max-height: var(--yt-img-max-height,none);max-width: var(--yt-img-max-width,100%);position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #thumbnail.fade-in {opacity: 1;} #play.fade-in {transition: opacity 0.5s;} #play.fade-in,#play.show {opacity: 0.8;} #play {height: 48px;width: 48px;margin: auto;opacity: 0;fill: var(--yt-spec-static-brand-white);position: absolute;top: 0;right: 0;bottom: 0;left: 0;} /*# sourceMappingURL=ytd-moving-thumbnail-renderer.css.map*/</style>";
KKa=d}d=KKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LKa=a}a=LKa;return a}}});
var Pw=Ow;Pw.prototype.onTap=Pw.prototype.onTap;Pw.prototype.dataChanged=Pw.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Pw.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Pw.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Pw.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],Pw.prototype,"csn",void 0);
_.S([_.N(),_.T("design:type",Object)],Pw.prototype,"trackingParams",void 0);_.S([_.N(),_.T("design:type",String)],Pw.prototype,"videoId",void 0);_.S([_.N(),_.T("design:type",Boolean)],Pw.prototype,"isAttachedAndDataSet",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Pw.prototype,"dataChanged",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Pw.prototype,"onTap",null);
Pw=_.S([_.Q({asyncProperties:!0,is:"ytd-moving-thumbnail-renderer"})],Pw);
var MKa;
var NKa;
_.Qw={YtEventForwardingBehavior:{created:function(){this.eventSink_=null;this.eventList_=[]},
forwardEvent_:function(a,b){var c=this.eventSink_.isConnected;void 0===c&&(c=document.body.contains(this.eventSink_));c&&(a.stopPropagation(),this.eventSink_.fire?this.eventSink_.fire(a.type,b):_.Rf(new _.ge("eventSink_.fire is undefined",this.eventSink_.is)))},
startForwardingEvents:function(a,b){this.eventSink_&&this.stopForwardingEvents();for(var c=0;c<a.length;c++)this.listen(this,a[c],"forwardEvent_");this.eventSink_=b;this.eventList_=a},
stopForwardingEvents:function(){for(var a=0;a<this.eventList_.length;a++)this.unlisten(this,this.eventList_[a],"forwardEvent_");this.eventSink_=null;this.eventList_=[]}}};
var Rw=function(){return _.K.apply(this,arguments)||this};
_.q(Rw,_.K);_.f=Rw.prototype;_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","button");this.hasAttribute("top-right-overlay")||this.setAttribute("top-right-overlay","true");this.tooltip.position="rtl"===_.w("HTML_DIR")?"right":"left"};
_.f.dataChanged=function(){this.popupOpen=!1};
_.f.computeAriaLabel=function(a){return a.accessibilityData.label};
_.f.onTap=function(a){a.stopPropagation();a.preventDefault();_.Kg(this,[this.data.command])};
_.f.onPopupOpened=function(){this.popupOpen=!0;this.eventForwardingBehavior.startForwardingEvents(["yt-navigate"],this.eventSink)};
_.f.onPopupClosed=function(){this.popupOpen=!1;this.eventForwardingBehavior.stopForwardingEvents()};
_.t.Object.defineProperties(Rw,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NKa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_button_renderer.ytd.thumbnail.overlay.button.renderer.css.js--\x3e<yt-icon icon="[[data.icon.iconType]]"></yt-icon><tp-yt-paper-tooltip id="tooltip" animation-delay="0" hidden="[[disableTooltips]]" offset="0">\n  [[data.tooltip]]\n</tp-yt-paper-tooltip>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MKa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_button_renderer.ytd.thumbnail.overlay.button.renderer.css.js--\x3e<style>:host {--paper-tooltip-background: var(--yt-spec-static-overlay-background-heavy);position: absolute;top: 0;right: 0;cursor: pointer;color: var(--yt-spec-static-overlay-text-primary);outline: none;background-color: var(--ytd-thumbnail-overlay-button-background,var(--yt-spec-static-overlay-background-heavy));transition: opacity 0.3s;width: 28px;height: 28px;border-radius: 2px;margin: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host(:focus) yt-icon {outline: #5b9dd9 auto 5px;} /*# sourceMappingURL=ytd-thumbnail-overlay-button-renderer.css.map*/</style>";
MKa=d}d=MKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NKa=a}a=NKa;return a}}});
var Sw=Rw;Sw.prototype.onPopupClosed=Sw.prototype.onPopupClosed;Sw.prototype.onPopupOpened=Sw.prototype.onPopupOpened;Sw.prototype.onTap=Sw.prototype.onTap;Sw.prototype.dataChanged=Sw.prototype.dataChanged;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],Sw.prototype,"eventForwardingBehavior",void 0);_.S([_.L(_.Nw),_.T("design:type",Object)],Sw.prototype,"ironButtonState",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Sw.prototype,"componentBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],Sw.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:-1}),_.T("design:type",Number)],Sw.prototype,"tabindex",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeAriaLabel(data.accessibility)"}),_.T("design:type",String)],Sw.prototype,"ariaLabel",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],Sw.prototype,"disableTooltips",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],Sw.prototype,"popupOpen",void 0);
_.S([_.N(),_.T("design:type",Element)],Sw.prototype,"eventSink",void 0);_.S([_.Z("#tooltip"),_.T("design:type",Object)],Sw.prototype,"tooltip",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Sw.prototype,"dataChanged",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],Sw.prototype,"onTap",null);
_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Sw.prototype,"onPopupOpened",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Sw.prototype,"onPopupClosed",null);Sw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-button-renderer"})],Sw);
var OKa;
var PKa;
var Tw=function(){var a=_.K.apply(this,arguments)||this;a.active=!1;return a};
_.q(Tw,_.K);Tw.prototype.computeIsSpinnerHidden=function(a){return"THUMBNAIL_OVERLAY_DOWNLOADING_RENDERER_STATE_DOWNLOADING"!==(null==a?void 0:a.state)};
Tw.prototype.computeOverlayIcon=function(a){return"THUMBNAIL_OVERLAY_DOWNLOADING_RENDERER_STATE_FAILED"===(null==a?void 0:a.state)?"ERROR_OUTLINE":"THUMBNAIL_OVERLAY_DOWNLOADING_RENDERER_STATE_PAUSED_BY_USER"===(null==a?void 0:a.state)?"OFFLINE_PAUSE":"OFFLINE_DOWNLOADING_SPINNER"};
_.t.Object.defineProperties(Tw,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PKa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-downloading-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_downloading_renderer.ytd.thumbnail.overlay.downloading.renderer.css.js--\x3e<yt-icon icon="[[computeOverlayIcon(data)]]"></yt-icon>\n<tp-yt-paper-spinner-lite active="[[active]]" hidden="[[computeIsSpinnerHidden(data)]]"></tp-yt-paper-spinner-lite>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OKa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_downloading_renderer.ytd.thumbnail.overlay.downloading.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-themed-overlay-background);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-spec-static-brand-black);opacity: 0.8;} yt-icon {position: absolute;transform: scale(2);} /*# sourceMappingURL=ytd-thumbnail-overlay-downloading-renderer.css.map*/</style>";
OKa=d}d=OKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PKa=a}a=PKa;return a}}});
var Uw=Tw;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Uw.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Uw.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],Uw.prototype,"active",void 0);Uw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-downloading-renderer"})],Uw);
var QKa;
var RKa;
var SKa=function(){return _.K.apply(this,arguments)||this};
_.q(SKa,_.K);
_.t.Object.defineProperties(SKa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RKa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-endorsement-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_endorsement_renderer.ytd.thumbnail.overlay.endorsement.renderer.css.js--\x3e<yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n<span id="bottom-right-corner"></span>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QKa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_endorsement_renderer.ytd.thumbnail.overlay.endorsement.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-general-background-b);color: var(--yt-spec-text-secondary);padding: 8px 12px;position: absolute;bottom: 0;left: 0;right: 0;z-index: 1;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-moz-box-orient: horizontal;-moz-box-direction: normal;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #bottom-right-corner {border-bottom: 24px solid var(--yt-spec-badge-chip-background);border-left: 24px solid transparent;position: absolute;height: 0;width: 0;bottom: 0;right: 0;} /*# sourceMappingURL=ytd-thumbnail-overlay-endorsement-renderer.css.map*/</style>';
QKa=d}d=QKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RKa=a}a=RKa;return a}}});
var Vw=SKa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Vw.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Vw.prototype,"data",void 0);Vw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-endorsement-renderer"})],Vw);
var TKa;
var UKa;
var Ww=function(){return _.K.apply(this,arguments)||this};
_.q(Ww,_.K);Ww.prototype.computeIconPosition=function(a){return this.get("iconPosition",a)||null};
Ww.prototype.computeIconStyle=function(a){return this.get("iconStyle",a)||null};
Ww.prototype.computeIsIconStyleFilled=function(a){return a&&a.iconStyle?"THUMBNAIL_OVERLAY_ICON_RENDERER_ICON_STYLE_FILLED"===a.iconStyle:!1};
_.t.Object.defineProperties(Ww,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===UKa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-icon-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_icon_renderer.ytd.thumbnail.overlay.icon.renderer.css.js--\x3e<yt-icon default-to-filled="[[iconStyleFilled]]" icon="[[data.icon.iconType]]"></yt-icon>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TKa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_icon_renderer.ytd.thumbnail.overlay.icon.renderer.css.js--\x3e<style>:host(:not([icon-position])) {text-align: center;z-index: 1;position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host(:not([icon-style])) {color: var(--yt-spec-static-overlay-icon-active-other);background-color: var(--yt-spec-static-overlay-background-medium-light);} :host([icon-position=THUMBNAIL_OVERLAY_ICON_RENDERER_ICON_POSITION_UNKNOWN]) {text-align: center;z-index: 1;position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([icon-style=THUMBNAIL_OVERLAY_ICON_RENDERER_ICON_STYLE_UNKNOWN]) {color: var(--yt-spec-static-overlay-icon-active-other);background-color: var(--yt-spec-static-overlay-background-medium-light);} :host([icon-position=THUMBNAIL_OVERLAY_ICON_RENDERER_ICON_POSITION_BOTTOM_LEFT_CORNER]) {position: absolute;z-index: 1;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([icon-style=THUMBNAIL_OVERLAY_ICON_RENDERER_ICON_STYLE_FILLED]) {background-color: var(--yt-spec-static-overlay-icon-active-other);border-radius: 50%;margin: 4px;padding: 3px;} :host([icon-style=THUMBNAIL_OVERLAY_ICON_RENDERER_ICON_STYLE_FILLED]) yt-icon {fill: var(--yt-spec-static-overlay-background-solid);--iron-icon-height: 12px;--iron-icon-width: 12px;} /*# sourceMappingURL=ytd-thumbnail-overlay-icon-renderer.css.map*/</style>";
TKa=d}d=TKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);UKa=a}a=UKa;return a}}});
var Xw=Ww;_.S([_.N(),_.T("design:type",Object)],Xw.prototype,"data",void 0);_.S([_.N({computed:"computeIconPosition(data)",reflectToAttribute:!0}),_.T("design:type",Object)],Xw.prototype,"iconPosition",void 0);_.S([_.N({computed:"computeIconStyle(data)",reflectToAttribute:!0}),_.T("design:type",Object)],Xw.prototype,"iconStyle",void 0);_.S([_.N({computed:"computeIsIconStyleFilled(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],Xw.prototype,"iconStyleFilled",void 0);
Xw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-icon-renderer"})],Xw);
var VKa;
var WKa;
var XKa=function(){return _.K.apply(this,arguments)||this};
_.q(XKa,_.K);
_.t.Object.defineProperties(XKa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WKa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-inline-unplayable-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_inline_unplayable_renderer.ytd.thumbnail.overlay.inline.unplayable.renderer.css.js--\x3e<yt-icon id="icon" icon="[[data.icon.iconType]]"></yt-icon>\n<span>[[getSimpleString(data.text)]]</span>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VKa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_inline_unplayable_renderer.ytd.thumbnail.overlay.inline.unplayable.renderer.css.js--\x3e<style>:host {position: absolute;top: 4px;left: 4px;border-radius: 2px;color: var(--yt-spec-static-brand-white);max-width: 70%;background: var(--yt-spec-static-overlay-background-solid);padding-left: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} yt-icon {width: 20px;height: 20px;min-width: 20px;min-height: 20px;} span {padding: 4px 8px 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} /*# sourceMappingURL=ytd-thumbnail-overlay-inline-unplayable-renderer.css.map*/</style>';
VKa=d}d=VKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WKa=a}a=WKa;return a}}});
var Yw=XKa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Yw.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Yw.prototype,"data",void 0);Yw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-inline-unplayable-renderer"})],Yw);
var YKa;
var ZKa;
var $Ka=function(){return _.K.apply(this,arguments)||this};
_.q($Ka,_.K);
_.t.Object.defineProperties($Ka,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZKa){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-thumbnail-overlay-loading-preview-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_loading_preview_renderer.ytd.thumbnail.overlay.loading.preview.renderer.css.js--\x3e<span>[[getSimpleString(data.text)]]</span>\n";a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YKa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_loading_preview_renderer.ytd.thumbnail.overlay.loading.preview.renderer.css.js--\x3e<style>:host {position: absolute;bottom: 0;right: 0;color: var(--yt-spec-static-brand-white);padding: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} span {background: var(--yt-spec-static-overlay-background-solid);border-radius: 2px;padding: 4px 8px;} :host(:not([inline-preview-is-enabled])) {display: none;} /*# sourceMappingURL=ytd-thumbnail-overlay-loading-preview-renderer.css.map*/</style>';
YKa=d}d=YKa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZKa=a}a=ZKa;return a}}});
var Zw=$Ka;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Zw.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],Zw.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Zw.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.RJa}),_.T("design:type",Boolean)],Zw.prototype,"inlinePreviewIsEnabled",void 0);Zw=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-loading-preview-renderer"})],Zw);
var aLa;
var bLa;
var cLa=function(){return _.K.apply(this,arguments)||this};
_.q(cLa,_.K);
_.t.Object.defineProperties(cLa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bLa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-pinking-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_pinking_renderer.ytd.thumbnail.overlay.pinking.renderer.css.js--\x3e<svg class="pinking-left">\n  <defs>\n    <pattern id="left-pattern" width="4" height="8" patternUnits="userSpaceOnUse">\n      <polygon class="pinking" points="0,0 4,4 0,8"></polygon>\n    </pattern>\n  </defs>\n  <rect fill="url(#left-pattern)" width="4" height="100%"></rect>\n</svg>\n<svg class="pinking-right">\n  <defs>\n    <pattern id="right-pattern" width="4" height="8" patternUnits="userSpaceOnUse">\n      <polygon class="pinking" points="4,0 0,4 4,8"></polygon>\n    </pattern>\n  </defs>\n  <rect fill="url(#right-pattern)" width="4" height="100%"></rect>\n</svg>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aLa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_pinking_renderer.ytd.thumbnail.overlay.pinking.renderer.css.js--\x3e<style>:host {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} .pinking-left {position: absolute;left: 0;width: 4px;height: 100%;} .pinking-right {position: absolute;right: 0;width: 4px;height: 100%;} .pinking {fill: var(--ytd-thumbnail-overlay-pinking-renderer-background,var(--yt-spec-general-background-a));} /*# sourceMappingURL=ytd-thumbnail-overlay-pinking-renderer.css.map*/</style>";
aLa=d}d=aLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bLa=a}a=bLa;return a}}});
var $w=cLa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$w.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$w.prototype,"data",void 0);$w=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-pinking-renderer"})],$w);
var dLa;
var eLa;
var ax=function(){var a=_.K.apply(this,arguments)||this;a.disableTooltips=!1;a.isLoading=!1;a.useExpandableTooltip=!1;a.toggled=!1;a.hovered=!1;a.systemIcons=_.x("kevlar_system_icons");a.mouseoverDelayJobId=0;a.toggleDelayJobId=0;a.expandAnimationDelayJobId=0;return a};
_.q(ax,_.K);_.f=ax.prototype;_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","button");this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1");this.hasAttribute("top-right-overlay")||this.setAttribute("top-right-overlay","true");this.$.tooltip.position="rtl"===_.w("HTML_DIR")?"right":"left"};
_.f.detached=function(){this.useExpandableTooltip&&(this.isLoading=this.hovered=!1,this.data&&!this.data.toggledServiceEndpoint&&this.set("data.isToggled",!1),this.mouseoverDelayJobId&&_.xe.cancelJob(this.mouseoverDelayJobId),this.toggleDelayJobId&&_.xe.cancelJob(this.toggleDelayJobId),this.expandAnimationDelayJobId&&_.xe.cancelJob(this.expandAnimationDelayJobId),this.useExpandableTooltip=!1)};
_.f.dataChanged=function(){this.popupOpen=this.isLoading=!1;this.mouseoverDelayJobId&&_.xe.cancelJob(this.mouseoverDelayJobId);this.toggleDelayJobId&&_.xe.cancelJob(this.toggleDelayJobId);this.expandAnimationDelayJobId&&_.xe.cancelJob(this.expandAnimationDelayJobId)};
_.f.computeIcon=function(a,b,c){return(c?b:a).iconType};
_.f.computeAriaLabel=function(a,b,c){return(c?b:a).accessibilityData.label};
_.f.computeTooltip=function(a,b,c){return c?b:a};
_.f.computeToggled=function(){return!(!this.data||!this.data.isToggled)};
_.f.onTap=function(a){var b=this;a.stopPropagation();a.preventDefault();if(!this.isLoading||this.useExpandableTooltip)if(a=this.data.isToggled?this.data.toggledServiceEndpoint:this.data.untoggledServiceEndpoint)this.isLoading=!0,this.set("data.isToggled",!this.data.isToggled),_.Kg(this,[a]),this.useExpandableTooltip&&(this.toggleDelayJobId=_.Bi(_.xe,function(){b.hovered=!1;b.data&&!b.data.toggledServiceEndpoint&&(b.expandAnimationDelayJobId=_.Bi(_.xe,function(){b.set("data.isToggled",!1)},200))},
2E3))};
_.f.onMouseenter=function(){var a=this;this.useExpandableTooltip&&(this.mouseoverDelayJobId=_.Bi(_.xe,function(){a.hovered=!0},300))};
_.f.onMouseleave=function(){_.xe.cancelJob(this.mouseoverDelayJobId);this.toggled||(this.hovered=!1)};
_.f.onPopupOpened=function(){this.popupOpen=!0;this.ytEventForwardingBehavior.startForwardingEvents(["yt-navigate"],this.eventSink)};
_.f.onPopupClosed=function(){this.popupOpen=!1;this.ytEventForwardingBehavior.stopForwardingEvents()};
_.f.onServiceRequestCompleted=function(a,b){this.isLoading=!1;if(!this.useExpandableTooltip||this.data.toggledServiceEndpoint&&this.data.untoggledServiceEndpoint)this.serviceRequestWasSuccessful(b)||this.set("data.isToggled",!this.data.isToggled)};
_.f.serviceRequestWasSuccessful=function(a){return(this.data.isToggled?this.data.toggledServiceEndpoint:this.data.untoggledServiceEndpoint).playlistEditEndpoint?"STATUS_SUCCEEDED"===a.data.status:!0};
_.t.Object.defineProperties(ax,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eLa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail-overlay-toggle-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_toggle_button_renderer.ytd.thumbnail.overlay.toggle.button.renderer.css.js--\x3e<div id="label-container"><div id="label" on-click="onTap" hidden="[[disableTooltips]]">\n    [[computeTooltip(data.untoggledTooltip, data.toggledTooltip, data.isToggled)]]\n  </div></div><yt-icon id="icon" icon="[[computeIcon(data.untoggledIcon, data.toggledIcon, data.isToggled)]]" on-click="onTap" on-mouseenter="onMouseenter"></yt-icon><tp-yt-paper-tooltip id="tooltip" animation-delay="0" hidden="[[disableTooltips]]" offset="0">\n  [[computeTooltip(data.untoggledTooltip, data.toggledTooltip, data.isToggled)]]\n</tp-yt-paper-tooltip>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dLa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_thumbnail_overlay_toggle_button_renderer.ytd.thumbnail.overlay.toggle.button.renderer.css.js--\x3e<style>:host {--paper-tooltip-background: var(--yt-spec-static-overlay-background-heavy);position: absolute;top: 0;right: 0;cursor: pointer;color: var(--yt-spec-static-overlay-text-primary);outline: none;background-color: var(--yt-spec-static-overlay-background-heavy);transition: opacity 0.3s;width: 28px;height: 28px;border-radius: 2px;margin: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host(:focus) yt-icon {outline: #5b9dd9 auto 5px;} #label-container {display: none;} :host([use-expandable-tooltip]) #label-container {display: block;position: absolute;width: auto;right: 28px;height: 28px;overflow: hidden;} :host([use-expandable-tooltip]) #label {padding: 0 2px 0 8px;white-space: nowrap;height: 100%;border-radius: 2px 0 0 2px;will-change: transform;transform: translateX(100%);background-color: var(--yt-spec-static-overlay-background-heavy);transition: transform 0.2s cubic-bezier(0.05,0,0,1);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([use-expandable-tooltip][hovered]) {border-radius: 0 2px 2px 0;background-color: var(--yt-spec-static-overlay-background-solid);z-index: 1;} :host([use-expandable-tooltip][hovered]) #label {transform: translateX(0);background-color: var(--yt-spec-static-overlay-background-solid);transition: transform 0.2s cubic-bezier(0.05,0,0,1);} :host([use-expandable-tooltip][toggled]) yt-icon,:host([use-expandable-tooltip][toggled]) #label {color: var(--yt-spec-static-overlay-call-to-action);} :host([use-expandable-tooltip][toggled][system-icons]) yt-icon,:host([use-expandable-tooltip][toggled][system-icons]) #label {color: var(--yt-spec-static-overlay-text-primary);} :host([use-expandable-tooltip]:focus) yt-icon {outline: none;} :host([use-expandable-tooltip]) tp-yt-paper-tooltip {display: none;} /*# sourceMappingURL=ytd-thumbnail-overlay-toggle-button-renderer.css.map*/</style>';
dLa=d}d=dLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);eLa=a}a=eLa;return a}}});
var bx=ax;bx.prototype.onServiceRequestCompleted=bx.prototype.onServiceRequestCompleted;bx.prototype.onPopupClosed=bx.prototype.onPopupClosed;bx.prototype.onPopupOpened=bx.prototype.onPopupOpened;bx.prototype.onMouseleave=bx.prototype.onMouseleave;bx.prototype.dataChanged=bx.prototype.dataChanged;_.S([_.L(_.Nw),_.T("design:type",Object)],bx.prototype,"ironButtonState",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],bx.prototype,"ytComponentBehavior",void 0);
_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],bx.prototype,"ytEventForwardingBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],bx.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeAriaLabel(data.untoggledAccessibility, data.toggledAccessibility, data.isToggled)"}),_.T("design:type",String)],bx.prototype,"ariaLabel",void 0);_.S([_.N(),_.T("design:type",Object)],bx.prototype,"disableTooltips",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],bx.prototype,"popupOpen",void 0);_.S([_.N(),_.T("design:type",Object)],bx.prototype,"isLoading",void 0);_.S([_.N(),_.T("design:type",Element)],bx.prototype,"eventSink",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],bx.prototype,"useExpandableTooltip",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeToggled(data.isToggled)"}),_.T("design:type",Object)],bx.prototype,"toggled",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],bx.prototype,"hovered",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],bx.prototype,"systemIcons",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],bx.prototype,"dataChanged",null);_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],bx.prototype,"onMouseleave",null);
_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],bx.prototype,"onPopupOpened",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],bx.prototype,"onPopupClosed",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],bx.prototype,"onServiceRequestCompleted",null);
bx=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail-overlay-toggle-button-renderer"})],bx);
var fLa;
var gLa;
var cx=function(){var a=_.vt.apply(this,arguments)||this;a.switchTemplateAtRegistration=!1;return a};
_.q(cx,_.vt);cx.prototype.ready=function(){this.templatingFn&&(this.switchTemplateAtRegistration||fKa(this),this.cancelDebouncer("doRender"),this.doRender())};
cx.prototype.debounceRender=function(){this.templatingFn&&this.debounce("doRender",this.doRender)};
cx.prototype.doRender=function(){var a=this;this.templatingFn?QJa(this,function(){a.templatingFn()}):_.Qf(Error("zd"))};
cx.prototype.experimentalTemplatingInUse=function(){return!!this.templatingFn};
var hLa=cx;hLa=_.S([_.wt()],hLa);
var iLa=hLa;
_.Yea({});
var dx=function(){return _.vt.apply(this,arguments)||this};
_.q(dx,_.vt);dx.prototype.beforeRegister=function(){var a=this.doIdomRender;this.templatingFn?_.Qf(Error("yd")):(this.templatingFn=a,this.switchTemplateAtRegistration=!0,iKa(this))};
dx.prototype.renderIdom=function(){throw Error("Ad");};
dx.prototype.doIdomRender=function(){var a=this;(0,_.GKa)(this,function(){a.renderIdom()})};
var jLa=dx;jLa=_.S([_.wt()],jLa);_.kLa=[iLa.prototype,jLa.prototype];
var lLa,mLa=function(){if(void 0!==lLa)return lLa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>.yt-core-image {visibility: hidden;display: inline-block;height: 100%;width: 100%;} .yt-core-image--loaded {visibility: visible;} .yt-core-image--content-mode-scale-to-fill {object-fit: fill;} .yt-core-image--content-mode-scale-aspect-fit {object-fit: contain;} .yt-core-image--content-mode-scale-aspect-fill {object-fit: cover;} .yt-core-image--content-mode-center {object-fit: none;object-position: center center;} .yt-core-image--flip-rtl {transform: scaleX(-1);} /*# sourceMappingURL=yt-image.css.map*/</style>";
return lLa=a};
document.head.appendChild(mLa().content);
var nLa;
var lKa=window.devicePixelRatio||1;
var Ew=[];
_.Mw.getInstance();var ex=function(){this.internalTrustedIdWrappedValue=""};
ex.prototype.toString=function(){return this.internalTrustedIdWrappedValue};
var fx={},pKa=(fx[1]={filterString:null,isUnwrappable:null,unwrap:null},fx[2]={filterString:function(a,b,c){return _.Lw(c)},
isUnwrappable:function(a){return a instanceof _.xj},
unwrap:function(a){return _.tb(a)}},fx[3]={filterString:function(a,b,c){return _.It(c).getTypedStringValue()},
isUnwrappable:function(a){return a instanceof _.pj||a instanceof _.xb},
unwrap:function(a){return _.zb(a)}},fx[4]={filterString:function(){return"about:invalid#zClosurez"},
isUnwrappable:function(a){return a instanceof _.Db},
unwrap:function(a){return _.Ab(a)}},fx[5]={filterString:function(){return"zClosurez"},
isUnwrappable:function(a){return a instanceof _.wj},
unwrap:function(a){return _.Hoa(a)}},fx[7]={filterString:function(){return" /*zClosurez*/ "},
isUnwrappable:function(a){return a instanceof _.jj},
unwrap:function(a){return _.mba(a)}},fx[8]={filterString:function(a,b,c){c=String(c).toLowerCase();
return _.uea(a,b,c)?c:"zClosurez"},
isUnwrappable:null,unwrap:null},fx[9]={filterString:function(){return" /*zClosurez*/ "},
isUnwrappable:function(a){return a instanceof _.Tf},
unwrap:function(a){return _.ij(a)}},fx[10]={filterString:function(a,b,c){return"id"!=b&&"name"!=b||""==c?String(c):"zClosurez"},
isUnwrappable:function(a){return a instanceof ex||a instanceof _.Tf},
unwrap:function(a){if(a instanceof _.Tf)a=_.ij(a);else{if(!(a instanceof ex&&a.constructor===ex))throw Error("Bd");a=a.internalTrustedIdWrappedValue}return a}},fx);
Dw[UJa["default"]]=function(a,b,c){var d="$"!==b[b.length-1];c=qKa(a,b,c);d?a[b]=c:TJa(a,b.slice(0,-1),null==c?null:String(c))};
_.oLa=[];cKa=function(a){Fw(function(){tKa(a);for(var b=_.k(_.oLa),c=b.next();!c.done;c=b.next())c=c.value,c(a)})};
_.oLa.push(tKa);
var DKa;_.pLa=Jw("BUTTON");_.gx=Jw("DIV");DKa=Jw("IMG");
var AKa=Object.freeze?Object.freeze(Object.create(null)):{},qLa;null==(qLa=window.requestIdleCallback)||qLa.bind(window);
window.addEventListener("HOME_PAGE_LOADED",function(){});
_.xa();
var hx=function(a){var b=this;this.margin=.1;this.whenInViewportWithMargin=a;this.observationTargets=[];this.scanRequested=!1;window.addEventListener("touchmove",function(){b.requestScan()});
window.addEventListener("touchend",function(){b.requestScan()});
window.addEventListener("updateui",function(){b.requestScan()});
var c=new _.wv((0,_.$i)(this.requestScan,this),100);window.addEventListener("scroll",function(){c.fire()},!0);
window.addEventListener("resize",(0,_.$i)(this.requestScan,this));window.addEventListener("state-navigatestart",function(){b.observationTargets=[]});
window.addEventListener("state-navigateend",(0,_.$i)(this.requestScan,this))};
hx.prototype.observe=function(a){this.observationTargets.includes(a)||this.observationTargets.push(a)};
hx.prototype.requestScan=function(){var a=this;this.scanRequested||(Fw(function(){rLa(a)}),this.scanRequested=!0)};
var rLa=function(a){var b=(1+a.margin)*(document.documentElement.clientHeight||window.innerHeight);a.observationTargets=a.observationTargets.filter(function(c){var d=c.getBoundingClientRect();(d=b>d.top&&!!d.height)&&a.whenInViewportWithMargin(c);return!d&&c.parentNode});
a.scanRequested=!1};
hx.prototype.disconnect=function(){this.observationTargets=[]};
var sLa={landscape:"(min-width: 930px) and (orientation: landscape)",portrait:"(min-width: 550px) and (orientation: portrait)"},ix=void 0,tLa=window.innerWidth,uLa=window.innerHeight;window.addEventListener("resize",function(){ix=void 0});
var vLa="IntersectionObserver"in window;if(void 0===ix){var wLa;wLa="matchMedia"in window?window.matchMedia(sLa.landscape+","+sLa.portrait).matches:void 0;ix=void 0!==wLa?wLa:930<=tLa&&550<=uLa||550<=tLa&&930<=uLa}var xLa=!ix,BKa=vLa?zKa():xLa?new hx(function(a){Fw(function(){yKa(a)})}):{observe:function(a){Fw(function(){yKa(a)})}};
var jx=function(){var a=_.K.apply(this,arguments)||this;a.algorithm=_.ot("web_image_selection_algorithm");return a};
_.q(jx,_.K);jx.prototype.renderIdom=function(){var a=this;if(this.data){if(!this.width&&!this.height)throw Error("Ed");this.config={alt:this.alt||"",contentMode:this.objectFitToContentMode(this.objectFit),onload:function(){_.wJa(a);a.toggleAttribute("loaded")},
selectionAlgorithm:this.algorithm||"WEB",targetHeight:this.height,targetWidth:this.width,useWidth:this.useWidth};EKa(this.data,this.config)}};
jx.prototype.objectFitToContentMode=function(a){switch(a){case "CONTAIN":return"CONTENT_MODE_SCALE_ASPECT_FIT";case "FILL":return"CONTENT_MODE_SCALE_TO_FILL";default:return"CONTENT_MODE_SCALE_ASPECT_FILL"}};
_.t.Object.defineProperties(jx,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nLa){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-image--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.web_interface_library.core.yt_image.yt.image.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);a.content.insertBefore(mLa().content.cloneNode(!0),
a.content.firstChild);nLa=a}a=nLa;return a}}});
var kx=jx;_.S([_.L(_.kLa),_.T("design:type",Object)],kx.prototype,"ytIdomTemplatingBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],kx.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],kx.prototype,"algorithm",void 0);_.S([_.N(),_.T("design:type",String)],kx.prototype,"alt",void 0);_.S([_.N(),_.T("design:type",Number)],kx.prototype,"height",void 0);_.S([_.N(),_.T("design:type",Number)],kx.prototype,"width",void 0);
_.S([_.N({value:!0}),_.T("design:type",Boolean)],kx.prototype,"useWidth",void 0);_.S([_.N(),_.T("design:type",String)],kx.prototype,"objectFit",void 0);_.S([_.N(),_.T("design:type",Boolean)],kx.prototype,"ftlEligible",void 0);kx=_.S([_.lu({is:"yt-image",isInjectionRoot:!0})],kx);
var lx=function(){var a=_.K.apply(this,arguments)||this;a.useYtImage=_.x("web_replace_thumbnail_with_image");a.eventSink=function(){return a};
a.isPreviewLoading=!1;a.isOriginalAspectRatio=!1;a.computedObjectFit=!1;a.actionMap={"yt-miniplayer-endpoint-changed":"checkMiniplayer_"};return a};
_.q(lx,_.K);_.f=lx.prototype;
_.f.configureRendererStamper=function(){return{"data.thumbnailOverlays":{id:"overlays",mapping:{thumbnailOverlayBottomPanelRenderer:{component:"ytd-thumbnail-overlay-bottom-panel-renderer",properties:{sampledThumbnailColor:"[[data.thumbnail.sampledThumbnailColor]]"}},thumbnailOverlayPlaybackStatusRenderer:"ytd-thumbnail-overlay-playback-status-renderer",thumbnailOverlayResumePlaybackRenderer:"ytd-thumbnail-overlay-resume-playback-renderer",thumbnailOverlaySidePanelRenderer:{component:"ytd-thumbnail-overlay-side-panel-renderer",properties:{width:"[[thumbnailOverlaySidePanelWidth_]]",
bottomPanel:"[[bottomSidePanel]]",richGridOverlay:"[[richGridThumbnail]]",watchFeedOverlay:"[[watchFeedThumbnail]]"}},thumbnailOverlayTimeStatusRenderer:"ytd-thumbnail-overlay-time-status-renderer",thumbnailOverlayNowPlayingRenderer:{component:"ytd-thumbnail-overlay-now-playing-renderer",properties:{isVideoPlaying:"[[isVideoPlaying]]"}},thumbnailOverlayPinkingRenderer:"ytd-thumbnail-overlay-pinking-renderer",thumbnailOverlayDownloadingRenderer:{component:"ytd-thumbnail-overlay-downloading-renderer",
params:{active:!0}},thumbnailOverlayIconRenderer:"ytd-thumbnail-overlay-icon-renderer"},initialRenderPriority:_.x("defer_overlays")?1:void 0,waitForSignal:"eocs"},hoverOverlays_:{id:"hover-overlays",mapping:{thumbnailOverlayHoverTextRenderer:"ytd-thumbnail-overlay-hover-text-renderer",thumbnailOverlayInlineUnplayableRenderer:"ytd-thumbnail-overlay-inline-unplayable-renderer",thumbnailOverlayToggleButtonRenderer:{component:"ytd-thumbnail-overlay-toggle-button-renderer",properties:{disableTooltips:"[[disableTooltips]]",
eventSink:"[[eventSink]]",useExpandableTooltip:"[[useExpandableTooltip]]"}},thumbnailOverlayButtonRenderer:{component:"ytd-thumbnail-overlay-button-renderer",properties:{disableTooltips:"[[disableTooltips]]",eventSink:"[[eventSink]]"}},thumbnailOverlayEndorsementRenderer:"ytd-thumbnail-overlay-endorsement-renderer",thumbnailOverlayLoadingPreviewRenderer:"ytd-thumbnail-overlay-loading-preview-renderer"}},richThumbnail:{id:"mouseover-overlay",mapping:{movingThumbnailRenderer:{component:"ytd-moving-thumbnail-renderer",
properties:{trackingParams:"[[data.trackingParams]]",videoId:"[[data.videoId]]"}}},renderPriority:2,waitForSignal:"eocs"}}};
_.f.computeRichThumbnail=function(a,b,c){if(a&&b&&!_.x("disable_moving_thumbs_handling")&&!c)return b};
_.f.computeImageWidth=function(a,b){return b||9999};
_.f.computeIsOriginalAspectRatio=function(a){return a};
_.f.computeObjectFit=function(a,b){return b||(a?"CONTAIN":"")};
_.t.Object.defineProperties(lx,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gLa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-thumbnail--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_thumbnail.ytd.thumbnail.css.js--\x3e<a id="thumbnail" class="yt-simple-endpoint inline-block" aria-hidden="true" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" rel="[[computeNofollow_(data.navigationEndpoint)]]" tabindex="-1">\n  <yt-image alt="" data="[[data.thumbnail]]" disable-upgrade$="[[!useYtImage]]" ftl-eligible="" height="[[height]]" hidden="[[!useYtImage]]" object-fit="[[computedObjectFit]]" width="[[computeImageWidth(data, width)]]">\n  </yt-image>\n  <yt-img-shadow disable-upgrade$="[[useYtImage]]" ftl-eligible="" hidden="[[useYtImage]]" object-fit="[[computedObjectFit]]" thumbnail="[[data.thumbnail]]" width="[[width]]">\n  </yt-img-shadow>\n  \n  <div id="overlays"></div>\n  <div id="mouseover-overlay"></div>\n  <div id="hover-overlays"></div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fLa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_thumbnail.ytd.thumbnail.css.js--\x3e<style>:host {display: block;position: relative;-ms-flex: none;-webkit-flex: none;flex: none;} ytd-thumbnail-overlay-hover-text-renderer {opacity: 1;} #length {position: absolute;bottom: 0;right: 0;margin: 4px;color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-static-overlay-background-heavy);padding: 3px 4px;height: 12px;border-radius: 2px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);letter-spacing: var(--yt-badge-letter-spacing,0.5px);} :host #thumbnail {height: 100%;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host #thumbnail yt-img-shadow {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} :host #thumbnail {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host([add-background]) yt-img-shadow {--yt-img-shadow-placeholder-color: var(--yt-spec-10-percent-layer);--yt-img-shadow-min-height: 100%;--yt-img-shadow-min-width: 100%;} :host([queued]) ytd-thumbnail-overlay-button-renderer {display: none;} :host([hide-playback-status]) ytd-thumbnail-overlay-playback-status-renderer {display: none;} ytd-thumbnail-overlay-now-playing-renderer {opacity: 0;pointer-events: none;} :host([now-playing]) ytd-thumbnail-overlay-now-playing-renderer {opacity: 1;pointer-events: auto;} :host([now-playing]) ytd-thumbnail-overlay-time-status-renderer,:host([is-preview-loading]) ytd-thumbnail-overlay-time-status-renderer,:host([is-preview-loading]) ytd-thumbnail-overlay-toggle-button-renderer,:host([is-preview-loading]) ytd-thumbnail-overlay-endorsement-renderer,:host([is-preview-loading]) ytd-thumbnail-overlay-button-renderer,:host([is-preview-loading]) ytd-thumbnail-overlay-hover-text-renderer {display: none;} ytd-thumbnail-overlay-loading-preview-renderer+ytd-thumbnail-overlay-endorsement-renderer {display: none;} :host([object-fit=CONTAIN]) yt-img-shadow {width: 100%;height: 100%;} :host([is-original-aspect-ratio]) yt-img-shadow {width: 100%;height: 100%;} :host([is-original-aspect-ratio]) {background-color: var(--yt-spec-badge-chip-background);} #overlays {display: none;} [top-right-overlay]~[top-right-overlay] {top: 32px;} yt-img-shadow[loaded]~#overlays {display: block;} yt-image[loaded]~#overlays {display: block;} /*# sourceMappingURL=ytd-thumbnail.css.map*/</style>";
fLa=d}d=fLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gLa=a}a=gLa;return a}}});
var mx=lx;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],mx.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],mx.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.ZIa),_.T("design:type",Object)],mx.prototype,"ytdThumbnailBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],mx.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],mx.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],mx.prototype,"useYtImage",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],mx.prototype,"circular",void 0);_.S([_.N({computed:"computeRichThumbnail(finalHoveredState_, data.richThumbnail, isPreviewLoading)"}),_.T("design:type",Object)],mx.prototype,"richThumbnail",void 0);_.S([_.N(),_.T("design:type",Object)],mx.prototype,"eventSink",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],mx.prototype,"queued",void 0);
_.S([_.N({value:!1}),_.T("design:type",Boolean)],mx.prototype,"richGridThumbnail",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],mx.prototype,"useExpandableTooltip",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],mx.prototype,"hidePlaybackStatus",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],mx.prototype,"objectFit",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],mx.prototype,"watchFeedThumbnail",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],mx.prototype,"isPreviewLoading",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeIsOriginalAspectRatio(data.thumbnail.isOriginalAspectRatio)"}),_.T("design:type",Object)],mx.prototype,"isOriginalAspectRatio",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeObjectFit(isOriginalAspectRatio, objectFit)"}),_.T("design:type",Object)],mx.prototype,"computedObjectFit",void 0);
mx=_.S([_.Q({asyncProperties:!0,is:"ytd-thumbnail"})],mx);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syz");

/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1h");

var nOa;_.Sy=function(a,b,c,d){if(a=_.nu(a,b,c,void 0===d?"width":d))return _.It(a)};
var oOa;
_.$u("sharingToggleButtonAndDefaultButton","buttonRenderer","yt-button-renderer");
_.Ng({is:"yt-button-renderer",_template:function(){if(void 0!==oOa)return oOa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_button_renderer.yt.button.renderer.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===
nOa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_button_renderer.yt.button.renderer.css.js--\x3e<style>:host {--paper-button-ink-color: var(--yt-spec-icon-disabled);--yt-formatted-string-deemphasize-color: var(--yt-spec-static-brand-white);--yt-formatted-string-deemphasize: {margin-left: var(--ytd-margin-base);};} :host {vertical-align: middle;white-space: nowrap;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} :host([disable-text-transform]) {text-transform: none;} :host([disabled][is-paper-button]) a {cursor: initial;pointer-events: none;} :host([is-paper-button]) yt-icon {-ms-flex: none;-webkit-flex: none;flex: none;} :host yt-formatted-string {display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} tp-yt-paper-button {min-width: var(--yt-paper-button-min-width,var(--ytd-paper-button-min-width,5.14em));font-size: var(--yt-paper-button-font-size,inherit);} tp-yt-paper-button.keyboard-focus {font-weight: inherit;} tp-yt-paper-tooltip {z-index: var(--yt-button-tooltip-z-index);} :host([is-icon-button]):not([style-action-button]) {@apply --ytd-caption;} :host(.force-icon-button) a {padding-right: var(--yt-button-icon-padding,var(--ytd-margin-2x));} :host([is-paper-button]) {background-color: var(--yt-basic-background-color,var(--yt-button-background-color));color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));border-color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));} :host([is-paper-button-with-icon]) {--yt-button-padding-minus-focus-outline: var( --yt-button-with-icon-padding-minus-focus-outline );} :host(.style-suggestive.size-small[is-paper-button-with-icon]) {--yt-button-padding: 6px 12px;--yt-button-padding-minus-border: 5px 11px;} :host([is-paper-button-with-icon]) {--yt-button-padding: 6px 16px;--yt-button-padding-minus-border: 5px 15px;} :host([is-paper-button-with-icon][button-size=size-large]) {--yt-button-padding: 10px 16px;--yt-button-padding-minus-border: 9px 15px;--yt-button-padding-minus-focus-outline: 9px 15px;} :host([is-icon-button]) {color: var(--yt-button-color,var(--yt-spec-icon-inactive));} :host(.style-text[is-icon-button]),:host(.style-default[is-icon-button]),:host(.style-opacity[is-icon-button]) {color: var(--yt-spec-icon-inactive);} :host(.style-text[is-icon-button]) #text,:host(.style-default[is-icon-button]) #text,:host(.style-opacity[is-icon-button]) #text {color: var(--yt-button-icon-button-text-color,var(--yt-spec-text-secondary));} :host(.style-black[is-icon-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-icon-button]),:host(.style-opacity[is-icon-button][disabled]),:host(.style-text[is-icon-button][disabled]) #text,:host(.style-default[is-icon-button][disabled]) #text,:host(.style-opacity[is-icon-button][disabled]) #text {color: var(--yt-spec-text-disabled);} :host(.style-blue-text[is-icon-button]) {color: var(--yt-spec-call-to-action);} tp-yt-paper-tooltip {white-space: nowrap;} :host(.style-primary[is-paper-button]) {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);} :host(.style-primary[disabled][is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-disabled);} :host(.style-payment[is-paper-button]) {background-color: var(--yt-button-payment-background-color,var(--yt-spec-call-to-action));color: var(--yt-spec-text-primary-inverse);} :host(.style-payment[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-primary[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-payment[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-primary[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggestive[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-call-to-action);background-color: transparent;color: var(--yt-spec-call-to-action);} :host(.style-suggestive[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-border);} :host(.style-suggestive[is-paper-button][disabled]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-disabled);} :host(.style-suggestive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggestive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-focus-outline);} :host(.palette-with-border[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-border);} :host(.palette-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.palette-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-blue-text[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-call-to-action);} :host(.style-blue-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-blue-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[is-paper-button]) {background-color: var(--yt-spec-brand-button-background);color: var(--yt-spec-static-brand-white);} :host(.style-destructive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-destructive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[disabled][is-paper-button]) {background-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} :host(.style-brand[is-paper-button]) {color: var(--yt-spec-brand-link-text);} :host(.style-brand[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-brand[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-brand-link-text-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-default[is-paper-button]) {background-color: var(--yt-button-default-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-default-text-color,var(--yt-spec-text-secondary));} :host(.style-default[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-default[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-inactive-outline[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host(.style-inactive-outline[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-border);} :host(.style-inactive-outline[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-inactive-outline[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggested-action[is-paper-button]) {background-color: var(--yt-spec-suggested-action);color: var(--yt-spec-call-to-action);} :host(.style-suggested-action[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggested-action[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-compact-gray[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-compact-gray[is-paper-button]) tp-yt-paper-button {padding: var(--ytd-margin-base) var(--ytd-margin-2x);} :host(.style-text[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host([is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host([is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-icon-disabled);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-overlay[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-primary);color: var(--yt-spec-static-overlay-text-primary);} :host(.style-overlay[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-overlay[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-overlay-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-white-with-border[is-paper-button]) {background-color: transparent;border: 1px solid var(--yt-spec-static-brand-white);color: var(--yt-spec-static-brand-white);} :host(.style-white-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-white-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-brand-white);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-alert-info[is-paper-button]) {color: var(--yt-spec-call-to-action);} :host(.style-alert-info[is-paper-button]:hover) {color: var(--yt-spec-button-chip-background-hover);} :host(.style-dark[is-paper-button]) {background-color: var(--yt-button-dark-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-dark-text-color,var(--yt-spec-text-secondary));} :host(.style-light[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-light-text[is-paper-button]) {color: var(--yt-spec-static-overlay-text-primary);} :host(.style-black[is-paper-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-paper-button]) {background-color: transparent;color: var(--yt-spec-text-disabled);} :host(.style-black[disabled][is-paper-button]) {color: var(--yt-spec-text-disabled);} :host(.style-dark-on-black[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-secondary);border: none;color: var(--yt-spec-static-overlay-text-primary);} :host(.style-blue-text-with-inverse-theme[is-paper-button]) {color: var(--yt-spec-call-to-action-inverse);} :host(.style-count) {@apply --ytd-thumbnail-attribution;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} /*# sourceMappingURL=yt-button-renderer.css.map*/</style>";
nOa=d}d=nOa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return oOa=a},
behaviors:[_.Su.YtOpenPopupBehavior,_.lv.YtButtonBehavior],listeners:{"yt-navigate":"onYtNavigate_"},created:function(){this.openPopupConfig=_.w("openPopupConfig");this.showTooltips=!0},
onYtNavigate_:function(a){var b=this.getNavigationEndpointPopupAction(a.detail.endpoint);b&&(this.openPopup(b),a.stopPropagation(),a.preventDefault())}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syo");

/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var HNa=_.Pi(['\n\x3c!-- Most common used flex styles --\x3e\n<dom-module id="iron-flex">\n  <template>\n    <style>\n      .layout.horizontal,\n      .layout.vertical {\n        display: -ms-flexbox;\n        display: -webkit-flex;\n        display: flex;\n      }\n\n      .layout.inline {\n        display: -ms-inline-flexbox;\n        display: -webkit-inline-flex;\n        display: inline-flex;\n      }\n\n      .layout.horizontal {\n        -ms-flex-direction: row;\n        -webkit-flex-direction: row;\n        flex-direction: row;\n      }\n\n      .layout.vertical {\n        -ms-flex-direction: column;\n        -webkit-flex-direction: column;\n        flex-direction: column;\n      }\n\n      .layout.wrap {\n        -ms-flex-wrap: wrap;\n        -webkit-flex-wrap: wrap;\n        flex-wrap: wrap;\n      }\n\n      .layout.no-wrap {\n        -ms-flex-wrap: nowrap;\n        -webkit-flex-wrap: nowrap;\n        flex-wrap: nowrap;\n      }\n\n      .layout.center,\n      .layout.center-center {\n        -ms-flex-align: center;\n        -webkit-align-items: center;\n        align-items: center;\n      }\n\n      .layout.center-justified,\n      .layout.center-center {\n        -ms-flex-pack: center;\n        -webkit-justify-content: center;\n        justify-content: center;\n      }\n\n      .flex {\n        -ms-flex: 1 1 0.000000001px;\n        -webkit-flex: 1;\n        flex: 1;\n        -webkit-flex-basis: 0.000000001px;\n        flex-basis: 0.000000001px;\n      }\n\n      .flex-auto {\n        -ms-flex: 1 1 auto;\n        -webkit-flex: 1 1 auto;\n        flex: 1 1 auto;\n      }\n\n      .flex-none {\n        -ms-flex: none;\n        -webkit-flex: none;\n        flex: none;\n      }\n    </style>\n  </template>\n</dom-module>\n\x3c!-- Basic flexbox reverse styles --\x3e\n<dom-module id="iron-flex-reverse">\n  <template>\n    <style>\n      .layout.horizontal-reverse,\n      .layout.vertical-reverse {\n        display: -ms-flexbox;\n        display: -webkit-flex;\n        display: flex;\n      }\n\n      .layout.horizontal-reverse {\n        -ms-flex-direction: row-reverse;\n        -webkit-flex-direction: row-reverse;\n        flex-direction: row-reverse;\n      }\n\n      .layout.vertical-reverse {\n        -ms-flex-direction: column-reverse;\n        -webkit-flex-direction: column-reverse;\n        flex-direction: column-reverse;\n      }\n\n      .layout.wrap-reverse {\n        -ms-flex-wrap: wrap-reverse;\n        -webkit-flex-wrap: wrap-reverse;\n        flex-wrap: wrap-reverse;\n      }\n    </style>\n  </template>\n</dom-module>\n\x3c!-- Flexbox alignment --\x3e\n<dom-module id="iron-flex-alignment">\n  <template>\n    <style>\n      /**\n       * Alignment in cross axis.\n       */\n      .layout.start {\n        -ms-flex-align: start;\n        -webkit-align-items: flex-start;\n        align-items: flex-start;\n      }\n\n      .layout.center,\n      .layout.center-center {\n        -ms-flex-align: center;\n        -webkit-align-items: center;\n        align-items: center;\n      }\n\n      .layout.end {\n        -ms-flex-align: end;\n        -webkit-align-items: flex-end;\n        align-items: flex-end;\n      }\n\n      .layout.baseline {\n        -ms-flex-align: baseline;\n        -webkit-align-items: baseline;\n        align-items: baseline;\n      }\n\n      /**\n       * Alignment in main axis.\n       */\n      .layout.start-justified {\n        -ms-flex-pack: start;\n        -webkit-justify-content: flex-start;\n        justify-content: flex-start;\n      }\n\n      .layout.center-justified,\n      .layout.center-center {\n        -ms-flex-pack: center;\n        -webkit-justify-content: center;\n        justify-content: center;\n      }\n\n      .layout.end-justified {\n        -ms-flex-pack: end;\n        -webkit-justify-content: flex-end;\n        justify-content: flex-end;\n      }\n\n      .layout.around-justified {\n        -ms-flex-pack: distribute;\n        -webkit-justify-content: space-around;\n        justify-content: space-around;\n      }\n\n      .layout.justified {\n        -ms-flex-pack: justify;\n        -webkit-justify-content: space-between;\n        justify-content: space-between;\n      }\n\n      /**\n       * Self alignment.\n       */\n      .self-start {\n        -ms-align-self: flex-start;\n        -webkit-align-self: flex-start;\n        align-self: flex-start;\n      }\n\n      .self-center {\n        -ms-align-self: center;\n        -webkit-align-self: center;\n        align-self: center;\n      }\n\n      .self-end {\n        -ms-align-self: flex-end;\n        -webkit-align-self: flex-end;\n        align-self: flex-end;\n      }\n\n      .self-stretch {\n        -ms-align-self: stretch;\n        -webkit-align-self: stretch;\n        align-self: stretch;\n      }\n\n      .self-baseline {\n        -ms-align-self: baseline;\n        -webkit-align-self: baseline;\n        align-self: baseline;\n      }\n\n      /**\n       * multi-line alignment in main axis.\n       */\n      .layout.start-aligned {\n        -ms-flex-line-pack: start;  /* IE10 */\n        -ms-align-content: flex-start;\n        -webkit-align-content: flex-start;\n        align-content: flex-start;\n      }\n\n      .layout.end-aligned {\n        -ms-flex-line-pack: end;  /* IE10 */\n        -ms-align-content: flex-end;\n        -webkit-align-content: flex-end;\n        align-content: flex-end;\n      }\n\n      .layout.center-aligned {\n        -ms-flex-line-pack: center;  /* IE10 */\n        -ms-align-content: center;\n        -webkit-align-content: center;\n        align-content: center;\n      }\n\n      .layout.between-aligned {\n        -ms-flex-line-pack: justify;  /* IE10 */\n        -ms-align-content: space-between;\n        -webkit-align-content: space-between;\n        align-content: space-between;\n      }\n\n      .layout.around-aligned {\n        -ms-flex-line-pack: distribute;  /* IE10 */\n        -ms-align-content: space-around;\n        -webkit-align-content: space-around;\n        align-content: space-around;\n      }\n    </style>\n  </template>\n</dom-module>\n\x3c!-- Non-flexbox positioning helper styles --\x3e\n<dom-module id="iron-flex-factors">\n  <template>\n    <style>\n      .flex,\n      .flex-1 {\n        -ms-flex: 1 1 0.000000001px;\n        -webkit-flex: 1;\n        flex: 1;\n        -webkit-flex-basis: 0.000000001px;\n        flex-basis: 0.000000001px;\n      }\n\n      .flex-2 {\n        -ms-flex: 2;\n        -webkit-flex: 2;\n        flex: 2;\n      }\n\n      .flex-3 {\n        -ms-flex: 3;\n        -webkit-flex: 3;\n        flex: 3;\n      }\n\n      .flex-4 {\n        -ms-flex: 4;\n        -webkit-flex: 4;\n        flex: 4;\n      }\n\n      .flex-5 {\n        -ms-flex: 5;\n        -webkit-flex: 5;\n        flex: 5;\n      }\n\n      .flex-6 {\n        -ms-flex: 6;\n        -webkit-flex: 6;\n        flex: 6;\n      }\n\n      .flex-7 {\n        -ms-flex: 7;\n        -webkit-flex: 7;\n        flex: 7;\n      }\n\n      .flex-8 {\n        -ms-flex: 8;\n        -webkit-flex: 8;\n        flex: 8;\n      }\n\n      .flex-9 {\n        -ms-flex: 9;\n        -webkit-flex: 9;\n        flex: 9;\n      }\n\n      .flex-10 {\n        -ms-flex: 10;\n        -webkit-flex: 10;\n        flex: 10;\n      }\n\n      .flex-11 {\n        -ms-flex: 11;\n        -webkit-flex: 11;\n        flex: 11;\n      }\n\n      .flex-12 {\n        -ms-flex: 12;\n        -webkit-flex: 12;\n        flex: 12;\n      }\n    </style>\n  </template>\n</dom-module>\n<dom-module id="iron-positioning">\n  <template>\n    <style>\n      .block {\n        display: block;\n      }\n\n      [hidden] {\n        display: none !important;\n      }\n\n      .invisible {\n        visibility: hidden !important;\n      }\n\n      .relative {\n        position: relative;\n      }\n\n      .fit {\n        position: absolute;\n        top: 0;\n        right: 0;\n        bottom: 0;\n        left: 0;\n      }\n\n      body.fullbleed {\n        margin: 0;\n        height: 100vh;\n      }\n\n      .scroll {\n        -webkit-overflow-scrolling: touch;\n        overflow: auto;\n      }\n\n      /* fixed position */\n      .fixed-bottom,\n      .fixed-left,\n      .fixed-right,\n      .fixed-top {\n        position: fixed;\n      }\n\n      .fixed-top {\n        top: 0;\n        left: 0;\n        right: 0;\n      }\n\n      .fixed-right {\n        top: 0;\n        right: 0;\n        bottom: 0;\n      }\n\n      .fixed-bottom {\n        right: 0;\n        bottom: 0;\n        left: 0;\n      }\n\n      .fixed-left {\n        top: 0;\n        bottom: 0;\n        left: 0;\n      }\n    </style>\n  </template>\n</dom-module>\n']),
INa=_.Vm(HNa);INa.setAttribute("style","display: none;");document.head.appendChild(INa.content);
var JNa=function(){var a=_.vt.apply(this,arguments)||this;a.guideStateActionMap={"ytd-update-guide-state-action":"handleGuideStateAction","ytd-update-mini-guide-state-action":"handleMiniGuideStateAction","ytd-update-guide-opened-action":"handleGuideOpenedAction","ytd-update-active-endpoint-action":"handleActiveEndpointAction"};return a};
_.q(JNa,_.vt);_.f=JNa.prototype;_.f.attached=function(){this.ytActionHandlerBehavior.registerActionMap(this.guideStateActionMap);var a=_.Eg().resolve(_.Cg(_.Ao));a&&(this.guidePersistentAndVisible=a.getGuidePersistentAndVisible(),this.activeEndpoint=a.getActiveEndpoint(),this.guideOpened=a.getGuideOpened(),this.miniGuideVisible=a.getMiniGuideVisible())};
_.f.detached=function(){this.ytActionHandlerBehavior.unregisterActionMap(this.guideStateActionMap)};
_.f.handleGuideStateAction=function(a){this.guidePersistentAndVisible=a};
_.f.handleMiniGuideStateAction=function(a){this.miniGuideVisible=a};
_.f.handleGuideOpenedAction=function(a){this.guideOpened=a};
_.f.handleActiveEndpointAction=function(a){this.activeEndpoint=a};
var qy=JNa;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],qy.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],qy.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],qy.prototype,"guidePersistentAndVisible",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],qy.prototype,"miniGuideVisible",void 0);
_.S([_.N({notify:!0}),_.T("design:type",Object)],qy.prototype,"activeEndpoint",void 0);_.S([_.N(),_.T("design:type",Boolean)],qy.prototype,"guideOpened",void 0);qy=_.S([_.wt()],qy);_.ry=[_.iu.YtComponentBehavior,qy.prototype,_.Y.YtActionHandlerBehavior];
_.sy={};
_.sy.YtLazyListBehavior=[_.Lu.YtTaskEmitterBehavior,{_noAccessors:!0,properties:{initialCount:{type:Number,value:4},targetFramerate:{type:Number,value:20},minChunkSize:{type:Number,value:1},autoFill:{type:Boolean,value:!1},shownItems:Array,shownCount:{type:Number,value:0},canShowMore:{type:Boolean,notify:!0,reflectToAttribute:!0,observer:"onCanShowMoreUpdated_"},renderDelay:Number,targetFrameTime_:{type:Number,computed:"computeFrameTime_(targetFramerate)"},canScheduleJobs:{type:Boolean,value:!0,observer:"canScheduleJobsChanged_"}},
itemsPath:"data.items",beforeRegister:function(){if(this.itemsPath){this.getItemsPath&&this.getItemsPath instanceof Function&&(this.itemsPath=this.getItemsPath());var a=(this.constructor.generatedFrom||this).observers;a||(a=[]);a.push("deepLazyListObserver_("+this.itemsPath+".*)");this.constructor.generatedFrom.observers=a}},
created:function(){this.boundRenderChunk_=this.renderChunk_.bind(this);this.items_=null;this.lazyListRenderJobId_=this.chunkCount_=this.lastChunkTime_=this.length_=0;this.deferRenderingOutsideVisibleArea_=_.x("defer_rendering_outside_visible_area");this.nonDeferredItemCount=-1;this.renderElementsOutsideVisibleArea_=null;this.partiallyRenderedItems_=new WeakSet},
fillRemainingListItems:function(){this.fillRange_(this.shownCount,this.length_)},
renderDeferredElements:function(){var a=this.renderElementsOutsideVisibleArea_;a&&(_.vHa(a,4),a.processSignal())},
deepLazyListObserver_:function(a){var b=this;if(a){var c=a.value||[];if(this.itemsPath==a.path){var d=this.nonDeferredItemCount;a=0;_.x("enable_signals")&&this.deferRenderingOutsideVisibleArea_&&-1<d&&c.length>d&&(a=_.w("REMAINING_DOVA_DEFERRED_CHUNKS",-1));0<a?(0<d&&this.setInitialItemsOnDataChanged(c.slice(0,d)),(d=this.renderElementsOutsideVisibleArea_)?d.cancel():(d=this.renderElementsOutsideVisibleArea_=new _.Ju(2,"eocs"),_.ao(window,"scroll",function(){return b.renderDeferredElements()})),_.Ku(d,
function(){b.setInitialItemsOnDataChanged(c)}),_.ed("REMAINING_DOVA_DEFERRED_CHUNKS",a-1)):this.setInitialItemsOnDataChanged(c)}else if(this.itemsPath+".splices"==a.path)this.onItemsUpdated_(c);
else this.notifyPath("shownItems"+a.path.substr(this.itemsPath.length),a.value)}else this.cancelPendingTasks_()},
onItemsUpdated_:function(a){a&&(this.items_=this.get(this.itemsPath))&&(this.updateChangeRecord_(a),this.length_=this.items_.length,this.canShowMore=this.shownCount<this.length_,this.autoFill?(this.lastChunkTime_=Date.now(),this.tryRenderChunk_()):this.fillRemainingListItems())},
updateChangeRecord_:function(a){a=a.indexSplices;for(var b=0,c=a.length;b<c;b++){var d=a[b];if(d.index<this.shownCount&&(d.removed&&this.splice("shownItems",d.index,d.removed.length),d.addedCount)){var e=["shownItems",d.index,0];e.push.apply(e,d.object.slice(d.index,d.index+d.addedCount));this.splice.apply(this,e)}}this.shownCount=this.shownItems.length},
setInitialItemsOnDataChanged:function(a){this.cancelPendingTasks_();a||(a=[]);this.items_=a;this.length_=this.items_.length;this.shownItems=this.items_.slice(0,this.initialCount);this.shownCount=this.shownItems.length;this.canShowMore=this.shownCount<this.length_;this.autoFill&&(_.fd("DISABLE_AUTOFILL")?this.fillRemainingListItems():(this.chunkCount_=this.initialCount,this.lastChunkTime_=Date.now(),this.canShowMore&&_.nt(this,this.tryRenderChunk_)))},
fillRange_:function(a,b){this.canShowMore&&this.items_&&(a=this.items_.slice(a,b),a.unshift("shownItems"),this.push.apply(this,a),this.shownCount=b,this.canShowMore=this.shownCount<this.length_)},
tryRenderChunk_:function(){var a=this;this.canShowMore&&this.debounce("renderChunk",function(){a.requestRenderChunk_()})},
requestRenderChunk_:function(){if(_.fd("SCHEDULED_LAZY_LIST")||this.renderDelay)return this.shouldUseTaskManager()||this.canScheduleJobs?(this.cancelPendingTasks_(),this.lazyListRenderJobId_=_.we(this.getTaskManager(),this.boundRenderChunk_,this.renderDelay),!0):!1;requestAnimationFrame(this.boundRenderChunk_);return!0},
cancelPendingTasks_:function(){this.lazyListRenderJobId_&&this.getTaskManager().cancelJob(this.lazyListRenderJobId_);var a=this.renderElementsOutsideVisibleArea_;a&&(a.cancel(),this.renderElementsOutsideVisibleArea_=null)},
renderChunk_:function(){var a=Date.now();this.chunkCount_=Math.round(this.targetFrameTime_/(a-this.lastChunkTime_)*this.chunkCount_)||this.minChunkSize;this.lastChunkTime_=a;this.fillRange_(this.shownCount,Math.min(this.shownCount+this.chunkCount_,this.length_));this.lazyListRenderJobId_=0;this.tryRenderChunk_()},
computeFrameTime_:function(a){return Math.ceil(1E3/a)},
onCanShowMoreUpdated_:function(a){this.data&&null!==this.items_&&(a?this.partiallyRenderedItems_.add(this.items_):this.partiallyRenderedItems_.delete(this.items_))},
canScheduleJobsChanged_:function(a){!this.shouldUseTaskManager()&&this.data&&(!a&&this.canShowMore?(this.cancelDebouncer("renderChunk"),this.lazyListRenderJobId_&&this.getTaskManager().cancelJob(this.lazyListRenderJobId_)):a&&this.partiallyRenderedItems_.has(this.items_)&&(_.x("kevlar_lazy_list_resume_for_autofill")?this.autoFill&&this.tryRenderChunk_():this.tryRenderChunk_()))}}];
var ty=function(){var a=_.vt.apply(this,arguments)||this;a.atStart=!0;a.atEnd=!0;a.startIndex=0;a.endIndex=0;a.scrollCount=0;a.useFloorScrolling=!1;a.offset_=0;a.minComponentWidth_=0;a.setButtonsStateRequested_=!1;return a};
_.q(ty,_.vt);_.f=ty.prototype;_.f.created=function(){this.cachedViewportWidth_=_.w("initialInnerWidth")||window.innerWidth;this.JSC$36777_cachedViewportHeight_=_.w("initialInnerHeight")||window.innerHeight;-1==_.w("REMAINING_DOVA_DEFERRED_CHUNKS",-1)&&_.ed("REMAINING_DOVA_DEFERRED_CHUNKS",6)};
_.f.attached=function(){window.ShadyDOM&&window.ShadyDOM.noPatch||this.shadowRoot.addEventListener("transitionend",this.onItemsTransitionEnd_.bind(this))};
_.f.detached=function(){window.ShadyDOM&&window.ShadyDOM.noPatch||this.shadowRoot.removeEventListener("transitionend",this.onItemsTransitionEnd_.bind(this))};
_.f.reset=function(){this.scrollCount=this.offset_=0;this.reposition_();this.minComponentWidth_=0};
_.f.reposition_=function(){this.transform("translateX("+("rtl"==_.w("HTML_DIR")?"":"-")+this.offset_+"px)",this.$.items);this.requestButtonsStateUpdate_()};
_.f.requestButtonsStateUpdate_=function(){this.setButtonsStateRequested_||(this.setButtonsStateRequested_=!0,_.nt(this,this.setButtonsState_))};
_.f.setButtonsState_=function(){this.setButtonsStateRequested_=!1;var a=this.$.items.firstElementChild;if(a){this.minComponentWidth_||(this.minComponentWidth_=KNa(this,a));a=this.$["scroll-container"].clientWidth;var b=this.$.items.clientWidth,c=this.get(this.ytLazyListBehavior.itemsPath,this);if(c){var d=Math.round(a/this.minComponentWidth_)||1;this.startIndex=Math.round(this.offset_/this.minComponentWidth_);this.endIndex=Math.min(this.startIndex+d,c.length)-1}this.ytLazyListBehavior.canShowMore?
b+this.minComponentWidth_>=this.offset_+a&&(this.atEnd=!1):this.atEnd=this.offset_+a>=b-20?!0:!1;this.atStart=20>=this.offset_}};
_.f.nextClick_=function(){this.ytLazyListBehavior.fillRemainingListItems();_.mn();var a=this.$["scroll-container"].clientWidth;this.offset_+=(this.useFloorScrolling?Math.floor(a/this.minComponentWidth_)||1:Math.round(a/this.minComponentWidth_)||1)*this.minComponentWidth_;LNa(this);this.reposition_();this.scrollCount++};
_.f.prevClick_=function(){var a=this.$["scroll-container"].clientWidth;a=this.useFloorScrolling?Math.floor(a/this.minComponentWidth_)||1:Math.round(a/this.minComponentWidth_)||1;this.resizeSupportEnabled?(this.scrollCount--,this.offset_=this.minComponentWidth_*this.scrollCount-1):this.offset_-=a*this.minComponentWidth_;LNa(this);this.reposition_()};
_.f.onIronResize_=function(){this.resizeSupportEnabled&&_.nt(this,this.checkComponentWidthResize);this.requestButtonsStateUpdate_()};
_.f.onItemsTransitionEnd_=function(a){_.H(a).rootTarget==this.$.items&&this.ytRendererBehavior.markDirty()};
_.f.observeShownItems_=function(){this.reset()};
_.f.checkComponentWidthResize=function(){var a=this.$.items.firstElementChild;a&&(a=KNa(this,a),a!==this.minComponentWidth_&&(this.minComponentWidth_=a,this.offset_=a*this.scrollCount,LNa(this),this.reposition_()))};
var KNa=function(a,b){var c=window.getComputedStyle(b).marginRight;c=Math.floor(Number(c.replace("px","")));return a.resizeSupportEnabled?b.getBoundingClientRect().width+c:b.offsetWidth+c},LNa=function(a){var b=a.$["scroll-container"].clientWidth,c=a.$.items.clientWidth;
0>a.offset_?a.offset_=0:a.offset_+b>=c&&(a.offset_=c-b)};
_.t.Object.defineProperties(ty.prototype,{nonDeferredItemCount:{configurable:!0,enumerable:!0,get:function(){var a=_.w("NON_DEFERRED_HORIZONTAL_LIST_ROW_COUNT",-1);if(-1==a)a=this.JSC$36777_cachedViewportHeight_,a=1320<a?5:1020<a?4:730<a?3:430<a?2:1;else if(0==a)return 0;_.ed("NON_DEFERRED_HORIZONTAL_LIST_ROW_COUNT",a-1);a=_.w("NON_DEFERRED_HORIZONTAL_LIST_ITEM_COUNT",-1);if(-1<a)return a;a=this.cachedViewportWidth_;a=1600<a?6:1400<a?5:1300<a?4:1090<a?5:870<a?4:660<a?3:2;_.ed("NON_DEFERRED_HORIZONTAL_LIST_ITEM_COUNT",
a);return a},
set:function(){}},
resizeSupportEnabled:{configurable:!0,enumerable:!0,get:function(){return!_.x("kevlar_disable_component_resizing_support")&&!!this.supportComponentResize}}});
var uy=ty;uy.prototype.observeShownItems_=uy.prototype.observeShownItems_;uy.prototype.onItemsTransitionEnd_=uy.prototype.onItemsTransitionEnd_;uy.prototype.onIronResize_=uy.prototype.onIronResize_;uy.prototype.prevClick_=uy.prototype.prevClick_;uy.prototype.nextClick_=uy.prototype.nextClick_;uy.prototype.setButtonsState_=uy.prototype.setButtonsState_;uy.prototype.requestButtonsStateUpdate_=uy.prototype.requestButtonsStateUpdate_;uy.prototype.reposition_=uy.prototype.reposition_;
uy.prototype.reset=uy.prototype.reset;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],uy.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],uy.prototype,"ytLazyListBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],uy.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],uy.prototype,"atStart",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],uy.prototype,"atEnd",void 0);
_.S([_.N(),_.T("design:type",Object)],uy.prototype,"startIndex",void 0);_.S([_.N(),_.T("design:type",Object)],uy.prototype,"endIndex",void 0);_.S([_.N({value:6}),_.T("design:type",Number)],uy.prototype,"initialCount",void 0);_.S([_.N(),_.T("design:type",Object)],uy.prototype,"scrollCount",void 0);_.S([_.N(),_.T("design:type",Object)],uy.prototype,"supportComponentResize",void 0);_.S([_.N({value:function(){var a=this;return function(){return a.prevClick_()}}}),
_.T("design:type",Function)],uy.prototype,"boundPrevClick",void 0);_.S([_.N({value:function(){var a=this;return function(){return a.nextClick_()}}}),
_.T("design:type",Function)],uy.prototype,"boundNextClick",void 0);_.S([_.N(),_.T("design:type",Object)],uy.prototype,"useFloorScrolling",void 0);_.S([_.O("iron-resize"),_.P("guideOpened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uy.prototype,"onIronResize_",null);_.S([_.O("transitionend"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],uy.prototype,"onItemsTransitionEnd_",null);
_.S([_.P("shownItems"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uy.prototype,"observeShownItems_",null);uy=_.S([_.wt()],uy);_.vy=[_.xx,_.U.YtRendererBehavior,_.sy.YtLazyListBehavior,_.ry,uy.prototype];
var MNa;
var NNa;
var wy=function(){return _.K.apply(this,arguments)||this};
_.q(wy,_.K);wy.prototype.computeObjectFit=function(a){return"CARD_RENDERER_STYLE_TYPE_UNIVERSAL_WATCH_CARD_MOVIE_POSTER"===a||"CARD_RENDERER_STYLE_TYPE_MOVIE_POSTER"===a?"COVER":"FILL"};
wy.prototype.computeCardStyle=function(a){return a?a.replace("CARD_RENDERER_STYLE_TYPE_","").toLowerCase():""};
_.t.Object.defineProperties(wy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-refinement-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_search_refinement_card_renderer.ytd.search.refinement.card.renderer.css.js--\x3e<a class="yt-simple-endpoint" data="[[data.searchEndpoint]]" href$="[[computeHref_(data.searchEndpoint)]]">\n  <div id="card-thumbnail">\n    <yt-img-shadow object-fit="[[objectFit]]" thumbnail="[[data.thumbnail]]">\n    </yt-img-shadow>\n  </div>\n  <div id="card-title">\n    <div>[[getSimpleString(data.query)]]</div>\n  </div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MNa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_search_refinement_card_renderer.ytd.search.refinement.card.renderer.css.js--\x3e<style>:host {display: inline-block;} a {border: 1px solid var(--yt-spec-10-percent-layer);background-color: var(--yt-spec-general-background-b);border-radius: 16px;overflow: hidden;} #card-thumbnail {width: 156px;height: 88px;margin-bottom: 2px;} :host([card-style=universal_watch_card]) #card-thumbnail {width: 90px;height: 90px;} :host([card-style=universal_watch_card_movie_poster]) #card-thumbnail {width: 90px;height: 130px;} :host([card-style=movie_poster]) #card-thumbnail {width: 156px;height: 225px;} #card-thumbnail yt-img-shadow {width: 100%;height: 100%;} #card-title {color: var(--yt-spec-text-primary);padding: 12px 16px 16px;height: 24px;width: 124px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #card-title div {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([card-style=universal_watch_card]) #card-title,:host([card-style=universal_watch_card_movie_poster]) #card-title {padding: 4px 8px 8px;height: 34px;width: 74px;} :host([card-style=universal_watch_card]) a,:host([card-style=universal_watch_card_movie_poster]) a {border-radius: 0px;} /*# sourceMappingURL=ytd-search-refinement-card-renderer.css.map*/</style>';
MNa=d}d=MNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NNa=a}a=NNa;return a}}});
var xy=wy;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],xy.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],xy.prototype,"data",void 0);_.S([_.N({computed:"computeObjectFit(data.searchRefinementCardRendererStyle.value)"}),_.T("design:type",Number)],xy.prototype,"objectFit",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeCardStyle(data.searchRefinementCardRendererStyle.value)"}),_.T("design:type",String)],xy.prototype,"cardStyle",void 0);
xy=_.S([_.Q({asyncProperties:!0,is:"ytd-search-refinement-card-renderer"})],xy);
var ONa;
var PNa;
var QNa=function(){var a=_.K.apply(this,arguments)||this;a.isRichGrid=!1;return a};
_.q(QNa,_.K);
_.t.Object.defineProperties(QNa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-game-details-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_game_details_renderer.ytd.game.details.renderer.css.js--\x3e<a class="yt-simple-endpoint focus-on-expand" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n  <yt-img-shadow height="290" object-fit="COVER" thumbnail="[[data.boxArt]]" width="210"></yt-img-shadow>\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <yt-formatted-string id="auto-generated" hidden="[[!data.autoGenerated]]" text="[[data.autoGenerated]]"></yt-formatted-string>\n  <yt-formatted-string id="live-viewers-count" hidden="[[!data.liveViewersText]]" text="[[data.liveViewersText]]">\n  </yt-formatted-string>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ONa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_game_details_renderer.ytd.game.details.renderer.css.js--\x3e<style>:host {display: inline-block;color: var(--yt-spec-text-primary);} .yt-simple-endpoint {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} yt-formatted-string {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host(:not([is-rich-grid])) yt-img-shadow {width: 210px;height: 290px;} :host([is-rich-grid]) {width: 100%;} :host([is-rich-grid]) yt-img-shadow {width: 100%;} #title {margin: 8px 0 4px 0;} :host([is-rich-grid]:not([mini-mode])) #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #auto-generated {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([is-rich-grid]:not([mini-mode])) #auto-generated {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #live-viewers-count {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} :host([is-rich-grid]:not([mini-mode])) #live-viewers-count {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} /*# sourceMappingURL=ytd-game-details-renderer.css.map*/</style>';
ONa=d}d=ONa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PNa=a}a=PNa;return a}}});
var yy=QNa;_.S([_.N(),_.T("design:type",Object)],yy.prototype,"data",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],yy.prototype,"componentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],yy.prototype,"ytdReduxBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],yy.prototype,"isRichGrid",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],yy.prototype,"miniMode",void 0);
yy=_.S([_.Q({asyncProperties:!0,is:"ytd-game-details-renderer"})],yy);
var RNa;
var SNa;
var TNa;
var UNa;
var zy=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-menu-service-item-selected-action":"handleBellMenuOpenSelectedAction"};return a};
_.q(zy,_.K);_.f=zy.prototype;_.f.attached=function(){this.hasAttribute("button-renderer")||this.setAttribute("button-renderer","true")};
_.f.currentStateData=function(a){var b=a||this.data;return b&&b.states&&null!=b.currentStateId?b.states.find(function(c){return c.stateId===b.currentStateId})||null:null};
_.f.currentStateRendererData=function(a){return(a=this.currentStateData(a))&&a.state&&a.state.buttonRenderer?a.state.buttonRenderer:null};
_.f.stateChanged=function(){this&&this.data&&(this.ytRenderButtonBehavior._setEndpoint(null),this.ytRenderButtonBehavior._setServiceEndpoint(this.computeServiceEndpoint(this.data)),this.ytRenderButtonBehavior._setButtonIcon(this.computeButtonIcon(this.data)),this.ytRenderButtonBehavior._setButtonText(null),this.ytRenderButtonBehavior._setButtonAccessibility(this.computeAccessibility(this.data)),this.ytRenderButtonBehavior._setButtonClass(this.computeButtonClass(this.data)),this.ytRenderButtonBehavior.updateRenderedElements())};
_.f.computeButtonIcon=function(a){a=this.currentStateRendererData(a);var b;return(null==a?0:null==(b=a.icon)?0:b.iconType)?a.icon.iconType.toLowerCase():null};
_.f.computeAccessibility=function(a){return(a=this.currentStateRendererData(a))&&a.accessibilityData?a.accessibilityData.accessibilityData||null:null};
_.f.computeButtonClass=function(a){var b=this.currentStateRendererData(a);if(!b)return"";a="";var c=b.style;c&&(a+=c.toLowerCase().replace(/_/g,"-")+" ");(b=b.size)&&(a+=b.toLowerCase().replace(/_/g,"-")+" ");return a.trim()};
_.f.computeServiceEndpoint=function(a){if(!a)return null;var b=a&&a.serviceEndpoint,c=this.get("command.commandMetadata.webCommandMetadata.sendPost",a);return b?b:c&&a.command?a.command:null};
_.f.computeBellMenuItemParams=function(a){var b;return(null==a?0:null==(b=a.command)?0:b.commandExecutorCommand)?(a=a.command.commandExecutorCommand.commands)&&0!==a.length&&a[0].openPopupAction&&a[0].openPopupAction.popup&&a[0].openPopupAction.popup.menuPopupRenderer&&a[0].openPopupAction.popup.menuPopupRenderer.items?a[0].openPopupAction.popup.menuPopupRenderer.items.map(function(c){return c.menuServiceItemRenderer.trackingParams}):null:null};
_.f.handleBellMenuOpenSelectedAction=function(a){var b=a.trackingParams,c=this.computeBellMenuItemParams(this.data);this.data&&b&&c&&c.includes(b)&&this.ytRenderButtonBehavior._setButtonIcon(a.icon.iconType.toLowerCase())};
_.f.onYtServiceRequestCompleted=function(a,b){(a=this.get("data.newNotificationButton.subscriptionNotificationToggleButtonRenderer",b))&&this.set("data",a)};
_.f.onYtServiceRequestError=function(){this.ytRenderButtonBehavior._setButtonIcon(this.computeButtonIcon(this.data))};
_.f.resetState=function(){this.set("data.currentStateId",3)};
_.f.onYtButtonTapHandler=function(){if(this.data){var a=this.currentStateRendererData(this.data);a&&this.ytRendererBehavior.logExplicitClick(a)}};
_.t.Object.defineProperties(zy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===UNa){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-subscription-notification-toggle-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_subscription_notification_toggle_button_renderer.ytd.subscription.notification.toggle.button.renderer.css.js--\x3e\n";
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_subscription_notification_toggle_button_renderer.ytd.subscription.notification.toggle.button.renderer.css.js--\x3e<style>:host {--paper-button-ink-color: var(--yt-spec-icon-disabled);--yt-formatted-string-deemphasize-color: var(--yt-spec-static-brand-white);--yt-formatted-string-deemphasize: {margin-left: var(--ytd-margin-base);};} :host {vertical-align: middle;white-space: nowrap;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} :host([disable-text-transform]) {text-transform: none;} :host([disabled][is-paper-button]) a {cursor: initial;pointer-events: none;} :host([is-paper-button]) yt-icon {-ms-flex: none;-webkit-flex: none;flex: none;} :host yt-formatted-string {display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} tp-yt-paper-button {min-width: var(--yt-paper-button-min-width,var(--ytd-paper-button-min-width,5.14em));font-size: var(--yt-paper-button-font-size,inherit);} tp-yt-paper-button.keyboard-focus {font-weight: inherit;} tp-yt-paper-tooltip {z-index: var(--yt-button-tooltip-z-index);} :host([is-icon-button]):not([style-action-button]) {@apply --ytd-caption;} :host(.force-icon-button) a {padding-right: var(--yt-button-icon-padding,var(--ytd-margin-2x));} :host([is-paper-button]) {background-color: var(--yt-basic-background-color,var(--yt-button-background-color));color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));border-color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));} :host([is-paper-button-with-icon]) {--yt-button-padding-minus-focus-outline: var( --yt-button-with-icon-padding-minus-focus-outline );} :host(.style-suggestive.size-small[is-paper-button-with-icon]) {--yt-button-padding: 6px 12px;--yt-button-padding-minus-border: 5px 11px;} :host([is-paper-button-with-icon]) {--yt-button-padding: 6px 16px;--yt-button-padding-minus-border: 5px 15px;} :host([is-paper-button-with-icon][button-size=size-large]) {--yt-button-padding: 10px 16px;--yt-button-padding-minus-border: 9px 15px;--yt-button-padding-minus-focus-outline: 9px 15px;} :host([is-icon-button]) {color: var(--yt-button-color,var(--yt-spec-icon-inactive));} :host(.style-text[is-icon-button]),:host(.style-default[is-icon-button]),:host(.style-opacity[is-icon-button]) {color: var(--yt-spec-icon-inactive);} :host(.style-text[is-icon-button]) #text,:host(.style-default[is-icon-button]) #text,:host(.style-opacity[is-icon-button]) #text {color: var(--yt-button-icon-button-text-color,var(--yt-spec-text-secondary));} :host(.style-black[is-icon-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-icon-button]),:host(.style-opacity[is-icon-button][disabled]),:host(.style-text[is-icon-button][disabled]) #text,:host(.style-default[is-icon-button][disabled]) #text,:host(.style-opacity[is-icon-button][disabled]) #text {color: var(--yt-spec-text-disabled);} :host(.style-blue-text[is-icon-button]) {color: var(--yt-spec-call-to-action);} tp-yt-paper-tooltip {white-space: nowrap;} :host(.style-primary[is-paper-button]) {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);} :host(.style-primary[disabled][is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-disabled);} :host(.style-payment[is-paper-button]) {background-color: var(--yt-button-payment-background-color,var(--yt-spec-call-to-action));color: var(--yt-spec-text-primary-inverse);} :host(.style-payment[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-primary[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-payment[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-primary[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggestive[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-call-to-action);background-color: transparent;color: var(--yt-spec-call-to-action);} :host(.style-suggestive[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-border);} :host(.style-suggestive[is-paper-button][disabled]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-disabled);} :host(.style-suggestive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggestive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-focus-outline);} :host(.palette-with-border[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-border);} :host(.palette-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.palette-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-blue-text[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-call-to-action);} :host(.style-blue-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-blue-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[is-paper-button]) {background-color: var(--yt-spec-brand-button-background);color: var(--yt-spec-static-brand-white);} :host(.style-destructive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-destructive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[disabled][is-paper-button]) {background-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} :host(.style-brand[is-paper-button]) {color: var(--yt-spec-brand-link-text);} :host(.style-brand[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-brand[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-brand-link-text-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-default[is-paper-button]) {background-color: var(--yt-button-default-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-default-text-color,var(--yt-spec-text-secondary));} :host(.style-default[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-default[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-inactive-outline[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host(.style-inactive-outline[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-border);} :host(.style-inactive-outline[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-inactive-outline[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggested-action[is-paper-button]) {background-color: var(--yt-spec-suggested-action);color: var(--yt-spec-call-to-action);} :host(.style-suggested-action[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggested-action[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-compact-gray[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-compact-gray[is-paper-button]) tp-yt-paper-button {padding: var(--ytd-margin-base) var(--ytd-margin-2x);} :host(.style-text[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host([is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host([is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-icon-disabled);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-overlay[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-primary);color: var(--yt-spec-static-overlay-text-primary);} :host(.style-overlay[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-overlay[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-overlay-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-white-with-border[is-paper-button]) {background-color: transparent;border: 1px solid var(--yt-spec-static-brand-white);color: var(--yt-spec-static-brand-white);} :host(.style-white-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-white-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-brand-white);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-alert-info[is-paper-button]) {color: var(--yt-spec-call-to-action);} :host(.style-alert-info[is-paper-button]:hover) {color: var(--yt-spec-button-chip-background-hover);} :host(.style-dark[is-paper-button]) {background-color: var(--yt-button-dark-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-dark-text-color,var(--yt-spec-text-secondary));} :host(.style-light[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-light-text[is-paper-button]) {color: var(--yt-spec-static-overlay-text-primary);} :host(.style-black[is-paper-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-paper-button]) {background-color: transparent;color: var(--yt-spec-text-disabled);} :host(.style-black[disabled][is-paper-button]) {color: var(--yt-spec-text-disabled);} :host(.style-dark-on-black[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-secondary);border: none;color: var(--yt-spec-static-overlay-text-primary);} :host(.style-blue-text-with-inverse-theme[is-paper-button]) {color: var(--yt-spec-call-to-action-inverse);} :host(.style-count) {@apply --ytd-thumbnail-attribution;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} :host(.style-text[is-icon-button]) {color: var(--yt-spec-icon-inactive);} /*# sourceMappingURL=ytd-subscription-notification-toggle-button-renderer.css.map*/</style>";
TNa=d}d=TNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);UNa=a}a=UNa;return a}}});
var Ay=zy;Ay.prototype.onYtServiceRequestError=Ay.prototype.onYtServiceRequestError;Ay.prototype.onYtServiceRequestCompleted=Ay.prototype.onYtServiceRequestCompleted;Ay.prototype.stateChanged=Ay.prototype.stateChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Ay.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Ay.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.kv.YtRenderButtonBehavior),_.T("design:type",Object)],Ay.prototype,"ytRenderButtonBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Ay.prototype,"data",void 0);_.S([_.Ct("data","data.currentStateId"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Ay.prototype,"stateChanged",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],Ay.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],Ay.prototype,"onYtServiceRequestError",null);Ay=_.S([_.Q({is:"ytd-subscription-notification-toggle-button-renderer"})],Ay);
var VNa;
var WNa;
var By=function(){var a=_.K.apply(this,arguments)||this;a.keyboardFocused=!1;a.actionMap={"yt-player-subscribe":"onPlayerSubscribe","yt-player-unsubscribe":"onPlayerUnsubscribe","yt-update-subscribe-button-action":"handleUpdateSubscribeButtonAction"};return a};
_.q(By,_.K);_.f=By.prototype;_.f.configureRendererStamper=function(){return{"data.notificationPreferenceToggleButton":{id:"notification-preference-toggle-button",mapping:{buttonRenderer:"ytd-button-renderer",toggleButtonRenderer:"ytd-toggle-button-renderer"}},"data.notificationPreferenceButton":{id:"notification-preference-button",mapping:{subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}}}};
_.f.attached=function(){this.keyboardFocused=!1};
_.f.computeDisplayText=function(a,b){if(this.data)return a?b.subscribedButtonText:b.unsubscribedButtonText};
_.f.onSubscribeButtonFocusin=function(){if(this.useKeyboardFocused){var a=_.Eg().resolve(_.Cg(_.Bo));a&&(this.keyboardFocused=a.isKeyBoardInUse())}};
_.f.onSubscribeButtonFocusout=function(){this.keyboardFocused=!1};
_.f.onSubscribeButtonTap=function(a){if(_.x("kevlar_subscribe_endpoints_killswitch")){var b;(null==(b=this.data)?0:b.serviceEndpoints)&&_.Kg(this,[this.subscribed?this.data.serviceEndpoints[1]:this.data.serviceEndpoints[0]])}else{if(this.subscribed){var c;if(null==(c=this.data)?0:c.serviceEndpoints)var d=this.data.serviceEndpoints[1];else{var e;if(null==(e=this.data)?0:e.onUnsubscribeEndpoints)d=this.data.onUnsubscribeEndpoints[0]}}else{var h;if(null==(h=this.data)?0:h.serviceEndpoints)d=this.data.serviceEndpoints[0];
else{var l;if(null==(l=this.data)?0:l.onSubscribeEndpoints)d=this.data.onSubscribeEndpoints[0]}}d&&_.Kg(this,[d])}a.preventDefault()};
_.f.onYtServiceRequestSent=function(a,b){(this.get("endpoint.subscribeEndpoint",b)||this.get("endpoint.unsubscribeEndpoint",b))&&this.updateSubscriptionState(!this.subscribed)};
_.f.onYtServiceRequestCompleted=function(a,b){(a=this.get("newNotificationButton.subscriptionNotificationToggleButtonRenderer",b.data))&&this.bellButton&&this.bellButton.set("data",a)};
_.f.observedSubscribed=function(){this.updateStyles()};
_.f.computeAccessibility_=function(a,b){b=b?this.get("unsubscribeAccessibility.accessibilityData.label",a):this.get("subscribeAccessibility.accessibilityData.label",a);return a&&a.longSubscriberCountText?b+" "+_.qi(a.longSubscriberCountText):b};
_.f.onPlayerSubscribe=function(a){this.isCompactRed()||a!==this.data.channelId||this.updateSubscriptionState(!0)};
_.f.onPlayerUnsubscribe=function(a){this.isCompactRed()||a!==this.data.channelId||this.updateSubscriptionState(!1)};
_.f.handleUpdateSubscribeButtonAction=function(a){(a=a.updateSubscribeButtonAction)&&a.channelId===this.data.channelId&&this.updateSubscriptionState(!!a.subscribed)};
_.f.computeButtonStyle=function(a){return this.get("style.styleType",a)||null};
_.f.isCompactRed=function(){return"COMPACT_RED"===this.computeButtonStyle(this.data)};
_.f.computeSubscribed=function(){return this.subscriptionStateEntity?!!this.subscriptionStateEntity.subscribed:!(!this.data||!this.data.subscribed)};
_.f.updateSubscriptionState=function(a){if(a!==this.subscribed){this.set("data.subscribed",a);var b,c=null==(b=this.data)?void 0:b.subscribedEntityKey;c&&this.ytdReduxBehavior.dispatch(_.jy("subscriptionStateEntity",c,{key:c,subscribed:a}));this.isCompactRed()||this.fire("yt-subscription-changed",a);a||(_.C(this,"yt-unsubscribe-action"),this.resetNotificationBellState())}};
_.f.resetNotificationBellState=function(){this.get("notificationPreferenceButton.subscriptionNotificationToggleButtonRenderer",this.data)&&this.bellButton&&this.bellButton.resetState()};
_.t.Object.defineProperties(By,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-subscribe-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_subscribe_button_renderer.ytd.subscribe.button.renderer.css.js--\x3e<tp-yt-paper-button aria-label$="[[buttonAccessibility]]" noink="" raised="[[buttonRaised]]" subscribed$="[[subscribed]]" on-click="onSubscribeButtonTap" on-focusin="onSubscribeButtonFocusin" on-focusout="onSubscribeButtonFocusout">\n  <yt-formatted-string text="[[computeDisplayText(subscribed, data)]]">\n  </yt-formatted-string>\n</tp-yt-paper-button>\n<div id="notification-preference-toggle-button" hidden="[[!subscribed]]"></div>\n<div id="notification-preference-button" hidden="[[!subscribed]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_subscribe_button_renderer.ytd.subscribe.button.renderer.css.js--\x3e<style>:host {--yt-formatted-string-deemphasize-color: var(--yt-spec-static-brand-white);--yt-formatted-string-deemphasize: {margin-left: 4px;};display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} tp-yt-paper-button {background-color: var(--yt-spec-brand-button-background);--paper-button-flat-keyboard-focus-background-color: var(--yt-spec-brand-button-background);border-radius: 2px;color: var(--yt-spec-static-brand-white);padding: var(--yt-button-padding);margin: auto var(--ytd-subscribe-button-margin,4px);white-space: nowrap;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} tp-yt-paper-button.keyboard-focus,:host([use-keyboard-focus][keyboard-focused]) tp-yt-paper-button {border: 2px solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} :host([use-keyboard-focused]:not([keyboard-focused])) tp-yt-paper-button.keyboard-focus {border: none;padding: 10px 16px;} tp-yt-paper-button[subscribed] {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} tp-yt-paper-button[subscribed].keyboard-focus,:host([use-keyboard-focus][keyboard-focused]) tp-yt-paper-button[subscribed] {border: 2px solid var(--yt-spec-text-secondary);} tp-yt-paper-button[subscribed] yt-formatted-string {--yt-formatted-string-deemphasize-color: var(--yt-spec-text-secondary);--yt-formatted-string-deemphasize: {margin-left: 4px;};} :host([overlay-button]) tp-yt-paper-button[subscribed] {background-color: var(--yt-spec-static-overlay-button-secondary);color: var(--yt-spec-static-overlay-text-primary);} :host([overlay-button]) tp-yt-paper-button[subscribed].keyboard-focus,:host([overlay-button][use-keyboard-focus][keyboard-focused]) tp-yt-paper-button[subscribed] {border: 2px solid var(--yt-spec-static-overlay-text-secondary);} :host([button-style=COMPACT_GRAY]) {--yt-button-icon-size: 24px;--yt-button-icon-padding: 4px;} :host([button-style=COMPACT_GRAY]) tp-yt-paper-button {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host([button-style=COMPACT_GRAY]) tp-yt-paper-button yt-formatted-string {--yt-formatted-string-deemphasize-color: var(--yt-spec-text-secondary);} :host([button-style=COMPACT_GRAY]) tp-yt-paper-button,:host([button-style=COMPACT_RED]) tp-yt-paper-button,:host([button-style=COMPACT_GRAY][use-keyboard-focused]:not([keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host([button-style=COMPACT_RED][use-keyboard-focused]:not([keyboard-focused])) tp-yt-paper-button.keyboard-focus {padding: 4px 8px;margin: 0;} :host([button-style=COMPACT_RED]) tp-yt-paper-button.keyboard-focus {padding: 2px 6px;border: 2px solid var(--yt-spec-text-primary);} :host([button-style=COMPACT_GRAY]) tp-yt-paper-button.keyboard-focus {padding: 2px 6px;border: 2px solid var(--yt-spec-text-secondary);} :host([button-style=COMPACT_RED]) {max-width: 100%;} :host([button-style=COMPACT_RED]) yt-formatted-string {overflow: hidden;text-overflow: ellipsis;} :host([button-style=COMPACT_RED]) ytd-toggle-button-renderer,:host([button-style=COMPACT_RED]) ytd-button-renderer {--yt-button-icon-size: 24px;--yt-button-icon-padding: 0;margin-left: 8px;} :host([button-style=COMPACT_RED]) tp-yt-paper-button[subscribed] yt-formatted-string {--yt-formatted-string-deemphasize: {display: none;};} :host([button-style=VISIBLY_DISABLED]) tp-yt-paper-button {--yt-formatted-string-deemphasize-color: var(--yt-spec-text-primary-inverse);background-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} /*# sourceMappingURL=ytd-subscribe-button-renderer.css.map*/</style>";
VNa=d}d=VNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WNa=a}a=WNa;return a}}});
var Cy=By;Cy.prototype.observedSubscribed=Cy.prototype.observedSubscribed;Cy.prototype.onYtServiceRequestCompleted=Cy.prototype.onYtServiceRequestCompleted;Cy.prototype.onYtServiceRequestSent=Cy.prototype.onYtServiceRequestSent;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Cy.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Cy.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Cy.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Cy.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],Cy.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Cy.prototype,"data",void 0);_.S([_.N({selectorArgs:["data.subscribedEntityKey"],selector:function(a,b){return _.Yg(a.entities,"subscriptionStateEntity",b)}}),
_.T("design:type",Object)],Cy.prototype,"subscriptionStateEntity",void 0);_.S([_.N({computed:"computeSubscribed(data.subscribed, subscriptionStateEntity)"}),_.T("design:type",Boolean)],Cy.prototype,"subscribed",void 0);_.S([_.N({readOnly:!0,computed:"computeAccessibility_(data, subscribed)"}),_.T("design:type",String)],Cy.prototype,"buttonAccessibility",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],Cy.prototype,"branded",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],Cy.prototype,"overlayButton",void 0);_.S([_.N(),_.T("design:type",Boolean)],Cy.prototype,"buttonRaised",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeButtonStyle(data)"}),_.T("design:type",Object)],Cy.prototype,"buttonStyle",void 0);_.S([_.N({value:function(){return!!_.Eg().resolve(_.Cg(_.Bo))&&_.x("kevlar_keyboard_button_focus")},
reflectToAttribute:!0}),_.T("design:type",Boolean)],Cy.prototype,"useKeyboardFocused",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Cy.prototype,"keyboardFocused",void 0);_.S([_.Z("ytd-subscription-notification-toggle-button-renderer"),_.T("design:type",Object)],Cy.prototype,"bellButton",void 0);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],Cy.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],Cy.prototype,"onYtServiceRequestCompleted",null);_.S([_.P("subscribed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Cy.prototype,"observedSubscribed",null);Cy=_.S([_.Q({asyncProperties:!0,is:"ytd-subscribe-button-renderer"})],Cy);
var Dy=function(){var a=_.K.apply(this,arguments)||this;a.isRichGrid=!1;return a};
_.q(Dy,_.K);Dy.prototype.configureRendererStamper=function(){return{"data.game":{id:"game",mapping:{gameDetailsRenderer:{component:"ytd-game-details-renderer",properties:{isRichGrid:"[[isRichGrid]]"}}}},"data.subscribeButton":{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer"}}}};
_.t.Object.defineProperties(Dy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-game-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_game_card_renderer.ytd.game.card.renderer.css.js--\x3e<div id="game"></div>\n<div id="subscribe-button"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_game_card_renderer.ytd.game.card.renderer.css.js--\x3e<style>:host {display: block;vertical-align: top;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([is-rich-grid]) {width: 100%;} #game {padding-bottom: 4px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-game-card-renderer.css.map*/</style>";
RNa=d}d=RNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SNa=a}a=SNa;return a}}});
var Ey=Dy;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Ey.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Ey.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Ey.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Ey.prototype,"isRichGrid",void 0);Ey=_.S([_.Q({asyncProperties:!0,is:"ytd-game-card-renderer"})],Ey);
var XNa;
var YNa;
var Fy=function(){var a=_.K.apply(this,arguments)||this;a.isDisabled=!1;return a};
_.q(Fy,_.K);_.f=Fy.prototype;
_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}},initialRenderPriority:_.x("defer_menus")?0:void 0,waitForSignal:"eocs"},"data.buttons":{id:"buttons",mapping:{toggleButtonRenderer:{component:"ytd-toggle-button-renderer",params:{buttonTooltipPosition:"top"}},upcomingEventReminderButtonRenderer:"ytd-upcoming-event-reminder-button-renderer"}},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",
notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.f.getMetadata=function(a){var b=[];if(a.metadataText&&0<Object.keys(a.metadataText).length){var c=this.ytRendererBehavior.getSimpleString(a.metadataText);a.upcomingEventData&&a.upcomingEventData.upcomingEventText&&(c=_.Pv(c,Number(a.upcomingEventData.startTime)));b.push(c)}else a.shortViewCountText&&b.push(this.ytRendererBehavior.getSimpleString(a.shortViewCountText)),a.publishedTimeText&&b.push(this.ytRendererBehavior.getSimpleString(a.publishedTimeText)),a.upcomingEventData&&a.upcomingEventData.upcomingEventText&&
(c=this.ytRendererBehavior.getSimpleString(a.upcomingEventData.upcomingEventText),b.push(_.Pv(c,Number(a.upcomingEventData.startTime))));return b};
_.f.calculateBylineText=function(a){return a.shortBylineText?a.shortBylineText:a.bylineText?a.bylineText:null};
_.f.calculateIsDisabled=function(a){return!!a.isDisabled};
_.f.onDetailsTap=function(a){var b=this.data&&this.data.navigationEndpoint;b&&!_.Hx(_.H(a).path||[],this,["A".toString(),"BUTTON".toString()])&&this.fire("yt-navigate",{endpoint:b})};
_.f.computeThumbnailWidth=function(a){return a?360:210};
_.t.Object.defineProperties(Fy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_video_renderer.ytd.grid.video.renderer.css.js--\x3e<div id="dismissible"><ytd-thumbnail data="[[data]]" hovered="[[lockupIsHovered]]" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="[[computeThumbnailWidth(isSearch)]]"></ytd-thumbnail><div id="details" on-tap="onDetailsTap"><div id="meta"><h3><ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]"></ytd-badge-supported-renderer><a id="video-title" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]" data="[[data.navigationEndpoint]]">[[getSimpleString(data.title)]]</a></h3><div id="metadata-container" class="grid" meta-block=""><div id="metadata"><div id="byline-container" hidden="[[!bylineText]]"><ytd-channel-name id="channel-name" badges="[[data.ownerBadges]]" channel-name="[[bylineText]]" no-endpoints="[[noEndpoints]]"></ytd-channel-name></div><div id="metadata-line"><template is="dom-repeat" items="[[getMetadata(data)]]" strip-whitespace=""><span>[[item]]</span></template></div></div><div id="additional-metadata-line"><template is="dom-repeat" items="[[data.additionalMetadatas]]" strip-whitespace=""><span>[[getSimpleString(item)]]</span></template></div></div></div><ytd-badge-supported-renderer id="video-badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]"></ytd-badge-supported-renderer><div id="menu"></div></div><div id="buttons"></div></div><div id="dismissed"><div id="dismissed-content"></div></div><yt-interaction id="interaction" class="extended"></yt-interaction>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XNa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_video_renderer.ytd.grid.video.renderer.css.js--\x3e<style>@charset "UTF-8"; :host,[meta-block] {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(.grid) #metadata,:host(.compact) #metadata,[meta-block].grid #metadata,[meta-block].compact #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([watch-feed-big-thumbs].compact) {min-width: 0;} :host([watch-feed-big-thumbs].compact) #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(.light) #byline,[meta-block].light #byline {color: var(--yt-spec-text-secondary);} #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #additional-metadata-line>:not(:last-of-type):after {content: "\u2022";margin: 4px 4px 0;} #metadata-line {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));max-width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host(:not([rich-meta])) #metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([truncate-metadata-line]) #metadata-line {display: block;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;} #additional-metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host(:not([rich-meta])) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;} #byline-container {max-width: 100%;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([radio-meta]:not([rich-meta])) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([rich-meta]) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([rich-meta][radio-meta]) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([rich-meta]) #metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([rich-meta][mini-mode]) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([rich-meta][mini-mode]) #metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -ms-flexbox;display: -webkit-flex;display: flex;} #separator {display: none;} :host([watch-feed-big-thumbs]:not(.grid).byline-separated) #separator,:host(:not(.grid):not(.compact).byline-separated) #separator,[meta-block]:not(.grid):not(.compact).byline-separated #separator {display: inline-block;color: var(--yt-spec-text-secondary);margin: 0 4px;} #channel-name {--ytd-channel-name-badges-margin-right: 8px;--ytd-channel-name-text-display: block;--ytd-channel-name-text-complex-display: flex;--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);max-width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #channel-name.long-byline {--ytd-channel-name-container-display: -webkit-box;--ytd-channel-name-text-display: -webkit-box;--ytd-channel-name-text-line-clamp: 2;--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #channel-name[verified] {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);margin-right: 8px;} #channel-name[verified].long-byline {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);} :host(.grid) #channel-name,[meta-block].grid #channel-name {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);} :host(.grid) #channel-name[verified],[meta-block].grid #channel-name[verified] {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);} #metadata-line>:not(:last-of-type):after {content: "\u2022";margin: 0 4px;} #metadata-line span {display: inline-block;} ytd-badge-supported-renderer {margin-right: 8px;} #video-badges {margin-top: 4px;} :host {--yt-button-compact-background-color: var(--yt-spec-10-percent-layer);--yt-button-compact-text-color: var(--yt-spec-text-secondary);--yt-shorts-compact-label-text-hidden: none;display: inline-block;width: 210px;position: relative;} :host([is-search]) {width: 360px;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} :host([is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([is-dismissed]) #dismissed {display: block;} ytd-thumbnail {height: 118px;width: 210px;} :host([is-search]) ytd-thumbnail {width: 360px;height: 202px;} :host([is-disabled]) ytd-thumbnail {pointer-events: none;} :host([is-disabled]) #details {pointer-events: none;} :host([is-disabled]) #menu {pointer-events: auto;} :host([is-disabled]) #meta {cursor: default;} :host([is-disabled]) #video-title {opacity: 0.25;cursor: default;} :host([is-disabled]) #channel-name {opacity: 0.6;} :host([is-disabled]) #metadata-line {color: var(--yt-spec-call-to-action);max-height: none;} #meta {padding-right: 24px;} #badges {margin-top: 8px;} #details {position: relative;cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #details a {display: block;} :host(.use-ellipsis) #details a {display: -webkit-box;} ytd-menu-renderer {position: absolute;top: -4px;right: -8px;} #dismissed {padding-bottom: 56.19%;border: 1px solid var(--yt-spec-10-percent-layer);position: relative;} #dismissed:focus {outline: none;} #dismissed-content {box-sizing: border-box;padding: 8px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #video-title.yt-simple-endpoint {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} :host #video-title.yt-simple-endpoint {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);margin: 8px 0 8px;} #buttons>* {margin-top: 4px;} /*# sourceMappingURL=ytd-grid-video-renderer.css.map*/</style>';
XNa=d}d=XNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YNa=a}a=YNa;return a}}});
var Gy=Fy;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Gy.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Gy.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],Gy.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],Gy.prototype,"ytdLockupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Gy.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Boolean)],Gy.prototype,"noEndpoints",void 0);_.S([_.N({computed:"calculateBylineText(data)"}),_.T("design:type",Object)],Gy.prototype,"bylineText",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],Gy.prototype,"isSearch",void 0);_.S([_.N({reflectToAttribute:!0,computed:"calculateIsDisabled(data)"}),_.T("design:type",Object)],Gy.prototype,"isDisabled",void 0);Gy=_.S([_.Q({asyncProperties:!0,is:"ytd-grid-video-renderer"})],Gy);
var ZNa;
var $Na;
var aOa;
var bOa;
var cOa;
var dOa;
_.Ng({is:"yt-channel-thumbnail-with-link-renderer",_template:function(){if(void 0!==dOa)return dOa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-channel-thumbnail-with-link-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_channel_thumbnail_with_link_renderer.yt.channel.thumbnail.with.link.renderer.css.js--\x3e<a href="[[computeHref_(data.navigationEndpoint)]]" title="[[data.accessibility.accessibilityData.label]]">\n  <yt-img-shadow id="avatar" disable-upgrade$="[[!data.thumbnail]]" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]">\n  </yt-img-shadow>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cOa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_channel_thumbnail_with_link_renderer.yt.channel.thumbnail.with.link.renderer.css.js--\x3e<style>:host {display: inline-block;} #avatar {width: 32px;height: 32px;border-radius: 50%;background-color: transparent;overflow: hidden;} :host([style_=CHANNEL_THUMBNAIL_STYLE_PREVIEW_CARD]) #avatar {width: 36px;height: 36px;} :host([style_=CHANNEL_THUMBNAIL_STYLE_BOXART]) #avatar {width: 29px;height: 40px;border-radius: 0%;background-color: transparent;overflow: hidden;} /*# sourceMappingURL=yt-channel-thumbnail-with-link-renderer.css.map*/</style>";
cOa=d}d=cOa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return dOa=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object,style_:{type:String,reflectToAttribute:!0,computed:"computeStyle_(data.style)"}},computeStyle_:function(a){return a}});
var Hy=function(){return _.K.apply(this,arguments)||this};
_.q(Hy,_.K);Hy.prototype.configureRendererStamper=function(){return{"data.channelThumbnail":{id:"avatar",mapping:{channelThumbnailWithLinkRenderer:"yt-channel-thumbnail-with-link-renderer"}},"data.informationButton":{id:"information-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.navigationButton":{id:"navigation-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
Hy.prototype.computeTitleStyle=function(a){return a||null};
Hy.prototype.computeAvatarStyle=function(a){return a||null};
Hy.prototype.computeShowNavigationButton=function(a,b){return!(null==a||!a.navigationButton||b)};
_.t.Object.defineProperties(Hy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bOa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-list-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_rich_list_header_renderer.ytd.rich.list.header.renderer.css.js--\x3e<div class="title-row">\n  <div id="avatar"></div>\n  <template is="dom-if" if="[[!data.endpoint]]">\n    <div id="title-text">\n      <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n      <yt-formatted-string id="subtitle" hidden="[[!data.subtitle]]" text="[[data.subtitle]]">\n      </yt-formatted-string>\n    </div>\n  </template>\n  <template is="dom-if" if="[[data.endpoint]]">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n      <div id="image-container">\n        <div id="avatar"></div>\n        <div id="title-text">\n          <span id="title">[[getSimpleString(data.title)]]</span>\n          <yt-formatted-string id="subtitle" hidden="[[!data.subtitle]]" text="[[data.subtitle]]">\n          </yt-formatted-string>\n        </div>\n      </div>\n    </a>\n  </template>\n  <ytd-badge-supported-renderer id="featured-badge" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n  </ytd-badge-supported-renderer>\n  <yt-formatted-string id="title-annotation" hidden="[[!data.titleAnnotation]]" text="[[data.titleAnnotation]]">\n  </yt-formatted-string>\n  <div id="information-button" hidden="[[!data.informationButton]]"></div>\n  <div id="navigation-button" hidden="[[!computeShowNavigationButton(data, hideNavigationButton)]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aOa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_rich_list_header_renderer.ytd.rich.list.header.renderer.css.js--\x3e<style>:host {display: inline-block;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #subtitle {display: block;color: var(--yt-spec-text-secondary);margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #title-annotation {color: var(--yt-spec-text-secondary);margin-left: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([title-style=TITLE_STYLE_TYPE_CHANNEL_INLINE_RECS]) #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([title-style=TITLE_STYLE_TYPE_RICH_GRID_SECTION_HEADER]) #title {font-family: "Roboto","Arial",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 400;max-height: 2.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;margin: 24px 0 24px 8px;} :host([avatar-style=CHANNEL_THUMBNAIL_STYLE_BOXART]) #subtitle {margin-top: 0px;} :host([avatar-style=CHANNEL_THUMBNAIL_STYLE_PREVIEW_CARD]) #subtitle {margin-top: 0px;} .title-row {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .title-text {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #featured-badge {margin-left: 8px;} #avatar>*:last-child {margin-right: 8px;} #navigation-button {margin-left: auto;} #information-button {--yt-button-icon-padding: 8px;--yt-button-icon-size: 32px;--yt-icon-button-icon-height: 16px;--yt-icon-button-icon-width: 16px;} /*# sourceMappingURL=ytd-rich-list-header-renderer.css.map*/</style>';
aOa=d}d=aOa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bOa=a}a=bOa;return a}}});
var Iy=Hy;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Iy.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Iy.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Iy.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeTitleStyle(data.titleStyle.style)"}),_.T("design:type",String)],Iy.prototype,"titleStyle",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeAvatarStyle(data.channelThumbnail.channelThumbnailWithLinkRenderer.style)"}),_.T("design:type",String)],Iy.prototype,"avatarStyle",void 0);_.S([_.N(),_.T("design:type",Boolean)],Iy.prototype,"hideNavigationButton",void 0);Iy=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-list-header-renderer"})],Iy);
var Jy=function(){return _.K.apply(this,arguments)||this};
_.q(Jy,_.K);Jy.prototype.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{richListHeaderRenderer:"ytd-rich-list-header-renderer"}},"data.contents":{id:"contents",mapping:{gridVideoRenderer:{component:"ytd-grid-video-renderer",properties:{isSearch:"[[isSearch]]"}}}}}};
_.t.Object.defineProperties(Jy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Na){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-preview-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_preview_card_renderer.ytd.preview.card.renderer.css.js--\x3e<div id="header"></div>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_preview_card_renderer.ytd.preview.card.renderer.css.js--\x3e<style>:host {display: inline-block;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-grid-video-renderer {margin-top: 12px;vertical-align: top;} ytd-grid-video-renderer:not(:last-child) {margin-right: 4px;} /*# sourceMappingURL=ytd-preview-card-renderer.css.map*/</style>";
ZNa=d}d=ZNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Na=a}a=$Na;return a}}});
var Ky=Jy;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Ky.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Ky.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Ky.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],Ky.prototype,"isSearch",void 0);Ky=_.S([_.Q({asyncProperties:!0,is:"ytd-preview-card-renderer"})],Ky);
var eOa;
var fOa;
var Ly=function(){return _.K.apply(this,arguments)||this};
_.q(Ly,_.K);Ly.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}},initialRenderPriority:_.x("defer_menus")?0:void 0,waitForSignal:"eocs"}}};
Ly.prototype.dataChanged=function(){var a=this.get("colorExtractionPalette.section1Color",this.data);a=_.ru(a);this.updateStyles({"--ytd-channel-recommendation-card-avatar-overlay-color":a})};
Ly.prototype.computeCardStyle=function(a){return this.get("style.value",a)||null};
_.t.Object.defineProperties(Ly,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fOa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-channel-recommendation-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_compact_channel_recommendation_card_renderer.ytd.compact.channel.recommendation.card.renderer.css.js--\x3e<a id="card-body" class="yt-simple-endpoint" href$="[[computeHref_(data.channelEndpoint)]]" title$="[[getSimpleString(data.channelTitle)]]" aria-label$="[[getSimpleString(data.channelTitle)]]" data="[[data.channelEndpoint]]">\n  <div id="banner">\n    <yt-img-shadow id="channel-art" object-fit="COVER" thumbnail="[[data.backgroundImage]]"></yt-img-shadow>\n    <svg id="avatar-protection" viewBox="0 0 210 56" preserveAspectRatio="none">\n      <path id="lower-overlay" d="M 0 -12 L 126 56 L 0 56 z"></path>\n      <path id="upper-overlay" d="M 0 -12 L 74 28 L 0 68 z"></path>\n    </svg>\n    <yt-img-shadow id="avatar" thumbnail="[[data.channelAvatar]]"></yt-img-shadow>\n  </div>\n  <div id="channel-info">\n    <span id="title">[[getSimpleString(data.channelTitle)]]</span>\n  </div>\n</a>\n<div id="subscribe-container">\n  <ytd-subscribe-button-renderer id="subscribe" data="[[data.subscribeButton.subscribeButtonRenderer]]">\n  </ytd-subscribe-button-renderer>\n</div>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eOa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_compact_channel_recommendation_card_renderer.ytd.compact.channel.recommendation.card.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;position: relative;} :host([is-dismissed]) {display: none;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} #banner {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;width: 210px;height: 56px;} #avatar {border: 1px solid rgba(255,255,255,0.3);height: 32px;margin-left: 8px;position: absolute;width: 32px;border-radius: 50%;background-color: transparent;overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #avatar-protection:dir(rtl) {-webkit-transform: scale(-1,1);transform: scale(-1,1);} #channel-art,#avatar-protection {position: absolute;width: 210px;height: 56px;} #lower-overlay {fill: var(--ytd-channel-recommendation-card-avatar-overlay-color);fill-opacity: 0.5;} #upper-overlay {fill: var(--ytd-channel-recommendation-card-avatar-overlay-color);fill-opacity: 0.8;} #card-body {max-width: 100%;} #channel-info {margin: 0 8px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #title {color: var(--yt-spec-text-primary);margin: 0;margin-top: 16px;margin-bottom: 12px;max-width: 100%;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #subscribe-container {padding: 0 8px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-subscribe-button-renderer {max-width: 100%;} ytd-menu-renderer {--yt-icon-width: 24px;--yt-icon-height: 24px;position: absolute;right: 4px;top: 64px;} :host([card-style=CARD_STYLE_COMPACT_LEFT_ALIGN]) #channel-info {margin: 0px;padding-right: 24px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([card-style=CARD_STYLE_COMPACT_LEFT_ALIGN]) #subscribe-container {padding: 0px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([card-style=CARD_STYLE_COMPACT_LEFT_ALIGN]) #title {-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} /*# sourceMappingURL=ytd-compact-channel-recommendation-card-renderer.css.map*/</style>';
eOa=d}d=eOa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fOa=a}a=fOa;return a}}});
var My=Ly;My.prototype.dataChanged=My.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],My.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],My.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],My.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],My.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeCardStyle(data)"}),_.T("design:type",String)],My.prototype,"cardStyle",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],My.prototype,"dataChanged",null);My=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-channel-recommendation-card-renderer"})],My);
var gOa;
var hOa;
var Ny=function(){var a=_.K.apply(this,arguments)||this;a.active=!1;return a};
_.q(Ny,_.K);Ny.prototype.configureRendererStamper=function(){return{"data.shareButton":{id:"share-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.repeatButton":{id:"repeat-button",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer"}}}};
Ny.prototype.onEndpointClick=function(){this.data&&this.ytRendererBehavior.logExplicitClick(this.data)};
Ny.prototype.computeLayout=function(a){return a};
_.t.Object.defineProperties(Ny,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hOa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-macro-markers-list-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_macro_markers_list_item_renderer.ytd.macro.markers.list.item.renderer.css.js--\x3e<a id="endpoint" class="yt-simple-endpoint" data="[[data.onTap]]" href$="[[computeHref_(data.onTap)]]" on-click="onEndpointClick">\n  <div id="active-indicator"></div>\n  <div id="thumbnail">\n      <yt-img-shadow hidden="[[!data.thumbnail]]" object-fit="FILL" thumbnail="[[data.thumbnail]]">\n    </yt-img-shadow>\n  </div>\n  <div id="details">\n    <h4 title="[[getSimpleString(data.title)]]">[[getSimpleString(data.title)]]</h4>\n    <div id="time">[[getSimpleString(data.timeDescription)]]</div>\n  </div>\n</a>\n<div id="share-button"></div>\n<div id="repeat-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gOa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_macro_markers_list_item_renderer.ytd.macro.markers.list.item.renderer.css.js--\x3e<style>:host {display: block;padding: 8px 8px 8px 0;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-moz-box-orient: horizontal;-moz-box-direction: normal;flex-direction: row;-ms-flex: none;-webkit-flex: none;-webkit-box-flex: 0;-moz-box-flex: 0;flex: none;} :host(:hover),:host([active]) {background: var(--yt-spec-badge-chip-background);} #endpoint {display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-moz-box-orient: horizontal;-moz-box-direction: normal;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;-webkit-box-flex: 1;-moz-box-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;-ms-flex-preferred-size: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-align: center;-webkit-align-items: center;-webkit-box-align: center;-moz-box-align: center;align-items: center;} #active-indicator {background: var(--yt-spec-themed-blue);height: 6px;width: 6px;border-radius: 6px;margin: 0 5px;} :host(:not([active])) #active-indicator {visibility: hidden;} #thumbnail {height: 56px;width: 100px;background: #000;} :host([active]) #thumbnail {outline: 2px solid var(--yt-spec-themed-blue);} #details {min-width: 0;margin-left: 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;-webkit-box-flex: 1;-moz-box-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;-ms-flex-preferred-size: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;-webkit-box-pack: center;-moz-box-pack: center;justify-content: center;} h4 {margin-bottom: 8px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #time {padding: 2px 6px;border-radius: 2px;color: var(--yt-spec-themed-blue);background-color: var(--yt-spec-suggested-action);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;-ms-align-self: flex-start;-webkit-align-self: flex-start;-ms-flex-item-align: start;align-self: flex-start;} #share-button {display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;-webkit-box-pack: center;-moz-box-pack: center;justify-content: center;} #repeat-button {display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;-webkit-box-pack: center;-moz-box-pack: center;justify-content: center;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) {padding: 4px 3px;border: 1px solid var(--yt-spec-10-percent-layer);-moz-box-sizing: border-box;box-sizing: border-box;border-radius: 2px;width: 104px;height: var(--yt-macro-marker-list-item-height,160px);} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #details {margin-left: initial;padding: 8px 4px 4px;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;width: 100%;-webkit-flex-basis: auto;-ms-flex-preferred-size: auto;flex-basis: auto;-moz-box-sizing: border-box;box-sizing: border-box;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #endpoint {display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;-webkit-box-align: start;-moz-box-align: start;align-items: flex-start;height: 100%;width: 100%;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #active-indicator {display: none;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #thumbnail {width: 96px;height: 54px;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #thumbnail yt-img-shadow {width: 100%;height: 100%;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) h4 {word-wrap: break-word;margin-bottom: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 6rem;overflow: hidden;display: block;-webkit-line-clamp: 3;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #time {padding: 0 4px;margin-top: auto;font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;} :host([layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #share-button {display: none;} :host([active][layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) {border: 1px solid var(--yt-spec-themed-blue);} :host([active][layout=MACRO_MARKERS_LIST_ITEM_RENDERER_LAYOUT_VERTICAL]) #thumbnail {outline: 0;} /*# sourceMappingURL=ytd-macro-markers-list-item-renderer.css.map*/</style>';
gOa=d}d=gOa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hOa=a}a=hOa;return a}}});
var Oy=Ny;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Oy.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Oy.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Oy.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],Oy.prototype,"active",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeLayout(data.layout)"}),_.T("design:type",String)],Oy.prototype,"layout",void 0);Oy=_.S([_.Q({asyncProperties:!0,is:"ytd-macro-markers-list-item-renderer"})],Oy);
var iOa;
var jOa;
var kOa;
var lOa;
var mOa=function(){return _.K.apply(this,arguments)||this};
_.q(mOa,_.K);
_.t.Object.defineProperties(mOa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lOa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-title-and-button-list-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_title_and_button_list_header_renderer.ytd.title.and.button.list.header.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kOa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_title_and_button_list_header_renderer.ytd.title.and.button.list.header.renderer.css.js--\x3e<style>:host {display: block;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} /*# sourceMappingURL=ytd-title-and-button-list-header-renderer.css.map*/</style>';
kOa=d}d=kOa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lOa=a}a=lOa;return a}}});
var Py=mOa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Py.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Py.prototype,"data",void 0);Py=_.S([_.Q({asyncProperties:!0,is:"ytd-title-and-button-list-header-renderer"})],Py);
var Qy=function(){var a=_.K.apply(this,arguments)||this;a.isSearch=!1;return a};
_.q(Qy,_.K);_.f=Qy.prototype;
_.f.configureRendererStamper=function(){return{shownItems:{id:"items",mapping:{searchRefinementCardRenderer:"ytd-search-refinement-card-renderer",compactChannelRecommendationCardRenderer:"ytd-compact-channel-recommendation-card-renderer",videoCardRenderer:"ytd-grid-video-renderer",gameCardRenderer:"ytd-game-card-renderer",infoPanelContentRenderer:{component:"ytd-info-panel-content-renderer",params:{showVerticalDividers:!0}},previewCardRenderer:{component:"ytd-preview-card-renderer",properties:{isSearch:"[[isSearch]]"}},
macroMarkersListItemRenderer:"ytd-macro-markers-list-item-renderer"}},"data.header":{id:"header",mapping:{titleAndButtonListHeaderRenderer:"ytd-title-and-button-list-header-renderer",richListHeaderRenderer:{component:"ytd-rich-list-header-renderer",properties:{hideNavigationButton:"[[inlineStructuredDescription]]"}}}},"data.sortFilter":{id:"sort-filter",mapping:{sortFilterSubMenuRenderer:"yt-sort-filter-sub-menu-renderer"}},"data.button":{id:"header-button",mapping:{buttonRenderer:"ytd-button-renderer"}},
"data.previousButton":{id:"left-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundPrevClick]]"},attributes:{arrow:!0}}},initialRenderPriority:0,waitForSignal:"eocs"},"data.nextButton":{id:"right-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundNextClick]]"},attributes:{arrow:!0}}}}}};
_.f.getItemsPath=function(){return"data.cards"};
_.f.dataChanged=function(){this.ytdHorizontalListBehavior.reset()};
_.f.computeCardListStyle=function(a){return a||null};
_.f.computeEmpty=function(a){return!this.get("cards.length",a)};
_.f.computeThumbnailStyle=function(a){return this.get("header.richListHeaderRenderer.channelThumbnail.channelThumbnailWithLinkRenderer.style",a)||null};
_.f.computeHasSubtitle=function(a){return!!this.get("header.richListHeaderRenderer.subtitle",a)};
_.f.computeInitialCountNumber=function(a){return"HORIZONTAL_CARD_LIST_STYLE_TYPE_CHANNEL_SHELF"===a?6:"HORIZONTAL_CARD_LIST_STYLE_TYPE_INLINE_RECOMMENDATIONS"===a?8:"HORIZONTAL_CARD_LIST_STYLE_TYPE_NARROW_SHELF"===a?10:this.isSearch&&"HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION"===a?7:this.inlineStructuredDescription?6:4};
_.f.computeUseFloorScrolling=function(a){return"HORIZONTAL_CARD_LIST_STYLE_TYPE_RELATED_CHANNELS"===a};
_.f.computeHasGameCard=function(a){return(a=this.get("cards",a))?a.some(function(b){return b.gameCardRenderer}):!1};
_.f.computeHasInfoPanel=function(a){var b;return null==a?void 0:null==(b=a.cards)?void 0:b.some(function(c){return c.infoPanelContentRenderer})};
_.f.handleKeyDown=function(){this.ytdHorizontalListBehavior.fillRemainingListItems();this.ytRendererBehavior.markDirty()};
_.f.getItemByIndex=function(a){var b=this.$.items.children;return b&&b.length>a?b[a]:void 0};
_.t.Object.defineProperties(Qy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jOa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-horizontal-card-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_horizontal_card_list_renderer.ytd.horizontal.card.list.renderer.css.js--\x3e<div id="header-container">\n  <h2 id="header" hidden$="[[!data.header]]"></h2>\n  <div id="sort-filter"></div>\n  <div id="header-button"></div>\n</div>\n<div id="shelf-container">\n  <div id="left-arrow-container" class="arrow-container" hidden="[[atStart]]">\n    <div id="left-arrow" class="arrow center-aligned" on-click="prevClick_" hidden="[[data.previousButton]]">\n       <yt-icon icon="yt-icons:chevron_left"></yt-icon>\n    </div>\n    <div id="left-arrow-button" hidden="[[!data.previousButton]]"></div>\n  </div>\n  <div id="scroll-container" on-keydown="handleKeyDown">\n    <div id="items"></div>\n  </div>\n  <div id="right-arrow-container" class="arrow-container" hidden="[[atEnd]]">\n    <div id="right-arrow" class="arrow center-aligned" on-click="nextClick_" hidden="[[data.nextButton]]">\n       <yt-icon icon="yt-icons:chevron_right"></yt-icon>\n    </div>\n    <div id="right-arrow-button" hidden="[[!data.nextButton]]"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iOa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_horizontal_card_list_renderer.ytd.horizontal.card.list.renderer.css.js--\x3e<style>:host {display: block;position: relative;} #header-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #header {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} ytd-title-and-button-list-header-renderer {margin-bottom: 16px;} ytd-rich-list-header-renderer {margin: 16px 0;} ytd-preview-card-renderer {vertical-align: top;padding-right: 16px;margin-right: 16px;} ytd-preview-card-renderer:not(:last-child) {border-right: 1px solid var(--yt-spec-10-percent-layer);} #header-button {-ms-align-self: center;-webkit-align-self: center;align-self: center;} #shelf-container {position: relative;} #scroll-container {overflow: hidden;} #items {transition-duration: 0.15s;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;} ytd-search-refinement-card-renderer {padding-right: 4px;vertical-align: top;white-space: normal;} ytd-compact-channel-recommendation-card-renderer {padding-right: 4px;} ytd-grid-video-renderer {padding-right: 4px;vertical-align: top;display: inline-block;width: 210px;margin-bottom: 24px;} ytd-game-card-renderer {padding-right: 4px;width: 210px;margin-bottom: 24px;} ytd-info-panel-content-renderer {display: inline-block;width: 640px;white-space: normal;} #sort-filter {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .arrow-container {position: absolute;top: 0;bottom: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #left-arrow-container {left: -20px;} #right-arrow-container {right: -16px;} .arrow-container {z-index: 200;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_CHANNEL_SHELF]) .arrow-container {bottom: auto;height: 118px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_CHANNEL_SHELF][has-game-card]) .arrow-container {bottom: auto;height: 290px;} :host(:not([card-list-style])) .arrow-container {height: 90px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_CHANNEL_SHELF][has-game-card]) #items {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} .arrow,[arrow] {cursor: pointer;width: 40px;height: 40px;border-radius: 24px;background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-icon-inactive);box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);} .center-aligned {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-info-panel]) #items {background-color: var(--yt-spec-suggested-action);} ytd-macro-markers-list-item-renderer {display: inline-block;margin-right: var(--yt-macro-marker-list-item-margin-right,12px);vertical-align: bottom;} ytd-macro-markers-list-item-renderer:first-of-type {margin-left: var(--yt-macro-marker-list-first-item-margin-left,16px);} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION]) ytd-rich-list-header-renderer {width: calc(100% - 20px);margin: 0 4px 0 16px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION]) #right-arrow-container {right: 20px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION]) #left-arrow-container {left: 20px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION]) #items {max-height: 160px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION]) #header-container {margin-bottom: 4px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION][is-search]) #right-arrow-container {right: -16px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_ENGAGEMENT_PANEL_SECTION][is-search]) #left-arrow-container {left: -16px;} :host([inline-structured-description]) ytd-rich-list-header-renderer {margin-left: unset;margin-bottom: 12px;} :host([inline-structured-description]) ytd-macro-markers-list-item-renderer:first-of-type {margin-left: unset;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_VIDEO_CARD_ENGAGEMENT_PANEL_SECTION]) .arrow-container {height: 118px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_VIDEO_CARD_ENGAGEMENT_PANEL_SECTION]) #right-arrow-container {right: 8px;} :host([card-list-style=HORIZONTAL_CARD_LIST_STYLE_TYPE_VIDEO_CARD_ENGAGEMENT_PANEL_SECTION]) #left-arrow-container {left: 8px;} /*# sourceMappingURL=ytd-horizontal-card-list-renderer.css.map*/</style>";
iOa=d}d=iOa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jOa=a}a=jOa;return a}}});
var Ry=Qy;Ry.prototype.dataChanged=Ry.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Ry.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Ry.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.vy),_.T("design:type",Object)],Ry.prototype,"ytdHorizontalListBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Ry.prototype,"data",void 0);
_.S([_.N({computed:"computeInitialCountNumber(data.style.type)"}),_.T("design:type",Number)],Ry.prototype,"initialCount",void 0);_.S([_.N({computed:"computeUseFloorScrolling(data.style.type)"}),_.T("design:type",Boolean)],Ry.prototype,"useFloorScrolling",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeCardListStyle(data.style.type)"}),_.T("design:type",Object)],Ry.prototype,"cardListStyle",void 0);
_.S([_.N({value:!0,reflectToAttribute:!0,computed:"computeEmpty(data)"}),_.T("design:type",Boolean)],Ry.prototype,"empty",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasSubtitle(data)"}),_.T("design:type",Boolean)],Ry.prototype,"hasSubtitle",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeThumbnailStyle(data)"}),_.T("design:type",Boolean)],Ry.prototype,"thumbnailStyle",void 0);
_.S([_.N({readOnly:!0,reflectToAttribute:!0,computed:"computeHasGameCard(data)"}),_.T("design:type",Boolean)],Ry.prototype,"hasGameCard",void 0);_.S([_.N({readOnly:!0,reflectToAttribute:!0,computed:"computeHasInfoPanel(data)"}),_.T("design:type",Boolean)],Ry.prototype,"hasInfoPanel",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Ry.prototype,"isSearch",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],Ry.prototype,"inlineStructuredDescription",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Ry.prototype,"dataChanged",null);Ry=_.S([_.Q({is:"ytd-horizontal-card-list-renderer"})],Ry);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1s");

var uNa;
var vNa;
var dy=function(){var a=_.K.apply(this,arguments)||this;a.noEndpoints=!1;return a};
_.q(dy,_.K);_.f=dy.prototype;_.f.getMetadata=function(a){if(!a)return[];var b=[],c=a.shortViewCountText||a.viewCountText;c&&b.push(_.qi(c));a.publishedTimeText&&b.push(_.qi(a.publishedTimeText));a.upcomingEventData&&a.upcomingEventData.upcomingEventText&&b.push(_.Pv(_.qi(a.upcomingEventData.upcomingEventText),Number(a.upcomingEventData.startTime)));return b};
_.f.observeDataForBylineSeparator=function(){this.data&&this.toggleClass("byline-separated",0<this.getMetadata(this.data).length&&!this.data.ownerBadges)};
_.f.metadataColorChanged=function(){this.metadataColor||(this.metadataLine.style.color="");this.metadataLine.style.color=_.ru(this.metadataColor)};
_.f.getSimpleString=function(a){return _.qi(a)};
_.f.isBylineHidden=function(a){return this.noByline||!((null==a?0:a.longBylineText)||(null==a?0:a.shortBylineText))};
_.f.isLongByline=function(a,b){return b&&!(null==a||!a.longBylineText)};
_.t.Object.defineProperties(dy.prototype,{longBylineClass:{configurable:!0,enumerable:!0,get:function(){return this.longByline?"long-byline":""}},
bylineText:{configurable:!0,enumerable:!0,get:function(){if(this.data)return this.longByline?this.data.longBylineText:this.data.shortBylineText}}});
_.t.Object.defineProperties(dy,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-meta-block--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_video_meta_block.ytd.video.meta.block.css.js--\x3e\n<div id="metadata">\n  <div id="byline-container" hidden="[[isBylineHidden(data, radioMeta)]]">\n    <ytd-channel-name id="channel-name" class$="[[longBylineClass]]" badges="[[data.ownerBadges]]" channel-name="[[bylineText]]" no-endpoints="[[noEndpoints]]" wrap-text="[[longByline]]">\n    </ytd-channel-name>\n    <div id="separator">\u2022</div>\n  </div>\n  <div id="metadata-line">\n    <template is="dom-repeat" items="[[getMetadata(data)]]" strip-whitespace="">\n      <span>[[item]]</span>\n    </template>\n  </div>\n</div>\n<div id="additional-metadata-line">\n  <template is="dom-repeat" items="[[data.additionalMetadatas]]"><span>[[getSimpleString(item)]]</span></template>\n</div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uNa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_video_meta_block.ytd.video.meta.block.css.js--\x3e<style>@charset "UTF-8"; :host,[meta-block] {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(.grid) #metadata,:host(.compact) #metadata,[meta-block].grid #metadata,[meta-block].compact #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([watch-feed-big-thumbs].compact) {min-width: 0;} :host([watch-feed-big-thumbs].compact) #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(.light) #byline,[meta-block].light #byline {color: var(--yt-spec-text-secondary);} #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #additional-metadata-line>:not(:last-of-type):after {content: "\u2022";margin: 4px 4px 0;} #metadata-line {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));max-width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host(:not([rich-meta])) #metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([truncate-metadata-line]) #metadata-line {display: block;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;} #additional-metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host(:not([rich-meta])) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;} #byline-container {max-width: 100%;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([radio-meta]:not([rich-meta])) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([rich-meta]) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([rich-meta][radio-meta]) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([rich-meta]) #metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([rich-meta][mini-mode]) #byline-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([rich-meta][mini-mode]) #metadata-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -ms-flexbox;display: -webkit-flex;display: flex;} #separator {display: none;} :host([watch-feed-big-thumbs]:not(.grid).byline-separated) #separator,:host(:not(.grid):not(.compact).byline-separated) #separator,[meta-block]:not(.grid):not(.compact).byline-separated #separator {display: inline-block;color: var(--yt-spec-text-secondary);margin: 0 4px;} #channel-name {--ytd-channel-name-badges-margin-right: 8px;--ytd-channel-name-text-display: block;--ytd-channel-name-text-complex-display: flex;--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);max-width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #channel-name.long-byline {--ytd-channel-name-container-display: -webkit-box;--ytd-channel-name-text-display: -webkit-box;--ytd-channel-name-text-line-clamp: 2;--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #channel-name[verified] {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);margin-right: 8px;} #channel-name[verified].long-byline {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);} :host(.grid) #channel-name,[meta-block].grid #channel-name {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);} :host(.grid) #channel-name[verified],[meta-block].grid #channel-name[verified] {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);} #metadata-line>:not(:last-of-type):after {content: "\u2022";margin: 0 4px;} #metadata-line span {display: inline-block;} ytd-badge-supported-renderer {margin-right: 8px;} #video-badges {margin-top: 4px;} /*# sourceMappingURL=ytd-video-meta-block.css.map*/</style>';
uNa=d}d=uNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vNa=a}a=vNa;return a}}});
var ey=dy;ey.prototype.metadataColorChanged=ey.prototype.metadataColorChanged;ey.prototype.observeDataForBylineSeparator=ey.prototype.observeDataForBylineSeparator;_.S([_.N(),_.T("design:type",Object)],ey.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],ey.prototype,"noEndpoints",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],ey.prototype,"radioMeta",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],ey.prototype,"watchFeedBigThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],ey.prototype,"richMeta",void 0);_.S([_.N(),_.T("design:type",Boolean)],ey.prototype,"noByline",void 0);_.S([_.N({computed:"isLongByline(data, radioMeta)"}),_.T("design:type",Boolean)],ey.prototype,"longByline",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],ey.prototype,"truncateMetadataLine",void 0);
_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],ey.prototype,"miniMode",void 0);_.S([_.N(),_.T("design:type",Number)],ey.prototype,"metadataColor",void 0);_.S([_.Z("#metadata-line"),_.T("design:type",HTMLElement)],ey.prototype,"metadataLine",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ey.prototype,"observeDataForBylineSeparator",null);
_.S([_.P("metadataColor"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ey.prototype,"metadataColorChanged",null);_.S([_.V("longByline"),_.T("design:type",String),_.T("design:paramtypes",[])],ey.prototype,"longBylineClass",null);_.S([_.V("data","longByline"),_.T("design:type",Object),_.T("design:paramtypes",[])],ey.prototype,"bylineText",null);ey=_.S([_.Q({asyncProperties:!0,is:"ytd-video-meta-block"})],ey);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1r");

var hNa;
var iNa;
var jNa=function(){return _.K.apply(this,arguments)||this};
_.q(jNa,_.K);
_.t.Object.defineProperties(jNa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-custom-thumbnail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_custom_thumbnail_renderer.ytd.playlist.custom.thumbnail.renderer.css.js--\x3e<yt-img-shadow fit="[[watchFeedThumbnail]]" height="[[size]]" thumbnail="[[data.thumbnail]]" width="[[size]]">\n</yt-img-shadow>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_custom_thumbnail_renderer.ytd.playlist.custom.thumbnail.renderer.css.js--\x3e<style>:host {display: block;} :host([watch-feed-thumbnail]) {height: 100%;width: 67%;background-color: #000;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([watch-feed-thumbnail]) yt-img-shadow {height: 100%;width: 83.51%;} /*# sourceMappingURL=ytd-playlist-custom-thumbnail-renderer.css.map*/</style>";
hNa=d}d=hNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iNa=a}a=iNa;return a}}});
var Xx=jNa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Xx.prototype,"ytRendererBehavior",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],Xx.prototype,"watchFeedThumbnail",void 0);_.S([_.N(),_.T("design:type",Object)],Xx.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],Xx.prototype,"size",void 0);Xx=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-custom-thumbnail-renderer"})],Xx);
var kNa;
var lNa;
var mNa=function(){return _.K.apply(this,arguments)||this};
_.q(mNa,_.K);
_.t.Object.defineProperties(mNa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-video-thumbnail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_video_thumbnail_renderer.ytd.playlist.video.thumbnail.renderer.css.js--\x3e<yt-img-shadow ftl-eligible="" thumbnail="[[data.thumbnail]]" width="[[width]]">\n</yt-img-shadow>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_video_thumbnail_renderer.ytd.playlist.video.thumbnail.renderer.css.js--\x3e<style>:host {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} yt-img-shadow {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} /*# sourceMappingURL=ytd-playlist-video-thumbnail-renderer.css.map*/</style>";
kNa=d}d=kNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lNa=a}a=lNa;return a}}});
var Yx=mNa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Yx.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Yx.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],Yx.prototype,"width",void 0);Yx=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-video-thumbnail-renderer"})],Yx);
var nNa;
var oNa;
var pNa=function(){return _.K.apply(this,arguments)||this};
_.q(pNa,_.K);
_.t.Object.defineProperties(pNa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-show-custom-thumbnail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_show_custom_thumbnail_renderer.ytd.show.custom.thumbnail.renderer.css.js--\x3e<yt-img-shadow thumbnail="[[data.thumbnail]]" width="[[width]]">\n</yt-img-shadow>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_show_custom_thumbnail_renderer.ytd.show.custom.thumbnail.renderer.css.js--\x3e<style>:host {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} yt-img-shadow {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} /*# sourceMappingURL=ytd-show-custom-thumbnail-renderer.css.map*/</style>";
nNa=d}d=nNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oNa=a}a=oNa;return a}}});
var Zx=pNa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Zx.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Zx.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],Zx.prototype,"width",void 0);Zx=_.S([_.Q({asyncProperties:!0,is:"ytd-show-custom-thumbnail-renderer"})],Zx);
var qNa;
var rNa;
var $x=function(){return _.K.apply(this,arguments)||this};
_.q($x,_.K);$x.prototype.configureRendererStamper=function(){return{"data.primaryActionButton":{id:"primary-action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}},"data.secondaryActionButton":{id:"secondary-action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
$x.prototype.computeThumbnailOverlayResumePlaybackRenderer=function(a){if(this.hasPlaybackProgressBar)return{percentDurationWatched:a.percentDurationWatched}};
$x.prototype.computeHasPlaybackProgressBar=function(a){return!!a.percentDurationWatched&&0<a.percentDurationWatched};
_.t.Object.defineProperties($x,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-tvfilm-show-watch-forward-overlay-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_tvfilm_show_watch_forward_overlay_renderer.ytd.tvfilm.show.watch.forward.overlay.renderer.css.js--\x3e<div id="content-container">\n  <yt-formatted-string id="header" text="[[data.header]]"></yt-formatted-string>\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n  <div id="button-container">\n    <div id="primary-action-button-container">\n      <div id="primary-action-button" role="button"></div>\n      <ytd-thumbnail-overlay-resume-playback-renderer id="playback-progress" data="[[computeThumbnailOverlayResumePlaybackRenderer(data)]]" hidden="[[!hasPlaybackProgressBar]]">\n      </ytd-thumbnail-overlay-resume-playback-renderer>\n    </div>\n    <div id="secondary-action-button" role="button"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qNa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_tvfilm_show_watch_forward_overlay_renderer.ytd.tvfilm.show.watch.forward.overlay.renderer.css.js--\x3e<style>:host {position: absolute;width: 100%;height: 100%;background-color: var(--yt-spec-static-overlay-background-medium);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #content-container {margin-left: 24px;margin-bottom: 25px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {color: var(--yt-spec-static-overlay-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #title {color: var(--yt-spec-static-overlay-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #subtitle {color: var(--yt-spec-static-overlay-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #button-container {margin-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #secondary-action-button {margin-left: 8px;color: var(--yt-spec-static-brand-white);} #secondary-action-button>ytd-button-renderer {color: var(--yt-spec-static-brand-white);} #primary-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([has-playback-progress-bar]) #primary-action-button>ytd-button-renderer {border-radius: 2px 2px 0px 0px;border-width: 1px 1px 0px;} :host(:not([has-playback-progress-bar])) #primary-action-button>ytd-button-renderer {border-radius: 2px;} ytd-thumbnail-overlay-resume-playback-renderer {position: static;background-color: var(--yt-spec-static-brand-white);border-radius: 0px 0px 2px 2px;} /*# sourceMappingURL=ytd-tvfilm-show-watch-forward-overlay-renderer.css.map*/</style>';
qNa=d}d=qNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rNa=a}a=rNa;return a}}});
var ay=$x;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ay.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],ay.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ay.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasPlaybackProgressBar(data)"}),_.T("design:type",Boolean)],ay.prototype,"hasPlaybackProgressBar",void 0);
ay=_.S([_.Q({asyncProperties:!0,is:"ytd-tvfilm-show-watch-forward-overlay-renderer"})],ay);
var sNa;
var tNa;
var by=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-miniplayer-endpoint-changed":"checkMiniplayer_"};return a};
_.q(by,_.K);
by.prototype.configureRendererStamper=function(){return{"data.thumbnailOverlays":{id:"overlays",mapping:{thumbnailOverlayBottomPanelRenderer:"ytd-thumbnail-overlay-bottom-panel-renderer",thumbnailOverlayPlaybackStatusRenderer:"ytd-thumbnail-overlay-playback-status-renderer",thumbnailOverlayResumePlaybackRenderer:"ytd-thumbnail-overlay-resume-playback-renderer",thumbnailOverlaySidePanelRenderer:{component:"ytd-thumbnail-overlay-side-panel-renderer",properties:{width:"[[thumbnailOverlaySidePanelWidth_]]",bottomPanel:"[[bottomSidePanel]]",
watchFeedOverlay:"[[watchFeedThumbnail]]"}},thumbnailOverlayTimeStatusRenderer:"ytd-thumbnail-overlay-time-status-renderer",thumbnailOverlayNowPlayingRenderer:"ytd-thumbnail-overlay-now-playing-renderer",tvfilmShowWatchForwardOverlayRenderer:"ytd-tvfilm-show-watch-forward-overlay-renderer"}},hoverOverlays_:{id:"hover-overlays",mapping:{thumbnailOverlayHoverTextRenderer:"ytd-thumbnail-overlay-hover-text-renderer"}},"data.thumbnailRenderer":{id:"playlist-thumbnails",mapping:{playlistVideoThumbnailRenderer:{component:"ytd-playlist-video-thumbnail-renderer",
properties:{width:"[[width]]"}},playlistCustomThumbnailRenderer:{component:"ytd-playlist-custom-thumbnail-renderer",properties:{size:"[[customThumbnailSize]]",watchFeedThumbnail:"[[watchFeedThumbnail]]"}},showCustomThumbnailRenderer:{component:"ytd-show-custom-thumbnail-renderer",properties:{width:"[[width]]"}}}}}};
_.t.Object.defineProperties(by,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tNa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-thumbnail--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_playlist_thumbnail.ytd.playlist.thumbnail.css.js--\x3e<a id="thumbnail" class="yt-simple-endpoint" aria-hidden="[[hideAria]]" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" tabindex="-1">\n  <div id="playlist-thumbnails"></div>\n  <yt-formatted-string id="length" hidden="[[!data.lengthText]]" text="[[data.lengthText]]">\n  </yt-formatted-string>\n  <div id="overlays"></div>\n  <div id="hover-overlays"></div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sNa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_playlist_thumbnail.ytd.playlist.thumbnail.css.js--\x3e<style>:host {display: block;position: relative;-ms-flex: none;-webkit-flex: none;flex: none;} ytd-thumbnail-overlay-hover-text-renderer {opacity: 1;} #length {position: absolute;bottom: 0;right: 0;margin: 4px;color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-static-overlay-background-heavy);padding: 3px 4px;height: 12px;border-radius: 2px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);letter-spacing: var(--yt-badge-letter-spacing,0.5px);} :host #thumbnail {height: 100%;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host #thumbnail yt-img-shadow {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} :host {display: block;} :host([now-playing]) ytd-thumbnail-overlay-now-playing-renderer {opacity: 1;} #thumbnail,#playlist-thumbnails {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} /*# sourceMappingURL=ytd-playlist-thumbnail.css.map*/</style>";
sNa=d}d=sNa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tNa=a}a=tNa;return a}}});
var cy=by;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],cy.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],cy.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.ZIa),_.T("design:type",Object)],cy.prototype,"ytdThumbnailBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],cy.prototype,"componentBehavior",void 0);
_.S([_.N({value:!1}),_.T("design:type",Boolean)],cy.prototype,"watchFeedThumbnail",void 0);_.S([_.N(),_.T("design:type",Number)],cy.prototype,"customThumbnailSize",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],cy.prototype,"hideAria",void 0);_.S([_.N(),_.T("design:type",Object)],cy.prototype,"data",void 0);cy=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-thumbnail"})],cy);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syi");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var HLa;HLa=_.Pi(['\n    <style>\n      :host {\n        display: inline-block;\n        position: fixed;\n        clip: rect(0px,0px,0px,0px);\n      }\n    </style>\n    <div aria-live$="[[mode]]">[[_text]]</div>\n']);_.px=function(){};
_.px=_.Ng({_template:_.Vm(HLa),is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},timeout:{type:Number,value:150},_text:{type:String,value:""}},created:function(){_.px.instance||(_.px.instance=this);document.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},
announce:function(a){this._text="";this.async(function(){this._text=a},this.timeout)},
_onIronAnnounce:function(a){a.detail&&a.detail.text&&this.announce(a.detail.text)}});
_.px.instance=null;_.px.requestAvailability=function(){_.px.instance||(_.px.instance=document.createElement("iron-a11y-announcer"));document.body?document.body.appendChild(_.px.instance):document.addEventListener("load",function(){document.body.appendChild(_.px.instance)})};
_.qx={properties:{name:{type:String},value:{notify:!0,type:String},required:{type:Boolean,value:!1}},attached:function(){},
detached:function(){}};
var ILa;ILa=null;_.rx={properties:{validator:{type:String},invalid:{notify:!0,reflectToAttribute:!0,type:Boolean,value:!1,observer:"_invalidChanged"}},registered:function(){ILa=new _.au({type:"validator"})},
_invalidChanged:function(){this.invalid?this.setAttribute("aria-invalid","true"):this.removeAttribute("aria-invalid")},
get _validator(){return ILa&&ILa.byKey(this.validator)},hasValidator:function(){return null!=this._validator},
validate:function(a){this.invalid=void 0===a&&void 0!==this.value?!this._getValidity(this.value):!this._getValidity(a);return!this.invalid},
_getValidity:function(a){return this.hasValidator()?this._validator.validate(a):!0}};
var JLa=_.Pi(['\n    <style>\n      :host {\n        display: inline-block;\n      }\n    </style>\n    <slot id="content"></slot>\n']);
_.Ng({_template:_.Vm(JLa),is:"iron-input",behaviors:[_.rx],properties:{bindValue:{type:String,value:""},value:{type:String,computed:"_computeValue(bindValue)"},allowedPattern:{type:String},autoValidate:{type:Boolean,value:!1},_inputElement:Object},observers:["_bindValueChanged(bindValue, _inputElement)"],listeners:{input:"_onInput",keypress:"_onKeypress"},created:function(){_.px.requestAvailability();this._previousValidInput="";this._patternAlreadyChecked=!1},
attached:function(){this._observer=_.H(this).observeNodes(function(){this._initSlottedInput()}.bind(this))},
detached:function(){this._observer&&(_.H(this).unobserveNodes(this._observer),this._observer=null)},
get inputElement(){return this._inputElement},_initSlottedInput:function(){this._inputElement=this.getEffectiveChildren()[0];this.inputElement&&this.inputElement.value&&(this.bindValue=this.inputElement.value);this.fire("iron-input-ready")},
get _patternRegExp(){if(this.allowedPattern)var a=new RegExp(this.allowedPattern);else switch(this.inputElement.type){case "number":a=/[0-9.,e-]/}return a},_bindValueChanged:function(a,b){b&&(void 0===a?b.value=null:a!==b.value&&(this.inputElement.value=a),this.autoValidate&&this.validate(),this.fire("bind-value-changed",{value:a}))},
_onInput:function(){!this.allowedPattern||this._patternAlreadyChecked||this._checkPatternValidity()||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.inputElement.value=this._previousValidInput);this.bindValue=this._previousValidInput=this.inputElement.value;this._patternAlreadyChecked=!1},
_isPrintable:function(a){var b=19==a.keyCode||20==a.keyCode||45==a.keyCode||46==a.keyCode||144==a.keyCode||145==a.keyCode||32<a.keyCode&&41>a.keyCode||111<a.keyCode&&124>a.keyCode;return!(8==a.keyCode||9==a.keyCode||13==a.keyCode||27==a.keyCode)&&!(0==a.charCode&&b)},
_onKeypress:function(a){if(this.allowedPattern||"number"===this.inputElement.type){var b=this._patternRegExp;if(b&&!(a.metaKey||a.ctrlKey||a.altKey)){this._patternAlreadyChecked=!0;var c=String.fromCharCode(a.charCode);this._isPrintable(a)&&!b.test(c)&&(a.preventDefault(),this._announceInvalidCharacter("Invalid character "+c+" not entered."))}}},
_checkPatternValidity:function(){var a=this._patternRegExp;if(!a)return!0;for(var b=0;b<this.inputElement.value.length;b++)if(!a.test(this.inputElement.value[b]))return!1;return!0},
validate:function(){if(!this.inputElement)return this.invalid=!1,!0;var a=this.inputElement.checkValidity();a&&(this.required&&""===this.bindValue?a=!1:this.hasValidator()&&(a=_.rx.validate.call(this,this.bindValue)));this.invalid=!a;this.fire("iron-input-validate");return a},
_announceInvalidCharacter:function(a){this.fire("iron-announce",{text:a})},
_computeValue:function(a){return a}});
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var KLa,LLa,MLa;KLa=1;LLa=1;MLa=1;
_.NLa=[_.Ys,_.Xs,{properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,
value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},
_ariaLabelledBy:{type:String,value:""},_inputId:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){this.$||(this.$={});this.$.input||(this._generateInputId(),this.$.input=this.$$("#"+this._inputId));return this.$.input},get _focusableElement(){return this.inputElement},created:function(){this._typesThatHaveText="date datetime datetime-local month time week file".split(" ")},
attached:function(){this._updateAriaLabelledBy();!_.Wm&&this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.inputElement.type)&&(this.alwaysFloatLabel=!0)},
_appendStringWithSpace:function(a,b){a?a=a+" "+b:a=b;return a},
_onAddonAttached:function(a){a=_.H(a).rootTarget;if(a.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,a.id);else{var b="paper-input-add-on-"+LLa++;a.id=b;this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,b)}},
validate:function(){return this.inputElement.validate()},
_focusBlurHandler:function(a){_.Ys._focusBlurHandler.call(this,a);this.focused&&!this._shiftTabPressed&&this._focusableElement&&this._focusableElement.focus()},
_onShiftTabDown:function(){var a=this.getAttribute("tabindex");this._shiftTabPressed=!0;this.setAttribute("tabindex","-1");this.async(function(){this.setAttribute("tabindex",a);this._shiftTabPressed=!1},1)},
_handleAutoValidate:function(){this.autoValidate&&this.validate()},
updateValueAndPreserveCaret:function(a){try{var b=this.inputElement.selectionStart;this.value=a;this.inputElement.selectionStart=b;this.inputElement.selectionEnd=b}catch(c){this.value=a}},
_computeAlwaysFloatLabel:function(a,b){return b||a},
_updateAriaLabelledBy:function(){var a=_.H(this.root).querySelector("label");if(a){if(a.id)var b=a.id;else b="paper-input-label-"+KLa++,a.id=b;this._ariaLabelledBy=b}else this._ariaLabelledBy=""},
_generateInputId:function(){this._inputId&&""!==this._inputId||(this._inputId="input-"+MLa++)},
_onChange:function(a){this.shadowRoot&&this.fire(a.type,{sourceEvent:a},{node:this,bubbles:a.bubbles,cancelable:a.cancelable})},
_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var a=document.activeElement;a instanceof HTMLElement&&a!==document.body&&a!==document.documentElement||this._focusableElement.focus()}}}];
var OLa={attached:function(){this.fire("addon-attached")},
update:function(){}};
var PLa;
var QLa;
_.Ng({_template:function(){if(void 0!==QLa)return QLa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-input-char-counter--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.char.counter.css.js--\x3e<span>[[_charCounterStr]]</span>\n";var b=a.content,c=b.insertBefore;if(void 0===PLa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.char.counter.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: inline-block;\n  float: right;\n  font-family: "Roboto", "Noto", sans-serif;\n  -webkit-font-smoothing: antialiased;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-size: 12px;\n  font-weight: 400;\n  letter-spacing: 0.011em;\n  line-height: 20px;\n  @apply --paper-input-char-counter;\n}\n\n:host([hidden]) {\n  display: none !important;\n}\n\n:host(:dir(rtl)) {\n  float: left;\n}\n\n/*# sourceMappingURL=tp-yt-paper-input-char-counter.css.map */</style>';
PLa=d}d=PLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return QLa=a},
is:"tp-yt-paper-input-char-counter",behaviors:[OLa],properties:{_charCounterStr:{type:String,value:"0"}},update:function(a){if(a.inputElement){a.value=a.value||"";var b=a.value.toString().length.toString();a.inputElement.hasAttribute("maxlength")&&(b+="/"+a.inputElement.getAttribute("maxlength"));this._charCounterStr=b}}});
var RLa;
var SLa;
_.Ng({_template:function(){if(void 0!==SLa)return SLa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-input-error--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.error.css.js--\x3e\n<div id="a11yWrapper">\n  <slot></slot>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===RLa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.error.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: inline-block;\n  visibility: hidden;\n  color: var(--paper-input-container-invalid-color, var(--error-color));\n  font-family: "Roboto", "Noto", sans-serif;\n  -webkit-font-smoothing: antialiased;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-size: 12px;\n  font-weight: 400;\n  letter-spacing: 0.011em;\n  line-height: 20px;\n  @apply --paper-input-error;\n  position: absolute;\n  left: 0;\n  right: 0;\n}\n\n:host([invalid]) {\n  visibility: visible;\n}\n\n#a11yWrapper {\n  visibility: hidden;\n}\n\n:host([invalid]) #a11yWrapper {\n  visibility: visible;\n}\n\n/*# sourceMappingURL=tp-yt-paper-input-error.css.map */</style>';
RLa=d}d=RLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return SLa=a},
is:"tp-yt-paper-input-error",behaviors:[OLa],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(a){this._setInvalid(a.invalid)}});
var TLa;
var ULa;
_.Ng({is:"tp-yt-paper-input",_template:function(){if(void 0!==ULa)return ULa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-input--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.css.js--\x3e<tp-yt-paper-input-container id="container" no-label-float="[[noLabelFloat]]" always-float-label="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]" no-unfloated-label-error="[[noUnfloatedLabelError]]">\n  <slot name="prefix" slot="prefix"></slot>\n\n  <label hidden$="[[!label]]" aria-hidden="true" for$="[[_inputId]]" slot="label">[[label]]</label>\n\n  \n  <iron-input bind-value="{{value}}" slot="input" class="input-element" id$="[[_inputId]]" maxlength$="[[maxlength]]" allowed-pattern="[[allowedPattern]]" invalid="{{invalid}}" validator="[[validator]]">\n    <input aria-labelledby$="[[_ariaLabelledBy]]" aria-describedby$="[[_ariaDescribedBy]]" disabled$="[[disabled]]" title$="[[title]]" type$="[[type]]" pattern$="[[pattern]]" required$="[[required]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" minlength$="[[minlength]]" maxlength$="[[maxlength]]" min$="[[min]]" max$="[[max]]" step$="[[step]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" list$="[[list]]" size$="[[size]]" autocapitalize$="[[autocapitalize]]" autocorrect$="[[autocorrect]]" on-change="_onChange" tabindex$="[[tabIndex]]" autosave$="[[autosave]]" results$="[[results]]" accept$="[[accept]]" multiple$="[[multiple]]" role$="[[inputRole]]" aria-haspopup$="[[inputAriaHaspopup]]">\n  </iron-input>\n\n  <slot name="suffix" slot="suffix"></slot>\n\n  <template is="dom-if" if="[[errorMessage]]">\n    <tp-yt-paper-input-error aria-live="assertive" slot="add-on">[[errorMessage]]</tp-yt-paper-input-error>\n  </template>\n\n  <template is="dom-if" if="[[charCounter]]">\n    <tp-yt-paper-input-char-counter slot="add-on"></tp-yt-paper-input-char-counter>\n  </template>\n</tp-yt-paper-input-container>\n';
var b=a.content,c=b.insertBefore;if(void 0===TLa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.input.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n}\n\n:host([focused]) {\n  outline: none;\n}\n\n:host([hidden]) {\n  display: none !important;\n}\n\ninput {\n  min-width: 0;\n  -moz-appearance: var(--paper-input-input-moz-appearance) !important;\n}\n\niron-input > input {\n  @apply --paper-input-container-shared-input-style;\n  font-family: inherit;\n  font-weight: inherit;\n  font-size: inherit;\n  letter-spacing: inherit;\n  word-spacing: inherit;\n  line-height: inherit;\n  text-shadow: inherit;\n  color: inherit;\n  cursor: inherit;\n}\n\ninput::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button {\n  -webkit-appearance: var(--paper-input-container-input-webkit-spinner--webkit-appearance);\n  display: var(--paper-input-container-input-webkit-spinner-display);\n}\n\ninput::-webkit-input-placeholder {\n  color: var(--paper-input-container-color, var(--secondary-text-color));\n}\n\ninput:-moz-placeholder {\n  color: var(--paper-input-container-color, var(--secondary-text-color));\n}\n\ninput::-moz-placeholder {\n  color: var(--paper-input-container-color, var(--secondary-text-color));\n}\n\ninput::-ms-clear {\n  display: var(--paper-input-container-ms-clear-display);\n}\n\ninput:-ms-input-placeholder {\n  color: var(--paper-input-container-color, var(--secondary-text-color));\n}\n\nlabel {\n  pointer-events: none;\n}\n\n/*# sourceMappingURL=tp-yt-paper-input.css.map */</style>";
TLa=d}d=TLa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return ULa=a},
behaviors:[_.NLa,_.qx],properties:{value:{type:String},noUnfloatedLabelError:{type:Boolean,value:!1},inputRole:{type:String,value:void 0},inputAriaHaspopup:{type:String,value:void 0}},get _focusableElement(){return this.inputElement._inputElement},listeners:{"iron-input-ready":"_onIronInputReady"},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$("input"));this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0);this.inputElement.bindValue&&
this.$.container._handleValueAndAutoValidate(this.inputElement)}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy9");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy8");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.nx=function(a,b,c){if(!b&&!c)return null;var d=b?String(b).toUpperCase():null;return _.hf(a,function(e){return(!d||e.nodeName==d)&&(!c||"string"===typeof e.className&&_.ha(e.className.split(/\s+/),c))},!0)};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1m");

_.sE=function(a,b){var c=_.hh,d=a(c.getState());return c.subscribe(function(){var e=a(c.getState());if(e!==d){var h=d;d=e;b(e,h)}})};
_.tE={YtPlayerListenerBehavior:{created:function(){this.playerListeners_=new Map},
getPlayerListenerKey_:function(a,b){return a+":"+_.qa(b)},
getPlayerListener_:function(a,b,c){a=this.getPlayerListenerKey_(a,b);b=this.playerListeners_.get(a);c&&this.playerListeners_.delete(a);return b},
savePlayerListener_:function(a,b){var c=b.bind(this);this.playerListeners_.set(this.getPlayerListenerKey_(a,b),c);return c},
listenToPlayerEvent:function(a,b,c){c=this.savePlayerListener_(b,c);a.addEventListener(b,c)},
listenToPlayerEvents:function(a,b){b.forEach(function(c,d){this.listenToPlayerEvent(a,d,c)}.bind(this))},
unlistenFromPlayerEvent:function(a,b,c){c=this.getPlayerListener_(b,c,!0);a.removeEventListener(b,c)},
unlistenFromPlayerEvents:function(a,b){b.forEach(function(c,d){this.unlistenFromPlayerEvent(a,d,c)}.bind(this))}}};
_.uE=function(){};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy14");

var YVa;
var ZVa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==ZVa)return ZVa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-spinner--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_spinner.tp.yt.paper.spinner.css.js--\x3e<div id="spinnerContainer" class-name="[[__computeContainerClasses(active, __coolingDown)]]" on-animationend="__reset" on-webkit-animation-end="__reset"><div class="spinner-layer layer-1"><div class="circle-clipper left"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div><div class="spinner-layer layer-2"><div class="circle-clipper left"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div><div class="spinner-layer layer-3"><div class="circle-clipper left"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div><div class="spinner-layer layer-4"><div class="circle-clipper left"><div class="circle"></div></div><div class="circle-clipper right"><div class="circle"></div></div></div></div>';
var b=a.content,c=b.insertBefore;if(void 0===YVa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_spinner.tp.yt.paper.spinner.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n  position: relative;\n  width: 28px;\n  height: 28px;\n  --paper-spinner-container-rotation-duration: 1568ms;\n  --paper-spinner-expand-contract-duration: 1333ms;\n  --paper-spinner-full-cycle-duration: 5332ms;\n  --paper-spinner-cooldown-duration: 400ms;\n}\n\n#spinnerContainer {\n  width: 100%;\n  height: 100%;\n  direction: ltr;\n}\n\n#spinnerContainer.active {\n  -webkit-animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite;\n  animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite;\n}\n\n@-webkit-keyframes container-rotate {\n  to {\n    -webkit-transform: rotate(360deg);\n  }\n}\n@keyframes container-rotate {\n  to {\n    transform: rotate(360deg);\n  }\n}\n.spinner-layer {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  opacity: 0;\n  white-space: nowrap;\n  color: var(--paper-spinner-color, #4285f4);\n}\n\n.layer-1 {\n  color: var(--paper-spinner-layer-1-color, #4285f4);\n}\n\n.layer-2 {\n  color: var(--paper-spinner-layer-2-color, #db4437);\n}\n\n.layer-3 {\n  color: var(--paper-spinner-layer-3-color, #f4b400);\n}\n\n.layer-4 {\n  color: var(--paper-spinner-layer-4-color, #0f9d58);\n}\n\n.active .spinner-layer {\n  -webkit-animation-name: fill-unfill-rotate;\n  -webkit-animation-duration: var(--paper-spinner-full-cycle-duration);\n  -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  -webkit-animation-iteration-count: infinite;\n  animation-name: fill-unfill-rotate;\n  animation-duration: var(--paper-spinner-full-cycle-duration);\n  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  animation-iteration-count: infinite;\n  opacity: 1;\n}\n\n.active .spinner-layer.layer-1 {\n  -webkit-animation-name: fill-unfill-rotate, layer-1-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-1-fade-in-out;\n}\n\n.active .spinner-layer.layer-2 {\n  -webkit-animation-name: fill-unfill-rotate, layer-2-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-2-fade-in-out;\n}\n\n.active .spinner-layer.layer-3 {\n  -webkit-animation-name: fill-unfill-rotate, layer-3-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-3-fade-in-out;\n}\n\n.active .spinner-layer.layer-4 {\n  -webkit-animation-name: fill-unfill-rotate, layer-4-fade-in-out;\n  animation-name: fill-unfill-rotate, layer-4-fade-in-out;\n}\n\n@-webkit-keyframes fill-unfill-rotate {\n  12.5% {\n    -webkit-transform: rotate(135deg);\n  }\n  25% {\n    -webkit-transform: rotate(270deg);\n  }\n  37.5% {\n    -webkit-transform: rotate(405deg);\n  }\n  50% {\n    -webkit-transform: rotate(540deg);\n  }\n  62.5% {\n    -webkit-transform: rotate(675deg);\n  }\n  75% {\n    -webkit-transform: rotate(810deg);\n  }\n  87.5% {\n    -webkit-transform: rotate(945deg);\n  }\n  to {\n    -webkit-transform: rotate(1080deg);\n  }\n}\n@keyframes fill-unfill-rotate {\n  12.5% {\n    transform: rotate(135deg);\n  }\n  25% {\n    transform: rotate(270deg);\n  }\n  37.5% {\n    transform: rotate(405deg);\n  }\n  50% {\n    transform: rotate(540deg);\n  }\n  62.5% {\n    transform: rotate(675deg);\n  }\n  75% {\n    transform: rotate(810deg);\n  }\n  87.5% {\n    transform: rotate(945deg);\n  }\n  to {\n    transform: rotate(1080deg);\n  }\n}\n@-webkit-keyframes layer-1-fade-in-out {\n  0% {\n    opacity: 1;\n  }\n  25% {\n    opacity: 1;\n  }\n  26% {\n    opacity: 0;\n  }\n  89% {\n    opacity: 0;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 1;\n  }\n}\n@keyframes layer-1-fade-in-out {\n  0% {\n    opacity: 1;\n  }\n  25% {\n    opacity: 1;\n  }\n  26% {\n    opacity: 0;\n  }\n  89% {\n    opacity: 0;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 1;\n  }\n}\n@-webkit-keyframes layer-2-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  15% {\n    opacity: 0;\n  }\n  25% {\n    opacity: 1;\n  }\n  50% {\n    opacity: 1;\n  }\n  51% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes layer-2-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  15% {\n    opacity: 0;\n  }\n  25% {\n    opacity: 1;\n  }\n  50% {\n    opacity: 1;\n  }\n  51% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@-webkit-keyframes layer-3-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  40% {\n    opacity: 0;\n  }\n  50% {\n    opacity: 1;\n  }\n  75% {\n    opacity: 1;\n  }\n  76% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes layer-3-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  40% {\n    opacity: 0;\n  }\n  50% {\n    opacity: 1;\n  }\n  75% {\n    opacity: 1;\n  }\n  76% {\n    opacity: 0;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@-webkit-keyframes layer-4-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  65% {\n    opacity: 0;\n  }\n  75% {\n    opacity: 1;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes layer-4-fade-in-out {\n  0% {\n    opacity: 0;\n  }\n  65% {\n    opacity: 0;\n  }\n  75% {\n    opacity: 1;\n  }\n  90% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n.circle-clipper {\n  display: inline-block;\n  position: relative;\n  width: 50%;\n  height: 100%;\n  overflow: hidden;\n}\n\n.spinner-layer::after {\n  content: "";\n  left: 45%;\n  width: 10%;\n  border-top-style: solid;\n}\n\n.spinner-layer::after,\n.circle-clipper .circle {\n  box-sizing: border-box;\n  position: absolute;\n  top: 0;\n  border-width: var(--paper-spinner-stroke-width, 3px);\n  border-radius: 50%;\n}\n\n.circle-clipper .circle {\n  bottom: 0;\n  width: 200%;\n  border-style: solid;\n  border-bottom-color: transparent !important;\n}\n\n.circle-clipper.left .circle {\n  left: 0;\n  border-right-color: transparent !important;\n  -webkit-transform: rotate(129deg);\n  transform: rotate(129deg);\n}\n\n.circle-clipper.right .circle {\n  left: -100%;\n  border-left-color: transparent !important;\n  -webkit-transform: rotate(-129deg);\n  transform: rotate(-129deg);\n}\n\n.active .gap-patch::after,\n.active .circle-clipper .circle {\n  -webkit-animation-duration: var(--paper-spinner-expand-contract-duration);\n  -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  -webkit-animation-iteration-count: infinite;\n  animation-duration: var(--paper-spinner-expand-contract-duration);\n  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  animation-iteration-count: infinite;\n}\n\n.active .circle-clipper.left .circle {\n  -webkit-animation-name: left-spin;\n  animation-name: left-spin;\n}\n\n.active .circle-clipper.right .circle {\n  -webkit-animation-name: right-spin;\n  animation-name: right-spin;\n}\n\n@-webkit-keyframes left-spin {\n  0% {\n    -webkit-transform: rotate(130deg);\n  }\n  50% {\n    -webkit-transform: rotate(-5deg);\n  }\n  to {\n    -webkit-transform: rotate(130deg);\n  }\n}\n@keyframes left-spin {\n  0% {\n    transform: rotate(130deg);\n  }\n  50% {\n    transform: rotate(-5deg);\n  }\n  to {\n    transform: rotate(130deg);\n  }\n}\n@-webkit-keyframes right-spin {\n  0% {\n    -webkit-transform: rotate(-130deg);\n  }\n  50% {\n    -webkit-transform: rotate(5deg);\n  }\n  to {\n    -webkit-transform: rotate(-130deg);\n  }\n}\n@keyframes right-spin {\n  0% {\n    transform: rotate(-130deg);\n  }\n  50% {\n    transform: rotate(5deg);\n  }\n  to {\n    transform: rotate(-130deg);\n  }\n}\n#spinnerContainer.cooldown {\n  -webkit-animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite, fade-out var(--paper-spinner-cooldown-duration) cubic-bezier(0.4, 0, 0.2, 1);\n  animation: container-rotate var(--paper-spinner-container-rotation-duration) linear infinite, fade-out var(--paper-spinner-cooldown-duration) cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n@-webkit-keyframes fade-out {\n  0% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n@keyframes fade-out {\n  0% {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n  }\n}\n\n/*# sourceMappingURL=tp-yt-paper-spinner.css.map */</style>';
YVa=d}d=YVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return ZVa=a},
is:"tp-yt-paper-spinner",behaviors:[_.cFa]});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy5");

var $Va;_.kD=function(a,b){return a.replace($Va,function(c,d){try{var e=_.u.get(b,d);if(null==e||null==e.toString())return c;e=e.toString();if(""==e||!_.lj(null==e?"":String(e)))return encodeURIComponent(e).replace(/%2C/g,",")}catch(h){}return c})};
_.aWa=function(a){return function(){return a}};
$Va=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1");

var pOa,Ty,rOa,sOa,tOa,uOa,vOa,qOa,yOa,wOa,xOa,zOa,AOa,BOa,COa,DOa,ez,fz,HOa,JOa,KOa,hz,NOa,iz,OOa,jz,POa,QOa,ROa,kz,SOa,TOa,lz,mz,UOa,VOa,oz,pz,WOa,XOa,YOa,ZOa,$Oa,aPa,bPa,cPa,dPa,Bz,ePa,fPa,gPa,hPa,iPa,Cz,jPa,kPa,lPa,mPa,nPa,oPa,pPa,Ez,Gz,Hz,sPa,Iz,Kz,uPa,Mz,Oz,Qz;pOa=function(a){for(var b="string"===typeof a?a.split(""):a,c=a.length-1;0<=c;c--)if(c in b&&_.ej.call(void 0,b[c],c,a))return c;return-1};
Ty=function(a){this.action=a;this.wfv=!1};
rOa=function(){var a=new Uy,b=new Vy;_.Wj(b,1,"root");var c=qOa();_.eb(b,3,c);_.Wy(b,4,1);_.eb(a,3,b);_.Wy(a,1,2);Xy(a,"My Drive");return a};
sOa=function(){var a=new Uy,b=new Vy;_.Yy(b,5,!0);var c=qOa();_.Wy(c,1,7);c.setDirection(2);_.eb(b,3,c);_.Wy(b,4,1);_.eb(a,3,b);_.Wy(a,1,2);Xy(a,"Shared with me");return a};
tOa=function(){var a=new Uy,b=new Vy,c=new Zy;_.Wy(c,1,10);c.setDirection(2);_.eb(b,3,c);_.Wy(b,4,1);_.eb(a,3,b);_.Wy(a,1,2);Xy(a,"Recent");return a};
uOa=function(){var a=new Uy,b=new Vy;_.Yy(b,7,!0);var c=qOa();_.eb(b,3,c);_.Wy(b,4,1);_.eb(a,3,b);_.Wy(a,1,2);Xy(a,"Starred");return a};
vOa=function(){var a=new Uy,b=new Vy;_.Yy(b,11,!0);_.eb(a,3,b);_.Wy(a,1,2);Xy(a,"Shared drives");return a};
qOa=function(){var a=new Zy;_.Wy(a,1,4);a.setDirection(1);return a};
yOa=function(){var a=new $y;az(a,wOa());az(a,xOa());return a};
wOa=function(){var a=new Uy,b=new bz;_.Wy(b,3,1);_.Wy(b,2,1);_.Yy(b,5,!0);_.Yy(b,6,!1);_.eb(a,6,b);_.Wy(a,1,3);Xy(a,"Photos");return a};
xOa=function(){var a=new Uy,b=new bz;_.Wy(b,3,2);_.Yy(b,5,!0);_.Yy(b,6,!1);_.eb(a,6,b);_.Wy(a,1,3);Xy(a,"Albums");return a};
zOa=function(){var a=new Uy,b=new bz;_.Wy(b,3,1);_.Wy(b,2,1);_.Yy(b,5,!1);_.Yy(b,6,!0);_.eb(a,6,b);_.Wy(a,1,3);Xy(a,"Videos");return a};
AOa=function(a,b){Ty.call(this,"set-drive-options");this.appId=a;this.appOrigin=b};
BOa=function(a){a=a&&_.kk(a.JSC$32303_document_)||window;return a.gadgets&&a.gadgets.rpc};
COa=function(a,b){var c=b&&_.kk(b.JSC$32303_document_)||window;if(BOa(b))a();else if(cz)cz.push(a);else var d=cz=[a],e=c.setInterval(function(){if(BOa(b)){c.clearInterval(e);for(var h=0;h<d.length;h++)d[h]();cz=null}},100)};
DOa=function(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=_.dz(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!_.qk(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)&&b.stopPropagation()};
_.GOa=function(a){var b=void 0===b?EOa:b;var c=_.qa(a),d=function(h){h=_.k(h);h.next();h=_.Nna(h);return b(c,h)},e=function(h){var l=_.k(h);
h=l.next().value;l=_.Nna(l);return a.apply(h,l)};
return function(){var h=_.Ob.apply(0,arguments),l=this||_.g,m=FOa.get(l);m||(m={},FOa.set(l,m));return _.epa(m,[this].concat(_.sc(h)),e,d)}};
ez=function(a){var b={};a=a.replace(/\r/g,"").split("\n");for(var c=0;c<a.length;c++){var d=a[c],e=d.indexOf(":");0>e||(b[d.substring(0,e)]=d.substring(e+2,d.length))}return b};
fz=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]};
HOa=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}};
JOa=function(a){a=_.u.clone(a);for(var b=0;b<IOa.length;++b){var c=IOa[b],d=fz(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,HOa(a,c))}return a};
KOa=function(a){a=_.u.clone(a);HOa(a,"X-Goog-Upload-Status")};
_.LOa=function(a){var b=new gz(_.w("ONE_PICK_URL",""));b.urlParamMap_.set("hostId",a);(a=_.w("GAPI_LOCALE"))&&b.urlParamMap_.set("hl",a);(a=_.w("SESSION_INDEX"))&&b.urlParamMap_.set("authuser",a);(a=_.w("DELEGATED_SESSION_ID"))&&b.urlParamMap_.set("groupId",a);return b};
hz=function(a,b){return Math.round(a/1E-5)===Math.round(b/1E-5)};
NOa=function(a,b,c){return _.y(function(d){return d.return(new Promise(function(e){var h=new Image;h.onload=function(){e(new MOa(a,b,c,h.naturalWidth,h.naturalHeight))};
h.src=c.toString()}))})};
iz=function(a,b){return Math.round(a/1E-5)===Math.round(b/1E-5)};
OOa=function(a,b){return a.year===b.year&&a.month===b.month&&a.day===b.day};
jz=function(a,b){return a.year!==b.year?a.year<b.year:a.month!==b.month?a.month<b.month:a.day<b.day};
POa=function(a){return a.day===_.Ml(a.year,a.month)?11===a.month?{year:a.year+1,month:0,day:1}:{year:a.year,month:a.month+1,day:1}:{year:a.year,month:a.month,day:a.day+1}};
QOa=function(){var a=new Date,b={year:a.getFullYear(),month:a.getMonth(),day:a.getDate()};return{start:b,end:{year:a.getFullYear()+2,month:a.getMonth(),day:a.getDate()},selectedDate:POa(b)}};
ROa=function(a){return(new _.ni(2)).format(new Date(a.year,a.month,a.day))};
kz=function(a){return{year:a.getFullYear(),month:a.getMonth(),day:a.getDate()}};
SOa=function(a,b){a=1E3*(a+(Number(b.utcOffsetSec)+60*(new Date(1E3*a)).getTimezoneOffset()));b=kz(new Date(a));return{date:b,secondsSinceMidnight:Math.floor((a-(new Date(b.year,b.month,b.day)).getTime())/1E3)}};
TOa=function(a,b){b=b.months.findIndex(function(c){return c.year===a.year&&c.month===a.month});
return 0<=b?b:void 0};
lz=function(a){if(!a)return!1;try{if(a.host&&"YT-FORMATTED-STRING"===a.host.tagName&&"contenteditable-textarea"===a.host.id||a.nodeType===Node.ELEMENT_NODE&&"YTD-COMMENTBOX"===a.tagName)return!0}catch(b){return!1}return lz(a.parentNode)};
mz=function(a){return a?"A"===a.tagName&&a.href&&a.classList.contains("yt-simple-endpoint"):!1};
UOa=function(a){return a?"IMG"===a.tagName&&a.classList.contains("emoji"):!1};
VOa=function(a,b,c){if(!a)return null;var d=mz(a);if(d&&c)return b=a.pathname.substring(a.pathname.indexOf("/channel/")+9),document.createTextNode("@"+b);if(d&&!c)return document.createTextNode("");if(UOa(a))return c=a.alt,a=a.dataset.emojiId,!a&&b&&(b=_.nz(b,c))&&b.isCustomEmoji&&(a=b.emojiId),a?document.createTextNode("<URehb0Lc5mi4S0dpuLG8:"+a+">"):document.createTextNode(c);d=a.cloneNode(!1);for(var e=0;e<a.childNodes.length;++e){var h=VOa(a.childNodes[e],b,c);h&&d.appendChild(h)}return d};
oz=function(a){return a?mz(a)?a:oz(a.lastChild):null};
pz=function(a){return a?mz(a)?a:pz(a.firstChild):null};
WOa=function(a){if(!a)return null;for(var b=a.previousSibling;b;)if(b.nodeType===Node.ELEMENT_NODE&&"BR"===b.nodeName)b=b.previousSibling;else if(b.nodeType===Node.TEXT_NODE&&/\s+/.test(b.textContent))b=b.previousSibling;else break;(b=oz(b))?a=b:a=(a=a.parentNode)?oz(a.previousElementSibling):null;return a};
XOa=function(a){if(!a)return null;for(var b=a.nextSibling;b;)if(b.nodeType===Node.ELEMENT_NODE&&"BR"===b.nodeName)b=b.nextSibling;else if(b.nodeType===Node.TEXT_NODE&&/\s+/.test(b.textContent))b=b.nextSibling;else break;return(b=pz(b))?b:XOa(a.parentNode)};
YOa=function(a){var b=qz(),c=b.JSC$37143_getStartNode();if(!lz(c.parentNode))return null;b=b.JSC$37143_getStartOffset();if(c.nodeType===Node.TEXT_NODE){var d=_.hf(c,mz);if(d){if(a&&0===b||!a&&b===c.length)return d}else{if(a&&b===c.length)return!c||"BR"===c.nodeName||c.nextElementSibling&&"block"===_.Yt(c.nextElementSibling,"display")?null:pz(c.nextElementSibling);if(!a&&0===b)return c?oz(c.previousElementSibling):null}}if(c.nodeType===Node.ELEMENT_NODE)if(a){if(0<=b&&b<c.childNodes.length)return pz(c.childNodes[b])}else if(0<
b&&b<=c.childNodes.length)return oz(c.childNodes[b-1]);return null};
ZOa=function(a,b,c){if(!a)return null;if(a.nodeType===Node.TEXT_NODE)if(c){var d=WOa(a);if(d&&!/^\s+\S/.test(a.wholeText.substr(0,b)))return d}else if((d=XOa(a))&&!/\S\s+/.test(a.wholeText.substr(b,a.wholeText.length)))return d;return a.nodeType===Node.ELEMENT_NODE?c?WOa(a.childNodes[b]):XOa(a.childNodes[b]):ZOa(a.parentNode,b,c)};
$Oa=function(a){if(a.hasChildNodes())switch(a.tagName){case "DIV":case "A":case "SPAN":var b="";for(a=a.firstChild;a;a=a.nextSibling)b+=$Oa(a);return b;default:return""}else switch(a.nodeType){case 3:return a.textContent;default:return""}};
_.rz=function(a,b){return null!=_.ab(a,b)};
_.sz=function(a,b){a=_.ab(a,b);a=null==a?a:!!a;return null==a?!1:a};
_.tz=function(a,b,c){return _.vqa(document,arguments)};
_.uz=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};
_.vz=function(a,b,c){a.JSC$32753_queryData_.set(b,c);return a};
_.wz=function(a,b){return a.JSC$32753_queryData_.get(b)};
_.xz=function(a){_.vz(a,"zx",_.Jt());return a};
_.yz=function(a,b){if((0,_.Poa)())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=_.tb(b)};
aPa=function(a,b){b=b instanceof _.pj?b:_.uj(b);a.action=_.yb(b)};
bPa=function(a,b){var c=_.yj(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=_.jba(b)};
cPa=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")};
_.Yy=function(a,b,c){return _.Pa(a,b,c,!1)};
_.Wy=function(a,b,c){return _.Pa(a,b,c,0)};
_.zz=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("R`"+_.Zi(b)+"`"+b);_.Xj=b;a=new a(b);_.Xj=null;return a};
_.Az=function(a,b,c){return Math.min(Math.max(a,b),c)};
dPa=function(a,b,c){var d=document,e=c||d,h=a&&"*"!=a?String(a).toUpperCase():"";return e.querySelectorAll&&e.querySelector&&(h||b)?e.querySelector(h+(b?"."+b:"")):_.ik(d,a,b,c)[0]||null};
Bz=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};
ePa=function(a){if(void 0!==a.nextElementSibling)a=a.nextElementSibling;else for(a=a.nextSibling;a&&1!=a.nodeType;)a=a.nextSibling;return a};
fPa=function(a,b){for(;b=b.previousSibling;)if(b==a)return-1;return 1};
gPa=function(a,b){var c=a.parentNode;if(c==b)return-1;for(;b.parentNode!=c;)b=b.parentNode;return fPa(b,a)};
hPa=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(_.Cj&&!_.Jj(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=1==a.nodeType,d=1==b.nodeType;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,h=b.parentNode;return e==h?fPa(a,b):!c&&_.qk(e,b)?-1*gPa(a,b):!d&&_.qk(h,a)?gPa(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:h.sourceIndex)}d=_.nk(a);
c=d.createRange();c.selectNode(a);c.collapse(!0);a=d.createRange();a.selectNode(b);a.collapse(!0);return c.compareBoundaryPoints(_.g.Range.START_TO_END,a)};
iPa=function(a){var b,c=arguments.length;if(!c)return null;if(1==c)return arguments[0];var d=[],e=Infinity;for(b=0;b<c;b++){for(var h=[],l=arguments[b];l;)h.unshift(l),l=l.parentNode;d.push(h);e=Math.min(e,h.length)}h=null;for(b=0;b<e;b++){l=d[0][b];for(var m=1;m<c;m++)if(l!=d[m][b])return h;h=l}return h};
Cz=function(a){return a.contentDocument||a.contentWindow.document};
jPa=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else _.Kx(a),a.appendChild(_.nk(a).createTextNode(String(b)))};
kPa={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};lPa={IMG:" ",BR:"\n"};mPa=function(a,b,c){if(!(a.nodeName in kPa))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in lPa)b.push(lPa[a.nodeName]);else for(a=a.firstChild;a;)mPa(a,b,c),a=a.nextSibling};
nPa=function(a){var b=[];mPa(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");" "!=a&&(a=a.replace(/^\s*/,""));return a};
oPa=function(a){var b=[];mPa(a,b,!1);return b.join("")};
_.xk=function(a){this.id=a};
_.xk.prototype.toString=function(){return this.id};
pPa=function(a){return new _.wf(function(b,c){var d=a.length,e=[];if(d)for(var h=function(r){b(r)},l=function(r,v){d--;
e[r]=v;0==d&&c(e)},m=0,p;m<a.length;m++)p=a[m],_.kra(p,h,_.aj(l,m));
else b(void 0)})};
_.qPa=function(a){var b=null;return(new _.wf(function(c,d){b=_.Wk(function(){c(void 0)},a);
-1==b&&d(Error("ha"))})).thenCatch(function(c){_.Xk(b);
throw c;})};
_.Dz=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
_.f=_.Dz.prototype;_.f.clone=function(){return new _.Dz(this.left,this.top,this.width,this.height)};
_.f.boundingRect=function(a){var b=Math.max(this.left+this.width,a.left+a.width),c=Math.max(this.top+this.height,a.top+a.height);this.left=Math.min(this.left,a.left);this.top=Math.min(this.top,a.top);this.width=b-this.left;this.height=c-this.top};
_.f.contains=function(a){return a instanceof _.fk?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
_.f.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};
_.f.getSize=function(){return new _.gk(this.width,this.height)};
_.f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
_.f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
_.f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
_.f.translate=function(a,b){a instanceof _.fk?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};
_.f.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};
_.dz=function(a,b){return _.Yt(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
Ez=function(a,b,c){if(b instanceof _.fk){var d=b.x;b=b.y}else d=b,b=c;a.style.left=_.Lx(d,!1);a.style.top=_.Lx(b,!1)};
_.rPa=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Fj&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=_.cGa(a),new _.gk(a.right-a.left,a.bottom-a.top)):new _.gk(b,c)};
_.Fz=function(a,b,c){if(b instanceof _.gk)c=b.height,b=b.width;else if(void 0==c)throw Error("ka");a.style.width=_.Lx(b,!0);a.style.height=_.Lx(c,!0)};
Gz=function(a){if("none"!=_.dz(a,"display"))return _.rPa(a);var b=a.style,c=b.display,d=b.visibility,e=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=_.rPa(a);b.display=c;b.position=e;b.visibility=d;return a};
Hz=function(a){var b=_.Zt(a);a=Gz(a);return new _.Dz(b.x,b.y,a.width,a.height)};
sPa=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};
Iz=function(a,b){a.style.display=b?"":"none"};
_.Jz=function(a){return"rtl"==_.dz(a,"direction")};
_.tPa=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};
Kz=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?_.tPa(a,b):0};
uPa=function(a){if(_.Cj){var b=Kz(a,"marginLeft"),c=Kz(a,"marginRight"),d=Kz(a,"marginTop");a=Kz(a,"marginBottom");return new _.Xt(d,c,a,b)}b=_.Yt(a,"marginLeft");c=_.Yt(a,"marginRight");d=_.Yt(a,"marginTop");a=_.Yt(a,"marginBottom");return new _.Xt(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};
_.Lz=function(a){_.G.call(this,a)};
_.q(_.Lz,_.G);_.Lz.prototype.getSeconds=function(){return _.Tj(this,1,0)};
_.Lz.prototype.setSeconds=function(a){return _.Kt(this,1,a)};
Mz=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)};
_.Nz=function(a,b){if(a.classList)a.classList.add(b);else if(!_.Nx(a,b)){var c=_.WMa(a);Mz(a,c+(0<c.length?" "+b:b))}};
Oz=function(a,b){if(a.classList)Array.prototype.forEach.call(b,function(e){_.Nz(a,e)});
else{var c={};Array.prototype.forEach.call(_.Mx(a),function(e){c[e]=!0});
Array.prototype.forEach.call(b,function(e){c[e]=!0});
b="";for(var d in c)b+=0<b.length?" "+d:d;Mz(a,b)}};
_.Pz=function(a,b){a.classList?a.classList.remove(b):_.Nx(a,b)&&Mz(a,Array.prototype.filter.call(_.Mx(a),function(c){return c!=b}).join(" "))};
Qz=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){_.Pz(a,c)}):Mz(a,Array.prototype.filter.call(_.Mx(a),function(c){return!_.ha(b,c)}).join(" "))};
_.vPa=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};
var Rz=function(a){_.G.call(this,a)};
_.q(Rz,_.G);Rz.prototype.getId=function(){return _.Vj(this,1)};
var Sz=function(a){_.G.call(this,a)};
_.q(Sz,_.G);Sz.prototype.getUrl=function(){return _.Vj(this,1)};
Sz.prototype.setUrl=function(a){return _.Wj(this,1,a)};
Sz.prototype.getHeight=function(){return _.Tj(this,2,0)};
Sz.prototype.getWidth=function(){return _.Tj(this,3,0)};
var xPa=function(a){_.G.call(this,a,-1,wPa)};
_.q(xPa,_.G);var wPa=[1,2];
var yPa=function(a){_.G.call(this,a)};
_.q(yPa,_.G);
var zPa=function(a){_.G.call(this,a)};
_.q(zPa,_.G);
var Tz=function(a){_.G.call(this,a)};
_.q(Tz,_.G);var Uz=function(a){_.G.call(this,a,-1,APa)};
_.q(Uz,_.G);_.f=Uz.prototype;_.f.getId=function(){return _.Va(this,Rz,1)};
_.f.getName=function(){return _.Vj(this,2)};
_.f.setDescription=function(a){return _.Wj(this,3,a)};
_.f.getUrl=function(){return _.Vj(this,8)};
_.f.setUrl=function(a){return _.Wj(this,8,a)};
var Vz=function(a){return _.Ua(a,Sz,10)},APa=[5,
10,22];
var BPa=function(a){_.G.call(this,a)};
_.q(BPa,_.G);
var CPa=function(a){_.G.call(this,a)};
_.q(CPa,_.G);CPa.prototype.getOrigin=function(){return _.Vj(this,1)};
var DPa=function(a){_.G.call(this,a)};
_.q(DPa,_.G);
var Wz=function(a){_.G.call(this,a)};
_.q(Wz,_.G);Wz.prototype.getWidth=function(){return _.Tj(this,1,0)};
Wz.prototype.getHeight=function(){return _.Tj(this,2,0)};
var FPa=function(a){_.G.call(this,a,-1,EPa)};
_.q(FPa,_.G);var GPa=function(a,b){return _.Uj(a,1,b)},Xz=function(a,b){_.Ra(a,1,b)},EPa=[1,
2,3,4];
var HPa=function(a){_.G.call(this,a)};
_.q(HPa,_.G);
var Yz=function(a){_.G.call(this,a)};
_.q(Yz,_.G);Yz.prototype.getId=function(){return _.Tj(this,1,0)};
var IPa=function(a){var b=new Yz;return _.Wy(b,1,a)},JPa=[2,
3,4];
var KPa=function(a){_.G.call(this,a)};
_.q(KPa,_.G);
var Zz=function(a){_.G.call(this,a,-1,LPa)};
_.q(Zz,_.G);var MPa=function(){var a=new Zz;return _.Wy(a,23,20)},NPa=function(a,b){_.eb(a,2,b)};
Zz.prototype.getBaseUrl=function(){return _.Vj(this,8)};
var OPa=function(a,b){return _.Wj(a,8,b)};
Zz.prototype.getTitle=function(){return _.Vj(this,9)};
Zz.prototype.setTitle=function(a){return _.Wj(this,9,a)};
var PPa=function(a){var b=new CPa;var c=window.location.origin;c||(c=_.tm(_.sm(new _.Jh,window.location.protocol),window.location.host).toString());b=_.Wj(b,1,c);b=_.Wy(b,3,2);return _.eb(a,20,b)},LPa=[18,
28];
var RPa=function(a){_.G.call(this,a,-1,QPa)};
_.q(RPa,_.G);RPa.prototype.getStatus=function(){return _.Tj(this,1,0)};
var QPa=[2];
var SPa=function(a){_.G.call(this,a)};
_.q(SPa,_.G);
var TPa=function(a){_.G.call(this,a)};
_.q(TPa,_.G);
var VPa=function(a){_.G.call(this,a,-1,UPa)};
_.q(VPa,_.G);var UPa=[1,3];
var Zy=function(a){_.G.call(this,a)};
_.q(Zy,_.G);Zy.prototype.getDirection=function(){return _.Tj(this,2,0)};
Zy.prototype.setDirection=function(a){return _.Wy(this,2,a)};
var Vy=function(a){_.G.call(this,a)};
_.q(Vy,_.G);
var WPa=function(a){_.G.call(this,a)};
_.q(WPa,_.G);
var bz=function(a){_.G.call(this,a,-1,XPa)};
_.q(bz,_.G);var XPa=[8];
var Uy=function(a){_.G.call(this,a,-1,YPa)};
_.q(Uy,_.G);Uy.prototype.getName=function(){return _.Vj(this,8)};
var Xy=function(a,b){return _.Wj(a,8,b)},YPa=[14];
var $y=function(a){_.G.call(this,a,-1,ZPa)};
_.q($y,_.G);var az=function(a,b){_.Sd(a,1,Uy,b)},ZPa=[1];
var $z=function(a){_.G.call(this,a,-1,$Pa)};
_.q($z,_.G);$z.prototype.getSource=function(){return _.Va(this,Uy,2)};
$z.prototype.setVisible=function(a){return _.Yy(this,5,a)};
var $Pa=[3,7];
var bQa=function(a){_.G.call(this,a,-1,aQa)};
_.q(bQa,_.G);var aQa=[4];
var aA=function(a){_.G.call(this,a,-1,cQa)};
_.q(aA,_.G);aA.prototype.setConfig=function(a){return _.eb(this,1,a)};
var dQa=function(a,b){return _.db(a,2,b)},cQa=[2];
aA.messageId="ireq";
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.bA=function(a){_.uk.call(this);this.handler_=a;this.keys_={}};
_.cj(_.bA,_.uk);var eQa=[];_.bA.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(eQa[0]=b.toString()),b=eQa);for(var e=0;e<b.length;e++){var h=_.Fk(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!h)break;this.keys_[h.key]=h}return this};
_.bA.prototype.listenOnce=function(a,b,c,d){return fQa(this,a,b,c,d)};
var fQa=function(a,b,c,d,e,h){if(Array.isArray(c))for(var l=0;l<c.length;l++)fQa(a,b,c[l],d,e,h);else{b=_.Ek(b,c,d||a.handleEvent,e,h||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
_.bA.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var h=0;h<b.length;h++)this.unlisten(a,b[h],c,d,e);else c=c||this.handleEvent,d=_.pa(d)?!!d.capture:!!d,e=e||this.handler_||this,c=_.Gk(c),d=!!d,b=_.Bk(a)?a.getListener(b,c,d,e):a?(a=_.Hk(a))?a.getListener(b,c,d,e):null:null,b&&(_.Jk(b),delete this.keys_[b.key]);return this};
_.bA.prototype.removeAll=function(){_.u.forEach(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&_.Jk(a)},this);
this.keys_={}};
_.bA.prototype.disposeInternal=function(){_.bA.superClass_.disposeInternal.call(this);this.removeAll()};
_.bA.prototype.handleEvent=function(){throw Error("Id");};
var iQa,gQa,cA,hQa;_.dA=function(a,b){var c=b||{};b=c.document||document;var d=_.Ab(a),e=(new _.rk(b)).createElement("SCRIPT"),h={script_:e,timeout_:void 0},l=new _.yl(gQa,h),m=null,p=null!=c.timeout?c.timeout:5E3;0<p&&(m=window.setTimeout(function(){cA(e,!0);l.errback(new hQa(1,"Timeout reached for loading script "+d))},p),h.timeout_=m);
e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(cA(e,c.cleanupWhenDone||!1,m),l.callback(null))};
e.onerror=function(){cA(e,!0,m);l.errback(new hQa(0,"Error while loading script "+d))};
h=c.attributes||{};_.u.extend(h,{type:"text/javascript",charset:"UTF-8"});_.sqa(e,h);bPa(e,a);iQa(b).appendChild(e);return l};
iQa=function(a){var b=_.Ib("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement};
gQa=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&cA(a,!0,this.timeout_)}};
cA=function(a,b,c){null!=c&&_.g.clearTimeout(c);a.onload=function(){};
a.onerror=function(){};
a.onreadystatechange=function(){};
b&&window.setTimeout(function(){_.Hb(a)},0)};
hQa=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);_.aa.call(this,c);this.code=a};
_.cj(hQa,_.aa);
var eA=function(a){this.JSC$36975_obj_=a};
eA.prototype.value=function(){return this.JSC$36975_obj_};
eA.prototype.getWidth=function(){return this.JSC$36975_obj_.width};
eA.prototype.getHeight=function(){return this.JSC$36975_obj_.height};
eA.prototype.getStyle=function(){return this.JSC$36975_obj_.style};
var jQa=function(a){this.JSC$36978_obj_=a||{}};
_.f=jQa.prototype;_.f.value=function(){return this.JSC$36978_obj_};
_.f.setUrl=function(a){this.JSC$36978_obj_.url=a;return this};
_.f.getUrl=function(){return this.JSC$36978_obj_.url};
_.f.getStyle=function(){return this.JSC$36978_obj_.style};
_.f.getId=function(){return this.JSC$36978_obj_.id};
_.f.getContext=function(){return this.JSC$36978_obj_.context};
var kQa=function(a){a.JSC$36978_obj_.attributes=a.JSC$36978_obj_.attributes||{};return new eA(a.JSC$36978_obj_.attributes)};
var lQa=function(){jQa.apply(this,arguments)};
_.q(lQa,jQa);
_.fA=function(a){this.JSC$36982_id_=a;this.JSC$36982_opts={}};
_.fA.prototype.JSC$36984_setLabel=function(a){this.label_=a||void 0;return this};
_.fA.prototype.addUploadMetadata=function(a,b){var c=this.JSC$36982_opts.data||{};c[a]=b;this.JSC$36982_opts.data=c;return this};
var mQa=function(a){var b=_.u.filter(a.JSC$36982_opts,function(c){return null!==c});
b=_.u.isEmpty(b)?null:b;a=[a.JSC$36982_id_,a.label_,b];b=pOa(a);return a=a.slice(0,b+1)};
_.fA.prototype.toString=function(){var a=mQa(this);return"("+_.id(a,function(b){return(0,_.Il)(b)}).join(",")+")"};
_.fA.prototype.getId=function(){return this.JSC$36982_id_};
_.fA.prototype.getOptions=function(){return _.u.clone(this.JSC$36982_opts)};
var gA=function(){_.fA.call(this,"image-search")};
_.q(gA,_.fA);gA.prototype.setSize=function(a){this.JSC$36982_opts.imgsz=a;return this};
gA.prototype.JSC$36984_setLabel=function(a){_.fA.prototype.JSC$36984_setLabel.call(this,a);return this};
gA.prototype.addUploadMetadata=function(a,b){_.fA.prototype.addUploadMetadata.call(this,a,b);return this};
var hA=function(){_.fA.call(this,"maps")};
_.q(hA,_.fA);hA.prototype.JSC$36984_setLabel=function(a){_.fA.prototype.JSC$36984_setLabel.call(this,a);return this};
hA.prototype.addUploadMetadata=function(a,b){_.fA.prototype.addUploadMetadata.call(this,a,b);return this};
_.iA=function(){_.fA.call(this,"photos")};
_.q(_.iA,_.fA);_.iA.prototype.JSC$36984_setLabel=function(a){_.fA.prototype.JSC$36984_setLabel.call(this,a);return this};
_.iA.prototype.addUploadMetadata=function(a,b){_.fA.prototype.addUploadMetadata.call(this,a,b);return this};
var qA=function(){_.fA.call(this,"url")};
_.q(qA,_.fA);_.nQa=function(){var a=new qA;a.JSC$36982_opts.type="video";a.JSC$36982_opts.site="youtube.com";return a};
qA.prototype.JSC$36984_setLabel=function(a){_.fA.prototype.JSC$36984_setLabel.call(this,a);return this};
qA.prototype.addUploadMetadata=function(a,b){_.fA.prototype.addUploadMetadata.call(this,a,b);return this};
var rA=function(){_.fA.call(this,"video-search")};
_.q(rA,_.fA);_.oQa=function(){var a=new rA;a.JSC$36982_opts.site="youtube.com";return a};
rA.prototype.JSC$36984_setLabel=function(a){_.fA.prototype.JSC$36984_setLabel.call(this,a);return this};
rA.prototype.addUploadMetadata=function(a,b){_.fA.prototype.addUploadMetadata.call(this,a,b);return this};
var sA=function(){_.fA.call(this,"web")};
_.q(sA,_.fA);sA.prototype.JSC$36984_setLabel=function(a){_.fA.prototype.JSC$36984_setLabel.call(this,a);return this};
sA.prototype.addUploadMetadata=function(a,b){_.fA.prototype.addUploadMetadata.call(this,a,b);return this};
var tA=function(){this.items_=[];this.JSC$37006_opts={}},pQa=function(a){switch(a){case "image-search":return new gA;
case "maps":return new hA;case "photos":return new _.iA;case "url":return new qA;case "video-search":return new rA;case "web":return new sA}return new _.fA(a)},qQa=function(a){return"("+_.id(a.items_,function(b){return b.toString()}).join(",")+")"};
tA.prototype.toString=function(){return qQa(this)};
var rQa=function(a,b){b=void 0===b?[]:b;a.items_.forEach(function(c){c instanceof tA?rQa(c,b):b.push(c)});
return b};
tA.prototype.getOptions=function(){return _.u.clone(this.JSC$37006_opts)};
var uA=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new tA};
uA.prototype.nav_=null;_.vA=function(a,b){a.nav_.items_.push("string"===typeof b?pQa(b):b);return a};
uA.prototype.getBaseUrl=function(){return this.basePickerUrl_};
_.sQa=function(a,b){a.callback_=b;return a};
var BQa=function(a,b){switch(_.Tj(a[0].getId(),2,0)){case 13:return tQa(a,b);case 3:return uQa(a,b);case 10:return vQa(a,b,"upload");case 12:return wQa(a,b);case 2:return xQa(a,b);case 5:return yQa(a,b);case 9:return zQa(a,b);case 1:return _.rz(a[0],26)?AQa(a,b):vQa(a,b,"webcam");default:return{}}},xQa=function(a,b){a=a.map(function(c){var d=void 0;
_.sz(_.Va(c,Tz,21),12)&&(d="success");return{id:c.getId().getId(),serviceId:"docs",mimeType:_.Vj(c,7),name:c.getName(),type:_.Tj(c,6,0),lastEditedUtc:_.Va(c,_.Lz,12),url:c.getUrl(),sizeBytes:_.Tj(c,23,0),description:_.Vj(c,3),iconUrl:_.Vj(c,11),thumbnails:wA(Vz(c)),isShared:_.sz(_.Va(c,Tz,21),1),downloadUrl:_.Vj(_.Va(c,Tz,21),10),embedUrl:_.Vj(c,13),copyable:_.sz(_.Va(c,Tz,21),9),resourceKey:_.Vj(_.Va(c,Tz,21),11),uploadState:d}});
return{action:b,docs:a,viewToken:xA("all","",{}),view:"all"}},yQa=function(a,b){a=a.map(function(c){var d=_.Va(_.Va(c,zPa,15),Sz,1);
_.Sd(c,10,Sz,d);return{id:c.getId().getId(),serviceId:"web",mimeType:_.Vj(c,7),name:c.getName(),type:_.Tj(c,6,0),url:c.getUrl(),description:_.Vj(c,3),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:wA(Vz(c))}});
return{action:b,docs:a,viewToken:xA("image-search","Search",{}),view:"image-search"}},zQa=function(a,b){a=a.map(function(c){return{serviceId:"url",
name:Vz(c)[0].getUrl().split("/").pop(),type:"photo",mimeType:_.Vj(c,7),url:c.getUrl(),description:_.Vj(c,3),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:wA(Vz(c))}});
return{action:b,docs:a,viewToken:xA("url","By URL",{}),view:"url"}},AQa=function(a,b){a=a.map(function(c){return{id:c.getId().getId(),
serviceId:"picasa",name:c.getName(),type:_.Tj(c,6,0),description:_.Vj(c,3),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:wA(Vz(c))}});
return{action:b,docs:a,viewToken:xA("webcam","",{}),view:"webcam"}},vQa=function(a,b,c){var d=a.map(function(e){return{id:e.getId().getId(),
serviceId:"photo",mimeType:_.Vj(e,7),name:e.getName(),type:_.Tj(e,6,0),sizeBytes:_.Tj(e,23,0),description:_.Vj(e,3),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:wA(Vz(e))}});
a=new Set(a.map(function(e){return _.Tj(e,6,0)}));
a={allowedItemTypes:Array.from(a)};return{action:b,docs:d,viewToken:xA(c,"",a),view:c}},uQa=function(a,b){var c=a.map(function(d){return{id:d.getId().getId(),
serviceId:"picasa",mimeType:_.Vj(d,7),name:Vz(d)[0].getUrl().split("/").pop(),type:_.Tj(d,6,0),lastEditedUtc:_.Va(d,_.Lz,12),url:d.getUrl(),sizeBytes:_.Tj(d,23,0),description:_.Vj(d,3),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:wA(Vz(d))}});
a=new Set(a.map(function(d){return _.Tj(d,6,0)}));
a={allowedItemTypes:Array.from(a)};return{action:b,docs:c,viewToken:xA("photos","",a),view:"photos"}},tQa=function(a,b){var c=a.map(function(e){return{id:e.getId().getId(),
serviceId:"et",name:Vz(e)[0].getUrl().split("/").pop(),description:_.Vj(e,3),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:wA(Vz(e),"etjpg")}}),d={category:_.Tj(_.Va(a[0],yPa,28),1,0)};
a=xA("et",_.Vj(_.Va(a[0],yPa,28),2),d);return{action:b,docs:c,viewToken:a,view:"et"}},wQa=function(a,b){a=a.map(function(c){var d=_.Qa(_.Va(c,xPa,27),1)[0];
return{id:c.getId().getId(),serviceId:"contacts",mimeType:_.Vj(c,7),name:c.getName(),description:_.Vj(c,3),url:"mailto:"+d,thumbnail:[{url:_.Vj(c,11)}],email:d}});
return{action:b,docs:a,view:"contacts"}},xA=function(a,b,c){return{0:a,
1:b,2:c}},wA=function(a,b){b=void 0===b?"":b;
if(!a.length)return null;"etjpg"==b&&(a=a.filter(function(c){return c.getUrl().includes("w1200-h300")}));
return a.map(function(c){return{url:c.getUrl(),height:c.getHeight(),width:c.getWidth(),type:b}})};
var CQa=_.Tt(_.jb("https://apis.google.com/js/api.js")),GQa=function(a,b){var c=!1,d=DQa(a,b).then(function(h){c=!0;return h}),e=_.qPa(5E3).then(function(){return c?DQa(a,b):EQa(b).then(function(h){return FQa(h,a)})});
return pPa([d,e])},DQa=function(a,b){return HQa(b).then(function(c){return FQa(c,a)})},FQa=function(a,b){var c=_.hi(b,"gapi.")?b.slice(5):b;
return a[c]?_.Mg(a[c]):new _.wf(function(d,e){var h=_.Wk(function(){e(Error("Jd"))},3E4);
a.load(b,{callback:function(){_.Xk(h);d(a[c])},
onerror:function(l){_.Xk(h);e(l)}})})},HQa=function(a){return a.gapi&&a.gapi.load?_.Mg(a.gapi):EQa(a)},EQa=function(a){return _.dA(CQa,{document:a.document}).then(function(){return a.gapi})},IQa=function(){};
IQa.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return GQa(a,b).then(function(d){var e=Date.now();return{library:d,loadStartMs:c,loadEndMs:e}},function(d){throw d instanceof Error?d:Error(String(d));
})};
var JQa=function(){_.uk.call(this);this.gapiLoader_=new IQa;this.origin_=null;this.gapiPickerIframeResolver_=_.Sk();this.gapiIframesResolver_=_.Sk();this.gapiIframesResolver_.promise.then(null,function(){});
this.gapiPickerIframeResolver_.promise.then(null,function(){});
this.hostMessageHandlerInternal_={}};
_.q(JQa,_.uk);var KQa=function(a,b){var c=_.ld("gapi.iframes",b);return c?(a=Date.now(),_.Mg({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},LQa=function(a,b,c,d,e,h){var l=!0;
l=void 0===l?!1:l;KQa(a,_.lk(b.ownerDocument)).then(function(m){var p=m.library;a.gapiIframesResolver_.resolve(p);m=a.gapiPickerIframeResolver_;var r=m.resolve,v=l;v=void 0===v?!1:v;var z={};z["host-message-handler"]=c;a.hostMessageHandlerInternal_=z;var A=_.Bm(d);A=_.Bm(A);A=_.um(_.tm(_.sm(new _.Jh,A.scheme_),A.JSC$32753_domain_),A.JSC$32753_port_).toString();a.origin_=A;A=(new lQa).setUrl(d);A.JSC$36978_obj_.where=b;A.JSC$36978_obj_.allowPost=v;A.JSC$36978_obj_.messageHandlers=z;v=_.ld("makeWhiteListIframesFilter",
p)([a.origin_]);A.JSC$36978_obj_.messageHandlersFilter=v;null!=e&&(A.JSC$36978_obj_.id=e);null!=h&&(A.JSC$36978_obj_.rpctoken=h);v=kQa(A);v.JSC$36975_obj_.style={display:"block","min-width":"100%",width:"1px"};v.JSC$36975_obj_.height="100%";kQa(A).value().allow="camera";p=p.getContext().openChild(A.value());r.call(m,p)},function(m){a.gapiIframesResolver_.reject(m);
a.gapiPickerIframeResolver_.reject(m)});
return a.gapiPickerIframeResolver_.promise},MQa=function(a,b){return _.Rk([a.gapiIframesResolver_.promise,
a.gapiPickerIframeResolver_.promise]).then(function(c){var d=_.k(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,_.ld("makeWhiteListIframesFilter",c)([a.origin_])):_.Qk(Error("Kd"))})};
JQa.prototype.disposeInternal=function(){NQa(this);_.uk.prototype.disposeInternal.call(this)};
var NQa=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};
var OQa=function(){this.JSC$37030_nextId_=0};
var PQa=new Map([["birthday",14],["children",1],["dinner",2],["featured",3],["holiday",4],["nightlife",5],["other",6],["party",7],["school",8],["seasonal",9],["sport",10],["stationery",11],["travel",12],["wedding",13]]),QQa=new Set("all docs-images docs-images-and-videos docs-videos documents drawings folders forms pdfs presentations scripts sites spreadsheets tables".split(" ")),TQa=function(a,b,c,d){var e=PPa(OPa(MPa(),a));a=[];try{for(var h=0;h<d.length;h++){var l=d[h],m=l[0],p=l[1];switch(m){case "cropphoto":for(var r=
IPa(2),v=new HPa,z=_.k(Object.entries(p||{})),A=z.next();!A.done;A=z.next()){var D=_.k(A.value),E=D.next().value;D.next();switch(E){case "ctta":break;default:throw Error("Ld`"+E+"`"+m);}}_.Of(r,3,JPa,v);_.Sd(e,28,Yz,r);break;default:throw Error("Md`"+m);}}c.forEach(function(J,R){switch(R){case "hostId".toString():_.Wj(e,24,J);break;case "origin".toString():_.Wj(e,27,J);break;case "title".toString():e.setTitle(J);break;case "hl".toString():_.Wj(e,10,J);break;case "multiselectEnabled".toString():"true"==
J&&(J=new KPa,_.Wy(J,1,1),_.eb(e,3,J));break;case "authuser".toString():J=parseInt(J,10);if(isNaN(J))throw Error("Nd");R=new DPa;J=_.Kt(R,1,J);_.eb(e,6,J);break;case "maxItems".toString():_.Kt(e,5,parseInt(J,10));break;case "profilePhoto".toString():e.setTitle("Select Profile Photo");J=IPa(2);R=new HPa;R=_.Yy(R,2,!0);J=_.Of(J,3,JPa,R);_.Sd(e,28,Yz,J);J=IPa(1);_.Sd(e,28,Yz,J);break;case "gmailDelegatorId".toString():R=new BPa;J=_.Wj(R,1,J);_.eb(e,29,J);break;case "minSize".toString():J=RQa(J);_.eb(e,
32,J);break;case "maxSize".toString():J=RQa(J);_.eb(e,33,J);break;case "view".toString():J=/\("([^"]*)",.*\)/.exec(J);"upload"==(null!=J&&1<J.length?J[1]:"")?_.Wy(e,35,1):_.Wy(e,35,0);break;case "pp".toString():case "dff".toString():case "relayUrl".toString():case "parent".toString():case "navHidden".toString():case "nav".toString():case "protocol".toString():case "actions".toString():case "thumbs".toString():case "tt".toString():case "odv".toString():case "newDriveView".toString():case "cropMode".toString():case "maxSizeBytes".toString():case "selectButtonLabel".toString():case "grugl".toString():break;
default:throw Error("Od`"+R);}});
a=SQa(b,e)}catch(J){return null}return dQa((new aA).setConfig(e),a)},RQa=function(a){var b=a.split("x");
a=b[0];b=b[1];var c=new Wz;a=_.Kt(c,1,parseInt(a,10));return _.Kt(a,2,parseInt(b,10))},UQa=function(a){var b=_.Va(a,Zz,1).getBaseUrl();
_.Id(b,"/")||(b+="/");b=_.Bm(b);_.vm(b,b.getPath()+"home");_.vz(b,"req",a.serialize());return b.toString()},WQa=function(a,b){switch(a.action){case "select-contacts":a=VQa(a.contacts);
break;case "visibility":a=a.visible;var c=new $z;a=_.Wy(c,1,7).setVisible(a);c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?MQa(b,a):_.Mg()},VQa=function(a){if(!a||0==a.length)return null;
var b=new $z;_.Wy(b,1,11);var c=new OQa;a.forEach(function(d){if(d.email){var e=new Uz;e=_.Wj(e,2,d.name?d.name:d.email);var h=new xPa;d=_.Ra(h,1,d.email);d=_.eb(e,27,d);e=new Rz;h=":"+(c.JSC$37030_nextId_++).toString(36);e=_.Wj(e,1,h);e=_.Wy(e,2,12);d=_.eb(d,1,e)}else d=null;d&&_.Sd(b,7,Uz,d)});
a={};a["iframe-command"]=b.serialize();return a},SQa=function(a,b){var c=new Map,d=new FPa;
rQa(a).forEach(function(e){var h=new Uy,l=e.getOptions(),m=e.getId();if(null!=m&&QQa.has(m)){switch(m){case "all":break;case "docs-images":Xz(d,1);Xz(d,6);break;case "docs-images-and-videos":Xz(d,2);Xz(d,1);Xz(d,6);break;case "docs-videos":Xz(d,2);Xz(d,6);break;case "documents":Xz(d,3);Xz(d,6);break;case "drawings":Xz(d,12);Xz(d,6);break;case "folders":Xz(d,6);break;case "forms":Xz(d,7);Xz(d,6);break;case "pdfs":Xz(d,9);Xz(d,6);break;case "presentations":Xz(d,5);Xz(d,6);break;case "scripts":Xz(d,
10);Xz(d,6);break;case "sites":Xz(d,8);Xz(d,6);break;case "spreadsheets":Xz(d,4);Xz(d,6);break;case "tables":Xz(d,11);Xz(d,6);break;default:throw Error("Ud`"+m);}if(Object.keys(l).length)15==l.sortKey?(h=tOa(),c.set(h.serialize(),h)):l.starred?(h=uOa(),c.set(h.serialize(),h)):l.td||l.dr?(h=vOa(),c.set(h.serialize(),h)):l.ownedByMe?(h=rOa(),c.set(h.serialize(),h)):(h=sOa(),c.set(h.serialize(),h));else{var p=void 0===p?!1:p;var r=void 0===r?null:r;h=new $y;az(h,tOa());p&&(l=new Uy,e=new Vy,_.Yy(e,14,
!0),_.Wy(e,4,1),_.eb(l,3,e),_.Wy(l,1,2),Xy(l,"Suggested"),az(h,l));null!=r&&az(h,r);az(h,rOa());az(h,vOa());az(h,sOa());az(h,uOa());l=new Uy;r=new Vy;_.Yy(r,12,!0);_.eb(l,3,r);_.Wy(l,1,2);Xy(l,"Computers");az(h,l);c.set(h.serialize(),h)}}else switch(m){case "contacts":_.Wy(h,1,12);if(0!=Object.keys(l||{}).length)throw Error("Pd");c.set(h.serialize(),h);break;case "photos":XQa(l,c,d);break;case "upload":"docs"==l.query?(e=(h=l.parent)?[h]:[],p=[],p=void 0===p?[]:p,e=void 0===e?[]:e,h=new Uy,l=Xy(_.Wy(h,
1,2),"Upload"),r=new Vy,m=new VPa,p=_.Uj(m,3,p),e=_.Uj(p,1,e),r=_.eb(r,15,e),_.eb(l,3,r)):(_.Wy(h,1,10),l=YQa(l,d),_.eb(h,10,l));c.set(h.serialize(),h);break;case "url":_.Wy(h,1,9);e.label_&&Xy(h,e.label_);Xz(d,1);c.set(h.serialize(),h);break;case "webcam":_.Wy(h,1,1);switch(l.query){case "forms":case "spreadsheets":case "presentation":r=h,e=new TPa,e=_.Wy(e,1,1),l=YQa(l,d),l=_.eb(e,2,l),_.eb(r,16,l)}Xz(d,1);c.set(h.serialize(),h);break;case "image-search":_.Wy(h,1,5);Xz(d,1);c.set(h.serialize(),
h);break;case "et":_.Wy(h,1,13);e.label_&&Xy(h,e.label_);l=new WPa;r=_.k(Object.entries(e.getOptions()||{}));for(e=r.next();!e.done;e=r.next())switch(p=_.k(e.value),e=p.next().value,p=p.next().value,e){case "category":if(PQa.has(p))e=PQa.get(p),_.Wy(l,2,e);else throw Error("Qd`"+p);break;default:throw Error("Rd`"+e);}Xz(d,1);_.eb(h,13,l);c.set(h.serialize(),h);break;case null:break;default:throw Error("Sd`"+e.getId());}});
NPa(b,GPa(d,Array.from(new Set(_.Qa(d,1)))));return Array.from(c.values())},YQa=function(a,b){var c=new SPa;
a=_.k(Object.entries(a||{}));for(var d=a.next();!d.done;d=a.next()){var e=_.k(d.value);d=e.next().value;e=e.next().value;switch(d){case "query":switch(e){case "profile":_.Wy(c,4,2);Xz(b,1);break;case "photo":_.Wy(c,4,1);Xz(b,1);break;case "forms":_.Wy(c,4,6);Xz(b,1);break;case "spreadsheets":_.Wy(c,4,7);Xz(b,1);break;case "presentation":_.Wy(c,4,8);Xz(b,1);break;default:throw Error("Td`"+e);}break;case "data":for(d=_.k(Object.entries(e||{})),e=d.next();!e.done;e=d.next()){var h=_.k(e.value);e=h.next().value;
h=h.next().value;a:{var l=c;var m=_.ab(c,2);if(null==m)m=[];else if(m.constructor===_.Ka){l=m;break a}var p=_.Ga(l.internalArray_),r=_.Ga(m);if(!p&&r){for(var v=m.slice(),z=0;z<m.length;z++)Array.isArray(v[z])&&(v[z]=v[z].slice());m=v}m=new _.Ka(m,void 0);p&&!r&&_.Ha(m.JSC$32200_arr_);_.n(l,2,m,!1,!0);l=m}l.set(e,h)}}}return c},XQa=function(a,b,c){var d=new $y;
if(Object.keys(a).length){if(a.allowedItemTypes.includes("photo")&&(az(d,wOa()),Xz(c,1)),a.allowedItemTypes.includes("album")&&(az(d,xOa()),Xz(c,14)),"videos-uploaded"==a.type||"videos-camerasync"==a.type)az(d,zOa()),Xz(c,2)}else d=yOa(),Xz(c,1),Xz(c,14);_.Ua(d,Uy,1).forEach(function(e){b.set(e.serialize(),e)})};
_.ZQa=function(){if(_.hpa){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(_.ua()))?a[1]:"0"}return _.Gj?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(_.ua()))?a[0].replace(/_/g,"."):"10"):_.kpa?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(_.ua()))?a[1]:""):_.lpa||_.mpa||_.npa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(_.ua()))?a[1].replace(/_/g,"."):""):""}();
var yA;yA=function(a){return(a=a.exec(_.ua()))?a[1]:""};
_.$Qa=function(){if(_.ypa)return yA(/Firefox\/([0-9.]+)/);if(_.Cj||_.Ce||_.fpa)return _.Hj;if(_.Kj){if(_.ya()||_.wa("Macintosh")){var a=yA(/CriOS\/([0-9.]+)/);if(a)return a}return yA(/Chrome\/([0-9.]+)/)}if(_.ega&&!_.ya())return yA(/Version\/([0-9.]+)/);if(_.zpa||_.Apa){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(_.ua()))return a[1]+"."+a[2]}else if(_.Bpa)return(a=yA(/Android\s+([0-9.]+)/))?a:yA(/Version\/([0-9.]+)/);return""}();
var zA=function(a){_.Kk.call(this);this.JSC$37056_dom_=a||_.Wt();this.JSC$37056_id_=null;this.inDocument_=!1;this.JSC$37056_element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};
_.cj(zA,_.Kk);zA.prototype.idGenerator_=_.Mw.getInstance();zA.prototype.getId=function(){return this.JSC$37056_id_||(this.JSC$37056_id_=":"+(this.idGenerator_.JSC$36414_nextId_++).toString(36))};
zA.prototype.getElement=function(){return this.JSC$37056_element_};
var AA=function(a){a.googUiComponentHandler_||(a.googUiComponentHandler_=new _.bA(a));return a.googUiComponentHandler_};
_.f=zA.prototype;_.f.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("Wd");zA.superClass_.setParentEventTarget.call(this,a)};
_.f.JSC$37058_createDom=function(){this.JSC$37056_element_=this.JSC$37056_dom_.createElement("DIV")};
_.f.render=function(a){if(this.inDocument_)throw Error("Xd");this.JSC$37056_element_||this.JSC$37058_createDom();a?a.insertBefore(this.JSC$37056_element_,null):this.JSC$37056_dom_.JSC$32303_document_.body.appendChild(this.JSC$37056_element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};
_.f.decorate=function(a){if(this.inDocument_)throw Error("Xd");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=_.nk(a);this.JSC$37056_dom_&&this.JSC$37056_dom_.JSC$32303_document_==b||(this.JSC$37056_dom_=_.Wt(a));this.decorateInternal(a);this.enterDocument()}else throw Error("Yd");};
_.f.canDecorate=function(){return!0};
_.f.decorateInternal=function(a){this.JSC$37056_element_=a};
_.f.enterDocument=function(){this.inDocument_=!0;aRa(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
_.f.exitDocument=function(){aRa(this,function(a){a.inDocument_&&a.exitDocument()});
this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};
_.f.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);aRa(this,function(a){a.dispose()});
!this.wasDecorated_&&this.JSC$37056_element_&&_.Hb(this.JSC$37056_element_);this.parent_=this.JSC$37056_element_=this.childIndex_=this.children_=null;zA.superClass_.disposeInternal.call(this)};
_.f.getContentElement=function(){return this.JSC$37056_element_};
var aRa=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
zA.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=this.childIndex_&&c?_.u.get(this.childIndex_,c)||null:null;if(c&&a){_.u.remove(this.childIndex_,c);_.ja(this.children_,a);b&&(a.exitDocument(),a.JSC$37056_element_&&_.Hb(a.JSC$37056_element_));b=a;if(null==b)throw Error("Vd");b.parent_=null;zA.superClass_.setParentEventTarget.call(b,null)}}if(!a)throw Error("Zd");return a};
_.cj(AOa,Ty);
var bRa=function(a){Ty.call(this,"visibility");this.visible=a};
_.cj(bRa,Ty);
var cRa;
var BA=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},CA=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));
var d="aria-"+b;""===c||void 0==c?(cRa||(c={},cRa=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort="none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=cRa,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)};
var DA=function(a,b,c){_.Kk.call(this);this.target=a;this.handle=b||a;this.limits=c||new _.Dz(NaN,NaN,NaN,NaN);this.JSC$37062_document_=_.nk(a);this.JSC$37062_eventHandler_=new _.bA(this);_.wk(this,this.JSC$37062_eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.enabled_=!0;this.dragging_=!1;this.hysteresisDistanceSquared_=0;_.Fk(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=dRa};
_.cj(DA,_.Kk);var dRa=_.g.document&&_.g.document.documentElement&&!!_.g.document.documentElement.setCapture&&!!_.g.document.releaseCapture;DA.prototype.disposeInternal=function(){DA.superClass_.disposeInternal.call(this);_.Ik(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.JSC$37062_eventHandler_.removeAll();this.useSetCapture_&&this.JSC$37062_document_.releaseCapture();this.handle=this.target=null};
DA.prototype.startDrag=function(a){var b="mousedown"==a.type;if(!this.enabled_||this.dragging_||b&&(0!=a.event_.button||_.Gj&&a.ctrlKey))this.dispatchEvent("earlycancel");else{if(0==this.hysteresisDistanceSquared_)if(this.dispatchEvent(new EA("start",this,a.clientX,a.clientY,a)))this.dragging_=!0,b&&a.preventDefault();else return;else b&&a.preventDefault();b=this.JSC$37062_document_;var c=b.documentElement,d=!this.useSetCapture_;this.JSC$37062_eventHandler_.listen(b,["touchmove","mousemove"],this.handleMove_,
{capture:d,passive:!1});this.JSC$37062_eventHandler_.listen(b,["touchend","mouseup"],this.endDrag,d);this.useSetCapture_?(c.setCapture(!1),this.JSC$37062_eventHandler_.listen(c,"losecapture",this.endDrag)):this.JSC$37062_eventHandler_.listen(_.lk(b),"blur",this.endDrag);this.scrollTarget_&&this.JSC$37062_eventHandler_.listen(this.scrollTarget_,"scroll",this.onScroll_,d);this.clientX=this.startX=a.clientX;this.clientY=this.startY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=
this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.pageScroll=_.Mt(_.Wt(this.JSC$37062_document_).JSC$32303_document_)}};
DA.prototype.endDrag=function(a,b){this.JSC$37062_eventHandler_.removeAll();this.useSetCapture_&&this.JSC$37062_document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new EA("end",this,a.clientX,a.clientY,a,eRa(this,this.deltaX),fRa(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
DA.prototype.handleMove_=function(a){if(this.enabled_){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(d*d+e*e>this.hysteresisDistanceSquared_)if(this.dispatchEvent(new EA("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=gRa(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new EA("beforedrag",
this,a.clientX,a.clientY,a,b,c))&&(hRa(this,a,b,c),a.preventDefault())}};
var gRa=function(a,b,c){var d=_.Mt(_.Wt(a.JSC$37062_document_).JSC$32303_document_);b+=d.x-a.pageScroll.x;c+=d.y-a.pageScroll.y;a.pageScroll=d;a.deltaX+=b;a.deltaY+=c;return new _.fk(eRa(a,a.deltaX),fRa(a,a.deltaY))};
DA.prototype.onScroll_=function(a){var b=gRa(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;hRa(this,a,b.x,b.y)};
var hRa=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new EA("drag",a,b.clientX,b.clientY,b,c,d))},eRa=function(a,b){var c=a.limits;
a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))},fRa=function(a,b){var c=a.limits;
a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))};
DA.prototype.isDragging=function(){return this.dragging_};
var EA=function(a,b,c,d,e,h,l){_.yk.call(this,a);this.clientX=c;this.clientY=d;this.browserEvent=e;this.left=void 0!==h?h:b.deltaX;this.top=void 0!==l?l:b.deltaY;this.dragger=b};
_.cj(EA,_.yk);
var FA=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("t");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};
_.f=FA.prototype;_.f.getCount=function(){return this.map_.size};
_.f.getValues=function(){return Array.from(this.map_.values())};
_.f.getKeys=function(){return Array.from(this.map_.keys())};
_.f.containsKey=function(a){return this.map_.has(a)};
_.f.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
_.f.equals=function(a,b){var c=this;b=void 0===b?function(d,e){return d===e}:b;
return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return b(c.map_.get(d),a.get(d))})};
_.f.isEmpty=function(){return 0==this.map_.size};
_.f.clear=function(){this.map_.clear()};
_.f.remove=function(a){return this.map_.delete(a)};
_.f.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};
_.f.set=function(a,b){this.map_.set(a,b);return this};
_.f.addAll=function(a){if(a instanceof FA){a=_.k(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=_.k(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=_.k(Object.entries(a)),b=a.next();!b.done;b=a.next())c=_.k(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};
_.f.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};
_.f.clone=function(){return new FA(this)};
(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!_.g.requestAnimationFrame;++c)_.g.requestAnimationFrame=_.g[b+"RequestAnimationFrame"],_.g.cancelAnimationFrame=_.g[b+"CancelAnimationFrame"]||_.g[b+"CancelRequestAnimationFrame"];if(!_.g.requestAnimationFrame){var d=0;_.g.requestAnimationFrame=function(e){var h=(new Date).getTime(),l=Math.max(0,16-(h-d));d=h+l;return _.g.setTimeout(function(){e(h+l)},l)};
_.g.cancelAnimationFrame||(_.g.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var iRa=[[],[]],GA=0,jRa=!1,kRa=0,mRa=function(a,b){var c=kRa++,d={measureTask:{id:c,fn:a.measure,context:b},mutateTask:{id:c,fn:a.mutate,context:b},state:{},args:void 0,isScheduled:!1};return function(){0<arguments.length?(d.args||(d.args=[]),d.args.length=0,d.args.push.apply(d.args,arguments),d.args.push(d.state)):d.args&&0!=d.args.length?(d.args[0]=d.state,d.args.length=1):d.args=[d.state];d.isScheduled||(d.isScheduled=!0,iRa[GA].push(d));jRa||(jRa=!0,window.requestAnimationFrame(lRa))}},lRa=function(){jRa=
!1;
var a=iRa[GA],b=a.length;GA=(GA+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.measureTask;c.isScheduled=!1;e.fn&&e.fn.apply(e.context,c.args)}for(d=0;d<b;++d)c=a[d],e=c.mutateTask,c.isScheduled=!1,e.fn&&e.fn.apply(e.context,c.args),c.state={};a.length=0};
var nRa=_.Cj?_.Tt(_.jb('javascript:""')):_.Tt(_.jb("about:blank"));_.Cj?_.Tt(_.jb('javascript:""')):_.Tt(_.jb("javascript:undefined"));
var HA=function(a){_.Kk.call(this);this.JSC$37074_element_=a;a=_.Cj?"focusout":"blur";this.listenKeyIn_=_.Fk(this.JSC$37074_element_,_.Cj?"focusin":"focus",this,!_.Cj);this.listenKeyOut_=_.Fk(this.JSC$37074_element_,a,this,!_.Cj)};
_.cj(HA,_.Kk);HA.prototype.handleEvent=function(a){var b=new _.Ak(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};
HA.prototype.disposeInternal=function(){HA.superClass_.disposeInternal.call(this);_.Jk(this.listenKeyIn_);_.Jk(this.listenKeyOut_);delete this.JSC$37074_element_};
var oRa=function(a,b){this.JSC$37077_element_=a;this.JSC$37077_dom_=b};
var IA=function(a,b){zA.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=mRa({mutate:this.resizeBackground_},this)};
_.cj(IA,zA);_.f=IA.prototype;_.f.focusHandler_=null;_.f.visible_=!1;_.f.bgEl_=null;_.f.bgIframeEl_=null;_.f.tabCatcherElement_=null;_.f.backwardTabWrapInProgress_=!1;_.f.getCssClass=function(){return"goog-modalpopup"};
_.f.getBackgroundElement=function(){return this.bgEl_};
_.f.JSC$37058_createDom=function(){IA.superClass_.JSC$37058_createDom.call(this);var a=this.getElement();Oz(a,(0,_.mj)(this.getCssClass()).split(" "));a.tabIndex=0;Iz(a,!1);pRa(this);qRa(this)};
var pRa=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.JSC$37056_dom_.JSC$32305_createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=_.Ab(nRa);a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";Iz(a.bgIframeEl_,!1);sPa(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.JSC$37056_dom_.JSC$32305_createDom("DIV",a.getCssClass()+"-bg"),Iz(a.bgEl_,!1))},qRa=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.JSC$37056_dom_.createElement("SPAN"),Iz(a.tabCatcherElement_,
!1),a.tabCatcherElement_.tabIndex=0,a.tabCatcherElement_.style.position="absolute")};
_.f=IA.prototype;_.f.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
_.f.canDecorate=function(a){return!!a&&"DIV"==a.tagName};
_.f.decorateInternal=function(a){IA.superClass_.decorateInternal.call(this,a);a=(0,_.mj)(this.getCssClass()).split(" ");Oz(this.getElement(),a);pRa(this);qRa(this);this.getElement().tabIndex=0;Iz(this.getElement(),!1)};
_.f.enterDocument=function(){this.bgIframeEl_&&_.uz(this.bgIframeEl_,this.getElement());_.uz(this.bgEl_,this.getElement());IA.superClass_.enterDocument.call(this);Bz(this.tabCatcherElement_,this.getElement());this.focusHandler_=new HA(this.JSC$37056_dom_.JSC$32303_document_);AA(this).listen(this.focusHandler_,"focusin",this.onFocus);rRa(this,!1)};
_.f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);_.Jb(this.focusHandler_);IA.superClass_.exitDocument.call(this);_.Hb(this.bgIframeEl_);_.Hb(this.bgEl_);_.Hb(this.tabCatcherElement_)};
_.f.setVisible=function(a){if(a!=this.visible_)if(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.bgShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.popupHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this.inDocument_&&rRa(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.lastFocus_=this.JSC$37056_dom_.JSC$32303_document_.activeElement}catch(e){}this.resizeBackground_();this.reposition();AA(this).listen(_.kk(this.JSC$37056_dom_.JSC$32303_document_),
"resize",this.resizeBackground_).listen(_.kk(this.JSC$37056_dom_.JSC$32303_document_),"orientationchange",this.resizeBackgroundTask_);sRa(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)_.Ek(this.popupShowTransition_,"end",this.onShow,!1,this),this.bgShowTransition_.play(),this.popupShowTransition_.play();else this.onShow()}}else if(this.dispatchEvent("beforehide")){AA(this).unlisten(_.kk(this.JSC$37056_dom_.JSC$32303_document_),"resize",this.resizeBackground_).unlisten(_.kk(this.JSC$37056_dom_.JSC$32303_document_),
"orientationchange",this.resizeBackgroundTask_);this.visible_=!1;if(this.popupHideTransition_&&this.bgHideTransition_)_.Ek(this.popupHideTransition_,"end",this.onHide,!1,this),this.bgHideTransition_.play(),this.popupHideTransition_.play();else this.onHide();a:{try{var b=this.JSC$37056_dom_,c=b.JSC$32303_document_.body,d=b.JSC$32303_document_.activeElement||c;if(!this.lastFocus_||this.lastFocus_==c){this.lastFocus_=null;break a}(d==c||b.contains(this.getElement(),d))&&this.lastFocus_.focus()}catch(e){}this.lastFocus_=
null}}};
var rRa=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new oRa(a.JSC$37056_element_,a.JSC$37056_dom_));a=a.modalAriaVisibilityHelper_;if(b){a.JSC$37079_hiddenElements_||(a.JSC$37079_hiddenElements_=[]);b=a.JSC$37077_dom_.getChildren(a.JSC$37077_dom_.JSC$32303_document_.body);for(var c=0;c<b.length;c++){var d=b[c],e;if(e=d!=a.JSC$37077_element_)e=d.getAttribute("aria-hidden"),e=!(null==e||void 0==e?0:String(e));e&&(CA(d,"hidden",!0),a.JSC$37079_hiddenElements_.push(d))}}else if(a.JSC$37079_hiddenElements_){for(c=
0;c<a.JSC$37079_hiddenElements_.length;c++)a.JSC$37079_hiddenElements_[c].removeAttribute("aria-hidden");a.JSC$37079_hiddenElements_=null}},sRa=function(a,b){a.bgIframeEl_&&Iz(a.bgIframeEl_,b);
a.bgEl_&&Iz(a.bgEl_,b);Iz(a.getElement(),b);Iz(a.tabCatcherElement_,b)};
_.f=IA.prototype;_.f.onShow=function(){this.dispatchEvent("show")};
_.f.onHide=function(){sRa(this,!1);this.dispatchEvent("hide")};
_.f.isVisible=function(){return this.visible_};
_.f.focus=function(){this.focusElement_()};
_.f.resizeBackground_=function(){this.bgIframeEl_&&Iz(this.bgIframeEl_,!1);this.bgEl_&&Iz(this.bgEl_,!1);var a=this.JSC$37056_dom_.JSC$32303_document_,b=_.jk(_.lk(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.bgIframeEl_&&(Iz(this.bgIframeEl_,!0),_.Fz(this.bgIframeEl_,c,a));this.bgEl_&&(Iz(this.bgEl_,!0),_.Fz(this.bgEl_,c,a))};
_.f.reposition=function(){var a=_.lk(this.JSC$37056_dom_.JSC$32303_document_)||window;if("fixed"==_.dz(this.getElement(),"position"))var b=0,c=0;else c=_.Mt(this.JSC$37056_dom_.JSC$32303_document_),b=c.x,c=c.y;var d=Gz(this.getElement());a=_.jk(a);b=Math.max(b+a.width/2-d.width/2,0);c=Math.max(c+a.height/2-d.height/2,0);Ez(this.getElement(),b,c);Ez(this.tabCatcherElement_,b,c)};
_.f.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&_.Wk(this.focusElement_,0,this)};
_.f.focusElement_=function(){try{_.Cj&&this.JSC$37056_dom_.JSC$32303_document_.body.focus(),this.getElement().focus()}catch(a){}};
_.f.disposeInternal=function(){_.Jb(this.popupShowTransition_);this.popupShowTransition_=null;_.Jb(this.popupHideTransition_);this.popupHideTransition_=null;_.Jb(this.bgShowTransition_);this.bgShowTransition_=null;_.Jb(this.bgHideTransition_);this.bgHideTransition_=null;IA.superClass_.disposeInternal.call(this)};
var LA=function(a,b,c){IA.call(this,b,c);this.JSC$37089_class_=a||"modal-dialog";this.buttons_=(new JA).addButton(tRa,!0).addButton(KA,!1,!0)};
_.cj(LA,IA);_.f=LA.prototype;_.f.escapeToCancel_=!0;_.f.hasTitleCloseButton_=!0;_.f.modal_=!0;_.f.backgroundElementOpacity_=.5;_.f.JSC$37091_title_="";_.f.JSC$37091_dragger_=null;_.f.JSC$37091_disposeOnHide_=!1;_.f.titleEl_=null;_.f.titleTextEl_=null;_.f.titleTextId_=null;_.f.titleCloseEl_=null;_.f.contentEl_=null;_.f.buttonEl_=null;_.f.getCssClass=function(){return this.JSC$37089_class_};
_.f.setTitle=function(a){this.JSC$37091_title_=a;this.titleTextEl_&&jPa(this.titleTextEl_,a)};
_.f.getTitle=function(){return this.JSC$37091_title_};
_.f.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};
var uRa=function(a){a.getElement()||a.render();return a.getElement()};
LA.prototype.getBackgroundElement=function(){this.getElement()||this.render();return LA.superClass_.getBackgroundElement.call(this)};
var vRa=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&sPa(b,a.backgroundElementOpacity_)};
LA.prototype.handleDrag=function(){};
var wRa=function(a,b){var c=(0,_.mj)(a.JSC$37089_class_+"-title-draggable").split(" ");a.getElement()&&(b?Oz(a.titleEl_,c):Qz(a.titleEl_,c));b&&!a.JSC$37091_dragger_?(b=new DA(a.getElement(),a.titleEl_),a.JSC$37091_dragger_=b,Oz(a.titleEl_,c),_.Fk(a.JSC$37091_dragger_,"start",a.setDraggerLimits_,!1,a),_.Fk(a.JSC$37091_dragger_,"drag",a.handleDrag,!1,a)):!b&&a.JSC$37091_dragger_&&(a.JSC$37091_dragger_.dispose(),a.JSC$37091_dragger_=null)};
_.f=LA.prototype;
_.f.JSC$37058_createDom=function(){LA.superClass_.JSC$37058_createDom.call(this);var a=this.getElement(),b=this.JSC$37056_dom_;this.titleTextId_=this.getId();var c=this.getId()+".contentEl";this.titleEl_=b.JSC$32305_createDom("DIV",this.JSC$37089_class_+"-title",this.titleTextEl_=b.JSC$32305_createDom("SPAN",{className:this.JSC$37089_class_+"-title-text",id:this.titleTextId_},this.JSC$37091_title_),this.titleCloseEl_=b.JSC$32305_createDom("SPAN",this.JSC$37089_class_+"-title-close"));_.wqa(a,this.titleEl_,
this.contentEl_=b.JSC$32305_createDom("DIV",{className:this.JSC$37089_class_+"-content",id:c}),this.buttonEl_=b.JSC$32305_createDom("DIV",this.JSC$37089_class_+"-buttons"));BA(this.titleTextEl_,"heading");BA(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;CA(this.titleCloseEl_,"label","Close");BA(a,"dialog");CA(a,"labelledby",this.titleTextId_||"");Iz(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.JSC$37094_element_=this.buttonEl_,a.render());Iz(this.buttonEl_,
!!this.buttons_);vRa(this,this.backgroundElementOpacity_)};
_.f.decorateInternal=function(a){LA.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.JSC$37089_class_+"-content";this.contentEl_=_.ik(document,null,b,a)[0];this.contentEl_||(this.contentEl_=this.JSC$37056_dom_.JSC$32305_createDom("DIV",b),a.appendChild(this.contentEl_));b=this.JSC$37089_class_+"-title";var c=this.JSC$37089_class_+"-title-text",d=this.JSC$37089_class_+"-title-close";(this.titleEl_=_.ik(document,null,b,a)[0])?(this.titleTextEl_=_.ik(document,null,c,this.titleEl_)[0],
this.titleCloseEl_=_.ik(document,null,d,this.titleEl_)[0]):(this.titleEl_=this.JSC$37056_dom_.JSC$32305_createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.JSC$37091_title_=nPa(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=_.tz("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;CA(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||
(this.titleCloseEl_=this.JSC$37056_dom_.JSC$32305_createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));Iz(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.JSC$37089_class_+"-buttons";(this.buttonEl_=_.ik(document,null,b,a)[0])?(this.buttons_=new JA(this.JSC$37056_dom_),this.buttons_.decorate(this.buttonEl_)):(this.buttonEl_=this.JSC$37056_dom_.JSC$32305_createDom("DIV",b),a.appendChild(this.buttonEl_),this.buttons_&&(a=this.buttons_,a.JSC$37094_element_=this.buttonEl_,a.render()),
Iz(this.buttonEl_,!!this.buttons_));vRa(this,this.backgroundElementOpacity_)};
_.f.enterDocument=function(){LA.superClass_.enterDocument.call(this);AA(this).listen(this.getElement(),"keydown",this.onKey_).listen(this.getElement(),"keypress",this.onKey_);AA(this).listen(this.buttonEl_,"click",this.onButtonClick_);wRa(this,!0);AA(this).listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();BA(a,"dialog");""!==this.titleTextEl_.id&&CA(a,"labelledby",this.titleTextEl_.id);if(!this.modal_){this.modal_=!1;if(this.inDocument_){a=this.JSC$37056_dom_;var b=
this.getBackgroundElement();a.removeNode(this.bgIframeEl_);a.removeNode(b)}this.isVisible()&&rRa(this,!1)}};
_.f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);wRa(this,!1);LA.superClass_.exitDocument.call(this)};
_.f.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),LA.superClass_.setVisible.call(this,a))};
_.f.onShow=function(){LA.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
_.f.onHide=function(){LA.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.JSC$37091_disposeOnHide_&&this.dispose()};
_.f.setDraggerLimits_=function(){var a=this.JSC$37056_dom_.JSC$32303_document_,b=_.jk(_.lk(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Gz(this.getElement());"fixed"==_.dz(this.getElement(),"position")?this.JSC$37091_dragger_.limits=new _.Dz(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.JSC$37091_dragger_.limits=new _.Dz(0,0,c-d.width,a-d.height)};
_.f.onTitleCloseClick_=function(){xRa(this)};
var xRa=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new MA(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},yRa=function(a){a.hasTitleCloseButton_=!1;
a.titleCloseEl_&&Iz(a.titleCloseEl_,a.hasTitleCloseButton_)};
LA.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;LA.superClass_.disposeInternal.call(this)};
LA.prototype.onButtonClick_=function(a){a:{for(a=a.target;null!=a&&a!=this.buttonEl_;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.buttons_.get(a);this.dispatchEvent(new MA(a,b))&&this.setVisible(!1)}};
LA.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if("keydown"==a.type)if(this.escapeToCancel_&&27==a.keyCode){var h=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;h&&!e?(c=!0,b=d.get(h),b=this.dispatchEvent(new MA(h,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(v){}_.Wk(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)h=
e.name;else if(e==this.titleCloseEl_)xRa(this);else if(d){var l=d.defaultButton_,m;if(m=l)a:{m=_.Ib("BUTTON",d.JSC$37094_element_);for(var p=0,r;r=m[p];p++)if(r.name==l||r.id==l){m=r;break a}m=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!m||m.disabled||e||(h=l)}h&&d&&(c=!0,b=this.dispatchEvent(new MA(h,String(d.get(h)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||xRa(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var MA=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};
_.cj(MA,_.yk);var JA=function(a){FA.call(this);a||_.Wt();this.cancelButton_=this.JSC$37094_element_=this.defaultButton_=null};
_.cj(JA,FA);_.f=JA.prototype;_.f.clear=function(){FA.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};
_.f.set=function(a,b,c,d){FA.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
_.f.addButton=function(a,b,c){return this.set(a.key,a.caption,b,c)};
_.f.render=function(){if(this.JSC$37094_element_){_.yz(this.JSC$37094_element_,_.Ooa);var a=_.Wt(this.JSC$37094_element_);this.forEach(function(b,c){b=a.JSC$32305_createDom("BUTTON",{name:c},b);c==this.defaultButton_&&(b.className="goog-buttonset-default");this.JSC$37094_element_.appendChild(b)},this)}};
_.f.decorate=function(a){if(a&&1==a.nodeType){this.JSC$37094_element_=a;a=_.Ib("BUTTON",this.JSC$37094_element_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=nPa(c)||c.value,d){var h=0==b;this.set(d,e,h,"cancel"==c.name);h&&_.Nz(c,"goog-buttonset-default")}}};
_.f.getElement=function(){return this.JSC$37094_element_};
var tRa={key:"ok",caption:"OK"},KA={key:"cancel",caption:"Cancel"},zRa={key:"yes",caption:"Yes"},ARa={key:"no",caption:"No"},BRa={key:"save",caption:"Save"},CRa={key:"continue",caption:"Continue"};"undefined"!=typeof document&&((new JA).addButton(tRa,!0,!0),(new JA).addButton(tRa,!0).addButton(KA,!1,!0),(new JA).addButton(zRa,!0).addButton(ARa,!1,!0),(new JA).addButton(zRa).addButton(ARa,!0).addButton(KA,!1,!0),(new JA).addButton(CRa).addButton(BRa).addButton(KA,!0,!0));
var DRa=function(a,b,c){LA.call(this,a,b,c)};
_.cj(DRa,LA);
var ERa=function(a){uA.call(this,a)};
_.cj(ERa,uA);
var FRa=_.Tt(_.jb("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),GRa=_.Tt(_.jb("//apis.google.com/js/rpc.js")),cz=null;
var NA=function(a,b){_.Kk.call(this);this.JSC$37113_element_=a;a=_.ok(this.JSC$37113_element_)?this.JSC$37113_element_:this.JSC$37113_element_?this.JSC$37113_element_.body:null;this.JSC$37113_isRtl_=!!a&&_.Jz(a);this.listenKey_=_.Fk(this.JSC$37113_element_,_.Ej?"DOMMouseScroll":"mousewheel",this,b)};
_.cj(NA,_.Kk);NA.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=HRa(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=HRa(-d.wheelDeltaX),c=HRa(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.maxDeltaX_&&(b=_.Az(b,-this.maxDeltaX_,this.maxDeltaX_));"number"===typeof this.maxDeltaY_&&(c=_.Az(c,-this.maxDeltaY_,this.maxDeltaY_));this.JSC$37113_isRtl_&&(b=-b);b=new IRa(a,d,b,c);this.dispatchEvent(b)};
var HRa=function(a){return _.Fj&&(_.Gj||_.ipa)&&0!=a%40?a:a/40};
NA.prototype.disposeInternal=function(){NA.superClass_.disposeInternal.call(this);_.Jk(this.listenKey_);this.listenKey_=null};
var IRa=function(a,b,c,d){_.Ak.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};
_.cj(IRa,_.Ak);
var JRa;
var OA=function(a,b,c,d,e,h,l){LA.call(this,h?h+" picker modal-dialog":"picker modal-dialog",!0,c);_.Se(a,"protocol");this.iframeManager_=new JQa;this.targetId_=_.Jt();this.rpcToken_=_.Jt();this.useGapi_=!1;this.setUrl(a);this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?c=!0:(c=_.wz(_.Bm(a),"hostId"),JRa||(JRa=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
c=!JRa.has(c));this.autoSizeDialog_=c;this.JSC$37118_gadgetsDomHelper_=l||this.JSC$37056_dom_;b&&(_.wz(_.Bm(a),"hostId"),b="true"==_.wz(_.Bm(this.JSC$37120_url_),"grugl")?GRa:FRa,l=this.JSC$37118_gadgetsDomHelper_,BOa(l)||(l=l||_.Wt(document),c=l.createElement("SCRIPT"),_.Fb(c,b),c.type="text/javascript",l.JSC$32303_document_.body.appendChild(c)));b=null;l=a.indexOf("/picker?");-1<l?b=a.substring(0,l+8-1):_.Id(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+"/resources/rpc_relay.html");this.escapeToCancel_=
!1;this.buttons_=null;this.buttonEl_&&(this.buttons_?(a=this.buttons_,a.JSC$37094_element_=this.buttonEl_,a.render()):_.yz(this.buttonEl_,_.Ooa),Iz(this.buttonEl_,!!this.buttons_))};
_.cj(OA,DRa);_.f=OA.prototype;_.f.JSC$37120_url_="";_.f.JSC$37120_iframe_=null;_.f.iframeLoaded_=!1;_.f.loadedFired_=!1;_.f.callback_=function(){};
_.f.enterDocument=function(){OA.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=AA(this),c=new NA(a);_.wk(b,c);b.listen(c,"mousewheel",(0,_.$i)(DOa,void 0,a)).listen(a,"scroll",(0,_.$i)(DOa,void 0,a))};
_.f.render=function(a){var b=this;OA.superClass_.render.call(this,a);this.useGapi_?KQa(this.iframeManager_,window).then(function(){return KRa(b)}).then(null,function(){b.callback_({action:"error"})}):LRa(this)};
var KRa=function(a){var b=a.JSC$37056_dom_.JSC$32305_createDom("div",["picker-dialog-content","picker-frame"]);Iz(b,!1);a.getContentElement().appendChild(b);return LQa(a.iframeManager_,b,function(c){var d=_.zz(bQa,c["iframe-command"]);switch(_.Tj(d,1,0)){case 1:c=a.callback_;var e=_.Va(d,RPa,2);d="";switch(e.getStatus()){case 2:d="cancel";break;case 1:d="picked";break;case 3:d="error"}e=_.Ua(e,Uz,2);d=0===e.length?{action:d}:BQa(e,d);c.call(a,d);a.setVisible(!1);break;case 4:yRa(a),a.callback_({action:"loaded"})}},
a.JSC$37120_url_,a.targetId_,a.rpcToken_).then(function(c){a.JSC$37120_iframe_=c.getIframeEl();
MRa(a);Iz(a.JSC$37120_iframe_.parentElement,!0);_.Nz(a.getElement(),"picker-dialog");NRa(a);return c})},LRa=function(a){a.JSC$37120_iframe_=a.JSC$37056_dom_.JSC$32305_createDom("IFRAME",{id:a.targetId_,
name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});_.Cb(a.JSC$37120_iframe_,ORa(a));_.Nz(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.JSC$37120_iframe_);AA(a).listen(a.JSC$37120_iframe_,"load",function(){return void MRa(a)});
a.JSC$37120_iframe_.src=a.JSC$37120_url_;NRa(a)},PRa=function(a){PA(a,(0,_.$i)(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},NRa=function(a){var b=_.wz(_.Bm(a.JSC$37120_url_),"title");
b&&a.setTitle(b)},ORa=function(a){var b=_.ua();
if(_.iaa()){var c=/rv: *([\d\.]*)/.exec(b);if(c&&c[1])b=c[1];else{c="";var d=/MSIE +([\d\.]+)/.exec(b);if(d&&d[1])if(b=/Trident\/(\d.\d)/.exec(b),"7.0"==d[1])if(b&&b[1])switch(b[1]){case "4.0":c="8.0";break;case "5.0":c="9.0";break;case "6.0":c="10.0";break;case "7.0":c="11.0"}else c="7.0";else c=d[1];b=c}}else b="";""===b?b=NaN:(b=b.split("."),b=0===b.length?NaN:Number(b[0]));return 7<=b&&_.hi(a.JSC$37120_url_,"https")?_.Tt(_.jb("https://about:blank")):_.Cj?_.Tt(_.jb('javascript:""')):_.Tt(_.jb("about:blank"))},
MRa=function(a){PRa(a);
a.iframeLoaded_=!0;a.JSC$37120_iframe_.tabIndex=0;a.isVisible()&&a.focus()};
OA.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};
var PA=function(a,b){var c=a.JSC$37118_gadgetsDomHelper_;COa(function(){b(_.kk(c.JSC$32303_document_).gadgets.rpc)},c)};
OA.prototype.setUrl=function(a){a=_.vz(new _.Jh(a),"rpcService",this.targetId_);this.useGapi_=void 0!==_.wz(a,"v2");_.vz(a,"rpctoken",this.rpcToken_);_.xm(a,"rpctoken="+this.rpcToken_);_.sm(a,"https");this.JSC$37120_url_=a.toString();this.JSC$37120_iframe_&&(this.JSC$37120_iframe_.src=this.JSC$37120_url_)};
var QRa=function(a,b){a.callback_=b;PA(a,(0,_.$i)(function(c){c.register(this.targetId_,(0,_.$i)(this.handlePickerAction_,this))},a))};
OA.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,RRa(this,new bRa(this.isVisible())),SRa(this),yRa(this),AA(this).unlisten(_.kk(this.JSC$37056_dom_.JSC$32303_document_),"keydown",this.handleKeydown_),this.JSC$37120_iframe_.tabIndex=0);"picked"!=b&&"cancel"!=b||this.setVisible(!1);this.callback_(a)};
var SRa=function(a){a.JSC$37120_appId_&&RRa(a,new AOa(a.JSC$37120_appId_,window.location.protocol+"//"+window.location.host))};
OA.prototype.setRelayUrl=function(a){PA(this,(0,_.$i)(function(b){b.setRelayUrl(this.targetId_,a)},this))};
var RRa=function(a,b){a.useGapi_&&WQa(b,a.iframeManager_).then(null,function(){a.callback_({action:"error"})});
PA(a,(0,_.$i)(function(c){c.call(this.targetId_,"picker",null,b)},a))};
OA.prototype.resizePicker_=function(){var a=_.lk(this.JSC$37056_dom_.JSC$32303_document_)||window;if("true"==_.wz(_.Bm(this.JSC$37120_url_),"ignoreLimits"))a=new _.gk(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==_.wz(_.Bm(this.JSC$37120_url_),"shadeDialog")){var b=uPa(uRa(this)),c=_.jk(a);a=c.width-80;c=c.height-40;b&&(a-=b.left?b.left:0,a-=b.right?b.right:0,c-=b.top?b.top:0,c-=b.bottom?b.bottom:0);a=new _.gk(0<a?a:0,0<c?c:0)}else{b=this.preferredDialogWidth_;if(b){b=Math.max(320,
Math.min(1051,b));c=this.preferredDialogHeight_;c||(c=_.jk(a),c=.85*c.height);var d=Math.max(320,Math.min(650,c))}else c=_.jk(a),b=.618*c.width,d=b<c.height?Math.round(Math.max(320,Math.min(650,.85*b))):Math.round(Math.max(320,Math.min(650,.85*c.height))),b=Math.round(d/.618);c=_.jk(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,320));a=new _.gk(b,d)}_.Fz(this.getContentElement(),a);this.reposition()};
OA.prototype.reposition=function(){if("true"==_.wz(_.Bm(this.JSC$37120_url_),"shadeDialog")){var a=Gz(this.getElement());a=Math.floor(_.jk(_.kk(this.JSC$37056_dom_.JSC$32303_document_)).width/2-a.width/2);var b=uPa(uRa(this));if(b){var c=b.left?b.left:0;c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=0<a?a:0;b=_.Mt(this.JSC$37056_dom_.JSC$32303_document_).y;Ez(this.getElement(),a,b)}else OA.superClass_.reposition.call(this)};
OA.prototype.setVisible=function(a){if(a!=this.isVisible()&&this.autoSizeDialog_){var b=_.kk(this.JSC$37056_dom_.JSC$32303_document_);a?(this.resizePicker_(),AA(this).listen(b,"resize",this.resizePicker_),this.iframeLoaded_||AA(this).listen(b,"keydown",this.handleKeydown_)):(AA(this).unlisten(b,"resize",this.resizePicker_),this.iframeLoaded_||AA(this).unlisten(b,"keydown",this.handleKeydown_))}OA.superClass_.setVisible.call(this,a);RRa(this,new bRa(a))};
OA.prototype.focus=function(){OA.superClass_.focus.call(this);if(this.JSC$37120_iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.JSC$37120_iframe_.focus()}catch(a){}};
var gz=function(a){uA.call(this,a);this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);a&&this.urlParamMap_.set("origin",a);this.postProcessors_=[]};
_.cj(gz,ERa);gz.prototype.JSC$37130_disposeOnHide_=!1;_.URa=function(a){a.getRelayUrl()||a.setRelayUrl(_.vm(_.xm(_.wm(_.Bm(window.location.href)),""),"/favicon.ico").toString());if(a.urlParamMap_.get("minimal"))throw Error("$d");var b=new OA(TRa(a).toString(),!0,null,a.dialogWidth_,a.dialogHeight_,"",void 0);b.JSC$37091_disposeOnHide_=a.JSC$37130_disposeOnHide_;b.JSC$37120_appId_=a.JSC$37012_appId_;b.loadedFired_&&SRa(b);QRa(b,a.callback_);return b};
_.f=gz.prototype;_.f.getHeight=function(){return this.dialogHeight_};
_.f.getRelayUrl=function(){return this.urlParamMap_.get("parent")};
_.f.getTitle=function(){return this.urlParamMap_.get("title")};
_.f.getWidth=function(){return this.dialogWidth_};
_.f.setRelayUrl=function(a){this.urlParamMap_.set("parent",a);return this};
_.f.setSize=function(a,b){this.dialogWidth_=a;this.dialogHeight_=b;return this};
_.f.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var TRa=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",(0,_.Il)(a.postProcessors_));a.urlParamMap_.set("nav",qQa(a.nav_));var b=new _.Jh(a.getBaseUrl());a.urlParamMap_.forEach(function(e,h){_.vz(b,h,e)});
var c=TQa(a.getBaseUrl(),a.nav_,a.urlParamMap_,a.postProcessors_);if(null!==c){_.vz(b,"amc","true");var d=!1;switch(a.urlParamMap_.get("hostId")){case "gmail-to":case "og":case "hangouts-profile-picture":case "testing":case "youtube-video-importer":case "ritz":case "punch":case "freebird-themes":case "freebird":case "atariImage":case "homeroom-doc-select":case "homeroom-doc-attach":d=!0}d&&_.vz(b,"v2",UQa(c))}return b};
var XRa=function(a,b){void 0!==a.name?(this.name=a.name,this.code=VRa[a.name]):(this.code=a=a.code,this.name=WRa(a));_.aa.call(this,cPa("%s %s",this.name,b))};
_.cj(XRa,_.aa);var WRa=function(a){var b=_.u.findKey(VRa,function(c){return a==c});
if(void 0===b)throw Error("be`"+a);return b},QA={},VRa=(QA.AbortError=3,QA.EncodingError=5,QA.InvalidModificationError=9,QA.InvalidStateError=7,QA.NotFoundError=1,QA.NotReadableError=4,QA.NoModificationAllowedError=6,QA.PathExistsError=12,QA.QuotaExceededError=10,QA.SecurityError=2,QA.SyntaxError=8,QA.TypeMismatchError=11,QA);
var YRa=function(a,b){_.yk.call(this,a.type,b);this.event_=a};
_.cj(YRa,_.yk);
var ZRa=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};
var FOa=new WeakMap,EOa=function(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};
_.GOa(function(){if(!_.g.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});
var $Ra=_.GOa(function(){if(!_.g.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===ZRa(b,0,1)?!1:!0});
var SA=function(a,b,c,d,e){this.reversed=!!b;this.node=null;this.tagType=0;this.started_=!1;this.constrained=!c;a&&RA(this,a,d);this.depth=void 0!=e?e:this.tagType||0;this.reversed&&(this.depth*=-1)};
_.cj(SA,_.Pl);var RA=function(a,b,c,d){if(a.node=b)a.tagType="number"===typeof c?c:1!=a.node.nodeType?0:a.reversed?-1:1;"number"===typeof d&&(a.depth=d)};
_.f=SA.prototype;_.f.JSC$37140_copyFrom=function(a){this.node=a.node;this.tagType=a.tagType;this.depth=a.depth;this.reversed=a.reversed;this.constrained=a.constrained};
_.f.clone=function(){return new SA(this.node,this.reversed,!this.constrained,this.tagType,this.depth)};
_.f.next=function(){if(this.started_){if(!this.node||this.constrained&&0==this.depth)return _.Ql;var a=this.node;var b=this.reversed?-1:1;if(this.tagType==b){var c=this.reversed?a.lastChild:a.firstChild;c?RA(this,c):RA(this,a,-1*b)}else(c=this.reversed?a.previousSibling:a.nextSibling)?RA(this,c):RA(this,a.parentNode,-1*b);this.depth+=this.tagType*(this.reversed?-1:1)}else this.started_=!0;return(a=this.node)?_.Rl(a):_.Ql};
_.f.equals=function(a){return a.node==this.node&&(!this.node||a.tagType==this.tagType)};
_.f.splice=function(a){var b=this.node,c=this.reversed?1:-1;this.tagType==c&&(this.tagType=-1*c,this.depth+=this.tagType*(this.reversed?-1:1));this.reversed=!this.reversed;SA.prototype.next.call(this);this.reversed=!this.reversed;c=_.la(arguments[0])?arguments[0]:arguments;for(var d=c.length-1;0<=d;d--)Bz(c[d],b);_.Hb(b)};
var TA=function(){},UA=function(a){for(var b=[],c=0,d=a.getTextRangeCount();c<d;c++)b.push(a.getTextRange(c));
return b};
TA.prototype.isReversed=function(){return!1};
TA.prototype.replaceContentsWithNode=function(a){this.isCollapsed()||this.JSC$37143_removeContents();this.insertNode(a,!0)};
var VA=function(a,b){SA.call(this,a,b,!0)};
_.cj(VA,SA);
var WA=function(a,b,c,d,e){this.endNode_=this.startNode_=null;this.endOffset_=this.startOffset_=0;this.isReversed_=!!e;if(a){this.startNode_=a;this.startOffset_=b;this.endNode_=c;this.endOffset_=d;if(1==a.nodeType&&"BR"!=a.tagName)if(a=a.childNodes,b=a[b])this.startNode_=b,this.startOffset_=0;else{a.length&&(this.startNode_=_.ba(a));var h=!0}1==c.nodeType&&((this.endNode_=c.childNodes[d])?this.endOffset_=0:this.endNode_=c)}SA.call(this,this.isReversed_?this.endNode_:this.startNode_,this.isReversed_,
!0);h&&this.next()};
_.cj(WA,VA);_.f=WA.prototype;_.f.JSC$37149_getStartNode=function(){return this.startNode_};
_.f.isLast=function(){return this.started_&&(this.node!=(this.isReversed_?this.startNode_:this.endNode_)?!1:this.isReversed_?this.startOffset_?-1!=this.tagType:1==this.tagType:!this.endOffset_||1!=this.tagType)};
_.f.next=function(){return this.isLast()?_.Ql:WA.superClass_.next.call(this)};
_.f.JSC$37140_copyFrom=function(a){this.startNode_=a.startNode_;this.endNode_=a.endNode_;this.startOffset_=a.startOffset_;this.endOffset_=a.endOffset_;this.isReversed_=a.isReversed_;WA.superClass_.JSC$37140_copyFrom.call(this,a)};
_.f.clone=function(){var a=new WA(this.startNode_,this.startOffset_,this.endNode_,this.endOffset_,this.isReversed_);a.JSC$37140_copyFrom(this);return a};
var aSa=function(){},bSa=function(a,b,c){c=c&&!b.isCollapsed();
b=b.JSC$37154_range_;try{return c?0<=a.compareBrowserRangeEndpoints(b,0,1)&&0>=a.compareBrowserRangeEndpoints(b,1,0):0<=a.compareBrowserRangeEndpoints(b,0,0)&&0>=a.compareBrowserRangeEndpoints(b,1,1)}catch(d){if(!_.Cj)throw d;return!1}};
aSa.prototype.__iterator__=function(){return new WA(this.JSC$37154_range_.startContainer,this.JSC$37154_range_.startOffset,this.JSC$37154_range_.endContainer,this.JSC$37154_range_.endOffset)};
var XA=function(a){this.JSC$37154_range_=a};
_.cj(XA,aSa);var cSa=function(a){var b=_.nk(a).createRange();if(3==a.nodeType)b.setStart(a,0),b.setEnd(a,a.length);else if(_.mk(a)||3==a.nodeType){for(var c,d=a;(c=d.firstChild)&&(_.mk(c)||3==c.nodeType);)d=c;b.setStart(d,0);for(d=a;(c=d.lastChild)&&(_.mk(c)||3==c.nodeType);)d=c;b.setEnd(d,1==d.nodeType?d.childNodes.length:d.length)}else c=a.parentNode,a=Array.prototype.indexOf.call(c.childNodes,a),b.setStart(c,a),b.setEnd(c,a+1);return b},dSa=function(a,b,c,d){var e=_.nk(a).createRange();
e.setStart(a,b);e.setEnd(c,d);return e};
_.f=XA.prototype;_.f.clone=function(){return new this.constructor(this.JSC$37154_range_.cloneRange())};
_.f.getContainer=function(){return this.JSC$37154_range_.commonAncestorContainer};
_.f.compareBrowserRangeEndpoints=function(a,b,c){return this.JSC$37154_range_.compareBoundaryPoints(1==c?1==b?_.g.Range.START_TO_START:_.g.Range.START_TO_END:1==b?_.g.Range.END_TO_START:_.g.Range.END_TO_END,a)};
_.f.isCollapsed=function(){return this.JSC$37154_range_.collapsed};
_.f.select=function(a){this.selectInternal(_.lk(_.nk(this.JSC$37154_range_.startContainer)).getSelection(),a)};
_.f.selectInternal=function(a){a.removeAllRanges();a.addRange(this.JSC$37154_range_)};
_.f.insertNode=function(a,b){var c=this.JSC$37154_range_.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};
_.f.collapse=function(a){this.JSC$37154_range_.collapse(a)};
var YA=function(a){this.JSC$37154_range_=a};
_.cj(YA,XA);YA.prototype.selectInternal=function(a,b){!b||this.isCollapsed()?YA.superClass_.selectInternal.call(this,a,b):(a.collapse(this.JSC$37154_range_.endContainer,this.JSC$37154_range_.endOffset),a.extend(this.JSC$37154_range_.startContainer,this.JSC$37154_range_.startOffset))};
var ZA=function(a){this.JSC$37154_range_=a};
_.cj(ZA,XA);ZA.prototype.compareBrowserRangeEndpoints=function(a,b,c){return ZA.superClass_.compareBrowserRangeEndpoints.call(this,a,b,c)};
ZA.prototype.selectInternal=function(a,b){b?a.setBaseAndExtent(this.JSC$37154_range_.endContainer,this.JSC$37154_range_.endOffset,this.JSC$37154_range_.startContainer,this.JSC$37154_range_.startOffset):a.setBaseAndExtent(this.JSC$37154_range_.startContainer,this.JSC$37154_range_.startOffset,this.JSC$37154_range_.endContainer,this.JSC$37154_range_.endOffset)};
var eSa=function(a){return _.Fj?new ZA(a):_.Ej?new YA(a):new XA(a)};
var $A=function(){this.endOffset_=this.endNode_=this.startOffset_=this.startNode_=this.browserRangeWrapper_=null;this.isReversed_=!1};
_.cj($A,TA);var fSa=function(a,b){var c=new $A;c.browserRangeWrapper_=a;c.isReversed_=!!b;return c},aB=function(a){a=_.Fj?new ZA(cSa(a)):_.Ej?new YA(cSa(a)):new XA(cSa(a));
return fSa(a)},bB=function(a,b,c,d){var e=new $A;
e.isReversed_=gSa(a,b,c,d);if(_.ok(a)&&!_.mk(a)){var h=a.parentNode;b=Array.prototype.indexOf.call(h.childNodes,a);a=h}_.ok(c)&&!_.mk(c)&&(h=c.parentNode,d=Array.prototype.indexOf.call(h.childNodes,c),c=h);e.isReversed_?(e.startNode_=c,e.startOffset_=d,e.endNode_=a,e.endOffset_=b):(e.startNode_=a,e.startOffset_=b,e.endNode_=c,e.endOffset_=d);return e};
_.f=$A.prototype;_.f.clone=function(){var a=new $A;a.browserRangeWrapper_=this.browserRangeWrapper_&&this.browserRangeWrapper_.clone();a.startNode_=this.startNode_;a.startOffset_=this.startOffset_;a.endNode_=this.endNode_;a.endOffset_=this.endOffset_;a.isReversed_=this.isReversed_;return a};
_.f.JSC$37143_getType=function(){return"text"};
_.f.getBrowserRangeObject=function(){return cB(this).JSC$37154_range_};
_.f.getTextRangeCount=function(){return 1};
_.f.getTextRange=function(){return this};
var cB=function(a){var b;if(!(b=a.browserRangeWrapper_)){b=a.JSC$37143_getStartNode();var c=a.JSC$37143_getStartOffset(),d=a.JSC$37143_getEndNode(),e=a.JSC$37143_getEndOffset();b=_.Fj?new ZA(dSa(b,c,d,e)):_.Ej?new YA(dSa(b,c,d,e)):new XA(dSa(b,c,d,e));b=a.browserRangeWrapper_=b}return b};
_.f=$A.prototype;_.f.getContainer=function(){return cB(this).getContainer()};
_.f.JSC$37143_getStartNode=function(){return this.startNode_||(this.startNode_=cB(this).JSC$37154_range_.startContainer)};
_.f.JSC$37143_getStartOffset=function(){return null!=this.startOffset_?this.startOffset_:this.startOffset_=cB(this).JSC$37154_range_.startOffset};
_.f.JSC$37143_getEndNode=function(){return this.endNode_||(this.endNode_=cB(this).JSC$37154_range_.endContainer)};
_.f.JSC$37143_getEndOffset=function(){return null!=this.endOffset_?this.endOffset_:this.endOffset_=cB(this).JSC$37154_range_.endOffset};
_.f.isReversed=function(){return this.isReversed_};
_.f.JSC$37143_containsRange=function(a,b){var c=a.JSC$37143_getType();return"text"==c?bSa(cB(this),cB(a),b):"control"==c?(a=dB(a),(b?_.hj:_.cv)(a,function(d){return this.JSC$37143_containsNode(d,b)},this)):!1};
_.f.JSC$37143_containsNode=function(a,b){return this.JSC$37143_containsRange(aB(a),b)};
_.f.isCollapsed=function(){return cB(this).isCollapsed()};
_.f.JSC$37143_getText=function(){return cB(this).JSC$37154_range_.toString()};
_.f.__iterator__=function(){return new WA(this.JSC$37143_getStartNode(),this.JSC$37143_getStartOffset(),this.JSC$37143_getEndNode(),this.JSC$37143_getEndOffset())};
_.f.select=function(){cB(this).select(this.isReversed_)};
_.f.JSC$37143_removeContents=function(){var a=cB(this),b=a.JSC$37154_range_;b.extractContents();if(b.startContainer.hasChildNodes()){var c=b.startContainer.childNodes[b.startOffset];if(c){var d=c.previousSibling;""==oPa(c)&&_.Hb(c);d&&""==oPa(d)&&_.Hb(d)}}if(_.Dj){c=a.JSC$37154_range_.startContainer;d=a.JSC$37154_range_.startOffset;var e=a.JSC$37154_range_.endContainer;a=a.JSC$37154_range_.endOffset;var h=c.nextSibling;c==e&&c.parentNode&&3==c.nodeType&&h&&3==h.nodeType&&(c.nodeValue+=h.nodeValue,
_.Hb(h),b.setStart(c,d),b.setEnd(e,a))}this.startNode_=this.startOffset_=this.endNode_=this.endOffset_=null};
_.f.insertNode=function(a,b){a=cB(this).insertNode(a,b);this.startNode_=this.startOffset_=this.endNode_=this.endOffset_=null;return a};
_.f.collapse=function(a){a=this.isReversed()?!a:a;this.browserRangeWrapper_&&this.browserRangeWrapper_.collapse(a);a?(this.endNode_=this.startNode_,this.endOffset_=this.startOffset_):(this.startNode_=this.endNode_,this.startOffset_=this.endOffset_);this.isReversed_=!1};
var eB=function(){};
_.cj(eB,TA);eB.prototype.JSC$37143_containsRange=function(a,b){var c=UA(this);a=UA(a);return(b?_.hj:_.cv)(a,function(d){return _.hj(c,function(e){return e.JSC$37143_containsRange(d,b)})})};
eB.prototype.JSC$37143_containsNode=function(a,b){return this.JSC$37143_containsRange(aB(a),b)};
eB.prototype.insertNode=function(a,b){b?_.uz(a,this.JSC$37143_getStartNode()):Bz(a,this.JSC$37143_getEndNode());return a};
var fB=function(){this.sortedElements_=this.elements_=this.JSC$37172_range_=null};
_.cj(fB,eB);var hSa=function(a){var b=new fB;b.JSC$37172_range_=a;return b},iSa=function(a){for(var b=_.nk(arguments[0]).body.createControlRange(),c=0,d=arguments.length;c<d;c++)b.addElement(arguments[c]);
return hSa(b)};
_.f=fB.prototype;_.f.clone=function(){return iSa.apply(this,dB(this))};
_.f.JSC$37143_getType=function(){return"control"};
_.f.getBrowserRangeObject=function(){return this.JSC$37172_range_||document.body.createControlRange()};
_.f.getTextRangeCount=function(){return this.JSC$37172_range_?this.JSC$37172_range_.length:0};
_.f.getTextRange=function(a){return aB(this.JSC$37172_range_.item(a))};
_.f.getContainer=function(){return iPa.apply(null,dB(this))};
_.f.JSC$37143_getStartNode=function(){return jSa(this)[0]};
_.f.JSC$37143_getStartOffset=function(){return 0};
_.f.JSC$37143_getEndNode=function(){var a=jSa(this),b=_.ba(a);return a.find(function(c){return _.qk(c,b)})};
_.f.JSC$37143_getEndOffset=function(){return this.JSC$37143_getEndNode().childNodes.length};
var dB=function(a){if(!a.elements_&&(a.elements_=[],a.JSC$37172_range_))for(var b=0;b<a.JSC$37172_range_.length;b++)a.elements_.push(a.JSC$37172_range_.item(b));return a.elements_},jSa=function(a){a.sortedElements_||(a.sortedElements_=dB(a).concat(),a.sortedElements_.sort(function(b,c){return b.sourceIndex-c.sourceIndex}));
return a.sortedElements_};
_.f=fB.prototype;_.f.isCollapsed=function(){return!this.JSC$37172_range_||!this.JSC$37172_range_.length};
_.f.JSC$37143_getText=function(){return""};
_.f.__iterator__=function(){return new gB(this)};
_.f.select=function(){this.JSC$37172_range_&&this.JSC$37172_range_.select()};
_.f.JSC$37143_removeContents=function(){if(this.JSC$37172_range_){for(var a=[],b=0,c=this.JSC$37172_range_.length;b<c;b++)a.push(this.JSC$37172_range_.item(b));a.forEach(_.Hb);this.collapse(!1)}};
_.f.replaceContentsWithNode=function(a){this.insertNode(a,!0);this.isCollapsed()||this.JSC$37143_removeContents()};
_.f.collapse=function(){this.sortedElements_=this.elements_=this.JSC$37172_range_=null};
var gB=function(a){this.elements_=this.endNode_=this.startNode_=null;a&&(this.elements_=jSa(a),this.startNode_=this.elements_.shift(),this.endNode_=_.ba(this.elements_)||this.startNode_);SA.call(this,this.startNode_,!1,!0)};
_.cj(gB,VA);_.f=gB.prototype;_.f.JSC$37149_getStartNode=function(){return this.startNode_};
_.f.isLast=function(){return!this.depth&&!this.elements_.length};
_.f.next=function(){if(this.isLast())return _.Ql;if(!this.depth){var a=this.elements_.shift();RA(this,a,1,1);return _.Rl(a)}return gB.superClass_.next.call(this)};
_.f.JSC$37140_copyFrom=function(a){this.elements_=a.elements_;this.startNode_=a.startNode_;this.endNode_=a.endNode_;gB.superClass_.JSC$37140_copyFrom.call(this,a)};
_.f.clone=function(){var a=new gB(null);a.JSC$37140_copyFrom(this);return a};
var hB=function(){this.browserRanges_=[];this.ranges_=[];this.JSC$37180_container_=this.sortedRanges_=null};
_.cj(hB,eB);_.f=hB.prototype;_.f.clone=function(){var a=new hB;a.browserRanges_=_.ka(this.browserRanges_);return a};
_.f.JSC$37143_getType=function(){return"mutli"};
_.f.getBrowserRangeObject=function(){return this.browserRanges_[0]};
_.f.getTextRangeCount=function(){return this.browserRanges_.length};
_.f.getTextRange=function(a){this.ranges_[a]||(this.ranges_[a]=fSa(eSa(this.browserRanges_[a])));return this.ranges_[a]};
_.f.getContainer=function(){if(!this.JSC$37180_container_){for(var a=[],b=0,c=this.getTextRangeCount();b<c;b++)a.push(this.getTextRange(b).getContainer());this.JSC$37180_container_=iPa.apply(null,a)}return this.JSC$37180_container_};
var iB=function(a){a.sortedRanges_||(a.sortedRanges_=UA(a),a.sortedRanges_.sort(function(b,c){var d=b.JSC$37143_getStartNode();b=b.JSC$37143_getStartOffset();var e=c.JSC$37143_getStartNode();c=c.JSC$37143_getStartOffset();return d==e&&b==c?0:gSa(d,b,e,c)?1:-1}));
return a.sortedRanges_};
_.f=hB.prototype;_.f.JSC$37143_getStartNode=function(){return iB(this)[0].JSC$37143_getStartNode()};
_.f.JSC$37143_getStartOffset=function(){return iB(this)[0].JSC$37143_getStartOffset()};
_.f.JSC$37143_getEndNode=function(){return _.ba(iB(this)).JSC$37143_getEndNode()};
_.f.JSC$37143_getEndOffset=function(){return _.ba(iB(this)).JSC$37143_getEndOffset()};
_.f.isCollapsed=function(){return 0==this.browserRanges_.length||1==this.browserRanges_.length&&this.getTextRange(0).isCollapsed()};
_.f.JSC$37143_getText=function(){return UA(this).map(function(a){return a.JSC$37143_getText()}).join("")};
_.f.__iterator__=function(){return new jB(this)};
_.f.select=function(){var a=_.lk(_.nk(_.Cj?this.getContainer():this.JSC$37143_getStartNode())).getSelection();a.removeAllRanges();for(var b=0,c=this.getTextRangeCount();b<c;b++)a.addRange(this.getTextRange(b).getBrowserRangeObject())};
_.f.JSC$37143_removeContents=function(){UA(this).forEach(function(a){a.JSC$37143_removeContents()})};
_.f.collapse=function(a){if(!this.isCollapsed()){var b=a?this.getTextRange(0):this.getTextRange(this.getTextRangeCount()-1);this.ranges_=[];this.JSC$37180_container_=this.sortedRanges_=null;b.collapse(a);this.ranges_=[b];this.sortedRanges_=[b];this.browserRanges_=[b.getBrowserRangeObject()]}};
var jB=function(a){this.iterators_=null;this.currentIdx_=0;a&&(this.iterators_=iB(a).map(function(b){return _.Sl(b)}));
SA.call(this,a?this.JSC$37149_getStartNode():null,!1,!0)};
_.cj(jB,VA);_.f=jB.prototype;_.f.JSC$37149_getStartNode=function(){return this.iterators_[0].JSC$37149_getStartNode()};
_.f.isLast=function(){return this.iterators_[this.currentIdx_].isLast()};
_.f.next=function(){for(;this.currentIdx_<this.iterators_.length;){var a=this.iterators_[this.currentIdx_],b=a.next();if(b.done)this.currentIdx_++;else return RA(this,a.node,a.tagType,a.depth),b}return _.Ql};
_.f.JSC$37140_copyFrom=function(a){this.iterators_=_.ka(a.iterators_);jB.superClass_.JSC$37140_copyFrom.call(this,a)};
_.f.clone=function(){var a=new jB(null);a.JSC$37140_copyFrom(this);return a};
var qz=function(){var a=window.getSelection();return a&&kSa(a)},kSa=function(a){var b=!1;
if(a.createRange)try{var c=a.createRange()}catch(e){return null}else if(a.rangeCount){if(1<a.rangeCount){b=new hB;c=0;for(var d=a.rangeCount;c<d;c++)b.browserRanges_.push(a.getRangeAt(c));return b}c=a.getRangeAt(0);b=gSa(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)}else return null;return(a=c)&&a.addElement?hSa(a):fSa(eSa(a),b)},kB=function(a,b){return bB(a,b,a,b)},lB=function(a,b,c,d){return bB(a,b,c,d)},gSa=function(a,b,c,d){if(a==c)return d<b;
var e;if(1==a.nodeType&&b)if(e=a.childNodes[b])a=e,b=0;else if(_.qk(a,c))return!0;if(1==c.nodeType&&d)if(e=c.childNodes[d])c=e,d=0;else if(_.qk(c,a))return!1;return 0<(hPa(a,c)||b-d)};
var mB=function(){_.Kk.call(this);this.reader_=new FileReader;this.reader_.onloadstart=(0,_.$i)(this.dispatchProgressEvent_,this);this.reader_.onprogress=(0,_.$i)(this.dispatchProgressEvent_,this);this.reader_.onload=(0,_.$i)(this.dispatchProgressEvent_,this);this.reader_.onabort=(0,_.$i)(this.dispatchProgressEvent_,this);this.reader_.onerror=(0,_.$i)(this.dispatchProgressEvent_,this);this.reader_.onloadend=(0,_.$i)(this.dispatchProgressEvent_,this)};
_.cj(mB,_.Kk);mB.prototype.abort=function(){try{this.reader_.abort()}catch(a){throw new XRa(a,"aborting read");}};
mB.prototype.getError=function(){return this.reader_.error&&new XRa(this.reader_.error,"reading file")};
mB.prototype.dispatchProgressEvent_=function(a){this.dispatchEvent(new YRa(a,this))};
mB.prototype.disposeInternal=function(){mB.superClass_.disposeInternal.call(this);delete this.reader_};
var mSa=function(a){var b=new mB,c=lSa(b);b.reader_.readAsArrayBuffer(a);return c},nSa=function(a){var b=new mB,c=lSa(b);
b.reader_.readAsDataURL(a);return c},lSa=function(a){var b=new _.yl;
a.listen("loadend",_.aj(function(c,d){var e=d.reader_.result,h=d.getError();null==e||h?c.errback(h):c.callback(e);d.dispose()},b,a));
return b};
var nB=function(){_.Kk.call(this);this.hysteresisDistance_=0;this.dragLists_=[];this.dragItems_=[];this.dragItemForHandle_={};this.JSC$37191_eventHandler_=new _.bA(this);this.JSC$37191_isInitialized_=!1};
_.cj(nB,_.Kk);var oSa=new _.xk("a"),pSa=new _.xk("beforedragstart"),qSa=new _.xk("dragstart"),rSa=new _.xk("beforedragmove"),sSa=new _.xk("dragmove"),tSa=new _.xk("beforedragend"),uSa=new _.xk("dragend"),vSa=new _.xk("b");nB.prototype.isDragging=function(){return!!this.JSC$37191_dragger_};
var wSa=function(a,b){b.dlgGrowthDirection_=0;b.dlgDragHoverClass_=void 0;b.dlgDragPermission=0;a.dragLists_.push(b)},xSa=function(a,b){a.getHandleForDragItem_=b};
nB.prototype.init=function(){if(!this.JSC$37191_isInitialized_){for(var a=0,b=this.dragLists_.length;a<b;a++)for(var c=_.xqa(this.dragLists_[a]),d=0,e=c.length;d<e;++d){var h=c[d],l=this.getHandleForDragItem_(h),m=_.qa(l);this.dragItemForHandle_[m]=h;this.dragItemHoverClasses_&&(this.JSC$37191_eventHandler_.listen(h,"mouseover",this.handleDragItemMouseover_),this.JSC$37191_eventHandler_.listen(h,"mouseout",this.handleDragItemMouseout_));this.dragItemHandleHoverClasses_&&(this.JSC$37191_eventHandler_.listen(l,
"mouseover",this.handleDragItemHandleMouseover_),this.JSC$37191_eventHandler_.listen(l,"mouseout",this.handleDragItemHandleMouseout_));this.dragItems_.push(h);this.JSC$37191_eventHandler_.listen(l,["mousedown","touchstart"],this.handlePotentialDragStart_)}this.JSC$37191_isInitialized_=!0}};
nB.prototype.disposeInternal=function(){this.JSC$37191_eventHandler_.dispose();for(var a=0,b=this.dragLists_.length;a<b;a++){var c=this.dragLists_[a];c.dlgGrowthDirection_=void 0;c.dlgDragHoverClass_=void 0}this.dragLists_.length=0;this.dragItems_.length=0;this.dragItemForHandle_=null;ySa(this);nB.superClass_.disposeInternal.call(this)};
var zSa=function(a,b){for(var c=0,d=a.dragLists_.length;c<d;c++){var e=a.dragLists_[c];e.dlgBounds_=Hz(e)}c=0;for(d=a.dragItems_.length;c<d;c++)e=a.dragItems_[c],e!=b&&(e.dlgBounds_=Hz(e))};
_.f=nB.prototype;
_.f.handlePotentialDragStart_=function(a){var b=_.qa(a.currentTarget);b=this.dragItemForHandle_[b];if(2!=b.parentElement.dlgDragPermission){this.currDragItem_=b;a:{b=this.currDragItem_;for(var c=b.cloneNode(!0),d=_.Ib("TEXTAREA",b),e=_.Ib("TEXTAREA",c),h=0;h<d.length;h++)e[h].value=d[h].value;switch(b.tagName){case "TR":b=_.tz("TABLE",null,_.tz("TBODY",null,c));break a;case "TD":case "TH":b=_.tz("TABLE",null,_.tz("TBODY",null,_.tz("TR",null,c)));break a;case "TEXTAREA":c.value=b.value;default:b=c}}this.draggerEl_=
b;this.draggerElClasses_&&Oz(this.draggerEl_,this.draggerElClasses_||[]);this.draggerEl_.style.margin="0";this.draggerEl_.style.position="absolute";this.draggerEl_.style.visibility="hidden";_.nk(this.currDragItem_).body.appendChild(this.draggerEl_);c=_.Zt(this.currDragItem_);b=this.draggerEl_;d=_.Zt(b);if(c instanceof _.fk){var l=c.y;c=c.x}Ez(b,b.offsetLeft+(c-d.x),b.offsetTop+(Number(l)-d.y));this.JSC$37191_dragger_=new DA(this.draggerEl_);this.JSC$37191_dragger_.hysteresisDistanceSquared_=Math.pow(this.hysteresisDistance_,
2);_.Fk(this.JSC$37191_dragger_,"start",this.handleDragStart_,!1,this);_.Fk(this.JSC$37191_dragger_,"end",this.handleDragEnd_,!1,this);_.Fk(this.JSC$37191_dragger_,"earlycancel",this.JSC$37193_cleanup_,!1,this);this.dispatchEvent(new oB(oSa,this,a,this.currDragItem_,this.draggerEl_,this.JSC$37191_dragger_));this.JSC$37191_dragger_.startDrag(a)}};
_.f.handleDragStart_=function(a){if(this.dispatchEvent(new oB(pSa,this,a.browserEvent,this.currDragItem_,null,null))){this.origList_=this.currDragItem_.parentNode;this.origNextItem_=ePa(this.currDragItem_);this.currHoverList_=this.origList_;this.currDragItemClasses_?Oz(this.currDragItem_,this.currDragItemClasses_||[]):this.currDragItem_.style.visibility="hidden";var b=Gz(this.draggerEl_);this.draggerEl_.halfWidth=b.width/2;this.draggerEl_.halfHeight=b.height/2;b=this.draggerEl_.getBoundingClientRect();
var c=a.clientY,d=eRa(this.JSC$37191_dragger_,a.clientX);if(d>b.right){var e=this.currDragItem_.getBoundingClientRect();this.JSC$37191_dragger_.deltaX=d-(d-e.left)/e.width*b.width}c=fRa(this.JSC$37191_dragger_,c);c>b.bottom&&(this.JSC$37191_dragger_.deltaY+=c-b.bottom);this.draggerEl_.style.visibility="";this.currDragItem_.style.display="none";zSa(this,this.currDragItem_);this.currDragItem_.style.display="";_.Fk(this.JSC$37191_dragger_,"drag",this.handleDragMove_,!1,this);this.dispatchEvent(new oB(qSa,
this,a.browserEvent,this.currDragItem_,this.draggerEl_,this.JSC$37191_dragger_))}else a.preventDefault(),this.JSC$37193_cleanup_()};
_.f.handleDragMove_=function(a){var b=_.Zt(this.draggerEl_);b=new _.fk(b.x+this.draggerEl_.halfWidth,b.y+this.draggerEl_.halfHeight);a:{var c=null;if("none"!=this.currDragItem_.style.display){c=this.currDragItem_.parentNode;var d=Hz(c);if(ASa(b,d))break a}d=0;for(var e=this.dragLists_.length;d<e;d++){var h=this.dragLists_[d];if(h!=c&&ASa(b,h.dlgBounds_)){c=h;break a}}c=null}if(c){if(null==c)throw Error("ce");d=0;e=!1;h=void 0;switch(c.dlgGrowthDirection_){case 0:d=b.y;var l=BSa;var m=CSa;break;case 4:e=
!0;case 2:d=b.x;l=DSa;m=CSa;break;case 5:e=!0;case 3:d=b.x,l=ESa,m=FSa}for(var p=null,r,v=_.xqa(c),z=0,A=v.length;z<A;z++){var D=v[z];if(D!=this.currDragItem_){var E=l(D.dlgBounds_);if(e){var J=GSa(D,b);void 0===h&&(h=J);m(d,E)&&(void 0==r||J<h||J==h&&(m(E,r)||E==r))&&(p=D,r=E);J<h&&(h=J)}else m(d,E)&&(void 0==r||m(E,r))&&(p=D,r=E)}}l=null!==p&&GSa(p,b)>h?null:p}else l=null;if(!this.dispatchEvent(new oB(rSa,this,a,this.currDragItem_,this.draggerEl_,this.JSC$37191_dragger_,b,c,l)))return!1;if(c&&1!=
c.dlgDragPermission)this.currDragItem_.parentNode==c&&ePa(this.currDragItem_)==l||c.insertBefore(this.currDragItem_,l),this.currDragItem_.style.display="",c.dlgDragHoverClass_&&_.Nz(c,c.dlgDragHoverClass_);else for(this.currDragItem_.style.display="none",m=0,r=this.dragLists_.length;m<r;m++)d=this.dragLists_[m],d.dlgDragHoverClass_&&_.Pz(d,d.dlgDragHoverClass_);c!=this.currHoverList_&&(this.currHoverList_=c,zSa(this,this.currDragItem_));this.dispatchEvent(new oB(sSa,this,a,this.currDragItem_,this.draggerEl_,
this.JSC$37191_dragger_,b,c,l));return!1};
_.f.JSC$37193_cleanup_=function(){ySa(this);this.JSC$37191_dragger_=this.draggerEl_=this.origNextItem_=this.origList_=this.currHoverList_=this.currDragItem_=null;for(var a=0,b=this.dragLists_.length;a<b;a++)this.dragLists_[a].dlgBounds_=null;a=0;for(b=this.dragItems_.length;a<b;a++)this.dragItems_[a].dlgBounds_=null};
_.f.handleDragEnd_=function(a){if(!this.dispatchEvent(new oB(tSa,this,a,this.currDragItem_,this.draggerEl_,this.JSC$37191_dragger_)))return!1;ySa(this);this.dispatchEvent(new oB(uSa,this,a,this.currDragItem_,this.draggerEl_,this.JSC$37191_dragger_));this.JSC$37193_cleanup_();return!0};
var ySa=function(a){_.Jb(a.JSC$37191_dragger_);var b=a.draggerEl_&&a.draggerEl_.parentElement;a.draggerEl_&&_.Hb(a.draggerEl_);a.currDragItem_&&"none"==a.currDragItem_.style.display&&(a.origList_.insertBefore(a.currDragItem_,a.origNextItem_),a.currDragItem_.style.display="");a.currDragItemClasses_&&a.currDragItem_?Qz(a.currDragItem_,a.currDragItemClasses_||[]):a.currDragItem_&&(a.currDragItem_.style.visibility="");for(var c=0,d=a.dragLists_.length;c<d;c++){var e=a.dragLists_[c];e.dlgDragHoverClass_&&
_.Pz(e,e.dlgDragHoverClass_)}b&&a.dispatchEvent(new oB(vSa,a,null,a.currDragItem_,a.draggerEl_,a.JSC$37191_dragger_))};
_.f=nB.prototype;_.f.getHandleForDragItem_=function(a){return a};
_.f.handleDragItemMouseover_=function(a){Oz(a.currentTarget,this.dragItemHoverClasses_||[])};
_.f.handleDragItemMouseout_=function(a){Qz(a.currentTarget,this.dragItemHoverClasses_||[])};
_.f.handleDragItemHandleMouseover_=function(a){Oz(a.currentTarget,this.dragItemHandleHoverClasses_||[])};
_.f.handleDragItemHandleMouseout_=function(a){Qz(a.currentTarget,this.dragItemHandleHoverClasses_||[])};
var ASa=function(a,b){return a.x>b.left&&a.x<b.left+b.width&&a.y>b.top&&a.y<b.top+b.height},GSa=function(a,b){a=a.dlgBounds_;
return Math.abs(b.y-(a.top+(a.height-1)/2))},BSa=function(a){return a.top+a.height-1},DSa=function(a){return a.left+a.width-1},ESa=function(a){return a.left||0},CSa=function(a,b){return a<b},FSa=function(a,b){return a>b},oB=function(a,b,c,d,e,h){_.yk.call(this,a);
this.event=c;this.currDragItem=d;this.draggerEl=e;this.dragger=h};
_.cj(oB,_.yk);
var pB=function(a,b,c){_.uk.call(this);this.constrainScroll_=!1;this.horizontalScrolling_=!0;this.containerNode_=a;this.scrollTimer_=new _.Vk(50);this.JSC$37197_eventHandler_=new _.bA(this);this.scrollDelta_=new _.fk;this.containerBounds_=Hz(a);if("BODY"===a.tagName||"HTML"===a.tagName)a=_.jk(),this.containerBounds_.height=a.height,this.containerBounds_.width=a.width;this.margin_=b||0;if(b){if(b=this.containerBounds_.clone(),a=this.margin_){var d=Math.min(a,.25*b.height);b.top+=d;b.height-=2*d;a=
Math.min(a,.25*b.width);b.left+=a;b.width-=2*a}}else b=this.containerBounds_;this.scrollBounds_=b;c||this.JSC$37197_eventHandler_.listen(_.nk(this.containerNode_),"mousemove",this.JSC$37199_onMouseMove);this.JSC$37197_eventHandler_.listen(this.scrollTimer_,"tick",this.JSC$37199_onTick_)};
_.cj(pB,_.uk);pB.prototype.JSC$37199_onTick_=function(){this.containerNode_.scrollTop+=this.scrollDelta_.y;this.containerNode_.scrollLeft+=this.scrollDelta_.x};
pB.prototype.JSC$37199_onMouseMove=function(a){var b=this.horizontalScrolling_?this.calculateScrollDelta(a.clientX,this.scrollBounds_.left,this.scrollBounds_.width):0,c=this.calculateScrollDelta(a.clientY,this.scrollBounds_.top,this.scrollBounds_.height);this.scrollDelta_.x=b;this.scrollDelta_.y=c;!(b=!b&&!c)&&(b=this.constrainScroll_)&&(b=a.clientX,a=a.clientY,c=this.containerBounds_,b=!(c.left<=b&&c.left+c.width>=b&&c.top<=a&&c.top+c.height>=a));b?this.scrollTimer_.stop():this.scrollTimer_.enabled||
this.scrollTimer_.start()};
pB.prototype.calculateScrollDelta=function(a,b,c){var d=0;a<b?d=-8:a>b+c&&(d=8);return d};
pB.prototype.disposeInternal=function(){pB.superClass_.disposeInternal.call(this);this.JSC$37197_eventHandler_.dispose();this.scrollTimer_.dispose()};
var HSa;_.ISa=function(a){this.patternParts_=[];this.JSC$37200_dateTimeSymbols_=_.Ll;if("number"==typeof a){11<a&&(a=10);if(4>a)var b=this.JSC$37200_dateTimeSymbols_.DATEFORMATS[a];else 8>a?b=this.JSC$37200_dateTimeSymbols_.TIMEFORMATS[a-4]:(b=this.JSC$37200_dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.JSC$37200_dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.JSC$37200_dateTimeSymbols_.TIMEFORMATS[a-8]));HSa(this,b)}else HSa(this,a)};
HSa=function(a,b){for(var c=!1,d="",e=0;e<b.length;e++){var h=b.charAt(e);if(" "==h)for(0<d.length&&(a.patternParts_.push({text:d,count:0,abutStart:!1,numeric:!1}),d=""),a.patternParts_.push({text:" ",count:0,abutStart:!1,numeric:!1});e<b.length-1&&" "==b.charAt(e+1);)e++;else if(c)"'"==h?e+1<b.length&&"'"==b.charAt(e+1)?(d+="'",e++):c=!1:d+=h;else if(0<="GyMdkHmsSEDabBhKzZvQL".indexOf(h)){0<d.length&&(a.patternParts_.push({text:d,count:0,abutStart:!1,numeric:!1}),d="");for(var l=b.charAt(e),m=e+
1;m<b.length&&b.charAt(m)==l;)m++;l=m-e;0>=l?m=!1:(m="MydhHmsSDkK".indexOf(h),m=0<m||0==m&&3>l);a.patternParts_.push({text:h,count:l,abutStart:!1,numeric:m});e+=l-1}else"'"==h?e+1<b.length&&"'"==b.charAt(e+1)?(d+="'",e++):c=!0:d+=h}0<d.length&&a.patternParts_.push({text:d,count:0,abutStart:!1,numeric:!1});b=!1;for(c=0;c<a.patternParts_.length;c++)a.patternParts_[c].numeric?!b&&c+1<a.patternParts_.length&&a.patternParts_[c+1].numeric&&(b=!0,a.patternParts_[c].abutStart=!0):b=!1};
_.ISa.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var h=this.patternParts_[c];if(0<h.count&&(0>"ahHkKm".indexOf(h.text.charAt(0))||2<h.count||h.abutStart))throw Error("de`"+h.text.charAt(0));}h=new JSa;c=[0];for(var l=0;l<this.patternParts_.length&&!(d&&c[0]>=a.length);l++){if(0==this.patternParts_[l].count){a:{var m=a;var p=this.patternParts_[l],r=d;if(" "==p.text.charAt(0)){if(p=c[0],KSa(m,c),c[0]>p){m=!0;break a}}else{if(m.indexOf(p.text,
c[0])==c[0]){c[0]+=p.text.length;m=!0;break a}if(r&&0==p.text.indexOf(m.substring(c[0]))){c[0]+=m.length-c[0];m=!0;break a}}m=!1}if(m)continue;return 0}if(this.patternParts_[l].abutStart){a:{p=a;r=l;var v=c[0],z=0;for(m=r;m<this.patternParts_.length&&0!=this.patternParts_[m].count;m++){var A=this.patternParts_[m].count;if(m==r&&(A-=z,z++,0==A)){m=0;break a}LSa(this,p,c,this.patternParts_[m],A,h,!1)||(m=r-1,c[0]=v)}m-=r}if(0>=m)return 0;l+=m-1}else if(!LSa(this,a,c,this.patternParts_[l],0,h,d))return 0}a:{a=
e;if(null==b)throw Error("ee");void 0!=h.era&&void 0!=h.year&&0==h.era&&0<h.year&&(h.year=-(h.year-1));void 0!=h.year&&b.setFullYear(h.year);d=b.getDate();b.setDate(1);void 0!=h.month&&b.setMonth(h.month);void 0!=h.day?b.setDate(h.day):(e=_.Ml(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==h.hours&&(h.hours=b.getHours()),void 0!=h.ampm&&0<h.ampm&&12>h.hours&&(h.hours+=12),b.setHours(h.hours));"function"===typeof b.setMinutes&&void 0!=h.minutes&&b.setMinutes(h.minutes);
"function"===typeof b.setSeconds&&void 0!=h.seconds&&b.setSeconds(h.seconds);"function"===typeof b.setMilliseconds&&void 0!=h.milliseconds&&b.setMilliseconds(h.milliseconds);if(a&&(h.year&&h.year!=b.getFullYear()||h.month&&h.month!=b.getMonth()||h.day&&h.day!=b.getDate()||h.hours&&24<=h.hours||h.minutes&&60<=h.minutes||h.seconds&&60<=h.seconds||h.milliseconds&&1E3<=h.milliseconds))b=!1;else{void 0!=h.tzOffset&&b.setTime(b.getTime()+6E4*(h.tzOffset-b.getTimezoneOffset()));h.ambiguousYear&&(a=new Date,
a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=h.dayOfWeek)if(void 0==h.day)h=(7+h.dayOfWeek-b.getDay())%7,3<h&&(h-=7),a=b.getMonth(),b.setDate(b.getDate()+h),b.getMonth()!=a&&b.setDate(b.getDate()+(0<h?-7:7));else if(h.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var LSa=function(a,b,c,d,e,h,l){KSa(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return qB(b,c,[a.JSC$37200_dateTimeSymbols_.ERAS],function(m){h.era=m}),!0;
case "M":case "L":return MSa(a,b,c,e,d,h);case "E":return qB(b,c,[a.JSC$37200_dateTimeSymbols_.WEEKDAYS,a.JSC$37200_dateTimeSymbols_.SHORTWEEKDAYS],function(m){h.dayOfWeek=m});
case "B":case "b":case "a":return a=qB(b,c,[a.JSC$37200_dateTimeSymbols_.AMPMS],function(m){h.ampm=m},l),l?a:!0;
case "y":return NSa(a,b,c,d,e,h);case "Q":return qB(b,c,[a.JSC$37200_dateTimeSymbols_.QUARTERS,a.JSC$37200_dateTimeSymbols_.SHORTQUARTERS],function(m){h.month=3*m;h.day=1});
case "d":return rB(a,b,c,d,e,function(m){h.day=m}),!0;
case "S":return OSa(a,b,c,e,h);case "h":case "K":case "H":case "k":return a=rB(a,b,c,d,e,function(m){h.hours="h"===d.text.charAt(0)&&12===m?0:m},l),l?a:!0;
case "m":return a=rB(a,b,c,d,e,function(m){h.minutes=m},l),l?a:!0;
case "s":return rB(a,b,c,d,e,function(m){h.seconds=m}),!0;
case "z":case "Z":case "v":return PSa(a,b,c,h);default:return!1}},NSa=function(a,b,c,d,e,h){var l=c[0];
e=sB(a,b,c,e);null===e&&(e=sB(a,b,c,0,!0));if(null===e)return!1;0<=e&&2==c[0]-l&&2==d.count?(a=e,b=(new Date).getFullYear()-80,c=b%100,h.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),h.year=a):h.year=e;return!0},MSa=function(a,b,c,d,e,h){return e.numeric&&rB(a,b,c,e,d,function(l){h.month=l-1})?!0:qB(b,c,[a.JSC$37200_dateTimeSymbols_.MONTHS,
a.JSC$37200_dateTimeSymbols_.STANDALONEMONTHS,a.JSC$37200_dateTimeSymbols_.SHORTMONTHS,a.JSC$37200_dateTimeSymbols_.STANDALONESHORTMONTHS],function(l){h.month=l})},OSa=function(a,b,c,d,e){var h=c[0];
a=sB(a,b,c,d);if(null===a)return!1;c=c[0]-h;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},PSa=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);
if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],h=sB(a,b,c,0,!0);if(null===h)return!1;if(c[0]<b.length&&":"==b.charAt(c[0])){var l=60*h;c[0]++;h=sB(a,b,c,0);if(null===h)return!1;l+=h}else l=h,l=24>l&&3>=c[0]-e?60*l:l%100+l/100*60;d.tzOffset=-l;return!0},rB=function(a,b,c,d,e,h,l){l=l||!1;
var m=c[0];a=sB(a,b,c,e);if(null===a)return!1;if(l&&c[0]-m<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-m))}h(a);return!0},qB=function(a,b,c,d,e){e=e||!1;
for(var h,l=0;l<c.length;l++){h=b;for(var m=c[l],p=e,r=0,v=null,z=a.substring(h[0]).toLowerCase(),A=0;A<m.length;A++){var D=m[A].toLowerCase();if(p&&0==D.indexOf(z)){r=z.length;v=A;break}m[A].length>r&&0==z.indexOf(D)&&(r=m[A].length,v=A)}null!==v&&(h[0]+=r);h=v;if(null!==h)return d(h),!0}return!1},KSa=function(a,b){(a=a.substring(b[0]).match(/^\s+/))&&(b[0]+=a[0].length)},sB=function(a,b,c,d,e){b=0<d?b.substring(0,c[0]+d):b;
e=e||!1;if(a.JSC$37200_dateTimeSymbols_.ZERODIGIT){d=[];for(var h=c[0];h<b.length;h++){var l=b.charCodeAt(h)-a.JSC$37200_dateTimeSymbols_.ZERODIGIT;d.push(0<=l&&9>=l?String.fromCharCode(l+48):b.charAt(h))}b=d.join("")}else b=b.substring(c[0]);a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},JSa=function(){};
JSa.prototype.ambiguousYear=!1;
var tB=function(){_.Kk.call(this);this.JSC$37208_name_="closure_frame"+QSa++;this.iframesForDisposal_=[];RSa[this.JSC$37208_name_]=this},uB;
_.cj(tB,_.Kk);var RSa={},QSa=0,SSa=function(a,b){var c=_.Wt(a);_.rm(b,function(d,e){Array.isArray(d)||(d=[d]);_.pd(d,function(h){h=c.JSC$32305_createDom("INPUT",{type:"hidden",name:e,value:h});a.appendChild(h)})})};
_.f=tB.prototype;_.f.JSC$37210_form_=null;_.f.JSC$37210_iframe_=null;_.f.iframeName_=null;_.f.nextIframeId_=0;_.f.JSC$37210_active_=!1;_.f.complete_=!1;_.f.lastContent_=null;_.f.JSC$37210_lastErrorCode_=0;_.f.iframeDisposalTimer_=null;
_.f.send=function(a,b,c,d){if(this.JSC$37210_active_)throw Error("fe");a=new _.Jh(a);b=b?b.toUpperCase():"GET";c&&_.xz(a);uB||(uB=_.tz("FORM"),uB.acceptCharset="utf-8",c=uB.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(uB));this.JSC$37210_form_=uB;"GET"==b&&SSa(this.JSC$37210_form_,a.JSC$32753_queryData_);d&&SSa(this.JSC$37210_form_,d);aPa(this.JSC$37210_form_,_.qj(a.toString()));this.JSC$37210_form_.method=
b;TSa(this);USa(this)};
_.f.abort=function(a){if(this.JSC$37210_active_){var b=vB(this);if(b)if(_.Bk(b))b.removeAllListeners(void 0);else if(b=_.Hk(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),h=0;h<e.length;++h)_.Jk(e[h])&&++c}this.JSC$37210_active_=this.complete_=!1;this.JSC$37210_lastErrorCode_=a||7;this.dispatchEvent("abort");VSa(this)}};
_.f.disposeInternal=function(){this.JSC$37210_active_&&this.abort();tB.superClass_.disposeInternal.call(this);this.JSC$37210_iframe_&&WSa(this);USa(this);this.JSC$37210_form_=null;delete this.errorChecker_;this.lastContent_=this.JSC$37210_form_=null;this.JSC$37210_lastErrorCode_=0;delete RSa[this.JSC$37208_name_]};
_.f.isComplete=function(){return this.complete_};
_.f.isActive=function(){return this.JSC$37210_active_};
_.f.getLastError=function(){return _.vPa(this.JSC$37210_lastErrorCode_)};
var TSa=function(a){a.JSC$37210_active_=!0;a.complete_=!1;a.JSC$37210_lastErrorCode_=0;a.iframeName_=a.JSC$37208_name_+"_"+(a.nextIframeId_++).toString(36);a.JSC$37210_iframe_=_.Wt(a.JSC$37210_form_).JSC$32305_createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});if(_.Cj&&7>Number(_.Hj)){var b=_.jb('javascript:""');aPa(a.JSC$37210_iframe_,_.qj(_.ij(b)))}b=a.JSC$37210_iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";_.Fj?b.marginTop=b.marginLeft="-10px":(b.position=
"absolute",b.top=b.left="-10px");if(_.Cj&&!_.Ij("11")){a.JSC$37210_form_.target=a.iframeName_||"";_.Wt(a.JSC$37210_form_).JSC$32303_document_.body.appendChild(a.JSC$37210_iframe_);_.Fk(a.JSC$37210_iframe_,"readystatechange",a.onIeReadyStateChange_,!1,a);try{a.errorHandled_=!1,a.JSC$37210_form_.submit()}catch(A){_.Ik(a.JSC$37210_iframe_,"readystatechange",a.onIeReadyStateChange_,!1,a),wB(a,1)}}else{_.Wt(a.JSC$37210_form_).JSC$32303_document_.body.appendChild(a.JSC$37210_iframe_);b=a.iframeName_+"_inner";
var c=Cz(a.JSC$37210_iframe_);if(document.baseURI){var d=_.Lw(b);d=_.Jd(_.jb("Short HTML snippet, input escaped, safe URL, for performance"),'<head><base href="'+_.Lw(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=_.Lw(b),d=_.Jd(_.jb("Short HTML snippet, input escaped, for performance"),'<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(_.tb(d));_.Fk(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=_.Ib("TEXTAREA",a.JSC$37210_form_);for(var e=0,h=
d.length;e<h;e++){var l=d[e].value;oPa(d[e])!=l&&(jPa(d[e],l),d[e].value=l)}d=c.importNode(a.JSC$37210_form_,!0);d.target=b;d.action=a.JSC$37210_form_.action;c.body.appendChild(d);e=_.Ib("SELECT",a.JSC$37210_form_);h=_.Ib("SELECT",d);l=0;for(var m=e.length;l<m;l++)for(var p=_.Ib("OPTION",e[l]),r=_.Ib("OPTION",h[l]),v=0,z=p.length;v<z;v++)r[v].selected=p[v].selected;e=_.Ib("INPUT",a.JSC$37210_form_);h=_.Ib("INPUT",d);l=0;for(m=e.length;l<m;l++)if("file"==e[l].type&&e[l].value!=h[l].value){a.JSC$37210_form_.target=
b;d=a.JSC$37210_form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),_.Ej&&_.Wk(a.testForFirefoxSilentError_,250,a)}catch(A){_.Ik(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),wB(a,2)}}};
tB.prototype.onIeReadyStateChange_=function(){if("complete"==this.JSC$37210_iframe_.readyState){_.Ik(this.JSC$37210_iframe_,"readystatechange",this.onIeReadyStateChange_,!1,this);try{var a=Cz(this.JSC$37210_iframe_);if(_.Cj&&"about:blank"==a.location&&!navigator.onLine){wB(this,9);return}}catch(b){wB(this,1);return}XSa(this,a)}};
tB.prototype.onIframeLoaded_=function(){_.Ik(vB(this),"load",this.onIframeLoaded_,!1,this);try{XSa(this,this.JSC$37210_iframe_?Cz(vB(this)):null)}catch(a){wB(this,1)}};
var XSa=function(a,b){a.complete_=!0;a.JSC$37210_active_=!1;try{var c=b.body;a.lastContent_=c.textContent||c.innerText}catch(e){var d=1}d||"function"!=typeof a.errorChecker_||(b=a.errorChecker_(b))&&(d=4);d?wB(a,d):(a.JSC$37210_lastErrorCode_=0,a.dispatchEvent("complete"),a.dispatchEvent("success"),VSa(a))},wB=function(a,b){a.errorHandled_||(a.JSC$37210_active_=!1,a.complete_=!0,a.JSC$37210_lastErrorCode_=b,a.dispatchEvent("complete"),a.dispatchEvent("error"),VSa(a),a.errorHandled_=!0)},VSa=function(a){WSa(a);
USa(a);a.JSC$37210_form_=null;a.dispatchEvent("ready")},WSa=function(a){var b=a.JSC$37210_iframe_;
b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(_.Xk(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);_.Ej?a.iframeDisposalTimer_=_.Wk(a.disposeIframes_,2E3,a):a.disposeIframes_();a.JSC$37210_iframe_=null;a.iframeName_=null};
tB.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(_.Xk(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();_.Hb(a)}};
var USa=function(a){a.JSC$37210_form_&&a.JSC$37210_form_==uB&&_.Kx(a.JSC$37210_form_)},vB=function(a){return a.JSC$37210_iframe_?_.Cj&&!_.Ij("11")?a.JSC$37210_iframe_:Cz(a.JSC$37210_iframe_).getElementById(a.iframeName_+"_inner"):null};
tB.prototype.testForFirefoxSilentError_=function(){if(this.JSC$37210_active_){var a=this.JSC$37210_iframe_?Cz(vB(this)):null;a&&!_.Bj(a,"documentUri")?(_.Ik(vB(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?wB(this,3):wB(this,9)):_.Wk(this.testForFirefoxSilentError_,250,this)}};
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.xB=_.px;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({is:"iron-a11y-keys",_template:null,behaviors:[_.Xs],properties:{target:{type:Object,observer:"_targetChanged"},keys:{type:String,reflectToAttribute:!0,observer:"_keysChanged"}},attached:function(){this.target||(this.target=this.parentNode)},
_targetChanged:function(a){this.keyEventTarget=a},
_keysChanged:function(){this.removeOwnKeyBindings();this.addOwnKeyBinding(this.keys,"_fireKeysPressed")},
_fireKeysPressed:function(a){this.fire("keys-pressed",a.detail,{})}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.YSa={properties:{scrollTarget:{type:HTMLElement,value:function(){return this._defaultScrollTarget}}},
observers:["_scrollTargetChanged(scrollTarget, isAttached)"],_shouldHaveListener:!0,_scrollTargetChanged:function(a,b){this._oldScrollTarget&&(this._toggleScrollListener(!1,this._oldScrollTarget),this._oldScrollTarget=null);b&&("document"===a?this.scrollTarget=this._doc:"string"===typeof a?this.scrollTarget=(b=this.domHost)&&b.$?b.$[a]:_.H(this.ownerDocument).querySelector("#"+a):this._isValidScrollTarget()&&(this._oldScrollTarget=a,this._toggleScrollListener(this._shouldHaveListener,a)))},
_scrollHandler:function(){},
get _defaultScrollTarget(){return this._doc},get _doc(){return this.ownerDocument.documentElement},get _scrollTop(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.pageYOffset:this.scrollTarget.scrollTop:0},get _scrollLeft(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.pageXOffset:this.scrollTarget.scrollLeft:0},set _scrollTop(a){this.scrollTarget===this._doc?window.scrollTo(window.pageXOffset,a):this._isValidScrollTarget()&&(this.scrollTarget.scrollTop=
a)},set _scrollLeft(a){this.scrollTarget===this._doc?window.scrollTo(a,window.pageYOffset):this._isValidScrollTarget()&&(this.scrollTarget.scrollLeft=a)},scroll:function(a,b){if("object"===typeof a){var c=a.left;b=a.top}else c=a;c=c||0;b=b||0;this.scrollTarget===this._doc?window.scrollTo(c,b):this._isValidScrollTarget()&&(this.scrollTarget.scrollLeft=c,this.scrollTarget.scrollTop=b)},
get _scrollTargetWidth(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.innerWidth:this.scrollTarget.offsetWidth:0},get _scrollTargetHeight(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.innerHeight:this.scrollTarget.offsetHeight:0},_isValidScrollTarget:function(){return this.scrollTarget instanceof HTMLElement},
_toggleScrollListener:function(a,b){b=b===this._doc?window:b;a?this._boundScrollHandler||(this._boundScrollHandler=this._scrollHandler.bind(this),b.addEventListener("scroll",this._boundScrollHandler)):this._boundScrollHandler&&(b.removeEventListener("scroll",this._boundScrollHandler),this._boundScrollHandler=null)},
toggleScrollListener:function(a){this._shouldHaveListener=a;this._toggleScrollListener(a,this.scrollTarget)}};
var ZSa;
var $Sa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==$Sa)return $Sa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-iron-autogrow-textarea--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_iron_autogrow_textarea.tp.yt.iron.autogrow.textarea.css.js--\x3e\n\n<div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div>\n\n\n<div class="textarea-container fit">\n  <textarea id="textarea" name$="[[name]]" aria-label$="[[label]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" autocapitalize$="[[autocapitalize]]" inputmode$="[[inputmode]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" required$="[[required]]" disabled$="[[disabled]]" rows$="[[rows]]" minlength$="[[minlength]]" maxlength$="[[maxlength]]"></textarea>\n</div>\n';
var b=a.content,c=b.insertBefore;if(void 0===ZSa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_iron_autogrow_textarea.tp.yt.iron.autogrow.textarea.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n  position: relative;\n  width: 400px;\n  border: 1px solid;\n  padding: 2px;\n  -moz-appearance: textarea;\n  -webkit-appearance: textarea;\n  overflow: hidden;\n}\n\n.mirror-text {\n  visibility: hidden;\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  @apply --iron-autogrow-textarea;\n}\n\n.fit {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n\ntextarea {\n  position: relative;\n  outline: none;\n  border: none;\n  resize: none;\n  background: inherit;\n  color: inherit;\n  width: 100%;\n  height: 100%;\n  font-size: inherit;\n  font-family: inherit;\n  line-height: inherit;\n  text-align: inherit;\n  @apply --iron-autogrow-textarea;\n}\n\ntextarea::-webkit-input-placeholder {\n  padding: var(--iron-autogrow-textarea-placeholder-padding);\n}\n\ntextarea:-moz-placeholder {\n  padding: var(--iron-autogrow-textarea-placeholder-padding);\n}\n\ntextarea::-moz-placeholder {\n  padding: var(--iron-autogrow-textarea-placeholder-padding);\n}\n\ntextarea:-ms-input-placeholder {\n  padding: var(--iron-autogrow-textarea-placeholder-padding);\n}\n\n/*# sourceMappingURL=tp-yt-iron-autogrow-textarea.css.map */</style>";
ZSa=d}d=ZSa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return $Sa=a},
is:"tp-yt-iron-autogrow-textarea",behaviors:[_.rx,_.Ys],properties:{value:{observer:"_valueChanged",type:String,notify:!0},bindValue:{observer:"_bindValueChanged",type:String,notify:!0},rows:{type:Number,value:1,observer:"_updateCached"},maxRows:{type:Number,value:0,observer:"_updateCached"},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,value:!1},autocapitalize:{type:String,value:"none"},inputmode:{type:String},placeholder:{type:String},readonly:{type:String},required:{type:Boolean},
minlength:{type:Number},maxlength:{type:Number},label:{type:String}},listeners:{input:"_onInput"},get textarea(){return this.$.textarea},get selectionStart(){return this.$.textarea.selectionStart},get selectionEnd(){return this.$.textarea.selectionEnd},set selectionStart(a){this.$.textarea.selectionStart=a},set selectionEnd(a){this.$.textarea.selectionEnd=a},attached:function(){navigator.userAgent.match(/iP(?:[oa]d|hone)/)&&!navigator.userAgent.match(/OS 1[3456789]/)&&(this.$.textarea.style.marginLeft=
"-3px")},
validate:function(){var a=this.$.textarea.validity.valid;a&&(this.required&&""===this.value?a=!1:this.hasValidator()&&(a=_.rx.validate.call(this,this.value)));this.invalid=!a;this.fire("iron-input-validate");return a},
_bindValueChanged:function(a){this.value=a},
_valueChanged:function(a){var b=this.textarea;b&&(b.value!==a&&(b.value=a||0===a?a:""),this.bindValue=a,this.$.mirror.textContent=this._valueForMirror(),this.fire("bind-value-changed",{value:this.bindValue}))},
_onInput:function(a){var b=_.H(a).path;this.value=b?b[0].value:a.target.value},
_constrain:function(a){var b;a=a||[""];for(b=0<this.maxRows&&a.length>this.maxRows?a.slice(0,this.maxRows):a.slice(0);0<this.rows&&b.length<this.rows;)b.push("");return b.join("\n")+"\u00a0"},
_valueForMirror:function(){var a=this.textarea;if(a)return this.tokens=a&&a.value?a.value.split("\n"):[""],this._constrain(this.tokens)},
_updateCached:function(){this.$.mirror.textContent=this._constrain(this.tokens)}});
var aTa;
var bTa;
/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var cTa=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/),dTa=cTa&&8<=cTa[1];
_.Ng({_template:function(){if(void 0!==bTa)return bTa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-iron-list--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_iron_list.tp.yt.iron.list.css.js--\x3e<array-selector id="selector" items="{{items}}" selected="{{selectedItems}}" selected-item="{{selectedItem}}"></array-selector>\n\n<div id="items">\n  <slot></slot>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===aTa){var d=document.createElement("template");
d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_iron_list.tp.yt.iron.list.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n}\n\n@media only screen and (-webkit-max-device-pixel-ratio: 1) {\n  :host {\n    will-change: transform;\n  }\n}\n#items {\n  position: relative;\n}\n\n:host(:not([grid])) #items > ::slotted(*) {\n  width: 100%;\n}\n\n#items > ::slotted(*) {\n  box-sizing: border-box;\n  margin: 0;\n  position: absolute;\n  top: 0;\n  will-change: transform;\n}\n\n/*# sourceMappingURL=tp-yt-iron-list.css.map */</style>";
aTa=d}d=aTa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return bTa=a},
is:"tp-yt-iron-list",properties:{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},selectedAs:{type:String,value:"selected"},grid:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_gridChanged"},selectionEnabled:{type:Boolean,value:!1},selectedItem:{type:Object,notify:!0},selectedItems:{type:Object,notify:!0},multiSelection:{type:Boolean,value:!1},scrollOffset:{type:Number,value:0}},observers:["_itemsChanged(items.*)","_selectionEnabledChanged(selectionEnabled)",
"_multiSelectionChanged(multiSelection)","_setOverflow(scrollTarget, scrollOffset)"],behaviors:[_.jka,_.xx,_.YSa,_.zva],_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physicalAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidth:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisibleIndexVal:null,_maxPages:2,_focusedItem:null,_focusedVirtualIndex:-1,_focusedPhysicalIndex:-1,
_offscreenFocusedItem:null,_focusBackfillItem:null,_itemsPerRow:1,_itemWidth:0,_rowHeight:0,_templateCost:0,_parentModel:!0,get _physicalBottom(){return this._physicalTop+this._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHeight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hiddenContentSize(){return(this.grid?this._physicalRows*this._rowHeight:this._physicalSize)-this._viewportHeight},get _itemsParent(){return _.H(_.H(this._userTemplate).parentNode)},
get _maxScrollTop(){return this._estScrollHeight-this._viewportHeight+this._scrollOffset},get _maxVirtualStart(){var a=this._convertIndexToCompleteRow(this._virtualCount);return Math.max(0,a-this._physicalCount)},set _virtualStart(a){a=this._clamp(a,0,this._maxVirtualStart);this.grid&&(a-=a%this._itemsPerRow);this._virtualStartVal=a},get _virtualStart(){return this._virtualStartVal||0},set _physicalStart(a){a%=this._physicalCount;0>a&&(a=this._physicalCount+a);this.grid&&(a-=a%this._itemsPerRow);
this._physicalStartVal=a},get _physicalStart(){return this._physicalStartVal||0},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},set _physicalCount(a){this._physicalCountVal=a},get _physicalCount(){return this._physicalCountVal||0},get _optPhysicalSize(){return 0===this._viewportHeight?Infinity:this._viewportHeight*this._maxPages},get _isVisible(){return!(!this.offsetWidth&&!this.offsetHeight)},get firstVisibleIndex(){var a=this._firstVisibleIndexVal;if(null==
a){var b=this._physicalTop+this._scrollOffset;this._firstVisibleIndexVal=a=this._iterateItems(function(c,d){b+=this._getPhysicalSizeIncrement(c);if(b>this._scrollPosition)return this.grid?d-d%this._itemsPerRow:d;if(this.grid&&this._virtualCount-1===d)return d-d%this._itemsPerRow})||0}return a},
get lastVisibleIndex(){var a=this._lastVisibleIndexVal;if(null==a){if(this.grid)a=Math.min(this._virtualCount,this.firstVisibleIndex+this._estRowsInView*this._itemsPerRow-1);else{var b=this._physicalTop+this._scrollOffset;this._iterateItems(function(c,d){b<this._scrollBottom&&(a=d);b+=this._getPhysicalSizeIncrement(c)})}this._lastVisibleIndexVal=a}return a},
get _defaultScrollTarget(){return this},get _virtualRowCount(){return Math.ceil(this._virtualCount/this._itemsPerRow)},get _estRowsInView(){return Math.ceil(this._viewportHeight/this._rowHeight)},get _physicalRows(){return Math.ceil(this._physicalCount/this._itemsPerRow)},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},ready:function(){this.addEventListener("focus",this._didFocus.bind(this),!0)},
attached:function(){this._debounce("_render",this._render,_.Ht);this.listen(this,"iron-resize","_resizeHandler");this.listen(this,"keydown","_keydownHandler")},
detached:function(){this.unlisten(this,"iron-resize","_resizeHandler");this.unlisten(this,"keydown","_keydownHandler")},
_setOverflow:function(a){this.style.webkitOverflowScrolling=a===this?"touch":"";this.style.overflowY=a===this?"auto":"";this._firstVisibleIndexVal=this._lastVisibleIndexVal=null;this._debounce("_render",this._render,_.Ht)},
updateViewportBoundaries:function(){var a=window.getComputedStyle(this);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(a["padding-top"],10);this._isRTL="rtl"===a.direction;this._viewportWidth=this.$.items.offsetWidth;this._viewportHeight=this._scrollTargetHeight;this.grid&&this._updateGridMetrics()},
_scrollHandler:function(){var a=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop)),b=a-this._scrollPosition,c=0<=b;this._scrollPosition=a;this._lastVisibleIndexVal=this._firstVisibleIndexVal=null;Math.abs(b)>this._physicalSize&&0<this._physicalSize?(b-=this._scrollOffset,c=Math.round(b/this._physicalAverage)*this._itemsPerRow,this._virtualStart+=c,this._physicalStart+=c,this._physicalTop=Math.min(Math.floor(this._virtualStart/this._itemsPerRow)*this._physicalAverage,this._scrollPosition),this._update()):
0<this._physicalCount&&(a=this._getReusables(c),c?(this._physicalTop=a.physicalTop,this._virtualStart+=a.indexes.length,this._physicalStart+=a.indexes.length):(this._virtualStart=this._virtualStart-a.indexes.length,this._physicalStart=this._physicalStart-a.indexes.length),this._update(a.indexes,c?null:a.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),_.Jc))},
_getReusables:function(a){var b=[],c=this._hiddenContentSize*this._ratio,d=this._virtualStart,e=this._virtualEnd,h=this._physicalCount,l=this._physicalTop+this._scrollOffset;var m=this._physicalBottom+this._scrollOffset;var p=this._scrollPosition,r=this._scrollBottom;if(a){var v=this._physicalStart;m=p-l}else v=this._physicalEnd,m-=r;for(;;){var z=this._getPhysicalSizeIncrement(v);m-=z;if(b.length>=h||m<=c)break;if(a){if(e+b.length+1>=this._virtualCount)break;if(l+z>=p-this._scrollOffset)break;b.push(v);
l+=z;v=(v+1)%h}else{if(0>=d-b.length)break;if(l+this._physicalSize-z<=r)break;b.push(v);l-=z;v=0===v?h-1:v-1}}return{indexes:b,physicalTop:l-this._scrollOffset}},
_update:function(a,b){if(!(a&&0===a.length||0===this._physicalCount)){this._manageFocus();this._assignModels(a);this._updateMetrics(a);if(b)for(;b.length;)a=b.pop(),this._physicalTop-=this._getPhysicalSizeIncrement(a);this._positionItems();this._updateScrollerSize()}},
_createPool:function(a){this._ensureTemplatized();var b,c=Array(a);for(b=0;b<a;b++){var d=this.stamp(null);c[b]=d.root.querySelector("*");this._itemsParent.appendChild(d.root)}return c},
_isClientFull:function(){return 0!=this._scrollBottom&&this._physicalBottom-1>=this._scrollBottom&&this._physicalTop<=this._scrollPosition},
_increasePoolIfNeeded:function(a){a=this._clamp(this._physicalCount+a,3,this._virtualCount-this._virtualStart);a=this._convertIndexToCompleteRow(a);if(this.grid){var b=a%this._itemsPerRow;b&&a-b<=this._physicalCount&&(a+=this._itemsPerRow);a-=b}a-=this._physicalCount;b=Math.round(.5*this._physicalCount);if(!(0>a)){if(0<a){b=window.performance.now();[].push.apply(this._physicalItems,this._createPool(a));for(var c=0;c<a;c++)this._physicalSizes.push(0);this._physicalCount+=a;this._physicalStart>this._physicalEnd&&
this._isIndexRendered(this._focusedVirtualIndex)&&this._getPhysicalIndex(this._focusedVirtualIndex)<this._physicalEnd&&(this._physicalStart+=a);this._update();this._templateCost=(window.performance.now()-b)/a;b=Math.round(.5*this._physicalCount)}this._virtualEnd>=this._virtualCount-1||0===b||(this._isClientFull()?this._physicalSize<this._optPhysicalSize&&this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,this._clamp(Math.round(50/this._templateCost),1,b)),_.dGa):this._debounce("_increasePoolIfNeeded",
this._increasePoolIfNeeded.bind(this,b),_.Jc))}},
_render:function(){if(this.isAttached&&this._isVisible)if(0!==this._physicalCount){var a=this._getReusables(!0);this._physicalTop=a.physicalTop;this._virtualStart+=a.indexes.length;this._physicalStart+=a.indexes.length;this._update(a.indexes);this._update();this._increasePoolIfNeeded(0)}else 0<this._virtualCount&&(this.updateViewportBoundaries(),this._increasePoolIfNeeded(3))},
_ensureTemplatized:function(){if(!this.ctor){(this._userTemplate=this.queryEffectiveChildren("template"))||console.warn("iron-list requires a template to be provided in light-dom");var a={__key__:!0};a[this.as]=!0;a[this.indexAs]=!0;a[this.selectedAs]=!0;a.tabIndex=!0;this._instanceProps=a;this.templatize(this._userTemplate,this.mutableData)}},
_gridChanged:function(a,b){"undefined"!==typeof b&&(this.notifyResize(),_.mn(),a&&this._updateGridMetrics())},
_itemsChanged:function(a){if("items"===a.path)this._physicalTop=this._virtualStart=0,this._virtualCount=this.items?this.items.length:0,this._physicalIndexForKey={},this._lastVisibleIndexVal=this._firstVisibleIndexVal=null,this._physicalCount=this._physicalCount||0,this._physicalItems=this._physicalItems||[],this._physicalSizes=this._physicalSizes||[],this._physicalStart=0,this._scrollTop>this._scrollOffset&&this._resetScrollPosition(0),this._removeFocusedItem(),this._debounce("_render",this._render,
_.Ht);else if("items.splices"===a.path){this._adjustVirtualIndex(a.value.indexSplices);this._virtualCount=this.items?this.items.length:0;if(a.value.indexSplices.some(function(c){return 0<c.addedCount||0<c.removed.length})){var b=this._getActiveElement();
this.contains(b)&&b.blur()}a=a.value.indexSplices.some(function(c){return c.index+c.addedCount>=this._virtualStart&&c.index<=this._virtualEnd},this);
this._isClientFull()&&!a||this._debounce("_render",this._render,_.Ht)}else"items.length"!==a.path&&this._forwardItemPath(a.path,a.value)},
_forwardItemPath:function(a,b){a=a.slice(6);var c=a.indexOf(".");-1===c&&(c=a.length);var d,e=this.modelForElement(this._offscreenFocusedItem),h=parseInt(a.substring(0,c),10);if(d=this._isIndexRendered(h)){var l=this._getPhysicalIndex(h);var m=this.modelForElement(this._physicalItems[l])}else e&&(m=e);m&&m[this.indexAs]===h&&(a=a.substring(c+1),a=this.as+(a?"."+a:""),m._setPendingPropertyOrPath(a,b,!1,!0),m._flushProperties&&m._flushProperties(),d&&(this._updateMetrics([l]),this._positionItems(),
this._updateScrollerSize()))},
_adjustVirtualIndex:function(a){a.forEach(function(b){b.removed.forEach(this._removeItem,this);b.index<this._virtualStart&&(b=Math.max(b.addedCount-b.removed.length,b.index-this._virtualStart),this._virtualStart+=b,0<=this._focusedVirtualIndex&&(this._focusedVirtualIndex+=b))},this)},
_removeItem:function(a){this.$.selector.deselect(a);this._focusedItem&&this.modelForElement(this._focusedItem)[this.as]===a&&this._removeFocusedItem()},
_iterateItems:function(a,b){var c,d;if(2===arguments.length&&b)for(d=0;d<b.length;d++){var e=b[d];var h=this._computeVidx(e);if(null!=(c=a.call(this,e,h)))return c}else{e=this._physicalStart;for(h=this._virtualStart;e<this._physicalCount;e++,h++)if(null!=(c=a.call(this,e,h)))return c;for(e=0;e<this._physicalStart;e++,h++)if(null!=(c=a.call(this,e,h)))return c}},
_computeVidx:function(a){return a>=this._physicalStart?this._virtualStart+(a-this._physicalStart):this._virtualStart+(this._physicalCount-this._physicalStart)+a},
_assignModels:function(a){this._iterateItems(function(b,c){var d=this._physicalItems[b],e=this.items&&this.items[c];if(null!=e){var h=this.modelForElement(d);h.__key__=null;this._forwardProperty(h,this.as,e);this._forwardProperty(h,this.selectedAs,this.$.selector.isSelected(e));this._forwardProperty(h,this.indexAs,c);this._forwardProperty(h,"tabIndex",this._focusedVirtualIndex===c?0:-1);this._physicalIndexForKey[h.__key__]=b;h._flushProperties&&h._flushProperties(!0);d.removeAttribute("hidden")}else d.setAttribute("hidden",
"")},a)},
_updateMetrics:function(a){_.mn();var b=0,c=0,d=this._physicalAverageCount,e=this._physicalAverage;this._iterateItems(function(h){c+=this._physicalSizes[h];this._physicalSizes[h]=this._physicalItems[h].offsetHeight;b+=this._physicalSizes[h];this._physicalAverageCount+=this._physicalSizes[h]?1:0},a);
this.grid?(this._updateGridMetrics(),this._physicalSize=Math.ceil(this._physicalCount/this._itemsPerRow)*this._rowHeight):(c=1===this._itemsPerRow?c:Math.ceil(this._physicalCount/this._itemsPerRow)*this._rowHeight,this._physicalSize=this._physicalSize+b-c,this._itemsPerRow=1);this._physicalAverageCount!==d&&(this._physicalAverage=Math.round((e*d+b)/this._physicalAverageCount))},
_updateGridMetrics:function(){this._itemWidth=0<this._physicalCount?this._physicalItems[0].getBoundingClientRect().width:200;this._rowHeight=0<this._physicalCount?this._physicalItems[0].offsetHeight:200;this._itemsPerRow=this._itemWidth?Math.floor(this._viewportWidth/this._itemWidth):this._itemsPerRow},
_positionItems:function(){this._adjustScrollPosition();var a=this._physicalTop;if(this.grid){var b=(this._viewportWidth-this._itemsPerRow*this._itemWidth)/2;this._iterateItems(function(c,d){var e=Math.floor(d%this._itemsPerRow*this._itemWidth+b);this._isRTL&&(e*=-1);this.translate3d(e+"px",a+"px",0,this._physicalItems[c]);this._shouldRenderNextRow(d)&&(a+=this._rowHeight)})}else this._iterateItems(function(c){this.translate3d(0,a+"px",0,this._physicalItems[c]);
a+=this._physicalSizes[c]})},
_getPhysicalSizeIncrement:function(a){return this.grid?this._computeVidx(a)%this._itemsPerRow!==this._itemsPerRow-1?0:this._rowHeight:this._physicalSizes[a]},
_shouldRenderNextRow:function(a){return a%this._itemsPerRow===this._itemsPerRow-1},
_adjustScrollPosition:function(){var a=0===this._virtualStart?this._physicalTop:Math.min(this._scrollPosition+this._physicalTop,0);if(0!==a){this._physicalTop=this._physicalTop-a;var b=this._scrollPosition;!dTa&&0<b&&this._resetScrollPosition(b-a)}},
_resetScrollPosition:function(a){this.scrollTarget&&0<=a&&(this._scrollPosition=this._scrollTop=a)},
_updateScrollerSize:function(a){this.grid?this._estScrollHeight=this._virtualRowCount*this._rowHeight:this._estScrollHeight=this._physicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0)*this._physicalAverage;if((a=(a=(a=a||0===this._scrollHeight)||this._scrollPosition>=this._estScrollHeight-this._physicalSize)||this.grid&&this.$.items.style.height<this._estScrollHeight)||Math.abs(this._estScrollHeight-this._scrollHeight)>=this._viewportHeight)this.$.items.style.height=
this._estScrollHeight+"px",this._scrollHeight=this._estScrollHeight},
scrollToItem:function(a){return this.scrollToIndex(this.items.indexOf(a))},
scrollToIndex:function(a){if(!("number"!==typeof a||0>a||a>this.items.length-1)&&(_.mn(),0!==this._physicalCount)){a=this._clamp(a,0,this._virtualCount-1);if(!this._isIndexRendered(a)||a>=this._maxVirtualStart)this._virtualStart=this.grid?a-2*this._itemsPerRow:a-1;this._manageFocus();this._assignModels();this._updateMetrics();this._physicalTop=Math.floor(this._virtualStart/this._itemsPerRow)*this._physicalAverage;for(var b=this._physicalStart,c=this._virtualStart,d=0,e=this._hiddenContentSize;c<a&&
d<=e;)d+=this._getPhysicalSizeIncrement(b),b=(b+1)%this._physicalCount,c++;this._updateScrollerSize(!0);this._positionItems();this._resetScrollPosition(this._physicalTop+this._scrollOffset+d);this._increasePoolIfNeeded(0);this._lastVisibleIndexVal=this._firstVisibleIndexVal=null}},
_resetAverage:function(){this._physicalAverageCount=this._physicalAverage=0},
_resizeHandler:function(){this._debounce("_render",function(){this._lastVisibleIndexVal=this._firstVisibleIndexVal=null;this._isVisible?(this.updateViewportBoundaries(),this.toggleScrollListener(!0),this._resetAverage(),this._render()):this.toggleScrollListener(!1)},_.Ht)},
selectItem:function(a){return this.selectIndex(this.items.indexOf(a))},
selectIndex:function(a){if(!(0>a||a>=this._virtualCount)){!this.multiSelection&&this.selectedItem&&this.clearSelection();if(this._isIndexRendered(a)){var b=this.modelForElement(this._physicalItems[this._getPhysicalIndex(a)]);b&&(b[this.selectedAs]=!0);this.updateSizeForIndex(a)}this.$.selector.selectIndex(a)}},
deselectItem:function(a){return this.deselectIndex(this.items.indexOf(a))},
deselectIndex:function(a){0>a||a>=this._virtualCount||(this._isIndexRendered(a)&&(this.modelForElement(this._physicalItems[this._getPhysicalIndex(a)])[this.selectedAs]=!1,this.updateSizeForIndex(a)),this.$.selector.deselectIndex(a))},
toggleSelectionForItem:function(a){return this.toggleSelectionForIndex(this.items.indexOf(a))},
toggleSelectionForIndex:function(a){(this.$.selector.isIndexSelected?this.$.selector.isIndexSelected(a):this.$.selector.isSelected(this.items[a]))?this.deselectIndex(a):this.selectIndex(a)},
clearSelection:function(){this._iterateItems(function(a){this.modelForElement(this._physicalItems[a])[this.selectedAs]=!1});
this.$.selector.clearSelection()},
_selectionEnabledChanged:function(a){(a?this.listen:this.unlisten).call(this,this,"tap","_selectionHandler")},
_selectionHandler:function(a){var b=this.modelForElement(a.target);if(b){var c=_.H(a).path[0];a=this._getActiveElement();var d=this._physicalItems[this._getPhysicalIndex(b[this.indexAs])];if("input"!==c.localName&&"button"!==c.localName&&"select"!==c.localName){c=b.tabIndex;b.tabIndex=-100;var e=a?a.tabIndex:-1;b.tabIndex=c;a&&d!==a&&d.contains(a)&&-100!==e||this.toggleSelectionForItem(b[this.as])}}},
_multiSelectionChanged:function(a){this.clearSelection();this.$.selector.multi=a},
updateSizeForItem:function(a){return this.updateSizeForIndex(this.items.indexOf(a))},
updateSizeForIndex:function(a){if(!this._isIndexRendered(a))return null;this._updateMetrics([this._getPhysicalIndex(a)]);this._positionItems();return null},
_manageFocus:function(){var a=this._focusedVirtualIndex;0<=a&&a<this._virtualCount?this._isIndexRendered(a)?this._restoreFocusedItem():this._createFocusBackfillItem():0<this._virtualCount&&0<this._physicalCount&&(this._focusedPhysicalIndex=this._physicalStart,this._focusedVirtualIndex=this._virtualStart,this._focusedItem=this._physicalItems[this._physicalStart])},
_convertIndexToCompleteRow:function(a){this._itemsPerRow=this._itemsPerRow||1;return this.grid?Math.ceil(a/this._itemsPerRow)*this._itemsPerRow:a},
_isIndexRendered:function(a){return a>=this._virtualStart&&a<=this._virtualEnd},
_isIndexVisible:function(a){return a>=this.firstVisibleIndex&&a<=this.lastVisibleIndex},
_getPhysicalIndex:function(a){return(this._physicalStart+(a-this._virtualStart))%this._physicalCount},
focusItem:function(a){this._focusPhysicalItem(a)},
_focusPhysicalItem:function(a){if(!(0>a||a>=this._virtualCount)){this._restoreFocusedItem();this._isIndexRendered(a)||this.scrollToIndex(a);var b=this._physicalItems[this._getPhysicalIndex(a)],c=this.modelForElement(b),d;c.tabIndex=-100;-100===b.tabIndex&&(d=b);d||(d=_.H(b).querySelector('[tabindex="-100"]'));c.tabIndex=0;this._focusedVirtualIndex=a;d&&d.focus()}},
_removeFocusedItem:function(){this._offscreenFocusedItem&&this._itemsParent.removeChild(this._offscreenFocusedItem);this._focusedItem=this._focusBackfillItem=this._offscreenFocusedItem=null;this._focusedPhysicalIndex=this._focusedVirtualIndex=-1},
_createFocusBackfillItem:function(){var a=this._focusedPhysicalIndex;if(!(this._offscreenFocusedItem||0>this._focusedVirtualIndex)){if(!this._focusBackfillItem){var b=this.stamp(null);this._focusBackfillItem=b.root.querySelector("*");this._itemsParent.appendChild(b.root)}this._offscreenFocusedItem=this._physicalItems[a];this.modelForElement(this._offscreenFocusedItem).tabIndex=0;this._physicalItems[a]=this._focusBackfillItem;this._focusedPhysicalIndex=a;this.translate3d(0,"-10000px",0,this._offscreenFocusedItem)}},
_restoreFocusedItem:function(){if(this._offscreenFocusedItem&&!(0>this._focusedVirtualIndex)){this._assignModels();var a=this._focusedPhysicalIndex=this._getPhysicalIndex(this._focusedVirtualIndex),b=this._physicalItems[a];if(b){var c=this.modelForElement(b),d=this.modelForElement(this._offscreenFocusedItem);c[this.as]===d[this.as]?(this._focusBackfillItem=b,c.tabIndex=-1,this._physicalItems[a]=this._offscreenFocusedItem,this.translate3d(0,"-10000px",0,this._focusBackfillItem)):(this._removeFocusedItem(),
this._focusBackfillItem=null);this._offscreenFocusedItem=null}}},
_didFocus:function(a){a=this.modelForElement(a.target);var b=this.modelForElement(this._focusedItem),c=null!==this._offscreenFocusedItem,d=this._focusedVirtualIndex;a&&(b===a?this._isIndexVisible(d)||this.scrollToIndex(d):(this._restoreFocusedItem(),b&&(b.tabIndex=-1),a.tabIndex=0,this._focusedVirtualIndex=d=a[this.indexAs],this._focusedPhysicalIndex=this._getPhysicalIndex(d),this._focusedItem=this._physicalItems[this._focusedPhysicalIndex],c&&!this._offscreenFocusedItem&&this._update()))},
_keydownHandler:function(a){switch(a.keyCode){case 40:this._focusedVirtualIndex<this._virtualCount-1&&a.preventDefault();this._focusPhysicalItem(this._focusedVirtualIndex+(this.grid?this._itemsPerRow:1));break;case 39:this.grid&&this._focusPhysicalItem(this._focusedVirtualIndex+(this._isRTL?-1:1));break;case 38:0<this._focusedVirtualIndex&&a.preventDefault();this._focusPhysicalItem(this._focusedVirtualIndex-(this.grid?this._itemsPerRow:1));break;case 37:this.grid&&this._focusPhysicalItem(this._focusedVirtualIndex+
(this._isRTL?1:-1));break;case 13:this._focusPhysicalItem(this._focusedVirtualIndex),this.selectionEnabled&&this._selectionHandler(a)}},
_clamp:function(a,b,c){return Math.min(c,Math.max(b,a))},
_debounce:function(a,b,c){this._debouncers=this._debouncers||{};this._debouncers[a]=_.gn(this._debouncers[a],c,b.bind(this));_.hn(this._debouncers[a])},
_forwardProperty:function(a,b,c){a._setPendingProperty(b,c)},
_forwardHostPropV2:function(a,b){(this._physicalItems||[]).concat([this._offscreenFocusedItem,this._focusBackfillItem]).forEach(function(c){c&&this.modelForElement(c).forwardHostProp(a,b)},this)},
_notifyInstancePropV2:function(a,b,c){_.Mba(this.as,b)&&(a=a[this.indexAs],b==this.as&&(this.items[a]=c),this.notifyPath(_.ic(this.as,"items."+a,b),c))},
_getStampedChildren:function(){return this._physicalItems},
_forwardInstancePath:function(a,b,c){0===b.indexOf(this.as+".")&&this.notifyPath("items."+a.__key__+"."+b.slice(this.as.length+1),c)},
_forwardParentPath:function(a,b){(this._physicalItems||[]).concat([this._offscreenFocusedItem,this._focusBackfillItem]).forEach(function(c){c&&this.modelForElement(c).notifyPath(a,b)},this)},
_forwardParentProp:function(a,b){(this._physicalItems||[]).concat([this._offscreenFocusedItem,this._focusBackfillItem]).forEach(function(c){c&&(this.modelForElement(c)[a]=b)},this)},
_getActiveElement:function(){var a=this._itemsParent.node.domHost;return _.H(a?a.root:document).activeElement}});
var eTa;
var fTa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.gTa={hostAttributes:{role:"dialog",tabindex:"-1"},properties:{modal:{type:Boolean,value:!1},__readied:{type:Boolean,value:!1}},observers:["_modalChanged(modal, __readied)"],listeners:{tap:"_onDialogClick"},ready:function(){this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick;this.__prevNoCancelOnEscKey=this.noCancelOnEscKey;this.__prevWithBackdrop=this.withBackdrop;this.__readied=!0},
_modalChanged:function(a,b){b&&(a?(this.__prevNoCancelOnOutsideClick=this.noCancelOnOutsideClick,this.__prevNoCancelOnEscKey=this.noCancelOnEscKey,this.__prevWithBackdrop=this.withBackdrop,this.withBackdrop=this.noCancelOnEscKey=this.noCancelOnOutsideClick=!0):(this.noCancelOnOutsideClick=this.noCancelOnOutsideClick&&this.__prevNoCancelOnOutsideClick,this.noCancelOnEscKey=this.noCancelOnEscKey&&this.__prevNoCancelOnEscKey,this.withBackdrop=this.withBackdrop&&this.__prevWithBackdrop))},
_updateClosingReasonConfirmed:function(a){this.closingReason=this.closingReason||{};this.closingReason.confirmed=a},
_onDialogClick:function(a){for(var b=_.H(a).path,c=0,d=b.indexOf(this);c<d;c++){var e=b[c];if(e.hasAttribute&&(e.hasAttribute("dialog-dismiss")||e.hasAttribute("dialog-confirm"))){this._updateClosingReasonConfirmed(e.hasAttribute("dialog-confirm"));this.close();a.stopPropagation();break}}}};
_.Ng({_template:function(){if(void 0!==fTa)return fTa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-dialog--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_dialog.tp.yt.paper.dialog.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===eTa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_dialog.tp.yt.paper.dialog.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: block;\n  margin: 24px 40px;\n  background: var(--paper-dialog-background-color, var(--primary-background-color));\n  color: var(--paper-dialog-color, var(--primary-text-color));\n  @apply --paper-font-body1;\n  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);\n  @apply --paper-dialog;\n}\n\n:host > ::slotted(*) {\n  margin-top: 20px;\n  padding: 0 24px;\n}\n\n:host > ::slotted(.no-padding) {\n  padding: 0;\n}\n\n:host > ::slotted(*:first-child) {\n  margin-top: 24px;\n}\n\n:host > ::slotted(*:last-child) {\n  margin-bottom: 24px;\n}\n\n:host > ::slotted(h2) {\n  position: relative;\n  margin: 0;\n  font-family: "Roboto", "Noto", sans-serif;\n  -webkit-font-smoothing: antialiased;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-size: 20px;\n  font-weight: 500;\n  line-height: 28px;\n}\n\n:host > ::slotted(h2:first-child) {\n  margin-top: 24px;\n}\n\n:host > ::slotted(h2:last-child) {\n  margin-bottom: 24px;\n}\n\n:host > ::slotted(.paper-dialog-buttons),\n:host > ::slotted(.buttons) {\n  position: relative;\n  padding: 8px 8px 8px 24px;\n  margin: 0;\n  color: var(--paper-dialog-button-color, var(--primary-color));\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-pack: end;\n  -webkit-justify-content: flex-end;\n  justify-content: flex-end;\n}\n\n/*# sourceMappingURL=tp-yt-paper-dialog.css.map */</style>';
eTa=d}d=eTa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return fTa=a},
is:"tp-yt-paper-dialog",behaviors:[[_.Fx,_.gTa],_.jMa],listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},_renderOpened:function(){this.cancelAnimation();this.playAnimation("entry")},
_renderClosed:function(){this.cancelAnimation();this.playAnimation("exit")},
_onNeonAnimationFinish:function(){this.opened?this._finishRenderOpened():this._finishRenderClosed()}});
var yB=function(a){this.JSC$37231_name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};
yB.prototype.getName=function(){return this.JSC$37231_name_};
var AB=function(a,b){this.callback_=b;this.hasError_=!1;this.unscannedDirectories_=[];this.fileOps_=this.directoryOps_=0;this.rootDirectory_=new yB("");hTa(this,a,this.rootDirectory_);zB(this)},hTa=function(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];
e.isFile?(a.fileOps_++,e.file((0,_.$i)(a.handleFileSuccess_,a,c),(0,_.$i)(a.handleFileError_,a))):a.unscannedDirectories_.push(new iTa(e,c))}},zB=function(a){if(0<a.unscannedDirectories_.length&&5>a.directoryOps_&&!a.hasError_){a.directoryOps_++;
var b=a.unscannedDirectories_.shift(),c=b.entry,d=new yB(c.name);b=b.parent;b.directoryMap_[d.getName()]=d;b.directories_.push(d);c=c.createReader();c.readEntries((0,_.$i)(a.handleDirectorySuccess_,a,c,d),(0,_.$i)(a.handleDirectoryError_,a))}0!=a.directoryOps_||0!=a.fileOps_||0!=a.unscannedDirectories_.length&&!a.hasError_||a.callback_(a.rootDirectory_.files_,a.rootDirectory_.directories_,a.hasError_)};
AB.prototype.handleDirectorySuccess_=function(a,b,c){hTa(this,c,b);0==c.length?(this.directoryOps_--,zB(this)):a.readEntries((0,_.$i)(this.handleDirectorySuccess_,this,a,b),(0,_.$i)(this.handleDirectoryError_,this))};
AB.prototype.handleDirectoryError_=function(){this.hasError_=!0;this.directoryOps_--;zB(this)};
AB.prototype.handleFileSuccess_=function(a,b){a.files_.push(b);this.fileOps_--;zB(this)};
AB.prototype.handleFileError_=function(){this.hasError_=!0;this.fileOps_--;zB(this)};
var iTa=function(a,b){this.entry=a;this.parent=b};
var BB=function(a){_.Kk.call(this);_.Fk(a,"drop",this.onObjectsDropped_,!1,this);_.Fk(a,"dragenter",this.onFilesDragged_,!1,this);_.Fk(a,"dragover",this.onFilesDragged_,!1,this)};
_.cj(BB,_.Kk);var jTa=function(a,b){_.yk.call(this,"c");this.files=a;this.directories=b};
_.cj(jTa,_.yk);var kTa=function(){_.yk.call(this,"d")};
_.cj(kTa,_.yk);BB.prototype.onObjectsDropped_=function(a){var b=this;a.preventDefault();var c=a.event_.dataTransfer;if((a=c&&c.items)&&0<a.length&&a[0].webkitGetAsEntry){c=[];for(var d=0;d<a.length;d++){var e=a[d].webkitGetAsEntry();e&&c.push(e)}new AB(c,function(h,l,m){m?b.dispatchEvent(new kTa("Error occurred while reading from the file system.")):b.dispatchEvent(new jTa(h,l))})}else(a=c&&c.files)&&this.dispatchEvent(new jTa(a,[]))};
BB.prototype.onFilesDragged_=function(a){a.preventDefault()};
var CB=function(a,b){this.JSC$37250_name_=a;this.inputElement_=b};
CB.prototype.getName=function(){return this.JSC$37250_name_};
CB.prototype.getInputElement=function(){return this.inputElement_};
var DB=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;_.Kk.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:_.Gb("scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=lTa(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
_.q(DB,_.Kk);
var lTa=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");_.Fk(e,"change",a.onFilesSelected_,!1,a);"multiple_file"===c&&(e.multiple="true");"single_directory"===c&&(e.webkitdirectory="true");0<d.length&&e.setAttribute("accept",d.join(","));e.style.position="absolute";e.style.overflow="hidden";e.style.height="0px";e.style.width="0px";e.style.opacity="0";e.setAttribute("aria-hidden","true");e.setAttribute("tabIndex",-1);if(null!=
a.overlayTarget_)return e.style.height=b.offsetHeight+"px",e.style.width=b.offsetWidth+"px",a.parentOverlay_&&(a.parentOverlay_.style.position="relative"),Bz(e,b),Ez(e,new _.fk(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};
DB.prototype.click=function(){this.overlay_.click()};
DB.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(r){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(_.Fj||_.Ce)){b=new yB("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),h=b,l=0;l<e.length;l++){var m=e[l];if(l==e.length-1){"."!=m&&h.files_.push(d);break}var p=h.directoryMap_[m];void 0==p&&(m=p=new yB(m),h.directoryMap_[m.getName()]=
m,h.directories_.push(m));h=p}b=b.directories_}this.dispatchEvent(new mTa(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new mTa([],[],new CB(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=lTa(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var mTa=function(a,b){_.yk.call(this,"e");this.files=a;this.directories=b};
_.q(mTa,_.yk);
var nTa=function(a){this.uploadUrl_=a};
var EB=function(){_.Kk.call(this)};
_.cj(EB,_.Kk);var FB=function(a){_.yk.call(this,a)};
_.cj(FB,_.yk);var GB=function(a){_.yk.call(this,a)};
_.cj(GB,_.yk);
var oTa=function(a,b,c,d,e){_.Kk.call(this);c=document.createElement("form");c.setAttribute("method",b);c.setAttribute("enctype","multipart/form-data");c.setAttribute("encoding","multipart/form-data");b=document.createElement("input");b.setAttribute("type","hidden");b.setAttribute("name","metadata");b.setAttribute("value",e);c.appendChild(b);c.appendChild(d);this.JSC$37267_form_=c;a=new _.Jh(a);_.vz(a,"upload_protocol","multipart");this.JSC$37267_url_=a.toString();this.JSC$37267_request_=new tB;this.state_=
"Ready";this.JSC$37267_errorDescription_=null;this.JSC$37267_eventHandler_=new _.bA(this);_.wk(this,this.JSC$37267_eventHandler_);this.JSC$37267_eventHandler_.listen(this.JSC$37267_request_,"success",this.onTransferSuccess_);this.JSC$37267_eventHandler_.listen(this.JSC$37267_request_,"error",this.onTransferError_)};
_.q(oTa,EB);_.f=oTa.prototype;_.f.run=function(){this.state_="Transferring";var a=this.JSC$37267_request_,b=this.JSC$37267_form_;if(a.JSC$37210_active_)throw Error("fe");var c=new _.Jh(this.JSC$37267_url_||b.action);a.JSC$37210_form_=b;aPa(a.JSC$37210_form_,c.toString());TSa(a)};
_.f.getResponseCode=function(){return null};
_.f.JSC$61995_getResponseText=function(){return this.JSC$37267_request_&&this.JSC$37267_request_.lastContent_||null};
_.f.JSC$61995_getErrorDescription=function(){return this.JSC$37267_errorDescription_};
_.f.cancel=function(){this.JSC$37267_request_&&this.JSC$37267_request_.abort();this.state_="Cancelled";this.dispatchEvent(new FB("j"))};
_.f.pause=function(){};
_.f.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new FB("g"))};
_.f.onTransferError_=function(){this.JSC$37267_errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new FB("i"))};
var HB=function(){_.Os.call(this)};
_.q(HB,_.Os);HB.prototype.createXhr=function(){var a=_.Os.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=(0,_.$i)(this.onProgress_,this));return a};
HB.prototype.onProgress_=function(a){this.dispatchEvent(a)};
var pTa=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},rTa=function(a,b){var c=a.attempt_+1;
if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=_.Wk(function(){a.delayCallId_=null;b()},qTa(a),a);
a.attempt_=c;return!0};
pTa.prototype.reset=function(){this.delayCallId_&&_.Xk(this.delayCallId_);this.attempt_=-1};
var qTa=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};
var IOa=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];
var IB=function(){_.Kk.call(this);this.JSC$37278_request_=this.state_=null;this.JSC$37278_withCredentials_=!1;this.transferHandle_=null;this.offset_=this.JSC$37278_bytesTransferred_=0;this.retryIterator_=new pTa;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.JSC$37278_errorDescription_=null;this.JSC$37278_eventHandler_=new _.bA(this);_.wk(this,this.JSC$37278_eventHandler_);this.JSC$37278_url_=this.blob_=null;this.JSC$37278_method_=void 0;this.chunkSize_=this.JSC$37278_metadata_=
this.JSC$37278_headers_=null;this.requireUploadRequestModification_=!1;this.originalBlobSize_=0;this.detectCorruptedBlobEnabled_=!1;this.lastCommandResponseCode_=this.JSC$37278_responseText_=this.JSC$37278_responseCode_=null;this.pauseRequested_=!1;this.stateAfterUnpausing_=null};
_.cj(IB,EB);_.f=IB.prototype;_.f.run=function(){JB(this)};
_.f.getResponseCode=function(){return this.JSC$37278_responseCode_};
_.f.JSC$61995_getResponseText=function(){return this.JSC$37278_responseText_};
_.f.JSC$61995_getErrorDescription=function(){return this.JSC$37278_errorDescription_};
_.f.cancel=function(){if("Response received"!=this.state_&&"Error"!=this.state_){this.JSC$37278_eventHandler_.removeAll();this.JSC$37278_request_&&this.JSC$37278_request_.abort();this.retryIterator_.reset();var a="Paused"===this.state_?this.stateAfterUnpausing_:this.state_;if("Upload"===a||"Query"===a)a=new HB,a.JSC$35989_withCredentials_=this.JSC$37278_withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.JSC$37278_bytesTransferred_=
0;this.dispatchEvent(new FB("j"))}};
_.f.pause=function(){this.pauseRequested_=!0};
var JB=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):rTa(a.retryIterator_,function(){switch(a.state_){case "Start":a.JSC$37278_request_=new HB;var c=_.u.clone(a.JSC$37278_headers_);null!=a.blob_.size&&(c["Content-Length"]=a.blob_.size);c=JOa(c);c["X-Goog-Upload-Protocol"]="resumable";c["X-Goog-Upload-Command"]="start";a.JSC$37278_eventHandler_.removeAll();a.JSC$37278_eventHandler_.listen(a.JSC$37278_request_,"complete",a.onStartComplete_);
a.JSC$37278_request_.JSC$35989_withCredentials_=a.JSC$37278_withCredentials_;a.JSC$37278_request_.send(a.JSC$37278_url_,a.JSC$37278_method_,a.JSC$37278_metadata_,c);a.lastCommandResponseCode_=null;a.dispatchEvent(new GB("l"));break;case "Upload":c=a.transferHandle_.uploadUrl_;var d=a.blob_.size;if($Ra()){var e=a.chunkSize_;var h=a.offset_+e>=d;d=ZRa(a.blob_,a.offset_,h?d:a.offset_+e)}else a.offset_=0,d=a.blob_,h=!0;a.JSC$37278_request_=new HB;a.JSC$37278_request_.JSC$35989_withCredentials_=a.JSC$37278_withCredentials_;
a.JSC$37278_eventHandler_.removeAll();a.JSC$37278_eventHandler_.listen(a.JSC$37278_request_,"progress",a.onUploadProgress_);e=(0,_.$i)(a.JSC$37280_onUploadComplete_,a,a.offset_+d.size,h);a.JSC$37278_eventHandler_.listen(a.JSC$37278_request_,"complete",e);a.lastCommandResponseCode_=null;a.dispatchEvent(new GB("l"));h=Object.assign({},a.JSC$37278_headers_||{},{"X-Goog-Upload-Command":"upload"+(h?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.JSC$37278_request_.send(c,"POST",d,h);break;case "Query":a.JSC$37278_request_=
new HB;a.JSC$37278_eventHandler_.removeAll();a.JSC$37278_eventHandler_.listen(a.JSC$37278_request_,"complete",a.onQueryComplete_);c=Object.assign({},a.JSC$37278_headers_||{},{"X-Goog-Upload-Command":"query"});a.JSC$37278_request_.send(a.transferHandle_.uploadUrl_,"POST","",c);a.lastCommandResponseCode_=null;a.dispatchEvent(new GB("l"));break;default:throw Error("ge");}})||KB(a,"Transfer encountered too many consecutive failures.")},KB=function(a,b){a.state_="Error";
a.JSC$37278_errorDescription_=b;a.dispatchEvent(new FB("i"))};
IB.prototype.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new GB("m"));sTa(b)?tTa(this,b):uTa(b)?(b=ez(a.target.getAllResponseHeaders()),this.dispatchEvent(new FB("h")),a=fz(b,"X-Goog-Upload-URL"),b=(b=fz(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,void 0===a||isNaN(b)||0>=b?KB(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(1073741824/b)*b,this.transferHandle_=new nTa(a),this.dispatchEvent(new FB("k")),
this.state_="Upload",this.retryIterator_.reset(),JB(this))):JB(this)};
IB.prototype.onUploadProgress_=function(a){this.JSC$37278_bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new FB("f"))};
IB.prototype.JSC$37280_onUploadComplete_=function(a,b,c){var d=this,e,h;return _.y(function(l){switch(l.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new GB("m"));if(sTa(e))return d.JSC$37278_bytesTransferred_=a,tTa(d,e),l.return();if(uTa(e)){l.jumpTo(2);break}if(!(h=d.detectCorruptedBlobEnabled_)){l.jumpTo(3);break}return _.B(l,vTa(d),4);case 4:h=l.yieldResult;case 3:if(h)return KB(d,"Blob has been modified or corrupted."),l.return();d.requireUploadRequestModification_=
400==e.getStatus();d.state_="Query";JB(d);return l.return();case 2:if(b)return KB(d,"Got a non-final success response after issuing a finalize command."),l.return();d.JSC$37278_bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();JB(d);return l.return()}})};
IB.prototype.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new GB("m"));sTa(b)?(200===b.getStatus()&&(this.JSC$37278_bytesTransferred_=this.blob_.size),tTa(this,b)):uTa(b)?(a=ez(a.target.getAllResponseHeaders()),a=parseInt(fz(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?KB(this,"Server did not respond with current offset."):a<this.offset_?KB(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+
a+"."):this.requireUploadRequestModification_&&this.offset_===a?KB(this,"Server returned the same offset as the last failed upload attempt."):(this.requireUploadRequestModification_=!1,this.offset_<a&&this.retryIterator_.reset(),this.offset_=this.JSC$37278_bytesTransferred_=a,this.state_="Upload",JB(this))):JB(this)};
var tTa=function(a,b){a.JSC$37278_responseCode_=b.getStatus();var c=ez(b.getAllResponseHeaders());KOa(c);a.JSC$37278_responseText_=_.Ss(b);a.state_="Response received";a.dispatchEvent(new FB("g"))},uTa=function(a){var b=a.getStatus();
a=ez(a.getAllResponseHeaders());a=fz(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},sTa=function(a){var b=ez(a.getAllResponseHeaders());
if("final"===fz(b,"X-Goog-Upload-Status"))return!0;a=a.getStatus();return 400<=a&&500>a},vTa=function(a){var b;
return _.y(function(c){if(1==c.nextAddress){if(!a.blob_||0>=a.originalBlobSize_)return c.return(!1);if(a.blob_.size!==a.originalBlobSize_)return c.return(!0);_.se(c,2);if(b=ZRa(a.blob_,0,1)){var d=new mB,e=lSa(d);d.reader_.readAsBinaryString(b);c=_.B(c,e,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);_.ue(c);return c.return(!0)})};
var wTa=function(a,b,c,d,e,h){_.Kk.call(this);this.payload_=d;this.JSC$37281_url_=a;this.JSC$37281_method_=b;this.JSC$37281_headers_=c;this.JSC$37281_metadata_=e;this.encoding_=h||"binary";a=new _.Ol;this.boundary_="scotty-"+_.Jt()+"-"+_.zta(a);this.JSC$37281_responseText_=this.JSC$37281_responseCode_=this.transferRequest_=null;this.state_="Ready";this.JSC$37281_errorDescription_=null;this.JSC$37281_eventHandler_=new _.bA(this);_.wk(this,this.JSC$37281_eventHandler_)};
_.q(wTa,EB);_.f=wTa.prototype;
_.f.run=function(){var a=_.u.clone(this.JSC$37281_headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=JOa(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new HB;this.JSC$37281_eventHandler_.removeAll();this.JSC$37281_eventHandler_.listen(this.transferRequest_,"progress",this.onTransferProgress_);this.JSC$37281_eventHandler_.listen(this.transferRequest_,"complete",
this.onTransferComplete_);this.transferRequest_.send(this.JSC$37281_url_,this.JSC$37281_method_,"--"+this.boundary_+'\r\nContent-Disposition: form-data; name="metadata"\r\n\r\n'+(this.JSC$37281_metadata_+"\r\n--")+this.boundary_+'\r\nContent-Disposition: form-data; name="Filedata"\r\nContent-Transfer-Encoding: '+(this.encoding_+"\r\n\r\n")+this.payload_+"\r\n--"+this.boundary_+"--\r\n",a)};
_.f.getResponseCode=function(){return this.JSC$37281_responseCode_};
_.f.JSC$61995_getResponseText=function(){return this.JSC$37281_responseText_};
_.f.JSC$61995_getErrorDescription=function(){return this.JSC$37281_errorDescription_};
_.f.cancel=function(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.JSC$37281_eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new FB("j")))};
_.f.pause=function(){};
_.f.onTransferProgress_=function(){this.dispatchEvent(new FB("f"))};
_.f.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.JSC$37281_errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new FB("i"))):(this.JSC$37281_responseCode_=b,a=a.target,b=ez(a.getAllResponseHeaders()),KOa(b),this.JSC$37281_responseText_=_.Ss(a),this.state_="Complete",this.dispatchEvent(new FB("g")))};
_.xTa=function(a,b,c,d){d=void 0===d?!1:d;if(c instanceof CB)return new oTa(a,"POST",b,c.getInputElement(),"");if("string"===typeof c||c instanceof String)return new wTa(a,"POST",b,c,"");var e=new IB(void 0);e.JSC$37278_url_=a;e.JSC$37278_method_="POST";e.JSC$37278_headers_=b;e.blob_=c;e.originalBlobSize_=c.size;e.JSC$37278_metadata_="";d&&(e.JSC$37278_withCredentials_=d);e.state_="Start";return e};
var yTa=["load","abort","error"],LB=function(a){this.transformedData=null;this.invalidAspectRatio=this.cropped=!1;this.JSC$37286_maxAspectRatio_=a;this.JSC$37286_image_=new Image;this.angle_=this.dataUrl_=this.mime_=this.JSC$37286_reject_=this.resolve_=null};
LB.prototype.transform=function(a){var b=this;this.mime_=a.type;_.Bl(nSa(a),this.dataUrlRead_,this.readError_,this);_.Bl(mSa(a.slice(0,65536)),this.exifRead_,this.readError_,this);return new Promise(function(c,d){b.resolve_=c;b.JSC$37286_reject_=d})};
LB.prototype.dataUrlRead_=function(a){this.dataUrl_=a;null!=this.angle_&&zTa(this)};
LB.prototype.exifRead_=function(a){a:if(a=new DataView(a),2>a.byteLength||65496!==a.getUint16(0))a=-2;else{for(var b=2,c=a.byteLength;b<c;){var d=a.getUint16(b),e=a.getUint16(b+2);if(65505===d){b+=4;d=a.getUint32(b);e=a.getUint16(b+4);if(1165519206!==d||0!==e)break;b+=6;d=18761===a.getUint16(b);b+=a.getUint32(b+4,d);e=a.getUint16(b,d);b+=2;for(var h=0;h<e;h++){if(274===a.getUint16(b,d)){b+=8;a=a.getUint16(b,d);break a}b+=12}}else if(255!==d>>8)break;else b+=e+2}a=-1}switch(a){case 8:this.angle_=270;
break;case 3:this.angle_=180;break;case 6:this.angle_=90;break;default:this.angle_=0}null!=this.dataUrl_&&zTa(this)};
LB.prototype.readError_=function(){this.JSC$37286_reject_()};
var zTa=function(a){_.Ek(a.JSC$37286_image_,yTa,a.completeTransform_,!1,a);_.Kw(a.JSC$37286_image_,_.rj(a.dataUrl_)||_.tj);"about:invalid#zClosurez"!=a.JSC$37286_image_.src&&"data:image/"===a.JSC$37286_image_.src.substr(0,11)||a.JSC$37286_reject_()};
LB.prototype.completeTransform_=function(){if("about:invalid#zClosurez"!=this.JSC$37286_image_.src){var a=_.rj(this.dataUrl_)||_.tj,b=this.JSC$37286_image_.naturalHeight?this.JSC$37286_image_.naturalWidth/this.JSC$37286_image_.naturalHeight:null;this.invalidAspectRatio=b>this.JSC$37286_maxAspectRatio_||b<1/this.JSC$37286_maxAspectRatio_;if("image/gif"!==this.mime_){var c=this.JSC$37286_image_.naturalWidth,d=this.JSC$37286_image_.naturalHeight,e=b=0,h=this.JSC$37286_image_.naturalHeight?this.JSC$37286_image_.naturalWidth/
this.JSC$37286_image_.naturalHeight:null;h>this.JSC$37286_maxAspectRatio_?(c=this.JSC$37286_maxAspectRatio_*d,b=(c-this.JSC$37286_image_.naturalWidth)/2,this.cropped=!0):h<1/this.JSC$37286_maxAspectRatio_&&(d=this.JSC$37286_maxAspectRatio_*c,e=(d-this.JSC$37286_image_.naturalHeight)/2,this.cropped=!0);if(90==this.angle_||270==this.angle_)h=c,c=d,d=h,h=b,b=e,e=h;switch(this.angle_){case 90:e-=c;break;case 180:b-=c;e-=d;break;case 270:b-=d}this.cropped||0!==this.angle_%360?(a=document.createElement("canvas"),
a.width=c||1,a.height=d||1,this.JSC$37286_image_.naturalWidth&&this.JSC$37286_image_.naturalHeight&&(c=a.getContext("2d"),c.rotate(Math.PI/180*this.angle_),c.drawImage(this.JSC$37286_image_,b,e,this.JSC$37286_image_.naturalWidth,this.JSC$37286_image_.naturalHeight)),b=a.toDataURL(this.mime_),this.transformedData=_.rj(b)||_.tj):this.transformedData=a}else this.transformedData=a;this.resolve_(this)}};
var MB=function(a,b){_.yk.call(this,a);this.value=b};
_.q(MB,_.yk);
var NB=function(a,b,c,d,e,h,l){l=void 0===l?!1:l;_.Kk.call(this);var m=this;this.JSC$37292_url_=a;this.JSC$37292_channelId_=b;this.maxFileSizeMb_=c;this.JSC$37292_maxAspectRatio_=d;this.dropZoneEl_=e;this.rejectInvalidAspectRatio_=l;this.selectButtonEl_=h;this.JSC$37292_reject_=this.resolve_=this.uploadPromise_=null;this.dropZoneOverlay_=new BB(this.dropZoneEl_);this.selectOverlay_=new DB(this.selectButtonEl_);"INPUT"==this.selectButtonEl_.nextSibling.tagName&&this.selectButtonEl_.nextSibling.setAttribute("accept","image/*");
this.JSC$37292_image_=this.transfer_=null;this.handler_=new _.bA(this);_.wk(this,this.handler_);this.handler_.listen(this.dropZoneOverlay_,"c",this.onChange_).listen(this.dropZoneEl_,"dragover",this.onHover_).listen(this.dropZoneEl_,"dragleave",this.onHover_).listen(h,"click",function(){m.selectOverlay_.click()}).listen(this.selectOverlay_,"e",this.onChange_)};
_.q(NB,_.Kk);NB.prototype.disposeInternal=function(){for(var a=this.selectButtonEl_.nextSibling;a&&a.parentNode&&"INPUT"==a.tagName;)a.parentNode.removeChild(a),a=this.selectButtonEl_.nextSibling;this.cancel();_.Kk.prototype.disposeInternal.call(this)};
NB.prototype.uploadPromise=function(){if(null==this.JSC$37292_image_)return null;this.uploadPromise_||ATa(this);return this.uploadPromise_};
NB.prototype.cancel=function(){BTa(this);this.JSC$37292_image_=null};
var BTa=function(a){a.transfer_&&a.transfer_.cancel();a.transfer_=null;a.uploadPromise_=null;a.resolve_=null;a.JSC$37292_reject_=null},ATa=function(a){BTa(a);
a.transfer_=_.xTa(a.JSC$37292_url_,{"X-YouTube-ChannelId":a.JSC$37292_channelId_},a.JSC$37292_image_);a.handler_.listenOnce(a.transfer_,"g",a.JSC$37294_onUploadComplete_);a.handler_.listenOnce(a.transfer_,"i",a.onUploadError_);a.transfer_.run();a.uploadPromise_=new Promise(function(b,c){a.resolve_=b;a.JSC$37292_reject_=c})};
_.f=NB.prototype;_.f.onChange_=function(a){a.files.length&&(this.JSC$37292_image_=a.files[0],this.JSC$37292_image_.size>1048576*this.maxFileSizeMb_?(this.JSC$37292_image_=null,this.dispatchEvent(new MB("yt.comments.ImageUploadOverlay.FILE_TOO_LARGE_EVENT"))):(ATa(this),(new LB(this.JSC$37292_maxAspectRatio_)).transform(this.JSC$37292_image_).then((0,_.$i)(this.onPreview_,this),(0,_.$i)(this.onPreviewError_,this))))};
_.f.onPreview_=function(a){if(a.invalidAspectRatio&&(this.rejectInvalidAspectRatio_&&(this.JSC$37292_image_=null),this.dispatchEvent(new MB("yt.comments.ImageUploadOverlay.FILE_INVALID_ASPECT_RATIO_EVENT")),this.rejectInvalidAspectRatio_))return;a.cropped&&this.dispatchEvent(new MB("yt.comments.ImageUploadOverlay.CROPPED_EVENT"));this.dispatchEvent(new MB("yt.comments.ImageUploadOverlay.CHANGE_EVENT",a.transformedData))};
_.f.onPreviewError_=function(){this.JSC$37292_image_=null;this.dispatchEvent(new MB("yt.comments.ImageUploadOverlay.INVALID_EVENT"))};
_.f.onHover_=function(a){a.stopPropagation();a.preventDefault();if("dragover"===a.type)a=!0;else if("dragleave"===a.type)a=!1;else return;this.dispatchEvent(new MB("yt.comments.ImageUploadOverlay.HOVER_EVENT",a))};
_.f.JSC$37294_onUploadComplete_=function(){var a=(0,_.ota)(this.transfer_.JSC$61995_getResponseText());this.resolve_(a.encryptedBlobId)};
_.f.onUploadError_=function(){this.JSC$37292_reject_();BTa(this)};
var DTa;_.OB=new _.Wd("yt-mentions");_.PB=function(){};
DTa=function(a,b){return _.CTa(b,"drag-to-reorder-edu-displayed")};
_.CTa=function(a,b,c,d,e,h){c=void 0===c?"OPEN_POPUP_POSITION_TOP":c;if(b){if(_.OB.get(b))return;_.OB.set(b,!0,d)}if(e&&void 0!==h){b=Number(_.OB.get(e)||0);if(b>=h)return;_.OB.set(e,b+1)}return[{openPopupAction:{popupType:"HINT",position:c,popup:{bubbleHintRenderer:{detailsText:a,style:"BUBBLE_HINT_STYLE_BLUE_TOOLTIP"}}}}]};
_.Yi(_.PB);
_.QB=window.matchMedia&&window.matchMedia("(any-pointer: coarse)").matches;
_.RB={YtLiveChatTooltipTargetingBehavior:{created:function(){this.handler_=null},
ready:function(){var a={};this.fire("yt-live-chat-add-tooltip-target",a);this.handler_=a.handler},
detached:function(){this.handler_&&this.handler_.removeElementFromSupportingTooltips(this);this.handler_=null}}};
var ETa,FTa=function(){if(void 0!==ETa)return ETa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>yt-live-chat-app ::-webkit-scrollbar,yt-live-chat-kevlar-container ::-webkit-scrollbar {content: "";} yt-live-chat-app ::-webkit-scrollbar-thumb,yt-live-chat-kevlar-container ::-webkit-scrollbar-thumb {background-color: rgba(136,136,136,0.2);border: 2px solid #fcfcfc;min-height: 30px;} yt-live-chat-app ::-webkit-scrollbar-track,yt-live-chat-kevlar-container ::-webkit-scrollbar-track {background-color: #fcfcfc;} [dark] yt-live-chat-app ::-webkit-scrollbar-thumb,[dark] yt-live-chat-kevlar-container ::-webkit-scrollbar-thumb {background-color: #333;border: 2px solid #000;} [dark] yt-live-chat-app ::-webkit-scrollbar-track,[dark] yt-live-chat-kevlar-container ::-webkit-scrollbar-track {background-color: #000;} [watch-color-update] ::-webkit-scrollbar-thumb {background-color: var(--yt-spec-icon-disabled);} [watch-color-update] ::-webkit-scrollbar-thumb,[watch-color-update][dark] ::-webkit-scrollbar-thumb {border-color: var(--yt-spec-general-background-b);} [watch-color-update] yt-live-chat-app ::-webkit-scrollbar-track,[watch-color-update] yt-live-chat-kevlar-container ::-webkit-scrollbar-track {background-color: var(--yt-spec-general-background-b);} /*# sourceMappingURL=yt-live-chat-default-theme.css.map*/</style>';
return ETa=a};
document.head.appendChild(FTa().content);
var GTa,HTa=function(){if(void 0!==GTa)return GTa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html {--yt-deprecated-blue-light: hsl(205.9, 80%, 43.1%);--yt-deprecated-opalescence-grey-opacity-lighten-3: hsla(0, 0%, 53.3%, 0.4);--yt-deprecated-opalescence-soft-grey-opacity-lighten-3: hsla( 0, 0%, 93.3%, 0.4 );--yt-deprecated-luna-black-opacity-lighten-2: hsla(0, 0%, 6.7%, 0.6);--yt-deprecated-luna-black-opacity-lighten-3: hsla(0, 0%, 6.7%, 0.4);--yt-deprecated-luna-black-opacity-lighten-4: hsla(0, 0%, 6.7%, 0.2);--yt-deprecated-opalescence-soft-grey: hsl(0, 0%, 93.3%);--yt-opalescence-dark-grey: hsl(0, 0%, 20%);--yt-deprecated-luna-black: hsl(0, 0%, 6.7%);--yt-deprecated-white-opacity-lighten-4: hsla(0, 0%, 100%, 0.2);--yt-deprecated-opalescence-soft-grey-opacity-lighten-1: hsla( 0, 0%, 93.3%, 0.8 );--yt-deprecated-opalescence-soft-grey: hsl(0, 0%, 93.3%);--yt-live-chat-background-color: var(--yt-spec-static-brand-white);--yt-live-chat-secondary-background-color: var( --yt-deprecated-opalescence-soft-grey );--yt-live-chat-action-panel-background-color: var( --yt-deprecated-opalescence-soft-grey-opacity-lighten-3 );--yt-live-chat-action-panel-background-color-transparent: hsla( 0, 0%, 97%, 0.8 );--yt-live-chat-mode-change-background-color: var( --yt-deprecated-opalescence-soft-grey-opacity-lighten-3 );--yt-live-chat-primary-text-color: var(--yt-spec-text-primary);--yt-live-chat-secondary-text-color: var( --yt-deprecated-luna-black-opacity-lighten-2 );--yt-live-chat-tertiary-text-color: var( --yt-deprecated-luna-black-opacity-lighten-3 );--yt-live-chat-text-input-field-inactive-underline-color: #b8b8b8;--yt-live-chat-text-input-field-placeholder-color: var( --yt-deprecated-luna-black-opacity-lighten-2 );--yt-live-chat-text-input-field-underline-transition-duration: 0.25s;--yt-live-chat-icon-button-color: var(--yt-live-chat-primary-text-color);--yt-live-chat-enabled-send-button-color: #4285f4;--yt-live-chat-disabled-icon-button-color: var( --yt-deprecated-luna-black-opacity-lighten-4 );--yt-live-chat-picker-button-color: var( --yt-deprecated-luna-black-opacity-lighten-3 );--yt-live-chat-picker-button-active-color: var( --yt-deprecated-luna-black-opacity-lighten-1 );--yt-live-chat-picker-button-disabled-color: var( --yt-live-chat-disabled-icon-button-color );--yt-live-chat-picker-button-hover-color: var( --yt-deprecated-luna-black-opacity-lighten-2 );--yt-live-chat-mention-background-color: #ff5722;--yt-live-chat-mention-text-color: var(--yt-spec-static-brand-white);--yt-live-chat-deleted-message-color: rgba(0, 0, 0, 0.5);--yt-live-chat-deleted-message-bar-color: rgba(11, 11, 11, 0.2);--yt-live-chat-disabled-button-background-color: var( --yt-deprecated-opalescence-soft-grey );--yt-live-chat-disabled-button-text-color: var( --yt-deprecated-luna-black-opacity-lighten-3 );--yt-live-chat-sub-panel-background-color: var( --yt-deprecated-opalescence-soft-grey );--yt-live-chat-sub-panel-background-color-transparent: hsla(0, 0%, 93%, 0.7);--yt-live-chat-header-background-color: var( --yt-deprecated-opalescence-soft-grey-opacity-lighten-3 );--yt-live-chat-header-button-color: var(--yt-deprecated-luna-black);--yt-live-chat-header-bottom-border: 1px solid var(--yt-spec-10-percent-layer);--yt-live-chat-count-color-early-warning: hsl(40, 76%, 55%);--yt-live-chat-count-color-error: hsl(10, 51%, 49%);--yt-live-chat-error-message-color: hsl(10, 51%, 49%);--yt-live-chat-reconnect-message-color: hsla(0, 0%, 7%, 0.2);--yt-live-chat-moderator-color: hsl(225, 84%, 66%);--yt-live-chat-owner-color: hsl(40, 76%, 55%);--yt-live-chat-author-chip-owner-background-color: #ffd600;--yt-live-chat-author-chip-owner-text-color: rgba(0, 0, 0, 0.87);--yt-live-chat-author-chip-verified-background-color: var(--yt-spec-grey-1);--yt-live-chat-author-chip-verified-text-color: var(--yt-spec-grey-5);--yt-live-chat-message-highlight-background-color: #f8f8f8;--yt-live-chat-sponsor-color: #107516;--yt-live-chat-overlay-color: hsla(0, 0%, 0%, 0.6);--yt-live-chat-dialog-background-color: var(--yt-spec-static-brand-white);--yt-live-chat-dialog-text-color: var( --yt-deprecated-luna-black-opacity-lighten-2 );--yt-live-chat-banner-border-color: var(--yt-spec-10-percent-layer);--yt-live-chat-banner-animation-duration: 0.35s;--yt-live-chat-banner-animation-fast-duration: 0.25s;--yt-live-chat-banner-gradient-scrim: linear-gradient( rgba(255, 255, 255, 0.95), transparent );--yt-live-chat-banner-indeterminate-bar-background: repeating-linear-gradient( 90deg, #fff, #fff 6px, #aaa 6px, #aaa 9px );--yt-live-chat-banner-bar-animation-duration: 1s;--yt-live-chat-action-panel-gradient-scrim: linear-gradient( to top, rgba(255, 255, 255, 0.95), transparent );--yt-live-chat-call-for-questions-primary-text-color: var( --yt-spec-static-overlay-text-primary );--yt-live-chat-call-for-questions-secondary-text-color: var( --yt-spec-static-overlay-text-secondary );--yt-live-chat-call-for-questions-ask-question-button-color: var( --yt-spec-static-overlay-text-primary );--yt-live-chat-call-to-action-primary-text-color: var( --yt-spec-static-overlay-text-primary );--yt-live-chat-call-to-action-secondary-text-color: var( --yt-spec-static-overlay-text-secondary );--yt-live-chat-call-to-action-ask-question-button-color: var( --yt-spec-static-overlay-text-primary );--yt-live-chat-qna-primary-text-color: var( --yt-spec-static-overlay-text-primary );--yt-live-chat-qna-start-panel-header-border-color: var( --yt-spec-10-percent-layer );--yt-live-chat-qna-panel-start-button-background-color: var( --yt-spec-call-to-action );--yt-live-chat-qna-panel-start-button-color: var( --yt-spec-general-background-b );--yt-live-chat-qna-start-panel-button-background-color-disabled: var( --yt-spec-badge-chip-background );--yt-live-chat-qna-panel-start-button-color-disabled: var( --yt-spec-text-disabled );--yt-live-chat-poll-primary-text-color: var( --yt-spec-static-overlay-text-primary );--yt-live-chat-poll-secondary-text-color: var( --yt-spec-static-overlay-text-secondary );--yt-live-chat-poll-tertiary-text-color: var( --yt-spec-static-overlay-text-disabled );--yt-live-chat-poll-choice-text-color: var( --yt-live-chat-poll-primary-text-color );--yt-live-chat-poll-choice-background-color: transparent;--yt-live-chat-poll-choice-border-radius: 2px;--yt-live-chat-poll-choice-border: 1px solid var(--yt-live-chat-poll-tertiary-text-color);--yt-live-chat-poll-choice-min-height: 16px;--yt-live-chat-poll-choice-vote-bar-background-color: var( --yt-spec-static-overlay-button-secondary );--yt-live-chat-poll-choice-hover-color: rgba(17, 17, 16, 0.1);--yt-live-chat-poll-choice-animation-duration: 0.5s;--yt-live-chat-poll-choice-text-padding: 0 16px;--yt-live-chat-poll-editor-panel-header-border-color: var( --yt-spec-10-percent-layer );--yt-live-chat-poll-editor-start-button-color: var( --yt-spec-general-background-b );--yt-live-chat-poll-editor-start-button-background-color: var( --yt-spec-call-to-action );--yt-live-chat-poll-editor-start-button-color-disabled: var( --yt-spec-text-disabled );--yt-live-chat-poll-editor-start-button-background-color-disabled: var( --yt-spec-badge-chip-background );--yt-live-interactivity-component-background-color: #264c8a;--yt-live-chat-panel-animation-duration: 0.5s;--yt-live-chat-universal-motion-curve: cubic-bezier(0.05, 0, 0, 1);--yt-live-chat-moderation-mode-hover-background-color: var( --yt-deprecated-luna-black-opacity-lighten-4 );--yt-live-chat-additional-inline-action-button-color: var( --yt-spec-static-brand-white );--yt-live-chat-additional-inline-action-button-background-color: hsla( 0, 0%, 26%, 0.8 );--yt-live-chat-additional-inline-action-button-background-color-hover: hsla( 0, 0%, 26%, 1 );--yt-formatted-string-emoji-size: 24px;--yt-live-chat-emoji-size: 24px;--yt-live-chat-text-input-field-suggestion-background-color: var( --yt-spec-static-brand-white );--yt-live-chat-text-input-field-suggestion-background-color-hover: #eee;--yt-live-chat-text-input-field-suggestion-text-color: #666;--yt-live-chat-text-input-field-suggestion-text-color-hover: #333;--yt-live-chat-ticker-arrow-background: hsl(0, 0%, 97.3%);--yt-emoji-picker-category-background-color: var( --yt-live-chat-action-panel-background-color-transparent );--yt-emoji-picker-category-color: var(--yt-live-chat-secondary-text-color);--yt-emoji-picker-category-button-color: var( --yt-live-chat-picker-button-color );--yt-emoji-picker-search-background-color: var(--yt-spec-white-2);--yt-emoji-picker-search-color: var( --yt-deprecated-luna-black-opacity-lighten-1 );--yt-emoji-picker-search-placeholder-color: var( --yt-deprecated-luna-black-opacity-lighten-2 );--yt-emoji-picker-base-with-variants-border: var( --yt-spec-black-pure-alpha-15);--yt-emoji-picker-variant-selector-bg-color: #e0e0e0;--yt-live-chat-slider-active-color: #2196f3;--yt-live-chat-slider-container-color: #c8c8c8;--yt-live-chat-slider-markers-color: #505050;--yt-live-chat-toast-action-color: #2196f3;--yt-live-chat-toast-background-color: var(--yt-opalescence-dark-grey);--yt-live-chat-toast-text-color: var(--yt-spec-static-brand-white);--yt-live-chat-automod-button-background-color: var( --yt-deprecated-opalescence-soft-grey );--yt-live-chat-automod-button-background-color-hover: var( --yt-deprecated-luna-black-opacity-lighten-4 );--yt-live-chat-creator-support-button-border-radius: 2px;--yt-live-chat-creator-support-button-padding: 10px 16px;--yt-live-chat-creator-support-button-font-size: inherit;--yt-live-chat-countdown-opacity: 0.3;--yt-live-chat-shimmer-background-color: rgba(136, 136, 136, 0.2);--yt-live-chat-shimmer-linear-gradient: linear-gradient( 0deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 65% );--yt-live-chat-vem-background-color: var( --yt-deprecated-opalescence-soft-grey );--yt-live-chat-upsell-dialog-renderer-button-padding: 10px 16px;--yt-live-chat-product-picker-icon-color: rgba(17, 17, 17, 0.6);--yt-live-chat-product-picker-hover-color: rgba(17, 17, 16, 0.1);--yt-live-chat-product-picker-disabled-icon-color: rgba(17, 17, 17, 0.4);--yt-pdg-paid-stickers-tab-selection-bar-color: var(--yt-spec-dark-blue);--yt-pdg-paid-stickers-author-name-font-size: 14px;--yt-pdg-paid-stickers-author-subtext-font-size: 13px;--yt-pdg-paid-stickers-margin-left: 38px;--yt-live-chat-ninja-message-background-color: transparent;} html[dark] {--yt-live-chat-background-color: #191919;--yt-live-chat-action-panel-background-color: #282828;--yt-live-chat-action-panel-background-color-transparent: rgba( 40, 40, 40, 0.8 );--yt-live-chat-secondary-background-color: #282828;--yt-live-chat-toast-text-color: var(--yt-spec-static-brand-white);--yt-live-chat-toast-background-color: #323232;--yt-live-chat-mode-change-background-color: #333;--yt-live-chat-primary-text-color: var(--yt-spec-static-brand-white);--yt-live-chat-secondary-text-color: rgba(255, 255, 255, 0.7);--yt-live-chat-tertiary-text-color: rgba(255, 255, 255, 0.54);--yt-live-chat-text-input-field-inactive-underline-color: #666;--yt-live-chat-text-input-field-placeholder-color: #666;--yt-live-chat-icon-button-color: var(--yt-live-chat-primary-text-color);--yt-live-chat-enabled-send-button-color: #fff;--yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, 0.3);--yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color);--yt-live-chat-picker-button-active-color: var(--yt-spec-static-brand-white);--yt-live-chat-picker-button-disabled-color: var( --yt-live-chat-disabled-icon-button-color );--yt-live-chat-picker-button-hover-color: rgba(255, 255, 255, 0.74);--yt-live-chat-mention-background-color: #ff5722;--yt-live-chat-mention-text-color: #fff;--yt-live-chat-deleted-message-color: rgba(255, 255, 255, 0.5);--yt-live-chat-deleted-message-bar-color: rgba(255, 255, 255, 0.5);--yt-live-chat-error-message-color: var(--yt-spec-brand-link-text);--yt-live-chat-reconnect-message-color: #fff;--yt-live-chat-disabled-button-background-color: #444;--yt-live-chat-disabled-button-text-color: var( --yt-live-chat-secondary-text-color );--yt-live-chat-sub-panel-background-color: #3e3e3e;--yt-live-chat-sub-panel-background-color-transparent: rgba(62, 62, 62, 0.7);--yt-live-chat-header-background-color: var( --yt-live-chat-action-panel-background-color );--yt-live-chat-header-button-color: var(--yt-live-chat-secondary-text-color);--yt-live-chat-moderator-color: #5e84f1;--yt-live-chat-owner-color: #ffd600;--yt-live-chat-message-highlight-background-color: #282828;--yt-live-chat-author-chip-owner-text-color: var(--yt-deprecated-luna-black);--yt-live-chat-author-chip-verified-background-color: var(--yt-spec-grey-5);--yt-live-chat-author-chip-verified-text-color: var(--yt-spec-white-4);--yt-live-chat-sponsor-color: #2ba640;--yt-live-chat-overlay-color: rgba(0, 0, 0, 0.5);--yt-live-chat-dialog-background-color: #424242;--yt-live-chat-dialog-text-color: var(--yt-spec-static-brand-white);--yt-live-chat-button-default-text-color: var(--yt-spec-static-brand-white);--yt-live-chat-button-default-background-color: var( --yt-deprecated-white-opacity-lighten-4 );--yt-live-chat-button-dark-text-color: var(--yt-spec-static-brand-white);--yt-live-chat-button-dark-background-color: var( --yt-deprecated-white-opacity-lighten-4 );--yt-emoji-picker-variant-selector-bg-color: #2f2f2f;--yt-live-chat-moderation-mode-hover-background-color: rgba( 255, 255, 255, 0.3 );--yt-live-chat-additional-inline-action-button-color: var(--yt-grey);--yt-live-chat-additional-inline-action-button-background-color: var( --yt-deprecated-opalescence-soft-grey-opacity-lighten-1 );--yt-live-chat-additional-inline-action-button-background-color-hover: var( --yt-deprecated-opalescence-soft-grey );--yt-formatted-string-emoji-size: 24px;--yt-live-chat-emoji-size: 24px;--yt-live-chat-text-input-field-suggestion-background-color: #3e3e3e;--yt-live-chat-text-input-field-suggestion-background-color-hover: #343434;--yt-live-chat-text-input-field-suggestion-text-color: var( --yt-spec-static-brand-white );--yt-live-chat-text-input-field-suggestion-text-color-hover: var( --yt-spec-static-brand-white );--yt-live-chat-text-input-field-placeholder-color: var( --yt-live-chat-secondary-text-color );--yt-live-chat-ticker-arrow-background: var( --yt-live-chat-action-panel-background-color );--yt-emoji-picker-category-background-color: var( --yt-live-chat-action-panel-background-color-transparent );--yt-emoji-picker-category-color: var(--yt-live-chat-secondary-text-color);--yt-emoji-picker-category-button-color: var( --yt-live-chat-picker-button-color );--yt-emoji-picker-search-background-color: #444;--yt-emoji-picker-search-color: #fff;--yt-emoji-picker-search-placeholder-color: #999;--yt-emoji-picker-base-with-variants-border: var(--yt-spec-white-1-alpha-25);--yt-live-chat-slider-active-color: #2196f3;--yt-live-chat-slider-container-color: #515151;--yt-live-chat-slider-markers-color: #fff;--yt-live-chat-banner-gradient-scrim: linear-gradient( rgba(40, 40, 40, 0.95), transparent );--yt-live-chat-action-panel-gradient-scrim: linear-gradient( to top, rgba(40, 40, 40, 0.95), transparent );--yt-live-chat-poll-editor-start-button-color: var( --yt-spec-icon-active-other );--yt-live-chat-poll-editor-start-button-background-color-disabled: var( --yt-spec-grey-1 );--yt-live-chat-automod-button-background-color: var( --yt-deprecated-opalescence-grey-opacity-lighten-3 );--yt-live-chat-automod-button-background-color-hover: rgba( 255, 255, 255, 0.5 );--yt-live-chat-automod-button-explanation-color: rgba(255, 255, 255, 0.7);--yt-live-chat-countdown-opacity: 0.5;--yt-live-chat-shimmer-background-color: rgba(17, 17, 17, 0.4);--yt-live-chat-shimmer-linear-gradient: linear-gradient( 0deg, rgba(0, 0, 0, 0.1) 40%, rgba(100, 100, 100, 0.3) 50%, rgba(0, 0, 0, 0.1) 60% );--yt-live-chat-vem-background-color: #3e3e3e;--yt-live-chat-product-picker-icon-color: rgba(255, 255, 255, 0.5);--yt-live-chat-product-picker-hover-color: rgba(68, 68, 68, 1);--yt-live-chat-product-picker-disabled-icon-color: rgba(255, 255, 255, 0.3);--yt-pdg-paid-stickers-tab-selection-bar-color: var(--yt-spec-light-blue);} html[watch-color-update] {--yt-live-chat-background-color: var(--yt-spec-general-background-a);--yt-live-chat-header-background-color: var( --yt-spec-brand-background-primary );--yt-live-chat-action-panel-background-color: var( --yt-spec-brand-background-primary );--yt-live-chat-message-highlight-background-color: var( --yt-spec-brand-background-primary );--yt-live-chat-ninja-message-background-color: var( --yt-spec-brand-background-primary );} /*# sourceMappingURL=yt-live-chat-default-theme_custom_style.css.map*/</style>";
return GTa=a};
document.head.appendChild(HTa().content);
var ITa;
var JTa,KTa=function(){if(void 0!==JTa)return JTa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html[creator-page-styling],yt-live-chat-app[creator-page-styling] {--yt-live-chat-upsell-dialog-renderer-border: 1px solid #d4d4d4;--yt-live-chat-upsell-dialog-renderer-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);--live-chat-upsell-dialog-renderer-content-padding: 24px 24px 0;--live-chat-upsell-dialog-renderer-title-font-size: 15px;--live-chat-upsell-dialog-renderer-title-font-weight: 500;--live-chat-upsell-dialog-renderer-title-line-height: 20px;--live-chat-upsell-dialog-renderer-title-margin-bottom: 17px;--live-chat-upsell-dialog-renderer-text-font-size: 12px;--live-chat-upsell-dialog-renderer-text-line-height: 17px;--live-chat-upsell-dialog-renderer-button-container-padding: 16px 16px 19px 24px;--yt-live-chat-upsell-dialog-renderer-button-padding: 7px 15px;--live-chat-upsell-dialog-renderer-button-font-size: 11px;--live-chat-upsell-dialog-renderer-button-text-transform: none;--yt-live-chat-upsell-dialog-renderer-action-button-color: var( --yt-spec-static-brand-white );--yt-live-chat-upsell-dialog-renderer-action-button-background: var( --yt-deprecated-blue-light );} yt-live-chat-app[live-dashboard] {--yt-live-chat-header-text-color: var(--yt-opalescence-dark-grey);--yt-live-chat-header-background-color: var(--yt-spec-static-brand-white);--yt-live-chat-header-bottom-border: 1px solid var(--yt-deprecated-opalescence-soft-grey);--yt-live-chat-header-button-color: var(--yt-opalescence-dark-grey);--yt-live-chat-action-panel-top-border: 1px solid var(--yt-deprecated-opalescence-soft-grey);} html[dashboard-money-feed],yt-live-chat-app[dashboard-money-feed] {--yt-live-chat-item-list-renderer-padding: 0;--yt-live-chat-item-list-item-border: 1px solid #e2e2e2;--yt-live-chat-item-timestamp-margin: 0;--yt-live-chat-paid-message-timestamp-display: inline;--yt-live-chat-server-error-message-display: none;} html[dark][dashboard-money-feed],html[dark] yt-live-chat-app[dashboard-money-feed] {--yt-live-chat-item-list-item-border: none;} /*# sourceMappingURL=yt-live-chat-live-dashboard-styles_custom_style.css.map*/</style>";
return JTa=a};
document.head.appendChild(KTa().content);
var LTa;
var MTa=document.head,NTa=MTa.appendChild,OTa;if(void 0===LTa){var SB=document.createElement("template");SB.innerHTML="";SB.content.insertBefore(KTa().content.cloneNode(!0),SB.content.firstChild);LTa=SB}OTa=LTa;NTa.call(MTa,OTa.content);
var PTa=document.head,QTa=PTa.appendChild,RTa;if(void 0===ITa){var TB=document.createElement("template");TB.innerHTML="";TB.content.insertBefore(HTa().content.cloneNode(!0),TB.content.firstChild);TB.content.insertBefore(FTa().content.cloneNode(!0),TB.content.firstChild);ITa=TB}RTa=ITa;QTa.call(PTa,RTa.content);
_.UB={YtdReduxBehavior:[]};_.UB.YtdReduxBehavior.push.apply(_.UB.YtdReduxBehavior,_.Wu);
var VB=function(a){pB.call(this,a,132);this.isDocument=a===document.documentElement};
_.q(VB,pB);VB.prototype.calculateScrollDelta=function(a,b,c){var d=0;a<b?d=a<b-100?-48:-8:a>b+c&&(d=a>b+c+100?48:8);return d};
VB.prototype.JSC$37199_onMouseMove=function(a){this.isDocument||(a.clientX=a.event_.pageX,a.clientY=a.event_.pageY);pB.prototype.JSC$37199_onMouseMove.call(this,a)};
_.WB={};_.WB.YtReorderableBehavior={_noAccessors:!0,properties:{scrollMargin:{type:Number,value:100}},created:function(){this.dragScrollSupport_=this.dragListGroup_=null;this.boundOnDraggerCreated_=this.onDraggerCreated_.bind(this);this.boundOnDragStart_=this.onDragStart_.bind(this);this.boundOnDrop_=this.onDrop_.bind(this);this.scrollElement_=document.documentElement;this.boundOnReorderableScroll_=this.onReorderableScroll_.bind(this)},
detached:function(){this.disposeDragDrop()},
disposeDragDrop:function(){this.dragListGroup_&&(_.Ik(this.dragListGroup_,qSa,this.boundOnDragStart_),_.Ik(this.dragListGroup_,uSa,this.boundOnDragStart_),this.dragListGroup_.dispose(),this.dragListGroup_=null);this.disposeDragScroll_();this.scrollElement_.removeEventListener("scroll",this.boundOnReorderableScroll_)},
disposeDragScroll_:function(){this.dragScrollSupport_&&(_.Jb(this.dragScrollSupport_),this.dragScrollSupport_=null)},
startDragDrop:function(a,b,c){c=void 0===c?"":c;this.disposeDragDrop();b&&(this.scrollElement_=b);this.dragListGroup_=new nB;this.dragListGroup_.hysteresisDistance_=2;wSa(this.dragListGroup_,a);this.dragListGroup_.draggerElClasses_=(0,_.mj)("dragging").split(" ");c&&xSa(this.dragListGroup_,function(d){var e=d||document,h=null;e.getElementsByClassName?h=e.getElementsByClassName(c)[0]:h=dPa("*",c,d);return h||d});
_.Fk(this.dragListGroup_,oSa,this.boundOnDraggerCreated_);_.Fk(this.dragListGroup_,qSa,this.boundOnDragStart_);_.Fk(this.dragListGroup_,uSa,this.boundOnDrop_);this.dragListGroup_.init();this.scrollElement_.addEventListener("scroll",this.boundOnReorderableScroll_,{passive:!0})},
onDraggerCreated_:function(a){var b=a.dragger;b.scrollTarget_=this.scrollElement_;a=a.draggerEl;b&&a.menuOpened&&(b.enabled_=!1)},
onDragStart_:function(a){var b=a.draggerEl;a=a.currDragItem;var c=Object.assign({},a.data);c.trackingParams=void 0;b.data=c;b.style.position="absolute";b.style.width=a.clientWidth+"px";b.style.zIndex=2026;b.onDrag&&b.onDrag();(a=document.querySelector("ytd-app"))&&a.appendChild(b);this.dragScrollSupport_=(b=_.x("kevlar_dragdrop_fast_scroll"))?new VB(this.scrollElement_,this.scrollMargin):new pB(this.scrollElement_,this.scrollMargin);this.dragScrollSupport_.horizontalScrolling_=!1;a=this.dragScrollSupport_;
a.constrainScroll_=!!a.margin_&&!b},
onDrop_:function(a){this.handleDrop(a);this.disposeDragScroll_()},
onReorderableScroll_:function(){if(this.dragListGroup_){var a=this.dragListGroup_;zSa(a,a.currDragItem_)}},
handleDrop:function(){}};
var STa;
var TTa;
var XB=function(){return _.K.apply(this,arguments)||this};
_.q(XB,_.K);XB.prototype.computeThumbnailWidth=function(a){if("BACKSTAGE_SURFACE_TYPE_STREAM"===a)return 638};
_.t.Object.defineProperties(XB,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TTa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_image_renderer.ytd.backstage.image.renderer.css.js--\x3e\n<template is="dom-if" if="[[data.command]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.command)]]" data="[[data.commmand]]" aria-label$="[[data.accessibility.accessibilityData.label]]">\n    <div id="image-container">\n      <yt-img-shadow thumbnail="[[data.image]]" width="[[computeThumbnailWidth(surface)]]">\n      </yt-img-shadow>\n      <div id="image-icon-container" class="image-icon-container" hidden="[[!data.icon]]">\n        <yt-icon icon="[[computeIcon_(data.icon)]]"></yt-icon>\n      </div>\n    </div>\n  </a>\n</template>\n<template is="dom-if" if="[[!data.command]]">\n    <div id="image-container">\n      <yt-img-shadow thumbnail="[[data.image]]" width="[[computeThumbnailWidth(surface)]]">\n      </yt-img-shadow>\n      <div id="image-icon-container" class="image-icon-container" hidden="[[!data.icon]]">\n        <yt-icon icon="[[computeIcon_(data.icon)]]"></yt-icon>\n      </div>\n    </div>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===STa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_image_renderer.ytd.backstage.image.renderer.css.js--\x3e<style>:host {--yt-img-max-height: 420px;display: block;} :host([surface=BACKSTAGE_SURFACE_TYPE_STREAM]) {--yt-img-max-height: none;} yt-img-shadow {--yt-img-border-radius: 2px;} #image-container {position: relative;} .image-icon-container {position: absolute;bottom: 8px;right: 8px;background: rgba(0,0,0,0.8);border-radius: 2px;} yt-icon {color: var(--yt-spec-static-brand-white);} /*# sourceMappingURL=ytd-backstage-image-renderer.css.map*/</style>";
STa=d}d=STa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TTa=a}a=TTa;return a}}});
var YB=XB;YB.communityTabWidth=638;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YB.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YB.prototype,"data",void 0);_.S([_.N({computed:"computeIcon_(data.icon)"}),_.T("design:type",String)],YB.prototype,"icon",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],YB.prototype,"surface",void 0);YB=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-image-renderer"})],YB);
var UTa;
var VTa;
var ZB=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!1;a.selectedItemIndex=-1;return a};
_.q(ZB,_.K);_.f=ZB.prototype;_.f.computeIsChannelOwner=function(a){if(!a)return!0;a=a[0];return!(a&&(a.signinEndpoint||a.selectServiceEndpoint))};
_.f.computeIsImagePoll=function(a){return"POLL_TYPE_IMAGE"===(null==a?void 0:a.type)};
_.f.computeIsTotalVotesDisabled=function(a){return!(null==a?0:a.totalVotes)};
_.f.thumbnailSrc=function(a){var b,c,d,e;return(null==(b=a.thumbnails)?0:null==(c=b[0])?0:c.url)?_.It(null==(d=a.thumbnails)?void 0:null==(e=d[0])?void 0:e.url):void 0};
_.f.computePollClass=function(a){if(!a)return"";a=_.qi(a.totalVotes);return this.isChannelOwner&&"0"===a[0]?"owner-no-vote":""};
_.f.progressWidth=function(a){return _.ou({width:(a?100*a:0)+"%"})};
_.f.textAreaWidth=function(a){return this.isImagePoll?null:_.ou({width:(a?100*a:0)+"%"})};
_.f.dataChanged=function(){if(this.data&&(this.isLoading=!1,this.previousPollInfo=null,this.data.choices))for(var a=this.data.choices,b=0;b<a.length;b++)if(a[b].selected){this.selectedItemIndex=b;break}};
_.f.onPopupClosed=function(a,b){a=Number(this.pollVotes.selected);b.confirmed&&(this.selectChoice(a,!1),_.C(this,"yt-remove-comment-action",[{removeCommentAction:{commentId:this.data.votedCommentId}}]));this.pollVotes.selected=-1};
_.f.onPollChoiceSelected=function(){this.isLoading||this.isChannelOwner||this.selectChoice(Number(this.pollVotes.selected),!1);this.pollVotes.selected=-1};
_.f.onYtCommentPollRevert=function(a,b){b&&(this.selectChoice(b.selectedChoiceIndex,!0),this.set("data.totalVotes",b.totalVotes))};
_.f.onYtServiceRequestSent=function(a,b){if(b.actions)for(a=0;a<b.actions.length;a++){var c=b.actions[a];c.updateBackstagePollAction&&this.set("data.totalVotes",c.updateBackstagePollAction.totalVotes)}};
_.f.onYtServiceRequestCompleted=function(a){var b=this.get("detail.data.actionResults.0.feedback",a);a=this.get("detail.data.actionResults.0.status",a);if("FEEDBACK_DESELECT"===b||"FEEDBACK_SELECT"===b)this.isLoading=!1,"STATUS_FAILED"===a?this.fire("yt-comment-poll-revert",this.previousPollInfo):this.previousPollInfo=null};
_.f.getEndpoint=function(a,b){return b===a?this.data.choices[b].deselectServiceEndpoint||null:this.data.choices[a].selectServiceEndpoint||null};
_.f.selectChoice=function(a,b){this.previousPollInfo||(this.previousPollInfo={totalVotes:this.data.totalVotes,selectedChoiceIndex:this.selectedItemIndex});for(var c=0;c<this.data.choices.length;c++){var d;if(a===this.selectedItemIndex){var e=!1;var h=d=null}else d=(e=c===a)?this.data.choices[c].voteRatioIfSelected:this.data.choices[c].voteRatioIfNotSelected,h=e?this.data.choices[c].votePercentageIfSelected:this.data.choices[c].votePercentageIfNotSelected;this.set("data.choices."+c+".voteRatio",d);
this.set("data.choices."+c+".votePercentage",h);this.set("data.choices."+c+".selected",e)}b||(this.isLoading=!0,(b=this.getEndpoint(a,this.selectedItemIndex))&&_.Kg(this,[b]));this.selectedItemIndex=this.selectedItemIndex===a?-1:a};
_.t.Object.defineProperties(ZB,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VTa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-poll-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_poll_renderer.ytd.backstage.poll.renderer.css.js--\x3e<yt-formatted-string id="vote-info" hidden="[[isTotalVotesDisabled]]" text="[[data.totalVotes]]">\n</yt-formatted-string>\n<tp-yt-paper-listbox id="poll-votes" class$="[[computePollClass(data)]]" on-iron-select="onPollChoiceSelected">\n  <template is="dom-repeat" items="{{data.choices}}">\n    <a id="sign-in" class="yt-simple-endpoint" href$="[[computeHref_(item.signinEndpoint)]]" data="[[item.signinEndpoint]]" role="option">\n      <tp-yt-paper-item class="vote-choice" name="[[index]]" selected$="[[item.selected]]" show-percentage$="[[item.votePercentage]]">\n        <template is="dom-if" if="[[!isImagePoll]]">\n          <tp-yt-paper-button class="check-icons" hidden="[[isChannelOwner]]">\n            <yt-icon hidden="[[item.selected]]" icon="radio-button-unchecked"></yt-icon>\n            <yt-icon class="checked" hidden="[[!item.selected]]" icon="check-circle"></yt-icon>\n          </tp-yt-paper-button>\n        </template>\n        <template is="dom-if" if="[[isImagePoll]]">\n          <img class="choice-image" alt="" src$="[[thumbnailSrc(item.image)]]">\n        </template>\n        <div class="choice-info">\n          <div class="text-area" style$="[[textAreaWidth(item.voteRatio)]]">\n            <yt-formatted-string class="choice-text" text="[[item.text]]">\n            </yt-formatted-string>\n            <yt-formatted-string class="vote-percentage" hidden="[[!item.votePercentage]]" text="[[item.votePercentage]]">\n            </yt-formatted-string>\n          </div>\n          <div class="progress-bar" hidden="[[!item.votePercentage]]" style$="[[progressWidth(item.voteRatio)]]">\n          </div>\n        </div>\n      </tp-yt-paper-item>\n    </a>\n  </template>\n</tp-yt-paper-listbox>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UTa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_poll_renderer.ytd.backstage.poll.renderer.css.js--\x3e<style>:host {--ytd-backstage-poll-choice-height: 36px;--ytd-backstage-image-poll-choice-image-size: 125px;--ytd-backstage-image-poll-choice-height: 125px;display: block;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} #vote-info {display: block;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #poll-votes {--paper-listbox-background-color: transparent;--paper-listbox-disabled-color: currentColor;--disabled-text-color: currentColor;padding: 12px 0 0 0;} .vote-choice {--paper-item-focused-background-color: transparent;--paper-item-focused-before-background: transparent;height: var(--ytd-backstage-poll-choice-height);min-height: var(--ytd-backstage-poll-choice-height);padding: 0;width: 100%;} :host([is-image-poll]) .vote-choice {border: 2px solid var(--yt-spec-10-percent-layer);border-radius: 4px;height: var(--ytd-backstage-image-poll-choice-height);min-height: var(--ytd-backstage-image-poll-choice-height);min-width: 150px;width: 100%;} :host([is-image-poll]) tp-yt-paper-item[selected].vote-choice {border: 2px solid var(--yt-spec-call-to-action);} #sign-in.yt-simple-endpoint {outline: none;width: auto;height: var(--ytd-backstage-poll-choice-height);padding-bottom: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([is-image-poll]) #sign-in.yt-simple-endpoint {height: var(--ytd-backstage-image-poll-choice-height);} .check-icons {min-width: 36px;padding: 0;margin: 0;margin-left: -10px;border-radius: 18px;} yt-icon {--iron-icon-width: 16px;--iron-icon-height: 16px;padding: 10px;color: var(--yt-spec-icon-inactive);} yt-icon.checked {color: var(--yt-spec-call-to-action);} .choice-info {display: inline-block;position: relative;width: 100%;height: var(--ytd-backstage-poll-choice-height);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host(:not([is-image-poll])) .choice-info {border-radius: 4px;border: 1px solid var(--yt-spec-icon-inactive);} :host(:not([is-image-poll])) tp-yt-paper-item[show-percentage] .choice-info {border: 1px solid var(--yt-spec-10-percent-layer);} :host(:not([is-image-poll])) tp-yt-paper-item[selected] .choice-info {border: 1px solid var(--yt-spec-themed-blue);} :host([is-image-poll]) .choice-info {height: var(--ytd-backstage-image-poll-choice-height);} .progress-bar {border-radius: 4px;height: var(--ytd-backstage-poll-choice-height);background-color: var(--yt-spec-10-percent-layer);display: inline-block;} tp-yt-paper-item[selected] .progress-bar {background-color: var(--yt-spec-suggested-action);} :host([is-image-poll]) .progress-bar {height: var(--ytd-backstage-image-poll-choice-height);} :host([is-image-poll]) tp-yt-paper-item[selected] .progress-bar {height: var(--ytd-backstage-image-poll-choice-height);} .text-area {color: var(--yt-spec-text-primary);margin: 8px 0;position: absolute;z-index: 1;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([is-image-poll]) .text-area {align-items: center;height: var(--ytd-backstage-image-poll-choice-height);margin: 0;width: 100%;} .vote-percentage,.choice-text {z-index: 1;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .vote-percentage {margin-right: 8px;} :host([is-image-poll]) .vote-percentage {color: var(--yt-spec-text-primary);margin: 10px;padding: 10px;right: 0px;width: 5%;} :host([is-image-poll]) tp-yt-paper-item[selected] .vote-percentage {color: var(--yt-spec-call-to-action);} .choice-text {margin: 0 8px;} :host([is-image-poll]) .choice-text {color: var(--yt-spec-text-primary);padding: 10px;width: 95%;} :host([is-image-poll]) tp-yt-paper-item[selected] .choice-text {color: var(--yt-spec-call-to-action);} .owner-no-vote .choice-text {margin-left: 0;} :host([show-poll-choice-border]) .owner-no-vote .choice-text {margin-left: 8px;} .choice-image {height: var(--ytd-backstage-image-poll-choice-image-size);width: var(--ytd-backstage-image-poll-choice-image-size);} /*# sourceMappingURL=ytd-backstage-poll-renderer.css.map*/</style>';
UTa=d}d=UTa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VTa=a}a=VTa;return a}}});
var $B=ZB;$B.prototype.onYtServiceRequestCompleted=$B.prototype.onYtServiceRequestCompleted;$B.prototype.onYtServiceRequestSent=$B.prototype.onYtServiceRequestSent;$B.prototype.onYtCommentPollRevert=$B.prototype.onYtCommentPollRevert;$B.prototype.onPopupClosed=$B.prototype.onPopupClosed;$B.prototype.dataChanged=$B.prototype.dataChanged;_.S([_.L(_.ox),_.T("design:type",Object)],$B.prototype,"paperItemBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$B.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],$B.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$B.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],$B.prototype,"isLoading",void 0);_.S([_.N({computed:"computeIsChannelOwner(data.choices)"}),_.T("design:type",Boolean)],$B.prototype,"isChannelOwner",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeIsImagePoll(data)"}),_.T("design:type",Boolean)],$B.prototype,"isImagePoll",void 0);_.S([_.N({computed:"computeIsTotalVotesDisabled(data)"}),_.T("design:type",Boolean)],$B.prototype,"isTotalVotesDisabled",void 0);_.S([_.N(),_.T("design:type",Object)],$B.prototype,"previousPollInfo",void 0);_.S([_.N(),_.T("design:type",Object)],$B.prototype,"selectedItemIndex",void 0);_.S([_.Z("#poll-votes"),_.T("design:type",Object)],$B.prototype,"pollVotes",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$B.prototype,"dataChanged",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],$B.prototype,"onPopupClosed",null);_.S([_.O("yt-comment-poll-revert"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],$B.prototype,"onYtCommentPollRevert",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],$B.prototype,"onYtServiceRequestSent",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],$B.prototype,"onYtServiceRequestCompleted",null);$B=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-poll-renderer"})],$B);
var WTa;
var XTa;
var YTa=function(){return _.K.apply(this,arguments)||this};
_.q(YTa,_.K);
_.t.Object.defineProperties(YTa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XTa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-child-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_child_video_renderer.ytd.child.video.renderer.css.js--\x3e<a class="yt-simple-endpoint" id="title" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]"><yt-formatted-string id="video-title" ellipsis-truncate="" text="[[data.title]]"></yt-formatted-string><div id="length">[[getSimpleString(data.lengthText)]]</div></a>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WTa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_child_video_renderer.ytd.child.video.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {display: block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;} #video-title,#length {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #length:before {content: "\u2022";margin: 4px 4px 0;} /*# sourceMappingURL=ytd-child-video-renderer.css.map*/</style>';
WTa=d}d=WTa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XTa=a}a=XTa;return a}}});
var aC=YTa;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],aC.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],aC.prototype,"data",void 0);aC=_.S([_.Q({asyncProperties:!0,is:"ytd-child-video-renderer"})],aC);
var ZTa;
var $Ta;
_.$u("itemSectionRenderer","playlistRenderer","ytd-playlist-renderer");var bC=function(){var a=_.K.apply(this,arguments)||this;a.displayItemCount=2;a.isBackstagePlaylist=!1;a.isPostCompactPlaylist=!1;return a};
_.q(bC,_.K);_.f=bC.prototype;_.f.computeFirstVideos=function(a,b){return void 0===a||void 0===b?[]:a.slice(0,b)};
_.f.dataChanged=function(a){a&&a.thumbnailRenderer&&(a=a.thumbnailRenderer,a.playlistVideoThumbnailRenderer&&this.set("data.thumbnail",a.playlistVideoThumbnailRenderer.thumbnail),a.playlistCustomThumbnailRenderer&&this.set("data.thumbnail",a.playlistCustomThumbnailRenderer.thumbnail))};
_.f.computeThumbnailHeight=function(a,b,c){return c?240:b?72:a?118:138};
_.f.computeThumbnailWidth=function(a,b,c,d){return c?"BIG1"===d?340:"BIG2"===d?320:"MEDIUM1"===d?300:"MEDIUM2"===d?280:360:b?128:a?210:246};
_.f.computeUseProminentThumbs=function(a){return a&&_.x("desktop_search_prominent_thumbs")};
_.t.Object.defineProperties(bC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Ta){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_renderer.ytd.playlist.renderer.css.js--\x3e<ytd-playlist-thumbnail custom-thumbnail-size="[[computeThumbnailHeight(isBackstagePlaylist, isPostCompactPlaylist, useProminentThumbs)]]" data="[[data]]" height="[[computeThumbnailHeight(isBackstagePlaylist, isPostCompactPlaylist, useProminentThumbs)]]" hovered="[[lockupIsHovered]]" use-hovered-property="" width="[[computeThumbnailWidth(isBackstagePlaylist, isPostCompactPlaylist, useProminentThumbs, prominentThumbStyle)]]">\n</ytd-playlist-thumbnail>\n<div id="content">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h3>\n      <ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n      </ytd-badge-supported-renderer>\n      <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        [[getSimpleString(data.title)]]\n      </span>\n    </h3>\n    <ytd-video-meta-block id="meta" data="[[data]]"></ytd-video-meta-block>\n  </a>\n  <ytd-badge-supported-renderer class="allowlisted-metadata-badges" badges="[[data.allowlistedMetadataBadges]]" hidden="[[!data.allowlistedMetadataBadges]]">\n  </ytd-badge-supported-renderer>\n  <yt-formatted-string id="description-text" hidden="[[!data.description]]" text="[[data.description]]"></yt-formatted-string>\n  <ul id="list" hidden="[[isPostCompactPlaylist]]">\n    <template is="dom-repeat" items="[[computeFirstVideos(data.videos, displayItemCount)]]" as="video">\n      <li>\n        <ytd-child-video-renderer data="[[video.childVideoRenderer]]">\n        </ytd-child-video-renderer>\n      </li>\n    </template>\n  </ul>\n  <yt-formatted-string id="view-more" text="[[data.viewPlaylistText]]"></yt-formatted-string>\n  <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]" role="text">\n  </ytd-badge-supported-renderer>\n</div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZTa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_renderer.ytd.playlist.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([use-prominent-thumbs])) ytd-playlist-thumbnail {width: 246px;height: 138px;margin-right: 16px;} :host([is-backstage-playlist]) ytd-playlist-thumbnail {width: 210px;height: 118px;margin-right: 8px;} :host([is-post-compact-playlist]) ytd-playlist-thumbnail {width: 128px;height: 72px;margin-right: 8px;} #content {overflow: hidden;max-width: 600px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([is-post-compact-playlist]) #content {margin: 8px 8px 0 0;} #list {list-style-type: none;padding: 0;margin: 12px 0 8px 0;} #list li {padding-bottom: 4px;} @media(max-width:656px) {#list li:not(:first-child) {display: none;}} #view-more {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} :host([is-post-compact-playlist]) #view-more {display: none;} #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([is-post-compact-playlist]) #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} h3 {color: var(--yt-spec-text-primary);} #description-text {color: var(--yt-spec-text-secondary);padding-top: 8px;-webkit-line-clamp: 2;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} .allowlisted-metadata-badges {padding-top: 8px;} :host([use-prominent-thumbs]) ytd-playlist-thumbnail:before {display: block;content: "";padding-top: 56.11%;} :host([use-prominent-thumbs]) ytd-playlist-thumbnail {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([prominent-thumb-style=BIG1]) ytd-playlist-thumbnail {max-width: 340px;} :host([prominent-thumb-style=BIG2]) ytd-playlist-thumbnail {max-width: 320px;} :host([prominent-thumb-style=MEDIUM1]) ytd-playlist-thumbnail {max-width: 300px;} :host([prominent-thumb-style=MEDIUM2]) ytd-playlist-thumbnail {max-width: 280px;} /*# sourceMappingURL=ytd-playlist-renderer.css.map*/</style>';
ZTa=d}d=ZTa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Ta=a}a=$Ta;return a}}});
var cC=bC;cC.prototype.dataChanged=cC.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],cC.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],cC.prototype,"ytdLockupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],cC.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],cC.prototype,"displayItemCount",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],cC.prototype,"isBackstagePlaylist",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],cC.prototype,"isPostCompactPlaylist",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],cC.prototype,"isSearch",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeUseProminentThumbs(isSearch)"}),_.T("design:type",Boolean)],cC.prototype,"useProminentThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_search_prominent_thumbs_style")}}),
_.T("design:type",String)],cC.prototype,"prominentThumbStyle",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],cC.prototype,"dataChanged",null);cC=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-renderer"})],cC);
var aUa;
var bUa;
var dC=function(){var a=_.K.apply(this,arguments)||this;var b,c;a.isExpanded=null!=(c=null==(b=a.data)?void 0:b.isExpanded)?c:!1;a.toggleExpandableContent=function(d){d.stopPropagation();a.isExpanded=!a.isExpanded};
return a};
_.q(dC,_.K);_.f=dC.prototype;_.f.configureRendererStamper=function(){return{"data.expandedContent":{id:"content",mapping:{horizontalCardListRenderer:{component:"ytd-horizontal-card-list-renderer",properties:{isSearch:"[[isSearch]]"}}}},"data.expandButton":{id:"expand",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-click":"[[toggleExpandableContent]]"}}}},"data.collapseButton":{id:"collapse",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-click":"[[toggleExpandableContent]]"}}}}}};
_.f.dataChanged=function(a){if(a){var b;this.isExpanded=null!=(b=null==a?void 0:a.isExpanded)?b:!1}};
_.f.isExpandedChanged=function(){if(this.isExpanded){var a;null==(a=this.JSC$37335_cardList)||a.fire("iron-resize")}};
_.f.computeIsExpanded=function(a){return!!a.isExpanded};
_.f.captureContentClick=function(a){var b;"scroll-container"===(null==(b=a.target)?void 0:b.id)&&(a.stopPropagation(),this.isExpanded=!this.isExpanded)};
_.f.onDown=function(a){this.skipKeyInteraction(a)&&a.stopPropagation()};
_.f.onUp=function(a){this.skipKeyInteraction(a)&&a.stopPropagation()};
_.f.skipKeyInteraction=function(a){var b;if("scroll-container"===(null==(b=a.target)?void 0:b.id))return!0;a=_.H(a).path||[];a=_.k(a);for(b=a.next();!b.done;b=a.next()){b=b.value;if(b===this)break;if(b.hasAttribute&&b.hasAttribute("skip-key-interaction"))return!0}return!1};
_.t.Object.defineProperties(dC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-expandable-metadata-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_expandable_metadata_renderer.ytd.expandable.metadata.renderer.css.js--\x3e<div id="header" on-click="toggleExpandableContent" skip-key-interaction="">\n  <div id="left-section">\n    <div id="thumbnail" hidden="[[isExpanded]]">\n      <yt-img-shadow object-fit="FILL" thumbnail="[[data.header.collapsedThumbnail]]">\n      </yt-img-shadow>\n    </div>\n    <div id="collapsed-title" hidden="[[isExpanded]]">\n      <yt-formatted-string text="[[data.header.collapsedTitle]]"></yt-formatted-string>\n    </div>\n    <div id="expanded-title" hidden="[[!isExpanded]]">\n      <yt-formatted-string text="[[data.header.expandedTitle]]"></yt-formatted-string>\n    </div>\n  </div>\n  <div id="right-section">\n    <div id="collapsed-label" hidden="[[isExpanded]]">\n      <yt-formatted-string text="[[data.header.collapsedLabel]]"></yt-formatted-string>\n    </div>\n    <div id="expand" hidden="[[isExpanded]]"></div>\n    <div id="collapse" hidden="[[!isExpanded]]"></div>\n  </div>\n</div>\n<div id="content" on-click="captureContentClick"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_expandable_metadata_renderer.ytd.expandable.metadata.renderer.css.js--\x3e<style>:host {width: 100%;background: var(--yt-spec-brand-background-solid);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {height: 36px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header:hover {cursor: pointer;} #left-section {overflow: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #right-section {flex-shrink: 0;padding-right: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #thumbnail {flex-shrink: 0;height: 28px;width: 52px;margin: 4px;margin-right: 8px;} #thumbnail yt-img-shadow {width: 100%;height: 100%;} #collapsed-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #expanded-title {margin-left: 16px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #collapsed-label {color: var(--yt-spec-text-secondary);margin-left: 4px;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #content {--yt-macro-marker-list-item-height: 160px;--yt-macro-marker-list-first-item-margin-left: 16px;--yt-macro-marker-list-item-margin-right: 12px;height: 0;visibility: hidden;} #content ytd-horizontal-card-list-renderer {opacity: 0;} :host([is-expanded]) #content {height: 164px;visibility: visible;margin-bottom: 12px;} :host([is-expanded]) #content ytd-horizontal-card-list-renderer {opacity: 1;} :host(:not([is-expanded])) #header:hover {background-color: var(--yt-spec-badge-chip-background);} /*# sourceMappingURL=ytd-expandable-metadata-renderer.css.map*/</style>';
aUa=d}d=aUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bUa=a}a=bUa;return a}}});
var eC=dC;eC.prototype.onUp=eC.prototype.onUp;eC.prototype.onDown=eC.prototype.onDown;eC.prototype.isExpandedChanged=eC.prototype.isExpandedChanged;eC.prototype.dataChanged=eC.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],eC.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],eC.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],eC.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],eC.prototype,"isExpanded",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],eC.prototype,"isSearch",void 0);_.S([_.N(),_.T("design:type",Object)],eC.prototype,"toggleExpandableContent",void 0);_.S([_.Z("ytd-horizontal-card-list-renderer"),_.T("design:type",Object)],eC.prototype,"JSC$37335_cardList",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],eC.prototype,"dataChanged",null);_.S([_.P("isExpanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],eC.prototype,"isExpandedChanged",null);_.S([_.O("down"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],eC.prototype,"onDown",null);
_.S([_.O("up"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],eC.prototype,"onUp",null);eC=_.S([_.Q({asyncProperties:!0,is:"ytd-expandable-metadata-renderer"})],eC);
var cUa;
var dUa;
_.$u("itemSectionRenderer","videoRenderer","ytd-video-renderer");var fC=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-hide-item-section-videos-by-id-command":"handleHideItemSectionVideosByIdCommand"};return a};
_.q(fC,_.K);_.f=fC.prototype;
_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"},initialRenderPriority:!_.x("polymer_video_renderer_defer_menu")||_.x("desktop_persistent_menu")&&_.QB?void 0:0},"data.buttons":{id:"buttons",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer",upcomingEventReminderButtonRenderer:"ytd-upcoming-event-reminder-button-renderer",buttonRenderer:"ytd-button-renderer"}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer",notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}},
"data.expandableMetadata":{id:"expandable-metadata",mapping:{expandableMetadataRenderer:{component:"ytd-expandable-metadata-renderer",properties:{isSearch:"[[isSearch]]"}}}}}};
_.f.attached=function(){this.toggleClass("blue-links",_.x("kevlar_video_blue_links"))};
_.f.dataChanged=function(){this.isHistory=-1!==window.location.pathname.indexOf("/feed/history");this.$["description-text"].toggleAttribute("ellipsis-truncate",!!this.data.topStandaloneBadge);var a=this.get("data.buttons.buttonRenderer.serviceEndpoint"),b,c;(null==a?0:null==(b=a.commandMetadata)?0:null==(c=b.webHandleServiceEndpointExtension)?0:c.fireAutomatically)&&this.ytComponentBehavior.resolveCommand(a)};
_.f.searchVideoResultEntityChanged=function(){this.searchVideoResultEntity&&(this.hideTranslation=!!this.searchVideoResultEntity.hasOptedOutTranslation)};
_.f.onTextWrapperClick=function(a){var b,c,d=this.hideTranslation?null==(b=this.data)?void 0:b.untranslatedNavigationEndpoint:null==(c=this.data)?void 0:c.navigationEndpoint;d&&!_.Hx(_.H(a).path||[],this,["A".toString(),"BUTTON".toString()])&&this.fire("yt-navigate",{endpoint:d})};
_.f.computeThumbnailWidth=function(a,b,c,d){return c?"BIG1"===d?340:"BIG2"===d?320:"MEDIUM1"===d?300:"MEDIUM2"===d?280:360:b?128:a?210:246};
_.f.handleHideItemSectionVideosByIdCommand=function(a){a.hideItemSectionVideosByIdCommand&&this.data&&this.data.videoId===a.hideItemSectionVideosByIdCommand.videoId&&(this.isHidden=!0)};
_.f.computeUseProminentThumbs=function(a){return a&&_.x("desktop_search_prominent_thumbs")};
_.f.getMetadataSnippetContainerClass=function(a){return a?"metadata-snippet-container-one-line":"metadata-snippet-container"};
_.f.computeTitleText=function(a,b,c){return a?c:b};
_.f.hideInlineTitleIcon=function(a,b){return a||!b};
_.t.Object.defineProperties(fC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_renderer.ytd.video.renderer.css.js--\x3e<div id="dismissible">\n  <ytd-thumbnail data="[[data]]" hovered="[[lockupIsHovered]]" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="[[computeThumbnailWidth(isBackstageVideo, isPostCompactVideo, useProminentThumbs, prominentThumbStyle)]]">\n  </ytd-thumbnail>\n  <div class="text-wrapper" on-click="onTextWrapperClick">\n    <div id="meta">\n      <div id="title-wrapper">\n        <h3 class="title-and-badge">\n          <ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n          </ytd-badge-supported-renderer>\n          <a id="video-title" class="yt-simple-endpoint" aria-label$="[[data.title.accessibility.accessibilityData.label]]" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" data="[[data.navigationEndpoint]]">\n            <yt-icon id="inline-title-icon" hidden="[[hideInlineTitleIcon(hideTranslation, inlineTitleIcon)]]" icon="[[inlineTitleIcon]]">\n            </yt-icon>\n            <yt-formatted-string text="[[computeTitleText(hideTranslation, data.title, data.untranslatedTitle)]]">\n            </yt-formatted-string>\n          </a>\n        </h3>\n        <div id="menu"></div>\n      </div>\n      <ytd-video-meta-block data="[[data]]" no-byline="[[useProminentThumbs]]" truncate-metadata-line="[[isRichGridVideoPost]]">\n      </ytd-video-meta-block>\n    </div>\n    <div id="channel-info" hidden="[[!useProminentThumbs]]">\n      <a aria-label$="[[data.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer.accessibility.accessibilityData.label]]" href$="[[computeHref_(data.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer.navigationEndpoint)]]">\n        <yt-img-shadow thumbnail="[[data.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer.thumbnail]]" width="24">\n        </yt-img-shadow>\n      </a>\n      <ytd-channel-name id="channel-name" class="long-byline" badges="[[data.ownerBadges]]" channel-name="[[data.longBylineText]]" wrap-text="true">\n      </ytd-channel-name>\n    </div>\n    <yt-formatted-string id="description-text" hidden="[[!data.descriptionSnippet]]" text="[[data.descriptionSnippet]]">\n    </yt-formatted-string>\n    <template is="dom-repeat" items="[[data.detailedMetadataSnippets]]" hidden="[[!data.detailedMetadataSnippets]]">\n      <div class$="[[getMetadataSnippetContainerClass(item.maxOneLine)]]">\n        <a class="yt-simple-endpoint metadata-snippet-timestamp" aria-label$="[[item.snippetTimestamp.accessibility.accessibilityData.label]]" hidden="[[!item.snippetTimestamp]]" href$="[[computeHref_(item.timestampEndpoint)]]" data="[[item.timestampEndpoint]]">\n          <span id="time">[[getSimpleString(item.snippetTimestamp)]]</span>\n          <yt-formatted-string class="metadata-snippet-text-navigation" text="[[item.snippetText]]">\n          </yt-formatted-string>\n        </a>\n        <yt-formatted-string class="metadata-snippet-text" hidden="[[item.snippetTimestamp]]" text="[[item.snippetText]]">\n        </yt-formatted-string>\n        <tp-yt-paper-tooltip>[[getSimpleString(item.snippetHoverText)]]</tp-yt-paper-tooltip>\n      </div>\n    </template>\n    <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n    </ytd-badge-supported-renderer>\n    <div id="expandable-metadata"></div>\n    <div id="buttons"></div>\n  </div>\n</div>\n<div id="dismissed"></div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_renderer.ytd.video.renderer.css.js--\x3e<style>:host {--yt-button-compact-background-color: var(--yt-spec-10-percent-layer);--yt-button-compact-text-color: var(--yt-spec-text-secondary);display: block;position: relative;} :host(:not([use-prominent-thumbs])) {max-width: 862px;} :host([is-backstage-video]) {max-width: 818px;} :host([is-post-compact-video]) {max-width: 736px;} :host([is-hidden]) #dismissible,:host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} #dismissible {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #dismissed:focus {outline: none;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} :host(:not([use-prominent-thumbs])) ytd-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;width: 246px;height: 138px;margin-right: 16px;} :host([is-backstage-video]) ytd-thumbnail {width: 210px;height: 118px;margin-right: 8px;} :host([is-post-compact-video]) ytd-thumbnail {width: 128px;height: 72px;margin-right: 8px;} #description-text {color: var(--yt-spec-text-secondary);padding-top: 8px;margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} .metadata-snippet-container {margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} .metadata-snippet-container-one-line {margin-bottom: 8px;text-overflow: ellipsis;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .metadata-snippet-text {display: inline;color: var(--yt-spec-text-secondary);} .metadata-snippet-text-navigation {display: inline;color: var(--yt-spec-text-secondary);} .metadata-snippet-text-navigation:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} .metadata-snippet-timestamp {display: inline;} #time {color: var(--yt-spec-themed-blue);padding: 2px 6px 2px 0px;border-radius: 2px;background-color: var(--yt-spec-suggested-action);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} .text-wrapper {max-width: 600px;min-width: 0;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .text-wrapper:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #title-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #menu {height: 2.4rem;} ytd-menu-renderer {margin-top: -11px;} #video-title {color: var(--yt-spec-text-primary);-webkit-line-clamp: 2;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} #inline-title-icon {color: var(--yt-spec-icon-active-other);height: 18px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([is-backstage-video]) #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([is-post-compact-video]) #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host(.blue-links) #video-title {color: #167ac6;} .title-and-badge {min-width: 0;color: var(--yt-spec-text-primary);margin-right: 8px;overflow: hidden;} #buttons>* {margin-top: 4px;} :host([is-post-compact-video]) #description-text,:host([is-post-compact-video]) #buttons {display: none;} :host([is-post-compact-video]) .text-wrapper {margin-top: 8px;margin-right: 8px;} #channel-info {display: none;} :host([use-prominent-thumbs]) ytd-thumbnail:before {display: block;content: "";padding-top: 56.11%;} :host([use-prominent-thumbs]) ytd-thumbnail {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([prominent-thumb-style=BIG1]) ytd-thumbnail {max-width: 340px;} :host([prominent-thumb-style=BIG2]) ytd-thumbnail {max-width: 320px;} :host([prominent-thumb-style=MEDIUM1]) ytd-thumbnail {max-width: 300px;} :host([prominent-thumb-style=MEDIUM2]) ytd-thumbnail {max-width: 280px;} :host([use-prominent-thumbs]) #channel-info {padding: 12px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;} :host([use-prominent-thumbs]) .text-wrapper {max-width: none;} :host([use-prominent-thumbs]) #description-text {padding-top: 0;} #badges {margin-bottom: 8px;} @media(min-width:0) and (max-width:691px) {:host([use-prominent-thumbs]) #description-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;}} :host([prominent-thumb-style=MEDIUM2]) #description-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} @media(min-width:0) and (max-width:627px) {:host([use-prominent-thumbs]) #description-text {display: none;}} #channel-name {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);padding-left: 8px;-ms-align-self: center;-webkit-align-self: center;align-self: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #expandable-metadata:not(:empty) {margin: 12px 0;} /*# sourceMappingURL=ytd-video-renderer.css.map*/</style>';
cUa=d}d=cUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dUa=a}a=dUa;return a}}});
var gC=fC;gC.prototype.searchVideoResultEntityChanged=gC.prototype.searchVideoResultEntityChanged;gC.prototype.dataChanged=gC.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],gC.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],gC.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],gC.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.iy),_.T("design:type",Object)],gC.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],gC.prototype,"ytdLockupBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],gC.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],gC.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],gC.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],gC.prototype,"isBackstageVideo",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],gC.prototype,"isPostCompactVideo",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],gC.prototype,"isHistory",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],gC.prototype,"isRichGridVideoPost",void 0);
_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],gC.prototype,"isHidden",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],gC.prototype,"isSearch",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],gC.prototype,"hideTranslation",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeUseProminentThumbs(isSearch)"}),_.T("design:type",Boolean)],gC.prototype,"useProminentThumbs",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeIcon_(data.inlineTitleIcon)"}),_.T("design:type",String)],gC.prototype,"inlineTitleIcon",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_search_prominent_thumbs_style")}}),
_.T("design:type",String)],gC.prototype,"prominentThumbStyle",void 0);_.S([_.N({selectorArgs:["data.searchVideoResultEntityKey"],selector:function(a,b){return _.Yg(a.entities,"searchVideoResultEntity",b)}}),
_.T("design:type",Object)],gC.prototype,"searchVideoResultEntity",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],gC.prototype,"dataChanged",null);_.S([_.P("searchVideoResultEntity"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],gC.prototype,"searchVideoResultEntityChanged",null);gC=_.S([_.Q({asyncProperties:!0,is:"ytd-video-renderer"})],gC);
var eUa;
var fUa;
var gUa;
var hUa;
var iUa;
var jUa;
var hC=function(){var a=_.K.apply(this,arguments)||this;a.boundCaptureFocus=function(b){a.onCaptureFocus(b)};
return a};
_.q(hC,_.K);_.f=hC.prototype;_.f.attached=function(){document.addEventListener("focus",this.boundCaptureFocus,!0)};
_.f.detached=function(){document.removeEventListener("focus",this.boundCaptureFocus)};
_.f.onCaptureFocus=function(a){-1!==_.H(a).path.indexOf(this)&&this.item.focus()};
_.f.getIconType=function(a){return a?"yt-icons:"+a.toLowerCase():null};
_.f.onSelect=function(){var a;if(null==(a=this.data)?0:a.onSelectCommand){var b,c;(null==(b=this.data.onSelectCommand.commandMetadata)?0:null==(c=b.webCommandMetadata)?0:c.url)?this.fire("yt-navigate",{endpoint:this.data.onSelectCommand}):_.Kg(this,[this.data.onSelectCommand])}};
_.t.Object.defineProperties(hC.prototype,{label:{configurable:!0,enumerable:!0,get:function(){return this.data?_.qi(this.data.label):""}},
value:{configurable:!0,enumerable:!0,get:function(){return this.data?"string"===typeof this.data.stringValue?this.data.stringValue:"number"===typeof this.data.int32Value?this.data.int32Value:null:null}}});
_.t.Object.defineProperties(hC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-privacy-dropdown-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_privacy_dropdown_item_renderer.ytd.privacy.dropdown.item.renderer.css.js--\x3e<tp-yt-paper-item id="item" on-click="onSelect">\n  <yt-icon id="dropdown-icon" icon="[[getIconType(data.icon.iconType)]]">\n  </yt-icon>\n  <tp-yt-paper-item-body two-line="">\n    <yt-formatted-string id="label" text="[[data.label]]"></yt-formatted-string>\n    <yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string>\n  </tp-yt-paper-item-body>\n</tp-yt-paper-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_privacy_dropdown_item_renderer.ytd.privacy.dropdown.item.renderer.css.js--\x3e<style>:host {display: block;outline: none;} :host(:hover) {cursor: pointer;background-color: var(--yt-spec-10-percent-layer);} #label {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #description {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #dropdown-icon {color: var(--yt-spec-brand-icon-inactive);margin-left: -8px;margin-right: 8px;} tp-yt-paper-item-body {min-height: 0;max-width: 100%;-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-privacy-dropdown-item-renderer.css.map*/</style>';
iUa=d}d=iUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jUa=a}a=jUa;return a}}});
var iC=hC;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],iC.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],iC.prototype,"data",void 0);_.S([_.Z("#item"),_.T("design:type",HTMLElement)],iC.prototype,"item",void 0);_.S([_.V("data.label"),_.T("design:type",String),_.T("design:paramtypes",[])],iC.prototype,"label",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],iC.prototype,"value",null);
iC=_.S([_.Q({asyncProperties:!0,is:"ytd-privacy-dropdown-item-renderer"})],iC);
var jC=function(){var a=_.K.apply(this,arguments)||this;a.value="";a.label="";a.disabled=!1;return a};
_.q(jC,_.K);_.f=jC.prototype;_.f.configureRendererStamper=function(){return{"data.entries":{id:"entries",mapping:{dropdownItemRenderer:"ytd-dropdown-item-renderer",privacyDropdownItemRenderer:"ytd-privacy-dropdown-item-renderer",navigationDropdownItemRenderer:"ytd-navigation-dropdown-item-renderer"}}}};
_.f.reset=function(){this.entries.selected=-1;this.entries.forceSynchronousItemUpdate();this.entries.select(this.getInitiallySelectedItem());this.setInitialLabel()};
_.f.dataChanged=function(){this.reset()};
_.f.valueChanged=function(){var a;if(this.value&&null!=(a=this.data)&&a.entries){a=_.k(this.data.entries);for(var b=a.next();!b.done;b=a.next())if((b=this.getRendererForEntry(b.value))&&this.getItemRendererValue(b)===this.value){this.label=this.ytComponentBehavior.getSimpleString(b.label);break}}};
_.f.setInitialLabel=function(){if(this.data&&this.data.entries)for(var a=_.k(this.data.entries),b=a.next();!b.done;b=a.next())if(b=this.getRendererForEntry(b.value)){if(b.isSelected){this.label=this.ytComponentBehavior.getSimpleString(b.label);break}this.data.label&&(this.label=this.data.label)}};
_.f.getInitiallySelectedItem=function(){if(!this.data||!this.data.entries)return-1;for(var a=_.k(this.data.entries),b=a.next();!b.done;b=a.next()){b=this.getRendererForEntry(b.value);var c=void 0;if(null==(c=b)?0:c.isSelected)return this.getItemRendererValue(b)||-1}return-1};
_.f.getItemRendererValue=function(a){return"stringValue"in a||"int32Value"in a?a.stringValue||a.int32Value||null:null};
_.f.getRendererForEntry=function(a){return a.dropdownItemRenderer||a.privacyDropdownItemRenderer||a.navigationDropdownItemRenderer||null};
_.t.Object.defineProperties(jC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-flat-dropdown-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_flat_dropdown_renderer.ytd.flat.dropdown.renderer.css.js--\x3e<tp-yt-paper-menu-button disabled="[[disabled]]" dynamic-align="" horizontal-align="left">\n  <tp-yt-paper-button id="label" class="dropdown-trigger" slot="dropdown-trigger" aria-label$="[[label]]">\n    <div id="label-text">[[label]]</div>\n    <yt-icon id="label-icon" icon="yt-icons:arrow-drop-down">\n    </yt-icon>\n  </tp-yt-paper-button>\n  <tp-yt-paper-listbox id="entries" class="dropdown-content" slot="dropdown-content" attr-for-selected="value" selected="{{value}}">\n  </tp-yt-paper-listbox>\n</tp-yt-paper-menu-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_flat_dropdown_renderer.ytd.flat.dropdown.renderer.css.js--\x3e<style>:host {display: inline-block;max-width: 100%;} tp-yt-paper-menu-button {color: var(--yt-spec-text-secondary);} tp-yt-paper-menu-button,#label-text {max-width: 100%;} #label-text {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} tp-yt-paper-menu-button {padding: 0;} tp-yt-paper-listbox {background-color: var(--yt-spec-brand-background-primary);} tp-yt-paper-listbox ytd-privacy-dropdown-item-renderer {cursor: pointer;} tp-yt-paper-listbox ytd-privacy-dropdown-item-renderer:hover {background-color: var(--yt-spec-10-percent-layer);} #label {cursor: pointer;text-transform: var(--yt-dropdown-menu-label-transform,none);padding: 0;margin: 0;min-width: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #label-text {color: var(--yt-spec-text-primary);@apply --yt-dropdown-menu-label-text;} #label.keyboard-focus #label-text {font-weight: 500;} #label-icon {flex-shrink: 0;margin-right: 8px;color: var(--yt-spec-icon-inactive);} :host(.text-secondary-style) #label-text {color: var(--yt-spec-text-secondary);margin-left: 16px;margin-right: 8px;-webkit-font-smoothing: antialiased;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-flat-dropdown-renderer.css.map*/</style>';
gUa=d}d=gUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hUa=a}a=hUa;return a}}});
var kC=jC;kC.prototype.valueChanged=kC.prototype.valueChanged;kC.prototype.dataChanged=kC.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],kC.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],kC.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],kC.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],kC.prototype,"data",void 0);
_.S([_.N({notify:!0}),_.T("design:type",Object)],kC.prototype,"value",void 0);_.S([_.N(),_.T("design:type",Object)],kC.prototype,"label",void 0);_.S([_.Z("#entries"),_.T("design:type",Object)],kC.prototype,"entries",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],kC.prototype,"disabled",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],kC.prototype,"dataChanged",null);
_.S([_.Ct("value"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],kC.prototype,"valueChanged",null);kC=_.S([_.Q({asyncProperties:!0,is:"ytd-flat-dropdown-renderer"})],kC);
var kUa;
var lUa;
var lC=function(){return _.K.apply(this,arguments)||this};
_.q(lC,_.K);lC.prototype.onClickEditIcon=function(){this.data&&this.data.onTapCommand&&_.Kg(this,[this.data.onTapCommand])};
_.t.Object.defineProperties(lC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-identity-chip-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_identity_chip_renderer.ytd.identity.chip.renderer.css.js--\x3e<div id="header">\n  <h3 id="header-text">[[data.headerText]]</h3>\n</div>\n<div id="content-row">\n  <div id="info-div">\n    <img id="avatar-image" alt="" src$="[[data.avatarUrl]]">\n    <div id="name-handle-div">\n      <p id="name">[[data.name]]</p>\n      <p id="handle" hidden="[[!data.handle]]"><span>@</span>[[data.handle]]</p>\n    </div>\n  </div>\n  <div id="edit-icon">\n    <yt-icon-button id="edit-icon-button" aria-label$="[[data.onTapLabel]]" on-click="onClickEditIcon">\n      <yt-icon id="edit-icon" icon="yt-icons:edit"></yt-icon>\n    </yt-icon-button>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_identity_chip_renderer.ytd.identity.chip.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header-text {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #name {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #handle {color: var(--yt-spec-text-secondary);margin-top: -2px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #name-handle-div {margin: 0 16px 0 8px;align-self: center;} #avatar-image {width: 36px;height: 36px;border-radius: 50%;overflow: hidden;background-color: transparent;} #content-row {display: flex;align-items: flex-end;} #info-div {display: flex;flex-direction: row;align-items: flex-end;} yt-icon {fill: var(--yt-spec-icon-active-other);} #edit-icon-button {width: 24px;height: 24px;vertical-align: bottom;margin-bottom: 4px;} /*# sourceMappingURL=ytd-identity-chip-renderer.css.map*/</style>';
kUa=d}d=kUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lUa=a}a=lUa;return a}}});
var mC=lC;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],mC.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],mC.prototype,"data",void 0);mC=_.S([_.Q({asyncProperties:!0,is:"ytd-identity-chip-renderer"})],mC);
var mUa;
var nUa;
var nC=function(){return _.K.apply(this,arguments)||this};
_.q(nC,_.K);nC.prototype.onDelete=function(){this.fire("ytd-post-video-tag-delete")};
_.t.Object.defineProperties(nC.prototype,{videoTagIcon:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;if(null==(a=this.data)?0:null==(b=a.tag)?0:null==(c=b.buttonRenderer)?0:null==(d=c.icon)?0:d.iconType)return _.Ft(this.data.tag.buttonRenderer.icon.iconType)}},
videoTitle:{configurable:!0,enumerable:!0,get:function(){var a,b,c;return null==(a=this.data)?void 0:null==(b=a.tag)?void 0:null==(c=b.buttonRenderer)?void 0:c.text}},
isDeleteSupported:{configurable:!0,enumerable:!0,get:function(){var a;return void 0!==(null==(a=this.data)?void 0:a.deleteButton)}},
deleteButton:{configurable:!0,enumerable:!0,get:function(){var a,b;return null==(a=this.data)?void 0:null==(b=a.deleteButton)?void 0:b.buttonRenderer}}});
_.t.Object.defineProperties(nC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-post-video-tag-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_video_tag_renderer.ytd.post.video.tag.renderer.css.js--\x3e<yt-icon icon="[[videoTagIcon]]"> </yt-icon>\n<yt-formatted-string class="title" ellipsis-truncate="" text="[[videoTitle]]">\n</yt-formatted-string>\n<yt-button-renderer class="delete-button" data="[[deleteButton]]" hidden="[[!isDeleteSupported]]" on-click="onDelete">\n</yt-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_video_tag_renderer.ytd.post.video.tag.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;font-family: "Roboto Mono",monospace;font-size: 1.4rem;font-weight: 500;line-height: 2.1rem;background-color: var(--yt-spec-brand-background-solid);border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 16px;box-sizing: border-box;font-family: var(--ytd-user-comment_-_font-family);height: 32px;letter-spacing: var(--ytd-user-comment_-_letter-spacing);max-width: 170px;padding: 0 10px;} :host(:hover) {background-color: var(--yt-spec-button-chip-background-hover);} yt-icon {color: var(--yt-spec-icon-inactive);position: absolute;} .delete-button {--yt-button-icon-size: 20px;--yt-button-icon-padding: 4px;background-color: var(--yt-spec-white-3);border-radius: 50%;box-shadow: var(--yt-spec-button-chip-background-hover);color: var(--yt-spec-static-brand-black);cursor: pointer;} .title {color: var(--yt-spec-text-primary);padding-right: 5px;padding-left: 30px;} /*# sourceMappingURL=ytd-post-video-tag-renderer.css.map*/</style>';
mUa=d}d=mUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nUa=a}a=nUa;return a}}});
var oC=nC;_.S([_.N(),_.T("design:type",Object)],oC.prototype,"data",void 0);_.S([_.V("data.tag.buttonRenderer.icon.iconType"),_.T("design:type",Object),_.T("design:paramtypes",[])],oC.prototype,"videoTagIcon",null);_.S([_.V("data.tag.buttonRenderer.text"),_.T("design:type",Object),_.T("design:paramtypes",[])],oC.prototype,"videoTitle",null);_.S([_.V("data.deleteButton"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],oC.prototype,"isDeleteSupported",null);
_.S([_.V("data.deleteButton"),_.T("design:type",Object),_.T("design:paramtypes",[])],oC.prototype,"deleteButton",null);oC=_.S([_.Q({asyncProperties:!0,is:"ytd-post-video-tag-renderer"})],oC);
var oUa;
var pUa;
var qUa={imageHorizontalPosition:"IMAGE_HORIZONTAL_POSITION_LABEL",imageVerticalPosition:"IMAGE_VERTICAL_POSITION_LABEL",horizontalRepositionInstruction:"REPOSITION_IMAGE_HORIZONTALLY_LABEL",verticalRepositionInstruction:"REPOSITION_IMAGE_VERTICALLY_LABEL",reachTopOfImage:"REACH_TOP_OF_IMAGE_TEXT",reachBottomOfImage:"REACH_BOTTOM_OF_IMAGE_TEXT",reachLeftOfImage:"REACH_LEFT_OF_IMAGE_TEXT",reachRightOfImage:"REACH_RIGHT_OF_IMAGE_TEXT"};
var rUa;
var sUa;
var pC=function(){var a=_.K.apply(this,arguments)||this;a.a11yConfig=qUa;a.imageDisplayOffsetTop=0;a.imageDisplayOffsetLeft=0;a.pickerDisplayOffsetTop=0;a.pickerDisplayOffsetLeft=0;a.cropCoordinatesSaved=!1;a.previewSize=0;a.startPicker=!1;a.repositionOptional=!1;return a};
_.q(pC,_.K);_.f=pC.prototype;_.f.created=function(){_.xB.requestAvailability()};
_.f.ready=function(){};
_.f.onArrowKeysDown=function(a){if(!this.cropCoordinatesSaved&&this.pickerSize&&this.imageHeight&&this.imageWidth&&this.displayScale){a.detail.keyboardEvent.preventDefault();var b=0,c=0,d="";switch(a.detail.keyboardEvent.key){case "ArrowUp":hz(this.imageDisplayOffsetTop+this.imageHeight,this.pickerDisplayOffsetTop+this.pickerSize)?d=this.a11yConfig.reachBottomOfImage:b=-.05*this.imageHeight;break;case "ArrowDown":hz(this.pickerDisplayOffsetTop,this.imageDisplayOffsetTop)?d=this.a11yConfig.reachTopOfImage:
b=.05*this.imageHeight;break;case "ArrowLeft":hz(this.pickerDisplayOffsetLeft+this.pickerSize,this.imageDisplayOffsetLeft+this.imageWidth)?d=this.a11yConfig.reachRightOfImage:c=-.05*this.imageWidth;break;case "ArrowRight":hz(this.pickerDisplayOffsetLeft,this.imageDisplayOffsetLeft)?d=this.a11yConfig.reachLeftOfImage:c=.05*this.imageWidth}d&&_.Bg(d)&&this.fire("iron-announce",{text:_.Bg(d)});if(c||b)this.imageHeight>this.imageWidth?(this.imageDisplayOffsetTop=Math.min(this.pickerDisplayOffsetTop,Math.max(this.pickerDisplayOffsetTop+
this.pickerSize-this.imageHeight,this.imageDisplayOffsetTop+b)),a=this.getPreviewPosition(this.pickerDisplayOffsetTop,this.pickerSize,this.imageDisplayOffsetTop,this.imageHeight),a=_.Bg(this.a11yConfig.imageVerticalPosition,{x_percent:""+a,y_percent:""+(100-a)})):(this.imageDisplayOffsetLeft=Math.min(this.pickerDisplayOffsetLeft,Math.max(this.pickerDisplayOffsetLeft+this.pickerSize-this.imageWidth,this.imageDisplayOffsetLeft+c)),a=this.getPreviewPosition(this.pickerDisplayOffsetLeft,this.pickerSize,
this.imageDisplayOffsetLeft,this.imageWidth),a=_.Bg(this.a11yConfig.imageHorizontalPosition,{x_percent:""+a,y_percent:""+(100-a)})),a&&this.fire("iron-announce",{text:a})}};
_.f.getPreviewPosition=function(a,b,c,d){return Math.round(100*(a+.5*b-c)/d)};
_.f.displayImage=function(){var a=this.JSC$37364_pickerContainer.getBoundingClientRect().width,b=this.JSC$37364_pickerContainer.getBoundingClientRect().height,c=Math.min(this.picker.getBoundingClientRect().height,this.picker.getBoundingClientRect().width),d=this.JSC$37364_imageInBackground.naturalWidth,e=this.JSC$37364_imageInBackground.naturalHeight;this.displayScale=Math.max(c/d,c/e);this.imageWidth=d*this.displayScale;this.imageHeight=e*this.displayScale;this.pickerDisplayOffsetLeft=(a-c)/2;this.pickerDisplayOffsetTop=
(b-c)/2;this.imageDisplayOffsetLeft=e>d?this.pickerDisplayOffsetLeft:(a-this.imageWidth)/2;this.imageDisplayOffsetTop=d>e?this.pickerDisplayOffsetTop:(b-this.imageHeight)/2;this.repositionOptional&&this.saveCropCoordinates()};
_.f.onImageDataChange=function(){this.imageData&&(this.pickerDisplayOffsetLeft=this.pickerDisplayOffsetTop=0,this.cropCoordinatesSaved=!1,_.Kw(this.JSC$37364_imageInBackground,this.imageData),_.Kw(this.JSC$37364_imageInPicker,this.imageData),_.Kw(this.JSC$37364_imageInPreviewClipper,this.imageData),_.Kw(this.imageAsPreview,this.imageData))};
_.f.getSignedPosition=function(a,b,c){return"X"===b&&"rtl"===_.w("HTML_DIR")?"-"===c?a+"px":-1*a+"px":"-"===c?-1*a+"px":a+"px"};
_.f.pickerMove=function(a){if(this.startPicker&&!this.cropCoordinatesSaved&&this.pickerSize&&void 0!==this.pickerOffsetX&&void 0!==this.pickerOffsetY&&this.imageHeight&&this.imageWidth&&this.displayScale){var b=this.pickerOffsetX-a.clientX,c=this.pickerOffsetY-a.clientY;this.pickerOffsetX=a.clientX;this.pickerOffsetY=a.clientY;this.imageHeight>this.imageWidth?this.imageDisplayOffsetTop=Math.min(this.pickerDisplayOffsetTop,Math.max(this.pickerDisplayOffsetTop+this.pickerSize-this.imageHeight,this.imageDisplayOffsetTop-
c)):this.imageDisplayOffsetLeft=Math.min(this.pickerDisplayOffsetLeft,Math.max(this.pickerDisplayOffsetLeft+this.pickerSize-this.imageWidth,this.imageDisplayOffsetLeft-b))}};
_.f.pickerMoveStart=function(a){this.startPicker=!0;this.pickerOffsetX=a.clientX;this.pickerOffsetY=a.clientY};
_.f.pickerMoveComplete=function(){this.startPicker=!1;this.pickerOffsetY=this.pickerOffsetX=void 0};
_.f.saveCropCoordinates=function(){this.cropCoordinatesSaved?(this.cropCoordinatesSaved=!1,this.previewSize=0,this.fire("yt-img-crop-reposition")):(this.startPicker=!1,this.generateCropPreview())};
_.f.getPreviewOffset=function(a,b,c,d){return b&&a&&c?("X"===d&&"rtl"===_.w("HTML_DIR")?c/b*a:c/b*a*-1)+"px":"0px"};
_.f.getSimpleText=function(a){return a?_.qi(a):""};
_.f.generateCropPreview=function(){if(this.imageWidth&&this.imageHeight&&this.pickerSize){this.cropCoordinatesSaved=!0;var a=this.cropOffsetTop/this.imageHeight,b=(this.cropOffsetLeft+this.pickerSize)/this.imageWidth,c=(this.cropOffsetTop+this.pickerSize)/this.imageHeight,d=this.cropOffsetLeft/this.imageWidth;this.previewSize=_.H(this.root).querySelector("#preview-clipper").getBoundingClientRect().width;this.fire("yt-img-crop-coordinates-update",{top:a,right:b,bottom:c,left:d})}};
_.t.Object.defineProperties(pC.prototype,{altLabelForImage:{configurable:!0,enumerable:!0,get:function(){if(!this.imageWidth||!this.imageHeight||!this.pickerSize)return"";if(this.imageHeight>this.imageWidth){var a=this.getPreviewPosition(this.pickerDisplayOffsetTop,this.pickerSize,this.imageDisplayOffsetTop,this.imageHeight);return _.Bg(this.a11yConfig.imageVerticalPosition,{x_percent:""+a,y_percent:""+(100-a)})+"\n"+_.Bg(this.a11yConfig.verticalRepositionInstruction)}a=this.getPreviewPosition(this.pickerDisplayOffsetLeft,
this.pickerSize,this.imageDisplayOffsetLeft,this.imageWidth);return _.Bg(this.a11yConfig.imageHorizontalPosition,{x_percent:""+a,y_percent:""+(100-a)})+"\n"+_.Bg(this.a11yConfig.horizontalRepositionInstruction)}},
pickerSize:{configurable:!0,enumerable:!0,get:function(){return this.imageHeight&&this.imageWidth?this.imageHeight>this.imageWidth?this.imageWidth:this.imageHeight:0}},
imageOrientationStyle:{configurable:!0,enumerable:!0,get:function(){if(this.imageHeight&&this.imageWidth)return this.imageHeight===this.imageWidth?"SQUARE":this.imageHeight>this.imageWidth?"PORTRAIT":"LANDSCAPE"}},
editButton:{configurable:!0,enumerable:!0,get:function(){if(this.instruction&&this.instruction.previewInstruction&&this.instruction.previewInstruction.editButtonLabel)return{size:"SIZE_SMALL",style:"STYLE_SUGGESTIVE",text:this.instruction.previewInstruction.editButtonLabel,accessibilityData:{accessibilityData:{label:this.getSimpleText(this.instruction.previewInstruction.editButtonLabel)}}}}},
saveButton:{configurable:!0,enumerable:!0,get:function(){if(this.instruction&&this.instruction.editInstruction&&this.instruction.editInstruction.saveButtonLabel)return{style:"STYLE_PRIMARY",size:"SIZE_SMALL",text:this.instruction.editInstruction.saveButtonLabel,accessibilityData:{accessibilityData:{label:this.getSimpleText(this.instruction.editInstruction.saveButtonLabel)}}}}},
cropOffsetTop:{configurable:!0,enumerable:!0,get:function(){return void 0===this.imageDisplayOffsetTop||void 0===this.pickerDisplayOffsetTop?0:this.pickerDisplayOffsetTop-this.imageDisplayOffsetTop}},
cropOffsetLeft:{configurable:!0,enumerable:!0,get:function(){return void 0===this.imageDisplayOffsetLeft||void 0===this.pickerDisplayOffsetLeft?0:this.pickerDisplayOffsetLeft-this.imageDisplayOffsetLeft}},
pickerBackgroundStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({transform:"translateX("+this.getSignedPosition(this.imageDisplayOffsetLeft,"X",void 0)+") translateY("+this.getSignedPosition(this.imageDisplayOffsetTop,"Y",void 0)+")"})}},
pickerDisplayStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({width:this.pickerSize+"px",height:this.pickerSize+"px",transform:"translateX("+this.getSignedPosition(this.pickerDisplayOffsetLeft,"X",void 0)+") translateY("+this.getSignedPosition(this.pickerDisplayOffsetTop,"Y",void 0)+")"})}},
imageInPickerStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({transform:"translateX("+this.getSignedPosition(this.cropOffsetLeft,"X","-")+") translateY("+this.getSignedPosition(this.cropOffsetTop,"Y","-")+")"})}},
previewClipperStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({transform:"translateX("+this.getPreviewOffset(this.cropOffsetLeft,this.pickerSize,this.previewSize,"X")+") translateY("+this.getPreviewOffset(this.cropOffsetTop,this.pickerSize,this.previewSize,"Y")+")"})}},
pickerModeStyle:{configurable:!0,enumerable:!0,get:function(){return this.cropCoordinatesSaved?"preview":"edit"}},
learnMore:{configurable:!0,enumerable:!0,get:function(){if(this.instruction&&this.instruction.editInstruction)return this.instruction.editInstruction.learnMore}},
learnMoreUrl:{configurable:!0,enumerable:!0,get:function(){if(this.learnMore&&this.learnMore.runs&&this.learnMore.runs[0]&&this.learnMore.runs[0].navigationEndpoint&&this.learnMore.runs[0].navigationEndpoint.urlEndpoint)return this.learnMore.runs[0].navigationEndpoint.urlEndpoint.url}}});
_.t.Object.defineProperties(pC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-img-crop-picker--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_img_crop_picker.yt.img.crop.picker.css.js--\x3e<div id="left-container" class$="[[pickerModeStyle]]"><div id="picker-container"><img id="image-in-picker-background" class$="[[imageOrientationStyle]]" width$="[[imageWidth]]" height$="[[imageHeight]]" style$="[[pickerBackgroundStyle]]" on-load="displayImage" tabindex="0" alt="[[altLabelForImage]]"><div id="overlay" hidden="[[cropCoordinatesSaved]]" on-mousemove="pickerMove" on-mousedown="pickerMoveStart" on-mouseup="pickerMoveComplete" on-mouseleave="pickerMoveComplete"></div><div id="picker" style$="[[pickerDisplayStyle]]"><img id="image-in-picker" class$="[[imageOrientationStyle]]" width$="[[imageWidth]]" height$="[[imageHeight]]" style$="[[imageInPickerStyle]]" alt=""></div></div><div id="preview-container" hidden="[[!cropCoordinatesSaved]]"><yt-formatted-string class="header" text="[[instruction.previewInstruction.previewHeader]]"></yt-formatted-string><yt-formatted-string class="details" text="[[instruction.previewInstruction.previewDetails]]"></yt-formatted-string><div id="preview-clipper"><img id="image-in-preview-clipper" class$="[[imageOrientationStyle]]" style$="[[previewClipperStyle]]" alt="[[getSimpleText(instruction.previewInstruction.previewHeader)]]"></div><yt-button-renderer id="edit-button" data="[[editButton]]" on-tap="saveCropCoordinates"></yt-button-renderer></div></div><div id="right-container" class$="[[pickerModeStyle]]"><div id="edit-instruction" hidden="[[cropCoordinatesSaved]]"><div class="instruction-container"><yt-formatted-string class="header" text="[[instruction.editInstruction.header]]"></yt-formatted-string><div class="details"><yt-formatted-string text="[[instruction.editInstruction.details]]"></yt-formatted-string></div><div class="details" id="learnmore-text"><a class="yt-simple-endpoint" target="_blank" href$="[[learnMoreUrl]]"><span>[[getSimpleText(learnMore)]]</span><yt-icon id="open-in-new" icon="yt-icons:open_in_new"></yt-icon></a></div></div><yt-button-renderer id="save-button" data="[[saveButton]]" on-tap="saveCropCoordinates"></yt-button-renderer></div><div id="preview-instruction" hidden="[[!cropCoordinatesSaved]]"><div class="instruction-container"><yt-formatted-string class="header" text="[[instruction.previewInstruction.fullImageHeader]]"></yt-formatted-string><yt-formatted-string class="details" text="[[instruction.previewInstruction.fullImageDetails]]"></yt-formatted-string></div><div id="full-image-container"><img id="full-image-as-preview" class$="[[imageOrientationStyle]]" alt="[[getSimpleText(instruction.previewInstruction.fullImageHeader)]]"></div></div></div><iron-a11y-keys keys="up down left right" target="[[keyboardInterfaceTarget]]" on-keys-pressed="onArrowKeysDown"></iron-a11y-keys>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rUa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_img_crop_picker.yt.img.crop.picker.css.js--\x3e<style>:host {--yt-img-crop-height: 482px;--yt-img-crop-default-margin: var(--ytd-margin-4x);--yt-img-crop-picker-border-width: 2px;--yt-img-crop-preview-size: 300px;--yt-img-crop-picker-size: calc(var(--yt-img-crop-preview-size) - 2 * var(--yt-img-crop-picker-border-width));--yt-img-crop-instruction-panel-width: 260px;height: 100%;min-height: var(--yt-img-crop-height);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #left-container {height: calc(100% - 2 * var(--yt-img-crop-default-margin));flex: 560px 1;border: var(--yt-img-crop-default-margin) solid var(--yt-spec-static-overlay-background-medium);border-width: var(--yt-img-crop-default-margin);background-color: var(--yt-spec-brand-background-solid);position: relative;} #left-container.preview {border-color: var(--yt-spec-general-background-a);} #picker-container {position: relative;width: 100%;height: 100%;overflow: hidden;} .preview #picker-container {opacity: 0;} #image-in-picker-background,#picker,#overlay {position: absolute;} #image-in-picker {pointer-events: none;user-select: none;} #picker {width: var(--yt-img-crop-picker-size);height: var(--yt-img-crop-picker-size);overflow: hidden;user-select: none;pointer-events: none;border: solid;border-width: var(--yt-img-crop-picker-border-width);border-color: var(--yt-spec-static-brand-white);position: absolute;left: calc(0px - var(--yt-img-crop-picker-border-width));top: calc(0px - var(--yt-img-crop-picker-border-width));} #overlay {background-color: var(--yt-spec-static-overlay-background-medium);width: 100%;height: 100%;cursor: all-scroll;} #preview-container {position: absolute;top: 0px;left: 0px;z-index: 1;background-color: var(--yt-spec-general-background-a);width: 100%;height: 100%;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #preview-clipper {position: relative;width: var(--yt-img-crop-preview-size);height: var(--yt-img-crop-preview-size);min-width: var(--yt-img-crop-preview-size);min-height: var(--yt-img-crop-preview-size);overflow: hidden;margin: 35px auto 0;} #image-in-preview-clipper {position: absolute;width: 100%;height: 100%;} #image-in-preview-clipper.PORTRAIT {height: auto;width: 100%;} #image-in-preview-clipper.LANDSCAPE {width: auto;height: 100%;} #edit-button {margin: var(--ytd-margin-7x) auto 0 auto;} #right-container {border-left: 1px solid var(--yt-spec-10-percent-layer);width: var(--yt-img-crop-instruction-panel-width);background-color: var(--yt-spec-general-background-a);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #right-container.edit {background-color: var(--yt-spec-general-background-a);} #full-image-container {width: calc(var(--yt-img-crop-instruction-panel-width) - 2 * var(--yt-img-crop-default-margin));height: calc(var(--yt-img-crop-instruction-panel-width) - 2 * var(--yt-img-crop-default-margin));max-width: calc(var(--yt-img-crop-instruction-panel-width) - 2 * var(--yt-img-crop-default-margin));max-height: calc(var(--yt-img-crop-instruction-panel-width) - 2 * var(--yt-img-crop-default-margin));align-items: center;justify-content: center;margin-top: 50px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #full-image-as-preview.LANDSCAPE {height: auto;width: 100%;} #full-image-as-preview.PORTRAIT {width: auto;height: 100%;} #full-image-as-preview {width: 100%;height: 100%;max-width: 100%;max-height: 100%;object-fit: contain;} #edit-instruction,#preview-instruction {margin: var(--ytd-margin-4x);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #edit-instruction {-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} .instruction-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #edit-instruction .instruction-container {flex-grow: 1;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .details {color: var(--yt-spec-text-secondary);word-break: normal;font-size: var(--ytd-conversation-metadata-font-size,1.2rem);font-weight: 400;line-height: var(--ytd-conversation-metadata-line-height,1.6rem);} .header {color: var(--yt-spec-text-primary);margin: var(--ytd-margin-base) 0;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} .edit .details {color: var(--yt-spec-text-secondary);@apply --ytd-thumbnail-attribution;} .edit .header {margin: var(--ytd-margin-2x) 0;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #learnmore-text {--yt-endpoint-color: var(--yt-spec-call-to-action);margin-top: var(--ytd-margin-4x);color: var(--yt-spec-call-to-action);font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #open-in-new {--iron-icon-width: 16px;--iron-icon-height: 16px;padding-left: 6px;padding-bottom: 2px;} #open-with {width: 24px;height: 24px;padding: 0 10px 0 2px;} #save-button {width: calc(var(--yt-img-crop-instruction-panel-width) - 2 * var(--yt-img-crop-default-margin));} /*# sourceMappingURL=yt-img-crop-picker.css.map*/</style>";
rUa=d}d=rUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sUa=a}a=sUa;return a}}});
var qC=pC;qC.prototype.onImageDataChange=qC.prototype.onImageDataChange;_.S([_.N(),_.T("design:type",Object)],qC.prototype,"imageData",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"instruction",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"a11yConfig",void 0);_.S([_.N(),_.T("design:type",Number)],qC.prototype,"imageWidth",void 0);_.S([_.N(),_.T("design:type",Number)],qC.prototype,"imageHeight",void 0);_.S([_.N(),_.T("design:type",Number)],qC.prototype,"displayScale",void 0);
_.S([_.N(),_.T("design:type",Object)],qC.prototype,"imageDisplayOffsetTop",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"imageDisplayOffsetLeft",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"pickerDisplayOffsetTop",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"pickerDisplayOffsetLeft",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"cropCoordinatesSaved",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"previewSize",void 0);
_.S([_.N(),_.T("design:type",Object)],qC.prototype,"startPicker",void 0);_.S([_.N(),_.T("design:type",Number)],qC.prototype,"pickerOffsetX",void 0);_.S([_.N(),_.T("design:type",Number)],qC.prototype,"pickerOffsetY",void 0);_.S([_.N(),_.T("design:type",Object)],qC.prototype,"repositionOptional",void 0);_.S([_.Z("#picker-container"),_.T("design:type",HTMLElement)],qC.prototype,"JSC$37364_pickerContainer",void 0);_.S([_.Z("#picker"),_.T("design:type",HTMLElement)],qC.prototype,"picker",void 0);
_.S([_.Z("#image-in-picker-background"),_.T("design:type",HTMLImageElement)],qC.prototype,"JSC$37364_imageInBackground",void 0);_.S([_.Z("#image-in-picker"),_.T("design:type",HTMLImageElement)],qC.prototype,"JSC$37364_imageInPicker",void 0);_.S([_.Z("#image-in-preview-clipper"),_.T("design:type",HTMLImageElement)],qC.prototype,"JSC$37364_imageInPreviewClipper",void 0);_.S([_.Z("#full-image-as-preview"),_.T("design:type",HTMLImageElement)],qC.prototype,"imageAsPreview",void 0);
_.S([_.V("pickerSize","imageWidth","imageHeight","pickerDisplayOffsetTop","imageDisplayOffsetTop"),_.T("design:type",String),_.T("design:paramtypes",[])],qC.prototype,"altLabelForImage",null);_.S([_.V("imageHeight","imageWidth"),_.T("design:type",Number),_.T("design:paramtypes",[])],qC.prototype,"pickerSize",null);_.S([_.V("imageHeight","imageWidth"),_.T("design:type",Object),_.T("design:paramtypes",[])],qC.prototype,"imageOrientationStyle",null);
_.S([_.V("instruction.previewInstruction.editButtonLabel"),_.T("design:type",Object),_.T("design:paramtypes",[])],qC.prototype,"editButton",null);_.S([_.V("instruction.editInstruction.saveButtonLabel"),_.T("design:type",Object),_.T("design:paramtypes",[])],qC.prototype,"saveButton",null);_.S([_.V("imageDisplayOffsetTop","pickerDisplayOffsetTop"),_.T("design:type",Number),_.T("design:paramtypes",[])],qC.prototype,"cropOffsetTop",null);
_.S([_.V("imageDisplayOffsetLeft","pickerDisplayOffsetLeft"),_.T("design:type",Number),_.T("design:paramtypes",[])],qC.prototype,"cropOffsetLeft",null);_.S([_.V("imageDisplayOffsetLeft","imageDisplayOffsetTop"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],qC.prototype,"pickerBackgroundStyle",null);_.S([_.V("pickerDisplayOffsetLeft","pickerDisplayOffsetTop"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],qC.prototype,"pickerDisplayStyle",null);
_.S([_.V("cropOffsetLeft","cropOffsetTop"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],qC.prototype,"imageInPickerStyle",null);_.S([_.V("cropOffsetLeft","cropOffsetTop","pickerSize","previewSize"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],qC.prototype,"previewClipperStyle",null);_.S([_.P("imageData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],qC.prototype,"onImageDataChange",null);
_.S([_.V("cropCoordinatesSaved"),_.T("design:type",String),_.T("design:paramtypes",[])],qC.prototype,"pickerModeStyle",null);_.S([_.V("instruction.editInstruction.learnMore"),_.T("design:type",Object),_.T("design:paramtypes",[])],qC.prototype,"learnMore",null);_.S([_.V("learnMore"),_.T("design:type",Object),_.T("design:paramtypes",[])],qC.prototype,"learnMoreUrl",null);qC=_.S([_.lu({is:"yt-img-crop-picker",noInjection:!0})],qC);
var rC=function(){var a=_.K.apply(this,arguments)||this;a.errorMessage="";a.hasPreview=!1;a.isBackstagePost=!1;return a};
_.q(rC,_.K);_.f=rC.prototype;_.f.configureRendererStamper=function(){return{selectionCancel:{id:"selection-cancel-button",mapping:{buttonRenderer:"ytd-button-renderer"}},previewCancel:{id:"preview-cancel-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.selectButton":{id:"select",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.detached=function(){this.removeOverlay()};
_.f.setPreview=function(a){_.H(this.root).querySelector("#preview-picker").imageData=a;this.hasPreview=!0;this.fire("yt-backstage-image-select-preview")};
_.f.cancel=function(){this.errorMessage="";this.overlay&&this.overlay.cancel();this.hasPreview=!1;var a=_.H(this.root).querySelector("#dropzone");a.classList.remove("dragover");a.classList.remove("error");this.fire("yt-backstage-image-select-cancel")};
_.f.setupOverlay=function(){var a=this.imageUploadEndpoint;this.removeOverlay();if(a&&a.imageValidationInfo){var b=_.H(this.root).querySelector("#dropzone"),c=_.H(this.root).querySelector("#select");this.overlay=new NB(a.uploadUrl,a.channelId,a.imageValidationInfo.maxFileSizeMb,a.imageValidationInfo.allowedMaxAspectRatio,b,c,!0);_.Fk(this.overlay,"yt.comments.ImageUploadOverlay.CHANGE_EVENT",this.onPreview,!1,this);_.Fk(this.overlay,"yt.comments.ImageUploadOverlay.FILE_TOO_LARGE_EVENT",this.onImageError,
!1,this);_.Fk(this.overlay,"yt.comments.ImageUploadOverlay.HOVER_EVENT",this.onDragOver,!1,this);_.Fk(this.overlay,"yt.comments.ImageUploadOverlay.INVALID_EVENT",this.onImageError,!1,this);_.Fk(this.overlay,"yt.comments.ImageUploadOverlay.FILE_INVALID_ASPECT_RATIO_EVENT",this.onImageAlert,!1,this)}};
_.f.removeOverlay=function(){this.overlay&&(_.Ik(this.overlay,"yt.comments.ImageUploadOverlay.INVALID_EVENT",this.onImageError,!1,this),_.Ik(this.overlay,"yt.comments.ImageUploadOverlay.HOVER_EVENT",this.onDragOver,!1,this),_.Ik(this.overlay,"yt.comments.ImageUploadOverlay.FILE_TOO_LARGE_EVENT",this.onImageError,!1,this),_.Ik(this.overlay,"yt.comments.ImageUploadOverlay.FILE_INVALID_ASPECT_RATIO_EVENT",this.onImageAlert,!1,this),_.Ik(this.overlay,"yt.comments.ImageUploadOverlay.CHANGE_EVENT",this.onPreview,
!1,this),this.overlay.dispose(),this.overlay=void 0)};
_.f.onDragOver=function(a){var b=_.H(this.root).querySelector("#dropzone");this.toggleClass("dragover",a.value,b)};
_.f.onPreview=function(a){this.setPreview(a.value)};
_.f.onImageError=function(a){if("yt.comments.ImageUploadOverlay.FILE_TOO_LARGE_EVENT"===a.type){var b;a=null==(b=this.data)?void 0:b.fileSizeError}else if("yt.comments.ImageUploadOverlay.INVALID_EVENT"===a.type){var c;a=null==(c=this.data)?void 0:c.invalidError}else if("yt.comments.ImageUploadOverlay.FILE_INVALID_ASPECT_RATIO_EVENT"===a.type){var d;a=null==(d=this.data)?void 0:d.invalidAspectRatioError}else return;this.errorMessage=_.qi(a);_.H(this.root).querySelector("#dropzone").classList.add("error")};
_.f.onImageAlert=function(a){this.onImageError(a)};
_.f.uploadPromise=function(){var a=this,b=this.overlay&&this.overlay.uploadPromise();if(b)return b.catch(function(){throw Error(a.data?_.qi(a.data.uploadFailureError):"");})};
_.t.Object.defineProperties(rC.prototype,{selectionCancel:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.cancelButton}},
previewCancel:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.cancelButton}},
icon:{configurable:!0,enumerable:!0,get:function(){var a,b;if(null==(a=this.data)?0:null==(b=a.icon)?0:b.iconType)return _.Ft(this.data.icon.iconType)}}});
_.t.Object.defineProperties(rC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-image-select-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_image_select_renderer.ytd.backstage.image.select.renderer.css.js--\x3e<div id="dropzone" hidden="[[hasPreview]]">\n  <div id="selection-cancel-button" class="cancel" on-tap="cancel"></div>\n  <yt-icon id="drop-icon" icon="[[icon]]"></yt-icon>\n  <span id="prompt">[[getSimpleString(data.dragLabel)]]</span>\n  <div id="select"></div>\n  <div class="messages">\n    <span id="aspect-ratio-message" hidden="[[!usePreviewPicker]]">\n      [[getSimpleString(data.aspectRatioRequirement)]]\n    </span>\n    <span id="license-text">[[getSimpleString(data.licenseText)]]</span>\n    <span id="error-message" hidden="[[!errorMessage]]">[[errorMessage]]</span>\n  </div>\n</div>\n<div id="image-preview" hidden="[[!hasPreview]]">\n  <div id="preview-cancel-button" class="cancel" on-tap="cancel"></div>\n  <yt-img-crop-picker id="preview-picker" instruction="[[data.imagePreviewSelectMetadata]]" reposition-optional="true">\n  </yt-img-crop-picker>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_image_select_renderer.ytd.backstage.image.select.renderer.css.js--\x3e<style>:host {--ytd-cancel-button-right: -12px;--ytd-cancel-button-top: -12px;--ytd-cancel-button-size: 24px;--ytd-image-preview-max-height: 420px;--ytd-image-preview-picker-max-height: 482px;margin: 12px 12px 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #dropzone {flex-basis: 100%;border: 1px dashed var(--yt-spec-icon-disabled);border-radius: 2px;min-height: 100px;padding: 32px 8px 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #dropzone.dragover {border: 2px dashed var(--yt-spec-call-to-action);} #dropzone.error {border-color: var(--yt-spec-brand-link-text);} .cancel>ytd-button-renderer {--yt-button-icon-size: var(--ytd-cancel-button-size);--yt-button-icon-padding: 4px;position: absolute;right: var(--ytd-cancel-button-right);top: var(--ytd-cancel-button-top);width: var(--ytd-cancel-button-size);height: var(--ytd-cancel-button-size);z-index: 1;cursor: pointer;box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);border-radius: 50%;background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-icon-active-other);} #drop-icon {--iron-icon-width: 48px;--iron-icon-height: 48px;color: var(--yt-spec-icon-active-other);} #prompt {padding-top: 8px;padding-bottom: 12px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #license-text,#aspect-ratio-message {color: var(--yt-spec-text-secondary);} #error-message {margin-top: 16px;color: var(--yt-spec-brand-link-text);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} .messages {padding-top: 48px;margin-top: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #image-preview {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #preview {max-width: 100%;max-height: var(--ytd-image-preview-max-height);} #image-preview {flex-grow: 1;} #preview-picker {width: 100%;max-width: 100%;height: var(--ytd-image-preview-picker-max-height);border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 2px;} :host([is-backstage-post]) {margin: 16px 0 0 0;} :host([is-backstage-post]) #dropzone {border-color: var(--yt-spec-icon-disabled);background: var(--yt-spec-general-background-a);} :host([is-backstage-post]) #dropzone.dragover {border: 1px solid var(--yt-spec-10-percent-layer);background: var(--yt-spec-general-background-a);} :host([is-backstage-post]) #dropzone.error {border-color: var(--yt-spec-brand-link-text);} :host([is-backstage-post]) #drop-icon {color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-backstage-image-select-renderer.css.map*/</style>';
oUa=d}d=oUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pUa=a}a=pUa;return a}}});
var sC=rC;sC.prototype.setupOverlay=sC.prototype.setupOverlay;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],sC.prototype,"rendererStamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],sC.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],sC.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],sC.prototype,"imageUploadEndpoint",void 0);_.S([_.N(),_.T("design:type",Object)],sC.prototype,"errorMessage",void 0);
_.S([_.N(),_.T("design:type",NB)],sC.prototype,"overlay",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],sC.prototype,"hasPreview",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],sC.prototype,"isBackstagePost",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],sC.prototype,"selectionCancel",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],sC.prototype,"previewCancel",null);
_.S([_.V("data.icon.iconType"),_.T("design:type",Object),_.T("design:paramtypes",[])],sC.prototype,"icon",null);_.S([_.P("imageUploadEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],sC.prototype,"setupOverlay",null);sC=_.S([_.Q({is:"ytd-backstage-image-select-renderer"})],sC);
var tUa={imageHorizontalPosition:"IMAGE_HORIZONTAL_POSITION_LABEL",imageVerticalPosition:"IMAGE_VERTICAL_POSITION_LABEL",horizontalRepositionInstruction:"REPOSITION_IMAGE_HORIZONTALLY_LABEL",verticalRepositionInstruction:"REPOSITION_IMAGE_VERTICALLY_LABEL",reachTopOfImage:"REACH_TOP_OF_IMAGE_TEXT",reachBottomOfImage:"REACH_BOTTOM_OF_IMAGE_TEXT",reachLeftOfImage:"REACH_LEFT_OF_IMAGE_TEXT",reachRightOfImage:"REACH_RIGHT_OF_IMAGE_TEXT"};
var uUa;
var vUa;
var MOa=function(a,b,c,d,e){this.id=a;this.imageBlob=b;this.localImageSrc=c;this.naturalWidth=d;this.naturalHeight=e;this.previewCoordinates=this.naturalHeight>this.naturalWidth?{top:(this.naturalHeight-this.naturalWidth)/2/this.naturalHeight,right:1,bottom:(this.naturalHeight+this.naturalWidth)/2/this.naturalHeight,left:0}:{top:0,right:(this.naturalWidth+this.naturalHeight)/2/this.naturalWidth,bottom:1,left:(this.naturalWidth-this.naturalHeight)/2/this.naturalWidth}};
var tC=function(){var a=_.K.apply(this,arguments)||this;a.a11yConfig=tUa;a.imageDisplayOffsetTop=0;a.imageDisplayOffsetLeft=0;a.pickerDisplayOffsetTop=0;a.pickerDisplayOffsetLeft=0;a.showPreviewContainer=!0;a.startPicker=!1;a.repositionOptional=!1;a.savedImageDisplayOffsetTop=0;a.savedImageDisplayOffsetLeft=0;return a};
_.q(tC,_.K);_.f=tC.prototype;_.f.created=function(){_.xB.requestAvailability()};
_.f.ready=function(){};
_.f.onArrowKeysDown=function(a){if(!this.showPreviewContainer&&this.pickerSize&&this.imageHeight&&this.imageWidth&&this.displayScale){a.detail.keyboardEvent.preventDefault();var b=0,c=0,d="";switch(a.detail.keyboardEvent.key){case "ArrowUp":iz(this.imageDisplayOffsetTop+this.imageHeight,this.pickerDisplayOffsetTop+this.pickerSize)?d=this.a11yConfig.reachBottomOfImage:b=-.05*this.imageHeight;break;case "ArrowDown":iz(this.pickerDisplayOffsetTop,this.imageDisplayOffsetTop)?d=this.a11yConfig.reachTopOfImage:
b=.05*this.imageHeight;break;case "ArrowLeft":iz(this.pickerDisplayOffsetLeft+this.pickerSize,this.imageDisplayOffsetLeft+this.imageWidth)?d=this.a11yConfig.reachRightOfImage:c=-.05*this.imageWidth;break;case "ArrowRight":iz(this.pickerDisplayOffsetLeft,this.imageDisplayOffsetLeft)?d=this.a11yConfig.reachLeftOfImage:c=.05*this.imageWidth}d&&_.Bg(d)&&this.fire("iron-announce",{text:_.Bg(d)});if(c||b)this.imageHeight>this.imageWidth?(this.imageDisplayOffsetTop=Math.min(this.pickerDisplayOffsetTop,Math.max(this.pickerDisplayOffsetTop+
this.pickerSize-this.imageHeight,this.imageDisplayOffsetTop+b)),a=this.getPreviewPosition(this.pickerDisplayOffsetTop,this.pickerSize,this.imageDisplayOffsetTop,this.imageHeight),a=_.Bg(this.a11yConfig.imageVerticalPosition,{x_percent:""+a,y_percent:""+(100-a)})):(this.imageDisplayOffsetLeft=Math.min(this.pickerDisplayOffsetLeft,Math.max(this.pickerDisplayOffsetLeft+this.pickerSize-this.imageWidth,this.imageDisplayOffsetLeft+c)),a=this.getPreviewPosition(this.pickerDisplayOffsetLeft,this.pickerSize,
this.imageDisplayOffsetLeft,this.imageWidth),a=_.Bg(this.a11yConfig.imageHorizontalPosition,{x_percent:""+a,y_percent:""+(100-a)})),a&&this.fire("iron-announce",{text:a})}};
_.f.getPreviewPosition=function(a,b,c,d){return Math.round(100*(a+.5*b-c)/d)};
_.f.calculateDisplayPosition=function(){var a=this.imageData.naturalWidth,b=this.imageData.naturalHeight;this.displayScale=Math.max(200/a,200/b);this.pickerDisplayOffsetTop=this.pickerDisplayOffsetLeft=50;var c=a*this.displayScale*this.imageData.previewCoordinates.left,d=b*this.displayScale*this.imageData.previewCoordinates.top;this.imageDisplayOffsetLeft=b>a?this.pickerDisplayOffsetLeft:this.pickerDisplayOffsetLeft-c;this.savedImageDisplayOffsetTop=this.imageDisplayOffsetTop=a>b?this.pickerDisplayOffsetTop:
this.pickerDisplayOffsetTop-d;this.savedImageDisplayOffsetLeft=this.imageDisplayOffsetLeft;this.imageWidth=a*this.displayScale;this.imageHeight=b*this.displayScale};
_.f.onImageChange=function(){this.imageData&&(this.showPreviewContainer=!0,this.calculateDisplayPosition())};
_.f.getSignedPosition=function(a,b,c){return"X"===b&&"rtl"===_.w("HTML_DIR")?"-"===c?a+"px":-1*a+"px":"-"===c?-1*a+"px":a+"px"};
_.f.pickerMove=function(a){if(this.startPicker&&!this.showPreviewContainer&&this.pickerSize&&void 0!==this.pickerOffsetX&&void 0!==this.pickerOffsetY&&this.imageHeight&&this.imageWidth&&this.displayScale){var b=this.pickerOffsetX-a.clientX,c=this.pickerOffsetY-a.clientY;this.pickerOffsetX=a.clientX;this.pickerOffsetY=a.clientY;this.imageHeight>this.imageWidth?this.imageDisplayOffsetTop=Math.min(this.pickerDisplayOffsetTop,Math.max(this.pickerDisplayOffsetTop+this.pickerSize-this.imageHeight,this.imageDisplayOffsetTop-
c)):this.imageDisplayOffsetLeft=Math.min(this.pickerDisplayOffsetLeft,Math.max(this.pickerDisplayOffsetLeft+this.pickerSize-this.imageWidth,this.imageDisplayOffsetLeft-b))}};
_.f.pickerMoveStart=function(a){this.startPicker=!0;this.pickerOffsetX=a.clientX;this.pickerOffsetY=a.clientY};
_.f.pickerMoveComplete=function(){this.startPicker=!1;this.pickerOffsetY=this.pickerOffsetX=void 0};
_.f.cancelReposition=function(){this.imageDisplayOffsetTop=this.savedImageDisplayOffsetTop;this.imageDisplayOffsetLeft=this.savedImageDisplayOffsetLeft;this.startPicker=!1;this.showPreviewContainer=!0};
_.f.deleteImage=function(){this.fire("ytd-backstage-image-preview-delete")};
_.f.saveCropCoordinates=function(){this.showPreviewContainer?(this.showPreviewContainer=!1,this.fire("ytd-backstage-image-preview-reposition",this.imageData)):(this.savedImageDisplayOffsetTop=this.imageDisplayOffsetTop,this.savedImageDisplayOffsetLeft=this.imageDisplayOffsetLeft,this.startPicker=!1,this.showPreviewContainer=!0,this.generateCropPreview())};
_.f.getPreviewOffset=function(a,b,c){return b&&a?("X"===c&&"rtl"===_.w("HTML_DIR")?300/b*a:300/b*a*-1)+"px":"0px"};
_.f.getSimpleText=function(a){return a?_.qi(a):""};
_.f.generateCropPreview=function(){this.imageWidth&&this.imageHeight&&this.pickerSize&&this.fire("ytd-backstage-image-preview-coordinates-update",{top:this.cropOffsetTop/this.imageHeight,right:(this.cropOffsetLeft+this.pickerSize)/this.imageWidth,bottom:(this.cropOffsetTop+this.pickerSize)/this.imageHeight,left:this.cropOffsetLeft/this.imageWidth})};
_.t.Object.defineProperties(tC.prototype,{altLabelForImage:{configurable:!0,enumerable:!0,get:function(){if(!this.imageWidth||!this.imageHeight||!this.pickerSize)return"";if(this.imageHeight>this.imageWidth){var a=this.getPreviewPosition(this.pickerDisplayOffsetTop,this.pickerSize,this.imageDisplayOffsetTop,this.imageHeight);return _.Bg(this.a11yConfig.imageVerticalPosition,{x_percent:""+a,y_percent:""+(100-a)})+"\n"+_.Bg(this.a11yConfig.verticalRepositionInstruction)}a=this.getPreviewPosition(this.pickerDisplayOffsetLeft,
this.pickerSize,this.imageDisplayOffsetLeft,this.imageWidth);return _.Bg(this.a11yConfig.imageHorizontalPosition,{x_percent:""+a,y_percent:""+(100-a)})+"\n"+_.Bg(this.a11yConfig.horizontalRepositionInstruction)}},
pickerSize:{configurable:!0,enumerable:!0,get:function(){return this.imageHeight&&this.imageWidth?this.imageHeight>this.imageWidth?this.imageWidth:this.imageHeight:0}},
imageOrientationStyle:{configurable:!0,enumerable:!0,get:function(){if(this.imageHeight&&this.imageWidth)return this.imageHeight===this.imageWidth?"SQUARE":this.imageHeight>this.imageWidth?"PORTRAIT":"LANDSCAPE"}},
editButton:{configurable:!0,enumerable:!0,get:function(){var a,b,c=null==(a=this.instruction)?void 0:null==(b=a.previewInstruction)?void 0:b.editButtonLabel;return c?{size:"SIZE_SMALL",style:"STYLE_SUGGESTIVE",text:c,accessibilityData:{accessibilityData:{label:this.getSimpleText(c)}}}:void 0}},
saveButton:{configurable:!0,enumerable:!0,get:function(){var a,b,c=null==(a=this.instruction)?void 0:null==(b=a.editInstruction)?void 0:b.saveButtonLabel;return c?{style:"STYLE_SUGGESTIVE",size:"SIZE_SMALL",text:c,accessibilityData:{accessibilityData:{label:this.getSimpleText(c)}}}:void 0}},
deleteButton:{configurable:!0,enumerable:!0,get:function(){var a,b,c=null==(a=this.instruction)?void 0:null==(b=a.previewInstruction)?void 0:b.deleteButtonLabel;return c?{size:"SIZE_SMALL",text:c,accessibilityData:{accessibilityData:{label:this.getSimpleText(c)}}}:void 0}},
cancelButton:{configurable:!0,enumerable:!0,get:function(){var a,b,c=null==(a=this.instruction)?void 0:null==(b=a.editInstruction)?void 0:b.cancelButtonLabel;return c?{size:"SIZE_SMALL",text:c,accessibilityData:{accessibilityData:{label:this.getSimpleText(c)}}}:void 0}},
cropOffsetTop:{configurable:!0,enumerable:!0,get:function(){return void 0===this.imageDisplayOffsetTop||void 0===this.pickerDisplayOffsetTop?0:this.pickerDisplayOffsetTop-this.imageDisplayOffsetTop}},
cropOffsetLeft:{configurable:!0,enumerable:!0,get:function(){return void 0===this.imageDisplayOffsetLeft||void 0===this.pickerDisplayOffsetLeft?0:this.pickerDisplayOffsetLeft-this.imageDisplayOffsetLeft}},
pickerBackgroundStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({transform:"translateX("+this.getSignedPosition(this.imageDisplayOffsetLeft,"X",void 0)+") translateY("+this.getSignedPosition(this.imageDisplayOffsetTop,"Y",void 0)+")"})}},
pickerDisplayStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({width:this.pickerSize+"px",height:this.pickerSize+"px",transform:"translateX("+this.getSignedPosition(this.pickerDisplayOffsetLeft,"X",void 0)+") translateY("+this.getSignedPosition(this.pickerDisplayOffsetTop,"Y",void 0)+")"})}},
imageInPickerStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({transform:"translateX("+this.getSignedPosition(this.cropOffsetLeft,"X","-")+") translateY("+this.getSignedPosition(this.cropOffsetTop,"Y","-")+")"})}},
previewClipperStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({transform:"translateX("+this.getPreviewOffset(this.cropOffsetLeft,this.pickerSize,"X")+") translateY("+this.getPreviewOffset(this.cropOffsetTop,this.pickerSize,"Y")+")"})}},
pickerModeStyle:{configurable:!0,enumerable:!0,get:function(){return this.showPreviewContainer?"preview":"edit"}}});
_.t.Object.defineProperties(tC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-image-preview-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_image_preview_renderer.ytd.backstage.image.preview.renderer.css.js--\x3e<div id="container" class$="[[pickerModeStyle]]">\n  <div id="preview-container" hidden="[[!showPreviewContainer]]">\n    <div id="preview-clipper">\n      <img id="image-in-preview-clipper" class$="[[imageOrientationStyle]]" src$="[[imageData.localImageSrc]]" style$="[[previewClipperStyle]]">\n    </div>\n    <div class="buttons-container">\n      <yt-button-renderer id="delete-button" data="[[deleteButton]]" on-click="deleteImage">\n      </yt-button-renderer>\n      <yt-button-renderer id="edit-button" data="[[editButton]]" on-click="saveCropCoordinates">\n      </yt-button-renderer>\n    </div>\n  </div>\n  <div id="edit-container" hidden="[[showPreviewContainer]]">\n    <div id="picker-container">\n      <img id="image-in-picker-background" class$="[[imageOrientationStyle]]" src$="[[imageData.localImageSrc]]" width$="[[imageWidth]]" height$="[[imageHeight]]" style$="[[pickerBackgroundStyle]]" alt="[[altLabelForImage]]">\n      <div id="overlay" on-mousemove="pickerMove" on-mousedown="pickerMoveStart" on-mouseup="pickerMoveComplete" on-mouseleave="pickerMoveComplete">\n      </div>\n      <div id="picker" style$="[[pickerDisplayStyle]]">\n        <img id="image-in-picker" class$="[[imageOrientationStyle]]" src$="[[imageData.localImageSrc]]" width$="[[imageWidth]]" height$="[[imageHeight]]" style$="[[imageInPickerStyle]]" alt="">\n      </div>\n    </div>\n    <div class="buttons-container">\n      <yt-button-renderer id="cancel-button" data="[[cancelButton]]" on-click="cancelReposition">\n      </yt-button-renderer>\n      <yt-button-renderer id="save-button" data="[[saveButton]]" on-click="saveCropCoordinates">\n      </yt-button-renderer>\n    </div>\n  </div>\n</div>\n<iron-a11y-keys keys="up down left right" target="[[keyboardInterfaceTarget]]" on-keys-pressed="onArrowKeysDown">\n</iron-a11y-keys>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uUa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_image_preview_renderer.ytd.backstage.image.preview.renderer.css.js--\x3e<style>:host {--ytd-backstage-image-picker-size: 200px;--ytd-backstage-image-preview-border-width: 2px;--ytd-backstage-image-preview-height: 482px;--ytd-backstage-image-preview-size: 300px;height: 100%;min-height: var(--ytd-backstage-image-preview-height);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #picker-container {height: 100%;overflow: hidden;position: relative;width: 100%;} .preview #picker-container {opacity: 0;} #image-in-picker-background,#picker,#overlay {position: absolute;} #image-in-picker {pointer-events: none;user-select: none;} #picker {border: solid;border-color: var(--yt-spec-static-brand-white);border-width: var(--ytd-backstage-image-preview-border-width);height: var(--ytd-backstage-image-picker-size);left: calc(0px - var(--ytd-backstage-image-preview-border-width));overflow: hidden;pointer-events: none;position: absolute;top: calc(0px - var(--ytd-backstage-image-preview-border-width));user-select: none;width: var(--ytd-backstage-image-picker-size);} #overlay {background: #c4c4c4;cursor: all-scroll;height: 100%;opacity: 0.7;width: 100%;} #container {margin-left: auto;margin-right: auto;margin-top: 70px;} #preview-clipper {height: var(--ytd-backstage-image-preview-size);min-height: var(--ytd-backstage-image-preview-size);min-width: var(--ytd-backstage-image-preview-size);overflow: hidden;position: relative;width: var(--ytd-backstage-image-preview-size);} #image-in-preview-clipper {height: 100%;position: absolute;width: 100%;} #image-in-preview-clipper.PORTRAIT {height: auto;width: 100%;} #image-in-preview-clipper.LANDSCAPE {height: 100%;width: auto;} #edit-container,#preview-container {height: var(--ytd-backstage-image-preview-size);width: var(--ytd-backstage-image-preview-size);} .buttons-container {display: flex;flex-flow: row;justify-content: space-between;margin-top: 20px;} #edit-button,#delete-button,#save-button,#cancel-button {width: 140px;} #delete-button {color: var(--yt-spec-call-to-action);} /*# sourceMappingURL=ytd-backstage-image-preview-renderer.css.map*/</style>";
uUa=d}d=uUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vUa=a}a=vUa;return a}}});
var uC=tC;uC.prototype.onImageChange=uC.prototype.onImageChange;_.S([_.N(),_.T("design:type",MOa)],uC.prototype,"imageData",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"instruction",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"a11yConfig",void 0);_.S([_.N(),_.T("design:type",Number)],uC.prototype,"imageWidth",void 0);_.S([_.N(),_.T("design:type",Number)],uC.prototype,"imageHeight",void 0);_.S([_.N(),_.T("design:type",Number)],uC.prototype,"displayScale",void 0);
_.S([_.N(),_.T("design:type",Object)],uC.prototype,"imageDisplayOffsetTop",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"imageDisplayOffsetLeft",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"pickerDisplayOffsetTop",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"pickerDisplayOffsetLeft",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"showPreviewContainer",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"startPicker",void 0);
_.S([_.N(),_.T("design:type",Number)],uC.prototype,"pickerOffsetX",void 0);_.S([_.N(),_.T("design:type",Number)],uC.prototype,"pickerOffsetY",void 0);_.S([_.N(),_.T("design:type",Object)],uC.prototype,"repositionOptional",void 0);_.S([_.Z("#picker-container"),_.T("design:type",HTMLElement)],uC.prototype,"JSC$37381_pickerContainer",void 0);_.S([_.Z("#picker"),_.T("design:type",HTMLElement)],uC.prototype,"picker",void 0);
_.S([_.Z("#preview-clipper"),_.T("design:type",HTMLElement)],uC.prototype,"previewClipper",void 0);_.S([_.Z("#image-in-picker-background"),_.T("design:type",HTMLImageElement)],uC.prototype,"JSC$37381_imageInBackground",void 0);_.S([_.Z("#image-in-picker"),_.T("design:type",HTMLImageElement)],uC.prototype,"JSC$37381_imageInPicker",void 0);_.S([_.Z("#image-in-preview-clipper"),_.T("design:type",HTMLImageElement)],uC.prototype,"JSC$37381_imageInPreviewClipper",void 0);
_.S([_.V("pickerSize","imageWidth","imageHeight","pickerDisplayOffsetTop","imageDisplayOffsetTop"),_.T("design:type",String),_.T("design:paramtypes",[])],uC.prototype,"altLabelForImage",null);_.S([_.V("imageHeight","imageWidth"),_.T("design:type",Number),_.T("design:paramtypes",[])],uC.prototype,"pickerSize",null);_.S([_.V("imageHeight","imageWidth"),_.T("design:type",Object),_.T("design:paramtypes",[])],uC.prototype,"imageOrientationStyle",null);
_.S([_.V("instruction"),_.T("design:type",Object),_.T("design:paramtypes",[])],uC.prototype,"editButton",null);_.S([_.V("instruction"),_.T("design:type",Object),_.T("design:paramtypes",[])],uC.prototype,"saveButton",null);_.S([_.V("instruction"),_.T("design:type",Object),_.T("design:paramtypes",[])],uC.prototype,"deleteButton",null);_.S([_.V("instruction"),_.T("design:type",Object),_.T("design:paramtypes",[])],uC.prototype,"cancelButton",null);
_.S([_.V("imageDisplayOffsetTop","pickerDisplayOffsetTop"),_.T("design:type",Number),_.T("design:paramtypes",[])],uC.prototype,"cropOffsetTop",null);_.S([_.V("imageDisplayOffsetLeft","pickerDisplayOffsetLeft"),_.T("design:type",Number),_.T("design:paramtypes",[])],uC.prototype,"cropOffsetLeft",null);_.S([_.V("imageDisplayOffsetLeft","imageDisplayOffsetTop"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],uC.prototype,"pickerBackgroundStyle",null);
_.S([_.V("pickerDisplayOffsetLeft","pickerDisplayOffsetTop"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],uC.prototype,"pickerDisplayStyle",null);_.S([_.V("cropOffsetLeft","cropOffsetTop"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],uC.prototype,"imageInPickerStyle",null);_.S([_.V("cropOffsetLeft","cropOffsetTop","pickerSize"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],uC.prototype,"previewClipperStyle",null);
_.S([_.Ct("imageData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uC.prototype,"onImageChange",null);_.S([_.V("showPreviewContainer"),_.T("design:type",String),_.T("design:paramtypes",[])],uC.prototype,"pickerModeStyle",null);uC=_.S([_.lu({asyncProperties:!0,is:"ytd-backstage-image-preview-renderer",noInjection:!0})],uC);
var wUa;
var xUa;
var yUa;
var zUa;
var vC=function(){var a=_.K.apply(this,arguments)||this;a.selected=!1;return a};
_.q(vC,_.K);_.f=vC.prototype;_.f.computeSelected=function(a){return null==a?void 0:a.selected};
_.f.computeTransform=function(a,b,c){var d=this.imageContainer.getBoundingClientRect();d=Math.max(d.width/b,d.height/c);c=c*d*a.top;return"translateX("+this.getSignedPosition(b*d*a.left,"X","-")+") translateY("+this.getSignedPosition(c,"Y","-")+")"};
_.f.getSignedPosition=function(a,b,c){return"X"===b&&"rtl"===_.w("HTML_DIR")?"-"===c?a+"px":-1*a+"px":"-"===c?-1*a+"px":a+"px"};
_.f.onClick=function(){var a;this.fire("ytb-backstage-multi-image-thumbnail-render-click",null==(a=this.data)?void 0:a.image)};
_.f.onKeyPress=function(a){if(13===a.keyCode)this.onClick()};
_.t.Object.defineProperties(vC.prototype,{thumbnailUrl:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.data)?void 0:null==(b=a.image)?void 0:b.localImageSrc)||void 0}},
thumbnailStyle:{configurable:!0,enumerable:!0,get:function(){var a;if(null!=(a=this.data)&&a.image){var b;a=null==(b=this.data)?void 0:b.image;return 0!==a.previewCoordinates.top||0!==a.previewCoordinates.left?(b=this.computeTransform(a.previewCoordinates,a.naturalWidth,a.naturalHeight),a.naturalHeight>=a.naturalWidth?_.ou({width:"inherit",transform:b}):_.ou({height:"inherit",transform:b})):a.naturalHeight>=a.naturalWidth?_.ou({width:"inherit"}):_.ou({height:"inherit"})}}}});
_.t.Object.defineProperties(vC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-multi-image-thumbnail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_multi_image_thumbnail_renderer.ytd.backstage.multi.image.thumbnail.renderer.css.js--\x3e<div class="container">\n  <div class="image-container" role="button" tabindex="0" on-click="onClick">\n    <img class="thumbnail-image" style$="[[thumbnailStyle]]" src$="[[thumbnailUrl]]" alt="">\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yUa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_multi_image_thumbnail_renderer.ytd.backstage.multi.image.thumbnail.renderer.css.js--\x3e<style>:host {--thumbnail-size: 80px;} .image-container {border-radius: 1px;height: var(--thumbnail-size);overflow: hidden;position: relative;width: var(--thumbnail-size);} .container {margin-bottom: 8px;} :host([selected]) .container {border: 2px solid var(--yt-spec-call-to-action);border-radius: 3px;margin-left: -3px;padding: 1px;width: var(--thumbnail-size);} /*# sourceMappingURL=ytd-backstage-multi-image-thumbnail-renderer.css.map*/</style>";
yUa=d}d=yUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zUa=a}a=zUa;return a}}});
var wC=vC;wC.prototype.onKeyPress=wC.prototype.onKeyPress;_.S([_.Z(".image-container"),_.T("design:type",HTMLElement)],wC.prototype,"imageContainer",void 0);_.S([_.N(),_.T("design:type",Object)],wC.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeSelected(data)"}),_.T("design:type",Boolean)],wC.prototype,"selected",void 0);_.S([_.V("data.image"),_.T("design:type",Object),_.T("design:paramtypes",[])],wC.prototype,"thumbnailUrl",null);
_.S([_.V("data.image","data.image.previewCoordinates"),_.T("design:type",Object),_.T("design:paramtypes",[])],wC.prototype,"thumbnailStyle",null);_.S([_.O("keypress"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],wC.prototype,"onKeyPress",null);wC=_.S([_.Q({is:"ytd-backstage-multi-image-thumbnail-renderer"})],wC);
var xC=function(a,b,c){c=void 0===c?!1:c;_.Kk.call(this);var d=this;this.dropZoneOverlay=new BB(a);this.selectOverlay=c?new DB(b,"multiple_file",["image/*"]):new DB(b,"single_file",["image/*"]);this.handler=new _.bA(this);_.wk(this,this.handler);this.handler.listen(this.dropZoneOverlay,"c",this.onChange).listen(b,"click",function(){d.selectOverlay.click()}).listen(this.selectOverlay,"e",this.onChange)};
_.q(xC,_.Kk);xC.prototype.onChange=function(a){var b;null!=(b=a.files)&&b.length&&this.dispatchEvent(new CustomEvent("yt.comments.ImagePicker.select",{detail:a.files}))};
var yC=function(a,b){_.Kk.call(this);this.uploadUrl=a;this.channelId=b;this.imagesUploadData=[]};
_.q(yC,_.Kk);yC.prototype.getAllUploadStatuses=function(){var a=this,b,c,d;return _.y(function(e){if(1==e.nextAddress)return _.B(e,AUa(a),2);b=e.yieldResult;c=b.get("succeed");d=b.get("failed");return e.return(c.concat(d))})};
var CUa=function(a){var b,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,AUa(a),2);b=d.yieldResult;c=b.get("failed");0<c.length&&BUa(a,c);return d.return(a.getAllUploadStatuses())})},AUa=function(a){var b,c,d,e,h,l,m;
return _.y(function(p){if(1==p.nextAddress)return b=new Map,_.B(p,Promise.allSettled(a.imagesUploadData.map(function(r){return r.uploadPromise})),2);
c=p.yieldResult;d=[];e=_.k(c);for(h=e.next();!h.done;h=e.next())l=h.value,"fulfilled"===l.status&&d.push(l.value);m=a.imagesUploadData.map(function(r){return r.image}).filter(function(r){return d.every(function(v){return v.id!==r.id})});
b.set("succeed",d);b.set("failed",m);return p.return(b)})},BUa=function(a,b){b=_.k(b);
for(var c=b.next();!c.done;c=b.next()){var d=a;c=c.value;0<=DUa(d,c.id)&&d.cancel(c.id);var e=new EUa(c),h=_.xTa(d.uploadUrl,{"X-YouTube-ChannelId":d.channelId},c.imageBlob);e.transfer=h;e.uploadPromise=FUa(h,c);d.imagesUploadData.push(e);h.run()}};
yC.prototype.cancel=function(a){var b=DUa(this,a);-1!==b&&((b=this.imagesUploadData[b].transfer)&&b.cancel(),this.imagesUploadData=this.imagesUploadData.filter(function(c){return c.image.id!==a}))};
var DUa=function(a,b){return a.imagesUploadData.findIndex(function(c){return c.image.id===b})},FUa=function(a,b){return new Promise(function(c,d){a.listen("g",function(){var e=a.JSC$61995_getResponseText();
e?(e=JSON.parse(e).encryptedBlobId,b.encrptedBlobId=e,c(b)):d("upload failed")});
a.listen("i",function(){d("upload failed")})})},EUa=function(a){this.image=a};
var zC=function(){var a=_.K.apply(this,arguments)||this;a.addImageErrorMessage="";a.errorMessage="";a.images=[];a.imageId=0;a.selectedImageIndex=0;return a};
_.q(zC,_.K);_.f=zC.prototype;_.f.observeAddImageError=function(){""!==this.addImageErrorMessage&&this.fire("yt-backstage-multi-image-add-image-error",this.addImageErrorMessage)};
_.f.observeDragToReorder=function(){var a=this;if(this.showImagesPreview){var b,c=DTa(_.PB.getInstance(),null==(b=this.data)?void 0:b.dragToReorderTooltip);_.xe.addLowPriorityJob(function(){_.Lg(a,c,a.thumbnailDragDropArea)})}};
_.f.configureRendererStamper=function(){return{selectionCancel:{id:"selection-cancel-button",mapping:{buttonRenderer:"ytd-button-renderer"}},previewCancel:{id:"preview-cancel-button",mapping:{buttonRenderer:"ytd-button-renderer"}},dataForAddImageButton:{id:"add-image-button",mapping:{buttonRenderer:"ytd-button-renderer"}},thumbnailRenderers:{id:"thumbnail-drag-drop-area",mapping:{renderer:"ytd-backstage-multi-image-thumbnail-renderer"},events:!0,reuseComponents:!0,stamperStableList:!0}}};
_.f.computeThumbnail=function(a){return(null==a?void 0:a.localImageSrc)||void 0};
_.f.onRendererstamperFinished=function(){this.ytReorderableBehavior.startDragDrop(this.$["thumbnail-drag-drop-area"],this.$["thumbnail-drag-drop-area"])};
_.f.handleDrop=function(a){var b=a.currDragItem;if(null!=b&&b.data){a=this.images[this.selectedImageIndex];var c=b.data.image,d=this.images.indexOf(c)||0;b=_.fa(b.parentNode.children,b);this.images.splice(d,1);this.images.splice(b,0,c);this.images=[].concat(_.sc(this.images));this.selectedImageIndex=this.images.indexOf(a)}};
_.f.setUpImagePicker=function(){var a=this.imageUploadEndpoint;a&&a.imageValidationInfo&&(this.uploadManager=new yC(a.uploadUrl,a.channelId),this.initialPicker||(this.initialPicker=new xC(this.dropzone,this.selectLink,!0),_.Fk(this.initialPicker,"yt.comments.ImagePicker.select",this.onInitialSelectImages,!1,this)),this.addImagePicker||(this.addImagePicker=new xC(this.addImageButtonContainer,this.addImageSelectButton),_.Fk(this.addImagePicker,"yt.comments.ImagePicker.select",this.onAddImage,!1,this)),
_.Fk(this.imagePreviewContainer,"ytd-backstage-image-preview-coordinates-update",this.repositionImage,!1,this),_.Fk(this.imagePreviewContainer,"ytd-backstage-image-preview-delete",this.deleteImage,!1,this),_.Fk(this.$["thumbnail-drag-drop-area"],"ytb-backstage-multi-image-thumbnail-render-click",this.onThumbnailClick,!1,this))};
_.f.detached=function(){this.initialPicker&&(_.Ik(this.initialPicker,"yt.comments.ImagePicker.select",this.onInitialSelectImages,!1,this),this.initialPicker.dispose(),this.initialPicker=void 0);this.addImagePicker&&(_.Ik(this.addImagePicker,"yt.comments.ImagePicker.select",this.onAddImage,!1,this),this.addImagePicker.dispose(),this.addImagePicker=void 0)};
_.f.onInitialSelectImages=function(a){var b=this;return _.y(function(c){return _.B(c,b.onSelectImages(a,!1),0)})};
_.f.onAddImage=function(a){var b=this;return _.y(function(c){return _.B(c,b.onSelectImages(a,!0),0)})};
_.f.onSelectImages=function(a,b){var c=this,d,e,h,l,m,p,r,v,z,A,D,E,J,R,da,sa,Ca,ea,na,ma;return _.y(function(Aa){switch(Aa.nextAddress){case 1:b?c.addImageErrorMessage="":(c.images=[],c.errorMessage="");d=a.detail;e=c.validateImages([].concat(_.sc(d)));if(""!==e)return b?c.addImageErrorMessage=e:c.errorMessage=e,Aa.return();h=[].concat(_.sc(d)).map(function($a){return(new LB(c.maxAspectRatio)).transform($a)});
return _.B(Aa,Promise.allSettled(h),2);case 2:l=Aa.yieldResult,m=_.k(l.entries()),p=m.next();case 3:if(p.done){Aa.jumpTo(5);break}r=p.value;v=_.k(r);z=v.next().value;A=v.next().value;D=z;E=A;if("fulfilled"!==E.status){da=R=J=void 0;b?c.addImageErrorMessage=_.qi(null==(J=c.data)?void 0:J.invalidError):c.errorMessage=""===c.errorMessage?_.qi(null==(R=c.data)?void 0:R.invalidError):_.qi(null==(da=c.data)?void 0:da.multiFileError);Aa.jumpTo(4);break}sa=E.value;sa.cropped&&c.fire("yt-backstage-multi-image-cropped");
if(sa.invalidAspectRatio){na=ea=Ca=void 0;b?c.addImageErrorMessage=_.qi(null==(Ca=c.data)?void 0:Ca.invalidAspectRatioError):c.errorMessage=""===c.errorMessage?_.qi(null==(ea=c.data)?void 0:ea.invalidAspectRatioError):_.qi(null==(na=c.data)?void 0:na.multiFileError);Aa.jumpTo(4);break}return _.B(Aa,NOa(c.imageId,a.detail[D],sa.transformedData),8);case 8:ma=Aa.yieldResult,c.images.push(ma),c.imageId++;case 4:p=m.next();Aa.jumpTo(3);break;case 5:if(""!==c.errorMessage||""!==c.addImageErrorMessage)return Aa.return();
b?BUa(c.uploadManager,[c.images[c.images.length-1]]):BUa(c.uploadManager,c.images);c.images=[].concat(_.sc(c.images));c.selectedImageIndex=b?Math.max(c.images.length-1,0):0;c.fire("yt-backstage-multi-image-select");_.bf(Aa)}})};
_.f.onThumbnailClick=function(a){if(a=a.event_.detail)this.selectedImageIndex=this.images.indexOf(a)};
_.f.validateImages=function(a){if(5<a.length){var b;return _.qi(null==(b=this.data)?void 0:b.multiImageExceedMaxImageCountError)}var c=1048576*this.maxFileSizeMb;a=a.filter(function(h){return h.size>c}).length;
if(0===a)return"";var d,e;a=1<a?null==(d=this.data)?void 0:d.multiFileError:null==(e=this.data)?void 0:e.fileSizeError;return _.qi(a)};
_.f.deleteImage=function(){this.uploadManager.cancel(this.images[this.selectedImageIndex].id);this.images.splice(this.selectedImageIndex,1);this.images=[].concat(_.sc(this.images));this.selectedImageIndex=0};
_.f.repositionImage=function(a){this.images[this.selectedImageIndex].previewCoordinates=a.event_.detail;this.images=[].concat(_.sc(this.images))};
_.f.getAllUploadStatuses=function(){var a=this,b,c,d,e;return _.y(function(h){if(1==h.nextAddress)return _.B(h,a.uploadManager.getAllUploadStatuses(),2);b=h.yieldResult;c=_.k(b);for(d=c.next();!d.done;d=c.next())if(e=d.value,void 0===e.encrptedBlobId)return h.return(CUa(a.uploadManager));return h.return(b)})};
_.f.hasImages=function(){return 0<this.images.length};
_.f.cancel=function(){for(var a=this.uploadManager,b=_.k(a.imagesUploadData),c=b.next();!c.done;c=b.next())a.cancel(c.value.image.id);this.addImageErrorMessage=this.errorMessage="";this.images=[];this.fire("yt-backstage-multi-image-cancel")};
_.t.Object.defineProperties(zC.prototype,{maxAspectRatio:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.imageUploadEndpoint)?void 0:null==(b=a.imageValidationInfo)?void 0:b.allowedMaxAspectRatio)||0}},
maxFileSizeMb:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.imageUploadEndpoint)?void 0:null==(b=a.imageValidationInfo)?void 0:b.maxFileSizeMb)||0}},
dropIcon:{configurable:!0,enumerable:!0,get:function(){var a,b;if(null==(a=this.data)?0:null==(b=a.icon)?0:b.iconType)return _.Ft(this.data.icon.iconType)}},
selectionCancel:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.cancelButton}},
previewCancel:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.cancelButton}},
dataForAddImageButton:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.addImageButton}},
dropzoneClass:{configurable:!0,enumerable:!0,get:function(){return""===this.errorMessage?"":"error"}},
showImagesPreview:{configurable:!0,enumerable:!0,get:function(){return 0<this.images.length&&""===this.errorMessage}},
containMaxImages:{configurable:!0,enumerable:!0,get:function(){return 5<=this.images.length}},
selectedImageData:{configurable:!0,enumerable:!0,get:function(){return this.images[this.selectedImageIndex]||void 0}},
thumbnailRenderers:{configurable:!0,enumerable:!0,get:function(){var a=this;return(this.images||[]).map(function(b,c){return{renderer:{image:b,selected:c===a.selectedImageIndex}}})}}});
_.t.Object.defineProperties(zC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-multi-image-select-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_multi_image_select_renderer.ytd.backstage.multi.image.select.renderer.css.js--\x3e\n<div id="dropzone" class$="[[dropzoneClass]]" hidden="[[showImagesPreview]]">\n  <div id="selection-cancel-button" class="cancel" on-click="cancel"></div>\n  <div id="drop-icon-container">\n    <yt-icon id="drop-icon" icon="[[dropIcon]]"></yt-icon>\n  </div>\n  <span id="prompt">[[getSimpleString(data.dragLabel)]]</span>\n  <a id="select-link">\n     [[getSimpleString(data.selectButton)]]\n  </a>\n  <div class="messages">\n    <span id="aspect-ratio-message">\n       [[getSimpleString(data.aspectRatioRequirement)]]\n    </span>\n    <span id="license-text">[[getSimpleString(data.licenseText)]]</span>\n    <span id="error-message" hidden="[[!errorMessage]]">[[errorMessage]]</span>\n  </div>\n</div>\n\n\n<div id="multi-image-container" hidden="[[!showImagesPreview]]">\n  <div id="preview-cancel-button" class="cancel" on-click="cancel"></div>\n  <div id="thumbnail-images-container">\n    <div id="thumbnail-drag-drop-area"></div>\n    <div id="add-image-button-container" hidden="[[containMaxImages]]">\n       <div id="add-image-button" on-click="onClickAddImageButton"></div>\n    </div>\n  </div>\n  <div id="preview">\n    <ytd-backstage-image-preview-renderer id="image-preview-container" image-data="[[selectedImageData]]" instruction="[[data.imagePreviewSelectMetadata]]" reposition-optional="true">\n    </ytd-backstage-image-preview-renderer>\n  </div>\n</div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_multi_image_select_renderer.ytd.backstage.multi.image.select.renderer.css.js--\x3e<style>:host {--thumbnail-size: 80px;--thumbnail-size-selected: 78px;--ytd-cancel-button-right: -12px;--ytd-cancel-button-top: -12px;--ytd-cancel-button-size: 24px;border: 1px solid #e2e2e2;border-radius: 1px;height: 100%;margin-top: 12px;min-height: 280px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #multi-image-container {min-height: 482px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #preview {background-color: var(--yt-spec-general-background-a);box-shadow: inset 1px 0 0 rgba(0,0,0,0.1);width: 100%;} #thumbnail-images-container {padding: 25px 15px;} .thumbnail-image {margin-bottom: var(--ytd-img-default-margin);position: absolute;} #dropzone {flex-basis: 100%;border-radius: 2px;min-height: 100px;padding: 78px 8px 12px;background: var(--yt-spec-general-background-a);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #dropzone.error {border-color: var(--yt-spec-brand-link-text);} #drop-icon-container {background: var(--yt-spec-themed-blue);border-radius: 100px;width: 40px;height: 40px;display: flex;justify-content: center;align-items: center;} #drop-icon {--iron-icon-width: 20px;--iron-icon-height: 20px;color: var(--yt-spec-general-background-a);} #prompt {padding-top: 12px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #select-link {color: var(--yt-spec-themed-blue);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} #license-text,#aspect-ratio-message {color: var(--yt-spec-text-secondary);} #error-message {margin-top: 16px;color: var(--yt-spec-brand-link-text);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #add-image-button-container {background-color: var(--yt-spec-suggested-action);border-radius: 3px;display: table-cell;height: var(--thumbnail-size);margin-bottom: 20px;text-align: center;vertical-align: middle;width: var(--thumbnail-size);} #add-image-button ytd-button-renderer {--yt-button-color: var(--yt-spec-call-to-action);} .cancel>ytd-button-renderer {--yt-button-icon-size: var(--ytd-cancel-button-size);--yt-button-icon-padding: 4px;background-color: var(--yt-spec-brand-background-primary);border-radius: 50%;box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);color: var(--yt-spec-icon-active-other);cursor: pointer;height: var(--ytd-cancel-button-size);position: absolute;right: var(--ytd-cancel-button-right);top: var(--ytd-cancel-button-top);width: var(--ytd-cancel-button-size);} .messages {margin-top: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-backstage-multi-image-select-renderer.css.map*/</style>';
wUa=d}d=wUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xUa=a}a=xUa;return a}}});
var AC=zC;AC.prototype.setUpImagePicker=AC.prototype.setUpImagePicker;AC.prototype.onRendererstamperFinished=AC.prototype.onRendererstamperFinished;AC.prototype.observeDragToReorder=AC.prototype.observeDragToReorder;AC.prototype.observeAddImageError=AC.prototype.observeAddImageError;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],AC.prototype,"rendererStamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AC.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.WB.YtReorderableBehavior),_.T("design:type",Object)],AC.prototype,"ytReorderableBehavior",void 0);_.S([_.Z("#dropzone"),_.T("design:type",HTMLElement)],AC.prototype,"dropzone",void 0);_.S([_.Z("#select-link"),_.T("design:type",HTMLElement)],AC.prototype,"selectLink",void 0);_.S([_.Z("#thumbnail-drag-drop-area"),_.T("design:type",HTMLElement)],AC.prototype,"thumbnailDragDropArea",void 0);
_.S([_.Z("#add-image-button-container"),_.T("design:type",HTMLElement)],AC.prototype,"addImageButtonContainer",void 0);_.S([_.Z("#add-image-button"),_.T("design:type",HTMLElement)],AC.prototype,"addImageSelectButton",void 0);_.S([_.Z("#image-preview-container"),_.T("design:type",uC)],AC.prototype,"imagePreviewContainer",void 0);_.S([_.N(),_.T("design:type",Object)],AC.prototype,"addImageErrorMessage",void 0);_.S([_.N(),_.T("design:type",Object)],AC.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],AC.prototype,"errorMessage",void 0);_.S([_.N(),_.T("design:type",Object)],AC.prototype,"imageUploadEndpoint",void 0);_.S([_.N(),_.T("design:type",Array)],AC.prototype,"images",void 0);_.S([_.N(),_.T("design:type",xC)],AC.prototype,"initialPicker",void 0);_.S([_.N(),_.T("design:type",xC)],AC.prototype,"addImagePicker",void 0);_.S([_.N(),_.T("design:type",yC)],AC.prototype,"uploadManager",void 0);
_.S([_.V("imageUploadEndpoint"),_.T("design:type",Number),_.T("design:paramtypes",[])],AC.prototype,"maxAspectRatio",null);_.S([_.V("imageUploadEndpoint"),_.T("design:type",Number),_.T("design:paramtypes",[])],AC.prototype,"maxFileSizeMb",null);_.S([_.V("data.icon.iconType"),_.T("design:type",Object),_.T("design:paramtypes",[])],AC.prototype,"dropIcon",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],AC.prototype,"selectionCancel",null);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],AC.prototype,"previewCancel",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],AC.prototype,"dataForAddImageButton",null);_.S([_.V("errorMessage"),_.T("design:type",String),_.T("design:paramtypes",[])],AC.prototype,"dropzoneClass",null);_.S([_.V("images"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AC.prototype,"showImagesPreview",null);
_.S([_.V("images"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AC.prototype,"containMaxImages",null);_.S([_.P("addImageErrorMessage"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],AC.prototype,"observeAddImageError",null);_.S([_.P("showImagesPreview"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],AC.prototype,"observeDragToReorder",null);
_.S([_.V("images","selectedImageIndex"),_.T("design:type",Object),_.T("design:paramtypes",[])],AC.prototype,"selectedImageData",null);_.S([_.V("images","selectedImageIndex"),_.T("design:type",Array),_.T("design:paramtypes",[])],AC.prototype,"thumbnailRenderers",null);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],AC.prototype,"onRendererstamperFinished",null);
_.S([_.P("imageUploadEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],AC.prototype,"setUpImagePicker",null);AC=_.S([_.Q({is:"ytd-backstage-multi-image-select-renderer"})],AC);
var GUa;
var HUa;
var IUa=(_.Ll.FIRSTDAYOFWEEK+1)%7;
var JUa;var KUa=[],LUa=0,MUa=0;LUa=0;MUa=24;if(0>.25*(MUa-LUa))JUa=[];else{for(var NUa=LUa;NUa<MUa;NUa+=.25)KUa.push(NUa);JUa=KUa}var OUa=JUa.map(function(a){a*=3600;return{secondsSinceMidnight:a,text:(new _.ni(7)).format(new Date(0,0,0,0,0,a))}});
var PUa;
var QUa;
var BC=function(){var a=_.K.apply(this,arguments)||this;a.skipNextOpenDialog=!1;a.errorMessage="";return a};
_.q(BC,_.K);_.f=BC.prototype;_.f.attached=function(){var a=this,b=new MutationObserver(function(){0<a.JSC$37423_calendarMain.scrollHeight&&(b.disconnect(),a.calendarConfig&&a.calendarConfig.selectedDate&&a.scrollToDate())});
b.observe(this.JSC$37423_calendarMain,{childList:!0,subtree:!0});window.setTimeout(function(){b.disconnect()},1E3)};
_.f.openPicker=function(){this.skipNextOpenDialog?this.skipNextOpenDialog=!1:(this.dialog.positionTarget=this.dropdownButton,this.dialog.open())};
_.f.onDateTextChange=function(){if(this.calendarConfig){var a=this.validateDateText();a.isValid?(this.textbox.removeAttribute("invalid"),this.commitDate(a.details)):this.textbox.setAttribute("invalid","")}};
_.f.handleDayClick=function(a){a.model.day.date&&(this.commitDate(a.model.day.date),this.dialog.close())};
_.f.scrollToDate=function(){if(this.calendarConfig&&this.calendarConfig.selectedDate&&this.renderData){var a=TOa(this.calendarConfig.selectedDate,this.renderData);void 0!==a&&this.JSC$37423_calendarMain.scrollToIndex(a)}};
_.f.scrollToNextMonth=function(){this.JSC$37423_calendarMain.scrollToIndex(this.JSC$37423_calendarMain.firstVisibleIndex+1)};
_.f.scrollToPrevMonth=function(){0===this.JSC$37423_calendarMain.firstVisibleIndex&&this.JSC$37423_calendarMain.scrollTo(0,0);this.JSC$37423_calendarMain.scrollToIndex(this.JSC$37423_calendarMain.firstVisibleIndex-1)};
_.f.onFormSubmit=function(a){a.preventDefault();this.calendarConfig&&(a=this.validateDateText(),a.isValid&&(this.commitDate(a.details),this.dialog.close()))};
_.f.onEscOrClickingOutside=function(a){a=a.detail.path&&!!a.detail.path.length&&a.detail.path[0];if(a.classList.contains("ytd-calendar-date-picker")){a===this.dropdownButton&&(this.skipNextOpenDialog=!0);for(var b=0;b<this.dropdownButton.children.length;b++)this.dropdownButton.children[b]===a&&(this.skipNextOpenDialog=!0);if(!this.skipNextOpenDialog)return}a=this.textbox.value!==this.dateText;b=this.validateDateText();a&&b.isValid&&this.commitDate(b.details);this.dialog.close();this.textbox.value=
this.dateText};
_.f.commitDate=function(a){this.calendarConfig&&(this.set("calendarConfig.selectedDate",a),this.fire("ytd-calendar-date-selected",a))};
_.f.validateDateText=function(){if(!this.calendarConfig||!this.textbox)return{isValid:!1,details:void 0};var a=this.textbox.value;var b=new Date;a=(new _.ISa(2)).parse(a,b,{validate:!0})===a.length?kz(b):void 0;if(!a)return this.errorMessage=_.Bg("INVALID_DATE_ERROR"),{isValid:!1,details:void 0};b=this.calendarConfig.start;var c=this.calendarConfig.end;if(jz(a,b))return this.errorMessage=_.Bg("ENTER_DATE_OR_LATER",{allowed_date:ROa(b)}),{isValid:!1,details:void 0};if(jz(c,a))return this.errorMessage=
_.Bg("ENTER_DATE_OR_EARLIER",{allowed_date:ROa(c)}),{isValid:!1,details:void 0};this.errorMessage="";return{isValid:!0,details:a}};
_.t.Object.defineProperties(BC.prototype,{dateText:{configurable:!0,enumerable:!0,get:function(){return this.calendarConfig&&this.calendarConfig.selectedDate?ROa(this.calendarConfig.selectedDate):""}},
renderData:{configurable:!0,enumerable:!0,get:function(){if(this.calendarConfig){for(var a=this.calendarConfig,b=[],c=0;7>c;c++)b.push(_.Ll.NARROWWEEKDAYS[(c+IUa)%7]);c=[];for(var d=new Date(a.start.year,a.start.month);d.getFullYear()<a.end.year||d.getFullYear()===a.end.year&&d.getMonth()<=a.end.month;){var e=c,h=e.push,l=d.getFullYear(),m=d.getMonth(),p=a,r=void 0,v=[],z=Object.freeze({extraCssClass:"invisible",debugClass:""}),A=new Date(l,m),D=kz(A);A=A.getDay();for(var E=kz(new Date);D.month===
m;){A!==IUa&&r||(r=Array.from({length:7}).fill(z),v.push(r));var J={date:{year:l,month:m,day:D.day},extraCssClass:"",debugClass:""};p.selectedDate&&J.date&&OOa(J.date,p.selectedDate)&&(J.extraCssClass+=" selected");if(jz(D,p.start)||jz(p.end,D))J.extraCssClass+=" disabled";OOa(D,E)&&(J.extraCssClass+=" today");J.extraCssClass=J.extraCssClass.trim();r[(A-IUa+7)%7]=J;D=POa(D);A=(A+1)%7}h.call(e,{weeks:v,monthLabel:_.Ll.SHORTMONTHS[m]+" "+l,year:l,month:m,monthLabelExtraCssClass:v[0][2]===z?"shift-down-label":
""});d.setMonth(d.getMonth()+1)}return{months:c,daysOfWeekLabel:b}}}}});
_.t.Object.defineProperties(BC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===QUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-calendar-date-picker--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_calendar_date_picker.ytd.calendar.date.picker.css.js--\x3e<tp-yt-paper-menu-button>\n  <tp-yt-paper-button id="date-picker" class="dropdown-trigger" slot="dropdown-trigger" aria-labelledby="date-label-text" on-tap="openPicker">\n    <div id="date-label-text">[[dateText]]</div>\n    <yt-icon id="label-icon" icon="yt-icons:arrow-drop-down">\n    </yt-icon>\n  </tp-yt-paper-button>\n</tp-yt-paper-menu-button>\n\n<tp-yt-paper-dialog id="calendar-dialog" dynamic-align="" horizontal-align="left" vertical-align="top" vertical-offset="44">\n  <div id="control-area">\n    <form id="date-input" on-submit="onFormSubmit" autocomplete="off">\n      <tp-yt-paper-input-container aria-label="Enter date" invalid="[[errorMessage]]" no-label-float="" use-v2-underline="" on-input="onDateTextChange">\n        <iron-input slot="input" bind-value="[[dateText]]">\n          <input id="textbox" autofocus=""></iron-input>\n        <tp-yt-paper-input-error slot="add-on">[[errorMessage]]</tp-yt-paper-input-error>\n      </tp-yt-paper-input-container>\n    </form>\n    <div id="month-controller">\n      <yt-icon-button id="prev-month" on-tap="scrollToPrevMonth">\n        <yt-icon icon="yt-icons:chevron_left"></yt-icon>\n      </yt-icon-button>\n      <yt-icon-button id="next-month" on-tap="scrollToNextMonth">\n        <yt-icon icon="yt-icons:chevron_right"></yt-icon>\n      </yt-icon-button>\n    </div>\n  </div>\n  <div class="calendar-container">\n    <div class="calendar-header">\n      <template is="dom-repeat" items="[[renderData.daysOfWeekLabel]]" as="dayLabel">\n        <span class="calendar-header-day">[[dayLabel]]</span>\n      </template>\n    </div>\n    <tp-yt-iron-list id="calendar-main" as="month" items="[[renderData.months]]" tabindex="-1">\n      <template>\n        <div class="calendar-month">\n          <div class$="calendar-month-label [[month.monthLabelExtraCssClass]]">\n            [[month.monthLabel]]\n          </div>\n          <template is="dom-repeat" items="[[month.weeks]]" as="week">\n            <div class="calendar-week">\n              <template is="dom-repeat" items="[[week]]" as="day">\n                <span class$="calendar-day [[day.extraCssClass]] [[day.debugClass]]" on-tap="handleDayClick">\n                  [[day.date.day]]\n                </span>\n              </template> \n            </div>\n          </template> \n        </div>\n      </template>\n    </tp-yt-iron-list> \n  </div>\n</tp-yt-paper-dialog>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_calendar_date_picker.ytd.calendar.date.picker.css.js--\x3e<style>:host {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} tp-yt-paper-menu-button {padding: 0;} tp-yt-paper-dialog>* {padding: 0;margin: 0;} #date-picker {background-color: var(--yt-spec-brand-background-solid);border: 1px solid var(--yt-spec-icon-disabled);border-radius: 2px;color: var(--yt-spec-text-secondary);width: 144px;height: 36px;padding: 0 12px;margin: 0;text-transform: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #control-area {margin: 6px 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #date-input {margin-left: 8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} tp-yt-paper-input-container {--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-invalid-color: var(--yt-spec-brand-link-text);--paper-input-container-input: {@apply --ytd-thumbnail-attribution;};} input {@apply --paper-input-container-shared-input-style;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #month-controller {width: 40px;margin: 0 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #prev-month,#next-month {color: var(--yt-spec-icon-inactive);width: 16px;height: 16px;margin: auto;} #calendar-dialog {width: 277px;height: 370px;background-color: var(--yt-spec-brand-background-solid);margin: 0;} .calendar-container {max-height: calc(100% - 38px - 8px);background-color: var(--yt-spec-brand-background-solid);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .calendar-header {height: 32px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #calendar-main {overflow-y: auto;overflow-x: hidden;max-height: 288px;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #calendar-main:focus {outline: none;} .calendar-header-day {color: var(--yt-spec-text-secondary);display: inline-block;max-height: 100%;width: 36px;padding-top: 7px;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .calendar-header-day:first-of-type {margin-left: 8px;} .calendar-month {display: inline-block;} .calendar-month-label {color: var(--yt-spec-text-secondary);margin-left: 16px;max-height: 36px;padding: 8px 0;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} .calendar-month-label.shift-down-label {position: absolute;} .calendar-week {margin-left: 8px;width: 252px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .calendar-day {color: var(--yt-spec-text-primary);cursor: pointer;position: relative;display: inline-block;width: 36px;max-height: 36px;padding: 9px 0;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .calendar-day:hover:not(.disabled)::after,.calendar-day.today::after,.calendar-day.selected::after {content: "";position: absolute;z-index: -1;top: 2px;left: 2px;right: 2px;bottom: 2px;border-radius: 100%;} .calendar-day.today::after {box-shadow: inset 0 0 0 1px var(--yt-spec-icon-inactive);} .calendar-day:hover:not(.disabled) {color: var(--yt-spec-text-primary);} .calendar-day:hover:not(.disabled)::after {background: var(--yt-spec-general-background-a);} .calendar-day.selected {color: var(--yt-spec-static-brand-white);} .calendar-day.selected::after {background: var(--yt-spec-themed-blue);} .calendar-day.disabled {color: var(--yt-spec-text-disabled);cursor: default;pointer-events: none;} .invisible {visibility: hidden;} /*# sourceMappingURL=ytd-calendar-date-picker.css.map*/</style>';
PUa=d}d=PUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);QUa=a}a=QUa;return a}}});
var CC=BC;CC.prototype.onEscOrClickingOutside=CC.prototype.onEscOrClickingOutside;CC.prototype.scrollToDate=CC.prototype.scrollToDate;_.S([_.N(),_.T("design:type",Object)],CC.prototype,"calendarConfig",void 0);_.S([_.N(),_.T("design:type",Object)],CC.prototype,"skipNextOpenDialog",void 0);_.S([_.N(),_.T("design:type",Object)],CC.prototype,"errorMessage",void 0);_.S([_.Z("#textbox"),_.T("design:type",HTMLInputElement)],CC.prototype,"textbox",void 0);
_.S([_.Z("#calendar-dialog"),_.T("design:type",Object)],CC.prototype,"dialog",void 0);_.S([_.Z("#calendar-main"),_.T("design:type",Object)],CC.prototype,"JSC$37423_calendarMain",void 0);_.S([_.Z("#date-picker"),_.T("design:type",HTMLElement)],CC.prototype,"dropdownButton",void 0);_.S([_.V("calendarConfig.selectedDate"),_.T("design:type",String),_.T("design:paramtypes",[])],CC.prototype,"dateText",null);
_.S([_.V("calendarConfig","calendarConfig.selectedDate"),_.T("design:type",Object),_.T("design:paramtypes",[])],CC.prototype,"renderData",null);_.S([_.P("renderData","calendarConfig.selectedDate"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CC.prototype,"scrollToDate",null);_.S([_.O("iron-overlay-canceled"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],CC.prototype,"onEscOrClickingOutside",null);
CC=_.S([_.lu({asyncProperties:!0,is:"ytd-calendar-date-picker",noInjection:!0})],CC);
var RUa=_.Bg("UTC_OFFSET_FORMAT",{utc_offset:(new _.ni("Z")).format(new Date)}),SUa=-60*(new Date).getTimezoneOffset(),TUa=new Date,UUa,VUa=_.mi(TUa.getTimezoneOffset());UUa=_.Dta(_.$l(VUa,TUa));var WUa=_.Bg("LOCAL_TIME_GMT_LABEL",{gmt_text:UUa.replace("+0","+").replace("-0","-").replace(":00","")}),DC=function(){var a=_.K.apply(this,arguments)||this;a.selectedTimeIndex=0;a.selectedTimezoneIndex=0;a.timeOfDayOptions=OUa;return a};
_.q(DC,_.K);_.f=DC.prototype;_.f.configureRendererStamper=function(){return{"data.dismissButton":{id:"cancel-button-wrapper",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.updateDefaultSelectedValue=function(){if(this.timeZones&&this.timeZones.length&&this.data){var a=QOa();if(void 0===this.data.defaultTimeSec||isNaN(Number(this.data.defaultTimeSec)))this.calendarConfig=a,this.selectedTimeIndex=0;else{var b=SOa(Number(this.data.defaultTimeSec),this.timeZones[0]);this.calendarConfig=Object.assign({},a,{selectedDate:b.date});this.selectedTimeIndex=this.timeOfDayOptions.findIndex(function(c){return c.secondsSinceMidnight===b.secondsSinceMidnight})}this.selectedTimezoneIndex=
0;
this.selectedDate=this.calendarConfig.selectedDate}};
_.f.onDatePicked=function(a){this.selectedDate=a.detail};
_.f.onCancelButtonTap=function(){this.data&&this.data.dismissButton&&this.fire("ytd-date-time-selection-cancelled")};
_.f.onDateTimeTimezoneChange=function(){if(this.selectedTimezone&&this.selectedTime&&this.selectedDate){var a=this.selectedDate;a=new Date(a.year,a.month,a.day);this.fire("ytd-date-time-selection-update",Math.floor(a.getTime()/1E3)+this.selectedTime.secondsSinceMidnight-(Number(this.selectedTimezone.utcOffsetSec)+60*a.getTimezoneOffset()))}};
_.f.getTimezoneFormat=function(a){return a.localizedDisplayText?a.localizedDisplayText:_.Bg("TIMEZONE_FORMAT",{utc_offset_text:""+a.localizedUtcOffset,city_name:""+a.localizedName})};
_.t.Object.defineProperties(DC.prototype,{timeZones:{configurable:!0,enumerable:!0,get:function(){if(this.data){var a=this.data.timezoneOptions;var b={name:"Etc/Unknown",localizedName:_.Bg("LOCAL_TIME_LABEL"),localizedUtcOffset:RUa,utcOffsetSec:""+SUa,localizedDisplayText:WUa};a?a.length&&a[0].name!==b.name&&(a[0].localizedDisplayText||(b.localizedDisplayText=""),a.unshift(b)):a=[b];return a}}},
selectedTimezone:{configurable:!0,enumerable:!0,get:function(){if(this.timeZones&&!(this.selectedTimezoneIndex>=this.timeZones.length))return this.timeZones[this.selectedTimezoneIndex]}},
selectedTime:{configurable:!0,enumerable:!0,get:function(){return this.timeOfDayOptions[this.selectedTimeIndex]}}});
_.t.Object.defineProperties(DC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-date-time-picker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_date_time_picker_renderer.ytd.date.time.picker.renderer.css.js--\x3e<div id="cancel-button-wrapper" hidden="[[!data.dismissButton]]" on-tap="onCancelButtonTap">\n</div>\n<div id="hint" hidden="[[!data.header]]">\n  <yt-formatted-string text="[[data.header]]"></yt-formatted-string>\n</div>\n<div id="picker-component">\n  <ytd-calendar-date-picker calendar-config="[[calendarConfig]]"></ytd-calendar-date-picker>\n  <tp-yt-paper-menu-button dynamic-align="" horizontal-align="left" vertical-align="top" vertical-offset="44">\n    <tp-yt-paper-button id="time-picker" class="dropdown-trigger" slot="dropdown-trigger" aria-labelledby="time-label-text">\n      <div id="time-label-text">[[selectedTime.text]]</div>\n      <yt-icon id="label-icon" icon="yt-icons:arrow-drop-down">\n      </yt-icon>\n    </tp-yt-paper-button>\n    <tp-yt-paper-listbox id="time-listbox" class="dropdown-content" slot="dropdown-content" selected="{{selectedTimeIndex}}">\n      <template is="dom-repeat" items="[[timeOfDayOptions]]">\n        <tp-yt-paper-item>\n          [[item.text]]\n        </tp-yt-paper-item>\n      </template>\n    </tp-yt-paper-listbox>\n  </tp-yt-paper-menu-button>\n  <tp-yt-paper-menu-button dynamic-align="" horizontal-align="left" vertical-align="top" vertical-offset="44">\n    <tp-yt-paper-button id="timezone-picker" class="dropdown-trigger" slot="dropdown-trigger" aria-labelledby="timezone-label-text">\n      <div id="timezone-label-text">[[getTimezoneFormat(selectedTimezone)]]</div>\n      <yt-icon id="label-icon" icon="yt-icons:arrow-drop-down">\n      </yt-icon>\n    </tp-yt-paper-button>\n    <tp-yt-paper-listbox id="timezone-listbox" class="dropdown-content" slot="dropdown-content" selected="{{selectedTimezoneIndex}}">\n      <template is="dom-repeat" items="[[timeZones]]">\n        <tp-yt-paper-item>\n          [[getTimezoneFormat(item)]]\n        </tp-yt-paper-item>\n      </template>\n    </tp-yt-paper-listbox>\n  </tp-yt-paper-menu-button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_date_time_picker_renderer.ytd.date.time.picker.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #hint {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #picker-component>* {margin-left: 16px;} ytd-calendar-date-picker {width: 140px;} .dropdown-trigger {background-color: var(--yt-spec-brand-background-solid);border: 1px solid var(--yt-spec-icon-disabled);border-radius: 2px;color: var(--yt-spec-text-secondary);height: 36px;margin: 0;padding: 0 12px;text-transform: none;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #timezone-picker {width: 224px;} #time-picker {width: 124px;} #time-listbox {width: 106px;} #timezone-listbox {width: 206px;} tp-yt-paper-item {--paper-item-min-height: 36px;cursor: pointer;background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-text-primary);height: 36px;width: calc(100% - 12px);padding: 0 0 0 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} tp-yt-paper-item:hover {background: var(--yt-spec-general-background-a);} tp-yt-paper-listbox {background-color: var(--yt-spec-brand-background-solid);padding-left: 1px;max-height: 360px;} tp-yt-paper-menu-button {padding: 0px;--paper-menu-button-dropdown-background: var( --yt-spec-brand-background-solid );} yt-formatted-string {color: var(--yt-spec-text-secondary);padding: 2px 0 17px 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #cancel-button-wrapper ytd-button-renderer {color: var(--yt-spec-icon-inactive);position: absolute;z-index: 10;right: 8px;top: -8px;} #cancel-button-wrapper {width: 100%;position: relative;} /*# sourceMappingURL=ytd-date-time-picker-renderer.css.map*/</style>';
GUa=d}d=GUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HUa=a}a=HUa;return a}}});
var EC=DC;EC.prototype.onDateTimeTimezoneChange=EC.prototype.onDateTimeTimezoneChange;EC.prototype.onDatePicked=EC.prototype.onDatePicked;EC.prototype.updateDefaultSelectedValue=EC.prototype.updateDefaultSelectedValue;_.S([_.N(),_.T("design:type",Object)],EC.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],EC.prototype,"calendarConfig",void 0);_.S([_.N(),_.T("design:type",Object)],EC.prototype,"selectedDate",void 0);
_.S([_.N(),_.T("design:type",Object)],EC.prototype,"selectedTimeIndex",void 0);_.S([_.N(),_.T("design:type",Object)],EC.prototype,"selectedTimezoneIndex",void 0);_.S([_.Z("#time-listbox"),_.T("design:type",Object)],EC.prototype,"timeListBox",void 0);_.S([_.Z("#timezone-listbox"),_.T("design:type",Object)],EC.prototype,"timezoneListBox",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],EC.prototype,"rendererStamperBehavior",void 0);
_.S([_.V("data.timezoneOptions"),_.T("design:type",Object),_.T("design:paramtypes",[])],EC.prototype,"timeZones",null);_.S([_.Ct("data","timeZones"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],EC.prototype,"updateDefaultSelectedValue",null);_.S([_.V("selectedTimezoneIndex","timeZones"),_.T("design:type",Object),_.T("design:paramtypes",[])],EC.prototype,"selectedTimezone",null);
_.S([_.V("selectedTimeIndex"),_.T("design:type",Object),_.T("design:paramtypes",[])],EC.prototype,"selectedTime",null);_.S([_.O("ytd-calendar-date-selected"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],EC.prototype,"onDatePicked",null);_.S([_.P("selectedTimezone","selectedTime","selectedDate"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],EC.prototype,"onDateTimeTimezoneChange",null);
EC=_.S([_.Q({asyncProperties:!0,is:"ytd-date-time-picker-renderer"})],EC);
var XUa;
var YUa;
var FC=function(){var a=_.K.apply(this,arguments)||this;a.boundOnTapDismissButton=function(){a.dismissTapHandler()};
return a};
_.q(FC,_.K);FC.prototype.configureRendererStamper=function(){return{attachmentPreview:{id:"attachment-preview",mapping:{backstageImageRenderer:"ytd-backstage-image-renderer",videoRenderer:{component:"ytd-video-renderer",params:{isBackstageVideo:!0}}}},dismissButton:{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundOnTapDismissButton]]"}}}}}};
FC.prototype.dismissTapHandler=function(){this.fire("yt-backstage-attachment-dismissed")};
FC.prototype.computeAttachmentType=function(a){return a?a.backstageImageRenderer?"image":a.videoRenderer?"video":"none":"none"};
_.t.Object.defineProperties(FC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-dismissable-attachment--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_backstage_dismissable_attachment.ytd.backstage.dismissable.attachment.css.js--\x3e\n<div id="attachment-preview-container">\n  <div id="attachment-preview"></div>\n  <div id="dismiss-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XUa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_backstage_dismissable_attachment.ytd.backstage.dismissable.attachment.css.js--\x3e<style>:host {display: block;margin: 16px 0 0 0;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([attachment-type=image]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-button-renderer {--yt-button-icon-size: 24px;--yt-button-icon-padding: 4px;position: absolute;right: -12px;top: -12px;width: 24px;height: 24px;z-index: 1;cursor: pointer;box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);border-radius: 50%;background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-icon-active-other);} #attachment-preview-container {position: relative;} :host([attachment-type=image]) #attachment-preview-container {max-width: 100%;max-height: 420px;} :host([attachment-type=video]) #attachment-preview-container {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 2px;padding: 8px;background-color: var(--yt-spec-brand-background-solid);} ytd-video-renderer {--ytd-metadata-line-color: var(--yt-spec-text-secondary);--yt-metadata-color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-backstage-dismissable-attachment.css.map*/</style>";
XUa=d}d=XUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YUa=a}a=YUa;return a}}});
var GC=FC;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],GC.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],GC.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],GC.prototype,"attachmentPreview",void 0);_.S([_.N(),_.T("design:type",Object)],GC.prototype,"dismissButton",void 0);_.S([_.N(),_.T("design:type",Object)],GC.prototype,"boundOnTapDismissButton",void 0);
_.S([_.N({reflectToAttribute:!0,readOnly:!0,computed:"computeAttachmentType(attachmentPreview)"}),_.T("design:type",String)],GC.prototype,"attachmentType",void 0);GC=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-dismissable-attachment"})],GC);
var ZUa;
var $Ua;
var HC=function(){var a=_.K.apply(this,arguments)||this;a.selectedVideoId=void 0;a.picker=void 0;a.actionMap={"yt-add-video-preview-action":"handleAddVideoPreviewAction"};return a};
_.q(HC,_.K);_.f=HC.prototype;_.f.onServiceRequestCompleted=function(a){a.stopPropagation()};
_.f.handleAddVideoPreviewAction=function(a){a=this.get("addVideoPreviewAction",a);this.onGetVideoPreviewSuccess(a)};
_.f.configureRendererStamper=function(){return{videoPreview:{id:"video-preview",mapping:{videoRenderer:{component:"ytd-video-renderer",params:{isBackstageVideo:!0}}}},cancelButton:{id:"cancel-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.onLaunchVideoPicker=function(a){var b=this,c=_.qi(this.get("addVideoLinkAction.title",a)),d=this.get("addVideoLinkAction.onePickHostId",a);this.getVideoPreviewCommand=this.get("addVideoLinkAction.onVideoSelectCommand",a);d&&(this.picker||(this.picker=_.URa(_.sQa(_.vA(_.vA(_.vA(_.LOa(d).setTitle(c),_.oQa()),_.nQa()),"youtube"),function(e){b.onPickVideo(e)}))),this.picker.setVisible(!0))};
_.f.onPickVideo=function(a){if(a)if("cancel"===a.action)this.fire("yt-video-link-button-cancel");else if("picked"===a.action){a=a.docs;if(!a||0===a.length)this.onGetVideoPreviewError("No valid docs in response");this.selectedVideoId=(a=(null==a?0:a.length)?a[0]:void 0)?a.id:void 0;this.setVideoPreview()}};
_.f.setVideoPreview=function(){var a=this;if(this.getVideoPreviewCommand)this.ytComponentBehavior.resolveCommand(this.getVideoPreviewCommand,{form:{video_id:this.selectedVideoId},onError:function(){a.onGetVideoPreviewError("Error executing command")}});
else this.onGetVideoPreviewError("Video preview command not set.")};
_.f.onGetVideoPreviewSuccess=function(a){if(a&&a.videoPreview&&a.cancelButton)this.videoPreview=a.videoPreview,this.cancelButton=a.cancelButton,this.fire("yt-video-link-selected",{videoId:this.selectedVideoId});else this.onGetVideoPreviewError("Empty data from ajax")};
_.f.onGetVideoPreviewError=function(){this.cancel()};
_.f.cancel=function(){this.videoPreview=this.cancelButton=this.selectedVideoId=void 0;this.fire("yt-video-link-cancel")};
_.f.isValid=function(){return!(!this.videoPreview||!this.selectedVideoId)};
_.t.Object.defineProperties(HC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Ua){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-video-link-attachment--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_backstage_video_link_attachment.ytd.backstage.video.link.attachment.css.js--\x3e<div id="video-preview"></div>\n<div id="cancel-button" on-tap="cancel"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZUa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_backstage_video_link_attachment.ytd.backstage.video.link.attachment.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;--ytd-cancel-button-right: -12px;--ytd-cancel-button-top: -12px;--ytd-cancel-button-size: 24px;display: block;position: relative;padding: 0;margin: 20px 0 0 0;} #cancel-button {position: absolute;right: var(--ytd-cancel-button-right);top: var(--ytd-cancel-button-top);width: var(--ytd-cancel-button-size);height: var(--ytd-cancel-button-size);z-index: 1;} #cancel-button>ytd-button-renderer {--yt-button-icon-size: var(--ytd-cancel-button-size);--yt-button-icon-padding: 4px;position: absolute;width: var(--ytd-cancel-button-size);height: var(--ytd-cancel-button-size);z-index: 1;cursor: pointer;box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);border-radius: 50%;background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-icon-active-other);} #video-preview {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 2px;padding: 8px;background-color: var(--yt-spec-general-background-a);} /*# sourceMappingURL=ytd-backstage-video-link-attachment.css.map*/</style>";
ZUa=d}d=ZUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Ua=a}a=$Ua;return a}}});
var IC=HC;IC.prototype.onServiceRequestCompleted=IC.prototype.onServiceRequestCompleted;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],IC.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],IC.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],IC.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],IC.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],IC.prototype,"videoPreview",void 0);_.S([_.N(),_.T("design:type",Object)],IC.prototype,"cancelButton",void 0);_.S([_.N(),_.T("design:type",Object)],IC.prototype,"getVideoPreviewCommand",void 0);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],IC.prototype,"onServiceRequestCompleted",null);IC=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-video-link-attachment"})],IC);
var aVa;
var bVa;
var cVa;
var dVa;
var eVa;
var fVa;
var JC=function(){return _.K.apply(this,arguments)||this};
_.q(JC,_.K);JC.prototype.dataChanged=function(){this.active=!1};
JC.prototype.onTap=function(){this.fire("yt-select-emoji-suggestion",this.data)};
JC.prototype.identity=function(a){return a};
_.t.Object.defineProperties(JC.prototype,{imageSrc:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;if(null==(a=this.data)?0:null==(b=a.image)?0:null==(c=b.thumbnails)?0:null==(d=c[0])?0:d.url)return a=this.data.image.thumbnails[0].url,a.startsWith("data:image/svg+xml")?(_.jb("Svg data url as image source doesn't risk content sniffing."),a=_.qj(a)):a=_.It(a),a}}});
_.t.Object.defineProperties(JC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-emoji-suggestion--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_emoji_suggestion.ytd.emoji.suggestion.css.js--\x3e<tp-yt-paper-item active="[[active]]" on-tap="onTap">\n  <img alt="[[data.alt]]" hidden$="[[!identity(data.image)]]" src$="[[imageSrc]]" author$="[[data.author]]">\n  [[data.text]]\n</tp-yt-paper-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_emoji_suggestion.ytd.emoji.suggestion.css.js--\x3e<style>tp-yt-paper-item {font-size: 15px;min-height: 40px;color: var(--yt-live-chat-text-input-field-suggestion-text-color,#666);cursor: pointer;} :host(:hover) tp-yt-paper-item,:host([active]) tp-yt-paper-item {background-color: var(--yt-live-chat-text-input-field-suggestion-background-color-hover,#eee);color: var(--yt-live-chat-text-input-field-suggestion-text-color-hover,#333);} img {width: 24px;height: 24px;margin-right: 8px;-ms-flex: none;-webkit-flex: none;flex: none;} img[author] {border-radius: 12px;} /*# sourceMappingURL=ytd-emoji-suggestion.css.map*/</style>";
eVa=d}d=eVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fVa=a}a=fVa;return a}}});
var KC=JC;KC.prototype.dataChanged=KC.prototype.dataChanged;_.S([_.N(),_.T("design:type",Object)],KC.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],KC.prototype,"active",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],KC.prototype,"dataChanged",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],KC.prototype,"imageSrc",null);KC=_.S([_.Q({is:"ytd-emoji-suggestion"})],KC);
var gVa,hVa,iVa,jVa,mVa,nVa,lVa,qVa;gVa=0;hVa=/tone[1-5]/;iVa=" \ud83c\udffb \ud83c\udffc \ud83c\udffd \ud83c\udffe \ud83c\udfff".split(" ");jVa=RegExp("\ufe0f","g");_.LC=function(a){this.skinTone=0;this.emojiSize=24;this.emojis=[];this.emojiMap={};this.emojiRegex=/$./;this.emojiShortcutMap={};this.emojiShortcutCharMap={};this.hasInitializedShortcutCharMap=!1;a&&_.kVa(this,a)};
_.kVa=function(a,b){try{_.Gd(b,{context:a,onSuccess:function(d,e){Array.isArray(e)?a.load(e):_.Qf(Error("he"))},
onError:function(d){d=new _.ge("Failed to retrieve emoji manager initial JSON data!",{url:b,statusCode:_.nfa(d).toString()});_.Rf(d)}})}catch(d){var c=new _.ge("Failed to parse unicode emoji JSON data! Error: {e.message}",{url:b});
_.Rf(c)}};
_.LC.prototype.clear=function(){this.emojis=[];this.emojiMap={};this.emojiRegex=/$./;this.emojiShortcutMap={};this.emojiShortcutCharMap={};this.hasInitializedShortcutCharMap=!1};
_.LC.prototype.load=function(a,b){if(b)if(a.length)a=a.concat(b.emojis);else{this.emojis=b.emojis;this.emojiMap=b.emojiMap;this.emojiShortcutMap=b.emojiShortcutMap;this.emojiShortcutCharMap=lVa(b);this.hasInitializedShortcutCharMap=!0;this.emojiRegex=b.emojiRegex;return}this.emojis=[].concat(_.sc(new Set(this.emojis.concat(a))));this.hasInitializedShortcutCharMap=!1;a=Array(this.emojis.length);for(b=0;b<this.emojis.length;b++){var c=this.emojis[b];if(c.emojiId){this.emojiMap[c.emojiId]=c;this.emojiMap[c.emojiId].index=
b;for(var d=0;c.shortcuts&&d<c.shortcuts.length;d++)this.emojiShortcutMap[c.shortcuts[d].toLocaleLowerCase()]=c;a[b]=c.isCustomEmoji&&c.shortcuts?c.shortcuts[0]:c.emojiId}}a.sort(function(e,h){return h.length-e.length});
if(a.length)try{this.emojiRegex=new RegExp(a.join("|").replace("*","\\*"),"gi")}catch(e){this.emojiRegex=/$./}else this.emojiRegex=/$./};
mVa=function(a,b){b=_.k(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;if(d.emojiId&&a.emojiMap[d.emojiId]){c=Object.assign({},a.emojiMap[d.emojiId],d);a.emojiMap[d.emojiId]=c;var e=void 0;c.index&&(null==(e=a.emojis[c.index])?void 0:e.emojiId)===d.emojiId&&(a.emojis[c.index]=c);d=void 0;if(null==(d=c.shortcuts)?0:d.length)for(a.hasInitializedShortcutCharMap=!1,d=_.k(c.shortcuts),e=d.next();!e.done;e=d.next())a.emojiShortcutMap[e.value.toLocaleLowerCase()]=c}}};
nVa=function(a){var b,c;_.y(function(d){if(1==d.nextAddress)return _.B(d,_.dp.getInstance(),2);if(3!=d.nextAddress)return(b=d.yieldResult)?_.B(d,b.get("ytlc-emoji-pref"),3):d.return();(c=d.yieldResult)&&mVa(a,Object.keys(c).map(function(e){return{emojiId:e,stickyPrefId:c[e]}}).filter(function(e){return!!e.emojiId&&!!e.stickyPrefId}));
_.bf(d)})};
_.MC=function(a,b,c){return(a=a.emojiMap[b])&&(!a.isLocked||void 0!==c&&c)?a:void 0};
_.NC=function(a,b,c){c=_.MC(a,b,void 0===c?!1:c);var d=b.match("\u200d");c&&0!==a.skinTone&&(a=1===(null==d?void 0:d.length)?_.MC(a,b.replace("\u200d",iVa[a.skinTone]+"\u200d")):_.MC(a,b+iVa[a.skinTone]))&&(c=a);return c};
_.oVa=function(a,b){var c=a.emojiMap[b];return(null==c?0:c.stickyPrefId)?a.emojiMap[c.stickyPrefId]:_.NC(a,b)};
_.nz=function(a,b){a=a.emojiShortcutMap[b.toLocaleLowerCase()];return!a||a.isLocked?null:a};
_.pVa=function(a,b){return lVa(a)[b]||{}};
lVa=function(a){if(!a.hasInitializedShortcutCharMap){a.hasInitializedShortcutCharMap=!0;for(var b=0;b<a.emojis.length;b++){var c=a.emojis[b];if(!c.isLocked)for(var d=0;c.shortcuts&&d<c.shortcuts.length;d++){var e=c.shortcuts[d];e.startsWith(":_")&&c.isCustomEmoji&&(null==a.emojiShortcutCharMap[":_"]&&(a.emojiShortcutCharMap[":_"]=Object.create(null)),a.emojiShortcutCharMap[":_"][e]=c);if(!(3>e.length||!c.isCustomEmoji&&hVa.test(e))){var h=e.substr(0,3).toLocaleLowerCase();null==a.emojiShortcutCharMap[h]&&
(a.emojiShortcutCharMap[h]=Object.create(null));a.emojiShortcutCharMap[h][e]=c}}}}return a.emojiShortcutCharMap};
_.LC.prototype.createEmoji=function(a,b){b=void 0===b?!0:b;var c=document.createElement("img");_.x(a.isCustomEmoji?"render_custom_emojis_as_small_images":"render_unicode_emojis_as_small_images")&&c.classList.add("small-emoji");c.classList.add("emoji");c.classList.add("yt-formatted-string");c.src=a.image?_.nu(a.image.thumbnails,this.emojiSize)||"":"";var d=void 0;a.image&&a.image.accessibility&&a.image.accessibility.accessibilityData&&(d=a.image.accessibility.accessibilityData.label);c.alt=d?d:(a.isCustomEmoji&&
a.shortcuts?a.shortcuts[0]:a.emojiId)||"";a.isCustomEmoji&&(c.dataset.emojiId=a.emojiId);_.Cj&&(c.setAttribute("contenteditable","false"),c.setAttribute("unselectable","on"));b&&(a.shortcuts&&a.shortcuts.length&&c.setAttribute("shared-tooltip-text",a.shortcuts[0]),c.id="emoji-"+gVa++);return c};
_.LC.prototype.createDocumentFragment=function(a,b,c,d){b=void 0===b?!1:b;c=void 0===c?!0:c;d=void 0===d?!1:d;a=a.replace(jVa,"");for(var e=document.createDocumentFragment(),h=0,l,m=0;null!=(l=this.emojiRegex.exec(a));){var p=_.MC(this,l[0])||_.nz(this,l[0]);!p||p.isCustomEmoji&&!b||(p=this.createEmoji(p,c),h!==l.index&&e.appendChild(document.createTextNode(a.substring(h,l.index))),e.appendChild(p),h=l.index+l[0].length,m++)}if(!d||m)return e.appendChild(document.createTextNode(a.substr(h))),e};
qVa=function(a,b,c){var d,e,h,l,m,p,r,v,z;return _.y(function(A){if(1==A.nextAddress){if(!b.emojiId||!a.emojiMap[b.emojiId])return A.return();d=Object.assign({},a.emojiMap[b.emojiId],{stickyPrefId:c});a.emojiMap[b.emojiId]=d;b.index&&(null==(e=a.emojis[b.index])?void 0:e.emojiId)===b.emojiId&&(a.emojis[b.index]=d);if(null==(h=b.shortcuts)?0:h.length)for(a.hasInitializedShortcutCharMap=!1,l=_.k(b.shortcuts),m=l.next();!m.done;m=l.next())p=m.value,a.emojiShortcutMap[p.toLocaleLowerCase()]=d;return _.B(A,
_.dp.getInstance(),2)}if(4!=A.nextAddress)return(r=A.yieldResult)?_.B(A,r.get("ytlc-emoji-pref"),4):A.jumpTo(0);z=null!=(v=A.yieldResult)?v:{};z[b.emojiId]=c;return _.B(A,r.set("ytlc-emoji-pref",z,86400),0)})};
_.OC=new _.LC;
var rVa=/.*([:@#].*?)$/,PC=function(){var a=_.K.apply(this,arguments)||this;a.suggestions=[];a.suggestionIndex=-1;a.lastSuggestionRange=null;return a};
_.q(PC,_.K);_.f=PC.prototype;_.f.configureRendererStamper=function(){return{suggestions:{id:"dropdown-content",mapping:{suggestion:"ytd-emoji-suggestion"},reuseComponents:!0}}};
_.f.getSuggestions=function(a){var b=[],c=_.pVa(this.emojiManager,a.substr(0,3));if(c)for(var d in c)if(0===d.toLocaleLowerCase().indexOf(a)){var e=c[d];if(e&&e.emojiId){e=_.NC(this.emojiManager,e.emojiId);var h=void 0,l=void 0,m=void 0,p=void 0,r=(null==(h=e)?0:h.isCustomEmoji)?null==(l=e)?void 0:null==(m=l.shortcuts)?void 0:m[0]:null==(p=e)?void 0:p.emojiId;h=void 0;b.push({suggestion:{image:null==(h=e)?void 0:h.image,alt:r,text:d}});if(64<=b.length)break}}return b?b.sort(function(v,z){return z.suggestion.text<
v.suggestion.text?-1:z.suggestion.text===v.suggestion.text?0:1}):null};
_.f.insertSuggestion=function(a){this.fire("yt-insert-suggestion",{range:this.lastSuggestionRange,text:a.alt});this.$.dropdown.opened=!1};
_.f.updateSuggestionsAtCaret=function(a){this.updateSuggestions(a,this.retrieveTextBeforeRange(a))};
_.f.offsetStartOfRangeBy=function(a,b){a.startOffset>=b&&a.setStart(a.startContainer,a.startOffset-b)};
_.f.updateSuggestions=function(a,b){var c=this;this.lastSuggestionRange&&(this.lastSuggestionRange.detach(),this.lastSuggestionRange=null);var d=this.$.dropdown;if((b=rVa.exec(b))&&b.length&&(b=b[b.length-1].toLocaleLowerCase(),2<b.length||":_"===b)&&(this.offsetStartOfRangeBy(a,b.length),this.lastSuggestionRange=a,(a=this.getSuggestions(b))&&a.length)){this.suggestions=a;_.nt(this,function(){c.$["dropdown-content"].scrollTop=Math.pow(2,24)});
d.opened?d.notifyResize():d.opened=!0;this.suggestionIndex=-1;this.changeSuggestionIndex(a.length-1);return}d.opened=!1};
_.f.onKeyDown=function(a){var b=this.$.dropdown;if(b.opened)switch(a.keyCode){case 27:b.opened=!1;a.stopPropagation();break;case 9:this.insertSuggestion(this.suggestions[this.suggestionIndex].suggestion);a.preventDefault();break;case 38:this.changeSuggestionIndex(this.suggestionIndex-1);a.preventDefault();break;case 40:this.changeSuggestionIndex(this.suggestionIndex+1),a.preventDefault()}};
_.f.onKeyUp=function(a,b){switch(a.keyCode){case 37:case 39:this.updateSuggestionsAtCaret(b);break;case 38:case 40:this.$.dropdown.opened||this.updateSuggestionsAtCaret(b)}};
_.f.onKeyPress=function(a){13===a.keyCode&&this.$.dropdown.opened&&(this.insertSuggestion(this.suggestions[this.suggestionIndex].suggestion),a.preventDefault())};
_.f.changeSuggestionIndex=function(a){if(this.$.dropdown.opened){var b=this.$["dropdown-content"];0<=this.suggestionIndex&&this.suggestionIndex<b.children.length&&(b.children[this.suggestionIndex].active=!1);this.suggestionIndex=(a+this.suggestions.length)%this.suggestions.length;a=b.children[this.suggestionIndex];a.active=!0;b.scrollTop=a.offsetTop}};
_.f.retrieveTextBeforeRange=function(a){var b=a.startContainer;return b&&b.nodeType===Node.TEXT_NODE?b.textContent.substr(0,a.startOffset):""};
_.t.Object.defineProperties(PC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-emoji-input--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_emoji_input.ytd.emoji.input.css.js--\x3e<slot name="input"></slot>\n<tp-yt-iron-dropdown id="dropdown" allow-outside-scroll="" no-auto-focus="" vertical-align="bottom" vertical-offset="[[verticalSuggestionsOffset]]">\n  <div id="dropdown-content" class="dropdown-content" slot="dropdown-content">\n  </div>\n</tp-yt-iron-dropdown>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_emoji_input.ytd.emoji.input.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {display: block;position: relative;} #dropdown {background-color: var(--yt-live-chat-text-input-field-suggestion-background-color,#fff);box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} #dropdown-content {max-height: 200px;padding: 8px 0;} /*# sourceMappingURL=ytd-emoji-input.css.map*/</style>";
cVa=d}d=cVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dVa=a}a=dVa;return a}}});
var QC=PC;QC.prototype.onKeyPress=QC.prototype.onKeyPress;QC.prototype.onKeyUp=QC.prototype.onKeyUp;QC.prototype.onKeyDown=QC.prototype.onKeyDown;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],QC.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Array)],QC.prototype,"suggestions",void 0);_.S([_.N(),_.T("design:type",_.LC)],QC.prototype,"emojiManager",void 0);_.S([_.N(),_.T("design:type",Number)],QC.prototype,"verticalSuggestionsOffset",void 0);
_.S([_.O("keydown"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent]),_.T("design:returntype")],QC.prototype,"onKeyDown",null);_.S([_.O("keyup"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent,Range]),_.T("design:returntype")],QC.prototype,"onKeyUp",null);_.S([_.O("keypress"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent]),_.T("design:returntype")],QC.prototype,"onKeyPress",null);QC=_.S([_.Q({is:"ytd-emoji-input"})],QC);
var sVa;
var tVa;
var RC=function(){var a=_.K.apply(this,arguments)||this;a.hasMaxOptions=!1;return a};
_.q(RC,_.K);_.f=RC.prototype;_.f.configureRendererStamper=function(){return{"data.addOptionButton":{id:"add-option",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.dataChanged=function(){this.pollOptions=this.setPollOptions(this.data)};
_.f.setPrefilledChoices=function(a){var b=this;this.set("pollOptions",[]);var c;for(c=0;c<Math.min(a.length,this.data.maxPollOptions);c++)this.push("pollOptions",a[c].substring(0,this.data.maxPollOptionChars));for(;c<this.data.minPollOptions;c++)this.push("pollOptions","");this.hasMaxOptions=c>=this.data.maxPollOptions;_.nt(this,function(){for(var d=b.pollOptions,e=_.H(b.root).querySelectorAll(".poll-option-input"),h=0;h<e.length;h++)e[h].value=d[h]})};
_.f.focusChanged=function(){this.updateStyles()};
_.f.onInput=function(){var a=this;this.debounce("onInput",function(){a.isValid()?a.fire("yt-commentbox-post-enable"):a.fire("yt-commentbox-post-disable")},300)};
_.f.setPollOptions=function(){var a=[],b,c=(null==(b=this.data)?0:b.minPollOptions)?this.data.minPollOptions:0;for(b=0;b<c;b++)a.push("");return a};
_.f.addPollOption=function(){var a=this;this.fire("yt-commentbox-post-disable");this.push("pollOptions","");this.data.maxPollOptions&&this.pollOptions.length===this.data.maxPollOptions&&(this.hasMaxOptions=!0);_.xe.addLowPriorityJob(function(){a.$$(".poll-option:last-of-type > .poll-option-input").focus()})};
_.f.onRemovePollOption=function(a){this.setPollOptionsFromInputs();this.data.minPollOptions&&this.pollOptions.length===this.data.minPollOptions?(this.clearPollOptions(),this.fire("yt-poll-attachment-dismiss")):(a=this.$.repeat.indexForElement(a.target.parentNode),this.splice("pollOptions",a,1),this.hasMaxOptions=!1,this.areAllOptionsValid()&&(this.$.repeat.render(),this.fire("yt-commentbox-post-enable")))};
_.f.isValid=function(){this.setPollOptionsFromInputs();return this.areAllOptionsValid()};
_.f.areAllOptionsValid=function(){if(this.data.minPollOptionChars)for(var a=0,b=this.pollOptions.length;a<b;a++)if(this.pollOptions[a].length<Number(this.data.minPollOptionChars))return!1;return!0};
_.f.getPollOptions=function(){return this.pollOptions};
_.f.setPollOptionsFromInputs=function(){for(var a=_.H(this.root).querySelectorAll(".poll-option-input"),b=0;b<a.length;b++)this.pollOptions[b]=a[b].value.trim()};
_.f.clearPollOptions=function(){var a=_.H(this.root).querySelectorAll(".poll-option-input");a=_.k(a);for(var b=a.next();!b.done;b=a.next())b.value.value="";this.pollOptions=this.setPollOptions(this.data);this.hasMaxOptions=!1};
_.f.getSimpleString=function(a){return _.qi(a)};
_.t.Object.defineProperties(RC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-poll-attachment--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_poll_attachment.ytd.poll.attachment.css.js--\x3e<div id="poll-options">\n  <template is="dom-repeat" id="repeat" items="[[pollOptions]]">\n    <div class="poll-option">\n      <yt-icon-button class="remove-button" on-click="onRemovePollOption">\n        <yt-icon class="remove-option" icon="yt-icons:close"></yt-icon>\n      </yt-icon-button>\n      <tp-yt-paper-input class="poll-option-input" char-counter="" maxlength$="[[data.maxPollOptionChars]]" no-label-float="" placeholder="[[getSimpleString(data.optionPlaceholderText)]]" use-v2-underline="" value="{{item}}" on-focused-changed="focusChanged" on-input="onInput">\n      </tp-yt-paper-input>\n    </div>\n  </template>\n</div>\n<div id="add-option" hidden="[[hasMaxOptions]]" on-click="addPollOption"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_poll_attachment.ytd.poll.attachment.css.js--\x3e<style>:host tp-yt-paper-input {--paper-input-container-underline-color: var(--yt-spec-text-secondary);--paper-input-container-underline-legacy-height: 0;--paper-input-container-underline-focus-color: var(--yt-spec-text-primary);--paper-input-char-counter: {color: var(--yt-spec-text-secondary);margin-top: 2px;@apply --ytd-thumbnail-attribution;};height: 54px;} :host {--paper-input-container-underline-box-sizing: border-box;} #poll-options {margin: 12px 16px 0 16px;width: auto;} .poll-option {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .poll-option-input {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .remove-button {width: 24px;height: 24px;margin-right: 12px;margin-top: 6px;color: var(--yt-spec-icon-inactive);} .remove-button:hover {color: var(--yt-spec-icon-active-other);} .remove-option {width: 16px;height: 16px;} #add-option ytd-button-renderer {margin-left: 20px;} #add-option {margin-bottom: -16px;} :host([has-max-options]) .poll-option:last-of-type {margin-bottom: 16px;} /*# sourceMappingURL=ytd-poll-attachment.css.map*/</style>";
sVa=d}d=sVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tVa=a}a=tVa;return a}}});
var SC=RC;SC.prototype.dataChanged=SC.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],SC.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],SC.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Array)],SC.prototype,"pollOptions",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],SC.prototype,"hasMaxOptions",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],SC.prototype,"enableCreationBox",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],SC.prototype,"dataChanged",null);SC=_.S([_.Q({asyncProperties:!0,is:"ytd-poll-attachment"})],SC);
var uVa;
var vVa;
_.TC=function(a,b){return CustomEvent.call(this,a,{detail:{value:b}})||this};
_.q(_.TC,CustomEvent);
var wVa;
var xVa;
var UC=function(){return _.K.apply(this,arguments)||this};
_.q(UC,_.K);_.t.Object.defineProperties(UC.prototype,{ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.focused?"true":!1}}});
_.t.Object.defineProperties(UC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-user-mention-suggestion-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.social.yt_user_mention_suggestion_renderer.yt.user.mention.suggestion.renderer.css.js--\x3e<yt-img-shadow id="thumbnail" thumbnail="[[data.thumbnail]]">\n</yt-img-shadow>\n<div id="info">\n  <div id="display-name" aria-label="[[data.displayName]]">[[data.displayName]]</div>\n  <yt-formatted-string id="channel-info" text="[[data.details]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.social.yt_user_mention_suggestion_renderer.yt.user.mention.suggestion.renderer.css.js--\x3e<style>:host {display: block;box-sizing: border-box;width: min-content;min-width: 100%;padding: var(--ytd-margin-2x) var(--ytd-margin-4x);} :host([focused]) {background: var(--yt-spec-button-chip-background-hover);} #thumbnail {display: inline-block;vertical-align: middle;width: 40px;height: 40px;border-radius: 50%;background-color: transparent;overflow: hidden;} #info {display: inline-block;vertical-align: middle;margin: 0 var(--ytd-margin-4x);} #display-name {color: var(--yt-spec-text-primary);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #channel-info {color: var(--yt-spec-text-secondary);@apply --ytd-thumbnail-attribution;} /*# sourceMappingURL=yt-user-mention-suggestion-renderer.css.map*/</style>";
wVa=d}d=wVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xVa=a}a=xVa;return a}}});
var VC=UC;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],VC.prototype,"rendererBehaviors",void 0);_.S([_.N(),_.T("design:type",Object)],VC.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],VC.prototype,"focused",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("focused"),_.T("design:type",Object),_.T("design:paramtypes",[])],VC.prototype,"ariaSelected",null);VC=_.S([_.Q({is:"yt-user-mention-suggestion-renderer"})],VC);
var yVa;
var zVa;
var WC=function(){var a=_.K.apply(this,arguments)||this;a.focusedSuggestionIndex=-1;return a};
_.q(WC,_.K);_.f=WC.prototype;_.f.created=function(){this.ytRendererBehavior.monitorScroll=!0};
_.f.clearFocusedSuggestion=function(){this.focusedSuggestionIndex=-1;this._setFocusedSuggestionId(void 0)};
_.f.setFocusedSuggestionIndex=function(a){!this.data||!this.data.suggestions||0>a||a>=this.data.suggestions.length||(this.focusedSuggestionIndex=a,a=this.getSuggestionId(a),this._setFocusedSuggestionId(a))};
_.f.advanceSuggestion=function(a){-1===this.focusedSuggestionIndex||-1!==a&&1!==a||(this.setFocusedSuggestionIndex(this.focusedSuggestionIndex+a),this.ensureSuggestionVisible(this.focusedSuggestionIndex))};
_.f.ensureSuggestionVisible=function(a){a=this.getSuggestionId(a);a=this.$$("[id="+a+"]");null!=a&&(a.offsetTop<this.scrollTop?a.scrollIntoView(!0):a.offsetTop+a.clientHeight>this.scrollTop+this.clientHeight&&a.scrollIntoView(!1))};
_.f.getSuggestionId=function(a){return"user-mention-suggestion-"+a};
_.f.onSuggestionTap=function(a){var b=a.model.item.userMentionSuggestionRenderer;this.ytRendererBehavior.logExplicitClick(b);this.fire("yt-user-mention-suggestion-selected",{data:b,index:a.model.index})};
_.f.onSuggestionMouseMove=function(a){a.model.index!==this.focusedSuggestionIndex&&this.setFocusedSuggestionIndex(a.model.index)};
_.f.isSuggestionFocused=function(a,b){return a===b};
_.f.onDomChange=function(){this.ytRendererBehavior.markDirty()};
_.f.focusedSuggestionIdChangedForBinding=function(){this.dispatchEvent(new _.TC("focused-suggestion-id-changed",this.focusedSuggestionId))};
_.t.Object.defineProperties(WC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-user-mention-suggestions-dropdown--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.social.yt_user_mention_suggestions_dropdown.yt.user.mention.suggestions.dropdown.css.js--\x3e\n<template is="dom-repeat" items="[[data.suggestions]]" index-as="index" notify-dom-change="">\n  <yt-user-mention-suggestion-renderer data="[[item.userMentionSuggestionRenderer]]" focused="[[isSuggestionFocused(index, focusedSuggestionIndex)]]" id$="[[getSuggestionId(index)]]" role="option" on-mousemove="onSuggestionMouseMove" on-tap="onSuggestionTap">\n  </yt-user-mention-suggestion-renderer>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.social.yt_user_mention_suggestions_dropdown.yt.user.mention.suggestions.dropdown.css.js--\x3e<style>:host {display: inline-block;background: var(--yt-spec-brand-background-solid);max-height: 31rem;padding: var(--ytd-margin-2x) 0;white-space: nowrap;} :host(::-webkit-scrollbar-thumb) {height: 56px;background: var(--yt-spec-icon-disabled);} :host(::-webkit-scrollbar) {width: var(--ytd-scrollbar-width);} /*# sourceMappingURL=yt-user-mention-suggestions-dropdown.css.map*/</style>";
yVa=d}d=yVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zVa=a}a=zVa;return a}}});
var XC=WC;XC.prototype.focusedSuggestionIdChangedForBinding=XC.prototype.focusedSuggestionIdChangedForBinding;XC.prototype.onDomChange=XC.prototype.onDomChange;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],XC.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],XC.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],XC.prototype,"focusedSuggestionIndex",void 0);_.S([_.N({readOnly:!0}),_.T("design:type",String)],XC.prototype,"focusedSuggestionId",void 0);
_.S([_.O("dom-change"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],XC.prototype,"onDomChange",null);_.S([_.P("focusedSuggestionId"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],XC.prototype,"focusedSuggestionIdChangedForBinding",null);XC=_.S([_.Q({is:"yt-user-mention-suggestions-dropdown"})],XC);
var YC=function(){var a=_.K.apply(this,arguments)||this;a.suggestionsResponse=null;a.activeMention=null;a.selectionChangeListener=a.onSelectionChange.bind(a);a.pendingQuery=null;a.flowNonce=null;return a};
_.q(YC,_.K);_.f=YC.prototype;_.f.beforeRegister=function(){this.ironA11yKeysBehavior.keyBindings={up:"focusPreviousSuggestion",down:"focusNextSuggestion","tab enter":"selectFocusedSuggestion",esc:"cancelActiveMention"}};
_.f.attached=function(){document.addEventListener("selectionchange",this.selectionChangeListener)};
_.f.detached=function(){document.removeEventListener("selectionchange",this.selectionChangeListener)};
_.f.hasSuggestions=function(a){return!!(a&&a.suggestions&&0<a.suggestions.length)};
_.f.onInput=function(){var a=this;if(this.suggestionsEndpoint)if(this.activeMention){this.updateActiveMention();var b=null!=this.suggestionsResponse&&!this.hasSuggestions(this.suggestionsResponse),c=" "===this.activeMention.JSC$37143_getText().slice(-1),d=" "===this.activeMention.JSC$37143_getText().slice(-2,-1);if(this.activeMention.isCollapsed()||(b||d)&&c)this.cancelActiveMention();else{var e=this.activeMention.JSC$37143_getText().substring(1).trim();this.logGELEvent("USER_MENTION_AUTO_COMPLETE_BOX_EVENT_TYPE_INPUT_TEXT_UPDATED");
this.debounce("requestSuggestions",function(){a.requestSuggestions(e)},100)}}else this.maybeStartSuggest()};
_.f.onServiceRequestSent=function(a){a.stopPropagation()};
_.f.onServiceRequestCompleted=function(a){a.stopPropagation();a=a.detail.data;if(!a.query||this.pendingQuery&&this.pendingQuery===a.query)this.pendingQuery=null,this.suggestionsResponse=a,this.hasSuggestions(a)&&this.dropdown.setFocusedSuggestionIndex(0)};
_.f.onServiceRequestError=function(a){a.stopPropagation()};
_.f.onUserMentionSuggestionSelected=function(a){this.selectSuggestion(a.detail.data,a.detail.index)};
_.f.onSelectionChange=function(){if(this.activeMention){var a=qz(),b=this.activeMention.JSC$37143_containsRange(a);a=a&&this.containsHelper(this.dropdown,a.getContainer());b||a||this.cancelActiveMention()}};
_.f.containsHelper=function(a,b){var c;if(!0===(null==(c=window.ShadyDOM)?void 0:c.noPatch))return a.contains(b);for(;b;){if(b===a)return!0;b=b instanceof ShadowRoot?b.host:b.parentNode}return!1};
_.f.maybeStartSuggest=function(){var a=qz();if(a&&a.isCollapsed()){var b=a.JSC$37143_getStartNode(),c=a.JSC$37143_getStartOffset();if(b instanceof Text&&!(1>c)){var d=b.textContent;!(d=d&&d.charAt(c-1))||0>"@\ufe6b\uff20+\ufe62\uff0b".indexOf(d)||(this.activeMention=lB(b,c-1,a.JSC$37143_getEndNode(),a.JSC$37143_getEndOffset()),this.flowNonce=_.$f(),this.logGELEvent("USER_MENTION_AUTO_COMPLETE_BOX_EVENT_TYPE_MENTION_FLOW_STARTED"))}}};
_.f.updateActiveMention=function(){if(this.activeMention){var a=qz();a&&a.isCollapsed()&&(this.activeMention=lB(this.activeMention.JSC$37143_getStartNode(),this.activeMention.JSC$37143_getStartOffset(),a.JSC$37143_getEndNode(),a.JSC$37143_getEndOffset()))}};
_.f.requestSuggestions=function(a){if(this.activeMention){var b={suggestions_query:a};this.pendingQuery=a;_.Kg(this,[this.suggestionsEndpoint,b])}};
_.f.cancelActiveMention=function(){this.activeMention&&this.logGELEvent("USER_MENTION_AUTO_COMPLETE_BOX_EVENT_TYPE_MENTION_FLOW_STOPPED");this.suggestionsResponse=this.pendingQuery=this.activeMention=null;this.dropdown.clearFocusedSuggestion()};
_.f.focusPreviousSuggestion=function(a){this.hasSuggestions(this.suggestionsResponse)&&(this.dropdown.advanceSuggestion(-1),a.preventDefault())};
_.f.focusNextSuggestion=function(a){this.hasSuggestions(this.suggestionsResponse)&&(this.dropdown.advanceSuggestion(1),a.preventDefault())};
_.f.selectFocusedSuggestion=function(a){if(this.hasSuggestions(this.suggestionsResponse)){var b=this.suggestionsResponse.suggestions[this.dropdown.focusedSuggestionIndex];b.userMentionSuggestionRenderer&&(this.selectSuggestion(b.userMentionSuggestionRenderer,this.dropdown.focusedSuggestionIndex),a.preventDefault())}};
_.f.selectSuggestion=function(a,b){if(a){var c=this.activeMention;if(c){var d=document.createElement("a");jPa(d,"\u00a0@"+a.displayName+"\u00a0");_.Ut(d,"/channel/"+a.channelId);d.classList.add("yt-formatted-string","yt-simple-endpoint");d.setAttribute("spellcheck","false");c.replaceContentsWithNode(d);a=document.createTextNode(" ");d.parentNode.insertBefore(a,d.nextSibling);window.getSelection().collapse(a,1);this.logGELEvent("USER_MENTION_AUTO_COMPLETE_BOX_EVENT_TYPE_SUGGESTION_SELECTED",{suggestionSelected:{suggestionIndex:b}});
this.cancelActiveMention();this.fire("yt-mention-inserted")}}};
_.f.getPositionTarget=function(a){return a&&a.getBrowserRangeObject()};
_.f.onDomChange=function(){this.ironDropdown.refit();this.logGELEvent("USER_MENTION_AUTO_COMPLETE_BOX_EVENT_TYPE_CONTENT_UPDATED")};
_.f.onFocusedSuggestionIdChanged=function(a){var b=this.getContentChildren("")[0];b&&(a.detail.value?b.setAttribute("aria-activedescendant",a.detail.value):b.removeAttribute("aria-activedescendant"))};
_.f.onDropdownOpened=function(){this.logGELEvent("USER_MENTION_AUTO_COMPLETE_BOX_EVENT_TYPE_BOX_OPENED")};
_.f.logGELEvent=function(a,b){a={eventType:a,flowNonce:this.flowNonce,source:"USER_MENTION_AUTO_COMPLETE_SOURCE_BACKSTAGE_POST"};b&&(a=Object.assign(a,b));_.Kf("userMentionAutoCompleteBoxEvent",a)};
_.t.Object.defineProperties(YC,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-user-mention-autosuggest-input--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.social.yt_user_mention_autosuggest_input.yt.user.mention.autosuggest.input.css.js--\x3e<slot name="input"></slot>\n<tp-yt-iron-dropdown id="iron-dropdown" horizontal-align="auto" no-auto-focus="" no-overlap="true" opened="[[hasSuggestions(suggestionsResponse)]]" position-target="[[getPositionTarget(activeMention)]]" on-iron-overlay-opened="onDropdownOpened">\n  <yt-user-mention-suggestions-dropdown id="dropdown" class="dropdown-content" slot="dropdown-content" data="[[suggestionsResponse]]" role="listbox" on-focused-suggestion-id-changed="onFocusedSuggestionIdChanged">\n  </yt-user-mention-suggestions-dropdown>\n</tp-yt-iron-dropdown>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.social.yt_user_mention_autosuggest_input.yt.user.mention.autosuggest.input.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {display: block;} #dropdown {z-index: var(--ytd-z-index-user-mention-suggestions-container);box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} /*# sourceMappingURL=yt-user-mention-autosuggest-input.css.map*/</style>";
uVa=d}d=uVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vVa=a}a=vVa;return a}}});
var ZC=YC;ZC.prototype.onDomChange=ZC.prototype.onDomChange;ZC.prototype.onUserMentionSuggestionSelected=ZC.prototype.onUserMentionSuggestionSelected;ZC.prototype.onServiceRequestError=ZC.prototype.onServiceRequestError;ZC.prototype.onServiceRequestCompleted=ZC.prototype.onServiceRequestCompleted;ZC.prototype.onServiceRequestSent=ZC.prototype.onServiceRequestSent;ZC.prototype.onInput=ZC.prototype.onInput;_.S([_.L(_.Xs),_.T("design:type",Object)],ZC.prototype,"ironA11yKeysBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],ZC.prototype,"suggestionsEndpoint",void 0);_.S([_.N(),_.T("design:type",Object)],ZC.prototype,"suggestionsResponse",void 0);_.S([_.N(),_.T("design:type",Object)],ZC.prototype,"activeMention",void 0);_.S([_.Z("#dropdown"),_.T("design:type",XC)],ZC.prototype,"dropdown",void 0);_.S([_.Z("#iron-dropdown"),_.T("design:type",Object)],ZC.prototype,"ironDropdown",void 0);
_.S([_.O("input"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],ZC.prototype,"onInput",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],ZC.prototype,"onServiceRequestSent",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],ZC.prototype,"onServiceRequestCompleted",null);
_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],ZC.prototype,"onServiceRequestError",null);_.S([_.O("yt-user-mention-suggestion-selected"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],ZC.prototype,"onUserMentionSuggestionSelected",null);
_.S([_.O("dom-change"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],ZC.prototype,"onDomChange",null);ZC=_.S([_.Q({is:"yt-user-mention-autosuggest-input"})],ZC);
var $C=function(){var a=_.vt.apply(this,arguments)||this;a.focusedIndex=0;a.verticalOffset=0;a.verticalAlign="top";a.dynamicAlign=!0;return a};
_.q($C,_.vt);$C.prototype.emojiUrl=function(a){a=_.MC(this.emojiManager,a);if(!a)return"";var b;a=null==(b=a.image)?void 0:b.thumbnails;return _.nu(a,24)||""};
var AVa=function(a){var b;a.emojiVariants&&null!=(b=a.data)&&b.target&&_.nt(a,function(){a.set("verticalOffset",-1*a.clientHeight);var c=a.$$("img");c&&c.focus()})};
_.f=$C.prototype;_.f.onKeyboardEnter=function(){};
_.f.onVerticalOffsetOrPositionTargetChanged=function(){this.ironOverlayBehavior.position()};
_.f.onEmojiVariantsChanged=function(){this.emojiVariants&&(this.ironOverlayBehavior.noCancelOnOutsideClick=!0,this.ironOverlayBehavior.open())};
_.f.onKeyDown=function(a){switch(a.keyCode){case 13:this.onKeyboardEnter();a.preventDefault();break;case 40:this.changeFocus(1);a.preventDefault();break;case 38:this.changeFocus(-1);a.preventDefault();break;case 27:this.ironOverlayBehavior.restoreFocusOnClose=!0,this.ironOverlayBehavior.close()}};
_.f.onYtEmojiSelect=function(a){var b=this,c,d,e,h,l,m,p,r;return _.y(function(v){if(1==v.nextAddress)return d=null==(c=b.data)?void 0:c.emoji,l=(null==(e=d)?void 0:e.stickyPrefId)||(null==(h=d)?void 0:h.emojiId),p=null==(m=a.detail)?void 0:m.emojiId,l&&p&&l!==p?_.B(v,null==(r=b.emojiManager)?void 0:qVa(r,d,p),2):v.return();_.C(b,"yt-live-chat-emoji-sticky-preference-changed",[d,p]);_.bf(v)})};
_.f.changeFocus=function(a){this.emojiVariants&&this.emojiVariants.length&&(this.focusedIndex=(this.focusedIndex+a+this.emojiVariants.length)%this.emojiVariants.length,this.focusedIndex<this.emojiVariants.length&&(a=this.$$("#variants"))&&a.children[this.focusedIndex].focus())};
_.t.Object.defineProperties($C.prototype,{positionTarget:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.target)||this.parentElement}}});
var aD=$C;aD.prototype.onYtEmojiSelect=aD.prototype.onYtEmojiSelect;aD.prototype.onKeyDown=aD.prototype.onKeyDown;aD.prototype.onEmojiVariantsChanged=aD.prototype.onEmojiVariantsChanged;aD.prototype.onVerticalOffsetOrPositionTargetChanged=aD.prototype.onVerticalOffsetOrPositionTargetChanged;_.S([_.L(_.Fx),_.T("design:type",Object)],aD.prototype,"ironOverlayBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],aD.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",_.LC)],aD.prototype,"emojiManager",void 0);_.S([_.N(),_.T("design:type",Object)],aD.prototype,"emojiVariants",void 0);_.S([_.N(),_.T("design:type",Object)],aD.prototype,"focusedIndex",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],aD.prototype,"positionTarget",null);_.S([_.N(),_.T("design:type",Number)],aD.prototype,"verticalOffset",void 0);_.S([_.N(),_.T("design:type",Object)],aD.prototype,"verticalAlign",void 0);
_.S([_.N(),_.T("design:type",Object)],aD.prototype,"dynamicAlign",void 0);_.S([_.P("verticalOffset","positionTarget"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],aD.prototype,"onVerticalOffsetOrPositionTargetChanged",null);_.S([_.P("emojiVariants"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],aD.prototype,"onEmojiVariantsChanged",null);
_.S([_.O("keydown"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent]),_.T("design:returntype")],aD.prototype,"onKeyDown",null);_.S([_.O("yt-emoji-select"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype",Promise)],aD.prototype,"onYtEmojiSelect",null);aD=_.S([_.wt()],aD);var BVa=[aD.prototype];
var CVa;
var DVa;
var EVa=/medium-light|medium-dark|light|medium|dark/,FVa=/[\w-]*?(?=\/\w+\/\w+\.(?:svg|png)$)/,GVa=new Map([["dark","\ud83c\udfff"],["medium-dark","\ud83c\udffe"],["medium","\ud83c\udffd"],["medium-light","\ud83c\udffc"],["light","\ud83c\udffb"]]),bD=function(){var a=_.K.apply(this,arguments)||this;a.userSelection={left:null,right:null};a.scrollAction="lock";a.isEmojiDraftInProgress=!1;return a};
_.q(bD,_.K);_.f=bD.prototype;_.f.onClick=function(a){a=_.H(a).rootTarget;a instanceof HTMLImageElement&&this.selectOrUpdateEmoji(a)};
_.f.selectOrUpdateEmoji=function(a){var b=a.getAttribute("selection");b&&("default"===b?this.fire("yt-emoji-select",_.MC(this.emojiManager,a.id)):"left"===b?this.userSelection=Object.assign({},this.userSelection,{left:a.src}):"right"===b?this.userSelection=Object.assign({},this.userSelection,{right:a.src}):"user"===b&&this.userSelection.left&&this.userSelection.right&&this.fire("yt-emoji-select",_.MC(this.emojiManager,a.id)))};
_.f.openSelector=function(){this.ironOverlayBehavior.restoreFocusOnClose=!0;this.ironOverlayBehavior.open()};
_.f.onMultiSelectorThumbnailRowChanged=function(){var a,b,c;(null==(a=this.data)?0:null==(b=a.emoji)?0:null==(c=b.multiSelectorThumbnailRow)?0:c.length)&&this.openSelector()};
_.f.getThumbnailFromEmojiRow=function(a){var b,c;return(null==a?void 0:null==(b=a.thumbnails)?void 0:null==(c=b[0])?void 0:c.url)||""};
_.f.getEmojiAltTextForPartialSelector=function(a){var b;return(null==(b=this.getThumbnailFromEmojiRow(a).match(FVa))?void 0:b[0])||""};
_.f.getEmojiAltTextForDraftEmoji=function(){return this.composedEmojiSelection?this.composedEmojiSelection.emojiId||"":""};
_.f.getDraftEmojiAriaRole=function(){return this.composedEmojiSelection?"option":""};
_.f.getRowSelection=function(a){return["left","right"][a]};
_.f.getIdFromComposedEmoji=function(a){return(null==a?void 0:a.emojiId)||""};
_.f.getEmojiFromPartialSelections=function(a,b){if(!a&&!b)return null;var c,d,e=null==(c=this.data)?void 0:null==(d=c.emoji)?void 0:d.variantIds;if(!e||!e.length)return null;var h;a=null==(h=a.match(EVa))?void 0:h[0];var l;b=null==(l=b.match(EVa))?void 0:l[0];if(!a||!b)return null;var m=GVa.get(a);l=GVa.get(b);if(m===l){l=Array.from(GVa.values()).filter(function(r){return r!==m}).join("|");
var p=new RegExp("^((?!("+l+")).)*"+m+"$")}else p=new RegExp(m+".*"+l);return(e=e.find(function(r){return p.test(r)}))&&_.MC(this.emojiManager,e)||null};
_.f.onUserSelectionSrcLoad=function(){if(!this.isEmojiDraftInProgress&&this.data){var a,b=this.ytEmojiSelectorBehavior.emojiUrl((null==(a=this.data.emoji)?void 0:a.emojiId)||"");this.$$('[selection="user"]').src.includes(b)||(this.isEmojiDraftInProgress=!0)}};
_.f.onDomChange=function(){AVa(this.ytEmojiSelectorBehavior)};
_.f.getFocusableElements=function(){return _.H(this.root).querySelectorAll("img").filter(function(a){return"option"===a.getAttribute("role")})};
_.f.changeFocus=function(a){var b=this.getFocusableElements();null!=b&&b.length&&(this.ytEmojiSelectorBehavior.focusedIndex=(this.ytEmojiSelectorBehavior.focusedIndex+a+b.length)%b.length,this.ytEmojiSelectorBehavior.focusedIndex<b.length&&(a=b[this.ytEmojiSelectorBehavior.focusedIndex])&&a.focus())};
_.f.onKeyboardEnter=function(){var a=this.getFocusableElements();null!=a&&a.length&&(a=a[this.ytEmojiSelectorBehavior.focusedIndex])&&a instanceof HTMLImageElement&&(this.selectOrUpdateEmoji(a),this.ytEmojiSelectorBehavior.changeFocus(0))};
_.t.Object.defineProperties(bD.prototype,{emojiVariants:{configurable:!0,enumerable:!0,get:function(){var a=this,b,c,d;return this.emojiManager&&(null==(b=this.data)?0:null==(c=b.emoji)?0:null==(d=c.variantIds)?0:d.length)?this.data.emoji.variantIds.map(function(e){return!!e&&_.MC(a.emojiManager,e)}).filter(function(e){return!!e}):[]}},
composedEmojiSelection:{configurable:!0,enumerable:!0,get:function(){if(!this.data)return null;var a,b=null==(a=this.userSelection)?void 0:a.left,c;a=null==(c=this.userSelection)?void 0:c.right;return b&&a?this.getEmojiFromPartialSelections(b,a):null}},
draftEmojiUrl:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.composedEmojiSelection)?0:a.emojiId)return this.ytEmojiSelectorBehavior.emojiUrl(this.composedEmojiSelection.emojiId)||"";if(!this.data)return"";var b;a=null==(b=this.userSelection)?void 0:b.left;var c;b=null==(c=this.userSelection)?void 0:c.right;if(!a&&!b){var d;return this.ytEmojiSelectorBehavior.emojiUrl((null==(d=this.data.emoji)?void 0:d.emojiId)||"")}return a&&!b?a:!a&&b?b:""}}});
_.t.Object.defineProperties(bD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===DVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-emoji-multi-person-selector--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_multi_person_selector.yt.emoji.multi.person.selector.css.js--\x3e<div id="options">\n  <template is="dom-repeat" id="repeat" items="[[data.emoji.multiSelectorThumbnailRow]]" notify-dom-change="" as="row" index-as="rowIndex" on-dom-change="onDomChange">\n    <div class="variant-thumbnail-row">\n      <template is="dom-repeat" id="thumbnail-row-repeat" items="[[row.thumbnails]]" as="thumbnail">\n        \n        <img height="24" role="option" alt="[[getEmojiAltTextForPartialSelector(thumbnail)]]" src$="[[getThumbnailFromEmojiRow(thumbnail)]]" tabindex="-1" width="24" selection$="[[getRowSelection(rowIndex)]]">\n      </template>\n    </div>\n  </template>\n</div>\n<div id="selections">\n\n  <img id="[[data.emoji.emojiId]]" class="default-selection" alt="[[data.emoji.emojiId]]" height="36" role="option" src$="[[emojiUrl(data.emoji.emojiId)]]" tabindex="-1" width="36" selection="default">\n  <img id$="[[getIdFromComposedEmoji(composedEmojiSelection)]]" class="user-selection" is-draft$="[[isEmojiDraftInProgress]]" alt="[[getEmojiAltTextForDraftEmoji(composedEmojiSelection)]]" height="36" role$="[[getDraftEmojiAriaRole(composedEmojiSelection)]]" src$="[[draftEmojiUrl]]" selection="user" tabindex="-1" width="36" on-load="onUserSelectionSrcLoad">\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_multi_person_selector.yt.emoji.multi.person.selector.css.js--\x3e<style>:host {background-color: var(--yt-emoji-picker-variant-selector-bg-color);border-radius: 5px 5px 0 0;display: block;width: 175px;box-shadow: 0 -3px 3px rgba(125,125,125,0.1);} img {border-radius: 2px;padding: 4px;cursor: pointer;} img:hover,img[aria-selected=true] {background-color: var(--yt-spec-10-percent-layer);} #options {border-bottom: 1px solid grey;} img[selection=user]:not([is-draft]) {filter: contrast(0) brightness(1.5);} #options,#selections {text-align: center;} .variant-thumbnail-row {max-height: 35px;overflow-y: hidden;} /*# sourceMappingURL=yt-emoji-multi-person-selector.css.map*/</style>";
CVa=d}d=CVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);DVa=a}a=DVa;return a}}});
var cD=bD;cD.prototype.onMultiSelectorThumbnailRowChanged=cD.prototype.onMultiSelectorThumbnailRowChanged;cD.prototype.onClick=cD.prototype.onClick;_.S([_.L(_.Fx),_.T("design:type",Object)],cD.prototype,"ironOverlayBehavior",void 0);_.S([_.L(BVa),_.T("design:type",Object)],cD.prototype,"ytEmojiSelectorBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],cD.prototype,"data",void 0);_.S([_.N(),_.T("design:type",_.LC)],cD.prototype,"emojiManager",void 0);
_.S([_.N(),_.T("design:type",Object)],cD.prototype,"userSelection",void 0);_.S([_.N(),_.T("design:type",Object)],cD.prototype,"scrollAction",void 0);_.S([_.N(),_.T("design:type",Boolean)],cD.prototype,"isEmojiDraftInProgress",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],cD.prototype,"emojiVariants",null);_.S([_.V("data","userSelection"),_.T("design:type",Object),_.T("design:paramtypes",[])],cD.prototype,"composedEmojiSelection",null);
_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[MouseEvent]),_.T("design:returntype")],cD.prototype,"onClick",null);_.S([_.P("data.emoji.multiSelectorThumbnailRow"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cD.prototype,"onMultiSelectorThumbnailRowChanged",null);_.S([_.V("data","userSelection","composedEmojiSelection"),_.T("design:type",String),_.T("design:paramtypes",[])],cD.prototype,"draftEmojiUrl",null);
cD=_.S([_.lu({is:"yt-emoji-multi-person-selector",noInjection:!0})],cD);
var HVa;
var IVa;
_.Ng({is:"yt-emoji-picker-category-button-renderer",_template:function(){if(void 0!==IVa)return IVa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-emoji-picker-category-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_category_button_renderer.yt.emoji.picker.category.button.renderer.css.js--\x3e<yt-icon-button id="button" label="[[data.accessibility.accessibilityData.label]]" on-tap="onTap_">\n  <yt-icon icon="[[icon]]"></yt-icon>\n</yt-icon-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===HVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_category_button_renderer.yt.emoji.picker.category.button.renderer.css.js--\x3e<style>:host {display: inline-block;color: var(--yt-emoji-picker-category-button-color,var(--yt-live-chat-tertiary-text-color,var(--yt-spec-icon-active-other)));} :host([active]) {color: var(--yt-live-chat-primary-text-color,var(--yt-spec-icon-active-other));} yt-icon-button {width: 18px;height: 18px;margin: 4px;} #button ::slotted(tp-yt-paper-tooltip) {white-space: nowrap;} /*# sourceMappingURL=yt-emoji-picker-category-button-renderer.css.map*/</style>";
HVa=d}d=HVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return IVa=a},
properties:{data:{type:Object,observer:"dataChanged_"},id:{type:String,computed:"computeId_(data.categoryId)",reflectToAttribute:!0},targetId:{type:String,computed:"computeTargetId(data.targetId)"},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},icon:{type:String,readOnly:!0,computed:"computeIcon_(data.icon.iconType)"}},behaviors:[_.RB.YtLiveChatTooltipTargetingBehavior],created:function(){this.tooltip_=null},
dataChanged_:function(a){a.tooltip&&(this.tooltip_||(this.tooltip_=document.createElement("tp-yt-paper-tooltip"),this.$.button.appendChild(this.tooltip_)),_.H(this.tooltip_).textContent=a.tooltip)},
computeTargetId:function(){return this.data.targetId||""},
computeId_:function(a){return a},
computeIcon_:function(a){return _.Ft(a)},
onTap_:function(){this.active=!this.active;this.fire("yt-emoji-picker-select-category",{categoryId:this.id})}});
var JVa;
var KVa;
_.Ng({is:"yt-emoji-picker-category-renderer",_template:function(){if(void 0!==KVa)return KVa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-emoji-picker-category-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_category_renderer.yt.emoji.picker.category.renderer.css.js--\x3e<yt-formatted-string id="title" hidden="[[!data.title]]" text="[[data.title]]"></yt-formatted-string><div id="emoji" role="listbox" aria-label="[[data.title]]"><template is="dom-repeat" id="repeat" items="[[emoji]]" initial-count="[[domRepeatInitialCount]]" target-framerate="[[domRepeatTargetFramerate]]"><img id="[[item.emojiId]]" alt="[[emojiAlt(item)]]" aria-label$="[[emojiAriaLabel(item)]]" aria-selected$="[[emojiAriaSelected(showFocus, focusedIndex, index)]]" contains-variants$="[[emojiContainsVariants(item)]]" height="24" is-active-emoji-with-variants$="[[isActiveEmojiWithVariants(activeEmojiWithVariantsId, item)]]" loading$="[[emojiLoading()]]" role="option" src$="[[emojiUrl(item.emojiId, skinTone)]]" width="24"></template></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===JVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_category_renderer.yt.emoji.picker.category.renderer.css.js--\x3e<style>:host {display: block;z-index: 0;margin-left: var(--yt-emoji-picker-category-margin-left);outline: none;} #title {position: sticky;top: 0;display: block;background-color: var(--yt-emoji-picker-category-background-color);color: var(--yt-emoji-picker-category-color);line-height: 16px;font-size: 13px;font-weight: 500;letter-spacing: 0.5px;text-transform: uppercase;pointer-events: none;padding: 2px;z-index: 1;} #emoji {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;contain: content;} img {border-radius: 2px;padding: 4px;cursor: pointer;} img:hover,img[aria-selected=true] {background-color: var(--yt-spec-10-percent-layer);} img[contains-variants] {background-image: linear-gradient(to bottom right,transparent 90%,var(--yt-emoji-picker-base-with-variants-border) 10%);border-radius: 0;} img[is-active-emoji-with-variants] {background-color: var(--yt-emoji-picker-variant-selector-bg-color);padding: 16px;box-sizing: border-box;background-image: none;} /*# sourceMappingURL=yt-emoji-picker-category-renderer.css.map*/</style>";
JVa=d}d=JVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return KVa=a},
properties:{data:{type:Object,observer:"dataChanged"},id:{type:String,computed:"computeId_(data)"},emoji:{type:Array,computed:"computeEmoji(data)",observer:"emojiChanged_"},skinTone:Number,emojiManager:{type:Object,observer:"emojiManagerChanged_"},focusedIndex:{type:Number,value:0},showFocus:{type:Boolean,value:!1},ariaLabel:{type:String,value:null,reflectToAttribute:!0,computed:"computeAriaLabel_(data.title)"},ariaActivedescendant:{type:String,value:null,reflectToAttribute:!0,computed:"computeAriaActivedescendant_(emoji, focusedIndex)"},
domRepeatTargetFramerate:{type:Number,value:60},domRepeatInitialCount:{type:Number,value:1},activeEmojiWithVariantsId:{type:String,value:""},shouldUseStickyPreferences:{type:Boolean,value:!1}},behaviors:[_.Y.YtActionHandlerBehavior],hostAttributes:{"aria-live":"polite",role:"listbox",tabindex:0},listeners:{focus:"onFocus",blur:"onBlur_",mouseover:"onMouseOver_",mousedown:"onMouseDown",mouseup:"onMouseUp",keydown:"onKeyDown_",click:"onClick"},actionMap:{"yt-live-chat-emoji-skin-tone-changed":"emojiSkinToneChanged_",
"yt-close-emoji-variant-selector":"onCloseEmojiVariantSelector","yt-live-chat-emoji-sticky-preference-changed":"onEmojiStickyPreferenceChanged"},created:function(){this.JSC$37513_ignoreNextFocus_=!1;this.longPressTimeoutId=null},
detached:function(){clearTimeout(this.longPressTimeoutId)},
emojiChanged_:function(a){this.changeFocus_(0,!1);for(var b=_.vp(),c=0;c<a.length;c++){var d={veType:88013,elementIndex:c},e=a[c];e.isCustomEmoji&&(e=document.querySelector(("#"+e.emojiId).replace("/","\\/")))&&(d=_.aGa(b,d))&&(e.visualElement=d)}},
emojiManagerChanged_:function(a){this.skinTone=a.skinTone},
emojiSkinToneChanged_:function(a){this.skinTone=a},
dataChanged:function(){this.data&&this.data.emojiData&&mVa(this.emojiManager,this.data.emojiData)},
emojiUrl:function(a){return(a=this.getEmoji(a))?_.nu(a.image.thumbnails,24)||"":""},
emojiAlt:function(a){var b=this.get("image.accessibility.accessibilityData.label",a);return b?b:a.isCustomEmoji?a.shortcuts[0]:a.emojiId},
emojiAriaLabel:function(a){return a.shortcuts?a.shortcuts[0]:""},
emojiAriaSelected:function(a,b,c){return a&&c==b?"true":"false"},
getEmoji:function(a){if(this.emojiManager)return this.shouldUseStickyPreferences?_.oVa(this.emojiManager,a):_.NC(this.emojiManager,a)},
computeId_:function(a){return a.categoryId||""},
computeEmoji:function(a){var b=this;return this.emojiManager?a.emojiIds?a.emojiIds.map(function(c){return!!c&&_.MC(b.emojiManager,c)}).filter(function(c){return!!c}):a.emojiData?a.emojiData.map(function(c){var d=!!c.emojiId&&_.MC(b.emojiManager,c.emojiId);
if(d)return Object.assign({},d,c)}).filter(function(c){return!!c}):[]:[]},
emojiLoading:function(){return this.data&&this.data.imageLoadingLazy?"lazy":"eager"},
computeAriaLabel_:function(a){return _.qi(a)},
computeAriaActivedescendant_:function(a,b){return a&&a[b]?a[b].emojiId||"":""},
handleLongPressEmojiWithVariants:function(a,b){this.changeFocusToEmoji(a.emojiId,!1);this.openVariantSelector(a,b)},
onMouseDown:function(a){var b=this;this!==document.activeElement&&(this.JSC$37513_ignoreNextFocus_=!0);if(0===a.button){var c=_.H(a).rootTarget;if(c instanceof HTMLImageElement){var d=this.$.repeat.itemForElement(c);this.emojiContainsVariants(d)&&(this.longPressTimeoutId=setTimeout(function(){b.handleLongPressEmojiWithVariants(d,c)},500))}}},
onMouseUp:function(){clearTimeout(this.longPressTimeoutId)},
onFocus:function(){this.JSC$37513_ignoreNextFocus_||(this.showFocus=!0,this.changeFocus_(0,!0));this.JSC$37513_ignoreNextFocus_=!1},
onBlur_:function(){this.showFocus=!1},
emojiContainsVariants:function(a){return _.x("live_chat_use_new_emoji_picker")?!!(a&&a.variantIds&&a.variantIds.length):!1},
onClick:function(a){clearTimeout(this.longPressTimeoutId);a=_.H(a).rootTarget;if(a instanceof HTMLImageElement){var b=a.id;this.changeFocusToEmoji(b,!1);var c=this.getEmoji(b),d;if(d=this.shouldUseStickyPreferences&&this.emojiContainsVariants(c)){var e;d=!(null!=(e=this.emojiManager.emojiMap[b])&&e.stickyPrefId)}d?(e=this.$.repeat.itemForElement(a),this.openVariantSelector(e,a)):this.fire("yt-emoji-select",c)}},
isActiveEmojiWithVariants:function(a,b){return a&&b?b.stickyPrefId?a===b.stickyPrefId:a===b.emojiId:!1},
onCloseEmojiVariantSelector:function(a){this.activeEmojiWithVariantsId===a&&(this.activeEmojiWithVariantsId="")},
onMouseOver_:function(a){a=_.H(a).rootTarget;a instanceof HTMLImageElement&&this.fire("yt-emoji-hover",_.MC(this.emojiManager,a.id))},
changeFocus_:function(a,b){this.focusedIndex=(this.focusedIndex+a+this.emoji.length)%this.emoji.length;this.focusedIndex<this.emoji.length&&(a=this.emoji[this.focusedIndex],b&&(this.showFocus=!0,this.$.emoji.children[this.focusedIndex].scrollIntoView(!1),this.fire("yt-emoji-hover",a)))},
changeFocusToEmoji:function(a,b){if(a){var c=this.emoji.findIndex(function(d){return d.emojiId===a});
-1!==c&&this.changeFocus_(c-this.focusedIndex,b)}},
onKeyDown_:function(a){switch(a.keyCode){case 13:if(this.focusedIndex<this.emoji.length){var b=this.emoji[this.focusedIndex];if(b&&b.emojiId){if(this.emojiContainsVariants(b)){var c=_.H(this.root).querySelectorAll("img")[this.focusedIndex];this.openVariantSelector(b,c)}else this.fire("yt-emoji-select",_.NC(this.emojiManager,b.emojiId)),this.focus();a.preventDefault()}}break;case 40:this.changeFocus_(1,!0);a.preventDefault();break;case 38:this.changeFocus_(-1,!0),a.preventDefault()}},
onEmojiStickyPreferenceChanged:function(a,b){this.shouldUseStickyPreferences&&this.activeEmojiWithVariantsId&&a.emojiId&&a.variantIds&&a.variantIds.includes(b)&&this.activeEmojiWithVariantsId!==b&&this.setStickyEmojiPreference(a.emojiId,b)},
openVariantSelector:function(a,b){this.activeEmojiWithVariantsId=a.stickyPrefId||a.emojiId||"";this.fire("yt-show-emoji-variant-selector",{emojiData:a,target:b})},
setStickyEmojiPreference:function(a,b){if(this.data){var c=this.emoji.findIndex(function(e){return e.emojiId===a});
if(-1!==c){var d=this.emoji[c];d.stickyPrefId=b;this.set("emoji."+c,Object.assign({},d));this.activeEmojiWithVariantsId=b}}}});
var LVa;
var MVa;
var NVa;
var OVa;
_.Ng({is:"yt-emoji-picker-upsell-category-renderer",_template:function(){if(void 0!==OVa)return OVa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-emoji-picker-upsell-category-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_upsell_category_renderer.yt.emoji.picker.upsell.category.renderer.css.js--\x3e<yt-formatted-string id="title" hidden="[[!data.title]]" text="[[data.title]]"></yt-formatted-string><div id="emoji"><template is="dom-repeat" id="repeat" items="[[emoji]]"><div><img id="[[emojiId(index)]]" on-mouseover="onEmojiMouseOver_" shared-tooltip-text$="[[data.emojiTooltip]]" src$="[[emojiUrl(item.emojiId)]]" alt="[[emojiAlt(item)]]" aria-label$="[[emojiAriaLabel(item)]]" aria-selected$="[[emojiAriaSelected(showFocus, focusedIndex, index)]]" role="option"><svg viewBox="0 0 24 24"><path id="lock-border" d="M18.3809524 6.80952784c1.6455246.45922361 2.8571428 1.97242785 2.8571428 3.76190076v9.5238095C21.2380952 22.2474266 19.4855219 24 17.3333333 24H5.9047619C3.75257336 24 2 22.2474266 2 20.0952381v-9.5238095c0-1.78947291 1.21161828-3.30267715 2.85714286-3.76190076v-.04762308C4.85714286 3.02876383 7.88590669 0 11.6190476 0c3.7331409 0 6.7619048 3.02876383 6.7619048 6.76190476v.04762308z"></path><path d="M17.3333333 8.66666667c1.0476191 0 1.9047619.85714285 1.9047619 1.90476193v9.5238095c0 1.047619-.8571428 1.9047619-1.9047619 1.9047619H5.9047619C4.85714286 22 4 21.1428571 4 20.0952381v-9.5238095c0-1.04761908.85714286-1.90476193 1.9047619-1.90476193h.95238096V6.76190476C6.85714286 4.13333333 8.99047619 2 11.6190476 2c2.6285714 0 4.7619048 2.13333333 4.7619048 4.76190476v1.90476191h.9523809zm-5.7142857 8.57142853c1.0476191 0 1.9047619-.8571428 1.9047619-1.9047619 0-1.047619-.8571428-1.9047619-1.9047619-1.9047619-1.047619 0-1.90476189.8571429-1.90476189 1.9047619 0 1.0476191.85714289 1.9047619 1.90476189 1.9047619zm2.952381-8.57142853V6.76190476c0-1.62857143-1.3238096-2.95238095-2.952381-2.95238095-1.62857141 0-2.95238093 1.32380952-2.95238093 2.95238095v1.90476191h5.90476193z"></path></svg></div></template></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===NVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_upsell_category_renderer.yt.emoji.picker.upsell.category.renderer.css.js--\x3e<style>:host {display: block;z-index: 0;margin-left: var(--yt-emoji-picker-category-margin-left);outline: none;} #emoji {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #title {display: block;position: relative;background-color: var(--yt-emoji-picker-category-background-color);color: var(--yt-emoji-picker-category-color);line-height: 16px;font-size: 13px;font-weight: 500;letter-spacing: 0.5px;text-transform: uppercase;pointer-events: none;padding: 2px;z-index: 1;} img {width: 24px;height: 24px;padding: 4px;opacity: 0.9;cursor: pointer;} img:hover,img[aria-selected=true] {background-color: rgba(0,0,0,0.1);border-radius: 2px;} svg {position: relative;width: 12px;height: 12px;margin-left: -12px;fill: var(--yt-live-chat-primary-text-color);pointer-events: none;} path#lock-border {fill: var(--yt-emoji-picker-category-background-color);} /*# sourceMappingURL=yt-emoji-picker-upsell-category-renderer.css.map*/</style>";
NVa=d}d=NVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return OVa=a},
properties:{data:Object,id:{type:String,computed:"computeId_(data)"},emoji:{type:Array,computed:"computeEmoji_(data)",observer:"emojiChanged_"},titleOffset:{type:Number,value:0,observer:"titleOffsetChanged_"},ariaLabel:{type:String,value:null,reflectToAttribute:!0,computed:"getFormattedStringRawText(data.upsell)"},ariaActivedescendant:{type:String,value:null,reflectToAttribute:!0,computed:"computeAriaActivedescendant_(focusedIndex)"},showFocus:{type:Boolean,value:!1},focusedIndex:{type:Number,value:0},
emojiManager:{type:Object}},listeners:{focus:"onFocus_",blur:"onBlur_",mousedown:"onMouseDown_",keydown:"onKeyDown_",click:"onEmojiTap_"},behaviors:[_.iu.YtComponentBehavior],hostAttributes:{"aria-live":"polite",role:"listbox",tabindex:0},created:function(){this.JSC$37519_ignoreNextFocus_=!1},
emojiUrl:function(a){return _.nu(_.NC(this.emojiManager,a,!0).image.thumbnails,24)||""},
emojiAlt:function(a){var b=this.get("image.accessibility.accessibilityData.label",a);return b?b:a.isCustomEmoji?a.shortcuts[0]:a.emojiId},
emojiId:function(a){return"emoji"+a},
computeId_:function(a){return a.categoryId||""},
computeAriaActivedescendant_:function(a){return this.emoji&&a<this.emoji.length?this.emojiId(a):""},
emojiChanged_:function(a){this.changeFocus_(0,!1);for(var b=_.vp(),c=0;c<a.length;c++){var d={veType:88013,elementIndex:c},e=a[c];e.isCustomEmoji&&(e=document.querySelector(("#"+e.emojiId).replace("/","\\/")))&&(d=_.aGa(b,d))&&(e.visualElement=d)}},
computeEmoji_:function(a){var b=this;return this.emojiManager?a.emojiIds.map(function(c){return _.MC(b.emojiManager,c,!0)}).filter(function(c){return!!c}):[]},
titleOffsetChanged_:function(a){var b=this.getBoundingClientRect(),c=this.$.title.getBoundingClientRect();a=Math.max(0,Math.min(a,b.height-c.height));this.$.title.style.top=a+"px"},
onEmojiMouseOver_:function(a){this.fire("yt-emoji-hover",a.model.item)},
onEmojiTap_:function(a){this.data.command&&(a=_.PHa(this.getEndpointHandler_(),this.data.command,a),this.fire("yt-navigate",a,{node:this}))},
emojiAriaLabel:function(a){return a.shortcuts[0]},
emojiAriaSelected:function(a,b,c){return a&&c==b?"true":"false"},
changeFocus_:function(a,b){var c=this.emoji.length;this.focusedIndex=(this.focusedIndex+a+c)%c;a=this.emoji[this.focusedIndex];b&&(this.$$("#"+this.emojiId(this.focusedIndex)).scrollIntoView(!1),this.fire("yt-emoji-hover",a))},
onMouseDown_:function(){this.JSC$37519_ignoreNextFocus_=!0},
onFocus_:function(){this.JSC$37519_ignoreNextFocus_||(this.showFocus=!0,this.changeFocus_(0,!0));this.JSC$37519_ignoreNextFocus_=!1},
onBlur_:function(){this.showFocus=!1},
onKeyDown_:function(a){switch(a.keyCode){case 13:this.onEmojiTap_(a);this.focus();break;case 40:this.changeFocus_(1,!0);a.preventDefault();break;case 38:this.changeFocus_(-1,!0),a.preventDefault()}},
getFormattedStringRawText:_.qi});
var PVa;
var QVa;
var dD=function(){var a=_.K.apply(this,arguments)||this;a.scrollAction="lock";a.verticalAlign="top";return a};
_.q(dD,_.K);_.f=dD.prototype;_.f.onClick=function(a){a=_.H(a).rootTarget;a instanceof HTMLImageElement&&this.fire("yt-emoji-select",_.MC(this.emojiManager,a.id))};
_.f.openSelector=function(){this.ironOverlayBehavior.open()};
_.f.onDomChange=function(){AVa(this.ytEmojiSelectorBehavior)};
_.f.computeIsFamilySelector=function(a){var b;return"\ud83d\udc6a"===(null==a?void 0:null==(b=a.emoji)?void 0:b.emojiId)};
_.f.onKeyboardEnter=function(){if(this.emojiVariants&&this.ytEmojiSelectorBehavior.focusedIndex<this.emojiVariants.length){var a=this.emojiVariants[this.ytEmojiSelectorBehavior.focusedIndex];a&&a.emojiId&&(this.fire("yt-emoji-select",_.MC(this.emojiManager,a.emojiId)),this.ytEmojiSelectorBehavior.changeFocus(0))}};
_.t.Object.defineProperties(dD.prototype,{emojiVariants:{configurable:!0,enumerable:!0,get:function(){var a=this,b,c,d;return this.emojiManager&&(null==(b=this.data)?0:null==(c=b.emoji)?0:null==(d=c.variantIds)?0:d.length)?this.data.emoji.variantIds.map(function(e){return!!e&&_.MC(a.emojiManager,e)}).filter(function(e){return!!e}):[]}}});
_.t.Object.defineProperties(dD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===QVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-emoji-variant-selector--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_variant_selector.yt.emoji.variant.selector.css.js--\x3e<div role="listbox" id="variants">\n    <template is="dom-repeat" id="repeat" items="[[emojiVariants]]" notify-dom-change="" on-dom-change="onDomChange">\n      \n      <img id="[[item.emojiId]]" alt="[[item.emojiId]]" height="24" role="option" tabindex="-1" src$="[[emojiUrl(item.emojiId)]]" width="24">\n    </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_variant_selector.yt.emoji.variant.selector.css.js--\x3e<style>:host {background: var(--yt-emoji-picker-variant-selector-bg-color);border-radius: 5px 5px 0 0;display: block;box-shadow: 0 -3px 3px rgba(125,125,125,0.1);} img {border-radius: 2px;padding: 4px;cursor: pointer;} img:hover,img[aria-selected=true] {background-color: var(--yt-spec-10-percent-layer);} #variants {max-width: 210px;} :host([is-family-selector]) #variants img {padding-left: 5px;padding-right: 5px;float: left;} :host([is-family-selector]) #variants img:first-of-type {margin-top: 128px;} /*# sourceMappingURL=yt-emoji-variant-selector.css.map*/</style>";
PVa=d}d=PVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);QVa=a}a=QVa;return a}}});
var eD=dD;eD.prototype.onClick=eD.prototype.onClick;_.S([_.L(_.Fx),_.T("design:type",Object)],eD.prototype,"ironOverlayBehavior",void 0);_.S([_.L(BVa),_.T("design:type",Object)],eD.prototype,"ytEmojiSelectorBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],eD.prototype,"data",void 0);_.S([_.N(),_.T("design:type",_.LC)],eD.prototype,"emojiManager",void 0);_.S([_.N(),_.T("design:type",Object)],eD.prototype,"scrollAction",void 0);
_.S([_.N(),_.T("design:type",Object)],eD.prototype,"verticalAlign",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeIsFamilySelector(data)"}),_.T("design:type",Boolean)],eD.prototype,"isFamilySelector",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],eD.prototype,"emojiVariants",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[MouseEvent]),_.T("design:returntype")],eD.prototype,"onClick",null);
eD=_.S([_.lu({is:"yt-emoji-variant-selector",noInjection:!0})],eD);
_.Ng({ANIMATION_TIME:200,COLON_REGEX:/:/g,is:"yt-emoji-picker-renderer",_template:function(){if(void 0!==MVa)return MVa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-emoji-picker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_renderer.yt.emoji.picker.renderer.css.js--\x3e<div id="search-panel"><tp-yt-paper-input id="search" no-label-float="" placeholder="[[placeholder]]" use-v2-underline="" value="{{search}}" on-blur="onSearchBoxBlur_" on-focus="onSearchBoxFocused_"></tp-yt-paper-input><yt-icon-button id="clear-search" hidden="[[!search]]" label="[[data.clearSearchLabel]]" on-tap="clearSearch"><yt-icon icon="close"></yt-icon></yt-icon-button><button id="skin-tone" aria-label$="[[getSimpleString(data.pickSkinToneText)]]" hidden="[[skinToneHidden]]" on-mouseout="resetPlaceholder" on-mouseover="showSkinTonePlaceholder" on-tap="openSkinToneSelector" selected=""></button><tp-yt-iron-dropdown id="dropdown" allow-outside-scroll="" horizontal-align="right" horizontal-offset="8" no-auto-focus="" opened="{{skinToneOpened}}" vertical-align="top" vertical-offset="8"><div id="dropdown-content" class="dropdown-content" slot="dropdown-content"><button aria-label$="[[data.skinToneGenericLabel]]" on-tap="selectSkinTone_" tone="0"></button><button aria-label$="[[data.skinToneLightLabel]]" on-tap="selectSkinTone_" tone="1"></button><button aria-label$="[[data.skinToneMediumLightLabel]]" on-tap="selectSkinTone_" tone="2"></button><button aria-label$="[[data.skinToneMediumLabel]]" on-tap="selectSkinTone_" tone="3"></button><button aria-label$="[[data.skinToneMediumDarkLabel]]" on-tap="selectSkinTone_" tone="4"></button><button aria-label$="[[data.skinToneDarkLabel]]" on-tap="selectSkinTone_" tone="5"></button></div></tp-yt-iron-dropdown></div><div id="category-buttons"></div><yt-emoji-picker-category-renderer id="search-category" data="[[searchCategory]]" emoji-manager="[[emojiManager]]" should-use-sticky-preferences="[[shouldUseStickyPreferences]]" skin-tone="[[skinTone]]"></yt-emoji-picker-category-renderer><yt-formatted-string id="search-empty" hidden="[[!searchEmptyMessage]]" text="[[searchEmptyMessage]]"></yt-formatted-string><div id="categories-wrapper"><div id="categories" on-mouseout="onMouseoutCategories" on-scroll="onScroll_"></div></div><div id="emoji-variant-selector" hidden="[[!emojiVariantSelector]]" on-mouseup="onEmojiVariantSelectorMouseup" on-mousedown="onEmojiVariantSelectorMousedown"></div><div id="emoji-multi-person-selector" hidden="[[!emojiMultiPersonSelector]]" on-mouseup="onEmojiVariantSelectorMouseup" on-mousedown="onEmojiVariantSelectorMousedown"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===LVa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_emoji_picker_renderer.yt.emoji.picker.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;height: var(--yt-emoji-picker-renderer-height,220px);max-width: var(--yt-emoji-picker-renderer-max-width,none);--paper-input-container-input: {font-size: 13px;color: var( --yt-emoji-picker-search-color,var(--yt-deprecated-luna-black-opacity-lighten-1) );height: 24px;};--paper-input-container-color: var( --yt-emoji-picker-search-placeholder-color, var(--yt-deprecated-luna-black-opacity-lighten-3) );--paper-input-container-underline-focus-display: none;--paper-input-container-underline-disabled-display: none;--paper-input-container-underline-display: none;--paper-input-container-ms-clear-display: none;font-size: 13px;} :host tp-yt-paper-input-container[style-target=host] {padding: 0;height: 24px;} input::-ms-clear {display: none;} #search-panel,#search-empty,#category-buttons {margin: var(--yt-emoji-picker-renderer-content-margin);} #categories,#search-category {overflow: auto;min-height: 0;} :host([disable-scroll]) #categories {overflow-y: hidden;padding-right: var(--scrollbar-width,15px);} #search-category {margin-top: 8px;} #categories-wrapper {margin-top: 8px;position: relative;min-height: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-emoji-picker-category-button-renderer:only-child {display: none;} #categories>*:not(:first-child) {margin-top: 8px;} #category-buttons {margin-top: 8px;color: var(--yt-deprecated-luna-black-opacity-lighten-3);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex: none;-webkit-flex: none;flex: none;} #search-panel {background-color: var(--yt-emoji-picker-search-background-color,var(--yt-deprecated-white-opacity-lighten-2));padding: 4px 8px;border-radius: 4px;font-size: 12px;color: var(--yt-deprecated-luna-black-opacity-lighten-2);-ms-flex: none;-webkit-flex: none;flex: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #search {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #clear-search {width: 18px;height: 18px;color: var(--yt-live-chat-primary-text-color);} #search-empty {color: var(--yt-spec-text-primary);} #skin-tone {margin-left: 12px;position: relative;-ms-flex: none;-webkit-flex: none;flex: none;} button {width: 16px;height: 16px;padding: 0;background-color: transparent;border: 2px solid;border-radius: 4px;cursor: pointer;} button+button {margin-left: 4px;} button[tone="0"] {border-color: #fcc21b;} button[tone="1"] {border-color: #fadcbc;} button[tone="2"] {border-color: #e0bb95;} button[tone="3"] {border-color: #bf8f68;} button[tone="4"] {border-color: #9b643d;} button[tone="5"] {border-color: #594539;} button[tone="0"][selected] {background-color: #fcc21b;} button[tone="1"][selected] {background-color: #fadcbc;} button[tone="2"][selected] {background-color: #e0bb95;} button[tone="3"][selected] {background-color: #bf8f68;} button[tone="4"][selected] {background-color: #9b643d;} button[tone="5"][selected] {background-color: #594539;} :host([searching]) #categories-wrapper {display: none;} :host(:not([searching])) #search-category {display: none;} #emoji-variant-selector {position: absolute;} :host([variant-selector-opened]) #emoji-variant-selector,:host([variant-selector-opened]) #emoji-multi-person-selector {position: absolute;top: 0;right: 0;bottom: 0;left: 0;left: 8px;right: 8px;} /*# sourceMappingURL=yt-emoji-picker-renderer.css.map*/</style>';
LVa=d}d=LVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return MVa=a},
properties:{data:Object,categories:{type:Array,value:function(){return[]}},
categoryButtons:{type:Array,value:function(){return[]}},
disableScroll:{type:Boolean,computed:"computeDisableScroll(emojiVariantSelector)",reflectToAttribute:!0},id:{type:String,computed:"computeId_(data)",reflectToAttribute:!0},selected:{type:Boolean,value:!1},placeholder:String,search:{type:String,value:"",observer:"searchChanged_"},searching:{type:Boolean,computed:"computeSearching_(search)",reflectToAttribute:!0},searchCategory:{type:Object,computed:"computeSearchCategory_(search)"},searchEmptyMessage:{type:String,computed:"computeSearchEmptyMessage_(searching, searchCategory)"},
skinTone:{type:Number,computed:"identity(emojiManager.skinTone)",observer:"skinToneChanged_"},skinToneOpened:{type:Boolean,value:!1},variantSelectorOpened:{type:Boolean,value:!1,reflectToAttribute:!0},skinToneHidden:{type:Boolean,computed:"computeSkinToneHidden(skinToneOpened, categories, shouldUseStickyPreferences)"},emojiManager:Object,emojiVariantSelector:{type:Object,value:null},emojiMultiPersonSelector:{type:Object,value:null},shouldUseStickyPreferences:{type:Boolean,value:!1,computed:"computeShouldUseStickyPreferences(data)"}},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],listeners:{"yt-emoji-picker-select-category":"onSelectCategory_","yt-emoji-hover":"onEmojiHover_","yt-show-emoji-variant-selector":"onShowEmojiVariantSelector"},stampDom:{categories:{id:"categories",mapping:{emojiPickerCategoryRenderer:{component:"yt-emoji-picker-category-renderer",properties:{emojiManager:"[[emojiManager]]",shouldUseStickyPreferences:"[[shouldUseStickyPreferences]]"}},emojiPickerUpsellCategoryRenderer:{component:"yt-emoji-picker-upsell-category-renderer",
properties:{emojiManager:"[[emojiManager]]"}}}},categoryButtons:{id:"category-buttons",mapping:{emojiPickerCategoryButtonRenderer:"yt-emoji-picker-category-button-renderer"}},emojiVariantSelector:{id:"emoji-variant-selector",mapping:{ytEmojiVariantSelector:{component:"yt-emoji-variant-selector",properties:{emojiManager:"[[emojiManager]]"}}},reuseComponents:!1},emojiMultiPersonSelector:{id:"emoji-multi-person-selector",mapping:{ytEmojiMultiPersonSelector:{component:"yt-emoji-multi-person-selector",
properties:{emojiManager:"[[emojiManager]]"}}},reuseComponents:!1}},observers:["updateCategoriesAndPlaceholder_(data, selected)"],identity:_.ej,created:function(){this.boundOnIronOverlayClosed=this.onIronOverlayClosed.bind(this);this.lastAnimationTime_=0;this.animationEnd_=this.animationStart_=null},
attached:function(){_.Cj&&(this.style.height=this.clientHeight+150+"px");this.shouldUseStickyPreferences&&nVa(this.emojiManager)},
updateCategoriesAndPlaceholder_:function(a,b){a&&b&&(this.categories=a.categories||[],this.categoryButtons=a.categoryButtons||[],this.resetPlaceholder(),this.search="",this.async(this.updateButtons_))},
computeId_:function(a){return a.id||""},
computeShouldUseStickyPreferences:function(){return this.data&&this.data.categories?_.x("live_chat_use_new_emoji_picker")&&this.data.categories.some(function(a){return a.emojiPickerCategoryRenderer&&a.emojiPickerCategoryRenderer.emojiData}):!1},
onScroll_:function(){null==this.animationEnd_&&window.requestAnimationFrame(this.updateButtons_.bind(this))},
onShowEmojiVariantSelector:function(a){var b=a.detail.emojiData;b.variantIds&&b.variantIds.length&&(b.multiSelectorThumbnailRow&&b.multiSelectorThumbnailRow.length?this.set("emojiMultiPersonSelector",{ytEmojiMultiPersonSelector:{emoji:b,target:a.detail.target}}):this.set("emojiVariantSelector",{ytEmojiVariantSelector:{emoji:b,target:a.detail.target}}),this.variantSelectorOpened=!0,this.addEventListener("iron-overlay-closed",this.boundOnIronOverlayClosed))},
onIronOverlayClosed:function(a){var b=_.oVa(this.emojiManager,this.get((this.emojiVariantSelector?"emojiVariantSelector.ytEmojiVariantSelector.emoji":"emojiMultiPersonSelector.ytEmojiMultiPersonSelector.emoji")+".emojiId")||"");b&&a.composedPath&&(a.composedPath().includes(this.$["emoji-variant-selector"])||a.composedPath().includes(this.$["emoji-multi-person-selector"]))&&(_.C(this,"yt-close-emoji-variant-selector",[b.emojiId]),this.emojiMultiPersonSelector=this.emojiVariantSelector=null,this.variantSelectorOpened=
!1,this.removeEventListener("iron-overlay-closed",this.boundOnIronOverlayClosed))},
onEmojiVariantSelectorMouseup:function(a){var b=a.target.firstChild;this.variantSelectorOpened&&b&&this.async(function(){b.noCancelOnOutsideClick=!1},100)},
onEmojiVariantSelectorMousedown:function(a){a=a.target.firstChild;this.variantSelectorOpened&&a&&(a.noCancelOnOutsideClick=!1)},
onSelectCategory_:function(a){var b=""!=this.search;this.search="";for(var c=this.$.categories.children,d=0;d<c.length;d++){var e=c[d];if(e.id==a.detail.categoryId){b?(this.$.categories.scrollTop=e.offsetTop,this.updateButtons_()):(this.animationStart_=this.$.categories.scrollTop,this.animationEnd_=e.offsetTop,this.lastAnimationTime_=0,this.animateScroll_(this.lastAnimationTime_));break}}},
onEmojiHover_:function(a){this.placeholder=a.detail.shortcuts?a.detail.shortcuts[0]:""},
onSearchBoxFocused_:function(){this.resetPlaceholder()},
onSearchBoxBlur_:function(){this.resetPlaceholder()},
onMouseoutCategories:function(){this.resetPlaceholder()},
resetPlaceholder:function(){this.skinToneOpened||(this.placeholder=this.getSimpleString(this.data.searchPlaceholderText))},
computeSearchCategory_:function(a){a=a.replace(this.COLON_REGEX,"").toLowerCase().trim();if(!this.searching)return this.searchCategory;this.updateButtons_();a=a.split(" ");for(var b=[],c=this.emojiManager.emojis,d=0;d<c.length;d++){var e=c[d];if(e.searchTerms)for(var h=0;h<e.searchTerms.length;h++){for(var l=e.searchTerms[h].toLocaleLowerCase(),m=!1,p=0;p<a.length;p++)if(-1!=l.indexOf(a[p])){m=!0;break}if(m){b.push(e.emojiId);break}}}return{categoryId:-1,emojiIds:b}},
computeSearchEmptyMessage_:function(a,b){return a&&b&&b.emojiIds&&0==b.emojiIds.length?this.data.searchNoResultsText||null:null},
computeSearching_:function(a){return this.emojiManager&&1<a.replace(this.COLON_REGEX,"").length},
computeSkinToneHidden:function(){return this.shouldUseStickyPreferences||this.skinToneOpened||1===this.categories.length},
computeDisableScroll:function(){return!!this.emojiVariantSelector},
openSkinToneSelector:function(){this.skinToneOpened=!0},
showSkinTonePlaceholder:function(){this.placeholder=this.getSimpleString(this.data.pickSkinToneText)},
clearSearch:function(){this.resetPlaceholder();this.search=""},
selectSkinTone_:function(a){a=Number(a.target.getAttribute("tone"));this.set("emojiManager.skinTone",a);_.C(this,"yt-live-chat-emoji-skin-tone-changed",[a]);this.skinToneOpened=!1;this.resetPlaceholder()},
skinToneChanged_:function(a){this.$["skin-tone"].setAttribute("tone",a);for(var b=this.$["dropdown-content"].children,c=0;c<b.length;c++)c==a?b[c].setAttribute("selected",""):b[c].removeAttribute("selected")},
animateScroll_:function(a){this.lastAnimationTime_||(this.lastAnimationTime_=a);a-=this.lastAnimationTime_;a<this.ANIMATION_TIME?(this.$.categories.scrollTop=this.animationStart_+(this.animationEnd_-this.animationStart_)*a/this.ANIMATION_TIME,window.requestAnimationFrame(this.animateScroll_.bind(this))):(null!=this.animationEnd_&&(this.$.categories.scrollTop=this.animationEnd_),this.animationEnd_=this.animationStart_=null,this.lastAnimationTime_=0);this.updateButtons_()},
searchChanged_:function(){this.updateButtons_()},
updateButtons_:function(){var a=null;if(!this.search)for(var b=this.$.categories.scrollTop,c=this.$.categories.children,d=0;d<c.length;d++){var e=c[d];e.offsetTop<=b&&(a=e.id)}b=this.$["category-buttons"].children;for(c=0;c<b.length;c++)d=b[c],d.active=d.id==a}});
var fD=null;
_.Ng({is:"ytd-commentbox",_template:function(){if(void 0!==bVa)return bVa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commentbox--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_commentbox.ytd.commentbox.css.js--\x3e\n<div id="identity-chip" hidden="[[computeHideIdentityChipRenderer_(isLoading, zeroStepChannelCreationRenderer)]]"></div>\n<div id="thumbnail-input-row">\n  <yt-img-shadow id="author-thumbnail" height="[[computeAuthorThumbnailDimension_(isReply, isBackstageComment)]]" hidden="[[computeHideAuthorThumbnail_(isLoading, zeroStepChannelCreationRenderer)]]" thumbnail="[[data.authorThumbnail]]" width="[[computeAuthorThumbnailDimension_(isReply, isBackstageComment)]]">\n  </yt-img-shadow>\n  <div id="main" hidden="[[isLoading]]">\n    <div id="divider-line"></div>\n    \n    <div id="creation-box" class$="[[computeCreationBoxClass_(isInputFocus_)]]" hidden="[[hasPollRendererInEditDialog_]]">\n      <tp-yt-paper-input-container id="input-container" focused="{{isInputFocus_}}" no-label-float="" use-v2-underline="">\n        <div slot="after-input" class="paper-input-input">\n          <ytd-emoji-input id="emoji" emoji-manager="[[emojiManager]]" vertical-suggestions-offset="[[verticalSuggestionsOffset]]">\n            <yt-user-mention-autosuggest-input slot="input" suggestions-endpoint="[[data.userMentionSuggestionsEndpoint]]">\n              <yt-formatted-string id="contenteditable-textarea" slot="input" enable-content-editable="true" maxlength="10000" override-aria-label="[[computePlaceholderText_(data, addedAttachment, prefilledAttachment_, data.placeholderText)]]" plaintext-only="true" required="true" split-lines="1" text="[[data.editableText]]" on-dragenter="preventDefault_" on-dragleave="preventDefault_" on-dragover="preventDefault_" on-drop="plaintextDrop_" on-focus="focus" on-input="onInput_" on-keyup="onKeyUp_" on-paste="onPaste_"></yt-formatted-string>\n            </yt-user-mention-autosuggest-input>\n          </ytd-emoji-input>\n        </div>\n        <ytd-backstage-dismissable-attachment id="dismissable-attachment" slot="after-input" attachment-preview="[[prefilledContent_]]" dismiss-button="[[data.attachmentDismissButton]]" hidden="[[computeHideDismissableAttachment_(prefilledAttachment_)]]">\n        </ytd-backstage-dismissable-attachment>\n        <div id="attachment-preview" slot="after-input"></div>\n        <div id="image-select" class="paper-input-input" hidden="[[!hasImage_]]" slot="after-input"></div>\n        <ytd-backstage-video-link-attachment id="video-link-attachment" slot="after-input" hidden="[[!hasVideo_]]">\n        </ytd-backstage-video-link-attachment>\n      </tp-yt-paper-input-container>\n    </div>\n    <ytd-poll-attachment id="poll-attachment" data="[[data.pollEditorInfo]]" hidden="[[!hasPoll_]]">\n    </ytd-poll-attachment>\n    <ytd-post-video-tag-renderer data="[[postVideoTag]]" hidden="[[!postVideoTag]]">\n    </ytd-post-video-tag-renderer>\n    <slot name="repost-preview"></slot>\n    <div id="poll-preview-edit-dialog" hidden="[[!hasPollRendererInEditDialog_]]">\n      <yt-formatted-string text="[[data.editableText]]"></yt-formatted-string>\n      <div id="poll-preview"></div>\n    </div>\n    <div id="footer">\n      <span id="emoji-button" on-tap="onEmojiButtonTap_" hidden="[[!isEmojiButtonDisplayed]]"></span>\n      <div id="attachments" hidden="[[computeHideAttachmentButtons_(data, addedAttachment, prefilledAttachment_, errorMessage_)]]">\n        <template is="dom-repeat" items="[[attachmentButtonIds]]" as="buttonId">\n          <ytd-button-renderer id="[[buttonId]]" data="[[getButtonRenderer(data, buttonId)]]">\n          </ytd-button-renderer>\n        </template>\n      </div>\n      <div id="inline-scheduling-panel" hidden="[[!inlineSchedulePanel_]]"></div>\n      <div id="footer-text">\n        <yt-formatted-string id="footer-message" class$="[[computeFooterMessageClass_(alertMessage_, errorMessage_)]]" hidden="[[computeFooterMessageHidden_(alertMessage_, errorMessage_)]]" text="[[computeFooterMessage_(alertMessage_, errorMessage_)]]">\n        </yt-formatted-string>\n        <yt-formatted-string id="zero-step-footer-text" hidden="[[!zeroStepChannelCreationRenderer.footerText]]" text="[[zeroStepChannelCreationRenderer.footerText]]">\n        </yt-formatted-string>\n      </div>\n      <div id="access-restrictions-selector"></div>\n      <span id="char-count" hidden="[[!charLimit_]]">[[charCount_]]/[[charLimit_]]</span>\n      <div id="buttons" class$="[[computeSubmitButtonClass_(dropdownSchedulePanel_, data.postOptionsMenu)]]">\n        <ytd-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" on-tap="onCancel_">\n        </ytd-button-renderer>\n        <ytd-button-renderer id="submit-button" data="[[computeSubmitButton_(data, scheduleButton_)]]" disabled="[[submitButtonDisabled]]" on-tap="onSubmit_">\n        </ytd-button-renderer>\n        <div id="option-menu" hidden="[[dropdownSchedulePanel_]]"></div>\n      </div>\n    </div>\n    <div id="scheduling-panel" hidden="[[!dropdownSchedulePanel_]]"></div>\n    <div id="emojis" hidden="[[!isEmojiPickerDisplayed]]">\n      <span id="emoji-picker"></span>\n    </div>\n  </div>\n  <tp-yt-paper-spinner-lite active="[[isLoading]]"></tp-yt-paper-spinner-lite>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aVa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_commentbox.ytd.commentbox.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-input: {line-height: 20px;font-size: 14px;};--yt-formatted-string-contenteditable-endpoint-background: var(--yt-spec-badge-chip-background);--yt-formatted-string-contenteditable-endpoint-border-radius: 0.2em;--yt-formatted-string-contenteditable-endpoint-color: var(--yt-spec-text-primary);--yt-formatted-string-contenteditable-endpoint-cursor: default;--yt-formatted-string-contenteditable-endpoint-max-width: 100%;--yt-formatted-string-contenteditable-endpoint-white-space: nowrap;--yt-formatted-string-contenteditable-endpoint-overflow: hidden;--yt-formatted-string-contenteditable-endpoint-text-overflow: ellipsis;--yt-formatted-string-contenteditable-endpoint-vertical-align: top;--yt-formatted-string-contenteditable-endpoint-pointer-events: none;--yt-post-multi-image-attachment-size: 420px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([is-backstage-post]) tp-yt-paper-input-container {--paper-input-container-input: {line-height: 20px;font-size: 16px;};} :host([is-backstage-comment]) {margin-top: 12px;} #contenteditable-textarea[aria-label]:empty:before {color: var(--yt-spec-text-secondary);-webkit-font-smoothing: subpixel-antialiased;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;content: attr(aria-label);cursor: text;} yt-formatted-string#contenteditable-textarea {--contenteditable-root-style: {outline: none;};--contenteditable-root-style-placeholder-with-aria-color: var( --yt-spec-text-secondary );--contenteditable-root-style-placeholder-with-aria-content: attr(aria-label);--contenteditable-root-style-placeholder-with-aria-cursor: text;--yt-formatted-string-contenteditable-emoji-width: var(--yt-formatted-string-emoji-size, 24px);--yt-formatted-string-contenteditable-emoji-height: var(--yt-formatted-string-emoji-size, 24px);--yt-formatted-string-contenteditable-emoji-margin: -1px 2px 1px;--yt-formatted-string-contenteditable-emoji-vertical-align: middle;--yt-formatted-string-contenteditable-emoji-padding-right: 0.2em;--yt-formatted-string-contenteditable-small-emoji-width: var(--yt-formatted-string-small-emoji-size, 16px);--yt-formatted-string-contenteditable-small-emoji-height: var(--yt-formatted-string-small-emoji-size, 16px);--yt-formatted-string-contenteditable-small-emoji-margin: -1px 2px 1px;--yt-formatted-string-contenteditable-small-emoji-vertical-align: middle;--yt-formatted-string-contenteditable-small-emoji-padding-right: 0.2em;display: block;word-break: normal;word-wrap: break-word;--paper-input-container-input_-_white-space: pre-wrap;} :host(:not([is-backstage-post])) yt-formatted-string#contenteditable-textarea {margin-bottom: 0.25em;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([is-backstage-post]) #contenteditable-textarea[aria-label]:empty:before {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} tp-yt-paper-input-container {padding-top: 0;} #input-container {--paper-input-container-underline-color: var(--yt-spec-text-disabled);--paper-input-container-underline-focus-color: var(--yt-spec-text-primary);} #author-thumbnail,:host([is-reply][is-backstage-comment]) #author-thumbnail {width: 40px;height: 40px;margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} :host([is-reply]) #author-thumbnail {width: 24px;height: 24px;margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #main {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;min-width: 0;} #footer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #attachments {margin-left: -10px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-button-renderer {--yt-button-icon-size: 36px;} #footer-text {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .footer-error-message {color: var(--yt-spec-brand-link-text);} .footer-alert-message {color: var(--yt-spec-text-secondary);} #footer-message {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #zero-step-footer-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #cancel-button,#submit-button {margin-left: 8px;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;} #poll-attachment {--ytd-paper-input-container-underline-color: var(--yt-spec-text-secondary);} #access-restrictions-selector {overflow: hidden;} ytd-post-video-tag-renderer {margin: 15px;} :host([is-backstage-post]) tp-yt-paper-spinner-lite {padding: 24px 0;} :host([is-backstage-post][is-creation-box]) {background: var(--yt-spec-brand-background-primary);} :host([is-backstage-post][is-creation-box]) #author-thumbnail {display: none;} :host([is-backstage-post][is-creation-box]) #input-container {--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;padding: 0;} :host([is-creation-box]) #contenteditable-textarea {color: var(--yt-spec-text-primary);} :host([is-backstage-post][is-creation-box]) #contenteditable-textarea {margin-bottom: 0;} :host([is-backstage-post][is-creation-box]) #creation-box {padding: 20px 16px 4px 16px;} :host([is-backstage-post][is-creation-box]) #submit-button[disabled] {background: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-disabled);} :host([is-backstage-post][is-creation-box]) #cancel-button {color: var(--yt-spec-text-secondary);} :host([is-backstage-post][is-creation-box]) #attachments {margin-left: -6px;} :host([is-backstage-post][is-creation-box][is-post-creation-dialog-v2]) #attachments {margin-left: -12px;} :host([is-backstage-post][is-creation-box][is-post-creation-dialog-v2]) #attachments ytd-button-renderer {--yt-button-padding: 6px 12px;} :host([is-backstage-post][is-creation-box][is-post-creation-dialog-v2]) #access-restrictions-selector {display: none;} :host([is-backstage-post][is-creation-box]) #footer {margin: 16px;} :host([is-backstage-post][is-creation-box]) #attachments ytd-button-renderer {--yt-button-icon-padding: 6px;color: var(--yt-spec-text-secondary);} :host([is-backstage-post][is-creation-box]) #attachments ytd-button-renderer:hover {color: var(--yt-spec-text-primary);} :host([is-backstage-post][is-creation-box][is-post-creation-dialog-v2]) #submit-button:not([disabled]):hover {color: var(--yt-spec-text-disabled);} :host(:not([is-popup-box])[prefilled-attachment_=video]) ytd-backstage-dismissable-attachment {display: block;margin-top: 20px;} #option-menu ytd-menu-renderer {--yt-icon-width: 32px;--yt-icon-height: 36px;--ytd-menu-renderer-button-color: var(--yt-spec-text-primary-inverse);border-left: 1px solid var(--yt-spec-static-overlay-icon-disabled);} #option-menu {border-top-right-radius: 2px;border-bottom-right-radius: 2px;background: var(--yt-spec-call-to-action);} #scheduling-panel ytd-date-time-picker-renderer {border-top: 1px solid var(--yt-spec-10-percent-layer);background: var(--yt-spec-general-background-a);padding: 16px 0;} #poll-preview-edit-dialog>yt-formatted-string {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #buttons.with-options #submit-button {border-top-right-radius: 0;border-bottom-right-radius: 0;} #submit-button[disabled]+#option-menu {background: var(--yt-spec-badge-chip-background);} #submit-button[disabled]+#option-menu>ytd-menu-renderer {border-left: 1px solid var(--yt-spec-10-percent-layer);} :host([is-backstage-post][is-creation-box][is-popup-box]) {background: var(--yt-spec-brand-background-primary);} :host([is-backstage-post][is-creation-box][is-popup-box]) ytd-backstage-dismissable-attachment {margin-top: 12px;margin-bottom: 12px;} :host([is-backstage-post][is-creation-box][is-popup-box]) #creation-box {padding: 0;} :host([is-backstage-post][is-creation-box][is-popup-box]) #creation-box #contenteditable-textarea {--contenteditable-root-style: {max-height: 86px;overflow: auto;outline: none;};max-height: 86px;overflow: auto;} :host([is-backstage-post][is-creation-box][is-popup-box]) #creation-box #contenteditable-textarea {max-height: 86px;} :host([is-backstage-post][is-creation-box][is-popup-box]) #footer {margin: 24px 0 0 0;} :host([is-backstage-post][is-creation-box][is-popup-box]) #submit-button[disabled] {background: var(--yt-spec-badge-chip-background);} #contenteditable-textarea {margin-bottom: var(--ytd-commentbox-textarea-margin-bottom,4px);padding: 0;} #emoji-button {margin-left: calc(-1 * var(--yt-button-icon-padding,8px));} :host([is-emoji-picker-displayed]) #emoji-button>ytd-button-renderer {color: var(--yt-spec-icon-active-other);} #emojis {width: 424px;padding: 16px;margin-bottom: 20px;margin-top: 2px;position: absolute;z-index: 2;background: var(--yt-spec-brand-background-primary);border-radius: 4px;box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -5px rgba(0,0,0,0.4);} .emoji,.small-emoji {margin: -1px 2px 1px;vertical-align: middle;padding-right: 0.2em;} .emoji {width: var(--yt-formatted-string-emoji-size,24px);height: var(--yt-formatted-string-emoji-size,24px);} .emoji.small-emoji {width: var(--yt-formatted-string-small-emoji-size,16px);height: var(--yt-formatted-string-small-emoji-size,16px);} #char-count {color: var(--yt-spec-text-secondary);} :host([above-char-limit_]) #char-count {color: var(--yt-spec-brand-link-text);} :host([is-backstage-post]) #divider-line {height: 1px;width: 690px;margin-left: -24px;} :host([is-backstage-post][text-requires-scrolling]) #divider-line {border-top: 1px solid var(--yt-spec-10-percent-layer);} :host(:not([is-backstage-post])) #divider-line {display: hidden;} #identity-chip ytd-identity-chip-renderer {padding-bottom: 16px;} #thumbnail-input-row {word-break: break-all;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-commentbox.css.map*/</style>';
aVa=d}d=aVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return bVa=a},
behaviors:[_.Xs,_.Y.YtActionHandlerBehavior,_.iu.YtComponentBehavior,_.X.YtRendererstamperBehavior,_.UB.YtdReduxBehavior],keyBindings:{left:"leftKeyPressed_",right:"rightKeyPressed_",end:"endKeyPressed_",backspace:"maybeBackspaceChip_","delete":"maybeDeleteChip_","ctrl+enter meta+enter":"submitIfNotBackstagePost_","ctrl+backspace alt+backspace":"maybeBackspaceChipWordMode_","ctrl+delete alt+delete":"maybeDeleteChipWordMode_"},properties:{data:{type:Object,observer:"dataChanged_"},aadcGuidelinesState_:{type:Object,
selectorArgs:["data.aadcGuidelinesStateEntityKey"],selector:function(a,b){return _.Yg(a.entities,"aadcGuidelinesStateEntityPayload",b)}},
dismissData_:{type:Object,value:null},commentboxStateKey_:{type:String,value:void 0},commentboxState_:{type:Object,selectorArgs:["commentboxStateKey_"],selector:function(a,b){return _.Yg(a.entities,"commentboxStateEntity",b)},
observer:"commentboxStateEntityChanged_"},receivedFocusPreviously_:{type:Boolean,value:!1},isReply:{type:Boolean,value:!1},isPostVideoTagAutoConverting:{type:Boolean,value:!1},isBackstageComment:{type:Boolean,computed:"computeIsBackstageComment_(data.avatarSize)",reflectToAttribute:!0},attachmentButtonIds:{type:Object,readOnly:!0,computed:"computeAttachmentButtonIds_()"},isBackstagePost:{type:Boolean,value:!1,reflectToAttribute:!0},serviceEndpoint:{type:Object,readOnly:!0,computed:"computeServiceEndpoint_(data)"},
submitButtonDisabled:Boolean,attachment:Object,isLoading:{type:Boolean,observer:"isLoadingChanged_"},errorMessage_:{type:Object,value:null},alertMessage_:{type:Object,value:null},imageUploadEndpoint_:{type:Object,computed:"computeImageUploadEndpoint_(data)"},addedAttachment:{type:String,value:"none",reflectToAttribute:!0},prefilledAttachment_:{type:String,value:"none",reflectToAttribute:!0},editableText_:{type:String,computed:"computeEditableText_(data.editableText)"},previousText_:String,inlineSchedulePanel_:{type:Object,
computed:"computeInlineSchedulingPanel_(data.purpose, data.schedulingDateTimePicker)"},dropdownSchedulePanel_:{type:Object,computed:"computeDropdownSchedulingPanel_(data.purpose, data.schedulingDateTimePicker)"},scheduleButton_:Object,zeroStepChannelCreationRenderer:Object,enableCreationBox:{type:Boolean,reflectToAttribute:!0},isInputFocus_:{type:Boolean,observer:"onIsInputFocusChanged_"},hasImage_:{type:Boolean,computed:"computeHasImage_(addedAttachment)"},hasPollRendererInEditDialog_:{type:Boolean,
computed:"computeHasPollRendererInEditDialog_(data.purpose, data.backstageAttachment.pollRenderer)"},hasVideo_:{type:Boolean,computed:"computeHasVideo_(addedAttachment)"},hasPoll_:{type:Boolean,computed:"computeHasPoll_(addedAttachment)"},prefilledContent_:{type:Object,readOnly:!0,computed:"computePrefilledContent_(data)"},editAttachment_:{type:Object,readOnly:!0,computed:"computeEditAttachment_(data)"},isCreationBox:{type:Boolean,reflectToAttribute:!0,value:!1},isPopupBox:{type:Boolean,reflectToAttribute:!0,
value:!1},emojiManager:{type:Object,readOnly:!0,value:function(){return _.OC}},
isEmojiButtonDisplayed:{type:Boolean,computed:"computeIsEmojiButtonDisplayed_(data)",value:!1},isEmojiPickerDisplayed:{type:Boolean,value:!1,reflectToAttribute:!0},emojiInput:Object,postVideoTag:{type:Object,value:null},verticalSuggestionsOffset:{type:Number,value:30},isPostCreationDialogV2:{type:Boolean,reflectToAttribute:!0,value:!1},accessRestriction:{type:String},charCount_:{type:Number,value:0},charLimit_:{type:Number,computed:"computeCharLimit_(data)"},aboveCharLimit_:{type:Boolean,reflectToAttribute:!0,
value:!1},inputEventSupported_:{type:Boolean,value:!1},textRequiresScrolling:{type:Boolean,reflectToAttribute:!0,value:!1},localStorage:Object},observers:["observePrefilledImage_(data.purpose, data.prefilledImageData, data.backstageAttachment)","observePrefilledVideo_(data.purpose, data.backstageAttachment)","observePrefilledPoll_(data.prefilledAttachment)"],listeners:{"ytd-post-video-tag-delete":"onYtdPostVideoTagDelete_","yt-service-request-completed":"onYtServiceRequestCompleted_","yt-service-request-error":"onYtServiceRequestError_",
"yt-service-request-sent":"onYtServiceRequestSent_","yt-backstage-image-select-cancel":"onImageCancel_","yt-backstage-multi-image-cancel":"onMultiImageCancel_","yt-backstage-image-select-alert":"onImageAlert_","yt-backstage-image-select-preview":"onImageSelected_","yt-backstage-multi-image-select":"onMultiImageSelected_","yt-img-crop-coordinates-update":"onImagePreviewCoordinatesUpdated_","yt-img-crop-reposition":"onImagePreviewReposition_","yt-poll-attachment-dismiss":"onPollAttachmentDismiss_",
"yt-navigate":"onYtNavigate_","yt-video-link-selected":"onVideoLinkSelected_","yt-backstage-multi-image-add-image-error":"onAddImageError_","yt-video-link-cancel":"onVideoLinkCanceled_","yt-video-link-button-cancel":"onVideoLinkButtonCancel_","yt-commentbox-post-enable":"onSubmitButtonEnable_","yt-commentbox-post-disable":"onSubmitButtonDisable_","yt-backstage-attachment-dismissed":"onPrefilledContentDismissed_","yt-emoji-select":"onEmojiSelect_","yt-insert-suggestion":"onSuggestionInsert_","yt-select-emoji-suggestion":"onEmojiSuggestionClick_",
"ytd-date-time-selection-update":"onDateTimeSelectionUpdate_","ytd-date-time-selection-cancelled":"onDateTimeSelectionCancelled_","yt-mention-inserted":"onInsertMention_"},actionMap:{"yt-signal-action-ack-post-aadc-notice":"onAadcNoticeConfirm_","yt-hide-identity-chip-action":"onHideIdentityChip"},stampDom:{editAttachment_:{id:"attachment-preview",mapping:{backstageImageRenderer:"ytd-backstage-image-renderer",videoRenderer:{component:"ytd-video-renderer",properties:{isBackstageVideo:"[[isBackstagePost]]"}},
playlistRenderer:{component:"ytd-playlist-renderer",properties:{isBackstagePlaylist:"[[isBackstagePost]]"}},postMultiImageRenderer:"ytd-post-multi-image-renderer"}},"data.accessRestrictionsSelector":{id:"access-restrictions-selector",mapping:{dropdownRenderer:"ytd-flat-dropdown-renderer"}},"data.backstageAttachment":{id:"poll-preview",mapping:{pollRenderer:"ytd-backstage-poll-renderer"}},"imageUploadEndpoint_.imageEditor":{id:"image-select",mapping:{backstageImageSelectRenderer:{component:"ytd-backstage-image-select-renderer",
properties:{imageUploadEndpoint:"[[imageUploadEndpoint_]]",isBackstagePost:"[[isBackstagePost]]"}},backstageMultiImageSelectRenderer:{component:"ytd-backstage-multi-image-select-renderer",properties:{imageUploadEndpoint:"[[imageUploadEndpoint_]]"}}}},"data.emojiButton":{id:"emoji-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.emojiPicker":{id:"emoji-picker",mapping:{emojiPickerRenderer:{component:"yt-emoji-picker-renderer",properties:{emojiManager:"[[emojiManager]]"}}}},"data.postOptionsMenu":{id:"option-menu",
mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:arrow_drop_down",noInkOnDropdownButton:!0}}}},dropdownSchedulePanel_:{id:"scheduling-panel",mapping:{dateTimePickerRenderer:"ytd-date-time-picker-renderer"}},inlineSchedulePanel_:{id:"inline-scheduling-panel",mapping:{dateTimePickerRenderer:"ytd-date-time-picker-renderer"}},"zeroStepChannelCreationRenderer.identityChipRenderer":{id:"identity-chip",mapping:{identityChipRenderer:"ytd-identity-chip-renderer"}}},ready:function(){this.listen(document,
"tap","onTap_");this.emojiInput=this.$.emoji},
isLoadingChanged_:function(a){this.fire(a?"yt-commentbox-loading-start":"yt-commentbox-loading-end")},
dataChanged_:function(a){this.set("submitButtonDisabled",void 0);this.clear();if(a&&this.computeIsEmojiButtonDisplayed_(a)){var b=this.$$("#emoji-picker > yt-emoji-picker-renderer");b&&b.updateCategoriesAndPlaceholder_(a.emojiPicker.emojiPickerRenderer,!0)}},
observePrefilledImage_:function(a,b,c){this.isValidPrefilledImage_(a,b,c)&&(this.prefilledAttachment_="image",this.prefilledImageData_=b,this.submitButtonDisabled=!1)},
observePrefilledVideo_:function(a,b){this.isValidPrefilledVideo_(a,b)&&(this.prefilledAttachment_="video")},
observePrefilledPoll_:function(a){a&&a.pollData&&a.pollData.choices&&(this.addedAttachment="poll",this.$["poll-attachment"].setPrefilledChoices(a.pollData.choices))},
attached:function(){this.$["input-container"].getElementsByClassName("underline")[0].style.height=0;_.mn();this.focus()},
detached:function(){this.unlisten(document,"tap","onTap_")},
created:function(){var a=this;this.scheduledPublishTimeSec_=this.prefilledImageData_=this.imagePreviewCoordinates_=this.taggedVideoId_=this.selectedVideoId_=void 0;document.addEventListener("selectionchange",this.onSelectionChange_);this.textRequiresScrolling=!1;this.TEST_ONLY={clearAadcNoticeShownStatus:function(){a.getLocalStorage_().remove(a.getAadcNoticeShownKey_())},
getTaggedVideoId:function(){return a.taggedVideoId_},
onPaste:function(b){return a.onPaste_(b)}}},
onEmojiButtonTap_:function(){this.isEmojiPickerDisplayed=!this.isEmojiPickerDisplayed;this.$$("#emoji-picker > yt-emoji-picker-renderer").selected=!this.$$("#emoji-picker > yt-emoji-picker-renderer").selected},
onEmojiSelect_:function(a){a=a.detail;a=a.isCustomEmoji?a.shortcuts[0]:a.emojiId;var b=this.getInputRange_().cloneRange();this.insertTextWithEmojis_(b,a);this.maybeUpdateTextDirection_()},
getInputRange_:function(){var a=qz();if(a){a=a.getBrowserRangeObject();for(var b=a.commonAncestorContainer;b;){if(b===this.getEditableTextArea_())return a;b=b.parentNode}}a=this.getEditableTextArea_();a=kB(a,a.childNodes.length);a.select();return a.getBrowserRangeObject()},
insertTextWithEmojis_:function(a,b,c){(b=this.emojiManager.createDocumentFragment(b,!0,!1,void 0===c?!0:c))&&0!==b.childNodes.length&&(a.collapsed||a.deleteContents(),c=b.lastChild,a.insertNode(b),aB(c).select(),this.getInputRange_().collapse(!1),this.getEditableTextArea_().normalize(),this.submitButtonDisabled=!1)},
onSelectionChange_:function(){var a=qz();if(a){var b=a.JSC$37143_getStartNode(),c=a.JSC$37143_getEndNode();if(lz(b)&&lz(c)){var d=a.JSC$37143_getStartOffset(),e,h;if(h=_.ypa&&b.nodeType===Node.ELEMENT_NODE)h=e=dPa("yt-formatted-string","paper-input-input",b);if(h)kB(e,0).select();else{e=mz(b)?b:_.hf(b,mz);h=mz(c)?c:_.hf(c,mz);if(e||h)if(a.isCollapsed()){if(b.nodeType===Node.TEXT_NODE){a=!0;d===b.length&&(a=!1);if("end"===fD||"right"===fD)a=!1;b=b.parentNode;a=[].concat(_.sc(b.parentNode.childNodes)).indexOf(b)+
(a?0:1);kB(b.parentNode,a).select()}}else e?e.previousSibling&&0<e.previousSibling.length?lB(c,a.JSC$37143_getEndOffset(),e.previousSibling,e.previousSibling.length-1).select():(b=document.createTextNode("\u200b"),e.parentNode.insertBefore(b,e),lB(c,a.JSC$37143_getEndOffset(),b,0).select()):h&&(h.nextSibling&&0<h.nextSibling.length?lB(b,a.JSC$37143_getStartOffset(),h.nextSibling,1).select():(c=document.createTextNode("\u200b"),h.parentNode.insertBefore(c,h.nextSibling),lB(b,a.JSC$37143_getStartOffset(),
c,c.length).select()));fD=null}}else fD=null}else fD=null},
leftKeyPressed_:function(){fD="left"},
rightKeyPressed_:function(){fD="right"},
endKeyPressed_:function(){fD="end"},
maybeDeleteChip_:function(){var a=YOa(!0);if(a){var b=qz(),c=b.JSC$37143_getStartNode();b=b.JSC$37143_getStartOffset();bB(c,b,a,a.childNodes.length).select()}},
maybeBackspaceChip_:function(){var a=YOa(!1);if(a){var b=qz(),c=b.JSC$37143_getStartNode();b=b.JSC$37143_getStartOffset();bB(c,b,a,0).select()}},
maybeBackspaceChipWordMode_:function(a){var b=qz();if(b.isCollapsed()){var c=b.JSC$37143_getStartNode();b=b.JSC$37143_getStartOffset();var d=ZOa(c,b,!0);d&&(bB(c,b,d,0).select(),document.execCommand("delete"),a.preventDefault(),a.stopImmediatePropagation())}},
maybeDeleteChipWordMode_:function(a){var b=qz();if(b.isCollapsed()){var c=b.JSC$37143_getStartNode();b=b.JSC$37143_getStartOffset();var d=ZOa(c,b,!1);d&&(bB(c,b,d,d.childNodes.length).select(),document.execCommand("delete"),a.preventDefault(),a.stopImmediatePropagation())}},
onTap_:function(a){if(!a.defaultPrevented&&("YTD-COMMENTBOX"===a.currentTarget.tagName&&mz(a.target)&&a.preventDefault(),this.isEmojiPickerDisplayed)){var b=this.$$("#emojis"),c=this.$$("#emoji-button"),d=this.getEditableTextArea_();if(a.target instanceof Node&&!a.path.includes(d)&&!a.path.includes(c)&&!b.contains(a.target))this.onEmojiButtonTap_()}},
isValidPrefilledImage_:function(a,b,c){return"BACKSTAGE_POST_DIALOG_PURPOSE_CREATE"===a&&void 0!==b&&null!==b.encryptedBlobId&&null!==b.sourceExternalVideoId&&void 0!==c&&null!==c.backstageImageRenderer},
isValidPrefilledVideo_:function(a,b){return"BACKSTAGE_POST_DIALOG_PURPOSE_CREATE"===a&&!!b&&!!b.videoRenderer&&!!b.videoRenderer.videoId},
isValidPrefilledAttachment_:function(a,b,c){return this.isValidPrefilledImage_(a,b,c)||this.isValidPrefilledVideo_(a,c)},
dismissPrefilledContent_:function(){this.prefilledImageData_=void 0;this.prefilledAttachment_="none"},
clear:function(){this.postVideoTag=this.errorMessage_=this.alertMessage_=null;this.taggedVideoId_=void 0;this.isPostVideoTagAutoConverting=!1;if(_.x("enable_multi_image_post_creation")){var a=this.$$("ytd-backstage-multi-image-select-renderer");a&&a.hasImages()&&a.cancel()}else(a=this.$$("ytd-backstage-image-select-renderer"))&&this.hasImage_&&a.cancel();(a=this.$["poll-attachment"])&&this.hasPoll_&&a.clearPollOptions();(a=this.$["video-link-attachment"])&&this.hasVideo_&&a.cancel();(a=this.$["access-restrictions-selector"].firstElementChild)&&
a.reset();"none"!==this.prefilledAttachment_&&this.dismissPrefilledContent_();this.addedAttachment="none";this.prefilledImageData_=this.scheduledPublishTimeSec_=this.imagePreviewCoordinates_=this.selectedVideoId_=void 0;this.submitButtonDisabled=!0;this.setTextAreaValue(this.data.editableText);this.previousText_=this.getTextAreaValue().trim();this.updateCharCount_();this.isEmojiPickerDisplayed=this.receivedFocusPreviously_=!1;if(this.data&&"BACKSTAGE_POST_DIALOG_PURPOSE_CREATE"===this.data.purpose)this.onDateTimeSelectionCancelled_()},
getEditableTextArea_:function(){return _.H(this.root).querySelector("#contenteditable-textarea").getRoot().node},
getEditableFormattedString_:function(){return _.H(this.root).querySelector("#contenteditable-textarea")},
getTextAreaValue:function(){return this.convertHrefToAtMentionAndImgToEmoji_(this.getEditableTextArea_(),!0)},
getTextLength:function(){return this.convertHrefToAtMentionAndImgToEmoji_(this.getEditableTextArea_(),!1).trim().length},
convertHrefToAtMentionAndImgToEmoji_:function(a,b){a=VOa(a,this.emojiManager,b).cloneNode(!0);for(b=a.firstChild;b;)if(1!==b.nodeType)b=b.nextSibling;else switch(b.tagName){case "BR":var c=document.createTextNode("\n"),d=b.parentNode;d&&d.replaceChild(c,b);b=c.nextSibling;break;case "DIV":(c=b.lastChild)&&b.nextSibling&&Bz(document.createTextNode("\n"),c);b.previousSibling&&(1===b.previousSibling.nodeType||3===b.previousSibling.nodeType&&!b.previousSibling.textContent.endsWith("\n"))&&_.uz(document.createTextNode("\n"),
b);c&&"BR"===c.nodeName&&_.Hb(c);c=b;if(b.hasChildNodes()){b=b.firstChild;var e=c.parentNode;if(e&&11!=e.nodeType)if(c.removeNode)c.removeNode(!1);else{for(;d=c.firstChild;)e.insertBefore(d,c);_.Hb(c)}}else b=b.nextSibling,_.Hb(c);break;default:b=b.nextSibling}return $Oa(a)},
onAddImageError_:function(a){a.stopPropagation();this.errorMessage_=_.Mu(a.detail)},
setTextAreaValue:function(a){a||(a="");var b=this.getEditableFormattedString_();b.text="";this.getEditableTextArea_().innerText="";"string"===typeof a&&(a={runs:[{text:a}]});b.text=a},
focus:function(){this.$["author-thumbnail"].markDirty();this.getEditableTextArea_().focus();this.maybeSetCursorAtEnd_();this.maybeUpdateTextDirection_();fD=null},
maybeSetCursorAtEnd_:function(){if(!this.receivedFocusPreviously_){var a=this.getEditableTextArea_();a&&(kB(a,a.childNodes.length).select(),this.receivedFocusPreviously_=!0)}},
maybeUpdateTextDirection_:function(){if("rtl"===_.w("HTML_DIR")){var a=this.getEditableTextArea_(),b=""!==this.getTextAreaValue()?"auto":"rtl";a.setAttribute("dir",b)}},
handleInputEvent_:function(){var a=null;if(this.isEmojiButtonDisplayed){var b=this.getInputRange_();b&&(a=this.emojiInput.retrieveTextBeforeRange(b))}this.insertText_(a,!0);this.updateCharCount_();this.setSubmitButton_();a=this.getEditableTextArea_();this.isBackstagePost&&(this.textRequiresScrolling=a.scrollHeight>a.clientHeight);this.maybeHeightChanged()},
maybeHeightChanged:function(){var a=52+this.getEditableTextArea_().offsetHeight;this.fire("yt-commentbox-resize",{height:a})},
onInput_:function(){this.inputEventSupported_=!0;this.handleInputEvent_()},
onKeyUp_:function(){this.inputEventSupported_||this.handleInputEvent_()},
updateCharCount_:function(){this.charCount_=this.getTextLength();this.aboveCharLimit_=!!this.charLimit_&&this.charCount_>this.charLimit_},
onPaste_:function(a){if(this.isEmojiButtonDisplayed)this.onPasteEmoji_(a);else if(_.x("auto_convert_posts_video_tag"))this.onPasteText_(a)},
onPasteEmoji_:function(a){a.preventDefault();a.stopImmediatePropagation();a=a.clipboardData.getData("text/plain");this.insertText_(a,!1,!1)},
onPasteText_:function(a){var b=this;"video"===this.prefilledAttachment_&&this.data.backstageAttachment.videoRenderer.videoId||this.postVideoTag||!this.data.extractTagsEndpoint||(this.isPostVideoTagAutoConverting=!0,(a=a.clipboardData.getData("text/plain"))&&_.Kg(this,[this.data.extractTagsEndpoint,{text:a}]).then(function(c){var d,e,h;if(null==c?0:null==(d=c.data)?0:null==(e=d.postTagsRenderer)?0:null==(h=e.postTagsRenderer)?0:h.postVideoTag){var l,m,p;b.postVideoTag=null==c?void 0:null==(l=c.data)?
void 0:null==(m=l.postTagsRenderer)?void 0:null==(p=m.postTagsRenderer)?void 0:p.postVideoTag;b.taggedVideoId_=b.postVideoTag.externalVideoId}b.isPostVideoTagAutoConverting=!1},function(){_.jd(Error("ie"));
b.isPostVideoTagAutoConverting=!1}))},
onYtdPostVideoTagDelete_:function(a){a.stopPropagation();this.postVideoTag=null;this.taggedVideoId_=void 0},
insertText_:function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!0:c;this.maybeUpdateTextDirection_();if(this.isEmojiButtonDisplayed&&a){var d=this.getInputRange_().cloneRange();this.emojiManager&&d&&(b&&this.emojiInput.offsetStartOfRangeBy(d,a.length),this.insertTextWithEmojis_(d,a,c),UOa(this.getEditableTextArea_().lastChild)||(d=this.getInputRange_().cloneRange()),d&&(this.emojiInput.updateSuggestions(d,a),this.updateSuggestionOffset_(d)))}},
setSubmitButton_:function(){if(this.data){var a=this.data&&"BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"===this.data.purpose,b=this.data&&this.data.editableText&&"BACKSTAGE_POST_DIALOG_PURPOSE_CREATE"!==this.data.purpose;if(a||b){var c=this.getTextAreaValue().trim();b=c===this.previousText_;c=!c||this.aboveCharLimit_;a&&this.data&&this.data.backstageAttachment&&(this.data.backstageAttachment.backstageImageRenderer||this.data.backstageAttachment.postMultiImageRenderer)&&(c=this.aboveCharLimit_);this.submitButtonDisabled=
b||c||!this.getTextLength();a&&_.x("enable_post_scheduling")&&(this.submitButtonDisabled=b&&!this.scheduledPublishTimeSec_||c)}else this.submitButtonDisabled=!this.isValidInput_()}},
onSubmitButtonEnable_:function(){this.setSubmitButton_()},
onSubmitButtonDisable_:function(){this.submitButtonDisabled=!0},
getSimpleString:_.qi,computeCreationBoxClass_:function(a){return a?"focused":"not-focused"},
computeFooterMessageClass_:function(a,b){return b?"footer-error-message":"footer-alert-message"},
computeFooterMessage_:function(a,b){return b?b:a},
computeFooterMessageHidden_:function(a,b){return!b&&!a},
computePlaceholderText_:function(a,b,c,d){if("video"!==c&&"image"!==c||!a.prefilledPlaceholderText){if("poll"===b)return this.getSimpleString(a.pollPostPlaceholderText);if("image"===b)return this.getSimpleString(a.imagePostPlaceholderText)}else return this.getSimpleString(a.prefilledPlaceholderText);return this.getSimpleString(d)},
computeHideAttachmentButtons_:function(a,b,c,d){return void 0===a?!1:d&&this.getSimpleString(d)===this.getSimpleString(a.rateLimitErrorMessage)?!0:"none"!==b||"none"!==c||!a.videoLinkButton&&!a.pollButton&&!a.imageButton},
computeHideDismissableAttachment_:function(a){return"image"!==a&&"video"!==a},
computeHasVideo_:function(a){return"video"===a},
computeHasImage_:function(a){return"image"===a},
computeHasPoll_:function(a){return"poll"===a},
computeHasPollRendererInEditDialog_:function(a,b){return"BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"===a&&!!b},
computePrefilledContent_:function(a){if(this.isValidPrefilledAttachment_(a.purpose,a.prefilledImageData,a.backstageAttachment))return a.backstageAttachment},
computeEditAttachment_:function(a){if(void 0===this.computePrefilledContent_(a))return a.backstageAttachment},
computeAuthorThumbnailDimension_:function(a,b){return a&&!b?24:40},
computeImageUploadEndpoint_:function(a){return this.get("imageButton.buttonRenderer.navigationEndpoint.backstageImageUploadEndpoint",a)},
computeEditableText_:function(a){return this.getSimpleString(a)},
computeIsBackstageComment_:function(a){return!(!a||"COMMENT_DIALOG_AVATAR_SIZE_TYPE_BACKSTAGE_COMMENT"!==a)},
computeServiceEndpoint_:function(a){return this.get("submitButton.buttonRenderer.serviceEndpoint",a)||this.get("replyButton.buttonRenderer.serviceEndpoint",a)||this.get("postButton.buttonRenderer.serviceEndpoint",a)},
computeSubmitButton_:function(a,b){a=this.get("submitButton.buttonRenderer",a)||this.get("replyButton.buttonRenderer",a)||this.get("postButton.buttonRenderer",a);b&&(a=b);a&&(a=Object.assign({},a),a.serviceEndpoint=void 0,a.isDisabled=this.submitButtonDisabled);return a},
computeIsEmojiButtonDisplayed_:function(a){return a.emojiButton&&a.emojiPicker&&a.emojiPicker.emojiPickerRenderer&&a.emojiPicker.emojiPickerRenderer.categories?a.emojiPicker.emojiPickerRenderer.categories.find(function(b){return b.emojiPickerCategoryRenderer?b.emojiPickerCategoryRenderer.emojiIds&&0<b.emojiPickerCategoryRenderer.emojiIds.length:b.emojiPickerUpsellCategoryRenderer?b.emojiPickerUpsellCategoryRenderer.emojis&&0<b.emojiPickerUpsellCategoryRenderer.emojis.length:!1}):!1},
computeCharLimit_:function(a){return a.charLimit?a.charLimit:null},
computeDropdownSchedulingPanel_:function(a,b){if("BACKSTAGE_POST_DIALOG_PURPOSE_CREATE"===a&&b)return b},
computeInlineSchedulingPanel_:function(a,b){if("BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"===a&&b)return b},
computeHideAuthorThumbnail_:function(a,b){return a||this.computeUseIdentityChip_(b)},
computeHideIdentityChipRenderer_:function(a,b){return a||!this.computeUseIdentityChip_(b)},
computeUseIdentityChip_:function(a){return!!a&&!!a.identityChipRenderer},
getSharedPostId_:function(){return this.data.backstageAttachment&&this.data.backstageAttachment.postRenderer&&this.data.backstageAttachment.postRenderer.postId?this.data.backstageAttachment.postRenderer.postId:void 0},
onYtNavigate_:function(a){a.stopPropagation();this.get("detail.endpoint.ypcGetOffersEndpoint",a)?_.Kg(this,[a.detail.endpoint]):this.get("detail.endpoint.backstageImageUploadEndpoint",a)&&(this.addedAttachment="image",this.submitButtonDisabled=!0)},
onVideoLinkSelected_:function(a){this.addedAttachment="video";this.selectedVideoId_=a.detail.videoId},
commentboxStateEntityChanged_:function(a){var b=this;"COMMENTBOX_STATE_INITIAL"==(null==a?void 0:a.state)?(this.clear(),this.fire("yt-commentbox-dismiss",this.dismissData_),this.dismissData_=null):"COMMENTBOX_STATE_WRITING"==(null==a?void 0:a.state)&&Promise.resolve().then(function(){b.focus()})},
onYtServiceRequestSent_:function(a,b){if(!this.isPostVideoTagAutoConverting&&b.actions)for(a=_.k(b.actions),b=a.next();!b.done;b=a.next())b.value.createPollAction&&(this.submitButtonDisabled=!0)},
onYtServiceRequestCompleted_:function(a){if(!this.isPostVideoTagAutoConverting){this.isLoading=!1;var b=this.get("detail.actions.0.showErrorAction.errorMessage.messageRenderer.text",a),c,d,e,h=null==a?void 0:null==(c=a.detail)?void 0:null==(d=c.data)?void 0:null==(e=d.actionResult)?void 0:e.commentboxStateEntityKey;if(b)this.errorMessage_=b;else if(h){var l;this.dismissData_=null==a?void 0:null==(l=a.detail)?void 0:l.data;this.commentboxStateKey_=h}else{this.clear();var m;this.fire("yt-commentbox-dismiss",
null==a?void 0:null==(m=a.detail)?void 0:m.data)}}},
onYtServiceRequestError_:function(a){if(!this.isPostVideoTagAutoConverting){a.stopPropagation();this.isLoading=!1;var b,c;if("BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"===(null==(b=this.data)?void 0:b.purpose)||"BACKSTAGE_POST_DIALOG_PURPOSE_CREATE"===(null==(c=this.data)?void 0:c.purpose))if(b=this.get("detail.error.args",a)||[],1<b.length&&b[1].message){this.errorMessage_=_.Mu(b[1].message);return}(a=this.get("detail.error.message",a))?this.errorMessage_=this.data.errorMessage||_.Mu(a):(this.clear(),this.fire("yt-commentbox-dismiss"))}},
submitIfNotBackstagePost_:function(a){if(!this.isBackstagePost)this.onSubmit_(a)},
onSubmit_:function(a){var b=this,c,d,e,h,l,m,p,r,v;return _.y(function(z){if(1==z.nextAddress){a.stopPropagation();if(!b.serviceEndpoint||!b.isValidInput_())return z.return();if(b.shouldShowPostAadcNotice_())return b.showPostAadcNotice_(),z.return();if(b.shouldShowCommentAadcNotice_())return b.showCommentAadcNotice_(),z.return();if(!(b.$$("ytd-backstage-multi-image-select-renderer")&&b.hasImage_&&_.x("enable_multi_image_post_creation")))return z.jumpTo(2);c=b.$$("ytd-backstage-multi-image-select-renderer");
return _.B(z,c.getAllUploadStatuses(),3)}if(2!=z.nextAddress){d=z.yieldResult;if(!d)return z.return();e=_.k(d);for(h=e.next();!h.done;h=e.next())if(l=h.value,void 0===l.encrptedBlobId)return b.isLoading=!1,m=void 0,b.errorMessage_=b.getSimpleString(null==(m=b.imageUploadEndpoint_)?void 0:m.imageEditor.backstageMultiImageSelectRenderer.uploadFailureError),z.return();return z.return(b.submitForm_(void 0,void 0,void 0,void 0,c.images,b.taggedVideoId_))}r=(p=b.$$("ytd-backstage-image-select-renderer"))&&
p.uploadPromise();v=b.getSharedPostId_();r?r.then(function(){b.submitForm_.apply(b,_.sc(_.Ob.apply(0,arguments)))}).catch(function(A){b.isLoading=!1;
b.errorMessage_=_.Mu(A.message)}):b.selectedVideoId_?b.submitForm_(void 0,b.selectedVideoId_):"image"===b.prefilledAttachment_?b.submitForm_(b.prefilledImageData_.encryptedBlobId,void 0,void 0,b.prefilledImageData_.sourceExternalVideoId,void 0,b.taggedVideoId_):"video"===b.prefilledAttachment_?b.submitForm_(void 0,b.data.backstageAttachment.videoRenderer.videoId):v?b.submitForm_(void 0,void 0,v):void 0!==b.taggedVideoId_?b.submitForm_(void 0,void 0,void 0,void 0,void 0,b.taggedVideoId_):b.submitForm_();
_.bf(z)})},
openSchedulingPanel:function(a){a&&a.scheduleButton&&a.scheduleButton.buttonRenderer&&(this.scheduleButton_=a.scheduleButton.buttonRenderer);a&&a.dateTimePicker&&this.set("data.schedulingDateTimePicker",a.dateTimePicker)},
onCancel_:function(a){a.stopPropagation();this.clear();this.fire("yt-commentbox-dismiss")},
onImageCancel_:function(a){a.stopPropagation();this.addedAttachment="none";this.errorMessage_=this.alertMessage_=null;this.imagePreviewCoordinates_=void 0;this.setSubmitButton_();this.getEditableTextArea_().focus()},
onMultiImageCancel_:function(a){a.stopPropagation();this.addedAttachment="none";this.errorMessage_=this.alertMessage_=null;this.setSubmitButton_();this.getEditableTextArea_().focus()},
onPrefilledContentDismissed_:function(a){a.stopPropagation();this.dismissPrefilledContent_();this.setSubmitButton_();this.getEditableTextArea_().focus()},
onInsertMention_:function(){this.updateCharCount_()},
onImageAlert_:function(a){a.stopPropagation();a.detail.alertMessage&&(this.alertMessage_=a.detail.alertMessage)},
onImageSelected_:function(a){a.stopPropagation();this.setSubmitButton_()},
onMultiImageSelected_:function(a){a.stopPropagation();this.errorMessage_=null;this.setSubmitButton_()},
onImagePreviewCoordinatesUpdated_:function(a){a.stopPropagation();this.imagePreviewCoordinates_=JSON.stringify(a.detail);this.setSubmitButton_()},
onImagePreviewReposition_:function(a){a.stopPropagation();this.imagePreviewCoordinates_=void 0;this.submitButtonDisabled=!0},
onVideoLinkCanceled_:function(a){a.stopPropagation();this.addedAttachment="none";this.setSubmitButton_();this.errorMessage_=null;this.selectedVideoId_=void 0;this.getEditableTextArea_().focus()},
onVideoLinkButtonCancel_:function(){this.getEditableTextArea_().focus()},
onAddVideoLink:function(a){var b=this.$["video-link-attachment"];b&&b.onLaunchVideoPicker(a)},
onPollAttachmentDismiss_:function(){this.addedAttachment="none";this.setSubmitButton_();this.getEditableTextArea_().focus()},
isValidInput_:function(){if("image"===this.prefilledAttachment_&&!this.prefilledImageData_||"video"===this.prefilledAttachment_&&!this.data.backstageAttachment.videoRenderer.videoId||"image"===this.addedAttachment&&_.x("enable_multi_image_post_creation")&&(!this.$$("ytd-backstage-multi-image-select-renderer")||!this.$$("ytd-backstage-multi-image-select-renderer").hasImages())||!("image"!==this.addedAttachment||_.x("enable_multi_image_post_creation")||this.$$("ytd-backstage-image-select-renderer")&&
this.$$("ytd-backstage-image-select-renderer").hasPreview&&this.imagePreviewCoordinates_)||"poll"===this.addedAttachment&&this.$["poll-attachment"]&&!this.$["poll-attachment"].isValid()||"video"===this.addedAttachment&&this.$["video-link-attachment"]&&!this.$["video-link-attachment"].isValid()||this.aboveCharLimit_||this.dropdownSchedulePanel_&&!this.scheduledPublishTimeSec_)return!1;var a=!1;this.data&&"BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"===this.data.purpose&&this.data.backstageAttachment&&(this.data.backstageAttachment.backstageImageRenderer||
this.data.backstageAttachment.postMultiImageRenderer)&&(a=!0);if("image"===this.addedAttachment||"image"===this.prefilledAttachment_)a=!0;return a||!!this.getTextAreaValue().trim()},
submitForm_:function(a,b,c,d,e,h){var l=this.getTextAreaValue().trim(),m={};this.data&&"BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"===this.data.purpose&&l===this.previousText_&&(l=void 0);void 0!==l&&(m.comment_text=l);this.isLoading=!0;void 0!=h&&(m.tagged_video_id=h);a?(m.image_blob_id=a,this.imagePreviewCoordinates_&&(m.image_preview_coordinates=this.imagePreviewCoordinates_)):b?m.attached_video_id=b:c?m.shared_post_id=c:e&&0<e.length&&(m.images_data=e.map(function(p){return{encryptedBlobId:p.encrptedBlobId,
previewCoordinates:p.previewCoordinates}}));
d&&(m.source_video_id=d);this.data.accessRestrictionsSelector&&this.data.accessRestrictionsSelector.dropdownRenderer&&(m.access_restrictions=this.accessRestriction?this.accessRestriction:this.$["access-restrictions-selector"].firstElementChild.value);"poll"===this.addedAttachment&&(m.poll_options=this.$["poll-attachment"].getPollOptions());_.x("enable_post_scheduling")&&this.scheduledPublishTimeSec_&&(m.scheduled_publish_time_sec=this.scheduledPublishTimeSec_);_.Kg(this,[this.serviceEndpoint,m])},
onIsInputFocusChanged_:function(a,b){a?this.fire("yt-autonav-pause-focus"):void 0!==b&&this.fire("yt-autonav-pause-blur")},
plaintextDrop_:function(a){var b=this.getEditableTextArea_();[].concat(_.sc(a.dataTransfer.items)).forEach(function(c){"string"===c.kind&&c.type.match("^text/plain")&&c.getAsString(function(d){b.appendChild(document.createTextNode(d))})});
a.preventDefault()},
preventDefault_:function(a){a.preventDefault()},
onSuggestionInsert_:function(a){this.insertTextWithEmojis_(a.detail.range,a.detail.text)},
onEmojiSuggestionClick_:function(a){this.emojiInput.insertSuggestion(a.detail)},
computeSubmitButtonClass_:function(a,b){return!b||a?"":"with-options"},
updateSuggestionOffset_:function(a){var b=this.getEditableTextArea_().getBoundingClientRect().bottom,c=a.getBoundingClientRect().top;this.verticalSuggestionsOffset=Math.ceil(b-c)+5;b=this.getEditableTextArea_().getBoundingClientRect().left;a=a.getBoundingClientRect().left-b;this.emojiInput.$.dropdown.style.marginLeft=a+"px"},
onDateTimeSelectionCancelled_:function(){this.scheduleButton_=void 0;this.set("data.schedulingDateTimePicker",null);this.scheduledPublishTimeSec_=void 0;this.setSubmitButton_()},
onDateTimeSelectionUpdate_:function(a){if(_.x("enable_post_scheduling")&&this.data&&this.data.purpose){a=a.detail;if(Math.floor(Date.now()/1E3)>=a)this.scheduledPublishTimeSec_=void 0;else if("BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"===this.data.purpose){var b=parseInt(this.get("schedulingDateTimePicker.dateTimePickerRenderer.defaultTimeSec",this.data),10);isNaN(b)||b!==a?this.scheduledPublishTimeSec_=a:this.scheduledPublishTimeSec_=void 0}else this.scheduledPublishTimeSec_=a;this.setSubmitButton_()}},
computeAttachmentButtonIds_:function(){return _.x("auto_convert_posts_video_tag")?["image-button","poll-button"]:["image-button","poll-button","video-link-button"]},
getButtonRenderer:function(a,b){if(a)switch(b){case "video-link-button":var c;return(null==(c=a.videoLinkButton)?void 0:c.buttonRenderer)||void 0;case "image-button":var d;return(null==(d=a.imageButton)?void 0:d.buttonRenderer)||void 0;case "poll-button":var e;return(null==(e=a.pollButton)?void 0:e.buttonRenderer)||void 0}},
shouldShowPostAadcNotice_:function(){var a;return null==(a=this.data)||!a.showAadcNoticeCommand||this.getLocalStorage_().get(this.getAadcNoticeShownKey_())?!1:!0},
shouldShowCommentAadcNotice_:function(){var a,b;return!(null==(a=this.data)||!a.openAadcDialog)&&!(null==(b=this.aadcGuidelinesState_)||!b.shouldRequireViewerAck)},
getAadcNoticeShownKey_:function(){return"post-aadc-notice-shown-"+_.w("DATASYNC_ID","unknown")},
showPostAadcNotice_:function(){var a;(null==(a=this.data)?0:a.showAadcNoticeCommand)&&this.resolveCommand(this.data.showAadcNoticeCommand)},
showCommentAadcNotice_:function(){this.resolveCommand(this.data.openAadcDialog)},
getLocalStorage_:function(){this.localStorage||(this.localStorage=new _.Wd("yt-post"));return this.localStorage},
onAadcNoticeConfirm_:function(a){a.clickTrackingParams&&_.vp().clickCommand(a);this.getLocalStorage_().set(this.getAadcNoticeShownKey_(),!0);_.C(this,"yt-close-popup-action")},
onHideIdentityChip:function(a){var b;this.set("data.placeholderText",null==(b=a.hideIdentityChipAction)?void 0:b.placeholderText);this.set("zeroStepChannelCreationRenderer",{})}});
var gD=function(){var a=_.K.apply(this,arguments)||this;a.isOpen=!1;a.inPopupContainer=!1;a.isCommentboxLoading=!1;a.attachmentButtonIds=_.x("auto_convert_posts_video_tag")?["image-button","poll-button"]:["image-button","poll-button","video-link-button"];a.actionMap={"yt-create-comment-action":"onCreateCommentAction","yt-create-poll-action":"onCreatePollAction","yt-add-video-link-action":"onAddVideoLinkAction","yt-show-scheduling-panel-command":"onShowSchedulingPanelCommand"};return a};
_.q(gD,_.K);_.f=gD.prototype;
_.f.configureRendererStamper=function(){var a={"data.accessRestrictionsSelector":{id:"access-restrictions-selector",mapping:{dropdownRenderer:{component:"ytd-flat-dropdown-renderer",classListBinding:"[[dropdownRendererClasses]]"}}},"data.pollButton":{id:"poll-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.imageButton":{id:"image-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.postOptionsMenu":{id:"option-menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:arrow_drop_down"}}}}};
_.x("auto_convert_posts_video_tag")||(a["data.videoLinkButton"]={id:"video-link-button",mapping:{buttonRenderer:"ytd-button-renderer"}});return a};
_.f.ready=function(){var a=this,b=this.$["placeholder-area"],c=function(d){a.onOpen(d)};
b.addEventListener("tap",c);b.addEventListener("keypress",c)};
_.f.showImageButtonTooltip=function(){var a;_.x("enable_multi_image_post_creation")&&(null==(a=this.data)?0:a.multiImageButtonTooltip)&&(_.PB.getInstance(),a=_.CTa(this.data.multiImageButtonTooltip,"multi-image-button-edu-displayed","OPEN_POPUP_POSITION_BOTTOM",604800,"multi-image-button-edu-displayed-impression",3),0<(null==a?void 0:a.length)&&this.ytComponentBehavior.resolveCommand(a[0],{form:{element:this.imageButton}}))};
_.f.onYtServiceRequestSent=function(a,b){if(!_.x("kevlar_command_handler")&&b.actions)for(var c=0;c<b.actions.length;c++){var d=b.actions[c];if(d.createPollAction)this.JSC$37562_commentbox.addedAttachment="poll",this.onOpen(a);else if(d.addVideoLinkAction)this.JSC$37562_commentbox.onAddVideoLink(d);else d.showSchedulingPanelCommand&&this.openSchedulingPanel(d.showSchedulingPanelCommand)}};
_.f.onCreatePollAction=function(a){_.x("kevlar_command_handler")&&a.createPollAction&&(this.JSC$37562_commentbox.addedAttachment="poll",this.openDialog())};
_.f.onAddVideoLinkAction=function(a){if(_.x("kevlar_command_handler")&&a.addVideoLinkAction)this.JSC$37562_commentbox.onAddVideoLink(a)};
_.f.onShowSchedulingPanelCommand=function(a){_.x("kevlar_command_handler")&&a.showSchedulingPanelCommand&&this.openSchedulingPanel(a.showSchedulingPanelCommand)};
_.f.openSchedulingPanel=function(a){_.x("enable_post_scheduling")&&(this.openDialog(),this.JSC$37562_commentbox.openSchedulingPanel(a))};
_.f.onCreateCommentAction=function(a){this.get("createCommentAction.contents",a)&&(this.JSC$37562_commentbox.clear(),this.closeDialog())};
_.f.onOpen=function(a){a instanceof KeyboardEvent&&"keypress"===a.type&&13!==a.keyCode&&32!==a.keyCode||(this.data.prepareAccountEndpoint?this.fire("yt-navigate",{endpoint:this.data.prepareAccountEndpoint}):this.openDialog())};
_.f.onYtCommentboxDismiss=function(){this.closeDialog()};
_.f.onYtCommentboxLoadingStart=function(a){a.stopPropagation();this.isCommentboxLoading=!0};
_.f.onYtCommentboxLoadingEnd=function(a){a.stopPropagation();this.isCommentboxLoading=!1};
_.f.onYtVideoLinkButtonCancel=function(a){a.stopPropagation();this.onOpen(a)};
_.f.onYtVideoLinkSelected=function(a){a.stopPropagation();this.onOpen(a)};
_.f.onIronSelect=function(a){a.stopPropagation();"YTD-PRIVACY-DROPDOWN-ITEM-RENDERER"===a.detail.item.tagName&&this.accessRestriction!=a.detail.item.value&&(this.accessRestriction?(this.accessRestriction=a.detail.item.value,this.onOpen(a)):this.accessRestriction=a.detail.item.value)};
_.f.onYtNavigate=function(a){this.get("detail.endpoint.backstageImageUploadEndpoint",a)&&(this.JSC$37562_commentbox.addedAttachment="image",this.JSC$37562_commentbox.submitButtonDisabled=!0,this.onOpen(a))};
_.f.openDialog=function(){this.JSC$37562_commentbox.accessRestriction=this.accessRestriction;this.isOpen=!0;this.JSC$37562_commentbox.focus()};
_.f.onPopupClosed=function(){_.PB.getInstance()};
_.f.computeCreationDisabled=function(a){return!!a};
_.f.computeIsCreationDialog=function(a){return!!a&&"BACKSTAGE_POST_DIALOG_PURPOSE_CREATE"===a};
_.f.computeDisabledPostButton=function(a){if(!a)return null;a.isDisabled=!0;return a};
_.f.computeIsCreationDialogWithHeader=function(a){return!this.inPopupContainer&&!!a&&!!a.authorText&&"BACKSTAGE_POST_DIALOG_PURPOSE_EDIT"!=a.purpose};
_.f.computeIsHeaderHidden=function(a,b){return!a||b};
_.f.computeDropdownRendererClasses=function(a){return a?["text-secondary-style"]:[]};
_.f.closeDialog=function(){this.isCommentboxLoading=this.isOpen=!1;var a=this.$["access-restrictions-selector"].firstElementChild;a&&a.reset()};
_.t.Object.defineProperties(gD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fUa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-post-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_post_dialog_renderer.ytd.backstage.post.dialog.renderer.css.js--\x3e<div id="disabled-message" hidden="[[!creationDisabled]]">\n  <div id="disabled-message-annotation">\n  [[getSimpleString(data.postCreationDisabledAnnotation)]]\n  </div>\n  <yt-formatted-string id="disabled-message-text" text="[[data.postCreationDisabledText]]">\n  </yt-formatted-string>\n</div>\n<div hidden="[[creationDisabled]]">\n  <div id="dialog-header" hidden="[[computeIsHeaderHidden(isCreationDialogWithHeader, isCommentboxLoading)]]">\n    <yt-img-shadow id="header-author-thumbnail" thumbnail="[[data.authorThumbnail]]">\n    </yt-img-shadow>\n    <yt-formatted-string id="header-channel-name" text="[[data.authorText]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="header-visibility-label" text="[[data.visibilityLabel]]">\n    </yt-formatted-string>\n    <div id="access-restrictions-selector"></div>\n    <yt-formatted-string id="header-default-visibility" hidden="[[!data.accessRestrictionsSelector.postVisibilityLabelRenderer.text]]" text="[[data.accessRestrictionsSelector.postVisibilityLabelRenderer.text]]">\n    </yt-formatted-string>\n  </div>\n  <div id="unopened-dialog" hidden="[[isOpen]]">\n    <yt-img-shadow id="author-thumbnail" height="40" thumbnail="[[data.authorThumbnail]]" width="40">\n    </yt-img-shadow>\n    <div id="main">\n      <div id="placeholder-area">\n        <yt-formatted-string id="commentbox-placeholder" role="button" tabindex="0" text="[[data.placeholderText]]">\n        </yt-formatted-string>\n      </div>\n      <div id="attachments">\n        <template is="dom-repeat" items="[[attachmentButtonIds]]" as="buttonId">\n          <span id="[[buttonId]]"></span>\n        </template>\n        <div id="post-buttons-wrapper">\n          <ytd-button-renderer id="post-button" data="[[computeDisabledPostButton(data.postButton.buttonRenderer)]]" hidden="[[!isCreationDialog]]">\n          </ytd-button-renderer>\n          <div id="option-menu"></div>\n        </div>\n      </div>\n    </div>\n  </div>\n  <ytd-commentbox id="commentbox" data="[[data]]" hidden="[[!isOpen]]" is-backstage-post="" is-creation-box="[[isCreationDialog]]" is-popup-box="[[inPopupContainer]]" is-post-creation-dialog-v2="[[isCreationDialogWithHeader]]">\n    <div slot="repost-preview" hidden="[[!data.backstageAttachment.postRenderer]]">\n      <slot name="repost-preview"></slot>\n    </div>\n  </ytd-commentbox>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eUa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_backstage_post_dialog_renderer.ytd.backstage.post.dialog.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #author-thumbnail {width: 40px;height: 40px;margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #dialog-header {padding: 16px 8px 0 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dialog-header #header-author-thumbnail {width: 32px;height: 32px;margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #dialog-header #header-channel-name {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #dialog-header #header-visibility-label {color: var(--yt-spec-text-secondary);margin-left: auto;-webkit-font-smoothing: antialiased;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #dialog-header #header-default-visibility {color: var(--yt-spec-text-secondary);margin-left: 16px;margin-right: 16px;-webkit-font-smoothing: antialiased;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #dialog-header #access-restrictions-selector {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #unopened-dialog {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #main {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #commentbox-placeholder {display: block;color: var(--yt-spec-text-secondary);outline: none;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #placeholder-area {cursor: text;padding-bottom: 4px;margin-bottom: 7px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #attachments {margin-left: -10px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #disabled-message {border: 2px solid var(--yt-spec-10-percent-layer);padding: 16px;margin-bottom: 24px;} #disabled-message-annotation {color: var(--yt-spec-text-secondary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #disabled-message-text {color: var(--yt-spec-text-primary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} ytd-button-renderer:hover {color: var(--yt-spec-icon-active-other);} ytd-button-renderer {--yt-button-icon-size: 36px;} ytd-commentbox {--ytd-commentbox-textarea-margin-bottom: 2px;} #option-menu ytd-menu-renderer {--yt-icon-width: 32px;--yt-icon-height: 36px;--ytd-menu-renderer-button-color: var(--yt-spec-text-primary-inverse);border-left: 1px solid var(--yt-spec-10-percent-layer);} #option-menu {border-bottom-right-radius: var(--yt-button-border-radius,3px);border-top-right-radius: var(--yt-button-border-radius,3px);background: var(--yt-spec-icon-disabled);} #post-buttons-wrapper {border-radius: 6px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([is-creation-dialog]) #attachments #post-buttons-wrapper {margin-left: auto;background: var(--yt-spec-icon-disabled);} :host([is-creation-dialog]) {background: var(--yt-spec-general-background-a);border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 2px;} :host([is-creation-dialog]) #disabled-message {border: none;} :host([is-creation-dialog]) #author-thumbnail {display: none;} :host([is-creation-dialog]) #placeholder-area {padding-top: 20px;margin-left: 16px;border-bottom: none;margin-bottom: 0;} :host([is-creation-dialog]) #attachments {margin-left: -6px;padding: 16px;} :host([is-creation-dialog][is-creation-dialog-with-header]) #attachments {margin-left: -12px;} :host([is-creation-dialog]) #attachments ytd-button-renderer {--yt-button-icon-padding: 6px;color: var(--yt-spec-text-secondary);} :host([is-creation-dialog]) #attachments ytd-button-renderer:hover {color: var(--yt-spec-icon-active-other);} :host([is-creation-dialog][is-creation-dialog-with-header]) #video-link-button>ytd-button-renderer,#poll-button>ytd-button-renderer,#image-button>ytd-button-renderer {--yt-button-padding: 6px 12px;} :host([is-creation-dialog]) #attachments #post-button {margin-left: auto;background: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} :host([is-creation-dialog][is-open]) #dialog-header {background: var(--yt-spec-brand-background-primary);} div[slot=repost-preview] {margin-top: 16px;margin-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-backstage-post-dialog-renderer.css.map*/</style>';
eUa=d}d=eUa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fUa=a}a=fUa;return a}}});
var hD=gD;hD.prototype.onPopupClosed=hD.prototype.onPopupClosed;hD.prototype.onYtNavigate=hD.prototype.onYtNavigate;hD.prototype.onIronSelect=hD.prototype.onIronSelect;hD.prototype.onYtVideoLinkSelected=hD.prototype.onYtVideoLinkSelected;hD.prototype.onYtVideoLinkButtonCancel=hD.prototype.onYtVideoLinkButtonCancel;hD.prototype.onYtCommentboxLoadingEnd=hD.prototype.onYtCommentboxLoadingEnd;hD.prototype.onYtCommentboxLoadingStart=hD.prototype.onYtCommentboxLoadingStart;
hD.prototype.onYtCommentboxDismiss=hD.prototype.onYtCommentboxDismiss;hD.prototype.onYtServiceRequestSent=hD.prototype.onYtServiceRequestSent;hD.prototype.showImageButtonTooltip=hD.prototype.showImageButtonTooltip;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],hD.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],hD.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],hD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],hD.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],hD.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],hD.prototype,"isOpen",void 0);
_.S([_.N({computed:"computeCreationDisabled(data.postCreationDisabledText)"}),_.T("design:type",Boolean)],hD.prototype,"creationDisabled",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],hD.prototype,"enableCreationBox",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeIsCreationDialog(data.purpose)"}),_.T("design:type",Boolean)],hD.prototype,"isCreationDialog",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],hD.prototype,"inPopupContainer",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeIsCreationDialogWithHeader(data)"}),_.T("design:type",Boolean)],hD.prototype,"isCreationDialogWithHeader",void 0);_.S([_.N(),_.T("design:type",Object)],hD.prototype,"accessRestriction",void 0);_.S([_.N({computed:"computeDropdownRendererClasses(isCreationDialogWithHeader)"}),_.T("design:type",Array)],hD.prototype,"dropdownRendererClasses",void 0);_.S([_.N(),_.T("design:type",Object)],hD.prototype,"isCommentboxLoading",void 0);
_.S([_.N(),_.T("design:type",Array)],hD.prototype,"attachmentButtonIds",void 0);_.S([_.Z("#image-button"),_.T("design:type",HTMLElement)],hD.prototype,"imageButton",void 0);_.S([_.Z("#commentbox"),_.T("design:type",Object)],hD.prototype,"JSC$37562_commentbox",void 0);_.S([_.P("data.multiImageButtonTooltip"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hD.prototype,"showImageButtonTooltip",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],hD.prototype,"onYtServiceRequestSent",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],hD.prototype,"onYtCommentboxDismiss",null);
_.S([_.O("yt-commentbox-loading-start"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],hD.prototype,"onYtCommentboxLoadingStart",null);_.S([_.O("yt-commentbox-loading-end"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],hD.prototype,"onYtCommentboxLoadingEnd",null);
_.S([_.O("yt-video-link-button-cancel"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],hD.prototype,"onYtVideoLinkButtonCancel",null);_.S([_.O("yt-video-link-selected"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],hD.prototype,"onYtVideoLinkSelected",null);_.S([_.O("iron-select"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],hD.prototype,"onIronSelect",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],hD.prototype,"onYtNavigate",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hD.prototype,"onPopupClosed",null);hD=_.S([_.Q({is:"ytd-backstage-post-dialog-renderer"})],hD);
var RVa;
var SVa;
var iD=function(){return _.K.apply(this,arguments)||this};
_.q(iD,_.K);iD.prototype.focus=function(){this.$.commentbox.focus()};
_.t.Object.defineProperties(iD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SVa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_dialog_renderer.ytd.comment.dialog.renderer.css.js--\x3e<ytd-commentbox id="commentbox" data="[[data]]" zero-step-channel-creation-renderer="[[zeroStepChannelCreationRenderer]]">\n</ytd-commentbox>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_dialog_renderer.ytd.comment.dialog.renderer.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;} /*# sourceMappingURL=ytd-comment-dialog-renderer.css.map*/</style>";RVa=d}d=RVa;c.call(b,d.content.cloneNode(!0),
a.content.firstChild);SVa=a}a=SVa;return a}}});
var jD=iD;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],jD.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],jD.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],jD.prototype,"zeroStepChannelCreationRenderer",void 0);jD=_.S([_.Q({is:"ytd-comment-dialog-renderer"})],jD);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syc");

_.eI=function(a){var b=void 0===b?_.wba:b;return _.Nb(a,b)||_.pqa};
_.b4a=function(a){return Array.prototype.concat.apply([],arguments)};
_.c4a=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
_.d4a=function(a,b){a.sort(b||_.baa)};
_.e4a=function(a,b,c){if(_.la(a))_.pd(a,b,c);else for(a=_.Sl(a);;){var d=a.next();if(d.done)break;b.call(c,d.value,void 0,a)}};
_.f4a=function(a){a=_.wd(a);return _.Toa(a[1],null,a[3],a[4])};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syg");

/*

 Hammer.JS - v2.0.2 - 2014-07-26
 http://hammerjs.github.io/

 Copyright (c) 2014 Jorik Tangelder <j.tangelder@gmail.com>;
 Licensed under the MIT license */
var vXa,yXa,BXa,CXa,EXa,GXa,HXa,JXa,LXa,NXa,OXa,PXa,QXa,RXa,UXa,TXa,VXa,CE,WXa,sXa,tXa,XXa;_.uXa=function(a){var b="";if(a){var c=a.indexOf("jsbin/"),d=a.lastIndexOf(".js"),e=c+6;-1<c&&-1<d&&d>e&&(b=a.substring(e,d),b=b.replace(sXa,""),b=b.replace(tXa,""),b=b.replace("debug-",""),b=b.replace("tracing-",""))}return b};
_.vE=function(a,b){var c=_.uXa(a);spf.script.load(a,c,b)};
vXa=function(a){return _.ib(_.jb("TS-Closure conversions of the same types"),_.wb(a).toString())};
_.wXa=function(a,b){a.open(_.zb(b),"_blank",void 0)};
_.wE=function(){return _.g.ytPubsubPubsubInstance};
_.xE=function(a,b){var c=_.wE();c&&c.publish.apply(c,arguments)};
yXa=function(){return xXa.version||(xXa.version="version".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()}))};
_.zXa=function(a,b){a=_.uXa(a);spf.script.ignore(a,b)};
_.AXa=function(a){return a.ui.inlinePreviewIsActive};
BXa=function(a,b){a={args:{raw_player_response:a}};b&&(a.args=Object.assign({},a.args,b));return a};
CXa=function(a){if(a.args){if(a.args.raw_player_response)return a.args.raw_player_response;if(a.args.player_response)return JSON.parse(a.args.player_response)}};
EXa=function(a){a=a||"";var b=a.match(DXa);spf.style.load(a,b?b[1]:"",void 0)};
GXa=function(){var a=Hammer.TouchAction,b=a.prototype.preventDefaults;a.prototype.preventDefaults=function(c){var d=-1<this.actions.indexOf("pan-down");if(!d)return b(c);if(!FXa){var e=c.srcEvent;c=c.direction;if(this.manager.session.prevented)e.preventDefault();else if(d&&c&Hammer.DIRECTION_DOWN)return this.preventSrc(e)}}};
HXa=function(a){if(!a||0===a.size)return Hammer.DIRECTION_ALL;if(2===a.size){if(a.has("up")&&a.has("down"))return Hammer.DIRECTION_VERTICAL;if(a.has("right")&&a.has("left"))return Hammer.DIRECTION_HORIZONTAL}if(1===a.size){if(a.has("up"))return Hammer.DIRECTION_UP;if(a.has("down"))return Hammer.DIRECTION_DOWN;if(a.has("right"))return Hammer.DIRECTION_RIGHT;if(a.has("left"))return Hammer.DIRECTION_LEFT}return Hammer.DIRECTION_ALL};
JXa=function(a){var b={};_.IXa().install((b.document_disposed={callback:a},b))};
LXa=function(){return KXa||!!_.ld("yt.player.Application")};
NXa=function(){return MXa||!!document.querySelector("link#player-css")};
OXa=function(){function a(){KXa=!0;yE.resolve()}
var b,c;return _.y(function(d){yE||(yE=new _.dk,LXa()?a():(b=document.createElement("script"),b.addEventListener("load",a),c=vXa(_.nb(_.w("PLAYER_JS_URL"))),_.Fb(b,c),document.head.appendChild(b)));return d.return(yE.promise)})};
PXa=function(){function a(){MXa=!0;zE.resolve()}
if(!zE)if(zE=new _.dk,NXa())a();else{var b=document.createElement("link");b.id="player-css";b.addEventListener("load",a);var c=vXa(_.nb(_.w("PLAYER_CSS_URL")));_.pba(b,c);document.head.appendChild(b)}return zE.promise};
QXa=function(){return LXa()&&NXa()?Promise.resolve([]):Promise.all([OXa(),PXa()])};
RXa=function(a,b,c){var d={args:{}};a&&(d.args.raw_player_response=a);b&&(d.args.raw_watch_next_response=b);c&&(d.args=Object.assign({},d.args,c));return d};
UXa=function(a,b,c){var d=!1;d=void 0===d?!0:d;a="string"===typeof a?_.hk(document,a):a;var e=SXa+"_"+_.qa(a),h=AE[e];if(h&&d)return TXa(b,c)?h.api.loadVideoByPlayerVars(b.args||null):h.loadNewVideoConfig(b),h.api;h=new BE(a,e,b,c);AE[e]=h;_.xE("player-added",h.api);_.vk(h,function(){delete AE[h.getId()]});
return h.api};
TXa=function(a,b){return b&&b.serializedExperimentFlags?b.serializedExperimentFlags.includes("web_player_remove_playerproxy=true"):a&&a.args&&a.args.fflags?a.args.fflags.includes("web_player_remove_playerproxy=true"):!1};
VXa=function(a){var b=a.docid||a.video_id||a.videoId||a.id;if(b)return b;b=a.raw_player_response;b||_.x("parse_video_id_from_serialized_player_response_killswitch")||(a=a.player_response)&&(b=JSON.parse(a));return b&&b.videoDetails&&b.videoDetails.videoId||null};
CE=function(a,b){if(!a&&Math.random()<=_.hd("kevlar_unified_player_logging_threshold")){a=Error("je`"+(b?b:"Unspecified error"));if(_.x("kevlar_unified_player_throw_errors"))throw a;_.Rf(a)}};
WXa=function(){return _.x("kevlar_player_use_native_promises")?Promise:_.wf};
sXa=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/;tXa=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/;_.DE=function(a,b,c){c=void 0===c?0:c;var d=a.recurringGrafts.get(b)||new Set;d.has(c)||(d.add(c),a.recurringGrafts.set(b,d),"UNDEFINED_CSN"===_.fg(c)||a.pendingScreenCreation.has(c)||_.ls(a,b,void 0,c))};
XXa=function(a){_.G.call(this,a)};
_.q(XXa,_.G);XXa.prototype.setCsn=function(a){_.n(this,1,a)};
var xXa={},YXa="hammer_"+(1E6*Math.random()|0),ZXa=function(){var a=document||document;if(!a[YXa]){var b=function(){(function(c,d,e,h){function l(M,W,ca){return setTimeout(A(M,ca),W)}
function m(M,W,ca){return Array.isArray(M)?(p(M,ca[W],ca),!0):!1}
function p(M,W,ca){var ra;if(M)if(M.forEach)M.forEach(W,ca);else if(M.length!==h){var La=0;for(ra=M.length;La<ra;La++)W.call(ca,M[La],La,M)}else for(La in M)M.hasOwnProperty(La)&&W.call(ca,M[La],La,M)}
function r(M,W,ca){for(var ra=Object.keys(W),La=0,vb=ra.length;La<vb;La++)if(!ca||ca&&M[ra[La]]===h)M[ra[La]]=W[ra[La]];return M}
function v(M,W){return r(M,W,!0)}
function z(M,W,ca){W=W.prototype;var ra=M.prototype=Object.create(W);ra.constructor=M;ra._super=W;ca&&r(ra,ca)}
function A(M,W){return function(){return M.apply(W,arguments)}}
function D(M,W){return"function"==typeof M?M.apply(W?W[0]||h:h,W):M}
function E(M,W,ca){p(R(W),function(ra){M.addEventListener(ra,ca,!1)})}
function J(M,W,ca){p(R(W),function(ra){M.removeEventListener(ra,ca,!1)})}
function R(M){return M.trim().split(/\s+/g)}
function da(M,W,ca){if(M.indexOf&&!ca)return M.indexOf(W);for(var ra=0,La=M.length;ra<La;ra++)if(ca&&M[ra][ca]==W||!ca&&M[ra]===W)return ra;return-1}
function sa(M,W,ca){for(var ra=[],La=[],vb=0,$b=M.length;vb<$b;vb++){var qe=W?M[vb][W]:M[vb];0>da(La,qe)&&ra.push(M[vb]);La[vb]=qe}ca&&(ra=W?ra.sort(function(sj,uV){return sj[W]>uV[W]}):ra.sort());
return ra}
function Ca(M,W){for(var ca,ra=W[0].toUpperCase()+W.slice(1),La=0,vb=sH.length;La<vb;La++)if(ca=(ca=sH[La])?ca+ra:W,ca in M)return ca;return h}
function ea(M,W){var ca=this;this.manager=M;this.callback=W;this.element=M.element;this.target=M.options.inputTarget;this.domHandler=function(ra){D(M.options.enable,[M])&&ca.handler(ra)};
this.evEl&&E(this.element,this.evEl,this.domHandler);this.evTarget&&E(this.target,this.evTarget,this.domHandler);this.evWin&&E(c,this.evWin,this.domHandler)}
function na(M){var W;ws?W=Uh:Ym?W=jh:tH?W=bq:W=Mb;return new W(M,ma)}
function ma(M,W,ca){var ra=ca.pointers.length,La=ca.changedPointers.length,vb=W&1&&0===ra-La;ca.isFirst=!!vb;ca.isFinal=!!(W&12&&0===ra-La);vb&&(M.session={});ca.eventType=W;W=M.session;ra=ca.pointers;La=ra.length;W.firstInput||(W.firstInput=Aa(ca));1<La&&!W.firstMultiple?W.firstMultiple=Aa(ca):1===La&&(W.firstMultiple=!1);vb=W.firstInput;var $b=(La=W.firstMultiple)?La.center:vb.center,qe=ca.center=$a(ra);ca.timeStamp=mA();ca.deltaTime=ca.timeStamp-vb.timeStamp;ca.angle=po($b,qe);ca.distance=Ya($b,
qe);vb=ca.center;$b=W.offsetDelta||{};qe=W.prevDelta||{};var sj=W.prevInput||{};if(1===ca.eventType||4===sj.eventType)qe=W.prevDelta={x:sj.deltaX||0,y:sj.deltaY||0},$b=W.offsetDelta={x:vb.x,y:vb.y};ca.deltaX=qe.x+(vb.x-$b.x);ca.deltaY=qe.y+(vb.y-$b.y);ca.offsetDirection=gf(ca.deltaX,ca.deltaY);La?(vb=La.pointers,vb=Ya(ra[0],ra[1],xs)/Ya(vb[0],vb[1],xs)):vb=1;ca.scale=vb;La?(La=La.pointers,ra=po(ra[1],ra[0],xs)-po(La[1],La[0],xs)):ra=0;ca.rotation=ra;$b=W.lastInterval||ca;ra=ca.timeStamp-$b.timeStamp;
8!=ca.eventType&&(25<ra||$b.velocity===h)?(vb=$b.deltaX-ca.deltaX,$b=$b.deltaY-ca.deltaY,qe=vb/ra||0,sj=$b/ra||0,ra=qe,La=sj,qe=vs(qe)>vs(sj)?qe:sj,vb=gf(vb,$b),W.lastInterval=ca):(qe=$b.velocity,ra=$b.velocityX,La=$b.velocityY,vb=$b.direction);ca.velocity=qe;ca.velocityX=ra;ca.velocityY=La;ca.direction=vb;W=M.element;a:{for(ra=ca.srcEvent.target;ra;){if(ra==W){ra=!0;break a}ra=ra.parentNode}ra=!1}ra&&(W=ca.srcEvent.target);ca.target=W;M.emit("hammer.input",ca);M.recognize(ca);M.session.prevInput=
ca}
function Aa(M){for(var W=[],ca=0;ca<M.pointers.length;ca++)W[ca]={clientX:dq(M.pointers[ca].clientX),clientY:dq(M.pointers[ca].clientY)};return{timeStamp:mA(),pointers:W,center:$a(W),deltaX:M.deltaX,deltaY:M.deltaY}}
function $a(M){var W=M.length;if(1===W)return{x:dq(M[0].clientX),y:dq(M[0].clientY)};for(var ca=0,ra=0,La=0;La<W;La++)ca+=M[La].clientX,ra+=M[La].clientY;return{x:dq(ca/W),y:dq(ra/W)}}
function gf(M,W){return M===W?1:vs(M)>=vs(W)?0<M?2:4:0<W?8:16}
function Ya(M,W,ca){ca||(ca=ro);var ra=W[ca[0]]-M[ca[0]];M=W[ca[1]]-M[ca[1]];return Math.sqrt(ra*ra+M*M)}
function po(M,W,ca){ca||(ca=ro);return 180*Math.atan2(W[ca[1]]-M[ca[1]],W[ca[0]]-M[ca[0]])/Math.PI}
function Mb(){this.evEl="mousedown";this.evWin="mousemove mouseup";this.allow=!0;this.pressed=!1;ea.apply(this,arguments)}
function Uh(){this.evEl=nA;this.evWin=vH;ea.apply(this,arguments);this.store=this.manager.session.pointerEvents=[]}
function jh(){this.evTarget="touchstart touchmove touchend touchcancel";this.targetIds={};ea.apply(this,arguments)}
function bq(){ea.apply(this,arguments);var M=A(this.handler,this);this.touch=new jh(this.manager,M);this.mouse=new Mb(this.manager,M)}
function jA(M,W){this.manager=M;this.set(W)}
function pV(M){if(-1<M.indexOf("none"))return"none";var W=-1<M.indexOf("pan-x"),ca=-1<M.indexOf("pan-y");return W&&ca?"pan-x pan-y":W||ca?W?"pan-x":"pan-y":-1<M.indexOf("manipulation")?"manipulation":"auto"}
function pk(M){this.id=sV++;this.manager=null;this.options=v(M||{},this.defaults);M=this.options.enable;this.options.enable=M===h?!0:M;this.state=1;this.simultaneous={};this.requireFail=[]}
function pH(M){return 16==M?"down":8==M?"up":2==M?"left":4==M?"right":""}
function Fv(M,W){return(W=W.manager)?W.get(M):M}
function Ji(){pk.apply(this,arguments)}
function ss(){Ji.apply(this,arguments);this.pY=this.pX=null}
function kA(){Ji.apply(this,arguments)}
function Gv(){pk.apply(this,arguments);this._input=this._timer=null}
function lA(){Ji.apply(this,arguments)}
function ts(){Ji.apply(this,arguments)}
function us(){pk.apply(this,arguments);this.pCenter=this.pTime=!1;this._input=this._timer=null;this.count=0}
function cq(M,W){W=W||{};var ca=W.recognizers;W.recognizers=ca===h?cq.defaults.preset:ca;return new qo(M,W)}
function qo(M,W){W=W||{};this.options=v(W,cq.defaults);this.options.inputTarget=this.options.inputTarget||M;this.handlers={};this.session={};this.recognizers=[];this.element=M;this.input=na(this);this.touchAction=new jA(this,this.options.touchAction);qH(this,!0);p(W.recognizers,function(ca){var ra=this.add(new ca[0](ca[1]));ca[2]&&ra.recognizeWith(ca[2]);ca[3]&&ra.requireFailure(ca[2])},this)}
function qH(M,W){var ca=M.element;p(M.options.cssProps,function(ra,La){ca.style[Ca(ca.style,La)]=W?ra:""})}
function rH(M,W){var ca=d.createEvent("Event");ca.initEvent(M,!0,!0);ca.gesture=W;W.target.dispatchEvent(ca)}
var sH=" webkit moz MS ms o".split(" "),rV=d.createElement("div"),dq=Math.round,vs=Math.abs,mA=Date.now,sV=1,Hv=/mobile|tablet|ip(ad|hone|od)|android/i,tH="ontouchstart"in c,ws=Ca(c,"PointerEvent")!==h,Ym=tH&&Hv.test(navigator.userAgent),ro=["x","y"],xs=["clientX","clientY"];ea.prototype={handler:function(){},
destroy:function(){this.evEl&&J(this.element,this.evEl,this.domHandler);this.evTarget&&J(this.target,this.evTarget,this.domHandler);this.evWin&&J(c,this.evWin,this.domHandler)}};
var eq={mousedown:1,mousemove:2,mouseup:4};z(Mb,ea,{handler:function(M){var W=eq[M.type];W&1&&0===M.button&&(this.pressed=!0);W&2&&1!==M.which&&(W=4);this.pressed&&this.allow&&(W&4&&(this.pressed=!1),this.callback(this.manager,W,{pointers:[M],changedPointers:[M],pointerType:"mouse",srcEvent:M}))}});
var tV={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},uH={2:"touch",3:"pen",4:"mouse",5:"kinect"},nA="pointerdown",vH="pointermove pointerup pointercancel";c.MSPointerEvent&&(nA="MSPointerDown",vH="MSPointerMove MSPointerUp MSPointerCancel");z(Uh,ea,{handler:function(M){var W=this.store,ca=!1,ra=M.type.toLowerCase().replace("ms","");ra=tV[ra];var La=uH[M.pointerType]||M.pointerType;ra&1&&(0===M.button||"touch"==La)?W.push(M):ra&12&&(ca=!0);var vb=da(W,M.pointerId,"pointerId");
0>vb||(W[vb]=M,this.callback(this.manager,ra,{pointers:W,changedPointers:[M],pointerType:La,srcEvent:M}),ca&&W.splice(vb,1))}});
var fq={touchstart:1,touchmove:2,touchend:4,touchcancel:8};z(jh,ea,{handler:function(M){var W=fq[M.type];var ca=Array.prototype.slice.call(M.touches,0);var ra=this.targetIds;if(W&3&&1===ca.length)ra[ca[0].identifier]=!0,ra=[ca,ca];else{var La,vb=Array.prototype.slice.call(M.targetTouches,0),$b=Array.prototype.slice.call(M.changedTouches,0),qe=[];if(1===W)for(ca=0,La=vb.length;ca<La;ca++)ra[vb[ca].identifier]=!0;ca=0;for(La=$b.length;ca<La;ca++)ra[$b[ca].identifier]&&qe.push($b[ca]),W&12&&delete ra[$b[ca].identifier];
ra=qe.length?[sa(vb.concat(qe),"identifier",!0),qe]:void 0}ra&&this.callback(this.manager,W,{pointers:ra[0],changedPointers:ra[1],pointerType:"touch",srcEvent:M})}});
z(bq,ea,{handler:function(M,W,ca){var ra="mouse"==ca.pointerType;if("touch"==ca.pointerType)this.mouse.allow=!1;else if(ra&&!this.mouse.allow)return;W&12&&(this.mouse.allow=!0);this.callback(M,W,ca)},
destroy:function(){this.touch.destroy();this.mouse.destroy()}});
var wH=Ca(rV.style,"touchAction"),oA=wH!==h;jA.prototype={set:function(M){"compute"==M&&(M=this.compute());oA&&(this.manager.element.style[wH]=M);this.actions=M.toLowerCase().trim()},
update:function(){this.set(this.manager.options.touchAction)},
compute:function(){var M=[];p(this.manager.recognizers,function(W){D(W.options.enable,[W])&&(M=M.concat(W.getTouchAction()))});
return pV(M.join(" "))},
preventDefaults:function(M){if(!oA){var W=M.srcEvent;M=M.offsetDirection;if(this.manager.session.prevented)W.preventDefault();else{var ca=this.actions,ra=-1<ca.indexOf("none"),La=-1<ca.indexOf("pan-y");ca=-1<ca.indexOf("pan-x");if(ra||La&&ca||La&&M&6||ca&&M&24)return this.preventSrc(W)}}},
preventSrc:function(M){this.manager.session.prevented=!0;M.preventDefault()}};
pk.prototype={defaults:{},set:function(M){r(this.options,M);this.manager&&this.manager.touchAction.update();return this},
recognizeWith:function(M){if(m(M,"recognizeWith",this))return this;var W=this.simultaneous;M=Fv(M,this);W[M.id]||(W[M.id]=M,M.recognizeWith(this));return this},
dropRecognizeWith:function(M){if(m(M,"dropRecognizeWith",this))return this;M=Fv(M,this);delete this.simultaneous[M.id];return this},
requireFailure:function(M){if(m(M,"requireFailure",this))return this;var W=this.requireFail;M=Fv(M,this);-1===da(W,M)&&(W.push(M),M.requireFailure(this));return this},
dropRequireFailure:function(M){if(m(M,"dropRequireFailure",this))return this;M=Fv(M,this);M=da(this.requireFail,M);-1<M&&this.requireFail.splice(M,1);return this},
hasRequireFailures:function(){return 0<this.requireFail.length},
canRecognizeWith:function(M){return!!this.simultaneous[M.id]},
emit:function(M){function W(La){ca.manager.emit(ca.options.event+(La?ra&16?"cancel":ra&8?"end":ra&4?"move":ra&2?"start":"":""),M)}
var ca=this,ra=this.state;8>ra&&W(!0);W();8<=ra&&W(!0)},
tryEmit:function(M){if(this.canEmit())return this.emit(M);this.state=32},
canEmit:function(){for(var M=0;M<this.requireFail.length;M++)if(!(this.requireFail[M].state&33))return!1;return!0},
recognize:function(M){M=r({},M);D(this.options.enable,[this,M])?(this.state&56&&(this.state=1),this.state=this.process(M),this.state&30&&this.tryEmit(M)):(this.reset(),this.state=32)},
process:function(){},
getTouchAction:function(){},
reset:function(){}};
z(Ji,pk,{defaults:{pointers:1},attrTest:function(M){var W=this.options.pointers;return 0===W||M.pointers.length===W},
process:function(M){var W=this.state,ca=M.eventType,ra=W&6;M=this.attrTest(M);return ra&&(ca&8||!M)?W|16:ra||M?ca&4?W|8:W&2?W|4:2:32}});
z(ss,Ji,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var M=this.options.direction;if(30===M)return["none"];var W=[];M&6&&W.push("pan-y");M&24&&W.push("pan-x");return W},
directionTest:function(M){var W=this.options,ca=!0,ra=M.distance,La=M.direction,vb=M.deltaX,$b=M.deltaY;La&W.direction||(W.direction&6?(La=0===vb?1:0>vb?2:4,ca=vb!=this.pX,ra=Math.abs(M.deltaX)):(La=0===$b?1:0>$b?8:16,ca=$b!=this.pY,ra=Math.abs(M.deltaY)));M.direction=La;return ca&&ra>W.threshold&&La&W.direction},
attrTest:function(M){return Ji.prototype.attrTest.call(this,M)&&(this.state&2||!(this.state&2)&&this.directionTest(M))},
emit:function(M){this.pX=M.deltaX;this.pY=M.deltaY;var W=pH(M.direction);W&&this.manager.emit(this.options.event+W,M);this._super.emit.call(this,M)}});
z(kA,Ji,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},
attrTest:function(M){return this._super.attrTest.call(this,M)&&(Math.abs(M.scale-1)>this.options.threshold||this.state&2)},
emit:function(M){this._super.emit.call(this,M);1!==M.scale&&this.manager.emit(this.options.event+(1>M.scale?"in":"out"),M)}});
z(Gv,pk,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return["auto"]},
process:function(M){var W=this.options,ca=M.pointers.length===W.pointers,ra=M.distance<W.threshold,La=M.deltaTime>W.time;this._input=M;if(!ra||!ca||M.eventType&12&&!La)this.reset();else if(M.eventType&1)this.reset(),this._timer=l(function(){this.state=8;this.tryEmit()},W.time,this);
else if(M.eventType&4)return 8;return 32},
reset:function(){clearTimeout(this._timer)},
emit:function(M){8===this.state&&(M&&M.eventType&4?this.manager.emit(this.options.event+"up",M):(this._input.timeStamp=mA(),this.manager.emit(this.options.event,this._input)))}});
z(lA,Ji,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},
attrTest:function(M){return this._super.attrTest.call(this,M)&&(Math.abs(M.rotation)>this.options.threshold||this.state&2)}});
z(ts,Ji,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:30,pointers:1},getTouchAction:function(){return ss.prototype.getTouchAction.call(this)},
attrTest:function(M){var W=this.options.direction;if(W&30)var ca=M.velocity;else W&6?ca=M.velocityX:W&24&&(ca=M.velocityY);return this._super.attrTest.call(this,M)&&W&M.direction&&vs(ca)>this.options.velocity&&M.eventType&4},
emit:function(M){var W=pH(M.direction);W&&this.manager.emit(this.options.event+W,M);this.manager.emit(this.options.event,M)}});
z(us,pk,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return["manipulation"]},
process:function(M){var W=this.options,ca=M.pointers.length===W.pointers,ra=M.distance<W.threshold,La=M.deltaTime<W.time;this.reset();if(M.eventType&1&&0===this.count)return this.failTimeout();if(ra&&La&&ca){if(4!=M.eventType)return this.failTimeout();ca=this.pTime?M.timeStamp-this.pTime<W.interval:!0;ra=!this.pCenter||Ya(this.pCenter,M.center)<W.posThreshold;this.pTime=M.timeStamp;this.pCenter=M.center;ra&&ca?this.count+=1:this.count=1;this._input=M;if(0===this.count%W.taps)return this.hasRequireFailures()?
(this._timer=l(function(){this.state=8;this.tryEmit()},W.interval,this),2):8}return 32},
failTimeout:function(){this._timer=l(function(){this.state=32},this.options.interval,this);
return 32},
reset:function(){clearTimeout(this._timer)},
emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});
cq.VERSION="2.0.2";cq.defaults={domEvents:!1,touchAction:"compute",inputTarget:null,enable:!0,preset:[[lA,{enable:!1}],[kA,{enable:!1},["rotate"]],[ts,{direction:6}],[ss,{direction:6},["swipe"]],[us],[us,{event:"doubletap",taps:2},["tap"]],[Gv]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};qo.prototype={set:function(M){r(this.options,M);return this},
stop:function(M){this.session.stopped=M?2:1},
recognize:function(M){var W=this.session;if(!W.stopped){this.touchAction.preventDefaults(M);var ca=this.recognizers,ra=W.curRecognizer;if(!ra||ra&&ra.state&8)ra=W.curRecognizer=null;for(var La=0,vb=ca.length;La<vb;La++){var $b=ca[La];2===W.stopped||ra&&$b!=ra&&!$b.canRecognizeWith(ra)?$b.reset():$b.recognize(M);!ra&&$b.state&14&&(ra=W.curRecognizer=$b)}}},
get:function(M){if(M instanceof pk)return M;for(var W=this.recognizers,ca=0;ca<W.length;ca++)if(W[ca].options.event==M)return W[ca];return null},
add:function(M){if(m(M,"add",this))return this;var W=this.get(M.options.event);W&&this.remove(W);this.recognizers.push(M);M.manager=this;this.touchAction.update();return M},
remove:function(M){if(m(M,"remove",this))return this;var W=this.recognizers;M=this.get(M);W.splice(da(W,M),1);this.touchAction.update();return this},
on:function(M,W){var ca=this.handlers;p(R(M),function(ra){ca[ra]=ca[ra]||[];ca[ra].push(W)});
return this},
off:function(M,W){var ca=this.handlers;p(R(M),function(ra){W?ca[ra].splice(da(ca[ra],W),1):delete ca[ra]});
return this},
emit:function(M,W){this.options.domEvents&&rH(M,W);var ca=this.handlers[M]&&this.handlers[M].slice();if(ca&&ca.length){W.type=M;W.preventDefault=function(){W.srcEvent.preventDefault()};
M=0;for(var ra=ca.length;M<ra;M++)ca[M](W)}},
destroy:function(){this.element&&qH(this,!1);this.handlers={};this.session={};this.input.destroy();this.element=null}};
r(cq,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:qo,Input:ea,TouchAction:jA,Recognizer:pk,AttrRecognizer:Ji,Tap:us,Pan:ss,Swipe:ts,Pinch:kA,Rotate:lA,Press:Gv,on:E,off:J,each:p,merge:v,extend:r,inherit:z,bindFn:A,prefixed:Ca});
c[e]=cq})(window,document,"Hammer");
return window.Hammer}.call({});
b.DOCUMENT=a;a[YXa]=b}return a[YXa]};
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var EE=function(){_.uk.call(this);this.eventHandlers_=[]};
_.q(EE,_.uk);EE.prototype.unlisten=function(a){for(var b=0;b<this.eventHandlers_.length;b++)if(this.eventHandlers_[b]==a){this.eventHandlers_.splice(b,1);a.target.removeEventListener(a.name,a.callback);break}};
EE.prototype.disposeInternal=function(){for(;this.eventHandlers_.length;){var a=this.eventHandlers_.pop();a.target.removeEventListener(a.name,a.callback,void 0)}_.uk.prototype.disposeInternal.call(this)};
var FE=function(a){a=a||{};var b={},c={};this.url=a.url||"";this.args=a.args||_.u.clone(b);this.assets=a.assets||{};this.attrs=a.attrs||_.u.clone(c);this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}};
FE.prototype.clone=function(){var a=new FE,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];a[b]="object"==_.Zi(c)?_.u.clone(c):c}return a};
var GE=function(a){_.fs.call(this,void 0===a?"document_active":a);var b=this;this.overridePriority=10;this.JSC$37783_hasRun=new Map;this.transitions=[{from:"document_active",to:"document_disposed_preventable",action:this.runPreventableDispose},{from:"document_active",to:"document_disposed",action:this.runDispose},{from:"document_disposed_preventable",to:"document_disposed",action:this.runDispose},{from:"document_disposed_preventable",to:"flush_logs",action:this.runFlush},{from:"document_disposed_preventable",
to:"document_active",action:this.runActive},{from:"document_disposed",to:"flush_logs",action:this.runFlush},{from:"document_disposed",to:"document_active",action:this.runActive},{from:"document_disposed",to:"document_disposed",action:function(){}},
{from:"flush_logs",to:"document_active",action:this.runActive}];window.addEventListener("pagehide",function(c){b.transition("document_disposed",{event:c})});
window.addEventListener("beforeunload",function(c){b.transition("document_disposed_preventable",{event:c})});
window.addEventListener("unload",function(c){b.transition("document_disposed",{event:c});b.JSC$37783_hasRun=new Map})};
_.q(GE,_.fs);
GE.prototype.runPreventableDispose=function(a,b){if(!this.JSC$37783_hasRun.get("document_disposed_preventable")){a(null==b?void 0:b.event);var c,d;if((null==b?0:null==(c=b.event)?0:c.defaultPrevented)||(null==b?0:null==(d=b.event)?0:d.returnValue)){b.event.returnValue||(b.event.returnValue=!0);b.event.defaultPrevented||b.event.preventDefault();this.JSC$37783_hasRun=new Map;this.transition("document_active");return}}this.JSC$37783_hasRun.set("document_disposed_preventable",!0);this.JSC$37783_hasRun.get("document_disposed")?this.transition("flush_logs"):
this.transition("document_disposed")};
GE.prototype.runDispose=function(a,b){this.JSC$37783_hasRun.get("document_disposed")?this.transition("document_active"):(a(null==b?void 0:b.event),this.JSC$37783_hasRun.set("document_disposed",!0),this.transition("flush_logs"))};
GE.prototype.runFlush=function(a,b){a(null==b?void 0:b.event);this.transition("document_active")};
GE.prototype.runActive=function(){};
var HE=function(a){_.fs.call(this,void 0===a?"document_visibility_unknown":a);var b=this;this.transitions=[{from:"document_visibility_unknown",to:"document_visible",action:this.runVisible},{from:"document_visibility_unknown",to:"document_hidden",action:this.runHidden},{from:"document_visibility_unknown",to:"document_foregrounded",action:this.runForegrounded},{from:"document_visibility_unknown",to:"document_backgrounded",action:this.runBackgrounded},{from:"document_visible",to:"document_hidden",action:this.runHidden},
{from:"document_visible",to:"document_foregrounded",action:this.runForegrounded},{from:"document_visible",to:"document_visible",action:this.runVisible},{from:"document_foregrounded",to:"document_visible",action:this.runVisible},{from:"document_foregrounded",to:"document_hidden",action:this.runHidden},{from:"document_foregrounded",to:"document_foregrounded",action:this.runForegrounded},{from:"document_hidden",to:"document_visible",action:this.runVisible},{from:"document_hidden",to:"document_backgrounded",
action:this.runBackgrounded},{from:"document_hidden",to:"document_hidden",action:this.runHidden},{from:"document_backgrounded",to:"document_hidden",action:this.runHidden},{from:"document_backgrounded",to:"document_backgrounded",action:this.runBackgrounded},{from:"document_backgrounded",to:"document_visible",action:this.runVisible}];document.addEventListener("visibilitychange",function(c){"visible"===document.visibilityState?b.transition("document_visible",{event:c}):b.transition("document_hidden",
{event:c})});
_.x("visibility_lifecycles_dynamic_backgrounding")&&(window.addEventListener("blur",function(c){b.transition("document_backgrounded",{event:c})}),window.addEventListener("focus",function(c){b.transition("document_foregrounded",{event:c})}))};
_.q(HE,_.fs);HE.prototype.runVisible=function(a,b){a(null==b?void 0:b.event);_.x("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_foregrounded")};
HE.prototype.runHidden=function(a,b){a(null==b?void 0:b.event);_.x("visibility_lifecycles_dynamic_backgrounding")&&this.transition("document_backgrounded")};
HE.prototype.runBackgrounded=function(a,b){a(null==b?void 0:b.event)};
HE.prototype.runForegrounded=function(a,b){a(null==b?void 0:b.event)};
_.IE=function(){this.teardownLifecycle=new GE;this.visibilityLifecycle=new HE};
_.IE.prototype.install=function(){var a=_.Ob.apply(0,arguments);this.teardownLifecycle.install.apply(this.teardownLifecycle,_.sc(a));this.visibilityLifecycle.install.apply(this.visibilityLifecycle,_.sc(a))};
var DXa=/cssbin\/(?:debug-)?([a-zA-Z0-9_-]+?)(?:-2x|-web|-rtl|-vfl|.css)/;
var $Xa=document.createElement("div");$Xa.style.touchAction="pan-down";var FXa="pan-down"===$Xa.style.touchAction;
var aYa,bYa;aYa=function(){this.hammerFn=ZXa();this.JSC$37798_screenManager=_.vp();this.lastPinchTime=NaN;this.nodeManagerMapping=new Map;_.x("kevlar_touch_gesture_ves")&&this.JSC$37798_screenManager&&(this.ve=_.oo(83615),_.DE(this.JSC$37798_screenManager,this.ve));_.x("kevlar_pandown_polyfill")&&GXa()};
_.JE=function(){bYa||(bYa=new aYa);return bYa};
aYa.prototype.registerTouchEvents=function(a,b,c){var d=_.Ob.apply(3,arguments),e=this.hammerFn(a,{cssProps:{},recognizers:[[Hammer.Rotate,{enable:!1}],[Hammer.Pinch,{enable:!1},["rotate"]],[Hammer.Swipe,{enable:!1,direction:Hammer.DIRECTION_HORIZONTAL}],[Hammer.Pan,{enable:!1,direction:Hammer.DIRECTION_HORIZONTAL},["swipe"]],[Hammer.Tap,{enable:!1}],[Hammer.Tap,{enable:!1,event:"doubletap",taps:2},["tap"]],[Hammer.Press,{enable:!1}]]});c&&e.set({touchAction:c});this.nodeManagerMapping.set(a,e);var h=
HXa(b);d=_.k(d);for(var l=d.next();!l.done;l=d.next()){l=l.value;if(l.includes("swipe")||l.includes("pinch")||l.includes("pan"))l.includes("swipe")?e.get("swipe").set({enable:!0,direction:h,velocity:.2}):l.includes("pinch")?e.get("pinch").set({enable:!0}):l.includes("pan")&&(e.get("pan").set({enable:!0,direction:h}),e.get("swipe").set({enable:!0,direction:h,velocity:.2}),e.get("swipe").recognizeWith("pan"));cYa(this,a,e,l)}};
var cYa=function(a,b,c,d){c.on(d,function(e){if(d.includes("pinch"))a.lastPinchTime=Date.now();else if(d.includes("swipe")&&400>Date.now()-a.lastPinchTime)return;"mouse"!==e.pointerType&&(e="doubletap"===d?{coordinates:e.center}:d.includes("pan")?e:d.includes("swipe")?{target:e.target}:{},b.dispatchEvent(new CustomEvent(d,{bubbles:!0,composed:!0,detail:e})))})};
aYa.prototype.unregisterTouchEvents=function(a){var b=_.Ob.apply(1,arguments),c=this.nodeManagerMapping.get(a);if(c){b=_.k(b);for(var d=b.next();!d.done;d=b.next())c.off(d.value);this.nodeManagerMapping.delete(a);a.style.touchAction="unset"}};
var KE=function(){_.IE.call(this);var a={};this.install((a.document_disposed={callback:this.abortSlisAndFlush},a));a={};this.install((a.flush_logs={callback:this.logFinalPayload},a))},dYa;
_.q(KE,_.IE);_.IXa=function(){dYa||(dYa=new KE);return dYa};
KE.prototype.logFinalPayload=function(){if(_.x("web_fp_via_jspb")){var a=new XXa,b=_.fg();b&&a.setCsn(b);b=new _.Df;_.Of(b,380,_.Pf,a);_.Nf(b);_.x("web_fp_via_jspb_and_json")&&_.Kf("finalPayload",{csn:_.fg()})}else _.Kf("finalPayload",{csn:_.fg()})};
KE.prototype.abortSlisAndFlush=function(){_.Fxa(_.lo);null!=_.to&&_.to.flush()};
var KXa=!1,yE,MXa=!1,zE;
var eYa=function(){EE.apply(this,arguments)};
_.q(eYa,EE);
var BE=function(a,b,c,d){_.uk.call(this);var e=this;this.playerId=b;this.webPlayerContextConfig=d;this.isCurrentPlayerApiSetup=!1;this.api={};this.playerRemoveEventListener=this.playerAddEventListener=null;this.JSC$37819_pubsub=new _.fm;this.globalCallbacks={};this.currentPlayerType=this.readyCallback=this.elementId=this.unmodifiedConfig=this.config=null;this.creatingPlayer=!1;this.bootstrapPlayer=this.createPlayerCallback=null;this.wrappedCallbacks={};this.internalEvents=["onReady"];this.lastError=
null;this.readyPollTimer=NaN;this.globalCallbackTimerIds={};this.mouseWheelListeners=new eYa(this);this.initialLoadConfigTimerId=0;this.JSC$37819_containerElement=this.JSC$37819_targetElement=a;_.wk(this,this.JSC$37819_pubsub);fYa(this);this.addEventListeners();_.wk(this,this.mouseWheelListeners);c?this.initialLoadConfigTimerId=_.Bd(function(){e.loadNewVideoConfig(c)},0):d&&(gYa(this),hYa(this))};
_.q(BE,_.uk);BE.prototype.getId=function(){return this.playerId};
BE.prototype.loadNewVideoConfig=function(a){if(!this.isDisposed()){this.initialLoadConfigTimerId&&(_.Dd(this.initialLoadConfigTimerId),this.initialLoadConfigTimerId=0);var b=a||{};b instanceof FE||(b=new FE(b));this.config=b;this.setConfig(a);hYa(this);this.isReady()&&iYa(this)}};
var gYa=function(a){var b;a.webPlayerContextConfig?b=a.webPlayerContextConfig.rootElementId:b=a.config.attrs.id;a.elementId=b||a.elementId;"video-player"===a.elementId&&(a.elementId=a.playerId,a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId=a.playerId:a.config.attrs.id=a.playerId);var c;(null==(c=a.JSC$37819_containerElement)?void 0:c.id)===a.elementId&&(a.elementId+="-player",a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId=a.elementId:a.config.attrs.id=a.elementId)};
BE.prototype.setConfig=function(a){this.unmodifiedConfig=a;this.config=jYa(a);gYa(this);if(!this.readyCallback){var b;this.readyCallback=kYa(this,(null==(b=this.config.args)?void 0:b.jsapicallback)||"onYouTubePlayerReady")}this.config.args?this.config.args.jsapicallback=null:this.config.args={jsapicallback:null};var c;if(null==(c=this.config)?0:c.attrs)a=this.config.attrs,(b=a.width)&&this.JSC$37819_containerElement&&(this.JSC$37819_containerElement.style.width=_.Lx(Number(b)||b,!0)),(a=a.height)&&
this.JSC$37819_containerElement&&(this.JSC$37819_containerElement.style.height=_.Lx(Number(a)||a,!0))};
var iYa=function(a){if(a.config&&!0!==a.config.loaded)if(a.config.loaded=!0,!a.config.args||"0"!==a.config.args.autoplay&&0!==a.config.args.autoplay&&!1!==a.config.args.autoplay){var b;a.api.loadVideoByPlayerVars(null!=(b=a.config.args)?b:null)}else a.api.cueVideoByPlayerVars(a.config.args)},mYa=function(a){var b=!0,c=a.getPlayerElement();
c&&a.config&&(a=lYa(a),b=(c?c.dataset?c.dataset[yXa()]:c.getAttribute("data-version"):null)===a);return b&&!!_.ld("yt.player.Application.create")},hYa=function(a){if(!a.isDisposed()&&!a.creatingPlayer){var b=mYa(a);
if(b&&"html5"===(a.getPlayerElement()?"html5":null))a.currentPlayerType="html5",a.isReady()||LE(a);else if(nYa(a),a.currentPlayerType="html5",b&&a.bootstrapPlayer&&a.JSC$37819_targetElement)a.JSC$37819_targetElement.appendChild(a.bootstrapPlayer),LE(a);else{a.config&&(a.config.loaded=!0);var c=!1;a.createPlayerCallback=function(){c=!0;var d=oYa(a,"player_bootstrap_method")?_.ld("yt.player.Application.createAlternate")||_.ld("yt.player.Application.create"):_.ld("yt.player.Application.create");var e=
a.config?jYa(a.config):void 0;d&&d(a.JSC$37819_targetElement,e,a.webPlayerContextConfig);LE(a)};
a.creatingPlayer=!0;b?a.createPlayerCallback():(_.vE(lYa(a),a.createPlayerCallback),(b=pYa(a))&&EXa(b),qYa(a)&&!c&&_.Fe("yt.player.Application.create",null))}}};
BE.prototype.getPlayerElement=function(){var a=_.hk(document,this.elementId);!a&&this.JSC$37819_containerElement&&this.JSC$37819_containerElement.querySelector&&(a=this.JSC$37819_containerElement.querySelector("#"+this.elementId));return a};
var LE=function(a){if(!a.isDisposed()){var b=a.getPlayerElement(),c=!1;b&&b.getApiInterface&&b.getApiInterface()&&(c=!0);if(c){a.creatingPlayer=!1;if(!oYa(a,"html5_remove_not_servable_check_killswitch")){var d;if((null==b?0:b.isNotServable)&&a.config&&(null==b?0:b.isNotServable(null==(d=a.config.args)?void 0:d.video_id)))return}rYa(a)}else a.readyPollTimer=_.Bd(function(){LE(a)},50)}},rYa=function(a){fYa(a);
a.isCurrentPlayerApiSetup=!0;var b=a.getPlayerElement();if(b){a.playerAddEventListener=sYa(a,b,"addEventListener");a.playerRemoveEventListener=sYa(a,b,"removeEventListener");var c=b.getApiInterface();c=c.concat(b.getInternalApiInterface());for(var d=a.api,e=0;e<c.length;e++){var h=c[e];d[h]||(d[h]=sYa(a,b,h))}}for(var l in a.globalCallbacks)a.globalCallbacks.hasOwnProperty(l)&&a.playerAddEventListener&&a.playerAddEventListener(l,a.globalCallbacks[l]);iYa(a);a.readyCallback&&a.readyCallback(a.api);
a.JSC$37819_pubsub.JSC$32713_publish("onReady",a.api)},sYa=function(a,b,c){var d=b[c];
return function(){var e=_.Ob.apply(0,arguments);try{return a.lastError=null,d.apply(b,e)}catch(h){"sendAbandonmentPing"!==c&&(h.params=c,a.lastError=h,_.Rf(h))}}},fYa=function(a){a.isCurrentPlayerApiSetup=!1;
if(a.playerRemoveEventListener)for(var b in a.globalCallbacks)a.globalCallbacks.hasOwnProperty(b)&&a.playerRemoveEventListener(b,a.globalCallbacks[b]);for(var c in a.globalCallbackTimerIds)a.globalCallbackTimerIds.hasOwnProperty(c)&&_.Dd(Number(c));a.globalCallbackTimerIds={};a.playerAddEventListener=null;a.playerRemoveEventListener=null;b=a.api;for(var d in b)b.hasOwnProperty(d)&&(b[d]=null);b.addEventListener=function(e,h){a.addEventListener(e,h)};
b.removeEventListener=function(e,h){a.removeEventListener(e,h)};
b.destroy=function(){a.dispose()};
b.getLastError=function(){return a.getLastError()};
b.getPlayerType=function(){return a.getPlayerType()};
b.getCurrentVideoConfig=function(){return a.unmodifiedConfig};
b.loadNewVideoConfig=function(e){a.loadNewVideoConfig(e)};
b.isReady=function(){return a.isReady()}};
BE.prototype.isReady=function(){return this.isCurrentPlayerApiSetup};
BE.prototype.addEventListeners=function(){this.addEventListener("WATCH_LATER_VIDEO_ADDED",function(a){_.xE("WATCH_LATER_VIDEO_ADDED",a)});
this.addEventListener("WATCH_LATER_VIDEO_REMOVED",function(a){_.xE("WATCH_LATER_VIDEO_REMOVED",a)})};
BE.prototype.addEventListener=function(a,b){var c=this;this.isDisposed();var d=kYa(this,b);d&&(_.ha(this.internalEvents,a)||this.globalCallbacks[a]||(b=tYa(this,a),this.playerAddEventListener&&this.playerAddEventListener(a,b)),this.JSC$37819_pubsub.subscribe(a,d),"onReady"===a&&this.isReady()&&_.Bd(function(){d(c.api)},0))};
BE.prototype.removeEventListener=function(a,b){this.isDisposed()||(b=kYa(this,b))&&this.JSC$37819_pubsub.unsubscribe(a,b)};
var kYa=function(a,b){var c=b;if("string"===typeof b){if(a.wrappedCallbacks[b])return a.wrappedCallbacks[b];c=function(){var d=_.Ob.apply(0,arguments),e=_.ld(b);if(e)try{e.apply(_.g,d)}catch(h){_.Qf(h)}};
a.wrappedCallbacks[b]=c}return c?c:null},tYa=function(a,b){var c="ytPlayer"+b+a.playerId;
a.globalCallbacks[b]=c;_.g[c]=function(d){var e=_.Bd(function(){a.isDisposed();a.isDisposed()||(a.JSC$37819_pubsub.JSC$32713_publish(b,null!=d?d:void 0),_.u.remove(a.globalCallbackTimerIds,String(e)))},0);
_.u.add(a.globalCallbackTimerIds,String(e),!0)};
return c};
BE.prototype.getPlayerType=function(){return this.currentPlayerType||(this.getPlayerElement()?"html5":null)};
BE.prototype.getLastError=function(){return this.lastError};
var nYa=function(a){a.cancel();fYa(a);a.currentPlayerType=null;a.config&&(a.config.loaded=!1);var b=a.getPlayerElement();b&&(mYa(a)||!qYa(a)?a.bootstrapPlayer=b:(b&&b.destroy&&b.destroy(),a.bootstrapPlayer=null));a.JSC$37819_targetElement&&_.Kx(a.JSC$37819_targetElement)};
BE.prototype.cancel=function(){this.createPlayerCallback&&_.zXa(lYa(this),this.createPlayerCallback);_.Dd(this.readyPollTimer);this.creatingPlayer=!1};
BE.prototype.disposeInternal=function(){nYa(this);if(this.bootstrapPlayer&&this.config&&this.bootstrapPlayer.destroy)try{this.bootstrapPlayer.destroy()}catch(b){_.Qf(b)}this.wrappedCallbacks=null;for(var a in this.globalCallbacks)this.globalCallbacks.hasOwnProperty(a)&&(_.g[this.globalCallbacks[a]]=null);this.unmodifiedConfig=this.config=this.api=null;delete this.JSC$37819_targetElement;delete this.JSC$37819_containerElement;_.uk.prototype.disposeInternal.call(this)};
var qYa=function(a){var b,c;a=null==(b=a.config)?void 0:null==(c=b.args)?void 0:c.fflags;return!!a&&-1!==a.indexOf("player_destroy_old_version=true")},lYa=function(a){return a.webPlayerContextConfig?a.webPlayerContextConfig.jsUrl:(a=a.config.assets)?a.js:""},pYa=function(a){return a.webPlayerContextConfig?a.webPlayerContextConfig.cssUrl:(a=a.config.assets)?a.css:""},oYa=function(a,b){if(a.webPlayerContextConfig)var c=a.webPlayerContextConfig.serializedExperimentFlags;
else{var d;if(null==(d=a.config)?0:d.args)c=a.config.args.fflags}return"true"===_.nd(c||"","&")[b]},jYa=function(a){for(var b={},c=_.k(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;
var e=a[d];b[d]="object"===typeof e?_.u.clone(e):e}return b};
var AE={},SXa="player_uid_"+(1E9*Math.random()>>>0);
var NE=function(a,b,c,d,e,h){this.webPlayerContextConfig=a;this.container=b;this.commandResolver=c;this.apiResolver=new _.dk;this.pageReadyOrDataAvailable=!1;this.pageReadyOrDataAvailableResolver=new _.dk;d||h?ME(this):uYa(this);this.pendingPlayerResponse=d;this.pendingWatchNextResponse=e;this.pendingPlayerVars=h;vYa(this)};
NE.prototype.loadVideoWithPlayerResponse=function(a,b,c){this.loadVideo(a,b,c)};
NE.prototype.loadVideoWithPlayerVars=function(a){return this.loadVideo(void 0,void 0,a)};
NE.prototype.destroy=function(a){if(a=_.hk(document,a))a=SXa+"_"+_.qa(a),(a=AE[a])&&a.dispose()};
var wYa=function(a,b){var c;_.y(function(d){if(1==d.nextAddress)return a.pendingWatchNextResponse=b,a.synchronousApi?(c=a.synchronousApi,d.jumpTo(2)):_.B(d,a.api,3);2!=d.nextAddress&&(c=d.yieldResult);a.pendingWatchNextResponse&&(c.updateVideoData({raw_watch_next_response:a.pendingWatchNextResponse}),a.pendingWatchNextResponse=void 0);_.bf(d)})},xYa=function(a,b){if("function"===typeof a[b])return a[b]()},yYa=function(a){var b=window,c,d=null==(c=b.ytplayer)?void 0:c.bootstrapPlayerContainer;
if((c=null==d?void 0:d.firstElementChild)&&_.Nx(c,"html5-video-player")){var e,h,l=null==(e=b.ytplayer)?void 0:null==(h=e.bootstrapWebPlayerContextConfig)?void 0:h.contextId;e=a.webPlayerContextConfig.contextId;if(l&&l===e){d!==a.container&&(d=!1,2===xYa(c,"getPlayerState")&&(d=!0),a.container.appendChild(c),d||xYa(c,"playVideo"));var m;if(null==(m=b.ytplayer)?0:m.bootstrapPlayerResponse)a.bootstrapPlayerResponse=b.ytplayer.bootstrapPlayerResponse}}},vYa=function(a){var b,c,d,e;
_.y(function(h){if(1==h.nextAddress)return a.pageReadyOrDataAvailable?h.jumpTo(2):_.B(h,a.pageReadyOrDataAvailableResolver.promise,2);if(4!=h.nextAddress)return!_.x("kevlar_player_unified_player_loading")||LXa()&&NXa()?h.jumpTo(4):_.B(h,QXa(),4);yYa(a);if(a.pendingPlayerResponse||a.pendingPlayerVars)b=RXa(a.pendingPlayerResponse,a.pendingWatchNextResponse,a.pendingPlayerVars),a.pendingPlayerResponse&&a.pendingPlayerResponse===a.bootstrapPlayerResponse&&(b.loaded=!0),a.bootstrapPlayerResponse=void 0;
c=UXa(a.container,b,a.webPlayerContextConfig);(null==(d=b)?0:d.loaded)&&a.pendingWatchNextResponse?(wYa(a,a.pendingWatchNextResponse),a.pendingPlayerResponse=void 0,a.pendingPlayerVars=void 0):zYa(a);e=function(l){c.removeEventListener("onReady",e);a.synchronousApi=l;a.apiResolver.resolve(l)};
c.addEventListener("onReady",e);c.addEventListener("innertubeCommand",function(l){return a.commandResolver(l)});
_.bf(h)})};
NE.prototype.loadVideo=function(a,b,c){var d=this,e,h,l,m,p,r,v,z,A;return _.y(function(D){if(1==D.nextAddress)return d.pendingPlayerResponse=a,d.pendingWatchNextResponse=b,d.pendingPlayerVars=c,ME(d),d.synchronousApi?(e=d.synchronousApi,D.jumpTo(2)):_.B(D,d.api,3);2!=D.nextAddress&&(e=D.yieldResult);l=new Promise(function(E){h=E});
m=function(){var E=e.getPlayerResponse();E&&(e.removeEventListener("onVideoDataChange",m),h(E))};
e.addEventListener("onVideoDataChange",m);if(d.pendingPlayerResponse||d.pendingPlayerVars)d.pendingPlayerResponse&&d.pendingPlayerResponse===d.bootstrapPlayerResponse?(h(d.pendingPlayerResponse),d.pendingWatchNextResponse&&wYa(d,d.pendingWatchNextResponse)):(p=RXa(d.pendingPlayerResponse,d.pendingWatchNextResponse,d.pendingPlayerVars),(A=null==(r=d.pendingPlayerResponse)?void 0:null==(v=r.playerConfig)?void 0:null==(z=v.playbackStartConfig)?void 0:z.startPaused)?e.cueVideoByPlayerVars(p.args):e.loadVideoByPlayerVars(p.args)),
zYa(d),d.bootstrapPlayerResponse=void 0;return D.return(l)})};
var uYa=function(a){if("complete"===document.readyState||"interactive"===document.readyState)ME(a);else{var b=function(){document.removeEventListener("DOMContentLoaded",b);ME(a)};
document.addEventListener("DOMContentLoaded",b)}},ME=function(a){a.pageReadyOrDataAvailable=!0;
a.pageReadyOrDataAvailableResolver.resolve()},zYa=function(a){a.pendingPlayerResponse=void 0;
a.pendingWatchNextResponse=void 0;a.pendingPlayerVars=void 0};
_.t.Object.defineProperties(NE.prototype,{api:{configurable:!0,enumerable:!0,get:function(){return this.apiResolver.promise}}});
var AYa={};
AYa.YtPlayerBehavior=[_.iu.YtComponentBehavior,_.tE.YtPlayerListenerBehavior,{properties:{watchNextData:{type:Object,observer:"watchNextDataChanged_"},context:{type:String},playerId:{type:String},disableTouchGestures:{type:Boolean}},listeners:{pinchout:"onPinchOut_",pinchin:"onPinchIn_",touchstart:"onTouchStart_"},created:function(){var a=this;this.player_=null;this.useUnifiedPlayer_()&&(this.mainAppPlayer_=void 0);this.playerResolver_=_.x("kevlar_player_use_native_promises")?new _.dk:_.Sk();this.playerContainer_=
this.initPlayerPromise_=null;this.preparePlayerJobId_=0;this.isResetForNewPlayback_=!0;this.bootstrapPlayerResponse_=void 0;JXa(function(){a.maybeSendAbandonmentPing_()})},
attached:function(){this.disableTouchGestures||(_.Hc(this,"pan-down"),_.x("kevlar_pinch_fullscreen")&&_.JE().registerTouchEvents(this,void 0,void 0,"pinchout","pinchin"))},
detached:function(){!this.disableTouchGestures&&_.x("kevlar_pinch_fullscreen")&&_.JE().unregisterTouchEvents(this,"pinchout","pinchin")},
createMainAppPlayer_:function(a,b,c){var d=this;CE(_.x("kevlar_unified_player"));this.mainAppPlayer_?CE(!1,"MainAppPlayer already created."):(this.mainAppPlayer_=new NE(this.getWebPlayerContextConfig_(),this.$.container,function(e){return d.resolveCommand(e)},a,b,c),this.mainAppPlayer_.api.then(function(e){d.player_=e;
"WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH"===d.context&&_.fAa.resolve(e)}))},
loadVideoWithPlayerResponse:function(a,b){var c=this;if(this.useUnifiedPlayer_()){var d=this.watchNextData,e,h=null==(e=a.videoDetails)?void 0:e.videoId,l,m,p;(e=null==(l=this.watchNextData)?void 0:null==(m=l.currentVideoEndpoint)?void 0:null==(p=m.watchEndpoint)?void 0:p.videoId)&&h!=e&&(d=void 0,_.x("kevlar_unified_player_clear_watch_next_killswitch")&&(this.watchNextData=void 0));this.mainAppPlayer_?this.mainAppPlayer_.loadVideoWithPlayerResponse(a,d,b):this.createMainAppPlayer_(a,d,b);this.mainAppPlayer_.api.then(function(){c.fire("yt-player-updated")})}else this.update(BXa(a,
b))},
loadVideoWithPlayerVars:function(a){var b=this;this.useUnifiedPlayer_()?(_.x("kevlar_unified_player_clear_watch_next_killswitch")&&(this.watchNextData=void 0),this.mainAppPlayer_?this.mainAppPlayer_.loadVideoWithPlayerVars(a):this.createMainAppPlayer_(void 0,void 0,a),this.mainAppPlayer_.api.then(function(){b.fire("yt-player-updated")})):this.update({args:a})},
update:function(a){var b=this;if(this.useUnifiedPlayer_())CE(!1,"Invalid method call in kevlar_unified_player.");else{if(this.hasWebPlayerContextConfig_()){this.updateSwfConfig_(a);var c=VXa(a.args);c&&this.get("currentVideoEndpoint.watchEndpoint.videoId",this.watchNextData)==c&&Object.assign(a.args,this.computeWatchNextPlayerVars_(this.watchNextData));this.isResetForNewPlayback_=!1;return this.acquireApi_(a).then(function(d){b.fire("yt-player-updated",d)})}_.Qf(new _.ge("Cannot initialize player for this context without a WebPlayerContextConfig.",
this.context))}},
updatePlayerComponents:function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,b.getPlayerPromise(),2);c=d.yieldResult;if(!c)throw Error("ke");a&&b.updatePlayerPlaylist_(a);_.bf(d)})},
acquireApi_:function(a){var b=this;if(this.useUnifiedPlayer_())CE(!1,"Invalid method call in kevlar_unified_player.");else return _.xe.cancelJob(this.preparePlayerJobId_),this.playerContainer_?(CE(this.initPlayerPromise_,"Missing initPlayerPromise_."),this.getPlayerPromise().then(function(c){b.shouldAutoplay_(a)?c.loadVideoByPlayerVars(a.args):c.cueVideoByPlayerVars(a.args)})):this.initPlayerPromise_=this.initPlayerContainer_(a),this.initPlayerPromise_},
initPlayerContainer_:function(a){var b=this;if(this.useUnifiedPlayer_())CE(!1,"Invalid method call in kevlar_unified_player.");else return CE(!this.initPlayerPromise_,"Player is already initialized."),this.initPlayerPromise_&&_.Rf(Error("le")),CE(!this.playerContainer_,"ytd-player should only be initialized once."),this.playerContainer_=this.$.container,QXa().then(function(){var c=b.initPlayer_(a);b.playerResolver_.resolve(c);return c})},
onPlayerReady_:function(a,b){this.useUnifiedPlayer_()?CE(!1,"Invalid method call in kevlar_unified_player."):(a.removeEventListener("onReady",this.onPlayerReadyEvent_),"WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH"===this.context&&_.fAa.resolve(a),b(a))},
maybeCallApiMethodOnElement_:function(a,b){if("function"===typeof a[b])return a[b]()},
maybeAdoptBootstrapPlayer_:function(){var a=window,b,c=null==(b=a.ytplayer)?void 0:b.bootstrapPlayerContainer;if((b=null==c?void 0:c.firstElementChild)&&b.classList.contains("html5-video-player")){var d,e,h=null==(d=a.ytplayer)?void 0:null==(e=d.bootstrapWebPlayerContextConfig)?void 0:e.contextId;d=this.getWebPlayerContextConfig_().contextId;if(h&&h===d){c!==this.playerContainer_&&(c=!1,2===this.maybeCallApiMethodOnElement_(b,"getPlayerState")&&(c=!0),this.playerContainer_.appendChild(b),c||this.maybeCallApiMethodOnElement_(b,
"playVideo"));var l;if(null==(l=a.ytplayer)?0:l.bootstrapPlayerResponse)this.bootstrapPlayerResponse_=a.ytplayer.bootstrapPlayerResponse}}},
initPlayer_:function(a){var b=this;if(this.useUnifiedPlayer_())CE(!1,"Invalid method call in kevlar_unified_player.");else return new (WXa())(function(c){b.maybeAdoptBootstrapPlayer_();var d=a?CXa(a):void 0;d&&d==b.bootstrapPlayerResponse_&&(a.loaded=!0);d=b.getWebPlayerContextConfig_();d=UXa(b.playerContainer_,a,d);b.player_=d;b.onPlayerReadyEvent_=b.onPlayerReady_.bind(b,b.player_,c);b.player_.addEventListener("onReady",b.onPlayerReadyEvent_);b.player_.addEventListener("innertubeCommand",b.onPlayerInnerTubeCommand_.bind(b))})},
getPlayerPromise:function(){return this.useUnifiedPlayer_()?(this.mainAppPlayer_||this.createMainAppPlayer_(),this.mainAppPlayer_.api):this.playerResolver_.promise},
getPlayer:function(){return this.player_&&this.player_.isReady()?this.player_:null},
pause:function(){this.getPlayerPromise().then(function(a){a.pauseVideo()})},
play:function(){this.getPlayerPromise().then(function(a){a.playVideo()})},
onTouchStart_:function(){if(!this.disableTouchGestures){var a=_.Eg().resolve(_.Co).getCurrentPage();a&&0>=a.getScrollTop()?_.Hc(this,"pan-down"):_.Hc(this,"manipulation")}},
onPinchOut_:function(){this.getPlayerPromise().then(function(a){a.isFullscreen()||a.toggleFullscreen()})},
onPinchIn_:function(){this.getPlayerPromise().then(function(a){a.isFullscreen()&&a.toggleFullscreen()})},
updatePlayerPlaylist_:function(a){var b=this,c,d,e;return _.y(function(h){if(1==h.nextAddress)return c=_.Eg().resolve(_.Cg(_.Go)),d=!!(c&&c.playlistComponent&&c.playlistComponent.loopOn),_.B(h,b.getPlayerPromise(),2);var l=e=h.yieldResult,m=l.updatePlaylist,p=[];if(_.x("kevlar_player_playlist_use_local_index")){var r,v;var z=null!=(v=null!=(r=a.localCurrentIndex)?r:a.currentIndex)?v:0}else{var A;z=null!=(A=a.currentIndex)?A:0}if(a.contents)for(r=0;r<a.contents.length;r++)if((v=a.contents[r])&&v.playlistPanelVideoRenderer)if(_.LMa(v)){v=
v.playlistPanelVideoRenderer;A="";v.shortBylineText&&(A=_.qi(v.shortBylineText));var D="";v.title?D=_.qi(v.title):v.unplayableText&&(D=_.qi(v.unplayableText));p.push({author:A,title:D,encrypted_id:v.videoId})}else r<z&&--z;m.call(l,{index:z,list:a.playlistId?a.playlistId:"",loop:d,playlist_title:a.title,playlist_length:p.length,video:p,fetch:0,external_list:"1",title:a.title?a.title:"",playlist_author:a.ownerName?_.qi(a.ownerName):void 0});_.bf(h)})},
focusOnPlayer:function(){_.nt(this,function(){if(this.playerContainer_&&this.playerContainer_.firstElementChild){var a=this.playerContainer_.querySelector(".html5-video-player");a&&(_.oHa(_.Eg().resolve(_.zo)),a.focus())}})},
preparePlayer:function(){var a=this;this.useUnifiedPlayer_()?this.mainAppPlayer_||this.createMainAppPlayer_():this.hasWebPlayerContextConfig_()?this.initPlayerPromise_||(new (WXa())(function(b){if("complete"==document.readyState||"ready"==document.readyState||"interactive"==document.readyState)b();else{var c=function(){document.removeEventListener("DOMContentLoaded",c);b()};
document.addEventListener("DOMContentLoaded",c)}})).then(function(){return QXa()}).then(function(){a.initPlayerPromise_||a.preparePlayerJobId_||(a.preparePlayerJobId_=_.Jn(_.xe,function(){a.initPlayerPromise_||(a.initPlayerPromise_=a.initPlayerContainer_())}))}):_.Qf(new _.ge("Cannot initialize player for this context without a WebPlayerContextConfig.",this.context))},
updateSwfConfig_:function(a){this.useUnifiedPlayer_()?CE(!1,"Invalid method callin kevlar_unified_player."):this.shouldAutoplay_(a)||(a.args.autoplay="0")},
shouldAutoplay_:function(a){if(this.useUnifiedPlayer_())CE(!1,"Invalid method call in kevlar_unified_player.");else{var b=this.get("args.el",a);if(b&&"detailpage"!=b){var c=_.Jg(this,"yt-miniplayer-active");if(c&&c[0])return!1}return b&&"sponsorshipsoffer"==b&&"0"==this.get("args.autoplay",a)?!1:(a=CXa(a))&&this.get("playerConfig.playbackStartConfig.startPaused",a)?!1:!0}},
stop:function(){this.maybeSendAbandonmentPing_();var a=this.getPlayer();if(a){var b=a.getPlayerState();_.x("kevlar_player_check_ad_state_on_stop")&&(b=a.getPlayerState(a.getPresentingPlayerType()));5!=b&&a.stopVideo()}},
resetForNewPlayback:function(){this.isResetForNewPlayback_||(this.stop(),this.isResetForNewPlayback_=!0)},
appendTo:function(a,b,c){c=void 0===c?!1:c;var d=this,e,h,l,m;return _.y(function(p){if(1==p.nextAddress)return b||(b=d),e=d.useUnifiedPlayer_()?!!d.mainAppPlayer_:!!d.initPlayerPromise_,e?_.B(p,d.getPlayerPromise(),2):(c?a.insertBefore(b,a.firstChild):a.appendChild(b),p.return());h=p.yieldResult;l=h.getPlayerState(h.getPresentingPlayerType());m=!1;if(-1==l||1==l||3==l)m=!0;c?a.insertBefore(b,a.firstChild):a.appendChild(b);m&&h.playVideo();h.setSize(NaN,NaN);_.bf(p)})},
watchNextDataChanged_:function(a){var b=this;a&&(this.useUnifiedPlayer_()&&_.x("kevlar_unified_player_update_watch_next_killswitch")?this.mainAppPlayer_&&wYa(this.mainAppPlayer_,a):this.getPlayerPromise().then(function(c){c.updateVideoData(b.computeWatchNextPlayerVars_(a))}))},
computeWatchNextPlayerVars_:function(a){if(this.useUnifiedPlayer_()&&_.x("kevlar_unified_player_update_watch_next_killswitch"))CE(!1,"Invalid method call in kevlar_unified_player.");else return{raw_watch_next_response:a}},
maybeSendAbandonmentPing_:function(){var a=this.getPlayer();a&&5!=a.getPlayerState()&&0!=a.getPlayerState()&&a.sendAbandonmentPing()},
getWebPlayerContextConfig_:function(){var a=_.w("WEB_PLAYER_CONTEXT_CONFIGS")[this.context];this.playerId&&(a=Object.assign({},a),a.rootElementId=this.playerId);a.serializedExperimentIds&&a.serializedExperimentFlags||_.Rf(Error("me"));return a},
hasWebPlayerContextConfig_:function(){return!!_.w("WEB_PLAYER_CONTEXT_CONFIGS")&&!!this.getWebPlayerContextConfig_()},
onPlayerInnerTubeCommand_:function(a){this.useUnifiedPlayer_()?CE(!1,"Invalid method call in kevlar_unified_player."):this.resolveCommand(a)},
useUnifiedPlayer_:function(){var a=_.x("kevlar_non_watch_unified_player")&&"WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH"!==this.context;return _.x("kevlar_unified_player")||a}}];
var BYa;
var CYa;
var OE=function(){return _.K.apply(this,arguments)||this};
_.q(OE,_.K);OE.prototype.factoryImpl=function(){};
_.t.Object.defineProperties(OE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CYa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-player--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.player.ytd_player.ytd.player.css.js--\x3e<div id="container">\n  \n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=
a.content,c=b.insertBefore;if(void 0===BYa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.player.ytd_player.ytd.player.css.js--\x3e<style>:host,#container {display: block;width: 100%;height: 100%;} /*# sourceMappingURL=ytd-player.css.map*/</style>";BYa=d}d=BYa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CYa=a}a=CYa;return a}}});
var DYa=OE;_.S([_.L(AYa.YtPlayerBehavior),_.T("design:type",Object)],DYa.prototype,"ytPlayerBehavior",void 0);DYa=_.S([_.Q({asyncProperties:!0,is:"ytd-player"})],DYa);
var EYa;
var FYa;
var PE=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-select-chip-command":"onSelectChipCommand","yt-filter-chip-transform-command":"onFilterChipTransformCommand"};return a};
_.q(PE,_.K);_.f=PE.prototype;_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","tab");this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")};
_.f.onSelectChipCommand=function(a){if(!this.selected&&this.data&&a.selectChipCommand.targetId&&a.selectChipCommand.targetId===this.data.targetId)this.onTap()};
_.f.onFilterChipTransformCommand=function(a){var b;!this.selected&&this.data&&(null==(b=a.filterChipTransformCommand)?0:b.chipUniqueId)&&a.filterChipTransformCommand.chipUniqueId===this.data.uniqueId&&(this.fire("yt-chip-cloud-chip-scroll-into-view",this),this.onTap())};
_.f.dataChanged=function(){var a=this;_.nt(this,function(){a.data&&a.data.isSelected&&!a.selected&&(a.fire("yt-chip-cloud-chip-scroll-into-view",a),a.onTap())})};
_.f.selectionChanged=function(){this.setAttribute("aria-selected",""+this.selected)};
_.f.computeChipStyle=function(a){return null!=a?a:"STYLE_DEFAULT"};
_.f.onTap=function(){this.data&&(this.ytRendererBehavior.logExplicitClick(this.data),this.selected||!this.data.navigationEndpoint?_.C(this,"yt-chip-cloud-chip-deselect-action"):(_.C(this,"yt-chip-cloud-chip-select-action",[this]),this.data&&this.data.navigationEndpoint&&this.ytComponentBehavior.resolveCommand(this.data.navigationEndpoint)))};
_.f.onFocus=function(){var a=_.Eg().resolve(_.Cg(_.Bo));a&&a.isKeyBoardInUse()&&this.fire("yt-chip-cloud-chip-scroll-into-view",this)};
_.t.Object.defineProperties(PE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FYa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-chip-cloud-chip-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_chip_cloud_chip_renderer.yt.chip.cloud.chip.renderer.css.js--\x3e<yt-formatted-string id="text" ellipsis-truncate="" text="[[data.text]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===EYa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_chip_cloud_chip_renderer.yt.chip.cloud.chip.renderer.css.js--\x3e<style>:host {height: 32px;min-width: 12px;padding: 0 10px;border-radius: 16px;box-sizing: border-box;outline: none;overflow: hidden;cursor: pointer;user-select: none;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);} :host([chip-style=STYLE_DEFAULT]),:host([chip-style=STYLE_HOME_FILTER]),:host([chip-style=STYLE_REFRESH_TO_NOVEL_CHIP]) {background-color: var(--yt-spec-badge-chip-background);border: 1px solid var(--yt-spec-10-percent-layer);color: var(--yt-spec-text-primary);padding: 0 var(--ytd-margin-3x);transition: background-color 0.5s cubic-bezier(0.05,0,0,1);} :host([chip-style=STYLE_DEFAULT])[selected],:host([chip-style=STYLE_HOME_FILTER])[selected] {background-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary-inverse);} :host([chip-style=STYLE_DEFAULT])[selected]:hover,:host([chip-style=STYLE_HOME_FILTER])[selected]:hover,:host([chip-style=STYLE_DEFAULT])[selected]:focus,:host([chip-style=STYLE_HOME_FILTER])[selected]:focus {background-color: var(--yt-spec-icon-inactive);} :host([chip-style=STYLE_DEFAULT]):not([selected]):hover,:host([chip-style=STYLE_HOME_FILTER]):not([selected]):hover,:host([chip-style=STYLE_REFRESH_TO_NOVEL_CHIP]):not([selected]):hover,:host([chip-style=STYLE_DEFAULT]):not([selected]):focus,:host([chip-style=STYLE_HOME_FILTER]):not([selected]):focus,:host([chip-style=STYLE_REFRESH_TO_NOVEL_CHIP]):not([selected]):focus {background-color: var(--yt-spec-button-chip-background-hover);} :host([chip-style=STYLE_RELATED])[selected] {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-static-brand-white);} :host([chip-style=STYLE_RELATED]):not([selected]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-primary);} :host([chip-style=STYLE_RELATED]):not([selected]):hover,:host([chip-style=STYLE_RELATED]):not([selected]):focus {background-color: var(--yt-spec-button-chip-background-hover);} :host([chip-style=STYLE_REFRESH_TO_NOVEL_CHIP])[selected] {transition: background 2s;border: 1px solid transparent;background-image: linear-gradient(45deg,var(--yt-spec-assistive-feed-themed-gradient-1),var(--yt-spec-assistive-feed-themed-gradient-2),var(--yt-spec-assistive-feed-themed-gradient-3)),linear-gradient(45deg,var(--yt-spec-assistive-feed-vibrant-gradient-1),var(--yt-spec-assistive-feed-vibrant-gradient-2),var(--yt-spec-assistive-feed-vibrant-gradient-3));background-clip: padding-box,border-box;background-origin: border-box,border-box;} :host([chip-style=STYLE_REFRESH_TO_NOVEL_CHIP])[selected]::before {content: "";z-index: 1;background-color: transparent;transition: background-color 0.5s cubic-bezier(0.05,0,0,1);position: absolute;top: 0;bottom: 0;left: 0;right: 0;} :host([chip-style=STYLE_REFRESH_TO_NOVEL_CHIP])[selected]:hover::before,:host([chip-style=STYLE_REFRESH_TO_NOVEL_CHIP])[selected]:focus::before {background-color: var(--yt-spec-badge-chip-background);} #text {max-width: 20rem;} /*# sourceMappingURL=yt-chip-cloud-chip-renderer.css.map*/</style>';
EYa=d}d=EYa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FYa=a}a=FYa;return a}}});
var QE=PE;QE.prototype.onFocus=QE.prototype.onFocus;QE.prototype.onTap=QE.prototype.onTap;QE.prototype.selectionChanged=QE.prototype.selectionChanged;QE.prototype.dataChanged=QE.prototype.dataChanged;_.S([_.L(_.HKa),_.T("design:type",Object)],QE.prototype,"ironButtonState",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],QE.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],QE.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],QE.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],QE.prototype,"data",void 0);_.S([_.N({computed:"computeChipStyle(data.style.styleType)",reflectToAttribute:!0}),_.T("design:type",String)],QE.prototype,"chipStyle",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],QE.prototype,"selected",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QE.prototype,"dataChanged",null);_.S([_.P("selected"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QE.prototype,"selectionChanged",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QE.prototype,"onTap",null);
_.S([_.O("focus"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QE.prototype,"onFocus",null);QE=_.S([_.Q({is:"yt-chip-cloud-chip-renderer"})],QE);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1x");

var nXa;
var oXa;
var pXa;
var qXa;
var mE=function(){return _.K.apply(this,arguments)||this};
_.q(mE,_.K);_.t.Object.defineProperties(mE.prototype,{cardItems:{configurable:!0,enumerable:!0,get:function(){var a=[],b;if((null==(b=this.data)?0:b.rows)&&this.itemsPerRow){b=this.data.rows*this.itemsPerRow;for(var c=0;c<b;c++)a.push({})}return a}}});
_.t.Object.defineProperties(mE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ghost-grid-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_ghost_grid_renderer.ytd.ghost.grid.renderer.css.js--\x3e<div class="ghost-grid">\n  <template is="dom-repeat" items="[[cardItems]]">\n    <div class="ghost-card">\n      <div class="rich-thumbnail skeleton-bg-color"></div>\n      <div class="details">\n        <div class="channel-avatar skeleton-bg-color"></div>\n        <div class="details-text-shell">\n          <div class="rich-video-title text-shell skeleton-bg-color"></div>\n          <div class="video-meta rich-video-meta text-shell skeleton-bg-color"></div>\n        </div>\n      </div>\n    </div>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pXa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_ghost_grid_renderer.ytd.ghost.grid.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .ghost-grid {display: flex;flex-wrap: wrap;width: 100%;} :host([full-bleed]) .ghost-grid {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)));margin: 0 16px;} .ghost-card {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);margin-bottom: 40px;max-width: var(--ytd-rich-grid-item-max-width);width: calc(100%/var(--ytd-rich-grid-items-per-row) - var(--ytd-rich-grid-item-margin) - 0.01px);} :host([mini-mode]) .ghost-card {max-width: var(--ytd-rich-grid-mini-item-max-width);} .skeleton-bg-color {background-color: var(--yt-spec-10-percent-layer);} .rich-thumbnail {height: 0px;padding-top: 56.25%;width: 100%;} .details {display: flex;} .channel-avatar {border-radius: 50%;height: 36px;margin-top: 12px;margin-right: 12px;width: 36px;} .rich-video-title {height: 12px;} .details-text-shell {display: flex;flex: 1 1 auto;flex-direction: column;height: 100%;} .text-shell {border-radius: 2px;margin-top: 12px;padding-bottom: 4px;height: 12px;} .rich-video-title {width: 90%;} .video-meta {width: 60%;} /*# sourceMappingURL=ytd-ghost-grid-renderer.css.map*/</style>";
pXa=d}d=pXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qXa=a}a=qXa;return a}}});
var nE=mE;_.S([_.L(_.Wu),_.T("design:type",Object)],nE.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],nE.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],nE.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Yu,value:3}),_.T("design:type",Number)],nE.prototype,"itemsPerRow",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],nE.prototype,"miniMode",void 0);
_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("rich_grid_enable_edge_to_edge")}}),
_.T("design:type",Boolean)],nE.prototype,"fullBleed",void 0);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],nE.prototype,"cardItems",null);nE=_.S([_.Q({asyncProperties:!0,is:"ytd-ghost-grid-renderer"})],nE);
_.$u("multiPageMenuSectionItems","continuationItemRenderer","ytd-continuation-item-renderer");var oE=function(){var a=_.K.apply(this,arguments)||this;a.isOverridable=!1;a.spinnerActive=!1;a.showButton=!1;a.originalShowButton=!1;return a};
_.q(oE,_.K);_.f=oE.prototype;_.f.configureRendererStamper=function(){return{"data.button":{id:"button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.ghostCards":{id:"ghost-cards",mapping:{ghostGridRenderer:"ytd-ghost-grid-renderer"}}}};
_.f.observeData=function(){this.spinnerActive=!1;this.ytRendererBehavior.invalidate(!1)};
_.f.onShow=function(){this.showButton||(this.spinnerActive=!0,this.data&&"CONTINUATION_TRIGGER_ON_ITEM_SHOWN"===this.data.trigger&&_.Kg(this,[this.data.continuationEndpoint]))};
_.f.onYtServiceRequestSentForButtonRenderer=function(){this.buttonRenderer&&(this.spinnerActive=!0,this.originalShowButton=this.showButton,this.showButton=!1)};
_.f.onYtServiceRequestCompletedForButtonRenderer=function(){this.buttonRenderer&&(this.spinnerActive=!1,this.showButton=this.originalShowButton)};
_.f.showButtonChanged=function(){this.showButton&&(this.spinnerActive=!1);this.ytRendererBehavior.invalidate(!1)};
_.t.Object.defineProperties(oE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-continuation-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.continuations.ytd_continuation_item_renderer.ytd.continuation.item.renderer.css.js--\x3e<div id="ghost-cards"></div>\n<tp-yt-paper-spinner id="spinner" active="[[spinnerActive]]" hidden="[[showButton]]">\n</tp-yt-paper-spinner>\n<div id="button" hidden="[[!showButton]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nXa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.continuations.ytd_continuation_item_renderer.ytd.continuation.item.renderer.css.js--\x3e<style>:host {min-width: 1px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-spinner {margin: 16px 0;} #button {width: 100%;} #button ytd-button-renderer {width: var(--ytd-continuation-item-renderer-width,100%);} #ghost-cards {width: 100%;} /*# sourceMappingURL=ytd-continuation-item-renderer.css.map*/</style>";
nXa=d}d=nXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oXa=a}a=oXa;return a}}});
var pE=oE;pE.prototype.showButtonChanged=pE.prototype.showButtonChanged;pE.prototype.onYtServiceRequestCompletedForButtonRenderer=pE.prototype.onYtServiceRequestCompletedForButtonRenderer;pE.prototype.onYtServiceRequestSentForButtonRenderer=pE.prototype.onYtServiceRequestSentForButtonRenderer;pE.prototype.observeData=pE.prototype.observeData;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],pE.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],pE.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.gw.YtVisibilityBehavior),_.T("design:type",Object)],pE.prototype,"ytVisibilityBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],pE.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],pE.prototype,"isOverridable",void 0);_.S([_.N(),_.T("design:type",Object)],pE.prototype,"spinnerActive",void 0);_.S([_.N(),_.T("design:type",Object)],pE.prototype,"showButton",void 0);
_.S([_.Z("ytd-button-renderer"),_.T("design:type",_.qv)],pE.prototype,"buttonRenderer",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pE.prototype,"observeData",null);_.S([_.O("yt-service-request-sent-button-renderer"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pE.prototype,"onYtServiceRequestSentForButtonRenderer",null);
_.S([_.O("yt-service-request-completed-button-renderer"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pE.prototype,"onYtServiceRequestCompletedForButtonRenderer",null);_.S([_.Ct("showButton"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pE.prototype,"showButtonChanged",null);pE=_.S([_.Q({is:"ytd-continuation-item-renderer"})],pE);
var rXa=function(){var a=_.vt.apply(this,arguments)||this;a.continuationActionMap={"yt-append-continuation-items-action":"handleAppendContinuationItemsAction","yt-reload-continuation-items-command":"handleReloadContinuationItemsCommand","yt-show-reload-ui-command":"handleShowReloadUiCommand"};return a};
_.q(rXa,_.vt);_.f=rXa.prototype;_.f.configureContinuationPathMap=function(){return{}};
_.f.beforeRegister=function(){this.continuationPathMap=this.configureContinuationPathMap()};
_.f.attached=function(){this.actionHandlerBehavior.registerActionMap(this.continuationActionMap)};
_.f.detached=function(){this.actionHandlerBehavior.unregisterActionMap(this.continuationActionMap)};
_.f.observeData=function(){this.data&&(this.continuationIsReloading=!1)};
_.f.handleAppendContinuationItemsAction=function(a){var b=a.appendContinuationItemsAction;if(this.data&&this.data.targetId&&b&&this.continuationPathMap&&b.targetId===this.data.targetId){var c=_.Gg(a);if((a=c&&this.continuationPathMap[c])&&c){c=this.get(a,this.data);var d;a:{for(d=0;d<c.length;d++)if(c[d].continuationItemRenderer)break a;d=c.length}a="data."+a;b.continuationItems?d===c.length-1?(this.pop(a),this.push.apply(this,[a].concat(_.sc(b.continuationItems)))):d===c.length?this.push.apply(this,
[a].concat(_.sc(b.continuationItems))):this.splice.apply(this,[a,d,1].concat(_.sc(b.continuationItems))):this.splice(a,d,1);this.fire("yt-next-continuation-data-updated",null,{bubbles:!1})}else _.Rf(new _.ge("append continuation path does not exist",c))}};
_.f.handleReloadContinuationItemsCommand=function(a){var b=a.reloadContinuationItemsCommand;if(this.data&&this.data.targetId&&b&&this.continuationPathMap&&b.targetId===this.data.targetId){var c,d=null==(c=b.slot)?void 0:c.replace("RELOAD_CONTINUATION_SLOT_","");c=(a=_.Gg(a)+"-"+(null==d?void 0:d.toLowerCase()))&&this.continuationPathMap[a];if(!c||!a||!d)_.Rf(new _.ge("reload continuation path does not exist",a));else if(!this.reloadContinuationItemsCommandMatcher||this.reloadContinuationItemsCommandMatcher(b))this.set("data."+
c,b.continuationItems?b.continuationItems:[]),this.continuationIsReloading=!1,this.fire("yt-reload-continuation-finish",null,{bubbles:!1})}};
_.f.handleShowReloadUiCommand=function(a){a=a.showReloadUiCommand;var b;(null==(b=this.data)?0:b.targetId)&&(null==a?0:a.targetId)&&a.targetId===this.data.targetId&&(this.continuationIsReloading=!0)};
_.qE=rXa;_.qE.prototype.observeData=_.qE.prototype.observeData;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],_.qE.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],_.qE.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],_.qE.prototype,"data",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],_.qE.prototype,"continuationIsReloading",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.qE.prototype,"observeData",null);_.qE=_.S([_.wt()],_.qE);_.rE=[_.iu.YtComponentBehavior,_.Y.YtActionHandlerBehavior,_.qE.prototype];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1n");

_.bWa={YtSparklesClickLocationBehavior:{clickTargetMap:null,containerId:null,handleClick:function(a,b){var c=this.getClickTarget_(b);if(c&&this.isClickAllowed_(c)){b.preventDefault();a=(0,_.u.unsafeClone)(a);var d=this.getContainerBoundingRect();b=this.getRelativeClickXy_(b,d);c={NX:b[0],NY:b[1],NB:c.code};_.x("enable_dim_macro_on_web")&&(c.DIM=Math.round(d.width)+"x"+Math.round(d.height));this.expandEndpointUrlMacros_(a,c);this.fire("yt-navigate",{endpoint:a})}},
getClickTarget_:function(a){if(!this.clickTargetMap)return null;a=_.H(a).path||[];a=_.k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(b===this.$.menu)break;if(b=this.clickTargetMap.get(b.id))return b}return null},
getRelativeClickXy_:function(a,b){var c=a.detail.x,d=a.detail.y;_.x("use_on_click_for_desktop_display_ad")&&null!=a.clientX&&null!=a.clientY&&(c=a.clientX,d=a.clientY);a=Math.round(c-b.left);b=Math.round(d-b.top);return 0>a||0>b?[null,null]:[a,b]},
getContainerBoundingRect:function(){return this.$[this.containerId].getBoundingClientRect()},
expandEndpointUrlMacros_:function(a,b){for(var c=_.k(a.loggingUrls||[]),d=c.next();!d.done;d=c.next())d=d.value,d.baseUrl&&(d.baseUrl=_.kD(d.baseUrl,b));a.urlEndpoint&&a.urlEndpoint.url&&(a.urlEndpoint.url=_.kD(a.urlEndpoint.url,b));a.commandMetadata&&a.commandMetadata.webCommandMetadata&&a.commandMetadata.webCommandMetadata.url&&(a.commandMetadata.webCommandMetadata.url=_.kD(a.commandMetadata.webCommandMetadata.url,b))},
configureClickTargets:function(a,b,c){this.containerId=a;this.clickTargetMap=new Map;a=_.k(b);for(b=a.next();!b.done;b=a.next())if(b=b.value,b.location){var d=c.get(b.location);d&&(this.toggleClass("yt-simple-endpoint",this.isClickAllowed_(b),this.$[d]),this.clickTargetMap.set(d,b))}},
isClickAllowed_:function(a){return"PROMOTED_SPARKLES_CLICK_BEHAVIOR_TYPE_OPEN_AD"===a.behaviorType}}};
var cWa;
var dWa;
var eWa;
var fWa;
var lD,mD=function(){var a=_.K.apply(this,arguments)||this;a.iconType="STAR";a.standardizeIconSize=_.x("kevlar_system_icons");a.actionMap={"yt-mute-ad-action":"handleMuteAd"};return a};
_.q(mD,_.K);_.f=mD.prototype;
_.f.configureRendererStamper=function(){return{"data.badge":{id:"badge",mapping:{metadataBadgeRenderer:{component:"ytd-badge-supported-renderer",properties:{topStandaloneBadge:"[[data.badge]]"}}}},"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.image":{id:"media",mapping:{thumbnail:{component:"yt-img-shadow",properties:{thumbnail:"[[data.image.thumbnail]]",width:"[[mediaThumbnailWidth]]"}}}},"data.mediaBadge":{id:"media-badge",mapping:{metadataBadgeRenderer:{component:"ytd-badge-supported-renderer",properties:{topStandaloneBadge:"[[data.mediaBadge]]"}}}},
"data.mediaHoverOverlay":{id:"media-hover-overlay",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.ctaButton":{id:"call-to-action",mapping:{buttonRenderer:"ytd-button-renderer"}},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.f.dataChanged=function(){this.clickCommand=this.get("data.clickCommand.commandExecutorCommand.commands.0");this.clickCommand||(this.clickCommand=this.get("data.clickCommand"));this.clickCommand&&(this.updateMediaBackgroundImage(),this.ytSparklesClickLocationBehavior.configureClickTargets("root",lD.DEFAULT_CLICK_LOCATION_BEHAVIOR,lD.JSC$37577_CLICK_LOCATION_ID_MAP))};
_.f.onTap=function(a){if(!_.x("use_on_click_for_desktop_display_ad"))this.onTapOrClick(a)};
_.f.onClick=function(a){if(_.x("use_on_click_for_desktop_display_ad"))this.onTapOrClick(a)};
_.f.onTapOrClick=function(a){this.clickCommand&&this.ytSparklesClickLocationBehavior.handleClick(this.clickCommand,a)};
_.f.updateMediaBackgroundImage=function(){var a=this.get("data.image.thumbnail.thumbnails");a&&(a=_.nu(a,0))&&this.updateStyles({"--ytd-display-ad-media-background-image":"url("+a+")"})};
_.f.impressionLog=function(){if((!this.data||!this.data.impressionsFired)&&this.data&&this.data.impressionEndpoints){for(var a=0;a<this.data.impressionEndpoints.length;a++){var b=this.data.impressionEndpoints[a];b.clickTrackingParams&&delete b.clickTrackingParams;_.Kg(this,[b])}this.data.impressionsFired=!0}};
_.f.handleMuteAd=function(){};
_.t.Object.defineProperties(mD.prototype,{getRating:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?0:a.rating)?Number(this.data.rating).toPrecision(2):null}},
getPrice:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?0:a.price)?this.data.price:null}},
computeRatingHidden:{configurable:!0,enumerable:!0,get:function(){return!this.getRating}},
computePriceHidden:{configurable:!0,enumerable:!0,get:function(){return!this.getPrice}},
computeSecondaryTextHidden:{configurable:!0,enumerable:!0,get:function(){return!(this.computeRatingHidden&&this.computePriceHidden)}},
layout:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.layout?this.data.layout.toLowerCase().replace(/_/g,"-"):""}},
mediaThumbnailWidth:{configurable:!0,enumerable:!0,get:function(){if(this.data&&this.data.layout&&"DISPLAY_AD_LAYOUT_VERTICAL_CAROUSEL_ITEM"===this.data.layout)return 135}}});
_.t.Object.defineProperties(mD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-display-ad-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_display_ad_renderer.ytd.display.ad.renderer.css.js--\x3e<div id="dismissible">\n  <div id="root">\n    <div id="media-container" aria-hidden="true">\n      <div id="media-background">\n      </div>\n      <div id="media">\n      </div>\n      <div id="media-badge">\n      </div>\n      <div id="media-hover-overlay">\n      </div>\n    </div>\n    <div class="title">\n\n      <a class="yt-display-ad-renderer-endpoint title-link" aria-labelledby="badge title-text" href$="[[computeHref_(clickCommand)]]">\n        <yt-formatted-string class="title-text" text="[[data.titleText]]" title="[[getSimpleString(data.titleText)]]">\n        </yt-formatted-string>\n      </a>\n      <div id="menu"></div>\n    </div>\n    <div id="support">\n      <yt-formatted-string id="body-text" text="[[data.bodyText]]" title="[[getSimpleString(data.bodyText)]]">\n      </yt-formatted-string>\n      <div id="badge" class="badge"></div>\n      <yt-formatted-string id="secondary-text" hidden="[[computeSecondaryTextHidden]]" text="[[data.secondaryText]]" title="[[getSimpleString(data.secondaryText)]]">\n      </yt-formatted-string>\n      <span id="rating" hidden="[[computeRatingHidden]]">[[getRating]]</span>\n      <yt-icon id="icon" default-to-filled="true" hidden="[[computeRatingHidden]]" icon="[[iconType]]"></yt-icon>\n      <yt-formatted-string id="price" hidden="[[computePriceHidden]]" text="[[getPrice]]"></yt-formatted-string>\n    </div>\n    <div id="call-to-action"></div>\n  </div>\n</div>\n<div id="dismissed">\n  <div id="dismissed-content"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_display_ad_renderer.ytd.display.ad.renderer.css.js--\x3e<style>:host {width: 100%;height: 100%;display: inline-block;} :host([is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([is-dismissed]) #dismissed {display: block;} #root {width: 100%;height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #media-container {flex: 1 100%;} .title {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #support {min-width: 0;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title-text,.title-text {color: var(--yt-spec-text-primary);flex: 1 10%;} #menu {-ms-flex: none;-webkit-flex: none;flex: none;} #body-text {flex: 1 100%;color: var(--yt-spec-text-secondary);overflow: hidden;white-space: nowrap;text-overflow: ellipsis;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #badge {-ms-flex: none;-webkit-flex: none;flex: none;} #badge>ytd-badge-supported-renderer:not(:empty) {margin-right: 8px;} #secondary-text {flex: 1 10%;color: var(--yt-spec-text-secondary);overflow: hidden;white-space: pre;text-overflow: ellipsis;font-size: 1.2rem;font-weight: 500;line-height: 1.5rem;} #call-to-action {flex: 1 100%;margin-left: auto;margin-right: 0;} #dismissed-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .yt-display-ad-renderer-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-spec-text-primary);} .yt-display-ad-renderer-endpoint:hover {color: var(--yt-spec-text-primary);text-decoration: none;} :host([layout=display-ad-layout-vertical-carousel-item]) {padding: 4px;padding-bottom: 8px;width: 135px;min-height: 214px;max-height: 258px;} :host([layout=display-ad-layout-vertical-carousel-item]):hover {background-color: var(--yt-spec-general-background-c);} :host([layout=display-ad-layout-vertical-carousel-item]) #badge,:host([layout=display-ad-layout-vertical-carousel-item]) #menu,:host([layout=display-ad-layout-vertical-carousel-item]) #call-to-action {display: none;} :host([layout=display-ad-layout-vertical-carousel-item]) #media-container {margin-bottom: 12px;} :host([layout=display-ad-layout-vertical-carousel-item]) #title-text,:host([layout=display-ad-layout-vertical-carousel-item]) .title-text {margin: 0;margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;font-weight: 400;} :host([layout=display-ad-layout-vertical-carousel-item]) #root {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;-ms-flex-line-pack: start;-ms-align-content: flex-start;-webkit-align-content: flex-start;align-content: flex-start;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([layout=display-ad-layout-vertical-carousel-item]) .title {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([layout=display-ad-layout-vertical-carousel-item]) #support {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([layout=display-ad-layout-top-landscape-image]) {width: 100%;margin: 0;display: block;max-width: var(--ytd-rich-grid-item-max-width);} :host([layout=display-ad-layout-top-landscape-image]) #root {-ms-flex-line-pack: start;-ms-align-content: flex-start;-webkit-align-content: flex-start;align-content: flex-start;} :host([layout=display-ad-layout-top-landscape-image]) #media-container {padding-top: 56.25%;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;} :host([layout=display-ad-layout-top-landscape-image]) #media-background {width: 100%;height: 100%;position: absolute;top: 0;background-position: center;background-repeat: no-repeat;background-size: 100% 100%;background-color: var(--yt-spec-static-overlay-background-heavy);filter: blur(5px);background-image: var(--ytd-display-ad-media-background-image);} :host([layout=display-ad-layout-top-landscape-image]) #media {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} :host([layout=display-ad-layout-top-landscape-image]) #media yt-img-shadow {display: block;} :host([layout=display-ad-layout-top-landscape-image]) #media-badge {position: absolute;width: 28px;height: 28px;border-radius: 2px;right: 8px;bottom: 8px;background-color: var(--yt-spec-static-overlay-background-solid);--ytd-badge-icon-size: 22px;--ytd-badge-icon-color: var(--yt-spec-static-overlay-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([layout=display-ad-layout-top-landscape-image])[standardize-icon-size] #media-badge {--ytd-badge-icon-size: 24px;} :host([layout=display-ad-layout-top-landscape-image]) #media-hover-overlay {position: absolute;visibility: hidden;top: 0;right: 0;left: 0;bottom: 0;background-color: var(--yt-spec-static-overlay-background-medium);display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([layout=display-ad-layout-top-landscape-image]) .title {min-width: 0;width: 100%;margin-top: 12px;margin-bottom: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([layout=display-ad-layout-top-landscape-image]) #title-text,:host([layout=display-ad-layout-top-landscape-image]) .title-text {color: var(--yt-spec-text-primary);overflow: hidden;-webkit-line-clamp: 2;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([layout=display-ad-layout-top-landscape-image]) #body-text {margin-bottom: 4px;-webkit-line-clamp: 2;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([layout=display-ad-layout-top-landscape-image]) #badge {margin-bottom: 12px;} :host([layout=display-ad-layout-top-landscape-image]) #secondary-text {margin-bottom: 12px;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([layout=display-ad-layout-top-landscape-image]) #call-to-action {display: none;} :host([layout=display-ad-layout-top-landscape-image]) #dismissed {padding-bottom: 56.19%;border: 1px solid var(--yt-spec-10-percent-layer);position: relative;} :host([layout=display-ad-layout-top-landscape-image]) #dismissed:focus {outline: none;} :host([layout=display-ad-layout-top-landscape-image]) #dismissed-content {box-sizing: border-box;padding: 8px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host([layout=display-ad-layout-top-landscape-image])[mini-mode] {max-width: var(--ytd-rich-grid-mini-item-max-width);} :host([layout=display-ad-layout-top-landscape-image])[mini-mode] #title-text,:host([layout=display-ad-layout-top-landscape-image])[mini-mode] .title-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([layout=display-ad-layout-top-landscape-image])[mini-mode] .title {margin-bottom: 6px;} :host([layout=display-ad-layout-top-landscape-image]):hover #media-hover-overlay {visibility: visible;} :host([layout=display-ad-layout-top-landscape-image]) #price {margin-bottom: 12px;white-space: nowrap;color: var(--yt-spec-text-secondary);padding-left: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([layout=display-ad-layout-top-landscape-image]) #icon {width: 14px;margin-bottom: 12px;white-space: nowrap;color: var(--yt-spec-text-secondary);padding-left: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([layout=display-ad-layout-top-landscape-image]) #rating {margin-bottom: 12px;white-space: nowrap;color: var(--yt-spec-text-secondary);padding-left: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([layout=display-ad-layout-top-landscape-image]) ytd-menu-renderer {position: absolute;top: -8px;right: -8px;} :host([layout=display-ad-layout-top-landscape-image]) .title {position: relative;} :host([layout=display-ad-layout-top-landscape-image]) #title-link,:host([layout=display-ad-layout-top-landscape-image]) .title-link {padding-right: 24px;} /*# sourceMappingURL=ytd-display-ad-renderer.css.map*/</style>';
eWa=d}d=eWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fWa=a}a=fWa;return a}}});
var nD=lD=mD;lD.prototype.onClick=lD.prototype.onClick;lD.prototype.onTap=lD.prototype.onTap;lD.prototype.dataChanged=lD.prototype.dataChanged;nD.VERTICAL_CAROUSEL_ITEM_IMAGE_WIDTH=135;nD.JSC$37577_CLICK_LOCATION_ID_MAP=new Map([["PROMOTED_SPARKLES_CLICK_LOCATION_BACKGROUND","root"]]);nD.DEFAULT_CLICK_LOCATION_BEHAVIOR=[{location:"PROMOTED_SPARKLES_CLICK_LOCATION_BACKGROUND",code:2,behaviorType:"PROMOTED_SPARKLES_CLICK_BEHAVIOR_TYPE_OPEN_AD"}];
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],nD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],nD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],nD.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],nD.prototype,"ytdReduxBehavior",void 0);
_.S([_.L(_.bWa.YtSparklesClickLocationBehavior),_.T("design:type",Object)],nD.prototype,"ytSparklesClickLocationBehavior",void 0);_.S([_.L([_.Y.YtActionHandlerBehavior]),_.T("design:type",Object)],nD.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],nD.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],nD.prototype,"clickCommand",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],nD.prototype,"miniMode",void 0);
_.S([_.N(),_.T("design:type",String)],nD.prototype,"iconType",void 0);_.S([_.V("data.rating"),_.T("design:type",Object),_.T("design:paramtypes",[])],nD.prototype,"getRating",null);_.S([_.V("data.price"),_.T("design:type",Object),_.T("design:paramtypes",[])],nD.prototype,"getPrice",null);_.S([_.V("getRating"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],nD.prototype,"computeRatingHidden",null);
_.S([_.V("getPrice"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],nD.prototype,"computePriceHidden",null);_.S([_.V("computePriceHidden","computeRatingHidden"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],nD.prototype,"computeSecondaryTextHidden",null);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],nD.prototype,"standardizeIconSize",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data.layout"),_.T("design:type",String),_.T("design:paramtypes",[])],nD.prototype,"layout",null);_.S([_.V("data.layout"),_.T("design:type",Object),_.T("design:paramtypes",[])],nD.prototype,"mediaThumbnailWidth",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nD.prototype,"dataChanged",null);
_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],nD.prototype,"onTap",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],nD.prototype,"onClick",null);nD=lD=_.S([_.Q({asyncProperties:!0,is:"ytd-display-ad-renderer"})],nD);
var gWa;
var hWa;
var iWa;
var jWa;
var oD=function(){var a=_.K.apply(this,arguments)||this;a.enableUnifiedVerifiedBadge=_.x("enable_unified_verified_badge");a.standardizeIconSize=_.x("kevlar_system_icons");return a};
_.q(oD,_.K);oD.prototype.basicPaletteChanged=function(){var a;null!=(a=this.data.color)&&a.basicColorPaletteData&&_.av(this,this.data.color.basicColorPaletteData)};
oD.prototype.colorChanged=function(){var a,b=this.get("basicColorPaletteData.backgroundColor",null==(a=this.data)?void 0:a.color),c;a=this.get("basicColorPaletteData.foregroundTitleColor",null==(c=this.data)?void 0:c.color);c={};b?(b=_.ru(b),c["--ytd-author-comment-badge-background-color"]=b):(c["--ytd-author-comment-badge-icon-background-color"]="transparent",c["--ytd-author-comment-badge-background-color"]="transparent");a?(b=_.ru(a),c["--ytd-author-comment-badge-name-color"]=b,c["--ytd-author-comment-badge-icon-color"]=
b):c["--ytd-author-comment-badge-name-color"]="var(--yt-spec-text-primary)";0<Object.keys(c).length&&this.updateStyles(c)};
oD.prototype.useFilledIcons=function(a){return _.x("kevlar_system_icons")&&("CHECK_CIRCLE_THICK"===a||"OFFICIAL_ARTIST_BADGE"===a)};
_.t.Object.defineProperties(oD.prototype,{verified:{configurable:!0,enumerable:!0,get:function(){return!!this.data.authorUnifiedVerified}},
creator:{configurable:!0,enumerable:!0,get:function(){return this.data.authorCreator||!!this.get("data.color.basicColorPaletteData.backgroundColor")}}});
_.t.Object.defineProperties(oD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-author-comment-badge-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_author_comment_badge_renderer.ytd.author.comment.badge.renderer.css.js--\x3e<a id="name" class="yt-simple-endpoint" href$="[[computeHref_(data.authorEndpoint)]]" data="[[data.authorEndpoint]]">\n  <ytd-channel-name id="channel-name" channel-name="[[data.authorText]]" force-verified="[[verified]]" tooltip="[[data.iconTooltip]]">\n  </ytd-channel-name>\n</a>\n<yt-icon id="icon" default-to-filled="[[useFilledIcons(data.icon.iconType)]]" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]" size="12">\n</yt-icon>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_author_comment_badge_renderer.ytd.author.comment.badge.renderer.css.js--\x3e<style>:host {--ytd-author-comment-badge-name-color: var(--yt-spec-text-primary);height: 20px;background-color: var(--ytd-author-comment-badge-background-color);border-radius: 12px;margin-bottom: 2px;max-width: 100%;box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} :host([enable-unified-verified-badge]) {border-radius: 0;} :host([verified]) {height: unset;background-color: transparent;} :host([creator]) {padding-right: 6px;padding-left: 6px;} :host(:not([verified])[creator][enable-unified-verified-badge]) {background-color: var(--yt-spec-brand-icon-inactive);height: unset;padding-right: 4px;padding-left: 4px;} :host([creator]) #icon {height: 12px;width: 12px;margin-left: 4px;} :host([verified][creator]) {--ytd-channel-name-verified-background: var(--yt-spec-brand-icon-inactive);padding: 0;} :host(:not([creator])) #icon {height: 13px;width: 13px;margin-left: 4px;margin-bottom: 1px;fill: var(--yt-spec-icon-active-other);} :host([standardize-icon-size]:not([creator])) #icon {height: 12px;width: 12px;} #icon {color: var(--ytd-author-comment-badge-icon-color);background-color: var(--ytd-author-comment-badge-icon-background-color);-ms-flex: none;-webkit-flex: none;flex: none;} #name {--ytd-channel-name-text-display: block;color: var(--ytd-author-comment-badge-name-color);overflow: hidden;-webkit-line-clamp: 1;max-height: 1.8rem;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} :host([verified]) #name {color: var(--yt-spec-text-primary);} :host([creator][enable-unified-verified-badge]) #name {color: var(--yt-spec-text-primary-inverse);} #channel-name {--ytd-channel-name-text-container-display: flex;} /*# sourceMappingURL=ytd-author-comment-badge-renderer.css.map*/</style>";
iWa=d}d=iWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jWa=a}a=jWa;return a}}});
var pD=oD;pD.prototype.colorChanged=pD.prototype.colorChanged;pD.prototype.basicPaletteChanged=pD.prototype.basicPaletteChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],pD.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],pD.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],pD.prototype,"enableUnifiedVerifiedBadge",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],pD.prototype,"standardizeIconSize",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data.authorUnifiedVerified"),_.T("design:type",Object),_.T("design:paramtypes",[])],pD.prototype,"verified",null);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],pD.prototype,"creator",null);
_.S([_.P("data.color.basicColorPaletteData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pD.prototype,"basicPaletteChanged",null);_.S([_.P("data.color"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pD.prototype,"colorChanged",null);pD=_.S([_.Q({asyncProperties:!0,is:"ytd-author-comment-badge-renderer"})],pD);
var kWa;
var lWa;
var mWa;
var nWa;
var qD=function(){return _.K.apply(this,arguments)||this};
_.q(qD,_.K);qD.prototype.onYtButtonTap=function(){if(this.data.isEnabled){var a=this.data.isHearted;this.toggle();this.ytRendererBehavior.markDirty();(a=this.getEndpoint(a))&&_.Kg(this,[a])}};
qD.prototype.toggle=function(a){this.set("data.isHearted",void 0!==a?a:!this.data.isHearted)};
qD.prototype.getEndpoint=function(a){var b,c=null==(b=this.data)?void 0:b.heartEndpoint,d;b=null==(d=this.data)?void 0:d.unheartEndpoint;if(c&&b)return a?b:c};
qD.prototype.computeButtonAccessibility=function(a,b){var c,d,e=null==a?void 0:null==(c=a.heartedAccessibility)?void 0:null==(d=c.accessibilityData)?void 0:d.label,h,l;a=null==a?void 0:null==(h=a.unheartedAccessibility)?void 0:null==(l=h.accessibilityData)?void 0:l.label;return b?e:a};
_.t.Object.defineProperties(qD.prototype,{heartTooltip:{configurable:!0,enumerable:!0,get:function(){if(this.data)return this.data.isHearted?this.data.heartedTooltip:this.data.unheartedTooltip}},
iconFilled:{configurable:!0,enumerable:!0,get:function(){var a;return _.x("kevlar_system_icons")&&!(null==(a=this.data)||!a.isHearted)}}});
_.t.Object.defineProperties(qD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-creator-heart-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_creator_heart_renderer.ytd.creator.heart.renderer.css.js--\x3e<yt-icon-button id="creator-heart-button" disabled="[[!data.isEnabled]]" label="[[buttonAccessibility]]">\n  <template is="dom-if" if="[[data.isHearted]]">\n    <yt-img-shadow id="hearted-thumbnail" thumbnail="[[data.creatorThumbnail]]"></yt-img-shadow>\n    <yt-icon id="hearted-border" icon="[[data.heartIcon.iconType]]"></yt-icon>\n    <yt-icon id="hearted" default-to-filled="[[iconFilled]]" icon="[[data.heartIcon.iconType]]"></yt-icon>\n  </template>\n  <template is="dom-if" if="[[!data.isHearted]]">\n    <yt-icon id="unhearted" icon="[[data.heartIcon.iconType]]"></yt-icon>\n  </template>\n</yt-icon-button>\n<tp-yt-paper-tooltip>[[heartTooltip]]</tp-yt-paper-tooltip>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_creator_heart_renderer.ytd.creator.heart.renderer.css.js--\x3e<style>:host {display: inline-block;} #creator-heart-button {position: relative;width: 36px;height: 36px;} #creator-heart-button[disabled] {pointer-events: auto;} #hearted-thumbnail {width: 14px;height: 14px;margin: 10px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;border: 1px solid rgba(255,255,255,0.12);} #hearted {position: absolute;right: 4px;bottom: 5px;width: 13px;height: 13px;color: var(--yt-spec-static-brand-red);z-index: 1;} #hearted-border {position: absolute;right: 3px;bottom: 4px;width: 15px;height: 15px;color: var(--yt-spec-static-brand-white);} #unhearted {width: 16px;height: 16px;padding: 10px;color: var(--yt-spec-icon-inactive);} #unhearted:hover {color: var(--yt-spec-icon-active-other);} tp-yt-paper-tooltip {white-space: nowrap;} /*# sourceMappingURL=ytd-creator-heart-renderer.css.map*/</style>";
mWa=d}d=mWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nWa=a}a=nWa;return a}}});
var rD=qD;rD.prototype.onYtButtonTap=rD.prototype.onYtButtonTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],rD.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],rD.prototype,"data",void 0);_.S([_.V("data.isHearted"),_.T("design:type",Object),_.T("design:paramtypes",[])],rD.prototype,"heartTooltip",null);_.S([_.V("data.isHearted"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],rD.prototype,"iconFilled",null);
_.S([_.N({computed:"computeButtonAccessibility(data,data.isHearted)"}),_.T("design:type",String)],rD.prototype,"buttonAccessibility",void 0);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],rD.prototype,"onYtButtonTap",null);rD=_.S([_.Q({asyncProperties:!0,is:"ytd-creator-heart-renderer"})],rD);
var sD=function(){var a=_.K.apply(this,arguments)||this;a.hasCreatorReply=!1;a.buttonTooltipPosition="bottom";a.systemIcons=_.x("kevlar_system_icons");a.replyDialog=null;return a};
_.q(sD,_.K);_.f=sD.prototype;_.f.configureRendererStamper=function(){return{"data.creatorHeart":{id:"creator-heart",mapping:{creatorHeartRenderer:{component:"ytd-creator-heart-renderer"}}},replyButtonBeginning:{id:"reply-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!0}}}},replyButtonEnd:{id:"reply-button-end",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{forceIconButton:!0}}}},"data.shareButton":{id:"share-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.f.dataChange=function(){this.replyDialog&&_.H(this.replyDialogElement).removeChild(this.replyDialog);this.replyDialog=null;var a,b,c;this.isLiked=this.systemIcons&&!!(null==(a=this.data)?0:null==(b=a.likeButton)?0:null==(c=b.toggleButtonRenderer)?0:c.isToggled)};
_.f.computeShowVoteCountBeginning=function(a,b){return void 0===a||void 0===b?!0:"COMMENT_ACTION_BUTTON_STYLE_TYPE_DESKTOP_TOOLBAR"!==a.style&&!!b&&"0"!==this.ytRendererBehavior.getSimpleString(b)};
_.f.computeShowVoteCountEnd=function(a,b){return void 0===a||void 0===b?!0:"COMMENT_ACTION_BUTTON_STYLE_TYPE_DESKTOP_TOOLBAR"===a.style&&!!b&&"0"!==this.ytRendererBehavior.getSimpleString(b)};
_.f.hideReplyDialog=function(){this.replyDialogElement.hidden=!0};
_.f.reply=function(){this.replyButtonElement.firstElementChild?this.replyButtonElement.firstElementChild.firstElementChild.click():this.replyButtonEndElement.firstElementChild&&this.replyButtonEndElement.firstElementChild.firstElementChild.click()};
_.f.showReplyDialog=function(a){a&&(this.replyDialog||(this.replyDialog=document.createElement("ytd-comment-reply-dialog-renderer"),this.replyDialog.id="replybox"),this.replyDialog.isAttached||_.H(this.replyDialogElement).appendChild(this.replyDialog),this.replyDialog.data=a,this.replyDialogElement.hidden=!1,this.replyDialog.openDialog())};
_.f.onYtCommentboxDismiss=function(){this.hideReplyDialog()};
_.f.onYtNavigate=function(a){(a=this.get("createCommentReplyDialogEndpoint.dialog.commentReplyDialogRenderer",a.detail.endpoint))&&this.showReplyDialog(a)};
_.f.onYtServiceRequestSent=function(a,b){a.stopPropagation();if(b.actions)for(a=0;a<b.actions.length;a++){var c=b.actions[a];c.updateCommentVoteAction&&this.handleUpdateCommentVoteAction(c.updateCommentVoteAction)}};
_.f.handleUpdateCommentVoteAction=function(a){this.voteCount=a.voteCount||_.Mu("0");"LIKE"===a.voteStatus?this.JSC$37595_ytdDislikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1):"DISLIKE"===a.voteStatus?this.JSC$37595_ytdLikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1):(this.JSC$37595_ytdLikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1),this.JSC$37595_ytdDislikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1))};
_.f.computeReplyButtonHidden=function(a){return a};
_.f.computeReplyButtonBeginning=function(a){return(null==a?0:a.replyButton)&&"COMMENT_ACTION_BUTTON_STYLE_TYPE_DESKTOP_TOOLBAR"!==a.style?a.replyButton:void 0};
_.f.computeReplyButtonEnd=function(a){return(null==a?0:a.replyButton)&&"COMMENT_ACTION_BUTTON_STYLE_TYPE_DESKTOP_TOOLBAR"===a.style?a.replyButton:void 0};
_.f.computeActionButtonStyle=function(a){return(null==a?0:a.style)?a.style.split("TYPE_")[1].replace(/_/g,"-").toLowerCase():"unknown"};
_.f.onButtonTooltipPositionChanged=function(){this.ytdReplyButtonRenderer&&(this.ytdReplyButtonRenderer.ytRenderButtonBehavior.buttonTooltipPosition=this.buttonTooltipPosition)};
_.f.onYtToggleButton=function(a){var b,c;this.isLiked=this.systemIcons&&!!(null==(b=a.detail)?0:null==(c=b.actions)?0:c.like)};
_.t.Object.defineProperties(sD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-action-buttons-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_action_buttons_renderer.ytd.comment.action.buttons.renderer.css.js--\x3e<div id="toolbar">\n  <div id="reply-button" hidden="[[computeReplyButtonHidden(hasCreatorReply)]]">\n  </div>\n  <span id="vote-count-left" hidden="[[!computeShowVoteCountBeginning(data, voteCount)]]" aria-label$="[[voteCount.accessibility.accessibilityData.label]]">\n    [[getSimpleString(voteCount)]]\n  </span>\n  <ytd-toggle-button-renderer id="like-button" button-tooltip-position="[[buttonTooltipPosition]]" data="[[data.likeButton.toggleButtonRenderer]]" icon-size="16">\n  </ytd-toggle-button-renderer>\n  <span id="vote-count-middle" hidden="[[!computeShowVoteCountEnd(data, voteCount)]]" aria-label$="[[voteCount.accessibility.accessibilityData.label]]">\n    [[getSimpleString(voteCount)]]\n  </span>\n  <ytd-toggle-button-renderer id="dislike-button" button-tooltip-position="[[buttonTooltipPosition]]" data="[[data.dislikeButton.toggleButtonRenderer]]" icon-size="16">\n  </ytd-toggle-button-renderer>\n  <div id="creator-heart"></div>\n  <div id="share-button" hidden="[[!data.shareButton]]">\n  </div>\n  <div id="reply-button-end" hidden="[[computeReplyButtonHidden(hasCreatorReply)]]">\n  </div>\n</div>\n<div id="reply-dialog"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_action_buttons_renderer.ytd.comment.action.buttons.renderer.css.js--\x3e<style>:host {display: block;color: var(--yt-spec-text-secondary);min-height: 16px;} #toolbar {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([action-buttons-style=desktop-toolbar]) ytd-comment-reply-dialog-renderer {padding-top: 4px;} :host(:not([use-comment-icon])) #reply-button ytd-button-renderer:not([is-icon-button]),:host(:not([use-comment-icon])) #reply-button-end ytd-button-renderer:not([is-icon-button]) {--yt-button-padding: 8px 16px;color: var(--yt-spec-text-secondary);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} :host([use-comment-icon]) #reply-button-end ytd-button-renderer {background-color: transparent;} #vote-count-left {display: inline-block;margin-left: 4px;margin-right: 16px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #vote-count-middle {display: inline-block;margin-right: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([system-icons][is-liked]) #vote-count-left,:host([system-icons][is-liked]) #vote-count-middle {color: var(--yt-spec-text-primary);} #like-button,#dislike-button {--yt-button-icon-size: var(--ytd-comment-thumb-dimension);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #share-button {margin-left: 16px;margin-right: 8px;} :host([use-comment-icon]) #share-button {margin-left: auto;margin-right: 8px;} :host(.ytd-backstage-post-renderer) #reply-button-end {--yt-button-icon-size: 32px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} :host(.ytd-backstage-post-renderer) ytd-button-renderer[is-icon-button],:host(.ytd-backstage-post-renderer) ytd-toggle-button-renderer[is-icon-button] {color: var(--yt-spec-text-secondary);} :host(.ytd-backstage-post-renderer) ytd-button-renderer[is-icon-button]:hover,:host(.ytd-backstage-post-renderer) ytd-toggle-button-renderer[is-icon-button]:hover,:host(.ytd-backstage-post-renderer) #like-button[is-icon-button]:hover,:host(.ytd-backstage-post-renderer) #dislike-button[is-icon-button]:hover {color: var(--yt-spec-text-primary);} :host(.ytd-backstage-post-renderer) ytd-button-renderer[is-icon-button].style-default-active,:host(.ytd-backstage-post-renderer) ytd-toggle-button-renderer[is-icon-button].style-default-active {color: var(--yt-spec-call-to-action);} :host(.ytd-backstage-post-renderer) ytd-button-renderer[is-icon-button][system-icons].style-default-active,:host(.ytd-backstage-post-renderer) ytd-toggle-button-renderer[is-icon-button][system-icons].style-default-active {color: var(--yt-spec-text-primary);} :host([use-comment-icon]) #share-button[hidden]+#reply-button-end {margin-left: auto;} #like-button:hover,#dislike-button:hover,#share-button ytd-button-renderer:hover,:host([use-comment-icon]) #reply-button ytd-button-renderer:hover,:host([use-comment-icon]) #reply-button-end ytd-button-renderer:hover {color: var(--yt-spec-icon-active-other);} :host(:not([use-comment-icon])) #reply-button ytd-button-renderer:hover,:host(:not([use-comment-icon])) #reply-button-end ytd-button-renderer:hover {color: var(--yt-spec-text-primary);} #vote-count-left[hidden]+#like-button {margin-left: -8px;} /*# sourceMappingURL=ytd-comment-action-buttons-renderer.css.map*/</style>';
kWa=d}d=kWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lWa=a}a=lWa;return a}}});
var tD=sD;tD.prototype.onYtToggleButton=tD.prototype.onYtToggleButton;tD.prototype.onButtonTooltipPositionChanged=tD.prototype.onButtonTooltipPositionChanged;tD.prototype.onYtServiceRequestSent=tD.prototype.onYtServiceRequestSent;tD.prototype.onYtNavigate=tD.prototype.onYtNavigate;tD.prototype.onYtCommentboxDismiss=tD.prototype.onYtCommentboxDismiss;tD.prototype.dataChange=tD.prototype.dataChange;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],tD.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],tD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],tD.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],tD.prototype,"voteCount",void 0);_.S([_.N(),_.T("design:type",Object)],tD.prototype,"replyThumbnail",void 0);_.S([_.N(),_.T("design:type",Object)],tD.prototype,"hasCreatorReply",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],tD.prototype,"enableCreationBox",void 0);_.S([_.N({computed:"computeActionButtonStyle(data)",reflectToAttribute:!0}),_.T("design:type",String)],tD.prototype,"actionButtonsStyle",void 0);_.S([_.N({computed:"computeReplyButtonBeginning(data)"}),_.T("design:type",Object)],tD.prototype,"replyButtonBeginning",void 0);_.S([_.N({computed:"computeReplyButtonEnd(data)"}),_.T("design:type",Object)],tD.prototype,"replyButtonEnd",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],tD.prototype,"useCommentIcon",void 0);_.S([_.N(),_.T("design:type",Object)],tD.prototype,"buttonTooltipPosition",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],tD.prototype,"systemIcons",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],tD.prototype,"isLiked",void 0);_.S([_.Z("ytd-button-renderer"),_.T("design:type",Object)],tD.prototype,"ytdReplyButtonRenderer",void 0);
_.S([_.Z("#like-button"),_.T("design:type",_.Kv)],tD.prototype,"JSC$37595_ytdLikeToggleButtonRenderer",void 0);_.S([_.Z("#dislike-button"),_.T("design:type",_.Kv)],tD.prototype,"JSC$37595_ytdDislikeToggleButtonRenderer",void 0);_.S([_.Z("#reply-dialog"),_.T("design:type",HTMLElement)],tD.prototype,"replyDialogElement",void 0);_.S([_.Z("#reply-button"),_.T("design:type",HTMLElement)],tD.prototype,"replyButtonElement",void 0);
_.S([_.Z("#reply-button-end"),_.T("design:type",HTMLElement)],tD.prototype,"replyButtonEndElement",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],tD.prototype,"dataChange",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],tD.prototype,"onYtCommentboxDismiss",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],tD.prototype,"onYtNavigate",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],tD.prototype,"onYtServiceRequestSent",null);_.S([_.P("buttonTooltipPosition"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],tD.prototype,"onButtonTooltipPositionChanged",null);
_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],tD.prototype,"onYtToggleButton",null);tD=_.S([_.Q({asyncProperties:!0,is:"ytd-comment-action-buttons-renderer"})],tD);
var oWa;
var pWa;
var qWa=function(){return _.K.apply(this,arguments)||this};
_.q(qWa,_.K);
_.t.Object.defineProperties(qWa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsors-only-badge-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_sponsors_only_badge_renderer.ytd.sponsors.only.badge.renderer.css.js--\x3e<yt-icon id="icon" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]"></yt-icon>\n<yt-formatted-string id="label" text="[[data.label]]"></yt-formatted-string>\n<template is="dom-if" if="[[data.tooltip]]">\n  <tp-yt-paper-tooltip for="label">\n    <yt-formatted-string split-lines="true" text="[[data.tooltip]]"></yt-formatted-string>\n  </tp-yt-paper-tooltip>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_sponsors_only_badge_renderer.ytd.sponsors.only.badge.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-badge-chip-background);border-radius: 2px;height: 18px;margin-top: 1px;margin-left: 4px;padding-right: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} #icon {color: var(--yt-spec-themed-green);width: 16px;height: 16px;padding-right: 4px;padding-left: 4px;} #label {color: var(--yt-spec-text-secondary);white-space: nowrap;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} /*# sourceMappingURL=ytd-sponsors-only-badge-renderer.css.map*/</style>";
oWa=d}d=oWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pWa=a}a=pWa;return a}}});
var uD=qWa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],uD.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],uD.prototype,"data",void 0);uD=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsors-only-badge-renderer"})],uD);
var rWa;
var sWa;
var vD=function(){var a=_.K.apply(this,arguments)||this;a.alignAuto=!1;a.collapsed=!0;a.isToggled=!1;a.alwaysCollapsed=!1;a.canToggle=!0;a.collapsedHeight=80;a.disableToggle=!1;a.alwaysToggleable=!1;a.reversed=!1;a.shouldUseNumberOfLines=!1;a.recomputeOnResize=!1;a.canToggleJobId=0;return a};
_.q(vD,_.K);_.f=vD.prototype;_.f.alwaysToggleableChanged=function(){this.alwaysToggleable&&(this.canToggle=!0)};
_.f.toggledChanged=function(){this.collapsed=this.alwaysCollapsed||!this.isToggled};
_.f.reversedChanged=function(a,b){if(a&&!b||b&&!a){a=_.H(this.root);b=a.childNodes;for(var c=document.createDocumentFragment(),d=a.childNodes.length-1;0<=d;d--)_.H(c).appendChild(b[d]);a.appendChild(c)}};
_.f.ready=function(){var a=this;this.async(function(){return a.initChildrenObserver()},1)};
_.f.detached=function(){this.detachObserver()};
_.f.toggle=function(a,b){this.canToggle&&(this.isToggled=b,a&&a.stopPropagation())};
_.f.reset=function(){this.childrenChanged()};
_.f.onIronResize=function(){this.recomputeOnResize&&this.childrenChanged()};
_.f.computeIsMoreVisible=function(a,b){return a&&!b};
_.f.computeShouldUseNumberOfLines=function(a){try{return!!a&&window.CSS.supports("-webkit-line-clamp","1")}catch(b){}return!1};
_.f.computeIsLessVisible=function(a,b){return a&&b};
_.f.observeCollapsedHeightAndMaxLines=function(){var a=this.collapsedHeight,b=this.maxNumberOfLines;this.shouldUseNumberOfLines?this.updateStyles({"--ytd-expander-max-lines":""+b,"--ytd-expander-collapsed-height":""}):this.updateStyles({"--ytd-expander-collapsed-height":a+"px","--ytd-expander-max-lines":""})};
_.f.handleMoreTap=function(a){this.disableToggle||(this.fire("yt-expander-more-tapped"),this.toggle(a,!0))};
_.f.handleLessTap=function(a){this.fire("yt-expander-less-tapped");this.toggle(a,!1)};
_.f.initChildrenObserver=function(){var a=this;this.observer=new MutationObserver(function(){return a.childrenChanged()});
this.observer.observe(this.$.content,{subtree:!0,childList:!0,attributes:!0});this.childrenChanged()};
_.f.childrenChanged=function(){var a=this;this.alwaysToggleable?this.canToggle=this.alwaysToggleable:this.canToggleJobId||(this.canToggleJobId=window.requestAnimationFrame(function(){_.Kn(function(){a.canToggleJobId=0;a.calculateCanCollapse()})}))};
_.f.calculateCanCollapse=function(){this.canToggle=this.shouldUseNumberOfLines?this.alwaysToggleable||this.$.content.offsetHeight<this.$.content.scrollHeight:this.alwaysToggleable||this.$.content.scrollHeight>this.collapsedHeight};
_.f.detachObserver=function(){this.observer&&this.observer.disconnect()};
_.t.Object.defineProperties(vD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-expander--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_expander.ytd.expander.css.js--\x3e<div id="content">\n  \n  <slot id="container" name="content"></slot>\n</div>\n<slot name="sticky"></slot>\n<tp-yt-paper-button id="less" aria-expanded="true" hidden="[[!computeIsLessVisible(canToggle, isToggled)]]" noink="" on-tap="handleLessTap">\n  <slot name="less-button"></slot>\n</tp-yt-paper-button>\n<tp-yt-paper-button id="more" aria-expanded="false" hidden="[[!computeIsMoreVisible(canToggle, isToggled)]]" noink="" on-tap="handleMoreTap">\n  <slot name="more-button"></slot>\n</tp-yt-paper-button>\n<slot name="sticky-secondary"></slot>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_expander.ytd.expander.css.js--\x3e<style>:host {display: block;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host([collapsed])>#content {overflow: hidden;max-height: var(--ytd-expander-collapsed-height);} :host([reversed]),:host([reversed])>#content {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([reversed][collapsed][collapsed-height="0"])>#content {display: none;visibility: hidden;} :host([should-use-number-of-lines][collapsed])>#content {color: var(--yt-spec-text-primary);display: -webkit-box;overflow: hidden;max-height: none;-webkit-box-orient: vertical;-webkit-line-clamp: var(--ytd-expander-max-lines,4);} :host ::slotted(*) {word-wrap: break-word;min-width: 0;} tp-yt-paper-button {margin: var(--ytd-expander-button-margin,0);padding: 0;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} :host([align-auto]) tp-yt-paper-button {-ms-align-self: auto;-webkit-align-self: auto;align-self: auto;} #more:focus,#less:focus {outline: -webkit-focus-ring-color auto 5px;} #more:focus:hover,#less:focus:hover {outline: none;} #less.scrolling {box-shadow: var(--ytd-expander-button-scrolling-box-shadow);border-radius: var(--ytd-expander-button-border-radius);} /*# sourceMappingURL=ytd-expander.css.map*/</style>';
rWa=d}d=rWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sWa=a}a=sWa;return a}}});
_.wD=vD;_.wD.prototype.observeCollapsedHeightAndMaxLines=_.wD.prototype.observeCollapsedHeightAndMaxLines;_.wD.prototype.onIronResize=_.wD.prototype.onIronResize;_.wD.prototype.toggledChanged=_.wD.prototype.toggledChanged;_.wD.prototype.alwaysToggleableChanged=_.wD.prototype.alwaysToggleableChanged;_.S([_.L(_.xx),_.T("design:type",Object)],_.wD.prototype,"ironResizableBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.wD.prototype,"alignAuto",void 0);
_.S([_.N({notify:!0,reflectToAttribute:!0}),_.T("design:type",Object)],_.wD.prototype,"collapsed",void 0);_.S([_.N({notify:!0}),_.T("design:type",Object)],_.wD.prototype,"isToggled",void 0);_.S([_.N(),_.T("design:type",Object)],_.wD.prototype,"alwaysCollapsed",void 0);_.S([_.N({notify:!0}),_.T("design:type",Object)],_.wD.prototype,"canToggle",void 0);_.S([_.N(),_.T("design:type",Object)],_.wD.prototype,"collapsedHeight",void 0);
_.S([_.N(),_.T("design:type",Object)],_.wD.prototype,"disableToggle",void 0);_.S([_.N(),_.T("design:type",Object)],_.wD.prototype,"alwaysToggleable",void 0);_.S([_.N({observer:"reversedChanged"}),_.T("design:type",Object)],_.wD.prototype,"reversed",void 0);_.S([_.N(),_.T("design:type",Number)],_.wD.prototype,"maxNumberOfLines",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeShouldUseNumberOfLines(maxNumberOfLines)"}),_.T("design:type",Object)],_.wD.prototype,"shouldUseNumberOfLines",void 0);
_.S([_.N(),_.T("design:type",Object)],_.wD.prototype,"recomputeOnResize",void 0);_.S([_.Ct("alwaysToggleable"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.wD.prototype,"alwaysToggleableChanged",null);_.S([_.Ct("isToggled"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.wD.prototype,"toggledChanged",null);
_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.wD.prototype,"onIronResize",null);_.S([_.P("maxNumberOfLines","collapsedHeight"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.wD.prototype,"observeCollapsedHeightAndMaxLines",null);_.wD=_.S([_.Q({is:"ytd-expander"})],_.wD);
var xD=function(){var a=_.K.apply(this,arguments)||this;a.editDialog=null;a.isLoading=!1;a.isRichGrid=!1;a.isRichGridRepost=!1;a.reduceSidePaddings=_.x("reduce_side_paddings_in_shelf");a.JSC$37610_spinnerEl=null;return a};
_.q(xD,_.K);_.f=xD.prototype;
_.f.configureRendererStamper=function(){return{"data.actionMenu":{id:"action-menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.authorCommentBadge":{id:"author-comment-badge",mapping:{authorCommentBadgeRenderer:"ytd-author-comment-badge-renderer"}},"data.sponsorsOnlyBadge":{id:"sponsors-only-badge",mapping:{sponsorsOnlyBadgeRenderer:"ytd-sponsors-only-badge-renderer"}},"data.backstageAttachment":{id:"content-attachment",mapping:{videoRenderer:{component:"ytd-video-renderer",properties:{isPostCompactVideo:"[[usesCompactLockup]]",
isRichGridVideoPost:"[[isRichGrid]]"}},backstageImageRenderer:{component:"ytd-backstage-image-renderer",properties:{surface:"[[data.surface]]"}},playlistRenderer:{component:"ytd-playlist-renderer",properties:{isPostCompactPlaylist:"[[usesCompactLockup]]"}}}},"data.voteButton":{id:"vote-button",mapping:{buttonRenderer:"ytd-button-renderer"}},editDialog:{id:"edit-dialog",mapping:{backstagePostDialogRenderer:"ytd-backstage-post-dialog-renderer"}},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",
notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.f.contentTextChanged=function(){this.expander.reset()};
_.f.dataChanged=function(a){var b=this;this.isLoading=!1;this.editDialog=null;for(var c=0,d=a.actions&&a.actions.length;c<d;c++)this.openEditDialog(a.actions[c].openUpdateCommentDialogAction);if((a=this.get("actionButtons.commentActionButtonsRenderer.shareButton",a))&&(a=this.get("buttonRenderer.hint.hintRenderer.hintId",a))&&a.startsWith("share-post-hint")){var e=this.get("children.dismissible.children.toolbar.children.action-buttons.children.toolbar.children.share-button",this);if(e){_.PB.getInstance();
var h=_.CTa(_.Mu(_.Bg("SHARE_POST_EDU_TEXT")),"share-post-edu-displayed","OPEN_POPUP_POSITION_TOPRIGHT");_.xe.addLowPriorityJob(function(){_.Lg(b,h,e)})}}};
_.f.updatePoll=function(a){0<=a?this.actionButtons.reply():this.actionButtons.hideReplyDialog()};
_.f.isLoadingChanged=function(){!this.isLoading||this.editDialog||this.JSC$37610_spinnerEl||(this.JSC$37610_spinnerEl=document.createElement("tp-yt-paper-spinner-lite"),_.H(this.root).appendChild(this.JSC$37610_spinnerEl));this.JSC$37610_spinnerEl&&(this.JSC$37610_spinnerEl.active=this.isLoading)};
_.f.onYtNavigate=function(a){var b=this.get("updateCommentDialogEndpoint",a.detail.endpoint);b&&(this.openEditDialog(b),a.stopPropagation())};
_.f.onYtCommentboxDismiss=function(){this.editDialog=null};
_.f.onYtCommentPollRevert=function(a,b){b&&this.updatePoll(b.selectedChoiceIndex)};
_.f.onYtServiceRequestSent=function(a,b){b.endpoint&&(b.endpoint.updateCommentEndpoint||b.endpoint.performCommentActionEndpoint&&!b.endpoint.performCommentActionEndpoint.clientActions)&&(this.isLoading=!0);if(b.actions)for(a=0;a<b.actions.length;a++){var c=b.actions[a];c.updateBackstagePollAction&&(c=this.get("updateBackstagePollAction.selectedChoiceIndex",c),void 0==c&&(c=-1),this.updatePoll(c))}};
_.f.onYtServiceRequestCompleted=function(){this.isLoading=!1};
_.f.openEditDialog=function(a){a&&a.dialog&&(this.editDialog=a.dialog,a=this.editDialogEl.firstElementChild)&&(a.focus(),a.openDialog&&a.openDialog())};
_.f.computeIsPostHidden=function(a,b){return!!a||b};
_.f.computeSurfaceType=function(a){return a?a.toLowerCase().replace(/_/g,"-"):""};
_.f.computeUsesCompactLockup=function(a){return"BACKSTAGE_SURFACE_TYPE_HOME"==a||"BACKSTAGE_SURFACE_TYPE_REPOST_PREVIEW"==a};
_.f.computeShowWithoutToolbar=function(a){return!a.actionButtons&&!a.actionMenu};
_.f.computePostAttachment=function(a){if(a.backstageAttachment){if(a.backstageAttachment.pollRenderer)return"poll";if(a.backstageAttachment.videoRenderer)return"video";if(a.backstageAttachment.backstageImageRenderer)return a.contentText?"image":"image-only";if(a.backstageAttachment.playlistRenderer)return"playlist"}return"none"};
_.f.computePostTabIndex=function(a){return a?0:-1};
_.f.computeButtonTooltipPosition=function(a){return this.computeUsesCompactLockup(a)?"top":"bottom"};
_.f.onTap=function(a){var b;(null==(b=this.data)?0:b.navigationEndpoint)&&!_.Hx(_.H(a).path||[],this,["A".toString(),"BUTTON".toString(),"YTD-VIDEO-RENDERER","YTD-PLAYLIST-RENDERER"])&&this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint})};
_.t.Object.defineProperties(xD.prototype,{voteCount:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.voteCount)||_.Mu("0")}},
hasPoll:{configurable:!0,enumerable:!0,get:function(){return!(!this.data.backstageAttachment||!this.data.backstageAttachment.pollRenderer)}}});
_.t.Object.defineProperties(xD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-post-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_renderer.ytd.post.renderer.css.js--\x3e<div id="dismissible" role="link" hidden="[[computeIsPostHidden(editDialog, isLoading)]]" tabindex="[[computePostTabIndex(data.navigationEndpoint)]]" on-tap="onTap">\n  <div id="header">\n    <div id="author-thumbnail">\n      <a aria-hidden="true" class="yt-simple-endpoint" href$="[[computeHref_(data.authorEndpoint)]]" data="[[data.authorEndpoint]]" tabindex="-1">\n        <yt-img-shadow fit="" height="32" thumbnail="[[data.authorThumbnail]]" width="32">\n        </yt-img-shadow>\n      </a>\n    </div>\n    <div id="author">\n      <a id="author-text" class="yt-simple-endpoint" href$="[[computeHref_(data.authorEndpoint)]]" data="[[data.authorEndpoint]]" hidden="[[data.authorCommentBadge]]">\n        <span>[[getSimpleString(data.authorText)]]</span>\n      </a>\n      <span id="author-comment-badge" hidden="[[!data.authorCommentBadge]]"></span>\n    </div>\n    <span id="author-divider">\u2022</span>\n    <yt-formatted-string id="published-time-text" text="[[data.publishedTimeText]]">\n    </yt-formatted-string>\n    <span id="sponsors-only-badge" hidden="[[!data.sponsorsOnlyBadge]]"></span>\n  </div>\n  <div id="body">\n    <div id="post-text">\n\n      \n      <ytd-expander id="expander" hidden="[[usesCompactLockup]]">\n        <yt-formatted-string id="content-text" slot="content" dir="auto" force-default-style="" split-lines="" text="[[data.contentText]]">\n        </yt-formatted-string>\n        <span class="more-button" slot="more-button">\n          [[getSimpleString(data.expandButton.buttonRenderer.text)]]\n        </span>\n        <span class="less-button" slot="less-button">\n          [[getSimpleString(data.collapseButton.buttonRenderer.text)]]\n        </span>\n      </ytd-expander>\n      <yt-formatted-string id="home-content-text" slot="content" hidden="[[!usesCompactLockup]]" split-lines="" text="[[data.contentText]]">\n        </yt-formatted-string>\n    </div>\n    <div id="attachments">\n      <div id="content-attachment" hidden="[[!data.backstageAttachment]]"></div>\n      <div id="vote-count-text">\n        [[getSimpleString(data.backstageAttachment.pollRenderer.totalVotes)]]\n      </div>\n      <div id="vote-button"></div>\n      <ytd-backstage-poll-renderer id="poll-attachment" aria-label$="[[data.backstageAttachment.pollRenderer.accessibilityData.accessibilityData.label]]" data="[[data.backstageAttachment.pollRenderer]]" disable-upgrade$="[[!hasPoll]]" role="group">\n      </ytd-backstage-poll-renderer>\n    </div>\n  </div>\n  <div id="toolbar" hidden="[[showWithoutToolbar]]">\n    <ytd-comment-action-buttons-renderer id="action-buttons" button-tooltip-position="[[computeButtonTooltipPosition(data.surface)]]" data="[[data.actionButtons.commentActionButtonsRenderer]]" has-creator-reply="[[hasCreatorReply_]]" hidden="[[!data.actionButtons.commentActionButtonsRenderer]]" use-comment-icon="" vote-count="[[voteCount]]">\n    </ytd-comment-action-buttons-renderer>\n    <div id="action-menu"></div>\n  </div>\n</div>\n<div id="dismissed">\n  <div id="dismissed-content"></div>\n</div>\n<div id="edit-dialog" hidden="[[!editDialog]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_renderer.ytd.post.renderer.css.js--\x3e<style>:host {--ytd-comment-thumb-dimension: 36px;--yt-icon-button-icon-width: 20px;--yt-icon-button-icon-height: 20px;display: block;max-width: 638px;} #dismissible,#body {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #dismissed:focus {outline: none;} #header {align-items: center;margin-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #author-thumbnail {height: 32px;font-size: 0;-ms-flex: none;-webkit-flex: none;flex: none;} #author-thumbnail yt-img-shadow {width: 32px;height: 32px;margin-right: 12px;border-radius: 50%;background-color: transparent;overflow: hidden;} #author {margin-right: 4px;} #author-text.yt-simple-endpoint {color: var(--yt-spec-text-primary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #author-badge {margin-right: 8px;} #published-time-text {--yt-endpoint-color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #author-divider {color: var(--yt-spec-text-secondary);margin-right: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #post-text {min-width: 0;} #content-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #vote-count-text {display: none;} .more-button,.less-button {text-transform: none;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #content-attachment {margin-top: 12px;} #content-attachment ytd-backstage-image-renderer {width: 100%;} #content-attachment ytd-video-renderer {padding: 8px;background-color: var(--yt-spec-general-background-b);} #content-attachment ytd-playlist-renderer {padding: 8px;background-color: var(--yt-spec-general-background-b);} #toolbar {margin-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #action-menu {margin-right: -12px;color: var(--yt-spec-icon-inactive);} #dismissible:not(:hover) ytd-menu-renderer:not([menu-active]) {opacity: 0;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;} :host([surface=backstage-surface-type-stream]) #header,:host([surface=backstage-surface-type-stream]) #post-text,:host([surface=backstage-surface-type-stream]) #toolbar,:host([surface=backstage-surface-type-stream]) ytd-video-renderer,:host([surface=backstage-surface-type-stream]) ytd-playlist-renderer,:host([surface=backstage-surface-type-stream]) ytd-backstage-poll-renderer {margin-left: 16px;margin-right: 16px;} :host([uses-compact-lockup]) {--yt-img-border-radius: 2px;padding: 12px 24px 0 24px;border: 1px solid var(--yt-spec-10-percent-layer);max-width: 386px;width: 386px;height: 196px;background-color: var(--yt-spec-brand-background-solid);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([uses-compact-lockup][show-without-toolbar]) {height: auto;padding-bottom: 12px;-ms-flex: none;-webkit-flex: none;flex: none;} :host([uses-compact-lockup][is-rich-grid][reduce-side-paddings]),:host([uses-compact-lockup][is-rich-grid-repost][reduce-side-paddings]) {padding-left: 16px;padding-right: 16px;} :host([uses-compact-lockup]) #toolbar {margin: 2px 0;} :host([uses-compact-lockup][show-without-toolbar]) #toolbar {margin: 2px 0;-ms-flex: none;-webkit-flex: none;flex: none;} :host([uses-compact-lockup]) #header {margin-bottom: 12px;} :host([uses-compact-lockup][show-without-toolbar]) #header {-ms-flex: none;-webkit-flex: none;flex: none;} :host([uses-compact-lockup]) #body {max-height: 116px;} :host([uses-compact-lockup][show-without-toolbar]) #body {-ms-flex: none;-webkit-flex: none;flex: none;} :host([uses-compact-lockup]) #dismissible {cursor: pointer;outline: none;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([uses-compact-lockup][show-without-toolbar]) #dismissible {-ms-flex: none;-webkit-flex: none;flex: none;} :host([uses-compact-lockup]) #body {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([uses-compact-lockup]) #author-thumbnail {height: 24px;} :host([uses-compact-lockup]) #author-thumbnail yt-img-shadow {width: 24px;height: 24px;} :host([uses-compact-lockup]) #author-text.yt-simple-endpoint {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([uses-compact-lockup]) #author-text.yt-simple-endpoint:hover {color: var(--yt-spec-text-primary);} :host([uses-compact-lockup]) #published-time-text {--yt-endpoint-visited-color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([uses-compact-lockup][is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([uses-compact-lockup][is-dismissed]) #dismissed {display: flex;justify-content: center;align-items: center;flex: 1;} :host([uses-compact-lockup][is-dismissed][show-without-toolbar]) #dismissed {-ms-flex: none;-webkit-flex: none;flex: none;} :host([uses-compact-lockup]) #home-content-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([uses-compact-lockup][attachment=image]) #home-content-text,:host([uses-compact-lockup][attachment=none]) #home-content-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 10rem;overflow: hidden;display: block;-webkit-line-clamp: 5;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([uses-compact-lockup]) #dismissible:not(:hover) ytd-menu-renderer:not([menu-active]) {opacity: 1;} :host([uses-compact-lockup]) ytd-comment-action-buttons-renderer,:host([surface=backstage-surface-type-stream]) ytd-comment-action-buttons-renderer {flex-grow: 1;} :host([uses-compact-lockup]) #content-attachment {margin-top: 0;} :host([uses-compact-lockup][attachment=image]) #body {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([uses-compact-lockup][attachment=image]) #attachments {margin-left: auto;} :host([uses-compact-lockup][attachment=video]) #content-attachment,:host([uses-compact-lockup][attachment=playlist]) #content-attachment,:host([uses-compact-lockup][attachment=poll]) #content-attachment {margin-top: 4px;} :host([uses-compact-lockup][attachment=video]) #content-attachment ytd-video-renderer,:host([uses-compact-lockup][attachment=playlist]) #content-attachment ytd-playlist-renderer {padding: 0;} :host([uses-compact-lockup][attachment=image]) #content-attachment ytd-backstage-image-renderer {width: 116px;max-height: 116px;overflow: hidden;} :host([uses-compact-lockup][attachment=image]) #post-text {margin-right: 16px;} :host([uses-compact-lockup][attachment=image-only]) #content-attachment {background-color: var(--yt-spec-general-background-a);} :host([uses-compact-lockup][attachment=image-only]) #content-attachment ytd-backstage-image-renderer {width: 116px;height: 116px;margin-left: auto;margin-right: auto;overflow: hidden;} :host([uses-compact-lockup][attachment=video]) #post-text,:host([uses-compact-lockup][attachment=playlist]) #post-text,:host([uses-compact-lockup][attachment=poll]) #post-text {min-height: 40px;} :host([uses-compact-lockup][attachment=poll]) #attachments ytd-backstage-poll-renderer {display: none;} :host([uses-compact-lockup][attachment=poll]) #vote-count-text {display: block;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;line-height: 2rem;} :host([uses-compact-lockup][attachment=poll]) #vote-button {margin: 16px 0 0 0;} :host([uses-compact-lockup][is-rich-grid]) {max-width: 100%;width: 100%;overflow: hidden;} :host([uses-compact-lockup][is-rich-grid-repost]) {max-width: calc(100% - 48px - 2px);width: calc(100% - 48px - 2px);overflow: hidden;} :host([uses-compact-lockup][show-without-toolbar]) #edit-dialog {-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-post-renderer.css.map*/</style>';
gWa=d}d=gWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hWa=a}a=hWa;return a}}});
var yD=xD;yD.prototype.onYtServiceRequestCompleted=yD.prototype.onYtServiceRequestCompleted;yD.prototype.onYtServiceRequestSent=yD.prototype.onYtServiceRequestSent;yD.prototype.onYtCommentPollRevert=yD.prototype.onYtCommentPollRevert;yD.prototype.onYtCommentboxDismiss=yD.prototype.onYtCommentboxDismiss;yD.prototype.onYtNavigate=yD.prototype.onYtNavigate;yD.prototype.isLoadingChanged=yD.prototype.isLoadingChanged;yD.prototype.dataChanged=yD.prototype.dataChanged;yD.prototype.contentTextChanged=yD.prototype.contentTextChanged;
_.S([_.L(_.iy),_.T("design:type",Object)],yD.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],yD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],yD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],yD.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],yD.prototype,"editDialog",void 0);
_.S([_.N(),_.T("design:type",Object)],yD.prototype,"isLoading",void 0);_.S([_.N({computed:"computeSurfaceType(data.surface)",reflectToAttribute:!0}),_.T("design:type",String)],yD.prototype,"surface",void 0);_.S([_.N({computed:"computeUsesCompactLockup(data.surface)",reflectToAttribute:!0}),_.T("design:type",Boolean)],yD.prototype,"usesCompactLockup",void 0);_.S([_.N({computed:"computeShowWithoutToolbar(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],yD.prototype,"showWithoutToolbar",void 0);
_.S([_.N({computed:"computePostAttachment(data)",reflectToAttribute:!0}),_.T("design:type",String)],yD.prototype,"attachment",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],yD.prototype,"isRichGrid",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],yD.prototype,"isRichGridRepost",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("use_better_post_dismissals")}),_.T("design:type",Boolean)],yD.prototype,"useBetterPostDismissals",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],yD.prototype,"reduceSidePaddings",void 0);_.S([_.Z("#expander"),_.T("design:type",_.wD)],yD.prototype,"expander",void 0);_.S([_.Z("#action-buttons"),_.T("design:type",tD)],yD.prototype,"actionButtons",void 0);_.S([_.Z("#edit-dialog"),_.T("design:type",HTMLElement)],yD.prototype,"editDialogEl",void 0);
_.S([_.P("data.contentText"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yD.prototype,"contentTextChanged",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],yD.prototype,"dataChanged",null);_.S([_.P("isLoading"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yD.prototype,"isLoadingChanged",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],yD.prototype,"onYtNavigate",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yD.prototype,"onYtCommentboxDismiss",null);_.S([_.O("yt-comment-poll-revert"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],yD.prototype,"onYtCommentPollRevert",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],yD.prototype,"onYtServiceRequestSent",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],yD.prototype,"onYtServiceRequestCompleted",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],yD.prototype,"voteCount",null);
_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],yD.prototype,"hasPoll",null);yD=_.S([_.Q({is:"ytd-post-renderer"})],yD);
var tWa;
var uWa;
var vWa;
var wWa;
var zD=function(){return _.K.apply(this,arguments)||this};
_.q(zD,_.K);zD.prototype.configureRendererStamper=function(){return{"data.images":{id:"items",mapping:{backstageImageRenderer:{component:"ytd-backstage-image-renderer",properties:{surface:"[[surface]]"}}}}}};
_.t.Object.defineProperties(zD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-post-multi-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_multi_image_renderer.ytd.post.multi.image.renderer.css.js--\x3e<div id="shelf-container">\n  <div id="left-arrow-container" class="arrow-container">\n      <div id="left-arrow" class="arrow center-aligned" on-click="prevClick_" hidden="[[atStart]]">\n         <yt-icon icon="yt-icons:chevron_left"></yt-icon>\n      </div>\n  </div>\n  <div id="scroll-container" on-keydown="handleKeyDown_">\n    <div id="items"></div>\n  </div>\n  <div id="right-arrow-container" class="arrow-container">\n    <div id="right-arrow" class="arrow center-aligned" on-click="nextClick_" hidden="[[atEnd]]">\n       <yt-icon icon="yt-icons:chevron_right"></yt-icon>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_multi_image_renderer.ytd.post.multi.image.renderer.css.js--\x3e<style>:host {--yt-img-max-height: var(--yt-post-multi-image-attachment-size, 638px);display: block;position: relative;width: var(--yt-post-multi-image-attachment-size,638px);} #shelf-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-top: 8px;} #scroll-container {overflow: hidden;} #items {transition-duration: 0.15s;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;} #items>* {display: inline-block;vertical-align: top;white-space: normal;} .arrow-container {position: absolute;top: 0;bottom: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #left-arrow-container {left: -20px;} #right-arrow-container {right: -20px;} .arrow-container {z-index: 200;} .arrow {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;background-color: var(--yt-spec-brand-background-solid);border-radius: 24px;box-shadow: 0 4px 4px var(--yt-spec-10-percent-layer),0 0 8px var(--yt-spec-10-percent-layer);color: var(--yt-spec-icon-inactive);cursor: pointer;height: 40px;width: 40px;} .center-aligned {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} ytd-backstage-image-renderer {width: var(--yt-post-multi-image-attachment-size,638px);} /*# sourceMappingURL=ytd-post-multi-image-renderer.css.map*/</style>";
vWa=d}d=vWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wWa=a}a=wWa;return a}}});
var AD=zD;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],AD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.vy),_.T("design:type",Object)],AD.prototype,"ytdHorizontalListBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],AD.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AD.prototype,"data",void 0);
_.S([_.N({value:"$.items.children"}),_.T("design:type",String)],AD.prototype,"itemsPath",void 0);_.S([_.N({value:1}),_.T("design:type",Number)],AD.prototype,"initialCount",void 0);_.S([_.N(),_.T("design:type",String)],AD.prototype,"surface",void 0);AD=_.S([_.Q({asyncProperties:!0,is:"ytd-post-multi-image-renderer"})],AD);
var xWa={"data.actionMenu":{id:"action-menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.authorCommentBadge":{id:"author-comment-badge",mapping:{authorCommentBadgeRenderer:"ytd-author-comment-badge-renderer"}},"data.sponsorsOnlyBadge":{id:"sponsors-only-badge",mapping:{sponsorsOnlyBadgeRenderer:"ytd-sponsors-only-badge-renderer"}},"data.backstageAttachment":{id:"content-attachment",mapping:{videoRenderer:{component:"ytd-video-renderer",params:{isBackstageVideo:!0}},backstageImageRenderer:{component:"ytd-backstage-image-renderer",
properties:{surface:"[[data.surface]]"}},postMultiImageRenderer:{component:"ytd-post-multi-image-renderer",properties:{surface:"[[data.surface]]"}},playlistRenderer:{component:"ytd-playlist-renderer",params:{isBackstagePlaylist:!0}}}},editDialog:{id:"edit-dialog",mapping:{backstagePostDialogRenderer:"ytd-backstage-post-dialog-renderer"}}},BD=function(){var a=_.K.apply(this,arguments)||this;a.hasInlineCommentSection=!1;a.editDialog=null;a.isLoading=!1;a.JSC$37624_spinnerEl=null;a.actionMap={"yt-signal-action-open-post-comment-dialog":"handleSignalActionOpenPostCommentDialogAction"};
return a};
_.q(BD,_.K);_.f=BD.prototype;_.f.configureRendererStamper=function(){return xWa};
_.f.computeIsPollHeaderEnabled=function(a){return null!=(null==a?void 0:a.pollMetadataIcon)};
_.f.getPublishTimeStampString=function(a,b){b=new Date(1E3*(Number(b)-60*((new Date).getTimezoneOffset()-(new Date(1E3*Number(b))).getTimezoneOffset())));b=(new _.ni(10)).format(b);if(a&&a.runs&&a.runs.length)for(var c=0;c<a.runs.length;c++)a.runs[c].text&&(a.runs[c].text=a.runs[c].text.replace("POST_SCHEDULED_TIMESTAMP_PLACEHOLDER",b));return a};
_.f.created=function(){this.JSC$37624_spinnerEl=null};
_.f.contentTextChanged=function(){this.expander.reset()};
_.f.dataChanged=function(){this.isLoading=!1;this.editDialog=null;var a;if(null==(a=this.data)?0:a.actions){a=_.k(this.data.actions);for(var b=a.next();!b.done;b=a.next())this.openEditDialog(b.value.openUpdateCommentDialogAction)}};
_.f.handleSignalActionOpenPostCommentDialogAction=function(){this.$["action-buttons"].reply()};
_.f.updatePoll=function(a,b){b&&this.set("data.pollMetadataVoteCountText",b);this.hasInlineCommentSection&&(b=this.$["action-buttons"],0<=a?b.reply():b.hideReplyDialog())};
_.f.isLoadingChanged=function(){!this.isLoading||this.editDialog||this.JSC$37624_spinnerEl||(this.JSC$37624_spinnerEl=document.createElement("tp-yt-paper-spinner-lite"),_.H(this.root).appendChild(this.JSC$37624_spinnerEl));this.JSC$37624_spinnerEl&&(this.JSC$37624_spinnerEl.active=this.isLoading)};
_.f.onYtNavigate=function(a){var b=this.get("updateCommentDialogEndpoint",a.detail.endpoint);b&&(this.openEditDialog(b),a.stopPropagation())};
_.f.onYtCommentboxDismiss=function(){this.editDialog=null};
_.f.onYtCommentPollRevert=function(a,b){b&&this.updatePoll(b.selectedChoiceIndex,b.totalVotes)};
_.f.onYtServiceRequestSent=function(a,b){a.stopPropagation();b.endpoint&&(b.endpoint.updateCommentEndpoint||b.endpoint.performCommentActionEndpoint&&!b.endpoint.performCommentActionEndpoint.clientActions)&&(this.isLoading=!0);if(b.actions)for(a=0;a<b.actions.length;a++){var c=b.actions[a];if(c.updateBackstagePollAction){var d=this.get("updateBackstagePollAction.selectedChoiceIndex",c);void 0===d&&(d=-1);this.updatePoll(d,c.updateBackstagePollAction.totalVotes)}}};
_.f.onYtServiceRequestCompleted=function(){this.isLoading=!1};
_.f.openEditDialog=function(a){a&&a.dialog&&(this.editDialog=a.dialog,a=this.editDialogElement.firstElementChild)&&(a.focus(),a.openDialog&&a.openDialog())};
_.f.computeIsBodyHidden=function(a,b){return!!a||b};
_.t.Object.defineProperties(BD.prototype,{pollIcon:{configurable:!0,enumerable:!0,get:function(){var a,b;if(null==(a=this.data)?0:null==(b=a.pollMetadataIcon)?0:b.iconType)return _.Ft(this.data.pollMetadataIcon.iconType)}},
voteCount:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.voteCount)||_.Mu("0")}},
hasPoll:{configurable:!0,enumerable:!0,get:function(){return!!(this.data&&this.data.backstageAttachment&&this.data.backstageAttachment.pollRenderer)}}});
_.t.Object.defineProperties(BD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-post-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_post_renderer.ytd.backstage.post.renderer.css.js--\x3e<div id="body" hidden="[[computeIsBodyHidden(editDialog, isLoading)]]">\n  <div id="author-thumbnail">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.authorEndpoint)]]" data="[[data.authorEndpoint]]">\n      <yt-img-shadow fit="" height="40" thumbnail="[[data.authorThumbnail]]" width="40">\n      </yt-img-shadow>\n    </a>\n  </div>\n  <div id="main">\n    <div id="header">\n      <div id="header-author">\n        <a id="author-text" class="yt-simple-endpoint" href$="[[computeHref_(data.authorEndpoint)]]" data="[[data.authorEndpoint]]" hidden="[[data.authorCommentBadge]]">\n          <span>[[getSimpleString(data.authorText)]]</span>\n        </a>\n        <span id="author-comment-badge" hidden="[[!data.authorCommentBadge]]"></span>\n        <template is="dom-if" if="[[isPollHeaderEnabled]]">\n          <yt-icon id="poll-icon" icon="[[pollIcon]]"></yt-icon>\n          <yt-formatted-string class="poll-metadata-text" text="[[data.pollMetadataText]]">\n          </yt-formatted-string>\n          <span class="poll-metadata-text-separator">\u00b7</span>\n          <yt-formatted-string class="poll-metadata-text" text="[[data.pollMetadataVoteCountText]]">\n          </yt-formatted-string>\n          <span class="poll-metadata-text-separator">\u00b7</span>\n        </template>\n        <yt-formatted-string id="published-time-text" text="[[getPublishTimeStampString(data.publishedTimeText, data.scheduledPublishTimeSec)]]">\n        </yt-formatted-string>\n        <span id="sponsors-only-badge" hidden="[[!data.sponsorsOnlyBadge]]"></span>\n      </div>\n    </div>\n    <ytd-expander id="expander" max-number-of-lines="4">\n      <yt-formatted-string id="voted-option" slot="content" disable-upgrade$="[[!data.prologueText]]" hidden="[[!data.prologueText]]" text="[[data.prologueText]]">\n      </yt-formatted-string>\n      <yt-formatted-string id="content-text" slot="content" dir="auto" force-default-style="" split-lines="" text="[[data.contentText]]">\n      </yt-formatted-string>\n      <span class="more-button" slot="more-button">[[getSimpleString(data.expandButton.buttonRenderer.text)]]</span>\n      <span class="less-button" slot="less-button">[[getSimpleString(data.collapseButton.buttonRenderer.text)]]</span>\n    </ytd-expander>\n    <div id="content-attachment" hidden="[[!data.backstageAttachment]]"></div>\n    <ytd-backstage-poll-renderer id="poll-attachment" aria-label$="[[data.backstageAttachment.pollRenderer.accessibilityData.accessibilityData.label]]" data="[[data.backstageAttachment.pollRenderer]]" disable-upgrade$="[[!hasPoll]]" hidden="[[!hasPoll]]" role="group">\n    </ytd-backstage-poll-renderer>\n    <ytd-comment-action-buttons-renderer id="action-buttons" data="[[data.actionButtons.commentActionButtonsRenderer]]" has-poll="[[hasPoll]]" hidden="[[!data.actionButtons.commentActionButtonsRenderer]]" vote-count="[[voteCount]]">\n    </ytd-comment-action-buttons-renderer>\n  </div>\n\n  <div id="action-menu"></div>\n</div>\n<div id="edit-dialog" hidden="[[!editDialog]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_post_renderer.ytd.backstage.post.renderer.css.js--\x3e<style>:host {--ytd-comment-thumb-dimension: 32px;display: block;} #body {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #main {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {margin-bottom: 2px;} #content-attachment {margin-top: 4px;} #content-attachment ytd-video-renderer,#content-attachment ytd-playlist-renderer {padding: 8px;background-color: var(--yt-spec-general-background-a);} #header-author {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #author-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;} #author-thumbnail yt-img-shadow {width: 40px;height: 40px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} #author-text.yt-simple-endpoint {margin-right: 8px;color: var(--yt-spec-text-primary);margin-bottom: 2px;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #author-comment-badge {margin-right: 8px;} #published-time-text {--yt-endpoint-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #poll-icon {color: var(--yt-spec-text-secondary);height: 16px;margin-right: 8px;width: 16px;} .poll-metadata-text {--yt-endpoint-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .poll-metadata-text-separator {--yt-endpoint-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);margin-left: 4px;margin-right: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #voted-option {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #content-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} yt-formatted-string {word-break: break-word;} .more-button,.less-button {text-transform: none;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #body:not(:hover) ytd-menu-renderer:not([menu-active]) {opacity: 0;} #action-buttons {margin-top: 4px;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;} /*# sourceMappingURL=ytd-backstage-post-renderer.css.map*/</style>';
tWa=d}d=tWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uWa=a}a=uWa;return a}}});
var CD=BD;CD.prototype.onYtServiceRequestCompleted=CD.prototype.onYtServiceRequestCompleted;CD.prototype.onYtServiceRequestSent=CD.prototype.onYtServiceRequestSent;CD.prototype.onYtCommentPollRevert=CD.prototype.onYtCommentPollRevert;CD.prototype.onYtCommentboxDismiss=CD.prototype.onYtCommentboxDismiss;CD.prototype.onYtNavigate=CD.prototype.onYtNavigate;CD.prototype.isLoadingChanged=CD.prototype.isLoadingChanged;CD.prototype.dataChanged=CD.prototype.dataChanged;CD.prototype.contentTextChanged=CD.prototype.contentTextChanged;
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],CD.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],CD.prototype,"rendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],CD.prototype,"rendererstamperBehavior",void 0);_.S([_.Z("#expander"),_.T("design:type",_.wD)],CD.prototype,"expander",void 0);_.S([_.Z("#edit-dialog"),_.T("design:type",Element)],CD.prototype,"editDialogElement",void 0);
_.S([_.N(),_.T("design:type",Object)],CD.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],CD.prototype,"hasInlineCommentSection",void 0);_.S([_.N(),_.T("design:type",Object)],CD.prototype,"editDialog",void 0);_.S([_.N(),_.T("design:type",Boolean)],CD.prototype,"isLoading",void 0);_.S([_.N({computed:"computeIsPollHeaderEnabled(data)"}),_.T("design:type",Boolean)],CD.prototype,"isPollHeaderEnabled",void 0);
_.S([_.V("data.icon.iconType"),_.T("design:type",Object),_.T("design:paramtypes",[])],CD.prototype,"pollIcon",null);_.S([_.P("data.contentText"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CD.prototype,"contentTextChanged",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CD.prototype,"dataChanged",null);
_.S([_.P("isLoading"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CD.prototype,"isLoadingChanged",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],CD.prototype,"onYtNavigate",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CD.prototype,"onYtCommentboxDismiss",null);
_.S([_.O("yt-comment-poll-revert"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],CD.prototype,"onYtCommentPollRevert",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],CD.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],CD.prototype,"onYtServiceRequestCompleted",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],CD.prototype,"voteCount",null);_.S([_.V("data.backstageAttachment"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],CD.prototype,"hasPoll",null);CD=_.S([_.Q({is:"ytd-backstage-post-renderer"})],CD);
var yWa;
var zWa;
var DD=function(){var a=_.K.apply(this,arguments)||this;a.editDialog=null;a.showExpandButton=!1;a.isRichGrid=!1;return a};
_.q(DD,_.K);_.f=DD.prototype;_.f.configureRendererStamper=function(){return{"data.actionMenu":{id:"action-menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.originalPost":{id:"original-post",mapping:{backstagePostRenderer:"ytd-backstage-post-renderer",postRenderer:{component:"ytd-post-renderer",properties:{isRichGridRepost:"[[isRichGrid]]"}}}},editDialog:{id:"repost-edit-dialog",mapping:{backstagePostDialogRenderer:"ytd-backstage-post-dialog-renderer"}}}};
_.f.dataChanged=function(){this.editDialog=null;this.showExpandButton=this.computeShowExpandButton(this.data)};
_.f.computeShowExpandButton=function(a){return this.usesCompactLockup||a&&a.showFullContentText?!1:this.repostContentTextEl.scrollHeight>this.repostContentTextEl.clientHeight};
_.f.computeUsesCompactLockup=function(a){return!!a.condensedContent};
_.f.computeShowFullContentText=function(a){return!a};
_.f.onYtNavigate=function(a){a=this.get("updateCommentDialogEndpoint",a.detail.endpoint);this.openEditDialog(a)};
_.f.onYtCommentboxDismiss=function(){this.editDialog=null};
_.f.openEditDialog=function(a){a&&a.dialog&&(this.editDialog=a.dialog,a=this.repostEditDialogEl.firstElementChild)&&(a.focus(),a.openDialog&&a.openDialog())};
_.f.onTap=function(a){if(this.data){var b=null;this.usesCompactLockup&&!_.Hx(_.H(a).path||[],this,["YT-IMG-SHADOW"])?b=this.get("navigationEndpoint",this.data):a.target===this.moreButtonEl&&(b=this.get("navigationEndpoint",a.target.data));b&&this.fire("yt-navigate",{endpoint:b})}};
_.t.Object.defineProperties(DD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-shared-post-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_shared_post_renderer.ytd.shared.post.renderer.css.js--\x3e<div id="repost-context" hidden="[[editDialog]]" on-tap="onTap">\n  <div id="repost-author-thumbnail">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n      <yt-img-shadow fit="" height="40" thumbnail="[[data.thumbnail]]" width="40"></yt-img-shadow>\n    </a>\n  </div>\n  <div id="repost-main" hidden="[[usesCompactLockup]]">\n    <div id="repost-header">\n      <div id="repost-header-author">\n        <a id="repost-author-text" class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n          <span>[[getSimpleString(data.displayName)]]</span>\n        </a>\n        <yt-formatted-string id="repost-published-time-text" text="[[data.publishedTimeText]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n    <yt-formatted-string id="repost-content-text" force-default-style="" split-lines="" text="[[data.content]]">\n    </yt-formatted-string>\n    <tp-yt-paper-button id="more" data="[[data.expandButton.buttonRenderer]]" hidden="[[!showExpandButton]]" noink="">\n      [[getSimpleString(data.expandButton.buttonRenderer.text)]]\n    </tp-yt-paper-button>\n  </div>\n  <div id="repost-main-compact" hidden="[[!usesCompactLockup]]">\n    <yt-formatted-string id="condensed-repost-content-text" ellipsis-truncate="" force-default-style="" text="[[data.condensedContent]]">\n    </yt-formatted-string>\n  </div>\n  <div id="action-menu" hidden="[[usesCompactLockup]]"></div>\n</div>\n<div id="divider-line-container" hidden="[[!usesCompactLockup]]">\n  <div id="divider-line"></div>\n</div>\n<div id="repost-edit-dialog" hidden="[[!editDialog]]"></div>\n<div id="original-post" hidden="[[data.originalPostDeletedMessage]]"></div>\n<span id="original-post-deleted-message" hidden="[[!data.originalPostDeletedMessage]]">\n  [[data.originalPostDeletedMessage]]\n</span>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_shared_post_renderer.ytd.shared.post.renderer.css.js--\x3e<style>:host([uses-compact-lockup]) {padding: 0;} #repost-context {margin-bottom: 16px;padding-bottom: 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([uses-compact-lockup]) #repost-context {cursor: pointer;background-color: var(--yt-spec-brand-background-solid);align-items: center;border-top: 1px solid var(--yt-spec-10-percent-layer);border-left: 1px solid var(--yt-spec-10-percent-layer);border-right: 1px solid var(--yt-spec-10-percent-layer);border-bottom: none;padding: 12px 24px;margin-bottom: 0;} :host([uses-compact-lockup]:not([is-rich-grid])) #repost-context {max-width: 386px;width: 386px;} :host([uses-compact-lockup]) #original-post ytd-post-renderer {border-top: none;} #repost-main,#repost-main-compact {word-wrap: break-word;min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #repost-author-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;} #repost-author-thumbnail yt-img-shadow {width: 40px;height: 40px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} :host([uses-compact-lockup]) #repost-author-thumbnail yt-img-shadow {width: 24px;height: 24px;margin-right: 12px;} #repost-header-author {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-bottom: 4px;} #repost-author-text.yt-simple-endpoint {margin-right: 8px;color: var(--yt-spec-text-primary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #repost-published-time-text {--yt-endpoint-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #repost-content-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([show-full-content-text]) #repost-content-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 5.4rem;overflow: hidden;display: block;-webkit-line-clamp: 3;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #repost-content-text[split-lines] {white-space: pre-line;} #condensed-repost-content-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #repost-context:not(:hover) #action-menu ytd-menu-renderer:not([menu-active]) {opacity: 0;} #action-menu {margin-top: 4px;} #more {display: inline-block;text-align: center;font-family: inherit;} #more {text-transform: none;color: var(--yt-spec-text-primary);margin: 0;padding: 0;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #more:focus {outline: -webkit-focus-ring-color auto 5px;} #more:focus:hover {outline: none;} #divider-line-container {background-color: var(--yt-spec-brand-background-solid);border-left: 1px solid var(--yt-spec-10-percent-layer);border-right: 1px solid var(--yt-spec-10-percent-layer);} #divider-line {width: 95%;margin: auto;background: var(--yt-spec-10-percent-layer);height: 1px;} #original-post-deleted-message {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-shared-post-renderer.css.map*/</style>';
yWa=d}d=yWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zWa=a}a=zWa;return a}}});
var ED=DD;ED.prototype.onYtCommentboxDismiss=ED.prototype.onYtCommentboxDismiss;ED.prototype.onYtNavigate=ED.prototype.onYtNavigate;ED.prototype.dataChanged=ED.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ED.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],ED.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ED.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],ED.prototype,"editDialog",void 0);_.S([_.N({computed:"computeUsesCompactLockup(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],ED.prototype,"usesCompactLockup",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],ED.prototype,"showExpandButton",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],ED.prototype,"isRichGrid",void 0);
_.S([_.N({computed:"computeShowFullContentText(data.showFullContentText)",reflectToAttribute:!0}),_.T("design:type",Boolean)],ED.prototype,"showFullContentText",void 0);_.S([_.Z("#more"),_.T("design:type",Object)],ED.prototype,"moreButtonEl",void 0);_.S([_.Z("#repost-content-text"),_.T("design:type",HTMLElement)],ED.prototype,"repostContentTextEl",void 0);_.S([_.Z("#repost-edit-dialog"),_.T("design:type",HTMLElement)],ED.prototype,"repostEditDialogEl",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ED.prototype,"dataChanged",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],ED.prototype,"onYtNavigate",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ED.prototype,"onYtCommentboxDismiss",null);ED=_.S([_.Q({is:"ytd-shared-post-renderer"})],ED);
var AWa;
var BWa;
var FD=function(){return _.K.apply(this,arguments)||this};
_.q(FD,_.K);
FD.prototype.configureRendererStamper=function(){return{"data.approveButton":{id:"approve-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",noInjection:!0}}},"data.removeButton":{id:"remove-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",noInjection:!0}}},"data.reportButton":{id:"report-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",noInjection:!0}}},"data.banButton":{id:"ban-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(FD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===BWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-moderation-buttons-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_moderation_buttons_renderer.ytd.comment.moderation.buttons.renderer.css.js--\x3e<div id="approve-button"></div>\n<div id="remove-button"></div>\n<div id="report-button"></div>\n<div id="ban-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===AWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_moderation_buttons_renderer.ytd.comment.moderation.buttons.renderer.css.js--\x3e<style>:host {display: block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-left: -8px;} ytd-button-renderer {--yt-button-icon-size: 32px;--yt-icon-color: var(--yt-spec-icon-inactive);} ytd-button-renderer:hover {color: var(--yt-spec-icon-active-other);} /*# sourceMappingURL=ytd-comment-moderation-buttons-renderer.css.map*/</style>";
AWa=d}d=AWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);BWa=a}a=BWa;return a}}});
var GD=FD;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],GD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],GD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],GD.prototype,"data",void 0);GD=_.S([_.Q({asyncProperties:!0,is:"ytd-comment-moderation-buttons-renderer"})],GD);
var CWa;
var DWa;
var EWa;
var FWa;
var HD=function(){var a=_.K.apply(this,arguments)||this;a.isOpen=!1;return a};
_.q(HD,_.K);_.f=HD.prototype;_.f.dataChanged=function(){this.isOpen=!1};
_.f.onTap=function(){this.data&&(this.data.navigationEndpoint?this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint}):this.openDialog())};
_.f.focus=function(){this.JSC$37636_commentbox.focus()};
_.f.onYtCommentboxDismiss=function(){this.isOpen=!1};
_.f.openDialog=function(){this.isOpen=!0;this.JSC$37636_commentbox.focus();this.JSC$37636_commentbox.maybeHeightChanged()};
_.t.Object.defineProperties(HD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-reply-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_reply_dialog_renderer.ytd.comment.reply.dialog.renderer.css.js--\x3e<ytd-commentbox id="commentbox" data="[[data]]" hidden="[[!isOpen]]" is-reply="">\n</ytd-commentbox>\n<div id="unopened-dialog" hidden="[[isOpen]]">\n  <yt-img-shadow id="author-thumbnail" height="40" thumbnail="[[data.authorThumbnail]]" width="40">\n  </yt-img-shadow>\n  <div id="placeholder-area" on-tap="onTap" on-keydown="onTap">\n    <yt-formatted-string id="placeholder-text" role="textbox" tabindex="0" text="[[data.placeholderText]]">\n    </yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===EWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_reply_dialog_renderer.ytd.comment.reply.dialog.renderer.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;--yt-basic-foreground-title-color: var(--yt-spec-text-secondary);} #unopened-dialog {margin-top: 12px;margin-bottom: 30px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #author-thumbnail {width: 40px;height: 40px;margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #placeholder-area {cursor: text;margin-bottom: 12px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #placeholder-text {color: var(--yt-spec-text-secondary);outline: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-comment-reply-dialog-renderer.css.map*/</style>';
EWa=d}d=EWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FWa=a}a=FWa;return a}}});
var ID=HD;ID.prototype.onYtCommentboxDismiss=ID.prototype.onYtCommentboxDismiss;ID.prototype.dataChanged=ID.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ID.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ID.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],ID.prototype,"isOpen",void 0);_.S([_.Z("#commentbox"),_.T("design:type",Object)],ID.prototype,"JSC$37636_commentbox",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],ID.prototype,"dataChanged",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],ID.prototype,"onYtCommentboxDismiss",null);ID=_.S([_.Q({is:"ytd-comment-reply-dialog-renderer"})],ID);
var GWa;
var HWa;
var JD=function(){return _.K.apply(this,arguments)||this};
_.q(JD,_.K);_.t.Object.defineProperties(JD.prototype,{icon:{configurable:!0,enumerable:!0,get:function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.icon)?void 0:b.iconType;return c?"yt-icons:"+c.toLowerCase():null}}});
_.t.Object.defineProperties(JD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-pinned-comment-badge-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_pinned_comment_badge_renderer.ytd.pinned.comment.badge.renderer.css.js--\x3e<yt-icon hidden="[[!icon]]" icon="[[icon]]" size="12"></yt-icon>\n<yt-formatted-string id="label" text="[[data.label]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_pinned_comment_badge_renderer.ytd.pinned.comment.badge.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #label {color: var(--yt-spec-text-secondary);} yt-icon {--iron-icon-height: 12px;--iron-icon-width: 12px;margin-right: 4px;margin-bottom: 1px;fill: var(--yt-spec-icon-active-other);} /*# sourceMappingURL=ytd-pinned-comment-badge-renderer.css.map*/</style>';
GWa=d}d=GWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HWa=a}a=HWa;return a}}});
var KD=JD;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],KD.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],KD.prototype,"data",void 0);_.S([_.N(),_.V("data.icon"),_.T("design:type",Object),_.T("design:paramtypes",[])],KD.prototype,"icon",null);KD=_.S([_.Q({asyncProperties:!0,is:"ytd-pinned-comment-badge-renderer"})],KD);
var IWa;
var JWa;
var LWa,LD;_.KWa={};LWa={input:!0,meta:!0,br:!0,link:!0,img:!0};LD=null;_.KWa.YtSharedTooltipBehavior={properties:{sharedTooltipPosition:{type:String,value:"bottom"},sharedTooltipAnimationDelay:{type:Number,value:500}},attached:function(){this.addEventListener("mouseover",this.onMouseOver_,!0)},
detached:function(){this.removeEventListener("mouseover",this.onMouseOver_,!0)},
createTooltipIfRequired_:function(){null==LD&&(LD=document.createElement("tp-yt-paper-tooltip"),LD.offset=8,LD.fitToVisibleBounds=!0)},
onMouseOver_:function(a){if(a=_.hf(a.target,function(e){return e==this||e.getAttribute&&e.getAttribute("shared-tooltip-text")}.bind(this),!0)){var b=a.getAttribute("shared-tooltip-text");
if(b){var c=this,d=null;a!=this&&(a.tagName.toLowerCase()in LWa?c=a.parentElement:c=a,a.id&&(d=a.id));this.createTooltipIfRequired_();if(LD.parentElement!=c||LD.for!=d)_.H(LD).textContent=b,c.root?_.H(c.root).appendChild(LD):_.H(c).appendChild(LD),LD.for=d,LD.animationDelay=this.sharedTooltipAnimationDelay,LD.position=this.sharedTooltipPosition}}}};
var MD=function(){var a=_.K.apply(this,arguments)||this;a.hostAttributes={role:"img"};return a};
_.q(MD,_.K);MD.prototype.configureRendererStamper=function(){return{"data.icon":{id:"icon",mapping:{iconType:{component:"yt-icon",properties:{icon:"[[data.icon.iconType]]",sharedTooltipText:"[[data.tooltip]]"}}}},data:{id:"custom-badge",mapping:{customBadge:{component:"yt-img-shadow",properties:{thumbnail:"[[data.customBadge]]",sharedTooltipText:"[[data.tooltip]]"}}}}}};
MD.prototype.attached=function(){this.hasAttribute("role")||this.setAttribute("role","img")};
MD.prototype.colorChanged=function(a){var b;if(a=null==a?void 0:null==(b=a.basicColorPaletteData)?void 0:b.foregroundBodyColor)this.rgbBadgeColor=_.ru(a);this.$.icon.style.color=this.rgbBadgeColor};
MD.prototype.tooltipChanged=function(a){null!=a?this.setAttribute("aria-label",a):this.removeAttribute("aria-label")};
_.t.Object.defineProperties(MD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsor-comment-badge-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_sponsor_comment_badge_renderer.ytd.sponsor.comment.badge.renderer.css.js--\x3e<div id="icon" aria-hidden="true"></div>\n<div id="custom-badge" aria-hidden="true"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_sponsor_comment_badge_renderer.ytd.sponsor.comment.badge.renderer.css.js--\x3e<style>:host {display: inline-block;margin-top: 1px;} #custom-badge yt-img-shadow,#icon yt-icon {width: var(--ytd-sponsor-comment-badge-width,14px);height: var(--ytd-sponsor-comment-badge-height,14px);} /*# sourceMappingURL=ytd-sponsor-comment-badge-renderer.css.map*/</style>";
IWa=d}d=IWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JWa=a}a=JWa;return a}}});
var ND=MD;ND.prototype.tooltipChanged=ND.prototype.tooltipChanged;ND.prototype.colorChanged=ND.prototype.colorChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ND.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],ND.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.KWa.YtSharedTooltipBehavior),_.T("design:type",Object)],ND.prototype,"ytSharedTooltipBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],ND.prototype,"data",void 0);_.S([_.N({value:"#4285F4"}),_.T("design:type",String)],ND.prototype,"rgbBadgeColor",void 0);_.S([_.P("data.color"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],ND.prototype,"colorChanged",null);_.S([_.P("data.tooltip"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],ND.prototype,"tooltipChanged",null);
ND=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsor-comment-badge-renderer"})],ND);
var MWa;
var NWa;
var OD=function(){return _.K.apply(this,arguments)||this};
_.q(OD,_.K);OD.prototype.beforeRegister=function(){this.ironA11yKeysBehavior.keyBindings={"enter:keydown":"onTap","space:keydown":"onTap"}};
OD.prototype.dataChanged=function(){if(this.data){var a,b;(null==(a=this.data.chipColorPalette)?0:a.backgroundColor)&&(null==(b=this.data.chipColorPalette)?0:b.foregroundTitleColor)&&this.updateStyles({"--yt-pdg-comment-chip-background-color":_.bv(this.data.chipColorPalette.backgroundColor),"--yt-pdg-comment-chip-font-color":_.bv(this.data.chipColorPalette.foregroundTitleColor)});var c;(null==(c=this.data)?0:c.command)?(this.updateStyles({"--yt-pdg-comment-chip-cursor":"pointer"}),this.setAttribute("role",
"button"),this.setAttribute("tabindex","0")):(this.updateStyles({"--yt-pdg-comment-chip-cursor":"initial"}),this.removeAttribute("role"),this.removeAttribute("tabindex"));this.basePriceText=this.data.chipText;this.chipIcon=this.data.chipIcon}};
OD.prototype.onTap=function(){var a;if(this.data&&null!=(a=this.data)&&a.command){var b;this.ytComponentBehavior.resolveCommand(null==(b=this.data)?void 0:b.command)}};
_.t.Object.defineProperties(OD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-pdg-comment-chip-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.pdg.yt_pdg_comment_chip_renderer.yt.pdg.comment.chip.renderer.css.js--\x3e<div id="comment-chip-container"><yt-icon icon="[[chipIcon.iconType]]"></yt-icon><span id="comment-chip-price">\n    [[getSimpleString(basePriceText)]]\n  </span></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.pdg.yt_pdg_comment_chip_renderer.yt.pdg.comment.chip.renderer.css.js--\x3e<style>:host {display: inline-block;height: 20px;max-width: fit-content;} #comment-chip-container {background-color: var(--yt-pdg-comment-chip-background-color);border-radius: 16px;cursor: var(--yt-pdg-comment-chip-cursor);padding: 1px 7px 0;} #comment-chip-price {color: var(--yt-pdg-comment-chip-font-color);} yt-icon {color: var(--yt-pdg-comment-chip-font-color);height: 12px;padding-bottom: 2px;width: 12px;} /*# sourceMappingURL=yt-pdg-comment-chip-renderer.css.map*/</style>";
MWa=d}d=MWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NWa=a}a=NWa;return a}}});
var PD=OD;PD.prototype.onTap=PD.prototype.onTap;PD.prototype.dataChanged=PD.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],PD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],PD.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Xs),_.T("design:type",Object)],PD.prototype,"ironA11yKeysBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],PD.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],PD.prototype,"basePriceText",void 0);_.S([_.N(),_.T("design:type",Object)],PD.prototype,"chipIcon",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],PD.prototype,"dataChanged",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],PD.prototype,"onTap",null);PD=_.S([_.lu({is:"yt-pdg-comment-chip-renderer",isInjectionRoot:!0})],PD);
var QD=function(){var a=_.K.apply(this,arguments)||this;a.isReply=!1;a.isCreatorReply=!1;a.editDialog=null;a.isLoading=!1;a.repliesVisible=!1;a.linkedBadgeEl=null;a.shouldShowReadMoreInitially=!1;a.THREAD_MARGIN_INCREMENT=40;a.MIN_RENDERER_WIDTH=428;a.JSC$37658_spinnerEl=null;a.parentOffsetWidth=0;a.attachedResolver=_.Sk();a.isCollapsibleThreadingExperiment=_.x("default_collapse_reply_threads");a.TEST_ONLY={getThreadMarginIncrement:function(){return a.THREAD_MARGIN_INCREMENT}};
return a};
_.q(QD,_.K);_.f=QD.prototype;
_.f.configureRendererStamper=function(){return{"data.actionMenu":{id:"action-menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.authorCommentBadge":{id:"author-comment-badge",mapping:{authorCommentBadgeRenderer:"ytd-author-comment-badge-renderer"}},"data.pinnedCommentBadge":{id:"pinned-comment-badge",mapping:{pinnedCommentBadgeRenderer:"ytd-pinned-comment-badge-renderer"}},"data.sponsorCommentBadge":{id:"sponsor-comment-badge",mapping:{sponsorCommentBadgeRenderer:"ytd-sponsor-comment-badge-renderer"}},"data.sponsorsOnlyBadge":{id:"sponsors-only-badge",
mapping:{sponsorsOnlyBadgeRenderer:"ytd-sponsors-only-badge-renderer"}},editDialog:{id:"edit-dialog",mapping:{backstagePostDialogRenderer:"ytd-backstage-post-dialog-renderer",commentDialogRenderer:"ytd-comment-dialog-renderer",commentReplyDialogRenderer:"ytd-comment-reply-dialog-renderer"}},"data.moderationButtons":{id:"moderation-buttons",mapping:{commentModerationButtonsRenderer:{component:"ytd-comment-moderation-buttons-renderer"}}}}};
_.f.contentTextChanged=function(){this.expander.reset()};
_.f.attached=function(){this.attachedResolver.resolve();this.parentNode&&(this.parentOffsetWidth=this.parentNode.offsetWidth,this.data&&this.updateNestingLevel(this.data.threadNestingLevel))};
_.f.detached=function(){this.isCreatorReply=!1};
_.f.dataChanged=function(a){var b=this;if(a&&(_.x("kevlar_use_vimio_behavior")||OWa(function(){b.ytRendererBehavior.markDirty()}),this.isLoading=!1,this.editDialog=null,this.linkedBadgeEl&&(this.linkedCommentBadge.removeChild(this.linkedBadgeEl),this.linkedBadgeEl=null),a.hiddenByDefault&&(this.hidden=!0),this.repliesVisible=3>a.threadNestingLevel,a.actions))for(var c=0,d=a.actions.length;c<d;c++)this.openEditDialog(a.actions[c].openUpdateCommentDialogAction)};
_.f.isLoadingChanged=function(){!this.isLoading||this.editDialog||this.JSC$37658_spinnerEl||(this.JSC$37658_spinnerEl=document.createElement("tp-yt-paper-spinner-lite"),_.H(this.root).appendChild(this.JSC$37658_spinnerEl));this.JSC$37658_spinnerEl&&(this.JSC$37658_spinnerEl.active=this.isLoading)};
_.f.backgroundExtendedDetailsChanged=function(a){(null==a?0:a.backgroundColorArgb)?(a={"--ytd-comment-paid-background-color":_.bv(a.backgroundColorArgb),"--ytd-decorated-comment-background-offset-left":"8px","--ytd-decorated-comment-background-offset-top":"8px"},this.hideViewThreadedRepliesButton&&this.hideHideThreadedRepliesButton&&(a["--ytd-decorated-comment-background-offset-bottom"]="4px"),this.updateStyles(a)):this.updateStyles({"--ytd-comment-paid-background-color":"initial"})};
_.f.linkedCommentBadgeChanged=function(a){var b=this;if(a){this.linkedBadgeEl||(this.linkedBadgeEl=document.createElement("ytd-badge-supported-renderer"));this.linkedBadgeEl.topStandaloneBadge=a;this.linkedCommentBadge.appendChild(this.linkedBadgeEl);try{var c=_.sv();c&&c.pause()}catch(d){}this.attachedResolver.promise.then(this.afterNextRender).then(function(){var d,e=null==(d=_.Eg().resolve(_.Cg(_.Co)))?void 0:d.getCurrentPage();e&&0===e.getScrollTop()&&e.setScrollTop(b.offsetTop+b.offsetHeight-
document.documentElement.clientHeight+32)})}};
_.f.onShow=function(){_.pw("cmv",void 0,"wn_comments")};
_.f.onYtNavigate=function(a){a=a.detail.endpoint;this.openEditDialog((null==a?void 0:a.updateCommentDialogEndpoint)||(null==a?void 0:a.updateCommentReplyDialogEndpoint))};
_.f.onYtCommentboxDismiss=function(){this.editDialog=null;this.updateStyles({"--ytd-decorated-comment-reply-box-height-offset":"0px"})};
_.f.onYtCommentboxResize=function(a){var b;(null==a?0:null==(b=a.detail)?0:b.height)&&this.updateStyles({"--ytd-decorated-comment-reply-box-height-offset":a.detail.height+"px"})};
_.f.onYtServiceRequestSent=function(a,b){a.stopPropagation();var c;if(null==b?0:null==(c=b.endpoint)?0:c.getPdgBuyFlowCommand)this.isLoading=!1;else{var d,e,h,l,m;if((null==b?0:null==(d=b.endpoint)?0:d.updateCommentEndpoint)||(null==b?0:null==(e=b.endpoint)?0:e.updateCommentReplyEndpoint)||!(null==b?0:null==(h=b.endpoint)?0:null==(l=h.performCommentActionEndpoint)?0:l.clientActions)||(null==b?0:null==(m=b.endpoint)?0:m.hideReportedCommentAction))this.isLoading=!0}};
_.f.onYtServiceRequestCompleted=function(){this.isLoading=!1};
_.f.openEditDialog=function(a){this.data&&a&&a.dialog&&(!a.isCreatorReply||this.isCreatorReply||this.data.isCreatorReply)&&(this.editDialog=a.dialog,(a=this.editDialogContainer.firstElementChild)&&(a.openDialog?a.openDialog():a.focus()))};
_.f.computeAuthorTextClass=function(a){return a.authorIsChannelOwner?"channel-owner":""};
_.f.computeIsBodyHidden=function(a,b){return!!a||b};
_.f.computeCommentStyle=function(a){return a.style?a.style.value.split("TYPE_")[1].replace(/_/g,"-").toLowerCase():"unknown"};
_.f.computeHideViewThreadedRepliesButton=function(a){return this.isCollapsibleThreadingExperiment&&a};
_.f.computeHideHideThreadedRepliesButton=function(a){return this.isCollapsibleThreadingExperiment&&!a};
_.f.computeMaxNestingLevel=function(){return Math.max(Math.floor((this.parentOffsetWidth-this.MIN_RENDERER_WIDTH)/this.THREAD_MARGIN_INCREMENT),0)};
_.f.updateNestingLevel=function(a){if(void 0!==a){var b=this.computeMaxNestingLevel();a=Math.min(b,a-1)*this.THREAD_MARGIN_INCREMENT+"px";"rtl"===_.w("HTML_DIR")?this.style.marginRight=a:this.style.marginLeft=a}};
_.f.onWindowResize=function(){this.parentOffsetWidth=this.parentNode.offsetWidth;this.data&&this.updateNestingLevel(this.data.threadNestingLevel)};
_.f.onYtExpanderMoreTapped=function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.expandButton)?void 0:b.buttonRenderer;c&&this.ytRendererBehavior.logExplicitClick(c)};
_.f.walkChildReplyTree=function(a){for(var b=this.nextElementSibling;null!==b;b=b.nextElementSibling)if(b.tagName===this.tagName){if(this.data&&b.data.threadNestingLevel<=this.data.threadNestingLevel)break;a(b)}};
_.f.handleViewThreadedRepliesTap=function(){var a=this,b,c,d=null==(b=this.data)?void 0:null==(c=b.viewReplies)?void 0:c.buttonRenderer;d&&(this.ytRendererBehavior.logExplicitClick(d),this.repliesVisible=!0,this.walkChildReplyTree(function(e){e.data&&e.data.threadNestingLevel===a.data.threadNestingLevel+1&&(e.hidden=!1)}))};
_.f.handleHideThreadedRepliesTap=function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.hideReplies)?void 0:b.buttonRenderer;c&&(this.ytRendererBehavior.logExplicitClick(c),this.repliesVisible=!1,this.walkChildReplyTree(function(d){d.hidden=!0;d.repliesVisible=!1}))};
_.f.afterNextRender=function(){var a=this;return new Promise(function(b){_.nt(a,b)})};
_.t.Object.defineProperties(QD.prototype,{voteCount:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.voteCount)||_.Mu("0")}},
replyThumbnail:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.currentUserReplyThumbnail}},
hasCreatorReply:{configurable:!0,enumerable:!0,get:function(){var a,b,c;return!!((null==(a=this.data)?0:null==(b=a.creatorReply)?0:b.commentRenderer)||(null==(c=this.data)?0:c.containsCreatorReply))}},
hideViewThreadedRepliesButton:{configurable:!0,enumerable:!0,get:function(){return this.computeHideViewThreadedRepliesButton(this.repliesVisible)}},
hideHideThreadedRepliesButton:{configurable:!0,enumerable:!0,get:function(){return this.computeHideHideThreadedRepliesButton(this.repliesVisible)}},
hidePaidCommentChipRenderer:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)?0:a.paidCommentChipRenderer)}},
shouldShowPaidCommentBackgroundImageBottomLeft:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return!!(null==(a=this.data)?0:null==(b=a.backgroundExtendedDetails)?0:null==(c=b.commentBackgroundImages)?0:null==(d=c.backgroundImageTopRight)?0:d.thumbnails)}},
shouldShowPaidCommentBackgroundImageTopRight:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return!!(null==(a=this.data)?0:null==(b=a.backgroundExtendedDetails)?0:null==(c=b.commentBackgroundImages)?0:null==(d=c.backgroundImageTopRight)?0:d.thumbnails)}}});
_.t.Object.defineProperties(QD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===DWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_renderer.ytd.comment.renderer.css.js--\x3e<div id="paid-comment-images">\n  <template is="dom-if" if="[[shouldShowPaidCommentBackgroundImageBottomLeft]]">\n    \n    <yt-img-shadow id="paid-background-image-bottom-left" height="215" thumbnail="[[data.backgroundExtendedDetails.commentBackgroundImages.backgroundImageBottomLeft]]" width="307">\n    </yt-img-shadow>\n  </template>\n  <template is="dom-if" if="[[shouldShowPaidCommentBackgroundImageTopRight]]">\n    <yt-img-shadow id="paid-background-image-top-right" height="174" thumbnail="[[data.backgroundExtendedDetails.commentBackgroundImages.backgroundImageTopRight]]" width="232">\n  </yt-img-shadow>\n  </template>\n</div>\n<div id="linked-comment-badge" hidden="[[!data.linkedCommentBadge]]"></div>\n<div id="body" hidden="[[computeIsBodyHidden(editDialog, isLoading)]]">\n  <div id="author-thumbnail">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.authorEndpoint)]]" data="[[data.authorEndpoint]]">\n      <yt-img-shadow fit="" height="40" thumbnail="[[data.authorThumbnail]]" width="40">\n      </yt-img-shadow>\n    </a>\n  </div>\n  <div id="main">\n    <div id="header">\n      <div id="pinned-comment-badge" hidden="[[!data.pinnedCommentBadge]]"></div>\n      <div id="header-author">\n        <h3>\n          <a id="author-text" class="yt-simple-endpoint" href$="[[computeHref_(data.authorEndpoint)]]" data="[[data.authorEndpoint]]" hidden="[[data.authorCommentBadge]]">\n            <span class$="[[computeAuthorTextClass(data)]]">\n              [[getSimpleString(data.authorText)]]\n            </span>\n          </a>\n        </h3>\n        <span id="author-comment-badge" hidden="[[!data.authorCommentBadge]]"></span>\n        <span id="sponsor-comment-badge" hidden="[[!data.sponsorCommentBadge]]"></span>\n        \n        <yt-formatted-string class="published-time-text above-comment" hidden$="[[data.authorReputation]]" text="[[data.publishedTimeText]]">\n        </yt-formatted-string>\n        <span id="author-reputation"></span>\n        <span id="sponsors-only-badge" hidden="[[!data.sponsorsOnlyBadge]]"></span>\n\n        <span id="moderation-reason-divider" hidden="[[!data.moderationReasonText]]">\n          \u2022\n        </span>\n        <span id="moderation-reason-text" hidden="[[!data.moderationReasonText]]">\n          [[getSimpleString(data.moderationReasonText)]]\n        </span>\n      </div>\n    </div>\n    \n    <ytd-expander id="expander" can-toggle="[[shouldShowReadMoreInitially]]" max-number-of-lines="4">\n      <yt-formatted-string id="voted-option" slot="content" disable-upgrade$="[[!data.prologueText]]" hidden="[[!data.prologueText]]" text="[[data.prologueText]]">\n      </yt-formatted-string>\n      <yt-pdg-comment-chip-renderer id="paid-comment-chip" slot="content" data="[[data.paidCommentChipRenderer.pdgCommentChipRenderer]]" hidden="[[hidePaidCommentChipRenderer]]">\n      </yt-pdg-comment-chip-renderer>\n      <yt-formatted-string id="content-text" slot="content" split-lines="" text="[[data.contentText]]">\n      </yt-formatted-string>\n      <span class="more-button" slot="more-button">[[getSimpleString(data.expandButton.buttonRenderer.text)]]</span>\n      <span class="less-button" slot="less-button">[[getSimpleString(data.collapseButton.buttonRenderer.text)]]</span>\n    </ytd-expander>\n    \n    <yt-formatted-string class="published-time-text below-comment" hidden$="[[!data.authorReputation]]" text="[[data.publishedTimeText]]">\n    </yt-formatted-string>\n    <ytd-comment-action-buttons-renderer id="action-buttons" data="[[data.actionButtons.commentActionButtonsRenderer]]" has-creator-reply="[[hasCreatorReply]]" hidden="[[!data.actionButtons.commentActionButtonsRenderer]]" reply-thumbnail="[[replyThumbnail]]" vote-count="[[voteCount]]">\n    </ytd-comment-action-buttons-renderer>\n    <div id="moderation-buttons" hidden="[[!data.moderationButtons]]"></div>\n    <ytd-button-renderer id="view-threaded-replies" aria-expanded="false" data="[[data.viewReplies.buttonRenderer]]" hidden="[[hideViewThreadedRepliesButton]]" noink="" on-tap="handleViewThreadedRepliesTap">\n    </ytd-button-renderer>\n    <ytd-button-renderer id="hide-threaded-replies" aria-expanded="true" data="[[data.hideReplies.buttonRenderer]]" hidden="[[hideHideThreadedRepliesButton]]" noink="" on-tap="handleHideThreadedRepliesTap">\n    </ytd-button-renderer>\n  </div>\n  <div id="action-menu"></div>\n</div>\n<div id="edit-dialog" hidden="[[!editDialog]]"></div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_renderer.ytd.comment.renderer.css.js--\x3e<style>:host {--ytd-comment-thumb-dimension: 32px;--ytd-pinned-comment-badge-margin-left: -2px;display: block;border-radius: 4px;margin-bottom: 8px;position: relative;margin-top: calc(-1 * var(--ytd-decorated-comment-background-offset-top,0px));margin-left: calc(-1 * var(--ytd-decorated-comment-background-offset-left,0px));padding-top: var(--ytd-decorated-comment-background-offset-top,0px);padding-left: var(--ytd-decorated-comment-background-offset-left,0px);--yt-endpoint-word-wrap: break-word;--yt-endpoint-word-break: break-word;} :host([comment-style=backstage-comment]) #author-thumbnail yt-img-shadow {width: 40px;height: 40px;} :host([comment-style=backstage-comment]) {margin-bottom: 16px;} #body {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #main {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {margin-bottom: 2px;} #linked-comment-badge {margin-bottom: 8px;} #pinned-comment-badge {margin-left: var(--ytd-pinned-comment-badge-margin-left);margin-bottom: 8px;} #header-author {-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #sponsor-comment-badge {align-self: start;} #author-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;} #author-thumbnail yt-img-shadow {width: 40px;height: 40px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} :host(:not([comment-style=backstage-comment])[is-reply]) #author-thumbnail yt-img-shadow,:host([is-creator-reply]) #author-thumbnail yt-img-shadow {width: 24px;height: 24px;} #author-text.yt-simple-endpoint {margin-right: 4px;color: var(--yt-spec-text-primary);margin-bottom: 2px;display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #header-author>h3 {min-width: 0;} .channel-owner {background-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-primary-inverse);} #author-comment-badge,#sponsor-comment-badge {min-width: 0;max-width: 100%;box-sizing: border-box;padding-right: 4px;} .published-time-text {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .published-time-text.below-comment {height: 20px;margin-top: 2px;} #moderation-reason-divider {color: var(--yt-spec-text-secondary);margin-right: 4px;margin-left: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #moderation-reason-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #voted-option {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #content-text {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;line-height: 2rem;} #expander {--ytd-expander-button-margin: 4px 0 0 0;} .more-button,.less-button {text-transform: none;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .more-button:hover,.more-button:focus,.less-button:hover,.less-button:focus {text-decoration: underline;} #view-threaded-replies,#hide-threaded-replies {--yt-button-padding: 2px 0 10px 0;--yt-button-padding-minus-focus-outline-width: 2px;--yt-button-icon-padding: 0;--yt-button-padding-minus-focus-outline: 0 0 8px 0;--iron-icon-width: 20px;--iron-icon-height: 20px;display: flex;text-transform: none;color: var(--yt-spec-call-to-action);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([is-creator-reply]) {margin-left: 56px;margin-top: 8px;} #body:not(:hover) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} #action-buttons {margin-top: 4px;} :host([no-actions]) #action-buttons {display: none;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;} #paid-comment-chip {margin-right: 5px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #paid-background-image-bottom-left {position: absolute;bottom: 0;left: 0;} #paid-background-image-top-right {position: absolute;top: 0;right: 0;} #paid-comment-images {overflow: hidden;position: absolute;height: calc(100% - var(--ytd-decorated-comment-background-offset-top,0px) - var(--ytd-decorated-comment-reply-box-height-offset,0px));width: calc(100% - var(--ytd-decorated-comment-background-offset-top,0px));margin-bottom: var(--ytd-decorated-comment-background-offset-top,0px);background-color: var(--ytd-comment-paid-background-color);border-radius: 4px;margin-top: calc(-1 * var(--ytd-decorated-comment-background-offset-top,0px));margin-left: calc(-1 * var(--ytd-decorated-comment-background-offset-left,0px));padding-top: var(--ytd-decorated-comment-background-offset-top,0px);padding-left: var(--ytd-decorated-comment-background-offset-left,0px);} #paid-comment-images yt-img-shadow:dir(rtl) {transform: scaleX(-1);} /*# sourceMappingURL=ytd-comment-renderer.css.map*/</style>';
CWa=d}d=CWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);DWa=a}a=DWa;return a}}});
var RD=QD;RD.prototype.onYtExpanderMoreTapped=RD.prototype.onYtExpanderMoreTapped;RD.prototype.onWindowResize=RD.prototype.onWindowResize;RD.prototype.updateNestingLevel=RD.prototype.updateNestingLevel;RD.prototype.onYtServiceRequestCompleted=RD.prototype.onYtServiceRequestCompleted;RD.prototype.onYtServiceRequestSent=RD.prototype.onYtServiceRequestSent;RD.prototype.onYtCommentboxResize=RD.prototype.onYtCommentboxResize;RD.prototype.onYtCommentboxDismiss=RD.prototype.onYtCommentboxDismiss;
RD.prototype.onYtNavigate=RD.prototype.onYtNavigate;RD.prototype.linkedCommentBadgeChanged=RD.prototype.linkedCommentBadgeChanged;RD.prototype.backgroundExtendedDetailsChanged=RD.prototype.backgroundExtendedDetailsChanged;RD.prototype.isLoadingChanged=RD.prototype.isLoadingChanged;RD.prototype.dataChanged=RD.prototype.dataChanged;RD.prototype.contentTextChanged=RD.prototype.contentTextChanged;
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],RD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],RD.prototype,"componentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],RD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.gw.YtVisibilityBehavior),_.T("design:type",Object)],RD.prototype,"ytVisibilityBehavior",void 0);
_.S([_.L(_.xx),_.T("design:type",Object)],RD.prototype,"ironResizableBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],RD.prototype,"data",void 0);_.S([_.N({computed:"computeCommentStyle(data)",reflectToAttribute:!0}),_.T("design:type",String)],RD.prototype,"commentStyle",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],RD.prototype,"isReply",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],RD.prototype,"isCreatorReply",void 0);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],RD.prototype,"voteCount",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],RD.prototype,"replyThumbnail",null);_.S([_.N(),_.T("design:type",Object)],RD.prototype,"editDialog",void 0);_.S([_.V("data","data.containsCreatorReply"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RD.prototype,"hasCreatorReply",null);_.S([_.N(),_.T("design:type",Object)],RD.prototype,"isLoading",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],RD.prototype,"noActions",void 0);_.S([_.N(),_.T("design:type",Object)],RD.prototype,"repliesVisible",void 0);_.S([_.N(),_.T("design:type",Object)],RD.prototype,"linkedBadgeEl",void 0);_.S([_.N(),_.T("design:type",Object)],RD.prototype,"shouldShowReadMoreInitially",void 0);_.S([_.V("repliesVisible"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RD.prototype,"hideViewThreadedRepliesButton",null);
_.S([_.V("repliesVisible"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RD.prototype,"hideHideThreadedRepliesButton",null);_.S([_.Z("ytd-expander"),_.T("design:type",_.wD)],RD.prototype,"expander",void 0);_.S([_.Z("#linked-comment-badge"),_.T("design:type",HTMLElement)],RD.prototype,"linkedCommentBadge",void 0);_.S([_.Z("#body"),_.T("design:type",HTMLElement)],RD.prototype,"body",void 0);_.S([_.Z("#edit-dialog"),_.T("design:type",HTMLElement)],RD.prototype,"editDialogContainer",void 0);
_.S([_.P("data.contentText"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],RD.prototype,"contentTextChanged",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],RD.prototype,"dataChanged",null);_.S([_.P("isLoading"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RD.prototype,"isLoadingChanged",null);
_.S([_.P("data.backgroundExtendedDetails"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],RD.prototype,"backgroundExtendedDetailsChanged",null);_.S([_.P("data.linkedCommentBadge"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],RD.prototype,"linkedCommentBadgeChanged",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],RD.prototype,"onYtNavigate",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],RD.prototype,"onYtCommentboxDismiss",null);_.S([_.O("yt-commentbox-resize"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],RD.prototype,"onYtCommentboxResize",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],RD.prototype,"onYtServiceRequestSent",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RD.prototype,"hidePaidCommentChipRenderer",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RD.prototype,"shouldShowPaidCommentBackgroundImageBottomLeft",null);
_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RD.prototype,"shouldShowPaidCommentBackgroundImageTopRight",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],RD.prototype,"onYtServiceRequestCompleted",null);_.S([_.P("data.threadNestingLevel"),_.T("design:type",Function),_.T("design:paramtypes",[Number]),_.T("design:returntype")],RD.prototype,"updateNestingLevel",null);
_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RD.prototype,"onWindowResize",null);_.S([_.O("yt-expander-more-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RD.prototype,"onYtExpanderMoreTapped",null);RD=_.S([_.Q({is:"ytd-comment-renderer"})],RD);var OWa=function(a){_.xe.addJob(function(){requestAnimationFrame(a)},8)};
var PWa;
var QWa;
var SD=function(){return _.K.apply(this,arguments)||this};
_.q(SD,_.K);SD.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer"}},initialRenderPriority:!_.x("defer_menus")||_.x("desktop_persistent_menu")&&_.QB?void 0:0,waitForSignal:"eocs"},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.t.Object.defineProperties(SD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===QWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-reel-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_item_renderer.ytd.reel.item.renderer.css.js--\x3e<div id="dismissible">\n  <ytd-thumbnail data="[[data]]" hovered="[[lockupIsHovered]]" object-fit="COVER" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="210">\n  </ytd-thumbnail>\n  <div id="details">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(data.headline)]]" aria-label$="[[data.accessibility.accessibilityData.label]]" data="[[data.navigationEndpoint]]">\n      <h3>\n        <span id="video-title">[[getSimpleString(data.headline)]]</span>\n      </h3>\n      <ytd-video-meta-block class="grid" data="[[data]]">\n      </ytd-video-meta-block>\n    </a>\n    <div id="menu"></div>\n  </div>\n</div>\n<div id="dismissed">\n  <div id="dismissed-content"></div>\n</div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_item_renderer.ytd.reel.item.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;width: 210px;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} ytd-thumbnail {width: 100%;position: relative;} ytd-thumbnail:before {display: block;content: "";width: 100%;padding-top: 144%;background-color: var(--yt-spec-10-percent-layer);} #details {position: relative;cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);padding: 8px 24px 4px 0;} ytd-menu-renderer {position: absolute;top: -4px;right: -8px;margin-top: 4px;} :host([is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([is-dismissed]) #dismissed {display: block;} #dismissed {padding-bottom: 143%;border: 1px solid var(--yt-spec-10-percent-layer);position: relative;} .yt-simple-endpoint {overflow-x: hidden;} #dismissed:focus {outline: none;} #dismissed-content {box-sizing: border-box;padding: 8px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-reel-item-renderer.css.map*/</style>';
PWa=d}d=PWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);QWa=a}a=QWa;return a}}});
var TD=SD;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],TD.prototype,"componentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],TD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],TD.prototype,"ytdLockupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],TD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],TD.prototype,"ytdDismissibleItemBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],TD.prototype,"data",void 0);TD=_.S([_.Q({asyncProperties:!0,is:"ytd-reel-item-renderer"})],TD);
var RWa;
var SWa;
var TWa=function(){return _.K.apply(this,arguments)||this};
_.q(TWa,_.K);
_.t.Object.defineProperties(TWa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-station-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_station_renderer.ytd.compact.station.renderer.css.js--\x3e<div class="flex-container">\n  <ytd-thumbnail data="[[data]]" width="118"></ytd-thumbnail>\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h3>\n      [[getSimpleString(data.title)]]\n    </h3>\n    <div id="flex-item">\n      <p id="description" title$="[[getSimpleString(data.description)]]">\n        [[getSimpleString(data.description)]]\n      </p>\n    </div>\n    <p id="video-count-text">\n      [[getSimpleString(data.videoCountText)]]\n    </p>\n  </a>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_station_renderer.ytd.compact.station.renderer.css.js--\x3e<style>:host {display: inline-block;} .flex-container {background-color: var(--yt-spec-general-background-b);width: 317px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-thumbnail {height: 118px;width: 118px;} a {margin: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} h3 {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #description {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #flex-item {margin-bottom: 8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #video-count-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} /*# sourceMappingURL=ytd-compact-station-renderer.css.map*/</style>';
RWa=d}d=RWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SWa=a}a=SWa;return a}}});
var UD=TWa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],UD.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],UD.prototype,"data",void 0);UD=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-station-renderer"})],UD);
var UWa;
var VWa;
var VD=function(){return _.K.apply(this,arguments)||this};
_.q(VD,_.K);VD.prototype.configureRendererStamper=function(){return{"data.subscribeButton":{id:"subscribe",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer",subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}}}};
_.t.Object.defineProperties(VD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-channel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_channel_renderer.ytd.grid.channel.renderer.css.js--\x3e<div id="channel">\n  <a id="channel-info" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <yt-img-shadow height="103" thumbnail="[[data.thumbnail]]" width="103">\n    </yt-img-shadow>\n    <span id="title">[[getSimpleString(data.title)]]</span>\n    <span id="thumbnail-attribution">[[getSimpleString(data.subscriberCountText)]]</span>\n  </a>\n\n  <div id="subscribe"></div>\n  <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n  </ytd-badge-supported-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_channel_renderer.ytd.grid.channel.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;} yt-img-shadow {height: 103px;width: 103px;border-radius: 50%;background-color: transparent;overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #channel {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #channel-info {max-width: 100%;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title,#thumbnail-attribution {max-width: 100%;} #title {color: var(--yt-spec-text-primary);margin: 4px 0;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #thumbnail-attribution {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #subscribe {margin-top: 16px;} #badges {margin-top: 8px;} /*# sourceMappingURL=ytd-grid-channel-renderer.css.map*/</style>';
UWa=d}d=UWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VWa=a}a=VWa;return a}}});
var WD=VD;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],WD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],WD.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],WD.prototype,"data",void 0);WD=_.S([_.Q({asyncProperties:!0,is:"ytd-grid-channel-renderer"})],WD);
var WWa;
var XWa;
var YWa=function(){return _.K.apply(this,arguments)||this};
_.q(YWa,_.K);
_.t.Object.defineProperties(YWa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-movie-playlist-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_movie_playlist_renderer.ytd.grid.movie.playlist.renderer.css.js--\x3e<ytd-thumbnail width="210" data="[[data]]" bottom-side-panel=""></ytd-thumbnail>\n<a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <h3>\n    <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n    </ytd-badge-supported-renderer>\n    <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n      [[getSimpleString(data.title)]]\n    </span>\n  </h3>\n  <ytd-video-meta-block class="grid" data="[[data]]"></ytd-video-meta-block>\n</a>\n<ytd-badge-supported-renderer id="badges" badges="[[data.ownerBadges]]" hidden="[[!data.ownerBadges]]">\n</ytd-badge-supported-renderer>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_movie_playlist_renderer.ytd.grid.movie.playlist.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;} ytd-thumbnail {height: 302px;width: 210px;} ytd-video-meta-block {padding-right: 24px;} #badges {margin-top: 8px;} #video-title {display: block;margin: 8px 0 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} h3 {color: var(--yt-spec-text-primary);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-grid-movie-playlist-renderer.css.map*/</style>';
WWa=d}d=WWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XWa=a}a=XWa;return a}}});
var XD=YWa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],XD.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],XD.prototype,"data",void 0);XD=_.S([_.Q({asyncProperties:!0,is:"ytd-grid-movie-playlist-renderer"})],XD);
var ZWa;
var $Wa;
var aXa=function(){return _.K.apply(this,arguments)||this};
_.q(aXa,_.K);
_.t.Object.defineProperties(aXa,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Wa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-playlist-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_playlist_renderer.ytd.grid.playlist.renderer.css.js--\x3e<ytd-playlist-thumbnail custom-thumbnail-size="118" data="[[data]]" height="118" hovered="[[lockupIsHovered]]" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="210">\n</ytd-playlist-thumbnail>\n<h3>\n  <a id="video-title" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]" data="[[data.navigationEndpoint]]">[[getSimpleString(data.title)]]</a>\n</h3>\n<ytd-video-meta-block class="grid" data="[[data]]"></ytd-video-meta-block>\n<ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n</ytd-badge-supported-renderer>\n<yt-formatted-string id="view-more" hidden="[[!data.viewPlaylistText]]" text="[[data.viewPlaylistText]]">\n</yt-formatted-string>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZWa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_playlist_renderer.ytd.grid.playlist.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;position: relative;} ytd-playlist-thumbnail {height: 118px;width: 210px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #meta.yt-simple-endpoint {padding-right: 24px;} a.yt-simple-endpoint {display: block;} ytd-badge-supported-renderer {margin-top: 4px;} h3 {color: var(--yt-spec-text-primary);margin: 8px 0 8px;} #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #view-more {display: block;margin-top: 4px;--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);font-size: 1.25rem;font-weight: 500;letter-spacing: 0.007px;text-transform: uppercase;} h3 {color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-grid-playlist-renderer.css.map*/</style>';
ZWa=d}d=ZWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Wa=a}a=$Wa;return a}}});
var YD=aXa;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YD.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],YD.prototype,"ytdLockupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YD.prototype,"data",void 0);YD=_.S([_.Q({asyncProperties:!0,is:"ytd-grid-playlist-renderer"})],YD);
var bXa;
var cXa;
var ZD=function(){return _.K.apply(this,arguments)||this};
_.q(ZD,_.K);ZD.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}},initialRenderPriority:!_.x("defer_menus")||_.x("desktop_persistent_menu")&&_.QB?void 0:0,waitForSignal:"eocs"},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.t.Object.defineProperties(ZD,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-radio-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_radio_renderer.ytd.grid.radio.renderer.css.js--\x3e<div id="dismissible">\n  <ytd-thumbnail data="[[data]]" height="118" hovered="[[lockupIsHovered]]" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="210">\n  </ytd-thumbnail>\n  <div id="details">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n      <h3>\n        <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n        </ytd-badge-supported-renderer>\n        <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n          [[getSimpleString(data.title)]]\n        </span>\n      </h3>\n      <ytd-video-meta-block class="grid" data="[[data]]" radio-meta=""></ytd-video-meta-block>\n    </a>\n    <div id="menu"></div>\n  </div>\n</div>\n<div id="dismissed">\n  <div id="dismissed-content"></div>\n</div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bXa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_radio_renderer.ytd.grid.radio.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;position: relative;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} :host([is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([is-dismissed]) #dismissed {display: block;} ytd-thumbnail {height: 118px;width: 210px;} ytd-video-meta-block {padding-right: 24px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {display: block;} #video-title {display: block;margin: 8px 0 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} :host #video-title {margin: 8px 0 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} #details {position: relative;padding-right: 24px;} ytd-menu-renderer {position: absolute;top: 0;right: 0;margin-top: 4px;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} /*# sourceMappingURL=ytd-grid-radio-renderer.css.map*/</style>';
bXa=d}d=bXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cXa=a}a=cXa;return a}}});
var $D=ZD;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$D.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],$D.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],$D.prototype,"ytdLockupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$D.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$D.prototype,"data",void 0);
$D=_.S([_.Q({asyncProperties:!0,is:"ytd-grid-radio-renderer"})],$D);
var dXa;
var eXa;
var aE=function(){return _.K.apply(this,arguments)||this};
_.q(aE,_.K);aE.prototype.configureRendererStamper=function(){return{"data.offerButton":{id:"offer-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!0}}}}}};
_.t.Object.defineProperties(aE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-show-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_show_renderer.ytd.grid.show.renderer.css.js--\x3e<ytd-playlist-thumbnail data="[[data]]" width="210"></ytd-playlist-thumbnail>\n<div id="details">\n  <a id="title" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h3>\n      <ytd-badge-supported-renderer class="badge" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n      </ytd-badge-supported-renderer>\n      <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        [[getSimpleString(data.title)]]\n      </span>\n    </h3>\n    <ytd-video-meta-block class="grid" data="[[data]]"></ytd-video-meta-block>\n  </a>\n  <ytd-badge-supported-renderer class="badge" hidden="[[!data.bottomStandaloneBadge]]" top-standalone-badge="[[data.bottomStandaloneBadge]]">\n  </ytd-badge-supported-renderer>\n  <ytd-badge-supported-renderer class="badge" badges="[[data.badges]]" hidden="[[!data.badges]]">\n  </ytd-badge-supported-renderer>\n  <div id="offer-button"></div>\n  <div id="menu"></div>\n</div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dXa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_show_renderer.ytd.grid.show.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;width: 210px;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} ytd-playlist-thumbnail {height: 118px;width: 210px;} ytd-video-meta-block {padding-right: 24px;} #details {position: relative;} ytd-menu-renderer {position: absolute;top: 0;right: 0;margin-top: 4px;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} .badge {margin-top: 8px;} #video-title {display: block;margin: 8px 0 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} :host #video-title {margin: 8px 0 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-grid-show-renderer.css.map*/</style>';
dXa=d}d=dXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);eXa=a}a=eXa;return a}}});
var bE=aE;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],bE.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],bE.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],bE.prototype,"ytdLockupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],bE.prototype,"data",void 0);bE=_.S([_.Q({asyncProperties:!0,is:"ytd-grid-show-renderer"})],bE);
var fXa;
var gXa;
var cE=function(){return _.K.apply(this,arguments)||this};
_.q(cE,_.K);cE.prototype.onTap=function(){this.data&&this.fire("yt-navigate",{endpoint:this.data.clickthroughEndpoint})};
_.t.Object.defineProperties(cE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-shopping-companion-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_shopping_companion_item_renderer.ytd.shopping.companion.item.renderer.css.js--\x3e<div id="shopping-companion-item-container" on-tap="onTap">\n  <div id="card">\n    <yt-img-shadow id="image" thumbnail="[[data.image]]"></yt-img-shadow>\n    <div id="info">\n      <span id="headline">[[getSimpleString(data.headline)]]</span>\n      <span id="price">[[getSimpleString(data.priceText)]]</span>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fXa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_shopping_companion_item_renderer.ytd.shopping.companion.item.renderer.css.js--\x3e<style>:host {--yt-img-max-height: 100%;display: inline-block;width: 125px;} #card {width: 120px;cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #image {background-color: var(--yt-spec-static-brand-white);height: 120px;width: 120px;} #info {height: 90px;padding-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #headline {color: var(--yt-spec-text-secondary);overflow: hidden;max-height: 6rem;font-size: 1.3rem;font-weight: 400;line-height: 1.5rem;} #price {color: var(--yt-spec-text-secondary);padding-top: 4px;padding-bottom: 4px;white-space: nowrap;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;font-weight: 700;} @media(max-width:999px) {:host {width: 136px;}} @media(max-width:856px) {:host {width: 121px;}} @media(max-width:656px) {:host {width: 133px;}} /*# sourceMappingURL=ytd-shopping-companion-item-renderer.css.map*/</style>';
fXa=d}d=fXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gXa=a}a=gXa;return a}}});
var dE=cE;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],dE.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],dE.prototype,"data",void 0);dE=_.S([_.Q({asyncProperties:!0,is:"ytd-shopping-companion-item-renderer"})],dE);
var hXa;
var iXa;
var eE=function(){return _.K.apply(this,arguments)||this};
_.q(eE,_.K);_.t.Object.defineProperties(eE.prototype,{showFromBrandText:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.fromBrandText)}},
showFromMerchantText:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.fromMerchantText)}},
useNewStyle:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.useNewStyle}}});
_.t.Object.defineProperties(eE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-vertical-product-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_vertical_product_card_renderer.ytd.vertical.product.card.renderer.css.js--\x3e<a id="product-card-renderer-container" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" rel="[[computeNofollow_(data.navigationEndpoint)]]" aria-label="[[data.accessibilityTitle]]">\n    <div id="card-with-protection">\n      <div id="product-image" class="product-info-row">\n        <yt-img-shadow thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n      </div>\n      <div id="product-info">\n        <div id="product-name" class="product-info-row">[[data.title]]</div>\n        <div class="product-info-row">\n          <span id="price">[[data.price]]</span>\n          <template is="dom-if" restamp="" if="[[data.additionalFeesText]]">\n            <span id="additional-taxes">[[data.additionalFeesText]]</span>\n          </template>\n        </div>\n        <div id="variants-description" class="product-info-row">\n          [[data.variantsDescription]]\n        </div>\n        <div class="product-info-row">\n          <span id="merchant-name" hidden="[[!showFromMerchantText]]">[[data.fromMerchantText]]</span>\n          <yt-formatted-string id="brand-name" hidden="[[!showFromBrandText]]" text="[[data.fromBrandText]]">\n          </yt-formatted-string>\n          <template is="dom-if" restamp="" if="[[data.showOpenInNewIcon]]">\n            <yt-icon class="hover-icon" icon="open_in_new"></yt-icon>\n          </template>\n        </div>\n      </div>\n    </div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hXa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_vertical_product_card_renderer.ytd.vertical.product.card.renderer.css.js--\x3e<style>:host {display: inline-block;--yt-img-max-height: 100%;--yt-formatted-string-bold: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--yt-formatted-string-bold-color: var(--yt-spec-text-primary);} :host([use-new-style]) #product-card-renderer-container {margin-bottom: 0;} :host([use-new-style]) #product-name {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} #product-card-renderer-container {margin-right: 4px;margin-bottom: 32px;} #product-card-renderer-container .yt-simple-endpoint {display: block;padding: 4px;text-decoration: none;} #card-with-protection {width: 208px;} #product-image {background-color: white;height: 208px;margin-bottom: 10px;width: 100%;} yt-img-shadow {height: 192px;margin: 8px;width: 192px;} .product-info-row {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;margin-bottom: 2px;} #product-name {-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;margin-bottom: 4px;overflow: hidden;-webkit-line-clamp: 2;} #merchant-name {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;color: var(--yt-spec-themed-blue);} #brand-name {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);} #additional-taxes,#variants-description {color: var(--yt-spec-text-secondary);} #price {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} yt-icon {color: var(--yt-spec-themed-blue);height: 14px;width: 14px;} /*# sourceMappingURL=ytd-vertical-product-card-renderer.css.map*/</style>';
hXa=d}d=hXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iXa=a}a=iXa;return a}}});
var fE=eE;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],fE.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],fE.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],fE.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],fE.prototype,"showFromBrandText",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],fE.prototype,"showFromMerchantText",null);
_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],fE.prototype,"useNewStyle",null);fE=_.S([_.Q({asyncProperties:!0,is:"ytd-vertical-product-card-renderer"})],fE);
var jXa;
var kXa;
var gE=function(){return _.K.apply(this,arguments)||this};
_.q(gE,_.K);gE.prototype.configureRendererStamper=function(){return{"data.offerButton":{id:"offer-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!0}}}}}};
_.t.Object.defineProperties(gE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-movie-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_grid_movie_renderer.ytd.grid.movie.renderer.css.js--\x3e<ytd-thumbnail data="[[data]]" hovered="[[lockupIsHovered]]" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="210">\n</ytd-thumbnail>\n<a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <h3>\n    <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n    </ytd-badge-supported-renderer>\n    <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n      [[getSimpleString(data.title)]]\n    </span>\n  </h3>\n  <span class="grid-movie-renderer-metadata" hidden="[[!data.metadata]]">\n    [[getSimpleString(data.metadata)]]\n  </span>\n  \n  <ytd-video-meta-block class="grid" data="[[data]]"></ytd-video-meta-block>\n</a>\n<ytd-badge-supported-renderer class="badges" badges="[[data.badges]]" hidden="[[!data.badges]]">\n</ytd-badge-supported-renderer>\n<div id="offer-button"></div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jXa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_grid_movie_renderer.ytd.grid.movie.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;position: relative;} ytd-thumbnail {height: 302px;width: 210px;} ytd-video-meta-block {padding-right: 24px;} .grid-movie-renderer-metadata {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .badges {white-space: nowrap;margin-top: 8px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {display: block;} #video-title {display: block;margin: 8px 0 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} h3 {color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-grid-movie-renderer.css.map*/</style>';
jXa=d}d=jXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kXa=a}a=kXa;return a}}});
var hE=gE;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],hE.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],hE.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],hE.prototype,"ytdLockupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],hE.prototype,"data",void 0);hE=_.S([_.Q({asyncProperties:!0,is:"ytd-grid-movie-renderer"})],hE);
var lXa;
var mXa;
var iE=function(){var a=_.K.apply(this,arguments)||this;a.itemStyle="small-item";return a};
_.q(iE,_.K);_.t.Object.defineProperties(iE.prototype,{hasPrice:{configurable:!0,enumerable:!0,get:function(){var a;return void 0!==(null==(a=this.data)?void 0:a.price)}},
hasAdditionalFeesText:{configurable:!0,enumerable:!0,get:function(){var a;return void 0!==(null==(a=this.data)?void 0:a.additionalFeesText)}},
ariaLabel:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.accessibilityTitle?this.data.accessibilityTitle:this.data.title+", "+this.data.price+", "+this.data.additionalFeesText+", "+this.data.vendorName}}});
_.t.Object.defineProperties(iE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mXa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-merch-shelf-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_merch_shelf_item_renderer.ytd.merch.shelf.item.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.buttonCommand)]]" data="[[data.buttonCommand]]" aria-label$="[[ariaLabel]]">\n\n  <div class="product-item">\n    <yt-img-shadow class="product-item-image" height="90" object-fit="CONTAIN" thumbnail="[[data.thumbnail]]" width="90"></yt-img-shadow>\n    <div class="product-item-info">\n      <div class="product-item-info-wrapper">\n        <div class="small-item-hide product-item-title">[[data.title]]</div>\n        <template is="dom-if" restamp="" if="[[hasPrice]]">\n          <div class="product-item-price-wrapper">\n            <div class="product-item-price">[[data.price]]</div>\n            <div class="product-item-additional-fees-text" hidden="[[!hasAdditionalFeesText]]">\n              [[data.additionalFeesText]]\n            </div>\n          </div>\n        </template>\n        <div no-price$="[[!hasPrice]]" class="cta-item-hide product-item-merchant">\n          <div class="product-item-merchant-text">\n            [[data.vendorName]]\n            <yt-icon class="product-item-merchant-icon product-item-merchant-icon--inline" icon="open_in_new" size="15"></yt-icon>\n          </div>\n          \n          <yt-icon class="product-item-merchant-icon" icon="open_in_new" size="15"></yt-icon>\n        </div>\n        <div class="small-item-hide large-item-hide product-item-description">[[data.description]]</div>\n      </div>\n    </div>\n    <div class="small-item-hide large-item-hide product-item-button-wrapper">\n      <div class="product-item-button">[[data.buttonText]]</div>\n      <div class="product-item-merchant">\n        <div class="product-item-merchant-text">[[data.vendorName]]</div>\n        <yt-icon class="product-item-merchant-icon" icon="open_in_new" size="15"></yt-icon>\n      </div>\n    </div>\n  </div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lXa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_merch_shelf_item_renderer.ytd.merch.shelf.item.renderer.css.js--\x3e<style>:host {--yt-img-max-height: 100%;display: block;} :host(:hover) {background-color: var(--yt-spec-badge-chip-background);border-radius: 2px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));padding: 4px;display: block;text-decoration: none;} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} yt-icon {color: var(--yt-spec-brand-icon-inactive);height: 15px;width: 15px;flex-shrink: 0;} .product-item-info {position: relative;margin-left: 10px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .product-item-info-wrapper {position: absolute;width: 100%;} .product-item-title {color: var(--yt-spec-text-primary);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .product-item-image {height: 90px;width: 90px;background-color: var(--yt-spec-static-brand-white);overflow: hidden;} .product-item-price-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} .product-item-price {color: var(--yt-spec-text-primary);margin: 2px 0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .product-item-additional-fees-text {margin-top: 2px;color: var(--yt-spec-text-secondary);margin-bottom: 8px;white-space: nowrap;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .product-item-merchant {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .product-item-merchant-text {color: var(--yt-spec-text-secondary);white-space: nowrap;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .product-item-merchant-icon {padding-left: 3px;padding-top: 1px;} .product-item-merchant-icon--inline {display: none;} .product-item-description {color: var(--yt-spec-text-secondary);display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .product-item-button {background-color: var(--yt-spec-call-to-action);border-radius: 2px;color: var(--yt-spec-filled-button-text);padding: 8px 24px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} .product-item-button-wrapper {margin-left: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} .product-item-button-wrapper .product-item-merchant {margin-top: 8px;text-align: end;} :host(:hover) .product-item-merchant-text,:host(:hover) .product-item-merchant yt-icon {color: var(--yt-spec-themed-blue);} :host([item-style=small-item]) {width: 98px;} :host([item-style=small-item]) .product-item-merchant-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([item-style=small-item]) .product-item-image {margin-bottom: 4px;} :host([item-style=small-item]) .product-item-additional-fees-text {margin-top: 0;margin-bottom: 4px;width: 90px;} :host([item-style=small-item]) .product-item-info-wrapper {position: relative;width: 90px;} :host([item-style=small-item]) .small-item-hide {display: none;} :host([item-style=small-item]) .product-item-info {margin-left: 0;} :host([item-style=large-item]) {width: 282px;} :host([item-style=large-item]) .large-item-hide {display: none;} :host([item-style=large-item]) .product-item {width: 274px;height: 90px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([item-style=large-item]) .product-item-merchant[no-price] .product-item-merchant-text {white-space: normal;overflow: initial;text-overflow: initial;} :host([item-style=large-item]) .product-item-merchant[no-price] .product-item-merchant-icon {display: none;} :host([item-style=large-item]) .product-item-merchant[no-price] .product-item-merchant-icon--inline {display: inline-flex;padding-left: 0;padding-top: 0;padding-bottom: 2px;} :host([item-style=large-item]) .product-item-additional-fees-text {margin-bottom: 8px;} :host([item-style=large-item]) .product-item-additional-fees-text {margin-top: 0;margin-bottom: 4px;} :host([item-style=cta-item]) {width: 100%;} :host([item-style=cta-item]) .cta-item-hide {display: none;} :host([item-style=cta-item]) .product-item {margin-left: 0;width: 100%;height: 90px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([item-style=cta-item]) .product-item-price-wrapper {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([item-style=cta-item]) .product-item-additional-fees-text {padding-left: 5px;margin-bottom: 0;} :host([item-style=cta-item]) .product-item-description {color: var(--yt-spec-text-secondary);margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} /*# sourceMappingURL=ytd-merch-shelf-item-renderer.css.map*/</style>';
lXa=d}d=lXa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mXa=a}a=mXa;return a}}});
var jE=iE;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],jE.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],jE.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],jE.prototype,"itemStyle",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],jE.prototype,"hasPrice",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],jE.prototype,"hasAdditionalFeesText",null);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],jE.prototype,"ariaLabel",null);jE=_.S([_.Q({asyncProperties:!0,is:"ytd-merch-shelf-item-renderer"})],jE);
var kE=function(){var a=_.K.apply(this,arguments)||this;a.buttonClasses=["arrow"];a.overrideArrowPositionForProductCard=!1;a.overrideArrowPositionForReelItems=!1;return a};
_.q(kE,_.K);_.f=kE.prototype;
_.f.configureRendererStamper=function(){return{shownItems:{id:"items",mapping:{compactStationRenderer:"ytd-compact-station-renderer",gridChannelRenderer:"ytd-grid-channel-renderer",gridMoviePlaylistRenderer:"ytd-grid-movie-playlist-renderer",gridMovieRenderer:"ytd-grid-movie-renderer",gridPlaylistRenderer:"ytd-grid-playlist-renderer",gridRadioRenderer:"ytd-grid-radio-renderer",gridShowRenderer:"ytd-grid-show-renderer",gridVideoRenderer:"ytd-grid-video-renderer",merchShelfItemRenderer:"ytd-merch-shelf-item-renderer",shoppingCompanionCarouselItemRenderer:"ytd-shopping-companion-item-renderer",
displayAdRenderer:"ytd-display-ad-renderer",commentRenderer:"ytd-comment-renderer",compactChannelRecommendationCardRenderer:"ytd-compact-channel-recommendation-card-renderer",postRenderer:"ytd-post-renderer",reelItemRenderer:"ytd-reel-item-renderer",sharedPostRenderer:"ytd-shared-post-renderer",verticalProductCardRenderer:"ytd-vertical-product-card-renderer"}},"data.previousButton":{id:"left-arrow",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundPrevClick]]"},
classListBinding:"[[buttonClasses]]"}},initialRenderPriority:0,waitForSignal:"eocs"},"data.nextButton":{id:"right-arrow",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundNextClick]]"},classListBinding:"[[buttonClasses]]"}}}}};
_.f.dataChanged=function(){this.ytdHorizontalListBehavior.reset();this.data&&this.data.items&&(this.ytdHorizontalListBehavior.useFloorScrolling=this.computeContainsPost(this.data))};
_.f.computeInitialCountNumber=function(a){if(!a)return 6;var b=a.items.some(function(c){return!!c.topicRecommendationsChipRenderer});
a=a.items.some(function(c){return!!c.displayAdRenderer});
return b?9:_.x("desktop_search_prominent_thumbs")&&a?8:6};
_.f.computeContainsPost=function(a){return!!a&&!!a.items&&a.items.some(function(b){return!!b.postRenderer})};
_.f.computeContainsVerticalProductCardRenderer=function(a){var b;return!!(null==a?0:null==(b=a.items)?0:b.some(function(c){return!!c.verticalProductCardRenderer}))};
_.f.computeContainsReelItemRenderer=function(a){var b;return!!(null==a?0:null==(b=a.items)?0:b.some(function(c){return!!c.reelItemRenderer}))};
_.t.Object.defineProperties(kE,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dWa){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-horizontal-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.yt_horizontal_list_renderer.yt.horizontal.list.renderer.css.js--\x3e<div id="left-arrow"></div>\n<div id="scroll-container">\n  <div id="items"></div>\n</div>\n<div id="right-arrow"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cWa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.yt_horizontal_list_renderer.yt.horizontal.list.renderer.css.js--\x3e<style>:host {--ytd-thumbnail-height: 118px;display: block;position: relative;max-width: var(--yt-horizontal-list-renderer-width,auto);} :host([contains-post]) {--ytd-thumbnail-height: 200px;} #scroll-container {overflow: hidden;} #items {margin-bottom: var(--ytd-horizontal-list-margin-bottom,24px);transition-duration: 0.15s;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;} #items>* {padding-right: 4px;display: inline-block;vertical-align: top;white-space: normal;} #items>ytd-compact-channel-recommendation-card-renderer[is-dismissed] {display: none;} #items>ytd-post-renderer {display: inline-flex;padding-right: 24px;margin-right: 8px;} #items>ytd-shared-post-renderer {padding-right: 0;margin-right: 8px;} :host([at-start]) #left-arrow .arrow {display: none;opacity: 0;} :host([at-end]) #right-arrow .arrow {display: none;opacity: 0;} :host([override-arrow-position-for-product-card]) #left-arrow,:host([override-arrow-position-for-product-card]) #right-arrow {--ytd-horizontal-list-arrow-top: 45px;} #left-arrow {position: absolute;top: var(--ytd-horizontal-list-arrow-top,0);height: 118px;z-index: 1;} #right-arrow {position: absolute;top: var(--ytd-horizontal-list-arrow-top,0);right: 4px;height: 118px;z-index: 200;} :host([override-arrow-position-for-reel-items]) #left-arrow,:host([override-arrow-position-for-reel-items]) #right-arrow {height: var(--ytd-reel-shelf-thumbnail-height,100%);} #left-arrow,#right-arrow {will-change: transform;width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .arrow {cursor: pointer;width: 40px;height: 40px;border-radius: 24px;background-color: var(--yt-spec-brand-background-solid);box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=yt-horizontal-list-renderer.css.map*/</style>";
cWa=d}d=cWa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dWa=a}a=dWa;return a}}});
var lE=kE;lE.prototype.dataChanged=lE.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],lE.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],lE.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.vy),_.T("design:type",Object)],lE.prototype,"ytdHorizontalListBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],lE.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Array)],lE.prototype,"buttonClasses",void 0);_.S([_.N({computed:"computeInitialCountNumber(data)"}),_.T("design:type",Number)],lE.prototype,"initialCount",void 0);_.S([_.N({computed:"computeContainsPost(data)"}),_.T("design:type",Boolean)],lE.prototype,"containsPost",void 0);_.S([_.N({computed:"computeContainsVerticalProductCardRenderer(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],lE.prototype,"overrideArrowPositionForProductCard",void 0);
_.S([_.N({computed:"computeContainsReelItemRenderer(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],lE.prototype,"overrideArrowPositionForReelItems",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],lE.prototype,"dataChanged",null);lE=_.S([_.Q({is:"yt-horizontal-list-renderer"})],lE);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syq");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.TVa={observers:["_focusedChanged(receivedFocusFromKeyboard)"],_focusedChanged:function(a){a&&this.ensureRipple();this.hasRipple()&&(this._ripple.holdDown=a)},
_createRipple:function(){var a=_.ct._createRipple();a.id="ink";a.setAttribute("center","");a.classList.add("circle");return a}};
_.UVa=[_.$s,_.Ys,_.ct,_.TVa];
var VVa;
var WVa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var XVa=new _.au({type:"iconset"});
_.Ng({_template:function(){if(void 0!==WVa)return WVa;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-iron-icon--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_iron_icon.tp.yt.iron.icon.css.js--\x3e\n";var b=a.content,c=b.insertBefore;if(void 0===VVa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_iron_icon.tp.yt.iron.icon.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: -ms-inline-flexbox;\n  display: -webkit-inline-flex;\n  display: inline-flex;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  -ms-flex-pack: center;\n  -webkit-justify-content: center;\n  justify-content: center;\n  position: relative;\n  vertical-align: middle;\n  fill: var(--iron-icon-fill-color, currentcolor);\n  stroke: var(--iron-icon-stroke-color, none);\n  width: var(--iron-icon-width, 24px);\n  height: var(--iron-icon-height, 24px);\n  @apply --iron-icon;\n}\n\n:host([hidden]) {\n  display: none;\n}\n\n/*# sourceMappingURL=tp-yt-iron-icon.css.map */</style>";VVa=
d}d=VVa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return WVa=a},
is:"tp-yt-iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String}},observers:["_updateIcon(isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(a){a=(a||"").split(":");this._iconName=a.pop();this._iconsetName=a.pop()||this._DEFAULT_ICONSET;this._updateIcon()},
_srcChanged:function(){this._updateIcon()},
_usesIconset:function(){return this.icon||!this.src},
_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&_.H(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&((this._iconset=XVa.byKey(this._iconsetName))?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),
this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,_.H(this.root).appendChild(this._img))}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy20");

var Trb,Urb,OT,PT,Wrb,Xrb,Yrb,TT,Zrb,$rb,bsb,VT,WT,XT,ZT,aU,fsb,hsb,gsb,cU,eU,lsb,msb,nsb,osb,rsb,hU,iU,tsb,kU,usb,lU,mU,zsb,Asb,Bsb,oU,Csb,qU,Isb,Lsb,Nsb,tU,Qsb,Rsb,uU,vU,wU,Wsb,yU,zU,Ysb,AU,BU,CU,ctb,FU,HU,IU,dtb,ftb,gtb,htb,ktb,ltb,mtb,ntb,otb,ptb,qtb,KU,rtb,stb,utb,Ftb,Itb,Ktb,Mtb,Ntb,Otb,PU,Rtb,Stb,Ttb,Utb,Ptb,Vtb,Wtb,Xtb,Ytb,Ztb,$tb,QU,aub,bub,cub,fub,eub,iub,gub,hub,lub,mub,nub,jub,pub,kub,qub,WU,rub,sub,tub,wub,Dub,yub,xub,zub,Aub,Hub,Fub,Iub,Jub,Kub,Lub,Nub,Mub,Oub,Pub,Qub,Sub,Uub,Vub,Wub,
Yub,Xub,ivb,jvb,kvb,lvb,dV,mvb,ovb,qvb,rvb,isb,svb,tvb,uvb,EU,DU,vvb,wvb,aV,yvb,zvb,Avb,Bvb,dub,fV,Cvb,Dvb,Evb,Fvb,gV;_.Srb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192)for(var h=_.Srb.apply(null,_.c4a(d,e,e+8192)),l=0;l<h.length;l++)b.push(h[l]);else b.push(d)}return b};
Trb=function(a,b,c){return _.b4a.apply([],_.id(a,b,c))};
Urb=function(a){return a?a.passive&&(0,_.yra)()?a:a.capture||!1:!1};
_.Vrb=function(a){if(a)for(var b=0;b<a.length;b++)_.Te(a[b])};
OT=function(a){setTimeout(function(){throw a;},0)};
PT=function(a){return"function"===typeof a};
Wrb=function(a){return null!==a&&"object"===typeof a};
Xrb=function(a){return a instanceof _.QT||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe};
Yrb=function(a){return a.reduce(function(b,c){return b.concat(c instanceof RT?c.errors:c)},[])};
_.ST=function(a){return a};
TT=function(){return Zrb(_.Ob.apply(0,arguments))};
Zrb=function(a){return 0===a.length?_.ST:1===a.length?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}};
$rb=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete};
_.asb=function(a){a||(a=Promise);if(!a)throw Error("Mg");return a};
bsb=function(a,b){return new _.UT(function(c){var d=new _.QT,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));
return d})};
VT=function(a,b){return b?bsb(a,b):new _.UT(csb(a))};
WT=function(a){return a&&"function"===typeof a.schedule};
XT=function(){var a=_.Ob.apply(0,arguments),b=a[a.length-1];return WT(b)?(a.pop(),bsb(a,b)):VT(a)};
ZT=function(a){return new _.UT(function(b){return b.error(a)})};
_.$T=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Ng");};
aU=function(){return function(a){return _.$T(a,new dsb)}};
_.bU=function(a){return function(b){if("function"!==typeof a)throw new TypeError("Og");return _.$T(b,new esb(a))}};
fsb=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then};
hsb=function(a){return function(b){gsb(a,b).catch(function(c){return b.error(c)})}};
gsb=function(a,b){var c,d,e;return _.y(function(h){switch(h.nextAddress){case 1:var l=a[Symbol.asyncIterator];c=void 0!==l?l.call(a):new isb(_.k(a));case 2:return _.B(h,c.next(),5);case 5:d=h.yieldResult;if(d.done){h.jumpTo(4);break}e=d.value;b.next(e);h.jumpTo(2);break;case 4:b.complete(),_.bf(h)}})};
cU=function(a,b){if(!b.closed)return a instanceof _.UT?a.subscribe(b):jsb(a)(b)};
eU=function(){var a=_.Ob.apply(0,arguments),b=void 0,c=void 0,d=void 0;WT(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];dU(e)&&(a=e);Wrb(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(h){return e[h]}))}return _.$T(VT(a,c),new ksb(b,d))};
lsb=function(a,b){if(!a)throw Error("Rg");return new _.UT(function(c){var d=new _.QT;d.add(b.schedule(function(){var e=a[Symbol.asyncIterator]();d.add(b.schedule(function(){var h=this;e.next().then(function(l){l.done?c.complete():(c.next(l.value),h.schedule())})}))}));
return d})};
msb=function(a,b){if(!a)throw Error("Rg");return new _.UT(function(c){var d=new _.QT,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});
d.add(b.schedule(function(){e=a[fU]();d.add(b.schedule(function(){if(!c.closed){try{var h=e.next();var l=h.value;var m=h.done}catch(p){c.error(p);return}m?c.complete():(c.next(l),this.schedule())}}))}));
return d})};
nsb=function(a,b){return new _.UT(function(c){var d=new _.QT;d.add(b.schedule(function(){var e=a[gU]();d.add(e.subscribe({next:function(h){d.add(b.schedule(function(){return c.next(h)}))},
error:function(h){d.add(b.schedule(function(){return c.error(h)}))},
complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));
return d})};
osb=function(a,b){return new _.UT(function(c){var d=new _.QT;d.add(b.schedule(function(){return a.then(function(e){d.add(b.schedule(function(){c.next(e);d.add(b.schedule(function(){return c.complete()}))}))},function(e){d.add(b.schedule(function(){return c.error(e)}))})}));
return d})};
rsb=function(a){var b=psb;if(null!=a){if(a&&"function"===typeof a[gU])return nsb(a,b);if(fsb(a))return osb(a,b);if(qsb(a))return bsb(a,b);if(a&&"function"===typeof a[fU]||"string"===typeof a)return msb(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return lsb(a,b)}throw new TypeError("Sg`"+(null!==a&&typeof a||a));};
hU=function(a){return a instanceof _.UT?a:new _.UT(jsb(a))};
iU=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(iU(function(e,h){return hU(a(e,h)).pipe(_.bU(function(l,m){return b(e,l,h,m)}))},c))};
"number"===typeof b&&(c=b);return function(d){return _.$T(d,new ssb(a,c))}};
tsb=function(a){a=void 0===a?Infinity:a;return iU(_.ST,a)};
_.jU=function(){return tsb(1)(XT.apply(null,_.sc(_.Ob.apply(0,arguments))))};
kU=function(a,b,c){if(PT(c)){var d=c;c=void 0}return d?kU(a,b,c).pipe(_.bU(function(e){return dU(e)?d.apply(null,_.sc(e)):d(e)})):new _.UT(function(e){usb(a,b,function(h){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(h)},e,c)})};
usb=function(a,b,c,d,e){if(a&&"function"===typeof a.addEventListener&&"function"===typeof a.removeEventListener){a.addEventListener(b,c,e);var h=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===typeof a.on&&"function"===typeof a.off)a.on(b,c),h=function(){return a.off(b,c)};
else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),h=function(){return a.removeListener(b,c)};
else if(a&&a.length)for(var l=0,m=a.length;l<m;l++)usb(a[l],b,c,d,e);else throw new TypeError("Tg");d.add(h)};
lU=function(){var a=_.Ob.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];WT(d)?(c=a.pop(),1<a.length&&"number"===typeof a[a.length-1]&&(b=a.pop())):"number"===typeof d&&(b=a.pop());return!c&&1===a.length&&a[0]instanceof _.UT?a[0]:tsb(b)(VT(a,c))};
mU=function(){};
_.nU=function(a){return function(b){return _.$T(b,new vsb(a))}};
_.xsb=function(){var a=_.Ob.apply(0,arguments);if(1===a.length)if(dU(a[0]))a=a[0];else return hU(a[0]);return _.$T(VT(a),new wsb)};
zsb=function(a){return a in ysb?(delete ysb[a],!0):!1};
Asb=function(a){function b(c){return"boolean"===typeof c||"string"===typeof c||"number"===typeof c||void 0===c||null===c}
return b(a)?!0:Array.isArray(a)?a.every(b):"object"===typeof a?Object.keys(a).every(function(c){return"string"===typeof c})&&Object.values(a).every(function(c){return Array.isArray(c)?c.every(b):b(c)}):!1};
Bsb=function(a){return Asb(a)?a:String(a)};
oU=function(a,b){return function(c){return new _.UT(function(d){return c.subscribe(function(e){a.timeExecution(b,function(){d.next(e)})()},function(e){a.timeExecution(b,function(){d.error(e)})()},function(){a.timeExecution(b,function(){d.complete()})()})})}};
Csb=function(a,b){var c=!1;return new _.UT(function(d){var e=a.setTimeout(function(){c=!0;d.next(!0);d.complete()},b);
return function(){c||a.clearTimeout(e)}})};
_.pU=function(a){return function(b){var c=new Dsb(a);b=_.$T(b,c);return c.JSC$40576_caught=b}};
_.Fsb=function(a){a=void 0===a?null:a;return function(b){return _.$T(b,new Esb(a))}};
qU=function(a){return function(b){return _.$T(b,new Gsb(a))}};
_.rU=function(){if(isNaN(1))throw new TypeError("Xg");return function(a){return _.$T(a,new Hsb)}};
_.Ksb=function(a){a=void 0===a?Isb:a;return function(b){return _.$T(b,new Jsb(a))}};
Isb=function(){return new _.sU};
Lsb=function(){var a=_.Ob.apply(0,arguments);return function(b){return _.jU(b,XT.apply(null,_.sc(a)))}};
Nsb=function(a){return function(b){return _.$T(b,new Msb(a,b))}};
tU=function(){return function(a){return _.$T(a,new Osb)}};
Qsb=function(){if(isNaN(1))throw new TypeError("Xg");return function(a){return _.$T(a,new Psb)}};
Rsb=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?_.nU(function(e,h){return a(e,h,d)}):_.ST,Qsb(),c?_.Fsb(b):_.Ksb(function(){return new _.sU}))}};
uU=function(a){return function(b){return _.$T(b,new Ssb(a))}};
vU=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return _.$T(d,new Tsb(a,b,c))}};
wU=function(a){return function(b){var c;"function"===typeof a?c=a:c=function(){return a};
var d=Object.create(b,Usb);d.source=b;d.subjectFactory=c;return d}};
Wsb=function(){var a=_.Ob.apply(0,arguments);1===a.length&&dU(a[0])&&(a=a[0]);return function(b){return _.$T(b,new Vsb(a))}};
yU=function(){var a=new xU(1,void 0,void 0);return function(b){return wU(function(){return a})(b)}};
zU=function(){var a=_.Ob.apply(0,arguments),b=a[a.length-1];return WT(b)?(a.pop(),function(c){return _.jU(a,c,b)}):function(c){return _.jU(a,c)}};
Ysb=function(){var a=void 0===a?0:a;return function(b){return _.$T(b,new Xsb(a))}};
AU=function(a){return function(b){return _.$T(b,new Zsb(a))}};
BU=function(a,b){b=void 0===b?!1:b;return function(c){return _.$T(c,new $sb(a,b))}};
CU=function(a,b,c){return function(d){return _.$T(d,new atb(a,b,c))}};
ctb=function(){var a=_.Ob.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return _.$T(b,new btb(a,c))}};
FU=function(a,b,c,d){a.google_image_requests||(a.google_image_requests=[]);var e=_.al("IMG",a.document);if(d){var h=function(){d&&_.ja(a.google_image_requests,e);DU(e,"load",h);DU(e,"error",h)};
EU(e,"load",h);EU(e,"error",h)}c&&(e.referrerPolicy="no-referrer");e.src=b;a.google_image_requests.push(e)};
HU=function(a){return function(b){return b.pipe(dtb(a,wU(new _.GU)))}};
IU=function(a){return function(b){return b.pipe(dtb(a,yU()))}};
dtb=function(a,b){function c(d){return new _.UT(function(e){return d.subscribe(function(h){a.run(function(){return void e.next(h)})},function(h){a.run(function(){return void e.error(h)})},function(){a.run(function(){return void e.complete()})})})}
return TT(c,Ysb(),b,aU(),c)};
ftb=function(a){var b=etb(a);return null===b?new JU(null):b.pipe(_.bU(function(c){return _.Xja(c.serialize())}),_.rU(),IU(a.queue))};
gtb=function(a){var b=void 0===b?{}:b;if("function"===typeof Event)return new Event(a,b);if("undefined"!==typeof document){var c=document.createEvent("CustomEvent");c.initCustomEvent(a,b.bubbles||!1,b.cancelable||!1,b.detail);return c}throw Error();};
htb=function(a){return"string"===typeof a?document.getElementById(a):a};
ktb=function(a,b,c,d){var e=!0,h=!0;e=void 0===e?!0:e;h=void 0===h?!1:h;d=void 0===d?!1:d;if(a=htb(a)){c||(c=function(sa,Ca,ea){sa.addEventListener(Ca,ea)});
for(var l=!1,m=function(sa){l||(l=!0,b(sa))},p,r,v=0;v<itb.length;++v)if(itb[v]==a.tagName){r=3;
p=[a];break}p||(p=a.querySelectorAll(itb.join(",")),r=2);var z=0,A=0,D=a=!1;v={};for(var E=0;E<p.length;v={$jscomp$loop$prop$isImg$3343:v.$jscomp$loop$prop$isImg$3343},E++){var J=p[E];if(!("IMG"!=J.tagName||!J.complete||J.naturalWidth&&J.naturalHeight?jtb.test(J.getAttribute("width"))&&jtb.test(J.getAttribute("height")):1)){if("IMG"==J.tagName)var R=J.naturalWidth&&J.naturalHeight?!0:!1;else try{R="complete"===(J.readyState?J.readyState:J.contentWindow&&J.contentWindow.document&&J.contentWindow.document.readyState)?
!0:!1}catch(sa){R=void 0===h?!1:h}if(R)a=!0;else{z++;v.$jscomp$loop$prop$isImg$3343="IMG"===J.tagName;var da=function(sa){return function(){z--;z||m(r);sa.$jscomp$loop$prop$isImg$3343&&(A--,!A&&D&&m(r))}}(v);
c(J,"load",da);v.$jscomp$loop$prop$isImg$3343&&(A++,c(J,"error",da))}}}p=null;if(0===z&&!a&&"complete"===_.g.document.readyState)r=5;else if(z||!a){c(_.g,"load",function(){d&&A?D=!0:m(4)});
return}e&&m(r)}};
ltb=function(a,b,c){if(a)for(var d=0;null!=a&&500>d&&!c(a);++d)a=b(a)};
mtb=function(a,b){ltb(a,function(c){try{return c===c.parent?null:c.parent}catch(d){}return null},b)};
ntb=function(a,b){if("IFRAME"==a.tagName)b(a);else{a=a.querySelectorAll("IFRAME");for(var c=0;c<a.length&&!b(a[c]);++c);}};
otb=function(a){return(a=a.ownerDocument)&&(a.parentWindow||a.defaultView)||null};
ptb=function(a,b,c){try{var d=JSON.parse(c.data)}catch(l){}if("object"===typeof d&&d&&"creativeLoad"===d.type){var e=otb(a);if(c.source&&e){var h;mtb(c.source,function(l){try{if(l.parent===e)return h=l,!0}catch(m){}});
h&&ntb(a,function(l){if(l.contentWindow===h)return b(d),!0})}}};
qtb=function(a){return"string"===typeof a?document.getElementById(a):a};
KU=function(a,b){return a.left===b.left&&a.top===b.top&&a.width===b.width&&a.height===b.height};
rtb=function(a,b){return{left:Math.max(a.left,b.left),top:Math.max(a.top,b.top),width:Math.max(0,Math.min(a.left+a.width,b.left+b.width)-Math.max(a.left,b.left)),height:Math.max(0,Math.min(a.top+a.height,b.top+b.height)-Math.max(a.top,b.top))}};
stb=function(a){var b;return null!=(b=a.google_tag_data)?b:a.google_tag_data={}};
utb=function(a){var b,c;if("function"!==typeof(null==(b=a.navigator)?void 0:null==(c=b.userAgentData)?void 0:c.getHighEntropyValues))return null;var d=stb(a);if(d.uach_promise)return d.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(ttb).then(function(e){null!=d.uach||(d.uach=e);return e});
return d.uach_promise=a};
Ftb=function(a){var b;return vtb(wtb(xtb(ytb(ztb(Atb(Btb(Ctb(new Dtb,a.platform||""),a.platformVersion||""),a.architecture||""),a.model||""),a.uaFullVersion||""),a.bitness||""),(null==(b=a.fullVersionList)?void 0:b.map(function(c){var d=new Etb;d=_.n(d,1,c.brand);return _.n(d,2,c.version)}))||[]),a.wow64||!1)};
Itb=function(a){if(_.gm(Gtb).getBooleanFlag(Htb.flag,Htb.defaultValue)){var b,c;return null!=(c=null==(b=utb(a))?void 0:b.then(function(l){return Ftb(l)}))?c:null}var d,e;
if("function"!==typeof(null==(d=a.navigator)?void 0:null==(e=d.userAgentData)?void 0:e.getHighEntropyValues))return null;var h;return null!=(h=a.navigator.userAgentData.getHighEntropyValues(ttb).then(function(l){return Ftb(l)}))?h:null};
Ktb=function(a,b){return new _.UT(function(c){var d=!1,e=Array(b.length);e.fill(void 0);var h=new Set,l=new Set,m=[];b.forEach(function(p,r){m.push(p.subscribe(function(v){a.running?(e[r]=v,h.add(r),d||(d=!0,Jtb(a,function(){d=!1;c.next(_.ka(e))}))):c.error(new LU(r))},function(v){l.add(r);
h.add(r);Jtb(a,function(){c.error(v)})},function(){l.add(r);
Jtb(a,function(){l.size===b.length&&c.complete()})}))})})};
Mtb=function(a,b,c){function d(){if(b.debugChannel){var J=b.debugChannel,R=J.next;var da={creativeId:c,requiredSignals:e,signals:Object.assign({},h),hasPrematurelyCompleted:l,errorMessage:m,erroredSignalKey:p};da={specMajor:1,specMinor:0,specPatch:0,timestamp:MU(b.timeProvider.now(),new NU(0,b.timeProvider.timeline)),instanceId:b.instanceId,messageType:2,creativeState:da};R.call(J,da)}}
for(var e=Object.keys(a),h={},l=!1,m=null,p=null,r={},v=new Set,z=[],A={},D=_.k(e),E=D.next();!E.done;A={$jscomp$loop$prop$key$3348:A.$jscomp$loop$prop$key$3348},E=D.next())A.$jscomp$loop$prop$key$3348=E.value,E=a[A.$jscomp$loop$prop$key$3348],E instanceof JU?(r[A.$jscomp$loop$prop$key$3348]=E.value,v.add(A.$jscomp$loop$prop$key$3348),h[String(A.$jscomp$loop$prop$key$3348)]=Bsb(E.value)):(E=E.pipe(qU(),_.bU(function(J){return function(R){h[String(J.$jscomp$loop$prop$key$3348)]=Bsb(R);d();var da={};
return da[J.$jscomp$loop$prop$key$3348]=R,da}}(A)),CU(function(J){return function(){v.add(J.$jscomp$loop$prop$key$3348)}}(A),function(J){return function(R){p=String(J.$jscomp$loop$prop$key$3348);
m=String(R);d()}}(A),function(J){return function(){v.has(J.$jscomp$loop$prop$key$3348)||(l=!0,d())}}(A))),z.push(E));
(a=0<Object.keys(h).length)&&d();A=Ktb(b.queue,z).pipe(_.pU(function(J){if(J instanceof LU)throw new Ltb(e[J.inputObservableIndex]);throw J;}),_.bU(function(J){return Object.freeze(Object.assign.apply(Object,[{},
r].concat(_.sc(J))))}));
return(z=0<z.length)&&a?lU(XT(Object.freeze(r)),A):z?A:XT(Object.freeze(r))};
Ntb=function(a,b,c,d,e){return a.performanceMonitor.timeExecution.bind(a.performanceMonitor)(733,function(){function h(){if(a.debugChannel){var r=a.debugChannel,v=r.next;var z={measuringCreativeIds:[].concat(_.sc(m.values())),hasCreativeSourceCompleted:p};z={specMajor:1,specMinor:0,specPatch:0,timestamp:MU(a.timeProvider.now(),new NU(0,a.timeProvider.timeline)),instanceId:a.instanceId,messageType:1,instanceState:z};v.call(r,z)}}
var l={},m=new Set,p=!1;try{return b.pipe(_.pU(function(r){d(Object.assign({},l,{error:r}));return _.OU}),CU(function(){},function(){},function(){p=!0;
h()}),iU(function(r){m.add(r.debugId);
h();try{var v=c(a,r)}catch(A){return d(Object.assign({},l,{error:A instanceof Error?A:String(A)})),_.OU}var z={};return Mtb(v,a,r.debugId).pipe(CU(function(A){z=A}),yU(),aU()).pipe(e,_.pU(function(A){d(Object.assign({},z,{error:A}));
return _.OU}),Lsb(void 0),_.bU(function(){m.delete(r.debugId)&&h();
return!0}))})).pipe(vU(function(r){return r+1},0),_.pU(function(r){d(Object.assign({},l,{error:r}));
return _.OU}))}catch(r){return d(Object.assign({},l,{error:r})),_.OU}})()};
Otb=function(a){return"string"===typeof a?encodeURIComponent(a):"number"===typeof a?String(a):Array.isArray(a)?a.map(Otb).join(","):a instanceof NU?a.toString():!0===a?"1":!1===a?"0":void 0===a||null===a?null:[a.top,a.left,a.top+a.height,a.left+a.width].join()};
PU=function(a){a=Object.entries(a).map(function(b){var c=_.k(b);b=c.next().value;c=c.next().value;c=Otb(c);return null===c?"":b+"="+c}).filter(function(b){return""!==b});
return a.length?a.join("&"):""};
Rtb=function(a,b){var c=Ptb,d=Qtb;b=void 0===b?.01:b;return function(e){0<b&&Math.random()<=b&&(e=Object.assign({},e,{errorMessage:e.error instanceof Error&&e.error.message?e.error.message:String(e.error),errorStack:e.error instanceof Error&&e.error.stack?String(e.error.stack):null,errorName:e.error instanceof Error&&e.error.name?String(e.error.name):null,errorContext:String(a.performanceMonitor.timedFunctionContext)}),e=c(Object.assign({},e,{payloadMapper:function(){return function(h){try{return d(Object.assign({},
h))}catch(l){return{}}}}(),
urlPrefixes:["https://pagead2.googlesyndication.com/pagead/gen_204?id=av-js&type=error&bin=17"]})),a.pinger.ping.apply(a.pinger,_.sc(e)))}};
Stb=function(){var a=_.Ob.apply(0,arguments);return function(b){var c=b.pipe(yU(),aU());b=a.map(function(d){return c.pipe(d,Lsb(!0))});
return eU(b).pipe(_.rU(),tU())}};
Ttb=function(){var a=_.Ob.apply(0,arguments);return function(b){var c=b.pipe(yU(),aU());b=a.map(function(d){return c.pipe(d,Lsb(!0))});
return lU.apply(null,_.sc(b)).pipe(_.rU(),tU())}};
Utb=function(a){var b={attributes:!0,childList:!0,characterData:!0,subtree:!0};return function(c){return c.pipe(AU(function(d){return new _.UT(function(e){var h=a.MutationObserver;if(h){var l=new h(function(m){e.next(m)});
l.observe(d,b);return function(){l.disconnect()}}})}))}};
Ptb=function(a){var b=a.payloadMapper(a),c=PU(b);return c?_.id(a.urlPrefixes,function(d){d=0<=d.indexOf("?")?d:d+"?";d=0<="?&".indexOf(d.slice(-1))?d:d+"&";return d+c}):a.urlPrefixes};
Vtb=function(a){var b=Object.assign({},a),c=a.userAgentClientHints;b=(delete b.userAgentClientHints,b);b=a.payloadMapper(b);var d=PU(b);return _.id(a.urlPrefixes,function(e){var h="";"string"===typeof c&&(h="&"+PU({uach:c}));var l={};return _.kD(e,(l.VIEWABILITY=d,l))+h})};
Wtb=function(a){return TT(_.bU(function(){return!0}),zU(!1),IU(a))};
Xtb=function(a){return 0>=a.length?_.OU:eU(a.map(function(b){var c=0;return b.pipe(_.bU(function(d){return{index:c++,value:d}}))})).pipe(_.nU(function(b){return b.every(function(c){return c.index===b[0].index})}),_.bU(function(b){return b.map(function(c){return c.value})}))};
Ytb=function(a,b){a.currentState&&(a.previousState=a.currentState);a.currentState=b;a.previousState&&a.previousState.value?(b=Math.max(0,MU(b.timestamp,a.previousState.timestamp)),a.totalTime+=b,a.consecutiveTime+=b):a.consecutiveTime=0;return a};
Ztb=function(){return TT(vU(Ytb,{totalTime:0,consecutiveTime:0}),_.bU(function(a){return a.totalTime}))};
$tb=function(){return TT(vU(Ytb,{totalTime:0,consecutiveTime:0}),_.bU(function(a){return a.consecutiveTime}))};
QU=function(a,b,c){c=void 0===c?function(d,e){return d===e}:c;
return a.timestamp.equals(b.timestamp)&&c(a.value,b.value)};
aub=function(a,b){return function(c){return Xtb(b.map(function(d){return c.pipe(a(d))}))}};
bub=function(){var a;return TT(CU(function(b){return void(a=b.timestamp)}),$tb(),_.bU(function(b){return{timestamp:a,
value:Math.round(b)}}))};
cub=function(a,b){return KU(a.topWindowViewportExternalGeometry,b.topWindowViewportExternalGeometry)&&KU(a.elementGeometry,b.elementGeometry)&&KU(a.exposedViewportLocalGeometry,b.exposedViewportLocalGeometry)&&KU(a.intersectionGeometry,b.intersectionGeometry)&&a.elementGeometrySourceName===b.elementGeometrySourceName&&a.measurementRequests===b.measurementRequests&&a.viewportGeometrySourceName===b.viewportGeometrySourceName};
fub=function(a,b){return function(c){return function(d){var e=d.pipe(wU(new _.GU),aU());d=c.element.pipe(qU());e=e.pipe(_.bU(function(h){return h.value}));
return eU([d,e,b]).pipe(_.bU(function(h){var l=_.k(h);h=l.next().value;var m=l.next().value;l=l.next().value;var p=h.getBoundingClientRect();var r=dub(h,a.global);p={top:r.y,left:r.x,width:p.width,height:p.height};r=rtb(p,m.exposedViewportLocalGeometry);var v=a.timeProvider.now(),z=Object,A=z.assign;if(2!==l||a.inCrossDomainIframe||0>=r.width||0>=r.height)var D=!1;else try{var E=a.document.elementFromPoint(r.left+r.width/2,r.top+r.height/2);D=E?!eub(E,h):!1}catch(J){D=!1}return{timestamp:v,value:A.call(z,
{},m,{elementGeometrySourceName:"geo",intersectionGeometry:D?RU.intersectionGeometry:r,elementGeometry:p})}}),HU(a.queue))}}};
eub=function(a,b,c){c=void 0===c?0:c;return a===b||_.hf(b,function(d){return d===a})?!0:b.ownerDocument&&b.ownerDocument.defaultView&&b.ownerDocument.defaultView===b.ownerDocument.defaultView.top?!1:10>c&&b.ownerDocument&&b.ownerDocument.defaultView&&b.ownerDocument.defaultView.frameElement?eub(a,b.ownerDocument.defaultView.frameElement,c+1):!0};
iub=function(a){return function(b){return b.pipe(a.ResizeObserver?gub(a):hub(a),yU(),aU())}};
gub=function(a){return function(b){return b.pipe(AU(function(c){var d=a.ResizeObserver;if(!d)return XT(RU.elementGeometry);var e=(new _.UT(function(h){var l=new d(function(m){m.forEach(function(p){h.next(p)})});
l.observe(c);return function(){l.disconnect()}})).pipe(oU(a.performanceMonitor,736),_.bU(function(h){return h.contentRect}));
return lU(XT(c.getBoundingClientRect()),e)}),qU(KU))}};
hub=function(a){return function(b){var c=b.pipe(Utb(a)),d=a.onResize;c=lU(b.pipe(_.bU(function(){return gtb("resize")})),c,d);
return eU(b,c).pipe(oU(a.performanceMonitor,737),_.bU(function(e){return _.k(e).next().value.getBoundingClientRect()}),qU(KU))}};
lub=function(a,b){var c=jub(a,b).pipe(yU(),aU());return function(d){d=d.pipe(AU(function(e){return e.element}),qU());
return eU([c,d]).pipe(AU(function(e){var h=_.k(e);e=h.next().value;h=h.next().value;return kub(a,e.intersectionObserver,iub(a),e.observations,e.flushRecords,h)}),HU(a.queue))}};
mub=function(a){return _.bU(function(b){return"nio"!==b.value.viewportGeometrySourceName?b:Object.assign({},b,{value:Object.assign({},b.value,{exposedViewportLocalGeometry:SU(a,!0),topWindowViewportExternalGeometry:SU(a,!0)})})})};
nub=function(a,b){return XT(b).pipe(a,_.bU(function(){return b}))};
jub=function(a,b){return a.timeProvider.timeline!==oub?ZT(new TU(2)):a.MutationObserver?"undefined"===typeof IntersectionObserver?ZT(new TU(0)):(new _.UT(function(c){var d=new _.GU,e=new IntersectionObserver(d.next.bind(d),{threshold:[].concat(_.sc(b))});c.next({observations:d.pipe(oU(a.performanceMonitor,735)),intersectionObserver:e,flushRecords:function(){var h=e.takeRecords();0<h.length&&d.next(h)}})})).pipe(_.rU(),yU(),aU()):ZT(new TU(1))};
pub=function(a){return rsb(a.sort(function(b,c){return b.time-c.time}))};
kub=function(a,b,c,d,e,h){return new _.UT(function(l){b.observe(h);var m=new _.UU({timestamp:a.timeProvider.now(),value:Object.assign({},RU,{viewportGeometrySourceName:"nio",elementGeometrySourceName:"nio"})}),p=d.pipe(iU(function(A){return pub(A)}),_.nU(function(A){return A.target===h}),_.bU(function(A){return{timestamp:new NU(A.time,oub),
value:{viewportGeometrySourceName:"nio",exposedViewportLocalGeometry:A.rootBounds||VU,topWindowViewportExternalGeometry:A.rootBounds||SU(a,!0),measurementRequests:r,elementGeometrySourceName:"nio",intersectionGeometry:A.intersectionRect,elementGeometry:A.boundingClientRect}}}),wU(m),aU()).subscribe(l),r=new _.GU,v=r.subscribe(function(){e();
l.next({timestamp:a.timeProvider.now(),value:m.value.value});b.unobserve(h);b.observe(h)}),z=nub(c,h).subscribe(function(){r.next()});
return function(){b.unobserve(h);p.unsubscribe();z.unsubscribe();v.unsubscribe()}})};
qub=function(a,b){var c=a.getOnBackgrounded().pipe(_.bU(function(){return"b"}));
return _.xsb(b,c).pipe(_.rU(),IU(a.queue))};
WU=function(a){return function(b){var c;return b.pipe(CU(function(d){return void(c=d.timestamp)}),_.bU(function(d){return d.value}),a,_.bU(function(d){return{timestamp:c,
value:d}}))}};
rub=function(a){var b=new TU(13);if(1>a.length)return{chain:_.OU,capturedErrors:_.OU};var c=new _.GU;return{chain:a.slice(1).reduce(function(d,e){return d.pipe(_.pU(function(h){c.next(h);return e}))},a[0]).pipe(_.pU(function(d){c.next(d);
return ZT(b)}),wU(new _.GU),aU()),
capturedErrors:c}};
sub=function(a){return function(b){return b.pipe(ctb(a),_.bU(function(c){var d=_.k(c);c=d.next().value;d=d.next().value;var e=c.value;return{timestamp:c.timestamp,value:1<=e?!0:0>=e?!1:e>=d}}))}};
tub=function(a,b,c){return a?eU([b,c]).pipe(_.nU(function(d){var e=_.k(d);d=e.next().value;e=e.next().value;return d.timestamp===e.timestamp}),_.bU(function(d){var e=_.k(d);
d=e.next().value;e=e.next().value;return d.value>e.value?d:e})):b};
wub=function(a){return function(b){var c=b.pipe(uub),d=b.pipe(vub);return a instanceof _.UT?a.pipe(AU(function(e){return tub(e,c,d)})):tub(a.value,c,d)}};
Dub=function(a,b,c,d){var e=d.geometryIsOccluded,h=d.exposureThreshold,l=d.wasLargeAdAtRender,m=d.allowLargeAdThreshold,p=d.largeAdExposureThreshold,r=d.mayUseViewportShareExposure;d=d.hasMeasurementStarted;b=xub(a,c,b);c=yub(a,c);var v=zub(a,e,r,b),z=v.pipe(_.bU(function(R){return R.value}),qU(),IU(a),vU(function(R,da){return Math.max(R,da)},0));
l=Aub(a,b,l,m);var A=l.pipe(zU(!1),qU(),_.bU(function(R){return R?p:h}));
m=v.pipe(sub(A),qU(),IU(a));var D=eU([m,b]).pipe(_.nU(function(R){var da=_.k(R);R=da.next().value;da=da.next().value;return R.timestamp===da.timestamp}),_.bU(function(R){var da=_.k(R);
R=da.next().value;da=da.next().value;return{visible:R.value,geometry:da.value.elementGeometry}}),vU(function(R,da){return!da.visible&&R.visible?R:da},{visible:!1,
geometry:VU}),_.bU(function(R){return R.geometry}),zU(VU),IU(a),qU(KU));
r=r instanceof _.UT?r.pipe(qU(),uU()):_.XU;A=eU([r,A]).pipe(uU());var E=b.pipe(_.nU(function(R){return"ns"!==R.value.viewportGeometrySourceName&&"ns"!==R.value.elementGeometrySourceName}),vU(function(R){return R+1},0),zU(0),IU(a)),J=c.pipe(uU(!0),zU(!1),IU(a));
a=eU([d,J]).pipe(_.bU(function(R){var da=_.k(R);R=da.next().value;da=da.next().value;return R&&!da}),IU(a));
return{shouldResetExposureSignals:r,shouldResetViewabilitySignals:A,geometrySignals:{readyGeometryWithDefault:b,measurementStrategy:b.pipe(Bub),creativePosition:D.pipe(qU(KU)),visible:m.pipe(qU(QU)),timestampedExposure:v.pipe(qU(QU)),maximumExposure:z,browserSize:b.pipe(Cub,qU(_.jt)),geometricMeasurementErrors:c,measurementRequests:b.pipe(_.bU(function(R){return R.value.measurementRequests})),
isLargeAd:l,geometryIsOccluded:e,hasMeasurementStarted:d,geometryMeasurable:a,validMeasurementCount:E}}};
yub=function(a,b){return b.pipe(_.nU(function(){return!1}),_.bU(function(c){return c}),_.pU(function(c){return YU(new JU(c),a)}))};
xub=function(a,b,c){return b.pipe(Wsb(_.XU),IU(a)).pipe(qU(function(d,e){return QU(d,e,cub)}),zU({timestamp:c.now(),
value:RU}),IU(a))};
zub=function(a,b,c,d){c=d.pipe(wub(c),WU(_.bU(function(e){var h=Math.pow(10,2);return Math.round(e*h)/h})),IU(a));
return b instanceof JU?c:eU([c,b]).pipe(_.bU(function(e){var h=_.k(e);e=h.next().value;h=h.next().value;return{timestamp:h.timestamp.maximum(e.timestamp),value:h.value?0:e.value}}),qU(QU),IU(a))};
Aub=function(a,b,c,d){b=[b.pipe(_.bU(function(e){return 242500<=e.value.elementGeometry.width*e.value.elementGeometry.height}))];
c instanceof _.UT&&b.push(c.pipe(_.bU(function(e){return!!e})));
c=eU(b);return d?c.pipe(_.bU(function(e){return e.some(function(h){return h})}),zU(!1),qU(),IU(a)):YU(new JU(!1),a)};
Hub=function(a,b,c,d,e){var h=ZU.timeThresholdMs;var l=void 0===l?new Eub(a,d):l;return(new _.UT(function(m){var p=c.pipe(zU(void 0),AU(function(){return Fub(e)})).pipe(_.bU(function(r){var v=r.value;
r=r.timestamp;var z=v.visible;v=v.consecutiveViewTime;var A=v>=h;A||!z?$U(l):(r=Math.max(0,MU(b.now(),r)),Gub(l,Math.max(0,h-v-r)));return A}),vU(function(r,v){return v||r},!1),qU()).subscribe(m);
return function(){l.dispose();p.unsubscribe()}})).pipe(BU(function(m){return!m},!0),IU(a.queue))};
Fub=function(a){return Xtb([a,a.pipe(bub())]).pipe(_.bU(function(b){var c=_.k(b);b=c.next().value;c=c.next().value;return{timestamp:b.timestamp,value:{visible:b.value,consecutiveViewTime:c.value}}}),qU(function(b,c){return QU(b,c,function(d,e){return d.consecutiveViewTime===e.consecutiveViewTime&&d.visible===e.visible})}))};
Iub=function(){return TT($tb(),vU(function(a,b){return Math.max(a,b)},0),_.bU(function(a){return Math.round(a)}))};
Jub=function(a){return TT(sub(XT(a)),Iub())};
Kub=function(a,b){return b instanceof _.UT?b.pipe(AU(function(c){return(c=c?15:null)?ZT(new TU(c)):a})):(b=b.value?15:null)?ZT(new TU(b)):a};
Lub=function(a,b){var c=a.pipe(wU(new _.GU),aU());return AU(function(d){return c.pipe(b(d))})};
Nub=function(a,b){if(a.inCrossDomainIframe)return ZT(new TU(6));var c=new _.GU;return lU(XT({}),b,c).pipe(_.bU(function(){return{timestamp:a.timeProvider.now(),value:{viewportGeometrySourceName:"geo",exposedViewportLocalGeometry:Mub(a),topWindowViewportExternalGeometry:SU(a,!0),measurementRequests:c}}}),HU(a.queue))};
Mub=function(a){var b=SU(a,!1);if(!a.inIframe||!aV(a.global.parent)||a.global.parent===a.global)return b;var c=Mub(new bV(a.global.parent,a.debugChannel,a.pinger));a=a.global.frameElement.getBoundingClientRect();c=rtb(c,a);return rtb({left:Math.round(c.left+(b.left-a.left)),top:Math.round(c.top+(b.top-a.top)),width:c.width,height:c.height},b)};
Oub=function(a){return a.document.onVisibilityChange.pipe(_.bU(function(b){return"visible"===b}),qU(),IU(a.queue))};
Pub=function(a,b,c){var d;return b.pipe(qU(),AU(function(e){return c.pipe(_.bU(function(){if(!d){d=!0;try{e.next()}finally{d=!1}}return!0}))}),zU(!1),IU(a.queue))};
Qub=function(a){return TT(WU(_.bU(function(b){return 1<=b?!0:0>=b?!1:b>=a})),Ztb(),_.bU(function(b){return Math.round(b)}))};
Sub=function(a,b,c,d,e){var h=Rub;if(1<h.length)for(var l=0;l<h.length-1;l++)if(h[l]<h[l+1])throw Error();l=e.pipe(zU(void 0),AU(function(){return c.pipe(bub())}),qU(),IU(a));
e=e.pipe(zU(void 0),AU(function(){return c.pipe(Iub())}),qU(),IU(a));
return{maxTimeOnScreen:d.pipe(zU(void 0),AU(function(){return b.pipe(aub(Jub,h))}),qU(_.jt),IU(a)),
timeOnScreen:d.pipe(zU(void 0),AU(function(){return b.pipe(aub(Qub,h),_.bU(function(m){return m.map(function(p,r){return 0<r?p-m[r-1]:p})}))}),qU(_.jt),IU(a)),
maxConsecutiveViewTime:e,consecutiveViewTime:l.pipe(qU(QU),IU(a))}};
Uub=function(a){var b=!0;b=void 0===b?!1:b;return TT(AU(function(c){return Tub(a.document,c,b)}),IU(a.queue))};
Vub=function(a,b,c){var d=c.pipe(_.bU(function(e){return{value:e,timestamp:a.timeProvider.now()}}),qU(QU));
return b instanceof _.UT?b.pipe(qU(),AU(function(e){return e?YU(new JU({value:!1,timestamp:a.timeProvider.now()}),a.queue):d})):!1===b.value?d:new JU(!1)};
Wub=function(a,b,c,d,e,h){var l=ZU;b=b instanceof _.UT?b.pipe(zU(!1),qU()):b;var m=!a.isMobile();c=Vub(a,c,d);a=h.measurableCreative.pipe(Wtb(a.queue));return Object.assign({},l,{geometryIsOccluded:c,wasLargeAdAtRender:e,allowLargeAdThreshold:m,mayUseViewportShareExposure:b,hasMeasurementStarted:a})};
Yub=function(a,b,c,d,e,h){var l=1;h=void 0===h?!0:h;l=void 0===l?.01:l;var m=void 0===m?a.timeProvider.interval(100).pipe(IU(a.queue)):m;return a.performanceMonitor.timeExecution(916,function(){return Xub(a,b.pipe(HU(a.queue)),c.pipe(HU(a.queue)),d,e,h,l,m)})()};
Xub=function(a,b,c,d,e,h,l,m){var p=Oub(a).pipe(_.bU(function(v){return!v})),r=new Zub(a,[new $ub(a,Rub),
new avb(a,m)]);m=Stb(bvb,cvb);return Ntb(a,b,function(v,z){var A=YU(new JU(z.element),v.queue).pipe(Uub(v),IU(v.queue)),D={loadedElement:A,shouldMeasure:A.pipe(uU(!0)),measurableCreative:A.pipe(_.bU(function(ea){return Object.freeze({debugId:_.Jt(),element:YU(new JU(ea),v.queue)})})),
creativeSearchResult:YU(new JU("mue"),v.queue)},E=new JU(!1),J=new JU(17),R=new JU(!1),da=new JU(!1),sa=r.buildGeometrySource(D,{inApp:E,requestSource:YU(J,v.queue)}).geometrySource;D=Wub(v,R,E,p,da,D);D=Dub(v.queue,v.timeProvider,sa,D);sa=D.geometrySignals;E=D.shouldResetViewabilitySignals;D=Sub(v.queue,sa.timestampedExposure,sa.visible,D.shouldResetExposureSignals,E);E={viewable:Hub(v,v.timeProvider,E,sa.measurementRequests,sa.visible)};R=c.pipe(_.nU(function(ea){return ea===z.element}),_.bU(function(){return"ur"}));
da=Csb(v.timeProvider,e).pipe(uU("t"));R=qub(v,lU(R,da));da=Pub(v,sa.measurementRequests,R.pipe(_.nU(function(ea){return null!==ea})));
var Ca=R.pipe(_.nU(function(ea){return null!==ea}),_.bU(function(){return 1===_.Jl(v.global.document)}));
return Object.assign({},{pinger:new JU(v.pinger),context:new JU(v),inferredPingId:new JU("lidar2"),timeOnScreenPingId:new JU("lidartos"),binaryContext:new JU(17),binaryVersion:new JU(d),requestSource:J,contextValidationErrors:new JU(v.validate()?null:new cV),contextVisibilityKnown:new JU(dvb(v.document)),payloadMapper:new JU(Qtb),endOfSessionReason:R,timeOnScreenReason:R,requestMeasurementOnEndOfSession:da,hasImpressionFired:evb,crossDomainIframeState:new JU(v.inCrossDomainIframe?1:void 0),creativeFound:evb,
immediateUrlPrefixes:new JU(z.immediateUrls),timeOnScreenUrlPrefixes:new JU(z.timeOnScreenUrls),cpmavUrls:_.XU,measurementDeferralState:new JU(2),urlSerializer:new JU(Vtb),viewUrlSerializer:new JU(fvb),isCreativeLoaded:A.pipe(Wtb(v.queue)),pageVisible:p.pipe(_.bU(function(ea){return!ea})),
eosPageVisible:Ca,timestampedExposureHistory:sa.timestampedExposure.pipe(vU(function(ea,na){ea.push(na);return ea},[]))},sa,D,E,{userAgentClientHints:ftb(v)})},Rtb(a,l),Ttb(h?Stb(m,gvb):m,hvb))};
ivb=function(){var a=_.ua();return a?_.hj("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return _.nj(a,b)})||_.nj(a,"OMI/")&&!_.nj(a,"XiaoMi/")?!0:_.nj(a,"Presto")&&_.nj(a,"Linux")&&!_.nj(a,"X11")&&!_.nj(a,"Android")&&!_.nj(a,"Mobi"):!1};
jvb=function(){var a=_.ua();return _.nj(a,"AppleTV")||_.nj(a,"Apple TV")||_.nj(a,"CFNetwork")||_.nj(a,"tvOS")};
kvb=function(){var a=_.ua();return _.nj(a,"sdk_google_atv_x86")||_.nj(a,"Android TV")};
lvb=function(a,b){b=dV(b);return 0===b?0:dV(a)/b};
dV=function(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)};
mvb=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=_.yqa(a)||a){var d=_.nk(a),e=d&&_.lk(d),h=e&&e.frameElement;h&&(a=h)}}catch(l){break}}return!1};
ovb=function(a,b,c){if(!a||!b)return!1;b=a.clone().translate(-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;aV(window.top)&&window.top&&window.top.document&&(window=window.top);if(!nvb())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=_.nk(c))&&b.defaultView&&b.defaultView.frameElement)&&mvb(b,a);var d=a===c;a=!d&&a&&_.hf(a,function(e){return e===c});
return!(b||d||a)};
qvb=function(a,b,c,d){return eV().insideCrossDomainIframe?!1:0>=a.getWidth()||0>=a.getHeight()?!0:c&&d?pvb(208,function(){return ovb(a,b,c)}):!1};
rvb=_.Za(function(a,b,c){if(0!==a.nextWireType_)return!1;_.Kt(b,c,a.JSC$32186_readInt32());return!0},_.Vaa);
isb=function(a){this[Symbol.asyncIterator]=function(){return this};
this[Symbol.iterator]=function(){return a};
this.next=function(b){return Promise.resolve(a.next(b))};
void 0!==a["throw"]&&(this["throw"]=function(b){return Promise.resolve(a["throw"](b))});
void 0!==a["return"]&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})};
svb=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};
tvb=_.Za(function(a,b,c){if(1!==a.nextWireType_)return!1;a=a.JSC$32186_readDouble();_.Pa(b,c,a,0);return!0},_.Raa);
uvb=_.Za(function(a,b,c){if(0!==a.nextWireType_)return!1;_.Kt(b,c,a.JSC$32186_readInt64());return!0},_.Uaa);
EU=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,Urb(d)),!0):!1};
DU=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,Urb())};
vvb=function(){return _.wa("iPad")||_.wa("Android")&&!_.wa("Mobile")||_.wa("Silk")};
wvb=function(){return!vvb()&&(_.wa("iPod")||_.wa("iPhone")||_.wa("Android")||_.wa("IEMobile"))};
aV=function(a){try{return!!a&&null!=a.location.href&&_.Bj(a,"foo")}catch(b){return!1}};
yvb=function(){var a=xvb;if(!a)return"";var b=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};
zvb=function(){for(var a=_.Zk,b=a;a&&a!=a.parent;)a=a.parent,aV(a)&&(b=a);return b};
Avb=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};
Bvb={};dub=function(a,b){var c=new _.fk(0,0),d=_.lk(_.nk(a));if(!_.Bj(d,"parent"))return c;do{if(d==b)var e=_.Zt(a);else e=_.cGa(a),e=new _.fk(e.left,e.top);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};
fV=function(a,b,c){try{a&&(b=b.top);var d=_.sta(a,b,void 0===c?!1:c),e=_.Mt(_.Wt(b.document).JSC$32303_document_);if(-12245933==d.width){var h=d.width;var l=new _.Xt(h,h,h,h)}else l=new _.Xt(e.y,e.x+d.width,e.y+d.height,e.x);return l}catch(m){return new _.Xt(-12245933,-12245933,-12245933,-12245933)}};
Cvb=function(){var a;_.Yk.visibilityState?a="visibilitychange":_.Yk.mozVisibilityState?a="mozvisibilitychange":_.Yk.webkitVisibilityState&&(a="webkitvisibilitychange");return a};
Dvb=function(a,b){var c=1;_.e4a(a,function(d){c=b.call(void 0,c,d)});
return c};
Evb=function(a,b){var c=_.Sl(a);a=new _.Pl;a.next=function(){var d=c.next(),e=d.value;return d.done?_.Ql:b.call(void 0,e,void 0,c)?_.Rl(e):_.Ql};
return a};
Fvb=function(a){var b=_.Sl(a);a=new _.Pl;var c=100;a.next=function(){return 0<c--?b.next():_.Ql};
return a};
gV=function(){this.timedFunctionContext=0};
gV.prototype.timeExecution=function(a,b){var c=this;return function(){var d=_.Ob.apply(0,arguments);c.timedFunctionContext=a;return b.apply(null,_.sc(d))}};
var hV=function(){this.tasks=[];this.lastTasks=[];this.isFlushing=!1};
hV.prototype.run=function(a){this.tasks.push(a);1===this.tasks.length&&this.flush()};
var Jtb=function(a,b){a.lastTasks.push(b);0===a.tasks.length&&1===a.lastTasks.length&&a.flush()};
hV.prototype.flush=function(){if(!this.isFlushing){for(this.isFlushing=!0;0<this.tasks.length||0<this.lastTasks.length;){try{for(;0<this.tasks.length;)this.tasks[0](),this.tasks.shift()}catch(b){throw this.lastTasks.splice(0,this.lastTasks.length),this.tasks.splice(0,this.tasks.length),this.isFlushing=!1,b;}try{var a=this.lastTasks.slice();for(this.lastTasks.splice(0,this.lastTasks.length);0<a.length;)a[0](),a.shift()}catch(b){throw this.lastTasks.splice(0,this.lastTasks.length),this.tasks.splice(0,
this.tasks.length),this.isFlushing=!1,b;}}this.isFlushing=!1}};
_.t.Object.defineProperties(hV.prototype,{running:{configurable:!0,enumerable:!0,get:function(){return 0<this.tasks.length||0<this.lastTasks.length}}});
/*


 Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
var Gvb=!1,iV={set useDeprecatedSynchronousErrorHandling(a){a?console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Error().stack):Gvb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Gvb=a},get useDeprecatedSynchronousErrorHandling(){return Gvb}};
var gU="function"===typeof Symbol&&Symbol.observable||"@@observable";
var jV={closed:!0,next:function(){},
error:function(a){if(iV.useDeprecatedSynchronousErrorHandling)throw a;OT(a)},
complete:function(){}};
var RT=function(){function a(b){this.message=b?b.length+" errors occurred during unsubscription:\n"+b.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"";
this.name="UnsubscriptionError";this.errors=b;return this}
a.prototype=Object.create(Error.prototype);return a}();
var dU=Array.isArray||function(a){return a&&"number"===typeof a.length};
_.QT=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
_.QT.prototype.unsubscribe=function(){if(!this.closed){var a=this._parentOrParents,b=this._ctorUnsubscribe,c=this._unsubscribe,d=this._subscriptions;this.closed=!0;this._subscriptions=this._parentOrParents=null;if(a instanceof _.QT)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(PT(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(p){var h=p instanceof RT?Yrb(p.errors):[p]}}if(dU(d)){e=-1;for(var l=d.length;++e<l;){var m=d[e];if(Wrb(m))try{m.unsubscribe()}catch(p){h=
h||[],p instanceof RT?h=h.concat(Yrb(p.errors)):h.push(p)}}}if(h)throw new RT(h);}};
_.QT.prototype.add=function(a){var b=a;if(!a)return _.QT.EMPTY;switch(typeof a){case "function":b=new _.QT(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof _.QT||(a=b,b=new _.QT,b._subscriptions=[a]);break;default:throw Error("Kg`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof _.QT){if(c===this)return b;b._parentOrParents=[c,this]}else if(-1===c.indexOf(this))c.push(this);
else return b;a=this._subscriptions;null===a?this._subscriptions=[b]:a.push(b);return b};
_.QT.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};
var Hvb=new _.QT;Hvb.closed=!0;_.QT.EMPTY=Hvb;
var kV=function(a,b,c){_.QT.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=jV;break;case 1:if(!a){this.destination=jV;break}if("object"===typeof a){a instanceof kV?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new lV(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new lV(this,a,b,c)}};
_.q(kV,_.QT);kV.EMPTY=_.QT.EMPTY;kV.create=function(a,b,c){a=new kV(a,b,c);a.syncErrorThrowable=!1;return a};
_.f=kV.prototype;_.f.next=function(a){this.isStopped||this._next(a)};
_.f.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};
_.f.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};
_.f.unsubscribe=function(){this.closed||(this.isStopped=!0,_.QT.prototype.unsubscribe.call(this))};
_.f._next=function(a){this.destination.next(a)};
_.f._error=function(a){this.destination.error(a);this.unsubscribe()};
_.f._complete=function(){this.destination.complete();this.unsubscribe()};
_.f._unsubscribeAndRecycle=function(){var a=this._parentOrParents;this._parentOrParents=null;this.unsubscribe();this.isStopped=this.closed=!1;this._parentOrParents=a;return this};
var lV=function(a,b,c,d){kV.call(this);this._parentSubscriber=a;var e=this;if(PT(b))var h=b;else b&&(h=b.next,c=b.error,d=b.complete,b!==jV&&(e=Object.create(b),Xrb(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this.JSC$40373__context=e;this._next=h;this._error=c;this._complete=d};
_.q(lV,kV);lV.EMPTY=kV.EMPTY;lV.create=kV.create;_.f=lV.prototype;_.f.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;iV.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
_.f.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=iV.useDeprecatedSynchronousErrorHandling;if(this._error)c&&b.syncErrorThrowable?this.__tryOrSetError(b,this._error,a):this.__tryOrUnsub(this._error,a),this.unsubscribe();else if(b.syncErrorThrowable)c?(b.syncErrorValue=a,b.syncErrorThrown=!0):OT(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;OT(a)}}};
_.f.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a.JSC$40373__context)};
iV.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};
_.f.__tryOrUnsub=function(a,b){try{a.call(this.JSC$40373__context,b)}catch(c){this.unsubscribe();if(iV.useDeprecatedSynchronousErrorHandling)throw c;OT(c)}};
_.f.__tryOrSetError=function(a,b,c){if(!iV.useDeprecatedSynchronousErrorHandling)throw Error("Lg");try{b.call(this.JSC$40373__context,c)}catch(d){return iV.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):OT(d),!0}return!1};
_.f._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this.JSC$40373__context=null;a.unsubscribe()};
var mV=function(a){kV.call(this);this.destination=a};
_.q(mV,kV);mV.EMPTY=kV.EMPTY;mV.create=kV.create;
_.UT=function(a){a&&(this._subscribe=a)};
_.f=_.UT.prototype;_.f.lift=function(a){var b=new _.UT;b.source=this;b.operator=a;return b};
_.f.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof kV||$rb(a)&&Xrb(a))break a;if($rb(a)){a=new mV(a);break a}}a=a||b||c?new kV(a,b,c):new kV(jV)}d?a.add(d.call(a,this.source)):a.add(this.source||iV.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(iV.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
_.f._trySubscribe=function(a){try{return this._subscribe(a)}catch(h){iV.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=h);var b;a:{for(b=a;b;){var c=b,d=c.destination,e=c.isStopped;if(c.closed||e){b=!1;break a}d&&d instanceof kV?b=d:b=null}b=!0}b?a.error(h):console.warn(h)}};
_.f.forEach=function(a,b){var c=this;b=_.asb(b);return new b(function(d,e){var h=c.subscribe(function(l){try{a(l)}catch(m){e(m),h&&h.unsubscribe()}},e,d)})};
_.f._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};
_.UT.prototype[gU]=function(){return this};
_.UT.prototype.pipe=function(){var a=_.Ob.apply(0,arguments);return 0===a.length?this:Zrb(a)(this)};
_.UT.create=function(a){return new _.UT(a)};
var nV=function(a,b){_.QT.call(this);this.subject=a;this.subscriber=b;this.closed=!1};
_.q(nV,_.QT);nV.EMPTY=_.QT.EMPTY;nV.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this.subject,b=a.observers;this.subject=null;!b||0===b.length||a.isStopped||a.closed||(a=b.indexOf(this.subscriber),-1!==a&&b.splice(a,1))}};
var oV=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}
a.prototype=Object.create(Error.prototype);return a}();
_.GU=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};
_.q(_.GU,_.UT);_.f=_.GU.prototype;_.f.lift=function(a){var b=new qV(this,this);b.operator=a;return b};
_.f.next=function(a){if(this.closed)throw new oV;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
_.f.error=function(a){if(this.closed)throw new oV;this.hasError=!0;this.thrownError=a;this.isStopped=!0;var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].error(a);this.observers.length=0};
_.f.complete=function(){if(this.closed)throw new oV;this.isStopped=!0;var a=this.observers,b=a.length;a=a.slice();for(var c=0;c<b;c++)a[c].complete();this.observers.length=0};
_.f.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
_.f._trySubscribe=function(a){if(this.closed)throw new oV;return _.UT.prototype._trySubscribe.call(this,a)};
_.f._subscribe=function(a){if(this.closed)throw new oV;if(this.hasError)return a.error(this.thrownError),_.QT.EMPTY;if(this.isStopped)return a.complete(),_.QT.EMPTY;this.observers.push(a);return new nV(this,a)};
_.GU.create=function(a,b){return new qV(a,b)};
var qV=function(a,b){_.GU.call(this);this.destination=a;this.source=b};
_.q(qV,_.GU);qV.create=_.GU.create;qV.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};
qV.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
qV.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};
qV.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):_.QT.EMPTY};
_.UU=function(a){_.GU.call(this);this._value=a};
_.q(_.UU,_.GU);_.UU.create=_.GU.create;_.UU.prototype._subscribe=function(a){var b=_.GU.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};
_.UU.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new oV;return this._value};
_.UU.prototype.next=function(a){_.GU.prototype.next.call(this,this._value=a)};
_.t.Object.defineProperties(_.UU.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});
_.OU=new _.UT(function(a){return a.complete()});
var csb=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};
var vV={now:function(){return(vV.delegate||Date).now()},
delegate:void 0};
var xU=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?vV:c;_.GU.call(this);this.timestampProvider=c;this._events=[];this._infiniteTimeWindow=!1;this._bufferSize=1>a?1:a;this._windowTime=1>b?1:b;Infinity===b?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};
_.q(xU,_.GU);xU.create=_.GU.create;_.f=xU.prototype;_.f.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();_.GU.prototype.next.call(this,a)};
_.f.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();_.GU.prototype.next.call(this,a)};
_.f._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new oV;if(this.isStopped||this.hasError)var e=_.QT.EMPTY;else this.observers.push(a),e=new nV(this,a);if(b)for(var h=0;h<d&&!a.closed;h++)a.next(c[h]);else for(h=0;h<d&&!a.closed;h++)a.next(c[h].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};
_.f._getNow=function(){var a=this.timestampProvider;return a?a.now():vV.now()};
_.f._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,h=0;h<e&&!(a-d[h].time<c);)h++;e>b&&(h=Math.max(h,e-b));0<h&&d.splice(0,h);return d};
var wV=function(a,b){b=void 0===b?Ivb:b;this.SchedulerAction=a;this.now=b};
wV.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};
var Ivb=vV.now;
_.sU=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}
a.prototype=Object.create(Error.prototype);return a}();
var dsb=function(){};
dsb.prototype.call=function(a,b){b._refCount++;a=new xV(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};
var xV=function(a,b){kV.call(this,a);this.JSC$40426_connectable=b;this.connection=null};
_.q(xV,kV);xV.EMPTY=kV.EMPTY;xV.create=kV.create;xV.prototype._unsubscribe=function(){var a=this.JSC$40426_connectable;if(a){this.JSC$40426_connectable=null;var b=a._refCount;0>=b?this.connection=null:(a._refCount=b-1,1<b?this.connection=null:(b=this.connection,a=a._connection,this.connection=null,!a||b&&a!==b||a.unsubscribe()))}else this.connection=null};
var yV=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};
_.q(yV,_.UT);yV.create=_.UT.create;yV.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};
yV.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
yV.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new _.QT,a.add(this.source.subscribe(new zV(this.getSubject(),this))),a.closed&&(this._connection=null,a=_.QT.EMPTY));return a};
yV.prototype.refCount=function(){return aU()(this)};
var Usb,AV=yV.prototype;Usb={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:AV._subscribe},_isComplete:{value:AV._isComplete,writable:!0},getSubject:{value:AV.getSubject},connect:{value:AV.connect},refCount:{value:AV.refCount}};var zV=function(a,b){kV.call(this);this.destination=a;this.JSC$40432_connectable=b};
_.q(zV,kV);zV.EMPTY=kV.EMPTY;zV.create=kV.create;zV.prototype._error=function(a){this._unsubscribe();kV.prototype._error.call(this,a)};
zV.prototype._complete=function(){this.JSC$40432_connectable._isComplete=!0;this._unsubscribe();kV.prototype._complete.call(this)};
zV.prototype._unsubscribe=function(){var a=this.JSC$40432_connectable;if(a){this.JSC$40432_connectable=null;var b=a._connection;a._refCount=0;a._subject=null;a._connection=null;b&&b.unsubscribe()}};
var esb=function(a){this.project=a};
esb.prototype.call=function(a,b){return b.subscribe(new BV(a,this.project,void 0))};
var BV=function(a,b,c){kV.call(this,a);this.project=b;this.count=0;this.JSC$40439_thisArg=c||this};
_.q(BV,kV);BV.EMPTY=kV.EMPTY;BV.create=kV.create;BV.prototype._next=function(a){try{var b=this.project.call(this.JSC$40439_thisArg,a,this.count++)}catch(c){this.destination.error(c);return}this.destination.next(b)};
var fU="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";
var qsb=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};
var Jvb=function(a){return function(b){var c=a[fU]();do{var d=void 0;try{d=c.next()}catch(e){b.error(e);return}if(d.done){b.complete();break}b.next(d.value);if(b.closed)break}while(1);"function"===typeof c.return&&b.add(function(){c.return&&c.return()});
return b}};
var Kvb=function(a){return function(b){var c=a[gU]();if("function"!==typeof c.subscribe)throw new TypeError("Pg");return c.subscribe(b)}};
var Lvb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,OT);
return b}};
var jsb=function(a){if(a&&"function"===typeof a[gU])return Kvb(a);if(qsb(a))return csb(a);if(fsb(a))return Lvb(a);if(a&&"function"===typeof a[fU])return Jvb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return hsb(a);throw new TypeError("Qg`"+(Wrb(a)?"an invalid object":"'"+a+"'"));};
var CV=function(a){kV.call(this);this.parent=a};
_.q(CV,kV);CV.EMPTY=kV.EMPTY;CV.create=kV.create;CV.prototype._next=function(a){this.parent.notifyNext(a)};
CV.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};
CV.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};
var DV=function(a,b,c){kV.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};
_.q(DV,kV);DV.EMPTY=kV.EMPTY;DV.create=kV.create;DV.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};
DV.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};
DV.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};
var EV=function(){kV.apply(this,arguments)};
_.q(EV,kV);EV.EMPTY=kV.EMPTY;EV.create=kV.create;EV.prototype.notifyNext=function(a){this.destination.next(a)};
EV.prototype.notifyError=function(a){this.destination.error(a)};
EV.prototype.notifyComplete=function(){this.destination.complete()};
var FV=function(){kV.apply(this,arguments)};
_.q(FV,kV);FV.EMPTY=kV.EMPTY;FV.create=kV.create;FV.prototype.notifyNext=function(a,b){this.destination.next(b)};
FV.prototype.notifyError=function(a){this.destination.error(a)};
FV.prototype.notifyComplete=function(){this.destination.complete()};
var Mvb={},ksb=function(a,b){this.JSC$40456_resultSelector=a;this.keys=b};
ksb.prototype.call=function(a,b){return b.subscribe(new GV(a,this.JSC$40456_resultSelector,this.keys))};
var GV=function(a,b,c){FV.call(this,a);this.JSC$40459_resultSelector=b;this.keys=c;this.active=0;this.values=[];this.JSC$40459_observables=[]};
_.q(GV,FV);GV.EMPTY=FV.EMPTY;GV.create=FV.create;_.f=GV.prototype;_.f._next=function(a){this.values.push(Mvb);this.JSC$40459_observables.push(a)};
_.f._complete=function(){var a=this.JSC$40459_observables,b=a.length;if(0===b)this.destination.complete();else{this.JSC$40459_toRespond=this.active=b;for(var c=0;c<b;c++)this.add(cU(a[c],new DV(this,null,c)))}};
_.f.notifyComplete=function(){0===--this.active&&this.destination.complete()};
_.f.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.JSC$40459_toRespond?e===Mvb?--this.JSC$40459_toRespond:this.JSC$40459_toRespond:0;d[c]=b;0===e&&(this.JSC$40459_resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(h,l,m){return h[l]=d[m],h},{}):d.slice()))};
_.f._tryResultSelector=function(a){try{var b=this.JSC$40459_resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};
var ssb=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.JSC$40464_concurrent=b};
ssb.prototype.call=function(a,b){return b.subscribe(new HV(a,this.project,this.JSC$40464_concurrent))};
var HV=function(a,b,c){c=void 0===c?Infinity:c;EV.call(this,a);this.destination=a;this.project=b;this.JSC$40467_concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};
_.q(HV,EV);HV.EMPTY=EV.EMPTY;HV.create=EV.create;HV.prototype._next=function(a){if(this.active<this.JSC$40467_concurrent){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}this.active++;a=new CV(this);this.destination.add(a);cU(c,a)}else this.buffer.push(a)};
HV.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};
HV.prototype.notifyNext=function(a){this.destination.next(a)};
HV.prototype.notifyComplete=function(){var a=this.buffer;this.active--;0<a.length?this._next(a.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};
var IV=function(){_.QT.call(this)};
_.q(IV,_.QT);IV.EMPTY=_.QT.EMPTY;IV.prototype.schedule=function(){return this};
var JV=function(a,b){_.QT.call(this);this.JSC$40477_scheduler=a;this.work=b;this.pending=!1};
_.q(JV,IV);JV.EMPTY=IV.EMPTY;_.f=JV.prototype;_.f.schedule=function(a,b){b=void 0===b?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.JSC$40477_scheduler;null!=a&&(this.id=this.recycleAsyncId(c,a,b));this.pending=!0;this.delay=b;this.id=this.id||this.requestAsyncId(c,this.id,b);return this};
_.f.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return setInterval(a.flush.bind(a,this),c)};
_.f.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&this.delay===c&&!1===this.pending)return b;clearInterval(b)};
_.f.execute=function(a,b){if(this.closed)return Error("Ug");this.pending=!1;if(a=this._execute(a,b))return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.JSC$40477_scheduler,this.id,null))};
_.f._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
_.f._unsubscribe=function(){var a=this.id,b=this.JSC$40477_scheduler,c=b.actions,d=c.indexOf(this);this.state=this.work=null;this.pending=!1;this.JSC$40477_scheduler=null;-1!==d&&c.splice(d,1);null!=a&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null};
var KV=function(a,b){b=void 0===b?Ivb:b;wV.call(this,a,function(){return KV.delegate&&KV.delegate!==c?KV.delegate.now():b()});
var c=this;this.actions=[];this.active=!1;this.scheduled=void 0};
_.q(KV,wV);KV.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return KV.delegate&&KV.delegate!==this?KV.delegate.schedule(a,b,c):wV.prototype.schedule.call(this,a,b,c)};
KV.prototype.flush=function(a){var b=this.actions;if(this.active)b.push(a);else{var c;this.active=!0;do if(c=a.execute(a.state,a.delay))break;while(a=b.shift());this.active=!1;if(c){for(;a=b.shift();)a.unsubscribe();throw c;}}};
_.XU=new _.UT(mU);
var vsb=function(a){this.JSC$40485_predicate=a};
vsb.prototype.call=function(a,b){return b.subscribe(new LV(a,this.JSC$40485_predicate,void 0))};
var LV=function(a,b,c){kV.call(this,a);this.JSC$40488_predicate=b;this.JSC$40488_thisArg=c;this.count=0};
_.q(LV,kV);LV.EMPTY=kV.EMPTY;LV.create=kV.create;LV.prototype._next=function(a){try{var b=this.JSC$40488_predicate.call(this.JSC$40488_thisArg,a,this.count++)}catch(c){this.destination.error(c);return}b&&this.destination.next(a)};
var wsb=function(){};
wsb.prototype.call=function(a,b){return b.subscribe(new MV(a))};
var MV=function(a){FV.call(this,a);this.hasFirst=!1;this.JSC$40493_observables=[];this.subscriptions=[]};
_.q(MV,FV);MV.EMPTY=FV.EMPTY;MV.create=FV.create;_.f=MV.prototype;_.f._next=function(a){this.JSC$40493_observables.push(a)};
_.f._complete=function(){var a=this.JSC$40493_observables,b=a.length;if(0===b)this.destination.complete();else{for(var c=0;c<b&&!this.hasFirst;c++){var d=cU(a[c],new DV(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.JSC$40493_observables=null}};
_.f.notifyNext=function(a,b,c){if(!this.hasFirst){this.hasFirst=!0;for(var d=0;d<this.subscriptions.length;d++)if(d!==c){var e=this.subscriptions[d];e.unsubscribe();this.remove(e)}this.subscriptions=null}this.destination.next(b)};
_.f.notifyComplete=function(a){this.hasFirst=!0;FV.prototype.notifyComplete.call(this,a)};
_.f.notifyError=function(a){this.hasFirst=!0;FV.prototype.notifyError.call(this,a)};
(function(){function a(b){this.message="Timeout has occurred";this.name="TimeoutError";this.info=void 0===b?null:b;return this}
a.prototype=Object.create(Error.prototype);return a})();
var Nvb=1,Ovb,ysb={},Pvb=function(a){var b=Nvb++;ysb[b]=!0;Ovb||(Ovb=Promise.resolve());Ovb.then(function(){return zsb(b)&&a()});
return b};
var NV=function(a,b){JV.call(this,a,b);this.JSC$40477_scheduler=a;this.work=b};
_.q(NV,JV);NV.EMPTY=JV.EMPTY;NV.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return JV.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=Pvb(a.flush.bind(a,void 0)))};
NV.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return JV.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(zsb(b),a.scheduled=void 0)};
var Qvb=function(){KV.apply(this,arguments)};
_.q(Qvb,KV);Qvb.prototype.flush=function(a){this.active=!0;this.scheduled=void 0;var b=this.actions,c,d=-1;a=a||b.shift();var e=b.length;do if(c=a.execute(a.state,a.delay))break;while(++d<e&&(a=b.shift()));this.active=!1;if(c){for(;++d<e&&(a=b.shift());)a.unsubscribe();throw c;}};
var Rvb=new Qvb(NV);
var OV=function(a,b){JV.call(this,a,b);this.JSC$40477_scheduler=a;this.work=b};
_.q(OV,JV);OV.EMPTY=JV.EMPTY;OV.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return JV.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.JSC$40477_scheduler.flush(this);return this};
OV.prototype.execute=function(a,b){return 0<b||this.closed?JV.prototype.execute.call(this,a,b):this._execute(a,b)};
OV.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?JV.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};
var Svb=function(){KV.apply(this,arguments)};
_.q(Svb,KV);
var psb=new Svb(OV);
(function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}
a.prototype=Object.create(Error.prototype);return a})();
(function(){function a(b){this.message=b;this.name="NotFoundError";return this}
a.prototype=Object.create(Error.prototype);return a})();
(function(){function a(b){this.message=b;this.name="SequenceError";return this}
a.prototype=Object.create(Error.prototype);return a})();
var PV=function(){this.performanceMonitor=new gV;this.queue=new hV;this.id=_.Jt()};
PV.prototype.getOnBackgrounded=function(){return _.XU};
_.t.Object.defineProperties(PV.prototype,{instanceId:{configurable:!0,enumerable:!0,get:function(){return this.id}}});
var QV=function(){this.pingers=_.Ob.apply(0,arguments)};
QV.prototype.ping=function(){for(var a=_.Ob.apply(0,arguments),b=_.k(this.pingers),c=b.next();!c.done;c=b.next())if(c=c.value,c.canPing)try{return c.ping.apply(c,_.sc(a))}catch(d){}return XT(!1)};
_.t.Object.defineProperties(QV.prototype,{canPing:{configurable:!0,enumerable:!0,get:function(){return this.pingers.some(function(a){return a.canPing})}}});
var RV=function(a,b){b=Error.call(this,b?a+": "+b:String(a));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.__proto__=RV.prototype;this.name=String(a)};
_.q(RV,Error);var TU=function(a){RV.call(this,1E3,'sfr:"'+a+'"');this.measurementStrategyFailureReason=a;this.__proto__=TU.prototype};
_.q(TU,RV);var cV=function(){RV.call(this,1003);this.__proto__=cV.prototype};
_.q(cV,RV);var Tvb=function(){RV.call(this,1007);this.__proto__=cV.prototype};
_.q(Tvb,RV);var LU=function(a){RV.call(this,1004,String(a));this.inputObservableIndex=a;this.__proto__=LU.prototype};
_.q(LU,RV);var Ltb=function(a){RV.call(this,1005,a);this.__proto__=Ltb.prototype};
_.q(Ltb,RV);
var oub=Symbol("Vg"),Uvb=Symbol("Wg"),NU=function(a,b){this.value=a;this.timeline=b},MU=function(a,b){if(b.timeline!==a.timeline)throw new Tvb;
return a.value-b.value};
NU.prototype.equals=function(a){return 0===MU(this,a)};
NU.prototype.maximum=function(a){if(a.timeline!==this.timeline)throw new Tvb;return this.value>=a.value?this:a};
NU.prototype.round=function(){return new NU(Math.round(this.value),this.timeline)};
NU.prototype.toString=function(){return String(this.value)};
var Vvb=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c};
var Wvb=function(){var a=void 0===a?_.g:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):_.bj()},SV=function(){var a=void 0===a?_.g:a;
return(a=a.performance)&&a.now?a.now():null};
var Xvb=function(a,b){var c=window;return function(){var d=SV(),e=3;try{var h=b.apply(this,arguments)}catch(m){throw e=13,m;}finally{if(c.google_measure_js_timing&&d){var l=SV()||0;d={label:a.toString(),value:d,duration:l-d,type:e};e=c.google_js_reporting_queue=c.google_js_reporting_queue||[];2048>e.length&&e.push(d)}}return h}};
var Yvb=function(){gV.apply(this,arguments)};
_.q(Yvb,gV);Yvb.prototype.timeExecution=function(a,b){return gV.prototype.timeExecution.call(this,a,Xvb(a,b))};
var $vb=function(){for(var a=_.k(_.Ob.apply(0,arguments)),b=a.next();!b.done;b=a.next())if(b=b.value,b.available()){this.timeProvider=b;return}this.timeProvider=new Zvb};
_.f=$vb.prototype;_.f.available=function(){return this.timeProvider.available()};
_.f.now=function(){return this.timeProvider.now()};
_.f.setTimeout=function(a,b){return this.timeProvider.setTimeout(a,b)};
_.f.clearTimeout=function(a){this.timeProvider.clearTimeout(a)};
_.f.interval=function(a){return this.timeProvider.interval(a)};
_.t.Object.defineProperties($vb.prototype,{timeline:{configurable:!0,enumerable:!0,get:function(){return this.timeProvider.timeline}}});
var Zvb=function(){this.timeline=Symbol()};
_.f=Zvb.prototype;_.f.available=function(){return!1};
_.f.now=function(){return new NU(0,this.timeline)};
_.f.setTimeout=function(){return 0};
_.f.clearTimeout=function(){};
_.f.interval=function(){return _.XU};
var TV=function(a,b){this.intrinsicFunctionNamespace=a;this.performanceMonitor=b};
TV.prototype.setTimeout=function(a,b){return this.intrinsicFunctionNamespace.setTimeout(this.performanceMonitor.timeExecution(734,a),b)};
TV.prototype.clearTimeout=function(a){this.intrinsicFunctionNamespace.clearTimeout(a)};
TV.prototype.interval=function(a){var b=this;return new _.UT(function(c){var d=0,e=b.intrinsicFunctionNamespace.setInterval(function(){c.next(d++)},a);
return function(){b.intrinsicFunctionNamespace.clearInterval(e)}})};
TV.prototype.available=function(){return!!this.intrinsicFunctionNamespace.clearTimeout&&!!this.intrinsicFunctionNamespace.setTimeout&&!!this.intrinsicFunctionNamespace.setInterval&&!!this.intrinsicFunctionNamespace.clearInterval};
var UV=function(a,b){TV.call(this,a,b);this.timeline=Uvb};
_.q(UV,TV);UV.prototype.now=function(){return new NU(this.intrinsicFunctionNamespace.Date.now(),this.timeline)};
UV.prototype.available=function(){return!!this.intrinsicFunctionNamespace.Date&&!!this.intrinsicFunctionNamespace.Date.now&&TV.prototype.available.call(this)};
var VV=function(a,b){TV.call(this,a,b);this.timeline=oub};
_.q(VV,TV);VV.prototype.now=function(){return new NU(this.intrinsicFunctionNamespace.performance.now(),this.timeline)};
VV.prototype.available=function(){return!!this.intrinsicFunctionNamespace.performance&&!!this.intrinsicFunctionNamespace.performance.now&&TV.prototype.available.call(this)};
var Dsb=function(a){this.selector=a};
Dsb.prototype.call=function(a,b){return b.subscribe(new WV(a,this.selector,this.JSC$40576_caught))};
var WV=function(a,b,c){EV.call(this,a);this.selector=b;this.JSC$40579_caught=c};
_.q(WV,EV);WV.EMPTY=EV.EMPTY;WV.create=EV.create;WV.prototype.error=function(a){if(!this.isStopped){try{var b=this.selector(a,this.JSC$40579_caught)}catch(c){EV.prototype.error.call(this,c);return}this._unsubscribeAndRecycle();a=new CV(this);this.add(a);cU(b,a)}};
_.XV=function(a,b){EV.call(this,a);this.JSC$40587_durationSelector=b;this.value=null;this.JSC$40587_hasValue=!1;this.durationSubscription=null};
_.q(_.XV,EV);_.XV.EMPTY=EV.EMPTY;_.XV.create=EV.create;_.f=_.XV.prototype;_.f._next=function(a){try{var b=this.JSC$40587_durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};
_.f._complete=function(){awb(this);this.destination.complete()};
_.f._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.JSC$40587_hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=cU(b,new CV(this)))&&!c.closed&&this.add(this.durationSubscription=c)};
_.f.notifyNext=function(){awb(this)};
_.f.notifyComplete=function(){awb(this)};
var awb=function(a){if(a.JSC$40587_hasValue){var b=a.value,c=a.durationSubscription;c&&(a.durationSubscription=null,c.unsubscribe(),a.remove(c));a.value=null;a.JSC$40587_hasValue=!1;EV.prototype._next.call(a,b)}};
var Esb=function(a){this.defaultValue=a};
Esb.prototype.call=function(a,b){return b.subscribe(new YV(a,this.defaultValue))};
var YV=function(a,b){kV.call(this,a);this.defaultValue=b;this.isEmpty=!0};
_.q(YV,kV);YV.EMPTY=kV.EMPTY;YV.create=kV.create;YV.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};
YV.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};
var Gsb=function(a){this.compare=a};
Gsb.prototype.call=function(a,b){return b.subscribe(new ZV(a,this.compare,void 0))};
var ZV=function(a,b,c){kV.call(this,a);this.JSC$40600_keySelector=c;this.JSC$40600_hasKey=!1;"function"===typeof b&&(this.compare=b)};
_.q(ZV,kV);ZV.EMPTY=kV.EMPTY;ZV.create=kV.create;ZV.prototype.compare=function(a,b){return a===b};
ZV.prototype._next=function(a){try{var b=this.JSC$40600_keySelector;var c=b?b(a):a}catch(e){return this.destination.error(e)}b=!1;if(this.JSC$40600_hasKey)try{var d=this.compare;b=d(this.key,c)}catch(e){return this.destination.error(e)}else this.JSC$40600_hasKey=!0;b||(this.key=c,this.destination.next(a))};
var Hsb=function(){this.count=1};
Hsb.prototype.call=function(a,b){return b.subscribe(new $V(a,this.count))};
var $V=function(a,b){kV.call(this,a);this.count=b;this._valueCount=0};
_.q($V,kV);$V.EMPTY=kV.EMPTY;$V.create=kV.create;$V.prototype._next=function(a){var b=this.count,c=++this._valueCount;c<=b&&(this.destination.next(a),c===b&&(this.destination.complete(),this.unsubscribe()))};
var Jsb=function(a){this.JSC$40609_errorFactory=a};
Jsb.prototype.call=function(a,b){return b.subscribe(new aW(a,this.JSC$40609_errorFactory))};
var aW=function(a,b){kV.call(this,a);this.JSC$40612_errorFactory=b;this.JSC$40612_hasValue=!1};
_.q(aW,kV);aW.EMPTY=kV.EMPTY;aW.create=kV.create;aW.prototype._next=function(a){this.JSC$40612_hasValue=!0;this.destination.next(a)};
aW.prototype._complete=function(){if(this.JSC$40612_hasValue)return this.destination.complete();try{var a=this.JSC$40612_errorFactory()}catch(b){a=b}this.destination.error(a)};
var Msb=function(a,b){this.JSC$40615_predicate=a;this.source=b};
Msb.prototype.call=function(a,b){return b.subscribe(new bW(a,this.JSC$40615_predicate,void 0,this.source))};
var bW=function(a,b,c,d){kV.call(this,a);this.JSC$40618_predicate=b;this.JSC$40618_thisArg=c;this.source=d;this.index=0;this.JSC$40618_thisArg=c||this};
_.q(bW,kV);bW.EMPTY=kV.EMPTY;bW.create=kV.create;bW.prototype.notifyComplete=function(a){this.destination.next(a);this.destination.complete()};
bW.prototype._next=function(a){var b=!1;try{b=this.JSC$40618_predicate.call(this.JSC$40618_thisArg,a,this.index++,this.source)}catch(c){this.destination.error(c);return}b||this.notifyComplete(!1)};
bW.prototype._complete=function(){this.notifyComplete(!0)};
var Osb=function(){};
Osb.prototype.call=function(a,b){return b.subscribe(new cW(a))};
var cW=function(){kV.apply(this,arguments)};
_.q(cW,kV);cW.EMPTY=kV.EMPTY;cW.create=kV.create;cW.prototype._next=function(){};
var Psb=function(){this.total=1};
Psb.prototype.call=function(a,b){return b.subscribe(new dW(a,this.total))};
var dW=function(a,b){kV.call(this,a);this.total=b;this.ring=[];this.count=0};
_.q(dW,kV);dW.EMPTY=kV.EMPTY;dW.create=kV.create;dW.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
dW.prototype._complete=function(){var a=this.destination,b=this.count;if(0<b)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;e<c;e++){var h=b++%c;a.next(d[h])}a.complete()};
var Ssb=function(a){this.value=a};
Ssb.prototype.call=function(a,b){return b.subscribe(new eW(a,this.value))};
var eW=function(a,b){kV.call(this,a);this.value=b};
_.q(eW,kV);eW.EMPTY=kV.EMPTY;eW.create=kV.create;eW.prototype._next=function(){this.destination.next(this.value)};
var Tsb=function(a,b,c){this.JSC$40637_accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};
Tsb.prototype.call=function(a,b){return b.subscribe(new fW(a,this.JSC$40637_accumulator,this.seed,this.hasSeed))};
var fW=function(a,b,c,d){kV.call(this,a);this.JSC$40640_accumulator=b;this._state=c;this._hasState=d;this.index=0};
_.q(fW,kV);fW.EMPTY=kV.EMPTY;fW.create=kV.create;fW.prototype._next=function(a){var b=this.destination;if(this._hasState){var c=this.index++;try{var d=this.JSC$40640_accumulator(this._state,a,c)}catch(e){b.error(e);return}this._state=d;b.next(d)}else this._state=a,this._hasState=!0,b.next(a)};
var Vsb=function(a){this.JSC$40646_nextSources=a};
Vsb.prototype.call=function(a,b){return b.subscribe(new gW(a,this.JSC$40646_nextSources))};
var gW=function(a,b){EV.call(this,a);this.destination=a;this.JSC$40649_nextSources=b};
_.q(gW,EV);gW.EMPTY=EV.EMPTY;gW.create=EV.create;gW.prototype.notifyError=function(){hW(this)};
gW.prototype.notifyComplete=function(){hW(this)};
gW.prototype._error=function(){hW(this);this.unsubscribe()};
gW.prototype._complete=function(){hW(this);this.unsubscribe()};
var hW=function(a){var b=a.JSC$40649_nextSources.shift();if(b){var c=new CV(a);a.destination.add(c);cU(b,c)}else a.destination.complete()};
_.iW=function(a,b,c){kV.call(this,a);this.count=b;this.source=c};
_.q(_.iW,kV);_.iW.EMPTY=kV.EMPTY;_.iW.create=kV.create;_.iW.prototype.complete=function(){if(!this.isStopped){var a=this.source,b=this.count;if(0===b)return kV.prototype.complete.call(this);-1<b&&(this.count=b-1);a.subscribe(this._unsubscribeAndRecycle())}};
var jW=function(a,b,c){b=void 0===b?0:b;c=void 0===c?Rvb:c;this.source=a;this.JSC$40661_delayTime=b;this.JSC$40661_scheduler=c;0>b&&(this.JSC$40661_delayTime=0);WT(c)||(this.JSC$40661_scheduler=Rvb)};
_.q(jW,_.UT);jW.create=_.UT.create;jW.dispatch=function(a){return this.add(a.source.subscribe(a.subscriber))};
jW.prototype._subscribe=function(a){return this.JSC$40661_scheduler.schedule(jW.dispatch,this.JSC$40661_delayTime,{source:this.source,subscriber:a})};
var Xsb=function(a){this.JSC$40665_scheduler=psb;this.delay=a};
Xsb.prototype.call=function(a,b){return(new jW(b,this.delay,this.JSC$40665_scheduler)).subscribe(a)};
var Zsb=function(a){this.project=a};
Zsb.prototype.call=function(a,b){return b.subscribe(new kW(a,this.project))};
var kW=function(a,b){EV.call(this,a);this.destination=a;this.project=b;this.index=0};
_.q(kW,EV);kW.EMPTY=EV.EMPTY;kW.create=EV.create;_.f=kW.prototype;_.f._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}(a=this.innerSubscription)&&a.unsubscribe();a=new CV(this);this.destination.add(a);this.innerSubscription=a;cU(c,a)};
_.f._complete=function(){var a=this.innerSubscription;a&&!a.closed||EV.prototype._complete.call(this);this.unsubscribe()};
_.f._unsubscribe=function(){this.innerSubscription=void 0};
_.f.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&EV.prototype._complete.call(this)};
_.f.notifyNext=function(a){this.destination.next(a)};
var $sb=function(a,b){this.JSC$40674_predicate=a;this.JSC$40674_inclusive=b};
$sb.prototype.call=function(a,b){return b.subscribe(new lW(a,this.JSC$40674_predicate,this.JSC$40674_inclusive))};
var lW=function(a,b,c){kV.call(this,a);this.JSC$40677_predicate=b;this.JSC$40677_inclusive=c;this.index=0};
_.q(lW,kV);lW.EMPTY=kV.EMPTY;lW.create=kV.create;lW.prototype._next=function(a){var b=this.destination;try{var c=this.JSC$40677_predicate(a,this.index++)}catch(d){b.error(d);return}b=this.destination;c?b.next(a):(this.JSC$40677_inclusive&&b.next(a),b.complete())};
var atb=function(a,b,c){this.nextOrObserver=a;this.error=b;this.complete=c};
atb.prototype.call=function(a,b){return b.subscribe(new mW(a,this.nextOrObserver,this.error,this.complete))};
var mW=function(a,b,c,d){kV.call(this,a);this._tapComplete=this._tapError=this._tapNext=mU;this._tapError=c||mU;this._tapComplete=d||mU;PT(b)?(this.JSC$40683__context=this,this._tapNext=b):b&&(this.JSC$40683__context=b,this._tapNext=b.next||mU,this._tapError=b.error||mU,this._tapComplete=b.complete||mU)};
_.q(mW,kV);mW.EMPTY=kV.EMPTY;mW.create=kV.create;mW.prototype._next=function(a){try{this._tapNext.call(this.JSC$40683__context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};
mW.prototype._error=function(a){try{this._tapError.call(this.JSC$40683__context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};
mW.prototype._complete=function(){try{this._tapComplete.call(this.JSC$40683__context)}catch(a){this.destination.error(a);return}return this.destination.complete()};
var btb=function(a,b){this.JSC$40686_observables=a;this.project=b};
btb.prototype.call=function(a,b){return b.subscribe(new nW(a,this.JSC$40686_observables,this.project))};
var nW=function(a,b,c){FV.call(this,a);this.project=c;this.JSC$40689_toRespond=[];a=b.length;this.values=Array(a);for(c=0;c<a;c++)this.JSC$40689_toRespond.push(c);for(c=0;c<a;c++)this.add(cU(b[c],new DV(this,void 0,c)))};
_.q(nW,FV);nW.EMPTY=FV.EMPTY;nW.create=FV.create;nW.prototype.notifyNext=function(a,b,c){this.values[c]=b;b=this.JSC$40689_toRespond;0<b.length&&(c=b.indexOf(c),-1!==c&&b.splice(c,1))};
nW.prototype.notifyComplete=function(){};
nW.prototype._next=function(a){0===this.JSC$40689_toRespond.length&&(a=[a].concat(_.sc(this.values)),this.project?this._tryProject(a):this.destination.next(a))};
nW.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};
var bwb=function(a){this.global=a=void 0===a?window:a};
bwb.prototype.ping=function(){var a=this;return lU.apply(null,_.sc(_.Ob.apply(0,arguments).map(function(b){return hU(a.global.fetch(b,{method:"GET",cache:"no-cache",keepalive:!0,mode:"no-cors"})).pipe(_.bU(function(c){return 200===c.status}))}))).pipe(Nsb(function(b){return b}),Rsb())};
_.t.Object.defineProperties(bwb.prototype,{canPing:{configurable:!0,enumerable:!0,get:function(){return!!this.global.fetch}}});
var dwb=function(a){var b=void 0===b?!1:b;if(cwb())FU(window,a,!0,b);else{var c=_.g.document;if(c.body){var d=c.getElementById("goog-srcless-iframe");d||(d=_.al("IFRAME"),d.style.display="none",d.id="goog-srcless-iframe",c.body.appendChild(d));c=d}else c=null;c&&c.contentWindow&&FU(c.contentWindow,a,!0,b)}},cwb=_.fj(function(){return"referrerPolicy"in _.al("IMG")});
var oW=function(a){this.global=a=void 0===a?window:a};
oW.prototype.ping=function(){var a=this;return XT(_.Ob.apply(0,arguments).map(function(b){try{return FU(a.global,b,!1,!1),!0}catch(c){return!1}}).every(function(b){return b}))};
_.t.Object.defineProperties(oW.prototype,{canPing:{configurable:!0,enumerable:!0,get:function(){return!0}}});
var ewb=function(a){this.global=a=void 0===a?window:a};
ewb.prototype.ping=function(){var a=this;return XT(_.Ob.apply(0,arguments).map(function(b){var c;return null==(c=a.global.navigator)?void 0:c.sendBeacon(b)}).every(function(b){return b}))};
_.t.Object.defineProperties(ewb.prototype,{canPing:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.global.navigator)||!a.sendBeacon)}}});
var JU=function(a){this.value=a},YU=function(a,b){return XT(a.value).pipe(IU(b))},evb=new JU(!0);
var itb=["FRAME","IMG","IFRAME"],jtb=/^[01](px)?$/;
var fwb=function(a,b){var c=qtb(a);if(c)if(c.onCreativeLoad)c.onCreativeLoad(b);else{var d=b?[b]:[],e=function(h){for(var l=0;l<d.length;++l)try{d[l](1,h)}catch(m){}d={push:function(m){m(1,h)}}};
c.onCreativeLoad=function(h){d.push(h)};
c.setAttribute("data-creative-load-listener","");c.addEventListener("creativeLoad",function(h){e(h.detail)});
_.g.addEventListener("message",function(h){ptb(c,e,h)})}};
var pW=function(a,b){var c=this;this.global=a;this.parentContext=b;this.onVisibilityChange=this.document?lU(XT(!0),kU(this.document,"visibilitychange")).pipe(oU(this.parentContext.performanceMonitor,748),_.bU(function(){return c.getVisibilityState()}),qU()):XT("visible");
this.document?kU(this.document,"DOMContentLoaded").pipe(oU(this.parentContext.performanceMonitor,739),_.rU()):XT(gtb("DOMContentLoaded"))},dvb=function(a){return null!==a.document&&void 0!==a.document.visibilityState};
pW.prototype.getVisibilityState=function(){return this.document?this.document.visibilityState:"visible"};
pW.prototype.querySelector=function(a){return this.document?this.document.querySelector(a):null};
pW.prototype.querySelectorAll=function(a){return this.document?_.ka(this.document.querySelectorAll(a)):[]};
pW.prototype.elementFromPoint=function(a,b){return this.document&&null!==this.document&&"function"===typeof this.document.elementFromPoint?this.document.elementFromPoint(a,b):null};
var Tub=function(a,b,c){c=void 0===c?!1:c;if(!a.document)return XT(b);var d=new xU(1),e=function(){d.next(b)};
c||fwb(b,e);ktb(b,e,void 0,!0);return d.pipe(oU(a.parentContext.performanceMonitor,749),_.rU())};
_.t.Object.defineProperties(pW.prototype,{document:{configurable:!0,enumerable:!0,get:function(){return _.Bj(this.global,"document")?this.global.document||null:null}}});
var gwb=function(a){a=void 0===a?window:a;QV.call(this,new bwb(a),new ewb(a),new oW(a))};
_.q(gwb,QV);
var VU={left:0,top:0,width:0,height:0};
var Htb=new function(a,b){this.flag=a;this.defaultValue=void 0===b?!1:b}(434462125,!0);
var Gtb=function(){var a={};this.getBooleanFlag=function(b,c){return null!=a[b]?a[b]:c}};
var Dtb=function(a){_.G.call(this,a,-1,hwb)};
_.q(Dtb,_.G);var Btb=function(a,b){return _.n(a,2,b)},Atb=function(a,b){return _.n(a,3,b)},ztb=function(a,b){return _.n(a,4,b)},ytb=function(a,b){return _.n(a,5,b)},xtb=function(a,b){return _.n(a,9,b)},wtb=function(a,b){return _.db(a,10,b)},vtb=function(a,b){return _.n(a,11,b)},Ctb=function(a,b){return _.n(a,1,b)},Etb=function(a){_.G.call(this,a)};
_.q(Etb,_.G);Etb.prototype.getVersion=function(){return _.Vj(this,2)};
var hwb=[10,6];
var ttb="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");
var bV=function(a,b,c){a=void 0===a?window:a;b=void 0===b?null:b;c=void 0===c?new gwb(a):c;PV.call(this);this.global=a;this.debugChannel=b;this.pinger=c;this.onPageHide=kU(this.global,"pagehide").pipe(oU(this.performanceMonitor,941));this.onLoad=kU(this.global,"load").pipe(oU(this.performanceMonitor,738),_.rU());this.onResize=kU(this.global,"resize").pipe(oU(this.performanceMonitor,741));this.onMessage=kU(this.global,"message").pipe(oU(this.performanceMonitor,740));this.document=new pW(this.global,
this);this.performanceMonitor=new Yvb;this.timeProvider=new $vb(new VV(this.intrinsicFunctionNamespace,this.performanceMonitor),new UV(this.intrinsicFunctionNamespace,this.performanceMonitor))};
_.q(bV,PV);_.f=bV.prototype;_.f.getOnBackgrounded=function(){return this.onPageHide.pipe(oU(this.performanceMonitor,942),IU(this.queue),_.bU(function(){}))};
_.f.postMessage=function(a,b,c){c=void 0===c?[]:c;this.global.postMessage(a,b,c)};
_.f.getWidth=function(){return aV(this.global)?this.global.width:0};
_.f.getHeight=function(){return aV(this.global)?this.global.height:0};
_.f.isMobile=function(){return vvb()||wvb()};
var SU=function(a,b){try{var c=fV(b,a.global,a.isMobile());return{left:c.left,top:c.top,width:c.getWidth(),height:c.getHeight()}}catch(d){return VU}};
bV.prototype.validate=function(){return this.global&&this.timeProvider.available()&&this.pinger.canPing};
var etb=function(a){return(a=Itb(a.global))?hU(a):null};
_.t.Object.defineProperties(bV.prototype,{intrinsicFunctionNamespace:{configurable:!0,enumerable:!0,get:function(){return window}},
inCrossDomainIframe:{configurable:!0,enumerable:!0,get:function(){return!aV(this.global.top)}},
inIframe:{configurable:!0,enumerable:!0,get:function(){return this.inCrossDomainIframe||this.global.top!==this.global}},
scrollY:{configurable:!0,enumerable:!0,get:function(){return this.global.scrollY}},
MutationObserver:{configurable:!0,enumerable:!0,get:function(){return this.intrinsicFunctionNamespace.MutationObserver}},
ResizeObserver:{configurable:!0,enumerable:!0,get:function(){return this.intrinsicFunctionNamespace.ResizeObserver}}});
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var iwb=!_.Cj&&!_.xa(),qW=function(a,b){if(/-[a-z]/.test(b))return null;if(iwb&&a.dataset){if(_.laa()&&!(b in a.dataset))return null;a=a.dataset[b];return void 0===a?null:a}return a.getAttribute("data-"+_.Zc(b))},jwb=function(a,b){return/-[a-z]/.test(b)?!1:iwb&&a.dataset?b in a.dataset:a.hasAttribute?a.hasAttribute("data-"+_.Zc(b)):!!a.getAttribute("data-"+_.Zc(b))};
var fvb=function(a){return a};
var cvb=TT(BU(function(a){return void 0===a.endOfSessionReason}),_.nU(function(a){return!!a.viewable}),_.bU(function(a){if(void 0===a.pinger||void 0===a.timestampedExposureHistory||void 0===a.timeOnScreen||void 0===a.binaryContext)return!1;
if(a.timeOnScreen.every(function(d){return 0<=d}))return!0;
var b=a.timestampedExposureHistory.map(function(d){return d.timestamp+":"+d.value}).join(","),c=PU({bin:a.binaryContext,
tos:a.timeOnScreen});a.pinger.ping("https://pagead2.googlesyndication.com/pagead/gen_204?id=av-js&type=dv&"+c+("&eh="+b));return!0}),BU(function(a){return!a}),tU());
var Qtb=function(a){return{id:a.pingId,mcvt:a.maxConsecutiveViewTime,p:a.creativePosition,asp:a.adSpeedPosition,mtos:a.maxTimeOnScreen,tos:a.timeOnScreen,v:a.binaryVersion,bin:a.binaryContext,avms:a.measurementStrategy,bs:a.browserSize,mc:a.maximumExposure,"if":a.crossDomainIframeState,vu:a.delayedImpressionJsState,app:a.inApp,mse:a.mraidError,mtop:a.mraidSituation,itpl:a.injectedTemplateId,adk:a.adKey,exk:a.awbidKey,rs:a.requestSource,la:a.isLargeAd,cr:a.isContentRecommendationAd,uach:a.userAgentClientHints,
vs:a.viewState,r:a.reasonCode,pay:a.hasCpmavUrl,rst:a.adRenderStartTime,rpt:a.adRenderPeriodTime,isd:a.initialScrollDepth,lsd:a.loadedScrollDepth,context:a.errorContext,msg:a.errorMessage,stack:a.errorStack,name:a.errorName,ec:a.hasElementChanged,sfr:a.strategyFailureReasons,met:a.creativeSearchResult,wmsd:a.webMeasurementStartDiagnostic,pv:a.pageVisible,epv:a.eosPageVisible}};
var gvb=TT(_.nU(function(a){var b=a.geometryMeasurable,c=a.hasImpressionFired;return!!a.timeOnScreenReason&&!!b&&!!c}),_.bU(function(a){if(void 0===a.maxTimeOnScreen||void 0===a.timeOnScreen||void 0===a.timeOnScreenUrlPrefixes||void 0===a.payloadMapper||void 0===a.timeOnScreenPingId||void 0===a.timeOnScreenReason||void 0===a.urlSerializer||void 0===a.pinger)return!1;
var b=a.urlSerializer(Object.assign({},a,{pingId:a.timeOnScreenPingId,viewState:a.viewable?4:3,reasonCode:a.timeOnScreenReason,payloadMapper:a.payloadMapper,urlPrefixes:a.timeOnScreenUrlPrefixes}));a.pinger.ping.apply(a.pinger,_.sc(b));return!0}),BU(function(a){return!a}),tU());
var hvb=function(a){a=a.pipe(wU(new _.GU),aU());var b=a.pipe(_.nU(function(d){return 3!==d.measurementDeferralState}),_.nU(function(d){return void 0!==d.timeOnScreenReason}),_.bU(function(d){if(!1===d.creativeFound)d="n";
else if(!1===d.geometryMeasurable){var e;d=null!=(e=d.timeOnScreenReason)?e:null}else d=null;return d}),_.nU(function(d){return null!==d}),_.bU(function(d){return d})),c=a.pipe(_.nU(function(d){return 3!==d.measurementDeferralState}),_.bU(function(d){return d.geometricMeasurementErrors instanceof TU?"msf":d.contextValidationErrors instanceof cV?"c":!1===d.contextVisibilityKnown?"pv":d.geometricMeasurementErrors||d.contextValidationErrors?"x":null}),_.nU(function(d){return null!==d}),_.bU(function(d){return d}));
b=lU(c,b);return eU([b,a]).pipe(_.bU(function(d){var e=_.k(d);d=e.next().value;e=e.next().value;if(void 0===e.immediateUrlPrefixes||void 0===e.payloadMapper||void 0===e.urlSerializer||void 0===e.inferredPingId||void 0===e.pinger)return!1;d=e.urlSerializer(Object.assign({},e,{urlPrefixes:e.immediateUrlPrefixes,payloadMapper:e.payloadMapper,pingId:e.inferredPingId,viewState:2,reasonCode:d}));e.pinger.ping.apply(e.pinger,_.sc(d));return!0}),BU(function(d){return!d}),tU())};
var bvb=TT(BU(function(a){return void 0===a.endOfSessionReason}),_.nU(function(a){var b=a.viewable;
return!!a.hasImpressionFired&&!!b}),_.bU(function(a){if(void 0===a.payloadMapper||void 0===a.immediateUrlPrefixes||void 0===a.urlSerializer||void 0===a.inferredPingId||void 0===a.pinger)return!1;
var b=a.urlSerializer(Object.assign({},a,{urlPrefixes:a.immediateUrlPrefixes,payloadMapper:a.payloadMapper,pingId:a.inferredPingId,viewState:4,reasonCode:"v"})),c=a.cpmavUrls;c&&0<c.length&&a.viewUrlSerializer&&a.pinger.ping.apply(a.pinger,_.sc(a.viewUrlSerializer(c,a)));a.pinger.ping.apply(a.pinger,_.sc(b));return!0}),BU(function(a){return!a}),tU());
var Cub=_.bU(function(a){return[a.value.topWindowViewportExternalGeometry.width,a.value.topWindowViewportExternalGeometry.height]});
var RU={viewportGeometrySourceName:"ns",exposedViewportLocalGeometry:VU,topWindowViewportExternalGeometry:VU,measurementRequests:new _.GU,elementGeometrySourceName:"ns",elementGeometry:VU,intersectionGeometry:VU};
var uub=WU(TT(_.bU(function(a){var b;return null!=(b=a.exposureOverride)?b:a.intersectionGeometry.width*a.intersectionGeometry.height/(a.elementGeometry.width*a.elementGeometry.height)}),_.bU(function(a){return isFinite(a)?a:0})));
var Bub=_.bU(function(a){return"geo"===a.value.elementGeometrySourceName?a.value.viewportGeometrySourceName:a.value.elementGeometrySourceName});
var vub=WU(TT(_.bU(function(a){return a.intersectionGeometry.width*a.intersectionGeometry.height/(a.exposedViewportLocalGeometry.width*a.exposedViewportLocalGeometry.height)}),_.bU(function(a){return isFinite(a)?Math.min(1,a):0})));
var Eub=function(a,b){var c=this;this.context=a;this.measurementRequestObserver=this.lastMeasurementRequest=null;this.requestSubscription=b.pipe(qU()).subscribe(function(d){$U(c);c.measurementRequestObserver=d})},Gub=function(a,b){$U(a);
a.lastMeasurementRequest=a.context.timeProvider.setTimeout(function(){var c;return void(null==(c=a.measurementRequestObserver)?void 0:c.next())},b)},$U=function(a){null!==a.lastMeasurementRequest&&a.context.timeProvider.clearTimeout(a.lastMeasurementRequest);
a.lastMeasurementRequest=null};
Eub.prototype.dispose=function(){$U(this);this.requestSubscription.unsubscribe();this.measurementRequestObserver=null};
var kwb=function(){};
var Zub=function(a,b){this.context=a;this.strategies=b};
_.q(Zub,kwb);Zub.prototype.buildGeometrySource=function(a,b){var c=this.strategies.map(function(h){return h.buildGeometrySource(a,b)}),d=rub(c.map(function(h){return h.geometrySource})),e=d.capturedErrors.pipe(lwb());
return{geometrySource:d.chain.pipe(IU(this.context.queue)),additionalOutputs:Object.assign.apply(Object,[{strategyFailureReasons:e,strategyErrors:d.capturedErrors}].concat(_.sc(c.map(function(h){return h.additionalOutputs}))))}};
var lwb=function(){return vU(function(a,b){b instanceof TU?a.push(b.measurementStrategyFailureReason):a.push(-1);return a},[])};
var avb=function(a,b){this.context=a;this.poller=b};
_.q(avb,kwb);avb.prototype.buildGeometrySource=function(a,b){var c=Lub(Nub(this.context,this.poller),fub(this.context,b.requestSource));return{geometrySource:Kub(a.measurableCreative.pipe(c),b.inApp),additionalOutputs:{}}};
var $ub=function(a,b,c){c=void 0===c?lub(a,b):c;this.context=a;this.intersectionObserverStrategy=c};
_.q($ub,kwb);$ub.prototype.buildGeometrySource=function(a,b){return{geometrySource:Kub(a.measurableCreative.pipe(this.intersectionObserverStrategy,mub(this.context)),b.inApp),additionalOutputs:{}}};
var mwb=function(a,b,c){this.element=a;this.immediateUrls=b;this.timeOnScreenUrls=c;this.debugId=_.Jt()};
var ZU=Object.freeze({timeThresholdMs:1E3,exposureThreshold:.5,largeAdExposureThreshold:.3}),Rub=Object.freeze([1,.75,ZU.exposureThreshold,ZU.largeAdExposureThreshold,0]);
var nwb=function(a){var b=void 0===b?36E5:b;var c=void 0===c?!0:c;this.creatives=new _.GU;this.elementsToUnregister=new _.GU;var d=window;d=new bV(d,null,new oW(d));Yub(d,this.creatives,this.elementsToUnregister,a,b,c).subscribe()};
var rW;rW=["av.default","js","unreleased"].slice(-1)[0];
var owb={NONE:0,EFP:1},pwb={DEFAULT:0,REQUIRE_SESSIONSTART_AND_IMPRESSION:1,REQUIRE_SESSIONSTART:2,REQUIRE_SESSIONSTART_AND_VIDEOSTART:3},qwb={AUDIBILITY:"a",DISPLAY:"d",VIDEO:"v"};
var rwb=function(){this.exposure=0;this.tabHidden=!1;this.backgroundedState=-1;this.isLargeAd=!1;this.screenShare=0};
rwb.prototype.isVisible=function(){return this.isLargeAd?.3<=this.exposure:.5<=this.exposure};
var sW={CONTROL:0,EXPERIMENT:1},swb={668123728:0,668123729:1},twb={44731964:0,44731965:1},uwb={NONE:0,INTERSECTION_OBSERVER:1,GEOMETRIC:2},vwb={480596784:0,480596785:1,21063355:2};
var tW=function(){this.value_=null;this.addsToPing_=!1;this.experimentIdMapping_=null},uW=function(a){a.addsToPing_=!0;
return a},wwb=function(a,b){a.experimentIdMapping_&&_.pd(b,function(c){c=a.experimentIdMapping_[c];
void 0!==c&&a.setValue(c)})};
tW.prototype.getValue=function(){return this.value_};
var xwb=function(a){tW.call(this);this.legalValues_=a};
_.q(xwb,tW);xwb.prototype.setValue=function(a){if(null!==this.value_||!_.u.containsValue(this.legalValues_,a))return!1;this.value_=a;return!0};
var ywb=function(){tW.call(this)};
_.q(ywb,tW);ywb.prototype.setValue=function(a){if(null!==this.value_||"number"!==typeof a)return!1;this.value_=a;return!0};
var vW=function(){this.features_={};this.allowExperiments_=!0;this.forcedFeatures_={}};
vW.prototype.disable=function(){this.allowExperiments_=!1};
vW.prototype.enable=function(){this.allowExperiments_=!0};
vW.prototype.isEnabled=function(){return this.allowExperiments_};
vW.prototype.reset=function(){this.features_={};this.allowExperiments_=!0;this.forcedFeatures_={}};
var wW=function(a,b,c){a.features_[b]||(a.features_[b]=new xwb(c));return a.features_[b]},zwb=function(a,b){(a=a.features_.od)&&a.setValue(b)},xW=function(a,b){if(_.u.containsKey(a.forcedFeatures_,b))return a.forcedFeatures_[b];
if(a=a.features_[b])return a.getValue()},Awb=function(a){var b={},c=_.u.filter(a.features_,function(d){return d.addsToPing_});
_.u.forEach(c,function(d,e){d=void 0!==a.forcedFeatures_[e]?String(a.forcedFeatures_[e]):d.addsToPing_&&null!==d.value_?String(d.value_):"";0<d.length&&(b[e]=d)},a);
return b},Bwb=function(a,b){if(!a.allowExperiments_)return b;
b=b.split("&");for(var c=b.length-1;0<=c;c--){var d=b[c].split("="),e=decodeURIComponent(d[0]);1<d.length?(d=decodeURIComponent(d[1]),d=/^[0-9]+$/g.exec(d)?parseInt(d,10):d):d=1;(e=a.features_[e])&&e.setValue(d)}return b.join("&")},Cwb=function(a,b){a.allowExperiments_&&_.pd(_.u.getValues(a.features_),function(c){return wwb(c,b)})},Dwb=function(a,b){a.allowExperiments_&&b&&"string"===typeof b&&(b=b.match(/[&;?]eid=([^&;]+)/))&&2===b.length&&(b=decodeURIComponent(b[1]).split(","),b=_.id(b,function(c){return Number(c)}),
Cwb(a,b))};
var Ewb=function(a){wW(a,"od",owb);uW(wW(a,"opac",sW));uW(wW(a,"sbeos",sW));uW(wW(a,"prf",sW));uW(wW(a,"mwt",sW));wW(a,"iogeo",sW)};
var Fwb=function(){this.monitoredElement=this.markedUpElement=null;this.creativeSearchState="no"},yW=function(a){if(!a)return!1;
try{var b=a.getBoundingClientRect();return b&&30<=b.height&&30<=b.width}catch(c){return!1}},Gwb=function(a){return _.St(a,function(b){return yW(b)})},Hwb=function(a,b){b=void 0===b?!0:b;
return _.St(a,function(c){return"SCRIPT"!=c.nodeName&&(!b||"FONT"!=c.nodeName)})},Jwb=function(a,b){b=void 0===b?!0:b;
if(!a)return null;if(!a.children)return a;for(var c=Hwb(_.ka(a.children),b);c.length;){var d=Gwb(c);if(1==d.length)return d[0];if(1<d.length)break;c=Trb(c,function(e){return e.children?Hwb(_.ka(e.children)):[]},b)}return a},Kwb=function(){var a=_.Zk.document.body;
return _.Srb(_.id(["GoogleActiveViewInnerContainer"],function(b){var c=a||document;b=c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+b):_.ik(document,"*",b,a);return _.ka(b)}))};
var zW=function(){};
zW.prototype.now=function(){return 0};
zW.prototype.JSC$40818_getTotalHeapSize=function(){return 0};
zW.prototype.JSC$40818_getUsedHeapSize=function(){return 0};
zW.prototype.JSC$40818_getHeapSizeLimit=function(){return 0};
var BW=function(){if(!AW())throw Error();};
_.q(BW,zW);var AW=function(){return!(!_.Zk||!_.Zk.performance)};
BW.prototype.now=function(){return AW()&&_.Zk.performance.now?_.Zk.performance.now():zW.prototype.now.call(this)};
BW.prototype.JSC$40818_getTotalHeapSize=function(){return AW()&&_.Zk.performance.memory?_.Zk.performance.memory.totalJSHeapSize||0:zW.prototype.JSC$40818_getTotalHeapSize.call(this)};
BW.prototype.JSC$40818_getUsedHeapSize=function(){return AW()&&_.Zk.performance.memory?_.Zk.performance.memory.usedJSHeapSize||0:zW.prototype.JSC$40818_getUsedHeapSize.call(this)};
BW.prototype.JSC$40818_getHeapSizeLimit=function(){return AW()&&_.Zk.performance.memory?_.Zk.performance.memory.jsHeapSizeLimit||0:zW.prototype.JSC$40818_getHeapSizeLimit.call(this)};
var Lwb=function(){};
Lwb.prototype.isVisible=function(){return 1===_.Jl(_.Yk)};
var Mwb=function(){return 0===_.Jl(_.Yk)};
var Nwb=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),Pwb=function(){var a=_.g,b=[],c=null;do{var d=a;if(aV(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Owb(e||""));try{a=d.parent}catch(h){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=_.g;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",
e.isOriginOnly=!0);return b},Qwb=function(a,b){this.topFullUrl=a;
this.topOriginOnly=b},Owb=function(a,b){this.url=a;
this.isOriginOnly=!!b;this.depth=null};
var CW=function(){this.paramDelimiter_="&";this.allPriorityLists_={};this.nextPriority_=0;this.allPriorities_=[]},DW=function(a,b){var c={};
c[a]=b;return[c]},Swb=function(a,b,c,d,e){var h=[];
_.$k(a,function(l,m){(l=Rwb(l,b,c,d,e))&&h.push(m+"="+l)});
return h.join(b)},Rwb=function(a,b,c,d,e){if(null==a)return"";
b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var h=[],l=0;l<a.length;l++)h.push(Rwb(a[l],b,c,d+1,e));return h.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(Swb(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};
CW.prototype.getUrl=function(a,b,c){a=a+"//"+b+c;var d=Twb(this)-c.length;if(0>d)return"";this.allPriorities_.sort(function(r,v){return r-v});
c=null;b="";for(var e=0;e<this.allPriorities_.length;e++)for(var h=this.allPriorities_[e],l=this.allPriorityLists_[h],m=0;m<l.length;m++){if(!d){c=null==c?h:c;break}var p=Swb(l[m],this.paramDelimiter_,",$");if(p){p=b+p;if(d>=p.length){d-=p.length;a+=p;b=this.paramDelimiter_;break}c=null==c?h:c}}d="";null!=c&&(d=b+"trn="+c);return a+d};
var Twb=function(a){var b=1,c;for(c in a.allPriorityLists_)b=c.length>b?c.length:b;return 3997-b-a.paramDelimiter_.length-1};
var EW=function(){this.pageVisibility=new Lwb;this.performance_=AW()?new BW:new zW},Uwb=function(){FW();
var a=_.Zk.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&"function"===typeof _.Zk.setInterval&&"function"===typeof _.Zk.clearInterval&&"function"===typeof _.Zk.setTimeout&&"function"===typeof _.Zk.clearTimeout)};
EW.prototype.setInterval=function(a,b){return _.Zk.setInterval(a,b)};
EW.prototype.clearInterval=function(a){_.Zk.clearInterval(a)};
EW.prototype.setTimeout=function(a,b){return _.Zk.setTimeout(a,b)};
EW.prototype.clearTimeout=function(a){_.Zk.clearTimeout(a)};
var Vwb=function(){};
Vwb.prototype.getContext=function(){if(!this.JSC$40841_context_){if(!_.Zk)throw Error("Yg");this.JSC$40841_context_=_.gm(EW)}return this.JSC$40841_context_};
var FW=function(){return _.gm(Vwb).getContext()};
var Wwb=function(a){_.G.call(this,a)};
_.q(Wwb,_.G);var Xwb=[Wwb,1,tvb,2,uvb,3,uvb,4,uvb,5,rvb];
var Ywb=function(a){this.JSC$40844_context_=a;this.enterTime_=-1;this.threadEntryCount_=this.accumulatedTime_=0},GW=function(a,b){return function(){var c=_.Ob.apply(0,arguments);
if(-1<a.enterTime_)return b.apply(null,_.sc(c));try{return a.enterTime_=a.JSC$40844_context_.performance_.now(),b.apply(null,_.sc(c))}finally{a.accumulatedTime_+=a.JSC$40844_context_.performance_.now()-a.enterTime_,a.enterTime_=-1,a.threadEntryCount_+=1}}};
var Zwb=function(a,b){this.JSC$40849_context_=a;this.featureSet_=b;this.stopwatch_=new Ywb(a)};
var $wb=function(){};
var axb={POSITION:1,VISIBILITY:2,MONITOR_VISIBILITY:3};_.Tt(_.jb("https://pagead2.googlesyndication.com/pagead/osd.js"));
var bxb=function(){this.pollingFrequencyScheme=void 0;this.binaryContext=this.nextAdBlockId=0;this.firstPollingTime=-1;this.featureSet=new vW;uW(wW(this.featureSet,"mv",uwb)).experimentIdMapping_=void 0===vwb?null:vwb;wW(this.featureSet,"omid",sW);uW(wW(this.featureSet,"epoh",sW));uW(wW(this.featureSet,"epph",sW));uW(wW(this.featureSet,"umt",sW)).experimentIdMapping_=void 0===swb?null:swb;uW(wW(this.featureSet,"phel",sW));uW(wW(this.featureSet,"phell",sW));uW(wW(this.featureSet,"oseid",axb));var a=
this.featureSet;a.features_.sloi||(a.features_.sloi=new ywb);uW(a.features_.sloi);wW(this.featureSet,"mm",qwb);uW(wW(this.featureSet,"ovms",pwb));uW(wW(this.featureSet,"xdi",sW));uW(wW(this.featureSet,"amp",sW));uW(wW(this.featureSet,"prf",sW));uW(wW(this.featureSet,"gtx",sW));uW(wW(this.featureSet,"mvp_lv",sW));uW(wW(this.featureSet,"ssmol",sW)).experimentIdMapping_=void 0===twb?null:twb;this.monitor_=new Zwb(FW(),this.featureSet);this.unmeasurableReason=null;this.isSellsideGma=!1;this.flags=new $wb},
HW=function(){return _.gm(bxb)};
var cxb=function(a,b,c,d,e){if((d?a.staticReportThreshold_:Math.random())<(e||a.defaultReportFreq_))try{if(c instanceof CW)var h=c;else h=new CW,_.$k(c,function(m,p){var r=h,v=r.nextPriority_++;m=DW(p,m);r.allPriorities_.push(v);r.allPriorityLists_[v]=m});
var l=h.getUrl(a.protocol_,"pagead2.googlesyndication.com","/pagead/gen_204?id="+b+"&");l&&(FW(),FU(_.Zk,l,!1,!1))}catch(m){}};
var IW=null;
var dxb=function(a,b,c){this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0};
var JW=_.g.performance,exb=!!(JW&&JW.mark&&JW.measure&&JW.clearMarks),KW=_.fj(function(){var a;if(a=exb){var b;if(null===IW){IW="";try{a="";try{a=_.g.top.location.hash}catch(c){a=_.g.location.hash}a&&(IW=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=IW;a=!!b.indexOf&&0<=b.indexOf("1337")}return a}),LW=function(){var a=window;
this.events=[];this.installedWindow=a||_.g;var b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.events=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.collectionEnabled=KW()||(null!=b?b:1>Math.random())};
LW.prototype.disable=function(){this.collectionEnabled=!1;this.events!=this.installedWindow.google_js_reporting_queue&&(KW()&&_.pd(this.events,fxb),this.events.length=0)};
var fxb=function(a){a&&JW&&KW()&&(JW.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),JW.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};
LW.prototype.start=function(a,b){if(!this.collectionEnabled)return null;var c=SV()||Wvb();a=new dxb(a,b,c);b="goog_"+a.label+"_"+a.uniqueId+"_start";JW&&KW()&&JW.mark(b);return a};
LW.prototype.end=function(a){if(this.collectionEnabled&&"number"===typeof a.value){var b=SV()||Wvb();a.duration=b-a.value;b="goog_"+a.label+"_"+a.uniqueId+"_end";JW&&KW()&&JW.mark(b);!this.collectionEnabled||2048<this.events.length||this.events.push(a)}};
var hxb=function(){var a=gxb;this.pinger_=MW;this.errorTypeId_="jserror";this.silenceErrors_=!0;this.addParamsToErrorsFn_=null;this.errorHandler_=this.maybeReportError;this.JSC$40868_timer_=void 0===a?null:a};
hxb.prototype.pinger=function(){return this.pinger_};
var kxb=function(a,b){var c=NW;return GW(HW().monitor_.stopwatch_,function(){try{if(c.JSC$40868_timer_&&c.JSC$40868_timer_.collectionEnabled){var d=c.JSC$40868_timer_.start(a.toString(),3);var e=b();c.JSC$40868_timer_.end(d)}else e=b()}catch(l){var h=c.silenceErrors_;try{fxb(d),h=c.errorHandler_(a,new ixb(jxb(l)),void 0,void 0)}catch(m){c.maybeReportError(217,m)}if(!h)throw l;}return e})()},lxb=function(a,b){return GW(HW().monitor_.stopwatch_,function(){var c=_.Ob.apply(0,arguments);
return kxb(a,function(){return b.apply(void 0,c)})})};
hxb.prototype.maybeReportError=function(a,b,c,d,e){e=e||this.errorTypeId_;try{var h=new CW;h.allPriorities_.push(1);h.allPriorityLists_[1]=DW("context",a);b.error&&b.meta&&b.id||(b=new ixb(jxb(b)));if(b.msg){var l=b.msg.substring(0,512);h.allPriorities_.push(2);h.allPriorityLists_[2]=DW("msg",l)}var m=b.meta||{};if(this.addParamsToErrorsFn_)try{this.addParamsToErrorsFn_(m)}catch(R){}if(d)try{d(m)}catch(R){}b=[m];h.allPriorities_.push(3);h.allPriorityLists_[3]=b;var p=Pwb(),r=new Owb(_.g.location.href,
!1);b=null;var v=p.length-1;for(d=v;0<=d;--d){var z=p[d];!b&&Nwb.test(z.url)&&(b=z);if(z.url&&!z.isOriginOnly){r=z;break}}z=null;var A=p.length&&p[v].url;0!=r.depth&&A&&(z=p[v]);var D=new Qwb(r,z);if(D.topOriginOnly){var E=D.topOriginOnly.url||"";h.allPriorities_.push(4);h.allPriorityLists_[4]=DW("top",E)}var J=[{url:D.topFullUrl.url||""},{url:D.topFullUrl.url?_.f4a(D.topFullUrl.url):""}];h.allPriorities_.push(5);h.allPriorityLists_[5]=J;cxb(this.pinger_,e,h,!1,c)}catch(R){try{cxb(this.pinger_,e,
{context:"ecmserr",rctx:a,msg:jxb(R),url:D&&D.topFullUrl.url},!1,c)}catch(da){}}return this.silenceErrors_};
var jxb=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b},ixb=function(a){Vvb.call(this,Error(a),{message:a})};
_.q(ixb,Vvb);
var MW,NW,gxb=new LW,mxb=function(){_.Zk&&"undefined"!=typeof _.Zk.google_measure_js_timing&&(_.Zk.google_measure_js_timing||gxb.disable())};
MW=new function(){var a="https:";_.Zk&&_.Zk.location&&"http:"===_.Zk.location.protocol&&(a="http:");this.protocol_=a;this.defaultReportFreq_=.01;this.staticReportThreshold_=Math.random()};
NW=new hxb;_.Zk&&_.Zk.document&&("complete"==_.Zk.document.readyState?mxb():gxb.collectionEnabled&&EU(_.Zk,"load",function(){mxb()}));
var nxb=function(a){NW.addParamsToErrorsFn_=function(b){_.pd(a,function(c){c(b)})}},pvb=function(a,b){return kxb(a,b)},oxb=function(a,b){return lxb(a,b)};
var pxb=Date.now(),qxb=-1,OW=-1,PW=!1,QW=function(){return Date.now()-pxb},rxb=function(){var a=HW().pollingFrequencyScheme,b=0<=OW?QW()-OW:-1,c=PW?QW()-qxb:-1;
if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var d=[250,500,1E3];NW.maybeReportError(637,Error(),.001,void 0);var e=b;-1!=c&&c<b&&(e=c);for(b=0;b<a.length;++b)if(e<a[b]){var h=d[b];break}void 0===h&&(h=d[a.length]);return h};
var sxb=function(a){var b=new _.Xt(0,0,0,0);this.time=-1;this.volume=null;this.JSC$40874_visibleGeometry=b;this.originatingProvider=a};
sxb.prototype.equals=function(a,b){return!!a&&(!(void 0===b?0:b)||this.volume==a.volume)&&Avb(this.JSC$40874_visibleGeometry,a.JSC$40874_visibleGeometry)&&!0};
var RW=function(a,b,c,d,e,h,l,m){this.viewportObservation_=a;this.JSC$40877_element_=b;this.elementGeometry_=c;this.visibleGeometry_=d;this.visibleFraction_=e;this.viewportShare_=h;this.timestamp_=l;this.screenShare_=m};
RW.prototype.getElement=function(){return this.JSC$40877_element_};
RW.prototype.equals=function(a,b){return this.viewportObservation_.equals(a.viewportObservation_,void 0===b?!1:b)&&this.JSC$40877_element_==a.JSC$40877_element_&&Avb(this.elementGeometry_,a.elementGeometry_)&&Avb(this.visibleGeometry_,a.visibleGeometry_)&&this.visibleFraction_==a.visibleFraction_&&this.viewportShare_==a.viewportShare_&&this.timestamp_==a.timestamp_&&this.screenShare_==a.screenShare_};
var txb={ADD_EVENT_LISTENER:"addEventListener",GET_MAX_SIZE:"getMaxSize",GET_SCREEN_SIZE:"getScreenSize",GET_STATE:"getState",GET_VERSION:"getVersion",REMOVE_EVENT_LISTENER:"removeEventListener",IS_VIEWABLE:"isViewable"},uxb=function(){var a=_.Zk!==_.Zk.top,b=_.Zk.top===zvb(),c=-1,d=0;if(a&&b&&_.Zk.top.mraid){c=3;var e=_.Zk.top.mraid}else c=(e=_.Zk.mraid)?a?b?2:1:0:-1;e&&(e.IS_GMA_SDK||(d=2),_.u.every(txb,function(h){return"function"===typeof e[h]})||(d=1));
return{mraid:e,compatibility:d,situation:c}};
var nvb=function(){var a=window.document;return a&&"function"===typeof a.elementFromPoint};
var vxb=function(a){var b=Math.pow(10,2);return Math.floor(a*b)/b},wxb=function(a){return new _.Xt(a.top,a.right,a.bottom,a.left)},xxb=function(){var a=FW().pageVisibility;
return Mwb()?-1:a.isVisible()?0:1};
var yxb=function(){this.insideCrossDomainIframe=!aV(_.Zk.top);this.isMobileDevice=vvb()||wvb();var a=Pwb();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?_.xd(a[a.length-1].url)||"":"";this.browserViewportBox=new _.Xt(0,0,0,0);this.screenSize=new _.gk(0,0);this.documentSize=new _.gk(0,0);this.frameViewportBox=new _.Xt(0,0,0,0);this.frameOffset=new _.fk(0,0);this.inAppContext=!(!_.Zk||!uxb().mraid);this.update(_.Zk)},zxb=function(a,b){b&&b.screen&&(a.screenSize=new _.gk(b.screen.width,
b.screen.height))},Axb=function(a,b){var c=a.browserViewportBox?new _.gk(a.browserViewportBox.getWidth(),a.browserViewportBox.getHeight()):new _.gk(0,0);
b=void 0===b?_.Zk:b;null!==b&&b!=b.top&&(b=b.top);var d=0,e=0;try{var h=b.document,l=h.body,m=h.documentElement;if("CSS1Compat"==h.compatMode&&m.scrollHeight)d=m.scrollHeight!=c.height?m.scrollHeight:m.offsetHeight,e=m.scrollWidth!=c.width?m.scrollWidth:m.offsetWidth;else{var p=m.scrollHeight,r=m.scrollWidth,v=m.offsetHeight,z=m.offsetWidth;m.clientHeight!=v&&(p=l.scrollHeight,r=l.scrollWidth,v=l.offsetHeight,z=l.offsetWidth);p>c.height?p>v?(d=p,e=r):(d=v,e=z):p<v?(d=p,e=r):(d=v,e=z)}var A=new _.gk(e,
d)}catch(D){A=new _.gk(-12245933,-12245933)}a.documentSize=A};
yxb.prototype.update=function(a){a&&a.document&&(this.frameViewportBox=fV(!1,a,this.isMobileDevice),this.browserViewportBox=fV(!0,a,this.isMobileDevice),Axb(this,a),zxb(this,a))};
var Bxb=function(){eV();var a=FW().pageVisibility.isVisible(),b=Mwb();return a||b},eV=function(){return _.gm(yxb)};
var Cxb=function(a){this.sampledObject_=a;this.samplingCount_=0;this.nextSampleTimeoutId_=null};
Cxb.prototype.cancel=function(){FW().clearTimeout(this.nextSampleTimeoutId_);this.nextSampleTimeoutId_=null};
Cxb.prototype.schedule=function(){var a=this,b=FW(),c=HW().monitor_.stopwatch_;this.nextSampleTimeoutId_=b.setTimeout(GW(c,oxb(143,function(){a.samplingCount_++;a.sampledObject_.sample()})),rxb())};
var SW=function(a,b,c){this.JSC$40890_win=a;this.JSC$40890_name_=void 0===c?"na":c;this.observationListeners=[];this.isInitialized=!1;this.currentObservation=new sxb(this);this.effectiveViewportProvider=this;this.inherentVisibleGeometryCapability_=b;this.providerHasFailed=this.volumeRequired_=!1;this.failureCode="uk";this.JSC$40890_disposed_=!1;this.JSC$40890_isActive_=!0};
_.f=SW.prototype;_.f.JSC$40892_canBeUsed=function(){return!1};
_.f.initialize=function(){return this.isInitialized=!0};
_.f.getFailureCode=function(){return this.effectiveViewportProvider.failureCode};
_.f.fail=function(a,b){if(!this.providerHasFailed||(void 0===b?0:b))this.providerHasFailed=!0,this.failureCode=a,this.inherentVisibleGeometryCapability_=0,this.effectiveViewportProvider!=this||TW(this)};
_.f.getName=function(){return this.effectiveViewportProvider.JSC$40890_name_};
_.f.getLogParams=function(){return{}};
_.f.getVisibleGeometryCapability=function(){return this.effectiveViewportProvider.inherentVisibleGeometryCapability_};
var UW=function(a,b){_.ha(a.observationListeners,b)||(a.observationListeners.push(b),b.handleViewportProviderStatusUpdate(a.effectiveViewportProvider),b.handleViewportObservationUpdate(a.currentObservation),b.JSC$40929_requiresVolume()&&(a.volumeRequired_=!0))};
SW.prototype.getUpdatedVisibleGeometry=function(){return this.currentObservation.JSC$40874_visibleGeometry};
var Dxb=function(a){a=a.effectiveViewportProvider;zxb(eV(),a.JSC$40890_win);var b=eV();b.browserViewportBox=fV(!0,a.JSC$40890_win,b.isMobileDevice);b=eV();b.frameViewportBox=fV(!1,a.JSC$40890_win,b.isMobileDevice);Axb(eV(),a.JSC$40890_win);a.currentObservation.JSC$40874_visibleGeometry=a.getUpdatedVisibleGeometry()};
SW.prototype.sample=function(){};
SW.prototype.isActive=function(){return this.effectiveViewportProvider.JSC$40890_isActive_};
var Exb=function(a){a.volumeRequired_=a.observationListeners.length?_.hj(a.observationListeners,function(b){return b.JSC$40929_requiresVolume()}):!1},Fxb=function(a){var b=_.ka(a.observationListeners);
_.pd(b,function(c){c.handleViewportObservationUpdate(a.currentObservation)})},TW=function(a){var b=_.ka(a.observationListeners);
_.pd(b,function(c){c.handleViewportProviderStatusUpdate(a.effectiveViewportProvider)});
a.effectiveViewportProvider!=a||Fxb(a)};
_.f=SW.prototype;_.f.handleViewportProviderStatusUpdate=function(a){var b=this.effectiveViewportProvider;this.effectiveViewportProvider=a.getVisibleGeometryCapability()>=this.inherentVisibleGeometryCapability_?a:this;b!==this.effectiveViewportProvider?(this.JSC$40890_isActive_=this.effectiveViewportProvider.JSC$40890_isActive_,TW(this)):this.JSC$40890_isActive_!==this.effectiveViewportProvider.JSC$40890_isActive_&&(this.JSC$40890_isActive_=this.effectiveViewportProvider.JSC$40890_isActive_,TW(this))};
_.f.handleViewportObservationUpdate=function(a){if(a.originatingProvider===this.effectiveViewportProvider){var b=!this.currentObservation.equals(a,this.volumeRequired_);this.currentObservation=a;b&&Fxb(this)}};
_.f.JSC$40929_requiresVolume=function(){return this.volumeRequired_};
_.f.dispose=function(){this.JSC$40890_disposed_=!0};
_.f.isDisposed=function(){return this.JSC$40890_disposed_};
var VW=function(a,b,c,d){this.element=a;this.elementGeometry=new _.Xt(0,0,0,0);this.containerGeometry=null;this.frameVisibleGeometry=new _.Xt(0,0,0,0);this.JSC$40894_viewportProvider=b;this.featureSet=c;this.requiresVolume_=d;this.JSC$40894_disposed_=!1;this.timestamp=-1;this.currentMeasurement=new RW(b.currentObservation,this.element,this.elementGeometry,new _.Xt(0,0,0,0),0,0,QW(),0)};
_.f=VW.prototype;_.f.observe=function(){return!0};
_.f.JSC$40896_unobserve=function(){};
_.f.dispose=function(){if(!this.isDisposed()){var a=this.JSC$40894_viewportProvider;_.ja(a.observationListeners,this);a.volumeRequired_&&this.JSC$40929_requiresVolume()&&Exb(a);this.JSC$40896_unobserve();this.JSC$40894_disposed_=!0}};
_.f.isDisposed=function(){return this.JSC$40894_disposed_};
_.f.getLogParams=function(){return this.JSC$40894_viewportProvider.getLogParams()};
_.f.getVisibleGeometryCapability=function(){return this.JSC$40894_viewportProvider.getVisibleGeometryCapability()};
_.f.getFailureCode=function(){return this.JSC$40894_viewportProvider.getFailureCode()};
_.f.handleViewportProviderStatusUpdate=function(){};
_.f.handleViewportObservationUpdate=function(){this.calculateMeasurement()};
_.f.JSC$40929_requiresVolume=function(){return this.requiresVolume_};
var WW=function(a){this.JSC$40897_disposed_=!1;this.JSC$40897_viewportProvider=a;this.failureCallback=function(){}};
_.f=WW.prototype;_.f.getVisibleGeometryCapability=function(){return this.JSC$40897_viewportProvider.getVisibleGeometryCapability()};
_.f.getFailureCode=function(){return this.JSC$40897_viewportProvider.getFailureCode()};
_.f.create=function(a,b,c){var d=null;this.JSC$40897_viewportProvider&&(d=this.JSC$40899_createInstance(a,b,c),UW(this.JSC$40897_viewportProvider,d));return d};
_.f.JSC$40899_shouldBeUsedForMeasurement=function(){return this.JSC$40899_canBeUsed()};
_.f.JSC$40899_canBeUsed=function(){return!1};
_.f.init=function(a){return this.JSC$40897_viewportProvider.initialize()?(UW(this.JSC$40897_viewportProvider,this),this.failureCallback=a,!0):!1};
_.f.handleViewportProviderStatusUpdate=function(a){0==a.getVisibleGeometryCapability()&&this.failureCallback(a.getFailureCode(),this)};
_.f.handleViewportObservationUpdate=function(){};
_.f.JSC$40929_requiresVolume=function(){return!1};
_.f.dispose=function(){this.JSC$40897_disposed_=!0};
_.f.isDisposed=function(){return this.JSC$40897_disposed_};
_.f.getLogParams=function(){return{}};
var Gxb=function(a,b,c){this.priority_=void 0===c?0:c;this.JSC$40900_key_=a;this.value_=null==b?"":b};
Gxb.prototype.getParameter=function(){return this.JSC$40900_key_};
var Hxb=function(a){switch(Math.trunc(a.priority_)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}},Ixb=function(a,b){return a.priority_<b.priority_?!0:a.priority_>b.priority_?!1:a.JSC$40900_key_<b.JSC$40900_key_?!0:a.JSC$40900_key_>b.JSC$40900_key_?!1:typeof a.value_<typeof b.value_?!0:typeof a.value_>typeof b.value_?!1:a.value_<b.value_};
var XW=function(){this.insertionCount_=0;this.JSC$40903_queryParameters_=[];this.sortMayBeRequired_=!1};
XW.prototype.add=function(a,b,c){++this.insertionCount_;a=new Gxb(a,b,c);this.JSC$40903_queryParameters_.push(new Gxb(a.JSC$40900_key_,a.value_,a.priority_+this.insertionCount_/4096));this.sortMayBeRequired_=!0;return this};
XW.prototype.addAll=function(a){var b=this;_.pd(a.JSC$40903_queryParameters_,function(c){b.add(c.getParameter(),c.value_,Hxb(c))});
return this};
var Jxb=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;_.$k(b,function(e,h){d&&void 0===e||a.add(h,e,c)});
return a},Lxb=function(a){var b=Kxb;
a.sortMayBeRequired_&&(_.d4a(a.JSC$40903_queryParameters_,function(c,d){return Ixb(d,c)?1:Ixb(c,d)?-1:0}),a.sortMayBeRequired_=!1);
return _.gj(a.JSC$40903_queryParameters_,function(c,d){d=b(d);return""+c+(""!=c&&""!=d?"&":"")+d},"")};
var Kxb=function(a){var b=a.getParameter();a=a.value_;return""===a?b:"boolean"===typeof a?a?b:"":Array.isArray(a)?0===a.length?b:b+"="+a.join():b+"="+(_.ha(["mtos","tos","p"],b)?a:encodeURIComponent(a))};
var Mxb=function(a){var b=void 0===b?!0:b;this.JSC$40906_queryParameters_=new XW;void 0!==a&&this.JSC$40906_queryParameters_.addAll(a);b&&this.JSC$40906_queryParameters_.add("v",rW,-16)};
Mxb.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Lxb(this.JSC$40906_queryParameters_);0<b.length&&(a+="?"+b);return a};
var Nxb=function(a,b,c,d,e){var h=[];if(b.length)return h=_.id(b,function(l){return l+"&id="+a});
b="//"+(e||"pagead2.googlesyndication.com")+"/activeview";e=[];c&&e.push("avi="+c);d&&e.push("cid="+d);e.push("id="+a);h.push(b+"?"+e.join("&"));return h},Pxb=function(a){if(!_.Zk.navigator||!_.Zk.navigator.sendBeacon)return!1;
a=Oxb(a.toString()).split("?");return _.Zk.navigator.sendBeacon(a[0],a[1])},Qxb=function(){if(rW&&"unreleased"!==rW)return rW},Oxb=function(a){if(/&v=[^&]+/.test(a))return a;
var b=Qxb();return b?a+"&v="+encodeURIComponent(b):a},YW=function(a){var b=void 0===b?4E3:b;
a=Oxb(a.toString());b=a=a.substring(0,b);FW();FU(_.Zk,b,!1,!1)};
var Rxb=function(){this.sentPingCount_=0};
var Sxb=function(a,b,c){_.pd(a.verifications_,function(d){var e=a.JSC$40927_adKey_;if(!d.hasSentPing_&&(d.setCurrentFrameMeasurements(b,c),d.shouldSendVerificationPing())){d.hasSentPing_=!0;var h=d.buildVerificationPing(),l=new XW;l.add("id","av-js");l.add("type","verif");l.add("vtype",d.verificationGen204Type_);d=_.gm(Rxb);l.add("i",d.sentPingCount_++);l.add("adk",e);Jxb(l,h);e=new Mxb(l);YW(e)}})};
var Txb=function(){this.maxConsecutive_=this.currentConsecutive_=this.JSC$40930_total_=0};
Txb.prototype.update=function(a,b,c){a&&(this.JSC$40930_total_+=b,this.currentConsecutive_+=b,this.maxConsecutive_=Math.max(this.maxConsecutive_,this.currentConsecutive_));if(void 0===c?!a:c)this.currentConsecutive_=0};
var Uxb=[1,.75,.5,.3,0],Vxb=function(a){this.thresholds_=a=void 0===a?Uxb:a;this.buckets_=_.id(this.thresholds_,function(){return new Txb})},Xxb=function(a){return Wxb(a,function(b){return b.JSC$40930_total_},!1)},Yxb=function(a){return Wxb(a,function(b){return b.maxConsecutive_},!0)};
Vxb.prototype.update=function(a,b,c,d,e,h){h=void 0===h?!0:h;b=e?Math.min(a,b):b;for(e=0;e<this.thresholds_.length;e++){var l=this.thresholds_[e],m=0<b&&b>=l;l=!(0<a&&a>=l)||c;this.buckets_[e].update(h&&m,d,!h||l)}};
var Wxb=function(a,b,c){a=_.id(a.buckets_,function(d){return b(d)});
return c?a:Zxb(a)},Zxb=function(a){return _.id(a,function(b,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
var $xb=function(){this.timeOnScreen=new Vxb;this.viewTime_=new Txb;this.maxExposure_=-1;this.screenShareBuckets_=new Vxb([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0])};
$xb.prototype.update=function(a,b,c,d){this.maxExposure_=Math.max(this.maxExposure_,b.exposure);this.screenShareBuckets_.update(b.screenShare,c.screenShare,b.tabHidden,a,d);this.timeOnScreen.update(b.exposure,c.exposure,b.tabHidden,a,d);c=d||c.isLargeAd!=b.isLargeAd?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.tabHidden;this.viewTime_.update(c,a,b)};
var ZW=function(a){return 1E3<=a.viewTime_.maxConsecutive_};
if(_.Yk&&_.Yk.URL){var ayb,xvb=_.Yk.URL;ayb=!!xvb&&0<yvb().length;NW.silenceErrors_=!ayb}var byb=function(a,b,c,d){var e=void 0===e?!1:e;c=lxb(d,c);EU(a,b,c,{capture:e})};
var cyb=new _.Xt(0,0,0,0);
var dyb=new _.Xt(0,0,0,0),$W=function(a,b,c){_.uk.call(this);this.position=dyb.clone();this.measurementData=new $xb;this.loadTimeExposure=-2;Date.now();this.timestampViewedByUser=-1;this.lastUpdateTime=b;this.lastMeasurement_=null;this.elementLoaded_=!1;this.offsetInViewport=null;this.opacity=-1;this.requestSource=c;this.measurementUpdateCallback=function(){};
this.unmeasurableImpressionCallback=function(){};
this.creativeSearchResults=new Fwb;this.creativeSearchResults.markedUpElement=a;this.creativeSearchResults.monitoredElement=a;this.isUnmeasurableImpression=!1;this.contextualEventHandlers_={mouseOver:null,mouseOut:null};this.shouldSendTimeOnScreenPing=!0;this.strategyVerifier_=null;HW().nextAdBlockId++;this.lastAdState=new rwb;this.timeLastSeen=this.timeFirstSeen=-1;this.hoverTime_=0;this.measurementStrategy=null;this.isCoReRequest=!1;this.featureSet=new vW;Ewb(this.featureSet);eyb(this);1==this.requestSource?
zwb(this.featureSet,1):zwb(this.featureSet,0)};
_.q($W,_.uk);
$W.prototype.disposeInternal=function(){fyb(this);this.strategyVerifier_&&this.strategyVerifier_.dispose();this.measurementStrategy&&this.measurementStrategy.dispose();delete this.measurementData;delete this.measurementUpdateCallback;delete this.unmeasurableImpressionCallback;delete this.creativeSearchResults.markedUpElement;delete this.creativeSearchResults.monitoredElement;delete this.contextualEventHandlers_;delete this.strategyVerifier_;delete this.measurementStrategy;delete this.featureSet;_.uk.prototype.disposeInternal.call(this)};
var aX=function(a){return a.measurementStrategy?a.measurementStrategy.elementGeometry:a.position};
$W.prototype.JSC$40942_processActiveViewMetadata=function(a){var b=HW();"string"===typeof a&&0!=a.length&&Bwb(b.featureSet,a)};
var eyb=function(a){(a=a.creativeSearchResults.markedUpElement)&&a.getAttribute&&jwb(a,"googleAvInapp")&&(eV().inAppContext=!0)};
$W.prototype.JSC$40942_requiresVolume=function(){return!1};
$W.prototype.setElementLoaded=function(){this.elementLoaded_=!0};
$W.prototype.isReadyForMeasurement=function(){return this.elementLoaded_};
$W.prototype.resetFractionOnScreenValues=function(){this.lastAdState.exposure=0};
var gyb=function(a,b){if(a.measurementStrategy){if(b.getName()===a.measurementStrategy.getName())return;a.measurementStrategy.dispose();a.measurementStrategy=null}b=b.create(a.creativeSearchResults.monitoredElement,a.featureSet,a.JSC$40942_requiresVolume());if(b=null!=b&&b.observe()?b:null)a.measurementStrategy=b},hyb=function(a,b,c){if(a.measurementStrategy){a.measurementStrategy.calculateMeasurement();
var d=a.measurementStrategy.currentMeasurement,e=d.viewportObservation_,h=e.JSC$40874_visibleGeometry;if(null!=d.visibleGeometry_){var l=d.elementGeometry_;a.offsetInViewport=new _.fk(l.left-h.left,l.top-h.top)}h=a.shouldUseViewportShareBasedVisibility()?Math.max(d.visibleFraction_,d.viewportShare_):d.visibleFraction_;l={};null!==e.volume&&(l.volume=e.volume);a.lastMeasurement_&&-1!=a.lastUpdateTime&&-1!==d.timestamp_&&-1!==a.lastMeasurement_.timestamp_?(e=d.timestamp_-a.lastMeasurement_.timestamp_,
e=1E4<e?0:e):e=0;a.lastMeasurement_=d;a.updateInternal(h,b,c,!1,l,e,d.screenShare_)}},iyb=function(a){if(a.isReadyForMeasurement()&&a.strategyVerifier_){var b=1==xW(a.featureSet,"od"),c=eV().browserViewportBox,d=a.strategyVerifier_,e=a.measurementStrategy?a.measurementStrategy.getName():"ns",h=new _.gk(c.getWidth(),c.getHeight());
c=a.shouldUseViewportShareBasedVisibility();a={strategyName:e,offsetInViewport:a.offsetInViewport,viewportSize:h,shouldUseViewportShareBasedVisibility:c,exposure:a.lastAdState.exposure,usedEfpOcclusion:b};if(b=d.verificationStrategy_){b.calculateMeasurement();e=b.currentMeasurement;h=e.viewportObservation_.JSC$40874_visibleGeometry;var l=null,m=null;null!=e.visibleGeometry_&&h&&(l=e.elementGeometry_,l=new _.fk(l.left-h.left,l.top-h.top),m=new _.gk(h.right-h.left,h.bottom-h.top));e=c?Math.max(e.visibleFraction_,
e.viewportShare_):e.visibleFraction_;c={strategyName:b.getName(),offsetInViewport:l,viewportSize:m,shouldUseViewportShareBasedVisibility:c,usedEfpOcclusion:!1,exposure:e}}else c=null;c&&Sxb(d,a,c)}};
$W.prototype.updateInternal=function(a,b,c,d,e,h,l){this.isUnmeasurableImpression||(this.isReadyForMeasurement()&&(e=new rwb,e.tabHidden=c,e.backgroundedState=xxb(),a=0===this.opacity&&1===xW(this.featureSet,"opac")?0:a,e.exposure=a,e.isLargeAd=this.isLargeAd(),e.screenShare=l,d=d&&this.lastAdState.exposure>=(this.isLargeAd()?.3:.5),this.measurementData.update(h,e,this.lastAdState,d),this.lastUpdateTime=b,0<e.exposure&&(-1===this.timeFirstSeen&&(this.timeFirstSeen=b),this.timeLastSeen=b),-1==this.timestampViewedByUser&&
ZW(this.measurementData)&&(this.timestampViewedByUser=b),-2==this.loadTimeExposure&&(this.loadTimeExposure=dV(aX(this))?e.exposure:-1),this.lastAdState=e),this.measurementUpdateCallback(this))};
$W.prototype.isLargeAd=function(){return!1};
$W.prototype.shouldUseViewportShareBasedVisibility=function(){return this.isCoReRequest||!1};
var bX=function(a){return a.isUnmeasurableImpression?2:ZW(a.measurementData)?4:3},fyb=function(a){a.creativeSearchResults.monitoredElement&&(a.contextualEventHandlers_.mouseOver&&(DU(a.creativeSearchResults.monitoredElement,"mouseover",a.contextualEventHandlers_.mouseOver),a.contextualEventHandlers_.mouseOver=null),a.contextualEventHandlers_.mouseOut&&(DU(a.creativeSearchResults.monitoredElement,"mouseout",a.contextualEventHandlers_.mouseOut),a.contextualEventHandlers_.mouseOut=null))},jyb=function(a,
b,c){b&&(a.measurementUpdateCallback=b);
c&&(a.unmeasurableImpressionCallback=c)};
var kyb=function(a){return _.xa()?(a=(a=_.nk(a))&&_.lk(a),!!(a&&a.location&&a.location.ancestorOrigins&&0<a.location.ancestorOrigins.length&&a.location.origin==a.location.ancestorOrigins[0])):!0};
var lyb=function(a,b){this.iterateUpIntoFriendlyIframes_=b;this.sequenceExhausted_=null==a;this.nextCursorPosition_=a};
_.q(lyb,_.Pl);lyb.prototype.next=function(){if(this.sequenceExhausted_)return _.Ql;var a=this.nextCursorPosition_||null;this.sequenceExhausted_=null==a;var b;if(b=a){b=this.iterateUpIntoFriendlyIframes_;if(_.Bj(a,"parentElement")&&null!=a.parentElement&&a!=a.parentElement)var c=a.parentElement;else if(b){var d=void 0===d?kyb:d;if(d(a))try{var e=_.nk(a),h=e&&_.lk(e),l=h&&h.frameElement;c=null==l?null:l}catch(m){c=null}else c=null}else c=null;b=c}this.nextCursorPosition_=b;return _.Rl(a)};
var myb=function(a){var b=1;a=Fvb(new lyb(a,!0));a=Evb(a,function(){return 0<b});
return Dvb(a,function(c,d){var e=1;if(_.Bj(d,"style")&&d.style){var h=parseFloat,l=_.Yt(d,"opacity");if(!l){l=d.style[_.yea("opacity")];if("undefined"!==typeof l)d=l;else{l=d.style;var m=Bvb.opacity;if(!m){var p=_.yea("opacity");m=p;void 0===d.style[p]&&(p=(_.Fj?"Webkit":_.Ej?"Moz":_.Cj?"ms":null)+svb(p),void 0!==d.style[p]&&(m=p));Bvb.opacity=m}d=l[m]||""}l=d}h=h(l);"number"!==typeof h||isNaN(h)||(e=h)}return b=c*e})};
var nyb=function(){this.sent_=!1};
nyb.prototype.maybeSend=function(a,b){b=void 0===b?{}:b;this.sent_||(this.sent_=this.maybeSendOneTimePing(a,b))};
nyb.prototype.maybeSendOneTimePing=function(){return!1};
var cX=function(a,b,c,d,e,h,l,m){m=void 0===m?[]:m;$W.call(this,c,d,e);this.adUrl=b;this.adk=0;this.awbidKey=null;this.avihost_=this.avi_="";this.avicxn_=[];this.avieoscxn_=[];this.activeviewCid_=this.aviextcxn_="";this.immediatePingEnabled=!1;this.listenerWindows=[];this.cpmavViewUrl=this.beginToRenderUrl="";this.activeviewPingSent=this.cpmavViewUrlInvoked=!1;this.largeAdState_=0;this.wasBackgrounded_=this.backgroundedAtStart_=xxb();this.measurementDeferralState_=0;this.metricsChangeCallback_=h;
this.pings_=m;if(a=this.creativeSearchResults.markedUpElement)if(0==this.adk?this.creativeSearchResults.markedUpElement?(b=this.creativeSearchResults.markedUpElement._adk_,b||(b=(b=qW(this.creativeSearchResults.markedUpElement,"googleAvAdk"))&&!/[^0-9]/.test(b)?parseInt(b,10):0)):b=0:b=this.adk,this.adk=b,""==this.avi_&&(this.avi_=String(a._avi_||"")),""==this.avihost_&&(this.avihost_=a._avihost_?String(a._avihost_):"pagead2.googlesyndication.com"),this.avicxn_.length||(this.avicxn_=oyb(a,"_avicxn_",
"googleAvCxn")),this.avieoscxn_.length||(this.avieoscxn_=oyb(a,"_avieoscxn_","googleEOSAvCxn")),""==this.aviextcxn_&&(this.aviextcxn_=String(a._aviextcxn_||qW(a,"googleAvExtCxn")||"")),""==this.activeviewCid_&&(this.activeviewCid_=String(a._cid_||"")),this.immediatePingEnabled||(this.immediatePingEnabled=!!a._imm_||jwb(a,"googleAvImmediate")),""==this.cpmavViewUrl&&(this.cpmavViewUrl=String(a._cvu_||qW(a,"googleAvCpmav")||"")),""==this.beginToRenderUrl&&(this.beginToRenderUrl=String(qW(a,"googleAvBtr")||
"")),this.JSC$40942_processActiveViewMetadata(String(a._avm_||qW(a,"googleAvMetadata")||"")),a=String(qW(a,"googleAvFlags")||""),HW(),"string"===typeof a&&0!=a.length)try{var p=JSON.parse(a)[0];a="";for(b=0;b<p.length;b++)a+=String.fromCharCode(p.charCodeAt(b)^"\u0003\u0007\u0003\u0007\b\u0004\u0004\u0006\u0005\u0003".charCodeAt(b%10));JSON.parse(a)}catch(r){}Dwb(HW().featureSet,this.adUrl)};
_.q(cX,$W);var oyb=function(a,b,c){return(a=String(a[b]||qW(a,c)||""))?a.split("|"):[]};
cX.prototype.disposeInternal=function(){delete this.listenerWindows;$W.prototype.disposeInternal.call(this)};
var pyb=function(a){var b={},c=HW();1!==xW(c.featureSet,"omid")&&_.pd(a.pings_,function(d){return d.maybeSend(a,b)})};
_.f=cX.prototype;_.f.isReadyForMeasurement=function(){return this.elementLoaded_&&!(1==this.measurementDeferralState_||3==this.measurementDeferralState_)};
_.f.resetFractionOnScreenValues=function(){$W.prototype.resetFractionOnScreenValues.call(this)};
_.f.setElementLoaded=function(){this.elementLoaded_||(Wvb(),void 0!==this.metricsChangeCallback_&&this.metricsChangeCallback_(!1,this.loadTimeExposure),null!=this.beginToRenderUrl&&""!=this.beginToRenderUrl&&(dwb(this.beginToRenderUrl),this.beginToRenderUrl=""));$W.prototype.setElementLoaded.call(this)};
_.f.JSC$40942_processActiveViewMetadata=function(a){if("string"===typeof a&&0!=a.length){var b=new vW,c=HW();wW(b,"omid",sW);Bwb(b,a);b=xW(b,"omid");null!==b&&(c.featureSet.forcedFeatures_.omid=b);a=Bwb(this.featureSet,a);c=a.split("&");for(b=0;b<c.length;b++){var d=c[b];"ts=0"==d?this.shouldSendTimeOnScreenPing=!1:_.hi(d,"la=")?(d=d.split("=")[1],"0"==d?this.largeAdState_=2:"1"==d&&(this.largeAdState_=1)):_.hi(d,"cr=")&&"1"==d.split("=")[1]&&(this.isCoReRequest=!0)}this.lastAdState.isLargeAd=this.isLargeAd();
$W.prototype.JSC$40942_processActiveViewMetadata.call(this,a)}};
_.f.updateInternal=function(a,b,c,d,e,h,l){var m=ZW(this.measurementData),p=Math.floor(100*this.lastAdState.exposure);this.largeAdState_=242500<=dV(aX(this))?1:2;$W.prototype.updateInternal.call(this,a,b,c,d,e,h,l);-1==this.wasBackgrounded_&&-1!=this.lastAdState.backgroundedState?this.wasBackgrounded_=this.lastAdState.backgroundedState:0==this.wasBackgrounded_&&1==this.lastAdState.backgroundedState&&(this.wasBackgrounded_=1);a=ZW(this.measurementData);b=Math.floor(100*this.lastAdState.exposure);(!m&&
a||b!=p)&&void 0!==this.metricsChangeCallback_&&this.metricsChangeCallback_(a,b);try{this.opacity=myb(this.creativeSearchResults.monitoredElement)}catch(r){}};
_.f.isLargeAd=function(){return _.gpa?!1:1==this.largeAdState_};
var qyb=function(a,b){switch(b){case 1:if(a.avicxn_.length)return a.avicxn_;break;case 2:if(a.avieoscxn_.length)return a.avieoscxn_;if(a.avicxn_.length)return a.avicxn_}return[]},syb=function(a){var b=eV(),c=Awb(a.featureSet),d=b.frameOffset,e=aX(a);
c.p=[e.top+d.y,e.left+d.x,e.bottom+d.y,e.right+d.x];d=a.measurementData;c.tos=Xxb(d.timeOnScreen);e=Yxb(d.timeOnScreen);c.mtos=e;c.mcvt=d.viewTime_.maxConsecutive_;c.rs=a.requestSource;(e=5==a.requestSource)||(c.ht=a.hoverTime_);0<=a.timeFirstSeen&&(c.tfs=a.timeFirstSeen,c.tls=a.timeLastSeen);c.mc=vxb(d.maxExposure_);c.lte=vxb(a.loadTimeExposure);c.bas=a.backgroundedAtStart_;c.bac=a.wasBackgrounded_;b.insideCrossDomainIframe&&(c["if"]=a.isUnmeasurableImpression?0:1);c.met=a.creativeSearchResults.creativeSearchState;
e&&a.adUrl&&(c.req=encodeURIComponent(a.adUrl).substring(0,100));a.isLargeAd()&&(c.la="1");c.avms=a.measurementStrategy?a.measurementStrategy.getName():"ns";a.measurementStrategy&&_.u.extend(c,a.measurementStrategy.getLogParams());0!=a.measurementDeferralState_&&(c.md=a.measurementDeferralState_);c.btr=null!=a.beginToRenderUrl&&""!=a.beginToRenderUrl?1:0;c.cpmav=ryb(a)?1:0;FW().pageVisibility.isVisible()||(c.pv=0);return c},ryb=function(a){return null!=a.cpmavViewUrl&&null!=a.cpmavViewUrl.match(/\/pagead\/adview\?.*ai=.*&vt=\d+/i)};
cX.prototype.JSC$40942_requiresVolume=function(){return!1};
var uyb=function(a){var b=[0,2,4],c=!1,d=dX;c=void 0===c?!0:c;d=void 0===d?function(){return!0}:d;
return function(e){var h=e[a];if(Array.isArray(h)&&d(e))return tyb(h,b,c)}},eX=function(a,b){return function(c){return b(c)?c[a]:void 0}},vyb=function(a){return function(b){for(var c=0;c<a.length;c++)if(a[c]===b.e||void 0===a[c]&&!b.hasOwnProperty("e"))return!0;
return!1}},tyb=function(a,b,c){return void 0===c||c?_.St(a,function(d,e){return _.ha(b,e)}):_.id(b,function(d,e,h){return a.slice(0<e?h[e-1]+1:0,d+1).reduce(function(l,m){return l+m},0)})};
var fX=vyb([void 0,1,2,3,4,8,16]),dX=vyb([void 0,4,8,16]);
Object.assign({},{sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:eX("p0",dX),p1:eX("p1",dX),p2:eX("p2",dX),p3:eX("p3",dX),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:uyb("mtos1"),mtos2:uyb("mtos2"),mtos3:uyb("mtos3"),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:eX("a0",dX),a1:eX("a1",dX),a2:eX("a2",dX),a3:eX("a3",dX),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",
vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:eX("c0",dX),c1:eX("c1",dX),c2:eX("c2",dX),c3:eX("c3",dX),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:eX("qmtos",fX),qnc:eX("qnc",fX),qmv:eX("qmv",fX),qnv:eX("qnv",fX),raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",
emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:eX("ss0",dX),ss1:eX("ss1",dX),ss2:eX("ss2",dX),ss3:eX("ss3",dX),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia"},{avid:_.aWa("audio"),avas:"avas",vs:"vs"});
var gX=function(a,b,c,d){VW.call(this,a,b,c,d)};
_.q(gX,VW);_.f=gX.prototype;_.f.calculateElementGeometry=function(){if(this.element){var a=this.element,b=this.JSC$40894_viewportProvider.effectiveViewportProvider.JSC$40890_win;try{try{var c=wxb(a.getBoundingClientRect())}catch(r){c=new _.Xt(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,h=dub(a,b),l=h.x,m=h.y;var p=new _.Xt(Math.round(m),Math.round(l+d),Math.round(m+e),Math.round(l))}catch(r){p=cyb.clone()}this.elementGeometry=p}};
_.f.calculateFrameVisibleGeometry=function(){this.frameVisibleGeometry=this.JSC$40894_viewportProvider.currentObservation.JSC$40874_visibleGeometry};
_.f.isElementHidden=function(a){var b=1==xW(this.featureSet,"od");return qvb(a,this.frameVisibleGeometry,this.element,b)};
_.f.calculateMeasurement=function(){this.timestamp=QW();this.calculateElementGeometry();if(this.element&&"number"===typeof this.element.videoWidth&&"number"===typeof this.element.videoHeight){var a=this.element,b=new _.gk(a.videoWidth,a.videoHeight);this.containerGeometry=this.elementGeometry;a=this.elementGeometry;var c=a.getWidth(),d=a.getHeight(),e=b.width;b=b.height;0>=e||0>=b||0>=c||0>=d||(e/=b,b=c/d,a=a.clone(),e>b?(c/=e,d=(d-c)/2,0<d&&(d=a.top+d,a.top=Math.round(d),a.bottom=Math.round(d+c))):
(d*=e,c=Math.round((c-d)/2),0<c&&(c=a.left+c,a.left=Math.round(c),a.right=Math.round(c+d))));this.elementGeometry=a}this.calculateFrameVisibleGeometry();a=this.elementGeometry;c=this.frameVisibleGeometry;a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new _.Xt(Math.max(a.top,c.top),Math.min(a.right,c.right),Math.min(a.bottom,c.bottom),Math.max(a.left,c.left)):new _.Xt(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new _.Xt(0,0,0,0):a;a=this.JSC$40894_viewportProvider.currentObservation;
b=e=d=0;0<(this.elementGeometry.bottom-this.elementGeometry.top)*(this.elementGeometry.right-this.elementGeometry.left)&&(this.isElementHidden(c)?c=new _.Xt(0,0,0,0):(d=eV().screenSize,b=new _.Xt(0,d.height,d.width,0),d=lvb(c,this.elementGeometry),e=lvb(c,eV().browserViewportBox),b=lvb(c,b)));c=c.top>=c.bottom||c.left>=c.right?new _.Xt(0,0,0,0):c.translate(-this.elementGeometry.left,-this.elementGeometry.top);Bxb()||(e=d=0);this.currentMeasurement=new RW(a,this.element,this.elementGeometry,c,d,e,
this.timestamp,b)};
_.f.getName=function(){return this.JSC$40894_viewportProvider.getName()};
var wyb=function(){this.videoInstreamAdBlocks_=[];this.displayAdBlocks_=[]},xyb=function(a){var b=hX;
return a?_.ht(b.displayAdBlocks_,function(c){return c.creativeSearchResults.markedUpElement==a}):null},yyb=function(a){return _.ht(a.displayAdBlocks_,function(){return!1})},iX=function(){var a=hX;
return 0==a.videoInstreamAdBlocks_.length?a.displayAdBlocks_:0==a.displayAdBlocks_.length?a.videoInstreamAdBlocks_:_.b4a(a.displayAdBlocks_,a.videoInstreamAdBlocks_)};
wyb.prototype.reset=function(){this.videoInstreamAdBlocks_=[];this.displayAdBlocks_=[]};
var zyb=function(a,b){a=a.displayAdBlocks_;var c=_.eFa(a,function(d){return d==b});
return-1!=c?(a.splice(c,1),b.measurementStrategy&&b.measurementStrategy.JSC$40896_unobserve(),b.dispose(),!0):!1},Ayb=function(a){var b=hX;
if(zyb(b,a)){a=function(){return null};
a=function(){return yyb(b)};
for(var c=a();c;c=a())zyb(b,c)}},Byb=function(a){var b=[];
_.pd(a,function(c){c.creativeSearchResults.markedUpElement&&null==xyb(c.creativeSearchResults.markedUpElement)&&(hX.displayAdBlocks_.push(c),b.push(c))})},hX=_.gm(wyb);
var jX=function(){this.JSC$40966_selectedStrategy_=this.availableStrategies_=null},Cyb=function(a,b){if(null==a.availableStrategies_)return!1;
var c=function(d,e){b(d,e)};
a.JSC$40966_selectedStrategy_=_.ht(a.availableStrategies_,function(d){return null!=d&&d.JSC$40899_shouldBeUsedForMeasurement()});
a.JSC$40966_selectedStrategy_&&(a.JSC$40966_selectedStrategy_.init(c)?Dxb(a.JSC$40966_selectedStrategy_.JSC$40897_viewportProvider):b(a.JSC$40966_selectedStrategy_.JSC$40897_viewportProvider.getFailureCode(),a.JSC$40966_selectedStrategy_));return null!=a.JSC$40966_selectedStrategy_};
var Eyb=function(a){a=Dyb(a);WW.call(this,a.length?a[a.length-1]:new SW(_.Zk,0));this.selectedProviders_=a;this.activeProvider_=null};
_.q(Eyb,WW);_.f=Eyb.prototype;_.f.getName=function(){return(this.activeProvider_?this.activeProvider_:this.JSC$40897_viewportProvider).getName()};
_.f.getLogParams=function(){return(this.activeProvider_?this.activeProvider_:this.JSC$40897_viewportProvider).getLogParams()};
_.f.getVisibleGeometryCapability=function(){return(this.activeProvider_?this.activeProvider_:this.JSC$40897_viewportProvider).getVisibleGeometryCapability()};
_.f.init=function(a){var b=!1;_.pd(this.selectedProviders_,function(c){c.initialize()&&(b=!0)});
b&&(this.failureCallback=a,UW(this.JSC$40897_viewportProvider,this));return b};
_.f.dispose=function(){_.pd(this.selectedProviders_,function(a){a.dispose()});
WW.prototype.dispose.call(this)};
_.f.JSC$40899_shouldBeUsedForMeasurement=function(){return _.hj(this.selectedProviders_,function(a){return a.JSC$40892_canBeUsed()})};
_.f.JSC$40899_canBeUsed=function(){return _.hj(this.selectedProviders_,function(a){return a.JSC$40892_canBeUsed()})};
_.f.JSC$40899_createInstance=function(a,b,c){return new gX(a,this.JSC$40897_viewportProvider,b,c)};
_.f.handleViewportObservationUpdate=function(a){this.activeProvider_=a.originatingProvider};
var Dyb=function(a){if(!a.length)return[];a=_.St(a,function(c){return null!=c&&c.JSC$40892_canBeUsed()});
for(var b=1;b<a.length;b++)UW(a[b-1],a[b]);return a};
var Fyb={threshold:[0,.3,.5,.75,1]},kX=function(a,b,c,d){VW.call(this,a,b,c,d);this.observationStart_=this.firstObservation_=this.mutationObserver_=this.resizeObserver_=this.observer_=null};
_.q(kX,gX);kX.prototype.observe=function(){var a=this;this.observationStart_||(this.observationStart_=QW());if(pvb(298,function(){return Gyb(a)}))return!0;
this.JSC$40894_viewportProvider.fail("msf");return!1};
kX.prototype.JSC$40896_unobserve=function(){if(this.observer_&&this.element)try{this.observer_.unobserve(this.element),this.resizeObserver_?(this.resizeObserver_.unobserve(this.element),this.resizeObserver_=null):this.mutationObserver_&&(this.mutationObserver_.disconnect(),this.mutationObserver_=null)}catch(a){}};
var Hyb=function(a){return a.observer_&&a.observer_.takeRecords?a.observer_.takeRecords():[]},Gyb=function(a){if(!a.element)return!1;
var b=a.element,c=a.JSC$40894_viewportProvider.effectiveViewportProvider.JSC$40890_win,d=HW().monitor_.stopwatch_;a.observer_=new c.IntersectionObserver(GW(d,function(e){return lX(a,e)}),Fyb);
d=GW(d,function(){a.observer_.unobserve(b);a.observer_.observe(b);lX(a,Hyb(a))});
c.ResizeObserver?(a.resizeObserver_=new c.ResizeObserver(d),a.resizeObserver_.observe(b)):c.MutationObserver&&(a.mutationObserver_=new _.g.MutationObserver(d),a.mutationObserver_.observe(b,{attributes:!0,childList:!0,characterData:!0,subtree:!0}));a.observer_.observe(b);lX(a,Hyb(a));return!0},lX=function(a,b){try{if(b.length){a.firstObservation_||(a.firstObservation_=QW());
var c=Iyb(b),d=dub(a.element,a.JSC$40894_viewportProvider.effectiveViewportProvider.JSC$40890_win),e=d.x,h=d.y;a.elementGeometry=new _.Xt(Math.round(h),Math.round(e)+c.boundingClientRect.width,Math.round(h)+c.boundingClientRect.height,Math.round(e));var l=wxb(c.intersectionRect);a.frameVisibleGeometry=l.translate(a.elementGeometry.left-l.left,a.elementGeometry.top-l.top)}}catch(m){a.JSC$40896_unobserve(),NW.maybeReportError(299,m,void 0,void 0)}},Iyb=function(a){return _.gj(a,function(b,c){return b.time>
c.time?b:c},a[0])};
_.f=kX.prototype;_.f.calculateMeasurement=function(){var a=Hyb(this);0<a.length&&lX(this,a);gX.prototype.calculateMeasurement.call(this)};
_.f.calculateElementGeometry=function(){};
_.f.isElementHidden=function(){return!1};
_.f.calculateFrameVisibleGeometry=function(){};
_.f.getLogParams=function(){var a={};return Object.assign(this.JSC$40894_viewportProvider.getLogParams(),(a.niot_obs=this.observationStart_,a.niot_cbk=this.firstObservation_,a))};
_.f.getName=function(){return"nio"};
var mX=function(a){a=void 0===a?_.Zk:a;WW.call(this,new SW(a,2))};
_.q(mX,WW);mX.prototype.getName=function(){return"nio"};
mX.prototype.JSC$40899_canBeUsed=function(){return!eV().inAppContext&&null!=this.JSC$40897_viewportProvider.effectiveViewportProvider.JSC$40890_win.IntersectionObserver};
mX.prototype.JSC$40899_createInstance=function(a,b,c){return new kX(a,this.JSC$40897_viewportProvider,b,c)};
var nX=function(){var a=Jyb();SW.call(this,_.Zk.top,a,"geo")};
_.q(nX,SW);nX.prototype.getUpdatedVisibleGeometry=function(){return eV().browserViewportBox};
nX.prototype.JSC$40892_canBeUsed=function(){var a=Jyb();this.inherentVisibleGeometryCapability_!==a&&(this.effectiveViewportProvider!=this&&a>this.effectiveViewportProvider.inherentVisibleGeometryCapability_&&(this.effectiveViewportProvider=this,TW(this)),this.inherentVisibleGeometryCapability_=a);return 2==a};
var Jyb=function(){HW();var a=eV();return a.insideCrossDomainIframe||a.inAppContext?0:2};
var Kyb=function(){};
var Lyb=function(){this.done=!1;this.dbg={adBlocksRegistered:0,adBlocksFound:0,scrollTime:0,displayUpdates:0,initTime:-1,creativeOnLoadSearches:0,creativeOnDCLSearches:0,creativesAfterFirstSearch:0};this.protectedHandleTabVisibilityEvent_=null;this.startMonitored_=!1;this.JSC$40988_pingId_="";this.currentPageStats_=null;this.tabInViewTime_=0;this.JSC$40988_sampler=new Cxb(this)},Nyb=function(){var a=oX;
a.startMonitored_||(a.startMonitored_=!0,Myb(a,function(){return a.handleTabVisibilityChange.apply(a,_.sc(_.Ob.apply(0,arguments)))}),a.handleTabVisibilityChange())};
Lyb.prototype.sample=function(){Oyb(this,iX(),!1)};
var Pyb=function(){_.gm(Kyb);var a=_.gm(jX);null!=a.JSC$40966_selectedStrategy_&&a.JSC$40966_selectedStrategy_.JSC$40897_viewportProvider?Dxb(a.JSC$40966_selectedStrategy_.JSC$40897_viewportProvider):eV().update(_.Zk)},Qyb=function(a,b){a=a.JSC$40988_pingId_;
cxb(MW,a,b,"jserror"!=a)},Oyb=function(a,b,c){if(!a.done&&(a.JSC$40988_sampler.cancel(),0!=b.length)){a.currentPageStats_=null;
try{Pyb();var d=QW(),e=HW();e.firstPollingTime=d;if(null!=_.gm(jX).JSC$40966_selectedStrategy_)for(e=0;e<b.length;e++)hyb(b[e],d,c);else Qyb(a,{strategy_not_selected:1,bin:e.binaryContext});for(d=0;d<b.length;d++)iyb(b[d]);++a.dbg.displayUpdates}finally{c?_.pd(b,function(h){return h.resetFractionOnScreenValues()}):a.JSC$40988_sampler.schedule()}}},Myb=function(a,b){if(!a.protectedHandleTabVisibilityEvent_){b=lxb(142,b);
FW();var c=Cvb();c&&EU(_.Yk,c,b,{capture:!1})&&(a.protectedHandleTabVisibilityEvent_=b)}};
Lyb.prototype.handleTabVisibilityChange=function(){var a=Bxb(),b=QW();a?(PW||(qxb=b,_.pd(hX.videoInstreamAdBlocks_,function(c){return c.measurementData.updateVideoHiddenTime(b,!c.isMeasuring())})),PW=!0):(this.tabInViewTime_=Ryb(this,b),PW=!1,_.pd(hX.videoInstreamAdBlocks_,function(c){c.isReadyForMeasurement()&&c.measurementData.setTimeVideoBecameHidden(b)}));
Oyb(this,iX(),!a)};
var pX=function(a){var b=oX;if(!b.currentPageStats_||a){a=_.Zk.document;var c=0<=OW?QW()-OW:-1,d=QW();-1==b.dbg.initTime&&(c=d);var e=eV(),h=HW(),l=Awb(h.featureSet),m=iX();try{if(0<m.length){var p=e.browserViewportBox;p&&(l.bs=[p.getWidth(),p.getHeight()]);var r=e.documentSize;r&&(l.ps=[r.width,r.height]);_.Zk.screen&&(l.scs=[_.Zk.screen.width,_.Zk.screen.height])}else l.url=encodeURIComponent(_.Zk.location.href.substring(0,512)),a.referrer&&(l.referrer=encodeURIComponent(a.referrer.substring(0,
512)));l.tt=c;l.pt=OW;l.bin=h.binaryContext;void 0!==_.Zk.google_osd_load_pub_page_exp&&(l.olpp=_.Zk.google_osd_load_pub_page_exp);l.deb=[1,b.dbg.adBlocksRegistered,b.dbg.adBlocksFound,b.dbg.displayUpdates,b.dbg.initTime,0,b.JSC$40988_sampler.samplingCount_,b.dbg.creativeOnLoadSearches,b.dbg.creativeOnDCLSearches,b.dbg.creativesAfterFirstSearch].join("-");l.tvt=Ryb(b,d);e.inAppContext&&(l.inapp=1);if(null!==_.Zk&&_.Zk!=_.Zk.top){0<m.length&&(l.iframe_loc=encodeURIComponent(_.Zk.location.href.substring(0,
512)));var v=e.frameViewportBox;l.is=[v.getWidth(),v.getHeight()]}}catch(z){l.error=1}b.currentPageStats_=l}b=_.u.clone(b.currentPageStats_);r=HW().monitor_;p=_.u.extend;1==xW(r.featureSet_,"prf")?(v=new Wwb,a=r.stopwatch_,c=0,-1<a.enterTime_&&(c=a.JSC$40844_context_.performance_.now()-a.enterTime_),v=_.Pa(v,1,a.accumulatedTime_+c,0),a=r.stopwatch_,v=_.Kt(v,5,-1<a.enterTime_?a.threadEntryCount_+1:a.threadEntryCount_),v=_.Kt(v,2,r.JSC$40849_context_.performance_.JSC$40818_getUsedHeapSize()),v=_.Kt(v,
3,r.JSC$40849_context_.performance_.JSC$40818_getTotalHeapSize()),r=_.Kt(v,4,r.JSC$40849_context_.performance_.JSC$40818_getHeapSizeLimit()),v={},r=(v.pf=_.Ia(_.Xpa(r,Xwb)),v)):r={};p.call(_.u,b,r);return b},Syb=function(){_.pd(iX(),function(a){a.creativeSearchResults.markedUpElement&&_.gm(Kyb)})},Tyb=function(){var a=_.gm(jX);
if(null!=a.JSC$40966_selectedStrategy_){var b=a.JSC$40966_selectedStrategy_;_.pd(iX(),function(c){return gyb(c,b)})}},Ryb=function(a,b){a=a.tabInViewTime_;
PW&&(a+=b-qxb);return a},Uyb=function(){var a=void 0===a?function(){return{}}:a;
NW.errorTypeId_="av-js";MW.defaultReportFreq_=.01;nxb([function(b){var c=HW(),d={};_.u.extend(b,(d.bin=c.binaryContext,d.type="error",d),Awb(c.featureSet),pX(),a());if(c=Qxb())d={},_.u.extend(b,(d.v=encodeURIComponent(c),d))}])},oX=_.gm(Lyb);
var Vyb=null,Wyb=function(a){var b=Vyb||_.Zk;if(!b)return"";var c=[];if(void 0===a||!a){if(!b.location||!b.location.href)return"";c.push("url="+encodeURIComponent(b.location.href.substring(0,512)))}b.document&&b.document.referrer&&c.push("referrer="+encodeURIComponent(b.document.referrer.substring(0,512)));return c.join("&")};
var Xyb=function(a){var b={};b.adk=a.adk||1;_.u.extend(b,syb(a));oX.dbg.adBlocksRegistered=_.Zk.__google_lidar_;var c=pX();_.u.extend(b,c);c=Wyb(void 0!==c.url);_.Aj(c,function(d,e){return b[d]=e});
b.itpl=Number(qW(a.creativeSearchResults.markedUpElement,"googleAvItpl"))||0;return b};
var Yyb=function(a){this.buildAdMetrics_=a},Zyb=function(a,b,c){return 14===c.requestSource||16===c.requestSource||17===c.requestSource?(c={},c.VIEWABILITY=b,_.kD(a,c)):a+"&"+b};
Yyb.prototype.report=function(a,b,c){var d=this.buildAdMetrics_(a);(0,_.u.extend)(d,(0,_.u.filter)(c,function(e,h){return"id"!=h}));
d=void 0!==d?Lxb(Jxb(new XW,d)):"";b=Nxb(c.id,qyb(a,b),a.avi_,a.activeviewCid_,a.avihost_);b=_.k(b);for(c=b.next();!c.done;c=b.next())if(c=c.value)c=Zyb(c,d,a),1==xW(a.featureSet,"sbeos")?Pxb(c)||YW(c.toString()+"&sberr=1"):YW(c);return!0};
var $yb=function(){},azb=function(a,b,c){return 14===c.requestSource||16===c.requestSource||17===c.requestSource?(c={},c.VIEWABILITY=b,_.kD(a,c)):a+"&"+b};
$yb.prototype.report=function(a,b,c){var d=Xyb(a);(0,_.u.extend)(d,(0,_.u.filter)(c,function(e,h){return"id"!=h}));
d=void 0!==d?Lxb(Jxb(new XW,d)):"";b=Nxb(c.id,qyb(a,b),a.avi_,a.activeviewCid_,a.avihost_);b=_.k(b);for(c=b.next();!c.done;c=b.next())if(c=c.value)c=azb(c,d,a),YW(c);return!0};
var qX=function(a,b){this.sent_=!1;this.reporter_=a;this.JSC$41006_pingId_=b};
_.q(qX,nyb);qX.prototype.maybeSendOneTimePing=function(a,b){b.id=this.JSC$41006_pingId_;b.vs=bX(a);var c="lidar2"===this.JSC$41006_pingId_?1:2;return this.meetsCriteria(a)?this.reporter_.report(a,c,b):!1};
qX.prototype.meetsCriteria=function(){return!0};
var rX=function(a){qX.call(this,a,"lidartos")};
_.q(rX,qX);rX.prototype.maybeSendOneTimePing=function(a,b){var c="";a.activeviewPingSent&&(c+="a");a.cpmavViewUrlInvoked&&(c+="c");b.sent=c;return qX.prototype.maybeSendOneTimePing.call(this,a,b)};
rX.prototype.meetsCriteria=function(a){return a.shouldSendTimeOnScreenPing&&!a.isUnmeasurableImpression&&ZW(a.measurementData)};
var bzb=function(a){qX.call(this,a,"lidar2")};
_.q(bzb,qX);bzb.prototype.meetsCriteria=function(a){return a.isUnmeasurableImpression};
var czb=function(a,b,c){var d=Wyb(void 0!==b.url);_.Aj(d,function(e,h){return b[e]=h});
_.pd(a,function(e,h){var l=bX(e);if(3!=l||5!=e.requestSource)b.adk=e.adk||h+1,_.u.extend(b,syb(e)),c&&(b.avms=c.getName()),b.vs=l,b.itpl=Number(qW(e.creativeSearchResults.markedUpElement,"googleAvItpl"))||0,h=new Yyb(function(){return _.u.clone(b)}),e.shouldSendTimeOnScreenPing&&!e.isUnmeasurableImpression&&ZW(e.measurementData)?(l={},h.report(e,2,(l.id="lidar2",l.tsf=1,l)),e.shouldSendTimeOnScreenPing=!1):(l={},h.report(e,1,(l.id="lidar2",l)),e.activeviewPingSent=!0)})},dzb=function(a,b){_.pd(a,
function(c,d){(new rX(new Yyb(function(){b.adk=c.adk||d+1;
_.u.extend(b,syb(c));b.vs=bX(c);b.itpl=Number(qW(c.creativeSearchResults.markedUpElement,"googleAvItpl"))||0;return b}))).maybeSend(c);
c.shouldSendTimeOnScreenPing=!1})};
var sX=function(a){qX.call(this,a,"lidar2")};
_.q(sX,qX);sX.prototype.maybeSend=function(a,b){b=void 0===b?{}:b;b.r="v";qX.prototype.maybeSend.call(this,a,b);a.activeviewPingSent=a.activeviewPingSent||this.sent_};
sX.prototype.meetsCriteria=function(a){return ZW(a.measurementData)&&!a.activeviewPingSent};
var tX=function(){this.JSC$41025_hasStarted=this.JSC$41025_isInitialized_=!1;Uyb()};
tX.prototype.initialize=function(){this.JSC$41025_isInitialized_||(this.JSC$41025_isInitialized_=!0,oX.JSC$40988_pingId_="lidar",byb(_.Zk,"unload",function(){uX("u")},171),1==xW(HW().featureSet,"phell")&&byb(_.Zk,"pagehide",function(){uX("ph")},498))};
var ezb=function(){return _.hj(hX.displayAdBlocks_,function(a){return!a.activeviewPingSent||a.shouldSendTimeOnScreenPing||(0>=dV(aX(a))?!1:ryb(a)&&!a.cpmavViewUrlInvoked)})},fzb=function(){if(!ezb()){oX.done=!0;
hX.reset();var a=oX;a.startMonitored_=!1;if(a.protectedHandleTabVisibilityEvent_){FW();var b=Cvb();b&&DU(_.Yk,b,a.protectedHandleTabVisibilityEvent_);a.protectedHandleTabVisibilityEvent_=null}a=iX();for(var c=0;c<a.length;++c)b=a[c],b.creativeSearchResults.monitoredElement&&fyb(b);a=_.gm(jX);null!=a.JSC$40966_selectedStrategy_&&(a.JSC$40966_selectedStrategy_.dispose(),a.JSC$40966_selectedStrategy_=null)}};
tX.prototype.startup=function(a){a=void 0===a?!0:a;try{if(this.JSC$41025_hasStarted||oX.done)var b=!1;else Uwb()?b=!0:(uX("c"),b=!1);if(b){this.JSC$41025_hasStarted=!0;var c=eV(),d=QW();OW=d;HW().pollingFrequencyScheme=947190542;Vyb=zvb();var e=oX.dbg;e.initTime=QW()-d;e.adBlocksFound=0;a&&gzb(this,d);var h=hX.displayAdBlocks_;e.adBlocksFound=h.length;_.Zk.__google_lidar_adblocks_count_=h.length;if(c.inAppContext||_.nj(_.ua(),"CrKey")||_.nj(_.ua(),"PlayStation")||_.nj(_.ua(),"Roku")||ivb()||_.nj(_.ua(),
"Xbox")||jvb()||kvb()||!Mwb(FW().pageVisibility))if(1>h.length)uX("n");else{Syb();var l=_.gm(jX);if(null==l.availableStrategies_){var m=hzb();l.availableStrategies_=m}Cyb(l,function(p,r){vX(p,r)})?oX.done||(izb(),Tyb(),Nyb()):c.inAppContext?vX("w"):vX("i")}else vX("pv")}}catch(p){throw hX.reset(),uX("x"),p;
}};
var jzb=function(a){var b=hX.displayAdBlocks_;HW().unmeasurableReason=a;_.pd(b,function(c){return c.isUnmeasurableImpression=!0})},izb=function(){FW().setTimeout(oxb(176,function(){return uX("t")}),36E5)},vX=function(a,b){jzb(a);
uX(a,b)},uX=function(a,b){var c=HW();
if(1===xW(c.featureSet,"omid")){if("w"!==a&&"i"!==a)return}else if(c.isSellsideGma)return;oX.JSC$40988_sampler.cancel();if(!oX.done&&(c=hX.displayAdBlocks_,Oyb(oX,c,!0),!oX.done)){var d=_.St(c,function(h){return!h.activeviewPingSent}),e={};
a=(e.r=a,e);b&&_.u.extend(a,b.getLogParams());oX.dbg.adBlocksRegistered=_.Zk.__google_lidar_;e=pX(!1);_.u.extend(a,e);0==d.length||czb(d,a,b);dzb(c,a);oX.done=!0}},kzb=function(a,b,c,d){var e=HW(),h=new cX(_.Zk,"",b,d,c,_.dj,[],[new sX(new $yb)]);
c=e.monitor_.stopwatch_;jyb(h,GW(c,function(){return a.handleMeasurementUpdate_.apply(a,_.sc(_.Ob.apply(0,arguments)))}),GW(c,function(){return a.handleUnmeasurableImpression_.apply(a,_.sc(_.Ob.apply(0,arguments)))}));
Byb([h]);ktb(b,GW(c,function(){if(h&&!h.isDisposed()){if(HW().unmeasurableReason){var l=HW().unmeasurableReason;a.handleUnmeasurableImpression_(h,l)}else h.setElementLoaded();if(h.creativeSearchResults.markedUpElement){l=h.creativeSearchResults;var m=!0,p=!0;m=void 0===m?!1:m;p=void 0===p?!1:p;l.monitoredElement=l.markedUpElement;l.creativeSearchState="mue";if(!yW(l.markedUpElement)){var r=Jwb(l.markedUpElement),v=Jwb(l.markedUpElement,!1);yW(v);yW(r)?(l.monitoredElement=r,l.creativeSearchState="ie"):
m&&(p||_.Zk!==_.Zk.top)&&(m=Kwb(),1==m.length&&(l.monitoredElement=m[0],l.creativeSearchState="ce"))}}a.JSC$41025_hasStarted?(l=_.gm(jX),null!=l.JSC$40966_selectedStrategy_&&gyb(h,l.JSC$40966_selectedStrategy_),h.creativeSearchResults.markedUpElement&&_.gm(Kyb)):a.startup()}}),function(l,m,p){byb(l,m,p,177)});
return h},mzb=function(a,b,c){c=void 0===c?QW():c;
a.initialize();!b._avi_&&b.id&&_.u.forEach(_.Zk[b.id+"_avData"],function(e,h){h in Object.prototype||"undefined"==typeof e||(b[h]=e)});
var d=lzb(b);return 0==d||null!=xyb(b)?null:kzb(a,b,d,c)},gzb=function(a,b){var c=[];
_.pd([],function(d){(d=mzb(a,d,b))&&c.push(d)})},lzb=function(a){if(!a)return 0;
var b=qW(a,"googleAvRs");if(null!=b)switch(Number(b)){case 6:return 5;case 9:return HW().isSellsideGma=!0,8;case 15:return 14;case 16:return 15;case 17:return 16;case 18:return 17;default:return 0}if(!a.id)return 0;a=a.id;return _.hi(a,"DfaVisibilityIdentifier")?5:_.hi(a,"YtKevlarVisibilityIdentifier")?14:_.hi(a,"YtSparklesVisibilityIdentifier")?16:_.hi(a,"YtKabukiVisibilityIdentifier")?17:0};
tX.prototype.handleUnmeasurableImpression_=function(a,b){if(a&&!oX.done&&(a.isUnmeasurableImpression=!0,!a.activeviewPingSent)){var c=new bzb(new $yb),d={};c.maybeSend(a,(d.vs=bX(a),d.r=b,d));a.activeviewPingSent=c.sent_}fzb()};
tX.prototype.handleMeasurementUpdate_=function(a){a&&(!oX.done&&a instanceof cX&&(pyb(a),!oX.done&&ZW(a.measurementData)&&(0>=dV(aX(a))?0:ryb(a)&&!a.cpmavViewUrlInvoked)&&a.cpmavViewUrl&&(dwb(a.cpmavViewUrl),a.cpmavViewUrlInvoked=!0)),fzb())};
var wX=function(){tX.call(this)};
_.q(wX,tX);var hzb=function(){var a=[_.gm(nX)];return[new mX(_.Zk),new Eyb(a)]};
wX.prototype.initialize=function(){HW().binaryContext=8;tX.prototype.initialize.call(this)};
var xX,nzb=function(){return _.vt.apply(this,arguments)||this};
_.q(nzb,_.vt);_.f=nzb.prototype;_.f.enableActiveViewMeasurement=function(a,b){if(this.isActiveViewEnabled(a))if(_.x("kevlar_av_eliminate_polling")){if(a){b=this.getUrlPrefixesFromCommand(a.viewableCommands);var c=this.getUrlPrefixesFromCommand(a.endOfSessionCommands);xX||(xX=new nwb(this.getVersion()));xX.elementsToUnregister.next(this);a=xX;b=new mwb(this,b,c);a.creatives.next(b)}}else this.registerAdForMonitoring(a,b)};
_.f.isActiveViewEnabled=function(a){return null!=a&&(this.hasAtLeastOneUrl(a.viewableCommands)||this.hasAtLeastOneUrl(a.endOfSessionCommands))};
_.f.hasAtLeastOneUrl=function(a){return!!a&&0<a.length&&null!=a[0].loggingUrls&&0<a[0].loggingUrls.length};
_.f.getVersion=function(){var a=_.w("INNERTUBE_CONTEXT_CLIENT_VERSION","").match(/^\d+\.(\d{8})/);return 2===(null==a?void 0:a.length)?a[1]:null};
_.f.appendClientVersion=function(a){if(/&v=[^&]+/.test(a))return a;var b=_.w("INNERTUBE_CONTEXT_CLIENT_VERSION","");return""===b?a:a+"&v="+encodeURIComponent(b)};
_.f.getUrlPrefixesFromCommand=function(a){if(!a)return[];var b=[];a=_.k(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=_.k(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())d=d.value,d.baseUrl&&b.push(d.baseUrl)}return b};
_.f.setPingUrlAttribute=function(a,b){var c=[];if(a){a=_.k(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.loggingUrls){d=_.k(d.loggingUrls);for(var e=d.next();!e.done;e=d.next())e=e.value,e.baseUrl&&(e=this.appendClientVersion(e.baseUrl),c.push(e))}}return 0<c.length?(c=c.join("|"),this.setAttribute(b,c),!0):!1};
_.f.registerAdForMonitoring=function(a,b){this.classList.add("GoogleActiveViewElement");this.setAttribute("id","YtKevlarVisibilityIdentifier");this.setAttribute("googleAvRs",String(b));var c="data-"+_.Zc("googleAvCxn");b="data-"+_.Zc("googleEOSAvCxn");c=a.viewableCommands&&this.setPingUrlAttribute(a.viewableCommands,c);a=a.endOfSessionCommands&&this.setPingUrlAttribute(a.endOfSessionCommands,b);if(c||a)_.gm(wX),a=xyb(this),b=pX(!1),b.r="ac",a&&(oX.dbg.adBlocksRegistered=_.Zk.__google_lidar_,a.activeviewPingSent||
czb([a],b),dzb([a],b),Ayb(a)),mzb(_.gm(wX),this)};
var ozb=nzb;ozb=_.S([_.wt()],ozb);_.yX=[ozb.prototype];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy6");

var RE,VE,QYa,RYa,SYa,TYa,UYa,VYa,$E,XYa;_.GYa=function(a){var b=Math.floor(a/3600),c=Math.floor(a/60)%60;a=Math.floor(a%60);a=10>a?"0"+a:""+a;return{thumbnailOverlayTimeStatusRenderer:{text:_.lh(b?b+":"+(10>c?"0"+c:""+c)+":"+a:c+":"+a),style:"DEFAULT"}}};
RE=function(a){return{thumbnailOverlayDownloadingRenderer:{state:a}}};
_.HYa=function(a){return _.rh(a.entities).length};
_.IYa=function(a){a=a||"";var b=_.Jla();b[a]&&delete b[a];var c=_.Ila(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);b[a]=d};
_.JYa=function(a){_.Bla(a);(0,_.QBa)();a||(_.w("TIMING_ACTION")&&_.ed("PREVIOUS_ACTION",_.w("TIMING_ACTION")),_.ed("TIMING_ACTION",""))};
_.SE=function(a){_.yu("_start",a)&&_.fi("aa",void 0,a)};
_.KYa=function(a,b,c){b=void 0===b?{}:b;c=c?c:a;_.SE(c);_.IYa(c);_.JYa(c);_.Lh(c).useGel=!0;_.Ph(c||"").info.actionType=a;b.cttAuthInfo&&(_.Lh(c).cttAuthInfo=b.cttAuthInfo);_.ed(c+"TIMING_ACTION",a);_.fi("_start",b.startTime,c);a={actionType:_.Cu(a)};(b=_.fg())&&"UNDEFINED_CSN"!==b&&(a.clientScreenNonce=b);_.Qh(a,c);_.gHa(!0,c)};
_.LYa=function(a,b){return(a=_.nu(a,b))?_.yb(_.It(a)):null};
_.TE=function(a){_.Zu[a]||(_.Zu[a]={});return _.Zu[a]};
_.MYa=function(){_.vw=_.uw.lastChild};
_.NYa=function(a){_.$Ja("#text",null);var b=_.vw;var c=_.tw(b);if(c.text!==a){c=c.text=a;for(var d=1;d<arguments.length;d+=1)c=(0,arguments[d])(c);b.data!==c&&(b.data=c)}};
_.OYa=function(){_.mg.getInstance();return _.x("web_autonav_allow_off_by_default")&&!_.ng(0,141)&&_.w("AUTONAV_OFF_BY_DEFAULT")?!1:!_.ng(0,140)};
_.UE=function(a,b,c,d){var e={};e.serializedTransactionFlowLoggingParams=b;c&&(e.errorType=c);d&&(e.errorMessage=d);_.Kf(a,e);_.If()};
VE=function(a){return a?a.icon?a.icon.iconType.toLowerCase():a.customThumbnail?"member":"":""};
_.PYa=function(a){if(!a)return"";a=_.k(a);for(var b=a.next();!b.done;b=a.next())if((b=b.value)&&b.liveChatAuthorBadgeRenderer&&(b=VE(b.liveChatAuthorBadgeRenderer))&&"verified"!==b)return b;return""};
_.WE=function(a,b){return a?(a=a.find(function(c){return c&&c.liveChatAuthorBadgeRenderer?VE(c.liveChatAuthorBadgeRenderer)===b:!1}))&&a.liveChatAuthorBadgeRenderer||null:null};
_.XE=function(a){if(!a)return null;for(var b=[],c=0;c<a.textSegments.length;c++){var d=a.textSegments[c];d.text?b.push(d):d.emojiId&&b.push({emoji_id:d.emojiId})}return{text_segments:b}};
QYa=function(a){if("function"===typeof a.getTime)return a;if(_.ama(a))return _.bma(a);throw Error("Ee`"+JSON.stringify(a));};
RYa=function(a,b){for(var c=0,d;;++c)if(d=new Date(a.getFullYear(),a.getMonth()+b,a.getDate()-c,a.getHours(),a.getMinutes(),a.getSeconds()),d.getMonth()===(a.getMonth()+b)%12)return d};
_.YE=function(a,b,c){a="f"+(Math.floor(b/31)+1);b=1<<b%31;var d=_.bwa(a)||0;d=c?d|b:d&~b;0==d?delete _.Gn[a]:(c=d.toString(16),_.Gn[a]=c.toString())};
_.ZE=function(a,b,c,d){a=a instanceof _.pj?a:_.uj(a);b=b||_.g;c=c instanceof _.Tf?_.ij(c):c||"";return void 0!==d?b.open(_.yb(a),c,d):b.open(_.yb(a),c)};
SYa=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})};
TYa=/&([^;\s<&]+);?/g;UYa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=_.g.document.createElement("div");return a.replace(TYa,function(d,e){var h=b[d];if(h)return h;"#"==e.charAt(0)&&(e=Number("0"+e.slice(1)),isNaN(e)||(h=String.fromCharCode(e)));h||(h=_.Jd(_.jb("Single HTML entity."),d+" "),_.yz(c,h),h=c.firstChild.nodeValue.slice(0,-1));return b[d]=h})};
VYa={COMPACT_DECIMAL_SHORT_PATTERN:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},COMPACT_DECIMAL_LONG_PATTERN:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},
1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},1E14:{other:"000 trillion"}}};$E=VYa;$E=VYa;var WYa=_.dm;WYa=_.dm;_.aF=function(a,b,c,d){return _.Rg({type:"UPDATE_ENTITY",payload:{entityPayload:c,entityType:a,key:b,mergeOption:d}})};
XYa=Promise;
_.YYa=function(a,b){this.data=a;this.channel=b};
_.YYa.prototype.reply=function(a,b,c){this.channel.send(a,b,c)};
var ZYa=function(a){this.JSC$37852_port_=a};
ZYa.prototype.send=function(a,b,c){c=void 0===c?[]:c;var d=new MessageChannel;$Ya(d.port1,b);this.JSC$37852_port_.postMessage(a,[d.port2].concat(c))};
var aZa=function(a,b){$Ya(a,b);return new ZYa(a)},$Ya=function(a,b){b&&(a.onmessage=function(c){b(new _.YYa(c.data,aZa(c.ports[0])))})};
_.dZa=function(a){var b=a.iframe,c=void 0===a.channelName?"ZNWN1d":a.channelName,d=void 0===a.onMessage?void 0:a.onMessage,e=void 0===a.onEstablished?void 0:a.onEstablished;_.bZa({destination:a.destination,getSource:function(){return b.contentWindow},
originList:_.cZa(a.origin),channelName:c,onMessage:d,onEstablished:e})};
_.bZa=function(a){var b=a.destination,c=a.getSource,d=a.originList,e=void 0===a.token?void 0:a.token,h=a.channelName,l=void 0===a.onMessage?void 0:a.onMessage,m=void 0===a.onEstablished?void 0:a.onEstablished,p=Object.create(null);d.forEach(function(r){p[r]=!0});
new XYa(function(r,v){var z=function(A){if(A.source===c())if(!0!==p[A.origin]){b.removeEventListener("message",z,!1);var D=d.join(", ");v(Error("ne`"+(1===d.length?D:"one of ["+D+"]")+"`"+A.origin))}else(A.data.n||A.data)===h&&(b.removeEventListener("message",z,!1),e&&A.data.t!==e?v(Error("oe`"+e+"`"+A.data.t)):(r(aZa(A.ports[0],l)),m&&m(A)))};
b.addEventListener("message",z,!1)})};
_.cZa=function(a){a="string"===typeof a?[a]:a;var b=Object.create(null);a.forEach(function(c){if("null"===c)throw Error("pe");b[c]=!0});
return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.bF={AED:[2,"dh","\u062f.\u0625."],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,"Ft",
"Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd",
"RUB"],SAR:[2,"SAR","SAR"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"\u20ba","TRY"],TWD:[2,"$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};
var cF,eF,dF,eZa;
_.fF=function(a,b,c,d){var e;if(e=b){a:if(b&&3===b.length){for(e=0;3>e;e++){var h=b[e];if("A">h||"Z"<h&&"a">h||"z"<h){e=!1;break a}}e=!0}else e=!1;e=!e}if(e)throw new TypeError("qe");this.intlCurrencyCode_=b?b.toUpperCase():null;this.currencyStyle_=c||0;this.overrideNumberFormatSymbols_=d||null;this.maximumIntegerDigits_=40;this.minimumIntegerDigits_=1;this.significantDigits_=0;this.maximumFractionDigits_=3;this.minExponentDigits_=this.minimumFractionDigits_=0;this.useSignForPositiveExponent_=!1;
this.positiveSuffix_=this.positivePrefix_="";this.negativePrefix_=cF(this).MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;if("number"===typeof a)switch(a){case 1:dF(this,cF(this).DECIMAL_PATTERN);break;case 2:dF(this,cF(this).SCIENTIFIC_PATTERN);break;case 3:dF(this,cF(this).PERCENT_PATTERN);break;case 4:a=cF(this).CURRENCY_PATTERN;b=["0"];if(c=
_.bF[eF(this)]){c=c[0]&7;if(0<c)for(b.push("."),d=0;d<c;d++)b.push("0");a=a.replace(/0.00/g,b.join(""))}dF(this,a);break;case 5:eZa(this,1);break;case 6:eZa(this,2);break;default:throw Error("te");}else dF(this,a)};
cF=function(a){return a.overrideNumberFormatSymbols_||WYa};
eF=function(a){return a.intlCurrencyCode_||cF(a).DEF_CURRENCY_CODE};
_.fZa=function(a,b){if(308<b)throw Error("se`"+b);a.maximumFractionDigits_=b;return a};
dF=function(a,b){var c=[0];a.positivePrefix_=gF(a,b,c);for(var d=c[0],e=-1,h=0,l=0,m=0,p=-1,r=b.length,v=!0;c[0]<r&&v;c[0]++)switch(b.charAt(c[0])){case "#":0<l?m++:h++;0<=p&&0>e&&p++;break;case "0":if(0<m)throw Error("ze`"+b);l++;0<=p&&0>e&&p++;break;case ",":0<p&&a.groupingArray_.push(p);p=0;break;case ".":if(0<=e)throw Error("Ae`"+b);e=h+l+m;break;case "E":if(a.useExponentialNotation_)throw Error("Be`"+b);a.useExponentialNotation_=!0;a.minExponentDigits_=0;c[0]+1<r&&"+"==b.charAt(c[0]+1)&&(c[0]++,
a.useSignForPositiveExponent_=!0);for(;c[0]+1<r&&"0"==b.charAt(c[0]+1);)c[0]++,a.minExponentDigits_++;if(1>h+l||1>a.minExponentDigits_)throw Error("Ce`"+b);v=!1;break;default:c[0]--,v=!1}0==l&&0<h&&0<=e&&(l=e,0==l&&l++,m=h-l,h=l-1,l=1);if(0>e&&0<m||0<=e&&(e<h||e>h+l)||0==p)throw Error("De`"+b);m=h+l+m;a.maximumFractionDigits_=0<=e?m-e:0;0<=e&&(a.minimumFractionDigits_=h+l-e,0>a.minimumFractionDigits_&&(a.minimumFractionDigits_=0));a.minimumIntegerDigits_=(0<=e?e:m)-h;a.useExponentialNotation_&&(a.maximumIntegerDigits_=
h+a.minimumIntegerDigits_,0==a.maximumFractionDigits_&&0==a.minimumIntegerDigits_&&(a.minimumIntegerDigits_=1));a.groupingArray_.push(Math.max(0,p));a.decimalSeparatorAlwaysShown_=0==e||e==m;d=c[0]-d;a.positiveSuffix_=gF(a,b,c);c[0]<b.length&&";"==b.charAt(c[0])?(c[0]++,1!=a.multiplier_&&(a.negativePercentSignExpected_=!0),a.negativePrefix_=gF(a,b,c),c[0]+=d,a.negativeSuffix_=gF(a,b,c)):(a.negativePrefix_+=a.positivePrefix_,a.negativeSuffix_+=a.positiveSuffix_)};
eZa=function(a,b){a.compactStyle_=b;dF(a,cF(a).DECIMAL_PATTERN);a.minimumFractionDigits_=0;_.fZa(a,2);if(0<a.minimumFractionDigits_)throw Error("re");a.significantDigits_=2};
_.fF.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("ue");a=a.replace(/ |\u202f/g,"\u00a0");var c=a.indexOf(this.positivePrefix_,b[0])==b[0],d=a.indexOf(this.negativePrefix_,b[0])==b[0];c&&d&&(this.positivePrefix_.length>this.negativePrefix_.length?d=!1:this.positivePrefix_.length<this.negativePrefix_.length&&(c=!1));c?b[0]+=this.positivePrefix_.length:d&&(b[0]+=this.negativePrefix_.length);if(a.indexOf(cF(this).INFINITY,b[0])==b[0]){b[0]+=cF(this).INFINITY.length;var e=
Infinity}else{e=a;var h=!1,l=!1,m=!1,p=-1,r=1,v=cF(this).DECIMAL_SEP,z=cF(this).GROUP_SEP,A=cF(this).EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("ve");z=z.replace(/\u202f/g,"\u00a0");for(var D="";b[0]<e.length;b[0]++){var E=e.charAt(b[0]),J=gZa(this,E);if(0<=J&&9>=J)D+=J,m=!0;else if(E==v.charAt(0)){if(h||l)break;D+=".";h=!0}else if(E==z.charAt(0)&&("\u00a0"!=z.charAt(0)||b[0]+1<e.length&&0<=gZa(this,e.charAt(b[0]+1)))){if(h||l)break}else if(E==A.charAt(0)){if(l)break;D+="E";l=!0;p=b[0]}else if("+"==
E||"-"==E){if(m&&p!=b[0]-1)break;D+=E}else if(1==this.multiplier_&&E==cF(this).PERCENT.charAt(0)){if(1!=r)break;r=100;if(m){b[0]++;break}}else if(1==this.multiplier_&&E==cF(this).PERMILL.charAt(0)){if(1!=r)break;r=1E3;if(m){b[0]++;break}}else break}1!=this.multiplier_&&(r=this.multiplier_);e=parseFloat(D)/r}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?
-e:e};
_.fF.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("we");if(isNaN(a))return cF(this).NAN;var b=[];var c=a;if(0==this.compactStyle_)c=hF;else{c=Math.abs(c);var d=hZa(this,1>=c?0:iZa(c)).divisorBase;c=hZa(this,d+iZa(jZa(this,iF(c,-d)).intValue))}a=iF(a,-c.divisorBase);(d=0>a||0==a&&0>1/a)?c.negative_prefix?b.push(c.negative_prefix):(b.push(c.prefix),b.push(this.negativePrefix_)):(b.push(c.prefix),b.push(this.positivePrefix_));if(isFinite(a))if(a*=
d?-1:1,a*=this.multiplier_,this.useExponentialNotation_){var e=a;if(0==e)kZa(this,e,this.minimumIntegerDigits_,b),lZa(this,0,b);else{var h=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=iF(e,-h);var l=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(l=h%this.maximumIntegerDigits_,0>l&&(l=this.maximumIntegerDigits_+l),e=iF(e,l),h-=l,l=1):1>this.minimumIntegerDigits_?(h++,e=iF(e,-1)):(h-=this.minimumIntegerDigits_-1,e=iF(e,this.minimumIntegerDigits_-
1));kZa(this,e,l,b);lZa(this,h,b)}}else kZa(this,a,this.minimumIntegerDigits_,b);else b.push(cF(this).INFINITY);d?c.negative_suffix?b.push(c.negative_suffix):(isFinite(a)&&b.push(c.suffix),b.push(this.negativeSuffix_)):(isFinite(a)&&b.push(c.suffix),b.push(this.positiveSuffix_));return b.join("")};
var jZa=function(a,b){var c=iF(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=mZa(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(iF(c,-a.maximumFractionDigits_)),a=Math.floor(c-iF(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},kZa=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("we");
d||(d=[]);b=jZa(a,b);var e=b.intValue,h=b.fracValue,l=0<a.minimumFractionDigits_||0<h||!1;b=a.minimumFractionDigits_;l&&(b=a.minimumFractionDigits_);for(var m="",p=e;1E20<p;)m="0"+m,p=Math.round(iF(p,-1));m=p+m;var r=cF(a).DECIMAL_SEP;p=cF(a).ZERO_DIGIT.charCodeAt(0);var v=m.length,z=0;if(0<e||0<c){for(e=v;e<c;e++)d.push(String.fromCharCode(p));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)z+=a.groupingArray_[c];c=v-z;if(0<c){e=a.groupingArray_;z=v=0;for(var A,D=cF(a).GROUP_SEP,
E=m.length,J=0;J<E;J++)if(d.push(String.fromCharCode(p+Number(m.charAt(J)))),1<E-J)if(A=e[z],J<c){var R=c-J;(1===A||0<A&&1===R%A)&&d.push(D)}else z<e.length&&(J===c?z+=1:A===J-c-v+1&&(d.push(D),v+=A,z+=1))}else{c=m;m=a.groupingArray_;e=cF(a).GROUP_SEP;A=c.length;D=[];for(v=m.length-1;0<=v&&0<A;v--){z=m[v];for(E=0;E<z&&0<=A-E-1;E++)D.push(String.fromCharCode(p+Number(c.charAt(A-E-1))));A-=z;0<A&&D.push(e)}d.push.apply(d,D.reverse())}}else l||d.push(String.fromCharCode(p));(a.decimalSeparatorAlwaysShown_||
l)&&d.push(r);h=String(h);l=h.split("e+");2==l.length&&(h=String(mZa(parseFloat(l[0]),a.significantDigits_,1)),h=h.replace(".",""),h+=(0,_.Soa)("0",parseInt(l[1],10)-h.length+1));a.maximumFractionDigits_+1>h.length&&(h="1"+(0,_.Soa)("0",a.maximumFractionDigits_-h.length)+h);for(a=h.length;"0"==h.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(p+Number(h.charAt(b))))},lZa=function(a,b,c){c.push(cF(a).EXP_SYMBOL);
0>b?(b=-b,c.push(cF(a).MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(cF(a).PLUS_SIGN);b=""+b;for(var d=cF(a).ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},gZa=function(a,b){b=b.charCodeAt(0);
if(48<=b&&58>b)return b-48;a=cF(a).ZERO_DIGIT.charCodeAt(0);return a<=b&&b<a+10?b-a:-1},gF=function(a,b,c){for(var d="",e=!1,h=b.length;c[0]<h;c[0]++){var l=b.charAt(c[0]);
if("'"==l)c[0]+1<h&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=l;else switch(l){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":if(c[0]+1<h&&"\u00a4"==b.charAt(c[0]+1))c[0]++,d+=eF(a);else switch(a.currencyStyle_){case 0:l=eF(a);d+=l in _.bF?_.bF[l][1]:l;break;case 2:l=eF(a);var m=_.bF[l];d+=m?l==m[1]?l:l+" "+m[1]:l;break;case 1:l=eF(a),d+=l in _.bF?_.bF[l][2]:l}break;case "%":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("xe");if(a.negativePercentSignExpected_&&
100!=a.multiplier_)throw Error("ye");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=cF(a).PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("xe");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("ye");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=cF(a).PERMILL;break;default:d+=l}}return d},hF={divisorBase:0,
negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},hZa=function(a,b){a=1==a.compactStyle_?$E.COMPACT_DECIMAL_SHORT_PATTERN:$E.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=$E.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return hF;b=Math.min(14,b);var c=a[iF(1,b)];for(--b;!c&&3<=b;)c=a[iF(1,b)],b--;if(!c)return hF;c=c.other;var d=a="",e=c.indexOf(";");0<=e&&(c=c.substring(0,e),e=c.substring(e+1))&&(d=/([^0]*)(0+)(.*)/.exec(e),a=d[1],d=d[3]);return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{divisorBase:b+
1-(c[2].length-1),negative_prefix:a,negative_suffix:d,prefix:c[1],suffix:c[3]}:hF:hF},iZa=function(a){if(!isFinite(a))return 0<a?a:0;
for(var b=0;1<=(a/=10);)b++;return b},iF=function(a,b){if(!a||!isFinite(a)||0==b)return a;
a=String(a).split("e");return parseFloat(a[0]+"e"+(parseInt(a[1]||0,10)+b))},nZa=function(a,b){return a&&isFinite(a)?iF(Math.round(iF(a,b)),-b):a},mZa=function(a,b,c){if(!a)return a;
b=b-iZa(a)-1;return b<-c?nZa(a,-c):nZa(a,b)};
var oZa=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"},pZa=oZa;
pZa=oZa;
var tZa=function(a){this.JSC$37868_pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=WYa;var b=$E;if(qZa!==a||rZa!==b)qZa=a,rZa=b,sZa=new _.fF(1);this.numberFormatter_=sZa},qZa=null,rZa=null,sZa=null,uZa=RegExp("'([{}#].*?)'","g"),vZa=RegExp("''","g");
tZa.prototype.format=function(a){if(this.JSC$37868_pattern_){this.initialLiterals_=[];var b=wZa(this,this.JSC$37868_pattern_);this.parsedPattern_=jF(this,b);this.JSC$37868_pattern_=null}if(this.parsedPattern_&&0!=this.parsedPattern_.length)for(this.literals_=_.ka(this.initialLiterals_),b=[],xZa(this,this.parsedPattern_,a,!1,b),a=b.join("");0<this.literals_.length;)a=a.replace(this.buildPlaceholder_(this.literals_),this.literals_.pop());else a="";return a};
var xZa=function(a,b,c,d,e){for(var h=0;h<b.length;h++)switch(b[h].type){case 4:e.push(b[h].value);break;case 3:var l=b[h].value,m=a,p=e,r=c[l];void 0===r?p.push("Undefined parameter - "+l):(m.literals_.push(r),p.push(m.buildPlaceholder_(m.literals_)));break;case 2:l=b[h].value;m=a;p=c;r=d;var v=e,z=l.argumentIndex;void 0===p[z]?v.push("Undefined parameter - "+z):(z=l[p[z]],void 0===z&&(z=l.other),xZa(m,z,p,r,v));break;case 0:l=b[h].value;yZa(a,l,c,_.em,d,e);break;case 1:l=b[h].value,yZa(a,l,c,pZa,
d,e)}},yZa=function(a,b,c,d,e,h){var l=b.argumentIndex,m=b.argumentOffset,p=+c[l];
isNaN(p)?h.push("Undefined or invalid parameter - "+l):(m=p-m,l=b[c[l]],void 0===l&&(d=d(Math.abs(m)),l=b[d],void 0===l&&(l=b.other)),b=[],xZa(a,l,c,e,b),c=b.join(""),e?h.push(c):(a=a.numberFormatter_.format(m),h.push(c.replace(/#/g,a))))},wZa=function(a,b){var c=a.initialLiterals_,d=(0,_.$i)(a.buildPlaceholder_,a);
b=b.replace(vZa,function(){c.push("'");return d(c)});
return b=b.replace(uZa,function(e,h){c.push(h);return d(c)})},kF=function(a){var b=0,c=[],d=[],e=/[{}]/g;
e.lastIndex=0;for(var h;h=e.exec(a);){var l=h.index;"}"==h[0]?(c.pop(),0==c.length&&(h={type:1},h.value=a.substring(b,l),d.push(h),b=l+1)):(0==c.length&&(b=a.substring(b,l),""!=b&&d.push({type:0,value:b}),b=l+1),c.push("{"))}b=a.substring(b);""!=b&&d.push({type:0,value:b});return d},zZa=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,AZa=/^\s*(\w+)\s*,\s*selectordinal\s*,/,BZa=/^\s*(\w+)\s*,\s*select\s*,/,jF=function(a,b){var c=[];
b=kF(b);for(var d=0;d<b.length;d++){var e={};if(0==b[d].type)e.type=4,e.value=b[d].value;else if(1==b[d].type){var h=b[d].value;switch(zZa.test(h)?0:AZa.test(h)?1:BZa.test(h)?2:/^\s*\w+\s*/.test(h)?3:5){case 2:e.type=2;e.value=CZa(a,b[d].value);break;case 0:e.type=0;e.value=DZa(a,b[d].value);break;case 1:e.type=1;e.value=EZa(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},CZa=function(a,b){var c="";
b=b.replace(BZa,function(m,p){c=p;return""});
var d={};d.argumentIndex=c;b=kF(b);for(var e=0;e<b.length;){var h=b[e].value;e++;var l;1==b[e].type&&(l=jF(a,b[e].value));d[h.replace(/\s/g,"")]=l;e++}return d},DZa=function(a,b){var c="",d=0;
b=b.replace(zZa,function(p,r,v){c=r;v&&(d=parseInt(v,10));return""});
var e={};e.argumentIndex=c;e.argumentOffset=d;b=kF(b);for(var h=0;h<b.length;){var l=b[h].value;h++;var m;1==b[h].type&&(m=jF(a,b[h].value));e[l.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=m;h++}return e},EZa=function(a,b){var c="";
b=b.replace(AZa,function(m,p){c=p;return""});
var d={};d.argumentIndex=c;d.argumentOffset=0;b=kF(b);for(var e=0;e<b.length;){var h=b[e].value;e++;if(1==b[e].type)var l=jF(a,b[e].value);d[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;e++}return d};
tZa.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};
var FZa=function(){this.rdtfSymbols_=_.bCa||_.Mta;this.alwaysNumeric_=this.alwaysNumeric_=!0;this.style_=0};
FZa.prototype.format=function(a,b){a:switch(b=GZa(this,b),this.style_){case 2:if(void 0!=b.NARROW){b=b.NARROW;break a}case 1:if(void 0!=b.SHORT){b=b.SHORT;break a}default:b=b.LONG}if(!this.alwaysNumeric_&&b&&b.R&&b.R[""+a])a=b.R[""+a];else if(b){var c=Math.abs(a);a=(new tZa("{N,plural,"+(0<a||0==a&&Infinity==1/a?b.F:b.P)+"}")).format({N:c})}else a="";return a};
var GZa=function(a,b){switch(b){default:case 0:return a.rdtfSymbols_.YEAR;case 1:return a.rdtfSymbols_.QUARTER;case 2:return a.rdtfSymbols_.MONTH;case 3:return a.rdtfSymbols_.WEEK;case 4:return a.rdtfSymbols_.DAY;case 5:return a.rdtfSymbols_.HOUR;case 6:return a.rdtfSymbols_.MINUTE;case 7:return a.rdtfSymbols_.SECOND}};
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var HZa={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:"_checkedChanged"},toggles:{type:Boolean,value:!0,reflectToAttribute:!0},value:{type:String,value:"on",observer:"_valueChanged"}},observers:["_requiredChanged(required)"],created:function(){this._hasIronCheckedElementBehavior=!0},
_getValidity:function(){return this.disabled||!this.required||this.checked},
_requiredChanged:function(){this.required?this.setAttribute("aria-required","true"):this.removeAttribute("aria-required")},
_checkedChanged:function(){this.active=this.checked;this.fire("iron-change")},
_valueChanged:function(){if(void 0===this.value||null===this.value)this.value="on"}},IZa=[_.qx,
_.rx,HZa];
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({is:"iron-media-query",_template:null,properties:{queryMatches:{type:Boolean,value:!1,readOnly:!0,notify:!0},query:{type:String,observer:"queryChanged"},full:{type:Boolean,value:!1},_boundMQHandler:{value:function(){return this.queryHandler.bind(this)}},
_mq:{value:null}},attached:function(){this.style.display="none";this.queryChanged()},
detached:function(){this._remove()},
_add:function(){this._mq&&this._mq.addListener(this._boundMQHandler)},
_remove:function(){this._mq&&this._mq.removeListener(this._boundMQHandler);this._mq=null},
queryChanged:function(){this._remove();var a=this.query;a&&(this.full||"("===a[0]||(a="("+a+")"),this._mq=window.matchMedia(a),this._add(),this.queryHandler(this._mq))},
queryHandler:function(a){this._setQueryMatches(a.matches)}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({is:"iron-selector",_template:null,behaviors:[_.hMa]});
_.JZa=[_.UVa,IZa,{_checkedChanged:function(){HZa._checkedChanged.call(this);this.hasRipple()&&(this.checked?this._ripple.setAttribute("checked",""):this._ripple.removeAttribute("checked"))},
_buttonStateChanged:function(){_.ct._buttonStateChanged.call(this);!this.disabled&&this.isAttached&&(this.checked=this.active)}}];
var KZa;
var LZa;
_.Ng({_template:function(){if(void 0!==LZa)return LZa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-dialog-scrollable--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_dialog_scrollable.tp.yt.paper.dialog.scrollable.css.js--\x3e<div id="scrollable" class="scrollable" on-scroll="updateScrollState">\n  <slot></slot>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===KZa){var d=document.createElement("template");d.innerHTML=
'\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_dialog_scrollable.tp.yt.paper.dialog.scrollable.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n  position: relative;\n}\n\n:host(.is-scrolled:not(:first-child))::before {\n  content: "";\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  height: 1px;\n  background: var(--divider-color);\n}\n\n:host(.can-scroll:not(.scrolled-to-bottom):not(:last-child))::after {\n  content: "";\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  height: 1px;\n  background: var(--divider-color);\n}\n\n.scrollable {\n  -webkit-overflow-scrolling: touch;\n  overflow: auto;\n  box-sizing: var(--paper-dialog-scrollable-box-sizing);\n  height: var(--paper-dialog-scrollable-height);\n  min-width: var(--paper-dialog-scrollable-min-width);\n  overflow-x: var(--paper-dialog-scrollable-overflow-x);\n  padding: var(--paper-dialog-scrollable-padding, 0 24px);\n}\n\n.fit {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n\n/*# sourceMappingURL=tp-yt-paper-dialog-scrollable.css.map */</style>';
KZa=d}d=KZa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return LZa=a},
is:"tp-yt-paper-dialog-scrollable",properties:{dialogElement:{type:Object}},get scrollTarget(){return this.$.scrollable},ready:function(){this._ensureTarget();this.classList.add("no-padding")},
attached:function(){this._ensureTarget();requestAnimationFrame(this.updateScrollState.bind(this))},
updateScrollState:function(){this.toggleClass("is-scrolled",0<this.scrollTarget.scrollTop);this.toggleClass("can-scroll",this.scrollTarget.offsetHeight<this.scrollTarget.scrollHeight);this.toggleClass("scrolled-to-bottom",this.scrollTarget.scrollTop+this.scrollTarget.offsetHeight>=this.scrollTarget.scrollHeight)},
_ensureTarget:function(){(this.dialogElement=this.dialogElement||this.parentElement)&&this.dialogElement.behaviors&&0<=this.dialogElement.behaviors.indexOf(_.gTa)?(this.dialogElement.sizingTarget=this.scrollTarget,this.scrollTarget.classList.remove("fit")):this.dialogElement&&this.scrollTarget.classList.add("fit")}});
/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var MZa=_.Pi(['<iron-iconset-svg name="paper-dropdown-menu" size="24">\n<svg><defs>\n<g id="arrow-drop-down"><path d="M12,15.7L5.6,9.4l0.7-0.7l5.6,5.6l5.6-5.6l0.7,0.7L12,15.7z"/></g>\n</defs></svg>\n</iron-iconset-svg>']),NZa=_.Vm(MZa);NZa.setAttribute("style","display: none;");document.head.appendChild(NZa.content);
var OZa;
var PZa;
var QZa=(0,_.zn)(HTMLElement);
_.Ng({_template:function(){if(void 0!==PZa)return PZa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-dropdown-menu-light--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_dropdown_menu.tp.yt.paper.dropdown.menu.light.css.js--\x3e<tp-yt-paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizontal-align="[[horizontalAlign]]" vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat, verticalOffset)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" close-on-activate="" allow-outside-scroll="[[allowOutsideScroll]]">\n  \n  <div id="dropdown-trigger" class="dropdown-trigger" slot="dropdown-trigger" role="button" tabindex="0" aria-haspopup="listbox">\n    <label class$="[[_computeLabelClass(noLabelFloat,alwaysFloatLabel,hasContent)]]">\n      [[label]]\n    </label>\n    <div id="input" tabindex="-1">&nbsp;</div>\n    <tp-yt-iron-icon icon="paper-dropdown-menu:arrow-drop-down"></tp-yt-iron-icon>\n    <span class="error">[[errorMessage]]</span>\n  </div>\n  <slot id="content" name="dropdown-content" slot="dropdown-content"></slot>\n</tp-yt-paper-menu-button>\n';var b=
a.content,c=b.insertBefore;if(void 0===OZa){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_dropdown_menu.tp.yt.paper.dropdown.menu.light.css.js--\x3e<style>/**\n@license\nCopyright (c) 2016 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at\nhttp://polymer.github.io/LICENSE.txt The complete set of authors may be found at\nhttp://polymer.github.io/AUTHORS.txt The complete set of contributors may be\nfound at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as\npart of the polymer project is also subject to an additional IP rights grant\nfound at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: inline-block;\n  position: relative;\n  text-align: left;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  -webkit-tap-highlight-color: transparent;\n  --paper-input-container-input: {\n    overflow: hidden;\n    white-space: nowrap;\n    text-overflow: ellipsis;\n    max-width: 100%;\n    box-sizing: border-box;\n    cursor: pointer;\n  };\n  @apply --paper-dropdown-menu;\n}\n\n:host(:focus) {\n  outline: none;\n}\n\n:host(:dir(rtl)) {\n  text-align: right;\n  @apply (--paper-dropdown-menu);\n}\n\n:host([noink]) paper-ripple {\n  display: none;\n}\n\n:host([no-label-float]) paper-ripple {\n  top: 8px;\n}\n\npaper-ripple {\n  top: 12px;\n  left: 0px;\n  bottom: 8px;\n  right: 0px;\n}\n\ntp-yt-paper-menu-button {\n  display: block;\n  padding: 0;\n}\n\ntp-yt-paper-input {\n  @apply --paper-dropdown-menu-input;\n}\n\ntp-yt-iron-icon {\n  color: var(--paper-dropdown-menu-icon-color, var(--disabled-text-color));\n}\n\n:host {\n  width: 200px;\n}\n\n[slot=dropdown-trigger] {\n  box-sizing: border-box;\n  position: relative;\n  width: 100%;\n  padding: 16px 0 8px;\n}\n\n[slot=dropdown-trigger]:focus {\n  outline: none;\n}\n\n:host([disabled]) [slot=dropdown-trigger] {\n  pointer-events: none;\n  opacity: var(--paper-dropdown-menu-disabled-opacity, 0.33);\n}\n\n:host([no-label-float]) [slot=dropdown-trigger] {\n  padding-top: 8px;\n}\n\n#input {\n  @apply --paper-font-subhead;\n  @apply --paper-font-common-nowrap;\n  line-height: 1.5;\n  border-bottom: 1px solid var(--paper-dropdown-menu-color, var(--secondary-text-color));\n  color: var(--paper-dropdown-menu-color, var(--primary-text-color));\n  width: 100%;\n  box-sizing: border-box;\n  padding: 12px 20px 0 0;\n  outline: none;\n  @apply --paper-dropdown-menu-input;\n}\n\n#input:dir(rtl) {\n  padding-right: 0px;\n  padding-left: 20px;\n}\n\n:host([disabled]) #input {\n  border-bottom: 1px dashed var(--paper-dropdown-menu-color, var(--secondary-text-color));\n}\n\n:host([invalid]) #input {\n  border-bottom: 2px solid var(--paper-dropdown-error-color, var(--error-color));\n}\n\n:host([no-label-float]) #input {\n  padding-top: 0;\n}\n\nlabel {\n  @apply --paper-font-subhead;\n  @apply --paper-font-common-nowrap;\n  display: block;\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  top: 28px;\n  box-sizing: border-box;\n  width: 100%;\n  padding-right: 20px;\n  text-align: left;\n  transition-duration: 0.2s;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  color: var(--paper-dropdown-menu-color, var(--secondary-text-color));\n  @apply --paper-dropdown-menu-label;\n}\n\nlabel:dir(rtl) {\n  padding-right: 0px;\n  padding-left: 20px;\n  text-align: right;\n}\n\n:host([no-label-float]) label {\n  top: 8px;\n  transition-duration: 0s;\n}\n\nlabel.label-is-floating {\n  font-size: 12px;\n  top: 8px;\n}\n\nlabel.label-is-hidden {\n  visibility: hidden;\n}\n\n:host([focused]) label.label-is-floating {\n  color: var(--paper-dropdown-menu-focus-color, var(--primary-color));\n}\n\n:host([invalid]) label.label-is-floating {\n  color: var(--paper-dropdown-error-color, var(--error-color));\n}\n\nlabel:after {\n  background-color: var(--paper-dropdown-menu-focus-color, var(--primary-color));\n  bottom: 7px;\n  content: "";\n  height: 2px;\n  left: 45%;\n  position: absolute;\n  transition-duration: 0.2s;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  visibility: hidden;\n  width: 8px;\n  z-index: 10;\n}\n\n:host([invalid]) label:after {\n  background-color: var(--paper-dropdown-error-color, var(--error-color));\n}\n\n:host([no-label-float]) label:after {\n  bottom: 7px;\n}\n\n:host([focused]:not([disabled])) label:after {\n  left: 0;\n  visibility: visible;\n  width: 100%;\n}\n\ntp-yt-iron-icon {\n  position: absolute;\n  right: 0px;\n  bottom: 8px;\n  @apply --paper-font-subhead;\n  color: var(--paper-dropdown-menu-icon-color, var(--disabled-text-color));\n}\n\ntp-yt-iron-icon:dir(rtl) {\n  left: 0;\n  right: auto;\n}\n\n:host([no-label-float]) tp-yt-iron-icon {\n  margin-top: 0px;\n}\n\n.error {\n  font-family: "Roboto", "Noto", sans-serif;\n  -webkit-font-smoothing: antialiased;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-size: 12px;\n  font-weight: 400;\n  letter-spacing: 0.011em;\n  line-height: 20px;\n  display: inline-block;\n  visibility: hidden;\n  color: var(--paper-dropdown-error-color, var(--error-color));\n  position: absolute;\n  left: 0;\n  right: 0;\n  bottom: -12px;\n}\n\n:host([invalid]) .error {\n  visibility: visible;\n}\n\n/*# sourceMappingURL=tp-yt-paper-dropdown-menu-light.css.map */</style>';
OZa=d}d=OZa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return PZa=a},
is:"tp-yt-paper-dropdown-menu-light",behaviors:[_.$s,_.Ys,_.ct,_.qx,_.rx],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0,observer:"_valueChanged"},label:{type:String},placeholder:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,
value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,hasContent:{type:Boolean,readOnly:!0}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},observers:["_selectedItemChanged(selectedItem)"],_attachDom:function(a){var b=(0,_.nc)(this);b.attachShadow({mode:"open",delegatesFocus:!0,shadyUpgradeFragment:a});b.shadowRoot.appendChild(a);return QZa.prototype._attachDom.call(this,a)},
focus:function(){this.$["dropdown-trigger"].focus()},
attached:function(){var a=this.JSC$37893_contentElement;a&&a.selectedItem&&this._setSelectedItem(a.selectedItem)},
get JSC$37893_contentElement(){for(var a=_.H(this.$.content).getDistributedNodes(),b=0,c=a.length;b<c;b++)if(a[b].nodeType===Node.ELEMENT_NODE)return a[b]},open:function(){this.$.menuButton.open()},
close:function(){this.$.menuButton.close()},
_onIronSelect:function(a){this._setSelectedItem(a.detail.item)},
_onIronDeselect:function(){this._setSelectedItem(null)},
_onTap:function(a){_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a)===this&&this.open()},
_selectedItemChanged:function(a){var b="";a?b=a.label||a.getAttribute("label")||a.textContent.trim():b="";this.value=b;this._setSelectedItemLabel(b)},
_computeMenuVerticalOffset:function(a,b){return b?b:a?-4:8},
_getValidity:function(){return this.disabled||!this.required||this.required&&!!this.value},
_openedChanged:function(){var a=this.opened?"true":"false",b=this.JSC$37893_contentElement;b&&b.setAttribute("aria-expanded",a)},
_computeLabelClass:function(a,b,c){var d="";if(!0===a)return c?"label-is-hidden":"";if(c||!0===b)d+=" label-is-floating";return d},
_valueChanged:function(){this.$.input&&this.$.input.textContent!==this.value&&(this.$.input.textContent=this.value);this._setHasContent(!!this.value);this.hasContent||(this.$.input.textContent="\u00a0")}});
var RZa;
var SZa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==SZa)return SZa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-textarea--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.textarea.css.js--\x3e<tp-yt-paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]" no-unfloated-label-error="[[noUnfloatedLabelError]]">\n  <label hidden$="[[!label]]" aria-hidden="true" for$="[[_inputId]]" slot="label">[[label]]</label>\n\n  <tp-yt-iron-autogrow-textarea class="paper-input-input" slot="input" id$="[[_inputId]]" aria-labelledby$="[[_ariaLabelledBy]]" aria-describedby$="[[_ariaDescribedBy]]" bind-value="{{value}}" invalid="{{invalid}}" validator$="[[validator]]" disabled$="[[disabled]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" required$="[[required]]" minlength$="[[minlength]]" maxlength$="[[maxlength]]" autocapitalize$="[[autocapitalize]]" rows$="[[rows]]" max-rows$="[[maxRows]]" on-change="_onChange"></tp-yt-iron-autogrow-textarea>\n\n  <template is="dom-if" if="[[errorMessage]]">\n    <tp-yt-paper-input-error aria-live="assertive" slot="add-on">[[errorMessage]]</tp-yt-paper-input-error>\n  </template>\n\n  <template is="dom-if" if="[[charCounter]]">\n    <tp-yt-paper-input-char-counter slot="add-on"></tp-yt-paper-input-char-counter>\n  </template>\n</tp-yt-paper-input-container>\n';
var b=a.content,c=b.insertBefore;if(void 0===RZa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_input.tp.yt.paper.textarea.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n}\n\n:host([hidden]) {\n  display: none !important;\n}\n\nlabel {\n  pointer-events: none;\n}\n\n/*# sourceMappingURL=tp-yt-paper-textarea.css.map */</style>";RZa=d}d=RZa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
return SZa=a},
is:"tp-yt-paper-textarea",behaviors:[_.NLa,_.qx],properties:{_ariaLabelledBy:{observer:"_ariaLabelledByChanged",type:String},_ariaDescribedBy:{observer:"_ariaDescribedByChanged",type:String},value:{type:String},rows:{type:Number,value:1},maxRows:{type:Number,value:0},noUnfloatedLabelError:{type:Boolean,value:!1}},get selectionStart(){return this.$.input.textarea.selectionStart},set selectionStart(a){this.$.input.textarea.selectionStart=a},get selectionEnd(){return this.$.input.textarea.selectionEnd},
set selectionEnd(a){this.$.input.textarea.selectionEnd=a},_ariaLabelledByChanged:function(a){this._focusableElement.setAttribute("aria-labelledby",a)},
_ariaDescribedByChanged:function(a){this._focusableElement.setAttribute("aria-describedby",a)},
get _focusableElement(){return this.inputElement.textarea}});
var TZa;
var UZa;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt SPDX-License-Identifier:
BSD-3-Clause
*/
_.Ng({is:"tp-yt-paper-toggle-button",_template:function(){if(void 0!==UZa)return UZa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-toggle-button--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_toggle_button.tp.yt.paper.toggle.button.css.js--\x3e<div class="toggle-container"><div id="toggleBar" class="toggle-bar"></div><div id="toggleButton" class="toggle-button"></div></div><div class="toggle-label"><slot></slot></div>';
var b=a.content,c=b.insertBefore;if(void 0===TZa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_toggle_button.tp.yt.paper.toggle.button.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  @apply --paper-font-common-base;\n}\n\n:host([disabled]) {\n  pointer-events: none;\n}\n\n:host(:focus) {\n  outline: none;\n}\n\n.toggle-bar {\n  position: absolute;\n  height: 100%;\n  width: 100%;\n  border-radius: 8px;\n  pointer-events: none;\n  transition: background-color linear 0.08s;\n  background-color: var(--paper-toggle-button-unchecked-bar-color, #000);\n  opacity: var(--paper-toggle-button-unchecked-bar-opacity, 0.4);\n}\n\n.toggle-button {\n  position: absolute;\n  top: -3px;\n  left: 0;\n  right: auto;\n  height: 20px;\n  width: 20px;\n  border-radius: 50%;\n  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.6);\n  transition: -webkit-transform linear 0.08s, background-color linear 0.08s;\n  transition: transform linear 0.08s, background-color linear 0.08s;\n  will-change: transform;\n  background-color: var(--paper-toggle-button-unchecked-button-color, #fafafa);\n}\n\n:host(:dir(rtl)) .toggle-button,\n:host([dir=rtl]) .toggle-button {\n  right: 0;\n  left: auto;\n}\n\n.toggle-button.dragging {\n  -webkit-transition: none;\n  transition: none;\n}\n\n:host([checked]:not([disabled])) .toggle-bar {\n  background-color: var(--paper-toggle-button-checked-bar-color, var(--primary-color));\n  opacity: var(--paper-toggle-button-checked-bar-opacity, 0.5);\n}\n\n:host([disabled]) .toggle-bar {\n  background-color: var(--paper-toggle-button-disabled-bar-color, #000);\n  opacity: 0.12;\n}\n\n:host([checked]) .toggle-button {\n  -webkit-transform: translate(16px, 0);\n  transform: translate(16px, 0);\n}\n\n:host([checked]:dir(rtl)) .toggle-button,\n:host([dir=rtl][checked]) .toggle-button {\n  -webkit-transform: translate(-16px, 0);\n  transform: translate(-16px, 0);\n}\n\n:host([dir=rtl]) {\n  -webkit-transform: unset;\n  transform: unset;\n}\n\n:host([checked]:not([disabled])) .toggle-button {\n  background-color: var(--paper-toggle-button-checked-button-color, var(--primary-color));\n}\n\n:host([disabled]) .toggle-button {\n  background-color: var(--paper-toggle-button-disabled-button-color, #bdbdbd);\n  opacity: 1;\n}\n\n.toggle-ink {\n  position: absolute;\n  top: -14px;\n  left: -14px;\n  right: auto;\n  bottom: auto;\n  width: 48px;\n  height: 48px;\n  opacity: 0.5;\n  pointer-events: none;\n  tp-yt-color: var(--paper-toggle-button-unchecked-ink-color, var(--primary-text-color));\n}\n\n:host([checked]) .toggle-ink {\n  tp-yt-color: var(--paper-toggle-button-checked-ink-color, var(--primary-color));\n}\n\n.toggle-container {\n  display: inline-block;\n  position: relative;\n  width: 36px;\n  height: 14px;\n  margin: 4px 1px;\n}\n\n.toggle-label {\n  position: relative;\n  display: inline-block;\n  vertical-align: middle;\n  padding-left: var(--paper-toggle-button-label-spacing, 8px);\n  pointer-events: none;\n  tp-yt-color: var(--paper-toggle-button-label-color, var(--primary-text-color));\n}\n\n:host([invalid]) .toggle-bar {\n  background-color: var(--paper-toggle-button-invalid-bar-color, var(--error-color));\n}\n\n:host([invalid]) .toggle-button {\n  background-color: var(--paper-toggle-button-invalid-button-color, var(--error-color));\n}\n\n:host([invalid]) .toggle-ink {\n  tp-yt-color: var(--paper-toggle-button-invalid-ink-color, var(--error-color));\n}\n\n/*# sourceMappingURL=tp-yt-paper-toggle-button.css.map */</style>";
TZa=d}d=TZa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return UZa=a},
behaviors:[_.JZa],hostAttributes:{role:"button","aria-pressed":"false",tabindex:0},properties:{},listeners:{track:"_ontrack"},__calculateIsRtl:function(){return"rtl"===window.getComputedStyle(this).direction},
attached:function(){this.__calculateIsRtl()&&this.setAttribute("dir","rtl");_.nt(this,function(){_.Hc(this,"pan-y")})},
_ontrack:function(a){a=a.detail;"start"===a.state?this._trackStart(a):"track"===a.state?this._trackMove(a):"end"===a.state&&this._trackEnd(a)},
_trackStart:function(){this._isRtl=this.__calculateIsRtl();this._width=this.$.toggleBar.offsetWidth/2;this._trackChecked=this.checked;this.$.toggleButton.classList.add("dragging")},
_trackMove:function(a){a=a.dx;this._x=this._isRtl?Math.max(-this._width,Math.min(0,this._trackChecked?-this._width+a:a)):Math.min(this._width,Math.max(0,this._trackChecked?this._width+a:a));this.translate3d(this._x+"px",0,0,this.$.toggleButton);this._isRtl?this._userActivate(this._x<-this._width/2):this._userActivate(this._x>this._width/2)},
_trackEnd:function(){this.$.toggleButton.classList.remove("dragging");this.transform("",this.$.toggleButton)},
_createRipple:function(){this._rippleContainer=this.$.toggleButton;var a=_.ct._createRipple();a.id="ink";a.setAttribute("recenters","");a.classList.add("circle","toggle-ink");return a}});
var VZa=new _.Wd("yt.autonav");
_.lF=function(){this.autonavState_=_.OYa()?2:1;this.disabledAutonavPauseReason_=this.autonavPauseReason_=void 0};
_.lF.prototype.getState=function(){return this.autonavState_};
_.lF.prototype.pause=function(a){2==this.autonavState_?(this.setState(3),this.autonavPauseReason_=a):1==this.autonavState_&&(this.disabledAutonavPauseReason_=a)};
_.lF.prototype.setState=function(a){if(this.autonavState_!=a){this.autonavState_=a;if(3!=a){a=2==a;var b=_.OYa();a!==b&&(b=_.mg.getInstance(),!_.x("web_autonav_allow_off_by_default")&&a||_.YE(0,141,!0),_.YE(0,140,!a),b.save(),VZa.set("autonav_disabled",!a))}_.Io.getInstance().triggerOptionalAction("yt-autonav-state-changed-action",this.autonavState_)}};
_.Yi(_.lF);
var WZa;
var XZa;
_.Ng({is:"yt-live-chat-author-badge-renderer",_template:function(){if(void 0!==XZa)return XZa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-author-badge-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_author_badge_renderer.yt.live.chat.author.badge.renderer.css.js--\x3e<div id="image"></div>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WZa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_author_badge_renderer.yt.live.chat.author.badge.renderer.css.js--\x3e<style>:host {display: inline-block;} :host([type=moderator]) {color: var(--yt-live-chat-moderator-color,#5e84f1);} :host([type=owner]) {color: var(--yt-live-chat-owner-color,#ffd600);} :host([type=member]) {color: var(--yt-live-chat-sponsor-color,#107516);} :host([type=verified]) {color: var(--yt-live-chat-verified-color,#999);} img,yt-icon {display: block;width: 16px;height: 16px;} /*# sourceMappingURL=yt-live-chat-author-badge-renderer.css.map*/</style>";
WZa=d}d=WZa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return XZa=a},
properties:{data:{type:Object,observer:"dataChanged_"},ariaLabel:{type:String,computed:"identity(data.accessibility.accessibilityData.label)",reflectToAttribute:!0},type:{type:String,computed:"computeType_(data)",reflectToAttribute:!0},sharedTooltipText:{type:String,computed:"identity(data.tooltip)",reflectToAttribute:!0}},dataChanged_:function(a){for(var b=_.H(this.$.image);b.firstChild;)b.removeChild(b.firstChild);if(a)if(a.icon){var c=document.createElement("yt-icon");c.icon="live-chat-badges:"+
a.icon.iconType.toLowerCase();b.appendChild(c)}else if(a.customThumbnail){c=document.createElement("img");var d=_.LYa(a.customThumbnail.thumbnails,16);d?(c.src=d,b.appendChild(c),c.setAttribute("alt",this.ariaLabel)):_.Rf(new _.ge("Could not compute URL for thumbnail",a.customThumbnail))}},
identity:function(a){return a},
computeType_:function(a){return VE(a||void 0)}});
var YZa;
var ZZa;
_.Ng({is:"yt-live-chat-author-chip",_template:function(){if(void 0!==ZZa)return ZZa;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-author-chip--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_author_chip.yt.live.chat.author.chip.css.js--\x3e<span id="author-name" dir="auto" class$="[[authorClass]]">[[getSimpleString(authorName)]]<span id="chip-badges"></span></span><span id="chat-badges"></span>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YZa){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_author_chip.yt.live.chat.author.chip.css.js--\x3e<style>:host {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} #author-name {box-sizing: border-box;border-radius: 2px;color: var(--yt-live-chat-secondary-text-color);font-weight: 500;} #author-name.single-line {-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;-webkit-line-clamp: 1;overflow: hidden;word-break: break-all;} :host([is-highlighted]) #author-name {padding: 2px 4px;color: var(--yt-live-chat-author-chip-verified-text-color);background-color: var(--yt-live-chat-author-chip-verified-background-color);} :host([is-highlighted]) #author-name.owner,#author-name.owner {background-color: var(--yt-live-chat-author-chip-owner-background-color);color: var(--yt-live-chat-author-chip-owner-text-color);} #author-name.moderator {color: var(--yt-live-chat-moderator-color);} #author-name.member {color: var(--yt-live-chat-sponsor-color);} #chip-badges:empty {display: none;} :host([is-highlighted]) #chat-badges:not(:empty) {margin-left: 1px;} yt-live-chat-author-badge-renderer {margin: 0 0 0 2px;vertical-align: sub;} :host([is-highlighted]) #chip-badges yt-live-chat-author-badge-renderer {color: inherit;} #chip-badges yt-live-chat-author-badge-renderer:last-of-type {margin-right: -2px;} /*# sourceMappingURL=yt-live-chat-author-chip.css.map*/</style>";
YZa=d}d=YZa;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return ZZa=a},
properties:{authorName:{type:Object},authorBadges:{type:Array},authorType:{type:String,computed:"computeAuthorType_(authorBadges)"},authorClass:{type:String,computed:"computeAuthorClass_(authorType, singleLine)"},badgesInsideChip:{type:Array,computed:"computeBadgesInsideChip_(authorBadges)"},badgesOutsideChip:{type:Array,computed:"computeBadgesOutsideChip_(authorBadges)"},isHighlighted:{type:Boolean,computed:"computeIsHighlighted_(authorBadges)",reflectToAttribute:!0},singleLine:{type:Boolean,value:!1}},
behaviors:[_.iu.YtComponentBehavior,_.X.YtRendererstamperBehavior],stampDom:{badgesOutsideChip:{id:"chat-badges",mapping:{liveChatAuthorBadgeRenderer:{component:"yt-live-chat-author-badge-renderer"}}},badgesInsideChip:{id:"chip-badges",mapping:{liveChatAuthorBadgeRenderer:{component:"yt-live-chat-author-badge-renderer"}}}},computeBadgesInsideChip_:function(a){return a?a.filter(function(b){return"verified"===VE(b.liveChatAuthorBadgeRenderer)}):[]},
computeBadgesOutsideChip_:function(a){return a?a.filter(function(b){b=VE(b.liveChatAuthorBadgeRenderer);return"verified"!==b&&"owner"!==b}):[]},
computeIsHighlighted_:function(a){var b=!!_.WE(a,"owner"),c=!!_.WE(a,"verified");a=!!_.WE(a,"moderator");return b||c&&!a},
computeAuthorType_:function(a){return _.PYa(a)},
computeAuthorClass_:function(a,b){return b?(a?a+" ":"")+"single-line":a}});
var $Za;_.mF={};
$Za={properties:{id:{type:String,computed:"identity(data.id)",reflectToAttribute:!0},timestampString:{type:String,computed:"computeTimestampString(data)"},popupPositionTarget:{type:Object,computed:"identity(menuButton)"},menuButton:Object,menuVisible:{type:Boolean,computed:"computeMenuVisible_(menuOpen, menuFocused)",reflectToAttribute:!0},menuOpen:{type:Boolean,value:!1},menuFocused:{type:Boolean,value:!1},emojiManager:Object,participantsManager:Object,isDeleted:{type:Boolean,value:!1,computed:"truthy(data.deletedStateMessage)",
reflectToAttribute:!0},hasOriginalContent:{type:Boolean,value:!1,computed:"truthy(data.showOriginalContentMessage)"},hasInlineActionButtons:{type:Boolean,computed:"computeHasInlineActionButtons_(data)",reflectToAttribute:!0}},supportsInlineActionButtons:!1,listeners:{"yt-popup-opened":"onYtPopupOpened_","yt-popup-closed":"onYtPopupClosedOrCanceled_","yt-popup-canceled":"onYtPopupClosedOrCanceled_"},TIME_FORMATTER:new _.ni(7),shouldSupportInlineActionButtons:function(){return!1},
beforeRegister:function(){if(this.supportsInlineActionButtons||this.shouldSupportInlineActionButtons())this.stampDom||(this.stampDom={}),this.stampDom["data.inlineActionButtons"]={id:"inline-action-buttons",mapping:{buttonRenderer:"yt-button-renderer"}}},
ready:function(){var a=this.$["inline-action-button-container"];a&&_.H(a).setAttribute("aria-hidden","true");this.menuButton=this.$["menu-button"]||this.$$("#menu-button")},
attached:function(){var a=this.menuButton;a&&(this.listen(a,"focusin","onMenuButtonFocus_"),this.listen(a,"focusout","onMenuButtonBlur_"))},
detached:function(){var a=this.menuButton;a&&(this.unlisten(a,"focusin","onMenuButtonFocus_"),this.unlisten(a,"focusout","onMenuButtonBlur_"))},
identity:function(a){return a},
truthy:function(a){return!!a},
computeTimestampString:function(a){return a?a.timestampText?this.getSimpleString(a.timestampText):this.TIME_FORMATTER.format(new Date(a.timestampUsec/1E3)):""},
computeMenuVisible_:function(a,b){return a||b},
computeHasInlineActionButtons_:function(a){return a?a.inlineActionButtons&&a.inlineActionButtons.length||a.additionalInlineActionButtons&&a.additionalInlineActionButtons.length:!1},
createDocumentFragmentFromString:function(a){var b=this.emojiManager?this.emojiManager.createDocumentFragment.bind(this.emojiManager):document.createTextNode.bind(document);if(!this.participantsManager||!this.participantsManager.viewerRegex)return b(a);for(var c=document.createDocumentFragment(),d=0,e;null!=(e=this.participantsManager.viewerRegex.exec(a));){if(this.emojiManager&&0<e.index){var h=":"+e[0]+":";if((_.MC(this.emojiManager,h)||_.nz(this.emojiManager,h))&&a.indexOf(h)==e.index-1)continue}c.appendChild(b(a.substring(d,
e.index)));d=document.createElement("span");d.appendChild(b(e[0]));d.classList.add("mention");c.appendChild(d);d=e.index+e[0].length}c.appendChild(b(a.substr(d)));return c},
createDocumentFragment:function(a){var b=document.createDocumentFragment();if(a.simpleText)return b.appendChild(this.createDocumentFragmentFromString(a.simpleText)),b;if(!a.runs)return b;for(var c=0;c<a.runs.length;c++){var d=a.runs[c];if(d.emoji&&this.emojiManager)b.appendChild(this.emojiManager.createEmoji(d.emoji));else if(d.text)if(d.navigationEndpoint){var e=document.createElement("a");e.classList.add("yt-simple-endpoint");_.EGa(e,d.navigationEndpoint);_.H(e).appendChild(this.createDocumentFragmentFromString(d.text));
b.appendChild(e)}else b.appendChild(this.createDocumentFragmentFromString(d.text))}return b},
colorFromDecimal:function(a){a=parseInt(a,10);return"rgba("+[a>>16&255,a>>8&255,a&255,(a>>24&255)/255].join()+")"},
markAsDeleted:function(a,b){this.set("data.deletedStateMessage",a);this.set("data.showOriginalContentMessage",b)},
onMenuButtonFocus_:function(){this.menuFocused=!0},
onMenuButtonBlur_:function(){this.menuFocused=!1},
showContextMenu:function(a){if(this.data.contextMenuEndpoint){var b=_.Eg().resolve(_.Eo),c=this.data.contextMenuEndpoint;_.Ei()?(b=b.endpointToXhrUrl(c),b=_.up(_.Ei(),{},b)):b=b.requestDataForEndpoint(c);b.then(this.handleGetContextMenuResponse_,this.handleGetContextMenuError_,this);a&&a.stopPropagation()}},
handleGetContextMenuResponse_:function(a){_.Ei()||(a=a.response);a.liveChatItemContextMenuSupportedRenderers&&a.liveChatItemContextMenuSupportedRenderers.menuRenderer&&this.showContextMenu_(a.liveChatItemContextMenuSupportedRenderers.menuRenderer);a.actions&&_.C(this,"yt-live-chat-actions",[a.actions])},
handleGetContextMenuError_:function(a){if(a instanceof Error||a instanceof Object||a instanceof String)var b=a;_.Qf(new _.ge("Error encountered calling GetLiveChatItemContextMenu",b))},
showContextMenu_:function(a){this.openPopup({openPopupAction:{popupType:"DROPDOWN",popup:{menuPopupRenderer:a}}})},
onYtPopupOpened_:function(){this.menuOpen=!0;this.fire("yt-live-chat-context-menu-opened")},
onYtPopupClosedOrCanceled_:function(){this.menuOpen=!1;this.fire("yt-live-chat-context-menu-closed")}};
_.mF.YtLiveChatItemBehavior=[$Za,_.iu.YtComponentBehavior,_.Su.YtOpenPopupBehavior];
var a_a;
var b_a;
var c_a;
var d_a;
var e_a;
var f_a;
_.Ng({is:"yt-live-chat-text-input-field-suggestion",_template:function(){if(void 0!==f_a)return f_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-text-input-field-suggestion--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_text_input_field_suggestion.yt.live.chat.text.input.field.suggestion.css.js--\x3e<tp-yt-paper-item active="[[active]]" on-click="onClick_">\n  <img alt="[[data.alt]]" hidden$="[[!identity(data.image)]]" src$="[[data.image.thumbnails.0.url]]" author$="[[data.author]]">\n  [[data.text]]\n</tp-yt-paper-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===e_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_text_input_field_suggestion.yt.live.chat.text.input.field.suggestion.css.js--\x3e<style>tp-yt-paper-item {font-size: 15px;min-height: 40px;color: var(--yt-live-chat-text-input-field-suggestion-text-color,#666);cursor: pointer;} :host(:hover) tp-yt-paper-item,:host([active]) tp-yt-paper-item {background-color: var(--yt-live-chat-text-input-field-suggestion-background-color-hover,#eee);color: var(--yt-live-chat-text-input-field-suggestion-text-color-hover,#333);} img {width: 24px;height: 24px;margin-right: 8px;-ms-flex: none;-webkit-flex: none;flex: none;} img[author] {border-radius: 12px;} /*# sourceMappingURL=yt-live-chat-text-input-field-suggestion.css.map*/</style>";
e_a=d}d=e_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return f_a=a},
properties:{data:{type:Object,observer:"dataChanged_"},active:{type:Boolean,reflectToAttribute:!0}},identity:_.ej,dataChanged_:function(){this.active=!1},
onClick_:function(){this.fire("yt-live-chat-select-suggestion",this.data)}});
_.Ng({SPLIT_REGEX:/.*([:@#].*?)$/,NBSP_REGEX:/\u00a0/g,NBSP:String.fromCharCode(160),MAX_SUGGESTIONS:64,is:"yt-live-chat-text-input-field-renderer",_template:function(){if(void 0!==d_a)return d_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-text-input-field-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_text_input_field_renderer.yt.live.chat.text.input.field.renderer.css.js--\x3e<label id="label">[[getSimpleString(data.placeholder)]]</label>\n<div id="input" aria-label$="[[getSimpleString(data.placeholder)]]" aria-invalid$="[[!isInputValid]]" contenteditable="" tabindex$="[[inputTabIndex]]" on-blur="onBlur_" on-dragenter="preventDrag_" on-dragleave="preventDrag_" on-dragover="preventDrag_" on-drop="preventDrag_" on-focus="onFocus_" on-input="onInputChange_" on-keydown="onKeyDown_" on-keypress="onKeyPress_" on-keyup="onKeyUp_" on-paste="onInputPaste_"></div>\n<div id="underline">\n  <div id="unfocused"></div>\n  <div id="focused"></div>\n</div>\n<tp-yt-iron-dropdown id="dropdown" allow-outside-scroll="" no-auto-focus="" vertical-align="bottom" vertical-offset="24">\n  <div id="dropdown-content" class="dropdown-content" slot="dropdown-content">\n  </div>\n</tp-yt-iron-dropdown>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===c_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_text_input_field_renderer.yt.live.chat.text.input.field.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {display: block;position: relative;font-size: 13px;--yt-live-chat-text-input-field-placeholder-top: 0;--yt-live-chat-text-input-field-placeholder-left: 0;--yt-live-chat-text-input-field-white-space: initial;} #label {color: var(--yt-live-chat-text-input-field-placeholder-color,var(--yt-deprecated-luna-black-opacity-lighten-2));position: absolute;top: var(--yt-live-chat-text-input-field-placeholder-top);left: var(--yt-live-chat-text-input-field-placeholder-left);line-height: 18px;padding: 2px 0;} :host([has-text]) #label {display: none;} #input {position: relative;min-height: 18px;max-height: 100px;overflow-y: auto;overflow-x: hidden;overflow-wrap: break-word;outline: none;word-break: break-word;white-space: var(--yt-live-chat-text-input-field-white-space);line-height: 18px;padding: 2px 0;color: var(--yt-live-chat-text-input-field-color,inherit);text-shadow: var(--yt-live-chat-text-input-field-text-shadow);} #input::after {content: "";} #input img {width: 20px;height: 20px;margin: -5px 2px;} #underline {position: relative;height: 2px;} #unfocused {position: absolute;top: 0;left: 0;right: 0;height: 1px;background-color: var(--yt-live-chat-text-input-field-inactive-underline-color,#b8b8b8);} #focused {position: absolute;top: 0;left: 0;right: 0;height: 2px;background-color: var(--yt-live-chat-text-input-field-active-underline-color,var(--yt-deprecated-blue));-webkit-transform-origin: center center;transform-origin: center center;-webkit-transform: scale3d(0,1,1);transform: scale3d(0,1,1);-webkit-transition: -webkit-transform;-webkit-transition-duration: var(--yt-live-chat-text-input-field-underline-transition-duration,0.25s);transition: transform;transition-duration: var(--yt-live-chat-text-input-field-underline-transition-duration,0.25s);} :host([focused]) #focused {-webkit-transform: none;transform: none;} #dropdown {background-color: var(--yt-live-chat-text-input-field-suggestion-background-color,#fff);box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} #dropdown-content {max-height: 200px;padding: 8px 0;} /*# sourceMappingURL=yt-live-chat-text-input-field-renderer.css.map*/</style>';
c_a=d}d=c_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return d_a=a},
properties:{data:{type:Object,observer:"dataChanged_"},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},inputTabIndex:{type:Number,computed:"computeInputTabIndex_(disabled)"},maxCharacterLimit:{type:Number,notify:!0,readOnly:!0,computed:"computeMaxCharacterLimit_(data.maxCharacterLimit)"},characterCount:{type:Number,notify:!0,readOnly:!0,computed:"computeCharacterCount_(liveChatRichMessageInput)",observer:"characterCountChanged_"},liveChatRichMessageInput:{type:Object,value:null,notify:!0,readOnly:!0},
hasText:{type:Boolean,reflectToAttribute:!0,computed:"computeHasText_(characterCount)"},isValidWithNoInputText:{type:Boolean,value:!1},isInputValid:{type:Boolean,computed:"computedIsInputValid(characterCount, maxCharacterLimit, isValidWithNoInputText)"},focused:{readOnly:!0,type:Boolean,value:!1,reflectToAttribute:!0},suggestions:{type:Array,value:[]},emojiManager:Object,participantsManager:Object,messageInput:Object,shouldUseStickyEmojiPreferences:{type:Boolean,value:function(){return _.x("live_chat_use_new_emoji_picker")}}},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],listeners:{"yt-live-chat-select-suggestion":"onSuggestion_"},stampDom:{suggestions:{id:"dropdown-content",mapping:{suggestion:"yt-live-chat-text-input-field-suggestion"},reuseComponents:!0}},created:function(){this.suggestionIndex_=-1;this.lastSuggestionRange_=null},
ready:function(){this.scopeSubtree(this.$.input,!0)},
attached:function(){_.Ej&&(document.execCommand("enableObjectResizing",!1,!1),document.execCommand("enableInlineTableEditing",!1,!1))},
detached:function(){this.setLiveChatRichMessageInput(null)},
dataChanged_:function(a){var b={placeholderTextColor:"--yt-live-chat-text-input-field-placeholder-color",activeUnderlineColor:"--yt-live-chat-text-input-field-active-underline-color",inactiveUnderlineColor:"--yt-live-chat-text-input-field-inactive-underline-color"},c=!1,d={},e;for(e in b)a&&a[e]&&(d[b[e]]=this.colorFromDecimal(a[e]),c=!0);c&&this.updateStyles(d);this.messageInput&&this.setLiveChatRichMessageInput(this.messageInput)},
colorFromDecimal:function(a){a=parseInt(a,10);return"rgba("+[a>>16&255,a>>8&255,a&255,(a>>24&255)/255].join()+")"},
preventDrag_:function(a){a.dataTransfer&&(a.dataTransfer.dropEffect="none");a.preventDefault()},
preventResize_:function(a){a.returnValue=!1},
onInputChange_:function(){var a=this.getCurrentRange_();if(a){var b=this.calculateTextBeforeRange_(a);this.completeEmojis_(a,b,!0)||this.updateSuggestions_(a,b)}a=this.calculateLiveChatRichMessageInput_();this._setLiveChatRichMessageInput(a);this.fire("yt-live-chat-message-input-change",a)},
getCurrentRange_:function(){var a=window.getSelection();return a.rangeCount?a.getRangeAt(0).cloneRange():null},
getInputRange_:function(){var a=this.getCurrentRange_();if(a){for(var b=a.commonAncestorContainer,c=!1;b;){if(b==this.$.input){c=!0;break}b=b.parentNode}c||(a=null)}a||(a=this.getRangeAtEnd_());return a},
getRangeAtEnd_:function(){var a=document.createRange();this.$.input.lastChild?a.setStart(this.$.input.lastChild,this.$.input.lastChild.length):(a.selectNodeContents(this.$.input),a.collapse(!1));return a},
getSuggestions_:function(a){var b=[],c=a.substr(0,3),d=_.pVa(this.emojiManager,c);if(d)for(var e in d)if(0==e.toLocaleLowerCase().indexOf(a)){var h=d[e];if(h&&h.emojiId){h=this.getEmoji(h.emojiId);var l=void 0;l=h.image&&h.image.accessibility&&h.image.accessibility.accessibilityData?h.image.accessibility.accessibilityData.label:h.isCustomEmoji?h.shortcuts[0]:h.emojiId;b.push({suggestion:{emoji:!0,image:h.image,alt:l,text:e,textToInsertWhenSelected:h.isCustomEmoji?e:l}});if(b.length>=this.MAX_SUGGESTIONS)break}}if(!this.participantsManager)return null;
if(0==c.indexOf("@")||0==c.indexOf("#"))if(d=c.charAt(0),a=a.substr(1),c=c.substr(1),c=this.participantsManager.getAuthorsFromPrefix(c))for(var m in c)if(0==m.indexOf(a)&&(e=c[m],h=_.qi(e.authorName),b.push({suggestion:{author:!0,authorType:d,image:e.authorPhoto,alt:h,text:h}}),b.length>=this.MAX_SUGGESTIONS))break;return b?b.sort(function(p,r){return r.suggestion.text<p.suggestion.text?-1:r.suggestion.text==p.suggestion.text?0:1}):null},
insertSuggestion_:function(a){a.emoji?this.insertTextAtRange_(this.lastSuggestionRange_,a.textToInsertWhenSelected):a.author&&this.insertTextAtRange_(this.lastSuggestionRange_,a.authorType+a.text+this.NBSP)},
updateSuggestionsAtCaret_:function(){var a=this.getCurrentRange_();a&&this.updateSuggestions_(a,this.calculateTextBeforeRange_(a))},
offsetStartOfRangeBy_:function(a,b){for(;0<b;)if(0<=a.startOffset-b){a.setStart(a.startContainer,a.startOffset-b);break}else{b=a.startContainer instanceof HTMLImageElement?b-a.startContainer.alt.length:b-a.startOffset;var c=a.startContainer.previousSibling;if(!c){a.setStart(a.startContainer,0);break}a.setStart(c,c.length||0)}},
updateSuggestions_:function(a,b){this.lastSuggestionRange_&&(this.lastSuggestionRange_.detach(),this.lastSuggestionRange_=null);if((b=this.SPLIT_REGEX.exec(b))&&b.length&&(b=b[b.length-1].toLocaleLowerCase(),2<b.length&&(this.offsetStartOfRangeBy_(a,b.length),this.lastSuggestionRange_=a,(a=this.getSuggestions_(b))&&a.length))){this.suggestions=a;_.nt(this,function(){this.$["dropdown-content"].scrollTop=Math.pow(2,24)});
this.$.dropdown.opened?this.$.dropdown.notifyResize():this.$.dropdown.opened=!0;this.suggestionIndex_=-1;this.changeSuggestionIndex_(a.length-1);return}this.$.dropdown.opened=!1},
completeEmojis_:function(a,b,c){var d=b.replace(/[\s\xa0]+$/,"");b=b.length-d.length;d=d.split(" ");d=d[d.length-1].trim().toLocaleLowerCase();var e=d.lastIndexOf(":");if(c&&!b&&e!=d.length-1)return!1;-1!=e&&(c=d.lastIndexOf(":",e-1),-1!=c&&(d=d.substring(c)));return(c=_.nz(this.emojiManager,d))&&c.emojiId?(c=this.getEmoji(c.emojiId),this.offsetStartOfRangeBy_(a,d.length+b),c=(c.isCustomEmoji?c.shortcuts[0]:c.emojiId)||"",b&&(c+=this.NBSP),this.insertTextAtRange_(a,c),this.$.dropdown.opened=!1,!0):
!1},
onSuggestion_:function(a){this.insertSuggestion_(a.detail);this.$.dropdown.opened=!1},
onKeyPress_:function(a){13==a.keyCode&&(a.preventDefault(),this.$.dropdown.opened?(this.insertSuggestion_(this.suggestions[this.suggestionIndex_].suggestion),this.$.dropdown.opened=!1):this.fire("yt-live-chat-send-message"))},
completeEmojis:function(){var a=document.createRange();this.$.input.lastChild?a.setStart(this.$.input.lastChild,this.$.input.lastChild.length):(a.selectNodeContents(this.$.input),a.collapse(!1));this.completeEmojis_(a,this.calculateTextBeforeRange_(a),!1)},
maybePreventTextFormatting_:function(a){!_.Kj||!a.ctrlKey&&!a.metaKey||66!==a.keyCode&&73!==a.keyCode||(a.stopImmediatePropagation(),a.preventDefault())},
onKeyDown_:function(a){this.maybePreventTextFormatting_(a);if(this.$.dropdown.opened)switch(a.keyCode){case 27:this.$.dropdown.opened=!1;a.stopPropagation();break;case 9:this.insertSuggestion_(this.suggestions[this.suggestionIndex_].suggestion);this.$.dropdown.opened=!1;a.preventDefault();break;case 38:this.changeSuggestionIndex_(this.suggestionIndex_-1);a.preventDefault();break;case 40:this.changeSuggestionIndex_(this.suggestionIndex_+1),a.preventDefault()}},
onKeyUp_:function(a){switch(a.keyCode){case 37:case 39:this.updateSuggestionsAtCaret_();break;case 38:case 40:this.$.dropdown.opened||this.updateSuggestionsAtCaret_()}if(_.Cj)this.onInputChange_()},
changeSuggestionIndex_:function(a){if(this.$.dropdown.opened){var b=this.$["dropdown-content"];0<=this.suggestionIndex_&&this.suggestionIndex_<b.children.length&&(b.children[this.suggestionIndex_].active=!1);this.suggestionIndex_=(a+this.suggestions.length)%this.suggestions.length;a=b.children[this.suggestionIndex_];a.active=!0;b.scrollTop=a.offsetTop}},
onInputPaste_:function(a){a.preventDefault();(a=a.clipboardData)&&a.types&&(a=a.getData("text/plain")||"",a=a.replace(/\n/g,""),this.insertText_(a))},
onFocus_:function(){this._setFocused(!0)},
onBlur_:function(){this._setFocused(!1)},
insertText_:function(a){this.insertTextAtRange_(this.getInputRange_(),a)},
insertTextAtRange_:function(a,b){if(a){a.collapsed||a.deleteContents();if(this.emojiManager){b=this.emojiManager.createDocumentFragment(b,!0,!1);for(var c=_.k(b.childNodes),d=c.next();!d.done;d=c.next())window.ShadyCSS.ScopingShim.scopeNode(d.value,this.localName);c=b.lastChild;a.insertNode(b);this.focused&&(a=a.cloneRange(),a.selectNodeContents(c),a.collapse(!1),b=window.getSelection(),b.removeAllRanges(),b.addRange(a))}a=this.calculateLiveChatRichMessageInput_();this._setLiveChatRichMessageInput(a);
this.fire("yt-live-chat-message-input-change",a)}},
setLiveChatRichMessageInput:function(a){this.$.input.textContent="";if(a&&a.textSegments){for(var b=0;b<a.textSegments.length;b++){var c=a.textSegments[b];c.text?this.$.input.appendChild(this.emojiManager.createDocumentFragment(c.text,!0,!1)):c.emojiId&&(c=_.MC(this.emojiManager,c.emojiId))&&this.$.input.appendChild(this.emojiManager.createEmoji(c,!1))}this._setLiveChatRichMessageInput(this.calculateLiveChatRichMessageInput_())}else this._setLiveChatRichMessageInput(null)},
setText:function(a){this.setLiveChatRichMessageInput(a?{textSegments:[{text:a}]}:null)},
calculateTextBeforeRange_:function(a){var b="",c=a.startContainer;c instanceof Text&&(b=c.textContent.substr(0,a.startOffset),c=c.previousSibling);for(;c&&c instanceof Text;)b=c.textContent+b,c=c.previousSibling;return b.replace(this.NBSP_REGEX," ")},
calculateLiveChatRichMessageInput_:function(){for(var a=[],b="",c=this.$.input.childNodes,d=0;d<c.length;d++){var e=c[d];e instanceof Text?b+=e.textContent:e instanceof HTMLImageElement&&(e.dataset.emojiId?(b&&(a.push({text:b.replace(this.NBSP_REGEX," ")}),b=""),a.push({emojiId:e.dataset.emojiId})):b+=e.alt)}b&&a.push({text:b.replace(this.NBSP_REGEX," ")});return{textSegments:a}},
computeMaxCharacterLimit_:function(a){return a||0},
computeHasText_:function(a){return 0<a},
computeCharacterCount_:function(a){if(!a)return 0;for(var b=0,c=0;c<a.textSegments.length;c++){var d=a.textSegments[c];d.text?b+=d.text.length:d.emojiId&&(b=this.data.emojiCharacterCount?b+this.data.emojiCharacterCount:b+_.MC(this.emojiManager,d.emojiId).shortcuts[0].length)}return b},
computedIsInputValid:function(){return 0===this.characterCount?this.isValidWithNoInputText:this.characterCount<=this.maxCharacterLimit},
characterCountChanged_:function(a){this.fire("yt-live-chat-text-input-field-renderer-character-count-changed",{characterCount:a})},
focus:function(){this.setFocus_(!1)},
focusAtEnd:function(){this.setFocus_(!0)},
setFocus_:function(a){a=a?this.getRangeAtEnd_():this.getInputRange_();this.$.input.focus();var b=window.getSelection();b.removeAllRanges();b.addRange(a)},
insertEmoji:function(a){this.insertText_((a.isCustomEmoji?a.shortcuts[0]:a.emojiId)||"")},
computeText_:function(a){if(!a)return"";for(var b="",c=0;c<a.textSegments.length;c++){var d=a.textSegments[c];d.text?b+=d.text:d.emojiId&&(b+=_.MC(this.emojiManager,d.emojiId).shortcuts[0])}return b},
computeInputTabIndex_:function(a){return a?-1:0},
getEmoji:function(a){return this.shouldUseStickyEmojiPreferences?_.oVa(this.emojiManager,a):_.NC(this.emojiManager,a)}});
var h_a;_.g_a={};h_a=function(){return _.vt.apply(this,arguments)||this};
_.q(h_a,_.vt);h_a.prototype.onLiveChatMembershipItemBehaviorClick=function(){this.data&&this.ytRendererBehavior.logExplicitClick(this.data)};
var nF=h_a;nF.prototype.onLiveChatMembershipItemBehaviorClick=nF.prototype.onLiveChatMembershipItemBehaviorClick;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],nF.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],nF.prototype,"data",void 0);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],nF.prototype,"onLiveChatMembershipItemBehaviorClick",null);nF=_.S([_.wt()],nF);
_.g_a.YtLiveChatMembershipItemBehavior=[nF.prototype,_.U.YtRendererBehavior];
var oF=function(){var a=_.K.apply(this,arguments)||this;a.supportsInlineActionButtons=!0;a.hasPrimaryHeaderText=!1;a.showOnlyHeader=!1;a.authorBadges=[];return a};
_.q(oF,_.K);_.f=oF.prototype;_.f.shouldSupportInlineActionButtons=function(){return!0};
_.f.configureRendererStamper=function(){return{"data.footerButton":{id:"footer-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
_.f.ready=function(){var a=document.querySelector("yt-live-chat-app");a&&a.hasAttribute("dashboard-money-feed")&&_.H(this).setAttribute("dashboard-money-feed","")};
_.f.messageChanged=function(){var a=this.data.message,b=_.H(this.$.message);b.textContent="";a&&b.appendChild(this.ytLiveChatItemBehavior.createDocumentFragment(a))};
_.f.computeHasPrimaryHeaderText=function(a){return!(!a||!a.headerPrimaryText)};
_.f.computeShowOnlyHeader=function(a,b){return this.isMessageEmpty(a,b)};
_.f.computeAuthorBadges=function(a){return a.authorBadges||[]};
_.f.isMessageEmpty=function(a,b){return!a||a.empty?!0:!a.message&&!a.inputField&&!b};
_.f.isDeletedChanged=function(){this.ytLiveChatItemBehavior.isDeleted&&(this.set("data.authorName",null),this.set("data.authorPhoto",null),this.set("data.message",null))};
_.f.getInputElement=function(){return this.$$("yt-live-chat-text-input-field-renderer")};
_.f.inputFocus=function(){var a=this.getInputElement();a&&a.focus()};
_.f.inputInsertEmoji=function(a){var b=this.getInputElement();b&&b.insertEmoji(a)};
_.f.inputMessage=function(){var a=this.getInputElement();return a&&this.data.inputField?(a.completeEmojis(),_.XE(a.liveChatRichMessageInput)):null};
_.f.onFooterButtonClick=function(){this.data.footerButton&&this.fire("yt-live-chat-clear-pinned-message")};
_.t.Object.defineProperties(oF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===b_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-membership-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_membership_item_renderer.yt.live.chat.membership.item.renderer.css.js--\x3e<div id="card">\n  <div id="header">\n    <template is="dom-if" if="[[data.authorPhoto]]" restamp="">\n      <yt-img-shadow id="author-photo" height="40" thumbnail="[[data.authorPhoto]]" width="40"></yt-img-shadow>\n    </template>\n    <template is="dom-if" if="[[!data.authorPhoto]]">\n      <yt-icon id="author-photo" icon="yt-icons:avatar_anonymous"></yt-icon>\n    </template>\n    <div id="header-content">\n      <div id="header-content-primary-column">\n        <div id="header-content-inner-column">\n          <template is="dom-if" if="[[data.authorName]]" restamp="">\n            <yt-live-chat-author-chip author-badges="[[authorBadges]]" author-name="[[data.authorName]]">\n            </yt-live-chat-author-chip>\n          </template>\n          <div id="header-primary-text">[[getSimpleString(data.headerPrimaryText)]]</div>\n        </div>\n        <div id="header-subtext">[[getSimpleString(data.headerSubtext)]]</div>\n      </div>\n      <div id="timestamp">[[timestampString]]</div>\n    </div>\n    <div id="menu" hidden$="[[!data.contextMenuEndpoint]]">\n      <yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="showContextMenu">\n        <yt-icon icon="more_vert"></yt-icon>\n      </yt-icon-button>\n    </div>\n  </div>\n  <div id="content">\n    <div id="message" dir="auto"></div>\n    <div id="input-container">\n      <template is="dom-if" if="[[data.inputField]]">\n        <yt-live-chat-text-input-field-renderer id="input-field" data="[[data.inputField.liveChatTextInputFieldRenderer]]" emoji-manager="[[emojiManager]]" participants-manager="[[participantsManager]]">\n        </yt-live-chat-text-input-field-renderer>\n      </template>\n    </div>\n    <yt-formatted-string id="deleted-state" is-deleted$="[[isDeleted]]" text="[[data.deletedStateMessage]]"></yt-formatted-string>\n  </div>\n</div>\n<div id="footer-button" hidden$="[[!data.footerButton]]" on-click="onFooterButtonClick"></div>\n<div id="inline-action-button-container">\n  <div id="inline-action-buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===a_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_membership_item_renderer.yt.live.chat.membership.item.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ #timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {position: relative;display: block;--yt-live-chat-sponsor-header-color: #0a8043;--yt-live-chat-sponsor-color: #0f9d58;--yt-live-chat-sponsor-text-color: #fff;--yt-live-chat-item-timestamp-display: var(--yt-live-chat-paid-message-timestamp-display, none);--yt-live-chat-moderator-color: var(--yt-spec-static-overlay-text-secondary);--yt-live-chat-footer-button-text-color: #030303;--yt-live-chat-footer-button-text-background-color: #fff;padding: 4px 24px;} :host([dashboard-money-feed]) {padding: 0;--yt-live-chat-item-timestamp-display: block;} #card {overflow: hidden;font-size: 14px;border-radius: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} :host([dashboard-money-feed]) #card {border-radius: 0;box-shadow: none;} #header {position: relative;background-color: var(--yt-live-chat-sponsor-header-color);padding: 8px 16px;color: #fff;min-height: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([show-only-header]) #header {background-color: var(--yt-live-chat-sponsor-color);} :host([dashboard-money-feed]) #header {color: var(--yt-live-chat-secondary-text-color);background-color: var(--yt-live-chat-background-color);-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #header-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} :host([dashboard-money-feed]) #header-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dashboard-money-feed]) #header-content-inner-column {margin-bottom: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: none;-webkit-flex: none;flex: none;} #author-photo {width: 40px;height: 40px;} yt-icon#author-photo {display: none;} :host([dashboard-money-feed]) yt-icon#author-photo {display: block;} :host(:not([dashboard-money-feed])) yt-live-chat-author-chip {--yt-live-chat-sponsor-color: var(--yt-live-chat-sponsor-text-color);--yt-live-chat-secondary-text-color: var(--yt-live-chat-sponsor-text-color);} :host([dashboard-money-feed]) yt-live-chat-author-chip {margin-right: 8px;font-weight: 500;--yt-live-chat-sponsor-color: var(--yt-live-chat-secondary-text-color);} #header-subtext {margin-top: 2px;color: rgba(255,255,255,0.7);font-weight: 500;font-size: 15px;} #header-subtext:empty {display: none;} :host([dashboard-money-feed]) #header-subtext {margin: 4px 0 13px;font-size: 11px;font-weight: normal;color: var(--yt-live-chat-secondary-text-color);} #header-primary-text {word-wrap: break-word;word-break: break-word;font-weight: 500;color: white;} #header-primary-text:empty {display: none;} :host([has-primary-header-text]):not([dashboard-money-feed]) yt-live-chat-author-chip,:host([has-primary-header-text]):not([dashboard-money-feed]) #header-subtext {font-size: 12px;} :host([dashboard-money-feed]) #header-primary-text {display: inline;height: 24px;min-width: 16px;border-radius: 12px;margin-right: 8px;padding: 0 12px;background-color: var(--yt-live-chat-sponsor-color);color: var(--yt-spec-static-brand-white);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} #content {background-color: var(--yt-live-chat-sponsor-color);color: var(--yt-live-chat-sponsor-text-color);padding: 8px 16px;word-wrap: break-word;word-break: break-word;font-size: 15px;line-height: 20px;} :host([dashboard-money-feed]) #content {background-color: unset;font-size: unset;color: var(--yt-live-chat-secondary-text-color);padding: 0 0 16px 72px;} #content img {width: var(--yt-live-chat-emoji-size);height: var(--yt-live-chat-emoji-size);margin: -1px 2px 1px;vertical-align: middle;} :host([show-only-header]) #content,#deleted-state:empty {display: none;} #deleted-state {display: block;font-style: italic;opacity: 0.7;} a {display: inline;text-decoration: underline;} #message a {word-break: break-all;} #message a .mention {text-decoration: underline;} #menu {background: linear-gradient(to right,transparent,var(--yt-live-chat-sponsor-header-color) 100%);border-radius: 0 4px 4px 0;} :host([show-only-header]) #menu {background: linear-gradient(to right,transparent,var(--yt-live-chat-sponsor-color) 100%);} :host([dashboard-money-feed]) #menu {margin-top: 8px;background: linear-gradient(to right,transparent,var(--yt-live-chat-background-color) 40%);} #footer-button yt-button-renderer {width: 100%;text-align: center;margin-top: 12px;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} yt-button-renderer.style-dark-on-white {color: var(--yt-live-chat-footer-button-text-color);background-color: var(--yt-live-chat-footer-button-text-background-color);} /*# sourceMappingURL=yt-live-chat-membership-item-renderer.css.map*/</style>";
a_a=d}d=a_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);b_a=a}a=b_a;return a}}});
var pF=oF;pF.prototype.isDeletedChanged=pF.prototype.isDeletedChanged;pF.prototype.messageChanged=pF.prototype.messageChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],pF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],pF.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.L(_.g_a.YtLiveChatMembershipItemBehavior),_.T("design:type",Object)],pF.prototype,"ytLiveChatMembershipItemBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],pF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],pF.prototype,"data",void 0);_.S([_.N({computed:"computeHasPrimaryHeaderText(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],pF.prototype,"hasPrimaryHeaderText",void 0);_.S([_.N({computed:"computeShowOnlyHeader(data, isDeleted)",reflectToAttribute:!0}),_.T("design:type",Boolean)],pF.prototype,"showOnlyHeader",void 0);
_.S([_.N({computed:"computeAuthorBadges(data)"}),_.T("design:type",Array)],pF.prototype,"authorBadges",void 0);_.S([_.P("data.message"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pF.prototype,"messageChanged",null);_.S([_.P("isDeleted"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pF.prototype,"isDeletedChanged",null);pF=_.S([_.Q({is:"yt-live-chat-membership-item-renderer"})],pF);
var i_a;
var j_a;
_.$u("itemSectionRenderer","messageRenderer","ytd-message-renderer");_.$u("multiPageMenuSectionItems","messageRenderer","ytd-message-renderer");var qF=function(){return _.K.apply(this,arguments)||this};
_.q(qF,_.K);qF.prototype.configureRendererStamper=function(){return{"data.button":{id:"message-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.icon":{id:"icon",mapping:{iconType:{component:"yt-icon",properties:{icon:"[[data.icon.iconType]]"}}}}}};
qF.prototype.computeMessageStyle=function(a){return a};
_.t.Object.defineProperties(qF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===j_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_message_renderer.ytd.message.renderer.css.js--\x3e<div id="icon"></div>\n<yt-formatted-string id="message" hidden$="[[!data.text]]" text="[[data.text]]"></yt-formatted-string>\n<yt-formatted-string id="submessage" hidden$="[[!data.subtext]]" split-lines="" text="[[data.subtext.messageSubtextRenderer.text]]"></yt-formatted-string>\n<div id="message-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===i_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_message_renderer.ytd.message.renderer.css.js--\x3e<style>:host {padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([shelf]) {padding: 0 0 24px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([panel]) {padding: 8px 24px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #message {color: var(--yt-message-renderer-text-color,var(--yt-spec-text-primary));text-align: var(--yt-message-renderer-text-align,initial);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #submessage {color: var(--yt-spec-text-secondary);text-align: var(--yt-message-renderer-text-align,initial);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #message:not([hidden])+#submessage {margin-top: 16px;} #message-button:not(:empty) {margin-top: 16px;} :host([component-style=RENDER_STYLE_EMPTY_STATE]) {padding-top: 140px;} :host([component-style=RENDER_STYLE_EMPTY_STATE]) yt-icon {height: 96px;width: 96px;color: var(--yt-spec-icon-inactive);} :host([component-style=RENDER_STYLE_EMPTY_STATE]) #message:not([hidden]) {margin-top: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} :host([component-style=RENDER_STYLE_EMPTY_STATE]) #submessage:not([hidden]) {margin-top: 8px;color: var(--yt-spec-text-primary);} :host([component-style=RENDER_STYLE_EMPTY_STATE]) #message-button:not(:empty) {margin-top: 24px;} :host([component-style=RENDER_STYLE_DIALOG]) {max-width: 400px;margin-left: 16px;margin-right: 16px;} :host([component-style=RENDER_STYLE_SIMPLE_HEADER]) {padding: 8px 12px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([component-style=RENDER_STYLE_SIMPLE_HEADER]) #message:not([hidden])+#submessage {margin-top: 4px;font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;} :host([component-style=RENDER_STYLE_BANNER_PANEL]) {background-color: var(--yt-spec-general-background-a);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([component-style=RENDER_STYLE_BANNER_PANEL]) #message {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([component-style=RENDER_STYLE_BANNER_PANEL]) yt-icon {width: 12px;height: 12px;margin-right: 16px;} /*# sourceMappingURL=ytd-message-renderer.css.map*/</style>';
i_a=d}d=i_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);j_a=a}a=j_a;return a}}});
var rF=qF;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],rF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],rF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],rF.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],rF.prototype,"shelf",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],rF.prototype,"panel",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeMessageStyle(data.style.value)"}),_.T("design:type",Boolean)],rF.prototype,"componentStyle",void 0);rF=_.S([_.Q({asyncProperties:!0,is:"ytd-message-renderer"})],rF);
var k_a;
var l_a;
_.Ng({is:"yt-copy-link-renderer",_template:function(){if(void 0!==l_a)return l_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-copy-link-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_copy_link_renderer.yt.copy.link.renderer.css.js--\x3e<div id="bar">\n  <input id="share-url" dir="ltr" readonly="" size="45" value="[[data.shortUrl]]">\n  <yt-button-renderer id="copy-button" data="[[data.copyButton.buttonRenderer]]"></yt-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===k_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_copy_link_renderer.yt.copy.link.renderer.css.js--\x3e<style>:host {display: inline-block;width: 100%;} :host([renderer-style=copy-link-renderer-style-settings]) {max-width: 350px;} #bar {justify-content: space-between;border: 1px solid var(--yt-spec-10-percent-layer);background-color: var(--yt-spec-general-background-a);border-radius: 2px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([renderer-style=copy-link-renderer-style-settings]) #bar {background-color: transparent;padding: var(--ytd-margin-base) 0;} #share-url {margin-left: var(--ytd-margin-4x);border: none;overflow: hidden;white-space: nowrap;background-color: rgba(0,0,0,0);color: var(--yt-spec-text-primary);font-size: 14px;} :host(:dir(rtl)) #share-url {text-align: end;} #copy-button {padding: 0 var(--ytd-margin-2x);color: var(--yt-spec-themed-blue);} /*# sourceMappingURL=yt-copy-link-renderer.css.map*/</style>";
k_a=d}d=k_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return l_a=a},
behaviors:[_.Y.YtActionHandlerBehavior,_.U.YtRendererBehavior],properties:{data:Object,rendererStyle:{type:String,reflectToAttribute:!0,computed:"computeStyle_(data.style)"}},actionMap:{"yt-share-panel-set-timestamp-action":"handleSetTimestamp_","yt-signal-action-copy-share-url":"handleSignalActionCopyShareUrl_"},handleSetTimestamp_:function(a){this.data&&this.data.shortUrl&&(this.$["share-url"].value=a.isSet?_.Vt(this.data.shortUrl,"t",a.timestamp):this.data.shortUrl)},
handleSignalActionCopyShareUrl_:function(){this.copyUrlToClipboard_()},
copyUrlToClipboard_:function(){window.getSelection().removeAllRanges();this.$["share-url"].select();document.execCommand("copy")},
computeStyle_:function(a){return a?a.toLowerCase().replace(/_/g,"-"):""}});
var m_a;
var n_a;
var sF=function(){var a=_.K.apply(this,arguments)||this;a.hideCharCounter=!1;a.hideLabel=!1;a.noLabelFloat=!1;a.autoValidate=!0;a.invalid=!1;a.actionMap={"yt-update-text-input-form-field-renderer-command":"handleUpdateTextInputFormFieldRendererCommand"};return a};
_.q(sF,_.K);_.f=sF.prototype;_.f.reset=function(a){this.value=a&&this.data?this.data.value=a:"";this.input.invalid=!1;this.input.autoValidate=!1};
_.f.save=function(){this.data&&_.Kg(this,[this.data.onChange])};
_.f.focusTextInput=function(){this.input.focus()};
_.f.validate=function(){if(!this.autoValidate)return!this.invalid;if(!this.input)return!1;var a;if((null==(a=this.data)?0:a.isMultiline)&&null!=this.value&&this.data.validValueRegexp&&!RegExp("^"+this.data.validValueRegexp+"$").test(this.input.value))return this.input.autoValidate=!1,this.invalid=!0,!1;this.input.autoValidate=!0;return this.input.validate()};
_.f.valueChanged=function(a){a||""===a?this.value=a:void 0!==a||this.value||(this.value="")};
_.f.computeLabel=function(a,b){return b?"":_.qi(a)};
_.f.computeAriaLabel=function(a,b){return b?_.qi(a):""};
_.f.computeErrorMessage=function(a,b,c,d){!a&&b?a=c||this.strings.REQUIRED_LABEL:(a=_.qi(d),a=_.va(a,"&")?"document"in _.g?UYa(a):SYa(a):a);return a};
_.f.computeType=function(a){return"TEXT_INPUT_FORM_FIELD_TYPE_PASSWORD"===a?"password":null};
_.f.onTextValueChanged=function(a){this.value=a.detail.value;this.validate()&&this.data&&this.data.key&&this.data.onChange&&this.set(this.data.key,this.input.value,this.data.onChange)};
_.f.handleUpdateTextInputFormFieldRendererCommand=function(a){(a=a.updateTextInputFormFieldRendererCommand)&&this.data&&this.data.id===a.id&&(void 0!==a.invalid&&(this.invalid=a.invalid),void 0!==a.invalidValueErrorMessage&&this.set("data.invalidValueErrorMessage",a.invalidValueErrorMessage))};
_.f.valueChangedForBinding=function(){this.dispatchEvent(new _.TC("value-changed",this.value))};
_.f.updateInvalidFromBinding=function(a){this.invalid=a.detail.value};
_.t.Object.defineProperties(sF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===n_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-text-input-form-field-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.playlist.yt_text_input_form_field_renderer.yt.text.input.form.field.renderer.css.js--\x3e<template is="dom-if" if="[[data.isMultiline]]">\n  <tp-yt-paper-textarea id="input" always-float-label="" aria-label$="[[computeAriaLabel(data.label, hideLabel)]]" char-counter="" error-message="[[computeErrorMessage(value, data.required, requiredErrorMessage, data.invalidValueErrorMessage)]]" invalid="[[invalid]]" label="[[computeLabel(data.label, hideLabel)]]" max-rows="5" maxlength="[[data.maxCharacterLimit]]" no-label-float="[[noLabelFloat]]" pattern="[[data.validValueRegexp]]" placeholder="[[data.placeholderText]]" required="[[data.required]]" rows="[[data.rows]]" use-v2-underline="" value="[[value]]" on-invalid-changed="updateInvalidFromBinding" on-value-changed="onTextValueChanged">\n  </tp-yt-paper-textarea>\n</template>\n<template is="dom-if" if="[[!data.isMultiline]]">\n  <tp-yt-paper-input id="input" always-float-label="" aria-label$="[[computeAriaLabel(data.label, hideLabel)]]" char-counter="[[!data.hideCharCounter]]" error-message="[[computeErrorMessage(value, data.required, requiredErrorMessage, data.invalidValueErrorMessage)]]" invalid="[[invalid]]" label="[[computeLabel(data.label, hideLabel)]]" maxlength="[[data.maxCharacterLimit]]" no-label-float="[[noLabelFloat]]" pattern="[[data.validValueRegexp]]" placeholder="[[data.placeholderText]]" required="[[data.required]]" type="[[computeType(data.type)]]" use-v2-underline="" value="[[value]]" on-invalid-changed="updateInvalidFromBinding" on-value-changed="onTextValueChanged">\n  </tp-yt-paper-input>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===m_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.playlist.yt_text_input_form_field_renderer.yt.text.input.form.field.renderer.css.js--\x3e<style>:host {--paper-input-char-counter: {color: var(--yt-spec-text-primary);};--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-color: var(--yt-spec-text-primary);display: block;padding-bottom: 6px;} tp-yt-paper-input {--paper-input-container-underline-height: 0;--paper-input-container-underline-background: transparent;--paper-input-container-underline-border-bottom: 1px solid var( --yt-text-input-form-field-underline-color, var(--yt-spec-text-secondary) );--paper-input-char-counter: {margin-top: -2px;height: 18px;color: var(--yt-spec-text-primary);};--paper-input-container-underline-focus-border-color: var( --paper-input-container-underline-focus-color, var(--yt-spec-text-primary) );--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};} :host([component-style=INLINE_FORM_STYLE_TITLE]) tp-yt-paper-input {--paper-input-container-input: {@apply --ytd-channel-title;};} tp-yt-paper-textarea {--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-input-container-underline-focus-border-color: var( --paper-input-container-underline-focus-color, var(--yt-spec-text-primary) );} :host([component-style=TEXT_INPUT_FORM_FIELD_OUTLINED]) tp-yt-paper-textarea,:host([component-style=TEXT_INPUT_FORM_FIELD_OUTLINED]) tp-yt-paper-input {--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 4px;box-shadow: inset 0 0 0 1px var(--yt-spec-10-percent-layer);padding: 0 8px 12px 8px;} :host([component-style=TEXT_INPUT_FORM_FIELD_OUTLINED][invalid]) tp-yt-paper-textarea,:host([component-style=TEXT_INPUT_FORM_FIELD_OUTLINED][invalid]) tp-yt-paper-input {border-color: var(--yt-spec-brand-link-text);} :host([component-style=BOLD_INPUT_TEXT]) tp-yt-paper-input,:host([component-style=BOLD_INPUT_TEXT]) tp-yt-paper-textarea {--paper-input-container-input: {@apply --ytd-subheadline-link;};} /*# sourceMappingURL=yt-text-input-form-field-renderer.css.map*/</style>";
m_a=d}d=m_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);n_a=a}a=n_a;return a}}});
_.tF=sF;_.tF.prototype.valueChangedForBinding=_.tF.prototype.valueChangedForBinding;_.tF.prototype.valueChanged=_.tF.prototype.valueChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.tF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],_.tF.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],_.tF.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],_.tF.prototype,"value",void 0);
_.S([_.N(),_.T("design:type",String)],_.tF.prototype,"pattern",void 0);_.S([_.N(),_.T("design:type",String)],_.tF.prototype,"errorMessage",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],_.tF.prototype,"componentStyle",void 0);_.S([_.N(),_.T("design:type",Object)],_.tF.prototype,"hideCharCounter",void 0);_.S([_.N(),_.T("design:type",Object)],_.tF.prototype,"hideLabel",void 0);_.S([_.N(),_.T("design:type",Object)],_.tF.prototype,"noLabelFloat",void 0);
_.S([_.N(),_.T("design:type",Object)],_.tF.prototype,"autoValidate",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.tF.prototype,"invalid",void 0);_.S([_.N({value:{REQUIRED_LABEL:_.Bg("REQUIRED_LABEL",void 0,"Required")}}),_.T("design:type",Object)],_.tF.prototype,"strings",void 0);_.S([_.Z("#input"),_.T("design:type",Object)],_.tF.prototype,"input",void 0);
_.S([_.Ct("data.value"),_.T("design:type",Function),_.T("design:paramtypes",[String]),_.T("design:returntype")],_.tF.prototype,"valueChanged",null);_.S([_.P("value"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.tF.prototype,"valueChangedForBinding",null);_.tF=_.S([_.lu({is:"yt-text-input-form-field-renderer",noInjection:!0,notifyObserversOnUndefined:!1})],_.tF);
_.uF={YtOpenToastBehavior:{openToastWithFormattedMessage:function(a){_.C(this,"yt-open-popup-action",[{openPopupAction:{popupType:"TOAST",popup:{notificationActionRenderer:{responseText:a}}}},this])},
openToast:function(a){this.openToastWithFormattedMessage(_.Mu(a))}}};
var o_a;
var p_a;
var q_a;_.vF={};q_a=function(a,b,c){a.removeAttribute("top-"+c);a.removeAttribute("bottom-"+c);a.removeAttribute("left-"+c);a.removeAttribute("right-"+c);b&&(b.top&&a.setAttribute("top-"+c,b.top),b.bottom&&a.setAttribute("bottom-"+c,b.bottom),b.left&&a.setAttribute("left-"+c,b.left),b.right&&a.setAttribute("right-"+c,b.right))};
_.vF.YtCardItemBoxBehavior=[{observers:["cardItemContainerMarginChanged_(data.containerMargin)","cardItemContainerPaddingChanged_(data.containerPadding)"],created:function(){this.cardItemBoxBehaviorPaddingTargetId=""},
cardItemContainerMarginChanged_:function(a){q_a(this.cardItemBoxBehaviorMarginTargetId&&this.$?this.$[this.cardItemBoxBehaviorMarginTargetId]:this,a,"margin")},
cardItemContainerPaddingChanged_:function(a){q_a(this.cardItemBoxBehaviorPaddingTargetId&&this.$?this.$[this.cardItemBoxBehaviorPaddingTargetId]:this,a,"padding")}}];
_.wF={CARD_ITEM_COLOR_GENERAL_BACKGROUND_A:"var(--yt-spec-general-background-a)",CARD_ITEM_COLOR_GENERAL_BACKGROUND_B:"var(--yt-spec-general-background-b)",CARD_ITEM_COLOR_BRAND_BACKGROUND_SOLID:"var(--yt-spec-brand-background-solid)",CARD_ITEM_COLOR_ERROR_BACKGROUND:"var(--yt-spec-error-background)",CARD_ITEM_COLOR_TEXT_PRIMARY:"var(--yt-spec-text-primary)",CARD_ITEM_COLOR_TEXT_SECONDARY:"var(--yt-spec-text-secondary)",CARD_ITEM_COLOR_TEXT_DISABLED:"var(--yt-spec-text-disabled)",CARD_ITEM_COLOR_CALL_TO_ACTION:"var(--yt-spec-call-to-action)",
CARD_ITEM_COLOR_ICON_INACTIVE:"var(--yt-spec-icon-inactive)",CARD_ITEM_COLOR_ICON_DISABLED:"var(--yt-spec-icon-disabled)",CARD_ITEM_COLOR_BRAND_ICON_ACTIVE:"var(--yt-spec-brand-icon-active)",CARD_ITEM_COLOR_BRAND_ICON_INACTIVE:"var(--yt-spec-brand-icon-inactive)",CARD_ITEM_COLOR_10_PERCENT_LAYER:"var(--yt-spec-10-percent-layer)",CARD_ITEM_COLOR_TEXT_PRIMARY_INVERSE:"var(--yt-spec-text-primary-inverse)",CARD_ITEM_COLOR_ICON_ACTIVE_OTHER:"var(--yt-spec-icon-active-other)",CARD_ITEM_COLOR_THEMED_GREEN:"var(--yt-spec-themed-green)",
CARD_ITEM_COLOR_ERROR_INDICATOR:"var(--yt-spec-brand-link-text)"};
var r_a;
var s_a;
_.Ng({is:"yt-card-item-text-renderer",_template:function(){if(void 0!==s_a)return s_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-text-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_renderer.yt.card.item.text.renderer.css.js--\x3e<yt-formatted-string id="card-text" force-default-style="" split-lines="1" text="[[data.text]]" text-style$="[[data.style]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===r_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_renderer.yt.card.item.text.renderer.css.js--\x3e<style>:host([top-margin=CARD_ITEM_UX_SPACE_1]),[top-margin=CARD_ITEM_UX_SPACE_1] {margin-top: var(--ytd-margin-base);} :host([bottom-margin=CARD_ITEM_UX_SPACE_1]),[bottom-margin=CARD_ITEM_UX_SPACE_1] {margin-bottom: var(--ytd-margin-base);} :host([left-margin=CARD_ITEM_UX_SPACE_1]),[left-margin=CARD_ITEM_UX_SPACE_1] {margin-left: var(--ytd-margin-base);} :host([right-margin=CARD_ITEM_UX_SPACE_1]),[right-margin=CARD_ITEM_UX_SPACE_1] {margin-right: var(--ytd-margin-base);} :host([top-margin=CARD_ITEM_UX_SPACE_2]),[top-margin=CARD_ITEM_UX_SPACE_2] {margin-top: var(--ytd-margin-2x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_2]),[bottom-margin=CARD_ITEM_UX_SPACE_2] {margin-bottom: var(--ytd-margin-2x);} :host([left-margin=CARD_ITEM_UX_SPACE_2]),[left-margin=CARD_ITEM_UX_SPACE_2] {margin-left: var(--ytd-margin-2x);} :host([right-margin=CARD_ITEM_UX_SPACE_2]),[right-margin=CARD_ITEM_UX_SPACE_2] {margin-right: var(--ytd-margin-2x);} :host([top-margin=CARD_ITEM_UX_SPACE_3]),[top-margin=CARD_ITEM_UX_SPACE_3] {margin-top: var(--ytd-margin-3x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_3]),[bottom-margin=CARD_ITEM_UX_SPACE_3] {margin-bottom: var(--ytd-margin-3x);} :host([left-margin=CARD_ITEM_UX_SPACE_3]),[left-margin=CARD_ITEM_UX_SPACE_3] {margin-left: var(--ytd-margin-3x);} :host([right-margin=CARD_ITEM_UX_SPACE_3]),[right-margin=CARD_ITEM_UX_SPACE_3] {margin-right: var(--ytd-margin-3x);} :host([top-margin=CARD_ITEM_UX_SPACE_4]),[top-margin=CARD_ITEM_UX_SPACE_4] {margin-top: var(--ytd-margin-4x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_4]),[bottom-margin=CARD_ITEM_UX_SPACE_4] {margin-bottom: var(--ytd-margin-4x);} :host([left-margin=CARD_ITEM_UX_SPACE_4]),[left-margin=CARD_ITEM_UX_SPACE_4] {margin-left: var(--ytd-margin-4x);} :host([right-margin=CARD_ITEM_UX_SPACE_4]),[right-margin=CARD_ITEM_UX_SPACE_4] {margin-right: var(--ytd-margin-4x);} :host([top-margin=CARD_ITEM_UX_SPACE_5]),[top-margin=CARD_ITEM_UX_SPACE_5] {margin-top: var(--ytd-margin-5x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_5]),[bottom-margin=CARD_ITEM_UX_SPACE_5] {margin-bottom: var(--ytd-margin-5x);} :host([left-margin=CARD_ITEM_UX_SPACE_5]),[left-margin=CARD_ITEM_UX_SPACE_5] {margin-left: var(--ytd-margin-5x);} :host([right-margin=CARD_ITEM_UX_SPACE_5]),[right-margin=CARD_ITEM_UX_SPACE_5] {margin-right: var(--ytd-margin-5x);} :host([top-margin=CARD_ITEM_UX_SPACE_6]),[top-margin=CARD_ITEM_UX_SPACE_6] {margin-top: var(--ytd-margin-6x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_6]),[bottom-margin=CARD_ITEM_UX_SPACE_6] {margin-bottom: var(--ytd-margin-6x);} :host([left-margin=CARD_ITEM_UX_SPACE_6]),[left-margin=CARD_ITEM_UX_SPACE_6] {margin-left: var(--ytd-margin-6x);} :host([right-margin=CARD_ITEM_UX_SPACE_6]),[right-margin=CARD_ITEM_UX_SPACE_6] {margin-right: var(--ytd-margin-6x);} :host([top-margin=CARD_ITEM_UX_SPACE_7]),[top-margin=CARD_ITEM_UX_SPACE_7] {margin-top: var(--ytd-margin-7x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_7]),[bottom-margin=CARD_ITEM_UX_SPACE_7] {margin-bottom: var(--ytd-margin-7x);} :host([left-margin=CARD_ITEM_UX_SPACE_7]),[left-margin=CARD_ITEM_UX_SPACE_7] {margin-left: var(--ytd-margin-7x);} :host([right-margin=CARD_ITEM_UX_SPACE_7]),[right-margin=CARD_ITEM_UX_SPACE_7] {margin-right: var(--ytd-margin-7x);} :host([top-margin=CARD_ITEM_UX_SPACE_8]),[top-margin=CARD_ITEM_UX_SPACE_8] {margin-top: var(--ytd-margin-8x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_8]),[bottom-margin=CARD_ITEM_UX_SPACE_8] {margin-bottom: var(--ytd-margin-8x);} :host([left-margin=CARD_ITEM_UX_SPACE_8]),[left-margin=CARD_ITEM_UX_SPACE_8] {margin-left: var(--ytd-margin-8x);} :host([right-margin=CARD_ITEM_UX_SPACE_8]),[right-margin=CARD_ITEM_UX_SPACE_8] {margin-right: var(--ytd-margin-8x);} :host([top-margin=CARD_ITEM_UX_SPACE_9]),[top-margin=CARD_ITEM_UX_SPACE_9] {margin-top: var(--ytd-margin-9x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_9]),[bottom-margin=CARD_ITEM_UX_SPACE_9] {margin-bottom: var(--ytd-margin-9x);} :host([left-margin=CARD_ITEM_UX_SPACE_9]),[left-margin=CARD_ITEM_UX_SPACE_9] {margin-left: var(--ytd-margin-9x);} :host([right-margin=CARD_ITEM_UX_SPACE_9]),[right-margin=CARD_ITEM_UX_SPACE_9] {margin-right: var(--ytd-margin-9x);} :host([top-margin=CARD_ITEM_UX_SPACE_10]),[top-margin=CARD_ITEM_UX_SPACE_10] {margin-top: var(--ytd-margin-10x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_10]),[bottom-margin=CARD_ITEM_UX_SPACE_10] {margin-bottom: var(--ytd-margin-10x);} :host([left-margin=CARD_ITEM_UX_SPACE_10]),[left-margin=CARD_ITEM_UX_SPACE_10] {margin-left: var(--ytd-margin-10x);} :host([right-margin=CARD_ITEM_UX_SPACE_10]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-10x);} :host([top-margin=CARD_ITEM_UX_SPACE_11]),[top-margin=CARD_ITEM_UX_SPACE_11] {margin-top: var(--ytd-margin-11x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_11]),[bottom-margin=CARD_ITEM_UX_SPACE_11] {margin-bottom: var(--ytd-margin-11x);} :host([left-margin=CARD_ITEM_UX_SPACE_11]),[left-margin=CARD_ITEM_UX_SPACE_11] {margin-left: var(--ytd-margin-11x);} :host([right-margin=CARD_ITEM_UX_SPACE_11]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-11x);} :host([top-margin=CARD_ITEM_UX_SPACE_12]),[top-margin=CARD_ITEM_UX_SPACE_12] {margin-top: var(--ytd-margin-12x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_12]),[bottom-margin=CARD_ITEM_UX_SPACE_12] {margin-bottom: var(--ytd-margin-12x);} :host([left-margin=CARD_ITEM_UX_SPACE_12]),[left-margin=CARD_ITEM_UX_SPACE_12] {margin-left: var(--ytd-margin-12x);} :host([right-margin=CARD_ITEM_UX_SPACE_12]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-12x);} :host([top-margin=CARD_ITEM_UX_SPACE_13]),[top-margin=CARD_ITEM_UX_SPACE_13] {margin-top: var(--ytd-margin-13x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_13]),[bottom-margin=CARD_ITEM_UX_SPACE_13] {margin-bottom: var(--ytd-margin-13x);} :host([left-margin=CARD_ITEM_UX_SPACE_13]),[left-margin=CARD_ITEM_UX_SPACE_13] {margin-left: var(--ytd-margin-13x);} :host([right-margin=CARD_ITEM_UX_SPACE_13]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-13x);} :host([top-margin=CARD_ITEM_UX_SPACE_14]),[top-margin=CARD_ITEM_UX_SPACE_14] {margin-top: var(--ytd-margin-14x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_14]),[bottom-margin=CARD_ITEM_UX_SPACE_14] {margin-bottom: var(--ytd-margin-14x);} :host([left-margin=CARD_ITEM_UX_SPACE_14]),[left-margin=CARD_ITEM_UX_SPACE_14] {margin-left: var(--ytd-margin-14x);} :host([right-margin=CARD_ITEM_UX_SPACE_14]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-14x);} :host([top-padding=CARD_ITEM_UX_SPACE_1]),[top-padding=CARD_ITEM_UX_SPACE_1] {padding-top: var(--ytd-margin-base);} :host([bottom-padding=CARD_ITEM_UX_SPACE_1]),[bottom-padding=CARD_ITEM_UX_SPACE_1] {padding-bottom: var(--ytd-margin-base);} :host([left-padding=CARD_ITEM_UX_SPACE_1]),[left-padding=CARD_ITEM_UX_SPACE_1] {padding-left: var(--ytd-margin-base);} :host([right-padding=CARD_ITEM_UX_SPACE_1]),[right-padding=CARD_ITEM_UX_SPACE_1] {padding-right: var(--ytd-margin-base);} :host([top-padding=CARD_ITEM_UX_SPACE_2]),[top-padding=CARD_ITEM_UX_SPACE_2] {padding-top: var(--ytd-margin-2x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_2]),[bottom-padding=CARD_ITEM_UX_SPACE_2] {padding-bottom: var(--ytd-margin-2x);} :host([left-padding=CARD_ITEM_UX_SPACE_2]),[left-padding=CARD_ITEM_UX_SPACE_2] {padding-left: var(--ytd-margin-2x);} :host([right-padding=CARD_ITEM_UX_SPACE_2]),[right-padding=CARD_ITEM_UX_SPACE_2] {padding-right: var(--ytd-margin-2x);} :host([top-padding=CARD_ITEM_UX_SPACE_3]),[top-padding=CARD_ITEM_UX_SPACE_3] {padding-top: var(--ytd-margin-3x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_3]),[bottom-padding=CARD_ITEM_UX_SPACE_3] {padding-bottom: var(--ytd-margin-3x);} :host([left-padding=CARD_ITEM_UX_SPACE_3]),[left-padding=CARD_ITEM_UX_SPACE_3] {padding-left: var(--ytd-margin-3x);} :host([right-padding=CARD_ITEM_UX_SPACE_3]),[right-padding=CARD_ITEM_UX_SPACE_3] {padding-right: var(--ytd-margin-3x);} :host([top-padding=CARD_ITEM_UX_SPACE_4]),[top-padding=CARD_ITEM_UX_SPACE_4] {padding-top: var(--ytd-margin-4x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_4]),[bottom-padding=CARD_ITEM_UX_SPACE_4] {padding-bottom: var(--ytd-margin-4x);} :host([left-padding=CARD_ITEM_UX_SPACE_4]),[left-padding=CARD_ITEM_UX_SPACE_4] {padding-left: var(--ytd-margin-4x);} :host([right-padding=CARD_ITEM_UX_SPACE_4]),[right-padding=CARD_ITEM_UX_SPACE_4] {padding-right: var(--ytd-margin-4x);} :host([top-padding=CARD_ITEM_UX_SPACE_5]),[top-padding=CARD_ITEM_UX_SPACE_5] {padding-top: var(--ytd-margin-5x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_5]),[bottom-padding=CARD_ITEM_UX_SPACE_5] {padding-bottom: var(--ytd-margin-5x);} :host([left-padding=CARD_ITEM_UX_SPACE_5]),[left-padding=CARD_ITEM_UX_SPACE_5] {padding-left: var(--ytd-margin-5x);} :host([right-padding=CARD_ITEM_UX_SPACE_5]),[right-padding=CARD_ITEM_UX_SPACE_5] {padding-right: var(--ytd-margin-5x);} :host([top-padding=CARD_ITEM_UX_SPACE_6]),[top-padding=CARD_ITEM_UX_SPACE_6] {padding-top: var(--ytd-margin-6x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_6]),[bottom-padding=CARD_ITEM_UX_SPACE_6] {padding-bottom: var(--ytd-margin-6x);} :host([left-padding=CARD_ITEM_UX_SPACE_6]),[left-padding=CARD_ITEM_UX_SPACE_6] {padding-left: var(--ytd-margin-6x);} :host([right-padding=CARD_ITEM_UX_SPACE_6]),[right-padding=CARD_ITEM_UX_SPACE_6] {padding-right: var(--ytd-margin-6x);} :host([top-padding=CARD_ITEM_UX_SPACE_7]),[top-padding=CARD_ITEM_UX_SPACE_7] {padding-top: var(--ytd-margin-7x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_7]),[bottom-padding=CARD_ITEM_UX_SPACE_7] {padding-bottom: var(--ytd-margin-7x);} :host([left-padding=CARD_ITEM_UX_SPACE_7]),[left-padding=CARD_ITEM_UX_SPACE_7] {padding-left: var(--ytd-margin-7x);} :host([right-padding=CARD_ITEM_UX_SPACE_7]),[right-padding=CARD_ITEM_UX_SPACE_7] {padding-right: var(--ytd-margin-7x);} :host([top-padding=CARD_ITEM_UX_SPACE_8]),[top-padding=CARD_ITEM_UX_SPACE_8] {padding-top: var(--ytd-margin-8x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_8]),[bottom-padding=CARD_ITEM_UX_SPACE_8] {padding-bottom: var(--ytd-margin-8x);} :host([left-padding=CARD_ITEM_UX_SPACE_8]),[left-padding=CARD_ITEM_UX_SPACE_8] {padding-left: var(--ytd-margin-8x);} :host([right-padding=CARD_ITEM_UX_SPACE_8]),[right-padding=CARD_ITEM_UX_SPACE_8] {padding-right: var(--ytd-margin-8x);} :host([top-padding=CARD_ITEM_UX_SPACE_9]),[top-padding=CARD_ITEM_UX_SPACE_9] {padding-top: var(--ytd-margin-9x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_9]),[bottom-padding=CARD_ITEM_UX_SPACE_9] {padding-bottom: var(--ytd-margin-9x);} :host([left-padding=CARD_ITEM_UX_SPACE_9]),[left-padding=CARD_ITEM_UX_SPACE_9] {padding-left: var(--ytd-margin-9x);} :host([right-padding=CARD_ITEM_UX_SPACE_9]),[right-padding=CARD_ITEM_UX_SPACE_9] {padding-right: var(--ytd-margin-9x);} :host([top-padding=CARD_ITEM_UX_SPACE_10]),[top-padding=CARD_ITEM_UX_SPACE_10] {padding-top: var(--ytd-margin-10x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_10]),[bottom-padding=CARD_ITEM_UX_SPACE_10] {padding-bottom: var(--ytd-margin-10x);} :host([left-padding=CARD_ITEM_UX_SPACE_10]),[left-padding=CARD_ITEM_UX_SPACE_10] {padding-left: var(--ytd-margin-10x);} :host([right-padding=CARD_ITEM_UX_SPACE_10]),[right-padding=CARD_ITEM_UX_SPACE_10] {padding-right: var(--ytd-margin-10x);} :host([top-padding=CARD_ITEM_UX_SPACE_11]),[top-padding=CARD_ITEM_UX_SPACE_11] {padding-top: var(--ytd-margin-11x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_11]),[bottom-padding=CARD_ITEM_UX_SPACE_11] {padding-bottom: var(--ytd-margin-11x);} :host([left-padding=CARD_ITEM_UX_SPACE_11]),[left-padding=CARD_ITEM_UX_SPACE_11] {padding-left: var(--ytd-margin-11x);} :host([right-padding=CARD_ITEM_UX_SPACE_11]),[right-padding=CARD_ITEM_UX_SPACE_11] {padding-right: var(--ytd-margin-11x);} :host([top-padding=CARD_ITEM_UX_SPACE_12]),[top-padding=CARD_ITEM_UX_SPACE_12] {padding-top: var(--ytd-margin-12x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_12]),[bottom-padding=CARD_ITEM_UX_SPACE_12] {padding-bottom: var(--ytd-margin-12x);} :host([left-padding=CARD_ITEM_UX_SPACE_12]),[left-padding=CARD_ITEM_UX_SPACE_12] {padding-left: var(--ytd-margin-12x);} :host([right-padding=CARD_ITEM_UX_SPACE_12]),[right-padding=CARD_ITEM_UX_SPACE_12] {padding-right: var(--ytd-margin-12x);} :host([top-padding=CARD_ITEM_UX_SPACE_13]),[top-padding=CARD_ITEM_UX_SPACE_13] {padding-top: var(--ytd-margin-13x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_13]),[bottom-padding=CARD_ITEM_UX_SPACE_13] {padding-bottom: var(--ytd-margin-13x);} :host([left-padding=CARD_ITEM_UX_SPACE_13]),[left-padding=CARD_ITEM_UX_SPACE_13] {padding-left: var(--ytd-margin-13x);} :host([right-padding=CARD_ITEM_UX_SPACE_13]),[right-padding=CARD_ITEM_UX_SPACE_13] {padding-right: var(--ytd-margin-13x);} :host([top-padding=CARD_ITEM_UX_SPACE_14]),[top-padding=CARD_ITEM_UX_SPACE_14] {padding-top: var(--ytd-margin-14x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_14]),[bottom-padding=CARD_ITEM_UX_SPACE_14] {padding-bottom: var(--ytd-margin-14x);} :host([left-padding=CARD_ITEM_UX_SPACE_14]),[left-padding=CARD_ITEM_UX_SPACE_14] {padding-left: var(--ytd-margin-14x);} :host([right-padding=CARD_ITEM_UX_SPACE_14]),[right-padding=CARD_ITEM_UX_SPACE_14] {padding-right: var(--ytd-margin-14x);} :host {display: block;} #card-text[text-style=CARD_ITEM_TEXT_STYLE_DISPLAY_1] {font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_DISPLAY_2] {@apply --ytd-channel-title;} #card-text[text-style=CARD_ITEM_TEXT_STYLE_TITLE_1] {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_TITLE_2] {font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_BUTTON] {font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_BODY_1A] {font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_BODY_1B] {font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_BODY_2A] {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height,1.8rem);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_BODY_2B] {font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight,400);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #card-text[text-style=CARD_ITEM_TEXT_STYLE_LABEL] {font-size: 1rem;font-weight: 400;line-height: 1.4rem;} #card-text[text-style=CARD_ITEM_TEXT_STYLE_SANS_20] {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 700;} /*# sourceMappingURL=yt-card-item-text-renderer.css.map*/</style>';
r_a=d}d=r_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return s_a=a},
behaviors:[_.U.YtRendererBehavior,_.vF.YtCardItemBoxBehavior],observers:["textColorChanged_(data.textColor)"],properties:{data:Object},textColorChanged_:function(a){this.style.color=_.wF[a||"CARD_ITEM_COLOR_TEXT_PRIMARY"]}});
_.Ng({is:"yt-card-item-text-collection-renderer",_template:function(){if(void 0!==p_a)return p_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-text-collection-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_collection_renderer.yt.card.item.text.collection.renderer.css.js--\x3e<div id="text-renderers" text-alignment$="[[data.textAlignment]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===o_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_collection_renderer.yt.card.item.text.collection.renderer.css.js--\x3e<style>:host {display: block;} #text-renderers {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #text-renderers[text-alignment=CARD_ITEM_TEXT_COLLECTION_TEXT_ALIGNMENT_END] {-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} #text-renderers[text-alignment=CARD_ITEM_TEXT_COLLECTION_TEXT_ALIGNMENT_CENTER] {-ms-flex-align: center;-webkit-align-items: center;align-items: center;text-align: center;} #text-renderers[text-alignment=CARD_ITEM_TEXT_COLLECTION_TEXT_ALIGNMENT_HORIZONTAL] {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} #text-renderers[text-alignment=CARD_ITEM_TEXT_COLLECTION_TEXT_ALIGNMENT_HORIZONTAL] yt-card-item-text-renderer {-ms-flex-wrap: nowrap;-webkit-flex-wrap: nowrap;flex-wrap: nowrap;} /*# sourceMappingURL=yt-card-item-text-collection-renderer.css.map*/</style>";
o_a=d}d=o_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return p_a=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},stampDom:{"data.textRenderers":{id:"text-renderers",mapping:{cardItemTextRenderer:{component:"yt-card-item-text-renderer"}}}}});
_.xF={};
_.xF.YtTappableItemBehavior=[{properties:{tappableItemBehaviorTapEnabled:{type:Boolean,value:!1,observer:"tappableItemBehaviorOnTapEnabledChanged_"}},observers:["tappableItemBehaviorOnTapChanged_(data.onTap)"],listeners:{"yt-commerce-action-init-done":"tappableItemBehaviorOnServiceRequestFinished_","yt-service-request-error":"tappableItemBehaviorOnServiceRequestFinished_","yt-commerce-action-done":"tappableItemBehaviorOnServiceRequestFinished_"},created:function(){this.tappableItemBehaviorTargetId="";
this.tappableItemBehaviorBoundOnTappableItemKeyDown_=this.tappableItemBehaviorOnTappableItemKeyDown_.bind(this);this.tappableItemBehaviorBoundOnTappableItemTap_=this.tappableItemBehaviorOnTappableItemTap_.bind(this)},
attached:function(){this.tappableItemBehaviorGetTappableTarget_().addEventListener("keydown",this.tappableItemBehaviorBoundOnTappableItemKeyDown_,!0);this.listen(this.tappableItemBehaviorGetTappableTarget_(),"click","tappableItemBehaviorBoundOnTappableItemTap_")},
detached:function(){this.tappableItemBehaviorGetTappableTarget_().removeEventListener("keydown",this.tappableItemBehaviorBoundOnTappableItemKeyDown_,!0);this.unlisten(this.tappableItemBehaviorGetTappableTarget_(),"click","tappableItemBehaviorBoundOnTappableItemTap_")},
tappableItemBehaviorOnTappableItemKeyDown_:function(a){!this.tappableItemBehaviorTapEnabled||13!==a.keyCode&&32!==a.keyCode||a.target!=this.tappableItemBehaviorGetTappableTarget_()||this.tappableItemBehaviorHandleTappableItemTap_()},
tappableItemBehaviorOnTappableItemTap_:function(){this.tappableItemBehaviorTapEnabled&&this.tappableItemBehaviorHandleTappableItemTap_()},
tappableItemBehaviorHandleTappableItemTap_:function(){var a=this.data.onTap;a.ypcGetCartEndpoint?(_.Kg(this,[a]),this.tappableItemBehaviorTapEnabled=!1):a.ypcOffersEndpoint?_.Kg(this,[a]):_.Lg(this,[a],this)},
tappableItemBehaviorOnTapChanged_:function(a){this.tappableItemBehaviorTapEnabled=!!a},
tappableItemBehaviorOnTapEnabledChanged_:function(){var a=this.tappableItemBehaviorGetTappableTarget_();this.tappableItemBehaviorTapEnabled?(a.setAttribute("tabIndex",0),a.setAttribute("role","button")):(a.removeAttribute("tabIndex"),a.removeAttribute("role"))},
tappableItemBehaviorOnServiceRequestFinished_:function(a){a.target==this&&(this.tappableItemBehaviorTapEnabled=!!this.data.onTap)},
tappableItemBehaviorGetTappableTarget_:function(){return this.tappableItemBehaviorTargetId?this.$[this.tappableItemBehaviorTargetId]:this}}];
var t_a;
var u_a;
var v_a;
var w_a;
_.Ng({is:"yt-themed-image-renderer",_template:function(){if(void 0!==w_a)return w_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-themed-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_themed_image_renderer.yt.themed.image.renderer.css.js--\x3e<yt-img-shadow id="image" fit="[[fit]]" height="[[data.imageHeight]]" hidden="[[!themeImage_]]" thumbnail="[[themeImage_]]" width="[[data.imageWidth]]">\n</yt-img-shadow>\n<yt-icon id="icon" hidden="[[!themeIcon_]]" icon="[[themeIcon_]]">\n</yt-icon>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===v_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_themed_image_renderer.yt.themed.image.renderer.css.js--\x3e<style>:host([top-margin=CARD_ITEM_UX_SPACE_1]),[top-margin=CARD_ITEM_UX_SPACE_1] {margin-top: var(--ytd-margin-base);} :host([bottom-margin=CARD_ITEM_UX_SPACE_1]),[bottom-margin=CARD_ITEM_UX_SPACE_1] {margin-bottom: var(--ytd-margin-base);} :host([left-margin=CARD_ITEM_UX_SPACE_1]),[left-margin=CARD_ITEM_UX_SPACE_1] {margin-left: var(--ytd-margin-base);} :host([right-margin=CARD_ITEM_UX_SPACE_1]),[right-margin=CARD_ITEM_UX_SPACE_1] {margin-right: var(--ytd-margin-base);} :host([top-margin=CARD_ITEM_UX_SPACE_2]),[top-margin=CARD_ITEM_UX_SPACE_2] {margin-top: var(--ytd-margin-2x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_2]),[bottom-margin=CARD_ITEM_UX_SPACE_2] {margin-bottom: var(--ytd-margin-2x);} :host([left-margin=CARD_ITEM_UX_SPACE_2]),[left-margin=CARD_ITEM_UX_SPACE_2] {margin-left: var(--ytd-margin-2x);} :host([right-margin=CARD_ITEM_UX_SPACE_2]),[right-margin=CARD_ITEM_UX_SPACE_2] {margin-right: var(--ytd-margin-2x);} :host([top-margin=CARD_ITEM_UX_SPACE_3]),[top-margin=CARD_ITEM_UX_SPACE_3] {margin-top: var(--ytd-margin-3x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_3]),[bottom-margin=CARD_ITEM_UX_SPACE_3] {margin-bottom: var(--ytd-margin-3x);} :host([left-margin=CARD_ITEM_UX_SPACE_3]),[left-margin=CARD_ITEM_UX_SPACE_3] {margin-left: var(--ytd-margin-3x);} :host([right-margin=CARD_ITEM_UX_SPACE_3]),[right-margin=CARD_ITEM_UX_SPACE_3] {margin-right: var(--ytd-margin-3x);} :host([top-margin=CARD_ITEM_UX_SPACE_4]),[top-margin=CARD_ITEM_UX_SPACE_4] {margin-top: var(--ytd-margin-4x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_4]),[bottom-margin=CARD_ITEM_UX_SPACE_4] {margin-bottom: var(--ytd-margin-4x);} :host([left-margin=CARD_ITEM_UX_SPACE_4]),[left-margin=CARD_ITEM_UX_SPACE_4] {margin-left: var(--ytd-margin-4x);} :host([right-margin=CARD_ITEM_UX_SPACE_4]),[right-margin=CARD_ITEM_UX_SPACE_4] {margin-right: var(--ytd-margin-4x);} :host([top-margin=CARD_ITEM_UX_SPACE_5]),[top-margin=CARD_ITEM_UX_SPACE_5] {margin-top: var(--ytd-margin-5x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_5]),[bottom-margin=CARD_ITEM_UX_SPACE_5] {margin-bottom: var(--ytd-margin-5x);} :host([left-margin=CARD_ITEM_UX_SPACE_5]),[left-margin=CARD_ITEM_UX_SPACE_5] {margin-left: var(--ytd-margin-5x);} :host([right-margin=CARD_ITEM_UX_SPACE_5]),[right-margin=CARD_ITEM_UX_SPACE_5] {margin-right: var(--ytd-margin-5x);} :host([top-margin=CARD_ITEM_UX_SPACE_6]),[top-margin=CARD_ITEM_UX_SPACE_6] {margin-top: var(--ytd-margin-6x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_6]),[bottom-margin=CARD_ITEM_UX_SPACE_6] {margin-bottom: var(--ytd-margin-6x);} :host([left-margin=CARD_ITEM_UX_SPACE_6]),[left-margin=CARD_ITEM_UX_SPACE_6] {margin-left: var(--ytd-margin-6x);} :host([right-margin=CARD_ITEM_UX_SPACE_6]),[right-margin=CARD_ITEM_UX_SPACE_6] {margin-right: var(--ytd-margin-6x);} :host([top-margin=CARD_ITEM_UX_SPACE_7]),[top-margin=CARD_ITEM_UX_SPACE_7] {margin-top: var(--ytd-margin-7x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_7]),[bottom-margin=CARD_ITEM_UX_SPACE_7] {margin-bottom: var(--ytd-margin-7x);} :host([left-margin=CARD_ITEM_UX_SPACE_7]),[left-margin=CARD_ITEM_UX_SPACE_7] {margin-left: var(--ytd-margin-7x);} :host([right-margin=CARD_ITEM_UX_SPACE_7]),[right-margin=CARD_ITEM_UX_SPACE_7] {margin-right: var(--ytd-margin-7x);} :host([top-margin=CARD_ITEM_UX_SPACE_8]),[top-margin=CARD_ITEM_UX_SPACE_8] {margin-top: var(--ytd-margin-8x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_8]),[bottom-margin=CARD_ITEM_UX_SPACE_8] {margin-bottom: var(--ytd-margin-8x);} :host([left-margin=CARD_ITEM_UX_SPACE_8]),[left-margin=CARD_ITEM_UX_SPACE_8] {margin-left: var(--ytd-margin-8x);} :host([right-margin=CARD_ITEM_UX_SPACE_8]),[right-margin=CARD_ITEM_UX_SPACE_8] {margin-right: var(--ytd-margin-8x);} :host([top-margin=CARD_ITEM_UX_SPACE_9]),[top-margin=CARD_ITEM_UX_SPACE_9] {margin-top: var(--ytd-margin-9x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_9]),[bottom-margin=CARD_ITEM_UX_SPACE_9] {margin-bottom: var(--ytd-margin-9x);} :host([left-margin=CARD_ITEM_UX_SPACE_9]),[left-margin=CARD_ITEM_UX_SPACE_9] {margin-left: var(--ytd-margin-9x);} :host([right-margin=CARD_ITEM_UX_SPACE_9]),[right-margin=CARD_ITEM_UX_SPACE_9] {margin-right: var(--ytd-margin-9x);} :host([top-margin=CARD_ITEM_UX_SPACE_10]),[top-margin=CARD_ITEM_UX_SPACE_10] {margin-top: var(--ytd-margin-10x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_10]),[bottom-margin=CARD_ITEM_UX_SPACE_10] {margin-bottom: var(--ytd-margin-10x);} :host([left-margin=CARD_ITEM_UX_SPACE_10]),[left-margin=CARD_ITEM_UX_SPACE_10] {margin-left: var(--ytd-margin-10x);} :host([right-margin=CARD_ITEM_UX_SPACE_10]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-10x);} :host([top-margin=CARD_ITEM_UX_SPACE_11]),[top-margin=CARD_ITEM_UX_SPACE_11] {margin-top: var(--ytd-margin-11x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_11]),[bottom-margin=CARD_ITEM_UX_SPACE_11] {margin-bottom: var(--ytd-margin-11x);} :host([left-margin=CARD_ITEM_UX_SPACE_11]),[left-margin=CARD_ITEM_UX_SPACE_11] {margin-left: var(--ytd-margin-11x);} :host([right-margin=CARD_ITEM_UX_SPACE_11]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-11x);} :host([top-margin=CARD_ITEM_UX_SPACE_12]),[top-margin=CARD_ITEM_UX_SPACE_12] {margin-top: var(--ytd-margin-12x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_12]),[bottom-margin=CARD_ITEM_UX_SPACE_12] {margin-bottom: var(--ytd-margin-12x);} :host([left-margin=CARD_ITEM_UX_SPACE_12]),[left-margin=CARD_ITEM_UX_SPACE_12] {margin-left: var(--ytd-margin-12x);} :host([right-margin=CARD_ITEM_UX_SPACE_12]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-12x);} :host([top-margin=CARD_ITEM_UX_SPACE_13]),[top-margin=CARD_ITEM_UX_SPACE_13] {margin-top: var(--ytd-margin-13x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_13]),[bottom-margin=CARD_ITEM_UX_SPACE_13] {margin-bottom: var(--ytd-margin-13x);} :host([left-margin=CARD_ITEM_UX_SPACE_13]),[left-margin=CARD_ITEM_UX_SPACE_13] {margin-left: var(--ytd-margin-13x);} :host([right-margin=CARD_ITEM_UX_SPACE_13]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-13x);} :host([top-margin=CARD_ITEM_UX_SPACE_14]),[top-margin=CARD_ITEM_UX_SPACE_14] {margin-top: var(--ytd-margin-14x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_14]),[bottom-margin=CARD_ITEM_UX_SPACE_14] {margin-bottom: var(--ytd-margin-14x);} :host([left-margin=CARD_ITEM_UX_SPACE_14]),[left-margin=CARD_ITEM_UX_SPACE_14] {margin-left: var(--ytd-margin-14x);} :host([right-margin=CARD_ITEM_UX_SPACE_14]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-14x);} :host([top-padding=CARD_ITEM_UX_SPACE_1]),[top-padding=CARD_ITEM_UX_SPACE_1] {padding-top: var(--ytd-margin-base);} :host([bottom-padding=CARD_ITEM_UX_SPACE_1]),[bottom-padding=CARD_ITEM_UX_SPACE_1] {padding-bottom: var(--ytd-margin-base);} :host([left-padding=CARD_ITEM_UX_SPACE_1]),[left-padding=CARD_ITEM_UX_SPACE_1] {padding-left: var(--ytd-margin-base);} :host([right-padding=CARD_ITEM_UX_SPACE_1]),[right-padding=CARD_ITEM_UX_SPACE_1] {padding-right: var(--ytd-margin-base);} :host([top-padding=CARD_ITEM_UX_SPACE_2]),[top-padding=CARD_ITEM_UX_SPACE_2] {padding-top: var(--ytd-margin-2x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_2]),[bottom-padding=CARD_ITEM_UX_SPACE_2] {padding-bottom: var(--ytd-margin-2x);} :host([left-padding=CARD_ITEM_UX_SPACE_2]),[left-padding=CARD_ITEM_UX_SPACE_2] {padding-left: var(--ytd-margin-2x);} :host([right-padding=CARD_ITEM_UX_SPACE_2]),[right-padding=CARD_ITEM_UX_SPACE_2] {padding-right: var(--ytd-margin-2x);} :host([top-padding=CARD_ITEM_UX_SPACE_3]),[top-padding=CARD_ITEM_UX_SPACE_3] {padding-top: var(--ytd-margin-3x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_3]),[bottom-padding=CARD_ITEM_UX_SPACE_3] {padding-bottom: var(--ytd-margin-3x);} :host([left-padding=CARD_ITEM_UX_SPACE_3]),[left-padding=CARD_ITEM_UX_SPACE_3] {padding-left: var(--ytd-margin-3x);} :host([right-padding=CARD_ITEM_UX_SPACE_3]),[right-padding=CARD_ITEM_UX_SPACE_3] {padding-right: var(--ytd-margin-3x);} :host([top-padding=CARD_ITEM_UX_SPACE_4]),[top-padding=CARD_ITEM_UX_SPACE_4] {padding-top: var(--ytd-margin-4x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_4]),[bottom-padding=CARD_ITEM_UX_SPACE_4] {padding-bottom: var(--ytd-margin-4x);} :host([left-padding=CARD_ITEM_UX_SPACE_4]),[left-padding=CARD_ITEM_UX_SPACE_4] {padding-left: var(--ytd-margin-4x);} :host([right-padding=CARD_ITEM_UX_SPACE_4]),[right-padding=CARD_ITEM_UX_SPACE_4] {padding-right: var(--ytd-margin-4x);} :host([top-padding=CARD_ITEM_UX_SPACE_5]),[top-padding=CARD_ITEM_UX_SPACE_5] {padding-top: var(--ytd-margin-5x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_5]),[bottom-padding=CARD_ITEM_UX_SPACE_5] {padding-bottom: var(--ytd-margin-5x);} :host([left-padding=CARD_ITEM_UX_SPACE_5]),[left-padding=CARD_ITEM_UX_SPACE_5] {padding-left: var(--ytd-margin-5x);} :host([right-padding=CARD_ITEM_UX_SPACE_5]),[right-padding=CARD_ITEM_UX_SPACE_5] {padding-right: var(--ytd-margin-5x);} :host([top-padding=CARD_ITEM_UX_SPACE_6]),[top-padding=CARD_ITEM_UX_SPACE_6] {padding-top: var(--ytd-margin-6x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_6]),[bottom-padding=CARD_ITEM_UX_SPACE_6] {padding-bottom: var(--ytd-margin-6x);} :host([left-padding=CARD_ITEM_UX_SPACE_6]),[left-padding=CARD_ITEM_UX_SPACE_6] {padding-left: var(--ytd-margin-6x);} :host([right-padding=CARD_ITEM_UX_SPACE_6]),[right-padding=CARD_ITEM_UX_SPACE_6] {padding-right: var(--ytd-margin-6x);} :host([top-padding=CARD_ITEM_UX_SPACE_7]),[top-padding=CARD_ITEM_UX_SPACE_7] {padding-top: var(--ytd-margin-7x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_7]),[bottom-padding=CARD_ITEM_UX_SPACE_7] {padding-bottom: var(--ytd-margin-7x);} :host([left-padding=CARD_ITEM_UX_SPACE_7]),[left-padding=CARD_ITEM_UX_SPACE_7] {padding-left: var(--ytd-margin-7x);} :host([right-padding=CARD_ITEM_UX_SPACE_7]),[right-padding=CARD_ITEM_UX_SPACE_7] {padding-right: var(--ytd-margin-7x);} :host([top-padding=CARD_ITEM_UX_SPACE_8]),[top-padding=CARD_ITEM_UX_SPACE_8] {padding-top: var(--ytd-margin-8x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_8]),[bottom-padding=CARD_ITEM_UX_SPACE_8] {padding-bottom: var(--ytd-margin-8x);} :host([left-padding=CARD_ITEM_UX_SPACE_8]),[left-padding=CARD_ITEM_UX_SPACE_8] {padding-left: var(--ytd-margin-8x);} :host([right-padding=CARD_ITEM_UX_SPACE_8]),[right-padding=CARD_ITEM_UX_SPACE_8] {padding-right: var(--ytd-margin-8x);} :host([top-padding=CARD_ITEM_UX_SPACE_9]),[top-padding=CARD_ITEM_UX_SPACE_9] {padding-top: var(--ytd-margin-9x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_9]),[bottom-padding=CARD_ITEM_UX_SPACE_9] {padding-bottom: var(--ytd-margin-9x);} :host([left-padding=CARD_ITEM_UX_SPACE_9]),[left-padding=CARD_ITEM_UX_SPACE_9] {padding-left: var(--ytd-margin-9x);} :host([right-padding=CARD_ITEM_UX_SPACE_9]),[right-padding=CARD_ITEM_UX_SPACE_9] {padding-right: var(--ytd-margin-9x);} :host([top-padding=CARD_ITEM_UX_SPACE_10]),[top-padding=CARD_ITEM_UX_SPACE_10] {padding-top: var(--ytd-margin-10x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_10]),[bottom-padding=CARD_ITEM_UX_SPACE_10] {padding-bottom: var(--ytd-margin-10x);} :host([left-padding=CARD_ITEM_UX_SPACE_10]),[left-padding=CARD_ITEM_UX_SPACE_10] {padding-left: var(--ytd-margin-10x);} :host([right-padding=CARD_ITEM_UX_SPACE_10]),[right-padding=CARD_ITEM_UX_SPACE_10] {padding-right: var(--ytd-margin-10x);} :host([top-padding=CARD_ITEM_UX_SPACE_11]),[top-padding=CARD_ITEM_UX_SPACE_11] {padding-top: var(--ytd-margin-11x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_11]),[bottom-padding=CARD_ITEM_UX_SPACE_11] {padding-bottom: var(--ytd-margin-11x);} :host([left-padding=CARD_ITEM_UX_SPACE_11]),[left-padding=CARD_ITEM_UX_SPACE_11] {padding-left: var(--ytd-margin-11x);} :host([right-padding=CARD_ITEM_UX_SPACE_11]),[right-padding=CARD_ITEM_UX_SPACE_11] {padding-right: var(--ytd-margin-11x);} :host([top-padding=CARD_ITEM_UX_SPACE_12]),[top-padding=CARD_ITEM_UX_SPACE_12] {padding-top: var(--ytd-margin-12x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_12]),[bottom-padding=CARD_ITEM_UX_SPACE_12] {padding-bottom: var(--ytd-margin-12x);} :host([left-padding=CARD_ITEM_UX_SPACE_12]),[left-padding=CARD_ITEM_UX_SPACE_12] {padding-left: var(--ytd-margin-12x);} :host([right-padding=CARD_ITEM_UX_SPACE_12]),[right-padding=CARD_ITEM_UX_SPACE_12] {padding-right: var(--ytd-margin-12x);} :host([top-padding=CARD_ITEM_UX_SPACE_13]),[top-padding=CARD_ITEM_UX_SPACE_13] {padding-top: var(--ytd-margin-13x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_13]),[bottom-padding=CARD_ITEM_UX_SPACE_13] {padding-bottom: var(--ytd-margin-13x);} :host([left-padding=CARD_ITEM_UX_SPACE_13]),[left-padding=CARD_ITEM_UX_SPACE_13] {padding-left: var(--ytd-margin-13x);} :host([right-padding=CARD_ITEM_UX_SPACE_13]),[right-padding=CARD_ITEM_UX_SPACE_13] {padding-right: var(--ytd-margin-13x);} :host([top-padding=CARD_ITEM_UX_SPACE_14]),[top-padding=CARD_ITEM_UX_SPACE_14] {padding-top: var(--ytd-margin-14x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_14]),[bottom-padding=CARD_ITEM_UX_SPACE_14] {padding-bottom: var(--ytd-margin-14x);} :host([left-padding=CARD_ITEM_UX_SPACE_14]),[left-padding=CARD_ITEM_UX_SPACE_14] {padding-left: var(--ytd-margin-14x);} :host([right-padding=CARD_ITEM_UX_SPACE_14]),[right-padding=CARD_ITEM_UX_SPACE_14] {padding-right: var(--ytd-margin-14x);} :host {--yt-img-margin-left: 0;--yt-img-margin-right: 0;display: block;} :host([is-circular_]) yt-img-shadow,:host([is-circular_]) yt-icon {border-radius: 50%;background-color: transparent;overflow: hidden;} #image {display: block;} /*# sourceMappingURL=yt-themed-image-renderer.css.map*/</style>";
v_a=d}d=v_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return w_a=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior,_.vF.YtCardItemBoxBehavior,_.Y.YtActionHandlerBehavior],properties:{data:Object,fit:{type:Boolean,value:!1},isDarkTheme_:Boolean,themeImage_:{type:Object,computed:"computeThemeImage_(data, isDarkTheme_)"},themeIcon_:{type:Object,computed:"computeThemeIcon_(data)"},isCircular_:{type:Boolean,reflectToAttribute:!0,value:!1}},actionMap:{"yt-dark-mode-toggled-action":"handleDarkModeToggledAction_"},attached:function(){this.isDarkTheme_=document.documentElement.hasAttribute("dark")},
handleDarkModeToggledAction_:function(a){this.isDarkTheme_=a},
computeThemeImage_:function(a,b){if(!a||!a.imageLight)return!1;this.isCircular_=a.isCircular;a.imageWidth&&(this.style.width=a.imageWidth+"px");a.imageHeight&&(this.style.height=a.imageHeight+"px");return b&&a.imageDark?a.imageDark:a.imageLight},
computeThemeIcon_:function(a){if(!a||!a.themedIcon)return!1;var b=a.themedIcon;this.$.icon.style.color=_.wF[b.iconColor||"CARD_ITEM_COLOR_GENERAL_BACKGROUND_A"];this.$.icon.style.width=(a.imageWidth||18)+"px";this.$.icon.style.height=(a.imageHeight||18)+"px";return"yt-icons:"+b.icon.iconType}});
var yF=function(){return _.K.apply(this,arguments)||this};
_.q(yF,_.K);
yF.prototype.configureRendererStamper=function(){return{"data.sectionHeading":{id:"section-heading",mapping:{cardItemTextRenderer:{component:"yt-card-item-text-renderer"}}},"data.image":{id:"image",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer"}}},"data.title":{id:"title",mapping:{cardItemTextRenderer:{component:"yt-card-item-text-renderer"}}},"data.subtitle":{id:"subtitle",mapping:{cardItemTextRenderer:{component:"yt-card-item-text-renderer"}}},"data.additionalMetadata":{id:"additional-metadata",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},
"data.activityMetadata":{id:"activity-metadata",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},"data.menu":{id:"menu",mapping:_.TE("menuRenderer")}}};
yF.prototype.onMenuTap=function(a){a.stopPropagation()};
_.t.Object.defineProperties(yF.prototype,{ariaLabel:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.accessibilityData&&this.data.accessibilityData.label?this.data.accessibilityData.label:""}},
sectionHeadingVisible:{configurable:!0,enumerable:!0,get:function(){var a,b;return!((null==(a=this.data)||!a.sectionHeading)&&"ACTIVITY_ITEM_LAYOUT_STRETCH"===(null==(b=this.data)?void 0:b.layout))}},
imageVisible:{configurable:!0,enumerable:!0,get:function(){var a,b;return!((null==(a=this.data)||!a.image)&&"ACTIVITY_ITEM_LAYOUT_STRETCH"===(null==(b=this.data)?void 0:b.layout))}},
menuVisible:{configurable:!0,enumerable:!0,get:function(){var a,b;return!((null==(a=this.data)||!a.menu)&&"ACTIVITY_ITEM_LAYOUT_STRETCH"===(null==(b=this.data)?void 0:b.layout))}}});
_.t.Object.defineProperties(yF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===u_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-activity-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_activity_item_renderer.yt.activity.item.renderer.css.js--\x3e<div class="activity-item-contents" tabindex="-1">\n  <div id="section-heading" aria-hidden="true" hidden="[[!sectionHeadingVisible]]"></div>\n  <div id="section-contents" aria-hidden="true">\n    <div id="image" hidden="[[!imageVisible]]"></div>\n    <div id="content-activity-container" divider-style$="[[data.dividerStyle]]">\n      <div id="content">\n        <div id="title"></div>\n        <div id="subtitle" hidden="[[!data.subtitle]]"></div>\n        <div id="additional-metadata" hidden="[[!data.additionalMetadata]]"></div>\n      </div>\n      <div id="activity-metadata"></div>\n    </div>\n    <div id="menu" on-click="onMenuTap" hidden="[[!menuVisible]]"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===t_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_activity_item_renderer.yt.activity.item.renderer.css.js--\x3e<style>:host {display: block;margin: var(--ytd-margin-4x) 0 var(--ytd-margin-4x) 0;} @media(max-width:400px) {:host {-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;}} :host(:focus),.activity-item-contents:focus {outline: none;} :host(:focus)>.activity-item-contents {outline: -webkit-focus-ring-color auto 5px;} :host([role=button]) {cursor: pointer;} .activity-item-contents {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #section-heading {flex: 0 0 60px;margin-right: var(--ytd-margin-4x);margin-bottom: var(--ytd-margin-4x);} #section-contents {flex-grow: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #image {flex: 0 0 60px;margin-right: var(--ytd-margin-6x);} #content-activity-container {flex-grow: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #content {margin-right: var(--ytd-margin-3x);} #activity-metadata {flex: 0 0 var(--ytd-margin-16x);} #menu {width: var(--ytd-margin-10x);flex-shrink: 0;margin-left: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #menu tp-yt-paper-icon-button[style-target=host],#menu ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} /*# sourceMappingURL=yt-activity-item-renderer.css.map*/</style>";
t_a=d}d=t_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);u_a=a}a=u_a;return a}}});
var zF=yF;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],zF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],zF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.xF.YtTappableItemBehavior),_.T("design:type",Object)],zF.prototype,"ytTappableItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],zF.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data.accessibilityData"),_.T("design:type",String),_.T("design:paramtypes",[])],zF.prototype,"ariaLabel",null);_.S([_.V("data.sectionHeading","data.layout"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],zF.prototype,"sectionHeadingVisible",null);_.S([_.V("data.image","data.layout"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],zF.prototype,"imageVisible",null);
_.S([_.V("data.menu","data.layout"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],zF.prototype,"menuVisible",null);zF=_.S([_.Q({is:"yt-activity-item-renderer"})],zF);
var x_a;
var y_a;
_.Ng({is:"yt-card-item-text-with-image-renderer",_template:function(){if(void 0!==y_a)return y_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-text-with-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_with_image_renderer.yt.card.item.text.with.image.renderer.css.js--\x3e<div id="themed-image-renderer"></div>\n<div id="card-item-text-collection-renderer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===x_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_with_image_renderer.yt.card.item.text.with.image.renderer.css.js--\x3e<style>:host([image-placement=CARD_ITEM_IMAGE_PLACEMENT_START]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([image-placement=CARD_ITEM_IMAGE_PLACEMENT_TOP]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=yt-card-item-text-with-image-renderer.css.map*/</style>";
x_a=d}d=x_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return y_a=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object,imagePlacement:{type:String,value:"CARD_ITEM_IMAGE_PLACEMENT_UNKNOWN",computed:"computeImagePlacement_(data.imagePlacement)",reflectToAttribute:!0}},stampDom:{"data.imageRenderer":{id:"themed-image-renderer",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer"}}},"data.textCollectionRenderer":{id:"card-item-text-collection-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}}},
computeImagePlacement_:function(a){return a||"CARD_ITEM_IMAGE_PLACEMENT_UNKNOWN"}});
var z_a;
var A_a;
var B_a;
var C_a;
_.AF={};_.AF.YtNextContinuationBehavior=[_.Lu.YtTaskEmitterBehavior,{_noAccessors:!0,listeners:{"yt-load-next-continuation":"onLoadNextContinuation_"},nextContinuation:void 0,pendingContinuationRequest_:void 0,listeningForNavigate_:!1,created:function(){this.continuationStartNavCount_=-1},
detached:function(){this.stopListeningForNavigate_()},
canUseContextualNetworkManager_:function(){return _.x("polymer_task_manager_proxied_promise")&&this.shouldUseTaskManager()&&!!this.getNetworkManager()},
startListeningForNavigate_:function(){this.canUseContextualNetworkManager_()||this.listeningForNavigate_||(this.listen(document,"yt-navigate-start","onYtNavigateStart_"),this.listeningForNavigate_=!0)},
stopListeningForNavigate_:function(){this.canUseContextualNetworkManager_()||(this.unlisten(document,"yt-navigate-start","onYtNavigateStart_"),this.listeningForNavigate_=!1)},
onLoadNextContinuation_:function(a,b){a.stopPropagation();if(this.nextContinuation.requestPath){a=this.nextContinuation.requestPath;var c={};_.x("direct_innertube_click_tracking_reporting")&&(c={context:{clickTracking:{clickTrackingParams:this.nextContinuation.clickTrackingParams}}});this.makeNextContinuationRequest_(a,b,c)}else a={locationRetrieved:function(d,e){var h={};_.x("direct_innertube_click_tracking_reporting")&&e.clickTrackingParams&&Object.assign(h,{context:{clickTracking:{clickTrackingParams:e.clickTrackingParams}}});
this.makeNextContinuationRequest_(d,b,h)}.bind(this)},this.fire("yt-retrieve-location",a)},
makeNextContinuationRequest_:function(a,b,c){_.pw("nct");this.continuationStartNavCount_=_.w("NAV_COUNT");this.pendingContinuationRequest_&&this.pendingContinuationRequest_.cancel();a=b(a);var d;this.canUseContextualNetworkManager_()&&(d=this.getNetworkManager());d||(d=_.Eg().resolve(_.Eo));b=_.Ei();if("WEB_REMIX"===_.w("INNERTUBE_CLIENT_NAME")&&b){d=_.zh([a.startsWith("/")?a.substr(1):a]);var e,h;c=_.up(b,{},d,null==c?void 0:null==(e=c.context)?void 0:null==(h=e.clickTracking)?void 0:h.clickTrackingParams).then(function(l){return{response:l}})}else c=
this.nextContinuation.usePost?d.postData(a,c):d.fetchData(a,c);
c.then(this.updateNextContinuationData_.bind(this,a));this.pendingContinuationRequest_=c;this.startListeningForNavigate_()},
updateNextContinuationData_:function(a,b){_.pw("ncl");this.continuationStartNavCount_!=_.w("NAV_COUNT")&&_.Rh("ncpm",1);this.pendingContinuationRequest_=void 0;if(b){var c={};this.nextContinuation&&(c=this.nextContinuation);if(b.response&&b.response.continuationContents&&b.response.continuationContents[c.continuationType]){a=b.response.continuationContents[c.continuationType];var d=c.header||"data.header",e=a[c.responseHeaderKey||"header"];e&&this.set(d,e);d=c.contentsArray||"data.contents";e=this.getContents_(a,
c.responseContentsKey||"contents")||[];this.pathExists_(d)?(e.unshift(d),this.push.apply(this,e)):this.set(d,e);if(e){var h=this.getScreenLayer();e=_.fg(h);h=_.eg(h);var l=this.get("response.trackingParams",b);l&&e&&h&&(l=_.no(l),_.tv(e,h,l),_.C(this,"yt-store-grafted-ve-action",[l]));this.fire("yt-next-continuation-data-updated",{continuationData:b,page:this,contentsArray:d})}this.set(c.continuationsArray||"data.continuations",a[c.responseContinuationsKey||"continuations"]||[])}else b.reload?_.Rf(new _.ge("Reloading from continuation is unsupported")):
b.responseContext&&b.responseContext.errors||(delete b.xsrf_token,delete b.timing,delete b.endpoint,delete b.csn,b.responseContext&&delete b.responseContext.serviceTrackingParams,d={request:_.td(a,{ctoken:"x",continuation:"x",itct:"x"}),responseKeys:Object.keys(b).sort()},b.response&&(d.responseContentKeys=Object.keys(b.response).sort()),this.nextContinuation&&this.nextContinuation.continuationType&&(d.continuationType=this.nextContinuation.continuationType.substr(0,256)),b=new _.ge("Malformed continuation",
d),0==a.indexOf("/comment_service_ajax")?_.Rf(b):_.Qf(b)),this.set(c.continuationsArray||"data.continuations",[])}else _.Qf(new _.ge("Missing continuation response",a))},
getContents_:function(a,b){b=b.split(".");return _.u.getValueByKeys(a,b)},
pathExists_:function(a){var b=this;a=a.toString().split(".");for(var c=0;c<a.length;c++)if(b=b[a[c]],void 0===b)return!1;return!0},
onYtNavigateStart_:function(){this.pendingContinuationRequest_&&(this.pendingContinuationRequest_.cancel(),this.pendingContinuationRequest_=void 0);this.stopListeningForNavigate_()}}];
var D_a;
var E_a;
_.Ng({is:"yt-next-continuation",_template:function(){if(void 0!==E_a)return E_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-next-continuation--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.continuations.yt_next_continuation.yt.next.continuation.css.js--\x3e\n<template is="dom-if" if="[[!showButton]]">\n  <tp-yt-paper-spinner id="spinner" active="[[spinnerActive_]]"></tp-yt-paper-spinner>\n</template>\n<template is="dom-if" if="[[showButton]]">\n  <tp-yt-paper-button on-tap="trigger">\n    <yt-icon hidden$="[[!showIcon]]" icon="subdirectory_arrow_right"></yt-icon>\n    <yt-formatted-string text="[[label]]"></yt-formatted-string>\n  </tp-yt-paper-button>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===D_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.continuations.yt_next_continuation.yt.next.continuation.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} tp-yt-paper-spinner {margin: 16px 0;} tp-yt-paper-button {margin-left: var(--yt-next-continuation-button-margin-left);} /*# sourceMappingURL=yt-next-continuation.css.map*/</style>";
D_a=d}d=D_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return E_a=a},
behaviors:[_.gw.YtVisibilityBehavior,_.U.YtRendererBehavior],properties:{data:{type:Object,observer:"observeData_"},showButton:{type:Boolean,value:!1,observer:"showButtonChanged_"},showIcon:{type:Boolean,value:!1},label:{type:Object,computed:"computeLabel_(data, showButton)"},showMoreText_:{type:Object,value:_.Mu(_.Bg("SHOW_MORE",void 0,"Show More"))},spinnerActive_:{type:Boolean,value:!1},hasBeenTriggered_:{type:Boolean,value:!1},observeVisibleOption:{type:String,value:null},observeHiddenOption:{type:String,
value:null},observePrescanOption:{type:String,value:"observe_once"}},created:function(){this.triggered_=!1},
attached:function(){this.maybeTriggerAutoload()},
detached:function(){this.hasBeenTriggered_=!1},
onPrescanVisible:function(){this.onShow()},
onShow:function(){this.showButton||this.trigger()},
trigger:function(){this.data&&this.data.continuation&&(this.spinnerActive_=!0,this.showButton=!1,this.triggered_||(this.fire("yt-load-next-continuation",this.getContinuationUrl.bind(this)),this.hasBeenTriggered_=this.triggered_=!0))},
triggerIfNotPreviouslyTriggered:function(){this.hasBeenTriggered_||this.trigger()},
maybeTriggerAutoload:function(){this.data&&this.isAttached&&this.data.autoloadEnabled&&this.data.autoloadImmediately&&this.trigger()},
computeLabel_:function(a,b){return void 0===a?null:a.label||!b?a.label:this.showMoreText_},
observeData_:function(){this.spinnerActive_=this.triggered_=!1;this.invalidate(!1);this.maybeTriggerAutoload()},
getContinuationUrl:function(a){var b={ctoken:this.data.continuation,continuation:this.data.continuation,type:"next"};this.data.clickTrackingParams&&(b.itct=this.data.clickTrackingParams);return _.vd(a,b)},
showButtonChanged_:function(){this.invalidate(!1)}});
var BF=function(){var a=_.K.apply(this,arguments)||this;a.hasSpam=!1;a.showButton=!0;a.actionMap={"yt-approve-comment-action":"approveCommentAction","yt-ban-author-action":"banAuthorAction","yt-hide-reported-comment-action":"hideReportedCommentAction","yt-remove-comment-action":"removeCommentAction","yt-load-next-continuation":"onLoadNextContinuation"};a.nextContinuation={contentsArray:"data.contents",continuationType:"commentModerationPanelContinuation",requestPath:"/comment_service_ajax?action_get_comment_replies=1&pbj=1",
usePost:!0};return a};
_.q(BF,_.K);_.f=BF.prototype;_.f.configureRendererStamper=function(){return{"data.continuations":{id:"continuation",mapping:{nextContinuationData:{component:"yt-next-continuation",properties:{showButton:"[[showButton]]"}}}},"data.contents":{id:"held-comments",mapping:{commentRenderer:{component:"ytd-comment-renderer"}}},"data.likelySpamContents":{id:"likely-spam-comments",mapping:{commentRenderer:{component:"ytd-comment-renderer"}}}}};
_.f.ready=function(){var a=this;this.moderationContent.addEventListener("scroll",function(){a.onPanelScroll()})};
_.f.dataChanged=function(){this.expander.collapsed=!0};
_.f.computeSettingsButton=function(a){var b,c,d;return null==(d=null==a?void 0:null==(b=a.expander)?void 0:null==(c=b.commentModerationPanelExpanderRenderer)?void 0:c.settingsButton)?void 0:d.buttonRenderer};
_.f.onPanelScroll=function(){var a=this;this.debounce("onPanelScroll",function(){var b,c;a.toggleClass("scrolling",0===a.moderationContent.scrollTop,null!=(c=null==(b=a.expander.children[1])?void 0:b.offsetParent)?c:void 0)},50)};
_.f.onNextContinuationDataUpdated=function(a,b){a=b.continuationData.response;var c,d;if(!(null==(c=a.continuationContents)?0:null==(d=c.commentModerationPanelContinuation)?0:d.contents)){var e,h;if(null==(e=a.continuationContents)?0:null==(h=e.commentModerationPanelContinuation)?0:h.likelySpamContents){var l;this.data.spamHeaderText=null==(l=a.continuationContents)?void 0:l.commentModerationPanelContinuation.spamHeaderText;var m;this.set("data.likelySpamContents",null==(m=a.continuationContents)?
void 0:m.commentModerationPanelContinuation.likelySpamContents);this.nextContinuation={contentsArray:"data.likelySpamContents",continuationType:"commentModerationPanelContinuation",responseContentsKey:"likelySpamContents",usePost:!0};this.hasSpam=!0}}};
_.f.computeHasContinuation=function(a){return!!a};
_.f.hideSpamDivider=function(a){return!a||a&&0===this.data.contents.length};
_.f.computeSpamHeaderText=function(a,b){return a?b:_.Mu("")};
_.f.triggerContinuation=function(){this.querySelector("yt-next-continuation").trigger();this.showButton=!1};
_.f.approveCommentAction=function(a){(a=this.get("approveCommentAction.commentId",a))&&this.removeComment(a)};
_.f.banAuthorAction=function(a){(a=this.get("banAuthorAction.commentId",a))&&this.removeComment(a)};
_.f.removeCommentAction=function(a){(a=this.get("removeCommentAction.commentId",a))&&this.removeComment(a)};
_.f.hideReportedCommentAction=function(a){(a=this.get("hideReportedCommentAction.commentId",a))&&this.removeComment(a)};
_.f.removeComment=function(a){var b=this.commentIdToHeldCommentsIndex(a);a=this.commentIdToLikelySpamCommentsIndex(a);0<=b?this.splice("data.contents",b,1):0<=a&&this.splice("data.likelySpamContents",a,1);this.data.contents&&0!==this.data.contents.length||this.data.likelySpamContents&&0!==this.data.likelySpamContents.length||this.fire("ytd-comment-moderation-panel-empty")};
_.f.commentIdToHeldCommentsIndex=function(a){var b;if(null==(b=this.data)||!b.contents)return-1;for(b=0;b<this.data.contents.length;b++)if(this.data.contents[b].commentRenderer.commentId===a)return b;return-1};
_.f.commentIdToLikelySpamCommentsIndex=function(a){var b;if(null==(b=this.data)||!b.likelySpamContents)return-1;for(b=0;b<this.data.likelySpamContents.length;b++)if(this.data.likelySpamContents[b].commentRenderer.commentId===a)return b;return-1};
_.t.Object.defineProperties(BF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===C_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-moderation-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_moderation_panel_renderer.ytd.comment.moderation.panel.renderer.css.js--\x3e<ytd-expander id="expander" align-auto="" always-toggleable="" collapsed-height="0" reversed="">\n  <div class="more-button" slot="more-button" on-click="triggerContinuation">\n    <span class="expander-text">\n      [[getSimpleString(data.expander.commentModerationPanelExpanderRenderer.text)]]\n    </span>\n    <div class="icons">\n      <ytd-button-renderer class="settings-button" data="[[settingsButton]]">\n      </ytd-button-renderer>\n      <yt-icon id="expander-icon" icon="yt-icons:expand-more"></yt-icon>\n    </div>\n  </div>\n  <div class="less-button" slot="less-button">\n    <span class="expander-text">\n      [[getSimpleString(data.expander.commentModerationPanelExpanderRenderer.text)]]\n    </span>\n    <div class="icons">\n      <ytd-button-renderer class="settings-button" data="[[settingsButton]]">\n      </ytd-button-renderer>\n      <yt-icon id="expander-icon" icon="yt-icons:expand-less"></yt-icon>\n    </div>\n  </div>\n  <div id="moderation-contents" slot="content">\n    <div id="held-comments"></div>\n    <div id="likely-spam-divider" hidden="[[hideSpamDivider(hasSpam)]]"></div>\n    <yt-formatted-string id="likely-spam-header" text="[[computeSpamHeaderText(data.likelySpamContents, data.spamHeaderText)]]">\n    </yt-formatted-string>\n    <div id="likely-spam-comments"></div>\n    <div id="continuation"></div>\n  </div>\n</ytd-expander>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===B_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_moderation_panel_renderer.ytd.comment.moderation.panel.renderer.css.js--\x3e<style>:host {--ytd-expander-button-scrolling-box-shadow: 0 1px 3px 0 var(--yt-spec-10-percent-layer);--ytd-expander-button-border-radius: 0;display: block;background-color: var(--yt-spec-general-background-a);max-width: 504px;} ytd-button-renderer:hover {color: var(--yt-spec-icon-active-other);} ytd-expander:hover {width: auto;} .expander-text {align-self: center;text-transform: none;color: var(--yt-spec-text-primary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} .more-button,.less-button {margin: 8px 24px 8px 24px;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;} #expander-icon {--iron-icon-width: 24px;--iron-icon-height: 24px;color: var(--yt-spec-icon-inactive);} #expander-icon:hover {color: var(--yt-spec-icon-active-other);} ytd-button-renderer {--yt-button-icon-size: 32px;--yt-icon-color: var(--yt-spec-icon-inactive);} #moderation-contents {overflow-y: hidden;padding-left: 24px;padding-right: 24px;max-height: 336px;} #moderation-contents:hover {overflow-y: auto;} #held-comments,#likely-spam-comments {margin-top: 16px;} #likely-spam-header {color: var(--yt-spec-text-primary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #likely-spam-divider {height: 1px;background: var(--yt-spec-text-secondary);margin: 20px -24px 20px -24px;} /*# sourceMappingURL=ytd-comment-moderation-panel-renderer.css.map*/</style>";
B_a=d}d=B_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);C_a=a}a=C_a;return a}}});
var CF=BF;CF.prototype.onNextContinuationDataUpdated=CF.prototype.onNextContinuationDataUpdated;CF.prototype.dataChanged=CF.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],CF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],CF.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],CF.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.AF.YtNextContinuationBehavior),_.T("design:type",Object)],CF.prototype,"ytNextContinuationBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],CF.prototype,"data",void 0);_.S([_.N({computed:"computeSettingsButton(data)"}),_.T("design:type",Object)],CF.prototype,"settingsButton",void 0);_.S([_.N(),_.T("design:type",Object)],CF.prototype,"hasSpam",void 0);_.S([_.N({computed:"computeHasContinuation(data.continuations)"}),_.T("design:type",Boolean)],CF.prototype,"hasContinuation",void 0);
_.S([_.N(),_.T("design:type",Object)],CF.prototype,"showButton",void 0);_.S([_.Z("#expander"),_.T("design:type",_.wD)],CF.prototype,"expander",void 0);_.S([_.Z("#moderation-contents"),_.T("design:type",HTMLElement)],CF.prototype,"moderationContent",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CF.prototype,"dataChanged",null);
_.S([_.O("yt-next-continuation-data-updated"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],CF.prototype,"onNextContinuationDataUpdated",null);CF=_.S([_.Q({asyncProperties:!0,is:"ytd-comment-moderation-panel-renderer"})],CF);
_.$u("itemSectionRenderer","backstagePostThreadRenderer","ytd-backstage-post-thread-renderer");var DF=function(){var a=_.K.apply(this,arguments)||this;a.JSC$38003_handleOpenPostCommentDialogActionAfterStamp=!1;a.actionMap={"yt-signal-action-open-post-comment-dialog":"handleSignalActionOpenPostCommentDialogAction"};return a};
_.q(DF,_.K);_.f=DF.prototype;
_.f.configureRendererStamper=function(){return{"data.post":{id:"post",mapping:{backstagePostRenderer:{component:"ytd-backstage-post-renderer",properties:{hasInlineCommentSection:"[[hasInlineCommentSection]]"}},postRenderer:"ytd-post-renderer",sharedPostRenderer:"ytd-shared-post-renderer"}},"data.moderationPanel":{id:"moderation-panel",mapping:{commentModerationPanelRenderer:"ytd-comment-moderation-panel-renderer"}},"data.commentDialog":{id:"comment-dialog",mapping:{commentReplyDialogRenderer:"ytd-comment-reply-dialog-renderer"},events:!0}}};
_.f.onStampFinished=function(){this.JSC$38003_handleOpenPostCommentDialogActionAfterStamp&&this.handleSignalActionOpenPostCommentDialogAction()};
_.f.handleSignalActionOpenPostCommentDialogAction=function(){var a=this.$$("ytd-comment-reply-dialog-renderer");a?a.openDialog():this.JSC$38003_handleOpenPostCommentDialogActionAfterStamp=!0};
_.f.onYtCommentModerationPanelEmpty=function(){this.set("data.moderationPanel",{})};
_.f.computeHasInlineCommentSection=function(a){return!!a};
_.t.Object.defineProperties(DF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===A_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-post-thread-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_post_thread_renderer.ytd.backstage.post.thread.renderer.css.js--\x3e<div id="post" hidden="[[!data.post]]"></div>\n<div id="comments-disabled" hidden="[[!data.commentsDisabledMessage]]">[[getSimpleString(data.commentsDisabledMessage)]]</div>\n<div id="moderation-panel" hidden="[[!data.moderationPanel]]"></div>\n<div id="comment-dialog" hidden="[[!data.commentDialog]]"></div>\n<div id="comments" hidden="[[!data.comments]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===z_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_post_thread_renderer.ytd.backstage.post.thread.renderer.css.js--\x3e<style>:host {display: block;margin-top: 24px;border: 1px solid var(--yt-spec-10-percent-layer);padding: 16px 16px 8px 16px;} ytd-comment-moderation-panel-renderer {margin-left: 56px;margin-top: 10px;margin-bottom: 16px;} #comments-disabled {margin-left: 56px;margin-top: 4px;margin-bottom: 8px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([enable-improved-community-tab]) {border: 1px solid var(--yt-spec-10-percent-layer);padding: 16px 0;max-width: 638px;} #comment-dialog {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px 8px 0 8px;margin: 8px 8px 0 8px;} :host([enable-improved-community-tab]) ytd-comment-moderation-panel-renderer {margin-left: 16px;} :host([enable-improved-community-tab]) #comments-disabled {margin-left: 16px;} /*# sourceMappingURL=ytd-backstage-post-thread-renderer.css.map*/</style>';
z_a=d}d=z_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);A_a=a}a=A_a;return a}}});
var EF=DF;EF.prototype.onYtCommentModerationPanelEmpty=EF.prototype.onYtCommentModerationPanelEmpty;EF.prototype.onStampFinished=EF.prototype.onStampFinished;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],EF.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],EF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],EF.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],EF.prototype,"data",void 0);_.S([_.N({computed:"computeHasInlineCommentSection(data.comments)"}),_.T("design:type",Boolean)],EF.prototype,"hasInlineCommentSection",void 0);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],EF.prototype,"onStampFinished",null);
_.S([_.O("ytd-comment-moderation-panel-empty"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],EF.prototype,"onYtCommentModerationPanelEmpty",null);EF=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-post-thread-renderer"})],EF);
var F_a;
var G_a;
var FF=function(){return _.K.apply(this,arguments)||this};
_.q(FF,_.K);FF.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!1}}}},"data.informationButton":{id:"information-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(FF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===G_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-brandconnect-cta-shelf-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_brandconnect_cta_shelf_card_renderer.ytd.brandconnect.cta.shelf.card.renderer.css.js--\x3e<div class="cta-renderer">\n  <yt-img-shadow class="thumbnail" fit="" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]">\n  </yt-img-shadow>\n  <div class="provider-details">\n    <p id="header-line" hidden="[[!data.headline]]">\n      [[getSimpleString(data.headline)]]\n    </p>\n    <p id="brand-name" hidden="[[!data.brandName]]">\n      [[getSimpleString(data.brandName)]]\n    </p>\n    <p id="description" hidden="[[!data.description]]">\n      [[getSimpleString(data.description)]]\n    </p>\n    <div id="action-button"></div>\n  </div>\n  <div id="information-button" hidden="[[!data.informationButton]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===F_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_brandconnect_cta_shelf_card_renderer.ytd.brandconnect.cta.shelf.card.renderer.css.js--\x3e<style>.thumbnail {height: 112px;width: 112px;} .cta-renderer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;align-items: center;height: 112px;margin-bottom: 12px;} .provider-details {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;justify-content: space-between;height: 100px;margin-left: 4px;padding-top: 8px;padding-bottom: 8px;} ytd-button-renderer {--yt-button-padding: 0px 8px;} #header-line {font-size: 1rem;font-weight: 400;line-height: 1.4rem;color: var(--yt-spec-text-secondary);margin-left: 8px;} #brand-name {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;color: var(--yt-spec-text-primary);margin-left: 8px;} #description {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;color: var(--yt-spec-text-secondary);margin-left: 8px;max-width: 200px;} #information-button {--yt-button-color: var(--yt-spec-icon-active-other);top: 8px;right: 8px;position: fixed;} /*# sourceMappingURL=ytd-brandconnect-cta-shelf-card-renderer.css.map*/</style>';
F_a=d}d=F_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);G_a=a}a=G_a;return a}}});
var GF=FF;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],GF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],GF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],GF.prototype,"data",void 0);GF=_.S([_.Q({asyncProperties:!0,is:"ytd-brandconnect-cta-shelf-card-renderer"})],GF);
var H_a;
var I_a;
var HF=function(){var a=_.K.apply(this,arguments)||this;a.hidden=!1;return a};
_.q(HF,_.K);HF.prototype.onSelect=function(){this.data&&this.data.onSelectCommand&&_.Kg(this,[this.data.onSelectCommand])};
HF.prototype.computeHidden=function(a){return!!a};
_.t.Object.defineProperties(HF.prototype,{label:{configurable:!0,enumerable:!0,get:function(){return this.ytRendererBehavior.getSimpleString(this.data.label)}},
value:{configurable:!0,enumerable:!0,get:function(){if(this.data&&("string"===typeof this.data.stringValue||"number"===typeof this.data.int32Value))return this.data.stringValue?this.data.stringValue:this.data.int32Value}}});
_.t.Object.defineProperties(HF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===I_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-dropdown-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_dropdown_item_renderer.ytd.dropdown.item.renderer.css.js--\x3e<tp-yt-paper-item id="item" aria-label$="[[data.accessibility.label]]" on-tap="onSelect">\n  <yt-formatted-string id="label" text="[[data.label]]">\n  </yt-formatted-string>\n</tp-yt-paper-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===H_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_dropdown_item_renderer.ytd.dropdown.item.renderer.css.js--\x3e<style>:host {background-color: var(--ytd-dropdown-item-background-color,inherit);outline: none;min-width: 56px;cursor: default;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #label {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-dropdown-item-renderer.css.map*/</style>';
H_a=d}d=H_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);I_a=a}a=I_a;return a}}});
var IF=HF;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],IF.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],IF.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHidden(data.isHidden)"}),_.T("design:type",Object)],IF.prototype,"hidden",void 0);_.S([_.V("data.label"),_.T("design:type",String),_.T("design:paramtypes",[])],IF.prototype,"label",null);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],IF.prototype,"value",null);IF=_.S([_.Q({asyncProperties:!0,is:"ytd-dropdown-item-renderer"})],IF);
var J_a;
var K_a;
var L_a;
var M_a;
var N_a=function(){return _.K.apply(this,arguments)||this};
_.q(N_a,_.K);
_.t.Object.defineProperties(N_a,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===M_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-navigation-dropdown-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_navigation_dropdown_item_renderer.ytd.navigation.dropdown.item.renderer.css.js--\x3e  <a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]" aria-label$="[[data.accessibility.accessibilityData.label]]">\n  <tp-yt-paper-item id="item">\n    <yt-formatted-string id="label" text="[[data.label]]"></yt-formatted-string>\n  </tp-yt-paper-item>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===L_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_navigation_dropdown_item_renderer.ytd.navigation.dropdown.item.renderer.css.js--\x3e<style>:host {display: block;outline: none;} #label {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-navigation-dropdown-item-renderer.css.map*/</style>';
L_a=d}d=L_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);M_a=a}a=M_a;return a}}});
var JF=N_a;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JF.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],JF.prototype,"data",void 0);_.S([_.N({computed:"getSimpleString(data.label)"}),_.T("design:type",String)],JF.prototype,"label",void 0);JF=_.S([_.Q({asyncProperties:!0,is:"ytd-navigation-dropdown-item-renderer"})],JF);
var KF=function(){var a=_.K.apply(this,arguments)||this;a.value="";a.noLabelFloat=!1;a.noUnderline=!1;a.usePrimaryColor=!1;a.hasBackground=!1;a.verticalAlign="top";a.autosize=!1;a.minAutosizeWidth=100;a.autosizeFont="14px Roboto";return a};
_.q(KF,_.K);_.f=KF.prototype;_.f.configureRendererStamper=function(){return{"data.entries":{id:"entries",mapping:{dropdownItemRenderer:"ytd-dropdown-item-renderer",privacyDropdownItemRenderer:"ytd-privacy-dropdown-item-renderer",navigationDropdownItemRenderer:"ytd-navigation-dropdown-item-renderer"}}}};
_.f.open=function(){this.inputEl.open()};
_.f.reset=function(){this.entries.selected=-1;this.entries.forceSynchronousItemUpdate();this.entries.select(this.getSelectedItem())};
_.f.dataChanged=function(){this.reset()};
_.f.valueChangedForBinding=function(){this.dispatchEvent(new _.TC("value-changed",this.value))};
_.f.stopPropagation=function(a){a.stopPropagation()};
_.f.autoSizeLabel=function(){if(this.autosizeFont&&this.autosize){this.canvas||(this.canvas=document.createElement("canvas"));var a=this.canvas.getContext("2d");a&&(a.font=this.autosizeFont,this.inputEl.style.width=Math.max(this.minAutosizeWidth,Number(a.measureText(this.inputEl.value).width)+24)+"px")}};
_.f.getSelectedItem=function(){if(!this.data||!this.data.entries)return null;for(var a=0,b=this.data.entries.length;a<b;a++){var c=this.data.entries[a],d;for(d in c)if(c.hasOwnProperty(d)&&c[d].isSelected)return c[d].stringValue?c[d].stringValue:c[d].int32Value}return null};
_.t.Object.defineProperties(KF.prototype,{label:{configurable:!0,enumerable:!0,get:function(){if(!this.data||!this.data.entries)return null;if(this.data.label)return this.data.label;for(var a=0,b=this.data.entries.length;a<b;a++){var c=this.data.entries[a],d;for(d in c)if(c.hasOwnProperty(d)&&c[d].isSelected)return this.ytRendererBehavior.getSimpleString(c[d].label)}return null}}});
_.t.Object.defineProperties(KF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===K_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-dropdown-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_dropdown_renderer.ytd.dropdown.renderer.css.js--\x3e<tp-yt-paper-dropdown-menu-light id="input" aria-label$="[[label]]" horizontal-align="left" label="[[label]]" no-label-float="[[noLabelFloat]]" vertical-align="[[verticalAlign]]">\n  <tp-yt-paper-listbox id="entries" class="dropdown-content" slot="dropdown-content" attr-for-selected="value" selected="{{value}}">\n  </tp-yt-paper-listbox>\n</tp-yt-paper-dropdown-menu-light>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===J_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_dropdown_renderer.ytd.dropdown.renderer.css.js--\x3e<style>:host {display: block;--paper-dropdown-menu-color: var(--yt-spec-text-secondary);--paper-dropdown-menu-focus-color: var(--yt-spec-text-primary);--paper-dropdown-error-color: var(--yt-spec-brand-link-text);--paper-dropdown-menu-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-dropdown-menu-label: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-menu-button-content-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);--paper-menu-button-content-background: none;--paper-dropdown-menu-icon-color: var(--yt-spec-text-secondary);} :host([no-underline]) {--paper-dropdown-menu-input: {border-bottom: none;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};} :host([has-background]) tp-yt-paper-dropdown-menu-light {--paper-dropdown-menu-input: {border-bottom: none;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};color: var(--yt-spec-text-secondary);background-color: var(--yt-spec-10-percent-layer);padding: 0 16px;} :host([has-background]) tp-yt-paper-dropdown-menu-light:focus {--paper-dropdown-menu-input: {border-bottom: none;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};} :host([use-primary-color]) {--paper-dropdown-menu-color: var(--yt-spec-text-primary);} tp-yt-paper-dropdown-menu-light {width: 100%;} #entries {width: var(--ytd-dropdown-renderer-width);max-height: 400px;} /*# sourceMappingURL=ytd-dropdown-renderer.css.map*/</style>";
J_a=d}d=J_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);K_a=a}a=K_a;return a}}});
_.LF=KF;_.LF.prototype.autoSizeLabel=_.LF.prototype.autoSizeLabel;_.LF.prototype.stopPropagation=_.LF.prototype.stopPropagation;_.LF.prototype.valueChangedForBinding=_.LF.prototype.valueChangedForBinding;_.LF.prototype.dataChanged=_.LF.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.LF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],_.LF.prototype,"ytRendererStamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],_.LF.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],_.LF.prototype,"value",void 0);_.S([_.N(),_.T("design:type",Object)],_.LF.prototype,"noLabelFloat",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.LF.prototype,"noUnderline",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.LF.prototype,"usePrimaryColor",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.LF.prototype,"hasBackground",void 0);_.S([_.N(),_.T("design:type",Object)],_.LF.prototype,"verticalAlign",void 0);_.S([_.N(),_.T("design:type",Object)],_.LF.prototype,"autosize",void 0);_.S([_.N(),_.T("design:type",Object)],_.LF.prototype,"minAutosizeWidth",void 0);_.S([_.N(),_.T("design:type",Object)],_.LF.prototype,"autosizeFont",void 0);_.S([_.Z("#entries"),_.T("design:type",Object)],_.LF.prototype,"entries",void 0);
_.S([_.Z("#input"),_.T("design:type",Object)],_.LF.prototype,"inputEl",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.LF.prototype,"dataChanged",null);_.S([_.Ct("value"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.LF.prototype,"valueChangedForBinding",null);
_.S([_.O("iron-overlay-opened"),_.O("iron-overlay-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],_.LF.prototype,"stopPropagation",null);_.S([_.O("iron-select"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.LF.prototype,"autoSizeLabel",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.LF.prototype,"label",null);_.LF=_.S([_.Q({is:"ytd-dropdown-renderer"})],_.LF);
var O_a;
var P_a;
_.$u("itemSectionRenderer","toggleFormFieldRenderer","yt-toggle-form-field-renderer");
_.Ng({is:"yt-toggle-form-field-renderer",_template:function(){if(void 0!==P_a)return P_a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-toggle-form-field-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.playlist.yt_toggle_form_field_renderer.yt.toggle.form.field.renderer.css.js--\x3e<div id="toggle-container">\n  <div id="caption">[[getSimpleString(data.label)]]</div>\n  <tp-yt-paper-toggle-button id="input" checked="{{data.toggled}}" disabled="[[toBoolean_(data.isDisabled)]]" noink="" on-change="onChange_" on-focusin="onToggleButtonFocusin_" on-focusout="onToggleButtonFocusout_">\n  </tp-yt-paper-toggle-button>\n</div>\n<yt-formatted-string id="description" hidden="[[!description_]]" text="[[description_]]">\n</yt-formatted-string>\n<div id="footer-container"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===O_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.playlist.yt_toggle_form_field_renderer.yt.toggle.form.field.renderer.css.js--\x3e<style>:host {--paper-toggle-button-checked-bar-color: var(--yt-spec-call-to-action);--paper-toggle-button-checked-button-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary);margin-top: 24px;display: block;} #toggle-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #caption {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #description {display: block;margin-top: 8px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #footer-container {margin-top: 16px;} :host([use-keyboard-focused]:not([keyboard-focused])) {--paper-toggle-button-unchecked-ink-color: transparent;--paper-toggle-button-checked-ink-color: transparent;} /*# sourceMappingURL=yt-toggle-form-field-renderer.css.map*/</style>';
O_a=d}d=O_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return P_a=a},
behaviors:[_.Y.YtActionHandlerBehavior,_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:{type:Object,notify:!0},description_:{type:Boolean,computed:"computeDescription_(data.*)"},useKeyboardFocused:{type:Boolean,value:function(){return!!_.Eg().resolve(_.Cg(_.Bo))&&_.x("kevlar_keyboard_button_focus")},
reflectToAttribute:!0},keyboardFocused:{type:Boolean,value:!1,reflectToAttribute:!0}},stampDom:{"data.footer":{id:"footer-container",mapping:{copyLinkRenderer:"yt-copy-link-renderer"}}},actionMap:{"yt-update-toggle-action":"handleUpdateToggleAction_"},attached:function(){this.keyboardFocused=!1},
onToggleButtonFocusin_:function(){if(this.useKeyboardFocused){var a=_.Eg().resolve(_.Cg(_.Bo));a&&(this.keyboardFocused=a.isKeyBoardInUse())}},
onToggleButtonFocusout_:function(){this.keyboardFocused=!1},
computeDescription_:function(){if(this.data){if(this.data.toggled&&this.data.toggledDescription)return this.data.toggledDescription;if(!this.data.toggled&&this.data.description)return this.data.description}},
onChange_:function(){var a=this.data.toggled?this.data.toggleOnAction:this.data.toggleOffAction;a&&_.Kg(this,[a]);this.data.requireChangeConfirmation&&this.set("data.toggled",!this.data.toggled)},
handleUpdateToggleAction_:function(a){a&&a.updateToggleAction&&this.data&&(a=a.updateToggleAction,a.targetId==this.data.targetId&&this.set("data.toggled",a.toggled))},
toBoolean_:function(a){return!!a},
reset:function(){}});
var Q_a;
var R_a;
_.$u("itemSectionRenderer","channelRenderer","ytd-channel-renderer");var MF=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(MF,_.K);_.f=MF.prototype;_.f.attached=function(){this.isDarkTheme=document.documentElement.hasAttribute("dark")};
_.f.configureRendererStamper=function(){return{"data.subscribeButton":{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer",subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}},"data.purchaseButton":{id:"purchase-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.computeHideDot=function(a){return!(a&&a.subscriberCountText&&a.videoCountText)};
_.f.backgroundColorChanged=function(){if(void 0!==this.data){var a=this.data.backgroundColor;this.isDarkTheme&&(a=this.data.backgroundColorDarkTheme);this.style.backgroundColor=null!=a?_.ru(a):"transparent"}};
_.f.onDarkModeToggledAction=function(a){this.isDarkTheme=a};
_.f.onTap=function(a){var b,c,d=(null==(b=this.data)?void 0:b.navigationEndpoint)||(null==(c=this.data)?void 0:c.serviceEndpoint);d&&d.ypcGetOffersEndpoint&&(_.Kg(this,[d]),a.preventDefault())};
_.f.computeChannelEndpoint=function(a){return a&&a.ypcGetOffersEndpoint?null:a};
_.f.computeHrefEndpoint=function(a){return a&&a.ypcGetOffersEndpoint?null:this.componentBehavior.computeHref_(a)};
_.f.computeChannelRendererStyle=function(a){return a};
_.t.Object.defineProperties(MF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===R_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_renderer.ytd.channel.renderer.css.js--\x3e<yt-formatted-string id="channel-user-state" hidden="[[!data.channelUserStateDescription]]" text="[[data.channelUserStateDescription]]"></yt-formatted-string><div id="content-section"><div id="avatar-section"><a class="channel-link yt-simple-endpoint" on-tap="onTap" href$="[[computeHrefEndpoint(data.navigationEndpoint)]]" data="[[computeChannelEndpoint(data.navigationEndpoint)]]"><div id="avatar"><yt-img-shadow height="136" thumbnail="[[data.thumbnail]]" width="136"></yt-img-shadow></div></a></div><div id="info-section"><a id="main-link" class="channel-link yt-simple-endpoint" on-tap="onTap" href$="[[computeHrefEndpoint(data.navigationEndpoint)]]" data="[[computeChannelEndpoint(data.navigationEndpoint)]]"><div id="info"><ytd-channel-name id="channel-title" badges="[[data.ownerBadges]]" channel-name="[[getSimpleString(data.title)]]" wrap-text=""></ytd-channel-name><div id="metadata"><span id="subscribers">[[getSimpleString(data.subscriberCountText)]]</span><span id="dot" hidden="[[computeHideDot(data)]]">\u2022</span><span id="video-count">[[getSimpleString(data.videoCountText)]]</span></div><yt-formatted-string id="description" text="[[data.descriptionSnippet]]"></yt-formatted-string></div><div id="navigation-icon" hidden="[[!data.navigationIcon.iconType]]"><yt-icon disable-upgrade$="[[!data.navigationIcon.iconType]]" icon="[[data.navigationIcon.iconType]]"></yt-icon></div></a><div id="subscribe-button"></div><div id="purchase-button" hidden="[[!data.purchaseButton]]"></div></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Q_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_renderer.ytd.channel.renderer.css.js--\x3e<style>:host {display: block;} :host([channel-renderer-style=CHANNEL_RENDERER_STYLE__PREMIUM_CHANNEL_MEMBERSHIPS]) {padding: 0 0 24px 0;max-width: 862px;} :host([channel-renderer-style=CHANNEL_RENDERER_STYLE__PREMIUM_CHANNEL_MEMBERSHIPS]) #avatar {padding: 24px 0 0;} #content-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .channel-link {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;height: 136px;width: 136px;margin-right: 16px;} #info-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #channel-user-state {padding-top: 16px;color: var(--yt-spec-text-primary);margin: 20px 0 4px 48px;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #avatar {width: 246px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: none;-webkit-flex: none;flex: none;} #info {padding: 0 16px 16px 16px;min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #channel-title {--ytd-badge-icon-size: 16px;--ytd-channel-name-container-display: -webkit-box;--ytd-channel-name-text-display: -webkit-box;--ytd-channel-name-text-line-clamp: 2;color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #metadata {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} #description {color: var(--yt-spec-text-secondary);word-break: break-word;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} #metadata {margin-bottom: 4px;} #dot {margin: 0 4px;} #purchase-button,#subscribe-button {padding-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #navigation-icon {flex: 0;padding-right: 48px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #navigation-icon yt-icon {color: var(--yt-spec-icon-active-other);} @media(min-width:0) and (max-width:662px) {#subscribe-button {display: none;}#navigation-icon {display: none;}#info {padding: 0 0 0 16px;}} :host([use-prominent-thumbs]) #avatar-section {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([prominent-thumb-style=BIG1]) #avatar-section {max-width: 340px;} :host([prominent-thumb-style=BIG2]) #avatar-section {max-width: 320px;} :host([prominent-thumb-style=MEDIUM1]) #avatar-section {max-width: 300px;} :host([prominent-thumb-style=MEDIUM2]) #avatar-section {max-width: 280px;} :host([use-prominent-thumbs]) #avatar-section .channel-link {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([use-prominent-thumbs]) yt-img-shadow {margin: 0;} :host([use-prominent-thumbs]) #info-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([use-prominent-thumbs]) #info {padding-left: 0;} /*# sourceMappingURL=ytd-channel-renderer.css.map*/</style>';
Q_a=d}d=Q_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);R_a=a}a=R_a;return a}}});
var NF=MF;NF.prototype.backgroundColorChanged=NF.prototype.backgroundColorChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],NF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],NF.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],NF.prototype,"componentBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],NF.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],NF.prototype,"isDarkTheme",void 0);_.S([_.N({computed:"computeChannelRendererStyle(data.channelRendererStyle)",reflectToAttribute:!0}),_.T("design:type",String)],NF.prototype,"channelRendererStyle",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("desktop_search_prominent_thumbs")}}),
_.T("design:type",Boolean)],NF.prototype,"useProminentThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_search_prominent_thumbs_style")}}),
_.T("design:type",String)],NF.prototype,"prominentThumbStyle",void 0);_.S([_.P("data","isDarkTheme"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NF.prototype,"backgroundColorChanged",null);NF=_.S([_.Q({is:"ytd-channel-renderer"})],NF);
var S_a;
var T_a;
var OF=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-update-elements-per-row-action":"onUpdateElementsPerRowAction"};return a};
_.q(OF,_.K);_.f=OF.prototype;_.f.attached=function(){this.requestElementsPerRow()};
_.f.configureRendererStamper=function(){return{"data.actionButton":{id:"button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"ytd-button-renderer"}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer",notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.f.dataChanged=function(){this.hideThumbnail=!1;this.requestElementsPerRow()};
_.f.computeViewStyle=function(a){return a.style?a.style:"COMPACT_PROMOTED_ITEM_STYLE_UNSPECIFIED"};
_.f.onUpdateElementsPerRowAction=function(a){this.hideThumbnail="COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID"===this.viewStyle&&1===a};
_.f.requestElementsPerRow=function(){this.fire("yt-request-elements-per-row")};
_.t.Object.defineProperties(OF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===T_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-promoted-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_promoted_item_renderer.ytd.compact.promoted.item.renderer.css.js--\x3e<div id="dismissible">\n<ytd-thumbnail data="[[data]]" hidden="[[hideThumbnail]]" width="100"></ytd-thumbnail>\n  <div id="content">\n    <div id="info">\n      <h3>\n        <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n      </h3>\n      <div id="subtitle-container">\n        <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n        <ytd-badge-supported-renderer id="featured-badge" disable-upgrade$="[[!data.badge]]" hidden="[[!data.badge]]" top-standalone-badge="[[data.badge]]">\n        </ytd-badge-supported-renderer>\n      </div>\n    </div>\n    <div id="button"></div>\n  </div>\n  <div id="dismiss-button"></div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===S_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_promoted_item_renderer.ytd.compact.promoted.item.renderer.css.js--\x3e<style>:host {display: block;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} #dismissible {background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #dismissed {border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: 4px solid var(--yt-spec-10-percent-layer);width: 100%;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #dismissed:focus {outline: none;} #content {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-thumbnail {margin: 24px;margin-right: 8px;height: 100px;width: 100px;} #info {margin-top: 24px;margin-left: 16px;} #title {font-family: "YouTube Sans","YT Sans","Roboto",sans-serif;font-size: 28px;line-height: 36px;font-weight: 400;} :host(:not([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID])) #subtitle-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-top: 8px;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #subtitle-container {margin-top: 4px;} #subtitle {display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #button ytd-button-renderer {margin-top: 8px;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #dismissible {border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: 4px solid var(--yt-spec-10-percent-layer);background-color: transparent;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) ytd-thumbnail {margin-left: 0;margin-right: 16px;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #subtitle {display: inline;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #button ytd-button-renderer {margin-top: 16px;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #featured-badge {--ytd-badge-display: inline;display: inline;margin-left: 4px;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #info {margin-left: 0;margin-top: 0;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #content {-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;min-height: 100px;margin: 24px 0;} :host([view-style=COMPACT_PROMOTED_ITEM_STYLE_RICH_GRID]) #dismiss-button {margin-top: 16px;margin-left: 8px;} @media(max-width:871px) {#title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;}#subtitle {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;}} /*# sourceMappingURL=ytd-compact-promoted-item-renderer.css.map*/</style>';
S_a=d}d=S_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);T_a=a}a=T_a;return a}}});
var PF=OF;PF.prototype.dataChanged=PF.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],PF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],PF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],PF.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],PF.prototype,"actionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],PF.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],PF.prototype,"hideThumbnail",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeViewStyle(data)"}),_.T("design:type",String)],PF.prototype,"viewStyle",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],PF.prototype,"dataChanged",null);PF=_.S([_.Q({is:"ytd-compact-promoted-item-renderer"})],PF);
var U_a;
var V_a;
var W_a;
var QF=function(){var a=_.K.apply(this,arguments)||this;a.downloadProgress=0;a.transferState="TRANSFER_STATE_UNKNOWN";a.offlinePolicyAction="OFFLINE_VIDEO_POLICY_ACTION_UNKNOWN";a.offlineVideoPolicyExpirationTimestamp=0;return a};
_.q(QF,_.K);_.f=QF.prototype;_.f.dataChanged=function(){var a,b;this.videoData=null==(a=this.data)?void 0:null==(b=a.renderer)?void 0:b.gridVideoRenderer;this.transferStateChanged()};
_.f.downloadProgressChanged=function(){if(this.entityInfo){var a=Object.assign({},this.videoData),b=this.getShortViewCountText(this.entityInfo),c=b.publishedTimeText;a.shortViewCountText=b.shortViewCountText;a.publishedTimeText=c;this.set("videoData",a)}};
_.f.transferStateChanged=function(){if(this.entityInfo){var a=_.ph(this.transferState)||"TRANSFER_STATE_FAILED"===this.transferState||!_.oh(this.entityInfo.policyEntity),b=Object.assign({},this.videoData),c=this.getShortViewCountText(this.entityInfo),d=c.publishedTimeText;b.shortViewCountText=c.shortViewCountText;b.publishedTimeText=d;b.isDisabled=a;b.navigationEndpoint=a?void 0:_.kh(this.videoData.videoId,"PPSV");b.thumbnailOverlays=this.getThumbnailOverlays(this.entityInfo);this.set("videoData",
b)}};
_.f.getExpiredMessage=function(){return"DOWNLOAD_EXPIRED"in _.Ag?_.Bg("DOWNLOAD_EXPIRED",{},"Download expired"):_.Bg("TRANSFER_FAILED",{},"Download failed")};
_.f.getShortViewCountText=function(a){if(a.videoEntity&&!a.policyEntity){var b=_.Bg("WAITING_TO_DOWNLOAD");if(b)return{shortViewCountText:_.Mu(b),publishedTimeText:void 0}}if(!_.oh(a.policyEntity)){var c=_.bla(a.policyEntity)?_.Bg("TRANSFER_FAILED",{},"Download failed"):this.getExpiredMessage(),d;if(null==(d=a.policyEntity)?0:d.shortMessageForDisabledAction)c=a.policyEntity.shortMessageForDisabledAction;return{shortViewCountText:_.mh(c),publishedTimeText:void 0}}if("TRANSFER_STATE_PAUSED_BY_USER"===
this.transferState)return{shortViewCountText:_.Mu(_.Bg("DOWNLOAD_PAUSED",{},"Download paused")),publishedTimeText:void 0};if("TRANSFER_STATE_FAILED"===this.transferState)return{shortViewCountText:_.Mu(_.Bg("TRANSFER_FAILED",{},"Download failed")),publishedTimeText:void 0};if("TRANSFER_STATE_TRANSFER_IN_QUEUE"===this.transferState&&(d=_.Bg("WAITING_TO_DOWNLOAD")))return{shortViewCountText:_.Mu(d),publishedTimeText:void 0};if(_.ph(this.transferState))return a=Math.floor(100*this.downloadProgress).toString(),
{shortViewCountText:_.Mu(_.Bg("DOWNLOADING_PERCENT",{percent:a},"Downloading... "+a+"%")),publishedTimeText:void 0};d=void 0;if(a.videoEntity.publishedTimestampMillis){d=new Date;this.relativeDateReference&&(d=new Date(this.relativeDateReference));b=new Date(Number(a.videoEntity.publishedTimestampMillis));var e=d;W_a||(_.em=_.aCa,W_a=new FZa);d=W_a;a:if(b=QYa(b),e=QYa(e||new Date),b>e)d=6048E5<b.getTime()-e.getTime()?_.ki(b,1):(0,_.dCa)(b);else{for(var h=0;RYa(b,12*(h+1))<e;)++h;if(0<h)d=d.format(-h,
0);else{for(h=0;RYa(b,h+1)<e;)++h;if(0<h)d=d.format(-h,2);else{b=e.getTime()-b.getTime();e=_.k([{unitDuration:6048E5,unit:3,threshold:2},{unitDuration:864E5,unit:4},{unitDuration:36E5,unit:5},{unitDuration:6E4,unit:6},{unitDuration:1E3,unit:7}]);for(h=e.next();!h.done;h=e.next()){h=h.value;var l=h.unit,m=Math.floor(b/h.unitDuration);if(m>=(void 0===h.threshold?1:h.threshold)){d=d.format(-m,l);break a}}d=d.format(-0,7)}}}d=_.mh(d)}return{shortViewCountText:_.mh(null==(c=a.videoEntity.localizedStrings)?
void 0:c.viewCount),publishedTimeText:d}};
_.f.getThumbnailOverlays=function(a){return a.videoEntity&&!a.policyEntity?[RE("THUMBNAIL_OVERLAY_DOWNLOADING_RENDERER_STATE_DOWNLOADING")]:_.oh(a.policyEntity)&&"TRANSFER_STATE_FAILED"!==this.transferState?"TRANSFER_STATE_PAUSED_BY_USER"===this.transferState?[RE("THUMBNAIL_OVERLAY_DOWNLOADING_RENDERER_STATE_PAUSED_BY_USER")]:_.ph(this.transferState)?[RE("THUMBNAIL_OVERLAY_DOWNLOADING_RENDERER_STATE_DOWNLOADING")]:a.videoEntity.lengthSeconds?[_.GYa(a.videoEntity.lengthSeconds)]:[]:[RE("THUMBNAIL_OVERLAY_DOWNLOADING_RENDERER_STATE_FAILED")]};
_.t.Object.defineProperties(QF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===V_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-downloaded-video-grid-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_downloaded_video_grid_video_renderer.ytd.downloaded.video.grid.video.renderer.css.js--\x3e<ytd-grid-video-renderer id="video" data="[[videoData]]"></ytd-grid-video-renderer>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===U_a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_downloaded_video_grid_video_renderer.ytd.downloaded.video.grid.video.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=ytd-downloaded-video-grid-video-renderer.css.map*/</style>";U_a=d}d=U_a;c.call(b,d.content.cloneNode(!0),
a.content.firstChild);V_a=a}a=V_a;return a}}});
var RF=QF;RF.prototype.transferStateChanged=RF.prototype.transferStateChanged;RF.prototype.downloadProgressChanged=RF.prototype.downloadProgressChanged;RF.prototype.dataChanged=RF.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],RF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],RF.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],RF.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],RF.prototype,"videoData",void 0);_.S([_.N({selector:_.xIa,selectorArgs:["videoData.videoId"]}),_.T("design:type",Object)],RF.prototype,"downloadProgress",void 0);_.S([_.N(),_.T("design:type",Number)],RF.prototype,"relativeDateReference",void 0);_.S([_.N({selector:_.uv,selectorArgs:["videoData.videoId"]}),_.T("design:type",Object)],RF.prototype,"transferState",void 0);
_.S([_.N({selector:function(a,b){var c;if(b){var d;a=null==(d=_.Yg(a.entities,"offlineVideoPolicy",_.Wg(b,"offlineVideoPolicy")))?void 0:d.action}else a=void 0;return null!=(c=a)?c:"OFFLINE_VIDEO_POLICY_ACTION_UNKNOWN"},
selectorArgs:["videoData.videoId"]}),_.T("design:type",Object)],RF.prototype,"offlinePolicyAction",void 0);_.S([_.N({selector:function(a,b){var c;b?(a=_.Yg(a.entities,"offlineVideoPolicy",_.Wg(b,"offlineVideoPolicy")),a=Number(null==a?void 0:a.expirationTimestamp)):a=void 0;return null!=(c=a)?c:0},
selectorArgs:["videoData.videoId"]}),_.T("design:type",Number)],RF.prototype,"offlineVideoPolicyExpirationTimestamp",void 0);_.S([_.N({selector:function(a,b){return _.qh(a.entities,b)},
selectorArgs:["videoData.videoId"]}),_.T("design:type",Object)],RF.prototype,"entityInfo",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RF.prototype,"dataChanged",null);_.S([_.Ct("downloadProgress"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RF.prototype,"downloadProgressChanged",null);
_.S([_.Ct("transferState","offlinePolicyAction","offlineVideoPolicyExpirationTimestamp"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RF.prototype,"transferStateChanged",null);RF=_.S([_.Q({asyncProperties:!0,is:"ytd-downloaded-video-grid-video-renderer"})],RF);
var X_a;
var Y_a;
var Z_a;
var $_a;
_.$u("itemSectionRenderer","radioRenderer","ytd-radio-renderer");var SF=function(){var a=_.K.apply(this,arguments)||this;a.displayItemCount=2;return a};
_.q(SF,_.K);SF.prototype.computeFirstVideos=function(a,b){return a&&b?a.slice(0,b):[]};
SF.prototype.computeThumbnailWidth=function(a,b){return a?"BIG1"===b?340:"BIG2"===b?320:"MEDIUM1"===b?300:"MEDIUM2"===b?280:360:246};
SF.prototype.computeThumbnailHeight=function(a){return a?240:138};
_.t.Object.defineProperties(SF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-radio-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_radio_renderer.ytd.radio.renderer.css.js--\x3e<ytd-thumbnail data="[[data]]" height="[[computeThumbnailHeight(useProminentThumbs)]]" hovered="[[lockupIsHovered]]" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="[[computeThumbnailWidth(useProminentThumbs, prominentThumbStyle)]]">\n</ytd-thumbnail>\n<div id="content">\n  <a class="yt-simple-endpoint" href="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h3>\n      <ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n      </ytd-badge-supported-renderer>\n      <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        [[getSimpleString(data.title)]]\n      </span>\n    </h3>\n    <ytd-video-meta-block id="meta" data="[[data]]" radio-meta=""></ytd-video-meta-block>\n  </a>\n  <ul id="list">\n    <template is="dom-repeat" items="[[computeFirstVideos(data.videos, displayItemCount)]]" as="video">\n      <li>\n        <ytd-child-video-renderer data="[[video.childVideoRenderer]]">\n        </ytd-child-video-renderer>\n      </li>\n    </template>\n  </ul>\n</div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Z_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_radio_renderer.ytd.radio.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([use-prominent-thumbs])) ytd-thumbnail {width: 246px;height: 138px;margin-right: 16px;} #content {overflow: hidden;max-width: 600px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #list {list-style-type: none;padding: 0;margin: 12px 0 8px 0;} #list li {padding-bottom: 4px;} #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} :host([use-prominent-thumbs]) ytd-thumbnail:before {display: block;content: "";padding-top: 56.11%;} :host([use-prominent-thumbs]) ytd-thumbnail {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([prominent-thumb-style=BIG1]) ytd-thumbnail {max-width: 340px;} :host([prominent-thumb-style=BIG2]) ytd-thumbnail {max-width: 320px;} :host([prominent-thumb-style=MEDIUM1]) ytd-thumbnail {max-width: 300px;} :host([prominent-thumb-style=MEDIUM2]) ytd-thumbnail {max-width: 280px;} /*# sourceMappingURL=ytd-radio-renderer.css.map*/</style>';
Z_a=d}d=Z_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$_a=a}a=$_a;return a}}});
var TF=SF;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],TF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],TF.prototype,"ytdLockupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],TF.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],TF.prototype,"displayItemCount",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("desktop_search_prominent_thumbs")}}),
_.T("design:type",Boolean)],TF.prototype,"useProminentThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_search_prominent_thumbs_style")}}),
_.T("design:type",String)],TF.prototype,"prominentThumbStyle",void 0);TF=_.S([_.Q({asyncProperties:!0,is:"ytd-radio-renderer"})],TF);
var a0a;
var b0a;
_.$u("itemSectionRenderer","showRenderer","ytd-show-renderer");var UF=function(){return _.K.apply(this,arguments)||this};
_.q(UF,_.K);UF.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
UF.prototype.computeThumbnailWidth=function(a){return a?360:246};
UF.prototype.computeUseProminentThumbs=function(a){return a};
_.t.Object.defineProperties(UF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===b0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-show-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_show_renderer.ytd.show.renderer.css.js--\x3e<ytd-playlist-thumbnail data="[[data]]" width="[[computeThumbnailWidth(useProminentThumbs)]]">\n</ytd-playlist-thumbnail>\n<div id="content">\n<a id="logo-container" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h3>\n      <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n      </ytd-badge-supported-renderer>\n      <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        [[getSimpleString(data.title)]]\n      </span>\n    </h3>\n    <ytd-video-meta-block data="[[data]]"></ytd-video-meta-block>\n  </a>\n  <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]">\n  </ytd-badge-supported-renderer>\n  <ytd-badge-supported-renderer id="bottom-standalone-badge" bottom-standalone-badge="[[data.bottomStandaloneBadge]]" disable-upgrade$="[[!data.bottomStandaloneBadge]]" hidden="[[!data.bottomStandaloneBadge]]">\n  </ytd-badge-supported-renderer>\n</div>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===a0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_show_renderer.ytd.show.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} :host(:not([use-prominent-thumbs])) ytd-playlist-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;width: 246px;height: 138px;margin-right: 16px;} :host([use-prominent-thumbs]) ytd-playlist-thumbnail:before {display: block;content: "";padding-top: 56.11%;} :host([use-prominent-thumbs]) ytd-playlist-thumbnail {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} ytd-video-meta-block {margin-right: 48px;} #description-text {color: var(--yt-spec-text-secondary);padding-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} #badges {padding-top: 8px;} #bottom-standalone-badge {padding-top: 8px;} #content {max-width: 600px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-menu-renderer {position: absolute;top: -8px;right: 0;} #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);padding-right: 24px;} .yt-simple-endpoint {display: block;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-show-renderer.css.map*/</style>';
a0a=d}d=a0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);b0a=a}a=b0a;return a}}});
var VF=UF;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],VF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],VF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],VF.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],VF.prototype,"isSearch",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeUseProminentThumbs(isSearch)"}),_.T("design:type",Boolean)],VF.prototype,"useProminentThumbs",void 0);VF=_.S([_.Q({asyncProperties:!0,is:"ytd-show-renderer"})],VF);
var WF=function(){return _.K.apply(this,arguments)||this};
_.q(WF,_.K);WF.prototype.configureRendererStamper=function(){return{shownItems:{id:"grid-container",mapping:{channelRenderer:"ytd-channel-renderer",compactPromotedItemRenderer:"ytd-compact-promoted-item-renderer",playlistRenderer:"ytd-playlist-renderer",radioRenderer:"ytd-radio-renderer",showRenderer:"ytd-show-renderer",videoRenderer:"ytd-video-renderer"}}}};
WF.prototype.fillRestIfNoShowMore=function(a,b){!a.showMoreText&&b&&this.ytLazyListBehavior.fillRemainingListItems()};
WF.prototype.onShowMoreClick=function(){this.ytLazyListBehavior.fillRemainingListItems()};
WF.prototype.computeViewAllHidden=function(a,b){return a||!b.viewAllEndpoint};
_.t.Object.defineProperties(WF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Y_a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-expanded-shelf-contents-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_expanded_shelf_contents_renderer.ytd.expanded.shelf.contents.renderer.css.js--\x3e<div id="grid-container"></div>\n<yt-formatted-string aria-role="button" hidden="[[!canShowMore]]" text="[[data.showMoreText]]" on-click="onShowMoreClick">\n</yt-formatted-string>\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.viewAllEndpoint)]]" data="[[data.viewAllEndpoint]]" hidden="[[computeViewAllHidden(canShowMore,data)]]">\n  <yt-formatted-string text="[[data.viewAllText]]"></yt-formatted-string>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===X_a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_expanded_shelf_contents_renderer.ytd.expanded.shelf.contents.renderer.css.js--\x3e<style>:host {display: block;margin-bottom: 24px;} #grid-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} yt-formatted-string {--yt-endpoint-color: var(--yt-spec-text-secondary);display: block;color: var(--yt-spec-text-secondary);cursor: pointer;margin-top: 16px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #grid-container>* {width: 100%;} #grid-container>*:not(:last-child) {margin-bottom: 16px;} @media(min-width:1560px) {ytd-playlist-renderer,ytd-channel-renderer,ytd-radio-renderer,ytd-video-renderer,ytd-movie-playlist-renderer {width: 50%;padding-right: 24px;box-sizing: border-box;-ms-flex: none;-webkit-flex: none;flex: none;}} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-expanded-shelf-contents-renderer.css.map*/</style>';
X_a=d}d=X_a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Y_a=a}a=Y_a;return a}}});
var XF=WF;XF.prototype.fillRestIfNoShowMore=XF.prototype.fillRestIfNoShowMore;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],XF.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],XF.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],XF.prototype,"ytLazyListBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],XF.prototype,"data",void 0);
_.S([_.Ct("data","canShowMore"),_.T("design:type",Function),_.T("design:paramtypes",[Object,Boolean]),_.T("design:returntype")],XF.prototype,"fillRestIfNoShowMore",null);XF=_.S([_.Q({asyncProperties:!0,is:"ytd-expanded-shelf-contents-renderer"})],XF);
var c0a;
var d0a;
_.YF={YtContinuationHandlerBehavior:[]};_.YF.YtContinuationHandlerBehavior.push(_.Y.YtActionHandlerBehavior);_.YF.YtContinuationHandlerBehavior.push(_.iu.YtComponentBehavior);_.YF.YtContinuationHandlerBehavior.push(_.qE.prototype);
var e0a;
var f0a;
_.Ng({is:"yt-music-pass-small-feature-info-renderer",_template:function(){if(void 0!==f0a)return f0a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-music-pass-small-feature-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_music_pass_small_feature_info_renderer.yt.music.pass.small.feature.info.renderer.css.js--\x3e<yt-img-shadow thumbnail="[[data.icon]]" width="84"></yt-img-shadow>\n<yt-formatted-string id="header" respect-html-dir="" text="[[data.header]]"></yt-formatted-string>\n<yt-formatted-string id="description" respect-html-dir="" text="[[data.description]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===e0a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_music_pass_small_feature_info_renderer.yt.music.pass.small.feature.info.renderer.css.js--\x3e<style>:host {display: inline-block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;text-align: center;} yt-img-shadow {width: 84px;height: 84px;padding-bottom: var(--ytd-margin-4x);} #header {color: var(--yt-spec-text-primary);font-size: 32px;font-weight: 300;padding-bottom: var(--ytd-margin-base);} #description {color: var(--yt-spec-text-secondary);font-size: 16px;line-height: 1.5;} /*# sourceMappingURL=yt-music-pass-small-feature-info-renderer.css.map*/</style>";
e0a=d}d=e0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return f0a=a},
behaviors:[_.U.YtRendererBehavior],attached:function(){this.parentNode.style.justifyContent="center"},
properties:{data:Object}});
_.$u("itemSectionRenderer","gridRenderer","ytd-grid-renderer");var ZF=function(){var a=_.K.apply(this,arguments)||this;a.isCollapsible=!1;a.nextContinuation={continuationType:"gridContinuation",contentsArray:"data.items",responseContentsKey:"items"};return a};
_.q(ZF,_.K);_.f=ZF.prototype;_.f.computeIsCollapsible=function(a){return _.x("kevlar_calculate_grid_collapsible")?!!(((null==a?0:a.showMoreText)||(null==a?0:a.visibleRowCount))&&(null==a?0:a.isCollapsible)):null==a?void 0:a.isCollapsible};
_.f.configureRendererStamper=function(){return{shownItems:{id:"items",mapping:{continuationItemRenderer:"ytd-continuation-item-renderer",gridChannelRenderer:"ytd-grid-channel-renderer",gridMoviePlaylistRenderer:"ytd-grid-movie-playlist-renderer",gridMovieRenderer:"ytd-grid-movie-renderer",gridPlaylistRenderer:"ytd-grid-playlist-renderer",gridShowRenderer:"ytd-grid-show-renderer",gridVideoRenderer:"ytd-grid-video-renderer",downloadedVideoGridVideoRenderer:"ytd-downloaded-video-grid-video-renderer",
gridRadioRenderer:"ytd-grid-radio-renderer",musicPassSmallFeatureInfoRenderer:"yt-music-pass-small-feature-info-renderer",gameCardRenderer:"ytd-game-card-renderer",verticalProductCardRenderer:{component:"ytd-vertical-product-card-renderer",noInjection:!0}}},"data.continuations":{id:"continuations",mapping:{nextContinuationData:"yt-next-continuation"}}}};
_.f.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"items"}};
_.f.persistentGuideChanged=function(){this.maybeUpdateInitialItemsDisplayed()};
_.f.onIronResize=function(){var a=this;this.debounce("updateGridInitItems",function(){a.maybeUpdateInitialItemsDisplayed()})};
_.f.maybeUpdateInitialItemsDisplayed=function(){if(this.collapsed){var a=this.getVisibleWidth();0!==a&&(a=Math.floor(a/214)*(this.data.visibleRowCount||2),a!==this.initialCount&&(this.initialCount=a,this.data&&this.data.items&&this.ytLazyListBehavior.setInitialItemsOnDataChanged(this.data.items)))}};
_.f.getVisibleWidth=function(){return this.offsetWidth};
_.f.computeExpandVisible=function(a,b,c,d){return a&&b&&c&&!!d&&!!d.showMoreText};
_.f.computeShowMoreButton=function(a){return{text:a,style:"STYLE_TEXT",size:"SIZE_DEFAULT"}};
_.f.onExpandTap=function(){this.collapsed=!1;this.ytLazyListBehavior.canShowMore&&this.ytLazyListBehavior.fillRemainingListItems()};
_.f.initCollapsed=function(){this.ytLazyListBehavior.canShowMore=!1;var a;(this.collapsed=!(null==(a=this.data)||!a.isCollapsible))&&this.maybeUpdateInitialItemsDisplayed()};
_.f.fillRestIfNotCollapsible=function(){var a=this.ytLazyListBehavior.canShowMore;this.data&&this.isCollapsible||!a||this.ytLazyListBehavior.fillRemainingListItems()};
_.f.computeViewAllHidden=function(a,b){return a||!b.viewAllEndpoint};
_.t.Object.defineProperties(ZF,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===d0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-grid-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_renderer.ytd.grid.renderer.css.js--\x3e<template is="dom-if" if="[[data.title]]">\n  <h3 class="channel-link">\n    <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n  </h3>\n</template>\n<div id="items"></div>\n<ytd-button-renderer id="show-more-button" align-by-text="" data="[[showMoreButton]]" hidden="[[!computeExpandVisible(isCollapsible, collapsed, canShowMore, data)]]" on-tap="onExpandTap">\n</ytd-button-renderer>\n<yt-formatted-string id="view-all" hidden="[[computeViewAllHidden(canShowMore, data)]]" text="[[data.viewAllText]]">\n</yt-formatted-string>\n<div id="continuations"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===c0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_grid_renderer.ytd.grid.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #items {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #items.hovering {position: relative;overflow-x: hidden;} #items>ytd-grid-video-renderer,#items>ytd-downloaded-video-grid-video-renderer,#items>ytd-grid-radio-renderer,#items>ytd-grid-channel-renderer,#items>ytd-grid-playlist-renderer,#items>ytd-grid-movie-playlist-renderer,#items>ytd-grid-movie-renderer,#items>ytd-grid-show-renderer,#items>ytd-game-card-renderer {margin-right: 4px;display: inline-block;width: 210px;margin-bottom: 24px;} #items>ytd-game-card-renderer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #items>yt-music-pass-small-feature-info-renderer {width: 312px;} yt-music-pass-small-feature-info-renderer {margin-top: 64px;margin-bottom: 64px;} yt-music-pass-small-feature-info-renderer:not(:last-child) {margin-right: 24px;} #show-more-button {margin-bottom: 16px;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #view-all {--yt-endpoint-color: var(--yt-spec-text-secondary);display: block;color: var(--yt-spec-text-secondary);cursor: pointer;margin: 16px 0 24px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} ytd-continuation-item-renderer {min-width: 100%;} /*# sourceMappingURL=ytd-grid-renderer.css.map*/</style>';
c0a=d}d=c0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);d0a=a}a=d0a;return a}}});
var $F=ZF;$F.prototype.fillRestIfNotCollapsible=$F.prototype.fillRestIfNotCollapsible;$F.prototype.initCollapsed=$F.prototype.initCollapsed;$F.prototype.onIronResize=$F.prototype.onIronResize;$F.prototype.persistentGuideChanged=$F.prototype.persistentGuideChanged;_.S([_.L(_.xx),_.T("design:type",Object)],$F.prototype,"ironResizableBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$F.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$F.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],$F.prototype,"ytLazyListBehavior",void 0);_.S([_.L(_.AF.YtNextContinuationBehavior),_.T("design:type",Object)],$F.prototype,"ytNextContinuationBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],$F.prototype,"ytdGuideStateAwareBehavior",void 0);
_.S([_.L(_.YF.YtContinuationHandlerBehavior),_.T("design:type",Object)],$F.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$F.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],$F.prototype,"collapsed",void 0);_.S([_.N(),_.T("design:type",Number)],$F.prototype,"initialCount",void 0);_.S([_.N({computed:"computeShowMoreButton(data.showMoreText)"}),_.T("design:type",Object)],$F.prototype,"showMoreButton",void 0);
_.S([_.N({computed:"computeIsCollapsible(data)"}),_.T("design:type",Boolean)],$F.prototype,"isCollapsible",void 0);_.S([_.Z("#items"),_.T("design:type",HTMLElement)],$F.prototype,"items",void 0);_.S([_.Ct("guidePersistentAndVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$F.prototype,"persistentGuideChanged",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$F.prototype,"onIronResize",null);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$F.prototype,"initCollapsed",null);_.S([_.Ct("canShowMore"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$F.prototype,"fillRestIfNotCollapsible",null);$F=_.S([_.Q({is:"ytd-grid-renderer"})],$F);
var g0a;
var h0a;
var i0a;
var j0a;
var aG=function(){return _.K.apply(this,arguments)||this};
_.q(aG,_.K);aG.prototype.configureRendererStamper=function(){return{"data.button":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.t.Object.defineProperties(aG.prototype,{avatars:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.data)?void 0:null==(b=a.avatars)?void 0:b.slice(0,8))||[]}}});
_.t.Object.defineProperties(aG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===j0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-recognition-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_recognition_shelf_renderer.ytd.recognition.shelf.renderer.css.js--\x3e<div id="container">\n  <div id="text-container">\n    <yt-formatted-string class="title" text="[[data.title]]"></yt-formatted-string>\n    <yt-formatted-string class="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n  </div>\n  <div id="avatars-container">\n    <template is="dom-repeat" items="[[avatars]]" as="avatar">\n      <yt-img-shadow class="avatar" thumbnail="[[avatar]]"></yt-img-shadow>\n    </template>\n  </div>\n  <div id="action-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===i0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_recognition_shelf_renderer.ytd.recognition.shelf.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #container {display: flex;flex-wrap: wrap;-ms-flex-align: center;-webkit-align-items: center;align-items: center;width: 100%;margin-top: 16px;margin-bottom: 16px;} #text-container {margin-right: 40px;padding: 6px 0;flex-grow: 1;} .title {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #avatars-container {display: flex;margin-right: 24px;padding: 6px 0;} .avatar {border-radius: 50%;width: 36px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} #action-button {padding: 6px 0;} /*# sourceMappingURL=ytd-recognition-shelf-renderer.css.map*/</style>';
i0a=d}d=i0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);j0a=a}a=j0a;return a}}});
var bG=aG;_.S([_.N(),_.T("design:type",Object)],bG.prototype,"data",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],bG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],bG.prototype,"rendererBehavior",void 0);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],bG.prototype,"avatars",null);bG=_.S([_.Q({asyncProperties:!0,is:"ytd-recognition-shelf-renderer"})],bG);
var k0a;
var l0a;
var m0a;
var n0a;
var cG=function(){return _.K.apply(this,arguments)||this};
_.q(cG,_.K);_.f=cG.prototype;_.f.configureRendererStamper=function(){return{visibleItems:{id:"items",mapping:{channelRenderer:"ytd-channel-renderer",playlistRenderer:"ytd-playlist-renderer",radioRenderer:"ytd-radio-renderer",showRenderer:"ytd-show-renderer",videoRenderer:{component:"ytd-video-renderer",properties:{isSearch:"[[isSearch]]"}}}}}};
_.f.computeVisibleItems=function(a,b){return void 0!==a&&a.items?b?a.items.slice(0,this.data.collapsedItemCount):a.items:[]};
_.f.computeHideShowMore=function(a,b,c){return a>=b||!c};
_.f.computeHideShowAll=function(a,b,c){return!(a&&b)||c};
_.f.onMoreClick=function(){this.collapsed=!1};
_.t.Object.defineProperties(cG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===n0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-vertical-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_vertical_list_renderer.ytd.vertical.list.renderer.css.js--\x3e<div id="items"></div>\n<div id="more" hidden="[[hideShowMore]]">\n  <yt-formatted-string text="[[data.collapsedStateButtonText]]" on-tap="onMoreClick">\n  </yt-formatted-string>\n</div>\n<div id="all" hidden="[[hideShowAll]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.expandedStateButtonEndpoint]]" data="[[data.expandedStateButtonEndpoint]]">\n    <yt-formatted-string text="[[data.expandedStateButtonText]]">\n    </yt-formatted-string>\n  </a>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===m0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_vertical_list_renderer.ytd.vertical.list.renderer.css.js--\x3e<style>:host {display: block;padding-bottom: 24px;} :host #items>*:first-child {padding-top: 0;} #items>* {padding-top: 16px;} #more yt-formatted-string,#all yt-formatted-string {color: var(--yt-spec-text-secondary);cursor: pointer;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #more,#all {padding-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-vertical-list-renderer.css.map*/</style>';
m0a=d}d=m0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);n0a=a}a=n0a;return a}}});
var dG=cG;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],dG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],dG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],dG.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],dG.prototype,"isSearch",void 0);_.S([_.N({computed:"computeVisibleItems(data,collapsed)"}),_.T("design:type",Array)],dG.prototype,"visibleItems",void 0);
_.S([_.N({value:!0}),_.T("design:type",Boolean)],dG.prototype,"collapsed",void 0);_.S([_.N({computed:"computeHideShowMore(data.collapsedItemCount,data.items.length,collapsed)"}),_.T("design:type",Boolean)],dG.prototype,"hideShowMore",void 0);_.S([_.N({computed:"computeHideShowAll(data.expandedStateButtonEndpoint,\n        data.expandedStateButtonText,collapsed)",value:!0}),_.T("design:type",Boolean)],dG.prototype,"hideShowAll",void 0);
dG=_.S([_.Q({asyncProperties:!0,is:"ytd-vertical-list-renderer"})],dG);
_.$u("itemSectionRenderer","shelfRenderer","ytd-shelf-renderer");var eG=function(){return _.K.apply(this,arguments)||this};
_.q(eG,_.K);_.f=eG.prototype;
_.f.configureRendererStamper=function(){return{"data.content":{id:"contents",mapping:{gridRenderer:"ytd-grid-renderer",horizontalListRenderer:{component:"yt-horizontal-list-renderer",params:{thumbnailHeight:118}},horizontalMovieListRenderer:{component:"yt-horizontal-list-renderer",params:{thumbnailHeight:302}},expandedShelfContentsRenderer:"ytd-expanded-shelf-contents-renderer",messageRenderer:{component:"ytd-message-renderer",params:{shelf:!0}},verticalListRenderer:{component:"ytd-vertical-list-renderer",properties:{isSearch:"[[isSearch]]"}}}},
"data.playAllButton":{id:"play-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.subscribeButton":{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer"}},"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",attributes:{condensed:!0,icon:"yt-icons:more"}}}},"data.sortFilter":{id:"sort-filter",mapping:{sortFilterSubMenuRenderer:"yt-sort-filter-sub-menu-renderer"}},dismissedRenderer:{id:"dismissed",
mapping:{notificationTextRenderer:"ytd-notification-text-renderer",notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.f.computeThumbnailStyle=function(a){return a||""};
_.f.computePlaceAnnotationUnderTitle=function(a){return"CHANNEL_THUMBNAIL_STYLE_BOXART"===a.thumbnailStyle};
_.f.onDataChange=function(a){a&&a.content&&a.content.horizontalListRenderer&&!a.content.horizontalListRenderer.items&&(a.content.horizontalListRenderer=void 0)};
_.f.onLockupRequested=function(a){if(this.data&&this.data.content&&this.data.content.gridRenderer&&this.data.content.gridRenderer.items&&a.detail&&a.detail.videoIds){for(var b=this.data.content.gridRenderer.items,c=new Set,d=_.k(a.detail.videoIds),e=d.next();!e.done;e=d.next())c.add(e.value);a.detail.returnValue=b.filter(function(h){return h.gridVideoRenderer&&h.gridVideoRenderer.videoId&&c.has(h.gridVideoRenderer.videoId)}).map(function(h){return h.gridVideoRenderer})}};
_.t.Object.defineProperties(eG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===l0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_shelf_renderer.ytd.shelf.renderer.css.js--\x3e<div id="dismissible">\n  <div class="grid-subheader" hidden="[[data.hideHeader]]">\n    <div id="title-container" hidden="[[!data.title]]">\n      <h2>\n        <template is="dom-if" if="[[!data.endpoint]]">\n          <yt-icon id="icon" disable-upgrade$="[[!data.icon.iconType]]" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]">\n          </yt-icon>\n          <span id="title">[[getSimpleString(data.title)]]</span>\n        </template>\n        <template is="dom-if" if="[[data.endpoint]]">\n          <div id="image-container">\n            <a class="yt-simple-endpoint" aria-hidden="true" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]" tabindex="-1" title="[[getSimpleString(data.title)]]">\n              <yt-img-shadow id="avatar" disable-upgrade$="[[!data.thumbnail]]" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]">\n              </yt-img-shadow>\n              <yt-icon id="icon" disable-upgrade$="[[!data.icon.iconType]]" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]">\n              </yt-icon>\n            </a>\n            <div id="title-text">\n              <a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n                <span id="title">[[getSimpleString(data.title)]]</span>\n              </a>\n              <yt-formatted-string id="title-annotation" hidden="[[!computePlaceAnnotationUnderTitle(data)]]" text="[[data.titleAnnotation]]">\n              </yt-formatted-string>\n            </div>\n          </div>\n        </template>\n        <ytd-badge-supported-renderer id="featured-badge" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n        </ytd-badge-supported-renderer>\n        <yt-formatted-string id="title-annotation" hidden="[[computePlaceAnnotationUnderTitle(data)]]" text="[[data.titleAnnotation]]">\n        </yt-formatted-string>\n        <div id="play-button"></div>\n        <div id="sort-filter"></div>\n      </h2>\n      <div id="spacer"></div>\n      <div id="subscribe-button"></div>\n      <div id="menu"></div>\n    </div>\n    <yt-formatted-string id="subtitle" class="can-be-empty" text="[[data.subtitle]]">\n    </yt-formatted-string>\n  </div>\n  <div id="contents"></div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===k0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_shelf_renderer.ytd.shelf.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} :host([enable-fluid-dismiss_][is-dismissed]) #dismissed {display: none;} .grid-subheader {margin-top: 24px;} #title-text {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #contents {margin-top: 24px;} #title-container {color: var(--yt-spec-text-primary);height: 2rem;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title-container a {display: -ms-flexbox;display: -webkit-flex;display: flex;--yt-endpoint-color: var(--yt-spec-text-primary);} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #title-annotation {color: var(--yt-spec-text-secondary);margin-left: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([thumbnail-style=CHANNEL_THUMBNAIL_STYLE_BOXART]) #title-annotation {margin-left: 0px;} yt-sort-filter-sub-menu-renderer {--yt-dropdown-menu-label-text: {color: var(--yt-spec-text-secondary);font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);};margin-left: 28px;} h2 {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #avatar {height: 32px;width: 32px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} :host([thumbnail-style=CHANNEL_THUMBNAIL_STYLE_BOXART]) #avatar {width: 29px;height: 40px;border-radius: 0%;background-color: transparent;overflow: hidden;} #icon {margin-right: 16px;color: var(--yt-spec-icon-inactive);} #featured-badge {margin-left: 8px;} #subtitle {display: block;color: var(--yt-spec-text-secondary);margin-top: 8px;max-width: 615px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #subtitle.can-be-empty:empty {display: none;} #image-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #spacer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #dismissed {padding: 8px;} #dismissed:focus {outline: none;} /*# sourceMappingURL=ytd-shelf-renderer.css.map*/</style>';
k0a=d}d=k0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);l0a=a}a=l0a;return a}}});
var fG=eG;fG.prototype.onLockupRequested=fG.prototype.onLockupRequested;fG.prototype.onDataChange=fG.prototype.onDataChange;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],fG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],fG.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],fG.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.xx),_.T("design:type",Object)],fG.prototype,"ironResizableBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],fG.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],fG.prototype,"isSearch",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_fluid_dismiss")}}),
_.T("design:type",Boolean)],fG.prototype,"enableFluidDismiss",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeThumbnailStyle(data.thumbnailStyle)"}),_.T("design:type",String)],fG.prototype,"thumbnailStyle",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],fG.prototype,"onDataChange",null);
_.S([_.O("yt-lockup-requested"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],fG.prototype,"onLockupRequested",null);fG=_.S([_.Q({asyncProperties:!0,is:"ytd-shelf-renderer"})],fG);
var o0a;
var p0a;
var q0a=function(){return _.K.apply(this,arguments)||this};
_.q(q0a,_.K);
_.t.Object.defineProperties(q0a,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===p0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-eom-settings-disclaimer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_eom_settings_disclaimer_renderer.ytd.eom.settings.disclaimer.renderer.css.js--\x3e<div id="app">\n  <yt-icon id="info" disable-upgrade$="[[!infoIcon]]" hidden="[[!infoIcon]]" icon="[[infoIcon]]">\n  </yt-icon>\n  <yt-formatted-string id="label" text="[[data.disclaimer]]">\n  </yt-formatted-string>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===o0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_eom_settings_disclaimer_renderer.ytd.eom.settings.disclaimer.renderer.css.js--\x3e<style>:host {margin-top: 8px;color: var(--yt-spec-wordmark-text);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #app {padding: 20px 24px;background: var(--yt-spec-suggested-action);border-radius: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #info {min-width: 24px;} #label {margin-left: 16px;} /*# sourceMappingURL=ytd-eom-settings-disclaimer-renderer.css.map*/</style>';
o0a=d}d=o0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);p0a=a}a=p0a;return a}}});
var gG=q0a;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],gG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],gG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],gG.prototype,"data",void 0);_.S([_.N({computed:"computeIcon_(data.infoIcon)"}),_.T("design:type",Object)],gG.prototype,"infoIcon",void 0);gG=_.S([_.Q({asyncProperties:!0,is:"ytd-eom-settings-disclaimer-renderer"})],gG);
var iG=function(){var a=_.vt.apply(this,arguments)||this;a.dragging=!1;a.dragMouseStart=0;a.dragOffsetStart=0;a.containerWidthDiff=0;a.boundPrevClick=function(){a.set("offset",hG(a,a.offset-(a.scrollDistance||320)))};
a.boundNextClick=function(){a.set("offset",hG(a,a.offset+(a.scrollDistance||320)))};
a.boundScrollContainerMouseDown=function(b){a.dragMouseStart=b.clientX;a.dragOffsetStart=a.offset;a.dragging=!0};
a.boundScrollContainerDrag=function(b){a.dragging&&a.set("offset",hG(a,a.dragOffsetStart-(b.clientX-a.dragMouseStart)))};
a.boundMouseUp=function(){a.onMouseUp()};
a.boundWheelScroll=function(b){b.stopPropagation();b.preventDefault();a.offset+=Math.abs(b.deltaX)>Math.abs(b.deltaY)?b.deltaX:b.deltaY};
a.boundChipCloudChipScrollIntoView=function(b){if(b=b.detail){var c=a.$$("#scroll-container");if(c){var d=a.atStart?0:106,e=a.atEnd?0:106;b.offsetLeft<a.offset+d?a.offset=hG(a,b.offsetLeft-d):b.offsetLeft+b.clientWidth>a.offset+c.clientWidth-e&&(a.offset=hG(a,b.offsetLeft+b.clientWidth+e-c.clientWidth))}}};
return a};
_.q(iG,_.vt);
iG.prototype.attached=function(){this.$$("#scroll-container").addEventListener("wheel",this.boundWheelScroll);this.$$("#scroll-container").addEventListener("yt-chip-cloud-chip-scroll-into-view",this.boundChipCloudChipScrollIntoView);_.x("kevlar_scroll_chips_on_touch")?(this.$$("#scroll-container").style.touchAction="pan-y",this.$$("#scroll-container").addEventListener("pointerdown",this.boundScrollContainerMouseDown),this.$$("#scroll-container").addEventListener("pointermove",this.boundScrollContainerDrag),window.addEventListener("pointerup",
this.boundMouseUp)):(this.$$("#scroll-container").addEventListener("mousedown",this.boundScrollContainerMouseDown),this.$$("#scroll-container").addEventListener("mousemove",this.boundScrollContainerDrag),window.addEventListener("mouseup",this.boundMouseUp))};
iG.prototype.detached=function(){this.$$("#scroll-container").removeEventListener("wheel",this.boundWheelScroll);this.$$("#scroll-container").removeEventListener("yt-chip-cloud-chip-scroll-into-view",this.boundChipCloudChipScrollIntoView);_.x("kevlar_scroll_chips_on_touch")?(this.$$("#scroll-container").removeEventListener("pointerdown",this.boundScrollContainerMouseDown),this.$$("#scroll-container").removeEventListener("pointermove",this.boundScrollContainerDrag),window.removeEventListener("pointerup",
this.boundMouseUp)):(this.$$("#scroll-container").removeEventListener("mousedown",this.boundScrollContainerMouseDown),this.$$("#scroll-container").removeEventListener("mousemove",this.boundScrollContainerDrag),window.removeEventListener("mouseup",this.boundMouseUp))};
iG.prototype.reset=function(){this.set("offset",0);_.nt(this,this.setContainerWidthDiff);_.jG(this)};
var hG=function(a,b){return Math.min(Math.max(b,0),a.containerWidthDiff)};
iG.prototype.onMouseUp=function(){this.dragging=!1};
iG.prototype.transformContainer=function(){this.offset=hG(this,this.offset);this.transform("translateX("+("rtl"===_.w("HTML_DIR")?"":"-")+this.offset+"px)",this.$$("#chips"));_.jG(this)};
_.jG=function(a){_.nt(a,a.setButtonsState)};
iG.prototype.setButtonsState=function(){(this.atEnd=this.offset>=this.containerWidthDiff)&&!this.atStart&&(this.offset=hG(this,this.offset));this.atStart=0>=this.offset};
iG.prototype.setContainerWidthDiff=function(){var a=this.$$("#scroll-container"),b=this.$$("#chips");a&&b&&(this.containerWidthDiff=b.clientWidth-a.clientWidth)};
_.kG=iG;_.kG.prototype.transformContainer=_.kG.prototype.transformContainer;_.S([_.N({value:0}),_.T("design:type",Number)],_.kG.prototype,"offset",void 0);_.S([_.N({value:!0,reflectToAttribute:!0}),_.T("design:type",Boolean)],_.kG.prototype,"atStart",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],_.kG.prototype,"atEnd",void 0);_.S([_.N(),_.T("design:type",Number)],_.kG.prototype,"scrollDistance",void 0);
_.S([_.P("offset"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.kG.prototype,"transformContainer",null);_.kG=_.S([_.wt()],_.kG);
var r0a;
var s0a;
var lG=function(){var a=_.K.apply(this,arguments)||this;a.isDarkTheme=!1;a.actionMap={"yt-related-chip-command":"handleRelatedChipCommand","yt-chip-cloud-chip-select-action":"handleChipCloudChipSelectAction","yt-chip-cloud-chip-deselect-action":"handleChipCloudChipDeselectAction","yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(lG,_.K);_.f=lG.prototype;_.f.configureRendererStamper=function(){return{"data.chips":{id:"chips",mapping:{chipCloudChipRenderer:{component:"yt-chip-cloud-chip-renderer"}}},"data.previousButton":{id:"left-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundPrevClick]]"},params:{iconSize:16}}}},"data.nextButton":{id:"right-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundNextClick]]"},params:{iconSize:16}}}}}};
_.f.attached=function(){this.isDarkTheme=document.documentElement.hasAttribute("dark")};
_.f.dataChanged=function(){var a=this.getSelectedIndex();if(0<a)this.selected=a;else{this.selected=0;var b,c;null==(b=this.ytScrollableChipCloudBehavior)||null==(c=b.reset)||c.call(b)}};
_.f.getSelectedIndex=function(){var a;if(null==(a=this.data)||!a.chips)return-1;a=-1;for(var b,c=0;c<(null==(b=this.data)?void 0:b.chips.length);c++){var d=void 0,e=void 0;if(null==(d=this.data)?0:null==(e=d.chips[c].chipCloudChipRenderer)?0:e.isSelected){a=c;break}}return a};
_.f.onResize=function(){var a=this.ytScrollableChipCloudBehavior;_.nt(a,a.setContainerWidthDiff);_.jG(this.ytScrollableChipCloudBehavior)};
_.f.onDarkModeToggledAction=function(a){this.isDarkTheme=a};
_.f.handleRelatedChipCommand=function(a,b){a=this.JSC$38083_chipsSelector.indexOf(b);-1!==a&&this.JSC$38083_chipsSelector.selectIndex(a)};
_.f.handleChipCloudChipSelectAction=function(a){a=this.JSC$38083_chipsSelector.indexOf(a);-1<a&&this.JSC$38083_chipsSelector.selectIndex(a)};
_.f.handleChipCloudChipDeselectAction=function(){var a=this.get("chips.0.chipCloudChipRenderer.navigationEndpoint",this.data);this.JSC$38083_chipsSelector&&((null==a?0:a.continuationCommand)?_.Kg(this,[a]):(null==a?0:a.searchEndpoint)?this.ytComponentBehavior.resolveCommand(a):a&&_.Lg(this,[a],this),this.JSC$38083_chipsSelector.selectIndex(0),this.ytScrollableChipCloudBehavior.reset())};
_.t.Object.defineProperties(lG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===s0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-chip-cloud-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_chip_cloud_renderer.yt.chip.cloud.renderer.css.js--\x3e<div id="container">\n  <div id="left-arrow">\n    <div id="left-arrow-button"></div>\n  </div>\n  <div id="scroll-container">\n    <iron-selector id="chips" activate-event="" role="tablist" selected="{{selected}}" selected-attribute="selected">\n    </iron-selector>\n  </div>\n  <div id="right-arrow">\n    <div id="right-arrow-button"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===r0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_chip_cloud_renderer.yt.chip.cloud.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-general-background-a);} #container {overflow: hidden;position: relative;-ms-flex-align: center;-webkit-align-items: center;-webkit-box-align: center;-moz-box-align: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;} iron-selector {margin-right: 12px;white-space: nowrap;overflow: hidden;display: block;} yt-chip-cloud-chip-renderer {margin: 8px;margin-left: 0;} #scroll-container {white-space: nowrap;overflow: hidden;} #chips {-webkit-transition-duration: 0.15s;transition-duration: 0.15s;-webkit-transition-timing-function: cubic-bezier(0.05,0,0,1);transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;} #left-arrow:after,#right-arrow:before {height: 100%;width: 32px;content: "";pointer-events: none;} #left-arrow:after {background: -webkit-gradient(linear,left top,right top,color-stop(10%,var(--yt-spec-general-background-a)),color-stop(90%,rgba(249,249,249,0)));background: -webkit-linear-gradient(left,var(--yt-spec-general-background-a) 10%,rgba(249,249,249,0) 90%);background: linear-gradient(to right,var(--yt-spec-general-background-a) 10%,rgba(249,249,249,0) 90%);} :host([is-dark-theme]) #left-arrow:after {background: -webkit-gradient(linear,left top,right top,color-stop(10%,var(--yt-spec-general-background-a)),color-stop(90%,rgba(24,24,24,0)));background: -webkit-linear-gradient(left,var(--yt-spec-general-background-a) 10%,rgba(24,24,24,0) 90%);background: linear-gradient(to right,var(--yt-spec-general-background-a) 10%,rgba(24,24,24,0) 90%);} #right-arrow:before {background: -webkit-gradient(linear,right top,left top,color-stop(10%,var(--yt-spec-general-background-a)),color-stop(90%,rgba(249,249,249,0)));background: -webkit-linear-gradient(right,var(--yt-spec-general-background-a) 10%,rgba(249,249,249,0) 90%);background: linear-gradient(to left,var(--yt-spec-general-background-a) 10%,rgba(249,249,249,0) 90%);} :host([is-dark-theme]) #right-arrow:before {background: -webkit-gradient(linear,right top,left top,color-stop(10%,var(--yt-spec-general-background-a)),color-stop(90%,rgba(24,24,24,0)));background: -webkit-linear-gradient(right,var(--yt-spec-general-background-a) 10%,rgba(24,24,24,0) 90%);background: linear-gradient(to left,var(--yt-spec-general-background-a) 10%,rgba(24,24,24,0) 90%);} #left-arrow,#right-arrow {z-index: 200;position: absolute;height: 100%;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-moz-box-orient: horizontal;-moz-box-direction: normal;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;-webkit-box-pack: center;-moz-box-pack: center;justify-content: center;} #left-arrow {left: 0;} #right-arrow {right: 0;} :host([at-start]) #left-arrow,:host([at-end]) #right-arrow {display: none;} #left-arrow-button,#right-arrow-button {background: var(--yt-spec-general-background-a);display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;-webkit-box-pack: center;-moz-box-pack: center;justify-content: center;} ytd-button-renderer {--yt-button-color: var(--yt-spec-icon-active-other);--yt-button-icon-size: 32px;border-radius: 16px;height: 32px;padding: 0 8px;width: 32px;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-align: center;-webkit-align-items: center;-webkit-box-align: center;-moz-box-align: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;-webkit-box-pack: center;-moz-box-pack: center;justify-content: center;} :host(#search-chip-bar) {position: absolute;top: 0;left: 0;right: 0;border-top: 1px solid var(--yt-spec-10-percent-layer);border-bottom: 1px solid var(--yt-spec-10-percent-layer);background-color: var(--yt-spec-brand-background-primary);padding: 4px 0;} :host(#search-chip-bar) #container {width: var(--ytd-search-chips-bar-width,100%);margin: 0 auto;} :host(#search-chip-bar) #left-arrow-button,:host(#search-chip-bar) #right-arrow-button {background: var(--yt-spec-brand-background-primary);} /*# sourceMappingURL=yt-chip-cloud-renderer.css.map*/</style>';
r0a=d}d=r0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);s0a=a}a=s0a;return a}}});
var mG=lG;mG.prototype.onResize=mG.prototype.onResize;mG.prototype.dataChanged=mG.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],mG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],mG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],mG.prototype,"actionHandlerBehavior",void 0);
_.S([_.L(_.xx),_.T("design:type",Object)],mG.prototype,"ironResizableBehavior",void 0);_.S([_.L(),_.T("design:type",_.kG)],mG.prototype,"ytScrollableChipCloudBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],mG.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],mG.prototype,"data",void 0);_.S([_.N({value:0}),_.T("design:type",Number)],mG.prototype,"selected",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],mG.prototype,"isDarkTheme",void 0);_.S([_.N({value:160}),_.T("design:type",Number)],mG.prototype,"scrollDistance",void 0);_.S([_.Z("#chips"),_.T("design:type",Object)],mG.prototype,"JSC$38083_chipsSelector",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],mG.prototype,"dataChanged",null);
_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],mG.prototype,"onResize",null);mG=_.S([_.Q({is:"yt-chip-cloud-renderer"})],mG);
var t0a,u0a=function(){if(void 0!==t0a)return t0a;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>html {--yt-subscription-product-grid-margin: 24px;--yt-subscription-product-grid-margin-two-thirds: 16px;--yt-subscription-product-grid-margin-half: 12px;--yt-subscription-product-grid-margin-one-third: 8px;} /*# sourceMappingURL=yt-paid-memberships-styles_custom_style.css.map*/</style>";return t0a=a};
document.head.appendChild(u0a().content);
var v0a;
var w0a=document.head,x0a=w0a.appendChild,y0a;if(void 0===v0a){var nG=document.createElement("template");nG.innerHTML="";nG.content.insertBefore(u0a().content.cloneNode(!0),nG.content.firstChild);v0a=nG}y0a=v0a;x0a.call(w0a,y0a.content);
_.$u("sharingItemSection","itemSectionRenderer","ytd-item-section-renderer");var oG=function(){var a=_.K.apply(this,arguments)||this;a.continuationShowButton=!1;a.isSearch=!1;a.hasChipsBar=!1;a.actionMap={"yt-item-section-continuation-action":"handleYtItemSectionContinuation","yt-item-section-replace-action":"handleYtItemSectionReplace"};a.nextContinuation={continuationType:"itemSectionContinuation",usePost:!0};return a};
_.q(oG,_.K);_.f=oG.prototype;_.f.getItemsPath=function(){return"data.contents"};
_.f.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"contents","yt-reload-continuation-items-command-body":"contents","yt-reload-continuation-items-command-header":"header"}};
_.f.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{commentsHeaderRenderer:"ytd-comments-header-renderer",sortFilterHeaderRenderer:"ytd-sort-filter-header-renderer",itemSectionHeaderRenderer:"ytd-item-section-header-renderer",backstagePostThreadRenderer:"ytd-backstage-post-thread-renderer",chipCloudRenderer:{component:"yt-chip-cloud-renderer",attributes:{"class":"search"}}}},shownItems:{id:"contents",mapping:{activityItemRenderer:"yt-activity-item-renderer",backgroundPromoRenderer:"ytd-background-promo-renderer",
backstagePostThreadRenderer:"ytd-backstage-post-thread-renderer",buttonRenderer:"ytd-button-renderer",carouselAdRenderer:"ytd-carousel-ad-renderer",cardItemContainerRenderer:{component:"yt-card-item-container-renderer",properties:{compact:"[[engagementPanel]]"}},cardItemRenderer:"yt-card-item-renderer",carouselItemRenderer:"ytd-carousel-item-renderer",channelAboutFullMetadataRenderer:"ytd-channel-about-metadata-renderer",channelFeaturedContentRenderer:"ytd-channel-featured-content-renderer",channelRenderer:"ytd-channel-renderer",
channelSwitcherPageRenderer:"ytd-channel-switcher-page-renderer",channelVideoPlayerRenderer:"ytd-channel-video-player-renderer",chipCloudRenderer:{component:"yt-chip-cloud-renderer",attributes:{id:"search-chip-bar"}},clarificationRenderer:"ytd-clarification-renderer",commentHistoryEntryRenderer:"ytd-comment-history-entry-renderer",commentThreadRenderer:"ytd-comment-thread-renderer",compactMovieRenderer:"ytd-compact-movie-renderer",compactPlaylistRenderer:"ytd-compact-playlist-renderer",compactPromotedItemRenderer:"ytd-compact-promoted-item-renderer",
compactPromotedVideoRenderer:"ytd-compact-promoted-video-renderer",compactTextPromoRenderer:"ytd-compact-text-promo-renderer",compactVideoRenderer:"ytd-compact-video-renderer",compactRadioRenderer:"ytd-compact-radio-renderer",connectedAppRenderer:"ytd-connected-app-renderer",counterfactualRenderer:"ytd-counterfactual-renderer",destinationShelfRenderer:"ytd-destination-shelf-renderer",didYouMeanRenderer:"yt-did-you-mean-renderer",displayAdRenderer:"ytd-display-ad-renderer",emergencyOneboxRenderer:"ytd-emergency-onebox-renderer",
eomSettingsDisclaimerRenderer:"ytd-eom-settings-disclaimer-renderer",exploratoryResultsRenderer:"ytd-exploratory-results-renderer",factCheckRenderer:"ytd-fact-check-renderer",faqSectionRenderer:"yt-faq-section-renderer",feedbackElicitationSingleQuestionRenderer:"ytd-feedback-elicitation-single-question-renderer",feedEntryRenderer:"ytd-feed-entry-renderer",feedNudgeRenderer:"ytd-feed-nudge-renderer",gridRenderer:"ytd-grid-renderer",hashtagTileRenderer:"ytd-hashtag-tile-renderer",horizontalCardListRenderer:{component:"ytd-horizontal-card-list-renderer",
properties:{isSearch:"[[isSearch]]"}},includingResultsForRenderer:"yt-including-results-for-renderer",infoPanelContainerRenderer:"ytd-info-panel-container-renderer",inlineSurveyRenderer:"ytd-inline-survey-renderer",labsEditRenderer:"ytd-labs-edit-renderer",labsHeaderRenderer:"ytd-labs-header-renderer",labsItemRenderer:"ytd-labs-item-renderer",liveChatHistoryEntryRenderer:"ytd-live-chat-history-entry-renderer",messageRenderer:"ytd-message-renderer",movieRenderer:"ytd-movie-renderer",musicPassFeatureInfoRenderer:"yt-music-pass-feature-info-renderer",
newspaperRenderer:"ytd-newspaper-renderer",noResultsFoundShowingResultsForRenderer:"yt-no-results-found-showing-results-for-renderer",notificationRenderer:"ytd-notification-renderer",offerItemExpandedRenderer:"yt-offer-item-expanded-renderer",offerItemRenderer:"yt-offer-item-renderer",offerItemUpsellRenderer:"yt-offer-item-upsell-renderer",playlistRenderer:{component:"ytd-playlist-renderer",properties:{isSearch:"[[isSearch]]"}},pageIntroductionRenderer:"ytd-page-introduction-renderer",playlistShowMetadataRenderer:"ytd-playlist-show-metadata-renderer",
playlistVideoListRenderer:"ytd-playlist-video-list-renderer",premiumBrowseFooterRenderer:"ytd-premium-browse-footer-renderer",productDetailsRenderer:"ytd-product-details-renderer",promotedSparklesTextSearchRenderer:"ytd-promoted-sparkles-text-search-renderer",promotedSparklesWebRenderer:"ytd-promoted-sparkles-web-renderer",purchaseItemRenderer:"ytd-purchase-item-renderer",radioRenderer:"ytd-radio-renderer",recognitionShelfRenderer:"ytd-recognition-shelf-renderer",redCancelSurveyRenderer:"ytd-red-cancel-survey-renderer",
reelShelfRenderer:"ytd-reel-shelf-renderer",resultsWithoutQuotesRenderer:"yt-results-without-quotes-renderer",searchHistoryQueryRenderer:"ytd-search-history-query-renderer",searchNoResultsRenderer:"yt-search-no-results-renderer",searchPyvRenderer:"ytd-search-pyv-renderer",settingsOptionsRenderer:"ytd-settings-options-renderer",shelfRenderer:{component:"ytd-shelf-renderer",properties:{isSearch:"[[isSearch]]"}},showingResultsForRenderer:"yt-showing-results-for-renderer",showRenderer:{component:"ytd-show-renderer",
properties:{isSearch:"[[isSearch]]"}},simpleTextSectionRenderer:"ytd-simple-text-section-renderer",sponsorshipsAlertRenderer:"ytd-sponsorships-alert-renderer",statementBannerRenderer:"ytd-statement-banner-renderer",subscriptionProductHeaderRenderer:"yt-subscription-product-header-renderer",subscriptionProductRenderer:"yt-subscription-product-renderer",subscriptionProductUpsellOfferRenderer:"yt-subscription-product-upsell-offer-renderer",toggleFormFieldRenderer:"yt-toggle-form-field-renderer",unlimitedManageSubscriptionPageRenderer:"yt-unlimited-manage-subscription-page-renderer",
unlimitedPageFeatureInfoRenderer:"ytd-unlimited-page-feature-info-renderer",unlimitedPageHeaderRenderer:"yt-unlimited-page-header-renderer",unlimitedUserNotificationRenderer:"yt-unlimited-user-notification-renderer",videoRenderer:{component:"ytd-video-renderer",properties:{isSearch:"[[isSearch]]"}},webAnswerRenderer:"ytd-web-answer-renderer",ypcOffersListRenderer:"yt-ypc-offers-list-renderer",redeemCodeRenderer:"ytd-redeem-code-renderer",primetimePromoRenderer:"ytd-primetime-promo-renderer",continuationItemRenderer:{component:"ytd-continuation-item-renderer",
properties:{showButton:"[[continuationShowButton]]"}},infoPanelContentRenderer:"ytd-info-panel-content-renderer",errorCorrectionsSectionItemRenderer:"ytd-error-corrections-section-item-renderer",ctaShelfRenderer:"ytd-brandconnect-cta-shelf-card-renderer"}},"data.continuations":{id:"continuations",mapping:{nextContinuationData:{component:"yt-next-continuation",properties:{showButton:"[[showButton]]",disablePrescanVisibility:"[[continuationDisablePrescanVisibility]]"}},reloadContinuationData:{component:"yt-reload-continuation"}},
renderPriority:_.x("kevlar_low_priority_continuation")?0:void 0,usePageScheduler:_.x("kevlar_low_priority_continuation")}}};
_.f.created=function(){this.JSC$38091_cachedViewportHeight_=_.w("initialInnerHeight")||window.innerHeight;_.Ce&&_.x("polymer2_aggressive_batching")&&(this.ytLazyListBehavior.initialCount=20,this.ytLazyListBehavior.minChunkSize=12)};
_.f.onRetrieveLocation=function(a,b){this.containsComments()&&(this.firstCommentsLoaded=b.hasComments=!0)};
_.f.containsComments=function(){return"comment-item-section"===this.get("data.sectionIdentifier")};
_.f.onLoadReloadContinuation=function(a,b){var c=this;a.stopPropagation();this.isReloading=!0;this.fire("yt-retrieve-location",{locationRetrieved:function(d){var e=_.Eg().resolve(_.Eo);d=b(d);e.postData(d).then(function(h){return c.onReloadContinuationData(h)})}})};
_.f.onReloadContinuationData=function(a){if(a=this.get("response.continuationContents.itemSectionContinuation",a)||this.get("response.contents.itemSectionRenderer",a)||this.get("response.continuationContents.sectionListContinuation.contents.0.itemSectionRenderer",a)||this.get("response.continuationContents.relatedChipsContinuation.continuation.watchNextSecondaryResultsRenderer",a))this.set("data.contents",a.contents||a.results),a.header&&this.set("data.header",a.header),this.set("data.continuations",
a.continuations||[]);this.isReloading=!1};
_.f.computeContentsClass=function(a){return a?"reloading":""};
_.f.computeSectionIdentifier=function(a){return null==a?void 0:a.sectionIdentifier};
_.f.computeShowButton=function(){return!!this.firstCommentsLoaded&&this.containsComments()&&_.x("kevlar_disable_comments_auto_load")};
_.f.computeIsReloading=function(){return this.isReloading||this.ytContinuationHandlerBehavior.continuationIsReloading};
_.f.computeHasDestinationShelfRenderer=function(a){var b,c;return!!(null==a?0:null==(b=a.contents)?0:null==(c=b[0])?0:c.destinationShelfRenderer)};
_.f.dataChanged=function(){this.firstCommentsLoaded=!1};
_.f.onYtDismissibleItemDismissedChange=function(a){this._setItemDismissed("yt-dismissible-item-dismissed"===a.type)};
_.f.triggerContinuations=function(){for(var a=this.$.continuations.children,b=0;b<a.length;b++)a[b].trigger()};
_.f.triggerInitialContinuations=function(){for(var a=this.$.continuations.children,b=0;b<a.length;b++)a[b].triggerIfNotPreviouslyTriggered()};
_.f.handleYtItemSectionContinuation=function(a,b){var c;b&&(null==(c=this.data)?void 0:c.sectionIdentifier)!==b||(this.set("data.continuations",[a]),this.triggerContinuations())};
_.f.handleYtItemSectionReplace=function(a,b){var c;b&&(null==(c=this.data)?void 0:c.sectionIdentifier)!==b||(this.set("data.contents",a),this.set("data.continuations",[]))};
_.f.computeUseHeightHack=function(a){return a&&!_.x("kevlar_disable_height_hack")};
_.f.continuationShowButtonChanged=function(){var a=this.$$("ytd-continuation-item-renderer");a&&(a.showButton=this.continuationShowButton)};
_.t.Object.defineProperties(oG.prototype,{nonDeferredItemCount:{configurable:!0,enumerable:!0,get:function(){if(this.isSearchDova)return Math.ceil((this.JSC$38091_cachedViewportHeight_-130)/150)},
set:function(){}}});
_.t.Object.defineProperties(oG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===h0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-item-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_item_section_renderer.ytd.item.section.renderer.css.js--\x3e<div id="header" class$="[[computeContentsClass(isReloading)]]"></div>\n<div id="spinner-container">\n  <tp-yt-paper-spinner-lite active="[[computeIsReloading(isReloading, continuationIsReloading)]]">\n  </tp-yt-paper-spinner-lite>\n</div>\n<div id="contents" class$="[[computeContentsClass(isReloading)]]"></div>\n<div id="continuations"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===g0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_item_section_renderer.ytd.item.section.renderer.css.js--\x3e<style>yt-subscription-product-renderer,yt-subscription-product-upsell-offer-renderer {display: inline-block;box-sizing: border-box;margin: 0 0 var(--yt-subscription-product-grid-margin);vertical-align: top;width: 100%;} @media(min-width:876px) {yt-subscription-product-renderer,yt-subscription-product-upsell-offer-renderer {width: 50%;}yt-subscription-product-renderer:nth-of-type(odd),yt-subscription-product-upsell-offer-renderer:nth-of-type(odd) {padding: 0 var(--yt-subscription-product-grid-margin-half) 0 0;}yt-subscription-product-renderer:nth-of-type(even),yt-subscription-product-upsell-offer-renderer:nth-of-type(even) {padding: 0 0 0 var(--yt-subscription-product-grid-margin-half);}} @media(min-width:1090px) {yt-subscription-product-renderer,yt-subscription-product-upsell-offer-renderer {width: 33.33%;}yt-subscription-product-renderer:nth-of-type(3n+1),yt-subscription-product-upsell-offer-renderer:nth-of-type(3n+1) {padding: 0 var(--yt-subscription-product-grid-margin-two-thirds) 0 0;}yt-subscription-product-renderer:nth-of-type(3n+2),yt-subscription-product-upsell-offer-renderer:nth-of-type(3n+2) {padding: 0 var(--yt-subscription-product-grid-margin-one-third);}yt-subscription-product-renderer:nth-of-type(3n+3),yt-subscription-product-upsell-offer-renderer:nth-of-type(3n+3) {padding: 0 0 0 var(--yt-subscription-product-grid-margin-two-thirds);}} :host {display: block;} ytd-button-renderer,ytd-compact-radio-renderer,ytd-compact-video-renderer,ytd-compact-movie-renderer,ytd-compact-playlist-renderer,ytd-emergency-onebox-renderer,ytd-feed-nudge-renderer,ytd-movie-renderer,ytd-playlist-renderer,ytd-show-renderer,ytd-radio-renderer,yt-search-no-results-renderer,ytd-video-renderer,ytd-channel-renderer,ytd-promoted-sparkles-text-search-renderer,ytd-web-answer-renderer,ytd-clarification-renderer,ytd-fact-check-renderer,ytd-info-panel-container-renderer {margin-top: var(--ytd-item-section-item-margin,16px);} ytd-button-renderer:last-child,ytd-compact-radio-renderer:last-child,ytd-compact-video-renderer:last-child,ytd-compact-movie-renderer:last-child,ytd-compact-playlist-renderer:last-child,ytd-emergency-onebox-renderer:last-child,ytd-movie-renderer:last-child,ytd-playlist-renderer:last-child,ytd-show-renderer:last-child,ytd-radio-renderer:last-child,yt-search-no-results-renderer:last-child,ytd-video-renderer:last-child,ytd-channel-renderer:last-child,ytd-promoted-sparkles-text-search-renderer:last-child,ytd-web-answer-renderer:last-child,ytd-clarification-renderer,ytd-fact-check-renderer,ytd-info-panel-container-renderer {margin-bottom: var(--ytd-item-section-item-margin,16px);} yt-subscription-product-header-renderer {margin: 40px 0 16px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} ytd-exploratory-results-renderer,ytd-horizontal-card-list-renderer:not(:first-child),ytd-reel-shelf-renderer,ytd-shelf-renderer {border-top: 1px solid var(--yt-spec-10-percent-layer);border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin-top: 24px;} ytd-horizontal-card-list-renderer:not(:first-child) {padding: 4px 0 24px;margin-bottom: 24px;} ytd-horizontal-card-list-renderer:first-child {padding-top: 16px;} #contents>ytd-settings-options-renderer:first-child {margin-top: 20px;} #contents>ytd-settings-options-renderer:last-child {margin-bottom: 20px;} #contents>ytd-settings-options-renderer:only-child {margin: 0;} ytd-exploratory-results-renderer+ytd-exploratory-results-renderer,ytd-exploratory-results-renderer+ytd-shelf-renderer,ytd-reel-shelf-renderer+ytd-shelf-renderer,#contents>ytd-exploratory-results-renderer:first-child,#contents>ytd-reel-shelf-renderer:first-child,ytd-shelf-renderer+ytd-exploratory-results-renderer,ytd-shelf-renderer+ytd-horizontal-card-list-renderer,ytd-shelf-renderer+ytd-shelf-renderer,ytd-shelf-renderer+ytd-reel-shelf-renderer,#contents>ytd-shelf-renderer:first-child {border-top: none;margin-top: 0;} #contents>ytd-exploratory-results-renderer:last-child,#contents>ytd-reel-shelf-renderer:last-child,#contents>ytd-shelf-renderer:last-child {border-bottom: none;} #contents>ytd-sponsorships-alert-renderer:before {background: var(--yt-spec-error-background);content: "";position: absolute;left: 0;height: 100%;width: 9999px;top: 0;margin-left: -4999px;} ytd-sponsorships-alert-renderer {position: relative;} #spinner-container {height: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([continuation-is-reloading]) #contents {opacity: 0.25;pointer-events: none;} .reloading {opacity: 0.25;pointer-events: none;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;margin-top: 150px;} yt-next-continuation {text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} yt-next-continuation tp-yt-paper-button[style-target=host] {background-color: var(--yt-spec-10-percent-layer);border: solid 1px transparent;color: var(--yt-spec-text-secondary);width: 100%;margin: 0;} :host([can-show-more][use-height-hack]) {min-height: 7000px;} :host([can-show-more]) #continuations {visibility: hidden;} :host([section-identifier=sponsorships]) {max-width: 852px;} yt-chip-cloud-renderer:first-child+ytd-exploratory-results-renderer,yt-chip-cloud-renderer:first-child+ytd-horizontal-card-list-renderer,yt-chip-cloud-renderer:first-child+ytd-reel-shelf-renderer,yt-chip-cloud-renderer:first-child+ytd-shelf-renderer {border-top: none;margin-top: 0;} /*# sourceMappingURL=ytd-item-section-renderer.css.map*/</style>';
g0a=d}d=g0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);h0a=a}a=h0a;return a}}});
var pG=oG;pG.prototype.continuationShowButtonChanged=pG.prototype.continuationShowButtonChanged;pG.prototype.onYtDismissibleItemDismissedChange=pG.prototype.onYtDismissibleItemDismissedChange;pG.prototype.dataChanged=pG.prototype.dataChanged;pG.prototype.onLoadReloadContinuation=pG.prototype.onLoadReloadContinuation;pG.prototype.onRetrieveLocation=pG.prototype.onRetrieveLocation;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],pG.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],pG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],pG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],pG.prototype,"ytLazyListBehavior",void 0);_.S([_.L(_.AF.YtNextContinuationBehavior),_.T("design:type",Object)],pG.prototype,"ytNextContinuationBehavior",void 0);
_.S([_.L(_.rE),_.T("design:type",Object)],pG.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],pG.prototype,"ytComponentBehavior",void 0);_.S([_.N({notify:!0}),_.T("design:type",Object)],pG.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],pG.prototype,"engagementPanel",void 0);_.S([_.N(),_.T("design:type",Object)],pG.prototype,"continuationShowButton",void 0);
_.S([_.N({value:!0}),_.T("design:type",Boolean)],pG.prototype,"autoFill",void 0);_.S([_.N(),_.T("design:type",Boolean)],pG.prototype,"continuationDisablePrescanVisibility",void 0);_.S([_.N(),_.T("design:type",Boolean)],pG.prototype,"isReloading",void 0);_.S([_.N(),_.T("design:type",Object)],pG.prototype,"isSearch",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],pG.prototype,"hasChipsBar",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeUseHeightHack(isSearch)"}),_.T("design:type",Boolean)],pG.prototype,"useHeightHack",void 0);_.S([_.N({computed:"computeShowButton(data.sectionIdentifier, firstCommentsLoaded)"}),_.T("design:type",Boolean)],pG.prototype,"showButton",void 0);_.S([_.N(),_.T("design:type",Boolean)],pG.prototype,"firstCommentsLoaded",void 0);_.S([_.N(),_.T("design:type",Boolean)],pG.prototype,"isSearchDova",void 0);
_.S([_.N({reflectToAttribute:!0,readOnly:!0}),_.T("design:type",Boolean)],pG.prototype,"itemDismissed",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeSectionIdentifier(data)"}),_.T("design:type",String)],pG.prototype,"sectionIdentifier",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasDestinationShelfRenderer(data)"}),_.T("design:type",Boolean)],pG.prototype,"hasDestinationShelfRenderer",void 0);
_.S([_.O("yt-retrieve-location"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],pG.prototype,"onRetrieveLocation",null);_.S([_.O("yt-load-reload-continuation"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Function]),_.T("design:returntype")],pG.prototype,"onLoadReloadContinuation",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pG.prototype,"dataChanged",null);
_.S([_.O("yt-dismissible-item-dismissed"),_.O("yt-dismissible-item-undismissed"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],pG.prototype,"onYtDismissibleItemDismissedChange",null);_.S([_.P("continuationShowButton"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pG.prototype,"continuationShowButtonChanged",null);pG=_.S([_.Q({is:"ytd-item-section-renderer"})],pG);
var z0a;
var A0a;
var B0a;
var C0a;
var qG=function(){var a=_.K.apply(this,arguments)||this;a.expanded=!0;return a};
_.q(qG,_.K);qG.prototype.getBadgeRowClass=function(a,b,c){for(var d=_.k(this.querySelectorAll("yt-img-shadow")),e=d.next();!e.done;e=d.next())e.value.onShow();a=a.selected;return c?-1!==a?a===b?"badge-line badge-selected":"badge-line badge-not-selected":"badge-line":(void 0!==a?a:0)===b?"badge-line":"badge-hidden"};
_.t.Object.defineProperties(qG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===C0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-loyalty-badges-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_loyalty_badges_renderer.ytd.sponsorships.loyalty.badges.renderer.css.js--\x3e<div class="description-container">\n  <yt-formatted-string class="description" text="[[data.description]]">\n  </yt-formatted-string>\n</div>\n<div class="badge-container">\n  <template is="dom-repeat" items="[[data.loyaltyBadges]]" indexas="index">\n    <div class$="[[getBadgeRowClass(data, index, expanded)]]">\n      <div class="badge-title-container">\n        <yt-formatted-string class="badge-title" text="[[item.sponsorshipsLoyaltyBadgeRenderer.title]]">\n        </yt-formatted-string>\n      </div>\n      <div class="icon-container">\n        <yt-img-shadow class="badge-icon" thumbnail="[[item.sponsorshipsLoyaltyBadgeRenderer.icon]]">\n        </yt-img-shadow>\n      </div>\n    </div>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===B0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_loyalty_badges_renderer.ytd.sponsorships.loyalty.badges.renderer.css.js--\x3e<style>:host {display: block;} .description-container {padding-left: 8px;} .description {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .badge-container {display: inline-block;} .badge-line {align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .badge-selected {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 4px;} .badge-not-selected {opacity: 0.8;} .badge-hidden {display: none;} .icon-container {padding: 8px 8px;margin-left: auto;vertical-align: middle;display: block;} .badge-icon {height: 18px;width: 18px;vertical-align: middle;border-radius: 50%;background-color: transparent;overflow: hidden;} .badge-title-container {padding: 8px 8px;display: flex;flex-direction: column;} .badge-title {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-sponsorships-loyalty-badges-renderer.css.map*/</style>';
B0a=d}d=B0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);C0a=a}a=C0a;return a}}});
var rG=qG;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],rG.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],rG.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],rG.prototype,"expanded",void 0);rG=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-loyalty-badges-renderer"})],rG);
var sG=function(){return _.K.apply(this,arguments)||this};
_.q(sG,_.K);_.f=sG.prototype;_.f.onDataChanged=function(){this.data&&this.data.expandableItems?this.$$("tp-yt-paper-button").setAttribute("role","button"):this.$$("tp-yt-paper-button").removeAttribute("role")};
_.f.onToggleExpand=function(){this.data&&this.data.expandableItems&&this.set("expanded",!this.get("expanded"))};
_.f.getExpansionIcon=function(a){return a?"yt-icons:arrow_drop_up":"yt-icons:arrow_drop_down"};
_.f.getTileClasses=function(a){return a?"tile expandable-tile":"tile"};
_.f.getButtonDisabled=function(a){return a?void 0:""};
_.t.Object.defineProperties(sG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===A0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-list-tile-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_list_tile_renderer.ytd.sponsorships.list.tile.renderer.css.js--\x3e<tp-yt-paper-button id="tile" class="tile" class$="[[getTileClasses(data.expandableItems)]]" disabled$="[[getButtonDisabled(data.expandableItems)]]" noink="" on-tap="onToggleExpand">\n  <yt-img-shadow class="icon" thumbnail="[[data.icon]]"></yt-img-shadow>\n  <div class="titles">\n    <yt-formatted-string class="title" text="[[data.title]]"></yt-formatted-string>\n    <yt-formatted-string class="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n    <yt-formatted-string class="detail" text="[[data.detail]]"></yt-formatted-string>\n  </div>\n  <template is="dom-if" if="[[data.expandableItems]]">\n    <yt-icon class="expand-icon" icon="[[getExpansionIcon(expanded)]]"></yt-icon>\n  </template>\n</tp-yt-paper-button>\n\n<template is="dom-if" if="[[expanded]]">\n  <div class="tiles-container">\n    <template is="dom-repeat" items="[[data.expandableItems]]">\n      <template is="dom-if" if="[[item.sponsorshipsLoyaltyBadgesRenderer]]">\n        <ytd-sponsorships-loyalty-badges-renderer class="sponsorships-loyalty-badges-renderer" data="[[item.sponsorshipsLoyaltyBadgesRenderer]]"></ytd-sponsorships-loyalty-badges-renderer>\n      </template>\n      <template is="dom-if" if="[[item.sponsorshipsListTileRenderer]]">\n        <div class="tile">\n          <yt-img-shadow class="icon" thumbnail="[[item.sponsorshipsListTileRenderer.icon]]">\n          </yt-img-shadow>\n          <div class="titles">\n            <yt-formatted-string class="title" text="[[item.sponsorshipsListTileRenderer.title]]">\n            </yt-formatted-string>\n            <yt-formatted-string class="subtitle" text="[[item.sponsorshipsListTileRenderer.subtitle]]">\n            </yt-formatted-string>\n          </div>\n        </div>\n      </template>\n    </template>\n  </div>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===z0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_list_tile_renderer.ytd.sponsorships.list.tile.renderer.css.js--\x3e<style>:host {display: block;} .tile {align-items: center;margin-left: -8px;padding: 12px 8px 8px 8px;margin-right: -8px;background: transparent;border: none;text-align: left;text-transform: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .keyboard-focus {background-color: transparent;} .expandable-tile {cursor: pointer;} .sponsorships-loyalty-badges-renderer {margin-left: 40px;} .icon {align-self: start;margin-right: 24px;width: 24px;-ms-flex: none;-webkit-flex: none;flex: none;} .titles {display: flex;flex-direction: column;flex: 1;pointer-events: all;} .title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .detail {color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;padding-top: 4px;} .expand-icon {width: 20px;margin-right: 4px;color: var(--yt-spec-text-secondary);-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-sponsorships-list-tile-renderer.css.map*/</style>';
z0a=d}d=z0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);A0a=a}a=A0a;return a}}});
var tG=sG;tG.prototype.onDataChanged=tG.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],tG.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],tG.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],tG.prototype,"expanded",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],tG.prototype,"onDataChanged",null);
tG=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-list-tile-renderer"})],tG);
var D0a;
var E0a;
var F0a;
var G0a;
var uG=function(){var a=_.K.apply(this,arguments)||this;a.expanded=!0;return a};
_.q(uG,_.K);uG.prototype.getContainerClasses=function(a,b){a=a?"expanded":"collapsed";b&&(a+=" item");return a};
_.t.Object.defineProperties(uG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===G0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-perk-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_perk_renderer.ytd.sponsorships.perk.renderer.css.js--\x3e<div id="container" class$="[[getContainerClasses(expanded, data.title)]]">\n  <div><yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string></div>\n  <div id="expandable" hidden$="[[!expanded]]">\n    <template is="dom-if" if="[[data.description]]">\n      <div><yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string></div>\n    </template>\n    <template is="dom-if" if="[[data.fulfillmentInstructions]]">\n      <div id="fulfillment-instructions"><yt-formatted-string split-lines="1" text="[[data.fulfillmentInstructions]]"></yt-formatted-string></div>\n    </template>\n  </div>\n  <template is="dom-if" if="[[data.loyaltyBadges]]">\n    <ytd-sponsorships-loyalty-badges-renderer data="[[data.loyaltyBadges.sponsorshipsLoyaltyBadgesRenderer]]" expanded="[[expanded]]"></ytd-sponsorships-loyalty-badges-renderer>\n  </template>\n  <template is="dom-if" if="[[!data.loyaltyBadges]]">\n    <div id="images-line">\n      <yt-formatted-string id="image-description" text="[[data.imageDescription]]"></yt-formatted-string>\n      <template is="dom-if" if="[[data.images]]">\n        <template is="dom-repeat" items="[[data.images]]" as="image">\n          <yt-img-shadow class="images" thumbnail="[[image]]"></yt-img-shadow>\n        </template>\n      </template>\n    </div>\n  </template>\n  <template is="dom-if" if="[[data.loyaltyMessage]]">\n    <yt-live-chat-membership-item-renderer data="[[data.loyaltyMessage.liveChatMembershipItemRenderer]]" expanded="[[expanded]]"></yt-live-chat-membership-item-renderer>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===F0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_perk_renderer.ytd.sponsorships.perk.renderer.css.js--\x3e<style>:host {display: inline-block;} #title,#description,#fulfillment-instructions {margin-bottom: 8px;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;color: var(--yt-spec-text-primary);} #description,#fulfillment-instructions {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);} #fulfillment-instructions {margin-top: 16px;} #image-description {vertical-align: middle;color: var(--yt-spec-text-secondary);padding-right: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .images-line {margin-bottom: 4px;margin-top: 2px;} .images {vertical-align: middle;width: 32px;height: 32px;padding-right: 2px;padding-bottom: -4px;} /*# sourceMappingURL=ytd-sponsorships-perk-renderer.css.map*/</style>';
F0a=d}d=F0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);G0a=a}a=G0a;return a}}});
var vG=uG;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],vG.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],vG.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],vG.prototype,"expanded",void 0);vG=_.S([_.Q({is:"ytd-sponsorships-perk-renderer"})],vG);
var H0a;
var I0a;
var J0a=function(){var a=_.K.apply(this,arguments)||this;a.expanded=!0;return a};
_.q(J0a,_.K);
_.t.Object.defineProperties(J0a,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===I0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-perks-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_perks_renderer.ytd.sponsorships.perks.renderer.css.js--\x3e<yt-formatted-string id="perks-title" hidden="[[!data.perksTitle]]" text="[[data.perksTitle]]">\n</yt-formatted-string>\n<template is="dom-repeat" items="[[data.perks]]">\n  <div class="item">\n    <ytd-sponsorships-perk-renderer data="[[item.sponsorshipsPerkRenderer]]" expanded="[[expanded]]">\n    </ytd-sponsorships-perk-renderer>\n  </div>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===H0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_perks_renderer.ytd.sponsorships.perks.renderer.css.js--\x3e<style>:host {display: block;} .item {padding: 8px 0;} ytd-sponsorships-perk-renderer {display: inline;} #perks-title {display: block;padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-sponsorships-perks-renderer.css.map*/</style>';
H0a=d}d=H0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);I0a=a}a=I0a;return a}}});
var wG=J0a;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],wG.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],wG.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],wG.prototype,"expanded",void 0);wG=_.S([_.Q({is:"ytd-sponsorships-perks-renderer"})],wG);
var xG=function(){return _.K.apply(this,arguments)||this};
_.q(xG,_.K);_.f=xG.prototype;_.f.configureRendererStamper=function(){return{"data.expandableItems":{id:"content-container",mapping:{sponsorshipsPerksRenderer:{component:"ytd-sponsorships-perks-renderer"},sponsorshipsTierRenderer:{component:"ytd-sponsorships-tier-renderer"}}}}};
_.f.getExpansionIcon=function(a){return a?"yt-icons:arrow_drop_up":"yt-icons:arrow_drop_down"};
_.f.onToggleExpand=function(){this.data.expandableItems&&this.set("expanded",!this.get("expanded"))};
_.f.computeMessageContainerStyle=function(a){var b=a.expandableItems?" style-clickable":"";return a.messageContainerStyle?a.messageContainerStyle.split("MESSAGE_CONTAINER_")[1].replace(/_/g,"-").toLowerCase()+b:"style-unspecified"+b};
_.f.isSinglePerk=function(a){return!!a.messageContainerStyle&&("MESSAGE_CONTAINER_STYLE_SINGLE_PERK"===a.messageContainerStyle||"MESSAGE_CONTAINER_STYLE_SINGLE_PERK_FIRST"===a.messageContainerStyle)};
_.f.onExpandedChanged=function(){var a=this;if(this.expanded)for(var b=_.k(this.querySelectorAll("yt-img-shadow")),c=b.next();!c.done;c=b.next())c.value.onShow();_.nt(this,function(){a.fire("yt-refit")})};
_.f.onDataChanged=function(){this.get("data.startExpanded")&&(this.expanded=!0)};
_.t.Object.defineProperties(xG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===E0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-expandable-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_expandable_message_renderer.ytd.sponsorships.expandable.message.renderer.css.js--\x3e<div class$="[[computeMessageContainerStyle(data)]]">\n  <button id="message-container" on-tap="onToggleExpand">\n    <template is="dom-if" if="[[isSinglePerk(data)]]">\n      <yt-icon id="check-icon" icon="yt-icons:check"></yt-icon>\n    </template>\n    <yt-formatted-string class="text" text="[[data.text]]"></yt-formatted-string>\n    <template is="dom-if" if="[[data.expandableItems]]">\n      <yt-icon id="expand-icon" icon="[[getExpansionIcon(expanded)]]"></yt-icon>\n    </template>\n  </button>\n  <div id="content-container" hidden="[[!expanded]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===D0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_expandable_message_renderer.ytd.sponsorships.expandable.message.renderer.css.js--\x3e<style>:host {display: block;} :host #message-container {width: 100%;border: none;display: flex;text-align: left;} #message-container .text {flex-grow: 1;margin: auto 0;font-family: roboto;} #expand-icon {color: var(--yt-spec-text-secondary);width: 20px;height: 20px;flex-grow: 0;flex-shrink: 0;} #check-icon {color: var(--yt-spec-icon-disabled);width: 26px;height: 26px;padding-right: 12px;flex-grow: 0;flex-shrink: 0;} :host .style-tier-upgrade {display: block;margin-bottom: 8px;} .style-tier-upgrade .text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .style-tier-upgrade #message-container {background-color: var(--yt-spec-general-background-a);padding: 16px 12px 16px 12px;} .style-tier-upgrade #content-container {background-color: var(--yt-spec-general-background-a);padding: 20px 20px 20px 20px;} .style-included-perks .text,.style-unspecified .text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .style-included-perks #message-container,.style-unspecified #message-container {padding: 8px 0 8px 0;} .style-included-perks #message-container:focus,.style-unspecified #message-container:focus {background-color: transparent;} .style-included-perks #content-container,.style-unspecified #content-container {padding: 8px 0 8px 0;} div.style-single-perk,div.style-single-perk-first {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} div.style-single-perk-first {border-top: 1px solid var(--yt-spec-10-percent-layer);} .style-single-perk .text,.style-single-perk-first .text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .style-single-perk #message-container,.style-single-perk-first #message-container {align-items: center;padding: 20px 12px 20px 12px;} .style-single-perk #content-container,.style-single-perk-first #content-container {padding: 8px 40px 8px 40px;} #message-container {outline: none;} .style-clickable #message-container {cursor: pointer;} :not(:focus) {background: none;} :focus {background-color: transparent;} /*# sourceMappingURL=ytd-sponsorships-expandable-message-renderer.css.map*/</style>';
D0a=d}d=D0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);E0a=a}a=E0a;return a}}});
var yG=xG;yG.prototype.onDataChanged=yG.prototype.onDataChanged;yG.prototype.onExpandedChanged=yG.prototype.onExpandedChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],yG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],yG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],yG.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],yG.prototype,"expanded",void 0);
_.S([_.P("expanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yG.prototype,"onExpandedChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yG.prototype,"onDataChanged",null);yG=_.S([_.Q({is:"ytd-sponsorships-expandable-message-renderer"})],yG);
var K0a;
var L0a;
var zG=function(){return _.K.apply(this,arguments)||this};
_.q(zG,_.K);zG.prototype.configureRendererStamper=function(){return{"data.redeemButton":{id:"redeem-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}}}};
_.t.Object.defineProperties(zG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===L0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-promotion-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_promotion_renderer.ytd.sponsorships.promotion.renderer.css.js--\x3e<div id="content">\n  <div id="above-button">\n    <yt-formatted-string class="above-redeem-button-text" text="[[data.aboveRedeemButtonText]]"></yt-formatted-string>\n    <ytd-badge-supported-renderer top-standalone-badge="[[data.badge]]">\n    </ytd-badge-supported-renderer>\n  </div>\n  <div id="redeem-button"></div>\n  <yt-formatted-string class="redeem-disclaimer" split-lines="true" text="[[data.redeemDisclaimer]]"></yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===K0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_promotion_renderer.ytd.sponsorships.promotion.renderer.css.js--\x3e<style>:host {display: inline-block;} .above-redeem-button-text {color: var(--yt-spec-text-primary);margin-right: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .redeem-disclaimer {color: var(--yt-spec-text-secondary);margin-bottom: 4px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #redeem-button {margin: 8px 0;} #content {margin: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #above-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-sponsorships-promotion-renderer.css.map*/</style>';
K0a=d}d=K0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);L0a=a}a=L0a;return a}}});
var AG=zG;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],AG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AG.prototype,"data",void 0);AG=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-promotion-renderer"})],AG);
var M0a;
var N0a;
var BG=function(){return _.K.apply(this,arguments)||this};
_.q(BG,_.K);BG.prototype.configureRendererStamper=function(){return{"data.button":{id:"purchase-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}}}};
_.t.Object.defineProperties(BG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===N0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-purchase-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_purchase_option_renderer.ytd.sponsorships.purchase.option.renderer.css.js--\x3e<div id="content">\n  <div id="purchase-info">\n    <div id="header">\n      <yt-formatted-string class="purchase-text" text="[[data.text]]"></yt-formatted-string>\n      <ytd-badge-supported-renderer top-standalone-badge="[[data.badge]]">\n      </ytd-badge-supported-renderer>\n    </div>\n    <yt-formatted-string class="disclaimer" split-lines="true" text="[[data.disclaimer]]"></yt-formatted-string>\n  </div>\n  <div id="purchase-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===M0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_purchase_option_renderer.ytd.sponsorships.purchase.option.renderer.css.js--\x3e<style>:host {display: block;} .purchase-text {color: var(--yt-spec-text-primary);margin-right: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .disclaimer {color: var(--yt-spec-text-secondary);margin-bottom: 4px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #purchase-button {margin-left: 16px;} #content {justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #purchase-info {flex-basis: 0;flex-grow: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;flex-wrap: wrap;} /*# sourceMappingURL=ytd-sponsorships-purchase-option-renderer.css.map*/</style>';
M0a=d}d=M0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);N0a=a}a=N0a;return a}}});
var CG=BG;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],CG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],CG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],CG.prototype,"data",void 0);CG=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-purchase-option-renderer"})],CG);
var O0a;
var P0a;
var DG=function(){return _.K.apply(this,arguments)||this};
_.q(DG,_.K);_.f=DG.prototype;
_.f.configureRendererStamper=function(){return{"data.purchaseButton":{id:"purchase-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}},"data.expandableMessage":{id:"expandable-message",mapping:{sponsorshipsExpandableMessageRenderer:{component:"ytd-sponsorships-expandable-message-renderer"}}},"data.premiumFreebiePromo":{id:"premium-freebie-promo",mapping:{sponsorshipsPromotionRenderer:{component:"ytd-sponsorships-promotion-renderer"}}},"data.purchaseOption":{id:"purchase-option",mapping:{sponsorshipsPurchaseOptionRenderer:{component:"ytd-sponsorships-purchase-option-renderer"}}},
"data.alternativePurchaseOption":{id:"alternative-purchase-option",mapping:{sponsorshipsPurchaseOptionRenderer:{component:"ytd-sponsorships-purchase-option-renderer"}}}}};
_.f.expansionCTA=function(a,b){return a&&(b?a.collapseCallToAction:a.expansionCallToAction)};
_.f.getExpansionIcon=function(a){return a?"arrow_drop_up":"arrow_drop_down"};
_.f.expansionCallToActionTap=function(){var a=this;this.expanded=!this.expanded;_.nt(this,function(){a.fire("yt-refit")})};
_.f.onDataChanged=function(){this.expanded=!this.get("data.expansionCallToAction");this.purchaseButtonClicked=!1};
_.f.computeDisplayTitle=function(a){return!(!a||"show"!==this.titledisplaystatus)};
_.f.computeDisplaySeparator=function(a){return!!(a&&a.purchaseText&&a.premiumFreebiePromo)};
_.f.onPurchaseButtonTap=function(){this.purchaseButtonClicked=!0};
_.t.Object.defineProperties(DG,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===P0a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-tier-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_tier_renderer.ytd.sponsorships.tier.renderer.css.js--\x3e<div id="title" hidden="[[!displayTitle]]">\n  <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n</div>\n<div id="purchase-with-options" hidden="[[!data.purchaseOption]]">\n  <div id="purchase-option"></div>\n  <div class="separator" hidden="[[!data.alternativePurchaseOption]]"></div>\n  <div id="alternative-purchase-option"></div>\n</div>\n<div id="default-purchase-view" hidden="[[data.purchaseOption]]">\n  <div id="subtitle" hidden="[[!data.abovePurchaseButtonText]]">\n  <yt-formatted-string id="above-purchase-button-text" text="[[data.abovePurchaseButtonText]]"></yt-formatted-string>\n  </div>\n  <div id="premium-freebie-promo"></div>\n  <div class="separator" hidden="[[!displaySeparator]]"></div>\n  <div id="header">\n    <div id="purchase-button" on-tap="onPurchaseButtonTap"></div>\n    \n    <yt-formatted-string id="purchase-text" force-default-style="" hidden="[[!data.purchaseText]]" text="[[data.purchaseText]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="disclaimer" split-lines="true" text="[[data.disclaimer]]">\n    </yt-formatted-string>\n  </div>\n</div>\n<div class="separator" hidden="[[!displaySeparator]]"></div>\n<div id="expandable-message"></div>\n<div id="content">\n  <div id="perks_section">\n    <ytd-sponsorships-perks-renderer id="perks" data="[[data.perks.sponsorshipsPerksRenderer]]" expanded="[[expanded]]"></ytd-sponsorships-perks-renderer>\n  </div>\n  <button id="expansion_call_to_action" on-tap="expansionCallToActionTap" hidden="[[!data.expansionCallToAction]]">\n    <yt-formatted-string text="[[expansionCTA(data, expanded)]]"></yt-formatted-string>\n    <yt-icon class="expand-icon" icon="[[getExpansionIcon(expanded)]]"></yt-icon>\n  </button>\n</div>\n<div id="footer">\n  <yt-formatted-string id="bottom-disclaimer" class="disclaimer" split-lines="true" text="[[data.bottomDisclaimer]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===O0a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_tier_renderer.ytd.sponsorships.tier.renderer.css.js--\x3e<style>:host {display: block;} #above-purchase-button-text {color: var(--yt-spec-text-primary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #purchase-text {color: var(--yt-spec-call-to-action);margin-top: 8px;margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .disclaimer {color: var(--yt-spec-text-secondary);margin: 8px 0;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #bottom-disclaimer {margin-top: 24px;} #expansion_call_to_action {background: transparent;border: none;color: var(--yt-spec-call-to-action);cursor: pointer;font: inherit;margin-top: 8px;outline: none;padding: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #title {color: var(--yt-spec-text-primary);margin-bottom: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #header,#subtitle {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {margin-top: 4px;} #expandable-message ytd-sponsorships-expandable-message-renderer {margin: 8px 0;} .separator {background-color: var(--yt-spec-10-percent-layer);height: 1px;margin: 12px 0 12px 0;} #purchase-with-options {margin-bottom: 16px;} /*# sourceMappingURL=ytd-sponsorships-tier-renderer.css.map*/</style>';
O0a=d}d=O0a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);P0a=a}a=P0a;return a}}});
_.EG=DG;_.EG.prototype.onDataChanged=_.EG.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.EG.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],_.EG.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],_.EG.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],_.EG.prototype,"expanded",void 0);
_.S([_.N({value:!1}),_.T("design:type",Boolean)],_.EG.prototype,"purchaseButtonClicked",void 0);_.S([_.N({reflectToAttribute:!0,value:"show"}),_.T("design:type",String)],_.EG.prototype,"titledisplaystatus",void 0);_.S([_.N({computed:"computeDisplayTitle(data.title)"}),_.T("design:type",Boolean)],_.EG.prototype,"displayTitle",void 0);_.S([_.N({computed:"computeDisplaySeparator(data)"}),_.T("design:type",Boolean)],_.EG.prototype,"displaySeparator",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.EG.prototype,"onDataChanged",null);_.EG=_.S([_.Q({is:"ytd-sponsorships-tier-renderer"})],_.EG);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1b");

for(var m6a=[],hJ=6;1<=hJ;hJ--)m6a.push({columnCount:hJ,query:1==hJ?0:214*hJ-4+32,className:"grid-"+hJ+"-columns",width:214*hJ+"px"});_.iJ=function(a){this.actionRouter_=a=void 0===a?_.Io.getInstance():a;this.documentWidth_=document.body.clientWidth;this.currentSnapState_=_.n6a(this);this.miniGuideVisible_=this.guidePersistentAndVisible_=!1};
_.n6a=function(a){var b=a.miniGuideVisible_?72:0,c=a.documentWidth_-(a.guidePersistentAndVisible_?240:b);return m6a.find(function(d){return c>d.query})};
_.Yi(_.iJ);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syb");


_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy21");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var pzb=function(a,b){return _.Yg(a.entities,"commerceCartCheckoutButtonEntity",b)},zX=function(a,b){if("object"!==typeof a)return null;
a=_.k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.k(c.value);c=d.next().value;d=d.next().value;if(c===b)return c;if(d=zX(d,b))return c+"."+d}return null},AX=function(a){var b=a.content;
return(a=a.styleRuns)&&b?{runs:a.map(function(c){var d={text:b.slice(c.startIndex,c.startIndex+c.length)};c.fontColor&&(d.textColor=c.fontColor);return d})}:{simpleText:b}},qzb=function(a){var b=BX;
_.Iw(b.tagName,a.config,function(c){a.ref&&(a.ref.value=c);if(!c.component){var d=new b(c,a);c.component=d;(d.onDisconnected||0<d.events.getCount("disconnected"))&&CX.push(d);d.events.JSC$32713_publish("connected")}c.component.willReceiveProps&&a!==c.component.props&&c.component.willReceiveProps(a);c.component.props=a;c.data=a;c.component.render()})},DX=function(a){var b="";
a=_.k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.k(c.value);c=d.next().value;(d=d.next().value)&&(b+=c+" ")}return b},rzb=function(a,b,c){a={data:a,
iconMinus:b,iconPlus:c};"Component"===BX.typeKey?qzb(a):"function"===typeof BX&&BX(a)},EX=function(a,b){return a.year===b.year&&a.month===b.month&&a.day===b.day},FX=function(a,b){return a.year!==b.year?a.year<b.year:a.month!==b.month?a.month<b.month:a.day<b.day},GX=function(a){return{year:a.getFullYear(),
month:a.getMonth(),day:a.getDate()}},szb=function(a){var b=_.Yla;
b=void 0===b?_.Yla:b;b(new Date(a.year,a.month,a.day))},HX=function(a){return GX(new Date(1E3*Number(a.seconds)))},IX=function(a){return void 0!==a.year&&void 0!==a.month&&void 0!==a.day},tzb=function(a){return void 0!==a.start&&void 0!==a.end},uzb=function(a){return tzb(a)?a.start:a},vzb=function(a){return tzb(a)?a.end:void 0},xzb=function(a,b){for(var c=[],d=new Date(a.start.year,a.start.month);d.getFullYear()<a.end.year||d.getFullYear()===a.end.year&&d.getMonth()<=a.end.month;){var e=c,h=e.push,
l=d.getFullYear(),m=d.getMonth(),p=a,r=b,v=void 0,z=[],A=Object.freeze({extraCssClass:"invisible"}),D=new Date(l,m),E=GX(D);
D=D.getDay();for(var J=GX(new Date);E.month===m;){D!==wzb&&v||(v=Array.from({length:7}).fill(A),z.push(v));var R={date:{year:l,month:m,day:E.day},extraCssClass:"",debugClass:""};R.extraCssClass=r(R.date,E,J,p).trim();v[(D-wzb+7)%7]=R;E=E.day===_.Ml(E.year,E.month)?11===E.month?{year:E.year+1,month:0,day:1}:{year:E.year,month:E.month+1,day:1}:{year:E.year,month:E.month,day:E.day+1};D=(D+1)%7}h.call(e,{weeks:z,monthLabel:_.Ll.SHORTMONTHS[m]+" "+l,year:l,month:m,monthLabelExtraCssClass:z[0][2]===A?"shift-down-label":
""});d.setMonth(d.getMonth()+1)}return c},yzb=function(a,b){b=b.months.findIndex(function(c){return c.year===a.year&&c.month===a.month});
return 0<=b?b:void 0},zzb=function(a,b){a:{var c=void 0===c?[2,
3]:c;c=_.k(c);for(var d=c.next();!d.done;d=c.next()){var e=new Date;if((new _.ISa(d.value)).parse(b,e,{validate:!0})){e.setHours(0,0,0,0);b=e;break a}}b=null}if(!b)return{isValid:!1,value:void 0};b=GX(b);c=a.end;return FX(b,a.start)||FX(c,b)?{isValid:!1,value:void 0}:{isValid:!0,value:b}},Dzb=function(a){var b=Azb;
b=void 0===b?JX:b;var c=a.columnsToShow||[],d=Bzb(a.columnDimensions,a.columnsToShow,a.leftFloatingColumns,b);return c.map(function(e,h){var l=a.columns[e];if(void 0===l)throw Error("Zg");var m=d?d[h]:_.ou({});var p=a.getCustomTooltip?a.getCustomTooltip(e,l.headerTooltipParagraphs):l.headerTooltipParagraphs;var r=Czb(a,e);return{type:e,index:h,style:m,classes:r,headerName:l.headerName||"",headerIcon:l.headerIcon,headerTooltipParagraphs:p||[],headerTooltipHelpContext:l.headerTooltipHelpContext,sortOrders:l.sortOrders||
[],selectionState:l.isSelectionCheckbox?a.selectionState:void 0}})},Czb=function(a,b){var c=["DEFAULTS",
"FLOATING","RIGHT_ALIGN","SORTING"],d=a.columns[b];if(void 0===d)return"";var e=c.includes("DEFAULTS")&&d.cssClass?[d.cssClass]:[];if(c.includes("SORTING")){d.sortOrders&&d.sortOrders.length&&e.push("sortable");if(a.sorting&&a.sorting.columnType===b)a:switch(a.sorting.sortOrder){case "ASCENDING":case "DESCENDING":var h="column-sorted";break a;default:h=""}else h="";h&&e.push(h)}c.includes("FLOATING")&&(b=a.columnsToShow.indexOf(b),a.leftFloatingColumns&&b<a.leftFloatingColumns&&e.push("floating-column"),
a.leftFloatingColumns&&b===a.leftFloatingColumns-1&&e.push("last-floating-column"));c.includes("RIGHT_ALIGN")&&d.rightAlignHeader&&e.push("right-align");return e.filter(function(l){return l}).join(" ")},Bzb=function(a,b,c,d){c=void 0===c?0:c;
d=void 0===d?JX:d;if(a){var e=[],h=0;Ezb(a,b,d).forEach(function(l,m){var p=_.ou({"min-width":l.minWidth+"px","padding-left":l.paddingLeft+"px","padding-right":l.paddingRight+"px",flex:l.flexGrow+" 0 "+l.minWidth+"px"});Infinity!==l.maxWidth&&(p=Fzb(p,_.ou({"max-width":l.maxWidth+"px"})));0<h&&m<c&&(p=Fzb(p,_.ou({left:h+"px"})));e.push(p);h+=l.minWidth+l.paddingLeft+l.paddingRight});
return e}},Ezb=function(a,b,c){c=void 0===c?JX:c;
return b.map(function(d,e){d=a&&a[d]||{};var h=0===e?c.paddingLeftFirstColumn:c.padding;void 0!==d.paddingLeft&&(h=d.paddingLeft);e=e===b.length-1?c.paddingRightLastColumn:c.padding;void 0!==d.paddingRight&&(e=d.paddingRight);return{paddingLeft:h,paddingRight:e,minWidth:void 0!==d.minWidth?d.minWidth:c.minWidth,maxWidth:void 0!==d.maxWidth?d.maxWidth:c.maxWidth,flexGrow:void 0!==d.flexGrow?d.flexGrow:c.flexGrow}})},Gzb=function(a){var b=a.reduce(function(d,e){var h=e.columnId,l={};
e.headerText&&(l.headerName=_.qi(e.headerText));e.rightAlignHeader&&(l.rightAlignHeader=e.rightAlignHeader);var m;if(null==(m=e.headerIcon)?0:m.iconType)l.headerIcon=_.Ft(e.headerIcon.iconType);d[h]=l;return d},{}),c=a.filter(function(d){return!d.hideColumn}).map(function(d){return d.columnId});
a=a.filter(function(d){return!!d.dimensions}).reduce(function(d,e){d[e.columnId]=e.dimensions;
return d},{});
return{columns:b,columnsToShow:c,columnDimensions:a}},Hzb=function(){var a=_.rh(_.hh.getState().entities);
return a.length?{contents:[{shelfRenderer:{title:_.lh(_.Bg("DOWNLOADS",void 0,"Downloads")),icon:{iconType:"OFFLINE_DOWNLOAD"},content:{gridRenderer:{items:a.map(function(b){return{downloadedVideoGridVideoRenderer:{renderer:{gridVideoRenderer:{videoId:b.videoEntity.videoId,title:_.mh(b.videoEntity.title),shortBylineText:_.mh(b.channelEntity.title),thumbnail:b.videoEntity.thumbnail,menu:{menuRenderer:{items:[{menuServiceItemDownloadRenderer:{serviceEndpoint:{offlineVideoEndpoint:{videoId:b.videoEntity.videoId}}}}],
accessibility:{accessibilityData:{label:_.Bg("VIDEO_ACTION_MENU",void 0,"Action menu")}}}},loggingDirectives:{clientVeSpec:{uiType:42356}}}}}}})}},
menu:{menuRenderer:{topLevelButtons:[{buttonRenderer:{style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:_.lh(_.Bg("DOWNLOADS_SETTINGS",void 0,"Downloads Settings")),loggingDirectives:{clientVeSpec:{uiType:21412}},navigationEndpoint:_.ala("SPaccount_downloads","/account_downloads",6827,"WEB_PAGE_TYPE_SETTINGS")}}]}}}},{messageRenderer:{subtext:{messageSubtextRenderer:{text:_.lh(_.Bg("DOWNLOADS_AVAILABILITY",void 0,"Downloads remain available as long as your device has an active internet connection for 30 days. This process happens automatically and does not re-download the video."))}}}}]}:
{contents:[{backgroundPromoRenderer:{title:_.lh(_.Bg("DO_NOT_HAVE_DOWNLOADS",void 0,"You do not have any downloads")),icon:{iconType:"OFFLINE_NO_CONTENT"},style:{value:"BACKGROUND_PROMO_STYLE_TYPE_FULL_HEIGHT"},loggingDirectives:{clientVeSpec:{uiType:21411}}}}]}},Fzb=function(a){var b="",c=function(d){Array.isArray(d)?d.forEach(c):b+=_.Hoa(d)};
Array.prototype.forEach.call(arguments,c);return b?new _.wj(b,_.vj):_.Ioa},Izb=_.Pi(["\n    <style>\n      :host {\n        display: block;\n        transition-duration: var(--iron-collapse-transition-duration, 300ms);\n        /* Safari 10 needs this property prefixed to correctly apply the custom property */\n        -webkit-transition-duration: var(--iron-collapse-transition-duration, 300ms);\n        overflow: visible;\n      }\n\n      :host(.iron-collapse-closed) {\n        display: none;\n      }\n\n      :host(:not(.iron-collapse-opened)) {\n        overflow: hidden;\n      }\n    </style>\n\n    <slot></slot>\n"]);
_.Ng({_template:_.Vm(Izb),is:"iron-collapse",behaviors:[_.xx],properties:{horizontal:{type:Boolean,value:!1,observer:"_horizontalChanged"},opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},transitioning:{type:Boolean,notify:!0,readOnly:!0},noAnimation:{type:Boolean},_desiredSize:{type:String,value:""}},get dimension(){return this.horizontal?"width":"height"},get _dimensionMax(){return this.horizontal?"maxWidth":"maxHeight"},get _dimensionMaxCss(){return this.horizontal?"max-width":
"max-height"},hostAttributes:{role:"group","aria-hidden":"true"},listeners:{transitionend:"_onTransitionEnd"},toggle:function(){this.opened=!this.opened},
show:function(){this.opened=!0},
hide:function(){this.opened=!1},
updateSize:function(a,b){a="auto"===a?"":a;b=b&&!this.noAnimation&&this.isAttached&&this._desiredSize!==a;this._desiredSize=a;this._updateTransition(!1);b&&(b=this._calcSize(),""===a&&(this.style[this._dimensionMax]="",a=this._calcSize()),this.style[this._dimensionMax]=b,this.scrollTop=this.scrollTop,this._updateTransition(!0),b=a!==b);this.style[this._dimensionMax]=a;b||this._transitionEnd()},
enableTransition:function(a){_.An._warn("`enableTransition()` is deprecated, use `noAnimation` instead.");this.noAnimation=!a},
_updateTransition:function(a){this.style.transitionDuration=a&&!this.noAnimation?"":"0s"},
_horizontalChanged:function(){this.style.transitionProperty=this._dimensionMaxCss;this.style["maxWidth"===this._dimensionMax?"maxHeight":"maxWidth"]="";this.updateSize(this.opened?"auto":"0px",!1)},
_openedChanged:function(){this.setAttribute("aria-hidden",!this.opened);this._setTransitioning(!0);this.toggleClass("iron-collapse-closed",!1);this.toggleClass("iron-collapse-opened",!1);this.updateSize(this.opened?"auto":"0px",!0);this.opened&&this.focus()},
_transitionEnd:function(){this.style[this._dimensionMax]=this._desiredSize;this.toggleClass("iron-collapse-closed",!this.opened);this.toggleClass("iron-collapse-opened",this.opened);this._updateTransition(!1);this.notifyResize();this._setTransitioning(!1)},
_onTransitionEnd:function(a){_.H(a).rootTarget===this&&this._transitionEnd()},
_calcSize:function(){return this.getBoundingClientRect()[this.dimension]+"px"}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var Jzb;
var Kzb;
var KX=function(){var a=_.K.apply(this,arguments)||this;a.JSC$41043_spinnerEl=null;a.replyPageSize=50;a.nextContinuation={continuationType:"commentRepliesContinuation",usePost:!0};return a};
_.q(KX,_.K);_.f=KX.prototype;_.f.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"contents","yt-reload-continuation-items-command-body":"contents"}};
_.f.configureRendererStamper=function(){return{"data.continuations":{id:"continuation",mapping:{nextContinuationData:{component:"yt-next-continuation",params:{showButton:!0,showIcon:!0}}}},"data.teaserContents":{id:"teaser-replies",mapping:{commentRenderer:{component:"ytd-comment-renderer",params:{isReply:!0}}}},"data.contents":{id:"contents",mapping:{commentRenderer:{component:"ytd-comment-renderer",params:{isReply:!0}},continuationItemRenderer:{component:"ytd-continuation-item-renderer",params:{showButton:!0}}}}}};
_.f.attached=function(){this.isShowRepliesVisible=!0};
_.f.created=function(){this.domRepeatInitialCount=10};
_.f.dataChanged=function(){var a=this.expanderContents;a&&(a.hidden=!0);this.isLoading=!1};
_.f.onContentsDomChange=function(){this.domRepeatInitialCount=this.root.querySelectorAll("ytd-comment-renderer").length;this.fakeContinuation&&(this.allRepliesVisible=void 0===this.root.querySelector("ytd-comment-renderer[hidden]"))};
_.f.onRetrieveLocation=function(a,b){b.locationRetrieved("/comment_service_ajax?action_get_comment_replies=1&pbj=1",void 0);a.stopPropagation()};
_.f.triggerFirstContinuation=function(){this.data.contents||this.continuation&&this.continuation.trigger();this.continuationItemRenderer&&!this.continuationItemRenderer.buttonRenderer&&(this.continuationItemRenderer.showButton=!1)};
_.f.isLoadingChanged=function(){this.isLoading&&!this.JSC$41043_spinnerEl&&(this.JSC$41043_spinnerEl=document.createElement("tp-yt-paper-spinner-lite"),_.H(this.expanderContents).appendChild(this.JSC$41043_spinnerEl));this.JSC$41043_spinnerEl&&(this.JSC$41043_spinnerEl.active=this.isLoading);this.isLoading?this.contents.classList.add("reloading"):this.contents.classList.remove("reloading")};
_.f.handleIsShowMoreTap=function(){this.isShowRepliesVisible=!1;this.triggerFirstContinuation();var a=this.data.viewReplies.buttonRenderer;a&&this.ytRendererBehavior.logExplicitClick(a)};
_.f.handleIsShowLessTap=function(){this.isShowRepliesVisible=!0;var a=this.data.hideReplies.buttonRenderer;a&&this.ytRendererBehavior.logExplicitClick(a)};
_.f.isShowMoreChanged=function(a){this.$["expander-contents"].hidden=a};
_.f.handleContinuationTap=function(){if(this.fakeContinuation){this.ytRendererBehavior.logExplicitClick(this.fakeContinuation);var a=[].concat(_.sc(this.root.querySelectorAll("ytd-comment-renderer:not([hidden])")));a=a[a.length-1];for(var b=a.nextElementSibling;b&&!(b.tagName===a.tagName&&b.data.threadNestingLevel<=a.data.threadNestingLevel);)b=b.nextElementSibling;for(var c=0;b&&c<this.replyPageSize;)b.tagName===a.tagName&&3>=b.data.threadNestingLevel&&(b.hidden=!1,c+=1),b=b.nextElementSibling;this.allRepliesVisible=
!b}};
_.t.Object.defineProperties(KX.prototype,{hasContinuation:{configurable:!0,enumerable:!0,get:function(){var a,b=null==(a=this.data)?void 0:a.contents,c;return!(null==(c=this.data)||!c.continuations)||!!b&&0<b.length&&!!b[b.length-1].continuationItemRenderer}},
fakeContinuation:{configurable:!0,enumerable:!0,get:function(){return this.get("data.fakeContinuation.nextContinuationData")}}});
_.t.Object.defineProperties(KX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Kzb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-replies-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_replies_renderer.ytd.comment.replies.renderer.css.js--\x3e<div id="expander" hidden="[[!hasContinuation]]">\n  <div class="expander-header" teaser$="[[data.viewRepliesCreatorThumbnail]]">\n    <template is="dom-if" if="[[data.viewRepliesIcon]]">\n      <ytd-button-renderer id="more-replies-icon" class="more-button" aria-expanded="false" data="[[data.viewRepliesIcon.buttonRenderer]]" hidden="[[!isShowRepliesVisible]]" noink="" on-click="handleIsShowMoreTap">\n      </ytd-button-renderer>\n    </template>\n    <template is="dom-if" if="[[data.hideRepliesIcon]]">\n      <ytd-button-renderer id="less-replies-icon" class="less-button" aria-expanded="true" data="[[data.hideRepliesIcon.buttonRenderer]]" hidden="[[isShowRepliesVisible]]" noink="" on-click="handleIsShowLessTap">\n      </ytd-button-renderer>\n    </template>\n    <template is="dom-if" if="[[data.viewRepliesCreatorThumbnail]]">\n      <div id="creator-thumbnail" class="creator-thumbnail">\n        <a class="yt-simple-endpoint" href$="[[computeHref_(data.viewRepliesCreatorEndpoint)]]" data="[[data.viewRepliesCreatorEndpoint]]">\n          <yt-img-shadow fit="" height="24" thumbnail="[[data.viewRepliesCreatorThumbnail]]" width="24">\n          </yt-img-shadow>\n        </a>\n      </div>\n      <span class="dot">\u00b7</span>\n    </template>\n    <ytd-button-renderer id="more-replies" class="more-button" aria-expanded="false" data="[[data.viewReplies.buttonRenderer]]" hidden="[[!isShowRepliesVisible]]" noink="" on-click="handleIsShowMoreTap">\n    </ytd-button-renderer>\n    <ytd-button-renderer id="less-replies" class="less-button" aria-expanded="true" data="[[data.hideReplies.buttonRenderer]]" hidden="[[isShowRepliesVisible]]" noink="" on-click="handleIsShowLessTap">\n    </ytd-button-renderer>\n  </div>\n  <div id="expander-contents">\n    <div id="contents"></div>\n    <div class="cont-button" id="continuation"></div>\n    <yt-next-continuation id="fake-continuation" class="cont-button" data="[[data.fakeContinuation.nextContinuationData]]" hidden="[[allRepliesVisible]]" show-button="true" show-icon="true" on-click="handleContinuationTap">\n    </yt-next-continuation>\n  </div>\n</div>\n<div hidden="[[!isShowRepliesVisible]]" id="teaser-replies"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Jzb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_replies_renderer.ytd.comment.replies.renderer.css.js--\x3e<style>:host {--yt-next-continuation-button-margin-left: -8px;display: block;margin-left: 56px;} :host #creator-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;display: inline-block;} :host #creator-thumbnail yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;width: 24px;height: 24px;} :host #less-replies,:host #more-replies {--yt-button-padding: 2px 0 10px 0;--yt-button-padding-minus-focus-outline-width: 2px;--yt-button-icon-padding: 0;--yt-button-padding-minus-focus-outline: 0 0 8px 0;text-transform: none;--iron-icon-width: 20px;--iron-icon-height: 20px;display: inline-block;} :host #more-replies:focus,:host #less-replies:focus {outline: -webkit-focus-ring-color auto 5px;} :host #more-replies:focus:hover,:host #less-replies:focus:hover {outline: none;} .more-button,.less-button {color: var(--yt-spec-call-to-action);--iron-icon: {margin-left: -6px;};-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;margin-right: -8px;} #expander {display: block;text-transform: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #expander .dot {font-family: "Roboto","Arial",sans-serif;font-size: 2.8rem;line-height: 3.8rem;font-weight: 500;color: var(--yt-spec-call-to-action);margin: 0 -12px 0 4px;} #expander .expander-header[teaser] {display: flex;align-items: center;margin-left: -10px;} #expander .expander-header[teaser] #less-replies,#expander .expander-header[teaser] #more-replies {--yt-button-padding: unset;} ytd-expander tp-yt-paper-button {-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} yt-next-continuation,ytd-continuation-item-renderer {--iron-icon-width: 20px;--iron-icon-height: 20px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} yt-next-continuation tp-yt-paper-button[style-target=host],ytd-continuation-item-renderer tp-yt-paper-button[style-target=host] {text-transform: none;} .cont-button,ytd-continuation-item-renderer {color: var(--yt-spec-call-to-action);--iron-icon: {margin-left: 8px;margin-right: 8px;margin-top: -8px;};} yt-icon {--iron-icon-width: 20px;--iron-icon-height: 20px;margin-bottom: 4px;} #teaser-replies {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #contents {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #contents>ytd-comment-renderer:last-of-type,#teaser-replies>ytd-comment-renderer:last-of-type {margin-bottom: 0;} .reloading {opacity: 0.25;pointer-events: none;} #expander-contents tp-yt-paper-spinner-lite {display: none;} #expander-contents tp-yt-paper-spinner-lite[active] {display: block;margin: -8px auto 8px;} #expander[hidden]+#teaser-replies>ytd-comment-renderer:first-of-type {margin-top: 8px;} ytd-continuation-item-renderer {--yt-button-color: var(--yt-spec-call-to-action);--yt-button-paper-button: {--yt-button-text-transform: none;--yt-string-icon-padding: 4px;margin-left: -8px;margin-right: 0.29em;padding: 0.7em 0.57em;};--ytd-continuation-item-renderer-width: auto;} /*# sourceMappingURL=ytd-comment-replies-renderer.css.map*/</style>';
Jzb=d}d=Jzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Kzb=a}a=Kzb;return a}}});
var LX=KX;LX.prototype.isShowMoreChanged=LX.prototype.isShowMoreChanged;LX.prototype.isLoadingChanged=LX.prototype.isLoadingChanged;LX.prototype.triggerFirstContinuation=LX.prototype.triggerFirstContinuation;LX.prototype.onRetrieveLocation=LX.prototype.onRetrieveLocation;LX.prototype.dataChanged=LX.prototype.dataChanged;_.S([_.L(_.AF.YtNextContinuationBehavior),_.T("design:type",Object)],LX.prototype,"ytNextContinuationBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],LX.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],LX.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],LX.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],LX.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],LX.prototype,"isLoading",void 0);
_.S([_.N({value:!0}),_.T("design:type",Boolean)],LX.prototype,"isShowRepliesVisible",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],LX.prototype,"useNewFormatting",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],LX.prototype,"allRepliesVisible",void 0);_.S([_.N({value:10}),_.T("design:type",Number)],LX.prototype,"domRepeatInitialCount",void 0);_.S([_.Z("#expander-contents"),_.T("design:type",HTMLElement)],LX.prototype,"expanderContents",void 0);
_.S([_.Z("yt-next-continuation"),_.T("design:type",Object)],LX.prototype,"continuation",void 0);_.S([_.Z("ytd-continuation-item-renderer"),_.T("design:type",Object)],LX.prototype,"continuationItemRenderer",void 0);_.S([_.Z("#contents"),_.T("design:type",HTMLElement)],LX.prototype,"contents",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],LX.prototype,"dataChanged",null);
_.S([_.V("data.continuations","data.contents"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],LX.prototype,"hasContinuation",null);_.S([_.O("yt-retrieve-location"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],LX.prototype,"onRetrieveLocation",null);_.S([_.O("yt-expander-more-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],LX.prototype,"triggerFirstContinuation",null);
_.S([_.P("isLoading"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],LX.prototype,"isLoadingChanged",null);_.S([_.P("isShowRepliesVisible"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],LX.prototype,"isShowMoreChanged",null);LX=_.S([_.Q({is:"ytd-comment-replies-renderer"})],LX);
var Lzb;
var Mzb;
_.$u("itemSectionRenderer","commentThreadRenderer","ytd-comment-thread-renderer");var MX=function(){return _.K.apply(this,arguments)||this};
_.q(MX,_.K);MX.prototype.configureRendererStamper=function(){return{"data.replies":{id:"replies",mapping:{commentRepliesRenderer:{component:"ytd-comment-replies-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(MX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Mzb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-thread-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_thread_renderer.ytd.comment.thread.renderer.css.js--\x3e<ytd-comment-renderer id="comment" data="[[data.comment.commentRenderer]]">\n</ytd-comment-renderer>\n<div id="replies" hidden="[[!data.replies]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Lzb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_thread_renderer.ytd.comment.thread.renderer.css.js--\x3e<style>:host {display: block;margin-bottom: var(--ytd-comment-thread-margin-bottom,16px);} #comment {margin-bottom: calc(-1 * var(--ytd-decorated-comment-background-offset-bottom,0px));padding-bottom: var(--ytd-decorated-comment-background-offset-bottom,0px);} /*# sourceMappingURL=ytd-comment-thread-renderer.css.map*/</style>";
Lzb=d}d=Lzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Mzb=a}a=Mzb;return a}}});
var NX=MX;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NX.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],NX.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],NX.prototype,"data",void 0);NX=_.S([_.Q({is:"ytd-comment-thread-renderer"})],NX);
var Nzb;
var Ozb;
var Pzb;
var Qzb;
var Rzb;
var Szb;
var Tzb=function(){return _.K.apply(this,arguments)||this};
_.q(Tzb,_.K);
_.t.Object.defineProperties(Tzb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Szb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-profile-column-stats-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_stats_entry_renderer.ytd.profile.column.stats.entry.renderer.css.js--\x3e<div id="label">[[getSimpleString(data.label)]]</div>\n<div id="value">[[getSimpleString(data.value)]]</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Rzb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_stats_entry_renderer.ytd.profile.column.stats.entry.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);padding: 10px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #label {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #value {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-profile-column-stats-entry-renderer.css.map*/</style>';
Rzb=d}d=Rzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Szb=a}a=Szb;return a}}});
var OX=Tzb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],OX.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],OX.prototype,"data",void 0);OX=_.S([_.Q({asyncProperties:!0,is:"ytd-profile-column-stats-entry-renderer"})],OX);
var Uzb;
var Vzb;
var PX=function(){return _.K.apply(this,arguments)||this};
_.q(PX,_.K);PX.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{profileColumnStatsEntryRenderer:{component:"ytd-profile-column-stats-entry-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(PX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Vzb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-profile-column-stats-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_stats_renderer.ytd.profile.column.stats.renderer.css.js--\x3e<div id="items"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Uzb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_stats_renderer.ytd.profile.column.stats.renderer.css.js--\x3e<style>:host {display: inline-block;width: 178px;} #items>* {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #items>*:first-child {border-top: 1px solid var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=ytd-profile-column-stats-renderer.css.map*/</style>";
Uzb=d}d=Uzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Vzb=a}a=Vzb;return a}}});
var QX=PX;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],QX.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],QX.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],QX.prototype,"data",void 0);QX=_.S([_.Q({asyncProperties:!0,is:"ytd-profile-column-stats-renderer"})],QX);
var Wzb;
var Xzb;
var RX=function(){return _.K.apply(this,arguments)||this};
_.q(RX,_.K);_.t.Object.defineProperties(RX.prototype,{thumbnailWidth:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)||!a.useThumbnailSize)return 80;var b,c;a=null==(b=this.data)?void 0:null==(c=b.thumbnail)?void 0:c.thumbnails;var d;return a&&(null==(d=a[0])?void 0:d.width)||80}},
thumbnailHeight:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)||!a.useThumbnailSize)return 80;var b,c;a=null==(b=this.data)?void 0:null==(c=b.thumbnail)?void 0:c.thumbnails;var d;return a&&(null==(d=a[0])?void 0:d.height)||80}}});
_.t.Object.defineProperties(RX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Xzb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-profile-column-user-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_user_info_renderer.ytd.profile.column.user.info.renderer.css.js--\x3e<yt-img-shadow id="thumbnail" height="[[thumbnailHeight]]" thumbnail="[[data.thumbnail]]" width="[[thumbnailWidth]]">\n</yt-img-shadow>\n<div id="title">[[getSimpleString(data.title)]]</div>\n<div id="subtitle">[[getSimpleString(data.subtitle)]]</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Wzb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_user_info_renderer.ytd.profile.column.user.info.renderer.css.js--\x3e<style>:host {width: 178px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([component-style=NON_CENTERED_PROFILE]) {width: 250px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([component-style=NON_CENTERED_PROFILE]) #thumbnail {border-radius: 0;margin: 88px 0 16px;width: unset;height: unset;} #thumbnail {width: 80px;height: 80px;margin: 88px 16px 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} #title {color: var(--yt-spec-text-primary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #subtitle {color: var(--yt-spec-text-secondary);margin-bottom: 4px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} /*# sourceMappingURL=ytd-profile-column-user-info-renderer.css.map*/</style>';
Wzb=d}d=Wzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Xzb=a}a=Xzb;return a}}});
var SX=RX;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],SX.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],SX.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],SX.prototype,"componentStyle",void 0);_.S([_.V("data.useThumbnailSize"),_.T("design:type",Object),_.T("design:paramtypes",[])],SX.prototype,"thumbnailWidth",null);
_.S([_.V("data.useThumbnailSize"),_.T("design:type",Object),_.T("design:paramtypes",[])],SX.prototype,"thumbnailHeight",null);SX=_.S([_.Q({asyncProperties:!0,is:"ytd-profile-column-user-info-renderer"})],SX);
var TX=function(){return _.K.apply(this,arguments)||this};
_.q(TX,_.K);TX.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{profileColumnStatsRenderer:{component:"ytd-profile-column-stats-renderer",noInjection:!0},profileColumnUserInfoRenderer:{component:"ytd-profile-column-user-info-renderer",noInjection:!0,properties:{componentStyle:"[[componentStyle]]"}}}}}};
_.t.Object.defineProperties(TX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Qzb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-profile-column-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_renderer.ytd.profile.column.renderer.css.js--\x3e<div id="items"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Pzb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.library.ytd_profile_column_renderer.ytd.profile.column.renderer.css.js--\x3e<style>:host {margin-left: 32px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: none;-webkit-flex: none;flex: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #items>* {margin-bottom: 20px;} /*# sourceMappingURL=ytd-profile-column-renderer.css.map*/</style>";
Pzb=d}d=Pzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Qzb=a}a=Qzb;return a}}});
var UX=TX;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],UX.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],UX.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],UX.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],UX.prototype,"componentStyle",void 0);UX=_.S([_.Q({asyncProperties:!0,is:"ytd-profile-column-renderer"})],UX);
var VX=function(){var a=_.K.apply(this,arguments)||this;a.componentStyle="NON_CENTERED_PROFILE";return a};
_.q(VX,_.K);VX.prototype.configureRendererStamper=function(){return{"data.reportStats":{id:"report-stats",mapping:{profileColumnRenderer:{component:"ytd-profile-column-renderer",properties:{componentStyle:"[[componentStyle]]"}}}}}};
VX.prototype.getIcon=function(a){return a?"settings:"+a.toLowerCase():null};
_.t.Object.defineProperties(VX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ozb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-page-introduction-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_page_introduction_renderer.ytd.page.introduction.renderer.css.js--\x3e<div id="primary-content">\n  <div id="introduction-text">\n    <div id="name">[[getSimpleString(data.pageTitle)]]</div>\n    <div id="title">[[getSimpleString(data.headerText)]]</div>\n    <yt-formatted-string id="text" split-lines="" text="[[data.bodyText]]">\n    </yt-formatted-string>\n    <ul class="introduction-bullet-items" hidden="[[!data.bulletMessages]]">\n      <template is="dom-repeat" items="[[data.bulletMessages]]" as="bullet">\n        <li>\n          <yt-formatted-string id="text" text="[[bullet]]"></yt-formatted-string>\n        </li>\n      </template>\n    </ul>\n    <yt-formatted-string id="text" force-default-style="" text="[[data.footerText]]">\n    </yt-formatted-string>\n  </div>\n  <yt-icon hidden="[[!data.headerIcon]]" icon="[[getIcon(data.headerIcon.iconType)]]"></yt-icon>\n  <yt-img-shadow height="160" hidden="[[!data.headerImage]]" thumbnail="[[data.headerImage]]">\n  </yt-img-shadow>\n</div>\n<div id="report-stats" hidden="[[!data.reportStats]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Nzb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_page_introduction_renderer.ytd.page.introduction.renderer.css.js--\x3e<style>:host {min-height: 180px;color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;} #primary-content {flex-grow: 1;padding-top: 48px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-icon {height: 180px;width: 180px;} #name {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} #title {margin: 40px 0 12px 0;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #introduction-text {padding-bottom: 24px;} .introduction-bullet-items {margin: 8px 12px;} .introduction-bullet-items li {padding-bottom: 4px;} .introduction-bullet-items li yt-formatted-string {vertical-align: middle;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #report-stats {flex-grow: 1;margin-bottom: 12px;margin-left: 16px;margin-top: -24px;} /*# sourceMappingURL=ytd-page-introduction-renderer.css.map*/</style>';
Nzb=d}d=Nzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ozb=a}a=Ozb;return a}}});
var WX=VX;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],WX.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],WX.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],WX.prototype,"data",void 0);WX=_.S([_.Q({asyncProperties:!0,is:"ytd-page-introduction-renderer"})],WX);
var Yzb;
var Zzb;
_.$u("itemSectionRenderer","clarificationRenderer","ytd-clarification-renderer");var XX=function(){return _.K.apply(this,arguments)||this};
_.q(XX,_.K);_.f=XX.prototype;_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
_.f.dataChanged=function(){this.imageWidth=this.imageHeight=24;var a=this.data;"CLARIFICATION_RENDERER_STYLE_MEDIUM"===a.style?this.imageWidth=this.imageHeight=80:!a.style&&a.image&&a.image.thumbnails.length&&(a=a.image.thumbnails[0],this.imageWidth=a.width||0,this.imageHeight=a.height||0)};
_.f.computeSource=function(a){return a.secondarySource?_.qi(a.secondarySource):_.qi(a.source)};
_.f.computeClarifyStyle=function(a){return a?a.replace("CLARIFICATION_RENDERER_STYLE_","").toLowerCase():""};
_.f.isLargeStyle=function(a){return"CLARIFICATION_RENDERER_STYLE_LARGE"===a};
_.f.computeBackgroundStyle=function(a){return a?a.replace("CLARIFICATION_RENDERER_BACKGROUND_","").toLowerCase():""};
_.f.computeHasActionButton=function(a){return!!a.actionButton};
_.f.computeIsSourceMissing=function(a){return!1===a.ctaHasBottomSection?!0:a&&this.computeSource(a)?!1:!0};
_.f.computeSecondaryEndpoint=function(a){return a.secondaryEndpoint||a.endpoint};
_.t.Object.defineProperties(XX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Zzb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-clarification-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_clarification_renderer.ytd.clarification.renderer.css.js--\x3e<div class="container">\n  \n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n    <yt-icon disable-upgrade$="[[!icon]]" hidden="[[!icon]]" icon="[[icon]]"></yt-icon>\n    <yt-img-shadow disable-upgrade$="[[!data.image]]" height="[[imageHeight]]" hidden="[[!data.image]]" thumbnail="[[data.image]]" width="[[imageWidth]]">\n    </yt-img-shadow>\n  </a>\n  <div class="text">\n    \n    <a id="section-header" class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n      <yt-icon disable-upgrade$="[[!icon]]" hidden="[[!icon]]" icon="[[icon]]">\n      </yt-icon>\n      <yt-img-shadow disable-upgrade$="[[!data.image]]" height="[[imageHeight]]" hidden="[[!data.image]]" thumbnail="[[data.image]]" width="[[imageWidth]]">\n      </yt-img-shadow>\n      <yt-formatted-string class="section-title" text="[[data.sectionTitle]]">\n      </yt-formatted-string>\n    </a>\n    <div class="content">\n      <a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n        <div class="content-title">\n          [[getSimpleString(data.contentTitle)]]\n          <yt-icon class="external-link-icon" icon="yt-icons:open_in_new"></yt-icon>\n        </div>\n        <yt-formatted-string class="description" text="[[data.text]]">\n        </yt-formatted-string>\n      </a>\n      <div id="action-button"></div>\n    </div>\n    <a id="source-link" class="yt-simple-endpoint" href$="[[computeHref_(secondaryEndpoint)]]" data="[[secondaryEndpoint]]">\n      <div class="source">\n        <yt-icon class="secondary-icon" disable-upgrade$="[[!secondaryIcon]]" hidden="[[!secondaryIcon]]" icon="[[secondaryIcon]]">\n        </yt-icon>\n        [[computeSource(data)]]\n        <yt-icon class="external-link-icon" icon="yt-icons:open_in_new" size="16"></yt-icon>\n      </div>\n    </a>\n  </div>\n</div>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Yzb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_clarification_renderer.ytd.clarification.renderer.css.js--\x3e<style>:host {display: block;padding: 16px 0 16px 16px;background: var(--yt-spec-general-background-b);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} ytd-menu-renderer {margin-top: -10px;} .container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .text {color: var(--yt-spec-text-primary);min-width: 0;margin: 0 0 0 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .section-title {display: none;} #section-header yt-img-shadow,#section-header yt-icon {display: none;} .content-title {padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} .content-title yt-icon {display: none;} .yt-simple-endpoint>yt-img-shadow,.yt-simple-endpoint>yt-icon {display: block;} .external-link-icon {width: 16px;height: 16px;margin-bottom: 2px;} .source {padding-top: 4px;color: var(--yt-spec-call-to-action);} #menu {margin-bottom: -10px;} :host([clarify-style=small]) .container {-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([clarify-style=small]) .content-title {display: none;} :host([clarify-style=small]) .content-title {margin: 0 0 0 12px;} :host([clarify-style=small]) .description {display: inline;} :host([clarify-style=small]) .source {display: inline;padding: 0 0 0 3px;} :host([clarify-style=small]) .text {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([clarify-style=medium]) .description {-webkit-line-clamp: 3;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 5.4rem;overflow: hidden;display: block;-webkit-line-clamp: 3;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} :host([clarify-style=large]) .container {display: block;} :host([clarify-style=large]) .source {color: var(--yt-spec-text-secondary);padding-top: 12px;} :host([clarify-style=large]) .source yt-icon {display: none;} :host([clarify-style=large]) .content-title {color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([clarify-style=large]) .content-title yt-icon {display: inline-block;} :host([clarify-style=large]) .section-title {display: inline;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} :host([clarify-style=large]) .text {margin-left: 0;} :host([clarify-style=large]) #section-header {margin-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([clarify-style=large]) .yt-simple-endpoint>yt-img-shadow,:host([clarify-style=large]) .yt-simple-endpoint>yt-icon,:host([clarify-style=large]) .container>a {display: none;} :host([clarify-style=large]) #section-header yt-img-shadow,:host([clarify-style=large]) #section-header yt-icon {display: block;margin-right: 8px;} :host([clarify-style=large]) #section-header yt-icon {color: var(--yt-spec-icon-active-other);} .content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([has-action-button]) .content {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding-bottom: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([has-action-button]) .content-title {padding-bottom: 8px;} :host([has-action-button]) .content>.yt-simple-endpoint {padding-right: 8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([has-action-button]) .source {padding-top: 12px;} :host([has-action-button]) #action-button {padding-right: 8px;} :host([has-action-button]) #menu {margin-left: -12px;margin-right: -4px;} :host([background-style=info]) {padding: 12px 0 12px 0;background: var(--yt-spec-suggested-action);border: 1px solid var(--yt-spec-10-percent-layer);} :host([background-style=info]) .container>a,:host([background-style=info]) .yt-simple-endpoint>yt-icon,:host([background-style=info]) .yt-simple-endpoint>yt-img-shadow {display: none;} :host([background-style=info]) .text {margin-left: 12px;} :host([background-style=info]) .source {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([background-style=info]) .description {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([background-style=info]) .source>.secondary-icon {margin-bottom: 2px;margin-right: 4px;width: 18px;height: 18px;} :host([missing-source]) #source-link,:host([missing-source]) .source {display: none;} :host([missing-source]) .content {padding-bottom: 0px;border-bottom: none;} /*# sourceMappingURL=ytd-clarification-renderer.css.map*/</style>';
Yzb=d}d=Yzb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Zzb=a}a=Zzb;return a}}});
var YX=XX;YX.prototype.dataChanged=YX.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YX.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],YX.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YX.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],YX.prototype,"imageWidth",void 0);_.S([_.N(),_.T("design:type",Number)],YX.prototype,"imageHeight",void 0);
_.S([_.N({computed:"computeSecondaryEndpoint(data)"}),_.T("design:type",Object)],YX.prototype,"secondaryEndpoint",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasActionButton(data)"}),_.T("design:type",Boolean)],YX.prototype,"hasActionButton",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeIsSourceMissing(data)"}),_.T("design:type",Boolean)],YX.prototype,"missingSource",void 0);_.S([_.N({computed:"computeIcon_(data.icon)"}),_.T("design:type",String)],YX.prototype,"icon",void 0);
_.S([_.N({computed:"computeIcon_(data.secondaryIcon)"}),_.T("design:type",String)],YX.prototype,"secondaryIcon",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeClarifyStyle(data.style)"}),_.T("design:type",String)],YX.prototype,"clarifyStyle",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeBackgroundStyle(data.background)"}),_.T("design:type",String)],YX.prototype,"backgroundStyle",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],YX.prototype,"dataChanged",null);YX=_.S([_.Q({asyncProperties:!0,is:"ytd-clarification-renderer"})],YX);
var $zb;
var aAb;
var bAb;
var cAb;
var ZX=function(){return _.K.apply(this,arguments)||this};
_.q(ZX,_.K);ZX.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
ZX.prototype.computeIcon=function(a){return a?"yt-icons:"+a.toLowerCase():null};
_.t.Object.defineProperties(ZX,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-single-action-emergency-support-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_single_action_emergency_support_renderer.ytd.single.action.emergency.support.renderer.css.js--\x3e<div id="content">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <yt-formatted-string id="navigation-text" text="[[data.navigationText]]"></yt-formatted-string>\n    <yt-icon id="nav-icon" icon="[[computeIcon(data.navigationIcon.iconType)]]"></yt-icon>\n  </a>\n  <yt-formatted-string id="details-text" text="[[data.detailsText]]"></yt-formatted-string>\n  <div id="action-container">\n    <div id="action-button" hidden="[[!data.actionButton]]"></div>\n    <div id="action-text" hidden="[[!data.actionText]]">\n      <yt-icon icon="[[computeIcon(data.icon.iconType)]]"></yt-icon>\n      <yt-formatted-string id="action-text" text="[[data.actionText]]"></yt-formatted-string>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_single_action_emergency_support_renderer.ytd.single.action.emergency.support.renderer.css.js--\x3e<style>:host {display: inline-block;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #navigation-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #nav-icon {color: var(--yt-spec-text-primary);margin-bottom: 4px;--iron-icon-height: 12px;--iron-icon-width: 12px;} #details-text {color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;} #action-container {color: var(--yt-spec-text-primary);margin-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #action-container yt-icon {--iron-icon-height: 24px;--iron-icon-width: 24px;color: var(--yt-spec-text-primary);margin-right: 8px;} #action-button {margin-right: 24px;} #action-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-single-action-emergency-support-renderer.css.map*/</style>';
bAb=d}d=bAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cAb=a}a=cAb;return a}}});
var $X=ZX;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$X.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$X.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$X.prototype,"data",void 0);$X=_.S([_.Q({asyncProperties:!0,is:"ytd-single-action-emergency-support-renderer"})],$X);
_.$u("itemSectionRenderer","emergencyOneboxRenderer","ytd-emergency-onebox-renderer");var aY=function(){return _.K.apply(this,arguments)||this};
_.q(aY,_.K);aY.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.firstOption":{id:"first-option",mapping:{singleActionEmergencySupportRenderer:{component:"ytd-single-action-emergency-support-renderer"}}},"data.secondOption":{id:"second-option",mapping:{singleActionEmergencySupportRenderer:{component:"ytd-single-action-emergency-support-renderer"}}}}};
_.t.Object.defineProperties(aY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-emergency-onebox-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_emergency_onebox_renderer.ytd.emergency.onebox.renderer.css.js--\x3e<div id="content">\n  <yt-formatted-string id="header" text="[[data.title]]"></yt-formatted-string>\n  <div id="options">\n    <div id="first-option" class="option"></div>\n    <div id="second-option" class="option"></div>\n  </div>\n</div>\n\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$zb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_emergency_onebox_renderer.ytd.emergency.onebox.renderer.css.js--\x3e<style>:host {display: block;background: var(--yt-spec-suggested-action);border: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #content {padding: 12px 0 12px 12px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #header {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #header:not(:empty) {margin-bottom: 8px;} #options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #header:empty+#options {margin-top: -8px;} .option {margin-top: 8px;margin-right: 8px;min-width: 300px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #menu {margin-top: 4px;} :host(.watch) #header {margin: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-emergency-onebox-renderer.css.map*/</style>';
$zb=d}d=$zb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aAb=a}a=aAb;return a}}});
var bY=aY;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],bY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],bY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],bY.prototype,"data",void 0);bY=_.S([_.Q({asyncProperties:!0,is:"ytd-emergency-onebox-renderer"})],bY);
var dAb;
var eAb;
var cY=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-settings-update-switch-command":"handleUpdateSettingsSwitch","yt-toggle-settings-switch":"onToggleSettingsSwitch"};return a};
_.q(cY,_.K);_.f=cY.prototype;_.f.dataChanged=function(){this.initializeIsEnabled();this.fire("yt-settings-switch-ready")};
_.f.initializeIsEnabled=function(){this.data&&this.data.id&&void 0===this.data.enabled&&this.set("data.enabled",this.getUserPreference())};
_.f.onSwitchChange=function(a){this.data&&((a=_.H(a).rootTarget.checked?this.data.enableServiceEndpoint:this.data.disableServiceEndpoint)&&_.Kg(this,[a]),this.data.requiresConfirmation&&this.set("data.enabled",!this.data.enabled))};
_.f.handleUpdateSettingsSwitch=function(a){a.settingsUpdateSwitchCommand&&this.data&&this.data.id===a.settingsUpdateSwitchCommand.id&&this.set("data.enabled",!!a.settingsUpdateSwitchCommand.enabled)};
_.f.onToggleSettingsSwitch=function(a){this.data&&this.data.id===a&&this.set("data.enabled",!this.data.enabled)};
_.f.getUserPreference=function(){switch(this.data.id){case "SETTINGS_OPTIONS_ID_TYPE_AUTONAV":return 1!==_.lF.getInstance().getState();default:return!1}};
_.t.Object.defineProperties(cY.prototype,{toggleAriaLabel:{configurable:!0,enumerable:!0,get:function(){var a=this.get("toggleAccessibility.accessibilityData.label",this.data);this.data&&this.data.title&&!a&&(a=this.ytRendererBehavior.getSimpleString(this.data.title));return a}}});
_.t.Object.defineProperties(cY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-switch-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_switch_renderer.ytd.settings.switch.renderer.css.js--\x3e<tp-yt-paper-toggle-button id="toggle" aria-label$="[[toggleAriaLabel]]" checked="{{data.enabled}}" noink="" on-change="onSwitchChange">\n  <div id="toggle-container"></div>\n</tp-yt-paper-toggle-button>\n<div>\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <div id="icon" hidden="[[!data.thumbnail]]">\n    <yt-img-shadow height="24" thumbnail="[[data.thumbnail]]" width="24">\n    </yt-img-shadow>\n    <yt-formatted-string id="text" text="[[data.text]]"></yt-formatted-string>\n  </div>\n  <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_switch_renderer.ytd.settings.switch.renderer.css.js--\x3e<style>:host {cursor: default;color: var(--yt-spec-text-primary);margin: 12px 0;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} div {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} tp-yt-paper-toggle-button {padding-right: 12px;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #title {color: var(--yt-spec-text-primary);padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #icon {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-img-shadow {padding: 8px 4px;} #text {align-self: center;padding-left: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-settings-switch-renderer.css.map*/</style>';
dAb=d}d=dAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);eAb=a}a=eAb;return a}}});
var dY=cY;dY.prototype.dataChanged=dY.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],dY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],dY.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],dY.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],dY.prototype,"toggleAriaLabel",null);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],dY.prototype,"dataChanged",null);dY=_.S([_.Q({asyncProperties:!0,is:"ytd-settings-switch-renderer"})],dY);
var fAb;
var gAb;
var hAb;
var iAb;
var jAb;
var kAb;
var eY=function(){return _.K.apply(this,arguments)||this};
_.q(eY,_.K);eY.prototype.configureRendererStamper=function(){return{"data.textCollectionRenderer":{id:"card-item-text-collection-renderer",mapping:{cardItemTextCollectionRenderer:"yt-card-item-text-collection-renderer"}},"data.buttonRenderer":{id:"primary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{iconSize:"[[iconSize]]"}}}}}};
_.t.Object.defineProperties(eY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-text-with-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_with_button_renderer.yt.card.item.text.with.button.renderer.css.js--\x3e<div id="card-item-text-collection-renderer"></div>\n<div id="primary-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_text_with_button_renderer.yt.card.item.text.with.button.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([icon-size="18"]) {--yt-icon-button-icon-height: 18px;--yt-icon-button-icon-width: 18px;} /*# sourceMappingURL=yt-card-item-text-with-button-renderer.css.map*/</style>';
jAb=d}d=jAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kAb=a}a=kAb;return a}}});
var fY=eY;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],fY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],fY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],fY.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Number)],fY.prototype,"iconSize",void 0);fY=_.S([_.lu({is:"yt-card-item-text-with-button-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],fY);
var gY=function(){return _.K.apply(this,arguments)||this};
_.q(gY,_.K);gY.prototype.configureRendererStamper=function(){return{"data.summaryText":{id:"summary-text",mapping:{cardItemTextRenderer:"yt-card-item-text-renderer",cardItemTextWithButtonRenderer:{component:"yt-card-item-text-with-button-renderer",params:{iconSize:18}}}},"data.additionalMetadataText":{id:"additional-metadata-text",mapping:{cardItemTextRenderer:"yt-card-item-text-renderer"}},"data.price":{id:"price",mapping:{cardItemTextRenderer:"yt-card-item-text-renderer"}}}};
_.t.Object.defineProperties(gY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commerce-cart-summary-line-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_summary_line_item_renderer.ytd.commerce.cart.summary.line.item.renderer.css.js--\x3e<div id="summary-content">\n  <div id="summary-text"></div>\n  <div id="additional-metadata-text"></div>\n</div>\n<div id="price"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_summary_line_item_renderer.ytd.commerce.cart.summary.line.item.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #summary-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #additional-metadata-text {margin-left: 8px;} /*# sourceMappingURL=ytd-commerce-cart-summary-line-item-renderer.css.map*/</style>";
hAb=d}d=hAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iAb=a}a=iAb;return a}}});
var hY=gY;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],hY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],hY.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],hY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],hY.prototype,"data",void 0);hY=_.S([_.Q({asyncProperties:!0,is:"ytd-commerce-cart-summary-line-item-renderer"})],hY);
_.$u("cardItemSection","commerceCartCheckoutButtonRenderer",{component:"ytd-commerce-cart-checkout-button-renderer",noInjection:!0,properties:{compact:"[[compact]]"}});var iY=function(){var a=_.K.apply(this,arguments)||this;a.hidden=!1;return a};
_.q(iY,_.K);_.f=iY.prototype;_.f.configureRendererStamper=function(){return{"data.estimatedTotalLineItem":{id:"estimated-total-line-item",mapping:{commerceCartSummaryLineItemRenderer:"ytd-commerce-cart-summary-line-item-renderer"}},"data.checkoutButton":{id:"checkout-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}},"data.cartButton":{id:"cart-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}}}};
_.f.entityChanged=function(){this.commerceCartCheckoutButtonEntity&&(this.updateCheckoutButton(),this.updateIsHidden(),this.updateSummary())};
_.f.updateSummary=function(){var a=this.commerceCartCheckoutButtonEntity,b;if((null==(b=this.data)?0:b.cartButton)&&a.checkoutSummaryText){var c,d=zX(null==(c=this.data)?void 0:c.estimatedTotalLineItem,"summaryText");this.set("data.estimatedTotalLineItem."+d+".cardItemTextRenderer.text",{simpleText:a.checkoutSummaryText.content});if(a.checkoutDetailText){var e;c=zX(null==(e=this.data)?void 0:e.estimatedTotalLineItem,"price");this.set("data.estimatedTotalLineItem."+c+".cardItemTextRenderer.text",{simpleText:a.checkoutDetailText.content})}if(a.checkoutAdditionalMetadataText){var h;
e=zX(null==(h=this.data)?void 0:h.estimatedTotalLineItem,"additionalMetadataText");this.set("data.estimatedTotalLineItem."+e+".cardItemTextRenderer.text",{simpleText:a.checkoutAdditionalMetadataText.content})}}else a.estimatedTotalPrice&&(h=zX(null==(d=this.data)?void 0:d.estimatedTotalLineItem,"price"),this.set("data.estimatedTotalLineItem."+h+".cardItemTextRenderer.text",{simpleText:a.estimatedTotalPrice.content}))};
_.f.updateIsHidden=function(){var a,b=null==(a=this.commerceCartCheckoutButtonEntity)?void 0:a.isHidden;void 0!==b&&(this.hidden=b)};
_.f.updateCheckoutButton=function(){var a,b=null==(a=this.commerceCartCheckoutButtonEntity)?void 0:a.isDisabled;void 0!==b&&this.set("data.checkoutButton.buttonRenderer.isDisabled",b);var c;a=null==(c=this.commerceCartCheckoutButtonEntity.checkoutButtonCommand)?void 0:c.innertubeCommand;void 0!==a&&this.set("data.checkoutButton.buttonRenderer.command",a);var d;c=null==(d=this.commerceCartCheckoutButtonEntity)?void 0:d.checkoutButtonText;void 0!==c&&this.set("data.checkoutButton.buttonRenderer.text",
{simpleText:c})};
_.t.Object.defineProperties(iY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commerce-cart-checkout-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_checkout_button_renderer.ytd.commerce.cart.checkout.button.renderer.css.js--\x3e<div id="estimated-total-line-item"></div>\n<div id="checkout-button"></div>\n<div id="cart-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_checkout_button_renderer.ytd.commerce.cart.checkout.button.renderer.css.js--\x3e<style>:host {margin: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #estimated-total-line-item {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} ytd-commerce-cart-summary-line-item-renderer {min-height: 40px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([full-width]) {margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([full-width]) #checkout-button,:host([full-width]) #cart-button {margin-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([full-width]) #checkout-button:empty,:host([full-width]) #cart-button:empty {margin-bottom: 0px;} :host([full-width]) yt-button-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-commerce-cart-checkout-button-renderer.css.map*/</style>";
fAb=d}d=fAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gAb=a}a=gAb;return a}}});
var jY=iY;jY.prototype.entityChanged=jY.prototype.entityChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],jY.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],jY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],jY.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],jY.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],jY.prototype,"fullWidth",void 0);_.S([_.N(),_.T("design:type",Object)],jY.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],jY.prototype,"compact",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],jY.prototype,"hidden",void 0);
_.S([_.N({selectorArgs:["data.commerceCartCheckoutButtonEntityKey"],selector:pzb}),_.T("design:type",Object)],jY.prototype,"commerceCartCheckoutButtonEntity",void 0);_.S([_.P("commerceCartCheckoutButtonEntity","data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],jY.prototype,"entityChanged",null);jY=_.S([_.Q({asyncProperties:!0,is:"ytd-commerce-cart-checkout-button-renderer"})],jY);
var lAb;
var mAb;
var nAb;
var oAb;
_.Ng({is:"yt-card-item-actions-renderer",_template:function(){if(void 0!==oAb)return oAb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-actions-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_actions_renderer.yt.card.item.actions.renderer.css.js--\x3e<div id="secondary-button-renderer" hidden$="[[!data.secondaryButtonRenderer]]"></div>\n<div id="primary-button-renderer" hidden$="[[!data.primaryButtonRenderer]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_actions_renderer.yt.card.item.actions.renderer.css.js--\x3e<style>:host {--yt-paper-button-min-width: 0px;white-space: nowrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #secondary-button-renderer {margin-right: var(--ytd-margin-2x);} #primary-button-renderer yt-button-renderer.style-blue-text[is-paper-button] {margin-right: var(--yt-card-item-actions-blue-text-button-margin-right,unset);} ytd-toggle-button-renderer {text-transform: unset;} #primary-button-renderer ytd-toggle-button-renderer.style-text[is-paper-button] {margin-right: var(--yt-card-item-actions-text-button-margin-right,unset);} ytmusic-toggle-button-renderer {text-transform: unset;} /*# sourceMappingURL=yt-card-item-actions-renderer.css.map*/</style>";
nAb=d}d=nAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return oAb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object},stampDom:{"data.primaryButtonRenderer":{id:"primary-button-renderer",mapping:_.TE("sharingToggleButtonAndDefaultButton")},"data.secondaryButtonRenderer":{id:"secondary-button-renderer",mapping:_.TE("sharingToggleButtonAndDefaultButton")}}});
var pAb;
var qAb;
_.Ng({is:"yt-card-item-error-renderer",_template:function(){if(void 0!==qAb)return qAb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-error-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_error_renderer.yt.card.item.error.renderer.css.js--\x3e<div id="triangle-up-container">\n  <div id="triangle-up"></div>\n</div>\n<div id="error-text-renderer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_error_renderer.yt.card.item.error.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #error-text-renderer {background-color: var(--yt-spec-suggested-action);padding: var(--ytd-margin-4x) var(--ytd-margin-8x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #triangle-up-container {margin-left: var(--ytd-margin-7x);} #triangle-up {width: 0;height: 0;border-left: var(--ytd-margin-3x) solid transparent;border-right: var(--ytd-margin-3x) solid transparent;border-bottom: var(--ytd-margin-3x) solid var(--yt-spec-suggested-action);} /*# sourceMappingURL=yt-card-item-error-renderer.css.map*/</style>";
pAb=d}d=pAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return qAb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object},stampDom:{"data.errorTextRenderer":{id:"error-text-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"},cardItemTextWithImageRenderer:{component:"yt-card-item-text-with-image-renderer"}}}}});
var rAb;
var sAb;
_.$u("itemSectionRenderer","CardItemRenderer","yt-card-item-renderer");
_.Ng({is:"yt-card-item-renderer",_template:function(){if(void 0!==sAb)return sAb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_renderer.yt.card.item.renderer.css.js--\x3e<div id="main-content" primary-container-placement$="[[data.primaryContainerPlacement]]" box-style$="[[data.cardItemBoxStyle]]" aria-label="[[data.accessibilityData.label]]">\n  <div id="main-content-negative-margin-wrapper" content-placement$="[[data.contentPlacement]]">\n    <div id="heading-description-container">\n       <div id="header-promo-container">\n          <div id="heading-renderer" hidden$="[[!data.headingRenderer]]">\n          </div>\n          <div id="header-promo-renderer" hidden$="[[!data.headerPromoRenderer]]">\n          </div>\n      </div>\n      <div id="description-renderer" hidden$="[[!data.descriptionRenderer]]">\n      </div>\n    </div>\n    <div id="additional-info-renderer" additional-info-placement$="[[data.additionalInfoPlacement]]" hidden$="[[!data.additionalInfoRenderer]]">\n    </div>\n  </div>\n</div>\n<div id="error-renderer" hidden$="[[!isErrorRendererVisible_]]"></div>\n<div id="divider" divider-style$="[[data.dividerStyle]]" hidden$="[[!data.dividerStyle]]"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_renderer.yt.card.item.renderer.css.js--\x3e<style>:host([top-margin=CARD_ITEM_UX_SPACE_1]),[top-margin=CARD_ITEM_UX_SPACE_1] {margin-top: var(--ytd-margin-base);} :host([bottom-margin=CARD_ITEM_UX_SPACE_1]),[bottom-margin=CARD_ITEM_UX_SPACE_1] {margin-bottom: var(--ytd-margin-base);} :host([left-margin=CARD_ITEM_UX_SPACE_1]),[left-margin=CARD_ITEM_UX_SPACE_1] {margin-left: var(--ytd-margin-base);} :host([right-margin=CARD_ITEM_UX_SPACE_1]),[right-margin=CARD_ITEM_UX_SPACE_1] {margin-right: var(--ytd-margin-base);} :host([top-margin=CARD_ITEM_UX_SPACE_2]),[top-margin=CARD_ITEM_UX_SPACE_2] {margin-top: var(--ytd-margin-2x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_2]),[bottom-margin=CARD_ITEM_UX_SPACE_2] {margin-bottom: var(--ytd-margin-2x);} :host([left-margin=CARD_ITEM_UX_SPACE_2]),[left-margin=CARD_ITEM_UX_SPACE_2] {margin-left: var(--ytd-margin-2x);} :host([right-margin=CARD_ITEM_UX_SPACE_2]),[right-margin=CARD_ITEM_UX_SPACE_2] {margin-right: var(--ytd-margin-2x);} :host([top-margin=CARD_ITEM_UX_SPACE_3]),[top-margin=CARD_ITEM_UX_SPACE_3] {margin-top: var(--ytd-margin-3x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_3]),[bottom-margin=CARD_ITEM_UX_SPACE_3] {margin-bottom: var(--ytd-margin-3x);} :host([left-margin=CARD_ITEM_UX_SPACE_3]),[left-margin=CARD_ITEM_UX_SPACE_3] {margin-left: var(--ytd-margin-3x);} :host([right-margin=CARD_ITEM_UX_SPACE_3]),[right-margin=CARD_ITEM_UX_SPACE_3] {margin-right: var(--ytd-margin-3x);} :host([top-margin=CARD_ITEM_UX_SPACE_4]),[top-margin=CARD_ITEM_UX_SPACE_4] {margin-top: var(--ytd-margin-4x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_4]),[bottom-margin=CARD_ITEM_UX_SPACE_4] {margin-bottom: var(--ytd-margin-4x);} :host([left-margin=CARD_ITEM_UX_SPACE_4]),[left-margin=CARD_ITEM_UX_SPACE_4] {margin-left: var(--ytd-margin-4x);} :host([right-margin=CARD_ITEM_UX_SPACE_4]),[right-margin=CARD_ITEM_UX_SPACE_4] {margin-right: var(--ytd-margin-4x);} :host([top-margin=CARD_ITEM_UX_SPACE_5]),[top-margin=CARD_ITEM_UX_SPACE_5] {margin-top: var(--ytd-margin-5x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_5]),[bottom-margin=CARD_ITEM_UX_SPACE_5] {margin-bottom: var(--ytd-margin-5x);} :host([left-margin=CARD_ITEM_UX_SPACE_5]),[left-margin=CARD_ITEM_UX_SPACE_5] {margin-left: var(--ytd-margin-5x);} :host([right-margin=CARD_ITEM_UX_SPACE_5]),[right-margin=CARD_ITEM_UX_SPACE_5] {margin-right: var(--ytd-margin-5x);} :host([top-margin=CARD_ITEM_UX_SPACE_6]),[top-margin=CARD_ITEM_UX_SPACE_6] {margin-top: var(--ytd-margin-6x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_6]),[bottom-margin=CARD_ITEM_UX_SPACE_6] {margin-bottom: var(--ytd-margin-6x);} :host([left-margin=CARD_ITEM_UX_SPACE_6]),[left-margin=CARD_ITEM_UX_SPACE_6] {margin-left: var(--ytd-margin-6x);} :host([right-margin=CARD_ITEM_UX_SPACE_6]),[right-margin=CARD_ITEM_UX_SPACE_6] {margin-right: var(--ytd-margin-6x);} :host([top-margin=CARD_ITEM_UX_SPACE_7]),[top-margin=CARD_ITEM_UX_SPACE_7] {margin-top: var(--ytd-margin-7x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_7]),[bottom-margin=CARD_ITEM_UX_SPACE_7] {margin-bottom: var(--ytd-margin-7x);} :host([left-margin=CARD_ITEM_UX_SPACE_7]),[left-margin=CARD_ITEM_UX_SPACE_7] {margin-left: var(--ytd-margin-7x);} :host([right-margin=CARD_ITEM_UX_SPACE_7]),[right-margin=CARD_ITEM_UX_SPACE_7] {margin-right: var(--ytd-margin-7x);} :host([top-margin=CARD_ITEM_UX_SPACE_8]),[top-margin=CARD_ITEM_UX_SPACE_8] {margin-top: var(--ytd-margin-8x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_8]),[bottom-margin=CARD_ITEM_UX_SPACE_8] {margin-bottom: var(--ytd-margin-8x);} :host([left-margin=CARD_ITEM_UX_SPACE_8]),[left-margin=CARD_ITEM_UX_SPACE_8] {margin-left: var(--ytd-margin-8x);} :host([right-margin=CARD_ITEM_UX_SPACE_8]),[right-margin=CARD_ITEM_UX_SPACE_8] {margin-right: var(--ytd-margin-8x);} :host([top-margin=CARD_ITEM_UX_SPACE_9]),[top-margin=CARD_ITEM_UX_SPACE_9] {margin-top: var(--ytd-margin-9x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_9]),[bottom-margin=CARD_ITEM_UX_SPACE_9] {margin-bottom: var(--ytd-margin-9x);} :host([left-margin=CARD_ITEM_UX_SPACE_9]),[left-margin=CARD_ITEM_UX_SPACE_9] {margin-left: var(--ytd-margin-9x);} :host([right-margin=CARD_ITEM_UX_SPACE_9]),[right-margin=CARD_ITEM_UX_SPACE_9] {margin-right: var(--ytd-margin-9x);} :host([top-margin=CARD_ITEM_UX_SPACE_10]),[top-margin=CARD_ITEM_UX_SPACE_10] {margin-top: var(--ytd-margin-10x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_10]),[bottom-margin=CARD_ITEM_UX_SPACE_10] {margin-bottom: var(--ytd-margin-10x);} :host([left-margin=CARD_ITEM_UX_SPACE_10]),[left-margin=CARD_ITEM_UX_SPACE_10] {margin-left: var(--ytd-margin-10x);} :host([right-margin=CARD_ITEM_UX_SPACE_10]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-10x);} :host([top-margin=CARD_ITEM_UX_SPACE_11]),[top-margin=CARD_ITEM_UX_SPACE_11] {margin-top: var(--ytd-margin-11x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_11]),[bottom-margin=CARD_ITEM_UX_SPACE_11] {margin-bottom: var(--ytd-margin-11x);} :host([left-margin=CARD_ITEM_UX_SPACE_11]),[left-margin=CARD_ITEM_UX_SPACE_11] {margin-left: var(--ytd-margin-11x);} :host([right-margin=CARD_ITEM_UX_SPACE_11]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-11x);} :host([top-margin=CARD_ITEM_UX_SPACE_12]),[top-margin=CARD_ITEM_UX_SPACE_12] {margin-top: var(--ytd-margin-12x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_12]),[bottom-margin=CARD_ITEM_UX_SPACE_12] {margin-bottom: var(--ytd-margin-12x);} :host([left-margin=CARD_ITEM_UX_SPACE_12]),[left-margin=CARD_ITEM_UX_SPACE_12] {margin-left: var(--ytd-margin-12x);} :host([right-margin=CARD_ITEM_UX_SPACE_12]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-12x);} :host([top-margin=CARD_ITEM_UX_SPACE_13]),[top-margin=CARD_ITEM_UX_SPACE_13] {margin-top: var(--ytd-margin-13x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_13]),[bottom-margin=CARD_ITEM_UX_SPACE_13] {margin-bottom: var(--ytd-margin-13x);} :host([left-margin=CARD_ITEM_UX_SPACE_13]),[left-margin=CARD_ITEM_UX_SPACE_13] {margin-left: var(--ytd-margin-13x);} :host([right-margin=CARD_ITEM_UX_SPACE_13]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-13x);} :host([top-margin=CARD_ITEM_UX_SPACE_14]),[top-margin=CARD_ITEM_UX_SPACE_14] {margin-top: var(--ytd-margin-14x);} :host([bottom-margin=CARD_ITEM_UX_SPACE_14]),[bottom-margin=CARD_ITEM_UX_SPACE_14] {margin-bottom: var(--ytd-margin-14x);} :host([left-margin=CARD_ITEM_UX_SPACE_14]),[left-margin=CARD_ITEM_UX_SPACE_14] {margin-left: var(--ytd-margin-14x);} :host([right-margin=CARD_ITEM_UX_SPACE_14]),[right-margin=CARD_ITEM_UX_SPACE_10] {margin-right: var(--ytd-margin-14x);} :host([top-padding=CARD_ITEM_UX_SPACE_1]),[top-padding=CARD_ITEM_UX_SPACE_1] {padding-top: var(--ytd-margin-base);} :host([bottom-padding=CARD_ITEM_UX_SPACE_1]),[bottom-padding=CARD_ITEM_UX_SPACE_1] {padding-bottom: var(--ytd-margin-base);} :host([left-padding=CARD_ITEM_UX_SPACE_1]),[left-padding=CARD_ITEM_UX_SPACE_1] {padding-left: var(--ytd-margin-base);} :host([right-padding=CARD_ITEM_UX_SPACE_1]),[right-padding=CARD_ITEM_UX_SPACE_1] {padding-right: var(--ytd-margin-base);} :host([top-padding=CARD_ITEM_UX_SPACE_2]),[top-padding=CARD_ITEM_UX_SPACE_2] {padding-top: var(--ytd-margin-2x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_2]),[bottom-padding=CARD_ITEM_UX_SPACE_2] {padding-bottom: var(--ytd-margin-2x);} :host([left-padding=CARD_ITEM_UX_SPACE_2]),[left-padding=CARD_ITEM_UX_SPACE_2] {padding-left: var(--ytd-margin-2x);} :host([right-padding=CARD_ITEM_UX_SPACE_2]),[right-padding=CARD_ITEM_UX_SPACE_2] {padding-right: var(--ytd-margin-2x);} :host([top-padding=CARD_ITEM_UX_SPACE_3]),[top-padding=CARD_ITEM_UX_SPACE_3] {padding-top: var(--ytd-margin-3x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_3]),[bottom-padding=CARD_ITEM_UX_SPACE_3] {padding-bottom: var(--ytd-margin-3x);} :host([left-padding=CARD_ITEM_UX_SPACE_3]),[left-padding=CARD_ITEM_UX_SPACE_3] {padding-left: var(--ytd-margin-3x);} :host([right-padding=CARD_ITEM_UX_SPACE_3]),[right-padding=CARD_ITEM_UX_SPACE_3] {padding-right: var(--ytd-margin-3x);} :host([top-padding=CARD_ITEM_UX_SPACE_4]),[top-padding=CARD_ITEM_UX_SPACE_4] {padding-top: var(--ytd-margin-4x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_4]),[bottom-padding=CARD_ITEM_UX_SPACE_4] {padding-bottom: var(--ytd-margin-4x);} :host([left-padding=CARD_ITEM_UX_SPACE_4]),[left-padding=CARD_ITEM_UX_SPACE_4] {padding-left: var(--ytd-margin-4x);} :host([right-padding=CARD_ITEM_UX_SPACE_4]),[right-padding=CARD_ITEM_UX_SPACE_4] {padding-right: var(--ytd-margin-4x);} :host([top-padding=CARD_ITEM_UX_SPACE_5]),[top-padding=CARD_ITEM_UX_SPACE_5] {padding-top: var(--ytd-margin-5x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_5]),[bottom-padding=CARD_ITEM_UX_SPACE_5] {padding-bottom: var(--ytd-margin-5x);} :host([left-padding=CARD_ITEM_UX_SPACE_5]),[left-padding=CARD_ITEM_UX_SPACE_5] {padding-left: var(--ytd-margin-5x);} :host([right-padding=CARD_ITEM_UX_SPACE_5]),[right-padding=CARD_ITEM_UX_SPACE_5] {padding-right: var(--ytd-margin-5x);} :host([top-padding=CARD_ITEM_UX_SPACE_6]),[top-padding=CARD_ITEM_UX_SPACE_6] {padding-top: var(--ytd-margin-6x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_6]),[bottom-padding=CARD_ITEM_UX_SPACE_6] {padding-bottom: var(--ytd-margin-6x);} :host([left-padding=CARD_ITEM_UX_SPACE_6]),[left-padding=CARD_ITEM_UX_SPACE_6] {padding-left: var(--ytd-margin-6x);} :host([right-padding=CARD_ITEM_UX_SPACE_6]),[right-padding=CARD_ITEM_UX_SPACE_6] {padding-right: var(--ytd-margin-6x);} :host([top-padding=CARD_ITEM_UX_SPACE_7]),[top-padding=CARD_ITEM_UX_SPACE_7] {padding-top: var(--ytd-margin-7x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_7]),[bottom-padding=CARD_ITEM_UX_SPACE_7] {padding-bottom: var(--ytd-margin-7x);} :host([left-padding=CARD_ITEM_UX_SPACE_7]),[left-padding=CARD_ITEM_UX_SPACE_7] {padding-left: var(--ytd-margin-7x);} :host([right-padding=CARD_ITEM_UX_SPACE_7]),[right-padding=CARD_ITEM_UX_SPACE_7] {padding-right: var(--ytd-margin-7x);} :host([top-padding=CARD_ITEM_UX_SPACE_8]),[top-padding=CARD_ITEM_UX_SPACE_8] {padding-top: var(--ytd-margin-8x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_8]),[bottom-padding=CARD_ITEM_UX_SPACE_8] {padding-bottom: var(--ytd-margin-8x);} :host([left-padding=CARD_ITEM_UX_SPACE_8]),[left-padding=CARD_ITEM_UX_SPACE_8] {padding-left: var(--ytd-margin-8x);} :host([right-padding=CARD_ITEM_UX_SPACE_8]),[right-padding=CARD_ITEM_UX_SPACE_8] {padding-right: var(--ytd-margin-8x);} :host([top-padding=CARD_ITEM_UX_SPACE_9]),[top-padding=CARD_ITEM_UX_SPACE_9] {padding-top: var(--ytd-margin-9x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_9]),[bottom-padding=CARD_ITEM_UX_SPACE_9] {padding-bottom: var(--ytd-margin-9x);} :host([left-padding=CARD_ITEM_UX_SPACE_9]),[left-padding=CARD_ITEM_UX_SPACE_9] {padding-left: var(--ytd-margin-9x);} :host([right-padding=CARD_ITEM_UX_SPACE_9]),[right-padding=CARD_ITEM_UX_SPACE_9] {padding-right: var(--ytd-margin-9x);} :host([top-padding=CARD_ITEM_UX_SPACE_10]),[top-padding=CARD_ITEM_UX_SPACE_10] {padding-top: var(--ytd-margin-10x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_10]),[bottom-padding=CARD_ITEM_UX_SPACE_10] {padding-bottom: var(--ytd-margin-10x);} :host([left-padding=CARD_ITEM_UX_SPACE_10]),[left-padding=CARD_ITEM_UX_SPACE_10] {padding-left: var(--ytd-margin-10x);} :host([right-padding=CARD_ITEM_UX_SPACE_10]),[right-padding=CARD_ITEM_UX_SPACE_10] {padding-right: var(--ytd-margin-10x);} :host([top-padding=CARD_ITEM_UX_SPACE_11]),[top-padding=CARD_ITEM_UX_SPACE_11] {padding-top: var(--ytd-margin-11x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_11]),[bottom-padding=CARD_ITEM_UX_SPACE_11] {padding-bottom: var(--ytd-margin-11x);} :host([left-padding=CARD_ITEM_UX_SPACE_11]),[left-padding=CARD_ITEM_UX_SPACE_11] {padding-left: var(--ytd-margin-11x);} :host([right-padding=CARD_ITEM_UX_SPACE_11]),[right-padding=CARD_ITEM_UX_SPACE_11] {padding-right: var(--ytd-margin-11x);} :host([top-padding=CARD_ITEM_UX_SPACE_12]),[top-padding=CARD_ITEM_UX_SPACE_12] {padding-top: var(--ytd-margin-12x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_12]),[bottom-padding=CARD_ITEM_UX_SPACE_12] {padding-bottom: var(--ytd-margin-12x);} :host([left-padding=CARD_ITEM_UX_SPACE_12]),[left-padding=CARD_ITEM_UX_SPACE_12] {padding-left: var(--ytd-margin-12x);} :host([right-padding=CARD_ITEM_UX_SPACE_12]),[right-padding=CARD_ITEM_UX_SPACE_12] {padding-right: var(--ytd-margin-12x);} :host([top-padding=CARD_ITEM_UX_SPACE_13]),[top-padding=CARD_ITEM_UX_SPACE_13] {padding-top: var(--ytd-margin-13x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_13]),[bottom-padding=CARD_ITEM_UX_SPACE_13] {padding-bottom: var(--ytd-margin-13x);} :host([left-padding=CARD_ITEM_UX_SPACE_13]),[left-padding=CARD_ITEM_UX_SPACE_13] {padding-left: var(--ytd-margin-13x);} :host([right-padding=CARD_ITEM_UX_SPACE_13]),[right-padding=CARD_ITEM_UX_SPACE_13] {padding-right: var(--ytd-margin-13x);} :host([top-padding=CARD_ITEM_UX_SPACE_14]),[top-padding=CARD_ITEM_UX_SPACE_14] {padding-top: var(--ytd-margin-14x);} :host([bottom-padding=CARD_ITEM_UX_SPACE_14]),[bottom-padding=CARD_ITEM_UX_SPACE_14] {padding-bottom: var(--ytd-margin-14x);} :host([left-padding=CARD_ITEM_UX_SPACE_14]),[left-padding=CARD_ITEM_UX_SPACE_14] {padding-left: var(--ytd-margin-14x);} :host([right-padding=CARD_ITEM_UX_SPACE_14]),[right-padding=CARD_ITEM_UX_SPACE_14] {padding-right: var(--ytd-margin-14x);} :host {display: block;--yt-card-item-actions-text-button-margin-right: var(--ytd-neg-margin-5x);--yt-card-item-actions-blue-text-button-margin-right: var( --ytd-neg-margin-4x );} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_TOP] #main-content-negative-margin-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START] #main-content-negative-margin-wrapper {margin-top: var(--ytd-neg-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START_NOWRAP] #main-content-negative-margin-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START] #main-content-negative-margin-wrapper[content-placement=CARD_ITEM_PRIMARY_CONTENT_PLACEMENT_CENTER] {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START] #main-content-negative-margin-wrapper #heading-description-container {margin-top: var(--ytd-margin-2x);margin-right: var(--ytd-margin-6x);-ms-align-self: center;-webkit-align-self: center;align-self: center;} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START] #main-content-negative-margin-wrapper #heading-description-container #header-promo-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START] #main-content-negative-margin-wrapper #heading-description-container #header-promo-container #header-promo-renderer {-ms-align-self: center;-webkit-align-self: center;align-self: center;padding-left: var(--ytd-margin-base);padding-right: var(--ytd-margin-base);margin-left: var(--ytd-margin-base);} #main-content:not([box-style=CARD_ITEM_BOX_STYLE_OFFER_ITEM])[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START] #main-content-negative-margin-wrapper #heading-description-container {margin-right: var(--yt-card-item-main-content-margin-right,var(--ytd-margin-6x));} #main-content[primary-container-placement=CARD_ITEM_PRIMARY_CONTAINER_PLACEMENT_START] #main-content-negative-margin-wrapper #additional-info-renderer {margin-top: var(--ytd-margin-2x);margin-left: auto;} #main-content[box-style=CARD_ITEM_BOX_STYLE_OFFER_ITEM] {border: 1px solid var(--yt-spec-10-percent-layer);margin-top: -1px;} #main-content[role=link] {cursor: pointer;} #additional-info-renderer[additional-info-placement=CARD_ITEM_ADDITIONAL_INFO_PLACEMENT_TOP] {-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #additional-info-renderer[additional-info-placement=CARD_ITEM_ADDITIONAL_INFO_PLACEMENT_CENTER] {-ms-align-self: center;-webkit-align-self: center;align-self: center;} #additional-info-renderer[additional-info-placement=CARD_ITEM_ADDITIONAL_INFO_PLACEMENT_BOTTOM] {-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} #error-renderer {margin-top: var(--ytd-neg-margin-3x);} #divider[divider-style=DIVIDER_STYLE_FULL_BLEED_THIN] {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #divider[divider-style=DIVIDER_STYLE_INSET_THIN] {margin-left: var(--ytd-margin-6x);margin-right: var(--ytd-margin-6x);border-bottom: 1px solid var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=yt-card-item-renderer.css.map*/</style>";
rAb=d}d=rAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return sAb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior,_.vF.YtCardItemBoxBehavior,_.xF.YtTappableItemBehavior],properties:{data:Object,isExpanded_:{type:Boolean,value:!1},isErrorRendererVisible_:{type:Boolean,value:!1}},listeners:{"yt-toggle-button":"onYtToggleButton_"},observers:["backgroundColorChanged_(data.backgroundColor)","errorRendererVisibilityChanged_(data.errorRenderer, isExpanded_)","headerPromoBackgroundColorChanged_(data.headerPromoBackgroundColor)"],stampDom:{"data.headingRenderer":{id:"heading-renderer",
mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"},cardItemTextWithImageRenderer:{component:"yt-card-item-text-with-image-renderer"},cardItemTextWithButtonRenderer:{component:"yt-card-item-text-with-button-renderer"}}},"data.descriptionRenderer":{id:"description-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},"data.additionalInfoRenderer":{id:"additional-info-renderer",mapping:{cardItemActionsRenderer:{component:"yt-card-item-actions-renderer"},
cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"},themedImageRenderer:{component:"yt-themed-image-renderer"},cardItemTextWithButtonRenderer:{component:"yt-card-item-text-with-button-renderer"}}},"data.errorRenderer":{id:"error-renderer",mapping:{cardItemErrorRenderer:{component:"yt-card-item-error-renderer"}}},"data.headerPromoRenderer":{id:"header-promo-renderer",mapping:{cardItemTextRenderer:{component:"yt-card-item-text-renderer"}}}},created:function(){this.tappableItemBehaviorTargetId=
this.cardItemBoxBehaviorPaddingTargetId="main-content"},
backgroundColorChanged_:function(a){this.$["main-content"].style.backgroundColor=_.wF[a||"CARD_ITEM_COLOR_UNKNOWN"]||"transparent"},
headerPromoBackgroundColorChanged_:function(a){this.$["header-promo-renderer"].style.backgroundColor=_.wF[a||"CARD_ITEM_COLOR_UNKNOWN"]||"transparent"},
errorRendererVisibilityChanged_:function(a,b){this.isErrorRendererVisible_=!!a&&!b},
onYtToggleButton_:function(a,b){this.isExpanded_=b.toggled}});
_.$u("cardItemSection","commerceCartHeaderRenderer",{component:"ytd-commerce-cart-header-renderer",noInjection:!0});var kY=function(){var a=_.K.apply(this,arguments)||this;a.hidden=!1;return a};
_.q(kY,_.K);_.f=kY.prototype;_.f.configureRendererStamper=function(){return{"data.item":{id:"item",mapping:{cardItemRenderer:"yt-card-item-renderer"}}}};
_.f.entityChanged=function(){this.commerceCartHeaderEntity&&(this.updateIsHidden(),this.updateSummaryText(),this.updateCheckoutButton(),this.updateTitle())};
_.f.updateIsHidden=function(){if(this.compact)this.hidden=!1;else{var a,b=null==(a=this.commerceCartHeaderEntity)?void 0:a.isHidden;void 0!==b&&(this.hidden=b)}};
_.f.updateTitle=function(){var a=this.commerceCartHeaderEntity.isDisabled,b,c,d,e=null==(b=this.data)?void 0:null==(c=b.item)?void 0:null==(d=c.cardItemRenderer)?void 0:d.headingRenderer;e&&(b=zX(e,"textRenderers"),this.set("data.item.cardItemRenderer.headingRenderer."+b+".0.cardItemTextRenderer.textColor",a?"CARD_ITEM_COLOR_TEXT_DISABLED":"CARD_ITEM_COLOR_TEXT_PRIMARY"))};
_.f.updateSummaryText=function(){var a=this.commerceCartHeaderEntity;if(this.compact){var b,c,d,e=null==(b=this.data)?void 0:null==(c=b.item)?void 0:null==(d=c.cardItemRenderer)?void 0:d.headingRenderer;e&&(b=zX(e,"textRenderers"),this.set("data.item.cardItemRenderer.headingRenderer."+b+".1.cardItemTextRenderer.text",a.shortHeaderSummaryText?AX(a.shortHeaderSummaryText):""))}else{var h,l;if(b=null==(e=this.data)?void 0:null==(h=e.item)?void 0:null==(l=h.cardItemRenderer)?void 0:l.additionalInfoRenderer)b=
zX(b,"cardItemTextRenderer"),this.set("data.item.cardItemRenderer.additionalInfoRenderer."+b+".text",a.shortHeaderSummaryText?AX(a.headerSummaryText):"")}};
_.f.updateCheckoutButton=function(){var a=this.commerceCartHeaderEntity,b,c,d,e=null==(b=this.data)?void 0:null==(c=b.item)?void 0:null==(d=c.cardItemRenderer)?void 0:d.additionalInfoRenderer;b=zX(e,"buttonRenderer");var h;c=null==(h=this.commerceCartHeaderEntity)?void 0:h.isButtonDisabled;void 0!==c&&this.set("data.item.cardItemRenderer.additionalInfoRenderer."+b+".buttonRenderer.isDisabled",c);var l;a=null==(l=a.checkoutButtonCommand)?void 0:l.innertubeCommand;void 0!==a&&this.set("data.item.cardItemRenderer.additionalInfoRenderer."+
b+".buttonRenderer.command",a)};
_.t.Object.defineProperties(kY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commerce-cart-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_header_renderer.ytd.commerce.cart.header.renderer.css.js--\x3e<div id="item"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_header_renderer.ytd.commerce.cart.header.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([compact]) {position: sticky;top: 0;z-index: 1;background-color: var(--yt-spec-brand-background-primary);} /*# sourceMappingURL=ytd-commerce-cart-header-renderer.css.map*/</style>";
lAb=d}d=lAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mAb=a}a=mAb;return a}}});
var lY=kY;lY.prototype.entityChanged=lY.prototype.entityChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],lY.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],lY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],lY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],lY.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],lY.prototype,"compact",void 0);_.S([_.N({selectorArgs:["data.commerceCartHeaderEntityKey"],selector:function(a,b){return _.Yg(a.entities,"commerceCartHeaderEntity",b)}}),
_.T("design:type",Object)],lY.prototype,"commerceCartHeaderEntity",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],lY.prototype,"hidden",void 0);_.S([_.P("commerceCartHeaderEntity","data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],lY.prototype,"entityChanged",null);lY=_.S([_.Q({asyncProperties:!0,is:"ytd-commerce-cart-header-renderer"})],lY);
var tAb;
var uAb;
var vAb,wAb=function(){if(void 0!==vAb)return vAb;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>/*# sourceMappingURL=ytd-quantity-incrementer-view-model.css.map*/</style>";return vAb=a};
document.head.appendChild(wAb().content);
var xAb;
var yAb,zAb=function(){if(void 0!==yAb)return yAb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>@require "google3/video/youtube/web/contrib/web_interface_library/youtube_standards/colors/semantic_colors"; .yt-spec-quantity-incrementer-shape {display: flex;flex-direction: row;align-items: center;} .yt-spec-quantity-incrementer-shape__button {display: flex;justify-content: center;align-items: center;height: 48px;width: 48px;background-color: transparent;border-style: none;cursor: pointer;} .yt-spec-quantity-incrementer-shape__iconWrapper {display: flex;justify-content: center;align-items: center;width: 24px;height: 24px;border-radius: 50%;background-color: var(--yt-spec-general-background-c);} .yt-spec-quantity-incrementer-shape__text {color: var(--yt-spec-text-secondary);background-color: transparent;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .yt-spec-quantity-incrementer-shape__text--invalid {color: var(--yt-spec-error-indicator);} .yt-spec-quantity-incrementer-shape__text--text-disabled {color: var(--yt-spec-text-disabled);} .yt-spec-quantity-incrementer-shape__icon {display: flex;justify-content: center;align-items: center;width: 16px;height: 16px;color: var(--yt-spec-call-to-action);} .yt-spec-quantity-incrementer-shape__icon--disabled {color: var(--yt-spec-icon-disabled);} /*# sourceMappingURL=yt-quantity-incrementer-shape.css.map*/</style>';
return yAb=a};
document.head.appendChild(zAb().content);
var AAb;
var mY=function(a,b){var c=this;this.hostElement=a;this.events=new _.fm;this.props=b;this.events.subscribe("update",function(){(0,_.GKa)(c.hostElement,c.render.bind(c))});
this.events.subscribe("connected",function(){var d;null==(d=c.onConnected)||d.call(c)});
this.events.subscribe("disconnected",function(){var d;null==(d=c.onDisconnected)||d.call(c)})};
mY.prototype.setState=function(a){Object.assign(this.state,a);(0,_.GKa)(this.hostElement,this.render.bind(this))};
mY.typeKey="Component";
var CX=[];_.oLa.push(function(){for(var a=CX.length-1;0<=a;a--){var b=CX[a];b.hostElement.isConnected||(b.events.JSC$32713_publish("disconnected"),CX.splice(a,1))}});
var BAb=function(a,b,c){var d=0;return function(e){_.g.clearTimeout(d);var h=arguments;d=_.g.setTimeout(function(){a.apply(c,h)},b)}}(function(a){var b;
return null==(b=a.onChangeCallback)?void 0:b.call(a,a.value)},1E3),BX=function(){mY.apply(this,arguments);
this.state={quantity:this.props.data.value}};
_.q(BX,mY);BX.typeKey=mY.typeKey;
BX.prototype.render=function(){var a=this,b=this.props.data.disabled?this.props.data.disabled:!1,c={};c=(c["yt-spec-quantity-incrementer-shape"]=!0,c);var d={},e=(d["yt-spec-quantity-incrementer-shape__icon"]=!0,d["yt-spec-quantity-incrementer-shape__icon--disabled"]=1===this.props.data.value||b,d);d={};var h=(d["yt-spec-quantity-incrementer-shape__icon"]=!0,d["yt-spec-quantity-incrementer-shape__icon--disabled"]=this.props.data.value>=this.props.data.maxValue||b,d);d={};var l=(d["yt-spec-quantity-incrementer-shape__text"]=
!0,d["yt-spec-quantity-incrementer-shape__text--invalid"]=this.props.data.value>this.props.data.maxValue,d["yt-spec-quantity-incrementer-shape__text--text-disabled"]=b,d);(0,_.gx)({className:DX(c)},function(){(0,_.pLa)({className:"yt-spec-quantity-incrementer-shape__button",disabled:1===a.props.data.value||b,"aria-label":1!==a.props.data.value?a.props.data.minusLabel:a.props.data.minimumReachedLabel,onclick:function(){1!==a.props.data.value&&(a.props.data.value>a.props.data.maxValue?a.props.data.value=
a.props.data.maxValue:a.props.data.value--,a.setState({quantity:a.props.data.value}),BAb(a.props.data))}},function(){(0,_.gx)({className:"yt-spec-quantity-incrementer-shape__iconWrapper"},function(){(0,_.gx)({className:DX(e)},function(){a.props.iconMinus()})})});
(0,_.gx)({className:DX(l)},function(){_.NYa(a.props.data.value)});
(0,_.pLa)({className:"yt-spec-quantity-incrementer-shape__button",disabled:a.props.data.value>=a.props.data.maxValue||b,"aria-label":a.props.data.value!==a.props.data.maxValue?a.props.data.plusLabel:a.props.data.maximumReachedLabel,onclick:function(){a.props.data.value!==a.props.data.maxValue&&(a.props.data.value++,a.setState({quantity:a.props.data.value}),BAb(a.props.data))}},function(){(0,_.gx)({className:"yt-spec-quantity-incrementer-shape__iconWrapper"},function(){(0,_.gx)({className:DX(h)},function(){a.props.iconPlus()})})})})};
BX.tagName="quantity-incrementer-shape";
var nY=function(){return _.K.apply(this,arguments)||this};
_.q(nY,_.K);nY.prototype.renderIdom=function(){this.data&&rzb(this.data,function(){_.Iw("yt-icon",{icon:"BAR_HORIZONTAL",size:"16",style:"width: 16px; height: 16px;"},_.MYa)},function(){_.Iw("yt-icon",{icon:"ADD",
size:"16",style:"width: 16px; height: 16px;"},_.MYa)})};
_.t.Object.defineProperties(nY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===AAb){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-quantity-incrementer-shape--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.web_interface_library.main_app.yt_quantity_incrementer_shape.yt.quantity.incrementer.shape.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);a.content.insertBefore(zAb().content.cloneNode(!0),a.content.firstChild);AAb=a}a=AAb;return a}}});
var oY=nY;_.S([_.L(_.kLa),_.T("design:type",Object)],oY.prototype,"ytIdomTemplatingBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],oY.prototype,"data",void 0);oY=_.S([_.lu({is:"yt-quantity-incrementer-shape",isInjectionRoot:!0})],oY);
var pY=function(){return _.K.apply(this,arguments)||this};
_.q(pY,_.K);pY.prototype.computeQuantityShapeIncrementerShape=function(){var a=this;if(!this.data||!this.data.quantity||!this.data.maxQuantity)return{};var b=this.data,c=b.minusButton,d=b.plusButton,e,h,l,m;return{value:b.quantity,maxValue:b.maxQuantity,onChangeCallback:function(p){a.updateQuantityIncrementerEntity(p)},
minusLabel:null==c?void 0:null==(e=c.quantityIncrementerButtonViewModel)?void 0:e.label,minimumReachedLabel:null==c?void 0:null==(h=c.quantityIncrementerButtonViewModel)?void 0:h.limitReachedLabel,plusLabel:null==d?void 0:null==(l=d.quantityIncrementerButtonViewModel)?void 0:l.label,maximumReachedLabel:null==d?void 0:null==(m=d.quantityIncrementerButtonViewModel)?void 0:m.limitReachedLabel}};
pY.prototype.updateQuantityIncrementerEntity=function(a){var b,c=(null==(b=this.data)?void 0:b.quantityIncrementerEntityKey)||"";c&&(b={},b.quantity=a,this.ytdReduxBehavior.dispatch(_.aF("quantityIncrementerEntity",c,b)),a=_.hh.getState(),c=_.Yg(a.entities,"quantityIncrementerEntity",c),(null==c?0:c.onSelectCommand)&&this.ytComponentBehavior.resolveCommand(c.onSelectCommand))};
_.t.Object.defineProperties(pY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-quantity-incrementer-view-model--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.view_models.ypc.ytd_quantity_incrementer_view_model.ytd.quantity.incrementer.view.model.css.js--\x3e<yt-quantity-incrementer-shape data="[[computeQuantityShapeIncrementerShape(data)]]"></yt-quantity-incrementer-shape>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);a.content.insertBefore(wAb().content.cloneNode(!0),a.content.firstChild);xAb=a}a=xAb;return a}}});
var qY=pY;_.S([_.L(_.Wu),_.T("design:type",Object)],qY.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],qY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],qY.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],qY.prototype,"data",void 0);qY=_.S([_.Q({is:"ytd-quantity-incrementer-view-model"})],qY);
var rY=function(){var a=_.K.apply(this,arguments)||this;a.compact=!1;a.hasQuantityIncrementer=!1;return a};
_.q(rY,_.K);rY.prototype.configureRendererStamper=function(){return{"data.picker":{id:"picker",mapping:{quantityIncrementerViewModel:"ytd-quantity-incrementer-view-model",dropdownRenderer:{component:"ytd-dropdown-renderer",params:{autosize:!0,minAutosizeWidth:0,noUnderline:!0,noLabelFloat:!0,usePrimaryColor:!0}}}},"data.price":{id:"price",mapping:{cardItemTextRenderer:"yt-card-item-text-renderer"}}}};
rY.prototype.computeHasQuantityIncrementer=function(){var a,b;return!!(null==(a=this.data)?0:null==(b=a.picker)?0:b.quantityIncrementerViewModel)};
rY.prototype.onLabelClick=function(){var a;null==(a=this.dropdownEl)||a.open()};
_.t.Object.defineProperties(rY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commerce-cart-item-quantity-picker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_item_quantity_picker_renderer.ytd.commerce.cart.item.quantity.picker.renderer.css.js--\x3e<div id="picker-label" on-click="onLabelClick">[[getSimpleString(data.pickerLabel)]]</div>\n<div id="picker"></div>\n<div id="price"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_item_quantity_picker_renderer.ytd.commerce.cart.item.quantity.picker.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #picker-label {color: var(--yt-spec-text-primary);padding-right: 4px;cursor: pointer;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #picker {margin-top: 1px;margin-right: 20px;} :host {height: 20px;} :host([compact]) #picker-label {display: none;} :host([compact]) #picker {margin: 0;} :host([compact]) #price {width: 72px;margin-left: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([quantity-color=CARD_ITEM_COLOR_ERROR_INDICATOR]) #picker-label {color: var(--yt-spec-brand-link-text);} :host([quantity-color=CARD_ITEM_COLOR_ERROR_INDICATOR]) ytd-dropdown-renderer {--paper-dropdown-menu-color: var(--yt-spec-brand-link-text);} :host([has-quantity-incrementer][compact]) #price {margin-left: -4px;} :host([has-quantity-incrementer]) #picker-label {display: none;} :host([has-quantity-incrementer]) #picker {margin: 0;} :host([has-quantity-incrementer]) #price {width: 72px;margin-left: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} /*# sourceMappingURL=ytd-commerce-cart-item-quantity-picker-renderer.css.map*/</style>';
tAb=d}d=tAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uAb=a}a=uAb;return a}}});
var sY=rY;_.S([_.Z("ytd-dropdown-renderer"),_.T("design:type",_.LF)],sY.prototype,"dropdownEl",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],sY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],sY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],sY.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],sY.prototype,"quantityColor",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],sY.prototype,"compact",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasQuantityIncrementer(data)"}),_.T("design:type",Object)],sY.prototype,"hasQuantityIncrementer",void 0);sY=_.S([_.Q({is:"ytd-commerce-cart-item-quantity-picker-renderer"})],sY);
var CAb;
var DAb;
var EAb;
var FAb;
var tY=function(){return _.K.apply(this,arguments)||this};
_.q(tY,_.K);tY.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
tY.prototype.entityChanged=function(){this.disabledCartItemEntity&&(this.updateTitle(),this.updateButton())};
tY.prototype.updateTitle=function(){var a=this.disabledCartItemEntity;a.disableActionName&&this.set("data.title",AX(a.disableActionName))};
tY.prototype.updateButton=function(){var a,b=null==(a=this.disabledCartItemEntity.undoCommand)?void 0:a.innertubeCommand;void 0!==b&&(this.set("data.actionButton.buttonRenderer.command",b),this.set("data.actionButton.buttonRenderer.isDisabled",!1))};
_.t.Object.defineProperties(tY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-disabled-cart-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_disabled_cart_item_renderer.ytd.disabled.cart.item.renderer.css.js--\x3e<div id="text-container">\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string>\n</div>\n<div id="action-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===EAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_disabled_cart_item_renderer.ytd.disabled.cart.item.renderer.css.js--\x3e<style>:host {margin: 12px;height: 144px;padding-left: 12px;padding-right: 4px;background-color: var(--yt-spec-general-background-a);color: var(--yt-spec-text-primary);-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #text-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #description {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-disabled-cart-item-renderer.css.map*/</style>';
EAb=d}d=EAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FAb=a}a=FAb;return a}}});
var uY=tY;uY.prototype.entityChanged=uY.prototype.entityChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],uY.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],uY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],uY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N({selectorArgs:["data.disabledCartItemEntityKey"],selector:function(a,b){return _.Yg(a.entities,"disabledCartItemEntity",b)}}),
_.T("design:type",Object)],uY.prototype,"disabledCartItemEntity",void 0);_.S([_.N(),_.T("design:type",Object)],uY.prototype,"data",void 0);_.S([_.P("disabledCartItemEntity","data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uY.prototype,"entityChanged",null);uY=_.S([_.Q({asyncProperties:!0,is:"ytd-disabled-cart-item-renderer"})],uY);
_.$u("cardItemSection","commerceCartItemRenderer",{component:"ytd-commerce-cart-item-renderer",noInjection:!0,properties:{compact:"[[compact]]"}});var vY=function(){var a=_.K.apply(this,arguments)||this;a.compact=!1;a.hidden=!1;a.errorHidden=!1;a.noOnTap=!1;return a};
_.q(vY,_.K);_.f=vY.prototype;
_.f.configureRendererStamper=function(){return{"data.title":{id:"title",mapping:{cardItemTextRenderer:"yt-card-item-text-renderer"}},"data.textMetadata":{id:"text-metadata",mapping:{cardItemTextRenderer:"yt-card-item-text-renderer"}},"data.merchantUpdateText":{id:"merchant-update-text",mapping:{cardItemTextRenderer:"yt-card-item-text-renderer"}},"data.cartItemNotification":{id:"cart-item-notification",mapping:{cardItemTextWithImageRenderer:"yt-card-item-text-with-image-renderer"}},"data.cardItemActions":{id:"cart-item-actions",
mapping:{buttonRenderer:{component:"yt-button-renderer",params:{alignByText:!0,iconAlignByText:!0},properties:{disableTextTransform:"[[compact]]"}}}},"data.quantityPicker":{id:"quantity-picker",mapping:{commerceCartItemQuantityPickerRenderer:{component:"ytd-commerce-cart-item-quantity-picker-renderer",properties:{compact:"[[compact]]",quantityColor:"[[commerceCartItemEntity.quantityColor]]"}}}},"data.disabledCartItem":{id:"disabled-cart-item",mapping:{disabledCartItemRenderer:"ytd-disabled-cart-item-renderer"}}}};
_.f.entityChanged=function(){this.commerceCartItemEntity&&(this.updateQuantity(),this.updateIsHidden(),this.updateHideErrorMessage())};
_.f.computeNoOnTap=function(a){return!a};
_.f.updateQuantityColor=function(){if(this.pickerElement){var a,b=null==(a=this.commerceCartItemEntity)?void 0:a.quantityColor;this.pickerElement.quantityColor=b}};
_.f.updateTotalPriceColor=function(){var a,b=null==(a=this.commerceCartItemEntity)?void 0:a.totalPriceColor;if(b){var c,d,e,h;if(a=null==(e=null==(c=this.data)?void 0:null==(d=c.quantityPicker)?void 0:d.commerceCartItemQuantityPickerRenderer)?void 0:null==(h=e.price)?void 0:h.cardItemTextRenderer)a.textColor=b}};
_.f.updateIsHidden=function(){if(this.compact)this.hidden=!1;else{var a,b=null==(a=this.commerceCartItemEntity)?void 0:a.isHidden;void 0!==b&&(this.hidden=b)}};
_.f.updateHideErrorMessage=function(){var a,b=null==(a=this.commerceCartItemEntity)?void 0:a.hideErrorMessage;void 0!==b&&(this.errorHidden=b)};
_.f.updateQuantity=function(){var a=this,b,c=null==(b=this.commerceCartItemEntity)?void 0:b.quantity,d;b=null==(d=this.commerceCartItemEntity)?void 0:d.totalPrice;if(c){this.updateTotalPriceColor();this.updateQuantityColor();var e,h;d=null==(e=this.data)?void 0:null==(h=e.quantityPicker)?void 0:h.commerceCartItemQuantityPickerRenderer;var l;if(e=null==d?void 0:null==(l=d.price)?void 0:l.cardItemTextRenderer)e.text=b?{simpleText:b.content}:void 0;var m;if(l=null==d?void 0:null==(m=d.picker)?void 0:
m.quantityIncrementerViewModel)l.quantity=c;var p,r;if(m=null==d?void 0:null==(p=d.picker)?void 0:null==(r=p.dropdownRenderer)?void 0:r.entries){p=!1;r=void 0;m=_.k(m);for(l=m.next();!l.done;l=m.next())l=l.value,l.dropdownItemRenderer&&(r||(r=l.dropdownItemRenderer),l.dropdownItemRenderer.isSelected=!1,c===l.dropdownItemRenderer.int32Value&&(p=!0,l.dropdownItemRenderer.isSelected=!0));!p&&r&&(r.isSelected=!0)}_.nt(this,function(){var v;a.set("data.quantityPicker",_.u.unsafeClone(null==(v=a.data)?
void 0:v.quantityPicker))})}};
_.t.Object.defineProperties(vY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===DAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commerce-cart-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_item_renderer.ytd.commerce.cart.item.renderer.css.js--\x3e<div id="container" hidden="[[commerceCartItemEntity.isDisabled]]">\n  <a id="img-container" class="yt-simple-endpoint" href$="[[computeHref_(data.onTap)]]" data="[[data.onTap]]" tabindex="-1">\n    <yt-img-shadow id="image" object-fit="CONTAIN" thumbnail="[[data.cartItemImage]]" width="200">\n    </yt-img-shadow>\n  </a>\n  <div id="content">\n    <div id="item">\n      <div id="info">\n        <div id="cart-item-notification"></div>\n        <h3>\n            <a class="yt-simple-endpoint" href$="[[computeHref_(data.onTap)]]" data="[[data.onTap]]">\n              <div id="title"></div>\n            </a>\n        </h3>\n        <div id="text-metadata"></div>\n        <div id="merchant-update-text"></div>\n      </div>\n      <div id="quantity-picker"></div>\n    </div>\n    <div id="actions">\n      <div id="cart-item-actions"></div>\n    </div>\n  </div>\n</div>\n<div id="disabled-cart-item" hidden="[[!commerceCartItemEntity.isDisabled]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_item_renderer.ytd.commerce.cart.item.renderer.css.js--\x3e<style>#container {padding: 12px 16px 12px 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([compact]) #container {padding: 12px 16px 16px 12px;} :host([compact]) #container #img-container {padding: 10px;margin-right: 12px;} :host([compact]) #container yt-img-shadow {width: 40px;height: 40px;} :host([compact]) #container #actions {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([error-hidden]) #cart-item-notification,:host([error-hidden]) #merchant-update-text {display: none;} :host([no-on-tap]) #img-container {cursor: default;} :host([no-on-tap]) #title yt-card-item-text-renderer {cursor: default;} #img-container {padding: 24px;border: 1px solid var(--yt-spec-10-percent-layer);background-color: var(--yt-spec-static-brand-white);border-radius: 4px;margin-right: 12px;cursor: pointer;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #merchant-update-text yt-card-item-text-renderer {margin: 12px 0;} #info {margin-right: 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #item {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-img-shadow {width: 152px;height: 152px;} yt-button-renderer {marin-right: 8px;} #cart-item-notification yt-card-item-text-with-image-renderer {margin: 4px 0 18px;} #cart-item-actions yt-button-renderer:not(:first-child) {margin-left: 0;} /*# sourceMappingURL=ytd-commerce-cart-item-renderer.css.map*/</style>";
CAb=d}d=CAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);DAb=a}a=DAb;return a}}});
var wY=vY;wY.prototype.entityChanged=wY.prototype.entityChanged;_.S([_.N(),_.T("design:type",Object)],wY.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],wY.prototype,"compact",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],wY.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],wY.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],wY.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],wY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N({selectorArgs:["data.commerceCartItemEntityKey"],selector:function(a,b){return _.Yg(a.entities,"commerceCartItemEntity",b)}}),
_.T("design:type",Object)],wY.prototype,"commerceCartItemEntity",void 0);_.S([_.N(),_.T("design:type",Object)],wY.prototype,"quantityPicker",void 0);_.S([_.N(),_.T("design:type",Object)],wY.prototype,"compactQuantityPicker",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],wY.prototype,"hidden",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],wY.prototype,"errorHidden",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeNoOnTap(data.onTap)"}),_.T("design:type",Boolean)],wY.prototype,"noOnTap",void 0);_.S([_.Z("ytd-commerce-cart-item-quantity-picker-renderer"),_.T("design:type",sY)],wY.prototype,"pickerElement",void 0);_.S([_.P("commerceCartItemEntity","data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],wY.prototype,"entityChanged",null);wY=_.S([_.Q({is:"ytd-commerce-cart-item-renderer"})],wY);
var GAb=function(){return _.vt.apply(this,arguments)||this};
_.q(GAb,_.vt);_.f=GAb.prototype;_.f.bindIf=function(a,b,c){return a?b:c};
_.f.bindIfDefined=function(a,b){return void 0!==a?a:b};
_.f.booleanString=function(a){return(!!a).toString()};
_.f.equals=function(){for(var a=_.Ob.apply(0,arguments),b=a[0],c=1;c<a.length;c++)if(b!=a[c])return!1;return!0};
_.f.isGreaterThan=function(a,b){return a>b};
_.f.isLessThan=function(a,b){return a<b};
_.f.logicalAND=function(){for(var a=_.Ob.apply(0,arguments),b=!!a[0],c=1;c<a.length;c++)b=b&&!!a[c];return b};
_.f.logicalOR=function(){for(var a=_.Ob.apply(0,arguments),b=!!a[0],c=1;c<a.length;c++)b=b||!!a[c];return b};
_.f.toBool=function(a){return!!a};
var xY=GAb;xY.prototype.toBool=xY.prototype.toBool;xY.prototype.logicalOR=xY.prototype.logicalOR;xY.prototype.logicalAND=xY.prototype.logicalAND;xY.prototype.isLessThan=xY.prototype.isLessThan;xY.prototype.isGreaterThan=xY.prototype.isGreaterThan;xY.prototype.equals=xY.prototype.equals;xY.prototype.booleanString=xY.prototype.booleanString;xY.prototype.bindIfDefined=xY.prototype.bindIfDefined;xY.prototype.bindIf=xY.prototype.bindIf;xY=_.S([_.wt()],xY);_.HAb=[xY.prototype];
var IAb;
var JAb;
var KAb;
var LAb;
_.Ng({is:"yt-offer-item-upsell-renderer",_template:function(){if(void 0!==LAb)return LAb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-offer-item-upsell-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_offer_item_upsell_renderer.yt.offer.item.upsell.renderer.css.js--\x3e<div id="image-renderer" hidden="[[!data.imageRenderer]]"></div>\n<div id="heading-price-container">\n  <div id="heading-renderer"></div>\n  <div id="price-renderer"></div>\n</div>\n<div id="description-actions-container">\n  <div id="description-renderer"></div>\n  <div id="actions-renderer"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_offer_item_upsell_renderer.yt.offer.item.upsell.renderer.css.js--\x3e<style>:host {display: block;padding: var(--ytd-margin-4x) var(--ytd-margin-6x);} :host(:last-child) {padding-bottom: var(--yt-offer-item-upsell-renderer-last-child-padding-bottom,var(--ytd-margin-4x));} #heading-price-container {margin-bottom: var(--ytd-margin-3x);display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} #description-actions-container {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #description-renderer {width: 50%;} #image-renderer {margin-bottom: var(--ytd-margin-3x);} /*# sourceMappingURL=yt-offer-item-upsell-renderer.css.map*/</style>";
KAb=d}d=KAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return LAb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},observers:["backgroundColorChanged_(data.backgroundColor)"],stampDom:{"data.imageRenderer":{id:"image-renderer",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer"}}},"data.headingRenderer":{id:"heading-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},"data.descriptionRenderer":{id:"description-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},
"data.priceRenderer":{id:"price-renderer",mapping:{cardItemTextRenderer:{component:"yt-card-item-text-renderer"}}},"data.actionsRenderer":{id:"actions-renderer",mapping:{cardItemActionsRenderer:{component:"yt-card-item-actions-renderer"}}}},backgroundColorChanged_:function(a){this.style.backgroundColor=_.wF[a||"CARD_ITEM_COLOR_UNKNOWN"]||"transparent"}});
_.$u("itemSectionRenderer","CardItemContainerRenderer","yt-card-item-container-renderer");
_.Ng({is:"yt-card-item-container-renderer",_template:function(){if(void 0!==JAb)return JAb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-card-item-container-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_container_renderer.yt.card.item.container.renderer.css.js--\x3e<div id="container" hidden="[[computeContainerIsHidden_(cardItemContainerEntity_)]]">\n  <div id="base"></div>\n  <div id="divider" hidden="[[!isExpanded_]]" container-style_$="[[containerStyle_]]"></div>\n  <div id="contents-section" hidden="[[!isExpanded_]]">\n    <div id="contents"></div>\n    <div id="continuation-section"></div>\n    <tp-yt-paper-spinner id="spinner" active="[[showSpinner_]]"></tp-yt-paper-spinner>\n    <div id="more-contents-button" hidden="[[!showMoreContentsButton_]]" on-click="onShowMoreContentsButtonClicked_"></div>\n  </div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_card_item_container_renderer.yt.card.item.container.renderer.css.js--\x3e<style>:host {display: block;border: 1px solid var(--yt-spec-10-percent-layer);margin-bottom: var(--ytd-margin-2x);--yt-offer-item-upsell-renderer-last-child-padding-bottom: var( --ytd-margin-6x );display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([container-style_=CARD_ITEM_CONTAINER_STYLE_BORDERLESS]) {border: none;} :host([container-style_=CARD_ITEM_CONTAINER_STYLE_LARGE_BORDER]) {margin-bottom: 0;border: none;} :host([container-style_=CARD_ITEM_CONTAINER_STYLE_LARGE_BORDER]:not(:last-child)) {border-bottom: 6px solid var(--yt-spec-10-percent-layer);} :host([compact]) ytd-commerce-cart-checkout-button-renderer {margin: 0 16px;} #base {width: 100%;} #contents {display: block;width: 100%;} #contents-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([is-expanded_]) #continuation-section {display: block;width: 100%;} #continuation-section {display: none;} #continuation-section ytd-item-section-renderer:first-child:not(:only-child),#continuation-section ytmusic-item-section-renderer:first-child:not(:only-child) {margin-bottom: var(--ytd-margin-5x);} #continuation-section ytd-item-section-renderer:only-child,#continuation-section ytmusic-item-section-renderer:only-child {margin-bottom: var(--ytd-margin-2x);} :host([show-spinner_]) tp-yt-paper-spinner {display: inline-block;padding: var(--ytd-margin-6x);-ms-align-self: center;-webkit-align-self: center;align-self: center;} tp-yt-paper-spinner {display: none;} #divider {border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin-left: var(--ytd-margin-6x);margin-right: var(--ytd-margin-6x);} #divider[container-style_=CARD_ITEM_CONTAINER_STYLE_BORDERLESS],#divider[container-style_=CARD_ITEM_CONTAINER_STYLE_LARGE_BORDER] {border-bottom: none;} #more-contents-button {cursor: pointer;padding: 2px 0;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #more-contents-button:hover {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-icon-active-other);} #more-contents-button:focus {outline: none;} /*# sourceMappingURL=yt-card-item-container-renderer.css.map*/</style>";
IAb=d}d=IAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return JAb=a},
isInjectionRoot:!0,behaviors:[_.YF.YtContinuationHandlerBehavior,_.Y.YtActionHandlerBehavior,_.X.YtRendererstamperBehavior,_.AF.YtNextContinuationBehavior,_.U.YtRendererBehavior,_.Tza.InjectBehavior],properties:{data:{type:Object,observer:"dataChanged_"},compact:{reflectToAttribute:!0,type:Boolean,value:!1},isExpanded_:{type:Boolean,reflectToAttribute:!0,value:!1},containerStyle_:{type:String,computed:"computeContainerStyle_(data.containerStyle)",reflectToAttribute:!0,value:"CARD_ITEM_CONTAINER_STYLE_DEFAULT"},
continuationStatus_:{type:String,value:"not-started"},showSpinner_:{type:Boolean,reflectToAttribute:!0,computed:"computeShowSpinner_(isExpanded_, continuationStatus_)",value:!1},isOnClickCommand_:{type:Boolean,value:!1},showMoreContentsButton_:{type:Boolean,computed:"computeShowMoreContentsButton_(isExpanded_, showSpinner_, isOnClickCommand_, data.continuations, data.contents)",value:!1},cardItemContainerEntity_:{type:Object,selectorArgs:["data.cardItemContainerEntityKey"],selector:function(a,b){return!b||
a.entities?null:_.Yg(a.entities,"cardItemContainerEntity",b)}}},
actionMap:{"yt-update-card-item-on-click-command":"updateCardOnClickCommand_"},listeners:{"yt-toggle-button":"onToggleButton_","yt-next-continuation-data-updated":"nextContinuationDataUpdated_"},observers:["backgroundColorChanged_(data.backgroundColor)"],stampDom:{"data.baseRenderer":{id:"base",mapping:{cardItemRenderer:{component:"yt-card-item-renderer",noInjection:!0}}},"data.contents":{id:"contents",mapping:{commerceCartHeaderRenderer:{component:"ytd-commerce-cart-header-renderer",properties:{compact:"[[compact]]"},
noInjection:!0},commerceCartCheckoutButtonRenderer:{component:"ytd-commerce-cart-checkout-button-renderer",noInjection:!0,properties:{fullWidth:"[[compact]]"}},commerceCartItemRenderer:{component:"ytd-commerce-cart-item-renderer",noInjection:!0,properties:{compact:"[[compact]]"}},cardItemRenderer:{component:"yt-card-item-renderer",noInjection:!0},offerItemUpsellRenderer:{component:"yt-offer-item-upsell-renderer",noInjection:!0},activityItemRenderer:{component:"yt-activity-item-renderer",noInjection:!0}}},
"data.continuationSection":{id:"continuation-section",mapping:_.TE("sharingItemSection")},"data.moreContentsButtonRenderer":{id:"more-contents-button",mapping:{buttonRenderer:{component:"yt-button-renderer",noInjection:!0}}}},nextContinuation:{continuationType:"sectionListContinuation",contentsArray:"data.continuationSection"},configureContinuationPathMap:function(){return{"yt-append-continuation-items-action":"continuationSection"}},
computeContainerStyle_:function(a){return a},
computeContainerIsHidden_:function(a){return a&&!!a.isHidden},
computeShowSpinner_:function(a,b){return a&&"in-progress"===b},
computeShowMoreContentsButton_:function(a,b,c,d,e){return!(!(d&&d.length||e&&e.length&&c)||!a||b)},
onToggleButton_:function(a){var b=this;a.stopPropagation();(this.isExpanded_=a.detail&&a.detail.toggled)&&!this.data.continuationSection.length&&this.data.continuation&&this.data.continuation.onClickContinuationData&&"in-progress"!==this.continuationStatus_?(this.fire("yt-load-next-continuation",function(c){return b.getContinuationUrl_(b.data.continuation.onClickContinuationData,c)}),this.continuationStatus_="in-progress"):this.isExpanded_&&!this.data.continuationSection.length&&this.data.onClickCommand&&
"in-progress"!==this.continuationStatus_&&(_.Kg(this,[this.data.onClickCommand]),this.continuationStatus_="in-progress")},
onShowMoreContentsButtonClicked_:function(a){var b=this;a.stopPropagation();this.data.continuations&&this.data.continuations[0].nextContinuationData?(this.fire("yt-load-next-continuation",function(c){return b.getContinuationUrl_(b.data.continuations[0].nextContinuationData,c)}),this.continuationStatus_="in-progress"):this.data.onClickCommand&&(_.Kg(this,[this.data.onClickCommand]),this.continuationStatus_="in-progress",this.data.onClickCommand=void 0,this.isOnClickCommand_=!1)},
getContinuationUrl_:function(a,b){var c=a.continuation;a=a.clickTrackingParams;var d=_.fg();a&&d&&_.pt(d,_.no(a));return _.vd(b,{continuation:c})},
nextContinuationDataUpdated_:function(){this.continuationStatus_="complete";var a=this.querySelector("#continuation-section");a&&(a=a.querySelectorAll("ytmusic-item-section-renderer"))&&a.forEach(function(b){return b.classList.add("memberships-and-purchases")})},
dataChanged_:function(){this.isExpanded_=!!this.data.contents;this.data.continuationSection||(this.data.continuationSection=[]);this.data.onClickCommand&&(this.isOnClickCommand_=!0)},
updateCardOnClickCommand_:function(a){a=a.updateCardItemOnClickCommand;this.data&&this.data.targetId&&a&&a.targetId===this.data.targetId&&a.onClickCommand&&(this.data.onClickCommand=a.onClickCommand,this.isOnClickCommand_=!0)},
backgroundColorChanged_:function(a){this.style.backgroundColor=_.wF[a||"CARD_ITEM_COLOR_UNKNOWN"]||"transparent"}});
var MAb;
var NAb;
var yY,zY=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-mute-ad-action":"handleMuteAd"};return a};
_.q(zY,_.K);zY.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.mediaHoverOverlay":{id:"media-hover-overlay",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{verticallyAligned:!0}}}},"data.mediaBadge":{id:"media-badge-search",mapping:{metadataBadgeRenderer:{component:"ytd-badge-supported-renderer",properties:{topStandaloneBadge:"[[data.mediaBadge]]"}}}}}};
zY.prototype.dataChanged=function(){if(_.x("desktop_log_img_click_location")){if(!this.data||!this.data.impressionCommands||!this.data.clickLocationTargets)return}else if(!this.data||!this.data.impressionCommands)return;this.set("data.adBadge",yY.JSC$41150_DEFAULT_AD_BADGE_RENDERER);this.toggleClass("sparkles-light-cta",!0);this.data.activeView&&this.ytdActiveViewBehavior.enableActiveViewMeasurement(this.data.activeView,17);this.data.impressionCommands.forEach(function(a){a=_.k(a.loggingUrls||[]);
for(var b=a.next();!b.done;b=a.next())b=b.value,b.baseUrl&&_.Te(b.baseUrl)});
_.x("desktop_log_img_click_location")&&this.ytSparklesClickLocationBehavior.configureClickTargets("sparkles-container",this.data.clickLocationTargets,yY.JSC$41150_CLICK_LOCATION_ID_MAP)};
zY.prototype.onTap=function(a){if(_.x("desktop_log_img_click_location")){var b,c=null==(b=this.data)?void 0:b.navigationEndpoint,d;if(d=b=null==(d=this.data)?void 0:d.thumbnailNavigationEndpoint)a:{var e=_.H(a).path||[];d=["thumbnail-container"];e=_.k(e);for(var h=e.next();!h.done;h=e.next()){h=h.value;if(h===this)break;for(var l=_.k(d),m=l.next();!m.done;m=l.next())if(h.id===m.value){d=!0;break a}}d=!1}d?this.ytSparklesClickLocationBehavior.handleClick(b,a):c&&this.ytSparklesClickLocationBehavior.handleClick(c,
a)}else this.data&&this.data.navigationEndpoint&&(a.preventDefault(),this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint}))};
zY.prototype.handleMuteAd=function(){this.collapsed=!0};
_.t.Object.defineProperties(zY.prototype,{hideHoverOverlay:{configurable:!0,enumerable:!0,get:function(){return!this.data||!this.data.mediaHoverOverlay}},
webSearchLayout:{configurable:!0,enumerable:!0,get:function(){var a;return"PROMOTED_SPARKLES_WEB_STYLE_LANDSCAPE_IMAGE_ASPECT_RATIO"===(null==(a=this.data)?void 0:a.promotedSparklesWebStyle)}},
webSearchLayoutLandscape:{configurable:!0,enumerable:!0,get:function(){var a;return!("PROMOTED_SPARKLES_WEB_STYLE_LANDSCAPE_IMAGE_ASPECT_RATIO"!==(null==(a=this.data)?void 0:a.promotedSparklesWebStyle)||this.data.isSquareThumbnail)}},
webSearchLayoutSquare:{configurable:!0,enumerable:!0,get:function(){var a;return!("PROMOTED_SPARKLES_WEB_STYLE_LANDSCAPE_IMAGE_ASPECT_RATIO"!==(null==(a=this.data)?void 0:a.promotedSparklesWebStyle)||!this.data.isSquareThumbnail)}},
sparklesCtaNoBackground:{configurable:!0,enumerable:!0,get:function(){var a;return!("PROMOTED_SPARKLES_WEB_STYLE_LANDSCAPE_IMAGE_ASPECT_RATIO"!==(null==(a=this.data)?void 0:a.promotedSparklesWebStyle)||!_.x("desktop_image_cta_no_background"))}},
gpaSparklesTenPercentLayer:{configurable:!0,enumerable:!0,get:function(){return _.x("gpa_sparkles_ten_percent_layer")}},
hideActionButton:{configurable:!0,enumerable:!0,get:function(){return!(this.data&&this.data.actionButton)}}});
_.t.Object.defineProperties(zY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-promoted-sparkles-web-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_promoted_sparkles_web_renderer.ytd.promoted.sparkles.web.renderer.css.js--\x3e<div id="sparkles-container" on-tap="onTap">\n  <div id="thumbnail-container">\n    <div id="thumbnail-hover-container">\n      <div id="thumbnail-deep-container">\n        <yt-img-shadow id="thumbnail" object-fit="CONTAIN" thumbnail="[[data.thumbnail]]">\n        </yt-img-shadow>\n        <div id="media-badge-search"></div>\n      </div>\n      <div id="media-hover-overlay"></div>\n    </div>\n  </div>\n  <div id="sparkles-body">\n    <h3 id="title" title$="[[getSimpleString(data.title)]]">\n        [[getSimpleString(data.title)]]\n    </h3>\n    <div id="description">\n      [[getSimpleString(data.description)]]\n    </div>\n    <div id="website-text-container">\n      <ytd-badge-supported-renderer id="ad-badge" top-standalone-badge="[[data.adBadge]]">\n      </ytd-badge-supported-renderer>\n      <div id="website-text">\n        [[getSimpleString(data.websiteText)]]\n      </div>\n    </div>\n    <div id="action-button"></div>\n  </div>\n</div>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_promoted_sparkles_web_renderer.ytd.promoted.sparkles.web.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host:hover #media-hover-overlay {visibility: visible;} :host([collapsed]) {display: none;} #sparkles-container {pointer-events: none;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #thumbnail-container {position: relative;margin-right: 8px;cursor: pointer;pointer-events: auto;height: 168px;width: 168px;} #thumbnail-hover-container {position: relative;} #thumbnail-deep-container,#thumbnail,#thumbnail img {height: 168px;width: 168px;} #media-hover-overlay {position: absolute;visibility: hidden;top: 0;right: 0;left: 0;bottom: 0;background-color: var(--yt-spec-static-overlay-background-medium);-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #media-hover-overlay ytd-button-renderer {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([hide-hover-overlay]) #media-hover-overlay {display: none;} #sparkles-body {width: 10px;padding-right: 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([web-search-layout]) #sparkles-body {padding-right: 0;} #title {cursor: pointer;pointer-events: auto;text-overflow: ellipsis;width: 100%;display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} #website-text-container {cursor: pointer;pointer-events: auto;overflow: hidden;text-overflow: ellipsis;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #website-text {color: var(--yt-spec-text-secondary);padding-left: 3px;text-overflow: ellipsis;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #description {color: var(--yt-spec-text-secondary);width: 100%;margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 5.4rem;overflow: hidden;display: block;-webkit-line-clamp: 3;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #action-button {margin-top: 16px;max-width: 100%;} :host([hide-action-button]) #action-button {display: none;} :host([web-search-layout]) #action-button {margin-right: calc(var(--yt-icon-width)/-2);} #action-button ytd-button-renderer {cursor: pointer;pointer-events: auto;background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);max-width: 100%;} :host(.sparkles-light-cta) #action-button ytd-button-renderer {background-color: var(--yt-spec-suggested-action);color: var(--yt-spec-call-to-action);} :host([sparkles-cta-no-background]) #action-button ytd-button-renderer {background-color: transparent;} :host(:not([web-search-layout])) ytd-menu-renderer {cursor: pointer;pointer-events: auto;position: absolute;top: 0;right: 0;} :host(:not([web-search-layout])) ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} :host(:not([web-search-layout])) #media-badge-search {display: none;} :host([web-search-layout]) #thumbnail-container {width: auto;height: auto;max-width: 360px;min-width: 240px;display: flex;justify-content: center;align-items: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([web-search-layout]) #media-badge-search {position: absolute;width: 28px;height: 28px;border-radius: 2px;right: 8px;bottom: 8px;background-color: var(--yt-spec-static-overlay-background-solid);--ytd-badge-icon-size: 22px;--ytd-badge-icon-color: var(--yt-spec-static-overlay-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([web-search-layout]) #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} :host([web-search-layout]) #action-button {align-self: end;} :host([web-search-layout]) #sparkles-container {margin-top: 16px;} :host([web-search-layout]) ytd-menu-renderer {margin-top: 16px;} :host([web-search-layout]) #sparkles-body {margin-left: 8px;width: auto;} :host([web-search-layout]) #website-text {padding-left: 8px;} :host([web-search-layout-square]) #thumbnail-container {max-height: 202px;} :host([web-search-layout-square]) #thumbnail-deep-container {position: relative;} :host([web-search-layout-square]) #thumbnail-deep-container,:host([web-search-layout-square]) #thumbnail,:host([web-search-layout-square]) #thumbnail img {width: 202px;height: 202px;} :host([web-search-layout-landscape]) #thumbnail-deep-container {position: relative;height: fit-content;width: auto;} :host([web-search-layout-landscape]) #thumbnail,:host([web-search-layout-landscape]) #thumbnail img {width: auto;height: auto;} :host([gpa-sparkles-ten-percent-layer]) #thumbnail-container {background-color: var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=ytd-promoted-sparkles-web-renderer.css.map*/</style>';
MAb=d}d=MAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NAb=a}a=NAb;return a}}});
var AY=yY=zY;yY.prototype.dataChanged=yY.prototype.dataChanged;
AY.JSC$41150_CLICK_LOCATION_ID_MAP=new Map([["PROMOTED_SPARKLES_CLICK_LOCATION_TITLE","title"],["PROMOTED_SPARKLES_CLICK_LOCATION_THUMBNAIL","thumbnail-container"],["PROMOTED_SPARKLES_CLICK_LOCATION_DESCRIPTION","description"],["PROMOTED_SPARKLES_CLICK_LOCATION_ACTION_LABEL","action-button"],["PROMOTED_SPARKLES_CLICK_LOCATION_AD_BADGE","ad-badge"],["PROMOTED_SPARKLES_CLICK_LOCATION_TEXT_AD_WEBSITE","website-text"],["PROMOTED_SPARKLES_CLICK_LOCATION_BACKGROUND","sparkles-container"]]);
AY.JSC$41150_DEFAULT_AD_BADGE_RENDERER={metadataBadgeRenderer:{label:_.Bg("AD_BADGE_TEXT",void 0,"Ad"),style:"BADGE_STYLE_TYPE_AD"}};_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],AY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AY.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.yX),_.T("design:type",Object)],AY.prototype,"ytdActiveViewBehavior",void 0);
_.S([_.L([_.Y.YtActionHandlerBehavior]),_.T("design:type",Object)],AY.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.bWa.YtSparklesClickLocationBehavior),_.T("design:type",Object)],AY.prototype,"ytSparklesClickLocationBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AY.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],AY.prototype,"collapsed",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data.mediaHoverOverlay"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AY.prototype,"hideHoverOverlay",null);_.S([_.N({reflectToAttribute:!0}),_.V("data.promotedSparklesWebStyle"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AY.prototype,"webSearchLayout",null);
_.S([_.N({reflectToAttribute:!0}),_.V("data.promotedSparklesWebStyle","data.isSquareThumbnail"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AY.prototype,"webSearchLayoutLandscape",null);_.S([_.N({reflectToAttribute:!0}),_.V("data.promotedSparklesWebStyle","data.isSquareThumbnail"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AY.prototype,"webSearchLayoutSquare",null);
_.S([_.N({reflectToAttribute:!0}),_.V("data.promotedSparklesWebStyle"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AY.prototype,"sparklesCtaNoBackground",null);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object),_.T("design:paramtypes",[])],AY.prototype,"gpaSparklesTenPercentLayer",null);_.S([_.N({reflectToAttribute:!0}),_.V("data.actionButton"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],AY.prototype,"hideActionButton",null);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],AY.prototype,"dataChanged",null);AY=yY=_.S([_.Q({is:"ytd-promoted-sparkles-web-renderer"})],AY);
var OAb;
var PAb;
var QAb=function(){return _.K.apply(this,arguments)||this};
_.q(QAb,_.K);
_.t.Object.defineProperties(QAb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-age-gate-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_channel_age_gate_renderer.ytd.channel.age.gate.renderer.css.js--\x3e<div id="container">\n  <div id="channel-container">\n    <div id="channel">[[data.channelTitle]]</div>\n    <yt-img-shadow thumbnail="[[data.avatar]]" width="144"></yt-img-shadow>\n  </div>\n  <div id="info">\n    <yt-formatted-string id="header" text="[[data.header]]"></yt-formatted-string>\n    <yt-formatted-string text="[[data.mainText]]"></yt-formatted-string>\n    <ytd-button-renderer align-by-text="" data="[[data.signInButton.buttonRenderer]]">\n    </ytd-button-renderer>\n    <yt-formatted-string text="[[data.secondaryText]]">\n    </yt-formatted-string>\n  </div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_channel_age_gate_renderer.ytd.channel.age.gate.renderer.css.js--\x3e<style>:host {display: block;padding: 96px;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #container {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: none;-webkit-flex: none;flex: none;} yt-formatted-string {color: var(--yt-spec-text-secondary);padding-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} ytd-button-renderer,#channel {padding-bottom: 8px;} #channel {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #header {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #channel-container {padding-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;} yt-img-shadow {width: 144px;height: 144px;border-radius: 50%;background-color: transparent;overflow: hidden;} #info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #info>ytd-button-renderer {-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} /*# sourceMappingURL=ytd-channel-age-gate-renderer.css.map*/</style>';
OAb=d}d=OAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PAb=a}a=PAb;return a}}});
var BY=QAb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],BY.prototype,"kevlarBehaviors",void 0);_.S([_.N(),_.T("design:type",Object)],BY.prototype,"data",void 0);BY=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-age-gate-renderer"})],BY);
var RAb;
var SAb;
_.$u("sharingItemSection","channelOwnerEmptyStateRenderer","ytd-channel-owner-empty-state-renderer");var CY=function(){var a=_.K.apply(this,arguments)||this;a.data=null;return a};
_.q(CY,_.K);CY.prototype.configureRendererStamper=function(){return{"data.uploadVideoButton":{id:"upload-video-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(CY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-owner-empty-state-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_owner_empty_state_renderer.ytd.channel.owner.empty.state.renderer.css.js--\x3e<div class="container">\n  <div class="illustration">\n    <yt-img-shadow height="180" thumbnail="[[data.illustration]]">\n    </yt-img-shadow>\n  </div>\n  <div class="content">\n    <div class="header">\n      <h2>\n        <yt-formatted-string id="title" class="header-title" text="[[data.title]]">\n        </yt-formatted-string>\n      </h2>\n    </div>\n    <div class="description">\n      <yt-formatted-string id="description" class="description-text" text="[[data.description]]">\n      </yt-formatted-string>\n    </div>\n    <div class="button-layer">\n      <span id="upload-video-button"></span>\n    </div>\n    <div class="learn-more">\n      <template is="dom-repeat" items="[[data.additionalInfos]]">\n        <yt-formatted-string text="[[item]]"></yt-formatted-string>\n      </template>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_owner_empty_state_renderer.ytd.channel.owner.empty.state.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;} .container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;height: 384px;margin-top: 96px;margin-bottom: 56px;} .content {margin-top: 12px;width: 528px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .header {text-align: center;padding: 0 24px;margin-bottom: 8px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .header-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} .description {margin-bottom: 24px;padding: 0 24px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .description-text {text-align: center;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .button-layer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .learn-more {text-align: center;color: var(--yt-spec-text-secondary);margin-top: 24px;min-height: 32px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} /*# sourceMappingURL=ytd-channel-owner-empty-state-renderer.css.map*/</style>';
RAb=d}d=RAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SAb=a}a=SAb;return a}}});
var DY=CY;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],DY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],DY.prototype,"data",void 0);DY=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-owner-empty-state-renderer"})],DY);
var TAb;
var UAb;
var VAb;
var WAb;
var XAb;
var YAb;
var wzb=(_.Ll.FIRSTDAYOFWEEK+1)%7,ZAb=function(a,b,c,d){var e="";if(d.selection&&IX(d.selection))EX(a,d.selection)&&(e+=" selected");else if(d.selection&&tzb(d.selection)){var h=d.selection.selectionState||"START_DATE";EX(a,d.selection.start)&&(e+=" period-start ","START_DATE"===h&&(e+="selected"));EX(a,d.selection.end)&&(e+=" period-end ","END_DATE"===h&&(e+="selected"));FX(a,d.selection.start)||FX(d.selection.end,a)||(e+=" highlighted")}if(FX(b,d.start)||FX(d.end,b))e+=" disabled";d.circleToday&&
EX(b,c)&&(e+=" today");return e};
var EY=function(){return _.K.apply(this,arguments)||this};
_.q(EY,_.K);_.f=EY.prototype;_.f.attached=function(){var a=this;_.nt(this,function(){0<a.JSC$41168_calendarMain.scrollHeight&&(a.calendarConfig.selection?a.scrollToDate(uzb(a.calendarConfig.selection)):a.scrollToDate(a.calendarConfig.end))})};
_.f.updateSelection=function(a){a=xzb(Object.assign({},this.calendarConfig,{selection:a}),ZAb);this.splice.apply(this,["renderData.months",0,a.length].concat(_.sc(a)))};
_.f.scrollToDate=function(a){this.renderData&&(a=yzb(a,this.renderData),void 0!==a&&this.JSC$41168_calendarMain.scrollToIndex(a))};
_.f.scrollToNextMonth=function(){this.JSC$41168_calendarMain.scrollToIndex(this.JSC$41168_calendarMain.firstVisibleIndex+1)};
_.f.scrollToPrevMonth=function(){0===this.JSC$41168_calendarMain.firstVisibleIndex&&this.JSC$41168_calendarMain.scrollTo(0,0);this.JSC$41168_calendarMain.scrollToIndex(this.JSC$41168_calendarMain.firstVisibleIndex-1)};
_.f.handleDayClick=function(a){_.C(this,"ytd-calendar-date-clicked",[a.model.day.date])};
_.f.handleDayMouseDown=function(a){a.preventDefault();_.C(this,"ytd-calendar-date-mousedown",[a.model.day.date])};
_.f.handleDayMouseUp=function(a){_.C(this,"ytd-calendar-date-mouseup",[a.model.day.date])};
_.f.handleDayMouseEnter=function(a){a.preventDefault();_.C(this,"ytd-calendar-date-mouseenter",[a.model.day.date])};
_.f.handleDayMouseLeave=function(a){_.C(this,"ytd-calendar-date-mouseleave",[a.model.day.date])};
_.t.Object.defineProperties(EY.prototype,{renderData:{configurable:!0,enumerable:!0,get:function(){var a=this.calendarConfig,b=ZAb;b=void 0===b?ZAb:b;for(var c=[],d=0;7>d;d++)c.push(_.Ll.NARROWWEEKDAYS[(d+wzb)%7]);return{months:xzb(a,b),daysOfWeekLabel:c}}}});
_.t.Object.defineProperties(EY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-scrollable-calendar--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_scrollable_calendar.ytd.scrollable.calendar.css.js--\x3e<div class="calendar-container">\n  <div class="calendar-header">\n    <template is="dom-repeat" items="[[renderData.daysOfWeekLabel]]" as="dayLabel">\n      <span class="calendar-header-day">[[dayLabel]]</span>\n    </template>\n  </div>\n\n  <tp-yt-iron-list id="calendar-main" as="month" items="[[renderData.months]]" tabindex="-1">\n    <template>\n      <div class="calendar-month">\n        <div class$="calendar-month-label [[month.monthLabelExtraCssClass]]">\n          [[month.monthLabel]]\n        </div>\n        <template is="dom-repeat" items="[[month.weeks]]" as="week">\n          <div class="calendar-week">\n            <template is="dom-repeat" items="[[week]]" as="day">\n              <span class$="calendar-day [[day.extraCssClass]] [[day.debugClass]]" on-tap="handleDayClick" on-mouseenter="handleDayMouseEnter" on-mouseleave="handleDayMouseLeave" on-mousedown="handleDayMouseDown" on-mouseup="handleDayMouseUp">\n                [[day.date.day]]\n              </span>\n            </template> \n          </div>\n        </template> \n      </div>\n    </template>\n  </tp-yt-iron-list> \n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_scrollable_calendar.ytd.scrollable.calendar.css.js--\x3e<style>:host {--ytd-scrollable-calendar-row-width: calc( 40px * 7 + 2 * 16px );min-height: 250px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .calendar-container {background-color: var(--yt-spec-brand-background-solid);max-width: calc(var(--ytd-scrollable-calendar-row-width) + 15px + 8px + 2px);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .calendar-header {background-color: var(--yt-spec-brand-background-solid);border-bottom: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;padding: 0 16px;padding-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #calendar-main {padding: 0 16px;overflow-x: hidden;overflow-y: auto;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .calendar-month {display: inline-block;} .calendar-month-label {color: var(--yt-spec-text-secondary);margin-left: 16px;margin-top: 12px;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} .calendar-month-label.shift-down-label {position: absolute;} .calendar-week {margin-left: 8px;width: var(--ytd-scrollable-calendar-row-width);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .calendar-header-day {display: inline-block;width: 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .calendar-header-day:first-of-type {margin-left: 8px;} .calendar-day {height: 40px;width: 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .calendar-header-day {color: var(--yt-spec-text-disabled);} .calendar-day {color: var(--yt-spec-text-primary);cursor: pointer;position: relative;} .calendar-day:hover:not(.disabled)::after,.calendar-day.today::after,.calendar-day.selected::after,.calendar-day.period-start::after,.calendar-day.period-end::after {border-radius: 100%;bottom: 2px;content: "";left: 2px;position: absolute;right: 2px;top: 2px;z-index: -1;} .calendar-day.today::after {box-shadow: inset 0 0 0 1px var(--yt-spec-text-disabled);} .calendar-day:hover:not(.disabled) {color: var(--yt-spec-text-primary);} .calendar-day:hover:not(.disabled)::after {background: var(--yt-spec-general-background-c);} .calendar-day.selected {color: var(--yt-spec-text-primary-inverse);} .calendar-day.period-start:not(.selected):hover::after,.calendar-day.period-end:not(.selected):hover::after {background: var(--yt-spec-general-background-c);} .calendar-day.period-start:not(.selected)::after,.calendar-day.period-end:not(.selected)::after {background: var(--yt-spec-call-to-action);} .calendar-day.selected::after {background: var(--yt-spec-call-to-action);} .calendar-day.disabled {color: var(--yt-spec-text-disabled);cursor: default;pointer-events: none;} .calendar-day.highlighted {color: var(--yt-spec-text-primary);} .calendar-day.highlighted.period-start:not(:hover),.calendar-day.highlighted.period-end:not(:hover) {color: var(--yt-spec-text-primary-inverse);} .calendar-day.highlighted::before {background-color: var(--yt-spec-suggested-action);content: "";height: calc(40px - 4px);left: 0;position: absolute;top: 2px;width: 40px;z-index: -1;} .calendar-day.highlighted:not(.selected)::before {left: 0;width: 40px;} .calendar-day.highlighted.period-start::before {left: calc(40px/2);width: calc(40px/2);} .calendar-day.highlighted.period-end::before {left: 0;width: calc(40px/2);} .calendar-day.period-start.period-end::before {background-color: transparent;} .invisible {visibility: hidden;} /*# sourceMappingURL=ytd-scrollable-calendar.css.map*/</style>';
XAb=d}d=XAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YAb=a}a=YAb;return a}}});
var FY=EY;_.S([_.N(),_.T("design:type",Object)],FY.prototype,"calendarConfig",void 0);_.S([_.Z("#calendar-main"),_.T("design:type",Object)],FY.prototype,"JSC$41168_calendarMain",void 0);_.S([_.V("calendarConfig"),_.T("design:type",Object),_.T("design:paramtypes",[])],FY.prototype,"renderData",null);FY=_.S([_.Q({asyncProperties:!0,is:"ytd-scrollable-calendar"})],FY);
var GY=function(){var a=_.K.apply(this,arguments)||this;a.data=void 0;a.selectionState="START_DATE";a.isStartDateInvalid=!1;a.isEndDateInvalid=!1;a.autoapply=!1;a.actionMap={"ytd-calendar-date-clicked":"handleCalendarDateClicked","ytd-calendar-date-mousedown":"handleCalendarDateMouseDown","ytd-calendar-date-mouseup":"handleCalendarDateMouseUp","ytd-calendar-date-mouseenter":"handleCalendarDateMouseEnter","ytd-calendar-date-mouseleave":"handleCalendarDateMouseLeave","yt-signal-action-submit-form":"handleCalendarSubmitDateRange"};
return a};
_.q(GY,_.K);_.f=GY.prototype;_.f.configureRendererStamper=function(){return{"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:{attributes:{"dialog-dismiss":!0},component:"ytd-button-renderer"}}},"data.applyButton":{id:"apply-button",mapping:{buttonRenderer:{attributes:{"dialog-dismiss":!0},component:"ytd-button-renderer"}}}}};
_.f.focus=function(){this.startDateInput.focus()};
_.f.dataChanged=function(){this.data&&this.data.selection&&(this.selection={start:HX(this.data.selection.start),end:HX(this.data.selection.end)})};
_.f.observeSelection=function(){this.selection&&this.updateCalendarSelection(this.selection);this.isEndDateInvalid=this.isStartDateInvalid=!1;this.updateDateStrings()};
_.f.resetTextboxes=function(){switch(this.selectionState){case "START_DATE":this.isStartDateInvalid=!1;break;case "END_DATE":this.isEndDateInvalid=!1;break;default:_.Bb(this.selectionState)}};
_.f.onDateInputBlur=function(){this.isEndDateInvalid=this.isStartDateInvalid=!1;this.updateDateStrings()};
_.f.onStartDateTapOrFocus=function(){this.startDate&&this.calendar.scrollToDate(this.startDate);this.selectionState="START_DATE"};
_.f.onEndDateTapOrFocus=function(){this.endDate&&this.calendar.scrollToDate(this.endDate);this.selectionState="END_DATE"};
_.f.onStartDateTextChange=function(){if(this.calendar.calendarConfig){var a=this.calendar.calendarConfig,b=a.end;a=zzb({start:a.start,end:this.endDate||b},this.startDateInput.value||"");this.isStartDateInvalid=!a.isValid;a.isValid&&(a=a.value,this.selection=this.endDate?{start:a,end:this.endDate}:a,this.calendar.scrollToDate(a));this.updateInvalidState()}};
_.f.onEndDateTextChange=function(){if(this.calendar.calendarConfig){var a=this.calendar.calendarConfig,b=a.start;a=zzb({start:this.startDate||b,end:a.end},this.endDateInput.value||"");this.isEndDateInvalid=!a.isValid;a.isValid&&(a=a.value,this.selection={start:this.startDate,end:a},this.calendar.scrollToDate(a));this.updateInvalidState()}};
_.f.handleCalendarDateClicked=function(a){var b=this.selection&&uzb(this.selection),c=this.selection&&vzb(this.selection);b&&!FX(a,b)&&"END_DATE"===this.selectionState?(this.selection={start:b,end:a},this.selectionState="START_DATE"):(c&&!FX(c,a)?this.selection={start:a,end:c}:this.selection=a,this.selectionState="END_DATE")};
_.f.handleCalendarDateMouseDown=function(a){this.selection&&!IX(this.selection)&&(this.dragPivot=EX(a,this.selection.start)?this.selection.end:EX(a,this.selection.end)?this.selection.start:a)};
_.f.handleCalendarDateMouseUp=function(){this.dragPivot=void 0};
_.f.handleCalendarDateMouseEnter=function(a){this.dragPivot&&(this.selection={start:function(b,c){return FX(b,c)?b:c}(this.dragPivot,a),
end:function(b,c){return FX(b,c)?c:b}(this.dragPivot,a)},this.dragPivot||(this.selectionState="START_DATE"))};
_.f.handleCalendarDateMouseLeave=function(){};
_.f.handleCalendarSubmitDateRange=function(){this.selection&&!IX(this.selection)&&_.C(this,"ytd-date-period-picker-apply",[this.selection])};
_.f.updateInvalidState=function(){var a=function(b,c){c?b.setAttribute("invalid",""):b.removeAttribute("invalid")};
a(this.startDateInput,this.isStartDateInvalid);a(this.endDateInput,this.isEndDateInvalid)};
_.f.updateDateStrings=function(){this.selection&&(IX(this.selection)?szb(this.selection):(szb(this.selection.start),szb(this.selection.end)))};
_.f.updateCalendarSelection=function(a){this.calendar.updateSelection(Object.assign({},a,{selectionState:this.selectionState}))};
_.t.Object.defineProperties(GY.prototype,{calendarConfig:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.selection?{start:HX(this.data.dateRangeStart),end:HX(this.data.dateRangeEnd),selection:{start:HX(this.data.selection.start),end:HX(this.data.selection.end)},circleToday:!0}:{}}},
errorMessage:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.errorMessage}},
startDate:{configurable:!0,enumerable:!0,get:function(){return this.selection&&uzb(this.selection)}},
endDate:{configurable:!0,enumerable:!0,get:function(){return this.selection&&vzb(this.selection)}}});
_.t.Object.defineProperties(GY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-date-period-picker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_date_period_picker_renderer.ytd.date.period.picker.renderer.css.js--\x3e<div id="control-area">\n  <form id="form">\n    <div class="input-and-error">\n      <yt-text-input-form-field-renderer id="start-date" auto-validate="[[autoValidate]]" component-style="BOLD_INPUT_TEXT" data="[[data.startDateField.textInputFormFieldRenderer]]" invalid="{{isStartDateInvalid}}" value="{{startDateString}}" on-blur="onDateInputBlur" on-focusin="onStartDateTapOrFocus" on-input="onStartDateTextChange" on-tap="onStartDateTapOrFocus">\n      </yt-text-input-form-field-renderer>\n      <div class="error-message" role="alert">\n        <yt-formatted-string hidden="[[!isStartDateInvalid]]" text="[[data.errorMessage]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n    <div id="separator">\u2013</div>\n    <div class="input-and-error">\n      <yt-text-input-form-field-renderer id="end-date" auto-validate="[[autoValidate]]" component-style="BOLD_INPUT_TEXT" data="[[data.endDateField.textInputFormFieldRenderer]]" invalid="{{isEndDateInvalid}}" value="{{endDateString}}" on-blur="onDateInputBlur" on-focusin="onEndDateTapOrFocus" on-input="onEndDateTextChange" on-tap="onEndDateTapOrFocus">\n      </yt-text-input-form-field-renderer>\n      <div class="error-message" role="alert">\n        <yt-formatted-string hidden="[[!isEndDateInvalid]]" text="[[data.errorMessage]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n  </form>\n</div>\n\n<ytd-scrollable-calendar id="calendar" calendar-config="[[calendarConfig]]">\n</ytd-scrollable-calendar>\n\n<div id="buttons">\n  <div id="cancel-button"></div>\n  <div id="apply-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VAb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_date_period_picker_renderer.ytd.date.period.picker.renderer.css.js--\x3e<style>:host {display: flex;flex-direction: column;overflow: hidden;width: 352px;} form {margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .error-message {color: var(--yt-spec-brand-link-text);height: 18px;margin-bottom: 4px;margin-top: -12px;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #separator {padding: 0 8px;text-align: center;} #calendar {min-height: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #control-area {margin: 0 20px;-ms-flex: none;-webkit-flex: none;flex: none;} #buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} #buttons ytd-button-renderer {margin-right: 8px;-ms-flex: none;-webkit-flex: none;flex: none;} yt-text-input-form-field-renderer {--paper-input-container-floated-label-placeholder-display: none;--paper-input-container-shared-input-style_-_padding: 4px 0;text-align: center;} /*# sourceMappingURL=ytd-date-period-picker-renderer.css.map*/</style>';
VAb=d}d=VAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WAb=a}a=WAb;return a}}});
var HY=GY;HY.prototype.resetTextboxes=HY.prototype.resetTextboxes;HY.prototype.observeSelection=HY.prototype.observeSelection;HY.prototype.dataChanged=HY.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],HY.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],HY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.Z("#calendar"),_.T("design:type",FY)],HY.prototype,"calendar",void 0);
_.S([_.Z("#start-date"),_.T("design:type",_.tF)],HY.prototype,"startDateInput",void 0);_.S([_.Z("#end-date"),_.T("design:type",_.tF)],HY.prototype,"endDateInput",void 0);_.S([_.N(),_.T("design:type",Object)],HY.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],HY.prototype,"selection",void 0);_.S([_.N(),_.T("design:type",String)],HY.prototype,"selectionState",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],HY.prototype,"calendarConfig",null);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],HY.prototype,"errorMessage",null);_.S([_.V("selection"),_.T("design:type",Object),_.T("design:paramtypes",[])],HY.prototype,"startDate",null);_.S([_.V("selection"),_.T("design:type",Object),_.T("design:paramtypes",[])],HY.prototype,"endDate",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HY.prototype,"dataChanged",null);
_.S([_.P("selection","selectionState"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HY.prototype,"observeSelection",null);_.S([_.P("selectionState"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HY.prototype,"resetTextboxes",null);HY=_.S([_.Q({asyncProperties:!0,is:"ytd-date-period-picker-renderer"})],HY);
var IY=function(){var a=_.K.apply(this,arguments)||this;var b={};a.actionMap=(b["ytd-date-period-picker-apply"]="handleDateRangeUpdated",b);return a};
_.q(IY,_.K);IY.prototype.configureRendererStamper=function(){return{"data.timeRangeDropdown":{id:"time-range-dropdown",mapping:{sortFilterSubMenuRenderer:"yt-sort-filter-sub-menu-renderer"}}}};
IY.prototype.handleDateRangeUpdated=function(){};
_.t.Object.defineProperties(IY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===UAb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-history-section-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_section_header_renderer.ytd.report.history.section.header.renderer.css.js--\x3e<div class="header-content">\n  <div id="time-range-dropdown" class="filter"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TAb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_section_header_renderer.ytd.report.history.section.header.renderer.css.js--\x3e<style>:host {display: block;} .filter:not(:first-of-type) {margin-left: 24px;} /*# sourceMappingURL=ytd-report-history-section-header-renderer.css.map*/</style>";
TAb=d}d=TAb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);UAb=a}a=UAb;return a}}});
var JY=IY;_.S([_.N(),_.T("design:type",Object)],JY.prototype,"data",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],JY.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],JY.prototype,"rendererstamperBehavior",void 0);JY=_.S([_.Q({asyncProperties:!0,is:"ytd-report-history-section-header-renderer"})],JY);
var $Ab;
var aBb;
var KY=function(){return _.K.apply(this,arguments)||this};
_.q(KY,_.K);_.t.Object.defineProperties(KY.prototype,{icon:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.data)?0:null==(b=a.icon)?0:b.iconType)?_.Ft(this.data.icon.iconType):""}}});
_.t.Object.defineProperties(KY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-history-table-text-cell-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_text_cell_renderer.ytd.report.history.table.text.cell.renderer.css.js--\x3e<div class="icon-wrapper" hidden="[[!icon]]">\n  <yt-icon icon="[[icon]]"></yt-icon>\n</div>\n<div class="text">\n  <yt-formatted-string class="main-text" split-lines="" text="[[data.text]]">\n  </yt-formatted-string>\n  <yt-formatted-string class="sub-text" split-lines="" text="[[data.shortByLineText]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Ab){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_text_cell_renderer.ytd.report.history.table.text.cell.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;} .icon-wrapper {color: var(--yt-spec-text-primary);margin-right: 8px;width: 24px;} yt-formatted-string {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);display: block;} .text {margin-top: calc(4px/2);overflow: hidden;} .main-text {color: var(--main-text-color,var(--yt-spec-text-primary));margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .sub-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-report-history-table-text-cell-renderer.css.map*/</style>';
$Ab=d}d=$Ab;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aBb=a}a=aBb;return a}}});
var LY=KY;_.S([_.N(),_.T("design:type",Object)],LY.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",String),_.T("design:paramtypes",[])],LY.prototype,"icon",null);LY=_.S([_.Q({asyncProperties:!0,is:"ytd-report-history-table-text-cell-renderer"})],LY);
var bBb;
var cBb;
var dBb;
var eBb;
var fBb;
var gBb;
var MY=function(){return _.K.apply(this,arguments)||this};
_.q(MY,_.K);MY.prototype.configureRendererStamper=function(){return{"data.latestReason":{id:"latest-reason",mapping:{reportHistoryTableTextCellRenderer:"ytd-report-history-table-text-cell-renderer"}}}};
_.t.Object.defineProperties(MY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-history-table-reason-cell-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_reason_cell_renderer.ytd.report.history.table.reason.cell.renderer.css.js--\x3e<div id="latest-reason"></div>\n<div id="show-all-reasons" hidden="[[!data.showAllReasons]]">\n  <yt-formatted-string text="[[data.showAllReasons]]"></yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_reason_cell_renderer.ytd.report.history.table.reason.cell.renderer.css.js--\x3e<style>:host {display: inline-block;} #show-all-reasons {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);margin-top: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-report-history-table-reason-cell-renderer.css.map*/</style>';
fBb=d}d=fBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gBb=a}a=gBb;return a}}});
var NY=MY;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],NY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],NY.prototype,"data",void 0);NY=_.S([_.Q({asyncProperties:!0,is:"ytd-report-history-table-reason-cell-renderer"})],NY);
var OY=function(){return _.K.apply(this,arguments)||this};
_.q(OY,_.K);OY.prototype.configureRendererStamper=function(){return{"data.cell":{id:"cell-container",mapping:{reportHistoryTableTextCellRenderer:"ytd-report-history-table-text-cell-renderer",reportHistoryTableReasonCellRenderer:"ytd-report-history-table-reason-cell-renderer"}}}};
_.t.Object.defineProperties(OY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-history-table-cell-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_cell_renderer.ytd.report.history.table.cell.renderer.css.js--\x3e<div id="cell-container"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_cell_renderer.ytd.report.history.table.cell.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=ytd-report-history-table-cell-renderer.css.map*/</style>";dBb=d}d=dBb;c.call(b,
d.content.cloneNode(!0),a.content.firstChild);eBb=a}a=eBb;return a}}});
var PY=OY;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],PY.prototype,"rendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],PY.prototype,"data",void 0);PY=_.S([_.Q({asyncProperties:!0,is:"ytd-report-history-table-cell-renderer"})],PY);
var hBb;
var iBb;
var QY=function(){var a=_.K.apply(this,arguments)||this;a.columnType={type:"REPORT_HISTORY_COLUMN_TYPE",content:"REPORT_HISTORY_COLUMN_CONTENT",reason:"REPORT_HISTORY_COLUMN_REASON",status:"REPORT_HISTORY_COLUMN_STATUS",date:"REPORT_HISTORY_COLUMN_DATE"};return a};
_.q(QY,_.K);QY.prototype.onDataChanged=function(){var a;if(null==(a=this.data)?0:a.style)this.componentStyle=this.getStyleName(this.data.style)};
QY.prototype.getCellForColumn=function(a){return this.cells.find(function(b){var c,d,e;return(null==(e=(null==b?void 0:null==(c=b.cell)?void 0:c.reportHistoryTableReasonCellRenderer)||(null==b?void 0:null==(d=b.cell)?void 0:d.reportHistoryTableTextCellRenderer))?void 0:e.columnId)===a.type})};
QY.prototype.getClassForColumn=function(a){switch(a){case "REPORT_HISTORY_COLUMN_DATE":return"date";default:return""}};
QY.prototype.getStyleName=function(a){switch(a){case "REPORT_HISTORY_ROW_STYLE_COMPACT":return"COMPACT_ROW";default:return""}};
_.t.Object.defineProperties(QY.prototype,{cells:{configurable:!0,enumerable:!0,get:function(){var a;return((null==(a=this.data)?void 0:a.cells)||[]).map(function(b){return b.reportHistoryTableCellRenderer})}}});
_.t.Object.defineProperties(QY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-history-table-row-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_row_renderer.ytd.report.history.table.row.renderer.css.js--\x3e<div id="row-container">\n  <template is="dom-repeat" items="[[columnRenderData]]" as="column">\n    <div class$="[[column.classes]] cell-body" role="cell" style$="[[column.style]]">\n      <ytd-report-history-table-cell-renderer class$="[[getClassForColumn(column.type)]]" data="[[getCellForColumn(column)]]"></ytd-report-history-table-cell-renderer>\n    </div>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_history_table_row_renderer.ytd.report.history.table.row.renderer.css.js--\x3e<style>:host {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 16px 0;} :host,#row-container {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;} ytd-report-history-table-cell-renderer {width: 100%;} :host([component-style=COMPACT_ROW]) {border-bottom: none;padding: 8px 0;} :host([component-style=COMPACT_ROW]) ytd-report-history-table-cell-renderer.date {--main-text-color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-report-history-table-row-renderer.css.map*/</style>";
hBb=d}d=hBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iBb=a}a=iBb;return a}}});
var RY=QY;RY.prototype.onDataChanged=RY.prototype.onDataChanged;_.S([_.N(),_.T("design:type",Object)],RY.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Array)],RY.prototype,"columnRenderData",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],RY.prototype,"componentStyle",void 0);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],RY.prototype,"cells",null);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RY.prototype,"onDataChanged",null);RY=_.S([_.Q({asyncProperties:!0,is:"ytd-report-history-table-row-renderer"})],RY);
var jBb;
var kBb;
var Azb={padding:12,paddingLeftFirstColumn:0,paddingRightLastColumn:0,minWidth:50,maxWidth:Infinity,flexGrow:1},JX={padding:12,paddingLeftFirstColumn:24,paddingRightLastColumn:24,minWidth:50,maxWidth:Infinity,flexGrow:0};
var SY=function(){return _.K.apply(this,arguments)||this};
_.q(SY,_.K);SY.prototype.configureRendererStamper=function(){return{"data.rows":{id:"table-body",mapping:{reportHistoryTableRowRenderer:{component:"ytd-report-history-table-row-renderer",properties:{columnRenderData:"[[columnRenderData]]"},attributes:{role:"row"}},continuationItemRenderer:{component:"ytd-continuation-item-renderer",attributes:{role:"row"}}}}}};
SY.prototype.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"rows","yt-reload-continuation-items-command-body":"rows"}};
_.t.Object.defineProperties(SY.prototype,{tableSpec:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?0:a.columns)?Gzb(this.data.columns):{columns:{},columnsToShow:[]}}},
columnRenderData:{configurable:!0,enumerable:!0,get:function(){return Dzb(this.tableSpec)}},
totalMinWidth:{configurable:!0,enumerable:!0,get:function(){var a=this.tableSpec,b=Azb;b=void 0===b?JX:b;b=Ezb(a.columnDimensions,a.columnsToShow||[],b);a=0;b=_.k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a+=c.minWidth+c.paddingLeft+c.paddingRight;return a}},
tableWidthStyle:{configurable:!0,enumerable:!0,get:function(){return _.ou({"min-width":this.totalMinWidth+"px"})}}});
_.t.Object.defineProperties(SY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-table-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_table_renderer.ytd.table.renderer.css.js--\x3e<div id="table-content" role="table" style$="[[tableWidthStyle]]">\n  <div id="table-header" role="row">\n    <template is="dom-repeat" items="[[columnRenderData]]" as="column">\n      <div class$="[[column.classes]] cell-header" style$="[[column.style]]" role="columnheader">\n        <h4 id="[[column.type]]-header-name" class="header-name">\n          <span>[[column.headerName]]</span>\n        </h4>\n        <div class="cell-header-icon" hidden="[[!column.headerIcon]]">\n          <yt-icon icon="[[column.headerIcon]]"></yt-icon>\n        </div>\n      </div>\n    </template> \n  </div>\n  <div id="table-body">\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_table_renderer.ytd.table.renderer.css.js--\x3e<style>#table-header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 16px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;} .cell-header {color: var(--yt-spec-text-disabled);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-table-renderer.css.map*/</style>';
jBb=d}d=jBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kBb=a}a=kBb;return a}}});
var TY=SY;_.S([_.L(_.rE),_.T("design:type",Object)],TY.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],TY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],TY.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],TY.prototype,"tableSpec",null);_.S([_.V("tableSpec"),_.T("design:type",Array),_.T("design:paramtypes",[])],TY.prototype,"columnRenderData",null);
_.S([_.V("tableSpec"),_.T("design:type",Number),_.T("design:paramtypes",[])],TY.prototype,"totalMinWidth",null);_.S([_.V("totalMinWidth"),_.T("design:type",_.wj),_.T("design:paramtypes",[])],TY.prototype,"tableWidthStyle",null);TY=_.S([_.Q({asyncProperties:!0,is:"ytd-table-renderer"})],TY);
var UY=function(){return _.K.apply(this,arguments)||this};
_.q(UY,_.K);UY.prototype.configureRendererStamper=function(){return{"data.reportedContent":{id:"content-info",mapping:{reportHistoryTableTextCellRenderer:"ytd-report-history-table-text-cell-renderer"}},"data.reasonsTable":{id:"reasons-table",mapping:{tableRenderer:"ytd-table-renderer"}},"data.doneButton":{id:"done-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0}}}}}};
_.t.Object.defineProperties(UY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-reason-history-modal-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_reason_history_modal_renderer.ytd.report.reason.history.modal.renderer.css.js--\x3e<div id="report-history-modal-body">\n  <h4 class="title">\n    <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n  </h4>\n  <div id="content-info"></div>\n  <tp-yt-paper-dialog-scrollable id="scroller">\n    <div id="reasons-table"></div>\n  </tp-yt-paper-dialog-scrollable>\n</div>\n<div id="report-history-modal-footer">\n  <div id="done-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.report_history.ytd_report_reason_history_modal_renderer.ytd.report.reason.history.modal.renderer.css.js--\x3e<style>:host {display: block;min-width: 400px;max-width: 500px;} :host(.style-scope) {margin: 0;padding: 0;} #report-history-modal-body {padding: 24px;} .title {color: var(--yt-spec-text-primary);margin-bottom: 20px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #content-info {margin-bottom: 12px;} #scroller {height: 250px;width: 100%;overflow: auto;--paper-dialog-scrollable-padding: 0;} #report-history-modal-footer {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} /*# sourceMappingURL=ytd-report-reason-history-modal-renderer.css.map*/</style>';
bBb=d}d=bBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cBb=a}a=cBb;return a}}});
var VY=UY;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],VY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],VY.prototype,"data",void 0);VY=_.S([_.Q({asyncProperties:!0,is:"ytd-report-reason-history-modal-renderer"})],VY);
var lBb;
var mBb;
var nBb;
var oBb;
var pBb=function(){return _.K.apply(this,arguments)||this};
_.q(pBb,_.K);
_.t.Object.defineProperties(pBb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-description-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_description_renderer.ytd.report.description.renderer.css.js--\x3e<div class="report-description-vertical-line"></div>\n<div class="report-description">\n  <div class="report-description-item">\n    <div class="report-description-upper-bullet report-description-bullet"></div>\n    <yt-formatted-string class="report-receipt" text="[[data.receipt]]">\n    </yt-formatted-string>\n  </div>\n  <div class="report-description-item">\n    <div class="report-description-lower-bullet report-description-bullet"></div>\n    <yt-formatted-string class="report-state" text="[[data.state]]">\n    </yt-formatted-string>\n  </div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_description_renderer.ytd.report.description.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .report-description-vertical-line {border-left: 2px solid var(--yt-spec-10-percent-layer);margin-left: 20px;margin-right: -5px;margin-top: 14px;margin-bottom: 13px;} .report-description {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} .report-description-item {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .report-description-bullet {min-width: 0;border-radius: 50%;width: 8px;height: 8px;margin-top: 6px;margin-right: 10px;-ms-flex: none;-webkit-flex: none;flex: none;} .report-description-upper-bullet {margin-top: 6px;background: var(--yt-spec-10-percent-layer);} .report-description-lower-bullet {margin-top: 4px;background: var(--yt-spec-text-disabled);} .report-state {min-width: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .report-receipt {min-width: 0;white-space: pre-wrap;overflow-wrap: break-word;word-break: break-word;margin-bottom: 16px;} /*# sourceMappingURL=ytd-report-description-renderer.css.map*/</style>';
nBb=d}d=nBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oBb=a}a=oBb;return a}}});
var WY=pBb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],WY.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],WY.prototype,"data",void 0);WY=_.S([_.Q({asyncProperties:!0,is:"ytd-report-description-renderer"})],WY);
var qBb;
var rBb;
var XY=function(){return _.K.apply(this,arguments)||this};
_.q(XY,_.K);XY.prototype.configureRendererStamper=function(){return{"data.description":{id:"description",mapping:{reportDescriptionRenderer:"ytd-report-description-renderer"}}}};
_.t.Object.defineProperties(XY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-report-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_video_report_renderer.ytd.video.report.renderer.css.js--\x3e<div class="report-thumbnail"></div>\n<div class="report-info">\n  <yt-formatted-string class="report-title" text="[[data.title]]">\n  </yt-formatted-string>\n  <yt-formatted-string class="report-subtitle" text="[[data.shortBylineText]]">\n  </yt-formatted-string>\n</div>\n<div id="description"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_video_report_renderer.ytd.video.report.renderer.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .report-info {flex-basis: 500px;min-width: 200px;padding: 4px;overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .report-info yt-formatted-string {margin-bottom: 4px;} .report-subtitle {white-space: pre-wrap;overflow-wrap: break-word;word-break: break-all;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .report-thumbnail {background-color: var(--yt-spec-10-percent-layer);height: 54px;margin-right: 16px;width: 96px;} @media screen and (max-width:712px) {.report-thumbnail {display: none;}} .report-title {white-space: pre-wrap;overflow-wrap: break-word;word-break: break-word;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #description {overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-video-report-renderer.css.map*/</style>';
qBb=d}d=qBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rBb=a}a=rBb;return a}}});
var YY=XY;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],YY.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YY.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YY.prototype,"data",void 0);YY=_.S([_.Q({asyncProperties:!0,is:"ytd-video-report-renderer"})],YY);
var ZY=function(){return _.K.apply(this,arguments)||this};
_.q(ZY,_.K);ZY.prototype.configureRendererStamper=function(){return{"data.reportHistorySectionRenderers":{id:"items",mapping:{videoReportRenderer:"ytd-video-report-renderer"}},"data.header":{id:"header",mapping:{reportHistorySectionHeaderRenderer:"ytd-report-history-section-header-renderer"}},"data.table":{id:"history-table",mapping:{tableRenderer:"ytd-table-renderer",messageRenderer:"ytd-message-renderer"}}}};
ZY.prototype.configureContinuationPathMap=function(){return{"yt-reload-continuation-items-command-body":"table"}};
ZY.prototype.onRequestError=function(){this.ytContinuationHandlerBehavior.continuationIsReloading=!1};
_.t.Object.defineProperties(ZY.prototype,{isUnifiedReportHistory:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((null==(a=this.data)?0:a.header)&&(null==(b=this.data)?0:b.table))}}});
_.t.Object.defineProperties(ZY,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-history-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_history_section_renderer.ytd.report.history.section.renderer.css.js--\x3e<div id="items" hidden="[[isUnifiedReportHistory]]"></div>\n\n\n<div id="unified-report-history" hidden="[[!isUnifiedReportHistory]]">\n  <div id="header"></div>\n  <div class="table-container">\n    <div id="history-table"></div>\n    <div class="spinner-container" hidden="[[!continuationIsReloading]]">\n      <tp-yt-paper-spinner active=""></tp-yt-paper-spinner>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_history_section_renderer.ytd.report.history.section.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);display: block;} #items>* {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 16px 0 20px 0;} #header {margin-bottom: 4px;} .table-container {position: relative;} .spinner-container {background: var(--yt-spec-brand-background-solid);opacity: 0.5;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #unified-report-history {border-top: 1px solid var(--yt-spec-10-percent-layer);padding-top: 20px;overflow-x: auto;} /*# sourceMappingURL=ytd-report-history-section-renderer.css.map*/</style>";
lBb=d}d=lBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mBb=a}a=mBb;return a}}});
var $Y=ZY;$Y.prototype.onRequestError=$Y.prototype.onRequestError;_.S([_.L(_.rE),_.T("design:type",Object)],$Y.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$Y.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$Y.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$Y.prototype,"data",void 0);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],$Y.prototype,"isUnifiedReportHistory",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$Y.prototype,"onRequestError",null);$Y=_.S([_.Q({asyncProperties:!0,is:"ytd-report-history-section-renderer"})],$Y);
var sBb;
var tBb;
var uBb=function(){return _.K.apply(this,arguments)||this};
_.q(uBb,_.K);
_.t.Object.defineProperties(uBb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-list-sub-menu-avatar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_list_sub_menu_avatar_renderer.ytd.channel.list.sub.menu.avatar.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <yt-img-shadow thumbnail="[[data.thumbnail]]" width="80">\n  </yt-img-shadow>\n  <div id="title">[[getSimpleString(data.title)]]</div>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_list_sub_menu_avatar_renderer.ytd.channel.list.sub.menu.avatar.renderer.css.js--\x3e<style>:host {display: inline-block;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-img-shadow {width: 80px;height: 80px;--yt-img-border-radius: 40px;} #title {margin-top: 8px;color: var(--ytd-channel-list-sub-menu-link-color,var(--yt-spec-text-secondary));font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} /*# sourceMappingURL=ytd-channel-list-sub-menu-avatar-renderer.css.map*/</style>';
sBb=d}d=sBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tBb=a}a=tBb;return a}}});
var aZ=uBb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],aZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],aZ.prototype,"data",void 0);aZ=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-list-sub-menu-avatar-renderer"})],aZ);
var vBb;
var wBb;
var bZ=function(){return _.K.apply(this,arguments)||this};
_.q(bZ,_.K);bZ.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{channelListSubMenuAvatarRenderer:"ytd-channel-list-sub-menu-avatar-renderer"}}}};
_.t.Object.defineProperties(bZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-list-sub-menu-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_list_sub_menu_renderer.ytd.channel.list.sub.menu.renderer.css.js--\x3e<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_list_sub_menu_renderer.ytd.channel.list.sub.menu.renderer.css.js--\x3e<style>:host {display: inline-block;} #contents {max-width: var(--ytd-channel-list-sub-menu-max-width,560px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #contents :not(:first-child) {margin-left: 24px;} :host([aligment=distributed]) {display: block;} :host([aligment=distributed]) #contents {-ms-flex-pack: distribute;-webkit-justify-content: space-around;justify-content: space-around;} /*# sourceMappingURL=ytd-channel-list-sub-menu-renderer.css.map*/</style>";
vBb=d}d=vBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wBb=a}a=wBb;return a}}});
var cZ=bZ;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],cZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],cZ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],cZ.prototype,"aligment",void 0);cZ=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-list-sub-menu-renderer"})],cZ);
var xBb;
var yBb;
var dZ=function(){return _.K.apply(this,arguments)||this};
_.q(dZ,_.K);dZ.prototype.configureRendererStamper=function(){return{"data.playAllButton":{id:"play-all",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.rightButtons":{id:"right-buttons",mapping:{buttonRenderer:"ytd-button-renderer",menuRenderer:"ytd-menu-renderer"}},"data.sortSetting":{id:"sort-menu",mapping:{sortFilterSubMenuRenderer:{component:"yt-sort-filter-sub-menu-renderer",params:{isRightAligned:!0}}}}}};
_.t.Object.defineProperties(dZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===yBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-sub-menu-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_sub_menu_renderer.ytd.channel.sub.menu.renderer.css.js--\x3e<div id="primary-items">\n  <yt-dropdown-menu class="content-sub-menu" data="[[data.contentTypeSubMenuItems]]" use-label="">\n  </yt-dropdown-menu>\n  <div id="play-all"></div>\n</div>\n<div id="sort-menu"></div>\n<div id="right-buttons"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_sub_menu_renderer.ytd.channel.sub.menu.renderer.css.js--\x3e<style>:host {height: 56px;margin: 8px 0 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #primary-items {color: var(--yt-spec-text-primary);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-channel-sub-menu-renderer.css.map*/</style>";
xBb=d}d=xBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);yBb=a}a=yBb;return a}}});
var eZ=dZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],eZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],eZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],eZ.prototype,"data",void 0);eZ=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-sub-menu-renderer"})],eZ);
var zBb;
var ABb;
var fZ=function(){return _.K.apply(this,arguments)||this};
_.q(fZ,_.K);fZ.prototype.configureRendererStamper=function(){return{"data.buttons":{id:"buttons",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.viewChannelButton":{id:"view-channel-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!0}}}}}};
_.t.Object.defineProperties(fZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ABb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feed-channel-filter-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_feed_channel_filter_header_renderer.ytd.feed.channel.filter.header.renderer.css.js--\x3e<h2>\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <yt-img-shadow id="avatar" disable-upgrade$="[[!data.avatar]]" height="56" hidden="[[!data.avatar]]" thumbnail="[[data.avatar]]" width="56">\n    </yt-img-shadow>\n    <div id="channel">\n      <span id="title">[[getSimpleString(data.title)]]</span>\n      <div id="view-channel-button" aria-hidden=""></div>\n    </div>\n  </a>\n</h2>\n<div id="buttons"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_feed_channel_filter_header_renderer.ytd.feed.channel.filter.header.renderer.css.js--\x3e<style>:host {margin: 32px 0 0 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} h2 {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #avatar {height: 56px;width: 56px;margin-right: 24px;border-radius: 50%;background-color: transparent;overflow: hidden;} #title {margin-top: 5px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} /*# sourceMappingURL=ytd-feed-channel-filter-header-renderer.css.map*/</style>';
zBb=d}d=zBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ABb=a}a=ABb;return a}}});
var gZ=fZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],gZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],gZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],gZ.prototype,"data",void 0);gZ=_.S([_.Q({asyncProperties:!0,is:"ytd-feed-channel-filter-header-renderer"})],gZ);
var BBb;
var CBb;
_.$u("sharingItemSection","itemSectionRenderer","ytd-item-section-renderer");var hZ=function(){var a=_.K.apply(this,arguments)||this;a.allVideosCount=0;return a};
_.q(hZ,_.K);hZ.prototype.configureRendererStamper=function(){return{renderableData:{id:"contents",mapping:{itemSectionRenderer:"ytd-item-section-renderer"}}}};
hZ.prototype.attached=function(){this.set("renderableData",{itemSectionRenderer:Hzb()})};
hZ.prototype.detached=function(){this.set("renderableData",{})};
hZ.prototype.videosCountChanged=function(){this.set("renderableData",{itemSectionRenderer:Hzb()})};
_.t.Object.defineProperties(hZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offline-item-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_offline_item_section_renderer.ytd.offline.item.section.renderer.css.js--\x3e<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_offline_item_section_renderer.ytd.offline.item.section.renderer.css.js--\x3e<style>:host {display: block;} #contents {--yt-message-renderer-text-align: center;} /*# sourceMappingURL=ytd-offline-item-section-renderer.css.map*/</style>";
BBb=d}d=BBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CBb=a}a=CBb;return a}}});
var iZ=hZ;iZ.prototype.videosCountChanged=iZ.prototype.videosCountChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],iZ.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],iZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],iZ.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],iZ.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],iZ.prototype,"renderableData",void 0);_.S([_.N({selector:_.HYa}),_.T("design:type",Object)],iZ.prototype,"allVideosCount",void 0);_.S([_.Ct("allVideosCount"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],iZ.prototype,"videosCountChanged",null);iZ=_.S([_.Q({asyncProperties:!0,is:"ytd-offline-item-section-renderer"})],iZ);
var DBb;
var EBb;
var jZ=function(){return _.K.apply(this,arguments)||this};
_.q(jZ,_.K);_.f=jZ.prototype;_.f.concatLatLng=function(a,b){return a+","+b};
_.f.concatViewports=function(a){if(!a)return"";var b="";a.forEach(function(c){c.lat&&c.lng&&(b+=c.lat+","+c.lng+"|")});
return b.slice(0,-1)};
_.f.computeMapsUrl=function(a,b,c,d,e){if(!(a&&b&&c&&e&&d))return"";a={center:this.concatLatLng(a,b),visible:this.concatViewports(c),size:e+"x"+d,markers:"color:red|"+this.concatLatLng(a,b),key:"AIzaSyCs1my5Q2eCGoyfRDDCkd4yxplienmWEDc"};return"//maps.googleapis.com/maps/api/staticmap?"+_.qd(a)};
_.f.computeMapsUrlNoWidth=function(a,b,c,d){return this.computeMapsUrl(a,b,c,d,screen.width)};
_.f.computeThumbnailDetailsWithNewURL=function(a){if(a){var b=this.$["background-img"].offsetWidth;a.thumbnails.forEach(function(c){var d=c.url,e=d.lastIndexOf("=");-1!==e&&(c.url=d.substring(0,e)+"=w"+b)});
return a}};
_.t.Object.defineProperties(jZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-geo-search-details-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_geo_search_details_renderer.ytd.geo.search.details.renderer.css.js--\x3e<div id="container">\n  <yt-img-shadow id="background-img" hidden$="[[!computeThumbnailDetailsWithNewURL(data.placePhotos)]]" object-fit="COVER" thumbnail="[[computeThumbnailDetailsWithNewURL(data.placePhotos)]]">\n  </yt-img-shadow>\n  <a id="background-img" aria-label$="[[data.staticMapDetails.accessibilityLabel]]" hidden$="[[computeThumbnailDetailsWithNewURL(data.placePhotos)]]" href$="[[data.staticMapDetails.url]]" target="_blank">\n    <yt-img-shadow id="background-img" delayed-src="[[computeMapsUrlNoWidth(data.staticMapDetails.lat, data.staticMapDetails.lng, data.viewports, 230)]]">\n        object-fit="COVER"\n    </yt-img-shadow>\n  </a>\n  <div id="place-details-gradient">\n    <div id="place-details">\n      <div id="place-name">[[getSimpleString(data.placeName)]]</div>\n      <div id="place-description">[[getSimpleString(data.placeAddress)]]</div>\n    </div>\n  </div>\n  <a id="place-map" aria-label$="[[data.staticMapDetails.accessibilityLabel]]" hidden$="[[!computeThumbnailDetailsWithNewURL(data.placePhotos)]]" href$="[[data.staticMapDetails.url]]" target="_blank">\n    <yt-img-shadow id="place-map" border="0" delayed-src="[[computeMapsUrl(data.staticMapDetails.lat, data.staticMapDetails.lng, data.viewports, 105, 164)]]">\n    </yt-img-shadow>\n  </a>\n</div>\n<div id="result-string-container">\n  <yt-formatted-string id="result-string" text="[[data.resultString]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_geo_search_details_renderer.ytd.geo.search.details.renderer.css.js--\x3e<style>:host {position: relative;margin-top: 16px;margin-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #background-img {width: 100%;height: 230px;} #place-name {font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #place-description {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #place-details-gradient {position: absolute;width: 100%;height: 153px;bottom: 0px;left: 0px;text-shadow: 0px 0px 1px rgba(255,255,255,0.5);background: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,0.6));display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #place-details {position: absolute;width: 100%;bottom: 24px;left: 24px;color: var(--yt-spec-static-brand-white);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #place-map {position: absolute;bottom: 14px;right: 24px;width: 164px;height: 105px;} #result-string-container {position: relative;bottom: 0px;left: 0px;margin-top: 16px;} #result-string {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #container {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-geo-search-details-renderer.css.map*/</style>';
DBb=d}d=DBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EBb=a}a=EBb;return a}}});
var kZ=jZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],kZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],kZ.prototype,"data",void 0);kZ=_.S([_.Q({asyncProperties:!0,is:"ytd-geo-search-details-renderer"})],kZ);
var FBb;
var GBb;
var HBb;
var IBb;
var lZ=function(){return _.K.apply(this,arguments)||this};
_.q(lZ,_.K);lZ.prototype.onDataChanged=function(a,b){b&&(b=this.getFilterClass(b.status))&&this.classList.remove(b);(a=this.getFilterClass(a.status))&&this.classList.add(a);"selected"===a?this.$.endpoint.setAttribute("aria-selected","true"):this.$.endpoint.removeAttribute("aria-selected");"disabled"===a?this.$.endpoint.setAttribute("aria-disabled","true"):this.$.endpoint.removeAttribute("aria-disabled")};
lZ.prototype.getFilterClass=function(a){switch(a){case "FILTER_STATUS_SELECTED":return"selected";case "FILTER_STATUS_DISABLED":return"disabled"}};
_.t.Object.defineProperties(lZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===IBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-filter-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_filter_renderer.ytd.search.filter.renderer.css.js--\x3e<a id="endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n<div id="label" title="[[data.tooltip]]">\n    <yt-formatted-string text="[[data.label]]"></yt-formatted-string>\n    <yt-icon id="dismiss-x" hidden="[[!data.navigationEndpoint]]" icon="yt-icons:dismissal">\n    </yt-icon>\n  </div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===HBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_filter_renderer.ytd.search.filter.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host yt-formatted-string {font-size: 14px;color: var(--yt-spec-text-secondary);} :host(.disabled) yt-formatted-string {color: var(--yt-spec-text-disabled);} :host(.selected) yt-formatted-string {color: var(--yt-spec-text-primary);font-weight: 500;} #dismiss-x {display: none;} :host(.selected) #dismiss-x {color: var(--yt-spec-text-primary);display: block;padding-left: 10px;--iron-icon-height: 16px;--iron-icon-width: 16px;} #label {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-search-filter-renderer.css.map*/</style>";
HBb=d}d=HBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);IBb=a}a=IBb;return a}}});
var mZ=lZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],mZ.prototype,"ytRendererBehavior",void 0);_.S([_.N({observer:"onDataChanged"}),_.T("design:type",Object)],mZ.prototype,"data",void 0);mZ=_.S([_.Q({asyncProperties:!0,is:"ytd-search-filter-renderer"})],mZ);
var JBb=function(){return _.K.apply(this,arguments)||this};
_.q(JBb,_.K);
_.t.Object.defineProperties(JBb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===GBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-filter-group-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_filter_group_renderer.ytd.search.filter.group.renderer.css.js--\x3e<h4 id="filter-group-name">\n  <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n</h4>\n<template is="dom-repeat" items="[[data.filters]]">\n  <template is="dom-if" if="[[item.searchFilterRenderer]]">\n    <ytd-search-filter-renderer data="[[item.searchFilterRenderer]]">\n    </ytd-search-filter-renderer>\n  </template>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_filter_group_renderer.ytd.search.filter.group.renderer.css.js--\x3e<style>:host {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #filter-group-name {color: var(--yt-spec-text-primary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin: 5px 0;padding: 15px 0;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} ytd-search-filter-renderer {color: var(--yt-spec-text-primary);font-size: 12px;padding: 15px 0 0;} /*# sourceMappingURL=ytd-search-filter-group-renderer.css.map*/</style>';
FBb=d}d=FBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);GBb=a}a=GBb;return a}}});
var nZ=JBb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],nZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],nZ.prototype,"data",void 0);nZ=_.S([_.Q({asyncProperties:!0,is:"ytd-search-filter-group-renderer"})],nZ);
var KBb;
var LBb;
var oZ=function(){return _.K.apply(this,arguments)||this};
_.q(oZ,_.K);oZ.prototype.configureRendererStamper=function(){return{"data.detailedSearchRenderer":{id:"detailsContainer",mapping:{geoSearchDetailsRenderer:{component:"ytd-geo-search-details-renderer"}}}}};
oZ.prototype.toggleFilters=function(){this.renderCollapsibleMenu||(this.renderCollapsibleMenu=!0,_.mn());this.isCollapsed=!this.isCollapsed};
oZ.prototype.navigateToAboutTheseResultsPage=function(){var a=_.Nb("https://www.youtube.com/howyoutubeworks/product-features/search/");a?_.wXa(window,a):_.jd(Error("$g"))};
oZ.prototype.dataChanged=function(){this.isCollapsed=!0};
_.t.Object.defineProperties(oZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-sub-menu-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_sub_menu_renderer.ytd.search.sub.menu.renderer.css.js--\x3e<div id="filter-menu">\n  <div id="container">\n    <ytd-toggle-button-renderer align-by-text="" data="[[data.button.toggleButtonRenderer]]" on-click="toggleFilters">\n    </ytd-toggle-button-renderer>\n    <template is="dom-if" if="[[data.aboutTheseResultsButton]]">\n      <ytd-button-renderer align-by-text="" data="[[data.aboutTheseResultsButton.buttonRenderer]]" on-click="navigateToAboutTheseResultsPage">\n      </ytd-button-renderer>\n    </template>\n  </div>\n  <template is="dom-if" if="[[renderCollapsibleMenu]]">\n    <iron-collapse id="collapse" opened="[[!isCollapsed]]">\n      <div id="collapse-content">\n        <template is="dom-repeat" items="[[data.groups]]">\n          <ytd-search-filter-group-renderer data="[[item.searchFilterGroupRenderer]]">\n          </ytd-search-filter-group-renderer>\n        </template>\n      </div>\n    </iron-collapse>\n  </template>\n</div>\n<div id="detailsContainer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_sub_menu_renderer.ytd.search.sub.menu.renderer.css.js--\x3e<style>:host {display: block;} ytd-search-filter-group-renderer {padding: 0 32px 0 0;} #filter-menu {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #collapse-content {margin-bottom: 32px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #collapse {overflow: hidden;} #container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;justify-content: space-between;} #container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;justify-content: space-between;} ytd-toggle-button-renderer:hover {color: var(--yt-spec-icon-active-other);} ytd-button-renderer {text-transform: none;} /*# sourceMappingURL=ytd-search-sub-menu-renderer.css.map*/</style>";
KBb=d}d=KBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LBb=a}a=LBb;return a}}});
var pZ=oZ;pZ.prototype.dataChanged=pZ.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],pZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],pZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],pZ.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],pZ.prototype,"renderCollapsibleMenu",void 0);_.S([_.N(),_.T("design:type",Boolean)],pZ.prototype,"isCollapsed",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pZ.prototype,"dataChanged",null);pZ=_.S([_.Q({is:"ytd-search-sub-menu-renderer"})],pZ);
var MBb;
var NBb;
var OBb;
var PBb;
var qZ=function(){return _.K.apply(this,arguments)||this};
_.q(qZ,_.K);qZ.prototype.computeStyle=function(a){return a?a.toLowerCase().replace(/_/g,"-"):""};
_.t.Object.defineProperties(qZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PBb){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-text-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_text_header_renderer.ytd.text.header.renderer.css.js--\x3e[[getSimpleString(data.title)]]\n";a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_text_header_renderer.ytd.text.header.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([header-style=text-header-renderer-style-bold]) {margin-top: 24px;margin-bottom: 8px;color: var(--yt-spec-text-primary);font-size: 1.6em;line-height: 1.4em;font-weight: 500;} /*# sourceMappingURL=ytd-text-header-renderer.css.map*/</style>';
OBb=d}d=OBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PBb=a}a=PBb;return a}}});
var rZ=qZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],rZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],rZ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.style)"}),_.T("design:type",String)],rZ.prototype,"headerStyle",void 0);rZ=_.S([_.Q({asyncProperties:!0,is:"ytd-text-header-renderer"})],rZ);
var QBb;
var RBb;
var SBb=function(){return _.K.apply(this,arguments)||this};
_.q(SBb,_.K);
_.t.Object.defineProperties(SBb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-minor-moment-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_minor_moment_header_renderer.ytd.minor.moment.header.renderer.css.js--\x3e<img src$="[[data.imageUrl]]" alt="" class="minormoment-header-img">\n<yt-formatted-string id="title" respect-html-dir="" text="[[data.title]]"></yt-formatted-string>\n<yt-formatted-string id="caption" respect-html-dir="" text="[[data.caption]]"></yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_minor_moment_header_renderer.ytd.minor.moment.header.renderer.css.js--\x3e<style>#title {padding-top: 24px;color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.8rem;line-height: 3.8rem;font-weight: 700;} #caption {max-width: 600px;padding: 20px 52px 24px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 400;} img {padding-top: 48px;height: 146px;display: block;margin: 0 auto;} :host {text-align: center;margin-left: 10px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-minor-moment-header-renderer.css.map*/</style>';
QBb=d}d=QBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RBb=a}a=RBb;return a}}});
var sZ=SBb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],sZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],sZ.prototype,"data",void 0);sZ=_.S([_.Q({asyncProperties:!0,is:"ytd-minor-moment-header-renderer"})],sZ);
var TBb;
var UBb;
var VBb=function(){return _.K.apply(this,arguments)||this};
_.q(VBb,_.K);
_.t.Object.defineProperties(VBb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===UBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-minor-moment-setting-alert-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_minor_moment_setting_alert_renderer.ytd.minor.moment.setting.alert.renderer.css.js--\x3e<yt-formatted-string id="text" text="[[data.text]]">\n</yt-formatted-string>\n<template is="dom-repeat" items="[[data.details]]">\n  <yt-formatted-string class="detail-text" text="[[item]]">\n  </yt-formatted-string>\n</template>\n<yt-formatted-string id="link" text="[[data.link]]">\n</yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_minor_moment_setting_alert_renderer.ytd.minor.moment.setting.alert.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} yt-formatted-string {padding: 12px 0;} .detail-text {color: var(--yt-spec-text-secondary);} #text {color: var(--yt-spec-text-primary);} #restriction-apply-button {color: var(--yt-spec-call-to-action);} /*# sourceMappingURL=ytd-minor-moment-setting-alert-renderer.css.map*/</style>';
TBb=d}d=TBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);UBb=a}a=UBb;return a}}});
var tZ=VBb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],tZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],tZ.prototype,"data",void 0);tZ=_.S([_.Q({asyncProperties:!0,is:"ytd-minor-moment-setting-alert-renderer"})],tZ);
var WBb;
var XBb;
var uZ=function(){return _.K.apply(this,arguments)||this};
_.q(uZ,_.K);uZ.prototype.configureRendererStamper=function(){return{"data.settings":{id:"settings",mapping:{settingsSwitchRenderer:{component:"ytd-settings-switch-renderer",noInjection:!0}}},"data.alerts":{id:"alerts",mapping:{minorMomentSettingAlertRenderer:{component:"ytd-minor-moment-setting-alert-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(uZ.prototype,{contentsClassName:{configurable:!0,enumerable:!0,get:function(){if(!this.data)return"";var a=this.data.hideBottomSeparator?"":"with-bottom-separator";this.data.removeLeftMargin&&(a+=" remove-left-margin");this.data.extraBottomSpace&&(a+=" extra-bottom-space");return a}}});
_.t.Object.defineProperties(uZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-minor-moment-setting-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_minor_moment_setting_section_renderer.ytd.minor.moment.setting.section.renderer.css.js--\x3e<div id="contents" class$="[[contentsClassName]]">\n  <div id="title" hidden="[[!data.title]]">\n    <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n  </div>\n  <yt-formatted-string id="header" hidden="[[!data.header]]" text="[[data.header]]">\n  </yt-formatted-string>\n  <div id="settings" hidden="[[!data.settings]]"></div>\n  <div id="alerts" hidden="[[!data.alerts]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_minor_moment_setting_section_renderer.ytd.minor.moment.setting.section.renderer.css.js--\x3e<style>:host {width: 100%;margin-left: 10px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header {display: block;margin-left: 60px;padding-top: 24px;color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 700;} #contents {max-width: 360px;margin: 0 auto;} #settings {padding-top: 8px;} #alerts {margin-left: 60px;width: 340px;margin-bottom: 48px;} #title {padding-bottom: 16px;color: var(--yt-spec-text-primary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 500;} .with-bottom-separator #settings {box-shadow: 0 25px 0px -24px var(--yt-spec-10-percent-layer);padding-bottom: 20px;} .remove-left-margin #header {margin-left: 0;} .remove-left-margin #alerts {margin-left: 0px;} #contents.extra-bottom-space {margin-bottom: 48px;} #title {padding-bottom: 16px;color: var(--yt-spec-text-primary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 500;} /*# sourceMappingURL=ytd-minor-moment-setting-section-renderer.css.map*/</style>';
WBb=d}d=WBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XBb=a}a=XBb;return a}}});
var vZ=uZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],vZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],vZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],vZ.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],vZ.prototype,"contentsClassName",null);vZ=_.S([_.Q({asyncProperties:!0,is:"ytd-minor-moment-setting-section-renderer"})],vZ);
var YBb;
var ZBb;
var $Bb=function(){return _.K.apply(this,arguments)||this};
_.q($Bb,_.K);
_.t.Object.defineProperties($Bb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-empty-product-details-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_empty_product_details_renderer.ytd.empty.product.details.renderer.css.js--\x3e<div class="container">\n  <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YBb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_empty_product_details_renderer.ytd.empty.product.details.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);display: flex;flex-direction: row;justify-content: center;} .container {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;display: flex;padding: 256px 16px;flex-direction: row;} /*# sourceMappingURL=ytd-empty-product-details-renderer.css.map*/</style>';
YBb=d}d=YBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZBb=a}a=ZBb;return a}}});
var wZ=$Bb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],wZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],wZ.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],wZ.prototype,"data",void 0);wZ=_.S([_.Q({asyncProperties:!0,is:"ytd-empty-product-details-renderer"})],wZ);
var aCb;
var bCb;
var xZ=function(){var a=_.K.apply(this,arguments)||this;a.isCollapsed=!1;return a};
_.q(xZ,_.K);xZ.prototype.onDataChanged=function(){this.data&&(this.isCollapsed=!this.data.startExpanded)};
xZ.prototype.onExpandCollapse=function(){this.isCollapsed=!this.isCollapsed};
xZ.prototype.updateExpandCollapseButton=function(){if(this.isCollapsed){var a,b;this.expandCollapseButton=null==(a=this.data)?void 0:null==(b=a.expandButton)?void 0:b.buttonRenderer}else{var c,d;this.expandCollapseButton=null==(c=this.data)?void 0:null==(d=c.collapseButton)?void 0:d.buttonRenderer}};
_.t.Object.defineProperties(xZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-expandable-perks-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_expandable_perks_renderer.ytd.sponsorships.expandable.perks.renderer.css.js--\x3e<div class="badged-title">\n  <yt-img-shadow thumbnail="[[data.badge]]"></yt-img-shadow>\n  <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n</div>\n<yt-formatted-string class="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n<hr>\n<yt-formatted-string class="expandable-heading" text="[[data.expandableHeader]]"></yt-formatted-string>\n<ytd-button-renderer class="end-button" data="[[data.endButton.buttonRenderer]]"></ytd-button-renderer>\n<ytd-button-renderer class="bottom-button" data="[[data.bottomButton.buttonRenderer]]"></ytd-button-renderer>\n<ytd-button-renderer class="expand-collapse-button" data="[[expandCollapseButton]]" noink="" on-click="onExpandCollapse"></ytd-button-renderer>\n\n<div class="expandable-content">\n  <template is="dom-repeat" items="[[data.expandableItems]]" as="item">\n    <ytd-sponsorships-perk-renderer data="[[item.sponsorshipsPerkRenderer]]"></ytd-sponsorships-perk-renderer>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aCb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_expandable_perks_renderer.ytd.sponsorships.expandable.perks.renderer.css.js--\x3e<style>:host {align-items: baseline;display: grid;grid-template-areas: "badged-title end-button" "subtitle subtitle" "line line" "expandable-heading bottom-button" "expand-collapse-button ." "expandable-content expandable-content";justify-items: start;margin-top: 40px;margin-bottom: 28px;max-width: 852px;} .badged-title {align-items: baseline;color: var(--yt-spec-text-primary);display: flex;grid-area: badged-title;margin-bottom: 8px;} .badged-title yt-img-shadow {align-self: flex-start;margin-right: 12px;height: 18px;width: 18px;} .badged-title yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .subtitle {color: var(--yt-spec-text-secondary);grid-area: subtitle;margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .end-button {grid-area: end-button;justify-self: end;margin-left: 12px;} hr {border-bottom: 1px solid var(--yt-spec-10-percent-layer);grid-area: line;margin-bottom: 24px;margin-top: 8px;width: 100%;} .expandable-heading {color: var(--yt-spec-text-primary);grid-area: expandable-heading;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} .bottom-button {grid-area: bottom-button;justify-self: end;margin-left: 12px;} .end-button,.bottom-button {height: 0;display: flex;align-items: center;} .end-button[has-no-text],.bottom-button[has-no-text] {position: relative;top: -4px;} .expand-collapse-button {grid-area: expand-collapse-button;text-transform: none;--yt-button-padding: 5px 0;--yt-button-padding-minus-focus-outline: 5px 0;--yt-button-padding-minus-focus-outline-width: 2px;--yt-button-text-transform: none;} .expandable-content {grid-area: expandable-content;width: 100%;} .expandable-content>ytd-sponsorships-perk-renderer {border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: block;padding-bottom: 12px;padding-top: 16px;} :host([is-collapsed]) .expandable-content {overflow: hidden;height: 0;} /*# sourceMappingURL=ytd-sponsorships-expandable-perks-renderer.css.map*/</style>';
aCb=d}d=aCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bCb=a}a=bCb;return a}}});
var yZ=xZ;yZ.prototype.updateExpandCollapseButton=yZ.prototype.updateExpandCollapseButton;yZ.prototype.onDataChanged=yZ.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],yZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],yZ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],yZ.prototype,"isCollapsed",void 0);_.S([_.N(),_.T("design:type",Object)],yZ.prototype,"expandCollapseButton",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yZ.prototype,"onDataChanged",null);_.S([_.Ct("data","isCollapsed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yZ.prototype,"updateExpandCollapseButton",null);yZ=_.S([_.Q({is:"ytd-sponsorships-expandable-perks-renderer"})],yZ);
var cCb;
var dCb;
var zZ=function(){return _.K.apply(this,arguments)||this};
_.q(zZ,_.K);zZ.prototype.handleAction=function(){this.data&&this.data.command&&this.ytComponentBehavior.resolveCommand(this.data.command)};
_.t.Object.defineProperties(zZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-actionable-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_actionable_message_renderer.ytd.sponsorships.actionable.message.renderer.css.js--\x3e<button on-click="handleAction">\n  <yt-img-shadow id="icon" height="24" thumbnail="[[data.icon]]" width="24"></yt-img-shadow>\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n</button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cCb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_actionable_message_renderer.ytd.sponsorships.actionable.message.renderer.css.js--\x3e<style>button {align-items: center;border: none;color: var(--yt-spec-text-primary);display: flex;padding: 8px 0;} button:not(:focus) {background: none;} button:focus {background-color: transparent;} #icon {margin-right: 24px;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-sponsorships-actionable-message-renderer.css.map*/</style>';
cCb=d}d=cCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dCb=a}a=dCb;return a}}});
var AZ=zZ;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],AZ.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AZ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AZ.prototype,"data",void 0);AZ=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-actionable-message-renderer"})],AZ);
var eCb;
var fCb;
var BZ=function(){return _.K.apply(this,arguments)||this};
_.q(BZ,_.K);BZ.prototype.configureRendererStamper=function(){return{"data.endButton":{id:"end-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}},"data.bottomButton":{id:"bottom-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
BZ.prototype.onDataChanged=function(){this.get("data.endButton.buttonRenderer.text")&&this.get("data.endButton.buttonRenderer.icon")&&(this.data.endButton.buttonRenderer.iconPosition="BUTTON_ICON_POSITION_TYPE_RIGHT_OF_TEXT")};
_.t.Object.defineProperties(BZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-heading-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_heading_renderer.ytd.sponsorships.heading.renderer.css.js--\x3e<div id="content">\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <div id="subtitle-content" hidden="[[!data.subtitle]]">\n    <yt-img-shadow id="subtitle-icon" hidden="[[!data.subtitleIcon]]" thumbnail="[[data.subtitleIcon]]">\n    </yt-img-shadow>\n    <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n  </div>\n  <div id="bottom-button"></div>\n</div>\n<div id="end-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eCb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_heading_renderer.ytd.sponsorships.heading.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #content {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #title {display: block;margin-bottom: 8px;margin-top: 40px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #subtitle-content {display: flex;align-items: center;margin-top: 24px;margin-bottom: 8px;} #subtitle-icon {border-radius: 50%;width: 18px;margin-right: 12px;border-radius: 50%;background-color: transparent;overflow: hidden;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #end-button {margin-right: -12px;-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} #bottom-button ytd-button-renderer {margin-top: 4px;padding-left: 12px;padding-right: 12px;} /*# sourceMappingURL=ytd-sponsorships-heading-renderer.css.map*/</style>';
eCb=d}d=eCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fCb=a}a=fCb;return a}}});
var CZ=BZ;CZ.prototype.onDataChanged=CZ.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],CZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],CZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],CZ.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CZ.prototype,"onDataChanged",null);
CZ=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-heading-renderer"})],CZ);
var gCb;
var hCb;
var iCb=function(){return _.K.apply(this,arguments)||this};
_.q(iCb,_.K);
_.t.Object.defineProperties(iCb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-links-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_links_renderer.ytd.sponsorships.links.renderer.css.js--\x3e<template is="dom-repeat" items="[[data.links]]">\n  <yt-formatted-string class="link" text="[[item]]">\n</yt-formatted-string></template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gCb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_links_renderer.ytd.sponsorships.links.renderer.css.js--\x3e<style>:host {display: block;padding: 28px 0;border-top: 1px solid var(--yt-spec-10-percent-layer);margin-top: 20px;} .link {display: block;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;padding-bottom: 4px;--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-hover-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-sponsorships-links-renderer.css.map*/</style>";
gCb=d}d=gCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hCb=a}a=hCb;return a}}});
var DZ=iCb;_.S([_.N(),_.T("design:type",Object)],DZ.prototype,"data",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],DZ.prototype,"ytRendererBehavior",void 0);DZ=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-links-renderer"})],DZ);
var jCb;
var kCb;
var EZ=function(){return _.K.apply(this,arguments)||this};
_.q(EZ,_.K);
EZ.prototype.configureRendererStamper=function(){return{"data.content":{id:"content",mapping:{sponsorshipsTierRenderer:{component:"ytd-sponsorships-tier-renderer"},sponsorshipsHeadingRenderer:{component:"ytd-sponsorships-heading-renderer"},sponsorshipsListTileRenderer:{component:"ytd-sponsorships-list-tile-renderer"},sponsorshipsExpandableMessageRenderer:{component:"ytd-sponsorships-expandable-message-renderer"}}},"data.sidebar":{id:"sidebar",mapping:{sponsorshipsHeadingRenderer:{component:"ytd-sponsorships-heading-renderer"},sponsorshipsActionableMessageRenderer:{component:"ytd-sponsorships-actionable-message-renderer"},
sponsorshipsLinksRenderer:{component:"ytd-sponsorships-links-renderer"},sponsorshipsListTileRenderer:{component:"ytd-sponsorships-list-tile-renderer"}}},"data.alert":{id:"alert-renderer",mapping:{sponsorshipsAlertRenderer:{component:"ytd-sponsorships-alert-renderer"}}}}};
_.t.Object.defineProperties(EZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-management-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_management_renderer.ytd.sponsorships.management.renderer.css.js--\x3e<div id="alert-renderer"></div>\n<div id="main-section">\n  <div id="content"></div>\n  <div id="sidebar"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jCb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_management_renderer.ytd.sponsorships.management.renderer.css.js--\x3e<style>:host {display: block;max-width: 1070px;} ytd-sponsorships-alert-renderer:before {background: var(--yt-spec-error-background);content: "";position: absolute;left: 0;height: 100%;width: 9999px;top: 0;margin-left: -4999px;} ytd-sponsorships-alert-renderer {position: relative;} #main-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #content {flex: 1;padding-right: 96px;} #content ytd-sponsorships-tier-renderer {margin-bottom: 24px;} #content ytd-sponsorships-heading-renderer {margin-bottom: 8px;} #sidebar {width: 324px;-ms-flex: none;-webkit-flex: none;flex: none;} #sidebar ytd-sponsorships-heading-renderer {margin-bottom: 12px;} /*# sourceMappingURL=ytd-sponsorships-management-renderer.css.map*/</style>';
jCb=d}d=jCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kCb=a}a=kCb;return a}}});
var FZ=EZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],FZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],FZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],FZ.prototype,"data",void 0);FZ=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-management-renderer"})],FZ);
var lCb;
var mCb;
var nCb;
var oCb;
var GZ=function(){return _.K.apply(this,arguments)||this};
_.q(GZ,_.K);GZ.prototype.configureRendererStamper=function(){return{"data.summaryLineItems":{id:"summary-line-items",mapping:{commerceCartSummaryLineItemRenderer:"ytd-commerce-cart-summary-line-item-renderer"}},"data.checkoutButton":{id:"checkout-button",mapping:{commerceCartCheckoutButtonRenderer:{component:"ytd-commerce-cart-checkout-button-renderer",params:{fullWidth:!0}}}}}};
GZ.prototype.entityChanged=function(){this.commerceCartCheckoutButtonEntity&&(this.updateCheckoutLineItems(),this.updateIsHidden())};
GZ.prototype.updateCheckoutLineItems=function(){var a,b=null==(a=this.commerceCartCheckoutButtonEntity)?void 0:a.checkoutLineItems;b&&(a=b.map(function(c){a:{var d=c.price,e=c.description;switch(c.style){case "COMMERCE_CHECKOUT_LINE_ITEM_STYLE_MERCHANT":c={commerceCartSummaryLineItemRenderer:{summaryText:{cardItemTextRenderer:{text:AX(e),style:"CARD_ITEM_TEXT_STYLE_BODY_2A",textColor:"CARD_ITEM_COLOR_TEXT_SECONDARY",containerMargin:{top:"CARD_ITEM_UX_SPACE_2",right:"CARD_ITEM_UX_SPACE_0",bottom:"CARD_ITEM_UX_SPACE_2",
left:"CARD_ITEM_UX_SPACE_4"}}},price:{cardItemTextRenderer:{text:AX(d),style:"CARD_ITEM_TEXT_STYLE_BODY_2A",textColor:"CARD_ITEM_COLOR_TEXT_SECONDARY",containerMargin:{top:"CARD_ITEM_UX_SPACE_0",right:"CARD_ITEM_UX_SPACE_0",bottom:"CARD_ITEM_UX_SPACE_0",left:"CARD_ITEM_UX_SPACE_0"}}}}};break a;default:c={commerceCartSummaryLineItemRenderer:{summaryText:{cardItemTextRenderer:{text:AX(e),style:"CARD_ITEM_TEXT_STYLE_BODY_2A",textColor:"CARD_ITEM_COLOR_TEXT_PRIMARY",containerMargin:{top:"CARD_ITEM_UX_SPACE_2",
right:"CARD_ITEM_UX_SPACE_0",bottom:"CARD_ITEM_UX_SPACE_2",left:"CARD_ITEM_UX_SPACE_0"}}},price:{cardItemTextRenderer:{text:AX(d),style:"CARD_ITEM_TEXT_STYLE_BODY_2A",textColor:"CARD_ITEM_COLOR_TEXT_PRIMARY",containerMargin:{top:"CARD_ITEM_UX_SPACE_0",right:"CARD_ITEM_UX_SPACE_0",bottom:"CARD_ITEM_UX_SPACE_0",left:"CARD_ITEM_UX_SPACE_0"}}}}}}}return c}),this.set("data.summaryLineItems",a))};
GZ.prototype.updateIsHidden=function(){var a,b=null==(a=this.commerceCartCheckoutButtonEntity)?void 0:a.isHidden;void 0!==b&&(this.hidden=b)};
_.t.Object.defineProperties(GZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commerce-cart-summary-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_summary_renderer.ytd.commerce.cart.summary.renderer.css.js--\x3e<div id="title">[[getSimpleString(data.title)]]</div>\n<div id="summary-line-items"></div>\n<div id="checkout-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nCb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_summary_renderer.ytd.commerce.cart.summary.renderer.css.js--\x3e<style>:host {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {padding: 16px 24px;color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 700;} #summary-line-items {margin: 0 24px;} yt-commerce-cart-summary-line-item-renderer {padding: 8px 0;} #summary-line-items {padding-bottom: 8px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #checkout-button {padding: 0 24px 12px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-commerce-cart-checkout-button-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-commerce-cart-summary-renderer.css.map*/</style>';
nCb=d}d=nCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oCb=a}a=oCb;return a}}});
var HZ=GZ;HZ.prototype.entityChanged=HZ.prototype.entityChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],HZ.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],HZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],HZ.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],HZ.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],HZ.prototype,"data",void 0);_.S([_.N({selectorArgs:["data.commerceCartCheckoutButtonEntityKey"],selector:pzb}),_.T("design:type",Object)],HZ.prototype,"commerceCartCheckoutButtonEntity",void 0);_.S([_.P("commerceCartCheckoutButtonEntity","data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HZ.prototype,"entityChanged",null);HZ=_.S([_.Q({asyncProperties:!0,is:"ytd-commerce-cart-summary-renderer"})],HZ);
var IZ=function(){return _.K.apply(this,arguments)||this};
_.q(IZ,_.K);IZ.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{cardItemContainerRenderer:{component:"yt-card-item-container-renderer",params:{compact:!1}},commerceCartCheckoutButtonRenderer:"ytd-commerce-cart-checkout-button-renderer",commerceCartHeaderRenderer:"ytd-commerce-cart-header-renderer",cardItemRenderer:"yt-card-item-renderer"}},"data.cartSummary":{id:"cart-summary",mapping:{commerceCartSummaryRenderer:"ytd-commerce-cart-summary-renderer"}}}};
IZ.prototype.notificationEntityChanged=function(){this.commerceCartExpandableNotificationEntity&&this.updateNotification()};
IZ.prototype.computeLoadingHidden=function(){var a;return!(null==(a=this.commerceCartPageStateEntity)?0:a.cartActionInProgress)};
IZ.prototype.updateNotification=function(){var a,b=null==(a=this.get("commerceCartExpandableNotificationEntity"))?void 0:a.summaryText;b&&this.set("data.cartNotification",AX(b))};
_.t.Object.defineProperties(IZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-commerce-cart-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_renderer.ytd.commerce.cart.renderer.css.js--\x3e<div id="title-container">\n  <div id="title">[[getSimpleString(data.title)]]</div>\n  <div id="notification">[[getSimpleString(data.cartNotification)]]</div>\n</div>\n<div id="body">\n  <div id="primary-column">\n    <div id="items"></div>\n  </div>\n  <div id="secondary-column">\n    <div id="cart-summary"></div>\n  </div>\n</div>\n<div id="loading-overlay" hidden="[[computeLoadingHidden(data, commerceCartPageStateEntity)]]">\n  <div id="positioning-container">\n    <tp-yt-paper-spinner-lite id="spinner" active="[[commerceCartPageStateEntity.cartActionInProgress]]">\n    </tp-yt-paper-spinner-lite>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lCb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_commerce_cart_renderer.ytd.commerce.cart.renderer.css.js--\x3e<style>:host {position: relative;padding: 48px;background-color: var(--yt-spec-general-background-a);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([background-refresh]) {background: var(--yt-spec-brand-background-solid);} #title-container {margin-bottom: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} #title {color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 700;} #notification {margin-left: 16px;margin-bottom: 4px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #body {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #primary-column {margin-right: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #items {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #secondary-column {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} yt-card-item-container-renderer {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 4px;} yt-card-item-container-renderer {margin-bottom: 16px;} yt-card-item-container-renderer:last-of-type {margin-bottom: 0;} ytd-commerce-cart-summary-renderer {background-color: var(--yt-spec-brand-background-solid);width: 360px;} @media(max-width:1164px) {:host {padding: 48px 24px;}#body {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;}ytd-commerce-cart-summary-renderer {width: unset;}#primary-column {margin-right: 0;margin-bottom: 8px;}#title {color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 700;}} #loading-overlay {background-color: var(--yt-spec-themed-overlay-background);position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #loading-overlay #positioning-container {position: relative;left: calc(50% - 14px);} #loading-overlay tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-spec-call-to-action);position: fixed;top: calc(50% - 54px);} /*# sourceMappingURL=ytd-commerce-cart-renderer.css.map*/</style>';
lCb=d}d=lCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mCb=a}a=mCb;return a}}});
var JZ=IZ;JZ.prototype.notificationEntityChanged=JZ.prototype.notificationEntityChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],JZ.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],JZ.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],JZ.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],JZ.prototype,"data",void 0);_.S([_.N({selectorArgs:["data.commerceCartExpandableNotificationEntityKey"],selector:function(a,b){return _.Yg(a.entities,"commerceCartExpandableNotificationEntity",b)}}),
_.T("design:type",Object)],JZ.prototype,"commerceCartExpandableNotificationEntity",void 0);_.S([_.N({selectorArgs:["data.commerceCartPageStateEntityKey"],selector:function(a,b){return _.Yg(a.entities,"commerceCartPageStateEntity",b)}}),
_.T("design:type",Object)],JZ.prototype,"commerceCartPageStateEntity",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_background_colors_update")}),_.T("design:type",Boolean)],JZ.prototype,"backgroundRefresh",void 0);_.S([_.Z("#spinner"),_.T("design:type",HTMLElement)],JZ.prototype,"spinner",void 0);_.S([_.P("commerceCartExpandableNotificationEntity","data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],JZ.prototype,"notificationEntityChanged",null);
JZ=_.S([_.Q({asyncProperties:!0,is:"ytd-commerce-cart-renderer"})],JZ);
var pCb;
var qCb;
var KZ=function(){var a=_.K.apply(this,arguments)||this;a.itemStyle="large-item";a.watchMetadataRefresh=!1;a.updateOnResizeDebouncer=null;return a};
_.q(KZ,_.K);_.f=KZ.prototype;_.f.ready=function(){this.updateOnResize=this.updateOnResize.bind(this);this.updateOnResize()};
_.f.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{iconSize:16}},menuRenderer:"ytd-menu-renderer"}}}};
_.f.dataChanged=function(){this.ytdHorizontalListBehavior.reset()};
_.f.updateOnResize=function(){if(void 0!==this.JSC$41297_scrollContainer&&void 0!==this.items){var a=this.JSC$41297_scrollContainer.clientWidth;this.ytdHorizontalListBehavior.offset_=Math.max(0,Math.min(this.ytdHorizontalListBehavior.offset_,this.items.clientWidth-a));this.ytdHorizontalListBehavior.reposition_();var b,c;1===(null==(b=this.data)?void 0:null==(c=b.items)?void 0:c.length)?this.itemStyle="cta-item":this.itemStyle=740<=a?"large-item":"small-item"}};
_.f.debouncedUpdateOnResize=function(){this.updateOnResizeDebouncer=_.gn(this.updateOnResizeDebouncer,_.Pm.after(100),this.updateOnResize)};
_.t.Object.defineProperties(KZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-merch-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_merch_shelf_renderer.ytd.merch.shelf.renderer.css.js--\x3e<div id="main">\n  <div id="banner">\n    <div id="title" role="heading">[[data.title]]</div>\n    <div id="action-button"></div>\n  </div>\n  <div id="item-list">\n    <div id="left-arrow-container" class="center-aligned">\n      <div id="left-arrow" class="arrow center-aligned" on-click="prevClick_" hidden="[[atStart]]">\n         <yt-icon icon="yt-icons:chevron_left"></yt-icon>\n      </div>\n    </div>\n    <div id="scroll-container">\n      <div id="items" item-style$="[[itemStyle]]">\n        \n        <template is="dom-repeat" items="[[shownItems]]">\n          <ytd-merch-shelf-item-renderer data="[[item.merchandiseItemRenderer]]" item-style="[[itemStyle]]">\n          </ytd-merch-shelf-item-renderer>\n        </template>\n      </div>\n    </div>\n    <div id="right-arrow-container" class="center-aligned">\n      <div id="right-arrow" class="arrow center-aligned" on-click="nextClick_" hidden="[[atEnd]]">\n         <yt-icon icon="yt-icons:chevron_right"></yt-icon>\n      </div>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pCb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_merch_shelf_renderer.ytd.merch.shelf.renderer.css.js--\x3e<style>:host {display: block;position: relative;border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding-bottom: 8px;margin-top: -26px;background-color: var(--yt-spec-general-background-a);} :host([watch-metadata-refresh]) {margin-top: 0;} #banner {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;height: 24px;padding-bottom: 9px;margin-left: 64px;} :host([watch-metadata-refresh]) #banner {margin-left: 0;} #action-button {-ms-align-self: center;-webkit-align-self: center;align-self: center;--yt-button-icon-size: 32px;--yt-icon-button-icon-height: 16px;--yt-icon-button-icon-width: 16px;} #title {display: block;text-overflow: ellipsis;overflow-x: hidden;white-space: nowrap;color: var(--yt-spec-text-primary);-ms-align-self: center;-webkit-align-self: center;align-self: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #sponsored-text {text-transform: uppercase;-ms-align-self: center;-webkit-align-self: center;align-self: center;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} #banner-info-tooltip {width: 336px;} #item-list {margin-left: 60px;} :host([watch-metadata-refresh]) #item-list {margin-left: 0;} :host([collapsed]) #scroll-container {visibility: hidden;max-height: 0px;} #scroll-container {overflow: hidden;} ytd-merch-shelf-item-renderer {display: inline-block;} #items {transition-duration: 0.15s;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;will-change: unset;} #items[item-style=cta-item] {display: block;} #items[item-style=large-item] ytd-merch-shelf-item-renderer {margin-left: 4px;} #items[item-style=large-item] ytd-merch-shelf-item-renderer:first-child {margin-left: 0;} #items[item-style=small-item] ytd-merch-shelf-item-renderer {margin-left: 14px;} #items[item-style=small-item] ytd-merch-shelf-item-renderer:first-child {margin-left: 0;} #left-arrow-container {left: 44px;} :host([collapsed]) #left-arrow-container {display: none;} #right-arrow-container {right: -16px;} :host([collapsed]) #right-arrow-container {display: none;} #left-arrow-container,#right-arrow-container {position: absolute;top: 69px;z-index: 200;} .arrow {cursor: pointer;width: 40px;height: 40px;border-radius: 24px;background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-icon-inactive);box-shadow: 0 4px 4px var(--yt-spec-10-percent-layer),0 0 8px var(--yt-spec-10-percent-layer);} .center-aligned {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-merch-shelf-renderer.css.map*/</style>';
pCb=d}d=pCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qCb=a}a=qCb;return a}}});
var LZ=KZ;LZ.prototype.debouncedUpdateOnResize=LZ.prototype.debouncedUpdateOnResize;LZ.prototype.dataChanged=LZ.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],LZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],LZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.vy),_.T("design:type",Object)],LZ.prototype,"ytdHorizontalListBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],LZ.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],LZ.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],LZ.prototype,"itemStyle",void 0);_.S([_.N({value:6}),_.T("design:type",Number)],LZ.prototype,"initialCount",void 0);_.S([_.N({value:"data.items"}),_.T("design:type",String)],LZ.prototype,"itemsPath",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],LZ.prototype,"watchMetadataRefresh",void 0);_.S([_.Z("#items"),_.T("design:type",HTMLDivElement)],LZ.prototype,"items",void 0);_.S([_.Z("#scroll-container"),_.T("design:type",HTMLDivElement)],LZ.prototype,"JSC$41297_scrollContainer",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],LZ.prototype,"dataChanged",null);
_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],LZ.prototype,"debouncedUpdateOnResize",null);LZ=_.S([_.Q({asyncProperties:!0,is:"ytd-merch-shelf-renderer"})],LZ);
var rCb;
var sCb;
var MZ=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-add-backstage-comment-action":"addBackstageCommentAction","yt-add-backstage-post-action":"addBackstagePostAction","yt-add-backstage-reply-action":"addBackstageReplyAction","yt-ban-author-action":"banAuthorAction","yt-hide-reported-comment-action":"hideReportedCommentAction","yt-remove-comment-action":"removeCommentAction","yt-replace-backstage-comment-action":"replaceBackstageCommentAction","yt-replace-backstage-post-action":"replaceBackstagePostAction",
"yt-replace-backstage-reply-action":"replaceBackstageReplyAction"};return a};
_.q(MZ,_.K);_.f=MZ.prototype;
_.f.addBackstagePostAction=function(a){this.get("header.commentsHeaderRenderer.shouldShowBackstagePostOptimistically",this.data)&&(a=this.get("addBackstagePostAction.renderer.backstagePostThreadRenderer",a))&&(this.get("header.commentsHeaderRenderer.zeroStateMessage.backstageZeroStateRenderer",this.data)&&this.set("data.header.commentsHeaderRenderer.zeroStateMessage",{}),this.get("header.commentsHeaderRenderer.schedulingZeroStateMessage.postSchedulingZeroStateRenderer",this.data)&&this.set("data.header.commentsHeaderRenderer.schedulingZeroStateMessage",
{}),this.get("data.contents")?this.splice("data.contents",0,0,{backstagePostThreadRenderer:a}):this.set("data.contents",[{backstagePostThreadRenderer:a}]))};
_.f.addBackstageCommentAction=function(a){var b=this.get("addBackstageCommentAction.parentId",a);a=this.get("addBackstageCommentAction.renderer.commentThreadRenderer",a);if(b&&a){b=this.postIdToIndices(b);for(var c=0;c<b.length;c++){var d=b[c];if(0>d)break;d="data.contents."+d+".backstagePostThreadRenderer.comments";this.get(d)&&(this.get(d+".backstageCommentsRenderer.contents")&&this.push(d+".backstageCommentsRenderer.contents",{commentThreadRenderer:a}),this.get(d+".backstageCommentsRenderer.teaserContents")?
this.push(d+".backstageCommentsRenderer.teaserContents",{commentThreadRenderer:a}):this.set(d+".backstageCommentsRenderer.teaserContents",[{commentThreadRenderer:a}]))}}};
_.f.addBackstageReplyAction=function(a){var b=this.get("addBackstageReplyAction.parentId",a);a=this.get("addBackstageReplyAction.renderer.commentRenderer",a);b&&a&&this.setCreatorReply(b,a)};
_.f.banAuthorAction=function(a){var b=this.get("banAuthorAction.commentId",a);b&&(a=this.get("banAuthorAction.parentCommentId",a)||this.getParentPostId(b),this.removeFromStream(b,a))};
_.f.hideReportedCommentAction=function(a){var b=this.get("hideReportedCommentAction.commentId",a);b&&((a=this.get("hideReportedCommentAction.parentCommentId",a))||(a=this.getParentPostId(b)),this.removeFromStream(b,a))};
_.f.replaceBackstageCommentAction=function(a){var b=this.get("replaceBackstageCommentAction.commentId",a),c=this.get("replaceBackstageCommentAction.parentId",a);a=this.get("replaceBackstageCommentAction.renderer.commentThreadRenderer",a);if(b&&c&&a){c=this.postIdToIndices(c);for(var d=0;d<c.length;d++){var e=c[d];if(0>e)break;var h=this.commentIdToIndex(b,e,!1);if(0<=h){var l=this.get("data.contents."+e+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.contents."+h+".commentThreadRenderer.replies.commentRepliesRenderer");
l&&(a.replies={commentRepliesRenderer:l});this.splice("data.contents."+e+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.contents",h,1,{commentThreadRenderer:a})}h=this.commentIdToIndex(b,e,!0);if(0<=h){if(l=this.get("data.contents."+e+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.teaserContents."+(h+".commentThreadRenderer.replies.commentRepliesRenderer")))a.replies={commentRepliesRenderer:l};this.splice("data.contents."+e+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.teaserContents",
h,1,{commentThreadRenderer:a})}}}};
_.f.replaceBackstagePostAction=function(a){var b=this.get("replaceBackstagePostAction.itemId",a);if(b){b=this.postIdToIndices(b);for(var c=0;c<b.length;c++){var d=b[c];if(0>d)break;var e=this.getPostRendererType(d),h=this.get("replaceBackstagePostAction.renderer."+e,a);if(!h&&"sharedPostRenderer"!==e)break;var l=!1;h||(l=!0,h=this.get("replaceBackstagePostAction.renderer.backstagePostRenderer",a));if(!h)break;var m={};l?(m.backstagePostRenderer=h,this.set("data.contents."+d+".backstagePostThreadRenderer.post.sharedPostRenderer.originalPost",
m)):(m[e]=h,this.set("data.contents."+d+".backstagePostThreadRenderer.post",m))}}};
_.f.replaceBackstageReplyAction=function(a){var b=this.get("replaceBackstageReplyAction.replyId",a),c=this.get("replaceBackstageReplyAction.parentId",a);a=this.get("replaceBackstageReplyAction.renderer.commentRenderer",a);b&&a&&c&&this.setCreatorReply(c,a)};
_.f.removeCommentAction=function(a){var b=this.get("removeCommentAction.commentId",a);if(b){var c=this.get("removeCommentAction.parentCommentId",a);c&&this.get("removeCommentAction.isCreatorReply",a)?this.setCreatorReply(c,void 0):(c||(c=this.getParentPostId(b)),this.removeFromStream(b,c))}};
_.f.setCreatorReply=function(a,b){var c=this.getParentPostId(a);if(c){c=this.postIdToIndices(c);for(var d=0;d<c.length;d++){var e=c[d];if(0>e)break;var h=this.commentIdToIndex(a,e,!1);if(0<=h){var l="data.contents."+e+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.contents."+h;h=l+".commentThreadRenderer.comment.commentRenderer.containsCreatorReply";l+=".commentThreadRenderer.replies";void 0==b?(this.set(l,{}),this.set(h,!1)):(this.set(l,{commentRepliesRenderer:{teaserContents:[{commentRenderer:b}]}}),
this.set(l+".commentRepliesRenderer.teaserContents.0.commentRenderer.isCreatorReply",!0),this.set(h,!0))}h=this.commentIdToIndex(a,e,!0);0<=h&&(h="data.contents."+e+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.teaserContents."+h,e=h+".commentThreadRenderer.comment.commentRenderer.containsCreatorReply",h+=".commentThreadRenderer.replies",void 0==b?(this.set(h,{}),this.set(e,!1)):(this.set(h,{commentRepliesRenderer:{teaserContents:[{commentRenderer:b}]}}),this.set(e,!0)))}}};
_.f.removeFromStream=function(a,b){if(b){b=this.postIdToIndices(b);for(var c=0;c<b.length;c++){var d=b[c];if(0>d)break;var e=this.commentIdToIndex(a,d,!1);0<=e&&this.splice("data.contents."+d+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.contents",e,1);e=this.commentIdToIndex(a,d,!0);0<=e&&this.splice("data.contents."+d+".backstagePostThreadRenderer.comments.backstageCommentsRenderer.teaserContents",e,1);d="data.contents."+d+".backstagePostThreadRenderer.post.backstagePostRenderer";
e=d+".backstageAttachment.pollRenderer.votedCommentId";this.get(e)===a&&(this.set(e,null),this.set(d+".backstageAttachment.pollRenderer.commentDelete",null))}}else for(b=this.postIdToIndices(a).reverse(),c=0;c<b.length;c++){d=b[c];if(0>d)break;e=this.getPostRendererType(d);var h=this.get("backstagePostThreadRenderer.post."+e,this.data.contents[d]);h.postId===a?this.splice("data.contents",d,1):"sharedPostRenderer"===e&&this.set("data.contents."+d+".backstagePostThreadRenderer.post.sharedPostRenderer.originalPost",
null);h.scheduledPublishTimeSec&&_.C(this,"yt-update-posts-total-count-action",[{updatePostsTotalCountAction:{updateType:"UPDATE_POSTS_TOTAL_COUNT_TYPE_REMOVE",number:1}}])}};
_.f.postIdToIndices=function(a){for(var b=[],c=0;c<this.data.contents.length;c++){var d=this.getPostRendererType(c);this.get("backstagePostThreadRenderer.post."+d+".postId",this.data.contents[c])===a&&b.push(c);if("sharedPostRenderer"===d){var e=this.get("backstagePostThreadRenderer.post."+d+".originalPost.backstagePostRenderer.postId",this.data.contents[c]);d=this.get("backstagePostThreadRenderer.post."+d+".originalPost.postRenderer.postId",this.data.contents[c]);e!==a&&d!==a||b.push(c)}}return b};
_.f.commentIdToIndex=function(a,b,c){if(0>b)return-1;var d,e,h,l,m,p=null==(d=this.data)?void 0:null==(e=d.contents)?void 0:null==(h=e[b])?void 0:null==(l=h.backstagePostThreadRenderer)?void 0:null==(m=l.comments)?void 0:m.backstageCommentsRenderer;return(b=c?null==p?void 0:p.teaserContents:null==p?void 0:p.contents)&&b.length?b.findIndex(function(r){return r.commentThreadRenderer.comment.commentRenderer.commentId===a}):-1};
_.f.getParentPostId=function(a){a=a.split(".");if(a[1])return a[0]};
_.f.getPostRendererType=function(a){return this.get("backstagePostThreadRenderer.post.sharedPostRenderer",this.data.contents[a])?"sharedPostRenderer":"backstagePostRenderer"};
_.t.Object.defineProperties(MZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-items--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_backstage_items.ytd.backstage.items.css.js--\x3e<ytd-item-section-renderer data="[[data]]"></ytd-item-section-renderer>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rCb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_backstage_items.ytd.backstage.items.css.js--\x3e<style>:host {display: block;max-width: 852px;} /*# sourceMappingURL=ytd-backstage-items.css.map*/</style>";rCb=d}d=rCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sCb=a}a=sCb;return a}}});
var NZ=MZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],NZ.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],NZ.prototype,"data",void 0);NZ=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-items"})],NZ);
var tCb;
var uCb;
_.Ng({is:"ytd-comments",_template:function(){if(void 0!==uCb)return uCb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comments--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_comments.ytd.comments.css.js--\x3e<tp-yt-paper-spinner-lite active="[[canShowDefaultSpinner_]]"></tp-yt-paper-spinner-lite>\n<ytd-item-section-renderer id="sections" can-schedule-jobs="[[canScheduleJobs]]" continuation-disable-prescan-visibility="[[disablePrescanVisibility]]" data="{{data}}" initial-count="2">\n</ytd-item-section-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tCb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_comments.ytd.comments.css.js--\x3e<style>:host {display: block;} :host([is-backstage]) {--ytd-comment-thread-margin-bottom: 24px;--ytd-comment-replies-margin-top: 8px;--yt-spec-icon-inactive: var(--yt-spec-text-secondary);--yt-spec-icon-active-other: var(--yt-spec-text-primary);max-width: 852px;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;} /*# sourceMappingURL=ytd-comments.css.map*/</style>";
tCb=d}d=tCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return uCb=a},
behaviors:[_.tE.YtPlayerListenerBehavior,_.U.YtRendererBehavior,_.Y.YtActionHandlerBehavior],properties:{data:{type:Object,observer:"dataChanged_"},isBackstage:{type:Boolean,computed:"computeIsBackstage_(data.header.commentsHeaderRenderer.isBackstageContent)",reflectToAttribute:!0},disablePrescanVisibility:{type:Boolean,value:!0},canScheduleJobs:{type:Boolean,value:!0},canShowDefaultSpinner_:{type:Boolean,computed:"computeCanShowDefaultSpinner_(data, canScheduleJobs)"}},actionMap:{"yt-ban-author-action":"banAuthorAction_",
"yt-create-comment-action":"createCommentAction_","yt-create-comment-reply-action":"createCommentReplyAction_","yt-hide-reported-comment-action":"hideReportedCommentAction_","yt-pin-comment-action":"pinCommentAction_","yt-reload-comments-command":"reloadComments_","yt-remove-comment-action":"removeCommentAction_","yt-unpin-comment-action":"unpinCommentAction_","yt-update-comment-action":"updateCommentAction_","yt-update-comment-reply-action":"updateCommentReplyAction_"},listeners:{"yt-retrieve-location":"onRetrieveLocation_"},
observers:["contentsChanged_(data.contents.*)","headerChanged_(data.header)"],created:function(){var a=this;this.cachedCommentIds_=new Set;this.RenderingPriority={RENDERING_PRIORITY_UNKNOWN:0,RENDERING_PRIORITY_PINNED_COMMENT:10,RENDERING_PRIORITY_LINKED_COMMENT:20,RENDERING_PRIORITY_REALTIME_COMMENT:30,RENDERING_PRIORITY_COMMUNITY_GUIDELINES_BELOW_HEADER:80,RENDERING_PRIORITY_COMMENT_HEADER:100};this.initCommentsCsi_();this.player=null;this.PLAYER_EVENTS_=new Map;this.PLAYER_EVENTS_.set("onVideoProgress",
function(){a.onVideoProgress_()})},
attached:function(){this.maybeGetAndSetPlayer_()},
maybeGetAndSetPlayer_:function(){var a=this,b=_.sv();b&&b.getPlayerPromise().then(function(c){a.playerApiReady_(c)})},
playerApiReady_:function(a){this.setPlayer_(a)},
setPlayer_:function(a){this.player_&&this.unlistenFromPlayerEvents(this.player_,this.PLAYER_EVENTS_);(this.player_=a)&&this.listenToPlayerEvents(a,this.PLAYER_EVENTS_)},
detached:function(){this.setPlayer_(null)},
onVideoProgress_:function(){var a=this,b=_.hd("prefetch_comments_ms_after_video");0<b&&setTimeout(function(){return a.loadComments()},b);
_.x("prefetch_comments_idle_job")&&_.Jn(_.xe,function(){return a.loadComments()});
this.setPlayer_(null)},
dataChanged_:function(){this.cachedCommentIds_.clear();this.player_||this.maybeGetAndSetPlayer_()},
contentsChanged_:function(a){var b=this;if(a&&a.value)if("data.contents"===a.path){a=a.value;for(var c=0,d=a.length;c<d;c++){var e=this.get("commentThreadRenderer.comment.commentRenderer.commentId",a[c]);e&&this.cachedCommentIds_.add(e)}this.tickForCommentsTimer_("cml")}else"data.contents.splices"===a.path&&a.value.indexSplices.forEach(function(h){h.removed.forEach(function(p){(p=b.get("commentThreadRenderer.comment.commentRenderer.commentId",p))&&b.cachedCommentIds_.delete(p)});
for(var l=0;l<h.addedCount;l++){var m=b.get("commentThreadRenderer.comment.commentRenderer.commentId",h.object[h.index+l]);m&&b.cachedCommentIds_.add(m)}})},
headerChanged_:function(a){a&&this.tickForCommentsTimer_("cmhl")},
initCommentsCsi_:function(){_.KYa("wn_comments");var a=_.fg();a&&_.Qh({clientScreenNonce:a},"wn_comments");this.tickForCommentsTimer_("cmi")},
createCommentAction_:function(a){if(a=this.get("createCommentAction.contents.commentThreadRenderer",a))!this.isBackstage&&this.get("header.commentsHeaderRenderer.createRenderer.commentSimpleboxRenderer.zeroStep.zeroStepChannelCreationRenderer",this.data)&&this.set("data.header.commentsHeaderRenderer.createRenderer.commentSimpleboxRenderer.zeroStep",{}),this.isBackstage&&this.get("header.commentsHeaderRenderer.zeroStateMessage.backstageZeroStateRenderer",this.data)&&this.set("data.header.commentsHeaderRenderer.zeroStateMessage",
{}),this.insert_(a)},
doReplyInsert_:function(a,b,c,d){_.x("enable_reply_threading_on_web")&&0<=c?(d=this.get(a+"."+c),b.commentRenderer.threadNestingLevel=d.commentRenderer.threadNestingLevel+1,c=this.getReplyThreadEndIndex_(a,c),this.splice(a,c,0,b)):d?this.splice(a,d,0,b):this.push(a,b)},
getRepliesPath_:function(a){return"data.contents."+a+".commentThreadRenderer.replies"},
getRepliesContentsPath_:function(a,b){a=this.getRepliesPath_(a);return b?a+".commentRepliesRenderer.teaserContents":a+".commentRepliesRenderer.contents"},
createCommentReplyAction_:function(a){var b=this.get("createCommentReplyAction.parentCommentId",a),c=this.get("createCommentReplyAction.contents",a);if(c)if(this.get("createCommentReplyAction.isCreatorReply",a))this.setCreatorReply_(b,c);else if(b=this.commentIdToIndex_(b),!(0>b)){var d=this.getRepliesPath_(b);if(this.get(d)){a=this.get("createCommentReplyAction.replyToCommentId",a);d=this.getRepliesContentsPath_(b,!1);if(this.get(d)){var e=this.get(d).length,h=d+"."+(e-1)+".continuationItemRenderer";
this.get(h+".button")?(h=this.replyIdToIndex_(a,b,!1),this.doReplyInsert_(d,c,h,e-1)):this.get(h)||(e=this.replyIdToIndex_(a,b,!1),this.doReplyInsert_(d,c,e,null))}d=this.getRepliesContentsPath_(b,!0);this.get(d)?(b=this.replyIdToIndex_(a,b,!0),(!a||0<=b)&&this.doReplyInsert_(d,c,b,null)):this.set(d,[c])}else this.set(d,{commentRepliesRenderer:{teaserContents:[c]}})}},
setCreatorReply_:function(a,b){var c=this.getParentCommentId_(a.replace("#","."));if(c&&(c=this.commentIdToIndex_(c),!(0>c))){var d=this.replyIdToIndex_(a,c,!1);0<=d&&(d=this.getRepliesContentsPath_(c,!1)+("."+d+".commentRenderer"),this.set(d+".creatorReply",b),this.set(d+".containsCreatorReply",!!this.get("commentRenderer",b)));a=this.replyIdToIndex_(a,c,!0);0<=a&&(a=this.getRepliesContentsPath_(c,!0)+("."+a+".commentRenderer"),this.set(a+".creatorReply",b),this.set(a+".containsCreatorReply",!!this.get("commentRenderer",
b)))}},
hideReportedCommentAction_:function(a){var b=this.get("hideReportedCommentAction.commentId",a);b&&(a=this.get("hideReportedCommentAction.parentCommentId",a),b=b.replace("#","."),a||(a=this.getParentCommentId_(b)),this.remove_(b,a))},
getParentCommentId_:function(a){a=a.split(".");if(a[1])return a[0]},
removeCommentAction_:function(a){var b=this.get("removeCommentAction.commentId",a);b&&(this.get("removeCommentAction.isCreatorReply",a)?(b=this.get("removeCommentAction.parentCommentId",a),this.setCreatorReply_(b,{})):(a=this.get("removeCommentAction.parentCommentId",a),b=b.replace("#","."),a||(a=this.getParentCommentId_(b)),this.remove_(b,a)))},
pinCommentAction_:function(a){var b=this.get("pinCommentAction.commentId",a);b&&(a=this.get("pinCommentAction.actionResult.update.commentThreadRenderer",a))&&(this.remove_(b),this.insert_(a,!0))},
unpinCommentAction_:function(a){var b=this.get("unpinCommentAction.commentId",a);b&&(a=this.get("unpinCommentAction.actionResult.update.commentThreadRenderer",a))&&(this.remove_(b),this.insert_(a))},
updateCommentAction_:function(a){var b=this.get("updateCommentAction.commentId",a);a=this.get("updateCommentAction.contents",a);b&&a&&this.update_(b,a)},
updateCommentReplyAction_:function(a){var b=this.get("updateCommentReplyAction.commentId",a),c=this.get("updateCommentReplyAction.contents",a);b&&c&&(this.get("updateCommentReplyAction.isCreatorReply",a)?(b=this.get("updateCommentReplyAction.parentCommentId",a),this.setCreatorReply_(b,c)):(b=b.replace("#","."),a=this.getParentCommentId_(b),this.update_(b,c,a)))},
banAuthorAction_:function(a){var b=this.get("banAuthorAction.commentId",a);b&&(a=this.get("banAuthorAction.parentCommentId",a),b=b.replace("#","."),a||(a=this.getParentCommentId_(b)),this.remove_(b,a))},
commentIdToIndex_:function(a){if(!a||!this.cachedCommentIds_.has(a))return-1;for(var b=0,c=this.data.contents.length;b<c;b++)if(this.get("commentThreadRenderer.comment.commentRenderer.commentId",this.data.contents[b])===a)return b;return-1},
insert_:function(a,b){if(0==this.cachedCommentIds_.size)this.set("data.contents",[{commentThreadRenderer:a}]);else for(var c=0,d=this.data.contents.length;c<d;c++){var e=this.data.contents[c].commentThreadRenderer;if(this.RenderingPriority[a.renderingPriority]>=this.RenderingPriority[e.renderingPriority]){b&&this.RenderingPriority[a.renderingPriority]==this.RenderingPriority[e.renderingPriority]?this.splice("data.contents",c,1,{commentThreadRenderer:a}):this.splice("data.contents",c,0,{commentThreadRenderer:a});
break}}},
getReplyThreadEndIndex_:function(a,b){a=this.get(a);var c=b+1;if(void 0===a)return c;for(b=a[b];c<a.length&&a[c].commentRenderer.threadNestingLevel>b.commentRenderer.threadNestingLevel;)c++;return c},
doReplyRemove_:function(a,b,c){a=this.replyIdToIndex_(a,b,c);0>a||(b=this.getRepliesContentsPath_(b,c),c=a+1,_.x("enable_reply_threading_on_web")&&(c=this.getReplyThreadEndIndex_(b,a)),this.splice(b,a,c-a))},
remove_:function(a,b){b=this.commentIdToIndex_(b);0>b?(b=this.commentIdToIndex_(a),0>b||this.splice("data.contents",b,1)):(this.doReplyRemove_(a,b,!1),this.doReplyRemove_(a,b,!0),0>b||(b="data.contents."+b+".commentThreadRenderer.comment.commentRenderer",this.get(b+".backstageAttachment.pollRenderer.votedCommentId")==a&&(this.set(b+".backstageAttachment.pollRenderer.votedCommentId",null),this.set(b+".backstageAttachment.pollRenderer.commentDelete",null))))},
replyIdToIndex_:function(a,b,c){if(0>b)return-1;b=this.getRepliesContentsPath_(b,c);b=this.get(b);if(!b||!b.length)return-1;c=0;for(var d=b.length;c<d;c++)if(this.get("commentRenderer.commentId",b[c])===a)return c;return-1},
doReplyUpdate_:function(a,b,c,d){a=this.replyIdToIndex_(a,b,d);if(!(0>a)){b=this.getRepliesContentsPath_(b,d);if(d=this.get(b+"."+a+".commentRenderer.creatorReply"))c.commentRenderer.creatorReply=d;c.commentRenderer.threadNestingLevel=this.get(b)[a].commentRenderer.threadNestingLevel;this.splice(b,a,1,c)}},
update_:function(a,b,c){var d=this.commentIdToIndex_(c);!c||0>d?(d=this.commentIdToIndex_(a),0>d||this.set("data.contents."+d+".commentThreadRenderer.comment",b)):(this.doReplyUpdate_(a,d,b,!1),this.doReplyUpdate_(a,d,b,!0))},
computeIsBackstage_:function(a){return!!a},
computeCanShowDefaultSpinner_:function(a,b){return b?(b=_.Eg().resolve(_.Cg(_.Co)))&&b.isOnWatch&&b.isOnWatch()?!(a&&(a.contents||a.header||a.continuations)):!1:!1},
onRetrieveLocation_:function(a,b){b&&b.hasComments&&this.tickForCommentsTimer_("lss")},
tickForCommentsTimer_:function(a){_.pw(a,void 0,"wn_comments")},
reloadComments_:function(a){a&&a.reloadCommentsCommand&&a.reloadCommentsCommand.command&&a.reloadCommentsCommand.command.continuationCommand&&_.Kg(this,[a.reloadCommentsCommand.command])},
loadComments:function(){_.hd("prefetch_comments_ms_after_video")||_.x("prefetch_comments_idle_job")?this.$.sections.triggerInitialContinuations():this.$.sections.triggerContinuations()}});
var vCb;
var wCb;
_.Ng({is:"yt-header-with-back-renderer",_template:function(){if(void 0!==wCb)return wCb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-header-with-back-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_header_with_back_renderer.yt.header.with.back.renderer.css.js--\x3e<div id="header-wrapper">\n  <yt-icon-button id="back-button" label="Back" on-tap="onBackIconTap_">\n    <yt-icon icon="yt-icons:arrow-back"></yt-icon>\n  </yt-icon-button>\n  <div id="image-renderer" hidden="[[!data.imageRenderer]]"></div>\n  <div id="header-container">\n    <yt-formatted-string id="header-title" text="[[data.title]]"></yt-formatted-string>\n    <yt-formatted-string id="header-subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vCb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_header_with_back_renderer.yt.header.with.back.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-spec-general-background-b);} #header-wrapper {max-width: 700px;margin: 0 auto;padding: var(--ytd-margin-8x) 0;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #back-button {left: -36px;position: absolute;color: var(--yt-spec-brand-icon-inactive);} #image-renderer {height: 36px;width: 36px;border-radius: 50%;background-color: var(--yt-spec-static-brand-red);margin-right: var(--ytd-margin-3x);color: var(--yt-spec-brand-background-solid);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #header-container {overflow: hidden;} #header-title {display: block;color: var(--yt-spec-text-primary);display: block;max-height: calc(2 * var(--yt-navbar-title-line-height,2.4rem));overflow: hidden;font-size: var(--ytd-navbar-title-font-size);font-weight: var(--ytd-navbar-title-font-weight);line-height: var(--ytd-navbar-title-line-height);} #header-subtitle {display: block;color: var(--yt-spec-text-secondary);@apply --ytd-thumbnail-attribution;} /*# sourceMappingURL=yt-header-with-back-renderer.css.map*/</style>";
vCb=d}d=vCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return wCb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},stampDom:{"data.imageRenderer":{id:"image-renderer",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer",params:{fit:!0}}}}},onBackIconTap_:function(){window.history.back()}});
var xCb;
var yCb;
var OZ=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(OZ,_.K);_.f=OZ.prototype;_.f.attached=function(){this.isDarkTheme=!!document.documentElement.hasAttribute("dark")};
_.f.onDarkModeToggledAction=function(a){a!==this.isDarkTheme&&(this.isDarkTheme=a,this.setUrl())};
_.f.dataChanged=function(){var a=this;if(this.data){var b=this.setUrl();b&&_.dZa({destination:window,iframe:this.iframe,origin:_.f4a(b.toString()),channelName:"yt-iframe",onMessage:function(c){(c=a.getCommunicationCommand(c.data))&&a.ytComponentBehavior.resolveCommand(c)},
onEstablished:function(){}})}};
_.f.setUrl=function(){if(this.data&&this.data.iframeUrl){var a=_.Aba(this.isDarkTheme&&this.data.darkThemeIframeUrl?this.data.darkThemeIframeUrl:this.data.iframeUrl);if(a)return _.Cb(this.iframe,a),a}};
_.f.getCommunicationCommand=function(a){var b;if(null!=(b=this.data)&&b.onCommunicationCommandsMap){var c;return null==(c=this.data.onCommunicationCommandsMap.find(function(d){return d.key===a}))?void 0:c.value}};
_.t.Object.defineProperties(OZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===yCb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-iframe-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.ypc.yt_iframe_renderer.yt.iframe.renderer.css.js--\x3e<iframe id="iframe"></iframe>';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
var b=a.content,c=b.insertBefore;if(void 0===xCb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.ypc.yt_iframe_renderer.yt.iframe.renderer.css.js--\x3e<style>:host {height: var(--yt-iframe-renderer-height,auto);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} iframe {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=yt-iframe-renderer.css.map*/</style>";
xCb=d}d=xCb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);yCb=a}a=yCb;return a}}});
var PZ=OZ;PZ.prototype.dataChanged=PZ.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],PZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],PZ.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],PZ.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],PZ.prototype,"data",void 0);
_.S([_.N({value:!1}),_.T("design:type",Boolean)],PZ.prototype,"isDarkTheme",void 0);_.S([_.Z("#iframe"),_.T("design:type",HTMLIFrameElement)],PZ.prototype,"iframe",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],PZ.prototype,"dataChanged",null);PZ=_.S([_.lu({is:"yt-iframe-renderer",noInjection:!0})],PZ);
var QZ=function(){var a=_.K.apply(this,arguments)||this;a.isSearch=!1;a.hasChipsBar=!1;a.monitorScroll=!0;a.nextContinuation={continuationType:"sectionListContinuation"};return a};
_.q(QZ,_.K);_.f=QZ.prototype;
_.f.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{feedChannelFilterHeaderRenderer:{component:"ytd-feed-channel-filter-header-renderer",noInjection:!0},textHeaderRenderer:{component:"ytd-text-header-renderer",noInjection:!0},richListHeaderRenderer:{component:"ytd-rich-list-header-renderer",noInjection:!0},headerWithBackRenderer:{component:"yt-header-with-back-renderer",noInjection:!0}}},"data.subMenu":{id:"sub-menu",mapping:{searchSubMenuRenderer:{component:"ytd-search-sub-menu-renderer",noInjection:!0},
channelSubMenuRenderer:{component:"ytd-channel-sub-menu-renderer",noInjection:!0},channelListSubMenuRenderer:{component:"ytd-channel-list-sub-menu-renderer",noInjection:!0},sortFilterSubMenuRenderer:{component:"yt-sort-filter-sub-menu-renderer",noInjection:!0}}},shownItems:{id:"contents",mapping:{itemSectionRenderer:{matcher:function(a){switch(a.sectionIdentifier){case "comment-item-section":return"ytd-comments";case "backstage-item-section":return"ytd-backstage-items";default:return"ytd-item-section-renderer"}},
properties:{isSearchDova:"[[isSearchDova]]",isSearch:"[[isSearch]]",hasChipsBar:"[[hasChipsBar]]",engagementPanel:"[[engagementPanel]]"},noInjection:!0},channelOwnerEmptyStateRenderer:{component:"ytd-channel-owner-empty-state-renderer",noInjection:!0},channelAgeGateRenderer:{component:"ytd-channel-age-gate-renderer",noInjection:!0},emptyProductDetailsRenderer:{component:"ytd-empty-product-details-renderer",noInjection:!0},iframeRenderer:{component:"yt-iframe-renderer",noInjection:!0},commerceCartRenderer:{component:"ytd-commerce-cart-renderer",
noInjection:!0},minorMomentHeaderRenderer:{component:"ytd-minor-moment-header-renderer",noInjection:!0},minorMomentSettingSectionRenderer:{component:"ytd-minor-moment-setting-section-renderer",noInjection:!0},pageIntroductionRenderer:{component:"ytd-page-introduction-renderer",noInjection:!0},reportHistorySectionRenderer:{component:"ytd-report-history-section-renderer",noInjection:!0},sponsorshipsManagementRenderer:{component:"ytd-sponsorships-management-renderer",noInjection:!0},sponsorshipsExpandablePerksRenderer:{component:"ytd-sponsorships-expandable-perks-renderer",
noInjection:!0},offlineItemSectionRenderer:{component:"ytd-offline-item-section-renderer",noInjection:!0},merchandiseShelfRenderer:{component:"ytd-merch-shelf-renderer",noInjection:!0},continuationItemRenderer:"ytd-continuation-item-renderer"}},"data.continuations":{id:"continuations",mapping:{nextContinuationData:{component:"yt-next-continuation",noInjection:!0}},renderPriority:_.x("kevlar_low_priority_continuation")?0:void 0,usePageScheduler:_.x("kevlar_low_priority_continuation")}}};
_.f.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"contents","yt-reload-continuation-items-command-body":"contents"}};
_.f.getItemsPath=function(){return"data.contents"};
_.f.replacePrimaryContent=function(a){this.set("data.contents",a)};
_.f.computeHasSortFilter=function(a){return!!a&&!!a.sortFilterSubMenuRenderer};
_.t.Object.defineProperties(QZ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NBb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-section-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_section_list_renderer.ytd.section.list.renderer.css.js--\x3e<div id="header-container">\n  <div id="header"></div>\n  <div id="sub-menu"></div>\n</div>\n<div id="contents"></div>\n<div id="continuations"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MBb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_section_list_renderer.ytd.section.list.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([continuation-is-reloading]) {opacity: 0.25;pointer-events: none;} :host(:not([hide-bottom-separator]):not([page-subtype=history]):not([page-subtype=memberships-and-purchases]):not([page-subtype=ypc-offers])) #contents>*:not(:last-child):not(ytd-page-introduction-renderer):not([item-dismissed]):not([has-destination-shelf-renderer]):not(ytd-minor-moment-header-renderer) {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} :host([page-subtype~=ypc-offers]) #contents {width: 100%;max-width: 700px;margin: 0 auto;} :host([can-show-more]) #continuations {visibility: hidden;} :host([has-sort-filter]) #header {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([has-sort-filter]) #header-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([has-sort-filter]) #sub-menu {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} ytd-channel-list-sub-menu-renderer {display: block;padding: 16px 0;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} :host([page-subtype=WEB_PAGE_TYPE_SETTINGS]) {margin: 0 32px;} :host([page-subtype=channels]) ytd-comments {max-width: 852px;} :host([engagement-panel]) {overflow: hidden;-ms-flex: 1 1 0%;-webkit-flex: 1 1 0%;flex: 1 1 0%;} :host([engagement-panel]:not([engagement-panel-dropdown])) #contents {overflow-y: auto;} :host([engagement-panel]:not([engagement-panel-dropdown])) #contents::-webkit-scrollbar {width: 16px;} :host([engagement-panel]:not([engagement-panel-dropdown])) #contents::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([engagement-panel]:not([engagement-panel-dropdown])) #contents::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} :host([engagement-panel-dropdown]) #contents {overflow-y: auto;scrollbar-color: transparent transparent;scrollbar-width: thin;} :host([engagement-panel-dropdown]) #contents::-webkit-scrollbar {background: transparent;width: 8px;} :host([engagement-panel-dropdown]) #contents::-webkit-scrollbar-thumb {height: 56px;background: transparent;} :host([engagement-panel-dropdown]) #contents:hover {scrollbar-color: var(--yt-spec-icon-disabled) transparent;} :host([engagement-panel-dropdown]) #contents:hover::-webkit-scrollbar-thumb {background: var(--yt-spec-icon-disabled);} /*# sourceMappingURL=ytd-section-list-renderer.css.map*/</style>";
MBb=d}d=MBb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NBb=a}a=NBb;return a}}});
var RZ=QZ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],RZ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],RZ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],RZ.prototype,"ytLazyListBehavior",void 0);_.S([_.L(_.AF.YtNextContinuationBehavior),_.T("design:type",Object)],RZ.prototype,"ytNextContinuationBehavior",void 0);
_.S([_.L(_.HAb),_.T("design:type",Object)],RZ.prototype,"ytBooleanLogicBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],RZ.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],RZ.prototype,"data",void 0);_.S([_.N({value:2}),_.T("design:type",Number)],RZ.prototype,"initialCount",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],RZ.prototype,"autoFill",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeHasSortFilter(data.subMenu)"}),_.T("design:type",Boolean)],RZ.prototype,"hasSortFilter",void 0);_.S([_.N({reflectToAttribute:!0,computed:"toBool(data.hideBottomSeparator)"}),_.T("design:type",Boolean)],RZ.prototype,"hideBottomSeparator",void 0);_.S([_.N(),_.T("design:type",Object)],RZ.prototype,"isSearch",void 0);_.S([_.N(),_.T("design:type",Object)],RZ.prototype,"hasChipsBar",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],RZ.prototype,"pageSubtype",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],RZ.prototype,"engagementPanel",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],RZ.prototype,"engagementPanelDropdown",void 0);_.S([_.Z("#contents"),_.T("design:type",HTMLElement)],RZ.prototype,"monitorScrollElement",void 0);RZ=_.S([_.Q({is:"ytd-section-list-renderer"})],RZ);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2");

var Q0a,U0a,V0a,W0a,Z0a,c1a,e1a,f1a,LG;Q0a=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])};
_.R0a=function(a){return"WEB_PAGE_TYPE_WATCH"===a.ui.currentPageType};
_.FG=function(a,b){var c={url:"/watch?v="+a.videoId,webPageType:"WEB_PAGE_TYPE_WATCH",rootVe:3832};a.playlistId&&(c.url+="&list="+a.playlistId);a.playerParams&&(c.url+="&pp="+a.playerParams);a={watchEndpoint:a,commandMetadata:{webCommandMetadata:c}};b&&(a.clickTrackingParams=b);return a};
_.S0a=function(a){a&&_.UE("transactionFlowStarted",a)};
_.T0a=function(a){a&&_.UE("transactionFlowCancelled",a)};
_.GG=function(a,b,c){b&&_.UE("transactionFlowFailed",b,a,c)};
U0a=function(){var a=new _.g.TextEncoder;return new _.g.ReadableStream({start:function(b){for(var c=_.k(["test\r\n","test\r\n"]),d=c.next();!d.done;d=c.next())b.enqueue(a.encode(d.value));b.close()}})};
V0a=function(a){return(a=/\/\/([^\/]+)\//.exec(a))?a[1].endsWith("google.com"):!1};
_.X0a=function(a,b){b=void 0===b?!0:b;a.addEventListener("wheel",W0a);a.overscrollConfig={cooldown:b}};
_.Y0a=function(a){a.overscrollConfig=void 0;a.removeEventListener("wheel",W0a)};
W0a=function(a){var b=a.deltaY,c=a.target,d=null;if(window.Polymer&&window.Polymer.Element){if(c=a.path||a.composedPath&&a.composedPath()){c=_.k(c);for(var e=c.next();!e.done&&(e=e.value,!Z0a(e,b));e=c.next())if(e.overscrollConfig){d=e;break}}}else for(;c&&!Z0a(c,b);){if(c.overscrollConfig){d=c;break}c=c.parentElement}d&&(b=d.overscrollConfig,b.cooldown?(d=a.deltaY,c=b.lastDeltaY||0,b.lastDeltaY=d,e=b.lastStopped||0,c&&e&&0<c==0<d?Math.abs(c)>=Math.abs(d)?(d=e+1200,c=!1):(d=e+600,c=!0):(d=Date.now()+
600,c=!0),d>Date.now()&&(a.preventDefault(),c&&(b.lastStopped=Date.now()))):a.preventDefault())};
Z0a=function(a,b){return 0>b&&0<a.scrollTop||0<b&&a.scrollTop<a.scrollHeight-a.clientHeight-1?(a=getComputedStyle(a).overflowY,"auto"==a||"scroll"==a):!1};
_.HG=function(a,b){var c=_.u.getValueByKeys(a,"contents","twoColumnWatchNextResults","results","results","contents"),d=_.u.getValueByKeys(a,"contents","twoColumnWatchNextResults","playlist","playlist")||null;(void 0===b?0:b)&&(d=null);var e=b=null;if(d)b=_.u.getValueByKeys(d,"titleText"),c=_.u.unsafeClone(_.u.getValueByKeys(d,"longBylineText")),e="",c&&(e=_.qi(c)),!d.isInfinite&&-1<d.currentIndex&&0<d.totalVideos&&!d.is_course&&(c=d.currentIndex+1+" / "+d.totalVideos,e&&(e+=" - "),e+=c),e=_.Mu(e);
else if(c){c=_.k(c);for(var h=c.next();!h.done;h=c.next())h=h.value,h.videoPrimaryInfoRenderer&&(b=_.u.getValueByKeys.apply(_.u,[h].concat(_.sc($0a)))),h.videoSecondaryInfoRenderer&&(e=_.u.getValueByKeys.apply(_.u,[h].concat(_.sc(a1a))))}else _.md(Error("Ne"));var l;a.currentVideoEndpoint?l=a.currentVideoEndpoint:_.md(Error("Oe"));return{miniplayerTitle:b,miniplayerSubtitle:e,watchEndpoint:l,playlistData:d}};
c1a=function(a){b1a||(b1a=_.fZa(new _.fF(1,void 0,void 0,_.cCa),0));a=b1a.format(Math.floor(a));if("be"===_.li||"bg"===_.li||"es"===_.li||"et"===_.li||"ka"===_.li||"lv"===_.li||"pl"===_.li||"pt-PT"===_.li||"sq"===_.li){var b=_.cCa.GROUP_SEP.replace(".","\\."),c=_.cCa.DECIMAL_SEP.replace(".","\\.");a=a.replace(new RegExp("^(\\d)"+b+"(\\d+("+c+"\\d+)?\\D*)$"),"$1$2")}return a};
_.d1a=function(a){var b=void 0===b?{}:b;a=a instanceof Error?a:new _.ge(a);if(a.args)for(var c=_.k(a.args),d=c.next();!d.done;d=c.next())d=d.value,d instanceof Object&&(b=Object.assign({},d,b));b.category="H5 Ads Control Flow";a.args=[b];_.Rf(a)};
_.IG=function(a,b,c){Array.isArray(c)||(c=[String(c)]);_.hua(a.JSC$32753_queryData_,b,c)};
_.JG=function(a,b,c){return a.addJob(b,3,c)};
_.KG=function(a,b){return a.JSC$35989_xhr_?a.JSC$35989_xhr_.getResponseHeader(b):null};
e1a=function(a,b,c,d,e){Q0a(a.videoIds,b,c);b>a.currentIndex&&c<=a.currentIndex?a.JSC$36658_setCurrentIndex(a.currentIndex+1):b===a.currentIndex?a.JSC$36658_setCurrentIndex(c):b<a.currentIndex&&c>=a.currentIndex&&a.JSC$36658_setCurrentIndex(a.currentIndex-1);a.pendingUpdates.push({action:"ACTION_MOVE_VIDEO_AFTER",setVideoId:d,movedSetVideoIdPredecessor:e});_.Px(a)};
f1a={thin:2,medium:4,thick:6};LG=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in f1a?f1a[b]:_.tPa(a,b)};
_.g1a=function(a){if(_.Cj&&!_.Jj(9)){var b=LG(a,"borderLeft"),c=LG(a,"borderRight"),d=LG(a,"borderTop");a=LG(a,"borderBottom");return new _.Xt(d,c,a,b)}b=_.Yt(a,"borderLeftWidth");c=_.Yt(a,"borderRightWidth");d=_.Yt(a,"borderTopWidth");a=_.Yt(a,"borderBottomWidth");return new _.Xt(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};
_.h1a=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var h=a[c++];b[d++]=String.fromCharCode((e&31)<<6|h&63)}else if(239<e&&365>e){h=a[c++];var l=a[c++],m=a[c++];e=((e&7)<<18|(h&63)<<12|(l&63)<<6|m&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else h=a[c++],l=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(h&63)<<6|l&63)}return b.join("")};
_.i1a=function(a){var b=[];_.Fpa(a,function(c){b.push(c)});
return b};
_.MG=function(a,b){var c=_.ab(a,b);if(null==c)return null;if(c instanceof _.Ja)return c;c=null==c?_.gb():c.constructor===_.Ja?c:"string"===typeof c?c?new _.Ja(c,_.fb):_.gb():_.za(c)?c.length?new _.Ja(new Uint8Array(c),_.fb):_.gb():_.gb();_.n(a,b,c,void 0,!0);return c};
_.NG=function(a,b,c,d){return _.Va(a,b,_.Ta(a,d,c))};
_.j1a=function(a,b,c,d){var e=new _.Jh(null);a&&_.sm(e,a);b&&_.tm(e,b);c&&_.um(e,c);d&&_.vm(e,d);return e};
_.k1a=function(a,b,c,d,e,h,l){var m=new _.Os;_.ZDa.push(m);b&&m.listen("complete",b);m.listenOnce("ready",m.cleanupSend_);h&&(m.timeoutInterval_=Math.max(0,h));l&&(m.JSC$35989_withCredentials_=l);m.send(a,c,d,e)};
_.OG=function(a){_.G.call(this,a,-1,l1a)};
_.q(_.OG,_.G);_.OG.prototype.getMessage=function(){return _.Vj(this,2)};
var l1a=[3];
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.PG=function(a){this.JSC$38133_worker_=a.worker||null;this.JSC$38133_streamBinaryChunks_=a.streamBinaryChunks||!1};
_.cj(_.PG,_.ol);_.PG.prototype.JSC$32583_createInstance=function(){return new QG(this.JSC$38133_worker_,this.JSC$38133_streamBinaryChunks_)};
_.PG.prototype.internalGetOptions=_.aWa({});
var QG=function(a,b){_.Kk.call(this);this.JSC$38137_worker_=a;this.JSC$38137_streamBinaryChunks_=b;this.JSC$38137_credentialsMode_=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=this.responseXML=null;this.requestHeaders_=new Headers;this.JSC$38137_responseHeaders_=null;this.JSC$38137_method_="GET";this.JSC$38137_url_="";this.inProgress_=!1;this.JSC$38137_textDecoder_=this.currentReader_=this.fetchResponse_=null};
_.cj(QG,_.Kk);QG.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Fe");this.JSC$38137_method_=a;this.JSC$38137_url_=b;this.readyState=1;RG(this)};
QG.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Ge");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.JSC$38137_method_,credentials:this.JSC$38137_credentialsMode_,cache:void 0};a&&(b.body=a);(this.JSC$38137_worker_||_.g).fetch(new Request(this.JSC$38137_url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
QG.prototype.abort=function(){this.response=this.responseText="";this.requestHeaders_=new Headers;this.status=0;this.currentReader_&&this.currentReader_.cancel("Request was aborted.").catch(function(){return null});
1<=this.readyState&&this.inProgress_&&4!=this.readyState&&(this.inProgress_=!1,SG(this));this.readyState=0};
QG.prototype.handleResponse_=function(a){if(this.inProgress_&&(this.fetchResponse_=a,this.JSC$38137_responseHeaders_||(this.status=this.fetchResponse_.status,this.statusText=this.fetchResponse_.statusText,this.JSC$38137_responseHeaders_=a.headers,this.readyState=2,RG(this)),this.inProgress_&&(this.readyState=3,RG(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof _.g.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.JSC$38137_streamBinaryChunks_){if(this.responseType)throw Error("He");this.response=[]}else this.response=this.responseText="",this.JSC$38137_textDecoder_=new TextDecoder;m1a(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};
var m1a=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
QG.prototype.handleDataFromStream_=function(a){if(this.inProgress_){if(this.JSC$38137_streamBinaryChunks_&&a.value)this.response.push(a.value);else if(!this.JSC$38137_streamBinaryChunks_){var b=a.value?a.value:new Uint8Array(0);if(b=this.JSC$38137_textDecoder_.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?SG(this):RG(this);3==this.readyState&&m1a(this)}};
QG.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,SG(this))};
QG.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,SG(this))};
QG.prototype.handleSendFailure_=function(){this.inProgress_&&SG(this)};
var SG=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.JSC$38137_textDecoder_=null;RG(a)};
QG.prototype.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};
QG.prototype.getResponseHeader=function(a){return this.JSC$38137_responseHeaders_?this.JSC$38137_responseHeaders_.get(a.toLowerCase())||"":""};
QG.prototype.getAllResponseHeaders=function(){if(!this.JSC$38137_responseHeaders_)return"";for(var a=[],b=this.JSC$38137_responseHeaders_.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};
var RG=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(QG.prototype,"withCredentials",{get:function(){return"include"===this.JSC$38137_credentialsMode_},
set:function(a){this.JSC$38137_credentialsMode_=a?"include":"same-origin"}});
var n1a;n1a=function(a){var b="";_.u.forEach(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});
return b};
_.TG=function(a,b,c){if(_.u.isEmpty(c))return a;c=n1a(c);if("string"===typeof a)return _.Vt(a,_.od(b),c);_.vz(a,b,c);return a};
_.UG=function(){};
_.UG.prototype.stringify=function(a){return _.g.JSON.stringify(a,void 0)};
_.UG.prototype.parse=function(a){return _.g.JSON.parse(a,void 0)};
var o1a=function(){_.yk.call(this,"q")};
_.cj(o1a,_.yk);var p1a=function(){_.yk.call(this,"p")};
_.cj(p1a,_.yk);
var q1a=!1,r1a=function(a,b){if(!q1a){q1a=!0;var c;a:{if(c=_.g.navigator)if(c=c.userAgent)break a;c=""}(-1==c.indexOf("Chrome")||-1!=c.indexOf("Edg")?0:90<=parseInt(/Chrome\/(\d+)/.exec(c)[1],10))&&V0a(a)&&window&&window.document&&V0a(window.document.URL)&&(c=document.createElement("meta"),c.httpEquiv="origin-trial",c.content="A0eNbltY1nd4MP7XTHXnTxWogDL6mWTdgIIKfKOTJoUHNbFFMZQBoiHHjJ9UK9lgYndWFaxOWR7ld8uUjcWmcwIAAAB/eyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IkZldGNoVXBsb2FkU3RyZWFtaW5nIiwiZXhwaXJ5IjoxNjM2NTAyMzk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==",
document.head.appendChild(c),(new Request("",{body:new ReadableStream,method:"POST"})).headers.has("Content-Type")||(_.g.fetch(a+"?ot=1",{method:"POST",body:"test\r\n"}).catch(b),_.g.fetch(a+"?ot=2",{method:"POST",body:U0a(),allowHTTP1ForStreamingUpload:!1}).catch(b),_.g.fetch(a+"?ot=3",{method:"POST",body:U0a(),allowHTTP1ForStreamingUpload:!0}).catch(b)))}};
var s1a=null,t1a=function(){return s1a=s1a||new _.Kk},u1a=function(a){_.yk.call(this,"serverreachability",a)};
_.cj(u1a,_.yk);var VG=function(a){var b=t1a();b.dispatchEvent(new u1a(b,a))},v1a=function(a){_.yk.call(this,"statevent",a)};
_.cj(v1a,_.yk);var WG=function(a){var b=t1a();b.dispatchEvent(new v1a(b,a))},w1a=function(a,b,c,d){_.yk.call(this,"timingevent",a);
this.size=b;this.retries=d};
_.cj(w1a,_.yk);var x1a=function(a,b,c){var d=t1a();d.dispatchEvent(new w1a(d,a,b,c))},XG=function(a,b){if("function"!==typeof a)throw Error("Ie");
return _.g.setTimeout(function(){a()},b)};
var YG=function(){this.redactEnabled_=!0};
YG.prototype.disableRedact=function(){this.redactEnabled_=!1};
var y1a=function(a,b,c,d,e,h){a.info(function(){if(a.redactEnabled_)if(h){var l="";for(var m=h.split("&"),p=0;p<m.length;p++){var r=m[p].split("=");if(1<r.length){var v=r[0];r=r[1];var z=v.split("_");l=2<=z.length&&"type"==z[1]?l+(v+"="+r+"&"):l+(v+"=redacted&")}}}else l=null;else l=h;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+l})},z1a=function(a,b,c,d,e,h,l){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+h+" "+l})},ZG=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+A1a(a,c)+(d?" "+d:"")})},B1a=function(a,b){a.info(function(){return"TIMEOUT: "+b})};
YG.prototype.debug=function(){};
YG.prototype.info=function(){};
YG.prototype.warning=function(){};
var A1a=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(2>e.length)){var h=e[1];if(Array.isArray(h)&&!(1>h.length)){var l=h[0];if("noop"!=l&&"stop"!=l&&"close"!=l)for(var m=1;m<h.length;m++)h[m]=""}}}return(0,_.Il)(c)}catch(p){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};
var $G=function(a,b,c,d,e){this.JSC$38167_channel_=a;this.JSC$38167_channelDebug_=b;this.sid_=c;this.JSC$38167_rid_=d;this.JSC$38167_retryId_=e||1;this.JSC$38167_eventHandler_=new _.bA(this);this.timeout_=45E3;a=_.Dj?125:void 0;this.JSC$38167_pollingTimer_=new _.Vk(a);this.JSC$38167_extraHeaders_=null;this.JSC$38167_successful_=!1;this.JSC$38167_postData_=this.JSC$38167_requestUri_=this.JSC$38167_baseUri_=this.JSC$38167_type_=this.JSC$38167_requestStartTime_=this.JSC$38167_watchDogTimeoutTime_=this.JSC$38167_watchDogTimerId_=
null;this.JSC$38167_pendingMessages_=[];this.JSC$38167_xmlHttp_=null;this.JSC$38167_xmlHttpChunkStart_=0;this.JSC$38167_lastError_=this.JSC$38167_verb_=null;this.JSC$38167_lastStatusCode_=-1;this.JSC$38167_cancelled_=!1;this.JSC$38167_readyStateChangeThrottleMs_=0;this.JSC$38167_readyStateChangeThrottle_=null;this.firstByteReceived_=this.initialResponseDecoded_=this.decodeInitialResponse_=this.decodeChunks_=!1;this.fetchResponseState_=new C1a},C1a=function(){this.textDecoder=null;
this.responseBuffer="";this.responseArrivedForFetch=!1},D1a=function(a,b){switch(a){case 0:return"Non-200 return code ("+b+")";
case 1:return"XMLHTTP failure (no data)";case 2:return"HttpConnection timeout";default:return"Unknown error"}},E1a={},aH={};
$G.prototype.setTimeout=function(a){this.timeout_=a};
var G1a=function(a,b,c){a.JSC$38167_type_=1;a.JSC$38167_baseUri_=_.xz(b.clone());a.JSC$38167_postData_=c;a.decodeChunks_=!0;F1a(a,null)},F1a=function(a,b){a.JSC$38167_requestStartTime_=Date.now();
bH(a);a.JSC$38167_requestUri_=a.JSC$38167_baseUri_.clone();_.IG(a.JSC$38167_requestUri_,"t",a.JSC$38167_retryId_);a.JSC$38167_xmlHttpChunkStart_=0;var c=a.JSC$38167_channel_.JSC$38187_supportsCrossDomainXhrs_;a.fetchResponseState_=new C1a;a.JSC$38167_xmlHttp_=H1a(a.JSC$38167_channel_,c?b:null,!a.JSC$38167_postData_);0<a.JSC$38167_readyStateChangeThrottleMs_&&(a.JSC$38167_readyStateChangeThrottle_=new _.wv((0,_.$i)(a.JSC$38171_xmlHttpHandler_,a,a.JSC$38167_xmlHttp_),a.JSC$38167_readyStateChangeThrottleMs_));
a.JSC$38167_eventHandler_.listen(a.JSC$38167_xmlHttp_,"readystatechange",a.JSC$38171_readyStateChangeHandler_);b=a.JSC$38167_extraHeaders_?_.u.clone(a.JSC$38167_extraHeaders_):{};a.JSC$38167_postData_?(a.JSC$38167_verb_||(a.JSC$38167_verb_="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.JSC$38167_xmlHttp_.send(a.JSC$38167_requestUri_,a.JSC$38167_verb_,a.JSC$38167_postData_,b)):(a.JSC$38167_verb_="GET",a.JSC$38167_xmlHttp_.send(a.JSC$38167_requestUri_,a.JSC$38167_verb_,null,b));VG(1);
y1a(a.JSC$38167_channelDebug_,a.JSC$38167_verb_,a.JSC$38167_requestUri_,a.JSC$38167_rid_,a.JSC$38167_retryId_,a.JSC$38167_postData_)};
$G.prototype.JSC$38171_readyStateChangeHandler_=function(a){a=a.target;var b=this.JSC$38167_readyStateChangeThrottle_;b&&3==_.Qs(a)?(this.JSC$38167_channelDebug_.debug("Throttling readystatechange."),b.fire()):this.JSC$38171_xmlHttpHandler_(a)};
$G.prototype.JSC$38171_xmlHttpHandler_=function(a){try{a==this.JSC$38167_xmlHttp_?I1a(this):this.JSC$38167_channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.JSC$38167_channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),J1a(this)}finally{}};
var I1a=function(a){var b=_.Qs(a.JSC$38167_xmlHttp_),c=a.JSC$38167_xmlHttp_.JSC$35989_lastErrorCode_,d=a.JSC$38167_xmlHttp_.getStatus();if(!(3>b||3==b&&!_.Dj&&!J1a(a))){a.JSC$38167_cancelled_||4!=b||7==c||(8==c||0>=d?VG(3):VG(2));cH(a);var e=a.JSC$38167_xmlHttp_.getStatus();a.JSC$38167_lastStatusCode_=e;c=K1a(a);J1a(a)||a.JSC$38167_channelDebug_.debug(function(){return"No response text for uri "+a.JSC$38167_requestUri_+" status "+e});
a.JSC$38167_successful_=200==e;z1a(a.JSC$38167_channelDebug_,a.JSC$38167_verb_,a.JSC$38167_requestUri_,a.JSC$38167_rid_,a.JSC$38167_retryId_,b,e);if(a.JSC$38167_successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=L1a(a))ZG(a.JSC$38167_channelDebug_,a.JSC$38167_rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,M1a(a,d);else{a.JSC$38167_successful_=!1;a.JSC$38167_lastError_=3;WG(12);a.JSC$38167_channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+
a.JSC$38167_rid_+")");dH(a);eH(a);return}a.decodeChunks_?(N1a(a,b,c),_.Dj&&a.JSC$38167_successful_&&3==b&&O1a(a)):(ZG(a.JSC$38167_channelDebug_,a.JSC$38167_rid_,c,null),M1a(a,c));4==b&&dH(a);a.JSC$38167_successful_&&!a.JSC$38167_cancelled_&&(4==b?P1a(a.JSC$38167_channel_,a):(a.JSC$38167_successful_=!1,bH(a)))}else 400==e&&0<c.indexOf("Unknown SID")?(a.JSC$38167_lastError_=3,WG(12),a.JSC$38167_channelDebug_.warning("XMLHTTP Unknown SID ("+a.JSC$38167_rid_+")")):(a.JSC$38167_lastError_=0,WG(13),a.JSC$38167_channelDebug_.warning("XMLHTTP Bad status "+
e+" ("+a.JSC$38167_rid_+")")),dH(a),eH(a)}},L1a=function(a){return a.JSC$38167_xmlHttp_&&(a=_.KG(a.JSC$38167_xmlHttp_,"X-HTTP-Initial-Response"))&&!_.lj(a)?a:null},K1a=function(a){if(!Q1a(a))return _.Ss(a.JSC$38167_xmlHttp_);
var b=a.JSC$38167_xmlHttp_.getResponse(),c="",d=b.length,e=4==_.Qs(a.JSC$38167_xmlHttp_);if(!a.fetchResponseState_.textDecoder){if("undefined"===typeof TextDecoder)return dH(a),eH(a),"";a.fetchResponseState_.textDecoder=new _.g.TextDecoder}for(var h=0;h<d;h++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[h],{stream:e&&h==d-1});b.splice(0,d);a.fetchResponseState_.responseBuffer+=c;a.JSC$38167_xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},
J1a=function(a){return a.JSC$38167_xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!_.Ss(a.JSC$38167_xmlHttp_)&&!a.JSC$38167_xmlHttp_.getResponse()):!1},Q1a=function(a){return a.JSC$38167_xmlHttp_?"GET"==a.JSC$38167_verb_&&2!=a.JSC$38167_type_&&a.JSC$38167_channel_.usesFetchStreams_:!1},N1a=function(a,b,c){for(var d=!0,e;!a.JSC$38167_cancelled_&&a.JSC$38167_xmlHttpChunkStart_<c.length;)if(e=R1a(a,c),e==aH){4==b&&(a.JSC$38167_lastError_=4,WG(14),d=!1);
ZG(a.JSC$38167_channelDebug_,a.JSC$38167_rid_,null,"[Incomplete Response]");break}else if(e==E1a){a.JSC$38167_lastError_=4;WG(15);ZG(a.JSC$38167_channelDebug_,a.JSC$38167_rid_,c,"[Invalid Chunk]");d=!1;break}else ZG(a.JSC$38167_channelDebug_,a.JSC$38167_rid_,e,null),M1a(a,e);Q1a(a)&&e!=aH&&e!=E1a&&(a.fetchResponseState_.responseBuffer="",a.JSC$38167_xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.JSC$38167_lastError_=1,WG(16),d=!1);a.JSC$38167_successful_=
a.JSC$38167_successful_&&d;d?0<c.length&&!a.firstByteReceived_&&(a.firstByteReceived_=!0,b=a.JSC$38167_channel_,b.JSC$38187_backChannelRequest_==a&&b.detectBufferingProxy_&&!b.bpDetectionDone_&&(b.JSC$38187_channelDebug_.info("Great, no buffering proxy detected. Bytes received: "+c.length),S1a(b),b.bpDetectionDone_=!0,WG(11))):(ZG(a.JSC$38167_channelDebug_,a.JSC$38167_rid_,c,"[Invalid Chunked Response]"),dH(a),eH(a))};
$G.prototype.JSC$38171_pollResponse_=function(){if(this.JSC$38167_xmlHttp_){var a=_.Qs(this.JSC$38167_xmlHttp_),b=_.Ss(this.JSC$38167_xmlHttp_);this.JSC$38167_xmlHttpChunkStart_<b.length&&(cH(this),N1a(this,a,b),this.JSC$38167_successful_&&4!=a&&bH(this))}};
var O1a=function(a){a.JSC$38167_eventHandler_.listen(a.JSC$38167_pollingTimer_,"tick",a.JSC$38171_pollResponse_);a.JSC$38167_pollingTimer_.start()},R1a=function(a,b){var c=a.JSC$38167_xmlHttpChunkStart_,d=b.indexOf("\n",c);
if(-1==d)return aH;c=Number(b.substring(c,d));if(isNaN(c))return E1a;d+=1;if(d+c>b.length)return aH;b=b.slice(d,d+c);a.JSC$38167_xmlHttpChunkStart_=d+c;return b};
$G.prototype.cancel=function(){this.JSC$38167_cancelled_=!0;dH(this)};
var bH=function(a){a.JSC$38167_watchDogTimeoutTime_=Date.now()+a.timeout_;T1a(a,a.timeout_)},T1a=function(a,b){if(null!=a.JSC$38167_watchDogTimerId_)throw Error("Je");
a.JSC$38167_watchDogTimerId_=XG((0,_.$i)(a.JSC$38171_onWatchDogTimeout_,a),b)},cH=function(a){a.JSC$38167_watchDogTimerId_&&(_.g.clearTimeout(a.JSC$38167_watchDogTimerId_),a.JSC$38167_watchDogTimerId_=null)};
$G.prototype.JSC$38171_onWatchDogTimeout_=function(){this.JSC$38167_watchDogTimerId_=null;var a=Date.now();0<=a-this.JSC$38167_watchDogTimeoutTime_?this.handleTimeout_():(this.JSC$38167_channelDebug_.warning("WatchDog timer called too early"),T1a(this,this.JSC$38167_watchDogTimeoutTime_-a))};
$G.prototype.handleTimeout_=function(){B1a(this.JSC$38167_channelDebug_,this.JSC$38167_requestUri_);2!=this.JSC$38167_type_&&(VG(3),WG(17));dH(this);this.JSC$38167_lastError_=2;eH(this)};
var eH=function(a){0==a.JSC$38167_channel_.state_||a.JSC$38167_cancelled_||P1a(a.JSC$38167_channel_,a)},dH=function(a){cH(a);
_.Jb(a.JSC$38167_readyStateChangeThrottle_);a.JSC$38167_readyStateChangeThrottle_=null;a.JSC$38167_pollingTimer_.stop();a.JSC$38167_eventHandler_.removeAll();if(a.JSC$38167_xmlHttp_){var b=a.JSC$38167_xmlHttp_;a.JSC$38167_xmlHttp_=null;b.abort();b.dispose()}};
$G.prototype.getLastError=function(){return this.JSC$38167_lastError_};
var M1a=function(a,b){try{var c=a.JSC$38167_channel_;if(0!=c.state_&&(c.JSC$38187_backChannelRequest_==a||U1a(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&U1a(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.JSC$38182_parser_.parse(b)}catch(m){d=null}if(Array.isArray(d)&&3==d.length){b=d;if(0==b[0])a:if(c.JSC$38187_channelDebug_.debug("Server claims our backchannel is missing."),c.JSC$38187_backChannelTimerId_)c.JSC$38187_channelDebug_.debug("But we are currently starting the request.");
else{if(c.JSC$38187_backChannelRequest_)if(c.JSC$38187_backChannelRequest_.JSC$38167_requestStartTime_+3E3<a.JSC$38167_requestStartTime_)fH(c),gH(c);else break a;else c.JSC$38187_channelDebug_.warning("We do not have a BackChannel established");V1a(c);WG(18)}else{c.JSC$38187_lastPostResponseArrayId_=b[1];var e=c.JSC$38187_lastPostResponseArrayId_-c.JSC$38187_lastArrayId_;if(0<e){var h=b[2];c.JSC$38187_channelDebug_.debug(h+" bytes (in "+e+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&
0==c.JSC$38187_backChannelRetryCount_&&!c.JSC$38187_deadBackChannelTimerId_&&(c.JSC$38187_deadBackChannelTimerId_=XG((0,_.$i)(c.JSC$38189_onBackChannelDead_,c),6E3))}}if(1>=_.W1a(c.forwardChannelRequestPool_)&&c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(m){}c.forwardChannelFlushedCallback_=void 0}}else c.JSC$38187_channelDebug_.debug("Bad POST response data returned"),hH(c,11)}else if((a.initialResponseDecoded_||c.JSC$38187_backChannelRequest_==a)&&fH(c),!_.lj(b)){var l=
c.wireCodec_.JSC$38182_parser_.parse(b);c.onInput_(l,a)}VG(4)}catch(m){}};
var X1a=function(a,b){this.JSC$38174_mapId=a;this.map=b;this.context=null};
var Y1a,Z1a,U1a,$1a,a2a,c2a;
Y1a=function(a){this.maxPoolSizeConfigured_=a||10;_.g.PerformanceNavigationTiming?(a=_.g.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(_.g.chrome&&_.g.chrome.loadTimes&&_.g.chrome.loadTimes()&&_.g.chrome.loadTimes().wasFetchedViaSpdy);this.JSC$38177_maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.JSC$38177_maxSize_&&(this.requestPool_=new Set);this.JSC$38177_request_=null;this.JSC$38177_pendingMessages_=[]};
Z1a=function(a){return a.JSC$38177_request_?!0:a.requestPool_?a.requestPool_.size>=a.JSC$38177_maxSize_:!1};
_.W1a=function(a){return a.JSC$38177_request_?1:a.requestPool_?a.requestPool_.size:0};
U1a=function(a,b){return a.JSC$38177_request_?a.JSC$38177_request_==b:a.requestPool_?a.requestPool_.has(b):!1};
$1a=function(a,b){a.requestPool_?a.requestPool_.add(b):a.JSC$38177_request_=b};
a2a=function(a,b){a.JSC$38177_request_&&a.JSC$38177_request_==b?a.JSC$38177_request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
Y1a.prototype.cancel=function(){this.JSC$38177_pendingMessages_=_.b2a(this);if(this.JSC$38177_request_)this.JSC$38177_request_.cancel(),this.JSC$38177_request_=null;else if(this.requestPool_&&0!==this.requestPool_.size){for(var a=_.k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
_.b2a=function(a){if(null!=a.JSC$38177_request_)return a.JSC$38177_pendingMessages_.concat(a.JSC$38177_request_.JSC$38167_pendingMessages_);if(null!=a.requestPool_&&0!==a.requestPool_.size){var b=a.JSC$38177_pendingMessages_;a=_.k(a.requestPool_.values());for(var c=a.next();!c.done;c=a.next())b=b.concat(c.value.JSC$38167_pendingMessages_);return b}return _.ka(a.JSC$38177_pendingMessages_)};
c2a=function(a,b){a.JSC$38177_pendingMessages_=a.JSC$38177_pendingMessages_.concat(b)};
var d2a=function(a,b){var c=new YG;c.debug("TestLoadImage: loading "+a);if(_.g.Image){var d=new Image;d.onload=_.aj(iH,c,d,"TestLoadImage: loaded",!0,b);d.onerror=_.aj(iH,c,d,"TestLoadImage: error",!1,b);d.onabort=_.aj(iH,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=_.aj(iH,c,d,"TestLoadImage: timeout",!1,b);_.g.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);
d.src=a}else b(!1)},iH=function(a,b,c,d,e){try{a.debug(c),b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(h){}};
var e2a=function(){this.JSC$38182_parser_=new _.UG},f2a=function(a,b,c){var d=c||"";
try{_.rm(a,function(e,h){var l=e;_.pa(e)&&(l=(0,_.Il)(e));b.push(d+h+"="+encodeURIComponent(l))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;
}};
var jH=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},kH=function(a){this.serverVersion_=0;
this.JSC$38187_outgoingMaps_=[];this.JSC$38187_channelDebug_=new YG;this.JSC$38187_hostPrefix_=this.JSC$38187_backChannelUri_=this.JSC$38187_forwardChannelUri_=this.JSC$38187_path_=this.JSC$38187_backChannelRequest_=this.httpSessionId_=this.httpSessionIdParam_=this.JSC$38187_extraParams_=this.httpHeadersOverwriteParam_=this.initHeaders_=this.JSC$38187_extraHeaders_=null;this.JSC$38187_nextMapId_=this.JSC$38187_nextRid_=0;this.JSC$38187_failFast_=jH("failFast",!1,a);this.enableStreaming_=this.JSC$38187_deadBackChannelTimerId_=
this.JSC$38187_backChannelTimerId_=this.JSC$38187_forwardChannelTimerId_=this.handler_=null;this.allowStreamingMode_=!0;this.JSC$38187_lastStatusCode_=this.JSC$38187_lastPostResponseArrayId_=this.JSC$38187_lastArrayId_=-1;this.JSC$38187_backChannelAttemptId_=this.JSC$38187_backChannelRetryCount_=this.JSC$38187_forwardChannelRetryCount_=0;this.JSC$38187_baseRetryDelayMs_=jH("baseRetryDelayMs",5E3,a);this.JSC$38187_retryDelaySeedMs_=jH("retryDelaySeedMs",1E4,a);this.JSC$38187_forwardChannelMaxRetries_=
jH("forwardChannelMaxRetries",2,a);this.JSC$38187_forwardChannelRequestTimeoutMs_=jH("forwardChannelRequestTimeoutMs",2E4,a);this.JSC$38187_xmlHttpFactory_=a&&a.xmlHttpFactory||void 0;this.usesFetchStreams_=a&&a.useFetchStreams||!1;this.backChannelRequestTimeoutMs_=void 0;this.JSC$38187_supportsCrossDomainXhrs_=a&&a.supportsCrossDomainXhr||!1;this.sid_="";this.forwardChannelRequestPool_=new Y1a(a&&a.concurrentRequestLimit);this.wireCodec_=new e2a;this.fastHandshake_=a&&a.fastHandshake||!1;this.encodeInitMessageHeaders_=
a&&a.encodeInitMessageHeaders||!1;this.fastHandshake_&&this.encodeInitMessageHeaders_&&(this.JSC$38187_channelDebug_.warning("Ignore encodeInitMessageHeaders because fastHandshake is set."),this.encodeInitMessageHeaders_=!1);this.blockingHandshake_=a&&a.blockingHandshake||!1;a&&a.disableRedact&&this.JSC$38187_channelDebug_.disableRedact();a&&a.forceLongPolling&&(this.allowStreamingMode_=!1);this.detectBufferingProxy_=!this.fastHandshake_&&this.allowStreamingMode_&&a&&a.detectBufferingProxy||!1;this.forwardChannelFlushedCallback_=
void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=!1;this.bpDetectionTimerId_=null;this.enableOriginTrials_=!a||!1!==a.enableOriginTrials;this.nonAckedMapsAtChannelClose_=null};
_.f=kH.prototype;_.f.JSC$38189_channelVersion_=8;_.f.state_=1;
_.f.connect=function(a,b,c,d){this.JSC$38187_channelDebug_.debug("connect()");this.enableOriginTrials_&&(this.JSC$38187_channelDebug_.info("Origin Trials enabled."),_.Ok((0,_.$i)(this.runOriginTrials_,this,a)));WG(0);this.JSC$38187_path_=a;this.JSC$38187_extraParams_=b||{};c&&void 0!==d&&(this.JSC$38187_extraParams_.OSID=c,this.JSC$38187_extraParams_.OAID=d);this.enableStreaming_=this.allowStreamingMode_;this.JSC$38187_channelDebug_.debug("connectChannel_()");a=g2a(this,null,this.JSC$38187_path_);
this.JSC$38187_channelDebug_.debug("GetForwardChannelUri: "+a);this.JSC$38187_forwardChannelUri_=a;lH(this)};
_.f.disconnect=function(){this.JSC$38187_channelDebug_.debug("disconnect()");h2a(this);if(3==this.state_){var a=this.JSC$38187_nextRid_++,b=this.JSC$38187_forwardChannelUri_.clone();_.vz(b,"SID",this.sid_);_.vz(b,"RID",a);_.vz(b,"TYPE","terminate");mH(this,b);a=new $G(this,this.JSC$38187_channelDebug_,this.sid_,a);a.JSC$38167_type_=2;a.JSC$38167_baseUri_=_.xz(b.clone());b=!1;_.g.navigator&&_.g.navigator.sendBeacon&&(b=_.g.navigator.sendBeacon(a.JSC$38167_baseUri_.toString(),""));!b&&_.g.Image&&((new Image).src=
a.JSC$38167_baseUri_,b=!0);b||(a.JSC$38167_xmlHttp_=H1a(a.JSC$38167_channel_,null),a.JSC$38167_xmlHttp_.send(a.JSC$38167_baseUri_));a.JSC$38167_requestStartTime_=Date.now();bH(a)}i2a(this)};
_.f.runOriginTrials_=function(a){try{r1a(a,function(){}),this.JSC$38187_channelDebug_.info("Origin Trials invoked: "+a)}catch(b){}};
var gH=function(a){a.JSC$38187_backChannelRequest_&&(S1a(a),a.JSC$38187_backChannelRequest_.cancel(),a.JSC$38187_backChannelRequest_=null)},h2a=function(a){gH(a);
a.JSC$38187_backChannelTimerId_&&(_.g.clearTimeout(a.JSC$38187_backChannelTimerId_),a.JSC$38187_backChannelTimerId_=null);fH(a);a.forwardChannelRequestPool_.cancel();a.JSC$38187_forwardChannelTimerId_&&("number"===typeof a.JSC$38187_forwardChannelTimerId_&&_.g.clearTimeout(a.JSC$38187_forwardChannelTimerId_),a.JSC$38187_forwardChannelTimerId_=null)};
kH.prototype.getState=function(){return this.state_};
var lH=function(a){Z1a(a.forwardChannelRequestPool_)||a.JSC$38187_forwardChannelTimerId_||(a.JSC$38187_forwardChannelTimerId_=!0,_.Ok(a.JSC$38189_onStartForwardChannelTimer_,a),a.JSC$38187_forwardChannelRetryCount_=0)},k2a=function(a,b){if(_.W1a(a.forwardChannelRequestPool_)>=a.forwardChannelRequestPool_.JSC$38177_maxSize_-(a.JSC$38187_forwardChannelTimerId_?1:0))return!1;
if(a.JSC$38187_forwardChannelTimerId_)return a.JSC$38187_channelDebug_.debug("Use the retry request that is already scheduled."),a.JSC$38187_outgoingMaps_=b.JSC$38167_pendingMessages_.concat(a.JSC$38187_outgoingMaps_),!0;if(1==a.state_||2==a.state_||a.JSC$38187_forwardChannelRetryCount_>=(a.JSC$38187_failFast_?0:a.JSC$38187_forwardChannelMaxRetries_))return!1;a.JSC$38187_channelDebug_.debug("Going to retry POST");a.JSC$38187_forwardChannelTimerId_=XG((0,_.$i)(a.JSC$38189_onStartForwardChannelTimer_,
a,b),j2a(a,a.JSC$38187_forwardChannelRetryCount_));a.JSC$38187_forwardChannelRetryCount_++;return!0};
kH.prototype.JSC$38189_onStartForwardChannelTimer_=function(a){if(this.JSC$38187_forwardChannelTimerId_)if(this.JSC$38187_forwardChannelTimerId_=null,this.JSC$38187_channelDebug_.debug("startForwardChannel_"),1==this.state_){if(!a){this.JSC$38187_channelDebug_.debug("open_()");this.JSC$38187_nextRid_=Math.floor(1E5*Math.random());a=this.JSC$38187_nextRid_++;var b=new $G(this,this.JSC$38187_channelDebug_,"",a),c=this.JSC$38187_extraHeaders_;this.initHeaders_&&(c?(c=_.u.clone(c),_.u.extend(c,this.initHeaders_)):
c=this.initHeaders_);null!==this.httpHeadersOverwriteParam_||this.encodeInitMessageHeaders_||(b.JSC$38167_extraHeaders_=c,c=null);var d;if(this.fastHandshake_)a:{for(var e=d=0;e<this.JSC$38187_outgoingMaps_.length;e++){b:{var h=this.JSC$38187_outgoingMaps_[e];if("__data__"in h.map&&(h=h.map.__data__,"string"===typeof h)){h=h.length;break b}h=void 0}if(void 0===h)break;d+=h;if(4096<d){d=e;break a}if(4096===d||e===this.JSC$38187_outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=l2a(this,b,d);
e=this.JSC$38187_forwardChannelUri_.clone();_.vz(e,"RID",a);_.vz(e,"CVER",22);this.httpSessionIdParam_&&_.vz(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);mH(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+_.od(n1a(c))+"&"+d:this.httpHeadersOverwriteParam_&&_.TG(e,this.httpHeadersOverwriteParam_,c));$1a(this.forwardChannelRequestPool_,b);this.blockingHandshake_&&_.vz(e,"TYPE","init");this.fastHandshake_?(_.vz(e,"$req",d),_.vz(e,"SID","null"),b.decodeInitialResponse_=!0,G1a(b,e,null)):G1a(b,
e,d);this.state_=2}}else 3==this.state_&&(a?m2a(this,a):0==this.JSC$38187_outgoingMaps_.length?this.JSC$38187_channelDebug_.debug("startForwardChannel_ returned: nothing to send"):Z1a(this.forwardChannelRequestPool_)||(m2a(this),this.JSC$38187_channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var m2a=function(a,b){var c;b?c=b.JSC$38167_rid_:c=a.JSC$38187_nextRid_++;var d=a.JSC$38187_forwardChannelUri_.clone();_.vz(d,"SID",a.sid_);_.vz(d,"RID",c);_.vz(d,"AID",a.JSC$38187_lastArrayId_);mH(a,d);a.httpHeadersOverwriteParam_&&a.JSC$38187_extraHeaders_&&_.TG(d,a.httpHeadersOverwriteParam_,a.JSC$38187_extraHeaders_);c=new $G(a,a.JSC$38187_channelDebug_,a.sid_,c,a.JSC$38187_forwardChannelRetryCount_+1);null===a.httpHeadersOverwriteParam_&&(c.JSC$38167_extraHeaders_=a.JSC$38187_extraHeaders_);
b&&(a.JSC$38187_outgoingMaps_=b.JSC$38167_pendingMessages_.concat(a.JSC$38187_outgoingMaps_));b=l2a(a,c,1E3);c.setTimeout(Math.round(.5*a.JSC$38187_forwardChannelRequestTimeoutMs_)+Math.round(.5*a.JSC$38187_forwardChannelRequestTimeoutMs_*Math.random()));$1a(a.forwardChannelRequestPool_,c);G1a(c,d,b)},mH=function(a,b){a.JSC$38187_extraParams_&&_.u.forEach(a.JSC$38187_extraParams_,function(c,d){_.vz(b,d,c)});
a.handler_&&_.rm({},function(c,d){_.vz(b,d,c)})},l2a=function(a,b,c){c=Math.min(a.JSC$38187_outgoingMaps_.length,c);
var d=a.handler_?(0,_.$i)(a.handler_.JSC$38193_badMapError,a.handler_,a):null;a:for(var e=a.JSC$38187_outgoingMaps_,h=-1;;){var l=["count="+c];-1==h?0<c?(h=e[0].JSC$38174_mapId,l.push("ofs="+h)):h=0:l.push("ofs="+h);for(var m=!0,p=0;p<c;p++){var r=e[p].JSC$38174_mapId,v=e[p].map;r-=h;if(0>r)h=Math.max(0,e[p].JSC$38174_mapId-100),m=!1;else try{f2a(v,l,"req"+r+"_")}catch(z){d&&d(v)}}if(m){d=l.join("&");break a}}a=a.JSC$38187_outgoingMaps_.splice(0,c);b.JSC$38167_pendingMessages_=a;return d},n2a=function(a){a.JSC$38187_backChannelRequest_||
a.JSC$38187_backChannelTimerId_||(a.JSC$38187_backChannelAttemptId_=1,_.Ok(a.JSC$38189_onStartBackChannelTimer_,a),a.JSC$38187_backChannelRetryCount_=0)},V1a=function(a){if(a.JSC$38187_backChannelRequest_||a.JSC$38187_backChannelTimerId_||3<=a.JSC$38187_backChannelRetryCount_)return!1;
a.JSC$38187_channelDebug_.debug("Going to retry GET");a.JSC$38187_backChannelAttemptId_++;a.JSC$38187_backChannelTimerId_=XG((0,_.$i)(a.JSC$38189_onStartBackChannelTimer_,a),j2a(a,a.JSC$38187_backChannelRetryCount_));a.JSC$38187_backChannelRetryCount_++;return!0};
kH.prototype.JSC$38189_onStartBackChannelTimer_=function(){this.JSC$38187_backChannelTimerId_=null;o2a(this);if(this.detectBufferingProxy_&&!this.bpDetectionDone_)if(null==this.JSC$38187_backChannelRequest_||0>=this.handshakeRttMs_)this.JSC$38187_channelDebug_.warning("Skip bpDetectionTimerId_ "+this.JSC$38187_backChannelRequest_+" "+this.handshakeRttMs_);else{var a=2*this.handshakeRttMs_;this.JSC$38187_channelDebug_.info("BP detection timer enabled: "+a);this.bpDetectionTimerId_=XG((0,_.$i)(this.onBpDetectionTimer_,
this),a)}};
kH.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.JSC$38187_channelDebug_.info("BP detection timeout reached.");if(null!=this.JSC$38187_backChannelRequest_.JSC$38167_xmlHttp_){var a=_.Ss(this.JSC$38187_backChannelRequest_.JSC$38167_xmlHttp_);a&&this.JSC$38187_channelDebug_.warning("Timer should have been cancelled : "+a)}this.JSC$38187_channelDebug_.info("Buffering proxy detected and switch to long-polling!");this.enableStreaming_=!1;this.bpDetectionDone_=
!0;WG(10);gH(this);o2a(this)}else this.JSC$38187_channelDebug_.warning("Invalid operation.")};
var S1a=function(a){null!=a.bpDetectionTimerId_&&(a.JSC$38187_channelDebug_.debug("Cancel the BP detection timer."),_.g.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},o2a=function(a){a.JSC$38187_channelDebug_.debug("Creating new HttpRequest");
a.JSC$38187_backChannelRequest_=new $G(a,a.JSC$38187_channelDebug_,a.sid_,"rpc",a.JSC$38187_backChannelAttemptId_);null===a.httpHeadersOverwriteParam_&&(a.JSC$38187_backChannelRequest_.JSC$38167_extraHeaders_=a.JSC$38187_extraHeaders_);a.JSC$38187_backChannelRequest_.JSC$38167_readyStateChangeThrottleMs_=0;var b=a.JSC$38187_backChannelUri_.clone();_.vz(b,"RID","rpc");_.vz(b,"SID",a.sid_);_.vz(b,"CI",a.enableStreaming_?"0":"1");_.vz(b,"AID",a.JSC$38187_lastArrayId_);_.vz(b,"TYPE","xmlhttp");mH(a,b);
a.httpHeadersOverwriteParam_&&a.JSC$38187_extraHeaders_&&_.TG(b,a.httpHeadersOverwriteParam_,a.JSC$38187_extraHeaders_);a.backChannelRequestTimeoutMs_&&a.JSC$38187_backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.JSC$38187_backChannelRequest_,d=a.JSC$38187_hostPrefix_;c.JSC$38167_type_=1;c.JSC$38167_baseUri_=_.xz(b.clone());c.JSC$38167_postData_=null;c.decodeChunks_=!0;F1a(c,d);a.JSC$38187_channelDebug_.debug("New Request created")};
kH.prototype.JSC$38189_onBackChannelDead_=function(){null!=this.JSC$38187_deadBackChannelTimerId_&&(this.JSC$38187_deadBackChannelTimerId_=null,gH(this),V1a(this),WG(19))};
var fH=function(a){null!=a.JSC$38187_deadBackChannelTimerId_&&(_.g.clearTimeout(a.JSC$38187_deadBackChannelTimerId_),a.JSC$38187_deadBackChannelTimerId_=null)},P1a=function(a,b){a.JSC$38187_channelDebug_.debug("Request complete");
var c=null;if(a.JSC$38187_backChannelRequest_==b){fH(a);S1a(a);a.JSC$38187_backChannelRequest_=null;var d=2}else if(U1a(a.forwardChannelRequestPool_,b))c=b.JSC$38167_pendingMessages_,a2a(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(a.JSC$38187_lastStatusCode_=b.JSC$38167_lastStatusCode_,b.JSC$38167_successful_)1==d?(x1a(b.JSC$38167_postData_?b.JSC$38167_postData_.length:0,Date.now()-b.JSC$38167_requestStartTime_,a.JSC$38187_forwardChannelRetryCount_),lH(a)):n2a(a);else{var e=
b.getLastError();if(3==e||0==e&&0<a.JSC$38187_lastStatusCode_)a.JSC$38187_channelDebug_.debug("Not retrying due to error type");else{a.JSC$38187_channelDebug_.debug(function(){return"Maybe retrying, last error: "+D1a(e,a.JSC$38187_lastStatusCode_)});
if(1==d&&k2a(a,b)||2==d&&V1a(a))return;a.JSC$38187_channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&c2a(a.forwardChannelRequestPool_,c);a.JSC$38187_channelDebug_.debug("Error: HTTP request failed");switch(e){case 1:hH(a,5);break;case 4:hH(a,10);break;case 3:hH(a,6);break;default:hH(a,2)}}},j2a=function(a,b){var c=a.JSC$38187_baseRetryDelayMs_+Math.floor(Math.random()*a.JSC$38187_retryDelaySeedMs_);
a.isActive()||(a.JSC$38187_channelDebug_.debug("Inactive channel"),c*=2);return c*b};
kH.prototype.onInput_=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];this.JSC$38187_lastArrayId_=d[0];d=d[1];if(2==this.state_)if("c"==d[0]){this.sid_=d[1];this.JSC$38187_hostPrefix_=d[2];var e=d[3];null!=e&&(this.JSC$38189_channelVersion_=e,this.JSC$38187_channelDebug_.info("VER="+this.JSC$38189_channelVersion_));e=d[4];null!=e&&(this.serverVersion_=e,this.JSC$38187_channelDebug_.info("SVER="+this.serverVersion_));d=d[5];null!=d&&"number"===typeof d&&0<d&&(this.backChannelRequestTimeoutMs_=
d*=1.5,this.JSC$38187_channelDebug_.info("backChannelRequestTimeoutMs_="+d));if(d=b.JSC$38167_xmlHttp_){var h=_.KG(d,"X-Client-Wire-Protocol");h&&(e=this.forwardChannelRequestPool_,!e.requestPool_&&(_.va(h,"spdy")||_.va(h,"quic")||_.va(h,"h2"))&&(e.JSC$38177_maxSize_=e.maxPoolSizeConfigured_,e.requestPool_=new Set,e.JSC$38177_request_&&($1a(e,e.JSC$38177_request_),e.JSC$38177_request_=null)));this.httpSessionIdParam_&&((d=_.KG(d,"X-HTTP-Session-Id"))?(this.httpSessionId_=d,_.vz(this.JSC$38187_forwardChannelUri_,
this.httpSessionIdParam_,d)):this.JSC$38187_channelDebug_.warning("Missing X_HTTP_SESSION_ID in the handshake response"))}this.state_=3;this.handler_&&this.handler_.JSC$38193_channelOpened();this.detectBufferingProxy_&&(this.handshakeRttMs_=Date.now()-b.JSC$38167_requestStartTime_,this.JSC$38187_channelDebug_.info("Handshake RTT: "+this.handshakeRttMs_+"ms"));d=b;e=g2a(this,this.JSC$38187_supportsCrossDomainXhrs_?this.JSC$38187_hostPrefix_:null,this.JSC$38187_path_);this.JSC$38187_channelDebug_.debug("GetBackChannelUri: "+
e);this.JSC$38187_backChannelUri_=e;d.initialResponseDecoded_?(this.JSC$38187_channelDebug_.debug("Upgrade the handshake request to a backchannel."),a2a(this.forwardChannelRequestPool_,d),e=d,(h=this.backChannelRequestTimeoutMs_)&&e.setTimeout(h),e.JSC$38167_watchDogTimerId_&&(cH(e),bH(e)),this.JSC$38187_backChannelRequest_=d):n2a(this);0<this.JSC$38187_outgoingMaps_.length&&lH(this)}else"stop"!=d[0]&&"close"!=d[0]||hH(this,7);else 3==this.state_&&("stop"==d[0]||"close"==d[0]?"stop"==d[0]?hH(this,
7):this.disconnect():"noop"!=d[0]&&this.handler_&&this.handler_.JSC$38193_channelHandleArray(d),this.JSC$38187_backChannelRetryCount_=0)}};
var hH=function(a,b){a.JSC$38187_channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=(0,_.$i)(a.testNetworkCallback_,a);c||(c=new _.Jh("//www.google.com/images/cleardot.gif"),_.g.location&&"http"==_.g.location.protocol||_.sm(c,"https"),_.xz(c));d2a(c.toString(),d)}else WG(2);a.onError_(b)};
kH.prototype.testNetworkCallback_=function(a){a?(this.JSC$38187_channelDebug_.info("Successfully pinged google.com"),WG(2)):(this.JSC$38187_channelDebug_.info("Failed to ping google.com"),WG(1))};
kH.prototype.onError_=function(a){this.JSC$38187_channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.JSC$38193_channelError(a);i2a(this);h2a(this)};
var i2a=function(a){a.state_=0;a.nonAckedMapsAtChannelClose_=[];if(a.handler_){var b=_.b2a(a.forwardChannelRequestPool_);if(0!=b.length||0!=a.JSC$38187_outgoingMaps_.length)a.JSC$38187_channelDebug_.debug(function(){return"Number of undelivered maps, pending: "+b.length+", outgoing: "+a.JSC$38187_outgoingMaps_.length}),_.oa(a.nonAckedMapsAtChannelClose_,b),_.oa(a.nonAckedMapsAtChannelClose_,a.JSC$38187_outgoingMaps_),a.forwardChannelRequestPool_.JSC$38177_pendingMessages_.length=0,_.ka(a.JSC$38187_outgoingMaps_),
a.JSC$38187_outgoingMaps_.length=0;
a.handler_.JSC$38193_channelClosed()}},g2a=function(a,b,c){var d=_.Bm(c);
""!=d.JSC$32753_domain_?(b&&_.tm(d,b+"."+d.JSC$32753_domain_),_.um(d,d.JSC$32753_port_)):(d=_.g.location,d=_.j1a(d.protocol,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.httpSessionId_;b&&c&&_.vz(d,b,c);_.vz(d,"VER",a.JSC$38189_channelVersion_);mH(a,d);return d},H1a=function(a,b,c){if(b&&!a.JSC$38187_supportsCrossDomainXhrs_)throw Error("Ke");
b=c&&a.usesFetchStreams_&&!a.JSC$38187_xmlHttpFactory_?new _.Os(new _.PG({streamBinaryChunks:!0})):new _.Os(a.JSC$38187_xmlHttpFactory_);b.JSC$35989_withCredentials_=a.JSC$38187_supportsCrossDomainXhrs_;return b};
kH.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};
var p2a=function(){};
_.f=p2a.prototype;_.f.JSC$38193_channelOpened=function(){};
_.f.JSC$38193_channelHandleArray=function(){};
_.f.JSC$38193_channelError=function(){};
_.f.JSC$38193_channelClosed=function(){};
_.f.isActive=function(){return!0};
_.f.JSC$38193_badMapError=function(){};
var t2a;_.q2a=function(){if(_.Cj&&!_.Jj(10))throw Error("Le");};
_.oH=function(a,b){_.Kk.call(this);this.JSC$38196_channel_=new kH(b);this.JSC$38196_url_=a;this.messageUrlParams_=b&&b.messageUrlParams||null;a=b&&b.messageHeaders||null;b&&b.clientProtocolHeaderRequired&&(a?_.u.set(a,"X-Client-Protocol","webchannel"):a=_.u.create("X-Client-Protocol","webchannel"));this.JSC$38196_channel_.JSC$38187_extraHeaders_=a;a=b&&b.initMessageHeaders||null;b&&b.messageContentType&&(a?_.u.set(a,"X-WebChannel-Content-Type",b.messageContentType):a=_.u.create("X-WebChannel-Content-Type",
b.messageContentType));b&&b.clientProfile&&(a?_.u.set(a,"X-WebChannel-Client-Profile",b.clientProfile):a=_.u.create("X-WebChannel-Client-Profile",b.clientProfile));this.JSC$38196_channel_.initHeaders_=a;(a=b&&b.httpHeadersOverwriteParam)&&!_.lj(a)&&(this.JSC$38196_channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!_.lj(b)&&(this.JSC$38196_channel_.httpSessionIdParam_=b,_.u.containsKey(this.messageUrlParams_,
b)&&_.u.remove(this.messageUrlParams_,b));this.channelHandler_=new nH(this)};
_.cj(_.oH,_.Kk);_.oH.prototype.open=function(){this.JSC$38196_channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.JSC$38196_channel_.JSC$38187_supportsCrossDomainXhrs_=!0);this.JSC$38196_channel_.connect(this.JSC$38196_url_,this.messageUrlParams_||void 0)};
_.oH.prototype.close=function(){this.JSC$38196_channel_.disconnect()};
_.oH.prototype.send=function(a){var b=this.JSC$38196_channel_;if("string"===typeof a){var c={};c.__data__=a;a=c}else this.sendRawJson_&&(c={},c.__data__=(0,_.Il)(a),a=c);b.JSC$38187_outgoingMaps_.push(new X1a(b.JSC$38187_nextMapId_++,a));3==b.state_&&lH(b)};
_.oH.prototype.disposeInternal=function(){this.JSC$38196_channel_.handler_=null;delete this.channelHandler_;this.JSC$38196_channel_.disconnect();delete this.JSC$38196_channel_;_.oH.superClass_.disposeInternal.call(this)};
var r2a=function(a){o1a.call(this);a.__headers__&&(this.headers=a.__headers__,this.statusCode=a.__status__,delete a.__headers__,delete a.__status__);var b=a.__sm__;b?this.data=(this.metadataKey=_.u.getAnyKey(b))?_.u.get(b,this.metadataKey):b:this.data=a};
_.cj(r2a,o1a);var s2a=function(a){p1a.call(this);this.status=1;this.errorCode=a};
_.cj(s2a,p1a);var nH=function(a){this.JSC$38203_channel_=a};
_.cj(nH,p2a);nH.prototype.JSC$38193_channelOpened=function(){this.JSC$38203_channel_.dispatchEvent("n")};
nH.prototype.JSC$38193_channelHandleArray=function(a){this.JSC$38203_channel_.dispatchEvent(new r2a(a))};
nH.prototype.JSC$38193_channelError=function(a){this.JSC$38203_channel_.dispatchEvent(new s2a(a))};
nH.prototype.JSC$38193_channelClosed=function(){this.JSC$38203_channel_.dispatchEvent("o")};
_.zH=function(a){return new t2a(a,a.JSC$38196_channel_)};
t2a=function(a,b){this.transportChannel_=a;this.JSC$38206_channel_=b};
_.AH=_.GOa(function(a){var b=_.Gb("DIV");a&&(b.className=a);b.style.cssText="overflow:auto;position:absolute;top:0;width:100px;height:100px";a=_.Gb("DIV");_.Fz(a,"200px","200px");b.appendChild(a);document.body.appendChild(b);a=b.offsetWidth-b.clientWidth;_.Hb(b);return a});
_.BH=function(){this.megabloxUrl_=null};
_.BH.prototype.load=function(a){this.megabloxUrl_=_.w("YPC_MB_URL");_.vE(this.megabloxUrl_,(0,_.$i)(function(){a&&a()},this))};
_.v2a=function(a,b,c,d,e,h,l,m,p,r){_.S0a(p);a.load((0,_.$i)(function(){u2a(this,b,c,d,e,h,l,m,p,r)},a))};
_.BH.prototype.openFixFlowDialog=function(a,b,c,d){this.load((0,_.$i)(function(){try{w2a(this,_.ld("payments.business.integration")).forWidget().fixInstrument().withEncryptedParameters(a).withIntegratorCallback(b).load(c,d)}catch(e){throw _.Qf(e),e;}},this))};
var w2a=function(a,b,c,d,e){var h=b.mashupMode.popup("buyFlowDivId").usingDraggableDialog().usingPreferredWidth(600);_.x("enable_window_constrained_buy_flow_dialog")&&(h=h.usingPopupStyle(_.ld("payments.business.integration").PopupStyle.WINDOW_CONSTRAINED));e&&(h=h.usingCloseCallback(e));b.bootstrap.fromPaymentsUrl(a.megabloxUrl_);a=b.bootstrap.asMashupMode(h);c=c?c:_.w("YPC_GB_LANGUAGE");a.usingGaiaIndex(d?d:_.w("SESSION_INDEX")).usingLocale(c).usingDefaultActivityStatusChangeHandler().usingStyle(":md;pc=#444;ac=#065fd4").usingBaseZIndex(2E9);
return a},u2a=function(a,b,c,d,e,h,l,m,p,r){try{var v=_.ld("payments.business.integration"),z=v.standaloneContextAuthId.forUserId(),A=w2a(a,v,h,void 0,m);
l&&A.usingServerAnalyticsEventHandler(l);var D=A.inStandaloneContext(z).buyFlow(function(E){!E||E.integratorData&&""!==E.integratorData&&!E.error||(null!=E.error?"-1"===String(E.error)?_.T0a(p):(_.GG("TRANSACTION_ERROR_TYPE_YPC_BUYFLOW_COMPLETE_FAILURE",p,E.debugCode),_.Qf(new _.ge("PAYMENT_ERROR_MESSAGE::"+E.userVisibleErrorMessage,"PAYMENT_ERROR_DETAILS::"+E.internalErrorDetails))):(_.GG("TRANSACTION_ERROR_TYPE_YPC_BUYFLOW_COMPLETE_EMPTY",p),_.Qf(Error("Me"))));c&&c(E)}).withEncryptedParameters(b);
r&&D.withClientParameters(_.h1a(_.i1a(r)));D.load(d,function(E){_.GG("TRANSACTION_ERROR_TYPE_LOAD_FAILURE",p,E?E.debugCode:void 0);_.Qf(E);e&&e(E)})}catch(E){throw _.Qf(E),E;
}};
var x2a={};x2a.YtPlaylistPanelBehavior=[_.U.YtRendererBehavior,{_noAccessors:!0,properties:{loopOn:Boolean,shuffleOn:Boolean},listeners:{"yt-toggle-button":"onYtToggleButton_"},onYtToggleButton_:function(a){a=a.detail;if(void 0!=a.actions.loop||void 0!=a.actions["yt-icons:loop"])this.loopOn=a.actions.loop||a.actions["yt-icons:loop"];if(void 0!=a.actions.shuffle||void 0!=a.actions["yt-icons:shuffle"])this.shuffleOn=a.actions.shuffle||a.actions["yt-icons:shuffle"]},
setMenuData_:function(a){if(!a||!a.playlistButtons||a.isInfinite)return null;for(var b=a.playlistButtons.menuRenderer.topLevelButtons,c=b.length,d=0;d<c;d++)if(b[d].toggleButtonRenderer){var e=b[d].toggleButtonRenderer;"LOOP"==e.defaultIcon.iconType&&this.loopOn?e.isToggled=this.loopOn:"SHUFFLE"==e.defaultIcon.iconType&&this.shuffleOn&&(e.isToggled=this.shuffleOn)}return a.playlistButtons}}];
var $0a=["videoPrimaryInfoRenderer","title"],a1a=["videoSecondaryInfoRenderer","owner","videoOwnerRenderer","title"];
var y2a;
var z2a;
var A2a;
var B2a;
var C2a;
var D2a;
var CH=function(){var a=_.K.apply(this,arguments)||this;a.largerPlaylistThumbs=_.x("kevlar_larger_playlist_thumbnails");a.thumbnailWidth=_.x("kevlar_larger_playlist_thumbnails")?128:100;a.watchColorUpdate=_.x("kevlar_watch_color_update");return a};
_.q(CH,_.K);_.f=CH.prototype;_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{buttonTooltipPosition:"left"}}}}}};
_.f.computeEditableClass=function(a){return a&&a.menu?"editable":""};
_.f.computeSelected=function(a){return!(null==a||!a.selected)};
_.f.canReorderChanged=function(){this.touchPersistentDragHandle=this.canReorder};
_.f.onYtServiceRequestSent=function(a,b){b.endpoint&&this.isHideEnclosingAction(b.endpoint)&&_.dNa(_.Sx(),this.data.videoId)};
_.f.isHideEnclosingAction=function(a){var b=!!this.get("feedbackEndpoint.uiActions.hideEnclosingContainer",a);a="INDIFFERENT"===this.get("likeEndpoint.status",a);return b||a};
_.f.onHandleMouseenter=function(){this.handleIsHovered=!0};
_.f.onHandleMouseleave=function(){this.handleIsHovered=!1};
_.t.Object.defineProperties(CH,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===D2a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-panel-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_playlist_panel_video_renderer.ytd.playlist.panel.video.renderer.css.js--\x3e<a id="wc-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <div id="container">\n    <div id="index-container" class="playlist-drag-handle" on-mouseenter="onHandleMouseenter" on-mouseleave="onHandleMouseleave">\n      <span id="reorder">\n        <yt-icon icon="yt-icons:drag_handle"></yt-icon>\n      </span>\n      <span id="index">[[getSimpleString(data.indexText)]]</span>\n    </div>\n    <div id="thumbnail-container">\n      <ytd-thumbnail data="[[data]]" disable-now-playing="" disable-tooltips="" use-expandable-tooltip="[[useExpandableTooltip_]]" width="[[thumbnailWidth]]">\n      </ytd-thumbnail>\n    </div>\n    <div id="meta" class$="[[computeEditableClass(data)]]">\n      <yt-formatted-string id="unplayableText" disable-upgrade$="[[!data.unplayableText]]" hidden="[[!data.unplayableText]]" no-endpoints="" text="[[data.unplayableText]]">\n      </yt-formatted-string>\n      <h4>\n        <ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n        </ytd-badge-supported-renderer>\n        <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n          [[getSimpleString(data.title)]]\n        </span>\n      </h4>\n      <div id="byline-containerz">\n        <span id="byline">[[getSimpleString(data.shortBylineText)]]</span>\n        <ytd-badge-supported-renderer badges="[[data.ownerBadges]]" disable-upgrade$="[[!data.ownerBadges]]">\n        </ytd-badge-supported-renderer>\n        <ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]">\n        </ytd-badge-supported-renderer>\n      </div>\n    </div>\n  </div>\n</a>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===C2a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_playlist_panel_video_renderer.ytd.playlist.panel.video.renderer.css.js--\x3e<style>:host {display: block;padding: 4px 8px 4px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([selected][watch-color-update]) {background-color: var(--yt-spec-badge-chip-background);} :host(:not(:hover)) #menu ytd-menu-renderer:not(:focus-within) {opacity: 0;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {display: block;min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #unplayableText {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;color: var(--yt-spec-text-primary);} #index-container,#index,#reorder {color: var(--yt-spec-text-secondary);text-align: center;width: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: none;-webkit-flex: none;flex: none;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} :host([watch-color-update]) #index {color: var(--yt-spec-text-secondary);} :host([larger-playlist-thumbs]) #index {width: 40px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #thumbnail-container {width: 100px;height: 56px;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;-ms-flex: none;-webkit-flex: none;flex: none;} :host([larger-playlist-thumbs]) #thumbnail-container {width: 128px;height: 72px;} #thumbnail-container>ytd-thumbnail {width: 100px;height: 56px;display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} :host([larger-playlist-thumbs]) #thumbnail-container>ytd-thumbnail {width: 128px;height: 72px;} #meta {min-width: 0;padding: 0 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #menu {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} ytd-video-meta-block {--ytd-metadata-line-color: var(--yt-spec-text-primary);} #byline-container {padding-right: 8px;max-width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #byline {display: block;text-overflow: ellipsis;overflow-x: hidden;white-space: nowrap;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;--yt-endpoint-color: var(--yt-spec-text-primary);} :host([watch-color-update]) #byline {color: var(--yt-spec-text-secondary);} h4 {color: var(--yt-spec-text-primary);} #video-title {display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([can-reorder]:hover),:host([can-reorder][menu-opened]),:host([can-reorder].dragging) {box-shadow: 0px 2px 8px rgba(0,0,0,0.4);} :host([can-reorder]:hover.dragging),:host([can-reorder].dragging),:host([can-reorder]:hover) {cursor: -webkit-grab;cursor: -moz-grab;cursor: grab;} :host([can-reorder].dragging) a {cursor: -webkit-grabbing;cursor: -moz-grabbing;cursor: grabbing;} :host([can-reorder]:hover.dragging),:host([can-reorder].dragging) {z-index: 2;background-color: var(--yt-spec-general-background-b);} :host(:hover:not(.dragging)) {background-color: var(--yt-spec-general-background-b);} :host([watch-color-update][can-reorder]:hover.dragging),:host([watch-color-update][can-reorder].dragging),:host([watch-color-update]:hover:not(.dragging)) {background-color: var(--yt-spec-badge-chip-background);} :host([can-reorder]:hover) #index {display: none;} :host([can-reorder]:hover) #reorder {display: -ms-flexbox;display: -webkit-flex;display: flex;} #reorder {display: none;} @media(any-pointer:coarse) {:host(:not(:hover)) #menu ytd-menu-renderer:not(:focus-within) {opacity: 1;}:host([touch-persistent-drag-handle]) #index {display: none;}:host([touch-persistent-drag-handle]) #reorder {display: -ms-flexbox;display: -webkit-flex;display: flex;}:host([can-reorder][touch-persistent-drag-handle].dragging),:host([can-reorder][touch-persistent-drag-handle].dragging) a {box-shadow: none;cursor: pointer;}:host([can-reorder][touch-persistent-drag-handle][handle-is-hovered]),:host([can-reorder][touch-persistent-drag-handle].dragging) {box-shadow: 0px 2px 8px rgba(0,0,0,0.4);cursor: -webkit-grab;cursor: -moz-grab;cursor: grab;}} /*# sourceMappingURL=ytd-playlist-panel-video-renderer.css.map*/</style>';
C2a=d}d=C2a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);D2a=a}a=D2a;return a}}});
var DH=CH;DH.prototype.onYtServiceRequestSent=DH.prototype.onYtServiceRequestSent;DH.prototype.canReorderChanged=DH.prototype.canReorderChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],DH.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],DH.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],DH.prototype,"ytdLockupBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],DH.prototype,"data",void 0);_.S([_.N({computed:"computeSelected(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],DH.prototype,"selected",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],DH.prototype,"largerPlaylistThumbs",void 0);_.S([_.N(),_.T("design:type",Object)],DH.prototype,"thumbnailWidth",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],DH.prototype,"canReorder",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],DH.prototype,"touchPersistentDragHandle",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],DH.prototype,"handleIsHovered",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],DH.prototype,"watchColorUpdate",void 0);_.S([_.Ct("canReorder"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],DH.prototype,"canReorderChanged",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],DH.prototype,"onYtServiceRequestSent",null);DH=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-panel-video-renderer"})],DH);
var EH=function(){return _.K.apply(this,arguments)||this};
_.q(EH,_.K);EH.prototype.configureRendererStamper=function(){return{data:{id:"content",mapping:{playlistPanelVideoRenderer:{component:"ytd-playlist-panel-video-renderer",noInjection:!0},messageRenderer:{component:"ytd-message-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(EH,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===B2a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-panel-supported-items--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_playlist_panel_supported_items.ytd.playlist.panel.supported.items.css.js--\x3e<div id="content"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===A2a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_playlist_panel_supported_items.ytd.playlist.panel.supported.items.css.js--\x3e<style>:host {min-height: 36px;} /*# sourceMappingURL=ytd-playlist-panel-supported-items.css.map*/</style>";A2a=d}d=A2a;c.call(b,d.content.cloneNode(!0),
a.content.firstChild);B2a=a}a=B2a;return a}}});
var FH=EH;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],FH.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],FH.prototype,"data",void 0);FH=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-panel-supported-items"})],FH);
var b1a;
var GH=function(){var a=_.K.apply(this,arguments)||this;a.hideHeaderText=!1;a.dockedPanelNext=_.x("kevlar_docked_playlist_panel_next");a.standardizedThemedScrollbar=_.x("kevlar_themed_standardized_scrollbar");a.collapsed=!1;a.isHovered=!1;a.jsPanelHeight=_.x("kevlar_watch_js_panel_height");a.chevronTapTargetSize=_.x("web_ep_chevron_tap_target_size");a.expandLabel=_.Bg("MINIPLAYER_EXPAND_LABEL");a.currentIndex=void 0;return a};
_.q(GH,_.K);_.f=GH.prototype;
_.f.configureRendererStamper=function(){return{menuRendererData:{id:"playlist-action-menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{forceIconButton:!1}}}},"data.menu":{id:"overflow-menu",mapping:{menuRenderer:{component:"ytd-menu-renderer"}}},"data.contents":{id:"items",events:!0,mapping:{playlistPanelVideoRenderer:{component:"ytd-playlist-panel-video-renderer",attributes:{id:"playlist-items"},properties:{canReorder:"[[canReorder]]"}},messageRenderer:{component:"ytd-message-renderer",params:{panel:!0}}}},
"data.saveButton":{id:"save-button",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer"}},"data.topRowButtons":{id:"top-row-buttons",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.created=function(){this.scrollThrottle=new _.wv(this.onThrottledScroll,1E3,this)};
_.f.onMouseEnter=function(){this.isHovered=!0};
_.f.onMouseLeave=function(){this.isHovered=!1};
_.f.computeCollapsible=function(a){return!a};
_.f.computeHasPlaylistButtons=function(a){return!(!a||!a.playlistButtons)};
_.f.computeHasSeparateSaveButton=function(a){return!(!a||!a.saveButton)};
_.f.computeHasToolbarButton=function(a,b){return!(!a||!(b||a.saveButton||a.menu))};
_.f.computePlaylistType=function(a){if(a&&a.playlistId)return a.playlistId.substring(0,4)};
_.f.computeCanReorder=function(a){return a?a.playlistId&&a.playlistId.startsWith("TLPQ")?!0:!!a.isEditable&&!a.isInfinite&&!!_.x("kevlar_allow_playlist_reorder"):!1};
_.f.attached=function(){_.Eg().resolve(_.Go).setPlaylistComponent(this);_.X0a(this)};
_.f.detached=function(){_.Y0a(this)};
_.f.computeExpandIcon=function(a){return a?"yt-icons:expand":_.x("kevlar_playlist_use_x_close_button")?"yt-icons:close":"yt-icons:collapse"};
_.f.computeIndexMessage=function(a,b){return c1a(a+1)+" / "+c1a(b)};
_.f.onRenderStamperFinished=function(){if(this.scrollForStampDom){var a=!0;this.isHovered&&_.x("kevlar_no_autoscroll_on_playlist_hover")&&(a=!1);if(this.collapsed||this.hidden)a=!1;a&&this.scrollToCurrentVideo();this.scrollForStampDom=!1;this.data&&(this.currentIndex=this.data.currentIndex)}this.canReorder&&(_.QB?this.ytReorderableBehavior.startDragDrop(this.$.items,this.$.items,"playlist-drag-handle"):this.ytReorderableBehavior.startDragDrop(this.$.items,this.$.items))};
_.f.collapseChanged=function(){var a=this;this.collapsed||(_.JG(this.ytTaskEmitterBehavior.getTaskManager(),function(){a.scrollToCurrentVideo()}),this.ytRendererBehavior.markDirty())};
_.f.hiddenChanged=function(){var a=this;this.hidden||_.JG(this.ytTaskEmitterBehavior.getTaskManager(),function(){a.scrollToCurrentVideo()})};
_.f.scrollToCurrentVideo=function(){var a=this.$.items;if(a){a.style.setProperty("padding-bottom","");var b=this.$.items.querySelector("ytd-playlist-panel-video-renderer[selected]");if(b){a=b.parentElement||_.Lt(document);var c=a||_.Lt(document);var d=_.Zt(b),e=_.Zt(c),h=_.g1a(c);if(c==_.Lt(document)){var l=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.Cj&&!_.Jj(10)&&(l+=h.left,d+=h.top)}else l=d.x-e.x-h.left,d=d.y-e.y-h.top;b=_.rPa(b);h=c.clientHeight-b.height;e=c.scrollLeft;var m=c.scrollTop;e+=l-(c.clientWidth-
b.width)/2;c=new _.fk(e,m+(d-h/2));a.scrollLeft=c.x;a.scrollTop=c.y}}};
_.f.dataChanged=function(){var a=this;this.ytReorderableBehavior.disposeDragDrop();this.scrollForStampDom=this.currentIndex!==this.data.currentIndex;_.x("kevlar_queue_use_update_api")&&!this.hidden&&_.nt(this,function(){_.Jn(a.ytTaskEmitterBehavior.getTaskManager(),function(){a.ytRendererBehavior.markDirty()})})};
_.f.onScroll=function(){this.scrollThrottle.fire()};
_.f.onThrottledScroll=function(){var a=this;_.Jn(this.ytTaskEmitterBehavior.getTaskManager(),function(){a.ytRendererBehavior.markDirty()})};
_.f.onToggleExpanded=function(a){this.collapsible&&"A"!==_.H(a).rootTarget.tagName&&!["ytd-menu-renderer","ytd-toggle-button-renderer"].includes(_.H(a).localTarget.tagName.toLowerCase())&&(this.collapsed=!this.collapsed)};
_.f.handleDrop=function(a){var b=a.currDragItem;a=b.data.playlistSetVideoId;var c=_.fa(b.parentNode.childNodes,b),d=void 0;0<c&&(_.x("kevlar_queue_use_update_api")?d=b.parentNode.childNodes[c-1].data.playlistSetVideoId:d=this.data.contents[c-1].playlistPanelVideoRenderer.playlistSetVideoId);b=_.Sx();if(b.responsePlaylistData&&b.responsePlaylistData.contents){var e=_.QMa(a,b.responsePlaylistData);b.responsePlaylistData=(0,_.u.unsafeClone)(b.responsePlaylistData);Q0a(b.responsePlaylistData.contents,
e,c);b.queueProxy?e1a(b.queueProxy,e,c,a,d):b.playlistProxy&&e1a(b.playlistProxy,e,c,a,d);_.Tx(b,_.Ux(b,b.response?b.response.autoplayRenderer:void 0))}};
_.t.Object.defineProperties(GH.prototype,{nextVideoTitle:{configurable:!0,enumerable:!0,get:function(){var a=_.Eg().resolve(_.Go);if(a.hasAutoplayData()){var b,c,d=null==(b=a.getAutoplayEndpoint())?void 0:null==(c=b.watchEndpoint)?void 0:c.videoId,e,h,l;return null==(h=((null==(e=this.data)?void 0:e.contents)||[]).find(function(m){var p;return(null==(p=m.playlistPanelVideoRenderer)?void 0:p.videoId)===d}))?void 0:null==(l=h.playlistPanelVideoRenderer)?void 0:l.title}}},
showNextVideoHeader:{configurable:!0,enumerable:!0,get:function(){var a;return!!(this.collapsed&&this.dockedPanelNext&&(null==(a=this.data)?0:a.nextVideoLabel))}}});
_.t.Object.defineProperties(GH,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===z2a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_playlist_panel_renderer.ytd.playlist.panel.renderer.css.js--\x3e<div id="container" data-collapsed="[[collapsed]]"><div class="header" on-tap="onToggleExpanded"><div id="header-contents"><div id="header-top-row"><div id="header-description"><h3 hidden="[[showNextVideoHeader]]"><yt-formatted-string class="title" ellipsis-truncate="" text="[[data.titleText]]"></yt-formatted-string></h3><h3 id="next-video-title" hidden="[[!showNextVideoHeader]]"><span id="next-label">[[getSimpleString(data.nextVideoLabel)]]:</span><yt-formatted-string ellipsis-truncate="" text="[[nextVideoTitle]]"></yt-formatted-string></h3><div id="publisher-container"><ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]"></ytd-badge-supported-renderer><yt-formatted-string class="publisher" ellipsis-truncate="" text="[[data.longBylineText]]"></yt-formatted-string><div class="index-message-wrapper" hidden="[[data.isInfinite]]"><span class="index-message" hidden="[[data.videoCountText]]">[[computeIndexMessage(data.currentIndex, data.totalVideos)]]</span><yt-formatted-string class="index-message" hidden="[[!data.videoCountText]]" respecthtmldir="" text="[[data.videoCountText]]"></yt-formatted-string></div></div></div><div id="top-row-buttons"></div><yt-icon-button id="expand-button" label="[[expandLabel]]" pressed="[[!collapsed]]" toggleable=""><yt-icon id="expand-icon" icon="[[expandIcon]]"></yt-icon></yt-icon-button></div><div id="playlist-actions"><div id="start-actions"><div id="playlist-action-menu"></div><div id="save-button"></div></div><div id="end-actions"><div id="overflow-menu"></div></div></div></div></div><div id="items" class="playlist-items" on-scroll="onScroll"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===y2a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_playlist_panel_renderer.ytd.playlist.panel.renderer.css.js--\x3e<style>:host([js-panel-height]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #container,.playlist-items {height: 100%;} :host([collapsible][collapsed]),:host([collapsible][collapsed]) #container {height: auto;} #container {border: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([js-panel-height]) #container {min-height: 0;max-height: var(--ytd-watch-flexy-panel-max-height);} :host([collapsible][collapsed]) .controls,:host([collapsible][collapsed]) .playlist-items {display: none;} :host([loading]) .header {height: 86px;} :host([loading]) #header-contents,:host([loading]) ytd-playlist-panel-video-renderer {visibility: hidden;} #playlist-actions,#publisher-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([collapsible]) #publisher-container {margin-top: 4px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #playlist-actions {-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} #start-actions {flex-grow: 1;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([collapsible][collapsed]) #playlist-actions {display: none;} #start-actions,#end-actions {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([has-playlist-buttons]) #playlist-action-menu {margin-left: -8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host(:not([has-playlist-buttons])[has-separate-save-button]) #save-button {margin: 16px 0px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #overflow-menu ytd-menu-renderer {margin-left: -8px;} :host(:not([hide-header-text]):not([collapsed]):not([has-toolbar])) #header-contents {margin-bottom: 12px;} :host([playlist-type=TLPP]) #overflow-menu ytd-menu-renderer,:host([playlist-type=TLPQ]) #overflow-menu ytd-menu-renderer {margin-right: calc(-1 * 8px);} :host([hide-header-text][playlist-type=TLPP]) #overflow-menu ytd-menu-renderer,:host([hide-header-text][playlist-type=TLPQ]) #overflow-menu ytd-menu-renderer {display: none;} :host([playlist-type=TLPP]) ytd-playlist-panel-segment-header-renderer,:host([playlist-type=TLPQ]) ytd-playlist-panel-segment-header-renderer {margin-top: 4px;} .header {background-color: var(--yt-spec-brand-background-primary);padding: 16px 16px 0 24px;-ms-flex: none;-webkit-flex: none;flex: none;} :host([hide-header-text]) .header {padding: 16px 16px 0 16px;} :host([collapsible]) .header {padding: 12px 6px 0 16px;} :host([collapsible][collapsed]) .header {padding-bottom: 12px;} :host([hide-header-text]) .header {padding-top: 0;} #header-top-row {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header-description {min-width: 0;margin-right: 8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([chevron-tap-target-size]) #expand-button {width: 40px;height: 40px;margin-right: unset;--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;} #expand-button {color: var(--yt-spec-icon-active-other);margin-right: 8px;} :host(:not([collapsible])) #expand-button {display: none;} :host([hide-header-text]) .title,:host([hide-header-text]) #publisher-container {display: none;} .playlist-items {background-color: var(--yt-spec-general-background-a);height: 100%;padding: 0 0 4px 0;} ytd-playlist-panel-video-renderer:first-of-type {padding-top: 8px;} :host(:not([standardized-themed-scrollbar])) .playlist-items {overflow-y: auto;} :host(:not([standardized-themed-scrollbar])) .playlist-items::-webkit-scrollbar {width: 8px;} :host(:not([standardized-themed-scrollbar])) .playlist-items::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} :host([standardized-themed-scrollbar]) .playlist-items {overflow-y: auto;} :host([standardized-themed-scrollbar]) .playlist-items::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar]) .playlist-items::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar]) .playlist-items::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} .title {--yt-endpoint-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #next-video-title {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #next-label {margin-right: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([collapsible]) .title {margin: 0;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .publisher {--yt-endpoint-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .publisher:hover {color: var(--yt-spec-text-primary);} :host([collapsible]) .publisher {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .index-message-wrapper {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;-ms-flex: none;-webkit-flex: none;flex: none;} .publisher:not(:empty)+.index-message-wrapper::before {color: var(--yt-spec-text-secondary);content: "-";padding: 0 4px;} :host([collapsible]) .index-message-wrapper {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} /*# sourceMappingURL=ytd-playlist-panel-renderer.css.map*/</style>';
y2a=d}d=y2a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);z2a=a}a=z2a;return a}}});
var HH=GH;HH.prototype.dataChanged=HH.prototype.dataChanged;HH.prototype.hiddenChanged=HH.prototype.hiddenChanged;HH.prototype.collapseChanged=HH.prototype.collapseChanged;HH.prototype.onRenderStamperFinished=HH.prototype.onRenderStamperFinished;HH.prototype.onMouseLeave=HH.prototype.onMouseLeave;HH.prototype.onMouseEnter=HH.prototype.onMouseEnter;_.S([_.L(_.xx),_.T("design:type",Object)],HH.prototype,"ironResizableBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],HH.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],HH.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(x2a.YtPlaylistPanelBehavior),_.T("design:type",Object)],HH.prototype,"ytPlaylistPanelBehavior",void 0);_.S([_.L(_.Lu.YtTaskEmitterBehavior),_.T("design:type",Object)],HH.prototype,"ytTaskEmitterBehavior",void 0);
_.S([_.L(_.WB.YtReorderableBehavior),_.T("design:type",Object)],HH.prototype,"ytReorderableBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],HH.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],HH.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],HH.prototype,"autoplayData",void 0);_.S([_.N({computed:"setMenuData_(data)"}),_.T("design:type",Object)],HH.prototype,"menuRendererData",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HH.prototype,"hideHeaderText",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HH.prototype,"dockedPanelNext",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HH.prototype,"standardizedThemedScrollbar",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeCollapsible(hideHeaderText)"}),_.T("design:type",Boolean)],HH.prototype,"collapsible",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HH.prototype,"collapsed",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],HH.prototype,"hidden",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasPlaylistButtons(data)"}),_.T("design:type",Boolean)],HH.prototype,"hasPlaylistButtons",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasSeparateSaveButton(data)"}),_.T("design:type",Boolean)],HH.prototype,"hasSeparateSaveButton",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeHasToolbarButton(data, menuRendererData)"}),_.T("design:type",Boolean)],HH.prototype,"hasToolbar",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computePlaylistType(data)"}),_.T("design:type",String)],HH.prototype,"playlistType",void 0);_.S([_.N(),_.T("design:type",Object)],HH.prototype,"isHovered",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HH.prototype,"jsPanelHeight",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HH.prototype,"chevronTapTargetSize",void 0);_.S([_.N({value:56}),_.T("design:type",Number)],HH.prototype,"scrollMargin",void 0);_.S([_.N({computed:"computeCanReorder(data)"}),_.T("design:type",Boolean)],HH.prototype,"canReorder",void 0);_.S([_.N(),_.T("design:type",Object)],HH.prototype,"expandLabel",void 0);_.S([_.N({computed:"computeExpandIcon(collapsed)"}),_.T("design:type",String)],HH.prototype,"expandIcon",void 0);
_.S([_.V("data","autoplayData"),_.T("design:type",Object),_.T("design:paramtypes",[])],HH.prototype,"nextVideoTitle",null);_.S([_.O("mouseenter"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HH.prototype,"onMouseEnter",null);_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HH.prototype,"onMouseLeave",null);
_.S([_.N({reflectToAttribute:!0}),_.V("collapsed","dockedPanelNext"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],HH.prototype,"showNextVideoHeader",null);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HH.prototype,"onRenderStamperFinished",null);_.S([_.P("collapsed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HH.prototype,"collapseChanged",null);
_.S([_.P("hidden"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HH.prototype,"hiddenChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HH.prototype,"dataChanged",null);HH=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-panel-renderer"})],HH);
var E2a;
var F2a;
var G2a=function(){return _.K.apply(this,arguments)||this};
_.q(G2a,_.K);
_.t.Object.defineProperties(G2a,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===F2a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-metadata-line-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_metadata_line_renderer.ytd.metadata.line.renderer.css.js--\x3e<div id="line-wrapper">\n  <ytd-badge-supported-renderer id="badges" badges="[[data.badge]]" hidden="[[!data.badge]]">\n  </ytd-badge-supported-renderer>\n  <yt-formatted-string id="text" text="[[data.text]]"></yt-formatted-string>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===E2a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_metadata_line_renderer.ytd.metadata.line.renderer.css.js--\x3e<style>:host {display: inline;} #line-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #badges {padding-right: 4px;} /*# sourceMappingURL=ytd-metadata-line-renderer.css.map*/</style>';
E2a=d}d=E2a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);F2a=a}a=F2a;return a}}});
var W2a=G2a;_.S([_.N(),_.T("design:type",Object)],W2a.prototype,"data",void 0);W2a=_.S([_.Q({asyncProperties:!0,is:"ytd-metadata-line-renderer"})],W2a);
_.IH=function(a){this.playerClient=a};
_.X2a=function(a,b,c){c=void 0===c?{}:c;return a.playerClient.setOption("ad",b,c)};
_.IH.prototype.getOptions=function(){return this.playerClient.getOptions("ad")||[]};
_.IH.prototype.executeCommand=function(a,b){this.getOptions().includes("executeCommand")?_.X2a(this,"executeCommand",{command:a,layoutId:b}):_.d1a("Calling executeCommand when adModule is not loaded")};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sym");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Y2a={hostAttributes:{role:"menubar"},keyBindings:{left:"_onLeftKey",right:"_onRightKey"},_onUpKey:function(a){this.focusedItem.click();a.detail.keyboardEvent.preventDefault()},
_onDownKey:function(a){this.focusedItem.click();a.detail.keyboardEvent.preventDefault()},
get _isRTL(){return"rtl"===window.getComputedStyle(this).direction},_isSpecialKey:function(a){return a.ctrlKey||a.shiftKey||a.altKey||a.metaKey},
_onLeftKey:function(a){this._isSpecialKey(a.detail.keyboardEvent)||(this._isRTL?this._focusNext():this._focusPrevious(),a.detail.keyboardEvent.preventDefault())},
_onRightKey:function(a){this._isSpecialKey(a.detail.keyboardEvent)||(this._isRTL?this._focusPrevious():this._focusNext(),a.detail.keyboardEvent.preventDefault())},
_onKeydown:function(a){this.keyboardEventMatchesKeys(a,"up down left right esc")||this._focusWithKeyboardEvent(a)}};
_.Z2a=[_.iMa,_.Y2a];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syy");

var X4a;
var Y4a;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({is:"tp-yt-paper-icon-button",_template:function(){if(void 0!==Y4a)return Y4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-icon-button--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_icon_button.tp.yt.paper.icon.button.css.js--\x3e<tp-yt-iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></tp-yt-iron-icon>';var b=a.content,c=b.insertBefore;if(void 0===X4a){var d=document.createElement("template");d.innerHTML=
"\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_icon_button.tp.yt.paper.icon.button.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n  position: relative;\n  padding: 8px;\n  outline: none;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  cursor: pointer;\n  z-index: 0;\n  line-height: 1;\n  width: 40px;\n  height: 40px;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  -webkit-tap-highlight-color: transparent;\n  box-sizing: border-box !important;\n  @apply --paper-icon-button;\n}\n\n:host #ink {\n  color: var(--paper-icon-button-ink-color, var(--primary-text-color));\n  opacity: 0.6;\n}\n\n:host([disabled]) {\n  color: var(--paper-icon-button-disabled-text, var(--disabled-text-color));\n  pointer-events: none;\n  cursor: auto;\n  @apply --paper-icon-button-disabled;\n}\n\n:host([hidden]) {\n  display: none !important;\n}\n\n:host(:hover) {\n  -moz-transform: var(--paper-icon-button-hover-transform);\n  -webkit-transform: var(--paper-icon-button-hover-transform);\n  transform: var(--paper-icon-button-hover-transform);\n  color: var(--paper-icon-button-hover-color);\n  opacity: var(--paper-icon-button-hover-opacity);\n}\n\ntp-yt-iron-icon {\n  --iron-icon-width: 100%;\n  --iron-icon-height: 100%;\n}\n\n/*# sourceMappingURL=tp-yt-paper-icon-button.css.map */</style>";
X4a=d}d=X4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Y4a=a},
hostAttributes:{role:"button",tabindex:"0","style-target":"host"},behaviors:[_.UVa],properties:{src:{type:String},icon:{type:String},alt:{type:String,observer:"_altChanged"}},_altChanged:function(a,b){var c=this.getAttribute("aria-label");c&&b!=c||this.setAttribute("aria-label",a)}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy27");

var uHb="WEB_PAGE_TYPE_SETTINGS red playlist labs ypc-offers show ypc-checkout".split(" "),z1=function(){var a=_.vt.apply(this,arguments)||this;a.disableGridStateAware=!1;a.gridStateActionMap={"ytd-update-grid-state-action":"handleUpdateGridStateAction"};a.currentGridClass="";return a};
_.q(z1,_.vt);z1.prototype.attached=function(){this.ytActionHandlerBehavior.registerActionMap(this.gridStateActionMap);_.nt(this,this.handleUpdateGridStateAction);if(!this.disableGridStateAware){var a=this.gridStateAwareGetElement();this.toggleClass("grid",!0,a)}};
z1.prototype.detached=function(){this.ytActionHandlerBehavior.unregisterActionMap(this.gridStateActionMap)};
z1.prototype.gridStateAwareGetElement=function(){return this.gridStateAwareSizingElementSelector?this.$$(this.gridStateAwareSizingElementSelector):this};
z1.prototype.handleUpdateGridStateAction=function(){if(this.disableGridStateAware)var a="grid-disabled";else{a=_.iJ.getInstance();var b=this.get("pageSubtype");a=b&&uHb.includes(b)?"grid-disabled":a.currentSnapState_?a.currentSnapState_.className:null}(b=this.gridStateAwareGetElement())&&a!==this.currentGridClass&&(a&&this.toggleClass(a,!0,b),this.currentGridClass&&this.toggleClass(this.currentGridClass,!1,b),this.currentGridClass=a)};
var A1=z1;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],A1.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],A1.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",String)],A1.prototype,"gridStateAwareSizingElementSelector",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],A1.prototype,"disableGridStateAware",void 0);A1=_.S([_.wt()],A1);_.B1=[_.iu.YtComponentBehavior,A1.prototype,_.Y.YtActionHandlerBehavior];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2e");

var pPb;
var qPb;
var $6=function(){return _.K.apply(this,arguments)||this};
_.q($6,_.K);$6.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
$6.prototype.onClick=function(a){var b,c=null==(b=this.data)?void 0:b.sourceEndpoint;!_.Hx(_.H(a).path,this,["A".toString()])&&c&&this.fire("yt-navigate",{endpoint:c})};
_.t.Object.defineProperties($6.prototype,{showMetadataAtTop:{configurable:!0,enumerable:!0,get:function(){return this.data&&!(!this.data.source&&!this.data.publishedTimeText)&&!!this.data.sourceAtTop}},
showMetadataBelowTitle:{configurable:!0,enumerable:!0,get:function(){return this.data&&!(!this.data.source&&!this.data.publishedTimeText)&&!this.data.sourceAtTop}},
hasMenu:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.menu)}},
truncateParagraphs:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.truncateParagraphs)}},
background:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.background?this.data.background.replace("INFO_PANEL_CONTENT_BACKGROUND_",""):""}}});
_.t.Object.defineProperties($6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-info-panel-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_info_panel_content_renderer.ytd.info.panel.content.renderer.css.js--\x3e<div class="content" on-click="onClick">\n  <yt-icon class="inline-icon" disable-upgrade$="[[!data.icon.iconType]]" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]">\n  </yt-icon>\n  <div class="text-content">\n    <div class="metadata-container" hidden="[[!showMetadataAtTop]]">\n      <yt-formatted-string text="[[data.source]]">\n      </yt-formatted-string>\n      <div class="published-time" hidden="[[!data.publishedTimeText]]">\n        \u2022\n        <yt-formatted-string text="[[data.publishedTimeText]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n    <a class="yt-simple-endpoint title-container" hidden="[[!data.title]]" href$="[[computeHref_(data.sourceEndpoint)]]" data="[[data.sourceEndpoint]]">\n      <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n      <yt-icon class="inline-link-icon" disable-upgrade$="[[!data.inlineLinkIcon.iconType]]" hidden="[[!data.inlineLinkIcon.iconType]]" icon="[[data.inlineLinkIcon.iconType]]">\n      </yt-icon>\n    </a>\n    <div class="metadata-container" hidden="[[!showMetadataBelowTitle]]">\n      <yt-formatted-string text="[[data.source]]">\n      </yt-formatted-string>\n      <div class="published-time" hidden="[[!data.publishedTimeText]]">\n        \u2022\n        <yt-formatted-string text="[[data.publishedTimeText]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n    <div class="paragraphs">\n      <template is="dom-repeat" items="[[data.paragraphs]]">\n        <div hidden="[[!item.runs]]">\n          <yt-formatted-string class="paragraph" text="[[item]]">\n          </yt-formatted-string>\n          <div class="inline-source" hidden="[[!data.inlineSource]]">\n            <yt-formatted-string text="[[data.inlineSource]]">\n            </yt-formatted-string>\n            <yt-icon class="inline-link-icon" disable-upgrade$="[[!data.inlineLinkIcon.iconType]]" hidden="[[!data.inlineLinkIcon.iconType]]" icon="[[data.inlineLinkIcon.iconType]]">\n            </yt-icon>\n          </div>\n        </div>\n      </template>\n      <div class="disclaimer-container" hidden="[[!data.disclaimer]]">\n        <a class="yt-simple-endpoint" href$="[[computeHref_(data.sourceEndpoint)]]" target="_blank" data="[[data.sourceEndpoint]]">\n          <yt-formatted-string class="disclaimer" text="[[data.disclaimer]]">\n          </yt-formatted-string>\n          <yt-icon class="inline-link-icon inline-disclaimer-icon" disable-upgrade$="[[!data.inlineDisclaimerIcon.iconType]]" hidden="[[!data.inlineDisclaimerIcon]]" icon="[[data.inlineDisclaimerIcon.iconType]]">\n          </yt-icon>\n        </a>\n      </div>\n    </div>\n  </div>\n  <yt-img-shadow class="thumbnail" disable-upgrade$="[[!data.thumbnail]]" hidden="[[!data.thumbnail]]" object-fit="COVER" thumbnail="[[data.thumbnail]]">\n  </yt-img-shadow>\n</div>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pPb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_info_panel_content_renderer.ytd.info.panel.content.renderer.css.js--\x3e<style>.content {padding: 12px 16px 16px 16px;cursor: pointer;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([background=BLUE]) .content {background: var(--yt-spec-suggested-action);} :host([background=GRAY]) .content {background: var(--yt-spec-general-background-b);} :host([background=OVERLAY_BLACK]) {background: var(--yt-spec-static-overlay-background-medium);--ytd-menu-renderer-button-color: var(--yt-spec-static-brand-white);--yt-spec-icon-active-other: var(--yt-spec-static-brand-white);} :host([has-menu][background=OVERLAY_BLACK]) {background: var(--yt-spec-static-overlay-background-medium);border: none;} :host([background=OVERLAY_BLACK]) .paragraphs {color: var(--yt-spec-static-overlay-text-primary);} :host([background=OVERLAY_BLACK]) .inline-source {color: var(--yt-spec-static-overlay-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([background=OVERLAY_BLACK]) .inline-icon {color: var(--yt-spec-static-overlay-text-primary);} :host([has-menu]) .content {padding-top: 16px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([show-vertical-dividers]) .content {padding-right: 0px;} .text-content {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([show-vertical-dividers]) .text-content {padding-right: 16px;border-right: 1px solid var(--yt-spec-10-percent-layer);} .title-container {color: var(--yt-spec-call-to-action);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .inline-link-icon {width: 14px;height: 14px;margin-bottom: 2px;} .metadata-container {color: var(--yt-spec-text-primary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .published-time {display: inline-block;color: var(--yt-spec-text-secondary);} .paragraphs {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .disclaimer {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-secondary);} .disclaimer>a {color: var(--yt-spec-call-to-action);} :host([truncate-paragraphs]) .paragraph {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 6rem;overflow: hidden;display: block;-webkit-line-clamp: 3;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} .inline-source {display: inline-block;color: var(--yt-spec-call-to-action);} .thumbnail {width: 90px;height: 90px;margin-left: 8px;} :host([has-menu]) {background: var(--yt-spec-suggested-action);border: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .inline-icon {width: 24px;height: 24px;margin-right: 16px;color: var(--yt-spec-text-primary);} .inline-disclaimer-icon {color: var(--yt-spec-text-secondary);} .disclaimer-container {margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([has-menu]) #menu {margin-top: 6.5px;} /*# sourceMappingURL=ytd-info-panel-content-renderer.css.map*/</style>';
pPb=d}d=pPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qPb=a}a=qPb;return a}}});
_.a7=$6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.a7.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],_.a7.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],_.a7.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.a7.prototype,"showVerticalDividers",void 0);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.a7.prototype,"showMetadataAtTop",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.a7.prototype,"showMetadataBelowTitle",null);_.S([_.N({reflectToAttribute:!0}),_.V("data.menu"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.a7.prototype,"hasMenu",null);
_.S([_.N({reflectToAttribute:!0}),_.V("data.truncateParagraphs"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.a7.prototype,"truncateParagraphs",null);_.S([_.N({type:String,reflectToAttribute:!0}),_.V("data.background"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.a7.prototype,"background",null);_.a7=_.S([_.Q({asyncProperties:!0,is:"ytd-info-panel-content-renderer"})],_.a7);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1y");

var Z5a;
var $5a;
var VI=function(){var a=_.K.apply(this,arguments)||this;a.boundSubmit=function(){a.submit()};
return a};
_.q(VI,_.K);_.f=VI.prototype;_.f.configureRendererStamper=function(){return{"data.searchButton":{id:"search-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundSubmit]]"}}}},"data.clearButton":{id:"clear-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.f.ready=function(){var a=this;this.form.addEventListener("submit",function(b){return a.onSubmit(b)})};
_.f.onSubmit=function(a){a.preventDefault();return!1};
_.f.toggleClearButton=function(){this.hideClearButton=_.Dj||!this.input.value};
_.f.submitOnEnterKeyUp=function(a){13===a.keyCode&&this.submit()};
_.f.submit=function(){var a=this.data.endpoint,b=(0,_.u.unsafeClone)(a);b.browseEndpoint?b.browseEndpoint.query=this.input.value:b.searchEndpoint&&(b.searchEndpoint.query=this.input.value);b.commandMetadata&&b.commandMetadata.webCommandMetadata&&b.commandMetadata.webCommandMetadata.url?(b.commandMetadata.webCommandMetadata.url=_.qt(b.commandMetadata.webCommandMetadata.url,"query",this.input.value),this.fire("yt-navigate",{endpoint:b})):b.getAccountsListInnertubeEndpoint?(b.getAccountsListInnertubeEndpoint.channelSwitcherQuery=
this.input.value,_.Kg(this,[b])):_.Qf(Error("Ye`"+JSON.stringify(a)))};
_.f.getUrl=function(a){return this.get("commandMetadata.webCommandMetadata.url",a)};
_.t.Object.defineProperties(VI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-box-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_search_box_renderer.ytd.search.box.renderer.css.js--\x3e<form id="form" action="[[getUrl(data.endpoint)]]">\n  <tp-yt-paper-input id="input" autocomplete="off" label="[[getSimpleString(data.placeholderText)]]" max-length="100" name="query" no-label-float="" use-v2-underline="" value="[[getSimpleString(data.searchText)]]" on-input="toggleClearButton" on-keyup="submitOnEnterKeyUp">\n    <div id="search-button" slot="prefix" prefix=""></div>\n    <div id="clear-button" slot="suffix" suffix=""></div>\n  </tp-yt-paper-input>\n</form>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Z5a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_search_box_renderer.ytd.search.box.renderer.css.js--\x3e<style>:host {margin: 4px 16px 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} form {margin-bottom: 0;} tp-yt-paper-input {--paper-input-container-color: var(--yt-spec-text-secondary);--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-color: var(--yt-spec-text-secondary);--paper-input-container-underline-legacy-height: 0;--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-input-container-label: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));};width: 250px;} tp-yt-paper-input[focused] {--paper-input-container-label: {opacity: 0.5;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));};} tp-yt-paper-input {margin-bottom: -2px;} tp-yt-paper-input[focused] ytd-button-renderer {--yt-button-color: var(--yt-spec-text-primary);} :host([hide-clear-button]) #clear-button {display: none;} #clear-button ytd-button-renderer {--yt-icon-button-icon-width: 20px;} #search-button {margin-left: -8px;} #clear-button {margin-right: -12px;} /*# sourceMappingURL=ytd-search-box-renderer.css.map*/</style>";
Z5a=d}d=Z5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$5a=a}a=$5a;return a}}});
var WI=VI;WI.prototype.toggleClearButton=WI.prototype.toggleClearButton;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],WI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],WI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],WI.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],WI.prototype,"hideClearButton",void 0);
_.S([_.N(),_.T("design:type",Object)],WI.prototype,"boundSubmit",void 0);_.S([_.Z("#form"),_.T("design:type",HTMLFormElement)],WI.prototype,"form",void 0);_.S([_.Z("#input"),_.T("design:type",Object)],WI.prototype,"input",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],WI.prototype,"toggleClearButton",null);WI=_.S([_.Q({asyncProperties:!0,is:"ytd-search-box-renderer"})],WI);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1e");


_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1z");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var BCb,CCb,DCb,FCb,GCb,HCb,JCb,KCb,TZ,LCb,MCb,NCb,QCb,TCb,VCb,$Cb,e_,f_,g_,aDb,bDb,cDb,dDb,eDb,YCb,hDb,iDb,jDb,XCb,h_,kDb,lDb,ECb;_.zCb=function(a,b){if(void 0!==a.tagName){if("script"===a.tagName.toLowerCase())throw Error("$");if("style"===a.tagName.toLowerCase())throw Error("aa");}a.innerHTML=_.iba(b)};
_.ACb=function(a,b,c){if(!a.includes("START_TIME_PLACEHOLDER")||!a.includes("END_TIME_PLACEHOLDER"))return a;var d=new Date(0),e=new Date(0);d.setUTCMilliseconds(b);e.setUTCMilliseconds(c);return a.replace("START_TIME_PLACEHOLDER",_.ki(d,7)).replace("END_TIME_PLACEHOLDER",_.ki(e,7))};
BCb=function(a){return new Promise(function(b,c){var d=new _.QT;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},
error:c,complete:function(){c(new _.sU)}}))})};
CCb=function(a,b){if(a&&"function"===typeof a.lift)return a.lift.call(b);throw new TypeError("Ng");};
DCb=function(){var a=_.Ob.apply(0,arguments);return function(b){return CCb(b,_.jU.apply(null,[b].concat(_.sc(a))))}};
FCb=function(a){return function(b){return _.$T(b,new ECb(a))}};
GCb=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?_.nU(function(e,h){return a(e,h,d)}):_.ST,_.rU(),c?_.Fsb(b):_.Ksb(function(){return new _.sU}))}};
HCb=function(){var a=_.Ob.apply(0,arguments);return function(b){return 0===a.length?b:CCb(b,_.xsb.apply(null,[b].concat(_.sc(a))))}};
JCb=function(){var a=void 0===a?-1:a;return function(b){return 0===a?_.OU:0>a?_.$T(b,new ICb(-1,b)):_.$T(b,new ICb(a-1,b))}};
KCb=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()};
TZ=function(a){return new SZ((a instanceof SZ?a:new SZ(a)).value,!0)};
LCb=function(a){if(a.JSC$41425_oauthTokens){var b=a.JSC$41425_oauthTokens;return BCb(b).then(function(c){c=new _.UU(c);b.subscribe(c);return new UZ(c)})}return a.apiKey?a.JSC$41425_appAuthTokens?Promise.resolve(new VZ(a.apiKey)):Promise.resolve(new WZ(a.apiKey,a.authUser)):Promise.reject(Error("kh"))};
MCb=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}};
NCb=function(a){return new _.UT(function(b){var c=_.Wk(function(){b.next({});b.complete()},a);
return function(){_.Xk(c)}})};
QCb=function(a){var b=new OCb;_.yf(b,1,PCb,a);return b};
TCb=function(a){a.isPrivate?(a=new RCb,_.yf(a,2,SCb,!0)):(a=new RCb,_.yf(a,1,SCb,!0));return a};
VCb=function(a){var b=new XZ;a=_.k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new YZ;if(d.value instanceof _.ZZ)d.isDecreasing?_.yf(c,4,$Z,d.value.toString()):_.yf(c,2,$Z,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?_.yf(c,3,$Z,d.value):_.yf(c,1,$Z,d.value);else if("number"===typeof d.value)d.isDecreasing?_.yf(c,9,$Z,d.value):_.yf(c,10,$Z,d.value);else if(d.value instanceof Uint8Array)d.isDecreasing?_.yf(c,5,$Z,d.value):_.yf(c,7,$Z,d.value);else if(d.value instanceof
a_)d.isDecreasing?(d=UCb(d.value),_.Of(c,11,$Z,d)):(d=UCb(d.value),_.Of(c,12,$Z,d));else if(d.value instanceof b_){var e=d.value.rep;d.isDecreasing?_.yf(c,6,$Z,e):_.yf(c,8,$Z,e)}_.Sd(b,1,YZ,c)}return b};
$Cb=function(a,b){if(a instanceof c_)return 0<_.Ua(b,YZ,1).length?null:WCb.apply(c_,_.sc(a.parts));a=Array.of.apply(Array,_.sc(a.root.parts));b=_.k(_.Ua(b,YZ,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,_.Sa(c,$Z)){case 4:a.push(TZ(d_(_.Ef(c,4,$Z))));break;case 2:a.push(new SZ(d_(_.Ef(c,2,$Z))));break;case 6:a.push(TZ(new b_(_.Ef(c,6,$Z))));break;case 8:a.push(new SZ(new b_(_.Ef(c,8,$Z))));break;case 10:a.push(new SZ(XCb(c,10)));break;case 9:a.push(TZ(new SZ(XCb(c,9))));break;case 3:a.push(TZ(_.Ef(c,
3,$Z)));break;case 1:a.push(new SZ(_.Ef(c,1,$Z)));break;case 7:var d=void 0;a.push(new SZ(null==(d=_.MG(c,_.Ta(c,$Z,7)))?void 0:YCb(d)));break;case 5:d=void 0;a.push(TZ(null==(d=_.MG(c,_.Ta(c,$Z,5)))?void 0:YCb(d)));break;case 12:c=ZCb(_.NG(c,_.Lz,12,$Z));if(null===c)return null;a.push(new SZ(c));break;case 11:c=ZCb(_.NG(c,_.Lz,11,$Z));if(null===c)return null;a.push(TZ(c));break;case 0:return null;default:return null}return WCb.apply(c_,_.sc(a))};
e_=function(a,b){var c=0>a?"-":"";a=Math.abs(a);var d=Math.floor(a/3600),e=Math.floor(a)%3600,h=Math.floor(e/60);e=Math.floor(e)%60;var l="";(void 0===b?0:b)&&(l="."+Math.round(10*(a-Math.floor(a))));return 0<d?c+d+":"+(10>h?"0"+h:""+h)+":"+(10>e?"0"+e:""+e)+l:c+h+":"+(10>e?"0"+e:""+e)+l};
f_=function(a){var b=a.match(/[^0-9:\.]/g);if(b&&0<b.length)return null;a=a.split(":");if(0===a.length||3<a.length)return null;b=1;for(var c=0;0<a.length;){var d=a.pop();if(void 0===d)break;var e=Number(d);if(""===d||isNaN(e))return null;c+=e*b;b*=60}return c};
g_=function(a,b,c,d){a=Math.max(c,a);b=Math.min(b,d-c);a+b>d?(c=d,a=c-b):c=a+b;return{start:a,end:c}};
aDb=function(a,b,c,d,e,h){a<c?a=c:a+e>d&&(a=d-e);b>d&&(b=d);b=Math.min(a+h,Math.max(a+e,b));return{start:a,end:b}};
bDb=function(a,b,c,d,e,h){b>d?b=d:b-e<c&&(b=c+e);a<c&&(a=c);a=Math.min(b-e,Math.max(b-h,a));return{start:a,end:b}};
cDb=function(a,b){var c=b,d;if(d=0<c)d=a.charCodeAt(c-1),d=55296<=d&&56319>=d;d&&(c=a.charCodeAt(c),d=56320<=c&&57343>=c);d&&--b;return a.substr(0,b)};
dDb=function(a,b){if(a.simpleText)return Object.assign({},a,{simpleText:cDb(a.simpleText,b)});if(!a.runs)return a;for(var c=Object.assign({},a,{runs:[]}),d=0,e=_.k(a.runs),h=e.next();!h.done;h=e.next())if(h=h.value,h.text)if(d+h.text.length<=b)c.runs.push(h),d+=h.text.length;else return c.runs.push(Object.assign({},h,{text:cDb(h.text,b-d)})),c;return a};
eDb=function(a,b,c){b=void 0===b?!1:b;if(_.x("kevlar_watch_metadata_copy_runs_killswitch")){var d=[];if(a.simpleText)d.push({text:a.simpleText});else{var e;d.push.apply(d,_.sc(null!=(e=a.runs)?e:[]))}}else if(a.simpleText)d=[{text:a.simpleText}];else{var h;d=(null!=(h=a.runs)?h:[]).map(function(l){return Object.assign({},l)})}if(b||c)for(a=_.k(d),e=a.next();!e.done;e=a.next())e=e.value,b&&(e.bold=!0),c&&!e.navigationEndpoint&&(e.textColor=c);
return d};
_.gDb=function(){if(_.x("kevlar_home_skeleton")&&!fDb){var a=document.querySelector("#home-page-skeleton");a&&(_.fi("hgcr"),_.Hb(a),fDb=!0)}};
YCb=function(a){return(a=_.Hpa(a))?new Uint8Array(a):_.Mj||(_.Mj=new Uint8Array(0))};
hDb=function(a){var b=["expflag","debug_forced_internalcountrycode"];_.Cm(a);a.keyMap_.forEach(function(c,d){_.ha(b,d)||this.remove(d)},a)};
iDb=function(a){var b=_.asb(b);return new b(function(c,d){var e;a.subscribe(function(h){return e=h},function(h){return d(h)},function(){return c(e)})})};
jDb=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
XCb=function(a,b){b=_.Ta(a,$Z,b);a=_.ab(a,b);return null==a?a:+a};
h_=function(a,b,c){return a+c*(b-a)};
kDb=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(_.Fj||_.Ce)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return _.Ej;default:return!1}};
lDb=function(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;if(kDb(a.keyCode))return!0;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!_.Ej;default:return 166>a.keyCode||183<a.keyCode}};
_.mDb=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};
_.nDb=function(a){switch(a){case 93:return 91;default:return a}};
ECb=function(a){this.JSC$40584_durationSelector=a};
ECb.prototype.call=function(a,b){return b.subscribe(new _.XV(a,this.JSC$40584_durationSelector))};
var ICb=function(a,b){this.count=a;this.source=b};
ICb.prototype.call=function(a,b){return b.subscribe(new _.iW(a,this.count,this.source))};
KCb.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};
var oDb=function(a){var b=0;if(a.inRetryMode_){b=Math.ceil(a.random_()*a.currentMaxDelayMs_);var c=1024*a.initialMaxDelayMs_;a.currentMaxDelayMs_<=c&&(a.currentMaxDelayMs_*=2,a.currentMaxDelayMs_>c&&(a.currentMaxDelayMs_=c))}a.inRetryMode_=!0;return b};
var pDb=function(a){_.G.call(this,a)};
_.q(pDb,_.G);pDb.prototype.getVersion=function(){return _.ab(this,1)};
var XZ=function(a){_.G.call(this,a,-1,qDb)};
_.q(XZ,_.G);var YZ=function(a){_.G.call(this,a)};
_.q(YZ,_.G);var qDb=[1],$Z=[5,4,3,6,7,2,1,8,9,10,11,12];
var rDb=function(a){_.G.call(this,a)};
_.q(rDb,_.G);rDb.prototype.getVersion=function(){return _.ab(this,3)};
var RCb=function(a){_.G.call(this,a)};
_.q(RCb,_.G);var SCb=[1,2,3,15];
var OCb=function(a){_.G.call(this,a)};
_.q(OCb,_.G);OCb.prototype.getName=function(){return _.Ef(this,1,PCb)};
var PCb=[1,2];
var sDb=function(a){_.G.call(this,a)};
_.q(sDb,_.G);sDb.prototype.getPath=function(){return _.Va(this,XZ,3)};
var tDb=function(a){_.G.call(this,a)};
_.q(tDb,_.G);
var uDb=function(a){_.G.call(this,a)};
_.q(uDb,_.G);uDb.prototype.hasHeader=function(){return _.rz(this,4)};
var vDb=[2,3,6];
var wDb=function(a){_.G.call(this,a)};
_.q(wDb,_.G);
var xDb=function(a){_.G.call(this,a)};
_.q(xDb,_.G);
var yDb=function(a){_.G.call(this,a)};
_.q(yDb,_.G);var zDb=function(a){_.G.call(this,a)};
_.q(zDb,_.G);var ADb=[2,3];
var CDb=function(a){_.G.call(this,a,-1,BDb)};
_.q(CDb,_.G);var BDb=[1];
var DDb=function(a){_.G.call(this,a)};
_.q(DDb,_.G);DDb.prototype.hasChanges=function(){return 2===_.Sa(this,i_)};
var FDb=function(a){_.G.call(this,a,-1,EDb)};
_.q(FDb,_.G);var GDb=function(a){_.G.call(this,a)};
_.q(GDb,_.G);var i_=[1,2,3,5],EDb=[1];
var HDb=function(a){_.G.call(this,a)};
_.q(HDb,_.G);HDb.prototype.getMessage=function(){return _.ab(this,3)};
var IDb=function(a){_.G.call(this,a)};
_.q(IDb,_.G);var JDb=function(a){_.G.call(this,a)};
_.q(JDb,_.G);JDb.prototype.getStatus=function(){return _.Va(this,HDb,1)};
var KDb=[2,3];
var LDb=function(a){_.G.call(this,a)};
_.q(LDb,_.G);
var NDb=function(a){_.G.call(this,a,-1,MDb)};
_.q(NDb,_.G);NDb.prototype.getStatus=function(){return _.Va(this,LDb,2)};
var MDb=[1];
var ODb=function(a,b){this.path=a;this.JSC$62935_authMethod=b},j_=function(a,b,c,d,e){this.channelMessageHandler=a;
this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new _.bA;this.channel=PDb(this,e)},PDb=function(a,b){b={sendRawJson:!0,
messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({},{gsessionid:b},a.config.JSC$62935_authMethod.getQueryParameters()),messageHeaders:a.config.JSC$62935_authMethod.getHeaders(),supportsCrossDomainXhr:a.config.JSC$62935_authMethod.usesCredentialedRequests()};b=a.channelCreator(a.config.path,b);a.channelHandler.listen(b,"n",function(){a.channelStatusHandler.onOpen()});
a.channelHandler.listen(b,"o",function(){a.channelStatusHandler.onClose(_.zH(a.channel).JSC$38206_channel_.JSC$38187_lastStatusCode_);a.state=2;a.channel.removeAllListeners();a.channelHandler.removeAll()});
a.channelHandler.listen(b,"q",function(c){(c=c.data)&&1===c.length&&a.channelMessageHandler(new NDb(c[0]))});
a.channelHandler.listen(b,"p",function(c){a.channelStatusHandler.onError(c,_.zH(a.channel).JSC$38206_channel_.JSC$38187_lastStatusCode_);0!==c.status&&(a.state=2)});
return b};
j_.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};
j_.prototype.close=function(){2!==this.state&&this.channel.close()};
j_.prototype.send=function(a){a=a.serialize();this.channel.send(a)};
var QDb,RDb,SDb=new pDb;RDb=_.n(SDb,1,4);QDb=_.n(RDb,2,5);
var b_=function(a){this.rep=a};
b_.prototype.equals=function(a){return this.rep===a.rep};
var TDb=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};
TDb.prototype.update=function(){var a=Date.now();a=Math.floor((a-this.lastAddedTimestampMs)/3E5);this.tokens=Math.min(this.tokens+a,this.max);this.lastAddedTimestampMs+=3E5*a};
var UDb=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},VDb=function(){},WDb=function(a){this.timestampMicros=a};
var a_=function(a,b){this.seconds=a;this.nanos=b},UCb=function(a){var b=new _.Lz;
b.setSeconds(a.seconds);_.Kt(b,2,a.nanos);return b},ZCb=function(a){try{var b=a.getSeconds(),c=_.Tj(a,2,0);
if(-62135596800>b)throw Error("ah`"+b);if(253402300800<=b)throw Error("bh`"+b);if(0>c)throw Error("ch`"+c);if(1E9<=c)throw Error("dh`"+c);if(!Number.isInteger(b))throw Error("eh`"+b);if(!Number.isInteger(c))throw Error("fh`"+c);return new a_(b,c)}catch(d){return null}};
a_.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};
var k_;_.ZZ=function(a,b){this.low_=a|0;this.high_=b|0};
k_=function(a){return 4294967296*a.high_+(a.low_>>>0)};
_.ZZ.prototype.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
_.ZZ.prototype.toString=function(a){a=a||10;if(2>a||36<a)throw Error("gh`"+a);if(this.isSafeInteger()){var b=k_(this);return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=l_(c,c/4294967296);c=this.div(d);d=Math.abs(k_(this.add(m_(c,d).negate())));var e=10==a?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=k_(c);return(10==a?d:d.toString(a))+e};
var n_=function(a){return 0==a.low_&&0==a.high_};
_.ZZ.prototype.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};
_.ZZ.prototype.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};
_.ZZ.prototype.negate=function(){var a=~this.low_+1|0;return l_(a,~this.high_+!a|0)};
_.ZZ.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);l=(a>>>16)+(d+l);d=l>>>16;d+=c+h;b=(d>>>16)+(b+e)&65535;return l_((l&65535)<<16|a&65535,b<<16|d&65535)};
var m_=function(a,b){if(n_(a))return a;if(n_(b))return b;var c=a.high_>>>16,d=a.high_&65535,e=a.low_>>>16;a=a.low_&65535;var h=b.high_>>>16,l=b.high_&65535,m=b.low_>>>16;b=b.low_&65535;var p=a*b;var r=(p>>>16)+e*b;var v=r>>>16;r=(r&65535)+a*m;v+=r>>>16;v+=d*b;var z=v>>>16;v=(v&65535)+e*m;z+=v>>>16;v=(v&65535)+a*l;z=z+(v>>>16)+(c*b+d*m+e*l+a*h)&65535;return l_((r&65535)<<16|p&65535,z<<16|v&65535)};
_.f=_.ZZ.prototype;
_.f.div=function(a){if(n_(a))throw Error("hh");if(0>this.high_){if(this.equals(o_)){if(a.equals(p_)||a.equals(XDb))return o_;if(a.equals(o_))return p_;var b=1;if(0==b)b=this;else{var c=this.high_;b=32>b?l_(this.low_>>>b|c<<32-b,c>>b):l_(c>>b-32,0<=c?0:-1)}b=b.div(a).shiftLeft(1);if(b.equals(q_))return 0>a.high_?p_:XDb;c=this.add(m_(a,b).negate());return b.add(c.div(a))}return 0>a.high_?this.negate().div(a.negate()):this.negate().div(a).negate()}if(n_(this))return q_;if(0>a.high_)return a.equals(o_)?q_:
this.div(a.negate()).negate();var d=q_;for(c=this;0<=c.compare(a);){b=Math.max(1,Math.floor(k_(c)/k_(a)));var e=Math.ceil(Math.log(b)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var h=r_(b),l=m_(h,a);0>l.high_||0<l.compare(c);)b-=e,h=r_(b),l=m_(h,a);n_(h)&&(h=p_);d=d.add(h);c=c.add(l.negate())}return d};
_.f.not=function(){return l_(~this.low_,~this.high_)};
_.f.and=function(a){return l_(this.low_&a.low_,this.high_&a.high_)};
_.f.or=function(a){return l_(this.low_|a.low_,this.high_|a.high_)};
_.f.xor=function(a){return l_(this.low_^a.low_,this.high_^a.high_)};
_.f.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?l_(b<<a,this.high_<<a|b>>>32-a):l_(0,b<<a-32)};
var r_=function(a){return 0<a?0x7fffffffffffffff<=a?YDb:new _.ZZ(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?o_:(new _.ZZ(-a,-a/4294967296)).negate():q_},l_=function(a,b){return new _.ZZ(a,b)},d_=function(a,b){if("-"==a.charAt(0))return d_(a.substring(1),b).negate();
var c=parseInt(a,b||10);if(9007199254740991>=c)return new _.ZZ(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("ih");if(0<=a.indexOf("-"))throw Error("jh`"+a);b=b||10;if(2>b||36<b)throw Error("gh`"+b);c=r_(Math.pow(b,8));for(var d=q_,e=0;e<a.length;e+=8){var h=Math.min(8,a.length-e),l=parseInt(a.substring(e,e+h),b);8>h?(h=r_(Math.pow(b,h)),d=m_(d,h).add(r_(l))):(d=m_(d,c),d=d.add(r_(l)))}return d},q_=l_(0,0),p_=l_(1,0),XDb=l_(-1,-1),YDb=l_(4294967295,2147483647),o_=l_(0,2147483648);
var SZ=function(a,b){this.value=a;this.isDecreasing=!!b};
SZ.prototype.equals=function(a){if(this.isDecreasing!==a.isDecreasing)var b=!1;else if("string"===typeof this.value||"number"===typeof this.value)b=this.value===a.value;else if(this.value instanceof _.ZZ)b=a.value instanceof _.ZZ?this.value.equals(a.value):!1;else if(this.value instanceof b_)b=a.value instanceof b_?this.value.equals(a.value):!1;else if(this.value instanceof Uint8Array)if(a.value instanceof Uint8Array)a:if(b=this.value,a=a.value,b.length!==a.length)b=!1;else{for(var c=0;c<b.length;++c)if(b[c]!==
a[c]){b=!1;break a}b=!0}else b=!1;else b=this.value instanceof a_?a.value instanceof a_?this.value.equals(a.value):!1:!1;return b};
var c_=function(a,b){this.parts=a;this.isPrivate=b},WCb=function(){for(var a=[],b=_.k(_.Ob.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof SZ?a.push(c):a.push(new SZ(c));
return new c_(a,!1)};
c_.prototype.equals=function(a){var b;if(b=this.parts.length===a.parts.length)a:if(this.isPrivate!==a.isPrivate||this.parts.length>a.parts.length)b=!1;else{for(b=0;b<this.parts.length;++b)if(!this.parts[b].equals(a.parts[b])){b=!1;break a}b=!0}return b};
var s_=function(a){this.root=a};
s_.prototype.equals=function(a){return this.root.equals(a.root)};
var ZDb=function(){},WZ=function(a,b){this.apiKey=a;
this.authUser=b};
WZ.prototype.getHeaders=function(){var a={},b;(b=_.Ud([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;null!=b&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.authUser||0));return a};
WZ.prototype.getQueryParameters=function(){return{key:this.apiKey}};
WZ.prototype.domainType=function(){return 0};
WZ.prototype.usesCredentialedRequests=function(){return!0};
var UZ=function(a){this.JSC$41433_oauthTokens=a};
UZ.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.JSC$41433_oauthTokens.getValue();return a};
UZ.prototype.getQueryParameters=function(){return{}};
UZ.prototype.domainType=function(){return 1};
UZ.prototype.usesCredentialedRequests=function(){return!0};
var VZ=function(a){this.apiKey=a};
VZ.prototype.getHeaders=function(){return{}};
VZ.prototype.getQueryParameters=function(){return{key:this.apiKey}};
VZ.prototype.domainType=function(){return 1};
VZ.prototype.usesCredentialedRequests=function(){return!1};
var $Db={send:function(a,b,c,d,e,h,l){_.k1a(a,b,c,d,e,h,l)}};
var aEb=function(a,b,c){this.code=a;this.message=b;this.status=c},bEb=function(a){var b=void 0===b?$Db:b;
this.baseUri=a;this.xhrIo=b};
bEb.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
bEb.prototype.request=function(a,b,c,d,e){var h=this,l=new _.Jh(this.baseUri);_.vm(l,b);if(e.queryParams){b=_.k(Object.entries(e.queryParams));for(var m=b.next();!m.done;m=b.next()){var p=_.k(m.value);m=p.next().value;p=p.next().value;_.vz(l,m,p)}}var r={"Content-type":"application/json+protobuf"};Object.assign(r,e.extraHeaders);var v=c.serialize();return new Promise(function(z,A){var D;h.xhrIo.send(l,function(){var E=-1===this.getStatus()?void 0:this.getStatus();if(_.Rs(this))try{z(_.zz(d,_.Ss(this)))}catch(J){A(new aEb(4,
"Failed to deserialize response from "+l+": "+_.Ss(this),E))}else A(new aEb(this.JSC$35989_lastErrorCode_,this.getLastError(),E))},a,v,r,null!=(D=e.timeoutMs)?D:2E4,e.withCredentials)})};
var cEb=function(){this.changeList=[]};
cEb.prototype.add=function(a){this.changeList.push(a)};
var dEb=function(a,b){this.JSC$41456_authMethod=b;this.jspbClient=new bEb(a)},eEb=function(a,b){var c,d,e,h,l;
return _.y(function(m){if(1==m.nextAddress){c=new wDb;_.eb(c,1,b);var p=a.jspbClient,r=p.post;var v=a.JSC$41456_authMethod;v={queryParams:v.getQueryParameters(),extraHeaders:v.getHeaders(),withCredentials:v.usesCredentialedRequests()};return _.B(m,r.call(p,"/punctual/v1/chooseServer",c,xDb,v),2)}d=m.yieldResult;e=_.ab(d,1);if(null==e)throw Error("lh");return m.return({gsessionid:e,affinitization:null!=(h=_.ab(d,2))?h:0,initialConnectionDelayMillis:null!=(l=_.ab(d,3))?l:0})})},fEb=function(a,b,c){this.project=
a;
this.interestSet=b;this.JSC$62948_knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},t_=function(a,b,c){this.defaultProject=a;
this.channelDeps=c;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new _.GU;this.streamNumber=0;this.rawStatus=new _.GU;this.status=new _.UU(new _.OG);this.skipBackoff=new TDb;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(FCb(function(d){return 0===_.Tj(d,1,0)?Promise.resolve():new Promise(function(e){_.Wk(e,500)})})).subscribe(this.status);
this.delayGenerator=new KCb;this.JSC$41466_reconnectHint=b?b.pipe(_.pU(function(){return _.XU}),DCb(_.XU)):_.XU;
gEb(this)},hEb=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var h=a.firstPartyUri;
break;case 1:h=a.thirdPartyUri;break;default:h=new _.Jh}var l=_.vm(h.clone(),"/punctual/multi-watch/channel"),m=new ODb(l.toString(),e);return{serverChooser:new dEb(h,e),channelCreator:function(p,r,v){p=new j_(p,r,m,function(z,A){new _.q2a;return new _.oH(z,A)},v);
p.open();return p}}});
return new t_(d,c,b)},iEb=function(a,b){return a.recentResyncs.find(function(c){var d;
if(d=c.project===b.project)c=c.interestSet,d=b.interestSet,d=c instanceof c_&&d instanceof c_?c.equals(d):c instanceof s_&&d instanceof s_?c.equals(d):!1;return d})};
t_.prototype.onOpen=function(){var a=new _.OG;_.Kt(a,1,0);try{this.rawStatus.next(a)}catch(b){}};
t_.prototype.onClose=function(){this.JSC$41466_channelState=void 0;gEb(this)};
t_.prototype.onError=function(a,b){a=new _.OG;_.Kt(a,1,MCb(b));try{this.rawStatus.next(a)}catch(c){}};
var lEb=function(a,b,c){if(a.JSC$41466_channelState){var d=jEb(c.project,c.interestSet);c instanceof kEb&&_.n(d,1,c.JSC$41492_knowledgeTimestamp.toString());c=new CDb;var e=_.Sd(c,1,yDb);_.n(e,1,b.toString());_.Of(e,2,ADb,d);_.n(e,4,a.JSC$41466_channelState.affinitization);a.JSC$41466_channelState.channel.send(c)}},jEb=function(a,b){var c=new uDb;
c=_.eb(c,4,QDb);if(b instanceof c_){var d=new sDb;null!=a&&(a=QCb(a),_.eb(d,1,a));a=TCb(b);_.eb(d,2,a);b=VCb(b);_.eb(d,3,b);_.Of(c,2,vDb,d)}else d=new tDb,null!=a&&(a=QCb(a),_.eb(d,1,a)),a=TCb(b.root),_.eb(d,2,a),b=VCb(b.root),_.eb(d,3,b),_.Of(c,6,vDb,d);return c},gEb=function(a){var b=oDb(a.delayGenerator);
NCb(b).pipe(HCb(a.JSC$41466_reconnectHint.pipe(GCb(function(){var c=a.skipBackoff;c.update();0<c.tokens?(c.tokens--,c=!0):c=!1;return c})))).subscribe(function(){a.channelDeps.then(function(c){mEb(a,c.serverChooser).then(function(d){_.Wk(function(){a.hasConnected=!0;
nEb(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){gEb(a)})},function(c){var d=new _.OG;
_.Kt(d,1,13);_.Wj(d,2,c.toString());a.rawStatus.next(d)})})},mEb=function(a,b){var c,d,e,h,l,m;
return _.y(function(p){if(1==p.nextAddress)return _.B(p,oEb(a),2);c=p.yieldResult;d=_.k(c);e=d.next().value;h=d.next().value;l=e;m=h;return p.return(eEb(b,jEb(l,m)))})},oEb=function(a){var b,c,d,e,h,l,m;
return _.y(function(p){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=_.k(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,h=_.k(e.values()),l=h.next();!l.done;)return m=l.value,p.return([m.project,m.interestSet]);var r=new _.UT;r.source=a.newStreamSubject;return _.B(p,iDb(r.pipe(GCb())),1)})},nEb=function(a,b,c){a.JSC$41466_channelState={channel:b(function(h){for(var l=_.k(_.Ua(h,IDb,1)),m=l.next();!m.done;m=l.next()){var p=m.value;
if(m=_.ab(p,1))if(m=Number(m),3===_.Sa(p,KDb)){a:{if(p=_.NG(p,JDb,3,KDb))if(p=p.getStatus()){var r=p;break a}r=void 0}if(r){p=a;var v=p.causalStreams.get(m)||p.limboStreams.get(m)||p.nonCausalStreams.get(m);v&&(0===_.ab(r,1)?v.observer.complete():v.observer.error(r),p.causalStreams.delete(m),p.limboStreams.delete(m),p.nonCausalStreams.delete(m))}}else if(r=_.NG(p,DDb,2,KDb))switch(_.Sa(r,i_)){case 1:p=a;if(r=p.causalStreams.get(m)){try{r.observer.next(new VDb)}catch(J){}p.causalStreams.delete(m);
p.limboStreams.set(m,r.start())}break;case 3:a:{if(p=_.NG(r,GDb,3,i_))if(p=_.ab(p,1)){v=new WDb(d_(p));break a}v=void 0}if(v&&(p=a,r=m,m=v,(v=p.limboStreams.get(r))?(v=v.advance(m.timestampMicros),p.limboStreams.delete(r),p.nonCausalStreams.set(r,v),p=v):p=p.nonCausalStreams.get(r),p)){r=m.timestampMicros;r>p.JSC$41492_knowledgeTimestamp&&(p.JSC$41492_knowledgeTimestamp=r);try{p.observer.next(m)}catch(J){}}break;case 2:m=a.nonCausalStreams.get(m)||a.limboStreams.get(m);if(!m)break;p=m.interestSet;
if(v=_.NG(r,FDb,2,i_)){r=new cEb;v=_.k(_.Ua(v,rDb,1));for(var z=v.next();!z.done;z=v.next()){var A=z.value,D=_.Va(A,XZ,6);z=A.getVersion();if(D&&z){var E=void 0;A=null==(E=_.MG(A,2))?void 0:YCb(E);E=null===A?void 0:A;(D=$Cb(p,D))&&r.add(new UDb(D,d_(z),E))}}p=r}else p=void 0;if(p)for(p=_.k(p.changeList),r=p.next();!r.done;r=p.next()){r=r.value;r=new UDb(r.objectId,r.version,r.payload);try{m.observer.next(r)}catch(J){}}break;case 5:if(p=a,m=p.causalStreams.get(m)||p.limboStreams.get(m)||p.nonCausalStreams.get(m)){if(m instanceof
kEb){r=p;v=0;for(z=Date.now();v<r.recentResyncs.length;)z>=r.recentResyncs[v].resyncMillis+6E4?r.recentResyncs.splice(v):++v;(r=iEb(p,m))?(r.hasRecurred=!0,r.JSC$62948_knowledgeTimestamp=m.JSC$41492_knowledgeTimestamp,r.resyncMillis=Date.now()):p.recentResyncs.push(new fEb(m.project,m.interestSet,m.JSC$41492_knowledgeTimestamp))}try{m.observer.complete()}catch(J){}}}}if(_.rz(h,2))switch(h=h.getStatus(),_.ab(h,1)){case 1:a.JSC$41466_channelState&&a.JSC$41466_channelState.channel.close()}},a,c.gsessionid),
affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));b.sort(function(h,l){return h[0]-l[0]});
b=_.k(b);for(c=b.next();!c.done;c=b.next()){var d=_.k(c.value);c=d.next().value;d=d.next().value;lEb(a,c,d)}b=_.k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=_.k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.JSC$41466_channelState;_.Wk(function(){a.JSC$41466_channelState===e&&a.delayGenerator.reset()},45E3)};
t_.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new _.UT(function(d){var e=++c.streamNumber,h,l=null!=(h=b.projectOverride)?h:c.defaultProject;d=new pEb(d,l,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});lEb(c,e,d);return function(){var m=new CDb,p=_.Sd(m,1,yDb);_.n(p,1,e.toString());var r=new zDb;_.Of(p,3,ADb,r);c.JSC$41466_channelState&&c.JSC$41466_channelState.channel.send(m);c.causalStreams.delete(e);c.limboStreams.delete(e);c.nonCausalStreams.delete(e)}})};
var pEb=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};
pEb.prototype.start=function(){return new qEb(this.observer,this.project,this.interestSet)};
var qEb=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};
qEb.prototype.advance=function(a){return new kEb(this.observer,this.project,this.interestSet,a)};
var kEb=function(a,b,c,d){this.observer=a;this.project=b;this.interestSet=c;this.JSC$41492_knowledgeTimestamp=d};
var rEb={firstPartyUri:new _.Jh("https://signaler-pa.clients6.google.com"),thirdPartyUri:new _.Jh("https://signaler-pa.googleapis.com")},sEb={firstPartyUri:new _.Jh("https://punctual-dev.corp.google.com"),thirdPartyUri:new _.Jh("https://signaler-staging.sandbox.google.com")},tEb=new Map(Object.entries({prod:rEb,ytprod:{firstPartyUri:new _.Jh("https://signaler-pa.youtube.com"),thirdPartyUri:new _.Jh("https://signaler-pa.googleapis.com")},dev:sEb}));
_.uEb=function(a){this.projectPath=a;this.authParams=new ZDb;this.inferProject=!1};
_.vEb=function(a){var b=LCb(a.authParams),c=a.projectPath;if(!c.startsWith("/punctual/"))throw Error("mh`"+c);var d=c.substring(10).split("/");if(2!==d.length)throw Error("nh`"+c);c=_.k(d);d=c.next().value;c=c.next().value;if(d.startsWith("custom:"))d=new _.Jh(decodeURIComponent(d.substring(7))),d={firstPartyUri:d,thirdPartyUri:d};else{var e=tEb.get(d);if(!e)throw Error("oh`"+d);d=e}return hEb(d,b,a.JSC$41504_reconnectHint,a.inferProject?void 0:c)};
_.wEb=function(a){this.name=a};
var xEb;xEb=function(a){this.client=a};
_.yEb=function(a){var b=void 0===b?{}:b;this.punctualClient=a;this.watchOpts=b;this.status=a.status};
_.yEb.prototype.start=function(){return{stop:function(){return Promise.resolve()}}};
_.zEb=function(a,b){b=WCb(b.name);return a.punctualClient.watch(new s_(b),a.watchOpts).pipe(_.nU(function(c){return!(c instanceof WDb)}),_.bU(function(c){if(c instanceof UDb){var d=1===c.objectId.parts.length,e=c.payload&&_.h1a(c.payload);
return{version:c.version,payload:e,isSynthetic:!1,isSuppressor:d}}return{isSynthetic:!0,isSuppressor:!0}}),JCb())};
var AEb=function(a){this.inner=a},BEb=function(){var a=new _.uEb("/punctual/prod/");
a.inferProject=!0;return new AEb(a)},CEb=function(a,b){a.inner.authParams.apiKey=b;
return a};
var u_=function(a,b,c){_.uk.call(this);this.JSC$41521_id_=null;this.usingListeners_=!1;this.JSC$41521_listener_=a;this.handler_=c;this.JSC$41521_win_=b||window;this.callback_=(0,_.$i)(this.JSC$41523_doAction_,this)};
_.cj(u_,_.uk);_.f=u_.prototype;_.f.start=function(){this.stop();this.usingListeners_=!1;var a=DEb(this),b=EEb(this);a&&!b&&this.JSC$41521_win_.mozRequestAnimationFrame?(this.JSC$41521_id_=_.Fk(this.JSC$41521_win_,"MozBeforePaint",this.callback_),this.JSC$41521_win_.mozRequestAnimationFrame(null),this.usingListeners_=!0):this.JSC$41521_id_=a&&b?a.call(this.JSC$41521_win_,this.callback_):this.JSC$41521_win_.setTimeout(jDb(this.callback_),20)};
_.f.stop=function(){if(this.isActive()){var a=DEb(this),b=EEb(this);a&&!b&&this.JSC$41521_win_.mozRequestAnimationFrame?_.Jk(this.JSC$41521_id_):a&&b?b.call(this.JSC$41521_win_,this.JSC$41521_id_):this.JSC$41521_win_.clearTimeout(this.JSC$41521_id_)}this.JSC$41521_id_=null};
_.f.fire=function(){this.stop();this.JSC$41523_doAction_()};
_.f.isActive=function(){return null!=this.JSC$41521_id_};
_.f.JSC$41523_doAction_=function(){this.usingListeners_&&this.JSC$41521_id_&&_.Jk(this.JSC$41521_id_);this.JSC$41521_id_=null;this.JSC$41521_listener_.call(this.handler_,_.bj())};
_.f.disposeInternal=function(){this.stop();u_.superClass_.disposeInternal.call(this)};
var DEb=function(a){a=a.JSC$41521_win_;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null},EEb=function(a){a=a.JSC$41521_win_;
return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
var v_=function(a,b,c,d,e,h,l,m){this.x0=a;this.y0=b;this.JSC$41524_x1=c;this.JSC$41524_y1=d;this.JSC$41524_x2=e;this.JSC$41524_y2=h;this.x3=l;this.y3=m};
v_.prototype.clone=function(){return new v_(this.x0,this.y0,this.JSC$41524_x1,this.JSC$41524_y1,this.JSC$41524_x2,this.JSC$41524_y2,this.x3,this.y3)};
v_.prototype.equals=function(a){return this.x0==a.x0&&this.y0==a.y0&&this.JSC$41524_x1==a.JSC$41524_x1&&this.JSC$41524_y1==a.JSC$41524_y1&&this.JSC$41524_x2==a.JSC$41524_x2&&this.JSC$41524_y2==a.JSC$41524_y2&&this.x3==a.x3&&this.y3==a.y3};
var FEb=function(a,b){if(0==b)return a.x0;if(1==b)return a.x3;var c=h_(a.x0,a.JSC$41524_x1,b),d=h_(a.JSC$41524_x1,a.JSC$41524_x2,b);a=h_(a.JSC$41524_x2,a.x3,b);c=h_(c,d,b);d=h_(d,a,b);return h_(c,d,b)},GEb=function(a,b){var c=(b-a.x0)/(a.x3-a.x0);
if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,h=0,l=0;8>l;l++){h=FEb(a,c);var m=(FEb(a,c+1E-6)-h)/1E-6;if(1E-6>Math.abs(h-b))return c;if(1E-6>Math.abs(m))break;else h<b?d=c:e=c,c-=(h-b)/m}for(l=0;1E-6<Math.abs(h-b)&&8>l;l++)h<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),h=FEb(a,c);return c};
var HEb;
var IEb;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==IEb)return IEb;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-material--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_material.tp.yt.paper.material.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===HEb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_material.tp.yt.paper.material.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/**\n@license\nCopyright (c) 2017 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host([animated]) {\n  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n:host {\n  display: block;\n  position: relative;\n}\n\n:host([elevation="1"]) {\n  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\n}\n\n:host([elevation="2"]) {\n  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="3"]) {\n  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="4"]) {\n  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="5"]) {\n  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);\n}\n\n/*# sourceMappingURL=tp-yt-paper-material.css.map */</style>';
HEb=d}d=HEb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return IEb=a},
is:"tp-yt-paper-material",properties:{elevation:{type:Number,reflectToAttribute:!0,value:1},animated:{type:Boolean,reflectToAttribute:!0,value:!1}}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.w_=function(a){this.callback_=a;this.bezier_=new v_(0,0,.4,0,.2,1,1,1);this.JSC$41529_delay_=new u_(this.JSC$41531_next_,window,this);this.isAnimating_=!1};
_.w_.prototype.start=function(a,b,c){this.from_=a;this.to_=b;this.JSC$41529_duration_=c;this.JSC$41529_startTime_=(0,_.Yd)();this.isAnimating_=!0;this.JSC$41531_next_()};
_.w_.prototype.JSC$41531_next_=function(){var a=(0,_.Yd)()-this.JSC$41529_startTime_;var b=this.bezier_;a=GEb(b,a/this.JSC$41529_duration_);if(0==a)b=b.y0;else if(1==a)b=b.y3;else{var c=h_(b.y0,b.JSC$41524_y1,a),d=h_(b.JSC$41524_y1,b.JSC$41524_y2,a);b=h_(b.JSC$41524_y2,b.y3,a);c=h_(c,d,a);d=h_(d,b,a);b=h_(c,d,a)}b=_.Az(b,0,1);this.callback_((this.to_-this.from_)*b+this.from_);1>b?this.JSC$41529_delay_.start():this.isAnimating_=!1};
_.JEb=_.hd("kevlar_watch_flexy_metadata_height",136);
var KEb={PAUSE_CHAT:18};
var LEb=function(){var a=_.vt.apply(this,arguments)||this;a._noAccessors=!0;a.scrollRate=3;a.autoScrollAnimationStart=0;a.autoScrollPaused=!1;a.autoScrollRafId=0;return a};
_.q(LEb,_.vt);_.f=LEb.prototype;_.f.created=function(){var a=this;this.boundAutoScrollHandler=function(b){a.autoScroll(b)}};
_.f.detached=function(){this.unlisten(this,"mouseout","startAutoScroll");this.unlisten(this,"click","endAutoScroll");this.unlisten(this,"mouseover","endAutoScroll");this.endAutoScroll&&this.endAutoScroll()};
_.f.autoScrollEnabledChanged=function(){this.autoScrollEnabled?(this.listen(this,"mouseout","startAutoScroll"),this.listen(this,"click","endAutoScroll"),this.listen(this,"mouseover","endAutoScroll"),this.startAutoScroll()):(this.unlisten(this,"mouseout","startAutoScroll"),this.unlisten(this,"click","endAutoScroll"),this.unlisten(this,"mouseover","endAutoScroll"),this.endAutoScroll())};
_.f.autoScroll=function(a){this.autoScrollAnimationStart||(this.autoScrollAnimationStart=a);var b;if(b=!this.autoScrollPaused&&this.scrollTarget)b=this.scrollTarget,b=b.scrollHeight-b.scrollTop!==b.clientHeight;b&&(b=1E3/this.scrollRate,a-=this.autoScrollAnimationStart,a>b&&(this.scrollTarget.scrollTop+=Math.ceil(a/b),this.autoScrollAnimationStart=0),this.startAutoScroll())};
_.f.startAutoScroll=function(){this.autoScrollPaused=!1;this.autoScrollRafId=window.requestAnimationFrame(this.boundAutoScrollHandler)};
_.f.endAutoScroll=function(){this.autoScrollPaused=!0;window.cancelAnimationFrame(this.autoScrollRafId)};
var x_=LEb;x_.prototype.autoScrollEnabledChanged=x_.prototype.autoScrollEnabledChanged;_.S([_.N(),_.T("design:type",Object)],x_.prototype,"scrollRate",void 0);_.S([_.N(),_.T("design:type",Object)],x_.prototype,"scrollTarget",void 0);_.S([_.N(),_.T("design:type",Boolean)],x_.prototype,"autoScrollEnabled",void 0);_.S([_.P("autoScrollEnabled"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],x_.prototype,"autoScrollEnabledChanged",null);x_=_.S([_.wt()],x_);_.MEb=[x_.prototype];
_.NEb={YtMacroReplacementBehavior:[{sendServiceRequestAction:function(a){if(a&&1==a.length&&Array.isArray(a[0].loggingUrls)){a=_.u.unsafeClone(a[0]);var b=this.macros||{},c=this.getAdModuleClient_();if(!c)return _.Mg();a.loggingUrls.forEach(function(d){if(d.baseUrl){var e=d.baseUrl;var h=b;h=void 0===h?{}:h;e=c.getOptions().includes("replaceUrlMacros")?_.X2a(c,"replaceUrlMacros",{url:e,additionalMapping:h}):e;d.baseUrl=e}},this);
a=[a]}return _.Kg(this,a)},
getAdModuleClient_:function(){var a=_.sv();return a?(a=a.getPlayer())?new _.IH(a):null:null}}]};
var OEb;
var PEb;
var y_=function(){var a=_.K.apply(this,arguments)||this;a.watchMetadataRefresh=!1;a.watchMetadataStandardizedTypography=_.x("kevlar_watch_metadata_refresh_standardized_body_typography");a.actionMap={"yt-button-refresh-action":"handleButtonRefreshAction","yt-unsubscribe-action":"handleUnsubscribeAction"};return a};
_.q(y_,_.K);y_.prototype.configureRendererStamper=function(){return{"data.membershipButton":{id:"sponsor-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.purchaseButton":{id:"purchase-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.analyticsButton":{id:"analytics-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
y_.prototype.handleButtonRefreshAction=function(a){a.buttonRefreshAction&&(this.set("data.membershipButton",a.buttonRefreshAction.membershipButton),this.notifyPath("data.membershipButton"))};
y_.prototype.onYtServiceRequestError=function(a){this.ytOpenToastBehavior.openToast(a.detail.error.message)};
y_.prototype.handleUnsubscribeAction=function(){this.data&&this.data.membershipButton&&"STYLE_PRIMARY"===this.data.membershipButton.buttonRenderer.style&&this.$$("#sponsor-button ytd-button-renderer").set("data.style","STYLE_SUGGESTIVE")};
_.t.Object.defineProperties(y_.prototype,{avatarSize:{configurable:!0,enumerable:!0,get:function(){return this.watchMetadataRefresh?36:48}}});
_.t.Object.defineProperties(y_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PEb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-owner-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_owner_renderer.ytd.video.owner.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" tabindex="-1"><yt-img-shadow id="avatar" alt="[[getSimpleString(data.title)]]" thumbnail="[[data.thumbnail]]" width="[[avatarSize]]"></yt-img-shadow></a><div id="upload-info"><ytd-channel-name id="channel-name" badges="[[data.badges]]" channel-name="[[data.title]]" wrap-text="[[!watchMetadataRefresh]]"></ytd-channel-name><yt-formatted-string id="owner-sub-count" hidden="[[!data.subscriberCountText]]" text="[[data.subscriberCountText]]"></yt-formatted-string><slot name="date"></slot></div><div id="purchase-button" hidden="[[!data.purchaseButton]]"></div><div id="sponsor-button"></div><div id="analytics-button"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OEb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_owner_renderer.ytd.video.owner.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-metadata-refresh]) {min-width: 0;} #avatar {margin-right: 16px;width: 48px;height: 48px;border-radius: 50%;background-color: transparent;overflow: hidden;} :host([watch-metadata-refresh]) #avatar {margin-right: 12px;width: 36px;height: 36px;} #channel-name {color: var(--yt-endpoint-color,var(--yt-spec-text-primary));display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([watch-metadata-refresh]) #channel-name {max-width: 100%;} #owner-sub-count {color: var(--yt-spec-text-secondary);margin-right: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([watch-metadata-refresh]) #owner-sub-count {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([watch-metadata-refresh][watch-metadata-standardized-typography]) #owner-sub-count {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-primary);} #upload-info {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([watch-metadata-refresh]) #upload-info {margin-right: 4px;overflow: hidden;} #sponsor-button,#purchase-button,#analytics-button {margin-right: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-video-owner-renderer.css.map*/</style>';
OEb=d}d=OEb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PEb=a}a=PEb;return a}}});
var z_=y_;z_.prototype.onYtServiceRequestError=z_.prototype.onYtServiceRequestError;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],z_.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],z_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],z_.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.uF.YtOpenToastBehavior),_.T("design:type",Object)],z_.prototype,"ytOpenToastBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],z_.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],z_.prototype,"watchMetadataRefresh",void 0);_.S([_.V("watchMetadataRefresh"),_.T("design:type",Object),_.T("design:paramtypes",[])],z_.prototype,"avatarSize",null);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],z_.prototype,"watchMetadataStandardizedTypography",void 0);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],z_.prototype,"onYtServiceRequestError",null);z_=_.S([_.Q({asyncProperties:!0,is:"ytd-video-owner-renderer"})],z_);
var QEb;
var REb;
var SEb;
var TEb;
var A_=function(){var a=_.K.apply(this,arguments)||this;a.stateData=-1;a.state="QUEUE_TO_PLAY_RENDERER_STATE_UNSPECIFIED";a.isLoading=!0;a.startGameTimer=new _.Vk(1E3);a.expirationDurationMs=0;a.isQueueToPlayLoading=!1;a.actionMap={"yt-queue-to-play-command":"handleQueueToPlayCommand"};return a};
_.q(A_,_.K);_.f=A_.prototype;_.f.cloudcast=function(){var a=this,b=this.data&&this.data.clientJsUrl,c=this.data&&this.data.cloudcastEndpoint;b?c?this.loadClientJs(b).then(function(d){a.client=d.client.init(c,"",_.w("SESSION_INDEX"));a.client.startPollingQueueState(a.videoId,function(e,h){a.pollingResponseHandler(e,h)})}):_.Qf(Error("ph")):_.Qf(Error("qh"))};
_.f.pollingResponseHandler=function(a,b){this.client&&(this.stateData=void 0===b?-1:b,this.state=this.queueStateToRendererState(a,b),this.isLoading=!1,a===window.cloudcast.client.ClientQueueState.READY_TO_PLAY?this.startGameTimer.enabled||"number"!==typeof b||(this.expirationDurationMs=b,this.startGameTimer.start()):this.startGameTimer.stop(),a===window.cloudcast.client.ClientQueueState.CANNOT_JOIN&&this.client.stopPollingQueueState())};
_.f.loadClientJs=function(a){return new Promise(function(b,c){var d=!1;void 0!==window.cloudcast?b(window.cloudcast):(window.cloudcastLoaded=function(){d=!0;_.Yqa(function(){b(window.cloudcast)})},_.vE(a),setTimeout(function(){d||c("Reached timeout when loading queue to play library.")},5E3))})};
_.f.joinQueue=function(a){a.joinQueue(this.videoId).then(null,function(b){_.Qf(new _.ge("There was an unexpected error when attempting to join the queue",b))})};
_.f.leaveQueue=function(a){a.leaveQueue(this.videoId).then(null,function(b){_.Qf(new _.ge("There was an unexpected error when attempting to leave the queue",b))})};
_.f.launchGame=function(a){var b=this;a.playGame(this.videoId).then(function(c){_.ZE(b.playerEndpoint+"/"+c)},function(c){_.Qf(new _.ge("There was an unexpected error when attempting to launch the game",c))})};
_.f.queueStateToRendererState=function(a,b){var c=window.cloudcast.client.ClientQueueState,d=window.cloudcast.client.ClientResolvableIssue;switch(a){case c.CANNOT_JOIN:return"QUEUE_TO_PLAY_RENDERER_STATE_CANNOT_JOIN";case c.ELIGIBLE:return"QUEUE_TO_PLAY_RENDERER_STATE_ELIGIBLE";case c.IN_QUEUE:return"QUEUE_TO_PLAY_RENDERER_STATE_IN_QUEUE";case c.READY_TO_PLAY:return"QUEUE_TO_PLAY_RENDERER_STATE_READY_TO_PLAY";case c.PLAYING:return"QUEUE_TO_PLAY_RENDERER_STATE_PLAYING";case c.RESOLVABLE_ISSUES:if(Array.isArray(b))switch(b[0]){case d.LOGIN_REQUIRED:return"QUEUE_TO_PLAY_RENDERER_STATE_NOT_LOGGED_IN";
case d.ACCOUNT_REQUIRED:return"QUEUE_TO_PLAY_RENDERER_STATE_NO_ACCOUNT";case d.PURCHASE_REQUIRED:return"QUEUE_TO_PLAY_RENDERER_STATE_PURCHASE_REQUIRED";case d.SPONSORSHIP_REQUIRED:return"QUEUE_TO_PLAY_RENDERER_STATE_SPONSORSHIP_REQUIRED";case d.PLAYABILITY_REQUIRED:return"QUEUE_TO_PLAY_RENDERER_STATE_CHECK_PLAYABILITY"}return"QUEUE_TO_PLAY_RENDERER_STATE_UNSPECIFIED";default:return"QUEUE_TO_PLAY_RENDERER_STATE_UNSPECIFIED"}};
_.f.handleQueueToPlayCommand=function(){if(this.client)switch(this.isLoading=!0,this.state){case "QUEUE_TO_PLAY_RENDERER_STATE_ELIGIBLE":this.joinQueue(this.client);break;case "QUEUE_TO_PLAY_RENDERER_STATE_IN_QUEUE":this.leaveQueue(this.client);break;case "QUEUE_TO_PLAY_RENDERER_STATE_READY_TO_PLAY":this.launchGame(this.client);break;default:_.Qf(new _.ge("Unhandled button action",this.state))}else _.Qf(Error("rh"))};
_.f.attached=function(){var a=this;this.JSC$41546_startGameTimerListenerKey||(this.JSC$41546_startGameTimerListenerKey=_.Fk(this.startGameTimer,"tick",function(){0>=a.expirationDurationMs?a.startGameTimer.stop():a.expirationDurationMs-=1E3}))};
_.f.detached=function(){this.client?(this.isLoading=!1,this.client.stopPollingQueueState(),this.JSC$41546_startGameTimerListenerKey&&(this.startGameTimer.stop(),_.Jk(this.JSC$41546_startGameTimerListenerKey),this.JSC$41546_startGameTimerListenerKey=null)):_.Qf(Error("sh"))};
_.f.fillStateRenderer=function(a,b){if(-1===b||Array.isArray(b))return a;a=(0,_.u.unsafeClone)(a);var c=this.getStateRendererButtonText(a),d=a.title,e=_.qi(c),h=_.qi(d);if("number"===typeof b)b=Math.floor(this.expirationDurationMs/1E3),c&&"QUEUE_TO_PLAY_RENDERER_STATE_READY_TO_PLAY"===a.state&&(delete c.runs,c.simpleText=e.replace("$time_left",String(b))),d&&(delete d.runs,d.simpleText=h.replace("$time_remaining",String(b)));else switch(a.state){case "QUEUE_TO_PLAY_RENDERER_STATE_ELIGIBLE":c&&(delete c.runs,
c.simpleText=e.replace("$num_in_queue",""+b.length));break;case "QUEUE_TO_PLAY_RENDERER_STATE_IN_QUEUE":d&&(delete d.runs,d.simpleText=h.replace("$place_in_queue",""+b.position).replace("$num_in_queue",""+b.length))}return a};
_.f.getStateRendererButtonText=function(a){if(a.button&&a.button.buttonRenderer&&a.button.buttonRenderer.text)return a.button.buttonRenderer.text};
_.f.configureRendererStamper=function(){return{button:{id:"button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.t.Object.defineProperties(A_.prototype,{videoId:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.videoId||""}},
playerEndpoint:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.playerEndpoint||""}},
stateRenderer:{configurable:!0,enumerable:!0,get:function(){if(this.data&&this.data.states)for(var a=_.k(this.data.states),b=a.next();!b.done;b=a.next())if(b=b.value,b.queueToPlayRendererStateRenderer&&b.queueToPlayRendererStateRenderer.state===this.state)return a=b.queueToPlayRendererStateRenderer,-1!==this.stateData?this.fillStateRenderer(a,this.stateData):a}},
button:{configurable:!0,enumerable:!0,get:function(){if(this.stateRenderer&&this.stateRenderer.button)return this.stateRenderer.button}}});
_.t.Object.defineProperties(A_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TEb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-queue-to-play-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_queue_to_play_renderer.ytd.queue.to.play.renderer.css.js--\x3e<div id="title-container">\n  <svg id="title-svg" viewBox="0 0 402 144" preserveAspectRatio="xMinYMid meet">\n    <polygon id="title-svg-right" points="0,0 249,144 402,144 402,0"></polygon>\n    <polygon id="title-svg-left" points="0,0 123,71 237,0"></polygon>\n  </svg>\n  <svg id="stadia-svg" viewBox="0 0 122 80">\n    <path d="M32.8931 29.786C67.1769 14.3216 97.1434 23.6442 113.151 31.4561C114.652 32.1889 116.451 31.436 116.98 29.8507L121.661 15.8072C122.209 14.1671 121.452 12.3723 119.896 11.6145C100.14 1.968 53.2331 -13.4265 1.45093 23.0159C0.109893 23.9581 -0.368694 25.728 0.299334 27.2286L11.2321 51.8259C11.9699 53.481 13.8593 54.2886 15.5643 53.6654C28.0723 49.084 46.9915 44.2731 66.5986 47.1047C53.3278 49.3531 42.6643 54.0342 34.4734 59.0594C33.0128 59.9568 32.4345 61.7914 33.1174 63.3668C33.1174 63.3668 37.4646 73.3125 39.8376 78.7564C40.4309 80.1124 42.2156 80.4315 43.2326 79.3547C45.7501 76.6976 48.5369 74.7632 50.8002 73.4471C61.394 67.2953 76.0357 62.7437 95.8323 63.7906C97.3777 63.8703 98.7886 62.9081 99.2821 61.4374L104.287 46.4319C104.786 44.9313 104.208 43.2762 102.872 42.4337C88.1898 33.1561 65.5816 25.4239 32.8183 29.8259L32.8931 29.786Z" fill="url(#paint0_linear)"></path>\n    <defs>\n    <linearGradient id="paint0_linear" x1="43.7407" y1="-3.66998" x2="89.0139" y2="68.7822" gradientUnits="userSpaceOnUse">\n    <stop offset="0.0989" stop-color="#FF4C1D"></stop>\n    <stop offset="0.2512" stop-color="#F64523"></stop>\n    <stop offset="0.4995" stop-color="#DE3334"></stop>\n    <stop offset="0.811" stop-color="#B61550"></stop>\n    <stop offset="1" stop-color="#9B0063"></stop>\n    </linearGradient>\n    </defs>\n  </svg>\n  <div id="title">[[getSimpleString(data.title)]]</div>\n</div>\n<div id="content">\n  <img id="boxart" hidden="[!data.boxArt]" src$="[[data.boxArt]]">\n  <div class="ytd-queue-to-play-right-container">\n    <div>\n      <div id="subtitle" hidden="[[!stateRenderer.title]]">[[getSimpleString(stateRenderer.title)]]</div>\n      <div id="description">\n        <template is="dom-repeat" items="[[stateRenderer.descriptionMessages]]">\n            <yt-formatted-string text="[[item]]"></yt-formatted-string>\n        </template>\n      </div>\n    </div>\n    <div id="button-container">\n      <div id="button" hidden="[[isLoading]]"></div>\n      <tp-yt-paper-spinner-lite active="[[isLoading]]" hidden="[[!isLoading]]"></tp-yt-paper-spinner-lite>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SEb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_queue_to_play_renderer.ytd.queue.to.play.renderer.css.js--\x3e<style>:host {display: block;} #title-container {border: 1px solid var(--yt-spec-button-chip-background-hover);border-bottom: none;padding: 16px;background-color: var(--yt-spec-general-background-a);color: var(--yt-spec-text-primary);position: relative;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #title-svg {fill: transparent;height: 100%;position: absolute;right: 0;top: 0;z-index: 1;} #stadia-svg {height: 50%;position: absolute;right: 10px;top: 25%;z-index: 2;} #title-svg:dir(rtl) {-webkit-transform: scale(-1,1);transform: scale(-1,1);transform-origin: center;} #title-svg-right {fill: var(--yt-spec-general-background-c);} #title-svg-left {fill: var(--yt-spec-general-background-b);} #boxart {height: 125px;margin-right: 15px;} #content {min-height: 98px;border: 1px solid var(--yt-spec-button-chip-background-hover);padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .ytd-queue-to-play-right-container {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #subtitle {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} #description {display: block;margin-top: 8px;color: var(--yt-spec-text-secondary);} #button-container {align-items: center;display: flex;height: 42px;margin-top: 8px;} /*# sourceMappingURL=ytd-queue-to-play-renderer.css.map*/</style>';
SEb=d}d=SEb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TEb=a}a=TEb;return a}}});
var B_=A_;B_.prototype.cloudcast=B_.prototype.cloudcast;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],B_.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L([_.Y.YtActionHandlerBehavior]),_.T("design:type",Object)],B_.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],B_.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],B_.prototype,"stateData",void 0);_.S([_.N(),_.T("design:type",String)],B_.prototype,"state",void 0);_.S([_.N(),_.T("design:type",Object)],B_.prototype,"isLoading",void 0);_.S([_.V("data"),_.T("design:type",String),_.T("design:paramtypes",[])],B_.prototype,"videoId",null);_.S([_.V("data"),_.T("design:type",String),_.T("design:paramtypes",[])],B_.prototype,"playerEndpoint",null);
_.S([_.V("data","state","stateData","expirationDurationMs"),_.T("design:type",Object),_.T("design:paramtypes",[])],B_.prototype,"stateRenderer",null);_.S([_.V("stateRenderer"),_.T("design:type",Object),_.T("design:paramtypes",[])],B_.prototype,"button",null);_.S([_.P("data.clientJsUrl","data.cloudcastEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B_.prototype,"cloudcast",null);B_=_.S([_.Q({asyncProperties:!0,is:"ytd-queue-to-play-renderer"})],B_);
var UEb;
var VEb;
var C_=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!0;a.startGameTimer=new _.Vk(1E3);a.timeRemainingSeconds=0;a.isInitialPoll=!0;a.rateLimitedMultiplier=1;a.actionMap={"yt-queue-to-play-state-command":"handleQueueToPlayStateCommand","yt-focus-queue-to-play-state-renderer":"focusQueueToPlayStateRenderer","yt-update-queue-to-play-command":"handleUpdateQueueToPlayCommand"};return a};
_.q(C_,_.K);_.f=C_.prototype;_.f.attached=function(){var a=this;this.JSC$41551_startGameTimerListenerKey||(this.JSC$41551_startGameTimerListenerKey=_.Fk(this.startGameTimer,"tick",function(){--a.timeRemainingSeconds;if(0>=a.timeRemainingSeconds){a.startGameTimer.stop();var b=a.data.timeRemainingTimeoutCommand;b&&(a.pollingTimer&&(_.Xk(a.pollingTimer),a.pollingTimer=null),a.isLoading=!0,a.sendRetryableServiceRequestAction(b))}}));
this.maybeGetAndSetPlayer()};
_.f.detached=function(){this.pollingTimer&&_.Xk(this.pollingTimer);this.JSC$41551_startGameTimerListenerKey&&(this.startGameTimer.stop(),_.Jk(this.JSC$41551_startGameTimerListenerKey),this.JSC$41551_startGameTimerListenerKey=null);this.tangoStopper&&this.tangoStopper.stop()};
_.f.configureRendererStamper=function(){return{button:{id:"button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.f.ready=function(){var a=this;this.$.button.addEventListener("tap",function(){a.onButtonClick()})};
_.f.graftVE=function(a,b){var c=_.fg();b=(void 0===b?null:b)||_.eg();return a&&b&&c?(a=_.no(a),_.tv(c,b,a),a):null};
_.f.initialPoll=function(){this.isInitialPoll&&(this.isInitialPoll=!1,this.poll(),this.data&&this.data.timeRemaining&&(this.timeRemainingSeconds=Number(this.data.timeRemaining.seconds)||0))};
_.f.poll=function(a){var b=this;a=void 0===a?!1:a;if(this.data&&!this.data.hidden){this.pollingTimer&&(_.Xk(this.pollingTimer),this.pollingTimer=null);var c=this.data.pollingCommand,d=this.get("queueToPlayCommand",c),e=0;!a&&this.data.pollingInterval&&(e=Number(this.data.pollingInterval)*this.rateLimitedMultiplier);c&&(this.pollingTimer=_.Wk(function(){d?b.handleQueueToPlayCommand(d):b.sendRetryableServiceRequestAction(c)},e))}};
_.f.handleUpdateQueueToPlayCommand=function(a){var b=this.get("updateQueueToPlayCommand.renderer.queueToPlayStateRenderer",a),c=b.hidden&&!this.hidden||!b.hidden&&this.hidden;this.data&&this.get("updateQueueToPlayCommand.gameMid",a)!==this.data.gameMid&&(c=!0);c&&(this.data=b,this.hidden=b.hidden,this.pollingTimer&&(_.Xk(this.pollingTimer),this.pollingTimer=null),this.tangoSubscription&&this.tangoSubscription.unsubscribe(),this.poll())};
_.f.handleQueueToPlayStateCommand=function(a){var b=this,c=this.get("queueToPlayStateCommand.renderer.queueToPlayStateRenderer",a);a=this.get("queueToPlayStateCommand.isRateLimited",a);var d=this.get("pollingCommand.queueToPlayCommand",c);if(d)this.isLoading=!1,this.handleQueueToPlayCommand(d),this.poll(!0);else if(a)this.data.pollingInterval=c.pollingInterval,this.rateLimitedMultiplier*=2,this.isLoading=!1,this.poll();else if(this.rateLimitedMultiplier=1,(a=this.get("button.buttonRenderer.navigationEndpoint.urlEndpoint",
c))&&a.url&&(a.url=a.url.replace("/u/0/","/u/"+_.w("SESSION_INDEX")+"/")),c)a=this.graftVE(c.trackingParams),d=this.get("button.buttonRenderer.trackingParams",c),a&&d&&this.graftVE(d,a),this.timeRemainingSeconds=Number(this.get("timeRemaining.seconds",c))||0,this.timeRemainingSeconds?this.timeRemainingSeconds&&!this.startGameTimer.enabled&&(this.$.content.setAttribute("aria-live","off"),this.$.button.setAttribute("aria-live","off"),this.startGameTimer.start(),this.data=c):(this.$.content.setAttribute("aria-live",
"live"),this.$.button.setAttribute("aria-live","live"),this.startGameTimer.stop(),this.data=c),this.pollingTimer&&(_.Xk(this.pollingTimer),this.pollingTimer=null),this.isLoading=!1,(c=c.queueInvalidationInfo)?(this.tangoClient||(this.tangoClient=new _.yEb((new xEb(_.vEb(CEb(BEb(),c.apiKey).inner))).client),this.tangoStopper=this.tangoClient.start()),!this.tangoSubscription&&c.topicName&&(this.isInitialTangoSignal=!0,this.tangoSubscription=_.zEb(this.tangoClient,new _.wEb(c.topicName)).subscribe(function(e){if(b.isInitialTangoSignal||
!e.isSynthetic)b.isInitialTangoSignal=!1,b.debounce("crowdPlayInvalidation",function(){b.poll(!0)},2E3)},function(){b.debounce("crowdPlayInvalidation",function(){b.poll(!0)},2E3)}))):this.tangoSubscription&&(this.tangoSubscription.unsubscribe(),this.tangoSubscription=null),this.poll()};
_.f.onButtonClick=function(){this.buttonCommand&&(this.buttonCommand.queueToPlayCommand?this.handleQueueToPlayCommand(this.buttonCommand.queueToPlayCommand):(this.pollingTimer&&(_.Xk(this.pollingTimer),this.pollingTimer=null),this.outgoingStadiaRequest&&this.outgoingStadiaRequest.ajaxPromise&&(this.outgoingStadiaRequest.ajaxPromise.cancel(),this.outgoingStadiaRequest=null),this.isLoading=!0,this.sendRetryableServiceRequestAction(this.buttonCommand)))};
_.f.sendRetryableServiceRequestAction=function(a,b){var c=this;b=void 0===b?0:b;return 2<=b?(this.poll(!0),_.Mg(null)):_.Kg(this,[a]).then(function(d){if(!d.data.feedbackResponses[0].isProcessed)return c.sendRetryableServiceRequestAction(a,b+1)}).thenCatch(function(d){if(!(d instanceof _.Uk))return c.sendRetryableServiceRequestAction(a,b+1)})};
_.f.handleQueueToPlayCommand=function(a){a&&(a=this.get("queueToPlayUrl",a))&&(!_.x("stadia_crowdplay_disable_video_pause")&&this.player&&this.player.pauseVideo(),a=a.replace("/u/0/","/u/"+_.w("SESSION_INDEX")+"/"),_.ZE(a))};
_.f.maybeGetAndSetPlayer=function(){var a=this,b=_.sv();b&&b.getPlayerPromise().then(function(c){return a.player=c})};
_.f.onYtServiceRequestSent=function(a,b){this.data&&b.endpoint===this.data.pollingCommand&&(this.outgoingStadiaRequest=b)};
_.f.onYtServiceRequestCompleted=function(a,b){this.data&&b.endpoint===this.data.pollingCommand&&(this.outgoingStadiaRequest=null)};
_.f.focusQueueToPlayStateRenderer=function(){_.fy(this)};
_.t.Object.defineProperties(C_.prototype,{boxArtUrl:{configurable:!0,enumerable:!0,get:function(){var a=this.get("data.boxArt.thumbnails");if(a)return _.Sy(a,125,void 0,"height")||void 0}},
sectionTitle:{configurable:!0,enumerable:!0,get:function(){if(!this.data||!this.data.sectionTitle)return"";var a=_.qi(this.data.sectionTitle);this.data.timeRemaining&&(a=a.replace("$time_remaining",String(this.timeRemainingSeconds)));return a}},
button:{configurable:!0,enumerable:!0,get:function(){if(!this.data||!this.data.button)return{};this.data.button.buttonRenderer&&this.data.button.buttonRenderer.command&&(this.data.button.buttonRenderer.command.signInEndpoint?this.buttonCommand=void 0:(this.buttonCommand=this.data.button.buttonRenderer.command,this.data.button.buttonRenderer.command=void 0));var a=(0,_.u.unsafeClone)(this.data.button);if(a.buttonRenderer&&a.buttonRenderer.text){var b=_.qi(a.buttonRenderer.text);delete a.buttonRenderer.text.runs;
this.data.timeRemaining&&(b=b.replace("$time_left",String(this.timeRemainingSeconds)));a.buttonRenderer.text.simpleText=b}return a}}});
_.t.Object.defineProperties(C_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VEb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-queue-to-play-state-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_queue_to_play_state_renderer.ytd.queue.to.play.state.renderer.css.js--\x3e<div id="title-container">\n  <svg id="title-svg" viewBox="0 0 402 144" preserveAspectRatio="xMinYMid meet">\n    <polygon id="title-svg-right" points="0,0 249,144 402,144 402,0"></polygon>\n    <polygon id="title-svg-left" points="0,0 123,71 237,0"></polygon>\n  </svg>\n  <svg id="stadia-svg" viewBox="0 0 122 80">\n    <path d="M32.8931 29.786C67.1769 14.3216 97.1434 23.6442 113.151 31.4561C114.652 32.1889 116.451 31.436 116.98 29.8507L121.661 15.8072C122.209 14.1671 121.452 12.3723 119.896 11.6145C100.14 1.968 53.2331 -13.4265 1.45093 23.0159C0.109893 23.9581 -0.368694 25.728 0.299334 27.2286L11.2321 51.8259C11.9699 53.481 13.8593 54.2886 15.5643 53.6654C28.0723 49.084 46.9915 44.2731 66.5986 47.1047C53.3278 49.3531 42.6643 54.0342 34.4734 59.0594C33.0128 59.9568 32.4345 61.7914 33.1174 63.3668C33.1174 63.3668 37.4646 73.3125 39.8376 78.7564C40.4309 80.1124 42.2156 80.4315 43.2326 79.3547C45.7501 76.6976 48.5369 74.7632 50.8002 73.4471C61.394 67.2953 76.0357 62.7437 95.8323 63.7906C97.3777 63.8703 98.7886 62.9081 99.2821 61.4374L104.287 46.4319C104.786 44.9313 104.208 43.2762 102.872 42.4337C88.1898 33.1561 65.5816 25.4239 32.8183 29.8259L32.8931 29.786Z" fill="url(#paint0_linear)"></path>\n    <defs>\n    <linearGradient id="paint0_linear" x1="43.7407" y1="-3.66998" x2="89.0139" y2="68.7822" gradientUnits="userSpaceOnUse">\n    <stop offset="0.0989" stop-color="#FF4C1D"></stop>\n    <stop offset="0.2512" stop-color="#F64523"></stop>\n    <stop offset="0.4995" stop-color="#DE3334"></stop>\n    <stop offset="0.811" stop-color="#B61550"></stop>\n    <stop offset="1" stop-color="#9B0063"></stop>\n    </linearGradient>\n    </defs>\n  </svg>\n  <div id="title" role="heading">[[getSimpleString(data.title)]]</div>\n</div>\n<div id="content" aria-live="polite">\n  <div id="boxart-wrapper" hidden="[[!data.boxArt]]">\n    <img id="boxart" src$="[[boxArtUrl]]" alt="">\n  </div>\n  <div class="ytd-queue-to-play-right-container">\n    <div>\n      <div id="subtitle" role="heading" hidden="[[!sectionTitle]]">\n        [[sectionTitle]]\n      </div>\n      <div id="description">\n        <template is="dom-repeat" items="[[data.sectionDescriptionMessages]]">\n          <yt-formatted-string text="[[item]]"></yt-formatted-string>\n        </template>\n      </div>\n    </div>\n    <div id="button-container" hidden="[[!data.button]]">\n      <div id="button" hidden="[[isLoading]]" role="button" aria-live="polite"></div>\n      <tp-yt-paper-spinner-lite active="[[isLoading]]" hidden="[[!isLoading]]"></tp-yt-paper-spinner-lite>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UEb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_queue_to_play_state_renderer.ytd.queue.to.play.state.renderer.css.js--\x3e<style>:host {display: block;} #title-container {border: 1px solid var(--yt-spec-button-chip-background-hover);border-bottom: none;padding: 16px;background-color: var(--yt-spec-general-background-a);color: var(--yt-spec-text-primary);position: relative;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #title-svg {fill: transparent;height: 100%;position: absolute;right: 0;top: 0;z-index: 1;} #stadia-svg {height: 50%;position: absolute;right: 10px;top: 25%;z-index: 2;} #title-svg:dir(rtl) {-webkit-transform: scale(-1,1);transform: scale(-1,1);transform-origin: center;} #title-svg-right {fill: var(--yt-spec-general-background-c);} #title-svg-left {fill: var(--yt-spec-general-background-b);} #boxart-wrapper {min-height: 98px;max-height: 98px;margin-right: 15px;overflow: hidden;min-width: 70px;max-width: 70px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #boxart {min-height: 100%;min-width: 100%;} #content {min-height: 98px;border: 1px solid var(--yt-spec-button-chip-background-hover);padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .ytd-queue-to-play-right-container {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #subtitle {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} #description {display: block;margin-top: 8px;color: var(--yt-spec-text-secondary);} #button-container {align-items: center;display: flex;height: 42px;margin-top: 8px;} /*# sourceMappingURL=ytd-queue-to-play-state-renderer.css.map*/</style>';
UEb=d}d=UEb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VEb=a}a=VEb;return a}}});
var D_=C_;D_.prototype.onYtServiceRequestCompleted=D_.prototype.onYtServiceRequestCompleted;D_.prototype.onYtServiceRequestSent=D_.prototype.onYtServiceRequestSent;D_.prototype.initialPoll=D_.prototype.initialPoll;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],D_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],D_.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L([_.Y.YtActionHandlerBehavior]),_.T("design:type",Object)],D_.prototype,"actionHandlerBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],D_.prototype,"hidden",void 0);_.S([_.N(),_.T("design:type",Object)],D_.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],D_.prototype,"isLoading",void 0);_.S([_.N(),_.T("design:type",Object)],D_.prototype,"pollingTimer",void 0);_.S([_.N(),_.T("design:type",Object)],D_.prototype,"startGameTimer",void 0);
_.S([_.N(),_.T("design:type",Object)],D_.prototype,"timeRemainingSeconds",void 0);_.S([_.N(),_.T("design:type",Object)],D_.prototype,"isInitialPoll",void 0);_.S([_.N(),_.T("design:type",Object)],D_.prototype,"outgoingStadiaRequest",void 0);_.S([_.V("data.boxArt"),_.T("design:type",Object),_.T("design:paramtypes",[])],D_.prototype,"boxArtUrl",null);_.S([_.V("data.sectionTitle","timeRemainingSeconds"),_.T("design:type",String),_.T("design:paramtypes",[])],D_.prototype,"sectionTitle",null);
_.S([_.V("data.button","timeRemainingSeconds"),_.T("design:type",Object),_.T("design:paramtypes",[])],D_.prototype,"button",null);_.S([_.P("data.pollingCommand"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D_.prototype,"initialPoll",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],D_.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],D_.prototype,"onYtServiceRequestCompleted",null);D_=_.S([_.Q({is:"ytd-queue-to-play-state-renderer"})],D_);
var WEb;
var XEb;
var E_=function(){return _.K.apply(this,arguments)||this};
_.q(E_,_.K);E_.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.t.Object.defineProperties(E_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XEb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-tvfilm-entry-point-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_compact_tvfilm_entry_point_renderer.ytd.compact.tvfilm.entry.point.renderer.css.js--\x3e<div><span id="title">[[getSimpleString(data.title)]]</span><span id="subtitle">[[getSimpleString(data.subtitle)]]</span></div><div id="action-button"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WEb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_compact_tvfilm_entry_point_renderer.ytd.compact.tvfilm.entry.point.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #action-button {margin-left: auto;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} /*# sourceMappingURL=ytd-compact-tvfilm-entry-point-renderer.css.map*/</style>';
WEb=d}d=WEb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XEb=a}a=XEb;return a}}});
var F_=E_;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],F_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],F_.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],F_.prototype,"data",void 0);F_=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-tvfilm-entry-point-renderer"})],F_);
var YEb;
var ZEb;
var $Eb;
var aFb;
var bFb;
var cFb;
var G_=function(){return _.K.apply(this,arguments)||this};
_.q(G_,_.K);G_.prototype.ready=function(){this.initializeDefs()};
G_.prototype.initializeDefs=function(){var a=this.meta.byKey("yt-icons"),b=a.$$("#star"),c=a.$$("#star_half");a=a.$$("#star_border");this.defs.appendChild(b.cloneNode(!0));this.defs.appendChild(c.cloneNode(!0));this.defs.appendChild(a.cloneNode(!0))};
G_.prototype.percentChanged=function(){for(var a=this.rating;a.firstChild;)a.removeChild(a.firstChild);var b=Math.round(this.percent/10);a=Math.floor(b/2);b%=2;var c=5-a-b;this.appendStars("star",a,0);this.appendStars("star_half",b,a);this.appendStars("star_border",c,a+b)};
G_.prototype.appendStars=function(a,b,c){for(var d=0;d<b;d++){var e=(18+this.spacing)*(d+c),h=document.createElementNS("http://www.w3.org/2000/svg","use");h.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+a);h.setAttribute("x",""+e);h.setAttribute("y","0");this.rating.appendChild(h)}};
_.t.Object.defineProperties(G_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ratings--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_ratings.ytd.ratings.css.js--\x3e<svg id="svg" width="90px" height="18px" viewBox="0 0 120 24">\n  <defs id="defs">\n  </defs>\n  <g id="rating"></g>\n</svg>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_ratings.ytd.ratings.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;display: inline-block;height: 18px;width: 90px;} svg {fill: var(--yt-spec-text-secondary);height: 100%;width: 100%;margin-left: -1px;} /*# sourceMappingURL=ytd-ratings.css.map*/</style>";
bFb=d}d=bFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cFb=a}a=cFb;return a}}});
var H_=G_;H_.prototype.percentChanged=H_.prototype.percentChanged;_.S([_.Z("#defs"),_.T("design:type",HTMLElement)],H_.prototype,"defs",void 0);_.S([_.Z("#rating"),_.T("design:type",HTMLElement)],H_.prototype,"rating",void 0);_.S([_.N(),_.T("design:type",Number)],H_.prototype,"percent",void 0);_.S([_.N({value:6}),_.T("design:type",Number)],H_.prototype,"spacing",void 0);_.S([_.N({value:_.An.create("iron-meta",{type:"iconset"})}),_.T("design:type",_.au)],H_.prototype,"meta",void 0);
_.S([_.P("percent"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],H_.prototype,"percentChanged",null);H_=_.S([_.Q({is:"ytd-ratings"})],H_);
var dFb=function(){return _.K.apply(this,arguments)||this};
_.q(dFb,_.K);
_.t.Object.defineProperties(dFb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offer-review-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_offer_review_renderer.ytd.offer.review.renderer.css.js--\x3e<ytd-ratings percent="[[data.percent]]"></ytd-ratings>\n<yt-formatted-string text="[[data.score]]"></yt-formatted-string>\n-\n<yt-formatted-string text="[[data.source]]"></yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Eb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_offer_review_renderer.ytd.offer.review.renderer.css.js--\x3e<style>:host {display: block;color: var(--yt-spec-text-secondary);} ytd-ratings {display: block;margin-bottom: 4px;} yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-offer-review-renderer.css.map*/</style>';
$Eb=d}d=$Eb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aFb=a}a=aFb;return a}}});
var I_=dFb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],I_.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],I_.prototype,"data",void 0);I_=_.S([_.Q({asyncProperties:!0,is:"ytd-offer-review-renderer"})],I_);
var J_=function(){var a=_.K.apply(this,arguments)||this;a.badges=[{textBadge:{label:_.Mu("CC")}}];return a};
_.q(J_,_.K);_.f=J_.prototype;_.f.configureRendererStamper=function(){return{"data.storefrontEntryPoint":{id:"storefront-entry-point",mapping:{compactTvfilmEntryPointRenderer:"ytd-compact-tvfilm-entry-point-renderer"}}}};
_.f.dataChanged=function(){var a=this.get("data.offerButton.buttonRenderer.serviceEndpoint");a&&a.commandMetadata&&a.commandMetadata.webHandleServiceEndpointExtension&&a.commandMetadata.webHandleServiceEndpointExtension.fireAutomatically?_.Kg(this,[a]):a&&a.webHandleServiceEndpointExtension&&a.webHandleServiceEndpointExtension.fireAutomatically&&_.Kg(this,[a])};
_.f.isEmptyContent=function(a){return this.isStorefrontEntryPointEmpty(a)&&this.shouldHideOfferModule(a)};
_.f.isStorefrontEntryPointEmpty=function(a){return!a||!a.storefrontEntryPoint};
_.f.shouldHideOfferModule=function(a){return!!a.hideVideoDetails};
_.f.isOfferModuleNavigationInactive=function(a){return!a.navigationEndpoint&&!a.serviceEndpoint};
_.f.maybeNavigateWithServiceEndpoint=function(){this.data&&this.data.navigationEndpoint||this.data&&this.data.serviceEndpoint&&_.Kg(this,[this.data.serviceEndpoint])};
_.t.Object.defineProperties(J_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZEb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-movie-offer-module-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_movie_offer_module_renderer.ytd.movie.offer.module.renderer.css.js--\x3e<div id="offer-module-container" hidden="[[shouldHideOfferModule(data)]]">\n  <div id="header">\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n    <ytd-button-renderer data="[[data.offerButton.buttonRenderer]]" hidden="[[!data.offerButton.buttonRenderer]]">\n    </ytd-button-renderer>\n    <yt-formatted-string id="manage-purchase-text" text="[[data.managePurchasesText]]">\n    </yt-formatted-string>\n  </div>\n  <a aria-label$="[[getSimpleString(data.title)]]" id="wide-clickable-area" class="yt-simple-endpoint flexed" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" inactive$="[[isOfferModuleNavigationInactive(data)]]" on-tap="maybeNavigateWithServiceEndpoint">\n    <yt-img-shadow id="img" thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n    <div id="info">\n      <template is="dom-if" if="[[data.headline]]">\n        <yt-formatted-string id="headline" text="[[data.headline]]"></yt-formatted-string>\n      </template>\n      <template is="dom-if" if="[[data.details]]">\n        <yt-formatted-string id="details" split-lines="true" text="[[data.details]]"></yt-formatted-string>\n      </template>\n      <template is="dom-repeat" items="[[data.reviews]]" as="review">\n        <ytd-offer-review-renderer data="[[review.offerReviewRenderer]]"></ytd-offer-review-renderer>\n      </template>\n      <template is="dom-repeat" items="[[data.attributes]]" as="attribute">\n        <p>\n          <template is="dom-if" if="[[attribute.name]]">\n            <yt-formatted-string text="[[attribute.name]]"></yt-formatted-string>:\n          </template>\n          <yt-formatted-string ellipsis-truncate="" text="[[attribute.value]]" title="[[getSimpleString(attribute.value)]]">\n          </yt-formatted-string>\n        </p>\n      </template>\n     <ytd-badge-supported-renderer badges="[[badges]]" hidden="[[!data.showCc]]">\n     </ytd-badge-supported-renderer>\n    </div>\n  </a>\n</div>\n<div id="storefront-entry-point" hidden="[[isStorefrontEntryPointEmpty(data)]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YEb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_movie_offer_module_renderer.ytd.movie.offer.module.renderer.css.js--\x3e<style>:host {display: block;border: 1px solid var(--yt-spec-10-percent-layer);} #header {background-color: var(--yt-spec-general-background-b);padding: 8px 16px 8px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title {color: var(--yt-spec-text-primary);padding-right: 8px;min-width: 100px;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #manage-purchase-text {--yt-endpoint-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #wide-clickable-area {padding: 16px;background-color: var(--yt-spec-general-background-a);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #wide-clickable-area[inactive] {cursor: default;} #wide-clickable-area yt-img-shadow {margin-right: 8px;width: 120px;} #storefront-entry-point {border-top: 1px solid var(--yt-spec-10-percent-layer);background-color: var(--yt-spec-general-background-a);padding: 8px 16px 8px 16px;} #headline {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;color: var(--yt-spec-text-primary);margin-bottom: 12px;display: block;} #details {margin-bottom: 12px;} #info {color: var(--yt-spec-text-secondary);max-width: 245px;min-width: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #info p {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #info p yt-formatted-string:last-child {margin-left: 4px;max-width: 170px;} ytd-offer-review-renderer {margin-bottom: 8px;} .flexed {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-movie-offer-module-renderer.css.map*/</style>';
YEb=d}d=YEb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZEb=a}a=ZEb;return a}}});
var K_=J_;K_.prototype.dataChanged=K_.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],K_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],K_.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],K_.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"isEmptyContent(data)"}),_.T("design:type",Boolean)],K_.prototype,"hidden",void 0);
_.S([_.N(),_.T("design:type",Object)],K_.prototype,"badges",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],K_.prototype,"dataChanged",null);K_=_.S([_.Q({asyncProperties:!0,is:"ytd-movie-offer-module-renderer"})],K_);
var eFb;
var fFb;
var gFb=function(){return _.K.apply(this,arguments)||this};
_.q(gFb,_.K);
_.t.Object.defineProperties(gFb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-media-masthead-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_media_masthead_renderer.ytd.media.masthead.renderer.css.js--\x3e<template is="dom-if" if="[[data.navigationEndpoint]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <div id="masthead">\n      <div id="image">\n        <yt-img-shadow id="thumbnail" thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n      </div>\n      <div id="metadata">\n        <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n        <template is="dom-repeat" items="[[data.metadataLines]]" as="line">\n          <ytd-metadata-line-renderer id="metadata-line" data="[[line.metadataLineRenderer]]"></ytd-metadata-line-renderer>\n        </template>\n      </div>\n    </div>\n  </a>\n</template>\n<template is="dom-if" if="[[!data.navigationEndpoint]]">\n  <div id="masthead">\n    <div id="image">\n      <yt-img-shadow id="thumbnail" thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n    </div>\n    <div id="metadata">\n      <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n      <template is="dom-repeat" items="[[data.metadataLines]]" as="line">\n        <ytd-metadata-line-renderer id="metadata-line" data="[[line.metadataLineRenderer]]"></ytd-metadata-line-renderer>\n      </template>\n    </div>\n  </div>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_media_masthead_renderer.ytd.media.masthead.renderer.css.js--\x3e<style>:host {display: inline-block;--yt-img-max-height: 90px;--yt-img-max-width: 128px;} #masthead {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #metadata-line {padding-top: 4px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #image {padding-right: 12px;} /*# sourceMappingURL=ytd-media-masthead-renderer.css.map*/</style>';
eFb=d}d=eFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fFb=a}a=fFb;return a}}});
var L_=gFb;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],L_.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],L_.prototype,"data",void 0);L_=_.S([_.Q({asyncProperties:!0,is:"ytd-media-masthead-renderer"})],L_);
var hFb;
var iFb;
var M_=function(){return _.K.apply(this,arguments)||this};
_.q(M_,_.K);M_.prototype.configureRendererStamper=function(){return{"data.actionButtons":{id:"action-buttons",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!1}}}},"data.masthead":{id:"masthead",mapping:{mediaMastheadRenderer:{component:"ytd-media-masthead-renderer"}}}}};
M_.prototype.descriptionChanged=function(){this.expander.collapsed=!0;this.expander.reset()};
_.t.Object.defineProperties(M_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-tvfilm-offer-module-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_tvfilm_offer_module_renderer.ytd.tvfilm.offer.module.renderer.css.js--\x3e<h2 id="header">\n  <yt-formatted-string id="title" text="[[data.headerTitle]]"></yt-formatted-string>\n</h2>\n\n<div id="masthead"></div>\n\n<div id="action-buttons"></div>\n<ytd-expander id="expander" hidden="[[!data.description]]" max-number-of-lines="3">\n  <yt-formatted-string id="description" slot="content" disable-upgrade$="[[!data.description]]" hidden="[[!data.description]]" text="[[data.description]]">\n  </yt-formatted-string>\n  <div class="more-button" slot="more-button">\n    <span>[[getSimpleString(data.moreButtonText)]]</span>\n    <yt-icon id="expand-more-icon" icon="yt-icons:expand-more"></yt-icon>\n  </div>\n  <div class="less-button" slot="less-button">\n    <span>[[getSimpleString(data.lessButtonText)]]</span>\n    <yt-icon id="expand-less-icon" icon="yt-icons:expand-less"></yt-icon>\n  </div>\n</ytd-expander>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_tvfilm_offer_module_renderer.ytd.tvfilm.offer.module.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-spec-general-background-b);border: 1px solid var(--yt-spec-10-percent-layer);max-width: 420px;} #header {background-color: var(--yt-spec-brand-background-solid);padding: 16px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #masthead {padding: 16px 16px 0;} #action-buttons {padding: 12px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #action-buttons ytd-button-renderer {margin-bottom: 4px;} #action-buttons ytd-button-renderer:last-child {margin-bottom: 0;} #description {color: var(--yt-spec-text-secondary);} #expander {margin: 0 16px 20px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .more-button,.less-button {color: var(--yt-spec-text-secondary);margin-top: 12px;display: inline-block;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} #expand-more-icon,#expand-less-icon {margin-bottom: 2px;} /*# sourceMappingURL=ytd-tvfilm-offer-module-renderer.css.map*/</style>';
hFb=d}d=hFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iFb=a}a=iFb;return a}}});
var N_=M_;N_.prototype.descriptionChanged=N_.prototype.descriptionChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],N_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],N_.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N_.prototype,"data",void 0);_.S([_.Z("#expander"),_.T("design:type",_.wD)],N_.prototype,"expander",void 0);
_.S([_.P("data.description"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N_.prototype,"descriptionChanged",null);N_=_.S([_.Q({asyncProperties:!0,is:"ytd-tvfilm-offer-module-renderer"})],N_);
var jFb;
var kFb;
var O_=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-hide-unlimited-offer-module":"handleHideAction"};return a};
_.q(O_,_.K);O_.prototype.dataChanged=function(){this.hidden=!1};
O_.prototype.configureRendererStamper=function(){return{"data.storefrontEntryPoint":{id:"storefront-entry-point",mapping:{compactTvfilmEntryPointRenderer:"ytd-compact-tvfilm-entry-point-renderer"}}}};
O_.prototype.onThumbnailTap=function(a){this.data&&this.data.serviceEndpoint&&(_.Kg(this,[this.data.serviceEndpoint]),a.stopPropagation())};
O_.prototype.handleHideAction=function(){this.data&&this.data.suppressIfCompanionAds&&(this.hidden=!0)};
_.t.Object.defineProperties(O_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-unlimited-offer-module-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_unlimited_offer_module_renderer.ytd.unlimited.offer.module.renderer.css.js--\x3e<div id="watch-checkout-offers">\n  <div id="header">\n    <div id="title-section">\n      <yt-formatted-string id="main-title" text="[[data.title]]"></yt-formatted-string>\n      <yt-formatted-string id="sub-title" text="[[data.subtitle]]"></yt-formatted-string>\n    </div>\n    <ytd-button-renderer data="[[data.offerButton.buttonRenderer]]">\n    </ytd-button-renderer>\n  </div>\n  <ytd-thumbnail id="thumbnail" data="[[data]]" hidden="[[!data.thumbnail]]" on-click="onThumbnailTap">\n  </ytd-thumbnail>\n  <div id="storefront-entry-point" hidden="[[!data.storefrontEntryPoint]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_unlimited_offer_module_renderer.ytd.unlimited.offer.module.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {padding: 8px 0 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title-section {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #main-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 6.6rem;overflow: hidden;display: block;-webkit-line-clamp: 3;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #sub-title {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #thumbnail {--yt-endpoint-force-cursor: pointer;height: 210px;margin: 8px 0 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #watch-checkout-offers {margin: 0 0 16px;} #storefront-entry-point {padding: 10px 0;} /*# sourceMappingURL=ytd-unlimited-offer-module-renderer.css.map*/</style>';
jFb=d}d=jFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kFb=a}a=kFb;return a}}});
var P_=O_;P_.prototype.dataChanged=P_.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P_.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P_.prototype,"rendererBehaviors",void 0);_.S([_.L([_.Y.YtActionHandlerBehavior]),_.T("design:type",Object)],P_.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],P_.prototype,"data",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],P_.prototype,"dataChanged",null);P_=_.S([_.Q({asyncProperties:!0,is:"ytd-unlimited-offer-module-renderer"})],P_);
var lFb;
var mFb;
var Q_=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-related-chip-command":"handleRelatedChipCommand"};return a};
_.q(Q_,_.K);Q_.prototype.configureRendererStamper=function(){return{"data.content":{id:"content",mapping:{chipCloudRenderer:{component:"yt-chip-cloud-renderer"}}}}};
Q_.prototype.handleRelatedChipCommand=function(a){a=a.relatedChipCommand;var b=a.contents;b?_.Jg(this,"yt-item-section-replace-action",[b,a.targetSectionIdentifier]):_.Jg(this,"yt-item-section-continuation-action",[a.continuationData,a.targetSectionIdentifier])};
_.t.Object.defineProperties(Q_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-related-chip-cloud-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_related_chip_cloud_renderer.yt.related.chip.cloud.renderer.css.js--\x3e<div id="content"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_related_chip_cloud_renderer.yt.related.chip.cloud.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=yt-related-chip-cloud-renderer.css.map*/</style>";lFb=d}d=lFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mFb=a}a=mFb;return a}}});
var R_=Q_;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],R_.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],R_.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R_.prototype,"data",void 0);R_=_.S([_.Q({is:"yt-related-chip-cloud-renderer"})],R_);
var S_=function(){var a=_.K.apply(this,arguments)||this;a.isTwoColumns=!0;a.watchFeedBigThumbs=_.x("kevlar_watch_feed_big_thumbs");a.nextContinuation={continuationType:"watchNextSecondaryResultsContinuation",contentsArray:"data.results",continuationsArray:"data.continuations",responseContentsKey:"results",requestPath:"/related_ajax"};return a};
_.q(S_,_.K);_.f=S_.prototype;
_.f.configureRendererStamper=function(){return{"data.offerModule":{id:"offer-module",mapping:{movieOfferModuleRenderer:"ytd-movie-offer-module-renderer",episodeOfferModuleRenderer:"ytd-movie-offer-module-renderer",liveOfferModuleRenderer:"ytd-movie-offer-module-renderer",channelOfferModuleRenderer:"ytd-movie-offer-module-renderer",unlimitedOfferModuleRenderer:{component:"ytd-unlimited-offer-module-renderer",properties:{hidden:"[[hideUnlimitedOfferModule]]"}},tvfilmOfferModuleRenderer:"ytd-tvfilm-offer-module-renderer",queueToPlayRenderer:"ytd-queue-to-play-renderer",
queueToPlayStateRenderer:{component:"ytd-queue-to-play-state-renderer",properties:{hidden:"[[hideQueueToPlayStateRenderer]]"}}}},shownItems:{id:"items",mapping:{compactMovieRenderer:"ytd-compact-movie-renderer",compactVideoRenderer:"ytd-compact-video-renderer",compactPromotedVideoRenderer:"ytd-compact-promoted-video-renderer",compactRadioRenderer:"ytd-compact-radio-renderer",compactPlaylistRenderer:"ytd-compact-playlist-renderer",promotedSparklesWebRenderer:"ytd-promoted-sparkles-web-renderer",relatedChipCloudRenderer:"yt-related-chip-cloud-renderer",
itemSectionRenderer:{component:"ytd-item-section-renderer",properties:{continuationShowButton:"[[showButton]]"}},continuationItemRenderer:{component:"ytd-continuation-item-renderer",properties:{showButton:"[[showButton]]"}}}},"data.continuations":{id:"continuations",mapping:{nextContinuationData:{component:"yt-next-continuation",properties:{showButton:"[[showButton]]"}}},renderPriority:0}}};
_.f.getItemsPath=function(){return"data.results"};
_.f.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"results","yt-reload-continuation-items-command-body":"results"}};
_.f.created=function(){_.Ce&&_.x("polymer2_aggressive_batching")?(this.ytLazyListBehavior.initialCount=12,this.ytLazyListBehavior.minChunkSize=8):this.ytLazyListBehavior.initialCount=1};
_.f.ready=function(){this.updateStyles({"--yt-img-shadow-placeholder-color":"var(--yt-spec-10-percent-layer)","--yt-img-shadow-min-height":"100%","--yt-img-shadow-min-width":"100%"})};
_.f.resultsChanged=function(){if(this.data&&this.data.results){for(var a=this.data.results,b=null,c=null,d=0;d<a.length;d++)a[d].relatedChipCloudRenderer?b=a[d].relatedChipCloudRenderer:a[d].itemSectionRenderer&&(c=a[d].itemSectionRenderer);if(b&&c)for(this.set("data.continuations",[]),a=b.content.chipCloudRenderer.chips,b=0;b<a.length;b++)if(d=this.get("chipCloudChipRenderer.navigationEndpoint.relatedChipCommand",a[b]),d.loadCached||!d.contents){d.contents=c.contents;break}}};
_.f.dataChanged=function(){var a;if(null!=(a=this.data)&&a.results&&this.hasAllowedInstreamAd(this.playerData)&&(a=this.data.results.filter(function(e){return!!e.promotedSparklesWebRenderer}))){for(var b=0;b<a.length;b++){var c=this.get("promotedSparklesWebRenderer.errorCommand.loggingUrls",a[b]);
if(c)for(var d=0;d<c.length;d++)c[d]&&c[d].baseUrl&&_.Te(c[d].baseUrl)}this.set("data.results",this.data.results.filter(function(e){return!e.promotedSparklesWebRenderer}))}};
_.f.hasAllowedInstreamAd=function(a){a=this.get("adPlacements",a)||[];for(var b=0;b<a.length;b++){var c=this.get("adPlacementRenderer.config.adPlacementConfig",a[b]);if(c&&c.suppressDisplayAd)return!0}return!1};
_.f.computeHideUnlimitedOfferModule=function(a,b){return a&&a.offerModule&&b&&a.offerModule.unlimitedOfferModuleRenderer&&a.offerModule.unlimitedOfferModuleRenderer.suppressIfCompanionAds&&this.hasCompanionAds(b)?!0:!1};
_.f.hideUnlimitedOfferModuleChanged=function(){var a=this.$$("ytd-unlimited-offer-module-renderer");a&&(a.hidden=this.hideUnlimitedOfferModule)};
_.f.hasCompanionAds=function(a){a=this.get("adPlacements",a)||[];for(var b=0;b<a.length;b++)if(this.get("adPlacementRenderer.renderer.actionCompanionAdRenderer",a[b]))return!0;return!1};
_.f.computeHideQueueToPlayStateRenderer=function(a){var b;a=null==a?void 0:null==(b=a.offerModule)?void 0:b.queueToPlayStateRenderer;return!a||!!a.hidden};
_.f.hasSuppressedResults=function(a){return void 0===a?!0:0===a.filter(function(b){return!b.continuationItemRenderer&&!b.compactPromotedVideoRenderer&&!b.promotedSparklesWebRenderer}).length};
_.f.computeShowButton=function(a,b){return a||this.hasSuppressedResults(b)};
_.f.showButtonChanged=function(){var a=this.$$("yt-next-continuation"),b=this.$$("ytd-continuation-item-renderer"),c=this.$$("ytd-item-section-renderer");a&&(a.showButton=this.showButton);b&&(b.showButton=this.showButton);c&&(c.continuationShowButton=this.showButton)};
_.f.continuationTap=function(a){if(this.data&&this.data.continuations&&"TP-YT-PAPER-BUTTON"===a.target.tagName){a=this.data.continuations;for(var b=0;b<a.length;b++)a[b].nextContinuationData&&this.ytRendererBehavior.logExplicitClick(a[b].nextContinuationData||{})}};
_.t.Object.defineProperties(S_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===REb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-next-secondary-results-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.ytd_watch_next_secondary_results_renderer.ytd.watch.next.secondary.results.renderer.css.js--\x3e<div id="offer-module"></div>\n<div id="items"></div>\n<div id="continuations" hidden="[[canShowMore]]" on-click="continuationTap"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QEb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.ytd_watch_next_secondary_results_renderer.ytd.watch.next.secondary.results.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-movie-offer-module-renderer {margin: 0 0 20px;} ytd-tvfilm-offer-module-renderer {margin: 0 0 20px;} ytd-compact-video-renderer:not([expansion=collapsed]),ytd-compact-radio-renderer,ytd-compact-movie-renderer,ytd-compact-playlist-renderer,ytd-compact-promoted-video-renderer,ytd-promoted-sparkles-web-renderer {margin-bottom: 8px;} ytd-item-section-renderer {--ytd-item-section-item-margin: 8px;} #items {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} yt-next-continuation {text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} yt-next-continuation tp-yt-paper-button[style-target=host] {color: var(--yt-spec-call-to-action);border: solid 1px var(--yt-spec-call-to-action);width: 100%;margin: 0;} ytd-queue-to-play-renderer {margin-bottom: 16px;} ytd-queue-to-play-state-renderer {margin-bottom: 16px;} :host([watch-feed-big-thumbs]) ytd-promoted-sparkles-web-renderer {margin-bottom: 16px;} :host([watch-feed-big-thumbs][is-two-columns]) #items>* {width: 100%;} :host([watch-feed-big-thumbs]:not([is-two-columns])) #items {-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host([watch-feed-big-thumbs]:not([is-two-columns])) #items>* {width: var(--ytd-watch-flexy-sidebar-width);} /*# sourceMappingURL=ytd-watch-next-secondary-results-renderer.css.map*/</style>';
QEb=d}d=QEb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);REb=a}a=REb;return a}}});
var T_=S_;T_.prototype.showButtonChanged=T_.prototype.showButtonChanged;T_.prototype.hideUnlimitedOfferModuleChanged=T_.prototype.hideUnlimitedOfferModuleChanged;T_.prototype.dataChanged=T_.prototype.dataChanged;T_.prototype.resultsChanged=T_.prototype.resultsChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],T_.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],T_.prototype,"ytLazyListBehavior",void 0);_.S([_.L(_.AF.YtNextContinuationBehavior),_.T("design:type",Object)],T_.prototype,"ytNextContinuationBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],T_.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],T_.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],T_.prototype,"playerData",void 0);
_.S([_.N({value:!0}),_.T("design:type",Boolean)],T_.prototype,"autoFill",void 0);_.S([_.N({value:60}),_.T("design:type",Number)],T_.prototype,"targetFramerate",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],T_.prototype,"isTwoColumns",void 0);_.S([_.N({notify:!0}),_.T("design:type",Object)],T_.prototype,"shownItems",void 0);_.S([_.N({computed:"computeHideUnlimitedOfferModule(data, playerData)"}),_.T("design:type",Boolean)],T_.prototype,"hideUnlimitedOfferModule",void 0);
_.S([_.N({computed:"computeHideQueueToPlayStateRenderer(data)"}),_.T("design:type",Boolean)],T_.prototype,"hideQueueToPlayStateRenderer",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],T_.prototype,"watchFeedBigThumbs",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],T_.prototype,"showMoreButton",void 0);_.S([_.N({computed:"computeShowButton(showMoreButton, data.results)"}),_.T("design:type",Boolean)],T_.prototype,"showButton",void 0);
_.S([_.Ct("data.results.*"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],T_.prototype,"resultsChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],T_.prototype,"dataChanged",null);_.S([_.P("hideUnlimitedOfferModule"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],T_.prototype,"hideUnlimitedOfferModuleChanged",null);
_.S([_.P("showButton"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],T_.prototype,"showButtonChanged",null);T_=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-next-secondary-results-renderer"})],T_);
var nFb;
var oFb;
var U_=function(){var a=_.K.apply(this,arguments)||this;a.currentPageUrl="";a.baseUrl="";a.isHiddenByUser=null;a.hidden=!1;a.showAboveScrim=!1;a.isListeningForPlayerProgress=!1;a.playerEvents=new Map;a.isFrameReady=!1;a.player=null;a.actionMap={"yt-set-live-chat-collapsed-state-action":"setCollapsedState","yt-forward-redux-action-to-live-chat-iframe":"forwardReduxActionToIframe","yt-dark-mode-toggled-action":"onDarkModeToggledAction","yt-dark-theme-action":"onDarkThemeAction","yt-light-theme-action":"onLightThemeAction",
"yt-signal-action-close-pdg-buy-flow":"onClosePdgBuyFlow"};return a};
_.q(U_,_.K);_.f=U_.prototype;_.f.onYtToggleButton=function(){this.isHiddenByUser=!this.collapsed};
_.f.configureRendererStamper=function(){return{"data.liveChatRenderer.showHideButton":{id:"show-hide-button",mapping:{toggleButtonRenderer:{component:"ytd-toggle-button-renderer",params:{noink:!0}}}}}};
_.f.created=function(){var a=this;this.handleIframeEventListener=function(b){a.handleIframeEvent(b)};
this.handleKeyboardEventListener=function(b){a.handleKeyboardEvent(b)};
this.playerEvents.set("onVideoProgress",this.playerProgressHandler);this.playerEvents.set("onAdStart",this.playerAdStartHandler);this.playerEvents.set("onAdEnd",this.playerAdEndHandler);this.playerEvents.set("onStateChange",this.playerStateChangeHandler);this.playerEvents.set("onLoopRangeChange",this.onLoopRangeChange)};
_.f.attached=function(){window.addEventListener("message",this.handleIframeEventListener);window.addEventListener("keydown",this.handleKeyboardEventListener);window.addEventListener("keyup",this.handleKeyboardEventListener);this.currentPageUrl=window.location.href;this.setupPlayerProgressRelay()};
_.f.detached=function(){window.removeEventListener("message",this.handleIframeEventListener);window.removeEventListener("keydown",this.handleKeyboardEventListener);window.removeEventListener("keyup",this.handleKeyboardEventListener);this.currentPageUrl="";this.isListeningForPlayerProgress=!1;this.setPlayer(null);this.isFrameReady=!1};
_.f.computeBaseUrl=function(a){var b="/live_chat";this.isChatReplay()&&(b="/live_chat_replay");return _.xm(_.wm(_.vm(_.Bm(a),b),null),"").toString()};
_.f.dataChanged=function(){this.isHiddenByUser=null};
_.f.urlChanged=function(){if(void 0!==this.url){this.isFrameReady=!this.isChatReplay();var a=this.url;if(this.isChatReplay()&&this.player){var b=Math.floor(1E3*this.player.getProgressState().current);a=_.vz(_.Bm(a),"playerOffsetMs",b.toString()).toString()}b=this.chatframe;try{var c="about:blank"===a?_.oqa:_.eI(a);b.contentDocument.location.replace(_.zb(c))}catch(d){b.src=a}}};
_.f.handleIframeEvent=function(a){if(a&&_.hi(this.baseUrl,a.origin)&&a.source===this.chatframe.contentWindow&&_.pa(a.data))if(a.data["yt-iframed-buyflow-launcher"])this.handleBuyflowMessages(a);else if(a.data["yt-iframed-player-progress-relay"])this.handleChatFrameReady();else if(a.data["yt-show-feedback-dialog"]){var b=_.Eg().resolve(_.Cg(_.Ho));if(b){var c=a.ports,d;c&&c.length&&(d=function(){c[0].postMessage({})});
a=a.data["yt-show-feedback-dialog"];b.showFeedbackDialog(a.customProductData,a.feedbackContent,d,a.bucket)}}else a.data["yt-show-survey"]?this.fire("yt-show-survey",a.data["yt-show-survey"]):a.data["yt-purchase-membership"]?_.Kg(this,[a.data["yt-purchase-membership"]]):a.data["yt-tunnel-out-live-service-request"]?this.ytComponentBehavior.resolveCommand(a.data["yt-tunnel-out-live-service-request"]):a.data["yt-user-activity"]?_.lf():a.data["yt-attach-live-chat-response-tracking-params"]?this.attachLiveChatResponseVeTrackingParams(a.data["yt-attach-live-chat-response-tracking-params"].trackingParams):
a.data["yt-open-popup"]&&this.ytOpenPopupBehavior.openPopup(a.data["yt-open-popup"])};
_.f.attachLiveChatResponseVeTrackingParams=function(a){a=_.no(a);var b=_.fg(),c=_.ld("liveChatRenderer.trackingParams",this.data);b&&c&&_.tv(b,_.no(c),a)};
_.f.handleBuyflowMessages=function(a){var b=a.data["yt-iframed-buyflow-launcher"].encryptedPurchaseParams,c=a.data["yt-iframed-buyflow-launcher"].serializedTransactionFlowLoggingParams,d=a.data["yt-iframed-buyflow-launcher"].serializedPaymentsClientParams;_.v2a(_.gm(_.BH),b.replace(/-/g,"+").replace(/_/g,"/"),function(e){a.ports[0].postMessage({success:!0,buyFlowResponse:e})},void 0,function(e){a.ports[0].postMessage({success:!1,
error:e&&e.message||"Buyflow rejected without error."})},_.mg.getInstance().get("hl"),void 0,function(){a.ports[0].postMessage({closed:!0})},c,d)};
_.f.setupPlayerProgressRelay=function(){var a=this;this.isListeningForPlayerProgress||(_.qw().getPlayerPromise().then(function(b){a.playerApiReady(b)}),this.isListeningForPlayerProgress=!0)};
_.f.handleChatFrameReady=function(){this.isFrameReady=!0;this.player&&1===this.player.getAdState()&&this.postToContentWindow({"yt-player-ad-start":""})};
_.f.playerApiReady=function(a){this.setPlayer(a)};
_.f.playerProgressHandler=function(){if(this.player){var a=this.player.getProgressState();this.postToContentWindow({"yt-player-video-progress":a.current})}};
_.f.playerAdStartHandler=function(a){this.postToContentWindow({"yt-player-ad-start":a})};
_.f.playerAdEndHandler=function(){this.postToContentWindow({"yt-player-ad-end":!0})};
_.f.playerStateChangeHandler=function(a){this.postToContentWindow({"yt-player-state-change":a})};
_.f.setPlayer=function(a){this.player&&this.ytPlayerListenerBehavior.unlistenFromPlayerEvents(this.player,this.playerEvents);a&&(this.player=a,this.ytPlayerListenerBehavior.listenToPlayerEvents(a,this.playerEvents),this.fire("player-api-ready"))};
_.f.liveChatPageUrl=function(a,b,c){return!c||b?"about:blank":c.liveChatRenderer?(b=_.Bm(this.currentPageUrl).JSC$32753_queryData_,hDb(b),a=_.Bm(a),b.add("continuation",c.liveChatRenderer.continuations[0].reloadContinuationData.continuation),_.wm(a,b),a.toString()):""};
_.f.isCollapsed=function(a,b){return null!==b?b:a&&a.conversationBarRenderer&&a.conversationBarRenderer.availabilityMessage?!0:a&&a.liveChatRenderer?"LIVE_CHAT_DISPLAY_STATE_COLLAPSED"===a.liveChatRenderer.initialDisplayState:!1};
_.f.isHidden=function(a,b){var c=b&&b.conversationBarRenderer&&b.conversationBarRenderer.availabilityMessage,d=b&&b.liveChatRenderer&&b.liveChatRenderer.showHideButton;return!a||c||d?b&&b.liveChatRenderer&&b.liveChatRenderer.initialDisplayState?"LIVE_CHAT_DISPLAY_STATE_HIDDEN"===b.liveChatRenderer.initialDisplayState:!1:!0};
_.f.setCollapsedState=function(a){a.setLiveChatCollapsedStateAction&&(this.isHiddenByUser=!!a.setLiveChatCollapsedStateAction.collapsed)};
_.f.forwardReduxActionToIframe=function(a){this.postToContentWindow({"yt-live-chat-forward-redux-action":a})};
_.f.onLoopRangeChange=function(a){this.showAboveScrim=!(null==a||!a.postId)};
_.f.onDarkModeToggledAction=function(a){this.sendDarkThemePostMessage(a)};
_.f.onDarkThemeAction=function(){this.sendDarkThemePostMessage(!0)};
_.f.onLightThemeAction=function(){this.sendDarkThemePostMessage(!1)};
_.f.onClosePdgBuyFlow=function(){this.postToContentWindow({"yt-live-chat-close-buy-flow":!0})};
_.f.sendDarkThemePostMessage=function(a){this.postToContentWindow({"yt-live-chat-set-dark-theme":a})};
_.f.onLiveChatBuyFlowCallback=function(a){this.postToContentWindow({"yt-live-chat-buy-flow-callback":a})};
_.f.handleKeyboardEvent=function(a){(0,_.u.containsValue)(KEb,a.keyCode)&&this.postToContentWindow({"yt-live-chat-keyboard-event":{eventType:a.type,keyCode:a.keyCode}})};
_.f.isChatReplay=function(){return!!(this.data&&this.data.liveChatRenderer&&this.data.liveChatRenderer.isReplay)};
_.f.postToContentWindow=function(a){if(this.isFrameReady)try{var b=window.location.protocol+"//"+window.location.host;this.chatframe.contentWindow?this.chatframe.contentWindow.postMessage(a,b):_.Rf(new _.ge("Tried posting a message to an iframe with no content window",a))}catch(c){_.Qf(c)}};
_.t.Object.defineProperties(U_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-live-chat-frame--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_live_chat_frame.ytd.live.chat.frame.css.js--\x3e<iframe frameborder="0" scrolling="no" id="chatframe"></iframe>\n<template is="dom-if" if="[[data.conversationBarRenderer.availabilityMessage]]">\n  <ytd-message-renderer data="[[data.conversationBarRenderer.availabilityMessage.messageRenderer]]">\n  </ytd-message-renderer>\n</template>\n<div id="show-hide-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_live_chat_frame.ytd.live.chat.frame.css.js--\x3e<style>:host {border: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;z-index: 601;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([collapsed]) iframe {max-height: 0;} :host([show-above-scrim]) {z-index: 601;} iframe {width: 100%;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #show-hide-button>ytd-toggle-button-renderer {width: 100%;color: var(--yt-live-chat-secondary-text-color);background-color: var(--yt-spec-brand-background-primary);font-size: 11px;--yt-button-border-radius: 0;--yt-button-padding: 8px 24px;--yt-paper-button-width: 100%;} #show-hide-button>ytd-toggle-button-renderer:hover {color: var(--yt-live-chat-primary-text-color);} ytd-message-renderer,#show-hide-button {-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-live-chat-frame.css.map*/</style>";
nFb=d}d=nFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oFb=a}a=oFb;return a}}});
var V_=U_;V_.prototype.urlChanged=V_.prototype.urlChanged;V_.prototype.onYtToggleButton=V_.prototype.onYtToggleButton;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],V_.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],V_.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],V_.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],V_.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],V_.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],V_.prototype,"ytOpenPopupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],V_.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],V_.prototype,"currentPageUrl",void 0);
_.S([_.N({computed:"computeBaseUrl(currentPageUrl,data)"}),_.T("design:type",String)],V_.prototype,"baseUrl",void 0);_.S([_.N({computed:"liveChatPageUrl(baseUrl,collapsed,data)"}),_.T("design:type",String)],V_.prototype,"url",void 0);_.S([_.N(),_.T("design:type",Object)],V_.prototype,"isHiddenByUser",void 0);_.S([_.N({reflectToAttribute:!0,computed:"isHidden(collapsed,data)"}),_.T("design:type",Object)],V_.prototype,"hidden",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"isCollapsed(data,isHiddenByUser)"}),_.T("design:type",Boolean)],V_.prototype,"collapsed",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],V_.prototype,"showAboveScrim",void 0);_.S([_.Z("#chatframe"),_.T("design:type",HTMLIFrameElement)],V_.prototype,"chatframe",void 0);_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V_.prototype,"onYtToggleButton",null);
_.S([_.P("url"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V_.prototype,"urlChanged",null);V_=_.S([_.Q({is:"ytd-live-chat-frame"})],V_);
var pFb;
var qFb;
var W_=function(){return _.K.apply(this,arguments)||this};
_.q(W_,_.K);W_.prototype.dataChanged=function(){this.data&&(this.data.impressionCommand&&this.data.impressionCommand.clickTrackingParams&&delete this.data.impressionCommand.clickTrackingParams,this.macroReplacementBehavior.sendServiceRequestAction([this.data.impressionCommand]),this.data.backgroundColor&&(this.enableColors=!0,this.style.backgroundColor=_.ru(this.data.backgroundColor)))};
W_.prototype.onHeadlineClick=function(){if(this.data&&this.data.headline){var a=this.getFormattedStringLoggingDirectives(this.data.headline);a&&this.rendererBehavior.logExplicitClick(a)}};
W_.prototype.onDescriptionClick=function(){if(this.data&&this.data.description){var a=this.getFormattedStringLoggingDirectives(this.data.description);a&&this.rendererBehavior.logExplicitClick(a)}};
W_.prototype.getFormattedStringLoggingDirectives=function(a){return a&&a.runs&&0<a.runs.length&&a.runs[0]&&a.runs[0].loggingDirectives?a.runs[0].loggingDirectives:null};
_.t.Object.defineProperties(W_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-action-basic-immersive-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_action_basic_immersive_content_renderer.ytd.action.basic.immersive.content.renderer.css.js--\x3e<yt-img-shadow id="icon" hidden="[[!data.iconImage]]" thumbnail="[[data.iconImage]]"></yt-img-shadow>\n<yt-formatted-string id="headline" text="[[data.headline]]" on-click="onHeadlineClick"></yt-formatted-string>\n<yt-formatted-string id="desc" text="[[data.description]]" on-click="onDescriptionClick"></yt-formatted-string>\n<ytd-button-renderer id="action" data="[[data.actionButton.buttonRenderer]]">\n</ytd-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_action_basic_immersive_content_renderer.ytd.action.basic.immersive.content.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding-top: 56px;padding-bottom: 68px;} #icon {border-radius: 50%;background-color: transparent;overflow: hidden;height: 70px;width: 70px;} #headline {font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;color: var(--yt-spec-text-primary);margin-top: 16px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} #desc {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;color: var(--yt-spec-text-secondary);margin-top: 12px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} #action {margin-top: 56px;} :host(:not([enable-colors])) #action {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);} /*# sourceMappingURL=ytd-action-basic-immersive-content-renderer.css.map*/</style>';
pFb=d}d=pFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qFb=a}a=qFb;return a}}});
var X_=W_;X_.prototype.dataChanged=X_.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],X_.prototype,"rendererBehavior",void 0);_.S([_.L(_.NEb.YtMacroReplacementBehavior),_.T("design:type",Object)],X_.prototype,"macroReplacementBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],X_.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],X_.prototype,"navigationEndpoint",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],X_.prototype,"enableColors",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],X_.prototype,"dataChanged",null);X_=_.S([_.Q({asyncProperties:!0,is:"ytd-action-basic-immersive-content-renderer"})],X_);
var rFb;
var sFb;
var tFb;
var uFb;
var Y_=function(){return _.K.apply(this,arguments)||this};
_.q(Y_,_.K);Y_.prototype.onImageTileClick=function(){var a;(null==(a=this.data)?0:a.navigationEndpoint)&&this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint});var b;(null==(b=this.data)?0:b.clickCommand)&&this.componentBehavior.resolveCommand(this.data.clickCommand)};
_.t.Object.defineProperties(Y_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-image-tile-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_image_tile_renderer.ytd.image.tile.renderer.css.js--\x3e  <button class="remove-default-button-style" on-click="onImageTileClick">\n      <yt-img-shadow class="thumbnail" aria-label$="[[data.image.thumbnail.accessibility.accessibility_data.label]]" hidden="[[!data.image]]" thumbnail="[[data.image.thumbnail]]"></yt-img-shadow>\n </button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_image_tile_renderer.ytd.image.tile.renderer.css.js--\x3e<style>:host {display: flex;aspect-ratio: 1;} .remove-default-button-style {background-color: inherit;border-style: none;font-family: inherit;padding: 0;cursor: pointer;display: flex;flex-grow: 1;align-self: stretch;} .thumbnail {max-height: 100%;max-width: 100%;display: flex;flex-grow: 1;align-self: stretch;} /*# sourceMappingURL=ytd-image-tile-renderer.css.map*/</style>";
tFb=d}d=tFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uFb=a}a=uFb;return a}}});
var Z_=Y_;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Z_.prototype,"rendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Z_.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z_.prototype,"data",void 0);Z_=_.S([_.Q({asyncProperties:!0,is:"ytd-image-tile-renderer"})],Z_);
var vFb;
var wFb;
var $_=function(){return _.K.apply(this,arguments)||this};
_.q($_,_.K);$_.prototype.onSitelinkTap=function(){this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint});if(this.data&&this.data.clickCommands)if(_.x("kevlar_command_handler_migration_killswitch"))_.Lg(this,this.data.clickCommands,this);else for(var a=_.k(this.data.clickCommands),b=a.next();!b.done;b=a.next())this.ytComponentBehavior.resolveCommand(b.value)};
_.t.Object.defineProperties($_,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sitelink-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_sitelink_renderer.ytd.sitelink.renderer.css.js--\x3e<div>\n  <button id="clickable-area" class="remove-default-button-style" on-tap="onSitelinkTap">\n    <div id="sitelink">\n      <span>[[data.text.text]]</span>\n      <yt-icon id="open-icon" icon="open_in_new"></yt-icon>\n    </div>\n    <div id="description-texts">\n      <template is="dom-repeat" items="[[data.descriptions]]">\n        <div id="desc">[[item.text]]</div>\n      </template>\n    </div>\n  </button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_sitelink_renderer.ytd.sitelink.renderer.css.js--\x3e<style>:host {display: block;} #desc {color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #open-icon {padding-left: 4px;--iron-icon-width: 15px;--iron-icon-height: 15px;} .remove-default-button-style {background-color: inherit;border-style: none;font-family: inherit;padding: 0;} #sitelink {color: var(--yt-spec-call-to-action);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #clickable-area {cursor: pointer;text-align: left;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-sitelink-renderer.css.map*/</style>';
vFb=d}d=vFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wFb=a}a=wFb;return a}}});
var a0=$_;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],a0.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],a0.prototype,"rendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],a0.prototype,"data",void 0);a0=_.S([_.Q({asyncProperties:!0,is:"ytd-sitelink-renderer"})],a0);
var b0=function(){return _.K.apply(this,arguments)||this};
_.q(b0,_.K);b0.prototype.configureRendererStamper=function(){return{"data.sitelinkRenderers":{id:"sitelinks",mapping:{sitelinkRenderer:"ytd-sitelink-renderer"}},"data.actionButton":{id:"action",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.imageTileRenderers":{id:"image-tiles",mapping:{imageTileRenderer:"ytd-image-tile-renderer"}}}};
b0.prototype.dataChanged=function(){var a=this;this.data&&this.data.impressionCommands&&this.data.impressionCommands.forEach(function(b){b.clickTrackingParams&&delete b.clickTrackingParams;a.ytMacroReplacementBehavior.sendServiceRequestAction([b])})};
b0.prototype.shouldHideFooter=function(a){return!(a&&_.x("use_ads_engagement_panel_desktop_footer_cta"))};
_.t.Object.defineProperties(b0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-action-engagement-panel-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_action_engagement_panel_content_renderer.ytd.action.engagement.panel.content.renderer.css.js--\x3e<div id="content">\n  <div id="sitelinks" hidden="[[!data.sitelinkRenderers]]"></div>\n  <div id="image-tiles" hidden="[[!data.imageTileRenderers]]"></div>\n</div>\n<div id="footer" hidden="[[shouldHideFooter(data.actionButton)]]">\n  <div id="action"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_action_engagement_panel_content_renderer.ytd.action.engagement.panel.content.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;overflow: hidden;} #content {overflow-y: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;overflow-y: auto;} #content::-webkit-scrollbar {width: 16px;} #content::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} #content::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} #sitelinks ytd-sitelink-renderer:not(:first-child) {padding-top: 16px;} #sitelinks {padding-left: 16px;padding-top: 24px;padding-bottom: 24px;} #image-tiles ytd-image-tile-renderer {margin-left: 4px;margin-right: 4px;margin-bottom: 8px;flex: calc(33% - 8px);max-height: 144px;} #image-tiles {background-color: var(--yt-spec-brand-background-primary);padding-left: 8px;padding-right: 8px;padding-top: 16px;display: flex;} @media(min-width:1015px) {#image-tiles {flex-wrap: wrap;}} #footer {background-color: var(--yt-spec-brand-background-primary);padding: 12px;} #action ytd-button-renderer {width: 100%;} /*# sourceMappingURL=ytd-action-engagement-panel-content-renderer.css.map*/</style>";
rFb=d}d=rFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sFb=a}a=sFb;return a}}});
var c0=b0;c0.prototype.dataChanged=c0.prototype.dataChanged;_.S([_.L(_.NEb.YtMacroReplacementBehavior),_.T("design:type",Object)],c0.prototype,"ytMacroReplacementBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],c0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],c0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],c0.prototype,"data",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],c0.prototype,"dataChanged",null);c0=_.S([_.Q({asyncProperties:!0,is:"ytd-action-engagement-panel-content-renderer"})],c0);
var xFb;
var yFb;
var d0=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-ad-engagement-panel-click-action":"handleAdsEngagementPanelClick"};return a};
_.q(d0,_.K);_.f=d0.prototype;_.f.configureRendererStamper=function(){return{"data.contentRenderer":{id:"content",mapping:{actionEngagementPanelContentRenderer:"ytd-action-engagement-panel-content-renderer",basicImmersiveEngagementPanelContentRenderer:"ytd-action-basic-immersive-content-renderer"}}}};
_.f.attached=function(){this.getDataFromPlayerAndRender()};
_.f.dataChanged=function(){this.getDataFromPlayerAndRender()};
_.f.detached=function(){this.player&&(this.ytPlayerListenerBehavior.unlistenFromPlayerEvent(this.player,"updateEngagementPanelAction",this.sendUpdateEngagementPanelAction),this.ytPlayerListenerBehavior.unlistenFromPlayerEvent(this.player,"changeEngagementPanelVisibility",this.sendChangeEngagementPanelVisibilityAction))};
_.f.getDataFromPlayerAndRender=function(){var a=this,b=_.sv();b&&b.getPlayerPromise().then(function(c){a.getCachedDataAndListen(c)})};
_.f.getCachedDataAndListen=function(a){this.resolveCachedActions();this.player||(this.ytPlayerListenerBehavior.listenToPlayerEvent(a,"updateEngagementPanelAction",this.sendUpdateEngagementPanelAction),this.ytPlayerListenerBehavior.listenToPlayerEvent(a,"changeEngagementPanelVisibility",this.sendChangeEngagementPanelVisibilityAction),this.player=a)};
_.f.resolveCachedActions=function(){var a=_.ld("yt.www.ads.eventcache.getLastUpdateEngagementPanelAction");(a=a&&a())&&!_.u.isEmpty(a)&&this.sendUpdateEngagementPanelAction(a);(a=(a=_.ld("yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction"))&&a())&&!_.u.isEmpty(a)&&this.sendChangeEngagementPanelVisibilityAction(a);(a=(a=_.ld("yt.www.ads.eventcache.getLastScrollToEngagementPanelCommand"))&&a())&&!_.u.isEmpty(a)&&this.sendScrollToEngagementPanelCommand(a)};
_.f.sendUpdateEngagementPanelAction=function(a){_.C(this,"yt-update-engagement-panel-action",[a])};
_.f.sendChangeEngagementPanelVisibilityAction=function(a){_.C(this,"yt-change-engagement-panel-visibility-action",[a])};
_.f.sendScrollToEngagementPanelCommand=function(a){_.C(this,"yt-scroll-to-engagement-panel-command",[a])};
_.f.handleAdsEngagementPanelClick=function(){if(this.player)this.player.onAdUxClicked("ads-engagement-panel");else _.Rf(Error("th"))};
_.t.Object.defineProperties(d0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===yFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ads-engagement-panel-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ads_engagement_panel_content_renderer.ytd.ads.engagement.panel.content.renderer.css.js--\x3e<div id="content"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ads_engagement_panel_content_renderer.ytd.ads.engagement.panel.content.renderer.css.js--\x3e<style>:host,#content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;overflow: hidden;} /*# sourceMappingURL=ytd-ads-engagement-panel-content-renderer.css.map*/</style>";
xFb=d}d=xFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);yFb=a}a=yFb;return a}}});
var e0=d0;e0.prototype.dataChanged=e0.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],e0.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],e0.prototype,"componentBehavior",void 0);_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],e0.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],e0.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],e0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],e0.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],e0.prototype,"player",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],e0.prototype,"dataChanged",null);e0=_.S([_.Q({asyncProperties:!0,is:"ytd-ads-engagement-panel-content-renderer"})],e0);
var zFb;
var AFb;
var f0=function(){var a=_.K.apply(this,arguments)||this;a.player=null;a.playerEvents=new Map;a.actionMap={"yt-delete-clip-engagement-panel-command":"onYtDeleteClipEngagementPanelCommand"};return a};
_.q(f0,_.K);_.f=f0.prototype;_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.buttons":{id:"buttons",mapping:{buttonRenderer:"yt-button-renderer",commentActionButtonsRenderer:{component:"ytd-comment-action-buttons-renderer",properties:{voteCount:"[[voteCount]]"}}}}}};
_.f.created=function(){this.player=null;this.playerEvents=new Map;this.playerEvents.set("onLoopRangeChange",this.onLoopRangeChange);this.playerEvents.set("onVideoProgress",this.onVideoProgress);this.playerEvents.set("onAdStart",this.playerAdStartHandler);this.playerEvents.set("onPlaybackStartExternal",this.playerAdEndHandler)};
_.f.attached=function(){var a=this,b=_.sv();this.set("isDarkTheme",!!document.documentElement.hasAttribute("dark"));b&&b.getPlayerPromise().then(function(c){a.setPlayer(c);a.set("isPageLoad",!1)})};
_.f.setPlayer=function(a){this.player&&this.ytPlayerListenerBehavior.unlistenFromPlayerEvents(this.player,this.playerEvents);this.set("player",a);a&&(this.ytPlayerListenerBehavior.listenToPlayerEvents(a,this.playerEvents),a.getAdState&&1===a.getAdState()&&this.playerAdStartHandler())};
_.f.onLoopRangeChange=function(a){var b=_.Eg().resolve(_.Cg(_.Co));if((!b||b.isOnWatch())&&this.clientHeight){var c;!a&&(null==(c=this.data)?0:c.onScrubExit)&&this.ytComponentBehavior.resolveCommand(this.data.onScrubExit)}};
_.f.onVideoProgress=function(){var a,b,c=1===(null==(a=this.player)?void 0:null==(b=a.getAdState)?void 0:b.call(a));this.isAdPlaying!==c&&this.set("isAdPlaying",c);var d;if(!c&&null!=(d=this.player)&&d.getLoopRange()){a=this.player.getLoopRange().startTimeMs;b=this.player.getProgressState(1).seekableStart;var e;a<1E3*b&&(null==(e=this.data)?0:e.onClipViewInvalidCommand)&&(this.player.seekToLiveHead(),this.ytComponentBehavior.resolveCommand(this.data.onClipViewInvalidCommand))}};
_.f.playerAdStartHandler=function(){this.set("isAdPlaying",!0)};
_.f.playerAdEndHandler=function(){this.set("isAdPlaying",!1)};
_.f.onYtDeleteClipEngagementPanelCommand=function(a){a.deleteClipEngagementPanelCommand.command&&this.ytComponentBehavior.resolveCommand(a.deleteClipEngagementPanelCommand.command)};
_.t.Object.defineProperties(f0.prototype,{voteCount:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.voteCount)||_.Mu("0")}}});
_.t.Object.defineProperties(f0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===AFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-clip-attribution-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_attribution_renderer.ytd.clip.attribution.renderer.css.js--\x3e<div id="main">\n  <div id="top">\n    <div id="author-container">\n      <yt-img-shadow id="author-avatar" height="40" thumbnail="[[data.authorAvatar]]" width="40">\n      </yt-img-shadow>\n      <div id="details">\n        <ytd-channel-name id="author" badges="[[data.authorBadges]]" channel-name="[[data.clipAuthor]]" no-endpoints="">\n        </ytd-channel-name>\n        <span>[[getSimpleString(data.createdText)]]</span>\n      </div>\n    </div>\n    <div id="menu"></div>\n  </div>\n  <span id="title">[[getSimpleString(data.title)]]</span>\n  <div id="bottom">\n    <div id="buttons"></div>\n  </div>\n  <div id="ad-overlay">\n    <svg id="ad-image" viewBox="0 0 166.96 140.96">\n      <defs>\n        <style>\n          .cls-1{fill:none;}.cls-2{fill:#e2e2e2;}.cls-3{fill:#fff;}.cls-4{fill:#a4c5ff;}.cls-5{fill:#ffbfbd;}\n          :host([is-dark-theme]) .cls-1{fill:none;} :host([is-dark-theme]) .cls-2{fill:#4c4c4c;} :host([is-dark-theme]) .cls-3{fill:#212121;} :host([is-dark-theme]) .cls-4{fill:#6b9fff;} :host([is-dark-theme]) .cls-5{fill:#b47bff;}\n        </style>\n      </defs>\n      <g><g>\n        <path class="cls-2" d="M138.1,103.79l9.9-17h0l-9.9-5.44,9.9-17h0L138.1,59,148,42s-26,20.57-38.86,29.71-9.43-22.57-9.71-47.14S90.29-6,66.86,6,0,46.55,0,46.55l9.9,6.19L0,72.54l9.9,6.35L0,98.69,9.9,105,0,124.84s63.84-42,79.56-50.56c14.81-8.09,12.15,27.13,11.87,45.13s9.14,21.43,22,13.71c12.42-7.45,33.1-22.9,34.49-23.94Z" transform="translate(0 0.25)"></path>\n        <path class="cls-3" d="M102.26,71.67V137c.27,0,.55,0,.84-.05V72.54A4.36,4.36,0,0,1,102.26,71.67Z" transform="translate(0 0.25)"></path>\n        <path class="cls-4" d="M50.49,121.06c1.82-2.79,4.46-4.68,7.11-6.57,1.3-.93,2.61-1.85,3.86-2.84a4.06,4.06,0,0,0,.95-1.75c.22-3.44-2.51-6.92-5.93-6.42-3.62,0-7.24,2.84-10.08,4.72-3.78,2.5-7.06,6.32-9.77,9.91-1.43,1.9-2.72,3.71-4,5.68-2.76,4.13-4.4,8.7-6.6,13.21a16.79,16.79,0,0,1,.55-3.13c2-5.06,4.07-10.07,7.32-14.49,1-1.36,2-2.78,3-4.12a5.68,5.68,0,0,1,1.45-.86c.28-1.65,2-2.64,3-4.07,0-.06.5.19.77.3a7.55,7.55,0,0,1,.53-1.46c0-.09.61.11.94.17,0-.36,0-.72,0-1.08,0-.1.19-.18.28-.27,1.09-1.08,2.57-1.56,3.71-2.64a12.29,12.29,0,0,1,4.18-2.46,19.89,19.89,0,0,1,5.13-1.09c3.21-.27,6.5,3.42,7.27,5.72.21.64.41,1.28.69,2.15l3.71-1.73a1.57,1.57,0,0,1,2.13.26l-.35-1,5.12-1.33c1.06.89,2.1.2,3.16,0,.86-.18,1.78-.16,1.87-1.37,0-.06.5-.19.53-.13a4.74,4.74,0,0,1,.37.87l3.05-.58-.08.81c-3.69,1.11-7.47,1.69-11,2.9a28.1,28.1,0,0,0-7.73,4,12.91,12.91,0,0,0-4,5.89,33.12,33.12,0,0,1-7.84,11.43c-1.53,1.54-3.32,2.81-5,4.23a4.84,4.84,0,0,1-3.55,1.22c-1.33-.06-1.67-.23-2-1.49a4.81,4.81,0,0,1,.19-3.38c1.63-3.31,3.52-6.4,6.53-8.65l-.23.49c.11,0,.2.07.23.05l.86-.94Zm-6.3,11.57a1.69,1.69,0,0,0,1.3,1.43,6,6,0,0,0,2.76-1.2c2-1.71,4-3.53,5.94-5.33a4,4,0,0,0,.47-.89c.31-.52,1.52-1.1,1.84-1.61,1.49-2.4,2.76-4.89,4.22-7.31.27-.45.22-3.25-.1-3.46a19.68,19.68,0,0,0-3.49,2.44c-1,.5-1.65,1.85-2.64,2.33a13.34,13.34,0,0,0-3,2.67c-1,1-1.92,1.93-2.8,3a34.65,34.65,0,0,0-2.3,3.11C45.65,128.87,44.17,131.53,44.19,132.63Z" transform="translate(0 0.25)"></path>\n        <path class="cls-1" d="M0,124.84V46.55S43.43,18,66.86,6,99.14,0,99.43,24.55s-3.14,56.29,9.71,47.14S148,42,148,42v67.14s-21.71,16.29-34.57,24-22.29,4.29-22-13.71,2.94-53.22-11.87-45.13C63.84,82.87,0,124.84,0,124.84Z" transform="translate(0 0.25)"></path>\n        <path class="cls-5" d="M119,12.45c-.87,10.43-4.13,19.08-15,22.06,13.42.52,14.54,9.3,15.29,18.31,1.28-9.85,4.42-18.14,15-20.18C123.63,31.85,120.11,23.44,119,12.45Z" transform="translate(0 0.25)"></path>\n        <g class="cls-6">\n          <polygon class="cls-4" points="166.96 114.12 146.52 104.85 161.66 80.3 137.84 92.19 132.87 70.65 126.28 95.37 110.8 90.89 120.61 104.1 105.23 112.92 119.7 114.68 116.36 135.53 131.9 122.15 141.06 140.96 143.28 116.82 166.96 114.12"></polygon>\n          <path class="cls-5" d="M73.23,20.28c1.5-8,.86-14.91-1.89-20.53L69.79.51C72.37,5.79,73,12.34,71.54,20c-3,16.13-14.32,29.76-28.12,33.92a31.14,31.14,0,0,1-7.73,1.27A39.72,39.72,0,0,0,19.94,24.42c-4-2.94-7.71-3.92-10.8-2.86-5.5,1.88-6.8,9.18-4.87,15.13,3.88,11.93,16.48,20,29.69,20.2,0,.43,0,.86-.07,1.29a37.87,37.87,0,0,1-19.27,30l.82,1.51a35.69,35.69,0,0,0,5.18-3.42,39.75,39.75,0,0,0,15-28c0-.47.06-.94.07-1.41a32.46,32.46,0,0,0,8.24-1.34C58.33,51.2,70.11,37,73.23,20.28ZM34,55.17c-12.5-.23-24.4-7.77-28.06-19C4.5,31.81,5,26.47,8.05,24.09a5.66,5.66,0,0,1,1.66-.9c3.18-1.1,6.76.82,9.2,2.62A38,38,0,0,1,34,55.17Z" transform="translate(0 0.25)"></path>\n        </g>\n        <path class="cls-3" d="M17.4,46.23,17,45.51,24.42,41l.44.71Q21.2,43.94,17.4,46.23Zm14.9-9.15-.44-.71,7.42-4.6.44.71ZM47.16,27.9l-.44-.72c2.57-1.58,5.07-3.09,7.47-4.54l.44.72Q51,25.52,47.16,27.9Zm15-8.94-.42-.73c2.85-1.62,5.37-3,7.69-4.19l.39.75C67.5,16,65,17.34,62.16,19ZM96,14.42a14,14,0,0,0-2.35-3.14l.58-.6A14.64,14.64,0,0,1,96.71,14ZM77.7,11.11l-.32-.77a32.13,32.13,0,0,1,8.49-2.4l.09.83A31.86,31.86,0,0,0,77.7,11.11Z" transform="translate(0 0.25)"></path>\n        <polygon class="cls-3" points="57.21 88.12 56.37 88.65 56.37 11.92 57.21 11.45 57.21 88.12"></polygon>\n        <path class="cls-3" d="M109.94,80.05a6.68,6.68,0,0,1-5.19-2.48l.64-.55c1.93,2.22,4.35,2.74,7.49,1.63l.28.79A9.59,9.59,0,0,1,109.94,80.05Zm10.81-5.11-.49-.69c2.11-1.48,4.48-3.21,7.06-5.14l.51.68C125.24,71.72,122.86,73.45,120.75,74.94Z" transform="translate(0 0.25)"></path>\n        <path class="cls-3" d="M17,103.93l-.46-.7,7.28-4.83.46.7Zm14.55-9.68-.46-.7q3.73-2.49,7.27-4.84l.47.7Zm14.57-9.64-.46-.7q3.84-2.5,7.36-4.73l.45.71C51.15,81.37,48.69,83,46.14,84.61Zm14.8-9.26-.43-.73c2.89-1.7,5.4-3.08,7.68-4.22l.38.75C66.3,72.28,63.81,73.66,60.94,75.35ZM84.8,68.18A10.48,10.48,0,0,0,80,67.31a13.7,13.7,0,0,0-3.47.55l-.22-.81A14.45,14.45,0,0,1,80,66.47a11.37,11.37,0,0,1,5.15,1Z" transform="translate(0 0.25)"></path>\n        <path class="cls-3" d="M98.67,127.76c-2.62-.79-4.81-2.9-6.35-6.12l.76-.36c1,2.09,2.82,4.77,5.84,5.68Zm8.65-1.68-.4-.73c1.81-1,4.31-2.53,7.45-4.55l.45.7C111.67,123.53,109.15,125.07,107.32,126.08Zm14.81-9.4-.47-.7c2.38-1.59,4.82-3.26,7.24-4.92l.47.69C127,113.41,124.51,115.08,122.13,116.68Z" transform="translate(0 0.25)"></path>\n        <ellipse class="cls-4" cx="71.33" cy="51.78" rx="8.55" ry="6.47" transform="translate(-6.69 93.03) rotate(-63.7)"></ellipse>\n      </g></g>\n    </svg>\n    <div id="ad-text">[[getSimpleString(data.adPlayingText)]]</div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_attribution_renderer.ytd.clip.attribution.renderer.css.js--\x3e<style>:host {--yt-img-border-radius: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;height: auto;flex-basis: 102px;transition: flex-basis 0.2s ease-out;} :host([is-ad-playing]) #top,:host([is-ad-playing]) #title,:host([is-ad-playing]) #bottom {display: none;} :host([is-ad-playing]) {flex-basis: 204px;overflow: hidden;} :host([is-ad-playing]) #ad-overlay {animation: clips-fade-in 0.2s;display: flex;} :host([is-page-load]) {opacity: 0;} #top,#bottom,#buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #top,#title,#bottom {opacity: 1;animation: clips-fade-in 0.2s;} #main {padding: var(--ytd-margin-4x) 0 0 0;position: relative;} #top {color: var(--yt-spec-text-secondary);padding: 0 var(--ytd-margin-4x);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #bottom {padding: 0 var(--ytd-margin-6x);} #author-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #author-avatar {margin-right: var(--ytd-margin-4x);} #author {color: var(--yt-spec-text-primary);margin: 0 0 var(--ytd-margin-base) 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #details {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #title {display: inline-block;color: var(--yt-spec-text-primary);margin: var(--ytd-margin-4x);margin-bottom: var(--ytd-margin-base);word-break: break-word;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #bottom {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #ad-overlay {color: var(--yt-spec-text-primary);display: none;flex-direction: column;padding: 16px 0 32px;width: 100%;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #ad-image {height: 102px;width: 120px;margin-bottom: 16px;} #menu {flex-shrink: 0;} #view-count {color: var(--yt-spec-text-secondary);margin: 0 var(--ytd-margin-4x);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #under {padding: var(--ytd-margin-2x) var(--ytd-margin-4x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} @keyframes clips-fade-in {from {opacity: 0;display: none;}to {opacity: 1;display: block;}} /*# sourceMappingURL=ytd-clip-attribution-renderer.css.map*/</style>';
zFb=d}d=zFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);AFb=a}a=AFb;return a}}});
var g0=f0;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],g0.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],g0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],g0.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],g0.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],g0.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],g0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],g0.prototype,"isAdPlaying",void 0);_.S([_.N({reflectToAttribute:!0,value:!0}),_.T("design:type",Boolean)],g0.prototype,"isPageLoad",void 0);_.S([_.N({reflectToAttribute:!0,value:!0}),_.T("design:type",Boolean)],g0.prototype,"isDarkTheme",void 0);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],g0.prototype,"voteCount",null);g0=_.S([_.Q({asyncProperties:!0,is:"ytd-clip-attribution-renderer"})],g0);
var BFb;
var CFb;
var h0=function(){var a=_.K.apply(this,arguments)||this;a.player=null;a.playerEvents=new Map;return a};
_.q(h0,_.K);_.f=h0.prototype;_.f.created=function(){this.player=null;this.playerEvents=new Map;this.playerEvents.set("onVideoProgress",this.onVideoProgress);this.playerEvents.set("onAdStart",this.playerAdStartHandler);this.playerEvents.set("onPlaybackStartExternal",this.playerAdEndHandler)};
_.f.configureRendererStamper=function(){return{"data.buttons":{id:"buttons",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.f.attached=function(){var a=this,b=_.sv();b&&b.getPlayerPromise().then(function(c){a.setPlayer(c);a.set("isPageLoad",!1)})};
_.f.setPlayer=function(a){this.player&&this.ytPlayerListenerBehavior.unlistenFromPlayerEvents(this.player,this.playerEvents);this.set("player",a);a&&(this.ytPlayerListenerBehavior.listenToPlayerEvents(a,this.playerEvents),a.getAdState&&1===a.getAdState()&&this.playerAdStartHandler())};
_.f.playerAdStartHandler=function(){this.set("isAdPlaying",!0)};
_.f.playerAdEndHandler=function(){this.set("isAdPlaying",!1)};
_.f.onVideoProgress=function(){var a,b,c=1===(null==(a=this.player)?void 0:null==(b=a.getAdState)?void 0:b.call(a));this.isAdPlaying!==c&&this.set("isAdPlaying",c)};
_.t.Object.defineProperties(h0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-clip-section-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_section_footer_renderer.ytd.clip.section.footer.renderer.css.js--\x3e<div id="buttons"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_section_footer_renderer.ytd.clip.section.footer.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;opacity: 1;animation: clips-footer-fade-in 0.2s;} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #buttons>ytd-button-renderer {margin: var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-2x) 0;} :host([is-ad-playing]),:host([is-page-load]) {display: none;opacity: 0;} @keyframes clips-footer-fade-in {0% {opacity: 0;display: none;}50% {opacity: 0;display: none;}100% {opacity: 1;display: block;}} /*# sourceMappingURL=ytd-clip-section-footer-renderer.css.map*/</style>";
BFb=d}d=BFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CFb=a}a=CFb;return a}}});
var i0=h0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],i0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],i0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],i0.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],i0.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],i0.prototype,"isAdPlaying",void 0);_.S([_.N({reflectToAttribute:!0,value:!0}),_.T("design:type",Boolean)],i0.prototype,"isPageLoad",void 0);i0=_.S([_.Q({is:"ytd-clip-section-footer-renderer"})],i0);
var DFb;
var EFb;
var FFb;
var GFb;
var HFb=function(){return _.K.apply(this,arguments)||this};
_.q(HFb,_.K);
_.t.Object.defineProperties(HFb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===GFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-clip-ad-state-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_ad_state_renderer.ytd.clip.ad.state.renderer.css.js--\x3e<div id="message">\n  <div id="title">[[getSimpleString(data.title)]]</div>\n  <div id="body">[[getSimpleString(data.body)]]</div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_ad_state_renderer.ytd.clip.ad.state.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-themed-overlay-background);color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: distribute;-webkit-justify-content: space-around;justify-content: space-around;} #message {margin: var(--ytd-margin-4x);text-align: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title {margin-bottom: var(--ytd-margin-2x);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #body {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-clip-ad-state-renderer.css.map*/</style>';
FFb=d}d=FFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);GFb=a}a=GFb;return a}}});
var j0=HFb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],j0.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],j0.prototype,"data",void 0);j0=_.S([_.Q({asyncProperties:!0,is:"ytd-clip-ad-state-renderer"})],j0);
var IFb;
var JFb;
var k0=function(){var a=_.K.apply(this,arguments)||this;a.value="";a.valid=!1;a.userChangedValue=!1;a.disabled=!1;a.actionMap={"yt-clip-creation-disable":"onClipCreationDisable","yt-clip-creation-enable":"onClipCreationEnable","yt-clip-creation-visibility-changed":"onClipCreationVisibilityChange"};return a};
_.q(k0,_.K);_.f=k0.prototype;_.f.detached=function(){this.userChangedValue=!1};
_.f.handleKeyDown=function(a){a.keyCode===(_.Ej?_.mDb(13):_.Gj&&_.Fj?_.nDb(13):13)&&a.preventDefault()};
_.f.handleInput=function(){var a=this.$.title;if(a){var b=(a.value||"").replace(/\r|\n/g," ");this.set("value",b);a.value=b;this.valid=a.validate();this.userChangedValue=!0}};
_.f.handleBlur=function(){this.valid=this.$.title.validate()};
_.f.onValueChanged=function(a){this.fire("title-changed",{title:a})};
_.f.onValidChanged=function(a){this.fire("title-valid-changed",{valid:a})};
_.f.setInput=function(a){var b=this.$.title;b&&(b.value=a,this.handleInput())};
_.f.onClipCreationDisable=function(){this.set("disabled",!0)};
_.f.onClipCreationEnable=function(){this.set("disabled",!1)};
_.f.onClipCreationVisibilityChange=function(a){var b=this;a.visible?requestAnimationFrame(function(){var c;(null==(c=b.$.title)?void 0:c.inputElement).textarea.focus()}):this.setInput("")};
_.t.Object.defineProperties(k0.prototype,{computeFieldValid:{configurable:!0,enumerable:!0,get:function(){return!this.userChangedValue||this.valid}}});
_.t.Object.defineProperties(k0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-clip-creation-text-input-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_creation_text_input_renderer.ytd.clip.creation.text.input.renderer.css.js--\x3e<tp-yt-paper-textarea id="title" char-counter="" disabled="[[disabled]]" invalid="[[!fieldValid]]" label="[[getSimpleString(data.placeholderText)]]" maxlength="[[data.maxCharacterLimit]]" no-label-float="" pattern=".+" required="" use-v2-underline=""></tp-yt-paper-textarea>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_creation_text_input_renderer.ytd.clip.creation.text.input.renderer.css.js--\x3e<style>:host {display: inline-block;} tp-yt-paper-textarea {--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-color: var(--yt-spec-10-percent-layer);--paper-input-container-focus-color: var(--yt-spec-text-disabled);--paper-input-container-input: {margin-bottom: var(--ytd-margin-2x);};--paper-input-container-underline-border-bottom: 1px solid var(--yt-spec-10-percent-layer);--paper-input-container-underline-focus-border-color: var(--yt-spec-text-secondary);--paper-input-char-counter: {color: var(--yt-spec-text-disabled);margin-top: var(--ytd-margin-2x);};--paper-input-container-label: {color: var(--yt-spec-text-disabled);};} /*# sourceMappingURL=ytd-clip-creation-text-input-renderer.css.map*/</style>";
IFb=d}d=IFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JFb=a}a=JFb;return a}}});
var l0=k0;l0.prototype.onValidChanged=l0.prototype.onValidChanged;l0.prototype.onValueChanged=l0.prototype.onValueChanged;l0.prototype.handleBlur=l0.prototype.handleBlur;l0.prototype.handleInput=l0.prototype.handleInput;l0.prototype.handleKeyDown=l0.prototype.handleKeyDown;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],l0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],l0.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],l0.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],l0.prototype,"value",void 0);_.S([_.N(),_.T("design:type",Boolean)],l0.prototype,"valid",void 0);_.S([_.N(),_.T("design:type",Boolean)],l0.prototype,"userChangedValue",void 0);_.S([_.N(),_.T("design:type",Boolean)],l0.prototype,"disabled",void 0);_.S([_.V("fieldValid"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],l0.prototype,"computeFieldValid",null);
_.S([_.O("keydown"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent]),_.T("design:returntype")],l0.prototype,"handleKeyDown",null);_.S([_.O("input"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],l0.prototype,"handleInput",null);_.S([_.O("blur"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],l0.prototype,"handleBlur",null);
_.S([_.P("value"),_.T("design:type",Function),_.T("design:paramtypes",[String]),_.T("design:returntype")],l0.prototype,"onValueChanged",null);_.S([_.P("valid"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],l0.prototype,"onValidChanged",null);l0=_.S([_.Q({is:"ytd-clip-creation-text-input-renderer"})],l0);
var KFb;
var LFb;
var MFb;
var NFb;
var OFb;
_.Ng({is:"yt-clip-creation-scrubber-canvas",_template:function(){if(void 0!==OFb)return OFb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-clip-creation-scrubber-canvas--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--\x3e<canvas id="ticks"></canvas>\n';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);return OFb=a},
properties:{start:{type:Number,value:0},end:{type:Number,value:30},visible:{type:Boolean,value:!1},player_:{type:Object},tickSpacing:{type:Number},windowSizeSec:{type:Number},rulerWidth:{type:Number,value:0},rulerShift:{type:Number,value:0},canvasReady_:{type:Boolean,value:!1},storyboardImages_:{type:Array,value:function(){return[]}},
disabled:{type:Boolean,value:!1,reflectToAttribute:!0},forceRender_:{type:Number,value:0},devicePixelRatio_:{type:Number,value:0},windowSpeed:{type:Number,value:0}},behaviors:[_.Y.YtActionHandlerBehavior,_.U.YtRendererBehavior],observers:["drawRuler_(visible, canvasReady_, player_, tickSpacing, windowSizeSec, rulerShift, start, end, storyboardImages_.*, forceRender_, disabled, windowSpeed)","setUpCanvas_(visible, devicePixelRatio_, rulerWidth)"],actionMap:{"yt-dark-mode-toggled-action":"onDarkModeToggled_",
"yt-clip-creation-enable":"onClipCreationEnable_","yt-clip-creation-visibility-changed":"onVisibilityChangedAction_"},created:function(){this.pendingStoryboardImages_={};this.pixelRatioBreakpoints_=["1dppx","1.5dppx","2dppx","3dppx"];this.tickLabelInterval=30;this.mediumTickInterval=5;this.largeTickInterval=15;this.aboveRulerHeight=32;this.rulerHeight=50;this.smallTickHeight=4;this.mediumTickHeight=8;this.largeTickHeight=16},
attached:function(){var a=this;this.updatePixelRatio_();this.pixelRatioBreakpoints_.forEach(function(b){window.matchMedia("screen and (min-resolution: "+b+")").addEventListener("change",function(){return a.updatePixelRatio_()});
window.matchMedia("screen and (max-resolution: "+b+")").addEventListener("change",function(){return a.updatePixelRatio_()})})},
detached:function(){var a=this;this.setPlayer(null);this.pixelRatioBreakpoints_.forEach(function(b){window.matchMedia("screen and (min-resolution: "+b+")").removeListener(function(){return a.updatePixelRatio_()});
window.matchMedia("screen and (max-resolution: "+b+")").removeListener(function(){return a.updatePixelRatio_()})});
this.storyboardImages_&&this.splice("storyboardImages_",0,this.storyboardImages_.length)},
onVisibilityChangedAction_:function(a){var b=this;a.visible&&!this.player_&&(a=_.sv())&&a.getPlayerPromise().then(function(c){b.setPlayer(c)})},
setPlayer:function(a){a&&this.set("player_",a)},
updatePixelRatio_:function(){this.set("devicePixelRatio_",Math.max(1,window.devicePixelRatio))},
setUpCanvas_:function(a,b,c){this.set("canvasReady_",!1);if(a&&0!==b){a=this.aboveRulerHeight+this.rulerHeight;var d=this.$.ticks;d.width=c*b;d.height=a*b;d.style.width=this.rulerWidth_+"px";d.style.height=a+"px";d.getContext("2d").scale(b,b);this.set("canvasReady_",!0)}},
drawRuler_:function(a,b,c,d,e,h,l,m,p,r,v,z){a&&c&&b&&(a=this.$.ticks,b=a.getContext("2d"),b.clearRect(0,0,a.width,a.height),b.strokeStyle=this.getComputedStyleValue("--yt-spec-10-percent-layer"),b.lineWidth=2,b.beginPath(),b.moveTo(0,this.aboveRulerHeight),b.lineTo(a.width,this.aboveRulerHeight),b.moveTo(0,a.height),b.lineTo(a.width,a.height),b.stroke(),this.drawRulerTicks_(a,h,e,d),this.drawStoryboardImages_(a,c,h,e,d),b.fillStyle=this.getComputedStyleValue("--yt-spec-themed-overlay-background"),
b.fillRect(0,this.aboveRulerHeight,this.timeToPixels_(l-h,d,!1),this.rulerHeight),c=this.timeToPixels_(m-h,d,!1),b.fillRect(c,this.aboveRulerHeight,a.width-c,this.rulerHeight),this.drawSpeedLines_(a,h,z))},
drawRulerTicks_:function(a,b,c,d){var e=a.getContext("2d");e.save();e.lineWidth=1;for(var h=Math.floor(Math.max(0,b-this.tickLabelInterval));h<b+c;h++){e.strokeStyle=this.getComputedStyleValue("--yt-spec-text-disabled");var l=(h-b)*d;e.beginPath();e.moveTo(l,a.height);var m=this.smallTickHeight;0===h%this.largeTickInterval?m=this.largeTickHeight:0===h%this.mediumTickInterval&&(m=this.mediumTickHeight);e.lineTo(l,a.height-m);e.stroke();0===h%this.tickLabelInterval&&(e.font=this.getComputedStyleValue("font"),
e.fillStyle=this.getComputedStyleValue("--yt-spec-text-disabled"),e.fillText(e_(h),l+4,12),e.strokeStyle=this.getComputedStyleValue("--yt-spec-10-percent-layer"),e.moveTo(l,0),e.lineTo(l,this.aboveRulerHeight),e.stroke())}e.restore()},
percentToHex_:function(a){a=Math.round(255*a).toString(16);2>a.length&&(a="0"+a);return a},
drawSpeedLines_:function(a,b,c){var d=a.getContext("2d");d.save();var e=Math.min(25,Math.abs(c)-15)/25,h=.3*a.width*e,l=-.3*a.width,m=1.3*a.width,p=this.aboveRulerHeight;a=a.height;var r=Math.round(4*e),v=this.getComputedStyleValue("--yt-spec-text-primary");7>v.length&&(v="#"+v.substring(1,4).repeat(2));var z=this.percentToHex_(.5+e/2);z=v+z;v+="00";if(0<e)for(e=0;e<r;e++){var A=l+Math.random()*(m-l),D=p+Math.random()*(a-p),E=h+b%h,J=d.createLinearGradient(A,D,A+E,D);0>c?(J.addColorStop(0,z),J.addColorStop(.4,
z),J.addColorStop(.9,v)):(J.addColorStop(.1,v),J.addColorStop(.6,z),J.addColorStop(1,z));d.strokeStyle=J;d.lineWidth=1;d.beginPath();d.moveTo(A,D);d.lineTo(A+E,D);d.stroke()}d.restore()},
getStoryboardForTime_:function(a,b,c){void 0===c&&(c=b.getNumberOfStoryboardLevels()-1);a=b.getStoryboardFrameIndex(a,c);return b.getStoryboardFrame(a,c)},
drawStoryboardImages_:function(a,b,c,d,e){if(!this.disabled){a=a.getContext("2d");var h=this.getStoryboardForTime_(0,b);if(h){var l=h.width/h.columns;h=h.height/h.rows;var m=l/h,p=this.rulerHeight*m;p=this.tickLabelInterval*(m<this.tickLabelInterval*e/this.rulerHeight?1/Math.floor(this.tickLabelInterval*e/p):Math.round(p/(this.tickLabelInterval*e)));var r=p*e,v=this.rulerHeight,z=r/this.rulerHeight,A=Math.floor(Math.max(0,c-p));for(A-=A%p;A<c+d;A+=p){var D=this.getStoryboardForTime_(A,b),E=this.getPreloadedStoryboard_(D.url);
if(E){var J=(A-c)*e,R=this.aboveRulerHeight,da=D.column*l,sa=D.row*h;if(m<z){var Ca=v/(r/m);D=l;Ca*=h;sa+=(h-Ca)/2}else D=r/(v*m)*l,Ca=h,da+=(l-D)/2;a.drawImage(E,da,sa,D,Ca,J,R,r,v)}else this.fetchStoryboardImage_(D)}}}},
getPreloadedStoryboard_:function(a){return this.storyboardImages_.find(function(b){if(b.src==a)return!0;var c=b.src.indexOf(a);return-1!=c&&c==b.src.length-a.length})},
fetchStoryboardImage_:function(a){var b=this,c=this.getPreloadedStoryboard_(a.url),d=this.pendingStoryboardImages_[a.url];c||d||(c=new Promise(function(e){var h=new Image(a.width,a.height);h.src=a.url;h.onload=function(){e(h)};
h.onerror=function(){e(null)}}),this.pendingStoryboardImages_[a.url]=c,c.then(function(e){e&&b.push("storyboardImages_",e);
return e}).finally(function(){delete b.pendingStoryboardImages_[a.url]}))},
onClipCreationEnable_:function(){this.set("forceRender_",this.forceRender_+1)},
timeToPixels_:function(a,b,c){a*=b;return void 0===c||c?a+"px":a},
onDarkModeToggled_:function(){this.set("forceRender_",this.forceRender_+1)}});
var PFb;
var QFb;
_.Ng({is:"yt-clip-creation-scrubber-view",_template:function(){if(void 0!==QFb)return QFb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-clip-creation-scrubber-view--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.gaming.clips.yt_clip_creation_scrubber_view.yt.clip.creation.scrubber.view.css.js--\x3e<div id="trimmer">\n  <div id="ruler" aria-hidden="true">\n    <yt-clip-creation-scrubber-canvas id="ticks" disabled="[[disabled]]" end="[[end]]" ruler-shift="[[rulerShift_]]" ruler-width="[[rulerWidth_]]" start="[[start]]" tick-spacing="[[tickSpacing_]]" visible="[[visible]]" window-size-sec="[[windowSizeSec_]]" window-speed="[[windowSlideSpeed]]">\n    </yt-clip-creation-scrubber-canvas>\n    <div id="handles">\n      <div class="handle" id="handle-left">\n        <div class="handle-grip"></div>\n      </div>\n      <div class="handle" id="handle-right">\n        <div class="handle-grip"></div>\n      </div>\n    </div>\n    <div id="playhead"></div>\n  </div>\n</div>\n<div id="duration" aria-label="[[durationAccessibilityLabel]]">[[durationLabel]]</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.gaming.clips.yt_clip_creation_scrubber_view.yt.clip.creation.scrubber.view.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;} :host([drag-state=left]):not([disabled]),:host([drag-state=right]):not([disabled]),:host([drag-state=none]):not([disabled]) .handle {cursor: ew-resize;} :host([drag-state=none]):not([disabled]) #handles,:host([drag-state=none]):not([disabled]) #ticks {cursor: grab;} :host([drag-state=ruler]):not([disabled]),:host([drag-state=window]):not([disabled]) {cursor: grabbing;} #duration {font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);} #trimmer {position: relative;user-select: none;height: 84px;margin: 16px 0 12px;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;} #ruler {position: absolute;top: 0;left: 0;right: 0;height: 86px;} #handles {position: absolute;height: 58px;bottom: 0px;border: 4px solid var(--yt-spec-call-to-action);border-left: none;border-right: none;box-sizing: border-box;} .handle {position: absolute;top: -4px;bottom: -4px;width: 16px;border-top: none;border-bottom: none;background-color: var(--yt-spec-call-to-action);} #handle-left {left: -16px;border-right: none;border-radius: 4px 0px 0px 4px;} #handle-right {right: -16px;border-left: none;border-radius: 0px 4px 4px 0px;} .handle-grip {display: block;position: absolute;height: 24px;width: 2px;left: 7px;top: 16px;border-radius: 2px;background-color: #fff;pointer-events: none;} #playhead {display: block;position: absolute;height: 50px;bottom: 4px;width: 4px;pointer-events: none;margin-left: -2px;background-color: var(--yt-spec-brand-link-text);border-radius: 2px;} /*# sourceMappingURL=yt-clip-creation-scrubber-view.css.map*/</style>";
PFb=d}d=PFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return QFb=a},
properties:{start:{type:Number,value:0},end:{type:Number,value:30},duration:{type:Number,computed:"computeDuration_(start, end)"},lengthTemplate:{type:String},durationLabel:{type:String,computed:"computeDurationLabel_(lengthTemplate, duration)"},visible:{type:Boolean,value:!1,observer:"onVisibleChanged_"},player_:{type:Object},draggingLeft_:{type:Boolean,value:!1,observer:"onDragStateChanged_"},draggingRight_:{type:Boolean,value:!1,observer:"onDragStateChanged_"},draggingRuler_:{type:Boolean,value:!1,
observer:"onDragStateChanged_"},draggingWindow_:{type:Boolean,value:!1,observer:"onDragStateChanged_"},tickSpacing_:{type:Number,computed:"computeTickSpacing_(windowSizeSec_, rulerWidth_)"},seekableStart:{type:Number,value:0},seekableEnd:{type:Number,value:0},windowSizeMs:{type:Number},windowSizeSec_:{type:Number,computed:"computeWindowSizeSec_(windowSizeMs, seekableStart, seekableEnd)"},rulerWidth_:{type:Number,value:0},rulerShift_:{type:Number,value:0},windowSlideSpeed:{type:Number,value:0},disabled:{type:Boolean,
value:!1,reflectToAttribute:!0},initialized:{type:Boolean,value:!1,observer:"onInitializedChanged_"},durationAccessibilityLabel:{type:String,value:""},dragState:{type:String,computed:"computeDragState_(draggingLeft_, draggingRight_, draggingRuler_, draggingWindow_)",reflectToAttribute:!0}},behaviors:[_.Y.YtActionHandlerBehavior,_.tE.YtPlayerListenerBehavior,_.U.YtRendererBehavior],observers:["updateLoopRange_(player_, visible, disabled, initialized, start, end)","updateHandles_(start, end, rulerShift_, tickSpacing_, windowSizeSec_)",
"updateRuler_(start, end)"],actionMap:{"yt-clip-creation-disable":"onClipCreationDisable_","yt-clip-creation-visibility-changed":"onVisibilityChangedAction_"},created:function(){var a=this;this.activeLoopRange_=!1;this.dragMouseLastX_=this.rulerDragEndTime_=this.rulerDragStartTime_=this.rulerDragRulerStart_=this.rulerDragMouseStart_=0;this.scrollInterval_=null;this.playerEvents=new Map;this.playerEvents.set("onVideoProgress",this.onVideoProgress_);this.playerEvents.set("SEEK_COMPLETE",this.onSeekComplete_);
this.playerEvents.set("onStateChange",this.onStateChange_);this.boundHandlers_={};var b={mouseup:this.endDrag_,mousemove:this.handleMouseDrag_,resize:this.updateRulerSize_,handles_mousedown:this.beginHandleDrag_,ruler_mousedown:this.beginRulerDrag_};Object.keys(b).forEach(function(c){a.boundHandlers_[c]=b[c].bind(a)})},
attached:function(){this.activeLoopRange_=!1;this.$.handles.addEventListener("mousedown",this.boundHandlers_.handles_mousedown);this.$.ticks.addEventListener("mousedown",this.boundHandlers_.ruler_mousedown);window.addEventListener("resize",this.boundHandlers_.resize)},
detached:function(){this.setPlayer(null);window.removeEventListener("resize",this.boundHandlers_.resize);this.storyboardImages_&&this.splice("storyboardImages_",0,this.storyboardImages_.length);this.removeMouseEventHandlers_();this.$.handles.removeEventListener("mousedown",this.boundHandlers_.handles_mousedown);this.$.ticks.removeEventListener("mousedown",this.boundHandlers_.ruler_mousedown)},
onVisibilityChangedAction_:function(a){var b=this;a.visible&&!this.player_&&(a=_.sv())&&a.getPlayerPromise().then(function(c){b.setPlayer(c)})},
setPlayer:function(a){this.player_&&this.unlistenFromPlayerEvents(this.player_,this.playerEvents);a&&(this.set("player_",a),this.listenToPlayerEvents(a,this.playerEvents))},
addMouseEventHandlers_:function(){window.addEventListener("mouseup",this.boundHandlers_.mouseup);window.addEventListener("mousemove",this.boundHandlers_.mousemove)},
removeMouseEventHandlers_:function(){window.removeEventListener("mouseup",this.boundHandlers_.mouseup);window.removeEventListener("mousemove",this.boundHandlers_.mousemove)},
beginHandleDrag_:function(a){this.disabled||(a.preventDefault(),this.draggingWindow_=this.draggingRuler_=this.draggingRight_=this.draggingLeft_=!1,this.dragMouseLastX_=a.clientX,a.target===this.$["handle-left"]?this.beginLeftHandleDrag_():a.target===this.$["handle-right"]?this.beginRightHandleDrag_():this.beginWindowDrag_(a))},
beginLeftHandleDrag_:function(){this.draggingLeft_=!0;this.beginDrag_()},
beginRightHandleDrag_:function(){this.draggingRight_=!0;this.beginDrag_()},
beginWindowDrag_:function(){this.disabled||(this.draggingWindow_=!0,this.beginWindowScroll_(),this.beginDrag_())},
beginRulerDrag_:function(a){this.disabled||(a.preventDefault(),this.draggingRight_=this.draggingLeft_=!1,this.draggingRuler_=!0,this.draggingWindow_=!1,this.rulerDragMouseStart_=a.clientX,this.rulerDragRulerStart_=this.rulerShift_,this.rulerDragStartTime_=this.start,this.rulerDragEndTime_=this.end,this.beginDrag_())},
beginDrag_:function(){this.player_.pauseVideo();this.addMouseEventHandlers_()},
beginWindowScroll_:function(){var a=this;this.scrollInterval_=setInterval(function(){var b=a.windowSlideSpeed,c=a.boundedRulerStartLimit_();1E-6>=Math.abs(a.start-c)?b-=.1:(c=a.boundedRulerEndLimit_(),b=1E-6>=Math.abs(a.end-c)?b+.1:0);b&&(c=a.capRulerOffset_(a.rulerShift_+b),c==a.rulerShift_?b=0:(a.set("rulerShift_",c),a.fire("set-fixed-length-range",{start:a.start+b,duration:a.end-a.start})));a.set("windowSlideSpeed",b)},33)},
endWindowScroll_:function(){this.scrollInterval_&&(clearInterval(this.scrollInterval_),this.scrollInterval_=null,this.windowSlideSpeed=0)},
endDrag_:function(){var a=void 0;this.draggingRight_?a=this.end-1:this.draggingLeft_&&(a=this.start);this.draggingWindow_=this.draggingRuler_=this.draggingRight_=this.draggingLeft_=!1;this.endWindowScroll_();this.updateLoopRange_(this.player_,this.visible,this.disabled,this.initialized,this.start,this.end,a);this.removeMouseEventHandlers_();this.rulerShift_+this.windowSizeSec_<this.end+this.pixelsToTime_(16)&&this.set("rulerShift_",this.end-this.windowSizeSec_+this.pixelsToTime_(16));this.rulerShift_>
this.start-this.pixelsToTime_(16)&&this.set("rulerShift_",this.start-this.pixelsToTime_(16))},
onVisibleChanged_:function(a){a&&this.updateRulerSize_()},
updateRulerSize_:function(){this.set("rulerWidth_",this.$.ruler.getBoundingClientRect().width)},
handleMouseDrag_:function(a){0==a.buttons&&(this.draggingLeft_||this.draggingRight_||this.draggingRuler_||this.draggingWindow_)&&this.endDrag_();this.disabled||(this.draggingRuler_?this.handleRulerDrag_(a):this.draggingLeft_||this.draggingRight_?this.handleWindowHandleDrag_(a):this.draggingWindow_&&this.handleWindowDrag_(a))},
handleRulerDrag_:function(a){a=this.pixelsToTime_(a.clientX-this.rulerDragMouseStart_);a=this.capRulerOffset_(this.rulerDragRulerStart_-a);this.set("rulerShift_",a);var b=this.rulerDragStartTime_-(this.rulerDragRulerStart_-a);this.fire("set-fixed-length-range",{start:b,duration:this.rulerDragEndTime_-(this.rulerDragRulerStart_-a)-b})},
handleWindowDrag_:function(a){var b=a.clientX-this.dragMouseLastX_;this.dragMouseLastX_=a.clientX;a=this.pixelsToTime_(b);this.fire("set-fixed-length-range",{start:this.start+a,duration:this.end-this.start,startLimit:this.draggableStartLimit_(),endLimit:this.draggableEndLimit_()})},
capRulerOffset_:function(a){var b=this.seekableStart-this.pixelsToTime_(16),c=this.seekableEnd-this.windowSizeSec_+this.pixelsToTime_(16);return Math.min(Math.max(b,a),c)},
boundedRulerStartLimit_:function(){return this.rulerShift_+this.pixelsToTime_(16)},
boundedRulerEndLimit_:function(){return this.rulerShift_+this.windowSizeSec_-this.pixelsToTime_(16)},
draggableStartLimit_:function(){return Math.max(this.boundedRulerStartLimit_(),this.seekableStart)},
draggableEndLimit_:function(){return Math.min(this.boundedRulerEndLimit_(),this.seekableEnd)},
handleWindowHandleDrag_:function(a){var b=a.clientX-this.dragMouseLastX_;this.dragMouseLastX_=a.clientX;a=this.pixelsToTime_(b);if(this.draggingLeft_){var c=this.start+a;var d=this.end}else this.draggingRight_&&(c=this.start,d=this.end+a);this.fire("set-range",{start:c,end:d,startLimit:this.draggableStartLimit_(),endLimit:this.draggableEndLimit_()})},
onVideoProgress_:function(a){this.disabled||(a=this.timeToPixels_(a-this.rulerShift_,this.tickSpacing_),this.$.playhead.style.transform="translateX("+a+")")},
onClipCreationDisable_:function(){this.endDrag_()},
timeToPixels_:function(a,b,c){a*=b;return void 0===c||c?a+"px":a},
pixelsToTime_:function(a){return a/this.tickSpacing_},
onInitializedChanged_:function(a){a&&this.centerRuler_(this.start,this.end,this.windowSizeSec_)},
centerRuler_:function(a,b,c){this.set("rulerShift_",this.capRulerOffset_(a+(b-a)/2-c/2))},
updateLoopRange_:function(a,b,c,d,e,h,l){a&&(b&&d&&!c?(this.draggingLeft_||this.draggingRuler_||this.draggingWindow_?(a.pauseVideo(),a.seekTo(e,!1)):this.draggingRight_?(a.pauseVideo(),a.seekTo(h-.1,!1)):(void 0!==l?a.seekTo(l,!0):(b=a.getCurrentTime(),b<e||b>h?a.seekTo(e,!0):a.seekTo(b,!0)),a.playVideo()),a.setLoopRange({startTimeMs:1E3*e,endTimeMs:1E3*h,type:"clips"}),this.activeLoopRange_=!0,this.onVideoProgress_(a.getCurrentTime())):this.activeLoopRange_&&(a.setLoopRange(null),this.activeLoopRange_=
!1))},
updateHandles_:function(a,b,c,d){this.$.handles.style.left=this.timeToPixels_(a-c,d);this.$.handles.style.width=this.timeToPixels_(b-a,d)},
updateRuler_:function(a,b){var c=this.draggableStartLimit_(),d=this.draggableEndLimit_();(a<c-.001||b>d+.001)&&this.centerRuler_(this.start,this.end,this.windowSizeSec_)},
computeDurationLabel_:function(a,b){return a?a.replace("$clip_length",parseFloat(b).toFixed(1)):""},
computeDuration_:function(a,b){return this.isValidTime_(a)&&this.isValidTime_(b)&&a<b?b-a:0},
isValidTime_:function(a){return isNaN(parseFloat(a))||0>a?!1:this.player?a>=this.seekableStart&&a<=this.seekableEnd:!0},
computeWindowSizeSec_:function(a,b,c){return Math.min((a||12E4)/1E3,c-b)},
computeTickSpacing_:function(a,b){return b?b/a:1},
onDragStateChanged_:function(){this.fire("clips-drag-state",{startChanging:this.draggingLeft_||this.draggingWindow_||this.draggingRuler_,endChanging:this.draggingRight_||this.draggingWindow_||this.draggingRuler_})},
centerRangeOnTime_:function(a){var b=this.duration;a=g_(a-b/2,b,this.seekableStart,this.seekableEnd);this.fire("set-fixed-length-range",{start:a.start,duration:a.end-a.start})},
nearlyLessThan_:function(a,b,c){return a+(void 0===c?1E-6:c)<b},
onSeekComplete_:function(){if(this.visible&&!this.disabled&&"none"==this.dragState){var a=this.player_.getCurrentTime();(!this.player_.getLoopRange()||this.nearlyLessThan_(a,this.start)||this.nearlyLessThan_(this.end,a))&&this.centerRangeOnTime_(a)}},
onStateChange_:function(a){this.visible&&!this.disabled&&0==a&&this.centerRangeOnTime_(this.seekableEnd)},
computeDragState_:function(a,b,c,d){return a?"left":b?"right":c?"ruler":d?"window":"none"}});
_.Ng({is:"yt-clip-creation-scrubber-renderer",_template:function(){if(void 0!==NFb)return NFb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-clip-creation-scrubber-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.gaming.clips.yt_clip_creation_scrubber_renderer.yt.clip.creation.scrubber.renderer.css.js--\x3e<div id="text-inputs">\n  <yt-icon id="warning-start" icon="warning"></yt-icon>\n  <iron-input allowed-pattern="[\\d\\.\\:]" disabled="[[disabled]]" prevent-invalid-input="" role="presentation">\n    <input id="start" placeholder="[[data.startAccessibility.accessibilityData.label]]" type="text">\n  </iron-input>\n  <span id="spacer" aria-hidden="true">\u2013</span>\n  <iron-input allowed-pattern="[\\d\\.\\:]" disabled="[[disabled]]" prevent-invalid-input="" role="presentation">\n    <input id="end" placeholder="[[data.endAccessibility.accessibilityData.label]]" type="text">\n  </iron-input>\n  <yt-icon id="warning-end" icon="warning"></yt-icon>\n</div>\n<yt-clip-creation-scrubber-view disabled="[[disabled]]" duration-accessibility-label="[[data.durationAccessibility.accessibilityData.label]]" end="[[end]]" initialized="[[initialized]]" length-template="[[data.lengthTemplate]]" seekable-end="[[seekableEnd_]]" seekable-start="[[seekableStart_]]" start="[[start]]" visible="[[visible_]]" window-size-ms="[[data.windowSizeMs]]">\n</yt-clip-creation-scrubber-view>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.gaming.clips.yt_clip_creation_scrubber_renderer.yt.clip.creation.scrubber.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);} #text-inputs {min-width: 300px;width: calc(100% - 64px);max-width: 600px;margin: 0 auto var(--ytd-margin-2x) auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #spacer {margin: 0 var(--ytd-margin-2x);-ms-flex: none;-webkit-flex: none;flex: none;} iron-input {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} input {display: inline-block;padding: var(--ytd-margin-3x);width: 100%;box-sizing: border-box;margin: 1px 0;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 4px;outline: none;background-color: transparent;color: var(--yt-spec-text-primary);text-align: center;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} input:focus,:host([highlight-start]) #start,:host([highlight-end]) #end {margin: 0;border-color: var(--yt-spec-text-secondary);border-width: 2px;} #warning-start,#warning-end {visibility: hidden;margin: var(--ytd-margin-2x);-ms-flex: none;-webkit-flex: none;flex: none;} :host([start-will-update]) #warning-start,:host([end-will-update]) #warning-end {visibility: visible;} /*# sourceMappingURL=yt-clip-creation-scrubber-renderer.css.map*/</style>";
MFb=d}d=MFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return NFb=a},
properties:{data:Object,start:{type:Number,value:0,observer:"onStartChanged_"},startValid:{type:Boolean,value:!0},startWillUpdate:{type:Boolean,value:!1,reflectToAttribute:!0},end:{type:Number,value:30,observer:"onEndChanged_"},endValid:{type:Boolean,value:!0},endWillUpdate:{type:Boolean,value:!1,reflectToAttribute:!0},minLengthSec:{type:Number,computed:"computeMinLengthSec_(data.minLengthMs)"},maxLengthSec:{type:Number,computed:"computeMaxLengthSec_(data.maxLengthMs)"},defaultLengthSec:{type:Number,
computed:"computeDefaultLengthSec_(data.defaultLengthMs)"},visible_:{type:Boolean,value:!1},player_:{type:Object},seekableStart_:{type:Number,value:null,computed:"computeSeekableStart_(player_, visible_)"},seekableEnd_:{type:Number,computed:"computeSeekableEnd_(player_, visible_)"},initialized:{type:Boolean,value:!1},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},highlightStart:{type:Boolean,value:!1,reflectToAttribute:!0},highlightEnd:{type:Boolean,value:!1,reflectToAttribute:!0}},behaviors:[_.Y.YtActionHandlerBehavior,
_.U.YtRendererBehavior],observers:["initializeClipRange_(player_, visible_, seekableStart_, seekableEnd_)","updateInputs_(start, end)"],listeners:{"set-fixed-length-range":"onSetFixedLengthRange_","set-range":"onSetRange_","clips-drag-state":"onDragState_"},actionMap:{"yt-clip-creation-visibility-changed":"onVisibilityChangedAction_","yt-clip-creation-disable":"onClipCreationDisable_","yt-clip-creation-enable":"onClipCreationEnable_"},created:function(){this.endHighlightTimeout=this.startHighlightTimeout=
0},
attached:function(){var a=this;this.$.start.addEventListener("input",function(b){return a.handleStartInput_(b)});
this.$.end.addEventListener("input",function(b){return a.handleEndInput_(b)});
this.$.start.addEventListener("focusout",function(b){return a.handleStartBlur_(b)});
this.$.end.addEventListener("focusout",function(b){return a.handleEndBlur_(b)})},
setPlayer:function(a){this.set("player_",a)},
onSetFixedLengthRange_:function(a){var b=a.detail;a=b.start;var c=b.duration,d=b.startLimit;b=b.endLimit;d||(d=this.seekableStart_);b||(b=this.seekableEnd_);a=g_(a,c,d,b);this.setProperties({start:a.start,end:a.end})},
onSetRange_:function(a){var b=a.detail;a=b.start;var c=b.end,d=b.startLimit;b=b.endLimit;d||(d=this.seekableStart_);b||(b=this.seekableEnd_);(a=aDb(a,c,d,b,this.minLengthSec,this.maxLengthSec))&&this.setProperties({start:a.start,end:a.end})},
updateInputs_:function(a,b){this.$.start.focused||(this.$.start.value=e_(a,!0));this.$.end.focused||(this.$.end.value=e_(b,!0))},
handleStartInput_:function(a){a=f_(a.target.value);if(null===a)this.set("startValid",!1);else{var b=this.end,c=aDb(a,this.end,this.seekableStart_,this.seekableEnd_,this.minLengthSec,this.maxLengthSec);c?(this.set("endWillUpdate",c.end!==b),this.set("startValid",c.start===a)):this.set("startValid",!1)}},
handleEndInput_:function(a){a=f_(a.target.value);if(null===a)this.set("endValid",!1);else{var b=this.start,c=bDb(this.start,a,this.seekableStart_,this.seekableEnd_,this.minLengthSec,this.maxLengthSec);c?(this.set("startWillUpdate",c.start!==b),this.set("endValid",c.end===a)):this.set("endValid",!1)}},
handleStartBlur_:function(a){a=f_(a.target.value);null===a?this.$.start.value=e_(this.start,!0):this.forceUpdateInputs_(aDb(a,this.end,this.seekableStart_,this.seekableEnd_,this.minLengthSec,this.maxLengthSec))},
handleEndBlur_:function(a){a=f_(a.target.value);null===a?this.$.end.value=e_(this.end,!0):this.forceUpdateInputs_(bDb(this.start,a,this.seekableStart_,this.seekableEnd_,this.minLengthSec,this.maxLengthSec))},
forceUpdateInputs_:function(a){a&&this.setProperties({start:a.start,end:a.end});this.$.start.value=e_(this.start,!0);this.$.end.value=e_(this.end,!0);this.setProperties({startValid:!0,endValid:!0,endWillUpdate:!1,startWillUpdate:!1})},
initializeClipRange_:function(a,b,c,d){if(!a||!b||null===c||!d)this.set("initialized",!1);else if(!this.initialized){var e=a.getCurrentTime(),h=this.getDefaultLengthSec_();b=a.getVideoData();var l=1==a.getPlayerState();h=Math.min(h,d-c);e=Math.max(0,e);c=b.isLive?bDb(e-h,e,c,d,this.minLengthSec,this.maxLengthSec):l?g_(e-h/2,h,c,d):g_(e,h,c,d);this.setProperties({start:c.start,end:c.end});this.set("initialized",!0);b.isLive&&a.seekTo(c.start);this.$.start.value=e_(this.start,!0);this.$.end.value=e_(this.end,
!0)}},
onStartChanged_:function(a,b){var c=this;this.fire("start-changed",{start:a});isNaN(b)||(this.set("highlightStart",!0),clearTimeout(this.startHighlightTimeout),this.startHighlightTimeout=setTimeout(function(){c.set("highlightStart",!1);c.startHighlightTimeout=0},3E3))},
onEndChanged_:function(a,b){var c=this;this.fire("end-changed",{end:a});isNaN(b)||(this.set("highlightEnd",!0),clearTimeout(this.endHighlightTimeout),this.endHighlightTimeout=setTimeout(function(){c.set("highlightEnd",!1);c.endHighlightTimeout=0},3E3))},
onVisibilityChangedAction_:function(a){var b=this;this.set("visible_",a.visible);this.visible_&&!this.player_&&(a=_.sv())&&a.getPlayerPromise().then(function(c){b.setPlayer(c)})},
computeMinLengthSec_:function(a){return a/1E3||5},
computeMaxLengthSec_:function(a){return a/1E3||60},
computeDefaultLengthSec_:function(a){return a/1E3},
getDefaultLengthSec_:function(){return this.defaultLengthSec||30},
computeSeekableStart_:function(a,b){return a&&b?a.getProgressState(1).seekableStart:0},
computeSeekableEnd_:function(a,b){return a&&b?a.getProgressState(1).seekableEnd:0},
onClipCreationDisable_:function(){this.set("disabled",!0)},
onClipCreationEnable_:function(){this.set("disabled",!1)},
onDragState_:function(a){this.set("highlightStart",a.detail.startChanging);this.set("highlightEnd",a.detail.endChanging)}});
_.Ng({is:"yt-clip-creation-renderer",_template:function(){if(void 0!==LFb)return LFb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-clip-creation-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.gaming.clips.yt_clip_creation_renderer.yt.clip.creation.renderer.css.js--\x3e<div id="container">\n  <div id="title">\n    <div class="left-container">\n      <yt-img-shadow id="user-avatar" height="32" thumbnail="[[data.userAvatar]]" width="32">\n      </yt-img-shadow>\n      <div id="display-name">[[getSimpleString(data.displayName)]]</div>\n    </div>\n    <div id="publicity-label">[[data.publicityLabel]]</div>\n  </div>\n  <div id="title-input"></div>\n  <div id="scrubber"></div>\n</div>\n<div id="footer">\n  <tp-yt-paper-spinner-lite active="[[isLoading_]]" hidden="[[!isLoading_]]"></tp-yt-paper-spinner-lite>\n  <div id="cancel"></div>\n  <div id="share"></div>\n</div>\n<div id="ad-state"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.gaming.clips.yt_clip_creation_renderer.yt.clip.creation.renderer.css.js--\x3e<style>:host {position: relative;--clip-avatar-height: 32px;} #ad-state {display: none;} :host([is-ad-playing]) #ad-state {display: initial;} #ad-state,#ad-state ytd-clip-ad-state-renderer {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host,#container {overflow: hidden;-ms-flex: 1 1 0%;-webkit-flex: 1 1 0%;flex: 1 1 0%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #container {padding: var(--ytd-margin-4x);overflow-y: auto;background-color: var(--yt-spec-brand-background-primary);} #title {margin: 0 0 var(---ytd-margin) 0;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #title .left-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title-input ytd-clip-creation-text-input-renderer {max-width: 100%;} #user-avatar {--yt-img-border-radius: calc(var(--clip-avatar-height) / 2);margin: 0 var(--ytd-margin-4x) 0 0;-ms-flex: none;-webkit-flex: none;flex: none;} #display-name {color: var(--yt-spec-text-primary);font-size: var(--yt-guide-highlight-font-size,1.4rem);font-weight: 500;line-height: var(--yt-guide-highlight-line-height,1.8rem);letter-spacing: var(--yt-guide-highlight-letter-spacing,normal);} #publicity-label {color: var(--yt-spec-text-disabled);font-size: 1.4rem;} #title-input {display: -ms-flexbox;display: -webkit-flex;display: flex;} ytd-clip-creation-text-input-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;} #scrubber {direction: ltr;max-width: 100%;margin: var(--ytd-margin-6x) 0;} #share {margin-left: var(--ytd-margin-4x);-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} #footer {background-color: var(--yt-spec-brand-background-solid);padding: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=yt-clip-creation-renderer.css.map*/</style>";
KFb=d}d=KFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return LFb=a},
properties:{data:Object,titleValue:{type:String,value:""},titleValid:{type:Boolean,value:!1},start:{type:Number,value:0},startValid:{type:Boolean,value:!0},end:{type:Number,value:0},endValid:{type:Boolean,value:!0},videoId:{type:String,value:""},formValid:{type:Boolean,computed:"computeFormValid_(data, titleValid, startValid, endValid)"},submitButton_:{type:Object,computed:"computeSubmitButton_(data.saveButton, isAdPlaying, isLoading_, formValid)"},submitCommand_:{type:Object,computed:"computeSubmitCommand_(data.saveButton.buttonRenderer.command)"},
cancelButton_:{type:Object,computed:"computeCancelButton_(data.cancelButton, isAdPlaying, isLoading_)"},isLoading_:{type:Boolean,value:!1},isAdPlaying:{type:Boolean,value:!1,reflectToAttribute:!0},returnTime:{type:Number,value:0},isAtLiveHead:{type:Boolean,value:!1}},behaviors:[_.Y.YtActionHandlerBehavior,_.tE.YtPlayerListenerBehavior,_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],listeners:{"title-changed":"onTitleChanged_","title-valid-changed":"onTitleValidChanged_","start-changed":"onStartChanged_",
"start-valid-changed":"onStartValidChanged_","end-changed":"onEndChanged_","end-valid-changed":"onEndValidChanged_"},stampDom:{submitButton_:{id:"share",mapping:{buttonRenderer:"yt-button-renderer"}},cancelButton_:{id:"cancel",mapping:{buttonRenderer:"yt-button-renderer"}},"data.titleInput":{id:"title-input",mapping:{clipCreationTextInputRenderer:"ytd-clip-creation-text-input-renderer"}},"data.scrubber":{id:"scrubber",mapping:{clipCreationScrubberRenderer:"yt-clip-creation-scrubber-renderer"}},"data.adStateOverlay":{id:"ad-state",
mapping:{clipAdStateRenderer:"ytd-clip-ad-state-renderer"}}},actionMap:{"yt-clip-creation-visibility-changed":"onVisibilityChangedAction_"},created:function(){this.player_=null;this.playerEvents=new Map;this.playerEvents.set("onAdStart",this.playerAdStartHandler_);this.playerEvents.set("onPlaybackStartExternal",this.playerAdEndHandler_);this.playerEvents.set("onVideoDataChange",this.onVideoDataChange_);this.playerEvents.set("onVideoProgress",this.onVideoProgress_)},
detached:function(){this.setPlayer(null)},
onVisibilityChangedAction_:function(a){var b=this;this.getPlayer().then(function(c){a.visible?(b.returnTime=c.getCurrentTime(),b.isAtLiveHead=c.getProgressState().isAtLiveHead):b.isAtLiveHead?c.seekTo(Number.POSITIVE_INFINITY):c.seekTo(b.returnTime)})},
getPlayer:function(){var a=this;if(!this.player_){var b=_.sv();if(b)return b.getPlayerPromise().then(function(c){a.setPlayer(c);return c})}return _.Mg(this.player_)},
setPlayer:function(a){this.player_&&this.unlistenFromPlayerEvents(this.player_,this.playerEvents);a&&(this.player_=a,this.set("videoId",a.getVideoData().video_id||""),a.getAdState&&1===a.getAdState()&&(this.set("isAdPlaying",!0),_.C(this,"yt-clip-creation-disable")),this.listenToPlayerEvents(a,this.playerEvents))},
ready:function(){this.$.share.addEventListener("tap",this.onSubmit_.bind(this))},
onTitleChanged_:function(a){this.set("titleValue",a.detail.title)},
onStartChanged_:function(a){this.set("start",a.detail.start)},
onEndChanged_:function(a){this.set("end",a.detail.end)},
onTitleValidChanged_:function(a){this.set("titleValid",a.detail.valid)},
onStartValidChanged_:function(a){this.set("startValid",a.detail.valid)},
onEndValidChanged_:function(a){this.set("endValid",a.detail.valid)},
onVideoDataChange_:function(){this.set("videoId",this.player_.getVideoData().video_id||"")},
computeFormValid_:function(a,b,c,d){return!!(a&&b&&c&&d)},
computeCancelButton_:function(a,b,c){return a&&a.buttonRenderer?{buttonRenderer:Object.assign({},a.buttonRenderer,{isDisabled:b||c})}:null},
computeSubmitButton_:function(a,b,c){return a&&a.buttonRenderer?{buttonRenderer:Object.assign({},a.buttonRenderer,{command:void 0,isDisabled:!this.formValid||b||c})}:null},
computeSubmitCommand_:function(a){return a||null},
onSubmit_:function(a){var b=this;a.stopPropagation();a.preventDefault();this.submitCommand_&&(a={},a.comment_text=this.titleValue,a.clip_external_video_id=this.videoId,a.clip_offset_ms=parseInt(1E3*this.start,10),a.clip_duration_ms=parseInt(1E3*(this.end-this.start),10),this.set("isLoading_",!0),_.Kg(this,[this.submitCommand_,a]).then(function(){b.set("isLoading_",!1)},function(){b.set("isLoading_",!1)}))},
playerAdStartHandler_:function(){_.C(this,"yt-clip-creation-disable");this.set("isAdPlaying",!0)},
playerAdEndHandler_:function(){_.C(this,"yt-clip-creation-enable");this.set("isAdPlaying",!1)},
onVideoProgress_:function(){var a,b,c=1===(null==(a=this.player)?void 0:null==(b=a.getAdState)?void 0:b.call(a));this.isAdPlaying!==c&&(c?this.playerAdStartHandler_():this.playerAdEndHandler_())}});
var m0=function(){return _.K.apply(this,arguments)||this};
_.q(m0,_.K);m0.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{clipAttributionRenderer:"ytd-clip-attribution-renderer",clipCreationRenderer:"yt-clip-creation-renderer"}},"data.footer":{id:"footer",mapping:{clipSectionFooterRenderer:"ytd-clip-section-footer-renderer"}}}};
m0.prototype.onPanelContentVisibleChanged=function(){this.data&&this.data.contents&&this.data.contents.some(function(a){return a.hasOwnProperty("clipCreationRenderer")})&&_.C(this,"yt-clip-creation-visibility-changed",[{visible:!!this.panelContentVisible}])};
_.t.Object.defineProperties(m0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-clip-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_section_renderer.ytd.clip.section.renderer.css.js--\x3e<div id="contents"></div>\n<div id="footer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_clip_section_renderer.ytd.clip.section.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host,#contents {overflow: hidden;-ms-flex: 1 1 0%;-webkit-flex: 1 1 0%;flex: 1 1 0%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-clip-section-renderer.css.map*/</style>";
DFb=d}d=DFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EFb=a}a=EFb;return a}}});
var n0=m0;n0.prototype.onPanelContentVisibleChanged=n0.prototype.onPanelContentVisibleChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],n0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],n0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.gw.YtVisibilityBehavior),_.T("design:type",Object)],n0.prototype,"ytVisibilityBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],n0.prototype,"ytdReduxBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],n0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],n0.prototype,"panelContentVisible",void 0);_.S([_.N({selector:_.R0a}),_.T("design:type",Boolean)],n0.prototype,"isWatchPage",void 0);_.S([_.P("panelContentVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],n0.prototype,"onPanelContentVisibleChanged",null);n0=_.S([_.Q({is:"ytd-clip-section-renderer"})],n0);
var RFb;
var SFb;
var o0=function(){return _.K.apply(this,arguments)||this};
_.q(o0,_.K);_.f=o0.prototype;
_.f.onKeyDown=function(a){if(0!==this.snippetElements.length&&(a=a.keyCode,38===a||40===a)){0<=this.highlightedIndex&&this.removeSnippetHighlight(this.snippetElements[this.highlightedIndex]);38===a?this.highlightedIndex--:this.highlightedIndex++;this.highlightedIndex=_.Az(this.highlightedIndex,-1,this.snippetElements.length);a=this.snippetElements.length;var b=this.highlightedIndex%a;this.highlightedIndex=0>b*a?b+a:b;a=this.snippetElements[this.highlightedIndex];this.highlightSnippet(a);this.ensureVisible(a)}};
_.f.onKeyUp=function(a){var b=this;lDb(a)&&(13===a.keyCode?(this.selectSnippet(this.snippetElements[this.highlightedIndex]),this.inputElement.blur()):this.filterSnippets(this.snippets,this.typedValue),this.inputTimerId&&_.xe.cancelJob(this.inputTimerId),this.inputTimerId=_.xe.addLowPriorityJob(function(){b.typedValue&&(b.fetchSnippets(b.typedValue),b.logInputGesture(b.data))},1E3))};
_.f.onClick=function(a){(a=_.nx(a.target,null,"snippet-item"))&&this.selectSnippet(a)};
_.f.panelContentVisibleChanged=function(){this.panelContentVisible&&this.inputElement.focus()};
_.f.created=function(){this.ytActionHandlerBehavior.actionMap={"yt-update-search-in-video-results-action":"onUpdateSearchInVideoResults"}};
_.f.ready=function(){var a=this;this.inputElement.addEventListener("focus",function(){a.snippetsWrapper.style.removeProperty("display")})};
_.f.dataChanged=function(){this.typedValue="";this.snippets=[];this.fetchSnippets("")};
_.f.getSourceTimelines=function(){if(!this.data)return[];var a=[];if(this.data.searchInVideoSources)for(var b=_.k(this.data.searchInVideoSources),c=b.next();!c.done;c=b.next())c=c.value,"SEARCH_IN_VIDEO_SOURCE_ASR"===c?a.push({type:"TIMELINE_TYPE_STRUCTURAL_ASR"}):"SEARCH_IN_VIDEO_SOURCE_OCR"===c&&a.push({type:"TIMELINE_TYPE_OCR_LABEL_SPAN"});return a};
_.f.fetchSnippets=function(a){var b=_.C(this,"yt-get-current-video-id-action")[0],c=this.getSourceTimelines();_.Kg(this,[{getSearchInVideoCommand:{externalVideoId:b,query:null!=a?a:"",sourceTimelines:c},commandMetadata:{webCommandMetadata:{apiUrl:"/youtubei/v1/in_video/search",sendPost:!0,url:"/service_ajax"}}}])};
_.f.filterSnippets=function(a,b){var c=this;if(b){this.filteredSnippets=(0,_.u.unsafeClone)(a);var d=RegExp(_.Tea(b),"i");this.filteredSnippets=this.filteredSnippets.filter(function(l){return d.test(c.ytRendererBehavior.getSimpleString(l.snippet))});
a=_.k(this.filteredSnippets);for(var e=a.next();!e.done;e=a.next()){e=e.value;var h=this.ytRendererBehavior.getSimpleString(e.snippet);e.snippet={runs:[{text:h.substring(0,h.toLowerCase().indexOf(b))},{text:h.substring(h.toLowerCase().indexOf(b),h.toLowerCase().indexOf(b)+b.length),bold:!0},{text:h.substring(h.toLowerCase().indexOf(b)+b.length,h.length)}]}}}else this.filteredSnippets=a};
_.f.onUpdateSearchInVideoResults=function(a){if(!(0<this.snippets.length)){var b,c,d;if(null!=(d=null==a?void 0:null==(b=a.updateSearchInVideoResultsAction)?void 0:null==(c=b.results)?void 0:c.length)&&d){var e;this.filteredSnippets=this.snippets=(null==a?void 0:null==(e=a.updateSearchInVideoResultsAction)?void 0:e.results).map(function(h){var l,m,p;return{startMs:null==h?void 0:null==(l=h.searchInVideoResultRenderer)?void 0:l.startMs,startTimeText:null==h?void 0:null==(m=h.searchInVideoResultRenderer)?
void 0:m.startTimeText,snippet:null==h?void 0:null==(p=h.searchInVideoResultRenderer)?void 0:p.snippet}})}}};
_.f.updateSnippetElements=function(){this.snippetElements=Array.from(this.snippetsWrapper.getElementsByClassName("snippet-item"));0<=this.highlightedIndex&&this.highlightedIndex<this.snippetElements.length&&this.removeSnippetHighlight(this.snippetElements[this.highlightedIndex]);this.highlightedIndex=-1;this.snippetsWrapper.scrollTop=0};
_.f.highlightSnippet=function(a){a.classList.add("highlighted")};
_.f.removeSnippetHighlight=function(a){a.classList.remove("highlighted")};
_.f.selectSnippet=function(a){this.typedValue=String(a.dataset.text);this.filterSnippets(this.snippets,this.typedValue);this.snippetsWrapper.style.display="none";this.seekPlayer(a);this.data&&this.ytRendererBehavior.logExplicitClick(this.data)};
_.f.ensureVisible=function(a){var b=this.snippetsWrapper.scrollTop,c=b+this.snippetsWrapper.clientHeight,d=a.offsetTop-this.snippetsWrapper.offsetTop;a=d+a.clientHeight;d<b?this.snippetsWrapper.scrollTop-=b-d:a>c&&(this.snippetsWrapper.scrollTop+=a-c)};
_.f.seekPlayer=function(a){var b,c;return _.y(function(d){if(1==d.nextAddress){if(!a)return d.jumpTo(0);b=Number(a.dataset.startOffset);return _.B(d,_.qw().getPlayerPromise(),3)}c=d.yieldResult;c.seekTo(b/1E3,!0);c.wakeUpControls();_.bf(d)})};
_.f.logInputGesture=function(a){var b=_.fg();b&&(null==a?0:a.trackingParams)&&_.ug(void 0,b,_.no(a.trackingParams),"INTERACTION_LOGGING_GESTURE_TYPE_INPUT_TEXT")};
_.t.Object.defineProperties(o0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-in-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search_in_video.ytd_search_in_video_renderer.ytd.search.in.video.renderer.css.js--\x3e<tp-yt-paper-input-container class="input-container" aria-owns="siv-snippets-wrapper" no-label-float="true">\n  <yt-icon class="icon" slot="prefix" icon="yt-icons:find_in_page"></yt-icon>\n  <input id="siv-input" slot="input" value="{{typedValue::input}}" type="text" placeholder="[[getSimpleString(data.placeholderText)]]" aria-autocomplete="list" aria-controls="siv-snippets-wrapper" aria-haspopup="listbox" role="combobox">\n</tp-yt-paper-input-container>\n<div id="siv-snippets-wrapper" class="snippets-wrapper" role="listbox">\n  <div class="no-results-item" hidden="[[filteredSnippets.length]]">\n    [[getSimpleString(data.noResultsMessage)]]\n  </div>\n  <template is="dom-repeat" items="[[filteredSnippets]]" hidden="[[!filteredSnippets.length]]" on-dom-change="updateSnippetElements">\n    \n    <div class="snippet-item" role="option" data-start-offset$="[[item.startMs]]" data-text$="[[getSimpleString(item.snippet)]]">\n      <yt-formatted-string class="start-time-text" text="[[item.startTimeText]]">\n      </yt-formatted-string>\n      <yt-formatted-string class="snippet-text" text="[[item.snippet]]">\n      </yt-formatted-string>\n    </div>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search_in_video.ytd_search_in_video_renderer.ytd.search.in.video.renderer.css.js--\x3e<style>:host {display: block;max-height: 224px;background: var(--yt-spec-general-background-a);border-top: 1px solid var(--yt-spec-10-percent-layer);--paper-input-container-floated-label-placeholder-display: none;--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;} .snippets-wrapper {max-height: 180px;overflow-y: auto;overflow-x: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .input-container {margin: 0 12px 0 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} .icon {vertical-align: baseline;padding-right: 8px;color: var(--yt-spec-text-primary);} .snippet-item.highlighted {border-left: 3px solid var(--yt-spec-themed-blue);} .snippet-item.highlighted .start-time-text {color: var(--yt-spec-text-primary);} .snippet-item.highlighted {padding-left: 0;} .snippet-item:hover .start-time-text {color: var(--yt-spec-call-to-action);} .snippet-item:hover .snippet-text {background-color: var(--yt-spec-badge-chip-background);} .snippet-item {padding: 8px 16px 8px 3px;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .start-time-text {color: var(--yt-spec-text-secondary);margin: 0 16px 0 12px;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} .snippet-text {margin-left: 12px;color: var(--yt-spec-text-primary);} .no-results-item {color: var(--yt-spec-text-disabled);padding: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-search-in-video-renderer.css.map*/</style>';
RFb=d}d=RFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SFb=a}a=SFb;return a}}});
var p0=o0;p0.prototype.dataChanged=p0.prototype.dataChanged;p0.prototype.panelContentVisibleChanged=p0.prototype.panelContentVisibleChanged;p0.prototype.onClick=p0.prototype.onClick;p0.prototype.onKeyUp=p0.prototype.onKeyUp;p0.prototype.onKeyDown=p0.prototype.onKeyDown;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],p0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],p0.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],p0.prototype,"data",void 0);_.S([_.N({value:[]}),_.T("design:type",Array)],p0.prototype,"snippets",void 0);_.S([_.N({value:[]}),_.T("design:type",Array)],p0.prototype,"filteredSnippets",void 0);_.S([_.N({value:[]}),_.T("design:type",Array)],p0.prototype,"snippetElements",void 0);_.S([_.Z("#siv-input"),_.T("design:type",HTMLElement)],p0.prototype,"inputElement",void 0);
_.S([_.Z("#siv-snippets-wrapper"),_.T("design:type",HTMLElement)],p0.prototype,"snippetsWrapper",void 0);_.S([_.N({notify:!0}),_.T("design:type",String)],p0.prototype,"typedValue",void 0);_.S([_.N({value:-1}),_.T("design:type",Number)],p0.prototype,"highlightedIndex",void 0);_.S([_.O("keydown"),_.T("design:type",Function),_.T("design:paramtypes",[_.Ak]),_.T("design:returntype")],p0.prototype,"onKeyDown",null);
_.S([_.O("keyup"),_.T("design:type",Function),_.T("design:paramtypes",[_.Ak]),_.T("design:returntype")],p0.prototype,"onKeyUp",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],p0.prototype,"onClick",null);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],p0.prototype,"panelContentVisible",void 0);
_.S([_.P("panelContentVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],p0.prototype,"panelContentVisibleChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],p0.prototype,"dataChanged",null);p0=_.S([_.Q({asyncProperties:!0,is:"ytd-search-in-video-renderer"})],p0);
var TFb;
var UFb;
var VFb=function(){return _.K.apply(this,arguments)||this};
_.q(VFb,_.K);
_.t.Object.defineProperties(VFb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===UFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-list-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_list_item_renderer.ytd.product.list.item.renderer.css.js--\x3e<a id="container" class="yt-simple-endpoint" href$="[[computeHref_(data.onClickCommand)]]" rel="[[computeNofollow_(data.onClickCommand)]]" data="[[data.onClickCommand]]"><div id="product-thumbnail"><yt-img-shadow object-fit="CONTAIN" thumbnail="[[data.thumbnail]]"></yt-img-shadow></div><div id="product-info"><h4 id="product-title">[[getSimpleString(data.title)]]</h4><div id="brand-name">[[data.brandName]]</div><template is="dom-if" if="[[data.price]]"><div id="product-price">[[data.price]]</div></template><div id="call-to-action">[[getSimpleString(data.ctaText)]]</div></div></a>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_list_item_renderer.ytd.product.list.item.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;padding: 8px;} :host:hover {background: var(--yt-spec-badge-chip-background);} #container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #product-thumbnail {background-color: var(--yt-spec-static-brand-white);margin-right: 8px;height: 80px;width: 80px;} yt-img-shadow {overflow: hidden;height: 80px;width: 80px;} #product-info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #product-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #brand-name {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;color: var(--yt-spec-text-secondary);margin-top: 4px;} #product-price {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;margin-top: 4px;} #call-to-action {margin-top: 8px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;color: var(--yt-spec-themed-blue);} /*# sourceMappingURL=ytd-product-list-item-renderer.css.map*/</style>';
TFb=d}d=TFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);UFb=a}a=UFb;return a}}});
var q0=VFb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],q0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],q0.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],q0.prototype,"data",void 0);q0=_.S([_.Q({asyncProperties:!0,is:"ytd-product-list-item-renderer"})],q0);
var WFb;
var XFb;
var r0=function(){var a=_.K.apply(this,arguments)||this;a.standardizedThemedScrollbar=_.x("kevlar_themed_standardized_scrollbar");return a};
_.q(r0,_.K);r0.prototype.created=function(){this.ytRendererBehavior.monitorScroll=!0};
r0.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{productListItemRenderer:"ytd-product-list-item-renderer"}}}};
r0.prototype.attached=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return b=a,_.B(c,_.qw().getPlayerPromise(),2);b.playerApi=c.yieldResult;_.bf(c)})};
r0.prototype.panelContentVisibleChanged=function(){var a;null==(a=this.playerApi)||a.productsInVideoVisibilityUpdated(!!this.panelContentVisible)};
_.t.Object.defineProperties(r0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_list_renderer.ytd.product.list.renderer.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WFb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_list_renderer.ytd.product.list.renderer.css.js--\x3e<style>:host(:not([standardized-themed-scrollbar])) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;overflow-y: auto;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar {width: 8px;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} :host([standardized-themed-scrollbar]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;overflow-y: auto;} :host([standardized-themed-scrollbar])::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} #contents {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-webkit-flex-shrink: 0;-ms-flex-negative: 0;flex-shrink: 0;} /*# sourceMappingURL=ytd-product-list-renderer.css.map*/</style>";
WFb=d}d=WFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XFb=a}a=XFb;return a}}});
var s0=r0;s0.prototype.panelContentVisibleChanged=s0.prototype.panelContentVisibleChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],s0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],s0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],s0.prototype,"panelContentVisible",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],s0.prototype,"standardizedThemedScrollbar",void 0);_.S([_.N(),_.T("design:type",Object)],s0.prototype,"data",void 0);_.S([_.P("panelContentVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],s0.prototype,"panelContentVisibleChanged",null);s0=_.S([_.Q({is:"ytd-product-list-renderer"})],s0);
var YFb;
var ZFb;
var t0=function(){var a=_.K.apply(this,arguments)||this;a.standardizedThemedScrollbar=_.x("kevlar_themed_standardized_scrollbar");return a};
_.q(t0,_.K);t0.prototype.observeLightsourcePalette=function(){var a,b=null==(a=this.data)?void 0:a.vibrantsourceColorPaletteData;b&&_.av(this,b)};
t0.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!1}}}}}};
_.t.Object.defineProperties(t0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZFb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-media-upsell-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_media_upsell_renderer.ytd.media.upsell.renderer.css.js--\x3e<div class="details-wrapper">\n  <div class="image-wrapper">\n    <yt-img-shadow class="media-thumbnail" thumbnail="[[data.thumbnail]]">\n    </yt-img-shadow>\n    <div class="tv-show-season-wrapper" hidden="[[!data.tvShowSeasons]]">\n      <yt-icon id="tv-show-icon" icon="tv"></yt-icon>\n      <p id="tv-show-season">\n        [[getSimpleString(data.tvShowSeasons)]]\n      </p>\n    </div>\n  </div>\n  <div class="details">\n    <div class="metadata-wrapper">\n      <span id="media-title" hidden="[[!data.mediaTitle]]">\n        [[getSimpleString(data.mediaTitle)]]\n      </span>\n      <span id="metadata" hidden="[[!data.metadata]]">\n        [[getSimpleString(data.metadata)]]\n      </span>\n    </div>\n    <div id="action-button"></div>\n  </div>\n</div>\n<ytd-expander id="expander" hidden="[[!data.synopsis]]" max-number-of-lines="4">\n  <yt-formatted-string id="synopsis" slot="content" disable-upgrade$="[[!data.synopsis]]" hidden="[[!data.synopsis]]" text="[[data.synopsis]]">\n  </yt-formatted-string>\n  <div class="more-button" slot="more-button">\n    <span class="expander-text">[[getSimpleString(data.moreButtonText)]]</span>\n    <yt-icon id="drop-down-icon" icon="arrow_drop_down"></yt-icon>\n  </div>\n  <div class="less-button" slot="less-button">\n    <span class="expander-text">[[getSimpleString(data.lessButtonText)]]</span>\n    <yt-icon id="drop-up-icon" icon="arrow_drop_up"></yt-icon>\n  </div>\n</ytd-expander>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YFb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_media_upsell_renderer.ytd.media.upsell.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;max-width: 420px;--yt-img-max-height: 100px;--yt-img-min-height: 100px;--yt-lightsource-section3-color: var(--yt-spec-general-background-c);--yt-lightsource-primary-title-color: var(--yt-spec-text-primary);} :host(:not([standardized-themed-scrollbar])) {overflow-y: auto;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar {width: 8px;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} :host([standardized-themed-scrollbar]) {overflow-y: auto;} :host([standardized-themed-scrollbar])::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} .details-wrapper {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;padding: 16px;} .details {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;justify-content: space-between;margin: 0 0 0 12px;} .metadata-wrapper {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} .media-thumbnail {max-width: 160px;display: block;} #media-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;color: var(--yt-spec-text-primary);margin: 0 0 4px 0;} #metadata {min-height: 0px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;color: var(--yt-spec-text-secondary);margin: 0 0 12px 0;} #synopsis {color: var(--yt-spec-text-secondary);} #expander {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;margin: 0 16px;} .more-button,.less-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .expander-text {margin: 8px 0px 16px;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;color: var(--yt-spec-text-secondary);} #drop-down-icon,#drop-up-icon {margin: 6px 0px 16px;color: var(--yt-spec-text-secondary);} .image-wrapper {display: inline-block;position: relative;height: fit-content;} .tv-show-season-wrapper {background-color: var(--yt-lightsource-section3-color);opacity: 0.8;bottom: 0;position: absolute;height: 24px;width: 100%;} #tv-show-season {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;bottom: 0;color: var(--yt-lightsource-primary-title-color);position: absolute;right: 5px;max-width: 75%;} #tv-show-icon {bottom: 0;color: var(--yt-lightsource-primary-title-color);left: 5px;position: absolute;} /*# sourceMappingURL=ytd-media-upsell-renderer.css.map*/</style>';
YFb=d}d=YFb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZFb=a}a=ZFb;return a}}});
var u0=t0;u0.prototype.observeLightsourcePalette=u0.prototype.observeLightsourcePalette;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],u0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],u0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],u0.prototype,"standardizedThemedScrollbar",void 0);_.S([_.N(),_.T("design:type",Object)],u0.prototype,"data",void 0);
_.S([_.P("data.vibrantsourceColorPaletteData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],u0.prototype,"observeLightsourcePalette",null);u0=_.S([_.Q({asyncProperties:!0,is:"ytd-media-upsell-renderer"})],u0);
var $Fb;
var aGb;
var bGb;
var cGb;
var v0=function(){return _.K.apply(this,arguments)||this};
_.q(v0,_.K);v0.prototype.onTap=function(){this.data&&(this.data.navigationEndpoint&&this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint}),this.data.clickCommand&&_.Lg(this,[this.data.clickCommand],this))};
v0.prototype.computeHideMediaQuery=function(){return"(min-width: 600px) and (max-width: "+((0,_.AH)()+1E3)+"px)"};
_.t.Object.defineProperties(v0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ad-engagement-panel-banner-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ad_engagement_panel_banner_renderer.ytd.ad.engagement.panel.banner.renderer.css.js--\x3e<iron-media-query query="[[computeHideMediaQuery()]]" query-matches="{{shouldHide}}">\n</iron-media-query>\n<a class="yt-simple-endpoint banner-click-container" hidden="[[shouldHide]]" on-tap="onTap">\n  <yt-img-shadow class="banner-image" fit="" thumbnail="[[data.bannerImage]]">\n  </yt-img-shadow>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bGb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ad_engagement_panel_banner_renderer.ytd.ad.engagement.panel.banner.renderer.css.js--\x3e<style>:host {display: block;} .banner-click-container,.banner-image {height: 100%;width: 100%;} /*# sourceMappingURL=ytd-ad-engagement-panel-banner-renderer.css.map*/</style>";
bGb=d}d=bGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cGb=a}a=cGb;return a}}});
var w0=v0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],w0.prototype,"rendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],w0.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],w0.prototype,"shouldHide",void 0);w0=_.S([_.Q({asyncProperties:!0,is:"ytd-ad-engagement-panel-banner-renderer"})],w0);
var dGb;
var eGb;
var fGb;
var gGb;
var hGb=function(){var a=_.K.apply(this,arguments)||this;a.standardizeIconSize=_.x("kevlar_system_icons");return a};
_.q(hGb,_.K);
_.t.Object.defineProperties(hGb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ad-hover-text-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_ad_hover_text_button_renderer.ytd.ad.hover.text.button.renderer.css.js--\x3e<ytd-button-renderer id="info-button" data="[[data.button.buttonRenderer]]" hidden="[[!data.button]]">\n</ytd-button-renderer>\n<tp-yt-paper-tooltip id="ad-info-tooltip" for="info-button" hidden="[[!data.hoverText]]" position="bottom">\n  [[getSimpleString(data.hoverText)]]\n</tp-yt-paper-tooltip>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fGb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_ad_hover_text_button_renderer.ytd.ad.hover.text.button.renderer.css.js--\x3e<style>:host {opacity: 0.9;display: block;} :host(:hover) {opacity: 1;} #ad-info-tooltip {white-space: nowrap;} #info-button {position: relative;vertical-align: top;width: 15px;height: 15px;--yt-button-icon-padding: 1px;--yt-button-icon-size: 15px;-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([standardize-icon-size]) #info-button {width: 16px;height: 16px;--yt-button-icon-size: 16px;} #info-button ::slotted(a) {cursor: pointer;position: absolute;top: 0;right: 0;} /*# sourceMappingURL=ytd-ad-hover-text-button-renderer.css.map*/</style>";
fGb=d}d=fGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gGb=a}a=gGb;return a}}});
var x0=hGb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],x0.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],x0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],x0.prototype,"standardizeIconSize",void 0);x0=_.S([_.Q({asyncProperties:!0,is:"ytd-ad-hover-text-button-renderer"})],x0);
var y0=function(){return _.K.apply(this,arguments)||this};
_.q(y0,_.K);y0.prototype.computeHideDefaultAdBadge=function(a,b){return this.data&&!this.data.badges||b};
_.t.Object.defineProperties(y0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-engagement-panel-ad-subtitle-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_engagement_panel_ad_subtitle_renderer.ytd.engagement.panel.ad.subtitle.renderer.css.js--\x3e<span id="ad-badge-text" hidden="[[!useCustomAdBadge]]">[[adBadgeText]]</span>\n<ytd-badge-supported-renderer id="ad-badge" badges="[[data.badges]]" hidden="[[hideDefaultAdBadge]]">\n</ytd-badge-supported-renderer>\n<ytd-ad-hover-text-button-renderer id="ad-info-button" data="[[data.adInfoRenderer.adHoverTextButtonRenderer]]" hidden="[[!data.adInfoRenderer.adHoverTextButtonRenderer]]">\n</ytd-ad-hover-text-button-renderer>\n<yt-formatted-string id="subtitle" ellipsis-truncate="" text="[[data.subtitle]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dGb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_engagement_panel_ad_subtitle_renderer.ytd.engagement.panel.ad.subtitle.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #ad-badge {margin-right: 4px;} #ad-badge-text {color: var(--yt-spec-static-brand-white);margin-right: 4px;overflow: visible;padding-top: 1px;font-size: 1.2rem;font-weight: 500;line-height: 1.5rem;display: -ms-flexbox;display: -webkit-flex;display: flex;} #ad-info-button {height: 16px;margin-right: 8px;} #subtitle {color: var(--yt-spec-text-secondary);padding-top: 1px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} /*# sourceMappingURL=ytd-engagement-panel-ad-subtitle-renderer.css.map*/</style>";
dGb=d}d=dGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);eGb=a}a=eGb;return a}}});
var z0=y0;_.S([_.N(),_.T("design:type",Object)],z0.prototype,"data",void 0);_.S([_.N({value:function(){return _.x("enable_basic_immersive_desktop_color_extraction")}}),
_.T("design:type",Boolean)],z0.prototype,"useCustomAdBadge",void 0);_.S([_.N({value:function(){return _.Bg("AD_BADGE_TEXT",void 0,"Ad")}}),
_.T("design:type",String)],z0.prototype,"adBadgeText",void 0);_.S([_.N({computed:"computeHideDefaultAdBadge(data, useCustomAdBadge)"}),_.T("design:type",Boolean)],z0.prototype,"hideDefaultAdBadge",void 0);z0=_.S([_.Q({asyncProperties:!0,is:"ytd-engagement-panel-ad-subtitle-renderer"})],z0);
var iGb;
var jGb;
var A0=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-engagement-panel-header-show-navigation-button-command":"onYtEngagementPanelHeaderShowNavigationButtonCommand"};return a};
_.q(A0,_.K);_.f=A0.prototype;
_.f.configureRendererStamper=function(){return{"data.visibilityButton":{id:"visibility-button",mapping:{buttonRenderer:"ytd-button-renderer",toggleButtonRenderer:"ytd-toggle-button-renderer"}},"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer",sortFilterSubMenuRenderer:"yt-sort-filter-sub-menu-renderer"}},"data.subtitleComplex":{id:"subtitle-complex",mapping:{engagementPanelAdSubtitleRenderer:"ytd-engagement-panel-ad-subtitle-renderer"}},"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"ytd-button-renderer"}},
"data.informationButton":{id:"information-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.banner":{id:"banner",mapping:{adEngagementPanelBannerRenderer:"ytd-ad-engagement-panel-banner-renderer"}},"data.navigationButton":{id:"navigation-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.dataChanged=function(){var a;(null==(a=this.data)?0:a.backgroundColor)&&_.x("enable_basic_immersive_desktop_color_extraction")?(this.disableDefaultColors=!0,this.$.header.style.backgroundColor=_.ru(this.data.backgroundColor)):this.disableDefaultColors=!1};
_.f.collapsedChanged=function(){var a;null!=(a=this.data)&&a.actionButton?this.hideActionButton=_.x("use_ads_engagement_panel_desktop_footer_cta")?!this.collapsed:!1:this.hideActionButton=!0};
_.f.focus=function(a){_.fy(this.titleElement,a)};
_.f.computeTitleAriaLabel=function(a){var b=[];a.title&&b.push(this.ytRendererBehavior.getSimpleString(a.title));a.contextualInfo&&b.push(this.ytRendererBehavior.getSimpleString(a.contextualInfo));return b.join(" ")};
_.f.onHeaderClick=function(a){this.shouldTriggerHeaderClick(a)&&this.data&&(this.data.navigationEndpoint||this.data.onClickCommand?(this.data.navigationEndpoint&&this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint}),this.data.onClickCommand&&_.Lg(this,[this.data.onClickCommand],this)):(a=this.getVisibilityToggleButton())&&a.click())};
_.f.onVisibilityButtonClick=function(){if(this.data&&this.data.visibilityButton){var a=this.data.visibilityButton.buttonRenderer||this.data.visibilityButton.toggleButtonRenderer;a&&this.ytRendererBehavior.logExplicitClick(a)}};
_.f.getVisibilityToggleButton=function(){var a=this.$["visibility-button"].firstElementChild;return"ytd-toggle-button-renderer"===(null==a?void 0:a.is)?a:null};
_.f.shouldTriggerHeaderClick=function(a){return!_.Hx(_.H(a).path||[],this,["YTD-MENU-RENDERER","YTD-BUTTON-RENDERER","YTD-TOGGLE-BUTTON-RENDERER"])};
_.f.onYtEngagementPanelHeaderShowNavigationButtonCommand=function(a){a=a.engagementPanelHeaderShowNavigationButtonCommand;this.targetId&&(null==a?void 0:a.targetId)===this.targetId&&(a=a.navigationButton)&&this.set("data.navigationButton",a)};
_.t.Object.defineProperties(A0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-engagement-panel-title-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_engagement_panel_title_header_renderer.ytd.engagement.panel.title.header.renderer.css.js--\x3e<div id="banner" aria-hidden="true"></div>\n<div id="header" on-click="onHeaderClick">\n  <div id="navigation-button" hidden="[[!data.navigationButton]]"></div>\n  <yt-img-shadow id="icon" hidden="[[!data.icon]]" thumbnail="[[data.icon]]"></yt-img-shadow>\n  <div id="title-container">\n    <h2 id="title" aria-label$="[[computeTitleAriaLabel(data)]]">\n      <yt-formatted-string id="title-text" ellipsis-truncate="" text="[[data.title]]">\n      </yt-formatted-string>\n      <yt-formatted-string id="contextual-info" hidden="[[!data.contextualInfo]]" text="[[data.contextualInfo]]">\n      </yt-formatted-string>\n    </h2>\n    <div id="subtitle-complex"></div>\n  </div>\n  <div id="action-button" hidden="[[hideActionButton]]"></div>\n  <div id="information-button" hidden="[[!data.informationButton]]"></div>\n  <div id="menu"></div>\n  <div id="visibility-button" on-click="onVisibilityButtonClick"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_engagement_panel_title_header_renderer.ytd.engagement.panel.title.header.renderer.css.js--\x3e<style>:host {display: block;} #header {display: block;padding: 4px 2px 4px 16px;color: var(--yt-spec-text-primary);background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #icon {height: 40px;margin: 8px 12px 8px 0;width: 40px;border-radius: 50%;background-color: transparent;overflow: hidden;} #title-container {margin: 10px 8px 10px 0px;overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #title {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #contextual-info {margin-left: 8px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #action-button {margin: 10px 8px 10px 0px;} #action-button ytd-button-renderer {--yt-paper-button-height: 32px;} #menu:not(:empty) {margin-right: 8px;} #menu yt-sort-filter-sub-menu-renderer {--yt-dropdown-menu-button-height: 40px;--yt-dropdown-menu-button-width: 40px;} #menu {--ytd-menu-renderer-button-color: var(--yt-spec-icon-active-other);} #visibility-button,#information-button {--yt-button-color: var(--yt-spec-icon-active-other);} :host([disable-default-colors]) #visibility-button {--yt-button-color: initial;} :host([disable-default-colors]) #menu {--ytd-menu-renderer-button-color: initial;} #navigation-button {margin-left: -14px;} /*# sourceMappingURL=ytd-engagement-panel-title-header-renderer.css.map*/</style>';
iGb=d}d=iGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jGb=a}a=jGb;return a}}});
var B0=A0;B0.prototype.collapsedChanged=B0.prototype.collapsedChanged;B0.prototype.dataChanged=B0.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],B0.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],B0.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],B0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],B0.prototype,"disableDefaultColors",void 0);_.S([_.N(),_.T("design:type",String)],B0.prototype,"targetId",void 0);_.S([_.N(),_.T("design:type",Boolean)],B0.prototype,"collapsed",void 0);_.S([_.N(),_.T("design:type",Boolean)],B0.prototype,"hideActionButton",void 0);_.S([_.Z("#title"),_.T("design:type",HTMLElement)],B0.prototype,"titleElement",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B0.prototype,"dataChanged",null);_.S([_.Ct("collapsed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B0.prototype,"collapsedChanged",null);B0=_.S([_.Q({asyncProperties:!0,is:"ytd-engagement-panel-title-header-renderer"})],B0);
var kGb;
var lGb;
var C0=function(){return _.K.apply(this,arguments)||this};
_.q(C0,_.K);C0.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.editButton":{id:"edit",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(C0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-macro-markers-info-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_macro_markers_info_item_renderer.ytd.macro.markers.info.item.renderer.css.js--\x3e<yt-formatted-string text="[[data.infoText]]"></yt-formatted-string>\n<div id="menu"></div>\n<div id="edit"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_macro_markers_info_item_renderer.ytd.macro.markers.info.item.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: none;-webkit-flex: none;flex: none;padding: 0 8px 0 16px;color: var(--yt-spec-text-primary);} yt-formatted-string {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #edit {--yt-button-padding: 10px 8px;--yt-paper-button-min-width: 0px;} /*# sourceMappingURL=ytd-macro-markers-info-item-renderer.css.map*/</style>';
kGb=d}d=kGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lGb=a}a=lGb;return a}}});
var D0=C0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],D0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],D0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],D0.prototype,"data",void 0);D0=_.S([_.Q({asyncProperties:!0,is:"ytd-macro-markers-info-item-renderer"})],D0);
var mGb;
var nGb;
var E0=function(){var a=_.K.apply(this,arguments)||this;a.standardizedThemedScrollbar=_.x("kevlar_themed_standardized_scrollbar");a.browsingMode=!1;a.actionMap={"yt-set-active-panel-item-action":"handleSetActivePanelItemAction"};return a};
_.q(E0,_.K);_.f=E0.prototype;_.f.created=function(){var a=this;this.scrollAnimation=new _.w_(function(b){a.$.contents.scrollTop=b});
this.boundExitBrowsingMode=function(){a.exitBrowsingMode()}};
_.f.detached=function(){this.removePlayerSeekListener()};
_.f.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{macroMarkersListItemRenderer:"ytd-macro-markers-list-item-renderer",macroMarkersInfoItemRenderer:"ytd-macro-markers-info-item-renderer"}}}};
_.f.dataChanged=function(){this.exitBrowsingMode()};
_.f.computeSyncEnabled=function(a){return!(null==a||!a.syncButtonLabel)};
_.f.getItemByIndex=function(a){return this.$.contents.getElementsByTagName("ytd-macro-markers-list-item-renderer")[a]};
_.f.setActiveItem=function(a){this.currentActiveItem&&(this.currentActiveItem.active=!1);a.active=!0;this.currentActiveItem=a};
_.f.handleSetActivePanelItemAction=function(a){if((a=a.setActivePanelItemAction)&&this.panelTargetId===a.panelTargetId){var b=this.getItemByIndex(a.itemIndex);b?(this.setActiveItem(b),!this.browsingMode&&this.panelContentVisible&&this.scrollToItem(b)):_.Rf(new _.ge("Could not find ytd-macro-markers-list-item-renderer to set active.",a.itemIndex,this.$.contents.getElementsByTagName("ytd-macro-markers-list-item-renderer").length))}};
_.f.scrollToItem=function(a){a=this.getScrollPositionForItem(a);var b=this.$.contents;b.scrollTop!==a&&this.scrollAnimation.start(b.scrollTop,a,300)};
_.f.getScrollPositionForItem=function(a){var b=this.$.contents;if(b.getElementsByTagName("ytd-macro-markers-list-item-renderer")[0]===a)return 0;a=_.Zt(a).y+b.scrollTop-_.Zt(b).y;return Math.min(a,b.scrollHeight-b.offsetHeight)};
_.f.onScroll=function(){this.ytRendererBehavior.markDirty();var a=this.$.contents;this.syncEnabled&&!this.browsingMode&&this.currentActiveItem&&!this.scrollAnimation.isAnimating_&&10<Math.abs(a.scrollTop-this.getScrollPositionForItem(this.currentActiveItem))&&this.enterBrowsingMode()};
_.f.enterBrowsingMode=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress){if(a.browsingMode)return c.return();a.browsingMode=!0;b=a;return _.B(c,_.qw().getPlayerPromise(),2)}b.player=c.yieldResult;a.player.addEventListener("SEEK_TO",a.boundExitBrowsingMode);_.bf(c)})};
_.f.exitBrowsingMode=function(){this.browsingMode&&(this.browsingMode=!1,this.scrollToItem(this.currentActiveItem),this.removePlayerSeekListener())};
_.f.removePlayerSeekListener=function(){this.player&&(this.player.removeEventListener("SEEK_TO",this.boundExitBrowsingMode),this.player=void 0)};
_.f.onSyncClick=function(){this.exitBrowsingMode()};
_.f.panelContentVisibleChanged=function(){this.panelContentVisible&&this.syncEnabled&&!this.browsingMode&&this.currentActiveItem&&this.scrollToItem(this.currentActiveItem)};
_.f.onItemClick=function(a){var b=this,c,d,e,h,l;return _.y(function(m){if(1==m.nextAddress){if(!_.x("kevlar_chapters_list_view_seek_by_chapter")||0!==a.button||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey)return m.return();c=a.target;d=_.nx(c,"ytd-macro-markers-list-item-renderer");if(!d)return m.return();e=b.$.contents.getElementsByTagName("ytd-macro-markers-list-item-renderer");h=[].concat(_.sc(e)).indexOf(d);a.stopPropagation();a.preventDefault();return _.B(m,_.qw().getPlayerPromise(),2)}l=m.yieldResult;
l.seekToChapterWithAnimation(h);_.bf(m)})};
_.t.Object.defineProperties(E0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-macro-markers-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_macro_markers_list_renderer.ytd.macro.markers.list.renderer.css.js--\x3e<div id="contents" on-click="onItemClick" on-scroll="onScroll"></div>\n<div id="sync-container" hidden="[[!syncEnabled]]">\n  <tp-yt-paper-button id="sync-button" on-click="onSyncClick">\n    [[getSimpleString(data.syncButtonLabel)]]\n  </tp-yt-paper-button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_macro_markers_list_renderer.ytd.macro.markers.list.renderer.css.js--\x3e<style>:host {position: relative;overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;} #contents {overflow-y: auto;display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;-webkit-box-orient: vertical;-webkit-box-direction: normal;-moz-box-orient: vertical;-moz-box-direction: normal;flex-direction: column;} :host([standardized-themed-scrollbar]) #contents {overflow-y: auto;} :host([standardized-themed-scrollbar]) #contents::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar]) #contents::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar]) #contents::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} :host,#contents {-ms-flex: 1 1 0%;-webkit-flex: 1 1 0%;-webkit-box-flex: 1;-moz-box-flex: 1;flex: 1 1 0%;} :host([browsing-mode]) #contents::after {display: block;content: "";height: 60px;-ms-flex: none;-webkit-flex: none;-webkit-box-flex: 0;-moz-box-flex: 0;flex: none;} #sync-container {position: absolute;left: 0;right: 0;bottom: 0;height: 60px;-webkit-transition: -webkit-transform 0.2s cubic-bezier(0.05,0,0,1);transition: -webkit-transform 0.2s cubic-bezier(0.05,0,0,1);transition: transform 0.2s cubic-bezier(0.05,0,0,1);transition: transform 0.2s cubic-bezier(0.05,0,0,1),-webkit-transform 0.2s cubic-bezier(0.05,0,0,1);display: -ms-flexbox;display: -webkit-flex;display: -webkit-box;display: -moz-box;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-moz-box-orient: horizontal;-moz-box-direction: normal;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;-webkit-box-align: center;-moz-box-align: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;-webkit-box-pack: center;-moz-box-pack: center;justify-content: center;} :host(:not([browsing-mode])) #sync-container {-webkit-transform: translateY(60px);transform: translateY(60px);} #sync-button {color: var(--yt-spec-text-primary-inverse);background: var(--yt-spec-themed-blue);padding: 8px 12px;border-radius: 28px;box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);text-transform: none;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} /*# sourceMappingURL=ytd-macro-markers-list-renderer.css.map*/</style>';
mGb=d}d=mGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nGb=a}a=nGb;return a}}});
var F0=E0;F0.prototype.panelContentVisibleChanged=F0.prototype.panelContentVisibleChanged;F0.prototype.dataChanged=F0.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],F0.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],F0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],F0.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],F0.prototype,"data",void 0);_.S([_.N({computed:"computeSyncEnabled(data)"}),_.T("design:type",Boolean)],F0.prototype,"syncEnabled",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],F0.prototype,"panelTargetId",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],F0.prototype,"panelContentVisible",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],F0.prototype,"standardizedThemedScrollbar",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],F0.prototype,"browsingMode",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],F0.prototype,"dataChanged",null);_.S([_.P("panelContentVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],F0.prototype,"panelContentVisibleChanged",null);F0=_.S([_.Q({asyncProperties:!0,is:"ytd-macro-markers-list-renderer"})],F0);
var oGb;
var pGb;
var qGb=function(){return _.K.apply(this,arguments)||this};
_.q(qGb,_.K);
_.t.Object.defineProperties(qGb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-error-corrections-section-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_error_corrections_section_item_renderer.ytd.error.corrections.section.item.renderer.css.js--\x3e<yt-img-shadow id="channel-thumbnail" height="36" thumbnail="[[data.thumbnail]]" width="36">\n</yt-img-shadow>\n<a id="correction-timestamp" class="yt-simple-endpoint" data="[[data.onTap]]" href$="[[computeHref_(data.onTap)]]" on-click="onEndpointClick">\n  <yt-formatted-string text="[[data.timeLabel]]"></yt-formatted-string>\n</a>\n<div id="correction-text">\n  <yt-formatted-string text="[[data.correctionText]]"></yt-formatted-string>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_error_corrections_section_item_renderer.ytd.error.corrections.section.item.renderer.css.js--\x3e<style>:host {padding: 12px;padding-left: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;} #channel-thumbnail {margin-right: 12px;height: 100%;border-radius: 50%;background-color: transparent;overflow: hidden;} #correction-timestamp {padding: 2px 6px;margin-right: 8px;border-radius: 2px;color: var(--yt-spec-themed-blue);background-color: var(--yt-spec-suggested-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #correction-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-error-corrections-section-item-renderer.css.map*/</style>';
oGb=d}d=oGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pGb=a}a=pGb;return a}}});
var G0=qGb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],G0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],G0.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],G0.prototype,"data",void 0);G0=_.S([_.Q({asyncProperties:!0,is:"ytd-error-corrections-section-item-renderer"})],G0);
var rGb;
var sGb;
var H0=function(){return _.K.apply(this,arguments)||this};
_.q(H0,_.K);H0.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{errorCorrectionsSectionItemRenderer:"ytd-error-corrections-section-item-renderer"}}}};
_.t.Object.defineProperties(H0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-error-corrections-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_error_corrections_section_renderer.ytd.error.corrections.section.renderer.css.js--\x3e<div id="header">\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <div id="flex"></div>\n  <ytd-button-renderer id="view_all_button" data="[[data.viewAllButton.buttonRenderer]]">\n  </ytd-button-renderer>\n</div>\n<div id="items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_error_corrections_section_renderer.ytd.error.corrections.section.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #flex {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-error-corrections-section-renderer.css.map*/</style>';
rGb=d}d=rGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sGb=a}a=sGb;return a}}});
var I0=H0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],I0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],I0.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],I0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],I0.prototype,"data",void 0);I0=_.S([_.Q({asyncProperties:!0,is:"ytd-error-corrections-section-renderer"})],I0);
var tGb;
var uGb;
var J0=function(){return _.K.apply(this,arguments)||this};
_.q(J0,_.K);J0.prototype.configureRendererStamper=function(){return{"data.subscribeButton":{id:"subscribe-button",mapping:{subscribeButtonRenderer:"ytd-subscribe-button-renderer",buttonRenderer:"ytd-button-renderer"}}}};
J0.prototype.onTap=function(a){var b=this.data&&this.data.endpoint;b&&!_.Hx(_.H(a).path,this,["YTD-SUBSCRIBE-BUTTON-RENDERER","YTD-BUTTON-RENDERER"])&&this.fire("yt-navigate",{endpoint:b})};
_.t.Object.defineProperties(J0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-autotagging-metadata-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_autotagging_metadata_renderer.ytd.autotagging.metadata.renderer.css.js--\x3e<div id="outer-container" on-tap="onTap">\n  <ytd-thumbnail data="[[data]]">\n  </ytd-thumbnail>\n  <div id="right-container">\n    <div id="title-container">\n      <div id="title">\n        [[getSimpleString(data.title)]]\n      </div>\n      <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n      </ytd-badge-supported-renderer>\n    </div>\n    <div id="subscribe-button"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_autotagging_metadata_renderer.ytd.autotagging.metadata.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-general-background-b);min-width: 280px;max-width: 50%;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #outer-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-thumbnail {--yt-img-border-radius: 68px;display: block;width: 68px;height: 68px;margin: 16px 16px;} #right-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #title-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #badges {--ytd-badge-icon-size: 18px;} /*# sourceMappingURL=ytd-autotagging-metadata-renderer.css.map*/</style>';
tGb=d}d=tGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uGb=a}a=uGb;return a}}});
var K0=J0;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],K0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],K0.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],K0.prototype,"data",void 0);K0=_.S([_.Q({asyncProperties:!0,is:"ytd-autotagging-metadata-renderer"})],K0);
var vGb;
var wGb;
var L0=function(){return _.K.apply(this,arguments)||this};
_.q(L0,_.K);L0.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{autotaggingMetadataRenderer:"ytd-autotagging-metadata-renderer"}}}};
_.t.Object.defineProperties(L0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-autotagging-metadata-row-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_autotagging_metadata_row_renderer.ytd.autotagging.metadata.row.renderer.css.js--\x3e<div id="header">\n  [[getSimpleString(data.header)]]\n</div>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_autotagging_metadata_row_renderer.ytd.autotagging.metadata.row.renderer.css.js--\x3e<style>:host {display: block;margin-top: 8px;} #header {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #contents {margin-right: -16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #contents>* {margin: 12px 16px 12px 0;} /*# sourceMappingURL=ytd-autotagging-metadata-row-renderer.css.map*/</style>';
vGb=d}d=vGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wGb=a}a=wGb;return a}}});
var M0=L0;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],M0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],M0.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],M0.prototype,"data",void 0);M0=_.S([_.Q({asyncProperties:!0,is:"ytd-autotagging-metadata-row-renderer"})],M0);
var xGb;
var yGb;
var zGb;
var AGb;
var N0=function(){var a=_.K.apply(this,arguments)||this;a.engagementPanelContent=!1;return a};
_.q(N0,_.K);N0.prototype.computeHasDividerLine=function(a,b){return a&&!b};
_.t.Object.defineProperties(N0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===AGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-metadata-row-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_row_header_renderer.ytd.metadata.row.header.renderer.css.js--\x3e<h4 id="content">\n  <yt-formatted-string class="content" text="[[data.content]]"></yt-formatted-string>\n</h4>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_row_header_renderer.ytd.metadata.row.header.renderer.css.js--\x3e<style>:host {padding-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([has-divider-line]) {margin-top: 16px;border-top: 1px solid var(--yt-spec-10-percent-layer);} .content {--yt-endpoint-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);white-space: pre-wrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-metadata-row-header-renderer.css.map*/</style>';
zGb=d}d=zGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);AGb=a}a=AGb;return a}}});
var O0=N0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],O0.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],O0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasDividerLine(data.hasDividerLine, engagementPanelContent)"}),_.T("design:type",Boolean)],O0.prototype,"hasDividerLine",void 0);_.S([_.N(),_.T("design:type",Boolean)],O0.prototype,"engagementPanelContent",void 0);
O0=_.S([_.Q({asyncProperties:!0,is:"ytd-metadata-row-header-renderer"})],O0);
var BGb;
var CGb;
var P0=function(){return _.K.apply(this,arguments)||this};
_.q(P0,_.K);P0.prototype.computeHasDividerLine=function(a){return a};
_.t.Object.defineProperties(P0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-metadata-row-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_row_renderer.ytd.metadata.row.renderer.css.js--\x3e<h4 id="title" hidden$="[[!data.title]]">\n  <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n</h4>\n<div id="content" with-extra-margin$="[[!data.title]]">\n  <template is="dom-repeat" items="[[data.contents]]">\n    <yt-formatted-string class="content content-line-height-override" text="[[item]]">\n    </yt-formatted-string>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_row_renderer.ytd.metadata.row.renderer.css.js--\x3e<style>:host {margin: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([has-divider-line]) {padding-bottom: 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #title {color: var(--yt-spec-text-secondary);margin: 0 16px 0 0;width: 110px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: none;-webkit-flex: none;flex: none;} .content.content-line-height-override {line-height: 2.1rem;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #content[with-extra-margin] {margin-left: 126px;} .content {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary);white-space: pre-wrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .content:not(:last-of-type):after {content: ",";margin: 0 4px 0 1px;} :dir(rtl) .content:not(:last-of-type):before {content: ",";margin: 0 4px 0 1px;} :dir(rtl) .content:not(:last-of-type):after {content: "";margin: 0;} /*# sourceMappingURL=ytd-metadata-row-renderer.css.map*/</style>';
BGb=d}d=BGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CGb=a}a=CGb;return a}}});
var Q0=P0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Q0.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Q0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasDividerLine(data.hasDividerLine)"}),_.T("design:type",Boolean)],Q0.prototype,"hasDividerLine",void 0);Q0=_.S([_.Q({asyncProperties:!0,is:"ytd-metadata-row-renderer"})],Q0);
var DGb;
var EGb;
var FGb=function(){return _.K.apply(this,arguments)||this};
_.q(FGb,_.K);
_.t.Object.defineProperties(FGb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-metadata-with-image-row-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_with_image_row_renderer.ytd.metadata.with.image.row.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.thumbnailEndpoint)]]" data="[[data.thumbnailEndpoint]]">\n  <yt-img-shadow thumbnail="[[data.thumbnail]]" width="83">\n  </yt-img-shadow>\n  <div id="content">\n    <template is="dom-repeat" as="content" items="[[data.contents]]" strip-whitespace="">\n      <span class="content-text">[[getSimpleString(content)]]</span>\n    </template>\n  </div>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_with_image_row_renderer.ytd.metadata.with.image.row.renderer.css.js--\x3e<style>:host {display: inline-block;padding: 16px 0 8px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-img-shadow {width: 83px;height: 120px;margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .content-text {display: block;color: var(--yt-spec-text-primary);} .content-text:first-child {margin-bottom: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} .content-text:not(:first-child) {margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-metadata-with-image-row-renderer.css.map*/</style>';
DGb=d}d=DGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EGb=a}a=EGb;return a}}});
var R0=FGb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R0.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R0.prototype,"data",void 0);R0=_.S([_.Q({asyncProperties:!0,is:"ytd-metadata-with-image-row-renderer"})],R0);
var GGb;
var HGb;
var S0=function(){return _.K.apply(this,arguments)||this};
_.q(S0,_.K);_.f=S0.prototype;_.f.configureRendererStamper=function(){return{"data.informationButton":{id:"information-button-container",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.onDataChanged=function(){var a=this;this.data&&!this.endpointHref&&(this.endpointLink.classList.add("button-mode"),this.endpointLink.setAttribute("tabindex","0"),this.endpointLink.setAttribute("role","button"),this.endpointLink.addEventListener("keypress",function(b){a.onEndpointLinkKeyPress(b)}))};
_.f.onEndpointLinkKeyPress=function(a){a.target===this.endpointLink&&13===a.keyCode&&this.fire("click")};
_.f.onClick=function(){if(!this.endpointHref){this.endpointLink.blur();var a;if(null==(a=this.data)?0:a.endpoint)_.Lg(this,[this.data.endpoint],this),this.ytRendererBehavior.logExplicitClick(this.data)}};
_.f.onYtNavigate=function(a){this.endpointHref||a.stopPropagation()};
_.f.onInformationButtonContainerClick=function(a){"information-button-container"!==a.target.id&&a.stopPropagation()};
_.f.computeStyle=function(a){return a};
_.f.computeIsThumbnailStyle=function(a){return"RICH_METADATA_RENDERER_STYLE_THUMBNAIL"===a};
_.f.computeThumbnailWidth=function(a){switch(a){case "RICH_METADATA_RENDERER_STYLE_THUMBNAIL":return 178;case "RICH_METADATA_RENDERER_STYLE_BOX_ART":return 72;case "RICH_METADATA_RENDERER_STYLE_TOPIC":return 96;case "RICH_METADATA_RENDERER_STYLE_SQUARE":return 100;default:return 68}};
_.f.computeThumbnailObjectFit=function(a){switch(a){case "RICH_METADATA_RENDERER_STYLE_SQUARE":return"CONTAIN"}};
_.t.Object.defineProperties(S0.prototype,{endpointHref:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?0:a.endpoint)?this.componentBehavior.computeOptionalHref_(this.data.endpoint):null}}});
_.t.Object.defineProperties(S0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-metadata-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_rich_metadata_renderer.ytd.rich.metadata.renderer.css.js--\x3e<a id="endpoint-link" class="yt-simple-endpoint" href$="[[endpointHref]]" data="[[data.endpoint]]">\n  <template is="dom-if" restamp="" if="[[isThumbnailStyle]]">\n    <ytd-thumbnail id="thumbnail" data="[[data]]" width="[[thumbnailWidth]]">\n    </ytd-thumbnail>\n  </template>\n  <template is="dom-if" restamp="" if="[[!isThumbnailStyle]]">\n    <div id="thumbnail">\n      <yt-img-shadow object-fit="[[thumbnailObjectFit]]" thumbnail="[[data.thumbnail]]" width="[[thumbnailWidth]]">\n      </yt-img-shadow>\n    </div>\n  </template>\n  <div id="text-container">\n    <div id="title">[[getSimpleString(data.title)]]</div>\n    <div id="subtitle" hidden$="[[!data.subtitle]]">\n      [[getSimpleString(data.subtitle)]]\n    </div>\n    <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n    </ytd-badge-supported-renderer>\n    <div id="call-to-action">\n      <div>[[getSimpleString(data.callToAction)]]</div>\n      <yt-icon hidden="[[!data.callToActionIcon]]" icon="[[data.callToActionIcon.iconType]]">\n      </yt-icon>\n    </div>\n  </div>\n  <div id="information-button-container" on-click="onInformationButtonContainerClick" hidden="[[!data.informationButton]]"></div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_rich_metadata_renderer.ytd.rich.metadata.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-general-background-b);min-width: 280px;max-width: 50%;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} a {outline-offset: 1px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} a.button-mode:active {outline: 0;} #thumbnail {width: 56px;height: 56px;margin: 22px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;} yt-img-shadow {overflow: hidden;width: 100%;height: 100%;} :host([component-style=RICH_METADATA_RENDERER_STYLE_BOX_ART]) #thumbnail {width: 72px;height: 100px;margin: 0 16px 0 0;} :host([component-style=RICH_METADATA_RENDERER_STYLE_SQUARE]) #thumbnail {background-color: var(--yt-spec-static-brand-white);width: 100px;height: 100px;margin: 0 16px 0 0;} :host([component-style=RICH_METADATA_RENDERER_STYLE_TOPIC]) #thumbnail {--yt-img-border-radius: 56px;} :host([component-style=RICH_METADATA_RENDERER_STYLE_THUMBNAIL]) {min-width: 400px;} :host([component-style=RICH_METADATA_RENDERER_STYLE_THUMBNAIL]) #thumbnail {width: 178px;height: 100px;margin: 0 16px 0 0;} :host([component-style=RICH_METADATA_RENDERER_STYLE_SQUARE]) {min-width: 400px;} #text-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #subtitle {-webkit-line-clamp: 2;color: var(--yt-spec-text-secondary);margin-top: 4px;overflow: hidden;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #badges {margin-top: 4px;} #call-to-action {margin-top: 4px;color: var(--yt-spec-text-secondary);text-transform: uppercase;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} yt-icon {width: 24px;height: 24px;} #information-button-container {--yt-button-icon-padding: 8px;--yt-button-icon-size: 32px;--yt-icon-button-icon-height: 16px;--yt-icon-button-icon-width: 16px;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;padding: 8px;} /*# sourceMappingURL=ytd-rich-metadata-renderer.css.map*/</style>';
GGb=d}d=GGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HGb=a}a=HGb;return a}}});
var T0=S0;T0.prototype.onYtNavigate=T0.prototype.onYtNavigate;T0.prototype.onClick=T0.prototype.onClick;T0.prototype.onDataChanged=T0.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],T0.prototype,"componentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],T0.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],T0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.style)"}),_.T("design:type",String)],T0.prototype,"componentStyle",void 0);_.S([_.N({computed:"computeIsThumbnailStyle(data.style)"}),_.T("design:type",Boolean)],T0.prototype,"isThumbnailStyle",void 0);_.S([_.N({computed:"computeThumbnailObjectFit(data.style)"}),_.T("design:type",String)],T0.prototype,"thumbnailObjectFit",void 0);
_.S([_.N({computed:"computeThumbnailWidth(data.style)"}),_.T("design:type",Number)],T0.prototype,"thumbnailWidth",void 0);_.S([_.Z("#endpoint-link"),_.T("design:type",HTMLAnchorElement)],T0.prototype,"endpointLink",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],T0.prototype,"onDataChanged",null);_.S([_.V("data.endpoint"),_.T("design:type",Object),_.T("design:paramtypes",[])],T0.prototype,"endpointHref",null);
_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],T0.prototype,"onClick",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],T0.prototype,"onYtNavigate",null);T0=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-metadata-renderer"})],T0);
var IGb;
var JGb;
var U0=function(){return _.K.apply(this,arguments)||this};
_.q(U0,_.K);U0.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{richMetadataRenderer:"ytd-rich-metadata-renderer"}}}};
U0.prototype.computeHasDividerLine=function(a){return a};
_.t.Object.defineProperties(U0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-metadata-row-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_rich_metadata_row_renderer.ytd.rich.metadata.row.renderer.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IGb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_rich_metadata_row_renderer.ytd.rich.metadata.row.renderer.css.js--\x3e<style>:host {display: block;margin-top: 8px;} :host([has-divider-line]) {padding-bottom: 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #contents {margin-right: -16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #contents * {margin: 8px 16px 8px 0;} /*# sourceMappingURL=ytd-rich-metadata-row-renderer.css.map*/</style>";
IGb=d}d=IGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JGb=a}a=JGb;return a}}});
var V0=U0;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],V0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],V0.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasDividerLine(data.hasDividerLine)"}),_.T("design:type",Boolean)],V0.prototype,"hasDividerLine",void 0);V0=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-metadata-row-renderer"})],V0);
var W0=function(){var a=_.K.apply(this,arguments)||this;a.engagementPanelContent=!1;return a};
_.q(W0,_.K);
W0.prototype.configureRendererStamper=function(){return{alwaysShownItems:{id:"always-shown",mapping:{metadataRowRenderer:"ytd-metadata-row-renderer",metadataWithImageRowRenderer:"ytd-metadata-with-image-row-renderer",metadataRowHeaderRenderer:"ytd-metadata-row-header-renderer",richMetadataRowRenderer:"ytd-rich-metadata-row-renderer",autotaggingMetadataRowRenderer:"ytd-autotagging-metadata-row-renderer"}},collapsibleItems:{id:"collapsible",mapping:{metadataRowRenderer:"ytd-metadata-row-renderer",metadataWithImageRowRenderer:"ytd-metadata-with-image-row-renderer",
metadataRowHeaderRenderer:{component:"ytd-metadata-row-header-renderer",properties:{engagementPanelContent:"[[engagementPanelContent]]"}},richMetadataRowRenderer:"ytd-rich-metadata-row-renderer",autotaggingMetadataRowRenderer:"ytd-autotagging-metadata-row-renderer"}}}};
W0.prototype.computeCollapsibleItems=function(a,b,c){return void 0===a||void 0===b||void 0===c||c?[]:a.slice(b)};
W0.prototype.computeAlwaysShownItems=function(a,b){return a&&a.length?a.slice(0,b):[]};
_.t.Object.defineProperties(W0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===yGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-metadata-row-container-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_row_container_renderer.ytd.metadata.row.container.renderer.css.js--\x3e<div id="always-shown"></div>\n<div id="collapsible" hidden="[[collapsed]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xGb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_metadata_row_container_renderer.ytd.metadata.row.container.renderer.css.js--\x3e<style>:host {display: block;} ytd-metadata-row-renderer,ytd-metadata-with-image-row-renderer,ytd-metadata-row-header-renderer {max-width: 615px;} /*# sourceMappingURL=ytd-metadata-row-container-renderer.css.map*/</style>";
xGb=d}d=xGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);yGb=a}a=yGb;return a}}});
var X0=W0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],X0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],X0.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],X0.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],X0.prototype,"collapsed",void 0);
_.S([_.N({computed:"computeAlwaysShownItems(data.rows,data.collapsedItemCount)"}),_.T("design:type",Array)],X0.prototype,"alwaysShownItems",void 0);_.S([_.N({computed:"computeCollapsibleItems(data.rows,data.collapsedItemCount,collapsed)"}),_.T("design:type",Array)],X0.prototype,"collapsibleItems",void 0);_.S([_.N(),_.T("design:type",Boolean)],X0.prototype,"engagementPanelContent",void 0);X0=_.S([_.Q({asyncProperties:!0,is:"ytd-metadata-row-container-renderer"})],X0);
var KGb;
var LGb;
var MGb=function(){return _.K.apply(this,arguments)||this};
_.q(MGb,_.K);
_.t.Object.defineProperties(MGb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-structured-description-playlist-lockup-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_structured_description_playlist_lockup_renderer.ytd.structured.description.playlist.lockup.renderer.css.js--\x3e<a id="lockup-container" class="yt-simple-endpoint" data="[[data.navigationEndpoint]]" href$="[[computeOptionalHref_(data.navigationEndpoint)]]">\n  <div id="playlist-thumbnail">\n    <yt-img-shadow id="thumbnail" alt="[[getSimpleString(data.title)]]" thumbnail="[[data.thumbnail]]" width="[[data.thumbnailWidth]]">\n    </yt-img-shadow>\n    <span id="overlay">[[getSimpleString(data.videoCountShortText)]]</span>\n  </div>\n  <div id="description">\n    <div id="title">[[getSimpleString(data.title)]]</div>\n    <div id="subtitle">[[getSimpleString(data.shortBylineText)]]</div>\n  </div>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_structured_description_playlist_lockup_renderer.ytd.structured.description.playlist.lockup.renderer.css.js--\x3e<style>:host {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #lockup-container {text-decoration: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #playlist-thumbnail {position: relative;} #overlay {background-color: var(--yt-spec-static-overlay-background-heavy);bottom: 0;color: var(--yt-spec-static-overlay-text-primary);position: absolute;right: 0;text-align: center;width: 100%;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #description {margin-left: 16px;} #thumbnail {border-radius: 4px;overflow: hidden;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-structured-description-playlist-lockup-renderer.css.map*/</style>';
KGb=d}d=KGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LGb=a}a=LGb;return a}}});
var Y0=MGb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Y0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Y0.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Y0.prototype,"data",void 0);Y0=_.S([_.Q({is:"ytd-structured-description-playlist-lockup-renderer"})],Y0);
var NGb;
var OGb;
var PGb=function(){return _.K.apply(this,arguments)||this};
_.q(PGb,_.K);
_.t.Object.defineProperties(PGb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===OGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-topic-link-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_topic_link_renderer.ytd.topic.link.renderer.css.js--\x3e<a id="topic-link-container" class="yt-simple-endpoint" data="[[data.endpoint]]" href$="[[computeOptionalHref_(data.endpoint)]]">\n    <yt-img-shadow id="thumbnail" alt="[[getSimpleString(data.title)]]" thumbnail="[[data.thumbnailDetails]]" width="32">\n    </yt-img-shadow>\n    <div id="title">[[getSimpleString(data.title)]]</div>\n    <yt-icon id="call-to-action-icon" hidden="[[!data.callToActionIcon]]" icon="[[data.callToActionIcon.iconType]]">\n    </yt-icon>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===NGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_topic_link_renderer.ytd.topic.link.renderer.css.js--\x3e<style>:host {height: 48px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #topic-link-container {display: block;text-decoration: none;padding: 8px;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 6px;box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #thumbnail {margin-right: 16px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #call-to-action-icon {margin-left: auto;color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-topic-link-renderer.css.map*/</style>';
NGb=d}d=NGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);OGb=a}a=OGb;return a}}});
var Z0=PGb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Z0.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Z0.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z0.prototype,"data",void 0);Z0=_.S([_.Q({asyncProperties:!0,is:"ytd-topic-link-renderer"})],Z0);
var QGb;
var RGb;
var $0=function(){return _.K.apply(this,arguments)||this};
_.q($0,_.K);$0.prototype.configureRendererStamper=function(){return{"data.mediaLockups":{id:"media-lockups",mapping:{structuredDescriptionPlaylistLockupRenderer:"ytd-structured-description-playlist-lockup-renderer"}},"data.topicLink":{id:"topic-link",mapping:{topicLinkRenderer:"ytd-topic-link-renderer"}}}};
_.t.Object.defineProperties($0,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-description-course-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_description_course_section_renderer.ytd.video.description.course.section.renderer.css.js--\x3e<div id="header">\n  <h3 id="title">[[getSimpleString(data.sectionTitle)]]</h3>\n</div>\n<div id="media-lockups"></div>\n<div id="topic-link"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_description_course_section_renderer.ytd.video.description.course.section.renderer.css.js--\x3e<style>:host {display: block;padding: 16px;border-top: 6px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;} #title {margin-bottom: 12px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #topic-link {margin-top: 16px;} /*# sourceMappingURL=ytd-video-description-course-section-renderer.css.map*/</style>';
QGb=d}d=QGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RGb=a}a=RGb;return a}}});
var a1=$0;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],a1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],a1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],a1.prototype,"data",void 0);a1=_.S([_.Q({is:"ytd-video-description-course-section-renderer"})],a1);
var SGb;
var TGb;
var UGb=function(){return _.K.apply(this,arguments)||this};
_.q(UGb,_.K);
_.t.Object.defineProperties(UGb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-media-lockup-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_media_lockup_renderer.ytd.media.lockup.renderer.css.js--\x3e<a id="lockup-container" class="yt-simple-endpoint" data="[[data.endpoint]]" href$="[[computeOptionalHref_(data.endpoint)]]">\n    <yt-img-shadow id="thumbnail" alt="[[getSimpleString(data.title)]]" thumbnail="[[data.thumbnailDetails]]" width="80">\n    </yt-img-shadow>\n    <div id="description">\n      <div id="title">[[getSimpleString(data.title)]]</div>\n      <div id="subtitle">[[getSimpleString(data.subtitle)]]</div>\n  </div>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_media_lockup_renderer.ytd.media.lockup.renderer.css.js--\x3e<style>:host {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #lockup-container {text-decoration: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #description {margin-left: 16px;} #thumbnail {border-radius: 4px;overflow: hidden;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-media-lockup-renderer.css.map*/</style>';
SGb=d}d=SGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TGb=a}a=TGb;return a}}});
var b1=UGb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],b1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],b1.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],b1.prototype,"data",void 0);b1=_.S([_.Q({asyncProperties:!0,is:"ytd-media-lockup-renderer"})],b1);
var VGb;
var WGb;
var c1=function(){return _.K.apply(this,arguments)||this};
_.q(c1,_.K);c1.prototype.configureRendererStamper=function(){return{"data.mediaLockups":{id:"media-lockups",mapping:{mediaLockupRenderer:"ytd-media-lockup-renderer"}},"data.topicLink":{id:"topic-link",mapping:{topicLinkRenderer:"ytd-topic-link-renderer"}}}};
_.t.Object.defineProperties(c1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-description-gaming-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_description_gaming_section_renderer.ytd.video.description.gaming.section.renderer.css.js--\x3e<div id="header">\n  <h3 id="title">[[getSimpleString(data.sectionTitle)]]</h3>\n</div>\n<div id="media-lockups"></div>\n<div id="topic-link"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_description_gaming_section_renderer.ytd.video.description.gaming.section.renderer.css.js--\x3e<style>:host {display: block;padding: 16px;border-top: 6px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;} #title {margin-bottom: 12px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #topic-link {margin-top: 16px;} /*# sourceMappingURL=ytd-video-description-gaming-section-renderer.css.map*/</style>';
VGb=d}d=VGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WGb=a}a=WGb;return a}}});
var d1=c1;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],d1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],d1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],d1.prototype,"data",void 0);d1=_.S([_.Q({asyncProperties:!0,is:"ytd-video-description-gaming-section-renderer"})],d1);
var XGb;
var YGb;
var e1=function(){var a=_.K.apply(this,arguments)||this;a.isExpanded=!1;return a};
_.q(e1,_.K);e1.prototype.computeHasDefaultMetadataEndpoint=function(a){var b;a=null==a?void 0:null==(b=a.defaultMetadata)?void 0:b.runs;return!(!a||1!==a.length||!a[0].navigationEndpoint)};
e1.prototype.onRowExpand=function(){this.isExpandable&&!this.isExpanded&&(this.isExpanded=!0)};
_.t.Object.defineProperties(e1.prototype,{isExpandable:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.expandedMetadata)}},
showExpandedMetadata:{configurable:!0,enumerable:!0,get:function(){return!(!this.isExpandable||!this.isExpanded)}}});
_.t.Object.defineProperties(e1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-info-row-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_info_row_renderer.ytd.info.row.renderer.css.js--\x3e<div id="info-row-container" on-click="onRowExpand">\n  <div id="info-row-header">\n    <div id="title">[[getSimpleString(data.title)]]</div>\n    <div id="default-metadata-section" hidden="[[isExpanded]]">\n      <yt-formatted-string id="default-metadata" bold-links="" text="[[data.defaultMetadata]]">\n      </yt-formatted-string>\n      <span id="truncation-text">[[getSimpleString(data.truncationText)]]</span>\n      \n      <yt-icon id="icon" class="expand-icon" hidden="[[!data.expandIcon.iconType]]" icon="yt-icons:expand">\n      </yt-icon>\n    </div>\n  </div>\n  <yt-formatted-string id="expanded-metadata" hidden="[[!showExpandedMetadata]]" text="[[data.expandedMetadata]]">\n  </yt-formatted-string>\n</div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_info_row_renderer.ytd.info.row.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);display: block;border-bottom: 1px solid var(--yt-spec-10-percent-layer);overflow: hidden;padding: 12px 0;} #info-row-header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title {color: var(--yt-spec-text-secondary);margin-right: 28px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #default-metadata-section {margin-left: auto;text-align: right;max-width: 400px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #default-metadata {word-break: break-all;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([has-default-metadata-endpoint]) #default-metadata-section,:host([has-default-metadata-endpoint]) yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #expanded-metadata {display: block;margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #truncation-text {margin-left: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-info-row-renderer.css.map*/</style>';
XGb=d}d=XGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YGb=a}a=YGb;return a}}});
var f1=e1;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],f1.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],f1.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],f1.prototype,"isExpanded",void 0);_.S([_.N({computed:"computeHasDefaultMetadataEndpoint(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],f1.prototype,"hasDefaultMetadataEndpoint",void 0);
_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],f1.prototype,"isExpandable",null);_.S([_.V("data","isExpandable","isExpanded"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],f1.prototype,"showExpandedMetadata",null);f1=_.S([_.Q({asyncProperties:!0,is:"ytd-info-row-renderer"})],f1);
var ZGb;
var $Gb;
var g1=function(){var a=_.K.apply(this,arguments)||this;a.currentIndex=0;a.supportComponentResize=!0;a.lastScrollContainerWidth=NaN;return a};
_.q(g1,_.K);_.f=g1.prototype;
_.f.configureRendererStamper=function(){return{videoLockups:{id:"items",mapping:{compactVideoRenderer:{component:"ytd-compact-video-renderer",params:{forceOneLineTitle:!0,musicMetadataVideoLockup:!0,hideThumbnail:!0}}}},infoRows:{id:"info-rows",mapping:{infoRowRenderer:"ytd-info-row-renderer"}},"data.previousButton":{id:"left-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundPrevClick]]"}}}},"data.nextButton":{id:"right-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",
properties:{"on-tap":"[[boundNextClick]]"}}}},"data.topicLink":{id:"topic-link",mapping:{topicLinkRenderer:"ytd-topic-link-renderer"}}}};
_.f.getItemsPath=function(){return"videoLockups"};
_.f.hiddenChanged=function(){this.contentHidden||this.updateVideoLockupStyles()};
_.f.onIronResize=function(){this.updateVideoLockupStyles()};
_.f.dataChanged=function(){this.updateVideoLockupStyles();this.ytdHorizontalListBehavior.reset()};
_.f.updateVideoLockupStyles=function(){var a;void 0!==this.JSC$41754_scrollContainer&&null!=(a=this.videoLockups)&&a.length&&(a=this.JSC$41754_scrollContainer.clientWidth,a!==this.lastScrollContainerWidth&&(this.lastScrollContainerWidth=a,this.updateStyles({"--ytd-compact-video-renderer-width":Math.min(.8*a,415)+"px"}),this.fire("iron-resize")))};
_.t.Object.defineProperties(g1.prototype,{videoLockups:{configurable:!0,enumerable:!0,get:function(){var a=[],b;if(null==(b=this.data)||!b.carouselLockups)return a;b=_.k(this.data.carouselLockups);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(null==(d=c.carouselLockupRenderer)?0:d.videoLockup)&&a.push(c.carouselLockupRenderer.videoLockup)}return a}},
hasVideoLockups:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.videoLockups)||!a.length)}},
infoRows:{configurable:!0,enumerable:!0,get:function(){var a=[],b;if(null==(b=this.data)||!b.carouselLockups)return a;var c,d;return null==(c=this.data.carouselLockups[this.scrollCount])?void 0:null==(d=c.carouselLockupRenderer)?void 0:d.infoRows}}});
_.t.Object.defineProperties(g1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Gb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-description-music-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_description_music_section_renderer.ytd.video.description.music.section.renderer.css.js--\x3e<div id="header">\n  <h3 id="title">[[getSimpleString(data.sectionTitle)]]</h3>\n</div>\n<div id="video-lockups" hidden="[[!hasVideoLockups]]">\n  <div id="left-arrow-container" class="arrow-container">\n    <div id="left-arrow-button" class="arrow" hidden="[[atStart]]"></div>\n  </div>\n  <div id="scroll-container">\n    <div id="items"></div>\n  </div>\n  <div id="right-arrow-container" class="arrow-container">\n    <div id="right-arrow-button" class="arrow" hidden="[[atEnd]]"></div>\n  </div>\n</div>\n<div id="info-rows"></div>\n<a id="premium-upsell-link" class="yt-simple-endpoint" aria-label$="[[data.premiumUpsellLink.title.accessibility.accessibilityData.label]]" hidden="[[!data.premiumUpsellLink]]" href$="[[computeOptionalHref_(data.premiumUpsellLink.navigationEndpoint)]]" title$="[[getSimpleString(data.premiumUpsellLink.title)]]" data="[[data.premiumUpsellLink.navigationEndpoint]]">\n  <yt-formatted-string id="premium-upsell-text" text="[[data.premiumUpsellLink]]">\n  </yt-formatted-string>\n</a>\n<div id="topic-link"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZGb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_video_description_music_section_renderer.ytd.video.description.music.section.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);--ytd-compact-video-renderer-width: 300px;--yt-paper-tooltip-display: none;display: block;border-top: 6px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;padding: 16px 0;} .arrow-container {position: absolute;visibility: hidden;border-radius: 24px;background-color: var(--yt-spec-brand-background-solid);box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);z-index: 200;} #title,#scroll-container,#topic-link,#info-rows {padding: 0 16px;} #left-arrow-container {left: 20px;} #right-arrow-container {right: 20px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #video-lockups {position: relative;margin-top: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #scroll-container {overflow: hidden;} #video-lockups:hover .arrow-container {visibility: visible;} #items {transition-duration: 0.15s;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;} ytd-compact-video-renderer {display: inline-block;min-width: 250px;width: var(--ytd-compact-video-renderer-width);margin-right: 16px;} ytd-compact-video-renderer:last-child {margin-right: unset;} #premium-upsell-link {padding: 0 16px;margin-top: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([inline-structured-description]) #title,:host([inline-structured-description]) #scroll-container,:host([inline-structured-description]) #topic-link,:host([inline-structured-description]) #info-rows {padding: unset;} :host([inline-structured-description]) #premium-upsell-link {padding-left: unset;} #info-rows {margin-top: 4px;} #topic-link {margin-top: 16px;} /*# sourceMappingURL=ytd-video-description-music-section-renderer.css.map*/</style>';
ZGb=d}d=ZGb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Gb=a}a=$Gb;return a}}});
var h1=g1;h1.prototype.dataChanged=h1.prototype.dataChanged;h1.prototype.onIronResize=h1.prototype.onIronResize;h1.prototype.hiddenChanged=h1.prototype.hiddenChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],h1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],h1.prototype,"componentBehavior",void 0);_.S([_.L(_.vy),_.T("design:type",Object)],h1.prototype,"ytdHorizontalListBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],h1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],h1.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],h1.prototype,"inlineStructuredDescription",void 0);_.S([_.N({value:2}),_.T("design:type",Number)],h1.prototype,"initialCount",void 0);_.S([_.N(),_.T("design:type",Object)],h1.prototype,"currentIndex",void 0);
_.S([_.N(),_.T("design:type",Number)],h1.prototype,"scrollCount",void 0);_.S([_.N(),_.T("design:type",Object)],h1.prototype,"supportComponentResize",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],h1.prototype,"contentHidden",void 0);_.S([_.Z("#scroll-container"),_.T("design:type",HTMLDivElement)],h1.prototype,"JSC$41754_scrollContainer",void 0);
_.S([_.P("contentHidden"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],h1.prototype,"hiddenChanged",null);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],h1.prototype,"videoLockups",null);_.S([_.V("videoLockups"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],h1.prototype,"hasVideoLockups",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],h1.prototype,"onIronResize",null);
_.S([_.V("data","scrollCount"),_.T("design:type",Object),_.T("design:paramtypes",[])],h1.prototype,"infoRows",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],h1.prototype,"dataChanged",null);h1=_.S([_.Q({asyncProperties:!0,is:"ytd-video-description-music-section-renderer"})],h1);
var aHb;
var bHb;
var i1=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-update-description-action":"handleUpdateDescriptionAction"};return a};
_.q(i1,_.K);i1.prototype.panelContentVisibleChanged=function(){if(this.panelContentVisible){var a;null==(a=this.expander)||a.reset()}};
i1.prototype.computeDescriptionCollapsedHeight=function(){return 140};
i1.prototype.handleUpdateDescriptionAction=function(a){this.$.description.hidden=!!a.isEmpty;this.set("data.description",a.description)};
_.t.Object.defineProperties(i1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-expandable-video-description-body-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_expandable_video_description_body_renderer.ytd.expandable.video.description.body.renderer.css.js--\x3e<ytd-expander id="expander" collapsed-height="[[descriptionCollapsedHeight]]" hidden="[[!data.descriptionBodyText]]" is-toggled="{{hasDescriptionOnly}}">\n  <div id="description" slot="content">\n    <yt-formatted-string class="content" force-default-style="" split-lines="" text="[[data.descriptionBodyText]]">\n    </yt-formatted-string>\n  </div>\n  <yt-formatted-string class="more-button" slot="more-button" role="button" text="[[data.showMoreText]]">\n  </yt-formatted-string>\n  <yt-formatted-string class="less-button" slot="less-button" role="button" text="[[data.showLessText]]">\n  </yt-formatted-string>\n</ytd-expander>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_expandable_video_description_body_renderer.ytd.expandable.video.description.body.renderer.css.js--\x3e<style>:host {display: block;} ytd-expander {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #description {color: var(--yt-spec-text-primary);} .more-button,.less-button {color: var(--yt-spec-call-to-action);display: inline-block;margin-top: 8px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} /*# sourceMappingURL=ytd-expandable-video-description-body-renderer.css.map*/</style>';
aHb=d}d=aHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bHb=a}a=bHb;return a}}});
var j1=i1;j1.prototype.panelContentVisibleChanged=j1.prototype.panelContentVisibleChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],j1.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],j1.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],j1.prototype,"data",void 0);_.S([_.N({computed:"computeDescriptionCollapsedHeight()"}),_.T("design:type",Number)],j1.prototype,"descriptionCollapsedHeight",void 0);
_.S([_.N(),_.T("design:type",Boolean)],j1.prototype,"panelContentVisible",void 0);_.S([_.N(),_.T("design:type",Boolean)],j1.prototype,"hasDescriptionOnly",void 0);_.S([_.Z("#expander"),_.T("design:type",Object)],j1.prototype,"expander",void 0);_.S([_.P("panelContentVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],j1.prototype,"panelContentVisibleChanged",null);j1=_.S([_.Q({asyncProperties:!0,is:"ytd-expandable-video-description-body-renderer"})],j1);
var cHb;
var dHb;
var k1=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-set-active-panel-item-action":"handleSetActiveItemAction"};return a};
_.q(k1,_.K);_.f=k1.prototype;
_.f.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{expandableVideoDescriptionBodyRenderer:{component:"ytd-expandable-video-description-body-renderer",properties:{panelContentVisible:"[[panelContentVisible]]",hasDescriptionOnly:"[[hasDescriptionOnly]]"}},horizontalCardListRenderer:{component:"ytd-horizontal-card-list-renderer",properties:{inlineStructuredDescription:"[[inlineStructuredDescription]]"}},metadataRowContainerRenderer:{component:"ytd-metadata-row-container-renderer",params:{engagementPanelContent:!0}},
videoDescriptionCourseSectionRenderer:"ytd-video-description-course-section-renderer",videoDescriptionGamingSectionRenderer:"ytd-video-description-gaming-section-renderer",videoDescriptionMusicSectionRenderer:{component:"ytd-video-description-music-section-renderer",properties:{inlineStructuredDescription:"[[inlineStructuredDescription]]"}},errorCorrectionsSectionRenderer:"ytd-error-corrections-section-renderer"}}}};
_.f.panelContentVisibleChanged=function(){var a;null==(a=this.description)||a.set("panelContentVisible",this.panelContentVisible)};
_.f.dataChanged=function(){var a,b;this.hasDescriptionOnly=!(1!==(null==(a=this.data)?void 0:null==(b=a.items)?void 0:b.length)||!this.data.items[0].expandableVideoDescriptionBodyRenderer)};
_.f.onHiddenChanged=function(){this.musicMetadataSection&&(this.musicMetadataSection.contentHidden=this.hidden);this.hidden||this.resize()};
_.f.resize=function(){var a;null==(a=this.JSC$41763_cardList)||a.fire("iron-resize")};
_.f.handleSetActiveItemAction=function(a){if((a=a.setActivePanelItemAction)&&this.JSC$41763_cardList){var b=this.currentActiveChapter;b&&(b.active=!1);if(a=this.JSC$41763_cardList.getItemByIndex(a.itemIndex))a.active=!0,this.currentActiveChapter=a}};
_.t.Object.defineProperties(k1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-structured-description-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_structured_description_content_renderer.ytd.structured.description.content.renderer.css.js--\x3e<div id="items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cHb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_structured_description_content_renderer.ytd.structured.description.content.renderer.css.js--\x3e<style>:host {display: block;overflow-x: hidden;overflow-y: auto;overflow-y: auto;} :host::-webkit-scrollbar {width: 16px;} :host::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} :host([inline-structured-description]) ytd-video-description-gaming-section-renderer,ytd-video-description-course-section-renderer {padding-left: unset;padding-right: unset;} ytd-expandable-video-description-body-renderer {padding: 24px 16px 16px;} ytd-horizontal-card-list-renderer {padding: 16px 0;} ytd-horizontal-card-list-renderer:not(:first-child),ytd-metadata-row-container-renderer:not(:first-child),:host([inline-structured-description]) ytd-horizontal-card-list-renderer,:host([inline-structured-description]) ytd-error-corrections-section-renderer {border-top: 6px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;} ytd-metadata-row-container-renderer {padding: 16px 16px 16px;} /*# sourceMappingURL=ytd-structured-description-content-renderer.css.map*/</style>";
cHb=d}d=cHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dHb=a}a=dHb;return a}}});
var l1=k1;l1.prototype.onHiddenChanged=l1.prototype.onHiddenChanged;l1.prototype.dataChanged=l1.prototype.dataChanged;l1.prototype.panelContentVisibleChanged=l1.prototype.panelContentVisibleChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],l1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],l1.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],l1.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],l1.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],l1.prototype,"panelContentVisible",void 0);_.S([_.N(),_.T("design:type",Boolean)],l1.prototype,"hasDescriptionOnly",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],l1.prototype,"inlineStructuredDescription",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],l1.prototype,"hidden",void 0);_.S([_.Z("ytd-expandable-video-description-body-renderer"),_.T("design:type",Object)],l1.prototype,"description",void 0);_.S([_.Z("ytd-horizontal-card-list-renderer"),_.T("design:type",Object)],l1.prototype,"JSC$41763_cardList",void 0);_.S([_.Z("ytd-video-description-music-section-renderer"),_.T("design:type",Object)],l1.prototype,"musicMetadataSection",void 0);
_.S([_.P("panelContentVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],l1.prototype,"panelContentVisibleChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],l1.prototype,"dataChanged",null);_.S([_.P("hidden"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],l1.prototype,"onHiddenChanged",null);
l1=_.S([_.Q({asyncProperties:!0,is:"ytd-structured-description-content-renderer"})],l1);
var eHb;
var fHb;
var gHb=function(){return _.K.apply(this,arguments)||this};
_.q(gHb,_.K);
_.t.Object.defineProperties(gHb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-content-loading-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_content_loading_renderer.ytd.content.loading.renderer.css.js--\x3e<tp-yt-paper-spinner id="spinner" active="[[data.useSpinner]]" alt="[[data.accessibility.accessibilityData.label]]">\n</tp-yt-paper-spinner>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eHb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_content_loading_renderer.ytd.content.loading.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-content-loading-renderer.css.map*/</style>";
eHb=d}d=eHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fHb=a}a=fHb;return a}}});
var m1=gHb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m1.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],m1.prototype,"data",void 0);m1=_.S([_.Q({asyncProperties:!0,is:"ytd-content-loading-renderer"})],m1);
var hHb=["engagement-panel-clip-create","engagement-panel-clip-view"];_.x("kevlar_watch_comments_ep_disable_theater")&&hHb.push("comment-item-section");
var n1=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-change-engagement-panel-visibility-action":"onYtChangeEngagementPanelVisibilityAction","yt-scroll-to-engagement-panel-command":"onYtScrollToEngagementPanelCommand","yt-update-engagement-panel-action":"onYtUpdateEngagementPanelAction","yt-show-engagement-panel-scrim-action":"onYtShowEngagementPanelScrimAction","yt-hide-engagement-panel-scrim-action":"onYtHideEngagementPanelScrimAction"};return a};
_.q(n1,_.K);_.f=n1.prototype;
_.f.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{engagementPanelTitleHeaderRenderer:{component:"ytd-engagement-panel-title-header-renderer",properties:{targetId:"[[data.targetId]]"}}},events:!0},"data.content":{id:"content",mapping:{sectionListRenderer:{component:"ytd-section-list-renderer",params:{engagementPanel:!0},properties:{engagementPanelDropdown:"[[dropdown]]"}},continuationItemRenderer:"ytd-continuation-item-renderer",transcriptRenderer:"ytd-transcript-renderer",clipSectionRenderer:"ytd-clip-section-renderer",
adsEngagementPanelContentRenderer:"ytd-ads-engagement-panel-content-renderer",macroMarkersListRenderer:"ytd-macro-markers-list-renderer",searchInVideoRenderer:"ytd-search-in-video-renderer",structuredDescriptionContentRenderer:"ytd-structured-description-content-renderer",mediaUpsellRenderer:"ytd-media-upsell-renderer",productListRenderer:"ytd-product-list-renderer",contentLoadingRenderer:"ytd-content-loading-renderer"},events:!0},"data.footer":{id:"footer",mapping:{commerceCartCheckoutButtonRenderer:{component:"ytd-commerce-cart-checkout-button-renderer",
params:{fullWidth:!0}}}}}};
_.f.attached=function(){this.parentElement&&"tp-yt-paper-dialog"===this.parentElement.is&&(this.dialog=!0);var a;if(null==(a=this.parentElement)?0:a.classList.contains("tp-yt-iron-dropdown"))this.dropdown=!0};
_.f.detached=function(){this.updateTheaterDisablement()};
_.f.showPanel=function(){this.visibility="ENGAGEMENT_PANEL_VISIBILITY_EXPANDED"};
_.f.hidePanel=function(){this.visibility="ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"};
_.f.isVisible=function(){return!!this.visibility&&"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"!==this.visibility};
_.f.updatePanel=function(a){var b=a.engagementPanelSectionListRenderer;if(b){a=b.header;var c=b.content;b=b.footer;a&&this.set("data.header",a);c&&this.set("data.content",c);b&&this.set("data.footer",b);this.updateChildVisibilityProperties()}};
_.f.getReloadContinuation=function(){var a,b,c,d=_.k((null==(a=this.data)?void 0:null==(b=a.content)?void 0:null==(c=b.sectionListRenderer)?void 0:c.continuations)||[]);for(a=d.next();!a.done;a=d.next())if(a=a.value,a.reloadContinuationData)return a.reloadContinuationData.continuation};
_.f.onYtRendererstamperFinished=function(){this.updateChildVisibilityProperties();var a;(null==(a=this.data)?0:a.targetId)&&(a=this.$.content.firstElementChild)&&a.setAttribute("panel-target-id",this.data.targetId)};
_.f.dataChanged=function(){var a;this.visibility=null==(a=this.data)?void 0:a.visibility;var b,c,d,e;this.contentEmpty=!!((null==(b=this.data)?0:null==(c=b.content)?0:c.structuredDescriptionContentRenderer)&&0===Object.keys(null==(d=this.data)?void 0:null==(e=d.content)?void 0:e.structuredDescriptionContentRenderer).length);if(a=_.Eg().resolve(_.Bp))if(b=this.getIdentifier())if(a.panelMap.set(b,this),c=a.pendingPanelResolvers.get(b))c.resolve(this),a.pendingPanelResolvers.delete(b);this.updateTheaterDisablement()};
_.f.focus=function(a){this.header?this.header.focus(a):_.K.prototype.focus.call(this,a)};
_.f.visibilityChanged=function(a,b){if(!_.x("kevlar_use_engagement_panel_management_component")){this.updateChildVisibilityProperties();var c=a&&"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"!==a;a="ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===a;var d=b&&"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"!==b,e="ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===b,h;if((null==(h=this.data)?0:h.onShowCommands)&&c&&(e||!b))_.Lg(this,this.data.onShowCommands,this);else{var l;(null==(l=this.data)?0:l.onHideCommands)&&a&&d&&_.Lg(this,this.data.onHideCommands,
this)}_.x("kevlar_watch_focus_on_engagement_panels")&&c&&e&&this.focus({preventScroll:!0});this.updateTheaterDisablement()}};
_.f.updateTheaterDisablement=function(){if(!_.x("kevlar_watch_theater_disablement_killswitch")){var a=this.theaterDisablementPanelIdentifier||this.getIdentifier()||"";if(this.isWatch&&hHb.includes(a)){var b,c=!(null==(b=_.Jg(this,"yt-is-theater"))||!b[0]);b="ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"!==this.visibility;a!==this.getIdentifier()&&this.originalTheaterState?this.clearTheaterDisablement():b?(void 0===this.originalTheaterState&&(this.originalTheaterState=c,this.theaterDisablementPanelIdentifier=
a),c&&_.C(this,"yt-toggle-theater-mode",[!1,!1])):this.originalTheaterState&&this.clearTheaterDisablement()}}};
_.f.clearTheaterDisablement=function(){_.C(this,"yt-toggle-theater-mode",[!0,!1]);this.theaterDisablementPanelIdentifier=this.originalTheaterState=void 0};
_.f.updateChildVisibilityProperties=function(){var a=this.visibility,b=this.$.header.firstElementChild;if(b){var c="ENGAGEMENT_PANEL_VISIBILITY_COLLAPSED"===a;b.collapsed=c;(b=b.$["visibility-button"].firstElementChild)&&"ytd-toggle-button-renderer"===b.is&&b.data.isToggled!==c&&b.set("data.isToggled",c)}if(c=this.$.content.firstElementChild)a&&"ENGAGEMENT_PANEL_VISIBILITY_EXPANDED"!==a?c.removeAttribute("panel-content-visible"):(c.setAttribute("panel-content-visible",""),c.markDirty())};
_.f.onYtChangeEngagementPanelVisibilityAction=function(a){var b=this,c,d=null==(c=this.data)?void 0:c.targetId,e=a.changeEngagementPanelVisibilityAction;this.dialog&&d&&(null==e?void 0:e.targetId)===d&&"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===(null==e?void 0:e.visibility)&&_.C(this,"yt-close-popup-action",["ytd-engagement-panel-section-list-renderer"]);!_.x("kevlar_use_engagement_panel_management_component")&&d&&(null==e?void 0:e.targetId)===d&&(this.hideDelayMs&&"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===
e.visibility?_.xe.addJob(function(){b.visibility=e.visibility},10,this.hideDelayMs):this.visibility=e.visibility)};
_.f.onYtScrollToEngagementPanelCommand=function(a){var b,c=null==(b=this.data)?void 0:b.targetId;a=a.scrollToEngagementPanelCommand;c&&(null==a?void 0:a.targetId)===c&&"ENGAGEMENT_PANEL_VISIBILITY_EXPANDED"===this.visibility&&_.C(this,"yt-scroll-to-watch-element",[this])};
_.f.onYtUpdateEngagementPanelAction=function(a){var b,c=null==(b=this.data)?void 0:b.targetId;a=a.updateEngagementPanelAction;c&&(null==a?void 0:a.targetId)===c&&this.updatePanel({engagementPanelSectionListRenderer:{header:null==a?void 0:a.header,content:null==a?void 0:a.content}})};
_.f.onYtShowEngagementPanelScrimAction=function(a){var b,c=null==(b=this.data)?void 0:b.targetId;a=a.showEngagementPanelScrimAction;c&&(null==a?void 0:a.engagementPanelTargetId)===c&&(this.scrimmed=!0)};
_.f.onYtHideEngagementPanelScrimAction=function(a){var b,c=null==(b=this.data)?void 0:b.targetId;a=a.hideEngagementPanelScrimAction;c&&(null==a?void 0:a.engagementPanelTargetId)===c&&(this.scrimmed=!1)};
_.f.getIdentifier=function(){var a,b,c;return(null==(a=this.data)?void 0:a.panelIdentifier)||(null==(b=this.data)?void 0:null==(c=b.identifier)?void 0:c.tag)};
_.t.Object.defineProperties(n1.prototype,{targetId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.targetId}}});
_.t.Object.defineProperties(n1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aGb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-engagement-panel-section-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_engagement_panel_section_list_renderer.ytd.engagement.panel.section.list.renderer.css.js--\x3e<div id="header"></div>\n<div id="content"></div>\n<div id="footer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Fb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_engagement_panel_section_list_renderer.ytd.engagement.panel.section.list.renderer.css.js--\x3e<style>:host {border: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([visibility=ENGAGEMENT_PANEL_VISIBILITY_HIDDEN]:not([dialog])) {display: none;} #content {background-color: var(--yt-spec-general-background-a);overflow: hidden;height: calc(var(--ytd-engagement-panel-content-height) - 50px);width: var(--ytd-engagement-panel-content-width);-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([visibility=ENGAGEMENT_PANEL_VISIBILITY_COLLAPSED]) #content {display: none;} :host([scrimmed]) {position: relative;z-index: 601;} :host([content-empty]) {display: none;} :host([dialog]) {border: none;margin: 0;padding: 0;height: 70vh;min-height: 240px;max-height: 720px;width: 450px;min-width: 300px;max-width: 80vw;} ytd-section-list-renderer {padding-left: var(--ytd-margin-6x);} :host([dialog]) #header {margin: var(--ytd-margin-4x) var(--ytd-margin-2x) var(--ytd-margin-4x) 0;} :host([dialog]) #content {background: var(--yt-spec-brand-background-solid);} :host([dropdown]) {max-height: 640px;min-width: 480px;background: var(--yt-spec-brand-background-primary);} :host([dropdown]) ytd-content-loading-renderer {min-height: 590px;} :host([dropdown]) #header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} :host([dropdown]) #content,:host([dropdown]) #footer {background-color: var(--yt-spec-brand-background-primary);} :host([dropdown]) #footer:not(:empty) {padding: 0 12px;border-top: 1px solid var(--yt-spec-10-percent-layer);} :host([dropdown]) ytd-section-list-renderer {padding-left: 0;} :host([dropdown][sheets-refresh]) {border-radius: 12px;} /*# sourceMappingURL=ytd-engagement-panel-section-list-renderer.css.map*/</style>";
$Fb=d}d=$Fb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aGb=a}a=aGb;return a}}});
var o1=n1;o1.prototype.dataChanged=o1.prototype.dataChanged;o1.prototype.onYtRendererstamperFinished=o1.prototype.onYtRendererstamperFinished;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],o1.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],o1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],o1.prototype,"ytEventForwardingBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],o1.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,observer:"visibilityChanged"}),_.T("design:type",Object)],o1.prototype,"visibility",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],o1.prototype,"contentEmpty",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],o1.prototype,"scrimmed",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],o1.prototype,"dialog",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],o1.prototype,"dropdown",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_sheets_ui_refresh")}),_.T("design:type",Boolean)],o1.prototype,"sheetsRefresh",void 0);_.S([_.N(),_.T("design:type",Number)],o1.prototype,"hideDelayMs",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],o1.prototype,"targetId",null);_.S([_.N(),_.T("design:type",Object)],o1.prototype,"isWatch",void 0);
_.S([_.N(),_.T("design:type",Object)],o1.prototype,"originalTheaterState",void 0);_.S([_.N(),_.T("design:type",Object)],o1.prototype,"theaterDisablementPanelIdentifier",void 0);_.S([_.Z("#header > *"),_.T("design:type",HTMLElement)],o1.prototype,"header",void 0);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],o1.prototype,"onYtRendererstamperFinished",null);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],o1.prototype,"dataChanged",null);o1=_.S([_.Q({is:"ytd-engagement-panel-section-list-renderer"})],o1);
var iHb;
var jHb;
var p1=function(){var a=_.K.apply(this,arguments)||this;a.visiblePanelIds=new Set;a.lastRenderedPanelIds=new Set;a.actionMap={"yt-change-engagement-panel-visibility-action":"onYtChangeEngagementPanelVisibilityAction"};return a};
_.q(p1,_.K);_.f=p1.prototype;_.f.dataChanged=function(){if(this.data){for(var a=new Set,b=_.k(this.data),c=b.next();!c.done;c=b.next()){var d=c.value,e=void 0,h=void 0;c=null==(e=d)?void 0:null==(h=e.engagementPanelSectionListRenderer)?void 0:h.visibility;h=e=void 0;(d=null==(e=d)?void 0:null==(h=e.engagementPanelSectionListRenderer)?void 0:h.targetId)&&"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"!==c&&a.add(d)}this.visiblePanelIds=a}};
_.f.configureRendererStamper=function(){return{visiblePanels:{id:"panels",mapping:{engagementPanelSectionListRenderer:{component:"ytd-engagement-panel-section-list-renderer",params:{isWatch:!0},properties:{hideDelayMs:"[[hideDelayMs]]"}}}}}};
_.f.onYtChangeEngagementPanelVisibilityAction=function(a){var b=this,c=a.changeEngagementPanelVisibilityAction;if(this.data&&(null==c?0:c.targetId)&&(null==c?0:c.visibility)){var d,e=null==(d=this.data.find(function(l){var m;return(null==(m=l.engagementPanelSectionListRenderer)?void 0:m.targetId)===c.targetId}))?void 0:d.engagementPanelSectionListRenderer;
if(e){var h=new Set(this.visiblePanelIds);"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===c.visibility?h.delete(c.targetId):h.add(c.targetId);this.hideDelayMs&&"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===c.visibility&&0===h.size?_.xe.addJob(function(){e.visibility=c.visibility;b.visiblePanelIds=h},10,this.hideDelayMs):(e.visibility=c.visibility,this.visiblePanelIds=h);
_.Jg(this,"yt-engagement-panels-visible-changed",[h])}}};
_.f.onRendererstamperFinished=function(){this.handlePanelVisibilityChange(this.visiblePanelIds,this.lastRenderedPanelIds);this.lastRenderedPanelIds=this.visiblePanelIds};
_.f.handlePanelVisibilityChange=function(a,b){a=void 0===a?new Set:a;b=void 0===b?new Set:b;if(this.data)for(var c=_.k(this.data),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,h=void 0,l=null==(e=d)?void 0:null==(h=e.engagementPanelSectionListRenderer)?void 0:h.targetId;if(l&&(e=b.has(l),h=a.has(l),l=void 0,!e&&h?(h=e=void 0,l=null==(e=d)?void 0:null==(h=e.engagementPanelSectionListRenderer)?void 0:h.onShowCommands):e&&!h&&(h=e=void 0,l=null==(e=d)?void 0:null==(h=e.engagementPanelSectionListRenderer)?
void 0:h.onHideCommands),l))for(d=_.k(l),l=d.next();!l.done;l=d.next())this.ytComponentBehavior.resolveCommand(l.value)}};
_.t.Object.defineProperties(p1.prototype,{visiblePanels:{configurable:!0,enumerable:!0,get:function(){var a=this;return this.data?this.data.filter(function(b){var c;return(b=null==b?void 0:null==(c=b.engagementPanelSectionListRenderer)?void 0:c.targetId)&&a.visiblePanelIds.has(b)}):[]}}});
_.t.Object.defineProperties(p1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-engagement-panels--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_watch_engagement_panels.ytd.watch.engagement.panels.css.js--\x3e<div id="panels"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iHb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_watch_engagement_panels.ytd.watch.engagement.panels.css.js--\x3e<style>:host {display: block;} ytd-engagement-panel-section-list-renderer {max-height: var(--ytd-watch-flexy-panel-max-height);} ytd-engagement-panel-section-list-renderer[target-id=engagement-panel-structured-description] {max-height: var(--ytd-watch-flexy-structured-description-max-height);} ytd-engagement-panel-section-list-renderer[target-id=engagement-panel-comments-section] {max-height: var(--ytd-watch-flexy-comments-panel-max-height);} #panels ytd-engagement-panel-section-list-renderer {margin-bottom: var(--ytd-margin-6x);} /*# sourceMappingURL=ytd-watch-engagement-panels.css.map*/</style>";
iHb=d}d=iHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jHb=a}a=jHb;return a}}});
var q1=p1;q1.prototype.onRendererstamperFinished=q1.prototype.onRendererstamperFinished;q1.prototype.dataChanged=q1.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],q1.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],q1.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],q1.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],q1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],q1.prototype,"visiblePanelIds",void 0);_.S([_.N(),_.T("design:type",Object)],q1.prototype,"lastRenderedPanelIds",void 0);_.S([_.N(),_.T("design:type",Number)],q1.prototype,"hideDelayMs",void 0);_.S([_.N(),_.T("design:type",Array)],q1.prototype,"data",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],q1.prototype,"dataChanged",null);_.S([_.V("visiblePanelIds"),_.T("design:type",Array),_.T("design:paramtypes",[])],q1.prototype,"visiblePanels",null);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],q1.prototype,"onRendererstamperFinished",null);q1=_.S([_.Q({is:"ytd-watch-engagement-panels"})],q1);
var kHb;
var lHb;
var r1=function(){var a=_.K.apply(this,arguments)||this;a.systemIcons=_.x("kevlar_system_icons");a.actionMap={"yt-update-sentiment-bar-state-command":"handleUpdateSentimentBarStateCommand"};return a};
_.q(r1,_.K);r1.prototype.observeLikeStatus=function(a){this.data&&("DISLIKE"===a?(a=this.data.percentIfDisliked||0,this.activated=!0):"LIKE"===a?(a=this.data.percentIfLiked||0,this.activated=!0):(a=this.data.percentIfIndifferent||0,this.activated=!1),this.$["like-bar"].style.width=a+"%")};
r1.prototype.handleUpdateSentimentBarStateCommand=function(a){this.data&&this.set("data.likeStatus",a.updateSentimentBarStateCommand.likeStatus)};
_.t.Object.defineProperties(r1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sentiment-bar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_sentiment_bar_renderer.ytd.sentiment.bar.renderer.css.js--\x3e<div id="container">\n  <div id="like-bar"></div>\n</div>\n<tp-yt-paper-tooltip position="top">[[data.tooltip]]</tp-yt-paper-tooltip>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kHb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.watch_next.ytd_sentiment_bar_renderer.ytd.sentiment.bar.renderer.css.js--\x3e<style>:host {display: inline-block;} #container {height: 2px;background-color: var(--yt-spec-icon-disabled);} #like-bar {background: var(--yt-spec-icon-inactive);height: 2px;transition: width 0.3s;} :host([activated]) #like-bar {background-color: var(--yt-spec-call-to-action);} :host([activated][system-icons]) #like-bar {background-color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-sentiment-bar-renderer.css.map*/</style>";
kHb=d}d=kHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lHb=a}a=lHb;return a}}});
var s1=r1;s1.prototype.observeLikeStatus=s1.prototype.observeLikeStatus;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],s1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],s1.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],s1.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],s1.prototype,"activated",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],s1.prototype,"systemIcons",void 0);_.S([_.P("data.likeStatus"),_.T("design:type",Function),_.T("design:paramtypes",[String]),_.T("design:returntype")],s1.prototype,"observeLikeStatus",null);s1=_.S([_.Q({asyncProperties:!0,is:"ytd-sentiment-bar-renderer"})],s1);
var mHb;
var nHb;
var t1=function(){return _.K.apply(this,arguments)||this};
_.q(t1,_.K);t1.prototype.attached=function(){this.setAttribute("role","button");this.setAttribute("tabindex","0")};
t1.prototype.onTap=function(){var a=this.tapCommand;a&&(this.data&&this.ytRendererBehavior.logExplicitClick(this.data),this.ytComponentBehavior.resolveCommand(a))};
t1.prototype.onKeyUp=function(a){if(13===a.keyCode)this.onTap()};
_.t.Object.defineProperties(t1.prototype,{hasChevron:{configurable:!0,enumerable:!0,get:function(){return!!this.tapCommand}},
tapCommand:{configurable:!0,enumerable:!0,get:function(){if(!_.x("kevlar_comment_teaser_no_scrolling")){var a;if(null==(a=this.data)?0:a.onTap)return this.data.onTap;var b,c;if((null==(b=this.data)?0:b.teaserContent)||(null==(c=this.data)?0:c.simpleboxPlaceholder))return{signalAction:{signal:"SCROLL_TO_COMMENTS"}}}}}});
_.t.Object.defineProperties(t1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comments-entry-point-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_comments_entry_point_header_renderer.ytd.comments.entry.point.header.renderer.css.js--\x3e<div id="header"><div id="title">[[getSimpleString(data.headerText)]]</div><div id="count">[[getSimpleString(data.commentCount)]]</div></div><div id="content"><div id="simplebox" hidden="[[!data.simpleboxPlaceholder]]"><yt-img-shadow class="avatar" height="20" thumbnail="[[data.simpleboxAvatar]]" width="20"></yt-img-shadow><div id="simplebox-input">[[getSimpleString(data.simpleboxPlaceholder)]]</div></div><div id="teaser" hidden="[[!data.teaserContent]]"><yt-img-shadow class="avatar" height="20" thumbnail="[[data.teaserAvatar]]" width="20"></yt-img-shadow><div id="teaser-text">[[getSimpleString(data.teaserContent)]]</div></div><yt-formatted-string id="message" text="[[data.messageText]]"></yt-formatted-string></div><yt-icon id="chevron" hidden="[[!hasChevron]]" icon="yt-icons:chevron_right"></yt-icon>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_comments_entry_point_header_renderer.ytd.comments.entry.point.header.renderer.css.js--\x3e<style>:host {box-sizing: border-box;height: 52px;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 4px;color: var(--yt-spec-text-primary);padding: 12px 4px 12px 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([has-chevron]) {cursor: pointer;} #header {padding-right: 12px;margin-right: 12px;border-right: 1px solid var(--yt-spec-10-percent-layer);} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #count {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #content {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .avatar {width: 20px;height: 20px;border-radius: 50%;background-color: transparent;overflow: hidden;} #simplebox {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #simplebox-input {color: var(--yt-spec-text-secondary);background: var(--yt-spec-10-percent-layer);margin-left: 12px;padding: 6px 12px;border-radius: 4px;cursor: text;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #teaser {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #teaser-text {margin-left: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #message {display: block;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #chevron {margin-left: 8px;color: var(--yt-spec-brand-icon-inactive);} /*# sourceMappingURL=ytd-comments-entry-point-header-renderer.css.map*/</style>';
mHb=d}d=mHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nHb=a}a=nHb;return a}}});
var u1=t1;u1.prototype.onKeyUp=u1.prototype.onKeyUp;u1.prototype.onTap=u1.prototype.onTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],u1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],u1.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],u1.prototype,"data",void 0);
_.S([_.N({value:!1,reflectToAttribute:!0}),_.V("tapCommand"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],u1.prototype,"hasChevron",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],u1.prototype,"tapCommand",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],u1.prototype,"onTap",null);
_.S([_.O("keypress"),_.T("design:type",Function),_.T("design:paramtypes",[_.Ak]),_.T("design:returntype")],u1.prototype,"onKeyUp",null);u1=_.S([_.Q({asyncProperties:!0,is:"ytd-comments-entry-point-header-renderer"})],u1);
var oHb;
var pHb;
var qHb="rtl"===_.w("HTML_DIR"),v1=function(){var a=_.K.apply(this,arguments)||this;a.maxLines=2;a.expandButtonOffset=0;a.showExpandButton=!1;a.useFormattedSnippet=!1;a.isTruncated=!1;a.isExpanded=!1;a.alwaysShowExpandButton=!1;a.JSC$41798_lastWidth=NaN;return a};
_.q(v1,_.K);_.f=v1.prototype;_.f.attached=function(){var a=this;_.nt(this,function(){a.resize()})};
_.f.isExpandedChanged=function(){this.fire("yt-text-inline-expander-expanded-changed")};
_.f.updateSnippetContainerMaxHeight=function(){this.isExpanded?(this.snippetContainer.style.setProperty("overflow",""),this.snippetContainer.style.setProperty("max-height","")):(this.snippetContainer.style.setProperty("overflow","hidden"),this.snippetContainer.style.setProperty("max-height",2*this.maxLines+"rem"))};
_.f.updateMaskAndExpandButtonOffset=function(){if(this.isTruncated){var a="linear-gradient(\n        to top,\n        transparent 0%,\n        transparent 2rem,\n        #000 2rem,\n        #000 100%), linear-gradient(\n        to "+((qHb?"left":"right")+",\n        #000 0%,\n        #000 "+(this.expandButtonOffset-24)+"px,\n        transparent "+this.expandButtonOffset+"px,\n        transparent 100%)");this.snippetContainer.style.setProperty("-webkit-mask-image",a);this.snippetContainer.style.setProperty("mask-image",
a)}else this.snippetContainer.style.setProperty("-webkit-mask-image",""),this.snippetContainer.style.setProperty("mask-image","");this.showExpandButton&&this.expandButton.style.setProperty(qHb?"right":"left",this.expandButtonOffset+"px")};
_.f.onTextChanged=function(){this.isAttached&&this.resize(!0)};
_.f.setSnippetText=function(a,b){a||(a={});a:{var c=dDb(a,b);if(c.runs){c=_.k(c.runs);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.bold||d.deemphasize||d.italics||d.strikethrough||d.textColor||d.navigationEndpoint||d.emoji){c=!0;break a}}c=!1}c?(this.formattedSnippetText.text=dDb(a,b),this.useFormattedSnippet=!0):(this.plainSnippetText.textContent=cDb(_.qi(a),b),this.useFormattedSnippet=!1)};
_.f.resize=function(a){if(void 0===a?0:a)this.JSC$41798_lastWidth=NaN;var b=this.offsetWidth;if(b!==this.JSC$41798_lastWidth&&!this.isExpanded)if(this.JSC$41798_lastWidth=b,this.setSnippetText(this.text,Infinity),this.showExpandButton=this.shouldAlwaysShowExpandButton(),this.isOverflowing()){this.showExpandButton=this.isTruncated=!0;a=0;b=Math.min(b*this.maxLines/8*2,this.simpleText.length)-1;for(var c=0;a<=b;){var d=Math.floor(a+(b-a)/2);this.setSnippetText(this.text,d);this.isOverflowing()?b=d-
1:(a=d+1,c=d)}this.setSnippetText(this.text,c);this.expandButtonOffset=this.computeExpandButtonOffset()}else this.isTruncated=!1,this.shouldAlwaysShowExpandButton()&&(this.expandButtonOffset=this.computeExpandButtonOffset())};
_.f.collapse=function(){this.isExpanded=!1;this.resize(!0)};
_.f.onExpandClick=function(){this.expandCommand?this.componentBehavior.resolveCommand(this.expandCommand):(this.isExpanded=!0,this.showExpandButton=this.isTruncated=!1);this.fire("yt-text-inline-expander-expand-clicked")};
_.f.onCollapseClick=function(){this.collapse();this.fire("yt-text-inline-expander-collapse-clicked")};
_.f.isOverflowing=function(){return this.snippetContainer.scrollHeight>this.snippetContainer.offsetHeight};
_.f.shouldAlwaysShowExpandButton=function(){return!(!this.alwaysShowExpandButton&&!this.expandCommand)};
_.f.computeExpandButtonOffset=function(){var a=this.expandSizer;return qHb?a.offsetParent?a.offsetParent.offsetWidth-a.offsetWidth-a.offsetLeft:0:a.offsetLeft};
_.t.Object.defineProperties(v1.prototype,{simpleText:{configurable:!0,enumerable:!0,get:function(){return _.qi(this.text)}},
expandedText:{configurable:!0,enumerable:!0,get:function(){return this.isExpanded?this.text:void 0}},
showCollapseButton:{configurable:!0,enumerable:!0,get:function(){return!!this.collapseLabel&&this.isExpanded}}});
_.t.Object.defineProperties(v1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-text-inline-expander--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_text_inline_expander.ytd.text.inline.expander.css.js--\x3e<yt-formatted-string hidden="[[!isExpanded]]" split-lines="" text="[[expandedText]]"></yt-formatted-string><div id="snippet"><span id="snippet-text" hidden="[[isExpanded]]"><span id="plain-snippet-text" hidden="[[useFormattedSnippet]]"></span><yt-formatted-string id="formatted-snippet-text" hidden="[[!useFormattedSnippet]]"></yt-formatted-string></span><span id="ellipsis" hidden="[[!isTruncated]]">\u2026</span><tp-yt-paper-button id="expand-sizer" class="button" hidden="[[!showExpandButton]]">[[expandLabel]]</tp-yt-paper-button></div><tp-yt-paper-button id="expand" class="button" hidden="[[!showExpandButton]]" on-click="onExpandClick">[[expandLabel]]</tp-yt-paper-button><slot name="extra-content"></slot><tp-yt-paper-button id="collapse" class="button" hidden="[[!showCollapseButton]]" on-click="onCollapseClick">[[collapseLabel]]</tp-yt-paper-button>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_text_inline_expander.ytd.text.inline.expander.css.js--\x3e<style>:host {display: block;position: relative;overflow: hidden;contain: content;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #snippet {white-space: pre-wrap;} #ellipsis {display: inline-block;width: 0;} .button {margin: 0;padding: 0 4px;min-width: 40px;color: var(--ytd-text-inline-expander-button-color,var(--yt-spec-text-secondary));white-space: pre;text-transform: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #expand-sizer {visibility: hidden;} #expand {position: absolute;bottom: 0;} :host(:not([is-expanded])) ::slotted([slot=extra-content]) {display: none;} /*# sourceMappingURL=ytd-text-inline-expander.css.map*/</style>';
oHb=d}d=oHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pHb=a}a=pHb;return a}}});
var w1=v1;w1.prototype.onTextChanged=w1.prototype.onTextChanged;w1.prototype.updateMaskAndExpandButtonOffset=w1.prototype.updateMaskAndExpandButtonOffset;w1.prototype.updateSnippetContainerMaxHeight=w1.prototype.updateSnippetContainerMaxHeight;w1.prototype.isExpandedChanged=w1.prototype.isExpandedChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],w1.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],w1.prototype,"text",void 0);
_.S([_.N(),_.T("design:type",Number)],w1.prototype,"maxLines",void 0);_.S([_.N(),_.T("design:type",String)],w1.prototype,"expandLabel",void 0);_.S([_.N(),_.T("design:type",String)],w1.prototype,"collapseLabel",void 0);_.S([_.N(),_.T("design:type",Object)],w1.prototype,"expandCommand",void 0);_.S([_.N(),_.T("design:type",Object)],w1.prototype,"expandButtonOffset",void 0);_.S([_.V("text"),_.T("design:type",String),_.T("design:paramtypes",[])],w1.prototype,"simpleText",null);
_.S([_.V("text","isExpanded"),_.T("design:type",Object),_.T("design:paramtypes",[])],w1.prototype,"expandedText",null);_.S([_.N(),_.T("design:type",Object)],w1.prototype,"showExpandButton",void 0);_.S([_.N(),_.T("design:type",Object)],w1.prototype,"useFormattedSnippet",void 0);_.S([_.V("collapseLabel","isExpanded"),_.T("design:type",Object),_.T("design:paramtypes",[])],w1.prototype,"showCollapseButton",null);_.S([_.N(),_.T("design:type",Object)],w1.prototype,"isTruncated",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],w1.prototype,"isExpanded",void 0);_.S([_.N(),_.T("design:type",Object)],w1.prototype,"alwaysShowExpandButton",void 0);_.S([_.Z("#snippet"),_.T("design:type",HTMLElement)],w1.prototype,"snippetContainer",void 0);_.S([_.Z("#snippet-text"),_.T("design:type",HTMLElement)],w1.prototype,"snippetText",void 0);_.S([_.Z("#plain-snippet-text"),_.T("design:type",HTMLElement)],w1.prototype,"plainSnippetText",void 0);
_.S([_.Z("#formatted-snippet-text"),_.T("design:type",Object)],w1.prototype,"formattedSnippetText",void 0);_.S([_.Z("#expand"),_.T("design:type",HTMLElement)],w1.prototype,"expandButton",void 0);_.S([_.Z("#expand-sizer"),_.T("design:type",HTMLElement)],w1.prototype,"expandSizer",void 0);_.S([_.Ct("isExpanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],w1.prototype,"isExpandedChanged",null);
_.S([_.P("isExpanded","maxLines"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],w1.prototype,"updateSnippetContainerMaxHeight",null);_.S([_.P("isTruncated","showExpandButton","expandButtonOffset"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],w1.prototype,"updateMaskAndExpandButtonOffset",null);
_.S([_.Ct("text","simpleText","expandLabel","maxLines","alwaysShowExpandButton"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],w1.prototype,"onTextChanged",null);w1=_.S([_.Q({is:"ytd-text-inline-expander"})],w1);
var rHb;
var sHb;
var x1=function(){var a=_.K.apply(this,arguments)||this;a.smallerYtSansLightTitle=_.x("web_watch_title_yt_sans_20_light");a.expandButtonTextPrimary=_.x("kevlar_watch_metadata_refresh_expand_button_text_primary");a.isDark=document.documentElement.hasAttribute("dark");a.actionMap={"yt-update-viewership-action":"onYtUpdateViewershipAction","yt-update-title-action":"onYtUpdateTitleAction","yt-update-date-text-action":"onYtUpdateDateTextAction","yt-update-description-action":"onYtUpdateDescriptionAction",
"yt-dark-mode-toggled-action":"onYtDarkModeToggledAction"};a.maxNumberOfDescriptionLines=_.hd("kevlar_watch_metadata_refresh_description_lines",2);return a};
_.q(x1,_.K);_.f=x1.prototype;
_.f.configureRendererStamper=function(){return{"videoPrimaryInfoRenderer.videoActions":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:more",styleActionButton:!0,disableTextTransformOnButtons:!0}}},events:!0},"videoSecondaryInfoRenderer.subscribeButton":{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:{component:"ytd-subscribe-button-renderer",params:{withCount:!0}},subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}},commentsEntryPointHeaderRenderer:{id:"comment-teaser",
mapping:{commentsEntryPointHeaderRenderer:"ytd-comments-entry-point-header-renderer"}}}};
_.f.videoPrimaryInfoRendererChanged=function(){var a;!_.x("kevlar_watch_metadata_logging_killswitch")&&(null==(a=this.videoPrimaryInfoRenderer)?0:a.trackingParams)&&(this.data={trackingParams:this.videoPrimaryInfoRenderer.trackingParams})};
_.f.videoSecondaryInfoRendererChanged=function(){var a,b;null==(b=(a=this.descriptionInlineExpander).collapse)||b.call(a);this.descriptionExpandClientVe=_.oo(110509);this.descriptionCollapseClientVe=_.oo(110510);a=_.fg();b=_.eg();a&&b&&_.sg(void 0,a,b,[this.descriptionExpandClientVe,this.descriptionCollapseClientVe])};
_.f.onYtTextInlineExpanderExpandClicked=function(){var a=_.fg();a&&this.descriptionExpandClientVe&&_.pt(a,this.descriptionExpandClientVe)};
_.f.onYtTextInlineExpanderCollapseClicked=function(){var a=_.fg();a&&this.descriptionCollapseClientVe&&_.pt(a,this.descriptionCollapseClientVe);!_.x("kevlar_watch_metadata_collapse_scroll_killswitch")&&this.isWatchFlexy&&_.C(this,"yt-scroll-to-watch-element",[this.titleElement])};
_.f.onYtTextInlineExpanderExpandedChanged=function(){this.descriptionCollapsed=!this.descriptionInlineExpander.isExpanded;var a,b;null==(b=(a=this.structuredDescriptionContentRendererElement).resize)||b.call(a)};
_.f.onRenderStamperFinished=function(a){(null==a?void 0:a.target)===this&&this.updateSentimentBarWidth()};
_.f.onYtExpanderMoreTapped=function(){this.descriptionExpandCommand&&!this.structuredDescriptionContentRenderer&&this.ytComponentBehavior.resolveCommand(this.descriptionExpandCommand)};
_.f.onYtExpanderLessTapped=function(){var a,b=null==(a=this.videoSecondaryInfoRenderer)?void 0:a.showLessCommand;b&&this.ytComponentBehavior.resolveCommand(b)};
_.f.getAboveTheFoldHeight=function(){return this.aboveTheFoldContainer.offsetHeight};
_.f.resize=function(){var a,b;null==(b=(a=this.descriptionInlineExpander).resize)||b.call(a)};
_.f.updateSentimentBarWidth=function(){var a,b=null==(a=this.menu)?void 0:a.topLevelButtons;if(b){a=0;b=_.k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=this.get("data.toggleButtonSupportedData.toggleButtonIdData.id",c);if("TOGGLE_BUTTON_ID_TYPE_DISLIKE"===d||"TOGGLE_BUTTON_ID_TYPE_LIKE"===d)a+=c.clientWidth+8}a&&(this.sentimentBar.style.width=a-8+"px")}};
_.f.onYtUpdateViewershipAction=function(a){this.videoPrimaryInfoRenderer&&(a.updateViewershipAction.isEmpty?this.set("videoPrimaryInfoRenderer.viewCount",null):a.updateViewershipAction.viewCount&&this.set("videoPrimaryInfoRenderer.viewCount",a.updateViewershipAction.viewCount))};
_.f.onYtUpdateTitleAction=function(a){this.videoPrimaryInfoRenderer&&this.set("videoPrimaryInfoRenderer.title",a.updateTitleAction.title)};
_.f.onYtUpdateDateTextAction=function(a){this.videoPrimaryInfoRenderer&&this.set("videoPrimaryInfoRenderer.dateText",a.updateDateTextAction.dateText)};
_.f.onYtUpdateDescriptionAction=function(a){this.videoSecondaryInfoRenderer&&(a.updateDescriptionAction.isEmpty?this.set("videoSecondaryInfoRenderer.description",null):this.set("videoSecondaryInfoRenderer.description",a.updateDescriptionAction.description))};
_.f.onYtDarkModeToggledAction=function(a){this.isDark=a};
_.f.getFormattedStartEndTime=function(a){var b=a.startEndTimeTemplate,c=a.startTimeUtcMillis;a=a.endTimeUtcMillis;if(b&&c&&a)return _.Mu(_.ACb(_.qi(b),Number(c),Number(a)))};
_.t.Object.defineProperties(x1.prototype,{largerItemWrap:{configurable:!0,enumerable:!0,get:function(){var a,b,c;return!!(null==(a=this.videoSecondaryInfoRenderer)?0:null==(b=a.owner)?0:null==(c=b.videoOwnerRenderer)?0:c.membershipButton)}},
descriptionText:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e,h,l,m=[null==(a=this.videoPrimaryInfoRenderer)?void 0:null==(b=a.viewCount)?void 0:null==(c=b.videoViewCountRenderer)?void 0:c.viewCount,null==(d=this.videoPrimaryInfoRenderer)?void 0:d.dateText,null==(e=this.videoPrimaryInfoRenderer)?void 0:e.stationName,null==(h=this.videoPrimaryInfoRenderer)?void 0:h.rating,this.videoPrimaryInfoRenderer?this.getFormattedStartEndTime(this.videoPrimaryInfoRenderer):void 0,null==(l=this.videoPrimaryInfoRenderer)?
void 0:l.upNextProgramText].filter(function(r){return!!r}),p;
a=null==(p=this.videoSecondaryInfoRenderer)?void 0:p.description;p={runs:[]};for(b=0;b<m.length;b++)c=m[b],d=!_.x("kevlar_watch_metadata_refresh_normal_description_preamble"),e=void 0,_.x("kevlar_watch_metadata_refresh_description_secondary_preamble")&&(e=this.isDark?4289374890:4284506208),p.runs.push.apply(p.runs,_.sc(eDb(c,d,e))),(b<m.length-1||a)&&p.runs.push({text:" "+(_.x("kevlar_watch_metadata_refresh_description_space_separator")?"":"\u2022")+" ",bold:d,textColor:e});a&&(m=void 0,_.x("kevlar_watch_metadata_refresh_description_secondary_body")&&
this.descriptionCollapsed&&(m=this.isDark?4289374890:4284506208),p.runs.push.apply(p.runs,_.sc(eDb(a,!1,m))));return p}},
hasTeaser:{configurable:!0,enumerable:!0,get:function(){if(_.x("kevlar_comment_teaser_no_scrolling")){var a,b;return!!(null==(a=this.commentsEntryPointHeaderRenderer)?0:null==(b=a.commentsEntryPointHeaderRenderer)?0:b.teaserContent)}var c;return!(null==(c=this.commentsEntryPointHeaderRenderer)||!c.commentsEntryPointHeaderRenderer)}},
collapsibleMetadataRows:{configurable:!0,enumerable:!0,get:function(){var a,b,c=Object.assign({},null==(a=this.videoSecondaryInfoRenderer)?void 0:null==(b=a.metadataRowContainer)?void 0:b.metadataRowContainerRenderer);if(c&&c.rows&&void 0!==c.collapsedItemCount)return c.rows=c.rows.slice(c.collapsedItemCount),c.collapsedItemCount=0,c}},
alwaysVisibleMetadataRows:{configurable:!0,enumerable:!0,get:function(){var a,b,c=Object.assign({},null==(a=this.videoSecondaryInfoRenderer)?void 0:null==(b=a.metadataRowContainer)?void 0:b.metadataRowContainerRenderer);if(c&&c.rows&&void 0!==c.collapsedItemCount)return c.rows=c.rows.slice(0,c.collapsedItemCount),this.suppressNonRichMetadataRows&&(c.rows=c.rows.filter(function(d){return!!d.richMetadataRowRenderer})),c.collapsedItemCount=c.rows.length,c}},
hasSentimentBar:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this.videoPrimaryInfoRenderer)?0:null==(b=a.sentimentBar)?0:b.sentimentBarRenderer)&&!_.x("kevlar_watch_hide_sentiment_bar")}},
alwaysShowDescriptionExpandButton:{configurable:!0,enumerable:!0,get:function(){return!!this.collapsibleMetadataRows||!!this.hasInlineStructuredDescription}},
hasInlineStructuredDescription:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this.structuredDescriptionContentRenderer)?0:null==(b=a.items)?0:b.length)}},
showInlineStructuredDescription:{configurable:!0,enumerable:!0,get:function(){return!(!this.hasInlineStructuredDescription||this.descriptionCollapsed)}},
descriptionExpandCommand:{configurable:!0,enumerable:!0,get:function(){if(this.structuredDescriptionContentRenderer)return null;var a;return null==(a=this.videoSecondaryInfoRenderer)?void 0:a.showMoreCommand}},
flexMenuEnabled:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return!!(null==(a=this.videoPrimaryInfoRenderer)?0:null==(b=a.videoActions)?0:null==(c=b.menuRenderer)?0:null==(d=c.flexibleItems)?0:d.length)}}});
_.t.Object.defineProperties(x1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-metadata--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_watch_metadata.ytd.watch.metadata.css.js--\x3e<div id="above-the-fold">\n  <div id="title" hidden="[[hideTitle]]">\n    <ytd-badge-supported-renderer disable-upgrade$="[[!videoPrimaryInfoRenderer.topStandaloneBadge]]" hidden="[[!videoPrimaryInfoRenderer.topStandaloneBadge]]" top-standalone-badge="[[videoPrimaryInfoRenderer.topStandaloneBadge]]">\n    </ytd-badge-supported-renderer>\n    <a class="yt-simple-endpoint" hidden="[[!videoPrimaryInfoRenderer.superTitleIcon]]" href$="[[computeHref_(videoPrimaryInfoRenderer.superTitleLink.runs.0.navigationEndpoint)]]" aria-label$="[[videoPrimaryInfoRenderer.superTitleLink.accessibility.accessibilityData.label]]" data="[[videoPrimaryInfoRenderer.superTitleLink.runs.0.navigationEndpoint]]">\n      <yt-icon id="super-title-icon" icon="yt-icons:location_pin">\n      </yt-icon>\n    </a>\n    <yt-formatted-string id="super-title" force-default-style="" text="[[videoPrimaryInfoRenderer.superTitleLink]]">\n    </yt-formatted-string>\n    <h1>\n      <yt-formatted-string force-default-style="" text="[[videoPrimaryInfoRenderer.title]]">\n      </yt-formatted-string>\n    </h1>\n    <ytd-badge-supported-renderer badges="[[videoPrimaryInfoRenderer.badges]]" disable-upgrade$="[[!videoPrimaryInfoRenderer.badges]]" hidden="[[!videoPrimaryInfoRenderer.badges]]">\n    </ytd-badge-supported-renderer>\n  </div>\n\n  <div id="description-and-actions">\n    <div id="description" class="item">\n      <ytd-text-inline-expander id="description-inline-expander" always-show-expand-button="[[alwaysShowDescriptionExpandButton]]" collapse-label="[[getSimpleString(videoSecondaryInfoRenderer.showLessText)]]" expand-command="[[descriptionExpandCommand]]" expand-label="[[getSimpleString(videoSecondaryInfoRenderer.showMoreText)]]" max-lines="[[maxNumberOfDescriptionLines]]" text="[[descriptionText]]">\n        <div slot="extra-content">\n          <ytd-structured-description-content-renderer id="structured-description" data="[[structuredDescriptionContentRenderer]]" disable-upgrade$="[[!hasInlineStructuredDescription]]" hidden="[[!hasInlineStructuredDescription]]" inline-structured-description="">\n          </ytd-structured-description-content-renderer>\n          <ytd-metadata-row-container-renderer data="[[collapsibleMetadataRows]]" disable-upgrade$="[[!collapsibleMetadataRows]]">\n          </ytd-metadata-row-container-renderer>\n        </div>\n      </ytd-text-inline-expander>\n    </div>\n    <div id="actions" class="item">\n      <div id="actions-inner">\n        <div id="menu"></div>\n        <ytd-sentiment-bar-renderer id="sentiment" data="[[videoPrimaryInfoRenderer.sentimentBar.sentimentBarRenderer]]" hidden="[[!hasSentimentBar]]">\n        </ytd-sentiment-bar-renderer>\n      </div>\n    </div>\n  </div>\n\n  <div id="owner-and-teaser">\n    <div id="owner" class="item" hidden="[[!videoSecondaryInfoRenderer.owner.videoOwnerRenderer]]">\n      <ytd-video-owner-renderer data="[[videoSecondaryInfoRenderer.owner.videoOwnerRenderer]]" watch-metadata-refresh="">\n      </ytd-video-owner-renderer>\n      <div id="subscribe-button"></div>\n    </div>\n    <div id="comment-teaser" class="item" hidden="[[!hasTeaser]]"></div>\n  </div>\n</div>\n\n<ytd-metadata-row-container-renderer data="[[alwaysVisibleMetadataRows]]">\n</ytd-metadata-row-container-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_watch_metadata.ytd.watch.metadata.css.js--\x3e<style>:host {display: block;color: var(--yt-spec-text-primary);} h1 {word-break: break-word;} :host(:not([smaller-yt-sans-light-title])) h1 {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([smaller-yt-sans-light-title]) h1 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 600;max-height: 5.6rem;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;overflow: hidden;} #super-title {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #super-title-icon {color: var(--yt-spec-call-to-action);height: 16px;width: 16px;margin-right: 4px;vertical-align: bottom;} .item {box-sizing: border-box;min-width: 350px;margin-right: 12px;margin-top: 12px;} :host([larger-item-wrap]) .item {min-width: 400px;} #description-and-actions {margin-top: -4px;} :host([description-collapsed]) #description-and-actions {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host(:not([flex-menu-enabled])) #description-and-actions {-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host(:not([description-collapsed])) #description-and-actions {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([actions-on-separate-line]) #description-and-actions {display: block;} #description {max-width: 615px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([expand-button-text-primary]) #description {--ytd-text-inline-expander-button-color: var(--yt-spec-text-primary);} :host([description-collapsed]) #description {min-width: calc(50% - 12px);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .expand-button {margin-top: 4px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} ytd-structured-description-content-renderer {margin-top: 16px;} #actions {margin-top: 4px;} :host([description-collapsed]) #actions {min-width: 50%;margin-right: 0;-ms-flex: none;-webkit-flex: none;flex: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} :host([flex-menu-enabled]) #actions {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} :host([actions-on-separate-line]) #actions {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #actions-inner {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([flex-menu-enabled]) #actions-inner {width: 100%;} :host([flex-menu-enabled]) #actions ytd-menu-renderer {-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([actions-on-separate-line]) #actions ytd-menu-renderer {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #menu {--yt-button-icon-size: 36px;} #sentiment {width: 110px;padding: 4px 0 12px;margin: -4px 0 -12px;} #owner-and-teaser {margin-top: 0px;margin-right: -12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #owner,#comment-teaser {height: 52px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #owner {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 4px;padding: 0 4px 0 12px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} ytd-video-owner-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-watch-metadata.css.map*/</style>';
rHb=d}d=rHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sHb=a}a=sHb;return a}}});
_.y1=x1;_.y1.prototype.onYtExpanderLessTapped=_.y1.prototype.onYtExpanderLessTapped;_.y1.prototype.onYtExpanderMoreTapped=_.y1.prototype.onYtExpanderMoreTapped;_.y1.prototype.onRenderStamperFinished=_.y1.prototype.onRenderStamperFinished;_.y1.prototype.onYtTextInlineExpanderExpandedChanged=_.y1.prototype.onYtTextInlineExpanderExpandedChanged;_.y1.prototype.onYtTextInlineExpanderCollapseClicked=_.y1.prototype.onYtTextInlineExpanderCollapseClicked;
_.y1.prototype.onYtTextInlineExpanderExpandClicked=_.y1.prototype.onYtTextInlineExpanderExpandClicked;_.y1.prototype.videoSecondaryInfoRendererChanged=_.y1.prototype.videoSecondaryInfoRendererChanged;_.y1.prototype.videoPrimaryInfoRendererChanged=_.y1.prototype.videoPrimaryInfoRendererChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],_.y1.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],_.y1.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.y1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],_.y1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.Z("#above-the-fold"),_.T("design:type",HTMLElement)],_.y1.prototype,"aboveTheFoldContainer",void 0);
_.S([_.Z("#menu ytd-menu-renderer"),_.T("design:type",_.Mv)],_.y1.prototype,"menu",void 0);_.S([_.Z("#sentiment"),_.T("design:type",HTMLElement)],_.y1.prototype,"sentimentBar",void 0);_.S([_.Z("#description-inline-expander"),_.T("design:type",w1)],_.y1.prototype,"descriptionInlineExpander",void 0);_.S([_.Z("#structured-description"),_.T("design:type",l1)],_.y1.prototype,"structuredDescriptionContentRendererElement",void 0);
_.S([_.Ix("title"),_.T("design:type",HTMLElement)],_.y1.prototype,"titleElement",void 0);_.S([_.N(),_.T("design:type",Object)],_.y1.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],_.y1.prototype,"videoPrimaryInfoRenderer",void 0);_.S([_.N(),_.T("design:type",Object)],_.y1.prototype,"videoSecondaryInfoRenderer",void 0);_.S([_.N(),_.T("design:type",Object)],_.y1.prototype,"commentsEntryPointHeaderRenderer",void 0);
_.S([_.N(),_.T("design:type",Object)],_.y1.prototype,"structuredDescriptionContentRenderer",void 0);_.S([_.N(),_.T("design:type",Boolean)],_.y1.prototype,"isWatchFlexy",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],_.y1.prototype,"descriptionCollapsed",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.y1.prototype,"smallerYtSansLightTitle",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],_.y1.prototype,"expandButtonTextPrimary",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("videoSecondaryInfoRenderer"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"largerItemWrap",null);_.S([_.N(),_.T("design:type",Boolean)],_.y1.prototype,"hideTitle",void 0);_.S([_.N(),_.T("design:type",Boolean)],_.y1.prototype,"isDark",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],_.y1.prototype,"actionsOnSeparateLine",void 0);_.S([_.N(),_.T("design:type",Boolean)],_.y1.prototype,"suppressNonRichMetadataRows",void 0);
_.S([_.V("videoPrimaryInfoRenderer","videoPrimaryInfoRenderer.dateText","videoPrimaryInfoRenderer.viewCount","videoSecondaryInfoRenderer","videoSecondaryInfoRenderer.description","isDark","descriptionCollapsed"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"descriptionText",null);_.S([_.N(),_.T("design:type",Object)],_.y1.prototype,"maxNumberOfDescriptionLines",void 0);
_.S([_.N({value:!1}),_.V("commentsEntryPointHeaderRenderer"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"hasTeaser",null);_.S([_.V("videoSecondaryInfoRenderer.metadataRowContainer"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"collapsibleMetadataRows",null);_.S([_.V("videoSecondaryInfoRenderer.metadataRowContainer","suppressNonRichMetadataRows"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"alwaysVisibleMetadataRows",null);
_.S([_.V("videoPrimaryInfoRenderer"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"hasSentimentBar",null);_.S([_.V("collapsibleMetadataRows","hasInlineStructuredDescription"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"alwaysShowDescriptionExpandButton",null);_.S([_.V("videoSecondaryInfoRenderer","structuredDescriptionContentRenderer"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],_.y1.prototype,"hasInlineStructuredDescription",null);
_.S([_.V("hasInlineStructuredDescription","descriptionCollapsed"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],_.y1.prototype,"showInlineStructuredDescription",null);_.S([_.V("data","hasInlineStructuredDescription"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.y1.prototype,"descriptionExpandCommand",null);_.S([_.N({reflectToAttribute:!0}),_.V("videoPrimaryInfoRenderer.videoActions"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],_.y1.prototype,"flexMenuEnabled",null);
_.S([_.Ct("videoPrimaryInfoRenderer"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.y1.prototype,"videoPrimaryInfoRendererChanged",null);_.S([_.Ct("videoSecondaryInfoRenderer"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.y1.prototype,"videoSecondaryInfoRendererChanged",null);
_.S([_.O("yt-text-inline-expander-expand-clicked"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.y1.prototype,"onYtTextInlineExpanderExpandClicked",null);_.S([_.O("yt-text-inline-expander-collapse-clicked"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.y1.prototype,"onYtTextInlineExpanderCollapseClicked",null);
_.S([_.O("yt-text-inline-expander-expanded-changed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.y1.prototype,"onYtTextInlineExpanderExpandedChanged",null);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],_.y1.prototype,"onRenderStamperFinished",null);
_.S([_.O("yt-expander-more-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.y1.prototype,"onYtExpanderMoreTapped",null);_.S([_.O("yt-expander-less-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],_.y1.prototype,"onYtExpanderLessTapped",null);_.y1=_.S([_.Q({is:"ytd-watch-metadata"})],_.y1);
var fDb=!1;

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy16");

_.k6a=function(a,b){var c;_.hj(a,function(d){c=b[d];return!!c});
return c};
_.dJ=function(){var a=void 0===a?!1:a;var b=_.k6a(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);if(a)for(;b&&b.shadowRoot;)b=b.shadowRoot.fullscreenElement;return b?b:null};
_.fJ=function(a){if(!_.eJ||a)_.eJ=_.jk();return _.eJ};
_.l6a=function(a,b,c){for(var d=_.k(Object.keys(b)),e=d.next();!e.done;e=d.next()){e=e.value;var h=a.actionRoutingMap.get(e);h||(h=new Map,a.actionRoutingMap.set(e,h));h.set(c,_.kd(b[e]))}};
_.gJ=function(a){a=void 0===a?!1:a;_.uk.call(this);this.pubSub_=new _.fm(a);_.wk(this,this.pubSub_)};
_.cj(_.gJ,_.uk);_.gJ.prototype.subscribe=function(a,b,c){return this.isDisposed()?0:this.pubSub_.subscribe(a,b,c)};
_.gJ.prototype.unsubscribe=function(a,b,c){return this.isDisposed()?!1:this.pubSub_.unsubscribe(a,b,c)};
_.gJ.prototype.unsubscribeByKey=function(a){return this.isDisposed()?!1:this.pubSub_.unsubscribeByKey(a)};
_.gJ.prototype.JSC$62287_publish=function(a,b){this.isDisposed()||this.pubSub_.JSC$32713_publish.apply(this.pubSub_,arguments)};
_.eJ=null;

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1w");

_.lJ={};
_.lJ.YtConditionalRendererBehavior=[_.U.YtRendererBehavior,{_noAccessors:!0,properties:{hidden:{type:Boolean,reflectToAttribute:!0},showSpinner:{type:Boolean,reflectToAttribute:!0}},observers:["updateProperties_(data, isAttached)"],updateProperties_:function(a,b){var c=this,d,e,h,l,m;return _.y(function(p){switch(p.nextAddress){case 1:if(!b)return c.hidden=!0,c.showSpinner=!1,p.return();if(null==(d=a)?0:null==(e=d.visibilityCondition)?0:e.mode)switch(a.visibilityCondition.mode){case "VISIBILITY_CONDITION_MODE_DISPLAY_SPINNER":return p.jumpTo(5);default:return p.jumpTo(6)}c.showSpinner=
!1;c.hidden=!0;h=c;return _.B(p,c.shouldShow_(a),4);case 4:h.hidden=!p.yieldResult;p.jumpTo(0);break;case 5:return l=c,_.B(p,c.shouldShow_(a),8);case 8:l.showSpinner=p.yieldResult;c.hidden=!1;p.jumpTo(0);break;case 6:return c.showSpinner=!1,m=c,_.B(p,c.shouldShow_(a),9);case 9:m.hidden=!p.yieldResult,_.bf(p)}})},
shouldShow_:function(a){return a&&a.supportedDatas&&a.supportedDatas.rendererVisibilityConditionData&&a.supportedDatas.rendererVisibilityConditionData.showIf?this.isVisibilityConditionSatisfied_(a.supportedDatas.rendererVisibilityConditionData.showIf):a&&a.visibilityCondition&&a.visibilityCondition.showIf?this.isVisibilityConditionSatisfied_(a.visibilityCondition.showIf):a&&a.visibilityConditionType?this.isLegacyVisibilityConditionSatisfied_(a.visibilityConditionType):Promise.resolve(!0)},
isVisibilityConditionSatisfied_:function(a){switch(a){case "VISIBILITY_CONDITION_TYPE_MDX_CONNECTED":return Promise.resolve(this.isMdxConnected_());case "VISIBILITY_CONDITION_TYPE_MDX_DISCONNECTED":return Promise.resolve(!this.isMdxConnected_());case "VISIBILITY_CONDITION_TYPE_LOCATION_PERMISSION_GRANTED":return this.isLocationPermissionGranted_();default:return Promise.resolve(!1)}},
isLegacyVisibilityConditionSatisfied_:function(a){switch(a){case "MDX_CONNECTED":return Promise.resolve(this.isMdxConnected_());default:return Promise.resolve(!1)}},
isMdxConnected_:function(){var a=_.C(this,"yt-get-mdx-status");return 1==a.length&&a[0].connected},
isLocationPermissionGranted_:function(){var a;return _.y(function(b){return 1==b.nextAddress?navigator.permissions?_.B(b,navigator.permissions.query({name:"geolocation"}),3):b.jumpTo(2):2!=b.nextAddress?(a=b.yieldResult,b.return(Promise.resolve("granted"===a.state))):b.return(Promise.resolve(!1))})}}];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy25");

_.tHb=function(a,b){a.commandMetadata&&a.commandMetadata.webCommandMetadata&&a.commandMetadata.webCommandMetadata.url&&(a=_.sd(a.commandMetadata.webCommandMetadata.url).adurl)&&_.jfa(a)&&_.Nu(_.Gh(a),{encoded_ad_playback_context:b})};

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy4");

var b3a,c3a;_.JH=function(a,b,c,d,e){var h={};b&&(h[b]=c);d?h.errorType=d:e&&(h.errorReason=e);_.Kf(a,h);_.If()};
_.a3a=function(a,b,c){b=void 0===b?{}:b;"function"===typeof b&&(b={callback:b});c||b._c&&b._c.jsl&&b._c.jsl.h||_.u.extend(b,{_c:{jsl:{h:_.w("GAPI_HINT_PARAMS")}}});(b.gapiHintOverride||_.w("GAPI_HINT_OVERRIDE"))&&(c=_.sd(document.location.href).gapi_jsh)&&_.u.extend(b,{_c:{jsl:{h:c}}});$2a(a,b)};
b3a=/%{(\w+)}/g;c3a=function(a,b){var c=_.ij(a);if(!_.uoa.test(c))throw Error("v`"+c);a=c.replace(b3a,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error("w`"+e+"`"+c+"`"+JSON.stringify(b));d=b[e];return d instanceof _.Tf?_.ij(d):encodeURIComponent(String(d))});
return _.kj(a)};
/*
 gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
var KH=window,LH=document,d3a=KH.location,e3a=function(){},f3a=/\[native code\]/,MH=function(a,b,c){return a[b]=a[b]||c},g3a=function(a){a=a.sort();
for(var b=[],c=void 0,d=0;d<a.length;d++){var e=a[d];e!=c&&b.push(e);c=e}return b},NH=function(){var a;
if((a=Object.create)&&f3a.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a},OH=MH(KH,"gapi",{});
var PH={};PH=MH(KH,"___jsl",NH());MH(PH,"I",0);MH(PH,"hel",10);var h3a=function(){var a=d3a.href;if(PH.dpo)var b=PH.h;else{b=PH.h;var c=RegExp("([#].*&|[#])jsh=([^&#]*)","g"),d=RegExp("([?#].*&|[?#])jsh=([^&#]*)","g");if(a=a&&(c.exec(a)||d.exec(a)))try{b=decodeURIComponent(a[2])}catch(e){}}return b},i3a=function(a){var b=MH(PH,"PQ",[]);
PH.PQ=[];var c=b.length;if(0===c)a();else for(var d=0,e=function(){++d===c&&a()},h=0;h<c;h++)b[h](e)},j3a=function(a){return MH(MH(PH,"H",NH()),a,NH())};
var QH=MH(PH,"perf",NH());MH(QH,"g",NH());var k3a=MH(QH,"i",NH());MH(QH,"r",[]);NH();NH();var RH=function(a,b,c){b&&0<b.length&&(b=l3a(b),c&&0<c.length&&(b+="___"+l3a(c)),28<b.length&&(b=b.substr(0,28)+(b.length-28)),c=b,b=MH(k3a,"_p",NH()),MH(b,c,NH())[a]=(new Date).getTime(),b=QH.r,"function"===typeof b?b(a,"_p",c):b.push([a,"_p",c]))},l3a=function(a){return a.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/,/g,"_")};
var m3a=NH(),SH=[],TH=function(a){throw Error("Pe`"+a);};
SH.push(["jsl",function(a){for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b];"object"==typeof c?PH[b]=MH(PH,b,[]).concat(c):MH(PH,b,c)}if(b=a.u)a=MH(PH,"us",[]),a.push(b),(b=/^https:(.*)$/.exec(b))&&a.push("http:"+b[1])}]);
var n3a=/^(\/[a-zA-Z0-9_\-]+)+$/,o3a=[/\/amp\//,/\/amp$/,/^\/amp$/],p3a=/^[a-zA-Z0-9\-_\.,!]+$/,q3a=/^gapi\.loaded_[0-9]+$/,r3a=/^[a-zA-Z0-9,._-]+$/,v3a=function(a,b,c,d,e){var h=a.split(";"),l=h.shift(),m=m3a[l],p=null;m?p=m(h,b,c,d):TH("no hint processor for: "+l);p||TH("failed to generate load url");b=p;c=b.match(s3a);(d=b.match(t3a))&&1===d.length&&u3a.test(b)&&c&&1===c.length||TH("failed sanity: "+a);try{a="?";if(e&&0<e.length){_.ta(e);var r=e.join(",");p=p+"?le="+r;a="&"}if(PH.rol){var v=PH.ol;
v&&v.length&&(p=""+p+a+"ol="+v.length)}}catch(z){}return p},y3a=function(a,b,c,d){a=w3a(a);
q3a.test(c)||TH("invalid_callback");b=x3a(b);d=d&&d.length?x3a(d):null;var e=function(h){return encodeURIComponent(h).replace(/%2C/g,",")};
return[encodeURIComponent(a.pathPrefix).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",e(a.version),"/m=",e(b),d?"/exm="+e(d):"","/rt=j/sv=1/d=1/ed=1",a.activeMods?"/am="+e(a.activeMods):"",a.resourceSig?"/rs="+e(a.resourceSig):"",a.zcms?"/t="+e(a.zcms):"","/cb=",e(c)].join("")},w3a=function(a){"/"!==a.charAt(0)&&TH("relative path");
for(var b=a.substring(1).split("/"),c=[];b.length;){a=b.shift();if(!a.length||0==a.indexOf("."))TH("empty/relative directory");else if(0<a.indexOf("=")){b.unshift(a);break}c.push(a)}a={};for(var d=0,e=b.length;d<e;++d){var h=b[d].split("="),l=decodeURIComponent(h[0]),m=decodeURIComponent(h[1]);2==h.length&&l&&m&&(a[l]=a[l]||m)}b="/"+c.join("/");n3a.test(b)||TH("invalid_prefix");c=0;for(d=o3a.length;c<d;++c)o3a[c].test(b)&&TH("invalid_prefix");c=UH(a,"k",!0);d=UH(a,"am");e=UH(a,"rs");a=UH(a,"t");return{pathPrefix:b,
version:c,activeMods:d,resourceSig:e,zcms:a}},x3a=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c].replace(/\./g,"_").replace(/-/g,"_");
r3a.test(e)&&b.push(e)}return b.join(",")},UH=function(a,b,c){a=a[b];
!a&&c&&TH("missing: "+b);if(a){if(p3a.test(a))return a;TH("invalid: "+b)}return null},u3a=/^https?:\/\/[a-z0-9_.-]+\.google(rs)?\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,t3a=/\/cb=/g,s3a=/\/\//g;
m3a.m=function(a,b,c,d){(a=a[0])||TH("missing_hint");return"https://apis.google.com"+y3a(a,b,c,d)};
var VH=decodeURI("%73cript"),z3a=/^[-+_0-9\/A-Za-z]+={0,2}$/,A3a=function(a,b){for(var c=[],d=0;d<a.length;++d){var e=a[d],h;if(h=e){a:{for(h=0;h<b.length;h++)if(b[h]===e)break a;h=-1}h=0>h}h&&c.push(e)}return c},B3a=function(){var a=PH.nonce;
return void 0!==a?a&&a===String(a)&&a.match(z3a)?a:PH.nonce=null:LH.querySelector?(a=LH.querySelector("script[nonce]"))?(a=a.nonce||a.getAttribute("nonce")||"",a&&a===String(a)&&a.match(z3a)?PH.nonce=a:PH.nonce=null):null:null},D3a=function(a){if("loading"!=LH.readyState)C3a(a);
else{var b=B3a(),c="";null!==b&&(c=' nonce="'+b+'"');a="<"+VH+' src="'+encodeURI(a)+'"'+c+"></"+VH+">";LH.write(WH?WH.createHTML(a):a)}},C3a=function(a){var b=LH.createElement(VH);
b.setAttribute("src",WH?WH.createScriptURL(a):a);a=B3a();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=LH.getElementsByTagName(VH)[0])?a.parentNode.insertBefore(b,a):(LH.head||LH.body||LH.documentElement).appendChild(b)},F3a=function(a,b,c){E3a(function(){var d=b===h3a()?MH(OH,"_",NH()):NH();
d=MH(j3a(b),"_",d);a(d)},c)},$2a=function(a,b){var c=b||{};
"function"==typeof b&&(c={},c.callback=b);var d=(b=c)&&b._c;if(d)for(var e=0;e<SH.length;e++){var h=SH[e][0],l=SH[e][1];l&&Object.prototype.hasOwnProperty.call(d,h)&&l(d[h],a,b)}b=[];a?b=a.split(":"):c.features&&(b=c.features);if(!(a=c.h)&&(a=h3a(),!a))throw Error("Qe");G3a(b||[],c,a)},G3a=function(a,b,c){a=g3a(a)||[];
var d=b.callback,e=b.config,h=b.timeout,l=b.ontimeout,m=b.onerror,p=void 0;"function"==typeof m&&(p=m);var r=null,v=!1;if(h&&!l||!h&&l)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";m=MH(j3a(c),"r",[]).sort();var z=MH(j3a(c),"L",[]).sort(),A=PH.le,D=[].concat(m),E=function(Ca,ea){if(v)return 0;KH.clearTimeout(r);z.push.apply(z,J);var na=((OH||{}).config||{}).update;na?na(e):e&&MH(PH,"cu",[]).push(e);if(ea){RH("me0",Ca,D);try{F3a(ea,c,p)}finally{RH("me1",Ca,D)}}return 1};
0<h&&(r=KH.setTimeout(function(){v=!0;l()},h));
var J=A3a(a,z);if(J.length){J=A3a(a,m);var R=MH(PH,"CP",[]),da=R.length;R[da]=function(Ca){if(!Ca)return 0;RH("ml1",J,D);var ea=function(ma){R[da]=null;E(J,Ca)&&i3a(function(){d&&d();ma()})},na=function(){var ma=R[da+1];
ma&&ma()};
0<da&&R[da-1]?R[da]=function(){ea(na)}:ea(na)};
if(J.length){var sa="loaded_"+PH.I++;OH[sa]=function(Ca){R[da](Ca);OH[sa]=null};
a=v3a(c,J,"gapi."+sa,m,A);m.push.apply(m,J);RH("ml0",J,D);b.sync||KH.___gapisync?D3a(a):C3a(a)}else R[da](e3a)}else E(J)&&d&&d()},WH=_.moa("goog#gapi"),E3a=function(a,b){if(PH.hee&&0<PH.hel)try{return a()}catch(c){b&&b(c),PH.hel--,$2a("debug_error",function(){try{window.___jsl.hefn(c)}catch(d){throw c;
}})}else try{return a()}catch(c){throw b&&b(c),c;
}},H3a=OH.load;
H3a&&MH(PH,"ol",[]).push(H3a);OH.load=function(a,b){return E3a(function(){return $2a(a,b)})};
var I3a;
var J3a;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({is:"tp-yt-paper-radio-button",_template:function(){if(void 0!==J3a)return J3a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-radio-button--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_radio_button.tp.yt.paper.radio.button.css.js--\x3e<div id="radioContainer" style-target="container"><div id="offRadio"></div><div id="onRadio"></div></div><div id="radioLabel" style-target="label"><slot></slot></div>';var b=a.content,
c=b.insertBefore;if(void 0===I3a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_radio_button.tp.yt.paper.radio.button.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n  line-height: 0;\n  white-space: nowrap;\n  cursor: pointer;\n  @apply --paper-font-common-base;\n  --calculated-paper-radio-button-size: var(--paper-radio-button-size, 16px);\n  --calculated-paper-radio-button-ink-size: var(\n    --paper-radio-button-ink-size,\n    -1px\n  );\n}\n\n:host(:focus) {\n  outline: none;\n}\n\n[style-target=container] {\n  display: -ms-inline-flexbox;\n  display: -webkit-inline-flex;\n  display: inline-flex;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  -ms-flex-pack: center;\n  -webkit-justify-content: center;\n  justify-content: center;\n  position: relative;\n  width: var(--calculated-paper-radio-button-size);\n  height: var(--calculated-paper-radio-button-size);\n  vertical-align: middle;\n}\n\n#ink {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  right: auto;\n  width: var(--calculated-paper-radio-button-ink-size);\n  height: var(--calculated-paper-radio-button-ink-size);\n  color: var(--paper-radio-button-unchecked-ink-color, var(--primary-text-color));\n  opacity: 0.6;\n  pointer-events: none;\n  -webkit-transform: translate(-50%, -50%);\n  transform: translate(-50%, -50%);\n}\n\n#ink[checked] {\n  color: var(--paper-radio-button-checked-ink-color, var(--primary-color));\n}\n\n#offRadio,\n#onRadio {\n  position: absolute;\n  box-sizing: border-box;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border-radius: 50%;\n}\n\n#offRadio {\n  border: 2px solid var(--paper-radio-button-unchecked-color, var(--primary-text-color));\n  background-color: var(--paper-radio-button-unchecked-background-color, transparent);\n  transition: border-color 0.28s;\n}\n\n#onRadio {\n  background-color: var(--paper-radio-button-checked-color, var(--primary-color));\n  -webkit-transform: scale(0);\n  transform: scale(0);\n  transition: -webkit-transform ease 0.28s;\n  transition: transform ease 0.28s;\n  will-change: transform;\n}\n\n:host([checked]) #offRadio {\n  border-color: var(--paper-radio-button-checked-color, var(--primary-color));\n}\n\n:host([checked]) #onRadio {\n  -webkit-transform: scale(0.5);\n  transform: scale(0.5);\n}\n\n[style-target=label] {\n  line-height: normal;\n  position: relative;\n  display: inline-block;\n  vertical-align: middle;\n  margin-left: var(--paper-radio-button-label-spacing, 10px);\n  white-space: normal;\n  color: var(--paper-radio-button-label-color, var(--primary-text-color));\n}\n[style-target=label]:dir(rtl) {\n  margin-left: 0;\n  margin-right: var(--paper-radio-button-label-spacing, 10px);\n}\n[style-target=label][hidden] {\n  display: none;\n}\n\n:host([disabled]) #offRadio {\n  border-color: var(--paper-radio-button-unchecked-color, var(--primary-text-color));\n  opacity: 0.5;\n}\n\n:host([disabled][checked]) #onRadio {\n  background-color: var(--paper-radio-button-unchecked-color, var(--primary-text-color));\n  opacity: 0.5;\n}\n\n:host([disabled]) [style-target=label] {\n  opacity: 0.65;\n}\n\n/*# sourceMappingURL=tp-yt-paper-radio-button.css.map */</style>";
I3a=d}d=I3a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return J3a=a},
behaviors:[_.JZa],hostAttributes:{role:"radio","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},ready:function(){this._rippleContainer=this.$.radioContainer},
attached:function(){_.nt(this,function(){if("-1px"===this.getComputedStyleValue("--calculated-paper-radio-button-ink-size").trim()){var a=parseFloat(this.getComputedStyleValue("--calculated-paper-radio-button-size").trim()),b=Math.floor(3*a);b%2!==a%2&&b++;this.updateStyles({"--paper-radio-button-ink-size":b+"px"})}})}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var K3a;
var L3a;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==L3a)return L3a;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-paper-radio-group--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_radio_group.tp.yt.paper.radio.group.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===K3a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_radio_group.tp.yt.paper.radio.group.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n}\n\n:host ::slotted(*) {\n  padding: var(--paper-radio-group-item-padding, 12px);\n}\n\n/*# sourceMappingURL=tp-yt-paper-radio-group.css.map */</style>";
K3a=d}d=K3a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return L3a=a},
is:"tp-yt-paper-radio-group",behaviors:[_.Z2a],hostAttributes:{role:"radiogroup"},properties:{attrForSelected:{type:String,value:"name"},selectedAttribute:{type:String,value:"checked"},selectable:{type:String,value:"tp-yt-paper-radio-button"},allowEmptySelection:{type:Boolean,value:!1}},select:function(a){var b=this._valueToItem(a);if(!b||!b.hasAttribute("disabled")){if(this.selected){b=this._valueToItem(this.selected);if(this.selected==a)if(this.allowEmptySelection)a="";else{b&&(b.checked=!0);return}b&&
(b.checked=!1)}_.ux.select.apply(this,[a]);this.fire("paper-radio-group-changed")}},
_activateFocusedItem:function(){this._itemActivate(this._valueForItem(this.focusedItem),this.focusedItem)},
_onUpKey:function(a){this._focusPrevious();a.preventDefault();this._activateFocusedItem()},
_onDownKey:function(a){this._focusNext();a.preventDefault();this._activateFocusedItem()},
_onLeftKey:function(a){_.Y2a._onLeftKey.apply(this,arguments);this._activateFocusedItem()},
_onRightKey:function(a){_.Y2a._onRightKey.apply(this,arguments);this._activateFocusedItem()}});
var M3a;M3a=/^(?:https:)?\/\/[0-9a-z-.]+\.(google|youtube)\.com\//;_.N3a=function(){var a=_.w("YPC_MB_URL");a=M3a.test(a)?_.ib(_.jb("Url of payment library"),a):null;if(!window.payments&&a)a=_.dA(a,{attributes:{"data-payments-main":"",id:"payment-lib"}});else{var b=_.Sk();a=b.promise;b.resolve()}return a};
_.O3a=function(a){if(!_.hk(document,"gtm")){window.dataLayer=window.dataLayer||[];window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var b=_.Gb("SCRIPT");b.async=!0;_.Fb(b,c3a(_.jb("//www.googletagmanager.com/gtm.js?id=%{id}"),{id:a}));b.id="gtm";a=document.getElementsByTagName("script");0==a.length?document.head.appendChild(b):(a=a[0],a.parentNode.insertBefore(b,a))}};
var P3a,R3a;P3a=_.jb("https://clients2.google.com/gr/gr_sync.js");_.Q3a=function(){};
_.Q3a.prototype.init=function(){if(R3a()){var a=_.Sk();a.resolve();return a.promise}return _.dA(c3a(P3a,{})).then(function(){if(!R3a())throw Error("Re");},function(){throw Error("Se");
})};
_.S3a=function(){if(!R3a())return"";var a=window.google.gr;a.init({async:{schedule:"sync"},merchantId:"youtube"});a.start();a=a.finish();return null==a?"":a};
R3a=function(){return null!=window.google&&null!=window.google.gr};
var T3a;
var U3a;
_.$u("multiPageMenuSectionItems","compactLinkRenderer","ytd-compact-link-renderer");var XH=function(){return _.K.apply(this,arguments)||this};
_.q(XH,_.K);_.f=XH.prototype;_.f.computeHasPrimaryIcon=function(a){return!(!a.icon&&!a.thumbnail)};
_.f.computeHasSecondary=function(a){return!(!a.secondaryIcon&&!a.secondaryNotificationText)};
_.f.computeHideSecondaryString=function(a){return!_.x("disable_hide_empty_secondary_string")&&!a.secondaryNotificationText};
_.f.computeCompactLinkStyle=function(a){return a?a.toLowerCase().replace(/_/g,"-"):""};
_.f.isActiveEndpoint=function(a){return(a=this.get("commandMetadata.webCommandMetadata.url",a))?"/account_transfer_channel"!==_.Ed(window.location.href)&&"/gaia_link"!==_.Ed(window.location.href)&&"/channel_switcher"!==_.Ed(window.location.href)||"/account"!==a?_.Ed(window.location.href)===a:!0:!1};
_.f.onTap=function(){var a;(null==(a=this.data)?0:a.serviceEndpoint)&&_.Kg(this,[this.data.serviceEndpoint])};
_.t.Object.defineProperties(XH,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===U3a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-link-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_link_renderer.ytd.compact.link.renderer.css.js--\x3e<a id="endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" tabindex="-1">\n  <tp-yt-paper-item role="link">\n    <div id="content-icon" hidden="[[!computeHasPrimaryIcon(data)]]">\n      <yt-img-shadow disable-upgrade$="[[!data.thumbnail]]" height="40" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]" width="40">\n      </yt-img-shadow>\n      <yt-icon disable-upgrade$="[[!icon]]" hidden="[[!icon]]" icon="[[icon]]">\n      </yt-icon>\n    </div>\n    <div id="primary-text-container">\n      <yt-formatted-string id="label" text="[[data.title]]"></yt-formatted-string>\n      <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n    </div>\n    <yt-icon id="right-icon" disable-upgrade$="[[!secondaryIcon]]" hidden="[[!secondaryIcon]]" icon="[[secondaryIcon]]">\n    </yt-icon>\n    <yt-formatted-string id="secondary-text" hidden="[[hideSecondaryString]]" text="[[data.secondaryNotificationText]]">\n    </yt-formatted-string>\n  </tp-yt-paper-item>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===T3a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_link_renderer.ytd.compact.link.renderer.css.js--\x3e<style>:host {--paper-item-min-height: 40px;display: block;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} :host(:not([compact-link-style=compact-link-style-type-disclaimer])) .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #endpoint.yt-simple-endpoint {display: block;cursor: pointer;} tp-yt-paper-item {color: var(--yt-compact-link-color,var(--yt-spec-text-primary));height: var(--paper-item-min-height,48px);padding: var(--yt-compact-link-paper-item-padding,0px 16px);} :host(:not([has-secondary])) tp-yt-paper-item {padding: var(--yt-compact-link-paper-item-padding,0px 36px 0 16px);} :host([compact-link-style=compact-link-style-type-tvfilm-entity-provider]) tp-yt-paper-item {padding: var(--yt-compact-link-paper-item-padding,8px 12px);} #primary-text-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #label {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #subtitle {display: block;padding-left: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([compact-link-style=compact-link-style-type-tvfilm-entity-provider]) #primary-text-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([compact-link-style=compact-link-style-type-tvfilm-entity-provider]) #subtitle {color: var(--yt-spec-text-secondary);padding-left: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;-ms-flex: none;-webkit-flex: none;flex: none;} yt-icon {color: var(--yt-compact-link-icon-color,var(--yt-spec-icon-inactive));} #content-icon {margin-right: 16px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: none;-webkit-flex: none;flex: none;} #secondary-text {background: var(--yt-spec-themed-blue);color: var(--yt-spec-filled-button-text);padding: 4px;border-radius: 2px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;} #right-icon {margin-right: 0;} #secondary-text,#right-icon {margin-left: 8px;} :host([compact-link-style=compact-link-style-type-account-switcher-footer]) #content-icon {margin-left: 4px;margin-right: 20px;} :host([compact-link-style=compact-link-style-type-disclaimer]) tp-yt-paper-item:focus,:host([compact-link-style=compact-link-style-type-disclaimer]) tp-yt-paper-item:focus:before {background: transparent;} :host([compact-link-style=compact-link-style-type-disclaimer]) #endpoint {cursor: auto;} :host([compact-link-style=compact-link-style-type-disclaimer]) #label {color: var(--yt-spec-text-secondary);white-space: initial;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([compact-link-style=compact-link-style-type-settings-sidebar]) tp-yt-paper-item {padding: 8px 24px;} :host([compact-link-style=compact-link-style-type-settings-sidebar][background-refresh]) tp-yt-paper-item {--paper-item-focused-before-border-radius: 10px;--paper-item-focused-before-background: var(--yt-spec-icon-active-other);padding: 0 16px;} :host([compact-link-style=compact-link-style-type-settings-sidebar][active]):hover {background: var(--yt-spec-verified-badge-background);} :host([compact-link-style=compact-link-style-type-settings-sidebar][active]) {background-color: var(--yt-spec-10-percent-layer);} :host([compact-link-style=compact-link-style-type-settings-sidebar]):hover {background-color: var(--yt-spec-badge-chip-background);} :host([compact-link-style=compact-link-style-type-settings-sidebar][active]) #label {font-weight: 500;} :host([compact-link-style=compact-link-style-type-selection-menu]) #content-icon[hidden]+#primary-text-container>#label {margin-left: 40px;} :host([compact-link-style=compact-link-style-type-history-my-activity-link]):first-of-type {margin-top: 4px;} :host([compact-link-style=compact-link-style-type-history-my-activity-link]) {margin-left: 32px;} :host([compact-link-style=compact-link-style-type-history-my-activity-link]) #content-icon[hidden]+#primary-text-container>#label {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([compact-link-style=compact-link-style-type-history-my-activity-link]) tp-yt-paper-item:focus,:host([compact-link-style=compact-link-style-type-history-my-activity-link]) tp-yt-paper-item:focus:before {background: transparent;} #label,#subtitle {display: block;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;} /*# sourceMappingURL=ytd-compact-link-renderer.css.map*/</style>';
T3a=d}d=T3a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);U3a=a}a=U3a;return a}}});
var YH=XH;YH.prototype.onTap=YH.prototype.onTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YH.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YH.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"isActiveEndpoint(data.navigationEndpoint)"}),_.T("design:type",Boolean)],YH.prototype,"active",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeCompactLinkStyle(data.style)"}),_.T("design:type",String)],YH.prototype,"compactLinkStyle",void 0);_.S([_.N({computed:"computeIcon_(data.icon)"}),_.T("design:type",Object)],YH.prototype,"icon",void 0);_.S([_.N({computed:"computeIcon_(data.secondaryIcon)"}),_.T("design:type",Object)],YH.prototype,"secondaryIcon",void 0);_.S([_.N({computed:"computeHasSecondary(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],YH.prototype,"hasSecondary",void 0);
_.S([_.N({computed:"computeHideSecondaryString(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],YH.prototype,"hideSecondaryString",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_background_colors_update")}),_.T("design:type",Boolean)],YH.prototype,"backgroundRefresh",void 0);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],YH.prototype,"onTap",null);YH=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-link-renderer"})],YH);
var V3a;
var W3a;
_.$u("multiPageMenuSectionItems","toggleThemeCompactLinkRenderer","ytd-toggle-theme-compact-link-renderer");var ZH=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-signal-action-toggle-dark-theme-on":"handleSignalActionToggleDarkThemeOn","yt-signal-action-toggle-dark-theme-off":"handleSignalActionToggleDarkThemeOff","yt-signal-action-toggle-dark-theme-device":"handleSignalActionToggleDarkThemeDevice"};return a};
_.q(ZH,_.K);_.f=ZH.prototype;_.f.dataChanged=function(){this.data&&(this.data.label?this.label=this.data.label:this.label="USER_INTERFACE_THEME_DARK"===_.pg()?this.data.toggledOnTitle:this.data.toggledOffTitle)};
_.f.onThemeSelected=function(a,b){var c=a||b?a:_.og(),d;if(d=c&&"USER_INTERFACE_THEME_DARK"!==_.pg()||!c&&"USER_INTERFACE_THEME_LIGHT"!==_.pg())_.Ed(window.location.href),d=!0;_.YE(0,165,a);_.YE(0,174,b);this.prefs.save();d&&_.C(this,"yt-dark-mode-toggled-action",[c]);_.C(this,"yt-close-popup-action",["ytd-multi-page-menu-renderer"])};
_.f.onTap=function(){this.data.serviceEndpoint&&_.Kg(this,[this.data.serviceEndpoint])};
_.f.handleSignalActionToggleDarkThemeOn=function(){this.onThemeSelected(!0,!1)};
_.f.handleSignalActionToggleDarkThemeOff=function(){this.onThemeSelected(!1,!0)};
_.f.handleSignalActionToggleDarkThemeDevice=function(){this.onThemeSelected(!1,!1)};
_.t.Object.defineProperties(ZH,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===W3a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-toggle-theme-compact-link-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_toggle_theme_compact_link_renderer.ytd.toggle.theme.compact.link.renderer.css.js--\x3e<div class="content-icon">\n  <yt-icon id="primary-icon" disable-upgrade$="[[!data.primaryIcon.iconType]]" hidden="[[!data.primaryIcon.iconType]]" icon="[[data.primaryIcon.iconType]]">\n  </yt-icon>\n</div>\n<div id="label">[[getSimpleString(label)]]</div>\n<yt-icon id="secondary-icon" disable-upgrade$="[[!data.secondaryIcon.iconType]]" hidden="[[!data.secondaryIcon.iconType]]" icon="[[data.secondaryIcon.iconType]]">\n</yt-icon>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===V3a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_toggle_theme_compact_link_renderer.ytd.toggle.theme.compact.link.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt*/ :host,.tp-yt-paper-item {display: block;position: relative;min-height: var(--paper-item-min-height,48px);padding: 0px 16px;} .tp-yt-paper-item {@apply --paper-font-subhead;border: none;outline: none;background: white;width: 100%;text-align: left;} :host([hidden]),.tp-yt-paper-item[hidden] {display: none!important;} :host(.iron-selected),.tp-yt-paper-item.iron-selected {font-weight: var(--paper-item-selected-weight,bold);background: var(--paper-item-selected-background);} :host([disabled]),.tp-yt-paper-item[disabled] {color: var(--paper-item-disabled-color,var(--disabled-text-color));} :host(:focus),.tp-yt-paper-item:focus {position: relative;outline: 0;background-color: var(--paper-item-focused-background-color);} :host(:focus):before,.tp-yt-paper-item:focus:before {position: absolute;top: 0;right: 0;bottom: 0;left: 0;pointer-events: none;background: var(--paper-item-focused-before-background,currentColor);border-radius: var(--paper-item-focused-before-border-radius,0);content: var(--paper-item-focused-before-content,"");opacity: var(--paper-item-focused-before-opacity,var(--dark-divider-opacity,0.12));} :host {--paper-item-min-height: 40px;height: var(--paper-item-min-height,48px);color: var(--yt-spec-text-primary);cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: var(--ytd-toggle-theme-compact-link-renderer-display-workaround,flex);} #label {overflow: hidden;white-space: nowrap;text-overflow: ellipsis;-webkit-font-smoothing: antialiased;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-icon {color: var(--yt-spec-icon-inactive);} .content-icon {margin-right: 16px;} /*# sourceMappingURL=ytd-toggle-theme-compact-link-renderer.css.map*/</style>';
V3a=d}d=V3a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);W3a=a}a=W3a;return a}}});
var $H=ZH;$H.prototype.onTap=$H.prototype.onTap;$H.prototype.dataChanged=$H.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],$H.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$H.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ox),_.T("design:type",Object)],$H.prototype,"paperItemBehaviors",void 0);_.S([_.N(),_.T("design:type",Object)],$H.prototype,"data",void 0);_.S([_.N({value:function(){return _.mg.getInstance()}}),
_.T("design:type",_.mg)],$H.prototype,"prefs",void 0);_.S([_.N(),_.T("design:type",Object)],$H.prototype,"label",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$H.prototype,"dataChanged",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$H.prototype,"onTap",null);$H=_.S([_.Q({asyncProperties:!0,is:"ytd-toggle-theme-compact-link-renderer"})],$H);
var X3a;
var Y3a;
var Z3a;
var $3a;
var aI=function(){return _.K.apply(this,arguments)||this};
_.q(aI,_.K);aI.prototype.attached=function(){var a=this;this.hasAttribute("button-renderer")||this.setAttribute("button-renderer","true");this.networkStatusManager||(this.networkStatusManager=new _.Ve,this.networkStatusManager.listen("publicytnetworkstatus-online",function(){a.onlineHandler()}))};
aI.prototype.detached=function(){var a=this;this.networkStatusManager&&(this.networkStatusManager.unlisten("publicytnetworkstatus-online",function(){a.onlineHandler()}),delete this.networkStatusManager)};
aI.prototype.onlineHandler=function(){_.C(this,"yt-signal-action-soft-reload-page")};
_.t.Object.defineProperties(aI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$3a){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-reload-page-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_reload_page_button_renderer.ytd.reload.page.button.renderer.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Z3a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_reload_page_button_renderer.ytd.reload.page.button.renderer.css.js--\x3e<style>:host {--paper-button-ink-color: var(--yt-spec-icon-disabled);--yt-formatted-string-deemphasize-color: var(--yt-spec-static-brand-white);--yt-formatted-string-deemphasize: {margin-left: var(--ytd-margin-base);};} :host {vertical-align: middle;white-space: nowrap;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} :host([disable-text-transform]) {text-transform: none;} :host([disabled][is-paper-button]) a {cursor: initial;pointer-events: none;} :host([is-paper-button]) yt-icon {-ms-flex: none;-webkit-flex: none;flex: none;} :host yt-formatted-string {display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} tp-yt-paper-button {min-width: var(--yt-paper-button-min-width,var(--ytd-paper-button-min-width,5.14em));font-size: var(--yt-paper-button-font-size,inherit);} tp-yt-paper-button.keyboard-focus {font-weight: inherit;} tp-yt-paper-tooltip {z-index: var(--yt-button-tooltip-z-index);} :host([is-icon-button]):not([style-action-button]) {@apply --ytd-caption;} :host(.force-icon-button) a {padding-right: var(--yt-button-icon-padding,var(--ytd-margin-2x));} :host([is-paper-button]) {background-color: var(--yt-basic-background-color,var(--yt-button-background-color));color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));border-color: var(--yt-basic-foreground-title-color,var(--yt-spec-text-secondary));} :host([is-paper-button-with-icon]) {--yt-button-padding-minus-focus-outline: var( --yt-button-with-icon-padding-minus-focus-outline );} :host(.style-suggestive.size-small[is-paper-button-with-icon]) {--yt-button-padding: 6px 12px;--yt-button-padding-minus-border: 5px 11px;} :host([is-paper-button-with-icon]) {--yt-button-padding: 6px 16px;--yt-button-padding-minus-border: 5px 15px;} :host([is-paper-button-with-icon][button-size=size-large]) {--yt-button-padding: 10px 16px;--yt-button-padding-minus-border: 9px 15px;--yt-button-padding-minus-focus-outline: 9px 15px;} :host([is-icon-button]) {color: var(--yt-button-color,var(--yt-spec-icon-inactive));} :host(.style-text[is-icon-button]),:host(.style-default[is-icon-button]),:host(.style-opacity[is-icon-button]) {color: var(--yt-spec-icon-inactive);} :host(.style-text[is-icon-button]) #text,:host(.style-default[is-icon-button]) #text,:host(.style-opacity[is-icon-button]) #text {color: var(--yt-button-icon-button-text-color,var(--yt-spec-text-secondary));} :host(.style-black[is-icon-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-icon-button]),:host(.style-opacity[is-icon-button][disabled]),:host(.style-text[is-icon-button][disabled]) #text,:host(.style-default[is-icon-button][disabled]) #text,:host(.style-opacity[is-icon-button][disabled]) #text {color: var(--yt-spec-text-disabled);} :host(.style-blue-text[is-icon-button]) {color: var(--yt-spec-call-to-action);} tp-yt-paper-tooltip {white-space: nowrap;} :host(.style-primary[is-paper-button]) {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);} :host(.style-primary[disabled][is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-disabled);} :host(.style-payment[is-paper-button]) {background-color: var(--yt-button-payment-background-color,var(--yt-spec-call-to-action));color: var(--yt-spec-text-primary-inverse);} :host(.style-payment[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-primary[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-payment[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-primary[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggestive[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-call-to-action);background-color: transparent;color: var(--yt-spec-call-to-action);} :host(.style-suggestive[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-border);} :host(.style-suggestive[is-paper-button][disabled]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-disabled);} :host(.style-suggestive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggestive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action);padding: var(--yt-button-padding-minus-focus-outline);} :host(.palette-with-border[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-border);} :host(.palette-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.palette-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-basic-border-color);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-blue-text[is-paper-button]) {--yt-formatted-string-deemphasize-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-call-to-action);} :host(.style-blue-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-blue-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[is-paper-button]) {background-color: var(--yt-spec-brand-button-background);color: var(--yt-spec-static-brand-white);} :host(.style-destructive[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-destructive[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-primary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-destructive[disabled][is-paper-button]) {background-color: var(--yt-spec-icon-disabled);color: var(--yt-spec-text-primary-inverse);} :host(.style-brand[is-paper-button]) {color: var(--yt-spec-brand-link-text);} :host(.style-brand[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-brand[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-brand-link-text-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-default[is-paper-button]) {background-color: var(--yt-button-default-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-default-text-color,var(--yt-spec-text-secondary));} :host(.style-default[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-default[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-inactive-outline[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host(.style-inactive-outline[is-paper-button]) tp-yt-paper-button {border: 1px solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-border);} :host(.style-inactive-outline[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-inactive-outline[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-suggested-action[is-paper-button]) {background-color: var(--yt-spec-suggested-action);color: var(--yt-spec-call-to-action);} :host(.style-suggested-action[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-suggested-action[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-call-to-action-faded);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-compact-gray[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-compact-gray[is-paper-button]) tp-yt-paper-button {padding: var(--ytd-margin-base) var(--ytd-margin-2x);} :host(.style-text[is-paper-button]) {color: var(--yt-spec-text-secondary);} :host([is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-text[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host([is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button,:host(.style-text[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-icon-disabled);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-overlay[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-primary);color: var(--yt-spec-static-overlay-text-primary);} :host(.style-overlay[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-overlay[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-overlay-text-secondary);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-white-with-border[is-paper-button]) {background-color: transparent;border: 1px solid var(--yt-spec-static-brand-white);color: var(--yt-spec-static-brand-white);} :host(.style-white-with-border[is-paper-button]:not([use-keyboard-focused])) tp-yt-paper-button.keyboard-focus,:host(.style-white-with-border[is-paper-button][use-keyboard-focused][keyboard-focused]) tp-yt-paper-button {border: var(--yt-button-padding-minus-focus-outline-width) solid var(--yt-spec-static-brand-white);padding: var(--yt-button-padding-minus-focus-outline);} :host(.style-alert-info[is-paper-button]) {color: var(--yt-spec-call-to-action);} :host(.style-alert-info[is-paper-button]:hover) {color: var(--yt-spec-button-chip-background-hover);} :host(.style-dark[is-paper-button]) {background-color: var(--yt-button-dark-background-color,var(--yt-spec-badge-chip-background));color: var(--yt-button-dark-text-color,var(--yt-spec-text-secondary));} :host(.style-light[is-paper-button]) {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-secondary);} :host(.style-light-text[is-paper-button]) {color: var(--yt-spec-static-overlay-text-primary);} :host(.style-black[is-paper-button]) {color: var(--yt-spec-text-primary);} :host(.style-visibly-disabled[is-paper-button]) {background-color: transparent;color: var(--yt-spec-text-disabled);} :host(.style-black[disabled][is-paper-button]) {color: var(--yt-spec-text-disabled);} :host(.style-dark-on-black[is-paper-button]) {background-color: var(--yt-spec-static-overlay-button-secondary);border: none;color: var(--yt-spec-static-overlay-text-primary);} :host(.style-blue-text-with-inverse-theme[is-paper-button]) {color: var(--yt-spec-call-to-action-inverse);} :host(.style-count) {@apply --ytd-thumbnail-attribution;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} /*# sourceMappingURL=ytd-reload-page-button-renderer.css.map*/</style>";
Z3a=d}d=Z3a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$3a=a}a=$3a;return a}}});
var bI=aI;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],bI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.lv.YtButtonBehavior),_.T("design:type",Object)],bI.prototype,"ytButtonBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],bI.prototype,"data",void 0);bI=_.S([_.Q({asyncProperties:!0,is:"ytd-reload-page-button-renderer"})],bI);
var a4a={EMPTY_SEARCH:"promo-full-height",HASHTAG_LANDING_PAGE_EMPTY:"hashtag-landing-page",HASHTAG_LANDING_PAGE_EMPTY_DARK_MODE:"hashtag-landing-page",HASHTAG_LANDING_PAGE_ERROR:"hashtag-landing-page",HASHTAG_LANDING_PAGE_ERROR_DARK_MODE:"hashtag-landing-page",OFFLINE_NO_CONTENT:"offline-no-content"},cI=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(cI,_.K);_.f=cI.prototype;_.f.attached=function(){this.isDarkTheme=this.isAppDarkTheme()};
_.f.configureRendererStamper=function(){return{buttons:{id:"buttons",mapping:{buttonRenderer:"ytd-button-renderer",reloadPageButtonRenderer:"ytd-reload-page-button-renderer"}}}};
_.f.computeButtons=function(a){var b=[];a.ctaButton&&b.push(a.ctaButton);a.secondaryButton&&b.push(a.secondaryButton);return b};
_.f.computeRendererStyle=function(a){return a.style?a.style.value.split("TYPE_")[1].replace(/_/g,"-").toLowerCase():a.icon?"":"no-icon"};
_.f.getIconName=function(a,b){b=void 0===b?!1:b;if(void 0===a)return"";a=this.get("icon.iconType",a);var c;_.x("enable_hlp_client_icon_pick")?c=this.getThemedIcon(a,b):c=a;(b=a4a[c])||(b="yt-icons");return[b,c].join(":")};
_.f.getThemedIcon=function(a,b){return["HASHTAG_LANDING_PAGE_EMPTY","HASHTAG_LANDING_PAGE_EMPTY_DARK_MODE"].includes(a)?b?"HASHTAG_LANDING_PAGE_EMPTY_DARK_MODE":"HASHTAG_LANDING_PAGE_EMPTY":["HASHTAG_LANDING_PAGE_ERROR","HASHTAG_LANDING_PAGE_ERROR_DARK_MODE"].includes(a)?b?"HASHTAG_LANDING_PAGE_ERROR_DARK_MODE":"HASHTAG_LANDING_PAGE_ERROR":a};
_.f.isThumbnail=function(a){return!!a.thumbnail};
_.f.onDarkModeToggledAction=function(){this.isDarkTheme=this.isAppDarkTheme()};
_.f.isAppDarkTheme=function(){return document.documentElement.hasAttribute("dark")};
_.t.Object.defineProperties(cI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Y3a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-background-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_background_promo_renderer.ytd.background.promo.renderer.css.js--\x3e<yt-icon class="image" hidden="[[!data.icon]]" icon="[[iconName]]"></yt-icon>\n<yt-img-shadow class="image" height="[[data.thumbnail.thumbnails.height]]" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]" width="[[data.thumbnail.thumbnails.width]]">\n</yt-img-shadow>\n<div class="promo-message">\n  <div class="promo-title">[[getSimpleString(data.title)]]</div>\n  <yt-formatted-string class="promo-body-text" split-lines="" text="[[data.bodyText]]">\n  </yt-formatted-string>\n</div>\n<div id="buttons" hidden="[[!data.ctaButton]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===X3a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_background_promo_renderer.ytd.background.promo.renderer.css.js--\x3e<style>:host {--ytd-icon-promo-width-default: 120px;--ytd-icon-promo-height-default: 120px;--ytd-icon-color: var(--yt-spec-icon-disabled);text-align: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .image {color: var(--ytd-icon-color);height: var(--ytd-background-promo-renderer-icon-height,var(--ytd-icon-promo-height-default));width: var(--ytd-background-promo-renderer-icon-width,var(--ytd-icon-promo-width-default));margin-bottom: 24px;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #buttons {padding-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #buttons>* {margin-bottom: 8px;width: 100%;} .promo-message {color: var(--yt-spec-text-secondary);margin: 0 auto 24px;} :host(:not([renderer-style=full-height]):not([renderer-style=adaptive-full-height])) .promo-message {width: 280px;} .promo-title {margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} .promo-body-text {margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([thumbnail]) .promo-body-text {display: block;max-width: 400px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2.2rem;font-weight: 400;} :host([renderer-style=full-height]) {--ytd-icon-color: var(--yt-spec-icon-inactive);padding-top: 140px;} :host([renderer-style=adaptive-full-height]) {--ytd-icon-color: var(--yt-spec-icon-inactive);padding-top: 40px;} :host([renderer-style=full-height]) .image,:host([renderer-style=adaptive-full-height]) .image {margin-bottom: 0;} :host([renderer-style=full-height]) .promo-message,:host([renderer-style=adaptive-full-height]) .promo-message {margin-top: 24px;margin-bottom: 24px;} :host([renderer-style=full-height]) .promo-title:not([hidden]),:host([renderer-style=adaptive-full-height]) .promo-title:not([hidden]) {color: var(--yt-message-renderer-text-color,var(--yt-spec-text-primary));margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} :host([renderer-style=full-height]) .promo-body-text:not([hidden]),:host([renderer-style=adaptive-full-height]) .promo-body-text:not([hidden]) {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} @media(max-width:424px) {:host([renderer-style=full-height]) .image,:host([renderer-style=adaptive-full-height]) .image {width: 100%;}} :host([renderer-style=no-icon]) yt-icon,:host([renderer-style=adaptive-full-height]) yt-icon {display: none;} :host([renderer-style=full-height][icon-name="promo-full-height:EMPTY_SEARCH"]),:host([renderer-style=full-height][icon-name="hashtag-landing-page:HASHTAG_LANDING_PAGE_ERROR"]),:host([renderer-style=full-height][icon-name="hashtag-landing-page:HASHTAG_LANDING_PAGE_ERROR_DARK_MODE"]) {--ytd-background-promo-renderer-icon-width: 424px;--ytd-background-promo-renderer-icon-height: auto;} :host([renderer-style=adaptive-full-height]) {--ytd-background-promo-renderer-icon-width: 424px;--ytd-background-promo-renderer-icon-height: auto;} :host([renderer-style=full-height]) yt-img-shadow {--ytd-background-promo-renderer-icon-width: 278px;--ytd-background-promo-renderer-icon-height: 161px;} /*# sourceMappingURL=ytd-background-promo-renderer.css.map*/</style>';
X3a=d}d=X3a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Y3a=a}a=Y3a;return a}}});
var dI=cI;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],dI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],dI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],dI.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],dI.prototype,"data",void 0);
_.S([_.N({computed:"computeRendererStyle(data)",reflectToAttribute:!0}),_.T("design:type",String)],dI.prototype,"rendererStyle",void 0);_.S([_.N({computed:"getIconName(data, isDarkTheme)",reflectToAttribute:!0}),_.T("design:type",String)],dI.prototype,"iconName",void 0);_.S([_.N({computed:"isThumbnail(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],dI.prototype,"thumbnail",void 0);_.S([_.N({computed:"computeButtons(data)"}),_.T("design:type",Array)],dI.prototype,"buttons",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],dI.prototype,"isDarkTheme",void 0);dI=_.S([_.Q({asyncProperties:!0,is:"ytd-background-promo-renderer"})],dI);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syv");

var h4a,i4a;_.fI=function(a){var b=new _.ge("Error accessing DB");return _.g4a().then(function(c){return new Promise(function(d,e){try{var h=c.transaction("swpushnotificationsstore").objectStore("swpushnotificationsstore").get(a);h.onsuccess=function(){var l=h.result;d(l?l.value:null)};
h.onerror=function(){b.params={key:a,source:"onerror"};e(b)}}catch(l){b.params={key:a,
thrownError:String(l)},e(b)}})},function(){return null})};
_.g4a=function(){return gI?Promise.resolve(gI):new Promise(function(a,b){var c=self.indexedDB.open("swpushnotificationsdb");c.onerror=b;c.onsuccess=function(){var d=c.result;if(d.objectStoreNames.contains("swpushnotificationsstore"))gI=d,a(gI);else return self.indexedDB.deleteDatabase("swpushnotificationsdb"),_.g4a()};
c.onupgradeneeded=h4a})};
h4a=function(a){a=a.target.result;a.objectStoreNames.contains("swpushnotificationsstore")&&a.deleteObjectStore("swpushnotificationsstore");a.createObjectStore("swpushnotificationsstore",{keyPath:"key"})};
var j4a;
/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==j4a)return j4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-checkbox--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_checkbox.tp.yt.paper.checkbox.css.js--\x3e<div id="checkboxContainer"><div id="checkbox" class$="[[_computeCheckboxClass(checked, invalid)]]"><div id="checkmark" class$="[[_computeCheckmarkClass(checked)]]"></div></div></div><div id="checkboxLabel"><slot></slot></div>';
var b=a.content,c=b.insertBefore;if(void 0===i4a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_checkbox.tp.yt.paper.checkbox.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: inline-block;\n  white-space: nowrap;\n  cursor: pointer;\n  --calculated-paper-checkbox-size: var(--paper-checkbox-size, 18px);\n  --calculated-paper-checkbox-ink-size: var(--paper-checkbox-ink-size, -1px);\n  @apply --paper-font-common-base;\n  line-height: 0;\n  -webkit-tap-highlight-color: transparent;\n}\n\n:host([hidden]) {\n  display: none !important;\n}\n\n:host(:focus) {\n  outline: none;\n}\n\n.hidden {\n  display: none;\n}\n\n#checkboxContainer {\n  display: inline-block;\n  position: relative;\n  width: var(--calculated-paper-checkbox-size);\n  height: var(--calculated-paper-checkbox-size);\n  min-width: var(--calculated-paper-checkbox-size);\n  margin: var(--paper-checkbox-margin, initial);\n  vertical-align: var(--paper-checkbox-vertical-align, middle);\n  background-color: var(--paper-checkbox-unchecked-background-color, transparent);\n}\n\n#ink {\n  position: absolute;\n  top: calc(0px - (var(--calculated-paper-checkbox-ink-size) - var(--calculated-paper-checkbox-size)) / 2);\n  left: calc(0px - (var(--calculated-paper-checkbox-ink-size) - var(--calculated-paper-checkbox-size)) / 2);\n  width: var(--calculated-paper-checkbox-ink-size);\n  height: var(--calculated-paper-checkbox-ink-size);\n  color: var(--paper-checkbox-unchecked-ink-color, var(--primary-text-color));\n  opacity: 0.6;\n  pointer-events: none;\n}\n\n#ink:dir(rtl) {\n  right: calc(0px - (var(--calculated-paper-checkbox-ink-size) - var(--calculated-paper-checkbox-size)) / 2);\n  left: auto;\n}\n\n#ink[checked] {\n  color: var(--paper-checkbox-checked-ink-color, var(--primary-color));\n}\n\n#checkbox {\n  position: relative;\n  box-sizing: border-box;\n  height: 100%;\n  border: solid 2px;\n  border-color: var(--paper-checkbox-unchecked-color, var(--primary-text-color));\n  border-radius: 2px;\n  pointer-events: none;\n  -webkit-transition: background-color 140ms, border-color 140ms;\n  transition: background-color 140ms, border-color 140ms;\n  -webkit-transition-duration: var(--paper-checkbox-animation-duration, 140ms);\n  transition-duration: var(--paper-checkbox-animation-duration, 140ms);\n}\n\n#checkbox.checked #checkmark {\n  -webkit-animation: checkmark-expand 140ms ease-out forwards;\n  animation: checkmark-expand 140ms ease-out forwards;\n  -webkit-animation-duration: var(--paper-checkbox-animation-duration, 140ms);\n  animation-duration: var(--paper-checkbox-animation-duration, 140ms);\n}\n\n@-webkit-keyframes checkmark-expand {\n  0% {\n    -webkit-transform: scale(0, 0) rotate(45deg);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) rotate(45deg);\n  }\n}\n@keyframes checkmark-expand {\n  0% {\n    transform: scale(0, 0) rotate(45deg);\n  }\n  100% {\n    transform: scale(1, 1) rotate(45deg);\n  }\n}\n#checkbox.checked {\n  background-color: var(--paper-checkbox-checked-color, var(--primary-color));\n  border-color: var(--paper-checkbox-checked-color, var(--primary-color));\n}\n\n#checkmark {\n  position: absolute;\n  width: 36%;\n  height: 70%;\n  border-style: solid;\n  border-top: none;\n  border-left: none;\n  border-right-width: calc(0.1333333333 * var(--calculated-paper-checkbox-size));\n  border-bottom-width: calc(0.1333333333 * var(--calculated-paper-checkbox-size));\n  border-color: var(--paper-checkbox-checkmark-color, white);\n  -webkit-transform-origin: 97% 86%;\n  transform-origin: 97% 86%;\n  box-sizing: content-box;\n}\n\n#checkmark:dir(rtl) {\n  -webkit-transform-origin: 50% 14%;\n  transform-origin: 50% 14%;\n}\n\n#checkboxLabel {\n  position: relative;\n  display: inline-block;\n  vertical-align: middle;\n  padding-left: var(--paper-checkbox-label-spacing, 8px);\n  white-space: normal;\n  line-height: normal;\n  color: var(--paper-checkbox-label-color, var(--primary-text-color));\n  @apply --paper-checkbox-label;\n}\n\n:host([checked]) #checkboxLabel {\n  color: var(--paper-checkbox-label-checked-color, var(--paper-checkbox-label-color, var(--primary-text-color)));\n}\n\n#checkboxLabel:dir(rtl) {\n  padding-right: var(--paper-checkbox-label-spacing, 8px);\n  padding-left: 0;\n}\n\n#checkboxLabel[hidden] {\n  display: none;\n}\n\n:host([disabled]) #checkbox {\n  opacity: 0.5;\n  border-color: var(--paper-checkbox-unchecked-color, var(--primary-text-color));\n}\n\n:host([disabled][checked]) #checkbox {\n  background-color: var(--paper-checkbox-unchecked-color, var(--primary-text-color));\n  opacity: 0.5;\n}\n\n:host([disabled]) #checkboxLabel {\n  opacity: 0.65;\n}\n\n#checkbox.invalid:not(.checked) {\n  border-color: var(--paper-checkbox-error-color, var(--error-color));\n}\n\n/*# sourceMappingURL=tp-yt-paper-checkbox.css.map */</style>";
i4a=d}d=i4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return j4a=a},
is:"tp-yt-paper-checkbox",behaviors:[_.JZa],hostAttributes:{role:"checkbox","aria-checked":!1,tabindex:0},properties:{ariaActiveAttribute:{type:String,value:"aria-checked"}},attached:function(){_.nt(this,function(){if("-1px"===this.getComputedStyleValue("--calculated-paper-checkbox-ink-size").trim()){var a=this.getComputedStyleValue("--calculated-paper-checkbox-size").trim(),b="px",c=a.match(/[A-Za-z]+$/);null!==c&&(b=c[0]);a=parseFloat(a);c=8/3*a;"px"===b&&(c=Math.floor(c),c%2!==a%2&&c++);this.updateStyles({"--paper-checkbox-ink-size":c+
b})}})},
_computeCheckboxClass:function(a,b){var c="";a&&(c+="checked ");b&&(c+="invalid");return c},
_computeCheckmarkClass:function(a){return a?"":"hidden"},
_createRipple:function(){this._rippleContainer=this.$.checkboxContainer;return _.TVa._createRipple.call(this)}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var hI=function(){this.horizontal=!1},k4a=function(a,b){a.horizontal=b};
hI.prototype.position=function(a,b,c,d){d=void 0===d?1:d;a=iI(this,a)*d+b;d=Math.max(b,c);return a>=Math.min(b,c)&&a<=d?a:c};
hI.prototype.axis=function(a){a=this.direction(a);return"up"===a||"down"===a?"Y":"X"};
var jI=function(a,b,c){b=void 0===b?_.JE():b;this.target=a;this.manager=b;this.touchAction=c;this.events=[];this.attached=!1;this.eventMap={};this.onSwipeDown=function(){};
this.onSwipeUp=function(){};
this.onPanStart=function(){};
this.onPanMove=function(){};
this.onPanEnd=function(){}};
jI.prototype.attach=function(){if(!this.attached){this.attached=!0;this.eventMap={swipedown:this.onSwipeDown,swipeup:this.onSwipeUp,panstart:this.onPanStart,panright:this.onPanMove,panleft:this.onPanMove,panmove:this.onPanMove,panend:this.onPanEnd};this.manager.registerTouchEvents.apply(this.manager,[this.target,this.directions,this.touchAction].concat(_.sc(this.events)));for(var a=_.k(this.events),b=a.next();!b.done;b=a.next())this.listen(b.value)}};
jI.prototype.detach=function(){if(this.attached){this.attached=!1;this.manager.unregisterTouchEvents.apply(this.manager,[this.target].concat(_.sc(this.events)));for(var a=_.k(this.events),b=a.next();!b.done;b=a.next())this.unlisten(b.value)}};
jI.prototype.listen=function(a){this.eventMap[a]&&this.target.addEventListener(a,this.eventMap[a])};
jI.prototype.unlisten=function(a){this.eventMap[a]&&this.target.removeEventListener(a,this.eventMap[a])};
var kI=function(){hI.apply(this,arguments)};
_.q(kI,hI);kI.prototype.direction=function(a){var b=a.detail;a=b.deltaY;b=b.deltaX;return a&&!this.horizontal?0<a?"down":"up":b&&this.horizontal?0<b?"right":"left":"none"};
kI.prototype.distance=function(a){return Math.abs(iI(this,a))};
var iI=function(a,b){a=a.direction(b);var c=b.detail;b=c.deltaX;c=c.deltaY;return"up"===a||"down"===a?c||0:b||0};
kI.prototype.velocity=function(a){var b=this.direction(a),c=a.detail;a=c.velocityX;c=c.velocityY;return Math.abs("up"===b||"down"===b?c||0:a||0)};
_.lI=function(a,b,c,d,e,h){e=void 0===e?new kI:e;h=void 0===h?_.JE():h;jI.call(this,b,h,d);var l=this;this.element=a;this.target=b;this.config=c;this.input=e;this.manager=h;this.events=["panstart","panmove","panend"];this.onPanStart=function(){l.config.draggingClass&&l.element.classList.add(l.config.draggingClass);l.config.startAction&&l.config.startAction()};
this.onPanMove=function(m){var p=l4a(l,m);if(p){m4a(l,m,p);p.fade&&l.fade(m,p);var r=l.input.direction(m);p.moveAction&&p.moveAction(n4a(l,m,p),r)}};
this.onPanEnd=function(m){var p,r,v,z,A,D;return _.y(function(E){if(1==E.nextAddress){l.animationRequestId&&cancelAnimationFrame(l.animationRequestId);l.animationRequestId=void 0;p=l4a(l,m);if(!p)return E.return();r=p;v=r.triggerAction;z=r.fade;A=r.disableFinish;D=r.translateBack;var J=l.input.velocity(m),R=l.input.distance(m),da=l.threshold(p);if(.3<J&&10<R||R>da){if(A)return E.jumpTo(6);if(z){if(!_.x("kevlar_tabs_gesture")){var sa=iI(l.input,m)+l.config.startPosition;J=l.input.axis(m);R=sa+70;l.element.animate([{transform:"translate"+
J+"("+sa+"px)",opacity:""===l.element.style.opacity?1:l.element.style.opacity},{transform:"translate"+J+"("+R+"px)",opacity:0}],{duration:400,easing:"cubic-bezier(.05, 0, 0, 1)"});l.element.style.transform="translate"+J+"("+R+"px)";l.element.style.opacity="0";return E.jumpTo(6)}return _.B(E,o4a(l,m),6)}if(!_.x("kevlar_tabs_gesture")){J=iI(l.input,m)+l.config.startPosition;R=l.input.axis(m);da=p.endPosition;var Ca=null!=(sa=p.transitionEndPosition)?sa:da;l.element.animate([{transform:"translate"+R+
"("+J+"px)"},{transform:"translate"+R+"("+Ca+"px)"}],{duration:400,easing:"cubic-bezier(.05, 0, 0, 1)"});l.element.style.transform="translate"+R+"("+Ca+"px)";return E.jumpTo(6)}return _.B(E,p4a(l,m,p),6)}return D?_.B(E,l.translateBack(m),3):E.jumpTo(3)}3!=E.nextAddress&&v&&v();l.config.draggingClass&&l.element.classList.remove(l.config.draggingClass);l.reset();_.bf(E)})};
a=Object.keys(c.triggers);this.directions=new Set(a);k4a(this.input,this.directions.has("right")||this.directions.has("left"))};
_.q(_.lI,jI);_.lI.prototype.reset=function(){this.element.style.transform="";this.element.style.opacity="";this.config.resetAction&&this.config.resetAction()};
var l4a=function(a,b){b=a.input.direction(b);return a.config.triggers[b]},m4a=function(a,b,c){a.animationRequestId||(a.animationRequestId=requestAnimationFrame(function(){var d=a.input.axis(b),e=a.input.position(b,a.config.startPosition,c.endPosition,c.moveRatio||1);
a.element.style.transform="translate"+d+"("+e+"px)";a.animationRequestId=void 0}))},n4a=function(a,b,c){var d=c.moveRatio||1;
c=Math.abs(a.config.startPosition-c.endPosition);return Math.min(a.input.distance(b)*d,c)/c};
_.lI.prototype.fade=function(a,b){var c=b.endOpacity;a=n4a(this,a,b);0<a&&(this.element.style.opacity=""+(((c||0)-1)*a+1))};
_.lI.prototype.threshold=function(a){return a.threshold?a.threshold:Math.abs(a.endPosition-this.config.startPosition)/3};
var p4a=function(a,b,c){var d,e,h,l,m,p,r;return _.y(function(v){if(1==v.nextAddress)return d=iI(a.input,b)+a.config.startPosition,e=a.input.axis(b),h=c,l=h.endPosition,m=h.transitionEndPosition,r=null!=(p=m)?p:l,_.B(v,a.element.animate([{transform:"translate"+e+"("+d+"px)"},{transform:"translate"+e+"("+r+"px)"}],{duration:400,easing:"cubic-bezier(.05, 0, 0, 1)"}).finished,2);a.element.style.transform="translate"+e+"("+r+"px)";_.bf(v)})};
_.lI.prototype.translateBack=function(a){var b=this,c,d;return _.y(function(e){if(1==e.nextAddress){if(!b.element.style.transform)return e.return();c=b.input.axis(a);d=b.config.startPosition;return _.B(e,b.element.animate([{transform:b.element.style.transform},{transform:"translate"+c+"("+d+"px)"}],{duration:400,easing:"cubic-bezier(.05, 0, 0, 1)"}).finished,2)}b.element.style.transform="translate"+c+"("+d+"px)";_.bf(e)})};
var o4a=function(a,b){var c,d,e,h;return _.y(function(l){if(1==l.nextAddress)return c=iI(a.input,b)+a.config.startPosition,d=a.input.axis(b),e=c+70,h=""===a.element.style.opacity?1:a.element.style.opacity,_.B(l,a.element.animate([{transform:"translate"+d+"("+c+"px)",opacity:h},{transform:"translate"+d+"("+e+"px)",opacity:0}],{duration:400,easing:"cubic-bezier(.05, 0, 0, 1)"}).finished,2);a.element.style.transform="translate"+d+"("+e+"px)";a.element.style.opacity="0";_.bf(l)})};
var gI=null;

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2i");


_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2h");


_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syu");

/*

Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var Z4a=_.Pi(['<iron-iconset-svg name="icons" size="24">\n<svg><defs>\n<g id="3d-rotation"><path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path></g>\n<g id="accessibility"><path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"></path></g>\n<g id="accessible"><circle cx="12" cy="4" r="2"></circle><path d="M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z"></path></g>\n<g id="account-balance"><path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z"></path></g>\n<g id="account-balance-wallet"><path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g>\n<g id="account-box"><path d="M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"></path></g>\n<g id="account-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"></path></g>\n<g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g>\n<g id="add-alert"><path d="M10.01 21.01c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zm8.87-4.19V11c0-3.25-2.25-5.97-5.29-6.69v-.72C13.59 2.71 12.88 2 12 2s-1.59.71-1.59 1.59v.72C7.37 5.03 5.12 7.75 5.12 11v5.82L3 18.94V20h18v-1.06l-2.12-2.12zM16 13.01h-3v3h-2v-3H8V11h3V8h2v3h3v2.01z"></path></g>\n<g id="add-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g>\n<g id="add-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g>\n<g id="add-circle-outline"><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>\n<g id="add-shopping-cart"><path d="M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.13 0-.25-.11-.25-.25z"></path></g>\n<g id="alarm"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path></g>\n<g id="alarm-add"><path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm1-11h-2v3H8v2h3v3h2v-3h3v-2h-3V9z"></path></g>\n<g id="alarm-off"><path d="M12 6c3.87 0 7 3.13 7 7 0 .84-.16 1.65-.43 2.4l1.52 1.52c.58-1.19.91-2.51.91-3.92 0-4.97-4.03-9-9-9-1.41 0-2.73.33-3.92.91L9.6 6.43C10.35 6.16 11.16 6 12 6zm10-.28l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM2.92 2.29L1.65 3.57 2.98 4.9l-1.11.93 1.42 1.42 1.11-.94.8.8C3.83 8.69 3 10.75 3 13c0 4.97 4.02 9 9 9 2.25 0 4.31-.83 5.89-2.2l2.2 2.2 1.27-1.27L3.89 3.27l-.97-.98zm13.55 16.1C15.26 19.39 13.7 20 12 20c-3.87 0-7-3.13-7-7 0-1.7.61-3.26 1.61-4.47l9.86 9.86zM8.02 3.28L6.6 1.86l-.86.71 1.42 1.42.86-.71z"></path></g>\n<g id="alarm-on"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm-1.46-5.47L8.41 12.4l-1.06 1.06 3.18 3.18 6-6-1.06-1.06-4.93 4.95z"></path></g>\n<g id="all-out"><path d="M16.21 4.16l4 4v-4zm4 12l-4 4h4zm-12 4l-4-4v4zm-4-12l4-4h-4zm12.95-.95c-2.73-2.73-7.17-2.73-9.9 0s-2.73 7.17 0 9.9 7.17 2.73 9.9 0 2.73-7.16 0-9.9zm-1.1 8.8c-2.13 2.13-5.57 2.13-7.7 0s-2.13-5.57 0-7.7 5.57-2.13 7.7 0 2.13 5.57 0 7.7z"></path></g>\n<g id="android"><path d="M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48C13.85 1.23 12.95 1 12 1c-.96 0-1.86.23-2.66.63L7.85.15c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.31 1.31C6.97 3.26 6 5.01 6 7h12c0-1.99-.97-3.75-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z"></path></g>\n<g id="announcement"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z"></path></g>\n<g id="apps"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"></path></g>\n<g id="archive"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"></path></g>\n<g id="arrow-back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></g>\n<g id="arrow-downward"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"></path></g>\n<g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g>\n<g id="arrow-drop-down-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12l-4-4h8l-4 4z"></path></g>\n<g id="arrow-drop-up"><path d="M7 14l5-5 5 5z"></path></g>\n<g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></g>\n<g id="arrow-upward"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"></path></g>\n<g id="aspect-ratio"><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g>\n<g id="assessment"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g>\n<g id="assignment"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"></path></g>\n<g id="assignment-ind"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z"></path></g>\n<g id="assignment-late"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-6 15h-2v-2h2v2zm0-4h-2V8h2v6zm-1-9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"></path></g>\n<g id="assignment-return"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm4 12h-4v3l-5-5 5-5v3h4v4z"></path></g>\n<g id="assignment-returned"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 15l-5-5h3V9h4v4h3l-5 5z"></path></g>\n<g id="assignment-turned-in"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g>\n<g id="attachment"><path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-.9-2-2-2H7.5C5.57 9 4 10.57 4 12.5S5.57 16 7.5 16H17v2H7.5C4.46 18 2 15.54 2 12.5z"></path></g>\n<g id="autorenew"><path d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"></path></g>\n<g id="backspace"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z"></path></g>\n<g id="backup"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g>\n<g id="block"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"></path></g>\n<g id="book"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g>\n<g id="bookmark"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g>\n<g id="bookmark-border"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g>\n<g id="bug-report"><path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"></path></g>\n<g id="build"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"></path></g>\n<g id="cached"><path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"></path></g>\n<g id="camera-enhance"><path d="M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-1l1.25-2.75L16 13l-2.75-1.25L12 9l-1.25 2.75L8 13l2.75 1.25z"></path></g>\n<g id="cancel"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"></path></g>\n<g id="card-giftcard"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g>\n<g id="card-membership"><path d="M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2 4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z"></path></g>\n<g id="card-travel"><path d="M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z"></path></g>\n<g id="change-history"><path d="M12 7.77L18.39 18H5.61L12 7.77M12 4L2 20h20L12 4z"></path></g>\n<g id="check"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></g>\n<g id="check-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g>\n<g id="check-box-outline-blank"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g>\n<g id="check-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g>\n<g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"></path></g>\n<g id="chevron-right"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path></g>\n<g id="chrome-reader-mode"><path d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z"></path></g>\n<g id="class"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g>\n<g id="clear"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g>\n<g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g>\n<g id="cloud"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"></path></g>\n<g id="cloud-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3l.14.01C8.58 8.28 10.13 7 12 7c2.21 0 4 1.79 4 4h.5c1.38 0 2.5 1.12 2.5 2.5S17.88 16 16.5 16z"></path></g>\n<g id="cloud-done"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"></path></g>\n<g id="cloud-download"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"></path></g>\n<g id="cloud-off"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.48 0-2.85.43-4.01 1.17l1.46 1.46C10.21 6.23 11.08 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3 0 1.13-.64 2.11-1.56 2.62l1.45 1.45C23.16 18.16 24 16.68 24 15c0-2.64-2.05-4.78-4.65-4.96zM3 5.27l2.75 2.74C2.56 8.15 0 10.77 0 14c0 3.31 2.69 6 6 6h11.73l2 2L21 20.73 4.27 4 3 5.27zM7.73 10l8 8H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73z"></path></g>\n<g id="cloud-queue"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3z"></path></g>\n<g id="cloud-upload"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g>\n<g id="code"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path></g>\n<g id="compare-arrows"><path d="M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"></path></g>\n<g id="content-copy"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"></path></g>\n<g id="content-cut"><path d="M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"></path></g>\n<g id="content-paste"><path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"></path></g>\n<g id="copyright"><path d="M10.08 10.86c.05-.33.16-.62.3-.87s.34-.46.59-.62c.24-.15.54-.22.91-.23.23.01.44.05.63.13.2.09.38.21.52.36s.25.33.34.53.13.42.14.64h1.79c-.02-.47-.11-.9-.28-1.29s-.4-.73-.7-1.01-.66-.5-1.08-.66-.88-.23-1.39-.23c-.65 0-1.22.11-1.7.34s-.88.53-1.2.92-.56.84-.71 1.36S8 11.29 8 11.87v.27c0 .58.08 1.12.23 1.64s.39.97.71 1.35.72.69 1.2.91 1.05.34 1.7.34c.47 0 .91-.08 1.32-.23s.77-.36 1.08-.63.56-.58.74-.94.29-.74.3-1.15h-1.79c-.01.21-.06.4-.15.58s-.21.33-.36.46-.32.23-.52.3c-.19.07-.39.09-.6.1-.36-.01-.66-.08-.89-.23-.25-.16-.45-.37-.59-.62s-.25-.55-.3-.88-.08-.67-.08-1v-.27c0-.35.03-.68.08-1.01zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>\n<g id="create"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></g>\n<g id="create-new-folder"><path d="M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"></path></g>\n<g id="credit-card"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g>\n<g id="dashboard"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"></path></g>\n<g id="date-range"><path d="M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"></path></g>\n<g id="delete"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"></path></g>\n<g id="delete-forever"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12l1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"></path></g>\n<g id="delete-sweep"><path d="M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z"></path></g>\n<g id="description"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"></path></g>\n<g id="dns"><path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g>\n<g id="done"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></g>\n<g id="done-all"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"></path></g>\n<g id="donut-large"><path d="M11 5.08V2c-5 .5-9 4.81-9 10s4 9.5 9 10v-3.08c-3-.48-6-3.4-6-6.92s3-6.44 6-6.92zM18.97 11H22c-.47-5-4-8.53-9-9v3.08C16 5.51 18.54 8 18.97 11zM13 18.92V22c5-.47 8.53-4 9-9h-3.03c-.43 3-2.97 5.49-5.97 5.92z"></path></g>\n<g id="donut-small"><path d="M11 9.16V2c-5 .5-9 4.79-9 10s4 9.5 9 10v-7.16c-1-.41-2-1.52-2-2.84s1-2.43 2-2.84zM14.86 11H22c-.48-4.75-4-8.53-9-9v7.16c1 .3 1.52.98 1.86 1.84zM13 14.84V22c5-.47 8.52-4.25 9-9h-7.14c-.34.86-.86 1.54-1.86 1.84z"></path></g>\n<g id="drafts"><path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84 12 3l8.26 4.84L12 13z"></path></g>\n<g id="eject"><path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"></path></g>\n<g id="error"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g>\n<g id="error-outline"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>\n<g id="euro-symbol"><path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1 0 .34.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z"></path></g>\n<g id="event"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"></path></g>\n<g id="event-seat"><path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z"></path></g>\n<g id="exit-to-app"><path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g>\n<g id="expand-less"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"></path></g>\n<g id="expand-more"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path></g>\n<g id="explore"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"></path></g>\n<g id="extension"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"></path></g>\n<g id="face"><path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"></path></g>\n<g id="favorite"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"></path></g>\n<g id="favorite-border"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"></path></g>\n<g id="feedback"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"></path></g>\n<g id="file-download"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g>\n<g id="file-upload"><path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"></path></g>\n<g id="filter-list"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"></path></g>\n<g id="find-in-page"><path d="M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"></path></g>\n<g id="find-replace"><path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1.97 1.28-3.14H15.9c-.46 2.28-2.48 4-4.9 4-1.38 0-2.63-.56-3.54-1.46L10 12H4v6l2.05-2.05C7.32 17.22 9.07 18 11 18c1.55 0 2.98-.51 4.14-1.36L20 21.49 21.49 20l-4.85-4.86z"></path></g>\n<g id="fingerprint"><path d="M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7-.23.16-.54.11-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z"></path></g>\n<g id="first-page"><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"></path></g>\n<g id="flag"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"></path></g>\n<g id="flight-land"><path d="M2.5 19h19v2h-19zm7.18-5.73l4.35 1.16 5.31 1.42c.8.21 1.62-.26 1.84-1.06.21-.8-.26-1.62-1.06-1.84l-5.31-1.42-2.76-9.02L10.12 2v8.28L5.15 8.95l-.93-2.32-1.45-.39v5.17l1.6.43 5.31 1.43z"></path></g>\n<g id="flight-takeoff"><path d="M2.5 19h19v2h-19zm19.57-9.36c-.21-.8-1.04-1.28-1.84-1.06L14.92 10l-6.9-6.43-1.93.51 4.14 7.17-4.97 1.33-1.97-1.54-1.45.39 1.82 3.16.77 1.33 1.6-.43 5.31-1.42 4.35-1.16L21 11.49c.81-.23 1.28-1.05 1.07-1.85z"></path></g>\n<g id="flip-to-back"><path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zM5 7H3v12c0 1.1.89 2 2 2h12v-2H5V7zm10-2h2V3h-2v2zm0 12h2v-2h-2v2z"></path></g>\n<g id="flip-to-front"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.89 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9c-1.11 0-2 .9-2 2v10c0 1.1.89 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z"></path></g>\n<g id="folder"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"></path></g>\n<g id="folder-open"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"></path></g>\n<g id="folder-shared"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2v1z"></path></g>\n<g id="font-download"><path d="M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z"></path></g>\n<g id="forward"><path d="M12 8V4l8 8-8 8v-4H4V8z"></path></g>\n<g id="fullscreen"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"></path></g>\n<g id="fullscreen-exit"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"></path></g>\n<g id="g-translate"><path d="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09 4.09-4.09c1.04 0 1.99.37 2.74 1.07l.07.06-1.23 1.18-.06-.05c-.29-.27-.78-.59-1.52-.59-1.31 0-2.38 1.09-2.38 2.42s1.07 2.42 2.38 2.42c1.37 0 1.96-.87 2.12-1.46H7.08V9.91h3.95l.01.07c.04.21.05.4.05.61 0 2.35-1.61 4-3.92 4zm6.03-1.71c.33.6.74 1.18 1.19 1.7l-.54.53-.65-2.23zm.77-.76h-.99l-.31-1.04h3.99s-.34 1.31-1.56 2.74c-.52-.62-.89-1.23-1.13-1.7zM21 20c0 .55-.45 1-1 1h-7l2-2-.81-2.77.92-.92L17.79 18l.73-.73-2.71-2.68c.9-1.03 1.6-2.25 1.92-3.51H19v-1.04h-3.64V9h-1.04v1.04h-1.96L11.18 6H20c.55 0 1 .45 1 1v13z"></path></g>\n<g id="gavel"><path d="M1 21h12v2H1zM5.245 8.07l2.83-2.827 14.14 14.142-2.828 2.828zM12.317 1l5.657 5.656-2.83 2.83-5.654-5.66zM3.825 9.485l5.657 5.657-2.828 2.828-5.657-5.657z"></path></g>\n<g id="gesture"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"></path></g>\n<g id="get-app"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g>\n<g id="gif"><path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"></path></g>\n<g id="grade"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g>\n<g id="group-work"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g>\n<g id="help"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"></path></g>\n<g id="help-outline"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"></path></g>\n<g id="highlight-off"><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>\n<g id="history"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g>\n<g id="home"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path></g>\n<g id="hourglass-empty"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"></path></g>\n<g id="hourglass-full"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6z"></path></g>\n<g id="http"><path d="M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5v2zm2.5-.5h1.5V15H10v-4.5h1.5V9H7v1.5zm5.5 0H14V15h1.5v-4.5H17V9h-4.5v1.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5zm0 2.5h-2v-1h2v1z"></path></g>\n<g id="https"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g>\n<g id="important-devices"><path d="M23 11.01L18 11c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-9c0-.55-.45-.99-1-.99zM23 20h-5v-7h5v7zM20 2H2C.89 2 0 2.89 0 4v12c0 1.1.89 2 2 2h7v2H7v2h8v-2h-2v-2h2v-2H2V4h18v5h2V4c0-1.11-.9-2-2-2zm-8.03 7L11 6l-.97 3H7l2.47 1.76-.94 2.91 2.47-1.8 2.47 1.8-.94-2.91L15 9h-3.03z"></path></g>\n<g id="inbox"><path d="M19 3H4.99c-1.11 0-1.98.89-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10z"></path></g>\n<g id="indeterminate-check-box"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"></path></g>\n<g id="info"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"></path></g>\n<g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g>\n<g id="input"><path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"></path></g>\n<g id="invert-colors"><path d="M17.66 7.93L12 2.27 6.34 7.93c-3.12 3.12-3.12 8.19 0 11.31C7.9 20.8 9.95 21.58 12 21.58c2.05 0 4.1-.78 5.66-2.34 3.12-3.12 3.12-8.19 0-11.31zM12 19.59c-1.6 0-3.11-.62-4.24-1.76C6.62 16.69 6 15.19 6 13.59s.62-3.11 1.76-4.24L12 5.1v14.49z"></path></g>\n<g id="label"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"></path></g>\n<g id="label-outline"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z"></path></g>\n<g id="language"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"></path></g>\n<g id="last-page"><path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"></path></g>\n<g id="launch"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g>\n<g id="lightbulb-outline"><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"></path></g>\n<g id="line-style"><path d="M3 16h5v-2H3v2zm6.5 0h5v-2h-5v2zm6.5 0h5v-2h-5v2zM3 20h2v-2H3v2zm4 0h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM3 12h8v-2H3v2zm10 0h8v-2h-8v2zM3 4v4h18V4H3z"></path></g>\n<g id="line-weight"><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z"></path></g>\n<g id="link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g>\n<g id="list"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"></path></g>\n<g id="lock"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g>\n<g id="lock-open"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"></path></g>\n<g id="lock-outline"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z"></path></g>\n<g id="low-priority"><path d="M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z"></path></g>\n<g id="loyalty"><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7zm11.77 8.27L13 19.54l-4.27-4.27C8.28 14.81 8 14.19 8 13.5c0-1.38 1.12-2.5 2.5-2.5.69 0 1.32.28 1.77.74l.73.72.73-.73c.45-.45 1.08-.73 1.77-.73 1.38 0 2.5 1.12 2.5 2.5 0 .69-.28 1.32-.73 1.77z"></path></g>\n<g id="mail"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g>\n<g id="markunread"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g>\n<g id="markunread-mailbox"><path d="M20 6H10v6H8V4h6V0H6v6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2z"></path></g>\n<g id="menu"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></g>\n<g id="more-horiz"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g>\n<g id="more-vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g>\n<g id="motorcycle"><path d="M19.44 9.03L15.41 5H11v2h3.59l2 2H5c-2.8 0-5 2.2-5 5s2.2 5 5 5c2.46 0 4.45-1.69 4.9-4h1.65l2.77-2.77c-.21.54-.32 1.14-.32 1.77 0 2.8 2.2 5 5 5s5-2.2 5-5c0-2.65-1.97-4.77-4.56-4.97zM7.82 15C7.4 16.15 6.28 17 5 17c-1.63 0-3-1.37-3-3s1.37-3 3-3c1.28 0 2.4.85 2.82 2H5v2h2.82zM19 17c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"></path></g>\n<g id="move-to-inbox"><path d="M19 3H4.99c-1.11 0-1.98.9-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10zm-3-5h-2V7h-4v3H8l4 4 4-4z"></path></g>\n<g id="next-week"><path d="M20 7h-4V5c0-.55-.22-1.05-.59-1.41C15.05 3.22 14.55 3 14 3h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM10 5h4v2h-4V5zm1 13.5l-1-1 3-3-3-3 1-1 4 4-4 4z"></path></g>\n<g id="note-add"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z"></path></g>\n<g id="offline-pin"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 16H7v-2h10v2zm-6.7-4L7 10.7l1.4-1.4 1.9 1.9 5.3-5.3L17 7.3 10.3 14z"></path></g>\n<g id="opacity"><path d="M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"></path></g>\n<g id="open-in-browser"><path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6l-4 4h3v6h2v-6h3l-4-4z"></path></g>\n<g id="open-in-new"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g>\n<g id="open-with"><path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"></path></g>\n<g id="pageview"><path d="M11.5 9C10.12 9 9 10.12 9 11.5s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5S12.88 9 11.5 9zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3.21 14.21l-2.91-2.91c-.69.44-1.51.7-2.39.7C9.01 16 7 13.99 7 11.5S9.01 7 11.5 7 16 9.01 16 11.5c0 .88-.26 1.69-.7 2.39l2.91 2.9-1.42 1.42z"></path></g>\n<g id="pan-tool"><path d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"></path></g>\n<g id="payment"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g>\n<g id="perm-camera-mic"><path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 5.91V21h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-6 8c0 1.1-.9 2-2 2s-2-.9-2-2V9c0-1.1.9-2 2-2s2 .9 2 2v4z"></path></g>\n<g id="perm-contact-calendar"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1z"></path></g>\n<g id="perm-data-setting"><path d="M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g>\n<g id="perm-device-information"><path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"></path></g>\n<g id="perm-identity"><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"></path></g>\n<g id="perm-media"><path d="M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2V6zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7 15l4.5-6 3.5 4.51 2.5-3.01L21 15H7z"></path></g>\n<g id="perm-phone-msg"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM12 3v10l3-3h6V3h-9z"></path></g>\n<g id="perm-scan-wifi"><path d="M12 3C6.95 3 3.15 4.85 0 7.23L12 22 24 7.25C20.85 4.87 17.05 3 12 3zm1 13h-2v-6h2v6zm-2-8V6h2v2h-2z"></path></g>\n<g id="pets"><circle cx="4.5" cy="9.5" r="2.5"></circle><circle cx="9" cy="5.5" r="2.5"></circle><circle cx="15" cy="5.5" r="2.5"></circle><circle cx="19.5" cy="9.5" r="2.5"></circle><path d="M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"></path></g>\n<g id="picture-in-picture"><path d="M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2zm0 16.01H3V4.98h18v14.03z"></path></g>\n<g id="picture-in-picture-alt"><path d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z"></path></g>\n<g id="play-for-work"><path d="M11 5v5.59H7.5l4.5 4.5 4.5-4.5H13V5h-2zm-5 9c0 3.31 2.69 6 6 6s6-2.69 6-6h-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6z"></path></g>\n<g id="polymer"><path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"></path></g>\n<g id="power-settings-new"><path d="M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"></path></g>\n<g id="pregnant-woman"><path d="M9 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm7 9c-.01-1.34-.83-2.51-2-3 0-1.66-1.34-3-3-3s-3 1.34-3 3v7h2v5h3v-5h3v-4z"></path></g>\n<g id="print"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"></path></g>\n<g id="query-builder"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g>\n<g id="question-answer"><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"></path></g>\n<g id="radio-button-checked"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>\n<g id="radio-button-unchecked"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>\n<g id="receipt"><path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20z"></path></g>\n<g id="record-voice-over"><circle cx="9" cy="9" r="4"></circle><path d="M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64l-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z"></path></g>\n<g id="redeem"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g>\n<g id="redo"><path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"></path></g>\n<g id="refresh"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"></path></g>\n<g id="remove"><path d="M19 13H5v-2h14v2z"></path></g>\n<g id="remove-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"></path></g>\n<g id="remove-circle-outline"><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>\n<g id="remove-shopping-cart"><path d="M22.73 22.73L2.77 2.77 2 2l-.73-.73L0 2.54l4.39 4.39 2.21 4.66-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h7.46l1.38 1.38c-.5.36-.83.95-.83 1.62 0 1.1.89 2 1.99 2 .67 0 1.26-.33 1.62-.84L21.46 24l1.27-1.27zM7.42 15c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h2.36l2 2H7.42zm8.13-2c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H6.54l9.01 9zM7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2z"></path></g>\n<g id="reorder"><path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"></path></g>\n<g id="reply"><path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g>\n<g id="reply-all"><path d="M7 8V5l-7 7 7 7v-3l-4-4 4-4zm6 1V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g>\n<g id="report"><path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"></path></g>\n<g id="report-problem"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g>\n<g id="restore"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g>\n<g id="restore-page"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm-2 16c-2.05 0-3.81-1.24-4.58-3h1.71c.63.9 1.68 1.5 2.87 1.5 1.93 0 3.5-1.57 3.5-3.5S13.93 9.5 12 9.5c-1.35 0-2.52.78-3.1 1.9l1.6 1.6h-4V9l1.3 1.3C8.69 8.92 10.23 8 12 8c2.76 0 5 2.24 5 5s-2.24 5-5 5z"></path></g>\n<g id="room"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g>\n<g id="rounded-corner"><path d="M19 19h2v2h-2v-2zm0-2h2v-2h-2v2zM3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm0-4h2V3H3v2zm4 0h2V3H7v2zm8 16h2v-2h-2v2zm-4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm-8 0h2v-2H7v2zm-4 0h2v-2H3v2zM21 8c0-2.76-2.24-5-5-5h-5v2h5c1.65 0 3 1.35 3 3v5h2V8z"></path></g>\n<g id="rowing"><path d="M8.5 14.5L4 19l1.5 1.5L9 17h2l-2.5-2.5zM15 1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 20.01L18 24l-2.99-3.01V19.5l-7.1-7.09c-.31.05-.61.07-.91.07v-2.16c1.66.03 3.61-.87 4.67-2.04l1.4-1.55c.19-.21.43-.38.69-.5.29-.14.62-.23.96-.23h.03C15.99 6.01 17 7.02 17 8.26v5.75c0 .84-.35 1.61-.92 2.16l-3.58-3.58v-2.27c-.63.52-1.43 1.02-2.29 1.39L16.5 18H18l3 3.01z"></path></g>\n<g id="save"><path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"></path></g>\n<g id="schedule"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g>\n<g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g>\n<g id="select-all"><path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z"></path></g>\n<g id="send"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path></g>\n<g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g>\n<g id="settings-applications"><path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"></path></g>\n<g id="settings-backup-restore"><path d="M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"></path></g>\n<g id="settings-bluetooth"><path d="M11 24h2v-2h-2v2zm-4 0h2v-2H7v2zm8 0h2v-2h-2v2zm2.71-18.29L12 0h-1v7.59L6.41 3 5 4.41 10.59 10 5 15.59 6.41 17 11 12.41V20h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 3.83l1.88 1.88L13 7.59V3.83zm1.88 10.46L13 16.17v-3.76l1.88 1.88z"></path></g>\n<g id="settings-brightness"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5V16zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3V9z"></path></g>\n<g id="settings-cell"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z"></path></g>\n<g id="settings-ethernet"><path d="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-4.35 5.24 1.54 1.28L23.18 12l-5.41-6.52z"></path></g>\n<g id="settings-input-antenna"><path d="M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7zm1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 10.62 9.5 12c0 1.02.62 1.9 1.5 2.29v3.3L7.59 21 9 22.41l3-3 3 3L16.41 21 13 17.59v-3.3zM12 1C5.93 1 1 5.93 1 12h2c0-4.97 4.03-9 9-9s9 4.03 9 9h2c0-6.07-4.93-11-11-11z"></path></g>\n<g id="settings-input-component"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g>\n<g id="settings-input-composite"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g>\n<g id="settings-input-hdmi"><path d="M18 7V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v3H5v6l3 6v3h8v-3l3-6V7h-1zM8 4h8v3h-2V5h-1v2h-2V5h-1v2H8V4z"></path></g>\n<g id="settings-input-svideo"><path d="M8 11.5c0-.83-.67-1.5-1.5-1.5S5 10.67 5 11.5 5.67 13 6.5 13 8 12.33 8 11.5zm7-5c0-.83-.67-1.5-1.5-1.5h-3C9.67 5 9 5.67 9 6.5S9.67 8 10.5 8h3c.83 0 1.5-.67 1.5-1.5zM8.5 15c-.83 0-1.5.67-1.5 1.5S7.67 18 8.5 18s1.5-.67 1.5-1.5S9.33 15 8.5 15zM12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9zm5.5-11c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm-2 5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path></g>\n<g id="settings-overscan"><path d="M12.01 5.5L10 8h4l-1.99-2.5zM18 10v4l2.5-1.99L18 10zM6 10l-2.5 2.01L6 14v-4zm8 6h-4l2.01 2.5L14 16zm7-13H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g>\n<g id="settings-phone"><path d="M13 9h-2v2h2V9zm4 0h-2v2h2V9zm3 6.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 9v2h2V9h-2z"></path></g>\n<g id="settings-power"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm2-22h-2v10h2V2zm3.56 2.44l-1.45 1.45C16.84 6.94 18 8.83 18 11c0 3.31-2.69 6-6 6s-6-2.69-6-6c0-2.17 1.16-4.06 2.88-5.12L7.44 4.44C5.36 5.88 4 8.28 4 11c0 4.42 3.58 8 8 8s8-3.58 8-8c0-2.72-1.36-5.12-3.44-6.56zM15 24h2v-2h-2v2z"></path></g>\n<g id="settings-remote"><path d="M15 9H9c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V10c0-.55-.45-1-1-1zm-3 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM7.05 6.05l1.41 1.41C9.37 6.56 10.62 6 12 6s2.63.56 3.54 1.46l1.41-1.41C15.68 4.78 13.93 4 12 4s-3.68.78-4.95 2.05zM12 0C8.96 0 6.21 1.23 4.22 3.22l1.41 1.41C7.26 3.01 9.51 2 12 2s4.74 1.01 6.36 2.64l1.41-1.41C17.79 1.23 15.04 0 12 0z"></path></g>\n<g id="settings-voice"><path d="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm4-14h-1.7c0 3-2.54 5.1-5.3 5.1S6.7 13 6.7 10H5c0 3.41 2.72 6.23 6 6.72V20h2v-3.28c3.28-.49 6-3.31 6-6.72z"></path></g>\n<g id="shop"><path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z"></path></g>\n<g id="shop-two"><path d="M3 9H1v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2H3V9zm15-4V3c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H5v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5h-5zm-6-2h4v2h-4V3zm0 12V8l5.5 3-5.5 4z"></path></g>\n<g id="shopping-basket"><path d="M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L23 10c0-.55-.45-1-1-1h-4.79zM9 9l3-4.4L15 9H9zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g>\n<g id="shopping-cart"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"></path></g>\n<g id="sort"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"></path></g>\n<g id="speaker-notes"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 14H6v-2h2v2zm0-3H6V9h2v2zm0-3H6V6h2v2zm7 6h-5v-2h5v2zm3-3h-8V9h8v2zm0-3h-8V6h8v2z"></path></g>\n<g id="speaker-notes-off"><path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14-9H4.08L10 7.92V6h8v2h-7.92l1 1H18v2h-4.92l6.99 6.99C21.14 17.95 22 17.08 22 16V4c0-1.1-.9-2-2-2z"></path></g>\n<g id="spellcheck"><path d="M12.45 16h2.09L9.43 3H7.57L2.46 16h2.09l1.12-3h5.64l1.14 3zm-6.02-5L8.5 5.48 10.57 11H6.43zm15.16.59l-8.09 8.09L9.83 16l-1.41 1.41 5.09 5.09L23 13l-1.41-1.41z"></path></g>\n<g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g>\n<g id="star-border"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g>\n<g id="star-half"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g>\n<g id="stars"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"></path></g>\n<g id="store"><path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"></path></g>\n<g id="subdirectory-arrow-left"><path d="M11 9l1.42 1.42L8.83 14H18V4h2v12H8.83l3.59 3.58L11 21l-6-6 6-6z"></path></g>\n<g id="subdirectory-arrow-right"><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"></path></g>\n<g id="subject"><path d="M14 17H4v2h10v-2zm6-8H4v2h16V9zM4 15h16v-2H4v2zM4 5v2h16V5H4z"></path></g>\n<g id="supervisor-account"><path d="M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3zm7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75zM9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13z"></path></g>\n<g id="swap-horiz"><path d="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z"></path></g>\n<g id="swap-vert"><path d="M16 17.01V10h-2v7.01h-3L15 21l4-3.99h-3zM9 3L5 6.99h3V14h2V6.99h3L9 3z"></path></g>\n<g id="swap-vertical-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"></path></g>\n<g id="system-update-alt"><path d="M12 16.5l4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"></path></g>\n<g id="tab"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z"></path></g>\n<g id="tab-unselected"><path d="M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"></path></g>\n<g id="text-format"><path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"></path></g>\n<g id="theaters"><path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"></path></g>\n<g id="thumb-down"><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"></path></g>\n<g id="thumb-up"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"></path></g>\n<g id="thumbs-up-down"><path d="M12 6c0-.55-.45-1-1-1H5.82l.66-3.18.02-.23c0-.31-.13-.59-.33-.8L5.38 0 .44 4.94C.17 5.21 0 5.59 0 6v6.5c0 .83.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1.38-.91l2.26-5.29c.07-.17.11-.36.11-.55V6zm10.5 4h-6.75c-.62 0-1.15.38-1.38.91l-2.26 5.29c-.07.17-.11.36-.11.55V18c0 .55.45 1 1 1h5.18l-.66 3.18-.02.24c0 .31.13.59.33.8l.79.78 4.94-4.94c.27-.27.44-.65.44-1.06v-6.5c0-.83-.67-1.5-1.5-1.5z"></path></g>\n<g id="timeline"><path d="M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2z"></path></g>\n<g id="toc"><path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"></path></g>\n<g id="today"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"></path></g>\n<g id="toll"><path d="M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zM3 12c0-2.61 1.67-4.83 4-5.65V4.26C3.55 5.15 1 8.27 1 12s2.55 6.85 6 7.74v-2.09c-2.33-.82-4-3.04-4-5.65z"></path></g>\n<g id="touch-app"><path d="M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4.54-2.26c-.17-.07-.35-.11-.54-.11H13v-6c0-.83-.67-1.5-1.5-1.5S10 6.67 10 7.5v10.74l-3.43-.72c-.08-.01-.15-.03-.24-.03-.31 0-.59.13-.79.33l-.79.8 4.94 4.94c.27.27.65.44 1.06.44h6.79c.75 0 1.33-.55 1.44-1.28l.75-5.27c.01-.07.02-.14.02-.2 0-.62-.38-1.16-.91-1.38z"></path></g>\n<g id="track-changes"><path d="M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z"></path></g>\n<g id="translate"><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></g>\n<g id="trending-down"><path d="M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z"></path></g>\n<g id="trending-flat"><path d="M22 12l-4-4v3H3v2h15v3z"></path></g>\n<g id="trending-up"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"></path></g>\n<g id="turned-in"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g>\n<g id="turned-in-not"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g>\n<g id="unarchive"><path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.49-.17-.93-.45-1.28zM12 9.5l5.5 5.5H14v2h-4v-2H6.5L12 9.5zM5.12 5l.82-1h12l.93 1H5.12z"></path></g>\n<g id="undo"><path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"></path></g>\n<g id="unfold-less"><path d="M7.41 18.59L8.83 20 12 16.83 15.17 20l1.41-1.41L12 14l-4.59 4.59zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10l4.59-4.59z"></path></g>\n<g id="unfold-more"><path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"></path></g>\n<g id="update"><path d="M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79 2.73 2.71 7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58 3.51-3.47 9.14-3.47 12.65 0L21 3v7.12zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8h1.5z"></path></g>\n<g id="verified-user"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g>\n<g id="view-agenda"><path d="M20 13H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm0-10H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"></path></g>\n<g id="view-array"><path d="M4 18h3V5H4v13zM18 5v13h3V5h-3zM8 18h9V5H8v13z"></path></g>\n<g id="view-carousel"><path d="M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z"></path></g>\n<g id="view-column"><path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"></path></g>\n<g id="view-day"><path d="M2 21h19v-3H2v3zM20 8H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zM2 3v3h19V3H2z"></path></g>\n<g id="view-headline"><path d="M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"></path></g>\n<g id="view-list"><path d="M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z"></path></g>\n<g id="view-module"><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"></path></g>\n<g id="view-quilt"><path d="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"></path></g>\n<g id="view-stream"><path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z"></path></g>\n<g id="view-week"><path d="M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"></path></g>\n<g id="visibility"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g>\n<g id="visibility-off"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"></path></g>\n<g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g>\n<g id="watch-later"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"></path></g>\n<g id="weekend"><path d="M21 10c-1.1 0-2 .9-2 2v3H5v-3c0-1.1-.9-2-2-2s-2 .9-2 2v5c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2zm-3-5H6c-1.1 0-2 .9-2 2v2.15c1.16.41 2 1.51 2 2.82V14h12v-2.03c0-1.3.84-2.4 2-2.82V7c0-1.1-.9-2-2-2z"></path></g>\n<g id="work"><path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"></path></g>\n<g id="youtube-searched-for"><path d="M17.01 14h-.8l-.27-.27c.98-1.14 1.57-2.61 1.57-4.23 0-3.59-2.91-6.5-6.5-6.5s-6.5 3-6.5 6.5H2l3.84 4 4.16-4H6.51C6.51 7 8.53 5 11.01 5s4.5 2.01 4.5 4.5c0 2.48-2.02 4.5-4.5 4.5-.65 0-1.26-.14-1.82-.38L7.71 15.1c.97.57 2.09.9 3.3.9 1.61 0 3.08-.59 4.22-1.57l.27.27v.79l5.01 4.99L22 19l-4.99-5z"></path></g>\n<g id="zoom-in"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></g>\n<g id="zoom-out"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"></path></g>\n</defs></svg>\n</iron-iconset-svg>']),
$4a=_.Vm(Z4a);$4a.setAttribute("style","display: none;");document.head.appendChild($4a.content);
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy26");

var JJb=function(a){if(a.urlEndpoint){if(a=_.sd(a.urlEndpoint.url),a.adurl)return _.Ad(a.adurl)}else if(a.watchEndpoint)return"//www.youtube.com/watch?v="+a.watchEndpoint.videoId;return null},KJb=function(a){if(!a||!a.reportingPings)return null;
var b={};a.reportingPings.forEach(function(c){c.pingType in b?b[c.pingType].push(c.url):b[c.pingType]=[c.url]});
return{adpings:_.qd(b)}},G2=function(){this.playerResolver_=_.Sk();
this.playerPromise_=this.playerResolver_.promise;this.playerVars_=null;this.playbackEndedCallback_=_.dj;this.playbackDurationSeconds_=0},LJb=function(a){var b=function(){return window.YT&&"function"===typeof window.YT.ready};
if(b())return _.Mg(window.YT);var c=_.Sk(),d=_.Gb("SCRIPT");d.onload=d.onreadystatechange=function(){d.readyState&&"loaded"!=d.readyState&&"complete"!=d.readyState||(d.onload=_.dj,d.onreadystatechange=_.dj,d.onerror=_.dj,b()?c.resolve(window.YT):c.reject(new _.ge("Failed to load the iframe player library","script.onload",d.readyState,typeof window.YT,window.YT?typeof window.YT.ready:"YT.ready() missing",window.yt?typeof window.yt.ready:"yt.ready() missing")))};
d.onerror=function(e){d.onload=_.dj;d.onreadystatechange=_.dj;d.onerror=_.dj;c.reject(new _.ge("Failed to load the iframe player library","script.onerror",e&&e.target&&e.target.src))};
_.Fb(d,_.Tt(_.jb("https://www.youtube.com/iframe_api")));a.insertBefore(d,a.firstChild);return c.promise},MJb=function(a,b,c){var d,e;
_.y(function(h){switch(h.nextAddress){case 1:return a.playbackEndedCallback_=c,_.se(h,2),_.B(h,LJb(_.yqa(b)),4);case 4:d=h.yieldResult;_.te(h,3);break;case 2:return e=_.ue(h),e instanceof _.ge&&e.args&&"script.onerror"==e.args[0]?_.Rf(e):_.Qf(e),h.return();case 3:d.ready(function(){return new d.Player(b,{playerVars:{controls:0,enablejsapi:1,iv_load_policy:3,modestbranding:1,mute:1,rel:0,showinfo:0},events:{onReady:a.onPlayerReady_.bind(a),onStateChange:a.onPlayerStateChange_.bind(a),onCueRangeExit:a.onCueRangeExit_.bind(a)}})}),
_.bf(h)}})};
_.f=G2.prototype;_.f.getPlayerPromise=function(){return this.playerPromise_};
_.f.onPlayerReady_=function(a){this.playerResolver_.resolve(a.target)};
_.f.onPlayerStateChange_=function(a){if(a.data==YT.PlayerState.PLAYING){a=a.target;var b=a.getCurrentTime();a.addCueRange("playback",b,b+this.playbackDurationSeconds_)}};
_.f.onCueRangeExit_=function(a){"playback"==a.data&&(a.target.stopVideo(),this.playbackEndedCallback_())};
_.f.stopVideo=function(){this.playerPromise_.then(function(a){a.stopVideo()})};
var NJb=function(a){a.playerVars_&&a.playerPromise_.then(function(b){"function"!=typeof b.cueVideoByPlayerVars?_.Rf(new _.ge("vmh: player API not ready","cueVideoByPlayerVars",typeof b.cueVideoByPlayerVars)):b.cueVideoByPlayerVars(a.playerVars_)})};
G2.prototype.playVideo=function(){var a=this;this.playerVars_&&this.playerPromise_.then(function(b){"function"!=typeof b.loadVideoByPlayerVars?_.Qf(new _.ge("vmh: player API not ready","loadVideoByPlayerVars",typeof b.loadVideoByPlayerVars)):b.loadVideoByPlayerVars(a.playerVars_)})};
var OJb=function(a,b,c,d,e){b&&(void 0===c&&(c=0),void 0===d&&(d=0),a.playbackDurationSeconds_=d/1E3,a.playerVars_={adformat:"17_8",videoId:b,suggestedQuality:"hd720",startSeconds:c/1E3,player_params:e})};
G2.prototype.mute=function(){this.playerPromise_.then(function(a){a.mute()})};
G2.prototype.unMute=function(){this.playerPromise_.then(function(a){a.unMute()})};
var PJb;
var QJb;
var H2=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-video-masthead-ad-primary-video-renderer-playing":"onPlayerReady"};return a};
_.q(H2,_.K);_.f=H2.prototype;_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:more_vert"}}}}}};
_.f.onYtToggleButton=function(a){var b,c=null==(b=this.data)?void 0:b.videoReminderEntityKey;c&&this.ytdReduxBehavior.dispatch(_.jy("upcomingEventReminderStateEntity",c,{key:c,state:a.detail.toggled?"UPCOMING_EVENT_REMINDER_STATE_SINGLE":"UPCOMING_EVENT_REMINDER_STATE_NONE"}))};
_.f.attached=function(){this.updateChannelBanner()};
_.f.dataChanged=function(){this.updateChannelBanner()};
_.f.videoReminderStateChanged=function(){var a,b;this.videoReminderState&&(null==(a=this.data)?0:null==(b=a.cta)?0:b.toggleButtonRenderer)&&this.set("data.cta.toggleButtonRenderer.isToggled","UPCOMING_EVENT_REMINDER_STATE_SINGLE"===this.videoReminderState.state)};
_.f.updateChannelBanner=function(){if(this.data&&this.data.channelBanner){var a=_.nu(this.data.channelBanner.thumbnails,this.clientWidth);a&&(a.startsWith("//")&&(a="https:"+a),this.classList.add("channel-banner"),this.updateStyles({"--ytvmh-channel-banner":"url("+a+")"}))}};
_.f.onPlayerReady=function(){this.onIronResize()};
_.f.onIronResize=function(){270>this.clientWidth?this.classList.add("no-thumbnail"):this.classList.remove("no-thumbnail");var a=this.$$("#live-description"),b;(null==(b=this.data)?0:b.shortLiveDescription)&&(null==a?void 0:a.clientWidth)<(null==a?void 0:a.scrollWidth)?this.classList.add("short-live-description"):this.classList.remove("short-live-description");if(a=this.$$("#banner"))a.style.height=602>this.clientWidth?_.Lx(.273*a.clientWidth,!0):_.Lx(.165*a.clientWidth,!0)};
_.t.Object.defineProperties(H2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===QJb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-masthead-ad-advertiser-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_advertiser_info_renderer.ytd.video.masthead.ad.advertiser.info.renderer.css.js--\x3e<a id="banner" class="yt-simple-endpoint" aria-hidden="true" href$="[[computeHref_(data.channelEndpoint)]]" data="[[data.channelEndpoint]]" tabindex="-1">\n</a>\n<div id="info-container">\n  <div id="thumbnail-container">\n    <a id="thumbnail-endpoint" class="yt-simple-endpoint inline-block" aria-hidden="true" href$="[[computeHref_(data.channelEndpoint)]]" data="[[data.channelEndpoint]]" tabindex="-1">\n      <yt-img-shadow id="thumbnail" thumbnail="[[data.channelThumbnail]]" width="80">\n      </yt-img-shadow>\n    </a>\n  </div>\n  <div id="right-container">\n    <div id="title-container">\n      <yt-formatted-string id="title" ellipsis-truncate="" text="[[data.title]]">\n      </yt-formatted-string>\n      <div id="menu">\n      </div>\n    </div>\n    <div id="byline-container">\n      <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]">\n      </ytd-badge-supported-renderer>\n      <yt-formatted-string id="byline" ellipsis-truncate="[[!data.liveDescription]]" text="[[data.byline]]">\n      </yt-formatted-string>\n      <template is="dom-if" restamp="" if="[[data.liveDescription]]">\n        <div id="live-description-container">\n          <yt-formatted-string id="short-live-description" ellipsis-truncate="" text="[[data.shortLiveDescription]]">\n          </yt-formatted-string>\n          <yt-formatted-string id="live-description" ellipsis-truncate="" text="[[data.liveDescription]]">\n          </yt-formatted-string>\n        </div>\n      </template>\n    </div>\n    <div id="cta-container">\n      <ytd-button-renderer id="cta-button" data="[[data.cta.buttonRenderer]]">\n      </ytd-button-renderer>\n      <ytd-toggle-button-renderer id="reminder-button" data="[[data.cta.toggleButtonRenderer]]">\n      </ytd-toggle-button-renderer>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PJb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_advertiser_info_renderer.ytd.video.masthead.ad.advertiser.info.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;height: 121px;--yt-endpoint-color: var(--yt-spec-text-secondary);} :host(.no-thumbnail) #thumbnail-container {display: none;} :host(.channel-banner) {height: 239px;} #banner {display: none;} :host(.channel-banner) #banner {display: block;outline: none;background: var(--ytvmh-channel-banner);background-position: center;background-size: cover;} :host(.channel-banner) #banner~#info-container #thumbnail-endpoint {position: relative;} #info-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #thumbnail-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;margin-left: 20px;margin-right: 20px;} #thumbnail {border-radius: 50%;overflow: hidden;width: 80px;} #thumbnail-endpoint {outline: none;line-height: 0;} #right-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;overflow: hidden;white-space: nowrap;} #title-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;margin-bottom: 6px;color: var(--yt-spec-text-primary);} #menu {margin-top: -4px;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} #byline-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;margin-bottom: 6px;margin-right: 24px;} #badges {display: inline-block;margin-right: 4px;} yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-secondary);} #live-description-container {width: 100%;height: 100%;position: relative;} #live-description,#short-live-description {width: inherit;position: absolute;} #live-description:before,#short-live-description:before {content: "\u2022";margin: 0 3px;} :host(.short-live-description) #live-description {visibility: hidden;} :host(:not(.short-live-description)) #short-live-description {visibility: hidden;} /*# sourceMappingURL=ytd-video-masthead-ad-advertiser-info-renderer.css.map*/</style>';
PJb=d}d=PJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);QJb=a}a=QJb;return a}}});
var I2=H2;I2.prototype.onIronResize=I2.prototype.onIronResize;I2.prototype.videoReminderStateChanged=I2.prototype.videoReminderStateChanged;I2.prototype.dataChanged=I2.prototype.dataChanged;I2.prototype.onYtToggleButton=I2.prototype.onYtToggleButton;_.S([_.L(_.xx),_.T("design:type",Object)],I2.prototype,"ironResizableBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],I2.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],I2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],I2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],I2.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],I2.prototype,"data",void 0);_.S([_.N({selectorArgs:["data.videoReminderEntityKey"],selector:_.ANa}),_.T("design:type",Object)],I2.prototype,"videoReminderState",void 0);
_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],I2.prototype,"onYtToggleButton",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],I2.prototype,"dataChanged",null);_.S([_.P("videoReminderState"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],I2.prototype,"videoReminderStateChanged",null);
_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],I2.prototype,"onIronResize",null);I2=_.S([_.Q({is:"ytd-video-masthead-ad-advertiser-info-renderer"})],I2);
var RJb;
var SJb;
var J2=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-video-masthead-expandable-tile-expanding":"onExpandableTileExpanding","ytd-video-masthead-expandable-tile-lock-and-collapse":"onExpandableTileLockAndCollapse","ytd-video-masthead-expandable-tile-unlock":"onExpandableTileUnlock"};a.isLocked=!1;return a};
_.q(J2,_.K);_.f=J2.prototype;_.f.maybeExpand=function(){this.isLocked||this.expanded||(this.expanded=!0)};
_.f.onExpandedChanged=function(){this.expanded&&_.Jg(this,"ytd-video-masthead-expandable-tile-expanding",[this])};
_.f.onMouseOver=function(){this.maybeExpand()};
_.f.onTap=function(){this.maybeExpand()};
_.f.onExpandableTileExpanding=function(a){a!==this&&(this.expanded=!1)};
_.f.onExpandableTileLockAndCollapse=function(a){this.isLocked=!0;a!==this&&(this.expanded=!1)};
_.f.onExpandableTileUnlock=function(){this.isLocked=!1};
_.t.Object.defineProperties(J2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SJb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-masthead-ad-expandable-thumbnail-tile-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_expandable_thumbnail_tile_renderer.ytd.video.masthead.ad.expandable.thumbnail.tile.renderer.css.js--\x3e<a href="[[computeHref_(data.navigationEndpoint)]]" class="yt-simple-endpoint" data="[[data.navigationEndpoint]]" aria-hidden="true" tabindex="-1" id="endpoint">\n <div id="overlay">\n   <div id="play-button">\n     \n     <svg width="100%" height="100%" viewBox="0 0 68 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n       <path id="play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,0.13,34,0,34,0S12.21,0.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" class="ytp-large-play-button-bg" fill="#212121" fill-opacity="0.8"></path>\n       <path d="M 45,24 27,14 27,34" fill="#FFFFFF"></path>\n     </svg>\n   </div>\n </div>\n <yt-img-shadow id="thumbnail" thumbnail="[[data.thumbnail]]" width="424">\n </yt-img-shadow>\n    </a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_expandable_thumbnail_tile_renderer.ytd.video.masthead.ad.expandable.thumbnail.tile.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;width: 210px;height: 239px;transition: width 0.2s ease;overflow: hidden;} :host([expanded]) {width: 424px;} #endpoint {width: 424px;position: relative;} #thumbnail {width: 424px;} #overlay {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;} #play-button {width: 68px;height: 48px;} /*# sourceMappingURL=ytd-video-masthead-ad-expandable-thumbnail-tile-renderer.css.map*/</style>";
RJb=d}d=RJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SJb=a}a=SJb;return a}}});
var K2=J2;K2.prototype.onTap=K2.prototype.onTap;K2.prototype.onMouseOver=K2.prototype.onMouseOver;K2.prototype.onExpandedChanged=K2.prototype.onExpandedChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],K2.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],K2.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],K2.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],K2.prototype,"expanded",void 0);_.S([_.Ct("expanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],K2.prototype,"onExpandedChanged",null);_.S([_.O("mouseover"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],K2.prototype,"onMouseOver",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],K2.prototype,"onTap",null);
K2=_.S([_.Q({is:"ytd-video-masthead-ad-expandable-thumbnail-tile-renderer"})],K2);
var TJb;
var UJb;
var L2,M2=function(){var a=_.K.apply(this,arguments)||this;a.useYtdPlayer=_.x("use_ytd_player_for_desktop_masthead");a.actionMap={"ytd-video-masthead-expandable-tile-expanding":"onExpandableTileExpanding","ytd-video-masthead-expandable-tile-lock-and-collapse":"onExpandableTileLockAndCollapse","ytd-video-masthead-expandable-tile-unlock":"onExpandableTileUnlock"};a.playbackFinished=!1;a.JSC$42005_playerManager=null;return a};
_.q(M2,_.K);_.f=M2.prototype;_.f.configureRendererStamper=function(){return{"data.muteButton":{id:"mute-button",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer"}},"data.replayButton":{id:"replay-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.thumbnailOverlays":{id:"thumbnail-overlays",mapping:{thumbnailOverlayTimeStatusRenderer:"ytd-thumbnail-overlay-time-status-renderer"}}}};
_.f.created=function(){this.useYtdPlayer||(this.JSC$42005_playerManager=new G2)};
_.f.ready=function(){var a=this,b=this.$.player;this.useYtdPlayer?b.style.display="none":(this.ytdPlayer.style.display="none",MJb(this.JSC$42005_playerManager,b,function(){a.onPlaybackEnded()}),this.$["replay-button"].addEventListener("click",function(){var c;
(null==(c=a.data)?0:c.navigationEndpoint)&&a.fire("yt-navigate",{endpoint:a.data.navigationEndpoint})}))};
_.f.onPlaybackEnded=function(){this.classList.remove("video-playing");this.classList.add("video-ended");this.unlockExpandableTiles();this.playbackFinished=!0};
_.f.attached=function(){var a=this;this.async(function(){a.maybePlayVideo()})};
_.f.maybePlayVideo=function(){this.expanded&&this.isAttached&&this.data&&this.data.videoId&&!this.playbackFinished&&(this.classList.add("video-playing"),this.lockAndCollapseExpandableTiles(),this.useYtdPlayer?this.ytdPlayer.play():this.JSC$42005_playerManager.playVideo())};
_.f.stopVideo=function(){this.useYtdPlayer?this.ytdPlayer.stop():this.JSC$42005_playerManager.stopVideo()};
_.f.dataChanged=function(){if(this.data)if(this.useYtdPlayer){var a,b={autoplay:0,adformat:"17_8",video_id:this.data.videoId,suggestedQuality:"hd720",startSeconds:(null!=(a=this.data.playbackStartMs)?a:0)/1E3,player_params:this.data.playerParams};this.ytdPlayer.loadVideoWithPlayerVars(b);this.setupYtdPlayer()}else OJb(this.JSC$42005_playerManager,this.data.videoId,this.data.playbackStartMs,this.data.playbackDurationMs,this.data.playerParams),this.data.disableAutoPlayback&&(NJb(this.JSC$42005_playerManager),
this.classList.add("video-ended"),this.playbackFinished=!0),this.maybePlayVideo()};
_.f.getPlayerPromise=function(){return this.JSC$42005_playerManager.getPlayerPromise()};
_.f.onYtToggleButton=function(a){this.useYtdPlayer?this.toggleMute(a.detail.toggled):a.detail.toggled?this.JSC$42005_playerManager.mute():this.JSC$42005_playerManager.unMute()};
_.f.onYtNavigate=function(a){var b=JJb(a.detail.endpoint),c=KJb(this.data.clickthroughReportingData);b&&c&&(a.detail.endpoint.watchEndpoint?a.detail.tempData=c:_.Nu(b,c,30))};
_.f.maybeExpand=function(){this.isLocked||this.expanded||(this.expanded=!0)};
_.f.onExpandedChanged=function(){this.expanded?(_.Jg(this,"ytd-video-masthead-expandable-tile-expanding",[this]),this.maybePlayVideo()):this.stopVideo()};
_.f.onMouseOver=function(){this.maybeExpand()};
_.f.onTap=function(){this.maybeExpand()};
_.f.onExpandableTileExpanding=function(a){a!==this&&(this.stopVideo(),this.expanded=!1)};
_.f.onExpandableTileLockAndCollapse=function(a){a!==this&&(this.isLocked=!0,this.expanded=!1)};
_.f.onExpandableTileUnlock=function(){this.isLocked=!1};
_.f.lockAndCollapseExpandableTiles=function(){_.C(this,"ytd-video-masthead-expandable-tile-lock-and-collapse",[this])};
_.f.unlockExpandableTiles=function(){_.C(this,"ytd-video-masthead-expandable-tile-unlock")};
_.f.setupYtdPlayer=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,a.ytdPlayer.getPlayerPromise(),2);b=c.yieldResult;b.addEventListener("onStateChange",function(d){a.onPlayerStateChange(d)});
b.addEventListener("onCueRangeExit",function(d){a.onCueRangeExit(d)});
_.bf(c)})};
_.f.onPlayerStateChange=function(a){if(1===a){a=this.ytdPlayer.getPlayer();var b=a.getCurrentTime(),c,d,e=b+(null!=(d=null==(c=this.data)?void 0:c.playbackDurationMs)?d:0)/1E3;a.addCueRange("playback",b,e)}};
_.f.onCueRangeExit=function(a){"playback"===a&&(this.ytdPlayer.stop(),this.onPlaybackEnded())};
_.f.toggleMute=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,b.ytdPlayer.getPlayerPromise(),2);c=d.yieldResult;a?c.mute():c.unMute();_.bf(d)})};
_.t.Object.defineProperties(M2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===UJb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-masthead-ad-expandable-video-tile-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_expandable_video_tile_renderer.ytd.video.masthead.ad.expandable.video.tile.renderer.css.js--\x3e<div id="container">\n  <div id="overlay">\n    <div id="mute-button"></div>\n    <div id="replay-button"></div>\n    <div id="thumbnail-overlays"></div>\n    <template is="dom-if" if="[[data.liveBadgeLabel]]">\n      <yt-formatted-string id="live-badge" text="[[data.liveBadgeLabel]]">\n      </yt-formatted-string>\n    </template>\n  </div>\n  <div id="player-container">\n    <a id="click-target" class="yt-simple-endpoint" data="[[data.navigationEndpoint]]"></a>\n    <div id="player"></div>\n    <ytd-player id="ytd-player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_MASTHEAD_AD">\n    </ytd-player>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TJb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_expandable_video_tile_renderer.ytd.video.masthead.ad.expandable.video.tile.renderer.css.js--\x3e<style>:host {width: 210px;height: 239px;transition: width 0.2s ease;overflow: hidden;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([expanded]) {width: 424px;} :host(.video-playing) #mute-button {display: block;} :host(.video-ended) #replay-button {display: block;} #container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;width: 424px;} #player-container {width: 424px;height: 239px;} #player,#ytd-player {width: 100%;height: 100%;} #click-target {position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;cursor: pointer;} #overlay {width: 100%;position: absolute;bottom: 0;left: 0;z-index: 2;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #mute-button,#replay-button,#live-badge {display: none;} #replay-button ytd-button-renderer {--yt-button-color: var(--yt-spec-static-brand-white);} #live-badge {color: var(--yt-spec-static-brand-white);height: 40px;font-size: 1.5rem;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #live-badge:before {display: inline-block;width: 6px;height: 6px;vertical-align: 4%;margin-right: 5px;content: "";border-radius: 100%;} :host(.video-playing) #live-badge {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(.video-playing) #live-badge:before {background: var(--yt-spec-static-brand-red);} :host(.video-ended) #live-badge {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-left: 10px;} :host(.video-ended) #live-badge:before {background: var(--yt-spec-static-overlay-icon-inactive);} /*# sourceMappingURL=ytd-video-masthead-ad-expandable-video-tile-renderer.css.map*/</style>';
TJb=d}d=TJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);UJb=a}a=UJb;return a}}});
var N2=L2=M2;L2.prototype.onTap=L2.prototype.onTap;L2.prototype.onMouseOver=L2.prototype.onMouseOver;L2.prototype.onExpandedChanged=L2.prototype.onExpandedChanged;L2.prototype.onYtNavigate=L2.prototype.onYtNavigate;L2.prototype.onYtToggleButton=L2.prototype.onYtToggleButton;L2.prototype.dataChanged=L2.prototype.dataChanged;N2.JSC$42004_PLAYBACK_CUE_RANGE="playback";_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],N2.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],N2.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],N2.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N2.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],N2.prototype,"expanded",void 0);_.S([_.N(),_.T("design:type",Object)],N2.prototype,"useYtdPlayer",void 0);
_.S([_.Z("#ytd-player"),_.T("design:type",Object)],N2.prototype,"ytdPlayer",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N2.prototype,"dataChanged",null);_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],N2.prototype,"onYtToggleButton",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],N2.prototype,"onYtNavigate",null);_.S([_.Ct("expanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N2.prototype,"onExpandedChanged",null);_.S([_.O("mouseover"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N2.prototype,"onMouseOver",null);
_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N2.prototype,"onTap",null);N2=L2=_.S([_.Q({is:"ytd-video-masthead-ad-expandable-video-tile-renderer"})],N2);
var VJb;
var WJb;
var O2=function(){return _.K.apply(this,arguments)||this};
_.q(O2,_.K);O2.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
O2.prototype.onShow=function(){var a=this.$$("#live-description"),b;(null==(b=this.data)?0:b.shortLiveDescription)&&a.clientWidth<a.scrollWidth&&this.classList.add("short-live-description")};
O2.prototype.onYtToggleButton=function(a){var b,c=null==(b=this.data)?void 0:b.videoReminderEntityKey;c&&this.ytdReduxBehavior.dispatch(_.jy("upcomingEventReminderStateEntity",c,{key:c,state:a.detail.toggled?"UPCOMING_EVENT_REMINDER_STATE_SINGLE":"UPCOMING_EVENT_REMINDER_STATE_NONE"}))};
O2.prototype.videoReminderStateChanged=function(){var a,b;this.videoReminderState&&(null==(a=this.data)?0:null==(b=a.cta)?0:b.toggleButtonRenderer)&&this.set("data.cta.toggleButtonRenderer.isToggled","UPCOMING_EVENT_REMINDER_STATE_SINGLE"===this.videoReminderState.state)};
_.t.Object.defineProperties(O2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WJb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-masthead-ad-primary-video-overlay-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_primary_video_overlay_renderer.ytd.video.masthead.ad.primary.video.overlay.renderer.css.js--\x3e<div id="advertiser-info">\n  <yt-formatted-string id="title" ellipsis-truncate="" text="[[data.title]]">\n  </yt-formatted-string>\n  <div id="byline-container">\n    <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]">\n    </ytd-badge-supported-renderer>\n    <yt-formatted-string id="byline" ellipsis-truncate="[[!data.liveDescription]]" text="[[data.byline]]">\n    </yt-formatted-string>\n    <template is="dom-if" restamp="" if="[[data.liveDescription]]">\n      <div id="live-description-container">\n        <yt-formatted-string id="short-live-description" ellipsis-truncate="" text="[[data.shortLiveDescription]]">\n        </yt-formatted-string>\n        <yt-formatted-string id="live-description" ellipsis-truncate="" text="[[data.liveDescription]]">\n        </yt-formatted-string>\n      </div>\n    </template>\n  </div>\n  <div id="cta-container">\n    <ytd-toggle-button-renderer id="reminder-button" data="[[data.cta.toggleButtonRenderer]]">\n    </ytd-toggle-button-renderer>\n  </div>\n</div>\n<div id="menu">\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VJb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_primary_video_overlay_renderer.ytd.video.masthead.ad.primary.video.overlay.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;color: var(--yt-spec-static-brand-white);white-space: nowrap;width: 424px;--yt-endpoint-color: var(--yt-spec-static-brand-white);} #advertiser-info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;margin: 8px 0 0 8px;width: 100%;overflow: hidden;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;margin-bottom: 6px;text-shadow: 2px 2px 2px rgba(0,0,0,0.3);} #byline-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;margin-bottom: 6px;} yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;text-shadow: 2px 2px 2px rgba(0,0,0,0.3);} #byline {pointer-events: auto;} #badges {margin-right: 4px;} #menu {pointer-events: auto;margin-top: 8px;} #live-description-container {width: 100%;height: 100%;position: relative;} #live-description,#short-live-description {width: inherit;position: absolute;} #live-description:before,#short-live-description:before {content: "\u2022";margin: 0 4px;} :host(.short-live-description) #live-description {visibility: hidden;} :host(:not(.short-live-description)) #short-live-description {visibility: hidden;} #reminder-button {pointer-events: auto;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} /*# sourceMappingURL=ytd-video-masthead-ad-primary-video-overlay-renderer.css.map*/</style>';
VJb=d}d=VJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WJb=a}a=WJb;return a}}});
var P2=O2;P2.prototype.videoReminderStateChanged=P2.prototype.videoReminderStateChanged;P2.prototype.onYtToggleButton=P2.prototype.onYtToggleButton;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],P2.prototype,"ytdReduxBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],P2.prototype,"data",void 0);_.S([_.N({selectorArgs:["data.videoReminderEntityKey"],selector:_.ANa}),_.T("design:type",Object)],P2.prototype,"videoReminderState",void 0);_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],P2.prototype,"onYtToggleButton",null);
_.S([_.P("videoReminderState"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],P2.prototype,"videoReminderStateChanged",null);P2=_.S([_.Q({asyncProperties:!0,is:"ytd-video-masthead-ad-primary-video-overlay-renderer"})],P2);
var XJb;
var YJb;
var Q2,R2=function(){var a=_.K.apply(this,arguments)||this;a.useYtdPlayer=_.x("use_ytd_player_for_desktop_masthead");a.JSC$42013_playerManager=null;return a};
_.q(R2,_.K);_.f=R2.prototype;_.f.configureRendererStamper=function(){return{"data.muteButton":{id:"mute-button",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer"}},"data.replayButton":{id:"replay-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.thumbnailOverlays":{id:"thumbnail-overlays",mapping:{thumbnailOverlayTimeStatusRenderer:"ytd-thumbnail-overlay-time-status-renderer"}}}};
_.f.created=function(){this.useYtdPlayer||(this.JSC$42013_playerManager=new G2)};
_.f.ready=function(){var a=this;this.useYtdPlayer?this.embeddedPlayer.style.display="none":(this.ytdPlayer.style.display="none",MJb(this.JSC$42013_playerManager,this.embeddedPlayer,function(){a.onPlaybackEnded()}),this.replayButton.addEventListener("click",function(){a.data&&a.data.navigationEndpoint&&a.fire("yt-navigate",{endpoint:a.data.navigationEndpoint})}))};
_.f.onPlaybackEnded=function(){this.classList.remove("video-playing");this.classList.add("video-ended")};
_.f.dataChanged=function(){var a=this;if(this.data){if("string"===typeof this.data.videoId)if(this.useYtdPlayer){var b=!this.data.disableAutoPlayback,c,d={autoplay:b,adformat:"17_8",video_id:this.data.videoId,suggestedQuality:"hd720",startSeconds:(null!=(c=this.data.playbackStartMs)?c:0)/1E3,player_params:this.data.playerParams};this.classList.add(b?"video-playing":"video-ended");this.ytdPlayer.loadVideoWithPlayerVars(d);this.setupYtdPlayer()}else OJb(this.JSC$42013_playerManager,this.data.videoId,
this.data.playbackStartMs,this.data.playbackDurationMs,this.data.playerParams||void 0),this.data.disableAutoPlayback?(NJb(this.JSC$42013_playerManager),this.classList.add("video-ended")):(this.JSC$42013_playerManager.playVideo(),this.classList.add("video-playing"),this.getPlayerPromise().then(function(){_.C(a,"ytd-video-masthead-ad-primary-video-renderer-playing")}));
this.data.isWidescreen&&this.playerContainer.classList.add("widescreen")}};
_.f.getPlayerPromise=function(){return this.JSC$42013_playerManager.getPlayerPromise()};
_.f.onYtToggleButton=function(a){this.useYtdPlayer?this.toggleMute(a.detail.toggled):a.detail.toggled?this.JSC$42013_playerManager.mute():this.JSC$42013_playerManager.unMute()};
_.f.onYtNavigate=function(a){var b=JJb(a.detail.endpoint),c=KJb(this.data.clickthroughReportingData);b&&c&&(a.detail.endpoint.watchEndpoint?a.detail.tempData=c:_.Nu(b,c,30))};
_.f.onYtMastheadHidden=function(){this.useYtdPlayer?this.ytdPlayer.stop():this.JSC$42013_playerManager.stopVideo()};
_.f.setupYtdPlayer=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,a.ytdPlayer.getPlayerPromise(),2);b=c.yieldResult;b.addEventListener("onStateChange",function(d){a.onPlayerStateChange(d)});
b.addEventListener("onCueRangeExit",function(d){a.onCueRangeExit(d)});
_.bf(c)})};
_.f.onPlayerStateChange=function(a){if(1===a){a=this.ytdPlayer.getPlayer();var b=a.getCurrentTime(),c,d,e=b+(null!=(d=null==(c=this.data)?void 0:c.playbackDurationMs)?d:0)/1E3;a.addCueRange("playback",b,e);_.C(this,"ytd-video-masthead-ad-primary-video-renderer-playing")}};
_.f.onCueRangeExit=function(a){"playback"===a&&(this.ytdPlayer.stop(),this.onPlaybackEnded())};
_.f.toggleMute=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress)return _.B(d,b.ytdPlayer.getPlayerPromise(),2);c=d.yieldResult;a?c.mute():c.unMute();_.bf(d)})};
_.t.Object.defineProperties(R2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YJb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-masthead-ad-primary-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_primary_video_renderer.ytd.video.masthead.ad.primary.video.renderer.css.js--\x3e<div id="overlay">\n  <div id="mute-button"></div>\n  <div id="replay-button"></div>\n  <div id="thumbnail-overlays"></div>\n  <template is="dom-if" if="[[data.liveBadgeLabel]]">\n    <yt-formatted-string id="live-badge" text="[[data.liveBadgeLabel]]">\n    </yt-formatted-string>\n  </template>\n</div>\n<div id="player-container">\n  <a id="click-target" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]"></a>\n  <div id="player"></div>\n  <ytd-player id="ytd-player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_MASTHEAD_AD">\n  </ytd-player>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XJb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_primary_video_renderer.ytd.video.masthead.ad.primary.video.renderer.css.js--\x3e<style>:host {display: block;position: relative;} :host(.video-playing) #mute-button {display: block;} :host(.video-ended) #replay-button {display: block;} :host(.video-ended) #player,:host(.video-ended) #ytd-player {height: 100%;} #player-container {max-width: 424px;height: 239px;overflow: hidden;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #player-container.widescreen {max-width: 852px;} #player-container:not(.widescreen) #player,#player-container:not(.widescreen) #ytd-player {height: 100%;} #player,#ytd-player {width: 100%;height: 641px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #click-target.yt-simple-endpoint {position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;cursor: pointer;} #overlay {width: 100%;position: absolute;bottom: 0;z-index: 2;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #mute-button,#replay-button,#live-badge {display: none;} #replay-button ytd-button-renderer {--yt-button-color: var(--yt-spec-static-brand-white);} #live-badge {color: var(--yt-spec-static-brand-white);height: 40px;font-size: 1.5rem;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #live-badge:before {display: inline-block;width: 6px;height: 6px;vertical-align: 4%;margin-right: 5px;content: "";border-radius: 100%;} :host(.video-playing) #live-badge {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(.video-playing) #live-badge:before {background: var(--yt-spec-static-brand-red);} :host(.video-ended) #live-badge {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-left: 10px;} :host(.video-ended) #live-badge:before {background: var(--yt-spec-static-overlay-icon-inactive);} /*# sourceMappingURL=ytd-video-masthead-ad-primary-video-renderer.css.map*/</style>';
XJb=d}d=XJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YJb=a}a=YJb;return a}}});
var S2=Q2=R2;Q2.prototype.onYtMastheadHidden=Q2.prototype.onYtMastheadHidden;Q2.prototype.onYtNavigate=Q2.prototype.onYtNavigate;Q2.prototype.onYtToggleButton=Q2.prototype.onYtToggleButton;Q2.prototype.dataChanged=Q2.prototype.dataChanged;S2.JSC$42012_PLAYBACK_CUE_RANGE="playback";_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],S2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],S2.prototype,"ytRendererBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],S2.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],S2.prototype,"useYtdPlayer",void 0);_.S([_.Z("ytd-toggle-button-renderer"),_.T("design:type",Object)],S2.prototype,"muteButton",void 0);_.S([_.Z("#replay-button"),_.T("design:type",Object)],S2.prototype,"replayButton",void 0);_.S([_.Z("#player-container"),_.T("design:type",Object)],S2.prototype,"playerContainer",void 0);
_.S([_.Z("#player"),_.T("design:type",Object)],S2.prototype,"embeddedPlayer",void 0);_.S([_.Z("#ytd-player"),_.T("design:type",Object)],S2.prototype,"ytdPlayer",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],S2.prototype,"dataChanged",null);_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],S2.prototype,"onYtToggleButton",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],S2.prototype,"onYtNavigate",null);_.S([_.O("yt-masthead-hidden"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],S2.prototype,"onYtMastheadHidden",null);S2=Q2=_.S([_.Q({is:"ytd-video-masthead-ad-primary-video-renderer"})],S2);
var ZJb;
var $Jb;
var T2=function(){var a=_.K.apply(this,arguments)||this;a.collapsed=!1;a.impressionResolver=_.Sk();a.activeViewMeasurementDataResolver=_.Sk();a.actionMap={"yt-mute-ad-action":"handleMuteAd"};return a};
_.q(T2,_.K);_.f=T2.prototype;_.f.configureRendererStamper=function(){return{"data.expandableTiles":{id:"expandable-tile-container",mapping:{videoMastheadAdExpandableThumbnailTileRenderer:"ytd-video-masthead-ad-expandable-thumbnail-tile-renderer",videoMastheadAdExpandableVideoTileRenderer:"ytd-video-masthead-ad-expandable-video-tile-renderer"}},"data.showAdRenderer":{id:"show-ad",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.ready=function(){var a=this;this.$["show-ad"].addEventListener("click",function(){a.expandAd()});
this.addEventListener("yt-action",function(b){if("yt-service-request"===b.detail.actionName){var c=b.detail.args[1];c.videoMastheadAdMuteCommand&&(a.collapseAd(c.videoMastheadAdMuteCommand.encryptedMastheadId),b.stopPropagation())}})};
_.f.attached=function(){var a=this;this.async(this.ironResizableBehavior.notifyResize);this.impressionResolver.promise.then(function(b){if(!a.collapsed){b=_.k(b);for(var c=b.next();!c.done;c=b.next())_.Te(c.value.baseUrl);a.data.impressionCommand=void 0}});
this.activeViewMeasurementDataResolver.promise.then(function(b){a.ytdActiveViewBehavior.enableActiveViewMeasurement(b,15)})};
_.f.dataChanged=function(){var a;(null==(a=this.data.impressionCommand)?0:a.loggingUrls)&&this.impressionResolver.resolve(this.data.impressionCommand.loggingUrls);var b;(null==(b=this.data)?0:b.activeView)&&this.activeViewMeasurementDataResolver.resolve(this.data.activeView);(a=this.get("data.showAdRenderer.buttonRenderer.command.videoMastheadAdMuteCommand"))&&this.restoreCollapsedState(a.encryptedMastheadId);this.collapsed&&(this.data.primaryVideo&&(this.data.primaryVideo=void 0),this.data.expandableTiles&&
(this.data.expandableTiles=void 0))};
_.f.computeWidescreen=function(a){return!!(a&&a.videoMastheadAdPrimaryVideoRenderer&&a.videoMastheadAdPrimaryVideoRenderer.isWidescreen)};
_.f.computeExpandable=function(a){return!!(a&&0<a.length)};
_.f.onIronResize=function(){if(this.expandable){var a=this.$$("#expandable-tile-container :first-child");a&&!a.expanded&&(a.expanded=!0)}};
_.f.handleMuteAd=function(){this.collapseAd(null)};
_.f.restoreCollapsedState=function(a){this.collapsed=_.mg.getInstance().get("HIDDEN_MASTHEAD_ID")===a};
_.f.collapseAd=function(a){if(a){var b=_.mg.getInstance();b.set("HIDDEN_MASTHEAD_ID",a);b.save()}(a=this.$$("#video"))&&a.fire("yt-masthead-hidden");this.collapsed=!0};
_.f.expandAd=function(){var a=_.mg.getInstance();a.set("HIDDEN_MASTHEAD_ID",!1);a.save();location.reload()};
_.t.Object.defineProperties(T2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Jb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-masthead-ad-v3-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_v3_renderer.ytd.video.masthead.ad.v3.renderer.css.js--\x3e<div id="top-container">\n  <div id="video-overlay">\n    <ytd-video-masthead-ad-primary-video-overlay-renderer data="[[data.primaryVideoOverlay.videoMastheadAdPrimaryVideoOverlayRenderer]]">\n    </ytd-video-masthead-ad-primary-video-overlay-renderer>\n  </div>\n  <template is="dom-if" if="[[data.primaryVideo]]">\n    <div id="video-container">\n      <ytd-video-masthead-ad-primary-video-renderer id="video" data="[[data.primaryVideo.videoMastheadAdPrimaryVideoRenderer]]">\n      </ytd-video-masthead-ad-primary-video-renderer>\n    </div>\n  </template>\n  <div id="expandable-tile-container"></div>\n  <div id="right-container">\n    <ytd-video-masthead-ad-advertiser-info-renderer data="[[data.advertiserInfo.videoMastheadAdAdvertiserInfoRenderer]]">\n    </ytd-video-masthead-ad-advertiser-info-renderer>\n    <div id="compact-tile-container">\n      <template is="dom-repeat" items="[[data.compactVideoTiles]]" as="tile">\n        <ytd-thumbnail data="[[tile.videoMastheadAdCompactVideoTileRenderer]]" width="210">\n        </ytd-thumbnail>\n      </template>\n    </div>\n  </div>\n  <div id="show-ad"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_video_masthead_ad_v3_renderer.ytd.video.masthead.ad.v3.renderer.css.js--\x3e<style>:host(.grid:not(.grid-disabled)) {max-width: var(--ytd-grid-max-width);} :host(.grid-1-columns),.grid-1-columns {width: var(--ytd-grid-1-columns-width)!important;} :host(.grid-2-columns),.grid-2-columns {width: var(--ytd-grid-2-columns-width)!important;} :host(.grid-3-columns),.grid-3-columns {width: var(--ytd-grid-3-columns-width)!important;} :host(.grid-4-columns),.grid-4-columns {width: var(--ytd-grid-4-columns-width)!important;} :host(.grid-5-columns),.grid-5-columns {width: var(--ytd-grid-5-columns-width)!important;} :host(.grid-6-columns),.grid-6-columns {width: var(--ytd-grid-6-columns-width)!important;} :host {display: block;position: relative;max-width: 1280px;margin-right: 4px;} @media(min-width:671px) {:host {width: 100%!important;max-width: 1280px!important;}} :host([widescreen]) #video-container {max-width: 852px;} :host([widescreen]) #right-container {max-width: 436px;} :host([expandable]) #right-container {overflow: hidden;} #top-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([collapsed]) #top-container>:not(:last-child) {display: none;} #show-ad {display: none;} :host([collapsed]) #show-ad {display: block;margin: auto;} #video-container {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;min-width: 424px;max-width: 424px;margin-right: var(--ytd-rich-grid-item-margin);} #expandable-tile-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;max-width: 852px;} #expandable-tile-container * {margin-right: var(--ytd-rich-grid-item-margin);} #expandable-tile-container:empty {display: none;} #right-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #video-overlay {display: none;pointer-events: none;position: absolute;top: 0;left: 0;z-index: 3;} #compact-tile-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #compact-tile-container ytd-thumbnail {margin-right: var(--ytd-rich-grid-item-margin);} ytd-thumbnail {height: 118px;width: 210px;} @media(max-width:1280px) {:host(.client-side) #expandable-tile-container :nth-child(n+3) {display: none;}} @media(max-width:1066px) {:host(.client-side) #expandable-tile-container :nth-child(n+2) {display: none;}:host(.client-side) #right-container {width: 424px;}} @media(max-width:852px) {:host(.client-side) #right-container {width: 210px;}:host(.client-side) #compact-tile-container ytd-thumbnail+ytd-thumbnail {display: none;}} @media(max-width:638px) {:host(.client-side) #right-container {display: none;}:host(.client-side) #video-overlay {display: block;}} :host(:not(.client-side).grid-1-columns) #right-container,:host(:not(.client-side).grid-2-columns) #right-container {display: none;} :host(:not(.client-side).grid-1-columns) #video-overlay,:host(:not(.client-side).grid-2-columns) #video-overlay {display: block;} :host(:not(.client-side).grid-2-columns) #expandable-tile-container :nth-child(n+2) {display: none;} :host(:not(.client-side).grid-3-columns) #right-container {width: 210px;} :host(:not(.client-side).grid-3-columns) #compact-tile-container ytd-thumbnail+ytd-thumbnail {display: none;} :host(:not(.client-side).grid-3-columns) #expandable-tile-container :nth-child(n+2) {display: none;} :host(:not(.client-side).grid-4-columns) #expandable-tile-container :nth-child(n+2) {display: none;} :host(:not(.client-side).grid-5-columns) #expandable-tile-container :nth-child(n+3) {display: none;} /*# sourceMappingURL=ytd-video-masthead-ad-v3-renderer.css.map*/</style>";
ZJb=d}d=ZJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Jb=a}a=$Jb;return a}}});
var U2=T2;U2.prototype.onIronResize=U2.prototype.onIronResize;U2.prototype.dataChanged=U2.prototype.dataChanged;_.S([_.L(_.xx),_.T("design:type",Object)],U2.prototype,"ironResizableBehavior",void 0);_.S([_.L(_.yX),_.T("design:type",Object)],U2.prototype,"ytdActiveViewBehavior",void 0);_.S([_.L(_.B1),_.T("design:type",Object)],U2.prototype,"ytdGridStateAwareBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],U2.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],U2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],U2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],U2.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeWidescreen(data.primaryVideo)"}),_.T("design:type",Boolean)],U2.prototype,"widescreen",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeExpandable(data.expandableTiles)"}),_.T("design:type",Boolean)],U2.prototype,"expandable",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],U2.prototype,"collapsed",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],U2.prototype,"dataChanged",null);
_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],U2.prototype,"onIronResize",null);U2=_.S([_.Q({is:"ytd-video-masthead-ad-v3-renderer"})],U2);
var aKb;
var bKb;
var V2=function(){return _.K.apply(this,arguments)||this};
_.q(V2,_.K);V2.prototype.configureRendererStamper=function(){return{"data.renderingContent":{id:"rendering-content",mapping:{displayAdRenderer:"ytd-display-ad-renderer"}}}};
_.t.Object.defineProperties(V2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-in-feed-ad-layout-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.layout_renderer.ytd_in_feed_ad_layout_renderer.ytd.in.feed.ad.layout.renderer.css.js--\x3e<div id="rendering-content"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aKb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.layout_renderer.ytd_in_feed_ad_layout_renderer.ytd.in.feed.ad.layout.renderer.css.js--\x3e<style>/*# sourceMappingURL=ytd-in-feed-ad-layout-renderer.css.map*/</style>";aKb=d}d=aKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bKb=a}a=
bKb;return a}}});
var W2=V2;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],W2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],W2.prototype,"rendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],W2.prototype,"data",void 0);W2=_.S([_.Q({is:"ytd-in-feed-ad-layout-renderer"})],W2);
var cKb;
var dKb;
var X2=function(){return _.K.apply(this,arguments)||this};
_.q(X2,_.K);X2.prototype.configureRendererStamper=function(){return{"data.renderingContent":{id:"rendering-content",mapping:{videoMastheadAdV3Renderer:"ytd-video-masthead-ad-v3-renderer"}}}};
_.t.Object.defineProperties(X2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-page-top-ad-layout-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.layout_renderer.ytd_page_top_ad_layout_renderer.ytd.page.top.ad.layout.renderer.css.js--\x3e<div id="rendering-content"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cKb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.layout_renderer.ytd_page_top_ad_layout_renderer.ytd.page.top.ad.layout.renderer.css.js--\x3e<style>/*# sourceMappingURL=ytd-page-top-ad-layout-renderer.css.map*/</style>";cKb=d}d=cKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dKb=
a}a=dKb;return a}}});
var Y2=X2;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Y2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Y2.prototype,"data",void 0);Y2=_.S([_.Q({is:"ytd-page-top-ad-layout-renderer"})],Y2);
var eKb;
var fKb;
var Z2=function(){return _.K.apply(this,arguments)||this};
_.q(Z2,_.K);Z2.prototype.configureRendererStamper=function(){return{"data.fulfillmentContent.fulfilledLayout":{id:"fulfilled-layout",mapping:{inFeedAdLayoutRenderer:"ytd-in-feed-ad-layout-renderer",pageTopAdLayoutRenderer:"ytd-page-top-ad-layout-renderer"}}}};
_.t.Object.defineProperties(Z2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ad-slot-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.slot_renderer.ytd_ad_slot_renderer.ytd.ad.slot.renderer.css.js--\x3e<div id="fulfilled-layout"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eKb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.slot_renderer.ytd_ad_slot_renderer.ytd.ad.slot.renderer.css.js--\x3e<style>/*# sourceMappingURL=ytd-ad-slot-renderer.css.map*/</style>";eKb=d}d=eKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fKb=a}a=fKb;return a}}});
var $2=Z2;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$2.prototype,"rendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$2.prototype,"data",void 0);$2=_.S([_.Q({is:"ytd-ad-slot-renderer"})],$2);
var gKb;
var hKb;
var a3=function(){return _.K.apply(this,arguments)||this};
_.q(a3,_.K);
a3.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{chipCloudChipRenderer:"yt-chip-cloud-chip-renderer"}},"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.secondaryButton":{id:"secondary-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"ytd-button-renderer"}},dismissedRenderer:{id:"dismissed-content",mapping:{notificationTextRenderer:"ytd-notification-text-renderer",notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.t.Object.defineProperties(a3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feed-nudge-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_feed_nudge_renderer.ytd.feed.nudge.renderer.css.js--\x3e<div id="dismissible">\n  <div id="dismiss-button"></div>\n  <div id="content-wrapper">\n    <div id="header-container">\n      <div id="image-container">\n        <yt-img-shadow id="nudge-image" height="32" thumbnail="[[data.lightIconImage]]">\n        </yt-img-shadow>\n      </div>\n\n    </div>\n    <div id="text-container">\n      <div id="title-container">\n        <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n      </div>\n      <div id="subtitle-container">\n        <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n      </div>\n    </div>\n    <div id="contents" hidden="[[!data.contents]]">\n    </div>\n    <div id="button-container" hidden="[[!data.primaryButton]]">\n      <div id="primary-button"></div>\n      <div id="secondary-button"></div>\n    </div>\n  </div>\n</div>\n<div id="dismissed">\n  <div id="dismissed-content"></div>\n</div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_feed_nudge_renderer.ytd.feed.nudge.renderer.css.js--\x3e<style>:host {display: block;width: 100%;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} :host([is-dark-theme]) #content-wrapper {background-color: var(--yt-spec-static-brand-white);} #dismissible {border-radius: 5px;border: 1px solid var(--yt-spec-10-percent-layer);border-top: none;height: 100%;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #dismissible:first-child:before {border-top-left-radius: 5px;border-top-right-radius: 5px;background: linear-gradient(to right,#ff8983 17.85%,#7f0e7f 53.28%,#007a65 100%);content: "";height: 4px;width: 100%;} #content-wrapper {border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;background-color: var(--yt-spec-brand-background-primary);padding: 0 6%;height: 100%;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header-container {width: 100%;margin-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #dismiss-button {top: 4px;width: 100%;position: absolute;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #button-container {width: 100%;margin-bottom: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #image-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #text-container {margin: 8px 0 12px;} #title-container {color: var(--yt-spec-text-primary);margin-bottom: 4px;font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 600;} #subtitle-container {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #primary-button,#secondary-button {-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #primary-button ytd-button-renderer,#secondary-button ytd-button-renderer {box-sizing: border-box;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 0;margin-bottom: 8px;width: 100%;} #dismissed {padding-bottom: 56.19%;border: 1px solid var(--yt-spec-10-percent-layer);position: relative;} #dismissed:focus {outline: none;} #dismissed-content {box-sizing: border-box;padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #contents yt-chip-cloud-chip-renderer {margin-bottom: 16px;} /*# sourceMappingURL=ytd-feed-nudge-renderer.css.map*/</style>';
gKb=d}d=gKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hKb=a}a=hKb;return a}}});
var b3=a3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],b3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],b3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],b3.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],b3.prototype,"data",void 0);b3=_.S([_.Q({asyncProperties:!0,is:"ytd-feed-nudge-renderer"})],b3);
var iKb;
var jKb;
var kKb;
var lKb;
var c3=function(){return _.K.apply(this,arguments)||this};
_.q(c3,_.K);c3.prototype.maybeGetBackgroundColor=function(a){return this.isDarkMode?a.section2Color:a.section3Color};
c3.prototype.colorPaletteChanged=function(){var a=this.isDarkMode?this.darkColorPalette:this.lightColorPalette;a&&(null==a?0:a.secondaryTitleColor)&&this.maybeGetBackgroundColor(a)?(this.style.backgroundColor=_.ru(this.maybeGetBackgroundColor(a)),this.style.color=_.ru(a.secondaryTitleColor)):(this.style.backgroundColor="",this.style.color="")};
_.t.Object.defineProperties(c3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-endorsement-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_endorsement_header_renderer.ytd.endorsement.header.renderer.css.js--\x3e<yt-icon id="icon" hidden="[[!data.icon]]" icon="[[data.icon.iconType]]"></yt-icon>\n<yt-formatted-string id="text" text="[[data.title]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.thumbnails.ytd_endorsement_header_renderer.ytd.endorsement.header.renderer.css.js--\x3e<style>:host {padding: 8px 12px;background-color: var(--yt-spec-general-background-b);color: var(--yt-spec-text-secondary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #icon {margin-right: 8px;flex-shrink: 0;} #text {margin-top: calc(4px/2);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} /*# sourceMappingURL=ytd-endorsement-header-renderer.css.map*/</style>';
kKb=d}d=kKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lKb=a}a=lKb;return a}}});
var d3=c3;d3.prototype.colorPaletteChanged=d3.prototype.colorPaletteChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],d3.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],d3.prototype,"data",void 0);_.S([_.N({selector:function(a){return a.ui.darkModeIsEnabled}}),
_.T("design:type",Boolean)],d3.prototype,"isDarkMode",void 0);_.S([_.N(),_.T("design:type",Object)],d3.prototype,"lightColorPalette",void 0);_.S([_.N(),_.T("design:type",Object)],d3.prototype,"darkColorPalette",void 0);_.S([_.P("darkColorPalette","lightColorPalette","data","isDarkMode"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],d3.prototype,"colorPaletteChanged",null);d3=_.S([_.Q({asyncProperties:!0,is:"ytd-endorsement-header-renderer"})],d3);
var e3=function(){var a=_.K.apply(this,arguments)||this;a.videoPreviewJobId=0;return a};
_.q(e3,_.K);_.f=e3.prototype;
_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}},initialRenderPriority:!_.x("defer_menus")||_.x("desktop_persistent_menu")&&_.QB?void 0:0,waitForSignal:"eocs"},"data.thumbnailUnderlay":{id:"thumbnail-underlay",mapping:{endorsementHeaderRenderer:{component:"ytd-endorsement-header-renderer",properties:{lightColorPalette:"[[data.thumbnail.lightColorPalette]]",darkColorPalette:"[[data.thumbnail.darkColorPalette]]"}}}},"data.buttons":{id:"buttons",
mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer",upcomingEventReminderButtonRenderer:"ytd-upcoming-event-reminder-button-renderer"}},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.f.attached=function(){this.updateMouseEventListeners()};
_.f.detached=function(){this.clearEventListeners()};
_.f.clearEventListeners=function(){var a=this.querySelector("ytd-thumbnail");a&&(this.unlisten(a,"mouseenter","onThumbMouseEnter"),this.unlisten(a,"mouseleave","onThumbMouseLeave"))};
_.f.onDataChanged=function(a){var b=this.get("channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer",a);if(b){var c,d,e;b.title=null==a?void 0:null==(c=a.shortBylineText)?void 0:null==(d=c.runs)?void 0:null==(e=d[0])?void 0:e.text;this.set("data.owner",b)}var h,l,m;b=(null==(h=a.thumbnailRenderer)?void 0:h.playlistVideoThumbnailRenderer)||(null==(l=a.thumbnailRenderer)?void 0:l.playlistCustomThumbnailRenderer)||(null==(m=a.thumbnailRenderer)?void 0:m.showCustomThumbnailRenderer);!a.thumbnail&&
b&&this.set("data.thumbnail",b.thumbnail);this.updateMouseEventListeners()};
_.f.metadataColorChanged=function(a){var b;if(a&&(null==(b=this.videoTitle)?0:b.style))this.videoTitle.style.color=_.ru(this.metadataColor);else{var c,d;!a&&(null==(c=this.videoTitle)?0:null==(d=c.style)?0:d.color)&&(this.videoTitle.style.color="")}};
_.f.updateMouseEventListeners=function(){this.clearEventListeners();var a;(null==(a=this.data)?0:a.inlinePlaybackEndpoint)&&this.addMouseEventListeners()};
_.f.addMouseEventListeners=function(){var a=this.querySelector("ytd-thumbnail");this.listen(a,"mouseenter","onThumbMouseEnter");this.listen(a,"mouseleave","onThumbMouseLeave")};
_.f.computeIsInlinePreviewEligible=function(a,b){return b&&!(null==a||!a.inlinePlaybackEndpoint)};
_.f.onDetailsClick=function(a){var b,c=null==(b=this.data)?void 0:b.navigationEndpoint;!c||_.x("rich_grid_open_new_tab")||_.x("rich_grid_watch")||_.Hx(_.H(a).path,this,["A","BUTTON"])||this.fire("yt-navigate",{endpoint:c})};
_.f.onRendererTap=function(a){var b=a.target,c=b.href||!_.Hx(_.H(a).path,this,["BUTTON"])&&!_.Qv.getInstance().userActivation;if(c&&_.x("rich_grid_open_new_tab")&&"/"===window.location.pathname){var d;c=null==(d=this.data)?void 0:d.navigationEndpoint;var e,h;if(b=b.href||(null==c?void 0:null==(e=c.commandMetadata)?void 0:null==(h=e.webCommandMetadata)?void 0:h.url))a.stopPropagation(),a.preventDefault(),_.wXa(window,_.Nb(b)),this.onThumbMouseLeave()}else if(c&&_.x("rich_grid_watch")){a.stopPropagation();
a.preventDefault();var l;this.fire("yt-rich-grid-watch-activate",null==(l=this.data)?void 0:l.navigationEndpoint);return}var m;a=null==(m=this.data)?void 0:m.serviceEndpoint;(null==a?0:a.feedbackEndpoint)&&_.Kg(this,[a])};
_.f.onMouseDown=function(a){if(!_.x("disable_rich_grid_new_tab_fix")){a=a.target;var b,c=null==(b=this.data)?void 0:b.navigationEndpoint,d,e;b=a.href||(null==c?void 0:null==(d=c.commandMetadata)?void 0:null==(e=d.webCommandMetadata)?void 0:e.url);d=a.data||c;b&&d&&_.OHa(b,d)}};
_.f.handleOverlayMouseEnter=function(){this.onThumbMouseEnter()};
_.f.onThumbMouseEnter=function(){var a=this;if(this.inlinePreviewIsEnabled){var b;null!=(b=this.data)&&b.inlinePlaybackEndpoint?(this.inlinePreviewIsActive&&(_.C(this,"yt-close-popups-action",[["ytd-menu-popup-renderer"]]),_.C(this,"yt-terminate-video-preview-action")),this.isPreviewLoading=!0,_.xe.cancelJob(this.videoPreviewJobId),this.videoPreviewJobId=_.Bi(_.xe,function(){a.inlinePreviewIsEnabled&&(_.C(a,"yt-close-popups-action",[["yt-tooltip-renderer","ytd-menu-popup-renderer"]]),_.Jg(a,"yt-open-video-preview-action",
[a]))},_.hd("web_inline_player_triggering_delay")||1E3)):this.clearEventListeners()}};
_.f.onThumbMouseLeave=function(){_.xe.cancelJob(this.videoPreviewJobId);this.isPreviewLoading=!1};
_.t.Object.defineProperties(e3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-grid-media--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_media.ytd.rich.grid.media.css.js--\x3e<div id="dismissible" dark$="[[showDarkVideoMetadata]]" light$="[[showLightVideoMetadata]]" on-click="onRendererTap"><ytd-thumbnail data="[[data]]" hovered="[[lockupIsHovered]]" is-preview-loading="[[isPreviewLoading]]" rich-grid-thumbnail="" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="[[!isInlinePreviewEligible]]" width="9999"></ytd-thumbnail><div id="thumbnail-underlay" on-click="onDetailsClick" hidden="[[!data.thumbnailUnderlay]]"></div><div id="details" on-click="onDetailsClick"><a id="avatar-link" class="yt-simple-endpoint" hidden="[[!data.owner.thumbnail]]" href$="[[computeHref_(data.owner.navigationEndpoint)]]" data="[[data.owner.navigationEndpoint]]" title="[[data.owner.title]]" tabindex="-1"><yt-img-shadow id="avatar" thumbnail="[[data.owner.thumbnail]]" width="48"></yt-img-shadow></a><div id="meta"><h3><ytd-badge-supported-renderer class="title-badge" disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]"></ytd-badge-supported-renderer><a id="video-title-link" class="yt-simple-endpoint focus-on-expand" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]" data="[[data.navigationEndpoint]]"><yt-formatted-string id="video-title" text="[[data.title]]"></yt-formatted-string></a></h3><ytd-video-meta-block class="grid" data="[[data]]" metadata-color="[[metadataColor]]" mini-mode="[[miniMode]]" radio-meta="[[isRadio]]" rich-meta=""></ytd-video-meta-block><ytd-badge-supported-renderer class="video-badge" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]"></ytd-badge-supported-renderer><ytd-badge-supported-renderer class="title-badge" disable-upgrade$="[[!data.bottomStandaloneBadge]]" hidden="[[!data.bottomStandaloneBadge]]" top-standalone-badge="[[data.bottomStandaloneBadge]]"></ytd-badge-supported-renderer><div id="buttons"></div></div><div id="menu"></div></div></div><div id="dismissed" light$="[[showLightVideoMetadata]]" dark$="[[showDarkVideoMetadata]]"><div id="dismissed-content"></div></div><yt-interaction id="interaction" class="extended"></yt-interaction>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_media.ytd.rich.grid.media.css.js--\x3e<style>html[system-icons] {--yt-spec-icon-active-other: #030303;--yt-spec-icon-inactive: #030303;--yt-spec-icon-disabled: #909090;--yt-spec-brand-icon-active: #030303;--yt-spec-brand-icon-inactive: #030303;--yt-button-icon-button-text-color: var(--yt-spec-text-primary);} html[system-icons][dark],html[system-icons] [dark] {--yt-spec-icon-inactive: #fff;--yt-spec-icon-disabled: #717171;--yt-spec-brand-icon-inactive: #fff;} html,[light] {--yt-spec-brand-background-solid: #fff;--yt-spec-brand-background-primary: rgba(255, 255, 255, 0.98);--yt-spec-brand-background-secondary: rgba(255, 255, 255, 0.95);--yt-spec-general-background-a: #f9f9f9;--yt-spec-general-background-b: #f1f1f1;--yt-spec-general-background-c: #e9e9e9;--yt-spec-error-background: #181818;--yt-spec-text-primary: #030303;--yt-spec-text-primary-inverse: #fff;--yt-spec-text-secondary: #606060;--yt-spec-text-disabled: #909090;--yt-spec-call-to-action: #065fd4;--yt-spec-call-to-action-inverse: #3ea6ff;--yt-spec-suggested-action: #def1ff;--yt-spec-icon-active-other: #606060;--yt-spec-icon-inactive: #909090;--yt-spec-icon-disabled: #ccc;--yt-spec-badge-chip-background: rgba(0, 0, 0, 0.05);--yt-spec-verified-badge-background: rgba(0, 0, 0, 0.15);--yt-spec-button-chip-background-hover: rgba(0, 0, 0, 0.1);--yt-spec-touch-response: #000;--yt-spec-touch-response-inverse: #fff;--yt-spec-brand-icon-active: #f00;--yt-spec-brand-icon-inactive: #606060;--yt-spec-brand-button-background: #c00;--yt-spec-brand-link-text: #c00;--yt-spec-wordmark-text: #212121;--yt-spec-10-percent-layer: rgba(0, 0, 0, 0.1);--yt-spec-snackbar-background: #212121;--yt-spec-snackbar-background-updated: #181818;--yt-spec-error-indicator: #990412;--yt-spec-themed-blue: #065fd4;--yt-spec-themed-green: #107516;--yt-spec-ad-indicator: #00716c;--yt-spec-themed-overlay-background: rgba(255, 255, 255, 0.7);--yt-spec-commerce-badge-background: #deffde;--yt-spec-static-brand-red: #f00;--yt-spec-static-brand-white: #fff;--yt-spec-static-brand-black: #212121;--yt-spec-static-clear-color: rgba(255, 255, 255, 0);--yt-spec-static-clear-black: rgba(0, 0, 0, 0);--yt-spec-static-ad-yellow: #fbc02d;--yt-spec-static-grey: #606060;--yt-spec-static-overlay-background-solid: #000;--yt-spec-static-overlay-background-heavy: rgba(0, 0, 0, 0.8);--yt-spec-static-overlay-background-medium: rgba(0, 0, 0, 0.6);--yt-spec-static-overlay-background-medium-light: rgba(0, 0, 0, 0.3);--yt-spec-static-overlay-background-light: rgba(0, 0, 0, 0.1);--yt-spec-static-overlay-text-primary: #fff;--yt-spec-static-overlay-text-secondary: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-text-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-call-to-action: #3ea6ff;--yt-spec-static-overlay-icon-active-other: #fff;--yt-spec-static-overlay-icon-inactive: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-icon-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-button-secondary: rgba(255, 255, 255, 0.1);--yt-spec-static-overlay-button-primary: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-background-brand: rgba(204, 0, 0, 0.9);--yt-spec-assistive-feed-vibrant-gradient-1: #007a65;--yt-spec-assistive-feed-vibrant-gradient-2: #7f0e7f;--yt-spec-assistive-feed-vibrant-gradient-3: #ff8983;--yt-spec-assistive-feed-themed-gradient-1: #d4fff8;--yt-spec-assistive-feed-themed-gradient-2: #ffdeff;--yt-spec-assistive-feed-themed-gradient-3: #ffe6e6;--yt-spec-filled-button-text: #fff;--yt-spec-paper-tab-ink: rgba(0, 0, 0, 0.3);--yt-spec-call-to-action-faded: rgba(6, 95, 212, 0.3);--yt-spec-call-to-action-hover: #0551b4;--yt-spec-brand-button-background-hover: #990412;--yt-spec-brand-link-text-faded: rgba(204, 0, 0, 0.3);--yt-spec-filled-button-focus-outline: rgba(0, 0, 0, 0.6);--yt-spec-selected-nav-text: #c00;--yt-spec-static-overlay-button-hover: rgba(255, 255, 255, 0.5);} html[dark],[dark] {--yt-spec-brand-background-solid: #212121;--yt-spec-brand-background-primary: rgba(33, 33, 33, 0.98);--yt-spec-brand-background-secondary: rgba(33, 33, 33, 0.95);--yt-spec-general-background-a: #181818;--yt-spec-general-background-b: #0f0f0f;--yt-spec-general-background-c: #030303;--yt-spec-error-background: #f9f9f9;--yt-spec-text-primary: #fff;--yt-spec-text-secondary: #aaa;--yt-spec-text-disabled: #717171;--yt-spec-text-primary-inverse: #030303;--yt-spec-call-to-action: #3ea6ff;--yt-spec-call-to-action-inverse: #065fd4;--yt-spec-suggested-action: #263850;--yt-spec-icon-active-other: #fff;--yt-spec-icon-inactive: #909090;--yt-spec-icon-disabled: #606060;--yt-spec-badge-chip-background: rgba(255, 255, 255, 0.1);--yt-spec-verified-badge-background: rgba(255, 255, 255, 0.25);--yt-spec-button-chip-background-hover: rgba(255, 255, 255, 0.2);--yt-spec-touch-response: #fff;--yt-spec-touch-response-inverse: #000;--yt-spec-brand-icon-active: #fff;--yt-spec-brand-icon-inactive: #909090;--yt-spec-brand-link-text: #ff4e45;--yt-spec-wordmark-text: #fff;--yt-spec-10-percent-layer: rgba(255, 255, 255, 0.1);--yt-spec-snackbar-background: #030303;--yt-spec-snackbar-background-updated: #f9f9f9;--yt-spec-error-indicator: #ff8983;--yt-spec-themed-blue: #3ea6ff;--yt-spec-themed-green: #2ba640;--yt-spec-ad-indicator: #00aaa7;--yt-spec-themed-overlay-background: rgba(0, 0, 0, 0.8);--yt-spec-commerce-badge-background: #002d08;--yt-spec-static-brand-red: #f00;--yt-spec-static-brand-white: #fff;--yt-spec-static-brand-black: #212121;--yt-spec-static-clear-color: rgba(255, 255, 255, 0);--yt-spec-static-clear-black: rgba(0, 0, 0, 0);--yt-spec-static-ad-yellow: #fbc02d;--yt-spec-static-grey: #606060;--yt-spec-static-overlay-background-solid: #000;--yt-spec-static-overlay-background-heavy: rgba(0, 0, 0, 0.8);--yt-spec-static-overlay-background-medium: rgba(0, 0, 0, 0.6);--yt-spec-static-overlay-background-medium-light: rgba(0, 0, 0, 0.3);--yt-spec-static-overlay-background-light: rgba(0, 0, 0, 0.1);--yt-spec-static-overlay-text-primary: #fff;--yt-spec-static-overlay-text-secondary: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-text-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-call-to-action: #3ea6ff;--yt-spec-static-overlay-icon-active-other: #fff;--yt-spec-static-overlay-icon-inactive: rgba(255, 255, 255, 0.7);--yt-spec-static-overlay-icon-disabled: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-button-primary: rgba(255, 255, 255, 0.3);--yt-spec-static-overlay-button-secondary: rgba(255, 255, 255, 0.1);--yt-spec-static-overlay-background-brand: rgba(204, 0, 0, 0.9);--yt-spec-assistive-feed-themed-gradient-1: #005446;--yt-spec-assistive-feed-themed-gradient-2: #39003f;--yt-spec-assistive-feed-themed-gradient-3: #590000;--yt-spec-paper-tab-ink: rgba(255, 255, 255, 0.3);--yt-spec-filled-button-text: #030303;--yt-spec-call-to-action-faded: rgba(62, 166, 255, 0.3);--yt-spec-call-to-action-hover: #6ebcff;--yt-spec-brand-button-background-hover: #990412;--yt-spec-brand-link-text-faded: rgba(255, 78, 69, 0.3);--yt-spec-filled-button-focus-outline: rgba(255, 255, 255, 0.7);--yt-spec-selected-nav-text: #fff;} :host {--yt-button-compact-background-color: var(--yt-spec-10-percent-layer);--yt-button-compact-text-color: var(--yt-spec-text-secondary);width: 100%;margin: 0;display: block;max-width: var(--ytd-rich-grid-item-max-width);position: relative;} :host([mini-mode]) {max-width: var(--ytd-rich-grid-mini-item-max-width);} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} :host([is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([is-dismissed]) #dismissed {display: block;} #dismissible {position: relative;height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-thumbnail {width: 100%;position: relative;} ytd-thumbnail:before {display: block;content: "";width: 100%;padding-top: 56.25%;background-color: var(--yt-spec-10-percent-layer);} #meta {overflow-x: hidden;padding-right: 24px;} #badges {margin-top: 8px;} #thumbnail-underlay {cursor: pointer;} #details {position: relative;cursor: pointer;margin: 0 12px;flex: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} @media(min-width:392px) {#details {margin: 0;}} #avatar-link {height: 36px;margin-top: 12px;margin-right: 12px;} #avatar {background-color: var(--yt-spec-10-percent-layer)!important;width: 36px;height: 36px;border-radius: 50%;background-color: transparent;overflow: hidden;} ytd-menu-renderer {position: absolute;top: 4px;right: -12px;} #dismissed {padding-bottom: 56.19%;border: 1px solid var(--yt-spec-10-percent-layer);position: relative;} #dismissed:focus {outline: none;} #dismissed-content {box-sizing: border-box;padding: 8px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #video-title-link {display: block;} #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([mini-mode]) #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);margin: 12px 0 4px 0;} :host([mini-mode]) h3 {margin-bottom: 6px;} #buttons>* {margin-top: 4px;} #dismissed-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .title-badge,.video-badge {margin: 4px 4px 0 0;} #preview-loading-overlay {border-radius: 2px;position: absolute;top: 4px;color: var(--yt-spec-static-brand-white);left: 4px;background: var(--yt-spec-static-overlay-background-solid);padding-left: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #preview-loading-overlay tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-spec-static-brand-white);width: 12px;height: 12px;} #preview-loading-overlay span {padding: 4px 8px;} /*# sourceMappingURL=ytd-rich-grid-media.css.map*/</style>';
iKb=d}d=iKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jKb=a}a=jKb;return a}}});
var f3=e3;f3.prototype.handleOverlayMouseEnter=f3.prototype.handleOverlayMouseEnter;f3.prototype.onMouseDown=f3.prototype.onMouseDown;f3.prototype.metadataColorChanged=f3.prototype.metadataColorChanged;f3.prototype.onDataChanged=f3.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],f3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],f3.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.iy),_.T("design:type",Object)],f3.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],f3.prototype,"ytdLockupBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],f3.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],f3.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],f3.prototype,"noEndpoints",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],f3.prototype,"isRadio",void 0);
_.S([_.N({value:!1}),_.T("design:type",Boolean)],f3.prototype,"isPreviewLoading",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],f3.prototype,"miniMode",void 0);_.S([_.N({selector:_.RJa}),_.T("design:type",Boolean)],f3.prototype,"inlinePreviewIsEnabled",void 0);_.S([_.N({selector:_.AXa}),_.T("design:type",Boolean)],f3.prototype,"inlinePreviewIsActive",void 0);_.S([_.N(),_.T("design:type",Boolean)],f3.prototype,"showDarkVideoMetadata",void 0);
_.S([_.N(),_.T("design:type",Boolean)],f3.prototype,"showLightVideoMetadata",void 0);_.S([_.N(),_.T("design:type",Number)],f3.prototype,"metadataColor",void 0);_.S([_.N({computed:"computeIsInlinePreviewEligible(data, inlinePreviewIsEnabled)"}),_.T("design:type",Boolean)],f3.prototype,"isInlinePreviewEligible",void 0);_.S([_.Z("#video-title"),_.T("design:type",HTMLElement)],f3.prototype,"videoTitle",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],f3.prototype,"onDataChanged",null);_.S([_.P("metadataColor"),_.T("design:type",Function),_.T("design:paramtypes",[Number]),_.T("design:returntype")],f3.prototype,"metadataColorChanged",null);_.S([_.O("mousedown"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],f3.prototype,"onMouseDown",null);
_.S([_.O("yt-preview-overlay-hovered"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],f3.prototype,"handleOverlayMouseEnter",null);f3=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-grid-media"})],f3);
var mKb;
var nKb;
var g3=function(){return _.K.apply(this,arguments)||this};
_.q(g3,_.K);g3.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer"}},initialRenderPriority:!_.x("defer_menus")||_.x("desktop_persistent_menu")&&_.QB?void 0:0,waitForSignal:"eocs"},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",notificationTextRenderer:"ytd-notification-text-renderer"}}}};
g3.prototype.isReelItemRenderer=function(a){return void 0!==a.headline};
g3.prototype.computeTitle=function(a){return this.isReelItemRenderer(a)?Object.assign({},a.headline,{accessibility:a.accessibility}):a.title};
g3.prototype.onRendererTap=function(){var a;if(null==(a=this.data)?0:a.serviceEndpoints)a=this.data.serviceEndpoints[0],a.feedbackEndpoint&&this.componentBehavior.resolveCommand(a)};
_.t.Object.defineProperties(g3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-grid-slim-media--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_slim_media.ytd.rich.grid.slim.media.css.js--\x3e<div id="dismissible" on-click="onRendererTap">\n  <ytd-thumbnail data="[[data]]" hovered="[[lockupIsHovered]]" rich-grid-thumbnail="" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="9999">\n  </ytd-thumbnail>\n  <div id="details">\n    <a class="yt-simple-endpoint focus-on-expand" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(computedTitle)]]" aria-label$="[[computedTitle.accessibility.accessibilityData.label]]" data="[[data.navigationEndpoint]]">\n      <h3>\n        <ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n        </ytd-badge-supported-renderer>\n        <span id="video-title">[[getSimpleString(computedTitle)]]</span>\n      </h3>\n      <ytd-video-meta-block class="grid" data="[[data]]" rich-meta="">\n      </ytd-video-meta-block>\n      <ytd-badge-supported-renderer class="video-badge" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n      </ytd-badge-supported-renderer>\n    </a>\n    <div id="menu"></div>\n  </div>\n</div>\n<div id="dismissed">\n  <div id="dismissed-content"></div>\n</div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_slim_media.ytd.rich.grid.slim.media.css.js--\x3e<style>:host {width: 100%;margin: 0;display: block;position: relative;max-width: var(--ytd-rich-grid-slim-item-max-width);} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} ytd-thumbnail {width: 100%;position: relative;} ytd-thumbnail:before {display: block;content: "";width: 100%;padding-top: 144%;background-color: var(--yt-spec-10-percent-layer);} #badges {margin-top: 8px;} #details {position: relative;cursor: pointer;margin: 0 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} @media(min-width:392px) {#details {margin: 0;}} #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([mini-mode]) #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);padding: 12px 24px 4px 0;} ytd-video-metadata-block {padding-right: 24px;} ytd-badge-supported-renderer {--ytd-badge-white-space: nowrap;margin: 4px 4px 0 0;} ytd-menu-renderer {position: absolute;top: 0;right: 0;margin-top: 12px;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} :host([is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([is-dismissed]) #dismissed {display: block;} #dismissed {padding-bottom: 143%;border: 1px solid var(--yt-spec-10-percent-layer);position: relative;} .yt-simple-endpoint {overflow-x: hidden;} #dismissed:focus {outline: none;} #dismissed-content {box-sizing: border-box;padding: 8px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #dismissed-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-rich-grid-slim-media.css.map*/</style>';
mKb=d}d=mKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nKb=a}a=nKb;return a}}});
var h3=g3;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],h3.prototype,"componentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],h3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],h3.prototype,"ytdLockupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],h3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],h3.prototype,"ytdDismissibleItemBehavior",void 0);
_.S([_.L(_.Wu),_.T("design:type",Object)],h3.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],h3.prototype,"data",void 0);_.S([_.N({computed:"computeTitle(data)"}),_.T("design:type",Object)],h3.prototype,"computedTitle",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],h3.prototype,"miniMode",void 0);h3=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-grid-slim-media"})],h3);
var oKb;
var pKb;
var qKb;
var rKb;
var i3=function(){return _.K.apply(this,arguments)||this};
_.q(i3,_.K);_.f=i3.prototype;_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}},initialRenderPriority:!_.x("defer_menus")||_.x("desktop_persistent_menu")&&_.QB?void 0:0,waitForSignal:"eocs"},dismissedRenderer:{id:"dismissed-content",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer",notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.f.onRendererTap=function(a){if(!this.ytdDismissibleItemBehavior.isDismissed){var b,c=null==(b=this.data)?void 0:b.navigationEndpoint;c&&!_.Hx(_.H(a).path,this,["BUTTON"])&&(this.isNavigationCommand(c)?_.Hx(_.H(a).path,this,["A"])||this.fire("yt-navigate",{endpoint:c}):this.ytComponentBehavior.resolveCommand(c,{}))}};
_.f.maybeComputeHref=function(a){return this.ytComponentBehavior.computeHref_(a,!0)};
_.f.getNavigationCommand=function(a){return this.isNavigationCommand(a)?a:null};
_.f.isNavigationCommand=function(a){return a?a.browseEndpoint||a.watchEndpoint||a.urlEndpoint?!0:!1:!1};
_.t.Object.defineProperties(i3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-lumiere-promo-item-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_lumiere_promo_item_image_renderer.ytd.lumiere.promo.item.image.renderer.css.js--\x3e<div id="dismissible"><a id="thumbnail-link" class="yt-simple-endpoint" href$="[[maybeComputeHref(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]" data="[[getNavigationCommand(data.navigationEndpoint)]]" rel="[[computeNofollow_(data.navigationEndpoint)]]"><yt-img-shadow thumbnail="[[data.thumbnail]]"></yt-img-shadow></a><div id="metadata"><div id="item-details"><div id="title"><h3><a id="title-link" class="yt-simple-endpoint" href$="[[maybeComputeHref(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]" data="[[getNavigationCommand(data.navigationEndpoint)]]" rel="[[computeNofollow_(data.navigationEndpoint)]]"><yt-formatted-string id="item-title" text="[[data.title]]"></yt-formatted-string><yt-icon class="hover-icon" hidden="[[!data.showLauncherIcon]]" icon="open_in_new"></yt-icon></a></h3></div><yt-formatted-string id="item-subtitle" text="[[data.subtitle]]"></yt-formatted-string></div><div id="menu"></div></div></div><div id="dismissed"><div id="dismissed-content"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_lumiere_promo_item_image_renderer.ytd.lumiere.promo.item.image.renderer.css.js--\x3e<style>:host {width: 100%;margin: 0;display: block;max-width: var(--ytd-rich-grid-item-max-width);} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} :host([is-dismissed]) #dismissible,:host #dismissed {display: none;} :host([is-dismissed]) #dismissed {display: block;} yt-img-shadow {width: 100%;position: relative;cursor: pointer;} #metadata {position: relative;cursor: pointer;margin: 0 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} @media(min-width:392px) {#metadata {margin: 0;}} #item-details {overflow-x: hidden;padding-right: 24px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);margin: 12px 0 4px 0;} #item-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} #item-subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} yt-icon {color: var(--yt-spec-brand-icon-inactive);margin-left: 4px;height: 15px;width: 15px;flex-shrink: 0;} ytd-menu-renderer {position: absolute;top: 0;right: 0;margin-top: 12px;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} #dismissed {padding-bottom: 56.19%;border: 1px solid var(--yt-spec-10-percent-layer);position: relative;} #dismissed:focus {outline: none;} #dismissed-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;box-sizing: border-box;padding: 8px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} /*# sourceMappingURL=ytd-lumiere-promo-item-image-renderer.css.map*/</style>';
qKb=d}d=qKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rKb=a}a=rKb;return a}}});
var j3=i3;j3.prototype.onRendererTap=j3.prototype.onRendererTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],j3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],j3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],j3.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],j3.prototype,"ytComponentBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],j3.prototype,"data",void 0);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],j3.prototype,"onRendererTap",null);j3=_.S([_.Q({asyncProperties:!0,is:"ytd-lumiere-promo-item-image-renderer"})],j3);
var sKb;
var tKb;
var k3=function(){return _.K.apply(this,arguments)||this};
_.q(k3,_.K);k3.prototype.computeLandscapeThumbnail=function(){var a;return"LUMIERE_SHELF_THUMBNAIL_DIMENSIONS_16_9"===(null==(a=this.data)?void 0:a.thumbnailDimensions)};
_.t.Object.defineProperties(k3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-lumiere-shelf-details-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_lumiere_shelf_details_renderer.ytd.lumiere.shelf.details.renderer.css.js--\x3e<div>\n  <div id="lumiere-shelf-details">\n    <div id="title">\n       <yt-formatted-string id="item-title" text="[[data.title]]"></yt-formatted-string>\n    </div>\n    <div id="subtitle">\n      <yt-formatted-string id="item-subtitle" text="[[data.subtitle]]">\n      </yt-formatted-string>\n    </div>\n    <ytd-badge-supported-renderer id="badge" disable-upgrade$="[[!data.badge]]" hidden="[[!data.badge]]" top-standalone-badge="[[data.badge]]">\n    </ytd-badge-supported-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_lumiere_shelf_details_renderer.ytd.lumiere.shelf.details.renderer.css.js--\x3e<style>:host {width: 100%;margin: 0 8px;display: block;max-width: var(--ytd-rich-grid-item-max-width);} #title {color: var(--yt-spec-text-primary);font-family: "YouTube Sans","YT Sans","Roboto",sans-serif;font-style: normal;font-size: 3.2rem;font-weight: 700;line-height: 4rem;letter-spacing: -1px;} :host([mini-mode][landscape-thumbnail]) #title {font-family: "YouTube Sans","YT Sans","Roboto",sans-serif;font-style: normal;font-size: 2.4rem;font-weight: 700;line-height: 3.2rem;letter-spacing: -0.25px;} #subtitle {margin-top: 8px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #badge {margin-top: 12px;} /*# sourceMappingURL=ytd-lumiere-shelf-details-renderer.css.map*/</style>';
sKb=d}d=sKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tKb=a}a=tKb;return a}}});
var l3=k3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],l3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],l3.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],l3.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],l3.prototype,"miniMode",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeLandscapeThumbnail(data)"}),_.T("design:type",Boolean)],l3.prototype,"landscapeThumbnail",void 0);l3=_.S([_.Q({asyncProperties:!0,is:"ytd-lumiere-shelf-details-renderer"})],l3);
var uKb;
var vKb;
var m3=function(){return _.K.apply(this,arguments)||this};
_.q(m3,_.K);m3.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(m3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-primetime-promo-details-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_details_renderer.ytd.primetime.promo.details.renderer.css.js--\x3e<div id="content"><div id="centered-container"><yt-formatted-string id="headline" text="[[data.headline]]"></yt-formatted-string><ytd-badge-supported-renderer disable-upgrade$="[[!data.priceText]]" top-standalone-badge="[[data.priceText]]"></ytd-badge-supported-renderer><yt-formatted-string id="detail-text" text="[[data.detailText]]"></yt-formatted-string><div id="action-button"></div></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_details_renderer.ytd.primetime.promo.details.renderer.css.js--\x3e<style>:host {width: 100%;height: 100%;min-width: var(--ytd-rich-grid-mini-item-min-width);} #content {padding-top: 56.25%;position: relative;} #centered-container {position: absolute;top: 0;bottom: 0;right: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #action-button {margin-top: 16px;} #detail-text {margin-top: 12px;color: var(--yt-spec-text-secondary);-ms-flex: none;-webkit-flex: none;flex: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #headline {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} ytd-badge-supported-renderer {margin-top: 12px;} /*# sourceMappingURL=ytd-primetime-promo-details-renderer.css.map*/</style>';
uKb=d}d=uKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vKb=a}a=vKb;return a}}});
var n3=m3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],n3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],n3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],n3.prototype,"data",void 0);n3=_.S([_.Q({asyncProperties:!0,is:"ytd-primetime-promo-details-renderer"})],n3);
var wKb;
var xKb;
var yKb=function(){return _.K.apply(this,arguments)||this};
_.q(yKb,_.K);
_.t.Object.defineProperties(yKb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-panel-show-style-metadata-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_panel_show_style_metadata_renderer.ytd.panel.show.style.metadata.renderer.css.js--\x3e<yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_panel_show_style_metadata_renderer.ytd.panel.show.style.metadata.renderer.css.js--\x3e<style>yt-formatted-string {display: block;margin-top: 12px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-panel-show-style-metadata-renderer.css.map*/</style>';
wKb=d}d=wKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xKb=a}a=xKb;return a}}});
var o3=yKb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],o3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],o3.prototype,"data",void 0);o3=_.S([_.Q({asyncProperties:!0,is:"ytd-panel-show-style-metadata-renderer"})],o3);
var zKb;
var AKb;
var p3=function(){return _.K.apply(this,arguments)||this};
_.q(p3,_.K);_.f=p3.prototype;_.f.onPanelTap=function(){if(this.data&&this.data.command&&!this.isNavigationCommand(this.data.command))return this.ytComponentBehavior.resolveCommand(this.data.command,{})};
_.f.configureRendererStamper=function(){return{"data.metadata":{id:"panel-metadata",mapping:{panelShowStyleMetadataRenderer:{component:"ytd-panel-show-style-metadata-renderer"}}}}};
_.f.computeThumbnail=function(a){if(a)return a.smallFormFactorBackgroundThumbnail||a.largeFormFactorBackgroundThumbnail};
_.f.maybeComputeHref=function(a){return this.ytComponentBehavior.computeHref_(a,!0)};
_.f.isNavigationCommand=function(a){return a?a.browseEndpoint||a.watchEndpoint||a.urlEndpoint?!0:!1:!1};
_.f.getNavigationCommand=function(a){return this.isNavigationCommand(a)?a:null};
_.t.Object.defineProperties(p3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===AKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-primetime-promo-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_panel_renderer.ytd.primetime.promo.panel.renderer.css.js--\x3e<a id="thumbnail" class="yt-simple-endpoint" href$="[[maybeComputeHref(data.command)]]" data="[[getNavigationCommand(data.command)]]" rel="[[computeNofollow_(data.command)]]"><yt-img-shadow thumbnail="[[computeThumbnail(data)]]" width="420"></yt-img-shadow><div id="action-button"><yt-formatted-string text="[[data.buttonText]]"></yt-formatted-string><yt-icon icon="[[data.contentIcon.iconType]]"></yt-icon></div></a><div id="panel-metadata"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zKb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_panel_renderer.ytd.primetime.promo.panel.renderer.css.js--\x3e<style>:host #thumbnail {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #action-button {height: 36px;padding-right: 10px;padding-left: 16px;background-color: var(--yt-spec-suggested-action);color: var(--yt-spec-call-to-action);font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #action-button>yt-formatted-string {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-primetime-promo-panel-renderer.css.map*/</style>";
zKb=d}d=zKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);AKb=a}a=AKb;return a}}});
var q3=p3;q3.prototype.onPanelTap=q3.prototype.onPanelTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],q3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],q3.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],q3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],q3.prototype,"data",void 0);
_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],q3.prototype,"onPanelTap",null);q3=_.S([_.Q({asyncProperties:!0,is:"ytd-primetime-promo-panel-renderer"})],q3);
var r3=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-rich-item-index-update-action":"onIndexUpdateAction"};return a};
_.q(r3,_.K);_.f=r3.prototype;
_.f.configureRendererStamper=function(){return{"data.content":{id:"content",mapping:{postRenderer:{component:"ytd-post-renderer",params:{isRichGrid:!0}},sharedPostRenderer:{component:"ytd-shared-post-renderer",params:{isRichGrid:!0}},primetimePromoDetailsRenderer:"ytd-primetime-promo-details-renderer",primetimePromoPanelRenderer:"ytd-primetime-promo-panel-renderer",movieRenderer:{component:"ytd-rich-grid-slim-media"},reelItemRenderer:{component:"ytd-rich-grid-slim-media"},videoRenderer:{component:"ytd-rich-grid-media",
params:{isRadio:!1}},radioRenderer:{component:"ytd-rich-grid-media",params:{isRadio:!0}},playlistRenderer:{component:"ytd-rich-grid-media",params:{isRadio:!1}},gridShowRenderer:{component:"ytd-rich-grid-media",params:{isRadio:!1}},promotedVideoRenderer:{component:"ytd-rich-grid-media",params:{isRadio:!1,isPromotedVideo:!0}},displayAdRenderer:{component:"ytd-display-ad-renderer"},adSlotRenderer:{component:"ytd-ad-slot-renderer"},lumiereShelfDetailsRenderer:"ytd-lumiere-shelf-details-renderer",lumierePromoItemImageRenderer:"ytd-lumiere-promo-item-image-renderer",
feedNudgeRenderer:"ytd-feed-nudge-renderer",gameCardRenderer:{component:"ytd-game-card-renderer",params:{isRichGrid:!0}}}}}};
_.f.onIndexUpdateAction=function(){var a=_.fg(),b;a&&(null==(b=this.data)?0:b.trackingParams)&&this.data.hasOwnProperty("colIndex")&&this.data.hasOwnProperty("rowIndex")&&_.vg(void 0,a,_.no(this.data.trackingParams),{gridData:{veColumnCoordinate:this.data.colIndex,veRowCoordinate:this.data.rowIndex}})};
_.f.isSlimMediaRenderer=function(a){var b,c;return!!(null==a?0:null==(b=a.content)?0:b.movieRenderer)||!!(null==a?0:null==(c=a.content)?0:c.reelItemRenderer)};
_.f.isPostRenderer=function(){var a,b,c,d;return!!(null==(a=this.data)?0:null==(b=a.content)?0:b.postRenderer)||!!(null==(c=this.data)?0:null==(d=c.content)?0:d.sharedPostRenderer)};
_.f.computeIsGameCardShelf=function(){var a,b;return!!(null==(a=this.data)?0:null==(b=a.content)?0:b.gameCardRenderer)};
_.f.computeContainsLumierePosters=function(){var a,b,c;return"LUMIERE_SHELF_THUMBNAIL_DIMENSIONS_POSTER"===(null==(a=this.data)?void 0:null==(b=a.content)?void 0:null==(c=b.lumiereShelfDetailsRenderer)?void 0:c.thumbnailDimensions)};
_.t.Object.defineProperties(r3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_item_renderer.ytd.rich.item.renderer.css.js--\x3e<div id="content"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oKb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_item_renderer.ytd.rich.item.renderer.css.js--\x3e<style>:host {position: relative;margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);margin-bottom: 40px;width: calc(100%/var(--ytd-rich-grid-items-per-row) - var(--ytd-rich-grid-item-margin) - 0.01px);contain: style layout;} :host([is-post]) {width: calc(100%/var(--ytd-rich-grid-posts-per-row) - var(--ytd-rich-grid-item-margin) - 0.01px);} :host([is-slim-media]) {width: calc(100%/var(--ytd-rich-grid-slim-items-per-row) - var(--ytd-rich-grid-item-margin) - 0.01px);} :host([is-game-card-shelf]) {width: calc(100%/var(--ytd-rich-grid-game-cards-per-row) - var(--ytd-rich-grid-item-margin) - 0.01px);} :host([contains-lumiere-posters]) {width: calc(100%/var(--ytd-rich-grid-slim-items-per-row) * 2 - var(--ytd-rich-grid-item-margin) - 0.01px);} #content {height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #content ytd-post-renderer,#content ytd-shared-post-renderer {max-width: 100%;width: 100%;overflow: hidden;} /*# sourceMappingURL=ytd-rich-item-renderer.css.map*/</style>";
oKb=d}d=oKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pKb=a}a=pKb;return a}}});
var s3=r3;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],s3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],s3.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],s3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],s3.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"isPostRenderer(data)"}),_.T("design:type",Boolean)],s3.prototype,"isPost",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeContainsLumierePosters(data)"}),_.T("design:type",Boolean)],s3.prototype,"containsLumierePosters",void 0);_.S([_.N({reflectToAttribute:!0,computed:"isSlimMediaRenderer(data)"}),_.T("design:type",Boolean)],s3.prototype,"isSlimMedia",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeIsGameCardShelf(data)"}),_.T("design:type",Boolean)],s3.prototype,"isGameCardShelf",void 0);s3=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-item-renderer"})],s3);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2d");

var rPb;
var sPb;
var tPb;
var uPb;
var vPb;
var wPb;
var b7=function(){return _.K.apply(this,arguments)||this};
_.q(b7,_.K);_.f=b7.prototype;_.f.onClick=function(a){var b,c=null==(b=this.data)?void 0:b.sectionEndpoint;!_.Hx(_.H(a).path,this,["A".toString()])&&c&&this.fire("yt-navigate",{endpoint:c})};
_.f.computeHasSectionEndpoint=function(a){return void 0!==(null==a?void 0:a.sectionEndpoint)};
_.f.computeShowHeaderAsLink=function(a){return void 0!==(null==a?void 0:a.header)&&void 0!==(null==a?void 0:a.sectionEndpoint)};
_.f.computeShowSubheaderAsLink=function(a){return void 0!==(null==a?void 0:a.subheader)&&void 0!==(null==a?void 0:a.sectionEndpoint)&&void 0===(null==a?void 0:a.header)};
_.f.getHeaderAsLinkClass=function(a){var b=[],c;(null==a?0:null==(c=a.headerIcon)?0:c.iconType)&&b.push("header-link-active");return b.join(" ")};
_.t.Object.defineProperties(b7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-medical-panel-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_medical_panel_section_renderer.ytd.medical.panel.section.renderer.css.js--\x3e<div id="section" on-click="onClick">\n  <div id="header" hidden="[[!data.header]]">\n    <yt-formatted-string hidden="[[showHeaderAsLink]]" text="[[data.header]]"></yt-formatted-string>\n    <a id="header-link" class$="yt-simple-endpoint [[getHeaderAsLinkClass(data)]]" hidden="[[!showHeaderAsLink]]" href$="[[computeHref_(data.sectionEndpoint)]]" data="[[data.sectionEndpoint]]">\n      <yt-formatted-string text="[[data.header]]"></yt-formatted-string>\n      <yt-icon class="icons" hidden="[[!data.headerIcon.iconType]]" icon="[[data.headerIcon.iconType]]">\n      </yt-icon>\n    </a>\n  </div>\n\n  <div id="subheader" hidden="[[!data.subheader]]">\n    <yt-formatted-string hidden="[[showSubheaderAsLink]]" text="[[data.subheader]]">\n    </yt-formatted-string>\n    <a id="subheader-link" class="yt-simple-endpoint" hidden="[[!showSubheaderAsLink]]" href$="[[computeHref_(data.sectionEndpoint)]]" data="[[data.sectionEndpoint]]">\n      <yt-formatted-string text="[[data.subheader]]"></yt-formatted-string>\n    </a>\n  </div>\n  <div id="paragraphs">\n    <template is="dom-repeat" items="[[data.paragraphs]]">\n      <div class="paragraph">\n        <yt-formatted-string split-lines="" text="[[item]]"></yt-formatted-string>\n      </div>\n    </template>\n  </div>\n  <div id="footer" hidden="[[!data.footer]]">\n    <yt-formatted-string text="[[data.footer]]"></yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vPb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_medical_panel_section_renderer.ytd.medical.panel.section.renderer.css.js--\x3e<style>:host {display: inline-block;width: 100%;} :host([has-section-endpoint]) {cursor: pointer;} #header {color: var(--yt-spec-text-secondary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #header-link {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-hover-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);--yt-endpoint-text-regular-decoration: none;} #header-link.header-link-active {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);} .icons {height: 14px;width: 14px;margin-bottom: 2px;} #subheader {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #subheader-link {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);--yt-endpoint-text-regular-decoration: none;} .paragraph {color: var(--yt-spec-text-primary);--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .paragraph:not(:first-child) {margin-top: 16px;} #footer {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);margin-top: 8px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-medical-panel-section-renderer.css.map*/</style>';
vPb=d}d=vPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wPb=a}a=wPb;return a}}});
var c7=b7;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],c7.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],c7.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],c7.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],c7.prototype,"data",void 0);
_.S([_.N({computed:"computeHasSectionEndpoint(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],c7.prototype,"hasSectionEndpoint",void 0);_.S([_.N({computed:"computeShowHeaderAsLink(data)"}),_.T("design:type",Boolean)],c7.prototype,"showHeaderAsLink",void 0);_.S([_.N({computed:"computeShowSubheaderAsLink(data)"}),_.T("design:type",Boolean)],c7.prototype,"showSubheaderAsLink",void 0);c7=_.S([_.Q({asyncProperties:!0,is:"ytd-medical-panel-section-renderer"})],c7);
var d7=function(){var a=_.K.apply(this,arguments)||this;a.isExpanded=!1;a.toggleExpandableSection=function(){a.isExpanded=!a.isExpanded};
return a};
_.q(d7,_.K);
d7.prototype.configureRendererStamper=function(){return{"data.sections":{id:"sections",mapping:{medicalPanelSectionRenderer:{component:"ytd-medical-panel-section-renderer"}}},"data.expandableSections":{id:"expandable-sections",mapping:{medicalPanelSectionRenderer:{component:"ytd-medical-panel-section-renderer"}}},"data.expandButton":{id:"expand",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[toggleExpandableSection]]"}}}},"data.collapseButton":{id:"collapse",mapping:{buttonRenderer:{component:"ytd-button-renderer",
properties:{"on-tap":"[[toggleExpandableSection]]"}}}}}};
d7.prototype.dataChanged=function(a){a&&(this.isExpanded=!1)};
_.t.Object.defineProperties(d7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-medical-panel-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_medical_panel_content_renderer.ytd.medical.panel.content.renderer.css.js--\x3e<div class="content">\n  <div id="sections"></div>\n  <div class="footer" id="expand" hidden="[[isExpanded]]"></div>\n  <div id="expandable-sections" hidden="[[!isExpanded]]"></div>\n  <div class="footer" id="collapse" hidden="[[!isExpanded]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_medical_panel_content_renderer.ytd.medical.panel.content.renderer.css.js--\x3e<style>:host {display: inline-block;width: 100%;background: var(--yt-spec-suggested-action);} .content {padding: 0 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-medical-panel-section-renderer {padding: 10px 0;} #expandable-sections ytd-medical-panel-section-renderer {border-top: 1px solid var(--yt-spec-10-percent-layer);} .footer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-medical-panel-content-renderer.css.map*/</style>";
tPb=d}d=tPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uPb=a}a=uPb;return a}}});
var e7=d7;e7.prototype.dataChanged=e7.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],e7.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],e7.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],e7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],e7.prototype,"isExpanded",void 0);_.S([_.N(),_.T("design:type",Object)],e7.prototype,"toggleExpandableSection",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],e7.prototype,"dataChanged",null);e7=_.S([_.Q({asyncProperties:!0,is:"ytd-medical-panel-content-renderer"})],e7);
_.$u("itemSectionRenderer","infoPanelContainerRenderer","ytd-info-panel-container-renderer");var f7=function(){return _.K.apply(this,arguments)||this};
_.q(f7,_.K);f7.prototype.configureRendererStamper=function(){return{"data.menu":{id:"header-menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.content":{id:"content",mapping:{infoPanelContentRenderer:"ytd-info-panel-content-renderer",horizontalCardListRenderer:"ytd-horizontal-card-list-renderer",medicalPanelContentRenderer:"ytd-medical-panel-content-renderer"}}}};
_.t.Object.defineProperties(f7.prototype,{background:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.background?this.data.background.replace("INFO_PANEL_CONTAINER_BACKGROUND_",""):""}}});
_.t.Object.defineProperties(f7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-info-panel-container-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_info_panel_container_renderer.ytd.info.panel.container.renderer.css.js--\x3e<div class="header" hidden="[[!data.title]]">\n  <h2 class="header-left-items">\n    <yt-icon class="header-icon" disable-upgrade$="[[!data.icon.iconType]]" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]">\n    </yt-icon>\n    <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n  </h2>\n  <div id="header-menu"></div>\n</div>\n<div id="content"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rPb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_info_panel_container_renderer.ytd.info.panel.container.renderer.css.js--\x3e<style>:host {border: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([background=GRAY]) {border: none;} :host([background=OVERLAY_BLACK]) {border: none;} :host([background=BLUE]) .header {background: var(--yt-spec-suggested-action);} :host([background=GRAY]) .header {background: var(--yt-spec-general-background-c);color: var(--yt-spec-text-secondary);border-bottom: none;} .header {color: var(--yt-spec-text-primary);height: 36px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding-left: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .header-left-items {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .header-icon {margin-right: 8px;} /*# sourceMappingURL=ytd-info-panel-container-renderer.css.map*/</style>';
rPb=d}d=rPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sPb=a}a=sPb;return a}}});
_.g7=f7;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.g7.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],_.g7.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],_.g7.prototype,"data",void 0);_.S([_.N({type:String,reflectToAttribute:!0}),_.V("data.background"),_.T("design:type",Object),_.T("design:paramtypes",[])],_.g7.prototype,"background",null);
_.g7=_.S([_.Q({asyncProperties:!0,is:"ytd-info-panel-container-renderer"})],_.g7);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy29");

var DKb;
var EKb;
var v3=function(){var a=_.K.apply(this,arguments)||this;a.isDisplayed=!0;return a};
_.q(v3,_.K);_.f=v3.prototype;_.f.configureRendererStamper=function(){return{"data.button":{id:"button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.dataChanged=function(){this.isDisplayed=!0};
_.f.computeType=function(a){return a||"UNKNOWN"};
_.f.onYtServiceRequestCompleted=function(a){a.stopPropagation();this.isDisplayed=!1};
_.f.onClose=function(){this.isDisplayed=!1};
_.t.Object.defineProperties(v3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-alert-with-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_alert_with_button_renderer.ytd.alert.with.button.renderer.css.js--\x3e<yt-formatted-string id="text" text="[[data.text]]"></yt-formatted-string>\n<div id="buttons">\n  <div id="button"></div>\n  <div id="dismiss-button" on-click="onClose"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_alert_with_button_renderer.ytd.alert.with.button.renderer.css.js--\x3e<style>:host {padding: 8px 8px 8px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([type=INFO]),:host([type=SUCCESS]) {background-color: var(--yt-spec-general-background-a);} :host([is-displayed]) {display: -ms-flexbox;display: -webkit-flex;display: flex;} :host(:not([is-displayed])) {display: none;} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #text {color: var(--yt-spec-text-primary);-ms-align-self: center;-webkit-align-self: center;align-self: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #button {-ms-align-self: center;-webkit-align-self: center;align-self: center;} ytd-button-renderer yt-icon {color: var(--yt-spec-icon-inactive);width: 24px;height: 24px;} ytd-button-renderer:not(.style-primary):hover {color: var(--yt-spec-icon-active-other);} /*# sourceMappingURL=ytd-alert-with-button-renderer.css.map*/</style>';
DKb=d}d=DKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EKb=a}a=EKb;return a}}});
var w3=v3;w3.prototype.onYtServiceRequestCompleted=w3.prototype.onYtServiceRequestCompleted;w3.prototype.dataChanged=w3.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],w3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],w3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],w3.prototype,"data",void 0);
_.S([_.N({computed:"computeType(data.type)",reflectToAttribute:!0}),_.T("design:type",String)],w3.prototype,"type",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],w3.prototype,"isDisplayed",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],w3.prototype,"dataChanged",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],w3.prototype,"onYtServiceRequestCompleted",null);w3=_.S([_.Q({asyncProperties:!0,is:"ytd-alert-with-button-renderer"})],w3);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy24");

var DJb;
var EJb;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==EJb)return EJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-tab--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_tabs.tp.yt.paper.tab.css.js--\x3e<div class="tab-content">\n  <slot></slot>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===DJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_tabs.tp.yt.paper.tab.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: -ms-inline-flexbox;\n  display: -webkit-inline-flex;\n  display: inline-flex;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  -ms-flex-pack: center;\n  -webkit-justify-content: center;\n  justify-content: center;\n  -ms-flex: 1 1 auto;\n  -webkit-flex: 1 1 auto;\n  flex: 1 1 auto;\n  position: relative;\n  padding: 0 12px;\n  overflow: hidden;\n  cursor: pointer;\n  vertical-align: middle;\n  @apply --paper-font-common-base;\n  @apply --paper-tab;\n}\n\n:host(:focus) {\n  outline: none;\n}\n\n:host([link]) {\n  padding: 0;\n}\n\n.tab-content {\n  height: 100%;\n  transform: translateZ(0);\n  -webkit-transform: translateZ(0);\n  transition: opacity 0.1s cubic-bezier(0.4, 0, 1, 1);\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  -ms-flex-pack: center;\n  -webkit-justify-content: center;\n  justify-content: center;\n  -ms-flex: 1 1 auto;\n  -webkit-flex: 1 1 auto;\n  flex: 1 1 auto;\n  @apply --paper-tab-content;\n}\n\n:host(:not(.iron-selected)) > .tab-content {\n  opacity: 0.8;\n  @apply --paper-tab-content-unselected;\n}\n\n:host(:focus) .tab-content {\n  opacity: 1;\n}\n\n:host(:focus:not([noBoldOnFocus])) .tab-content {\n  font-weight: var(--paper-tab-content-focused-font-weight, 700);\n}\n\npaper-ripple {\n  color: var(--paper-tab-ink, #ffff8d);\n}\n\n.tab-content > ::slotted(a) {\n  -ms-flex: 1 1 auto;\n  -webkit-flex: 1 1 auto;\n  flex: 1 1 auto;\n  height: 100%;\n}\n\n/*# sourceMappingURL=tp-yt-paper-tab.css.map */</style>";
DJb=d}d=DJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return EJb=a},
is:"tp-yt-paper-tab",behaviors:[_.Ys,_.$s,_.ct],properties:{link:{type:Boolean,value:!1,reflectToAttribute:!0},noBoldOnFocus:{type:Boolean,value:!1,reflectToAttribute:!0}},hostAttributes:{role:"tab"},listeners:{down:"_updateNoink",tap:"_onTap"},attached:function(){this._updateNoink()},
get _parentNoink(){var a=_.H(this).parentNode;return!!a&&!!a.noink},_updateNoink:function(){this.noink=!!this.noink||!!this._parentNoink},
_onTap:function(a){if(this.link){var b=this.queryEffectiveChildren("a");b&&a.target!==b&&b.click()}}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var FJb=_.Pi(['<iron-iconset-svg name="paper-tabs" size="24">\n<svg><defs>\n<g id="chevron-left"><path d="M14.6,18.4L8.3,12l6.4-6.4l0.7,0.7L9.7,12l5.6,5.6L14.6,18.4z"/></g>\n<g id="chevron-right"><path d="M9.4,18.4l-0.7-0.7l5.6-5.6L8.6,6.4l0.7-0.7l6.4,6.4L9.4,18.4z"/></g>\n</defs></svg>\n</iron-iconset-svg>']),GJb=_.Vm(FJb);document.head.appendChild(GJb.content);
var HJb;
var IJb;
_.Ng({_template:function(){if(void 0!==IJb)return IJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-tabs--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_tabs.tp.yt.paper.tabs.css.js--\x3e<tp-yt-paper-icon-button id="left" icon="paper-tabs:chevron-left" alt="[[altPrevious]]" class$="[[_computeScrollButtonClass(_leftHidden, scrollable, hideScrollButtons, removeIdleScrollButtons)]]" on-up="_onScrollButtonUp" on-down="_onLeftScrollButtonDown" tabindex="-1" disabled="[[_leftHidden]]" aria-hidden$="[[_makeString(_leftHidden)]]"></tp-yt-paper-icon-button>\n\n<div id="tabsContainer" on-track="_scroll" on-down="_down">\n  <div id="tabsContent" class$="[[_computeTabsContentClass(scrollable, fitContainer)]]">\n    <div id="selectionBar" class$="[[_computeSelectionBarClass(noBar, alignBottom)]]" on-transitionend="_onBarTransitionEnd"></div>\n    <slot></slot>\n  </div>\n</div>\n\n<tp-yt-paper-icon-button id="right" icon="paper-tabs:chevron-right" alt="[[altNext]]" class$="[[_computeScrollButtonClass(_rightHidden, scrollable, hideScrollButtons, removeIdleScrollButtons)]]" on-up="_onScrollButtonUp" on-down="_onRightScrollButtonDown" tabindex="-1" disabled="[[_rightHidden]]" aria-hidden$="[[_makeString(_rightHidden)]]"></tp-yt-paper-icon-button>\n';
var b=a.content,c=b.insertBefore;if(void 0===HJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_tabs.tp.yt.paper.tabs.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  height: 48px;\n  font-size: 14px;\n  font-weight: 500;\n  overflow: hidden;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -webkit-user-select: none;\n  user-select: none;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  -webkit-tap-highlight-color: transparent;\n}\n\n:host(:dir(rtl)) {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row-reverse;\n  -webkit-flex-direction: row-reverse;\n  flex-direction: row-reverse;\n}\n\n#tabsContainer {\n  position: relative;\n  height: 100%;\n  white-space: nowrap;\n  overflow: hidden;\n  -ms-flex: 1 1 auto;\n  -webkit-flex: 1 1 auto;\n  flex: 1 1 auto;\n}\n\n#tabsContent {\n  height: 100%;\n  -moz-flex-basis: auto;\n  -ms-flex-basis: auto;\n  flex-basis: auto;\n  @apply --paper-tabs-content;\n}\n\n#tabsContent.scrollable {\n  position: absolute;\n  white-space: nowrap;\n}\n\n#tabsContent:not(.scrollable),\n#tabsContent.scrollable.fit-container {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n}\n\n#tabsContent.scrollable.fit-container {\n  min-width: 100%;\n}\n\n#tabsContent.scrollable.fit-container > ::slotted(*) {\n  -ms-flex: 1 0 auto;\n  -webkit-flex: 1 0 auto;\n  flex: 1 0 auto;\n}\n\n.hidden {\n  display: none;\n}\n\n.not-visible {\n  opacity: 0;\n  cursor: default;\n}\n\ntp-yt-paper-icon-button {\n  width: 48px;\n  height: 48px;\n  padding: 12px;\n  margin: 0 4px;\n}\n\n#selectionBar {\n  position: absolute;\n  height: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  border-bottom: 2px solid var(--paper-tabs-selection-bar-color, #ffff8d);\n  -webkit-transform: scale(0);\n  transform: scale(0);\n  -webkit-transform-origin: left center;\n  transform-origin: left center;\n  transition: -webkit-transform;\n  transition: transform;\n  @apply --paper-tabs-selection-bar;\n}\n\n#selectionBar.align-bottom {\n  top: 0;\n  bottom: auto;\n}\n\n#selectionBar.expand {\n  transition-duration: 0.15s;\n  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);\n}\n\n#selectionBar.contract {\n  transition-duration: 0.18s;\n  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n#tabsContent > ::slotted(:not(#selectionBar)) {\n  height: 100%;\n}\n\n/*# sourceMappingURL=tp-yt-paper-tabs.css.map */</style>";
HJb=d}d=HJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return IJb=a},
is:"tp-yt-paper-tabs",behaviors:[_.xx,_.Z2a],properties:{noink:{type:Boolean,value:!1,observer:"_noinkChanged"},noBar:{type:Boolean,value:!1},noSlide:{type:Boolean,value:!1},scrollable:{type:Boolean,value:!1},fitContainer:{type:Boolean,value:!1},disableDrag:{type:Boolean,value:!1},hideScrollButtons:{type:Boolean,value:!1},removeIdleScrollButtons:{type:Boolean,value:!1},alignBottom:{type:Boolean,value:!1},selectable:{type:String,value:"tp-yt-paper-tab"},autoselect:{type:Boolean,value:!1},autoselectDelay:{type:Number,
value:0},altNext:{type:String,value:""},altPrevious:{type:String,value:""},_step:{type:Number,value:10},_holdDelay:{type:Number,value:1},_leftHidden:{type:Boolean,value:!1},_rightHidden:{type:Boolean,value:!1},_previousTab:{type:Object}},hostAttributes:{role:"tablist"},listeners:{"iron-resize":"_onTabSizingChanged","iron-items-changed":"_onTabSizingChanged","iron-select":"_onIronSelect","iron-deselect":"_onIronDeselect"},keyBindings:{"left:keyup right:keyup":"_onArrowKeyup"},created:function(){this._holdJob=
null;this._pendingActivationTimeout=this._pendingActivationItem=void 0;this._bindDelayedActivationHandler=this._delayedActivationHandler.bind(this);this.addEventListener("blur",this._onBlurCapture.bind(this),!0)},
ready:function(){this.setScrollDirection("y",this.$.tabsContainer)},
detached:function(){this._cancelPendingActivation()},
_noinkChanged:function(a){_.H(this).querySelectorAll("tp-yt-paper-tab").forEach(a?this._setNoinkAttribute:this._removeNoinkAttribute)},
_setNoinkAttribute:function(a){a.setAttribute("noink","")},
_removeNoinkAttribute:function(a){a.removeAttribute("noink")},
_computeScrollButtonClass:function(a,b,c,d){return!b||c?"hidden":a?d?"hidden":"not-visible":""},
_computeTabsContentClass:function(a,b){return a?"scrollable"+(b?" fit-container":""):" fit-container"},
_computeSelectionBarClass:function(a,b){return a?"hidden":b?"align-bottom":""},
_onTabSizingChanged:function(){this.debounce("_onTabSizingChanged",function(){this._scroll();this._tabChanged(this.selectedItem)},10)},
_makeString:function(a){return""+a},
_onIronSelect:function(a){this._tabChanged(a.detail.item,this._previousTab);this._previousTab=a.detail.item;this.cancelDebouncer("tab-changed")},
_onIronDeselect:function(){this.debounce("tab-changed",function(){this._tabChanged(null,this._previousTab);this._previousTab=null},1)},
_activateHandler:function(){this._cancelPendingActivation();_.vx._activateHandler.apply(this,arguments)},
_scheduleActivation:function(a,b){this._pendingActivationItem=a;this._pendingActivationTimeout=this.async(this._bindDelayedActivationHandler,b)},
_delayedActivationHandler:function(){var a=this._pendingActivationItem;this._pendingActivationTimeout=this._pendingActivationItem=void 0;a.fire(this.activateEvent,null,{bubbles:!0,cancelable:!0})},
_cancelPendingActivation:function(){void 0!==this._pendingActivationTimeout&&(this.cancelAsync(this._pendingActivationTimeout),this._pendingActivationTimeout=this._pendingActivationItem=void 0)},
_onArrowKeyup:function(){this.autoselect&&this._scheduleActivation(this.focusedItem,this.autoselectDelay)},
_onBlurCapture:function(a){a.target===this._pendingActivationItem&&this._cancelPendingActivation()},
get _tabContainerScrollSize(){return Math.max(0,this.$.tabsContainer.scrollWidth-this.$.tabsContainer.offsetWidth)},_scroll:function(a,b){this.scrollable&&this._affectScroll(b&&-b.ddx||0)},
_down:function(){this.async(function(){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null)},1)},
_affectScroll:function(a){this.$.tabsContainer.scrollLeft+=a;a=this.$.tabsContainer.scrollLeft;this._leftHidden=0===a;this._rightHidden=a===this._tabContainerScrollSize},
_onLeftScrollButtonDown:function(){this._scrollToLeft();this._holdJob=setInterval(this._scrollToLeft.bind(this),this._holdDelay)},
_onRightScrollButtonDown:function(){this._scrollToRight();this._holdJob=setInterval(this._scrollToRight.bind(this),this._holdDelay)},
_onScrollButtonUp:function(){clearInterval(this._holdJob);this._holdJob=null},
_scrollToLeft:function(){this._affectScroll(-this._step)},
_scrollToRight:function(){this._affectScroll(this._step)},
_tabChanged:function(a,b){if(a){var c=this.$.tabsContent.getBoundingClientRect(),d=c.width,e=a.getBoundingClientRect();c=e.left-c.left;this._pos={width:this._calcPercent(e.width,d),left:this._calcPercent(c,d)};if(this.noSlide||null==b)this.$.selectionBar.classList.remove("expand"),this.$.selectionBar.classList.remove("contract"),this._positionBar(this._pos.width,this._pos.left);else{var h=b.getBoundingClientRect();b=this.items.indexOf(b);a=this.items.indexOf(a);this.$.selectionBar.classList.add("expand");
a=b<a;this._isRTL&&(a=!a);a?this._positionBar(this._calcPercent(e.left+e.width-h.left,d)-5,this._left):this._positionBar(this._calcPercent(h.left+h.width-e.left,d)-5,this._calcPercent(c,d)+5);this.scrollable&&this._scrollToSelectedIfNeeded(e.width,c)}}else this.$.selectionBar.classList.remove("expand"),this.$.selectionBar.classList.remove("contract"),this._positionBar(0,0)},
_scrollToSelectedIfNeeded:function(a,b){b-=this.$.tabsContainer.scrollLeft;0>b?this.$.tabsContainer.scrollLeft+=b:(b+=a-this.$.tabsContainer.offsetWidth,0<b&&(this.$.tabsContainer.scrollLeft+=b))},
_calcPercent:function(a,b){return 100*a/b},
_positionBar:function(a,b){a=a||0;b=b||0;this._width=a;this._left=b;this.transform("translateX("+b+"%) scaleX("+a/100+")",this.$.selectionBar)},
_onBarTransitionEnd:function(){var a=this.$.selectionBar.classList;a.contains("expand")?(a.remove("expand"),a.add("contract"),this._positionBar(this._pos.width,this._pos.left)):a.contains("contract")&&a.remove("contract")}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy23");

var BJb;
var CJb;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==CJb)return CJb;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:tp-yt-app-toolbar--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.toolbar.tp.yt.app.toolbar.css.js--\x3e<slot></slot>\n";var b=a.content,c=b.insertBefore;if(void 0===BJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.toolbar.tp.yt.app.toolbar.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  position: relative;\n  height: 64px;\n  padding: 0 16px;\n  pointer-events: none;\n  font-size: var(--app-toolbar-font-size, 20px);\n}\n\n:host ::slotted(*) {\n  pointer-events: auto;\n}\n\n:host ::slotted(paper-icon-button) {\n  font-size: 0;\n}\n\n:host ::slotted([main-title]),\n:host ::slotted([condensed-title]) {\n  pointer-events: none;\n  -ms-flex: 1 1 0.000000001px;\n  -webkit-flex: 1;\n  flex: 1;\n  -webkit-flex-basis: 0.000000001px;\n  flex-basis: 0.000000001px;\n}\n\n:host ::slotted([bottom-item]) {\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n\n:host ::slotted([top-item]) {\n  position: absolute;\n  top: 0;\n  right: 0;\n  left: 0;\n}\n\n:host ::slotted([spacer]) {\n  margin-left: 64px;\n}\n\n/*# sourceMappingURL=tp-yt-app-toolbar.css.map */</style>";
BJb=d}d=BJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return CJb=a},
is:"tp-yt-app-toolbar"});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy10");

var a6a;_.XI=function(a,b,c,d){b=void 0===b?{}:b;c=void 0===c?"":c;d=void 0===d?window:d;a=_.eI(_.vd(a,b)+c);d.location.href=_.zb(a)};
var b6a;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==b6a)return b6a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-icon-item--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_item.tp.yt.paper.icon.item.css.js--\x3e<div id="contentIcon" class="content-icon">\n  <slot name="item-icon"></slot>\n</div>\n<slot></slot>\n';var b=a.content,c=b.insertBefore;if(void 0===a6a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_item.tp.yt.paper.icon.item.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n*/\n/* autoprefixer: off */\n:host,\n.tp-yt-paper-item {\n  display: block;\n  position: relative;\n  min-height: var(--paper-item-min-height, 48px);\n  padding: 0px 16px;\n}\n\n.tp-yt-paper-item {\n  @apply --paper-font-subhead;\n  border: none;\n  outline: none;\n  background: white;\n  width: 100%;\n  text-align: left;\n}\n\n:host([hidden]),\n.tp-yt-paper-item[hidden] {\n  display: none !important;\n}\n\n:host(.iron-selected),\n.tp-yt-paper-item.iron-selected {\n  font-weight: var(--paper-item-selected-weight, bold);\n  background: var(--paper-item-selected-background);\n}\n\n:host([disabled]),\n.tp-yt-paper-item[disabled] {\n  color: var(--paper-item-disabled-color, var(--disabled-text-color));\n}\n\n:host(:focus),\n.tp-yt-paper-item:focus {\n  position: relative;\n  outline: 0;\n  background-color: var(--paper-item-focused-background-color);\n}\n\n:host(:focus):before,\n.tp-yt-paper-item:focus:before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  pointer-events: none;\n  background: var(--paper-item-focused-before-background, currentColor);\n  border-radius: var(--paper-item-focused-before-border-radius, 0);\n  content: var(--paper-item-focused-before-content, "");\n  opacity: var(--paper-item-focused-before-opacity, var(--dark-divider-opacity, 0.12));\n}\n\n:host {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  @apply --paper-font-subhead;\n  @apply --paper-item;\n  min-height: var(--paper-item-min-height, 48px);\n}\n\n.content-icon {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  width: var(--paper-item-icon-width, 56px);\n  margin-left: var(--paper-item-icon-margin-left);\n  margin-right: var(--paper-item-icon-margin-right);\n}\n\n/*# sourceMappingURL=tp-yt-paper-icon-item.css.map */</style>';
a6a=d}d=a6a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return b6a=a},
is:"tp-yt-paper-icon-item",behaviors:[_.ox]});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var c6a;
var d6a;
_.e6a=function(a){_.aa.call(this,a)};
_.q(_.e6a,_.aa);var f6a=function(a){_.aa.call(this,a)};
_.q(f6a,_.e6a);
var YI=function(){var a=_.K.apply(this,arguments)||this;a.enableNamesHandlesAccountSwitcher=_.x("enable_names_handles_account_switcher");return a};
_.q(YI,_.K);YI.prototype.onTap=function(){var a=this,b=!1,c=this.get("serviceEndpoint.selectActiveIdentityEndpoint.supportedTokens",this.data);c&&c.forEach(function(d){if(d.accountSigninToken)if(b=!0,a.onAccountItemTap)a.onAccountItemTap(d.accountSigninToken.signinUrl);else _.XI(d.accountSigninToken.signinUrl,void 0,void 0,window.top)});
b||_.Qf(new f6a("Did not handle account switch tap. No token."))};
_.t.Object.defineProperties(YI.prototype,{enableRingForActiveAccount:{configurable:!0,enumerable:!0,get:function(){var a;return _.x("enable_names_handles_account_switcher")&&!(null==(a=this.data)||!a.isSelected)}},
thumbnailSize:{configurable:!0,enumerable:!0,get:function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.accountPhoto)?void 0:b.thumbnails;return _.x("enable_names_handles_account_switcher")&&c&&0<c.length&&(36===c[0].height||48===c[0].height)?c[0].height:40}}});
_.t.Object.defineProperties(YI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===d6a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-account-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_item_renderer.ytd.account.item.renderer.css.js--\x3e<tp-yt-paper-icon-item>\n  <yt-img-shadow slot="item-icon" height="[[thumbnailSize]]" item-icon="" thumbnail="[[data.accountPhoto]]" width="[[thumbnailSize]]">\n  </yt-img-shadow>\n  <tp-yt-paper-item-body two-line="">\n    <yt-formatted-string id="channel-title" text="[[data.accountName]]">\n    </yt-formatted-string>\n    <yt-formatted-string secondary="" text="[[data.accountByline]]">\n    </yt-formatted-string>\n  </tp-yt-paper-item-body>\n  <yt-icon id="selected" hidden="[[!data.isSelected]]" icon="yt-icons:check">\n  </yt-icon>\n  <yt-icon id="studio-redirect" aria-label$="[[getSimpleString(data.studioRedirectVisualHint)]]" hidden="[[!data.isRedirectToStudio]]" icon="yt-icons:open_in_new">\n  </yt-icon>\n  <tp-yt-paper-tooltip for="studio-redirect" hidden="[[!data.isRedirectToStudio]]" position="left">\n    [[getSimpleString(data.studioRedirectVisualHint)]]\n  </tp-yt-paper-tooltip>\n</tp-yt-paper-icon-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===c6a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_item_renderer.ytd.account.item.renderer.css.js--\x3e<style>:host {display: block;cursor: pointer;} :host([thumbnail-size="36"]) {--paper-item-icon-width: 48px;--paper-item-min-height: 56px;} :host([thumbnail-size="48"]) {--paper-item-icon-width: 60px;--paper-item-min-height: 64px;} tp-yt-paper-item-body {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #channel-title {color: var(--yt-spec-text-primary);} :host([enable-names-handles-account-switcher]) #channel-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host(:not([enable-names-handles-account-switcher])) #channel-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;} :host([enable-ring-for-active-account]) yt-img-shadow {border: 2px solid var(--yt-spec-call-to-action);} yt-formatted-string[secondary] {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} tp-yt-paper-icon-item {height: 56px;} #selected {color: var(--yt-spec-icon-inactive);} #studio-redirect {color: var(--yt-spec-icon-inactive);} /*# sourceMappingURL=ytd-account-item-renderer.css.map*/</style>';
c6a=d}d=c6a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);d6a=a}a=d6a;return a}}});
var ZI=YI;ZI.prototype.onTap=ZI.prototype.onTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ZI.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ZI.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!1}),_.T("design:type",Function)],ZI.prototype,"onAccountItemTap",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],ZI.prototype,"enableNamesHandlesAccountSwitcher",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],ZI.prototype,"enableRingForActiveAccount",null);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Number),_.T("design:paramtypes",[])],ZI.prototype,"thumbnailSize",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ZI.prototype,"onTap",null);ZI=_.S([_.Q({asyncProperties:!0,is:"ytd-account-item-renderer"})],ZI);
var g6a;
var h6a;
var i6a;
var j6a;
var $I=function(){var a=_.K.apply(this,arguments)||this;a.boundSubmitSearch=function(){a.submitSearch()};
a.boundClearSearch=function(){a.clearSearch()};
return a};
_.q($I,_.K);_.f=$I.prototype;_.f.configureRendererStamper=function(){return{"data.searchButton":{id:"search-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundSubmitSearch]]"}}}},"data.clearButton":{id:"clear-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundClearSearch]]"}}}}}};
_.f.toggleClearButton=function(){this.hideClearButton=_.Dj||!this.input.value};
_.f.submitOnEnterKeyUp=function(a){13!==a.keyCode||this.input.invalid||this.submit(this.input.value)};
_.f.clearSearch=function(){this.submit("")};
_.f.submitSearch=function(){this.input.invalid||this.submit(this.input.value)};
_.f.submit=function(a){var b=(0,_.u.unsafeClone)(this.data.endpoint);b.getAccountsListInnertubeEndpoint&&(b.getAccountsListInnertubeEndpoint.channelSwitcherQuery=a,_.Kg(this,[b]))};
_.t.Object.defineProperties($I,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===j6a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-switcher-search-box-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_search_box_renderer.ytd.channel.switcher.search.box.renderer.css.js--\x3e<tp-yt-paper-input id="input" auto-validate="true" autocomplete="off" error-message="[[getSimpleString(data.invalidQueryErrorMessage)]]" label="[[getSimpleString(data.placeholderText)]]" maxlength="100" minlength="3" name="query" no-label-float="" use-v2-underline="" value="[[getSimpleString(data.searchText)]]" on-input="toggleClearButton" on-keyup="submitOnEnterKeyUp">\n  <div id="search-button" slot="prefix" prefix=""></div>\n  <div id="clear-button" slot="suffix" suffix=""></div>\n</tp-yt-paper-input>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===i6a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_search_box_renderer.ytd.channel.switcher.search.box.renderer.css.js--\x3e<style>:host {margin: 4px 16px 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} form {margin-bottom: 0;} tp-yt-paper-input {--paper-input-container-color: var(--yt-spec-text-secondary);--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-color: var(--yt-spec-text-primary);--paper-input-container-underline-legacy-height: 0;--paper-input-container-input: {font-size: 1.4rem;line-height: 2.1rem;};--paper-input-container-label: {color: var(--yt-spec-text-primary);font-size: 1.4rem;line-height: 2.1rem;};width: 250px;} tp-yt-paper-input[focused] {--paper-input-container-label: {opacity: 0.5;color: var(--yt-spec-text-primary);font-size: 1.4rem;line-height: 2.1rem;};} tp-yt-paper-input {margin-bottom: -2px;} tp-yt-paper-input[focused] ytd-button-renderer {--yt-button-color: var(--yt-spec-text-primary);} :host([hide-clear-button]) #clear-button {display: none;} #clear-button ytd-button-renderer {--yt-icon-button-icon-width: 20px;} #search-button {margin-left: -8px;} #clear-button {margin-right: -12px;} /*# sourceMappingURL=ytd-channel-switcher-search-box-renderer.css.map*/</style>";
i6a=d}d=i6a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);j6a=a}a=j6a;return a}}});
var aJ=$I;aJ.prototype.toggleClearButton=aJ.prototype.toggleClearButton;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],aJ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],aJ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],aJ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],aJ.prototype,"hideClearButton",void 0);
_.S([_.N(),_.T("design:type",Object)],aJ.prototype,"boundSubmitSearch",void 0);_.S([_.N(),_.T("design:type",Object)],aJ.prototype,"boundClearSearch",void 0);_.S([_.Z("#input"),_.T("design:type",Object)],aJ.prototype,"input",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],aJ.prototype,"toggleClearButton",null);aJ=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-switcher-search-box-renderer"})],aJ);
var bJ=function(){return _.K.apply(this,arguments)||this};
_.q(bJ,_.K);bJ.prototype.configureRendererStamper=function(){return{"data.searchBox":{id:"search-box",mapping:{searchBoxRenderer:"ytd-search-box-renderer",channelSwitcherSearchBoxRenderer:"ytd-channel-switcher-search-box-renderer"}}}};
_.t.Object.defineProperties(bJ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===h6a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-switcher-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_header_renderer.ytd.channel.switcher.header.renderer.css.js--\x3e<h2>\n  <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n</h2>\n<div id="search-box"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===g6a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_header_renderer.ytd.channel.switcher.header.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);display: flex;margin: 48px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header-container {flex: 1;} h2 {margin-left: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #buttons {margin-right: 8px;} #search-box {display: flex;} #search-box ytd-search-box-renderer {flex: 1;} /*# sourceMappingURL=ytd-channel-switcher-header-renderer.css.map*/</style>';
g6a=d}d=g6a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);h6a=a}a=h6a;return a}}});
var cJ=bJ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],cJ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],cJ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],cJ.prototype,"data",void 0);cJ=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-switcher-header-renderer"})],cJ);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2g");

var x7,ZPb,$Pb,aQb,bQb,y7,B7,gQb,D7,hQb,iQb,jQb,kQb,lQb,cQb;x7=function(a){var b,c=null==(b=_.kb())?void 0:b.createHTML(a);return new _.sb(null!=c?c:a,_.mb)};
ZPb=function(a){var b=document.createElement("template");if(!("content"in b)){b=x7("<html><body>"+a);b=(new DOMParser).parseFromString(_.iba(b),"text/html");for(a=b.createDocumentFragment();0<b.body.childNodes.length;)a.appendChild(b.body.firstChild);return a}a=x7(a);_.zCb(b,a);return b.content};
$Pb=function(a){a=a.nodeName;return"string"===typeof a?a:"FORM"};
aQb=function(a){a=a.nodeType;return a===Node.ELEMENT_NODE||"number"!==typeof a};
bQb=function(a,b){var c=new XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/json");c.send(b)};
y7=function(a,b){(a.sendReport||navigator.sendBeacon.bind(navigator)||bQb)("https://csp.withgoogle.com/csp/lcreport/"+a.reportingId,JSON.stringify({host:window.location.hostname,type:b}))};
_.z7=function(a){var b;_.k6a(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)?_.dJ()==a&&(b=document):b=a;if(b&&(a=_.k6a(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))){a.call(b)instanceof Promise||Promise.resolve();return}Promise.resolve()};
_.dQb=function(){if(!cQb){var a=document.querySelector("#player.skeleton");a&&(_.Hb(a),cQb=!0)}};
_.A7=function(a){return a.watch.isTheaterMode};
B7=function(a){return a.watch.isWatchActive};
_.C7=function(a){return a.watch.isWatchFullscreen};
_.eQb=function(a){return a.watch.isWatchNarrowWidth};
_.fQb=function(a){return a.watch.watchWindowSize};
gQb=function(a){return a.watch.watchScrollTop};
_.rb=function(){};
_.sb=function(a){this.privateDoNotAccessOrElseWrappedHtml=a};
_.q(_.sb,_.rb);_.sb.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedHtml.toString()};
D7=function(a){0===a.changes.length&&a.changes.push("")};
hQb=function(a,b){if(b.nodeType===Node.TEXT_NODE)return NodeFilter.FILTER_ACCEPT;if(!aQb(b))return NodeFilter.FILTER_REJECT;b=$Pb(b);if(null===b)return D7(a),NodeFilter.FILTER_REJECT;var c=a.JSC$32492_sanitizerTable;if("form"!==b.toLowerCase()&&(c.allowedElements.has(b)||c.elementPolicies.has(b)))return NodeFilter.FILTER_ACCEPT;D7(a);return NodeFilter.FILTER_REJECT};
iQb=function(a,b){var c=$Pb(b),d=document.createElement(c);b=b.attributes;for(var e=_.k(b),h=e.next();!h.done;h=e.next()){var l=h.value;h=l.name;l=l.value;var m=a.JSC$32492_sanitizerTable,p=m.elementPolicies.get(c);m=(null==p?0:p.has(h))?p.get(h):m.allowedGlobalAttributes.has(h)?{policyAction:1}:m.globalAttributePolicies.get(h)||{policyAction:0};a:{if(p=m.conditions){p=_.k(p);for(var r=p.next();!r.done;r=p.next()){var v=_.k(r.value);r=v.next().value;v=v.next().value;var z=void 0;if((r=null==(z=b.getNamedItem(r))?
void 0:z.value)&&!v.has(r)){p=!1;break a}}}p=!0}if(p)switch(m.policyAction){case 1:d.setAttribute(h,l);break;case 2:m=_.hba(_.eI(l));m!==l&&D7(a);d.setAttribute(h,m);break;case 3:d.setAttribute(h,l.toLowerCase());break;case 4:d.setAttribute(h,l);break;case 0:D7(a);break;default:_.Bb(m.policyAction,"Unhandled AttributePolicyAction case")}else D7(a)}return d};
jQb=function(a,b){b=ZPb(b);b=document.createTreeWalker(b,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(l){return hQb(a,l)},!1);
for(var c=b.nextNode(),d=document.createDocumentFragment(),e=d;null!==c;){var h=void 0;if(c.nodeType===Node.TEXT_NODE)h=document.createTextNode(c.data);else if(aQb(c))h=iQb(a,c);else throw Error("ia");e.appendChild(h);if(c=b.firstChild())e=h;else for(;!(c=b.nextSibling())&&(c=b.parentNode());)e=e.parentNode}return d};
kQb=function(a,b){a.changes=[];var c=document.createElement("span");c.appendChild(jQb(a,b));b=(new XMLSerializer).serializeToString(c);b=b.slice(b.indexOf(">")+1,b.lastIndexOf("</"));x7(b);if(0!==a.changes.length)throw Error("Z");};
lQb=function(a){return _.Rg({type:"SET_IS_THEATER_MODE",payload:{isTheaterMode:a}})};
_.mQb=function(a){return _.Rg({type:"SET_IS_WATCH_ACTIVE",payload:{isWatchActive:a}})};
cQb=!1;
var nQb;
var oQb;
var E7=function(){var a=_.K.apply(this,arguments)||this;a.isCollapsed=!1;a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction","yt-update-donation-shelf-command":"handleUpdate","yt-open-popup-action":"handleOpenPopupAction"};return a};
_.q(E7,_.K);_.f=E7.prototype;_.f.configureRendererStamper=function(){return{"data.donateButton":{id:"donate-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.attached=function(){this.isDarkTheme=document.documentElement.hasAttribute("dark")};
_.f.onDonateTap=function(){var a=this.get("data.donateButton.buttonRenderer.command");if(a){var b=_.fg(),c=this.get("data.donateButton.buttonRenderer.trackingParams");b&&c&&_.pt(b,_.no(c));this.ytOpenPopupBehavior.openPopup(a)}};
_.f.onShowMore=function(){this.isCollapsed=!1;var a=_.fg(),b=this.get("data.expandButton.buttonRenderer.trackingParams");a&&b&&_.pt(a,_.no(b))};
_.f.onShowLess=function(){this.isCollapsed=!0};
_.f.dataChanged=function(){this.updateStyles({"--progress-bar-completion":100*this.data.progress+"%"})};
_.f.onDarkModeToggledAction=function(a){this.isDarkTheme=a};
_.f.handleUpdate=function(a){if(a=this.get("updateDonationShelfCommand.donationShelf.donationShelfRenderer",a))this.set("data.startLabel",a.startLabel),this.set("data.endLabel",a.endLabel),this.set("data.progress",a.progress),this.set("data.amountRaisedLabel",a.amountRaisedLabel),this.dataChanged()};
_.f.handleOpenPopupAction=function(a){this.get("openPopupAction.popup.ypcTransactionErrorMessageRenderer",a)&&_.C(this,"yt-close-popup-action",["yt-loading-renderer"])};
_.f.computeHeaderBackgroundUrl=function(a,b){if(a)return b?a.headerBackgroundDarkUrl:a.headerBackgroundUrl};
_.f.isProgressBarVisible=function(a){return!(!a||void 0===a.progress)};
_.f.headerBackgroundClass=function(){return"rtl"===_.w("HTML_DIR")?"flip":""};
_.t.Object.defineProperties(E7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-donation-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_shelf_renderer.ytd.donation.shelf.renderer.css.js--\x3e<div id="header-section">\n  <div id="header-text">\n    [[getSimpleString(data.headerTitle)]]\n  </div>\n  <template is="dom-if" if="[[headerBackgroundUrl]]">\n    <div id="header-background" class$="[[headerBackgroundClass()]]">\n      <yt-img-shadow delayed-src="[[headerBackgroundUrl]]" height="48">\n      </yt-img-shadow>\n    </div>\n  </template>\n</div>\n\n<div id="donate-section">\n  <div id="title-row">\n    <yt-img-shadow id="campaign-logo" object-fit="CONTAIN" thumbnail="[[data.campaignThumbnail]]">\n    </yt-img-shadow>\n    <div id="text-container">\n      <div id="campaign-title">\n        [[getSimpleString(data.campaignTitle)]]\n      </div>\n      <div id="campaign-subtitle">\n        [[getSimpleString(data.campaignSubtitle)]]\n      </div>\n    </div>\n    <div id="donate-button" on-click="onDonateTap"></div>\n  </div>\n  <template is="dom-if" if="[[isProgressBarVisible(data)]]">\n    <div id="progress-bar">\n      <div id="progress-bar-fill"></div>\n    </div>\n    <div id="progress-bar-labels">\n      <yt-formatted-string id="progress-bar-start" text="[[data.startLabel]]">\n      </yt-formatted-string>\n      <yt-formatted-string id="progress-bar-end" text="[[data.endLabel]]"></yt-formatted-string>\n    </div>\n  </template>\n  <template is="dom-if" if="[[data.amountRaisedLabel]]">\n    <div id="amount-raised">\n      <yt-formatted-string text="[[data.amountRaisedLabel]]"></yt-formatted-string>\n    </div>\n  </template>\n  <template is="dom-if" if="[[data.matchLabel]]">\n    <div id="matching-label">\n      <yt-formatted-string split-lines="" text="[[data.matchLabel]]"></yt-formatted-string>\n    </div>\n  </template>\n</div>\n\n<template is="dom-if" if="[[!isCollapsed]]">\n  <template is="dom-if" if="[[data.creatorMessages]]">\n    <div id="creator-messages-section">\n      <template is="dom-repeat" items="[[data.creatorMessages]]">\n        <div class="creator-message">\n          <div class="separator"></div>\n          <div class="creator-message-header">\n            <yt-img-shadow class="avatar" height="26" thumbnail="[[item.thumbnail]]">\n            </yt-img-shadow>\n            <yt-formatted-string class="creator-message-name" text="[[item.title]]">\n            </yt-formatted-string>\n          </div>\n          <div class="creator-message-description">\n            [[getSimpleString(item.description)]]\n          </div>\n        </div>\n      </template>\n    </div>\n  </template>\n\n  <div id="nonprofit-section">\n    <div id="nonprofit-row">\n      <div id="nonprofit-title">\n        [[getSimpleString(data.nonprofitTitle)]]<span id="verified-icon-wrapper">\u00a0<yt-icon id="verified-icon" class="inline-icon" icon="yt-icons:check-circle"></yt-icon>\n        </span>\n      </div>\n    </div>\n    <div id="nonprofit-subtitle">[[getSimpleString(data.nonprofitSubtitle)]]</div>\n    <div id="nonprofit-description">\n      [[getSimpleString(data.nonprofitDescription)]]\n      <template is="dom-if" if="[[data.nonprofitWebsite]]">\n        <span id="nonprofit-link">\n          <yt-formatted-string id="nonprofit-link-text" text="[[data.nonprofitWebsite]]">\n          </yt-formatted-string>\n          \u00a0\n          <yt-icon class="inline-icon" icon="yt-icons:open_in_new"></yt-icon>\n        </span>\n      </template>\n      </div>\n  </div>\n</template>\n\n<div id="collapse-controls-section">\n  <template is="dom-if" if="[[isCollapsed]]">\n    <div id="show-more" on-click="onShowMore">\n      <yt-formatted-string text="[[data.showMoreText]]"></yt-formatted-string>\n    </div>\n  </template>\n  <template is="dom-if" if="[[!isCollapsed]]">\n    <div id="show-less" on-click="onShowLess">\n      <yt-formatted-string text="[[data.showLessText]]"></yt-formatted-string>\n    </div>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nQb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_shelf_renderer.ytd.donation.shelf.renderer.css.js--\x3e<style>:host {display: block;border: 1px solid var(--yt-spec-10-percent-layer);} #header-section,#donate-section,#progress-bar-section,#creator-messages-section,#nonprofit-section,#collapse-controls-section {padding-left: 16px;padding-right: 16px;} #header-section {height: 48px;padding-right: 0;background-color: var(--yt-spec-general-background-b);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header-text {color: var(--yt-spec-text-primary);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #header-background {height: 100%;} .flip {transform: scaleX(-1);} #donate-section {padding-top: 16px;padding-bottom: 18px;background-color: var(--yt-spec-general-background-a);border-top: 1px solid var(--yt-spec-10-percent-layer);} #title-row {margin-bottom: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} yt-img-shadow#campaign-logo {height: 50px;width: 50px;} #text-container {margin-left: 12px;margin-right: 24px;overflow-x: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #campaign-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;font-size: 16px;margin-bottom: 4px;} #campaign-subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #progress-bar {height: 4px;background-color: var(--yt-spec-general-background-c);border-radius: 2px;overflow: hidden;margin-bottom: 10px;} #progress-bar-fill {height: 100%;background-color: var(--yt-spec-call-to-action);width: var(--progress-bar-completion,0);} #progress-bar-labels {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #progress-bar-start,#progress-bar-end {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;font-size: 14px;} #amount-raised {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;font-size: 16px;} #matching-label {color: var(--yt-spec-text-secondary);margin-top: 8px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #matching-label yt-formatted-string {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);} #creator-messages-section {padding-top: 16px;padding-bottom: 16px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #creator-messages-section,#nonprofit-section {background-color: var(--yt-spec-general-background-b);} .creator-message,#campaign-subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .separator {background-color: var(--yt-spec-10-percent-layer);height: 1px;margin: 16px 0 16px 0;} #creator-messages-section>.creator-message:nth-of-type(1) .separator {display: none;background-color: red;} .avatar {border-radius: 50%;overflow: hidden;margin-right: 12px;} .creator-message-header {margin-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .creator-message-name {color: var(--yt-spec-text-primary);font-size: 14px;} .creator-message-description {overflow-wrap: break-word;} #nonprofit-section {padding-top: 16px;padding-bottom: 24px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #nonprofit-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #nonprofit-title yt-icon {color: var(--yt-spec-icon-inactive);} #nonprofit-subtitle {color: var(--yt-spec-text-secondary);margin-top: -2px;margin-bottom: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #nonprofit-description {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #nonprofit-link {color: var(--yt-spec-call-to-action);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} #nonprofit-link-text {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);} #verified-icon-wrapper {white-space: nowrap;} .inline-icon {position: relative;top: -1px;width: 1em;} #nonprofit-link .inline-icon {top: -3px;} #collapse-controls-section {padding-top: 12px;padding-bottom: 12px;color: var(--yt-spec-text-secondary);background-color: var(--yt-spec-general-background-a);border-top: 1px solid var(--yt-spec-10-percent-layer);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #show-less,#show-more {cursor: pointer;} /*# sourceMappingURL=ytd-donation-shelf-renderer.css.map*/</style>';
nQb=d}d=nQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oQb=a}a=oQb;return a}}});
var F7=E7;F7.prototype.dataChanged=F7.prototype.dataChanged;_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],F7.prototype,"ytOpenPopupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],F7.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],F7.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],F7.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],F7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],F7.prototype,"isCollapsed",void 0);_.S([_.N({computed:"computeHeaderBackgroundUrl(data, isDarkTheme)"}),_.T("design:type",String)],F7.prototype,"headerBackgroundUrl",void 0);_.S([_.N(),_.T("design:type",Boolean)],F7.prototype,"isDarkTheme",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],F7.prototype,"dataChanged",null);
F7=_.S([_.Q({asyncProperties:!0,is:"ytd-donation-shelf-renderer"})],F7);
var pQb;
var qQb;
var rQb=function(){return _.K.apply(this,arguments)||this};
_.q(rQb,_.K);
_.t.Object.defineProperties(rQb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-donation-unavailable-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_unavailable_renderer.ytd.donation.unavailable.renderer.css.js--\x3e<div id="wrapper">\n  <yt-formatted-string id="message" text="[[data.text]]">\n  </yt-formatted-string>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pQb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_unavailable_renderer.ytd.donation.unavailable.renderer.css.js--\x3e<style>:host {display: block;} #wrapper {background-color: var(--yt-spec-general-background-b);padding: 12px 16px;} #message {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-donation-unavailable-renderer.css.map*/</style>';
pQb=d}d=pQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qQb=a}a=qQb;return a}}});
var sQb=rQb;_.S([_.N(),_.T("design:type",Object)],sQb.prototype,"data",void 0);sQb=_.S([_.Q({asyncProperties:!0,is:"ytd-donation-unavailable-renderer"})],sQb);
var tQb;
var uQb;
var G7=function(){return _.K.apply(this,arguments)||this};
_.q(G7,_.K);G7.prototype.computeIconType=function(a){return a?"yt-icons:"+a.toLowerCase():null};
_.t.Object.defineProperties(G7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-limited-state-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_limited_state_message_renderer.ytd.limited.state.message.renderer.css.js--\x3e<div id="header">\n  <yt-icon icon="[[computeIconType(data.icon.iconType)]]"></yt-icon>\n  <yt-formatted-string id="title" text="[[data.headerText]]"></yt-formatted-string>\n</div>\n<yt-formatted-string id="subtext" text="[[data.subtext]]"></yt-formatted-string>\n<div id="action-buttons">\n  <ytd-button-renderer data="[[data.learnMoreButton.buttonRenderer]]"></ytd-button-renderer>\n  <ytd-button-renderer data="[[data.goHomeButton.buttonRenderer]]">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tQb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_limited_state_message_renderer.ytd.limited.state.message.renderer.css.js--\x3e<style>:host {display: inline-block;background-color: var(--yt-spec-general-background-b);padding: 16px 8px 8px 16px;} #header {padding-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-icon {color: var(--yt-spec-static-ad-yellow);padding-right: 8px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} #subtext {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #action-buttons {padding-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #action-buttons ytd-button-renderer:not(:last-child) {padding-right: 8px;} /*# sourceMappingURL=ytd-limited-state-message-renderer.css.map*/</style>';
tQb=d}d=tQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uQb=a}a=uQb;return a}}});
var H7=G7;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],H7.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],H7.prototype,"data",void 0);H7=_.S([_.Q({asyncProperties:!0,is:"ytd-limited-state-message-renderer"})],H7);
var vQb;
var wQb;
var I7=function(){return _.K.apply(this,arguments)||this};
_.q(I7,_.K);
I7.prototype.dataChanged=function(){if(this.data&&void 0!==this.data.companionLegalText&&null!==this.data.companionLegalText){var a=this.$.text;var b=this.data.companionLegalText,c={reportingId:"0a206b38-4268-4c33-b9b3-b4f9e1b80d6e"},d=x7(b),e;if(e=c){var h;e=Math.random()<(null!=(h=c.samplingRate)?h:.01)}if(e)try{var l;Math.random()<(null!=(l=c.heartbeatRate)?l:.01)&&y7(c,"HEARTBEAT");b:{try{kQb(_.DEa,b)}catch(v){y7(c,"H_RSANITIZE");var m=!0;break b}try{kQb(_.Fra,b)}catch(v){y7(c,"H_SANITIZE");m=
!0;break b}m=!1}if(!m){var p=void 0===p?{}:p;var r=b.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");p.preserveSpaces&&(r=r.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));p.preserveNewlines&&(r=r.replace(/(\r\n|\n|\r)/g,"<br>"));p.preserveTabs&&(r=r.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));x7(r).toString()!==b&&y7(c,"H_ESCAPE")}}catch(v){try{y7(c,"CRASHED")}catch(z){}}_.zCb(a,d)}};
I7.prototype.computeAutoScrollEnabled=function(a,b){return a&&!b};
I7.prototype.expandedChanged=function(){this.expanderIcon=this.expanded?"expand-less":"expand-more"};
I7.prototype.onToggleTap=function(){this.expanded=!this.expanded};
_.t.Object.defineProperties(I7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-companion-legal-text-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.player.ytd_companion_legal_text_renderer.ytd.companion.legal.text.renderer.css.js--\x3e<yt-formatted-string id="text" text="[[data.companionLegalText]]"></yt-formatted-string>\n\n<tp-yt-paper-material id="expand-button" elevation="1" on-tap="onToggleTap">\n  <yt-icon-button id="expander-icon">\n    <yt-icon id="expander-icon" icon="[[expanderIcon]]"></yt-icon>\n  </yt-icon-button>\n</tp-yt-paper-material>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vQb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.player.ytd_companion_legal_text_renderer.ytd.companion.legal.text.renderer.css.js--\x3e<style>:host([expanded]) #text {height: auto;} #text {background-color: var(--yt-spec-general-background-b);display: block;height: 250px;overflow: hidden;padding: 8px 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #expand-button {border-radius: 50%;background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-icon-inactive);height: 40px;margin: -20px auto 0;width: 40px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} button {width: var(--yt-icon-width);height: var(--yt-icon-height);} /*# sourceMappingURL=ytd-companion-legal-text-renderer.css.map*/</style>';
vQb=d}d=vQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wQb=a}a=wQb;return a}}});
var J7=I7;J7.prototype.expandedChanged=J7.prototype.expandedChanged;J7.prototype.dataChanged=J7.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],J7.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.MEb),_.T("design:type",Object)],J7.prototype,"ytdAutoScrollBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],J7.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],J7.prototype,"expanded",void 0);
_.S([_.N({computed:"computeAutoScrollEnabled(data.companionLegalTextEnableAutoscroll, expanded)"}),_.T("design:type",Boolean)],J7.prototype,"autoScrollEnabled",void 0);_.S([_.N(),_.T("design:type",String)],J7.prototype,"expanderIcon",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J7.prototype,"dataChanged",null);
_.S([_.P("expanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J7.prototype,"expandedChanged",null);J7=_.S([_.Q({asyncProperties:!0,is:"ytd-companion-legal-text-renderer"})],J7);
var xQb;
var yQb;
var K7,L7=function(){return _.K.apply(this,arguments)||this};
_.q(L7,_.K);_.f=L7.prototype;_.f.getOnLayoutVisibleCallback=function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.onLayoutVisibleCallback:null};
_.f.getLayoutId=function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.layoutId:null};
_.f.dataChanged=function(){if(this.data){this.set("data.adBadge",K7.JSC$42599_DEFAULT_AD_BADGE_RENDERER);var a=this.getOnLayoutVisibleCallback();a&&a()}};
_.f.getButtonRenderer=function(a){return a.actionButton&&a.actionButton.buttonRenderer?(delete a.actionButton.buttonRenderer.navigationEndpoint,a.actionButton.buttonRenderer):{}};
_.f.onTap=function(){if(!_.x("use_on_click_for_desktop_companion"))this.onClickOrTap()};
_.f.onClick=function(){if(_.x("use_on_click_for_desktop_companion"))this.onClickOrTap()};
_.f.onClickOrTap=function(){var a=this;if(this.data&&this.data.navigationEndpoint){var b=_.sv(),c=this.getLayoutId();b&&c&&_.x("h5_companion_enable_adcpn_macro_substitution_for_click_pings")?b.getPlayerPromise().then(function(d){(new _.IH(d)).executeCommand(a.data.navigationEndpoint,c)}):_.x("kevlar_companion_resolve_command_killswitch")?this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint}):this.ytComponentBehavior.resolveCommand(this.data.navigationEndpoint);
_.C(this,"yt-companion-ad-clicked",["action-companion",c])}};
_.t.Object.defineProperties(L7.prototype,{interactionLoggingClientData:{configurable:!0,enumerable:!0,get:function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.interactionLoggingClientData:null}},
hideBanner:{configurable:!0,enumerable:!0,get:function(){var a=this.data.bannerImage&&this.get("thumbnail.thumbnails.0.url",this.data.bannerImage);return a?-1!==a.indexOf("/default_banner"):!0}}});
_.t.Object.defineProperties(L7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===yQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-action-companion-ad-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_action_companion_ad_renderer.ytd.action.companion.ad.renderer.css.js--\x3e<ytd-ad-hover-text-button-renderer id="action-companion-ad-info-button" data="[[data.adInfoRenderer.adHoverTextButtonRenderer]]" hidden="[[!data.adInfoRenderer.adHoverTextButtonRenderer]]">\n</ytd-ad-hover-text-button-renderer>\n<div id="action-companion-click-target" class="yt-simple-endpoint">\n  <yt-img-shadow id="banner" fit="" hidden="[[hideBanner]]" thumbnail="[[data.bannerImage.thumbnail]]">\n  </yt-img-shadow>\n  <div id="block">\n    <yt-img-shadow id="icon" thumbnail="[[data.iconImage.thumbnail]]"></yt-img-shadow>\n    <div id="text">\n      <div id="header">\n        [[data.headline.text]]\n      </div>\n      <div id="desc">\n        <div id="ad-badge-container">\n          <ytd-badge-supported-renderer id="ad-badge" top-standalone-badge="[[data.adBadge]]">\n          </ytd-badge-supported-renderer>\n        </div>\n        <span id="domain">\n          [[data.description.text]]\n        </span>\n      </div>\n    </div>\n    <ytd-button-renderer id="action" button-raised="" data="[[getButtonRenderer(data)]]">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xQb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_action_companion_ad_renderer.ytd.action.companion.ad.renderer.css.js--\x3e<style>:host {display: inline-block;cursor: pointer;border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin-bottom: 16px;position: relative;max-width: 402px;width: 100%;} :host(:not([hide-banner])) #action-companion-ad-info-button {background-color: var(--yt-spec-general-background-a);} #action-companion-ad-info-button {position: absolute;right: 0px;top: 0px;} #action-companion-click-target {display: block;} #banner {--yt-img-max-height: 200px;display: block;min-height: 60px;max-height: 200px;width: 100%;} #block {height: 48px;padding: 16px 0;text-align: left;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #icon {box-shadow: 0 2px 10px 0 rgba(0,0,0,0.2);height: 48px;width: 48px;} #text {margin: 0 12px;text-align: left;vertical-align: top;overflow: hidden;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} a,a:link,a:visited,a:hover,a:focus,a:active {text-decoration: none;} #header {color: var(--yt-spec-text-primary);margin-bottom: 4px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #desc {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #domain {color: var(--yt-spec-text-secondary);padding-left: 3px;} #action {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);margin-top: 5px;max-width: 250px;} #ad-badge-container {display: inline-block;} /*# sourceMappingURL=ytd-action-companion-ad-renderer.css.map*/</style>';
xQb=d}d=xQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);yQb=a}a=yQb;return a}}});
var M7=K7=L7;K7.prototype.onClick=K7.prototype.onClick;K7.prototype.onTap=K7.prototype.onTap;K7.prototype.dataChanged=K7.prototype.dataChanged;M7.JSC$42599_DEFAULT_AD_BADGE_RENDERER={metadataBadgeRenderer:{label:_.Bg("AD_BADGE_TEXT",void 0,"Ad"),style:"BADGE_STYLE_TYPE_AD"}};_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],M7.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],M7.prototype,"rendererBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],M7.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],M7.prototype,"interactionLoggingClientData",null);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],M7.prototype,"hideBanner",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],M7.prototype,"dataChanged",null);
_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],M7.prototype,"onTap",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],M7.prototype,"onClick",null);M7=K7=_.S([_.Q({is:"ytd-action-companion-ad-renderer"})],M7);
var zQb;
var AQb;
var BQb;
var CQb;
var N7=function(){return _.K.apply(this,arguments)||this};
_.q(N7,_.K);_.f=N7.prototype;_.f.getOnLayoutVisibleCallback=function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.onLayoutVisibleCallback:null};
_.f.getLayoutId=function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.layoutId:null};
_.f.dataChanged=function(){if(this.data){if(this.data.image&&this.data.image.thumbnail&&this.data.image.thumbnail.thumbnails&&this.data.image.thumbnail.thumbnails.length){var a=this.data.image.thumbnail.thumbnails[0];this.imageSrc=a.url?_.It(a.url):void 0;this.imageWidth=a.width||0;this.imageHeight=a.height||0}this.data.clickthroughEndpoint&&this.data.clickthroughEndpoint.urlEndpoint&&(a=this.data.clickthroughEndpoint.urlEndpoint.url,_.x("kevlar_sanitize_image_companion_killswitch")?this.clickThroughUrl=
a||"":a?(a=_.It(a),this.clickThroughUrl=_.yb(a)):this.clickThroughUrl=void 0);(a=this.getOnLayoutVisibleCallback())&&a()}};
_.f.onTap=function(a){if(!_.x("use_on_click_for_desktop_companion"))this.onClickOrTap(a)};
_.f.onClick=function(a){if(_.x("use_on_click_for_desktop_companion")&&!_.Hx(_.H(a).path||[],this,["A".toString(),"BUTTON".toString()]))this.onClickOrTap(a)};
_.f.onClickOrTap=function(){var a=this;this.data&&this.data.clickthroughEndpoint&&(this.fire("yt-navigate",{endpoint:this.data.clickthroughEndpoint}),this.data.onClickCommands&&this.data.onClickCommands.forEach(function(b){a.macroReplacementBehavior.sendServiceRequestAction([b])}),_.C(this,"yt-companion-ad-clicked",["image-companion",
this.getLayoutId()]))};
_.f.onLoad=function(){_.Jg(this,"yt-refit-popups-action")};
_.t.Object.defineProperties(N7.prototype,{macros:{configurable:!0,enumerable:!0,get:function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.macros||{}:{}}},
interactionLoggingClientData:{configurable:!0,enumerable:!0,get:function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.interactionLoggingClientData:null}}});
_.t.Object.defineProperties(N7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-image-companion-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_image_companion_renderer.ytd.image.companion.renderer.css.js--\x3e<ytd-ad-hover-text-button-renderer id="image-companion-ad-info-button" data="[[data.adInfoRenderer.adHoverTextButtonRenderer]]" hidden="[[!data.adInfoRenderer.adHoverTextButtonRenderer]]">\n</ytd-ad-hover-text-button-renderer>\n<div>\n  <img height="[[imageHeight]]" src$="[[imageSrc]]" width="[[imageWidth]]" alt="">\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BQb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_image_companion_renderer.ytd.image.companion.renderer.css.js--\x3e<style>:host {display: block;position: relative;padding-bottom: 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin-bottom: 16px;} #image-companion-ad-info-button {background-color: var(--yt-spec-brand-background-solid);position: absolute;left: 285px;top: 0px;} img {cursor: pointer;} /*# sourceMappingURL=ytd-image-companion-renderer.css.map*/</style>";
BQb=d}d=BQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CQb=a}a=CQb;return a}}});
var O7=N7;O7.prototype.onLoad=O7.prototype.onLoad;O7.prototype.onClick=O7.prototype.onClick;O7.prototype.onTap=O7.prototype.onTap;O7.prototype.dataChanged=O7.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],O7.prototype,"rendererBehavior",void 0);_.S([_.L(_.NEb.YtMacroReplacementBehavior),_.T("design:type",Object)],O7.prototype,"macroReplacementBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],O7.prototype,"data",void 0);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],O7.prototype,"macros",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],O7.prototype,"interactionLoggingClientData",null);_.S([_.N(),_.T("design:type",String)],O7.prototype,"clickThroughUrl",void 0);_.S([_.N(),_.T("design:type",_.pj)],O7.prototype,"imageSrc",void 0);_.S([_.N(),_.T("design:type",Number)],O7.prototype,"imageWidth",void 0);
_.S([_.N(),_.T("design:type",Number)],O7.prototype,"imageHeight",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],O7.prototype,"dataChanged",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],O7.prototype,"onTap",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],O7.prototype,"onClick",null);
_.S([_.O("load"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],O7.prototype,"onLoad",null);O7=_.S([_.Q({is:"ytd-image-companion-renderer"})],O7);
var DQb;
var EQb;
var P7,Q7=function(){return _.K.apply(this,arguments)||this};
_.q(Q7,_.K);_.f=Q7.prototype;_.f.dataChanged=function(){this.set("data.adBadge",P7.JSC$42608_DEFAULT_AD_BADGE_RENDERER);if(this.data){var a=this.getOnLayoutVisibleCallback();a&&a()}};
_.f.getOnLayoutVisibleCallback=function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.onLayoutVisibleCallback:null};
_.f.getLayoutId=function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.layoutId:null};
_.f.onCompanionClicked=function(a){this.data&&(a.target!==this.shopTitle&&this.sendTrackingPings(this.data.clickTrackingEndpoints),_.C(this,"yt-companion-ad-clicked",["shopping-companion",this.getLayoutId()]))};
_.f.onShopTextTap=function(){this.data&&this.fire("yt-navigate",{endpoint:this.data.clickToAdvSiteEndpoint})};
_.f.sendTrackingPings=function(a){a&&0!==a.length&&a[0].loggingUrls&&_.Vrb(a[0].loggingUrls.map(this.getBaseUrl))};
_.f.getBaseUrl=function(a){return a.baseUrl||""};
_.t.Object.defineProperties(Q7.prototype,{interactionLoggingClientData:{configurable:!0,enumerable:!0,get:function(){var a=_.ld("yt.www.ads.eventcache.getLastCompanionData");return a?(a=a())&&a.interactionLoggingClientData:null}}});
_.t.Object.defineProperties(Q7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-shopping-companion-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_shopping_companion_renderer.ytd.shopping.companion.renderer.css.js--\x3e<ytd-ad-hover-text-button-renderer id="shopping-companion-ad-info-button" data="[[data.adInfoRenderer.adHoverTextButtonRenderer]]" hidden="[[!data.adInfoRenderer.adHoverTextButtonRenderer]]">\n</ytd-ad-hover-text-button-renderer>\n<div on-tap="onCompanionClicked">\n  <div id="banner">\n    <div id="ad-badge-container">\n      <ytd-badge-supported-renderer id="ad-badge" top-standalone-badge="[[data.adBadge]]">\n      </ytd-badge-supported-renderer>\n    </div>\n    <div id="title" on-tap="onShopTextTap">\n      [[getSimpleString(data.shopText)]]\n    </div>\n  </div>\n  <yt-horizontal-list-renderer id="companion-shelf" data="[[data.itemList.horizontalListRenderer]]">\n  </yt-horizontal-list-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DQb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_shopping_companion_renderer.ytd.shopping.companion.renderer.css.js--\x3e<style>:host {position: relative;display: block;padding-right: 16px;margin-bottom: 12px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #shopping-companion-ad-info-button {position: absolute;right: 4px;top: 10px;} #title {cursor: pointer;} #banner {padding-bottom: 16px;padding-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #ad-badge-container {padding-right: 8px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {text-overflow: ellipsis;overflow-x: hidden;white-space: nowrap;-ms-align-self: center;-webkit-align-self: center;align-self: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} yt-horizontal-list-renderer {--ytd-horizontal-list-margin-bottom: 4px;} /*# sourceMappingURL=ytd-shopping-companion-renderer.css.map*/</style>';
DQb=d}d=DQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EQb=a}a=EQb;return a}}});
var R7=P7=Q7;P7.prototype.onCompanionClicked=P7.prototype.onCompanionClicked;P7.prototype.dataChanged=P7.prototype.dataChanged;R7.JSC$42608_DEFAULT_AD_BADGE_RENDERER={metadataBadgeRenderer:{label:_.Bg("AD_BADGE_TEXT",void 0,"Ad"),style:"BADGE_STYLE_TYPE_AD"}};_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R7.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R7.prototype,"data",void 0);
_.S([_.Z("#title"),_.T("design:type",HTMLElement)],R7.prototype,"shopTitle",void 0);_.S([_.Ct("data.impressionEndpoints"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],R7.prototype,"dataChanged",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],R7.prototype,"interactionLoggingClientData",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],R7.prototype,"onCompanionClicked",null);R7=P7=_.S([_.Q({is:"ytd-shopping-companion-renderer"})],R7);
var FQb={shoppingCompanionCarouselRenderer:"ytd-shopping-companion-renderer",imageCompanionAdRenderer:"ytd-image-companion-renderer",actionCompanionAdRenderer:"ytd-action-companion-ad-renderer"},S7=function(){var a=_.K.apply(this,arguments)||this;a.updateCompanionDataJobId=0;a.contentVideoId=null;a.player=null;a.actionMap={"yt-companion-ad-clicked":"handleCompanionAdClicked"};return a};
_.q(S7,_.K);_.f=S7.prototype;_.f.configureRendererStamper=function(){return{oneofRenderer:{id:"companion",mapping:FQb}}};
_.f.attached=function(){var a=this,b=_.sv();b&&b.getPlayerPromise().then(function(c){a.getCachedDataAndListen(c)})};
_.f.detached=function(){this.player&&(this.ytPlayerListenerBehavior.unlistenFromPlayerEvent(this.player,"updateKevlarOrC3Companion",this.receiveCompanionData),this.player=null)};
_.f.updateRendererStamper=function(){var a={};if(this.data)for(var b in FQb)if(this.data[b]){a[b]=this.data[b];break}if(void 0!=this.oneofRenderer||Object.keys(a).length)this.oneofRenderer=a};
_.f.getCachedDataAndListen=function(a){var b=this.retrieveCachedCompanionData();b&&Object.keys(b).length&&this.receiveCompanionData(b);this.ytPlayerListenerBehavior.listenToPlayerEvent(a,"updateKevlarOrC3Companion",this.receiveCompanionData);this.player=a};
_.f.retrieveCachedCompanionData=function(){return _.g.yt&&_.g.yt.www&&_.g.yt.www.ads&&_.g.yt.www.ads.eventcache&&_.g.yt.www.ads.eventcache.getLastCompanionData?_.g.yt.www.ads.eventcache.getLastCompanionData():null};
_.f.receiveCompanionData=function(a){a&&Object.keys(a).length?(this.contentVideoId=a.contentVideoId,this.setCompanionData(a)):this.setCompanionData(a)};
_.f.setCompanionData=function(a){this.cancelPendingCompanionAdJobs();if(a){this.updateCompanionDataJobId=0;for(var b in FQb)this.data[b]=void 0;a.shoppingCompanionCarouselRenderer?this.set("data.shoppingCompanionCarouselRenderer",a.shoppingCompanionCarouselRenderer):a.imageCompanionAdRenderer?this.set("data.imageCompanionAdRenderer",a.imageCompanionAdRenderer):a.actionCompanionAdRenderer&&(this.set("data.actionCompanionAdRenderer",a.actionCompanionAdRenderer),_.x("enable_offer_suppression")&&_.Jg(this,
"yt-hide-unlimited-offer-module"));this.updateRendererStamper()}};
_.f.dataChanged=function(){var a=this,b=_.sv();b?b.getPlayerPromise().then(function(c){a.contentVideoId&&c.getVideoUrl().includes("v="+a.contentVideoId)||(a.cancelPendingCompanionAdJobs(),a.updateRendererStamper())}):_.md(Error("zh"))};
_.f.cancelPendingCompanionAdJobs=function(){this.updateCompanionDataJobId&&(_.xe.cancelJob(this.updateCompanionDataJobId),this.updateCompanionDataJobId=0)};
_.f.handleCompanionAdClicked=function(a,b){this.player.onAdUxClicked(a,b);this.player.pauseVideo()};
_.t.Object.defineProperties(S7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===AQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-companion-slot-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_companion_slot_renderer.ytd.companion.slot.renderer.css.js--\x3e<div id="companion"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zQb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_companion_slot_renderer.ytd.companion.slot.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=ytd-companion-slot-renderer.css.map*/</style>";zQb=d}d=zQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);AQb=a}a=AQb;return a}}});
var T7=S7;T7.prototype.dataChanged=T7.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],T7.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],T7.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T7.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],T7.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",Object)],T7.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],T7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],T7.prototype,"oneofRenderer",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],T7.prototype,"dataChanged",null);T7=_.S([_.Q({asyncProperties:!0,is:"ytd-companion-slot-renderer"})],T7);
var GQb;
var HQb;
var U7=function(){return _.K.apply(this,arguments)||this};
_.q(U7,_.K);U7.prototype.dataChanged=function(){_.x("kevlar_disable_companions")?this.companionSlotData=void 0:this.companionSlotData={hack:!0}};
_.t.Object.defineProperties(U7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-player-legacy-desktop-watch-ads-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_player_legacy_desktop_watch_ads_renderer.ytd.player.legacy.desktop.watch.ads.renderer.css.js--\x3e<ytd-companion-legal-text-renderer data="[[data]]" disable-upgrade$="[[!data.companionLegalText]]" hidden="[[!data.companionLegalText]]">\n</ytd-companion-legal-text-renderer>\n<ytd-companion-slot-renderer data="[[companionSlotData]]" disable-upgrade$="[[!companionSlotData]]" hidden="[[!companionSlotData]]">\n</ytd-companion-slot-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GQb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_player_legacy_desktop_watch_ads_renderer.ytd.player.legacy.desktop.watch.ads.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=ytd-player-legacy-desktop-watch-ads-renderer.css.map*/</style>";GQb=d}d=GQb;c.call(b,d.content.cloneNode(!0),
a.content.firstChild);HQb=a}a=HQb;return a}}});
var V7=U7;V7.prototype.dataChanged=V7.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],V7.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],V7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],V7.prototype,"companionSlotData",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V7.prototype,"dataChanged",null);
V7=_.S([_.Q({asyncProperties:!0,is:"ytd-player-legacy-desktop-watch-ads-renderer"})],V7);
var IQb;
var JQb;
var W7=function(){var a=_.K.apply(this,arguments)||this;a.COMPACT_EVENT_COUNT=4;a.onShelfToggleButtonTap=function(){a.logTap(a.data);a.showingMore=!a.showingMore};
a.onShelfToggleButtonFocus=function(){a.showingMore||(a.logTap(a.data),a.showingMore=!0,_.nt(a,function(){a.$$("#event-"+(a.COMPACT_EVENT_COUNT-1)).focus()}))};
return a};
_.q(W7,_.K);_.f=W7.prototype;_.f.attached=function(){this.shelfToggleButton.addEventListener("tap",this.onShelfToggleButtonTap);this.shelfToggleButton.addEventListener("focus",this.onShelfToggleButtonFocus);this.addInfoTooltipListeners()};
_.f.detached=function(){this.shelfToggleButton.removeEventListener("tap",this.onShelfToggleButtonTap);this.shelfToggleButton.removeEventListener("focus",this.onShelfToggleButtonFocus);this.removeInfoTooltipListeners()};
_.f.addInfoTooltipListeners=function(){this.infoTooltip.listen(this.infoContainer,"tap","show");this.infoTooltip.listen(this.infoContainer,"mouseenter","show");this.infoTooltip.listen(this.infoContainer,"focus","show");this.infoTooltip.listen(this.infoContainer,"mouseleave","hide");this.infoTooltip.listen(this.infoContainer,"blur","hide")};
_.f.removeInfoTooltipListeners=function(){this.infoTooltip.unlisten(this.infoContainer,"tap","show");this.infoTooltip.unlisten(this.infoContainer,"mouseenter","show");this.infoTooltip.unlisten(this.infoContainer,"focus","show");this.infoTooltip.unlisten(this.infoContainer,"mouseleave","hide");this.infoTooltip.unlisten(this.infoContainer,"blur","hide")};
_.f.dataChanged=function(){this.firstEvent=this.get("data.events.0.ticketEventRenderer");this.data&&this.data.events&&(this.canShowMore=this.data.events.length>this.COMPACT_EVENT_COUNT,this.$.separator.style.visibility=1<this.data.events.length?"visible":"hidden");this.showingMore=!1;this.showingMoreChanged(!1)};
_.f.showingMoreChanged=function(a){var b=this.get("data.events")||[];this.set("restEvents",b.slice(1,a?b.length:this.COMPACT_EVENT_COUNT).map(function(c){return c.ticketEventRenderer}));
b.slice(0,a?b.length:this.COMPACT_EVENT_COUNT).forEach(function(c){var d=_.fg();c=c.ticketEventRenderer.trackingParams;_.eg()&&d&&c&&(c=_.no(c),d&&_.xg(d,c))});
this.shelfTogglerLabelText=this.showingMore?this.data.showLess||"":this.data.showMore||"";this.shelfTogglerIcon=this.showingMore?"yt-icons:expand-less":"yt-icons:expand-more"};
_.f.computeAriaLabel=function(a){return a.subtitle1+", "+a.subtitle2};
_.f.logTap=function(a){_.eg()&&this.ytRendererBehavior.logExplicitClick(a)};
_.f.isKeyboardAction=function(a){return this.focusOnFirstMenuItemOnKeyboardNav?0===this.get("detail.x",a)&&0===this.get("detail.y",a):!1};
_.f.onFirstEventTap=function(a){a.target&&this.handleTap(a.target,this.firstEvent,this.isKeyboardAction(a))};
_.f.onTicketLinkTap=function(a){a.target&&this.handleTap(a.target,a.model.item,this.isKeyboardAction(a))};
_.f.handleTap=function(a,b,c){b.buttonCommand&&(b.hasMultipleOffers?(Object.assign(b.buttonCommand.openPopupAction,{properties:{source:c?"keyboard":"tap"}}),this.logTap(b),this.popupPositionTarget=a,_.Lg(this,[b.buttonCommand],this)):b.buttonCommand.urlEndpoint&&b.buttonCommand.urlEndpoint.url&&(this.logTap(b),_.ZE(b.buttonCommand.urlEndpoint.url)))};
_.t.Object.defineProperties(W7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JQb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ticket-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_ticket_shelf_renderer.ytd.ticket.shelf.renderer.css.js--\x3e<div id="head">\n  <h1 id="title" role="heading" aria-label$="[[firstEvent.title]]">[[firstEvent.title]]</h1>\n\n  <a id="info-container" href="javascript:" role="complementary" aria-label$="[[data.informationText]]">\n    <yt-icon id="info-icon" icon="yt-icons:info"></yt-icon>\n  </a>\n  \n  <tp-yt-paper-tooltip id="banner-info-tooltip" for="info-container" manual-mode="" position="bottom">\n    <div>[[data.informationText]]</div>\n  </tp-yt-paper-tooltip>\n</div>\n<div id="body">\n  <div id="primary-event">\n    <template is="dom-if" if="[[data.useCalendarAvatar]]">\n      <a id="calendar-avatar" href="javascript:void(0)" on-tap="onFirstEventTap">\n        <div id="calendar-avatar-month">\n          <div id="calendar-avatar-month-text">[[firstEvent.timeMonth]]</div>\n        </div>\n        <div id="calendar-avatar-day">\n          <div id="calendar-avatar-day-text">[[firstEvent.timeDay]]</div>\n        </div>\n      </a>\n    </template>\n\n    <template is="dom-if" if="[[!data.useCalendarAvatar]]">\n      <div id="thumbnail">\n        <yt-img-shadow id="thumbnail-img" fit="" thumbnail="[[firstEvent.thumbnail]]">\n        </yt-img-shadow>\n      </div>\n    </template>\n\n    <div id="meta">\n      <div id="meta-info">\n        <a id="nearest-with-location" href="javascript:void(0)" on-tap="onFirstEventTap">[[data.title]]</a>\n        <div id="subtitle1">[[firstEvent.subtitle1]]</div>\n        <template is="dom-if" if="[[firstEvent.hasMultipleOffers]]">\n          <div id="subtitle2">\n            [[firstEvent.subtitle2]]\n          </div>\n        </template>\n        <template is="dom-if" if="[[!firstEvent.hasMultipleOffers]]">\n          <a class="vendor" target="_blank" on-tap="onFirstEventTap" href$="[[firstEvent.buttonCommand.urlEndpoint.url]]">\n            [[firstEvent.linkText]]\n          </a>\n        </template>\n      </div>\n      <a id="view-tickets-link" href="javascript:void(0)" on-tap="onFirstEventTap">\n        [[firstEvent.buttonText]]\n        <template is="dom-if" if="[[!firstEvent.hasMultipleOffers]]">\n          <yt-icon class="launch-icon" icon="yt-icons:launch"></yt-icon>\n        </template>\n      </a>\n    </div>\n  </div>\n\n  <div id="separator"></div>\n\n  <div id="rest-events">\n    <div id="table">\n      <table cellspacing="0" cellpadding="0">\n        <template is="dom-repeat" items="{{restEvents}}" as="item">\n          <tr on-tap="onTicketLinkTap">\n            <td>\n              <div class="when-date-column">[[item.timeDate]]</div>\n            </td>\n            <td>\n              <div class="when-weekday-column">\n                <div>\n                  [[item.timeWeekday]]<span id="time">[[item.timeTime]]</span>\n                </div>\n              </div>\n            </td>\n            <td class="where-column-td">\n              <div class="where-column">\n                <div class="venue-vendor-container">\n                  <div class="venue">[[item.subtitle2]]</div>\n                  <b class="dot">\u00b7</b>\n                  <a class="vendor" href="javascript:void(0)" id$="event-{{index}}">\n                    [[item.linkText]]\n                    <template is="dom-if" if="[[!item.hasMultipleOffers]]">\n                      <yt-icon class="launch-icon" icon="yt-icons:launch"></yt-icon>\n                    </template>\n                  </a>\n                </div>\n              </div>\n            </td>\n          </tr>\n        </template>\n      </table>\n      <yt-icon-button id="shelf-toggler" hidden="[[!canShowMore]]" label="[[shelfTogglerLabelText]]">\n        <yt-icon icon="[[shelfTogglerIcon]]"></yt-icon>\n      </yt-icon-button>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IQb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_ticket_shelf_renderer.ytd.ticket.shelf.renderer.css.js--\x3e<style>:host {border-bottom: 1px solid var(--yt-spec-10-percent-layer);color: var(--yt-spec-text-primary);display: block;padding-bottom: 8px;} #head {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-bottom: 10px;} #head #title {color: var(--yt-spec-text-primary);margin-left: 4px;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #info-container {padding-left: 8px;} #info-icon {color: var(--yt-spec-icon-inactive);height: 14px;position: relative;top: 3px;width: 14px;} #shelf-toggler {color: var(--yt-spec-icon-active-other);float: right;cursor: pointer;flex-shrink: 0;} #banner-info-tooltip {width: 336px;} #head #subtitle {color: var(--yt-spec-text-secondary);flex-grow: 1;margin-left: 16px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #head #subtitle-text {display: none;} #head #toggler {color: var(--yt-spec-icon-inactive);cursor: pointer;flex-shrink: 0;} #body {display: -ms-flexbox;display: -webkit-flex;display: flex;} #body a {text-decoration: none;} #primary-event {flex-grow: 0;margin-bottom: 4px;padding: 4px;width: 50%;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([showing-more]) #primary-event {width: 100%;} #primary-event #thumbnail,#primary-event #thumbnail #thumbnail-img {min-width: 102px;max-width: 102px;max-height: 102px;min-height: 102px;overflow: hidden;} :host([showing-more]) #primary-event #thumbnail,:host([showing-more]) #primary-event #thumbnail #thumbnail-img {min-width: 56px;max-width: 56px;max-height: 56px;min-height: 56px;} #primary-event #meta {flex-grow: 1;margin-left: 16px;overflow: hidden;display: flex;justify-content: space-between;} #primary-event #meta-info {margin-right: 8px;} #primary-event #meta #tickets-button {background-color: var(--yt-spec-call-to-action);border-radius: 2px;border: none;color: var(--yt-spec-filled-button-text);display: inline-block;flex-shrink: 0;font-family: Roboto,Arial,sans-serif;height: 32px;padding: 8px 16px;text-decoration: none;cursor: pointer;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #view-tickets-link {color: var(--yt-spec-call-to-action);white-space: nowrap;font-family: Roboto,Arial,sans-serif;text-decoration: none;padding-top: 2px;height: fit-content;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #primary-event #meta #nearest {color: var(--yt-spec-text-primary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #primary-event #meta #subtitle1,#primary-event #meta #subtitle2 {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #primary-event #meta-info #nearest,#primary-event #meta-info #subtitle1,#primary-event #meta-info #subtitle2 {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} #nearest-with-location {color: var(--yt-spec-text-primary);margin-bottom: 4px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #subtitle1 {margin-top: 8px;margin-bottom: 8px;} #primary-event #meta>div {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} :host([showing-more]) #primary-event #meta {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([showing-more]) #primary-event #meta #meta-info {flex-grow: 1;} :host([showing-more]) #primary-event #meta #tickets-button {margin-top: 0;margin-right: 4px;} #separator {position: relative;top: 4px;border-right: 1px solid var(--yt-spec-10-percent-layer);margin-right: 8px;padding-right: 12px;height: 102px;} :host([showing-more]) #separator {display: none;} #rest-events {flex-grow: 1;position: relative;} #body.one-event #rest-events {display: none;} #rest-events #table table {cursor: pointer;} .when-date-column {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .when-weekday-column,.when-time-column {display: none;} .when-time-column {text-align: end;} .when-weekday-column,.when-time-column,.where-column {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .where-column-td {width: 100%;position: relative;} .where-column-td .where-column {position: absolute;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;left: 8px;right: 0;top: 4px;} .when-weekday-column #time {padding-left: 8px;} .link {color: var(--yt-spec-call-to-action);font-weight: 700;text-decoration: none;margin-right: 8px;float: right;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .venue-vendor-container {display: flex;} .venue {color: var(--yt-spec-text-secondary);overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} .vendor {color: var(--yt-spec-call-to-action);flex-shrink: 0;text-decoration: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .dot {color: var(--yt-spec-text-secondary);padding-left: 8px;padding-right: 8px;} .launch-icon {height: 16px;padding-bottom: 2px;width: 16px;} :host([showing-more]) .when-weekday-column {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([showing-more]) .when-time-column {display: inline-block;} #table table td {margin: 0;border: none;} #table table tr td>div:first-child {padding-left: 8px;white-space: nowrap;} #table a {text-decoration: none;cursor: pointer;} #show-more-button>div,#show-less-button>div {margin-left: 8px;color: var(--yt-spec-text-secondary);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #table table td,#show-more-button>div,#show-less-button>div {padding: 4px 0;} #rest-events tr:hover {background-color: var(--yt-spec-10-percent-layer);} #show-more-button,#show-less-button {display: none;} :host([can-show-more]) #show-more-button {display: block;} :host([showing-more]) #show-more-button {display: none;} :host([showing-more]) #show-less-button {display: block;} :host([showing-more]) #body {-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host([showing-more]) #primary-event {flex-grow: 1;width: 100%;} @media(max-width:656px) {#primary-event {max-width: 100%;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;}#body {-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;}} #calendar-avatar,#nearest-with-location {cursor: pointer;} #calendar-avatar-day,#calendar-avatar-month {text-align: center;vertical-align: middle;width: 64px;} #calendar-avatar-day {background-color: var(--yt-spec-static-brand-white);height: 27px;width: 48px;display: flex;justify-content: center;align-items: center;} #calendar-avatar-month {background-color: #606060;height: 21px;width: 48px;display: flex;justify-content: center;align-items: center;} #calendar-avatar-day-text {color: var(--yt-spec-static-brand-black);font-size: 20px;line-height: 34px;} #calendar-avatar-month-text {color: var(--yt-spec-static-brand-white);font-size: 12px;line-height: 30px;text-transform: uppercase;} /*# sourceMappingURL=ytd-ticket-shelf-renderer.css.map*/</style>';
IQb=d}d=IQb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JQb=a}a=JQb;return a}}});
var X7=W7;X7.prototype.showingMoreChanged=X7.prototype.showingMoreChanged;X7.prototype.dataChanged=X7.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],X7.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],X7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],X7.prototype,"firstEvent",void 0);_.S([_.N(),_.T("design:type",Object)],X7.prototype,"restEvents",void 0);_.S([_.N(),_.T("design:type",String)],X7.prototype,"imageUrl",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],X7.prototype,"showingMore",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],X7.prototype,"canShowMore",void 0);_.S([_.N({value:_.x("kevlar_autofocus_menu_on_keyboard_nav")}),_.T("design:type",Boolean)],X7.prototype,"focusOnFirstMenuItemOnKeyboardNav",void 0);_.S([_.N(),_.T("design:type",HTMLElement)],X7.prototype,"popupPositionTarget",void 0);
_.S([_.Z("#banner-info-tooltip"),_.T("design:type",Object)],X7.prototype,"infoTooltip",void 0);_.S([_.Z("#info-container"),_.T("design:type",HTMLElement)],X7.prototype,"infoContainer",void 0);_.S([_.Z("#shelf-toggler"),_.T("design:type",HTMLElement)],X7.prototype,"shelfToggleButton",void 0);_.S([_.N(),_.T("design:type",String)],X7.prototype,"shelfTogglerLabelText",void 0);_.S([_.N(),_.T("design:type",String)],X7.prototype,"shelfTogglerIcon",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],X7.prototype,"dataChanged",null);_.S([_.Ct("showingMore"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],X7.prototype,"showingMoreChanged",null);X7=_.S([_.Q({asyncProperties:!0,is:"ytd-ticket-shelf-renderer"})],X7);
var Y7=function(a){_.uk.call(this);this.JSC$42630_watchApi=a;this.autonavCancelledBySignal=!1;KQb(this);LQb(this);MQb(this);NQb(this);this.updatePlayerWithAutonavState();this.autonavCancelledBySignal=!1;this.updatePlayerWithAutonavState()};
_.q(Y7,_.uk);var MQb=function(a){var b=function(){a.updatePlayerWithAutonavState()};
a.JSC$42630_watchApi.getRoot().addEventListener("yt-player-updated",b);_.vk(a,function(){a.JSC$42630_watchApi.getRoot().removeEventListener("yt-player-updated",b)})},KQb=function(a){var b,c,d;
_.y(function(e){if(1==e.nextAddress)return _.B(e,a.JSC$42630_watchApi.playerApi,2);b=e.yieldResult;c=function(h){a.onPlayerAutonavChangeRequest(!!h)};
d=function(h){_.x("kevlar_player_update_autonav_on_new_data")&&"newdata"===h.type&&a.updatePlayerWithAutonavState()};
b.addEventListener("onAutonavChangeRequest",c);b.addEventListener("onVideoDataChange",d);_.vk(a,function(){b.removeEventListener("onAutonavChangeRequest",c);b.removeEventListener("onVideoDataChange",d)});
_.bf(e)})},LQb=function(a){Z7(a.JSC$42630_watchApi,"yt-signal-action-cancel-autonav",function(){a.autonavCancelledBySignal=!0;
a.updatePlayerWithAutonavState()});
Z7(a.JSC$42630_watchApi,"yt-autonav-state-changed-action",function(){a.updatePlayerWithAutonavState()});
_.vk(a,function(){$7(a.JSC$42630_watchApi,"yt-signal-action-cancel-autonav");$7(a.JSC$42630_watchApi,"yt-autonav-state-changed-action")})},NQb=function(a){var b=a.JSC$42630_watchApi.subscribe("PLAYER_RESPONSE_UPDATED",function(){a.autonavCancelledBySignal=!1;
a.updatePlayerWithAutonavState()}),c=a.JSC$42630_watchApi.subscribe("WATCH_NEXT_RESPONSE_UPDATED",function(){a.updatePlayerWithAutonavState()});
_.vk(a,function(){a.JSC$42630_watchApi.unsubscribeByKey(b);a.JSC$42630_watchApi.unsubscribeByKey(c)})};
Y7.prototype.onPlayerAutonavChangeRequest=function(a){OQb(this)&&(a=a?2:1,_.lF.getInstance().setState(a))};
var OQb=function(a){if(a.autonavCancelledBySignal)return!1;var b,c,d,e;return!!(null==(b=a.JSC$42630_watchApi.watchNextResponse)?0:null==(c=b.contents)?0:null==(d=c.twoColumnWatchNextResults)?0:null==(e=d.autoplay)?0:e.autoplay)};
Y7.prototype.updatePlayerWithAutonavState=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,a.JSC$42630_watchApi.playerApi,2);b=c.yieldResult;OQb(a)?b.setAutonavState(_.lF.getInstance().getState()):b.setAutonavState(1);_.bf(c)})};
var QQb=function(a){_.uk.call(this);var b=this;this.JSC$42636_watchApi=a;var c=this.JSC$42636_watchApi.subscribe("PLAYER_RESPONSE_UPDATED",function(){PQb(b)});
_.vk(this,function(){b.JSC$42636_watchApi.unsubscribeByKey(c)});
PQb(this)};
_.q(QQb,_.uk);
var PQb=function(a){var b=a.JSC$42636_watchApi.getPlayerResponse();var c=null==b?void 0:b.playabilityStatus;if(c){var d="OK"===c.status||"LIVE_STREAM_OFFLINE"===c.status;var e,h,l,m=null!=(l=null==(e=c.errorScreen)?void 0:e.playerLegacyDesktopYpcTrailerRenderer)?l:null==(h=c.errorScreen)?void 0:h.ypcTrailerRenderer,p;c=null==(p=c.errorScreen)?void 0:p.playerLegacyDesktopYpcOfferRenderer;d=!!d||!!m||!!c}else d=!1;if(!d){var r;var v=null==b?void 0:null==(r=b.playabilityStatus)?void 0:r.errorScreen}a.JSC$42636_watchApi.provideRenderingData("ERROR_SCREEN",
v)};
var a8=function(a){_.uk.call(this);var b=this;this.JSC$42639_watchApi=a;this.shouldShowFullerscreenEdu=this.fullerscreenEduButtonClickedThisPlayback=this.fullerscreenEduButtonShownThisPlayback=!1;a=_.sE(_.C7,function(c){RQb(b,c)});
_.vk(this,a);a=_.sE(gQb,function(c){SQb(b,c)});
_.vk(this,a);TQb(this);UQb(this);SQb(this,gQb(_.hh.getState()));_.x("external_fullscreen")&&this.JSC$42639_watchApi.dispatchEvent("yt-set-fullerscreen-styles")};
_.q(a8,_.uk);var TQb=function(a){Z7(a.JSC$42639_watchApi,"yt-fullscreen-change-action",function(b){_.hh.dispatch(_.Rg({type:"SET_IS_WATCH_FULLSCREEN",payload:{isWatchFullscreen:!!b}}))});
_.vk(a,function(){$7(a.JSC$42639_watchApi,"yt-fullscreen-change-action")})},UQb=function(a){var b,c;
_.y(function(d){if(1==d.nextAddress)return _.B(d,a.JSC$42639_watchApi.playerApi,2);b=d.yieldResult;c=function(){a.onFullerscreenEduClicked()};
b.addEventListener("onFullerscreenEduClicked",c);_.vk(a,function(){b.removeEventListener("onFullerscreenEduClicked",c)});
_.bf(d)})},RQb=function(a,b){var c;
_.y(function(d){if(1==d.nextAddress)return _.B(d,a.JSC$42639_watchApi.playerApi,2);c=d.yieldResult;c.setFauxFullscreen(!!_.dJ());if(b&&!a.fullerscreenEduButtonShownThisPlayback){a.fullerscreenEduButtonShownThisPlayback=!0;var e=_.Oo("yt-fullerscreen-edu-button-shown-count")||0;_.No("yt-fullerscreen-edu-button-shown-count",e+1,31536E3);a.updateFullerscreenEduButtonSubtleModeState()}_.bf(d)})},SQb=function(a,b){var c,d;
_.y(function(e){if(1==e.nextAddress)return _.x("external_fullscreen_with_edu")?_.B(e,a.JSC$42639_watchApi.playerApi,2):e.return();c=e.yieldResult;d=0>=b;a.shouldShowFullerscreenEdu!==d&&(a.shouldShowFullerscreenEdu=d,c.updateFullerscreenEduButtonVisibility(!a.shouldShowFullerscreenEdu));_.bf(e)})};
a8.prototype.onFullerscreenEduClicked=function(){this.JSC$42639_watchApi.scrollWatchTo(186,!0);if(!this.fullerscreenEduButtonClickedThisPlayback){this.fullerscreenEduButtonClickedThisPlayback=!0;var a=_.Oo("yt-fullerscreen-edu-button-click-count")||0;_.No("yt-fullerscreen-edu-button-click-count",a+1,31536E3);this.updateFullerscreenEduButtonSubtleModeState()}};
a8.prototype.updateFullerscreenEduButtonSubtleModeState=function(){var a=this,b,c,d,e,h,l;return _.y(function(m){if(1==m.nextAddress)return b=_.Oo("yt-fullerscreen-edu-button-click-count")||0,c=_.Oo("yt-fullerscreen-edu-button-shown-count")||0,d=_.hd("external_fullscreen_button_click_threshold"),e=_.hd("external_fullscreen_button_shown_threshold"),h=b>=d||c>=e,_.B(m,a.JSC$42639_watchApi.playerApi,2);l=m.yieldResult;l.updateFullerscreenEduButtonSubtleModeState(h);_.bf(m)})};
a8.prototype.disposeInternal=function(){_.uk.prototype.disposeInternal.call(this);var a=_.dJ();_.x("kevlar_exit_fullscreen_leaving_watch")&&a&&_.z7(a)};
var YQb=function(a){_.uk.call(this);var b=this;this.JSC$42642_watchApi=a;a=_.sE(_.A7,function(c){VQb(b);_.Ld("wide",c?"1":"0",-1);_.C(b.JSC$42642_watchApi.getRoot(),"yt-close-popup-action",["yt-tooltip-renderer"]);b.JSC$42642_watchApi.dispatchEvent("yt-set-theater-mode-enabled",{enabled:c})});
_.vk(this,a);WQb(this);XQb(this);_.hh.dispatch(lQb(_.fd("START_IN_THEATER_MODE")))};
_.q(YQb,_.uk);var WQb=function(a){var b,c;_.y(function(d){if(1==d.nextAddress)return _.B(d,a.JSC$42642_watchApi.playerApi,2);b=d.yieldResult;c=function(e){_.hh.dispatch(lQb(!!e))};
b.addEventListener("SIZE_CLICKED",c);_.vk(a,function(){b.removeEventListener("SIZE_CLICKED",c)});
_.bf(d)})},XQb=function(a){Z7(a.JSC$42642_watchApi,"yt-toggle-theater-mode",function(){var b=!a.getState();
_.hh.dispatch(lQb(b))});
Z7(a.JSC$42642_watchApi,"yt-is-theater",function(){return a.getState()});
_.vk(a,function(){$7(a.JSC$42642_watchApi,"yt-toggle-theater-mode");$7(a.JSC$42642_watchApi,"yt-is-theater")})};
YQb.prototype.getState=function(){return _.A7(_.hh.getState())};
var VQb=function(a){var b;_.y(function(c){if(1==c.nextAddress)return _.B(c,a.JSC$42642_watchApi.playerApi,2);b=c.yieldResult;b.setSizeStyle(!0,a.getState());_.bf(c)})};
var $Qb=function(a){_.uk.call(this);var b=this;this.JSC$42645_watchApi=a;var c=this.JSC$42645_watchApi.subscribe("WATCH_NEXT_RESPONSE_UPDATED",function(){ZQb(b)});
_.vk(this,function(){b.JSC$42645_watchApi.unsubscribeByKey(c)});
ZQb(this)};
_.q($Qb,_.uk);
var ZQb=function(a){var b,c,d,e,h=a.JSC$42645_watchApi.watchNextResponse,l,m,p,r,v=null==h?void 0:null==(l=h.contents)?void 0:null==(m=l.twoColumnWatchNextResults)?void 0:null==(p=m.results)?void 0:null==(r=p.results)?void 0:r.contents;if(v)for(l=_.k(v),m=l.next();!m.done;m=l.next())if(m=m.value,m.videoPrimaryInfoRenderer)var z=m;else if(m.videoSecondaryInfoRenderer)var A=m;else if(m.merchandiseShelfRenderer)var D=m;else if(m.ticketShelfRenderer)var E=m;else if(m.itemSectionRenderer&&(m=m.itemSectionRenderer.contents))for(m=
_.k(m),p=m.next();!p.done;p=m.next())p=p.value,p.commentsEntryPointHeaderRenderer?b=p:p.clarificationRenderer||p.infoPanelContainerRenderer||p.infoPanelContentRenderer||p.emergencyOneboxRenderer?c=p:p.limitedStateMessageRenderer&&(e=p);var J,R,da,sa;(h=null==h?void 0:null==(J=h.contents)?void 0:null==(R=J.twoColumnWatchNextResults)?void 0:null==(da=R.secondaryResults)?void 0:null==(sa=da.secondaryResults)?void 0:sa.offerModule)&&(h.donationShelfRenderer||h.donationUnavailableRenderer)&&(d=h);a.JSC$42645_watchApi.provideRenderingData("PRIMARY_INFO",
z);a.JSC$42645_watchApi.provideRenderingData("SECONDARY_INFO",A);a.JSC$42645_watchApi.provideRenderingData("COMMENTS_ENTRY_POINT_HEADER",b);a.JSC$42645_watchApi.provideRenderingData("CLARIFICATION",c);a.JSC$42645_watchApi.provideRenderingData("MERCH_SHELF",D);a.JSC$42645_watchApi.provideRenderingData("TICKET_SHELF",E);a.JSC$42645_watchApi.provideRenderingData("LIMITED_STATE",e);a.JSC$42645_watchApi.provideRenderingData("DONATION_SHELF",d)};
var aRb=function(a){_.uk.call(this);var b=this;this.JSC$42649_watchApi=a;a=_.sE(B7,function(c){b.onActiveChanged(c)});
_.vk(this,a);this.onActiveChanged(B7(_.hh.getState()))};
_.q(aRb,_.uk);aRb.prototype.onActiveChanged=function(a){a&&((a=document.querySelector("#watch-page-skeleton"))&&_.Hb(a),bRb(this),document.body.removeAttribute("no-y-overflow"),_.fd("IS_SHELL_LOAD")&&_.gDb())};
var bRb=function(a){_.y(function(b){if(1==b.nextAddress)return _.B(b,a.JSC$42649_watchApi.playerApi,2);_.dQb();_.bf(b)})};
var eRb=function(a){_.uk.call(this);this.JSC$42652_watchApi=a;cRb(this);dRb(this)};
_.q(eRb,_.uk);var cRb=function(a){Z7(a.JSC$42652_watchApi,"yt-activate-miniplayer-from-watch-action",function(){a.activateMiniplayer()});
_.vk(a,function(){$7(a.JSC$42652_watchApi,"yt-activate-miniplayer-from-watch-action")})},dRb=function(a){var b,c;
_.y(function(d){if(1==d.nextAddress)return _.B(d,a.JSC$42652_watchApi.playerApi,2);b=d.yieldResult;c=function(){a.activateMiniplayer()};
b.addEventListener("onCollapseMiniplayer",c);_.vk(a,function(){b.removeEventListener("onCollapseMiniplayer",c)});
_.bf(d)})};
eRb.prototype.activateMiniplayer=function(){var a=this,b,c,d;return _.y(function(e){if(1==e.nextAddress)return b=_.Eg().resolve(_.Co),c=b.data,d=_.HG(c.response),_.Qv.getInstance().miniplayerButtonActivation=!0,_.C(a.JSC$42652_watchApi.getRoot(),"yt-collapse-miniplayer-action"),_.B(e,_.Qv.getInstance().navigationFinishPromise,2);_.C(a.JSC$42652_watchApi.getRoot(),"yt-activate-miniplayer-action",[a.JSC$42652_watchApi.getElement("PLAYER"),d,c]);_.Qv.getInstance().userActivation=!0;_.bf(e)})};
var b8=function(a){_.uk.call(this);this.JSC$42655_watchApi=a;fRb(this);gRb(this)};
_.q(b8,_.uk);var gRb=function(a){var b,c;_.y(function(d){if(1==d.nextAddress)return _.B(d,a.JSC$42655_watchApi.playerApi,2);b=d.yieldResult;c=function(e){a.onPlayerPlayVideo(e)};
b.addEventListener("onPlayVideo",c);_.vk(a,function(){b.removeEventListener("onPlayVideo",c)});
_.bf(d)})},fRb=function(a){var b=function(c){a.onYtNavigate(c)};
a.JSC$42655_watchApi.getRoot().addEventListener("yt-navigate",b);_.vk(a,function(){a.JSC$42655_watchApi.getRoot().removeEventListener("yt-navigate",b)})};
b8.prototype.onPlayerPlayVideo=function(a){var b;a.sessionData&&a.sessionData.itct&&(b=a.sessionData.itct);var c=a.watchEndpoint;if(c&&a.sessionData&&a.sessionData.autonav)c=_.FG(c,b);else{var d;c=_.kh(a.videoId,null!=(d=a.listId)?d:void 0,b)}b={endpoint:c};a.sessionData&&(b.tempData=a.sessionData);this.JSC$42655_watchApi.dispatchEvent("yt-navigate",b)};
b8.prototype.onYtNavigate=function(a){var b=this,c,d,e,h,l,m,p,r,v;return _.y(function(z){if(1==z.nextAddress){if(!(null==(c=a.detail)?0:null==(d=c.endpoint)?0:d.watchEndpoint))return z.return();e=a.detail.endpoint.watchEndpoint;h=b.JSC$42655_watchApi.watchNextResponse;p=null==(l=h)?void 0:null==(m=l.currentVideoEndpoint)?void 0:m.watchEndpoint;if(!p)return z.return();if(e.videoId!==p.videoId||e.playlistId&&e.playlistId!==p.playlistId||"number"!==typeof e.startTimeSeconds)return z.jumpTo(0);a.stopPropagation();
b.JSC$42655_watchApi.scrollWatchTo(0,!0);return _.B(z,b.JSC$42655_watchApi.playerApi,3)}r=z.yieldResult;v=e.startTimeSeconds;r.seekTo(v);r.wakeUpControls();v<r.getDuration()&&r.playVideo();_.bf(z)})};
var lRb=function(a){_.uk.call(this);var b=this;this.JSC$42658_watchApi=a;a=_.sE(_.eQb,function(){hRb(b)});
_.vk(this,a);a=_.sE(_.fQb,function(){hRb(b)});
_.vk(this,a);iRb(this);jRb(this);kRb()};
_.q(lRb,_.uk);var iRb=function(a){var b=function(d){_.hh.dispatch(_.Rg({type:"SET_IS_WATCH_NARROW_WIDTH",payload:{isWatchNarrowWidth:d.matches}}))},c=window.matchMedia("(max-width: "+(999+_.AH())+"px)");
c.addListener(b);_.vk(a,function(){c.removeListener(b)});
b(c)},jRb=function(a){Z7(a.JSC$42658_watchApi,"yt-window-resized",function(){kRb()});
_.vk(a,function(){$7(a.JSC$42658_watchApi,"yt-window-resized")})},kRb=function(){var a=_.fJ();
_.hh.dispatch(_.Rg({type:"SET_WATCH_WINDOW_SIZE",payload:{watchWindowSize:{width:a.width,height:a.height}}}))},hRb=function(a){var b;
_.y(function(c){if(1==c.nextAddress)return _.B(c,a.JSC$42658_watchApi.playerApi,2);b=c.yieldResult;b.setSize(NaN,NaN);_.bf(c)})};
var nRb=function(a){_.uk.call(this);this.JSC$42661_watchApi=a;mRb(this)};
_.q(nRb,_.uk);var mRb=function(a){Z7(a.JSC$42661_watchApi,"yt-loop-command",function(b){oRb(a,b)});
Z7(a.JSC$42661_watchApi,"yt-repeat-chapter-command",function(b){pRb(a,b)});
_.vk(a,function(){$7(a.JSC$42661_watchApi,"yt-loop-command");$7(a.JSC$42661_watchApi,"yt-repeat-chapter-command")})},oRb=function(a,b){var c;
_.y(function(d){if(1==d.nextAddress)return _.B(d,a.JSC$42661_watchApi.playerApi,2);c=d.yieldResult;b.loopCommand.loop?(c.setLoopRange({startTimeMs:Number(b.loopCommand.startTimeMs),endTimeMs:Number(b.loopCommand.endTimeMs),postId:b.loopCommand.postId,type:"clips"}),c.playVideo()):c.setLoopRange(null);_.bf(d)})},pRb=function(a,b){var c,d;
_.y(function(e){if(1==e.nextAddress)return _.B(e,a.JSC$42661_watchApi.playerApi,2);c=e.yieldResult;d=b.repeatChapterCommand.repeat;"REPEAT_CHAPTER_TYPE_ENABLE_REPEAT"===d?(c.setLoopRange({startTimeMs:Number(b.repeatChapterCommand.startTimeMs),endTimeMs:Number(b.repeatChapterCommand.endTimeMs),type:"repeatChapter"}),c.playVideo()):"REPEAT_CHAPTER_TYPE_DISABLE_REPEAT"===d&&c.setLoopRange(null);_.bf(e)})};
var rRb=function(a){_.uk.call(this);var b=this;this.JSC$42666_watchApi=a;var c=function(){qRb(b)},d=_.Eg().resolve(_.Go);
d.setPlaylistComponent(a.getElement("PLAYLIST_PANEL"));d.setPlayer(this.JSC$42666_watchApi.getElement("PLAYER"));d.addEventListener("yt-playlist-data-updated",c);_.vk(this,function(){d.removeEventListener("yt-playlist-data-updated",c)});
qRb(this)};
_.q(rRb,_.uk);var qRb=function(a){var b=_.Eg().resolve(_.Go);a.JSC$42666_watchApi.provideRenderingData("PLAYLIST",b.getPlaylistData())};
var c8=function(a){_.uk.call(this);var b=this;this.JSC$42669_watchApi=a;this.onScroll=function(){b.scrollThrottle.fire()};
this.scrollThrottle=new _.wv(this.onThrottledScroll,200,this);_.wk(this,this.scrollThrottle);this.animation=new _.w_(function(c){b.JSC$42669_watchApi.getRoot().setScrollTop(c)});
a=_.sE(_.C7,function(){sRb(b)});
_.vk(this,a);tRb(this);uRb(this);this.onThrottledScroll()};
_.q(c8,_.uk);var sRb=function(a){var b=a.JSC$42669_watchApi.getRoot();!a.pageScrollElement&&b.pageScrollElement?(a.pageScrollElement=b.pageScrollElement,b.pageScrollElement.addEventListener("scroll",a.onScroll),_.vk(a,function(){a.pageScrollElement&&a.pageScrollElement.removeEventListener("scroll",a.onScroll)})):a.pageScrollElement&&!b.pageScrollElement&&(a.pageScrollElement.removeEventListener("scroll",a.onScroll),a.pageScrollElement=void 0)},tRb=function(a){window.addEventListener("scroll",a.onScroll);
_.vk(a,function(){window.removeEventListener("scroll",a.onScroll)})},uRb=function(a){Z7(a.JSC$42669_watchApi,"yt-scroll-to-watch-element",function(b){a:if(a.JSC$42669_watchApi.getRoot().contains(b)&&!a.animation.isAnimating_){var c=b.offsetTop-24;
b=b.offsetTop+b.offsetHeight+24;var d=a.JSC$42669_watchApi.getRoot().getPageScrollingElement(),e=a.JSC$42669_watchApi.getRoot().getScrollTop(),h=e+d.clientHeight-56;if(c<e+56)c-=56;else if(b>h)c=b-d.clientHeight;else break a;a.scrollWatchTo(Math.max(0,c),!0)}});
_.vk(a,function(){$7(a.JSC$42669_watchApi,"yt-scroll-to-watch-element")})};
c8.prototype.onThrottledScroll=function(){_.hh.dispatch(_.Rg({type:"SET_WATCH_SCROLL_TOP",payload:{watchScrollTop:this.JSC$42669_watchApi.getRoot().getScrollTop()}}))};
c8.prototype.scrollWatchTo=function(a,b){(void 0===b?0:b)?this.animation.start(this.JSC$42669_watchApi.getRoot().getScrollTop(),Math.max(0,a),500):this.JSC$42669_watchApi.getRoot().setScrollTop(a)};
var xRb=function(a){_.uk.call(this);var b=this;this.JSC$42672_watchApi=a;var c=this.JSC$42672_watchApi.subscribe("PLAYER_RESPONSE_UPDATED",function(){vRb(b)}),d=this.JSC$42672_watchApi.subscribe("WATCH_NEXT_RESPONSE_UPDATED",function(){wRb(b)});
_.vk(this,function(){b.JSC$42672_watchApi.unsubscribeByKey(c);b.JSC$42672_watchApi.unsubscribeByKey(d)});
vRb(this);wRb(this)};
_.q(xRb,_.uk);
var vRb=function(a){var b,c,d,e=null!=(d=null==(b=a.JSC$42672_watchApi.getPlayerResponse())?void 0:null==(c=b.videoDetails)?void 0:c.title)?d:"";a.JSC$42672_watchApi.dispatchEvent("yt-update-title",e)},wRb=function(a){if(_.x("enable_alc_titles_from_watch_next")){var b,c,d,e,h,l,m,p=null==(m=(null!=(l=null==(b=a.JSC$42672_watchApi.watchNextResponse)?void 0:null==(c=b.contents)?void 0:null==(d=c.twoColumnWatchNextResults)?void 0:null==(e=d.results)?void 0:null==(h=e.results)?void 0:h.contents)?l:[]).find(function(r){return!!r.videoPrimaryInfoRenderer}))?
void 0:m.videoPrimaryInfoRenderer;
(b=_.qi(null==p?void 0:p.title))&&a.JSC$42672_watchApi.dispatchEvent("yt-update-title",b)}};
var Z7,$7;_.d8=function(a){_.gJ.call(this);var b=this;this.JSC$42675_rootElement=a;this.JSC$42675_activeModules=[];this.TEST_ONLY={getActiveModules:function(){return b.JSC$42675_activeModules}};
yRb(this);a=_.sE(B7,function(c){zRb(b,c)});
_.vk(this,a);zRb(this,B7(_.hh.getState()))};
_.q(_.d8,_.gJ);_.d8.prototype.getRoot=function(){return this.JSC$42675_rootElement};
_.d8.prototype.getElement=function(a){return this.JSC$42675_rootElement.getElement(a)};
_.e8=function(a,b){a.playerResponse=b;a.JSC$62287_publish("PLAYER_RESPONSE_UPDATED",b)};
_.d8.prototype.getPlayerResponse=function(){return this.playerResponse};
_.f8=function(a,b){a.watchNextResponse=b;a.JSC$62287_publish("WATCH_NEXT_RESPONSE_UPDATED",b)};
Z7=function(a,b,c){var d={};_.l6a(_.Io.getInstance(),(d[b]=c,d),a.getRoot())};
$7=function(a,b){var c={};_.HHa(_.Io.getInstance(),(c[b]=!0,c),a.getRoot())};
_.d8.prototype.dispatchEvent=function(a,b){this.JSC$42675_rootElement.fire(a,b)};
_.d8.prototype.provideRenderingData=function(a,b){this.JSC$42675_rootElement.provideRenderingData(a,b)};
_.d8.prototype.scrollWatchTo=function(a,b){var c;null==(c=this.watchScrollManager)||c.scrollWatchTo(a,b)};
var g8=function(a){return"ytd-watch-flexy"===a.getRoot().is},h8=function(a){return"ytd-watch-fixie"===a.getRoot().is},yRb=function(a){if(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_theater_manager")){var b=new YQb(a);
_.wk(a,b)}if(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_loading_state_manager"))b=new aRb(a),_.wk(a,b)},zRb=function(a,b){if(b){(h8(a)||g8(a)&&_.x("kevlar_watch_contents_data_provider"))&&a.JSC$42675_activeModules.push(new $Qb(a));
if(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_scroll_manager"))a.watchScrollManager=new c8(a),a.JSC$42675_activeModules.push(a.watchScrollManager);(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_scroll_manager")&&_.x("kevlar_watch_flexy_fullscreen_manager"))&&a.JSC$42675_activeModules.push(new a8(a));(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_navigation_manager"))&&a.JSC$42675_activeModules.push(new b8(a));(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_autonav_manager"))&&a.JSC$42675_activeModules.push(new Y7(a));h8(a)&&a.JSC$42675_activeModules.push(new lRb(a));
(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_title_manager"))&&a.JSC$42675_activeModules.push(new xRb(a));(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_miniplayer_manager"))&&a.JSC$42675_activeModules.push(new eRb(a));(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_error_screen_data_provider"))&&a.JSC$42675_activeModules.push(new QQb(a));(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_playlist_manager"))&&a.JSC$42675_activeModules.push(new rRb(a));(h8(a)||g8(a)&&_.x("kevlar_watch_flexy_player_loop_manager"))&&a.JSC$42675_activeModules.push(new nRb(a))}else _.Kb(a.JSC$42675_activeModules),
a.JSC$42675_activeModules.length=0,a.watchScrollManager=void 0};
_.d8.prototype.disposeInternal=function(){_.gJ.prototype.disposeInternal.call(this);zRb(this,!1)};
_.t.Object.defineProperties(_.d8.prototype,{playerApi:{configurable:!0,enumerable:!0,get:function(){return this.getRoot().getPlayer().getPlayerPromise()}}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2f");

var xPb;
var yPb;
var zPb;
var APb;
_.Ng({is:"yt-player-error-message-renderer",_template:function(){if(void 0!==APb)return APb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-player-error-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.player.yt_player_error_message_renderer.yt.player.error.message.renderer.css.js--\x3e<div id="player-error-message-container" hidden="[[showSpinner]]">\n  <yt-icon id="icon" hidden="[[!icon_]]" icon="[[icon_]]"></yt-icon>\n  <div id="info">\n    <div id="reason">[[getSimpleString(data.reason)]]</div>\n    <yt-formatted-string id="subreason" text="[[data.subreason]]"></yt-formatted-string>\n    <yt-formatted-string id="more" text="[[data.learnMore]]"></yt-formatted-string>\n    <div id="buttons">\n      <div id="dismiss-button"></div>\n      <div id="button"></div>\n    </div>\n  </div>\n</div>\n<div id="spinner" hidden="[[!showSpinner]]">\n  <tp-yt-paper-spinner-lite active=""></tp-yt-paper-spinner-lite>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.player.yt_player_error_message_renderer.yt.player.error.message.renderer.css.js--\x3e<style>:host {display: block;overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #player-error-message-container {width: 100%;height: 100%;display: block;overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host(:not([has-icon_])) #info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host(:not([has-icon_])) #reason {margin-bottom: var(--ytd-margin-2x);} :host(:not([has-icon_])) #buttons {margin-top: var(--ytd-margin-3x);} :host([sign-in-icon_]) #icon {margin-right: var(--ytd-neg-margin-7x);} #reason {color: var(--yt-spec-static-brand-white);@apply --ytd-channel-title;} #subreason,#more {--yt-endpoint-color: var(--yt-spec-static-overlay-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-static-overlay-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-static-overlay-call-to-action);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-static-brand-white));} #subreason {display: block;} yt-icon {--iron-icon-fill-color: var(--yt-deprecated-white-opacity-lighten-2);-ms-flex: none;-webkit-flex: none;flex: none;height: 144px;width: 144px;} yt-button-renderer {margin: var(--ytd-margin-4x) var(--ytd-margin-3x) 0 0;} tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-spec-static-brand-white);--paper-spinner-stroke-width: 6px;height: 64px;width: 64px;} #info {padding: 0 0 0 var(--ytd-margin-6x);overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 0 auto;-webkit-flex: 1 0 auto;flex: 0 1 auto;} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} @media(max-width:615px) {yt-icon {display: none;}#reason {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}#subreason {display: -webkit-box;max-height: 4rem;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;white-space: pre-wrap;-webkit-line-clamp: 2;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);}} /*# sourceMappingURL=yt-player-error-message-renderer.css.map*/</style>";
zPb=d}d=zPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return APb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior,_.lJ.YtConditionalRendererBehavior],properties:{data:Object,icon_:{type:String,computed:"computeIcon_(data.icon)"},hasIcon_:{type:Boolean,reflectToAttribute:!0,computed:"computeHasIcon_(icon_)"},signInIcon_:{type:Boolean,reflectToAttribute:!0,computed:"isSignInIcon_(icon_)"}},stampDom:{"data.proceedButton":{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"yt-button-renderer"}}},
computeHasIcon_:function(a){return!!a},
isSignInIcon_:function(a){return"yt-icons:prompted_sign_in"==a}});
var BPb;
var CPb;
_.Ng({is:"yt-player-kav-renderer",_template:function(){if(void 0!==CPb)return CPb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-player-kav-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.player.yt_player_kav_renderer.yt.player.kav.renderer.css.js--\x3e<yt-icon icon="[[icon_]]"></yt-icon>\n<div id="info">\n  <div class="reason">[[getSimpleString(data.reason)]]</div>\n  <div class="subreason">[[getSimpleString(data.subreason)]]</div>\n  <yt-formatted-string class="more" text="[[data.learnMore]]"></yt-formatted-string>\n  <div id="button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.player.yt_player_kav_renderer.yt.player.kav.renderer.css.js--\x3e<style>:host {display: block;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .reason {color: var(--yt-spec-static-overlay-text-primary);@apply --ytd-channel-title;} .subreason,.more {--yt-endpoint-color: var(--yt-spec-static-overlay-text-primary);color: var(--yt-spec-static-overlay-text-primary);} yt-icon {color: var(--yt-spec-brand-icon-inactive);width: 144px;height: 144px;padding-right: var(--ytd-margin-6x);} yt-button-renderer {margin: var(--ytd-margin-4x) 0 0 0;} #info {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=yt-player-kav-renderer.css.map*/</style>";
BPb=d}d=BPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return CPb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object,icon_:{type:String,computed:"computeIcon_(data.icon)"}},stampDom:{"data.proceedButton":{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}}},computeIcon_:function(a){return a?"yt-icons:"+a.iconType.toLowerCase():"error_outline"}});
_.Ng({is:"yt-playability-error-supported-renderers",_template:function(){if(void 0!==yPb)return yPb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-playability-error-supported-renderers--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.player.yt_playability_error_supported_renderers.yt.playability.error.supported.renderers.css.js--\x3e<div id="container"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.player.yt_playability_error_supported_renderers.yt.playability.error.supported.renderers.css.js--\x3e<style>:host {display: block;background: black;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #reason {color: var(--yt-spec-static-brand-white);} yt-player-error-message-renderer,yt-player-kav-renderer {width: 100%;height: 100%;-ms-flex: none;-webkit-flex: none;flex: none;} #container {width: 100%;height: 100%;} :host([inline-sign-in]) #container {padding-top: 0;} :host([inline-sign-in]) #sign-in {display: block;} /*# sourceMappingURL=yt-playability-error-supported-renderers.css.map*/</style>";
xPb=d}d=xPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return yPb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior,_.Y.YtActionHandlerBehavior],actionMap:{"yt-update-player-error-message-command":"onUpdatePlayerErrorMessageCommand_"},properties:{data:Object,status:String},stampDom:{data:{id:"container",mapping:{playerErrorMessageRenderer:"yt-player-error-message-renderer",playerKavRenderer:"yt-player-kav-renderer"}}},onUpdatePlayerErrorMessageCommand_:function(a){if(a.updatePlayerErrorMessageCommand){var b;if(a=null==(b=a.updatePlayerErrorMessageCommand)?
void 0:b.newPlayerErrorMessageRenderer)this.data=a}}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2c");

/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var YNb=_.Pi(["\n    <style>\n      :host {\n        display: block;\n      }\n\n      :host > ::slotted(:not(slot):not(.iron-selected)) {\n        display: none !important;\n      }\n    </style>\n\n    <slot></slot>\n"]);_.Ng({_template:_.Vm(YNb),is:"iron-pages",behaviors:[_.xx,_.ux],properties:{activateEvent:{type:String,value:null}},observers:["_selectedPageChanged(selected)"],_selectedPageChanged:function(){this.async(this.notifyResize)}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2b");

var PKb;
var QKb;
_.Ng({is:"yt-alert-renderer",_template:function(){if(void 0!==QKb)return QKb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-alert-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_alert_renderer.yt.alert.renderer.css.js--\x3e<div id="container" class$="[[data.type]]">\n  <yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PKb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_alert_renderer.yt.alert.renderer.css.js--\x3e<style>:host {display: block;} .WARNING {background-color: #f5d562;} .ERROR {background-color: #b91f1f;} .SUCCESS {background-color: #167ac6;} .INFO {background-color: #167ac6;} #container {padding: var(--ytd-margin-3x);} yt-formatted-string {color: #FFF;font-weight: bold;font-size: 13px;} .WARNING yt-formatted-string {color: #000;} /*# sourceMappingURL=yt-alert-renderer.css.map*/</style>";
PKb=d}d=PKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return QKb=a},
properties:{data:Object}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy2a");

var x3,FKb,GKb,HKb,IKb,JKb,LKb,NKb,MKb,KKb;x3=function(a){return Math.round(_.Bu()+a)};
FKb=function(){var a;if(_.x("csi_use_performance_navigation_timing")){var b,c,d,e=null==_.gi?void 0:null==(a=_.gi.getEntriesByType)?void 0:null==(b=a.call(_.gi,"navigation"))?void 0:null==(c=b[0])?void 0:null==(d=c.toJSON)?void 0:d.call(c);e?(e.requestStart=x3(e.requestStart),e.responseEnd=x3(e.responseEnd),e.redirectStart=x3(e.redirectStart),e.redirectEnd=x3(e.redirectEnd),e.domainLookupEnd=x3(e.domainLookupEnd),e.connectStart=x3(e.connectStart),e.connectEnd=x3(e.connectEnd),e.responseStart=x3(e.responseStart),
e.secureConnectionStart=x3(e.secureConnectionStart),e.domainLookupStart=x3(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=_.gi.timing}else a=_.gi.timing;return a};
GKb=function(a,b){for(var c=_.k(Object.keys(b)),d=c.next();!d.done;d=c.next())if(d=d.value,!Object.keys(a).includes(d)||"object"===typeof b[d]&&!GKb(a[d],b[d]))return!1;return!0};
HKb=function(){if(_.gi.getEntriesByType){var a=_.gi.getEntriesByType("paint");if(a=_.ht(a,function(b){return"first-paint"===b.name}))return x3(a.startTime)}a=_.gi.timing;
return a.msFirstPaint?Math.max(0,a.msFirstPaint):0};
IKb=function(){var a=window.location.protocol,b=_.gi.getEntriesByType("resource");b=_.St(b,function(c){return 0===c.name.indexOf(a+"//fonts.gstatic.com/s/")});
(b=_.gj(b,function(c,d){return d.duration>c.duration?d:c},{duration:0}))&&0<b.startTime&&0<b.responseEnd&&(_.fi("wffs",x3(b.startTime)),_.fi("wffe",x3(b.responseEnd)))};
JKb=function(a,b){a=document.querySelector(a);if(!a)return!1;var c="",d=a.nodeName;"SCRIPT"===d?(c=a.src,c||(c=a.getAttribute("data-timing-href"))&&(c=window.location.protocol+c)):"LINK"===d&&(c=a.href);_.yj()&&a.setAttribute("nonce",_.yj());return c?(a=_.gi.getEntriesByName(c))&&a[0]&&(a=a[0],c=_.Bu(),_.fi("rsf_"+b,c+Math.round(a.fetchStart)),_.fi("rse_"+b,c+Math.round(a.responseEnd)),void 0!==a.transferSize&&0===a.transferSize)?!0:!1:!1};
LKb=function(){var a=[];if(document.querySelector&&_.gi&&_.gi.getEntriesByName)for(var b in KKb)if(KKb.hasOwnProperty(b)){var c=KKb[b];JKb(b,c)&&a.push(c)}return a};
NKb=function(){var a=function(e){var h=FKb(),l=_.Bu();l&&(_.fi("srt",h.responseStart),1!==e.prerender&&_.fi("_start",l,void 0));e=HKb();0<e&&_.fi("fpt",e);e=FKb();e.isPerformanceNavigationTiming&&_.Qh({performanceNavigationTiming:!0});_.fi("nreqs",e.requestStart,void 0);_.fi("nress",e.responseStart,void 0);_.fi("nrese",e.responseEnd,void 0);0<e.redirectEnd-e.redirectStart&&(_.fi("nrs",e.redirectStart,void 0),_.fi("nre",e.redirectEnd,void 0));0<e.domainLookupEnd-e.domainLookupStart&&(_.fi("ndnss",
e.domainLookupStart,void 0),_.fi("ndnse",e.domainLookupEnd,void 0));0<e.connectEnd-e.connectStart&&(_.fi("ntcps",e.connectStart,void 0),_.fi("ntcpe",e.connectEnd,void 0));e.secureConnectionStart>=_.Bu()&&0<e.connectEnd-e.secureConnectionStart&&(_.fi("nstcps",e.secureConnectionStart,void 0),_.fi("ntcpe",e.connectEnd,void 0));_.gi&&"getEntriesByType"in _.gi&&IKb()},b=_.w("TIMING_INFO",{});
if(_.x("web_csi_via_jspb")){b=_.hHa(b);_.ei(b);b=_.Pla(_.Qla(new _.Th,!0),_.F[_.Cu(_.w("TIMING_ACTION"))]);var c=_.w("PREVIOUS_ACTION");c&&_.n(b,13,_.F[_.Cu(c)]);(c=_.w("CLIENT_PROTOCOL"))&&_.n(b,33,c);(c=_.w("CLIENT_TRANSPORT"))&&_.n(b,34,c);(c=_.fg())&&"UNDEFINED_CSN"!==c&&_.n(b,4,c);c=_.Du();1!==c&&-1!==c||_.n(b,6,!0);c=_.Mh();if("cold"===c.yt_lt&&(_.n(b,3,"cold"),a(c),a=LKb(),0<a.length))for(a=_.k(a),c=a.next();!c.done;c=a.next()){c=c.value;var d=new MKb;_.n(d,1,c);_.Sd(b,83,MKb,d)}_.ei(b)}else{for(c in b)b.hasOwnProperty(c)&&
_.Rh(c,b[c]);b={isNavigation:!0,actionType:_.Cu(_.w("TIMING_ACTION"))};if(c=_.w("PREVIOUS_ACTION"))b.previousAction=_.Cu(c);if(c=_.w("CLIENT_PROTOCOL"))b.httpProtocol=c;if(c=_.w("CLIENT_TRANSPORT"))b.transportProtocol=c;(c=_.fg())&&"UNDEFINED_CSN"!==c&&(b.clientScreenNonce=c);c=_.Du();if(1===c||-1===c)b.isVisible=!0;c=_.Mh();if("cold"===c.yt_lt&&(b.loadType="cold",a(c),a=LKb(),0<a.length))for(b.resourceInfo=[],a=_.k(a),c=a.next();!c.done;c=a.next())b.resourceInfo.push({resourceCache:c.value});_.Qh(b)}};
_.y3=function(a,b){_.Ph("").info.actionType=a;b&&_.ed("TIMING_AFT_KEYS",b);_.ed("TIMING_ACTION",a);NKb();a=_.Mh();b=_.Oh();if("cold"===a.yt_lt||"cold"===b.loadType){var c=_.Kh(),d=_.Nh();d=d.gelTicks?d.gelTicks:d.gelTicks={};for(var e in c)e in d||_.fi(e,c[e]);e={};c=!1;d=_.k(Object.keys(a));for(var h=d.next();!h.done;h=d.next())h=h.value,(h=_.Ola(h,a[h]))&&!GKb(_.Oh(),h)&&(_.jg(b,h),_.jg(e,h),c=!0);c&&_.Qh(e)}_.gHa(!0);a=_.w("TIMING_ACTION");_.ld("ytglobal.timingready_")&&a&&_.yu("_start")&&_.Ala()&&
_.Hla()};
MKb=function(a){_.G.call(this,a)};
_.q(MKb,_.G);_.z3=function(){var a=_.Ko();return _.Kza(a,["aa","eocs"],1)};
KKb={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'script[name="mobile-c3"]':"mcj",'link[rel="stylesheet"][name="mobile-c3"]':"mcc",'script[name="player-plasma-ias-phone/base"]':"mcppj",'script[name="player-plasma-ias-tablet/base"]':"mcptj",'link[rel="stylesheet"][name="mobile-polymer-player-ias"]':"mcpc",
'link[rel="stylesheet"][name="mobile-polymer-player-svg-ias"]':"mcpsc",'script[name="mobile_blazer_core_mod"]':"mbcj",'link[rel="stylesheet"][name="mobile_blazer_css"]':"mbc",'script[name="mobile_blazer_logged_in_users_mod"]':"mbliuj",'script[name="mobile_blazer_logged_out_users_mod"]':"mblouj",'script[name="mobile_blazer_noncore_mod"]':"mbnj","#player_css":"mbpc",'script[name="mobile_blazer_desktopplayer_mod"]':"mbpj",'link[rel="stylesheet"][name="mobile_blazer_tablet_css"]':"mbtc",'script[name="mobile_blazer_watch_mod"]':"mbwj"};
var OKb={};OKb.YtVisibilityRootBehavior=[_.tGa.YtVisibilityObserverBehavior,{isVisibilityRoot:!0,resetVisibilityRoot:function(){_.Jb(this.visibilityObserverForChild_)},
disconnectVisibilityRoot:function(){this.visibilityObserverForChild_&&this.visibilityObserverForChild_.disconnect("WEB"===_.w("INNERTUBE_CLIENT_NAME"))},
reconnectVisibilityRoot:function(){this.visibilityObserverForChild_&&this.visibilityObserverForChild_.reconnect();var a="WEB"!==_.w("INNERTUBE_CLIENT_NAME");_.x("kevlar_use_vimio_behavior")&&a&&_.Dza()}}];
_.A3={};_.A3.YtPageBehavior=[[{listeners:{"yt-get-context-provider":"getContextProvider_"},attached:function(){this.getProvidedContext()&&this.getProvidedContext().start()},
detached:function(){this.getProvidedContext()&&this.getProvidedContext().pause()},
getContextProvider_:function(a){a.detail.contextProvider=this;a.stopPropagation()},
getProvidedContext:function(){return null}},
{created:function(){this.pageContext=null},
getProvidedContext:function(){return this.pageContext}}],
OKb.YtVisibilityRootBehavior,{_noAccessors:!0,properties:{active:Boolean,data:Object,loading:Boolean},observers:["ytPageBehaviorActiveObserver_(active)"],created:function(){this.pageCount=0;this.readyResolver_=_.Sk();this.pageScrollElement=null;this.isVisibilityRoot=!0},
ready:function(){this.readyResolver_.resolve()},
getReady:function(){return this.readyResolver_.promise},
loadPage:function(a){var b=this;this.pageCount+=1;_.x("kevlar_use_vimio_behavior")&&("WEB"===_.w("INNERTUBE_CLIENT_NAME")?_.xe.addJob(function(){b.reconnectVisibilityRoot()},8):(this.disconnectVisibilityRoot(),this.reconnectVisibilityRoot()));
this.loadPage_(a)},
loadPage_:function(a){this.data=a},
ytPageBehaviorActiveObserver_:function(a){var b=this;_.x("kevlar_use_vimio_behavior")&&(a?"WEB"===_.w("INNERTUBE_CLIENT_NAME")?_.xe.addJob(function(){b.reconnectVisibilityRoot()},8):this.reconnectVisibilityRoot():this.disconnectVisibilityRoot())},
setScrollTop:function(a){if(!this.setScrollTopJobId_){var b=this;this.setScrollTopJobId_=window.requestAnimationFrame(function(){b.setScrollTopJobId_=0;var c=_.Eg().resolve(_.Cg(_.zo));c&&_.oHa(c);this.getPageScrollingElement().scrollTop=a}.bind(this))}},
getPageScrollingElement:function(){return this.pageScrollElement||_.Lt(document)},
getScrollTop:function(){return this.getPageScrollingElement().scrollTop}}];

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy22");

/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var vHb=function(){_.JH("ypcRedeemFlowStarted")},C1=function(a){_.JH("ypcRedeemFlowFailed",void 0,void 0,void 0,a)},wHb=function(a,b){a.raw=b;
return a},xHb=wHb(['\n    <style>\n      :host {\n        display: inline-block;\n        overflow: hidden;\n        position: relative;\n      }\n\n      #baseURIAnchor {\n        display: none;\n      }\n\n      #sizedImgDiv {\n        position: absolute;\n        top: 0px;\n        right: 0px;\n        bottom: 0px;\n        left: 0px;\n\n        display: none;\n      }\n\n      #img {\n        display: block;\n        width: var(--iron-image-width, auto);\n        height: var(--iron-image-height, auto);\n      }\n\n      :host([sizing]) #sizedImgDiv {\n        display: block;\n      }\n\n      :host([sizing]) #img {\n        display: none;\n      }\n\n      #placeholder {\n        position: absolute;\n        top: 0px;\n        right: 0px;\n        bottom: 0px;\n        left: 0px;\n\n        background-color: inherit;\n        opacity: 1;\n\n        @apply --iron-image-placeholder;\n      }\n\n      #placeholder.faded-out {\n        transition: opacity 0.5s linear;\n        opacity: 0;\n      }\n    </style>\n\n    <a id="baseURIAnchor" href="#"></a>\n    <div id="sizedImgDiv" role="img" hidden$="[[_computeImgDivHidden(sizing)]]" aria-hidden$="[[_computeImgDivARIAHidden(alt)]]" aria-label$="[[_computeImgDivARIALabel(alt, src)]]"></div>\n    <img id="img" alt$="[[alt]]" hidden$="[[_computeImgHidden(sizing)]]" crossorigin$="[[crossorigin]]" on-load="_imgOnLoad" on-error="_imgOnError">\n    <div id="placeholder" hidden$="[[_computePlaceholderHidden(preload, fade, loading, loaded)]]" class$="[[_computePlaceholderClassName(preload, fade, loading, loaded)]]"></div>\n'],
['\n    <style>\n      :host {\n        display: inline-block;\n        overflow: hidden;\n        position: relative;\n      }\n\n      #baseURIAnchor {\n        display: none;\n      }\n\n      #sizedImgDiv {\n        position: absolute;\n        top: 0px;\n        right: 0px;\n        bottom: 0px;\n        left: 0px;\n\n        display: none;\n      }\n\n      #img {\n        display: block;\n        width: var(--iron-image-width, auto);\n        height: var(--iron-image-height, auto);\n      }\n\n      :host([sizing]) #sizedImgDiv {\n        display: block;\n      }\n\n      :host([sizing]) #img {\n        display: none;\n      }\n\n      #placeholder {\n        position: absolute;\n        top: 0px;\n        right: 0px;\n        bottom: 0px;\n        left: 0px;\n\n        background-color: inherit;\n        opacity: 1;\n\n        @apply --iron-image-placeholder;\n      }\n\n      #placeholder.faded-out {\n        transition: opacity 0.5s linear;\n        opacity: 0;\n      }\n    </style>\n\n    <a id="baseURIAnchor" href="#"></a>\n    <div id="sizedImgDiv" role="img" hidden\\$="[[_computeImgDivHidden(sizing)]]" aria-hidden\\$="[[_computeImgDivARIAHidden(alt)]]" aria-label\\$="[[_computeImgDivARIALabel(alt, src)]]"></div>\n    <img id="img" alt\\$="[[alt]]" hidden\\$="[[_computeImgHidden(sizing)]]" crossorigin\\$="[[crossorigin]]" on-load="_imgOnLoad" on-error="_imgOnError">\n    <div id="placeholder" hidden\\$="[[_computePlaceholderHidden(preload, fade, loading, loaded)]]" class\\$="[[_computePlaceholderClassName(preload, fade, loading, loaded)]]"></div>\n']);
_.Ng({_template:_.Vm(xHb),is:"iron-image",properties:{src:{type:String,value:""},alt:{type:String,value:null},crossorigin:{type:String,value:null},preventLoad:{type:Boolean,value:!1},sizing:{type:String,value:null,reflectToAttribute:!0},position:{type:String,value:"center"},preload:{type:Boolean,value:!1},placeholder:{type:String,value:null,observer:"_placeholderChanged"},fade:{type:Boolean,value:!1},loaded:{notify:!0,readOnly:!0,type:Boolean,value:!1},loading:{notify:!0,readOnly:!0,type:Boolean,
value:!1},error:{notify:!0,readOnly:!0,type:Boolean,value:!1},width:{observer:"_widthChanged",type:Number,value:null},height:{observer:"_heightChanged",type:Number,value:null}},observers:["_transformChanged(sizing, position)","_loadStateObserver(src, preventLoad)"],created:function(){this._resolvedSrc=""},
_imgOnLoad:function(){this.$.img.src===this._resolveSrc(this.src)&&(this._setLoading(!1),this._setLoaded(!0),this._setError(!1))},
_imgOnError:function(){this.$.img.src===this._resolveSrc(this.src)&&(this.$.img.removeAttribute("src"),this.$.sizedImgDiv.style.backgroundImage="",this._setLoading(!1),this._setLoaded(!1),this._setError(!0))},
_computePlaceholderHidden:function(){return!this.preload||!this.fade&&!this.loading&&this.loaded},
_computePlaceholderClassName:function(){return this.preload&&this.fade&&!this.loading&&this.loaded?"faded-out":""},
_computeImgDivHidden:function(){return!this.sizing},
_computeImgDivARIAHidden:function(){return""===this.alt?"true":void 0},
_computeImgDivARIALabel:function(){return null!==this.alt?this.alt:""===this.src?"":this._resolveSrc(this.src).replace(/[?|#].*/g,"").split("/").pop()},
_computeImgHidden:function(){return!!this.sizing},
_widthChanged:function(){this.style.width=isNaN(this.width)?this.width:this.width+"px"},
_heightChanged:function(){this.style.height=isNaN(this.height)?this.height:this.height+"px"},
_loadStateObserver:function(a,b){var c=this._resolveSrc(a);c!==this._resolvedSrc&&(this._resolvedSrc="",this.$.img.removeAttribute("src"),this.$.sizedImgDiv.style.backgroundImage="",""===a||b?this._setLoading(!1):(this._resolvedSrc=c,this.$.img.src=this._resolvedSrc,this.$.sizedImgDiv.style.backgroundImage='url("'+this._resolvedSrc+'")',this._setLoading(!0)),this._setLoaded(!1),this._setError(!1))},
_placeholderChanged:function(){this.$.placeholder.style.backgroundImage=this.placeholder?'url("'+this.placeholder+'")':""},
_transformChanged:function(){var a=this.$.sizedImgDiv.style,b=this.$.placeholder.style;a.backgroundSize=b.backgroundSize=this.sizing;a.backgroundPosition=b.backgroundPosition=this.sizing?this.position:"";a.backgroundRepeat=b.backgroundRepeat=this.sizing?"no-repeat":""},
_resolveSrc:function(a){a=_.Xb(a,this.$.baseURIAnchor.href);2<=a.length&&"/"===a[0]&&"/"!==a[1]&&(a=(location.origin||location.protocol+"//"+location.host)+a);return a}});
var yHb;
var zHb;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==zHb)return zHb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-card--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_card.tp.yt.paper.card.css.js--\x3e<div class="header">\n  <iron-image hidden$="[[!image]]" aria-hidden$="[[_isHidden(image)]]" src="[[image]]" alt="[[alt]]" placeholder="[[placeholderImage]]" preload="[[preloadImage]]" fade="[[fadeImage]]"></iron-image>\n  <div hidden$="[[!heading]]" class$="title-text [[_computeHeadingClass(image)]]">\n    [[heading]]\n  </div>\n</div>\n\n<slot></slot>\n';
var b=a.content,c=b.insertBefore;if(void 0===yHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_card.tp.yt.paper.card.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/**\n@license\nCopyright (c) 2017 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  position: relative;\n  box-sizing: border-box;\n  background-color: var(--paper-card-background-color, var(--primary-background-color));\n  border-radius: 2px;\n  font-family: var(--paper-font-common-base_-_font-family);\n  -webkit-font-smoothing: var(--paper-font-common-base_-_-webkit-font-smoothing);\n  display: var(--paper-card-display, inline-block);\n}\n\n:host([hidden]),\n[hidden] {\n  display: none !important;\n}\n\n.header {\n  position: relative;\n  border-top-left-radius: inherit;\n  border-top-right-radius: inherit;\n  overflow: hidden;\n}\n\n.header iron-image {\n  display: block;\n  width: 100%;\n  --iron-image-width: 100%;\n  pointer-events: none;\n}\n\n.header .title-text {\n  color: var(--paper-card-header-color, #000);\n}\n\n.header .title-text.over-image {\n  position: absolute;\n  bottom: 0px;\n}\n\n:host ::slotted(.card-content) {\n  position: relative;\n}\n\n:host ::slotted(.card-actions) {\n  border-top: 1px solid #e8e8e8;\n  position: relative;\n}\n\n:host([elevation="1"]) {\n  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\n}\n\n:host([elevation="2"]) {\n  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="3"]) {\n  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="4"]) {\n  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.4);\n}\n\n:host([elevation="5"]) {\n  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);\n}\n\n/*# sourceMappingURL=tp-yt-paper-card.css.map */</style>';
yHb=d}d=yHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return zHb=a},
is:"tp-yt-paper-card",properties:{heading:{type:String,value:"",observer:"_headingChanged"},image:{type:String,value:""},alt:{type:String},preloadImage:{type:Boolean,value:!1},fadeImage:{type:Boolean,value:!1},placeholderImage:{type:String,value:null},elevation:{type:Number,value:1,reflectToAttribute:!0},animatedShadow:{type:Boolean,value:!1},animated:{type:Boolean,reflectToAttribute:!0,readOnly:!0,computed:"_computeAnimated(animatedShadow)"}},_isHidden:function(a){return a?"false":"true"},
_headingChanged:function(a){var b=this.getAttribute("heading"),c=this.getAttribute("aria-label");"string"===typeof c&&c!==b||this.setAttribute("aria-label",a)},
_computeHeadingClass:function(a){return a?" over-image":""},
_computeAnimated:function(a){return a}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var D1=function(){var a=_.vt.apply(this,arguments)||this;a.JSC$41829_currentPage=null;return a};
_.q(D1,_.vt);D1.prototype.attached=function(){this.JSC$41829_currentPage=_.Eg().resolve(_.Co).getCurrentPage();this.fire("yt-player-attached",this.$.player)};
D1.prototype.detached=function(){this.JSC$41829_currentPage.fire("yt-player-detached",this.$.player);this.JSC$41829_currentPage=null};
D1.prototype.dataChanged=function(){var a;if(null==(a=this.data)?0:a.videoId)a={video_id:this.data.videoId,autoplay:!0},this.data.playlistId&&(a.list=this.data.playlistId),this.data.playerParams&&(a.player_params=this.data.playerParams),this.$.player.loadVideoWithPlayerVars(a)};
var E1=D1;E1.prototype.dataChanged=E1.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],E1.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],E1.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],E1.prototype,"dataChanged",null);E1=_.S([_.wt()],E1);var AHb=[_.iu.YtComponentBehavior,_.U.YtRendererBehavior,E1.prototype];
var BHb;
var CHb;
var F1=function(){return _.K.apply(this,arguments)||this};
_.q(F1,_.K);F1.prototype.configureRendererStamper=function(){return{"data.actionMenu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
_.t.Object.defineProperties(F1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-history-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_history_entry_renderer.ytd.comment.history.entry.renderer.css.js--\x3e<div class="main">\n  <yt-formatted-string class="summary" text="[[data.summary]]"></yt-formatted-string>\n  <ytd-expander class="content-expander" hidden="[[!data.content]]" max-number-of-lines="4">\n    <yt-formatted-string class="content" slot="content" force-default-style="" split-lines="" text="[[data.content]]">\n    </yt-formatted-string>\n    <span class="more-button" slot="more-button">[[getSimpleString(data.readMoreText)]]</span>\n    <span class="less-button" slot="less-button">[[getSimpleString(data.showLessText)]]</span>\n  </ytd-expander>\n  <yt-formatted-string class="timestamp" text="[[data.timestamp]]"></yt-formatted-string>\n</div>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_history_entry_renderer.ytd.comment.history.entry.renderer.css.js--\x3e<style>:host {margin: 24px 40px 32px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([is-dismissed]) {display: none;} .main {min-width: 0;word-wrap: break-word;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .summary {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .content-expander {margin-top: 8px;} .content {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .more-button {color: var(--yt-spec-text-secondary);text-transform: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .less-button {color: var(--yt-spec-text-secondary);text-transform: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .timestamp {color: var(--yt-spec-text-secondary);margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} ytd-menu-renderer {margin-left: 8px;margin-right: 8px;padding: 8px;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} /*# sourceMappingURL=ytd-comment-history-entry-renderer.css.map*/</style>';
BHb=d}d=BHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CHb=a}a=CHb;return a}}});
var G1=F1;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],G1.prototype,"rendererBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],G1.prototype,"dismissibleItemBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],G1.prototype,"rendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],G1.prototype,"data",void 0);G1=_.S([_.Q({asyncProperties:!0,is:"ytd-comment-history-entry-renderer"})],G1);
var DHb;
var EHb;
_.$u("itemSectionRenderer","notificationRenderer","ytd-notification-renderer");_.$u("multiPageMenuSectionItems","notificationRenderer","ytd-notification-renderer");var H1=function(){return _.K.apply(this,arguments)||this};
_.q(H1,_.K);_.f=H1.prototype;_.f.configureRendererStamper=function(){return{"data.contextualMenu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.highPriorityNotificationActionButton":{id:"call-to-action",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.onKeyUp=function(a){if(13===a.keyCode)this.onTap()};
_.f.onTap=function(){_.Kg(this,[this.data.recordClickEndpoint]);var a=this.data.navigationEndpoint;a&&a.getCommentsFromInboxCommand&&_.Kg(this,[a])};
_.f.readChanged=function(a){this.toggleClass("unread",!a)};
_.f.dataChanged=function(){this.data&&this.toggleClass("high-priority-notification",this.data.highPriorityNotification)};
_.f.computeThumbnailSize=function(a){return a?32:48};
_.f.getEndpointURL=function(a){return a&&!a.getCommentsFromInboxCommand?this.componentBehavior.computeHref_(a):null};
_.f.getEndpointData=function(a){return a&&!a.getCommentsFromInboxCommand?a:null};
_.t.Object.defineProperties(H1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-notification-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.notification.ytd_notification_renderer.ytd.notification.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[getEndpointURL(data.navigationEndpoint)]]" data="[[getEndpointData(data.navigationEndpoint)]]" on-tap="onTap" tabindex="0" role="link">\n  <div id="new"></div>\n  <yt-img-shadow id="avatar" class="thumbnail " height="[[thumbnailSize]]" thumbnail="[[data.thumbnail]]" width="[[thumbnailSize]]">\n  </yt-img-shadow>\n  <div class="text">\n    <yt-formatted-string class="message" text="[[data.shortMessage]]"></yt-formatted-string>\n    <div id="call-to-action" hidden="[[!data.highPriorityNotificationActionButton]]"></div>\n    <div class="metadata">\n      <yt-formatted-string text="[[data.footer]]"></yt-formatted-string>\n      <yt-formatted-string text="[[data.sentTimeText]]"></yt-formatted-string>\n    </div>\n  </div>\n  <template is="dom-if" if="[[data.videoThumbnail]]">\n    <div class="thumbnail-container">\n      <yt-img-shadow thumbnail="[[data.videoThumbnail]]" width="86"></yt-img-shadow>\n    </div>\n  </template>\n</a>\n<div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.notification.ytd_notification_renderer.ytd.notification.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {position: relative;padding: 16px 16px 16px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} .yt-simple-endpoint {min-width: 0;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {margin-right: 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #new {width: 4px;height: 4px;border-radius: 2px;margin: 22px 6px 0;} :host(.unread) #new {background-color: var(--yt-spec-themed-blue);} :host(.high-priority-notification.unread) #new {background-color: transparent;} yt-img-shadow#avatar {height: 48px;width: 48px;} :host(.high-priority-notification) yt-img-shadow#avatar {height: 32px;width: 32px;margin-top: auto;margin-bottom: auto;} :host(.high-priority-notification)>a {margin-right: 0px;} :host(.high-priority-notification)>a>.text>.metadata {display: none;} :host(.high-priority-notification) yt-formatted-string.message {margin-bottom: 0px;} .thumbnail {margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} .text {color: var(--yt-spec-text-primary);min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .message {margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 12rem;overflow: hidden;display: block;-webkit-line-clamp: 6;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #call-to-action {margin-right: auto;margin-bottom: 10px;} .metadata {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .metadata>yt-formatted-string:not(:last-child):after {content: "\u2022";margin-left: 4px;} .thumbnail-container {margin: 0 16px;width: 86px;height: 48px;position: relative;overflow: hidden;display: block;-ms-flex: none;-webkit-flex: none;flex: none;} .thumbnail-container>yt-img-shadow {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} ytd-menu-renderer {position: absolute;top: 8px;right: 8px;} /*# sourceMappingURL=ytd-notification-renderer.css.map*/</style>';
DHb=d}d=DHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EHb=a}a=EHb;return a}}});
var I1=H1;I1.prototype.computeThumbnailSize=I1.prototype.computeThumbnailSize;I1.prototype.dataChanged=I1.prototype.dataChanged;I1.prototype.readChanged=I1.prototype.readChanged;I1.prototype.onKeyUp=I1.prototype.onKeyUp;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],I1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],I1.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],I1.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],I1.prototype,"data",void 0);_.S([_.N({computed:"computeThumbnailSize(data.highPriorityNotification)"}),_.T("design:type",Number)],I1.prototype,"thumbnailSize",void 0);_.S([_.O("keyup"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent]),_.T("design:returntype")],I1.prototype,"onKeyUp",null);
_.S([_.P("data.read"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],I1.prototype,"readChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],I1.prototype,"dataChanged",null);_.S([_.P("data.highPriorityNotification"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],I1.prototype,"computeThumbnailSize",null);
I1=_.S([_.Q({asyncProperties:!0,is:"ytd-notification-renderer"})],I1);
var FHb;
var GHb;
var J1=function(){return _.K.apply(this,arguments)||this};
_.q(J1,_.K);J1.prototype.configureRendererStamper=function(){return{"data.collection":{id:"dropdown",mapping:{sortFilterSubMenuRenderer:{component:"yt-sort-filter-sub-menu-renderer"}}},"data.actionButtons":{id:"action-buttons",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
J1.prototype.computeActionButtonClass=function(a){return!a.actionButtons||1>=a.actionButtons.length?"single-button":a.description?"vertical-buttons":"horizontal-buttons"};
_.t.Object.defineProperties(J1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===GHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-show-metadata-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_show_metadata_renderer.ytd.playlist.show.metadata.renderer.css.js--\x3e<div id="content-desc">\n  <div id="dropdown"></div>\n  <ytd-expander class="description" max-number-of-lines="2">\n    <yt-formatted-string id="description" class="content" slot="content" split-lines="" text="[[data.description]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="more-button" slot="more-button" role="button" text="[[data.showMoreText]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="less-button" slot="less-button" role="button" text="[[data.showLessText]]">\n    </yt-formatted-string>\n  </ytd-expander>\n</div>\n<div id="action-buttons" class$="[[computeActionButtonClass(data)]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_show_metadata_renderer.ytd.playlist.show.metadata.renderer.css.js--\x3e<style>:host {margin: 24px 64px 8px 40px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #content-desc {margin-right: 40px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #dropdown {margin-bottom: 12px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-sort-filter-sub-menu-renderer {--yt-dropdown-menu-label-transform: uppercase;color: var(--yt-spec-text-primary);} .vertical-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .vertical-buttons>ytd-button-renderer {margin-bottom: 16px;} .vertical-buttons>ytd-button-renderer:last-of-type {margin-bottom: 0px;} .horizontal-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} .horizontal-buttons>ytd-button-renderer {margin-bottom: 8px;margin-right: 16px;} .horizontal-buttons>ytd-button-renderer:last-of-type {margin-right: 0px;} #description {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .more-button,.less-button {color: var(--yt-spec-text-secondary);display: inline-block;margin-top: 8px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} /*# sourceMappingURL=ytd-playlist-show-metadata-renderer.css.map*/</style>';
FHb=d}d=FHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);GHb=a}a=GHb;return a}}});
var K1=J1;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],K1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],K1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],K1.prototype,"data",void 0);K1=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-show-metadata-renderer"})],K1);
var HHb;
var IHb;
_.$u("itemSectionRenderer","purchaseItemRenderer","ytd-purchase-item-renderer");var JHb=function(){return _.K.apply(this,arguments)||this};
_.q(JHb,_.K);
_.t.Object.defineProperties(JHb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===IHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-purchase-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_purchase_item_renderer.ytd.purchase.item.renderer.css.js--\x3e<a class="yt-simple-endpoint purchase-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <div class="thumb-container">\n    <yt-img-shadow fit="" thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n  </div>\n  <div class="details">\n    <yt-formatted-string class="title" text="[[data.title]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="price-text" no-endpoints="" text="[[data.priceText]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="manage-subscription-text" force-default-style="" text="[[data.manageSubscriptionText]]">\n    </yt-formatted-string>\n  </div>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===HHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_purchase_item_renderer.ytd.purchase.item.renderer.css.js--\x3e<style>:host {margin: 16px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .thumb-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;width: 246px;height: 138px;margin-right: 16px;} yt-img-shadow {width: 138px;-ms-flex: none;-webkit-flex: none;flex: none;} .details {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .manage-subscription-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} .title {color: var(--yt-spec-text-primary);display: block;margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} .price-text {color: var(--yt-spec-text-secondary);padding-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} .yt-simple-endpoint {display: block;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.purchase-endpoint.yt-simple-endpoint {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-purchase-item-renderer.css.map*/</style>';
HHb=d}d=HHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);IHb=a}a=IHb;return a}}});
var L1=JHb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],L1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],L1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],L1.prototype,"data",void 0);L1=_.S([_.Q({asyncProperties:!0,is:"ytd-purchase-item-renderer"})],L1);
var KHb;
var LHb;
var MHb={};MHb.YtSimpleTextSectionBehavior={properties:{data:Object,layoutStyle:{type:String,computed:"computeLayoutStyle_(data.layoutStyle)",reflectToAttribute:!0},role:{type:String,computed:"computeRole_(data.layoutStyle)",reflectToAttribute:!0}},created:function(){this.LAYOUT_STYLE_PREFIX_="SIMPLE_TEXT_LAYOUT_STYLE_"},
computeLayoutStyle_:function(a){if(a)return a.replace(this.LAYOUT_STYLE_PREFIX_,"").replace(/_/g,"-").toLowerCase()},
computeRole_:function(a){if("SIMPLE_TEXT_LAYOUT_STYLE_PAID_SUBSCRIPTION_TITLE"===a)return"heading"}};
_.$u("itemSectionRenderer","simpleTextSectionRenderer","ytd-simple-text-section-renderer");var M1=function(){return _.K.apply(this,arguments)||this};
_.q(M1,_.K);M1.prototype.onYtNavigate=function(a){var b=this.openPopupBehavior.getNavigationEndpointPopupAction(a.detail.endpoint);b&&(a.stopPropagation(),this.openPopupBehavior.openPopup(b))};
_.t.Object.defineProperties(M1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-simple-text-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_simple_text_section_renderer.ytd.simple.text.section.renderer.css.js--\x3e<template is="dom-repeat" items="[[data.lines]]">\n  <yt-formatted-string class="text" text="[[item]]"></yt-formatted-string>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_simple_text_section_renderer.ytd.simple.text.section.renderer.css.js--\x3e<style>:host {padding: 48px 0;width: 100%;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .text {color: var(--yt-spec-text-primary);width: 50%;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} :host([layout-style=paid-subscription-title]) {display: block;margin: 32px 0 16px;padding: 0;} :host([layout-style=paid-subscription-title]) .text {width: auto;color: var(--yt-spec-text-secondary);} :host([layout-style=premium-restrictions]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([layout-style=premium-restrictions]) .text {width: auto;padding: 8px 16px;} /*# sourceMappingURL=ytd-simple-text-section-renderer.css.map*/</style>';
KHb=d}d=KHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LHb=a}a=LHb;return a}}});
var N1=M1;N1.prototype.onYtNavigate=N1.prototype.onYtNavigate;_.S([_.L(MHb.YtSimpleTextSectionBehavior),_.T("design:type",Object)],N1.prototype,"ytSimpleTextSectionBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],N1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],N1.prototype,"openPopupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N1.prototype,"data",void 0);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],N1.prototype,"onYtNavigate",null);N1=_.S([_.Q({asyncProperties:!0,is:"ytd-simple-text-section-renderer"})],N1);
var NHb;
var OHb;
_.$u("itemSectionRenderer","unlimitedPageFeatureInfoRenderer","ytd-unlimited-page-feature-info-renderer");var PHb=function(){return _.K.apply(this,arguments)||this};
_.q(PHb,_.K);
_.t.Object.defineProperties(PHb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===OHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-unlimited-page-feature-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_unlimited_page_feature_info_renderer.ytd.unlimited.page.feature.info.renderer.css.js--\x3e<div class="content">\n  <yt-formatted-string class="info-head" text="[[data.title]]"></yt-formatted-string>\n  <template is="dom-repeat" items="[[data.descriptions]]">\n    <yt-formatted-string class="info-desc" text="[[item]]"></yt-formatted-string>\n  </template>\n</div>\n<yt-img-shadow class="icon-thumbnail" height="194" thumbnail="[[data.iconThumbnail]]" width="390">\n</yt-img-shadow>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===NHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_unlimited_page_feature_info_renderer.ytd.unlimited.page.feature.info.renderer.css.js--\x3e<style>:host {border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin: 0 auto;max-width: 1003px;min-height: 317px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} @media(max-width:800px) {:host {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;}} .content {padding: 24px 0;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .info-head {color: var(--yt-spec-text-primary);margin-bottom: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} .info-desc {color: var(--yt-spec-text-secondary);width: 385px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} .icon-thumbnail {-ms-align-self: center;-webkit-align-self: center;align-self: center;} /*# sourceMappingURL=ytd-unlimited-page-feature-info-renderer.css.map*/</style>';
NHb=d}d=NHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);OHb=a}a=OHb;return a}}});
var O1=PHb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],O1.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],O1.prototype,"data",void 0);O1=_.S([_.Q({asyncProperties:!0,is:"ytd-unlimited-page-feature-info-renderer"})],O1);
var QHb;
var RHb;
var SHb;
var THb;
var P1=function(){return _.K.apply(this,arguments)||this};
_.q(P1,_.K);P1.prototype.dataChanged=function(){if(this.data){var a=this.get("background.thumbnailLandscapePortraitRenderer.portrait.thumbnails",this.data);a&&(a=_.nu(a,screen.width),this.style.backgroundImage="url("+a+")")}};
_.t.Object.defineProperties(P1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===THb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-post-redemption-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.redeem_code.ytd_post_redemption_section_renderer.ytd.post.redemption.section.renderer.css.js--\x3e<div class="img-container">\n  <yt-img-shadow id="logo" height="25" thumbnail="[[data.logoImage.thumbnailLandscapePortraitRenderer.portrait]]">\n  </yt-img-shadow>\n</div>\n<div class="container">\n  <div class="title">[[getSimpleString(data.title)]]</div>\n  <ytd-button-renderer id="redeem-button" data="[[data.button.buttonRenderer]]">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.redeem_code.ytd_post_redemption_section_renderer.ytd.post.redemption.section.renderer.css.js--\x3e<style>:host {background-position: center center;background-repeat: no-repeat;background-size: contain;padding: 48px 24px 0;margin-bottom: 24px;width: 472px;height: 129px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .title {color: var(--yt-spec-static-brand-white);width: 65%;font-size: 2.6rem;font-weight: 400;font-family: "YouTube Sans","YT Sans";line-height: 3rem;-moz-osx-font-smoothing: grayscale;-webkit-font-smoothing: antialiased;} .img-container {height: 25px;margin-bottom: 24px;} #logo {background-repeat: no-repeat;background-size: contain;border-radius: 2px;} #redeem-button {-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} /*# sourceMappingURL=ytd-post-redemption-section-renderer.css.map*/</style>';
SHb=d}d=SHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);THb=a}a=THb;return a}}});
var Q1=P1;Q1.prototype.dataChanged=Q1.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Q1.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Q1.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Q1.prototype,"dataChanged",null);Q1=_.S([_.Q({asyncProperties:!0,is:"ytd-post-redemption-section-renderer"})],Q1);
var UHb;
var VHb;
var R1=function(){return _.K.apply(this,arguments)||this};
_.q(R1,_.K);R1.prototype.configureRendererStamper=function(){return{"data.sections":{id:"contents",mapping:{postRedemptionSectionRenderer:{component:"ytd-post-redemption-section-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(R1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ypc-post-redemption-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.redeem_code.ytd_ypc_post_redemption_renderer.ytd.ypc.post.redemption.renderer.css.js--\x3e<div id="store-value-balance">[[getSimpleString(data.storeValueBalance)]]</div>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.redeem_code.ytd_ypc_post_redemption_renderer.ytd.ypc.post.redemption.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);padding: 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #store-value-balance {margin-bottom: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} /*# sourceMappingURL=ytd-ypc-post-redemption-renderer.css.map*/</style>';
UHb=d}d=UHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VHb=a}a=VHb;return a}}});
var S1=R1;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],S1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],S1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],S1.prototype,"data",void 0);S1=_.S([_.Q({asyncProperties:!0,is:"ytd-ypc-post-redemption-renderer"})],S1);
_.$u("itemSectionRenderer","redeemCodeRenderer","ytd-redeem-code-renderer");var T1=function(){var a=_.K.apply(this,arguments)||this;a.MIN_CODE_LENGTH=12;a.MAX_CODE_LENGTH=24;return a};
_.q(T1,_.K);_.f=T1.prototype;_.f.configureRendererStamper=function(){return{postRedemptionRenderer:{id:"success-page",mapping:{ypcPostRedemptionRenderer:"ytd-ypc-post-redemption-renderer"}}}};
_.f.created=function(){this.riskService=new _.Q3a;this.loadPaymentThenable=_.N3a()};
_.f.ready=function(){var a=this;this.$.code.addEventListener("keypress",function(b){a.onCodeInputKeypress(b)})};
_.f.dataChanged=function(){var a=this;this.redeemButtonDisabled=!0;this.observer=new MutationObserver(function(b){b=_.k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,"attributes"===c.type&&"dark"===c.attributeName&&a.updateBackground()});
this.observer.observe(document.documentElement,{attributes:!0});this.updateBackground()};
_.f.updateBackground=function(){if(document.documentElement.hasAttribute("dark"))this.style.setProperty("background-image","none");else{var a=this.computeImageUrl(this.data.thumbnail);this.style.setProperty("background-image","url("+a+")")}};
_.f.computeRedeemButton=function(a){(a=this.get("redeemButton.buttonRenderer",a))&&(a=Object.assign({},a,{serviceEndpoint:void 0}));return a};
_.f.onRedeemButtonTap=function(a){a.stopPropagation();vHb();this.redeemCode()};
_.f.redeemCode=function(){var a=this;this.isLoading=!0;var b=this.riskService.init();_.Rk([b,this.loadPaymentThenable]).then(function(){var c=a.data.redeemButton.buttonRenderer.serviceEndpoint,d=_.S3a(),e=payments.business.integration.ClientTokenFactory.createClientToken(c.ypcRedeemCodeEndpoint.countryCode,d);d={c:a.$.code.value.trim(),rd:window.btoa(d),ctk:e};_.Kg(a,[c,d])},function(){a.showGenericError();
C1("YPC_ERROR_REASON_RISK_LIB_LOAD_FAILURE")}).thenCatch(function(){_.jd(Error("uh"))})};
_.f.onYtServiceRequestCompleted=function(a){a.stopPropagation();this.isLoading=!1;this.errorMessage=this.get("detail.data.errorMessage",a);this.postRedemptionRenderer=this.get("detail.data.renderer",a);if(a=this.get("detail.data.redirectEndpoint",a))this.isLoading=!0,this.fire("yt-navigate",{endpoint:a});this.errorMessage?C1("YPC_ERROR_REASON_REDEEM_INNERTUBE_FAILURE"):(this.postRedemptionRenderer||a)&&_.JH("ypcRedeemFlowSucceeded")};
_.f.onYtServiceRequestError=function(a){a.stopPropagation();this.isLoading=!1;if(a=this.get("detail.error.message",a))this.errorMessage=_.Mu(a);C1("YPC_ERROR_REASON_YPC_REDEEM_CODE_RPC_FAILURE")};
_.f.onInvokeInstrumentManagerActionCompleted=function(a){a.stopPropagation();this.redeemCode()};
_.f.onInvokeInstrumentManagerActionError=function(a){a.stopPropagation();this.isLoading=!1;switch(this.get("detail.error.errorCode",a)){case "instrumentManagerLoadError":this.showGenericError();C1("YPC_ERROR_REASON_INST_MANAGER_LOAD_FAILURE");break;case "instrumentManagerCallbackError":this.showGenericError();C1("YPC_ERROR_REASON_INST_MANAGER_CALLBACK_FAILURE");break;case "instrumentManagerCancelled":_.JH("ypcRedeemFlowCancelled")}};
_.f.onInput=function(){var a=this;this.debounce("onInput",function(){var b=a.$.code.value.trim();a.redeemButtonDisabled=b.length<a.MIN_CODE_LENGTH||b.length>a.MAX_CODE_LENGTH},200)};
_.f.onCodeInputKeypress=function(a){13!==a.keyCode||this.redeemButtonDisabled||this.isLoading||(vHb(),this.redeemCode())};
_.f.computeImageUrl=function(a){return a?_.nu(a.thumbnails,600):null};
_.f.showGenericError=function(){this.isLoading=!1;this.errorMessage=this.get("errorMessage",this.data)};
_.t.Object.defineProperties(T1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-redeem-code-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.redeem_code.ytd_redeem_code_renderer.ytd.redeem.code.renderer.css.js--\x3e<div id="main" hidden="[[postRedemptionRenderer]]">\n  <div class="title">[[getSimpleString(data.title)]]</div>\n  <div class="subtitle">[[getSimpleString(data.subTitle)]]</div>\n  <input id="code" type="text" autocomplete="off" maxlength="24" on-input="onInput" size="24" placeholder="[[getSimpleString(data.placeholderText)]]" slot="input">\n  <yt-formatted-string id="error-message" hidden="[[!errorMessage]]" text="[[errorMessage]]">\n      </yt-formatted-string>\n  <yt-formatted-string id="terms" text="[[data.termsConditions]]"></yt-formatted-string>\n  \n  <ytd-button-renderer id="redeem-button" data="[[computeRedeemButton(data)]]" disabled="[[redeemButtonDisabled]]" on-tap="onRedeemButtonTap">\n  </ytd-button-renderer>\n</div>\n<div id="success-page"></div>\n<tp-yt-paper-spinner-lite id="loading" active="[[isLoading]]">\n</tp-yt-paper-spinner-lite>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.redeem_code.ytd_redeem_code_renderer.ytd.redeem.code.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-solid);background-size: cover;border: 1px solid var(--yt-spec-10-percent-layer);box-shadow: 0px 4px 8px -3px var(--yt-spec-10-percent-layer);color: var(--yt-spec-text-primary);margin: 48px auto;width: 600px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([is-loading]) {opacity: 0.4;pointer-events: none;} #main {margin: 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .title {margin-bottom: 8px;font-size: 2.4rem;font-weight: 400;line-height: 2.8rem;} .subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} input {-webkit-font-smoothing: antialiased;border: 1px solid var(--yt-spec-10-percent-layer);margin-top: 16px;margin-bottom: 24px;padding: 16px;width: 486px;font-size: 1.6rem;font-weight: 400;line-height: 1.6rem;} #terms {color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #error-message {color: var(--yt-spec-brand-link-text);margin-bottom: 12px;font-size: 1.2rem;font-weight: 400;line-height: 2rem;} #redeem-button {margin-top: 8px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} tp-yt-paper-spinner-lite {display: none;margin: auto;} tp-yt-paper-spinner-lite[active] {display: block;left: 50%;margin: -28px;position: absolute;top: 50%;} /*# sourceMappingURL=ytd-redeem-code-renderer.css.map*/</style>';
QHb=d}d=QHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RHb=a}a=RHb;return a}}});
var U1=T1;U1.prototype.onInvokeInstrumentManagerActionError=U1.prototype.onInvokeInstrumentManagerActionError;U1.prototype.onInvokeInstrumentManagerActionCompleted=U1.prototype.onInvokeInstrumentManagerActionCompleted;U1.prototype.onYtServiceRequestError=U1.prototype.onYtServiceRequestError;U1.prototype.onYtServiceRequestCompleted=U1.prototype.onYtServiceRequestCompleted;U1.prototype.dataChanged=U1.prototype.dataChanged;
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],U1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],U1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],U1.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],U1.prototype,"isLoading",void 0);_.S([_.N(),_.T("design:type",Boolean)],U1.prototype,"redeemButtonDisabled",void 0);
_.S([_.N(),_.T("design:type",Object)],U1.prototype,"errorMessage",void 0);_.S([_.N(),_.T("design:type",Object)],U1.prototype,"postRedemptionRenderer",void 0);_.S([_.N(),_.T("design:type",Object)],U1.prototype,"observer",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],U1.prototype,"dataChanged",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],U1.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],U1.prototype,"onYtServiceRequestError",null);
_.S([_.O("yt-invoke-instrument-manager-action-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],U1.prototype,"onInvokeInstrumentManagerActionCompleted",null);_.S([_.O("yt-invoke-instrument-manager-action-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],U1.prototype,"onInvokeInstrumentManagerActionError",null);U1=_.S([_.Q({is:"ytd-redeem-code-renderer"})],U1);
var WHb;
var XHb;
_.$u("itemSectionRenderer","channelAboutFullMetadataRenderer","ytd-channel-about-metadata-renderer");var V1=function(){var a=_.K.apply(this,arguments)||this;a.businessEmailDisplayState="HIDE_SECTION";return a};
_.q(V1,_.K);_.f=V1.prototype;_.f.configureRendererStamper=function(){return{"data.actionButtons":{id:"action-buttons",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.dataChanged=function(){this.data&&(this.data.businessEmailButton||this.data.signInForBusinessEmail)?this.data.signInForBusinessEmail?this.businessEmailDisplayState="SIGN_IN_REQUIRED":this.businessEmailErrorMessage?this.businessEmailDisplayState="ERROR_MESSAGE":(this.businessEmailDisplayState="REVEAL_BUTTON",this.data.businessEmail&&(this.businessEmail=this.data.businessEmail)):this.businessEmailDisplayState="HIDE_SECTION"};
_.f.detached=function(){this.businessEmailErrorMessage=this.businessEmail=void 0;this.businessEmailDisplayState="HIDE_SECTION"};
_.f.onBusinessEmailClick=function(){this.data&&(this.data.bypassBusinessEmailCaptcha?this.businessEmailDisplayState="BUSINESS_EMAIL":(_.vE("https://www.google.com/recaptcha/api.js?trustedtypes=true"),this.businessEmailDisplayState="CAPTCHA"))};
_.f.onYtServiceRequestCompleted=function(a){var b;if(null==(b=a.detail.data)?0:b.businessEmail)this.businessEmail=a.detail.data.businessEmail,this.businessEmailDisplayState="BUSINESS_EMAIL";else{var c;if(null==(c=a.detail.data)?0:c.errorMessage)this.businessEmailErrorMessage=a.detail.data.errorMessage,this.businessEmailDisplayState="ERROR_MESSAGE"}};
_.f.computeEmailHref=function(a){return"mailto:"+a};
_.f.computeSafeUrl=function(a){if(a)return _.It(a)};
_.f.onBusinessEmailCaptchaSubmit=function(){var a;null!=(a=this.data)&&a.onBusinessEmailRevealClickCommand&&(a=this.captchaTextarea.value)&&_.Kg(this,[this.data.onBusinessEmailRevealClickCommand,{recaptcha_response_token:a,channel_id:this.data.channelId}])};
_.f.recaptchaSiteKey=function(){return"6Lf39AMTAAAAALPbLZdcrWDa8Ygmgk_fmGmrlRog"};
_.t.Object.defineProperties(V1.prototype,{hideDetailsSection:{configurable:!0,enumerable:!0,get:function(){return!this.data||!this.data.country&&!this.data.businessEmailButton}}});
_.t.Object.defineProperties(V1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-about-metadata-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_about_metadata_renderer.ytd.channel.about.metadata.renderer.css.js--\x3e<div id="left-column">\n  <div id="description-container" hidden="[[!data.description]]">\n    <yt-formatted-string class="subheadline" text="[[data.descriptionLabel]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="description" split-lines="" text="[[data.description]]">\n    </yt-formatted-string>\n  </div>\n  <div id="bio-container" hidden="[[!data.artistBio]]">\n    <yt-formatted-string class="subheadline" text="[[data.artistBioLabel]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="bio" split-lines="" text="[[data.artistBio]]">\n    </yt-formatted-string>\n  </div>\n  <div id="photos-container" hidden="[[!data.artistGalleryPhotos]]">\n    <yt-formatted-string class="subheadline" text="[[data.artistGalleryLabel]]">\n    </yt-formatted-string>\n    <div id="photos">\n      <template is="dom-repeat" items="[[data.artistGalleryPhotos]]" strip-whitespace="">\n        <a href="[[computeSafeUrl(item.originalPhotoUrl)]]" target="_blank">\n          <img src$="[[computeSafeUrl(item.thumbnailUrl)]]" alt="">\n        </a>\n      </template>\n    </div>\n  </div>\n  <div id="details-container" hidden="[[hideDetailsSection]]">\n     <yt-formatted-string class="subheadline" text="[[data.detailsLabel]]">\n    </yt-formatted-string>\n    <table>\n      <tbody><tr hidden="[[equals(businessEmailDisplayState, \'HIDE_SECTION\')]]">\n        <td class="label">\n          <yt-formatted-string text="[[data.businessEmailLabel]]"></yt-formatted-string>\n        </td>\n\n        <td hidden="[[!equals(businessEmailDisplayState, \'SIGN_IN_REQUIRED\')]]">\n          <yt-formatted-string text="[[data.signInForBusinessEmail]]"></yt-formatted-string>\n        </td>\n\n        <td hidden="[[!equals(businessEmailDisplayState, \'REVEAL_BUTTON\')]]">\n          <ytd-button-renderer align-by-text="" data="[[data.businessEmailButton.buttonRenderer]]" on-click="onBusinessEmailClick">\n          </ytd-button-renderer>\n        </td>\n\n        <td hidden="[[!equals(businessEmailDisplayState, \'CAPTCHA\')]]">\n          \n          <div id="recaptcha" class="g-recaptcha" data-sitekey$="[[recaptchaSiteKey()]]"></div>\n          <button id="submit-btn" class="yt-uix-button yt-uix-button-size-default yt-uix-button-primary" on-click="onBusinessEmailCaptchaSubmit">\n            <span class="yt-uix-button-content">\n              <yt-formatted-string text="[[data.businessEmailRevealSubmitButtonLabel]]">\n              </yt-formatted-string>\n            </span>\n          </button>\n        </td>\n        <td hidden="[[!equals(businessEmailDisplayState, \'ERROR_MESSAGE\')]]">\n          [[businessEmailErrorMessage]]\n        </td>\n\n        <td hidden="[[!equals(businessEmailDisplayState, \'BUSINESS_EMAIL\')]]">\n          <a id="email" href$="[[computeEmailHref(businessEmail)]]" target="_blank">[[businessEmail]]</a>\n        </td>\n      </tr>\n      <tr hidden="[[!data.country]]">\n        <td class="label">\n          <yt-formatted-string text="[[data.countryLabel]]"></yt-formatted-string>\n        </td>\n        <td>\n          <yt-formatted-string text="[[data.country]]"></yt-formatted-string>\n        </td>\n      </tr>\n    </tbody></table>\n  </div>\n  <div id="links-container" hidden="[[!data.primaryLinks]]">\n    <yt-formatted-string class="subheadline" text="[[data.primaryLinksLabel]]">\n    </yt-formatted-string>\n    <div id="link-list-container">\n      <template is="dom-repeat" items="[[data.primaryLinks]]" as="link">\n        <a class="yt-simple-endpoint" href$="[[computeHref_(link.navigationEndpoint)]]" data="[[link.navigationEndpoint]]">\n          <yt-formatted-string class="info-text" no-endpoints="" no-style="" text="[[link.title]]">\n          </yt-formatted-string>\n        </a>\n      </template>\n    </div>\n  </div>\n</div>\n<div id="right-column">\n  <yt-formatted-string class="subheadline" text="[[data.statsLabel]]">\n  </yt-formatted-string>\n  <yt-formatted-string hidden="[[!data.joinedDateText]]" text="[[data.joinedDateText]]">\n  </yt-formatted-string>\n  <yt-formatted-string hidden="[[!data.viewCountText]]" no-styles="" text="[[data.viewCountText]]">\n  </yt-formatted-string>\n  <yt-formatted-string hidden="[[!data.phoneVerifiedText]]" text="[[data.phoneVerifiedText]]">\n  </yt-formatted-string>\n  <div id="action-buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_about_metadata_renderer.ytd.channel.about.metadata.renderer.css.js--\x3e<style>:host {padding-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .subheadline {display: block;margin: 24px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #left-column {color: var(--yt-spec-text-primary);padding-right: 96px;min-width: 0;word-wrap: break-word;-ms-flex: 2;-webkit-flex: 2;flex: 2;} #description-container,#bio-container,#photos-container,#details-container,#links-container {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding-bottom: 32px;} #description-container {margin-top: 0;} #description,#bio {min-width: 0;word-wrap: break-word;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #photos {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #photos a {margin: 0 4px 4px 0;} #photos img {height: 150px;} #divider {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #link-list-container a.yt-simple-endpoint {display: inline-block;margin-bottom: 24px;width: 40%;color: var(--yt-spec-themed-blue);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #details-container .subheadline {margin-bottom: 12px;} #details-container table {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #details-container tr {height: 42px;} #details-container td {padding-bottom: 4px;} #details-container td.label {padding-right: 32px;} #right-column {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #right-column>yt-formatted-string {border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: block;padding: 12px 0;} #right-column .subheadline {margin: 12px 0 0;} #action-buttons {margin-top: 8px;margin-left: -8px;} #action-buttons>* {margin-right: 16px;} #email,#email-container a {color: var(--yt-spec-themed-blue);cursor: pointer;} /*# sourceMappingURL=ytd-channel-about-metadata-renderer.css.map*/</style>';
WHb=d}d=WHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XHb=a}a=XHb;return a}}});
var W1=V1;W1.prototype.onYtServiceRequestCompleted=W1.prototype.onYtServiceRequestCompleted;W1.prototype.dataChanged=W1.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],W1.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],W1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],W1.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.Z("#g-recaptcha-response"),_.T("design:type",HTMLTextAreaElement)],W1.prototype,"captchaTextarea",void 0);_.S([_.N(),_.T("design:type",Object)],W1.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],W1.prototype,"businessEmailDisplayState",void 0);_.S([_.N(),_.T("design:type",String)],W1.prototype,"businessEmail",void 0);_.S([_.N(),_.T("design:type",String)],W1.prototype,"businessEmailErrorMessage",void 0);
_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],W1.prototype,"hideDetailsSection",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],W1.prototype,"dataChanged",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],W1.prototype,"onYtServiceRequestCompleted",null);
W1=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-about-metadata-renderer"})],W1);
var YHb;
var ZHb;
_.$u("itemSectionRenderer","channelFeaturedContentRenderer","ytd-channel-featured-content-renderer");var X1=function(){return _.K.apply(this,arguments)||this};
_.q(X1,_.K);X1.prototype.configureRendererStamper=function(){return{"data.items":{id:"contents",mapping:{channelRenderer:"ytd-channel-renderer",playlistRenderer:"ytd-playlist-renderer",radioRenderer:"ytd-radio-renderer",showRenderer:"ytd-show-renderer",videoRenderer:"ytd-video-renderer"}}}};
_.t.Object.defineProperties(X1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZHb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-featured-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_featured_content_renderer.ytd.channel.featured.content.renderer.css.js--\x3e<div id="header">\n  <h3>\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  </h3>\n  <yt-formatted-string id="subtitle" text="[[data.subTitle]]"></yt-formatted-string>\n</div>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YHb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_channel_featured_content_renderer.ytd.channel.featured.content.renderer.css.js--\x3e<style>:host {display: block;padding: 12px 0 24px;} #header {margin: 12px 0;} #title {color: var(--yt-spec-text-primary);margin-right: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #contents>*:not(:last-child) {padding-bottom: 16px;} /*# sourceMappingURL=ytd-channel-featured-content-renderer.css.map*/</style>';
YHb=d}d=YHb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZHb=a}a=ZHb;return a}}});
var Y1=X1;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Y1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Y1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Y1.prototype,"data",void 0);Y1=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-featured-content-renderer"})],Y1);
var $Hb;
var aIb;
_.$u("itemSectionRenderer","exploratoryResultsRenderer","ytd-exploratory-results-renderer");var Z1=function(){return _.K.apply(this,arguments)||this};
_.q(Z1,_.K);Z1.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{channelRenderer:"ytd-channel-renderer",playlistRenderer:"ytd-playlist-renderer",showRenderer:"ytd-show-renderer",videoRenderer:"ytd-video-renderer"}}}};
_.t.Object.defineProperties(Z1,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-exploratory-results-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_exploratory_results_renderer.ytd.exploratory.results.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Hb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_exploratory_results_renderer.ytd.exploratory.results.renderer.css.js--\x3e<style>:host {display: inline-block;} #title {color: var(--yt-spec-text-primary);margin: 24px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #contents>* {padding-bottom: 24px;} /*# sourceMappingURL=ytd-exploratory-results-renderer.css.map*/</style>';
$Hb=d}d=$Hb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aIb=a}a=aIb;return a}}});
var $1=Z1;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$1.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$1.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$1.prototype,"data",void 0);$1=_.S([_.Q({asyncProperties:!0,is:"ytd-exploratory-results-renderer"})],$1);
var bIb;
var cIb;
_.$u("itemSectionRenderer","feedEntryRenderer","ytd-feed-entry-renderer");var a2=function(){return _.K.apply(this,arguments)||this};
_.q(a2,_.K);a2.prototype.configureRendererStamper=function(){return{"data.item":{id:"contents",mapping:{channelRenderer:"ytd-channel-renderer",playlistRenderer:"ytd-playlist-renderer",radioRenderer:"ytd-radio-renderer",showRenderer:"ytd-show-renderer",videoRenderer:"ytd-video-renderer"}}}};
_.t.Object.defineProperties(a2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feed-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_feed_entry_renderer.ytd.feed.entry.renderer.css.js--\x3e<yt-img-shadow thumbnail="[[data.ownerThumbnail]]" width="48"></yt-img-shadow>\n<div class="info">\n  <div id="title-container">\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  </div>\n  <yt-formatted-string id="post" text="[[data.postText]]"></yt-formatted-string>\n  <div id="contents"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_feed_entry_renderer.ytd.feed.entry.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: var(--yt-spec-text-primary);padding: 24px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-img-shadow {width: 48px;height: 48px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} .info {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #title-container {height: 48px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #post {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-feed-entry-renderer.css.map*/</style>';
bIb=d}d=bIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cIb=a}a=cIb;return a}}});
var b2=a2;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],b2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],b2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],b2.prototype,"data",void 0);b2=_.S([_.Q({asyncProperties:!0,is:"ytd-feed-entry-renderer"})],b2);
var dIb;
var eIb;
_.$u("itemSectionRenderer","feedbackElicitationSingleQuestionRenderer","ytd-feedback-elicitation-single-question-renderer");var c2=function(){var a=_.K.apply(this,arguments)||this;a.messageData=null;return a};
_.q(c2,_.K);_.f=c2.prototype;_.f.onServiceRequestCompleted=function(a,b){a=b.actions||[];b=0;for(var c=a.length;b<c;b++){var d=a[b];d.replaceEnclosingAction&&d.replaceEnclosingAction.item&&d.replaceEnclosingAction.item.messageRenderer&&(this.messageData=d.replaceEnclosingAction.item.messageRenderer)}};
_.f.dataChanged=function(){var a=this.data;this.hidden=!1;this.toggleClass("is-channel",a&&!a.avatarIs169);this.submitButton.disabled=!0;this.selectedResponseIndex=void 0};
_.f.computeThumbnailWidth=function(a){return a?126:56};
_.f.onSelectedResponseIndexChange=function(){void 0!==this.selectedResponseIndex&&(this.submitButton.disabled=!1)};
_.f.onSubmitTap=function(){var a=this.data,b=this.selectedResponseIndex;void 0!==a&&void 0!==b&&_.Kg(this,[a.responses[b].responseData])};
_.f.onDismissTap=function(){this.hidden=!0;var a=this.data;void 0!==a&&_.Kg(this,[a.dismissalEndpoint])};
_.t.Object.defineProperties(c2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feedback-elicitation-single-question-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_feedback_elicitation_single_question_renderer.ytd.feedback.elicitation.single.question.renderer.css.js--\x3e<span id="dismissible" hidden="[[messageData]]">\n  <div id="header">\n    <yt-formatted-string id="question" text="[[data.question]]"></yt-formatted-string>\n    <yt-icon-button on-tap="onDismissTap">\n      <yt-icon icon="yt-icons:close"></yt-icon>\n    </yt-icon-button>\n  </div>\n  <template is="dom-if" if="[[data.channelTitle]]">\n    <a class="yt-simple-endpoint" href$="[[computeHref(data.channelEndpoint)]]" data="[[data.channelEndpoint]]">\n      <yt-img-shadow thumbnail="[[data.channelAvatar]]" width="[[computeThumbnailWidth(data.avatarIs169)]]">\n      </yt-img-shadow>\n      <div id="item-title">[[getSimpleString(data.channelTitle)]]</div>\n    </a>\n  </template>\n  <template is="dom-if" if="[[!data.canSelectMultiple]]">\n    <tp-yt-paper-radio-group id="responses" selected="{{selectedResponseIndex}}">\n      <template is="dom-repeat" items="[[data.responses]]">\n        <tp-yt-paper-radio-button name="[[index]]">\n          <yt-formatted-string text="[[item.responseText]]"></yt-formatted-string>\n        </tp-yt-paper-radio-button>\n      </template>\n    </tp-yt-paper-radio-group>\n  </template>\n  <ytd-button-renderer id="submit-button" data="[[data.submitButton.buttonRenderer]]" on-tap="onSubmitTap">\n  </ytd-button-renderer>\n</span>\n<span hidden="[[!messageData]]">\n  <ytd-message-renderer data="[[messageData]]"></ytd-message-renderer>\n</span>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_feedback_elicitation_single_question_renderer.ytd.feedback.elicitation.single.question.renderer.css.js--\x3e<style>:host {--paper-input-container-input-color: var(--yt-spec-text-primary);display: inline-block;margin: 24px 0;width: 100%;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #header {-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #header yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;color: var(--yt-spec-text-secondary);width: var(--yt-icon-width);height: var(--yt-icon-height);} #question {color: var(--yt-spec-text-primary);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-img-shadow {margin-right: 8px;height: 68px;width: 120px;} :host(.is-channel) yt-img-shadow {width: 56px;height: 56px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} #item-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} #responses {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #responses yt-formatted-string {color: var(--yt-spec-text-primary);} #submit-button {margin-top: 12px;} tp-yt-paper-radio-button {padding: 12px 0 0;} /*# sourceMappingURL=ytd-feedback-elicitation-single-question-renderer.css.map*/</style>';
dIb=d}d=dIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);eIb=a}a=eIb;return a}}});
var d2=c2;d2.prototype.onSelectedResponseIndexChange=d2.prototype.onSelectedResponseIndexChange;d2.prototype.dataChanged=d2.prototype.dataChanged;d2.prototype.onServiceRequestCompleted=d2.prototype.onServiceRequestCompleted;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],d2.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],d2.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],d2.prototype,"messageData",void 0);
_.S([_.N(),_.T("design:type",Number)],d2.prototype,"selectedResponseIndex",void 0);_.S([_.Z("#submit-button"),_.T("design:type",HTMLButtonElement)],d2.prototype,"submitButton",void 0);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],d2.prototype,"onServiceRequestCompleted",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],d2.prototype,"dataChanged",null);
_.S([_.P("selectedResponseIndex"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],d2.prototype,"onSelectedResponseIndexChange",null);d2=_.S([_.Q({is:"ytd-feedback-elicitation-single-question-renderer"})],d2);
var fIb;
var gIb;
var e2=function(){return _.K.apply(this,arguments)||this};
_.q(e2,_.K);e2.prototype.computeThumbnailWidth=function(a){return a?602:428};
_.t.Object.defineProperties(e2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-newspaper-hero-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_newspaper_hero_video_renderer.ytd.newspaper.hero.video.renderer.css.js--\x3e<iron-media-query query="(min-width: 662px)" query-matches="{{wide}}"></iron-media-query>\n<ytd-thumbnail data="[[data]]" width="[[computeThumbnailWidth(wide)]]"></ytd-thumbnail>\n<div id="contents">\n  <a id="meta" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h3>\n      <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n      </ytd-badge-supported-renderer>\n      <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        [[getSimpleString(data.title)]]\n      </span>\n    </h3>\n    <ytd-video-meta-block class="title" data="[[data]]"></ytd-video-meta-block>\n  </a>\n</div>\n<div class="content">\n  <slot></slot>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_newspaper_hero_video_renderer.ytd.newspaper.hero.video.renderer.css.js--\x3e<style>:host {width: 642px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-thumbnail {margin-right: 16px;height: 180px;width: 320px;} #contents {min-width: 0;margin-right: 16px;} h3 {color: var(--yt-spec-text-primary);} #video-title {margin-bottom: 12px;text-overflow: ellipsis;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #meta.yt-simple-endpoint {display: block;margin-bottom: 16px;} @media(max-width:662px) {:host {width: 428px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;}#contents,#meta.yt-simple-endpoint {margin: 0;}ytd-thumbnail {margin: 0 0 8px;height: 242px;width: 428px;}#description {display: none;}#video-title {margin-bottom: 4px;}} /*# sourceMappingURL=ytd-newspaper-hero-video-renderer.css.map*/</style>';
fIb=d}d=fIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gIb=a}a=gIb;return a}}});
var f2=e2;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],f2.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],f2.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],f2.prototype,"wide",void 0);f2=_.S([_.Q({asyncProperties:!0,is:"ytd-newspaper-hero-video-renderer"})],f2);
var hIb;
var iIb;
var jIb=function(){return _.K.apply(this,arguments)||this};
_.q(jIb,_.K);
_.t.Object.defineProperties(jIb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-newspaper-mini-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_newspaper_mini_video_renderer.ytd.newspaper.mini.video.renderer.css.js--\x3e<ytd-thumbnail data="[[data]]" width="210"></ytd-thumbnail>\n<a id="meta" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <h3>\n    <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n    </ytd-badge-supported-renderer>\n    <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n      [[getSimpleString(data.title)]]\n    </span>\n  </h3>\n  <ytd-video-meta-block class="grid" data="[[data]]"></ytd-video-meta-block>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_newspaper_mini_video_renderer.ytd.newspaper.mini.video.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-thumbnail {height: 118px;width: 210px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #meta.yt-simple-endpoint {padding-right: 24px;} h3 {color: var(--yt-spec-text-primary);} #video-title {display: block;margin: 8px 0 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} /*# sourceMappingURL=ytd-newspaper-mini-video-renderer.css.map*/</style>';
hIb=d}d=hIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iIb=a}a=iIb;return a}}});
var g2=jIb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],g2.prototype,"rendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],g2.prototype,"data",void 0);g2=_.S([_.Q({asyncProperties:!0,is:"ytd-newspaper-mini-video-renderer"})],g2);
var kIb;
var lIb;
_.$u("itemSectionRenderer","newspaperRenderer","ytd-newspaper-renderer");var h2=function(){return _.K.apply(this,arguments)||this};
_.q(h2,_.K);h2.prototype.configureRendererStamper=function(){return{"data.primaryContents":{id:"primary-contents",mapping:{newspaperHeroVideoRenderer:"ytd-newspaper-hero-video-renderer"}},"data.secondaryContents":{id:"secondary-contents",mapping:{newspaperMiniVideoRenderer:"ytd-newspaper-mini-video-renderer"}}}};
_.t.Object.defineProperties(h2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-newspaper-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_newspaper_renderer.ytd.newspaper.renderer.css.js--\x3e<div id="primary-contents"></div>\n<div id="secondary-contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_newspaper_renderer.ytd.newspaper.renderer.css.js--\x3e<style>:host {display: block;padding: 24px 0 24px;overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-newspaper-hero-video-renderer {-ms-flex: none;-webkit-flex: none;flex: none;} #secondary-contents {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-newspaper-mini-video-renderer:not(:last-of-type) {padding-right: 4px;} @media(max-width:662px) {#secondary-contents {display: none;}} /*# sourceMappingURL=ytd-newspaper-renderer.css.map*/</style>";
kIb=d}d=kIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lIb=a}a=lIb;return a}}});
var i2=h2;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],i2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],i2.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],i2.prototype,"data",void 0);i2=_.S([_.Q({asyncProperties:!0,is:"ytd-newspaper-renderer"})],i2);
var mIb;
var nIb;
var oIb;
var pIb;
var j2=function(){var a=_.K.apply(this,arguments)||this;a.hidePlaybackStatus=_.x("kevlar_hide_playlist_playback_status");return a};
_.q(j2,_.K);_.f=j2.prototype;_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.offerButton":{id:"offer-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.canReorderChanged=function(){this.persistentDragHandle=_.x("kevlar_playlist_drag_handles")&&this.canReorder};
_.f.onDrag=function(){if(this.thumbnail){var a=this.thumbnail.$$("yt-img-shadow");a&&a.onShow()}};
_.f.onMenuOverlayChanged=function(a,b){this.menuOpened=b};
_.f.onHandleMouseenter=function(){this.handleIsHovered=!0};
_.f.onHandleMouseleave=function(){this.handleIsHovered=!1};
_.f.onContentsTap=function(a){var b,c=null==(b=this.data)?void 0:b.serviceEndpoints;if(c&&1===c.length&&c[0].ypcOffersEndpoint&&!_.Hx(_.H(a).path||[],this,["TP-YT-PAPER-BUTTON"]))this.ytComponentBehavior.resolveCommand(c[0]);else{var d;(b=null==(d=this.data)?void 0:d.navigationEndpoint)&&!_.Hx(_.H(a).path||[],this,["A".toString(),"BUTTON".toString()])&&this.fire("yt-navigate",{endpoint:b})}};
_.f.computeStyle=function(a){return a?a.toLowerCase().replace(/_/g,"-"):""};
_.f.computeThumbnailWidth=function(a){return"PLAYLIST_VIDEO_RENDERER_STYLE_EPISODE"===a?170:120};
_.t.Object.defineProperties(j2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_video_renderer.ytd.playlist.video.renderer.css.js--\x3e<div id="index-container" class="playlist-drag-handle" on-mouseenter="onHandleMouseenter" on-mouseleave="onHandleMouseleave">\n  <yt-icon id="reorder" icon="yt-icons:drag_handle"></yt-icon>\n  <yt-formatted-string id="index" text="[[data.index]]"></yt-formatted-string>\n</div>\n<div id="content" on-click="onContentsTap">\n  <div id="container">\n    <ytd-thumbnail id="thumbnail" data="[[data]]" hide-playback-status="[[hidePlaybackStatus]]" use-expandable-tooltip="[[useExpandableTooltip_]]" width="[[thumbnailWidth]]">\n    </ytd-thumbnail>\n    <div id="meta">\n      <h3 aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        <ytd-badge-supported-renderer id="top-standalone-badge" top-standalone-badge="[[data.topStandaloneBadge]]">\n        </ytd-badge-supported-renderer>\n        <a id="video-title" title$="[[getSimpleString(data.title)]]" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n          [[getSimpleString(data.title)]]\n        </a>\n      </h3>\n      <ytd-video-meta-block class="playlist" data="[[data]]"></ytd-video-meta-block>\n      <ytd-badge-supported-renderer id="bottom-badges" badges="[[data.bottomBadges]]" hidden="[[!data.bottomBadges]]">\n      </ytd-badge-supported-renderer>\n      <ytd-badge-supported-renderer id="bottom-standalone-badge" hidden="[[!data.bottomStandaloneBadge]]" top-standalone-badge="[[data.bottomStandaloneBadge]]">\n      </ytd-badge-supported-renderer>\n    </div>\n  </div>\n  <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n  </ytd-badge-supported-renderer>\n  <yt-formatted-string id="contributor" hidden="[[!data.contributorName]]" text="[[data.contributorName]]">\n  </yt-formatted-string>\n  <div id="offer-button"></div>\n</div>\n<div id="menu" hidden="[[!data.menu]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_video_renderer.ytd.playlist.video.renderer.css.js--\x3e<style>:host {cursor: default;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([is-dismissed]) {display: none;} :host([is-editable][can-reorder]:hover),:host([is-editable][can-reorder][menu-opened]),:host([is-editable][can-reorder].dragging) {box-shadow: 0px 2px 8px rgba(0,0,0,0.4);} :host([is-editable][can-reorder][persistent-drag-handle]) {box-shadow: none;} :host([is-editable][can-reorder][persistent-drag-handle][handle-is-hovered]),:host([is-editable][can-reorder][persistent-drag-handle].dragging) {box-shadow: 0px 2px 8px rgba(0,0,0,0.4);transition: box-shadow 0.2s ease;cursor: -webkit-grab;cursor: -moz-grab;cursor: grab;} #index-container {-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([is-editable][can-reorder]:not([persistent-drag-handle]):hover) {cursor: -webkit-grab;cursor: -moz-grab;cursor: grab;} :host([is-editable][can-reorder]:hover.dragging),:host([is-editable][can-reorder].dragging) {cursor: -webkit-grabbing;cursor: -moz-grabbing;cursor: grabbing;z-index: 2;background-color: var(--yt-spec-badge-chip-background);} :host(:hover:not(.dragging)) {background-color: var(--yt-spec-badge-chip-background);} #menu {min-width: 40px;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} @media(any-pointer:coarse) {ytd-menu-renderer {opacity: 1;}} :host([is-editable][can-reorder].dragging) a {cursor: -webkit-grabbing;cursor: -moz-grabbing;cursor: grabbing;} ytd-menu-renderer {display: block;} a.yt-simple-endpoint {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #contributor,#index,#content {padding: 16px 0;} #index {color: var(--yt-spec-text-secondary);text-align: center;width: 36px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: none;-webkit-flex: none;flex: none;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #contributor {color: var(--yt-spec-text-secondary);text-align: right;margin: auto 0;padding: 8px 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;-ms-flex: none;-webkit-flex: none;flex: none;} :host([can-reorder][is-editable]:hover) #index,:host([persistent-drag-handle]) #index {display: none;} :host([can-reorder][is-editable]:hover) #reorder,:host([persistent-drag-handle]) #reorder {color: var(--yt-spec-icon-inactive);padding: 0 6px;display: block;-ms-flex: none;-webkit-flex: none;flex: none;} #reorder {display: none;} #content {cursor: pointer;min-width: 0;border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host(:hover) #content {border-bottom: 1px solid transparent;} ytd-thumbnail {margin-right: 8px;height: 68px;width: 120px;-ms-flex: none;-webkit-flex: none;flex: none;} :host([style-type=playlist-video-renderer-style-episode]) ytd-thumbnail {height: 96px;width: 170px;} #meta {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #badges {margin: 8px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #offer-button {-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #video-title {-webkit-line-clamp: 2;display: block;margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} h3 {color: var(--yt-spec-text-primary);} #container {min-width: 0;flex-basis: 368px;flex-grow: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #bottom-standalone-badge {margin-top: 4px;} /*# sourceMappingURL=ytd-playlist-video-renderer.css.map*/</style>';
oIb=d}d=oIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pIb=a}a=pIb;return a}}});
var k2=j2;k2.prototype.onMenuOverlayChanged=k2.prototype.onMenuOverlayChanged;k2.prototype.canReorderChanged=k2.prototype.canReorderChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],k2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],k2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],k2.prototype,"ytdLockupBehavior",void 0);
_.S([_.L(_.iy),_.T("design:type",Object)],k2.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],k2.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],k2.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],k2.prototype,"isEditable",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],k2.prototype,"canReorder",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],k2.prototype,"menuOpened",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],k2.prototype,"handleIsHovered",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],k2.prototype,"persistentDragHandle",void 0);_.S([_.N(),_.T("design:type",Object)],k2.prototype,"hidePlaybackStatus",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.style)"}),_.T("design:type",String)],k2.prototype,"styleType",void 0);_.S([_.N({computed:"computeThumbnailWidth(data.style)"}),_.T("design:type",Number)],k2.prototype,"thumbnailWidth",void 0);_.S([_.Z("#thumbnail"),_.T("design:type",_.K)],k2.prototype,"thumbnail",void 0);_.S([_.Ct("canReorder"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],k2.prototype,"canReorderChanged",null);
_.S([_.O("yt-menu-overlay-changed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Boolean]),_.T("design:returntype")],k2.prototype,"onMenuOverlayChanged",null);k2=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-video-renderer"})],k2);
_.$u("itemSectionRenderer","playlistVideoListRenderer","ytd-playlist-video-list-renderer");var l2=function(){var a=_.K.apply(this,arguments)||this;a.isSegment=!1;a.actionMap={"yt-playlist-remove-videos-action":"handlePlaylistRemoveVideosAction","yt-update-playlist-action":"handleUpdatePlaylistAction"};a.nextContinuation={continuationType:"playlistVideoListContinuation"};return a};
_.q(l2,_.K);_.f=l2.prototype;
_.f.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{playlistVideoRenderer:{component:"ytd-playlist-video-renderer",properties:{isEditable:"[[isEditable]]",canReorder:"[[canReorder]]"}},continuationItemRenderer:"ytd-continuation-item-renderer"},events:!0},"data.continuations":{id:"continuations",mapping:{nextContinuationData:"yt-next-continuation"}},"data.sortFilterMenu":{id:"sort-filter-menu",mapping:{sortFilterSubMenuRenderer:{component:"yt-sort-filter-sub-menu-renderer",params:{closeOnActivate:"true"}}}}}};
_.f.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"contents"}};
_.f.dataChanged=function(){this.ytReorderableBehavior.disposeDragDrop()};
_.f.onRendererstamperFinished=function(){this.isEditable&&this.canReorder&&(_.x("kevlar_playlist_drag_handles")?this.ytReorderableBehavior.startDragDrop(this.$.contents,document.documentElement,"playlist-drag-handle"):this.ytReorderableBehavior.startDragDrop(this.$.contents,document.documentElement))};
_.f.onPlaylistReloading=function(){this.isReloading=!0};
_.f.computeContentsClass=function(a){return a?"reloading":""};
_.f.computeIsSortable=function(a,b){return a&&0<b&&!this.isSegment&&!_.x("desktop_playlist_sorting_killswitch")};
_.f.computeIsEditable=function(a){return a&&_.x("kevlar_enable_editable_playlists")};
_.f.computeCanReorder=function(a){return a&&_.x("kevlar_enable_reorderable_playlists")};
_.f.handlePlaylistRemoveVideosAction=function(a){if(this.get("playlistRemoveVideosAction.setVideoIds",a)&&this.data&&this.data.contents){a=a.playlistRemoveVideosAction.setVideoIds;for(var b=this.data.contents.length-1;0<=b;){var c=this.data.contents[b].playlistVideoRenderer;c&&c.setVideoId&&a.includes(c.setVideoId)&&this.splice("data.contents",b,1);b--}_.C(this,"yt-close-popup-action",["ytd-menu-popup-renderer"]);this.updateIndices()}};
_.f.updateIndices=function(){if(this.data&&this.data.contents)for(var a=0;a<this.data.contents.length;a++)this.set("data.contents."+a+".playlistVideoRenderer.index",_.Mu(String(a+1)))};
_.f.handleDrop=function(a){a=a.currDragItem;var b=_.fa(a.parentNode.childNodes,a),c=this.data.contents.splice(Number(_.qi(a.data.index))-1,1)[0];this.data.contents.splice(b,0,c);b=b?this.get("contents."+(b-1)+".playlistVideoRenderer.setVideoId",this.data):void 0;this.updateIndices();a=this.buildReorderServiceEndpoint(a.data.setVideoId,b);this.ytComponentBehavior.resolveCommand(a)};
_.f.buildReorderServiceEndpoint=function(a,b){return this.data&&this.data.onReorderEndpoint?(this.set("data.onReorderEndpoint.playlistEditEndpoint.actions.0.setVideoId",a),this.set("data.onReorderEndpoint.playlistEditEndpoint.actions.0.movedSetVideoIdPredecessor",b),this.data.onReorderEndpoint):null};
_.f.handleUpdatePlaylistAction=function(a){(a=a.updatePlaylistAction&&a.updatePlaylistAction.updatedRenderer&&a.updatePlaylistAction.updatedRenderer.playlistVideoListRenderer)&&a.contents&&(this.set("data.contents",a.contents),this.isReloading=!1);_.x("kevlar_fix_playlist_continuation")&&a&&a.continuations&&this.set("data.continuations",a.continuations)};
_.t.Object.defineProperties(l2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-video-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_video_list_renderer.ytd.playlist.video.list.renderer.css.js--\x3e<div id="sort-filter-menu" hidden="[[!isSortable]]" class$="[[computeContentsClass(isReloading)]]"></div>\n<div id="spinner-container">\n  <tp-yt-paper-spinner-lite active="[[isReloading]]"></tp-yt-paper-spinner-lite>\n</div>\n<div id="contents" class$="[[computeContentsClass(isReloading)]]"></div>\n<div id="continuations"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_playlist_video_list_renderer.ytd.playlist.video.list.renderer.css.js--\x3e<style>:host {margin-right: 24px;margin-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #sort-filter-menu {padding: 16px 0 8px 36px;} #spinner-container {height: 0;} .reloading {opacity: 0.25;pointer-events: none;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;} /*# sourceMappingURL=ytd-playlist-video-list-renderer.css.map*/</style>";
mIb=d}d=mIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nIb=a}a=nIb;return a}}});
var m2=l2;m2.prototype.onPlaylistReloading=m2.prototype.onPlaylistReloading;m2.prototype.onRendererstamperFinished=m2.prototype.onRendererstamperFinished;m2.prototype.dataChanged=m2.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],m2.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],m2.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.AF.YtNextContinuationBehavior),_.T("design:type",Object)],m2.prototype,"ytNextContinuationBehavior",void 0);_.S([_.L(_.WB.YtReorderableBehavior),_.T("design:type",Object)],m2.prototype,"ytReorderableBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],m2.prototype,"ytContinuationHandlerBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],m2.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],m2.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],m2.prototype,"isReloading",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],m2.prototype,"isSegment",void 0);_.S([_.N({computed:"computeIsSortable(data.canReorder, data.contents.length)"}),_.T("design:type",Boolean)],m2.prototype,"isSortable",void 0);
_.S([_.N({computed:"computeIsEditable(data.isEditable)"}),_.T("design:type",Boolean)],m2.prototype,"isEditable",void 0);_.S([_.N({computed:"computeCanReorder(data.canReorder)"}),_.T("design:type",Boolean)],m2.prototype,"canReorder",void 0);_.S([_.N({value:101}),_.T("design:type",Number)],m2.prototype,"scrollMargin",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],m2.prototype,"dataChanged",null);
_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],m2.prototype,"onRendererstamperFinished",null);_.S([_.O("yt-playlist-reloading"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],m2.prototype,"onPlaylistReloading",null);m2=_.S([_.Q({is:"ytd-playlist-video-list-renderer"})],m2);
var qIb;
var rIb;
_.$u("itemSectionRenderer","searchHistoryQueryRenderer","ytd-search-history-query-renderer");var n2=function(){return _.K.apply(this,arguments)||this};
_.q(n2,_.K);n2.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer"}}}};
n2.prototype.dataChanged=function(){this.isHistory=-1!==window.location.pathname.indexOf("/feed/history")};
_.t.Object.defineProperties(n2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-history-query-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_history_query_renderer.ytd.search.history.query.renderer.css.js--\x3e<div id="dismissible">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <div>[[data.query]]</div>\n    <yt-formatted-string class="latest-search-time-text" text="[[data.latestSearchTimeText]]">\n    </yt-formatted-string>\n  </a>\n  <div id="menu"></div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_history_query_renderer.ytd.search.history.query.renderer.css.js--\x3e<style>:host {display: block;margin: 24px 0 0 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} :host(:not(:hover):not([is-history])) ytd-menu-renderer:not([menu-active]) {opacity: 0;} #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dismissed:focus {outline: none;} a.yt-simple-endpoint {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .latest-search-time-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} ytd-menu-renderer {margin-top: -11px;} /*# sourceMappingURL=ytd-search-history-query-renderer.css.map*/</style>';
qIb=d}d=qIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rIb=a}a=rIb;return a}}});
var o2=n2;o2.prototype.dataChanged=o2.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],o2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],o2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],o2.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],o2.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],o2.prototype,"isHistory",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],o2.prototype,"dataChanged",null);o2=_.S([_.Q({asyncProperties:!0,is:"ytd-search-history-query-renderer"})],o2);
var sIb;
var tIb;
var p2,q2=function(){return _.K.apply(this,arguments)||this};
_.q(q2,_.K);q2.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
q2.prototype.onTap=function(){this.data&&this.data.navigationEndpoint&&this.data.adPlaybackContextParams&&_.tHb(this.data.navigationEndpoint,this.data.adPlaybackContextParams)};
q2.prototype.dataChanged=function(){this.data&&(this.data.impressionUrls&&!this.data.impressionsFired&&(_.Vrb(this.data.impressionUrls),this.data.impressionsFired=!0),this.data.adBadge||this.set("data.adBadge",p2.JSC$41897_DEFAULT_AD_BADGE_RENDERER),this.data.activeView&&this.ytdActiveViewBehavior.enableActiveViewMeasurement(this.data.activeView,17))};
q2.prototype.computeThumbnailWidth=function(a,b){return a?"BIG1"===b?340:"BIG2"===b?320:"MEDIUM1"===b?300:"MEDIUM2"===b?280:360:246};
_.t.Object.defineProperties(q2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-promoted-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_promoted_video_renderer.ytd.promoted.video.renderer.css.js--\x3e<ytd-thumbnail data="[[data]]" width="[[computeThumbnailWidth(useProminentThumbs, prominentThumbStyle)]]">\n</ytd-thumbnail>\n<div id="text-container">\n  <a id="endpoint" class="yt-simple-endpoint" data="[[data.navigationEndpoint]]" href$="[[computeHref_(data.navigationEndpoint)]]">\n    <div id="meta">\n      <div id="title-wrapper">\n        \n        <h3 id="video-title" aria-label$="[[data.title.accessibility.accessibilityData.label]]" title$="[[getSimpleString(data.title)]]">\n          [[getSimpleString(data.title)]]\n        </h3>\n      </div>\n      <div id="byline">\n        <div id="ad-badge-container" hidden="[[!data.adBadge]]">\n          <ytd-badge-supported-renderer top-standalone-badge="[[data.adBadge]]">\n          </ytd-badge-supported-renderer>\n        </div>\n        <ytd-video-meta-block data="[[data]]"></ytd-video-meta-block>\n      </div>\n    </div>\n    <span id="description-text">[[getSimpleString(data.description)]]</span>\n    <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n    </ytd-badge-supported-renderer>\n  </a>\n  <div id="menu"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_promoted_video_renderer.ytd.promoted.video.renderer.css.js--\x3e<style>:host {position: relative;display: block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([use-prominent-thumbs])) ytd-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;width: 246px;height: 138px;margin-right: 16px;} #description-text {color: var(--yt-spec-text-secondary);padding-top: 8px;margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} #text-container {max-width: 600px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #title-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #meta-block {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #byline {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #ad-badge-container {margin-top: auto;margin-bottom: auto;margin-right: 5px;} #menu {height: 2.4rem;} ytd-menu-renderer {margin-top: -11px;} #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([use-prominent-thumbs]) ytd-thumbnail:before {display: block;content: "";padding-top: 56.11%;} :host([use-prominent-thumbs]) ytd-thumbnail {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([use-prominent-thumbs]) #text-container {max-width: none;} :host([prominent-thumb-style=BIG1]) ytd-thumbnail {max-width: 340px;} :host([prominent-thumb-style=BIG2]) ytd-thumbnail {max-width: 320px;} :host([prominent-thumb-style=MEDIUM1]) ytd-thumbnail {max-width: 300px;} :host([prominent-thumb-style=MEDIUM2]) ytd-thumbnail {max-width: 280px;} /*# sourceMappingURL=ytd-promoted-video-renderer.css.map*/</style>';
sIb=d}d=sIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tIb=a}a=tIb;return a}}});
var r2=p2=q2;p2.prototype.dataChanged=p2.prototype.dataChanged;p2.prototype.onTap=p2.prototype.onTap;r2.JSC$41897_DEFAULT_AD_BADGE_RENDERER={metadataBadgeRenderer:{label:_.Bg("AD_BADGE_TEXT",void 0,"Ad"),style:"BADGE_STYLE_TYPE_AD"}};_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],r2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],r2.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.yX),_.T("design:type",Object)],r2.prototype,"ytdActiveViewBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],r2.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("desktop_search_prominent_thumbs")}}),
_.T("design:type",Boolean)],r2.prototype,"useProminentThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_search_prominent_thumbs_style")}}),
_.T("design:type",String)],r2.prototype,"prominentThumbStyle",void 0);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],r2.prototype,"onTap",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],r2.prototype,"dataChanged",null);r2=p2=_.S([_.Q({is:"ytd-promoted-video-renderer"})],r2);
var uIb;
var vIb;
_.$u("itemSectionRenderer","searchPyvRenderer","ytd-search-pyv-renderer");var s2=function(){return _.K.apply(this,arguments)||this};
_.q(s2,_.K);s2.prototype.configureRendererStamper=function(){return{"data.ads":{id:"contents",mapping:{promotedVideoRenderer:"ytd-promoted-video-renderer"}}}};
_.t.Object.defineProperties(s2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-pyv-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_pyv_renderer.ytd.search.pyv.renderer.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_search_pyv_renderer.ytd.search.pyv.renderer.css.js--\x3e<style>:host {display: inline-block;width: 100%;} ytd-promoted-video-renderer {padding-top: 24px;} /*# sourceMappingURL=ytd-search-pyv-renderer.css.map*/</style>";uIb=d}d=uIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
vIb=a}a=vIb;return a}}});
var t2=s2;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],t2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],t2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],t2.prototype,"data",void 0);t2=_.S([_.Q({asyncProperties:!0,is:"ytd-search-pyv-renderer"})],t2);
var wIb;
var xIb;
var u2=function(){return _.K.apply(this,arguments)||this};
_.q(u2,_.K);u2.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:more_vert"}}}},"data.exploreButton":{id:"explore-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!0},noInjection:!0}}},"data.offerButtons":{id:"offer-buttons",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
u2.prototype.onTextWrapperTap=function(a){var b=this.data&&this.data.navigationEndpoint;b&&!_.Hx(_.H(a).path||[],this,["A".toString(),"BUTTON".toString()])&&this.fire("yt-navigate",{endpoint:b})};
u2.prototype.dataChanged=function(){var a=this.get("data.offerButton.buttonRenderer.serviceEndpoint");a&&a.commandMetadata&&a.commandMetadata.webHandleServiceEndpointExtension&&a.commandMetadata.webHandleServiceEndpointExtension.fireAutomatically&&_.Kg(this,[a])};
_.t.Object.defineProperties(u2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-movie-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_movie_renderer.ytd.movie.renderer.css.js--\x3e<div class="thumbnail-container">\n  <ytd-thumbnail data="[[data]]" use-expandable-tooltip="[[useExpandableTooltip_]]" width="246">\n  </ytd-thumbnail>\n</div>\n<div class="text-wrapper" on-tap="onTextWrapperTap">\n  <div class="top-container">\n    <div class="top-left-container">\n      <h3>\n         <a id="video-title" class="yt-simple-endpoint" aria-label$="[[data.title.accessibility.accessibilityData.label]]" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" data="[[data.navigationEndpoint]]">\n          [[getSimpleString(data.title)]]\n        </a>\n      </h3>\n      <div id="channel-info">\n        <a hidden="[[!data.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer.thumbnail]]" id="channel-thumbnail" aria-label$="[[data.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer.accessibility.accessibilityData.label]]" href$="[[computeHref_(data.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer.navigationEndpoint)]]">\n          <yt-img-shadow thumbnail="[[data.channelThumbnailSupportedRenderers.channelThumbnailWithLinkRenderer.thumbnail]]" width="24">\n          </yt-img-shadow>\n        </a>\n        <ytd-channel-name id="channel-name" class="long-byline" badges="[[data.ownerBadges]]" channel-name="[[data.longBylineText]]" wrap-text="true">\n        </ytd-channel-name>\n      </div>\n    </div>\n    <div class="top-right-container">\n      <ytd-button-renderer data="[[data.offerButton.buttonRenderer]]" hidden="[[!data.offerButton.buttonRenderer]]">\n      </ytd-button-renderer>\n      <div id="offer-buttons"></div>\n      <div id="menu"></div>\n    </div>\n  </div>\n\n  <ul class="movie-metadata-list">\n    <template is="dom-repeat" items="[[data.topMetadataItems]]">\n      <li>[[getSimpleString(item)]]</li>\n    </template>\n  </ul>\n\n  <template is="dom-if" if="[[enableConsistentTvfilmMetadata]]">\n    <ytd-badge-supported-renderer badges="[[data.badges]]"></ytd-badge-supported-renderer>\n  </template>\n\n  <yt-formatted-string id="description-text" text="[[data.descriptionSnippet]]">\n  </yt-formatted-string>\n\n  <ul class="movie-metadata-list">\n    <template is="dom-repeat" items="[[data.bottomMetadataItems]]">\n      <li>[[getSimpleString(item)]]</li>\n    </template>\n  </ul>\n\n  <template is="dom-if" if="[[!enableConsistentTvfilmMetadata]]">\n    <ytd-badge-supported-renderer badges="[[data.badges]]"></ytd-badge-supported-renderer>\n  </template>\n\n  <div id="explore-button"></div>\n</div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_movie_renderer.ytd.movie.renderer.css.js--\x3e<style>:host {display: block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;position: relative;} :host([left-aligned]) .thumbnail-container {width: auto;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} .thumbnail-container {width: 246px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;margin-right: 16px;} ytd-thumbnail {-ms-flex: none;-webkit-flex: none;flex: none;width: 156px;height: 224px;} .text-wrapper {max-width: 600px;min-width: 0;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .text-wrapper:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} :host([use-prominent-thumbs]) #channel-info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;} #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #description-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;margin-top: 12px;margin-bottom: 4px;} .movie-metadata-list {color: var(--yt-spec-text-secondary);list-style-type: none;margin-top: 4px;} .movie-metadata-list li {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host(:not([enable-consistent-tvfilm-metadata])) ytd-badge-supported-renderer {padding-top: 16px;} :host([enable-consistent-tvfilm-metadata]) ytd-badge-supported-renderer {margin-top: 4px;} ytd-menu-renderer {position: absolute;top: -8px;right: 0;} .top-container {-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .top-left-container {margin-right: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 2;-webkit-flex: 2;flex: 2;} .top-right-container {-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} .top-right-container ytd-button-renderer+#menu ytd-menu-renderer {right: -40px;} #explore-button {overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #offer-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;} #offer-buttons ytd-button-renderer {margin-right: 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([use-prominent-thumbs]) .thumbnail-container {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([prominent-thumb-style=BIG1]) .thumbnail-container {max-width: 340px;} :host([prominent-thumb-style=BIG2]) .thumbnail-container {max-width: 320px;} :host([prominent-thumb-style=MEDIUM1]) .thumbnail-container {max-width: 300px;} :host([prominent-thumb-style=MEDIUM2]) .thumbnail-container {max-width: 280px;} :host([use-prominent-thumbs]) .text-wrapper {max-width: none;} :host([use-prominent-thumbs]) .top-right-container {height: 36px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([use-prominent-thumbs]) ytd-menu-renderer {margin-top: -11px;position: static;} #channel-thumbnail {padding-right: 8px;} #channel-thumbnail:empty {padding-right: 0;} #channel-info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #channel-name {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;-ms-align-self: center;-webkit-align-self: center;align-self: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-movie-renderer.css.map*/</style>';
wIb=d}d=wIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xIb=a}a=xIb;return a}}});
var v2=u2;v2.prototype.dataChanged=v2.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],v2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],v2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],v2.prototype,"ytdLockupBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],v2.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("desktop_search_prominent_thumbs")}}),
_.T("design:type",Boolean)],v2.prototype,"useProminentThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_search_prominent_thumbs_style")}}),
_.T("design:type",String)],v2.prototype,"prominentThumbStyle",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("enable_consistent_tvfilm_metadata")}}),
_.T("design:type",Boolean)],v2.prototype,"enableConsistentTvfilmMetadata",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],v2.prototype,"leftAligned",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],v2.prototype,"dataChanged",null);v2=_.S([_.Q({asyncProperties:!0,is:"ytd-movie-renderer"})],v2);
var yIb;
var zIb;
var w2=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-signal-action-pause-player":"handleSignalActionPausePlayer"};return a};
_.q(w2,_.K);w2.prototype.handleSignalActionPausePlayer=function(){_.qw().pause()};
_.t.Object.defineProperties(w2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-video-player-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_channel_video_player_renderer.ytd.channel.video.player.renderer.css.js--\x3e<div id="player-container">\n  <ytd-player id="player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_CHANNEL_TRAILER">\n  </ytd-player>\n</div>\n<div id="content">\n  <div id="metadata-container">\n    <yt-formatted-string id="title" aria-level="3" ellipsis-truncate="" role="heading" text="[[data.title]]">\n    </yt-formatted-string>\n    <ytd-video-meta-block class="title" data="[[data]]"></ytd-video-meta-block>\n  </div>\n  <ytd-expander id="description" disable-toggle="" max-number-of-lines="7">\n    <yt-formatted-string class="content" slot="content" split-lines="" text="[[data.description]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="more-button" slot="more-button" text="[[data.readMoreText]]">\n    </yt-formatted-string>\n  </ytd-expander>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_channel_video_player_renderer.ytd.channel.video.player.renderer.css.js--\x3e<style>:host {display: block;padding: 24px 0 24px 0;overflow: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {--yt-endpoint-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #metadata-container {margin: 16px 0 0;} #description {display: none;} #player-container {height: 242px;width: 428px;} #content {min-width: 0;max-width: 400px;} .content {display: block;} @media(min-width:662px) {#player-container {width: 424px;height: 238px;}} @media(min-width:876px) {:host {overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;}#title {margin-bottom: 16px;}#player-container {margin: 0 24px 0 0;}.more-button {--yt-endpoint-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;}#description {display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;}#content {color: var(--yt-spec-text-primary);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;}#metadata-container {margin: 0 0 16px;}} /*# sourceMappingURL=ytd-channel-video-player-renderer.css.map*/</style>';
yIb=d}d=yIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zIb=a}a=zIb;return a}}});
var x2=w2;_.S([_.N(),_.T("design:type",Object)],x2.prototype,"data",void 0);_.S([_.L(AHb),_.T("design:type",Object)],x2.prototype,"ytVideoPlayerRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],x2.prototype,"ytActionHandlerBehavior",void 0);x2=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-video-player-renderer"})],x2);
var AIb;
var BIb;
var CIb;
var DIb;
var EIb;
var FIb;
var y2=function(){var a=_.K.apply(this,arguments)||this;a.playing=!1;a.playerId="ytd-default-promo-panel-renderer-inline-playback-renderer-"+_.qa(a);a.active=!1;return a};
_.q(y2,_.K);_.f=y2.prototype;_.f.detached=function(){this.stop()};
_.f.play=function(){var a=this,b,c,d,e,h;return _.y(function(l){if(1==l.nextAddress)return a.active=!0,b=a.get("data.inlinePlaybackEndpoint.watchEndpoint"),c=b.videoId||a.data.videoId,d=b.startTimeSeconds||0,e=b.playerParams||null,_.x("kevlar_player_update_killswitch")?_.B(l,a.playerEl.update({args:{video_id:c,startSeconds:d,player_params:e}}),2):(a.playerEl.loadVideoWithPlayerVars({video_id:c,startSeconds:d,player_params:e}),l.jumpTo(2));if(4!=l.nextAddress)return _.B(l,a.playerEl.getPlayerPromise(),
4);h=l.yieldResult;h.unloadModule("annotations_module");h.addEventListener("onStateChange",function(m){a.onPlayerStateChange(m)});
_.bf(l)})};
_.f.onPlayerStateChange=function(a){if(this.active)switch(this.playing=1===a,a){case 1:this.fire("yt-default-promo-panel-renderer-playing");break;case 0:this.fire("yt-default-promo-panel-renderer-ended")}};
_.f.stop=function(){this.playerEl.stop();this.playing=this.active=!1};
_.f.resize=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,a.playerEl.getPlayerPromise(),2);b=c.yieldResult;b.setSize(NaN,NaN);_.bf(c)})};
_.t.Object.defineProperties(y2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-default-promo-panel-renderer-inline-playback-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.yto.ytd_default_promo_panel_renderer_inline_playback_renderer.ytd.default.promo.panel.renderer.inline.playback.renderer.css.js--\x3e<ytd-player id="player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_VERTICAL_LANDING_PAGE_PROMO" player-id="[[playerId]]">\n</ytd-player>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===EIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.yto.ytd_default_promo_panel_renderer_inline_playback_renderer.ytd.default.promo.panel.renderer.inline.playback.renderer.css.js--\x3e<style>:host {display: block;width: 100%;height: 100%;background-color: #000;opacity: 0.5;transition: opacity 0.5s;} :host([playing]) {opacity: 1;} ytd-player {position: absolute;display: block;width: 100%;height: 100%;opacity: 0;transition: opacity 0.2s;} :host([playing]) ytd-player {opacity: 1;} /*# sourceMappingURL=ytd-default-promo-panel-renderer-inline-playback-renderer.css.map*/</style>";
EIb=d}d=EIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FIb=a}a=FIb;return a}}});
var z2=y2;_.S([_.N(),_.T("design:type",Object)],z2.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],z2.prototype,"playing",void 0);_.S([_.N(),_.T("design:type",Object)],z2.prototype,"playerId",void 0);_.S([_.Z("#player"),_.T("design:type",Object)],z2.prototype,"playerEl",void 0);z2=_.S([_.Q({is:"ytd-default-promo-panel-renderer-inline-playback-renderer"})],z2);
var GIb;
var HIb;
_.Ng({is:"yt-video-as-thumbnail-details",_template:function(){if(void 0!==HIb)return HIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-video-as-thumbnail-details--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_video_as_thumbnail_details.yt.video.as.thumbnail.details.css.js--\x3e<div id="placeholder"></div>\n<div id="video-container">\n  <video id="video" muted="">\n    <source id="mp4" src$="[[videoThumbnail_.url]]" type="video/mp4">\n  </video>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_video_as_thumbnail_details.yt.video.as.thumbnail.details.css.js--\x3e<style>:host {display: inline-block;} :host([animate-placeholder-on-entrance]) #placeholder {animation: 1.8s cubic-bezier(0.4,0,0.2,1) background-entry forwards 1;opacity: 0;transform: scale(1);} #placeholder {background-position: top center;background-repeat: no-repeat;background-size: cover;height: 100%;position: absolute;width: 100%;} #video-container {height: var(--yt-video-container-thumbnail-height,100%);overflow: hidden;position: absolute;top: 0;width: var(--yt-video-container-thumbnail-width,100%);margin-left: var(--yt-video-thumbnail-margin-left,0px);} #video {height: var(--yt-video-thumbnail-height,100%);min-width: 100%;min-height: 100%;position: absolute;width: var(--yt-video-thumbnail-width,100%);} #placeholder,#video {opacity: 1;transition: opacity 0.5s ease-in-out;} #placeholder.hideit,#video.hideit {opacity: 0;} @keyframes background-entry {from {opacity: 0;transform: scale(1);}to {opacity: 1;transform: scale(1.1);}} /*# sourceMappingURL=yt-video-as-thumbnail-details.css.map*/</style>";
GIb=d}d=GIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return HIb=a},
properties:{data:{type:Object,observer:"dataChanged_"},animatePlaceholderOnEntrance:{type:Boolean,reflectToAttribute:!0},autoplay:{type:Boolean,reflectToAttribute:!0},videoThumbnail_:{type:Object,computed:"getVideoThumbnail_(data.videoThumbnails)"},loop:Boolean,isVideoPlaying_:Boolean},attached:function(){this.isVideoPlaying_=!1;this.$.video.classList.add("hideit");this.$.placeholder.classList.remove("hideit");this.listen(this.$.video,"ended","onEnded_");this.listen(this.$.mp4,"error","onError_")},
detached:function(){this.unlisten(this.$.video,"ended","onEnded_");this.unlisten(this.$.mp4,"error","onError_")},
play:function(){if(this.$.mp4.getAttribute("src")&&this.isMp4Supported_()){this.$.video.currentTime=0;this.$.video.load();var a=this.$.video.play();a?a.then(this.handleVideoStartPlaying_.bind(this)).catch(function(){this.fire("yt-video-thumbnail-not-playing")}.bind(this)):this.handleVideoStartPlaying_()}else this.fire("yt-video-thumbnail-not-playing")},
handleVideoStartPlaying_:function(){this.$.video.classList.remove("hideit");this.$.placeholder.classList.add("hideit");this.isVideoPlaying_=!0},
stop:function(){this.isVideoPlaying_&&(this.showPlaceholder_(),this.isVideoPlaying_=!1,this.$.video.pause(),this.$.video.currentTime=0)},
dataChanged_:function(a){a.thumbnailPlaceholder&&(a=_.nu(a.thumbnailPlaceholder.thumbnails,this.width),this.$.placeholder.style["background-image"]="url("+a+")");this.stop();this.autoplay&&this.play()},
showPlaceholder_:function(){this.$.video.classList.add("hideit");this.$.placeholder.classList.remove("hideit")},
onEnded_:function(){this.stop();this.fire("yt-video-thumbnail-ended");this.loop&&this.play()},
onError_:function(){this.fire("yt-video-thumbnail-error")},
isMp4Supported_:function(){return!(!this.$.video.canPlayType||!this.$.video.canPlayType("video/mp4").replace(/no/,""))},
getVideoThumbnail_:function(a){if(a&&a.length)return a[0]}});
var A2=function(){var a=_.K.apply(this,arguments)||this;a.disableGridStateAware=!1;a.animationEnabled=_.x("enable_web_ketchup_hero_animation");a.transitioningOut=!1;a.useBrowseWidth=!1;a.narrow=!1;a.videoTimeoutJobId=0;a.panelTimeoutJobId=0;a.panelTimeoutJobStartMs=0;a.actionMap={"yt-window-resized":"onWindowResized"};return a};
_.q(A2,_.K);_.f=A2.prototype;_.f.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.created=function(){this.ytdGridStateAwareBehavior.gridStateAwareSizingElementSelector="#content"};
_.f.attached=function(){this.onWindowResized()};
_.f.detached=function(){this.clearTimeouts()};
_.f.onWindowResized=function(){this.narrow=16*this.clientHeight/9>this.clientWidth;var a;this.player&&(null==(a=this.data)?0:a.inlinePlaybackRenderer)&&this.player.resize()};
_.f.computePanelLayout=function(a){return a&&a.panelLayout||"DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_A"};
_.f.playVideo=function(){var a;this.video&&(null==(a=this.data)?0:a.videoThumbnail)&&this.video.play();var b;this.player&&(null==(b=this.data)?0:b.inlinePlaybackRenderer)&&this.player.play()};
_.f.stopVideo=function(){var a;this.video&&(null==(a=this.data)?0:a.videoThumbnail)&&this.video.stop();var b;this.player&&(null==(b=this.data)?0:b.inlinePlaybackRenderer)&&this.player.stop()};
_.f.transitionOut=function(){var a=this;this.transitioningOut=!0;return new Promise(function(b){var c=function(){a.$["action-button"].removeEventListener("animationend",c);_.xe.cancelJob(d);b();a.transitioningOut=!1};
var d=_.Jn(_.xe,c,1E3);a.$["action-button"].addEventListener("animationend",c);a.player&&(a.player.playing=!1)})};
_.f.computeMetadataOrder=function(a){return a&&a.metadataOrder&&"DEFAULT_PROMO_PANEL_RENDERER_METADATA_ORDER_UNSPECIFIED"!==a.metadataOrder?a.metadataOrder:"DEFAULT_PROMO_PANEL_RENDERER_METADATA_ORDER_TITLE_DESCRIPTION"};
_.f.dataChanged=function(){this.clearTimeouts();this.setBackgroundImage(this.data);this.setScrimLayer(this.data);this.startPanelTimeout()};
_.f.setBackgroundImage=function(a){if(a=this.getBackgroundImageUrl(a))this.$.hero.style.backgroundImage="url("+a+")"};
_.f.setScrimLayer=function(a){var b=this.getScrimLayerColorStops(a);a=((null==a?void 0:a.scrimRotation)||0)+180;"rtl"===_.w("HTML_DIR")&&(a=-a);b&&(this.$.scrim.style.backgroundImage="linear-gradient("+a+"deg, "+b+")")};
_.f.getScrimLayerColorStops=function(){var a,b=null==(a=this.data)?void 0:a.scrimColorValues;if(!b)return null;if(1===b.length)return a=_.bv(b[0]),a+" 0%, "+a+" 100%";if(3===b.length){var c=[0,72,98];return b.map(function(d,e){return _.bv(d)+" "+c[e]+"%"}).join(",")}return null};
_.f.getBackgroundImageUrl=function(a){return a&&a.largeFormFactorBackgroundThumbnail?_.nu((a.largeFormFactorBackgroundThumbnail.thumbnailLandscapePortraitRenderer.landscape||a.largeFormFactorBackgroundThumbnail.thumbnailLandscapePortraitRenderer.portrait).thumbnails,screen.width):null};
_.f.onPlaying=function(){this.startVideoTimeout()};
_.f.onEnded=function(){this.rotate()};
_.f.startPanelTimeout=function(){var a=this;if(!this.panelTimeoutJobId){var b=this.get("data.minPanelDisplayDurationMs");b&&(this.panelTimeoutJobStartMs=Date.now(),this.panelTimeoutJobId=_.Jn(_.xe,function(){a.rotate()},b))}};
_.f.startVideoTimeout=function(){var a=this;if(!this.videoTimeoutJobId){_.xe.cancelJob(this.panelTimeoutJobId);var b=Date.now()-this.panelTimeoutJobStartMs;b=Math.max(0,this.get("data.minPanelDisplayDurationMs")-b);b=Math.max(this.get("data.minVideoPlayDurationMs")||0,b);this.videoTimeoutJobId=_.Jn(_.xe,function(){a.rotate()},b)}};
_.f.clearTimeouts=function(){0!==this.panelTimeoutJobId&&_.xe.cancelJob(this.panelTimeoutJobId);0!==this.videoTimeoutJobId&&_.xe.cancelJob(this.videoTimeoutJobId);this.videoTimeoutJobId=this.panelTimeoutJobId=0};
_.f.rotate=function(){this.clearTimeouts();this.fire("yt-default-promo-panel-renderer-rotate")};
_.t.Object.defineProperties(A2.prototype,{player:{configurable:!0,enumerable:!0,get:function(){return this.$.player}},
video:{configurable:!0,enumerable:!0,get:function(){return this.$.video}}});
_.t.Object.defineProperties(A2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===DIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-default-promo-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.yto.ytd_default_promo_panel_renderer.ytd.default.promo.panel.renderer.css.js--\x3e<div id="hero"></div>\n<yt-video-as-thumbnail-details id="video" animate-placeholder-on-entrance="" autoplay="" data="[[data.videoThumbnail]]" disable-upgrade$="[[!data.videoThumbnail]]" height="600" hidden$="[[!data.videoThumbnail]]" width="[[screen.width]]">\n</yt-video-as-thumbnail-details>\n<ytd-default-promo-panel-renderer-inline-playback-renderer id="player" data="[[data.inlinePlaybackRenderer.inlinePlaybackRenderer]]" disable-upgrade$="[[!data.inlinePlaybackRenderer]]" hidden$="[[!data.inlinePlaybackRenderer]]">\n</ytd-default-promo-panel-renderer-inline-playback-renderer>\n<div id="scrim"></div>\n<a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <div id="content">\n    <yt-img-shadow id="logo" disable-upgrade$="[[!data.foregroundThumbnailDetails]]" height="68" thumbnail="[[data.foregroundThumbnailDetails]]">\n    </yt-img-shadow>\n    <template is="dom-if" if="[[equals(metadataOrder, \'DEFAULT_PROMO_PANEL_RENDERER_METADATA_ORDER_DESCRIPTION_TITLE\')]]">\n      <yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string>\n    </template>\n    <h1 id="hero-title">[[getSimpleString(data.title)]]</h1>\n    <template is="dom-if" if="[[equals(metadataOrder, \'DEFAULT_PROMO_PANEL_RENDERER_METADATA_ORDER_TITLE_DESCRIPTION\')]]">\n      <yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string>\n    </template>\n    <div id="action-button"></div>\n  </div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.yto.ytd_default_promo_panel_renderer.ytd.default.promo.panel.renderer.css.js--\x3e<style>:host(.grid:not(.grid-disabled)) {max-width: var(--ytd-grid-max-width);} :host(.grid-1-columns),.grid-1-columns {width: var(--ytd-grid-1-columns-width)!important;} :host(.grid-2-columns),.grid-2-columns {width: var(--ytd-grid-2-columns-width)!important;} :host(.grid-3-columns),.grid-3-columns {width: var(--ytd-grid-3-columns-width)!important;} :host(.grid-4-columns),.grid-4-columns {width: var(--ytd-grid-4-columns-width)!important;} :host(.grid-5-columns),.grid-5-columns {width: var(--ytd-grid-5-columns-width)!important;} :host(.grid-6-columns),.grid-6-columns {width: var(--ytd-grid-6-columns-width)!important;} :host {--yt-endpoint-color: var(--yt-spec-static-brand-white);--yt-endpoint-hover-color: var(--yt-spec-static-brand-white);--yt-video-thumbnail-height: auto;--yt-video-thumbnail-width: auto;color: var(--yt-spec-static-brand-white);display: block;height: var(--ytd-default-promo-panel-renderer-height);overflow: hidden;position: relative;} yt-video-as-thumbnail-details {min-height: var(--ytd-default-promo-panel-renderer-height);position: absolute;width: 100%;} #hero,#scrim {animation: 1.8s cubic-bezier(0.4,0,0.2,1) background-in forwards 1;background-position: top center;background-repeat: no-repeat;background-size: cover;height: 100%;width: 100%;opacity: 0;position: absolute;transform: scale(1);} #content {bottom: 0;height: 100%;left: 0;margin: 0 auto;padding: 56px 32px;position: absolute;right: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_A]) ytd-default-promo-panel-renderer-inline-playback-renderer {position: absolute;z-index: 0;width: 100vw;height: 56.25vw;top: 0;left: 0;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_A][narrow]) ytd-default-promo-panel-renderer-inline-playback-renderer {width: calc(var(--ytd-default-promo-panel-renderer-height) * 16/9);height: var(--ytd-default-promo-panel-renderer-height);top: 0;left: calc(-1 * (var(--ytd-default-promo-panel-renderer-height) * 16/9 - 100%)/2);} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) {--ytd-default-promo-panel-renderer-height: 460px;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) ytd-default-promo-panel-renderer-inline-playback-renderer,:host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #hero,:host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #scrim {position: absolute;height: var(--ytd-default-promo-panel-renderer-height);width: calc(1.7777777778 * var(--ytd-default-promo-panel-renderer-height));animation: none;transform: none;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) ytd-default-promo-panel-renderer-inline-playback-renderer,:host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #hero,:host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #scrim {top: 0;right: 0;left: auto;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #hero,:host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #scrim {opacity: 1;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #content {display: flex;justify-content: center;padding: 0;box-sizing: border-box;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #hero-title {max-width: 720px;-webkit-line-clamp: 2;max-height: 11.4rem;display: block;display: -webkit-box;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;font-size: 4.8rem;font-weight: 500;line-height: 5.7rem;} :host([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #description {font-size: 1.8rem;line-height: 2.3rem;} :host(:not([use-browse-width])) #content {width: 642px;} @media(min-width:1290px) {:host(:not([use-browse-width])) #content {width: 1284px;}} :host([use-browse-width]) #content {padding: 56px 0;} :host([use-browse-width][disable-grid-state-aware]) #content {width: calc(100% - (24px * 2));max-width: var(--ytd-rich-grid-max-width);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {color: var(--yt-spec-static-brand-white);text-decoration: none;} a.yt-simple-endpoint:hover {color: var(--yt-spec-static-brand-white);text-decoration: none;} #logo {margin-bottom: 16px;max-height: 80px;max-width: 300px;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #hero-title {margin-bottom: 12px;display: block;max-height: 18.6rem;overflow: hidden;font-family: "YouTube Sans","YT Sans";font-size: 5.8rem;font-weight: 500;line-height: 6.2rem;} :host([layout-style=CAROUSEL_ITEM_RENDERER_LAYOUT_STYLE_DESTINATION]) #hero-title {font-family: inherit;} :host([animation-enabled]) #hero-title {opacity: 0;transition: opacity 0.5s ease-in-out;} :host([animation-enabled]) #hero-title.visible {opacity: 1;} #description {margin-bottom: 28px;max-width: 640px;font-size: 1.6rem;font-weight: 400;line-height: 2.2rem;} #action-button {font-size: 1.4rem;font-weight: 400;letter-spacing: 0.1rem;line-height: 1.4rem;} :host([animation-enabled]) #logo {opacity: 0;transform: translateY(25px);animation: 0.6s cubic-bezier(0.4,0,0.2,1) 0.32s content-in forwards 1;} :host([animation-enabled]) #hero-title {animation: 0.6s cubic-bezier(0.4,0,0.2,1) 0.37s content-in forwards 1;opacity: 0;transform: translateY(25px);} :host([animation-enabled]) #description {animation: 0.6s cubic-bezier(0.4,0,0.2,1) 0.42s content-in forwards 1;opacity: 0;transform: translateY(25px);} :host([animation-enabled]) #action-button {animation: 0.6s cubic-bezier(0.4,0,0.2,1) 0.47s content-in forwards 1;opacity: 0;transform: translateY(25px);} :host([animation-enabled][transitioning-out]):not([panel-layout=DEFAULT_PROMO_PANEL_RENDERER_LAYOUT_B]) #hero {animation: 1.8s cubic-bezier(0.4,0,0.2,1) background-out forwards 1;opacity: 1;transform: scale(1.1);} :host([animation-enabled][transitioning-out]) #logo {animation: 0.4s cubic-bezier(0.4,0,0.2,1) 0.32s content-out forwards 1;opacity: 1;transform: translateY(0);} :host([animation-enabled][transitioning-out]) #hero-title {animation: 0.4s cubic-bezier(0.4,0,0.2,1) 0.37s content-out forwards 1;opacity: 1;transform: translateY(0);} :host([animation-enabled][transitioning-out]) #description {animation: 0.4s cubic-bezier(0.4,0,0.2,1) 0.42s content-out forwards 1;opacity: 1;transform: translateY(0);} :host([animation-enabled][transitioning-out]) #action-button {animation: 0.4s cubic-bezier(0.4,0,0.2,1) 0.47s content-out forwards 1;opacity: 1;transform: translateY(0);} @keyframes background-out {from {opacity: 1;}to {opacity: 0;}} @keyframes background-in {from {opacity: 0;transform: scale(1);}to {opacity: 1;transform: scale(1.1);}} @keyframes content-in {0% {opacity: 0;transform: translateY(25px);}80% {transform: translateY(0px);}100% {opacity: 1;transform: translateY(0px);}} @keyframes content-out {0% {opacity: 1;transform: translateY(0px);}80% {transform: translateY(-25px);}100% {opacity: 0;transform: translateY(-25px);}} /*# sourceMappingURL=ytd-default-promo-panel-renderer.css.map*/</style>';
CIb=d}d=CIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);DIb=a}a=DIb;return a}}});
var B2=A2;B2.prototype.onEnded=B2.prototype.onEnded;B2.prototype.onPlaying=B2.prototype.onPlaying;B2.prototype.dataChanged=B2.prototype.dataChanged;_.S([_.L(_.B1),_.T("design:type",Object)],B2.prototype,"ytdGridStateAwareBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],B2.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.HAb),_.T("design:type",Object)],B2.prototype,"ytBooleanLogicBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],B2.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],B2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B2.prototype,"ytRendererBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],B2.prototype,"disableGridStateAware",void 0);_.S([_.N(),_.T("design:type",Object)],B2.prototype,"data",void 0);
_.S([_.N({computed:"computePanelLayout(data)",reflectToAttribute:!0}),_.T("design:type",String)],B2.prototype,"panelLayout",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],B2.prototype,"animationEnabled",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],B2.prototype,"transitioningOut",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],B2.prototype,"useBrowseWidth",void 0);
_.S([_.N({computed:"computeMetadataOrder(data)"}),_.T("design:type",Boolean)],B2.prototype,"metadataOrder",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],B2.prototype,"narrow",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],B2.prototype,"layoutStyle",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B2.prototype,"dataChanged",null);
_.S([_.O("yt-default-promo-panel-renderer-playing"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B2.prototype,"onPlaying",null);_.S([_.O("yt-default-promo-panel-renderer-ended"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B2.prototype,"onEnded",null);B2=_.S([_.Q({is:"ytd-default-promo-panel-renderer"})],B2);
_.$u("itemSectionRenderer","carouselItemRenderer","ytd-carousel-item-renderer");var C2=function(){var a=_.K.apply(this,arguments)||this;a.dotMenuVisible=!1;a.paginationThumbnailsVisible=!1;a.active=!0;return a};
_.q(C2,_.K);_.f=C2.prototype;_.f.configureRendererStamper=function(){return{currentItem:{id:"carousel-item",mapping:{defaultPromoPanelRenderer:{component:"ytd-default-promo-panel-renderer",attributes:{autoplay:!0},properties:{disableGridStateAware:"[[disableGridStateAware]]",useBrowseWidth:"[[data.paginationThumbnails]]",layoutStyle:"[[data.layoutStyle]]"}}}}}};
_.f.created=function(){this.ytdGridStateAwareBehavior.gridStateAwareSizingElementSelector="#pagination-thumbnails"};
_.f.detached=function(){this.jobId&&_.xe.cancelJob(this.jobId)};
_.f.setNextCarouselItem=function(){this.shouldRotate()&&this.setCarouselItem(this.currentItemIndex+1)};
_.f.setCarouselItem=function(a){a>=this.data.carouselItems.length&&this.loopCount++;this.jobId&&_.xe.cancelJob(this.jobId);var b=this.getCurrentPanelElement();b&&b.stopVideo();this.currentItemIndex=a%this.data.carouselItems.length;this.currentItem=this.data.carouselItems[this.currentItemIndex];this.currentItemHasVideo()?(b||(b=this.getCurrentPanelElement()),b.playVideo()):this.startRotationJob()};
_.f.onDataChanged=function(){this.data&&(this.loopCount=0,void 0!==this.data.autoRotateDurationMs&&(this.rotationTimeout=this.data.autoRotateDurationMs),this.setCarouselItem(0))};
_.f.getCurrentPanelElement=function(){return _.H(this.$["carousel-item"]).querySelector("ytd-default-promo-panel-renderer")};
_.f.getCurrentPaginationElement=function(){return _.H(this.$["pagination-thumbnails"]).querySelector(".ytd-carousel-item-renderer.selected")};
_.f.getNavigationClass=function(a,b){return a===b?"selected":""};
_.f.getNavigationDurationStyle=function(a){a=this.get("data.carouselItems."+a+".defaultPromoPanelRenderer.minPanelDisplayDurationMs")||0;return _.ou({"animation-duration":a+"ms"})};
_.f.onNavigationTap=function(a){var b=this,c=a.model.index;c!==this.currentItemIndex&&(this.getCurrentPanelElement().transitionOut().then(function(){b.setCarouselItem(c)}),this.loopCount=3)};
_.f.onVideoThumbnailEnded=function(){var a=this;if(this.shouldRotate()){var b=this.getCurrentPaginationElement();b&&(b.classList.add("finished"),this.getCurrentPanelElement().transitionOut().then(function(){b.classList.remove("finished");a.setNextCarouselItem()}))}};
_.f.onVideoThumbnailError=function(){this.startRotationJob()};
_.f.onVideoNotPlaying=function(){this.startRotationJob()};
_.f.currentItemHasVideo=function(){return!!this.get("defaultPromoPanelRenderer.videoThumbnail",this.currentItem)||!!this.get("defaultPromoPanelRenderer.inlinePlaybackRenderer",this.currentItem)};
_.f.startRotationJob=function(){var a=this;_.xe.cancelJob(this.jobId);this.shouldRotate()&&this.rotationTimeout&&(this.jobId=_.xe.addLowPriorityJob(function(){a.getCurrentPanelElement().transitionOut().then(function(){a.setNextCarouselItem()})},this.rotationTimeout))};
_.f.computeDotMenuVisible=function(a){return!!a.carouselItems&&1<a.carouselItems.length&&!a.paginationThumbnails};
_.f.computePaginationThumbnailsVisible=function(a){var b,c;return 1<(null!=(c=null==a?void 0:null==(b=a.paginationThumbnails)?void 0:b.length)?c:0)};
_.f.computePaginatorAlignment=function(a){return(null==a?void 0:a.paginatorAlignment)||"CAROUSEL_ITEM_RENDERER_PAGINATOR_ALIGNMENT_END"};
_.f.shouldRotate=function(){return 1<this.data.carouselItems.length&&this.active&&3>this.loopCount};
_.f.activeChanged=function(){this.data&&(this.active?this.setCarouselItem(this.currentItemIndex):this.currentItem=void 0)};
_.t.Object.defineProperties(C2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===BIb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-carousel-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.yto.ytd_carousel_item_renderer.ytd.carousel.item.renderer.css.js--\x3e<div id="carousel-item"></div>\n<div id="menu" hidden="[[!dotMenuVisible]]">\n  <template is="dom-repeat" items="[[data.carouselItems]]">\n    <button class$="menu-dot [[getNavigationClass(index, currentItemIndex)]]" on-click="onNavigationTap">\n    </button>\n  </template>\n</div>\n<div id="overlay">\n  <div id="pagination-thumbnails" hidden="[[!paginationThumbnailsVisible]]">\n    <template is="dom-repeat" items="[[data.paginationThumbnails]]">\n      <button class$="[[getNavigationClass(index, currentItemIndex)]]" aria-label$="[[item.accessibility.accessibilityData.label]]" on-click="onNavigationTap">\n        <yt-img-shadow height="40" thumbnail="[[item]]" width="72">\n        </yt-img-shadow>\n        <div class="progress-bar" style$="[[getNavigationDurationStyle(index)]]">\n        </div>\n      </button>\n    </template>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===AIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.yto.ytd_carousel_item_renderer.ytd.carousel.item.renderer.css.js--\x3e<style>@charset "UTF-8"; :host(.grid:not(.grid-disabled)) {max-width: var(--ytd-grid-max-width);} :host(.grid-1-columns),.grid-1-columns {width: var(--ytd-grid-1-columns-width)!important;} :host(.grid-2-columns),.grid-2-columns {width: var(--ytd-grid-2-columns-width)!important;} :host(.grid-3-columns),.grid-3-columns {width: var(--ytd-grid-3-columns-width)!important;} :host(.grid-4-columns),.grid-4-columns {width: var(--ytd-grid-4-columns-width)!important;} :host(.grid-5-columns),.grid-5-columns {width: var(--ytd-grid-5-columns-width)!important;} :host(.grid-6-columns),.grid-6-columns {width: var(--ytd-grid-6-columns-width)!important;} :host {display: block;position: relative;} #carousel-item {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #menu {float: right;margin-top: -100px;position: absolute;right: 100px;vertical-align: middle;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} button {padding: 0;background-color: transparent;outline: none;border: none;cursor: pointer;} .menu-dot:before {content: " \u25cf";} .menu-dot {color: var(--yt-spec-static-overlay-text-disabled);font-size: 1rem;margin: 0 1px;transition: color 0.25s ease;} .menu-dot:hover {color: var(--yt-spec-static-brand-white);} .menu-dot.selected {color: var(--yt-spec-static-brand-white);font-size: 1.1rem;} #overlay {position: absolute;right: 0;bottom: 0;left: 0;pointer-events: none;} :host([disable-grid-state-aware]) #overlay {width: calc(100% - 48px);max-width: var(--ytd-rich-grid-max-width);margin: 0 auto;} #pagination-thumbnails {margin: 56px auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} :host([paginator-alignment=CAROUSEL_ITEM_RENDERER_PAGINATOR_ALIGNMENT_START]) #pagination-thumbnails {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([paginator-alignment=CAROUSEL_ITEM_RENDERER_PAGINATOR_ALIGNMENT_END]) #pagination-thumbnails {-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #pagination-thumbnails button:nth-child(n+4) {display: none;} @media(min-width:662px) {#pagination-thumbnails button:nth-child(n+4) {display: inline-block;}} #pagination-thumbnails button {position: relative;opacity: 0.5;pointer-events: auto;outline: none;height: 40px;} #pagination-thumbnails button:hover,#pagination-thumbnails button:focus {opacity: 0.9;} #pagination-thumbnails button.selected {opacity: 1;} #pagination-thumbnails button .progress-bar {display: none;background-color: var(--yt-spec-static-brand-white);position: absolute;bottom: -4px;height: 2px;left: 0;right: 0;} #pagination-thumbnails button.selected .progress-bar {animation-name: progress-bar;animation-timing-function: linear;display: block;} #pagination-thumbnails button.selected.finished .progress-bar {animation: none;} #overlay button:not(:first-child) {margin-left: 8px;} @keyframes progress-bar {0% {right: 100%;}100% {right: 0;}} /*# sourceMappingURL=ytd-carousel-item-renderer.css.map*/</style>';
AIb=d}d=AIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);BIb=a}a=BIb;return a}}});
var D2=C2;D2.prototype.activeChanged=D2.prototype.activeChanged;D2.prototype.onVideoNotPlaying=D2.prototype.onVideoNotPlaying;D2.prototype.onVideoThumbnailError=D2.prototype.onVideoThumbnailError;D2.prototype.onVideoThumbnailEnded=D2.prototype.onVideoThumbnailEnded;D2.prototype.onDataChanged=D2.prototype.onDataChanged;_.S([_.L(_.B1),_.T("design:type",Object)],D2.prototype,"ytdGridStateAwareBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],D2.prototype,"ytdGuideStateAwareBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],D2.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],D2.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],D2.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],D2.prototype,"currentItem",void 0);_.S([_.N(),_.T("design:type",Number)],D2.prototype,"currentItemIndex",void 0);
_.S([_.N(),_.T("design:type",Number)],D2.prototype,"rotationTimeout",void 0);_.S([_.N(),_.T("design:type",Number)],D2.prototype,"loopCount",void 0);_.S([_.N({computed:"computePaginatorAlignment(data)",reflectToAttribute:!0}),_.T("design:type",String)],D2.prototype,"paginatorAlignment",void 0);_.S([_.N(),_.T("design:type",Number)],D2.prototype,"jobId",void 0);_.S([_.N({computed:"computeDotMenuVisible(data)"}),_.T("design:type",Object)],D2.prototype,"dotMenuVisible",void 0);
_.S([_.N({computed:"computePaginationThumbnailsVisible(data)"}),_.T("design:type",Object)],D2.prototype,"paginationThumbnailsVisible",void 0);_.S([_.N(),_.T("design:type",Object)],D2.prototype,"active",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D2.prototype,"onDataChanged",null);
_.S([_.O("yt-video-thumbnail-ended"),_.O("yt-default-promo-panel-renderer-rotate"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D2.prototype,"onVideoThumbnailEnded",null);_.S([_.O("yt-video-thumbnail-error"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D2.prototype,"onVideoThumbnailError",null);
_.S([_.O("yt-video-thumbnail-not-playing"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D2.prototype,"onVideoNotPlaying",null);_.S([_.Ct("active"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D2.prototype,"activeChanged",null);D2=_.S([_.Q({is:"ytd-carousel-item-renderer"})],D2);
var IIb;
var JIb;
var KIb;
var LIb;
_.Ng({is:"yt-search-query-correction",_template:function(){if(void 0!==LIb)return LIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-search-query-correction--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_search_query_correction.yt.search.query.correction.css.js--\x3e<yt-formatted-string id="corrected" text="[[correctedText]]"></yt-formatted-string>\n<a class="yt-simple-endpoint" href$="[[computeHref_(correctedEndpoint)]]" data="[[correctedEndpoint]]">\n  <yt-formatted-string id="corrected-link" text="[[correctedQuery]]"></yt-formatted-string>\n</a>\n<template is="dom-if" if="[[originalText]]">\n  <yt-formatted-string id="original" text="[[originalText]]"></yt-formatted-string>\n  <template is="dom-if" if="[[originalEndpoint]]">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(originalEndpoint)]]" data="[[originalEndpoint]]">\n        <yt-formatted-string class="original-link" text="[[originalQuery]]"></yt-formatted-string>\n      </a>\n  </template>\n  <template is="dom-if" if="[[showOriginalQueryWithoutEndpoint]]">\n    <yt-formatted-string class="original-link" text="[[originalQuery]]"></yt-formatted-string>\n  </template>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_search_query_correction.yt.search.query.correction.css.js--\x3e<style>:host {display: block;margin-top: var(--ytd-margin-6x);} #corrected {color: var(--yt-spec-text-primary);@apply --ytd-thumbnail-attribution;} #corrected-link {font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--yt-search-correction-corrected-link-font-weight,var(--ytd-link_-_letter-spacing));} #original {padding-left: var(--ytd-margin-2x);color: var(--yt-spec-text-primary);@apply --ytd-thumbnail-attribution;} .original-link {color: var(--yt-spec-text-primary);font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=yt-search-query-correction.css.map*/</style>";
KIb=d}d=KIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return LIb=a},
behaviors:[_.iu.YtComponentBehavior],properties:{correctedText:Object,correctedQuery:Object,correctedEndpoint:Object,originalText:Object,originalQuery:{type:Object,value:null},originalEndpoint:{type:Object,value:null},showOriginalQueryWithoutEndpoint:{type:Boolean,value:!1,computed:"computeShowOriginalQueryWithoutEndpoint_(originalQuery, originalEndpoint)"}},computeShowOriginalQueryWithoutEndpoint_:function(a,b){return!(!a||b)}});
_.$u("itemSectionRenderer","didYouMeanRenderer","yt-did-you-mean-renderer");
_.Ng({is:"yt-did-you-mean-renderer",_template:function(){if(void 0!==JIb)return JIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-did-you-mean-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_did_you_mean_renderer.yt.did.you.mean.renderer.css.js--\x3e<yt-search-query-correction corrected-text="[[data.didYouMean]]" corrected-query="[[data.correctedQuery]]" corrected-endpoint="[[data.correctedQueryEndpoint]]">\n</yt-search-query-correction>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_did_you_mean_renderer.yt.did.you.mean.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=yt-did-you-mean-renderer.css.map*/</style>";IIb=d}d=IIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return JIb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object}});
var MIb;
var NIb;
_.$u("itemSectionRenderer","includingResultsForRenderer","yt-including-results-for-renderer");
_.Ng({is:"yt-including-results-for-renderer",_template:function(){if(void 0!==NIb)return NIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-including-results-for-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_including_results_for_renderer.yt.including.results.for.renderer.css.js--\x3e<yt-search-query-correction corrected-text="[[data.includingResultsFor]]" corrected-query="[[data.correctedQuery]]" corrected-endpoint="[[data.correctedQueryEndpoint]]" original-text="[[data.searchOnlyFor]]" original-query="[[data.originalQuery]]" original-endpoint="[[data.originalQueryEndpoint]]">\n</yt-search-query-correction>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_including_results_for_renderer.yt.including.results.for.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=yt-including-results-for-renderer.css.map*/</style>";MIb=d}d=MIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return NIb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object}});
var OIb;
var PIb;
_.$u("itemSectionRenderer","musicPassFeatureInfoRenderer","yt-music-pass-feature-info-renderer");
_.Ng({is:"yt-music-pass-feature-info-renderer",_template:function(){if(void 0!==PIb)return PIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-music-pass-feature-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_music_pass_feature_info_renderer.yt.music.pass.feature.info.renderer.css.js--\x3e<div id="container" class$="[[computeExtraClasses_(data.textStyle, data.textHorizontalAlignment)]]">\n  <div id="message" dir="ltr">\n    <yt-formatted-string id="header" text="[[data.header]]"></yt-formatted-string>\n    <yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string>\n  </div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OIb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_music_pass_feature_info_renderer.yt.music.pass.feature.info.renderer.css.js--\x3e<style>:host {display: block;} #container {box-sizing: border-box;min-height: 550px;padding: var(--ytd-margin-6x);background-position: center top;background-size: cover;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #message {width: 1000px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #header,#description {display: block;width: 50%;} #header {font-size: 4.8rem;font-weight: 300;line-height: 1.16;opacity: 0.87;} #description {font-size: 2rem;line-height: 1.5;margin-top: var(--ytd-margin-6x);} .style-light #header {color: var(--yt-spec-static-brand-white);} .style-light #description {color: var(--yt-deprecated-white-opacity-lighten-1);opacity: 0.7;} .style-dark {color: var(--yt-deprecated-luna-black);} .style-right #message {-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} @media(max-width:1050px) {#container {min-height: 400px;}#header {font-size: 3.6rem;}#description {margin-top: var(--ytd-margin-4x);font-size: 1.8rem;}} @media(max-width:800px) {#container {min-height: 300px;}#header {font-size: 2.8rem;}#description {margin-top: var(--ytd-margin-2x);font-size: 1.6rem;}} @media(max-width:615px) {#container,#message {display: block;}#container {min-height: 0;position: relative;}#container:before {content: "";position: absolute;top: 100px;bottom: 0;left: 0;right: 0;background: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,0.25) 35%,rgba(0,0,0,0.25));}#message {width: auto;}#header,#description {width: auto;}#header {margin-top: 100px;}} @media(max-width:340px) {#header {font-size: 2.4rem;}} /*# sourceMappingURL=yt-music-pass-feature-info-renderer.css.map*/</style>';
OIb=d}d=OIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return PIb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object},observers:["computeUrlImg_(data)"],computeExtraClasses_:function(a,b){var c="";a&&(c+=" "+a.toLowerCase().replace(/_/g,"-"));b&&(c+=" "+b.toLowerCase().replace(/_/g,"-"));return c},
computeUrlImg_:function(a){a.image&&(this.$.container.style.backgroundImage="url("+_.nu(a.image.thumbnails,Number.MAX_VALUE)+")")}});
var QIb;
var RIb;
_.$u("itemSectionRenderer","noResultsFoundShowingResultsForRenderer","yt-no-results-found-showing-results-for-renderer");
_.Ng({is:"yt-no-results-found-showing-results-for-renderer",_template:function(){if(void 0!==RIb)return RIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-no-results-found-showing-results-for-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_no_results_found_showing_results_for_renderer.yt.no.results.found.showing.results.for.renderer.css.js--\x3e<yt-search-query-correction corrected-text="[[data.showingResultsFor]]" corrected-query="[[data.correctedQuery]]" corrected-endpoint="[[data.correctedQueryEndpoint]]" original-text="[[data.noResultsFound]]" original-query="[[data.originalQuery]]" original-endpoint="[[data.originalQueryEndpoint]]">\n</yt-search-query-correction>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_no_results_found_showing_results_for_renderer.yt.no.results.found.showing.results.for.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=yt-no-results-found-showing-results-for-renderer.css.map*/</style>";QIb=d}d=QIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
return RIb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object}});
var SIb;
var TIb;
_.$u("itemSectionRenderer","resultsWithoutQuotesRenderer","yt-results-without-quotes-renderer");
_.Ng({is:"yt-results-without-quotes-renderer",_template:function(){if(void 0!==TIb)return TIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-results-without-quotes-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_results_without_quotes_renderer.yt.results.without.quotes.renderer.css.js--\x3e<yt-search-query-correction corrected-text="[[data.resultsFor]]" corrected-query="[[data.correctedQuery]]" corrected-endpoint="[[data.correctedQueryEndpoint]]" original-text="[[data.withoutQuotes]]">\n</yt-search-query-correction>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_results_without_quotes_renderer.yt.results.without.quotes.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=yt-results-without-quotes-renderer.css.map*/</style>";SIb=d}d=SIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return TIb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object}});
var UIb;
var VIb;
_.$u("itemSectionRenderer","searchNoResultsRenderer","yt-search-no-results-renderer");
_.Ng({is:"yt-search-no-results-renderer",_template:function(){if(void 0!==VIb)return VIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-search-no-results-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_search_no_results_renderer.yt.search.no.results.renderer.css.js--\x3e<yt-formatted-string id="text" text="[[data.noResultsText]]"></yt-formatted-string>\n<template is="dom-if" if="[[data.alternateQueryText]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.alternateQueryEndpoint)]]" data="[[data.alternateQueryEndpoint]]">\n    <yt-formatted-string id="link" text="[[data.alternateQueryText]]"></yt-formatted-string>\n  </a>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_search_no_results_renderer.yt.search.no.results.renderer.css.js--\x3e<style>:host {display: inline-block;} #text {color: var(--yt-spec-text-primary);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #link {@apply --ytd-subheadline-link;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=yt-search-no-results-renderer.css.map*/</style>";
UIb=d}d=UIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return VIb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object}});
var WIb;
var XIb;
_.$u("itemSectionRenderer","showingResultsForRenderer","yt-showing-results-for-renderer");
_.Ng({is:"yt-showing-results-for-renderer",_template:function(){if(void 0!==XIb)return XIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-showing-results-for-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_showing_results_for_renderer.yt.showing.results.for.renderer.css.js--\x3e<yt-search-query-correction corrected-endpoint="[[data.correctedQueryEndpoint]]" corrected-query="[[data.correctedQuery]]" corrected-text="[[data.showingResultsFor]]" original-endpoint="[[data.originalQueryEndpoint]]" original-query="[[data.originalQuery]]" original-text="[[data.searchInsteadFor]]">\n</yt-search-query-correction>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_showing_results_for_renderer.yt.showing.results.for.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=yt-showing-results-for-renderer.css.map*/</style>";WIb=d}d=WIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return XIb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object}});
var YIb;
var ZIb;
var $Ib;
var aJb;
_.Ng({is:"yt-generic-faq-question-renderer",_template:function(){if(void 0!==aJb)return aJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-generic-faq-question-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_generic_faq_question_renderer.yt.generic.faq.question.renderer.css.js--\x3e<div class="head" on-tap="toggleAnswer_">\n  <span class="question">[[getSimpleString(data.question)]]</span>\n  <yt-icon id="expand-arrow" class="answer-arrow" hidden="[[answerExpanded]]" icon="yt-icons:expand-more">\n  </yt-icon>\n  <yt-icon id="collapse-arrow" class="answer-arrow" hidden="[[!answerExpanded]]" icon="yt-icons:expand-less">\n  </yt-icon>\n</div>\n<iron-collapse id="collapse" opened="[[answerExpanded]]">\n  <template is="dom-repeat" items="[[data.answers]]">\n    <yt-formatted-string class="answer" text="[[item]]"></yt-formatted-string>\n  </template>\n</iron-collapse>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Ib){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_generic_faq_question_renderer.yt.generic.faq.question.renderer.css.js--\x3e<style>:host {cursor: pointer;border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .head {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .answer-arrow {color: var(--yt-spec-text-primary);} .question {color: var(--yt-spec-text-primary);margin: var(--ytd-margin-4x) 0;font-size: var(--ytd-navbar-title-font-size);font-weight: var(--ytd-navbar-title-font-weight);line-height: var(--ytd-navbar-title-line-height);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .answer {color: var(--yt-spec-text-secondary);display: block;margin-bottom: var(--ytd-margin-2x);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} /*# sourceMappingURL=yt-generic-faq-question-renderer.css.map*/</style>";
$Ib=d}d=$Ib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return aJb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object,answerExpanded:{reflectToAttribute:!0,type:Boolean,value:!1}},listeners:{tap:"toggleAnswer_"},toggleAnswer_:function(a){var b=_.H(a).rootTarget;if(!b||!b.classList.contains("yt-simple-endpoint")&&"yt-endpoint"!=b.getAttribute("is"))a.preventDefault(),a.stopPropagation(),this.answerExpanded=!this.answerExpanded}});
_.$u("itemSectionRenderer","faqSectionRenderer","yt-faq-section-renderer");
_.Ng({is:"yt-faq-section-renderer",_template:function(){if(void 0!==ZIb)return ZIb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-faq-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_faq_section_renderer.yt.faq.section.renderer.css.js--\x3e<div class="container">\n  <span class="header">[[getSimpleString(data.header)]]</span>\n  <div id="contents"></div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YIb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_faq_section_renderer.yt.faq.section.renderer.css.js--\x3e<style>:host {margin-top: var(--ytd-margin-24x);padding-bottom: var(--ytd-margin-12x);width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .container {color: var(--yt-spec-text-primary);width: 50%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .header {margin-bottom: var(--ytd-margin-8x);@apply --ytd-channel-title;} /*# sourceMappingURL=yt-faq-section-renderer.css.map*/</style>";
YIb=d}d=YIb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return ZIb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object},stampDom:{"data.questions":{id:"contents",mapping:{genericFaqQuestionRenderer:"yt-generic-faq-question-renderer"}}}});
var bJb;
var cJb;
_.$u("itemSectionRenderer","OfferItemExpandedRenderer","yt-offer-item-expanded-renderer");
_.Ng({is:"yt-offer-item-expanded-renderer",_template:function(){if(void 0!==cJb)return cJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-offer-item-expanded-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_offer_item_expanded_renderer.yt.offer.item.expanded.renderer.css.js--\x3e<div id="image-renderer"></div>\n<div id="content">\n    <div id="heading-renderer"></div>\n    <div id="description-renderer"></div>\n    <div id="additional-info-renderer"></div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_offer_item_expanded_renderer.yt.offer.item.expanded.renderer.css.js--\x3e<style>:host {max-width: 650px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #image-renderer {max-width: 225px;} #content {margin-left: var(--ytd-margin-3x);max-width: 410px;} #heading-renderer {margin: var(--ytd-margin-base) 0 var(--ytd-margin-2x) 0;} #description-renderer {margin-bottom: var(--ytd-margin-4x);} /*# sourceMappingURL=yt-offer-item-expanded-renderer.css.map*/</style>";
bJb=d}d=bJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return cJb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},stampDom:{"data.imageRenderer":{id:"image-renderer",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer",params:{fit:!0}}}},"data.headingRenderer":{id:"heading-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},"data.descriptionRenderer":{id:"description-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},
"data.additionalInfoRenderer":{id:"additional-info-renderer",mapping:{cardItemActionsRenderer:{component:"yt-card-item-actions-renderer"}}}}});
var dJb;
var eJb;
_.$u("itemSectionRenderer","OfferItemRenderer","yt-offer-item-renderer");
_.Ng({is:"yt-offer-item-renderer",_template:function(){if(void 0!==eJb)return eJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-offer-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_offer_item_renderer.yt.offer.item.renderer.css.js--\x3e<div id="image-renderer"></div>\n<div id="heading-renderer"></div>\n<div id="description-renderer"></div>\n<div id="additional-info-renderer"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_offer_item_renderer.yt.offer.item.renderer.css.js--\x3e<style>:host {display: inline-block;max-width: 221px;margin-right: 18px;vertical-align: top;margin-bottom: var(--ytd-margin-3x);} :host(:last-child) {margin-right: 0;} #image-renderer {border: 1px solid var(--yt-spec-10-percent-layer);} #heading-renderer {margin: var(--ytd-margin-2x) 0 var(--ytd-margin-base) 0;} /*# sourceMappingURL=yt-offer-item-renderer.css.map*/</style>";
dJb=d}d=dJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return eJb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},stampDom:{"data.imageRenderer":{id:"image-renderer",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer",params:{fit:!0}}}},"data.headingRenderer":{id:"heading-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},"data.descriptionRenderer":{id:"description-renderer",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},
"data.additionalInfoRenderer":{id:"additional-info-renderer",mapping:{cardItemActionsRenderer:{component:"yt-card-item-actions-renderer"}}}}});
var fJb;
var gJb;
_.$u("itemSectionRenderer","subscriptionProductHeaderRenderer","yt-subscription-product-header-renderer");
_.Ng({is:"yt-subscription-product-header-renderer",_template:function(){if(void 0!==gJb)return gJb;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-subscription-product-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_subscription_product_header_renderer.yt.subscription.product.header.renderer.css.js--\x3e[[getSimpleString(data.text)]]\n";a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_subscription_product_header_renderer.yt.subscription.product.header.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=yt-subscription-product-header-renderer.css.map*/</style>";fJb=d}d=fJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return gJb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object,ariaLevel:{type:String,computed:"computeAriaLevel_(data.level)",reflectToAttribute:!0},role:{type:String,value:"heading",reflectToAttribute:!0},tabindex:{type:Number,value:-1,reflectToAttribute:!0}},computeAriaLevel_:function(a){return this.getLevelID_(a)},
getLevelID_:function(a){return(a=a.match(/[0-9]+$/))&&1==a.length?a[0]:"1"}});
var hJb;
var iJb;
_.$u("itemSectionRenderer","subscriptionProductRenderer","yt-subscription-product-renderer");
_.Ng({is:"yt-subscription-product-renderer",_template:function(){if(void 0!==iJb)return iJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-subscription-product-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_subscription_product_renderer.yt.subscription.product.renderer.css.js--\x3e<tp-yt-paper-card elevation="1">\n  <div id="content">\n    <yt-img-shadow id="logo-image" height="30" thumbnail="[[data.logo]]">\n    </yt-img-shadow>\n    <div id="metadatas">\n      <template is="dom-repeat" items="[[data.metadatas]]">\n        <div class="metadata">\n          [[getSimpleString(item)]]\n        </div>\n      </template>\n    </div>\n    <div id="additional-infos">\n      <template is="dom-repeat" items="[[data.additionalInfos]]">\n        <div class="additional-info">\n          [[getSimpleString(item)]]\n        </div>\n      </template>\n    </div>\n    <yt-formatted-string class="description" hidden="[[!data.description]]" split-lines="" text="[[data.description]]">\n    </yt-formatted-string>\n  </div>\n  <div id="menu"></div>\n  <div id="actions" class="card-actions">\n    <div id="primary-button" class="button"></div>\n    <div id="secondary-button" class="button"></div>\n  </div>\n</tp-yt-paper-card>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_subscription_product_renderer.yt.subscription.product.renderer.css.js--\x3e<style>:host {--paper-card-background-color: var(--yt-spec-brand-background-primary);@apply --layout;} tp-yt-paper-card {width: 100%;} #content {padding: var(--ytd-margin-4x);} #metadatas {margin: var(--ytd-margin-5x) 0 var(--ytd-margin-7x);} .metadata {color: var(--yt-spec-text-primary);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} .additional-info {color: var(--yt-spec-text-secondary);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} .description {display: block;margin-top: var(--ytd-margin-4x);border-left: var(--ytd-margin-base) solid var(--yt-spec-static-brand-red);padding-left: var(--ytd-margin-4x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} #actions {padding: var(--ytd-margin-2x);border-top: 1px solid var(--yt-spec-10-percent-layer);@apply --layout;} #secondary-button yt-button-renderer {color: var(--yt-spec-text-secondary);} #menu {position: absolute;top: var(--ytd-margin-4x);right: var(--ytd-margin-4x);} /*# sourceMappingURL=yt-subscription-product-renderer.css.map*/</style>";
hJb=d}d=hJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return iJb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],listeners:{"yt-rendererstamper-finished":"onStampFinished_"},properties:{data:Object},stampDom:{"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}},"data.secondaryButton":{id:"secondary-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}},"data.menu":{id:"menu",mapping:_.TE("menuRenderer"),events:!0}},onStampFinished_:function(){this.$.menu.children[0].icon="yt-icons:more_vert"}});
var jJb;
var kJb;
_.$u("itemSectionRenderer","subscriptionProductUpsellOfferRenderer","yt-subscription-product-upsell-offer-renderer");
_.Ng({is:"yt-subscription-product-upsell-offer-renderer",_template:function(){if(void 0!==kJb)return kJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-subscription-product-upsell-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_subscription_product_upsell_offer_renderer.yt.subscription.product.upsell.offer.renderer.css.js--\x3e<tp-yt-paper-card>\n  <div id="image-container">\n    <yt-img-shadow id="image" object-fit="COVER" object-position="LEFT" thumbnail="[[data.image]]">\n    </yt-img-shadow>\n    <div id="scrim">\n      <yt-icon id="logo-icon" aria-label$="[[data.logoIconAccessibility.accessibilityData.label]]" hidden="[[!data.logoIcon]]" icon="[[data.logoIcon.iconType]]">\n      </yt-icon>\n      <yt-img-shadow id="logo-image" height="30" hidden="[[!data.logo]]" thumbnail="[[data.logo]]">\n      </yt-img-shadow>\n    </div>\n  </div>\n  <div id="content" class="card-content">\n    <div id="title">\n      [[getSimpleString(data.title)]]\n    </div>\n    <yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string>\n    <div id="additional-infos">\n      <template is="dom-repeat" items="[[data.additionalInfos]]">\n        <yt-formatted-string id="additional-info" text="[[item]]"></yt-formatted-string>\n      </template>\n    </div>\n  </div>\n  <div id="actions" class="card-actions">\n    <div id="primary-button" class="button"></div>\n    <div id="secondary-button" class="button"></div>\n  </div>\n</tp-yt-paper-card>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_subscription_product_upsell_offer_renderer.yt.subscription.product.upsell.offer.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);display: block;--paper-card-display: block;--paper-card-background-color: var(--yt-spec-brand-background-primary);--iron-icon-width: 140px;--iron-icon-height: 100%;--yt-button-padding: 10px;} #image-container {position: relative;height: 100px;margin: -1px;border-radius: 2px 2px 0 0;overflow: hidden;} #image {display: block;height: 100%;} #scrim {position: absolute;top: 0;bottom: 0;left: 0;right: 0;padding: 0 16px;align-items: center;@apply --layout;} #logo-image {display: inline-block;} #logo-icon {fill: var(--yt-spec-static-brand-white);top: 3px;} #content {padding: 14px;} #title {margin-top: var(--ytd-margin-2x);color: var(--yt-spec-text-primary);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #description {display: block;margin-top: var(--ytd-margin-base);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} #additional-infos {margin: var(--ytd-margin-3x) 0 var(--ytd-margin-2x);} #additional-info {display: block;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} #actions {padding: var(--ytd-margin-2x);border-top: 1px solid var(--yt-spec-10-percent-layer);@apply --layout;} #secondary-button yt-button-renderer {color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=yt-subscription-product-upsell-offer-renderer.css.map*/</style>";
jJb=d}d=jJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return kJb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},observers:["imageScrimColorValuesChanged_(data.imageScrimColorValues)"],stampDom:{"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.secondaryButton":{id:"secondary-button",mapping:{buttonRenderer:"yt-button-renderer"}}},imageScrimColorValuesChanged_:function(a){this.$.scrim.style.backgroundColor=a?_.bv(a[0]):"transparent"}});
var lJb;
var mJb;
var nJb;
var oJb;
var pJb;
var qJb;
_.Ng({is:"yt-single-ypc-offer-renderer",_template:function(){if(void 0!==qJb)return qJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-single-ypc-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_single_ypc_offer_renderer.yt.single.ypc.offer.renderer.css.js--\x3e<div id="yt-unlimited-metadata">\n  <yt-formatted-string hidden="[[!data.offerTypeName]]" text="[[data.offerTypeName]]">\n  </yt-formatted-string>\n  <template is="dom-repeat" items="[[data.metadatas]]">\n    <yt-formatted-string id="metadata-item" text="[[item]]">\n    </yt-formatted-string>\n  </template>\n</div>\n<yt-button-renderer id="subscription-button" data="[[data.button.buttonRenderer]]">\n</yt-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pJb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_single_ypc_offer_renderer.yt.single.ypc.offer.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);border-bottom: 1px solid var(--yt-spec-10-percent-layer);color: var(--yt-spec-text-primary);padding: var(--ytd-margin-4x) 0;max-width: 1003px;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([is-manage-red]) {border-bottom: none;max-width: none;} :host([is-manage-red]) #yt-unlimited-metadata {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);} :host([collapsible]) {background-color: var(--yt-spec-static-overlay-background-light);border-bottom: none;max-width: 552px;padding: 0;} :host([collapsible]) #yt-unlimited-metadata {color: var(--yt-spec-static-brand-white);max-height: none;padding: var(--ytd-margin-4x);text-align: left;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([collapsible]) #metadata-item {margin-top: 10px;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} :host([collapsible]) #metadata-item:before {content: none;} :host([collapsible]) #subscription-button {margin: var(--ytd-margin-4x);-ms-align-self: center;-webkit-align-self: center;align-self: center;} #yt-unlimited-metadata {--yt-endpoint-force-cursor: pointer;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: block;max-height: calc(2 * var(--yt-navbar-title-line-height,2.4rem));overflow: hidden;font-size: var(--ytd-navbar-title-font-size);font-weight: var(--ytd-navbar-title-font-weight);line-height: var(--ytd-navbar-title-line-height);} #metadata-item {color: var(--yt-spec-text-secondary);} #metadata-item:before {content: "\u2022 ";} #subscription-button {margin-left: var(--ytd-margin-4x);} /*# sourceMappingURL=yt-single-ypc-offer-renderer.css.map*/</style>';
pJb=d}d=pJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return qJb=a},
behaviors:[_.U.YtRendererBehavior,_.uF.YtOpenToastBehavior],listeners:{"yt-service-request-error":"onYtServiceRequestError_"},properties:{data:Object,collapsible:{type:Boolean,value:!1,reflectToAttribute:!0},isManageRed:{reflectToAttribute:!0,type:Boolean,value:!1}},onYtServiceRequestError_:function(a){this.openToast(a.detail.error.message)}});
_.Ng({is:"yt-single-ypc-offer-list-renderer",_template:function(){if(void 0!==oJb)return oJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-single-ypc-offer-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_single_ypc_offer_list_renderer.yt.single.ypc.offer.list.renderer.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_single_ypc_offer_list_renderer.yt.single.ypc.offer.list.renderer.css.js--\x3e<style>:host {width: 100%;} :host([is-manage-red]) #contents {padding: 0;} #contents {padding: 0 var(--ytd-margin-4x);-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=yt-single-ypc-offer-list-renderer.css.map*/</style>";
nJb=d}d=nJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return oJb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object,isManageRed:{type:Boolean,reflectToAttribute:!0,value:!1}},stampDom:{"data.singleYpcOfferSupportedRenderers":{id:"contents",mapping:{singleYpcOfferRenderer:{component:"yt-single-ypc-offer-renderer",properties:{isManageRed:"[[isManageRed]]"}}}}}});
var rJb;
var sJb;
_.$u("itemSectionRenderer","ypcOffersListRenderer","yt-ypc-offers-list-renderer");
_.Ng({is:"yt-ypc-offers-list-renderer",_template:function(){if(void 0!==sJb)return sJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-ypc-offers-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_offers_list_renderer.yt.ypc.offers.list.renderer.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_offers_list_renderer.yt.ypc.offers.list.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #contents {width: 100%;} /*# sourceMappingURL=yt-ypc-offers-list-renderer.css.map*/</style>";
rJb=d}d=rJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return sJb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object,isManageRed:{type:Boolean,value:!1}},stampDom:{"data.offersList":{id:"contents",mapping:{singleYpcOfferListRenderer:{component:"yt-single-ypc-offer-list-renderer",properties:{isManageRed:"[[isManageRed]]"}}}}}});
_.$u("itemSectionRenderer","unlimitedManageSubscriptionPageRenderer","yt-unlimited-manage-subscription-page-renderer");
_.Ng({is:"yt-unlimited-manage-subscription-page-renderer",_template:function(){if(void 0!==mJb)return mJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-unlimited-manage-subscription-page-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_manage_subscription_page_renderer.yt.unlimited.manage.subscription.page.renderer.css.js--\x3e<tp-yt-paper-card elevation="1">\n  <h2>[[getSimpleString(data.subscriptionTitle)]]</h2>\n  <div class="card-content">\n    <template is="dom-repeat" items="[[data.subscriptionInfos]]">\n      <div class="subscription-info-item">\n        <span class="subscription-info-item-title">\n          [[getSimpleString(item.unlimitedSubscriptionInfoRenderer.title)]]\n        </span>\n        <span class="subscription-info-item-content">\n          [[getSimpleString(item.unlimitedSubscriptionInfoRenderer.content)]]\n        </span>\n      </div>\n    </template>\n    <template is="dom-repeat" items="[[data.additionalInfos]]">\n      <yt-formatted-string class="additional-info" text="[[item]]">\n      </yt-formatted-string>\n    </template>\n    <div class="buttons">\n      <div id="manage-fix-fop-button"></div>\n      <div id="manage-family-button"></div>\n      <div id="manage-subscription-button"></div>\n      <div id="help-button"></div>\n    </div>\n    <div id="offers"></div>\n  </div>\n</tp-yt-paper-card>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_manage_subscription_page_renderer.yt.unlimited.manage.subscription.page.renderer.css.js--\x3e<style>:host {margin: var(--ytd-margin-6x) auto;max-width: 960px;--paper-card-background-color: var(--yt-spec-brand-background-primary);--paper-card-header-color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} h2 {color: var(--yt-spec-text-primary);padding: var(--ytd-margin-4x);@apply --ytd-channel-title;} .card-content {padding: var(--ytd-margin-4x);} .subscription-info-item {margin-top: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} .subscription-info-item-title {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .subscription-info-item-content {-ms-flex: 2;-webkit-flex: 2;flex: 2;} .additional-info {display: block;margin-top: var(--ytd-margin-4x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} .buttons {margin-top: var(--ytd-margin-4x);} /*# sourceMappingURL=yt-unlimited-manage-subscription-page-renderer.css.map*/</style>";
lJb=d}d=lJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return mJb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},stampDom:{"data.manageFixFopButton":{id:"manage-fix-fop-button",mapping:{buttonRenderer:{component:"yt-button-renderer",params:{alignByText:!0}}}},"data.helpButton":{id:"help-button",mapping:{buttonRenderer:{component:"yt-button-renderer",params:{alignByText:!0}}}},"data.manageFamilyButton":{id:"manage-family-button",mapping:{buttonRenderer:{component:"yt-button-renderer",params:{alignByText:!0}}}},"data.manageSubscriptionButton":{id:"manage-subscription-button",
mapping:{buttonRenderer:{component:"yt-button-renderer",params:{alignByText:!0}}}},"data.offers":{id:"offers",mapping:{ypcOffersListRenderer:{component:"yt-ypc-offers-list-renderer",params:{isManageRed:!0}}}}}});
var tJb;
var uJb;
_.Ng({is:"yt-collapsible-ypc-offer-renderer",_template:function(){if(void 0!==uJb)return uJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-collapsible-ypc-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_collapsible_ypc_offer_renderer.yt.collapsible.ypc.offer.renderer.css.js--\x3e<yt-formatted-string id="more-offer-info-header" hidden="[[offersVisible_]]" text="[[data.moreOfferInfoHeader]]" on-tap="handleHeaderTap_">\n</yt-formatted-string>\n<div id="offers" hidden="[[!offersVisible_]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_collapsible_ypc_offer_renderer.yt.collapsible.ypc.offer.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: var(--yt-spec-call-to-action);} :host([offers-visible_]) {outline: none;} #more-offer-info-header {color: var(--yt-spec-static-brand-white);font-size: 1.4rem;cursor: pointer;} #offers {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=yt-collapsible-ypc-offer-renderer.css.map*/</style>";
tJb=d}d=tJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return uJb=a},
behaviors:[_.Xs,_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],hostAttributes:{role:"button",tabindex:0},keyBindings:{"enter:keypress":"onKeypress_"},properties:{data:{type:Object,observer:"dataChanged_"},offersVisible_:{type:Boolean,reflectToAttribute:!0}},stampDom:{"data.singleYpcOfferListSupportedRenderers":{id:"offers",mapping:{singleYpcOfferRenderer:{component:"yt-single-ypc-offer-renderer",params:{collapsible:!0}}}}},onKeypress_:function(a){a.detail.keyboardEvent.target==this&&this.expandOffers_()},
handleHeaderTap_:function(a){a.preventDefault();a.stopPropagation();this.expandOffers_()},
expandOffers_:function(){this.offersVisible_=!0;this.setAttribute("tabindex","-1")},
dataChanged_:function(a){this.offersVisible_=!a.isCollapsed}});
var vJb;
var wJb;
_.$u("itemSectionRenderer","unlimitedPageHeaderRenderer","yt-unlimited-page-header-renderer");
_.Ng({is:"yt-unlimited-page-header-renderer",_template:function(){if(void 0!==wJb)return wJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-unlimited-page-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_page_header_renderer.yt.unlimited.page.header.renderer.css.js--\x3e<h1 id="logo_wrapper">\n  <yt-img-shadow id="logo" thumbnail="[[data.unlimitedLogoImage]]" width="[[Number.MAX_VALUE]]">\n  </yt-img-shadow>\n</h1>\n<yt-formatted-string id="subtitle" respect-html-dir="" text="[[data.subTitle]]">\n</yt-formatted-string>\n<yt-button-renderer id="manage-subscription-button" data="[[data.manageSubscriptionButton.buttonRenderer]]">\n</yt-button-renderer>\n<div id="metadatas">\n  <template is="dom-repeat" items="[[data.metadatas]]">\n    <yt-formatted-string class="metadata-item" text="[[item]]"></yt-formatted-string>\n  </template>\n  <template is="dom-if" if="[[data.additionalBillingInfo]]">\n    <div id="additional-billing-info">\n      <yt-formatted-string class="billing-info-item" text="[[data.additionalBillingInfo]]">\n      </yt-formatted-string>\n    </div>\n  </template>\n</div>\n<yt-formatted-string class="promotion-text" text="[[data.promotion.ypcPromotionRenderer.promotionText]]">\n</yt-formatted-string>\n<div id="more-offers"></div>\n<a id="restriction-apply-button" class="offer-details-link" tabindex="0">\n  <yt-formatted-string text="[[data.offerDetailsLinkText]]"></yt-formatted-string>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vJb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_page_header_renderer.yt.unlimited.page.header.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-img-max-height: 100%;--yt-formatted-string-strikethrough-font-family: Roboto, Arial, sans-serif;--yt-formatted-string-strikethrough-font-size: 2.4rem;--yt-formatted-string-strikethrough-font-weight: 300;--yt-formatted-string-strikethrough-line-height: 2.8rem;background-color: var(--yt-deprecated-dark-surface-100);background-position: center top;background-size: cover;min-height: 450px;padding: var(--ytd-margin-24x) 0 var(--ytd-margin-12x);text-align: center;width: 100%;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #logo {height: 71px;} #logo_wrapper {height: 71px;} #subtitle,.metadata-item,.billing-info-item {color: var(--yt-spec-static-brand-white);max-width: 552px;} .yt-unlimited-title yt-img-shadow {height: 71px;max-width: 100%;} #subtitle {margin: var(--ytd-margin-12x) 0;font-size: 3.2rem;font-weight: 300;line-height: 4rem;white-space: pre-line;} #metadatas {margin: var(--ytd-margin-6x);max-width: 680px;font-size: 2.4rem;font-weight: 300;line-height: 2.8rem;} .metadata-item {display: inline;} .metadata-item:not(:first-child):before {content: "\u2022\u00a0";color: var(--yt-spec-text-primary);} yt-button-renderer.style-dark-on-white {color: var(--yt-spec-static-brand-black);background-color: var(--yt-spec-static-brand-white);} #additional-billing-info {display: block;margin-top: var(--ytd-margin-3x);font-size: 1.6rem;} .billing-info-item {display: inline;white-space: pre-line;} .promotion-text {color: var(--yt-spec-brand-link-text);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #restriction-apply-button {--yt-endpoint-force-cursor: pointer;color: var(--yt-spec-call-to-action);text-decoration: none;cursor: pointer;font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #restriction-apply-button:hover {text-decoration: underline;} #more-offers {width: 100%;margin-bottom: var(--ytd-margin-6x);} /*# sourceMappingURL=yt-unlimited-page-header-renderer.css.map*/</style>';
vJb=d}d=vJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return wJb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior,_.uF.YtOpenToastBehavior],listeners:{"yt-service-request-error":"onYtServiceRequestError_"},properties:{data:{type:Object,observer:"dataChanged_"}},stampDom:{"data.moreOffersRenderers":{id:"more-offers",mapping:{collapsibleYpcOfferRenderer:{component:"yt-collapsible-ypc-offer-renderer"}}}},dataChanged_:function(){if(this.data.backgroundImage){var a=_.nu(this.data.backgroundImage.thumbnails,screen.width),b=this.getScrimLayerColorStops_();
this.style["background-image"]=b?"linear-gradient(180deg, "+b+"), url("+a+")":"url("+a+")";this.data.gtmId&&_.O3a(this.data.gtmId)}},
onYtServiceRequestError_:function(a){this.openToast(a.detail.error.message)},
getScrimLayerColorStops_:function(){var a=this.get("unlimitedHeaderV2Data.unlimitedHeaderV2Data",this.data);if(!a)return null;var b=100/a.scrimLayerColors.length;return a.scrimLayerColors.map(function(c,d){d*=b;return _.bv(c)+" "+d+"%"}).join(",")}});
var xJb;
var yJb;
_.$u("itemSectionRenderer","UnlimitedUserNotificationRenderer","yt-unlimited-user-notification-renderer");
_.Ng({is:"yt-unlimited-user-notification-renderer",_template:function(){if(void 0!==yJb)return yJb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-unlimited-user-notification-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_user_notification_renderer.yt.unlimited.user.notification.renderer.css.js--\x3e<div id="yt-notification-text">\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <template is="dom-repeat" items="[[data.messages]]">\n    <yt-formatted-string id="metadata-item" text="[[item]]"></yt-formatted-string>\n  </template>\n</div>\n<div id="action-button"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_user_notification_renderer.yt.unlimited.user.notification.renderer.css.js--\x3e<style>:host {width: 100%;background-position: center top;background-size: cover;background-color: var(--yt-spec-error-background);-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #yt-notification-text {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {color: var(--yt-spec-text-primary-inverse);padding-top: var(--ytd-margin-3x);padding-bottom: var(--ytd-margin-base);padding-left: var(--ytd-margin-17x);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #metadata-item {padding-top: var(--ytd-margin-base);padding-bottom: var(--ytd-margin-4x);padding-left: var(--ytd-margin-17x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary-inverse));} #action-button {padding-right: var(--ytd-margin-35x);padding-top: var(--ytd-margin-5x);padding-bottom: var(--ytd-margin-5x);} /*# sourceMappingURL=yt-unlimited-user-notification-renderer.css.map*/</style>";
xJb=d}d=xJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return yJb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object},stampDom:{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-confirm":!0}}}}}});
var zJb;
var AJb;
var E2=function(){var a=_.K.apply(this,arguments)||this;a.playerListenerConfig=null;return a};
_.q(E2,_.K);_.f=E2.prototype;_.f.dataChanged=function(){var a=this,b=_.sv();b&&b.getPlayerPromise().then(function(d){a.maybeRemovePlayerListeners(d)});
var c=this.data&&this.data.survey;c&&((c=(c=c.singleOptionSurveyRenderer||c.checkboxSurveyRenderer)&&c.watchPageDisplayTriggers)?this.triggerWatchPageSurvey(b,c):this.openSurvey())};
_.f.triggerWatchPageSurvey=function(a,b){var c=this,d,e,h,l,m,p,r,v,z,A;return _.y(function(D){if(1==D.nextAddress){if(!a)return D.return();d=c;return _.B(D,a.getPlayerPromise(),2)}d.player=D.yieldResult;if(!c.player)return D.return();e={};h=_.k(b);for(l=h.next();!l.done;l=h.next())m=l.value,p=_.k(c.createEventListenerPair(m)),r=p.next().value,v=p.next().value,z=r,A=v,z&&A&&(e[z]=A,c.ytPlayerListenerBehavior.listenToPlayerEvent(c.player,z,A));c.playerListenerConfig=e;_.bf(D)})};
_.f.createEventListenerPair=function(a){var b=a.playbackEventTrigger;return b?this.handlePlaybackTrigger(b):(a=a.watchTimeTrigger)?this.handleWatchTimeTrigger(a):[void 0,void 0]};
_.f.handleWatchTimeTrigger=function(a){var b=this;this.accumulatedMediaTime=this.lastKnownPlaybackPosition=0;var c=a.videoWatchFraction,d=a.watchTimeSec;return d&&c?["onVideoProgress",function(){b.player&&b.isWatchTimeConditionMet(b.player,c,d)&&b.showSurvey()}]:[void 0,
void 0]};
_.f.isWatchTimeConditionMet=function(a,b,c){var d=a.getProgressState(),e=d.current-this.lastKnownPlaybackPosition;5>e&&(this.accumulatedMediaTime+=e);this.lastKnownPlaybackPosition=d.current;d=Math.round(this.accumulatedMediaTime/d.duration*1E3)/1E3;return a.getPresentingPlayerType&&1===a.getPresentingPlayerType()&&(this.accumulatedMediaTime>c||d>b)};
_.f.handlePlaybackTrigger=function(a){var b=this;a=a.playbackEvent;if("SURVEY_DISPLAY_TRIGGER_PLAYBACK_EVENT_PLAYBACK_FINISH"===a){var c="onStateChange";var d=function(e){0===e&&b.showSurvey()}}else"SURVEY_DISPLAY_TRIGGER_PLAYBACK_EVENT_CONTENT_VIDEO_START"===a?(c="onVideoProgress",d=function(e){b.player&&b.player.getPresentingPlayerType&&1===b.player.getPresentingPlayerType()&&e&&b.showSurvey()}):"SURVEY_DISPLAY_TRIGGER_PLAYBACK_EVENT_AD_FINISH"===a&&(c="onAdEnd",d=this.showSurvey);
return[c,d]};
_.f.showSurvey=function(){this.openSurvey();this.player&&this.maybeRemovePlayerListeners(this.player)};
_.f.openSurvey=function(){this.ytdOpenPopupBehavior.openPopup({openPopupAction:{popupType:"SURVEY",popup:this.data&&this.data.survey}})};
_.f.maybeRemovePlayerListeners=function(a){if(this.playerListenerConfig){for(var b=_.k(Object.keys(this.playerListenerConfig)),c=b.next();!c.done;c=b.next())c=c.value,this.ytPlayerListenerBehavior.unlistenFromPlayerEvent(a,c,this.playerListenerConfig[c]);this.playerListenerConfig=null}};
_.t.Object.defineProperties(E2,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===AJb){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-survey-trigger-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_survey_trigger_renderer.ytd.survey.trigger.renderer.css.js--\x3e\n";a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zJb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_survey_trigger_renderer.ytd.survey.trigger.renderer.css.js--\x3e<style>:host {display: none;} /*# sourceMappingURL=ytd-survey-trigger-renderer.css.map*/</style>";zJb=d}d=zJb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);AJb=a}a=AJb;return a}}});
var F2=E2;F2.prototype.dataChanged=F2.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],F2.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],F2.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],F2.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],F2.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],F2.prototype,"playerListenerConfig",void 0);_.S([_.N({value:0}),_.T("design:type",Number)],F2.prototype,"lastKnownPlaybackPosition",void 0);_.S([_.N({value:0}),_.T("design:type",Number)],F2.prototype,"accumulatedMediaTime",void 0);_.S([_.N(),_.T("design:type",Object)],F2.prototype,"player",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],F2.prototype,"dataChanged",null);
F2=_.S([_.Q({is:"ytd-survey-trigger-renderer"})],F2);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syf");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.q4a=function(a,b,c){c=c||_.baa;for(var d=0,e=a.length,h;d<e;){var l=d+(e-d>>>1);var m=c(b,a[l]);0<m?d=l+1:(e=l,h=!m)}return h?d:-d-1};
_.r4a=function(a,b){"kevlar_tuner_default_comments_delay"===a?(b=void 0===b?1E3:b,a=_.x("kevlar_tuner_run_default_comments_delay")?"CONN_CELLULAR_2G"===_.Md()?0:b:_.hd(a,b)):a="kevlar_tuner_scheduler_soft_state_timer_ms"===a?_.x("kevlar_tuner_run_soft_state_timer")?"CONN_CELLULAR_2G"===_.Md()?0:1400:_.hd(a,void 0===b?800:b):_.hd(a,b);return a};
_.s4a=function(a){a&&_.UE("transactionFlowSucceeded",a)};
_.mI=function(a,b){var c={};c.key=a;c.value=b;return _.g4a().then(function(d){return new Promise(function(e,h){try{var l=d.transaction("swpushnotificationsstore","readwrite").objectStore("swpushnotificationsstore").put(c);l.onsuccess=function(){e()};
l.onerror=function(){h()}}catch(m){h(m)}})})};
_.nI=function(a,b,c,d,e){b=void 0===b?null:b;c=void 0===c?null:c;d=void 0===d?null:d;e=void 0===e?null:e;a={youThereEventType:a};c&&(a.lactThresholdMs=c.lactThresholdMs,a.mediaPosSec=c.promptDelaySec,a.lactServerRequestMs=c.lactServerRequestMs,a.triggerReason=c.triggerReason);null!=e&&(a.renderingMediaPosSec=Math.round(e));b||(b=_.fg());b&&(a.clientScreenNonce=b);d&&(a.clientPlaybackNonce=d);_.Kf("youThere",a)};
_.u4a=function(){var a=_.hd("user_engagement_experiments_rate_limit_ms"),b=t4a.get("last-user-engagement-exp-trigger-timestamp");return!b||(0,_.Yd)()>=b+a?(t4a.set("last-user-engagement-exp-trigger-timestamp",(0,_.Yd)()),!0):!1};
_.v4a=function(a){var b=new Image;return new _.wf(function(c,d){b.addEventListener("load",function(){c()});
b.addEventListener("error",function(){d()});
_.Kw(b,a)})};
_.w4a=function(a,b){b||(b={});var c=window;var d=a instanceof _.pj?a:_.It("undefined"!=typeof a.href?a.href:String(a));var e=void 0!==self.crossOriginIsolated,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var l="unsafe-url"===h;h=b.noreferrer;if(e&&h){if(l)throw Error("Fa");h=!1}a=b.target||a.target;e=[];for(var m in b)switch(m){case "width":case "height":case "top":case "left":e.push(m+"="+b[m]);break;case "target":case "noopener":case "noreferrer":break;
default:e.push(m+"="+(b[m]?1:0))}m=e.join(",");_.ya()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a?(b=_.Gb("A"),_.Ut(b,d),b.target=a,h&&(b.rel="noreferrer"),d=document.createEvent("MouseEvent"),d.initMouseEvent("click",!0,!0,c,1),b.dispatchEvent(d),c={}):h?(c=_.ZE("",c,a,m),d=_.yb(d),c&&(_.Dj&&_.va(d,";")&&(d="'"+d.replace(/'/g,"%27")+"'"),c.opener=null,""===d&&(d="javascript:''"),d=_.Jd(_.jb("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
_.Lw(d)+'">'),(b=c.document)&&b.write&&(b.write(_.tb(d)),b.close()))):(c=_.ZE(d,c,a,m))&&b.noopener&&(c.opener=null);return c};
_.oI=function(){for(var a=Array(36),b=0,c,d=0;36>d;d++)8==d||13==d||18==d||23==d?a[d]="-":14==d?a[d]="4":(2>=b&&(b=33554432+16777216*Math.random()|0),c=b&15,b>>=4,a[d]=_.Eva[19==d?c&3|8:c]);return a.join("")};
_.pI=function(){this.front_=[];this.back_=[]};
_.x4a=function(a){0===a.front_.length&&(a.front_=a.back_,a.front_.reverse(),a.back_=[])};
_.pI.prototype.enqueue=function(a){this.back_.push(a)};
_.y4a=function(a){_.x4a(a);return a.front_.pop()};
_.f=_.pI.prototype;_.f.getCount=function(){return this.front_.length+this.back_.length};
_.f.isEmpty=function(){return 0===this.front_.length&&0===this.back_.length};
_.f.clear=function(){this.front_=[];this.back_=[]};
_.f.contains=function(a){return _.ha(this.front_,a)||_.ha(this.back_,a)};
_.f.remove=function(a){var b=this.front_;var c=Array.prototype.lastIndexOf.call(b,a,b.length-1);0<=c?(_.ia(b,c),b=!0):b=!1;return b||_.ja(this.back_,a)};
_.f.getValues=function(){for(var a=[],b=this.front_.length-1;0<=b;--b)a.push(this.front_[b]);var c=this.back_.length;for(b=0;b<c;++b)a.push(this.back_[b]);return a};
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var z4a={properties:{value:{type:Number,value:0,notify:!0,reflectToAttribute:!0},min:{type:Number,value:0,notify:!0},max:{type:Number,value:100,notify:!0},step:{type:Number,value:1,notify:!0},ratio:{type:Number,value:0,readOnly:!0,notify:!0}},observers:["_update(value, min, max, step)"],_calcRatio:function(a){return(this._clampValue(a)-this.min)/(this.max-this.min)},
_clampValue:function(a){return Math.min(this.max,Math.max(this.min,this._calcStep(a)))},
_calcStep:function(a){a=parseFloat(a);if(!this.step)return a;a=Math.round((a-this.min)/this.step);return 1>this.step?a/(1/this.step)+this.min:a*this.step+this.min},
_validateValue:function(){var a=this._clampValue(this.value);this.value=this.oldValue=isNaN(a)?this.oldValue:a;return this.value!==a},
_update:function(){this._validateValue();this._setRatio(100*this._calcRatio(this.value))}};
/*

Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var A4a;
var B4a;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==B4a)return B4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-progress--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_progress.tp.yt.paper.progress.css.js--\x3e<div id="progressContainer">\n  <div id="secondaryProgress" hidden$="[[_hideSecondaryProgress(secondaryRatio)]]"></div>\n  <div id="primaryProgress"></div>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===A4a){var d=document.createElement("template");
d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_progress.tp.yt.paper.progress.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n  width: 200px;\n  position: relative;\n  overflow: hidden;\n}\n\n:host([hidden]),\n[hidden] {\n  display: none !important;\n}\n\n#progressContainer {\n  position: relative;\n}\n\n#progressContainer,\n.indeterminate::after {\n  height: var(--paper-progress-height, 4px);\n}\n\n#primaryProgress,\n#secondaryProgress,\n.indeterminate::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n\n#progressContainer,\n.indeterminate::after {\n  background: var(--paper-progress-container-color, #e0e0e0);\n}\n\n:host(.transiting) #primaryProgress,\n:host(.transiting) #secondaryProgress {\n  -webkit-transition-property: -webkit-transform;\n  transition-property: transform;\n  -webkit-transition-duration: var(--paper-progress-transition-duration, 0.08s);\n  transition-duration: var(--paper-progress-transition-duration, 0.08s);\n  -webkit-transition-timing-function: var(--paper-progress-transition-timing-function, ease);\n  transition-timing-function: var(--paper-progress-transition-timing-function, ease);\n  -webkit-transition-delay: var(--paper-progress-transition-delay, 0s);\n  transition-delay: var(--paper-progress-transition-delay, 0s);\n}\n\n#primaryProgress,\n#secondaryProgress {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  -webkit-transform-origin: left center;\n  transform-origin: left center;\n  -webkit-transform: scaleX(0);\n  transform: scaleX(0);\n  will-change: transform;\n}\n\n#primaryProgress {\n  background: var(--paper-progress-active-color, #0f9d58);\n}\n\n#secondaryProgress {\n  background: var(--paper-progress-secondary-color, #b7e1cd);\n}\n\n:host([disabled]) #primaryProgress {\n  background: var(--paper-progress-disabled-active-color, #9e9e9e);\n}\n\n:host([disabled]) #secondaryProgress {\n  background: var(--paper-progress-disabled-secondary-color, #e0e0e0);\n}\n\n:host(:not([disabled])) #primaryProgress.indeterminate {\n  -webkit-transform-origin: right center;\n  transform-origin: right center;\n  -webkit-animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;\n  animation: indeterminate-bar var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;\n}\n\n:host(:not([disabled])) #primaryProgress.indeterminate::after {\n  content: "";\n  -webkit-transform-origin: center center;\n  transform-origin: center center;\n  -webkit-animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;\n  animation: indeterminate-splitter var(--paper-progress-indeterminate-cycle-duration, 2s) linear infinite;\n}\n\n@-webkit-keyframes indeterminate-bar {\n  0% {\n    -webkit-transform: scaleX(1) translateX(-100%);\n  }\n  50% {\n    -webkit-transform: scaleX(1) translateX(0%);\n  }\n  75% {\n    -webkit-transform: scaleX(1) translateX(0%);\n    -webkit-animation-timing-function: cubic-bezier(0.28, 0.62, 0.37, 0.91);\n  }\n  100% {\n    -webkit-transform: scaleX(0) translateX(0%);\n  }\n}\n@-webkit-keyframes indeterminate-splitter {\n  0% {\n    -webkit-transform: scaleX(0.75) translateX(-125%);\n  }\n  30% {\n    -webkit-transform: scaleX(0.75) translateX(-125%);\n    -webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.6, 0.8);\n  }\n  90% {\n    -webkit-transform: scaleX(0.75) translateX(125%);\n  }\n  100% {\n    -webkit-transform: scaleX(0.75) translateX(125%);\n  }\n}\n@keyframes indeterminate-bar {\n  0% {\n    transform: scaleX(1) translateX(-100%);\n  }\n  50% {\n    transform: scaleX(1) translateX(0%);\n  }\n  75% {\n    transform: scaleX(1) translateX(0%);\n    animation-timing-function: cubic-bezier(0.28, 0.62, 0.37, 0.91);\n  }\n  100% {\n    transform: scaleX(0) translateX(0%);\n  }\n}\n@keyframes indeterminate-splitter {\n  0% {\n    transform: scaleX(0.75) translateX(-125%);\n  }\n  30% {\n    transform: scaleX(0.75) translateX(-125%);\n    animation-timing-function: cubic-bezier(0.42, 0, 0.6, 0.8);\n  }\n  90% {\n    transform: scaleX(0.75) translateX(125%);\n  }\n  100% {\n    transform: scaleX(0.75) translateX(125%);\n  }\n}\n\n/*# sourceMappingURL=tp-yt-paper-progress.css.map */</style>';
A4a=d}d=A4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return B4a=a},
is:"tp-yt-paper-progress",behaviors:[z4a],properties:{secondaryProgress:{type:Number,value:0},secondaryRatio:{type:Number,value:0,readOnly:!0},indeterminate:{type:Boolean,value:!1,observer:"_toggleIndeterminate"},disabled:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_disabledChanged"}},observers:["_progressChanged(secondaryProgress, value, min, max, indeterminate)"],hostAttributes:{role:"progressbar"},_toggleIndeterminate:function(a){this.toggleClass("indeterminate",a,this.$.primaryProgress)},
_transformProgress:function(a,b){a.style.transform=a.style.webkitTransform="scaleX("+b/100+")"},
_mainRatioChanged:function(a){this._transformProgress(this.$.primaryProgress,a)},
_progressChanged:function(a,b,c,d,e){a=this._clampValue(a);b=this._clampValue(b);var h=100*this._calcRatio(a),l=100*this._calcRatio(b);this._setSecondaryRatio(h);this._transformProgress(this.$.secondaryProgress,h);this._transformProgress(this.$.primaryProgress,l);this.secondaryProgress=a;e?this.removeAttribute("aria-valuenow"):this.setAttribute("aria-valuenow",b);this.setAttribute("aria-valuemin",c);this.setAttribute("aria-valuemax",d)},
_disabledChanged:function(a){this.setAttribute("aria-disabled",a?"true":"false")},
_hideSecondaryProgress:function(a){return 0===a}});
var C4a;
var D4a;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
_.Ng({_template:function(){if(void 0!==D4a)return D4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-slider--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_slider.tp.yt.paper.slider.css.js--\x3e<div id="sliderContainer" class$="[[_getClassNames(disabled, pin, snaps, immediateValue, min, expand, dragging, transiting, editable)]]"><div class="bar-container"><tp-yt-paper-progress disabled$="[[disabled]]" id="sliderBar" aria-hidden="true" min="[[min]]" max="[[max]]" step="[[step]]" value="[[immediateValue]]" secondary-progress="[[secondaryProgress]]" on-down="_bardown" on-up="_resetKnob" on-track="_bartrack" on-tap="_barclick"></tp-yt-paper-progress></div><template is="dom-if" if="[[snaps]]"><div class="slider-markers"><template is="dom-repeat" items="[[markers]]"><div class="slider-marker"></div></template></div></template><div id="sliderKnob" class="slider-knob" on-down="_knobdown" on-up="_resetKnob" on-track="_onTrack" on-transitionend="_knobTransitionEnd"><div class="slider-knob-inner" value$="[[immediateValue]]"></div></div></div><template is="dom-if" if="[[editable]]"><tp-yt-paper-input id="input" type="number" step="[[step]]" min="[[min]]" max="[[max]]" class="slider-input" disabled$="[[disabled]]" value="[[immediateValue]]" on-change="_changeValue" on-keydown="_inputKeyDown" no-label-float=""></tp-yt-paper-input></template>';
var b=a.content,c=b.insertBefore;if(void 0===C4a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_slider.tp.yt.paper.slider.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-pack: justify;\n  -webkit-justify-content: space-between;\n  justify-content: space-between;\n  -ms-flex-align: center;\n  -webkit-align-items: center;\n  align-items: center;\n  width: 200px;\n  cursor: default;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  --paper-progress-active-color: var(\n    --paper-slider-active-color,\n    #3367d6\n  );\n  --paper-progress-secondary-color: var(\n    --paper-slider-secondary-color,\n    #7baaf7\n  );\n  --paper-progress-disabled-active-color: var(\n    --paper-slider-disabled-active-color,\n    #bdbdbd\n  );\n  --paper-progress-disabled-secondary-color: var(\n    --paper-slider-disabled-secondary-color,\n    #bdbdbd\n  );\n  --calculated-paper-slider-height: var(--paper-slider-height, 2px);\n}\n\n:host(:focus) {\n  outline: none;\n}\n\n:dir(rtl) #sliderContainer {\n  -webkit-transform: scaleX(-1);\n  transform: scaleX(-1);\n}\n\n:host([dir=rtl]) #sliderContainer {\n  -webkit-transform: scaleX(-1);\n  transform: scaleX(-1);\n}\n\n:host([dir=ltr]) #sliderContainer {\n  -webkit-transform: scaleX(1);\n  transform: scaleX(1);\n}\n\n#sliderContainer {\n  position: relative;\n  width: 100%;\n  height: calc(30px + var(--calculated-paper-slider-height));\n  margin-left: calc(15px + var(--calculated-paper-slider-height) / 2);\n  margin-right: calc(15px + var(--calculated-paper-slider-height) / 2);\n}\n\n#sliderContainer:focus {\n  outline: 0;\n}\n\n#sliderContainer.editable {\n  margin-top: 12px;\n  margin-bottom: 12px;\n}\n\n.bar-container {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  overflow: hidden;\n}\n\n.ring > .bar-container {\n  left: calc(5px + var(--calculated-paper-slider-height) / 2);\n  transition: left 0.18s ease;\n}\n\n.ring.expand.dragging > .bar-container {\n  transition: none;\n}\n\n.ring.expand:not(.pin) > .bar-container {\n  left: calc(8px + var(--calculated-paper-slider-height) / 2);\n}\n\n#sliderBar {\n  padding: 15px 0;\n  width: 100%;\n  background-color: var(--paper-slider-bar-color, transparent);\n  --paper-progress-container-color: var(\n    --paper-slider-container-color,\n    #bdbdbd\n  );\n  --paper-progress-height: var(--calculated-paper-slider-height);\n}\n\n.slider-markers {\n  position: absolute;\n  top: 15px;\n  height: var(--calculated-paper-slider-height);\n  left: 0;\n  right: -1px;\n  box-sizing: border-box;\n  pointer-events: none;\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: row;\n  -webkit-flex-direction: row;\n  flex-direction: row;\n}\n\n.slider-marker {\n  -ms-flex: 1 1 0.000000001px;\n  -webkit-flex: 1;\n  flex: 1;\n  -webkit-flex-basis: 0.000000001px;\n  flex-basis: 0.000000001px;\n}\n\n.slider-markers::after,\n.slider-marker::after {\n  content: "";\n  display: block;\n  margin-left: -1px;\n  width: 2px;\n  height: var(--calculated-paper-slider-height);\n  border-radius: 50%;\n  background-color: var(--paper-slider-markers-color, #000);\n}\n\n.slider-knob {\n  position: absolute;\n  left: 0;\n  top: 0;\n  margin-left: calc(-15px - var(--calculated-paper-slider-height) / 2);\n  width: calc(30px + var(--calculated-paper-slider-height));\n  height: calc(30px + var(--calculated-paper-slider-height));\n}\n\n.transiting > .slider-knob {\n  transition: left 0.08s ease;\n}\n\n.slider-knob:focus {\n  outline: none;\n}\n\n.slider-knob.dragging {\n  transition: none;\n}\n\n.snaps > .slider-knob.dragging {\n  transition: -webkit-transform 0.08s ease;\n  transition: transform 0.08s ease;\n}\n\n.slider-knob-inner {\n  margin: 10px;\n  width: calc(100% - 20px);\n  height: calc(100% - 20px);\n  background-color: var(--paper-slider-knob-color, #3367d6);\n  border: 2px solid var(--paper-slider-knob-color, #3367d6);\n  border-radius: 50%;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  transition-property: -webkit-transform, background-color, border;\n  transition-property: transform, background-color, border;\n  transition-duration: 0.18s;\n  transition-timing-function: ease;\n}\n\n.expand:not(.pin) > .slider-knob > .slider-knob-inner {\n  -webkit-transform: scale(1.5);\n  transform: scale(1.5);\n}\n\n.ring > .slider-knob > .slider-knob-inner {\n  background-color: var(--paper-slider-knob-start-color, transparent);\n  border: 2px solid var(--paper-slider-knob-start-border-color, #bdbdbd);\n}\n\n.slider-knob-inner::before {\n  background-color: var(--paper-slider-pin-color, #3367d6);\n}\n\n.pin > .slider-knob > .slider-knob-inner::before {\n  content: "";\n  position: absolute;\n  top: 0;\n  left: 50%;\n  margin-left: -13px;\n  width: 26px;\n  height: 26px;\n  border-radius: 50% 50% 50% 0;\n  -webkit-transform: rotate(-45deg) scale(0) translate(0);\n  transform: rotate(-45deg) scale(0) translate(0);\n}\n\n.slider-knob-inner::before,\n.slider-knob-inner::after {\n  transition: -webkit-transform 0.18s ease, background-color 0.18s ease;\n  transition: transform 0.18s ease, background-color 0.18s ease;\n}\n\n.pin.ring > .slider-knob > .slider-knob-inner::before {\n  background-color: var(--paper-slider-pin-start-color, #bdbdbd);\n}\n\n.pin.expand > .slider-knob > .slider-knob-inner::before {\n  -webkit-transform: rotate(-45deg) scale(1) translate(17px, -17px);\n  transform: rotate(-45deg) scale(1) translate(17px, -17px);\n}\n\n.pin > .slider-knob > .slider-knob-inner::after {\n  content: attr(value);\n  position: absolute;\n  top: 0;\n  left: 50%;\n  margin-left: -16px;\n  width: 32px;\n  height: 26px;\n  text-align: center;\n  tp-yt-color: var(--paper-slider-font-color, #fff);\n  font-size: 10px;\n  -webkit-transform: scale(0) translate(0);\n  transform: scale(0) translate(0);\n}\n\n.pin.expand > .slider-knob > .slider-knob-inner::after {\n  -webkit-transform: scale(1) translate(0, -17px);\n  transform: scale(1) translate(0, -17px);\n}\n\n.slider-input {\n  width: 50px;\n  overflow: hidden;\n  --paper-input-container-input: {\n    text-align: center;\n  };\n}\n\n#sliderContainer.disabled {\n  pointer-events: none;\n}\n\n.disabled > .slider-knob > .slider-knob-inner {\n  background-color: var(--paper-slider-disabled-knob-color, #bdbdbd);\n  border: 2px solid var(--paper-slider-disabled-knob-color, #bdbdbd);\n  -webkit-transform: scale3d(0.75, 0.75, 1);\n  transform: scale3d(0.75, 0.75, 1);\n}\n\n.disabled.ring > .slider-knob > .slider-knob-inner {\n  background-color: var(--paper-slider-knob-start-color, transparent);\n  border: 2px solid var(--paper-slider-knob-start-border-color, #bdbdbd);\n}\n\npaper-ripple {\n  tp-yt-color: var(--paper-slider-knob-color, #3367d6);\n}\n\n/*# sourceMappingURL=tp-yt-paper-slider.css.map */</style>';
C4a=d}d=C4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return D4a=a},
is:"tp-yt-paper-slider",behaviors:[_.Xs,_.qx,_.UVa,z4a],properties:{value:{type:Number,value:0},snaps:{type:Boolean,value:!1,notify:!0},pin:{type:Boolean,value:!1,notify:!0},secondaryProgress:{type:Number,value:0,notify:!0,observer:"_secondaryProgressChanged"},editable:{type:Boolean,value:!1},immediateValue:{type:Number,value:0,readOnly:!0,notify:!0},maxMarkers:{type:Number,value:0,notify:!0},expand:{type:Boolean,value:!1,readOnly:!0},ignoreBarTouch:{type:Boolean,value:!1},dragging:{type:Boolean,
value:!1,readOnly:!0,notify:!0},transiting:{type:Boolean,value:!1,readOnly:!0},markers:{type:Array,readOnly:!0,value:function(){return[]}}},
observers:["_updateKnob(value, min, max, snaps, step)","_valueChanged(value)","_immediateValueChanged(immediateValue)","_updateMarkers(maxMarkers, min, max, snaps)"],hostAttributes:{role:"slider",tabindex:0},keyBindings:{left:"_leftKey",right:"_rightKey","down pagedown home":"_decrementKey","up pageup end":"_incrementKey"},ready:function(){this.ignoreBarTouch&&_.Hc(this.$.sliderBar,"auto")},
increment:function(){this.value=this._clampValue(this.value+this.step)},
decrement:function(){this.value=this._clampValue(this.value-this.step)},
_updateKnob:function(a,b,c){this.setAttribute("aria-valuemin",b);this.setAttribute("aria-valuemax",c);this.setAttribute("aria-valuenow",a);this._positionKnob(100*this._calcRatio(a))},
_valueChanged:function(){this.fire("value-change",{composed:!0})},
_immediateValueChanged:function(){this.dragging?this.fire("immediate-value-change",{composed:!0}):this.value=this.immediateValue},
_secondaryProgressChanged:function(){this.secondaryProgress=this._clampValue(this.secondaryProgress)},
_expandKnob:function(){this._setExpand(!0)},
_resetKnob:function(){this.cancelDebouncer("expandKnob");this._setExpand(!1)},
_positionKnob:function(a){this._setImmediateValue(this._calcStep(this._calcKnobPosition(a)));this._setRatio(100*this._calcRatio(this.immediateValue));this.$.sliderKnob.style.left=this.ratio+"%";this.dragging&&(this._knobstartx=this.ratio*this._w/100,this.translate3d(0,0,0,this.$.sliderKnob))},
_calcKnobPosition:function(a){return(this.max-this.min)*a/100+this.min},
_onTrack:function(a){a.stopPropagation();switch(a.detail.state){case "start":this._trackStart(a);break;case "track":this._trackX(a);break;case "end":this._trackEnd()}},
_trackStart:function(){this._setTransiting(!1);this._w=this.$.sliderBar.offsetWidth;this._knobstartx=this._startx=this._x=this.ratio*this._w/100;this._minx=-this._startx;this._maxx=this._w-this._startx;this.$.sliderKnob.classList.add("dragging");this._setDragging(!0)},
_trackX:function(a){this.dragging||this._trackStart(a);this._x=this._startx+Math.min(this._maxx,Math.max(this._minx,a.detail.dx*(this._isRTL?-1:1)));a=this._calcStep(this._calcKnobPosition(this._x/this._w*100));this._setImmediateValue(a);a=this._calcRatio(this.immediateValue)*this._w-this._knobstartx;this.translate3d(a+"px",0,0,this.$.sliderKnob)},
_trackEnd:function(){var a=this.$.sliderKnob.style;this.$.sliderKnob.classList.remove("dragging");this._setDragging(!1);this._resetKnob();this.value=this.immediateValue;a.transform=a.webkitTransform="";this.fire("change",{composed:!0})},
_knobdown:function(a){this._expandKnob();a.preventDefault();this.focus()},
_bartrack:function(a){this._allowBarEvent(a)&&this._onTrack(a)},
_barclick:function(a){this._w=this.$.sliderBar.offsetWidth;var b=this.$.sliderBar.getBoundingClientRect();b=(a.detail.x-b.left)/this._w*100;this._isRTL&&(b=100-b);var c=this.ratio;this._setTransiting(!0);this._positionKnob(b);c===this.ratio&&this._setTransiting(!1);this.async(function(){this.fire("change",{composed:!0})});
a.preventDefault();this.focus()},
_bardown:function(a){this._allowBarEvent(a)&&(this.debounce("expandKnob",this._expandKnob,60),this._barclick(a))},
_knobTransitionEnd:function(a){a.target===this.$.sliderKnob&&this._setTransiting(!1)},
_updateMarkers:function(a,b,c,d){d||this._setMarkers([]);b=Math.round((c-b)/this.step);b>a&&(b=a);if(0>b||!isFinite(b))b=0;this._setMarkers(Array(b))},
_mergeClasses:function(a){return Object.keys(a).filter(function(b){return a[b]}).join(" ")},
_getClassNames:function(){return this._mergeClasses({disabled:this.disabled,pin:this.pin,snaps:this.snaps,ring:this.immediateValue<=this.min,expand:this.expand,dragging:this.dragging,transiting:this.transiting,editable:this.editable})},
_allowBarEvent:function(a){return!this.ignoreBarTouch||a.detail.sourceEvent instanceof MouseEvent},
get _isRTL(){void 0===this.__isRTL&&(this.__isRTL="rtl"===window.getComputedStyle(this).direction);return this.__isRTL},_leftKey:function(a){this._isRTL?this._incrementKey(a):this._decrementKey(a)},
_rightKey:function(a){this._isRTL?this._decrementKey(a):this._incrementKey(a)},
_incrementKey:function(a){this.disabled||("end"===a.detail.key?this.value=this.max:this.increment(),this.fire("change"),a.preventDefault())},
_decrementKey:function(a){this.disabled||("home"===a.detail.key?this.value=this.min:this.decrement(),this.fire("change"),a.preventDefault())},
_changeValue:function(a){this.value=a.target.value;this.fire("change",{composed:!0})},
_inputKeyDown:function(a){a.stopPropagation()},
_createRipple:function(){this._rippleContainer=this.$.sliderKnob;return _.TVa._createRipple.call(this)},
_focusedChanged:function(a){a&&this.ensureRipple();this.hasRipple()&&(this._ripple.style.display=a?"":"none",this._ripple.holdDown=a)}});
var E4a;
var F4a;
var qI=null;
_.Ng({_template:function(){if(void 0!==F4a)return F4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-toast--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_toast.tp.yt.paper.toast.css.js--\x3e<span id="label">{{text}}</span>\n<slot></slot>\n';var b=a.content,c=b.insertBefore;if(void 0===E4a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_toast.tp.yt.paper.toast.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n  position: fixed;\n  background-color: var(--paper-toast-background-color, #323232);\n  color: var(--paper-toast-color, #f1f1f1);\n  min-height: 48px;\n  min-width: 288px;\n  padding: 16px 24px;\n  box-sizing: border-box;\n  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n  border-radius: 2px;\n  margin: 12px;\n  font-size: 14px;\n  cursor: default;\n  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;\n  transition: transform 0.3s, opacity 0.3s;\n  opacity: 0;\n  -webkit-transform: translateY(100px);\n  transform: translateY(100px);\n  @apply --paper-font-common-base;\n}\n\n:host(.capsule) {\n  border-radius: 24px;\n}\n\n:host(.fit-bottom) {\n  width: 100%;\n  min-width: 0;\n  border-radius: 0;\n  margin: 0;\n}\n\n:host(.paper-toast-open) {\n  opacity: 1;\n  -webkit-transform: translateY(0px);\n  transform: translateY(0px);\n}\n\n/*# sourceMappingURL=tp-yt-paper-toast.css.map */</style>";E4a=
d}d=E4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return F4a=a},
is:"tp-yt-paper-toast",behaviors:[_.Fx],properties:{fitInto:{type:Object,value:window,observer:"_onFitIntoChanged"},horizontalAlign:{type:String,value:"left"},verticalAlign:{type:String,value:"bottom"},duration:{type:Number,value:3E3},text:{type:String,value:""},noCancelOnOutsideClick:{type:Boolean,value:!0},noAutoFocus:{type:Boolean,value:!0},noIronAnnounce:{type:Boolean,value:!1}},listeners:{transitionend:"__onTransitionEnd"},get visible(){_.An._warn("`visible` is deprecated, use `opened` instead");
return this.opened},get _canAutoClose(){return 0<this.duration&&Infinity!==this.duration},created:function(){this._autoClose=null;_.px.requestAvailability()},
show:function(a){"string"==typeof a&&(a={text:a});for(var b in a)0===b.indexOf("_")?_.An._warn('The property "'+b+'" is private and was not set.'):b in this?this[b]=a[b]:_.An._warn('The property "'+b+'" is not valid.');this.open()},
hide:function(){this.close()},
__onTransitionEnd:function(a){a&&a.target===this&&"opacity"===a.propertyName&&(this.opened?this._finishRenderOpened():this._finishRenderClosed())},
_openedChanged:function(){null!==this._autoClose&&(this.cancelAsync(this._autoClose),this._autoClose=null);this.opened?(qI&&qI!==this&&qI.close(),qI=this,this.noIronAnnounce||this.fire("iron-announce",{text:this.text}),this._canAutoClose&&(this._autoClose=this.async(this.close,this.duration))):qI===this&&(qI=null);_.Ex._openedChanged.apply(this,arguments)},
_renderOpened:function(){this.classList.add("paper-toast-open")},
_renderClosed:function(){this.classList.remove("paper-toast-open")},
_onFitIntoChanged:function(a){this.positionTarget=a}});
var rI=function(){return _.vt.apply(this,arguments)||this};
_.q(rI,_.vt);rI.prototype.beforeRegister=function(){this.stampDom||(this.stampDom={});this.stampDom.errorRenderer={id:"error",mapping:{liveChatErrorMessageRenderer:"yt-live-chat-error-message-renderer"}}};
rI.prototype.onErrorMessageDismiss=function(){this._setErrorRenderer(null)};
var sI=rI;sI.prototype.onErrorMessageDismiss=sI.prototype.onErrorMessageDismiss;_.S([_.N({readOnly:!0,observer:"errorRendererChanged"}),_.T("design:type",Object)],sI.prototype,"errorRenderer",void 0);_.S([_.O("yt-live-chat-error-message-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],sI.prototype,"onErrorMessageDismiss",null);sI=_.S([_.wt()],sI);_.G4a=[sI.prototype];
var H4a;
var I4a;
_.Ng({is:"yt-live-chat-error-message-renderer",_template:function(){if(void 0!==I4a)return I4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-error-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_error_message_renderer.yt.live.chat.error.message.renderer.css.js--\x3e<yt-icon-button on-click="dismiss">\n  <yt-icon icon="[[icon]]"></yt-icon>\n</yt-icon-button>\n<yt-formatted-string text="[[data.errorText]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===H4a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_error_message_renderer.yt.live.chat.error.message.renderer.css.js--\x3e<style>:host {color: var(--yt-live-chat-error-message-color,#f44336);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-icon-button {margin-right: 8px;-ms-flex: none;-webkit-flex: none;flex: none;width: 40px;height: 40px;padding: 8px;} yt-formatted-string {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=yt-live-chat-error-message-renderer.css.map*/</style>";
H4a=d}d=H4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return I4a=a},
properties:{data:Object,icon:{type:String,computed:"computeIcon_(data.icon)"}},dismiss:function(){this.fire("yt-live-chat-error-message-dismiss")},
computeIcon_:function(a){return a&&a.iconType?"yt-icons:"+a.iconType.toLowerCase():"yt-icons:close"}});
var t4a=new _.Wd("ratelimit");
var J4a;
var K4a;
var tI=function(){var a=_.K.apply(this,arguments)||this;a.selectedAmountIndex=1;a.privacyCheckboxValue=!1;a.amountPlaceholderIndex=-1;return a};
_.q(tI,_.K);_.f=tI.prototype;_.f.onAmountClick=function(a){this.selectedAmountIndex=this.$.amounts.indexForElement(a.currentTarget)};
_.f.onCloseClick=function(){this.hasAttribute("live-chat")&&(_.C(this,"yt-live-chat-close-buy-flow"),this.ytLiveChatErrorMessageBehavior._setErrorRenderer(null))};
_.f.onDonateButtonClick=function(){if(this.hasAttribute("live-chat"))this.donateCommand&&_.C(this,"yt-live-chat-start-buy-flow",[this.donateCommand,{},this.donationCallback.bind(this)]);else{_.C(this,"yt-close-popup-action",[this.is]);var a;null==(a=_.sv())||a.getPlayerPromise().then(function(b){b.pauseVideo()})}};
_.f.donationCallback=function(a){a.success?(this.hasAttribute("live-chat")&&a.response&&a.response.data&&a.response.data.actions&&_.C(this,"yt-live-chat-open-popup",[a.response.data.actions[0]]),_.C(this,"yt-close-popup-action",[this.is]),_.C(this,"yt-live-chat-close-buy-flow")):a.errorMessageRenderer&&this.ytLiveChatErrorMessageBehavior._setErrorRenderer(a.errorMessageRenderer)};
_.f.setFocusOnCustomAmountInput=function(){null!==this.customAmount&&this.$["custom-amount-input"].focus()};
_.f.updateConfirmationDialogTextWithAmount=function(a){var b=this.getConfirmDialogRuns();b&&this.set(["data","confirmLargeAmount","openPopupAction","popup","confirmDialogRenderer","dialogMessages",0,"runs",this.getAmountPlaceholderIndex(b),"text"],this.getFormattedAmount(a))};
_.f.getConfirmDialogRuns=function(){return this.get(["confirmLargeAmount","openPopupAction","popup","confirmDialogRenderer","dialogMessages",0,"runs"],this.data)};
_.f.getAmountPlaceholderIndex=function(a){0>this.amountPlaceholderIndex&&(this.amountPlaceholderIndex=a.findIndex(function(b){return"${amount}"===b.text}));
return this.amountPlaceholderIndex};
_.f.getFormattedAmount=function(a){var b;return(new _.fF(4,(null==(b=this.data)?void 0:b.currencyCode)||"")).format(a)};
_.f.isAmountValid=function(a){if(""===a)return!1;a=1E6*Number(a);var b=this.get("minAmountMicros",this.data),c=this.get("maxAmountMicros",this.data);return b&&a<b||c&&a>c?!1:!0};
_.f.setInputError=function(){this.shouldShowValidationError?this.$["custom-amount-input"].setAttribute("invalid",""):this.$["custom-amount-input"].removeAttribute("invalid")};
_.f.setInitialCheckboxValue=function(){var a;this.privacyCheckboxValue=!(null==(a=this.data)||!a.privacyCheckboxInitialState)};
_.t.Object.defineProperties(tI.prototype,{suggestedAmountButtons:{configurable:!0,enumerable:!0,get:function(){var a=this,b,c;return(null==(b=this.data)?void 0:null==(c=b.suggestedAmounts)?void 0:c.map(function(d,e){return{buttonRenderer:{style:"STYLE_SUGGESTIVE",text:d.label},isSelected:a.selectedAmountIndex===e}}))||[]}},
isCustomAmountSelected:{configurable:!0,enumerable:!0,get:function(){return!this.get("suggestedAmounts."+this.selectedAmountIndex+".amountMicros",this.data)}},
showPrivacyCheckbox:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.privacyCheckboxText)}},
amountMicros:{configurable:!0,enumerable:!0,get:function(){return this.customAmount?this.isAmountValid(this.customAmount)?1E6*Number(this.customAmount):null:Number(this.get("suggestedAmounts."+this.selectedAmountIndex+".amountMicros",this.data))}},
customAmount:{configurable:!0,enumerable:!0,get:function(){return this.isCustomAmountSelected?this.customAmountInput||"":null}},
shouldShowValidationError:{configurable:!0,enumerable:!0,get:function(){return null===this.customAmount||""===this.customAmount?!1:!this.isAmountValid(this.customAmount)}},
isDonateButtonEnabled:{configurable:!0,enumerable:!0,get:function(){return null===this.customAmount?!0:this.isAmountValid(this.customAmount)}},
donateCommand:{configurable:!0,enumerable:!0,get:function(){var a=this.hasAttribute("live-chat")?this.get("payFromLiveChat",this.data):this.get("donateButton.buttonRenderer.command",this.data);if(a&&null!==this.amountMicros)return Object.assign({},a,{ypcGetCartEndpoint:Object.assign({},a.ypcGetCartEndpoint,{donationAmountMicros:this.amountMicros,productData:{donationData:{isAnonymousDonation:!this.privacyCheckboxValue}}})})}},
donateCommandWithConfirmation:{configurable:!0,enumerable:!0,get:function(){return this.isCustomAmountSelected&&this.confirmLargeAmountCommand&&this.amountMicros&&this.amountMicros>=this.largeDonationThreshold?this.confirmLargeAmountCommand:this.donateCommand}},
largeDonationThreshold:{configurable:!0,enumerable:!0,get:function(){return 100*this.get("minAmountMicros",this.data)}},
confirmLargeAmountCommand:{configurable:!0,enumerable:!0,get:function(){var a=this.get("confirmLargeAmount",this.data);if(a&&this.amountMicros)return this.updateConfirmationDialogTextWithAmount(this.amountMicros/1E6),this.set("data.confirmLargeAmount.openPopupAction.popup.confirmDialogRenderer.confirmButton.buttonRenderer.command",this.donateCommand),a}},
donateButtonRenderer:{configurable:!0,enumerable:!0,get:function(){var a=this.get("donateButton.buttonRenderer",this.data);if(a)return Object.assign({},a,{isDisabled:!this.isDonateButtonEnabled,command:this.hasAttribute("live-chat")?void 0:this.donateCommandWithConfirmation})}}});
_.t.Object.defineProperties(tI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===K4a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-donation-amount-picker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_amount_picker_renderer.ytd.donation.amount.picker.renderer.css.js--\x3e<div id="container">\n  <div id="top-box">\n    <div id="title-row">\n      <div id="title">\n        <div class="title-text">[[getSimpleString(data.pickerTitle)]]</div>\n        <yt-icon-button dialog-dismiss="" on-click="onCloseClick">\n          <yt-icon icon="yt-icons:dismissal"></yt-icon>\n        </yt-icon-button>\n      </div>\n    </div>\n    <div id="campaign-row">\n      <yt-img-shadow object-fit="CONTAIN" thumbnail="[[data.campaignThumbnail]]">\n      </yt-img-shadow>\n      <div id="text-container">\n        <div id="campaign-title">\n          [[getSimpleString(data.campaignTitle)]]\n        </div>\n        <div id="campaign-subtitle">\n          [[getSimpleString(data.campaignSubtitle)]]\n        </div>\n        <div id="description-column">\n          <div class="separator"></div>\n          <div class="campaign-description">\n            [[getSimpleString(data.campaignDescription)]]\n          </div>\n        </div>\n      </div>\n    </div>\n    <div id="live-chat-description-column">\n      <div class="campaign-description">\n        [[getSimpleString(data.campaignDescription)]]\n      </div>\n      <div class="separator"></div>\n    </div>\n  </div>\n  <div id="bottom-box">\n    <div id="nonprofit-row">\n      <div>\n        <div id="nonprofit-title">\n          [[getSimpleString(data.nonprofitTitle)]]\n          <yt-icon id="verified-icon" class="inline-icon" icon="yt-icons:check-circle">\n          </yt-icon>\n        </div>\n        <yt-formatted-string id="nonprofit-subtitle" text="[[data.nonprofitSubtitle]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n    <div id="amount-selector">\n      <div id="suggested-amount-buttons-row">\n        <template id="amounts" is="dom-repeat" items="[[suggestedAmountButtons]]">\n          <ytd-button-renderer class="suggested-amount" data="[[item.buttonRenderer]]" selected$="[[item.isSelected]]" on-click="onAmountClick"></ytd-button-renderer>\n        </template>\n      </div>\n      <div id="custom-amount-container">\n        <tp-yt-paper-input id="custom-amount-input" allowed-pattern="[0-9]" always-float-label="" error-message="[[getSimpleString(data.amountError)]]" hidden="[[!isCustomAmountSelected]]" label="[[getSimpleString(data.customAmountLabel)]]" use-v2-underline="" value="{{customAmountInput}}">\n          <div prefix="" slot="prefix">[[getSimpleString(data.currencySymbol)]]\u00a0</div>\n        </tp-yt-paper-input>\n      </div>\n    </div>\n\n    <tp-yt-paper-checkbox id="privacy-checkbox" checked="{{privacyCheckboxValue}}" hidden="[[!showPrivacyCheckbox]]">\n      <yt-formatted-string split-lines="" text="[[data.privacyCheckboxText]]">\n      </yt-formatted-string>\n    </tp-yt-paper-checkbox>\n\n    <div id="button-row">\n      <ytd-button-renderer data="[[donateButtonRenderer]]" on-click="onDonateButtonClick">\n      </ytd-button-renderer>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===J4a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_amount_picker_renderer.ytd.donation.amount.picker.renderer.css.js--\x3e<style>:host(.ytd-popup-container) {margin-bottom: 0;margin-top: 0;padding: 0;} :host([live-chat]) #container {background-color: var(--yt-live-chat-action-panel-background-color);} :host(:not([live-chat])) #container {width: 548px;} #top-box {background-color: var(--yt-spec-general-background-b);display: block;padding: 24px;border-top-left-radius: 2px;border-top-right-radius: 2px;} :host([live-chat]) #top-box {background-color: inherit;padding-top: 16px;padding-bottom: 0;} #bottom-box {padding: 24px;border-bottom-left-radius: 2px;border-bottom-right-radius: 2px;} :host([live-chat]) #bottom-box {background-color: inherit;padding-top: 12px;} #campaign-row {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #title {color: var(--yt-spec-text-primary);margin-bottom: 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} :host([live-chat]) #title {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} .title-text {flex-grow: 1;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([live-chat]) .title-text {margin-left: 16px;} #text-container {flex-grow: 1;margin-left: 16px;min-width: 50%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #campaign-row yt-img-shadow {width: 90px;height: 90px;} :host([live-chat]) #campaign-row yt-img-shadow {width: 32px;height: 32px;} :host([live-chat]) #description-column {display: none;} #live-chat-description-column {display: none;} :host([live-chat]) #live-chat-description-column {display: block;margin-top: 16px;} :host([live-chat]) #live-chat-description-column .campaign-description {margin-bottom: 12px;} #campaign-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #campaign-subtitle,.campaign-description {color: var(--yt-spec-text-secondary);} #campaign-subtitle {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host(:not([live-chat])) .campaign-description {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;overflow-wrap: break-word;} :host([live-chat]) .campaign-description {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .separator {background-color: #ccc;height: 1px;margin: 8px 0 8px 0;} :host([live-chat]) .separator {margin: 0;} #nonprofit-title,#nonprofit-subtitle {color: var(--yt-spec-text-primary);} #nonprofit-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #nonprofit-subtitle {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #button-row {margin-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} :host([live-chat]) #button-row {margin-top: 0;display: flex;flex-direction: column;align-items: stretch;} #nonprofit-row {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #nonprofit-row>:first-child {flex-grow: 1;padding-right: 16px;} :host([live-chat]) #nonprofit-row>:first-child {padding-right: 8px;} #nonprofit-link {color: var(--yt-spec-call-to-action);white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #nonprofit-link-text {--yt-endpoint-color: var(--yt-spec-call-to-action);--yt-endpoint-hover-color: var(--yt-spec-call-to-action);--yt-endpoint-visited-color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .inline-icon {position: relative;top: -2px;width: 1em;} #amount-selector {margin: 0 auto;max-width: 360px;} #suggested-amount-buttons-row {margin-top: 32px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([live-chat]) #suggested-amount-buttons-row {margin-top: 16px;} #custom-amount-container {height: 70px;margin-top: 8px;} :host([live-chat]) #custom-amount-container {height: auto;transition: height 0.7s;margin-top: 8px;} :host([live-chat]) #custom-amount-container [focused] {height: 70px;} :host([live-chat]) #custom-amount-container [hidden] {height: 0px;} #custom-amount-input {--paper-input-container-focus-color: var(--yt-spec-themed-blue);--paper-input-prefix-color: var(--yt-spec-text-primary);--primary-text-color: var(--yt-spec-text-primary);} #suggested-amount-buttons-row ytd-button-renderer {text-transform: none;} #suggested-amount-buttons-row ytd-button-renderer[selected] {background-color: var(--yt-spec-themed-blue);color: var(--yt-spec-suggested-action);} #privacy-checkbox {--paper-checkbox-vertical-align: top;--paper-checkbox-label: {margin-right: 20px;};margin-top: 32px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([live-chat]) #privacy-checkbox {margin-top: 8px;margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-donation-amount-picker-renderer.css.map*/</style>';
J4a=d}d=J4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);K4a=a}a=K4a;return a}}});
var uI=tI;uI.prototype.setInitialCheckboxValue=uI.prototype.setInitialCheckboxValue;uI.prototype.setInputError=uI.prototype.setInputError;uI.prototype.setFocusOnCustomAmountInput=uI.prototype.setFocusOnCustomAmountInput;_.S([_.L(_.G4a),_.T("design:type",Object)],uI.prototype,"ytLiveChatErrorMessageBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],uI.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],uI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],uI.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],uI.prototype,"selectedAmountIndex",void 0);_.S([_.N(),_.T("design:type",String)],uI.prototype,"customAmountInput",void 0);_.S([_.N(),_.T("design:type",Boolean)],uI.prototype,"privacyCheckboxValue",void 0);
_.S([_.P("customAmount"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uI.prototype,"setFocusOnCustomAmountInput",null);_.S([_.V("data","selectedAmountIndex"),_.T("design:type",Array),_.T("design:paramtypes",[])],uI.prototype,"suggestedAmountButtons",null);_.S([_.V("data","selectedAmountIndex"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],uI.prototype,"isCustomAmountSelected",null);
_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],uI.prototype,"showPrivacyCheckbox",null);_.S([_.V("data","selectedAmountIndex","customAmount"),_.T("design:type",Object),_.T("design:paramtypes",[])],uI.prototype,"amountMicros",null);_.S([_.V("isCustomAmountSelected","customAmountInput"),_.T("design:type",Object),_.T("design:paramtypes",[])],uI.prototype,"customAmount",null);
_.S([_.V("customAmount"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],uI.prototype,"shouldShowValidationError",null);_.S([_.V("customAmount"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],uI.prototype,"isDonateButtonEnabled",null);_.S([_.V("data","isDonateButtonEnabled","amountMicros","privacyCheckboxValue"),_.T("design:type",Object),_.T("design:paramtypes",[])],uI.prototype,"donateCommand",null);
_.S([_.V("donateCommand","isCustomAmountSelected","confirmLargeAmountCommand","amountMicros"),_.T("design:type",Object),_.T("design:paramtypes",[])],uI.prototype,"donateCommandWithConfirmation",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],uI.prototype,"largeDonationThreshold",null);_.S([_.V("customAmount","donateCommand","amountMicros"),_.T("design:type",Object),_.T("design:paramtypes",[])],uI.prototype,"confirmLargeAmountCommand",null);
_.S([_.V("data","isDonateButtonEnabled","donateCommandWithConfirmation"),_.T("design:type",Object),_.T("design:paramtypes",[])],uI.prototype,"donateButtonRenderer",null);_.S([_.P("shouldShowValidationError"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uI.prototype,"setInputError",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uI.prototype,"setInitialCheckboxValue",null);
uI=_.S([_.Q({is:"ytd-donation-amount-picker-renderer"})],uI);
var L4a;
var M4a;
var vI=function(){return _.K.apply(this,arguments)||this};
_.q(vI,_.K);vI.prototype.configureRendererStamper=function(){return{data:{id:"thumbnail",mapping:{thumbnail:{component:"yt-img-shadow",properties:{thumbnail:"[[data.thumbnail]]"}}}},"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
vI.prototype.onClick=function(){var a,b,c,d=null==(a=this.data)?void 0:null==(b=a.actionButton)?void 0:null==(c=b.buttonRenderer)?void 0:c.command;d&&!this.ytComponentBehavior.resolveCommand(d)&&_.Kg(this,[d])};
_.t.Object.defineProperties(vI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===M4a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offer-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_content_renderer.ytd.offer.content.renderer.css.js--\x3e<div class="offer-content" id="offer-content" on-click="onClick">\n  <div id="thumbnail"></div>\n  <div class="text">\n    <yt-formatted-string class="title" text="[[data.title]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="description" text="[[data.description]]">\n    </yt-formatted-string>\n  </div>\n</div>\n<div id="action-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===L4a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_content_renderer.ytd.offer.content.renderer.css.js--\x3e<style>:host {-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;cursor: pointer;padding: 8px 16px 8px 24px;} .offer-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;width: 100%;} #thumbnail yt-img-shadow {height: 32px;margin: 0 12px;width: 32px;} .text {flex-grow: 1;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} .description {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} yt-button-renderer[is-icon-button] {margin-right: 8px;} /*# sourceMappingURL=ytd-offer-content-renderer.css.map*/</style>';
L4a=d}d=L4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);M4a=a}a=M4a;return a}}});
var wI=vI;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],wI.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],wI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],wI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],wI.prototype,"data",void 0);wI=_.S([_.Q({asyncProperties:!0,is:"ytd-offer-content-renderer"})],wI);
var N4a;
var O4a;
var xI=function(){return _.K.apply(this,arguments)||this};
_.q(xI,_.K);xI.prototype.configureRendererStamper=function(){return{"data.offerList":{id:"offer-list",mapping:{offerContentRenderer:{component:"ytd-offer-content-renderer"}}}}};
_.t.Object.defineProperties(xI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===O4a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offer-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_section_renderer.ytd.offer.section.renderer.css.js--\x3e<div class="heading">\n  <yt-formatted-string class="title" text="[[data.title]]">\n  </yt-formatted-string>\n  <yt-formatted-string class="description" text="[[data.description]]">\n  </yt-formatted-string>\n</div>\n<div id="offer-list"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===N4a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_section_renderer.ytd.offer.section.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} .heading {padding: 8px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .description {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-offer-section-renderer.css.map*/</style>';
N4a=d}d=N4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);O4a=a}a=O4a;return a}}});
var yI=xI;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],yI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],yI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],yI.prototype,"data",void 0);yI=_.S([_.Q({asyncProperties:!0,is:"ytd-offer-section-renderer"})],yI);
var P4a;
var Q4a;
var R4a=function(){this.queue=[];this.currentPersistentToast=this.currentToast=void 0},S4a,T4a=function(){S4a||(S4a=new R4a);
return S4a};
R4a.prototype.enqueue=function(a,b){1===b?this.currentPersistentToast=a:this.queue.push(a);this.openToast()};
var U4a=function(a,b){var c;1!==b||(null==(c=a.currentPersistentToast)?0:c.opened)?a.openToast():a.currentPersistentToast=void 0};
R4a.prototype.openToast=function(){var a;null!=(a=this.currentToast)&&a.opened||(this.queue.length?(this.currentToast=this.queue.shift(),this.currentToast.open()):this.currentPersistentToast&&this.currentPersistentToast.open())};
_.Ng({is:"yt-notification-action-renderer",_template:function(){if(void 0!==Q4a)return Q4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-notification-action-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_notification_action_renderer.yt.notification.action.renderer.css.js--\x3e\n<tp-yt-paper-toast id="toast" class$="[[computeButtonClass_(data.actionButton.buttonRenderer)]]" allow-click-through="" duration="[[duration]]" opened="{{toastOpened}}">\n  <div id="text-container">\n    <yt-formatted-string id="text" respect-html-dir="" split-lines="" text="[[data.responseText]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="sub-text" hidden="[[!data.subText]]" respect-html-dir="" split-lines="" text="[[data.subText]]">\n    </yt-formatted-string>\n  </div>\n  <template is="dom-if" if="[[data.actionButton]]">\n    <yt-button-renderer id="action-button" data="[[data.actionButton.buttonRenderer]]" on-tap="tapClose">\n    </yt-button-renderer>\n  </template>\n  <yt-icon-button hidden="[[!useCloseButton]]" label="[[closeButtonAriaLabel]]" on-tap="close">\n    <yt-icon icon="yt-icons:close"></yt-icon>\n  </yt-icon-button>\n  <slot></slot>\n</tp-yt-paper-toast>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===P4a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_notification_action_renderer.yt.notification.action.renderer.css.js--\x3e<style>:host {display: inline-block;width: 1px;height: 1px;} tp-yt-paper-toast {padding: var(--ytd-margin-2x) var(--ytd-margin-6x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([ui-refresh]) tp-yt-paper-toast {background-color: var(--yt-spec-snackbar-background-updated);color: var(--yt-spec-text-primary-inverse);border-radius: 8px;box-shadow: 0 0 24px 0 var(--yt-spec-static-overlay-background-light);padding: 0 0 0 12px;min-height: 48px;margin: 16px;} :host([ui-refresh]) #text-container {padding: 12px 0;} :host([ui-refresh]) #text,:host([ui-refresh]) #sub-text {color: var(--yt-spec-text-primary-inverse);} :host([ui-refresh]) yt-button-renderer {--yt-button-color: var(--yt-spec-call-to-action-inverse);} :host([ui-refresh]) yt-icon-button {width: 40px;height: 40px;padding: 8px;margin-right: 4px;} :host([ui-refresh]).is-download tp-yt-paper-toast {border-radius: 8px 8px 0 0;} #text-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-button-renderer {--yt-button-color: var(--yt-spec-static-overlay-call-to-action);margin-left: var(--ytd-margin-2x);} yt-formatted-string {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #text {color: var(--yt-spec-static-overlay-text-primary);} #sub-text {color: var(--yt-spec-static-overlay-text-secondary);} .toast-button {padding-right: var(--ytd-margin-2x);} /*# sourceMappingURL=yt-notification-action-renderer.css.map*/</style>';
P4a=d}d=P4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Q4a=a},
behaviors:[_.U.YtRendererBehavior,_.Qw.YtEventForwardingBehavior],properties:{data:Object,duration:Number,toastType:{NONPERSISTENT:0,PERSISTENT:1,0:"NONPERSISTENT",1:"PERSISTENT"},useCloseButton:{type:Boolean,value:!1},closeButtonAriaLabel:{type:String,value:function(){return _.Bg("SBOX_INAPPROPRIATE_CANCEL")}},
toastOpened:{type:Boolean,notify:!0,readonly:!0,observer:"toastOpenedChanged"},hasOpened:Boolean,uiRefresh:{type:Boolean,reflectToAttribute:!0,value:_.x("web_snackbar_ui_refresh")}},get opened(){return this.$.toast.opened},toastOpenedChanged:function(){var a=this;_.x("kevlar_toast_manager")&&this.hasOpened&&!this.$.toast.opened&&1!==this.toastType&&(U4a(T4a(),this.toastType),_.nt(this,function(){a.remove()}))},
open:function(a){this.hasOpened=!0;_.x("kevlar_toast_manager")?(this.toastType=null!=a?a:0,T4a().enqueue(this.$.toast,a)):this.$.toast.open()},
close:function(a){this.$.toast.close();_.x("kevlar_toast_manager")&&1===a&&U4a(T4a(),a)},
refit:function(){this.$.toast.refit()},
tapClose:function(){this.useCloseButton||this.$.toast.close()},
setVerticalOffset:function(a){this.$.toast.verticalOffset=a;this.$.toast.fit()},
computeButtonClass_:function(a){return a?"toast-button":""},
computeText_:function(a){return _.qi(a)}});
var V4a;
var W4a;
_.Ng({is:"yt-tooltip-renderer",_template:function(){if(void 0!==W4a)return W4a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-tooltip-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.promos.yt_tooltip_renderer.yt.tooltip.renderer.css.js--\x3e<div id="content">\n  <yt-formatted-string id="text" hidden$="[[!data.text]]" text="[[data.text]]">\n  </yt-formatted-string>\n  <yt-formatted-string id="details-text" hidden$="[[!data.detailsText]]" text="[[data.detailsText]]">\n  </yt-formatted-string>\n</div>\n<div class="buttons" hidden="[[!hasButtons_]]">\n  <div id="dismiss-button" hidden$="[[!data.dismissButton]]"></div>\n  <div id="accept-button" hidden$="[[!data.acceptButton]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===V4a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.promos.yt_tooltip_renderer.yt.tooltip.renderer.css.js--\x3e<style>:host {--yt-button-color: var(--yt-spec-text-primary-inverse);display: block;min-width: 0;min-height: 0;max-width: 300px;position: relative;background-color: var(--yt-spec-themed-blue);color: var(--yt-spec-text-primary-inverse);overflow: visible!important;@apply --ytd-thumbnail-attribution;} #text:not(:empty) {margin-bottom: var(--ytd-margin-2x);font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #content {padding: var(--ytd-margin-4x);} #content yt-formatted-string {display: block;} :host([has-buttons_]) #content {padding: var(--ytd-margin-4x) var(--ytd-margin-4x) var(--ytd-margin-base);} #content yt-formatted-string,#text yt-formatted-string {--yt-endpoint-color: var(--yt-spec-text-primary-inverse);--yt-endpoint-visited-color: var(--yt-spec-text-primary-inverse);--yt-endpoint-hover-color: var(--yt-spec-text-primary-inverse);--yt-endpoint-text-decoration: underline;} .buttons {padding: var(--ytd-margin-2x) var(--ytd-margin-base);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host(::before) {content: "";position: absolute;border-style: solid;top: 100%;border-width: 12px;right: calc(50% - 12px);border-color: var(--yt-spec-themed-blue) transparent transparent transparent;} :host([position-type=OPEN_POPUP_POSITION_TOPLEFT]::before) {right: 12px;} :host([position-type=OPEN_POPUP_POSITION_TOPRIGHT]::before) {left: 12px;right: auto;} :host([position-type=OPEN_POPUP_POSITION_LEFT]::before) {top: calc(50% - 12px);left: 100%;right: auto;border-color: transparent transparent transparent var(--yt-spec-themed-blue);} :host([position-type=OPEN_POPUP_POSITION_RIGHT]::before) {top: calc(50% - 12px);right: 100%;left: auto;border-color: transparent var(--yt-spec-themed-blue) transparent transparent;} :host([position-type=OPEN_POPUP_POSITION_BOTTOM]::before) {top: -24px;left: calc(50% - 12px);border-color: transparent transparent var(--yt-spec-themed-blue) transparent;} :host([position-type=OPEN_POPUP_POSITION_BOTTOMLEFT]::before) {top: -24px;right: 12px;border-color: transparent transparent var(--yt-spec-themed-blue) transparent;} :host([position-type=OPEN_POPUP_POSITION_BOTTOMRIGHT]::before) {top: -24px;left: 12px;right: auto;border-color: transparent transparent var(--yt-spec-themed-blue) transparent;} /*# sourceMappingURL=yt-tooltip-renderer.css.map*/</style>';
V4a=d}d=V4a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return W4a=a},
behaviors:[_.U.YtRendererBehavior,_.Qw.YtEventForwardingBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object,positionType:{type:String,reflectToAttribute:!0},hasButtons_:{type:Boolean,value:!1,reflectToAttribute:!0,computed:"computeHasButtons_(data)"},boundOnTap_:{type:Function,value:function(){return this.onTap_.bind(this)}}},
observers:["observeImpressionEndpoints_(data.promoConfig.impressionEndpoints)"],stampDom:{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{"on-tap":"[[boundOnTap_]]"}}}},"data.acceptButton":{id:"accept-button",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{"on-tap":"[[boundOnTap_]]"}}}}},computeHasButtons_:function(a){return!(!a.dismissButton&&!a.acceptButton)},
computeStyle_:function(a){return a||"BUBBLE_HINT_STYLE_UNKNOWN"},
observeImpressionEndpoints_:function(){var a=this;this.data&&this.data.promoConfig&&this.data.promoConfig.impressionEndpoints&&this.data.promoConfig.impressionEndpoints.forEach(function(b){b.clickTrackingParams&&delete b.clickTrackingParams;_.Kg(a,[b])})},
onTap_:function(){_.C(this,"yt-close-popup-action",["yt-tooltip-renderer"])}});

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy1p");

var o6a;_.p6a=function(a){return-1<a.findIndex(function(b){return-1<o6a.indexOf(b.tagName)})};
o6a=["INPUT".toString(),"SELECT".toString(),"TEXTAREA".toString(),"EMBED".toString(),"YTD-COMMENTBOX","YT-LIVE-CHAT-RENDERER","YTD-PDG-BUY-FLOW-RENDERER"];_.jJ=new Map;_.jJ.set(32,59972);_.jJ.set(27,50765);_.jJ.set(70,60102);_.jJ.set(76,60221);_.jJ.set(77,60222);_.jJ.set(74,60223);_.jJ.set(84,60224);_.jJ.set(38,61941);_.jJ.set(40,61942);_.jJ.set(73,62521);_.jJ.set(67,62522);_.jJ.set(80,63390);_.jJ.set(78,63397);_.jJ.set(75,59972);_.jJ.set(188,63385);_.jJ.set(190,63384);_.jJ.set(36,63387);
_.jJ.set(35,63386);_.jJ.set(37,63388);_.jJ.set(39,63389);_.jJ.set(79,63423);_.jJ.set(87,63424);_.jJ.set(107,63426);_.jJ.set(109,63425);_.jJ.set(65,63428);_.jJ.set(83,63430);_.jJ.set(68,63429);_.jJ.set(221,63431);_.jJ.set(219,63432);_.jJ.set(97,63439);_.jJ.set(98,63440);_.jJ.set(99,63441);_.jJ.set(100,63442);_.jJ.set(101,63443);_.jJ.set(102,63444);_.jJ.set(103,63445);_.jJ.set(104,63446);_.jJ.set(105,63447);_.kJ=new Map;_.kJ.set(80,63390);_.kJ.set(78,63397);_.kJ.set(188,63400);_.kJ.set(190,63401);
_.kJ.set(191,60765);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("sy28");

var BKb;
var CKb;
_.$u("itemSectionRenderer","factCheckRenderer","ytd-fact-check-renderer");var t3=function(){return _.K.apply(this,arguments)||this};
_.q(t3,_.K);t3.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
_.t.Object.defineProperties(t3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CKb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-fact-check-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_fact_check_renderer.ytd.fact.check.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n  <div class="section-title">\n    <yt-icon class="info-icon" icon="[[data.titleIcon.iconType]]"></yt-icon>\n    <yt-formatted-string text="[[data.sectionTitle]]"></yt-formatted-string>\n  </div>\n  <div class="contents">\n    <yt-img-shadow hidden="[[!data.image]]" object-fit="COVER" thumbnail="[[data.image]]"></yt-img-shadow>\n    <div class="context-text">\n      <div class="article-title">\n        <yt-formatted-string text="[[data.articleTitle]]">\n        </yt-formatted-string>\n        <yt-icon class="external-link-icon" icon="[[data.publisherLinkIcon.iconType]]">\n        </yt-icon>\n      </div>\n      <yt-formatted-string class="text" text="[[data.claimText]]"></yt-formatted-string>\n      <yt-formatted-string class="text" text="[[data.ratingText]]"></yt-formatted-string>\n    </div>\n  </div>\n</a>\n    <div id="menu"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BKb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_fact_check_renderer.ytd.fact.check.renderer.css.js--\x3e<style>:host {display: block;padding: 16px 0 16px 16px;background-color: var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {opacity: 0;} ytd-menu-renderer {margin-top: -10px;} .yt-simple-endpoint {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .section-title {padding-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .info-icon {width: 20px;height: 20px;margin-right: 8px;} .contents {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-img-shadow {margin-right: 12px;height: 76px;width: 76px;} .article-title {color: var(--yt-spec-call-to-action);padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .external-link-icon {width: 12px;height: 12px;margin-bottom: 2px;} .text {padding-top: 4px;-webkit-line-clamp: 3;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 5.4rem;overflow: hidden;display: block;-webkit-line-clamp: 3;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} #menu {margin-bottom: -10px;} /*# sourceMappingURL=ytd-fact-check-renderer.css.map*/</style>';
BKb=d}d=BKb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CKb=a}a=CKb;return a}}});
var u3=t3;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],u3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],u3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],u3.prototype,"data",void 0);u3=_.S([_.Q({asyncProperties:!0,is:"ytd-fact-check-renderer"})],u3);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("syw");

var f5a,g5a,h5a,l5a,m5a,n5a,r5a,o5a,p5a,u5a;_.zI=function(a){a.level="IGNORED"};
_.AI=function(a){return a.ui.richGridWatchStatus};
_.a5a=function(a){return a.ui.guideIsVisibleButNotPersistent};
_.b5a=function(a){return a.ui.miniplayerIsActive};
_.c5a=function(a){return a.ui.miniplayerPlaybackState};
_.d5a=function(a){return a.ui.tabGesturesIsActive};
_.e5a=function(){return window.MediaSource&&window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="av01.0.05M.08"')};
f5a=function(){var a,b,c;return _.y(function(d){switch(d.nextAddress){case 1:return _.B(d,_.dp.getInstance(),2);case 2:a=d.yieldResult;if(!a){b=void 0;d.jumpTo(3);break}return _.B(d,a.get("lmqf"),4);case 4:b=d.yieldResult;case 3:switch((c=b)||(c=_.x("default_to_unknown_downloads_quality")?"UNKNOWN_FORMAT_TYPE":"SD"),c){case "HD":return d.return("SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_HD");case "HD_1080":return d.return("SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_HD_1080");case "SD":return d.return("SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_SD");
case "LD":return d.return("SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_LD");default:return d.return("SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_UNKNOWN")}}})};
g5a=function(a){var b,c,d;return _.y(function(e){if(1==e.nextAddress){if(window.localStorage&&window.localStorage["yt-player-av1-pref"]){var h=window.localStorage["yt-player-av1-pref"];h="480"===h?"SETTINGS_OPTIONS_ID_TYPE_AV1_SD":"8192"===h?"SETTINGS_OPTIONS_ID_TYPE_AV1_ALWAYS":"SETTINGS_OPTIONS_ID_TYPE_UNKNOWN"}else h="SETTINGS_OPTIONS_ID_TYPE_AV1_AUTO";if(b=a===h)return e.jumpTo(2);d=c=a;return _.B(e,f5a(),3)}2!=e.nextAddress&&(b=d===e.yieldResult);return e.return(b)})};
_.i5a=function(){return navigator.serviceWorker&&navigator.serviceWorker.getRegistration&&window.Notification?h5a():Promise.resolve(!1)};
_.j5a=function(){var a=_.ot("service_worker_scope");try{return navigator.serviceWorker.getRegistration(a)}catch(b){return Promise.reject(b)}};
h5a=function(){return _.j5a().then(_.k5a).catch(function(){return!1})};
_.k5a=function(a){return!(!a||!a.pushManager)};
l5a=function(a,b){b=(void 0===b?0:b)?360:440;var c,d=null==(c=a.fire("yt-preview-lockup-parent-request").detail)?void 0:c.returnValue;if(!d)return null;c=a.offsetParent;d=d.clientWidth-b-24;var e=Math.round(c.offsetLeft-12-(b-a.clientWidth)/2);b=a.clientWidth/b;var h=c.offsetTop-24;if(80>=c.offsetTop){var l,m;if(null==a?0:null==(l=a.data)?0:null==(m=l.thumbnailOverlays)?0:m.find(function(p){return!!p.thumbnailOverlayEndorsementRenderer}))h+=34}return{idealTopPosition:h,
optimalTopPosition:Math.max(h,0),idealHorizontalPosition:e,optimalHorizontalPosition:Math.max(0,Math.min(e,d)),initialScale:b}};
m5a=function(a,b){var c=(void 0===b?0:b)?360:440,d;b=null==(d=a.fire("yt-preview-lockup-parent-request").detail)?void 0:d.returnValue;if(!b)return null;d=a.offsetParent;var e=b.clientWidth+b.offsetLeft-c-24,h=Math.round(d.offsetLeft+b.offsetLeft-12-(c-a.clientWidth)/2);c=a.clientWidth/c;var l=d.offsetTop-24+b.offsetTop;if(80>=d.offsetTop){var m,p;if(null==a?0:null==(m=a.data)?0:null==(p=m.thumbnailOverlays)?0:p.find(function(r){return!!r.thumbnailOverlayEndorsementRenderer}))l+=34}return{idealTopPosition:l,
optimalTopPosition:Math.max(l,b.offsetTop),idealHorizontalPosition:h,optimalHorizontalPosition:Math.max(b.offsetLeft,Math.min(h,e)),initialScale:c}};
_.BI=function(a,b,c,d){return window.spf?n5a(a,b,c,void 0===d?!1:d):o5a(a,b)};
n5a=function(a,b,c,d){var e=null,h=new _.wf(function(m,p){var r={};if(b){r.method=b.method;var v=b.postParams||{};_.tfa(a,b)&&(v[_.w("XSRF_FIELD_NAME")]=_.w("XSRF_TOKEN"));r.postData=_.Hd(v);b.type&&(r.type=b.type);v=b.headers}r.headers=_.rfa(a,v);_.x("debug_forward_web_query_parameters")&&(a=_.Fd(a));r.experimental_headers=r.headers;r.onError=function(z){z.err&&z.xhr&&(z.err.params={url:z.xhr.responseURL,response:z.xhr.responseText.substr(0,64)});p(z.err)};
r.onPartDone=function(z){c&&c.call(null,z.part)};
r.onDone=function(z){var A=p5a(z.response,"xsrf_token");_.yd(window.location.href,a)&&A&&_.ed("XSRF_TOKEN",A);if(A=p5a(z.response,"service_worker_killswitch"))_.ed("SERVICE_WORKER_KILLSWITCH",A),_.q5a();m(z.response)};
e=spf.request(a,r)}),l=h.then(r5a);
l.thenCatch(function(m){var p=m instanceof _.Uk;d&&p&&h.cancel("canceled requestPromise");var r=m&&m.hasOwnProperty("params")&&m.params.response?m.params.response:"";if(m instanceof Error)if(r)if(p)_.zI(m);else if(')]}\'\n{"reload":"now"}'==r)_.zI(m);else{p=m.message||"";var v={original:p,url:a},z=p.match(/position:?\s*(\d+)/);if(z){z=z&&Number(z[1])?Number(z[1]):0;var A=Math.max(z-25,0);v.position=z;v.response=r.substring(A,z+25)}else v.response=r.substring(0,50);_.Sf(m,v);p=0<=p.indexOf("<")||0<=
p.indexOf("end of ")||0<=p.indexOf("Unterminated string")||p.indexOf("Unexpected EOF");try{m.message="JSON parse error"}catch(D){}if(!p)for(v=r.length,z=!1,A=0;A<v;A++)if(z&&"\\"==r[A])A++;else if('"'===r[A])z=!z;else if("<"===r[A]&&!z){p=!0;break}p?_.Rf(m):_.Qf(m)}else _.zI(m);e&&e.abort()});
return l};
r5a=function(a){if("multipart"==a.type){var b=a.timing;a=a.parts.reduce(function(c,d){Object.assign(c,d);return c},{});
a.timing=a.timing||{};Object.assign(a.timing,b);a.type="reduced"}return a};
o5a=function(a,b){b=void 0===b?{}:b;var c=null,d=new _.wf(function(e,h){b.onFinish=function(l){if(l.readyState==XMLHttpRequest.DONE)if(200==l.status){if("json"!=l.responseType){var m=l.response;")]}'\n"===m.substring(0,5)&&(m=m.substring(5));try{var p=JSON.parse(m)}catch(r){p=r}}else p=l.response;p instanceof Error?h(p):(m=p5a(p,"xsrf_token"),_.yd(window.location.href,a)&&m&&_.ed("XSRF_TOKEN",m),l=l.responseURL,window.performance&&window.performance.getEntriesByName?(m=window.performance.getEntriesByName(l).pop())?
l={responseStart:(0,_.Yd)()-(m.responseEnd-m.responseStart)}:(.01>Math.random()&&(m=Error("We"),m.params=l,_.Rf(m)),l={responseStart:-1}):l={responseStart:0},p.timing=p.timing||{},Object.assign(p.timing,l),e(p))}else h(Error("Ve`"+l.status))};
(c=_.Gd(a,b))||h(Error("Ve`"+c.status))});
_.x("cancel_pending_navs")&&d.thenCatch(function(){c.abort()});
return d};
p5a=function(a,b){var c=a[b],d=a.parts;"multipart"==a.type&&d&&(c=(a=d.find(function(e){return b in e}))&&a[b]);
return c};
_.s5a=function(a,b,c,d){if(b.watchEndpoint||b.reelWatchEndpoint&&(_.x("mweb_enable_shorts_innertube_player_prefetch")||_.x("kevlar_enable_shorts_prefetch_in_sequence"))){var e,h,l=_.pi(c,null==(e=b.commandMetadata)?void 0:null==(h=e.webCommandMetadata)?void 0:h.url,d);d={};if(e=c.pbis||0)d.playbackBeginsInSeconds=e;c.prefetch_reason&&"hc_pbis"===c.prefetch_reason&&(d.prefetchReason="PREFETCH_REASON_HINT_CONFIG_PLAYBACK_BEGINS_IN_SECONDS");c={contentPlaybackContext:l,prefetchPlaybackContext:d};var m,
p,r;if("PREFETCH_TYPE_WATCH_NEXT"===(null==(m=b.watchEndpoint)?void 0:null==(p=m.watchEndpointSupportedPrefetchConfig)?void 0:null==(r=p.prefetchHintConfig)?void 0:r.prefetchType)&&_.x("enable_linear_prefetching_on_desktop")){if(m=a.watchEndpointMap.watchNext)if(m=m().JSC$35151_getRequest(b,c))return Promise.resolve(_.up(a.innerTubeTransportService,m.innerTubeRequest,m.input,void 0,m.config))}else if(m=a.watchEndpointMap.player)if(m=m().JSC$35151_getRequest(b,c))return Promise.resolve(_.up(a.innerTubeTransportService,
m.innerTubeRequest,m.input,void 0,m.config))}else if(_.Eh(b,a.innerTubeTransportService.endpointMap))return m={tempData:c},(null==(l=_.wla(b,a.innerTubeTransportService.endpointMap))?0:l.JSC$35151_getStoreKey(b,m))?Promise.resolve(_.Dp(a.innerTubeTransportService,b,m)):Promise.reject(new _.ge("Prefetching request builder with no store key.",b));return Promise.reject(new _.ge("No request builder available to prefetch endpoint.",b))};
_.t5a=function(a){return _.Rg({type:"SET_INLINE_PREVIEW_IS_ENABLED",payload:a})};
var v5a;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
SPDX-License-Identifier: BSD-3-Clause
*/
var w5a=(0,_.zn)(HTMLElement);
_.Ng({_template:function(){if(void 0!==v5a)return v5a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-paper-dropdown-menu--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_paper_dropdown_menu.tp.yt.paper.dropdown.menu.css.js--\x3e<tp-yt-paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizontal-align="[[horizontalAlign]]" dynamic-align="[[dynamicAlign]]" vertical-offset="[[_computeMenuVerticalOffset(noLabelFloat, verticalOffset)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" close-on-activate="" allow-outside-scroll="[[allowOutsideScroll]]" restore-focus-on-close="[[restoreFocusOnClose]]" expand-sizing-target-for-scrollbars="[[expandSizingTargetForScrollbars]]">\n  \n  <div class="dropdown-trigger" slot="dropdown-trigger">\n    <paper-ripple></paper-ripple>\n    \n    <tp-yt-paper-input id="input" type="text" invalid="[[invalid]]" readonly="" disabled="[[disabled]]" value="[[value]]" placeholder="[[placeholder]]" error-message="[[errorMessage]]" always-float-label="[[alwaysFloatLabel]]" no-label-float="[[noLabelFloat]]" label="[[label]]" input-role="button" input-aria-haspopup="listbox" autocomplete="off">\n      \n      <tp-yt-iron-icon icon="paper-dropdown-menu:arrow-drop-down" suffix="" slot="suffix"></tp-yt-iron-icon>\n    </tp-yt-paper-input>\n  </div>\n  <slot id="content" name="dropdown-content" slot="dropdown-content"></slot>\n</tp-yt-paper-menu-button>\n';var b=
a.content,c=b.insertBefore;if(void 0===u5a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_paper_dropdown_menu.tp.yt.paper.dropdown.menu.css.js--\x3e<style>/**\n@license\nCopyright (c) 2016 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at\nhttp://polymer.github.io/LICENSE.txt The complete set of authors may be found at\nhttp://polymer.github.io/AUTHORS.txt The complete set of contributors may be\nfound at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as\npart of the polymer project is also subject to an additional IP rights grant\nfound at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause\n*/\n/* autoprefixer: off */\n:host {\n  display: inline-block;\n  position: relative;\n  text-align: left;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  -webkit-tap-highlight-color: transparent;\n  --paper-input-container-input: {\n    overflow: hidden;\n    white-space: nowrap;\n    text-overflow: ellipsis;\n    max-width: 100%;\n    box-sizing: border-box;\n    cursor: pointer;\n  };\n  @apply --paper-dropdown-menu;\n}\n\n:host(:focus) {\n  outline: none;\n}\n\n:host(:dir(rtl)) {\n  text-align: right;\n  @apply (--paper-dropdown-menu);\n}\n\n:host([noink]) paper-ripple {\n  display: none;\n}\n\n:host([no-label-float]) paper-ripple {\n  top: 8px;\n}\n\npaper-ripple {\n  top: 12px;\n  left: 0px;\n  bottom: 8px;\n  right: 0px;\n}\n\ntp-yt-paper-menu-button {\n  display: block;\n  padding: 0;\n}\n\ntp-yt-paper-input {\n  @apply --paper-dropdown-menu-input;\n}\n\ntp-yt-iron-icon {\n  color: var(--paper-dropdown-menu-icon-color, var(--disabled-text-color));\n}\n\n/*# sourceMappingURL=tp-yt-paper-dropdown-menu.css.map */</style>";
u5a=d}d=u5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return v5a=a},
is:"tp-yt-paper-dropdown-menu",behaviors:[_.$s,_.Ys,_.qx,_.rx],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,
value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0},expandSizingTargetForScrollbars:{type:Boolean,value:!1}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},observers:["_selectedItemChanged(selectedItem)"],_attachDom:function(a){var b=(0,_.nc)(this);b.attachShadow({mode:"open",delegatesFocus:!0,shadyUpgradeFragment:a});b.shadowRoot.appendChild(a);
return w5a.prototype._attachDom.call(this,a)},
focus:function(){this.$.input._focusableElement.focus()},
attached:function(){var a=this.JSC$38364_contentElement;a&&a.selectedItem&&this._setSelectedItem(a.selectedItem)},
get JSC$38364_contentElement(){for(var a=_.H(this.$.content).getDistributedNodes(),b=0,c=a.length;b<c;b++)if(a[b].nodeType===Node.ELEMENT_NODE)return a[b]},open:function(){this.$.menuButton.open()},
close:function(){this.$.menuButton.close()},
_onIronSelect:function(a){this._setSelectedItem(a.detail.item)},
_onIronDeselect:function(){this._setSelectedItem(null)},
_onTap:function(a){_._findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a)===this&&this.open()},
_selectedItemChanged:function(a){var b="";a?b=a.label||a.getAttribute("label")||a.textContent.trim():b="";this.value=b;this._setSelectedItemLabel(b)},
_computeMenuVerticalOffset:function(a,b){return b?b:a?-4:8},
_getValidity:function(){return this.disabled||!this.required||this.required&&!!this.value},
_openedChanged:function(){var a=this.opened?"true":"false",b=this.JSC$38364_contentElement;b&&b.setAttribute("aria-expanded",a)}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var x5a,y5a,A5a,B5a;x5a=_.Pi(["/sw.js"]);y5a=_.Pi(["/sw.js?0"]);_.z5a=_.Pb(x5a);A5a=_.Pb(y5a);_.q5a=function(){navigator.serviceWorker.getRegistrations().then(function(a){a.forEach(B5a)})};
B5a=function(a){a&&_.C5a(A5a,a.scope)};
_.C5a=function(a,b){b={scope:b||_.ot("service_worker_scope")||"/"};return navigator.serviceWorker.register(_.wb(a),b)};
var D5a=function(){var a=_.vt.apply(this,arguments)||this;a.showInput=!1;return a};
_.q(D5a,_.vt);_.f=D5a.prototype;_.f.detached=function(){this.showInput&&this.listen(window,"click","closeOnOutsideClick_")};
_.f.stopPropagation_=function(a){this.showInput&&a.stopPropagation()};
_.f.closeOnOutsideClick_=function(a){this.closeOnOutsideClickCondition(a)&&(this.showInput=!1,this.unlisten(window,"click","closeOnOutsideClick_"),this.closeOnOutsideClickHandler())};
_.f.closeOnOutsideClickCondition=function(){return!0};
_.f.closeOnOutsideClickHandler=function(){};
_.f.openOnClick_=function(){this.showInput=!0;this.listen(window,"click","closeOnOutsideClick_");this.openOnClickHandler()};
_.f.openOnClickHandler=function(){};
_.f.showInputChanged=function(){};
_.f.setShowInput=function(a){this.showInput=a};
var CI=D5a;CI.prototype.setShowInput=CI.prototype.setShowInput;CI.prototype.showInputChanged=CI.prototype.showInputChanged;CI.prototype.openOnClickHandler=CI.prototype.openOnClickHandler;CI.prototype.openOnClick_=CI.prototype.openOnClick_;CI.prototype.closeOnOutsideClickHandler=CI.prototype.closeOnOutsideClickHandler;CI.prototype.closeOnOutsideClickCondition=CI.prototype.closeOnOutsideClickCondition;CI.prototype.closeOnOutsideClick_=CI.prototype.closeOnOutsideClick_;
CI.prototype.stopPropagation_=CI.prototype.stopPropagation_;_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],CI.prototype,"showInput",void 0);_.S([_.O("click"),_.O("keydown"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],CI.prototype,"stopPropagation_",null);_.S([_.P("showInput"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],CI.prototype,"showInputChanged",null);CI=_.S([_.wt()],CI);_.E5a=[CI.prototype];
var F5a;
var G5a;
_.Ng({is:"yt-options-renderer",_template:function(){if(void 0!==G5a)return G5a;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-options-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.menus.yt_options_renderer.yt.options.renderer.css.js--\x3e<div id="options-select">\n  <tp-yt-paper-radio-group id="yt-options-renderer-options" selected="{{itemSelected_}}" on-iron-select="onTopItemSelected_">\n    <template is="dom-repeat" items="[[data.items]]">\n      <tp-yt-paper-radio-button class="radio" aria-label$="[[computeAriaLabel_(item.optionSelectableItemRenderer)]]" name$="[[index]]" value="[[item.optionSelectableItemRenderer]]">\n        <div class="content">\n          <yt-formatted-string text="[[item.optionSelectableItemRenderer.text]]">\n          </yt-formatted-string>\n          <template is="dom-if" if="[[item.optionSelectableItemRenderer.accessibility.accessibilityData.label]]">\n            <div class="info-container" on-tap="preventSelection_">\n              <yt-icon icon="yt-icons:help_outline" size="16"></yt-icon>\n              <tp-yt-paper-tooltip animation-delay="[[animationDelay]]">\n                [[item.optionSelectableItemRenderer.accessibility.accessibilityData.label]]\n              </tp-yt-paper-tooltip>\n            </div>\n          </template>\n        </div>\n      </tp-yt-paper-radio-button>\n      <template is="dom-if" if="[[item.optionSelectableItemRenderer.subOptions]]">\n        <tp-yt-paper-dropdown-menu aria-label$="[[item.optionSelectableItemRenderer.subOptionsAccessibility.label]]" hidden="[[isSubReasonHidden_(index, itemSelected_)]]" no-label-float="" restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-select="onItemSelected_">\n          <tp-yt-paper-listbox class="dropdown-content" slot="dropdown-content" selected="[[computePreselectedOption(preselectedSubreason, index)]]">\n            <template is="dom-repeat" items="[[item.optionSelectableItemRenderer.subOptions]]" as="subOption">\n              <tp-yt-paper-item value="[[getItem_(subOption)]]">\n                [[computeText_(subOption)]]\n              </tp-yt-paper-item>\n            </template>\n         </tp-yt-paper-listbox>\n        </tp-yt-paper-dropdown-menu>\n      </template>\n    </template>\n  </tp-yt-paper-radio-group>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===F5a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.menus.yt_options_renderer.yt.options.renderer.css.js--\x3e<style>:host {--paper-input-container-input-color: var(--yt-spec-text-primary);display: block;} #yt-options-renderer-options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} yt-formatted-string {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height,24px);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} yt-icon {color: var(--yt-spec-icon-inactive);height: 16px;padding: 0 var(--ytd-margin-2x);width: 16px;} :host([tooltip-tapped]) tp-yt-paper-radio-button {--paper-radio-button-unchecked-ink-color: transparent;} :host([increased-tooltip-target]) yt-icon {padding: var(--ytd-margin-3x);} yt-icon:hover {color: var(--yt-spec-icon-active-other);} .info-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .content {min-height: 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-radio-button.radio {padding: 0;} tp-yt-paper-tooltip {min-width: 200px;} tp-yt-paper-item {cursor: pointer;} tp-yt-paper-item:hover {background-color: var(--yt-spec-10-percent-layer);} tp-yt-paper-dropdown-menu {--paper-input-container-color: var(--yt-spec-text-secondary);--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-background: var(--yt-spec-10-percent-layer);--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};padding: var(--ytd-margin-2x) var(--ytd-margin-4x) var(--ytd-margin-2x) var(--ytd-margin-11x);--paper-item: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-item-selected-weight: 500;} tp-yt-paper-listbox {width: var(--yt-options-renderer-dropdown-width);} /*# sourceMappingURL=yt-options-renderer.css.map*/</style>";
F5a=d}d=F5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return G5a=a},
behaviors:[_.iu.YtComponentBehavior,_.U.YtRendererBehavior],properties:{data:{type:Object,observer:"dataChanged_"},itemSelected_:{type:Number,value:-1},value:{type:Number,computed:"computeItemSelected_(itemSelected_)"},restoreFocusOnClose:{type:Boolean,value:!1},increasedTooltipTarget:{type:Boolean,reflectToAttribute:!0,value:function(){return _.x("desktop_adjust_touch_target")}},
tooltipTapped:{type:Boolean,reflectToAttribute:!0,value:!1},animationDelay:{type:Number,value:function(){return _.x("desktop_adjust_touch_target")?0:500}},
preselectedSubreason:{type:Number,value:-1}},listeners:{transitionend:"onPaperRippleTransitionEnd_"},computePreselectedOption:function(a,b){return b===parseInt(this.itemSelected_,10)?a:void 0},
dataChanged_:function(){var a=this;this.preselectedSubreason=this.itemSelected_=-1;this.data.key&&_.nt(this,function(){var b=parseInt(a.data.key,10);!Number.isNaN(b)&&(a.itemSelected_=b,b=(b=a.data.items[b])&&b.optionSelectableItemRenderer&&b.optionSelectableItemRenderer.preselectedIndex)&&(a.preselectedSubreason=b)})},
isSubReasonHidden_:function(a,b){return a!=b},
onTopItemSelected_:function(a,b){for(var c=_.H(this.root).querySelectorAll("tp-yt-paper-listbox"),d=0,e=c.length;d<e;d++)c[d].select(0);_.C(this,"yt-report-form-update",[b.item.value]);a.stopPropagation()},
onItemSelected_:function(a,b){_.C(this,"yt-report-form-update",[b.item.value]);a.stopPropagation()},
getItem_:function(a){return a.serviceItem?a.serviceItem:a.navigationItem?a.navigationItem:a.optionSelectableItemRenderer?a.optionSelectableItemRenderer:null},
computeText_:function(a){return(a=this.getItem_(a))?this.getSimpleString(a.text):null},
validate:function(){return-1!==this.itemSelected_},
computeAriaLabel_:function(a){var b=_.qi(a.text);(a=a.accessibility&&a.accessibility.accessibilityData&&a.accessibility.accessibilityData.label)&&(b+=". "+a);return b},
computeItemSelected_:function(a){return a},
preventSelection_:function(a){a.stopPropagation();this.tooltipTapped=!0},
onPaperRippleTransitionEnd_:function(){this.tooltipTapped=!1}});
var H5a;
var I5a;
var DI=function(){return _.K.apply(this,arguments)||this};
_.q(DI,_.K);DI.prototype.onTap=function(a){a.preventDefault();this.data&&(a=!this.data.checked,this.set("data.checked",a),this.fire("ytd-checkbox-survey-option-changed",{checked:a,value:this.data.value}))};
_.t.Object.defineProperties(DI.prototype,{label:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.responseText?this.ytRendererBehavior.getSimpleString(this.data.responseText):""}}});
_.t.Object.defineProperties(DI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===I5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-checkbox-survey-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_checkbox_survey_option_renderer.ytd.checkbox.survey.option.renderer.css.js--\x3e\n<tp-yt-paper-checkbox checked="[[data.checked]]" on-tap="onTap">\n  [[label]]\n</tp-yt-paper-checkbox>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===H5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_checkbox_survey_option_renderer.ytd.checkbox.survey.option.renderer.css.js--\x3e<style>:host {display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host(:hover) {background-color: var(--yt-spec-10-percent-layer);cursor: pointer;} tp-yt-paper-checkbox {display: block;width: 100%;height: auto;padding-top: var(--ytd-checkbox-survey-option-padding,8px);padding-bottom: var(--ytd-checkbox-survey-option-padding,8px);padding-left: var(--ytd-checkbox-survey-option-padding,24px);padding-right: var(--ytd-checkbox-survey-option-padding,24px);} /*# sourceMappingURL=ytd-checkbox-survey-option-renderer.css.map*/</style>';
H5a=d}d=H5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);I5a=a}a=I5a;return a}}});
var EI=DI;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],EI.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],EI.prototype,"data",void 0);_.S([_.V("data.responseText"),_.T("design:type",String),_.T("design:paramtypes",[])],EI.prototype,"label",null);EI=_.S([_.Q({asyncProperties:!0,is:"ytd-checkbox-survey-option-renderer"})],EI);
var J5a;
var K5a;
var L5a;
var M5a;
var N5a;
var O5a;
var FI=function(){return _.K.apply(this,arguments)||this};
_.q(FI,_.K);FI.prototype.onDataChanged=function(){if(this.thumbnail)this.thumbnail.onShow()};
FI.prototype.onFocus=function(){"none"===this.getComputedStyleValue("pointer-events")?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")};
FI.prototype.onTap=function(a){if(this.classList.contains("selected")||_.C(this,"yt-share-panel-can-select-contact-action")[0])a&&a.detail&&(a.detail.x||a.detail.y)&&this.$.target.blur(),(a=this.classList.toggle("selected"))?this.setAttribute("aria-checked","true"):this.removeAttribute("aria-checked"),a={name:this.componentTitle,id:this.data.contactId,isGroup:!1,isSuggested:!1,serialization:a?this.data.serializedContactInvitee:null,undoFn:this.onTap.bind(this)},_.C(this,"yt-share-panel-select-contact-action",
[a])};
_.t.Object.defineProperties(FI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===O5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-enrolled-contact-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_enrolled_contact_renderer.yt.enrolled.contact.renderer.css.js--\x3e<button id="target" on-focus="onFocus" on-tap="onTap">\n  <yt-img-shadow id="thumbnail" thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n  <div id="selection-highlight"></div>\n  <div id="name">[[componentTitle]]</div>\n</button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===N5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_enrolled_contact_renderer.yt.enrolled.contact.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;cursor: pointer;user-select: none;} #target {margin: 1px 0;border: none;border-radius: 3px;padding: 5px 1px 2px;outline: none;text-align: inherit;font-family: inherit;background-color: transparent;} #target:focus {outline: 1px solid var(--yt-spec-button-chip-background-hover);background-color: var(--yt-spec-button-chip-background-hover);} #thumbnail {width: 60px;height: 60px;margin: 0 4px 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} #selection-highlight {display: none;position: absolute;left: 1px;top: 6px;width: 52px;height: 52px;margin: 0 4px 8px;border: 4px solid var(--yt-spec-themed-blue);border-radius: 50%;background-color: transparent;overflow: hidden;} :host(.selected) #selection-highlight {display: block;} #name {margin: auto;width: 68px;max-height: 36px;overflow: hidden;text-align: center;text-overflow: ellipsis;white-space: normal;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host(.selected) #name {color: var(--yt-spec-themed-blue);} /*# sourceMappingURL=yt-enrolled-contact-renderer.css.map*/</style>';
N5a=d}d=N5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);O5a=a}a=O5a;return a}}});
var GI=FI;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],GI.prototype,"ytRendererBehavior",void 0);_.S([_.N({observer:"onDataChanged"}),_.T("design:type",Object)],GI.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"getSimpleString(data.name)"}),_.T("design:type",String)],GI.prototype,"componentTitle",void 0);_.S([_.Z("#thumbnail"),_.T("design:type",Object)],GI.prototype,"thumbnail",void 0);
GI=_.S([_.lu({is:"yt-enrolled-contact-renderer",noInjection:!0,notifyObserversOnUndefined:!1})],GI);
var P5a;
var Q5a;
var HI=function(){return _.K.apply(this,arguments)||this};
_.q(HI,_.K);HI.prototype.onDataChanged=function(){if(this.thumbnail)this.thumbnail.onShow()};
HI.prototype.onFocus=function(){"none"===this.getComputedStyleValue("pointer-events")?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")};
HI.prototype.onTap=function(a){if(this.classList.contains("selected")||_.C(this,"yt-share-panel-can-select-contact-action")[0])a&&a.detail&&(a.detail.x||a.detail.y)&&this.$.target.blur(),(a=this.classList.toggle("selected"))?this.setAttribute("aria-checked","true"):this.removeAttribute("aria-checked"),a={name:this.componentTitle,id:this.data.contactId,isGroup:!1,isSuggested:!0,serialization:a?this.data.serializedSuggestedContact:null,undoFn:this.onTap.bind(this)},_.C(this,"yt-share-panel-select-contact-action",
[a])};
_.t.Object.defineProperties(HI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Q5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-suggested-contact-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_suggested_contact_renderer.yt.suggested.contact.renderer.css.js--\x3e<button id="target" on-focus="onFocus" on-tap="onTap">\n  <yt-img-shadow id="thumbnail" thumbnail="[[data.avatar.thumbnail]]"></yt-img-shadow>\n  <div id="selection-highlight"></div>\n  <div id="name">[[componentTitle]]</div>\n</button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===P5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_suggested_contact_renderer.yt.suggested.contact.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;cursor: pointer;user-select: none;} #target {margin: 1px 0;border: none;border-radius: 3px;padding: 5px 1px 2px;outline: none;text-align: inherit;font-family: inherit;background-color: transparent;} #target:focus {outline: 1px solid var(--yt-spec-button-chip-background-hover);background-color: var(--yt-spec-button-chip-background-hover);} #thumbnail {width: 60px;height: 60px;margin: 0 4px 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} #selection-highlight {display: none;position: absolute;left: 1px;top: 6px;width: 52px;height: 52px;margin: 0 4px 8px;border: 4px solid var(--yt-spec-themed-blue);border-radius: 50%;background-color: transparent;overflow: hidden;} :host(.selected) #selection-highlight {display: block;} #name {margin: auto;width: 68px;max-height: 36px;overflow: hidden;text-align: center;text-overflow: ellipsis;white-space: normal;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host(.selected) #name {color: var(--yt-spec-themed-blue);} /*# sourceMappingURL=yt-suggested-contact-renderer.css.map*/</style>';
P5a=d}d=P5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Q5a=a}a=Q5a;return a}}});
var II=HI;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],II.prototype,"ytRendererBehavior",void 0);_.S([_.N({observer:"onDataChanged"}),_.T("design:type",Object)],II.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"getSimpleString(data.name)"}),_.T("design:type",String)],II.prototype,"componentTitle",void 0);_.S([_.Z("#thumbnail"),_.T("design:type",Object)],II.prototype,"thumbnail",void 0);
II=_.S([_.lu({is:"yt-suggested-contact-renderer",noInjection:!0,notifyObserversOnUndefined:!1})],II);
var JI=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-share-panel-reset-action":"onReset"};return a};
_.q(JI,_.K);JI.prototype.configureRendererStamper=function(){return{"data.contacts":{id:"contents",mapping:{enrolledContactRenderer:{component:"yt-enrolled-contact-renderer",attributes:{role:"checkbox"}},suggestedContactRenderer:{component:"yt-suggested-contact-renderer",attributes:{role:"checkbox"}}}}}};
JI.prototype.onDataChanged=function(){this.data&&this.data.selectMessageRenderer&&this.data.selectMessageRenderer.contactSelectMessageRenderer&&_.C(this,"yt-share-panel-set-select-message-renderer-action",[this.data.selectMessageRenderer.contactSelectMessageRenderer])};
JI.prototype.onReset=function(){for(var a=this.$.contents.getElementsByClassName("selected"),b=a.length-1;0<=b;b--)a[b].classList.toggle("selected")};
_.t.Object.defineProperties(JI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===M5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-contact-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_contact_section_renderer.yt.contact.section.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n<yt-formatted-string id="description" hidden="[[!data.description]]" text="[[data.description]]">\n</yt-formatted-string>\n<div id="contents" role="listbox"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===L5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_contact_section_renderer.yt.contact.section.renderer.css.js--\x3e<style>:host {display: inline-block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(.no-title) #title {display: none;} :host(.group-selected) yt-enrolled-contact-renderer,:host(.max-selected) yt-enrolled-contact-renderer:not(.selected),:host(.group-selected) yt-suggested-contact-renderer,:host(.max-selected) yt-suggested-contact-renderer:not(.selected) {pointer-events: none;opacity: 0.35;} #title {display: block;margin-bottom: 8px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #description {color: var(--yt-spec-text-secondary);} #contents yt-enrolled-contact-renderer,#contents yt-suggested-contact-renderer {margin-right: 8px;vertical-align: top;white-space: normal;} /*# sourceMappingURL=yt-contact-section-renderer.css.map*/</style>';
L5a=d}d=L5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);M5a=a}a=M5a;return a}}});
var KI=JI;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],KI.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],KI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],KI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N({observer:"onDataChanged"}),_.T("design:type",Object)],KI.prototype,"data",void 0);
KI=_.S([_.lu({is:"yt-contact-section-renderer",noInjection:!0,notifyObserversOnUndefined:!1})],KI);
var LI=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-refresh-form-command":"onYtRefreshFormCommand"};return a};
_.q(LI,_.K);_.f=LI.prototype;_.f.configureRendererStamper=function(){return{"data.fields":{id:"fields",mapping:{textInputFormFieldRenderer:{component:"yt-text-input-form-field-renderer",params:{required:!0},properties:{hideLabel:"[[data.hideLabels]]"}},toggleFormFieldRenderer:{component:"yt-toggle-form-field-renderer"},optionsRenderer:"yt-options-renderer",contactSectionRenderer:"yt-contact-section-renderer"}}}};
_.f.onYtRefreshFormCommand=function(a){var b,c;(null==(b=a.refreshFormCommand)?0:null==(c=b.formRenderer)?0:c.formRenderer)&&this.set("data",a.refreshFormCommand.formRenderer.formRenderer)};
_.f.reset=function(){for(var a=this.$.fields.children,b=0;b<a.length;b++){var c=a[b];c.reset&&c.reset()}};
_.f.getForm=function(){for(var a={},b=this.$.fields.children,c=0;c<b.length;c++){var d=b[c];if(!d.validate())return null;a[d.data.key]=d.value}return a};
_.f.submitFormFields=function(){for(var a=this.$.fields.children,b=0;b<a.length;b++)a[b].save()};
_.t.Object.defineProperties(LI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===K5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-form-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.forms.yt_form_renderer.yt.form.renderer.css.js--\x3e<div id="fields"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
var b=a.content,c=b.insertBefore;if(void 0===J5a){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.forms.yt_form_renderer.yt.form.renderer.css.js--\x3e<style>:host {display: inline-block;} yt-contact-section-renderer {margin-top: 24px;} /*# sourceMappingURL=yt-form-renderer.css.map*/</style>";J5a=d}d=J5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);K5a=a}a=K5a;return a}}});
_.MI=LI;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],_.MI.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],_.MI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],_.MI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],_.MI.prototype,"data",void 0);_.MI=_.S([_.lu({is:"yt-form-renderer",noInjection:!0,notifyObserversOnUndefined:!1})],_.MI);
var R5a;
var S5a;
var NI=function(){var a=_.K.apply(this,arguments)||this;a.active=!1;a.playerIsReady=!1;a.player=null;a.hasBeenUnmuted=!1;a.captionsOn=!1;a.playerEvents=new Map;a.videoPreviewFetchRequest=null;a.mediaRenderer=null;a.preventProgressSaveTimer=null;a.actionMap={"yt-open-video-preview-action":"handleOpenVideoPreviewAction","yt-terminate-video-preview-action":"onTerminateVideoPreviewAction","yt-get-inline-preview-player-action":"getInlinePreviewPlayer"};return a};
_.q(NI,_.K);_.f=NI.prototype;_.f.configureRendererStamper=function(){return{"data.thumbnailOverlays":{id:"endorsement",mapping:{thumbnailOverlayEndorsementRenderer:"ytd-thumbnail-overlay-endorsement-renderer"}},"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},toggleButtons:{id:"buttons",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer"}}}};
_.f.attached=function(){this.playerEvents.set("onStateChange",this.onPlayerStateChange);this.playerEvents.set("onAdStart",this.onPlaybackStart);this.playerEvents.set("onAdEnd",this.onAdEnd);this.playerEvents.set("onAdSkip",this.onAdEnd);this.playerEvents.set("onPlaybackStartExternal",this.onPlaybackStart);this.playerEvents.set("onExpandMiniplayer",this.onExpandInlinePreview);this.playerEvents.set("onExpandInlinePreview",this.onExpandInlinePreview);this.playerEvents.set("captionschanged",this.onCaptionsChanged);
this.listen(document,"yt-page-type-changed","onPageTypeChange");this.pagePath=location.pathname};
_.f.onPageTypeChange=function(){this.deactivate()};
_.f.onCaptionsChanged=function(a){this.captionsOn=!!a.languageCode;var b;this.active&&this.captionsOn&&(null==(b=this.player)?0:b.getCaptionWindowContainerId())&&this.player.updateSubtitlesUserSettings({fontSizeIncrement:2},!1)};
_.f.isCurrentPage=function(){return location.pathname===this.pagePath};
_.f.handleOpenVideoPreviewAction=function(a){var b=this;if(this.isCurrentPage()&&null!=a&&a.data){var c=_.x("web_enable_video_preview_migration")?m5a(a,this.miniMode):l5a(a,this.miniMode);c&&(this.updateStyles({"--ytd-video-preview-top-position":c.optimalTopPosition+"px","--ytd-video-preview-original-top-position":c.idealTopPosition+12+"px","--ytd-video-preview-horizontal-position":c.optimalHorizontalPosition+"px","--ytd-video-preview-original-horizontal-position":c.idealHorizontalPosition+"px","--ytd-video-preview-initial-scale":"scale("+
c.initialScale+")"}),this.mediaRenderer=a,this.data=a.data,_.nt(this,function(){b.activate()}))}};
_.f.onMouseLeave=function(){var a;(null==(a=this.menu)?0:a.overlayOpen)||this.deactivate()};
_.f.lockupOnLockupRequested=function(a){var b=a.detail.videoIds[0],c;a.detail&&b===(null==(c=this.data)?void 0:c.videoId)&&(a.detail.returnValue=[this.data])};
_.f.dismissibleItemOnYtServiceRequestSent=function(a,b){var c,d;null==(c=this.mediaRenderer)||null==(d=c.ytdDismissibleItemBehavior)||d.dismissibleItemOnYtServiceRequestSent_(a,b);var e;"YTD-TOGGLE-BUTTON-RENDERER"!==(null==a?void 0:null==(e=a.target)?void 0:e.tagName)&&this.deactivate()};
_.f.dataChanged=function(a){var b=this;if(a){var c,d;this.toggleButtons=null==(d=null==(c=a.thumbnailOverlays)?void 0:c.filter(function(e){return e.thumbnailOverlayToggleButtonRenderer}))?void 0:d.map(function(e){return b.createToggleButtonRenderer(e)})}};
_.f.onInlinePreviewIsEnabledChange=function(){!this.inlinePreviewIsEnabled&&this.active&&this.deactivate()};
_.f.onAdEnd=function(){this.active&&this.player&&(this.hasBeenUnmuted=!this.player.isMuted())};
_.f.onPlayerStateChange=function(){this.player&&0===this.player.getPlayerState()&&this.deactivate(!0)};
_.f.onPlaybackStart=function(){var a=this;this.player&&this.active&&this.isCurrentPage()&&(this.playerIsReady=!0,this.hasBeenUnmuted&&(this.captionsOn&&this.player.toggleSubtitles(),this.player.unMute()),this.resetPreventProgressSaveTimer(),this.preventProgressSaveTimer=_.Bi(_.xe,function(){a.preventProgressSaveTimer=null},1E4))};
_.f.onTerminateVideoPreviewAction=function(){this.deactivate()};
_.f.onMediaContainerClick=function(a){this.isShortcutClick(a)||(a.preventDefault(),a.stopPropagation())};
_.f.onThumbnailContainerClick=function(a){this.isShortcutClick(a)||this.navigateToWatch()};
_.f.activate=function(){var a=this,b,c,d,e,h,l,m,p,r,v,z,A;return _.y(function(D){if(1==D.nextAddress){if(null==(b=a.data)||!b.inlinePlaybackEndpoint||!a.isCurrentPage())return D.return();a.updateActiveState(!0);c=a.data.inlinePlaybackEndpoint;d={mutedAutoplay:!0,vis:5,autonav:"1"};_.x("enable_inline_preview_ads_on_web")&&(d.inlineUnmuted=_.x("enable_ads_in_unmuted_inline_preview")?a.hasBeenUnmuted:!0);l={contentPlaybackContext:_.pi(d,null==(e=c.commandMetadata)?void 0:null==(h=e.webCommandMetadata)?
void 0:h.url,window.location.href)};m=new _.Jr;p=m.JSC$35151_getRequest(c,l);r=_.Ei();p&&r&&(a.videoPreviewFetchRequest=_.up(r,p.innerTubeRequest,p.input,c.clickTrackingParams,p.config));_.se(D,2);return _.B(D,a.videoPreviewFetchRequest,4)}if(2!=D.nextAddress){v=D.yieldResult;if("OK"===v.playabilityStatus.status)a.handlePlayerResponse(v);else throw Error("Ue");return _.te(D,0)}_.ue(D);if(!a.data)return D.return();delete a.data.inlinePlaybackEndpoint;(z=a.data.thumbnailOverlays)&&(A=z.findIndex(function(E){return E.thumbnailOverlayLoadingPreviewRenderer}))&&
z.splice(A,1);
a.deactivate();_.bf(D)})};
_.f.handlePlayerResponse=function(a){var b=this,c,d,e,h,l;return _.y(function(m){if(1==m.nextAddress){if(!(a&&b.isCurrentPage()&&b.active&&b.data&&(null==(c=a)?void 0:null==(d=c.videoDetails)?void 0:d.videoId)===(null==(e=b.data)?void 0:e.videoId)))return b.deactivate(),m.return();a.trackingParams=b.data.trackingParams;h=b.getInlinePreviewPlayer();if(!h)return m.return();h.loadVideoWithPlayerResponse(a);return b.player?m.jumpTo(0):_.B(m,h.getPlayerPromise(),3)}l=m.yieldResult;l.setInlinePreview(!0);
l.setSizeStyle(!1,!0);b.ytPlayerListenerBehavior.listenToPlayerEvents(l,b.playerEvents);b.player=l;_.bf(m)})};
_.f.updateActiveState=function(a){this.active=a;this.ytdReduxBehavior.dispatch(_.Rg({type:"SET_INLINE_PREVIEW_IS_ACTIVE",payload:a}))};
_.f.onExpandInlinePreview=function(a){this.active&&this.data&&!this.isShortcutClick(a)&&(this.updateWatchEndpointStartTime(),this.navigateToWatch())};
_.f.onDetailsClick=function(a){if(this.active&&this.data&&!this.isShortcutClick(a)){this.updateWatchEndpointStartTime();var b;_.Hx(_.H(a).path,this,["A","BUTTON"])&&"video-title"!==(null==a?void 0:null==(b=a.target)?void 0:b.id)||this.navigateToWatch()}};
_.f.deactivate=function(a){this.player&&(this.active&&(this.hasBeenUnmuted=!this.player.isMuted(),this.updateWatchEndpointStartTime(a)),this.player.stopVideo());this.resetPreventProgressSaveTimer();this.updateActiveState(!1);this.playerIsReady=!1;this.videoPreviewFetchRequest=this.mediaRenderer=this.data=null};
_.f.resetPreventProgressSaveTimer=function(){_.xe.cancelJob(this.preventProgressSaveTimer);this.preventProgressSaveTimer=null};
_.f.updateWatchEndpointStartTime=function(a){var b;this.player&&null!=(b=this.data)&&b.inlinePlaybackEndpoint&&!this.preventProgressSaveTimer&&(a=a?0:Math.floor(this.player.getCurrentTime()),this.data.navigationEndpoint.watchEndpoint.startTimeSeconds=a,this.data.inlinePlaybackEndpoint.watchEndpoint.startTimeSeconds=a)};
_.f.isShortcutClick=function(a){return!!a&&(a.ctrlKey||a.shiftKey||a.metaKey)};
_.f.getInlinePreviewPlayer=function(){return this.$["inline-player"]};
_.f.createToggleButtonRenderer=function(a){var b,c,d,e,h,l;return{toggleButtonRenderer:{defaultText:_.Mu((null==a?void 0:null==(b=a.thumbnailOverlayToggleButtonRenderer)?void 0:b.untoggledTooltip)||""),defaultIcon:null==a?void 0:null==(c=a.thumbnailOverlayToggleButtonRenderer)?void 0:c.untoggledIcon,defaultServiceEndpoint:null==a?void 0:null==(d=a.thumbnailOverlayToggleButtonRenderer)?void 0:d.untoggledServiceEndpoint,size:{sizeType:"SIZE_DEFAULT"},style:{styleType:"STYLE_DEFAULT"},toggledStyle:{styleType:"STYLE_DEFAULT"},
toggledText:_.Mu((null==a?void 0:null==(e=a.thumbnailOverlayToggleButtonRenderer)?void 0:e.toggledTooltip)||""),toggledIcon:null==a?void 0:null==(h=a.thumbnailOverlayToggleButtonRenderer)?void 0:h.toggledIcon,toggledServiceEndpoint:null==a?void 0:null==(l=a.thumbnailOverlayToggleButtonRenderer)?void 0:l.toggledServiceEndpoint}}};
_.f.navigateToWatch=function(){var a,b=null==(a=this.data)?void 0:a.navigationEndpoint;if(this.data&&b){if(_.x("rich_grid_open_new_tab")){var c,d;(a=null==b?void 0:null==(c=b.commandMetadata)?void 0:null==(d=c.webCommandMetadata)?void 0:d.url)&&_.wXa(window,_.Nb(a))}else _.x("rich_grid_watch")?this.fire("yt-rich-grid-watch-activate",this.data):this.fire("yt-navigate",{endpoint:b});this.deactivate()}};
_.t.Object.defineProperties(NI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===S5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-preview--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_video_preview.ytd.video.preview.css.js--\x3e<div id="video-preview-container">\n  <div id="endorsement"></div>\n  <div id="media-container">\n    <a id="media-container-link" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]" on-click="onMediaContainerClick">\n      <div id="player-container">\n        <ytd-player id="inline-player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_INLINE_PREVIEW">\n        </ytd-player>\n      </div>\n      <div id="thumbnail-container" on-click="onThumbnailContainerClick">\n        <ytd-thumbnail data="[[data]]" hovered="false" rich-grid-thumbnail="" width="9999">\n        </ytd-thumbnail>\n      </div>\n    </a>\n  </div>\n  <div id="details" hidden="[[!active]]" on-click="onDetailsClick">\n    <a id="avatar-link" class="yt-simple-endpoint" hidden="[[!data.owner.thumbnail]]" href$="[[computeHref_(data.owner.navigationEndpoint)]]" data="[[data.owner.navigationEndpoint]]" title="[[data.owner.title]]" tabindex="-1">\n      <yt-img-shadow id="avatar" thumbnail="[[data.owner.thumbnail]]" width="48">\n      </yt-img-shadow>\n    </a>\n    <div id="meta">\n      <h3>\n        <ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n        </ytd-badge-supported-renderer>\n        <a id="video-title-link" class="yt-simple-endpoint focus-on-expand" href$="[[computeHref_(data.navigationEndpoint)]]" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]" data="[[data.navigationEndpoint]]">\n          <yt-formatted-string id="video-title" text="[[data.title]]"></yt-formatted-string>\n        </a>\n      </h3>\n      <ytd-video-meta-block class="grid" data="[[data]]" mini-mode="[[miniMode]]" rich-meta="">\n      </ytd-video-meta-block>\n      <ytd-badge-supported-renderer class="video-badge" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n      </ytd-badge-supported-renderer>\n    </div>\n    <div id="menu"></div>\n  </div>\n  <div id="buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===R5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_video_preview.ytd.video.preview.css.js--\x3e<style>:host {--ytd-video-preview-width: 440px;--ytd-video-preview-height: 248px;--ytd-video-preview-top-position: 0;--ytd-video-preview-original-top-position: 0;--ytd-video-preview-horizontal-position: 0;--ytd-video-preview-original-horizontal-position: 0;--ytd-video-preview-initial-scale: scale(1);opacity: 0;pointer-events: none;position: absolute;padding: 12px;z-index: 2019;top: var(--ytd-video-preview-original-top-position);left: var(--ytd-video-preview-original-horizontal-position);transform: var(--ytd-video-preview-initial-scale);transform-origin: top;transition-property: opacity;transition-duration: 400ms;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: opacity,transform,top,left;background-color: transparent;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host(:hover) {--ytd-preview-is-hovered: 1;} :host([mini-mode]) {--ytd-video-preview-width: 360px;--ytd-video-preview-height: 203px;} :host([active]) {pointer-events: auto;width: var(--ytd-video-preview-width);opacity: 1;transform: scale(1);top: var(--ytd-video-preview-top-position);left: var(--ytd-video-preview-horizontal-position);transition-property: opacity,transform,top,left;} #video-preview-container {background-color: var(--yt-spec-brand-background-primary);box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 3px 6px 0 rgba(0,0,0,0.2);width: var(--ytd-video-preview-width);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #endorsement {position: relative;} #media-container {width: var(--ytd-video-preview-width);height: var(--ytd-video-preview-height);} #media-container-link {display: -ms-flexbox;display: -webkit-flex;display: flex;} #thumbnail-container {opacity: 1;position: absolute;transition: opacity 0.25s ease-in-out;will-change: opacity;} :host([player-is-ready]) #thumbnail-container {opacity: 0;} ytd-thumbnail {width: var(--ytd-video-preview-width);height: var(--ytd-video-preview-height);position: relative;pointer-events: none;} :host([player-is-ready]) #player-container {opacity: 1;z-index: 1;} #player-container {opacity: 0;position: absolute;width: var(--ytd-video-preview-width);height: var(--ytd-video-preview-height);background-color: var(--yt-spec-static-overlay-background-solid);transition: opacity 0.25s ease-in-out;will-change: opacity;} #details {position: relative;cursor: pointer;margin: 0 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #avatar-link {height: 36px;margin-top: 12px;margin-right: 12px;} #avatar {background-color: var(--yt-spec-10-percent-layer);width: 36px;height: 36px;border-radius: 50%;background-color: transparent;overflow: hidden;} #meta {overflow-x: hidden;padding-right: 24px;} #video-title-link {display: block;} #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);margin: 12px 0 4px 0;} ytd-badge-supported-renderer {margin: 4px 4px 0 0;} #buttons {margin: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([mini-mode]) #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #buttons ytd-toggle-button-renderer {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #buttons ytd-toggle-button-renderer:first-of-type {margin-right: 8px;} :host([mini-mode]) #buttons ytd-toggle-button-renderer:first-of-type {margin-bottom: 8px;margin-right: 0;} ytd-menu-renderer {position: absolute;top: 0;right: 0;margin-top: 12px;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} /*# sourceMappingURL=ytd-video-preview.css.map*/</style>';
R5a=d}d=R5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);S5a=a}a=S5a;return a}}});
var OI=NI;OI.prototype.onInlinePreviewIsEnabledChange=OI.prototype.onInlinePreviewIsEnabledChange;OI.prototype.dataChanged=OI.prototype.dataChanged;OI.prototype.dismissibleItemOnYtServiceRequestSent=OI.prototype.dismissibleItemOnYtServiceRequestSent;OI.prototype.lockupOnLockupRequested=OI.prototype.lockupOnLockupRequested;OI.prototype.onMouseLeave=OI.prototype.onMouseLeave;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],OI.prototype,"actionHandlerBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],OI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],OI.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],OI.prototype,"componentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],OI.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.Wu),_.T("design:type",Object)],OI.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],OI.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],OI.prototype,"active",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],OI.prototype,"playerIsReady",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],OI.prototype,"miniMode",void 0);
_.S([_.N({selector:_.RJa}),_.T("design:type",Boolean)],OI.prototype,"inlinePreviewIsEnabled",void 0);_.S([_.N(),_.T("design:type",String)],OI.prototype,"pagePath",void 0);_.S([_.Z("ytd-menu-renderer"),_.T("design:type",_.Mv)],OI.prototype,"menu",void 0);_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],OI.prototype,"onMouseLeave",null);
_.S([_.O("yt-lockup-requested"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],OI.prototype,"lockupOnLockupRequested",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],OI.prototype,"dismissibleItemOnYtServiceRequestSent",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],OI.prototype,"dataChanged",null);
_.S([_.Ct("inlinePreviewIsEnabled"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],OI.prototype,"onInlinePreviewIsEnabledChange",null);OI=_.S([_.Q({asyncProperties:!0,is:"ytd-video-preview"})],OI);
var T5a;
var U5a;
var PI=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-settings-update-checkbox-command":"handleUpdateCheckboxCommand"};return a};
_.q(PI,_.K);PI.prototype.onCheckboxChange=function(a){this.data&&(a=(this.checked=_.H(a).rootTarget.checked)?this.data.enableServiceEndpoint:this.data.disableServiceEndpoint)&&_.Kg(this,[a])};
PI.prototype.handleUpdateCheckboxCommand=function(a){a.settingsUpdateCheckboxCommand&&this.data&&this.data.id===a.settingsUpdateCheckboxCommand.id&&(this.set("data.disabled",a.settingsUpdateCheckboxCommand.disabled),this.set("data.title",a.settingsUpdateCheckboxCommand.title))};
_.t.Object.defineProperties(PI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===U5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-checkbox-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_checkbox_renderer.ytd.settings.checkbox.renderer.css.js--\x3e<div id="main-option">\n  <tp-yt-paper-checkbox id="checkbox" aria-label$="[[getSimpleString(data.title)]]" checked="[[data.enabled]]" disabled="[[data.disabled]]" on-change="onCheckboxChange">\n    <div id="checkbox-container"></div>\n    <div id="checkbox-label">\n      <yt-formatted-string id="label" split-lines="" text="[[data.title]]"></yt-formatted-string>\n    </div>\n  </tp-yt-paper-checkbox>\n  <yt-icon id="help-icon" hidden="[[!data.helpText]]" icon="yt-icons:help" size="16"></yt-icon>\n  <tp-yt-paper-tooltip animation-delay="[[animationDelay]]" for="help-icon" hidden="[[!data.helpText]]" offset="5" position="top">\n    [[getSimpleString(data.helpText)]]\n  </tp-yt-paper-tooltip>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===T5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_checkbox_renderer.ytd.settings.checkbox.renderer.css.js--\x3e<style>:host {cursor: default;margin: 4px 0 20px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #main-option {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #checkbox-label {padding-top: 2px;} #label {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} tp-yt-paper-checkbox {--paper-checkbox-vertical-align: top;--paper-checkbox-margin: 2px;--paper-checkbox-label: {min-width: 0;@apply --layout-flex;};display: -ms-flexbox;display: -webkit-flex;display: flex;} #checkbox-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #checkbox-label {align-items: center;max-width: 450px;padding-left: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;} yt-icon {height: 16px;min-width: 18px;margin-left: 12px;color: var(--yt-spec-text-secondary);align-self: center;} :host([increased-tooltip-target]) yt-icon {padding: 0 16px;margin-left: 0;} /*# sourceMappingURL=ytd-settings-checkbox-renderer.css.map*/</style>';
T5a=d}d=T5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);U5a=a}a=U5a;return a}}});
var QI=PI;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],QI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],QI.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],QI.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("desktop_adjust_touch_target")}),_.T("design:type",Boolean)],QI.prototype,"increasedTooltipTarget",void 0);
_.S([_.N(),_.T("design:type",Boolean)],QI.prototype,"checked",void 0);_.S([_.N({value:function(){return _.x("desktop_adjust_touch_target")?0:500}}),
_.T("design:type",Number)],QI.prototype,"animationDelay",void 0);QI=_.S([_.Q({asyncProperties:!0,is:"ytd-settings-checkbox-renderer"})],QI);
var V5a;
var W5a;
var RI=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-select-settings-radio-option":"onSelectOption"};return a};
_.q(RI,_.K);RI.prototype.dataChanged=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress)return a.$.radio.removeAttribute("checked"),!a.data||!a.data.id||"SETTINGS_OPTIONS_ID_TYPE_AV1_SD"!==a.data.id||_.e5a()&&window.SourceBuffer&&window.SourceBuffer.prototype.changeType?(b=a.data&&a.data.id)?_.B(c,g5a(a.data.id),4):c.jumpTo(3):(a.set("data.hidden",!0),c.jumpTo(0));3!=c.nextAddress&&(b=c.yieldResult);b&&_.C(a,"yt-select-settings-radio-option",[a.data.id]);_.bf(c)})};
RI.prototype.onButtonChanged=function(a){_.H(a).rootTarget.checked?this.data&&this.data.id&&(this.data.serviceEndpoint&&_.Kg(this,[this.data.serviceEndpoint]),_.C(this,"yt-select-settings-radio-option",[this.data.id])):this.$.radio.setAttribute("checked","")};
RI.prototype.onSelectOption=function(a){this.data&&this.data.id&&(this.data.id===a?this.$.radio.setAttribute("checked",""):this.$.radio.removeAttribute("checked"))};
_.t.Object.defineProperties(RI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===W5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-radio-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_radio_option_renderer.ytd.settings.radio.option.renderer.css.js--\x3e<div id="start">\n  <tp-yt-paper-radio-button id="radio" aria-label$="[[getSimpleString(data.title)]]" hidden="[[data.hidden]]" on-change="onButtonChanged">\n    <div id="label">[[getSimpleString(data.title)]]</div>\n  </tp-yt-paper-radio-button>\n  <yt-icon id="help-icon" hidden="[[!data.helpText]]" icon="yt-icons:help" size="16"></yt-icon>\n  <tp-yt-paper-tooltip animation-delay="[[animationDelay]]" for="help-icon" hidden="[[!data.helpText]]" offset="3" position="top">\n    [[getSimpleString(data.helpText)]]\n  </tp-yt-paper-tooltip>\n</div>\n<div id="end">\n  <div id="aside-text">[[getSimpleString(data.asideText)]]</div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===V5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_radio_option_renderer.ytd.settings.radio.option.renderer.css.js--\x3e<style>:host {cursor: default;margin: 8px 0 12px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #start,#end {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #label,#aside-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} yt-icon {height: 16px;min-width: 18px;margin-left: 12px;color: var(--yt-spec-text-secondary);align-self: center;} :host([increased-tooltip-target]) yt-icon {padding: 0 16px;margin-left: 0;} /*# sourceMappingURL=ytd-settings-radio-option-renderer.css.map*/</style>';
V5a=d}d=V5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);W5a=a}a=W5a;return a}}});
var SI=RI;SI.prototype.dataChanged=SI.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],SI.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],SI.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],SI.prototype,"data",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype",Promise)],SI.prototype,"dataChanged",null);
_.S([_.N({reflectToAttribute:!0,value:_.x("desktop_adjust_touch_target")}),_.T("design:type",Boolean)],SI.prototype,"increasedTooltipTarget",void 0);_.S([_.N({value:function(){return _.x("desktop_adjust_touch_target")?0:500}}),
_.T("design:type",Number)],SI.prototype,"animationDelay",void 0);SI=_.S([_.Q({asyncProperties:!0,is:"ytd-settings-radio-option-renderer"})],SI);
var X5a;
var Y5a;
var TI=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-settings-update-text-command":"handleUpdateTextCommand","yt-settings-update-connected-app-renderer-command":"handleUpdateConnectedAppRendererCommand"};return a};
_.q(TI,_.K);TI.prototype.configureRendererStamper=function(){return{"data.connectButton":{id:"connect-button",mapping:{buttonRenderer:"ytd-button-renderer",toggleButtonRenderer:"ytd-toggle-button-renderer",accountLinkButtonRenderer:"ytd-account-link-button-renderer"}}}};
TI.prototype.handleUpdateTextCommand=function(a){a.settingsUpdateTextCommand&&this.data&&this.data.id===a.settingsUpdateTextCommand.id&&this.set("data",a.settingsUpdateTextCommand)};
TI.prototype.handleUpdateConnectedAppRendererCommand=function(a){if(a.settingsUpdateConnectedAppRendererCommand&&this.data){var b,c;if(a=null==(b=a.settingsUpdateConnectedAppRendererCommand)?void 0:null==(c=b.newConnectedAppRenderer)?void 0:c.connectedAppRenderer)this.data=a}};
TI.prototype.computeConnectedAppStyle=function(a){return a.style?a.style.toLowerCase().replace(/_/g,"-"):""};
_.t.Object.defineProperties(TI,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Y5a){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-connected-app-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_connected_app_renderer.ytd.connected.app.renderer.css.js--\x3e<div id="app">\n  <yt-img-shadow hidden="[[!data.icon]]" thumbnail="[[data.icon]]"></yt-img-shadow>\n  <div id="app-info">\n    <div id="title">[[getSimpleString(data.title)]]</div>\n    <yt-formatted-string id="text" force-default-style="" split-lines="" text="[[data.text]]">\n    </yt-formatted-string>\n  </div>\n</div>\n<div id="button-container" hidden="[[!data.connectButton]]">\n  <div id="connect-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===X5a){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_connected_app_renderer.ytd.connected.app.renderer.css.js--\x3e<style>:host {justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-toggle-button-renderer {min-width: 120px;} ytd-button-renderer {min-width: 120px;} :host {--ytd-account-link-button-min-width: 120px;} yt-img-shadow {height: 48px;width: 48px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} #button-container {padding-left: 24px;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #app-info {justify-content: center;padding-right: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #app {padding: 24px 0;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-primary);padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([connected-app-style=connected-app-style-type-large]) yt-img-shadow {height: 72px;width: 72px;} :host([connected-app-style=connected-app-style-type-large]) #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} /*# sourceMappingURL=ytd-connected-app-renderer.css.map*/</style>';
X5a=d}d=X5a;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Y5a=a}a=Y5a;return a}}});
var UI=TI;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],UI.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],UI.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],UI.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],UI.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeConnectedAppStyle(data)"}),_.T("design:type",String)],UI.prototype,"connectedAppStyle",void 0);UI=_.S([_.Q({asyncProperties:!0,is:"ytd-connected-app-renderer"})],UI);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("YmiaNe");


_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("iuT5Oc");


_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("SF5I9b");

var GXb;
var HXb;
var IXb=function(){return _.K.apply(this,arguments)||this};
_.q(IXb,_.K);IXb.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}}},dismissedRenderer:{id:"dismissed",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.t.Object.defineProperties(IXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-movie-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_compact_movie_renderer.ytd.compact.movie.renderer.css.js--\x3e<div id="dismissible">\n  <ytd-thumbnail data="[[data]]" use-expandable-tooltip="[[useExpandableTooltip_]]" width="[[thumbnailWidth]]">\n  </ytd-thumbnail>\n  <div class="details">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n      <template is="dom-if" if="[[data.topStandaloneBadges]]">\n        <ytd-badge-supported-renderer badges="[[data.topStandaloneBadges]]">\n        </ytd-badge-supported-renderer>\n      </template>\n      <h3 id="movie-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        [[getSimpleString(data.title)]]\n      </h3>\n      <div class="secondary-metadata">\n        <ytd-video-meta-block class="compact" data="[[data]]" no-endpoints="">\n        </ytd-video-meta-block>\n        <span class="movie-metadata">[[getSimpleString(data.topMetadataItems.0)]]</span>\n      </div>\n      <template is="dom-if" if="[[data.badges]]">\n        <ytd-badge-supported-renderer badges="[[data.badges]]">\n        </ytd-badge-supported-renderer>\n      </template>\n    </a>\n    <div id="menu"></div>\n  </div>\n</div>\n<div id="dismissed"></div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GXb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_compact_movie_renderer.ytd.compact.movie.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} #dismissible,#dismissed {width: 100%;} #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dismissed {padding: 8px;border: 1px solid var(--yt-spec-10-percent-layer);} #dismissed:focus {outline: none;} :host(:not([watch-feed-big-thumbs])) ytd-thumbnail {margin-right: 8px;height: 94px;width: 168px;} .details {width: 100%;min-width: 0;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {min-width: 0;padding-right: 24px;box-sizing: border-box;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} ytd-menu-renderer {position: absolute;top: 0;right: 0;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} #movie-title {display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host #video-title {margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} .movie-metadata {color: var(--yt-spec-text-secondary);padding: 0;padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([watch-feed-big-thumbs]:not([is-dismissed])) #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([watch-feed-big-thumbs]) ytd-thumbnail:before {display: block;content: "";padding-top: 55.95%;background-color: var(--yt-spec-10-percent-layer);} :host([watch-feed-big-thumbs]) .details {padding-top: 8px;padding-bottom: 8px;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) ytd-menu-renderer {margin-top: 8px;} :host([watch-feed-big-thumbs]) #dismissed {margin-bottom: 8px;} :host([watch-feed-big-thumbs][is-dismissed]) #dismissed {max-height: var(--ytd-compact-item-dismissed-height);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([watch-feed-big-thumbs]) .secondary-metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) .movie-metadata {white-space: nowrap;text-overflow: ellipsis;} /*# sourceMappingURL=ytd-compact-movie-renderer.css.map*/</style>';
GXb=d}d=GXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HXb=a}a=HXb;return a}}});
var $$=IXb;_.S([_.L(_.iy),_.T("design:type",Object)],$$.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],$$.prototype,"ytdLockupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$$.prototype,"ytRendererBehavior",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")}}),
_.T("design:type",Boolean)],$$.prototype,"watchFeedBigThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")?"9999":"168"}}),
_.T("design:type",String)],$$.prototype,"thumbnailWidth",void 0);_.S([_.N(),_.T("design:type",Object)],$$.prototype,"data",void 0);$$=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-movie-renderer"})],$$);
_.Rt(_.jna,$$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("n0sZLe");

var DXb;
var EXb;
var FXb=function(){return _.K.apply(this,arguments)||this};
_.q(FXb,_.K);_.f=FXb.prototype;_.f.handleClick=function(){this.data&&(this.fireSelectedEvent(Number(this.data.startMs)),this.logClick())};
_.f.handleKeypress=function(a){this.data&&(this.isEnterPress(a)?(this.fireSelectedEvent(Number(this.data.startMs)),this.logClick()):this.isCopyPress(a)&&this.logCopy())};
_.f.getSegmentAriaLabel=function(){var a,b,c;return null==(a=this.data)?void 0:null==(b=a.accessibility)?void 0:null==(c=b.accessibilityData)?void 0:c.label};
_.f.fireSelectedEvent=function(a){this.fire("yt-transcript-segment-selected",{startMs:a})};
_.f.isEnterPress=function(a){return"Enter"===a.key||"Enter"===a.code||"NumpadEnter"===a.code||13===a.keyCode?!0:!1};
_.f.isCopyPress=function(a){var b=a.ctrlKey;return"c"===a.key&&b};
_.f.logClick=function(){var a,b=null==(a=this.data)?void 0:a.trackingParams;b&&_.ns(_.vp(),b)};
_.f.logCopy=function(){var a=_.oo(138758);_.TCa(_.vp(),a)};
_.t.Object.defineProperties(FXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transcript-segment-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_segment_renderer.ytd.transcript.segment.renderer.css.js--\x3e<div class="segment" aria-label="[[getSegmentAriaLabel()]]" role="button" tabindex="0" on-keypress="handleKeypress" on-click="handleClick">\n  <div class="segment-start-offset" tabindex="-1" aria-hidden="true">\n    <div class="segment-timestamp">\n      [[getSimpleString(data.startTimeText)]]\n    </div>\n  </div>\n  <yt-formatted-string class="segment-text" aria-hidden="true" tabindex="-1" text="[[data.snippet]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DXb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_segment_renderer.ytd.transcript.segment.renderer.css.js--\x3e<style>:host(.active) .segment {background-color: var(--yt-spec-badge-chip-background);} :host(.active) .segment .segment-text {font-weight: 500;} .segment {padding: 12px 16px 8px 8px;outline: none;font-size: 1.4rem;line-height: 1.8rem;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;cursor: pointer;} .segment:hover,.segment:focus,.segment:active {background-color: var(--yt-spec-badge-chip-background);} .segment:hover .segment-text,.segment:focus .segment-text,.segment:active .segment-text {font-weight: 500;} .segment-start-offset {display: var(--ytd-transcript-segment-time-display);margin: 0 16px 0 12px;} .segment-timestamp {color: var(--yt-spec-call-to-action);background-color: var(--yt-spec-suggested-action);padding: 0 4px;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} .segment-text {color: var(--yt-spec-text-primary);overflow-wrap: break-word;margin-left: var(--ytd-transcript-segment-text-margin-left);} /*# sourceMappingURL=ytd-transcript-segment-renderer.css.map*/</style>';
DXb=d}d=DXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EXb=a}a=EXb;return a}}});
var Z$=FXb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Z$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z$.prototype,"data",void 0);Z$=_.S([_.Q({is:"ytd-transcript-segment-renderer"})],Z$);
_.Rt(_.Dna,Z$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("JfbIWd");

var BXb;
var CXb;
var X$=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-player-time-changed":"onYtPlayerTimeChanged"};a.isError=!1;a.segmentOffsets=[];a.segmentIndex=-1;return a};
_.q(X$,_.K);_.f=X$.prototype;_.f.configureRendererStamper=function(){return{segments:{id:"segments-container",mapping:{transcriptSegmentRenderer:"ytd-transcript-segment-renderer"}}}};
_.f.segmentsChanged=function(){this.updateOffsets()};
_.f.onYtPlayerTimeChanged=function(a){for(var b=this.segmentIndex,c=b;;){var d=0<=c?this.segmentOffsets[c].start:-1;var e=a+.5;if(e<d)--c;else if(d=c+1<this.segmentOffsets.length?this.segmentOffsets[c+1].start:Infinity,e>d)c+=1;else{if(-1===c)break;c<this.segmentOffsets.length&&e>this.segmentOffsets[c].end&&(c=-1);break}}if(b!==c){if(0<=b){var h;null==(h=this.getSegmentElement(b))||h.classList.remove("active")}this.segmentIndex=c;if(!(0>c)){var l;null==(l=this.getSegmentElement(c))||l.classList.add("active");
this.isHovered||this.scrollElementToTop(c)}}};
_.f.handleSegmentSelected=function(a){_.C(this,"yt-transcript-player-seek",[a.detail.startMs/1E3])};
_.f.onMouseEnter=function(){this.isHovered=!0};
_.f.onMouseLeave=function(){this.isHovered=!1};
_.f.onRetryButtonClick=function(){this.fire("transcript-retry-button-click")};
_.f.getSegmentElement=function(a){return this.$$("ytd-transcript-segment-renderer:nth-child("+(a+1)+")")};
_.f.scrollElementToTop=function(a){a=this.getSegmentElement(2<=a?a-2:0);this.scrollTop=Math.min(a.offsetTop-this.offsetTop,this.scrollHeight-this.offsetHeight)};
_.f.updateOffsets=function(){this.segmentOffsets=this.segments.map(function(a){a=a.transcriptSegmentRenderer;return{start:Number(a.startMs)/1E3,end:Number(a.endMs)/1E3}});
this.segmentIndex=-1;this.clearHighlightedSegments()};
_.f.clearHighlightedSegments=function(){var a=_.H(this.root);a=_.k(a.querySelectorAll("ytd-transcript-segment-renderer"));for(var b=a.next();!b.done;b=a.next())b.value.classList.remove("active")};
_.t.Object.defineProperties(X$.prototype,{segments:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.data)?void 0:a.searchResultSegments)||(null==(b=this.data)?void 0:b.initialSegments)||[]}},
displayNoResults:{configurable:!0,enumerable:!0,get:function(){return!!this.segments&&0===this.segments.length&&!!this.noResultLabel}}});
_.t.Object.defineProperties(X$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transcript-segment-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_segment_list_renderer.ytd.transcript.segment.list.renderer.css.js--\x3e<div id="segments-container"></div>\n<div id="message-container" hidden="[[!displayNoResults]]">\n  <yt-formatted-string id="no-results" text="[[noResultLabel]]">\n  </yt-formatted-string>\n</div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BXb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_segment_list_renderer.ytd.transcript.segment.list.renderer.css.js--\x3e<style>:host {display: block;height: calc(var(--ytd-watch-flexy-panel-max-height) - 96px);background-color: var(--yt-spec-brand-background-solid);overflow-y: auto;} :host::-webkit-scrollbar {width: 16px;} :host::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} #message-container {height: 100%;display: flex;align-items: center;justify-content: center;} #no-results {color: var(--yt-spec-text-primary);font-size: 1.4rem;line-height: 1.8rem;} /*# sourceMappingURL=ytd-transcript-segment-list-renderer.css.map*/</style>";
BXb=d}d=BXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CXb=a}a=CXb;return a}}});
var Y$=X$;Y$.prototype.onMouseLeave=Y$.prototype.onMouseLeave;Y$.prototype.onMouseEnter=Y$.prototype.onMouseEnter;Y$.prototype.handleSegmentSelected=Y$.prototype.handleSegmentSelected;Y$.prototype.segmentsChanged=Y$.prototype.segmentsChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Y$.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Y$.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Y$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Y$.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],Y$.prototype,"isError",void 0);_.S([_.N(),_.T("design:type",Object)],Y$.prototype,"noResultLabel",void 0);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],Y$.prototype,"segments",null);
_.S([_.V("segments","noResultLabel"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],Y$.prototype,"displayNoResults",null);_.S([_.P("segments"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Y$.prototype,"segmentsChanged",null);_.S([_.O("yt-transcript-segment-selected"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],Y$.prototype,"handleSegmentSelected",null);
_.S([_.O("mouseenter"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Y$.prototype,"onMouseEnter",null);_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Y$.prototype,"onMouseLeave",null);Y$=_.S([_.Q({is:"ytd-transcript-segment-list-renderer"})],Y$);
_.Rt(_.Cna,Y$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("FOHVId");

var yXb=function(a,b){a.reloadContinuationItemsCommandMatcher=b},zXb;
var AXb;
var V$=function(){var a=_.K.apply(this,arguments)||this;a.hideTimestamps=_.x("enable_megatranscript_toggle_timestamp")&&!!_.Oo("hide-transcript-timestamps");a.isLoadingTranscripts=!1;a.isError=!1;a.actionMap={"yt-signal-action-toggle-transcript-timestamps":"handleSignalActionToggleTranscriptTimestamps"};a.TEST_ONLY={errorPromise:function(){return new Promise(function(b){a.errorPromiseResolver=b})}};
return a};
_.q(V$,_.K);_.f=V$.prototype;_.f.headerChanged=function(){var a,b,c;this.baseGetTranscriptsCommand=null==(a=this.data)?void 0:null==(b=a.header)?void 0:null==(c=b.transcriptSearchBoxRenderer)?void 0:c.onTextChangeCommand};
_.f.bodyChanged=function(){var a,b;if(null==(a=this.data)?0:null==(b=a.body)?0:b.transcriptSegmentListRenderer){var c,d;a=null==(c=this.data)?void 0:null==(d=c.body)?void 0:d.transcriptSegmentListRenderer;a.initialSegments&&(this.initialTranscriptsRenderer=a);a.noResultLabel&&(this.noResultLabel=a.noResultLabel);a.retryLabel&&(this.retryLabel=a.retryLabel)}};
_.f.detached=function(){this.clearSearchBoxText()};
_.f.configureContinuationPathMap=function(){return{"yt-reload-continuation-items-command-body":"body"}};
_.f.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{transcriptSearchBoxRenderer:"ytd-transcript-search-box-renderer"}},"data.body":{id:"body",mapping:{transcriptSegmentListRenderer:{component:"ytd-transcript-segment-list-renderer",properties:{noResultLabel:"[[noResultLabel]]"}}}},"data.footer":{id:"footer",mapping:{transcriptFooterRenderer:"ytd-transcript-footer-renderer"}}}};
_.f.onReloadContinuationFinish=function(){this.isLoadingTranscripts=!1};
_.f.fireSearch=function(a){var b=this;if(a){var c=a.detail.query;if(this.baseGetTranscriptsCommand){var d;a=null==(d=this.baseGetTranscriptsCommand.getTranscriptEndpoint)?void 0:d.params;var e,h,l,m,p;if((d=null==(e=this.data)?void 0:null==(h=e.footer)?void 0:null==(l=h.transcriptFooterRenderer)?void 0:null==(m=l.languageMenu)?void 0:null==(p=m.sortFilterSubMenuRenderer)?void 0:p.subMenuItems)&&0<d.length&&(e=d.find(function(z){return z.selected}))){var r,v;
a=null==(r=e.continuation)?void 0:null==(v=r.reloadContinuationData)?void 0:v.continuation}r=Object.assign({},this.baseGetTranscriptsCommand,{getTranscriptEndpoint:{params:a,searchQuery:c}});this.ytComponentBehavior.resolveCommand(r,{commandController:{onServerError:function(){b.setError()}}});
this.isLoadingTranscripts=!0;this.set("data.body",{});yXb(this.ytContinuationHandlerBehavior,function(){return c===b.getCurrentSearchBoxText()})}}};
_.f.searchCleared=function(){this.data&&this.data.body&&(this.isLoadingTranscripts=!1,this.set("data.body",{transcriptSegmentListRenderer:this.initialTranscriptsRenderer}))};
_.f.onRetryButtonClick=function(){this.isError=!1;var a={query:this.getCurrentSearchBoxText()};this.fireSearch(new CustomEvent("yt-transcript-search-box-search",{detail:a}))};
_.f.hideTimestampsChanged=function(){_.No("hide-transcript-timestamps",this.hideTimestamps)};
_.f.toggleTranscriptTimestampAction=function(){this.hideTimestamps=!this.hideTimestamps};
_.f.handleSignalActionToggleTranscriptTimestamps=function(){this.toggleTranscriptTimestampAction()};
_.f.getCurrentSearchBoxText=function(){var a;return null==(a=this.searchBox)?void 0:a.value};
_.f.clearSearchBoxText=function(){this.searchBox&&this.searchBox.clear()};
_.f.setError=function(){this.isLoadingTranscripts=!1;this.isError=!0;this.errorPromiseResolver&&this.errorPromiseResolver()};
_.t.Object.defineProperties(V$.prototype,{searchBox:{configurable:!0,enumerable:!0,get:function(){return this.$$("ytd-transcript-search-box-renderer")}}});
_.t.Object.defineProperties(V$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===AXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transcript-search-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_search_panel_renderer.ytd.transcript.search.panel.renderer.css.js--\x3e<div id="header"></div>\n<div id="body"></div>\n<div id="error-container" hidden="[[!isError]]">\n  <tp-yt-paper-button id="retry-button" on-click="onRetryButtonClick">\n    <yt-formatted-string text="[[retryLabel]]">\n    </yt-formatted-string>\n  </tp-yt-paper-button>\n</div>\n<div class="spinner-container" hidden="[[!isLoadingTranscripts]]">\n  <tp-yt-paper-spinner active="[[isLoadingTranscripts]]"></tp-yt-paper-spinner>\n</div>\n<div id="footer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zXb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_search_panel_renderer.ytd.transcript.search.panel.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-solid);} :host,#body {-ms-flex: 1 1 0%;-webkit-flex: 1 1 0%;overflow: hidden;flex: 1 1 0%;--ytd-transcript-segment-time-display: block;--ytd-transcript-segment-text-margin-left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([hide-timestamps]) #body {--ytd-transcript-segment-time-display: none;--ytd-transcript-segment-text-margin-left: 16px;} #error-container {height: calc(var(--ytd-watch-flexy-panel-max-height) - 96px);background-color: var(--yt-spec-brand-background-solid);display: flex;align-items: center;justify-content: center;} #retry-button {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-suggested-action);font-size: 1.4rem;line-height: 1.8rem;} #retry-button:hover,#retry-button:focus,#retry-button:active {background-color: var(--yt-spec-call-to-action-hover);} .spinner-container {display: flex;align-items: center;justify-content: center;height: calc(var(--ytd-watch-flexy-panel-max-height) - 98px);} /*# sourceMappingURL=ytd-transcript-search-panel-renderer.css.map*/</style>";
zXb=d}d=zXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);AXb=a}a=AXb;return a}}});
var W$=V$;W$.prototype.hideTimestampsChanged=W$.prototype.hideTimestampsChanged;W$.prototype.searchCleared=W$.prototype.searchCleared;W$.prototype.fireSearch=W$.prototype.fireSearch;W$.prototype.onReloadContinuationFinish=W$.prototype.onReloadContinuationFinish;W$.prototype.bodyChanged=W$.prototype.bodyChanged;W$.prototype.headerChanged=W$.prototype.headerChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],W$.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],W$.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],W$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],W$.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],W$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],W$.prototype,"hideTimestamps",void 0);
_.S([_.N(),_.T("design:type",Object)],W$.prototype,"isLoadingTranscripts",void 0);_.S([_.N(),_.T("design:type",Object)],W$.prototype,"isError",void 0);_.S([_.P("data.header"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],W$.prototype,"headerChanged",null);_.S([_.Ct("data.body"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],W$.prototype,"bodyChanged",null);
_.S([_.O("yt-reload-continuation-finish"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],W$.prototype,"onReloadContinuationFinish",null);_.S([_.O("yt-transcript-search-box-search"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],W$.prototype,"fireSearch",null);_.S([_.O("yt-transcript-search-box-clear"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],W$.prototype,"searchCleared",null);
_.S([_.P("hideTimestamps"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],W$.prototype,"hideTimestampsChanged",null);W$=_.S([_.Q({is:"ytd-transcript-search-panel-renderer"})],W$);
_.Rt(_.Bna,W$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("vNaWWc");

var wXb;
var xXb;
var T$=function(){var a=_.K.apply(this,arguments)||this;a.systemIcons=_.x("kevlar_system_icons");a.showClearButton=!1;return a};
_.q(T$,_.K);_.f=T$.prototype;_.f.handleInput=function(a){var b=this;a.target.value.length?this.debounce("ytdTranscriptSearchBoxSearch",function(){b.emitSearchEvent(a)},500):(this.isDebouncerActive("ytdTranscriptSearchBoxSearch")&&this.cancelDebouncer("ytdTranscriptSearchBoxSearch"),this.emitClearEvent());
this.showClearButton=0<a.target.value.length};
_.f.clear=function(){this.inputBox.value="";this.showClearButton=!1};
_.f.handleClick=function(){var a,b=null==(a=this.data)?void 0:a.trackingParams;b&&_.ns(_.vp(),b)};
_.f.handleClear=function(){this.isDebouncerActive("ytdTranscriptSearchBoxSearch")&&this.cancelDebouncer("ytdTranscriptSearchBoxSearch");this.emitClearEvent();var a,b,c,d=null==(a=this.data)?void 0:null==(b=a.clearButton)?void 0:null==(c=b.buttonRenderer)?void 0:c.trackingParams;d&&_.ns(_.vp(),d);this.clear()};
_.f.emitSearchEvent=function(a){this.fire("yt-transcript-search-box-search",{query:a.target.value});var b,c,d;(a=null==(b=this.data)?void 0:null==(c=b.searchButton)?void 0:null==(d=c.buttonRenderer)?void 0:d.trackingParams)&&_.ns(_.vp(),a)};
_.f.emitClearEvent=function(){this.fire("yt-transcript-search-box-clear")};
_.t.Object.defineProperties(T$.prototype,{inputBox:{configurable:!0,enumerable:!0,get:function(){return this.$$("#transcript-search-box-input")}},
value:{configurable:!0,enumerable:!0,get:function(){return this.inputBox.value}}});
_.t.Object.defineProperties(T$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transcript-search-box-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_search_box_renderer.ytd.transcript.search.box.renderer.css.js--\x3e<tp-yt-paper-input-container class="input-container" no-label-float="true">\n  <yt-icon class="icon" slot="prefix" icon="yt-icons:search"></yt-icon>\n  <input id="transcript-search-box-input" slot="input" type="text" placeholder="[[getSimpleString(data.formattedPlaceholder)]]" aria-autocomplete="list" aria-haspopup="listbox" maxlength="1000" role="combobox" on-click="handleClick" on-input="handleInput">\n  <tp-yt-paper-icon-button class="clear-button" slot="suffix" hidden="[[!showClearButton]]" icon="yt-sys-icons:close" on-click="handleClear"></tp-yt-paper-icon-button>\n</tp-yt-paper-input-container>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wXb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_search_box_renderer.ytd.transcript.search.box.renderer.css.js--\x3e<style>:host {--paper-input-container-floated-label-placeholder-display: none;--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;--paper-input-container-underline-wrapper-height: 0;display: block;background-color: var(--yt-spec-brand-background-solid);margin-bottom: 12px;} .input-container {margin: 0 16px 0 16px;border-radius: 4px;background-color: var(--yt-spec-general-background-b);padding: 4px 0;} .icon {--iron-icon-stroke-color: var(--yt-spec-icon-active-other);padding-left: 16px;padding-right: 20px;} #transcript-search-box-input {color: var(--yt-spec-text-primary);caret-color: var(--yt-spec-themed-blue);} #transcript-search-box-input::placeholder {color: var(--yt-spec-text-secondary);opacity: 1;} #transcript-search-box-input:-ms-input-placeholder {color: var(--yt-spec-text-secondary);} #transcript-search-box-input::-ms-input-placeholder {color: var(--yt-spec-text-secondary);} .clear-button {--iron-icon-stroke-color: var(--yt-spec-icon-active-other);padding: 0px;margin-right: 8px;height: 24px;width: 24px;} .input-container:focus-within .icon,.input-container:focus-within .clear-button {--iron-icon-fill-color: var(--yt-spec-icon-active-other);} /*# sourceMappingURL=ytd-transcript-search-box-renderer.css.map*/</style>";
wXb=d}d=wXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xXb=a}a=xXb;return a}}});
var U$=T$;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],U$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],U$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],U$.prototype,"systemIcons",void 0);U$=_.S([_.Q({is:"ytd-transcript-search-box-renderer"})],U$);
_.Rt(_.Ana,U$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("YP2Wmc");

var tXb;
var uXb;
var vXb=function(){var a=_.K.apply(this,arguments)||this;a.player=null;a.playerPollJobId=0;return a};
_.q(vXb,_.K);_.f=vXb.prototype;_.f.panelContentVisibleChanged=function(){this.updatePlayerPolling()};
_.f.onLoadReloadContinuation=function(a){_.Kg(this,[{clickTrackingParams:a.target.data.clickTrackingParams,getTranscriptEndpoint:{params:a.target.data.continuation},commandMetadata:{webCommandMetadata:{apiUrl:"/youtubei/v1/get_transcript",sendPost:!0,url:"/service_ajax"}}}])};
_.f.configureRendererStamper=function(){return{"data.footer":{id:"footer",mapping:{transcriptFooterRenderer:"ytd-transcript-footer-renderer"}},"data.body":{id:"body",mapping:{transcriptBodyRenderer:"ytd-transcript-body-renderer"}},"data.content":{id:"content",mapping:{transcriptSearchPanelRenderer:"ytd-transcript-search-panel-renderer"}}}};
_.f.created=function(){this.ytActionHandlerBehavior.actionMap={"yt-transcript-player-seek":"onYtTranscriptPlayerSeek"}};
_.f.attached=function(){this.updatePlayerPolling()};
_.f.detached=function(){this.updatePlayerPolling()};
_.f.updatePlayerPolling=function(){this.isAttached&&this.panelContentVisible?(this.player&&this.stopPollingPlayerTime(),this.startPollingPlayerTime()):this.stopPollingPlayerTime()};
_.f.startPollingPlayerTime=function(){var a=this,b,c;return _.y(function(d){if(1==d.nextAddress){b=_.sv();if(!b)return d.return();c=a;return _.B(d,b.getPlayerPromise(),2)}c.player=d.yieldResult;a.playerPollJobId=_.xe.addLowPriorityJob(function(){a.getPlayerVideoProgress()},1E3);
_.bf(d)})};
_.f.getPlayerVideoProgress=function(){var a=this;_.xe.cancelJob(this.playerPollJobId);if(this.player){var b=this.player.getCurrentTime();_.C(this,"yt-player-time-changed",[b])}this.playerPollJobId=_.xe.addLowPriorityJob(function(){a.getPlayerVideoProgress()},1E3)};
_.f.stopPollingPlayerTime=function(){this.player=null;_.xe.cancelJob(this.playerPollJobId)};
_.f.onYtTranscriptPlayerSeek=function(a){this.player&&this.player.seekTo(a,!0)};
_.t.Object.defineProperties(vXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transcript-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_renderer.ytd.transcript.renderer.css.js--\x3e<div id="body"></div>\n<div id="content"></div>\n<div id="footer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tXb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_renderer.ytd.transcript.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host,#body,#content {overflow: hidden;-ms-flex: 0 1 auto;-webkit-flex: 0 1 auto;flex: 0 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-transcript-renderer.css.map*/</style>";
tXb=d}d=tXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uXb=a}a=uXb;return a}}});
var S$=vXb;S$.prototype.onLoadReloadContinuation=S$.prototype.onLoadReloadContinuation;S$.prototype.panelContentVisibleChanged=S$.prototype.panelContentVisibleChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],S$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],S$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],S$.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],S$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],S$.prototype,"panelContentVisible",void 0);_.S([_.P("panelContentVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],S$.prototype,"panelContentVisibleChanged",null);
_.S([_.O("yt-load-reload-continuation"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],S$.prototype,"onLoadReloadContinuation",null);S$=_.S([_.Q({is:"ytd-transcript-renderer"})],S$);
_.Rt(_.zna,S$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("uT4QRb");

var qXb;
var rXb;
var sXb=function(){return _.K.apply(this,arguments)||this};
_.q(sXb,_.K);sXb.prototype.configureRendererStamper=function(){return{"data.languageMenu":{id:"menu",mapping:{sortFilterSubMenuRenderer:"yt-sort-filter-sub-menu-renderer"}}}};
_.t.Object.defineProperties(sXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transcript-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_footer_renderer.ytd.transcript.footer.renderer.css.js--\x3e<div id="menu"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qXb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_footer_renderer.ytd.transcript.footer.renderer.css.js--\x3e<style>:host {padding-left: 16px;height: 48px;background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #menu,yt-sort-filter-sub-menu-renderer {max-width: 100%;} /*# sourceMappingURL=ytd-transcript-footer-renderer.css.map*/</style>";
qXb=d}d=qXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rXb=a}a=rXb;return a}}});
var R$=sXb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],R$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R$.prototype,"data",void 0);R$=_.S([_.Q({asyncProperties:!0,is:"ytd-transcript-footer-renderer"})],R$);
_.Rt(_.yna,R$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("qDDDKd");

var nXb;
var oXb;
var pXb=function(){var a=_.K.apply(this,arguments)||this;a.hideTimestamps=!!_.Oo("hide-transcript-timestamps");a.standardizedThemedScrollbar=_.x("kevlar_themed_standardized_scrollbar");a.currentCueIndex=-1;a.flatCues=[];a.actionMap={"yt-signal-action-toggle-transcript-timestamps":"handleSignalActionToggleTranscriptTimestamps","yt-player-time-changed":"onYtPlayerTimeChanged"};a.TEST_ONLY={getFlatCues:function(){return a.flatCues}};
return a};
_.q(pXb,_.K);_.f=pXb.prototype;_.f.hideTimestampsChanged=function(){_.No("hide-transcript-timestamps",this.hideTimestamps)};
_.f.toggleTranscriptTimestampAction=function(){this.hideTimestamps=!this.hideTimestamps};
_.f.handleSignalActionToggleTranscriptTimestamps=function(){this.toggleTranscriptTimestampAction()};
_.f.dataChanged=function(){var a;if(null!=(a=this.data)&&a.cueGroups){this.flatCues.length=0;this.currentCueIndex=-1;a=_.k(this.data.cueGroups);for(var b=a.next();!b.done;b=a.next()){b=_.k(b.value.transcriptCueGroupRenderer.cues);for(var c=b.next();!c.done;c=b.next())this.flatCues.push(Number(c.value.transcriptCueRenderer.startOffsetMs))}}};
_.f.onYtPlayerTimeChanged=function(a){if(!(0>a)){for(var b=this.currentCueIndex,c=b;;){var d=0<=c?this.flatCues[c]/1E3:-1;if(a+.5<d)--c;else if(d=c+1<this.flatCues.length?this.flatCues[c+1]/1E3:Infinity,a+.5>d)c+=1;else break}c!==b&&(0<=b&&((a=this.getCueElement(b))&&a.classList.remove("active"),(b=this.getCueGroupElement(b))&&b.classList.remove("active")),(b=this.getCueElement(c))&&b.classList.add("active"),(b=this.getCueGroupElement(c))&&b.classList.add("active"),this.currentCueIndex=c,this.isHovered||
this.scrollElementToTop(c))}};
_.f.scrollElementToTop=function(a){a=this.getCueElement(3<=a?a-3:0);this.scrollTop=Math.min(a.offsetTop-this.offsetTop,this.scrollHeight-this.offsetHeight)};
_.f.getCueElement=function(a){return this.$$('.cue[start-offset="'+this.flatCues[a]+'"]')};
_.f.getCueGroupElement=function(a){return(a=this.getCueElement(a))&&a.parentElement?a.parentElement.parentElement:null};
_.f.onTap=function(a){var b=_.H(a).rootTarget;a.target.classList.contains("cue")&&this.seekCueElement(b)};
_.f.onKeyPress=function(a){13==a.keyCode&&(a=_.nx(a.target,null,"cue"))&&this.seekCueElement(a)};
_.f.seekCueElement=function(a){a=Number(a.getAttribute("start-offset"));_.C(this,"yt-transcript-player-seek",[a/1E3])};
_.f.onMouseEnter=function(){this.isHovered=!0};
_.f.onMouseLeave=function(){this.isHovered=!1};
_.t.Object.defineProperties(pXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transcript-body-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_body_renderer.ytd.transcript.body.renderer.css.js--\x3e<template as="cueGroup" is="dom-repeat" items="[[data.cueGroups]]">\n  <div class="cue-group">\n    <div class="cue-group-start-offset">\n      [[getSimpleString(cueGroup.transcriptCueGroupRenderer.formattedStartOffset)]]\n    </div>\n    <div class="cues">\n      <template is="dom-repeat" items="[[cueGroup.transcriptCueGroupRenderer.cues]]">\n        <div class="cue" role="button" start-offset$="[[item.transcriptCueRenderer.startOffsetMs]]" tabindex="0">\n          [[getSimpleString(item.transcriptCueRenderer.cue)]]\n        </div>\n      </template>\n    </div>\n  </div>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nXb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.transcript.ytd_transcript_body_renderer.ytd.transcript.body.renderer.css.js--\x3e<style>:host {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([standardized-themed-scrollbar]) {display: block;overflow-y: auto;} :host([standardized-themed-scrollbar])::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} :host(:not([standardized-themed-scrollbar])) {display: block;overflow-y: auto;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar {width: 8px;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} .cue-group {padding: 8px 16px 8px 3px;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .cue-group.active {color: var(--yt-spec-text-primary);padding-left: 0;border-left: 3px solid var(--yt-spec-themed-blue);background-color: var(--yt-spec-badge-chip-background);} .cue-group-start-offset {margin: 0 16px 0 12px;color: var(--yt-spec-text-secondary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} :host([hide-timestamps]) .cue-group-start-offset {display: none;} .cue-group.active .cue-group-start-offset {color: var(--yt-spec-text-primary);} .cue-group:hover .cue-group-start-offset {color: var(--yt-spec-call-to-action);} .cues {margin-left: 12px;overflow: hidden;overflow-wrap: break-word;} .cue {display: inline;cursor: pointer;color: var(--yt-spec-text-primary);} .cue:hover {background-color: var(--yt-spec-10-percent-layer);} .cue.active {font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} /*# sourceMappingURL=ytd-transcript-body-renderer.css.map*/</style>';
nXb=d}d=nXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oXb=a}a=oXb;return a}}});
var Q$=pXb;Q$.prototype.onMouseLeave=Q$.prototype.onMouseLeave;Q$.prototype.onMouseEnter=Q$.prototype.onMouseEnter;Q$.prototype.onKeyPress=Q$.prototype.onKeyPress;Q$.prototype.onTap=Q$.prototype.onTap;Q$.prototype.dataChanged=Q$.prototype.dataChanged;Q$.prototype.hideTimestampsChanged=Q$.prototype.hideTimestampsChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Q$.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Q$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Q$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Q$.prototype,"hideTimestamps",void 0);_.S([_.N(),_.T("design:type",Boolean)],Q$.prototype,"isHovered",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Q$.prototype,"standardizedThemedScrollbar",void 0);
_.S([_.P("hideTimestamps"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Q$.prototype,"hideTimestampsChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Q$.prototype,"dataChanged",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],Q$.prototype,"onTap",null);
_.S([_.O("keypress"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],Q$.prototype,"onKeyPress",null);_.S([_.O("mouseenter"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Q$.prototype,"onMouseEnter",null);_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Q$.prototype,"onMouseLeave",null);Q$=_.S([_.Q({is:"ytd-transcript-body-renderer"})],Q$);
_.Rt(_.xna,Q$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("CrfNOc");

var kXb;
var lXb;
var mXb=function(){return _.K.apply(this,arguments)||this};
_.q(mXb,_.K);mXb.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}},"data.secondaryActionButton":{id:"secondary-action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}}}};
_.t.Object.defineProperties(mXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-alert-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_alert_renderer.ytd.sponsorships.alert.renderer.css.js--\x3e<yt-formatted-string id="alert-message" text="[[data.alertMessage]]"></yt-formatted-string>\n<div id="action-buttons">\n  <div id="action-button"></div>\n  <div id="secondary-action-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kXb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_alert_renderer.ytd.sponsorships.alert.renderer.css.js--\x3e<style>:host {display: inline-block;padding: 16px 0;background-color: var(--yt-spec-error-background);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host>* {position: relative;} #alert-message {-ms-align-self: center;-webkit-align-self: center;align-self: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-primary-inverse);} #action-buttons {text-align: end;-ms-flex: none;-webkit-flex: none;flex: none;padding-left: 16px;} /*# sourceMappingURL=ytd-sponsorships-alert-renderer.css.map*/</style>';
kXb=d}d=kXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lXb=a}a=lXb;return a}}});
var P$=mXb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],P$.prototype,"data",void 0);P$=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-alert-renderer"})],P$);
_.Rt(_.wna,P$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("iZytze");

var hXb;
var iXb;
var jXb=function(){return _.K.apply(this,arguments)||this};
_.q(jXb,_.K);jXb.prototype.computeThumbnailStyle=function(a){if(a&&(a=_.ru(a)))return _.ou({"background-color":a})};
_.t.Object.defineProperties(jXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-hashtag-tile-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.social.ytd_hashtag_tile_renderer.ytd.hashtag.tile.renderer.css.js--\x3e<div id="content-section"><div id="thumbnail-section"><a class="hashtag-link yt-simple-endpoint" href$="[[computeHref_(data.onTapCommand)]]" data="[[data.onTapCommand]]"><div id="thumbnail"><div id="thumbnail-spacing-wrapper"><div id="thumbnail-color-wrapper" style="[[computeThumbnailStyle(data.hashtagBackgroundColor)]]"><yt-img-shadow height="64" thumbnail="[[data.hashtagThumbnail]]" width="64"></yt-img-shadow></div></div></div></a></div><div id="info-section"><a id="main-link" class="hashtag-link yt-simple-endpoint" href$="[[computeHref_(data.onTapCommand)]]" data="[[data.onTapCommand]]"><div id="info"><yt-formatted-string id="hashtag" text="[[data.hashtag]]"></yt-formatted-string><div id="metadata"><yt-formatted-string id="hashtag-info-text" text="[[data.hashtagInfoText]]"></yt-formatted-string></div></div></a></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hXb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.social.ytd_hashtag_tile_renderer.ytd.hashtag.tile.renderer.css.js--\x3e<style>:host {display: block;margin-top: 12px;} #content-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .hashtag-link {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #thumbnail-spacing-wrapper {display: flex;align-items: center;justify-content: center;height: 136px;width: 136px;margin-right: 16px;} #thumbnail-color-wrapper {display: flex;align-items: center;justify-content: center;height: 128px;width: 128px;border-radius: 6px;} #info-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #thumbnail {width: 246px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: none;-webkit-flex: none;flex: none;} #info {padding: 0 16px 16px 16px;min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #hashtag {--ytd-channel-name-container-display: -webkit-box;--ytd-channel-name-text-display: -webkit-box;--ytd-channel-name-text-line-clamp: 2;color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #metadata {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;margin-bottom: 4px;} @media(min-width:0) and (max-width:662px) {#info {padding: 0 0 0 16px;}} :host([use-prominent-thumbs]) #thumbnail-section {margin-right: 16px;max-width: 360px;min-width: 240px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([prominent-thumb-style=BIG1]) #thumbnail-section {max-width: 340px;} :host([prominent-thumb-style=BIG2]) #thumbnail-section {max-width: 320px;} :host([prominent-thumb-style=MEDIUM1]) #thumbnail-section {max-width: 300px;} :host([prominent-thumb-style=MEDIUM2]) #thumbnail-section {max-width: 280px;} :host([use-prominent-thumbs]) #thumbnail-section .hashtag-link {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([use-prominent-thumbs]) #thumbnail-spacing-wrapper {margin: 0;} :host([use-prominent-thumbs]) #info-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([use-prominent-thumbs]) #info {padding-left: 0;} /*# sourceMappingURL=ytd-hashtag-tile-renderer.css.map*/</style>';
hXb=d}d=hXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iXb=a}a=iXb;return a}}});
var O$=jXb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],O$.prototype,"rendererBehaviors",void 0);_.S([_.N(),_.T("design:type",Object)],O$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("desktop_search_prominent_thumbs")}}),
_.T("design:type",Boolean)],O$.prototype,"useProminentThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_search_prominent_thumbs_style")}}),
_.T("design:type",String)],O$.prototype,"prominentThumbStyle",void 0);O$=_.S([_.Q({asyncProperties:!0,is:"ytd-hashtag-tile-renderer"})],O$);
_.Rt(_.nna,O$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("b4RdN");

var eXb;
var fXb;
var gXb=function(){return _.K.apply(this,arguments)||this};
_.q(gXb,_.K);gXb.prototype.configureRendererStamper=function(){return{"data.filterMenu":{id:"filter-menu",mapping:{sortFilterSubMenuRenderer:{component:"yt-sort-filter-sub-menu-renderer",params:{isRightAligned:!0}}}}}};
_.t.Object.defineProperties(gXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sort-filter-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_sort_filter_header_renderer.ytd.sort.filter.header.renderer.css.js--\x3e<div id="header-container">\n  <div id="headings">\n    <yt-formatted-string id="title" text="[[data.title]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="subtitle" hidden="[[!data.subtitle]]" text="[[data.subtitle]]">\n    </yt-formatted-string>\n  </div>\n  <div id="filter-menu"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eXb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_sort_filter_header_renderer.ytd.sort.filter.header.renderer.css.js--\x3e<style>:host {display: block;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #header-container {margin-top: 16px;margin-bottom: -4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #headings {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #subtitle {display: block;color: var(--yt-spec-text-secondary);margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #filter-menu {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-sort-filter-header-renderer.css.map*/</style>';
eXb=d}d=eXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fXb=a}a=fXb;return a}}});
var N$=gXb;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],N$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],N$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N$.prototype,"data",void 0);N$=_.S([_.Q({asyncProperties:!0,is:"ytd-sort-filter-header-renderer"})],N$);
_.Rt(_.vna,N$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("paZond");

var $Wb;
var aXb;
var K$=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-dark-mode-toggled-action":"handleDarkModeToggledAction"};return a};
_.q(K$,_.K);K$.prototype.attached=function(){this.isDarkTheme=document.documentElement.hasAttribute("dark")};
K$.prototype.handleDarkModeToggledAction=function(a){this.isDarkTheme=a};
K$.prototype.computeHeaderLogoThumbnail=function(a,b){if(a)return b?a.darkLogo:a.lightLogo};
_.t.Object.defineProperties(K$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-primetime-promo-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_header_renderer.ytd.primetime.promo.header.renderer.css.js--\x3e<div id="logo"><yt-img-shadow dimension="height" height="24" thumbnail="[[themeLogo]]"></yt-img-shadow><ytd-badge-supported-renderer disable-upgrade$="[[!data.badge]]" hidden="[[!data.badge]]" top-standalone-badge="[[data.badge]]"></ytd-badge-supported-renderer></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Wb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_header_renderer.ytd.primetime.promo.header.renderer.css.js--\x3e<style>:host {display: inline-block;width: 210px;} #logo {margin-top: 20px;margin-bottom: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} ytd-badge-supported-renderer {color: var(--yt-spec-text-secondary);margin-left: 12px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #logo>yt-img-shadow {height: 24px;} /*# sourceMappingURL=ytd-primetime-promo-header-renderer.css.map*/</style>";
$Wb=d}d=$Wb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aXb=a}a=aXb;return a}}});
var L$=K$;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],L$.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],L$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],L$.prototype,"data",void 0);_.S([_.N({computed:"computeHeaderLogoThumbnail(data,isDarkTheme)"}),_.T("design:type",Object)],L$.prototype,"themeLogo",void 0);_.S([_.N(),_.T("design:type",Boolean)],L$.prototype,"isDarkTheme",void 0);
L$=_.S([_.Q({asyncProperties:!0,is:"ytd-primetime-promo-header-renderer"})],L$);
var bXb;
var cXb;
_.$u("itemSectionRenderer","primetimePromoRenderer","ytd-primetime-promo-renderer");var dXb=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-update-elements-per-row-action":"onUpdateElementsPerRowAction"};return a};
_.q(dXb,_.K);_.f=dXb.prototype;_.f.attached=function(){this.requestElementsPerRow()};
_.f.configureRendererStamper=function(){return{"data.panels":{id:"panels",mapping:{richItemRenderer:"ytd-rich-item-renderer"}},"data.header":{id:"header-contents",mapping:{primetimePromoHeaderRenderer:"ytd-primetime-promo-header-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"ytd-button-renderer"}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer",notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.f.onDataChange=function(){var a=this;_.nt(this,function(){a.updateItemVisibility()})};
_.f.onUpdateElementsPerRowAction=function(a){a&&this.elementsPerRow!==a&&(this.elementsPerRow=a,this.updateItemVisibility())};
_.f.updateItemVisibility=function(){var a=this;this.data&&this.data.panels&&_.H(this.root).querySelectorAll("ytd-rich-item-renderer").forEach(function(b,c){b.hidden=c>a.elementsPerRow-1})};
_.f.requestElementsPerRow=function(){this.fire("yt-request-elements-per-row")};
_.t.Object.defineProperties(dXb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cXb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-primetime-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_renderer.ytd.primetime.promo.renderer.css.js--\x3e<div id="dismissible">\n  <div id="header">\n    <div id="header-contents"></div>\n    <div id="dismiss-button"></div>\n  </div>\n  <div id="panels"></div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bXb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_primetime_promo_renderer.ytd.primetime.promo.renderer.css.js--\x3e<style>:host {margin-right: 0;border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: 4px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} :host #dismissed:focus {outline: none;} #content-wrapper {min-width: 0px;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #dismissible,#dismissed {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #dismiss-button {margin-top: 12px;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #header-contents {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #panels {margin-left: calc(-1 * var(--ytd-rich-grid-item-margin)/2);margin-right: calc(-1 * var(--ytd-rich-grid-item-margin)/2);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-primetime-promo-renderer.css.map*/</style>";
bXb=d}d=bXb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cXb=a}a=cXb;return a}}});
var M$=dXb;M$.prototype.onDataChange=M$.prototype.onDataChange;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],M$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],M$.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],M$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],M$.prototype,"actionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],M$.prototype,"data",void 0);_.S([_.N({value:3}),_.T("design:type",Number)],M$.prototype,"elementsPerRow",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],M$.prototype,"onDataChange",null);M$=_.S([_.Q({is:"ytd-primetime-promo-renderer"})],M$);
_.Rt(_.tna,M$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("emmCof");

var XWb;
var YWb;
var ZWb=function(){return _.K.apply(this,arguments)||this};
_.q(ZWb,_.K);
_.t.Object.defineProperties(ZWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-premium-browse-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_premium_browse_footer_renderer.ytd.premium.browse.footer.renderer.css.js--\x3e<yt-formatted-string class="title" text="[[data.title]]">\n</yt-formatted-string>\n<yt-formatted-string class="subtitle" text="[[data.subtitle]]">\n</yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_premium_browse_footer_renderer.ytd.premium.browse.footer.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;margin: 32px 0 24px 48px;} .title {color: var(--yt-spec-text-primary);margin: 8px 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} .subtitle {color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.2rem;} /*# sourceMappingURL=ytd-premium-browse-footer-renderer.css.map*/</style>';
XWb=d}d=XWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YWb=a}a=YWb;return a}}});
var J$=ZWb;_.S([_.N(),_.T("design:type",Object)],J$.prototype,"data",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],J$.prototype,"rendererBehavior",void 0);J$=_.S([_.Q({asyncProperties:!0,is:"ytd-premium-browse-footer-renderer"})],J$);
_.Rt(_.sna,J$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("MzoJxe");

var UWb;
var VWb;
var WWb=function(){return _.K.apply(this,arguments)||this};
_.q(WWb,_.K);WWb.prototype.computeStyle=function(a){return a?a:""};
_.t.Object.defineProperties(WWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-item-section-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_item_section_header_renderer.ytd.item.section.header.renderer.css.js--\x3e<div id="header">\n  <div id="title">[[getSimpleString(data.title)]]</div>\n  <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_item_section_header_renderer.ytd.item.section.header.renderer.css.js--\x3e<style>#title {color: var(--yt-spec-text-primary);padding-top: 24px;padding-bottom: 8px;font-size: 1.6em;line-height: 1.4em;font-weight: 500;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([title-style=ITEM_SECTION_HEADER_TITLE_STYLE_HISTORY]) #title {padding-top: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} :host([title-style=ITEM_SECTION_HEADER_TITLE_STYLE_TRANSFER_CHANNEL_DIALOG]) #title {padding-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([title-style=ITEM_SECTION_HEADER_TITLE_STYLE_TRANSFER_CHANNEL_DIALOG]) #subtitle {color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-item-section-header-renderer.css.map*/</style>';
UWb=d}d=UWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VWb=a}a=VWb;return a}}});
var I$=WWb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],I$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],I$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.titleStyle)"}),_.T("design:type",String)],I$.prototype,"titleStyle",void 0);I$=_.S([_.Q({asyncProperties:!0,is:"ytd-item-section-header-renderer"})],I$);
_.Rt(_.qna,I$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("eR8R3");

_.Rt(_.pna,_.a7);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("gUbuRc");

_.Rt(_.ona,_.g7);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("Xdm0O");

_.$u("itemSectionRenderer","counterfactualRenderer","ytd-counterfactual-renderer");var TWb=function(){return _.K.apply(this,arguments)||this};
_.q(TWb,_.K);var H$=TWb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],H$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],H$.prototype,"data",void 0);H$=_.S([_.Q({asyncProperties:!0,is:"ytd-counterfactual-renderer"})],H$);
_.Rt(_.lna,H$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("UVqZue");

var RWb;
var SWb;
var F$=function(){return _.K.apply(this,arguments)||this};
_.q(F$,_.K);F$.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}}},"data.buttons":{id:"buttons",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer",upcomingEventReminderButtonRenderer:"ytd-upcoming-event-reminder-button-renderer"}},dismissedRenderer:{id:"dismissed",mapping:{notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
F$.prototype.isMetaBlockEmpty=function(a){return!a||!a.longBylineText&&!a.shortBylineText&&!a.shortViewCountText&&!a.viewCountText};
F$.prototype.computeHasOneLineTitle=function(a){return this.forceOneLineTitle||!(null==a||!a.buttons)};
_.t.Object.defineProperties(F$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_video_renderer.ytd.compact.video.renderer.css.js--\x3e<div id="dismissible">\n  <ytd-thumbnail data="[[data]]" hidden="[[hideThumbnail]]" hovered="[[lockupIsHovered]]" queued="[[queued]]" use-expandable-tooltip="[[useExpandableTooltip]]" use-hovered-property="" width="[[thumbnailWidth]]">\n  </ytd-thumbnail>\n  <div class="details">\n    <div class="metadata">\n      <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" rel="[[computeNofollow_(data.navigationEndpoint)]]">\n        <h3>\n          <ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]">\n          </ytd-badge-supported-renderer>\n          <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n            [[getSimpleString(data.title)]]\n          </span>\n        </h3>\n        <div class="secondary-metadata">\n          <ytd-video-meta-block class="compact" data="[[data]]" no-endpoints="" watch-feed-big-thumbs="[[watchFeedBigThumbs]]">\n          </ytd-video-meta-block>\n          <ytd-badge-supported-renderer class="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n          </ytd-badge-supported-renderer>\n        </div>\n      </a>\n      <div id="buttons"></div>\n    </div>\n    <div id="menu"></div>\n    <div id="queue-button"></div>\n  </div>\n</div>\n<div id="dismissed"></div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_video_renderer.ytd.compact.video.renderer.css.js--\x3e<style>:host {--yt-button-compact-background-color: var(--yt-spec-10-percent-layer);--yt-button-compact-text-color: var(--yt-spec-text-secondary);position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} @keyframes fade-out-slide-up {0% {opacity: 1;transform: translateY(0);}80% {opacity: 0;transform: translateY(-16px);}100% {opacity: 0;}} :host([animation=fade-out-slide-up]) {animation: fade-out-slide-up forwards 0.62s;animation-timing-function: linear;} @keyframes fade-in-slide-up {0% {opacity: 0;transform: translateY(16px);}20% {opacity: 0;transform: translateY(16px);}100% {opacity: 1;transform: translateY(0);}} :host([animation=fade-in-slide-up]) {animation: fade-in-slide-up forwards 0.62s;animation-timing-function: linear;} @keyframes expanded-slide-down {0% {transform: translateY(-94px);}100% {transform: translateY(0);}} :host([animation=expanded-slide-down]) {animation: expanded-slide-down forwards 0.4s;animation-timing-function: linear;} :host([expansion=expanded]:not([is-dismissed])) {max-height: 94px;margin-bottom: 8px;} :host([expansion=collapsed]) {max-height: 0;margin-bottom: 0;overflow: hidden;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within),:host(:not(:hover)) #queue-button {opacity: 0;} :host([edu-force-menu-display_]) ytd-menu-renderer,:host([edu-force-menu-display_]:not(:hover)) ytd-menu-renderer {opacity: 1;} :host([queue-hide-menu]) ytd-menu-renderer {display: none;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} #dismissible,#dismissed {width: 100%;} #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dismissed {padding: 8px;border: 1px solid var(--yt-spec-10-percent-layer);} #dismissed:focus {outline: none;} :host(:not([watch-feed-big-thumbs])) ytd-thumbnail {margin-right: 8px;height: 94px;width: 168px;} .details {width: 100%;min-width: 0;} .metadata {min-width: 0;width: 100%;padding-right: 24px;box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} a.yt-simple-endpoint {min-width: 0;} #queue-button ytd-button-renderer,ytd-menu-renderer {--yt-button-icon-padding: 0;--yt-button-icon-size: 24px;position: absolute;top: 0;right: 0;} #queue-button ytd-button-renderer[style-target=button],ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} #video-title {margin: 0 0 4px 0;display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([has-one-line-title]) #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} #buttons>* {margin-top: 4px;} :host([watch-feed-big-thumbs]:not([is-dismissed])) #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([watch-feed-big-thumbs]) ytd-thumbnail:before {display: block;content: "";padding-top: 55.95%;background-color: var(--yt-spec-10-percent-layer);} :host([watch-feed-big-thumbs]) .metadata {padding-top: 8px;padding-bottom: 8px;} :host([watch-feed-big-thumbs]) .secondary-metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]:not([meta-block-empty])) .badges {padding-left: 8px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host([watch-feed-big-thumbs]) .details {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) ytd-menu-renderer {margin-top: 8px;} :host([watch-feed-big-thumbs]) #dismissed {margin-bottom: 8px;} :host([watch-feed-big-thumbs][is-dismissed]) #dismissed {max-height: var(--ytd-compact-item-dismissed-height);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([music-metadata-video-lockup]) {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 6px;box-sizing: border-box;} :host([music-metadata-video-lockup]) .metadata {padding-right: unset;} :host([music-metadata-video-lockup]) a {padding: 8px;} :host([music-metadata-video-lockup]) #video-title {margin-bottom: unset;} :host([music-metadata-video-lockup]) a.yt-simple-endpoint[href] h3 {color: var(--yt-spec-call-to-action);} :host([music-metadata-video-lockup]) a.yt-simple-endpoint:not([href]) #video-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} /*# sourceMappingURL=ytd-compact-video-renderer.css.map*/</style>';
RWb=d}d=RWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SWb=a}a=SWb;return a}}});
var G$=F$;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],G$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],G$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],G$.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Wx),_.T("design:type",Object)],G$.prototype,"ytdLockupBehavior",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"isMetaBlockEmpty(data)"}),_.T("design:type",Boolean)],G$.prototype,"metaBlockEmpty",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")}}),
_.T("design:type",Boolean)],G$.prototype,"watchFeedBigThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")?"9999":"168"}}),
_.T("design:type",String)],G$.prototype,"thumbnailWidth",void 0);_.S([_.N(),_.T("design:type",Object)],G$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasOneLineTitle(data)"}),_.T("design:type",Boolean)],G$.prototype,"hasOneLineTitle",void 0);_.S([_.N(),_.T("design:type",Boolean)],G$.prototype,"hideThumbnail",void 0);_.S([_.N(),_.T("design:type",Boolean)],G$.prototype,"forceOneLineTitle",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],G$.prototype,"musicMetadataVideoLockup",void 0);G$=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-video-renderer"})],G$);
_.Rt(_.kna,G$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("bWbFF");

var OWb;
var PWb;
var QWb=function(){return _.K.apply(this,arguments)||this};
_.q(QWb,_.K);QWb.prototype.configureRendererStamper=function(){return{"data.button":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!1}}}}}};
_.t.Object.defineProperties(QWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-text-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_text_promo_renderer.ytd.compact.text.promo.renderer.css.js--\x3e<ytd-badge-supported-renderer id="featured-badge" disable-upgrade$="[[!data.badge]]" hidden="[[!data.badge]]" top-standalone-badge="[[data.badge]]">\n</ytd-badge-supported-renderer>\n<yt-formatted-string class="title" text="[[data.title]]">\n</yt-formatted-string>\n<yt-formatted-string class="subtitle" force-default-style="" text="[[data.subTitle]]">\n</yt-formatted-string>\n<div id="action-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_text_promo_renderer.ytd.compact.text.promo.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;margin: 32px 0 24px 48px;} .title {color: var(--yt-spec-text-primary);margin: 8px 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} .subtitle {color: var(--yt-spec-text-secondary);margin-bottom: 28px;font-size: 1.2rem;font-weight: 400;line-height: 1.2rem;} /*# sourceMappingURL=ytd-compact-text-promo-renderer.css.map*/</style>';
OWb=d}d=OWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PWb=a}a=PWb;return a}}});
var E$=QWb;_.S([_.N(),_.T("design:type",Object)],E$.prototype,"data",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],E$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],E$.prototype,"rendererBehavior",void 0);E$=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-text-promo-renderer"})],E$);
_.Rt(_.ina,E$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("risM8");

var MWb;
var NWb;
var C$=function(){return _.K.apply(this,arguments)||this};
_.q(C$,_.K);C$.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer"}}}};
C$.prototype.attached=function(){this.classList.add("use-ellipsis")};
C$.prototype.onYtNavigate=function(a,b){var c=this;if(b.endpoint===this.data.navigationEndpoint&&this.get("endpoint.watchEndpoint.continuePlayback",b)){var d=this.get("watchEndpoint.videoId",b.endpoint),e=_.Jg(this,"yt-get-current-video-id-action")[0];_.x("kevlar_mix_handle_first_endpoint_different")&&d&&e&&d!==e||(a.stopPropagation(),_.qw().getPlayerPromise().then(function(h){if(0===h.getPlayerState()&&c.data.secondaryNavigationEndpoint)var l=c.data.secondaryNavigationEndpoint;else l=Object.assign({},
b.endpoint),l.commandMetadata&&l.commandMetadata.webCommandMetadata&&(h=Math.floor(h.getCurrentTime()),l.commandMetadata.webCommandMetadata.url=_.vd(l.commandMetadata.webCommandMetadata.url,{t:h}),!_.x("kevlar_add_start_time_to_mix_endpoint_killswitch")&&l.watchEndpoint&&(l.watchEndpoint.startTimeSeconds=h));c.fire("yt-navigate",{endpoint:l})}))}};
_.t.Object.defineProperties(C$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-radio-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_radio_renderer.ytd.compact.radio.renderer.css.js--\x3e<div id="dismissible">\n  <ytd-thumbnail data="[[data]]" height="94" hovered="[[lockupIsHovered]]" use-hovered-property="" watch-feed-thumbnail="[[watchFeedBigThumbs]]" width="[[thumbnailWidth]]">\n  </ytd-thumbnail>\n  <div class="details">\n    <div class="metadata">\n      <a id="title" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n        <h3>\n          <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n          </ytd-badge-supported-renderer>\n          <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n            [[getSimpleString(data.title)]]\n          </span>\n        </h3>\n        <ytd-video-meta-block class="compact" data="[[data]]" no-endpoints="" radio-meta="">\n        </ytd-video-meta-block>\n      </a>\n    </div>\n    <div id="menu"></div>\n  </div>\n</div>\n<div id="dismissed"></div>\n<yt-interaction id="interaction" class="extended"></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_radio_renderer.ytd.compact.radio.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([watch-feed-big-thumbs])) ytd-thumbnail {margin-right: 8px;height: 94px;width: 168px;} .details {width: 100%;min-width: 0;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #title.yt-simple-endpoint {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #video-title {display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host(.use-ellipsis) #video-title {margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]) {display: none;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dismissed {padding: 8px;border: 1px solid var(--yt-spec-10-percent-layer);} #dismissible,#dismissed {width: 100%;} #dismissed:focus {outline: none;} .metadata {min-width: 0;width: 100%;padding-right: 24px;box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-menu-renderer {--yt-button-icon-padding: 0;--yt-button-icon-size: 24px;position: absolute;top: 0;right: 0;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} #buttons>* {margin-top: 4px;} :host([watch-feed-big-thumbs]:not([is-dismissed])) #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([watch-feed-big-thumbs]) ytd-thumbnail:before {display: block;content: "";padding-top: 55.95%;background-color: var(--yt-spec-10-percent-layer);} :host([watch-feed-big-thumbs]) .metadata {padding-top: 8px;padding-bottom: 8px;} :host([watch-feed-big-thumbs]) .details {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) ytd-menu-renderer {margin-top: 8px;} :host([watch-feed-big-thumbs]) #dismissed {margin-bottom: 8px;} :host([watch-feed-big-thumbs][is-dismissed]) #dismissed {max-height: var(--ytd-compact-item-dismissed-height);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-compact-radio-renderer.css.map*/</style>';
MWb=d}d=MWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NWb=a}a=NWb;return a}}});
var D$=C$;D$.prototype.onYtNavigate=D$.prototype.onYtNavigate;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],D$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Tu.YtEndpointBehavior),_.T("design:type",Object)],D$.prototype,"ytEndpointBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],D$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],D$.prototype,"ytdDismissibleItemBehavior",void 0);
_.S([_.L(_.Wx),_.T("design:type",Object)],D$.prototype,"ytdLockupBehavior",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")}}),
_.T("design:type",Boolean)],D$.prototype,"watchFeedBigThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")?"9999":"168"}}),
_.T("design:type",String)],D$.prototype,"thumbnailWidth",void 0);_.S([_.N(),_.T("design:type",Object)],D$.prototype,"data",void 0);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],D$.prototype,"onYtNavigate",null);D$=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-radio-renderer"})],D$);
_.Rt(_.hna,D$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("KrdVxb");

var KWb;
var LWb;
var z$,A$=function(){return _.K.apply(this,arguments)||this};
_.q(A$,_.K);A$.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
A$.prototype.onTap=function(){this.data&&this.data.navigationEndpoint&&this.data.adPlaybackContextParams&&_.tHb(this.data.navigationEndpoint,this.data.adPlaybackContextParams)};
A$.prototype.dataChanged=function(){this.data&&_.Vrb(this.data.impressionUrls||[]);this.data&&this.data.activeView&&this.ytdActiveViewBehavior.enableActiveViewMeasurement(this.data.activeView,17);this.set("data.adBadge",z$.JSC$43235_DEFAULT_AD_BADGE_RENDERER)};
_.t.Object.defineProperties(A$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-promoted-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_promoted_video_renderer.ytd.compact.promoted.video.renderer.css.js--\x3e<ytd-thumbnail data="[[data]]" width="[[thumbnailWidth]]">\n</ytd-thumbnail>\n<div class="details">\n  <a id="endpoint-link" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h3>\n      <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n      </ytd-badge-supported-renderer>\n      <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n        [[getSimpleString(data.title)]]\n      </span>\n    </h3>\n    <div class="secondary-metadata">\n      <ytd-video-meta-block class="compact" data="[[data]]" watch-feed-big-thumbs="[[watchFeedBigThumbs]]">\n      </ytd-video-meta-block>\n      <div id="ad-badge-container">\n        <ytd-badge-supported-renderer id="ad-badge" top-standalone-badge="[[data.adBadge]]">\n        </ytd-badge-supported-renderer>\n      </div>\n    </div>\n  </a>\n  <div id="menu"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_promoted_video_renderer.ytd.compact.promoted.video.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([watch-feed-big-thumbs])) ytd-thumbnail {margin-right: 8px;height: 94px;width: 168px;} .details {padding-right: 24px;box-sizing: border-box;width: 100%;min-width: 0;} #endpoint-link {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #ad-badge-container {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #video-title {display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} ytd-menu-renderer {position: absolute;top: 0;right: 0;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} :host([watch-feed-big-thumbs]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([watch-feed-big-thumbs]) h3 {margin: 0;} :host([watch-feed-big-thumbs]) ytd-thumbnail:before {display: block;content: "";padding-top: 55.95%;background-color: var(--yt-spec-10-percent-layer);} :host([watch-feed-big-thumbs]) .secondary-metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) #ad-badge-container {padding-left: 8px;} :host([watch-feed-big-thumbs]) .details {padding-top: 8px;padding-bottom: 8px;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) ytd-menu-renderer {margin-top: 8px;} /*# sourceMappingURL=ytd-compact-promoted-video-renderer.css.map*/</style>';
KWb=d}d=KWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LWb=a}a=LWb;return a}}});
var B$=z$=A$;z$.prototype.dataChanged=z$.prototype.dataChanged;z$.prototype.onTap=z$.prototype.onTap;B$.JSC$43235_DEFAULT_AD_BADGE_RENDERER={metadataBadgeRenderer:{label:_.Bg("AD_BADGE_TEXT",void 0,"Ad"),style:"BADGE_STYLE_TYPE_AD"}};_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],B$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B$.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.yX),_.T("design:type",Object)],B$.prototype,"ytdActiveViewBehavior",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")}}),
_.T("design:type",Boolean)],B$.prototype,"watchFeedBigThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")?"9999":"168"}}),
_.T("design:type",String)],B$.prototype,"thumbnailWidth",void 0);_.S([_.N(),_.T("design:type",Object)],B$.prototype,"data",void 0);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B$.prototype,"onTap",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B$.prototype,"dataChanged",null);B$=z$=_.S([_.Q({is:"ytd-compact-promoted-video-renderer"})],B$);
_.Rt(_.gna,B$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("mpuYde");

var HWb;
var IWb;
var JWb=function(){return _.K.apply(this,arguments)||this};
_.q(JWb,_.K);JWb.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{noInkOnDropdownButton:!0}}}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer"}}}};
_.t.Object.defineProperties(JWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===IWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-compact-playlist-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_playlist_renderer.ytd.compact.playlist.renderer.css.js--\x3e<div id="dismissible">\n  <ytd-playlist-thumbnail custom-thumbnail-size="[[customThumbnailSize]]" data="[[data]]" height="94" watch-feed-thumbnail="[[watchFeedBigThumbs]]" width="[[thumbnailWidth]]">\n  </ytd-playlist-thumbnail>\n  <div class="details">\n    <div class="metadata">\n      <a id="title" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n        <h3>\n          <ytd-badge-supported-renderer top-standalone-badge="[[data.topStandaloneBadge]]">\n          </ytd-badge-supported-renderer>\n          <span id="video-title" title$="[[getSimpleString(data.title)]]" aria-label$="[[data.title.accessibility.accessibilityData.label]]">\n            [[getSimpleString(data.title)]]\n          </span>\n        </h3>\n        <div class="secondary-metadata">\n          <ytd-video-meta-block class="compact" data="[[data]]" no-endpoints="" watch-feed-big-thumbs="[[watchFeedBigThumbs]]">\n          </ytd-video-meta-block>\n          <ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n          </ytd-badge-supported-renderer>\n        </div>\n      </a>\n    </div>\n    <div id="menu"></div>\n  </div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===HWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_compact_playlist_renderer.ytd.compact.playlist.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([watch-feed-big-thumbs])) ytd-playlist-thumbnail {margin-right: 8px;height: 94px;width: 168px;} .details {width: 100%;min-width: 0;} #title {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #video-title {display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host #video-title {margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} h3 {color: var(--yt-spec-text-primary);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {min-width: 0;} #badges {margin-top: 8px;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {display: none;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dismissed {padding: 8px;border: 1px solid var(--yt-spec-10-percent-layer);} #dismissible,#dismissed {width: 100%;} #dismissed:focus {outline: none;} .metadata {min-width: 0;width: 100%;padding-right: 24px;box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-menu-renderer {--yt-button-icon-padding: 0;--yt-button-icon-size: 24px;position: absolute;top: 0;right: 0;} ytd-menu-renderer[style-target=button] {padding: 0;width: 24px;height: 24px;} #buttons>* {margin-top: 4px;} :host([watch-feed-big-thumbs]:not([is-dismissed])) #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([watch-feed-big-thumbs]) ytd-playlist-thumbnail:before {display: block;content: "";padding-top: 55.95%;background-color: var(--yt-spec-10-percent-layer);} :host([watch-feed-big-thumbs]) .secondary-metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) .metadata {padding-top: 8px;padding-bottom: 8px;} :host([watch-feed-big-thumbs]) .details {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([watch-feed-big-thumbs]) ytd-menu-renderer {margin-top: 8px;} :host([watch-feed-big-thumbs]) #dismissed {margin-bottom: 8px;} :host([watch-feed-big-thumbs][is-dismissed]) #dismissed {max-height: var(--ytd-compact-item-dismissed-height);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([watch-feed-big-thumbs]) #badges {margin-top: 0;padding-left: 8px;} /*# sourceMappingURL=ytd-compact-playlist-renderer.css.map*/</style>';
HWb=d}d=HWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);IWb=a}a=IWb;return a}}});
var y$=JWb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],y$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],y$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],y$.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")}}),
_.T("design:type",Boolean)],y$.prototype,"watchFeedBigThumbs",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")?"9999":"168"}}),
_.T("design:type",String)],y$.prototype,"thumbnailWidth",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")?"":"94"}}),
_.T("design:type",String)],y$.prototype,"customThumbnailSize",void 0);_.S([_.N(),_.T("design:type",Object)],y$.prototype,"data",void 0);y$=_.S([_.Q({asyncProperties:!0,is:"ytd-compact-playlist-renderer"})],y$);
_.Rt(_.fna,y$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("aTQB0e");

var EWb;
var FWb;
var GWb=function(){return _.K.apply(this,arguments)||this};
_.q(GWb,_.K);
GWb.prototype.onDataChanged=function(){this.updateStyles({"--ytd-reel-shelf-thumbnail-height":this.thumbnailHeight+"px"});this.set("data.nextButton",{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"},accessibility:{label:_.Bg("HORIZONTAL_LIST_NEXT_LABEL",void 0,"Next")}}});this.set("data.previousButton",{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"},accessibility:{label:_.Bg("HORIZONTAL_LIST_PREVIOUS_LABEL",void 0,
"Previous")}}})};
_.t.Object.defineProperties(GWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-reel-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_shelf_renderer.ytd.reel.shelf.renderer.css.js--\x3e<div id="title-container" hidden="[[!data.title]]">\n  <h2>\n    <yt-icon id="icon" disable-upgrade$="[[!data.icon.iconType]]" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]">\n    </yt-icon>\n    <span id="title">[[getSimpleString(data.title)]]</span>\n    <span id="title-superscript">[[getSimpleString(data.titleSuperscript)]]</span>\n  </h2>\n</div>\n<div id="contents">\n  <yt-horizontal-list-renderer data="[[data]]" thumbnail-height="[[thumbnailHeight]]">\n  </yt-horizontal-list-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===EWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_shelf_renderer.ytd.reel.shelf.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title-container {color: var(--yt-spec-text-primary);height: 2rem;margin-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #icon {margin-right: 8px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #title-superscript {color: var(--yt-spec-text-secondary);margin: 0 0 4px 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} h2 {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #contents {margin-top: 24px;} /*# sourceMappingURL=ytd-reel-shelf-renderer.css.map*/</style>';
EWb=d}d=EWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FWb=a}a=FWb;return a}}});
var x$=GWb;x$.prototype.onDataChanged=x$.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],x$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],x$.prototype,"data",void 0);_.S([_.N({value:302}),_.T("design:type",Number)],x$.prototype,"thumbnailHeight",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],x$.prototype,"onDataChanged",null);
x$=_.S([_.Q({asyncProperties:!0,is:"ytd-reel-shelf-renderer"})],x$);
_.Rt(_.una,x$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("VsfQf");

var yWb;
var zWb;
var AWb=function(){return _.K.apply(this,arguments)||this};
_.q(AWb,_.K);
_.t.Object.defineProperties(AWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-destination-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.explore.ytd_destination_button_renderer.ytd.destination.button.renderer.css.js--\x3e<a id="destination-content-root" class="yt-simple-endpoint" href$="[[computeHref_(data.onTap)]]" data="[[data.onTap]]">\n  <yt-img-shadow id="destination-icon" height="32" thumbnail="[[data.iconImage]]" width="32"></yt-img-shadow>\n  <div id="destination-label-wrapper">\n     <yt-formatted-string id="destination-label" text="[[data.label]]"></yt-formatted-string>\n  </div>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.explore.ytd_destination_button_renderer.ytd.destination.button.renderer.css.js--\x3e<style>:host {width: 210px;background-color: var(--yt-spec-brand-background-solid);border-radius: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([background-refresh]) {background: var(--yt-spec-general-background-a);} :host(:hover) {background-color: var(--yt-spec-button-chip-background-hover);} #destination-content-root {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #destination-icon {margin: 20px 20px 4px 20px;} #destination-label-wrapper {margin: 0 20px 12px 20px;height: 48px;max-height: 48px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #destination-label {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} /*# sourceMappingURL=ytd-destination-button-renderer.css.map*/</style>';
yWb=d}d=yWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zWb=a}a=zWb;return a}}});
var v$=AWb;_.S([_.N(),_.T("design:type",Object)],v$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_background_colors_update")}),_.T("design:type",Boolean)],v$.prototype,"backgroundRefresh",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],v$.prototype,"ytRendererBehavior",void 0);v$=_.S([_.Q({asyncProperties:!0,is:"ytd-destination-button-renderer"})],v$);
var BWb;
var CWb;
var DWb=function(){var a=_.K.apply(this,arguments)||this;a.isRichGrid=!1;a.gridStateActionMap={"ytd-update-grid-state-action":"handleUpdateGridStateAction"};return a};
_.q(DWb,_.K);_.f=DWb.prototype;_.f.configureRendererStamper=function(){return{"data.destinationButtons":{id:"destination-buttons",mapping:{destinationButtonRenderer:{component:"ytd-destination-button-renderer"}}}}};
_.f.attached=function(){this.ytActionHandlerBehavior.registerActionMap(this.gridStateActionMap)};
_.f.handleUpdateGridStateAction=function(){this.updateDestinationButtonsVisibility()};
_.f.updateDestinationButtonsVisibility=function(){if(!this.isRichGrid){var a;if(null==(a=this.data)||!a.isExpanded){a=this.clientWidth;var b;if(a&&null!=(b=this.data)&&b.destinationButtons){b=Math.floor((a+4)/214);a=this.data.destinationButtons.length;var c=Math.ceil(a/b);this.fullyVisibleRows=1===a%b&&2===c?1:Math.min(c,2);this.isShowMoreVisible=this.fullyVisibleRows<c}}}};
_.f.updateRichGridDestinationButtonsVisibility=function(){var a,b;if(this.isRichGrid&&(null==(a=this.data)||!a.isExpanded)&&null!=(b=this.data)&&b.destinationButtons){a=this.richGridItemsPerRow+1;b=this.data.destinationButtons.length;var c=Math.ceil(b/a);this.fullyVisibleRows=1===b%a&&2===c?1:Math.min(c,2);this.isShowMoreVisible=this.fullyVisibleRows<c}};
_.f.onShowMoreClick=function(){this.isShowMoreVisible=!1;this.data&&(this.data.isExpanded=!0)};
_.t.Object.defineProperties(DWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-destination-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.explore.ytd_destination_shelf_renderer.ytd.destination.shelf.renderer.css.js--\x3e<div id="destination-buttons"></div>\n<tp-yt-paper-button id="show-more-button" aria-label$="[[data.expandButtonText]]" noink="" on-click="onShowMoreClick">\n  <yt-icon id="show-more-button-icon" icon="yt-icons:expand"></yt-icon>\n</tp-yt-paper-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.explore.ytd_destination_shelf_renderer.ytd.destination.shelf.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([is-rich-grid]) {width: 100%;} #destination-buttons {overflow-y: hidden;width: 100%;margin-top: 12px;margin-bottom: 8px;margin-right: -4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #destination-buttons>* {margin-right: 4px;margin-bottom: 4px;} :host([is-rich-grid]) #destination-buttons>ytd-destination-button-renderer {width: calc(100%/(var(--ytd-rich-grid-items-per-row) + 1) - var(--ytd-rich-grid-item-margin) - 0.01px);margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);margin-bottom: var(--ytd-rich-grid-item-margin);} #show-more-button {display: none;margin: 0;cursor: pointer;width: 100%;padding-top: 20px;padding-bottom: 20px;background: linear-gradient(rgba(0,0,0,0),var(--yt-spec-general-background-a));position: absolute;z-index: 200;} #show-more-button:hover {background: none;background-color: var(--yt-spec-general-background-b);} #show-more-button-icon {color: var(--yt-spec-icon-inactive);} :host([fully-visible-rows="1"][is-show-more-visible]) #destination-buttons {max-height: 184px;} :host([fully-visible-rows="2"][is-show-more-visible]) #destination-buttons {max-height: 304px;} :host([is-rich-grid][fully-visible-rows="1"][is-show-more-visible]) #destination-buttons {max-height: 196px;} :host([is-rich-grid][fully-visible-rows="2"][is-show-more-visible]) #destination-buttons {max-height: 328px;} :host([is-show-more-visible]) #show-more-button {bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-destination-shelf-renderer.css.map*/</style>';
BWb=d}d=BWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CWb=a}a=CWb;return a}}});
var w$=DWb;w$.prototype.updateRichGridDestinationButtonsVisibility=w$.prototype.updateRichGridDestinationButtonsVisibility;_.S([_.N(),_.T("design:type",Object)],w$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Number)],w$.prototype,"fullyVisibleRows",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],w$.prototype,"isShowMoreVisible",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],w$.prototype,"isRichGrid",void 0);
_.S([_.N({selector:_.Yu,value:0}),_.T("design:type",Number)],w$.prototype,"richGridItemsPerRow",void 0);_.S([_.N(),_.T("design:type",Object)],w$.prototype,"gridStateActionMap",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],w$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],w$.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],w$.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],w$.prototype,"ytdReduxBehavior",void 0);_.S([_.P("data","richGridItemsPerRow"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],w$.prototype,"updateRichGridDestinationButtonsVisibility",null);w$=_.S([_.Q({asyncProperties:!0,is:"ytd-destination-shelf-renderer"})],w$);
_.Rt(_.mna,w$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("MlY7Sd");

var hWb;
var iWb;
var n$=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(n$,_.K);n$.prototype.attached=function(){this.isDarkTheme=document.documentElement.hasAttribute("dark")};
n$.prototype.computeBannerImageUrl=function(a,b){if(void 0!==a){var c=a.thumbnail.thumbnails;b&&(c=a.thumbnailDark.thumbnails);this.bannerImageUrl=(a=_.nu(c,24,void 0,"height"))?a:void 0}};
n$.prototype.onDarkModeToggledAction=function(a){this.isDarkTheme=a};
n$.prototype.computeHasText=function(a){return!!a};
_.t.Object.defineProperties(n$.prototype,{bannerStyle:{configurable:!0,enumerable:!0,get:function(){if(this.bannerImageUrl)return _.ou({"background-image":_.It(this.bannerImageUrl)})}}});
_.t.Object.defineProperties(n$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-prefilled-post-dialog-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_prefilled_post_dialog_header_renderer.ytd.backstage.prefilled.post.dialog.header.renderer.css.js--\x3e<div id="banner" hidden="[[!bannerImageUrl]]" style$="[[bannerStyle]]">\n</div>\n<div id="message">\n  <p id="title" hidden="[[!getSimpleString(data.title)]]">[[getSimpleString(data.title)]]</p>\n  <p id="text" hidden="[[!hasText]]">[[getSimpleString(data.text)]]</p>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_prefilled_post_dialog_header_renderer.ytd.backstage.prefilled.post.dialog.header.renderer.css.js--\x3e<style>:host {background: var(--yt-spec-general-background-b);border-radius: 3px;font-family: "Roboto",sans-serif;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #banner {background-repeat: repeat-x;background-size: auto 100%;border-radius: 3px 3px 0 0;overflow: hidden;height: 24px;width: 100%;} #title {color: var(--yt-spec-text-primary);font-size: 1.8rem;font-weight: 400;} :host([has-text]) #title {margin-bottom: 8px;} #text {color: var(--yt-spec-text-secondary);font-size: 1.4rem;} #message {line-height: 2rem;margin: 20px 16px 24px 16px;text-align: left;width: 100%;} /*# sourceMappingURL=ytd-backstage-prefilled-post-dialog-header-renderer.css.map*/</style>';
hWb=d}d=hWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iWb=a}a=iWb;return a}}});
var o$=n$;o$.prototype.computeHasText=o$.prototype.computeHasText;o$.prototype.computeBannerImageUrl=o$.prototype.computeBannerImageUrl;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],o$.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],o$.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],o$.prototype,"ytRendererBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],o$.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],o$.prototype,"isDarkTheme",void 0);_.S([_.N(),_.T("design:type",String)],o$.prototype,"bannerImageUrl",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasText(data.text)"}),_.T("design:type",Boolean)],o$.prototype,"hasText",void 0);
_.S([_.P("data","isDarkTheme"),_.T("design:type",Function),_.T("design:paramtypes",[Object,Boolean]),_.T("design:returntype")],o$.prototype,"computeBannerImageUrl",null);_.S([_.P("data.text"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],o$.prototype,"computeHasText",null);_.S([_.V("bannerImageUrl"),_.T("design:type",Object),_.T("design:paramtypes",[])],o$.prototype,"bannerStyle",null);
o$=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-prefilled-post-dialog-header-renderer"})],o$);
var jWb;
var kWb;
var lWb=function(){return _.K.apply(this,arguments)||this};
_.q(lWb,_.K);
_.t.Object.defineProperties(lWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-zero-state-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_zero_state_renderer.ytd.backstage.zero.state.renderer.css.js--\x3e<yt-icon id="image" icon="backstage:artwork"></yt-icon>\n<span id="title">[[getSimpleString(data.title)]]</span>\n<span id="text">[[getSimpleString(data.text)]]</span>\n<yt-formatted-string id="link" force-default-style="" text="[[data.link]]"></yt-formatted-string>\n<span id="footer">[[getSimpleString(data.footer)]]</span>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_backstage_zero_state_renderer.ytd.backstage.zero.state.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #image {width: 140px;height: 140px;margin-bottom: 24px;} #title {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #text {color: var(--yt-spec-text-primary);margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #link {margin-bottom: 24px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #footer {color: var(--yt-spec-text-secondary);padding: 24px 12px 0 12px;border-top: 1px solid var(--yt-spec-10-percent-layer);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-backstage-zero-state-renderer.css.map*/</style>';
jWb=d}d=jWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kWb=a}a=kWb;return a}}});
var p$=lWb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],p$.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],p$.prototype,"data",void 0);p$=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-zero-state-renderer"})],p$);
var mWb;
var nWb;
var oWb={"data.actionButton":{id:"schedule-button",mapping:{buttonRenderer:"ytd-button-renderer"}}},pWb=function(){return _.K.apply(this,arguments)||this};
_.q(pWb,_.K);pWb.prototype.configureRendererStamper=function(){return oWb};
_.t.Object.defineProperties(pWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-post-scheduling-zero-state-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_scheduling_zero_state_renderer.ytd.post.scheduling.zero.state.renderer.css.js--\x3e<yt-icon id="image" icon="[[computeIcon_(data.icon)]]"></yt-icon>\n<span id="title">[[getSimpleString(data.title)]]</span>\n<div id="schedule-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_scheduling_zero_state_renderer.ytd.post.scheduling.zero.state.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #image {width: 40px;height: 40px;margin-bottom: 20px;color: var(--yt-spec-text-secondary);} #title {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} /*# sourceMappingURL=ytd-post-scheduling-zero-state-renderer.css.map*/</style>';
mWb=d}d=mWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nWb=a}a=nWb;return a}}});
var q$=pWb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],q$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],q$.prototype,"rendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],q$.prototype,"data",void 0);_.S([_.N({computed:"computeIcon_(data.icon)"}),_.T("design:type",String)],q$.prototype,"icon",void 0);q$=_.S([_.Q({asyncProperties:!0,is:"ytd-post-scheduling-zero-state-renderer"})],q$);
var qWb;
var rWb;
var r$=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-update-posts-total-count-action":"handleUpdatePostsTotalCountAction"};return a};
_.q(r$,_.K);r$.prototype.onTabsActivate=function(a){this.data&&this.data.tabs&&this.fire("yt-navigate",{endpoint:this.data.tabs[a.detail.selected].navigationEndpoint})};
r$.prototype.shouldShowTotalCount=function(a){return a&&void 0!==a.totalCount};
r$.prototype.handleUpdatePostsTotalCountAction=function(a){var b=this.get(["data.tabs",1,"totalCount"]),c=this.get("updatePostsTotalCountAction.updateType",a);a=this.get("updatePostsTotalCountAction.number",a);void 0!==b&&"UPDATE_POSTS_TOTAL_COUNT_TYPE_UNKNOWN"!==c&&a&&("UPDATE_POSTS_TOTAL_COUNT_TYPE_ADD"===c?this.set(["data.tabs",1,"totalCount"],Number(b)+a):"UPDATE_POSTS_TOTAL_COUNT_TYPE_REMOVE"===c&&this.set(["data.tabs",1,"totalCount"],Number(b)-a))};
_.t.Object.defineProperties(r$.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){if(this.data&&this.data.tabs)for(var a=0,b=this.data.tabs.length;a<b;a++)if(this.data.tabs[a].selected)return a;return 0}}});
_.t.Object.defineProperties(r$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-post-stream-filter-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_stream_filter_renderer.ytd.post.stream.filter.renderer.css.js--\x3e<div id="filter-container">\n  <tp-yt-paper-tabs selected="[[selected]]" on-iron-activate="onTabsActivate">\n    <template is="dom-repeat" items="[[data.tabs]]">\n      <tp-yt-paper-tab>\n        [[getSimpleString(item.title)]]\n        <template is="dom-if" if="[[shouldShowTotalCount(item)]]">\n          <span class="posts-count">[[item.totalCount]]</span>\n        </template>\n      </tp-yt-paper-tab>\n    </template>\n  </tp-yt-paper-tabs>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qWb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.backstage.ytd_post_stream_filter_renderer.ytd.post.stream.filter.renderer.css.js--\x3e<style>:host {display: block;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #filter-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} tp-yt-paper-tabs {--paper-tabs-selection-bar-color: var(--yt-spec-text-primary);--paper-tabs-selection-bar: {border-bottom-width: 2px;};color: var(--yt-spec-text-secondary);height: 48px;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} tp-yt-paper-tab.iron-selected {color: var(--yt-spec-text-primary);} tp-yt-paper-tab {--paper-tab-ink: var(--yt-spec-paper-tab-ink);} .posts-count {background-color: var(--yt-spec-badge-chip-background);border-radius: 0.2rem;height: 1.6rem;width: 1.6rem;text-align: center;margin-left: 12px;display: inline-block;font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;} /*# sourceMappingURL=ytd-post-stream-filter-renderer.css.map*/</style>";
qWb=d}d=qWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rWb=a}a=rWb;return a}}});
var s$=r$;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],s$.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],s$.prototype,"rendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],s$.prototype,"data",void 0);_.S([_.V("data.tabs"),_.T("design:type",Number),_.T("design:paramtypes",[])],s$.prototype,"selected",null);s$=_.S([_.Q({asyncProperties:!0,is:"ytd-post-stream-filter-renderer"})],s$);
var sWb;
var tWb;
var uWb=function(){var a=_.K.apply(this,arguments)||this;a.isOpen=!1;a.commentDialog=null;a.actionMap={"yt-create-comment-action":"onCreateCommentAction","yt-hide-identity-chip-action":"onHideIdentityChip"};return a};
_.q(uWb,_.K);_.f=uWb.prototype;_.f.configureRendererStamper=function(){return{"data.imageButton":{id:"image-button",mapping:{buttonRenderer:"ytd-button-renderer"}},commentDialog:{id:"comment-dialog",mapping:{commentDialogRenderer:{component:"ytd-comment-dialog-renderer",properties:{zeroStepChannelCreationRenderer:"[[data.zeroStep.zeroStepChannelCreationRenderer]]"}}}}}};
_.f.ready=function(){var a=this,b=this.$["placeholder-area"],c=function(d){d.stopPropagation();d instanceof KeyboardEvent&&"keypress"===d.type&&13!==d.keyCode&&32!==d.keyCode||a.openDialog()};
this.$["simplebox-placeholder"].addEventListener("focus",c);b.addEventListener("tap",c);b.addEventListener("keypress",c)};
_.f.dataChanged=function(){this.commentDialog=null;this.isOpen=!1};
_.f.openDialog=function(){this.data&&(this.data.prepareAccountEndpoint?this.fire("yt-navigate",{endpoint:this.data.prepareAccountEndpoint}):(this.commentDialog||(this.commentDialog={commentDialogRenderer:this.computeCommentDialog(this.data)}),this.isOpen=!0,this.$["comment-dialog"].firstElementChild.focus()))};
_.f.onYtCommentboxDismiss=function(a){a.stopPropagation();this.isOpen=!1};
_.f.onCreateCommentAction=function(a){this.get("createCommentAction.contents",a)&&(this.isOpen=!1)};
_.f.computeCommentDialog=function(a){return{placeholderText:a.placeholderText,authorThumbnail:a.authorThumbnail,submitButton:a.submitButton,imageButton:a.imageButton,cancelButton:a.cancelButton,emojiButton:a.emojiButton,emojis:a.emojis,emojiPicker:a.emojiPicker,aadcGuidelinesStateEntityKey:a.aadcGuidelinesStateEntityKey,openAadcDialog:a.openAadcDialog,unicodeEmojisUrl:a.unicodeEmojisUrl}};
_.f.onHideIdentityChip=function(a){a.hideIdentityChipAction&&this.set("data.placeholderText",a.hideIdentityChipAction.placeholderText)};
_.t.Object.defineProperties(uWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-simplebox-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_simplebox_renderer.ytd.comment.simplebox.renderer.css.js--\x3e<yt-img-shadow id="author-thumbnail" height="40" hidden="[[isOpen]]" thumbnail="[[data.authorThumbnail]]" width="40">\n</yt-img-shadow>\n<div id="placeholder-area" hidden="[[isOpen]]">\n  <yt-formatted-string id="simplebox-placeholder" role="textbox" tabindex="0" text="[[data.placeholderText]]">\n  </yt-formatted-string>\n</div>\n<div id="attachments" hidden="[[isOpen]]">\n  <div id="image-button"></div>\n</div>\n<div id="comment-dialog" hidden="[[!isOpen]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_simplebox_renderer.ytd.comment.simplebox.renderer.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;margin-right: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #author-thumbnail {width: 40px;height: 40px;margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #comment-dialog {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;min-width: 0;} #simplebox-placeholder {color: var(--yt-spec-text-secondary);outline: none;-webkit-flex-basis: 100%;flex-basis: 100%;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #placeholder-area {cursor: text;padding-bottom: 4px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #attachments {margin-left: 56px;-webkit-flex-basis: 100%;flex-basis: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #attachments ytd-button-renderer {--yt-button-color: var(--yt-spec-icon-inactive);} /*# sourceMappingURL=ytd-comment-simplebox-renderer.css.map*/</style>';
sWb=d}d=sWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tWb=a}a=tWb;return a}}});
var t$=uWb;t$.prototype.onYtCommentboxDismiss=t$.prototype.onYtCommentboxDismiss;t$.prototype.dataChanged=t$.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],t$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],t$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],t$.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],t$.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],t$.prototype,"isOpen",void 0);_.S([_.N(),_.T("design:type",Object)],t$.prototype,"commentDialog",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],t$.prototype,"enableCreationBox",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],t$.prototype,"dataChanged",null);
_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],t$.prototype,"onYtCommentboxDismiss",null);t$=_.S([_.Q({is:"ytd-comment-simplebox-renderer"})],t$);
var vWb;
var wWb;
var xWb=function(){var a=_.K.apply(this,arguments)||this;a.isPostSchedulingEnabled=_.x("enable_post_scheduling");a.hasFinishedStamping=!1;a.JSC$43219_handleOpenPostCommentDialogActionAfterStamp=!1;a.actionMap={"yt-signal-action-open-post-comment-dialog":"handleSignalActionOpenPostCommentDialogAction"};return a};
_.q(xWb,_.K);_.f=xWb.prototype;
_.f.configureRendererStamper=function(){return{"data.createRenderer":{id:"simple-box",mapping:{commentSimpleboxRenderer:"ytd-comment-simplebox-renderer"}},backstagePostDialog:{id:"backstage-post-dialog",mapping:{backstagePostDialogRenderer:{component:"ytd-backstage-post-dialog-renderer"}},events:!0},"data.sortMenu":{id:"sort-menu",mapping:{sortFilterSubMenuRenderer:"yt-sort-filter-sub-menu-renderer"}},"data.alerts":{id:"alert",mapping:{alertWithButtonRenderer:"ytd-alert-with-button-renderer"},renderPriority:0,
waitForSignal:"eocs"},"data.zeroStateMessage":{id:"zero-state-message",mapping:{backstageZeroStateRenderer:"ytd-backstage-zero-state-renderer"}},"data.prefilledCreateDialogHeaderMessage":{id:"prefilled-dialog-header",mapping:{backstagePrefilledPostDialogHeaderRenderer:"ytd-backstage-prefilled-post-dialog-header-renderer"}},"data.postStreamFilter":{id:"post-stream-filter",mapping:{postStreamFilterRenderer:"ytd-post-stream-filter-renderer"}},"data.schedulingZeroStateMessage":{id:"scheduling-zero-state-message",
mapping:{postSchedulingZeroStateRenderer:"ytd-post-scheduling-zero-state-renderer"}}}};
_.f.attached=function(){this.hasActionsChange&&this.observePrefilledBackstagePostDialog()};
_.f.onStampFinished=function(){this.hasFinishedStamping=!0;this.hasActionsChange&&this.observePrefilledBackstagePostDialog();this.JSC$43219_handleOpenPostCommentDialogActionAfterStamp&&this.handleSignalActionOpenPostCommentDialogAction()};
_.f.onYtServiceRequestSent=function(a,b){if(!_.x("kevlar_command_handler")&&b.actions)for(a=0;a<b.actions.length;a++){var c=b.actions[a];c.showSchedulingPanelCommand&&this.$$("#backstage-post-dialog > ytd-backstage-post-dialog-renderer").openSchedulingPanel(c.showSchedulingPanelCommand)}};
_.f.observePrefilledBackstagePostDialog=function(){if(this.hasFinishedStamping){this.hasActionsChange=!1;var a;if(this.getPrefilledBackstagePostDialog(null==(a=this.data)?void 0:a.actions)){this.$["prefilled-dialog-header"].hidden=!1;var b=this.$["backstage-post-dialog"].firstElementChild;b&&_.nt(this,function(){b.focus();b.openDialog&&b.openDialog()})}}else this.hasActionsChange=!0};
_.f.computeIsBackstage=function(a){return a};
_.f.onYtCommentboxDismiss=function(){this.$["prefilled-dialog-header"].hidden=!0;this.removePrefilledDialog(this.data)};
_.f.removePrefilledDialog=function(a){if(null==a?0:a.actions){for(var b=a.actions.length-1;0<=b;b--){var c=a.actions[b];c.createBackstagePostDialogEndpoint&&c.createBackstagePostDialogEndpoint.dialog&&delete a.actions[b]}this.set("data",void 0);this.set("data",a)}};
_.f.getPrefilledBackstagePostDialog=function(a){if(a)for(var b=0;b<a.length;b++){var c=a[b];if(c&&c.createBackstagePostDialogEndpoint&&c.createBackstagePostDialogEndpoint.dialog)return c.createBackstagePostDialogEndpoint.dialog}return null};
_.f.computeBackstagePostDialog=function(a){return a&&(this.getPrefilledBackstagePostDialog(a.actions)||a.createRenderer)};
_.f.dataChanged=function(){if(this.data){var a=this.data.customEmojis,b=this.data.unicodeEmojisUrl;_.OC.clear();b&&_.kVa(_.OC,b);a&&_.OC.load(a)}};
_.f.handleSignalActionOpenPostCommentDialogAction=function(){var a=this.$$("ytd-comment-simplebox-renderer");a?a.openDialog():this.JSC$43219_handleOpenPostCommentDialogActionAfterStamp=!0};
_.t.Object.defineProperties(xWb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comments-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comments_header_renderer.ytd.comments.header.renderer.css.js--\x3e<div id="title" hidden="[[!data.countText]]">\n  <h2 id="count">\n    <yt-formatted-string class="count-text" text="[[data.countText]]">\n    </yt-formatted-string>\n  </h2>\n  <span id="sort-menu"></span>\n</div>\n<div id="red-commenting-div" hidden="[[!data.redCommentingText]]">\n  <yt-formatted-string id="red-commenting-text" text="[[data.redCommentingText]]">\n  </yt-formatted-string>\n</div>\n<div id="alert"></div>\n<div id="prefilled-dialog-header"></div>\n<div id="simple-box"></div>\n<div id="backstage-post-dialog"></div>\n<div id="post-stream-filter" hidden="[[!isPostSchedulingEnabled]]"></div>\n<div id="zero-state-message"></div>\n<div id="scheduling-zero-state-message" hidden="[[!isPostSchedulingEnabled]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comments_header_renderer.ytd.comments.header.renderer.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;display: block;margin-top: var(--comments-header-renderer-margin-top,24px);margin-bottom: var(--comments-header-renderer-margin-bottom,32px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([is-backstage]) {margin-bottom: 24px;} .count-text {vertical-align: middle;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} yt-sort-filter-sub-menu-renderer {margin-top: -3px;} ytd-alert-with-button-renderer {margin: 0 0 24px 0;} #title {margin-bottom: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #count {display: inline-block;margin: 0 32px 0 0;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} yt-formatted-string {color: var(--yt-spec-text-primary);} #toggle-button {margin-left: auto;} #red-commenting-text {color: var(--yt-spec-text-secondary);} #red-commenting-div {margin-top: -4px;padding: 0 0 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #red-commenting-text:empty {display: none;} ytd-post-stream-filter-renderer {margin-top: 24px;} ytd-backstage-zero-state-renderer {margin: 16px 0 16px 0;} ytd-post-scheduling-zero-state-renderer {margin: 72px 0 16px 0;} ytd-backstage-prefilled-post-dialog-header-renderer {margin-bottom: 16px;} /*# sourceMappingURL=ytd-comments-header-renderer.css.map*/</style>';
vWb=d}d=vWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wWb=a}a=wWb;return a}}});
var u$=xWb;u$.prototype.dataChanged=u$.prototype.dataChanged;u$.prototype.onYtCommentboxDismiss=u$.prototype.onYtCommentboxDismiss;u$.prototype.observePrefilledBackstagePostDialog=u$.prototype.observePrefilledBackstagePostDialog;u$.prototype.onYtServiceRequestSent=u$.prototype.onYtServiceRequestSent;u$.prototype.onStampFinished=u$.prototype.onStampFinished;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],u$.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],u$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],u$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],u$.prototype,"data",void 0);_.S([_.N({computed:"computeIsBackstage(data.isBackstageContent)",reflectToAttribute:!0}),_.T("design:type",Boolean)],u$.prototype,"isBackstage",void 0);
_.S([_.N({readOnly:!0,computed:"computeBackstagePostDialog(data)"}),_.T("design:type",Object)],u$.prototype,"backstagePostDialog",void 0);_.S([_.N(),_.T("design:type",Object)],u$.prototype,"isPostSchedulingEnabled",void 0);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],u$.prototype,"onStampFinished",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],u$.prototype,"onYtServiceRequestSent",null);_.S([_.P("data.actions"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],u$.prototype,"observePrefilledBackstagePostDialog",null);
_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],u$.prototype,"onYtCommentboxDismiss",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],u$.prototype,"dataChanged",null);u$=_.S([_.Q({is:"ytd-comments-header-renderer"})],u$);
_.Rt(_.ena,u$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("MYuYkc");

var fWb;
var gWb;
var l$=function(){var a=_.K.apply(this,arguments)||this;a.hasContents=!1;a.actionMap={"yt-update-channel-switcher-page-action":"updateChannelSwitcherAction"};return a};
_.q(l$,_.K);l$.prototype.computeHasContents=function(a){var b;return(null==a?0:a.contents)&&0<(null==a?void 0:null==(b=a.contents)?void 0:b.length)?!0:!1};
l$.prototype.updateChannelSwitcherAction=function(a){var b,c;void 0!==(null==a?void 0:null==(b=a.updateChannelSwitcherPageAction)?void 0:null==(c=b.page)?void 0:c.channelSwitcherPageRenderer)&&(this.data=a.updateChannelSwitcherPageAction.page.channelSwitcherPageRenderer)};
l$.prototype.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{channelSwitcherHeaderRenderer:"ytd-channel-switcher-header-renderer"}},"data.contents":{id:"contents",mapping:{buttonRenderer:"ytd-button-renderer",accountItemRenderer:"ytd-account-item-renderer",continuationItemRenderer:"ytd-continuation-item-renderer"}}}};
l$.prototype.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"contents"}};
_.t.Object.defineProperties(l$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-switcher-page-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_page_renderer.ytd.channel.switcher.page.renderer.css.js--\x3e<div id="header"></div>\n<div id="contents"></div>\n<yt-formatted-string id="no-result" text="[[data.noResult]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fWb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_page_renderer.ytd.channel.switcher.page.renderer.css.js--\x3e<style>:host {display: inline;} #contents {display: grid;grid-template-columns: repeat(3,minmax(0,298px));} #contents>* {width: 298px;height: 64px;border-right: 1px solid var(--yt-spec-10-percent-layer);} @media(min-width:1200px) {#contents>*:nth-child(3n) {border-right: none;}} @media(max-width:1199px) {#contents {grid-template-columns: repeat(2,minmax(0,298px));}#contents>*:nth-child(even) {border-right: none;}} @media(max-width:900px) {#contents {grid-template-columns: 298px;}#contents>* {border-right: none;}} #contents ytd-continuation-item-renderer {max-width: 200px;} #contents ytd-button-renderer {display: block;width: 200px;padding: 14px 98px 14px 0;height: 36px;} #contents ytd-continuation-item-renderer {min-width: 298px;} #contents ytd-account-item-renderer:hover {background-color: var(--yt-spec-10-percent-layer);} :host([has-contents]) #no-result {display: none;} #no-result {color: var(--yt-spec-text-primary);justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-channel-switcher-page-renderer.css.map*/</style>';
fWb=d}d=fWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gWb=a}a=gWb;return a}}});
var m$=l$;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],m$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],m$.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],m$.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],m$.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeHasContents(data)"}),_.T("design:type",Boolean)],m$.prototype,"hasContents",void 0);m$=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-switcher-page-renderer"})],m$);
_.Rt(_.dna,m$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("CF909");

var DRb=function(a){if(a){var b=new Image;_.Kw(b,a)}},k8=function(a){return _.x("kevlar_watch_split_pane")&&!(.5624>a)},ERb=function(a,b,c,d){c=void 0===c?!1:c;
d=void 0===d?NaN:d;var e=Math.max(a.width,474);if(_.x("kevlar_watch_feed_big_thumbs")&&a.width>=1550-_.AH()&&800<=a.height)e=!k8(b)||1550<=a.width?e-432:e-382,k8(b)&&(e-=_.AH());else if(1E3<=a.width){var h=474;1140>=a.width&&k8(b)?h=357:_.x("kevlar_watch_feed_big_thumbs")&&(h=382);e-=h;k8(b)&&(e-=_.AH())}else e-=48;e=Math.min(e,1280);var l=e*b;h=240;c&&(h=380);if(!(.5624>b)){var m=1327;_.x("kevlar_watch_split_pane")&&(m+=_.AH());!_.x("kevlar_watch_flexy_disable_small_window_sizing")&&(630>a.height&&
657<=a.width||630<=a.height&&1E3<=a.width&&a.width<m)?h=360:!_.x("kevlar_watch_flexy_disable_large_window_sizing")&&630<=a.height&&a.width>=m&&(h=480)}d=void 0===d?NaN:d;d=Math.min(l,a.height-(80+(isNaN(d)?_.JEb:d)));d=Math.max(d,h);1>b?e=d/b:1E3<=a.width&&(e=ERb(a,.5625,c).width);return new _.gk(Math.round(e),Math.round(d))},FRb=function(){-1!=_.hd("service_worker_push_logged_out_prompt_watches")&&_.fI("WatchCount").then(function(a){100<=a||_.mI("WatchCount",a+1)})},GRb=function(a,b){return _.Yg(a.entities,
"liveChatPollStateEntity",b)},l8=function(a,b){var c=_.fg();
c&&a&&_.tv(c,_.no(a),b)},HRb=function(a){if(a=_.no(a)){var b=_.fg();
b&&_.pt(b,a)}},IRb=function(a,b){var c;
return Object.assign({},a,{runs:null==(c=a.runs)?void 0:c.map(function(d){var e;return Object.assign({},d,{text:null==(e=d.text)?void 0:e.replace("$0",b)})})})},m8=function(a,b){var c={};
c[a]=b;try{window.top.postMessage(c,_.w("POST_TO_PARENT_DOMAIN","https://www.youtube.com"),void 0)}catch(d){_.Qf(d)}},JRb=function(a){var b;
return null==a?void 0:null==(b=a.data)?void 0:b.trackingParams},MRb=function(){if(!_.x("disable_biscotti_fetch_for_ad_blocker_detection")&&!_.x("disable_biscotti_fetch_entirely_for_all_web_clients")&&_.MHa()&&"1"!=_.u.get(_.w("PLAYER_VARS",{}),"privembed",!1)){var a=function(){KRb=!0;
"google_ad_status"in window?_.ed("DCLKSTAT",1):_.ed("DCLKSTAT",2)};
try{_.vE("//static.doubleclick.net/instream/ad_status.js",a)}catch(b){}LRb.push(_.xe.addLowPriorityJob(function(){if(!(KRb||"google_ad_status"in window)){try{_.zXa("//static.doubleclick.net/instream/ad_status.js",a)}catch(b){}KRb=!0;_.ed("DCLKSTAT",3)}},5E3))}},NRb=function(a){_.G.call(this,a)};
_.q(NRb,_.G);var ORb=function(a){_.x4a(a);return _.ba(a.front_)},PRb=function(a){for(var b=_.k(["action",
"command","endpoint"]),c=b.next();!c.done;c=b.next())if(c=_.Fg(a,c.value))return c},QRb=!1,RRb={AFN:[48,
"Af.","AFN"],AMD:[32,"Dram","dram"],ANG:[2,"NAf.","ANG"],AOA:[2,"Kz","Kz"],ARS:[34,"$","AR$"],AWG:[2,"Afl.","Afl."],AZN:[34,"\u20bc","AZN"],BAM:[2,"KM","KM"],BBD:[2,"$","Bds$"],BHD:[3,"din","din"],BIF:[0,"FBu","FBu"],BMD:[2,"$","BD$"],BND:[2,"$","B$"],BOB:[2,"Bs","Bs"],BSD:[2,"$","BS$"],BTN:[2,"Nu.","Nu."],BWP:[2,"P","pula"],BYN:[50,"\u0440.","BYN"],BYR:[48,"\u0440.","BYR"],BZD:[2,"$","BZ$"],CLF:[4,"UF","CLF"],CNH:[2,"\u00a5","RMB\u00a5"],CUC:[1,"$","CUC$"],CUP:[2,"$","CU$"],CVE:[2,"CVE","Esc"],DJF:[0,
"Fdj","Fdj"],DZD:[2,"din","din"],ERN:[2,"Nfk","Nfk"],FJD:[2,"$","FJ$"],FKP:[2,"\u00a3","FK\u00a3"],GEL:[2,"GEL","GEL"],GHS:[2,"GHS","GHS"],GIP:[2,"\u00a3","GI\u00a3"],GMD:[2,"GMD","GMD"],GNF:[0,"FG","FG"],GTQ:[2,"Q","GTQ"],GYD:[0,"$","GY$"],HNL:[2,"L","HNL"],HTG:[2,"HTG","HTG"],IQD:[0,"din","IQD"],JOD:[3,"din","JOD"],KES:[2,"Ksh","Ksh"],KGS:[2,"KGS","KGS"],KHR:[2,"Riel","KHR"],KMF:[0,"CF","KMF"],KPW:[0,"\u20a9KP","KPW"],KWD:[3,"din","KWD"],KYD:[2,"$","KY$"],KZT:[2,"\u20b8","KZT"],LAK:[0,"\u20ad",
"\u20ad"],LBP:[0,"L\u00a3","LBP"],LRD:[2,"$","L$"],LSL:[2,"LSL","LSL"],LYD:[3,"din","LD"],MAD:[2,"dh","MAD"],MDL:[2,"MDL","MDL"],MGA:[0,"Ar","MGA"],MKD:[2,"din","MKD"],MMK:[0,"K","MMK"],MOP:[2,"MOP","MOP$"],MRO:[0,"MRO","MRO"],MUR:[0,"MURs","MURs"],MWK:[2,"MWK","MWK"],MZN:[2,"MTn","MTn"],NAD:[2,"$","N$"],NGN:[2,"\u20a6","NG\u20a6"],NIO:[2,"C$","C$"],NPR:[2,"Rs","NPRs"],NZD:[2,"$","NZ$"],OMR:[3,"Rial","OMR"],PGK:[2,"PGK","PGK"],PYG:[16,"Gs.","PYG"],QAR:[2,"Rial","QR"],RWF:[0,"RF","RF"],SBD:[2,"$",
"SI$"],SCR:[2,"SCR","SCR"],SDG:[2,"SDG","SDG"],SHP:[2,"\u00a3","SH\u00a3"],SLL:[0,"SLL","SLL"],SOS:[0,"SOS","SOS"],SRD:[2,"$","SR$"],SSP:[2,"\u00a3","SSP"],STD:[0,"Db","Db"],SYP:[0,"\u00a3","SY\u00a3"],SZL:[2,"SZL","SZL"],TJS:[2,"Som","TJS"],TMT:[50,"m","TMT"],TND:[3,"din","DT"],TOP:[2,"T$","T$"],TTD:[2,"$","TT$"],UGX:[0,"UGX","UGX"],UZS:[0,"so\u02bcm","UZS"],VEF:[2,"Bs","Bs"],VES:[2,"Bs","Bs"],VUV:[0,"VUV","VUV"],WST:[2,"WST","WST"],XAF:[0,"FCFA","FCFA"],XCD:[2,"$","EC$"],XOF:[0,"CFA","CFA"],XPF:[48,
"FCFP","FCFP"],ZMW:[0,"ZMW","ZMW"],ZWD:[0,"$","Z$"]},SRb=function(){if(!QRb){for(var a in RRb)_.bF[a]=RRb[a];QRb=!0}},TRb=function(){this.nextPtr_=0;
this.buff_=[]};
_.f=TRb.prototype;_.f.add=function(a){var b=this.buff_[this.nextPtr_];this.buff_[this.nextPtr_]=a;this.nextPtr_=(this.nextPtr_+1)%5;return b};
_.f.get=function(a){a=URb(this,a);return this.buff_[a]};
_.f.set=function(a,b){a=URb(this,a);this.buff_[a]=b};
_.f.getCount=function(){return this.buff_.length};
_.f.isEmpty=function(){return 0==this.buff_.length};
_.f.clear=function(){this.nextPtr_=this.buff_.length=0};
_.f.getValues=function(){var a=this.getCount(),b=this.getCount(),c=[];for(a=this.getCount()-a;a<b;a++)c.push(this.get(a));return c};
_.f.getKeys=function(){for(var a=[],b=this.getCount(),c=0;c<b;c++)a[c]=c;return a};
_.f.containsKey=function(a){return a<this.getCount()};
_.f.containsValue=function(a){for(var b=this.getCount(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};
var URb=function(a,b){if(b>=a.buff_.length)throw Error("Te");return 5>a.buff_.length?b:(a.nextPtr_+Number(b))%5};
var VRb=function(a,b){a=void 0===a?"":a;this.currencyUnitMicros=b=void 0===b?1E4:b;this.currencySymbol="";a?(this.currencyFormatter=new n8(a),this.currencySymbol=_.bF[a][1]):this.currencyFormatter=new o8;this.currencyUnitMicros=b||1E4},p8=function(a,b){return(b-b%a.currencyUnitMicros)/1E6},WRb=function(){},o8=function(){};
_.q(o8,WRb);o8.prototype.parse=function(a){a=Number(a);return Number.isInteger(a)?a:NaN};
o8.prototype.format=function(a){return a.toString()};
var n8=function(a){SRb();this.formatter=new _.fF(4,a)};
_.q(n8,WRb);n8.prototype.parse=function(a){var b=[0];var c=this.formatter.parse(a,b);return b[0]!==a.length?NaN:c};
n8.prototype.format=function(a){return this.formatter.format(a)};
var q8=function(a,b){_.uk.call(this);this.currentVersion_=new _.ZZ(0,0);this.invalidationCallback_=b;this.objectId_=new _.wEb(a.objectId);this.subscription_=this.tangoClientStoppable_=this.tangoClient_=null;var c=_.Sk();b=c.promise;this.initializationPromise_=b.then(this.initialize_.bind(this,a));b.thenCatch(this.handleInitializationFailure_.bind(this));_.a3a("auth",function(){c.resolve()})};
_.q(q8,_.uk);_.f=q8.prototype;_.f.initialize_=function(a){var b=a.sessionIndex,c=new _.uEb("/punctual/ytprod/youtube_live_chat_web");c.authParams.apiKey=a.apiKey;b&&(c.authParams.authUser=b);this.tangoClient_=new _.yEb(_.vEb(c));this.tangoClientStoppable_=this.tangoClient_.start()};
_.f.handleInitializationFailure_=function(a){if(a instanceof Error||a instanceof Object||a instanceof String)var b=a;_.Qf(new _.ge("Failed to initialize Tango client in CommentsInvalidation",b))};
_.f.disposeInternal=function(){this.initializationPromise_.cancel();this.subscription_&&this.subscription_.unsubscribe();this.tangoClientStoppable_&&this.tangoClientStoppable_.stop();_.uk.prototype.disposeInternal.call(this)};
_.f.register=function(){var a=this;this.initializationPromise_.then(function(){var b=a.objectId_;a.subscription_=_.zEb(a.tangoClient_,b).subscribe(function(c){if(!(b.name!=a.objectId_.name||c.version&&0>=c.version.compare(a.currentVersion_))){var d=c.payload;d=d?JSON.parse(d):void 0;a.invalidationCallback_(b.name,d);c.version&&(a.currentVersion_=c.version)}},function(c){return _.Qf(c)})},function(){},this)};
_.f.unregister=function(){var a=this;this.initializationPromise_.then(function(){null!=a.subscription_&&(a.subscription_.unsubscribe(),a.subscription_=null)},function(){},this)};
var XRb=[{query:window.matchMedia("(max-width: 656px)"),size:new _.gk(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new _.gk(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new _.gk(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new _.gk(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new _.gk(854,480)},{query:window.matchMedia("(min-width: 1000px)"),size:new _.gk(640,360)}];
var YRb=function(a,b){this.playerProvider_=a;this.actionSenderElement_=b;this.pausePlaybackJob_=this.showBlockingWarningJob_=this.showWarningJob_=0;this.youThereData_=null;this.inYouThereFlow_=this.ignoreFullscreenExitUserActivity_=this.isUserPredictedAbsent_=!1};
YRb.prototype.reset=function(){ZRb(this);this.isUserPredictedAbsent_=!1};
var ZRb=function(a,b){!a.youThereData_||a.showWarningJob_||void 0!==b&&b||(_.nI("YOU_THERE_EVENT_TYPE_NAVIGATED_OUT",_.fg(),a.youThereData_,a.clientPlaybackNonce_),_.If());_.xe.cancelJob(a.showWarningJob_);a.showWarningJob_=0;_.xe.cancelJob(a.showBlockingWarningJob_);a.showBlockingWarningJob_=0;_.xe.cancelJob(a.pausePlaybackJob_);a.pausePlaybackJob_=0;a.youThereData_=null;a.clientPlaybackNonce_=void 0;a.inYouThereFlow_=!1},aSb=function(a,b){var c,d,e;
_.y(function(h){if(1==h.nextAddress)return a.reset(),_.B(h,a.playerProvider_().getPlayerPromise(),2);c=h.yieldResult;a.clientPlaybackNonce_=c.getVideoData().cpn;a.youThereData_=b.configData.youThereData;if(!a.youThereData_)return h.return();if(a.youThereData_.triggerReason&&"YOU_THERE_TRIGGER_REASON_3"==a.youThereData_.triggerReason&&!_.u4a())return _.nI("YOU_THERE_EVENT_TYPE_RATE_LIMITED",_.fg(),a.youThereData_,a.clientPlaybackNonce_),h.return();d=a.youThereData_.promptDelaySec;e=c.getCurrentTime();
a.showWarningJob_=_.xe.addLowPriorityJob(function(){return _.y(function(l){a.showWarningJob_=0;return _.B(l,$Rb(a),0)})},1E3*Math.max(d-e,0));
_.bf(h)})},$Rb=function(a){var b,c,d,e,h,l;
return _.y(function(m){if(1==m.nextAddress)return _.B(m,a.playerProvider_().getPlayerPromise(),2);if(3!=m.nextAddress)return b=m.yieldResult,c=b.getCurrentTime(),_.B(m,bSb(a),3);d=m.yieldResult;if(!d||!a.youThereData_)return m.return();if(_.x("check_user_lact_at_prompt_shown_time_on_web")&&(e=parseInt(a.youThereData_.lactThresholdMs,10),_.of()<e))return _.nI("YOU_THERE_EVENT_TYPE_BELOW_LACT_THRESHOLD",_.fg(),a.youThereData_,a.clientPlaybackNonce_),m.return();if(0>=a.youThereData_.playbackPauseDelayMs)return cSb(a),
m.return();!_.x("external_fullscreen")&&(h=_.dJ())&&(a.ignoreFullscreenExitUserActivity_=!0,_.xe.addLowPriorityJob(function(){a.ignoreFullscreenExitUserActivity_=!1},2E3),_.z7(h));
a.youThereData_.showToastWarningPrompt&&(r8(a,a.youThereData_.showWarningActions),a.inYouThereFlow_=!0,_.nI("YOU_THERE_EVENT_TYPE_PROMPT_SHOWN",_.fg(),a.youThereData_,a.clientPlaybackNonce_,c),_.nI("YOU_THERE_EVENT_TYPE_WARNING_PROMPT_SHOWN",_.fg(),a.youThereData_,a.clientPlaybackNonce_,c));l=0;a.youThereData_.blockingPromptDelayMs&&(l=a.youThereData_.blockingPromptDelayMs);a.showBlockingWarningJob_=_.xe.addLowPriorityJob(function(){return _.y(function(p){a.showBlockingWarningJob_=0;return _.B(p,
dSb(a),0)})},l);
_.bf(m)})},dSb=function(a){var b,c;
return _.y(function(d){if(1==d.nextAddress)return _.B(d,bSb(a),2);b=d.yieldResult;if(!a.youThereData_)return d.return();b&&(a.youThereData_.showBlockingWarningAction&&(_.nI("YOU_THERE_EVENT_TYPE_WARNING_PROMPT_SHOWN_IN_DIALOG",_.fg(),a.youThereData_,a.clientPlaybackNonce_),a.youThereData_.showBlockingWarningAction.commandExecutorCommand?r8(a,a.youThereData_.showBlockingWarningAction.commandExecutorCommand.commands):r8(a,[a.youThereData_.showBlockingWarningAction]),a.inYouThereFlow_=!0),c=a.youThereData_.playbackPauseDelayMs,
a.pausePlaybackJob_=_.xe.addLowPriorityJob(function(){return _.y(function(e){a.pausePlaybackJob_=0;return _.B(e,cSb(a),0)})},c));
_.bf(d)})},cSb=function(a){var b;
return _.y(function(c){if(1==c.nextAddress)return _.B(c,bSb(a),2);b=c.yieldResult;if(!a.youThereData_)return c.return();b&&(_.nI("YOU_THERE_EVENT_TYPE_PLAYBACK_PAUSED",_.fg(),a.youThereData_,a.clientPlaybackNonce_),r8(a,a.youThereData_.showPausedActions),a.inYouThereFlow_=!0);_.bf(c)})},bSb=function(a){var b,c;
return _.y(function(d){if(1==d.nextAddress)return _.B(d,a.playerProvider_().getPlayerPromise(),2);b=d.yieldResult;c=b.getPlayerState();return d.return(-1==c||1==c||3==c)})},eSb=function(a,b){var c;
_.y(function(d){if(1==d.nextAddress){if(a.isUserPredictedAbsent_==b)return d.jumpTo(0);a.isUserPredictedAbsent_=b;return _.B(d,a.playerProvider_().getPlayerPromise(),3)}c=d.yieldResult;c.setUserEngagement(b);b&&_.nI("YOU_THERE_EVENT_TYPE_ABR_TRIGGERED",_.fg(),a.youThereData_,a.clientPlaybackNonce_);_.bf(d)})},r8=function(a,b){if(_.x("handle_service_request_actions")||_.x("kevlar_youthere_service_endpoint_actions_killswitch"))_.Lg(a.actionSenderElement_,b,a.actionSenderElement_);
else{b=_.k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c.commandMetadata&&c.commandMetadata.webCommandMetadata&&c.commandMetadata.webCommandMetadata.sendPost?_.Kg(a.actionSenderElement_,[c]):_.Lg(a.actionSenderElement_,[c],a.actionSenderElement_)}};
var fSb=_.Yc({entities:_.Cka}),gSb=new _.Uo(fSb);
var hSb=function(){return _.vt.apply(this,arguments)||this};
_.q(hSb,_.vt);_.t.Object.defineProperties(hSb.prototype,{store:{configurable:!0,enumerable:!0,get:function(){return gSb}}});
var iSb=hSb;iSb=_.S([_.wt()],iSb);var s8=[_.Vu.prototype,iSb.prototype];
var t8={YtLiveChatReduxBehavior:[]};t8.YtLiveChatReduxBehavior.push.apply(t8.YtLiveChatReduxBehavior,s8);
var jSb=function(){try{return!!window.top.location.href&&!1}catch(a){return!0}};
var u8={},kSb=function(){return _.vt.apply(this,arguments)||this};
_.q(kSb,_.vt);kSb.prototype.onPdgItemBehaviorClick=function(){this.data&&this.ytRendererBehavior.logExplicitClick(this.data)};
var v8=kSb;v8.prototype.onPdgItemBehaviorClick=v8.prototype.onPdgItemBehaviorClick;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],v8.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],v8.prototype,"data",void 0);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],v8.prototype,"onPdgItemBehaviorClick",null);v8=_.S([_.wt()],v8);u8.YtPdgLiveChatItemBehavior=[v8.prototype,_.U.YtRendererBehavior];
var lSb;
var mSb;
var nSb=function(){return _.K.apply(this,arguments)||this};
_.q(nSb,_.K);
_.t.Object.defineProperties(nSb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-message-buy-flow-heading-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_message_buy_flow_heading_renderer.yt.live.chat.message.buy.flow.heading.renderer.css.js--\x3e<yt-formatted-string id="heading-title" text="[[data.title]]"></yt-formatted-string>\n<yt-formatted-string id="heading-text" text="[[data.text]]"></yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_message_buy_flow_heading_renderer.yt.live.chat.message.buy.flow.heading.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: rgb(39, 147, 230);--yt-endpoint-visited-color: rgb(39, 147, 230);display: block;margin: 10px 0 12px;} yt-formatted-string {display: block;} #heading-title {font-size: 16px;font-weight: 500;line-height: 20px;color: var(--yt-live-chat-primary-text-color);} #heading-text {margin-top: 4px;font-size: 14px;line-height: 17px;} /*# sourceMappingURL=yt-live-chat-message-buy-flow-heading-renderer.css.map*/</style>";
lSb=d}d=lSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mSb=a}a=mSb;return a}}});
var w8=nSb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],w8.prototype,"ytRendererBehavior",void 0);_.S([_.N({}),_.T("design:type",Object)],w8.prototype,"data",void 0);w8=_.S([_.lu({is:"yt-live-chat-message-buy-flow-heading-renderer",isInjectionRoot:!0})],w8);
var oSb;
var pSb;
var qSb=function(a){this.messageTiers=a;if(!a.length||!a)throw Error("Ah");};
qSb.prototype.getTier=function(a){if(!(a>this.messageTiers.length))return this.messageTiers[a]};
var rSb=function(a,b){if(b===Number(a.messageTiers[a.messageTiers.length-1].maxPriceMicros))return a.messageTiers.length;a=a.messageTiers.findIndex(function(c){return b>=Number(c.minPriceMicros)&&b<=Number(c.maxPriceMicros)});
return-1!==a?a:0},sSb=function(a,b,c,d){this.minPrice=a;
this.maxPrice=b;this.numberFormatter=c;this.messageTiers=d},uSb=function(a,b,c){b=a.numberFormatter.currencyFormatter.parse(b);
if(isNaN(b)||b<a.minPrice||b>a.maxPrice||0!==Math.round(1E6*b)%a.numberFormatter.currencyUnitMicros)return Object.assign({},c,{isInvalidPrice:!0});c=Math.round(1E6*b);c-=c%a.numberFormatter.currencyUnitMicros;b=rSb(a.messageTiers,c);return tSb(a,c,b)},tSb=function(a,b,c){var d=a.numberFormatter;
d=d.currencyFormatter.format(p8(d,b)).replace(d.currencySymbol,"").trim();var e=a.numberFormatter;e=e.currencyFormatter.format(p8(e,b));var h=c;h>=a.messageTiers.messageTiers.length&&(h=a.messageTiers.messageTiers.length-1);var l=a.messageTiers.getTier(h)||a.messageTiers.getTier(0);var m=a.messageTiers;h=h>=m.messageTiers.length?void 0:m.messageTiers[h].durationLabel;l={shouldShowPickers:!(!l.messageTemplate.liveChatPaidMessageRenderer||!l.messageTemplate.liveChatPaidMessageRenderer.inputField)||
!(!l.messageTemplate.liveChatMembershipItemRenderer||!l.messageTemplate.liveChatMembershipItemRenderer.inputField),messageRenderer:l.messageTemplate,maxNumCharacters:Number(l.maxNumCharacters)||0,durationLabel:h,shouldHideDurationLabel:!h};h=a.numberFormatter;h={valueNow:h.currencyFormatter.format(p8(h,b)),valueMin:a.numberFormatter.currencyFormatter.format(a.minPrice),valueMax:a.numberFormatter.currencyFormatter.format(a.maxPrice)};return{sliderIndex:c,priceMicros:b,isInvalidPrice:!1,formattedPrice:d,
formattedPriceWithCurrency:e,messagePreviewState:l,sliderAriaState:h,isPriceAdjustable:1<a.messageTiers.messageTiers.length}};
var vSb;
var wSb;
var xSb=function(){return _.K.apply(this,arguments)||this};
_.q(xSb,_.K);
_.t.Object.defineProperties(xSb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-paid-message-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_message_footer_renderer.yt.live.chat.paid.message.footer.renderer.css.js--\x3e<div id="container">\n  <div id="icon" hidden$="[[!data.icon]]">\n    <yt-icon icon="[[data.icon.iconType]]"></yt-icon>\n  </div>\n  <div id="text">\n    <yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n  </div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_message_footer_renderer.yt.live.chat.paid.message.footer.renderer.css.js--\x3e<style>#container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #icon {min-width: 40px;margin-right: 16px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: none;-webkit-flex: none;flex: none;display: -ms-flexbox;display: -webkit-flex;display: flex;} #text {font-size: 12px;line-height: 16px;margin-bottom: 3px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;} /*# sourceMappingURL=yt-live-chat-paid-message-footer-renderer.css.map*/</style>";
vSb=d}d=vSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wSb=a}a=wSb;return a}}});
var x8=xSb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],x8.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],x8.prototype,"data",void 0);x8=_.S([_.lu({is:"yt-live-chat-paid-message-footer-renderer",isInjectionRoot:!0})],x8);
var ySb;
var zSb;
var y8=function(){var a=_.K.apply(this,arguments)||this;a.allowAnimations=!1;return a};
_.q(y8,_.K);_.f=y8.prototype;_.f.shouldSupportInlineActionButtons=function(){return!0};
_.f.configureRendererStamper=function(){return{"data.footer":{id:"footer",mapping:{liveChatPaidMessageFooterRenderer:"yt-live-chat-paid-message-footer-renderer"}},"data.buyButton":{id:"buy-flow-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
_.f.ready=function(){var a=document.querySelector("yt-live-chat-app");a&&a.hasAttribute("dashboard-money-feed")&&_.H(this).setAttribute("dashboard-money-feed","")};
_.f.attached=function(){this.allowAnimations=!1};
_.f.dataChanged=function(a){a&&(a={"--yt-live-chat-paid-message-primary-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.bodyBackgroundColor),"--yt-live-chat-paid-message-secondary-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.headerBackgroundColor),"--yt-live-chat-paid-message-header-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.headerTextColor),"--yt-live-chat-paid-message-author-name-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.authorNameTextColor),"--yt-live-chat-paid-message-timestamp-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.timestampColor),
"--yt-live-chat-paid-message-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.bodyTextColor)},this.updateStyles(a),this.allowAnimations=!0)};
_.f.messageChanged=function(){var a,b=null==(a=this.data)?void 0:a.message;a=_.H(this.$.message);a.textContent="";b&&a.appendChild(this.ytLiveChatItemBehavior.createDocumentFragment(b))};
_.f.computeShowOnlyHeader=function(a,b){return a?this.isEmpty(a,b)&&!a.footer:!1};
_.f.computeShowFooterDivider=function(a,b,c){return a?!!a.footer&&!this.isEmpty(a,b)&&!c:!1};
_.f.computeIsUserEditable=function(a){return!!a.inputField};
_.f.inputFocus=function(){var a=this.$$("yt-live-chat-text-input-field-renderer");a&&a.focus()};
_.f.inputInsertEmoji=function(a){var b=this.$$("yt-live-chat-text-input-field-renderer");b&&b.insertEmoji(a)};
_.f.inputMessage=function(){var a=this.$$("yt-live-chat-text-input-field-renderer"),b;return a&&(null==(b=this.data)?0:b.inputField)?(a.completeEmojis(),_.XE(a.liveChatRichMessageInput)):null};
_.f.isDeletedChanged=function(){this.ytLiveChatItemBehavior.isDeleted&&this.set("data.message",null)};
_.f.isEmpty=function(a,b){return a?a.empty||!(a.message||a.inputField||b):!0};
_.f.onBuyButtonClick=function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.buyButton)?void 0:b.buttonRenderer;c&&c.trackingParams&&HRb(c.trackingParams);c&&c.command&&this.fire("yt-navigate",{endpoint:c.command})};
_.t.Object.defineProperties(y8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-paid-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_message_renderer.yt.live.chat.paid.message.renderer.css.js--\x3e<div id="card">\n  <div id="header">\n    <template is="dom-if" if="[[data.authorPhoto]]" restamp="">\n      <yt-img-shadow id="author-photo" height="40" thumbnail="[[data.authorPhoto]]" width="40"></yt-img-shadow>\n    </template>\n    <template is="dom-if" if="[[!data.authorPhoto]]">\n      <yt-icon id="author-photo" icon="yt-icons:avatar_anonymous"></yt-icon>\n    </template>\n    <div id="header-content">\n      <div id="header-content-primary-column">\n        <div id="author-name" is-deleted$="[[isDeleted]]">[[getSimpleString(data.authorName)]]</div>\n        <div id="purchase-amount-column">\n          <yt-img-shadow id="currency-img" height="16" hidden$="[[!data.currencyImage.thumbnailDetails]]" thumbnail="[[data.currencyImage.thumbnailDetails]]" width="16">\n          </yt-img-shadow>\n          <div id="purchase-amount">\n            <yt-formatted-string text="[[data.purchaseAmountText]]"></yt-formatted-string>\n          </div>\n        </div>\n      </div>\n      <span id="timestamp">[[timestampString]]</span>\n    </div>\n    <div id="menu" hidden$="[[!data.contextMenuEndpoint]]">\n      <yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="showContextMenu">\n        <yt-icon icon="more_vert"></yt-icon>\n      </yt-icon-button>\n    </div>\n  </div>\n  <div id="content">\n    <div id="message" dir="auto"></div>\n    <div id="input-container">\n      <template is="dom-if" if="[[data.inputField]]">\n        <yt-live-chat-text-input-field-renderer id="input-field" data="[[data.inputField.liveChatTextInputFieldRenderer]]" emoji-manager="[[emojiManager]]" message-input="[[messageInput]]" participants-manager="[[participantsManager]]">\n        </yt-live-chat-text-input-field-renderer>\n      </template>\n    </div>\n    <yt-formatted-string id="deleted-state" is-deleted$="[[isDeleted]]" text="[[data.deletedStateMessage]]"></yt-formatted-string>\n    <div id="footer"></div>\n  </div>\n</div>\n<div id="buy-flow-button" hidden$="[[!data.buyButton]]" on-click="onBuyButtonClick"></div>\n<div id="inline-action-button-container">\n  <div id="inline-action-buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ySb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_message_renderer.yt.live.chat.paid.message.renderer.css.js--\x3e<style>@charset "UTF-8"; /**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ #timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {position: relative;display: block;padding: 4px 24px;font-size: 15px;--yt-live-chat-paid-message-background-color: var( --yt-live-chat-paid-message-primary-color );--yt-live-chat-paid-message-header-background-color: var( --yt-live-chat-paid-message-secondary-color );--yt-live-chat-text-input-field-placeholder-color: var( --yt-live-chat-paid-message-color );--yt-live-chat-item-timestamp-display: var( --yt-live-chat-paid-message-timestamp-display, none );} :host([dashboard-money-feed]) {padding: 0;padding-bottom: 8px;--yt-live-chat-paid-message-background-color: transparent;--yt-live-chat-paid-message-header-background-color: transparent;--yt-live-chat-item-timestamp-display: block;} #card {border-radius: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} :host([dashboard-money-feed]) #card {border-radius: 0;box-shadow: none;} #header {position: relative;background-color: var(--yt-live-chat-paid-message-header-background-color,#125aac);color: var(--yt-live-chat-paid-message-header-color,#fff);font-weight: 500;padding: 8px 16px;min-height: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;border-top-left-radius: 4px;border-top-right-radius: 4px;} :host([show-only-header]) #header {border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;} :host([dashboard-money-feed]) #header {color: var(--yt-live-chat-secondary-text-color);padding-bottom: 0;} #author-photo {width: 40px;height: 40px;} yt-icon#author-photo {display: none;} :host([dashboard-money-feed]) yt-icon#author-photo {display: block;} #header-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} :host([dashboard-money-feed]) #header-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header-content-primary-column {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([dashboard-money-feed]) #header-content-primary-column {margin-bottom: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;-ms-flex: none;-webkit-flex: none;flex: none;} #author-name {color: var(--yt-live-chat-paid-message-author-name-color,rgba(255,255,255,0.7));font-size: 14px;} :host([dashboard-money-feed]) #author-name {margin-right: 8px;} #currency-img {margin-right: 4px;} #purchase-amount-column {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([dashboard-money-feed]) #purchase-amount {display: inline;height: 24px;min-width: 16px;border-radius: 12px;margin-right: 8px;padding: 0 12px;background-color: var(--yt-live-chat-paid-message-primary-color);color: var(--yt-live-chat-paid-message-color);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} :host([dashboard-money-feed]) #author-name {display: block;color: var(--yt-live-chat-secondary-text-color);} :host([dashboard-money-feed]) #author-name[is-deleted]::before {content: "\u200b";display: inline;width: 0;} #menu {background: linear-gradient(to right,transparent,var(--yt-live-chat-paid-message-header-background-color,#125aac) 100%);border-radius: 0 4px 4px 0;} :host([dashboard-money-feed]) #menu {margin-top: 8px;background: linear-gradient(to right,transparent,var(--yt-live-chat-background-color) 40%);} :host([allow-animations]) #content,:host([allow-animations]) #header {transition-property: background-color,color;transition-duration: var(--yt-live-chat-animation-duration,0.2s);} #content {background-color: var(--yt-live-chat-paid-message-background-color,#1565c0);color: var(--yt-live-chat-paid-message-color,#fff);padding: 8px 16px;word-wrap: break-word;word-break: break-word;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;} #content img {width: var(--yt-live-chat-emoji-size);height: var(--yt-live-chat-emoji-size);margin: -1px 2px 1px;vertical-align: middle;} :host([dashboard-money-feed]) #content {padding: 0;padding-left: 72px;color: var(--yt-live-chat-secondary-text-color);} :host([show-only-header]) #content {visibility: hidden;padding: 0;} a {display: inline;text-decoration: underline;} #message a {word-break: break-all;} :host([dashboard-money-feed]) #message {margin-top: 4px;} #message a .mention {text-decoration: underline;} #message:empty,#author-name:empty:not([is-deleted]),#deleted-state:empty {display: none;} #deleted-state {display: block;font-style: italic;opacity: 0.7;} :host([dashboard-money-feed]) #deleted-state[is-deleted] {margin-top: 4px;} :host([dashboard-money-feed]) #author-name {-ms-flex: none;-webkit-flex: none;flex: none;} :host([show-footer-divider]) #footer::before {content: "";display: flex;border-top: 1px solid rgba(0,0,0,0.12);margin: 8px 0;} :host([is-user-editable]) #footer:not(:empty) {padding-top: 8px;} #buy-flow-button yt-button-renderer {width: 100%;text-align: center;margin-top: 12px;background-color: #fff;--yt-button-color: #030303;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} /*# sourceMappingURL=yt-live-chat-paid-message-renderer.css.map*/</style>';
ySb=d}d=ySb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zSb=a}a=zSb;return a}}});
var z8=y8;z8.prototype.isDeletedChanged=z8.prototype.isDeletedChanged;z8.prototype.messageChanged=z8.prototype.messageChanged;z8.prototype.dataChanged=z8.prototype.dataChanged;_.S([_.L(u8.YtPdgLiveChatItemBehavior),_.T("design:type",Object)],z8.prototype,"ytPdgLiveChatItemBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],z8.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],z8.prototype,"ytLiveChatItemBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],z8.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],z8.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeIsUserEditable(data)"}),_.T("design:type",Boolean)],z8.prototype,"isUserEditable",void 0);_.S([_.N({computed:"computeShowOnlyHeader(data, isDeleted)",reflectToAttribute:!0}),_.T("design:type",Boolean)],z8.prototype,"showOnlyHeader",void 0);
_.S([_.N({computed:"computeShowFooterDivider(data, isDeleted, isUserEditable)",reflectToAttribute:!0}),_.T("design:type",Boolean)],z8.prototype,"showFooterDivider",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],z8.prototype,"allowAnimations",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],z8.prototype,"dataChanged",null);
_.S([_.P("data.message"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],z8.prototype,"messageChanged",null);_.S([_.P("isDeleted"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],z8.prototype,"isDeletedChanged",null);z8=_.S([_.Q({is:"yt-live-chat-paid-message-renderer"})],z8);
var ASb={properties:{hidden:{type:Boolean,reflectToAttribute:!0,observer:"hiddenChanged_"}},observers:["isAttachedChanged_(isAttached)"],created:function(){this.restoreFocusNode_=null},
attached:function(){document.addEventListener("focus",this.onFocus_.bind(this),!0)},
detached:function(){this.restoreFocusNode_=null;document.removeEventListener("focus",this.onFocus_.bind(this),!0)},
focusChild_:function(){window.requestAnimationFrame(function(){this.restoreFocusNode_||(this.restoreFocusNode_=document.activeElement);var a=_.Ax(this);a.length&&a[a.length-1].focus()}.bind(this))},
isAttachedChanged_:function(a,b){a?this.focusChild_():b&&this.restoreFocus_()},
hiddenChanged_:function(){this.hidden?this.restoreFocus_():this.focusChild_()},
restoreFocus_:function(){this.restoreFocusNode_&&(this.restoreFocusNode_.focus(),this.restoreFocusNode_=null)},
onFocus_:function(a){this.hidden||-1!=_.H(a).path.indexOf(this)||(a.stopPropagation(),this.focusChild_())}};
var BSb;
var CSb;
_.Ng({is:"yt-live-chat-dialog-renderer",_template:function(){if(void 0!==CSb)return CSb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_dialog_renderer.yt.live.chat.dialog.renderer.css.js--\x3e<div id="inner" aria-describedby="live-chat-dialog-body" aria-labelledby="live-chat-dialog-title" role="dialog">\n  <yt-formatted-string id="live-chat-dialog-title" text="[[data.title]]"></yt-formatted-string>\n  <div id="live-chat-dialog-body">\n    \n    <template is="dom-repeat" items="[[data.dialogMessages]]">\n      <yt-formatted-string force-default-style="" split-lines="" text="[[item]]"></yt-formatted-string>\n    </template>\n  </div>\n  <div id="button" on-click="onClick_"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_dialog_renderer.yt.live.chat.dialog.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;background-color: var(--yt-live-chat-overlay-color);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #inner {max-width: calc(100% - 32px);margin: 13px 16px;color: var(--yt-live-chat-primary-text-color);background-color: var(--yt-live-chat-dialog-background-color);border-radius: 4px;overflow-y: auto;box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.4);} #live-chat-dialog-title {display: block;font-size: 20px;margin: 24px 24px 8px;} #live-chat-dialog-body {margin: 16px 24px 0;font-size: 14px;color: var(--yt-live-chat-dialog-text-color);line-height: 24px;} #live-chat-dialog-body yt-formatted-string {display: block;margin: 16px 0;} #button {margin: 8px;font-size: 15px;font-weight: 500;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} /*# sourceMappingURL=yt-live-chat-dialog-renderer.css.map*/</style>";
BSb=d}d=BSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return CSb=a},
properties:{data:Object},hostAttributes:{hidden:!0},behaviors:[_.X.YtRendererstamperBehavior,ASb],stampDom:{"data.confirmButton":{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}}},onClick_:function(a){a.target!=this.$.button&&(this.hidden=!0)}});
var DSb;
var ESb;
_.Ng({is:"yt-live-chat-icon-toggle-button-renderer",_template:function(){if(void 0!==ESb)return ESb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-icon-toggle-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_icon_toggle_button_renderer.yt.live.chat.icon.toggle.button.renderer.css.js--\x3e<yt-icon-button id="button" disabled="[[disabled]]" label="[[data.accessibility.accessibilityData.label]]" on-click="onClick_">\n  <span id="bubble"></span>\n  <div>\n    <yt-icon icon="[[icon]]"></yt-icon>\n    <span hidden="[[!data.iconBadgeText]]" id="icon-badge-text">[[data.iconBadgeText]]</span>\n  </div>\n</yt-icon-button>\n<template is="dom-if" if="[[showTooltip]]">\n  <tp-yt-paper-tooltip id="tooltip" for="button">[[data.tooltip]]</tp-yt-paper-tooltip>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_icon_toggle_button_renderer.yt.live.chat.icon.toggle.button.renderer.css.js--\x3e<style>:host {display: inline-block;} #button {width: 40px;height: 40px;padding: 8px;position: relative;} #icon-badge-text {color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-call-to-action);position: absolute;top: 2px;left: 23px;width: 16px;height: 16px;line-height: 16px;border-radius: 50%;border: 2px solid var(--yt-spec-brand-background-primary);font-size: 10px;text-align: center;cursor: pointer;} #bubble {border-radius: 50%;background-color: var(--yt-live-chat-monetization-button-glow,gold);position: absolute;width: 50px;height: 50px;top: -5px;left: -5px;transform: scale(0);animation-duration: 1s;animation-timing-function: ease-in;animation-fill-mode: forwards;animation-iteration-count: 5;} :host([bubble]) #bubble {animation-name: bubble;} @keyframes bubble {0% {transform: scale(0);opacity: 100%;}70% {opacity: 100%;}100% {transform: scale(1);opacity: 0;}} /*# sourceMappingURL=yt-live-chat-icon-toggle-button-renderer.css.map*/</style>";
DSb=d}d=DSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return ESb=a},
properties:{data:{type:Object,observer:"dataChanged_"},id:{type:String,computed:"computeId_(data.targetId)",reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},icon:{type:String,readOnly:!0,computed:"computeIcon_(data.icon.iconType, active)"},disabled:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"disabledChanged_"},showTooltip:{type:Boolean,computed:"computeShowTooltip_(data, disabled)"}},listeners:{animationend:"onAnimationEnd_"},behaviors:[_.Y.YtActionHandlerBehavior,
_.U.YtRendererBehavior,_.RB.YtLiveChatTooltipTargetingBehavior],actionMap:{"yt-live-chat-actions":"handleLiveChatActions_"},created:function(){this.tooltip_=null},
dataChanged_:function(a){a.tooltip?(this.tooltip_||(this.tooltip_=document.createElement("tp-yt-paper-tooltip"),this.tooltip_.position="top",this.tooltip_.offset=8,this.tooltip_.fitToVisibleBounds=!0,this.appendChild(this.tooltip_)),_.H(this.tooltip_).textContent=a.tooltip):this.tooltip_&&(this.removeChild(this.tooltip_),this.tooltip_=null);a.disabled&&(this.disabled=!0)},
computeId_:function(a){return a},
computeIcon_:function(a,b){return a?b&&this.data&&this.data.toggledIcon?"yt-icons:"+this.data.toggledIcon.iconType.toLowerCase():"yt-icons:"+a.toLowerCase():""},
onClick_:function(){this.data.disabled?this.showTooltip&&this.immediatelyShowTooltip_():((this.active=!this.active)&&this.logExplicitClick(this.data),"creator"!=this.id&&"product-picker"!=this.id||this.removeBubble_(),this.fire("yt-live-chat-icon-toggle-button-renderer-toggle",{targetId:this.id}))},
immediatelyShowTooltip_:function(){var a=this.$$("#tooltip");a.animationDelay=0;a.animationConfig={entry:[{name:"fade-in-animation",timing:{}}]};a.show()},
disabledChanged_:function(a){a?_.H(this).setAttribute("aria-disabled",""):_.H(this).removeAttribute("aria-disabled")},
computeShowTooltip_:function(a,b){return!!(a&&a.tooltip&&b)},
handleLiveChatActions_:function(a){a.length&&("creator"!=this.id&&"product-picker"!=this.id||a.forEach(function(b){(b=this.get("addLiveChatTickerItemAction.item.liveChatTickerPaidMessageItemRenderer",b))&&b.durationSec==b.fullDurationSec&&this.startBubble_(this.colorFromDecimal_(b.startBackgroundColor))},this))},
onAnimationEnd_:function(){_.H(this).removeAttribute("bubble")},
startBubble_:function(a){this.updateStyles({"--yt-live-chat-monetization-button-glow":a});_.H(this).setAttribute("bubble","")},
removeBubble_:function(){_.H(this).removeAttribute("bubble")},
colorFromDecimal_:function(a){a=parseInt(a,10);return"rgba("+[a>>16&255,a>>8&255,a&255,(a>>24&255)/255].join()+")"}});
var FSb;
var GSb;
var HSb;
var ISb;
var A8=function(){var a=_.K.apply(this,arguments)||this;a.checked=!1;a.disabled=!1;a.indeterminate=!1;a.icon="";a.hideLabel=!1;return a};
_.q(A8,_.K);_.f=A8.prototype;_.f.beforeRegister=function(){this.ironA11yKeysBehavior.keyBindings={"space:keydown":"onClick"}};
_.f.attached=function(){this.setAttribute("role","checkbox");this.setAttribute("tabindex","0")};
_.f.onClick=function(){if(!this.disabled){this.checked=!this.checked;this.dispatchEvent(new CustomEvent("yt-checkbox-renderer-changed",{detail:{checked:this.checked},bubbles:!0,composed:!0}));var a;(null==(a=this.data)?0:a.onSelectionChangeCommand)&&_.Kg(this,[this.data.onSelectionChangeCommand])}};
_.f.dataChanged=function(){this.data&&(this.disabled=this.data.isDisabled||!1,this.checked="CHECKBOX_CHECKED_STATE_CHECKED"===this.data.checkedState,this.indeterminate="CHECKBOX_CHECKED_STATE_INDETERMINATE"===this.data.checkedState,this.hideLabel=!this.data.label)};
_.f.stateChanged=function(){this.checked?(this.icon=this.getIcon("check_box"),this.ariaChecked="true"):this.indeterminate?(this.icon=this.getIcon("check_box_bar"),this.ariaChecked="mixed"):(this.icon=this.getIcon("check_box_outline_blank"),this.ariaChecked="false");this.setAttribute("aria-checked",this.ariaChecked||"")};
_.f.getIcon=function(a){return(this.isMusicWeb?"":"yt-sys-icons:")+a};
_.t.Object.defineProperties(A8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ISb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-checkbox-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_checkbox_renderer.yt.checkbox.renderer.css.js--\x3e<yt-icon icon="[[icon]]"></yt-icon>\n<label id="label" hidden$="[[hideLabel]]">\n  <yt-formatted-string text="[[data.label]]"></yt-formatted-string>\n</label>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===HSb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_checkbox_renderer.yt.checkbox.renderer.css.js--\x3e<style>:host {display: inline-flex;align-items: center;box-sizing: border-box;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host(:focus) {outline: var(--yt-spec-text-primary) auto 2px;} :host(:not([disabled]):hover) {background-color: var(--yt-spec-badge-chip-background);} :host([disabled]) yt-icon {color: var(--yt-spec-text-disabled);} yt-icon {flex-shrink: 0;} label {margin-left: 12px;} /*# sourceMappingURL=yt-checkbox-renderer.css.map*/</style>';
HSb=d}d=HSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ISb=a}a=ISb;return a}}});
var B8=A8;B8.prototype.stateChanged=B8.prototype.stateChanged;B8.prototype.dataChanged=B8.prototype.dataChanged;B8.prototype.onClick=B8.prototype.onClick;_.S([_.L(_.Xs),_.T("design:type",Object)],B8.prototype,"ironA11yKeysBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],B8.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],B8.prototype,"checked",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],B8.prototype,"disabled",void 0);
_.S([_.N(),_.T("design:type",Object)],B8.prototype,"indeterminate",void 0);_.S([_.N({value:"WEB_REMIX"===_.w("INNERTUBE_CLIENT_NAME")}),_.T("design:type",Boolean)],B8.prototype,"isMusicWeb",void 0);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B8.prototype,"onClick",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B8.prototype,"dataChanged",null);
_.S([_.P("checked","disabled","indeterminate"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],B8.prototype,"stateChanged",null);B8=_.S([_.lu({is:"yt-checkbox-renderer",isInjectionRoot:!0})],B8);
var C8=function(){return _.K.apply(this,arguments)||this};
_.q(C8,_.K);C8.prototype.configureRendererStamper=function(){return{"data.checkboxRenderer":{id:"checkbox",mapping:{checkboxRenderer:"yt-checkbox-renderer"}}}};
_.t.Object.defineProperties(C8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===GSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-pdg-banner-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_banner_renderer.ytd.pdg.banner.renderer.css.js--\x3e<div id="checkbox"></div>\n<yt-formatted-string text="[[data.textContent]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FSb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_banner_renderer.ytd.pdg.banner.renderer.css.js--\x3e<style>:host {display: flex;align-items: center;padding: 8px 16px;box-sizing: border-box;background-image: linear-gradient(90deg,#065fd4,#0000b2);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} yt-checkbox-renderer {color: var(--yt-spec-white-1);} yt-formatted-string {color: var(--yt-spec-white-1);margin-left: 12px;} /*# sourceMappingURL=ytd-pdg-banner-renderer.css.map*/</style>';
FSb=d}d=FSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);GSb=a}a=GSb;return a}}});
var D8=C8;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],D8.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],D8.prototype,"data",void 0);D8=_.S([_.Q({asyncProperties:!0,is:"ytd-pdg-banner-renderer"})],D8);
var JSb={YtPickerBehavior:{listeners:{"picker-cancelled":"onPickerCancel_"},togglePicker_:function(a){var b=this.$.pickers.selected;if(b){_.H(this).removeAttribute(b+"-open");var c=this.$["picker-buttons"].querySelector("#"+b);c&&(c.active=!1)}c=a;b==a&&(c=null);b!=a&&_.H(this).setAttribute(a+"-open","");this.$.pickers.selected=c;_.C(this,"yt-live-chat-picker-changed",[c])},
onPickerCancel_:function(){this.togglePicker_(this.$.pickers.selected)}}};
Polymer({is:"yt-live-chat-message-buy-flow-renderer",_template:function(){if(void 0!==pSb)return pSb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-message-buy-flow-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_message_buy_flow_renderer.yt.live.chat.message.buy.flow.renderer.css.js--\x3e<iron-pages selected="{{selectedPage}}">\n  <div id="preview">\n    <div id="header">\n      <yt-icon-button id="close-button" label="[[data.backButton.buttonRenderer.accessibility.label]]" on-click="onCloseButtonClick_">\n        <yt-icon icon="close"></yt-icon>\n      </yt-icon-button>\n      <div id="title">[[getSimpleString(data.headerText)]]</div>\n      <div id="help" on-click="onHelpClick_"></div>\n    </div>\n    <div id="banner"></div>\n    <div id="info">\n      <div id="info-heading"></div>\n      <div id="info-content">\n        <div id="subtitle">\n          <yt-icon icon="yt-icons:keep"></yt-icon>\n          <span>[[getSimpleString(durationLabel)]]</span>\n        </div>\n        <div id="characters">[[characterCountDisplay]]/[[maxCharacterCount]]</div>\n      </div>\n    </div>\n    <div id="message">\n      <div id="message-renderer"></div>\n      <div id="pickers-container" hidden$="[[!shouldShowPickers]]">\n        <iron-pages id="pickers" attr-for-selected="id" selected-attribute="selected"></iron-pages>\n        <div id="picker-buttons" on-yt-live-chat-icon-toggle-button-renderer-toggle="handlePickerButtonToggle_"></div>\n      </div>\n    </div>\n    <div id="price" hidden$="[[arePriceControlsHidden]]">\n      <div id="price-input-container">\n        <yt-img-shadow height="16" hidden$="[[!data.currencyFormattingDetails.currencyImage.thumbnailDetails]]" thumbnail="[[data.currencyFormattingDetails.currencyImage.thumbnailDetails]]" width="16">\n        </yt-img-shadow>\n        <div class="dim" hidden$="[[hideCurrencySymbol]]">[[currencySymbol]]</div>\n\n          <tp-yt-paper-input id="price-input" label="" max="[[priceMax]]" maxlength="[[priceMaxDigits]]" min="[[priceMin]]" no-label-float="" use-v2-underline="" value="[[priceInputValue]]" on-focusout="onFocusOut_" on-input="onInputChange_">\n          </tp-yt-paper-input>\n          <div class="dim" hidden$="[[!data.currency]]">[[data.currency]]</div>\n      </div>\n      <tp-yt-paper-slider id="price-slider" max="[[sliderMax]]" max-markers="[[sliderMaxMarkers]]" min="0" snaps="" step="1" value="[[sliderIndex]]" on-change="onSliderChange_" on-focus="onSliderFocus_"></tp-yt-paper-slider>\n    </div>\n    <div id="error"></div>\n    <tp-yt-paper-button id="button" disabled$="[[buyButtonDisabled]]" on-click="onBuyButtonClick_">\n      [[buyButtonText]]\n    </tp-yt-paper-button>\n  </div>\n  <div id="loading">\n    <tp-yt-paper-spinner active=""></tp-yt-paper-spinner>\n  </div>\n  <div id="blank">\n    \n  </div>\n</iron-pages>\n<div id="dialog"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_message_buy_flow_renderer.yt.live.chat.message.buy.flow.renderer.css.js--\x3e<style>:host {display: block;font-size: 15px;background-color: var(--yt-live-chat-action-panel-background-color,var(--yt-deprecated-opalescence-soft-grey));color: var(--yt-live-chat-primary-text-color,var(--yt-spec-text-primary));--yt-live-chat-buy-flow-price-input-font-size: 20px;--yt-emoji-picker-category-background-color: var( --yt-live-chat-sub-panel-background-color-transparent, hsla(0, 0%, 97%, 0.7) );--yt-emoji-picker-category-button-color: var( --yt-live-chat-secondary-text-color, var(--yt-spec-text-secondary) );--yt-emoji-picker-category-margin-left: 16px;--yt-emoji-picker-renderer-content-margin: 0 16px;--yt-emoji-picker-renderer-height: 160px;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} #preview {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #loading {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #header {font-size: 16px;padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #close-button {margin-right: 16px;color: var(--yt-live-chat-icon-button-color);width: 40px;height: 40px;padding: 8px;} #help {margin-left: auto;} #help>* {color: var(--yt-live-chat-icon-button-color);} #dialog yt-live-chat-dialog-renderer {z-index: 3;} #info {font-size: 12px;padding: 4px 16px;color: var(--yt-live-chat-secondary-text-color,var(--yt-spec-text-secondary));display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-pdg-banner-renderer {margin-bottom: 16px;} #info-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #subtitle {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #subtitle yt-icon {width: 16px;height: 16px;margin-right: 4px;} :host([hide-duration-label]) #subtitle {visibility: hidden;} :host([message-too-long]) #characters {color: var(--yt-live-chat-count-color-error,var(--yt-spec-brand-link-text));} #message {margin: 0 16px;} #message-renderer>* {position: relative;padding: 0;} #pickers-container {box-sizing: border-box;padding-top: 4px;margin-top: -4px;border-radius: 0 0 4px 4px;background-color: var(--yt-live-chat-sub-panel-background-color,#d9d9d9);} yt-emoji-picker-renderer {margin: 16px 0 -4px;} #picker-buttons {padding: 4px 8px;} #price {font-weight: 100;margin: 8px 16px;} #price-slider {width: 100%;height: 48px;--paper-slider-active-color: var(--yt-live-chat-slider-active-color, #2196f3);--paper-slider-container-color: var( --yt-live-chat-slider-container-color, #c8c8c8 );--paper-slider-markers-color: var( --yt-live-chat-slider-markers-color, #505050 );--paper-progress-active-color: var(--paper-slider-active-color);--paper-progress-container-color: var(--paper-slider-container-color);--paper-slider-knob-color: var(--paper-slider-active-color);--paper-slider-knob-start-border-color: var(--paper-slider-active-color);--paper-slider-knob-start-color: var(--paper-slider-active-color);--paper-slider-pin-color: var(--paper-slider-active-color);--paper-slider-pin-start-color: var(--paper-slider-active-color);} #price-input-container {font-size: var(--yt-live-chat-buy-flow-price-input-font-size);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .dim {color: var(--yt-live-chat-secondary-text-color,var(--yt-spec-text-secondary));} #price-input {--paper-input-container-focus-color: var(--yt-live-chat-primary-text-color);--paper-input-container-input: {font-size: var(--yt-live-chat-buy-flow-price-input-font-size);color: var(--yt-live-chat-primary-text-color);};--paper-input-container-underline-color: var( --yt-live-chat-secondary-text-color );margin: 0 4px;width: var(--price-input-width,64px);text-align: center;-ms-flex: none;-webkit-flex: none;flex: none;} #price-input tp-yt-paper-input-container[style-target=host] {height: 24px;} #button {margin: 8px 16px 16px;border-radius: 2px;background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);font-weight: 500;transition-property: background-color,color;transition-duration: var(--yt-live-chat-animation-duration,0.2s);} #button[disabled] {background-color: var(--yt-live-chat-disabled-button-background-color,var(--yt-deprecated-opalescence-soft-grey-opacity-lighten-3));color: var(--yt-live-chat-disabled-button-text-color,rgba(0,0,0,0.5));} #error {font-size: 13px;margin: 0 16px;} /*# sourceMappingURL=yt-live-chat-message-buy-flow-renderer.css.map*/</style>";
oSb=d}d=oSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return pSb=a},
hostAttributes:{tabindex:0},properties:{data:{type:Object,observer:"dataChanged_"},emojiManager:Object,superChatEmojiManager:{type:Object,value:function(){return new _.LC}},
participantsManager:Object,messageInput:{type:Object,value:null,readOnly:!0},selectedPage:{type:Number,value:0},currencySymbol:{type:String,computed:"computeCurrencySymbol_(data.currency)"},hideCurrencySymbol:{type:Boolean,computed:"computeHideCurrencySymbol_(currencySymbol, data.currency)"},priceMaxDigits:{type:Number,readOnly:!0},messageTooLong:{type:Boolean,computed:"computeMessageTooLong_(characterCountDisplay, maxCharacterCount)",reflectToAttribute:!0},isInvalidPrice:{type:Boolean,value:!1,readOnly:!0},
buyButtonDisabled:{type:Boolean,computed:"computeBuyButtonDisabled_(messageTooLong, isInvalidPrice)"},priceMicros:{type:Number,value:0},messageTiers:{type:Object},durationLabel:{type:Object,readOnly:!0},hideDurationLabel:{type:Boolean,readOnly:!0,reflectToAttribute:!0},messagePreviewRenderer:Object,messageCharacterCount:{type:Number,value:0},characterCountDisplay:{type:Number,computed:"computeCharacterCountDisplay_(messageCharacterCount, maxCharacterCount)"},maxCharacterCount:{type:Number,value:0},
priceInputValue:{type:String,observer:"adjustInputWidth_"},priceMin:{type:Number,readOnly:!0},priceMax:{type:Number,readOnly:!0},sliderIndex:Number,sliderMax:{type:Number},sliderMaxMarkers:{type:Number,computed:"computeSliderMaxMarkers_(sliderMax)"},messageTemplate:{type:Object,readOnly:!0},shouldShowPickers:{type:Boolean,value:!0,readOnly:!0},isPriceAdjustable:{type:Boolean,value:!0,readOnly:!0},arePriceControlsHidden:{type:Boolean,computed:"computeArePriceControlsHidden(isPriceAdjustable, messageTemplate)"},
buyButtonText:{type:String,value:"",readOnly:!0}},actionMap:{"yt-wallet-dialog-closed":"onWalletDialogClose_","yt-wallet-dialog-completed":"onWalletDialogComplete_","yt-open-payments-dialog":"onWalletDialogOpen_","yt-live-chat-buy-flow-callback":"buyFlowCallback"},behaviors:[_.G4a,JSb.YtPickerBehavior,_.Y.YtActionHandlerBehavior,_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],listeners:{"immediate-value-change":"onSliderImmediateChange_","yt-emoji-select":"onEmojiSelect_","yt-live-chat-text-input-field-renderer-character-count-changed":"onCharacterCountChanged_",
"yt-live-chat-message-input-change":"handleMessageInputChanged","yt-checkbox-renderer-changed":"handleBuyflowModeChanged"},stampDom:{"data.heading":{id:"info-heading",mapping:{liveChatMessageBuyFlowHeadingRenderer:"yt-live-chat-message-buy-flow-heading-renderer"}},"data.helpButton":{id:"help",mapping:{buttonRenderer:"yt-button-renderer"}},"data.helpDialog":{id:"dialog",mapping:{liveChatDialogRenderer:"yt-live-chat-dialog-renderer"}},"data.pickers":{id:"pickers",mapping:{emojiPickerRenderer:{component:"yt-emoji-picker-renderer",
properties:{emojiManager:"[[superChatEmojiManager]]"}},liveChatCreatorSupportRenderer:{component:"yt-live-chat-creator-support-renderer"}}},"data.pickerButtons":{id:"picker-buttons",mapping:{liveChatIconToggleButtonRenderer:"yt-live-chat-icon-toggle-button-renderer"}},messageTemplate:{id:"message-renderer",mapping:{liveChatPaidMessageRenderer:{component:"yt-live-chat-paid-message-renderer",properties:{emojiManager:"[[superChatEmojiManager]]",participantsManager:"[[participantsManager]]",messageInput:"[[messageInput]]"}},
liveChatMembershipItemRenderer:{component:"yt-live-chat-membership-item-renderer",properties:{emojiManager:"[[superChatEmojiManager]]",participantsManager:"[[participantsManager]]"}}}},"data.banner":{id:"banner",mapping:{pdgBannerRenderer:"ytd-pdg-banner-renderer"}}},ready:function(){var a=this;this.data&&this.data.emojis&&this.superChatEmojiManager.load(this.data.emojis,this.emojiManager);this.async(function(){a.adjustInputWidth_()},1)},
dataChanged_:function(a){if(a&&(this.setupBuyFlowState(this.data.messageTiers,this.data.buyButton.buttonRenderer),this.logUserInputPriceChange(),this.superChatEmojiManager&&this.superChatEmojiManager.load(a.emojis||[],this.emojiManager),this.data.onVisibleCommand&&_.C(this,"yt-live-chat-actions",[[this.data.onVisibleCommand]]),a.buyButton.buttonRenderer.trackingParams&&(a=_.no(a.buyButton.buttonRenderer.trackingParams)))){var b=_.fg();b&&_.xg(b,a)}},
setupBuyFlowState:function(a,b){if(this.data){this.buyButton_=b;b=this.data;var c=new VRb(this.data.currency,this.data.currencyUnitMicros);a=new qSb(a);this._setPriceMin(p8(c,Number(a.messageTiers[0].minPriceMicros)||0));this._setPriceMax(p8(c,Number(a.messageTiers[a.messageTiers.length-1].maxPriceMicros)||0));this._setPriceMaxDigits(c.currencyFormatter.format(this.priceMax).length);this._setBuyButtonText(this.getSimpleString(this.buyButton_.text));var d=a.messageTiers[a.messageTiers.length-1];this.sliderMax=
d.minPriceMicros==d.maxPriceMicros?a.messageTiers.length-1:a.messageTiers.length;c=this.buyFlowStateManager_=new sSb(this.priceMin,this.priceMax,c,a);b=Number(b.defaultPurchasePriceMicros)||0;a=rSb(c.messageTiers,b);this.buyFlowState_=tSb(c,b,a);this._setIsPriceAdjustable(this.buyFlowState_.isPriceAdjustable);this.updateMessagePreviewRendererFromState_(this.buyFlowState_)}},
onFocusOut_:function(a){this.buyFlowState_=uSb(this.buyFlowStateManager_,a.currentTarget.value);this.updateMessagePreviewRendererFromState_(this.buyFlowState_);this.logUserInputPriceChange()},
handleMessageInputChanged:function(a){this._setMessageInput(a.detail)},
onInputChange_:function(a){this.buyFlowState_=uSb(this.buyFlowStateManager_,a.currentTarget.value,this.buyFlowState_);this.updateMessagePreviewRendererFromStateWithoutPriceInput_(this.buyFlowState_);this.adjustInputWidth_()},
adjustInputWidth_:function(){var a=document.createElement("div");a.innerText=this.$["price-input"].value;var b=window.getComputedStyle(this.$["price-input"]);a.style.fontFamily=b.fontFamily;a.style.fontSize=b.fontSize;a.style.fontWeight=b.fontWeight;a.style.display="inline-block";a.style.visibility="hidden";document.querySelector("body").appendChild(a);this.updateStyles({"--price-input-width":a.clientWidth+16+"px"});document.querySelector("body").removeChild(a)},
onSliderImmediateChange_:function(){var a=this.$["price-slider"];a.dragging&&this.handleSliderChange_(a.immediateValue)},
onSliderChange_:function(){this.handleSliderChange_(this.$["price-slider"].value);this.logUserInputPriceChange()},
onSliderFocus_:function(){this.updateSliderAria_(this.buyFlowState_)},
handleSliderChange_:function(a){var b=this.buyFlowStateManager_,c=b.messageTiers;a=tSb(b,a===c.messageTiers.length?Number(c.messageTiers[c.messageTiers.length-1].maxPriceMicros):Number(c.messageTiers[a].minPriceMicros),a);this.updateMessagePreviewRendererFromState_(a)},
updateSliderAria_:function(a){var b=this.$["price-slider"];b.setAttribute("aria-valuenow",a.sliderAriaState.valueNow);b.setAttribute("aria-valuemax",a.sliderAriaState.valueMax);b.setAttribute("aria-valuemin",a.sliderAriaState.valueMin)},
computeSliderMaxMarkers_:function(a){return a},
onCharacterCountChanged_:function(a){this.messageCharacterCount=a.detail.characterCount},
startBuyFlowWithBuyBucketGetCartParam:function(a,b){_.C(this,"yt-live-chat-start-buy-flow",[a,{purchase_price_micros:this.priceMicros,rich_chat_message:b},this.buyFlowCallback.bind(this)])},
startBuyFlowWithTransactionParamAndProductData:function(a,b){null!=a&&a.ypcGetCartEndpoint&&(a.ypcGetCartEndpoint.productData={pdgData:{purchasePriceMicros:String(this.priceMicros),currencyCode:this.data.currency,richChatMessage:b}},_.C(this,"yt-live-chat-start-buy-flow",[a,void 0,this.buyFlowCallback.bind(this)]))},
sendLoyaltyMessage:function(a,b){var c=this,d,e=(null==a?void 0:null==(d=a.sendLiveChatMessageEndpoint)?void 0:d.clientIdPrefix)||"";_.Kg(this,[a,{client_message_id:e,rich_message:b}]).then(function(h){c.handleSendLoyaltyMessageResponse(h)},function(){c.selectedPage=0;
c.closeBuyFlow()})},
onBuyButtonClick_:function(){var a=this.getMessageRendererElement_(),b=a?a.inputMessage():null;a=this.buyButton_.serviceEndpoint;if(a.ypcGetCartEndpoint)if(a.ypcGetCartEndpoint.buybucketParams)this.startBuyFlowWithBuyBucketGetCartParam(a,b);else{if(a.ypcGetCartEndpoint.transactionParams){var c=this.startBuyFlowWithTransactionParamAndProductData;if(b){for(var d=[],e=0;e<b.text_segments.length;e++){var h=b.text_segments[e];h.text?d.push(h):h.emoji_id&&d.push({emojiId:h.emoji_id})}b={textSegments:d}}c.call(this,
a,b)}}else a.sendLiveChatMessageEndpoint&&this.sendLoyaltyMessage(a,b);this.logExplicitClick(this.buyButton_);this.$.loading.style.height=this.$.preview.clientHeight+"px";this.$.blank.style.height=this.$.preview.clientHeight+"px";this.selectedPage=1},
handleSendLoyaltyMessageResponse:function(a){this.selectedPage=0;a&&a.data&&(a=a.data,a.errorMessage?this.handleMessageRenderer_(a.errorMessage):this.closeBuyFlow())},
getMessageRendererElement_:function(){return this.$$("#message-renderer").firstChild},
onWalletDialogClose_:function(){this.selectedPage=0},
onWalletDialogComplete_:function(){this.selectedPage=1},
onWalletDialogOpen_:function(){this.selectedPage=2},
handleSuccessBuyFlowCallBack:function(a){var b;if(null==a?0:null==(b=a.data)?0:b.actions)_.C(this,"yt-live-chat-actions",[a.data.actions]);else{var c;(null==a?0:null==(c=a.data)?0:c.command)&&_.C(this,"yt-live-chat-actions",[[a.data.command]])}this.closeBuyFlow()},
handleFailBuyFlowCallBack:function(a){this.selectedPage=0;a.errorMessageRenderer?this.handleMessageRenderer_(a.errorMessageRenderer):a.errorCommand&&_.C(this,"yt-live-chat-actions",[[a.errorCommand]])},
buyFlowCallback:function(a){a.success?this.handleSuccessBuyFlowCallBack(a.response):this.handleFailBuyFlowCallBack(a)},
handleMessageRenderer_:function(a){var b=_.Fg(a,"renderer");if("confirmDialogRenderer"===b){var c=_.w("openPopupConfig");c&&_.C(this,"yt-open-popup-action",[{openPopupAction:{popupType:c.popupTypeMap[b],popup:a}},this])}else this._setErrorRenderer(a)},
onCloseButtonClick_:function(){this.closeBuyFlow()},
closeBuyFlow:function(){_.C(this,"yt-live-chat-close-buy-flow");this._setErrorRenderer(null)},
updateMessagePreviewRendererFromStateWithoutPriceInput_:function(a){this._setMessageTemplate(a.messagePreviewState.messageRenderer);this._setShouldShowPickers(a.messagePreviewState.shouldShowPickers);this._setDurationLabel(a.messagePreviewState.durationLabel);this._setIsInvalidPrice(a.isInvalidPrice);this._setHideDurationLabel(a.shouldHideDurationLabel);this.maxCharacterCount=a.messagePreviewState.maxNumCharacters;this.priceMicros=a.priceMicros;this.sliderIndex=a.sliderIndex;a.isPriceAdjustable&&
this.getMessageRendererElement_().set("data.purchaseAmountText",_.Mu(a.formattedPriceWithCurrency));this.updateSliderAria_(a)},
logUserInputPriceChange:function(){var a=_.oo(126975);l8(this.data.trackingParams,a);var b=_.fg();b&&_.xg(b,a)},
updateMessagePreviewRendererFromState_:function(a){this.updateMessagePreviewRendererFromStateWithoutPriceInput_(a);this.priceInputValue=a.formattedPrice},
computeMessageTooLong_:function(a,b){return a>b},
computeBuyButtonDisabled_:function(a,b){return a||b},
computeCurrencySymbol_:function(a){if(!a)return"";SRb();return _.bF[a][1]},
computeCharacterCountDisplay_:function(a,b){return 0==b?0:a},
onHelpClick_:function(){var a=this.$.dialog.querySelector("yt-live-chat-dialog-renderer");a&&(a.hidden=!1)},
handlePickerButtonToggle_:function(a){a=a.detail.targetId;this.togglePicker_(a);"emoji"==a&&this.getMessageRendererElement_().inputFocus()},
onEmojiSelect_:function(a){var b=this.getMessageRendererElement_();b.inputFocus();b.inputInsertEmoji(a.detail)},
computeHideCurrencySymbol_:function(a,b){return b?a==b:!0},
computeArePriceControlsHidden:function(a,b){b=b&&!!b.liveChatPaidMessageRenderer;return!(a&&b)},
handleBuyflowModeChanged:function(a){a.detail.checked?this.setupBuyFlowState(this.data.messageTiers,this.data.buyButton.buttonRenderer):this.data.alternateProductGroup&&this.setupBuyFlowState(this.data.alternateProductGroup.messageTier,this.data.alternateProductGroup.buyButton.buttonRenderer)}});
var KSb;
var LSb;
var MSb;
var NSb;
var E8=function(){return _.K.apply(this,arguments)||this};
_.q(E8,_.K);E8.prototype.attached=function(){this.hasAttribute("role")||this.setAttribute("role","button");this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")};
E8.prototype.onIconLoaded=function(a){a=a.path?a.path[0]:a.target;a.parentNode&&a.parentNode.classList.add("icon-loaded")};
_.t.Object.defineProperties(E8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-super-sticker-pack-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_button_renderer.yt.live.chat.super.sticker.pack.button.renderer.css.js--\x3e<div id="selected">\n  <yt-img-shadow height="24" notify-on-loaded="" thumbnail="[[data.selectedPackImage]]" width="24">\n  </yt-img-shadow>\n</div>\n<div id="unselected">\n  <yt-img-shadow height="24" notify-on-loaded="" thumbnail="[[data.unselectedPackImage]]" width="24">\n  </yt-img-shadow>\n  </div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_button_renderer.yt.live.chat.super.sticker.pack.button.renderer.css.js--\x3e<style>:host {display: block;height: 24px;width: 24px;--selected-visibility: hidden;--unselected-visibility: visible;--selected-z-index: -1;--unselected-z-index: 0;} :host([selected]) {--selected-visibility: visible;--unselected-visibility: hidden;--selected-z-index: 0;--unselected-z-index: -1;} #selected,#unselected {height: 24px;width: 24px;position: absolute;background-color: var(--yt-spec-text-primary);opacity: 0.1;} #selected {visibility: var(--selected-visibility);z-index: var(--selected-z-index);} #unselected {visibility: var(--unselected-visibility);z-index: var(--unselected-z-index);} #selected.icon-loaded,#unselected.icon-loaded {background-color: transparent;opacity: 1;} /*# sourceMappingURL=yt-live-chat-super-sticker-pack-button-renderer.css.map*/</style>";
MSb=d}d=MSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NSb=a}a=NSb;return a}}});
var F8=E8;F8.prototype.onIconLoaded=F8.prototype.onIconLoaded;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],F8.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],F8.prototype,"data",void 0);_.S([_.O("yt-img-shadow-loaded"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],F8.prototype,"onIconLoaded",null);F8=_.S([_.lu({is:"yt-live-chat-super-sticker-pack-button-renderer",isInjectionRoot:!0})],F8);
var OSb;
var PSb;
var G8=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-live-chat-set-dark-theme":"onDarkModeToggledAction"};return a};
_.q(G8,_.K);_.f=G8.prototype;_.f.attached=function(){this.isDarkTheme=document.documentElement.hasAttribute("dark")};
_.f.preloadImage=function(){if(this.data){var a=this.data.stickerImage,b=this.$$("#sticker");if(a&&a.thumbnails){if(b=_.nu(a.thumbnails,b.width,b.preferredThumbnail))(new Image).src=b;a.webThumbnailDetailsExtensionData={isPreloaded:!0}}}};
_.f.stringAsRawText=function(a){return _.qi(a)};
_.f.onDarkModeToggledAction=function(a){this.isDarkTheme=a};
_.f.updateBackground=function(){var a=this.backgroundThumbnailUrl;a&&(this.$$("#container").style.backgroundImage="url("+a+")")};
_.t.Object.defineProperties(G8.prototype,{backgroundThumbnailUrl:{configurable:!0,enumerable:!0,get:function(){if(!this.data)return"";var a=this.data.backgroundImage;this.isDarkTheme&&this.data.darkModeBackgroundImage&&(a=this.data.darkModeBackgroundImage);var b=this.$$("#sticker"),c;a=_.nu(null==(c=a)?void 0:c.thumbnails,b.width,b.preferredThumbnail);var d;0===(null==(d=a)?void 0:d.indexOf("//"))&&(a="https:"+a);return a}}});
_.t.Object.defineProperties(G8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-super-sticker-pack-backstory-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_backstory_renderer.yt.live.chat.super.sticker.pack.backstory.renderer.css.js--\x3e<div id="container">\n  <yt-img-shadow id="sticker" height="120" thumbnail="[[data.stickerImage]]" width="120">\n  </yt-img-shadow>\n  <div id="content">\n    <div id="title">[[stringAsRawText(data.packTitle)]]</div>\n    <div id="description">[[stringAsRawText(data.packDescription)]]</div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_backstory_renderer.yt.live.chat.super.sticker.pack.backstory.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-live-chat-background-color);} #container {background-repeat: repeat-x;background-position: bottom;background-size: contain;padding: var(--ytd-margin-4x);padding-bottom: var(--ytd-margin-6x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #sticker {margin-right: var(--ytd-margin-4x);} #content {max-width: 440px;color: var(--yt-live-chat-primary-text-color);} #title {font-size: 14px;font-weight: 500;margin-bottom: var(--ytd-margin-2x);} #description {font-size: 12px;} /*# sourceMappingURL=yt-live-chat-super-sticker-pack-backstory-renderer.css.map*/</style>";
OSb=d}d=OSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PSb=a}a=PSb;return a}}});
var H8=G8;H8.prototype.updateBackground=H8.prototype.updateBackground;H8.prototype.preloadImage=H8.prototype.preloadImage;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],H8.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],H8.prototype,"ytRendererBehavior",void 0);_.S([_.N({}),_.T("design:type",Object)],H8.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],H8.prototype,"isDarkTheme",void 0);
_.S([_.V("data","isDarkTheme"),_.T("design:type",Object),_.T("design:paramtypes",[])],H8.prototype,"backgroundThumbnailUrl",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],H8.prototype,"preloadImage",null);_.S([_.P("backgroundThumbnailUrl"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],H8.prototype,"updateBackground",null);
H8=_.S([_.lu({is:"yt-live-chat-super-sticker-pack-backstory-renderer",isInjectionRoot:!0})],H8);
var QSb;
var RSb;
var I8=function(){return _.K.apply(this,arguments)||this};
_.q(I8,_.K);_.f=I8.prototype;_.f.beforeRegister=function(){this.ironA11yKeysBehavior.keyBindings={"enter:keydown":"onClick"}};
_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","button");this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")};
_.f.stringAsRawText=function(a){return _.qi(a)};
_.f.onClick=function(){this.ytRendererBehavior.logExplicitClick(this.data);this.fire("yt-super-sticker-open-preview",this.data.command.previewSuperStickerCommand)};
_.f.onStickerLoaded=function(){this.$.unselected.classList.add("sticker-loaded")};
_.f.preloadImage=function(){var a=this.data.stickerSneakPeekImage,b=this.$$("#selected");a&&a.thumbnails&&(a=_.nu(a.thumbnails,b.width))&&DRb(a)};
_.f.onFocus=function(){this.isStatic||(this.classList.add("focus"),this.ytRendererBehavior.markDirty())};
_.f.onBlur=function(){this.isStatic||this.classList.remove("focus")};
_.f.updateChipStyles=function(){var a=this.data;a&&(a={"--yt-live-chat-paid-sticker-chip-background-color":this.colorFromDecimal(a.moneyChipBackgroundColor),"--yt-live-chat-paid-sticker-chip-text-color":this.colorFromDecimal(a.moneyChipTextColor)},this.updateStyles(a))};
_.f.colorFromDecimal=function(a){return _.bv(a)};
_.t.Object.defineProperties(I8.prototype,{isStatic:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.stickerImage&&this.data.stickerSneakPeekImage?this.data.stickerImage.thumbnails[0].url===this.data.stickerSneakPeekImage.thumbnails[0].url:!1}}});
_.t.Object.defineProperties(I8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-super-sticker-pack-item-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_item_button_renderer.yt.live.chat.super.sticker.pack.item.button.renderer.css.js--\x3e<div id="sticker">\n  <div id="unselected">\n    <yt-img-shadow height="96" notify-on-loaded="" thumbnail="[[data.stickerImage]]" width="96">\n      </yt-img-shadow>\n  </div>\n  <yt-img-shadow id="selected" height="96" thumbnail="[[data.stickerSneakPeekImage]]" width="96">\n  </yt-img-shadow>\n  <span id="price">[[stringAsRawText(data.basePriceText)]]</span>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_item_button_renderer.yt.live.chat.super.sticker.pack.item.button.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-live-chat-background-color);justify-self: center;--yt-live-chat-paid-sticker-container-loaded-style-background-color: transparent;--yt-live-chat-paid-sticker-container-loaded-style-opacity: 1;} :host(:focus) {outline: none;} :host(:hover) {cursor: pointer;background-color: var(--yt-spec-10-percent-layer);} #sticker {width: 96px;height: 96px;padding: 12px;padding-bottom: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #unselected {display: inline-block;width: 96px;height: 96px;background-color: var(--yt-spec-text-primary);opacity: 0.1;} :host(.focus) #unselected {display: none;} #unselected.sticker-loaded {background-color: var(--yt-live-chat-paid-sticker-container-loaded-style-background-color);opacity: var(--yt-live-chat-paid-sticker-container-loaded-style-opacity);} #selected {display: none;} :host(.focus) #selected {display: block;} #price {display: block;color: var(--yt-live-chat-paid-sticker-chip-text-color);font-weight: 500;background-color: var(--yt-live-chat-paid-sticker-chip-background-color);margin-top: var(--ytd-margin-base);padding: 0 4px;min-width: 16px;border-radius: 2px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=yt-live-chat-super-sticker-pack-item-button-renderer.css.map*/</style>";
QSb=d}d=QSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RSb=a}a=RSb;return a}}});
var J8=I8;J8.prototype.updateChipStyles=J8.prototype.updateChipStyles;J8.prototype.onBlur=J8.prototype.onBlur;J8.prototype.onFocus=J8.prototype.onFocus;J8.prototype.preloadImage=J8.prototype.preloadImage;J8.prototype.onStickerLoaded=J8.prototype.onStickerLoaded;J8.prototype.onClick=J8.prototype.onClick;_.S([_.L(_.Xs),_.T("design:type",Object)],J8.prototype,"ironA11yKeysBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],J8.prototype,"ytRendererBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],J8.prototype,"data",void 0);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],J8.prototype,"onClick",null);_.S([_.O("yt-img-shadow-loaded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J8.prototype,"onStickerLoaded",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J8.prototype,"preloadImage",null);
_.S([_.O("focus"),_.O("mouseover"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J8.prototype,"onFocus",null);_.S([_.O("blur"),_.O("mouseout"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J8.prototype,"onBlur",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],J8.prototype,"isStatic",null);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J8.prototype,"updateChipStyles",null);J8=_.S([_.lu({is:"yt-live-chat-super-sticker-pack-item-button-renderer",isInjectionRoot:!0})],J8);
var SSb;
var TSb;
var K8=function(){var a=_.K.apply(this,arguments)||this;a.monitorScroll=!0;return a};
_.q(K8,_.K);K8.prototype.configureRendererStamper=function(){return{"data.superStickerPackItemButtons":{id:"pack-stickers",mapping:{superStickerPackItemButtonRenderer:"yt-live-chat-super-sticker-pack-item-button-renderer"}},"data.packBackstory":{id:"backstory",mapping:{superStickerPackBackstoryRenderer:"yt-live-chat-super-sticker-pack-backstory-renderer"}}}};
K8.prototype.attached=function(){this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1")};
_.t.Object.defineProperties(K8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-super-sticker-pack-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_renderer.yt.live.chat.super.sticker.pack.renderer.css.js--\x3e<div id="pack">\n  <div id="pack-stickers"></div>\n</div>\n<div id="backstory" hidden="[[!data.packBackstory]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_pack_renderer.yt.live.chat.super.sticker.pack.renderer.css.js--\x3e<style>:host {height: 300px;display: block;background-color: var(--yt-live-chat-background-color);overflow-y: auto;overflow-x: hidden;} #pack {margin: 0 auto;} #backstory {margin-top: var(--ytd-margin-6x);} yt-live-chat-super-sticker-pack-item-button-renderer {margin-bottom: 4px;} #pack-stickers {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} @supports(display:grid) {#pack-stickers {display: grid;grid-template-columns: repeat(auto-fit,minmax(120px,1fr));-ms-flex-wrap: nowrap;-webkit-flex-wrap: nowrap;flex-wrap: nowrap;}} /*# sourceMappingURL=yt-live-chat-super-sticker-pack-renderer.css.map*/</style>";
SSb=d}d=SSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TSb=a}a=TSb;return a}}});
var L8=K8;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],L8.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],L8.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],L8.prototype,"data",void 0);L8=_.S([_.lu({is:"yt-live-chat-super-sticker-pack-renderer",isInjectionRoot:!0})],L8);
var USb;
var VSb;
var M8=function(){var a=_.K.apply(this,arguments)||this;a.authorPhotoSize=40;return a};
_.q(M8,_.K);_.f=M8.prototype;_.f.ready=function(){var a=document.querySelector("yt-live-chat-app");a&&a.hasAttribute("dashboard-money-feed")&&_.H(this).setAttribute("dashboard-money-feed","")};
_.f.dataChanged=function(){if(this.data&&this.data.sticker){var a=_.nu(this.data.sticker.thumbnails,this.stickerWidth);a||_.v4a(a).thenCatch(function(){_.Rf(new _.ge("Failed to load Super Sticker with url",a))})}};
_.f.onStickerLoaded=function(a){var b,c,d;null==(b=_.H(a).rootTarget)||null==(c=b.parentNode)||null==(d=c.classList)||d.add("sticker-loaded")};
_.f.isDeletedChanged=function(){this.isDeleted&&(this.set("data.detailText",null),this.set("data.superStickerIcon",null),this.set("data.sticker",null))};
_.f.updateStickerStyles=function(){var a=this.data;a&&(a={"--yt-live-chat-paid-sticker-chip-background-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.moneyChipBackgroundColor),"--yt-live-chat-paid-sticker-chip-text-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.moneyChipTextColor),"--yt-live-chat-paid-sticker-background-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.backgroundColor),"--yt-live-chat-paid-sticker-author-name-text-color":this.ytLiveChatItemBehavior.colorFromDecimal(a.authorNameTextColor)},
this.updateStyles(a))};
_.t.Object.defineProperties(M8.prototype,{stickerWidth:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.stickerDisplayWidth||96}},
stickerHeight:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.stickerDisplayWidth||96}}});
_.t.Object.defineProperties(M8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-paid-sticker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_sticker_renderer.yt.live.chat.paid.sticker.renderer.css.js--\x3e<div id="card"><div id="author-info" tabindex="0"><template is="dom-if" if="[[data.authorPhoto]]" restamp=""><yt-img-shadow id="author-photo" class="no-transition" height="[[authorPhotoSize]]" thumbnail="[[data.authorPhoto]]" width="[[authorPhotoSize]]"></yt-img-shadow></template><template is="dom-if" if="[[!data.authorPhoto]]"><yt-icon id="author-photo" icon="yt-icons:avatar_anonymous"></yt-icon></template><div id="content"><span id="timestamp" hidden$="[[!data.timestampUsec]]">[[timestampString]]</span><div id="content-primary-column"><div id="author-name">[[getSimpleString(data.authorName)]]</div><span id="price-column"><yt-formatted-string id="purchase-amount-chip" text="[[data.purchaseAmountText]]"></yt-formatted-string><yt-formatted-string id="deleted-state" is-deleted$="[[isDeleted]]" text="[[data.deletedStateMessage]]"></yt-formatted-string></span></div></div></div><div id="sticker-container" hidden$="[[!data.sticker]]"><yt-img-shadow id="sticker" height="[[stickerHeight]]" hidden$="[[!data.sticker]]" notify-on-loaded="" tabindex="0" thumbnail="[[data.sticker]]" width="[[stickerWidth]]"></yt-img-shadow></div><yt-formatted-string id="dashboard-deleted-state" is-deleted$="[[isDeleted]]" text="[[data.deletedStateMessage]]"></yt-formatted-string><div id="menu" hidden$="[[!data.contextMenuEndpoint]]"><yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="showContextMenu"><yt-icon icon="more_vert"></yt-icon></yt-icon-button></div></div><div id="inline-action-button-container"><div id="inline-action-buttons"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===USb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_sticker_renderer.yt.live.chat.paid.sticker.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ #timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {display: block;position: relative;--yt-live-chat-paid-sticker-container-loaded-style-background-color: transparent;--yt-live-chat-paid-sticker-container-loaded-style-opacity: 1;--yt-live-chat-item-timestamp-display: none;} :host([dashboard-money-feed]) {--yt-pdg-paid-stickers-margin-left: 56px;} :host(:not([dashboard-money-feed])) #card {position: relative;border-radius: 4px;padding: 8px;padding-left: 16px;background-color: var(--yt-live-chat-paid-sticker-background-color);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} :host(:not([dashboard-money-feed])) #menu {background: linear-gradient(to right,transparent,var(--yt-live-chat-paid-sticker-background-color) 100%);border-radius: 0 4px 4px 0;color: var(--yt-live-chat-paid-sticker-chip-text-color);} :host([dashboard-money-feed]) #menu {color: var(--yt-live-chat-secondary-text-color);margin: 8px 0;background: linear-gradient(to right,transparent,var(--yt-live-chat-background-color) 40%);} #author-name {margin-right: 8px;display: block;font-weight: 500;color: var(--yt-live-chat-secondary-text-color);-webkit-line-clamp: 1;overflow: hidden;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} :host(:not([dashboard-money-feed])) #author-name {color: var(--yt-live-chat-paid-sticker-author-name-text-color);} #author-info {font-size: var(--yt-pdg-paid-stickers-author-name-font-size);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host(:not([dashboard-money-feed])) #author-info {max-height: 40px;} #author-info:focus {outline: none;} :host(:not([dashboard-money-feed])) #price-column {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #purchase-amount-chip {height: 18px;border-radius: 12px;color: var(--yt-live-chat-paid-sticker-chip-text-color);font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([dashboard-money-feed]) #purchase-amount-chip {height: 24px;margin-right: var(--ytd-margin-2x);padding: 0 12px;background-color: var(--yt-live-chat-paid-sticker-chip-background-color);} :host(:not([dashboard-money-feed])) #purchase-amount-chip {font-size: 15px;padding-right: 8px;} #sticker-container {display: flex;align-items: center;flex-shrink: 0;background-color: var(--yt-spec-text-primary);opacity: 0.1;margin-left: var(--yt-pdg-paid-stickers-margin-left);margin-top: 4px;} :host(:not([dashboard-money-feed])) #sticker-container {margin: 0;margin-left: auto;} #sticker-container.sticker-loaded {background-color: var(--yt-live-chat-paid-sticker-container-loaded-style-background-color);opacity: var(--yt-live-chat-paid-sticker-container-loaded-style-opacity);} #sticker:focus {outline: none;} #dashboard-deleted-state[is-deleted],#deleted-state[is-deleted] {font-style: italic;} #deleted-state[is-deleted] {color: var(--yt-live-chat-paid-sticker-chip-text-color);font-size: 13px;opacity: 0.7;display: none;} #dashboard-deleted-state[is-deleted] {color: var(--yt-live-chat-secondary-text-color);font-size: 12px;opacity: 0.7;display: none;} :host(:not([dashboard-money-feed])) #deleted-state[is-deleted] {max-height: 1.4em;margin: 0;-webkit-line-clamp: 1;overflow: hidden;-ms-align-self: center;-webkit-align-self: center;align-self: center;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} :host([dashboard-money-feed]) #dashboard-deleted-state[is-deleted] {margin-top: 4px;margin-left: var(--yt-pdg-paid-stickers-margin-left);display: block;} #content {-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([dashboard-money-feed]) #content {padding: 0;color: rgba(0,0,0,0.87);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column-reverse;-webkit-flex-direction: column-reverse;flex-direction: column-reverse;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} #content-primary-column {display: inline-block;} #sticker-icon {vertical-align: bottom;} :host([dashboard-money-feed]) #content-primary-column {margin-bottom: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} :host([dashboard-money-feed]) #timestamp {display: inline;color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;font-weight: 500;} /*# sourceMappingURL=yt-live-chat-paid-sticker-renderer.css.map*/</style>";
USb=d}d=USb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VSb=a}a=VSb;return a}}});
var N8=M8;N8.prototype.updateStickerStyles=N8.prototype.updateStickerStyles;N8.prototype.isDeletedChanged=N8.prototype.isDeletedChanged;N8.prototype.onStickerLoaded=N8.prototype.onStickerLoaded;N8.prototype.dataChanged=N8.prototype.dataChanged;_.S([_.L(u8.YtPdgLiveChatItemBehavior),_.T("design:type",Object)],N8.prototype,"ytPdgLiveChatItemBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],N8.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],N8.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N8.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],N8.prototype,"authorPhotoSize",void 0);_.S([_.N(),_.T("design:type",Boolean)],N8.prototype,"isDeleted",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N8.prototype,"dataChanged",null);
_.S([_.O("yt-img-shadow-loaded"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],N8.prototype,"onStickerLoaded",null);_.S([_.V("data"),_.T("design:type",Number),_.T("design:paramtypes",[])],N8.prototype,"stickerWidth",null);_.S([_.V("data"),_.T("design:type",Number),_.T("design:paramtypes",[])],N8.prototype,"stickerHeight",null);
_.S([_.P("isDeleted"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N8.prototype,"isDeletedChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N8.prototype,"updateStickerStyles",null);N8=_.S([_.lu({is:"yt-live-chat-paid-sticker-renderer",isInjectionRoot:!0})],N8);
var WSb;
var XSb;
var O8=function(){var a=_.K.apply(this,arguments)||this;a.selectedPage=0;a.actionMap={"yt-signal-action-submit-form":"handleSignalActionSubmitForm","yt-wallet-dialog-closed":"onWalletDialogClosed","yt-wallet-dialog-completed":"onWalletDialogCompleted","yt-open-payments-dialog":"onOpenPaymentsDialog"};return a};
_.q(O8,_.K);_.f=O8.prototype;_.f.configureRendererStamper=function(){return{"data.buyButton":{id:"buy-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.backButton":{id:"back-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
_.f.attached=function(){this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")};
_.f.stringAsRawText=function(a){return _.qi(a)};
_.f.handleSignalActionSubmitForm=function(){var a=this.data.submitEndpoint;if(a){var b=a.ypcGetCartEndpoint;b?b.buybucketParams?_.C(this,"yt-live-chat-start-buy-flow",[a,{sticker_params:b.stickerParams},this.buyFlowCallback.bind(this)]):_.C(this,"yt-live-chat-start-buy-flow",[a,void 0,this.buyFlowCallback.bind(this)]):_.Qf(new _.ge("submitEndpoint does not have ypcGetCartEndpoint"))}else _.Qf(new _.ge("data does not have submitEndpoint"))};
_.f.onBackClick=function(){this.fire("yt-super-sticker-close-preview")};
_.f.onBuyButtonClick=function(){var a=this.$.preview.clientHeight;this.$.loading.style.height=a+"px";this.$.blank.style.height=a+"px";this.selectedPage=1};
_.f.onCloseClick=function(){_.C(this,"yt-live-chat-close-buy-flow")};
_.f.onWalletDialogClosed=function(){this.selectedPage=0};
_.f.onWalletDialogCompleted=function(){this.selectedPage=1};
_.f.onOpenPaymentsDialog=function(){this.selectedPage=2};
_.f.closeBuyFlow=function(){_.C(this,"yt-live-chat-close-buy-flow")};
_.f.handleSuccessBuyFlowCallBack=function(a){var b;if(null==a?0:null==(b=a.data)?0:b.actions)_.C(this,"yt-live-chat-actions",[a.data.actions]);else{var c;(null==a?0:null==(c=a.data)?0:c.command)&&_.C(this,"yt-live-chat-actions",[[a.data.command]])}this.closeBuyFlow()};
_.f.handleFailBuyFlowCallBack=function(a){this.selectedPage=0;a.errorMessageRenderer?this.handleMessageRenderer(a.errorMessageRenderer):a.errorCommand&&_.C(this,"yt-live-chat-actions",[[a.errorCommand]])};
_.f.buyFlowCallback=function(a){a.success?this.handleSuccessBuyFlowCallBack(a.response):this.handleFailBuyFlowCallBack(a)};
_.f.handleMessageRenderer=function(a){var b=_.Fg(a,"renderer");if("confirmDialogRenderer"===b){var c=_.w("openPopupConfig");c&&_.C(this,"yt-open-popup-action",[{openPopupAction:{popupType:c.popupTypeMap[b],popup:a}},this])}else this.ytLiveChatErrorMessageBehavior._setErrorRenderer(a)};
_.f.resetState=function(){this.ytLiveChatErrorMessageBehavior._setErrorRenderer(null)};
_.t.Object.defineProperties(O8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-super-sticker-preview-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_preview_renderer.yt.live.chat.super.sticker.preview.renderer.css.js--\x3e<iron-pages selected="[[selectedPage]]">\n  <div id="preview">\n    <div id="header">\n      <div id="left">\n        <yt-icon-button id="close" on-click="onCloseClick">\n          <yt-icon icon="yt-icons:close"></yt-icon>\n        </yt-icon-button>\n        <h3>[[stringAsRawText(data.headerText)]]</h3>\n      </div>\n      <div id="right">\n        <yt-icon icon="yt-icons:keep"></yt-icon>\n        <span>[[stringAsRawText(data.durationLabel)]]</span>\n      </div>\n    </div>\n    \n    <yt-live-chat-paid-sticker-renderer data="[[data.liveChatPaidSticker.liveChatPaidStickerRenderer]]">\n    </yt-live-chat-paid-sticker-renderer>\n    <div id="footer">\n      <div id="error"></div>\n      <div id="buy-button" on-click="onBuyButtonClick"></div>\n      <div id="back-button" on-click="onBackClick"></div>\n    </div>\n  </div>\n  <div id="loading">\n    <tp-yt-paper-spinner active=""></tp-yt-paper-spinner>\n  </div>\n  <div id="blank">\n    \n  </div>\n</iron-pages>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_super_sticker_preview_renderer.yt.live.chat.super.sticker.preview.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-live-chat-background-color);font-size: 15px;} :host(:focus) {outline: none;} h3 {color: var(--yt-live-chat-primary-text-color);font-size: 16px;font-weight: normal;display: inline-block;} #close {margin-right: var(--ytd-margin-3x);color: var(--yt-live-chat-icon-button-color);} #left {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #preview {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #loading {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #right {font-size: 12px;color: var(--yt-live-chat-secondary-text-color,var(--yt-spec-text-secondary));display: inline-block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #right yt-icon {width: 16px;height: 16px;margin-right: 4px;} #header {padding: 12px 16px;background-color: var(--yt-live-chat-header-background-color);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} yt-live-chat-paid-sticker-renderer {padding: 12px;padding-bottom: 0;} #footer {background-color: var(--yt-live-chat-background-color);padding: 12px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #buy-button {width: 100%;margin: 0;border-radius: 2px;background-color: var(--yt-deprecated-blue);color: var(--yt-spec-static-brand-white);font-size: 16px;font-weight: 500;display: inline-block;text-align: center;} #back-button {width: 100%;margin: 0;background-color: var(--yt-live-chat-background-color);color: var(--yt-deprecated-blue);font-size: 16px;font-weight: 500;display: inline-block;text-align: center;} #footer yt-button-renderer {width: 100%;} #error {font-size: 13px;margin: 0 16px;} /*# sourceMappingURL=yt-live-chat-super-sticker-preview-renderer.css.map*/</style>";
WSb=d}d=WSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XSb=a}a=XSb;return a}}});
var P8=O8;_.S([_.L(_.G4a),_.T("design:type",Object)],P8.prototype,"ytLiveChatErrorMessageBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P8.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],P8.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P8.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],P8.prototype,"data",void 0);
P8=_.S([_.Q({is:"yt-live-chat-super-sticker-preview-renderer"})],P8);
var Q8=function(){var a=_.K.apply(this,arguments)||this;a.scrollHandler=null;a.hasScrollToPack=!1;a.isPreviewHidden=!0;a.firstPackIndexInView=0;a.actionMap={"yt-live-chat-close-buy-flow":"resetState"};return a};
_.q(Q8,_.K);_.f=Q8.prototype;_.f.configureRendererStamper=function(){return{"data.helpButton":{id:"help-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}},"data.backButton":{id:"close-button",mapping:{buttonRenderer:{component:"yt-button-renderer"}}},"data.superStickerPacks":{id:"stickers-container",mapping:{superStickerPackRenderer:{component:"yt-live-chat-super-sticker-pack-renderer"}}},"data.banner":{id:"banner",mapping:{pdgBannerRenderer:{component:"ytd-pdg-banner-renderer"}}}}};
_.f.attached=function(){var a=this;this.$["sticker-tabs"].$.tabsContent.addEventListener("track",function(b){a.onTrack(b)})};
_.f.detached=function(){this.scrollHandler&&window.cancelAnimationFrame(this.scrollHandler);this.hasScrollToPack=!1};
_.f.stringAsRawText=function(a){return _.qi(a)};
_.f.dataChanged=function(){var a=this.data.defaultStickerPackId;a?this.setSelectTab(this.computeSelectedIndex(this.data,a)):this.setSelectTab(0);this.scrollHandler=null;this.numberOfStickerPacks=this.data.superStickerPackButtons.length};
_.f.onDomChange=function(){if(!(this.hasScrollToPack||(this.hasScrollToPack=!0,this.$.template.render(),this.updateTabsProperties(),this.isAtFront&&this.isAtBack||!this.selectedIndex))){var a=Math.floor(this.selectedIndex/this.numOfPacksToShift);if(0===a)this.isAtFront=!0,this.isAtBack=!1;else for(var b=0;b<a;b++)this.onScrollForwardWithoutAnimation()}};
_.f.isSelected=function(a){return a===this.selectedIndex};
_.f.setSelectTab=function(a){var b=this.$.header.querySelectorAll("yt-live-chat-super-sticker-pack-button-renderer");this.selectedIndex=a;for(var c=0;c<b.length;c++)c===a?b[c].setAttribute("selected",""):b[c].removeAttribute("selected")};
_.f.onSelectedTabChanged=function(a,b){this.setSelectTab(b.value);this.querySelector("#stickers-container").focus();this.ytRendererBehavior.markDirty()};
_.f.onHelpClick=function(){var a=this.$$("#help-button yt-button-renderer").command;a&&_.Lg(this,[a],this)};
_.f.onStickerClick=function(a,b){var c;this.$.preview.data=null==b?void 0:null==(c=b.stickerPreview)?void 0:c.superStickerPreviewRenderer;this.isPreviewHidden=!1;this.$.preview.focus();a.stopPropagation()};
_.f.onCloseClick=function(){_.C(this,"yt-live-chat-close-buy-flow")};
_.f.onScrollBackWithAnimation=function(){this.$["scroll-back-button"].disabled||(this.isAtBack=!1,0<this.firstPackIndexInView-this.numOfPacksToShift?this.firstPackIndexInView-=this.numOfPacksToShift:(this.firstPackIndexInView=0,this.isAtFront=!0),this.animateScroll())};
_.f.recalculateScrollForwardPositions=function(){this.firstPackIndexInView+=this.numOfPacksToShift;this.isAtFront=!1;this.firstPackIndexInView+this.numOfPacksToShift>=this.numberOfStickerPacks&&(this.firstPackIndexInView=this.numberOfStickerPacks-this.numOfPacksToShift,this.isAtBack=!0)};
_.f.onScrollForwardWithAnimation=function(){this.$["scroll-forward-button"].disabled||(this.recalculateScrollForwardPositions(),this.animateScroll())};
_.f.onScrollForwardWithoutAnimation=function(){this.recalculateScrollForwardPositions();this.$["sticker-tabs"].$.tabsContainer.scrollLeft=this.$.header.querySelectorAll("tp-yt-paper-tab")[this.firstPackIndexInView].offsetLeft};
_.f.animateScroll=function(){var a=this.$["sticker-tabs"].$.tabsContainer.scrollLeft,b=this.$.header.querySelectorAll("tp-yt-paper-tab")[this.firstPackIndexInView].offsetLeft-a,c=this.$["scroll-forward-button"];this.$["scroll-back-button"].disabled=!0;c.disabled=!0;this.scrollHorizontal(0,12,0<b?1:-1,b,a)};
_.f.scrollHorizontal=function(a,b,c,d,e){var h=this,l=this.$["sticker-tabs"];a+=b;l.$.tabsContainer.scrollLeft+=c*b;if(a+b>=c*d){var m=this.$["scroll-back-button"],p=this.$["scroll-forward-button"];l.$.tabsContainer.scrollLeft=e+d;m.disabled=!1;p.disabled=!1}else this.scrollHandler=window.requestAnimationFrame(function(){h.scrollHorizontal(a,b,c,d,e)})};
_.f.onIronResize=function(){this.hasScrollToPack&&this.debounce("resize",this.updateTabsProperties.bind(this))};
_.f.onTrack=function(a){a.preventDefault();a.stopPropagation()};
_.f.updateTabsProperties=function(){var a=this.$["sticker-tabs"],b=a.clientWidth;if(0!==b)if(a=a.$.tabsContent.clientWidth,a<b)this.isAtBack=this.isAtFront=!0;else{a/=this.numberOfStickerPacks;var c=this.$$("tp-yt-paper-tabs tp-yt-paper-tab").children[0].offsetWidth;this.numOfPacksToShift=Math.floor((b+(a-c)/2)/a)||1;this.isAtBack&&this.firstPackIndexInView+this.numOfPacksToShift<this.numberOfStickerPacks&&(this.isAtBack=!1)}};
_.f.closePreview=function(){this.$.preview.data=void 0;this.isPreviewHidden=!0;this.$.preview.resetState()};
_.f.resetState=function(){this.closePreview()};
_.f.computeSelectedIndex=function(a,b){a=a.superStickerPacks.findIndex(function(c){return c.superStickerPackRenderer.id===b});
return-1!==a?a:0};
_.t.Object.defineProperties(Q8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-paid-sticker-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_sticker_panel_renderer.yt.live.chat.paid.sticker.panel.renderer.css.js--\x3e<div id="selection" hidden="[[!isPreviewHidden]]">\n  <div id="header">\n    <div id="header-top">\n      <div id="left">\n        <div id="close-button" on-click="onCloseClick"></div>\n        <div id="header-text" tabindex="0">\n          <h3>[[stringAsRawText(data.headerText)]]</h3>\n          <span>[[stringAsRawText(data.headerSubtext)]]</span>\n        </div>\n      </div>\n      <div id="help-button" on-click="onHelpClick"></div>\n    </div>\n    <div id="header-bottom" is-at-back$="[[isAtBack]]" is-at-front$="[[isAtFront]]">\n      <yt-icon-button id="scroll-back-button" hidden="[[isAtFront]]" on-click="onScrollBackWithAnimation">\n        <yt-icon icon="chevron_left"></yt-icon>\n      </yt-icon-button>\n      <tp-yt-paper-tabs id="sticker-tabs" disable-drag="" hide-scroll-buttons="" no-slide="" noink="" scrollable="" selected="[[selectedIndex]]" on-selected-changed="onSelectedTabChanged">\n        <template id="template" is="dom-repeat" notify-dom-change="" on-dom-change="onDomChange" items="[[data.superStickerPackButtons]]">\n          <tp-yt-paper-tab>\n            <yt-live-chat-super-sticker-pack-button-renderer data="[[item.superStickerPackButtonRenderer]]" selected$="[[isSelected(index)]]">\n            </yt-live-chat-super-sticker-pack-button-renderer>\n          </tp-yt-paper-tab>\n        </template>\n      </tp-yt-paper-tabs>\n      <yt-icon-button id="scroll-forward-button" hidden="[[isAtBack]]" on-click="onScrollForwardWithAnimation">\n        <yt-icon icon="chevron_right"></yt-icon>\n      </yt-icon-button>\n    </div>\n  </div>\n  <div id="banner"></div>\n  <iron-pages id="stickers-container" selected="[[selectedIndex]]" tabindex="-1">\n  </iron-pages>\n</div>\n<yt-live-chat-super-sticker-preview-renderer id="preview" hidden="[[isPreviewHidden]]">\n</yt-live-chat-super-sticker-preview-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_paid_sticker_panel_renderer.yt.live.chat.paid.sticker.panel.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-live-chat-background-color);position: relative;} #header {padding-top: 16px;background-color: var(--yt-live-chat-header-background-color,var(--yt-deprecated-opalescence-soft-grey-opacity-lighten-3));box-shadow: 0px 2px 2px 0px #c7c1c7;} yt-icon {color: var(--yt-live-chat-icon-button-color);} #header-top {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header-text {color: var(--yt-live-chat-secondary-text-color);font-size: 12px;} h3 {color: var(--yt-live-chat-primary-text-color);font-size: 16px;font-weight: normal;} #left {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header-bottom {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #header-bottom[is-at-front] {margin-left: 24px;} #header-bottom[is-at-back] {margin-right: 24px;} yt-icon-button {width: 40px;height: 48px;} yt-icon-button[disabled] {cursor: default;} #scroll-back-button {padding: 0 4px 0 8px;left: 0;} #scroll-forward-button {padding: 0 8px 0 4px;right: 0;} #sticker-tabs {display: inline-block;width: 100%;overflow: hidden;--paper-tabs-selection-bar-color: var(--yt-pdg-paid-stickers-tab-selection-bar-color);} #close-button,#help-button {margin: 0 var(--ytd-margin-3x);} #close-button>*,#help-button>* {color: var(--yt-live-chat-icon-button-color);} yt-live-chat-super-sticker-pack-renderer {max-height: 300px;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #stickers-container:focus {outline: none;} ytd-pdg-banner-renderer {margin-bottom: 16px;} #dialog {z-index: 3;} /*# sourceMappingURL=yt-live-chat-paid-sticker-panel-renderer.css.map*/</style>";
KSb=d}d=KSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LSb=a}a=LSb;return a}}});
var R8=Q8;R8.prototype.closePreview=R8.prototype.closePreview;R8.prototype.onIronResize=R8.prototype.onIronResize;R8.prototype.onStickerClick=R8.prototype.onStickerClick;R8.prototype.dataChanged=R8.prototype.dataChanged;_.S([_.L(_.xx),_.T("design:type",Object)],R8.prototype,"ironResizableBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],R8.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],R8.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R8.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R8.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],R8.prototype,"selectedIndex",void 0);_.S([_.N(),_.T("design:type",Number)],R8.prototype,"numberOfStickerPacks",void 0);
_.S([_.N(),_.T("design:type",Number)],R8.prototype,"numOfPacksToShift",void 0);_.S([_.N(),_.T("design:type",Boolean)],R8.prototype,"isAtFront",void 0);_.S([_.N(),_.T("design:type",Boolean)],R8.prototype,"isAtBack",void 0);_.S([_.N(),_.T("design:type",Object)],R8.prototype,"isPreviewHidden",void 0);_.S([_.N(),_.T("design:type",Object)],R8.prototype,"firstPackIndexInView",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],R8.prototype,"dataChanged",null);_.S([_.O("yt-super-sticker-open-preview"),_.T("design:type",Function),_.T("design:paramtypes",[Event,Object]),_.T("design:returntype")],R8.prototype,"onStickerClick",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],R8.prototype,"onIronResize",null);
_.S([_.O("yt-super-sticker-close-preview"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],R8.prototype,"closePreview",null);R8=_.S([_.lu({is:"yt-live-chat-paid-sticker-panel-renderer",noInjection:!0})],R8);
var YSb;
var ZSb;
var $Sb=[_.Y.YtActionHandlerBehavior,_.mF.YtLiveChatItemBehavior,{properties:{containerStyle:{type:_.wj,computed:"computeContainerStyle(data, ratio)"},dimmed:{type:Boolean,value:!1,reflectToAttribute:!0},selected:{type:Boolean,value:!1},ratio:{type:Number,value:0},ariaLabel:{type:String,value:null,reflectToAttribute:!0},shouldAnimateIn:Boolean,isAnimationPaused:{type:Boolean,value:!1,observer:"handleIsAnimationPausedChanged_"}},listeners:{click:"onClick_",keypress:"onKeyPress_"},observers:["updateWidthOnDataChanged_(data)",
"deletedChanged_(isDeleted)"],hostAttributes:{role:"button",tabindex:0},behaviorActionMap_:{"yt-live-chat-pause-replay":"handlePauseReplay_","yt-live-chat-resume-replay":"handleResumeReplay_","yt-live-chat-replay-progress":"handleReplayProgress_"},attached:function(){this.registerActionMap(this.behaviorActionMap_)},
created:function(){this.countdownMs_=this.countdownDurationMs_=0;this.lastCountdownTimeMs_=null;this.detlaSincePausedSecs_=this.playerProgressSec_=this.rafId_=0},
updateWidthOnDataChanged_:function(){this.style.width="auto";this.style.overflow="visible"},
startCountdown:function(a,b){void 0!=a&&(this.countdownMs_=1E3*a,this.countdownDurationMs_=b?1E3*b:this.countdownMs_,this.ratio=1,this.lastCountdownTimeMs_||this.isAnimationPaused||(this.lastCountdownTimeMs_=performance.now(),this.rafId_=window.requestAnimationFrame(this.updateTimeout_.bind(this))))},
updateTimeout_:function(a){this.countdownMs_=Math.max(0,this.countdownMs_-(a-this.lastCountdownTimeMs_));this.ratio=this.countdownMs_/this.countdownDurationMs_;this.isAttached&&this.countdownMs_?(this.lastCountdownTimeMs_=a,this.rafId_=window.requestAnimationFrame(this.updateTimeout_.bind(this))):(this.lastCountdownTimeMs_=null,this.isAttached&&("auto"==this.style.width&&this.setContainerWidth(),this.slideDown_()))},
setContainerWidth:function(){var a=this.$.container.clientWidth;0==a?(this.style.overflow="visible",this.style.width="auto"):(this.style.overflow="hidden",this.shouldAnimateIn?(this.style.width=0,this.async(function(){this.style.width=a+"px"},1)):this.style.width=a+"px")},
slideDown_:function(){this.classList.add("sliding-down");this.async(this.collapse_,200)},
collapse_:function(){this.classList.add("collapsing");this.style.width="0";this.async(this.requestRemoval_,200)},
requestRemoval_:function(){this.fire("yt-live-chat-ticker-remove-ticker-item",this.data.id);this.classList.remove("sliding-down");this.classList.remove("collapsing");this.style.overflow="visible";this.style.width="auto"},
computeContainerStyle:function(a,b){if(!a)return _.ou({});var c=this.colorFromDecimal(a.startBackgroundColor);a=this.colorFromDecimal(a.endBackgroundColor);b=100*b+"%";return _.ou({background:"linear-gradient(90deg, "+c+","+c+" "+b+","+a+" "+b+","+a+")"})},
onClick_:function(){this.data.showItemEndpoint&&this.fire("yt-navigate",{endpoint:this.data.showItemEndpoint})},
onKeyPress_:function(a){if(13==a.keyCode)this.onClick_()},
deletedChanged_:function(a){a&&(this.style.overflow="visible",this.style.width="auto",this.async(this.setContainerWidth));if(a=this.get("data.showItemEndpoint.showLiveChatItemEndpoint.renderer"))a=Object.keys(a)[0],this.set("data.showItemEndpoint.showLiveChatItemEndpoint.renderer."+a+".deletedStateMessage",this.data.deletedStateMessage),this.selected&&this.fire("yt-live-chat-pinned-message-update")},
handlePauseReplay_:function(){this.isAnimationPaused=!0;this.detlaSincePausedSecs_=0},
handleResumeReplay_:function(){this.isAnimationPaused=!1},
handleIsAnimationPausedChanged_:function(a,b){a?window.cancelAnimationFrame(this.rafId_):!a&&b&&(a=this.lastCountdownTimeMs_,this.detlaSincePausedSecs_&&(a=this.lastCountdownTimeMs_+1E3*this.detlaSincePausedSecs_,this.detlaSincePausedSecs_=0),this.updateTimeout_(a),this.lastCountdownTimeMs_=window.performance.now())},
handleReplayProgress_:function(a){this.isAnimationPaused?this.detlaSincePausedSecs_=Math.floor(a-this.playerProgressSec_):this.playerProgressSec_=a}}];
var S8=function(){return _.K.apply(this,arguments)||this};
_.q(S8,_.K);S8.prototype.dataChanged=function(a){a&&(this.$.content.style.color=this.ytLiveChatTickerItemBehavior.colorFromDecimal(a.amountTextColor),this.ytLiveChatTickerItemBehavior.ariaLabel=this.ytRendererBehavior.getSimpleString(a.amount),this.ytLiveChatTickerItemBehavior.startCountdown(a.durationSec,a.fullDurationSec),this.async(this.ytLiveChatTickerItemBehavior.setContainerWidth))};
_.t.Object.defineProperties(S8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZSb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-ticker-paid-message-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_ticker_paid_message_item_renderer.yt.live.chat.ticker.paid.message.item.renderer.css.js--\x3e<div id="container" style$="[[containerStyle]]" dir="ltr">\n  <div id="content">\n    <yt-img-shadow id="author-photo" height="24" hidden$="[[!data.authorPhoto]]" thumbnail="[[data.authorPhoto]]" width="24"></yt-img-shadow>\n    <span id="text" dir="ltr">[[getSimpleString(data.amount)]]</span>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YSb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_ticker_paid_message_item_renderer.yt.live.chat.ticker.paid.message.item.renderer.css.js--\x3e<style>:host {display: inline-block;font-size: 14px;outline: none;transition: width 0.2s;vertical-align: top;cursor: pointer;-moz-user-select: none;-ms-user-select: none;-webkit-user-select: none;user-select: none;} #container {border-radius: 999px;padding: 4px;} :host(.sliding-down) #container {opacity: 0.5;transform: translateY(44px);transition: opacity 0.2s,transform 0.2s cubic-bezier(0.4,0,1,1);} :host(.collapsing) {margin-right: 0;transition: margin-right 0.2s cubic-bezier(0.4,0,0.2,1),width 0.2s cubic-bezier(0.4,0,0.2,1);} :host([dimmed]) {opacity: 0.5;} yt-img-shadow {margin-right: -4px;overflow: hidden;border-radius: 50%;} #content {height: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #text {margin: 0 8px;font-weight: 500;} :host([is-deleted]) #author-photo {display: none;} /*# sourceMappingURL=yt-live-chat-ticker-paid-message-item-renderer.css.map*/</style>";
YSb=d}d=YSb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZSb=a}a=ZSb;return a}}});
var T8=S8;_.S([_.L(u8.YtPdgLiveChatItemBehavior),_.T("design:type",Object)],T8.prototype,"ytPdgLiveChatItemBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T8.prototype,"ytRendererBehavior",void 0);_.S([_.L($Sb),_.T("design:type",Object)],T8.prototype,"ytLiveChatTickerItemBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],T8.prototype,"data",void 0);T8=_.S([_.lu({is:"yt-live-chat-ticker-paid-message-item-renderer",noInjection:!0})],T8);
var aTb;
var bTb;
var U8=function(){return _.K.apply(this,arguments)||this};
_.q(U8,_.K);U8.prototype.dataChanged=function(a){a&&(1<a.tickerThumbnails.length&&this.$.content.classList.add("multiple-thumbnails"),this.ytLiveChatTickerItemBehavior.startCountdown(a.durationSec,a.fullDurationSec),this.async(this.ytLiveChatTickerItemBehavior.setContainerWidth))};
_.t.Object.defineProperties(U8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-ticker-paid-sticker-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_ticker_paid_sticker_item_renderer.yt.live.chat.ticker.paid.sticker.item.renderer.css.js--\x3e<div id="container" style$="[[containerStyle]]" dir="ltr">\n  <div id="content">\n    <yt-img-shadow id="author-photo" height="24" hidden$="[[!data.authorPhoto]]" thumbnail="[[data.authorPhoto]]" width="24"></yt-img-shadow>\n    <template is="dom-repeat" items="[[data.tickerThumbnails]]">\n        <yt-img-shadow class="sticker-thumbnail" height="24" thumbnail="[[item]]" width="24">\n        </yt-img-shadow>\n      </template>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.pdg.yt_live_chat_ticker_paid_sticker_item_renderer.yt.live.chat.ticker.paid.sticker.item.renderer.css.js--\x3e<style>:host {display: inline-block;font-size: 14px;outline: none;transition: width 0.2s;vertical-align: top;cursor: pointer;-moz-user-select: none;-ms-user-select: none;-webkit-user-select: none;user-select: none;} #container {border-radius: 999px;padding: 4px;} :host(.sliding-down) #container {opacity: 0.5;transform: translateY(44px);transition: opacity 0.2s,transform 0.2s cubic-bezier(0.4,0,1,1);} :host(.collapsing) {margin-right: 0;transition: margin-right 0.2s cubic-bezier(0.4,0,0.2,1),width 0.2s cubic-bezier(0.4,0,0.2,1);} :host([dimmed]) {opacity: 0.5;} yt-img-shadow {margin-right: -4px;overflow: hidden;border-radius: 50%;} #content {height: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #text {margin: 0 8px;font-weight: 500;} :host([is-deleted]) #author-photo {display: none;} #content {padding-right: 8px;} #content.multiple-thumbnails {padding-right: 6px;} #author-photo {margin-right: 4px;} .sticker-thumbnail {border-radius: 0;margin-right: 0;} /*# sourceMappingURL=yt-live-chat-ticker-paid-sticker-item-renderer.css.map*/</style>";
aTb=d}d=aTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bTb=a}a=bTb;return a}}});
var V8=U8;_.S([_.L(u8.YtPdgLiveChatItemBehavior),_.T("design:type",Object)],V8.prototype,"ytPdgLiveChatItemBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],V8.prototype,"ytRendererBehavior",void 0);_.S([_.L($Sb),_.T("design:type",Object)],V8.prototype,"ytLiveChatTickerItemBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],V8.prototype,"data",void 0);V8=_.S([_.lu({is:"yt-live-chat-ticker-paid-sticker-item-renderer",noInjection:!0})],V8);
var cTb=function(){this.replayQueue_=new _.pI;this.lastVideoOffsetTimeMsec=0};
cTb.prototype.addReplayChatItemAction=function(a){this.replayQueue_.enqueue(a);this.lastVideoOffsetTimeMsec=parseInt(a.videoOffsetTimeMsec||0,10)};
var dTb=function(a,b){for(var c=ORb(a.replayQueue_),d=[];c&&b>=parseInt(c.videoOffsetTimeMsec||0,10);)c=_.y4a(a.replayQueue_),d=d.concat(c.actions||[]),c=ORb(a.replayQueue_);return d};
cTb.prototype.clear=function(){this.replayQueue_.clear();this.lastVideoOffsetTimeMsec=0};
var eTb=function(){this.lastUpdateTime_=this.estimatedUpdateInterval_=this.callback=null;this.messageQueue_=[];this.nextUpdateId_=null;this.pollResponseDelayQueue_=new _.pI};
eTb.prototype.enqueueActionGroup=function(a){if(this.lastUpdateTime_){var b=Date.now()-this.lastUpdateTime_;this.pollResponseDelayQueue_.enqueue(b);5<this.pollResponseDelayQueue_.getCount()&&_.y4a(this.pollResponseDelayQueue_);this.estimatedUpdateInterval_=Math.max.apply(null,this.pollResponseDelayQueue_.getValues())}this.lastUpdateTime_=Date.now();b=[];for(var c=0;c<a.length;c++){var d=a[c];d.addChatItemAction&&b.length&&(this.messageQueue_.push(b),b=[]);b.push(d)}b.length&&this.messageQueue_.push(b);
this.nextUpdateId_||(this.nextUpdateId_=window.setTimeout(this.JSC$42814_emitSmoothedMessages_.bind(this)))};
eTb.prototype.JSC$42814_emitSmoothedMessages_=function(){this.nextUpdateId_=null;if(this.messageQueue_.length){var a=1E4;this.estimatedUpdateInterval_&&(a=this.estimatedUpdateInterval_-Date.now()+this.lastUpdateTime_);var b=this.messageQueue_.length<a/80?1:Math.ceil(this.messageQueue_.length/(a/80));var c=_.Srb(this.messageQueue_.splice(0,b));this.callback&&this.callback(c);this.messageQueue_.length&&(1==b?(b=a/this.messageQueue_.length,b*=Math.random()+.5,b=Math.min(1E3,b),b=Math.max(80,b)):b=80,
this.nextUpdateId_=window.setTimeout(this.JSC$42814_emitSmoothedMessages_.bind(this),b))}};
var fTb=function(){this.callback=null;this.JSC$42817_actionQueue_=[];this.lastPollTimeMs_=Date.now();this.lastUpdateTimeMs_=performance.now();this.currentTimestampUs_=-1;this.pollIntervalsMs_=new TRb;this.timestampScale_=1;this.animationFrameRequestId_=this.emitDelayMs_=0},gTb=function(a){a=a.pollIntervalsMs_.getValues().reduce(function(b,c){return c?Math.min(b,c):b},Number.POSITIVE_INFINITY);
return a==Number.POSITIVE_INFINITY?0:1E3*a};
fTb.prototype.enqueueActionGroup=function(a){var b=Date.now(),c=b-this.lastPollTimeMs_;this.lastPollTimeMs_=b;this.pollIntervalsMs_.add(c);this.JSC$42817_actionQueue_.push.apply(this.JSC$42817_actionQueue_,_.sc(a));a:{a=hTb(this);b:{for(b=this.JSC$42817_actionQueue_.length-1;0<=b;b--)if(c=iTb(this.JSC$42817_actionQueue_[b]),-1!=c){b=c;break b}b=-1}if(-1!=a&&-1!=b&&b>a&&(c=gTb(this))){a=(b-a)/c;break a}a=1}this.timestampScale_=a;this.currentTimestampUs_=hTb(this);this.animationFrameRequestId_||(this.lastUpdateTimeMs_=
performance.now(),jTb(this,this.lastUpdateTimeMs_))};
var iTb=function(a){if(a.addChatItemAction){a=a.addChatItemAction.item;var b=Object.keys(a)[0];a=a[b];if(a.timestampUsec)return parseInt(a.timestampUsec,10)}return-1},hTb=function(a){a=_.k(a.JSC$42817_actionQueue_);
for(var b=a.next();!b.done;b=a.next())if(b=iTb(b.value),-1!=b)return b;return-1},jTb=function(a,b){if(a.callback&&a.JSC$42817_actionQueue_.length){a.animationFrameRequestId_=window.requestAnimationFrame(function(e){return jTb(a,e)});
var c=b-a.lastUpdateTimeMs_;a.lastUpdateTimeMs_=b;a.emitDelayMs_-=c;a.currentTimestampUs_+=Math.floor(1E3*c*a.timestampScale_);if(!(0<a.emitDelayMs_)){for(c=b=0;c<a.JSC$42817_actionQueue_.length;c++){var d=iTb(a.JSC$42817_actionQueue_[c]);if(-1!=d&&d>a.currentTimestampUs_)break;b=c+1}b&&(a.callback(a.JSC$42817_actionQueue_.splice(0,b)),a.emitDelayMs_=84)}}else a.animationFrameRequestId_=0,a.JSC$42817_actionQueue_.length=0};
var kTb;
var lTb;
var mTb;
var nTb;
_.Ng({is:"yt-live-chat-poll-choice",_template:function(){if(void 0!==nTb)return nTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-poll-choice--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_choice.yt.live.chat.poll.choice.css.js--\x3e<a id="endpoint" class="yt-simple-endpoint" on-click="onClick_" data="[[signInEndpoint]]">\n  <tp-yt-paper-item id="content" disabled$="[[hasVoted]]">\n    <div id="percentage-container">\n      <div id="vote-percentage-bar"></div>\n    </div>\n    <div id="text-container">\n      <yt-formatted-string id="label-text" text="[[data.text]]"></yt-formatted-string>\n      <yt-formatted-string id="vote-percentage-text" text="[[data.votePercentage]]"></yt-formatted-string>\n    </div>\n    <yt-icon id="selected-icon" icon="yt-icons:check-circle"></yt-icon>\n    <tp-yt-paper-spinner-lite active=""></tp-yt-paper-spinner-lite>\n  </tp-yt-paper-item>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_choice.yt.live.chat.poll.choice.css.js--\x3e<style>:host {display: block;position: relative;} #text-container {position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;padding: var(--yt-live-chat-poll-choice-text-padding);} #content {min-height: var(--yt-live-chat-poll-choice-min-height);padding: 8px 16px;position: relative;font-size: 13px;} #content[disabled] {color: inherit;} :host([selected]) #endpoint {animation: border-and-text-highlight var(--yt-live-chat-universal-motion-curve) forwards;animation-duration: var(--yt-live-chat-poll-choice-animation-duration);} #label-text,#vote-percentage-text {font-weight: 500;} #label-text {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} #percentage-container {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #vote-percentage-bar {position: absolute;top: 0;right: 0;bottom: 0;left: 0;transform: var(--yt-live-chat-poll-choice-vote-bar-transform,translateX(-100%));transition: transform cubic-bezier(0.05,0,0,1);transition-duration: var(--yt-live-chat-poll-choice-animation-duration);} #endpoint {display: block;box-sizing: border-box;border-radius: var(--yt-live-chat-poll-choice-border-radius);border: var(--yt-live-chat-poll-choice-border);color: var(--yt-live-chat-poll-choice-text-color);background-color: var(--yt-live-chat-poll-choice-background-color);overflow: hidden;} #selected-icon,:host([selected][vote-request-in-flight][show-spinner]) #selected-icon,tp-yt-paper-spinner-lite {display: none;} :host([selected][vote-request-in-flight]) #selected-icon,:host([show-spinner]) tp-yt-paper-spinner-lite {display: inline;position: absolute;right: 16px;--iron-icon-width: 20px;--iron-icon-height: 20px;} tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-live-chat-poll-primary-text-color);height: 20px;width: 20px;} :host([has-voted]) #endpoint {cursor: initial;} :host([has-voted]) #vote-percentage-bar {background-color: var(--yt-live-chat-poll-choice-vote-bar-background-color);} :host(:not([has-voted])) #endpoint:hover {background-color: var(--yt-live-chat-poll-choice-hover-color);} @keyframes border-and-text-highlight {20% {border: 1px solid var(--yt-live-chat-primary-text-color);color: var(--yt-live-chat-primary-text-color);}100% {border: 1px solid var(--yt-live-chat-poll-primary-text-color);color: var(--yt-live-chat-poll-primary-text-color);}} /*# sourceMappingURL=yt-live-chat-poll-choice.css.map*/</style>";
mTb=d}d=mTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return nTb=a},
properties:{data:{type:Object,value:null},selected:{type:Boolean,value:!1,reflectToAttribute:!0,computed:"computeSelected_(data.selected)"},voteRequestInFlight:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"voteRequestInFlightChanged"},hasVoted:{type:Boolean,value:!1,reflectToAttribute:!0},showSpinner:{type:Boolean,value:!1,reflectToAttribute:!0},command:{type:Object,computed:"identity(data.selectServiceEndpoint)"},signInEndpoint:{type:Object,computed:"identity(data.signinEndpoint)"},isWinning:{type:Boolean,
value:!1,reflectToAttribute:!0},hasVotes:{type:Boolean,value:!1,computed:"computeHasVotes(data.voteRatio)",reflectToAttribute:!0}},behaviors:[_.Y.YtActionHandlerBehavior],actionMap:{"yt-cancel-vote-action":"handleVoteRequestError_"},observers:["updateVoteBarStyles_(data, hasVoted)"],listeners:{"yt-service-request-error":"handleVoteRequestError_"},created:function(){this.spinnerTimerId_=null},
detached:function(){clearTimeout(this.spinnerTimerId_)},
identity:function(a){return a},
updateVoteBarStyles_:function(a,b){a&&a.voteRatio&&b&&this.updateStyles({"--yt-live-chat-poll-choice-vote-bar-transform":"translateX("+(100*a.voteRatio-100+"%)")})},
onClick_:function(){!this.hasVoted&&this.get("command.sendLiveChatVoteEndpoint")&&(this.set("data.selected",!0),_.Kg(this,[this.command]))},
handleVoteRequestError_:function(){this.set("data.selected",!1)},
computeSelected_:function(a){return void 0===a?!!this.selected:!!a},
computeHasVotes:function(){return this.data&&0<this.data.voteRatio},
voteRequestInFlightChanged:function(){var a=this;this.voteRequestInFlight?this.spinnerTimerId_=setTimeout(function(){a.showSpinner=!0},2E3):(clearTimeout(this.spinnerTimerId_),this.showSpinner=!1)}});
var oTb;
var pTb;
var W8=function(){return _.K.apply(this,arguments)||this};
_.q(W8,_.K);W8.prototype.computeId=function(){return this.data&&this.data.targetId};
_.t.Object.defineProperties(W8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-button--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_button.yt.live.chat.button.css.js--\x3e<yt-button-renderer data="[[data]]"></yt-button-renderer>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_button.yt.live.chat.button.css.js--\x3e<style>:host {display: block;} yt-button-renderer {color: inherit;} /*# sourceMappingURL=yt-live-chat-button.css.map*/</style>";oTb=d}d=oTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pTb=a}a=pTb;return a}}});
var X8=W8;_.S([_.L(_.RB.YtLiveChatTooltipTargetingBehavior),_.T("design:type",Object)],X8.prototype,"ytLiveChatTooltipTargetingBehavior",void 0);_.S([_.N({computed:"computeId(data.targetId)",reflectToAttribute:!0}),_.T("design:type",String)],X8.prototype,"id",void 0);_.S([_.N(),_.T("design:type",Object)],X8.prototype,"data",void 0);X8=_.S([_.Q({is:"yt-live-chat-button"})],X8);
var qTb;
var rTb;
_.Ng({is:"yt-live-chat-poll-header-renderer",_template:function(){if(void 0!==rTb)return rTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-poll-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_header_renderer.yt.live.chat.poll.header.renderer.css.js--\x3e<div id="content-top">\n  <yt-img-shadow id="creator-photo" height="24" hidden$="[[!creatorPhoto]]" thumbnail="[[creatorPhoto]]" width="24">\n  </yt-img-shadow>\n  <yt-formatted-string class="metadata" text="[[data.metadataText]]"></yt-formatted-string>\n  <div id="menu" on-click="onContextMenuButtonClick_"></div>\n</div>\n<div id="main-content">\n  <yt-img-shadow id="game-photo" height="32" hidden$="[[!gamePhoto]]" thumbnail="[[gamePhoto]]" width="24">\n  </yt-img-shadow>\n  <div id="col-right">\n    <yt-formatted-string id="poll-question" text="[[cachedData.pollQuestion]]"></yt-formatted-string>\n    <yt-formatted-string class="metadata" text="[[cachedData.attributionText]]"></yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_header_renderer.yt.live.chat.poll.header.renderer.css.js--\x3e<style>:host {font-size: 13px;padding: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([in-collapsed-banner]) {transition: padding var(--yt-live-chat-universal-motion-curve);transition-duration: var(--yt-live-chat-banner-animation-duration);padding-bottom: 0;} yt-img-shadow,.metadata,#poll-question {transition: opacity var(--yt-live-chat-banner-animation-duration) var(--yt-live-chat-universal-motion-curve);transition-delay: 0.1s;} :host([in-collapsed-banner]) yt-img-shadow,:host([in-collapsed-banner]) .metadata,:host([in-collapsed-banner]) #poll-question {opacity: 0;transition-duration: var(--yt-live-chat-banner-animation-fast-duration);transition-delay: 0s;} #menu yt-live-chat-button,.metadata {color: var(--yt-live-chat-poll-secondary-text-color);} #poll-question {margin-bottom: 12px;color: var(--yt-live-chat-poll-primary-text-color);word-break: break-word;overflow-wrap: break-word;word-wrap: break-word;} #game-photo,#creator-photo {margin-right: 12px;} #creator-photo {overflow: hidden;border-radius: 50%;} #content-top {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .metadata {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #menu {-ms-flex: none;-webkit-flex: none;flex: none;} #main-content {transition: height var(--yt-live-chat-universal-motion-curve),padding var(--yt-live-chat-universal-motion-curve);transition-duration: var(--yt-live-chat-banner-animation-duration);padding: 14px 20px 4px 0;color: var(--yt-live-chat-primary-text-color);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([in-collapsed-banner]) #main-content {height: 0;padding-top: 0;padding-bottom: 0;} #content-top,#main-content {z-index: 1;} #col-right {overflow: hidden;margin-top: -2px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #menu {--yt-button-icon-size: 24px;--yt-button-icon-padding: 0;} /*# sourceMappingURL=yt-live-chat-poll-header-renderer.css.map*/</style>";
qTb=d}d=qTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return rTb=a},
properties:{data:{type:Object,observer:"dataChanged"},cachedData:{type:Object,computed:"computeCachedData(data)"},creatorPhoto:{type:Object,value:null,computed:"computeCreatorPhoto(cachedData.thumbnail, cachedData.liveChatPollType)"},gamePhoto:{type:Object,value:null,computed:"computeGamePhoto(cachedData.thumbnail, cachedData.liveChatPollType)"},inCollapsedBanner:{type:Boolean,value:!1,reflectToAttribute:!0}},behaviors:[_.X.YtRendererstamperBehavior,_.mF.YtLiveChatItemBehavior],stampDom:{"cachedData.contextMenuButton":{id:"menu",
events:!0,mapping:{buttonRenderer:"yt-live-chat-button"}}},listeners:{"yt-rendererstamper-finished":"onRenderStamperFinished_"},dataChanged:function(){this.data&&this.data.contextMenuButton&&(this.data.contextMenuEndpoint=this.get("contextMenuButton.buttonRenderer.command",this.data))},
computeCachedData:function(){return this.cachedData?this.cachedData:this.data},
computeCreatorPhoto:function(){if(this.cachedData)return"LIVE_CHAT_POLL_TYPE_STADIA"==this.cachedData.liveChatPollType&&this.cachedData.questionThumbnail||"LIVE_CHAT_POLL_TYPE_CREATOR"===this.cachedData.liveChatPollType?this.cachedData.thumbnail||null:null},
computeGamePhoto:function(){if(this.cachedData)return this.cachedData.questionThumbnail?this.cachedData.questionThumbnail:"LIVE_CHAT_POLL_TYPE_STADIA"===this.cachedData.liveChatPollType?this.cachedData.thumbnail||null:null},
onContextMenuButtonClick_:function(a){this.showContextMenu(a)},
onRenderStamperFinished_:function(){var a=this.get("cachedData.contextMenuButton.buttonRenderer.targetId");a&&(this.menuButton=this.$$("#"+a))}});
var sTb;
var tTb;
_.Ng({is:"yt-live-chat-poll-renderer",_template:function(){if(void 0!==tTb)return tTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-poll-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_renderer.yt.live.chat.poll.renderer.css.js--\x3e<div id="header"></div>\n<div id="collapse-container">\n  <div id="poll-choice-container"></div>\n  <div id="button" hidden$="[[!data.button]]" on-click="onClickButton" on-yt-action="handleEndButtonAction">\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_renderer.yt.live.chat.poll.renderer.css.js--\x3e<style>:host {display: block;padding: 4px 8px 10px 16px;font-size: 13px;} #poll-choice-container {position: relative;box-sizing: border-box;padding: 0 8px 10px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([in-banner]),:host([in-banner]) #poll-choice-container {padding-right: 0;} yt-live-chat-poll-choice:not(:first-of-type) {margin-top: 8px;} #button {margin-right: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([in-banner]) #button {margin-right: -8px;} #button yt-button-renderer {color: var(--yt-live-chat-poll-primary-text-color);} :host([highlight-winning-option]) yt-live-chat-poll-choice[is-winning][has-votes] {--yt-live-chat-poll-choice-text-color: var(--yt-live-chat-poll-primary-text-color);--yt-live-chat-poll-choice-border: 1px solid var(--yt-live-chat-poll-tertiary-text-color);--yt-live-chat-poll-choice-min-height: 6px;--yt-live-chat-poll-choice-text-padding: 0 11px;} :host([in-banner]) {--yt-live-chat-poll-choice-border: none;--yt-live-chat-poll-choice-min-height: 8px;--yt-live-chat-poll-choice-text-padding: 0 12px;--yt-live-chat-poll-choice-text-color: var(--yt-live-chat-poll-secondary-text-color);padding-bottom: 0;} :host([in-collapsed-banner]) {padding-bottom: 8px;} :host([in-collapsed-banner]) #poll-choice-container {padding-bottom: 2px;transition: padding-right var(--yt-live-chat-universal-motion-curve);} :host([in-banner]) #collapse-container {padding-right: 8px;transition: transform var(--yt-live-chat-universal-motion-curve),height var(--yt-live-chat-universal-motion-curve),padding var(--yt-live-chat-universal-motion-curve);transition-duration: var(--yt-live-chat-banner-animation-duration);} :host([in-collapsed-banner]) #collapse-container {padding-right: 28px;} :host([highlight-winning-option]) yt-live-chat-poll-choice:not([is-winning]) {transition: opacity var(--yt-live-chat-banner-animation-duration) var(--yt-live-chat-universal-motion-curve);} :host([highlight-winning-option][in-collapsed-banner]) yt-live-chat-poll-choice:not([is-winning]) {opacity: 0;} :host([in-banner][is-transitioning-collapse]) yt-live-chat-poll-choice[is-winning] {transition: transform var(--yt-live-chat-banner-animation-duration) var(--yt-live-chat-universal-motion-curve);} /*# sourceMappingURL=yt-live-chat-poll-renderer.css.map*/</style>";
sTb=d}d=sTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return tTb=a},
properties:{data:{type:Object},pollStateEntity:{type:Object,selector:GRb,selectorArgs:["data.pollStateEntityKey"]},voteRequestInFlight:{type:Boolean,value:!1},endPollRequestInFlight:{type:Boolean,value:!1},hasClosed:{type:Boolean,value:!1},displayVoteResults:{type:Boolean,value:!1,computed:"computeDisplayVoteResults_(data.displayVoteResults)"},highlightWinningOption:{type:Boolean,value:!1,reflectToAttribute:!0},pollChoices:{type:Array,value:function(){return[]}},
inCollapsedBanner:{type:Boolean,value:!1,reflectToAttribute:!0},isTransitioningCollapse:{type:Boolean,value:!1,reflectToAttribute:!0}},behaviors:[_.Y.YtActionHandlerBehavior,_.X.YtRendererstamperBehavior,t8.YtLiveChatReduxBehavior],stampDom:{"data.header":{id:"header",mapping:{pollHeaderRenderer:{component:"yt-live-chat-poll-header-renderer",properties:{inCollapsedBanner:"[[inCollapsedBanner]]"}}},stamperStableList:!0},pollChoices:{id:"poll-choice-container",mapping:{pollChoice:"yt-live-chat-poll-choice"},
stamperStableList:!0},"data.button":{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}}},actionMap:{"yt-live-chat-actions":"handleLiveChatActions_","yt-cancel-vote-action":"handleVoteRequestError_","yt-update-live-chat-poll-action":"handleUpdateLiveChatPollAction_"},listeners:{"yt-service-request-completed":"handleServiceRequestCompleted_","yt-service-request-error":"handleServiceRequestError_","yt-service-request-sent":"handleServiceRequestSent_"},observers:["pollChoicesChanged(data.choices, voteRequestInFlight)",
"inCollapsedBannerChanged(inCollapsedBanner)","pollStateEntityChanged(pollStateEntity)"],created:function(){this.collapseTimerId_=null},
detached:function(){clearTimeout(this.collapseTimerId_)},
pollChoicesChanged:function(a,b){var c=this;if(a){this.set("pollChoices",a.map(function(m){return{pollChoice:m}}));
var d=this.displayVoteResults||b,e=0;if(this.highlightWinningOption)for(var h=1,l=a.length;h<l;h++)a[h].voteRatio>a[e].voteRatio&&(e=h);Array.prototype.forEach.call(this.$["poll-choice-container"].children,function(m,p){m.hasVoted=d;m.voteRequestInFlight=b;c.highlightWinningOption&&(m.isWinning=p===e,c.inCollapsedBanner&&c.slidePollChoice_(m))})}},
handleLiveChatActions_:function(a){var b=this;a.forEach(function(c){c.updateLiveChatPollAction&&b.handleUpdateLiveChatPollAction_(c)})},
handleUpdateLiveChatPollAction_:function(a){if(a=this.get("updateLiveChatPollAction.pollToUpdate.pollRenderer",a))this.set("data.displayVoteResults",a.displayVoteResults),this.displayVoteResults&&this.set("data.choices",a.choices),a.header&&this.set("data.header",a.header)},
computeDisplayVoteResults_:function(a){return this.displayVoteResults?!0:!!a},
inCollapsedBannerChanged:function(a){var b=_.H(this.$.header).firstElementChild;b&&(b.inCollapsedBanner=a,this.slidePollContents_(b))},
slidePollContents_:function(){var a=this;if(this.highlightWinningOption){clearTimeout(this.collapseTimerId_);this.isTransitioningCollapse=!0;var b=this.$$("yt-live-chat-poll-choice[is-winning]");this.inCollapsedBanner?(this.$["collapse-container"].style.height=this.$["collapse-container"].clientHeight+"px",this.slidePollChoice_(b),this.$["collapse-container"].style.height="0"):(this.$["collapse-container"].style.height="auto",b.style.transform="translateY(0)");this.collapseTimerId_=setTimeout(function(){a.isTransitioningCollapse=
!1;a.collapseTimerId_=null},350)}},
slidePollChoice_:function(a){if(a.isWinning){var b=_.H(this.$.header).firstElementChild.$["content-top"].clientHeight;a.style.transform="translateY(-"+(b+a.offsetTop)+"px)"}else a.style.transform="translateY(0)"},
handleServiceRequestSent_:function(a){(a=this.get("detail.endpoint",a))&&a.sendLiveChatVoteEndpoint&&(this.voteRequestInFlight=!0)},
handleServiceRequestCompleted_:function(a,b){this.voteRequestInFlight=!1;this.endPollRequestInFlight&&b.data&&b.data.success&&(this.hasClosed=!0);this.endPollRequestInFlight=!1},
handleServiceRequestError_:function(){this.endPollRequestInFlight=!1;this.handleVoteRequestError_()},
handleVoteRequestError_:function(){this.voteRequestInFlight=!1},
onClickButton:function(a){a.stopPropagation()},
handleEndButtonAction:function(a){"yt-service-request"==a.detail.actionName&&(this.endPollRequestInFlight||this.hasClosed?a.stopPropagation():this.endPollRequestInFlight=!0)},
pollStateEntityChanged:function(a){var b=this;a&&(this.set("data.header.pollHeaderRenderer.metadataText",a.metadataText),this.set("data.choices",a.pollChoiceStates.map(function(c){var d={};Object.assign(d,b.get("data.choices."+c.key));d.votePercentage=c.value.votePercentage;d.voteRatio=c.value.voteRatio;return d})))}});
var uTb;
var vTb;
_.Ng({is:"yt-live-interactivity-component-background",_template:function(){if(void 0!==vTb)return vTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-interactivity-component-background--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_interactivity_component_background.yt.live.interactivity.component.background.css.js--\x3e<svg id$="[[ids.background]]" hidden$="[[!useRegularBackground]]" width="100%" height="280" viewBox="2 45 400 280" preserveAspectRatio="xMinYMin slice">\n  <defs>\n    <mask id$="[[ids.maskOne]]" width="611" height="468" x="1" y="-117" maskUnits="userSpaceOnUse">\n      <g>\n        <rect width="500" height="350" x="1" y="1" style="fill:#fff" rx="4"></rect>\n      </g>\n    </mask>\n    <mask id$="[[ids.maskTwo]]" width="505" height="439" x="-4" y="-10" maskUnits="userSpaceOnUse">\n      <g>\n        <rect width="500" height="350" x="1" y="1" style="fill:#fff" rx="4"></rect>\n      </g>\n    </mask>\n    <linearGradient id$="[[ids.gradient]]" x1="-53.35" x2="-54.44" y1="572.174" y2="571.817" gradientTransform="matrix(439 0 0 -439 23648 251318)" gradientUnits="userSpaceOnUse">\n      <stop offset="0" stop-color="#1d3863"></stop>\n      <stop class="gradient-stop" offset="1"></stop>\n    </linearGradient>\n  </defs>\n  <g>\n    <g>\n      <rect width="500" height="350" x="1" y="1" fill="#224072" stroke="#000" stroke-opacity=".15" rx="4"></rect>\n      <g mask$="url(#[[ids.maskOne]])">\n        <path fill="#1a3259" fill-rule="evenodd" d="M612-117v420L192 92.998 611.99-117h.01z" opacity=".8"></path>\n      </g>\n      <g mask$="url(#[[ids.maskTwo]])">\n        <path fill$="url(#[[ids.gradient]])" fill-rule="evenodd" d="M-4-10v439l439-219.502L-3.989-10H-4z" opacity=".9"></path>\n      </g>\n    </g>\n  </g>\n</svg>\n<svg id$="[[ids.largeBackground]]" hidden$="[[!useLargeBackground]]" height="350" width="100%" viewBox="60 40 428 300" preserveAspectRatio="xMinYMin slice">\n  <defs>\n    <linearGradient id$="[[ids.largeGradientOne]]" x1="104.432%" x2="10.997%" y1="62.466%" y2="44.799%">\n      <stop offset="0%" stop-color="#274C8A"></stop>\n      <stop offset="100%" stop-color="#1A3259"></stop>\n    </linearGradient>\n    <linearGradient id$="[[ids.largeGradientTwo]]" x1="53.199%" x2="-55.854%" y1="34.226%" y2="69.901%">\n      <stop offset="0%" stop-color="#284F8F"></stop>\n      <stop offset="100%" stop-color="#234275"></stop>\n    </linearGradient>\n    <path id$="[[ids.largeGradientPath]]" d="M0 3.991A3.994 3.994 0 014.006 0h491.988C498.206 0 500 1.8 500 3.991v342.018a3.994 3.994 0 01-4.006 3.991H4.006C1.794 350 0 348.2 0 346.009V3.991z"></path>\n  </defs>\n  <g fill="none" fill-rule="evenodd">\n    <mask id$="[[ids.maskTwo]]" fill="#fff">\n      <use href$="#[[ids.largeGradientPath]]"></use>\n    </mask>\n    <use fill="#224175" href$="#[[ids.largeGradientPath]]"></use>\n    <path fill$="url(#[[ids.largeGradientOne]])" d="M264-120v420L684 89.998 264.011-120z" mask="url(#[[ids.maskTwo]])" transform="matrix(-1 0 0 1 948 0)"></path>\n    <path fill$="url(#[[ids.largeGradientTwo]])" d="M-80-81v507l507-253.503L-79.987-81z" mask="url(#[[ids.maskTwo]])" opacity=".9"></path>\n  </g>\n</svg>\n<div id="animation-background" height="350" width="100%" hidden$="[[!useAnimationBackground]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_interactivity_component_background.yt.live.interactivity.component.background.css.js--\x3e<style>:host,svg {display: block;} :host([use-large-background]) {display: var(--yt-live-chat-interactivity-component-background-display,block);} :host([use-large-background]) svg {height: 100%;min-height: 350px;} .gradient-stop {stop-color: var(--yt-live-chat-banner-background-gradient-stop-color,#26477f);} /*# sourceMappingURL=yt-live-interactivity-component-background.css.map*/</style>";
uTb=d}d=uTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return vTb=a},
properties:{useLargeBackground:{type:Boolean,value:!1},useAnimationBackground:{type:Boolean,value:!1},useRegularBackground:{type:Boolean,value:!0,computed:"computeUseRegularBackground(useLargeBackground, useAnimationBackground)"},ids:{type:Object},lottieAnimation_:{type:Object}},observers:["maybeLoadAnimationBackground(useAnimationBackground)"],maybeLoadAnimationBackground:function(){this.useAnimationBackground?this.lottieAnimation_||(this.lottieAnimation_=lottie.loadAnimation({container:this.$$("#animation-background"),
loop:!0,renderer:"svg",path:"https://www.gstatic.com/youtube/img/livestream/live_chat/lottie_animation/shimmer_background.json",autoplay:!0})):this.lottieAnimation_&&this.lottieAnimation_.destroy()},
computeUseRegularBackground:function(){return!this.useLargeBackground&&!this.useAnimationBackground},
created:function(){this.ids={background:_.oI(),maskOne:_.oI(),maskTwo:_.oI(),gradient:_.oI(),largeBackground:_.oI(),largeGradientOne:_.oI(),largeGradientTwo:_.oI(),largeGradientPath:_.oI()}}});
var Y8=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-live-chat-actions":"handleLiveChatActions","yt-remove-chat-item-action":"handleRemoveChatItemAction","yt-mark-chat-item-as-deleted-action":"handleMarkChatItemAsDeletedAction"};return a};
_.q(Y8,_.K);_.f=Y8.prototype;_.f.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{pollRenderer:"yt-live-chat-poll-renderer"}}}};
_.f.computeId=function(){return this.data&&this.data.id||""};
_.f.handleLiveChatActions=function(a){a=_.k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=PRb(b);if(!c)break;"removeChatItemAction"===c?this.handleRemoveChatItemAction(b):"markChatItemAsDeletedAction"===c&&this.handleMarkChatItemAsDeletedAction(b)}};
_.f.handleRemoveChatItemAction=function(a){this.handleRemoveAction(a.removeChatItemAction)};
_.f.handleMarkChatItemAsDeletedAction=function(a){this.handleRemoveAction(a.markChatItemAsDeletedAction)};
_.f.handleRemoveAction=function(a){this.id===a.targetItemId&&_.C(this,"yt-close-live-chat-action-panel-action",[{closeLiveChatActionPanelAction:{targetPanelId:this.id}}])};
_.t.Object.defineProperties(Y8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-action-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_action_panel_renderer.yt.live.chat.action.panel.renderer.css.js--\x3e<yt-live-interactivity-component-background class="background" use-large-background="">\n</yt-live-interactivity-component-background>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_action_panel_renderer.yt.live.chat.action.panel.renderer.css.js--\x3e<style>:host {display: block;overflow: hidden;background-color: var(--yt-live-chat-action-panel-renderer-background-color,var(--yt-live-chat-background-color));border-radius: 4px;} :host,#header,#contents {position: relative;} .background {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} /*# sourceMappingURL=yt-live-chat-action-panel-renderer.css.map*/</style>";
kTb=d}d=kTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lTb=a}a=lTb;return a}}});
var Z8=Y8;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Z8.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Z8.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z8.prototype,"data",void 0);_.S([_.N({computed:"computeId(data.id)"}),_.T("design:type",String)],Z8.prototype,"id",void 0);Z8=_.S([_.Q({is:"yt-live-chat-action-panel-renderer"})],Z8);
var wTb;
var xTb;
var yTb;
var zTb;
_.Ng({is:"yt-live-chat-text-message-renderer",_template:function(){if(void 0!==zTb)return zTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-text-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_text_message_renderer.yt.live.chat.text.message.renderer.css.js--\x3e<yt-img-shadow id="author-photo" class="no-transition" height="24" thumbnail="[[data.authorPhoto]]" width="24"></yt-img-shadow><div id="content"><span id="timestamp">[[timestampString]]</span><yt-live-chat-author-chip author-badges="[[authorBadges]]" author-name="[[data.authorName]]"></yt-live-chat-author-chip>\u200b<span id="message" dir="auto"></span><span id="deleted-state">[[getSimpleString(data.deletedStateMessage)]]</span><a id="show-original" href="#" on-click="onShowOriginalClick_">[[getSimpleString(data.showOriginalContentMessage)]]</a></div><div id="menu" hidden$="[[!data.contextMenuEndpoint]]"><yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="showContextMenu"><yt-icon icon="more_vert"></yt-icon></yt-icon-button></div><div id="inline-action-button-container"><div id="inline-action-buttons"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yTb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_text_message_renderer.yt.live.chat.text.message.renderer.css.js--\x3e<style>#timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {position: relative;font-size: 13px;padding: 4px 24px;overflow: hidden;contain: content;--yt-endpoint-color: var(--yt-live-chat-primary-text-color, var(--yt-deprecated-luna-black));--yt-endpoint-hover-color: var(--yt-live-chat-primary-text-color, var(--yt-endpoint-color));display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} :host(:hover) {overflow: initial;} :host([author-is-owner]) {background-color: var(--yt-live-chat-message-highlight-background-color);} :host([in-banner]) {padding: 4px 32px 4px 0;} #content {-ms-align-self: center;-webkit-align-self: center;align-self: center;min-width: 0;} yt-live-chat-author-chip {margin-right: 8px;} #message {color: var(--yt-live-chat-primary-text-color,var(--yt-spec-text-primary));line-height: 16px;overflow: hidden;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;font-style: var(--yt-live-chat-text-message-renderer-message-message-style-font-style);opacity: var(--yt-live-chat-text-message-renderer-message-message-style-opacity);} #message .emoji {width: var(--yt-live-chat-emoji-size);height: var(--yt-live-chat-emoji-size);margin: -1px 2px 1px;vertical-align: middle;} a {display: inline;text-decoration: underline;} #message a {display: inline;text-decoration: underline;word-break: break-all;} #message a .mention {text-decoration: underline;} #show-original {margin-left: 2px;} #message:empty,#deleted-state:empty,#show-original:empty,:host([show-original]) #deleted-state,:host([show-original]) #show-original,:host([is-deleted]):not([show-original]) #message {display: none;} #menu {color: var(--yt-live-chat-secondary-text-color);background: linear-gradient(to right,transparent 0%,var(--yt-live-chat-background-color,var(--yt-spec-static-brand-white)) 100%);} #menu-button {width: 32px;height: 32px;padding: 4px;} :host([author-is-owner]) #menu {background: linear-gradient(to right,transparent 0%,var(--yt-live-chat-message-highlight-background-color,var(--yt-deprecated-luna-black)) 100%);} .mention {background: var(--yt-live-chat-mention-background-color);color: var(--yt-live-chat-mention-text-color);padding: 2px 4px;border-radius: 2px;} #deleted-state,#show-original,:host([is-deleted]) #message {font-style: italic;color: var(--yt-live-chat-deleted-message-color,rgba(0,0,0,0.5));} :host([show-bar])::before {content: "";position: absolute;display: block;left: 8px;top: 4px;bottom: 4px;width: 4px;box-sizing: border-box;border-radius: 2px;} :host([is-deleted])::before {background: var(--yt-live-chat-deleted-message-bar-color,rgba(0,0,0,0.5));} :host([is-dimmed]) #message {opacity: 0.25;} :host([is-dimmed])::before {background: var(--yt-live-chat-error-message-color,#f44336);} :host([in-collapsed-banner]) #content {color: var(--yt-live-chat-primary-text-color);text-overflow: ellipsis;white-space: nowrap;overflow: hidden;} /*# sourceMappingURL=yt-live-chat-text-message-renderer.css.map*/</style>';
yTb=d}d=yTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return zTb=a},
properties:{data:{type:Object,observer:"dataChanged_"},showOriginal:{type:Boolean,value:!1,reflectToAttribute:!0},isDimmed:{type:Boolean,value:!1,computed:"truthy(data.isDimmed)",reflectToAttribute:!0},showBar:{type:Boolean,computed:"computeShowBar_(isDeleted, hasOriginalContent, isDimmed)",reflectToAttribute:!0},authorBadges:{type:Object,computed:"computeAuthorBadges_(data)"},authorIsOwner:{type:Boolean,computed:"computeAuthorIsOwner_(data)",reflectToAttribute:!0},inCollapsedBanner:{type:Boolean,
value:!1,reflectToAttribute:!0},inBanner:{type:Boolean,value:!1,reflectToAttribute:!0}},supportsInlineActionButtons:!0,behaviors:[_.U.YtRendererBehavior,_.mF.YtLiveChatItemBehavior,_.X.YtRendererstamperBehavior],observers:["updateMessage_(data.message)"],dataChanged_:function(a){a=_.PYa(a.authorBadges||[]);this.setAttribute("author-type",a)},
updateMessage_:function(a){var b=_.H(this.$.message);b.textContent="";a&&b.appendChild(this.createDocumentFragment(a))},
actionMessageChanged_:function(a){var b=this.$.action;b.textContent="";a&&b.appendChild(this.createDocumentFragment(a))},
onShowOriginalClick_:function(a){a.preventDefault();this.showOriginal=!0},
computeShowBar_:function(a,b,c){return a&&b||c},
computeAuthorBadges_:function(a){return a.authorBadges||[]},
computeAuthorIsOwner_:function(a){return!!_.WE(a.authorBadges,"owner")}});
_.Ng({is:"yt-live-chat-auto-mod-message-renderer",_template:function(){if(void 0!==xTb)return xTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-auto-mod-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_auto_mod_message_renderer.yt.live.chat.auto.mod.message.renderer.css.js--\x3e<div id="explanation">\n  <div id="button"></div>\n  <yt-formatted-string text="[[data.headerText]]"></yt-formatted-string>\n</div>\n<div id="auto-moderated-item"></div>\n<div id="moderation-buttons"></div>\n<div id="inline-action-button-container">\n  <div id="inline-action-buttons"></div>\n  <div id="additional-inline-action-buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wTb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_auto_mod_message_renderer.yt.live.chat.auto.mod.message.renderer.css.js--\x3e<style>#timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-size: 13px;padding: 0 0 4px;position: relative;--yt-live-chat-text-message-renderer-message-message-style-font-style: italic;--yt-live-chat-text-message-renderer-message-message-style-opacity: 0.5;--yt-button-icon-size: 16px;--yt-button-icon-padding: 0;--ytd-paper-button-min-width: 88px;} :host tp-yt-paper-button[style-target=host] {min-width: 88px;} #explanation {color: var(--yt-live-chat-automod-button-explanation-color);margin: 4px 0 4px 28px;} #button {display: inline-block;} #button>* {width: 32px;--yt-button-icon-size: 16px;} #moderation-buttons:not(:empty) {margin: 8px 0 4px 64px;} #moderation-buttons>*:not(:last-child) {margin-right: 8px;} #moderation-buttons>* {background-color: var(--yt-live-chat-automod-button-background-color);border-radius: 2px;font-weight: 500;} #moderation-buttons>*:hover {background-color: var(--yt-live-chat-automod-button-background-color-hover);} :host(::before) {background-color: var(--yt-live-chat-deleted-message-bar-color);content: "";position: absolute;display: block;left: 8px;top: 4px;bottom: 4px;width: 4px;box-sizing: border-box;border-radius: 2px;} /*# sourceMappingURL=yt-live-chat-auto-mod-message-renderer.css.map*/</style>';
wTb=d}d=wTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return xTb=a},
properties:{data:Object,emojiManager:Object,participantsManager:Object},supportsInlineActionButtons:!0,behaviors:[_.U.YtRendererBehavior,_.mF.YtLiveChatItemBehavior,_.X.YtRendererstamperBehavior],stampDom:{"data.infoDialogButton":{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.autoModeratedItem":{id:"auto-moderated-item",mapping:{liveChatTextMessageRenderer:{component:"yt-live-chat-text-message-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"},
attributes:{"hide-inline-action-buttons":!0}}}},"data.moderationButtons":{id:"moderation-buttons",mapping:{buttonRenderer:"yt-button-renderer"}},"data.additionalInlineActionButtons":{id:"additional-inline-action-buttons",mapping:{buttonRenderer:"yt-button-renderer"}}}});
var ATb;
var BTb;
_.Ng({is:"yt-live-chat-banner-header-renderer",_template:function(){if(void 0!==BTb)return BTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-banner-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_header_renderer.yt.live.chat.banner.header.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[data.text]]"></yt-formatted-string>\n<div id="menu" on-click="onContextMenuButtonClick_"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ATb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_header_renderer.yt.live.chat.banner.header.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;position: relative;padding: 4px 0;color: var(--yt-live-chat-secondary-text-color);overflow-x: hidden;} yt-icon,yt-button-renderer {color: var(--yt-spec-static-overlay-icon-inactive);} :host([in-collapsed-banner]) #title {opacity: 0;transition-delay: unset;} #title {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-size: 13px;opacity: 1;transition: opacity var(--yt-live-chat-universal-motion-curve);transition-delay: 0.1s;transition-duration: var(--yt-live-chat-banner-animation-duration);} #close-button {-ms-flex: none;-webkit-flex: none;flex: none;} yt-icon {width: 16px;height: 16px;} #menu {--yt-button-icon-size: 24px;--yt-button-icon-padding: 0;} /*# sourceMappingURL=yt-live-chat-banner-header-renderer.css.map*/</style>";
ATb=d}d=ATb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return BTb=a},
properties:{data:{type:Object},inCollapsedBanner:{type:Boolean,value:!1,reflectToAttribute:!0}},behaviors:[_.mF.YtLiveChatItemBehavior,_.X.YtRendererstamperBehavior],stampDom:{"data.contextMenuButton":{id:"menu",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"menu-button"}}}}},listeners:{"yt-rendererstamper-finished":"onRenderStamperFinished_"},observers:["dataChanged(data)"],onContextMenuButtonClick_:function(a){this.showContextMenu(a)},
dataChanged:function(){this.data&&this.data.contextMenuButton&&(this.data.contextMenuEndpoint=this.get("contextMenuButton.buttonRenderer.command",this.data))},
onRenderStamperFinished_:function(){this.menuButton=this.$$("#menu-button")}});
var CTb;
var DTb;
var ETb;
var FTb;
var $8=function(){return _.K.apply(this,arguments)||this};
_.q($8,_.K);$8.prototype.onChoiceChanged=function(){this.data&&this.updateStyles({"--yt-live-chat-poll-choice-vote-bar-transform":"translateX("+(100*(this.data.voteRatio||0)-100+"%)")})};
_.t.Object.defineProperties($8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-banner-poll-choice--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_poll_choice.yt.live.chat.banner.poll.choice.css.js--\x3e<div id="content">\n  <div id="percentage-container">\n    <div id="vote-percentage-bar"></div>\n  </div>\n  <div id="text-container">\n    <yt-formatted-string id="label-text" text="[[data.text]]"></yt-formatted-string>\n    <yt-formatted-string id="vote-percentage-text" text="[[data.votePercentage]]"></yt-formatted-string>\n  </div>\n</div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ETb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_poll_choice.yt.live.chat.banner.poll.choice.css.js--\x3e<style>:host {display: block;position: relative;color: var(--yt-live-chat-poll-choice-text-color);} #text-container {position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;padding: var(--yt-live-chat-poll-choice-text-padding);} #content {min-height: var(--yt-live-chat-poll-choice-min-height);padding: 4px 16px;position: relative;font-size: 13px;} #label-text,#vote-percentage-text {font-weight: 500;} #label-text {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} #percentage-container {position: absolute;top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;overflow: hidden;} #vote-percentage-bar {position: absolute;top: 0;right: 0;bottom: 0;left: 0;transform: var(--yt-live-chat-poll-choice-vote-bar-transform,translateX(-100%));transition: transform cubic-bezier(0.05,0,0,1);transition-duration: var(--yt-live-chat-poll-choice-animation-duration);background-color: var(--yt-live-chat-poll-choice-vote-bar-background-color);border-radius: 4px;} /*# sourceMappingURL=yt-live-chat-banner-poll-choice.css.map*/</style>";
ETb=d}d=ETb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FTb=a}a=FTb;return a}}});
var a9=$8;a9.prototype.onChoiceChanged=a9.prototype.onChoiceChanged;_.S([_.N(),_.T("design:type",Object)],a9.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],a9.prototype,"onChoiceChanged",null);a9=_.S([_.Q({is:"yt-live-chat-banner-poll-choice"})],a9);
var GTb;
var HTb;
var b9=function(){return _.K.apply(this,arguments)||this};
_.q(b9,_.K);b9.prototype.configureRendererStamper=function(){return{choices:{id:"poll-choices-container",mapping:{choiceData:"yt-live-chat-banner-poll-choice"},stamperStableList:!0},"data.contextMenuButton":{id:"menu",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"menu-button"}}}}}};
b9.prototype.onContextMenuButtonClick=function(a){this.ytLiveChatItemBehavior.showContextMenu(a)};
b9.prototype.dataChanged=function(){var a=this.data,b,c;(null==this?0:null==(b=this.data)?0:null==(c=b.contextMenuButton)?0:c.buttonRenderer)?a.contextMenuEndpoint=this.data.contextMenuButton.buttonRenderer.command:a.contextMenuEndpoint=void 0};
b9.prototype.onRenderStamperFinished=function(){this.ytLiveChatItemBehavior.menuButton=this.$$("#menu-button")};
_.t.Object.defineProperties(b9.prototype,{metadataText:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.liveChatPollStateEntity)?void 0:a.metadataText)?b:{}}},
collapsedMetadataText:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.liveChatPollStateEntity)?void 0:a.collapsedMetadataText)?b:{}}},
showPollQuestion:{configurable:!0,enumerable:!0,get:function(){var a;return!this.inCollapsedBanner&&!(null==(a=this.data)||!a.pollQuestion)}},
choices:{configurable:!0,enumerable:!0,get:function(){var a,b=(null==(a=this.liveChatPollStateEntity)?void 0:a.pollChoiceStates)||[],c={};a=_.k(b);for(b=a.next();!b.done;b=a.next())b=b.value,void 0!==b.key&&b.value&&(c[b.key]=b.value);var d,e,h;return null!=(h=null==(d=this.data)?void 0:null==(e=d.pollChoices)?void 0:e.map(function(l){return{choiceData:Object.assign({},c[l.pollOptionId]||{},l)}}))?h:[]}}});
_.t.Object.defineProperties(b9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-banner-poll-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_poll_renderer.yt.live.chat.banner.poll.renderer.css.js--\x3e<div id="content-top">\n  <yt-img-shadow id="creator-photo" height="24" hidden$="[[!data.authorPhoto]]" thumbnail="[[data.authorPhoto]]" width="24">\n  </yt-img-shadow>\n  <yt-formatted-string id="metadata-text" class="metadata" hidden$="[[inCollapsedBanner]]" text="[[metadataText]]"></yt-formatted-string>\n  <yt-formatted-string id="collapsed-metadata-text" class="metadata" hidden$="[[!inCollapsedBanner]]" text="[[collapsedMetadataText]]"></yt-formatted-string>\n  <div id="menu" on-click="onContextMenuButtonClick"></div>\n</div>\n<div id="main-content">\n  <yt-formatted-string id="poll-question" class="poll-question" hidden$="[[!showPollQuestion]]" text="[[data.pollQuestion]]"></yt-formatted-string>\n  <div id="poll-choices-container" hidden$="[[inCollapsedBanner]]">\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_poll_renderer.yt.live.chat.banner.poll.renderer.css.js--\x3e<style>:host {display: block;padding: 12px 0 4px 16px;font-size: 13px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([in-collapsed-banner]) {padding-top: 8px;padding-bottom: 4px;} #content-top {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .metadata {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #poll-question {margin-bottom: 12px;color: var(--yt-live-chat-poll-primary-text-color);word-break: break-word;overflow-wrap: break-word;word-wrap: break-word;text-overflow: ellipsis;line-height: 17px;} #poll-choice-container {position: relative;box-sizing: border-box;padding: 0 8px 10px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #creator-photo {overflow: hidden;border-radius: 50%;margin-right: 12px;} #main-content {transition: transform var(--yt-live-chat-universal-motion-curve),height var(--yt-live-chat-universal-motion-curve),padding var(--yt-live-chat-universal-motion-curve);transition-duration: var(--yt-live-chat-banner-animation-duration);padding: 14px 8px 4px 0;color: var(--yt-live-chat-primary-text-color);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([in-collapsed-banner]) #main-content {height: 0;padding-top: 0;padding-bottom: 0;} .metadata {color: var(--yt-live-chat-poll-secondary-text-color);overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} #content-top,#main-content {z-index: 1;} yt-live-chat-banner-poll-choice:not(:first-of-type) {margin-top: 8px;} #menu {--yt-button-icon-size: 24px;--yt-button-icon-padding: 0;} /*# sourceMappingURL=yt-live-chat-banner-poll-renderer.css.map*/</style>";
GTb=d}d=GTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HTb=a}a=HTb;return a}}});
var c9=b9;c9.prototype.onRenderStamperFinished=c9.prototype.onRenderStamperFinished;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],c9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],c9.prototype,"ytRendererBehavior",void 0);_.S([_.L(s8),_.T("design:type",Object)],c9.prototype,"ytLiveChatReduxBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],c9.prototype,"ytLiveChatItemBehavior",void 0);
_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],c9.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],c9.prototype,"inCollapsedBanner",void 0);_.S([_.N({selectorArgs:["data.liveChatPollStateEntityKey"],selector:GRb}),_.T("design:type",Object)],c9.prototype,"liveChatPollStateEntity",void 0);_.S([_.V("liveChatPollStateEntity"),_.T("design:type",Object),_.T("design:paramtypes",[])],c9.prototype,"metadataText",null);
_.S([_.V("liveChatPollStateEntity"),_.T("design:type",Object),_.T("design:paramtypes",[])],c9.prototype,"collapsedMetadataText",null);_.S([_.V("inCollapsedBanner","data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],c9.prototype,"showPollQuestion",null);_.S([_.V("liveChatPollStateEntity"),_.T("design:type",Array),_.T("design:paramtypes",[])],c9.prototype,"choices",null);
_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],c9.prototype,"onRenderStamperFinished",null);c9=_.S([_.Q({is:"yt-live-chat-banner-poll-renderer"})],c9);
var ITb;
var JTb;
var d9=function(){return _.K.apply(this,arguments)||this};
_.q(d9,_.K);d9.prototype.configureRendererStamper=function(){return{"data.inlineActionButton":{id:"inline-button",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"inline-action-button"}}}},"data.contextMenuButton":{id:"menu",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"menu-button"}}}}}};
d9.prototype.onContextMenuButtonClick=function(a){this.ytLiveChatItemBehavior.showContextMenu(a)};
d9.prototype.onRenderStamperFinished=function(){this.ytLiveChatItemBehavior.menuButton=this.$$("#menu-button")};
d9.prototype.dataChanged=function(){var a=this.data,b,c;(null==this?0:null==(b=this.data)?0:null==(c=b.contextMenuButton)?0:c.buttonRenderer)?a.contextMenuEndpoint=this.data.contextMenuButton.buttonRenderer.command:a.contextMenuEndpoint=void 0};
_.t.Object.defineProperties(d9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-banner-redirect-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_redirect_renderer.yt.live.chat.banner.redirect.renderer.css.js--\x3e<div id="content-top">\n  <yt-img-shadow id="creator-photo" height="24" hidden$="[[!data.authorPhoto]]" thumbnail="[[data.authorPhoto]]" width="24">\n  </yt-img-shadow>\n  <yt-formatted-string id="banner-text" class="message" aria-atomic="true" aria-label$="[[getSimpleString(data.bannerMessage)]]" aria-live="polite" text="[[data.bannerMessage]]">\n  </yt-formatted-string>\n  <div id="menu" on-click="onContextMenuButtonClick"></div>\n</div>\n<div id="button-container">\n  <div id="inline-button" hidden$="[[inCollapsedBanner]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ITb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_redirect_renderer.yt.live.chat.banner.redirect.renderer.css.js--\x3e<style>:host {display: block;padding: 12px 0 4px 12px;} :host([in-collapsed-banner]) {padding-top: 0;padding-bottom: 0;} #content-top {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding-bottom: 4px;} :host([in-collapsed-banner]) #content-top {padding-top: 0;padding-bottom: 0;} #banner-text {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;color: var(--yt-live-chat-poll-primary-text-color);z-index: 1;} :host([in-collapsed-banner]) #banner-text {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} #creator-photo {margin-right: 12px;overflow: hidden;border-radius: 50%;z-index: 1;} #inline-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;margin-right: 16px;} #inline-button yt-button-renderer {color: var(--yt-live-chat-poll-primary-text-color);background-color: transparent;} /*# sourceMappingURL=yt-live-chat-banner-redirect-renderer.css.map*/</style>";
ITb=d}d=ITb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JTb=a}a=JTb;return a}}});
var e9=d9;e9.prototype.onRenderStamperFinished=e9.prototype.onRenderStamperFinished;_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],e9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],e9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],e9.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],e9.prototype,"inCollapsedBanner",void 0);
_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],e9.prototype,"onRenderStamperFinished",null);e9=_.S([_.Q({is:"yt-live-chat-banner-redirect-renderer"})],e9);
var KTb;
var LTb;
var MTb;
var NTb;
var f9=function(){var a=_.K.apply(this,arguments)||this;a.inCollapsedBanner=!1;return a};
_.q(f9,_.K);_.f=f9.prototype;_.f.configureRendererStamper=function(){return{"data.overflowMenuButton":{id:"menu",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"menu-button"}}}},"data.askQuestionButton":{id:"ask-question",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"ask-question-button"}}}}}};
_.f.onContextMenuButtonClick=function(a){this.ytLiveChatItemBehavior.showContextMenu(a)};
_.f.onYtRendererstamperFinished=function(){this.menuButton=this.$$("#menu-button")};
_.f.dataChanged=function(){var a,b,c;if(null==(a=this.data)?0:null==(b=a.overflowMenuButton)?0:null==(c=b.buttonRenderer)?0:c.command)this.data.contextMenuEndpoint=this.data.overflowMenuButton.buttonRenderer.command};
_.f.onButtonClick=function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.askQuestionButton)?void 0:b.buttonRenderer;c&&(c.trackingParams&&HRb(c.trackingParams),this.fire("innertube-command",c.command))};
_.t.Object.defineProperties(f9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-call-for-questions-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_call_for_questions_renderer.yt.live.chat.call.for.questions.renderer.css.js--\x3e<div id="content-top">\n  <yt-img-shadow id="creator-avatar" height="24" hidden$="[[!data.creatorAvatar]]" thumbnail="[[data.creatorAvatar]]" width="24">\n  </yt-img-shadow>\n\n  <div id="metadata-text">\n    <yt-formatted-string id="author-name" hidden$="[[inCollapsedBanner]]" text="[[data.creatorAuthorName]]">\n    </yt-formatted-string>\n\n    <yt-formatted-string id="separator-collapsed" hidden$="[[inCollapsedBanner]]" text="[[data.contentSeparator]]">\n    </yt-formatted-string>\n\n    <yt-formatted-string id="feature-label" text="[[data.featureLabel]]">\n    </yt-formatted-string>\n\n    <yt-formatted-string id="separator-extended" hidden$="[[!inCollapsedBanner]]" text="[[data.contentSeparator]]">\n    </yt-formatted-string>\n\n    <yt-formatted-string id="collapsed-call-for-questions-text" hidden$="[[!inCollapsedBanner]]" text="[[data.questionMessage]]">\n    </yt-formatted-string>\n  </div>\n\n  <div id="menu" on-click="onContextMenuButtonClick"></div>\n</div>\n\n<div id="main-content" hidden$="[[inCollapsedBanner]]">\n  <yt-formatted-string id="call-for-questions-text" text="[[data.questionMessage]]">\n  </yt-formatted-string>\n\n  <div id="ask-question" on-click="onButtonClick" hidden$="[[inCollapsedBanner]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_call_for_questions_renderer.yt.live.chat.call.for.questions.renderer.css.js--\x3e<style>:host {display: block;margin: 0 -8px -8px 0;padding: 0 8px 0 16px;} :host[in-collapsed-banner] {margin: 0 -8px -4px 0;} #content-top {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;position: relative;margin: 12px 0;} #content-top #creator-avatar {overflow: hidden;border-radius: 50%;margin-right: 8px;} #content-top #metadata-text {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;color: var(--yt-live-chat-call-for-questions-secondary-text-color);} #content-top #metadata-text #collapsed-call-for-questions-text {color: var(--yt-live-chat-call-for-questions-primary-text-color);} #content-top #menu {--yt-button-icon-size: 24px;--yt-button-icon-padding: 0;} #content-top #menu yt-button-renderer {color: var(--yt-live-chat-call-for-questions-secondary-text-color);} #main-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #main-content #call-for-questions-text {color: var(--yt-live-chat-call-for-questions-primary-text-color);} #main-content #ask-question {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;margin: 8px 0;} #main-content #ask-question yt-button-renderer {color: var(--yt-live-chat-call-for-questions-ask-question-button-color);} /*# sourceMappingURL=yt-live-chat-call-for-questions-renderer.css.map*/</style>";
MTb=d}d=MTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NTb=a}a=NTb;return a}}});
var g9=f9;g9.prototype.onYtRendererstamperFinished=g9.prototype.onYtRendererstamperFinished;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],g9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(s8),_.T("design:type",Object)],g9.prototype,"ytLiveChatReduxBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],g9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],g9.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],g9.prototype,"inCollapsedBanner",void 0);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],g9.prototype,"onYtRendererstamperFinished",null);g9=_.S([_.Q({is:"yt-live-chat-call-for-questions-renderer"})],g9);
var OTb;
var PTb;
var h9=function(){return _.K.apply(this,arguments)||this};
_.q(h9,_.K);_.f=h9.prototype;_.f.configureRendererStamper=function(){return{"data.overflowMenuButton":{id:"menu",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"menu-button"}}}},"data.askQuestionButton":{id:"ask-question",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"ask-question-button"}}}}}};
_.f.onContextMenuButtonClick=function(a){this.ytLiveChatItemBehavior.showContextMenu(a)};
_.f.onYtRendererstamperFinished=function(){this.menuButton=this.$$("#menu-button")};
_.f.dataChanged=function(){var a,b,c;if(null==(a=this.data)?0:null==(b=a.overflowMenuButton)?0:null==(c=b.buttonRenderer)?0:c.command)this.data.contextMenuEndpoint=this.data.overflowMenuButton.buttonRenderer.command};
_.f.onButtonClick=function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.askQuestionButton)?void 0:b.buttonRenderer;c&&(c.trackingParams&&HRb(c.trackingParams),this.fire("innertube-command",c.command))};
_.t.Object.defineProperties(h9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-creator-answers-questions-banner-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_creator_answers_questions_banner_renderer.yt.live.chat.creator.answers.questions.banner.renderer.css.js--\x3e<div id="content-top">\n  <yt-icon id="question-icon" icon="[[data.icon.iconType]]"></yt-icon>\n  <yt-formatted-string id="question-label" hidden$="[[inCollapsedBanner]]" text="[[data.questionLabelText]]">\n  </yt-formatted-string>\n  <yt-formatted-string id="collapsed-question-text" hidden$="[[!inCollapsedBanner]]" text="[[data.questionText]]">\n  </yt-formatted-string>\n  <div id="menu" on-click="onContextMenuButtonClick"></div>\n</div>\n\n<div id="main-content" hidden$="[[inCollapsedBanner]]">\n  <yt-formatted-string id="question-text" text="[[data.questionText]]">\n  </yt-formatted-string>\n  <div id="ask-question" on-click="onButtonClick" hidden$="[[inCollapsedBanner]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_creator_answers_questions_banner_renderer.yt.live.chat.creator.answers.questions.banner.renderer.css.js--\x3e<style>:host {display: block;margin: 0 -8px -8px 0;padding: 0 8px 0 16px;} :host[in-collapsed-banner] {margin: 0 -8px -4px 0;} #content-top {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;position: relative;margin: 12px 0;color: var(--yt-live-chat-call-for-questions-secondary-text-color);} #content-top #question-label,#content-top #collapsed-question-text {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #content-top #question-icon {padding: 0 8px 0 0;} #content-top #menu {--yt-button-icon-size: 24px;--yt-button-icon-padding: 0;} #content-top #menu yt-button-renderer {color: var(--yt-live-chat-call-for-questions-secondary-text-color);} #main-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;color: var(--yt-live-chat-call-for-questions-primary-text-color);} #main-content #ask-question {margin: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #main-content yt-button-renderer {color: var(--yt-live-chat-call-for-questions-ask-question-button-color);} /*# sourceMappingURL=yt-live-chat-creator-answers-questions-banner-renderer.css.map*/</style>";
OTb=d}d=OTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PTb=a}a=PTb;return a}}});
var i9=h9;i9.prototype.onYtRendererstamperFinished=i9.prototype.onYtRendererstamperFinished;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],i9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(s8),_.T("design:type",Object)],i9.prototype,"ytLiveChatReduxBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],i9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],i9.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],i9.prototype,"inCollapsedBanner",void 0);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],i9.prototype,"onYtRendererstamperFinished",null);i9=_.S([_.Q({is:"yt-live-chat-creator-answers-questions-banner-renderer"})],i9);
var QTb;
var RTb;
var j9=function(){return _.K.apply(this,arguments)||this};
_.q(j9,_.K);j9.prototype.onProgressChanged=function(){var a,b=100*(null!=(a=this.progress)?a:0);this.updateStyles({"--progress-bar-completion":b+"%"})};
j9.prototype.configureRendererStamper=function(){return{"data.donateButton":{id:"donate-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
j9.prototype.onTapDonate=function(){this.data&&this.data.liveChatDonationsEndpoint&&(this.fire("yt-live-chat-toggle-banner"),this.fire("yt-navigate",{endpoint:this.data.liveChatDonationsEndpoint}))};
_.t.Object.defineProperties(j9.prototype,{noGoal:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)?0:a.goal)}},
targetAmount:{configurable:!0,enumerable:!0,get:function(){var a,b=null==(a=this.data)?void 0:a.goal;if(b){var c,d;return IRb(b,null!=(d=null==(c=this.fundraiserStatsEntity)?void 0:c.targetAmount)?d:"")}}},
amountRaised:{configurable:!0,enumerable:!0,get:function(){var a,b=null==(a=this.data)?void 0:a.raised;if(b){var c,d;return IRb(b,null!=(d=null==(c=this.fundraiserStatsEntity)?void 0:c.amountRaised)?d:"")}}},
progress:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.fundraiserStatsEntity)?void 0:a.progress)?b:0}},
hasGoalBeenReached:{configurable:!0,enumerable:!0,get:function(){return 1<=this.progress}}});
_.t.Object.defineProperties(j9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-donations-progress-bar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_donations_progress_bar_renderer.yt.live.chat.donations.progress.bar.renderer.css.js--\x3e<div id="container">\n  <div id="title-row">\n    <div id="expanded-title">\n      <template is="dom-if" if="[[data.raised]]">\n        <yt-formatted-string id="raised-amount" text="[[amountRaised]]"></yt-formatted-string>\n      </template>\n      <template is="dom-if" if="[[inCollapsedBanner]]">\n        <div id="separator"> \u2022 </div>\n        <div id="campaign-title">[[data.campaignTitle]]</div>\n      </template>\n      <template is="dom-if" if="[[!noGoal]]">\n        <div id="target-row">\n          <div id="separator"> \u2022 </div>\n          <yt-formatted-string id="target-amount" text="[[targetAmount]]"></yt-formatted-string>\n        </div>\n      </template>\n    </div>\n  </div>\n\n  <template is="dom-if" if="[[data.goal]]">\n    <div id="progress-bar">\n      <div id="progress-bar-fill"></div>\n    </div>\n  </template>\n\n  <template is="dom-if" if="[[data.matchLabel]]">\n    <div id="match-label">[[data.matchLabel]]</div>\n  </template>\n\n  <div id="button-row">\n    <div id="donate-button" on-click="onTapDonate"></div>\n    <template is="dom-if" if="[[hasGoalBeenReached]]">\n      <div id="goal-reached">\n        <div id="goal-reached-label">[[data.goalReachedLabel]]</div>\n        <yt-icon icon="yt-icons:super_chat_for_good"></yt-icon>\n      </div>\n    </template>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QTb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_donations_progress_bar_renderer.yt.live.chat.donations.progress.bar.renderer.css.js--\x3e<style>:host {display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: rgba(255,255,255,0.7);padding-top: 8px;} :host([in-collapsed-banner]:not([no-goal])) {margin: 2px 8px 0 0;padding: 1px 8px 0 0;} :host([in-collapsed-banner][no-goal]) {margin: 0 8px 0 0;padding: 6px 8px 0 0;} #container {width: 100%;border-radius: 4px;overflow: hidden;} #expanded-title,#target-row {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title-row {margin-right: 16px;} #raised-amount,#target-amount,#campaign-title {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} #raised-amount,#separator,#target-amount,#campaign-title {padding-inline-end: 5px;} #target-amount {--yt-formatted-string-bold: {font-size: var(--ytd-navbar-title-font-size);font-weight: var(--ytd-navbar-title-font-weight);line-height: var(--ytd-navbar-title-line-height);};} #raised-amount {--yt-formatted-string-bold: {font-size: var(--ytd-navbar-title-font-size);font-weight: var(--ytd-navbar-title-font-weight);line-height: var(--ytd-navbar-title-line-height);};--yt-formatted-string-bold-color: var(--yt-spec-static-brand-white);} :host([in-collapsed-banner]) #raised-amount {--yt-formatted-string-bold: {font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);};} #progress-bar {height: 2px;background-color: var(--yt-spec-static-overlay-text-disabled);border-radius: 2px;overflow: hidden;margin: 2px 16px 6px 0px;} :host(:not([in-collapsed-banner])) #progress-bar {margin-top: 2px;} #progress-bar-fill {height: 2px;background-color: var(--yt-spec-static-brand-white);width: var(--progress-bar-completion,0);border-radius: 2px;} #match-label {margin: 2px 16px 4px 0;} #goal-reached-label {color: var(--yt-spec-static-brand-white);} yt-icon {color: var(--yt-spec-static-brand-white);width: 16px;height: 16px;} #button-row {margin-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #goal-reached {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #goal-reached-label {padding-right: 3px;} :host([in-collapsed-banner]) #target-row,:host([in-collapsed-banner]) #match-label,:host([in-collapsed-banner]) #button-row {display: none;} #donate-button ytd-button-renderer {background-color: transparent;} /*# sourceMappingURL=yt-live-chat-donations-progress-bar-renderer.css.map*/</style>';
QTb=d}d=QTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RTb=a}a=RTb;return a}}});
var k9=j9;k9.prototype.onProgressChanged=k9.prototype.onProgressChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],k9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],k9.prototype,"ytRendererBehavior",void 0);_.S([_.L(s8),_.T("design:type",Object)],k9.prototype,"ytLiveChatReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],k9.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],k9.prototype,"inCollapsedBanner",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data.goal"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],k9.prototype,"noGoal",null);_.S([_.P("progress"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],k9.prototype,"onProgressChanged",null);
_.S([_.N({selectorArgs:["data.fundraiserStatsEntityKey"],selector:function(a,b){return _.Yg(a.entities,"updatableFundraiserStatsEntity",b)}}),
_.T("design:type",Object)],k9.prototype,"fundraiserStatsEntity",void 0);_.S([_.V("data.goal","fundraiserStatsEntity"),_.T("design:type",Object),_.T("design:paramtypes",[])],k9.prototype,"targetAmount",null);_.S([_.V("data.raised","fundraiserStatsEntity"),_.T("design:type",Object),_.T("design:paramtypes",[])],k9.prototype,"amountRaised",null);_.S([_.V("fundraiserStatsEntity"),_.T("design:type",Number),_.T("design:paramtypes",[])],k9.prototype,"progress",null);
_.S([_.V("progress"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],k9.prototype,"hasGoalBeenReached",null);k9=_.S([_.Q({is:"yt-live-chat-donations-progress-bar-renderer"})],k9);
var STb;
var TTb;
var l9=function(){return _.K.apply(this,arguments)||this};
_.q(l9,_.K);l9.prototype.dataChanged=function(){this.data&&this.data.isPreview&&(this.data.onClickCommand=void 0)};
l9.prototype.creatorCustomMessageChanged=function(){var a=_.H(this.creatorCustomMessage);a.textContent="";var b;(null==(b=this.data)?0:b.creatorCustomMessage)&&a.appendChild(this.ytLiveChatItemBehavior.createDocumentFragment(this.data.creatorCustomMessage))};
l9.prototype.onHelpTap=function(a){this.data&&!this.data.isPreview&&this.data.informationDialog&&(this.fire("yt-navigate",{endpoint:{liveChatDialogEndpoint:{content:this.data.informationDialog}}}),a.preventDefault(),a.stopPropagation())};
_.t.Object.defineProperties(l9.prototype,{authorBadges:{configurable:!0,enumerable:!0,get:function(){var a=[{liveChatAuthorBadgeRenderer:{icon:{iconType:"OWNER"}}}],b;(null==(b=this.data)?0:b.isVerified)&&a.push({liveChatAuthorBadgeRenderer:{icon:{iconType:"VERIFIED"}}});return a}},
formattedCreatorName:{configurable:!0,enumerable:!0,get:function(){var a;return{runs:[{text:null==(a=this.data)?void 0:a.creatorName}]}}},
hasCreatorCustomMessage:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.creatorCustomMessage)}}});
_.t.Object.defineProperties(l9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-live-chat-product-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_live_chat_product_item_renderer.ytd.live.chat.product.item.renderer.css.js--\x3e<div id="creator-message-container" hidden="[[!data.authorPhoto]]">\n  <yt-img-shadow id="creator-photo" class="no-transition" height="24" thumbnail="[[data.authorPhoto]]" width="24"></yt-img-shadow>\n  <div id="creator-message-content">\n    <yt-live-chat-author-chip author-badges="[[authorBadges]]" author-name="[[formattedCreatorName]]">\n    \n    </yt-live-chat-author-chip>\u200b\n    <span id="creator-custom-message" class="message" dir="auto" hidden="[[!hasCreatorCustomMessage]]"></span>\n    <span id="creator-message" class="message" hidden="[[hasCreatorCustomMessage]]" dir="auto">[[data.creatorMessage]]</span>\n  </div>\n</div>\n<a id="merch-item-container" class="yt-simple-endpoint" href$="[[computeHref_(data.onClickCommand)]]" rel="[[computeNofollow_(data.onClickCommand)]]" data="[[data.onClickCommand]]">\n  <div id="container">\n    <template is="dom-if" if="[[data.productUnavailable]]">\n      <div id="unavailable-product-card">\n        <div id="unavailable-product-card-title">\n          [[data.title]]\n        </div>\n        <div id="unavailable-product-card-link">\n          [[data.viewCreatorStore]]\n          <yt-icon class="hover-icon" icon="chevron_right"></yt-icon>\n        </div>\n      </div>\n    </template>\n    <template is="dom-if" if="[[!data.productUnavailable]]">\n      <div id="product-card">\n        <div id="product-card-image">\n          <yt-img-shadow thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n        </div>\n        <div id="product-card-info">\n          <div id="product-card-info-wrapper">\n            <div id="product-card-title">\n              <div id="product-card-title-text">[[data.title]]</div>\n              <div id="information-icon" on-tap="onHelpTap">\n                <ytd-button-renderer id="info-button" data="[[data.informationButton.buttonRenderer]]" hidden="[[!data.informationButton]]">\n                </ytd-button-renderer>\n              </div>\n            </div>\n            <div id="product-card-price">[[data.price]]\n              <template is="dom-if" restamp="" if="[[data.additionalFeesText]]">\n                <div id="item-whitespace"></div>\n                <span id="single-item-additional-fees-text">\n                  [[data.additionalFeesText]]\n                </span>\n              </template>\n            </div>\n            <div id="product-card-merchant">[[data.fromVendorText]]\n              <yt-icon class="hover-icon" icon="open_in_new"></yt-icon>\n            </div>\n          </div>\n        </div>\n      </div>\n    </template>\n  </div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===STb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_live_chat_product_item_renderer.ytd.live.chat.product.item.renderer.css.js--\x3e<style>:host {--yt-live-chat-primary-text-color: var(--yt-spec-static-overlay-text-primary);display: block;padding-top: 4px;padding-bottom: 4px;width: calc(100% - 32px);} :host(:hover),:host(.hover) {background-color: var(--yt-spec-badge-chip-background);border-radius: 2px;} :host(:hover),:host(.hover) .description-card-merchant,:host(:hover),:host(.hover) .description-card-merchant yt-icon {color: var(--yt-spec-static-overlay-call-to-action);} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #merch-item-container.yt-simple-endpoint {display: block;text-decoration: none;margin-left: 36px;} :host([in-collapsed-banner]) #merch-item-container {display: none;} #container {background-color: var(--yt-spec-static-overlay-background-medium-light);border-radius: 4px;margin-left: 0;overflow: hidden;width: 100%;} #unavailable-product-card {padding: 8px 9px 8px 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #unavailable-product-card-title {color: var(--yt-spec-static-overlay-text-primary);font-size: 14px;font-weight: 500;line-height: 18px;} #unavailable-product-card-link {color: var(--yt-spec-static-overlay-call-to-action);margin-top: 10px;font-size: 12px;font-weight: 400;line-height: 16px;} #product-card {height: 76px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #product-card-image {background-color: var(--yt-spec-static-brand-white);display: flex;justify-content: center;overflow: hidden;padding: 4px 0;width: 76px;} #product-card-image yt-img-shadow {height: 68px;width: 68px;} #product-card-info {padding: 8px 9px 8px 12px;position: relative;width: calc(100% - 111px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #product-card-title {color: var(--yt-spec-static-overlay-text-primary);position: relative;font-size: 12px;font-weight: 400;line-height: 16px;} #product-card-title-text {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: calc(100% - 20px);} #product-card-price {color: var(--yt-spec-static-overlay-text-primary);margin-bottom: 8px;margin-top: 4px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 14px;font-weight: 500;line-height: 18px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #product-card-merchant {color: var(--yt-spec-static-overlay-call-to-action);overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 12px;font-weight: 400;line-height: 16px;} #product-card-merchant {padding-bottom: 2px;} :host([in-collapsed-banner]) .message {display: inline-block;text-overflow: ellipsis;white-space: nowrap;} :host([in-collapsed-banner]) yt-live-chat-author-chip {flex-shrink: 0;} :host([in-collapsed-banner]) #creator-message-content {width: calc(100% - 36px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #creator-message-content {font-size: 13px;font-weight: 400;line-height: 18px;-ms-align-self: center;-webkit-align-self: center;align-self: center;} .message {overflow-wrap: break-word;overflow: hidden;padding-left: 2px;word-break: break-word;word-wrap: break-word;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #creator-message {color: var(--yt-spec-static-overlay-text-secondary);} #creator-custom-message {color: var(--yt-live-chat-primary-text-color,var(--yt-spec-text-primary));} #creator-custom-message>.emoji {width: 10px;height: 10px;margin: -1px 2px 1px;vertical-align: middle;} yt-live-chat-author-chip {margin-right: 8px;} #creator-photo {border-radius: 50%;height: 24px;margin-right: 12px;overflow: hidden;width: 24px;-ms-flex: none;-webkit-flex: none;flex: none;} #creator-message-container {padding-bottom: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #item-whitespace {width: 5px;} #single-item-additional-fees-text {color: var(--yt-spec-static-overlay-text-primary);overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 12px;font-weight: 400;line-height: 16px;} yt-icon {color: var(--yt-spec-static-overlay-call-to-action);flex-shrink: 0;height: 15px;width: 15px;} #information-icon {display: block;opacity: 0.9;position: absolute;right: 0;top: -2.5px;} #information-icon:hover {opacity: 1;} #info-button {--yt-icon-button-icon-height: 14px;--yt-icon-button-icon-width: 14px;--yt-button-icon-padding: 1px;--yt-button-icon-size: 15px;color: var(--yt-spec-static-overlay-icon-inactive);} /*# sourceMappingURL=ytd-live-chat-product-item-renderer.css.map*/</style>";
STb=d}d=STb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TTb=a}a=TTb;return a}}});
var m9=l9;m9.prototype.creatorCustomMessageChanged=m9.prototype.creatorCustomMessageChanged;m9.prototype.dataChanged=m9.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],m9.prototype,"componentBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],m9.prototype,"ytLiveChatItemBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],m9.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],m9.prototype,"inCollapsedBanner",void 0);_.S([_.Z("#creator-custom-message"),_.T("design:type",HTMLElement)],m9.prototype,"creatorCustomMessage",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],m9.prototype,"dataChanged",null);
_.S([_.P("data.creatorCustomMessage"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],m9.prototype,"creatorCustomMessageChanged",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],m9.prototype,"authorBadges",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],m9.prototype,"formattedCreatorName",null);
_.S([_.V("data.creatorCustomMessage"),_.T("design:type",Object),_.T("design:paramtypes",[])],m9.prototype,"hasCreatorCustomMessage",null);m9=_.S([_.Q({asyncProperties:!0,is:"ytd-live-chat-product-item-renderer"})],m9);
var UTb;
var VTb;
var n9=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction","yt-live-chat-set-dark-theme":"onDarkModeToggledAction"};return a};
_.q(n9,_.K);_.f=n9.prototype;_.f.attached=function(){this.isDarkTheme=!!document.documentElement.hasAttribute("dark")};
_.f.onDarkModeToggledAction=function(a){this.isDarkTheme!==a&&(this.isDarkTheme=a)};
_.f.computeBackgroundStyle=function(a){if(a&&a.containerWidth&&a.containerHeight){var b=a.backgroundColor?_.bv(a.backgroundColor):"transparent";return _.ou({"background-color":b,width:a.containerWidth.toString()+"px",height:a.containerHeight.toString()+"px"})}};
_.f.computeBackgroundImage=function(a,b){if(a)return b?a.imageOverlayDarkMode:a.imageOverlay};
_.f.computeChannelImageStyle=function(a){if(a&&a.containerWidth&&a.containerHeight&&a.avatarSize)return _.ou({left:((a.containerWidth-a.avatarSize)/2).toString()+"px",top:((a.containerHeight-a.avatarSize)/2).toString()+"px"})};
_.t.Object.defineProperties(n9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-avatar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_avatar_renderer.ytd.sponsorships.avatar.renderer.css.js--\x3e<div class="avatar" style$="[[backgroundStyle]]">\n\n  <yt-img-shadow class="background-image" height="[[data.containerHeight]]" thumbnail="[[backgroundImage]]" width="[[data.containerWidth]]">\n  </yt-img-shadow>\n\n  <yt-img-shadow class="channel-image" height="[[data.avatarSize]]" style$="[[channelImageStyle]]" thumbnail="[[data.channelImage]]" width="[[data.avatarSize]]">\n  </yt-img-shadow>\n\n  <template is="dom-if" restamp="" if="[[data.badgeIcon]]">\n    <yt-icon class="badge-icon" icon="[[data.badgeIcon.iconType]]"></yt-icon>\n  </template>\n\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_avatar_renderer.ytd.sponsorships.avatar.renderer.css.js--\x3e<style>:host {position: relative;display: block;background-color: transparent;} .avatar {position: relative;} .background-image {position: absolute;} .channel-image {position: absolute;--yt-img-border-radius: 50%;} .badge-icon {background: black;color: white;position: absolute;bottom: 4px;right: 4px;width: 24px;height: 24px;border-radius: 2px;} /*# sourceMappingURL=ytd-sponsorships-avatar-renderer.css.map*/</style>";
UTb=d}d=UTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VTb=a}a=VTb;return a}}});
var o9=n9;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],o9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],o9.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],o9.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],o9.prototype,"isDarkTheme",void 0);
_.S([_.N({computed:"computeBackgroundStyle(data)"}),_.T("design:type",_.wj)],o9.prototype,"backgroundStyle",void 0);_.S([_.N({computed:"computeBackgroundImage(data,isDarkTheme)"}),_.T("design:type",Object)],o9.prototype,"backgroundImage",void 0);_.S([_.N({computed:"computeChannelImageStyle(data)"}),_.T("design:type",_.wj)],o9.prototype,"channelImageStyle",void 0);o9=_.S([_.Q({is:"ytd-sponsorships-avatar-renderer"})],o9);
var WTb;
var XTb;
var p9=function(){return _.K.apply(this,arguments)||this};
_.q(p9,_.K);p9.prototype.onContextMenuClick=function(a){this.ytLiveChatItemBehavior.showContextMenu(a)};
_.t.Object.defineProperties(p9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XTb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-live-chat-gift-redemption-banner-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_gift_redemption_banner_renderer.ytd.sponsorships.live.chat.gift.redemption.banner.renderer.css.js--\x3e<div id="header">\n  <yt-img-shadow id="gifter-photo" class="no-transition" height="24" thumbnail="[[data.gifterPhoto]]" width="24"></yt-img-shadow>\n  <yt-formatted-string id="header-text" ellipsis-truncate="" text="[[data.headerText]]"></yt-formatted-string>\n  <div id="menu" hidden$="[[!data.contextMenuEndpoint]]">\n    <yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="onContextMenuClick">\n      <yt-icon icon="more_vert"></yt-icon>\n    </yt-icon-button>\n  </div>\n</div>\n<div id="attachment" hidden$="[[inCollapsedBanner]]">\n  <ytd-sponsorships-avatar-renderer id="channel-avatar" data="[[data.channelAvatar.sponsorshipsAvatarRenderer]]"></ytd-sponsorships-avatar-renderer>\n  <div id="message">\n    <div id="message-text">\n      <yt-formatted-string text="[[data.messageText]]"></yt-formatted-string>\n    </div>\n    <yt-button-renderer id="action-button" data="[[data.actionButton.buttonRenderer]]"></yt-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WTb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_gift_redemption_banner_renderer.ytd.sponsorships.live.chat.gift.redemption.banner.renderer.css.js--\x3e<style>:host {display: inline-block;width: 100%;max-width: 100%;position: relative;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;color: white;margin: 4px 0;} #header-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;opacity: 70%;} #gifter-photo {border-radius: 50%;width: 24px;height: 24px;margin-right: 8px;overflow: hidden;} #attachment {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin: 12px 8px 8px 0;border-radius: 4px;overflow: hidden;} #message {width: 100%;color: white;background: rgba(0,0,0,0.3);min-height: 76px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;} #message-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;padding: 8px 12px 0;} #action-button {margin: 0 0 -4px -4px;color: var(--yt-spec-light-blue);position: absolute;bottom: 8px;} #menu {background: linear-gradient(to right,transparent,var(--yt-live-chat-sponsor-header-color) 100%);border-radius: 0 4px 4px 0;opacity: 70%;margin-left: auto;} /*# sourceMappingURL=ytd-sponsorships-live-chat-gift-redemption-banner-renderer.css.map*/</style>';
WTb=d}d=WTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XTb=a}a=XTb;return a}}});
var q9=p9;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],q9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],q9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],q9.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],q9.prototype,"inCollapsedBanner",void 0);q9=_.S([_.Q({is:"ytd-sponsorships-live-chat-gift-redemption-banner-renderer"})],q9);
_.Ng({is:"yt-live-chat-banner-renderer",_template:function(){if(void 0!==LTb)return LTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-banner-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_renderer.yt.live.chat.banner.renderer.css.js--\x3e<yt-live-interactivity-component-background class="background" use-animation-background="[[shouldUseAnimationBackground]]" use-large-background="[[shouldUseLargeBackground]]">\n</yt-live-interactivity-component-background>\n<div id="header"></div>\n<div id="contents"></div>\n<div id="indeterminate-bar" hidden$="[[!isIndeterminate]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_renderer.yt.live.chat.banner.renderer.css.js--\x3e<style>:host {display: block;padding: 4px 8px 4px 16px;border-radius: 4px;position: relative;overflow: hidden;cursor: pointer;contain: content;--yt-live-chat-primary-text-color: var(--yt-spec-static-overlay-text-primary);--yt-live-chat-secondary-text-color: var( --yt-spec-static-overlay-text-secondary );--yt-live-chat-tertiary-text-color: var( --yt-spec-static-overlay-text-disabled );--yt-live-chat-deleted-message-color: var( --yt-spec-static-overlay-text-disabled );--yt-live-chat-sponsor-color: var(--yt-spec-static-overlay-text-secondary);--yt-live-chat-moderator-color: var(--yt-spec-static-overlay-text-secondary);} :host([is-poll-banner]) {padding-left: 0;padding-top: 0;} :host([is-call-for-questions]) {padding-left: 0;padding-top: 0;} :host([is-creator-answers-questions-banner]) {padding-left: 0;padding-top: 0;} :host([is-redirect-banner]) {padding-left: 0;padding-top: 0;} #contents {padding-bottom: 4px;transition: transform var(--yt-live-chat-universal-motion-curve),height var(--yt-live-chat-universal-motion-curve),padding-bottom var(--yt-live-chat-universal-motion-curve);transition-duration: var(--yt-live-chat-banner-animation-duration);} :host([collapsed]) #contents {padding-bottom: 0;} :host([collapsed]:not([has-custom-collapsed-state])) #contents {pointer-events: none;} .background {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #contents>* {background-color: transparent;} :host([is-poll-banner]) #header {display: none;} #indeterminate-bar {position: absolute;bottom: 0;left: 0;right: 0;height: 2px;background: var(--yt-live-chat-banner-indeterminate-bar-background);margin-right: -9px;animation: slide-horizontal infinite linear;animation-duration: var(--yt-live-chat-banner-bar-animation-duration);} @keyframes slide-horizontal {0% {transform: translateX(0);}100% {transform: translateX(-9px);}} /*# sourceMappingURL=yt-live-chat-banner-renderer.css.map*/</style>";
KTb=d}d=KTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return LTb=a},
properties:{data:{type:Object},id:{type:String,computed:"computeId(data.actionId)"},collapsed:{type:Boolean,value:!1,reflectToAttribute:!0},tabindex:{type:String,value:"0",reflectToAttribute:!0},disableStateChange:{type:Boolean,value:!1,computed:"computeShouldDisableStateChange(data.contents)"},shouldUseLargeBackground:{type:Boolean,value:!1,computed:"computeShouldUseLargeBackground(isPollBanner, shouldUseAnimationBackground)"},shouldUseAnimationBackground:{type:Boolean,value:!1,computed:"computeShouldUseAnimationBackground(data.backgroundType)"},
isPollBanner:{type:Boolean,value:!1,computed:"computeIsPollBanner(data.contents)",reflectToAttribute:!0},isRedirectBanner:{type:Boolean,value:!1,computed:"computeIsRedirectBanner(data.contents)",reflectToAttribute:!0},isGiftRedemptionBanner:{type:Boolean,value:!1,computed:"computeIsGiftRedemptionBanner(data.contents)",reflectToAttribute:!0},isCallForQuestions:{type:Boolean,value:!1,computed:"computeIsCallForQuestions(data.contents)",reflectToAttribute:!0},isCreatorAnswersQuestionsBanner:{type:Boolean,
value:!1,computed:"computeIsCreatorAnswersQuestionsBanner(data.contents)",reflectToAttribute:!0},hasCustomCollapsedState:{type:Boolean,value:!1,computed:"computeHasCustomCollapsedState(data.contents)",reflectToAttribute:!0},isIndeterminate:{type:Boolean,value:!1,computed:"computeIsIndeterminate(data.contents)"},emojiManager:Object},behaviors:[_.X.YtRendererstamperBehavior,_.Xs],stampDom:{"data.contents":{id:"contents",events:!0,mapping:{liveChatTextMessageRenderer:{component:"yt-live-chat-text-message-renderer",
properties:{inCollapsedBanner:"[[collapsed]]",emojiManager:"[[emojiManager]]"},attributes:{"in-banner":!0}},liveChatProductItemRenderer:{component:"ytd-live-chat-product-item-renderer",properties:{inCollapsedBanner:"[[collapsed]]",emojiManager:"[[emojiManager]]"}},donationsProgressBarRenderer:{component:"yt-live-chat-donations-progress-bar-renderer",properties:{inCollapsedBanner:"[[collapsed]]"}},pollRenderer:{component:"yt-live-chat-poll-renderer",properties:{inCollapsedBanner:"[[collapsed]]"},attributes:{"highlight-winning-option":!0,
"in-banner":!0}},liveChatBannerPollRenderer:{component:"yt-live-chat-banner-poll-renderer",properties:{inCollapsedBanner:"[[collapsed]]"}},liveChatBannerRedirectRenderer:{component:"yt-live-chat-banner-redirect-renderer",properties:{inCollapsedBanner:"[[collapsed]]"}},liveChatSponsorshipsGiftRedemptionBannerRenderer:{component:"ytd-sponsorships-live-chat-gift-redemption-banner-renderer",properties:{inCollapsedBanner:"[[collapsed]]"}},liveChatCallForQuestionsRenderer:{component:"yt-live-chat-call-for-questions-renderer",
properties:{inCollapsedBanner:"[[collapsed]]"},attributes:{"in-banner":!0}},liveChatCreatorAnswersQuestionsRenderer:{component:"yt-live-chat-creator-answers-questions-banner-renderer",properties:{inCollapsedBanner:"[[collapsed]]"},attributes:{"in-banner":!0}}}},"data.header":{id:"header",mapping:{liveChatBannerHeaderRenderer:"yt-live-chat-banner-header-renderer"}}},observers:["collapsedChanged(collapsed)"],listeners:{click:"onClick_","yt-live-chat-toggle-banner":"toggleBanner"},keyBindings:{space:"onKeyPress_",
enter:"onKeyPress_"},created:function(){this.boundOnWindowClick_=this.onWindowClick_.bind(this)},
attached:function(){this.startCollapseTimeout();window.addEventListener("click",this.boundOnWindowClick_)},
detached:function(){this.stopCollapseTimeout();window.removeEventListener("click",this.boundOnWindowClick_)},
computeId:function(a){return a},
computeShouldUseLargeBackground:function(){return this.isPollBanner&&!this.shouldUseAnimationBackground},
computeShouldUseAnimationBackground:function(){return"LIVE_CHAT_BANNER_BACKGROUND_TYPE_SHIMMER_ANIMATION"==this.data.backgroundType},
computeIsPollBanner:function(){return!!this.data.contents&&(!!this.data.contents.pollRenderer||!!this.data.contents.liveChatBannerPollRenderer)},
computeIsRedirectBanner:function(){return!!this.data.contents&&!!this.data.contents.liveChatBannerRedirectRenderer},
computeIsGiftRedemptionBanner:function(){var a;return!(null==(a=this.data.contents)||!a.liveChatSponsorshipsGiftRedemptionBannerRenderer)},
computeIsCallForQuestions:function(){return!!this.data.contents&&!!this.data.contents.liveChatCallForQuestionsRenderer},
computeIsCreatorAnswersQuestionsBanner:function(){return!!this.data.contents&&!!this.data.contents.liveChatCreatorAnswersQuestionsRenderer},
computeHasCustomCollapsedState:function(){return this.isPollBanner||this.isGiftRedemptionBanner||this.isCallForQuestions||this.isCreatorAnswersQuestionsBanner||this.isRedirectBanner},
computeShouldDisableStateChange:function(){return!!this.data.contents&&!!this.data.contents.liveChatProductItemRenderer},
computeIsIndeterminate:function(){return!!this.data.contents&&!!this.data.contents.pollRenderer},
startCollapseTimeout:function(){var a=this;this.collapseTimeout=setTimeout(function(){a.disableStateChange||(a.collapsed=!0)},7E3)},
stopCollapseTimeout:function(){this.collapseTimeout&&(clearTimeout(this.collapseTimeout),delete this.collapseTimeout)},
collapsedChanged:function(a){var b=_.H(this.$.contents).firstElementChild,c=_.H(this.$.header).firstElementChild;[b,c].forEach(function(d){d&&(d.inCollapsedBanner=a)});
a&&this.stopCollapseTimeout();this.slideBannerContents_(b)},
slideBannerContents_:function(){this.hasCustomCollapsedState||(this.collapsed?(this.$.contents.style.height=this.$.contents.clientHeight+"px",this.$.contents.style.transform="translateY(-"+this.$.header.clientHeight+"px)",this.$.contents.style.height="0"):(this.$.contents.style.height="auto",this.$.contents.style.transform="translateY(0)"))},
toggleBanner:function(){this.disableStateChange||(this.collapsed=!this.collapsed)},
onClick_:function(a){var b=this;(a=_.hf(a.target,function(c){return"A"===c.tagName||c===b.$.contents},!0))&&a!==this.$.contents||this.toggleBanner()},
onKeyPress_:function(){document.activeElement===this&&this.toggleBanner()},
onWindowClick_:function(a){if(!this.collapsed&&!this.disableStateChange){a=a.target;var b=document.querySelector("yt-live-chat-app");b&&b.contains(a)&&!_.nx(a,"yt-live-chat-dialog-renderer")&&!this.contains(a)&&(this.collapsed=!0)}}});
var YTb=["liveChatTextMessageRenderer","liveChatProductItemRenderer","donationsProgressBarRenderer"],ZTb=["pollRenderer"];
_.Ng({is:"yt-live-chat-banner-manager",_template:function(){if(void 0!==DTb)return DTb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-banner-manager--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_manager.yt.live.chat.banner.manager.css.js--\x3e<div id="visible-banners"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
var b=a.content,c=b.insertBefore;if(void 0===CTb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_banner_manager.yt.live.chat.banner.manager.css.js--\x3e<style>:host {display: block;} yt-live-chat-banner-renderer {border: 1px solid var(--yt-live-chat-banner-border-color);} yt-live-chat-banner-renderer:not(:first-of-type) {margin-top: 8px;} :host([has-active-banner]) {background: var(--yt-live-chat-banner-gradient-scrim);} :host([has-active-banner]) yt-live-chat-banner-renderer {animation: slideDown var(--yt-live-chat-universal-motion-curve) forwards;animation-duration: var(--yt-live-chat-banner-animation-duration);} @keyframes slideDown {0% {transform: translateY(-15%);opacity: 0;}100% {transform: translateY(0);opacity: 1;}} /*# sourceMappingURL=yt-live-chat-banner-manager.css.map*/</style>";
CTb=d}d=CTb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return DTb=a},
properties:{id:{type:String,computed:"computeId(activeBanners.*)",reflectToAttribute:!0},emojiManager:Object,activePinnedBanner:{type:Object,computed:"computeActivePinnedBanner(activeBanners.*)"},activeIndeterminateBanner:{type:Object,computed:"computeActiveIndeterminateBanner(activeBanners.*)"},activeBanners:{type:Array,value:function(){return[]}},
visibleBanners:{type:Array,computed:"computeVisibleBanners_(activeBanners.*)"},hasActiveBanner:{type:Boolean,computed:"computeHasActiveBanner(activeBanners.*)",reflectToAttribute:!0},bannerQueue:{type:Array,value:function(){return[]}},
ephemeralBannerTimeoutIds:{type:Array,value:function(){return[]}}},
behaviors:[_.Y.YtActionHandlerBehavior,_.RB.YtLiveChatTooltipTargetingBehavior,_.X.YtRendererstamperBehavior],stampDom:{visibleBanners:{id:"visible-banners",mapping:{liveChatBannerRenderer:{component:"yt-live-chat-banner-renderer",properties:{emojiManager:"[[emojiManager]]"}}},reuseComponents:!1,stamperStableList:!1}},actionMap:{"yt-live-chat-actions":"handleLiveChatActions_","yt-remove-banner-for-live-chat-command":"handleRemoveBannerForLiveChatCommand_","yt-remove-chat-item-action":"handleRemoveChatItemAction_",
"yt-mark-chat-item-as-deleted-action":"handleMarkChatItemAsDeletedAction_","yt-mark-chat-items-by-author-as-deleted-action":"handleMarkChatItemsByAuthorAsDeletedAction_"},observers:["onActiveBannersOrBannerQueueChanged(activeBanners.*, bannerQueue.splices)","onActivePinnedBannerChange(activePinnedBanner)"],created:function(){this.boundIsPinnedBanner_=this.isPinnedBanner_.bind(this);this.boundIsIndeterminateBanner_=this.isIndeterminateBanner_.bind(this);this.isTransitioningBanner=!1;this.liveChatActionMap_=
{addBannerToLiveChatCommand:"handleAddBannerToLiveChatCommand_",removeBannerForLiveChatCommand:"handleRemoveBannerForLiveChatCommand_",removeChatItemAction:"handleRemoveChatItemAction_",markChatItemAsDeletedAction:"handleMarkChatItemAsDeletedAction_",markChatItemsByAuthorAsDeletedAction:"handleMarkChatItemsByAuthorAsDeletedAction_"}},
reset:function(){this.activeBanners=[];this.bannerQueue=[];this.isTransitioningBanner=!1;this.ephemeralBannerTimeoutIds.forEach(function(a){clearTimeout(a)})},
onActiveBannersOrBannerQueueChanged:function(){if(this.bannerQueue.length&&!this.isTransitioningBanner){this.isTransitioningBanner=!0;var a=this.bannerQueue.shift();if(this.activePinnedBanner&&this.isPinnedBanner_(a)){var b=this.activeBanners.findIndex(this.boundIsPinnedBanner_);this.splice("activeBanners",b,1)}else this.activeIndeterminateBanner&&this.isIndeterminateBanner_(a)?(b=this.activeBanners.findIndex(this.boundIsIndeterminateBanner_),this.splice("activeBanners",b,1)):b=this.activeBanners.length;
this.splice("activeBanners",b,0,a);this.isTransitioningBanner=!1}},
onActivePinnedBannerChange:function(){_.Jg(this,"yt-visible-banner-change",[this.activePinnedBanner])},
computeId:function(){return 0===this.activeBanners.length?"live-chat-banner":this.activeBanners[0].liveChatBannerRenderer.targetId},
computeHasActiveBanner:function(){return 0<this.activeBanners.length},
computeActivePinnedBanner:function(){return this.activeBanners.find(this.boundIsPinnedBanner_)},
computeActiveIndeterminateBanner:function(){return this.activeBanners.find(this.boundIsIndeterminateBanner_)},
handleLiveChatActions_:function(a){var b=this;a.forEach(function(c){var d=PRb(c);if(d&&(d=b.liveChatActionMap_[d]))b[d](c)})},
handleAddBannerToLiveChatCommand_:function(a){var b=this,c=a.addBannerToLiveChatCommand.bannerRenderer;c&&(this.push("bannerQueue",c),a.addBannerToLiveChatCommand.bannerProperties&&a.addBannerToLiveChatCommand.bannerProperties.isEphemeral&&(a=setTimeout(function(){b.activeBanners=b.activeBanners.filter(function(d){return d.liveChatBannerRenderer.actionId!==c.liveChatBannerRenderer.actionId})},Number(a.addBannerToLiveChatCommand.bannerProperties.bannerTimeoutMs,10)),this.push("ephemeralBannerTimeoutIds",
a)))},
handleRemoveBannerForLiveChatCommand_:function(a){var b=this,c=this.get("removeBannerForLiveChatCommand.targetActionId",a);setTimeout(function(){b.activeBanners=b.activeBanners.filter(function(d){return d.liveChatBannerRenderer.actionId!==c})},0)},
handleRemoveChatItemAction_:function(a){var b=this,c=a.removeChatItemAction.targetItemId;this.bannerQueue=this.bannerQueue.filter(function(d){return b.getBannerContentsInfo_(d).id!==c});
this.activeBanners=this.activeBanners.filter(function(d){return b.getBannerContentsInfo_(d).id!==c})},
handleMarkChatItemAsDeletedAction_:function(a){var b=this,c=a.markChatItemAsDeletedAction,d=c.targetItemId;this.forEachBanner_(function(e,h,l){var m=b.getBannerContentsInfo_(e),p=m.contentType;m.id===d&&b.markBannerContentsAsDeleted_(e,p,c,h,l)})},
handleMarkChatItemsByAuthorAsDeletedAction_:function(a){var b=this,c=a.markChatItemsByAuthorAsDeletedAction;this.forEachBanner_(function(d,e,h){var l=b.getBannerContentsInfo_(d),m=l.contentType;l.authorExternalChannelId===c.externalChannelId&&b.markBannerContentsAsDeleted_(d,m,c,e,h)})},
markBannerContentsAsDeleted_:function(a,b,c,d,e){if(a){if(null!==d)a="activeBanners."+d+".liveChatBannerRenderer.contents."+b;else if(null!==e)a="bannerQueue."+e+".liveChatBannerRenderer.contents."+b;else return;this.set(a+".deletedStateMessage",c.deletedStateMessage);this.set(a+".showOriginalContentMessage",c.showOriginalContentMessage)}},
getBannerContentsInfo_:function(a){if(a=this.get("liveChatBannerRenderer.contents",a)){var b=Object.keys(a)[0];return{authorExternalChannelId:this.get(b+".authorExternalChannelId",a),id:this.get(b+".id",a),contentType:b}}return{}},
isPinnedBanner_:function(a){return a?(a=this.getBannerContentsInfo_(a).contentType)?YTb.includes(a):!1:!1},
isIndeterminateBanner_:function(a){return a?(a=this.getBannerContentsInfo_(a).contentType)?ZTb.includes(a):!1:!1},
forEachBanner_:function(a){this.bannerQueue.forEach(function(b,c){a(b,null,c)});
this.activeBanners.forEach(function(b,c){a(b,c,null)})},
computeVisibleBanners_:function(){if(!this.activeBanners.length)return[];var a=this.activeBanners[this.activeBanners.length-1];return a.liveChatBannerRenderer.viewerIsCreator?[].concat(_.sc(this.activeBanners)):[a]}});
var $Tb;
var aUb;
var r9=function(){return _.K.apply(this,arguments)||this};
_.q(r9,_.K);_.f=r9.prototype;_.f.configureRendererStamper=function(){return{"data.ackButton":{id:"ack-button-container",mapping:{buttonRenderer:{component:"yt-button-renderer"}}}}};
_.f.ready=function(){this.popupPositionTarget=this.JSC$42919_ytIconButton};
_.f.onMenuClick=function(){var a,b;(null==(a=this.data)?0:null==(b=a.contextMenu)?0:b.menuRenderer)&&this.ytOpenPopupBehavior.openPopup({openPopupAction:{popupType:"DROPDOWN",popup:{menuPopupRenderer:this.data.contextMenu.menuRenderer}}})};
_.f.onButtonClick=function(){_.C(this,"yt-live-chat-disable-before-focus-action");this.fire("yt-live-chat-close-channel-guidelines-dialog")};
_.f.computeDisplayIndex=function(a){return a+1};
_.t.Object.defineProperties(r9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aUb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-channel-guidelines-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_channel_guidelines_dialog_renderer.yt.live.chat.channel.guidelines.dialog.renderer.css.js--\x3e<div id="card" aria-describedby="channel-guidelines-dialog-welcome-message-text" aria-labelledby="channel-guidelines-dialog-title" role="dialog">\n  <div id="content">\n    <div id="header">\n      <div id="context-menu" hidden$="[[!data.contextMenu]]">\n        <yt-icon-button id="context-menu-button" label="[[data.overflowMenu.menuRenderer.accessibility.accessibilityData.label]]" on-click="onMenuClick">\n          <yt-icon icon="more_vert"></yt-icon>\n        </yt-icon-button>\n      </div>\n      <div id="channel-guidelines-dialog-intro">\n        <yt-formatted-string id="channel-guidelines-dialog-owner-name" text="[[data.channelOwnerDisplayName]]"></yt-formatted-string>\n        <yt-formatted-string id="channel-guidelines-dialog-title" split-lines="" text="[[data.title]]"></yt-formatted-string>\n        <yt-img-shadow id="channel-guidelines-dialog-owner-avatar" thumbnail="[[data.channelOwnerAvatar]]"></yt-img-shadow>\n        <div id="channel-guidelines-dialog-welcome-message">\n          <div id="triangle"></div>\n          <div id="message-box">\n            <yt-formatted-string id="channel-guidelines-dialog-welcome-message-text" split-lines="" text="[[data.welcomeMessage]]"></yt-formatted-string>\n          </div>\n        </div>\n      </div>\n    </div>\n    <div id="channel-guidelines-list">\n      <template is="dom-repeat" items="[[data.channelGuidelines]]">\n        <div id="channel-guidelines-list-item">\n          <div id="list-item-index">\n            <div>[[computeDisplayIndex(index)]]</div>\n          </div>\n          <yt-formatted-string id="channel-guidelines-list-item-text" split-lines="" text="[[item]]"></yt-formatted-string>\n        </div>\n      </template>\n    </div>\n    <yt-formatted-string id="channel-guidelines-dialog-community-guidelines" split-lines="" text="[[data.communityGuidelines]]"></yt-formatted-string>\n  </div>\n  <div id="button-container">\n    <div id="ack-button-container" on-click="onButtonClick"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Tb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_channel_guidelines_dialog_renderer.yt.live.chat.channel.guidelines.dialog.renderer.css.js--\x3e<style>:host {padding: 24px 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #card {overflow: hidden;background: var(--yt-spec-brand-background-primary);box-shadow: var(--shadow-elevation-4dp_-_box-shadow);} #header {position: relative;} #context-menu {position: absolute;right: -8px;top: 0px;color: var(--yt-live-chat-secondary-text-color);background: linear-gradient(to right,transparent 0%,var(--yt-live-chat-background-color,var(--yt-spec-static-brand-white)) 100%);} #context-menu-button {width: 32px;height: 32px;padding: 4px;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;padding: 20px 12px;overflow-y: scroll;max-height: 300px;} yt-formatted-string {display: block;} #channel-guidelines-dialog-intro {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #channel-guidelines-dialog-owner-name {margin-bottom: 4px;color: var(--yt-live-chat-primary-text-color);font-size: 20px;font-weight: 500;line-height: 28px;} #channel-guidelines-dialog-title {margin-bottom: 4px;color: var(--yt-live-chat-secondary-text-color);font-size: 12px;line-height: 16px;} #channel-guidelines-dialog-owner-avatar {margin: 8px 0px;overflow: hidden;border-radius: 50%;height: 64px;width: 64px;} #channel-guidelines-dialog-welcome-message {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;margin-bottom: 16px;} #channel-guidelines-dialog-welcome-message #triangle {display: block;width: 0;height: 0;border-left: 12px solid transparent;border-right: 12px solid transparent;border-bottom: 12px solid var(--yt-spec-general-background-b);} #channel-guidelines-dialog-welcome-message #message-box {display: flex;background: var(--yt-spec-general-background-b);padding: 8px 12px;border-radius: 8px;text-align: center;} #channel-guidelines-dialog-welcome-message-text {margin-top: 4px;color: var(--yt-live-chat-primary-text-color);font-size: 14px;line-height: 20px;font-weight: 400;} #channel-guidelines-list {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;display: block;margin-bottom: 8px;} #channel-guidelines-list-item {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-bottom: 12px;} #channel-guidelines-list-item #list-item-index {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;background: var(--yt-spec-general-background-b);color: var(--yt-live-chat-primary-text-color);border-radius: 20px;height: 36px;width: 36px;min-width: 36px;font-size: 18px;line-height: 20px;} #channel-guidelines-list-item-text {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;padding-left: 12px;color: var(--yt-live-chat-primary-text-color);font-size: 14px;line-height: 18px;} #channel-guidelines-dialog-community-guidelines {color: var(--yt-live-chat-secondary-text-color);font-size: 12px;line-height: 16px;} #button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px 8px 8px 24px;} yt-button-renderer {font-size: 14px;text-transform: uppercase;} /*# sourceMappingURL=yt-live-chat-channel-guidelines-dialog-renderer.css.map*/</style>";
$Tb=d}d=$Tb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aUb=a}a=aUb;return a}}});
var s9=r9;_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],s9.prototype,"ytOpenPopupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],s9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(ASb),_.T("design:type",Object)],s9.prototype,"ytLiveChatDialogBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],s9.prototype,"data",void 0);_.S([_.N(),_.T("design:type",HTMLElement)],s9.prototype,"popupPositionTarget",void 0);
_.S([_.Z("#context-menu-button"),_.T("design:type",HTMLElement)],s9.prototype,"JSC$42919_ytIconButton",void 0);s9=_.S([_.Q({is:"yt-live-chat-channel-guidelines-dialog-renderer"})],s9);
var bUb={ContinuableBehavior:{_noAccessors:!0,triggerReloadContinuation:function(){_.dMa(_.H(this.$.continuations))}}};
var cUb={},dUb=_.u.createSet("1","2","5","6","7","8","9","11","12","17","18","19"),t9=function(){var a=_.vt.apply(this,arguments)||this;a.activeRequest=null;a.hasShownReconnectMessage_=!1;a.prevContinuationToken_=null;a.continuationBehaviorActionMap_={"yt-live-chat-force-chat-poll":"forceChatPoll_","yt-force-live-chat-continuation-command":"forceChatPoll_"};return a};
_.q(t9,_.vt);_.f=t9.prototype;
_.f.beforeRegister=function(){this.stampDom||(this.stampDom={});"data.continuations"in this.stampDom||(this.stampDom["data.continuations"]={id:"continuations",mapping:{}});var a={liveChatReplayContinuationData:"yt-live-chat-replay-continuation",reloadContinuationData:"yt-reload-continuation",timedContinuationData:"yt-timed-continuation",invalidationContinuationData:"yt-invalidation-continuation",playerSeekContinuationData:{component:"yt-player-seek-continuation",properties:{playerProgressSec:"[[playerProgressSec]]"}}};_.u.extend(a,
this.stampDom["data.continuations"].mapping);this.stampDom["data.continuations"].mapping=a};
_.f.created=function(){this.activeRequest=null;this.smoothedQueue_=_.x("live_chat_timestamp_smoothing")?new fTb:new eTb;this.prevContinuationToken_=null;this.hasShownReconnectMessage_=!1};
_.f.attached=function(){this.ytActionHandlerBehavior.registerActionMap(this.continuationBehaviorActionMap_);this.smoothedQueue_.callback=this.immediatelyApplyLiveChatActions.bind(this);this.prevContinuationToken_=null};
_.f.detached=function(){this.ytActionHandlerBehavior.unregisterActionMap(this.continuationBehaviorActionMap_);this.smoothedQueue_.callback=null;this.hasShownReconnectMessage_=!1;this.activeRequest&&(this.activeRequest.promise.cancel(),this.activeRequest=null)};
_.f.dataChangedInBehavior_=function(){this.activeRequest&&this.activeRequest.promise.cancel()};
_.f.continuationsChanged_=function(){this.async(this.ytContinuableBehavior.triggerReloadContinuation)};
_.f.forceChatPoll_=function(a){var b=this,c={};a&&a.forceLiveChatContinuationCommand&&(c.reloadActionPanel=a.forceLiveChatContinuationCommand.reloadActionPanel,c.fullReload=a.forceLiveChatContinuationCommand.fullReload);["yt-timed-continuation","yt-invalidation-continuation"].forEach(function(d){(d=b.$$(d))&&d.forceTrigger&&d.forceTrigger(c)},this)};
var u9=function(a,b,c){var d=b("").substr(1),e={},h=a.currentPlayerState_?_.u.unsafeClone(a.currentPlayerState_):{},l={liveChatEndpoint:e},m="";a.data.isReplay?(e={},m=_.lFa(e),l={liveChatReplayEndpoint:e}):m=_.kFa(e);e.commandMetadata={webCommandMetadata:{url:m}};_.Aj(d,function(p,r){switch(p){case "itct":l.clickTrackingParams=r;break;case "ctoken":e.continuation=r;break;case "currentPlayerTimeMsec":h.playerOffsetMs=Math.floor(r).toString();break;case "isInvalidationTimeoutRequest":e.isInvalidationTimeoutRequest=
r;break;case "reloadActionPanel":e.reloadActionPanel=r;break;case "fullReload":e.fullReload=r}});
Object.keys(h).length&&(e.currentPlayerState=h);return{endpoint:l,params:{hidden:"hidden"==document.visibilityState},type:c,retries:0,continuationUrl:b(""),createdTime:Date.now()}},eUb=function(a){a=_.u.unsafeClone(a);
a.retries+=1;return a};
t9.prototype.onLoadReloadContinuation_=function(a,b){a.stopPropagation();a=u9(this,b,"reload");this.requestData_(a)};
t9.prototype.onLoadIncrementalContinuation_=function(a,b){a.stopPropagation();a=u9(this,b,"incremental");this.requestData_(a)};
t9.prototype.onLoadSeekContinuation_=function(a,b){a.stopPropagation();a=u9(this,b,"seek");this.activeRequest?this.debounce("loadSeekContinuation",this.requestData_.bind(this,a),500):this.requestData_(a)};
t9.prototype.onNavigate_=function(a){if(a.detail.endpoint.liveChatEndpoint){a.stopPropagation();a=a.detail.endpoint;if(_.pa(a.liveChatEndpoint.continuation)){a.liveChatEndpoint.continuation.reloadContinuationData&&this.fire("yt-load-reload-continuation");var b=Object.keys(a.liveChatEndpoint.continuation)[0];a.liveChatEndpoint.continuation=a.liveChatEndpoint.continuation[b].continuation}this.data.isReplay&&(a={liveChatReplayEndpoint:a.liveChatEndpoint,clickTrackingParams:a.clickTrackingParams});a=
{endpoint:a,params:{},type:"reload",retries:0,continuationUrl:"navigateEvent",createdTime:Date.now()};this.requestData_(a)}};
var gUb=function(a,b){fUb(a,b,function(c){a.preprocessSeekResponseActions_(c)});
_.Jg(a,"yt-live-chat-seek-success")},iUb=function(a,b){_.Jg(a,"yt-live-chat-seek-fail");
hUb(a,b)};
t9.prototype.onLoadReplayContinuation_=function(a,b){a.stopPropagation();a=u9(this,b,"incremental");this.requestData_(a)};
t9.prototype.retry=function(a,b){var c=this,d=eUb(a);jUb(this,a,b).then(function(){kUb(c,d)},function(){c.fire("yt-live-chat-continuation-behavior-incremental-failure");
"seek"==a.type&&_.Jg(c,"yt-live-chat-seek-fail",[])},this)};
t9.prototype.requestData_=function(a){if(this.activeRequest)if("seek"===a.type)if("seek"===this.activeRequest.metadata.type)this.activeRequest.promise.cancel();else{if("reload"===this.activeRequest.metadata.type){this.nextRequest_=a;return}}else if("reload"===a.type)this.activeRequest.promise.cancel();else if("incremental"===a.type){if("reload"===this.activeRequest.metadata.type)return;"incremental"===this.activeRequest.metadata.type&&this.activeRequest.promise.cancel()}else"reload"===a.type&&"seek"===
this.activeRequest.metadata.type?_.Qf(Error("Bh")):_.Qf(new _.ge("Unhandled request state",{activeRequest:this.activeRequest.metadata.type,newRequest:a.type}));kUb(this,a)};
var kUb=function(a,b){var c=_.Eg().resolve(_.Eo),d;if(_.Ei()){c={};Object.assign(c,b.endpoint,b.params);b.endpoint.liveChatEndpoint?Object.assign(c,b.endpoint.liveChatEndpoint):b.endpoint.liveChatReplayEndpoint&&Object.assign(c,b.endpoint.liveChatReplayEndpoint);var e=_.Ei();e&&(d=_.Dp(e,b.endpoint,c))}else d=c.requestDataForEndpoint(b.endpoint,b.params);a.activeRequest={metadata:b,promise:d};d&&(d.then(function(h){"reload"==b.type&&lUb(a,h);void 0===h&&_.Ei()?a.retry(b,h):(_.Ei()?h:h&&h.response)?
(_.Ei()?h.error:h.response.error)?a.retry(b,h):"seek"==b.type?gUb(a,h):fUb(a,h,function(l){(l=a.preprocessActions_(l))&&l.length&&a.smoothedQueue_.enqueueActionGroup(l)}):"seek"==b.type?iUb(a,h):b.type&&hUb(a,h)},function(h){h instanceof _.Uk||a.retry(b,h)},a),d.then(function(){a.activeRequest=null;
if(a.nextRequest_&&"seek"==a.nextRequest_.type){var h=a.$$("yt-player-seek-continuation");h&&h.fireSeekContinuationAtCurrentProgress();a.nextRequest_=null}},function(h){h instanceof _.Uk||(a.activeRequest=null)},a),"seek"==b.type?_.Jg(a,"yt-live-chat-seek-start",[]):"reload"==b.type&&_.Jg(a,"yt-live-chat-reload-start",[]))},lUb=function(a,b){_.Ei()||(b=b.response);
if(b&&b.continuationContents&&b.continuationContents.liveChatContinuation&&!b.error){a.data=b.continuationContents.liveChatContinuation;if(b.trackingParams){var c=_.eg(),d=_.fg();c&&d?(b=_.no(b.trackingParams),_.tv(d,c,b),_.Jg(a,"yt-store-grafted-ve-action",[b])):(b="",c||d?c?d||(b="Missing currentCsn for live chat ve logging."):b="Missing rootVe for live chat ve logging.":b="Missing rootVe and currentCsn for live chat ve logging.",_.Rf(Error(b)))}_.Jg(a,"yt-live-chat-reload-success",[])}else b instanceof
_.Uk||_.Jg(a,"yt-live-chat-reload-fail",[])},hUb=function(a,b){v9(a,w9(a,"fatalError"));
_.Qf(new _.ge("Unexpected live chat incremental continuation response",b))},fUb=function(a,b,c){a.hasShownReconnectMessage_&&(a.hasShownReconnectMessage_=!1,v9(a,w9(a,"reconnectedMessage"),"reconnect"));
_.Ei()||(b=b.response);if(b.continuationContents&&b.continuationContents.liveChatContinuation){if(b.frameworkUpdates&&b.frameworkUpdates.entityBatchUpdate)try{_.eh(b.frameworkUpdates.entityBatchUpdate,a.ytLiveChatReduxBehavior.store)}catch(e){_.Qf(e)}var d=b.continuationContents.liveChatContinuation;d.actions&&((b=b.trackingParams)&&(_.x("enable_native_live_chat_on_kevlar")?a.fire("yt-live-chat-attach-visual-element",_.no(b)):m8("yt-attach-live-chat-response-tracking-params",{trackingParams:b})),
c(d.actions));a.emojiManager&&d.emojis&&a.emojiManager.load(d.emojis);d.actionPanel&&a.set("data.actionPanel",d.actionPanel);d.header&&a.set("data.header",d.header);a.set("data.continuations",d.continuations||[]);a.fire("yt-live-chat-continuation-behavior-incremental-success")}},jUb=function(a,b,c){if(c){switch(c.status){case 404:return _.Qf(new _.ge("404 while requesting live chat incremental continuation",b.continuationUrl)),v9(a,w9(a,"fatalError")),_.Qk("404 while requesting live chat incremental continuation")}if(c.error&&
(c=c.error.code,dUb[c.toString()]))return v9(a,w9(a,"fatalError")),_.Qk("Unrecoverable error; code: "+c)}if(3<b.retries)return v9(a,w9(a,"unableToReconnectMessage")),_.Qk("Reached retry limit for incremental continuation requests");
1==b.retries&&(a.hasShownReconnectMessage_=!0,v9(a,w9(a,"reconnectMessage")));var d=2E3*Math.pow(2,b.retries);d+=1E3*Math.random();return new _.wf(function(e){a.async(e,d)})},v9=function(a,b,c){b&&a.smoothedQueue_.enqueueActionGroup([{serverErrorMessage:{message:b,
"class":c}}])},w9=function(a,b){b=a.get("data.clientMessages."+b);
return a.ytComponentBehavior.getSimpleString(b)};
_.t.Object.defineProperties(t9,{observers:{configurable:!0,enumerable:!0,get:function(){return["dataChangedInBehavior_(data)","continuationsChanged_(data.continuations)"]}}});
var x9=t9;x9.prototype.onLoadReplayContinuation_=x9.prototype.onLoadReplayContinuation_;x9.prototype.onNavigate_=x9.prototype.onNavigate_;x9.prototype.onLoadSeekContinuation_=x9.prototype.onLoadSeekContinuation_;x9.prototype.onLoadIncrementalContinuation_=x9.prototype.onLoadIncrementalContinuation_;x9.prototype.onLoadReloadContinuation_=x9.prototype.onLoadReloadContinuation_;x9.prototype.forceChatPoll_=x9.prototype.forceChatPoll_;x9.prototype.continuationsChanged_=x9.prototype.continuationsChanged_;
x9.prototype.dataChangedInBehavior_=x9.prototype.dataChangedInBehavior_;_.S([_.N(),_.T("design:type",Object)],x9.prototype,"data",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],x9.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],x9.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(bUb.ContinuableBehavior),_.T("design:type",Object)],x9.prototype,"ytContinuableBehavior",void 0);
_.S([_.L(s8),_.T("design:type",Object)],x9.prototype,"ytLiveChatReduxBehavior",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],x9.prototype,"dataChangedInBehavior_",null);_.S([_.P("data.continuations"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],x9.prototype,"continuationsChanged_",null);
_.S([_.O("yt-load-reload-continuation"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Function]),_.T("design:returntype")],x9.prototype,"onLoadReloadContinuation_",null);_.S([_.O("yt-load-timed-continuation"),_.O("yt-load-invalidation-continuation"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Function]),_.T("design:returntype")],x9.prototype,"onLoadIncrementalContinuation_",null);
_.S([_.O("yt-load-seek-continuation"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Function]),_.T("design:returntype")],x9.prototype,"onLoadSeekContinuation_",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],x9.prototype,"onNavigate_",null);
_.S([_.O("yt-load-replay-continuation"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Function]),_.T("design:returntype")],x9.prototype,"onLoadReplayContinuation_",null);x9=_.S([_.wt()],x9);cUb.YtLiveChatContinuationBehavior=[bUb.ContinuableBehavior,_.Y.YtActionHandlerBehavior,_.iu.YtComponentBehavior,x9.prototype,s8];
var mUb;
var nUb;
_.Ng({is:"yt-live-chat-docked-message-renderer",_template:function(){if(void 0!==nUb)return nUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-docked-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_docked_message_renderer.yt.live.chat.docked.message.renderer.css.js--\x3e<div id="container">\n  <div id="docked-item"></div>\n  <div id="undocking-item"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_docked_message_renderer.yt.live.chat.docked.message.renderer.css.js--\x3e<style>:host {display: block;overflow: hidden;} :host([is-undocking]) #undocking-item yt-live-chat-text-message-renderer {animation: fadeOut ease-out 0.5s forwards;} #container {z-index: 0;} #undocking-item {z-index: 1;} #docked-item,#undocking-item {margin: 8px 24px 0 8px;} #docked-item yt-live-chat-text-message-renderer,#undocking-item yt-live-chat-text-message-renderer {border-radius: 4px;padding-left: 16px;} @keyframes fadeOut {0% {opacity: 1;}100% {opacity: 0;}} /*# sourceMappingURL=yt-live-chat-docked-message-renderer.css.map*/</style>";
mUb=d}d=mUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return nUb=a},
properties:{dockedItem:{type:Object},undockingItem:{type:Object},emojiManager:Object,participantsManager:Object,isUndocking:{type:Boolean,reflectToAttribute:!0,value:!1},dockableMessages:{type:Array},isScrolledToBottomOfItemList:{type:Boolean,observer:"isScrolledToBottomOfItemListChanged_"}},behaviors:[_.X.YtRendererstamperBehavior],observers:["onDockableMessagesChanged_(dockableMessages.splices)"],stampDom:{dockedItem:{id:"docked-item",mapping:{liveChatTextMessageRenderer:{component:"yt-live-chat-text-message-renderer",
properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}}}},undockingItem:{id:"undocking-item",mapping:{liveChatTextMessageRenderer:{component:"yt-live-chat-text-message-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}}}}},STICKY_CHAT_DOCK_TIME_MS:1E4,STICKY_CHAT_UNDOCK_TRANSITION_TIME_MS:250,MESSAGE_TO_TOP_EPSILON:8,created:function(){this.boundCheckIntersections_=this.checkIntersections_.bind(this);this.intersectRAF_=
null},
detached:function(){this.intersectRAF_&&window.cancelAnimationFrame(this.intersectRAF_)},
clear:function(){this.undock_()},
dock_:function(a){this.dockedItem&&this.undock_();this.dockedItem={liveChatTextMessageRenderer:a.data};this.dockTimer=window.setTimeout(this.undock_.bind(this),this.STICKY_CHAT_DOCK_TIME_MS)},
undock_:function(){!this.isUndocking&&this.dockedItem&&(window.clearTimeout(this.dockTimer),this.isUndocking=!0,this.undockingItem=this.dockedItem,this.dockedItem=void 0,window.setTimeout(function(){this.undockingItem=void 0;this.isUndocking=!1}.bind(this),this.STICKY_CHAT_UNDOCK_TRANSITION_TIME_MS))},
checkIntersections_:function(){if(this.dockableMessages.length){this.intersectRAF_=window.requestAnimationFrame(this.boundCheckIntersections_);var a=this.dockableMessages[0],b=this.getBoundingClientRect();a=a.getBoundingClientRect();var c=a.top-b.top,d=c<=this.MESSAGE_TO_TOP_EPSILON;c=c-this.clientHeight<=this.MESSAGE_TO_TOP_EPSILON;if(d){for(var e;d;){e=this.dockableMessages.shift();d=this.dockableMessages[0];if(!d)break;d=d.getBoundingClientRect();c=d.top-b.top;var h=c<=this.MESSAGE_TO_TOP_EPSILON;
if(c-a.height<=this.MESSAGE_TO_TOP_EPSILON)if(h)a=d;else return;d=h}this.dock_(e)}else c&&this.dockedItem&&this.clear()}else this.intersectRAF_=null},
trimInvisibleDockableMessages_:function(){if(this.parentElement)for(var a=this.parentElement.scrollTop;this.dockableMessages&&this.dockableMessages.length&&(this.dockableMessages[0].offsetTop<a||!this.dockableMessages[0].isHighlighted);)this.dockableMessages.shift()},
isScrolledToBottomOfItemListChanged_:function(a){a?this.trimInvisibleDockableMessages_():this.clear()},
onDockableMessagesChanged_:function(){this.dockableMessages.length&&!this.intersectRAF_&&(this.intersectRAF_=window.requestAnimationFrame(this.boundCheckIntersections_))}});
var oUb;
var pUb;
_.Ng({is:"yt-live-chat-donation-announcement-renderer",_template:function(){if(void 0!==pUb)return pUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-donation-announcement-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_donation_announcement_renderer.yt.live.chat.donation.announcement.renderer.css.js--\x3e<div id="card"><yt-img-shadow id="author-photo" height="40" thumbnail="[[data.authorPhoto]]" width="40"></yt-img-shadow><div id="content"><div id="content-header"><div id="author-name">[[getSimpleString(data.authorName)]]</div><div id="text">[[getSimpleString(data.text)]]</div></div><div id="timestamp">[[timestampString]]</div><yt-formatted-string id="subtext" text="[[data.subtext]]"></yt-formatted-string></div><div id="menu" hidden$="[[!data.contextMenuEndpoint]]"><yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="showContextMenu"><yt-icon icon="more_vert"></yt-icon></yt-icon-button></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_donation_announcement_renderer.yt.live.chat.donation.announcement.renderer.css.js--\x3e<style>#timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {position: relative;display: block;padding: 4px 24px;--yt-live-chat-donation-chip-background-color: #e0e0e0;--yt-live-chat-donation-chip-text-color: #262626;--yt-live-chat-item-timestamp-display: none;} :host([dashboard-money-feed]) {padding: 0;--yt-live-chat-item-timestamp-display: block;} #card {position: relative;background-color: var(--yt-live-chat-secondary-background-color);border-radius: 4px;color: var(--yt-live-chat-primary-text-color);padding: 12px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([dashboard-money-feed]) #card {background-color: transparent;color: transparent;} :host([dashboard-money-feed]) #content-header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} #author-name {display: none;} :host([dashboard-money-feed]) #author-name {display: block;font-size: 14px;font-weight: 500;margin-right: 8px;color: var(--yt-live-chat-secondary-text-color);overflow: hidden;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #text {display: block;font-size: 14px;margin-bottom: var(--ytd-margin-base);} :host([dashboard-money-feed]) #text {height: 24px;min-width: 16px;border-radius: 12px;margin-right: 8px;padding: 0 12px;background-color: var(--yt-live-chat-donation-chip-background-color);color: var(--yt-live-chat-donation-chip-text-color);font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #subtext {display: block;font-size: 12px;} :host([dashboard-money-feed]) #subtext {display: none;} #author-photo {max-height: 40px;} #menu {background: linear-gradient(to right,transparent,var(--yt-live-chat-secondary-background-color) 100%);border-radius: 0 4px 4px 0;} :host([dashboard-money-feed]) #menu {margin-top: 8px;background: linear-gradient(to right,transparent,var(--yt-live-chat-background-color) 40%);color: var(--yt-live-chat-secondary-text-color);} /*# sourceMappingURL=yt-live-chat-donation-announcement-renderer.css.map*/</style>";
oUb=d}d=oUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return pUb=a},
properties:{data:Object},behaviors:[_.U.YtRendererBehavior,_.mF.YtLiveChatItemBehavior],ready:function(){var a=document.querySelector("yt-live-chat-app");a&&a.hasAttribute("dashboard-money-feed")&&_.H(this).setAttribute("dashboard-money-feed","")}});
var qUb;
var rUb;
var y9=function(){var a=_.K.apply(this,arguments)||this;a.showOverflowButton=!1;a.isViewSelectorDisabled=!1;a.actionMap={"yt-live-chat-seek-start":"disableViewSelector","yt-live-chat-reload-start":"disableViewSelector","yt-live-chat-reload-success":"enableViewSelector","yt-live-chat-reload-fail":"enableViewSelector","yt-live-chat-seek-success":"enableViewSelector","yt-live-chat-seek-fail":"enableViewSelector"};return a};
_.q(y9,_.K);_.f=y9.prototype;_.f.configureRendererStamper=function(){return{"data.actionButtons":{id:"action-buttons",mapping:{buttonRenderer:"yt-button-renderer"}},"data.viewSelector":{id:"view-selector",mapping:{sortFilterSubMenuRenderer:"yt-sort-filter-sub-menu-renderer"}}}};
_.f.ready=function(){this.popupPositionTarget=this.JSC$42946_ytIconButton};
_.f.onMenuClick=function(){var a,b;(null==(a=this.data)?0:null==(b=a.overflowMenu)?0:b.menuRenderer)&&this.ytOpenPopupBehavior.openPopup({openPopupAction:{popupType:"DROPDOWN",popup:{menuPopupRenderer:this.data.overflowMenu.menuRenderer}}})};
_.f.computeShowOverflowButton=function(a){return!!a&&!!a.overflowMenu};
_.f.disableViewSelector=function(){this.isViewSelectorDisabled=!0};
_.f.enableViewSelector=function(){this.isViewSelectorDisabled=!1};
_.f.viewSelectorDisabledChanged=function(){var a=this.$$("yt-sort-filter-sub-menu-renderer");a&&(a.disabled=this.isViewSelectorDisabled)};
_.t.Object.defineProperties(y9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rUb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_header_renderer.yt.live.chat.header.renderer.css.js--\x3e<div id="primary-content">\n  <span id="title">[[getSimpleString(data.titleText)]]</span>\n  <span id="view-selector"></span>\n</div>\n<div id="action-buttons"></div>\n<yt-icon-button id="overflow" hidden$="[[!showOverflowButton]]" label="[[data.overflowMenu.menuRenderer.accessibility.accessibilityData.label]]" on-click="onMenuClick">\n  <yt-icon icon="more_vert"></yt-icon>\n</yt-icon-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_header_renderer.yt.live.chat.header.renderer.css.js--\x3e<style>:host {height: 48px;padding: 8px;box-sizing: border-box;font-size: var(--yt-live-chat-header-font-size,18px);background-color: var(--yt-live-chat-header-background-color,var(--yt-deprecated-opalescence-soft-grey-opacity-lighten-3));color: var(--yt-live-chat-header-text-color,var(--yt-live-chat-primary-text-color));display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: var(--yt-live-chat-header-renderer-display,flex);} #overflow {width: 40px;height: 40px;padding: 8px;} #action-buttons>*,#overflow {color: var(--yt-live-chat-header-button-color);} #primary-content {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;margin-left: 16px;} yt-icon-button yt-icon {color: var(--yt-spec-icon-inactive);} yt-icon-button:hover yt-icon {color: var(--yt-spec-icon-active-other);} /*# sourceMappingURL=yt-live-chat-header-renderer.css.map*/</style>";
qUb=d}d=qUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rUb=a}a=rUb;return a}}});
var z9=y9;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],z9.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],z9.prototype,"ytOpenPopupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],z9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],z9.prototype,"ytRendererBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],z9.prototype,"data",void 0);_.S([_.N({computed:"computeShowOverflowButton(data)"}),_.T("design:type",Boolean)],z9.prototype,"showOverflowButton",void 0);_.S([_.N({observer:"viewSelectorDisabledChanged"}),_.T("design:type",Boolean)],z9.prototype,"isViewSelectorDisabled",void 0);_.S([_.N(),_.T("design:type",HTMLElement)],z9.prototype,"popupPositionTarget",void 0);_.S([_.Z("#overflow"),_.T("design:type",HTMLElement)],z9.prototype,"JSC$42946_ytIconButton",void 0);
z9=_.S([_.Q({is:"yt-live-chat-header-renderer"})],z9);
var sUb;
var tUb;
var uUb;
var vUb;
var A9=function(){var a=_.K.apply(this,arguments)||this;a.hidden=!1;a.supportsInlineActionButtons=!0;return a};
_.q(A9,_.K);A9.prototype.ready=function(){var a;(null==(a=document.querySelector("yt-live-chat-app"))?0:a.hasAttribute("dashboard-money-feed"))&&_.H(this).setAttribute("dashboard-money-feed","")};
A9.prototype.dataChanged=function(a){var b=_.H(this.$["detail-text"]);b.textContent="";(null==a?0:a.detailText)&&b.appendChild(this.ytLiveChatItemBehavior.createDocumentFragment(a.detailText))};
_.t.Object.defineProperties(A9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vUb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-legacy-paid-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_legacy_paid_message_renderer.yt.live.chat.legacy.paid.message.renderer.css.js--\x3e<div id="card">\n  <yt-img-shadow id="author-photo" height="40" thumbnail="[[data.authorPhoto]]" width="40"></yt-img-shadow>\n  <div id="content">\n    <div id="content-primary-column">\n      <div id="author-name">[[getSimpleString(data.authorName)]]</div>\n      <div id="event-text">[[getSimpleString(data.eventText)]]</div>\n      <div id="detail-text"></div>\n    </div>\n    <div id="timestamp">[[timestampString]]</div>\n  </div>\n  <div id="menu" hidden$="[[!data.contextMenuEndpoint]]">\n    <yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="showContextMenu">\n      <yt-icon icon="more_vert"></yt-icon>\n    </yt-icon-button>\n  </div>\n</div>\n<div id="inline-action-button-container">\n  <div id="inline-action-buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_legacy_paid_message_renderer.yt.live.chat.legacy.paid.message.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ #timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {position: relative;display: block;--yt-live-chat-sponsor-color: #0f9d58;--yt-live-chat-item-timestamp-display: var(--yt-live-chat-paid-message-timestamp-display, none);padding: 4px 24px;} :host([dashboard-money-feed]) {padding: 0;} #card {position: relative;padding: 8px 16px;background-color: var(--yt-live-chat-sponsor-color);border-radius: 4px;color: #fff;font-size: 14px;min-height: 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} :host([dashboard-money-feed]) #card {border-radius: 0;box-shadow: none;background-color: var(--yt-live-chat-background-color);color: rgba(0,0,0,0.87);} #author-photo {-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #author-name {display: none;} :host([dashboard-money-feed]) #author-name {display: block;margin-right: 8px;color: var(--yt-live-chat-secondary-text-color);font-weight: 500;} #content {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([dashboard-money-feed]) #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dashboard-money-feed]) #content-primary-column {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} #event-text {color: rgba(255,255,255,0.7);font-weight: 500;} :host([dashboard-money-feed]) #event-text {display: inline;height: 24px;min-width: 16px;border-radius: 12px;margin-right: 8px;padding: 0 12px;background-color: var(--yt-live-chat-sponsor-color);color: var(--yt-spec-static-brand-white);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} #detail-text {font-size: 15px;word-wrap: break-word;word-break: break-word;} #detail-text .emoji {width: var(--yt-live-chat-emoji-size);height: var(--yt-live-chat-emoji-size);margin: -1px 2px 1px;vertical-align: middle;} :host([dashboard-money-feed]) #detail-text {display: none;} a {display: inline;text-decoration: underline;} #detail-text a {word-break: break-all;} #detail-text a .mention {text-decoration: underline;} #menu {background: linear-gradient(to right,transparent,var(--yt-live-chat-sponsor-color) 100%);border-radius: 0 4px 4px 0;} :host([dashboard-money-feed]) #menu {margin-top: 8px;background: linear-gradient(to right,transparent,var(--yt-live-chat-background-color) 40%);} /*# sourceMappingURL=yt-live-chat-legacy-paid-message-renderer.css.map*/</style>";
uUb=d}d=uUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vUb=a}a=vUb;return a}}});
var B9=A9;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],B9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],B9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],B9.prototype,"data",void 0);
_.S([_.N({computed:"truthy(isDeleted)",reflectToAttribute:!0}),_.T("design:type",Boolean)],B9.prototype,"hidden",void 0);B9=_.S([_.Q({is:"yt-live-chat-legacy-paid-message-renderer"})],B9);
var wUb;
var xUb;
var yUb;
var zUb;
_.Ng({is:"yt-live-chat-message-subtext-renderer",_template:function(){if(void 0!==zUb)return zUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-message-subtext-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_message_subtext_renderer.yt.live.chat.message.subtext.renderer.css.js--\x3e<yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_message_subtext_renderer.yt.live.chat.message.subtext.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=yt-live-chat-message-subtext-renderer.css.map*/</style>";yUb=d}d=yUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
return zUb=a},
properties:{data:Object}});
_.Ng({is:"yt-live-chat-message-renderer",_template:function(){if(void 0!==xUb)return xUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_message_renderer.yt.live.chat.message.renderer.css.js--\x3e<yt-formatted-string id="text" text="[[data.text]]"></yt-formatted-string>\n<div id="subtext"></div>\n<div id="button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_message_renderer.yt.live.chat.message.renderer.css.js--\x3e<style>:host {display: block;color: var(--yt-live-chat-primary-text-color,var(--yt-spec-text-primary));background: var(--yt-live-chat-action-panel-background-color,var(--yt-deprecated-opalescence-soft-grey-opacity-lighten-3));display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;--yt-paper-button-width: 100%;} #subtext {color: var(--yt-live-chat-secondary-text-color,var(--yt-deprecated-luna-black-opacity-lighten-2));margin-bottom: 12px;} #text,#subtext {text-align: var(--yt-live-chat-message-renderer-text-align,inherit);-ms-align-self: center;-webkit-align-self: center;align-self: center;} #text:empty,#subtext:empty,#button:empty {display: none;} :host([subtext-on-bottom]) #subtext {order: 1;margin-bottom: 0;margin-top: 12px;} #button {width: 100%;} #button .style-default {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #button>* {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=yt-live-chat-message-renderer.css.map*/</style>";
wUb=d}d=wUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return xUb=a},
properties:{data:Object,subtextOnBottom:{type:Boolean,value:!1,reflectToAttribute:!0}},behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],stampDom:{"data.button":{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.subtext":{id:"subtext",mapping:{messageSubtextRenderer:"yt-live-chat-message-subtext-renderer"}}}});
var AUb;
var BUb;
_.Ng({is:"yt-live-chat-mode-change-message-renderer",_template:function(){if(void 0!==BUb)return BUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-mode-change-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_mode_change_message_renderer.yt.live.chat.mode.change.message.renderer.css.js--\x3e<div id="contents">\n  <yt-icon icon="[[data.icon.iconType]]"></yt-icon>\n  <div id="text-container">\n    <yt-formatted-string id="text" text="[[data.text]]"></yt-formatted-string>\n    <yt-formatted-string id="subtext" text="[[data.subtext]]"></yt-formatted-string>\n  </div>\n  <div id="buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===AUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_mode_change_message_renderer.yt.live.chat.mode.change.message.renderer.css.js--\x3e<style>:host {display: block;margin: 8px 0;padding: 0 24px;color: var(--yt-live-chat-primary-text-color,var(--yt-spec-text-primary));font-size: 13px;} #contents {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding: 16px 30px;border-radius: 4px;background: var(--yt-live-chat-mode-change-background-color,var(--yt-deprecated-opalescence-soft-grey));} #text-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-icon {width: 40px;height: 40px;margin-bottom: 8px;} #text {font-weight: 500;} #subtext {margin-top: 4px;color: var(--yt-live-chat-secondary-text-color,var(--yt-spec-text-secondary));font-style: italic;} #buttons {margin-top: 16px;min-height: 32px;} #buttons:empty {display: none;} /*# sourceMappingURL=yt-live-chat-mode-change-message-renderer.css.map*/</style>";
AUb=d}d=AUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return BUb=a},
properties:{data:Object},behaviors:[_.X.YtRendererstamperBehavior],stampDom:{"data.buttons":{id:"buttons",mapping:{buttonRenderer:"yt-button-renderer"}}}});
var CUb;
var DUb;
_.Ng({is:"yt-live-chat-moderation-message-renderer",_template:function(){if(void 0!==DUb)return DUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-moderation-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_moderation_message_renderer.yt.live.chat.moderation.message.renderer.css.js--\x3e<div id="container">\n  <span id="timestamp">[[timestampString]]</span>\n  <yt-formatted-string id="message" text="[[data.message]]"></yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CUb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_moderation_message_renderer.yt.live.chat.moderation.message.renderer.css.js--\x3e<style>#timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {display: block;position: relative;padding: 8px 24px;font-size: 13px;color: var(--yt-live-chat-deleted-message-color);} :host(::before) {content: "";position: absolute;display: block;left: 8px;top: 4px;bottom: 4px;width: 4px;box-sizing: border-box;border-radius: 2px;background: var(--yt-live-chat-deleted-message-bar-color);} #message {line-height: 16px;word-wrap: break-word;} /*# sourceMappingURL=yt-live-chat-moderation-message-renderer.css.map*/</style>';
CUb=d}d=CUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return DUb=a},
properties:{data:Object},behaviors:[_.U.YtRendererBehavior,_.mF.YtLiveChatItemBehavior]});
var EUb;
_.Ng({is:"yt-live-chat-placeholder-item-renderer",_template:function(){if(void 0!==EUb)return EUb;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-live-chat-placeholder-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);return EUb=a},
properties:{data:Object}});
var FUb;
var GUb;
_.Ng({is:"yt-live-chat-server-error-message",_template:function(){if(void 0!==GUb)return GUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-server-error-message--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_server_error_message.yt.live.chat.server.error.message.css.js--\x3e<span id="timestamp">[[timestampString]]</span>\n<span id="message">[[data.message]]</span>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FUb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_server_error_message.yt.live.chat.server.error.message.css.js--\x3e<style>#timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {display: var(--yt-live-chat-server-error-message-display,block);position: relative;padding: 4px 24px;} span#timestamp {font-size: 10px;} #message {color: var(--yt-live-chat-deleted-message-color,rgba(0,0,0,0.5));font-size: 12px;font-style: italic;line-height: 16px;word-wrap: break-word;} :host(::before) {content: "";position: absolute;display: block;left: 8px;top: 4px;bottom: 4px;width: 1px;box-sizing: border-box;border-radius: 2px;border: 2px solid var(--yt-live-chat-error-message-color);} :host(.reconnect::before) {border: 2px solid var(--yt-live-chat-reconnect-message-color);} /*# sourceMappingURL=yt-live-chat-server-error-message.css.map*/</style>';
FUb=d}d=FUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return GUb=a},
properties:{data:{type:Object,observer:"dataChanged_"},timestampString:{type:String,computed:"computeTimestampString_(data.timestampUsec)"}},TIME_FORMATTER:new _.ni(7),dataChanged_:function(a,b){a&&a.class&&this.toggleClass(a.class,!0);b&&b.class&&this.toggleClass(b.class,!1)},
computeTimestampString_:function(a){return this.TIME_FORMATTER.format(new Date(a/1E3))}});
var HUb;
var IUb;
_.Ng({is:"yt-live-chat-toast-renderer",_template:function(){if(void 0!==IUb)return IUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-toast-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_toast_renderer.yt.live.chat.toast.renderer.css.js--\x3e<yt-formatted-string text="[[text]]"></yt-formatted-string>\n<div id="button" on-click="dismissMessage"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===HUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_toast_renderer.yt.live.chat.toast.renderer.css.js--\x3e<style>:host {position: absolute;box-sizing: border-box;right: 0;bottom: 0;left: 0;padding: 16px;transition-duration: 0.2s;transform: translateY(100%);border-radius: 2px;font-size: 14px;color: var(--yt-live-chat-toast-text-color);word-break: break-word;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([is-showing-message]) {background-color: var(--yt-live-chat-toast-background-color);transform: translateY(0);} :host(:not([is-message-visible])) {height: 0;padding: 0;} #button {height: 36px;} #button>* {color: var(--yt-live-chat-toast-action-color);margin-left: 8px;} /*# sourceMappingURL=yt-live-chat-toast-renderer.css.map*/</style>";
HUb=d}d=HUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return IUb=a},
properties:{message:{type:Object},text:{type:Object,computed:"computeText_(message)",observer:"handleTextChanged_"},actionButton:{type:Object,computed:"computeActionButton_(message)"},isShowingMessage:{type:Boolean,value:!1,reflectToAttribute:!0},isMessageVisible:{type:Boolean,value:!1,reflectToAttribute:!0}},listeners:{transitionend:"onTransitionEnd_"},behaviors:[_.X.YtRendererstamperBehavior,_.Y.YtActionHandlerBehavior],actionMap:{"yt-live-chat-actions":"handleLiveChatActions_","yt-live-chat-add-to-toast-action":"handleAction_",
"yt-live-chat-add-message-to-toast":"handleAddMessage_"},stampDom:{actionButton:{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}}},created:function(){this.queuedMessages_=[];this.clearTimeout_=this.toastTimeout_=null},
handleAddMessage_:function(a){a&&(this.queuedMessages_.push(a),this.maybeShowMessage_())},
maybeShowMessage_:function(){this.clearTimeout_||this.toastTimeout_||!this.queuedMessages_.length||(_.H(this).setAttribute("role","alert"),this.message=this.queuedMessages_.shift(),this.isShowingMessage=this.isMessageVisible=!0,this.toastTimeout_=this.async(function(){this.toastTimeout_=null;this.dismissMessage()},this.actionButton?5E3:3E3))},
dismissMessage:function(){this.toastTimeout_&&(this.cancelAsync(this.toastTimeout_),this.toastTimeout_=null);this.isShowingMessage=!1;_.H(this).removeAttribute("role");this.clearTimeout_=this.async(function(){this.clearTimeout_=this.message=null;this.isMessageVisible=!1;this.maybeShowMessage_()},500)},
onTransitionEnd_:function(){if(this.isShowingMessage){var a=_.yNa(this);a&&a.focus()}},
handleLiveChatActions_:function(a){a.forEach(this.handleAction_.bind(this))},
handleAction_:function(a){var b;this.handleAddMessage_(null==a?void 0:null==(b=a.liveChatAddToToastAction)?void 0:b.item)},
computeText_:function(a){var b,c;return(null==a?void 0:null==(b=a.notificationTextRenderer)?void 0:b.successResponseText)||(null==a?void 0:null==(c=a.notificationActionRenderer)?void 0:c.responseText)||null},
handleTextChanged_:function(a){a?(a=_.qi(a),_.H(this).setAttribute("aria-label",a)):_.H(this).removeAttribute("aria-label")},
computeActionButton_:function(a){var b;return(null==a?void 0:null==(b=a.notificationActionRenderer)?void 0:b.actionButton)||null}});
var JUb;
var KUb;
_.Ng({is:"yt-live-chat-viewer-engagement-message-renderer",_template:function(){if(void 0!==KUb)return KUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-viewer-engagement-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_viewer_engagement_message_renderer.yt.live.chat.viewer.engagement.message.renderer.css.js--\x3e<div id="card"><yt-icon id="icon" default-to-filled="[[defaultToFilledIcon]]" icon="[[data.icon.iconType]]"></yt-icon><div id="content"><yt-formatted-string id="message" split-lines="" text="[[data.message]]"></yt-formatted-string><div id="action-button"></div></div><div id="menu" hidden$="[[!data.contextMenuEndpoint]]"><yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="showContextMenu"><yt-icon icon="more_vert"></yt-icon></yt-icon-button></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===JUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_viewer_engagement_message_renderer.yt.live.chat.viewer.engagement.message.renderer.css.js--\x3e<style>#timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {display: block;padding: 4px 24px;font-size: 12px;line-height: 16px;overflow: hidden;--yt-endpoint-color: #2196F3;--yt-endpoint-visited-color: #2196F3;--yt-endpoint-hover-color: var(--yt-live-chat-primary-text-color);} #card {position: relative;background-color: var(--yt-live-chat-vem-background-color);border-radius: 4px;padding: 12px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #icon {color: var(--yt-spec-static-brand-red);margin-right: 16px;-ms-flex: none;-webkit-flex: none;flex: none;} #content {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #message {color: var(--yt-live-chat-primary-text-color);overflow-wrap: break-word;word-break: break-word;word-wrap: break-word;} #action-button:not(:empty) {margin: 2px 0 -4px -16px;} #menu {color: var(--yt-live-chat-secondary-text-color);background: linear-gradient(to right,transparent 0%,var(--yt-live-chat-background-color,var(--yt-spec-static-brand-white)) 100%);} /*# sourceMappingURL=yt-live-chat-viewer-engagement-message-renderer.css.map*/</style>";
JUb=d}d=JUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return KUb=a},
properties:{data:Object,defaultToFilledIcon:Boolean},behaviors:[_.U.YtRendererBehavior,_.mF.YtLiveChatItemBehavior,_.X.YtRendererstamperBehavior],stampDom:{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"yt-button-renderer"}}}});
var LUb;
var MUb;
var C9=function(){return _.K.apply(this,arguments)||this};
_.q(C9,_.K);C9.prototype.onHelpTap=function(a){this.data&&this.data.informationDialog&&(this.fire("yt-navigate",{endpoint:{liveChatDialogEndpoint:{content:this.data.informationDialog}}}),a.preventDefault(),a.stopPropagation())};
_.t.Object.defineProperties(C9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===MUb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-live-chat-purchased-product-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_live_chat_purchased_product_message_renderer.ytd.live.chat.purchased.product.message.renderer.css.js--\x3e<div id="container">\n  <a id="product-container" class="yt-simple-endpoint" href$="[[computeHref_(data.onClickCommand)]]" data="[[data.onClickCommand]]">\n    <div id="product-image">\n      <yt-img-shadow class="no-transition" thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n    </div>\n    <div id="product-info">\n      <div id="purchased-message">\n        <yt-formatted-string text="[[data.purchasedMessage]]"></yt-formatted-string>\n      </div>\n      <div id="product-title-container">\n        <div id="product-title" show-icon$="[[data.showExternalIcon]]">[[data.productTitle]]\n          <template is="dom-if" if="[[data.showExternalIcon]]">\n            <yt-icon class="hover-icon" icon="open_in_new"></yt-icon>\n          </template>\n        </div>\n      </div>\n    </div>\n  </a>\n  <div id="information-icon" on-tap="onHelpTap">\n    <ytd-button-renderer id="info-button" data="[[data.informationButton.buttonRenderer]]" hidden="[[!data.informationButton]]" role="tooltip" tab-index="1">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===LUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_live_chat_purchased_product_message_renderer.ytd.live.chat.purchased.product.message.renderer.css.js--\x3e<style>:host {background: var(--yt-spec-general-background-a);display: inline-block;padding: 4px 24px;width: calc(100% - 48px);} #container {background: var(--yt-spec-general-background-b);border-radius: 2px;overflow: hidden;position: relative;} #product-container {padding: 8px 8px 8px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #purchased-message {color: var(--yt-spec-text-primary);padding-bottom: 3px;font-size: 14px;font-weight: 400;} #product-image {padding-right: 18px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: none;-webkit-flex: none;flex: none;} #product-info {min-width: 0;padding-right: 20px;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #product-title-container {display: -ms-flexbox;display: -webkit-flex;display: flex;} #product-title {color: var(--yt-spec-call-to-action);min-width: 0;overflow: hidden;position: relative;text-overflow: ellipsis;white-space: nowrap;font-size: 13px;font-weight: 500;} #product-title[show-icon] {padding-right: 20px;} #product-title yt-icon {color: inherit;flex-shrink: 0;height: 15px;padding-left: 4px;position: absolute;right: 0;width: 15px;} #information-icon {display: block;opacity: 0.9;position: absolute;right: 10px;top: 10px;} #information-icon:hover {opacity: 1;} #info-button {color: var(--yt-spec-icon-active-other);--yt-icon-button-icon-height: 15px;--yt-icon-button-icon-width: 15px;--yt-button-icon-padding: 0px;--yt-button-icon-size: 15px;} yt-img-shadow {border: 2px solid var(--yt-spec-brand-background-solid);height: 36px;width: 36px;} /*# sourceMappingURL=ytd-live-chat-purchased-product-message-renderer.css.map*/</style>";
LUb=d}d=LUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);MUb=a}a=MUb;return a}}});
var D9=C9;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],D9.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],D9.prototype,"data",void 0);D9=_.S([_.Q({asyncProperties:!0,is:"ytd-live-chat-purchased-product-message-renderer"})],D9);
var NUb;
var OUb;
var PUb;
var QUb;
var E9=function(){var a=_.K.apply(this,arguments)||this;a.isContainerDeleted=!1;return a};
_.q(E9,_.K);E9.prototype.onContextMenuClick=function(a){this.ytLiveChatItemBehavior.showContextMenu(a)};
E9.prototype.isContainerDeletedChanged=function(){this.isContainerDeleted&&(this.set("data.authorName",null),this.set("data.authorBadges",null),this.set("data.authorPhoto",null),this.set("data.primaryText",null),this.set("data.secondaryText",null),this.set("data.image",null))};
_.t.Object.defineProperties(E9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===QUb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-live-chat-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_header_renderer.ytd.sponsorships.live.chat.header.renderer.css.js--\x3e<div id="header">\n  <div id="content">\n    <template is="dom-if" if="[[data.authorPhoto]]" restamp="">\n      <yt-img-shadow id="author-photo" height="40" thumbnail="[[data.authorPhoto]]" width="40"></yt-img-shadow>\n    </template>\n    <template is="dom-if" if="[[!data.authorPhoto]]">\n      <yt-icon id="author-photo" icon="yt-icons:avatar_anonymous"></yt-icon>\n    </template>\n    <div id="header-content">\n      <div id="header-content-primary-column" hidden$="[[isContainerDeleted]]">\n        <div id="header-content-inner-column">\n          <template is="dom-if" if="[[data.authorName]]" restamp="">\n            <yt-live-chat-author-chip author-badges="[[data.authorBadges]]" author-name="[[data.authorName]]" single-line="">\n            </yt-live-chat-author-chip>\n          </template>\n          <div id="primary-text">[[getSimpleString(data.primaryText)]]</div>\n        </div>\n        <div id="secondary-text">[[getSimpleString(data.secondaryText)]]</div>\n      </div>\n      <div id="header-content-deleted-state" hidden$="[[!isContainerDeleted]]">\n        <div id="deleted-primary-text">[[deletedStateMessage]]</div>\n      </div>\n    </div>\n  </div>\n  <template is="dom-if" restamp="" if="[[data.image]]">\n    <yt-img-shadow class="rhs-image" height="104" thumbnail="[[data.image]]" width="104">\n    </yt-img-shadow>\n  </template>\n  <div id="menu" hidden$="[[!data.contextMenuEndpoint]]">\n    <yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="onContextMenuClick">\n      <yt-icon icon="more_vert"></yt-icon>\n    </yt-icon-button>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PUb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_header_renderer.ytd.sponsorships.live.chat.header.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {--yt-live-chat-sponsor-color: #0f9d58;} #header {overflow: hidden;border-radius: 4px;position: relative;background-color: var(--yt-live-chat-sponsor-color);color: #fff;min-height: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} #content {padding-top: 8px;padding-bottom: 8px;padding-left: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-right: auto;} #header-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;} #author-photo {width: 40px;height: 40px;margin-right: 8px;--yt-img-border-radius: 50%;} yt-live-chat-author-chip {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;--yt-live-chat-sponsor-color: rgba(255, 255, 255, 0.7);--yt-live-chat-moderator-color: rgba(255, 255, 255, 0.7);--yt-live-chat-secondary-text-color: rgba(255, 255, 255, 0.7);margin-bottom: 4px;} #secondary-text {margin-top: 2px;color: rgba(255,255,255,0.7);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #secondary-text:empty {display: none;} #primary-text,#deleted-primary-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 8.8rem;overflow: hidden;display: block;-webkit-line-clamp: 4;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;font-size: 14px;line-height: 1.8rem;word-wrap: break-word;word-break: break-word;color: white;} #primary-text:empty {display: none;} #deleted-primary-text {font-style: italic;opacity: 0.7;} #deleted-primary-text:empty {display: none;} #header-content-deleted-state {height: 100%;display: flex;flex-direction: column;justify-content: center;} #menu {opacity: 0%;position: absolute;right: 0px;width: 52px;height: 100%;background: linear-gradient(to right,transparent,var(--yt-live-chat-sponsor-color) 100%);border-radius: 0 4px 4px 0;} #header:hover #menu {opacity: 100%;transition: 0.2s;} #menu-button {position: absolute;right: 8px;top: 8px;} .rhs-image {margin-left: auto;align-self: end;} /*# sourceMappingURL=ytd-sponsorships-live-chat-header-renderer.css.map*/</style>';
PUb=d}d=PUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);QUb=a}a=QUb;return a}}});
var F9=E9;F9.prototype.isContainerDeletedChanged=F9.prototype.isContainerDeletedChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],F9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],F9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],F9.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],F9.prototype,"isContainerDeleted",void 0);
_.S([_.N(),_.T("design:type",String)],F9.prototype,"deletedStateMessage",void 0);_.S([_.P("isContainerDeleted"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],F9.prototype,"isContainerDeletedChanged",null);F9=_.S([_.Q({is:"ytd-sponsorships-live-chat-header-renderer"})],F9);
var G9=function(){return _.K.apply(this,arguments)||this};
_.q(G9,_.K);G9.prototype.configureRendererStamper=function(){return{"data.optInPrompt":{id:"opt-in-prompt",mapping:{liveChatViewerEngagementMessageRenderer:{component:"yt-live-chat-viewer-engagement-message-renderer",params:{defaultToFilledIcon:!0}},buttonRenderer:"yt-button-renderer"}}}};
G9.prototype.shouldHideOptinPrompt=function(a,b){return!a||b};
_.t.Object.defineProperties(G9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===OUb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-live-chat-gift-purchase-announcement-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_gift_purchase_announcement_renderer.ytd.sponsorships.live.chat.gift.purchase.announcement.renderer.css.js--\x3e<ytd-sponsorships-live-chat-header-renderer id="header" data="[[data.header.liveChatSponsorshipsHeaderRenderer]]" deleted-state-message="[[getSimpleString(data.deletedStateMessage)]]" is-container-deleted="[[isDeleted]]">\n</ytd-sponsorships-live-chat-header-renderer>\n<div id="opt-in-prompt" hidden="[[shouldHideOptinPrompt(data.optInPrompt, isDeleted)]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===NUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_gift_purchase_announcement_renderer.ytd.sponsorships.live.chat.gift.purchase.announcement.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {display: block;padding: 4px 24px;} #opt-in-prompt {margin-top: 8px;} yt-live-chat-viewer-engagement-message-renderer {padding: 0;border-radius: 4px;} yt-button-renderer {background: white;--yt-button-color: rgba(19, 19, 19);display: block;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} /*# sourceMappingURL=ytd-sponsorships-live-chat-gift-purchase-announcement-renderer.css.map*/</style>";
NUb=d}d=NUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);OUb=a}a=OUb;return a}}});
var H9=G9;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],H9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],H9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],H9.prototype,"data",void 0);H9=_.S([_.Q({is:"ytd-sponsorships-live-chat-gift-purchase-announcement-renderer"})],H9);
var RUb;
var SUb;
var I9=function(){return _.K.apply(this,arguments)||this};
_.q(I9,_.K);I9.prototype.onContextMenuClick=function(a){this.ytLiveChatItemBehavior.showContextMenu(a)};
I9.prototype.isDeletedChanged=function(){this.ytLiveChatItemBehavior.isDeleted&&(this.set("data.authorName",null),this.set("data.authorBadges",null),this.set("data.authorPhoto",null),this.set("data.message",null))};
_.t.Object.defineProperties(I9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SUb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-live-chat-gift-redemption-announcement-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_gift_redemption_announcement_renderer.ytd.sponsorships.live.chat.gift.redemption.announcement.renderer.css.js--\x3e<template is="dom-if" if="[[data.authorPhoto]]" restamp="">\n  <yt-img-shadow id="author-photo" height="24" thumbnail="[[data.authorPhoto]]" width="24"></yt-img-shadow>\n</template>\n<template is="dom-if" if="[[!data.authorPhoto]]">\n  <yt-icon id="author-photo" class="no-photo" icon="yt-sys-icons:account_circle"></yt-icon>\n</template>\n<div id="content">\n  <span id="timestamp">\n    [[timestampString]]\n  \n  </span><template is="dom-if" if="[[data.authorName]]" restamp=""><yt-live-chat-author-chip author-badges="[[data.authorBadges]]" author-name="[[data.authorName]]">\n    </yt-live-chat-author-chip>\n  </template>\n  <yt-formatted-string id="message" hidden$="[[isDeleted]]" text="[[data.message]]"></yt-formatted-string>\n  <yt-icon id="gift-icon" default-to-filled="true" hidden$="[[isDeleted]]" icon="gift"></yt-icon>\n  <div id="deleted-message" hidden$="[[!isDeleted]]">\n    [[getSimpleString(data.deletedStateMessage)]]\n  </div>\n</div>\n<div id="menu" hidden$="[[!data.contextMenuEndpoint]]">\n  <yt-icon-button id="menu-button" label="[[data.contextMenuAccessibility.accessibilityData.label]]" on-click="onContextMenuClick">\n    <yt-icon icon="more_vert"></yt-icon>\n  </yt-icon-button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_live_chat_gift_redemption_announcement_renderer.ytd.sponsorships.live.chat.gift.redemption.announcement.renderer.css.js--\x3e<style>#timestamp {display: var(--yt-live-chat-item-timestamp-display,inline);margin: var(--yt-live-chat-item-timestamp-margin,0 8px 0 0);color: var(--yt-live-chat-tertiary-text-color);font-size: 11px;} #author-photo {display: block;margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #menu {position: absolute;top: 0;bottom: 0;right: 0;transform: translateX(100px);} :host(:hover) #menu,:host([menu-visible]) #menu {transform: none;} :host(:focus-within) #menu {transform: none;} #inline-action-button-container {position: absolute;top: -4px;right: 0;bottom: -4px;left: 0;background-color: var(--yt-live-chat-moderation-mode-hover-background-color);display: none;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([has-inline-action-buttons]:hover) #inline-action-button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: var(--yt-live-chat-inline-action-button-container-display,none);} :host([has-inline-action-buttons][hide-inline-action-buttons]:hover) #inline-action-button-container {display: none;} :host([has-inline-action-buttons]:hover) #menu {display: var(--yt-live-chat-item-with-inline-actions-context-menu-display,block);} #inline-action-buttons>*,#additional-inline-action-buttons>* {--yt-button-icon-size: 36px;--yt-button-icon-padding: 6px;color: var(--yt-spec-static-brand-white);border-radius: 2px;} #inline-action-buttons>* {background: var(--yt-deprecated-luna-black-opacity-lighten-1);} #inline-action-buttons>:hover {background: var(--yt-deprecated-luna-black);} #additional-inline-action-buttons>* {color: var(--yt-live-chat-additional-inline-action-button-color);background: var(--yt-live-chat-additional-inline-action-button-background-color);} #additional-inline-action-buttons>:hover {background: var(--yt-live-chat-additional-inline-action-button-background-color-hover);} #additional-inline-action-buttons:not(:empty) {margin-left: 32px;} #inline-action-buttons>*:not(:first-child),#additional-inline-action-buttons>*:not(:first-child) {margin-left: 8px;} :host {display: block;padding: 4px 24px;contain: content;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-align: baseline;-webkit-align-items: baseline;align-items: baseline;color: var(--yt-live-chat-secondary-text-color);display: inline-block;} #author-photo {width: 24px;height: 24px;margin-right: 16px;--yt-img-border-radius: 50%;} #author-photo.no-photo {color: var(--yt-live-chat-deleted-message-color);} #gift-icon {width: 16px;height: 16px;bottom: 2px;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;} yt-live-chat-author-chip {--yt-live-chat-moderator-color: var(--yt-spec-themed-green);--yt-live-chat-secondary-text-color: var(--yt-spec-themed-green);} #message,#deleted-message {word-wrap: break-word;} #deleted-message {font-style: italic;color: var(--yt-live-chat-deleted-message-color);height: 100%;display: inline-flex;flex-direction: column;justify-content: center;} #menu {color: var(--yt-live-chat-secondary-text-color);background: linear-gradient(to right,transparent 0%,var(--yt-live-chat-background-color,var(--yt-spec-static-brand-white)) 100%);} #menu-button {width: 32px;height: 32px;padding: 4px;} /*# sourceMappingURL=ytd-sponsorships-live-chat-gift-redemption-announcement-renderer.css.map*/</style>";
RUb=d}d=RUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SUb=a}a=SUb;return a}}});
var J9=I9;J9.prototype.isDeletedChanged=J9.prototype.isDeletedChanged;_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],J9.prototype,"ytLiveChatItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],J9.prototype,"data",void 0);_.S([_.P("isDeleted"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],J9.prototype,"isDeletedChanged",null);J9=_.S([_.Q({is:"ytd-sponsorships-live-chat-gift-redemption-announcement-renderer"})],J9);
_.Ng({is:"yt-live-chat-item-list-renderer",_template:function(){if(void 0!==tUb)return tUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-item-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_item_list_renderer.yt.live.chat.item.list.renderer.css.js--\x3e<div id="contents">\n  <div id="item-scroller" on-scroll="onScrollItems_">\n    <yt-live-chat-docked-message-renderer id="docked-messages" dockable-messages="{{dockableMessages}}" emoji-manager="[[emojiManager]]" is-scrolled-to-bottom-of-item-list="[[atBottom]]" participants-manager="[[participantsManager]]">\n    </yt-live-chat-docked-message-renderer>\n    <yt-live-chat-banner-manager id="banner-manager" emoji-manager="[[emojiManager]]">\n    </yt-live-chat-banner-manager>\n    <div id="item-offset">\n      <div id="items"></div>\n    </div>\n  </div>\n  <div id="empty-state-message" hidden$="[[!isEmpty]]"></div>\n  \n  <yt-icon-button id="show-more" disabled$="[[atBottom]]" label="[[data.moreCommentsBelowButton.buttonRenderer.accessibilityData.accessibilityData.label]]" on-click="scrollToBottom_">\n    <yt-icon icon="down_arrow"></yt-icon>\n  </yt-icon-button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_item_list_renderer.yt.live.chat.item.list.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {position: relative;display: block;overflow: hidden;z-index: 0;} :host([moderation-mode-enabled]) {--yt-live-chat-item-with-inline-actions-context-menu-display: none;--yt-live-chat-inline-action-button-container-display: flex;} #contents {position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #empty-state-message {position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #empty-state-message>yt-live-chat-message-renderer {color: var(--yt-live-chat-tertiary-text-color);background: transparent;font-size: 18px;--yt-live-chat-message-renderer-text-align: center;} yt-icon-button {background-color: #2196f3;border-radius: 999px;bottom: 0;color: #fff;cursor: pointer;width: 32px;height: 32px;margin: 0 calc(50% - 16px) 8px calc(50% - 16px);padding: 4px;position: absolute;transition-property: bottom;transition-timing-function: cubic-bezier(0,0,0.2,1);transition-duration: 0.15s;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} yt-icon-button[disabled] {bottom: -42px;color: #fff;transition-timing-function: cubic-bezier(0.4,0,1,1);} #item-scroller {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;overflow-x: hidden;overflow-y: hidden;padding-right: var(--scrollbar-width);overflow-anchor: none;} :host([allow-scroll]) #item-scroller {overflow-y: scroll;padding-right: 0;} #item-offset {position: relative;} #item-scroller.animated #item-offset {overflow: hidden;} #items {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;padding: var(--yt-live-chat-item-list-renderer-padding,4px 0);} #items>*:not(:first-child) {border-top: var(--yt-live-chat-item-list-item-border,none);} #item-scroller.animated #items {bottom: 0;left: 0;position: absolute;right: 0;transform: translateY(0);} #docked-messages {z-index: 1;position: absolute;left: 0;right: 0;top: 0;} yt-live-chat-paid-sticker-renderer {padding: 4px 24px;} yt-live-chat-paid-sticker-renderer[dashboard-money-feed] {padding: 8px 16px;} yt-live-chat-banner-manager {z-index: 1;position: absolute;left: 0;right: var(--scrollbar-width);top: 0;padding: 8px;} /*# sourceMappingURL=yt-live-chat-item-list-renderer.css.map*/</style>";
sUb=d}d=sUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return tUb=a},
properties:{data:{type:Object,observer:"dataChanged_"},atBottom:{type:Boolean,value:!0,observer:"atBottomChanged_"},visibleItems:{type:Array,value:function(){return[]}},
itemIdToDockDurationMap:{type:Object,value:function(){return{}}},
dockableMessages:{type:Array,value:function(){return[]}},
allowScroll:{type:Boolean,reflectToAttribute:!0,computed:"computeAllowScroll_(contextMenuOpen, moderationModeEnabled)"},emojiManager:Object,participantsManager:Object,contextMenuOpen:{type:Boolean,value:!1},moderationModeEnabled:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"moderationModeEnabledChanged_"},isEmpty:{type:Boolean,computed:"computeIsEmpty_(visibleItems.splices)"}},behaviors:[_.xx,_.U.YtRendererBehavior,_.gw.YtVisibilityBehavior,_.X.YtRendererstamperBehavior,_.Y.YtActionHandlerBehavior],
listeners:{"iron-resize":"onIronResize_","yt-live-chat-context-menu-opened":"onContextMenuOpened_","yt-live-chat-context-menu-closed":"onContextMenuClosed_","yt-popup-closed":"maybeScrollToBottom_","yt-rendererstamper-finished":"onYtRendererstamperFinished_"},observers:["isAttachedOrDataChanged_(isAttached, data)"],actionMap:{"yt-live-chat-actions":"handleLiveChatActions_","yt-add-chat-item-action":"handleLiveChatAction_","yt-dim-chat-item-action":"handleLiveChatAction_","yt-remove-chat-item-action":"handleLiveChatAction_",
"yt-replace-chat-item-action":"handleLiveChatAction_","yt-mark-chat-item-as-deleted-action":"handleLiveChatAction_","yt-mark-chat-items-by-author-as-deleted-action":"handleLiveChatAction_","yt-clear-chat-window-action":"handleLiveChatAction_","yt-add-live-chat-text-message-from-template-action":"handleAddTextMessageFromTemplateAction_","yt-live-chat-picker-changed":"handlePickerChanged_","yt-live-chat-maybe-scroll-to-bottom":"maybeScrollToBottom_","yt-live-chat-scroll-to-bottom":"scrollToBottom_",
"yt-live-chat-keyboard-event":"onKeyboardEventAction_","yt-live-chat-seek-success":"handleChatSeekSuccess_"},stampDom:{"data.emptyStateMessage":{id:"empty-state-message",mapping:{messageRenderer:"yt-live-chat-message-renderer"}},visibleItems:{id:"items",mapping:{liveChatAutoModMessageRenderer:{component:"yt-live-chat-auto-mod-message-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatTextMessageRenderer:{component:"yt-live-chat-text-message-renderer",
properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatPaidMessageRenderer:{component:"yt-live-chat-paid-message-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatLegacyPaidMessageRenderer:{component:"yt-live-chat-legacy-paid-message-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatMembershipItemRenderer:{component:"yt-live-chat-membership-item-renderer",
properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatPaidStickerRenderer:"yt-live-chat-paid-sticker-renderer",liveChatDonationAnnouncementRenderer:"yt-live-chat-donation-announcement-renderer",liveChatModeChangeMessageRenderer:"yt-live-chat-mode-change-message-renderer",liveChatModerationMessageRenderer:"yt-live-chat-moderation-message-renderer",liveChatPlaceholderItemRenderer:"yt-live-chat-placeholder-item-renderer",liveChatPurchasedProductMessageRenderer:"ytd-live-chat-purchased-product-message-renderer",
liveChatSponsorshipsGiftPurchaseAnnouncementRenderer:"ytd-sponsorships-live-chat-gift-purchase-announcement-renderer",liveChatSponsorshipsGiftRedemptionAnnouncementRenderer:"ytd-sponsorships-live-chat-gift-redemption-announcement-renderer",liveChatViewerEngagementMessageRenderer:"yt-live-chat-viewer-engagement-message-renderer",serverErrorMessage:"yt-live-chat-server-error-message"},events:!0,reuseComponents:!0}},CHAT_SMOOTH_ANIMATION_TIME_MS:_.Dj?0:84,SCROLLED_TO_BOTTOM_EPSILON:15,created:function(){this.activeItems_=
[];this.isSmoothed_=!0;this.lastSmoothChatMessageAddMs_=null;this.chatRateMs_=1E3;this.lastSmoothScrollClockTime_=this.lastSmoothScrollUpdate_=null;this.scrollTimeRemainingMs_=this.scrollPixelsRemaining_=0;this.smoothScrollRafHandle_=null;this.preinsertHeight_=0},
attached:function(){this.listen(window,"resize","maybeScrollToBottom_");this.listen(window,"keydown","onWindowKeyEvent_");this.listen(window,"keyup","onWindowKeyEvent_");jSb()||(this.listen(window.top,"blur","onTopWindowBlurEvent_"),window!=window.top&&this.listen(window,"blur","onFramedWindowBlurEvent_"));this.isSmoothScrollEnabled_()&&_.H(this.$["item-scroller"]).classList.add("animated");_.x("live_chat_aggregation")&&_.H(this.$.contents).appendChild(document.createElement("yt-live-chat-prototype-aggregation"))},
detached:function(){this.resetSmoothScroll_();this.unlisten(window,"resize","maybeScrollToBottom_");this.unlisten(window,"keydown","onWindowKeyEvent_");this.unlisten(window,"keyup","onWindowKeyEvent_");jSb()||(this.unlisten(window.top,"blur","onTopWindowBlurEvent_"),window!=window.top&&this.unlisten(window,"blur","onFramedWindowBlurEvent_"))},
onIronResize_:function(){this.maybeResizeAnimationContainer_()},
maybeResizeAnimationContainer_:function(){this.isSmoothScrollEnabled_()&&this.debounce("resize",function(){var a=this.$.items.clientHeight,b=this.$["item-offset"].clientHeight;0!=a&&(this.$["item-offset"].style.height=a+"px",(0==b||this.atBottom)&&this.scrollToBottom_())})},
isAttachedOrDataChanged_:function(a,b){var c=window!=window.top&&!jSb();a?b&&b.enablePauseChatKeyboardShortcuts&&(c&&this.listen(window.top,"mousemove","onModerationMouseMoveEvent_"),this.listen(window,"mousemove","onModerationMouseMoveEvent_")):(c&&this.unlisten(window.top,"mousemove","onModerationMouseMoveEvent_"),this.unlisten(window,"mousemove","onModerationMouseMoveEvent_"))},
clearList:function(){this.activeItems_=[];this.visibleItems=[];this.dockableMessages=[];this.isSmoothed_=!0;this.lastSmoothChatMessageAddMs_=null;this.chatRateMs_=1E3;this.lastSmoothScrollClockTime_=this.lastSmoothScrollUpdate_=null;this.scrollTimeRemainingMs_=this.scrollPixelsRemaining_=0;this.smoothScrollRafHandle_=null;this.preinsertHeight_=0;this.itemIdToDockDurationMap={};this.$["docked-messages"].clear();this.$["banner-manager"].reset();this.maybeResizeScrollContainer_([]);this.$.items.style.transform=
"";this.atBottom||this.scrollToBottom_()},
dataChanged_:function(){this.clearList()},
handleLiveChatActions_:function(a){a.length&&(a.forEach(this.handleLiveChatAction_,this),this.maybeResizeScrollContainer_(a),this.flushActiveItems_(),this.async(this.maybeScrollToBottom_))},
handleLiveChatAction_:function(a){a.addChatItemAction?this.handleAddChatItemAction_(a.addChatItemAction):a.clearChatWindowAction?this.handleClearChatWindowAction_(a.clearChatWindowAction):a.markChatItemAsDeletedAction?this.handleMarkChatItemAsDeletedAction_(a.markChatItemAsDeletedAction):a.markChatItemsByAuthorAsDeletedAction?this.handleMarkChatItemsByAuthorAsDeletedAction_(a.markChatItemsByAuthorAsDeletedAction):a.dimChatItemAction?this.handleDimChatItemAction_(a.dimChatItemAction):a.replaceChatItemAction?
this.handleReplaceChatItemAction_(a.replaceChatItemAction):a.removeChatItemAction?this.handleRemoveChatItemAction_(a.removeChatItemAction):a.serverErrorMessage&&this.activeItems_.push({serverErrorMessage:{timestampUsec:this.currentTimestampUsec_(),message:a.serverErrorMessage.message,class:a.serverErrorMessage.class}})},
handleAddChatItemAction_:function(a){var b=a.item,c=Object.keys(b)[0],d=b[c],e=!1;this.forEachItem_(function(l,m,p){var r=Object.keys(b)[0];!(m=m[r])||m.id!=a.clientId&&m.id!=d.id||("visibleItems"==l?(this.visibleItems[p]=b,this.$.items.children[p].set("data",d)):this.activeItems_[p]=b,e=!0)});
if(c=this.get("stickinessParams.dockAtTopDurationMs",a)||0){var h=Array.prototype.find.call(_.H(this.$.items).children,function(l){return l.id==d.id});
h?this.maybeAddDockableMessage_(h):this.itemIdToDockDurationMap[d.id]=c}e||this.activeItems_.push(b)},
handleClearChatWindowAction_:function(){this.clearList()},
handleReplaceChatItemAction_:function(a){var b=a.replacementItem;this.forEachItem_(function(c,d,e){var h=Object.keys(d)[0];(d=d[h])&&d.id==a.targetItemId&&("visibleItems"==c?(this.splice(c,e,1,b),this.resetSmoothScroll_()):this.activeItems_[e]=b)})},
markAsDeleted_:function(a,b,c,d,e){b=[a,b,c].join(".");this.set(b+".deletedStateMessage",d);this.set(b+".showOriginalContentMessage",e);"visibleItems"==a&&this.resetSmoothScroll_()},
markAutoModRendererAsDeleted_:function(a,b,c,d,e){b=b.liveChatAutoModMessageRenderer.autoModeratedItem;b.liveChatTextMessageRenderer.deletedStateMessage=d;b.liveChatTextMessageRenderer.showOriginalContentMessage=e;this.splice(a,c,1,b);"visibleItems"==a&&this.resetSmoothScroll_()},
handleMarkChatItemAsDeletedAction_:function(a){this.forEachItem_(function(b,c,d){var e=Object.keys(c)[0],h=c[e];h&&h.id==a.targetItemId&&("liveChatAutoModMessageRenderer"==e?this.markAutoModRendererAsDeleted_(b,c,d,a.deletedStateMessage,a.showOriginalContentMessage):this.markAsDeleted_(b,d,e,a.deletedStateMessage,a.showOriginalContentMessage))})},
handleDimChatItemAction_:function(a){var b=a.clientAssignedId;b&&this.forEachItem_(function(c,d,e){var h=Object.keys(d)[0];(d=d[h])&&d.id==b&&(c=[c,e,h].join("."),this.set(c+".isDimmed",!0))})},
handleMarkChatItemsByAuthorAsDeletedAction_:function(a){this.forEachItem_(function(b,c,d){var e=Object.keys(c)[0],h=c[e];h&&h.authorExternalChannelId==a.externalChannelId&&("liveChatAutoModMessageRenderer"==e?this.markAutoModRendererAsDeleted_(b,c,d,a.deletedStateMessage,a.showOriginalContentMessage):this.markAsDeleted_(b,d,e,a.deletedStateMessage,a.showOriginalContentMessage))})},
handleRemoveChatItemAction_:function(a){this.forEachItem_(function(b,c,d){var e=Object.keys(c)[0];(c=c[e])&&c.id==a.targetItemId&&(this.splice(b,d,1),"visibleItems"==b&&this.resetSmoothScroll_())})},
onYtRendererstamperFinished_:function(){var a=_.H(this.$.items).children;Array.prototype.forEach.call(a,function(b){var c=b.id;this.itemIdToDockDurationMap[c]&&(this.maybeAddDockableMessage_(b),delete this.itemIdToDockDurationMap[c])}.bind(this))},
forEachItem_:function(a){this.visibleItems.forEach(a.bind(this,"visibleItems"));this.activeItems_.forEach(a.bind(this,"activeItems_"))},
handleAddTextMessageFromTemplateAction_:function(a,b,c){a=_.u.unsafeClone(a.addLiveChatTextMessageFromTemplateAction.template.liveChatTextMessageRenderer);b=c.client_message_id;a.id=b;a.timestampUsec=String(this.currentTimestampUsec_());c.message?a.message=_.Mu(c.message):c.rich_message&&(a.message=this.formattedStringFromLiveChatRichMessageInput_(c.rich_message));this.handleLiveChatActions_([{addChatItemAction:{clientMessageId:b,item:{liveChatTextMessageRenderer:a}}}])},
formattedStringFromLiveChatRichMessageInput_:function(a){var b={runs:[]};a=a.text_segments;for(var c=0;c<a.length;c++){var d=a[c];d.text?b.runs.push(d):d.emoji_id&&b.runs.push({emoji:_.MC(this.emojiManager,d.emoji_id)})}return b},
currentTimestampUsec_:function(){return 1E3*Date.now()},
handlePickerChanged_:function(){this.maybeScrollToBottom_()},
flushActiveItems_:function(){if(0<this.activeItems_.length)if(this.canScrollToBottom_()){var a=Math.max(this.visibleItems.length+this.activeItems_.length-this.data.maxItemsToDisplay,0);a&&this.splice("visibleItems",0,a);if(this.isSmoothScrollEnabled_()||this.dockableMessages.length)this.preinsertHeight_=this.$.items.clientHeight;this.activeItems_.unshift("visibleItems");try{this.push.apply(this,this.activeItems_)}catch(b){_.jd(b)}this.activeItems_=[];this.isSmoothScrollEnabled_()?this.canScrollToBottom_()&&
this.async(this.showNewItems_):this.async(this.maybeScrollToBottom_)}else this.activeItems_.length>this.data.maxItemsToDisplay&&this.activeItems_.splice(0,this.activeItems_.length-this.data.maxItemsToDisplay)},
showNewItems_:function(){var a=this.$.items.clientHeight>this.$["item-scroller"].clientHeight;this.$["item-offset"].style.height=this.$.items.clientHeight+"px";this.canScrollToBottom_()&&a&&(this.scrollPixelsRemaining_+=this.$.items.clientHeight-this.preinsertHeight_,this.scrollToBottom_(),this.$.items.style.transform="translateY("+Math.floor(this.scrollPixelsRemaining_)+"px)",this.lastSmoothChatMessageAddMs_||(this.lastSmoothChatMessageAddMs_=performance.now()),a=performance.now()-this.lastSmoothChatMessageAddMs_,
this.chatRateMs_=.9*this.chatRateMs_+.1*a,this.isSmoothed_&&400>this.chatRateMs_&&(this.isSmoothed_=!1),!this.isSmoothed_&&450<this.chatRateMs_&&(this.isSmoothed_=!0),this.scrollTimeRemainingMs_+=this.isSmoothed_?this.CHAT_SMOOTH_ANIMATION_TIME_MS:0,this.smoothScrollRafHandle_||(this.smoothScrollRafHandle_=window.requestAnimationFrame(this.smoothScroll_.bind(this))),this.lastSmoothChatMessageAddMs_=performance.now())},
maybeAddDockableMessage_:function(a){_.x("enable_docked_chat_messages")&&(this.dockableMessages.find(function(b){return a===b})||window.setTimeout(function(){0<a.offsetTop-this.$["item-scroller"].scrollTop&&this.push("dockableMessages",a)}.bind(this),0))},
computeIsEmpty_:function(){return!this.visibleItems.length},
canScrollToBottom_:function(){return this.atBottom&&this.allowScroll},
smoothScroll_:function(a){if(this.lastSmoothScrollUpdate_){var b=400>this.scrollPixelsRemaining_&&0<this.scrollPixelsRemaining_,c=1E3>a-this.lastSmoothScrollUpdate_&&1E3>performance.now()-this.lastSmoothScrollClockTime_&&0<this.scrollTimeRemainingMs_;b&&c?(c=a-this.lastSmoothScrollUpdate_,b=c/this.scrollTimeRemainingMs_*this.scrollPixelsRemaining_,this.scrollPixelsRemaining_-=b,this.scrollPixelsRemaining_=Math.max(this.scrollPixelsRemaining_,0),this.scrollTimeRemainingMs_-=c,this.scrollTimeRemainingMs_=
Math.max(this.scrollTimeRemainingMs_,0),this.lastSmoothScrollUpdate_=a,this.lastSmoothScrollClockTime_=performance.now(),this.smoothScrollRafHandle_=window.requestAnimationFrame(this.smoothScroll_.bind(this))):this.resetSmoothScroll_();this.$.items.style.transform="translateY("+Math.floor(this.scrollPixelsRemaining_)+"px)"}else this.lastSmoothScrollUpdate_=a,this.lastSmoothScrollClockTime_=performance.now(),this.smoothScrollRafHandle_=window.requestAnimationFrame(this.smoothScroll_.bind(this))},
resetSmoothScroll_:function(){this.isSmoothScrollEnabled_()&&(this.scrollTimeRemainingMs_=this.scrollPixelsRemaining_=0,this.lastSmoothScrollUpdate_=null,this.smoothScrollRafHandle_&&window.cancelAnimationFrame(this.smoothScrollRafHandle_),this.smoothScrollRafHandle_=null,this.debounce("resize",function(){this.$["item-offset"].style.height=this.$.items.clientHeight+"px"}))},
onScrollItems_:function(a){this.onScroll(a);a=this.$["item-scroller"];this.atBottom=a.scrollTop>=a.scrollHeight-a.clientHeight-this.SCROLLED_TO_BOTTOM_EPSILON;this.flushActiveItems_()},
onContextMenuOpened_:function(){this.contextMenuOpen=!0},
onContextMenuClosed_:function(){this.contextMenuOpen=!1},
onShow_:function(){this.maybeScrollToBottom_()},
maybeResizeScrollContainer_:function(a){this.isSmoothScrollEnabled_&&_.cv(a,function(b){return!!b.replaceChatItemAction})&&(this.$["item-offset"].style.height=this.$.items.clientHeight+"px",this.maybeScrollToBottom_())},
computeAllowScroll_:function(a,b){return!(a||b)},
maybeScrollToBottom_:function(){this.canScrollToBottom_()&&this.scrollToBottom_()},
scrollToBottom_:function(){this.$["item-scroller"].scrollTop=Math.pow(2,24);this.atBottom=!0},
atBottomChanged_:function(a){a?this.hideShowMoreAsync_||(this.hideShowMoreAsync_=this.async(function(){this.$["show-more"].style.visibility="hidden"},200)):(this.hideShowMoreAsync_&&this.cancelAsync(this.hideShowMoreAsync_),this.hideShowMoreAsync_=null,this.$["show-more"].style.visibility="visible")},
onWindowKeyEvent_:function(a){this.handleKeyboardEvent_(a.type,a.keyCode)},
onKeyboardEventAction_:function(a){this.handleKeyboardEvent_(a.eventType,a.keyCode)},
handleKeyboardEvent_:function(a,b){b=_.Ej?_.mDb(b):_.Gj&&_.Fj?_.nDb(b):b;this.data.enablePauseChatKeyboardShortcuts&&18==b&&(this.moderationModeEnabled="keydown"==a)},
onTopWindowBlurEvent_:function(){!window||window!=window.top&&document.hasFocus()||(this.moderationModeEnabled=!1)},
onFramedWindowBlurEvent_:function(){window==window.top||window.top.document.hasFocus()||(this.moderationModeEnabled=!1)},
onModerationMouseMoveEvent_:function(a){this.moderationModeEnabled=a.altKey},
moderationModeEnabledChanged_:function(){_.eGa()},
isSmoothScrollEnabled_:function(){return 0!=this.CHAT_SMOOTH_ANIMATION_TIME_MS},
handleChatSeekSuccess_:function(){this.clearList()}});
var TUb;
var UUb;
var VUb;
var WUb;
var XUb;
var YUb;
_.Ng({is:"yt-live-chat-poll-editor-input",_template:function(){if(void 0!==YUb)return YUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-poll-editor-input--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_editor_input.yt.live.chat.poll.editor.input.css.js--\x3e<div id="input-container">\n  <yt-live-chat-text-input-field-renderer id="input" data="[[inputData]]" emoji-manager="[[emojiManager]]" is-valid-with-no-input-text="[[hasPrefilledText]]" on-focusout="onInputFocusOut">\n  </yt-live-chat-text-input-field-renderer>\n  <div id="content-right">\n    <yt-icon-button id="close-button" aria-label$="[[getSimpleString(data.removeOptionAltText)]]" on-click="onClickCloseButton_">\n      <yt-icon icon="yt-icons:close"></yt-icon>\n    </yt-icon-button>\n    <span id="char-count" aria-live="polite" aria-atomic="true" aria-label$="[[getSimpleString(data.charsRemainingAltLabel)]]">[[charactersRemaining]]</span>\n  </div>\n</div>\n<div id="error-message" role="alert">\n  [[getSimpleString(data.charCountErrorText)]]\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_editor_input.yt.live.chat.poll.editor.input.css.js--\x3e<style>:host {display: block;--yt-live-chat-text-input-field-active-underline-color: none;--yt-live-chat-text-input-field-inactive-underline-color: none;color: var(--yt-live-chat-poll-primary-text-color);} #input-container {position: relative;padding: 8px 16px;border: 1px solid var(--yt-live-chat-poll-tertiary-text-color);border-radius: var(--yt-live-chat-poll-choice-border-radius);overflow: hidden;} #input-container:focus-within {border: 1px solid var(--yt-live-chat-poll-primary-text-color);} #input {font-size: 14px;margin-right: 24px;--yt-live-chat-text-input-field-placeholder-top: auto;--yt-live-chat-text-input-field-placeholder-left: auto;--yt-live-chat-text-input-field-placeholder-color: var(--yt-live-chat-poll-tertiary-text-color);--yt-live-chat-text-input-field-white-space: nowrap;} :host([has-prefilled-text]) #input {--yt-live-chat-text-input-field-placeholder-color: var(--yt-live-chat-poll-secondary-text-color);} #close-button,#char-count {position: absolute;right: 16px;top: 50%;} :host([over-character-limit]) #char-count,#close-button {color: var(--yt-live-chat-poll-secondary-text-color);} :host(:not([is-removable])) #close-button,#char-count {visibility: hidden;} #char-count {transform: translateY(-50%);color: var(--yt-live-chat-poll-primary-text-color);} :host(:focus-within) #content-right:not(:focus-within) #char-count {display: inline;visibility: visible;} #close-button {display: inline-block;transform: translate(100px,-50%);} :host([is-removable]) #close-button:focus-within,:host([is-removable]:not(:focus-within)):hover #close-button {transform: translate(0,-50%);} #error-message {display: none;} :host([show-error-message]) #error-message {display: block;font-size: 12px;line-height: 14px;padding-top: 4px;color: var(--yt-live-chat-poll-secondary-text-color);} /*# sourceMappingURL=yt-live-chat-poll-editor-input.css.map*/</style>";
XUb=d}d=XUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return YUb=a},
properties:{data:{type:Object},id:{type:Number,computed:"computeId(data.id)"},emojiManager:Object,inputData:{type:Object,computed:"computeInputData(data.inputData)"},isRemovable:{type:Boolean,reflectToAttribute:!0,value:!1,computed:"computeIsRemovable(data.isRemovable)"},hasPrefilledText:{type:Boolean,reflectToAttribute:!0,computed:"computeHasPrefilledText(data.hasPrefilledText)"},charactersRemaining:{type:Number,computed:"computeCharactersRemaining(data.maxCharacterLimit, characterCount)"},characterCount:{type:Number},
isInputDirty:{type:Boolean,value:!1},overCharacterLimit:{type:Boolean,reflectToAttribute:!0,computed:"computeOverCharacterLimit(charactersRemaining)"},underCharacterLimit:{type:Boolean,computed:"computeUnderCharacterLimit(data, characterCount, hasPrefilledText)"},showErrorMessage:{type:Boolean,value:!1,reflectToAttribute:!0,computed:"computeShowErrorMessage(data.charCountErrorText, overCharacterLimit, isInputDirty, characterCount)"}},behaviors:[_.U.YtRendererBehavior],listeners:{"yt-live-chat-text-input-field-renderer-character-count-changed":"handleTextInputCharCountChanged_"},
computeId:function(){return this.data.id},
computeInputData:function(){return this.data.inputData},
computeHasPrefilledText:function(){return this.data.hasPrefilledText},
computeIsRemovable:function(){return!!this.data&&!!this.data.isRemovable},
computeShowErrorMessage:function(){return this.data&&this.data.charCountErrorText?this.overCharacterLimit||this.underCharacterLimit&&this.isInputDirty:!1},
getLiveChatRichMessageInput:function(){return this.$.input.liveChatRichMessageInput},
clearInput:function(){this.$.input.setLiveChatRichMessageInput(null)},
computeCharactersRemaining:function(){if(this.data&&void 0!==this.data.maxCharacterLimit&&void 0!==this.characterCount)return this.data.maxCharacterLimit-this.characterCount},
computeOverCharacterLimit:function(){return void 0!==this.charactersRemaining&&0>this.charactersRemaining},
computeUnderCharacterLimit:function(){return this.hasPrefilledText?!1:!!this.data&&this.data.minCharacterLimit>this.characterCount},
handleTextInputCharCountChanged_:function(a){a=a.detail&&a.detail.characterCount;void 0!==a&&(this.characterCount=a,0!==a&&(this.isInputDirty=!0))},
onInputFocusOut:function(){this.isInputDirty=!0},
onClickCloseButton_:function(){this.fire("yt-live-chat-poll-editor-input-closed",{id:this.id})}});
var ZUb;
var $Ub;
var aVb={minPollOptions:2,maxPollOptions:4,minPollOptionChars:1,maxPollOptionChars:35,maxPollQuestionChars:100,optionPlaceholderText:{simpleText:""},questionPlaceholderText:{simpleText:""},customOptionPlaceholderText:[],pollOptionData:{}};
_.Ng({is:"yt-live-chat-poll-editor-panel-renderer",_template:function(){if(void 0!==$Ub)return $Ub;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-poll-editor-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_editor_panel_renderer.yt.live.chat.poll.editor.panel.renderer.css.js--\x3e<div id="panel-header">\n  <yt-icon hidden$="[[!data.headerIcon]]" icon="[[data.headerIcon.iconType]]"></yt-icon>\n  <yt-formatted-string id="panel-title" text="[[data.headerText]]"></yt-formatted-string>\n  <div id="close-button" on-click="onCloseClick_"></div>\n</div>\n<div id="panel-contents">\n  <div id="poll-editor">\n    <yt-live-interactivity-component-background class="background" use-large-background="">\n    </yt-live-interactivity-component-background>\n    <div id="poll-editor-header">\n      <yt-icon hidden$="[[!data.pollEditorInfo.headerIcon]]" icon="[[data.pollEditorInfo.headerIcon.iconType]]">\n      </yt-icon>\n      <yt-formatted-string id="poll-editor-title" text="[[data.pollEditorInfo.headerText]]">\n      </yt-formatted-string>\n    </div>\n    <div id="poll-question"></div>\n    <div id="poll-question-sub-content">\n      <div id="poll-question-error-message" role="alert">\n        [[getSimpleString(pollEditorInfoWithDefaults.pollQuestionCharCountErrorText)]]\n      </div>\n      <div id="poll-question-count">\n        [[pollQuestionCharacterCount]]/[[pollEditorInfoWithDefaults.maxPollQuestionChars]]\n      </div>\n      <div id="poll-question-count-alt-label" aria-live="polite" aria-atomic="true" aria-label$="[[getSimpleString(pollEditorInfoWithDefaults.pollOptionData.pollQuestionCharsRemainingAltLabel)]]">\n        [[pollQuestionCharactersRemaining]]\n      </div>\n    </div>\n    <div id="poll-options"></div>\n    <div id="add-option-button" hidden$="[[hasMaxNumPollOptions]]" on-click="onAddOptionButtonClick_">\n    </div>\n  </div>\n  <div id="start-button" on-yt-action="handleStartButtonAction_"></div>\n</div>\n<div id="spinner-container" hidden$="[[!createPollRequestInFlight]]">\n  <tp-yt-paper-spinner-lite id="spinner" active="[[createPollRequestInFlight]]"></tp-yt-paper-spinner-lite>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_poll_editor_panel_renderer.yt.live.chat.poll.editor.panel.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-live-chat-action-panel-background-color);padding: 4px 0;} .background {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #panel-header,#poll-editor-header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding-left: 13px;} #panel-header {color: var(--yt-spec-text-secondary);border-bottom: 1px solid var(--yt-live-chat-poll-editor-panel-header-border-color);} #poll-editor-header {color: var(--yt-live-chat-poll-secondary-text-color);font-size: 12px;padding: 6px;} #poll-editor-header yt-icon {width: 16px;height: 16px;} #panel-title,#poll-editor-title {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-size: 13px;margin-left: 8px;} #panel-contents {padding: 4px 13px;} #poll-editor,#poll-editor-header,#poll-options,#poll-question-count,#poll-question-sub-content {position: relative;} #poll-editor {overflow: hidden;padding: 4px 8px;margin: 8px 0;border-radius: 4px;color: var(--yt-live-chat-poll-primary-text-color);} yt-live-chat-text-input-field-renderer {padding: 8px 8px 4px;font-size: 14px;--yt-live-chat-text-input-field-placeholder-top: auto;--yt-live-chat-text-input-field-placeholder-left: auto;--yt-live-chat-text-input-field-placeholder-color: var(--yt-live-chat-poll-tertiary-text-color);} #poll-question {--yt-live-chat-text-input-field-active-underline-color: var(--yt-live-chat-poll-primary-text-color);--yt-live-chat-text-input-field-inactive-underline-color: var(--yt-live-chat-poll-tertiary-text-color);} :host([over-question-character-limit]) #poll-question {--yt-live-chat-text-input-field-active-underline-color: var(--yt-live-chat-poll-tertiary-text-color);} :host([over-question-character-limit]) #poll-question-count {color: var(--yt-live-chat-poll-tertiary-text-color);} #poll-question-sub-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;padding-bottom: 4px;} #poll-question-error-message {display: none;padding-left: 8px;font-size: 12px;line-height: 14px;color: var(--yt-live-chat-poll-secondary-text-color);} :host([show-question-error-message]) #poll-question-error-message {display: unset;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #poll-question-count {display: none;text-align: end;margin-right: 8px;font-size: 12px;line-height: 14px;} :host([show-question-error-message]) #poll-question-count {-ms-flex: none;-webkit-flex: none;flex: none;} #poll-question:focus-within+#poll-question-sub-content>#poll-question-count {display: block;} #poll-options {padding: 8px;} :host([has-max-num-poll-options]) #poll-options {padding-bottom: 18px;} yt-live-chat-poll-editor-input {margin-top: 8px;} #add-option-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #poll-editor,#add-option-button yt-button-renderer {color: var(--yt-live-chat-poll-primary-text-color);} #close-button {-ms-flex: none;-webkit-flex: none;flex: none;} #start-button {padding: 4px 0;} #start-button yt-button-renderer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;background-color: var(--yt-live-chat-poll-editor-start-button-background-color);color: var(--yt-live-chat-poll-editor-start-button-color);} #start-button yt-button-renderer[disabled] {background-color: var(--yt-live-chat-poll-editor-start-button-background-color-disabled);color: var(--yt-live-chat-poll-editor-start-button-color-disabled);} #poll-option {position: relative;} #remove-option-button {display: none;color: var(--yt-live-chat-poll-secondary-text-color);position: absolute;right: 16px;top: 50%;transform: translateY(-50%);} #poll-option:not(:focus-within):hover #remove-option-button[is-removable] {display: inline-block;} #spinner-container {background-color: var(--yt-live-chat-action-panel-background-color);display: -ms-flexbox;display: -webkit-flex;display: flex;position: absolute;top: 0;right: 0;bottom: 0;left: 0;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #poll-question-count-alt-label {position: absolute;left: -1000px;width: 1px;height: 1px;overflow: hidden;} /*# sourceMappingURL=yt-live-chat-poll-editor-panel-renderer.css.map*/</style>";
ZUb=d}d=ZUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return $Ub=a},
properties:{data:{type:Object,observer:"dataChanged"},id:{type:String,computed:"computeId(data.id)",reflectToAttribute:!0},emojiManager:Object,pollOptionsData:{type:Array,value:function(){return[]}},
pollQuestionData:{type:Object,computed:"computePollQuestionData(pollEditorInfoWithDefaults)"},pollQuestionCharacterCount:{type:Number,value:0},pollQuestionCharactersRemaining:{type:Number,computed:"computePollQuestionCharactersRemaining(pollEditorInfoWithDefaults.maxPollQuestionChars, pollQuestionCharacterCount)"},overQuestionCharacterLimit:{type:Boolean,reflectToAttribute:!0,computed:"computeOverQuestionCharacterLimit(pollQuestionCharacterCount, pollEditorInfoWithDefaults)"},pollEditorInfoWithDefaults:{type:Object,
computed:"computePollEditorInfoWithDefaults(data.pollEditorInfo)"},currentNumPollOptions:{type:Number,computed:"computeCurrentNumPollOptions(pollOptionsData.splices)",value:0},hasMaxNumPollOptions:{type:Boolean,computed:"computeHasMaxNumPollOptions(pollEditorInfoWithDefaults, currentNumPollOptions)",reflectToAttribute:!0},shouldInitializePoll_:{type:Boolean,computed:"computeShouldInitializePoll_(pollEditorInfoWithDefaults, pollOptionsData)"},isValidPoll:{type:Boolean,observer:"isValidPollChanged"},
createPollRequestInFlight:{type:Boolean,value:!1,reflectToAttribute:!0},selected:{type:Boolean,observer:"selectedChanged"},showQuestionErrorMessage:{type:Boolean,value:!1,reflectToAttribute:!0,computed:"computeShowQuestionErrorMessage(pollEditorInfoWithDefaults, overQuestionCharacterLimit)"}},behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],observers:["shouldInitializePollChanged(shouldInitializePoll_)"],listeners:{"picker-cancelled":"onPickerCancelled","yt-service-request-completed":"handleServiceRequestCompleted_",
"yt-live-chat-poll-editor-input-closed":"handlePollEditorInputClosed_","yt-live-chat-text-input-field-renderer-character-count-changed":"handleTextInputChanged_","yt-service-request-sent":"handleServiceRequestSent_"},stampDom:{"data.pollEditorInfo.addOptionButton":{id:"add-option-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.closeButton":{id:"close-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.startButton":{id:"start-button",mapping:{buttonRenderer:"yt-button-renderer"}},
pollQuestionData:{id:"poll-question",mapping:{liveChatTextInputFieldRenderer:{component:"yt-live-chat-text-input-field-renderer",properties:{emojiManager:"[[emojiManager]]"},attributes:{id:"poll-question-input","is-valid-with-no-input-text":!0}}}},pollOptionsData:{id:"poll-options",mapping:{liveChatPollOptionInput:{component:"yt-live-chat-poll-editor-input",properties:{emojiManager:"[[emojiManager]]"}}}}},dataChanged:function(){this.isValidPoll=this.getIsValidPoll_();this.data&&this.data.startButton&&
this.data.startButton.buttonRenderer&&this.set("data.startButton.buttonRenderer.isDisabled",!this.isValidPoll)},
computeId:function(){return this.data&&this.data.id||""},
computePollEditorInfoWithDefaults:function(){if(this.data&&this.data.pollEditorInfo)return Object.assign(aVb,this.data.pollEditorInfo)},
computeShouldInitializePoll_:function(){return!!this.pollEditorInfoWithDefaults&&!this.pollOptionsData.length},
computePollQuestionData:function(){if(this.pollEditorInfoWithDefaults)return{liveChatTextInputFieldRenderer:{placeholder:this.pollEditorInfoWithDefaults.questionPlaceholderText,maxCharacterLimit:this.pollEditorInfoWithDefaults.maxPollQuestionChars}}},
computeOverQuestionCharacterLimit:function(){return this.pollEditorInfoWithDefaults?this.pollQuestionCharacterCount>this.pollEditorInfoWithDefaults.maxPollQuestionChars:!1},
computePollQuestionCharactersRemaining:function(){if(this.pollEditorInfoWithDefaults)return this.pollEditorInfoWithDefaults.maxPollQuestionChars-this.pollQuestionCharacterCount},
computeCurrentNumPollOptions:function(){return this.pollOptionsData.length},
computeHasMaxNumPollOptions:function(){return!this.pollEditorInfoWithDefaults||this.currentNumPollOptions>=this.pollEditorInfoWithDefaults.maxPollOptions},
computeShowQuestionErrorMessage:function(){return this.pollEditorInfoWithDefaults&&this.overQuestionCharacterLimit&&!!this.pollEditorInfoWithDefaults.pollQuestionCharCountErrorText},
shouldInitializePollChanged:function(){if(this.shouldInitializePoll_)for(var a=0;a<this.pollEditorInfoWithDefaults.minPollOptions;a++)this.addPollOptionData_()},
getIsValidPoll_:function(){var a=this;if(!this.pollEditorInfoWithDefaults)return!1;var b=this.pollEditorInfoWithDefaults,c=b.minPollOptionChars,d=b.maxPollOptionChars,e=b.customOptionPlaceholderText;if(this.pollQuestionCharacterCount>b.maxPollQuestionChars)return!1;b=_.H(this.root).querySelectorAll("yt-live-chat-poll-editor-input");return Array.from(b).every(function(h,l){h=h.characterCount;!h&&e[l]&&(h=a.getSimpleString(e[l]).length);return h>=c&&h<=d})},
isValidPollChanged:function(){this.data&&this.data.startButton&&this.data.startButton.buttonRenderer&&this.set("data.startButton.buttonRenderer.isDisabled",!this.isValidPoll)},
addPollOptionData_:function(){var a=this.pollEditorInfoWithDefaults,b=a.maxPollOptionChars,c=a.optionPlaceholderText,d=a.customOptionPlaceholderText,e=a.pollOptionData;this.currentNumPollOptions>=a.maxPollOptions||(a={liveChatPollOptionInput:{inputData:{placeholder:d[this.currentNumPollOptions]||c,maxCharacterLimit:b},maxCharacterLimit:b,minCharacterLimit:a.minPollOptionChars,hasPrefilledText:!!d[this.currentNumPollOptions],isRemovable:this.currentNumPollOptions>=a.minPollOptions}},e.charCountErrorText&&
(a.liveChatPollOptionInput.charCountErrorText=e.charCountErrorText),e.charsRemainingAltLabel&&(a.liveChatPollOptionInput.charsRemainingAltLabel=e.charsRemainingAltLabel),e.removeOptionAltText&&(a.liveChatPollOptionInput.removeOptionAltText=e.removeOptionAltText),this.push("pollOptionsData",a),e=Array.from(_.H(this.$["poll-options"]).children),e.forEach(function(h,l){return h.set("data.id",l)}),e[e.length-1].$.input.focus())},
getPollOptionInputValues_:function(){var a=this,b=[],c=_.H(this.root).querySelectorAll("yt-live-chat-poll-editor-input"),d=this.get("data.pollEditorInfo.customOptionPlaceholderText")||[];Array.from(c).forEach(function(e,h){var l=null;(e=e.getLiveChatRichMessageInput())&&e.textSegments.length?l=_.XE(e):d[h]&&(l=a.formattedStringToLiveChatRichMessageInput_(d[h]));b.push(l)});
return b},
requestCreateAndStartPoll_:function(a){var b=this.getPollOptionInputValues_();if(!b.some(function(d){return!d})){b={optionText:b};
var c=_.H(this.$["poll-question"]).firstChild;c&&c.liveChatRichMessageInput&&(b.questionText=_.XE(c.liveChatRichMessageInput));_.Kg(this,[a,b])}},
selectedChanged:function(){if(this.selected){var a=_.H(this.$["start-button"]).firstElementChild;a&&a.$$("#button").focus()}},
handleTextInputChanged_:function(a){"poll-question-input"===a.target.id&&(this.pollQuestionCharacterCount=a.detail.characterCount);this.isValidPoll=this.getIsValidPoll_()},
handleStartButtonAction_:function(a){"yt-service-request"==a.detail.actionName&&(a.stopPropagation(),(a=a.detail.args[1])&&this.requestCreateAndStartPoll_(a))},
handleServiceRequestSent_:function(){this.createPollRequestInFlight=!0},
handleServiceRequestCompleted_:function(a){this.createPollRequestInFlight=!1;(a=a.detail&&a.detail.data)&&a.success&&this.fire("picker-cancelled")},
onCloseClick_:function(){this.fire("picker-cancelled")},
onAddOptionButtonClick_:function(){this.addPollOptionData_();this.isValidPoll=this.getIsValidPoll_()},
handlePollEditorInputClosed_:function(a){var b=this.pollOptionsData.findIndex(function(c){return c.liveChatPollOptionInput.id===a.detail.id});
this.splice("pollOptionsData",b,1);this.isValidPoll=this.getIsValidPoll_()},
onPickerCancelled:function(){this.reset_()},
reset_:function(){if(this.pollEditorInfoWithDefaults){for(;this.currentNumPollOptions>this.pollEditorInfoWithDefaults.minPollOptions;)this.pop("pollOptionsData");var a=_.H(this.$["poll-question"]).firstChild;a&&a.setLiveChatRichMessageInput(null);if(a=_.H(this.root).querySelectorAll("yt-live-chat-poll-editor-input")){a=_.k(Array.from(a));for(var b=a.next();!b.done;b=a.next())b.value.clearInput()}this.isValidPoll=this.getIsValidPoll_()}},
formattedStringToLiveChatRichMessageInput_:function(a){return a.simpleText?{text_segments:[a.simpleText]}:{text_segments:a.runs}}});
var bVb;
var cVb;
_.Ng({is:"yt-live-chat-product-button-renderer",_template:function(){if(void 0!==cVb)return cVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-product-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_product_button_renderer.yt.live.chat.product.button.renderer.css.js--\x3e<a id="endpoint" class="yt-simple-endpoint" data="[[command]]">\n  <tp-yt-paper-item id="container" disabled$="[[disabled]]" on-click="onClick_">\n    <div id="icon">\n      <yt-icon icon="[[icon]]"></yt-icon>\n      <span hidden="[[!data.iconBadgeText]]" id="icon-badge-text">[[data.iconBadgeText]]</span>\n    </div>\n    <div id="text">\n      <yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n      <div id="subtext">\n        <yt-formatted-string text="[[data.subtext]]"></yt-formatted-string>\n      </div>\n    </div>\n  </tp-yt-paper-item>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_product_button_renderer.yt.live.chat.product.button.renderer.css.js--\x3e<style>:host(:focus) {outline: none;} tp-yt-paper-item {margin: 0;padding: 12px 16px 12px 24px;text-transform: none;} #endpoint:hover {background-color: var(--yt-live-chat-product-picker-hover-color);} #endpoint {display: block;} #container {min-height: 32px;} #text {font-size: 16px;line-height: 24px;color: var(--yt-spec-text-primary);@apply --layout-flex-start;} #subtext {font-size: 12px;line-height: 16px;color: var(--yt-live-chat-secondary-text-color);white-space: normal;} :host([disabled]) a {cursor: unset;} :host([disabled]) #text,:host([disabled]) #subtext {color: var(--yt-live-chat-tertiary-text-color);} #icon {flex-shrink: 0;padding-right: 32px;color: var(--yt-live-chat-product-picker-icon-color);position: relative;} :host([system-icons]) #icon {color: var(--yt-spec-text-primary);} #icon-badge-text {color: var(--yt-swatch-important-text,var(--yt-spec-static-brand-white));background-color: var(--yt-spec-call-to-action);position: absolute;top: -7px;left: 13px;width: 16px;height: 16px;line-height: 16px;border-radius: 50%;border: 2px solid var(--yt-spec-brand-background-primary);font-size: 10px;text-align: center;cursor: pointer;} :host([disabled]) #icon {color: var(--yt-live-chat-product-picker-disabled-icon-color);} :host([disabled][system-icons]) #icon {color: var(--yt-live-chat-tertiary-text-color);} /*# sourceMappingURL=yt-live-chat-product-button-renderer.css.map*/</style>";
bVb=d}d=bVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return cVb=a},
hostAttributes:{role:"menuitem",tabindex:-1},properties:{data:Object,iconId:{type:String,computed:"computeIconId_(data)",reflectToAttribute:!0},icon:{type:String,computed:"computeIcon_(data)",reflectToAttribute:!0},disabled:{type:Boolean,computed:"computeDisabled_(data.isDisabled)",reflectToAttribute:!0},command:{type:Object,computed:"computeCommand_(data.command, disabled)"},systemIcons:{type:Boolean,value:function(){return _.x("kevlar_system_icons")},
reflectToAttribute:!0}},behaviors:[_.Tu.YtEndpointBehavior,_.U.YtRendererBehavior],computeIconId_:function(a){return a&&a.icon&&a.icon.iconType?a.icon.iconType.toLowerCase():""},
computeIcon_:function(a){return a&&a.icon&&a.icon.iconType?(a=a.icon.iconType.toLowerCase(),("gift"==a.toLowerCase()?"yt-sys-icons":"yt-icons")+":"+a):""},
computeDisabled_:function(a){return!!a},
computeCommand_:function(a,b){return b?void 0:a},
onClick_:function(){this.data&&!this.disabled&&this.logExplicitClick(this.data)}});
var dVb;
var eVb;
_.Ng({is:"yt-live-chat-product-picker-renderer",_template:function(){if(void 0!==eVb)return eVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-product-picker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_product_picker_renderer.yt.live.chat.product.picker.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[data.productPickerHeaderTitle]]"> </yt-formatted-string>\n<div id="buttons"></div>\n<div id="close-button" on-click="onCloseClick_"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_product_picker_renderer.yt.live.chat.product.picker.renderer.css.js--\x3e<style>:host {margin: 8px -8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(:focus) {outline: none;} #title {color: var(--yt-live-chat-secondary-text-color);font-family: "Roboto";font-size: 14px;font-weight: 500;padding: 12px 24px 20px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} /*# sourceMappingURL=yt-live-chat-product-picker-renderer.css.map*/</style>';
dVb=d}d=dVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return eVb=a},
hostAttributes:{role:"menu",tabindex:0},properties:{data:Object,id:{type:String,computed:"computeId_(data)",reflectToAttribute:!0},selected:{type:Boolean,reflectToAttribute:!0}},observers:["observeSelected_(selected)"],behaviors:[_.Y.YtActionHandlerBehavior,_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],stampDom:{"data.buttons":{id:"buttons",mapping:{liveChatProductButtonRenderer:"yt-live-chat-product-button-renderer"}},"data.closeButton":{id:"close-button",mapping:{liveChatProductButtonRenderer:"yt-live-chat-product-button-renderer"}}},
actionMap:{"yt-live-chat-close-buy-flow":"onCloseBuyFlow_"},computeId_:function(a){return a.id||""},
onCloseClick_:function(){this.fire("picker-cancelled")},
observeSelected_:function(a){a&&this.focus();a=this.querySelectorAll("yt-live-chat-product-button-renderer");a.length&&a[0].focus()},
onCloseBuyFlow_:function(){this.fire("picker-cancelled")}});
var fVb;
var gVb;
var K9=function(){var a=_.K.apply(this,arguments)||this;a.characterCount=0;a.showInputErrorMessage=!1;a.emojiManager=new _.LC(_.ot("live_chat_unicode_emoji_json_url"));return a};
_.q(K9,_.K);_.f=K9.prototype;_.f.configureRendererStamper=function(){return{"data.creatorCallForQuestions.liveChatCreatorCallForQuestionsRenderer.overflowMenuButton":{id:"menu",events:!0,mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{id:"menu-button"}}}},"data.closeButton":{id:"close-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.startButton":{id:"start-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
_.f.onCharacterCountChanged=function(a){var b,c,d,e,h,l=null==this?void 0:null==(b=this.data)?void 0:null==(c=b.creatorCallForQuestions)?void 0:null==(d=c.liveChatCallForQuestionsRenderer)?void 0:null==(e=d.inputField)?void 0:null==(h=e.liveChatTextInputFieldRenderer)?void 0:h.maxCharacterLimit,m,p,r;null!=l&&null!=(null==a?void 0:null==(m=a.detail)?void 0:m.characterCount)&&(null==this?0:null==(p=this.data)?0:null==(r=p.startButton)?0:r.buttonRenderer)&&(a=a.detail.characterCount>l,this.set("data.startButton.buttonRenderer.isDisabled",
a),this.showInputErrorMessage=a)};
_.f.onCloseClick=function(){this.fire("picker-cancelled")};
_.f.onPickerCancelled=function(){var a=this.$$("#qna-creator-text-input-field");a&&a.setLiveChatRichMessageInput(null)};
_.f.handleStartButtonAction=function(a){var b=this;if("yt-service-request"===a.detail.actionName&&(a.stopPropagation(),a=a.detail.args[1])){var c=this.$$("#qna-creator-text-input-field"),d;(null==c?0:null==(d=c.liveChatRichMessageInput)?0:d.textSegments)&&0!==c.liveChatRichMessageInput.textSegments.length&&(d={rich_message:_.XE(c.liveChatRichMessageInput)},_.Kg(this,[a,d]).then(function(){b.fire("picker-cancelled")}))}};
_.t.Object.defineProperties(K9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-qna-start-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_qna_start_panel_renderer.yt.live.chat.qna.start.panel.renderer.css.js--\x3e<div id="panel-header">\n  <yt-icon hidden$="[[!data.headerIcon]]" icon="[[data.headerIcon.iconType]]"></yt-icon>\n  <yt-formatted-string id="panel-title" text="[[data.headerText]]"></yt-formatted-string>\n  <div id="close-button" on-click="onCloseClick"></div>\n</div>\n<div id="panel-contents">\n  <div id="call_for_questions_banner">\n    <yt-live-interactivity-component-background class="background">\n    </yt-live-interactivity-component-background>\n    <div id="banner-content">\n      <div id="banner-content-top">\n        <yt-img-shadow id="creator-avatar" height="24" hidden$="[[!data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.creatorAvatar]]" thumbnail="[[data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.creatorAvatar]]" width="24">\n        </yt-img-shadow>\n\n        <div id="metadata-text">\n          <yt-formatted-string id="author-name" text="[[data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.creatorAuthorName]]">\n          </yt-formatted-string>\n\n          <yt-formatted-string id="separator-collapsed" text="[[data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.contentSeparator]]">\n          </yt-formatted-string>\n\n          <yt-formatted-string id="feature-label" text="[[data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.featureLabel]]">\n          </yt-formatted-string>\n        </div>\n        <div id="menu" on-click="onContextMenuButtonClick"></div>\n      </div>\n\n      <div id="banner-main-content">\n        <div id="input-container">\n          <template is="dom-if" if="[[data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.inputField]]">\n            <yt-live-chat-text-input-field-renderer id="qna-creator-text-input-field" character-count="{{characterCount}}" data="[[data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.inputField.liveChatTextInputFieldRenderer]]" emoji-manager="[[emojiManager]]" hidden$="[[!data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.inputField]]">\n            </yt-live-chat-text-input-field-renderer>\n          </template>\n        </div>\n        <div id="input-sub-content">\n          <div id="qna-error-message" role="alert">[[getSimpleString(data.characterLimitErrorMessage)]]</div>\n          <div id="qna-character-count">[[characterCount]]/[[data.creatorCallForQuestions.liveChatCallForQuestionsRenderer.inputField.liveChatTextInputFieldRenderer.maxCharacterLimit]]</div>\n        </div>\n      </div>\n    </div>\n  </div>\n  <div id="start-button" on-yt-action="handleStartButtonAction"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_qna_start_panel_renderer.yt.live.chat.qna.start.panel.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-live-chat-action-panel-background-color);padding: 4px 0;} .background {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #panel-header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding-left: 13px;} #panel-header {color: var(--yt-spec-text-secondary);border-bottom: 1px solid var(--yt-live-chat-qna-start-panel-header-border-color);} #panel-title {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-size: 13px;margin-left: 8px;} #creator-message-text {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding: 4px 8px;color: var(--yt-spec-text-secondary);} #call_for_questions_banner {overflow: hidden;padding: 4px 8px;margin: 8px 0;border-radius: 4px;position: relative;color: var(--yt-live-chat-qna-primary-text-color);} #panel-contents {padding: 4px 13px;} #close-button {-ms-flex: none;-webkit-flex: none;flex: none;} #start-button {padding: 4px 0;} #start-button yt-button-renderer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;background-color: var(--yt-live-chat-qna-panel-start-button-background-color);color: var(--yt-live-chat-qna-panel-start-button-color);} #start-button yt-button-renderer[disabled] {background-color: var(--yt-live-chat-qna-start-panel-button-background-color-disabled);color: var(--yt-live-chat-qna-panel-start-button-color-disabled);} #creator-avatar {overflow: hidden;border-radius: 50%;margin-right: 12px;} #banner-content {position: relative;} #banner-content-top {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;position: relative;padding: 4px 8px;} #metadata-text {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-size: 13px;color: var(--yt-live-chat-call-for-questions-secondary-text-color);} #menu {-ms-flex: none;-webkit-flex: none;flex: none;--yt-button-icon-size: 24px;--yt-button-icon-padding: 0;} #banner-main-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;padding: 4px 8px;margin: 8px 0 0;} yt-live-chat-text-input-field-renderer {padding: 8px 0 4px;font-size: 14px;--yt-live-chat-text-input-field-placeholder-top: auto;--yt-live-chat-text-input-field-placeholder-left: auto;--yt-live-chat-text-input-field-placeholder-color: var( --yt-live-chat-poll-tertiary-text-color );} #input {padding: 4px 8px 24px 0px;} #input-sub-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;padding-bottom: 4px;} #qna-error-message {display: none;font-size: 12px;line-height: 14px;color: var(--yt-live-chat-poll-secondary-text-color);} :host([show-input-error-message]) #qna-error-message {display: unset;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #qna-character-count {display: none;font-size: 12px;line-height: 14px;padding-left: 8px;text-align: end;} :host([show-input-error-message]) #qna-character-count {-ms-flex: none;-webkit-flex: none;flex: none;} #input-container:focus-within+#input-sub-content>#qna-character-count {display: block;} /*# sourceMappingURL=yt-live-chat-qna-start-panel-renderer.css.map*/</style>";
fVb=d}d=fVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gVb=a}a=gVb;return a}}});
var L9=K9;L9.prototype.onPickerCancelled=L9.prototype.onPickerCancelled;L9.prototype.onCharacterCountChanged=L9.prototype.onCharacterCountChanged;_.S([_.N(),_.T("design:type",Number)],L9.prototype,"characterCount",void 0);_.S([_.N(),_.T("design:type",Object)],L9.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],L9.prototype,"showInputErrorMessage",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],L9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(s8),_.T("design:type",Object)],L9.prototype,"ytLiveChatReduxBehavior",void 0);_.S([_.L(_.mF.YtLiveChatItemBehavior),_.T("design:type",Object)],L9.prototype,"ytLiveChatItemBehavior",void 0);
_.S([_.O("yt-live-chat-text-input-field-renderer-character-count-changed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],L9.prototype,"onCharacterCountChanged",null);_.S([_.O("picker-cancelled"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],L9.prototype,"onPickerCancelled",null);L9=_.S([_.Q({is:"yt-live-chat-qna-start-panel-renderer"})],L9);
var hVb;
var iVb;
_.Ng({is:"yt-live-chat-text-actions-error-message-renderer",_template:function(){if(void 0!==iVb)return iVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-text-actions-error-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_text_actions_error_message_renderer.yt.live.chat.text.actions.error.message.renderer.css.js--\x3e<yt-icon-button on-click="dismiss">\n  <yt-icon icon="close"></yt-icon>\n</yt-icon-button>\n<div id="error-text">\n  <yt-formatted-string text="[[data.errorText]]"></yt-formatted-string>\n  <button id="edit" on-click="edit">\n    <yt-formatted-string text="[[data.editMessageText]]"></yt-formatted-string>\n  </button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_text_actions_error_message_renderer.yt.live.chat.text.actions.error.message.renderer.css.js--\x3e<style>:host {color: var(--yt-live-chat-error-message-color,#f44336);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-icon-button {margin-right: 8px;-ms-flex: none;-webkit-flex: none;flex: none;width: 40px;height: 40px;padding: 8px;} error-text {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} button {text-decoration: underline;padding: 0;border: none;background-color: transparent;cursor: pointer;color: currentColor;font-size: 100%;} /*# sourceMappingURL=yt-live-chat-text-actions-error-message-renderer.css.map*/</style>";
hVb=d}d=hVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return iVb=a},
properties:{data:Object},dismiss:function(){this.fire("yt-live-chat-error-message-dismiss")},
edit:function(){this.fire("yt-live-chat-error-message-edit",this.data.originalRichMessage)}});
_.Ng({COUNTDOWN_RADIUS_:10,is:"yt-live-chat-message-input-renderer",_template:function(){if(void 0!==WUb)return WUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-message-input-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_message_input_renderer.yt.live.chat.message.input.renderer.css.js--\x3e<div id="panel-header" hidden$="[[!data.headerRenderer.liveChatQnaInputPromptHeaderRenderer]]"><yt-icon icon="[[data.headerRenderer.liveChatQnaInputPromptHeaderRenderer.icon.iconType]]"></yt-icon><yt-formatted-string id="header-title" text="[[data.headerRenderer.liveChatQnaInputPromptHeaderRenderer.labelText]]"></yt-formatted-string><div id="header-close-button"></div></div><div id="container"><div id="top"><yt-img-shadow id="avatar" height="24" hidden$="[[!data.authorPhoto]]" thumbnail="[[data.authorPhoto]]" width="24"></yt-img-shadow><div id="input-container"><yt-live-chat-author-chip author-badges="[[data.authorBadges]]" author-name="[[data.authorName]]"></yt-live-chat-author-chip><yt-live-chat-text-input-field-renderer id="input" character-count="{{characterCount}}" data="[[data.inputField.liveChatTextInputFieldRenderer]]" disabled="[[hasInteractionMessage]]" emoji-manager="[[emojiManager]]" max-character-limit="{{maxCharacterLimit}}" participants-manager="[[participantsManager]]" on-focusin="onInputFocusIn"></yt-live-chat-text-input-field-renderer></div></div><div id="error-message"></div><iron-pages id="pickers" attr-for-selected="id" selected-attribute="selected"></iron-pages><div id="buttons"><div id="picker-buttons"></div><div id="message-buttons"><div id="count">[[characterCount]]/[[maxCharacterLimit]]</div><div id="send-button" countdown-active$="[[countdownActive]]" on-yt-action="handleSendButtonAction_"></div><svg id="countdown" countdown-active$="[[countdownActive]]" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle id="countdown-background" cx="12" cy="12" r="10"></circle><circle id="countdown-line" cx="12" cy="12" r="10" stroke-dashoffset$="[[countdownStrokeDashOffset]]"></circle></svg></div></div></div><div id="interaction-message"></div><div id="tooltip-accessibility-text">[[tooltipMessage]]</div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_message_input_renderer.yt.live.chat.message.input.renderer.css.js--\x3e<style>#picker-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #picker-buttons>* {color: var(--yt-live-chat-picker-button-color);} #picker-buttons :hover {color: var(--yt-live-chat-picker-button-hover-color);} #picker-buttons [active] {color: var(--yt-live-chat-picker-button-active-color);} #picker-buttons [disabled] {color: var(--yt-live-chat-picker-button-disabled-color);} :host([system-icons]) #picker-buttons>* {color: var(--yt-spec-text-primary);} :host {display: block;padding: 16px;color: var(--yt-live-chat-primary-text-color);background: var(--yt-live-chat-action-panel-background-color,var(--yt-deprecated-opalescence-soft-grey-opacity-lighten-3));font-size: 13px;position: relative;--yt-emoji-picker-renderer-content-margin: 0 24px;--yt-emoji-picker-category-margin-left: 24px;} #avatar {margin-right: 16px;overflow: hidden;border-radius: 50%;-ms-flex: none;-webkit-flex: none;flex: none;} #top {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #top,#pickers,#error-message {margin: 0px 8px;} :host([product-picker-open]) {padding: 0;overflow-y: hidden;} #panel-header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding-bottom: 10px;color: var(--yt-spec-text-secondary);} #header-close-button {position: relative;-ms-flex: none;-webkit-flex: none;flex: none;} #header-title {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-size: 13px;margin-left: 8px;} :host([poll-editor-picker-open]),:host([qna-start-panel-open]) {padding-top: 0;padding-bottom: 0;} :host([creator-open]) #top,:host([creator-open]) #buttons,:host([product-picker-open]) #top,:host([product-picker-open]) #buttons,:host([poll-editor-picker-open]) #top,:host([poll-editor-picker-open]) #buttons,:host([qna-start-panel-open]) #top,:host([qna-start-panel-open]) #buttons {display: none;} #input-container {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;min-width: 0;} #input {margin-top: 4px;} yt-live-chat-message-renderer {position: absolute;top: 0;right: 0;bottom: 0;left: 0;opacity: 0;transition: opacity 0.125s linear;padding: 16px 24px;} :host(:hover) yt-live-chat-message-renderer,:host(:focus) yt-live-chat-message-renderer {opacity: 1;} :host([has-interaction-message]:hover) #container {opacity: 0;} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;margin: 4px 0 -8px;} #message-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #count {margin-right: 8px;color: var(--yt-live-chat-secondary-text-color,var(--yt-deprecated-luna-black-opacity-lighten-2));} #count.early-warning {color: var(--yt-live-chat-count-color-early-warning,#fdd835);} #count.warning {color: var(--yt-live-chat-count-color-warning,#ff9800);} #count.error {color: var(--yt-live-chat-count-color-error,var(--yt-spec-brand-link-text));} #send-button {transition: transform 0.5s 0.5s cubic-bezier(0.175,0.885,0.32,1.275);} #send-button>* {color: var(--yt-live-chat-enabled-send-button-color);} :host([system-icons]) #send-button>* {color: var(--yt-spec-text-primary);} #send-button>[disabled] {color: var(--yt-live-chat-disabled-icon-button-color);} #send-button[countdown-active] {transform: scale(0.55);transition: transform 1s cubic-bezier(0.23,1,0.32,1);} #countdown {position: relative;left: -33px;width: 24px;height: 24px;margin-right: -24px;opacity: 0;transition: opacity 1s;pointer-events: none;} #countdown[countdown-active] {opacity: var(--yt-live-chat-countdown-opacity,0.3);transition: opacity 2s;} circle {fill: none;stroke-linecap: square;stroke-width: 2;stroke: currentColor;} #countdown-background {opacity: 0.3;} #countdown-line {stroke-dasharray: 62.8318;transform: translate(0,24px) rotateZ(-90deg);} yt-emoji-picker-renderer {min-height: 130px;max-height: 220px;margin: 16px -24px 0;} yt-live-chat-poll-editor-panel-renderer,yt-live-chat-qna-start-panel-renderer {margin: 0 -24px;} #error-message {margin: 16px 0 4px;} #error-message:empty {display: none;} #tooltip-accessibility-text {display: inline-block;position: fixed;clip: rect(0px,0px,0px,0px);} /*# sourceMappingURL=yt-live-chat-message-input-renderer.css.map*/</style>";
VUb=d}d=VUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return WUb=a},
properties:{data:{type:Object,observer:"dataChanged_"},id:{type:String,computed:"computeId(data.targetId)",reflectToAttribute:!0},characterCount:{type:Number,value:0,observer:"characterCountChanged_"},maxCharacterLimit:{type:Number,value:0},emojiManager:Object,participantsManager:Object,sendDisabled:{type:Number,computed:"computeSendDisabled_(characterCount, maxCharacterLimit, countdownActive)"},countdownRatio:{type:Number,value:0},countdownStrokeDashOffset:{type:Number,computed:"computeCountdownStrokeDashOffset_(countdownRatio)"},
countdownActive:{type:Boolean,computed:"computeCountdownActive_(countdownRatio)"},errorMessage:{type:Object,observer:"errorMessageChanged_"},hasInteractionMessage:{type:Boolean,computed:"toBool(data.interactionMessage)",reflectToAttribute:!0},genericErrorMessage:{type:Object},isTooltipVisible:{type:Boolean,value:!1,observer:"onIsTooltipVisibleChanged"},tooltipMessage:{type:String,computed:"computeTooltipMessage(data.onInitialFocusCommand)"},systemIcons:{type:Boolean,value:function(){return _.x("kevlar_system_icons")},
reflectToAttribute:!0}},behaviors:[_.U.YtRendererBehavior,_.Y.YtActionHandlerBehavior,JSb.YtPickerBehavior,_.X.YtRendererstamperBehavior,_.RB.YtLiveChatTooltipTargetingBehavior],stampDom:{"data.sendButton":{id:"send-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.headerRenderer.liveChatQnaInputPromptHeaderRenderer.closeButton":{id:"header-close-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.pickers":{id:"pickers",mapping:{emojiPickerRenderer:{component:"yt-emoji-picker-renderer",
properties:{emojiManager:"[[emojiManager]]"}},liveChatProductPickerRenderer:{component:"yt-live-chat-product-picker-renderer"},liveChatPollEditorPanelRenderer:{component:"yt-live-chat-poll-editor-panel-renderer",properties:{emojiManager:"[[emojiManager]]"}},liveChatQnaStartPanelRenderer:{component:"yt-live-chat-qna-start-panel-renderer"}}},"data.pickerButtons":{id:"picker-buttons",mapping:{liveChatIconToggleButtonRenderer:{component:"yt-live-chat-icon-toggle-button-renderer",properties:{disabled:"[[hasInteractionMessage]]"}},
buttonRenderer:{component:"yt-button-renderer",params:{buttonTooltipPosition:"top",sendServiceEndpointWhenDisabled:!0}}}},"data.interactionMessage":{id:"interaction-message",mapping:{messageRenderer:{component:"yt-live-chat-message-renderer",params:{subtextOnBottom:!0}}}},errorMessage:{id:"error-message",mapping:{liveChatErrorMessageRenderer:"yt-live-chat-error-message-renderer",liveChatTextActionsErrorMessageRenderer:"yt-live-chat-text-actions-error-message-renderer"}}},listeners:{"yt-live-chat-send-message":"sendMessage",
"yt-live-chat-icon-toggle-button-renderer-toggle":"handlePickerButtonToggle_","yt-emoji-select":"onEmojiSelect_","yt-service-request-completed":"onSendCompleted_","yt-service-request-error":"onSendError_","yt-live-chat-error-message-dismiss":"onErrorMessageDismiss_","yt-live-chat-error-message-edit":"onErrorMessageEdit_"},actionMap:{"yt-open-popup-action":"onOpenPopupAction","yt-close-popup-action":"onClosePopupAction","yt-live-chat-disable-before-focus-action":"onDisableBeforeFocus"},created:function(){this.lastTimeoutTimeMs_=
this.timeoutMs_=this.timeoutDurationMs_=this.numSentMessages_=0;this.pendingMessageId_="";this.hasFiredInitialFocusActions_=!1;this.isBeforeFocusEnabled_=!0},
dataChanged_:function(){this.data.sendButton&&this.data.sendButton.buttonRenderer&&(this.data.sendButton.buttonRenderer.isDisabled=this.sendDisabled)},
sendMessage:function(){var a=this,b,c,d;return _.y(function(e){if(a.sendDisabled)return e.return();a.isTooltipVisible&&_.C(a,"yt-close-popup-action",["yt-tooltip-renderer"]);if(a.data.sendButton&&a.data.sendButton.buttonRenderer){a.$.input.completeEmojis();b=a.data.sendButton.buttonRenderer.serviceEndpoint;if(!b)return e.return();c=b.sendLiveChatMessageEndpoint.clientIdPrefix||"";d={client_message_id:c+String(a.numSentMessages_++),rich_message:_.XE(a.$.input.liveChatRichMessageInput)};a.pendingMessageId_=
d.client_message_id;_.Kg(a,[b,d]);a.$.input.setLiveChatRichMessageInput(null)}_.bf(e)})},
handleSendButtonAction_:function(a){"yt-service-request"==a.detail.actionName&&(a.stopPropagation(),this.sendMessage())},
onSendCompleted_:function(a,b){(a=b.data.timeoutDurationUsec)&&this.handleTimeout_(Number(a)/1E3);this.errorMessage=b.data.errorMessage;this.pendingMessageId_=""},
onSendError_:function(){this.pendingMessageId_&&_.C(this,"yt-dim-chat-item-action",[{dimChatItemAction:{clientAssignedId:this.pendingMessageId_}}]);this.pendingMessageId_="";this.genericErrorMessage&&(this.errorMessage={liveChatErrorMessageRenderer:{errorText:this.genericErrorMessage}})},
handlePickerButtonToggle_:function(a){a=a.detail.targetId;this.togglePicker_(a);if("emoji"==a)this.$.input.focus();else if("qna-start-panel"==a){var b;null==(b=this.$$("yt-live-chat-qna-start-panel-renderer").querySelector("#qna-creator-text-input-field"))||b.focus()}},
onEmojiSelect_:function(a){this.$.input.focus();this.$.input.insertEmoji(a.detail)},
onDisableBeforeFocus:function(){this.isBeforeFocusEnabled_=!1},
onInputFocusIn:function(){this.data&&(this.data.beforeFocusCommand&&this.isBeforeFocusEnabled_?_.C(this,"yt-live-chat-actions",[[this.data.beforeFocusCommand]]):this.data.onInitialFocusCommand&&!this.hasFiredInitialFocusActions_&&(_.C(this,"yt-live-chat-actions",[[this.data.onInitialFocusCommand]]),this.hasFiredInitialFocusActions_=!0))},
onOpenPopupAction:function(a,b){b===this&&(this.isTooltipVisible=!0)},
onClosePopupAction:function(){this.isTooltipVisible=!1},
characterCountChanged_:function(a){if(this.maxCharacterLimit){a=a/this.maxCharacterLimit*100;var b=_.H(this.$.count);b.classList.toggle("early-warning",75<=a);b.classList.toggle("warning",90<=a);b.classList.toggle("error",100<a)}},
computeId:function(){return this.data&&this.data.targetId||""},
computeCountdownStrokeDashOffset_:function(a){return a*this.COUNTDOWN_RADIUS_*2*Math.PI},
computeCountdownActive_:function(a){return!!a},
computeSendDisabled_:function(a,b,c){a=!!(c||!a||b&&a>b);(b=this.$["send-button"])&&b.children.length&&(b.children[0].disabled=a);return a},
handleTimeout_:function(a){this.timeoutDurationMs_=this.timeoutMs_=a;this.countdownRatio=1;0==this.lastTimeoutTimeMs_&&window.requestAnimationFrame(this.updateTimeout_.bind(this))},
updateTimeout_:function(a){this.lastTimeoutTimeMs_&&(this.timeoutMs_=Math.max(0,this.timeoutMs_-(a-this.lastTimeoutTimeMs_)),this.countdownRatio=this.timeoutMs_/this.timeoutDurationMs_);this.isAttached&&this.timeoutMs_?(this.lastTimeoutTimeMs_=a,window.requestAnimationFrame(this.updateTimeout_.bind(this))):this.lastTimeoutTimeMs_=0},
onErrorMessageDismiss_:function(){this.errorMessage=void 0},
onErrorMessageEdit_:function(a){this.$.input.setLiveChatRichMessageInput(a.detail);this.$.input.focusAtEnd();this.errorMessage=void 0},
errorMessageChanged_:function(){this.async(function(){_.C(this,"yt-live-chat-maybe-scroll-to-bottom")})},
toBool:function(a){return!!a},
computeTooltipMessage:function(){var a=this.get("data.onInitialFocusCommand.showLiveChatTooltipCommand.tooltip.tooltipRenderer.detailsText");return a?this.getSimpleString(a):""},
onIsTooltipVisibleChanged:function(){var a=this.$["tooltip-accessibility-text"];this.isTooltipVisible?setTimeout(function(){a.hidden=!1;a.setAttribute("role","alert")},0):(a.hidden=!0,a.removeAttribute("role","alert"))}});
var jVb;
var kVb;
var M9=function(){return _.K.apply(this,arguments)||this};
_.q(M9,_.K);M9.prototype.configureRendererStamper=function(){return{"data.button":{id:"button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
_.t.Object.defineProperties(M9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-ninja-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_ninja_message_renderer.yt.live.chat.ninja.message.renderer.css.js--\x3e<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 736.2 663.8">\n  <polygon fill="#E62117" points="444.1,149.9 434.4,130.6 638,28.8 637.9,53 "></polygon>\n  <polygon fill="#E62117" points="709.2,140.6 487.6,140.6 487.6,119 709.2,119 703.8,129.8 "></polygon>\n  <polygon fill="#455A64" points="304.6,257.9 164.9,327.7 304.6,327.7 "></polygon>\n  <polygon fill="#78909C" points="137.4,327.7 47.9,149.3 75.5,149.3 165,327.7 "></polygon>\n  <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="113.3782" y1="327.7321" x2="113.3782" y2="149.2782">\n    <stop offset="0.2649" style="stop-color:#B0BEC5;stop-opacity:0"></stop>\n    <stop offset="0.3247" style="stop-color:#B0BEC5;stop-opacity:0.1096"></stop>\n    <stop offset="0.8105" style="stop-color:#B0BEC5"></stop>\n    <stop offset="1" style="stop-color:#B0BEC5"></stop>\n  </linearGradient>\n  <polygon fill="url(#SVGID_1_)" points="151.3,327.7 61.7,149.3 75.5,149.3 165,327.7 "></polygon>\n  <polygon fill="#455A64" points="164.5,381.8 137.4,327.7 165,327.7 192,381.8 "></polygon>\n  <path fill="#546E7A" d="M208.1,74.5h265.2c18.1,0,32.8,14.7,32.8,32.8v99.8c0,18.1-14.7,32.8-32.8,32.8H208.1\n    c-18.1,0-32.8-14.7-32.8-32.8v-99.8C175.2,89.2,189.9,74.5,208.1,74.5z"></path>\n  <path fill="#455A64" d="M208.1,74.5c-18.1,0-32.8,14.7-32.8,32.8v99.8c0,18.1,14.7,32.8,32.8,32.8h88.5L213.8,74.5H208.1z"></path>\n  <path fill="#B0BEC5" d="M225.6,121.1h196.1c8.7,0,15.8,7.1,15.8,15.8v34.6c0,8.7-7.1,15.8-15.8,15.8H225.6\n    c-8.7,0-15.8-7.1-15.8-15.8v-34.6C209.8,128.1,216.9,121.1,225.6,121.1z"></path>\n  <path fill="#90A4AE" d="M225.6,121.1c-8.7,0-15.8,7.1-15.8,15.8v34.6c0,8.7,7.1,15.8,15.8,15.8H270l-32.8-66.2H225.6z"></path>\n  <polygon fill="#546E7A" points="460.1,361 473.4,387.5 439.5,387.5 319.6,387.5 273.7,295.7 304.6,257.9 408.6,257.9 "></polygon>\n  <polygon fill="#455A64" points="319.6,387.5 273.7,295.7 304.6,257.9 304.6,257.9 369.4,387.5 "></polygon>\n  <rect x="359.4" y="257.9" fill="#546E7A" width="174.7" height="49"></rect>\n  <rect x="467.3" y="284.5" fill="#546E7A" width="86.2" height="22.4"></rect>\n  <polygon fill="#546E7A" points="524.8,306.9 558.6,239.3 533.8,239.3 500,306.9 "></polygon>\n  <polygon fill="#E62117" points="195.6,312.4 203.2,327.7 228,327.7 215.4,302.5 "></polygon>\n  <circle fill="#455A64" cx="292.8" cy="158.3" r="7.3"></circle>\n  <polygon fill="#455A64" points="307.6,156.2 254.5,156.2 250.7,148.4 303.7,148.4 "></polygon>\n  <path fill="#455A64" d="M439.5,387.5h33.7l50.7,101.3c7.6,15.3,0,32.7-14.4,38.7c-3.3,1.4-6.9,2.1-10.8,2.1H482l-71.1-142.1H439.5z"></path>\n  <polygon fill="#455A64" points="321.7,493.2 265.3,380.5 326.1,380.5 378.2,484.6 "></polygon>\n  <rect x="324.6" y="382.3" fill="#455A64" width="129.3" height="48.1"></rect>\n  <polygon fill="#455A64" points="380.5,489.5 321.7,519.1 321.7,492.4 370.8,469.7 "></polygon>\n  <polygon fill="#455A64" points="562.8,376.7 568.2,365.8 345.7,365.8 356.5,387.5 568.2,387.5 "></polygon>\n  <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="354.6881" y1="483.0591" x2="354.6881" y2="430.3408">\n    <stop offset="0" style="stop-color:#546E7A;stop-opacity:0"></stop>\n    <stop offset="0.1096" style="stop-color:#546E7A;stop-opacity:0.1096"></stop>\n    <stop offset="1" style="stop-color:#546E7A"></stop>\n  </linearGradient>\n  <polygon fill="url(#SVGID_2_)" points="358.2,483.1 331.8,430.3 351.2,430.3 377.5,483.1 "></polygon>\n  <radialGradient id="SVGID_3_" cx="289.0834" cy="161.1522" r="33.5974" gradientTransform="matrix(1 0 0 0.6551 0 55.5749)" gradientUnits="userSpaceOnUse">\n    <stop offset="2.848436e-02" style="stop-color:#90A4AE"></stop>\n    <stop offset="0.6576" style="stop-color:#90A4AE;stop-opacity:0.1096"></stop>\n    <stop offset="0.7351" style="stop-color:#90A4AE;stop-opacity:0"></stop>\n  </radialGradient>\n  <rect x="255" y="162.6" fill="url(#SVGID_3_)" width="68.2" height="23.2"></rect>\n  <polygon fill="#90A4AE" points="307.6,187.2 323.2,155.9 323.2,187.2 "></polygon>\n  <linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="486.4095" y1="478.4201" x2="486.4095" y2="387.4736">\n    <stop offset="0" style="stop-color:#546E7A;stop-opacity:0"></stop>\n    <stop offset="0.1096" style="stop-color:#546E7A;stop-opacity:0.1096"></stop>\n    <stop offset="1" style="stop-color:#546E7A"></stop>\n  </linearGradient>\n  <polygon fill="url(#SVGID_4_)" points="453.9,387.5 499.6,478.4 518.9,478.4 473.2,387.5 "></polygon>\n  <linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="438.1545" y1="365.8345" x2="438.1545" y2="306.9229">\n    <stop offset="0" style="stop-color:#90A4AE;stop-opacity:0"></stop>\n    <stop offset="0.1096" style="stop-color:#90A4AE;stop-opacity:0.1096"></stop>\n    <stop offset="1" style="stop-color:#90A4AE"></stop>\n  </linearGradient>\n  <polygon opacity="0.25" fill="url(#SVGID_5_)" points="413.8,306.9 443.2,365.8 462.5,365.8 433.1,306.9 "></polygon>\n  <polygon fill="#455A64" points="392.4,131 403.1,152.3 392.4,152.3 349.9,152.3 "></polygon>\n  <polygon fill="#B0BEC5" points="388.3,142.9 394.4,155 388.3,155 364.1,155 "></polygon>\n  <circle fill="#455A64" cx="382.4" cy="158.3" r="7.3"></circle>\n  <radialGradient id="SVGID_6_" cx="379.2258" cy="161.1522" r="33.5974" gradientTransform="matrix(1 0 0 0.6551 0 55.5749)" gradientUnits="userSpaceOnUse">\n    <stop offset="2.848436e-02" style="stop-color:#90A4AE"></stop>\n    <stop offset="0.6576" style="stop-color:#90A4AE;stop-opacity:0.1096"></stop>\n    <stop offset="0.7351" style="stop-color:#90A4AE;stop-opacity:0"></stop>\n  </radialGradient>\n  <rect x="345.1" y="162.6" fill="url(#SVGID_6_)" width="68.2" height="23.2"></rect>\n  <radialGradient id="SVGID_7_" cx="493.458" cy="593.8665" r="187.2073" gradientTransform="matrix(1 0 0 0.3214 0 402.9698)" gradientUnits="userSpaceOnUse">\n    <stop offset="0.3451" style="stop-color:#90A4AE;stop-opacity:0.5"></stop>\n    <stop offset="0.655" style="stop-color:#90A4AE;stop-opacity:5.479714e-02"></stop>\n    <stop offset="0.6931" style="stop-color:#90A4AE;stop-opacity:0"></stop>\n  </radialGradient>\n  <path fill="url(#SVGID_7_)" d="M574.2,623.8H412.7c-16.5,0-30-13.4-30-30v0c0-16.5,13.4-30,30-30h161.5c16.5,0,30,13.4,30,30v0\n    C604.1,610.4,590.7,623.8,574.2,623.8z"></path>\n  <rect x="503.7" y="257.9" fill="#E62117" width="20.8" height="49"></rect>\n</svg>\n<yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n<div id="button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_ninja_message_renderer.yt.live.chat.ninja.message.renderer.css.js--\x3e<style>:host {background: var(--yt-spec-general-background-a);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} svg {width: 300px;height: 190px;} #button {margin-top: 12px;} yt-formatted-string {padding: 0 15px;text-align: center;} /*# sourceMappingURL=yt-live-chat-ninja-message-renderer.css.map*/</style>";
jVb=d}d=jVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kVb=a}a=kVb;return a}}});
var N9=M9;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],N9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N9.prototype,"data",void 0);N9=_.S([_.Q({is:"yt-live-chat-ninja-message-renderer"})],N9);
var lVb;
var mVb;
var nVb;
var oVb;
_.Ng({is:"yt-live-chat-participant-renderer",_template:function(){if(void 0!==oVb)return oVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-participant-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_participant_renderer.yt.live.chat.participant.renderer.css.js--\x3e<div id="container" user-type$="[[data.userType]]">\n  <yt-img-shadow height="24" thumbnail="[[data.authorPhoto]]" width="24"></yt-img-shadow>\n  <yt-live-chat-author-chip author-badges="[[data.authorBadges]]" author-name="[[data.authorName]]">\n  </yt-live-chat-author-chip>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_participant_renderer.yt.live.chat.participant.renderer.css.js--\x3e<style>#container {padding: 4px 0;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-img-shadow {margin: 0 16px 0 24px;overflow: hidden;border-radius: 50%;} yt-img-shadow:not([loaded]) {background-color: #444;} /*# sourceMappingURL=yt-live-chat-participant-renderer.css.map*/</style>";
nVb=d}d=nVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return oVb=a},
properties:{data:Object},behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior]});
_.Ng({is:"yt-live-chat-participant-list-renderer",_template:function(){if(void 0!==mVb)return mVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-participant-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_participant_list_renderer.yt.live.chat.participant.list.renderer.css.js--\x3e<div id="header" role="heading" aria-label$="[[getSimpleString(data.title)]]">\n  <div id="back-button" on-click="onBackButtonClick_"></div>\n  [[getSimpleString(data.title)]]\n</div>\n<div id="participants"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_participant_list_renderer.yt.live.chat.participant.list.renderer.css.js--\x3e<style>:host {color: var(--yt-live-chat-primary-text-color,var(--yt-spec-text-primary));z-index: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {padding: 8px;height: 48px;box-sizing: border-box;background-color: var(--yt-live-chat-action-panel-background-color,var(--yt-deprecated-opalescence-soft-grey-opacity-lighten-3));font-size: var(--yt-live-chat-header-font-size,18px);line-height: 24px;box-shadow: var(--yt-live-chat-header-box-shadow);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: none;-webkit-flex: none;flex: none;z-index: 1;} #header:focus {outline: none;} #back-button {margin: 0 8px;} #back-button>* {--yt-button-color: var(--yt-live-chat-primary-text-color, var(--yt-deprecated-luna-black-opacity-lighten-3));} #participants {overflow-y: auto;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;padding: 4px 0;} /*# sourceMappingURL=yt-live-chat-participant-list-renderer.css.map*/</style>";
lVb=d}d=lVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return mVb=a},
properties:{data:Object,participantsManager:Object},behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],stampDom:{"data.backButton":{id:"back-button",mapping:{buttonRenderer:"yt-button-renderer"}},"participantsManager.participants":{id:"participants",mapping:{liveChatParticipantRenderer:"yt-live-chat-participant-renderer",liveChatTextMessageRenderer:"yt-live-chat-participant-renderer",liveChatLegacyPaidMessageRenderer:"yt-live-chat-participant-renderer",liveChatPaidMessageRenderer:"yt-live-chat-participant-renderer"},
reuseComponents:!0}},observers:["updateParticipantManagerListeners_(isAttached, participantsManager)"],monitorScroll:!0,created:function(){this.activeParticipantsManager_=null},
updateParticipantManagerListeners_:function(a,b){a?(this.activeParticipantsManager_&&(this.unlisten(this.activeParticipantsManager_,"participants-changed","onParticipantsChanged_"),this.activeParticipantsManager_=null),b&&(this.listen(b,"participants-changed","onParticipantsChanged_"),this.activeParticipantsManager_=b,this.onParticipantsChanged_())):this.activeParticipantsManager_&&(this.unlisten(this.activeParticipantsManager_,"participants-changed","onParticipantsChanged_"),this.activeParticipantsManager_=
null)},
onParticipantsChanged_:function(){this.notifyPath("participantsManager.participants")},
onBackButtonClick_:function(){this.fire("yt-participants-back-button")},
focus:function(){this.invalidate(!0);this.async(function(){var a=_.yNa(this);a&&a.focus()})}});
var pVb;
var qVb;
_.Ng({is:"yt-live-chat-pinned-message-renderer",_template:function(){if(void 0!==qVb)return qVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-pinned-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_pinned_message_renderer.yt.live.chat.pinned.message.renderer.css.js--\x3e<div id="fade" on-click="onFadeClick_"></div>\n<div id="message"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_pinned_message_renderer.yt.live.chat.pinned.message.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {display: block;padding-top: 4px;z-index: 2;--yt-pdg-paid-stickers-author-name-font-size: 14px;--yt-pdg-paid-stickers-author-subtext-font-size: 15px;--yt-pdg-paid-stickers-margin-left: 56px;--yt-live-chat-item-timestamp-display: none;} #fade {background-color: var(--yt-live-chat-overlay-color);bottom: -100vh;left: 0;position: absolute;right: 0;top: 0;} #message {left: 0;margin-right: var(--scrollbar-width);position: absolute;right: 0;} yt-live-chat-paid-sticker-renderer {margin: 4px 24px;border-radius: 4px;min-height: 40px;background-color: var(--yt-spec-brand-background-primary);box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} /*# sourceMappingURL=yt-live-chat-pinned-message-renderer.css.map*/</style>";
pVb=d}d=pVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return qVb=a},
behaviors:[_.X.YtRendererstamperBehavior],stampDom:{"data.renderer":{id:"message",mapping:{liveChatLegacyPaidMessageRenderer:{component:"yt-live-chat-legacy-paid-message-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatMembershipItemRenderer:{component:"yt-live-chat-membership-item-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatPaidMessageRenderer:{component:"yt-live-chat-paid-message-renderer",
properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}},liveChatPaidStickerRenderer:{component:"yt-live-chat-paid-sticker-renderer",params:{authorPhotoSize:40}},liveChatSponsorshipsGiftPurchaseAnnouncementRenderer:{component:"ytd-sponsorships-live-chat-gift-purchase-announcement-renderer"}},reuseComponents:!0}},properties:{data:{type:Object,value:null,observer:"dataChanged_"},emojiManager:Object},listeners:{"yt-service-request-completed":"onServiceRequestCompleted_"},
dataChanged_:function(a){this.hidden=!a;if(a&&(a=a.renderer)){var b=Object.keys(a)[0];(a=a[b])&&a.authorPhoto&&(a.authorPhoto.webThumbnailDetailsExtensionData={isPreloaded:!0})}},
onFadeClick_:function(){this.fire("yt-live-chat-clear-pinned-message")},
onServiceRequestCompleted_:function(a,b){var c=this;b.actions&&b.actions.forEach(function(d){d.markChatItemAsDeletedAction&&c.fire("yt-live-chat-clear-pinned-message")})}});
var rVb;
var sVb;
var tVb=[_.Y.YtActionHandlerBehavior,{properties:{playerProgressSec:{type:Number,readOnly:!0},data:{type:Object,observer:"handleParentDataChange_"},isSeeking:{type:Boolean,value:!1,readOnly:!0},playerState:{type:Number,readOnly:!0},isAdPlaying:{type:Boolean,value:!1,readOnly:!0}},observers:["observeReplayState_(isAdPlaying, isSeeking, playerState)"],behaviorActionMap_:{"yt-live-player-video-progress":"handlePlayerVideoProgress_","yt-live-player-ad-start":"handlePlayerAdStart_","yt-live-player-ad-end":"handlePlayerAdEnd_",
"yt-live-player-state-change":"handlePlayerStateChange_","yt-live-chat-seek-success":"handleChatSeekSuccess_","yt-live-chat-seek-fail":"handleChatSeekFail_","yt-live-chat-reload-success":"handleReloadSuccess_","ytg-player-video-progress":"handleGamingPlayerVideoProgress_"},attached:function(){this.replayBuffer_=new cTb;this.currentPlayerState_={};this.registerActionMap(this.behaviorActionMap_)},
detached:function(){this.unregisterActionMap(this.behaviorActionMap_);this.replayBuffer_=null},
addReplayChatItemAction:function(a){this.replayBuffer_&&this.replayBuffer_.addReplayChatItemAction(a)},
handlePlayerVideoProgress_:function(a){this.playerProgressChanged_(a)},
handleGamingPlayerVideoProgress_:function(a,b,c){this.playerProgressChanged_(a,b,c)},
handlePlayerAdStart_:function(){this._setIsAdPlaying(!0)},
handlePlayerAdEnd_:function(){this._setIsAdPlaying(!1)},
handlePlayerStateChange_:function(a){this._setPlayerState(a)},
observeReplayState_:function(a,b,c){this.data&&this.data.isReplay&&(a||b||2==c||3==c?_.Jg(this,"yt-live-chat-pause-replay"):1==c&&_.Jg(this,"yt-live-chat-resume-replay"))},
preprocessSeekResponseActions_:function(a){this.replayBuffer_.clear();a.forEach(function(b){b.replayChatItemAction&&(this.addReplayChatItemAction(b.replayChatItemAction),b.replayChatItemAction.actions&&this.preprocessActions_(b.replayChatItemAction.actions))},this)},
playerProgressChanged_:function(a,b,c){if((this.data.isReplay||c)&&!this.isAdPlaying){_.Jg(this,"yt-live-chat-replay-progress",[a]);this.currentPlayerState_={};b&&(this.currentPlayerState_.videoId=b);c&&(this.currentPlayerState_.watchPartyId=c);b=1E3*a;this.currentPlayerState_.playerOffsetMs=Math.floor(b).toString();c=this.$$("yt-live-chat-replay-continuation");var d=this.$$("yt-player-seek-continuation");this._setPlayerProgressSec(a);d&&d.maybeFireSeekContinuation(a,this.replayBuffer_.lastVideoOffsetTimeMsec)?
(this._setIsSeeking(!0),this.replayBuffer_.clear(),_.H(this).setAttribute("loading","")):this.isSeeking_||(c&&this.replayBuffer_.lastVideoOffsetTimeMsec&&(c.timeRemainingMsecs=this.replayBuffer_.lastVideoOffsetTimeMsec-b),this.immediatelyApplyLiveChatActions(dTb(this.replayBuffer_,b)))}},
handleChatSeekSuccess_:function(){this._setIsSeeking(!1);this.immediatelyApplyLiveChatActions(dTb(this.replayBuffer_,1E3*this.playerProgressSec));_.H(this).removeAttribute("loading")},
handleChatSeekFail_:function(){this._setIsSeeking(!1);_.H(this).removeAttribute("loading")},
handleReloadSuccess_:function(){_.H(this).removeAttribute("loading")},
handleParentDataChange_:function(a,b){b&&b.isReplay&&this.replayBuffer_.clear()}}];
_.Ng({is:"yt-live-chat-replay-continuation",properties:{data:{type:Object,observer:"dataChanged_"},timeRemainingMsecs:{type:Number,observer:"timeRemainingChanged_"}},created:function(){this.hasFired_=!1},
dataChanged_:function(){this.hasFired_=!1},
timeRemainingChanged_:function(a){this.data&&!this.hasFired_&&a<=this.data.timeUntilLastMessageMsec&&(this.hasFired_=!0,this.fire("yt-load-replay-continuation",this.getContinuationUrl.bind(this)))},
getContinuationUrl:function(a){var b={ctoken:this.data.continuation};this.data.clickTrackingParams&&(b.itct=this.data.clickTrackingParams);return _.vd(a,b)}});
var uVb;
var vVb;
_.Ng({is:"yt-live-chat-restricted-participation-renderer",_template:function(){if(void 0!==vVb)return vVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-restricted-participation-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_restricted_participation_renderer.yt.live.chat.restricted.participation.renderer.css.js--\x3e<div id="container">\n  <iron-pages id="pickers" attr-for-selected="id" selected-attribute="selected"></iron-pages>\n  <div id="explanation">\n    <yt-icon id="icon" hidden$="[[!data.icon]]" icon="[[data.icon.iconType]]" on-click="onClick">\n    </yt-icon>\n    <div id="body" on-click="onClick">\n      <div id="message">[[getSimpleString(data.message)]]</div><div id="message-button"></div>\n    </div>\n    <div id="picker-buttons"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_restricted_participation_renderer.yt.live.chat.restricted.participation.renderer.css.js--\x3e<style>@charset "UTF-8"; #picker-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #picker-buttons>* {color: var(--yt-live-chat-picker-button-color);} #picker-buttons :hover {color: var(--yt-live-chat-picker-button-hover-color);} #picker-buttons [active] {color: var(--yt-live-chat-picker-button-active-color);} #picker-buttons [disabled] {color: var(--yt-live-chat-picker-button-disabled-color);} :host([system-icons]) #picker-buttons>* {color: var(--yt-spec-text-primary);} :host {display: block;box-sizing: border-box;} #container {padding: 0 16px 0 24px;background: var(--yt-live-chat-action-panel-background-color,var(--yt-deprecated-opalescence-soft-grey-opacity-lighten-3));color: var(--yt-live-chat-secondary-text-color,var(--yt-spec-text-secondary));font-size: 14px;} #explanation {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;min-height: 48px;} #icon {width: 24px;height: 24px;margin-right: 16px;color: var(--yt-spec-icon-disabled,var(--yt-live-chat-disabled-icon-button-color));-ms-flex: none;-webkit-flex: none;flex: none;} #body {padding: 11px 0 10px;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #message {display: inline;} #message-button {padding-top: 3px;display: inline;--yt-paper-button-min-width: 0;--yt-button-padding: 0 0;--yt-paper-button-font-size: 14px;} #message-button:not(:empty)::before {display: inline;padding: 0 5px;content: "\u00b7";font-weight: 500;} :host([creator-open]) #explanation,:host([product-picker-open]) #explanation {display: none;} :host([creator-open]) #container {padding: 8px 16px 8px 24px;} :host([product-picker-open]) #container {padding: 8px 16px;margin: 0 -8px;} /*# sourceMappingURL=yt-live-chat-restricted-participation-renderer.css.map*/</style>';
uVb=d}d=uVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return vVb=a},
properties:{data:Object,systemIcons:{type:Boolean,value:function(){return _.x("kevlar_system_icons")},
reflectToAttribute:!0}},behaviors:[JSb.YtPickerBehavior,_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],stampDom:{"data.buttons":{id:"picker-buttons",mapping:{buttonRenderer:"yt-button-renderer",liveChatIconToggleButtonRenderer:"yt-live-chat-icon-toggle-button-renderer"}},"data.inlineAfterMessageButton":{id:"message-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.panels":{id:"pickers",mapping:{liveChatProductPickerRenderer:"yt-live-chat-product-picker-renderer"}}},listeners:{"yt-live-chat-icon-toggle-button-renderer-toggle":"onButtonToggle"},
created:function(){this.firedOnClickCommand=!1},
onButtonToggle:function(a){a.target.disabled||this.togglePicker_(a.detail.targetId)},
onClick:function(){var a=this;this.get("onClickCommand.liveChatAddToToastAction",this.data)&&!this.firedOnClickCommand&&(_.C(this,"yt-live-chat-add-to-toast-action",[this.data.onClickCommand]),this.firedOnClickCommand=!0,setTimeout(function(){return a.firedOnClickCommand=!1},5E3))}});
var wVb;
var xVb;
var yVb;
var zVb;
_.Ng({is:"yt-live-chat-ticker-sponsor-item-renderer",_template:function(){if(void 0!==zVb)return zVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-ticker-sponsor-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_ticker_sponsor_item_renderer.yt.live.chat.ticker.sponsor.item.renderer.css.js--\x3e<div id="container" style$="[[containerStyle]]" dir="ltr">\n  <div id="content">\n    <yt-img-shadow id="author-photo" height="24" hidden$="[[!data.sponsorPhoto]]" thumbnail="[[data.sponsorPhoto]]" width="24"></yt-img-shadow>\n    <template is="dom-if" if="[[data.detailIcon]]">\n      <div id="icon-spacer"><yt-icon id="detail-icon" default-to-filled="true" icon="[[data.detailIcon.iconType]]"></yt-icon></div>\n    </template>\n    <span id="text">[[getSimpleString(data.detailText)]]</span>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_ticker_sponsor_item_renderer.yt.live.chat.ticker.sponsor.item.renderer.css.js--\x3e<style>:host {display: inline-block;font-size: 14px;outline: none;transition: width 0.2s;vertical-align: top;cursor: pointer;-moz-user-select: none;-ms-user-select: none;-webkit-user-select: none;user-select: none;} #container {border-radius: 999px;padding: 4px;} :host(.sliding-down) #container {opacity: 0.5;transform: translateY(44px);transition: opacity 0.2s,transform 0.2s cubic-bezier(0.4,0,1,1);} :host(.collapsing) {margin-right: 0;transition: margin-right 0.2s cubic-bezier(0.4,0,0.2,1),width 0.2s cubic-bezier(0.4,0,0.2,1);} :host([dimmed]) {opacity: 0.5;} yt-img-shadow {margin-right: -4px;overflow: hidden;border-radius: 50%;} #content {height: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #text {margin: 0 8px;font-weight: 500;} :host([is-deleted]) #author-photo {display: none;} #detail-icon {width: 18px;height: 18px;} #icon-spacer {margin-left: 5px;margin-right: -8px;} /*# sourceMappingURL=yt-live-chat-ticker-sponsor-item-renderer.css.map*/</style>";
yVb=d}d=yVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return zVb=a},
properties:{data:{type:Object,observer:"dataChanged"},hidden:{type:Boolean,value:!1,computed:"truthy(isDeleted)",reflectToAttribute:!0}},behaviors:[_.U.YtRendererBehavior,$Sb,_.g_a.YtLiveChatMembershipItemBehavior],computeAriaLabel:function(a){var b,c,d,e;return null!=(e=null==a?void 0:null==(b=a.detailText)?void 0:null==(c=b.accessibility)?void 0:null==(d=c.accessibilityData)?void 0:d.label)?e:this.getSimpleString(a.detailText)},
dataChanged:function(a){a&&(this.$.content.style.color=this.colorFromDecimal(a.detailTextColor),this.ariaLabel=this.computeAriaLabel(a),this.startCountdown(a.durationSec,a.fullDurationSec),this.async(this.setContainerWidth))}});
var O9=function(){var a=_.K.apply(this,arguments)||this;a.isScrolledLeft=!0;a.items=[];a.isReplayPaused=!1;a.actionMap={"yt-live-chat-actions":"handleLiveChatActions","yt-remove-chat-item-action":"handleLiveChatAction","yt-mark-chat-item-as-deleted-action":"handleLiveChatAction","yt-mark-chat-items-by-author-as-deleted-action":"handleLiveChatAction","yt-live-chat-seek-success":"handleChatSeekSuccess","yt-live-chat-pause-replay":"handlePauseReplay","yt-live-chat-resume-replay":"handleResumeReplay"};
return a};
_.q(O9,_.K);_.f=O9.prototype;
_.f.configureRendererStamper=function(){return{items:{id:"items",mapping:{liveChatTickerPaidMessageItemRenderer:{component:"yt-live-chat-ticker-paid-message-item-renderer",properties:{shouldAnimateIn:"[[shouldAnimateIn]]",isAnimationPaused:"[[isReplayPaused]]"}},liveChatTickerPaidStickerItemRenderer:{component:"yt-live-chat-ticker-paid-sticker-item-renderer",properties:{shouldAnimateIn:"[[shouldAnimateIn]]",isAnimationPaused:"[[isReplayPaused]]"}},liveChatTickerSponsorItemRenderer:{component:"yt-live-chat-ticker-sponsor-item-renderer",properties:{shouldAnimateIn:"[[shouldAnimateIn]]",
isAnimationPaused:"[[isReplayPaused]]"}}},reuseComponents:!0}}};
_.f.created=function(){this.asyncHandle=null;this.shouldAnimateIn=!1;this.scrollClampRaf=this.lastFrameTimestamp=null;this.scrollStartTime=this.scrollRatePixelsPerSecond=0;this.scrollStopHandle=null};
_.f.attached=function(){this.keepScrollClamped()};
_.f.detached=function(){this.scrollClampRaf&&window.cancelAnimationFrame(this.scrollClampRaf);this.stopScrolling();this.shouldAnimateIn=!1};
_.f.dataChanged=function(){this.clearList()};
_.f.markDirty=function(){};
_.f.markAsDeleted=function(){};
_.f.clearList=function(){window.cancelAnimationFrame(this.scrollClampRaf||0);this.cancelAsync(this.scrollStopHandle||0);window.cancelAnimationFrame(this.asyncHandle||0);this.items=[];this.asyncHandle=null;this.shouldAnimateIn=!1;this.scrollClampRaf=this.lastFrameTimestamp=null;this.scrollStartTime=this.scrollRatePixelsPerSecond=0;this.scrollStopHandle=null};
_.f.handleLiveChatActions=function(a){a.length&&(a.forEach(this.handleLiveChatAction,this),this.updateHighlightedItem(),this.shouldAnimateIn=!0)};
_.f.handleLiveChatAction=function(a){a.addLiveChatTickerItemAction?this.unshift("items",a.addLiveChatTickerItemAction.item):a.markChatItemAsDeletedAction?this.handleMarkChatItemAsDeletedAction(a.markChatItemAsDeletedAction):a.removeChatItemAction?this.removeTickerItemById(a.removeChatItemAction.targetItemId):a.markChatItemsByAuthorAsDeletedAction&&this.handleMarkChatItemsByAuthorAsDeletedAction(a.markChatItemsByAuthorAsDeletedAction)};
_.f.maybeClampScroll=function(){if(this.highlightId){var a=this.$$("#"+this.highlightId),b=a.offsetLeft;a=b+a.offsetWidth;var c=this.$.items,d=c.scrollLeft;c=d+c.offsetWidth-24;b=d+24-b;0<b&&(this.$.items.scrollLeft-=b);b=a-c;0<b&&(this.$.items.scrollLeft+=b)}};
_.f.keepScrollClamped=function(){this.scrollClampRaf=window.requestAnimationFrame(this.keepScrollClamped.bind(this));this.maybeClampScroll()};
_.f.onMouseEnter=function(){this.stopScrolling()};
_.f.onMouseLeave=function(){this.scrollRatePixelsPerSecond=0;this.highlightId||this.async(this.startScrollBack,400)};
_.f.onRemoveTickerItem=function(a,b){this.removeTickerItemById(b)};
_.f.startScrollBack=function(){this.startScrolling(-1200)};
_.f.startScrollingLeft=function(){this.startScrolling(-480)};
_.f.startScrollingRight=function(){this.startScrolling(480)};
_.f.startScrolling=function(a){this.scrollStopHandle&&this.cancelAsync(this.scrollStopHandle);this.asyncHandle&&window.cancelAnimationFrame(this.asyncHandle);this.scrollStartTime=performance.now();this.lastFrameTimestamp=performance.now();this.scrollRatePixelsPerSecond=a;this.asyncHandle=window.requestAnimationFrame(this.scrollIncrementally.bind(this))};
_.f.scrollIncrementally=function(a){this.$.items.scrollLeft+=(a-(this.lastFrameTimestamp||0))/1E3*(this.scrollRatePixelsPerSecond||0);this.maybeClampScroll();this.updateArrows();this.lastFrameTimestamp=a;0<this.$.items.scrollLeft||this.scrollRatePixelsPerSecond&&0<this.scrollRatePixelsPerSecond?this.asyncHandle=window.requestAnimationFrame(this.scrollIncrementally.bind(this)):this.stopScrolling()};
_.f.maybeStopScrolling=function(){var a=performance.now()-(this.scrollStartTime||0);400<a?this.stopScrolling():this.scrollStopHandle=this.async(this.stopScrolling,400-a)};
_.f.stopScrolling=function(){this.updateArrows();this.lastFrameTimestamp=null;this.asyncHandle&&window.cancelAnimationFrame(this.asyncHandle)};
_.f.removeTickerItemById=function(a){if(a){var b=this.$$('[id="'+a+'"]');if(b){for(var c=this.$.items.children,d=0;d<c.length;d++)if(c[d]===b){this.splice("items",d,1);this.markDirty();break}this.highlightId===a&&(this.highlightId=void 0)}}};
_.f.handleMarkChatItemAsDeletedAction=function(a){for(var b=0;b<this.items.length;b++){var c=this.items[b],d=Object.keys(c)[0];c=c[d];d=void 0;if((null==(d=c)?void 0:d.id)===a.targetItemId){this.$.items.children[b].markAsDeleted(a.deletedStateMessage,a.showOriginalContentMessage);this.removeTickerItemById(c.id);break}}};
_.f.handleMarkChatItemsByAuthorAsDeletedAction=function(a){for(var b=this.items.slice(),c=b.length-1;0<=c;c--){var d=b[c],e=Object.keys(d)[0];(d=d[e])&&d.authorExternalChannelId===a.externalChannelId&&(this.$.items.children[c].markAsDeleted(a.deletedStateMessage,a.showOriginalContentMessage),this.removeTickerItemById(d.id))}};
_.f.onNavigate=function(a){var b;this.highlightId=null==(b=_.H(a).rootTarget)?void 0:b.id};
_.f.highlightIdChanged=function(){this.updateHighlightedItem();this.highlightId||this.async(this.startScrollBack,400)};
_.f.updateHighlightedItem=function(){_.pd(this.$.items.children,function(a){a.dimmed=this.highlightId&&a.id!==this.highlightId;a.selected=this.highlightId&&a.id===this.highlightId},this)};
_.f.itemsChanged=function(){var a=this.items.length;this.updateArrows();this.hidden=!a};
_.f.updateArrows=function(){this.isScrolledLeft=0===this.$.items.scrollLeft;this.isScrolledRight=this.$.items.scrollLeft>=this.$.items.scrollWidth-this.$.container.clientWidth};
_.f.handleChatSeekSuccess=function(){this.clearList()};
_.f.handlePauseReplay=function(){this.isReplayPaused=!0};
_.f.handleResumeReplay=function(){this.isReplayPaused=!1};
_.t.Object.defineProperties(O9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-ticker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_ticker_renderer.yt.live.chat.ticker.renderer.css.js--\x3e<div id="container" dir="ltr">\n  <div id="items" on-scroll="markDirty"></div>\n  <div id="left-arrow-container" hidden$="[[isScrolledLeft]]">\n    <yt-icon icon="yt-icons:arrow-back" on-down="startScrollingLeft" on-up="maybeStopScrolling"></yt-icon>\n  </div>\n  <div id="right-arrow-container" hidden$="[[isScrolledRight]]">\n    <yt-icon icon="yt-icons:arrow-forward" on-down="startScrollingRight" on-up="maybeStopScrolling"></yt-icon>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_ticker_renderer.yt.live.chat.ticker.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-live-chat-header-background-color);} #container {position: relative;} #items {height: 32px;overflow: hidden;white-space: nowrap;padding: 0 24px 8px;} #items>* {margin-right: 8px;} #left-arrow-container {background: linear-gradient(to right,var(--yt-live-chat-ticker-arrow-background) 0,var(--yt-live-chat-ticker-arrow-background) 52px,transparent 60px);left: 0;padding: 0 16px 0 12px;} #right-arrow-container {background: linear-gradient(to left,var(--yt-live-chat-ticker-arrow-background) 0,var(--yt-live-chat-ticker-arrow-background) 52px,transparent 60px);right: 0;padding: 0 12px 0 16px;} #container:hover #left-arrow-container,#container:hover #right-arrow-container {opacity: 1;} #left-arrow-container,#right-arrow-container {height: 32px;opacity: 0;position: absolute;text-align: center;top: 0;transition: opacity 0.3s 0.1s;} yt-icon {background-color: #2196f3;border-radius: 999px;color: #fff;cursor: pointer;height: 24px;padding: 4px;width: 24px;} /*# sourceMappingURL=yt-live-chat-ticker-renderer.css.map*/</style>";
wVb=d}d=wVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xVb=a}a=xVb;return a}}});
var P9=O9;P9.prototype.itemsChanged=P9.prototype.itemsChanged;P9.prototype.highlightIdChanged=P9.prototype.highlightIdChanged;P9.prototype.onNavigate=P9.prototype.onNavigate;P9.prototype.onRemoveTickerItem=P9.prototype.onRemoveTickerItem;P9.prototype.onMouseLeave=P9.prototype.onMouseLeave;P9.prototype.onMouseEnter=P9.prototype.onMouseEnter;P9.prototype.dataChanged=P9.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P9.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],P9.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],P9.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],P9.prototype,"highlightId",void 0);_.S([_.N(),_.T("design:type",Boolean)],P9.prototype,"isScrolledLeft",void 0);_.S([_.N(),_.T("design:type",Boolean)],P9.prototype,"isScrolledRight",void 0);
_.S([_.N(),_.T("design:type",Array)],P9.prototype,"items",void 0);_.S([_.N({readOnly:!0}),_.T("design:type",Boolean)],P9.prototype,"isReplayPaused",void 0);_.S([_.N(),_.T("design:type",Boolean)],P9.prototype,"shouldAnimateIn",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],P9.prototype,"dataChanged",null);_.S([_.O("mouseenter"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],P9.prototype,"onMouseEnter",null);
_.S([_.O("mouseleave"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],P9.prototype,"onMouseLeave",null);_.S([_.O("yt-live-chat-ticker-remove-ticker-item"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,String]),_.T("design:returntype")],P9.prototype,"onRemoveTickerItem",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],P9.prototype,"onNavigate",null);
_.S([_.P("highlightId"),_.T("design:type",Function),_.T("design:paramtypes",[Object,Object]),_.T("design:returntype")],P9.prototype,"highlightIdChanged",null);_.S([_.P("items.length"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],P9.prototype,"itemsChanged",null);P9=_.S([_.Q({is:"yt-live-chat-ticker-renderer"})],P9);
var AVb;
var BVb;
_.Ng({is:"yt-live-chat-upsell-dialog-renderer",_template:function(){if(void 0!==BVb)return BVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-upsell-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_upsell_dialog_renderer.yt.live.chat.upsell.dialog.renderer.css.js--\x3e<div id="card" aria-describedby="upsell-dialog-text" aria-labelledby="upsell-dialog-title" role="dialog">\n  <yt-img-shadow hidden$="[[!hasHeader]]" thumbnail="[[data.headerBackgroundImage]]"></yt-img-shadow>\n  <div id="content">\n    <yt-formatted-string id="upsell-dialog-title" text="[[data.dialogMessageTitle]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="upsell-dialog-text" split-lines="" text="[[data.dialogMessageText]]">\n    </yt-formatted-string>\n  </div>\n  <div id="button-container">\n    <div id="dismiss-button" on-click="onButtonClick_"></div>\n    <div id="action-button" on-click="onButtonClick_"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===AVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_upsell_dialog_renderer.yt.live.chat.upsell.dialog.renderer.css.js--\x3e<style>:host {padding: 24px 40px;color: var(--yt-live-chat-primary-text-color);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #card {overflow-y: auto;background: var(--yt-spec-brand-background-primary);border: var(--yt-live-chat-upsell-dialog-renderer-border,none);border-radius: var(--yt-live-chat-upsell-dialog-renderer-border-radius,0);box-shadow: var(--yt-live-chat-upsell-dialog-renderer-box-shadow,0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.4));} #content {padding: var(--live-chat-upsell-dialog-renderer-content-padding,24px);} yt-formatted-string {display: block;} #upsell-dialog-title {margin-bottom: var(--live-chat-upsell-dialog-renderer-title-margin-bottom,var(--ytd-margin-4x));font-size: var(--live-chat-upsell-dialog-renderer-title-font-size,var(--ytd-subheadline-font-size));font-weight: var(--live-chat-upsell-dialog-renderer-title-font-weight,var(--ytd-subheadline-font-weight));line-height: var(--live-chat-upsell-dialog-renderer-title-line-height,var(--ytd-subheadline-line-height));letter-spacing: var(--ytd-subheadline-letter-spacing);} #upsell-dialog-text {margin-top: 4px;color: var(--yt-live-chat-secondary-text-color);font-size: var(--live-chat-upsell-dialog-renderer-text-font-size,14px);line-height: var(--live-chat-upsell-dialog-renderer-text-line-height,20px);} #button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;padding: var(--live-chat-upsell-dialog-renderer-button-container-padding,8px 8px 8px 24px);} yt-button-renderer {font-size: var(--live-chat-upsell-dialog-renderer-button-font-size,14px);text-transform: var(--live-chat-upsell-dialog-renderer-button-text-transform,uppercase);--yt-button-padding: var(--yt-live-chat-upsell-dialog-renderer-button-padding);} #action-button {margin-left: 8px;} /*# sourceMappingURL=yt-live-chat-upsell-dialog-renderer.css.map*/</style>";
AVb=d}d=AVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return BVb=a},
properties:{data:{type:Object,observer:"dataChanged_"},hasHeader:{type:Boolean,computed:"computeHasHeader_(data)"}},behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior,ASb],stampDom:{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"yt-button-renderer"}}},dataChanged_:function(a){this.hidden=!a.isVisible;a.isVisible||this.impressionLog()},
onButtonClick_:function(){this.fire("yt-close-upsell-dialog")},
computeHasHeader_:function(a){return!!a.headerBackgroundImage}});
var CVb;
var DVb;
var Q9=function(){return _.K.apply(this,arguments)||this};
_.q(Q9,_.K);Q9.prototype.configureRendererStamper=function(){return{"data.offerSection":{id:"offer-section",mapping:{offerSectionRenderer:"ytd-offer-section-renderer"}},"data.avatar":{id:"avatar",mapping:{sponsorshipsAvatarRenderer:"ytd-sponsorships-avatar-renderer"}}}};
_.t.Object.defineProperties(Q9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===DVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-gift-offer-body-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gift_offer_body_renderer.ytd.sponsorships.gift.offer.body.renderer.css.js--\x3e<div id="body">\n  <div id="info">\n    <div id="avatar"></div>\n    <div id="details">\n      <div id="title">\n        <yt-formatted-string text="[[data.title]]"> </yt-formatted-string>\n      </div>\n      <div id="subtitle">\n        <yt-formatted-string split-lines="true" text="[[data.subtitle]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n  </div>\n  <hr class="solid">\n  <div id="offer-section"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gift_offer_body_renderer.ytd.sponsorships.gift.offer.body.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;display: block;position: relative;background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);} #info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #details {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;margin: 16px 8px 12px 12px;} #avatar {width: 100px;height: 100px;margin: 16px 0 12px 12px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #subtitle {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-secondary);align-self: stretch;margin-top: 2px;} #offer-section {margin: 8px -28px 0 -12px;} hr.solid {border-top: 1px solid;color: var(--yt-spec-text-primary);opacity: 0.1;} /*# sourceMappingURL=ytd-sponsorships-gift-offer-body-renderer.css.map*/</style>';
CVb=d}d=CVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);DVb=a}a=DVb;return a}}});
var R9=Q9;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],R9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R9.prototype,"data",void 0);R9=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-gift-offer-body-renderer"})],R9);
var EVb;
var FVb;
var S9=function(){return _.K.apply(this,arguments)||this};
_.q(S9,_.K);S9.prototype.onCloseButtonClick=function(){this.closeBuyFlow()};
S9.prototype.closeBuyFlow=function(){_.C(this,"yt-live-chat-close-buy-flow")};
_.t.Object.defineProperties(S9.prototype,{closeButtonAriaLabel:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e;return null==(a=this.data)?void 0:null==(b=a.closeButton)?void 0:null==(c=b.buttonRenderer)?void 0:null==(d=c.accessibilityData)?void 0:null==(e=d.accessibilityData)?void 0:e.label}}});
_.t.Object.defineProperties(S9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-gift-offer-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gift_offer_header_renderer.ytd.sponsorships.gift.offer.header.renderer.css.js--\x3e<div id="header">\n  <yt-icon-button id="close-button" label="[[closeButtonAriaLabel]]" on-click="onCloseButtonClick">\n    <yt-icon icon="close"></yt-icon>\n  </yt-icon-button>\n\n  <div id="details">\n    <div id="title">\n      <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===EVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gift_offer_header_renderer.ytd.sponsorships.gift.offer.header.renderer.css.js--\x3e<style>:host {display: block;background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);} #header {align-items: center;width: 100%;padding: 2px 0 2px 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #close-button {color: var(--yt-live-chat-icon-button-color);width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);padding: var(--yt-button-icon-padding,8px);} #details {width: 100%;padding: 0 12px 0 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-sponsorships-gift-offer-header-renderer.css.map*/</style>';
EVb=d}d=EVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FVb=a}a=FVb;return a}}});
var T9=S9;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T9.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],T9.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],T9.prototype,"closeButtonAriaLabel",null);T9=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-gift-offer-header-renderer"})],T9);
var GVb;
var HVb;
var U9=function(){return _.K.apply(this,arguments)||this};
_.q(U9,_.K);U9.prototype.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{sponsorshipsGiftOfferHeaderRenderer:"ytd-sponsorships-gift-offer-header-renderer"}},"data.body":{id:"body",mapping:{sponsorshipsGiftOfferBodyRenderer:"ytd-sponsorships-gift-offer-body-renderer"}}}};
_.t.Object.defineProperties(U9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-gift-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gift_offer_renderer.ytd.sponsorships.gift.offer.renderer.css.js--\x3e<div id="header"></div>\n<hr class="solid">\n<div id="body"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GVb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gift_offer_renderer.ytd.sponsorships.gift.offer.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=ytd-sponsorships-gift-offer-renderer.css.map*/</style>";GVb=d}d=GVb;c.call(b,d.content.cloneNode(!0),
a.content.firstChild);HVb=a}a=HVb;return a}}});
var V9=U9;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],V9.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],V9.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],V9.prototype,"data",void 0);V9=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-gift-offer-renderer"})],V9);
var IVb={},W9=null;IVb.YtScrollbarBehavior={getScrollbarWidth:function(){if(null===W9||0===W9&&_.x("live_chat_use_new_emoji_picker"))W9=this.calculateScrollbarWidth_();return W9},
calculateScrollbarWidth_:function(){var a=document.createElement("div");a.style.height="100px";a.style.overflow="scroll";a.style.top="-9999px";a.style.width="100px";_.H(this.root).appendChild(a);var b=a.offsetWidth-a.clientWidth;_.H(this.root).removeChild(a);return b}};
_.Ng({PARTICIPANT_TIME_USEC_:3E8,is:"yt-live-chat-participants-manager",properties:{viewerName:{type:String,value:null},viewerRegex:{type:Object,computed:"computeViewerRegex_(viewerName)"},participants:{type:Array,value:function(){return[]},
notify:!0}},behaviors:[_.Y.YtActionHandlerBehavior],actionMap:{"yt-live-chat-actions":"onChatMessage_"},SUPPORTED_ITEM_TYPES_:["liveChatTextMessageRenderer","liveChatLegacyPaidMessageRenderer","liveChatPaidMessageRenderer"],created:function(){this.allParticipantsCharMap_={};this.JSC$37926_asyncHandle_=null},
addParticipant:function(a){var b=_.q4a(this.participants,a,function(d,e){d=d[Object.keys(d)[0]];e=e[Object.keys(e)[0]];d=String(_.qi(d.authorName)).toLowerCase();e=String(_.qi(e.authorName)).toLowerCase();return d<e?-1:d==e?0:1}.bind(this));
if(0<=b){var c=this.participants[b];c[Object.keys(c)[0]].timestampUsec&&this.splice("participants",b,1,a)}else this.splice("participants",-b-1,0,a);a=a[Object.keys(a)[0]];b=_.qi(a.authorName).toLocaleLowerCase();c=b.substr(0,2);this.allParticipantsCharMap_.hasOwnProperty(c)||(this.allParticipantsCharMap_[c]={});this.allParticipantsCharMap_[c][b]=a},
getAuthorsFromPrefix:function(a){return this.allParticipantsCharMap_.hasOwnProperty(a)?this.allParticipantsCharMap_[a]:null},
computeViewerRegex_:function(a){if(!a)return null;a=a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new RegExp("([@#]?"+a.replace(/ /g,"\\s*")+")","ig")},
checkForStaleParticipants_:function(){this.trimOldParticipants_();this.JSC$37926_asyncHandle_&&this.cancelAsync(this.JSC$37926_asyncHandle_);0<this.participants.length&&(this.JSC$37926_asyncHandle_=this.async(this.checkForStaleParticipants_,3E4))},
onChatMessage_:function(a){var b=1E3*Date.now();a.forEach(function(c){if(c.addChatItemAction){c=c.addChatItemAction.item;var d=Object.keys(c)[0];-1!=this.SUPPORTED_ITEM_TYPES_.indexOf(d)&&c[d].timestampUsec>=b-this.PARTICIPANT_TIME_USEC_&&this.addParticipant(c)}},this);
this.checkForStaleParticipants_()},
trimOldParticipants_:function(){for(var a=1E3*Date.now(),b=this.participants.length-1;0<=b;b--){var c=this.participants[b];c=c[Object.keys(c)[0]];c.timestampUsec&&c.timestampUsec<a-this.PARTICIPANT_TIME_USEC_&&this.splice("participants",b,1)}}});
_.Ng({is:"yt-invalidation-continuation",properties:{data:{type:Object,observer:"dataChanged"},isReusable:{type:Boolean,value:!1},tangoConfiguration:{type:Object,value:function(){return _.u.unsafeClone(_.w("LIVE_CHAT_BASE_TANGO_CONFIG"))}}},
created:function(){this.manager_=X9.getInstance();this.triggered_=!1;this.timeoutAsyncHandle_=this.managerHandle_=null},
attached:function(){this.data&&this.subscribe_(this.data)},
detached:function(){this.data&&this.unsubscribe_(this.data)},
dataChanged:function(a,b){this.triggered_=!1;b&&this.unsubscribe_(b);a&&this.isAttached&&this.subscribe_(a)},
subscribe_:function(a){this.managerHandle_=this.manager_.subscribe(a,this.trigger_.bind(this),this.tangoConfiguration)||null;this.timeoutAsyncHandle_=this.async(this.trigger_.bind(this,{isInvalidationTimeoutRequest:!0}),a.timeoutMs)},
unsubscribe_:function(a){this.cancelTimeout_();this.managerHandle_&&(this.manager_.unsubscribe(a,this.managerHandle_),this.managerHandle_=null)},
trigger_:function(a){a=void 0===a?{}:a;if(this.isReusable||!this.triggered_)this.triggered_=!0,this.fire("yt-load-invalidation-continuation",this.getContinuationUrl.bind(this,a)),this.cancelTimeout_()},
forceTrigger:function(a){this.trigger_(a)},
cancelTimeout_:function(){null!==this.timeoutAsyncHandle_&&(this.cancelAsync(this.timeoutAsyncHandle_),this.timeoutAsyncHandle_=null)},
getContinuationUrl:function(a,b){var c={ctoken:this.data.continuation};this.data.clickTrackingParams&&(c.itct=this.data.clickTrackingParams);return _.vd(b,Object.assign(c,a))}});
var X9=function(){this.nextHandle_=1;this.clients_={};this.callbacks_={};this.unsubscribeAsyncHandles_={};this.subscribe=_.kd(function(a,b,c){var d=JVb(a);if(d in this.clients_)d in this.unsubscribeAsyncHandles_&&_.Ht.cancel(this.unsubscribeAsyncHandles_[d]);else{a:{var e=JVb(a),h;for(h in this.unsubscribeAsyncHandles_){var l=this.clients_[h];if(l instanceof q8){delete this.clients_[h];delete this.callbacks_[h];_.Ht.cancel(this.unsubscribeAsyncHandles_[h]);delete this.unsubscribeAsyncHandles_[h];
l.unregister();l.objectId_=new _.wEb(e);l.register();c=l;break a}}c.objectSource=a.invalidationId.objectSource;c.objectId=e;if(a=a.webAuthConfigurationData)a.multiUserSessionIndex&&(c.sessionIndex=parseInt(a.multiUserSessionIndex,10)),a.pageId&&(c.pageId=a.pageId);c=new q8(c,this.handleInvalidationData_.bind(this));c.register()}this.clients_[d]=c;this.callbacks_[d]={}}c=this.nextHandle_++;this.callbacks_[d][c]=b;return c})};
X9.prototype.unsubscribe=function(a,b){var c=JVb(a);if(c in this.callbacks_&&(delete this.callbacks_[c][b],!this.callbacks_[c].length)){var d=this.clients_[c];b=_.Ht.run(function(){_.Jb(d);delete this.clients_[c];delete this.unsubscribeAsyncHandles_[c]}.bind(this));
this.unsubscribeAsyncHandles_[c]=b}};
X9.prototype.handleInvalidationData_=function(a,b){for(var c in this.callbacks_[a]){var d=this.callbacks_[a][c];1==d.length?d.apply(this,[b]):d()}};
var JVb=function(a){return a.invalidationId.objectId?(a=a.invalidationId.objectId,a=a.replace(/-/g,"+").replace(/_/g,"/"),atob(a)):""};
X9.getInstance=function(){return _.gm(X9)};
_.Ng({is:"yt-player-seek-continuation",properties:{data:{type:Object},playerProgressSec:{type:Number,observer:"playerProgressSecChanged_"}},created:function(){this.previousProgressSec_=0},
playerProgressSecChanged_:function(a){this.previousProgressSec_=a},
maybeFireSeekContinuation:function(a,b){if(!this.previousProgressSec_)return this.previousProgressSec_=a,!1;var c=a-this.previousProgressSec_;(b=-1>=c||1<c&&1E3*a>b)&&this.fireSeekContinuation_(a);this.previousProgressSec_=a;return b},
fireSeekContinuationAtCurrentProgress:function(){this.fireSeekContinuation_(this.previousProgressSec_)},
fireSeekContinuation_:function(a){this.previousProgressSec_=a;this.fire("yt-load-seek-continuation",this.getContinuationUrl_.bind(this,1E3*a))},
getContinuationUrl_:function(a,b){a={ctoken:this.data.continuation,currentPlayerTimeMsec:Math.floor(a)};this.data.clickTrackingParams&&(a.itct=this.data.clickTrackingParams);return _.vd(b,a)}});
_.Ng({is:"yt-timed-continuation",properties:{data:{type:Object,observer:"dataChanged_"}},created:function(){this.JSC$43108_asyncHandle_=null},
attached:function(){this.scheduleCallback_()},
detached:function(){null!==this.JSC$43108_asyncHandle_&&(this.cancelAsync(this.JSC$43108_asyncHandle_),this.JSC$43108_asyncHandle_=null)},
dataChanged_:function(){this.scheduleCallback_()},
forceTrigger:function(a){this.trigger_(a)},
scheduleCallback_:function(){this.isAttached&&this.data&&(null!==this.JSC$43108_asyncHandle_&&this.cancelAsync(this.JSC$43108_asyncHandle_),this.JSC$43108_asyncHandle_=this.async(this.trigger_,this.data.timeoutMs))},
trigger_:function(a){a=void 0===a?{}:a;this.JSC$43108_asyncHandle_&&this.cancelAsync(this.JSC$43108_asyncHandle_);this.JSC$43108_asyncHandle_=null;this.fire("yt-load-timed-continuation",this.getContinuationUrl.bind(this,a))},
getContinuationUrl:function(a,b){var c={ctoken:this.data.continuation};this.data.clickTrackingParams&&(c.itct=this.data.clickTrackingParams);return _.vd(b,Object.assign(c,a))}});
var KVb=new _.Wd("yt-live-chat");
Polymer({is:"yt-live-chat-renderer",_template:function(){if(void 0!==sVb)return sVb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_renderer.yt.live.chat.renderer.css.js--\x3e<div id="promo"></div>\n<iron-pages id="content-pages" selected="{{selectedTab}}">\n  <div id="chat-messages">\n    <template is="dom-if" if="[[data.header.liveChatHeaderRenderer]]">\n      <yt-live-chat-header-renderer data="[[data.header.liveChatHeaderRenderer]]" role="heading">\n      </yt-live-chat-header-renderer>\n    </template>\n    <div id="contents">\n      <div id="ticker"></div>\n      <div id="separator"></div>\n      <div id="chat">\n        <yt-live-chat-pinned-message-renderer id="pinned-message" disable-upgrade="" emoji-manager="[[emojiManager]]" hidden="" participants-manager="[[participantsManager]]">\n        </yt-live-chat-pinned-message-renderer>\n        <div id="item-list"></div>\n        <div id="action-panel"></div>\n      </div>\n      <div id="toast-container">\n        <yt-live-chat-toast-renderer></yt-live-chat-toast-renderer>\n      </div>\n      <iron-pages id="panel-pages" selected="{{selectedPanel}}">\n        <div id="input-panel"></div>\n        <div id="loading">\n          <tp-yt-paper-spinner-lite active="[[equals(selectedPanel, 1)]]"></tp-yt-paper-spinner-lite>\n        </div>\n        <div id="buy-flow"></div>\n        <div id="super-sticker-buy-flow"></div>\n        <div id="donation-flow"></div>\n        <div id="sponsorships-gift-buy-flow"></div>\n      </iron-pages>\n    </div>\n    <div id="dialog"></div>\n    <div id="continuations"></div>\n  </div>\n  <yt-live-chat-participant-list-renderer data="[[data.participantsList.liveChatParticipantsListRenderer]]" disable-upgrade$="[[!equals(selectedTab, 1)]]" participants-manager="[[participantsManager]]"></yt-live-chat-participant-list-renderer>\n  <yt-live-chat-ninja-message-renderer data="[[data.popoutMessage.messageRenderer]]" disable-upgrade$="[[!equals(selectedTab, 2)]]"></yt-live-chat-ninja-message-renderer>\n</iron-pages>\n<div id="overlay-dialog"></div>\n<div id="channel-guidelines"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_renderer.yt.live.chat.renderer.css.js--\x3e<style>:host {font-size: 13px;--yt-emoji-picker-renderer-height: 180px;--yt-button-default-text-color: var( --yt-live-chat-button-default-text-color );--yt-button-default-background-color: var( --yt-live-chat-button-default-background-color );--yt-button-dark-text-color: var(--yt-live-chat-button-dark-text-color);--yt-button-dark-background-color: var( --yt-live-chat-button-dark-background-color );--yt-button-payment-background-color: var(--yt-live-chat-sponsor-color);} :host {position: relative;height: 100%;background: var(--yt-live-chat-background-color);color: var(--yt-live-chat-primary-text-color);overflow: hidden;z-index: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;contain: content;} :host([hide-timestamps]) {--yt-live-chat-item-timestamp-display: none;} #separator {border-bottom: var(--yt-live-chat-header-bottom-border,none);} #content-pages {width: var(--sidebar-width-px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #panel-pages {max-height: 100%;overflow-x: hidden;overflow-y: auto;} #contents {overflow: hidden;position: relative;z-index: 0;} #chat-messages,#contents,#item-list {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #ticker {z-index: 1;box-shadow: var(--yt-live-chat-header-box-shadow);} #chat {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #chat::after {content: "";display: none;animation: gradient-slide 1.2s ease infinite;animation-name: gradient-slide;background-color: var(--yt-live-chat-shimmer-background-color);background-image: var(--yt-live-chat-shimmer-linear-gradient);background-size: 300% 300%;transform: rotateX(180deg);position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host([loading]) #chat::after {display: block;} yt-live-chat-pinned-message-renderer {bottom: 0;left: 0;position: absolute;right: 0;top: 0;} yt-live-chat-item-list-renderer,yt-live-chat-ninja-message-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #action-panel {display: none;} :host([has-action-panel-renderer]) #action-panel {display: unset;position: absolute;bottom: 0;left: 0;right: var(--scrollbar-width);padding: 0 8px 8px;background: var(--yt-live-chat-action-panel-gradient-scrim);overflow: hidden;} :host([has-action-panel-renderer]) yt-live-chat-action-panel-renderer {animation: slideUp var(--yt-live-chat-universal-motion-curve) forwards;animation-duration: var(--yt-live-chat-panel-animation-duration);} :host([has-action-panel-renderer][is-closing-action-panel]) yt-live-chat-action-panel-renderer {animation: slideDownFadeOut var(--yt-live-chat-universal-motion-curve) forwards;animation-duration: var(--yt-live-chat-panel-animation-duration);} #input-panel {-ms-flex: none;-webkit-flex: none;flex: none;} #input-panel:not(:empty) {border-top: var(--yt-live-chat-action-panel-top-border,none);} #input-panel::after {content: "";display: block;height: 1px;margin: 0 24px;background: var(--yt-spec-10-percent-layer);} #toast-container,yt-live-chat-restricted-participation-renderer {position: relative;} :host([has-picker-open]) #toast-container {order: 1;z-index: 1;} #loading {height: 387px;background-color: var(--yt-live-chat-action-panel-background-color);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #loading>tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-live-chat-primary-text-color);} #overlay-dialog>* {background: var(--yt-live-chat-overlay-color);z-index: 3;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #channel-guidelines>* {background: var(--yt-live-chat-overlay-color);z-index: 3;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} @keyframes gradient-slide {0% {background-position: 100% 100%;}to {background-position: 0% 0%;}} @keyframes slideUp {0% {transform: translateY(15%);opacity: 0;}100% {transform: translateY(0);opacity: 1;}} @keyframes slideDownFadeOut {0% {transform: translateY(0);opacity: 1;}100% {transform: translateY(15%);opacity: 0;}} @keyframes fadeIn {0% {background-color: transparent;}100% {background-color: var(--yt-spec-static-overlay-background-medium);}} /*# sourceMappingURL=yt-live-chat-renderer.css.map*/</style>';
rVb=d}d=rVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return sVb=a},
properties:{data:{type:Object,observer:"dataChanged_"},hideTimestamps:{type:Boolean,value:function(){return!KVb.get("show-timestamps")},
observer:"hideTimestampsChanged",reflectToAttribute:!0},hasTicker:{type:Boolean,computed:"toBool(data.ticker)",reflectToAttribute:!0},emojiManager:{type:Object,value:function(){return new _.LC(_.ot("live_chat_unicode_emoji_json_url"))}},
participantsManager:{type:Object,value:function(){return document.createElement("yt-live-chat-participants-manager")}},
selectedTab:{type:Number,value:0,notify:!0},messageBuyFlowRenderer:Object,stickerBuyFlowRenderer:Object,donationFlowRenderer:Object,actionPanelRenderer:Object,sponsorshipsGiftOfferRenderer:Object,channelGuidelinesDialogRenderer:Object,hasActionPanelRenderer:{type:Boolean,computed:"toBool(actionPanelRenderer)",reflectToAttribute:!0},isClosingActionPanel:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"isClosingActionPanelChanged"},selectedPanel:{type:Number,value:0,observer:"selectedPanelChanged"},
hasPickerOpen:{type:Boolean,value:!1,reflectToAttribute:!0},dialog:Object,hidden:{type:Boolean,reflectToAttribute:!0,computed:"computeIsChatHidden(data)",observer:"hiddenChanged"},useQueuedTooltips:{type:Boolean,value:function(){return _.x("live_chat_use_new_emoji_picker")}}},
behaviors:[cUb.YtLiveChatContinuationBehavior,tVb,_.HAb,_.X.YtRendererstamperBehavior,IVb.YtScrollbarBehavior,_.Y.YtActionHandlerBehavior,_.jv.YtActionSenderBehavior,_.U.YtRendererBehavior,_.KWa.YtSharedTooltipBehavior,t8.YtLiveChatReduxBehavior],listeners:{"yt-participants-back-button":"onParticipantsBackButton","yt-live-chat-pinned-message-update":"onUpdatePinnedMessage","yt-navigate":"onYtNavigate_","yt-action":"onYtAction","yt-close-upsell-dialog":"onYtCloseUpsellDialog","yt-live-chat-close-channel-guidelines-dialog":"onYtLiveChatCloseChannelGuidelinesDialog",
"yt-load-reload-continuation":"onReloadContinuation","yt-live-chat-continuation-behavior-reload-success":"onReloadContinuationConclusion","yt-live-chat-continuation-behavior-reload-failure":"onReloadContinuationConclusion","yt-live-chat-add-tooltip-target":"registerElementForSupportingTooltips","yt-live-chat-clear-pinned-message":"clearPinnedMessage","yt-live-chat-attach-visual-element":"attachVisualElement"},observers:["actionsChanged(data.actions, isAttached)"],queuedTooltips:[],queuedActionPanel:null,
stampDom:{"data.itemList":{id:"item-list",mapping:{liveChatItemListRenderer:{component:"yt-live-chat-item-list-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}}}},"data.ticker":{id:"ticker",mapping:{liveChatTickerRenderer:"yt-live-chat-ticker-renderer"}},"data.promotion":{id:"overlay-dialog",mapping:{upsellDialogRenderer:"yt-live-chat-upsell-dialog-renderer"}},"data.actionPanel":{id:"input-panel",mapping:{liveChatMessageInputRenderer:{component:"yt-live-chat-message-input-renderer",
properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]",genericErrorMessage:"[[data.clientMessages.genericError]]"}},liveChatRestrictedParticipationRenderer:"yt-live-chat-restricted-participation-renderer"}},messageBuyFlowRenderer:{id:"buy-flow",mapping:{liveChatMessageBuyFlowRenderer:{component:"yt-live-chat-message-buy-flow-renderer",properties:{emojiManager:"[[emojiManager]]",participantsManager:"[[participantsManager]]"}}}},stickerBuyFlowRenderer:{id:"super-sticker-buy-flow",
mapping:{superStickerBuyFlowRenderer:"yt-live-chat-paid-sticker-panel-renderer"}},sponsorshipsGiftOfferRenderer:{id:"sponsorships-gift-buy-flow",mapping:{sponsorshipsGiftOfferRenderer:"ytd-sponsorships-gift-offer-renderer"}},donationFlowRenderer:{id:"donation-flow",mapping:{donationAmountPickerRenderer:{component:"ytd-donation-amount-picker-renderer",attributes:{"live-chat":!0}}}},dialog:{id:"dialog",mapping:{liveChatDialogRenderer:"yt-live-chat-dialog-renderer"}},actionPanelRenderer:{id:"action-panel",
mapping:{liveChatActionPanelRenderer:"yt-live-chat-action-panel-renderer"},reuseComponents:!1},channelGuidelinesDialogRenderer:{id:"channel-guidelines",mapping:{liveChatChannelGuidelinesDialogRenderer:"yt-live-chat-channel-guidelines-dialog-renderer"}}},actionMap:{"yt-wallet-dialog-closed":"onWalletDialogClose","yt-live-chat-close-buy-flow":"closeBuyFlow","yt-live-chat-actions":"handleLiveChatActions_","yt-show-live-chat-dialog-action":"handleShowLiveChatDialogAction","yt-close-live-chat-action-panel-action":"handleCloseLiveChatActionPanelAction",
"yt-live-chat-popup-config-ready":"onPopupConfigReady","yt-live-chat-picker-changed":"handlePickerChanged_","yt-replace-live-chat-renderer-action":"handleReplaceRendererAction"},testOnlyRegisterNetworkManager:function(a){_.Eg().addProvider({provide:_.Eo,useValue:a})},
testOnlyUnRegisterNetworkManager:function(){_.Dg=null},
created:function(){this.popoutWindowCheckIntervalId=this.popoutWindow=null;this.supportedTooltipTargets=[];this.delayCloseActionPanelTimerId=this.closeActionPanelTimerId=null;this.tooltipTimerIds=new Set},
ready:function(){_.H(this.root).appendChild(this.participantsManager);this.sharedTooltipAnimationDelay=0;this.sharedTooltipPosition="top"},
attached:function(){var a=this;this.fire("resize");_.x("enable_native_live_chat_on_kevlar")&&(this.isPopupConfigReady=!0);this.async(function(){a.updateStyles({"--scrollbar-width":a.getScrollbarWidth()+"px"})})},
detached:function(){this.popoutWindow=null;this.closePopoutWindow();this.replayBuffer_=null;clearTimeout(this.closeActionPanelTimerId);clearTimeout(this.delayCloseActionPanelTimerId);for(var a=_.k(this.tooltipTimerIds),b=a.next();!b.done;b=a.next())clearTimeout(b.value);this.queuedTooltips=[]},
dataChanged_:function(a){this.emojiManager&&a&&a.emojis&&this.emojiManager.load(a.emojis,this.emojiManager);if(this.participantsManager&&a&&(a.viewerName&&(this.participantsManager.viewerName=a.viewerName),a=this.get("participantsList.liveChatParticipantsListRenderer.participants",a)))for(var b=0;b<a.length;b++)this.participantsManager.addParticipant(a[b]);this.clearPinnedMessage();this.actionPanelRenderer=null;this.isClosingActionPanel=!1},
actionsChanged:function(a,b){b&&a&&(a=this.preprocessActions_(a),this.immediatelyApplyLiveChatActions(a),this.set("data.actions",void 0))},
preprocessActions_:function(a){var b=this;return a.filter(function(c){if(c.addChatItemAction)b.preloadAvatarForAddAction(c.addChatItemAction);else if(c.addLiveChatTickerItemAction)b.preloadAvatarForAddAction(c.addLiveChatTickerItemAction);else{if(c.replayChatItemAction)return b.addReplayChatItemAction(c.replayChatItemAction),c.replayChatItemAction.actions&&b.preprocessActions_(c.replayChatItemAction.actions),!1;if(c.watchPartyPlaySyncAction)return b.sendAction("yt-watch-sync-action",[c.watchPartyPlaySyncAction]),
!1}return!0},this)},
onPopupConfigReady:function(){this.isPopupConfigReady=!0;this.maybeHandleQueuedToolTips()},
maybeHandleQueuedToolTips:function(){var a=[].concat(_.sc(this.queuedTooltips));this.queuedTooltips=[];a=_.k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,!this.maybeHandleShowLiveChatTooltipCommand(b)&&this.useQueuedTooltips&&this.queuedTooltips.push(b)},
preloadAvatarForAddAction:function(a){if(a.item){a=a.item;var b=Object.keys(a)[0];a=a[b];b=_.nu(this.get("authorPhoto.thumbnails",a),24);"string"===typeof b&&(this.preloadImage(b),a.authorPhoto.webThumbnailDetailsExtensionData={isPreloaded:!0})}},
preloadImage:function(a){DRb(a)},
showParticipants:function(){this.selectedTab=1;this.$$("yt-live-chat-participant-list-renderer").focus()},
onReloadContinuation:function(){this.data&&this.data.itemList&&_.x("live_chat_top_chat_sampling_enabled")&&_.H(this).setAttribute("loading","")},
onReloadContinuationConclusion:function(){_.H(this).removeAttribute("loading")},
onParticipantsBackButton:function(){this.selectedTab=0},
immediatelyApplyLiveChatActions:function(a){this.async(this.sendAction.bind(this,"yt-live-chat-actions",[a]))},
handleBuyFlowRequest:function(a,b,c,d){a.stopPropagation();this.selectedPanel=1;a=_.H(a).rootTarget.parentNode;var e=_.Eg().resolve(_.Eo),h,l=_.Ei();l&&e?(b=e.endpointToXhrUrl(b))&&(h=_.up(l,{},b)):h=e.requestDataForEndpoint(b);h&&h.then(c.bind(this,a),d,this)},
onYtNavigate_:function(a,b){b&&b.endpoint&&(b.endpoint.liveChatPurchaseMessageEndpoint?(this.clearPinnedMessage(),this.handleBuyFlowRequest(a,b.endpoint,this.handlePurchaseEndpointResponse,this.handlePurchaseEndpointError)):b.endpoint.openSuperStickerBuyFlowCommand?this.handleBuyFlowRequest(a,b.endpoint,this.handlePurchaseSuperStickerEndpointResponse,this.handlePurchaseSuperStickerEndpointError):b.endpoint.showSponsorshipsGiftOfferDialogCommand?this.handleSponsorshipsGiftOfferEndpointRequest(a,b.endpoint.showSponsorshipsGiftOfferDialogCommand.contentCommand):
b.endpoint.liveChatDonationsEndpoint?(this.selectedPanel=1,a.stopPropagation(),this.donationFlowRenderer=b.endpoint.liveChatDonationsEndpoint.amountPicker,this.selectedPanel=4):b.endpoint.showLiveChatItemEndpoint?(_.H(this.$["pinned-message"]).removeAttribute("disable-upgrade"),this.$["pinned-message"].data===b.endpoint.showLiveChatItemEndpoint?(this.$["pinned-message"].data=null,this.$$("yt-live-chat-ticker-renderer").highlightId=null):this.$["pinned-message"].data=b.endpoint.showLiveChatItemEndpoint):
b.endpoint.liveChatDialogEndpoint?(this.dialog=b.endpoint.liveChatDialogEndpoint.content,this.$$("yt-live-chat-dialog-renderer").hidden=!1):b.endpoint.ypcGetOffersEndpoint&&!_.x("enable_native_live_chat_on_kevlar")&&(a.stopPropagation(),m8("yt-purchase-membership",b.endpoint)))},
onUpdatePinnedMessage:function(){var a=this.$["pinned-message"].data;a&&(this.$["pinned-message"].data=null,this.$["pinned-message"].data=a)},
onPinnedMessageTap:function(){this.clearPinnedMessage()},
clearPinnedMessage:function(){this.$["pinned-message"]&&(this.$["pinned-message"].data=null);var a=this.$$("yt-live-chat-ticker-renderer");a&&(a.highlightId=null)},
attachVisualElement:function(a,b){this.data&&this.data.trackingParams&&l8(this.data.trackingParams,b)},
handlePurchaseEndpointResponse:function(a,b){var c=b;_.Ei()||(c=b.response);(a=JRb(a))&&l8(a,_.no(c.trackingParams));c.frameworkUpdates&&c.frameworkUpdates.entityBatchUpdate&&this.tryEntityStoreUpdate(c.frameworkUpdates.entityBatchUpdate);this.messageBuyFlowRenderer=c.contents;this.selectedPanel=2},
handlePurchaseSuperStickerEndpointResponse:function(a,b){var c=b;_.Ei()||(c=b.response);(a=JRb(a))&&l8(a,_.no(c.trackingParams));c.frameworkUpdates&&c.frameworkUpdates.entityBatchUpdate&&this.tryEntityStoreUpdate(c.frameworkUpdates.entityBatchUpdate);this.stickerBuyFlowRenderer=c.renderer;this.selectedPanel=3},
handleSponsorshipsGiftOfferEndpointRequest:function(a,b){a.stopPropagation();this.selectedPanel=1;a=_.H(a).rootTarget.parentNode;this.sendServiceRequestAction([b]).then(this.handleSponsorshipsGiftOfferEndpointResponse.bind(this,a),this.handleSponsorshipsGiftOfferEndpointError.bind(this))},
handleSponsorshipsGiftOfferEndpointResponse:function(a,b){b=b.data;(a=JRb(a))&&b.trackingParams&&l8(a,_.no(b.trackingParams));b.frameworkUpdates&&b.frameworkUpdates.entityBatchUpdate&&this.tryEntityStoreUpdate(b.frameworkUpdates.entityBatchUpdate);this.sponsorshipsGiftOfferRenderer=b.offers;this.selectedPanel=5},
handlePurchaseEndpointError:function(){this.closeBuyFlow()},
handlePurchaseSuperStickerEndpointError:function(){this.closeBuyFlow()},
handleSponsorshipsGiftOfferEndpointError:function(){this.closeBuyFlow()},
closeBuyFlow:function(){this.selectedPanel=0;this.sponsorshipsGiftOfferRenderer=this.stickerBuyFlowRenderer=this.messageBuyFlowRenderer=null},
onWalletDialogClose:function(){1===this.selectedPanel&&this.sendAction("yt-live-chat-close-buy-flow")},
isGiftingOptInBrowseEndpoint:function(a){return null!=a.browseEndpoint&&"FEgifting_opt_in"===a.browseEndpoint.browseId},
shouldTunnelOutServiceRequest:function(a){return this.isGiftingOptInBrowseEndpoint(a)},
onYtAction:function(a,b){"yt-service-request"===b.actionName&&(null==b?0:b.args)&&1<b.args.length&&(b=b.args[1],b.popoutLiveChatEndpoint?((b=b.popoutLiveChatEndpoint.url)?this.openPopoutWindow(b):this.closePopoutWindow(),a.stopPropagation()):b.showLiveChatParticipantsEndpoint?(this.showParticipants(),a.stopPropagation()):b.toggleLiveChatTimestampsEndpoint?(this.hideTimestamps=!this.hideTimestamps,a.stopPropagation()):b.showLiveChatSettingsEndpoint?(m8("yt-show-live-chat-settings",{}),a.stopPropagation()):
b.ypcGetOffersEndpoint&&!_.x("enable_native_live_chat_on_kevlar")?(a.stopPropagation(),m8("yt-purchase-membership",b)):b.ypcGetCartEndpoint?(a.stopPropagation(),this.selectedPanel=1,this.sendAction("yt-live-chat-start-buy-flow",[b,{},this.buyFlowCallback.bind(this)])):this.shouldTunnelOutServiceRequest(b)&&(a.stopPropagation(),m8("yt-tunnel-out-live-service-request",b)))},
buyFlowCallback:function(a){this.sendAction("yt-live-chat-close-buy-flow");if(a.success){var b,c;(null==a?0:null==(b=a.response)?0:null==(c=b.data)?0:c.command)&&this.sendAction("yt-live-chat-actions",[[a.response.data.command]])}else this.handleBuyFlowError(a)},
handleBuyFlowError:function(a){var b;(null==(b=a.errorMessageRenderer)?0:b.notificationActionRenderer)&&this.sendAction("yt-live-chat-add-message-to-toast",[a.errorMessageRenderer]);if(a.errorCommand){var c,d;(null==(c=a.errorCommand.completeTransactionAction)?0:null==(d=c.messageRenderer)?0:d.notificationActionRenderer)?this.sendAction("yt-live-chat-add-message-to-toast",[a.errorCommand.completeTransactionAction.messageRenderer]):this.sendAction("yt-live-chat-actions",[[a.errorCommand]])}},
onYtCloseUpsellDialog:function(a){a.stopPropagation();this.set("data.promotion",null)},
onYtLiveChatCloseChannelGuidelinesDialog:function(a){a.stopPropagation();this.set("channelGuidelinesDialogRenderer",null)},
openPopoutWindow:function(a){var b={target:Math.random().toString(36),menubar:!1,location:!1,scrollbars:!1,toolbar:!1};b=void 0===b?{}:b;b.target=b.target||"YouTube";b.width=b.width||"600";b.height=b.height||"600";(a=_.w4a(a,b))?(a.opener||(a.opener=window),a.focus()):a=null;if(this.popoutWindow=a)this.selectedTab=2,this.checkPopoutWindow()},
closePopoutWindow:function(){this.popoutWindow&&this.popoutWindow.close();this.popoutWindowCheckIntervalId&&(this.cancelAsync(this.popoutWindowCheckIntervalId),this.popoutWindowCheckIntervalId=null);this.selectedTab=0;this.sendAction("yt-live-chat-scroll-to-bottom")},
checkPopoutWindow:function(){this.isAttached&&(!this.popoutWindow||this.popoutWindow.closed?this.closePopoutWindow():this.popoutWindowCheckIntervalId=this.async(this.checkPopoutWindow,1E3))},
selectedPanelChanged:function(){var a=this;if(this.data&&this.data.itemList){this.clearPinnedMessage();var b=this.querySelector("#panel-pages > .iron-selected");(b=b&&b.children[0])&&b.focus();this.async(function(){return a.sendAction("yt-live-chat-scroll-to-bottom")})}},
hideTimestampsChanged:function(a){KVb.set("show-timestamps",!a);this.updateStyles()},
isClosingActionPanelChanged:function(){!this.isClosingActionPanel&&this.queuedActionPanel&&(this.set("actionPanelRenderer",this.queuedActionPanel),this.queuedActionPanel=null)},
computeIsChatHidden:function(a){return a&&a.initialDisplayState?"LIVE_CHAT_DISPLAY_STATE_HIDDEN"===a.initialDisplayState:this.hidden},
hiddenChanged:function(){var a=this;_.x("live_chat_use_new_emoji_picker")&&!this.hidden&&this.async(function(){a.updateStyles({"--scrollbar-width":a.getScrollbarWidth()+"px"})})},
handleLiveChatActions_:function(a){a=_.k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b.replayChatItemAction&&this.handleLiveChatActions_(b.replayChatItemAction.actions||[]),b.replaceLiveChatRendererAction?this.handleReplaceRendererAction(b):b.showLiveChatDialogAction?this.handleShowLiveChatDialogAction(b):b.showLiveChatSurveyCommand?this.handleShowLiveChatSurveyCommand(b.showLiveChatSurveyCommand):b.showLiveChatTooltipCommand?this.maybeHandleShowLiveChatTooltipCommand(b)||this.isPopupConfigReady&&
!this.useQueuedTooltips||this.queuedTooltips.push(b):b.showLiveChatChannelGuidelinesDialogAction?this.handleShowLiveChatChannelGuidelinesDialogAction(b):b.showLiveChatActionPanelAction?this.handleShowLiveChatActionPanelAction(b.showLiveChatActionPanelAction):b.closeLiveChatActionPanelAction?this.handleCloseLiveChatActionPanelAction(b):b.performCommentActionEndpoint?this.async(this.sendServiceRequestAction.bind(this,[b]),1E3):b.commandExecutorCommand?this.sendAction("yt-live-chat-actions",[b.commandExecutorCommand.commands]):
b.forceLiveChatContinuationCommand&&this.sendInnerTubeActions([b])},
handleShowLiveChatActionPanelAction:function(a){a.panelToShow&&(this.isClosingActionPanel?this.queuedActionPanel=a.panelToShow:this.set("actionPanelRenderer",a.panelToShow))},
handleCloseLiveChatActionPanelAction:function(a){this.executeOrScheduleCloseActionPanel(a)},
executeOrScheduleCloseActionPanel:function(a,b){var c=this;b=void 0===b?!1:b;var d=this.get("liveChatActionPanelRenderer.id",this.actionPanelRenderer),e=this.get("closeLiveChatActionPanelAction.targetPanelId",a),h=this.get("closeLiveChatActionPanelAction.delayMs",a),l=!!this.get("closeLiveChatActionPanelAction.skipOnDismissCommand",a);d===e?0<h&&!b?(null!=this.delayCloseActionPanelTimerId&&clearTimeout(this.delayCloseActionPanelTimerId),this.delayCloseActionPanelTimerId=setTimeout(function(){c.closeActionPanel(l);
c.delayCloseActionPanelTimerId=null},h)):this.closeActionPanel(l):this.get("liveChatActionPanelRenderer.id",this.queuedActionPanel)===e&&(0<h&&!b?this.delayCloseActionPanelTimerId=setTimeout(function(){c.executeOrScheduleCloseActionPanel(a,!0);
c.delayCloseActionPanelTimerId=null},h):this.queuedActionPanel=null)},
isEligibleToReplaceLiveChatActionPanelRenderer:function(a){if(this.isClosingActionPanel||!this.hasActionPanelRenderer||!a)return!1;var b=this.get("actionPanelRenderer.liveChatActionPanelRenderer.id");a=this.get("liveChatActionPanelRenderer.id",a);return b===a},
handleReplaceRendererAction:function(a){var b=this;if(a=a.replaceLiveChatRendererAction){var c=null;switch(a.toReplace){case "REPLACE_LIVE_CHAT_ACTION_PANEL":c="data.actionPanel";break;case "REPLACE_LIVE_CHAT_HEADER":c="data.header";break;case "REPLACE_LIVE_CHAT_ACTION_PANEL_RENDERER":var d=a.replacement;if(this.isEligibleToReplaceLiveChatActionPanelRenderer(d)&&d){var e=d.liveChatActionPanelRenderer;e&&Object.keys(e).forEach(function(h){"contents"!==h?b.set("actionPanelRenderer.liveChatActionPanelRenderer."+
h,e[h]):(h={updateLiveChatPollAction:{pollToUpdate:{pollRenderer:b.get("contents.pollRenderer",e)}}},b.sendAction("yt-update-live-chat-poll-action",[h]))})}break;
default:return}c&&this.set(c,a.replacement||null)}},
handleShowLiveChatDialogAction:function(a){var b;(null==(b=a.showLiveChatDialogAction)?0:b.dialog)&&this.set("data.promotion",a.showLiveChatDialogAction.dialog);var c;b=null==(c=this.data)?void 0:c.trackingParams;var d,e,h;a=null==a?void 0:null==(d=a.showLiveChatDialogAction)?void 0:null==(e=d.dialog)?void 0:null==(h=e.upsellDialogRenderer)?void 0:h.trackingParams;b&&a&&l8(b,_.no(a))},
handleShowLiveChatChannelGuidelinesDialogAction:function(a){var b;(null==(b=a.showLiveChatChannelGuidelinesDialogAction)?0:b.dialog)&&this.set("channelGuidelinesDialogRenderer",a.showLiveChatChannelGuidelinesDialogAction.dialog)},
handleShowLiveChatSurveyCommand:function(a){m8("yt-show-survey",a.survey)},
maybeHandleShowLiveChatTooltipCommand:function(a){var b=this;if(!this.isPopupConfigReady||0===this.supportedTooltipTargets.length)return!1;var c,d;if(null==a?0:null==(c=a.showLiveChatTooltipCommand)?0:null==(d=c.tooltip)?0:d.tooltipRenderer){a=a.showLiveChatTooltipCommand.tooltip.tooltipRenderer;var e=this.getTooltipTarget(a);if(!e)return!1;var h;if((null==a?0:null==(h=a.promoConfig)?0:h.impressionEndpoints)&&a.promoConfig.isCounterfactual)return this.sendServiceRequestAction(a.promoConfig.impressionEndpoints[0]),
!0;var l={openPopupAction:{popup:{tooltipRenderer:a},popupType:"HINT",position:this.getTooltipOpenPopupPosition(e,a)}};"live-chat-message-input"===a.targetId&&(l.openPopupAction.popupType="HINT_PERSISTENT");if("live-chat-action-panel-poll-context-menu"===a.targetId){var m=setTimeout(function(){b.sendPopupActions(l,e);b.tooltipTimerIds.delete(m)},3E3);
this.tooltipTimerIds.add(m)}else this.sendPopupActions(l,e);return!0}return!1},
sendPopupActions:function(a,b){var c=this;this.sendAction("yt-open-popup-action",[a,b]);"live-chat-message-input"!==b.id&&setTimeout(function(){c.sendAction("yt-close-popup-action",["yt-tooltip-renderer"])},2E4)},
handlePickerChanged_:function(a){this.hasPickerOpen=!!a},
getTooltipOpenPopupPosition:function(a,b){var c;if("TOOLTIP_POSITION_TYPE_BELOW"===(null==b?void 0:null==(c=b.suggestedPosition)?void 0:c.type))return"OPEN_POPUP_POSITION_BOTTOM";if("live-chat-message-input"===a.id)return"OPEN_POPUP_POSITION_TOP";_.x("enable_native_live_chat_on_kevlar")?a=a.offsetLeft<this.clientWidth/2:(a=a.getBoundingClientRect(),b=this.getBoundingClientRect(),a=a.left<b.width/2);return a!==("rtl"===_.w("HTML_DIR"))?"OPEN_POPUP_POSITION_TOPRIGHT":"OPEN_POPUP_POSITION_TOPLEFT"},
registerElementForSupportingTooltips:function(a){var b=this;this.supportedTooltipTargets.push(a.target);a.detail.handler=this;this.useQueuedTooltips&&setTimeout(function(){return b.maybeHandleQueuedToolTips()},0)},
removeElementFromSupportingTooltips:function(a){this.supportedTooltipTargets=this.supportedTooltipTargets.filter(function(b){return b!==a})},
getTooltipTarget:function(a){return this.useQueuedTooltips?this.supportedTooltipTargets.find(function(b){return b.id===a.targetId||b.targetId===a.targetId}):this.supportedTooltipTargets.find(function(b){return b.id===a.targetId})},
closeActionPanel:function(a){var b=this;a=void 0===a?!1:a;this.hasActionPanelRenderer&&(this.isClosingActionPanel=!0,this.closeActionPanelTimerId=setTimeout(function(){var c=b.actionPanelRenderer.liveChatActionPanelRenderer.onDismissCommand;b.set("actionPanelRenderer",null);b.isClosingActionPanel=!1;b.closeActionPanelTimerId=null;!a&&c&&b.sendAction("yt-live-chat-actions",[[c]])},500))},
getNumQueuedTooltips:function(){return this.queuedTooltips.length},
tryEntityStoreUpdate:function(a){try{_.eh(a,this.store)}catch(b){_.jd(b)}}});
var LVb;
_.Ng({is:"yt-payments-manager",_template:function(){if(void 0!==LVb)return LVb;var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-payments-manager--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);return LVb=a},
behaviors:[_.Y.YtActionHandlerBehavior,_.iu.YtComponentBehavior],actionMap:{"yt-live-chat-start-buy-flow":"handleLiveChatBuyFlow_"},handleLiveChatBuyFlow_:function(a,b,c){var d=_.Ei();d&&_.Eh(a,d.endpointMap)?_.Dp(_.Ei(),a,b).then(function(e){return{data:e}}).then(this.handleGetCartResponse_.bind(this,c),this.handleFlowError_.bind(this,c),this):_.Eg().resolve(_.Eo).requestDataForServiceEndpoint(a,b).then(this.handleGetCartResponse_.bind(this,c),this.handleFlowError_.bind(this,c),this)},
handleGetCartResponse_:function(a,b){if(b.data&&b.data.messageRenderer)this.handleFlowError_(a,b);else{var c=function(d){d.buyFlowResponse?this.handleBuyFlowResponse_(a,b,d.buyFlowResponse):d.error?this.handleFlowError_(a,d.error):this.handleFlowClosed_(a)}.bind(this);
_.C(this,"yt-open-payments-dialog",[b,c])}},
getPaymentsPayload_:function(a,b){return null!=a.data.handleTransactionEndpoint?b.integratorData:btoa(b.integratorData)},
getTransactionEndpoint_:function(a){return a.data.handleTransactionEndpoint?a.data.handleTransactionEndpoint:a.data.completeTransactionEndpoint},
handleBuyFlowResponse_:function(a,b,c){var d=this;_.C(this,"yt-wallet-dialog-completed");if(this.transactionResponseHasErrorMessage_(c))this.handleFlowError_(a,c);else if("undefined"==c.integratorData)_.Qf(new _.ge("Buy flow returned 'undefined' in place of integratorData",c.internalErrorDetails)),this.handleFlowError_(a,{});else if(null!=c.error)_.Rf(new _.ge("Buy flow returned error code",c.error,c.internalErrorDetails)),this.handleFlowError_(a,{});else{var e=b.data.buybucketParams;c={payments_payload:this.getPaymentsPayload_(b,
c),buybucket_params:e};e=_.Ei();var h,l=this.getTransactionEndpoint_(b);e&&_.Eh(l,e.endpointMap)?h=_.Dp(_.Ei(),l,c).then(function(m){return{data:m}}):h=_.Eg().resolve(_.Eo).requestDataForServiceEndpoint(l,c);
h.then(function(m){d.handleTransactionEndpointSuccess_(a,l,m)},function(m){d.handleTransactionEndpointError_(a,l,m)})}},
handleFlowClosed_:function(){_.C(this,"yt-wallet-dialog-closed")},
handleFlowError_:function(a,b){var c={success:!1},d=function(l){return{liveChatErrorMessageRenderer:{errorText:{runs:[{text:l}]}}}};
if(b&&b.data&&b.data.messageRenderer)c.errorMessageRenderer=b.data.messageRenderer;else{var e;if(null==b?0:null==(e=b.data)?0:e.showTransactionMessageAction)c.errorMessageRenderer=b.data.showTransactionMessageAction.renderer;else{var h;(null==b?0:null==(h=b.data)?0:h.command)?c.errorCommand=b.data.command:b&&b.error&&b.error.message?c.errorMessageRenderer=d(b.error.message):b&&b.result&&b.result.error&&b.result.error.message&&(c.errorMessageRenderer=d(b.result.error.message))}}a(c)},
getSerializedLoggingParams_:function(a){if(a){if(a.ypcHandleTransactionEndpoint)return a.ypcHandleTransactionEndpoint.serializedTransactionFlowLoggingParams;if(a.ypcCompleteTransactionEndpoint)return a.ypcCompleteTransactionEndpoint.serializedTransactionFlowLoggingParams}},
transactionResponseHasErrorMessage_:function(a){return null==a||null==a.data?!1:null!=a.data.messageRenderer||null!=a.data.showTransactionMessageAction||"YPC_RESPONSE_CODE_ERROR"===a.data.ypcResponseCode?!0:!1},
handleTransactionEndpointSuccess_:function(a,b,c){c.data||(c={data:c});if(c.data.trackingParams){var d=_.fg(),e=_.eg();if(d&&e){var h=_.no(c.data.trackingParams);_.tv(d,e,h);_.Jg(this,"yt-store-grafted-ve-action",[h])}}b=this.getSerializedLoggingParams_(b);this.transactionResponseHasErrorMessage_(c)?(_.GG("TRANSACTION_ERROR_TYPE_YPC_COMPLETE_TRANSACTION_RPC_FAILURE",b),this.handleFlowError_(a,c)):(_.s4a(b),a({success:!0,response:c}))},
handleTransactionEndpointError_:function(a,b,c){b=this.getSerializedLoggingParams_(b);_.GG("TRANSACTION_ERROR_TYPE_YPC_COMPLETE_TRANSACTION_RPC_FAILURE",b);this.handleFlowError_(a,c)}});
_.Ng({is:"yt-native-buyflow-launcher",behaviors:[_.Y.YtActionHandlerBehavior],actionMap:{"yt-open-payments-dialog":"onStartWalletBuyFlow_"},onStartWalletBuyFlow_:function(a,b){_.v2a(_.gm(_.BH),a.data.encryptedPurchaseParams.replace(/-/g,"+").replace(/_/g,"/"),this.onDialogSuccess_.bind(this,b),void 0,this.onDialogError_.bind(this,b),_.mg.getInstance().get("hl"),void 0,this.onDialogClose_.bind(this,b),a.data.serializedTransactionFlowLoggingParams,a.data.serializedPaymentsClientParams)},
onDialogSuccess_:function(a,b){a({success:!0,buyFlowResponse:b})},
onDialogClose_:function(a){a({success:!1,closed:!0})},
onDialogError_:function(a,b){a({success:!1,error:b})}});
_.Ng({is:"yt-live-chat-kevlar-container",_template:function(){if(void 0!==UUb)return UUb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-live-chat-kevlar-container--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.live_chat.yt_live_chat_kevlar_container.yt.live.chat.kevlar.container.css.js--\x3e\n<yt-payments-manager></yt-payments-manager>\n<yt-native-buyflow-launcher></yt-native-buyflow-launcher>\n\n<div id="chat"></div>\n<template is="dom-if" if="[[data.conversationBarRenderer.availabilityMessage]]">\n  <ytd-message-renderer data="[[data.conversationBarRenderer.availabilityMessage.messageRenderer]]">\n  </ytd-message-renderer>\n</template>\n<div id="show-hide-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TUb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.live_chat.yt_live_chat_kevlar_container.yt.live.chat.kevlar.container.css.js--\x3e<style>:host {display: block;height: 100%;border: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;padding-bottom: 30px;margin-bottom: 24px;} #chat {height: 100%;} :host([chat-collapsed]) {padding-bottom: 0;} :host([chat-collapsed]) #chat {height: 0;min-height: 0;} #show-hide-button>ytd-toggle-button-renderer {width: 100%;color: var(--yt-live-chat-secondary-text-color);background-color: var(--yt-spec-brand-background-primary);font-size: 11px;--yt-button-border-radius: 0;--yt-button-padding: 8px 24px;--yt-paper-button-width: 100%;} #show-hide-button>ytd-toggle-button-renderer:hover {color: var(--yt-live-chat-primary-text-color);} /*# sourceMappingURL=yt-live-chat-kevlar-container.css.map*/</style>";
TUb=d}d=TUb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return UUb=a},
properties:{data:{type:Object,observer:"dataChanged_"},computedData:{type:Object,computed:"computeChatData_(data, chatCollapsed)"},isChatHiddenByUser:{type:Boolean},chatCollapsed:{type:Boolean,value:!1,computed:"isChatCollapsed_(data, isChatHiddenByUser)",reflectToAttribute:!0}},stampDom:{computedData:{id:"chat",mapping:{liveChatRenderer:"yt-live-chat-renderer"}},"computedData.liveChatRenderer.showHideButton":{id:"show-hide-button",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer"}}},behaviors:[_.Y.YtActionHandlerBehavior,
_.iu.YtComponentBehavior,_.Su.YtOpenPopupBehavior,_.X.YtRendererstamperBehavior,_.Tu.YtEndpointBehavior,_.tE.YtPlayerListenerBehavior],listeners:{"yt-navigate":"onYtNavigate_","yt-toggle-button":"onYtToggleButton_"},actionMap:{"yt-live-chat-open-popup":"onOpenPopup_"},created:function(){this.playerEvents_=new _.Wl;this.playerEvents_.set("onAdStart",this.onAdStart_);this.playerEvents_.set("onAdEnd",this.onAdEnd_);this.playerEvents_.set("onStateChange",this.onPlayerStateChange_);this.playerEvents_.set("onVideoProgress",
this.onVideoProgressChange_);this.player=null},
ready:function(){_.x("kevlar_watch_color_update")&&document.documentElement.setAttribute("watch-color-update","")},
attached:function(){this.isChatReplay(this.data)&&this.setupPlayerEvents_()},
detached:function(){this.disconnectFromPlayer()},
dataChanged_:function(a){this.isChatReplay(a)?this.setupPlayerEvents_():this.disconnectFromPlayer();if(a.liveChatRenderer&&a.liveChatRenderer.showHideButton&&a.liveChatRenderer.showHideButton.toggleButtonRenderer&&"boolean"===typeof this.isChatHiddenByUser){var b=a.liveChatRenderer.showHideButton.toggleButtonRenderer;if(this.isChatHiddenByUser&&!this.isChatsInitialStateCollapsed_(a)||!this.isChatHiddenByUser&&this.isChatsInitialStateCollapsed_(a))b.isToggled=!b.isToggled}else this.isChatHiddenByUser=
void 0},
isChatsInitialStateCollapsed_:function(a){return"LIVE_CHAT_DISPLAY_STATE_COLLAPSED"===a.liveChatRenderer.initialDisplayState},
setupPlayerEvents_:function(){var a=this,b;return _.y(function(c){if(a.isListeningForPlayerProgress)return c.jumpTo(0);b=_.qw();a.isListeningForPlayerProgress=!0;return _.B(c,b.getPlayerPromise().then(a.onPlayerApiReady.bind(a)),0)})},
setPlayer:function(a){this.player&&this.unlistenFromPlayerEvents(this.player,this.playerEvents_);(this.player=a)&&this.listenToPlayerEvents(this.player,this.playerEvents_)},
onPlayerApiReady:function(a){this.setPlayer(a)},
disconnectFromPlayer:function(){this.setPlayer(null);this.isListeningForPlayerProgress=!1},
onAdStart_:function(){_.Jg(this,"yt-live-player-ad-start")},
onAdEnd_:function(){_.Jg(this,"yt-live-player-ad-end")},
onPlayerStateChange_:function(a){_.Jg(this,"yt-live-player-state-change",[a])},
onVideoProgressChange_:function(a){_.Jg(this,"yt-live-player-video-progress",[a])},
computeChatData_:function(a,b){return a&&a.liveChatRenderer&&b?{liveChatRenderer:{showHideButton:a.liveChatRenderer.showHideButton,initialDisplayState:a.liveChatRenderer.initialDisplayState}}:a},
isChatCollapsed_:function(a,b){return void 0!==b?b:a?a.conversationBarRenderer&&a.conversationBarRenderer.availabilityMessage?!0:a.liveChatRenderer?this.isChatsInitialStateCollapsed_(a):!1:!1},
isChatReplay:function(a){return!!(a&&a.liveChatRenderer&&a.liveChatRenderer.isReplay)},
onYtToggleButton_:function(){this.isChatHiddenByUser=!this.chatCollapsed},
onOpenPopup_:function(a){this.openPopup(a)},
onYtNavigate_:function(a,b){b.endpoint.ypcGetOffersEndpoint&&_.x("enable_native_live_chat_on_kevlar")&&(a.stopPropagation(),_.Kg(this,[b.endpoint]))}});
var MVb=_.oo(115994),NVb=_.oo(115993),Y9=function(a,b,c){var d=this,e=c.dragDownAction;this.layer=0;this.watchConfig={startPosition:0,draggingClass:"gesture-dragging",triggers:{down:{fade:!0,endOpacity:.6,endPosition:100,threshold:100,triggerAction:function(){return d.dragDownAction()}}}};
this.watchFullScreenConfig={startPosition:0,draggingClass:"gesture-dragging",triggers:{down:{disableFinish:!0,endOpacity:.6,endPosition:100,threshold:100,triggerAction:function(){return d.dragDownAction()}}}};
this.fullscreen=!1;if(_.x("kevlar_touch_gesture_ves")){var h=_.vp();_.DE(h,MVb,this.layer);_.DE(h,NVb,this.layer);this.dragDownAction=function(){e();_.Ou(h,{visualElement:d.fullscreen?MVb:NVb})}}else this.dragDownAction=e;
this.gesture=new _.lI(a,b,this.watchConfig,_.x("kevlar_watch_gesture_pandown")?"pandown":void 0);this.attach()};
Y9.prototype.attach=function(){this.gesture.attach()};
Y9.prototype.detach=function(){this.gesture.detach()};
Y9.prototype.update=function(a){this.fullscreen=a;this.gesture.config=a?this.watchFullScreenConfig:this.watchConfig};
var OVb=function(){return _.K.apply(this,arguments)||this};
_.q(OVb,_.K);var PVb=OVb;PVb=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-items"})],PVb);
var QVb;
var RVb;
var SVb;
var TVb;
var UVb=function(){var a=_.K.apply(this,arguments)||this;a.small=_.x("no_sub_count_on_sub_button");return a};
_.q(UVb,_.K);
_.t.Object.defineProperties(UVb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-view-count-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_video_view_count_renderer.ytd.video.view.count.renderer.css.js--\x3e<span class="view-count">[[getSimpleString(data.viewCount)]]</span><span class="short-view-count">[[getSimpleString(data.shortViewCount)]]</span>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_video_view_count_renderer.ytd.video.view.count.renderer.css.js--\x3e<style>:host {display: inline-block;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} :host([small]) {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .short-view-count {display: none;} @media screen and (max-width:600px) {.short-view-count {display: inline-block;}.view-count {display: none;}} span {color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-video-view-count-renderer.css.map*/</style>';
SVb=d}d=SVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TVb=a}a=TVb;return a}}});
var Z9=UVb;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Z9.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z9.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Z9.prototype,"small",void 0);Z9=_.S([_.Q({asyncProperties:!0,is:"ytd-video-view-count-renderer"})],Z9);
var $9=function(){var a=_.K.apply(this,arguments)||this;a.infoFormattedStrings=[];a.useYtSans=_.x("web_watch_page_video_title_yt_sans");a.useYtSans20=_.x("web_watch_title_yt_sans_20");a.useYtSans22=_.x("web_watch_title_yt_sans_22");a.useYtSans20Light=_.x("web_watch_title_yt_sans_20_light");a.wrapVideoActions=_.x("kevar_watch_wrap_video_actions");a.hideSentimentBar=_.x("kevlar_watch_hide_sentiment_bar");a.actionMap={"yt-update-viewership-action":"handleUpdateViewershipAction","yt-update-title-action":"handleUpdateTitleAction",
"yt-update-date-text-action":"handleUpdateDateTextAction"};return a};
_.q($9,_.K);_.f=$9.prototype;_.f.configureRendererStamper=function(){return{"data.videoActions":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:more",styleActionButton:!0}}}},"data.viewCount":{id:"count",mapping:{videoViewCountRenderer:"ytd-video-view-count-renderer"}}}};
_.f.dataChanged=function(){this.scheduleInitialUpdatedMetadataRequest();this.setSentimentBarWidth()};
_.f.computeInfoFormattedStrings=function(a){if(!a)return[];var b=[];a.dateText&&b.push(a.dateText);a.stationName&&b.push(a.stationName);a.rating&&b.push(a.rating);a.startEndTimeTemplate&&a.startTimeUtcMillis&&a.endTimeUtcMillis&&b.push(_.Mu(_.ACb(_.qi(a.startEndTimeTemplate),Number(a.startTimeUtcMillis),Number(a.endTimeUtcMillis))));a.upNextProgramText&&b.push(a.upNextProgramText);return b};
_.f.scheduleInitialUpdatedMetadataRequest=function(){this.data&&this.data.updatedMetadataEndpoint&&this.ytTaskEmitterBehavior.getTaskManager().addLowPriorityJob(this.fetchUpdatedMetadata.bind(this),250)};
_.f.setSentimentBarWidth=function(){var a=this;_.nt(this,function(){var b=a.$$("ytd-menu-renderer");if(b){b=b.topLevelButtons;for(var c=0,d=0;d<b.length;d++){var e=b[d],h=a.get("toggleButtonSupportedData.toggleButtonIdData.id",e.data);if("TOGGLE_BUTTON_ID_TYPE_DISLIKE"===h||"TOGGLE_BUTTON_ID_TYPE_LIKE"===h)c+=e.clientWidth+8;else break}c&&(a.$.sentiment.style.width=c-8+"px")}})};
_.f.fetchUpdatedMetadata=function(a){var b;a&&(b={continuation:a});_.Kg(this,[this.data.updatedMetadataEndpoint,b])};
_.f.onYtServiceRequestSent=function(a,b){b.endpoint&&b.endpoint.likeEndpoint&&(this.hasUpdateSentimentBarStateCommands()&&!_.x("kevlar_sentiment_bar_update_killswitch")||this.set("data.sentimentBar.sentimentBarRenderer.likeStatus",b.endpoint.likeEndpoint.status),this.setSentimentBarWidth())};
_.f.hasUpdateSentimentBarStateCommands=function(){var a,b,c,d,e=null!=(d=null==(a=this.data)?void 0:null==(b=a.videoActions)?void 0:null==(c=b.menuRenderer)?void 0:c.topLevelButtons)?d:[];a=_.k(e);for(b=a.next();!b.done;b=a.next()){b=b.value;e=d=c=void 0;var h=null==(c=b.toggleButtonRenderer)?void 0:null==(d=c.toggleButtonSupportedData)?void 0:null==(e=d.toggleButtonIdData)?void 0:e.id;if("TOGGLE_BUTTON_ID_TYPE_LIKE"===h||"TOGGLE_BUTTON_ID_TYPE_DISLIKE"===h){e=d=c=void 0;b=null==(c=b.toggleButtonRenderer)?
void 0:null==(d=c.defaultServiceEndpoint)?void 0:null==(e=d.commandExecutorCommand)?void 0:e.commands;if(!b)break;b=_.k(b);for(c=b.next();!c.done;c=b.next())if(c.value.updateSentimentBarStateCommand)return!0}}return!1};
_.f.onYtServiceRequestCompleted=function(a,b){this.get("continuation.timedContinuationData",b.data)&&this.data&&this.data.updatedMetadataEndpoint&&(a=b.data.continuation.timedContinuationData,this.ytTaskEmitterBehavior.getTaskManager().addLowPriorityJob(this.fetchUpdatedMetadata.bind(this,a.continuation),a.timeoutMs))};
_.f.handleUpdateViewershipAction=function(a){a.updateViewershipAction&&(a.updateViewershipAction.isEmpty?this.set("data.viewCount",null):a.updateViewershipAction.viewership?this.set("data.viewCount",a.updateViewershipAction.viewership):a.updateViewershipAction.viewCount&&this.set("data.viewCount",a.updateViewershipAction.viewCount))};
_.f.handleUpdateTitleAction=function(a){this.set("data.title",a.updateTitleAction.title)};
_.f.handleUpdateDateTextAction=function(a){this.hasDateText&&this.set("data.dateText",a.updateDateTextAction.dateText)};
_.f.computeHasDateText=function(a){return!!a&&!!a.dateText};
_.t.Object.defineProperties($9.prototype,{flexMenuEnabled:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return!(null==(d=null==(a=this.data)?void 0:null==(b=a.videoActions)?void 0:null==(c=b.menuRenderer)?void 0:c.flexibleItems)||!d.length)}}});
_.t.Object.defineProperties($9,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-primary-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.ytd_video_primary_info_renderer.ytd.video.primary.info.renderer.css.js--\x3e<div id="container"><ytd-badge-supported-renderer disable-upgrade$="[[!data.topStandaloneBadge]]" hidden="[[!data.topStandaloneBadge]]" top-standalone-badge="[[data.topStandaloneBadge]]"></ytd-badge-supported-renderer><a class="yt-simple-endpoint" hidden="[[!data.superTitleIcon]]" href$="[[computeHref_(data.superTitleLink.runs.0.navigationEndpoint)]]" aria-label$="[[data.superTitleLink.accessibility.accessibilityData.label]]" data="[[data.superTitleLink.runs.0.navigationEndpoint]]"><yt-icon class="super-title-icon" icon="yt-icons:location_pin"></yt-icon></a><yt-formatted-string class="super-title" force-default-style="" text="[[data.superTitleLink]]"></yt-formatted-string><h1 class="title"><yt-formatted-string force-default-style="" text="[[data.title]]"></yt-formatted-string></h1><ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]"></ytd-badge-supported-renderer><div id="info"><div id="info-text"><div id="count" hidden="[[!data.viewCount]]"></div><div id="info-strings" hidden="[[!infoFormattedStrings.length]]"><span id="dot" hidden="[[!data.viewCount]]"></span><template is="dom-repeat" items="[[infoFormattedStrings]]"><yt-formatted-string text="[[item]]"></yt-formatted-string></template></div></div><div id="flex"></div><div id="menu-container"><div id="menu"></div><ytd-sentiment-bar-renderer id="sentiment" data="[[data.sentimentBar.sentimentBarRenderer]]" hidden="[[!data.sentimentBar.sentimentBarRenderer]]"></ytd-sentiment-bar-renderer></div></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.ytd_video_primary_info_renderer.ytd.video.primary.info.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {--yt-button-icon-size: 36px;display: block;border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px 0 8px 0;} :host([use-yt-sans]) {--yt-navbar-title-line-height: 3.2rem;} .title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary));font-family: var(--ytd-video-primary-info-renderer-title-font-family,inherit);font-size: var(--ytd-video-primary-info-renderer-title-font-size,var(--yt-navbar-title-font-size,inherit));font-variant: var(--ytd-video-primary-info-renderer-title-font-variant,inherit);transform: var(--ytd-video-primary-info-renderer-title-transform,none);text-shadow: var(--ytd-video-primary-info-renderer-title-text-shadow,none);} :host([use-yt-sans]) .title {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 700;} :host([use-yt-sans20]) .title {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 700;} :host([use-yt-sans20-light]) .title {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 600;} :host([use-yt-sans22]) .title {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.2rem;line-height: 3rem;font-weight: 700;} .super-title {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .super-title-icon {color: var(--yt-spec-call-to-action);height: 16px;width: 16px;margin-right: 4px;vertical-align: bottom;} yt-formatted-string {word-break: break-word;} ytd-menu-renderer {position: relative;} #info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([flex-menu-enabled]) #info {-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([wrap-video-actions]) #info {-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #info-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([has-date-text]) #info-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} :host([wrap-video-actions]) #info-text {margin: 10px 12px 10px 0;} #count {display: inline-block;} #dot:after,#info-strings>yt-formatted-string:not(:last-of-type):after,:dir(rtl) #info-strings>yt-formatted-string:not(:last-of-type):before {content: "\u2022";margin: 0 4px;} :dir(rtl) #info-strings>yt-formatted-string:not(:last-of-type):after {content: "";margin: 0;} #info-strings {display: inline-block;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #flex {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([flex-menu-enabled]) #flex {display: none;} #sentiment {width: 110px;position: absolute;left: 0;padding-top: 6px;padding-bottom: 28px;} :host([hide-sentiment-bar]) #sentiment {display: none;} #menu {position: relative;top: 4px;} :host([flex-menu-enabled]) #menu {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #menu-container {position: relative;} :host([flex-menu-enabled]) #menu-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} :host([flex-menu-enabled]) #menu ytd-menu-renderer {-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} /*# sourceMappingURL=ytd-video-primary-info-renderer.css.map*/</style>';
QVb=d}d=QVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RVb=a}a=RVb;return a}}});
var a$=$9;a$.prototype.onYtServiceRequestCompleted=a$.prototype.onYtServiceRequestCompleted;a$.prototype.onYtServiceRequestSent=a$.prototype.onYtServiceRequestSent;a$.prototype.dataChanged=a$.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],a$.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],a$.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],a$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Lu.YtTaskEmitterBehavior),_.T("design:type",Object)],a$.prototype,"ytTaskEmitterBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],a$.prototype,"data",void 0);_.S([_.N({computed:"computeInfoFormattedStrings(data)"}),_.T("design:type",Array)],a$.prototype,"infoFormattedStrings",void 0);
_.S([_.N({computed:"computeHasDateText(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],a$.prototype,"hasDateText",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a$.prototype,"useYtSans",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a$.prototype,"useYtSans20",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a$.prototype,"useYtSans22",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a$.prototype,"useYtSans20Light",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a$.prototype,"wrapVideoActions",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a$.prototype,"hideSentimentBar",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],a$.prototype,"flexMenuEnabled",null);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],a$.prototype,"dataChanged",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],a$.prototype,"onYtServiceRequestSent",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],a$.prototype,"onYtServiceRequestCompleted",null);
a$=_.S([_.Q({is:"ytd-video-primary-info-renderer"})],a$);
var VVb;
var WVb;
var b$=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-update-date-text-action":"handleUpdateDateTextAction","yt-update-description-action":"handleUpdateDescriptionAction","yt-change-engagement-panel-visibility-action":"onYtChangeEngagementPanelVisibilityAction"};return a};
_.q(b$,_.K);_.f=b$.prototype;_.f.configureRendererStamper=function(){return{subscribeButtonData:{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:{component:"ytd-subscribe-button-renderer",params:{withCount:!0}},subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}}}};
_.f.dataChanged=function(){var a;this.descriptionToggled=!(null==(a=this.data)||!a.defaultExpanded);var b;this.collapsed=this.descriptionAlwaysCollapsed||!(null==(b=this.data)?0:b.defaultExpanded);this.subscribeButtonData=this.data.subscribeButton;this.descriptionCollapsedHeight=20*(this.data.descriptionCollapsedLines||3);this.showMoreClientVe=_.oo(110509);this.showLessClientVe=_.oo(110510);a=_.fg();b=_.eg();a&&b&&_.sg(void 0,a,b,[this.showMoreClientVe,this.showLessClientVe])};
_.f.onYtExpanderMoreTapped=function(){var a,b=null==(a=this.data)?void 0:a.showMoreCommand;b&&!this.hasInlineStructuredDescription&&this.componentBehavior.resolveCommand(b);(a=_.fg())&&this.showMoreClientVe&&_.pt(a,this.showMoreClientVe)};
_.f.onYtExpanderLessTapped=function(){var a=_.fg();a&&this.showLessClientVe&&_.pt(a,this.showLessClientVe);var b;(a=null==(b=this.data)?void 0:b.showLessCommand)&&this.componentBehavior.resolveCommand(a)};
_.f.handleUpdateDateTextAction=function(a){this.data&&this.data.dateText&&this.set("data.dateText",a.updateDateTextAction.dateText)};
_.f.handleUpdateDescriptionAction=function(a){this.$.description.hidden=a.updateDescriptionAction.isEmpty;this.set("data.description",a.updateDescriptionAction.description)};
_.f.onYtChangeEngagementPanelVisibilityAction=function(a){if(_.x("web_structured_description_show_more")||_.x("web_engagement_panel_open_description")){var b,c=null==(b=a.changeEngagementPanelVisibilityAction)?void 0:b.targetId,d;a=null==(d=a.changeEngagementPanelVisibilityAction)?void 0:d.visibility;"engagement-panel-structured-description"===c&&("ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===a?_.x("kevlar_structured_description_content_inline")||(this.descriptionToggled=!1):"ENGAGEMENT_PANEL_VISIBILITY_EXPANDED"===
a&&(this.descriptionToggled=!0))}};
_.t.Object.defineProperties(b$.prototype,{metadataCollapsible:{configurable:!0,enumerable:!0,get:function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.metadataRowContainer)?void 0:b.metadataRowContainerRenderer;return!!c&&!!c.rows&&c.rows.length>c.collapsedItemCount}},
hasInlineStructuredDescription:{configurable:!0,enumerable:!0,get:function(){return!!this.structuredDescriptionContentRenderer}},
showInlineStructuredDescription:{configurable:!0,enumerable:!0,get:function(){return this.hasInlineStructuredDescription&&!this.collapsed}},
descriptionAlwaysCollapsible:{configurable:!0,enumerable:!0,get:function(){return this.hasInlineStructuredDescription||this.metadataCollapsible}}});
_.t.Object.defineProperties(b$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-secondary-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.ytd_video_secondary_info_renderer.ytd.video.secondary.info.renderer.css.js--\x3e<div id="container"><div id="top-row"><ytd-video-owner-renderer data="[[data.owner.videoOwnerRenderer]]"><span class="date" slot="date">[[getSimpleString(data.dateText)]]</span></ytd-video-owner-renderer><div id="subscribe-button"></div></div><ytd-expander always-collapsed="[[descriptionAlwaysCollapsed]]" always-toggleable="[[descriptionAlwaysCollapsible]]" can-toggle="{{canCollapse}}" collapsed="{{collapsed}}" collapsed-height="[[descriptionCollapsedHeight]]" is-toggled="{{descriptionToggled}}"><div id="description" slot="content"><yt-formatted-string class="content" force-default-style="" split-lines="" text="[[data.description]]"></yt-formatted-string><ytd-structured-description-content-renderer data="[[structuredDescriptionContentRenderer]]" disable-upgrade$="[[!hasInlineStructuredDescription]]" hidden="[[!showInlineStructuredDescription]]" inline-structured-description="[[hasInlineStructuredDescription]]"></ytd-structured-description-content-renderer></div><ytd-metadata-row-container-renderer class="sticky" slot="sticky" collapsed="[[collapsed]]" data="[[data.metadataRowContainer.metadataRowContainerRenderer]]"></ytd-metadata-row-container-renderer><yt-formatted-string class="more-button" slot="more-button" role="button" text="[[data.showMoreText]]"></yt-formatted-string><yt-formatted-string class="less-button" slot="less-button" role="button" text="[[data.showLessText]]"></yt-formatted-string></ytd-expander></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.ytd_video_secondary_info_renderer.ytd.video.secondary.info.renderer.css.js--\x3e<style>:host {display: block;border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin-bottom: 24px;padding-bottom: 16px;} #top-row {margin-bottom: 12px;padding-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-formatted-string {word-break: break-word;} ytd-video-owner-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #subscribe-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .date {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} ytd-expander {margin-left: 64px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #description {display: block;max-width: 615px;} ytd-structured-description-content-renderer {margin-top: 16px;} .more-button,.less-button {color: var(--yt-spec-text-secondary);display: inline-block;margin-top: 8px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} .content {color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-video-secondary-info-renderer.css.map*/</style>';
VVb=d}d=VVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WVb=a}a=WVb;return a}}});
var c$=b$;c$.prototype.onYtExpanderLessTapped=c$.prototype.onYtExpanderLessTapped;c$.prototype.onYtExpanderMoreTapped=c$.prototype.onYtExpanderMoreTapped;c$.prototype.dataChanged=c$.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],c$.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],c$.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],c$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],c$.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],c$.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],c$.prototype,"collapsed",void 0);_.S([_.N(),_.T("design:type",Boolean)],c$.prototype,"descriptionToggled",void 0);
_.S([_.N(),_.T("design:type",Boolean)],c$.prototype,"canCollapse",void 0);_.S([_.N(),_.T("design:type",Object)],c$.prototype,"subscribeButtonData",void 0);_.S([_.N(),_.T("design:type",Number)],c$.prototype,"descriptionCollapsedHeight",void 0);_.S([_.N(),_.T("design:type",Object)],c$.prototype,"structuredDescriptionContentRenderer",void 0);_.S([_.N({value:function(){return _.x("web_watch_description_always_collapsed")}}),
_.T("design:type",Boolean)],c$.prototype,"descriptionAlwaysCollapsed",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],c$.prototype,"dataChanged",null);_.S([_.O("yt-expander-more-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],c$.prototype,"onYtExpanderMoreTapped",null);
_.S([_.O("yt-expander-less-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],c$.prototype,"onYtExpanderLessTapped",null);_.S([_.V("data.metadataRowContainer"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],c$.prototype,"metadataCollapsible",null);_.S([_.V("data","structuredDescriptionContentRenderer"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],c$.prototype,"hasInlineStructuredDescription",null);
_.S([_.V("data","structuredDescriptionContentRenderer","collapsed"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],c$.prototype,"showInlineStructuredDescription",null);_.S([_.V("data","hasInlineStructuredDescription","metadataCollapsible"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],c$.prototype,"descriptionAlwaysCollapsible",null);c$=_.S([_.Q({asyncProperties:!0,is:"ytd-video-secondary-info-renderer"})],c$);
var XVb;
var YVb;
var d$=function(){return _.K.apply(this,arguments)||this};
_.q(d$,_.K);d$.prototype.configureRendererStamper=function(){return{"data.scrollUpButton":{id:"scroll-up",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:more"}}}},"data.subscribeButton":{id:"subscribe",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer"}}}};
d$.prototype.activate=function(a){a.appendTo(this.player);a.getPlayerPromise().then(function(b){b.setMinimized(!0)});
this.active=!0};
d$.prototype.deactivate=function(){var a=this.player.firstElementChild;a.getPlayerPromise().then(function(b){b.setMinimized(!1)});
this.active=!1;return a};
d$.prototype.onScrollUpTap=function(){var a=_.Eg().resolve(_.Co).getCurrentPage();a&&a.setScrollTop(0)};
_.t.Object.defineProperties(d$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YVb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-miniplayer-bar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_miniplayer_bar_renderer.ytd.miniplayer.bar.renderer.css.js--\x3e<div id="player"></div>\n<div id="meta">\n  <div id="title-row">\n    <h1 id="title">[[getSimpleString(data.title)]]</h1>\n    <div id="scroll-up" on-tap="onScrollUpTap"></div>\n  </div>\n  <yt-formatted-string id="owner" text="[[data.owner]]"></yt-formatted-string>\n  <div id="buttons">\n    <div id="menu"></div>\n    <div id="subscribe"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XVb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_miniplayer_bar_renderer.ytd.miniplayer.bar.renderer.css.js--\x3e<style>:host {min-height: 142px;background: var(--yt-spec-brand-background-solid);border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #player {min-width: 252px;height: 142px;background: #000;} #meta {margin-left: 24px;margin-right: 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #title-row {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #title {margin-top: 24px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #scroll-up {margin-top: 12px;} #owner {--yt-endpoint-color: var(--yt-spec-text-primary);--yt-endpoint-hover-color: var(--yt-spec-text-primary);display: block;margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #buttons {margin-top: 20px;margin-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #menu {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-miniplayer-bar-renderer.css.map*/</style>';
XVb=d}d=XVb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YVb=a}a=YVb;return a}}});
var e$=d$;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],e$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],e$.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],e$.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],e$.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],e$.prototype,"active",void 0);
_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_while_miniplayer_bar_dark_launch")}}),
_.T("design:type",Boolean)],e$.prototype,"darkLaunch",void 0);_.S([_.Z("#player"),_.T("design:type",HTMLDivElement)],e$.prototype,"player",void 0);e$=_.S([_.Q({asyncProperties:!0,is:"ytd-miniplayer-bar-renderer"})],e$);
var ZVb;
var f$=function(){return _.K.apply(this,arguments)||this};
_.q(f$,_.K);f$.prototype.dataChanged=function(){this.$$("#scriptTag")&&this.root.removeChild(this.$$("#scriptTag"));var a=document.createElement("script");a.setAttribute("type","application/ld+json");a.setAttribute("id","scriptTag");_.Eb(a,_.pb(JSON.stringify(this.getPlayerMicroformatData()).replace(/</g,"\\x3c")));_.H(this.root).appendChild(a)};
f$.prototype.getPlayerMicroformatData=function(){if(!this.data)return"";var a={"@context":"https://schema.org","@type":"VideoObject",description:_.qi(this.data.description),duration:"PT"+(this.data.lengthSeconds||"0")+"S",embedUrl:this.data.embed?this.data.embed.iframeUrl:"",interactionCount:this.data.viewCount,name:_.qi(this.data.title),thumbnailUrl:this.data.thumbnail&&this.data.thumbnail.thumbnails?this.data.thumbnail.thumbnails.map(function(p){return p&&p.url||""}):[],
uploadDate:this.data.publishDate};this.data.category&&(a.genre=this.data.category);this.data.ownerChannelName&&(a.author=this.data.ownerChannelName);this.data.liveBroadcastDetails&&(a.publication=[{"@type":"BroadcastEvent",isLiveBroadcast:!0,startDate:this.data.liveBroadcastDetails.startTimestamp,endDate:this.data.liveBroadcastDetails.endTimestamp}]);if(this.data.learningResource){var b=this.data.learningResource;a["@type"]=["VideoObject","LearningResource"];var c,d;(null==(c=b.learningResourceType)?
0:c.length)&&0<(null==(d=b.learningResourceType)?void 0:d.length)&&(a.learningResourceType=b.learningResourceType[0]);var e,h;(null==(e=b.educationalAlignment)?0:e.length)&&0<(null==(h=b.educationalAlignment)?void 0:h.length)&&(a.educationalAlignment={"@type":"AlignmentObject",targetName:b.educationalAlignment[0]});var l,m;(null==(l=b.educationalLevel)?0:l.length)&&0<(null==(m=b.educationalLevel)?void 0:m.length)&&(c=b.educationalLevel[0],""!==b.educationalLevelCountry&&(c+=" ("+b.educationalLevelCountry+
")"),a.educationalLevel=c)}return a};
_.t.Object.defineProperties(f$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZVb){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-player-microformat-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);ZVb=a}a=ZVb;return a}}});
var g$=f$;g$.prototype.dataChanged=g$.prototype.dataChanged;_.S([_.N(),_.T("design:type",Object)],g$.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],g$.prototype,"dataChanged",null);g$=_.S([_.Q({asyncProperties:!0,is:"ytd-player-microformat-renderer"})],g$);
var LRb=[],KRb=!1;
var $Vb={},aWb=_.r4a("kevlar_tuner_default_comments_delay",1E3);
$Vb.YtdWatchBehavior=[_.iu.YtComponentBehavior,_.U.YtRendererBehavior,_.tE.YtPlayerListenerBehavior,_.X.YtRendererstamperBehavior,_.Y.YtActionHandlerBehavior,_.A3.YtPageBehavior,_.Tu.YtEndpointBehavior,{_noAccessors:!0,properties:{data:{type:Object,observer:"dataChanged_"},info:{type:Object},meta:{type:Object},ticket:{type:Object},donation:{type:Object},clarifyBox:{type:Object,computed:"getClarifyBox(data)"},limitedState:{type:Object,computed:"getLimitedState(data)"},merchShelf:{type:Object,computed:"getMerchShelf(data)"},
singleColumn:{type:Object,computed:"getSingleColumn(playerData.playabilityStatus, data)"},comments:{type:Object,value:null},playerData:{type:Object,observer:"playerDataChanged_"},playerAds:{type:Object,value:null},localPlaylistData_:{type:Object,value:{},computed:"setPlaylistData_(data.contents.twoColumnWatchNextResults.playlist.playlist)"},externalPlaylistData_:{type:Object,value:{}},playlistData:{type:Object,computed:"computePlaylistData_(localPlaylistData_, externalPlaylistData_)"},theater:{type:Boolean,
value:!1,reflectToAttribute:!0},fullWindowMode_:{type:Boolean,reflectToAttribute:!0,value:function(){return _.fd("START_IN_FULL_WINDOW_MODE")}},
fullscreen:{type:Boolean,reflectToAttribute:!0},playlist:{type:Boolean,reflectToAttribute:!0,computed:"hasPlaylist_(playlistData, loadingData.playlist)",observer:"secondaryColumnModulePresenceChanged_"},alerts:{type:Object,computed:"getAlerts_(playerData.playabilityStatus)"},microformat:{type:Object,computed:"getPlayerMicroformatRenderer_(playerData.microformat)"},commentsReady:{type:Boolean,observer:"commentsReadyChanged_"},theaterRequested_:{type:Boolean,reflectToAttribute:!0,value:function(){return _.fd("START_IN_THEATER_MODE")}},
speedyGData_:{type:Object,value:null},loading:{type:Boolean,observer:"onLoadingChanged_"},loadingData:{type:Object,value:{playlist:!1}},playerUnavailable:{type:Boolean,value:!1,reflectToAttribute:!0,computed:"isPlayerUnavailable_(playerData.playabilityStatus, playerLoading_)"},plaShelfEnabled_:{type:Boolean,value:!1,computed:"isPlaShelfEnabled_(playerData)"},monetizationShelvesEnabled_:{type:Boolean,value:!0},watchNextShownItems:Array,watchNextCanShowMore:Boolean,hidden:{type:Boolean,reflectToAttribute:!0,
value:!1},shouldStampChat:{type:Boolean,value:!1,computed:"computeShouldStampChat_(data, hidden)",observer:"secondaryColumnModulePresenceChanged_",reflectToAttribute:!0},shouldStampNativeChat:{type:Boolean,value:!1,computed:"computeShouldStampNativeChat_(data, hidden)",observer:"secondaryColumnModulePresenceChanged_",reflectToAttribute:!0},shouldCollapseDonationShelf:{type:Boolean,value:!1,computed:"computeIsDonationShelfCollapsed_(shouldStampChat, shouldStampNativeChat)",reflectToAttribute:!0},shouldShowMerchShelf:{type:Boolean,
value:!1,computed:"computeShouldShowMerchShelf(merchShelf, monetizationShelvesEnabled_)",reflectToAttribute:!0},canScheduleCommentJobs_:{type:Boolean,value:!0},videoId:{type:String,value:"",computed:"identity(data.currentVideoEndpoint.watchEndpoint.videoId)",reflectToAttribute:!0},isTwoColumns_:{type:Boolean,reflectToAttribute:!0,observer:"isTwoColumnsChanged_"},splitPane_:{type:Boolean,value:!1,reflectToAttribute:!0},isVerticalVideo_:{type:Boolean,reflectToAttribute:!0,computed:"computeIsVerticalVideo_(videoHeightToWidthRatio_)"},
isFourThreeToSixteenNineVideo_:{type:Boolean,reflectToAttribute:!0,computed:"computeIsFourThreeToSixteenNineVideo_(videoHeightToWidthRatio_)"},isExtraWideVideo_:{type:Boolean,reflectToAttribute:!0,computed:"computeIsExtraWideVideo_(videoHeightToWidthRatio_)",observer:"updateSplitPaneSetting_"},videoHeightToWidthRatio_:{type:Number,value:.5625,observer:"videoHeightToWidthRatioChanged_"},flexySmallWindow_:{type:Boolean,reflectToAttribute:!0},flexyLargeWindow_:{type:Boolean,reflectToAttribute:!0},playerLoading_:{type:Boolean,
value:!1},jsPanelHeight_:{type:Boolean,value:function(){return _.x("kevlar_watch_js_panel_height")},
reflectToAttribute:!0},showEngagementPanelScrim_:{type:Boolean,reflectToAttribute:!0,observer:"showEngagementPanelScrimChanged_"},watchFeedBigThumbs_:{type:Boolean,reflectToAttribute:!0,value:function(){return _.x("kevlar_watch_feed_big_thumbs")}},
secondaryHovered_:{type:Boolean,reflectToAttribute:!0},useEngagementPanelManagementComponent:{type:Boolean,value:function(){return _.x("kevlar_use_engagement_panel_management_component")}},
watchMetadataRefresh:{type:Boolean,value:!1,computed:"computeWatchMetadataRefresh(videoPrimaryInfoRenderer)",reflectToAttribute:!0},commentsEntryPointHeaderRenderer:{type:Object,computed:"computeCommentsEntryPointHeaderRenderer(data)"},videoPrimaryInfoRenderer:{type:Object,computed:"computeVideoPrimaryInfoRenderer(data)"},videoSecondaryInfoRenderer:{type:Object,computed:"computeVideoSecondaryInfoRenderer(data)"},inlineStructuredDescriptionData:{type:Object,computed:"computeInlineStructuredDescriptionData(data)"},
flexyEnableSmallWindowSizing:{type:Boolean,reflectToAttribute:!0,value:function(){return!_.x("kevlar_watch_flexy_disable_small_window_sizing")}},
flexyEnableLargeWindowSizing:{type:Boolean,reflectToAttribute:!0,value:function(){return!_.x("kevlar_watch_flexy_disable_large_window_sizing")}},
hideComments:{type:Boolean}},observers:"watchPageActiveChanged_(active);shouldProceedToNextVideo_(playerData.playabilityStatus, data, playlist);autoplayDataChanged_(data.contents.twoColumnWatchNextResults.autoplay.autoplay);userEngagementConfigDataChanged_(data.userEngagementConfig);updateTheaterModeState_(theaterRequested_);watchNextShownItemsAddedOrRemoved_(watchNextShownItems.splices, watchNextCanShowMore);youthereDataChanged_(playerData.messages)".split(";"),monitorScroll:!0,configureRendererStamper:function(){var a=
{info:{id:"info-contents",mapping:{videoPrimaryInfoRenderer:{component:"ytd-video-primary-info-renderer"}}},meta:{id:"meta-contents",mapping:{videoSecondaryInfoRenderer:{component:"ytd-video-secondary-info-renderer",properties:{structuredDescriptionContentRenderer:"[[inlineStructuredDescriptionData]]"}}}},ticket:{id:"ticket-shelf",mapping:{ticketShelfRenderer:"ytd-ticket-shelf-renderer"}},donation:{id:"donation-shelf",mapping:{donationShelfRenderer:{component:"ytd-donation-shelf-renderer",properties:{isCollapsed:"[[shouldCollapseDonationShelf]]"}},
donationUnavailableRenderer:{component:"ytd-donation-unavailable-renderer"}}},clarifyBox:{id:"clarify-box",mapping:{clarificationRenderer:"ytd-clarification-renderer",infoPanelContainerRenderer:"ytd-info-panel-container-renderer",infoPanelContentRenderer:"ytd-info-panel-content-renderer",emergencyOneboxRenderer:{component:"ytd-emergency-onebox-renderer",attributes:{"class":"watch"}}}},limitedState:{id:"limited-state",mapping:{limitedStateMessageRenderer:"ytd-limited-state-message-renderer"}},playerAds:{id:"player-ads",
mapping:{playerLegacyDesktopWatchAdsRenderer:"ytd-player-legacy-desktop-watch-ads-renderer"},initialRenderPriority:3,waitForSignal:_.z3()},"data.survey":{id:"survey",mapping:{surveyTriggerRenderer:"ytd-survey-trigger-renderer"},initialRenderPriority:3,waitForSignal:_.z3()},alerts:{id:"alerts",mapping:{alertRenderer:"yt-alert-renderer",alertWithButtonRenderer:"ytd-alert-with-button-renderer"}},"data.contents.twoColumnWatchNextResults.miniplayerBar":{id:"miniplayer-bar",mapping:{miniplayerBarRenderer:"ytd-miniplayer-bar-renderer"}},
microformat:{id:"microformat",mapping:{playerMicroformatRenderer:"ytd-player-microformat-renderer"}},singleColumn:{id:"single-column-container",mapping:{itemSectionRenderer:"ytd-item-section-renderer"}}};_.x("kevlar_use_engagement_panel_management_component")||(a["data.engagementPanels"]={id:"panels",mapping:{engagementPanelSectionListRenderer:{component:"ytd-engagement-panel-section-list-renderer",params:{isWatch:!0}}}});return a},
listeners:{"yt-navigate":"onYtNavigate_","yt-page-navigate-start":"onYtPageNavigateStart_","yt-retrieve-location":"onRetrieveLocation_","yt-subscription-changed":"onSubscriptionChanged_","yt-page-data-will-update":"onYtPageDataWillUpdate_","yt-show-survey":"onYtShowSurvey_"},actionMap:{"yt-sync-with-remote-video":"syncWithRemoteVideo_","yt-signal-action-cancel-autonav":"onYtSignalCancelAutonav_","yt-window-resized":"onWindowResized_","yt-toggle-theater-mode":"theaterModeChanged_","yt-activate-miniplayer-from-watch-action":"onCollapseMiniplayer_",
"yt-initial-video-aspect-ratio":"onYtInitialVideoAspectRatio_","yt-update-player-next-video":"onUpdatePlayerNextVideo_","yt-is-theater":"isTheater_","yt-autonav-state-changed-action":"onYtAutonavStateChangedAction_","yt-fullscreen-change-action":"onFullscreenChange_","yt-signal-action-pause-player":"handleSignalActionPausePlayer_","yt-signal-action-play-player":"handleSignalActionPlayPlayer_","yt-signal-action-acknowledge-youthere":"handleSignalActionAcknowledgeYouThere_","yt-user-activity":"onYtUserActivity_",
"yt-show-engagement-panel-scrim-action":"onYtShowEngagementPanelScrimAction_","yt-hide-engagement-panel-scrim-action":"onYtHideEngagementPanelScrimAction_","yt-loop-command":"handleLoopCommand_","yt-get-current-video-id-action":"onGetCurrentVideoIdAction_","yt-show-survey-command":"onYtShowSurveyCommand_","yt-scroll-to-watch-element":"onYtScrollToWatchElement_","yt-signal-action-scroll-to-comments":"onYtSignalActionScrollToComments","yt-change-engagement-panel-visibility-action":"onYtChangeEngagementPanelVisibilityAction",
"yt-downloaded-video-deleted":"onDownloadedVideoDeleted","yt-repeat-chapter-command":"onRepeatChapterCommand"},created:function(){var a=this;_.x("kevlar_watch_flexy_use_controller")&&(this.watchController=void 0);this.pageDisposeJobs=[function(){a.showMetadataPlaceholder_()},
function(){a.clearComments_()},
function(){a.clearPlayerAds_()},
function(){a.resetAutonavCanceledForNewPlayback_()}];
this.player=this.watchNextSkeletonEl_=null;this.onPlayingCallbacks_=[];this.timeBetweenAutonavScrollEventsMs_=200;this.scrollThrottle_=new _.wv(this.onThrottledScroll_,this.timeBetweenAutonavScrollEventsMs_,this);this.clearPlayerAdsJobId_=this.clearCommentsJobId_=this.setCommentsJobId_=0;this.showFullerscreenEdu_=!1;this.scrollToAnimation_=new _.w_(function(b){a.setScrollTop(b)});
this.windowSize_=null;this.autonavCanceledSignal_=!1;_.x("kevlar_watch_while")&&(this.watchWhileScrollThreshold_=NaN);this.youThereManager_=new YRb(function(){return _.rv(a)},this);
this.pageDisposeJobs.push(function(){a.youThereManager_.reset()});
_.x("external_fullscreen")&&(this.fullerscreenEduButtonShownThisPlayback_=this.fullerscreenEduButtonClickedThisPlayback_=!1,this.pageDisposeJobs.push(function(){a.resetFullerscreenEduButtonForNewPlayback_()}));
_.x("kevlar_watch_js_panel_height")&&(this.panelMaxHeightUpdateJob_=0);this.playerEvents_=new _.Wl;this.playerEvents_.set("SIZE_CLICKED",this.theaterModeChanged_);this.playerEvents_.set("onAutonavChangeRequest",this.onPlayerAutonavChangeRequest_);this.playerEvents_.set("onPlayVideo",this.onPlayerPlayVideo_);this.playerEvents_.set("onFeedbackStartRequest",this.onPlayerFeedbackStartRequest_);this.playerEvents_.set("onFeedbackArticleRequest",this.onPlayerFeedbackArticleRequest_);this.playerEvents_.set("onYpcContentRequest",
this.onPlayerYpcContentRequest_);this.playerEvents_.set("onAutonavPauseRequest",this.onPlayerAutonavPauseRequest_);this.playerEvents_.set("onAdStateChange",this.onAdStateChange_);this.playerEvents_.set("onStateChange",this.onPlayerStateChange_);this.playerEvents_.set("CONNECTION_ISSUE",this.onPlayerConnectionIssue_);this.playerEvents_.set("SUBSCRIBE",this.onPlayerSubscribe_);this.playerEvents_.set("UNSUBSCRIBE",this.onPlayerUnsubscribe_);this.playerEvents_.set("onYtShowToast",this.onPlayerAdYtShowToast_);
this.playerEvents_.set("onCollapseMiniplayer",this.onCollapseMiniplayer_);this.playerEvents_.set("onFullerscreenEduClicked",this.onFullerscreenEduClicked_);this.playerEvents_.set("onFullscreenChange",this.onPlayerFullscreenChange_);this.playerEvents_.set("onVideoDataChange",this.onPlayerPresentingVideoDataChange_);this.engagementPanelScrimOnClickCommands_=null;_.x("kevlar_watch_metadata_refresh")&&(this.watchMetadata=void 0)},
loadPage_:function(a){this.initCsi_();this.updatePageData_(a)},
updatePageData_:function(a){var b=this;if(a)if(this.data===a)this.onPageLoadWithSameData_();else if(this.data=a,!_.x("web_response_commands_chunk_processor")&&(a=this.get("onResponseReceivedEndpoints",this.data))){a=_.k(a);for(var c=a.next();!c.done;c=a.next())this.ytComponentBehavior.resolveCommand(c.value)}this.playlist&&(_.x("web_csi_via_jspb")?(a=new NRb,_.n(a,1,!0),c=new _.Th,_.eb(c,35,a),_.ei(c)):_.Qh({watchInfo:{isPlaylist:!0}}));1===this.pageCount&&_.fi("nw");this.loading=!1;_.Jn(_.xe,function(){b.initDclkstatus_()})},
onPageLoadWithSameData_:function(){this.initComments_();this.setPlayerAds_();this.updateTitle_(this.playerData)},
setLoadingState_:function(){this.classList.remove("hide-skeleton");this.classList.add("show-skeleton");this.setPlayerLoadingState_();this.classList.add("loading");var a=this.get("endpoint.watchEndpoint.playlistId",this.loadingData);this.set("loadingData.playlist",!!a);this.set("loadingData.playlistLoading",a&&a!==this.get("playlistId",this.playlistData));this.toggleBodyScrolling_(!1);if(this.watchNextSkeletonEl_)for(this.playlist?this.watchNextSkeletonEl_.setAttribute("playlist",""):this.watchNextSkeletonEl_.removeAttribute("playlist"),
a=this.watchNextSkeletonEl_.firstElementChild;a;)a.classList.remove("hidden"),a=a.nextElementSibling},
clearLoadingState_:function(){this.classList.remove("show-skeleton");this.classList.add("hide-skeleton");!this.get("data.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults")&&this.$["related-skeleton"]&&(this.$["related-skeleton"].hidden=!0);this.clearPlayerLoadingState_();this.classList.remove("loading");this.loadingData={playlist:!1};this.splitPane_||this.toggleBodyScrolling_(!0);if(this.watchMetadata){var a,b;null==(b=(a=this.watchMetadata).updateSentimentBarWidth)||b.call(a);
var c,d;null==(d=(c=this.watchMetadata).resize)||d.call(c)}},
onLoadingChanged_:function(a){a?this.setLoadingState_():this.clearLoadingState_()},
setPlayerLoadingState_:function(){this.playerLoading_||(this.playerLoading_=!0,this.classList.add("loading-player"))},
clearPlayerLoadingState_:function(){this.playerLoading_&&(this.playerLoading_=!1,this.classList.remove("loading-player"))},
toggleBodyScrolling_:function(a){var b=this;a?document.body.removeAttribute("no-y-overflow"):document.body.setAttribute("no-y-overflow","");_.xe.addLowPriorityJob(function(){b.onWindowResized_(_.fJ(!0))})},
updateTheaterModeState_:function(a){a=a||this.fullWindowMode_;if(void 0!==this.theater||a)this.theater=a;"ytd-watch-flexy"===this.is&&(this.updatePlayerElementLocation_(),this.updateSplitPaneSetting_());this.player&&this.setPlayerTheaterMode_();this.togglePageSwatchActive_()},
updatePlayerElementLocation_:function(){var a=this.theater;_.x("external_fullscreen")&&this.fullscreen&&(a=!0);a=a?this.$["player-theater-container"]:this.$["player-container-inner"];var b=this.getPlayerContainer();b.parentElement!==a&&(_.rv(this).appendTo(a,b),a.appendChild(this.$["error-screen"]))},
isTheater_:function(){return this.theater&&this.active},
dataChanged_:function(){if(_.x("kevlar_watch_flexy_use_controller")){var a;null==(a=this.watchController)||_.f8(a,this.data)}this.initComments_();this.info=this.getPageContents(this.data);this.meta=this.getPageContents(this.data);this.ticket=this.getPageContents(this.data);this.getPageContents(this.data);this.donation=this.getOfferModule(this.data);_.x("kevlar_metadata_reset_on_nav")&&this.classList.add("hide-skeleton");_.Eg().resolve(_.Go).cancelVideoSkip();this.showEngagementPanelScrim_=!1;_.x("kevlar_watch_keep_metadata_above_the_fold")&&
this.schedulePlayerSizeUpdate_();this.updateTitleFromWatchNext(this.data)},
playerDataChanged_:function(a){var b=this;if(_.x("kevlar_watch_flexy_use_controller")){var c;null==(c=this.watchController)||_.e8(c,this.playerData)}if(a&&a.playabilityStatus){c=this.isVideoPlayable_(a.playabilityStatus);var d=this.isLiveStreamOffline_(a.playabilityStatus);c&&!d||_.nt(this,function(){_.fi("pbu")})}this.setPlayerAds_();
_.Jg(this,"ytd-watch-player-data-changed");a&&(this.speedyGData_?this.speedyGData_=a.videoQualityPromoSupportedRenderers:_.Jn(_.xe,function(){b.speedyGData_=a.videoQualityPromoSupportedRenderers},50),this.updateTitle_(a))},
watchPageActiveChanged_:function(a){_.x("kevlar_watch_flexy_use_controller")&&_.hh.dispatch(_.mQb(this.ytPageBehavior.active));a?this.activate_():this.deactivate_()},
attached:function(){var a=this;_.x("kevlar_watch_flexy_use_controller")&&(this.watchController=new _.d8(this),this.playerData&&_.e8(this.watchController,this.playerData),this.data&&_.f8(this.watchController,this.data));var b=_.rv(this);_.x("kevlar_disable_prepare_player")||b.preparePlayer();_.Eg().resolve(_.Go).setPlayer(b);this.attachWatchPageSkeleton_();this.updateSplitPaneSetting_();if("ytd-watch-flexy"===this.is){b=_.AH();var c=1E3+b,d=1327+b;this.$["two-column-query"].query="(min-width: "+c+
"px)";this.$["small-window-query"].query="(max-height: 629px) and (min-width: "+(657+b+"px), (min-height: 630px) and (min-width: ")+(c+"px) and (max-width: ")+(d+"px)");this.$["large-window-query"].query="(min-height: 630px) and (min-width: "+(d+"px)");b={"--ytd-watch-flexy-scrollbar-width":b+"px"};_.hd("kevlar_watch_flexy_metadata_height")&&!_.x("kevlar_watch_keep_metadata_above_the_fold")&&(b["--ytd-watch-flexy-space-below-player"]=_.JEb+"px");this.safeUpdateStyles(b)}_.x("external_fullscreen")&&
this.fire("yt-set-fullerscreen-styles");this.gestures_=new Y9(this,this.getPlayerContainer(),{dragDownAction:function(){return a.onPlayerTouchPanDown_()}});
_.x("kevlar_watch_metadata_refresh")&&(this.watchMetadata=this.$$("ytd-watch-metadata"))},
calculateCurrentPlayerSize_:function(a){a=void 0===a?NaN:a;var b=this.$["miniplayer-bar"].firstChild;return b&&b.active||this.theater||!this.active||!this.windowSize_?new _.gk(NaN,NaN):_.x("kevlar_watch_snap_sizing")?this.calculateNormalPlayerSize_():ERb(this.windowSize_,this.videoHeightToWidthRatio_,this.isTwoColumns_&&(this.playlist||this.shouldStampChat),a)},
calculateNormalPlayerSize_:function(){var a;if(_.x("kevlar_watch_snap_sizing"))a:{for(a=0;a<XRb.length;a++){var b=XRb[a];if(b.query.matches){a=new _.gk(b.size.width,b.size.height);break a}}a=void 0}else a=ERb(this.windowSize_,this.videoHeightToWidthRatio_,this.isTwoColumns_&&(this.playlist||this.shouldStampChat));return a},
detached:function(){_.x("kevlar_watch_flexy_use_controller")&&(_.Jb(this.watchController),this.watchController=void 0);this.deactivate_()},
activate_:function(){var a=this;this.listen(window,"scroll","onWatchScroll_");this.fullWindowMode_&&this.fire("yt-set-fullerscreen-styles");this.onWindowResized_(_.fJ());_.x("browse_skeleton_removal_on_watch_killswitch")||_.fd("IS_SHELL_LOAD")&&_.gDb();this.theaterRequested_=this.theater;this.updateSplitPaneSetting_();this.togglePageSwatchActive_();var b=_.rv(this);this.listen(b,"yt-player-updated","onPlayerUpdated_");b.getPlayerPromise().then(function(c){a.playerApiReady_(c)});
b=_.Eg().resolve(_.Go);_.x("kevlar_watch_observe_playlist_navigations_killswitch")&&this.listen(b,"yt-navigate","onYtNavigate_");b.setPlaylistComponent(this.$.playlist);this.listen(b,"yt-playlist-data-updated","onYtPlaylistDataUpdated_");this.onYtPlaylistDataUpdated_();_.xe.addLowPriorityJob(function(){a.fire("yt-autonav-pause-scroll")})},
deactivate_:function(){this.unlisten(window,"scroll","onWatchScroll_");this.disconnectFromPlayer_();var a=_.rv(this);this.unlisten(a,"yt-player-updated","onPlayerUpdated_");a=_.Eg().resolve(_.Go);_.x("kevlar_watch_observe_playlist_navigations_killswitch")&&this.unlisten(a,"yt-navigate","onYtNavigate_");a.cancelVideoSkip();this.unlisten(a,"yt-playlist-data-updated","onYtPlaylistDataUpdated_");this.loading&&this.toggleBodyScrolling_(!0);_.x("kevlar_watch_while")&&this.updateMiniplayerBarVisibility_();
this.updateSplitPaneSetting_();this.schedulePlayerSizeUpdate_();this.fire("yt-autonav-pause-player",!1);a=_.dJ();_.x("kevlar_exit_fullscreen_leaving_watch")&&a&&_.z7(a)},
disconnectFromPlayer_:function(){this.player&&(this.unlistenFromPlayerEvents(this.player,this.playerEvents_),this.player=null)},
onUpdatePlayerNextVideo_:function(a){this.player&&this.player.updateVideoData({rvs:a.rvs})},
getPageContents:function(a){return a&&a.contents&&a.contents.twoColumnWatchNextResults&&a.contents.twoColumnWatchNextResults.results&&a.contents.twoColumnWatchNextResults.results.results.contents},
getClarifyBox:function(a){if(a=this.getPageContents(a))for(var b=0;b<a.length;b++)if(a[b]&&a[b].itemSectionRenderer)return a[b].itemSectionRenderer.contents},
getLimitedState:function(a){if(a=this.getPageContents(a)){a=_.k(a);for(var b=a.next();!b.done;b=a.next())if((b=b.value)&&b.itemSectionRenderer)return b.itemSectionRenderer.contents}},
getMerchShelf:function(a){if(a=this.getPageContents(a)){a=_.k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.merchandiseShelfRenderer)return b.merchandiseShelfRenderer}},
getSingleColumn:function(a,b){if(!this.isVideoPlayable_(a)){a=this.getPageContents(b);var c;if(null==b?0:null==(c=b.contents)?0:c.singleColumnWatchNextResults){var d,e;return null==(d=b.contents.singleColumnWatchNextResults.results)?void 0:null==(e=d.results)?void 0:e.contents}if(_.x("kevlar_unavailable_video_error_ui_client")&&a&&this.hasWatchNextResponseErrorRenderer(b))return a}},
getOfferModule:function(a){return this.get("contents.twoColumnWatchNextResults.secondaryResults.secondaryResults.offerModule",a)},
onRetrieveLocation_:function(a,b){b.hasComments?b.locationRetrieved("/comment_service_ajax?action_get_comments=1&pbj=1",void 0):b.locationRetrieved("/related_ajax",void 0);a.stopPropagation()},
onSubscriptionChanged_:function(a,b){this.player&&(b?this.player.channelSubscribed():this.player.channelUnsubscribed())},
initCsi_:function(){_.y3("watch",["pbs","pbp","pbu"])},
getPlayerContainer:function(){this.$||this._enableProperties();return this.$["player-container"]},
getPlayer:function(){this.$||this._enableProperties();return this.$["ytd-player"]},
playerApiReady_:function(a){this.player=a;this.listenToPlayerEvents(this.player,this.playerEvents_);this.updatePlayerStartTime_();this.setPlayerTheaterMode_();this.onPlayerPresentingVideoDataChange_();this.handlePlayerUpdated_();_.x("external_fullscreen")&&this.updateFullerscreenEduButtonSubtleModeState_();(_.x("kevlar_unified_player")||_.x("kevlar_player_new_bootstrap_adoption"))&&_.dQb()},
onFullerscreenEduClicked_:function(){this.scrollToAnimation_.start(0,186,500);this.fullerscreenEduButtonClickedThisPlayback_||(this.fullerscreenEduButtonClickedThisPlayback_=!0,this.incrementFullerscreenEduButtonCount_("yt-fullerscreen-edu-button-click-count"))},
theaterModeChanged_:function(a,b){b=void 0===b?!0:b;if(!_.x("rich_grid_watch")||this.active)_.dJ()&&_.x("external_fullscreen")&&_.z7(document.documentElement),this.theaterRequested_=a,b&&_.Ld("wide",a?"1":"0",-1),this.togglePageSwatchActive_(),this.setPlayerTheaterMode_(),this.schedulePlayerSizeUpdate_(),_.x("kevlar_watch_js_panel_height")&&this.schedulePanelMaxHeightUpdate_(),_.C(this,"yt-close-popup-action",["yt-tooltip-renderer"])},
togglePageSwatchActive_:function(){void 0!==this.theater&&this.active&&this.fire("yt-set-theater-mode-enabled",{enabled:this.theater})},
onWatchScroll_:function(){this.scrollThrottle_.fire()},
setPlayerTheaterMode_:function(){try{this.player.setSizeStyle(!0,this.theater)}catch(a){_.Sf(a,typeof this.player),this.player&&_.Sf(a,this.player.setSizeStyle)}},
onPlayerPlayVideo_:function(a){var b;a.sessionData&&a.sessionData.itct&&(b=a.sessionData.itct);var c=a.watchEndpoint,d;c&&a.sessionData&&a.sessionData.autonav?d=_.FG(c,b):d=this.buildWatchEndpoint_(a.videoId,a.listId,b);b={endpoint:d};a.sessionData&&(b.tempData=a.sessionData);this.fire("yt-navigate",b)},
onPlayerAutonavChangeRequest_:function(a){this.autonavAllowed_()&&(a=a?2:1,_.lF.getInstance().setState(a))},
onPlayerTouchPanDown_:function(){if(this.active&&0>=this.getScrollTop()){var a;(null==(a=this.player)?0:a.isFullscreen())?this.player.toggleFullscreen():_.C(this,"yt-activate-miniplayer-from-watch-action")}},
hasPlaylist_:function(a,b){return this.loading?b:!!Object.keys(a).length},
updatePlayerWithAutonavState_:function(){this.player&&(this.autonavAllowed_()?this.player.setAutonavState(_.lF.getInstance().getState()):this.player.setAutonavState(1))},
autonavAllowed_:function(){return this.autonavCanceledSignal_?!1:!!this.get("contents.twoColumnWatchNextResults.autoplay.autoplay",this.data)},
autoplayDataChanged_:function(){this.updatePlayerWithAutonavState_()},
youthereDataChanged_:function(a){if(a){a=_.k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b.youThereRenderer&&aSb(this.youThereManager_,b.youThereRenderer)}},
setPlaylistData_:function(a){return a||{}},
userEngagementConfigDataChanged_:function(a){if(a)if("LOW_USER_ENGAGEMENT_ACTION_LOWER_QUALITY"===a.lowUserEngagementAction){var b=this.youThereManager_;_.of()<a.lowEngagementThresholdMs||eSb(b,!0)}else"LOW_USER_ENGAGEMENT_ACTION_PAUSE_AUTOPLAY"===a.lowUserEngagementAction&&_.C(this,"yt-autonav-pause-user-engagement",[a])},
hasLiveChat_:function(a){return!!a},
isPlayerUnavailable_:function(a,b){return!!a&&!this.isVideoPlayable_(a)&&!b},
isVideoPlayable_:function(a){if(!a)return!1;var b="OK"===a.status||"LIVE_STREAM_OFFLINE"===a.status,c=this.get("errorScreen.playerLegacyDesktopYpcTrailerRenderer",a)||this.get("errorScreen.ypcTrailerRenderer",a);a=this.get("errorScreen.playerLegacyDesktopYpcOfferRenderer",a);return!!b||!!c||!!a},
hasWatchNextResponseErrorRenderer:function(a){var b=this.getPageContents(a),c,d,e,h,l;return!(null==a?0:null==(c=a.contents)?0:null==(d=c.twoColumnWatchNextResults)?0:d.secondaryResults)&&!!(null==(e=b[0])?0:null==(h=e.itemSectionRenderer)?0:null==(l=h.contents[0])?0:l.backgroundPromoRenderer)},
isLiveStreamOffline_:function(a){return a?"LIVE_STREAM_OFFLINE"===a.status:!1},
shouldProceedToNextVideo_:function(a,b,c){b=!!this.get("contents.twoColumnWatchNextResults.secondaryResults.secondaryResults.offerModule",b);var d=a&&"AGE_CHECK_REQUIRED"===a.status,e=this.get("skip.playabilityErrorSkipConfig.skipOnPlayabilityError",a);void 0==e&&(e=!0);!c||this.isVideoPlayable_(a)||b||d||!e||_.Eg().resolve(_.Go).skipVideo()},
getServiceTrackingParams:function(){if(this.data&&this.data.responseContext)return this.data.responseContext.serviceTrackingParams},
onPlayerUpdated_:function(){this.handlePlayerUpdated_();FRb()},
onPlayerFeedbackStartRequest_:function(a){_.C(this,"yt-feedback-dialog-requested",[{customProductData:a}])},
onPlayerFeedbackArticleRequest_:function(a){_.C(this,"yt-help-dialog-requested",[a])},
onPlayerYpcContentRequest_:function(){var a=0;if(!_.x("watch_player_overlay_bug_fix_killswitch")){var b,c,d,e,h,l,m,p;a=(null==(b=this.data)?NaN:null==(c=b.contents)?NaN:null==(d=c.twoColumnWatchNextResults)?NaN:null==(e=d.secondaryResults)?NaN:null==(h=e.secondaryResults)?NaN:null==(l=h.offerModule)?NaN:null==(m=l.tvfilmOfferModuleRenderer)?NaN:null==(p=m.actionButtons)?NaN:p.length)-1;a=0<=a?a:0}a=[".offerButton.buttonRenderer.",".actionButtons."+a+".buttonRenderer."];b=_.k(["episodeOfferModuleRenderer",
"movieOfferModuleRenderer","unlimitedOfferModuleRenderer","liveOfferModuleRenderer","tvfilmOfferModuleRenderer"]);for(c=b.next();!c.done;c=b.next())for(c=c.value,d=_.k(a),e=d.next();!e.done;e=d.next())if(e="contents.twoColumnWatchNextResults.secondaryResults.secondaryResults.offerModule."+c+e.value,e=this.get(e+"navigationEndpoint",this.data)||this.get(e+"serviceEndpoint",this.data)||this.get(e+"command",this.data)){this.ytComponentBehavior.resolveCommand(e);return}},
onPlayerAutonavPauseRequest_:function(a){this.fire("yt-autonav-pause-player",a)},
onPlayerPlaying_:function(){this.onPlayingCallbacks_.forEach(function(a){a()});
this.onPlayingCallbacks_.length=0},
onAdStateChange_:function(a){switch(a){case 3:this.clearPlayerLoadingState_();break;case 1:this.clearPlayerLoadingState_(),this.onPlayerPlaying_()}},
onPlayerStateChange_:function(a){switch(a){case 3:this.clearPlayerLoadingState_();break;case 1:this.clearPlayerLoadingState_();this.onPlayerPlaying_();break;case 0:this.fire("yt-autonav-pause-player-ended")}},
onPlayerSubscribe_:function(a){_.C(this,"yt-player-subscribe",[a])},
onPlayerUnsubscribe_:function(a){_.C(this,"yt-player-unsubscribe",[a])},
onPlayerAdYtShowToast_:function(a){this.fire("yt-action",new _.Ig("yt-open-popup-action",!1,[{openPopupAction:{popup:{notificationActionRenderer:a.notificationActionRenderer},popupType:"TOAST"}},this]))},
getAlerts_:function(a){if(a){var b=a.messageRenderers||[];a=_.k(a.messages||[]);for(var c=a.next();!c.done;c=a.next())b.push({alertRenderer:this.constructWarning_(c.value)});return b}},
getPlayerMicroformatRenderer_:function(a){if(a)return a},
computeCommentsEntryPointHeaderRenderer:function(){if(_.x("kevlar_watch_metadata_refresh")){var a,b,c,d,e,h,l=null!=(h=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b.twoColumnWatchNextResults)?void 0:null==(d=c.results)?void 0:null==(e=d.results)?void 0:e.contents)?h:[];a=_.k(l);for(e=a.next();!e.done;e=a.next())if(d=c=b=void 0,e=null==(b=e.value)?void 0:null==(c=b.itemSectionRenderer)?void 0:null==(d=c.contents)?void 0:d[0],b=void 0,null==(b=e)?0:b.commentsEntryPointHeaderRenderer)return e}},
computeWatchMetadataRefresh:function(){return _.x("kevlar_watch_metadata_refresh")&&this.videoPrimaryInfoRenderer?!0:!1},
computeVideoPrimaryInfoRenderer:function(){var a,b,c,d,e,h,l=null!=(h=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b.twoColumnWatchNextResults)?void 0:null==(d=c.results)?void 0:null==(e=d.results)?void 0:e.contents)?h:[];a=_.k(l);for(c=a.next();!c.done;c=a.next())if(b=void 0,c=null==(b=c.value)?void 0:b.videoPrimaryInfoRenderer)return c},
computeVideoSecondaryInfoRenderer:function(){var a,b,c,d,e,h,l=null!=(h=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b.twoColumnWatchNextResults)?void 0:null==(d=c.results)?void 0:null==(e=d.results)?void 0:e.contents)?h:[];a=_.k(l);for(c=a.next();!c.done;c=a.next())if(b=void 0,c=null==(b=c.value)?void 0:b.videoSecondaryInfoRenderer)return c},
computeInlineStructuredDescriptionData:function(){if(_.x("kevlar_structured_description_content_inline")){var a,b=null==(a=this.data)?void 0:a.engagementPanels;if(null==b?0:b.length){a=null;b=_.k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;if("engagement-panel-structured-description"===(null==(d=c.engagementPanelSectionListRenderer)?void 0:d.targetId)){a=c;break}}var e,h,l;a=null==(e=a)?void 0:null==(h=e.engagementPanelSectionListRenderer)?void 0:null==(l=h.content)?void 0:l.structuredDescriptionContentRenderer;
if(null==a?0:a.items){e=[];h=_.k(a.items);for(l=h.next();!l.done;l=h.next())l=l.value,l.expandableVideoDescriptionBodyRenderer||e.push(l);return{items:e}}}}},
constructWarning_:function(a){return{text:_.Mu(a),type:"WARNING"}},
isPlaShelfEnabled_:function(a){if((this.get("adPlacements",a)||[]).length)return!0;a=this.get("playerAds",a)||[];return!(!a.length||!this.get("playerLegacyDesktopWatchAdsRenderer.playerAdParams.allowBelowThePlayerCompanion",a[0]))},
onYtSignalCancelAutonav_:function(){this.autonavCanceledSignal_=!0;this.updatePlayerWithAutonavState_()},
resetAutonavCanceledForNewPlayback_:function(){this.autonavCanceledSignal_=!1},
onThrottledScroll_:function(){var a=this;this.fire("yt-autonav-pause-scroll");this.setComments_();_.x("kevlar_watch_while")&&this.updateMiniplayerBarVisibility_();var b=0<this.getScrollTop();this.gestures_&&(b?this.gestures_.detach():this.gestures_.attach());b!==this.showFullerscreenEdu_&&_.x("external_fullscreen_with_edu")&&this.fullscreen&&(this.showFullerscreenEdu_=b,_.rv(this).getPlayerPromise().then(function(c){c.updateFullerscreenEduButtonVisibility(0<a.getScrollTop())}))},
onYtPageDataWillUpdate_:function(){_.x("kevlar_use_page_data_will_update")&&this.preparePageReset_()},
onYtPageNavigateStart_:function(){_.x("kevlar_use_page_data_will_update")||this.preparePageReset_()},
onCollapseMiniplayer_:function(){var a=this,b,c,d,e;return _.y(function(h){if(1==h.nextAddress)return b=_.rv(a),c=_.Eg().resolve(_.Co),d=c.data,e=_.HG(d.response),_.Qv.getInstance().miniplayerButtonActivation=!0,_.C(a,"yt-collapse-miniplayer-action"),_.B(h,_.Qv.getInstance().navigationFinishPromise,2);_.C(a,"yt-activate-miniplayer-action",[b,e,d]);_.Qv.getInstance().userActivation=!0;_.bf(h)})},
preparePageReset_:function(){this.clearScheduledCommentJobs_()},
initComments_:function(){var a=this;this.commentsReady=!1;_.xe.cancelJob(this.setCommentsJobId_);this.setCommentsJobId_=_.Jn(_.xe,function(){a.setComments_()},aWb)},
setComments_:function(){if(!this.commentsReady){_.fi("cmi");_.xe.cancelJob(this.setCommentsJobId_);var a=this.getPageContents(this.data);if(a&&a.length){a=_.k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"comment-item-section"===this.get("itemSectionRenderer.sectionIdentifier",b)){this.comments=b.itemSectionRenderer;this.canScheduleCommentJobs_=!0;break}}this.commentsReady=!0}},
commentsReadyChanged_:function(){this.commentsReady&&this.fire("yt-watch-comments-ready")},
clearScheduledCommentJobs_:function(){_.x("kevlar_cancel_scheduled_comment_jobs_on_navigate")&&(this.canScheduleCommentJobs_=!1)},
showMetadataPlaceholder_:function(){_.x("kevlar_metadata_reset_on_nav")&&(this.donation=this.ticket=this.meta=this.info=void 0,this.classList.remove("hide-skeleton"))},
clearComments_:function(){this.doRemoveComments_();_.fi("cmc")},
doRemoveComments_:function(){this.comments={};_.x("kevlar_watch_hide_comments_while_panel_open")&&(this.hideComments=!1)},
setPlayerAds_:function(){_.xe.cancelJob(this.clearPlayerAdsJobId_);this.playerAds=this.get("playerAds",this.playerData)},
clearPlayerAds_:function(){_.xe.cancelJob(this.clearPlayerAdsJobId_);this.playerAds=void 0},
onYtNavigate_:function(a,b){if(b.endpoint.watchEndpoint){var c=b.endpoint.watchEndpoint;!(b=this.get("data.currentVideoEndpoint.watchEndpoint"))||c.videoId!==b.videoId||c.playlistId&&c.playlistId!==b.playlistId||_.x("kevlar_watch_timestamp_seek_playlist_index_comparison")&&void 0!==c.index&&c.index!==b.index||"number"!==typeof c.startTimeSeconds||(a.stopPropagation(),this.setScrollTop(0),_.rv(this).getPlayerPromise().then(function(d){var e=c.startTimeSeconds;d.seekTo(e);d.wakeUpControls();e<d.getDuration()&&
d.playVideo()}))}},
updatePlayerStartTime_:function(){var a=window.location.hash;"#"==a.charAt(0)&&(a="!"==a.charAt(1)?a.substr(2):a.substr(1));a=_.rd(a);if("t"in a){var b=a.t;a=0;-1!=b.indexOf("h")&&(b=b.split("h"),a=3600*b[0],b=b[1]);-1!=b.indexOf("m")&&(b=b.split("m"),a=60*b[0]+a,b=b[1]);-1!=b.indexOf("s")?(b=b.split("s"),a=1*b[0]+a):a=1*b+a;this.player.seekTo(a,!0)}},
updateTitleFromWatchNext:function(a){if(_.x("enable_alc_titles_from_watch_next")){a=this.getPageContents(a);var b,c;(a=_.qi(null==a?void 0:null==(b=a[0])?void 0:null==(c=b.videoPrimaryInfoRenderer)?void 0:c.title))&&this.fire("yt-update-title",a)}},
updateTitle_:function(a){a=this.get("videoDetails.title",a)||"";this.fire("yt-update-title",a)},
onPlayerConnectionIssue_:function(){var a=this.querySelector("#speedyg");a&&a.activateSpeedygPromo&&a.activateSpeedygPromo()},
syncWithRemoteVideo_:function(a,b,c){if(this.active&&this.player){var d=this.player.getVideoData();d.video_id===c&&(c=d.list,_.x("polymer_enable_mdx_queue")&&c&&c.startsWith("RQ")&&(c=void 0),d.video_id!==a||c!=b)&&(_.x("kevlar_player_watch_endpoint_navigation")?(a={videoId:a},b&&(a.playlistId=b),b=_.FG(a)):b=this.buildWatchEndpoint_(a,b),this.fire("yt-navigate",{endpoint:b,isRemotePlayback:!0}))}},
buildWatchEndpoint_:function(a,b,c){return _.kh(a,b,c)},
initDclkstatus_:function(){MRb()},
attachWatchPageSkeleton_:function(){var a=document.querySelector("#watch-page-skeleton");if(a){var b=a.querySelector("#primary-info"),c=a.querySelector("#secondary-info"),d=a.querySelector("#related");b&&this.$["info-skeleton"].appendChild(b);c&&this.$["meta-skeleton"].appendChild(c);d&&(this.$["related-skeleton"].appendChild(d),this.watchNextSkeletonEl_=d);_.Hb(a)}},
handlePlayerUpdated_:function(){this.updatePlayerWithAutonavState_();_.rv(this).focusOnPlayer()},
watchNextShownItemsAddedOrRemoved_:function(a,b){if(this.watchNextSkeletonEl_&&"undefined"!==typeof b){var c=this.watchNextSkeletonEl_.children,d=a&&a.indexSplices.length?a.indexSplices[0].index:0;a=Math.min(this.watchNextShownItems.length,c.length);b||(d=0,a=c.length);for(b=d;b<a;b++)c[b].classList.add("hidden")}},
onPlayerFullscreenChange_:function(a){_.x("external_fullscreen")||_.C(this,"yt-player-fullscreen",[a.fullscreen])},
onFullscreenChange_:function(a){this.fullscreen=a;this.gestures_&&this.gestures_.update(this.fullscreen);this.pageScrollElement&&(a?this.listen(this.pageScrollElement,"scroll","onWatchScroll_"):this.unlisten(this.pageScrollElement,"scroll","onWatchScroll_"));var b=_.rv(this);b.getPlayerPromise().then(function(c){c.setFauxFullscreen(!!_.dJ())});
"ytd-watch-flexy"===this.is&&(this.updatePlayerElementLocation_(),this.updateSplitPaneSetting_());a&&(b.focusOnPlayer(),this.fullerscreenEduButtonShownThisPlayback_||(this.fullerscreenEduButtonShownThisPlayback_=!0,this.incrementFullerscreenEduButtonCount_("yt-fullerscreen-edu-button-shown-count")))},
computeShouldStampChat_:function(a,b){return!!this.get("data.contents.twoColumnWatchNextResults.conversationBar")&&!b&&!_.x("enable_native_live_chat_on_kevlar")},
computeShouldStampNativeChat_:function(a,b){return!!this.get("data.contents.twoColumnWatchNextResults.conversationBar")&&!b&&!!_.x("enable_native_live_chat_on_kevlar")},
computeIsDonationShelfCollapsed_:function(a,b){return _.x("enable_native_live_chat_on_kevlar")?b:a},
computeShouldShowMerchShelf:function(a,b){return b&&!!a},
computeShowComments_:function(a,b){return!!a&&!!Object.keys(a).length&&!b},
identity:_.ej,onWindowResized_:function(a){this.windowSize_=a;"ytd-watch-flexy"===this.is&&this.active&&(this.schedulePlayerSizeUpdate_(!0),_.x("kevlar_watch_js_panel_height")&&this.schedulePanelMaxHeightUpdate_());_.x("kevlar_watch_while")&&this.updateMiniplayerBarVisibility_()},
onPlayerPresentingVideoDataChange_:function(a){var b=this;_.x("kevlar_player_update_autonav_on_new_data")&&a&&"newdata"===a.type&&this.updatePlayerWithAutonavState_();a&&"dataloaded"!==a.type&&"dataupdated"!==a.type||_.rv(this).getPlayerPromise().then(function(c){var d=c.getPlayerState();5!==d&&0!==d&&(c=1/c.getVideoAspectRatio(),b.videoHeightToWidthRatio_!==c&&(b.videoHeightToWidthRatio_=c))})},
schedulePlayerSizeUpdate_:function(a){var b=this,c=function(){var d=NaN;if(b.watchMetadata){if(_.x("kevlar_watch_keep_metadata_above_the_fold")){var e=b.watchMetadata.getAboveTheFoldHeight();0===e&&(e=_.hd("kevlar_watch_flexy_metadata_height"));d=e+16}var h,l;null==(l=(h=b.watchMetadata).resize)||l.call(h)}_.rv(b).getPlayerPromise().then(function(m){if(_.x("kevlar_set_internal_player_size")){var p=b.calculateCurrentPlayerSize_(d);m.setInternalSize(p.width,p.height)}else m.setSize(NaN,NaN);_.x("kevlar_watch_while")&&
b.updateWatchWhileScrollThreshold_()});
_.x("kevlar_watch_keep_metadata_above_the_fold")&&!isNaN(d)&&b.safeUpdateStyles({"--ytd-watch-flexy-space-below-player":d+"px"})};
a?c():_.JG(_.xe,c)},
secondaryColumnModulePresenceChanged_:function(){this.isAttached&&"ytd-watch-flexy"===this.is&&(this.schedulePlayerSizeUpdate_(),this.updateSplitPaneSetting_())},
onYtShowSurvey_:function(a){this.set("data.survey",a.detail)},
onYtShowSurveyCommand_:function(a){this.set("data.survey",a.showSurveyCommand.survey)},
onDownloadedVideoDeleted:function(a){var b=this,c,d;return _.y(function(e){if(1==e.nextAddress){if(!b.active||null==(c=b.playerData)||!c.offlineState||b.videoId!==a)return e.return();null==(d=b.player)||d.stopVideo();_.Qv.getInstance().navigatingAwayFromWatchDeletedVideo=!0;b.ytComponentBehavior.resolveCommand(_.ji);return _.B(e,_.Qv.getInstance().navigationFinishPromise,2)}_.Qv.getInstance().navigatingAwayFromWatchDeletedVideo=!1;_.bf(e)})},
updateWatchWhileScrollThreshold_:function(){if(this.windowSize_){var a;this.theater?a=_.Az(.5625*this.windowSize_.width,480,this.windowSize_.height-185):a=this.calculateNormalPlayerSize_().height+24;this.watchWhileScrollThreshold_!==a&&(this.watchWhileScrollThreshold_=a,this.updateMiniplayerBarVisibility_())}},
updateMiniplayerBarVisibility_:function(){var a=this.$$("ytd-miniplayer-bar-renderer");if(this.windowSize_&&a){var b=624<=this.windowSize_.height,c=this.active?this.getScrollTop():0;!a.active&&b&&c>=this.watchWhileScrollThreshold_?(a.activate(this.getPlayer()),this.schedulePlayerSizeUpdate_()):a.active&&(!b||c<this.watchWhileScrollThreshold_&&!_.dJ())&&(a.deactivate().appendTo(this.getPlayerContainer()),this.schedulePlayerSizeUpdate_())}},
isTwoColumnsChanged_:function(a,b){if("ytd-watch-flexy"===this.is){var c=!_.x("live_chat_over_playlist");!0===a&&void 0===b&&c||(a=this.$$("chat"),b=_.x("enable_native_live_chat_on_kevlar")?"native-chat-template":"chat-template",this.isTwoColumns_?(this.$["secondary-inner"].appendChild(this.$.panels),c&&this.$["secondary-inner"].appendChild(this.$.playlist),a&&this.$["secondary-inner"].appendChild(a),this.$["secondary-inner"].appendChild(this.$[b]),this.$["secondary-inner"].appendChild(this.$["donation-shelf"]),
c||this.$["secondary-inner"].appendChild(this.$.playlist),this.$["secondary-inner"].appendChild(this.$.related)):(_.uz(this.$.panels,this.$.alerts),c&&_.uz(this.$.playlist,this.$.alerts),_.uz(this.$[b],this.$.alerts),a&&_.uz(a,this.$.alerts),_.uz(this.$["donation-shelf"],this.$.alerts),c||_.uz(this.$.playlist,this.$.alerts),_.uz(this.$.related,this.$.comments)),this.updateSplitPaneSetting_(),_.x("kevlar_watch_js_panel_height")&&this.active&&this.schedulePanelMaxHeightUpdate_())}},
updateSplitPaneSetting_:function(){if(_.x("kevlar_watch_split_pane")){var a=this.isTwoColumns_&&!this.theater&&!this.fullscreen&&!this.isExtraWideVideo_&&this.active;this.splitPane_!==a&&((this.splitPane_=a,this.toggleBodyScrolling_(!a),a?(this.listen(this.$.secondary,"mouseenter","onSecondaryMouseenter_"),this.listen(this.$.secondary,"mouseleave","onSecondaryMouseleave_"),this.listen(this,"scroll","onWatchScroll_")):(this.unlisten(this.$.secondary,"mouseenter","onSecondaryMouseenter_"),this.unlisten(this.$.secondary,
"mouseleave","onSecondaryMouseleave_"),this.unlisten(this,"scroll","onWatchScroll_")),this.pageScrollElement!==this||this.splitPane_)?this.splitPane_&&(this.pageScrollElement=this):this.pageScrollElement=null)}},
safeUpdateStyles:function(a){try{this.updateStyles(a)}catch(b){_.Rf(b)}},
videoHeightToWidthRatioChanged_:function(a,b){"ytd-watch-flexy"===this.is&&b&&(this.safeUpdateStyles({"--ytd-watch-flexy-width-ratio":1,"--ytd-watch-flexy-height-ratio":this.videoHeightToWidthRatio_}),this.schedulePlayerSizeUpdate_(),_.x("kevlar_watch_js_panel_height")&&this.schedulePanelMaxHeightUpdate_())},
onYtInitialVideoAspectRatio_:function(a){this.videoHeightToWidthRatio_=1/a},
computeIsVerticalVideo_:function(a){return 1<=a},
computeIsFourThreeToSixteenNineVideo_:function(a){return.7501>=a&&.5624<=a},
computeIsExtraWideVideo_:function(a){return.5624>a},
onYtAutonavStateChangedAction_:function(){this.updatePlayerWithAutonavState_()},
onYtUserActivity_:function(){a:{var a=this.youThereManager_;if(a.youThereData_){if(a.ignoreFullscreenExitUserActivity_)break a;a.youThereData_.userActiveDuringFlowAction&&(a.youThereData_.userActiveDuringFlowAction.commandExecutorCommand?r8(a,a.youThereData_.userActiveDuringFlowAction.commandExecutorCommand.commands):r8(a,[a.youThereData_.userActiveDuringFlowAction]));a.inYouThereFlow_&&(_.nI("YOU_THERE_EVENT_TYPE_LACT_RESET",_.fg(),a.youThereData_,a.clientPlaybackNonce_),_.If());ZRb(a,!0)}eSb(a,
!1)}},
handleSignalActionPausePlayer_:function(){this.active&&_.rv(this).pause()},
handleSignalActionPlayPlayer_:function(){this.active&&_.rv(this).play()},
handleSignalActionAcknowledgeYouThere_:function(){var a=this.youThereManager_;_.nI("YOU_THERE_EVENT_TYPE_USER_RESPONDED",_.fg(),a.youThereData_,a.clientPlaybackNonce_)},
incrementFullerscreenEduButtonCount_:function(a){var b=_.Oo(a)||0;_.No(a,b+1,31536E3);this.updateFullerscreenEduButtonSubtleModeState_()},
updateFullerscreenEduButtonSubtleModeState_:function(){var a=_.Oo("yt-fullerscreen-edu-button-click-count")||0,b=_.Oo("yt-fullerscreen-edu-button-shown-count")||0,c=_.hd("external_fullscreen_button_shown_threshold"),d=a>=_.hd("external_fullscreen_button_click_threshold")||b>=c;_.rv(this).getPlayerPromise().then(function(e){e.updateFullerscreenEduButtonSubtleModeState(d)})},
resetFullerscreenEduButtonForNewPlayback_:function(){this.fullerscreenEduButtonShownThisPlayback_=this.fullerscreenEduButtonClickedThisPlayback_=!1},
computePlaylistData_:function(a,b){return b},
onYtPlaylistDataUpdated_:function(){this.externalPlaylistData_=_.Eg().resolve(_.Go).getPlaylistData()||{}},
schedulePanelMaxHeightUpdate_:function(){var a=this;this.panelMaxHeightUpdateJob_&&_.xe.cancelJob(this.panelMaxHeightUpdateJob_);this.panelMaxHeightUpdateJob_=_.xe.addLowPriorityJob(function(){a.panelMaxHeightUpdateJob_=0;var b;!a.isTwoColumns_||a.theater||a.fullscreen?b=460:b=a.calculateNormalPlayerSize_().height;var c;_.x("kevlar_watch_panel_height_matches_player")||_.x("kevlar_watch_panel_height_matches_player_non_vertical")&&!a.isVerticalVideo_?c=b:c=Math.min(b,502);a.safeUpdateStyles({"--ytd-watch-flexy-panel-max-height":c+
"px","--ytd-watch-flexy-chat-max-height":b+"px","--ytd-watch-flexy-structured-description-max-height":(_.x("kevlar_watch_structured_description_height_matches_player")?b:c)+"px","--ytd-watch-flexy-comments-panel-max-height":(_.x("kevlar_watch_comments_panel_height_matches_player")?b:c)+"px"})})},
onYtShowEngagementPanelScrimAction_:function(a){this.engagementPanelScrimOnClickCommands_=this.get("showEngagementPanelScrimAction.onClickCommands",a)||null;this.showEngagementPanelScrim_=!0},
onYtHideEngagementPanelScrimAction_:function(){this.engagementPanelScrimOnClickCommands_=null;this.showEngagementPanelScrim_=!1},
onEngagementPanelScrimClick_:function(){this.engagementPanelScrimOnClickCommands_&&_.Lg(this,this.engagementPanelScrimOnClickCommands_,this)},
showEngagementPanelScrimChanged_:function(a){a?this.listen(this.$["engagement-panel-scrim"],"tap","onEngagementPanelScrimClick_"):this.unlisten(this.$["engagement-panel-scrim"],"tap","onEngagementPanelScrimClick_")},
handleLoopCommand_:function(a){a.loopCommand&&_.rv(this).getPlayerPromise().then(function(b){a.loopCommand.loop?(b.setLoopRange({startTimeMs:parseInt(a.loopCommand.startTimeMs,10),endTimeMs:parseInt(a.loopCommand.endTimeMs,10),postId:a.loopCommand.postId,type:"clips"}),b.playVideo()):b.setLoopRange(null)})},
onRepeatChapterCommand:function(a){_.rv(this).getPlayerPromise().then(function(b){var c=a.repeatChapterCommand.repeat;"REPEAT_CHAPTER_TYPE_ENABLE_REPEAT"===c?(b.setLoopRange({startTimeMs:Number(a.repeatChapterCommand.startTimeMs),endTimeMs:Number(a.repeatChapterCommand.endTimeMs),type:"repeatChapter"}),b.playVideo()):"REPEAT_CHAPTER_TYPE_DISABLE_REPEAT"===c&&b.setLoopRange(null)})},
onGetCurrentVideoIdAction_:function(){if(this.active)return this.videoId},
onSecondaryMouseenter_:function(){this.secondaryHovered_=!0},
onSecondaryMouseleave_:function(){this.secondaryHovered_=!1},
onYtScrollToWatchElement_:function(a){if("ytd-watch-flexy"===this.is&&this.contains(a)&&!this.scrollToAnimation_.isAnimating_){var b=a.offsetTop-24;a=a.offsetTop+a.offsetHeight+24;var c=this.getPageScrollingElement(),d=this.getScrollTop(),e=d+c.clientHeight-56;if(b<d+56)b-=56;else if(a>e)b=a-c.clientHeight;else return;this.scrollToAnimation_.start(this.getScrollTop(),Math.max(0,b),500)}},
onYtSignalActionScrollToComments:function(){var a=this.querySelector("#comments");if(a&&!this.scrollToAnimation_.isAnimating_){a=a.offsetTop-56-24;if(_.x("kevlar_comment_teaser_scroll_to_midpoint")&&(a-=_.jk().height/3,a<this.getScrollTop()))return;this.scrollToAnimation_.start(this.getScrollTop(),Math.max(0,a),500)}},
onYtChangeEngagementPanelVisibilityAction:function(a){(a=a.changeEngagementPanelVisibilityAction)&&_.x("kevlar_watch_hide_comments_while_panel_open")&&"engagement-panel-comments-section"===a.targetId&&("ENGAGEMENT_PANEL_VISIBILITY_EXPANDED"===a.visibility?this.hideComments=!0:"ENGAGEMENT_PANEL_VISIBILITY_HIDDEN"===a.visibility&&(this.hideComments=!1))}}];
var bWb;
var cWb;
var dWb;
var eWb;
var h$=function(){var a=_.K.apply(this,arguments)||this;a.storageKey="speedyg";a.activationThreshold=216E5;a.cacheExpiration=2592E3;return a};
_.q(h$,_.K);_.f=h$.prototype;_.f.activateSpeedygPromo=function(){var a=_.Oo(this.storageKey)||{};a={lastActivation:a.lastActivation,suppressed:a.suppressed};a.lastActivation?Date.now()-Number(new Date(a.lastActivation))>this.activationThreshold?this.activate(a.suppressed):this.updateSuppressedCount(a):this.activate(0)};
_.f.activate=function(){this.notification&&(this.updateActivationTime(),this.notification.open())};
_.f.updateSuppressedCount=function(a){a.suppressed++;this.storeData({lastActivation:a.lastActivation,suppressed:a.suppressed})};
_.f.updateActivationTime=function(){var a={lastActivation:Date.now(),suppressed:0};this.storeData(a)};
_.f.storeData=function(a){_.No(this.storageKey,a,this.cacheExpiration)};
_.f.closePromo=function(){this.notification.close()};
_.t.Object.defineProperties(h$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-quality-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_video_quality_promo_renderer.ytd.video.quality.promo.renderer.css.js--\x3e<div id="container">\n  <yt-notification-action-renderer id="notification" data="[[data.snackbar.notificationActionRenderer]]" duration="0">\n    <yt-icon id="close" icon="yt-icons:dismissal" on-tap="closePromo"></yt-icon>\n  </yt-notification-action-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dWb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_video_quality_promo_renderer.ytd.video.quality.promo.renderer.css.js--\x3e<style>:host {display: inline-block;} #close {cursor: pointer;} /*# sourceMappingURL=ytd-video-quality-promo-renderer.css.map*/</style>";dWb=d}d=dWb;c.call(b,d.content.cloneNode(!0),
a.content.firstChild);eWb=a}a=eWb;return a}}});
var i$=h$;_.S([_.N(),_.T("design:type",Object)],i$.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],i$.prototype,"storageKey",void 0);_.S([_.N(),_.T("design:type",Object)],i$.prototype,"activationThreshold",void 0);_.S([_.N(),_.T("design:type",Object)],i$.prototype,"cacheExpiration",void 0);_.S([_.Z("#notification"),_.T("design:type",Object)],i$.prototype,"notification",void 0);i$=_.S([_.Q({asyncProperties:!0,is:"ytd-video-quality-promo-renderer"})],i$);
var j$=function(){var a=_.K.apply(this,arguments)||this;a.flexy=!_.x("kevlar_watch_snap_sizing");a.snap=_.x("kevlar_watch_snap_sizing");return a};
_.q(j$,_.K);j$.prototype.ready=function(){var a=this,b=function(){a.onColumnScroll()};
this.primary.addEventListener("scroll",b);this.secondary.addEventListener("scroll",b)};
j$.prototype.onColumnScroll=function(){this.ytRendererBehavior.markDirty()};
_.t.Object.defineProperties(j$,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cWb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-flexy--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.pages.ytd_watch_flexy.ytd.watch.flexy.css.js--\x3e\n<iron-media-query id="two-column-query" query-matches="{{isTwoColumns_}}"></iron-media-query>\n<iron-media-query id="small-window-query" query-matches="{{flexySmallWindow_}}">\n</iron-media-query>\n<iron-media-query id="large-window-query" query-matches="{{flexyLargeWindow_}}">\n</iron-media-query>\n\n<div id="microformat"></div>\n\n<div id="miniplayer-bar"></div>\n\n<div id="player-theater-container" hidden="[[singleColumn]]"></div>\n\n<div id="single-column-container" hidden="[[!singleColumn]]"></div>\n<div id="columns" hidden="[[singleColumn]]">\n  <div id="primary">\n    <div id="primary-inner">\n      <div id="player">\n        <div id="player-container-outer">\n          <div id="player-container-inner">\n            <div id="player-container" role="complementary">\n              <ytd-player id="ytd-player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH" watch-next-data="[[data]]">\n              </ytd-player>\n            </div>\n          </div>\n        </div>\n        <yt-playability-error-supported-renderers id="error-screen" data="[[playerData.playabilityStatus.errorScreen]]" disable-upgrade$="[[!playerUnavailable]]" hidden="[[!playerUnavailable]]" reason="[[playerData.playabilityStatus.reason]]" status="[[playerData.playabilityStatus.status]]">\n        </yt-playability-error-supported-renderers>\n      </div>\n      <div id="alerts"></div>\n      <div id="messages"></div>\n      <div id="clarify-box" class="attached-message"></div>\n      <div id="limited-state" class="attached-message"></div>\n      <ytd-watch-metadata comments-entry-point-header-renderer="[[commentsEntryPointHeaderRenderer]]" disable-upgrade$="[[!watchMetadataRefresh]]" hidden="[[!watchMetadataRefresh]]" is-watch-flexy="" structured-description-content-renderer="[[inlineStructuredDescriptionData]]" video-primary-info-renderer="[[videoPrimaryInfoRenderer]]" video-secondary-info-renderer="[[videoSecondaryInfoRenderer]]">\n      </ytd-watch-metadata>\n      <div id="info">\n        <div id="info-skeleton" class="watch-skeleton"></div>\n        <div id="info-contents" hidden="[[watchMetadataRefresh]]"></div>\n      </div>\n      <div id="meta">\n        <div id="meta-skeleton" class="watch-skeleton"></div>\n        <div id="meta-contents" hidden="[[watchMetadataRefresh]]"></div>\n      </div>\n      <div id="ticket-shelf" hidden="[[!monetizationShelvesEnabled_]]"></div>\n      \n      <template is="dom-if" if="[[shouldShowMerchShelf]]" restamp="" id="merch-shelf">\n        <ytd-merch-shelf-renderer data="[[merchShelf]]" watch-metadata-refresh="[[watchMetadataRefresh]]">\n        </ytd-merch-shelf-renderer>\n      </template>\n      <ytd-comments id="comments" can-schedule-jobs="[[canScheduleCommentJobs_]]" data="[[comments]]" disable-upgrade$="[[!computeShowComments_(comments, hideComments, shouldStampChat)]]" hidden="[[!computeShowComments_(comments, hideComments, shouldStampChat)]]">\n      </ytd-comments>\n    </div>\n  </div>\n\n  <div id="secondary">\n    <div id="secondary-inner">\n      <div id="panels">\n        <ytd-watch-engagement-panels data="[[data.engagementPanels]]" disable-upgrade$="[[!useEngagementPanelManagementComponent]]" hidden="[[!useEngagementPanelManagementComponent]]">\n        </ytd-watch-engagement-panels>\n      </div>\n      <ytd-playlist-panel-renderer id="playlist" autoplay-data="[[data.contents.twoColumnWatchNextResults.autoplay.autoplay]]" data="[[playlistData]]" hidden="[[!playlist]]" loading$="[[loadingData.playlistLoading]]">\n      </ytd-playlist-panel-renderer>\n      <div id="donation-shelf"></div>\n      \n      <template is="dom-if" if="[[shouldStampNativeChat]]" restamp="" id="native-chat-template">\n        <yt-live-chat-kevlar-container id="chat-container" data="[[data.contents.twoColumnWatchNextResults.conversationBar]]">\n        </yt-live-chat-kevlar-container>\n      </template>\n      \n      <template is="dom-if" if="[[shouldStampChat]]" restamp="" id="chat-template">\n        <ytd-live-chat-frame id="chat" data="[[data.contents.twoColumnWatchNextResults.conversationBar]]">\n        </ytd-live-chat-frame>\n      </template>\n      <div id="related">\n        <div id="player-ads"></div>\n        <ytd-watch-next-secondary-results-renderer can-show-more="{{watchNextCanShowMore}}" data="[[data.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" disable-upgrade$="[[!data.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" hidden="[[!data.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" is-two-columns="[[isTwoColumns_]]" player-data="[[playerData]]" show-more-button="[[!isTwoColumns_]]" shown-items="{{watchNextShownItems}}">\n        </ytd-watch-next-secondary-results-renderer>\n        <div id="related-skeleton" class="watch-skeleton"></div>\n      </div>\n    </div>\n  </div>\n</div>\n\n<ytd-video-quality-promo-renderer id="speedyg" data="[[speedyGData_.videoQualityPromoRenderer]]" disable-upgrade$="[[!speedyGData_]]" hidden="[[!speedyGData_]]">\n</ytd-video-quality-promo-renderer>\n<div id="survey"></div>\n<div id="engagement-panel-scrim" hidden="[[!showEngagementPanelScrim_]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bWb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.pages.ytd_watch_flexy.ytd.watch.flexy.css.js--\x3e<style>:host {--ytd-watch-flexy-sidebar-width: 402px;--ytd-watch-flexy-sidebar-min-width: 300px;--ytd-watch-flexy-masthead-height: 56px;min-width: 0;} :host([watch-feed-big-thumbs_]) {--ytd-watch-flexy-sidebar-width: 310px;--ytd-watch-flexy-sidebar-min-width: 290px;} :host(.gesture-dragging) {position: absolute;width: 100%;} @media(min-width:1550px) and (min-height:800px) {:host([watch-feed-big-thumbs_]) {--ytd-watch-flexy-sidebar-width: 360px;}} :host([fullscreen]) {--ytd-watch-flexy-masthead-height: 0px;} :host([video-id=QrGrOK8oZG8]) {--ytd-video-primary-info-renderer-title-color: #e6d140;--ytd-video-primary-info-renderer-title-font-family: Georgia, serif;--ytd-video-primary-info-renderer-title-font-size: 250%;--ytd-video-primary-info-renderer-title-font-variant: small-caps;--ytd-video-primary-info-renderer-title-transform: skew(-5deg, 0deg);--ytd-video-primary-info-renderer-title-text-shadow: 1px 1px #000, 1px 1px 0.1px #000;} #columns {margin: 0 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #primary {padding-right: var(--ytd-margin-6x);} :host(:not([theater]):not([fullscreen])) #primary,:host(:not([theater]):not([fullscreen])) #secondary {padding-top: var(--ytd-margin-6x);} :host(:not([is-two-columns_])) #secondary {display: none;} #player {position: relative;} :host([player-unavailable]) #player-container-outer {visibility: hidden;} #error-screen {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} ytd-watch-metadata {margin-top: var(--ytd-margin-3x);margin-bottom: var(--ytd-margin-6x);} #playlist:not([js-panel-height_]):not([disable-upgrade]) {display: block;} #playlist[disable-upgrade] {display: none;} #chat,#donation-shelf ytd-donation-shelf-renderer,#donation-shelf ytd-donation-unavailable-renderer,#playlist,#panels ytd-engagement-panel-section-list-renderer {margin-bottom: var(--ytd-margin-6x);} :host(:not([is-two-columns_])) #chat,:host(:not([is-two-columns_])) #chat-container,:host(:not([is-two-columns_])) #donation-shelf ytd-donation-shelf-renderer,:host(:not([is-two-columns_])) #donation-shelf ytd-donation-unavailable-renderer,:host(:not([is-two-columns_])) #playlist,:host(:not([is-two-columns_])) ytd-watch-engagement-panels,:host(:not([is-two-columns_])) #panels ytd-engagement-panel-section-list-renderer {margin-top: var(--ytd-margin-6x);} :host(:not([is-two-columns_])) ytd-merch-shelf-renderer,:host(:not([is-two-columns_])) #ticket-shelf ytd-ticket-shelf-renderer {margin-bottom: var(--ytd-margin-4x);} ytd-miniplayer-bar-renderer {position: fixed;z-index: var(--ytd-z-index-miniplayer-bar);top: var(--ytd-margin-14x);left: 0;width: 100%;transform: translateY(0);transition: transform 0.2s ease;} ytd-miniplayer-bar-renderer:not([active]),ytd-miniplayer-bar-renderer[dark-launch] {transform: translateY(calc(-100% - 56px));opacity: 0;transition: transform 0.2s ease,opacity 0s 0.2s;} :host(.loading) #chat,:host(.loading) #chat-container,:host(.loading) #comments,:host(.loading) #related {visibility: hidden;} :host(.loading-player) #player-container-outer {visibility: hidden;} :host(.loading-player) #player {background-color: #000;} :host([theater]) #player-theater-container,:host([fullscreen]) #player-theater-container {position: relative;width: 100%;height: 56.25vw;max-height: calc(100vh - 169px);min-height: 480px;background: #000;} :host(:not([fullscreen])[theater][full-window-mode_]) #player-theater-container {width: 100vw;height: 100vh;min-height: 240px;max-height: none;} :host([fullscreen]) #player-theater-container {height: 100vh;max-height: none;} :host([theater]) #columns,:host([fullscreen]) #columns {margin-top: 0;} :host([theater]) #secondary,:host([fullscreen]) #secondary {margin-top: var(--ytd-margin-6x);} :host([theater]) #player,:host([fullscreen]) #player {display: none;} :host([theater]) .attached-message:not(:empty),:host([fullscreen]) .attached-message:not(:empty) {margin-top: var(--ytd-margin-5x);} :host([flexy]) {--ytd-watch-flexy-width-ratio: 16;--ytd-watch-flexy-height-ratio: 9;--ytd-watch-flexy-space-below-player: 136px;--ytd-watch-flexy-non-player-height: calc( var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player) );--ytd-watch-flexy-non-player-width: calc( var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) );--ytd-watch-flexy-min-player-height: 240px;--ytd-watch-flexy-min-player-width: calc( var(--ytd-watch-flexy-min-player-height) * (var(--ytd-watch-flexy-width-ratio) / var(--ytd-watch-flexy-height-ratio)) );--ytd-watch-flexy-max-player-height: calc( 100vh - ( var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player) ) );--ytd-watch-flexy-max-player-width: calc( ( 100vh - ( var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player) ) ) * (var(--ytd-watch-flexy-width-ratio) / var(--ytd-watch-flexy-height-ratio)) );} :host([flexy][transcript-opened_][is-two-columns_]),:host([flexy][playlist][is-two-columns_]),:host([flexy][should-stamp-chat][is-two-columns_]) {--ytd-watch-flexy-min-player-height: 380px;} :host([flexy][flexy-enable-small-window-sizing][flexy-small-window_]:not([is-extra-wide-video_])),:host([flexy][flexy-enable-small-window-sizing][flexy-small-window_][transcript-opened_][is-two-columns_]:not([is-extra-wide-video_])),:host([flexy][flexy-enable-small-window-sizing][flexy-small-window_][playlist][is-two-columns_]:not([is-extra-wide-video_])),:host([flexy][flexy-enable-small-window-sizing][flexy-small-window_][should-stamp-chat][is-two-columns_]:not([is-extra-wide-video_])) {--ytd-watch-flexy-min-player-height: 360px;} :host([flexy][flexy-enable-large-window-sizing][flexy-large-window_]:not([is-extra-wide-video_])),:host([flexy][flexy-enable-large-window-sizing][flexy-large-window_][transcript-opened_][is-two-columns_]:not([is-extra-wide-video_])),:host([flexy][flexy-enable-large-window-sizing][flexy-large-window_][playlist][is-two-columns_]:not([is-extra-wide-video_])),:host([flexy][flexy-enable-large-window-sizing][flexy-large-window_][should-stamp-chat][is-two-columns_]:not([is-extra-wide-video_])) {--ytd-watch-flexy-min-player-height: 480px;} :host([flexy]) #columns {max-width: calc(1280px + var(--ytd-watch-flexy-sidebar-width) + 3 * var(--ytd-margin-6x));} :host([flexy][is-two-columns_]) #columns {min-width: calc(var(--ytd-watch-flexy-min-player-height) * var(--ytd-watch-flexy-width-ratio)/var(--ytd-watch-flexy-height-ratio) + 3 * var(--ytd-margin-6x) + var(--ytd-watch-flexy-sidebar-min-width));-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([flexy]) #primary {margin-left: var(--ytd-margin-6x);min-width: var(--ytd-watch-flexy-min-player-width);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex: 0 1 100%;} :host([flexy][is-two-columns_]:not([is-four-three-to-sixteen-nine-video_]):not([is-extra-wide-video_])) #primary {max-width: calc((100vh - (var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player))) * 1.7777777778);min-width: calc(var(--ytd-watch-flexy-min-player-height) * 1.7777777778);} :host([flexy][is-two-columns_][is-extra-wide-video_]) #primary,:host([flexy][is-two-columns_][is-four-three-to-sixteen-nine-video_]) #primary {max-width: var(--ytd-watch-flexy-max-player-width);min-width: var(--ytd-watch-flexy-min-player-width);} :host([flexy]) #secondary {padding-right: var(--ytd-margin-6x);width: var(--ytd-watch-flexy-sidebar-width);min-width: var(--ytd-watch-flexy-sidebar-min-width);} :host([flexy]) #player-container-outer {max-width: var(--ytd-watch-flexy-max-player-width);min-width: var(--ytd-watch-flexy-min-player-width);margin: 0 auto;} :host([flexy]) #player-container-inner {padding-top: calc(var(--ytd-watch-flexy-height-ratio)/var(--ytd-watch-flexy-width-ratio) * 100%);} :host([flexy]:not([is-vertical-video_])) #player-container-inner {position: relative;} :host([flexy]) #player-container {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host([flexy]:not([is-two-columns_]):not([js-panel-height_])) #chat,:host([flexy]:not([is-two-columns_]):not([js-panel-height_])) #chat-container,:host([flexy]:not([is-two-columns_]):not([js-panel-height_])) #panels ytd-engagement-panel-section-list-renderer {height: 460px;} :host([flexy]:not([is-two-columns_]):not([js-panel-height_])) #playlist {height: 308px;} :host([flexy][is-two-columns_]:not([js-panel-height_])) #chat:not([collapsed]),:host([flexy][is-two-columns_]:not([js-panel-height_])) #chat-container:not([chat-collapsed]) {height: calc((100vw - (var(--ytd-watch-flexy-sidebar-width) + 3 * var(--ytd-margin-6x)) - var(--ytd-watch-flexy-scrollbar-width)) * var(--ytd-watch-flexy-height-ratio)/var(--ytd-watch-flexy-width-ratio));max-height: calc(100vh - var(--ytd-watch-flexy-masthead-height) - 2 * var(--ytd-margin-6x));} :host([flexy][is-two-columns_]:not([js-panel-height_])) #playlist:not([collapsed]),:host([flexy][is-two-columns_]:not([js-panel-height_])) #panels ytd-engagement-panel-section-list-renderer {height: calc((100vw - (var(--ytd-watch-flexy-sidebar-width) + 3 * var(--ytd-margin-6x)) - var(--ytd-watch-flexy-scrollbar-width)) * var(--ytd-watch-flexy-height-ratio)/var(--ytd-watch-flexy-width-ratio));min-height: var(--ytd-watch-flexy-min-player-height);max-height: var(--ytd-watch-flexy-max-player-height);} :host([flexy]) #chat:not([collapsed]),:host([flexy]) #chat-container:not([chat-collapsed]) {min-height: 596px;} @media(min-height:729px) {:host([flexy][is-two-columns_]:not([js-panel-height_])) #playlist:not([collapsed]),:host([flexy][is-two-columns_]:not([js-panel-height_])) #panels ytd-engagement-panel-section-list-renderer {max-height: 502px;}} :host([flexy][js-panel-height_]) #playlist,:host([flexy][js-panel-height_]) #panels ytd-engagement-panel-section-list-renderer {max-height: var(--ytd-watch-flexy-panel-max-height);} :host([flexy][js-panel-height_]) #panels ytd-engagement-panel-section-list-renderer[target-id=engagement-panel-structured-description] {max-height: var(--ytd-watch-flexy-structured-description-max-height);} :host([flexy][js-panel-height_]) #panels ytd-engagement-panel-section-list-renderer[target-id=engagement-panel-comments-section] {max-height: var(--ytd-watch-flexy-comments-panel-max-height);} :host([flexy][js-panel-height_]) #chat:not([collapsed]),:host([flexy][js-panel-height_]) #chat-container:not([chat-collapsed]) {height: var(--ytd-watch-flexy-chat-max-height);} :host([flexy][split-pane_]) {position: absolute;top: var(--ytd-watch-flexy-masthead-height);left: 0;right: 0;bottom: 0;overflow-y: scroll;padding-right: 0;} :host([flexy][split-pane_][secondary-hovered_]) {overflow-y: hidden;padding-right: var(--ytd-watch-flexy-scrollbar-width);} :host([flexy][split-pane_]) #columns {position: unset;margin-left: auto;} :host([flexy][split-pane_]) #primary {max-height: 100%;padding-right: calc(var(--ytd-watch-flexy-sidebar-width) + var(--ytd-margin-6x) * 2);} :host([flexy][split-pane_]) #secondary {position: fixed;top: var(--ytd-watch-flexy-masthead-height);right: 0;bottom: 0;width: initial;overflow-y: hidden;padding-right: var(--ytd-watch-flexy-scrollbar-width);} :host([flexy][split-pane_]) #secondary:hover {overflow-y: scroll;padding-right: 0;} :host([flexy][split-pane_]) #secondary-inner {padding: 0 var(--ytd-margin-4x);border-left: 1px solid var(--yt-spec-10-percent-layer);width: var(--ytd-watch-flexy-sidebar-width);} @media(max-height:576px) {:host([flexy][split-pane_]) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( var(--ytd-watch-flexy-min-player-height) * ( var(--ytd-watch-flexy-width-ratio) / var(--ytd-watch-flexy-height-ratio) ) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}:host([flexy][split-pane_]:not([is-four-three-to-sixteen-nine-video_])) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( var(--ytd-watch-flexy-min-player-height) * (16 / 9) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}} @media(max-height:695px) and (min-height:577px) {:host([flexy][split-pane_][flexy-small-window_]) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( ( 100vh - ( var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player) ) ) * ( var(--ytd-watch-flexy-width-ratio) / var(--ytd-watch-flexy-height-ratio) ) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}:host([flexy][split-pane_]) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( var(--ytd-watch-flexy-min-player-height) * ( var(--ytd-watch-flexy-width-ratio) / var(--ytd-watch-flexy-height-ratio) ) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}:host([flexy][split-pane_][flexy-small-window_]:not([is-four-three-to-sixteen-nine-video_])) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( ( 100vh - ( var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player) ) ) * (16 / 9) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}:host([flexy][split-pane_]:not([is-four-three-to-sixteen-nine-video_])) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( var(--ytd-watch-flexy-min-player-height) * (16 / 9) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}} @media(min-width:1760px) and (min-height:696px) and (max-height:934px),(min-width:1500px) and (min-height:696px) and (max-height:830px),(min-width:1425px) and (min-height:696px) and (max-height:790px),(min-width:1360px) and (min-height:696px) and (max-height:750px) {:host([flexy][split-pane_]) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( ( 100vh - ( var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player) ) ) * ( var(--ytd-watch-flexy-width-ratio) / var(--ytd-watch-flexy-height-ratio) ) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}:host([flexy][split-pane_]:not([is-four-three-to-sixteen-nine-video_])) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( ( 100vh - ( var(--ytd-watch-flexy-masthead-height) + var(--ytd-margin-6x) + var(--ytd-watch-flexy-space-below-player) ) ) * (16 / 9) + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}} @media(min-width:1760px) and (min-height:935px) {:host([flexy][split-pane_]) {--ytd-watch-flexy-split-pane-margin: calc( ( 100vw - ( 1280px + var(--ytd-watch-flexy-scrollbar-width) + var(--ytd-watch-flexy-sidebar-width) + (3 * var(--ytd-margin-6x)) ) ) / 2 );}:host([flexy][split-pane_][watch-feed-big-thumbs_][is-four-three-to-sixteen-nine-video_]) #columns {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;}} @media(min-width:1760px) and (min-height:696px),(min-width:1500px) and (min-height:696px) and (max-height:830px),(min-width:1425px) and (min-height:696px) and (max-height:790px),(min-width:1360px) and (min-height:696px) and (max-height:750px),(max-height:695px) and (min-width:1275px),(max-height:576px) {:host([flexy][split-pane_][watch-feed-big-thumbs_]) #columns {margin-left: var(--ytd-watch-flexy-split-pane-margin);-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;}:host([flexy][split-pane_][watch-feed-big-thumbs_]) #secondary-inner {margin-right: var(--ytd-watch-flexy-split-pane-margin);padding-left: var(--ytd-margin-6x);padding-right: 0;}} @media(min-width:1810px) and (min-height:696px),(min-width:1590px) and (min-height:696px) and (max-height:830px),(min-width:1440px) and (min-height:696px) and (max-height:750px),(max-height:695px) and (min-width:1355px),(max-height:576px) {:host([flexy][split-pane_]) #columns {margin-left: var(--ytd-watch-flexy-split-pane-margin);-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;}:host([flexy][split-pane_]) #secondary-inner {margin-right: var(--ytd-watch-flexy-split-pane-margin);padding-left: var(--ytd-margin-6x);padding-right: 0;}} @media(max-width:1140px) {:host([flexy][split-pane_]) {--ytd-watch-flexy-sidebar-width: 285px;--ytd-watch-flexy-sidebar-min-width: 285px;}} @media(max-width:656px) {:host([snap]) {--ytd-watch-flexy-player-width: 426px;--ytd-watch-flexy-player-height: 240px;}} @media(min-width:657px) and (max-width:856px) {:host([snap]) {--ytd-watch-flexy-player-width: 640px;--ytd-watch-flexy-player-height: 360px;}} @media(min-width:857px) and (max-width:999px) {:host([snap]) {--ytd-watch-flexy-player-width: 854px;--ytd-watch-flexy-player-height: 480px;}} @media(min-width:1000px) {:host([snap]) {--ytd-watch-flexy-player-width: 640px;--ytd-watch-flexy-player-height: 360px;}} @media(min-width:1294px) and (min-height:630px) {:host([snap]) {--ytd-watch-flexy-player-width: 854px;--ytd-watch-flexy-player-height: 480px;}} @media(min-width:1720px) and (min-height:980px) {:host([snap]) {--ytd-watch-flexy-player-width: 1280px;--ytd-watch-flexy-player-height: 720px;}} :host([snap]) #columns {-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([snap]:not([is-two-columns_])) #columns {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([snap]) #player-container-outer,:host([snap]) #player-container-inner,:host([snap]) #player-container {width: 100%;height: 100%;} :host([snap][is-two-columns_]) #primary {min-width: var(--ytd-watch-flexy-player-width);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([snap]:not([is-two-columns_])) #primary {padding-right: 0;} :host([snap]) #primary-inner {width: var(--ytd-watch-flexy-player-width);} :host([snap]) #player {width: var(--ytd-watch-flexy-player-width);height: var(--ytd-watch-flexy-player-height);} :host([snap]) #secondary {width: calc((100vw - var(--ytd-watch-flexy-player-width) - 2 * var(--ytd-margin-6x) - var(--ytd-watch-flexy-sidebar-width))/2 + var(--ytd-watch-flexy-sidebar-width));} :host([snap]) #secondary-inner {width: var(--ytd-watch-flexy-sidebar-width);max-width: 100%;} :host([snap]:not([is-two-columns_])) #chat,:host([snap]:not([is-two-columns_])) #chat-container,:host([snap]:not([is-two-columns_])) #panels ytd-engagement-panel-section-list-renderer {height: 460px;} :host([snap]:not([is-two-columns_])) #playlist {height: 308px;} :host([snap][is-two-columns_]) #chat,:host([snap][is-two-columns_]) #chat-container,:host([snap][is-two-columns_]) #playlist,:host([snap][is-two-columns_]) #panels ytd-engagement-panel-section-list-renderer {height: var(--ytd-watch-flexy-player-height);} :host(.loading) #chat,:host(.loading) #chat-container,:host(.loading) #comments,:host(.loading:not(.show-skeleton)) #related {visibility: hidden;} :host(.show-skeleton) ytd-video-primary-info-renderer,:host(.show-skeleton) ytd-video-secondary-info-renderer,:host(.show-skeleton) ytd-watch-metadata,:host(.show-skeleton) ytd-watch-next-secondary-results-renderer,:host(.show-skeleton) #player-ads {display: none;} :host(.hide-skeleton) #info-skeleton,:host(.hide-skeleton) #meta-skeleton {display: none;} #engagement-panel-scrim {display: none;z-index: var(--ytd-z-index-engagement-panel-scrim);background-color: var(--yt-spec-themed-overlay-background);position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host([expanded-clip-range]) #engagement-panel-scrim {background-color: var(--yt-spec-static-overlay-background-heavy);} :host([show-engagement-panel-scrim_]) {position: relative;} :host([show-engagement-panel-scrim_]) #engagement-panel-scrim {display: block;} :host([show-engagement-panel-scrim_]) #player,:host([show-engagement-panel-scrim_]) #player-container,:host([show-engagement-panel-scrim_]) #player-theater-container {z-index: var(--ytd-z-index-engagement-panel-scrimmed);} :host([watch-feed-big-thumbs_]:not([is-two-columns_])) {--ytd-watch-flexy-sidebar-width: calc( 100% / var(--ytd-related-shelf-items) - (1 - 1 / var(--ytd-related-shelf-items)) * var(--ytd-margin-4x) );--ytd-compact-item-dismissed-height: calc( 0.559 * ( (100vw - 2 * var(--ytd-margin-6x)) / var(--ytd-related-shelf-items) - (1 - 1 / var(--ytd-related-shelf-items)) * var(--ytd-margin-4x) ) - var(--ytd-margin-4x) - 2px );} @media(min-width:850px) {:host([watch-feed-big-thumbs_]:not([is-two-columns_])) {--ytd-related-shelf-items: 3;}} @media(min-width:525px) and (max-width:849px) {:host([watch-feed-big-thumbs_]:not([is-two-columns_])) {--ytd-related-shelf-items: 2;}} @media(max-width:524px) {:host([watch-feed-big-thumbs_]:not([is-two-columns_])) {--ytd-related-shelf-items: 1;}} /*# sourceMappingURL=ytd-watch-flexy.css.map*/</style>";
bWb=d}d=bWb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cWb=a}a=cWb;return a}}});
var k$=j$;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],k$.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],k$.prototype,"ytComponentBehavior",void 0);_.S([_.L($Vb.YtdWatchBehavior),_.T("design:type",Object)],k$.prototype,"ytdWatchBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],k$.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],k$.prototype,"playerData",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],k$.prototype,"flexy",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],k$.prototype,"snap",void 0);_.S([_.Z("#primary"),_.T("design:type",HTMLElement)],k$.prototype,"primary",void 0);_.S([_.Z("#secondary"),_.T("design:type",HTMLElement)],k$.prototype,"secondary",void 0);k$=_.S([_.Q({is:"ytd-watch-flexy"})],k$);
_.Rt(_.cna,k$);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("nmfa2d");

var ARb=function(a){return _.A7(a)||_.C7(a)||_.eQb(a)},BRb;
var CRb;
var i8=function(){var a=_.K.apply(this,arguments)||this;a.hidden=!1;a.errorScreen=null;a.playlistData={};return a};
_.q(i8,_.K);_.f=i8.prototype;_.f.getPlayer=function(){return this.ytdPlayer};
_.f.configureRendererStamper=function(){return{clarificationData:{id:"clarify-box",mapping:{clarificationRenderer:"ytd-clarification-renderer",infoPanelContainerRenderer:"ytd-info-panel-container-renderer",infoPanelContentRenderer:"ytd-info-panel-content-renderer",emergencyOneboxRenderer:{component:"ytd-emergency-onebox-renderer",attributes:{"class":"watch"}}}},donationShelf:{id:"donation-shelf",mapping:{donationShelfRenderer:{component:"ytd-donation-shelf-renderer",properties:{isCollapsed:"[[hasChat]]"}},
donationUnavailableRenderer:{component:"ytd-donation-unavailable-renderer"}}},limitedState:{id:"limited-state",mapping:{limitedStateMessageRenderer:"ytd-limited-state-message-renderer"}},ticketShelf:{id:"ticket-shelf",mapping:{ticketShelfRenderer:"ytd-ticket-shelf-renderer"}},"playerData.playerAds":{id:"player-ads",mapping:{playerLegacyDesktopWatchAdsRenderer:"ytd-player-legacy-desktop-watch-ads-renderer"},initialRenderPriority:3,waitForSignal:_.z3()}}};
_.f.onActiveChanged=function(){_.hh.dispatch(_.mQb(this.ytPageBehavior.active))};
_.f.playerDataChanged=function(){var a;null==(a=this.watchController)||_.e8(a,this.playerData)};
_.f.dataChanged=function(){var a;null==(a=this.watchController)||_.f8(a,this.data)};
_.f.sizeChanged=function(){var a,b;null==(b=(a=this.metadata).resize)||b.call(a)};
_.f.attached=function(){this.watchController=new _.d8(this);this.playerData&&_.e8(this.watchController,this.playerData);this.data&&_.f8(this.watchController,this.data)};
_.f.detached=function(){_.Jb(this.watchController);this.watchController=void 0};
_.f.getPlayerContainer=function(){return this.playerContainer};
_.f.getElement=function(a){switch(a){case "PLAYER":return this.ytdPlayer;case "PLAYLIST_PANEL":return this.playlistPanel}};
_.f.provideRenderingData=function(a,b){switch(a){case "ERROR_SCREEN":this.errorScreen=null!=b?b:null;break;case "PRIMARY_INFO":this.videoPrimaryInfoRenderer=b;break;case "SECONDARY_INFO":this.videoSecondaryInfoRenderer=b;break;case "COMMENTS_ENTRY_POINT_HEADER":this.commentsEntryPointHeaderRenderer=b;break;case "CLARIFICATION":this.clarificationData=b;break;case "PLAYLIST":this.playlistData=null!=b?b:{};break;case "MERCH_SHELF":this.merchShelf=b;break;case "TICKET_SHELF":this.ticketShelf=b;break;
case "LIMITED_STATE":this.limitedState=b;break;case "DONATION_SHELF":this.donationShelf=b}};
_.t.Object.defineProperties(i8.prototype,{hasPlaylistData:{configurable:!0,enumerable:!0,get:function(){return this.playlistData&&!!Object.keys(this.playlistData).length}},
hasChat:{configurable:!0,enumerable:!0,get:function(){var a,b,c;return!this.hidden&&!!(null==(a=this.data)?0:null==(b=a.contents)?0:null==(c=b.twoColumnWatchNextResults)?0:c.conversationBar)}}});
_.t.Object.defineProperties(i8,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CRb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-fixie--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.pages.ytd_watch_fixie.ytd.watch.fixie.css.js--\x3e<div id="fixed-layer">\n  <div id="primary">\n    <div id="player">\n      <div id="player-container">\n        <ytd-player id="ytd-player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH" watch-next-data="[[data]]">\n        </ytd-player>\n      </div>\n      <yt-playability-error-supported-renderers id="error-screen" data="[[errorScreen]]" disable-upgrade$="[[!errorScreen]]" hidden="[[!errorScreen]]">\n      </yt-playability-error-supported-renderers>\n    </div>\n    \n    <ytd-watch-metadata id="metadata" comments-entry-point-header-renderer="[[commentsEntryPointHeaderRenderer]]" suppress-non-rich-metadata-rows="" video-primary-info-renderer="[[videoPrimaryInfoRenderer.videoPrimaryInfoRenderer]]" video-secondary-info-renderer="[[videoSecondaryInfoRenderer.videoSecondaryInfoRenderer]]">\n    </ytd-watch-metadata>\n  </div>\n</div>\n\n<div id="static-layer">\n  <div id="secondary">\n    <div id="clarify-box" class="feed-item"></div>\n    <div id="limited-state" class="feed-item"></div>\n    \n    <template is="dom-if" if="[[merchShelf.merchandiseShelfRenderer]]" restamp="" id="merch-shelf">\n      <ytd-merch-shelf-renderer class="feed-item" data="[[merchShelf.merchandiseShelfRenderer]]" watch-metadata-refresh="">\n      </ytd-merch-shelf-renderer>\n    </template>\n    <div id="ticket-shelf" class="feed-item"></div>\n    <ytd-watch-engagement-panels data="[[data.engagementPanels]]"></ytd-watch-engagement-panels>\n    \n    \n    <template is="dom-if" if="[[hasChat]]" restamp="">\n      <ytd-live-chat-frame id="chat" class="feed-item" data="[[data.contents.twoColumnWatchNextResults.conversationBar]]">\n      </ytd-live-chat-frame>\n    </template>\n    <div id="donation-shelf" class="feed-item"></div>\n    <ytd-playlist-panel-renderer id="playlist" class="feed-item" autoplay-data="[[data.contents.twoColumnWatchNextResults.autoplay.autoplay]]" data="[[playlistData]]" disable-upgrade$="[[!hasPlaylistData]]" hidden="[[!hasPlaylistData]]" js-panel-height="">\n    </ytd-playlist-panel-renderer>\n    <div id="player-ads"></div>\n    <ytd-watch-next-secondary-results-renderer data="[[data.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" disable-upgrade$="[[!data.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" hidden="[[!data.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" player-data="[[playerData]]">\n    </ytd-watch-next-secondary-results-renderer>\n  </div>\n</div>\n\n\n\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BRb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.pages.ytd_watch_fixie.ytd.watch.fixie.css.js--\x3e<style>:host {--ytd-watch-fixie-masthead-height: var( --ytd-masthead-height, var(--ytd-toolbar-height) );min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #primary {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #metadata {margin: 20px 24px;} #player {position: relative;box-sizing: border-box;min-height: 240px;background-color: #000;} #player-container {width: 100%;height: 100%;} :host([has-error-screen]) #player-container {visibility: hidden;} #error-screen {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #secondary {padding: 24px;} .feed-item:not(:empty) {margin-bottom: 24px;} #playlist[disable-upgrade] {display: none;} #chat:not([collapsed]) {min-height: 596px;} :host([fixie]) {--ytd-watch-flexy-panel-max-height: calc( 100vh - var(--ytd-watch-fixie-masthead-height) - 178px - 16px );} :host([fixie]) ytd-watch-engagement-panels {--ytd-watch-flexy-comments-panel-max-height: calc( 100vh - var(--ytd-watch-fixie-masthead-height) - 178px - 16px );} :host([fixie]) #playlist {max-height: calc( 100vh - var(--ytd-watch-fixie-masthead-height) - 178px - 16px );} :host([fixie]) #chat:not([collapsed]) {height: calc( 100vh - var(--ytd-watch-fixie-masthead-height) - 178px - 16px );} :host([fixie]) #fixed-layer {position: fixed;left: 0;right: 0;top: var(--ytd-watch-fixie-masthead-height);bottom: 0;pointer-events: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([fixie]) #primary {max-width: 1280px;overflow-y: auto;pointer-events: initial;border-right: 1px solid var(--yt-spec-10-percent-layer);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([fixie]) #player {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([fixie]) #fixed-layer::after {content: "";display: block;width: 450px;height: 0;} :host([fixie]) #static-layer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([fixie]) #static-layer::before {content: "";display: block;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;max-width: 1280px;height: 0;} :host([fixie]) #secondary {box-sizing: border-box;width: 450px;} :host([single-column]) {--ytd-watch-flexy-comments-panel-max-height: 460px;--ytd-watch-flexy-panel-max-height: 460px;} :host([single-column]) #playlist {max-height: 460px;} :host([single-column]:not([theater]):not([fullscreen])) #player {padding-top: 56.25%;position: relative;} :host([single-column]:not([theater]):not([fullscreen])) #ytd-player {position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host([single-column]) #metadata {margin: 24px 24px 0;} :host([theater]) #player {height: 56.25vw;max-height: calc(100vh - 169px);min-height: 480px;} :host([fullscreen]) #player {width: 100vw;height: 100vh;} /*# sourceMappingURL=ytd-watch-fixie.css.map*/</style>';
BRb=d}d=BRb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CRb=a}a=CRb;return a}}});
var j8=i8;j8.prototype.sizeChanged=j8.prototype.sizeChanged;j8.prototype.dataChanged=j8.prototype.dataChanged;j8.prototype.playerDataChanged=j8.prototype.playerDataChanged;j8.prototype.onActiveChanged=j8.prototype.onActiveChanged;_.S([_.L(_.A3.YtPageBehavior),_.T("design:type",Object)],j8.prototype,"ytPageBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],j8.prototype,"ytComponentBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],j8.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],j8.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],j8.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"playerData",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],j8.prototype,"hidden",void 0);_.S([_.Ix("ytd-player"),_.T("design:type",HTMLElement)],j8.prototype,"ytdPlayer",void 0);_.S([_.Ix("player-container"),_.T("design:type",HTMLElement)],j8.prototype,"playerContainer",void 0);_.S([_.Ix("metadata"),_.T("design:type",_.y1)],j8.prototype,"metadata",void 0);_.S([_.Ix("playlist"),_.T("design:type",HTMLElement)],j8.prototype,"playlistPanel",void 0);_.S([_.N({selector:function(a){return!ARb(a)},
reflectToAttribute:!0}),_.T("design:type",Object)],j8.prototype,"fixie",void 0);_.S([_.N({selector:ARb,reflectToAttribute:!0}),_.T("design:type",Object)],j8.prototype,"singleColumn",void 0);_.S([_.N({selector:function(a){return _.A7(a)&&!_.C7(a)},
reflectToAttribute:!0}),_.T("design:type",Object)],j8.prototype,"theater",void 0);_.S([_.N({selector:_.C7,reflectToAttribute:!0}),_.T("design:type",Object)],j8.prototype,"fullscreen",void 0);_.S([_.N({selector:_.fQb}),_.T("design:type",Object)],j8.prototype,"windowSize",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"errorScreen",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"playlistData",void 0);
_.S([_.N(),_.T("design:type",Object)],j8.prototype,"videoPrimaryInfoRenderer",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"videoSecondaryInfoRenderer",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"clarificationData",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"commentsEntryPointHeaderRenderer",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"ticketShelf",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"merchShelf",void 0);
_.S([_.N(),_.T("design:type",Object)],j8.prototype,"donationShelf",void 0);_.S([_.N(),_.T("design:type",Object)],j8.prototype,"limitedState",void 0);_.S([_.V("playlistData"),_.T("design:type",Object),_.T("design:paramtypes",[])],j8.prototype,"hasPlaylistData",null);_.S([_.V("data","hidden"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],j8.prototype,"hasChat",null);
_.S([_.P("active"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],j8.prototype,"onActiveChanged",null);_.S([_.P("playerData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],j8.prototype,"playerDataChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],j8.prototype,"dataChanged",null);
_.S([_.P("windowSize","singleColumn"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],j8.prototype,"sizeChanged",null);j8=_.S([_.Q({is:"ytd-watch-fixie"})],j8);
_.Rt(_.bna,j8);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("xwEKAe");

var DPb=function(a){return a.shorts.isShortsActive},EPb=function(a){return a.shorts.isWatchWhileMode},FPb=function(a){_.G.call(this,a)};
_.q(FPb,_.G);
var GPb=function(a){_.uk.call(this);var b=this;this.shortsController=a;a=_.sE(EPb,function(c){if(c){var d,e=null==(d=b.shortsController.getRoot())?void 0:d.getPlayer(),h;(d=null==(h=b.shortsController.alternativePlayerContainerElement)?void 0:h.getPlayerContainer())&&(null==e||e.appendTo(d))}else{var l;h=null==(l=b.shortsController.alternativePlayerContainerElement)?void 0:l.getPlayerContainer().querySelector("#player");d=b.shortsController.activeIndex;(l=null==(e=b.shortsController.getRoot())?void 0:
e.querySelector("#player-container-"+d))&&(null==h||h.appendTo(l,void 0,!0))}});
_.vk(this,a)};
_.q(GPb,_.uk);var HPb=function(a,b){b?a.JSC$35970_activeModules.push(new GPb(a)):(_.Kb(a.JSC$35970_activeModules),a.JSC$35970_activeModules.length=0)},IPb=function(a){a.unsubscribeFromStore=_.sE(DPb,function(b){HPb(a,b)});
HPb(a,DPb(_.hh.getState()))};
var JPb;
var KPb;
var LPb;
var MPb;
var NPb;
var OPb;
var h7=function(){return _.K.apply(this,arguments)||this};
_.q(h7,_.K);h7.prototype.onDown=function(){this.interaction.triggerDown()};
h7.prototype.onUp=function(){this.interaction.triggerUp()};
_.t.Object.defineProperties(h7.prototype,{icon:{configurable:!0,enumerable:!0,get:function(){var a,b;if(null==(a=this.data)?0:null==(b=a.icon)?0:b.iconType)return _.Ft(this.data.icon.iconType)}}});
_.t.Object.defineProperties(h7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===OPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-reel-multimix-attribution-label-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_reel_multimix_attribution_label_renderer.ytd.reel.multimix.attribution.label.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.command)]]" data="[[data.command]]">\n  <h3 class="multimix-attribution-label">\n    <yt-icon id="icon" hidden="[[!data.icon]]" icon="[[icon]]">\n    </yt-icon>\n    <yt-formatted-string id="label-title" text="[[data.title]]">\n    </yt-formatted-string>\n  </h3>\n  <yt-interaction></yt-interaction>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===NPb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_reel_multimix_attribution_label_renderer.ytd.reel.multimix.attribution.label.renderer.css.js--\x3e<style>.yt-simple-endpoint {position: relative;} .multimix-attribution-label {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;margin-bottom: 16px;margin-right: 64px;} yt-icon#icon {width: 18px;height: 18px;margin-right: 6px;} /*# sourceMappingURL=ytd-reel-multimix-attribution-label-renderer.css.map*/</style>';
NPb=d}d=NPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);OPb=a}a=OPb;return a}}});
var i7=h7;i7.prototype.onUp=i7.prototype.onUp;i7.prototype.onDown=i7.prototype.onDown;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],i7.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],i7.prototype,"data",void 0);_.S([_.Z("yt-interaction"),_.T("design:type",_.iv)],i7.prototype,"interaction",void 0);_.S([_.O("down"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],i7.prototype,"onDown",null);
_.S([_.O("up"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],i7.prototype,"onUp",null);_.S([_.V("data.icon.iconType"),_.T("design:type",Object),_.T("design:paramtypes",[])],i7.prototype,"icon",null);i7=_.S([_.Q({is:"ytd-reel-multimix-attribution-label-renderer"})],i7);
var j7=function(){return _.K.apply(this,arguments)||this};
_.q(j7,_.K);
j7.prototype.configureRendererStamper=function(){return{subscribeButton:{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:{component:"ytd-subscribe-button-renderer",params:{overlayButton:!0}}}},multimixAttributionLabel:{id:"multimix-attribution-label",mapping:{reelMultimixAttributionLabelRenderer:{component:"ytd-reel-multimix-attribution-label-renderer"}}},badge:{id:"badge",mapping:{metadataBadgeRenderer:{component:"ytd-badge-supported-renderer",properties:{topStandaloneBadge:"[[badge]]"}}}}}};
_.t.Object.defineProperties(j7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===MPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-reel-player-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_player_header_renderer.ytd.reel.player.header.renderer.css.js--\x3e<div id="badge"></div>\n<h2 class="title">\n  <yt-formatted-string no-endpoints="[[noEndpoints]]" text="[[data.reelTitleText]]">\n  </yt-formatted-string>\n</h2>\n<div id="multimix-attribution-label"></div>\n<div id="channel-container">\n  <div id="channel-info">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.channelNavigationEndpoint)]]" data="[[data.channelNavigationEndpoint]]" tabindex="-1">\n      <yt-img-shadow id="avatar" alt="[[getSimpleString(data.channelTitleText)]]" fit="" thumbnail="[[data.channelThumbnail]]" width="36">\n      </yt-img-shadow>\n    </a>\n    <ytd-channel-name id="channel-name" channel-name="[[data.channelTitleText]]" wrap-text="">\n    </ytd-channel-name>\n  </div>\n  <div id="subscribe-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===LPb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_player_header_renderer.ytd.reel.player.header.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: var(--yt-spec-static-overlay-text-primary);--yt-endpoint-hover-color: var(--yt-spec-static-overlay-text-primary);--yt-endpoint-visited-color: var(--yt-spec-static-overlay-text-primary);color: var(--yt-spec-static-overlay-text-primary);padding: 72px 16px 16px 16px;pointer-events: auto;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #badge ytd-badge-supported-renderer {margin-bottom: 12px;} .title {margin-bottom: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #channel-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #channel-info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #avatar {width: 36px;height: 36px;border-radius: 50%;background-color: transparent;overflow: hidden;background-color: var(--yt-spec-static-overlay-icon-disabled);} #channel-name {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: center;-webkit-align-self: center;align-self: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .yt-simple-endpoint {margin-right: 6px;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} /*# sourceMappingURL=ytd-reel-player-header-renderer.css.map*/</style>';
LPb=d}d=LPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);MPb=a}a=MPb;return a}}});
var k7=j7;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],k7.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],k7.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],k7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],k7.prototype,"subscribeButton",void 0);_.S([_.N(),_.T("design:type",Object)],k7.prototype,"multimixAttributionLabel",void 0);
_.S([_.N(),_.T("design:type",Object)],k7.prototype,"badge",void 0);_.S([_.N({value:!_.x("enable_shorts_hashtag_pivot")}),_.T("design:type",Boolean)],k7.prototype,"noEndpoints",void 0);k7=_.S([_.Q({asyncProperties:!0,is:"ytd-reel-player-header-renderer"})],k7);
var PPb;
var QPb;
var RPb;
var SPb;
var l7=function(){return _.K.apply(this,arguments)||this};
_.q(l7,_.K);_.f=l7.prototype;
_.f.computeLikeButton=function(a){return{style:{styleType:"STYLE_TEXT"},toggledStyle:{styleType:"STYLE_DEFAULT_ACTIVE"},isToggled:"LIKE"===a.likeStatus,isDisabled:!a.likesAllowed,defaultIcon:{iconType:this.useShortsIcon?"SHORTS_LIKE":"LIKE"},defaultText:"LIKE"===a.likeStatus?a.likeCountWithUnlikeText:a.likeCountText,toggledText:"LIKE"===a.likeStatus?a.likeCountText:a.likeCountWithLikeText,defaultNavigationEndpoint:this.getNavigationEndpoint("LIKE"),defaultServiceEndpoint:this.getServiceEndpoint("LIKE"),toggledServiceEndpoint:this.getServiceEndpoint("INDIFFERENT"),
defaultTooltip:_.qi(a.likeCountTooltipText),toggledTooltip:_.qi(a.likeCountTooltipText)}};
_.f.computeDislikeButton=function(a){return{style:{styleType:"STYLE_TEXT"},toggledStyle:{styleType:"STYLE_DEFAULT_ACTIVE"},isToggled:"DISLIKE"===a.likeStatus,isDisabled:!a.likesAllowed,defaultIcon:{iconType:this.useShortsIcon?"SHORTS_DISLIKE":"DISLIKE"},defaultText:"DISLIKE"===a.likeStatus?a.dislikeCountWithUndislikeText:a.dislikeCountText,toggledText:"DISLIKE"===a.likeStatus?a.dislikeCountText:a.dislikeCountWithDislikeText,defaultNavigationEndpoint:this.getNavigationEndpoint("DISLIKE"),defaultServiceEndpoint:this.getServiceEndpoint("DISLIKE"),
toggledServiceEndpoint:this.getServiceEndpoint("INDIFFERENT"),defaultTooltip:_.qi(a.dislikeCountTooltipText),toggledTooltip:_.qi(a.dislikeCountTooltipText)}};
_.f.getNavigationEndpoint=function(a){if("LIKE"===a){var b;return null==(b=this.data)?void 0:b.likeCommand}if("DISLIKE"===a){var c;return null==(c=this.data)?void 0:c.dislikeNavigationEndpoint}};
_.f.getServiceEndpoint=function(a){var b,c;return null==(b=this.data)?void 0:null==(c=b.serviceEndpoints)?void 0:c.find(function(d){var e;return(null==d?void 0:null==(e=d.likeEndpoint)?void 0:e.status)===a})};
_.f.onYtServiceRequestSent=function(a,b){var c;(null==(c=b.endpoint)?0:c.likeEndpoint)&&this.handleLikeEndpoint(b.endpoint.likeEndpoint)};
_.f.handleLikeEndpoint=function(a){"LIKE"===a.status?this.JSC$42550_ytdDislikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1):"DISLIKE"===a.status?this.JSC$42550_ytdLikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1):(this.JSC$42550_ytdLikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1),this.JSC$42550_ytdDislikeToggleButtonRenderer.ytToggleButtonBehavior.toggle(!1))};
_.t.Object.defineProperties(l7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-like-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_like_button_renderer.ytd.like.button.renderer.css.js--\x3e<ytd-toggle-button-renderer id="like-button" button-tooltip-position="left" data="[[computeLikeButton(data)]]" vertically-aligned$="[[vertical]]">\n</ytd-toggle-button-renderer>\n<ytd-toggle-button-renderer id="dislike-button" button-tooltip-position="left" data="[[computeDislikeButton(data)]]" vertically-aligned$="[[vertical]]">\n</ytd-toggle-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_like_button_renderer.ytd.like.button.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([text-transform=none]) ytd-toggle-button-renderer+ytd-toggle-button-renderer {text-transform: none;letter-spacing: 0;} :host([vertical]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertical]) ytd-toggle-button-renderer+ytd-toggle-button-renderer {padding-top: 16px;} :host([use-shorts-icon]) ytd-toggle-button-renderer.style-default-active {--yt-button-color: var(--yt-spec-call-to-action);} @media(max-width:599px) {:host([use-shorts-icon]) ytd-toggle-button-renderer.style-default-active {--yt-button-color: var(--yt-spec-static-overlay-call-to-action);}} /*# sourceMappingURL=ytd-like-button-renderer.css.map*/</style>";
RPb=d}d=RPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SPb=a}a=SPb;return a}}});
var m7=l7;m7.prototype.onYtServiceRequestSent=m7.prototype.onYtServiceRequestSent;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m7.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],m7.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],m7.prototype,"vertical",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],m7.prototype,"textTransform",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],m7.prototype,"useShortsIcon",void 0);_.S([_.Z("#like-button"),_.T("design:type",_.Kv)],m7.prototype,"JSC$42550_ytdLikeToggleButtonRenderer",void 0);_.S([_.Z("#dislike-button"),_.T("design:type",_.Kv)],m7.prototype,"JSC$42550_ytdDislikeToggleButtonRenderer",void 0);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],m7.prototype,"onYtServiceRequestSent",null);
m7=_.S([_.Q({asyncProperties:!0,is:"ytd-like-button-renderer"})],m7);
var TPb;
var UPb;
var n7=function(){return _.K.apply(this,arguments)||this};
_.q(n7,_.K);_.t.Object.defineProperties(n7.prototype,{backgroundColor:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.data)?void 0:a.backgroundColor)?b:""}}});
_.t.Object.defineProperties(n7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===UPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-pivot-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_pivot_button_renderer.ytd.pivot.button.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.onClickCommand)]]" data="[[data.onClickCommand]]">\n  <template is="dom-if" if="[[data.thumbnail]]">\n    <yt-img-shadow id="thumbnail" alt="[[getSimpleString(data.contentDescription)]]" fit="" thumbnail="[[data.thumbnail]]" width="48">\n    </yt-img-shadow>\n  </template>\n  <template is="dom-if" if="[[!data.thumbnail]]">\n    <yt-icon id="icon" hidden="[[!data.icon]]" icon="[[data.icon.iconType]]">\n    </yt-icon>\n  </template>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_pivot_button_renderer.ytd.pivot.button.renderer.css.js--\x3e<style>#thumbnail {border: 1px solid var(--yt-spec-10-percent-layer);} :host([background-color=THEME_ATTRIBUTE_OVERLAY_BACKGROUND_MEDIUM]) #icon {background-color: var(--yt-spec-static-overlay-background-medium);} :host([background-color=THEME_ATTRIBUTE_OVERLAY_BACKGROUND_MEDIUM_LIGHT]) #icon {background-color: var(--yt-spec-static-overlay-background-medium-light);} /*# sourceMappingURL=ytd-pivot-button-renderer.css.map*/</style>";
TPb=d}d=TPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);UPb=a}a=UPb;return a}}});
var o7=n7;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],o7.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],o7.prototype,"data",void 0);_.S([_.N({type:String,reflectToAttribute:!0}),_.V("data.backgroundColor"),_.T("design:type",Object),_.T("design:paramtypes",[])],o7.prototype,"backgroundColor",null);o7=_.S([_.Q({asyncProperties:!0,is:"ytd-pivot-button-renderer"})],o7);
var p7=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-show-reels-comments-overlay-command":"handleShowReelsCommentsOverlayCommand"};return a};
_.q(p7,_.K);p7.prototype.ready=function(){this.get("data.likeButton")||this.get("data.viewCommentsButton")||this.get("data.shareButton")||this.setFakeLoadingButtons()};
p7.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.likeButton":{id:"like-button",mapping:{likeButtonRenderer:{component:"ytd-like-button-renderer",properties:{vertical:"[[vertical]]",textTransform:"[[textTransform]]",useShortsIcon:"[[useShortsIcon]]"}}}},"data.viewCommentsButton":{id:"comments-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{verticallyAligned:"[[vertical]]",buttonTooltipPosition:"[[buttonTooltipPosition]]"}}}},
"data.shareButton":{id:"share-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{verticallyAligned:"[[vertical]]",buttonTooltipPosition:"[[buttonTooltipPosition]]"}}}},"data.pivotButton":{id:"pivot-button",mapping:{pivotButtonRenderer:"ytd-pivot-button-renderer"}},"data.infoPanel":{id:"info-panel",mapping:{infoPanelContainerRenderer:"ytd-info-panel-container-renderer"}}}};
p7.prototype.handleShowReelsCommentsOverlayCommand=function(a){var b;this.isActive&&null!=(b=a.showReelsCommentsOverlayCommand)&&b.engagementPanel&&(_.x("kevlar_enable_shorts_watch_while_dialog")?(b={openPopupAction:{popupType:"DIALOG",popup:{reelWatchWhileDialogRenderer:{panels:[a.showReelsCommentsOverlayCommand.engagementPanel]}}}},a.showReelsCommentsOverlayCommand.engagementPanel.engagementPanelSectionListRenderer.visibility=void 0,this.ytComponentBehavior.resolveCommand(b)):this.ytComponentBehavior.resolveCommand({openPopupAction:{popupType:"DIALOG",
popup:a.showReelsCommentsOverlayCommand.engagementPanel}}))};
p7.prototype.setFakeLoadingButtons=function(){this.set("data.likeButton",{likeButtonRenderer:{likesAllowed:!0,likeStatus:"INDIFFERENT",likeCountText:{simpleText:_.Bg("LIKE_LABEL",void 0,"Like")},dislikeCountText:{simpleText:_.Bg("DISLIKE_LABEL",void 0,"Dislike")}}});this.set("data.viewCommentsButton",{buttonRenderer:{icon:{iconType:"SHORTS_COMMENT"},text:{simpleText:_.Bg("SHARE_LABEL",void 0,"Comment")}}});this.set("data.shareButton",{buttonRenderer:{icon:{iconType:"SHORTS_SHARE"},text:{simpleText:_.Bg("COMMENT_LABEL",
void 0,"Share")}}})};
_.t.Object.defineProperties(p7.prototype,{hasInfoPanel:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.infoPanel)}}});
_.t.Object.defineProperties(p7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===QPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-reel-player-overlay-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_player_overlay_renderer.ytd.reel.player.overlay.renderer.css.js--\x3e<div id="overlay">\n  <ytd-reel-player-header-renderer badge="[[data.badge]]" data="[[data.reelPlayerHeaderSupportedRenderers.reelPlayerHeaderRenderer]]" multimix-attribution-label="[[data.multimixAttributionLabel]]" subscribe-button="[[data.subscribeButtonRenderer]]">\n  </ytd-reel-player-header-renderer>\n  <div id="info-panel"></div>\n</div>\n\n<div id="actions">\n  <div id="menu" class="button-container"></div>\n  <div id="like-button" class="button-container"></div>\n  <div id="comments-button" class="button-container"></div>\n  <div id="share-button" class="button-container"></div>\n  <div id="pivot-button" class="button-container"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_player_overlay_renderer.ytd.reel.player.overlay.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;--ytd-shorts-border-radius: 12px;--ytd-action-button-width: 64px;} :host([vertical]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host #overlay {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;background-image: linear-gradient(0deg,rgba(0,0,0,0.4),transparent);border-radius: 0 0 var(--ytd-shorts-border-radius) var(--ytd-shorts-border-radius);overflow: hidden;} #actions {--iron-icon-width: 32px;--iron-icon-height: 32px;pointer-events: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;justify-content: space-between;height: 100%;} #info-panel {pointer-events: auto;} :host([vertical]) #actions {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;width: 64px;padding-left: 12px;--yt-paper-button-width: var(--ytd-action-button-width);--yt-paper-button-min-width: var(--ytd-action-button-width);--yt-button-border-radius: 50%;--yt-button-text-transform: none;--yt-icon-width: 24px;--yt-icon-height: 24px;} @media(min-width:600px) {:host([vertical]) {height: 100%;}:host([vertical]) #actions>.button-container>*:first-child {padding-top: 16px;}:host([vertical]) #menu {flex-grow: 1;}#menu ytd-menu-renderer {--yt-spec-icon-active-other: var(--yt-spec-text-secondary);--ytd-menu-renderer-button-color: var(--yt-spec-text-secondary);}} @media(max-width:599px) {:host([vertical]) #actions>.button-container>*:first-child {padding-bottom: 16px;}#comments-button ytd-button-renderer,#share-button ytd-button-renderer {color: var(--yt-spec-static-brand-white);}#menu ytd-menu-renderer {--ytd-menu-renderer-button-color: var(--yt-spec-static-brand-white);}#like-button>ytd-like-button-renderer {--yt-button-color: var(--yt-spec-static-brand-white);}#info-panel {margin-right: calc(-1 * var(--ytd-action-button-width));}#overlay {margin-right: calc(-1 * (var(--ytd-action-button-width) + 12px));padding-right: var(--ytd-action-button-width);}:host([has-info-panel]) #actions {margin-bottom: 56px;}} #comments-button ytd-button-renderer,#share-button ytd-button-renderer {--yt-button-default-background-color: transparent;--paper-button-ink-color: var(--yt-spec-text-secondary);text-transform: none;letter-spacing: 0;} .button-skeleton {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([vertical]) .button-skeleton+.button-skeleton {padding-top: 16px;} .button-skeleton .icon-skeleton {height: var(--iron-icon-height);width: var(--iron-icon-width);border-radius: var(--yt-button-border-radius);} .button-skeleton .label-skeleton {height: 12px;width: 40px;border-radius: 4px;margin: 8px 6px;} .skeleton-bg-color {background-color: var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=ytd-reel-player-overlay-renderer.css.map*/</style>";
PPb=d}d=PPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);QPb=a}a=QPb;return a}}});
var q7=p7;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],q7.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],q7.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],q7.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],q7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],q7.prototype,"isActive",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],q7.prototype,"vertical",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],q7.prototype,"useShortsIcon",void 0);_.S([_.N({value:"left"}),_.T("design:type",String)],q7.prototype,"buttonTooltipPosition",void 0);_.S([_.N({value:"none"}),_.T("design:type",String)],q7.prototype,"textTransform",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data.infoPanel"),_.T("design:type",Object),_.T("design:paramtypes",[])],q7.prototype,"hasInfoPanel",null);q7=_.S([_.Q({asyncProperties:!0,is:"ytd-reel-player-overlay-renderer"})],q7);
var VPb;
var WPb;
var r7=function(){var a=_.K.apply(this,arguments)||this;a.playerState=null;a.isMuted=!1;a.playerEvents=new Map;return a};
_.q(r7,_.K);_.f=r7.prototype;_.f.created=function(){this.playerEvents.set("onStateChange",this.onPlayerStateChange);this.playerEvents.set("onVolumeChange",this.onPlayerVolumeChange)};
_.f.attached=function(){this.getPlayerAndInitializeListeners()};
_.f.detached=function(){this.player&&(this.ytPlayerListenerBehavior.unlistenFromPlayerEvents(this.player,this.playerEvents),this.player=null)};
_.f.getPlayerAndInitializeListeners=function(){var a=this,b,c;return _.y(function(d){if(1==d.nextAddress){b=_.sv();if(null===b)return a.listen(document,"yt-page-type-changed","onPageChanged"),d.jumpTo(0);c=a;return _.B(d,b.getPlayerPromise(),3)}c.player=d.yieldResult;a.initializePlayerListeners();_.bf(d)})};
_.f.onPageChanged=function(a){var b=this,c;return _.y(function(d){if(1==d.nextAddress){if("ytd-shorts"!==a.detail.newPageType)return d.return();c=b;return _.B(d,_.qw().getPlayerPromise(),2)}c.player=d.yieldResult;b.initializePlayerListeners();b.unlisten(document,"yt-page-type-changed","onPageChanged");_.bf(d)})};
_.f.initializePlayerListeners=function(){this.ytPlayerListenerBehavior.listenToPlayerEvents(this.player,this.playerEvents)};
_.f.onPlayerStateChange=function(a){this.playerState=a};
_.f.onPlayerVolumeChange=function(a){this.isMuted=a.muted};
_.f.onPlayPauseButtonClick=function(){var a;return _.y(function(b){if(1==b.nextAddress)return _.B(b,_.qw().getPlayerPromise(),2);a=b.yieldResult;1!==a.getPlayerState()?a.playVideo():a.pauseVideo();_.bf(b)})};
_.f.computePlayPauseIcon=function(a){return 1!==a?"miniplayer:play-arrow":"miniplayer:pause"};
_.f.computePlayPauseLabel=function(a){return 1!==a?_.Bg("PLAYER_LABEL_PLAY"):_.Bg("PLAYER_LABEL_PAUSE")};
_.f.onMuteButtonClick=function(){var a;return _.y(function(b){if(1==b.nextAddress)return _.B(b,_.qw().getPlayerPromise(),2);a=b.yieldResult;a.isMuted()?a.unMute(!0):a.mute(!0);_.bf(b)})};
_.f.computeMuteIcon=function(a){return a?"miniplayer:volume-off":"miniplayer:volume-up"};
_.f.computeMuteLabel=function(a){return a?_.Bg("PLAYER_LABEL_UNMUTE"):_.Bg("PLAYER_LABEL_MUTE")};
_.t.Object.defineProperties(r7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-shorts-player-controls--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.player.ytd_shorts_player_controls.ytd.shorts.player.controls.css.js--\x3e<yt-icon-button label="[[computePlayPauseLabel(playerState)]]" on-click="onPlayPauseButtonClick">\n  <yt-icon icon="[[playPauseIcon]]"></yt-icon>\n</yt-icon-button>\n<yt-icon-button label="[[computeMuteLabel(isMuted)]]" on-click="onMuteButtonClick">\n  <yt-icon icon="[[muteIcon]]"></yt-icon>\n</yt-icon-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.player.ytd_shorts_player_controls.ytd.shorts.player.controls.css.js--\x3e<style>:host {-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;padding: 16px 16px 32px 16px;background-image: linear-gradient(180deg,rgba(0,0,0,0.4),transparent);} yt-icon {color: var(--yt-spec-static-overlay-icon-active-other);} /*# sourceMappingURL=ytd-shorts-player-controls.css.map*/</style>";
VPb=d}d=VPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WPb=a}a=WPb;return a}}});
var s7=r7;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],s7.prototype,"componentBehavior",void 0);_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],s7.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],s7.prototype,"player",void 0);_.S([_.N(),_.T("design:type",Object)],s7.prototype,"playerState",void 0);_.S([_.N(),_.T("design:type",Boolean)],s7.prototype,"isMuted",void 0);
_.S([_.N({computed:"computePlayPauseIcon(playerState)"}),_.T("design:type",String)],s7.prototype,"playPauseIcon",void 0);_.S([_.N({computed:"computeMuteIcon(isMuted)"}),_.T("design:type",String)],s7.prototype,"muteIcon",void 0);s7=_.S([_.Q({asyncProperties:!0,is:"ytd-shorts-player-controls"})],s7);
var XPb;
var YPb;
var t7=function(){var a=_.K.apply(this,arguments)||this;a.showPlayerControls=!1;a.autoHideJobId=0;return a};
_.q(t7,_.K);_.f=t7.prototype;_.f.attached=function(){this.isFirstReel()&&this.handlePlayerClick()};
_.f.handlePlayerClick=function(a){var b=this,c,d;if(null!=(d=(c=window).matchMedia)&&d.call(c,"(any-pointer: coarse)").matches||!a)this.showPlayerControls=!0,_.xe.cancelJob(this.autoHideJobId),this.autoHideJobId=_.Jn(_.xe,function(){b.showPlayerControls=!1},4E3)};
_.f.isFirstReel=function(){return 0===this.index};
_.f.handleMouseenter=function(){this.showPlayerControls=!0};
_.f.handleMouseleave=function(){this.showPlayerControls=!1};
_.f.updateBackgroundImage=function(){var a;if(null!=(a=this.data)&&a.thumbnail){a=_.ou({"background-image":_.Sy(this.data.thumbnail.thumbnails,Number.MAX_VALUE)||null});var b;a.toString()!==(null==(b=this.backgroundImage)?void 0:b.toString())&&(this.backgroundImage=a)}else this.backgroundImage=void 0};
_.t.Object.defineProperties(t7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-reel-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_video_renderer.ytd.reel.video.renderer.css.js--\x3e<div id="player-container" class="player-container" on-click="handlePlayerClick" on-mouseenter="handleMouseenter" on-mouseleave="handleMouseleave" style$="[[backgroundImage]]">\n  <div class="player-controls">\n    <ytd-shorts-player-controls></ytd-shorts-player-controls>\n  </div>\n</div>\n<div class="overlay">\n  <ytd-reel-player-overlay-renderer data="[[data.reelPlayerOverlayRenderer]]" is-active="[[isActive]]" vertical="">\n  </ytd-reel-player-overlay-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_video_renderer.ytd.reel.video.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;--ytd-shorts-masthead-height: 56px;--ytd-shorts-overlay-action-buttons-width: 64px;--ytd-shorts-player-ratio: 9 / 16;--ytd-shorts-player-height: calc( 100vh - var(--ytd-shorts-masthead-height) - var(--ytd-margin-6x) * 3 );--ytd-shorts-player-width: calc( var(--ytd-shorts-player-height) * var(--ytd-shorts-player-ratio) );--ytd-shorts-border-radius: 12px;--ytd-shorts-navigation-height: calc( 100vh - var(--ytd-shorts-masthead-height) - var(--ytd-margin-6x) * 2 );--ytd-shorts-min-width: 320px;position: relative;height: var(--ytd-shorts-player-height);width: var(--ytd-shorts-player-width);margin: 0 var(--ytd-margin-3x);margin-top: var(--ytd-margin-6x);min-height: 150px;min-width: var(--ytd-shorts-min-width);scroll-snap-align: start;} .player-container {height: 100%;width: 100%;border-radius: var(--ytd-shorts-border-radius);overflow: hidden;background-size: cover;-webkit-mask-image: -webkit-radial-gradient(white,black);} .overlay {position: absolute;bottom: 0;left: 0;width: var(--ytd-shorts-player-width);pointer-events: none;overflow: hidden;} @media(min-width:600px) {.overlay {width: calc(var(--ytd-shorts-player-width) + var(--ytd-shorts-overlay-action-buttons-width) + var(--ytd-margin-3x));min-width: calc(var(--ytd-shorts-min-width) + var(--ytd-shorts-overlay-action-buttons-width) + var(--ytd-margin-3x));height: 100%;}} @media(max-width:600px) {.overlay {min-width: var(--ytd-shorts-min-width);}} #player {width: initial;} .player-controls {border-radius: var(--ytd-shorts-border-radius) var(--ytd-shorts-border-radius) 0 0;height: 72px;min-width: var(--ytd-shorts-min-width);position: absolute;top: 0;width: var(--ytd-shorts-player-width);z-index: 1;} :host(:not([show-player-controls])) .player-controls:not(:focus-within) ytd-shorts-player-controls {opacity: 0;transition: opacity 0.25s cubic-bezier(0,0,0.2,1);} ytd-shorts-player-controls {transition: opacity 0.1s cubic-bezier(0.4,0,1,1);} /*# sourceMappingURL=ytd-reel-video-renderer.css.map*/</style>";
XPb=d}d=XPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YPb=a}a=YPb;return a}}});
var u7=t7;u7.prototype.updateBackgroundImage=u7.prototype.updateBackgroundImage;_.S([_.N(),_.T("design:type",Object)],u7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],u7.prototype,"index",void 0);_.S([_.N(),_.T("design:type",Boolean)],u7.prototype,"isActive",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],u7.prototype,"showPlayerControls",void 0);_.S([_.N(),_.T("design:type",Number)],u7.prototype,"autoHideJobId",void 0);
_.S([_.N(),_.T("design:type",Object)],u7.prototype,"backgroundImage",void 0);_.S([_.Ix("player-container"),_.T("design:type",HTMLElement)],u7.prototype,"playerContainer",void 0);_.S([_.P("data.thumbnail"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],u7.prototype,"updateBackgroundImage",null);u7=_.S([_.Q({asyncProperties:!0,is:"ytd-reel-video-renderer"})],u7);
var v7=function(){var a=_.K.apply(this,arguments)||this;a.isPageActive=!0;a.isPreviousPageShorts=!1;a.index=0;a.enableScrollSnap=!0;a.centerArrowButtons=_.x("kevlar_center_arrow_buttons");a.bottomArrowButtons=_.x("kevlar_arrow_buttons_bottom_web");a.splitArrowButtons=!_.x("kevlar_arrow_buttons_bottom_web")&&!_.x("kevlar_center_arrow_buttons");a.currentPlayerIndex=0;a.nextReelVe=_.oo(56921);a.prevReelVe=_.oo(56922);a.actionMap={"yt-append-reel-watch-sequence-continuation-entries-action":"processAppendReelWatchSequenceContinuationEntriesAction"};
return a};
_.q(v7,_.K);_.f=v7.prototype;_.f.isActiveReel=function(a,b){return a===b};
_.f.onKeydown=function(a){var b=_.H(a).path||[];_.p6a(b)||("ArrowUp"===a.code?(a.preventDefault(),this.handlePrevButtonClick()):"ArrowDown"===a.code?(a.preventDefault(),this.handleNextButtonClick()):"KeyM"===a.code?this.toggleMuteUnmuteVideo():("KeyK"===a.code||"Space"===a.code)&&this.togglePlayPauseVideo())};
_.f.toggleMuteUnmuteVideo=function(){this.player&&(this.player.isMuted()?this.player.unMute():this.player.mute())};
_.f.togglePlayPauseVideo=function(){this.player&&(1===this.player.getPlayerState()?this.player.pauseVideo():2===this.player.getPlayerState()&&this.player.playVideo())};
_.f.getCurrentVideo=function(){if(this.data){var a,b,c=null==(a=this.currentEndpoint)?void 0:null==(b=a.reelWatchEndpoint)?void 0:b.thumbnail,d;a=null==(d=this.data.overlay)?void 0:d.reelPlayerOverlayRenderer;var e;d=Object.assign({},this.currentEndpoint,{reelWatchEndpoint:Object.assign({},null==(e=this.currentEndpoint)?void 0:e.reelWatchEndpoint,{sequenceParams:void 0,sequenceProvider:void 0})});return{reelPlayerOverlayRenderer:a,thumbnail:c,command:d}}};
_.f.created=function(){var a=this;this.pageScrollElement=this;this.scrollToVideoThrottle=new _.wv(function(b){var c;null==(c=_.H(a.root).querySelector('ytd-reel-video-renderer[id="'+b+'"]'))||c.scrollIntoView({inline:"start",behavior:"smooth"})},500,this)};
_.f.attached=function(){if(_.x("kevlar_enable_shorts_watch_while_dialog")){var a=_.Eg().resolve(_.Ks);a.JSC$35970_rootElement=this;IPb(a)}};
_.f.detached=function(){if(_.x("kevlar_enable_shorts_watch_while_dialog")){var a=_.Eg().resolve(_.Ks);a.JSC$35970_rootElement=void 0;var b;null==(b=a.unsubscribeFromStore)||b.call(a);a.unsubscribeFromStore=void 0}};
_.f.loadPage_=function(a){this.initCsi();this.updateTitle(this.playerData);a&&(this.data=a)};
_.f.initializeIntersectionObserver=function(){var a=this,b=new IntersectionObserver(function(e){e=_.k(e);for(var h=e.next();!h.done;h=e.next())if(h=h.value,.6<h.intersectionRatio){h=Number(h.target.id);if(isNaN(h))break;if(h===a.index)break;a.loadVideo(h);_.yu("_start")&&!_.yu("r_vtc")&&_.fi("r_vtc",void 0,void 0)}},{rootMargin:"0px",
threshold:.6}),c=[].concat(_.sc(_.H(this.root).querySelectorAll("ytd-reel-video-renderer.reel-video-in-sequence")));c=_.k(c);for(var d=c.next();!d.done;d=c.next())b.observe(d.value)};
_.f.initCsi=function(){_.y3("reel_watch",["pbs","pbp","pbu","r_vtc","r_tr"]);if(_.x("web_csi_via_jspb")){var a=this.isPreviousPageShorts?2:1,b=new FPb;_.n(b,1,a);_.n(b,4,2);a=new _.Th;_.eb(a,54,b);_.ei(a)}else _.Qh({reelInfo:{transitionType:this.isPreviousPageShorts?"LATENCY_REEL_TRANSITION_TYPE_REEL_TO_REEL":"LATENCY_REEL_TRANSITION_TYPE_START",videoType:"REEL_VIDEO_TYPE_VIDEO"}})};
_.f.getPlayer=function(){this.$||this._enableProperties();return this.$.player};
_.f.onPlayerStateChange=function(a){1!==a&&this.isShortPlayable()||this.currentPlayerIndex===this.index||(this.movePlayerToVideo(this.index),this.player.setLoopVideo(!0))};
_.f.isShortPlayable=function(){if(_.x("kevlar_playable_short_killswitch"))return!0;var a;return null!=(a=this.playerData)&&a.playabilityStatus?"OK"===this.playerData.playabilityStatus.status:!1};
_.f.playerDataChanged=function(a){var b=this,c,d,e,h;return _.y(function(l){if(1==l.nextAddress){c=b.getPlayer();if(a)(null==(d=a.videoDetails)?void 0:d.videoId)!==(null==(e=c.getPlayer())?void 0:e.getVideoData().video_id)&&c.loadVideoWithPlayerResponse(a);else return l.return();if(b.player)return l.jumpTo(0);h=b;return _.B(l,c.getPlayerPromise(),3)}h.player=l.yieldResult;b.playerStateChangeListener=b.onPlayerStateChange.bind(b);b.player.addEventListener("onStateChange",b.playerStateChangeListener);
b.movePlayerToVideo(b.index);b.player.setLoopVideo(!0);b.initializeIntersectionObserver();_.gAa.resolve(b.player);_.bf(l)})};
_.f.activeChanged=function(a){_.hh.dispatch(_.Rg({type:"SET_IS_SHORTS_ACTIVE",payload:{isShortsActive:a}}));a?(this.isPageActive=!0,this.listen(document,"keydown","onKeydown"),document.body.setAttribute("no-y-overflow",""),this.getPlayer().play()):(this.isPageActive=!1,this.unlisten(document,"keydown","onKeydown"),document.body.removeAttribute("no-y-overflow"),this.currentPlayerIndex=this.index=0,this.playerData=this.player=void 0)};
_.f.graftClientVisualElements=function(a){a&&(a=_.vp(),_.SCa(a,_.Mg({response:this.reelWatchSequenceResponse})),_.ls(a,this.nextReelVe),_.ls(a,this.prevReelVe))};
_.f.setActiveIndex=function(a){_.x("kevlar_enable_shorts_watch_while_dialog")&&_.Eg().resolve(_.Ks).setActiveIndex(a)};
_.f.movePlayerToVideo=function(a){var b=_.H(this.root).querySelector('ytd-reel-video-renderer[id="'+a+'"]'),c=this.getPlayer();if(null==b?0:b.playerContainer)c.appendTo(b.playerContainer,void 0,!0),c.focusOnPlayer(),c.style.visibility="visible",_.fi("r_tr"),this.currentPlayerIndex=a};
_.f.handlePrevButtonClick=function(a){var b=this,c;return _.y(function(d){if(0===b.index)return d.return();b.gestureType="click"===(null==(c=a)?void 0:c.type)?"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK":"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS";b.scrollToVideoThrottle.fire(b.index-1);_.bf(d)})};
_.f.handleNextButtonClick=function(a){var b=this,c,d;return _.y(function(e){if(b.index===(null==(c=b.shortsProcessedSequence)?void 0:c.length))return e.return();b.gestureType="click"===(null==(d=a)?void 0:d.type)?"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK":"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS";b.scrollToVideoThrottle.fire(b.index+1);_.bf(e)})};
_.f.loadVideo=function(a){this.isShortPlayable()&&(this.getPlayer().style.visibility="hidden");var b=a>this.index,c,d,e=null==(c=this.shortsProcessedSequence)?void 0:null==(d=c[a])?void 0:d.command;this.index=a;e&&(this.gestureType||(this.gestureType=b?"INTERACTION_LOGGING_GESTURE_TYPE_SWIPE":"INTERACTION_LOGGING_GESTURE_TYPE_BACK_SWIPE"),this.ytComponentBehavior.resolveCommand(e,{form:{createScreenConfig:{clickedVisualElement:b?this.nextReelVe:this.prevReelVe,implicitGestureType:this.gestureType}}}),
this.gestureType=void 0);var h,l,m;(null==(h=this.reelWatchSequenceResponse)?0:h.continuationEndpoint)&&a===(null==(l=this.reelWatchSequenceResponse)?void 0:null==(m=l.entries)?void 0:m.length)&&this.ytComponentBehavior.resolveCommand(this.reelWatchSequenceResponse.continuationEndpoint)};
_.f.updateTitle=function(a){a=this.get("videoDetails.title",a)||"";this.fire("yt-update-title",a)};
_.f.processAppendReelWatchSequenceContinuationEntriesAction=function(a){var b=this;a=a.appendReelWatchSequenceContinuationEntriesAction;if(null==a?0:a.entries){var c;this.reelWatchSequenceResponse=Object.assign({},this.reelWatchSequenceResponse,{entries:[].concat(_.sc((null==(c=this.reelWatchSequenceResponse)?void 0:c.entries)||[]),_.sc(a.entries)),continuationEndpoint:a.continuationEndpoint})}_.xe.addLowPriorityJob(function(){b.initializeIntersectionObserver()})};
_.f.processWatchSequence=function(a){return a.map(function(b){b=b.command;var c=b.reelWatchEndpoint,d=c.thumbnail,e;return{reelPlayerOverlayRenderer:null==c?void 0:null==(e=c.overlay)?void 0:e.reelPlayerOverlayRenderer,thumbnail:d,command:b}})};
_.t.Object.defineProperties(v7.prototype,{shortsSequence:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.reelWatchSequenceResponse)&&a.entries?this.processWatchSequence(this.reelWatchSequenceResponse.entries):this.shortsSequence}},
shortsProcessedSequence:{configurable:!0,enumerable:!0,get:function(){if(this.isPageActive){var a=this.getCurrentVideo();if(!a)return this.shortsProcessedSequence;if(!this.shortsSequence)return[a];var b,c,d,e,h,l;return this.shortsProcessedSequence&&(null==(b=this.shortsProcessedSequence[1])?void 0:null==(c=b.command)?void 0:null==(d=c.reelWatchEndpoint)?void 0:d.videoId)!==(null==(e=this.shortsSequence[0])?void 0:null==(h=e.command)?void 0:null==(l=h.reelWatchEndpoint)?void 0:l.videoId)?(this.currentPlayerIndex=
this.index=0,this.scrollToVideoThrottle.fire(this.index),this.movePlayerToVideo(this.index),[a].concat(_.sc(this.shortsSequence))):0!==this.index&&this.shortsProcessedSequence?(a.thumbnail=this.shortsProcessedSequence[this.index].thumbnail,[].concat(_.sc(this.shortsProcessedSequence.slice(0,this.index)),[a],_.sc(this.shortsSequence.slice(this.index)))):[a].concat(_.sc(this.shortsSequence))}}},
isUpArrowHidden:{configurable:!0,enumerable:!0,get:function(){return!_.x("kevlar_enable_up_arrow")||!this.index}},
activeIndex:{configurable:!0,enumerable:!0,get:function(){return this.index}},
prevButtonData:{configurable:!0,enumerable:!0,get:function(){var a=this.get("overlay.reelPlayerOverlayRenderer.prevItemButton.buttonRenderer",this.data);a&&(a=Object.assign({},a,{accessibility:{label:_.Bg("PREVIOUS_VIDEO_LABEL")},icon:{iconType:"UP_ARROW"},isDisabled:a.isDisabled||!this.index}));return a}},
nextButtonData:{configurable:!0,enumerable:!0,get:function(){var a=this.get("overlay.reelPlayerOverlayRenderer.nextItemButton.buttonRenderer",this.data);a&&(a=Object.assign({},a,{accessibility:{label:_.Bg("NEXT_VIDEO_LABEL")},icon:{iconType:"DOWN_ARROW"}}));return a}}});
_.t.Object.defineProperties(v7,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===KPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-shorts--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.pages.ytd_shorts.ytd.shorts.css.js--\x3e<div id="shorts-container">\n  <ytd-player id="player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_SHORTS" disable-touch-gestures="">\n  </ytd-player>\n  <dom-repeat items="[[shortsProcessedSequence]]">\n    <template>\n      <ytd-reel-video-renderer class="reel-video-in-sequence" data="[[item]]" id$="[[index]]" index="[[index]]" is-active="[[isActiveReel(activeIndex,index)]]">\n      </ytd-reel-video-renderer>\n    </template>\n  </dom-repeat>\n</div>\n<div class="navigation-container">\n  <div class="navigation-button" id="navigation-button-up">\n    <ytd-button-renderer data="[[prevButtonData]]" on-click="handlePrevButtonClick">\n    </ytd-button-renderer>\n  </div>\n  <div class="navigation-button" id="navigation-button-down">\n    <ytd-button-renderer data="[[nextButtonData]]" on-click="handleNextButtonClick">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===JPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.pages.ytd_shorts.ytd.shorts.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;--ytd-shorts-masthead-height: 56px;height: calc(100vh - var(--ytd-shorts-masthead-height));overflow-y: scroll;scroll-snap-type: y mandatory;scroll-padding-top: var(--ytd-margin-6x);scrollbar-width: none;-ms-overflow-style: none;} :host::-webkit-scrollbar {display: none;} :host(:not([enable-scroll-snap])) {scroll-snap-type: none;} :host([center-arrow-buttons]) .navigation-container {position: fixed;right: 0;height: 100%;display: flex;flex-direction: column;justify-content: center;} :host([bottom-arrow-buttons]) .navigation-container {position: fixed;right: 0;height: calc(100vh - var(--ytd-shorts-masthead-height));display: flex;flex-direction: column;justify-content: flex-end;} :host([is-up-arrow-hidden]:not([center-arrow-buttons])) #navigation-button-up {visibility: hidden;} :host([center-arrow-buttons]) #navigation-button-up ytd-button-renderer[disabled] {color: var(--yt-spec-static-overlay-icon-disabled);pointer-events: none;} :host([center-arrow-buttons]) .navigation-button:last-child {padding-bottom: var(--ytd-margin-4x);} :host([split-arrow-buttons]) .navigation-button {position: fixed;right: 0;} .navigation-button {padding: var(--ytd-margin-2x) var(--ytd-margin-4x);} .navigation-button ytd-button-renderer {--yt-icon-button-icon-height: 24px;--yt-icon-button-icon-width: 24px;--yt-button-icon-size: 56px;--yt-button-icon-padding: 12px;background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-text-primary);border-radius: 50%;} #navigation-button-up {top: var(--ytd-shorts-masthead-height);} #navigation-button-down {bottom: 0;} @media(max-width:840px) {.navigation-button {display: none;}} /*# sourceMappingURL=ytd-shorts.css.map*/</style>";
JPb=d}d=JPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);KPb=a}a=KPb;return a}}});
var w7=v7;w7.prototype.setActiveIndex=w7.prototype.setActiveIndex;w7.prototype.graftClientVisualElements=w7.prototype.graftClientVisualElements;w7.prototype.activeChanged=w7.prototype.activeChanged;w7.prototype.playerDataChanged=w7.prototype.playerDataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],w7.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.A3.YtPageBehavior),_.T("design:type",Object)],w7.prototype,"ytPageBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],w7.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.xx),_.T("design:type",Object)],w7.prototype,"ironResizableBehavior",void 0);_.S([_.N(),_.T("design:type",Boolean)],w7.prototype,"isPageActive",void 0);_.S([_.N(),_.T("design:type",Object)],w7.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],w7.prototype,"playerData",void 0);_.S([_.N(),_.T("design:type",Object)],w7.prototype,"reelWatchSequenceResponse",void 0);
_.S([_.N(),_.T("design:type",Object)],w7.prototype,"currentEndpoint",void 0);_.S([_.N(),_.T("design:type",Boolean)],w7.prototype,"isPreviousPageShorts",void 0);_.S([_.N(),_.T("design:type",Number)],w7.prototype,"index",void 0);_.S([_.N(),_.T("design:type",Object)],w7.prototype,"player",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],w7.prototype,"enableScrollSnap",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],w7.prototype,"centerArrowButtons",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],w7.prototype,"bottomArrowButtons",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],w7.prototype,"splitArrowButtons",void 0);_.S([_.V("reelWatchSequenceResponse"),_.T("design:type",Object),_.T("design:paramtypes",[])],w7.prototype,"shortsSequence",null);_.S([_.V("data","shortsSequence","isPageActive"),_.T("design:type",Object),_.T("design:paramtypes",[])],w7.prototype,"shortsProcessedSequence",null);
_.S([_.N({reflectToAttribute:!0}),_.V("index"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],w7.prototype,"isUpArrowHidden",null);_.S([_.N(),_.V("index"),_.T("design:type",Number),_.T("design:paramtypes",[])],w7.prototype,"activeIndex",null);_.S([_.P("playerData"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype",Promise)],w7.prototype,"playerDataChanged",null);
_.S([_.Ct("active"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],w7.prototype,"activeChanged",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],w7.prototype,"graftClientVisualElements",null);_.S([_.P("index"),_.T("design:type",Function),_.T("design:paramtypes",[Number]),_.T("design:returntype")],w7.prototype,"setActiveIndex",null);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],w7.prototype,"prevButtonData",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],w7.prototype,"nextButtonData",null);w7=_.S([_.Q({asyncProperties:!0,is:"ytd-shorts"})],w7);
_.Rt(_.ana,w7);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("JzFVk");

var ZNb;
var $Nb;
var aOb;
var bOb;
var $5=function(){return _.K.apply(this,arguments)||this};
_.q($5,_.K);$5.prototype.configureRendererStamper=function(){return{"data.adMetadata.displayAdRenderer":{id:"badge",mapping:{badge:{component:"ytd-badge-supported-renderer",properties:{topStandaloneBadge:"[[data.adMetadata.displayAdRenderer.badge]]"}}}},"data.adMetadata.displayAdRenderer.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.content":{id:"content",mapping:{horizontalListRenderer:{component:"yt-horizontal-list-renderer",params:{useFloorScrolling:!0}},gridRenderer:"ytd-grid-renderer"}}}};
_.t.Object.defineProperties($5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-carousel-ad-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_carousel_ad_renderer.ytd.carousel.ad.renderer.css.js--\x3e<div id="title">\n  <div id="badge"></div>\n  <h3 id="title-text">\n    <yt-formatted-string text="[[data.adMetadata.displayAdRenderer.titleText]]">\n    </yt-formatted-string>\n  </h3>\n  <div id="menu"></div>\n</div>\n<div id="content"></div>\n<div id="footer">\n  <yt-formatted-string id="footer-string" text="[[data.adMetadata.displayAdRenderer.footerString]]" title="[[getSimpleString(data.adMetadata.displayAdRenderer.footerString)]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_carousel_ad_renderer.ytd.carousel.ad.renderer.css.js--\x3e<style>:host {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #title {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #badge {-ms-flex: none;-webkit-flex: none;flex: none;} #badge>ytd-badge-supported-renderer:not(:empty) {margin-right: 8px;} #title-text {height: 48px;color: var(--yt-spec-text-primary);-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #menu {-ms-flex: none;-webkit-flex: none;flex: none;} #content {--yt-horizontal-list-renderer-width: auto;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #footer-string {flex: 1 100%;color: var(--yt-spec-text-secondary);overflow: hidden;text-overflow: ellipsis;padding-bottom: 48px;padding-top: 32px;font-size: 1.2rem;font-weight: 500;line-height: 1.5rem;} /*# sourceMappingURL=ytd-carousel-ad-renderer.css.map*/</style>';
aOb=d}d=aOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bOb=a}a=bOb;return a}}});
var a6=$5;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],a6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],a6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],a6.prototype,"data",void 0);a6=_.S([_.Q({asyncProperties:!0,is:"ytd-carousel-ad-renderer"})],a6);
var cOb;
var dOb;
var b6,c6=function(){var a=_.K.apply(this,arguments)||this;a.enableGrayVisurl=_.x("enable_gray_visurl");return a};
_.q(c6,_.K);_.f=c6.prototype;_.f.configureRendererStamper=function(){return{"data.content.closeButton":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.content.ctaButton":{id:"call-to-action",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.dataChanged=function(){this.data&&this.data.content&&this.data.clickLocationTargets&&this.data.content.navigationEndpoint&&(this.data.adBadge||this.set("data.adBadge",b6.JSC$42435_DEFAULT_AD_BADGE_RENDERER),this.sendImpression(),this.ytSparklesClickLocationBehavior.configureClickTargets("root-container",this.data.clickLocationTargets,b6.JSC$42435_CLICK_LOCATION_ID_MAP))};
_.f.onSitelinkTap=function(a){a.stopPropagation();var b,c,d=null==a?void 0:null==(b=a.model)?void 0:null==(c=b.item)?void 0:c.onTap;d&&this.ytSparklesClickLocationBehavior.handleClick(d,a)};
_.f.onTap=function(a){var b=this.data&&this.data.content&&this.data.content.navigationEndpoint;b&&this.ytSparklesClickLocationBehavior.handleClick(b,a)};
_.f.sendImpression=function(){if(this.data&&this.data.content)for(var a=_.k(this.data.content.impressionEndpoints||[]),b=a.next();!b.done;b=a.next()){b=_.k(b.value.loggingUrls||[]);for(var c=b.next();!c.done;c=b.next())c=c.value,c.baseUrl&&_.Te(c.baseUrl)}};
_.t.Object.defineProperties(c6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-promoted-sparkles-text-search-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_promoted_sparkles_text_search_renderer.ytd.promoted.sparkles.text.search.renderer.css.js--\x3e<div id="root-container">\n  <div id="main-container">\n    <h3 id="title" aria-label$="[[data.content.title.accessibility.accessibilityData.label]]" title$="[[getSimpleString(data.content.title)]]">\n        <yt-img-shadow id="favicon" hidden="[[!data.content.favicon]]" thumbnail="[[data.content.favicon]]">\n        </yt-img-shadow>\n        [[getSimpleString(data.content.title)]]\n    </h3>\n    <yt-formatted-string id="description" ellipsis-truncate="" no-endpoints="[[noEndpoints]]" text="[[data.content.descriptionText]]">\n    </yt-formatted-string>\n    <div id="sitelinks-table">\n      <template id="sitelinks-dom-repeat" is="dom-repeat" items="[[data.content.sitelinks]]" as="item">\n        <yt-formatted-string id="sitelinks" ellipsis-truncate="" no-endpoints="[[noEndpoints]]" role="link" text="[[item.title]]" on-click="onSitelinkTap">\n        </yt-formatted-string>\n      </template>\n    </div>\n    <div id="format-container">\n      <ytd-badge-supported-renderer id="ad-badge" top-standalone-badge="[[data.adBadge]]">\n      </ytd-badge-supported-renderer>\n      <yt-formatted-string id="display-url" ellipsis-truncate="" no-endpoints="[[noEndpoints]]" text="[[data.content.websiteText]]">\n      </yt-formatted-string>\n    </div>\n  </div>\n  <div id="right-container">\n    <div id="menu"></div>\n    <div id="call-to-action"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_promoted_sparkles_text_search_renderer.ytd.promoted.sparkles.text.search.renderer.css.js--\x3e<style>:host {position: relative;display: block;} #root-container {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #main-container {padding-right: 100px;overflow: hidden;text-overflow: ellipsis;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #right-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {color: var(--yt-spec-text-primary);-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 2.6rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #favicon {vertical-align: -10%;} #description {color: var(--yt-spec-text-secondary);padding-top: 8px;margin-bottom: 8px;-webkit-line-clamp: 3;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 5.4rem;overflow: hidden;display: block;-webkit-line-clamp: 3;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} #format-container {height: 36px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #ad-badge {margin-top: auto;margin-bottom: auto;margin-right: 5px;} #display-url {margin-top: auto;margin-bottom: auto;margin-right: 4px;} :host(:not([enable-gray-visurl])) #display-url {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([enable-gray-visurl]) #display-url {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #sitelinks-table,#sitelinks-table * {display: flex;flex-wrap: wrap;white-space: wrap;overflow: hidden;text-overflow: ellipsis;min-width: 0px;max-height: 48px;} #sitelinks {padding: 16px;max-width: 250px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #sitelinks:first-child {padding-left: 0px;} #call-to-action {margin-left: auto;margin-top: auto;margin-right: calc(var(--yt-icon-width)/2);margin-bottom: 10px;} #menu {height: 2.4rem;margin-left: auto;} ytd-menu-renderer {margin-top: -11px;} @media(min-width:0) and (max-width:662px) {#main-container {padding-right: 0;}#call-to-action {display: none;}} /*# sourceMappingURL=ytd-promoted-sparkles-text-search-renderer.css.map*/</style>';
cOb=d}d=cOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dOb=a}a=dOb;return a}}});
var d6=b6=c6;b6.prototype.onTap=b6.prototype.onTap;b6.prototype.dataChanged=b6.prototype.dataChanged;d6.JSC$42435_CLICK_LOCATION_ID_MAP=new Map([["PROMOTED_SPARKLES_CLICK_LOCATION_TITLE","title"],["PROMOTED_SPARKLES_CLICK_LOCATION_DESCRIPTION","description"],["PROMOTED_SPARKLES_CLICK_LOCATION_AD_BADGE","ad-badge"],["PROMOTED_SPARKLES_CLICK_LOCATION_TEXT_AD_WEBSITE","display-url"],["PROMOTED_SPARKLES_CLICK_LOCATION_BACKGROUND","root-container"],["PROMOTED_SPARKLES_CLICK_LOCATION_SITELINK","sitelinks-table"]]);
d6.JSC$42435_DEFAULT_AD_BADGE_RENDERER={metadataBadgeRenderer:{label:_.Bg("AD_BADGE_TEXT",void 0,"Ad"),style:"BADGE_STYLE_TYPE_AD"}};_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],d6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],d6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.bWa.YtSparklesClickLocationBehavior),_.T("design:type",Object)],d6.prototype,"ytSparklesClickLocationBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],d6.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],d6.prototype,"enableGrayVisurl",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],d6.prototype,"dataChanged",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],d6.prototype,"onTap",null);
d6=b6=_.S([_.Q({is:"ytd-promoted-sparkles-text-search-renderer"})],d6);
var eOb;
var fOb;
var e6=function(){return _.K.apply(this,arguments)||this};
_.q(e6,_.K);e6.prototype.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:"ytd-menu-renderer"}}}};
e6.prototype.computeBlueBottomLink=function(a){return a};
_.t.Object.defineProperties(e6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-web-answer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_web_answer_renderer.ytd.web.answer.renderer.css.js--\x3e<div id="section-header">\n  <yt-formatted-string id="section-title" text="[[data.sectionTitle]]"></yt-formatted-string>\n  <div id="menu"></div>\n</div>\n<a class="yt-simple-endpoint" href$="[[computeHref_(data.command)]]" data="[[data.command]]">\n  <div id="content">\n    <div id="content-text">\n      <div id="content-title">\n        <yt-formatted-string id="content-title" text="[[data.contentTitle]]">\n        </yt-formatted-string>\n        <yt-icon class="external-link-icon" icon="yt-icons:open_in_new"></yt-icon>\n      </div>\n      <yt-formatted-string id="body-text" text="[[data.bodyText]]"></yt-formatted-string>\n      <div id="source-group">\n        <yt-formatted-string text="[[data.sourceName]]"></yt-formatted-string>\n        <div id="separator" hidden="[[!data.publishedDate]]">\u2022</div>\n        <yt-formatted-string text="[[data.publishedDate]]"></yt-formatted-string>\n      </div>\n    </div>\n    <yt-img-shadow id="answer-image" disable-upgrade$="[[!data.image]]" hidden="[[!data.image]]" thumbnail="[[data.image]]" width="100">\n    </yt-img-shadow>\n  </div>\n</a>\n<a class="yt-simple-endpoint" hidden="[[!data.bottomLink]]" href$="[[computeHref_(data.bottomLinkCommand)]]" data="[[data.bottomLinkCommand]]">\n  <div id="bottom-section">\n    <yt-icon id="bottom-icon" icon="[[bottomIcon]]"></yt-icon>\n    <yt-formatted-string id="bottom-link" text="[[data.bottomLink]]"></yt-formatted-string>\n    <yt-icon class="external-link-icon" icon="yt-icons:open_in_new"></yt-icon>\n  </div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_web_answer_renderer.ytd.web.answer.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);display: inline-block;background-color: var(--yt-spec-general-background-b);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host(:not(:hover)) ytd-menu-renderer:not([menu-active]):not(:focus-within) {opacity: 0;} #section-header {background-color: var(--yt-spec-general-background-c);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #section-title {color: var(--yt-spec-text-secondary);padding: 12px 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #content {margin: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #content-title {color: var(--yt-spec-call-to-action);padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .external-link-icon {width: 12px;height: 12px;margin-bottom: 2px;} #content-text {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #body-text {color: var(--yt-spec-text-primary);} #answer-image {width: 90px;height: 90px;padding-left: 16px;} #source-group {padding-top: 4px;color: var(--yt-spec-text-secondary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #separator {margin: 0 4px;} #bottom-section {color: var(--yt-spec-text-secondary);border-top: 1px solid var(--yt-spec-10-percent-layer);margin: 0 16px 12px;padding-top: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #bottom-icon {padding-right: 4px;margin-bottom: 2px;width: 16px;height: 16px;} #bottom-section .external-link-icon {margin-left: 4px;} :host([enable-blue-bottom-link]) #bottom-section {color: var(--yt-spec-call-to-action);} /*# sourceMappingURL=ytd-web-answer-renderer.css.map*/</style>';
eOb=d}d=eOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fOb=a}a=fOb;return a}}});
var f6=e6;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],f6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],f6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],f6.prototype,"data",void 0);_.S([_.N({computed:"computeIcon_(data.bottomIcon)"}),_.T("design:type",String)],f6.prototype,"bottomIcon",void 0);
_.S([_.N({computed:"computeBlueBottomLink(data.blueBottomLink)",reflectToAttribute:!0}),_.T("design:type",Boolean)],f6.prototype,"enableBlueBottomLink",void 0);f6=_.S([_.Q({asyncProperties:!0,is:"ytd-web-answer-renderer"})],f6);
var gOb=function(){return _.K.apply(this,arguments)||this};
_.q(gOb,_.K);var hOb=gOb;hOb=_.S([_.Q({asyncProperties:!0,is:"ytd-search-items"})],hOb);
var iOb;
var jOb;
var g6=function(){return _.K.apply(this,arguments)||this};
_.q(g6,_.K);g6.prototype.configureRendererStamper=function(){return{"data.pages":{id:"pages",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(g6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-page-continuation--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.continuations.ytd_page_continuation.ytd.page.continuation.css.js--\x3e<div id="pages"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===iOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.continuations.ytd_page_continuation.ytd.page.continuation.css.js--\x3e<style>:host {--ytd-paper-button-min-width: 0;display: inline-block;} ytd-button-renderer {margin-right: 4px;} /*# sourceMappingURL=ytd-page-continuation.css.map*/</style>";iOb=d}d=iOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
jOb=a}a=jOb;return a}}});
var h6=g6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],h6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],h6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],h6.prototype,"data",void 0);h6=_.S([_.Q({asyncProperties:!0,is:"ytd-page-continuation"})],h6);
var kOb;
var lOb;
var mOb;
var nOb;
var oOb=function(){return _.K.apply(this,arguments)||this};
_.q(oOb,_.K);
_.t.Object.defineProperties(oOb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-album-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_album_list_renderer.ytd.watch.card.album.list.renderer.css.js--\x3e<template is="dom-repeat" as="album" items="[[data.albums]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(album.navigationEndpoint)]]" data="[[album.navigationEndpoint]]">\n    <div class="album-row">\n      <span class="album-image">\n        <yt-img-shadow height="50" thumbnail="[[album.thumbnail]]" width="50"></yt-img-shadow>\n      </span>\n      <span class="album-title">\n        <yt-formatted-string text="[[album.title]]"></yt-formatted-string>\n      </span>\n    </div>\n  </a>\n</template>\n<template is="dom-if" if="[[data.viewAllEndpoint]]">\n  <a id="view-all-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.viewAllEndpoint)]]" data="[[data.viewAllEndpoint]]">\n    <div class="album-row">\n      <yt-formatted-string text="[[data.viewAllText]]" class="album-title">\n      </yt-formatted-string>\n    </div>\n  </a>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_album_list_renderer.ytd.watch.card.album.list.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .album-title {padding-left: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .album-row {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #view-all-endpoint.yt-simple-endpoint {width: 100%;} a.yt-simple-endpoint {display: block;} /*# sourceMappingURL=ytd-watch-card-album-list-renderer.css.map*/</style>';
mOb=d}d=mOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nOb=a}a=nOb;return a}}});
var i6=oOb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],i6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],i6.prototype,"data",void 0);i6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-album-list-renderer"})],i6);
var pOb;
var qOb;
var j6=function(){return _.K.apply(this,arguments)||this};
_.q(j6,_.K);j6.prototype.onLeftThumbnailChanged=function(){this.data&&this.data.leftThumbnail&&(this.sectionLeft.style.backgroundImage="url("+_.nu(this.data.leftThumbnail.thumbnails,216)+")")};
_.t.Object.defineProperties(j6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-collage-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_collage_renderer.ytd.watch.card.collage.renderer.css.js--\x3e<a id="img-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]"><div id="collage"><div id="section-left"></div><div id="section-right"><yt-img-shadow id="top-right" height="105" thumbnail="[[data.topRightThumbnail]]" width="167"></yt-img-shadow><yt-img-shadow height="105" thumbnail="[[data.bottomRightThumbnail]]" width="167"></yt-img-shadow></div></div><tp-yt-paper-button id="overlay-button" raised="" tabindex="-1"><yt-icon id="overlay-icon" icon="yt-icons:play_all"></yt-icon><yt-formatted-string id="overlay-text" text="[[data.label]]"></yt-formatted-string></tp-yt-paper-button></a>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_collage_renderer.ytd.watch.card.collage.renderer.css.js--\x3e<style>:host {display: inline-block;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} #collage {display: -ms-flexbox;display: -webkit-flex;display: flex;} #section-left {width: 214px;height: 214px;background-position: center center;background-repeat: no-repeat;background-size: cover;overflow: hidden;margin-right: 4px;} #section-right {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #top-right {margin-bottom: 4px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #img-endpoint.yt-simple-endpoint {position: relative;} #img-endpoint #overlay-button {position: absolute;bottom: 16px;left: 16px;color: var(--yt-spec-static-brand-white);background: var(--yt-spec-brand-button-background);} #overlay-button {margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #overlay-icon {height: 20px;width: 20px;margin-right: 4px;} #overlay-text {padding: 0 12px 0 4px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} /*# sourceMappingURL=ytd-watch-card-collage-renderer.css.map*/</style>';
pOb=d}d=pOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qOb=a}a=qOb;return a}}});
var k6=j6;k6.prototype.onLeftThumbnailChanged=k6.prototype.onLeftThumbnailChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],k6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],k6.prototype,"data",void 0);_.S([_.Z("#section-left"),_.T("design:type",HTMLElement)],k6.prototype,"sectionLeft",void 0);_.S([_.P("data.leftThumbnail"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],k6.prototype,"onLeftThumbnailChanged",null);
k6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-collage-renderer"})],k6);
var rOb;
var sOb;
var l6=function(){var a=_.K.apply(this,arguments)||this;a.crop=!1;return a};
_.q(l6,_.K);l6.prototype.computeStyle=function(a){if(a&&(a=_.Sy(a.thumbnails,385)))return _.ou({"background-image":a})};
_.t.Object.defineProperties(l6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-single-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_single_image_renderer.ytd.watch.card.single.image.renderer.css.js--\x3e<a id="img-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n<template is="dom-if" if="[[!crop]]">\n  <yt-img-shadow id="image" thumbnail="[[data.thumbnail]]" width="385"></yt-img-shadow>\n</template>\n<template is="dom-if" if="[[crop]]">\n  <div id="center-cropped" style$="[[computeStyle(data.thumbnail)]]">\n  </div>\n</template>\n<tp-yt-paper-button id="overlay-button" noink="" raised="">\n  <div id="container">\n    <yt-icon id="overlay-icon" icon="yt-icons:play_all"></yt-icon>\n    <yt-formatted-string id="overlay-text" text="[[data.label]]">\n    </yt-formatted-string>\n  </div>\n</tp-yt-paper-button>\n    </a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_single_image_renderer.ytd.watch.card.single.image.renderer.css.js--\x3e<style>:host {display: block;} tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} #image {min-height: 210px;} #center-cropped {width: 385px;height: 217px;background-position: center center;background-repeat: no-repeat;background-size: cover;overflow: hidden;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #img-endpoint.yt-simple-endpoint {position: relative;} #img-endpoint #overlay-button {position: absolute;bottom: 16px;left: 16px;color: var(--yt-spec-static-brand-white);background: var(--yt-spec-brand-button-background);} #overlay-icon {height: 20px;width: 20px;} #overlay-text {padding: 0 12px 0 4px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-watch-card-single-image-renderer.css.map*/</style>';
rOb=d}d=rOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sOb=a}a=sOb;return a}}});
var m6=l6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],m6.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],m6.prototype,"crop",void 0);m6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-single-image-renderer"})],m6);
var tOb;
var uOb;
var vOb=function(){return _.K.apply(this,arguments)||this};
_.q(vOb,_.K);
_.t.Object.defineProperties(vOb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-video-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_video_list_renderer.ytd.watch.card.video.list.renderer.css.js--\x3e<template is="dom-repeat" as="video" items="[[data.videos]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(video.navigationEndpoint)]]" data="[[video.navigationEndpoint]]">\n    <div class="video-row">\n      <template is="dom-if" if="[[video.index]]">\n        <yt-formatted-string class="video-index" text="[[video.index]]"></yt-formatted-string>\n      </template>\n      <yt-formatted-string class="video-title" text="[[video.title]]"></yt-formatted-string>\n      <span id="spacer"></span>\n      <yt-formatted-string class="video-duration" text="[[video.duration]]">\n      </yt-formatted-string>\n    </div>\n  </a>\n</template>\n<template is="dom-if" if="[[data.viewAllEndpoint]]">\n  <a id="view-all-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.viewAllEndpoint)]]" data="[[data.viewAllEndpoint]]">\n    <div class="video-row">\n      <yt-formatted-string class="video-title" text="[[data.viewAllText]]">\n      </yt-formatted-string>\n    </div>\n  </a>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_video_list_renderer.ytd.watch.card.video.list.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .video-row {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .video-index {padding-right: 8px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .video-duration {padding-left: 16px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #view-all-endpoint.yt-simple-endpoint {width: 100%;} a.yt-simple-endpoint {display: block;} #spacer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-watch-card-video-list-renderer.css.map*/</style>';
tOb=d}d=tOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uOb=a}a=uOb;return a}}});
var n6=vOb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],n6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],n6.prototype,"data",void 0);n6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-video-list-renderer"})],n6);
var wOb;
var xOb;
var o6=function(){var a=_.K.apply(this,arguments)||this;a.badges=null;a.standaloneBadge=null;a.selected=0;a.crop=!1;return a};
_.q(o6,_.K);o6.prototype.shouldScrollTabs=function(a){return 2<a.length};
o6.prototype.onPageSelect=function(){var a=_.Eg().resolve(_.Cg(_.Fo));a&&a.markDirty()};
_.t.Object.defineProperties(o6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-generic-watch-card--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_generic_watch_card.ytd.generic.watch.card.css.js--\x3e<div id="watch-card-header"><a class="yt-simple-endpoint" href$="[[computeHref_(navigationEndpoint)]]" data="[[navigationEndpoint]]"><h2><yt-formatted-string id="watch-card-title" text="[[titleText]]"></yt-formatted-string></h2></a><div id="subtitle-row"><ytd-badge-supported-renderer badges="[[badges]]" disable-upgrade$="[[!badges]]" hidden="[[!badges]]"></ytd-badge-supported-renderer><ul id="watch-card-labels"><template is="dom-repeat" as="label" items="[[labels]]"><li><yt-formatted-string text="[[label]]"></yt-formatted-string></li></template></ul></div></div><ytd-watch-card-collage-renderer data="[[callToAction.watchCardCollageRenderer]]" disable-upgrade$="[[!callToAction.watchCardCollageRenderer]]" hidden="[[!callToAction.watchCardCollageRenderer]]"></ytd-watch-card-collage-renderer><ytd-watch-card-single-image-renderer crop="[[crop]]" data="[[callToAction.watchCardSingleImageRenderer]]" disable-upgrade$="[[!callToAction.watchCardSingleImageRenderer]]" hidden="[[!callToAction.watchCardSingleImageRenderer]]"></ytd-watch-card-single-image-renderer><tp-yt-paper-tabs id="tabs" noink="" scrollable="[[shouldScrollTabs(lists)]]" selected="{{selected}}"><template is="dom-repeat" as="list" items="[[lists]]"><tp-yt-paper-tab><yt-formatted-string id="tab-title" disable-upgrade$="[[!list.watchCardVideoListRenderer]]" hidden="[[!list.watchCardVideoListRenderer]]" text="[[list.watchCardVideoListRenderer.title]]"></yt-formatted-string><yt-formatted-string disable-upgrade$="[[!list.watchCardAlbumListRenderer]]" hidden="[[!list.watchCardAlbumListRenderer]]" text="[[list.watchCardAlbumListRenderer.title]]"></yt-formatted-string></tp-yt-paper-tab></template></tp-yt-paper-tabs><iron-pages selected="{{selected}}" on-iron-select="onPageSelect"><template is="dom-repeat" as="list" items="[[lists]]"><div><ytd-watch-card-video-list-renderer data="[[list.watchCardVideoListRenderer]]" disable-upgrade$="[[!list.watchCardVideoListRenderer]]" hidden="[[!list.watchCardVideoListRenderer]]"></ytd-watch-card-video-list-renderer><ytd-watch-card-album-list-renderer data="[[list.watchCardAlbumListRenderer]]" disable-upgrade$="[[!list.watchCardAlbumListRenderer]]" hidden="[[!list.watchCardAlbumListRenderer]]"></ytd-watch-card-album-list-renderer></div></template></iron-pages><div id="related"><h3 id="related-header"><yt-formatted-string text="[[relatedData.title]]"></yt-formatted-string></h3><div id="related-items"><template is="dom-repeat" as="entity" items="[[relatedData.entities]]"><a class="yt-simple-endpoint" href$="[[computeHref_(entity.navigationEndpoint)]]" data="[[entity.navigationEndpoint]]"><div class="related-entity"><yt-img-shadow class="related-img" height="40" thumbnail="[[entity.thumbnail]]" width="40"></yt-img-shadow><yt-formatted-string class="related-entity-title" text="[[entity.title]]"></yt-formatted-string></div></a></template></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_generic_watch_card.ytd.generic.watch.card.css.js--\x3e<style>:host {display: block;max-width: 385px;} #watch-card-title {color: var(--yt-spec-static-brand-white);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #watch-card-header {background: var(--yt-spec-brand-button-background);color: var(--yt-spec-static-brand-white);padding: 16px;} #watch-card-labels {display: inline-block;list-style: none;margin: 0;padding: 0;color: var(--yt-spec-static-brand-white);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([header-style=WATCH_CARD_HEADER_STYLE_TYPE_ALBUM]) #watch-card-header {background: var(--yt-spec-brand-background-solid);border: 1px solid var(--yt-spec-10-percent-layer);} :host([header-style=WATCH_CARD_HEADER_STYLE_TYPE_ALBUM]) #watch-card-title,:host([header-style=WATCH_CARD_HEADER_STYLE_TYPE_ALBUM]) #watch-card-labels {color: var(--yt-spec-text-primary);} #watch-card-labels li {display: inline;} #img-endpoint {position: relative;} #img-endpoint #overlay-button {position: absolute;bottom: 16px;left: 16px;color: var(--yt-spec-static-brand-white);background: var(--yt-spec-brand-button-background);} #overlay-button {margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #overlay-icon {height: 20px;width: 20px;margin-right: 4px;} #overlay-text {padding: 0 12px 0 4px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} tp-yt-paper-tabs {--paper-tabs-selection-bar-color: var(--yt-spec-brand-link-text);color: var(--yt-spec-text-secondary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);height: 40px;padding-top: 8px;} tp-yt-paper-tab {--paper-tab-ink: var(--yt-spec-brand-link-text);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} tp-yt-paper-tab.iron-selected {color: var(--yt-spec-brand-link-text);} #tab-title {margin-top: 1px;} #related {color: var(--yt-spec-text-primary);padding: 32px 0 0 16px;} #related-header {margin: 0;padding-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #related-items {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .related-entity {padding-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .related-img {margin-right: 8px;height: 40px;width: 40px;border-radius: 50%;background-color: transparent;overflow: hidden;} .related-entity-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;color: var(--yt-endpoint-color,var(--yt-spec-text-secondary));} ytd-badge-supported-renderer {padding-right: 8px;} #subtitle-row {padding-top: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-generic-watch-card.css.map*/</style>';
wOb=d}d=wOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xOb=a}a=xOb;return a}}});
var p6=o6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],p6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],p6.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],p6.prototype,"titleText",void 0);_.S([_.N(),_.T("design:type",Object)],p6.prototype,"navigationEndpoint",void 0);_.S([_.N(),_.T("design:type",Array)],p6.prototype,"labels",void 0);_.S([_.N(),_.T("design:type",Object)],p6.prototype,"badges",void 0);
_.S([_.N(),_.T("design:type",Object)],p6.prototype,"standaloneBadge",void 0);_.S([_.N(),_.T("design:type",Object)],p6.prototype,"callToAction",void 0);_.S([_.N(),_.T("design:type",Object)],p6.prototype,"lists",void 0);_.S([_.N(),_.T("design:type",Object)],p6.prototype,"relatedData",void 0);_.S([_.N(),_.T("design:type",Object)],p6.prototype,"selected",void 0);_.S([_.N(),_.T("design:type",Boolean)],p6.prototype,"crop",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],p6.prototype,"headerStyle",void 0);p6=_.S([_.Q({asyncProperties:!0,is:"ytd-generic-watch-card"})],p6);
var q6=function(){var a=_.K.apply(this,arguments)||this;a.selected=0;return a};
_.q(q6,_.K);q6.prototype.dataChanged=function(){this.selected=0};
_.t.Object.defineProperties(q6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-artist-watch-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_artist_watch_card_renderer.ytd.artist.watch.card.renderer.css.js--\x3e<ytd-generic-watch-card call-to-action="[[data.callToAction]]" crop="" labels="[[data.labels]]" lists="[[data.lists]]" navigation-endpoint="[[data.navigationEndpoint]]" related-data="[[data.relatedData]]" selected="[[selected]]" title-text="[[data.title]]">\n</ytd-generic-watch-card>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_artist_watch_card_renderer.ytd.artist.watch.card.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=ytd-artist-watch-card-renderer.css.map*/</style>";kOb=d}d=kOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
lOb=a}a=lOb;return a}}});
var r6=q6;r6.prototype.dataChanged=r6.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],r6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],r6.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],r6.prototype,"selected",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],r6.prototype,"dataChanged",null);
r6=_.S([_.Q({asyncProperties:!0,is:"ytd-artist-watch-card-renderer"})],r6);
var yOb;
var zOb;
var AOb=function(){return _.K.apply(this,arguments)||this};
_.q(AOb,_.K);
_.t.Object.defineProperties(AOb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-show-watch-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_show_watch_card_renderer.ytd.show.watch.card.renderer.css.js--\x3e<ytd-generic-watch-card badges="[[data.badges]]" call-to-action="[[data.callToAction]]" labels="[[data.labels]]" lists="[[data.lists]]" navigation-endpoint="[[data.navigationEndpoint]]" related-data="[[data.relatedData]]" standalone-badge="[[data.standaloneBadge]]" title-text="[[data.title]]">\n</ytd-generic-watch-card>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_show_watch_card_renderer.ytd.show.watch.card.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=ytd-show-watch-card-renderer.css.map*/</style>";yOb=d}d=yOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zOb=a}a=zOb;return a}}});
var s6=AOb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],s6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],s6.prototype,"data",void 0);s6=_.S([_.Q({asyncProperties:!0,is:"ytd-show-watch-card-renderer"})],s6);
var BOb;
var COb;
var DOb;
var EOb;
var FOb;
var GOb;
var HOb=function(){return _.K.apply(this,arguments)||this};
_.q(HOb,_.K);
_.t.Object.defineProperties(HOb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===GOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-one-vs-one-event--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_watch_card_one_vs_one_event.ytd.watch.card.one.vs.one.event.css.js--\x3e<div class="team-row">\n  <span>[[getSimpleString(data.homeName)]]</span>\n  <span>[[getSimpleString(data.homeParticipantResult)]]</span>\n</div>\n<div class="team-row">\n  <span>[[getSimpleString(data.awayName)]]</span>\n  <span>[[getSimpleString(data.awayParticipantResult)]]</span>\n</div>\n<div class="main-event event-description">[[getSimpleString(data.eventDescription)]]</div>\n<div class="event-description">[[getSimpleString(data.additionalEventDescription)]]</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_watch_card_one_vs_one_event.ytd.watch.card.one.vs.one.event.css.js--\x3e<style>:host {-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .team-row {display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(.compact) .team-row {margin-bottom: 4px;} :host(.hero) .team-row {margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .event-description {font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} :host(.compact) .main-event {margin-bottom: 0;} :host(.hero) .main-event {margin-bottom: 4px;} /*# sourceMappingURL=ytd-watch-card-one-vs-one-event.css.map*/</style>';
FOb=d}d=FOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);GOb=a}a=GOb;return a}}});
var t6=HOb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],t6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],t6.prototype,"data",void 0);t6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-one-vs-one-event"})],t6);
var IOb=function(){return _.K.apply(this,arguments)||this};
_.q(IOb,_.K);
_.t.Object.defineProperties(IOb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===EOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-hero-one-vs-one-event-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_hero_one_vs_one_event_renderer.ytd.watch.card.hero.one.vs.one.event.renderer.css.js--\x3e<a id="wc-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n<ytd-thumbnail data="[[data]]" width="386"></ytd-thumbnail>\n\n<div id="bottom-fade">\n  <ytd-watch-card-one-vs-one-event class="hero" data="[[data.oneVsOneEvent]]">\n  </ytd-watch-card-one-vs-one-event>\n</div>\n    </a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_hero_one_vs_one_event_renderer.ytd.watch.card.hero.one.vs.one.event.renderer.css.js--\x3e<style>:host {display: inline-block;} ytd-thumbnail {height: 216px;width: 386px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #wc-endpoint.yt-simple-endpoint {position: relative;} #bottom-fade {background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%);bottom: 0;box-sizing: border-box;color: var(--yt-spec-static-brand-white);height: 160px;padding: 64px 16px 16px 16px;position: absolute;width: 100%;} /*# sourceMappingURL=ytd-watch-card-hero-one-vs-one-event-renderer.css.map*/</style>";
DOb=d}d=DOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);EOb=a}a=EOb;return a}}});
var u6=IOb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],u6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],u6.prototype,"data",void 0);u6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-hero-one-vs-one-event-renderer"})],u6);
var JOb;
var KOb;
var LOb=function(){return _.K.apply(this,arguments)||this};
_.q(LOb,_.K);
_.t.Object.defineProperties(LOb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===KOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-banner-and-box-hero-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_banner_and_box_hero_image_renderer.ytd.banner.and.box.hero.image.renderer.css.js--\x3e<yt-img-shadow id="banner" thumbnail="[[data.banner]]" width="386"></yt-img-shadow><svg id="bg" viewBox="0 0 1300 304" preserveAspectRatio="xMaxYMid slice"><path opacity="0.5" d="M 0,304 V 0 H 963 L 1439,304 Z"></path><path opacity="0.5" d="M 0,0 l 0,304 580,0 L 1055,0 0,0 Z"></path><path opacity="0.9" d="M 0,304 V 0 H 780 L 1247,304 Z"></path></svg><yt-img-shadow id="box" height="184" thumbnail="[[data.box]]" width="131"></yt-img-shadow>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===JOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_banner_and_box_hero_image_renderer.ytd.banner.and.box.hero.image.renderer.css.js--\x3e<style>:host {display: block;max-width: 386px;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;height: 216px;width: 386px;} #banner {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} #bg {position: absolute;width: 100%;height: 100%;fill: var(--yt-spec-general-background-a);} #box {position: relative;left: 16px;top: 16px;} /*# sourceMappingURL=ytd-banner-and-box-hero-image-renderer.css.map*/</style>";
JOb=d}d=JOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);KOb=a}a=KOb;return a}}});
var v6=LOb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],v6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],v6.prototype,"data",void 0);v6=_.S([_.Q({asyncProperties:!0,is:"ytd-banner-and-box-hero-image-renderer"})],v6);
var MOb;
var NOb;
var w6=function(){return _.K.apply(this,arguments)||this};
_.q(w6,_.K);_.t.Object.defineProperties(w6.prototype,{buttonColor:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.style?this.data.style.replace("CALL_TO_ACTION_BUTTON_RENDERER_STYLE_",""):"RED"}}});
_.t.Object.defineProperties(w6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-call-to-action-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_call_to_action_button_renderer.ytd.call.to.action.button.renderer.css.js--\x3e<tp-yt-paper-button id="overlay-button" raised="" tabindex="-1">\n  <yt-icon id="overlay-icon" icon="[[data.icon.iconType]]"></yt-icon>\n  <span id="overlay-text">[[getSimpleString(data.label)]]</span>\n</tp-yt-paper-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_call_to_action_button_renderer.ytd.call.to.action.button.renderer.css.js--\x3e<style>:host {display: inline-block;} :host([button-color=RED]) #overlay-button {background: var(--yt-spec-brand-button-background);} :host([button-color=OPAQUE_BLACK]) #overlay-button {background: var(--yt-spec-static-overlay-background-medium);} #overlay-button {color: var(--yt-spec-static-overlay-text-primary);margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #overlay-icon {height: 20px;width: 20px;margin-right: 4px;} #overlay-text {padding: 0 12px 0 4px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} /*# sourceMappingURL=ytd-call-to-action-button-renderer.css.map*/</style>';
MOb=d}d=MOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NOb=a}a=NOb;return a}}});
var x6=w6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],x6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],x6.prototype,"data",void 0);_.S([_.N({type:String,reflectToAttribute:!0}),_.V("data.style"),_.T("design:type",Object),_.T("design:paramtypes",[])],x6.prototype,"buttonColor",null);x6=_.S([_.Q({asyncProperties:!0,is:"ytd-call-to-action-button-renderer"})],x6);
var OOb;
var POb;
var y6=function(){return _.K.apply(this,arguments)||this};
_.q(y6,_.K);y6.prototype.onLeftThumbnailChanged=function(){this.data&&this.data.leftThumbnail&&(this.$["section-left"].style.backgroundImage="url("+_.nu(this.data.leftThumbnail.thumbnails,216)+")")};
_.t.Object.defineProperties(y6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===POb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-collage-hero-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_collage_hero_image_renderer.ytd.collage.hero.image.renderer.css.js--\x3e<div id="collage"><div id="section-left"></div><div id="section-right"><yt-img-shadow id="top-right" height="105" thumbnail="[[data.topRightThumbnail]]" width="167"></yt-img-shadow><yt-img-shadow height="105" thumbnail="[[data.bottomRightThumbnail]]" width="167"></yt-img-shadow></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_collage_hero_image_renderer.ytd.collage.hero.image.renderer.css.js--\x3e<style>:host {display: inline-block;} #collage {display: -ms-flexbox;display: -webkit-flex;display: flex;} #section-left {width: 214px;height: 214px;background-position: center center;background-repeat: no-repeat;background-size: cover;overflow: hidden;margin-right: 4px;} #section-right {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #top-right {margin-bottom: 4px;} /*# sourceMappingURL=ytd-collage-hero-image-renderer.css.map*/</style>";
OOb=d}d=OOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);POb=a}a=POb;return a}}});
var z6=y6;z6.prototype.onLeftThumbnailChanged=z6.prototype.onLeftThumbnailChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],z6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],z6.prototype,"data",void 0);_.S([_.P("data.leftThumbnail"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],z6.prototype,"onLeftThumbnailChanged",null);z6=_.S([_.Q({asyncProperties:!0,is:"ytd-collage-hero-image-renderer"})],z6);
var QOb;
var ROb;
var A6=function(){return _.K.apply(this,arguments)||this};
_.q(A6,_.K);A6.prototype.computeStyle=function(a){return a};
_.t.Object.defineProperties(A6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ROb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-single-hero-image-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_single_hero_image_renderer.ytd.single.hero.image.renderer.css.js--\x3e<yt-img-shadow id="image" thumbnail="[[data.thumbnail]]" width="386"></yt-img-shadow>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_single_hero_image_renderer.ytd.single.hero.image.renderer.css.js--\x3e<style>:host {display: block;max-width: 386px;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;height: 216px;width: 386px;} :host([component-style=SINGLE_HERO_IMAGE_STYLE_SQUARE]) {height: 386px;width: 386px;} #image {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} /*# sourceMappingURL=ytd-single-hero-image-renderer.css.map*/</style>";
QOb=d}d=QOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ROb=a}a=ROb;return a}}});
var B6=A6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],B6.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.style)"}),_.T("design:type",String)],B6.prototype,"componentStyle",void 0);B6=_.S([_.Q({asyncProperties:!0,is:"ytd-single-hero-image-renderer"})],B6);
var SOb;
var TOb;
var C6=function(){return _.K.apply(this,arguments)||this};
_.q(C6,_.K);_.f=C6.prototype;
_.f.configureRendererStamper=function(){return{"data.heroImage":{id:"hero-image",mapping:{bannerAndBoxHeroImageRenderer:"ytd-banner-and-box-hero-image-renderer",singleHeroImageRenderer:"ytd-single-hero-image-renderer",collageHeroImageRenderer:"ytd-collage-hero-image-renderer"}},"data.callToActionButton":{id:"call-to-action-button",mapping:{callToActionButtonRenderer:"ytd-call-to-action-button-renderer"}},"data.reminderButton":{id:"reminder-button",mapping:{toggleButtonRenderer:"ytd-toggle-button-renderer",upcomingEventReminderButtonRenderer:"ytd-upcoming-event-reminder-button-renderer",
buttonRenderer:"ytd-button-renderer"}},"data.thumbnailOverlays":{id:"overlays",mapping:{thumbnailOverlayPlaybackStatusRenderer:"ytd-thumbnail-overlay-playback-status-renderer",thumbnailOverlayHoverTextRenderer:"ytd-thumbnail-overlay-hover-text-renderer",thumbnailOverlayResumePlaybackRenderer:"ytd-thumbnail-overlay-resume-playback-renderer",thumbnailOverlaySidePanelRenderer:{component:"ytd-thumbnail-overlay-side-panel-renderer",properties:{width:"[[thumbnailOverlaySidePanelWidth_]]",bottomPanel:"[[bottomSidePanel]]"}},
thumbnailOverlayTimeStatusRenderer:"ytd-thumbnail-overlay-time-status-renderer",thumbnailOverlayToggleButtonRenderer:{component:"ytd-thumbnail-overlay-toggle-button-renderer",properties:{disableTooltips:"[[disableTooltips]]"}}},initialRenderPriority:_.x("defer_overlays")?0:void 0,waitForSignal:"eocs"}}};
_.f.computeSubtitle=function(a){if(this.data){var b;if(this.data.upcomingEventData){a=_.qi(a.subtitle);var c=Number(this.data.upcomingEventData.startTime);isNaN(c)||(b=_.Mu(_.Pv(a,c)))}else b=a.subtitle;return b}};
_.f.onHeroTap=function(a){a.preventDefault();var b=this.data&&this.data.navigationEndpoint;b&&!_.Hx(_.H(a).path||[],this,["A".toString(),"BUTTON".toString()])&&this.fire("yt-navigate",{endpoint:b})};
_.f.computeHeroTabIndex=function(a){return a&&a.simpleText?-1:0};
_.f.computeHeroRole=function(a){return a&&a.simpleText?"":"link"};
_.f.computeIsReminderButtonPresent=function(a){return!(!a||!a.reminderButton)};
_.f.computeHideBottomItems=function(a){return!(this.computeIsReminderButtonPresent(a)||a.subtitle)};
_.f.dataChanged=function(){var a=this.get("data.buttons.buttonRenderer.serviceEndpoint"),b,c;(null==a?0:null==(b=a.commandMetadata)?0:null==(c=b.webHandleServiceEndpointExtension)?0:c.fireAutomatically)&&this.ytComponentBehavior.resolveCommand(a)};
_.t.Object.defineProperties(C6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-hero-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_hero_video_renderer.ytd.watch.card.hero.video.renderer.css.js--\x3e<div id="watch-card-endpoint" class="yt-simple-endpoint" on-tap="onHeroTap" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" tabindex$="[[computeHeroTabIndex(data.title)]]" role$="[[computeHeroRole(data.title)]]">\n  <ytd-thumbnail data="[[data]]" hidden="[[!data.thumbnail]]" width="386"></ytd-thumbnail>\n  <div id="hero-image"></div>\n  <div class="title-container" hidden="[[!data.title]]">\n    <div class="title-fade">\n      <a id="watch-card-title" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n        <yt-formatted-string id="watch-card-title" text="[[data.title]]">\n        </yt-formatted-string>\n      </a>\n      <div id="bottom-items" hidden="[[hideBottomItems]]">\n        <yt-formatted-string id="watch-card-subtitle" text="[[subtitle]]">\n        </yt-formatted-string>\n        <div id="reminder-button"></div>\n      </div>\n    </div>\n  </div>\n  <div id="call-to-action-button"></div>\n  <div id="overlays"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_hero_video_renderer.ytd.watch.card.hero.video.renderer.css.js--\x3e<style>:host {display: block;position: relative;-ms-flex: none;-webkit-flex: none;flex: none;} ytd-thumbnail-overlay-hover-text-renderer {opacity: 1;} #length {position: absolute;bottom: 0;right: 0;margin: 4px;color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-static-overlay-background-heavy);padding: 3px 4px;height: 12px;border-radius: 2px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);letter-spacing: var(--yt-badge-letter-spacing,0.5px);} :host #thumbnail {height: 100%;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} :host #thumbnail yt-img-shadow {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} :host {display: inline-block;max-width: 386px;} :host([is-reminder-button-present]) #watch-card-subtitle {margin-right: 8px;margin-bottom: 0px;-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([hide-bottom-items]) #watch-card-title {margin-bottom: 0px;margin-right: 24px;} ytd-thumbnail {height: 216px;width: 386px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #watch-card-endpoint.yt-simple-endpoint {position: relative;} .title-container {width: 100%;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} .title-fade {background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%);bottom: 0;box-sizing: border-box;padding: 100px 16px 16px;position: inherit;width: inherit;color: var(--yt-spec-static-overlay-text-primary);} #watch-card-title {color: var(--yt-spec-static-overlay-text-primary);display: block;margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 2.6rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #watch-card-subtitle {display: block;margin-bottom: 4px;margin-right: 40px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 3.6rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #watch-card-endpoint #call-to-action-button {position: absolute;bottom: 16px;left: 16px;} #watch-card-endpoint #reminder-button {display: block;z-index: 1;-ms-flex: none;-webkit-flex: none;flex: none;} #bottom-items {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} /*# sourceMappingURL=ytd-watch-card-hero-video-renderer.css.map*/</style>';
SOb=d}d=SOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TOb=a}a=TOb;return a}}});
var D6=C6;D6.prototype.dataChanged=D6.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],D6.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],D6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],D6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],D6.prototype,"data",void 0);
_.S([_.N({computed:"computeSubtitle(data)"}),_.T("design:type",String)],D6.prototype,"subtitle",void 0);_.S([_.N({computed:"computeIsReminderButtonPresent(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],D6.prototype,"isReminderButtonPresent",void 0);_.S([_.N({computed:"computeHideBottomItems(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],D6.prototype,"hideBottomItems",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D6.prototype,"dataChanged",null);D6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-hero-video-renderer"})],D6);
var UOb;
var VOb;
var E6=function(){return _.K.apply(this,arguments)||this};
_.q(E6,_.K);E6.prototype.configureRendererStamper=function(){return{"data.callToActionButton":{id:"call-to-action-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer",subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}}}};
E6.prototype.computeTitleBadges=function(a){return a?[a]:[]};
E6.prototype.computeHeaderStyle=function(a){return a?a.replace("WATCH_CARD_RICH_HEADER_RENDERER_STYLE_","").toLowerCase():""};
E6.prototype.computeAvatarHeight=function(a){return"WATCH_CARD_RICH_HEADER_RENDERER_STYLE_LEFT_AVATAR"===a?72:48};
_.t.Object.defineProperties(E6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-rich-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_rich_header_renderer.ytd.watch.card.rich.header.renderer.css.js--\x3e<div id="container">\n  <div id="body">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.titleNavigationEndpoint)]]" data="[[data.titleNavigationEndpoint]]">\n      <ytd-channel-name id="channel-name" badges="[[titleBadges]]" channel-name="[[data.title]]" tooltip-position="bottom" wrap-text="">\n      </ytd-channel-name>\n      <div id="badge-row">\n        <template is="dom-if" if="[[data.badges.0.metadataBadgeRenderer]]">\n          <ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n          </ytd-badge-supported-renderer>\n        </template>\n        <span id="watch-card-subtitle">[[getSimpleString(data.subtitle)]]</span>\n      </div>\n    </a>\n    <div id="call-to-action-button" hidden="[[!data.callToActionButton]]"></div>\n  </div>\n  <a id="avatar-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.titleNavigationEndpoint)]]" data="[[data.titleNavigationEndpoint]]" hidden="[[!data.avatar]]">\n    <yt-img-shadow id="avatar" height="[[computeAvatarHeight(data.style)]]" thumbnail="[[data.avatar]]">\n    </yt-img-shadow>\n  </a>\n</div>\n    \n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_rich_header_renderer.ytd.watch.card.rich.header.renderer.css.js--\x3e<style>:host {display: block;width: 386px;background-color: var(--yt-spec-general-background-b);padding-bottom: 16px;} #container {width: 100%;box-sizing: border-box;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} #body {width: 100%;} #body .yt-simple-endpoint {box-sizing: border-box;padding: 16px 0 0 16px;width: 100%;} #channel-name {--ytd-channel-name-container-display: inline;--ytd-channel-name-text-container-display: inline;--ytd-channel-name-text-display: inline;--ytd-channel-name-badges-display: inline;--ytd-channel-name-badges-margin-right: 8px;--ytd-badge-icon-color: var(--yt-spec-text-secondary);--ytd-badge-icon-size: 16px;--ytd-badge-display: inline;--iron-icon: {margin-left: -4px;margin-bottom: 5px;};color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 5.2rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #channel-name[verified] {--ytd-channel-name-container-display: -webkit-box;--ytd-channel-name-text-display: -webkit-box;--ytd-channel-name-text-line-clamp: 2;color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;} #badge-row {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} ytd-badge-supported-renderer {padding-right: 8px;} #watch-card-subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 6.6rem;overflow: hidden;display: block;-webkit-line-clamp: 3;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #avatar-endpoint {box-sizing: border-box;padding: 16px 16px 0 0;} #avatar {margin-left: 16px;width: 48px;height: 48px;border: 1px solid var(--yt-spec-static-brand-white);border-radius: 50%;overflow: hidden;} #call-to-action-button {--ytd-subscribe-button-margin: 0;margin: 12px 0 0 16px;} :host([header-style=left_avatar]) #body {order: 1;} :host([header-style=left_avatar]) #body .yt-simple-endpoint {padding: 16px 16px 0 0;} :host([header-style=left_avatar]) #avatar {margin: 0 20px 0 0;width: 72px;height: 72px;} :host([header-style=left_avatar]) #avatar-endpoint {padding: 16px 0 0 16px;} :host([header-style=left_avatar]) #call-to-action-button {margin-left: 0;} /*# sourceMappingURL=ytd-watch-card-rich-header-renderer.css.map*/</style>';
UOb=d}d=UOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VOb=a}a=VOb;return a}}});
var F6=E6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],F6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],F6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],F6.prototype,"data",void 0);_.S([_.N({computed:"computeTitleBadges(data.titleBadge)"}),_.T("design:type",Array)],F6.prototype,"titleBadges",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeHeaderStyle(data.style)"}),_.T("design:type",String)],F6.prototype,"headerStyle",void 0);F6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-rich-header-renderer"})],F6);
var WOb;
var XOb;
var YOb;
var ZOb;
var G6=function(){return _.K.apply(this,arguments)||this};
_.q(G6,_.K);G6.prototype.onMetadataTap=function(a){var b=this.data&&this.data.navigationEndpoint;b&&!_.Hx(_.H(a).path,this,["A".toString()])&&this.fire("yt-navigate",{endpoint:b})};
_.t.Object.defineProperties(G6.prototype,{isCondensed:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.style?"WATCH_CARD_COMPACT_VIDEO_RENDERER_STYLE_CONDENSED"===this.data.style:!1}},
subtitle:{configurable:!0,enumerable:!0,get:function(){if(this.data){var a;if(this.data.upcomingEventData){var b=_.qi(this.data.subtitle),c=Number(this.data.upcomingEventData.startTime);isNaN(c)||(a=_.Mu(_.Pv(b,c)))}else a=this.data.subtitle;return a}}}});
_.t.Object.defineProperties(G6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-compact-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_compact_video_renderer.ytd.watch.card.compact.video.renderer.css.js--\x3e<template is="dom-if" if="[[!isCondensed]]">\n  <ytd-thumbnail data="[[data]]" width="120"></ytd-thumbnail>\n  <div class="text-wrapper" on-click="onMetadataTap">\n    <div class="title-wrapper">\n      <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n        <yt-formatted-string class="title" text="[[data.title]]"></yt-formatted-string>\n      </a>\n    </div>\n    <yt-formatted-string class="byline" hidden="[[!data.byline]]" text="[[data.byline]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="subtitle" text="[[subtitle]]"></yt-formatted-string>\n    <ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n    </ytd-badge-supported-renderer>\n  </div>\n</template>\n<template is="dom-if" if="[[isCondensed]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <div class="metadata">\n      <div class="text">\n        <yt-formatted-string class="title" text="[[data.title]]"></yt-formatted-string>\n        <ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n        </ytd-badge-supported-renderer>\n        <yt-formatted-string class="subtitle" text="[[subtitle]]"></yt-formatted-string>\n      </div>\n      <yt-formatted-string class="duration" text="[[data.lengthText]]">\n      </yt-formatted-string>\n    </div>\n  </a>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_compact_video_renderer.ytd.watch.card.compact.video.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-thumbnail {margin-right: 8px;height: 68px;width: 120px;} ytd-badge-supported-renderer {margin-top: 8px;} .metadata {padding: 0 16px 0 8px;cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .text-wrapper {padding: 0 16px 0 8px;cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .title-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;} .title {--yt-endpoint-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} .subtitle {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .byline {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));--yt-endpoint-color: var( --ytd-metadata-line-color, var(--yt-spec-text-secondary) );--yt-endpoint-hover-color: var(--yt-spec-text-primary);--yt-endpoint-visited-color: var( --ytd-metadata-line-color, var(--yt-spec-text-secondary) );font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;max-height: 1.8rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([is-condensed]) {padding-bottom: 8px;margin-bottom: 8px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} :host([is-condensed]) a {min-width: 0;} :host([is-condensed]) .metadata {padding: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([is-condensed]) .text {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([is-condensed]) .title {--yt-endpoint-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);margin-bottom: 2px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} :host([is-condensed]) .subtitle {--yt-endpoint-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([is-condensed]) ytd-badge-supported-renderer {margin-top: 0;margin-right: 4px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} :host([is-condensed]):last-of-type {margin-bottom: 16px;} .duration {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .yt-simple-endpoint {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-watch-card-compact-video-renderer.css.map*/</style>';
YOb=d}d=YOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZOb=a}a=ZOb;return a}}});
var H6=G6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],H6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],H6.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data.style"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],H6.prototype,"isCondensed",null);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],H6.prototype,"subtitle",null);
H6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-compact-video-renderer"})],H6);
var $Ob;
var aPb;
var bPb=function(){return _.K.apply(this,arguments)||this};
_.q(bPb,_.K);
_.t.Object.defineProperties(bPb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-one-vs-one-event-compact-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_one_vs_one_event_compact_video_renderer.ytd.watch.card.one.vs.one.event.compact.video.renderer.css.js--\x3e<ytd-thumbnail data="[[data]]" width="120"></ytd-thumbnail>\n<a class="yt-simple-endpoint metadata" data="[[data.navigationEndpoint]]" href$="[[computeHref_(data.navigationEndpoint)]]">\n  <ytd-watch-card-one-vs-one-event class="compact" data="[[data.oneVsOneEvent]]">\n  </ytd-watch-card-one-vs-one-event>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$Ob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_one_vs_one_event_compact_video_renderer.ytd.watch.card.one.vs.one.event.compact.video.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-thumbnail {margin-right: 8px;height: 68px;width: 120px;} .metadata {color: var(--yt-spec-text-primary);padding: 0 16px 0 8px;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-watch-card-one-vs-one-event-compact-video-renderer.css.map*/</style>";
$Ob=d}d=$Ob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aPb=a}a=aPb;return a}}});
var I6=bPb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],I6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],I6.prototype,"data",void 0);I6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-one-vs-one-event-compact-video-renderer"})],I6);
var J6=function(){return _.K.apply(this,arguments)||this};
_.q(J6,_.K);J6.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{watchCardCompactVideoRenderer:{component:"ytd-watch-card-compact-video-renderer",noInjection:!0},watchCardOneVsOneEventCompactVideoRenderer:{component:"ytd-watch-card-one-vs-one-event-compact-video-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(J6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XOb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-vertical-watch-card-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_vertical_watch_card_list_renderer.ytd.vertical.watch.card.list.renderer.css.js--\x3e<div id="items">\n  \n</div>\n<a id="view-all-endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.viewAllEndpoint)]]" data="[[data.viewAllEndpoint]]" hidden="[[!data.viewAllEndpoint]]" disable-upgrade$="[[!data.viewAllEndpoint]]">\n    [[getSimpleString(data.viewAllText)]]\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WOb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_vertical_watch_card_list_renderer.ytd.vertical.watch.card.list.renderer.css.js--\x3e<style>:host {display: block;} ytd-watch-card-compact-video-renderer:not([is-condensed]),ytd-watch-card-one-vs-one-event-compact-video-renderer {margin-bottom: 16px;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #view-all-endpoint.yt-simple-endpoint {padding: 16px 0;border-bottom: 1px solid var(--yt-spec-10-percent-layer);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-vertical-watch-card-list-renderer.css.map*/</style>';
WOb=d}d=WOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XOb=a}a=XOb;return a}}});
var K6=J6;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],K6.prototype,"ytRendererStamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],K6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],K6.prototype,"data",void 0);K6=_.S([_.Q({asyncProperties:!0,is:"ytd-vertical-watch-card-list-renderer"})],K6);
var cPb;
var dPb;
var L6=function(){return _.K.apply(this,arguments)||this};
_.q(L6,_.K);_.f=L6.prototype;_.f.configureRendererStamper=function(){return{"data.lists":{id:"lists",mapping:{verticalWatchCardListRenderer:"ytd-vertical-watch-card-list-renderer"}}}};
_.f.dataChanged=function(){var a;this.currentSeasonIndex=(null==(a=this.data)?void 0:a.dropdownDefaultSelectedIndex)||0;this.lists.select(this.currentSeasonIndex);this.label=this.getUppercaseSimpleString(this.data.dropdownTitles[this.currentSeasonIndex])};
_.f.computeEpisodesInfo=function(a,b,c){if(void 0!==a&&b.length===a.length)return a[c]};
_.f.onSeasonSelect=function(){this.ytRendererBehavior.markDirty()};
_.f.currentSeasonIndexChanged=function(){this.data&&this.data.dropdownTitles&&(this.label=this.getUppercaseSimpleString(this.data.dropdownTitles[this.currentSeasonIndex]))};
_.f.onLabelClick=function(){this.ariaExpanded="true"};
_.f.onIronOverlayClosed=function(){this.ariaExpanded="false"};
_.f.getUppercaseSimpleString=function(a){return this.ytRendererBehavior.getSimpleString(a).toUpperCase()};
_.t.Object.defineProperties(L6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-section-dropdown-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_section_dropdown_renderer.ytd.watch.card.section.dropdown.renderer.css.js--\x3e<div class="season-picker-container">\n  <tp-yt-paper-menu-button id="input" dynamic-align="" horizontal-align="left">\n    <tp-yt-paper-button id="label" class="dropdown-trigger" slot="dropdown-trigger" aria-expanded$="[[ariaExpanded]]" aria-label$="[[label]]" on-tap="onLabelClick">\n      <div id="label-text">[[label]]</div>\n      <yt-icon id="label-icon" icon="yt-icons:arrow-drop-down">\n      </yt-icon>\n    </tp-yt-paper-button>\n    <tp-yt-paper-listbox id="seasons" class="dropdown-content" slot="dropdown-content" selected="{{currentSeasonIndex}}" on-iron-select="onSeasonSelect">\n      <template is="dom-repeat" items="[[data.dropdownTitles]]">\n        <tp-yt-paper-item aria-label$="[[item.accessibility.accessibilityData.label]]">\n          [[getUppercaseSimpleString(item)]]\n        </tp-yt-paper-item>\n      </template>\n    </tp-yt-paper-listbox>\n  </tp-yt-paper-menu-button>\n  <span id="spacer"></span>\n  <yt-formatted-string id="episodes" text="[[episodesInfo]]">\n  </yt-formatted-string>\n</div>\n<iron-pages id="lists" selected="{{currentSeasonIndex}}">\n  \n</iron-pages>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cPb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_section_dropdown_renderer.ytd.watch.card.section.dropdown.renderer.css.js--\x3e<style>:host {--paper-item-selected-background: var(--yt-spec-10-percent-layer);--paper-item-selected-weight: inherit;--paper-listbox-color: var(--yt-spec-text-primary);--paper-listbox-background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} tp-yt-paper-listbox tp-yt-paper-item:hover {background-color: var(--yt-spec-10-percent-layer);} tp-yt-paper-menu-button {padding: 0;} #label {cursor: pointer;text-transform: var(--yt-dropdown-menu-label-transform,none);padding: 0;margin: 0;min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #label-text {max-width: 145px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;color: var(--yt-spec-text-primary);font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} #label.keyboard-focus #label-text {font-weight: 500;} #label-icon {flex-shrink: 0;margin-right: 8px;color: var(--yt-spec-icon-active-other);} :dir(rtl) #label {padding: 0;text-align: left;} #episodes {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #seasons {cursor: pointer;} .season-picker-container {border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin-bottom: 8px;padding-bottom: 8px;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;} #spacer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-watch-card-section-dropdown-renderer.css.map*/</style>';
cPb=d}d=cPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dPb=a}a=dPb;return a}}});
var M6=L6;M6.prototype.onIronOverlayClosed=M6.prototype.onIronOverlayClosed;M6.prototype.currentSeasonIndexChanged=M6.prototype.currentSeasonIndexChanged;M6.prototype.dataChanged=M6.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],M6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],M6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],M6.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",String)],M6.prototype,"label",void 0);_.S([_.N({value:0}),_.T("design:type",Number)],M6.prototype,"currentSeasonIndex",void 0);_.S([_.N({computed:"computeEpisodesInfo(data.dropdownSubtitles,data.dropdownTitles,currentSeasonIndex)"}),_.T("design:type",Object)],M6.prototype,"episodesInfo",void 0);_.S([_.N({value:"false"}),_.T("design:type",String)],M6.prototype,"ariaExpanded",void 0);_.S([_.Z("#lists"),_.T("design:type",Object)],M6.prototype,"lists",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],M6.prototype,"dataChanged",null);_.S([_.Ct("currentSeasonIndex"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],M6.prototype,"currentSeasonIndexChanged",null);_.S([_.O("iron-overlay-closed"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],M6.prototype,"onIronOverlayClosed",null);
M6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-section-dropdown-renderer"})],M6);
var ePb;
var fPb;
var N6=function(){return _.K.apply(this,arguments)||this};
_.q(N6,_.K);N6.prototype.configureRendererStamper=function(){return{"data.lists":{id:"lists",mapping:{verticalWatchCardListRenderer:{component:"ytd-vertical-watch-card-list-renderer",noInjection:!0},horizontalCardListRenderer:{component:"ytd-horizontal-card-list-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(N6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-section-sequence-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_section_sequence_renderer.ytd.watch.card.section.sequence.renderer.css.js--\x3e<div id="lists">\n  \n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ePb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_section_sequence_renderer.ytd.watch.card.section.sequence.renderer.css.js--\x3e<style>:host {display: block;max-width: 386px;margin-bottom: 16px;} ytd-horizontal-card-list-renderer {width: 384px;} /*# sourceMappingURL=ytd-watch-card-section-sequence-renderer.css.map*/</style>";
ePb=d}d=ePb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fPb=a}a=fPb;return a}}});
var O6=N6;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],O6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],O6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],O6.prototype,"data",void 0);O6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-section-sequence-renderer"})],O6);
var P6=function(){return _.K.apply(this,arguments)||this};
_.q(P6,_.K);
P6.prototype.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{watchCardRichHeaderRenderer:{component:"ytd-watch-card-rich-header-renderer",noInjection:!0}}},"data.callToAction":{id:"hero",mapping:{watchCardHeroVideoRenderer:{component:"ytd-watch-card-hero-video-renderer",noInjection:!0},watchCardHeroOneVsOneEventRenderer:{component:"ytd-watch-card-hero-one-vs-one-event-renderer",noInjection:!0}}},"data.actionButtons":{id:"action-buttons",mapping:{buttonRenderer:{component:"ytd-button-renderer",noInjection:!0}}},
"data.sections":{id:"sections",mapping:{watchCardSectionDropdownRenderer:{component:"ytd-watch-card-section-dropdown-renderer",noInjection:!0},watchCardSectionSequenceRenderer:{component:"ytd-watch-card-section-sequence-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(P6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===COb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-universal-watch-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_universal_watch_card_renderer.ytd.universal.watch.card.renderer.css.js--\x3e<div id="header"></div>\n<div id="hero"></div>\n<div id="action-buttons" hidden="[[!data.actionButtons]]"></div>\n<div id="sections"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BOb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_universal_watch_card_renderer.ytd.universal.watch.card.renderer.css.js--\x3e<style>:host {display: block;} #sections {margin-top: 16px;} #action-buttons {padding: 16px 0 0 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #action-buttons ytd-button-renderer {margin-bottom: 4px;} #action-buttons ytd-button-renderer:first-child {margin-top: 0;} #action-buttons ytd-button-renderer:last-child {margin-bottom: 0;} /*# sourceMappingURL=ytd-universal-watch-card-renderer.css.map*/</style>";
BOb=d}d=BOb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);COb=a}a=COb;return a}}});
var Q6=P6;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Q6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Q6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Q6.prototype,"data",void 0);Q6=_.S([_.Q({asyncProperties:!0,is:"ytd-universal-watch-card-renderer"})],Q6);
var gPb;
var hPb;
var iPb=function(){return _.K.apply(this,arguments)||this};
_.q(iPb,_.K);
_.t.Object.defineProperties(iPb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-game-watch-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_video_game_watch_card_renderer.ytd.video.game.watch.card.renderer.css.js--\x3e<div id="header">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n    <h2 id="title">[[getSimpleString(data.title)]]</h2>\n  </a>\n  <div id="meta">\n    <template is="dom-repeat" items="[[data.labels]]">\n      <div class="meta-label">[[getSimpleString(item)]]</div>\n    </template>\n  </div>\n</div>\n  <a id="banner" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <yt-img-shadow id="bannerart" thumbnail="[[data.banner]]"></yt-img-shadow>\n  <yt-img-shadow id="boxart" thumbnail="[[data.boxart]]"></yt-img-shadow>\n</a>\n<div id="videos">\n  <yt-formatted-string id="subaction" text="[[data.subaction]]"></yt-formatted-string>\n  <div id="video-list">\n    <template is="dom-repeat" items="[[data.videoList.watchCardVideoGameListRenderer.videos]]">\n      <div class="lockup">\n        <div class="thumbnail-container">\n          <ytd-thumbnail id="thumbnail" data="[[item.watchCardVideoRenderer]]" width="120">\n          </ytd-thumbnail>\n          <div class="live-badge badge" hidden="[[!item.watchCardVideoRenderer.badges.0.liveBadge]]">\n            [[getSimpleString(item.watchCardVideoRenderer.badges.0.liveBadge.label)]]\n          </div>\n        </div>\n        <div class="info">\n          <a class="yt-simple-endpoint video-title" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n            [[getSimpleString(item.watchCardVideoRenderer.title)]]\n          </a>\n          <yt-formatted-string class="video-byline" text="[[item.watchCardVideoRenderer.byline]]">\n          </yt-formatted-string>\n          <yt-formatted-string class="video-views" text="[[item.watchCardVideoRenderer.views]]">\n          </yt-formatted-string>\n        </div>\n      </div>\n    </template>\n  </div>\n</div>\n<a id="logo-container" class="yt-simple-endpoint" href$="[[computeHref_(data.gamingEndpoint)]]" data="[[data.gamingEndpoint]]">\n  <svg id="logo" viewBox="0 0 89 32" preserveAspectRatio="xMinYMid" fill="#fff">\n    <path d="M 27.574468,9.0822866 C 27.248398,7.8702897 26.294796,6.916688 25.0828,6.5906178 22.88644,6 14.082543,6 14.082543,6 c 0,0 -8.8100488,0 -11.0064087,0.5906178 C 1.8641374,6.916688 0.91053578,7.8702897 0.59061779,9.0822866 0,11.272494 0,15.855935 0,15.855935 c 0,0 0,4.583439 0.59061779,6.779799 0.32607023,1.211997 1.27967191,2.165599 2.49166881,2.491669 2.19636,0.590618 11.0002564,0.590618 11.0002564,0.590618 0,0 8.803897,0 11.000257,-0.590618 1.211996,-0.32607 2.165598,-1.279672 2.491669,-2.491669 0.590617,-2.19636 0.590617,-6.779799 0.590617,-6.779799 0,0 -0.0061,-4.583441 -0.590617,-6.7736484 z" fill="#f00"></path>\n    <path d="m 11.264804,20.082543 7.315047,-4.226608 -7.315047,-4.220457 z"></path>\n    <path class="logo-part" d="m 41.054089,15.911305 v 8.37939 h -1.654961 l -0.38144,-2.097923 c -0.362984,1.550371 -1.32889,2.319405 -2.922328,2.319405 -2.596257,0 -3.506793,-2.153295 -3.506793,-6.484491 v -4.208152 c 0,-4.5711362 0.824404,-6.6875165 4.491156,-6.6875165 3.223789,0 4.091259,2.1163803 3.746732,5.9615485 l -2.497821,0.159959 c 0.06152,-3.2607026 -0.381441,-4.0297362 -1.347347,-4.0297362 -1.088952,0 -1.513458,1.0089722 -1.513458,4.4542422 v 4.77416 c 0,2.879263 0.362984,3.968214 1.488849,3.968214 1.150474,0 1.630351,-0.805947 1.630351,-2.922327 v -1.40887 h -1.550371 v -2.177903 h 4.017431 z"></path>\n    <path class="logo-part" d="m 49.901051,16.052807 v 8.237888 H 47.78467 l -0.283004,-1.513458 h -0.04306 c -0.399898,1.088951 -1.125865,1.771853 -2.356318,1.771853 -1.531916,0 -2.737761,-1.008972 -2.737761,-3.020764 0,-2.233273 1.328891,-3.765188 4.854141,-4.712637 v -0.885927 c 0,-1.710331 -0.178416,-2.319405 -0.965907,-2.319405 -0.885926,0 -1.168931,0.645987 -1.187388,2.559343 L 42.62907,15.966675 c -0.239939,-3.002307 0.965906,-4.269674 3.746731,-4.269674 2.596257,0.0061 3.52525,1.476544 3.52525,4.355806 z m -2.682389,5.801589 v -3.586772 c -1.451935,0.46142 -2.073314,1.427326 -2.073314,2.780825 0,1.027429 0.283004,1.568828 0.947449,1.568828 0.442963,0.0062 0.861318,-0.338374 1.125865,-0.762881 z"></path>\n    <path class="logo-part" d="m 64.143553,14.963855 v 9.32684 H 61.362727 V 15.16688 c 0,-1.008972 -0.264547,-1.513458 -0.867469,-1.513458 -0.486029,0 -0.928993,0.283005 -1.230454,0.805947 0.01846,0.15996 0.01846,0.319919 0.01846,0.504486 v 9.32684 H 56.502436 V 15.16688 c 0,-1.008972 -0.264548,-1.513458 -0.867471,-1.513458 -0.486029,0 -0.904383,0.283005 -1.205844,0.787491 v 9.849782 H 51.648296 V 11.943092 h 2.19636 l 0.239938,1.568828 h 0.04306 c 0.627532,-1.187388 1.630351,-1.833376 2.817739,-1.833376 1.168931,0 1.833376,0.584465 2.134837,1.630351 0.645989,-1.070495 1.611895,-1.630351 2.719303,-1.630351 1.698026,0.0061 2.344015,1.211997 2.344015,3.285311 z"></path>\n    <path class="logo-part" d="m 65.915407,8.7808255 c 0,-1.3288901 0.486029,-1.7103308 1.513458,-1.7103308 1.045885,0 1.513458,0.4429634 1.513458,1.7103308 0,1.3719555 -0.461421,1.7103305 -1.513458,1.7103305 -1.033581,0.0061 -1.513458,-0.338375 -1.513458,-1.7103305 z m 0.159958,3.1622665 h 2.657781 V 24.290695 H 66.075365 V 11.943092 z"></path>\n    <path class="logo-part" d="m 78.404512,14.963855 v 9.32684 h -2.780827 v -9.062292 c 0,-1.008972 -0.264547,-1.568828 -0.885926,-1.568828 -0.486028,0 -0.904383,0.283004 -1.205844,0.78749 v 9.849782 H 70.751089 V 11.943092 h 2.19636 l 0.239939,1.568828 h 0.06152 c 0.602923,-1.168931 1.56883,-1.833376 2.73776,-1.833376 1.71033,0.0061 2.417842,1.211997 2.417842,3.285311 z"></path>\n    <path class="logo-part" d="M 87.971288,26.431685 C 87.971288,28.664958 86.340937,30 83.517045,30 c -2.45475,0 -3.98667,-1.027429 -3.98667,-2.842348 0,-1.24891 0.762885,-1.974878 1.931812,-2.27634 -0.849007,-0.319917 -1.47039,-0.805947 -1.488847,-1.753396 -0.01845,-0.928992 0.541402,-1.710331 1.55037,-2.11638 -1.07049,-0.602923 -1.673415,-1.876443 -1.673415,-4.232761 v -0.264548 c 0,-3.365291 1.150477,-4.792617 3.709815,-4.792617 1.070497,0 1.894905,0.239938 2.479365,0.78749 0.264548,-1.107408 0.787492,-1.974878 1.894897,-2.073314 l 0.344528,2.682389 c -0.602917,0 -1.107405,0.178416 -1.47039,0.522943 0.301462,0.725967 0.442965,1.673417 0.442965,2.860805 v 0.264547 c 0,3.543707 -1.328887,4.694181 -3.685208,4.694181 -0.381442,0 -0.744427,-0.01846 -1.070497,-0.09844 -0.301462,0.203025 -0.424508,0.46142 -0.424508,0.725967 0,1.642656 5.900025,0.110742 5.900025,4.343502 z m -5.21712,-1.211997 c -0.627533,0.221481 -1.008975,0.682902 -1.008975,1.291976 0,0.86747 0.621382,1.488849 1.894897,1.488849 1.29198,0 1.993335,-0.566009 2.011792,-1.248911 0.04305,-1.064342 -1.427324,-1.24891 -2.897714,-1.531914 z m -0.23994,-8.317868 c 0,2.214817 0.301462,2.762369 1.045882,2.762369 0.744428,0 1.027433,-0.5414 1.027433,-2.762369 v -0.424507 c 0,-2.233273 -0.23994,-2.842347 -1.027433,-2.842347 -0.787485,0 -1.045882,0.602922 -1.045882,2.842347 v 0.424507 z"></path>\n  </svg>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gPb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_video_game_watch_card_renderer.ytd.video.game.watch.card.renderer.css.js--\x3e<style>:host {display: inline-block;} #header {padding: 16px;background-color: var(--yt-spec-general-background-b);} #title {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #meta {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .meta-label {display: inline-block;margin-right: 4px;} .yt-simple-endpoint {display: block;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #banner.yt-simple-endpoint {position: relative;} #bannerart {width: 385px;height: 217px;} #boxart {position: absolute;top: 16px;left: 20px;width: 132px;height: 184px;} #videos {padding: 16px 16px 0;} #subaction {display: block;margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #logo-container.yt-simple-endpoint {display: block;padding: 16px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #logo {width: 89px;height: 32px;} .metadata {display: flex;flex-direction: column;padding: 0 16px 0 16px;} .lockup {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .lockup:not(:last-child) {margin-bottom: 16px;} .video-title.yt-simple-endpoint {display: block;margin: 0 0 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} .video-byline,.video-views {color: var(--yt-spec-text-secondary);margin-right: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .lockup ytd-thumbnail {margin-right: 8px;height: 68px;width: 120px;} .thumbnail-container {position: relative;} #thumbnail {display: block;} .badge {display: inline-block;position: absolute;bottom: 0;right: 8px;text-transform: uppercase;margin: 4px;pointer-events: none;color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-static-overlay-background-heavy);padding: 3px 4px;height: 12px;border-radius: 2px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);letter-spacing: var(--yt-badge-letter-spacing,0.5px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} .live-badge.badge {background-color: var(--yt-spec-static-brand-red);} .logo-part {fill: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-video-game-watch-card-renderer.css.map*/</style>';
gPb=d}d=gPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hPb=a}a=hPb;return a}}});
var R6=iPb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R6.prototype,"data",void 0);R6=_.S([_.Q({asyncProperties:!0,is:"ytd-video-game-watch-card-renderer"})],R6);
var jPb;
var kPb;
var S6=function(){return _.K.apply(this,arguments)||this};
_.q(S6,_.K);S6.prototype.createArray=function(a){return a?[a]:null};
_.t.Object.defineProperties(S6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-watch-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_renderer.ytd.watch.card.renderer.css.js--\x3e<ytd-generic-watch-card badges="[[data.badges]]" call-to-action="[[data.callToAction]]" header-style="[[data.headerStyle.value]]" labels="[[data.labels]]" lists="[[createArray(data.items)]]" navigation-endpoint="[[data.navigationEndpoint]]" related-data="[[data.relatedData]]" title-text="[[data.title]]">\n</ytd-generic-watch-card>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.search.ytd_watch_card_renderer.ytd.watch.card.renderer.css.js--\x3e<style>:host {display: inline-block;} /*# sourceMappingURL=ytd-watch-card-renderer.css.map*/</style>";jPb=d}d=jPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kPb=a}a=kPb;
return a}}});
var T6=S6;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],T6.prototype,"data",void 0);T6=_.S([_.Q({asyncProperties:!0,is:"ytd-watch-card-renderer"})],T6);
var lPb;
var mPb;
var U6=function(){return _.K.apply(this,arguments)||this};
_.q(U6,_.K);U6.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{artistWatchCardRenderer:"ytd-artist-watch-card-renderer",watchCardRenderer:"ytd-watch-card-renderer",showWatchCardRenderer:"ytd-show-watch-card-renderer",videoGameWatchCardRenderer:"ytd-video-game-watch-card-renderer",universalWatchCardRenderer:"ytd-universal-watch-card-renderer"}}}};
_.t.Object.defineProperties(U6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-secondary-search-container-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.services.ytd_secondary_search_container_renderer.ytd.secondary.search.container.renderer.css.js--\x3e<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.services.ytd_secondary_search_container_renderer.ytd.secondary.search.container.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-secondary-search-container-renderer.css.map*/</style>";
lPb=d}d=lPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mPb=a}a=mPb;return a}}});
var V6=U6;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],V6.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],V6.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],V6.prototype,"data",void 0);V6=_.S([_.Q({asyncProperties:!0,is:"ytd-secondary-search-container-renderer"})],V6);
var nPb;
var oPb;
var W6=function(){var a=_.K.apply(this,arguments)||this;a.renderSecondarySearchContainer=!1;a.isSearch=!1;a.isSearchDova=_.x("dova_on_search");a.actionMap={"yt-chip-cloud-chip-select-action":"handleChipCloudChipSelectAction"};return a};
_.q(W6,_.K);_.f=W6.prototype;_.f.configureRendererStamper=function(){return{"data.primaryContents":{id:"primary",mapping:{sectionListRenderer:{component:"ytd-section-list-renderer",properties:{isSearch:"[[isSearch]]",isSearchDova:"[[isSearchDova]]",hasChipsBar:"[[hasChipsBar]]"}}}},"data.continuations":{id:"continuations",mapping:{pageContinuationData:"ytd-page-continuation"}}}};
_.f.created=function(){var a=this;this.boundStampSecondarySearchContainerIfFits=function(){a.stampSecondarySearchContainerIfFits()};
_.ed("REMAINING_DOVA_DEFERRED_CHUNKS",1)};
_.f.computeShowSecondaryColumn=function(a,b){return!!(b&&b.secondaryContents&&a)};
_.f.computeHasChipsBar=function(a){var b,c;a=null==a?void 0:null==(b=a.primaryContents)?void 0:null==(c=b.sectionListRenderer)?void 0:c.contents;if(!(a&&0<a.length))return!1;var d;b=null==(d=a[0].itemSectionRenderer)?void 0:d.contents;if(!(b&&0<b.length))return!1;d=_.k(b);for(b=d.next();!b.done;b=d.next())if(b.value.chipCloudRenderer)return!0;return!1};
_.f.activeChanged=function(){var a=this;this.active&&!this.renderSecondarySearchContainer?(this.listen(window,"resize","debounceStampSecondarySearchContainerIfFits"),this.async(function(){a.debounceStampSecondarySearchContainerIfFits()})):this.active||this.unlisten(window,"resize","debounceStampSecondarySearchContainerIfFits")};
_.f.persistentGuideChanged=function(){this.active&&!this.renderSecondarySearchContainer&&this.debounceStampSecondarySearchContainerIfFits()};
_.f.stampSecondarySearchContainerIfFits=function(){!this.renderSecondarySearchContainer&&1090<=window.innerWidth&&(this.renderSecondarySearchContainer=!0,this.updateChipsBarWidth())};
_.f.debounceStampSecondarySearchContainerIfFits=function(){this.debounce("stampSecondarySearchContainerIfFits",this.boundStampSecondarySearchContainerIfFits)};
_.f.onRetrieveLocation=function(a,b){b.locationRetrieved(location.pathname+location.search+"&pbj=1",void 0);a.stopPropagation()};
_.f.onResize=function(){this.updateChipsBarWidth()};
_.f.dataChanged=function(){this.active&&!this.renderSecondarySearchContainer&&this.debounceStampSecondarySearchContainerIfFits();this.updateChipsBarWidth()};
_.f.handleChipCloudChipSelectAction=function(){var a,b;(null==(a=this.data)?0:null==(b=a.secondaryContents)?0:b.secondarySearchContainerRenderer)&&delete this.data.secondaryContents;this.renderSecondarySearchContainer=this.showSecondaryColumn=!1;this.updateChipsBarWidth()};
_.f.updateChipsBarWidth=function(){this.updateStyles({"--ytd-search-chips-bar-width":this.primaryContainer.clientWidth+this.secondaryContainer.clientWidth+"px"})};
_.t.Object.defineProperties(W6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oPb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-two-column-search-results-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.services.ytd_two_column_search_results_renderer.ytd.two.column.search.results.renderer.css.js--\x3e<div id="primary">\n  <div id="continuations"></div>\n</div>\n<ytd-secondary-search-container-renderer id="secondary" data="[[data.secondaryContents.secondarySearchContainerRenderer]]" disable-upgrade$="[[!showSecondaryColumn]]" hidden="[[!showSecondaryColumn]]">\n</ytd-secondary-search-container-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nPb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.services.ytd_two_column_search_results_renderer.ytd.two.column.search.results.renderer.css.js--\x3e<style>:host {--yt-horizontal-list-renderer-width: 214px;max-width: 1280px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} @media(min-width:428px) {:host {--yt-horizontal-list-renderer-width: 428px;}} @media(min-width:642px) {:host {--yt-horizontal-list-renderer-width: 642px;}} @media(min-width:856px) {:host {--yt-horizontal-list-renderer-width: 856px;}} @media(min-width:1070px) {:host([use-prominent-thumbs])[prominent-thumb-style=DEFAULT],:host([use-prominent-thumbs])[prominent-thumb-style=BIG1],:host([use-prominent-thumbs])[prominent-thumb-style=BIG2] {--yt-horizontal-list-renderer-width: 1070px;}} #primary {max-width: 862px;min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([center-results]) #primary {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #secondary {padding-left: 40px;width: 385px;} :host([center-results]) #secondary {-ms-flex: none;-webkit-flex: none;flex: none;} #continuations {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} ytd-section-list-renderer {min-width: 0;} @media(max-width:1090px) {#secondary {display: none;}} @media(min-width:1480px) {#primary {width: 903px;}#secondary {width: 385px;}} @media(min-width:1720px) {:host([guide-persistent-and-visible]) #primary {width: 903px;}:host([guide-persistent-and-visible]) #secondary {width: 385px;display: block;}} :host([use-prominent-thumbs]) {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([use-prominent-thumbs]) #primary {max-width: 1096px;} :host([prominent-thumb-style=MEDIUM1]) #primary {max-width: 862px;} :host([prominent-thumb-style=MEDIUM2]) #primary {max-width: 862px;} :host([has-chips-bar]) {margin-top: 48px;} /*# sourceMappingURL=ytd-two-column-search-results-renderer.css.map*/</style>";
nPb=d}d=nPb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oPb=a}a=oPb;return a}}});
var X6=W6;X6.prototype.dataChanged=X6.prototype.dataChanged;X6.prototype.onResize=X6.prototype.onResize;X6.prototype.onRetrieveLocation=X6.prototype.onRetrieveLocation;X6.prototype.persistentGuideChanged=X6.prototype.persistentGuideChanged;X6.prototype.activeChanged=X6.prototype.activeChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],X6.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],X6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],X6.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.xx),_.T("design:type",Object)],X6.prototype,"ironResizableBehavior",void 0);_.S([_.Z("#primary"),_.T("design:type",HTMLElement)],X6.prototype,"primaryContainer",void 0);_.S([_.Z("#secondary"),_.T("design:type",HTMLElement)],X6.prototype,"secondaryContainer",void 0);
_.S([_.N(),_.T("design:type",Boolean)],X6.prototype,"active",void 0);_.S([_.N(),_.T("design:type",Object)],X6.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],X6.prototype,"renderSecondarySearchContainer",void 0);_.S([_.N({computed:"computeShowSecondaryColumn(renderSecondarySearchContainer, data)"}),_.T("design:type",Boolean)],X6.prototype,"showSecondaryColumn",void 0);_.S([_.N(),_.T("design:type",Object)],X6.prototype,"isSearch",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeHasChipsBar(data)"}),_.T("design:type",Boolean)],X6.prototype,"hasChipsBar",void 0);_.S([_.N(),_.T("design:type",Object)],X6.prototype,"isSearchDova",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("desktop_search_prominent_thumbs")}),_.T("design:type",Boolean)],X6.prototype,"useProminentThumbs",void 0);
_.S([_.N({reflectToAttribute:!0,value:_.ot("desktop_search_prominent_thumbs_style")}),_.T("design:type",Boolean)],X6.prototype,"prominentThumbStyle",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],X6.prototype,"centerResults",void 0);_.S([_.P("active"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],X6.prototype,"activeChanged",null);
_.S([_.P("guidePersistentAndVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],X6.prototype,"persistentGuideChanged",null);_.S([_.O("yt-retrieve-location"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],X6.prototype,"onRetrieveLocation",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],X6.prototype,"onResize",null);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],X6.prototype,"dataChanged",null);X6=_.S([_.Q({is:"ytd-two-column-search-results-renderer"})],X6);
var Y6=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-show-search-contents-command":"onYtShowSearchContentsCommand"};return a};
_.q(Y6,_.K);_.f=Y6.prototype;_.f.configureRendererStamper=function(){return{"data.survey":{id:"survey",mapping:{surveyTriggerRenderer:{component:"ytd-survey-trigger-renderer",noInjection:!0}},initialRenderPriority:3,waitForSignal:_.z3()}}};
_.f.loadPage_=function(a){this.initCsi();a&&(this.data=a,_.ed("REFINEMENTS_TUPLE",["FromSearchResponse",a.refinements||[]]),_.gy(this));this.updateTitle()};
_.f.dataChanged=function(){var a=this.data;if(a.onResponseReceivedCommands&&a.onResponseReceivedCommands.length){for(var b=0;b<a.onResponseReceivedCommands.length;b++)a.onResponseReceivedCommands[b].urlEndpoint&&this.fire("yt-navigate",{endpoint:a.onResponseReceivedCommands[b]});_.Lg(this,a.onResponseReceivedCommands,this)}};
_.f.initCsi=function(){_.y3("results",["ol"])};
_.f.updateTitle=function(){var a=_.Se(window.location.href,"q");a||(a=_.Se(window.location.href,"search_query"));this.fire("yt-update-title",a||"")};
_.f.onYtShowSearchContentsCommand=function(){this.set("data.hideContents",!1)};
_.t.Object.defineProperties(Y6,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Nb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.pages.ytd_search.ytd.search.css.js--\x3e\n<div id="container">\n  <ytd-two-column-search-results-renderer active="[[active]]" center-results="[[centerResults]]" data="[[data.contents.twoColumnSearchResultsRenderer]]" hidden="[[data.hideContents]]" is-search="true">\n  </ytd-two-column-search-results-renderer>\n</div>\n<div id="survey"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.pages.ytd_search.ytd.search.css.js--\x3e<style>:host {padding: 16px 24px;overflow-y: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: relative;z-index: 0;} #container {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} ytd-two-column-search-results-renderer {min-width: 0;} :host([center-results]) #container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([center-results]) ytd-two-column-search-results-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex: 0 1 100%;} /*# sourceMappingURL=ytd-search.css.map*/</style>";
ZNb=d}d=ZNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Nb=a}a=$Nb;return a}}});
var Z6=Y6;Z6.prototype.dataChanged=Z6.prototype.dataChanged;_.S([_.L(_.A3.YtPageBehavior),_.T("design:type",Object)],Z6.prototype,"ytPageBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Z6.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Z6.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Z6.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],Z6.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("kevlar_center_search_results")}}),
_.T("design:type",Boolean)],Z6.prototype,"centerResults",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],Z6.prototype,"monitorScroll",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Z6.prototype,"dataChanged",null);Z6=_.S([_.Q({asyncProperties:!0,is:"ytd-search"})],Z6);
_.Rt(_.$ma,Z6);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("h8y2qb");

var RKb=function(a){return a.ui.guideIsExpanded},SKb=function(){var a=_.Eg().resolve(_.Eo);
return new _.$Ma(a)},VKb=function(a,b,c,d,e,h,l){d=void 0===d?{}:d;
e=void 0===e?!1:e;var m=[],p=[],r=d;d=void 0===r.minimumRowsOfVideosAtStart?2:r.minimumRowsOfVideosAtStart;r=void 0===r.minimumRowsOfVideosBetweenSections?1:r.minimumRowsOfVideosBetweenSections;if(!a||!a.length)return[];for(var v=0;v<a.length;v++)if(a[v].richSectionRenderer){m.push(v);var z=m.length-1,A=v,D=p[p.length-1];0!==(A-z)%b&&(A=Math.ceil(v/b)*b+z);if(D){z=D===A-1;var E=D>=A-b*r;if(D>=A||z||E)A=D+b*r+1}else A=Math.max(A,b*d);p.push(A)}var J=[],R=0,da=0;d=function(){for(var na=Ca?1:0;R-na===
p[da];)J.push(a[m[da]]),da++,R++};
r=function(na){var ma=sa&&0===(R-da)%b;if(na&&h&&l||ma)J.push({richGridWatch:h}),sa=!1,Ca=!0,R++};
var sa=!1,Ca=!1;v=0;A={contents:[]};for(D=0;D<a.length;D++)if(z=a[D],r(0===D),d(),z.richItemRenderer){if(e){if(0===v&&(A={contents:[]}),A.contents.push(z),v++,v===b||D===a.length-1)J.push({richGridRow:A}),v=0}else J.push(z);var ea=E=void 0;h&&!l&&(null==(E=z.richItemRenderer.content)?void 0:null==(ea=E.videoRenderer)?void 0:ea.navigationEndpoint)===h&&(sa=!0);R++}for(;p[da];)J.push(a[m[da]]),da++;(e=a.find(function(na){return na.continuationItemRenderer}))&&J.push(e);
TKb(J,b);return UKb(J,p,b,c)},TKb=function(a,b){var c=0,d=0;
a=_.k(a);for(var e=a.next();!e.done;e=a.next()){var h=e.value;if(h.richItemRenderer)h.richItemRenderer.rowIndex=d,h.richItemRenderer.colIndex=c++,c===b&&(c=0,d++);else if(h.richGridRow){e=_.k(h.richGridRow.contents);for(var l=e.next();!l.done;l=e.next())l=l.value,l.richItemRenderer.rowIndex=d,l.richItemRenderer.colIndex=c++;d++;c=0}else if(h.richSectionRenderer){var m=l=e=void 0;if(h=null==(e=h)?void 0:null==(l=e.richSectionRenderer)?void 0:null==(m=l.content)?void 0:m.richShelfRenderer)h.rowIndex=
d++}}},UKb=function(a,b,c,d){var e=a.length,h;
(null==(h=a[e-1])?0:h.continuationItemRenderer)&&e--;b=(e-b.length)%c;if(0<b&&d){d=[];for(--e;0<=e&&(a[e].richItemRenderer&&(d.push(e),b--),0!==b);e--);for(e=0;e<d.length;e++)a.splice(d[e],1)}return a},WKb=function(a){a.urlParamMap_.set("multiselectEnabled","true");
return a},XKb=function(a){a.JSC$37130_disposeOnHide_=void 0;
return a},YKb=function(a,b){a.urlParamMap_.set("selectButtonLabel",b);
return a},B3=function(a){return _.Rg({type:"SET_RICH_GRID_WATCH_STATUS",
payload:a})},ZKb=function(a){return _.Rg({type:"SET_TAB_GESTURES_IS_ACTIVE",
payload:a})},$Kb=["home",
"hashtag-landing-page","sports"],C3=function(a){_.fA.call(this,"upload");this.JSC$36982_opts.query=a};
_.cj(C3,_.fA);C3.prototype.JSC$36984_setLabel=function(a){C3.superClass_.JSC$36984_setLabel.call(this,a);return this};
C3.prototype.addUploadMetadata=function(a,b){C3.superClass_.addUploadMetadata.call(this,a,b);return this};
var D3=function(a){if("youtubebanner"!==a&&"youtube-channel-banner"!==a)throw Error("vh");C3.call(this,a)};
_.q(D3,C3);D3.prototype.JSC$36984_setLabel=function(a){C3.prototype.JSC$36984_setLabel.call(this,a);return this};
D3.prototype.addUploadMetadata=function(a,b){C3.prototype.addUploadMetadata.call(this,a,b);return this};
var aLb;
var bLb;
/*

Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var cLb=[_.xx,{listeners:{"app-reset-layout":"_appResetLayoutHandler","iron-resize":"resetLayout"},attached:function(){this.fire("app-reset-layout")},
_appResetLayoutHandler:function(a){_.H(a).path[0]!==this&&(this.resetLayout(),a.stopPropagation())},
_updateLayoutStates:function(){console.error("unimplemented")},
resetLayout:function(){var a=this._updateLayoutStates.bind(this);this._layoutDebouncer=_.gn(this._layoutDebouncer,_.Ht,a);_.hn(this._layoutDebouncer);this._notifyDescendantResize()},
_notifyLayoutChanged:function(){var a=this;requestAnimationFrame(function(){a.fire("app-reset-layout")})},
_notifyDescendantResize:function(){this.isAttached&&this._interestedResizables.forEach(function(a){this.resizerShouldNotify(a)&&this._notifyDescendant(a)},this)}}];
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==bLb)return bLb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-app-header-layout--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.header.layout.tp.yt.app.header.layout.css.js--\x3e<div id="wrapper" class="initializing">\n  <slot id="headerSlot" name="header"></slot>\n\n  <div id="contentContainer">\n    <slot></slot>\n  </div>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===
aLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.header.layout.tp.yt.app.header.layout.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  display: block;\n  position: relative;\n  z-index: 0;\n}\n\n#wrapper ::slotted([slot=header]) {\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  z-index: 1;\n}\n\n#wrapper.initializing ::slotted([slot=header]) {\n  position: relative;\n}\n\n:host([has-scrolling-region]) {\n  height: 100%;\n}\n\n:host([has-scrolling-region]) #wrapper ::slotted([slot=header]) {\n  position: absolute;\n}\n\n:host([has-scrolling-region]) #wrapper.initializing ::slotted([slot=header]) {\n  position: relative;\n}\n\n:host([has-scrolling-region]) #wrapper #contentContainer {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  overflow-y: auto;\n  -webkit-overflow-scrolling: touch;\n}\n\n:host([has-scrolling-region]) #wrapper.initializing #contentContainer {\n  position: relative;\n}\n\n:host([fullbleed]) {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: column;\n  -webkit-flex-direction: column;\n  flex-direction: column;\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n\n:host([fullbleed]) #wrapper,\n:host([fullbleed]) #wrapper #contentContainer {\n  display: -ms-flexbox;\n  display: -webkit-flex;\n  display: flex;\n  -ms-flex-direction: column;\n  -webkit-flex-direction: column;\n  flex-direction: column;\n  -ms-flex: 1 1 0.000000001px;\n  -webkit-flex: 1;\n  flex: 1;\n  -webkit-flex-basis: 0.000000001px;\n  flex-basis: 0.000000001px;\n}\n\n#contentContainer {\n  position: relative;\n  z-index: 0;\n}\n\n@media print {\n  :host([has-scrolling-region]) #wrapper #contentContainer {\n    overflow-y: visible;\n  }\n}\n\n/*# sourceMappingURL=tp-yt-app-header-layout.css.map */</style>";
aLb=d}d=aLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return bLb=a},
is:"tp-yt-app-header-layout",behaviors:[cLb],properties:{hasScrollingRegion:{type:Boolean,value:!1,reflectToAttribute:!0}},observers:["resetLayout(isAttached, hasScrollingRegion)"],get header(){return _.H(this.$.headerSlot).getDistributedNodes()[0]},_updateLayoutStates:function(){var a=this.header;if(this.isAttached&&a){this.$.wrapper.classList.remove("initializing");a.scrollTarget=this.hasScrollingRegion?this.$.contentContainer:this.ownerDocument.documentElement;var b=a.offsetHeight;if(this.hasScrollingRegion)a.style.left=
"",a.style.right="";else{var c=this.getBoundingClientRect(),d=document.documentElement.clientWidth-c.right;a.style.left=c.left+"px";a.style.right=d+"px"}c=this.$.contentContainer.style;a.fixed&&!a.condenses&&this.hasScrollingRegion?(c.marginTop=b+"px",c.paddingTop=""):(c.paddingTop=b+"px",c.marginTop="")}}});
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var dLb;
var eLb;
_._scrollEffects$$module$third_party$javascript$youtube_components$tp_yt_app_layout$tp_yt_helpers$tp_yt_helpers={};_._scrollTimer$$module$third_party$javascript$youtube_components$tp_yt_app_layout$tp_yt_helpers$tp_yt_helpers=null;
_.Ng({_template:function(){if(void 0!==eLb)return eLb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-app-header--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.header.tp.yt.app.header.css.js--\x3e<div id="contentContainer">\n  <slot id="slot"></slot>\n</div>\n';var b=a.content,c=b.insertBefore;if(void 0===dLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.header.tp.yt.app.header.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  position: relative;\n  display: block;\n  transition-timing-function: linear;\n  transition-property: -webkit-transform;\n  transition-property: transform;\n}\n\n:host::before {\n  position: absolute;\n  right: 0px;\n  bottom: -5px;\n  left: 0px;\n  width: 100%;\n  height: 5px;\n  content: "";\n  transition: opacity 0.4s;\n  pointer-events: none;\n  opacity: 0;\n  box-shadow: inset 0px 5px 6px -3px rgba(0, 0, 0, 0.4);\n  will-change: opacity;\n}\n\n:host([shadow])::before {\n  opacity: 1;\n}\n\n#background {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  overflow: hidden;\n}\n\n#backgroundFrontLayer,\n#backgroundRearLayer {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  height: 100%;\n  pointer-events: none;\n  background-size: cover;\n}\n\n#backgroundFrontLayer {\n  background-image: var(--app-header-background-front-layer-background-image);\n  background-position: var(--app-header-background-front-layer-background-position);\n  background-repeat: var(--app-header-background-front-layer-background-repeat);\n  background-size: var(--app-header-background-front-layer-background-size);\n}\n\n#backgroundRearLayer {\n  opacity: 0;\n}\n\n#contentContainer {\n  position: relative;\n  width: 100%;\n  height: 100%;\n}\n\n:host([disabled]),\n:host([disabled])::after,\n:host([disabled]) #backgroundFrontLayer,\n:host([disabled]) #backgroundRearLayer,\n:host([silent-scroll]),\n:host([silent-scroll])::after,\n:host([silent-scroll]) #backgroundFrontLayer,\n:host([silent-scroll]) #backgroundRearLayer {\n  transition: none !important;\n}\n\n:host([disabled]) ::slotted(app-toolbar:first-of-type),\n:host([disabled]) ::slotted([sticky]),\n:host([silent-scroll]) ::slotted(app-toolbar:first-of-type),\n:host([silent-scroll]) ::slotted([sticky]) {\n  transition: none !important;\n}\n\n/*# sourceMappingURL=tp-yt-app-header.css.map */</style>';
dLb=d}d=dLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return eLb=a},
is:"tp-yt-app-header",behaviors:[[_.YSa,{properties:{effects:{type:String},effectsConfig:{type:Object,value:function(){return{}}},
disabled:{type:Boolean,reflectToAttribute:!0,value:!1},threshold:{type:Number,value:0},thresholdTriggered:{type:Boolean,notify:!0,readOnly:!0,reflectToAttribute:!0}},observers:["_effectsChanged(effects, effectsConfig, isAttached)"],_updateScrollState:function(){},
isOnScreen:function(){return!1},
isContentBelow:function(){return!1},
_effectsRunFn:null,_effects:null,get _clampedScrollTop(){return Math.max(0,this._scrollTop)},attached:function(){this._scrollStateChanged()},
detached:function(){this._tearDownEffects()},
createEffect:function(a,b){var c=_._scrollEffects$$module$third_party$javascript$youtube_components$tp_yt_app_layout$tp_yt_helpers$tp_yt_helpers[a];if(!c)throw new ReferenceError(this._getUndefinedMsg(a));a=this._boundEffect(c,b||{});a.setUp();return a},
_effectsChanged:function(a,b,c){this._tearDownEffects();a&&c&&(a.split(" ").forEach(function(d){var e;""!==d&&((e=_._scrollEffects$$module$third_party$javascript$youtube_components$tp_yt_app_layout$tp_yt_helpers$tp_yt_helpers[d])?this._effects.push(this._boundEffect(e,b[d])):console.warn(this._getUndefinedMsg(d)))},this),this._setUpEffect())},
_layoutIfDirty:function(){return this.offsetWidth},
_boundEffect:function(a,b){b=b||{};var c=parseFloat(b.startsAt||0),d=parseFloat(b.endsAt||1),e=d-c,h=function(){};
d=0===c&&1===d?a.run:function(l,m){a.run.call(this,Math.max(0,(l-c)/e),m)};
return{setUp:a.setUp?a.setUp.bind(this,b):h,run:a.run?d.bind(this):h,tearDown:a.tearDown?a.tearDown.bind(this):h}},
_setUpEffect:function(){this.isAttached&&this._effects&&(this._effectsRunFn=[],this._effects.forEach(function(a){!1!==a.setUp()&&this._effectsRunFn.push(a.run)},this))},
_tearDownEffects:function(){this._effects&&this._effects.forEach(function(a){a.tearDown()});
this._effectsRunFn=[];this._effects=[]},
_runEffects:function(a,b){this._effectsRunFn&&this._effectsRunFn.forEach(function(c){c(a,b)})},
_scrollHandler:function(){this._scrollStateChanged()},
_scrollStateChanged:function(){if(!this.disabled){var a=this._clampedScrollTop;this._updateScrollState(a);0<this.threshold&&this._setThresholdTriggered(a>=this.threshold)}},
_getDOMRef:function(a){console.warn("_getDOMRef","`"+a+"` is undefined")},
_getUndefinedMsg:function(a){return"Scroll effect `"+a+"` is undefined. Did you forget to import app-layout/app-scroll-effects/effects/"+a+".html ?"}}],
cLb],properties:{condenses:{type:Boolean,value:!1},fixed:{type:Boolean,value:!1},reveals:{type:Boolean,value:!1},shadow:{type:Boolean,reflectToAttribute:!0,value:!1}},observers:["_configChanged(isAttached, condenses, fixed)"],_height:0,_dHeight:0,_stickyElTop:0,_stickyElRef:null,_top:0,_progress:0,_wasScrollingDown:!1,_initScrollTop:0,_initTimestamp:0,_lastTimestamp:0,_lastScrollTop:0,get _maxHeaderTop(){return this.fixed?this._dHeight:this._height+5},get _stickyEl(){if(this._stickyElRef)return this._stickyElRef;
for(var a=_.H(this.$.slot).getDistributedNodes(),b=0,c;c=a[b];b++)if(c.nodeType===Node.ELEMENT_NODE)if(c.hasAttribute("sticky")){this._stickyElRef=c;break}else this._stickyElRef||(this._stickyElRef=c);return this._stickyElRef},_configChanged:function(){this.resetLayout();this._notifyLayoutChanged()},
_updateLayoutStates:function(){if(0!==this.offsetWidth||0!==this.offsetHeight){var a=this._clampedScrollTop,b=0===this._height||0===a,c=this.disabled;this._height=this.offsetHeight;this._stickyElRef=null;this.disabled=!0;b||this._updateScrollState(0,!0);this._mayMove()?this._dHeight=this._stickyEl?this._height-this._stickyEl.offsetHeight:0:this._dHeight=0;this._stickyElTop=this._stickyEl?this._stickyEl.offsetTop:0;this._setUpEffect();b?this._updateScrollState(a,!0):(this._updateScrollState(this._lastScrollTop,
!0),this._layoutIfDirty());this.disabled=c}},
_updateScrollState:function(a,b){if(0!==this._height){var c=0,d=this._top;var e=this._maxHeaderTop;var h=a-this._lastScrollTop,l=Math.abs(h),m=a>this._lastScrollTop,p=performance.now();this._mayMove()&&(c=this._clamp(this.reveals?d+h:a,0,e));a>=this._dHeight&&(c=this.condenses&&!this.fixed?Math.max(this._dHeight,c):c,this.style.transitionDuration="0ms");if(this.reveals&&!this.disabled&&100>l){if(300<p-this._initTimestamp||this._wasScrollingDown!==m)this._initScrollTop=a,this._initTimestamp=p;a>=e&&
(30<Math.abs(this._initScrollTop-a)||10<l?(m&&a>=e?c=e:!m&&a>=this._dHeight&&(c=this.condenses&&!this.fixed?this._dHeight:0),this.style.transitionDuration=this._clamp((c-d)/(h/(p-this._lastTimestamp)),0,300)+"ms"):c=this._top)}e=0===this._dHeight?0<a?1:0:c/this._dHeight;b||(this._lastScrollTop=a,this._top=c,this._wasScrollingDown=m,this._lastTimestamp=p);if(b||e!==this._progress||d!==c||0===a)this._progress=e,this._runEffects(e,c),this._transformHeader(c)}},
_mayMove:function(){return this.condenses||!this.fixed},
willCondense:function(){return 0<this._dHeight&&this.condenses},
isOnScreen:function(){return 0!==this._height&&this._top<this._height},
isContentBelow:function(){return 0===this._top?0<this._clampedScrollTop:0<=this._clampedScrollTop-this._maxHeaderTop},
_transformHeader:function(a){this.translate3d(0,-a+"px",0);this._stickyEl&&this.translate3d(0,this.condenses&&a>=this._stickyElTop?Math.min(a,this._dHeight)-this._stickyElTop+"px":0,0,this._stickyEl)},
_clamp:function(a,b,c){return Math.min(c,Math.max(b,a))},
_ensureBgContainers:function(){this._bgContainer||(this._bgContainer=document.createElement("div"),this._bgContainer.id="background",this._bgRear=document.createElement("div"),this._bgRear.id="backgroundRearLayer",this._bgContainer.appendChild(this._bgRear),this._bgFront=document.createElement("div"),this._bgFront.id="backgroundFrontLayer",this._bgContainer.appendChild(this._bgFront),_.H(this.root).insertBefore(this._bgContainer,this.$.contentContainer))},
_getDOMRef:function(a){switch(a){case "backgroundFrontLayer":return this._ensureBgContainers(),this._bgFront;case "backgroundRearLayer":return this._ensureBgContainers(),this._bgRear;case "background":return this._ensureBgContainers(),this._bgContainer;case "mainTitle":return _.H(this).querySelector("[main-title]");case "condensedTitle":return _.H(this).querySelector("[condensed-title]")}return null},
getScrollState:function(){return{progress:this._progress,top:this._top}}});
if(null!=_._scrollEffects$$module$third_party$javascript$youtube_components$tp_yt_app_layout$tp_yt_helpers$tp_yt_helpers["parallax-background"])throw Error("wh`parallax-background");
_._scrollEffects$$module$third_party$javascript$youtube_components$tp_yt_app_layout$tp_yt_helpers$tp_yt_helpers["parallax-background"]={setUp:function(a){var b={};a=parseFloat(a.scalar);b.background=this._getDOMRef("background");b.backgroundFrontLayer=this._getDOMRef("backgroundFrontLayer");b.backgroundRearLayer=this._getDOMRef("backgroundRearLayer");b.deltaBg=b.backgroundFrontLayer.offsetHeight-b.background.offsetHeight;0===b.deltaBg?(isNaN(a)&&(a=.8),b.deltaBg=(this._dHeight||0)*a):(isNaN(a)&&(a=
1),b.deltaBg*=a);this._fxParallaxBackground=b},
run:function(a){var b=this._fxParallaxBackground;this.transform("translate3d(0px, "+b.deltaBg*Math.min(1,a)+"px, 0px)",b.backgroundFrontLayer);b.backgroundRearLayer&&this.transform("translate3d(0px, "+b.deltaBg*Math.min(1,a)+"px, 0px)",b.backgroundRearLayer)},
tearDown:function(){delete this._fxParallaxBackground}};
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
var fLb=function(a){var b=this;var c=void 0===c?SKb():c;var d=void 0===d?_.Eg().resolve(_.Do):d;this.onePickCommand=a;this.JSC$42110_playlistNetworkManager=c;this.navigationManager=d;this.videoPickerBuilder=_.LOa("yt-addtoplaylist");_.sQa(XKb(YKb(_.vA(WKb(_.vA(_.vA(this.videoPickerBuilder.setTitle(a.modalTitle).setSize(1E3),_.oQa()),_.nQa())),"youtube"),a.selectButtonLabel)),function(e){b.handleAction(e)})};
fLb.prototype.show=function(){_.URa(this.videoPickerBuilder).setVisible(!0)};
fLb.prototype.handleAction=function(a){var b=this;if(a&&this.onePickCommand.listId&&"picked"===a.action&&a.docs){var c=[];a.docs.forEach(function(d){c.push({addedVideoId:d.id,action:"ACTION_ADD_VIDEO"})});
this.JSC$42110_playlistNetworkManager.updatePlaylist(this.onePickCommand.listId,c).then(function(){b.navigationManager.reload()})}};
var gLb=function(){return _.vt.apply(this,arguments)||this};
_.q(gLb,_.vt);_.f=gLb.prototype;_.f.activeChanged=function(a){a?(this.$.header.fire("iron-resize"),this.listen(window,"scroll","onScroll")):(this.unlisten(window,"scroll","onScroll"),this.fire("yt-request-panel-mode-change",{mode:"seamed"}))};
_.f.guideVisibleChanged=function(){this.$.header.fire("iron-resize")};
_.f.onScroll=function(){var a=this;this.debounce("onScroll",function(){var b=1===a.$.header.getScrollState().progress?"standard":"seamed";a.fire("yt-request-panel-mode-change",{mode:b})},10)};
_.f.tabsChanged=function(a){if(a){for(var b=null,c=0,d=a.length;c<d;++c){var e=a[c].tabRenderer;if(e&&e.selected){b=c;break}}this.selected=b}};
_.f.onTabsActivate=function(a){this.fire("yt-navigate",{endpoint:this.tabs[a.detail.selected].tabRenderer.endpoint})};
var E3=gLb;E3.prototype.tabsChanged=E3.prototype.tabsChanged;E3.prototype.guideVisibleChanged=E3.prototype.guideVisibleChanged;E3.prototype.activeChanged=E3.prototype.activeChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],E3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],E3.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.N(),_.T("design:type",Array)],E3.prototype,"tabs",void 0);
_.S([_.N(),_.T("design:type",Object)],E3.prototype,"selected",void 0);_.S([_.N(),_.T("design:type",Boolean)],E3.prototype,"active",void 0);_.S([_.P("active"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],E3.prototype,"activeChanged",null);_.S([_.P("guidePersistentAndVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],E3.prototype,"guideVisibleChanged",null);
_.S([_.P("tabs"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],E3.prototype,"tabsChanged",null);E3=_.S([_.wt()],E3);var hLb=[_.U.YtRendererBehavior,_.ry,E3.prototype];
var iLb=2/3,jLb=_.oo(130749),kLb=function(a,b){var c=this;this.element=a;this.layer=0;this.refreshConfig={startPosition:0,startAction:function(){c.startAction()},
draggingClass:"gesture-dragging",triggers:{down:{endPosition:80,threshold:120,disableFinish:!0,translateBack:!0,moveRatio:iLb,moveAction:function(d){c.moveAction(d)},
triggerAction:function(){c.element.isReloading=!0;_.Ou(_.vp(),{visualElement:jLb});_.Gi.instance.resolveCommand({signalAction:{signal:"SOFT_RELOAD_PAGE"}},{form:{element:c.element}})}}}};
_.DE(_.vp(),jLb,this.layer);this.gesture=new _.lI(a,b,this.refreshConfig,"pan-down");this.attach()};
_.f=kLb.prototype;_.f.attach=function(){this.gesture.attach()};
_.f.detach=function(){this.gesture.detach()};
_.f.reset=function(){this.element.close()};
_.f.startAction=function(){this.element.reset();this.element.isReloading=!1};
_.f.moveAction=function(a){this.element.rotation=360*a};
var lLb=_.oo(130750),F3=function(a,b,c,d,e){var h=this;this.element=a;this.parent=c;this.channelHeader=d;this.ytdReduxDispatch=e;this.layer=0;this.scrollPositionNeedsUpdate=!1;this.scrollPositionForTabs=new Map;this.tabConfig={startPosition:0,draggingClass:"gesture-tab-dragging",startAction:function(){h.tabsStartAtInPx=h.channelHeader.clientHeight-48;var l;null!=(l=h.selectedTab)&&l.title&&(l=_.Eg().resolve(_.Cg(_.Co)))&&(l=l.getCurrentPage(),h.lastVisitedTabScrollPosition=l.getScrollTop(),h.previousTab&&
((void 0===h.lastVisitedTabScrollPosition?0:h.lastVisitedTabScrollPosition<h.channelHeader.clientHeight-48)?h.scrollPositionForTabs.has(h.selectedTab.title)&&h.scrollPositionForTabs.delete(h.selectedTab.title):h.scrollPositionForTabs.set(h.selectedTab.title,l.getScrollTop())))},
triggers:{right:{endPosition:500,threshold:100,transitionEndPosition:mLb(),triggerAction:function(){h.navigate(h.previousTab)},
moveAction:function(l,m){h.moveAction(l,m)}},
left:{endPosition:-500,threshold:-100,transitionEndPosition:-mLb(),triggerAction:function(){h.navigate(h.nextTab)},
moveAction:function(l,m){h.moveAction(l,m)}}}};
_.DE(_.vp(),lLb,this.layer);this.gesture=new _.lI(a,b,this.tabConfig);this.attach()};
F3.prototype.attach=function(){this.gesture.attach()};
F3.prototype.detach=function(){this.gesture.detach()};
F3.prototype.tabsChanged=function(a){if(a){var b=void 0;this.nextTab=this.previousTab=this.selectedTab=void 0;a=_.k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.tabRenderer;this.selectedTab&&!this.nextTab&&(this.nextTab=c);var d=void 0;if(null==(d=c)?0:d.selected)this.previousTab=b,this.selectedTab=c;b=c}b=this.previousTab?this.nextTab?this.tabConfig:Object.assign({},this.tabConfig,{triggers:{right:this.tabConfig.triggers.right}}):Object.assign({},this.tabConfig,{triggers:{left:this.tabConfig.triggers.left}});
this.gesture.config=b;this.scrollPositionNeedsUpdate=!0}};
F3.prototype.moveAction=function(a,b){if(!this.tabsElement){var c;this.tabsElement=null==(c=this.parent.header)?void 0:c.tabsElement;"right"===b&&this.previousTab?_.s5a(_.Wp.instance,this.previousTab.endpoint,{},""):"left"===b&&this.nextTab&&_.s5a(_.Wp.instance,this.nextTab.endpoint,{},"");if(!this.tabsElement)return}c=this.tabsElement._pos;"right"===b&&(a*=-1);this.tabsElement._positionBar(c.width,1*c.left+c.width*a)};
var mLb=function(){var a,b;return null!=(b=null==(a=_.Eg().resolve(_.Co).getCurrentPage())?void 0:a.clientWidth)?b:0};
F3.prototype.navigate=function(a){this.element.data=void 0;if(a=null==a?void 0:a.endpoint)this.ytdReduxDispatch(ZKb(!0)),_.Ou(_.vp(),{visualElement:lLb}),_.Gi.instance.resolveCommand({navigateAction:{endpoint:a}},{form:{element:this.element}})};
var nLb;
var oLb;
var pLb;
var qLb;
var rLb;
var sLb;
var G3=function(){var a=_.K.apply(this,arguments)||this;a.checked=!1;return a};
_.q(G3,_.K);G3.prototype.onTap=function(){this.data&&(this.checked?_.C(this,"ytd-inline-survey-option-deselect-action"):_.C(this,"ytd-inline-survey-option-select-action",[this]))};
_.t.Object.defineProperties(G3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-radio-button-survey-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_radio_button_survey_option_renderer.ytd.radio.button.survey.option.renderer.css.js--\x3e<tp-yt-paper-radio-button id="radio" checked="[[checked]]" on-click="onTap">\n  [[getSimpleString(data.option)]]\n</tp-yt-paper-radio-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_radio_button_survey_option_renderer.ytd.radio.button.survey.option.renderer.css.js--\x3e<style>:host {display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host(:hover) {background-color: var(--yt-spec-10-percent-layer);cursor: pointer;} tp-yt-paper-radio-button {display: block;width: 100%;height: auto;padding: var(--ytd-radio-button-survey-option-padding,8px) var(--ytd-radio-button-survey-option-padding,24px);} /*# sourceMappingURL=ytd-radio-button-survey-option-renderer.css.map*/</style>';
rLb=d}d=rLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sLb=a}a=sLb;return a}}});
var H3=G3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],H3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],H3.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],H3.prototype,"checked",void 0);H3=_.S([_.Q({asyncProperties:!0,is:"ytd-radio-button-survey-option-renderer"})],H3);
var tLb;
var uLb;
var I3=function(){return _.K.apply(this,arguments)||this};
_.q(I3,_.K);I3.prototype.onTap=function(a){a.preventDefault();this.data&&this.fire("ytd-rating-survey-option-changed",this.data)};
_.t.Object.defineProperties(I3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rating-survey-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_rating_survey_option_renderer.ytd.rating.survey.option.renderer.css.js--\x3e<yt-icon-button id="rating-survey-button" label="[[getSimpleString(data.responseText)]]" pressed="[[data.checked]]" toggleable="" on-tap="onTap">\n  <yt-icon hidden="[[!data.checked]]" icon="[[data.onStateIcon.iconType]]"></yt-icon>\n  <yt-icon hidden="[[data.checked]]" icon="[[data.defaultStateIcon.iconType]]"></yt-icon>\n</yt-icon-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_rating_survey_option_renderer.ytd.rating.survey.option.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-call-to-action);} yt-icon-button {box-sizing: content-box;padding: 12px;} /*# sourceMappingURL=ytd-rating-survey-option-renderer.css.map*/</style>";
tLb=d}d=tLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uLb=a}a=uLb;return a}}});
var J3=I3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],J3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],J3.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],J3.prototype,"data",void 0);J3=_.S([_.Q({asyncProperties:!0,is:"ytd-rating-survey-option-renderer"})],J3);
var vLb;
var wLb;
var K3=function(){var a=_.K.apply(this,arguments)||this;a.selectedOptionText=null;a.selectedNonStarOption=null;a.notSureSelected=!1;a.hideOptions=!1;return a};
_.q(K3,_.K);_.f=K3.prototype;_.f.configureRendererStamper=function(){return{"data.ratings":{id:"ratings",mapping:{ratingSurveyOptionRenderer:"ytd-rating-survey-option-renderer"}}}};
_.f.dataChanged=function(){this.resetComponent()};
_.f.onOptionChange=function(a,b){var c=this;if(b.onStateIcon&&b.defaultStateIcon&&b.onStateIcon.iconType===b.defaultStateIcon.iconType)this.selectedNonStarOption=b,this.selectedOptionText=b.responseText,this.hideOptions=!0;else{var d=this.ytRendererBehavior.getSimpleString(b.responseText),e=!0;this.set("notSureSelected",!1);this.getOptionRenderers().forEach(function(l,m){c.setSurveyOptionValue(m,e,"checked");c.setSurveyOptionValue(m,!1,"selected");c.ytRendererBehavior.getSimpleString(l.responseText)===
d&&(e=!1,c.setSurveyOptionValue(m,!0,"selected"),c.selectedOptionText=l.responseText)})}a=b.responseEndpoint;
if(b.followUpCommand)var h=b.followUpCommand.addFollowUpSurveyCommand;_.C(this,"ytd-inline-survey-rating-select-action",[a,h])};
_.f.getOptionRenderers=function(){return this.data&&this.data.ratings?this.data.ratings.map(function(a){return a.ratingSurveyOptionRenderer}):[]};
_.f.onNotSureClick=function(){this.hideOptions=this.notSureSelected=!0;this.selectedNonStarOption=null;this.selectedOptionText=this.get("data.notSureButton.buttonRenderer.text");var a=this.get("data.notSureEndpoint"),b=this.get("data.notSureButton.buttonRenderer.command.addFollowUpSurveyCommand");_.C(this,"ytd-inline-survey-rating-select-action",[a,b])};
_.f.onUndoClick=function(){this.resetComponent();_.C(this,"ytd-inline-survey-rating-select-action",[null,null])};
_.f.setSurveyOptionValue=function(a,b,c){this.notifyPath("data.ratings."+a+".ratingSurveyOptionRenderer."+c);this.set("data.ratings."+a+".ratingSurveyOptionRenderer."+c,b)};
_.f.resetComponent=function(){var a=this;this.selectedNonStarOption=this.selectedOptionText=null;this.hideOptions=this.notSureSelected=!1;this.getOptionRenderers().forEach(function(b,c){a.setSurveyOptionValue(c,!1,"checked");a.setSurveyOptionValue(c,!1,"selected")})};
_.t.Object.defineProperties(K3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rating-survey-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_rating_survey_renderer.ytd.rating.survey.renderer.css.js--\x3e<div id="selection-panel">\n  <div id="options">\n    <div id="ratings" hidden="[[hideOptions]]"></div>\n    <ytd-button-renderer id="not-sure-button" data="[[data.notSureButton.buttonRenderer]]" hidden="[[selectedOptionText]]" on-click="onNotSureClick">\n    </ytd-button-renderer>\n  </div>\n  <div id="selected-response-icon" hidden="[[!selectedNonStarOption]]">\n    <yt-icon icon="[[selectedNonStarOption.onStateIcon.iconType]]"></yt-icon>\n  </div>\n  <div id="selected-response-text" hidden="[[!selectedOptionText]]">\n    <yt-formatted-string text="[[selectedOptionText]]"></yt-formatted-string>\n  </div>\n</div>\n<ytd-button-renderer id="undo-button" data="[[data.undoButton.buttonRenderer]]" hidden="[[!selectedOptionText]]" on-click="onUndoClick">\n</ytd-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_rating_survey_renderer.ytd.rating.survey.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([not-sure-selected]) #selected-response-text {margin-top: 16px;margin-bottom: 32px;} #selection-panel {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #ratings {margin-left: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} ytd-button-renderer {margin-top: 8px;} #selected-response-icon {color: var(--yt-spec-call-to-action);margin-bottom: 16px;margin-left: 16px;margin-top: 16px;} #selected-response-text {color: var(--yt-spec-call-to-action);margin-left: 16px;padding-bottom: 1px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} /*# sourceMappingURL=ytd-rating-survey-renderer.css.map*/</style>";
vLb=d}d=vLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wLb=a}a=wLb;return a}}});
var L3=K3;L3.prototype.onOptionChange=L3.prototype.onOptionChange;L3.prototype.dataChanged=L3.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],L3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],L3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],L3.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],L3.prototype,"selectedOptionText",void 0);
_.S([_.N(),_.T("design:type",Object)],L3.prototype,"selectedNonStarOption",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],L3.prototype,"notSureSelected",void 0);_.S([_.N(),_.T("design:type",Object)],L3.prototype,"hideOptions",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],L3.prototype,"dataChanged",null);
_.S([_.O("ytd-rating-survey-option-changed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],L3.prototype,"onOptionChange",null);L3=_.S([_.Q({is:"ytd-rating-survey-renderer"})],L3);
var M3=function(){var a=_.K.apply(this,arguments)||this;a.followUpSurveyCommand=null;a.selectedRatingEndpoint=null;a.actionMap={"ytd-inline-survey-rating-select-action":"handleInlineSurveyRatingSelect","ytd-inline-survey-option-select-action":"handleInlineSurveyOptionSelect","ytd-inline-survey-option-deselect-action":"handleInlineSurveyOptionDeselect"};return a};
_.q(M3,_.K);_.f=M3.prototype;
_.f.configureRendererStamper=function(){return{"data.inlineContent":{id:"inline-survey-compact-video-renderer",mapping:{compactVideoRenderer:{component:"ytd-compact-video-renderer"}}},"data.response.expandableSurveyResponseRenderer.options":{id:"rating-survey",mapping:{ratingSurveyRenderer:{component:"ytd-rating-survey-renderer"}}},"followUpSurveyCommand.followUpOptions":{id:"follow-up-survey-options",mapping:{checkboxSurveyOptionRenderer:{component:"ytd-checkbox-survey-option-renderer"},radioButtonSurveyOptionRenderer:{component:"ytd-radio-button-survey-option-renderer"}}},
dismissedRenderer:{id:"dismissed",mapping:{messageRenderer:"ytd-message-renderer"}}}};
_.f.dataChanged=function(){this.selectedRatingEndpoint=this.followUpSurveyCommand=null;this.expanded=!1};
_.f.handleRequestCompletion=function(){this.hidden&&this.fire("yt-dismissible-item-dismissed")};
_.f.handleInlineSurveyRatingSelect=function(a,b){var c=this;this.selectedRatingEndpoint=a;this.followUpSurveyCommand=b;this.expanded=!!a;this.getOptionRenderers().forEach(function(d,e){c.notifyPath("followUpSurveyCommand.followUpOptions."+e+".checkboxSurveyOptionRenderer.checked");c.set("followUpSurveyCommand.followUpOptions."+e+".checkboxSurveyOptionRenderer.checked",!1)});
this.optionSelector.selectIndex(-1)};
_.f.onDismissTap=function(){this.hidden=!0;this.ytComponentBehavior.resolveCommand(this.get("data.dismissalEndpoint"))};
_.f.onSubmitTap=function(){this.selectedRatingEndpoint&&(this.ytComponentBehavior.resolveCommand(this.selectedRatingEndpoint),this.followUpSurveyCommand&&this.submitFollowUpResponses())};
_.f.submitFollowUpResponses=function(){if(0!==this.getOptionRenderers().length){if(this.isSingleSelect){if(!this.optionSelector.selectedItem)return;var a=[this.optionSelector.selectedItem.data.submissionEndpoint]}else{a=this.getOptionRenderers().filter(function(d){return d.checked});
if(0===a.length)return;a=a.map(function(d){return d.responseEndpoint})}var b=[];
a.forEach(function(d,e){0!==e&&d&&d.feedbackEndpoint&&d.feedbackEndpoint.feedbackToken&&b.push(d.feedbackEndpoint.feedbackToken)});
if(a=a[0]){var c={};0<b.length&&(c.extra_feedback_tokens=b);this.ytComponentBehavior.resolveCommand(a,{form:c})}}};
_.f.getOptionRenderers=function(){var a=this;return this.followUpSurveyCommand&&this.followUpSurveyCommand.followUpOptions?this.get("followUpSurveyCommand.followUpOptions").map(function(b){a.isSingleSelect=!!b.radioButtonSurveyOptionRenderer;return a.isSingleSelect?b.radioButtonSurveyOptionRenderer:b.checkboxSurveyOptionRenderer}):[]};
_.f.handleInlineSurveyOptionSelect=function(a){a=this.optionSelector.indexOf(a);-1!==a&&this.optionSelector.selectIndex(a)};
_.f.handleInlineSurveyOptionDeselect=function(){this.optionSelector.selectIndex(-1)};
_.t.Object.defineProperties(M3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-inline-survey-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_inline_survey_renderer.ytd.inline.survey.renderer.css.js--\x3e<div id="dismissible">\n  <div id="star-survey">\n    <div id="inline-survey-header">\n      <h2 class="header-text">\n        <span id="title">[[getSimpleString(data.title)]]</span>\n        <span id="subtitle">[[getSimpleString(data.subtitle)]]</span>\n      </h2>\n      <yt-icon-button hidden="[[expanded]]" label="[[getSimpleString(data.dismissalText)]]" on-tap="onDismissTap">\n        <yt-icon icon="yt-icons:close"></yt-icon>\n      </yt-icon-button>\n    </div>\n    <div id="inline-survey-compact-video-renderer"></div>\n    <div id="rating-survey"></div>\n  </div>\n  <div id="follow-up-survey" hidden="[[!expanded]]">\n    <div id="follow-up-header">\n      <h2 class="header-text">\n        <span id="follow-up-title">\n          [[getSimpleString(followUpSurveyCommand.followUpText)]]\n        </span>\n      </h2>\n    </div>\n    <iron-selector id="follow-up-survey-options" activate-event="" selected-attribute="checked">\n    </iron-selector>\n    <div id="submit-btn-footer">\n      <ytd-button-renderer id="submit-button" data="[[data.response.expandableSurveyResponseRenderer.submitButton.buttonRenderer]]" on-tap="onSubmitTap">\n      </ytd-button-renderer>\n    </div>\n  </div>\n</div>\n<div id="dismissed"></div>\n<div id="dismiss-button" hidden="[[!expanded]]">\n  <yt-icon-button label="[[getSimpleString(data.dismissalText)]]" on-tap="onDismissTap">\n    <yt-icon icon="yt-icons:close"></yt-icon>\n  </yt-icon-button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_inline_survey_renderer.ytd.inline.survey.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([is-dismissed]) #dismissible,:host([is-dismissed]) #dismiss-button,:host(:not([is-dismissed])) #dismissed {display: none;} :host([expanded]) #dismissible {background-color: var(--yt-spec-suggested-action);} :host([expanded]) #star-survey {padding-bottom: 16px;} #dismissible {margin: 24px 0;max-width: 1160px;width: 100%;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #inline-survey-header,#follow-up-header {-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #inline-survey-header:focus,#follow-up-header:focus {outline: none;} #inline-survey-header {margin-left: 16px;margin-bottom: 8px;} #follow-up-header {margin-bottom: 28px;padding-top: 8px;} #inline-survey-header yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;box-sizing: content-box;color: var(--yt-spec-call-to-action);height: 40px;padding: 4px;width: 40px;} #inline-survey-header .header-text,#follow-up-header .header-text {margin-top: 8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #title,#follow-up-title {color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;max-height: 4.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;} #subtitle {color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #inline-survey-compact-video-renderer {background-color: var(--yt-spec-brand-background-solid);margin-left: 16px;margin-right: 16px;padding: 8px;} #star-survey {background-color: var(--yt-spec-suggested-action);max-width: 430px;min-width: 430px;padding-bottom: 32px;padding-top: 8px;-ms-flex: 2;-webkit-flex: 2;flex: 2;} #rating-survey {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #follow-up-survey {padding-left: 16px;min-width: 300px;-ms-flex: 3;-webkit-flex: 3;flex: 3;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #follow-up-survey-options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} ytd-checkbox-survey-option-renderer {--paper-checkbox-unchecked-color: var(--yt-spec-call-to-action);--paper-checkbox-label-color: var(--yt-spec-call-to-action);--ytd-checkbox-survey-option-padding: 7px;background-color: var(--yt-spec-brand-background-solid);margin-bottom: 8px;margin-right: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} ytd-radio-button-survey-option-renderer {--paper-radio-button-unchecked-color: var(--yt-spec-call-to-action);--paper-radio-button-label-color: var(--yt-spec-call-to-action);--ytd-radio-button-survey-option-padding: 7px;background-color: var(--yt-spec-brand-background-solid);margin-bottom: 8px;margin-right: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #submit-btn-footer {margin-top: auto;padding-bottom: 16px;padding-top: 16px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dismissed {background-color: var(--yt-spec-suggested-action);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #dismissed:focus {outline: none;} #dismissed ytd-message-renderer {--yt-message-renderer-text-color: var(--yt-spec-call-to-action);-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #dismiss-button {background-color: var(--yt-spec-suggested-action);margin: 24px 0;} #dismiss-button yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;box-sizing: content-box;color: var(--yt-spec-call-to-action);height: 40px;margin-top: 8px;padding: 4px;width: 40px;} @media(max-width:640px) {#follow-up-header {padding-top: 0;}} @media(max-width:440px) {#star-survey {min-width: 380px;}} /*# sourceMappingURL=ytd-inline-survey-renderer.css.map*/</style>';
pLb=d}d=pLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qLb=a}a=qLb;return a}}});
var N3=M3;N3.prototype.handleRequestCompletion=N3.prototype.handleRequestCompletion;N3.prototype.dataChanged=N3.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],N3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],N3.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],N3.prototype,"ytComponentBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],N3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],N3.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.Z("#follow-up-survey-options"),_.T("design:type",Object)],N3.prototype,"optionSelector",void 0);_.S([_.N(),_.T("design:type",Object)],N3.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],N3.prototype,"followUpSurveyCommand",void 0);
_.S([_.N(),_.T("design:type",Object)],N3.prototype,"selectedRatingEndpoint",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],N3.prototype,"expanded",void 0);_.S([_.N(),_.T("design:type",Boolean)],N3.prototype,"isSingleSelect",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N3.prototype,"dataChanged",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N3.prototype,"handleRequestCompletion",null);N3=_.S([_.Q({is:"ytd-inline-survey-renderer"})],N3);
var xLb;
var yLb;
var O3=function(){return _.K.apply(this,arguments)||this};
_.q(O3,_.K);O3.prototype.configureRendererStamper=function(){return{"data.deleteButton":{id:"delete-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!0}}}}}};
_.t.Object.defineProperties(O3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===yLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-labs-edit-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.labs.ytd_labs_edit_renderer.ytd.labs.edit.renderer.css.js--\x3e<div id="contents">\n  <h2 id="title">[[getSimpleString(data.title)]]</h2>\n  <div id="delete-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.labs.ytd_labs_edit_renderer.ytd.labs.edit.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-solid);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #contents {margin: 0 24px;min-width: 727px;max-width: 976px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 24px 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host(:nth-last-child(2)) #contents {border-bottom: none;} #title {color: var(--yt-spec-text-primary);font-size: 3.2rem;font-weight: 500;line-height: 3.8rem;} #primary-button {margin-right: 16px;} /*# sourceMappingURL=ytd-labs-edit-renderer.css.map*/</style>";
xLb=d}d=xLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);yLb=a}a=yLb;return a}}});
var P3=O3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],P3.prototype,"data",void 0);P3=_.S([_.Q({asyncProperties:!0,is:"ytd-labs-edit-renderer"})],P3);
var zLb;
var ALb;
var Q3=function(){var a=_.K.apply(this,arguments)||this;a.dark=!1;a.headerBackgroundLight="https://www.gstatic.com/youtube/img/labs/early_access_web_background_expanded_2x.png";a.headerBackgroundDark="https://www.gstatic.com/youtube/img/labs/early_access_web_background_expanded_dark_2x.png";a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(Q3,_.K);Q3.prototype.configureRendererStamper=function(){return{"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
Q3.prototype.ready=function(){var a=document.documentElement.hasAttribute("dark");this.setBackgroundImage(a);this.dark=a};
Q3.prototype.onDarkModeToggledAction=function(a){this.setBackgroundImage(a);this.dark=a};
Q3.prototype.setBackgroundImage=function(a){this.updateStyles({"--yt-labs-header-background":"url("+(a?this.headerBackgroundDark:this.headerBackgroundLight)+")"})};
_.t.Object.defineProperties(Q3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ALb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-labs-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.labs.ytd_labs_header_renderer.ytd.labs.header.renderer.css.js--\x3e<div id="wrapper">\n  <div id="contents">\n    <div id="metadata">\n      <ytd-badge-supported-renderer disable-upgrade$="[[!data.badge]]" hidden="[[!data.badge]]" top-standalone-badge="[[data.badge]]">\n      </ytd-badge-supported-renderer>\n      <h3 id="title">[[getSimpleString(data.title)]]</h3>\n      <div id="text">[[getSimpleString(data.text)]]</div>\n      <div id="primary-button"></div>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.labs.ytd_labs_header_renderer.ytd.labs.header.renderer.css.js--\x3e<style>#wrapper {position: relative;height: 420px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #wrapper:before {content: "";background-color: var(--yt-spec-brand-background-solid);background-image: var(--yt-labs-header-background);background-position: center;background-repeat: no-repeat;background-size: auto 100%;position: absolute;top: 0;right: 0;bottom: 0;left: 0;} #contents {margin: 0 24px;min-width: 727px;max-width: 976px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([dark]) {background-color: #212121;} :host(:not([dark])) {background-color: #ffd600;} :host(:dir(rtl)) #wrapper:before {-webkit-transform: scale(-1,1);transform: scale(-1,1);} #metadata {width: 300px;margin: 64px 0 auto;z-index: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #badge {-ms-flex: none;-webkit-flex: none;flex: none;} #title {color: var(--yt-spec-text-primary);margin-top: 12px;font-size: 3.2rem;font-weight: 500;line-height: 3.8rem;} #text {color: var(--yt-spec-text-secondary);margin-top: 16px;font-size: 1.6rem;font-weight: 400;line-height: 2.8rem;} #primary-button {margin-top: 24px;} /*# sourceMappingURL=ytd-labs-header-renderer.css.map*/</style>';
zLb=d}d=zLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ALb=a}a=ALb;return a}}});
var R3=Q3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],R3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],R3.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R3.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],R3.prototype,"dark",void 0);
R3=_.S([_.Q({asyncProperties:!0,is:"ytd-labs-header-renderer"})],R3);
var BLb;
var CLb;
var S3=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-check-labs-opted-in-state":"onCheckLabsOptedInState","yt-manage-labs-state-command":"onManageLabsState"};return a};
_.q(S3,_.K);S3.prototype.configureRendererStamper=function(){return{"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!0}},toggleButtonRenderer:{component:"ytd-toggle-button-renderer",params:{buttonSize:"size-large"}}}},"data.feedbackButton":{id:"feedback-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{buttonSize:"size-large"}}}}}};
S3.prototype.onYtToggleButton=function(a){this.notifyPath("data.primaryButton.toggleButtonRenderer.isToggled",a.detail.toggled)};
S3.prototype.onManageLabsState=function(a){a.manageLabsStateCommand&&("LABS_STATE_TYPE_OVERRIDE_OPT_IN"===a.manageLabsStateCommand.stateChange&&this.data?a.manageLabsStateCommand.labsItemId!==this.data.labsItemId?this.set("data.primaryButton.toggleButtonRenderer.isToggled",!1):this.set("data.primaryButton.toggleButtonRenderer.isToggled",!0):this.data&&a.manageLabsStateCommand.labsItemId===this.data.labsItemId&&("LABS_STATE_TYPE_OPT_IN"===a.manageLabsStateCommand.stateChange?_.C(this,"yt-check-labs-opted-in-state").some(function(b){return b})?
this.data.confirmationDialogCommand&&_.Lg(this,[this.data.confirmationDialogCommand],this):(_.Kg(this,[this.data.optInCommand]),this.set("data.primaryButton.toggleButtonRenderer.isToggled",!0)):"LABS_STATE_TYPE_OPT_OUT"===a.manageLabsStateCommand.stateChange&&(_.Kg(this,[this.data.optOutCommand]),this.set("data.primaryButton.toggleButtonRenderer.isToggled",!1))))};
S3.prototype.onCheckLabsOptedInState=function(){var a=this.get("data.primaryButton.toggleButtonRenderer");return a?a.isToggled:!1};
_.t.Object.defineProperties(S3.prototype,{itemStyle:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.itemStyle}}});
_.t.Object.defineProperties(S3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===CLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-labs-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.labs.ytd_labs_item_renderer.ytd.labs.item.renderer.css.js--\x3e<div id="contents">\n  <div id="metadata">\n    <div id="badge" hidden="[[!data.badgeTitle]]">[[getSimpleString(data.badgeTitle)]]</div>\n    <h2 id="title">[[getSimpleString(data.title)]]</h2>\n    <div id="expiration-date">[[getSimpleString(data.expirationDate)]]</div>\n    <yt-formatted-string id="text" split-lines="" text="[[data.text]]"></yt-formatted-string>\n    <div id="buttons">\n      <div id="primary-button"></div>\n      <div id="feedback-button" hidden="[[!data.primaryButton.toggleButtonRenderer.isToggled]]">\n      </div>\n    </div>\n  </div>\n  <yt-img-shadow id="promo-image" thumbnail="[[data.promoImage]]" width="395">\n  </yt-img-shadow>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===BLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.labs.ytd_labs_item_renderer.ytd.labs.item.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-solid);min-height: 346px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([item-style=LABS_ITEM_STYLE_PROMO]) {background-color: var(--yt-spec-general-background-a);} #contents {margin: 0 24px;min-width: 727px;max-width: 976px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host(:nth-last-child(2)) #contents {border-bottom: none;} :host([item-style=LABS_ITEM_STYLE_PROMO]) #contents {border-bottom: none;} #metadata {margin: 60px 0;width: 350px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #badge {color: var(--yt-spec-brand-link-text);border-radius: 2px;border: solid 1px var(--yt-spec-brand-link-text);padding: 5px 8px;margin-bottom: 10px;margin-right: auto;text-transform: uppercase;font-size: 1.6em;font-weight: 500;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} #title {color: var(--yt-spec-text-primary);font-size: 3.2rem;font-weight: 500;line-height: 3.8rem;} #expiration-date {color: var(--yt-spec-themed-green);margin-top: 8px;font-size: 1.6rem;font-weight: 400;line-height: 2.8rem;} #text {color: var(--yt-spec-text-primary);margin-top: 12px;font-size: 1.6rem;font-weight: 400;line-height: 2.8rem;} #buttons {margin-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #primary-button {margin-right: 16px;} #promo-image {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([item-style=LABS_ITEM_STYLE_PROMO]) #promo-image {display: none;} /*# sourceMappingURL=ytd-labs-item-renderer.css.map*/</style>";
BLb=d}d=BLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);CLb=a}a=CLb;return a}}});
var T3=S3;T3.prototype.onYtToggleButton=T3.prototype.onYtToggleButton;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],T3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],T3.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],T3.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],T3.prototype,"itemStyle",null);_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],T3.prototype,"onYtToggleButton",null);T3=_.S([_.Q({asyncProperties:!0,is:"ytd-labs-item-renderer"})],T3);
var DLb;
var ELb;
var FLb;
var GLb;
var HLb=function(){return _.K.apply(this,arguments)||this};
_.q(HLb,_.K);
_.t.Object.defineProperties(HLb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===GLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-live-chat-history-new-sponsor-chip-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.live_chat.ytd_live_chat_history_new_sponsor_chip_renderer.ytd.live.chat.history.new.sponsor.chip.renderer.css.js--\x3e<yt-formatted-string text="[[data.newSponsorMessage]]"></yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===FLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.live_chat.ytd_live_chat_history_new_sponsor_chip_renderer.ytd.live.chat.history.new.sponsor.chip.renderer.css.js--\x3e<style>:host {height: 24px;min-width: 16px;border-radius: 12px;padding: 0 12px;background-color: var(--yt-spec-themed-green);color: var(--yt-spec-static-brand-white);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} /*# sourceMappingURL=ytd-live-chat-history-new-sponsor-chip-renderer.css.map*/</style>";
FLb=d}d=FLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);GLb=a}a=GLb;return a}}});
var U3=HLb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],U3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],U3.prototype,"data",void 0);U3=_.S([_.Q({asyncProperties:!0,is:"ytd-live-chat-history-new-sponsor-chip-renderer"})],U3);
var ILb;
var JLb;
var V3=function(){return _.K.apply(this,arguments)||this};
_.q(V3,_.K);V3.prototype.observeSuperchatChip=function(a){a&&(a={"--yt-live-chat-history-super-chat-chip-renderer-background-color":this.colorFromDecimal(a.backgroundColor),"--yt-live-chat-history-super-chat-chip-renderer-text-color":this.colorFromDecimal(a.textColor)},this.updateStyles(a))};
V3.prototype.colorFromDecimal=function(a){return _.bv(Number(a||0))};
_.t.Object.defineProperties(V3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-live-chat-history-super-chat-chip-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.live_chat.ytd_live_chat_history_super_chat_chip_renderer.ytd.live.chat.history.super.chat.chip.renderer.css.js--\x3e<yt-formatted-string text="[[data.purchaseAmountText]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ILb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.live_chat.ytd_live_chat_history_super_chat_chip_renderer.ytd.live.chat.history.super.chat.chip.renderer.css.js--\x3e<style>:host {height: 24px;min-width: 16px;border-radius: 12px;padding: 0 12px;background-color: var(--yt-live-chat-history-super-chat-chip-renderer-background-color);color: var(--yt-live-chat-history-super-chat-chip-renderer-text-color);display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} /*# sourceMappingURL=ytd-live-chat-history-super-chat-chip-renderer.css.map*/</style>";
ILb=d}d=ILb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JLb=a}a=JLb;return a}}});
var W3=V3;W3.prototype.observeSuperchatChip=W3.prototype.observeSuperchatChip;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],W3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],W3.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],W3.prototype,"observeSuperchatChip",null);W3=_.S([_.Q({asyncProperties:!0,is:"ytd-live-chat-history-super-chat-chip-renderer"})],W3);
var X3=function(){return _.K.apply(this,arguments)||this};
_.q(X3,_.K);X3.prototype.configureRendererStamper=function(){return{"data.deleteButton":{id:"delete-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.chip":{id:"chips",mapping:{liveChatHistorySuperChatChipRenderer:"ytd-live-chat-history-super-chat-chip-renderer",liveChatHistoryNewSponsorChipRenderer:"ytd-live-chat-history-new-sponsor-chip-renderer"}}}};
_.t.Object.defineProperties(X3.prototype,{hideMessageBlock:{configurable:!0,enumerable:!0,get:function(){return!!this.data&&!this.data.charityName&&!!this.data.chip}}});
_.t.Object.defineProperties(X3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ELb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-live-chat-history-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.live_chat.ytd_live_chat_history_entry_renderer.ytd.live.chat.history.entry.renderer.css.js--\x3e<div id="content">\n  <div id="text">\n    <yt-formatted-string id="title" text="[[data.videoTitle]]"></yt-formatted-string>\n    <div id="chip-container">\n      <div id="superchat-container" hidden="[[!data.chip]]">\n        <span id="chips"></span>\n        <yt-formatted-string id="charity-name" text="[[data.charityName]]">\n        </yt-formatted-string>\n        <yt-formatted-string id="sc4g-message" hidden="[[data.charityName]]" text="[[data.message]]">\n        </yt-formatted-string>\n      </div>\n      <yt-formatted-string id="message" hidden="[[hideMessageBlock]]" text="[[data.message]]">\n      </yt-formatted-string>\n    </div>\n    <div id="sticker">\n      <yt-img-shadow height="64" hidden="[[!data.stickerThumbnail]]" thumbnail="[[data.stickerThumbnail]]" width="64">\n      </yt-img-shadow>\n    </div>\n    <span id="timestamp">[[getSimpleString(data.timestamp)]]</span>\n  </div>\n  <div id="delete-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===DLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.live_chat.ytd_live_chat_history_entry_renderer.ytd.live.chat.history.entry.renderer.css.js--\x3e<style>:host {display: block;margin: 24px 40px 32px 0;} :host([is-dismissed]) {display: none;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #text {width: 600px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #title {--yt-endpoint-color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #text>* {display: block;margin: 8px;} #message-container {margin: 8px;} #message,#sc4g-message {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #superchat-container {padding-bottom: 8px;} #charity-name {color: var(--yt-spec-text-secondary);} #sc4g-message {vertical-align: bottom;} #timestamp {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host(:not(:hover)) #delete-button {opacity: 0;} #chips>* {margin-right: 8px;} /*# sourceMappingURL=ytd-live-chat-history-entry-renderer.css.map*/</style>';
DLb=d}d=DLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ELb=a}a=ELb;return a}}});
var Y3=X3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Y3.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Y3.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],Y3.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Y3.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],Y3.prototype,"hideMessageBlock",null);
Y3=_.S([_.Q({asyncProperties:!0,is:"ytd-live-chat-history-entry-renderer"})],Y3);
var KLb;
var LLb;
var MLb=function(){return _.K.apply(this,arguments)||this};
_.q(MLb,_.K);
_.t.Object.defineProperties(MLb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-options-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_channel_options_renderer.ytd.channel.options.renderer.css.js--\x3e<div id="channel-info" hidden="[[!data.name]]">\n  <a class="yt-simple-endpoint" href$="[[computeHref_(data.avatarEndpoint)]]" data="[[data.avatarEndpoint]]" aria-label$="[[data.avatarAccessibility.accessibilityData.label]]">\n    <yt-img-shadow height="50" thumbnail="[[data.avatar]]" width="50">\n    </yt-img-shadow>\n  </a>\n  <div id="channel-info-text">\n    <div id="name">[[data.name]]</div>\n  </div>\n</div>\n<template is="dom-repeat" items="[[data.links]]">\n  <yt-formatted-string class="link" force-default-style="" split-lines="" text="[[item]]">\n  </yt-formatted-string>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_channel_options_renderer.ytd.channel.options.renderer.css.js--\x3e<style>#channel-info {padding-top: 4px;padding-bottom: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #channel-info-text {padding: 6px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .link {display: block;padding-left: 4px;padding-bottom: 8px;} yt-img-shadow {border-radius: 50%;overflow: hidden;margin-right: 20px;} .link {color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #name {color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-channel-options-renderer.css.map*/</style>';
KLb=d}d=KLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LLb=a}a=LLb;return a}}});
var Z3=MLb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Z3.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z3.prototype,"data",void 0);Z3=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-options-renderer"})],Z3);
var NLb;
var OLb;
var $3=function(){return _.K.apply(this,arguments)||this};
_.q($3,_.K);$3.prototype.configureRendererStamper=function(){return{"data.resumeButton":{id:"resume-button",mapping:{buttonRenderer:"ytd-button-renderer",toggleButtonRenderer:"ytd-toggle-button-renderer"}}}};
_.t.Object.defineProperties($3,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===OLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-email-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_email_item_renderer.ytd.settings.email.item.renderer.css.js--\x3e<div id="info">\n  <yt-img-shadow height="36" hidden="[[!data.avatar]]" thumbnail="[[data.avatar]]" width="36">\n  </yt-img-shadow>\n  <div id="title">[[getSimpleString(data.title)]]</div>\n</div>\n<div id="button-container">\n  <div id="resume-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===NLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_email_item_renderer.ytd.settings.email.item.renderer.css.js--\x3e<style>:host {padding: 8px 4px;border: 1px solid var(--yt-spec-10-percent-layer);border-top: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} yt-img-shadow {border-radius: 50%;overflow: hidden;margin-right: 16px;} #info {padding-left: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-secondary);-ms-align-self: center;-webkit-align-self: center;align-self: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-settings-email-item-renderer.css.map*/</style>';
NLb=d}d=NLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);OLb=a}a=OLb;return a}}});
var a4=$3;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],a4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],a4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],a4.prototype,"data",void 0);a4=_.S([_.Q({asyncProperties:!0,is:"ytd-settings-email-item-renderer"})],a4);
var PLb;
var QLb;
var b4=function(){return _.K.apply(this,arguments)||this};
_.q(b4,_.K);b4.prototype.configureRendererStamper=function(){return{"data.options":{id:"options",mapping:{settingsEmailItemRenderer:{component:"ytd-settings-email-item-renderer",noInjection:!0}}},"data.resumeButton":{id:"resume-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
b4.prototype.getExpansionIcon=function(a){return a?"arrow_drop_up":"arrow_drop_down"};
b4.prototype.onToggleListExpansion=function(){this.expanded=!this.expanded};
_.t.Object.defineProperties(b4.prototype,{emailListExpanded:{configurable:!0,enumerable:!0,get:function(){return this.expanded?"true":"false"}}});
_.t.Object.defineProperties(b4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===QLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-email-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_email_list_renderer.ytd.settings.email.list.renderer.css.js--\x3e<div id="header">\n  <tp-yt-paper-button id="list-expansion" aria-expanded$="[[emailListExpanded]]" aria-label$="[[getSimpleString(data.title)]]" noink="" on-tap="onToggleListExpansion">\n    <div id="title">[[getSimpleString(data.title)]]</div>\n    <yt-icon id="help-icon" hidden="[[!data.helpText]]" icon="yt-icons:help"></yt-icon>\n    <tp-yt-paper-tooltip for="help-icon" hidden="[[!data.helpText]]" offset="5" position="top">\n      [[getSimpleString(data.helpText)]]\n    </tp-yt-paper-tooltip>\n    <yt-icon class="expand-icon" icon="[[getExpansionIcon(expanded)]]"></yt-icon>\n  </tp-yt-paper-button>\n  <div id="button-container" hidden="[[!data.resumeButton]]" on-tap="onResumeAll">\n    <div id="resume-button"></div>\n  </div>\n</div>\n<div id="content">\n  <div id="options"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===PLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_email_list_renderer.ytd.settings.email.list.renderer.css.js--\x3e<style>:host {margin: 16px 0 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #list-expansion {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;} #header {justify-content: space-between;border: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-primary);padding: 0 4px 0 12px;-ms-align-self: center;-webkit-align-self: center;align-self: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #content {display: none;} :host([expanded]) #content {display: inline-block;} yt-icon {-ms-align-self: center;-webkit-align-self: center;align-self: center;} .expand-icon {color: var(--yt-spec-text-primary);} #help-icon {height: 20px;padding-right: 12px;color: var(--yt-spec-icon-inactive);} tp-yt-paper-button {text-transform: none;margin: 0;padding: 20px 8px;} /*# sourceMappingURL=ytd-settings-email-list-renderer.css.map*/</style>';
PLb=d}d=PLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);QLb=a}a=QLb;return a}}});
var c4=b4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],c4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],c4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],c4.prototype,"data",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],c4.prototype,"expanded",void 0);
_.S([_.V("expanded"),_.T("design:type",String),_.T("design:paramtypes",[])],c4.prototype,"emailListExpanded",null);_.S([_.Z("#options"),_.T("design:type",a4)],c4.prototype,"options",void 0);c4=_.S([_.Q({asyncProperties:!0,is:"ytd-settings-email-list-renderer"})],c4);
var RLb;
var SLb;
var d4=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-signal-action-submit-form":"handleSignalActionSubmitForm"};return a};
_.q(d4,_.K);d4.prototype.configureRendererStamper=function(){return{"data.form":{id:"username-password-form",mapping:{formRenderer:"yt-form-renderer"}},"data.claimButton":{id:"claim-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
d4.prototype.handleSignalActionSubmitForm=function(){var a,b=null==(a=this.formRenderer)?void 0:a.getForm();b&&_.Kg(this,[this.data.serviceEndpoint,b])};
_.t.Object.defineProperties(d4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===SLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-gaia-link-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_gaia_link_renderer.ytd.settings.gaia.link.renderer.css.js--\x3e<div id="form-container">\n  <div id="username-password-form"></div>\n  <div id="claim-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===RLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_gaia_link_renderer.ytd.settings.gaia.link.renderer.css.js--\x3e<style>:host {display: block;--paper-input-error: {overflow: visible;};} #form-container {padding: 16px 24px;width: 214px;} #username-password-form>yt-form-renderer {display: block;} #claim-button {padding: 24px 0;} /*# sourceMappingURL=ytd-settings-gaia-link-renderer.css.map*/</style>";
RLb=d}d=RLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);SLb=a}a=SLb;return a}}});
var e4=d4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],e4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],e4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],e4.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],e4.prototype,"data",void 0);_.S([_.Z("yt-form-renderer"),_.T("design:type",_.MI)],e4.prototype,"formRenderer",void 0);
e4=_.S([_.Q({is:"ytd-settings-gaia-link-renderer"})],e4);
var TLb;
var ULb;
var f4=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-settings-update-options-command":"handleUpdateOptionsCommand"};return a};
_.q(f4,_.K);f4.prototype.dataChanged=function(){this.data&&this.data.id&&"SETTINGS_OPTIONS_ID_TYPE_AV1_OPTIONS"===this.data.id&&_.e5a()&&this.set("data.hidden",!1)};
f4.prototype.onSwitchReady=function(){var a=this;this.data&&this.data.id&&"SETTINGS_OPTIONS_ID_TYPE_PUSH_NOTIFICATIONS_ENABLED"===this.data.id&&_.x("service_worker_push_enabled")&&navigator.serviceWorker.ready.then(function(){_.i5a().then(function(b){b&&("default"===Notification.permission?a.set("data.hidden",!1):"granted"===Notification.permission&&_.fI("NotificationsDisabled").then(function(c){c||_.C(a,"yt-toggle-settings-switch",[a.data.id]);a.set("data.hidden",!1)}).catch(function(){}))})})};
f4.prototype.configureRendererStamper=function(){return{"data.options":{id:"options",mapping:{channelOptionsRenderer:{component:"ytd-channel-options-renderer",noInjection:!0},copyLinkRenderer:{component:"yt-copy-link-renderer",noInjection:!0},dropdownRenderer:{component:"ytd-dropdown-renderer",params:{hasBackground:!0,verticalAlign:"bottom",noUnderline:!0},noInjection:!0},settingsCheckboxRenderer:{component:"ytd-settings-checkbox-renderer",noInjection:!0},settingsEmailListRenderer:{component:"ytd-settings-email-list-renderer",
noInjection:!0},settingsGaiaLinkRenderer:{component:"ytd-settings-gaia-link-renderer",noInjection:!0},settingsRadioOptionRenderer:{component:"ytd-settings-radio-option-renderer",noInjection:!0},settingsSwitchRenderer:{component:"ytd-settings-switch-renderer",noInjection:!0},connectedAppRenderer:{component:"ytd-connected-app-renderer",noInjection:!0}}}}};
f4.prototype.handleUpdateOptionsCommand=function(a){a.settingsUpdateOptionsCommand&&this.data&&this.data.id===a.settingsUpdateOptionsCommand.id&&(this.set("data.hidden",a.settingsUpdateOptionsCommand.hidden),void 0!==a.settingsUpdateOptionsCommand.text&&this.set("data.text",a.settingsUpdateOptionsCommand.text),a.settingsUpdateOptionsCommand.clearOptions&&this.set("data.options",[]))};
_.t.Object.defineProperties(f4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ULb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-options-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_options_renderer.ytd.settings.options.renderer.css.js--\x3e<div id="section" hidden="[[data.hidden]]">\n  <div id="title">[[getSimpleString(data.title)]]</div>\n  <div id="content">\n    <div id="options"></div>\n    <yt-formatted-string id="text" force-default-style="" hidden="[[!data.text]]" split-lines="" text="[[data.text]]">\n    </yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===TLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_options_renderer.ytd.settings.options.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #section {padding: 20px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {width: 160px;min-width: 160px;margin-right: 56px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #text {--yt-formatted-string-bold-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-settings-checkbox-renderer:last-child {margin-bottom: 4px;} ytd-dropdown-renderer {min-width: 240px;max-width: 280px;margin-bottom: 8px;} /*# sourceMappingURL=ytd-settings-options-renderer.css.map*/</style>';
TLb=d}d=TLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ULb=a}a=ULb;return a}}});
var g4=f4;g4.prototype.onSwitchReady=g4.prototype.onSwitchReady;g4.prototype.dataChanged=g4.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],g4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],g4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],g4.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],g4.prototype,"data",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],g4.prototype,"dataChanged",null);_.S([_.O("yt-settings-switch-ready"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],g4.prototype,"onSwitchReady",null);g4=_.S([_.Q({asyncProperties:!0,is:"ytd-settings-options-renderer"})],g4);
var VLb;
var WLb;
var h4=function(){return _.K.apply(this,arguments)||this};
_.q(h4,_.K);h4.prototype.onYtExpanderMoreTapped=function(){this.data&&this.ytRendererBehavior.logExplicitClick(this.data)};
h4.prototype.configureRendererStamper=function(){return{"data.attributionLinkButtonRenderer":{id:"attribution-link-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{disableTextTransform:!0}}}}}};
_.t.Object.defineProperties(h4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===WLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-description-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_description_renderer.ytd.product.details.description.renderer.css.js--\x3e<div class="container">\n  <div class="description-row row">\n      <ytd-expander id="expander" hidden="[[!data.description]]" max-number-of-lines="4" recompute-on-resize="">\n        <div class="description" slot="content">[[data.description]]\n        </div>\n        <span id="attribution-link-button" slot="sticky-secondary" hidden="[[!data.attributionLinkButtonRenderer]]"></span>\n        <span class="more-button" slot="more-button">[[getSimpleString(data.moreButtonRenderer.buttonRenderer.text)]]</span>\n        <span class="less-button" slot="less-button">[[getSimpleString(data.lessButtonRenderer.buttonRenderer.text)]]</span>\n      </ytd-expander>\n    </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===VLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_description_renderer.ytd.product.details.description.renderer.css.js--\x3e<style>.row {display: flex;flex-direction: row;} .description-row {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .more-button,.less-button {text-transform: none;color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .description {white-space: pre-line;} #attribution-link-button ytd-button-renderer {--iron-icon-height: 20px;--iron-icon-width: 20px;--yt-button-icon-padding: 4px;--yt-button-padding: 0px 0px;--yt-button-margin: 0px 8px;--yt-paper-button-height: 20px;vertical-align: top;} /*# sourceMappingURL=ytd-product-details-description-renderer.css.map*/</style>';
VLb=d}d=VLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);WLb=a}a=WLb;return a}}});
var i4=h4;i4.prototype.onYtExpanderMoreTapped=i4.prototype.onYtExpanderMoreTapped;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],i4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],i4.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],i4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],i4.prototype,"data",void 0);
_.S([_.O("yt-expander-more-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],i4.prototype,"onYtExpanderMoreTapped",null);i4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-description-renderer"})],i4);
var XLb;
var YLb;
var j4=function(){var a=_.K.apply(this,arguments)||this;a.shippingIcon="https://www.gstatic.com/images/icons/material/system/1x/local_shipping_grey600_48dp.png";a.shippingAddressIcon="https://www.gstatic.com/images/icons/material/system/1x/location_on_grey600_48dp.png";a.googleGuaranteeIcon="https://www.gstatic.com/images/icons/material/system/1x/google_guarantee_grey600_48dp.png";a.returnPolicyIcon="https://www.gstatic.com/images/icons/material/system/1x/undo_grey600_48dp.png";return a};
_.q(j4,_.K);_.t.Object.defineProperties(j4.prototype,{showAdditionalFees:{configurable:!0,enumerable:!0,get:function(){var a,b;return""!==(null==(a=this.data)?void 0:null==(b=a.offerData)?void 0:b.additionalFeesText)}},
showPurchaseData:{configurable:!0,enumerable:!0,get:function(){var a;return!!this.formattedFromMerchantText&&!(null==(a=this.data)||!a.purchaseButtonRenderer)}}});
_.t.Object.defineProperties(j4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===YLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-hero-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_hero_offer_renderer.ytd.product.details.hero.offer.renderer.css.js--\x3e<div class="price-and-action-row row" hidden="[[!showPurchaseData]]">\n  <div class="price-column">\n    <div class="price">\n      <span class="item-price">[[data.offerData.price]]</span>\n      <template is="dom-if" restamp="" if="[[showAdditionalFees]]">\n        <span class="additional-fees">[[data.offerData.additionalFeesText]]</span>\n      </template>\n    </div>\n    <div class="offer-title">[[data.offerData.title]]</div>\n    \n    <template is="dom-if" restamp="" if="[[!data.shippingDetails]]">\n      <div class="merchant-row row">\n        <div class="logo">\n          <img src$="[[data.offerData.vendorLogoUrl]]" alt="" class="logo-url" onerror="this.style.visibility=\'hidden\';">\n        </div>\n        <yt-formatted-string text="[[formattedFromMerchantText]]">\n      </yt-formatted-string></div>\n    </template>\n    <template is="dom-if" restamp="" if="[[data.shippingDetails]]">\n      <div class="shipping-details row">\n        <div class="shipping-details-inner column">\n          <div class="row shipping-details-inner-row secondary-color">\n            <div class="logo">\n              <img src$="[[data.offerData.vendorLogoUrl]]" alt="" class="logo-url" onerror="this.style.visibility=\'hidden\';">\n            </div>\n            <yt-formatted-string text="[[formattedFromMerchantText]]">\n          </yt-formatted-string></div>\n          <template is="dom-if" restamp="" if="[[data.shippingDetails.shippingDate]]">\n            <div id="date-and-price" class="row shipping-details-inner-row">\n              <div class="logo">\n                <img src$="[[shippingIcon]]" alt="" class="logo-url" onerror="this.style.visibility=\'hidden\';">\n              </div>\n              <yt-formatted-string text="[[data.shippingDetails.shippingDate]]">\n            </yt-formatted-string></div>\n          </template>\n          <template is="dom-if" restamp="" if="[[data.shippingDetails.returnPolicy]]">\n            <div id="return-policy" class="row shipping-details-inner-row">\n              <div class="logo">\n                <img src$="[[returnPolicyIcon]]" alt="" class="logo-url" onerror="this.style.visibility=\'hidden\';">\n              </div>\n              <yt-formatted-string text="[[data.shippingDetails.returnPolicy]]">\n            </yt-formatted-string></div>\n          </template>\n          <template is="dom-if" restamp="" if="[[data.shippingDetails.shippingAddress]]">\n            <div id="shipping-address" class="row shipping-details-inner-row">\n              <div class="logo">\n                <img src$="[[shippingAddressIcon]]" alt="" class="logo-url" onerror="this.style.visibility=\'hidden\';">\n              </div>\n              <yt-formatted-string text="[[data.shippingDetails.shippingAddress]]">\n            </yt-formatted-string></div>\n          </template>\n          <template is="dom-if" restamp="" if="[[data.shoutoutText]]">\n            <div id="google-guarantee" class="row shipping-details-inner-row">\n              <div class="logo">\n                <img src$="[[googleGuaranteeIcon]]" alt="" class="logo-url" onerror="this.style.visibility=\'hidden\';">\n              </div>\n              <span class="shoutout-text secondary-color">[[data.shoutoutText]]</span>\n              <ytd-button-renderer class="google-guarantee-info" data="[[data.shoutoutButtonRenderer.buttonRenderer]]">\n              </ytd-button-renderer>\n            </div>\n          </template>\n        </div>\n      </div>\n    </template>\n  </div>\n  <div class="action-column">\n    <ytd-button-renderer id="primary-purchase-button" data="[[data.purchaseButtonRenderer.buttonRenderer]]">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===XLb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_hero_offer_renderer.ytd.product.details.hero.offer.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);} .price-and-action-row {flex-wrap: wrap;justify-content: flex-end;} .column {display: flex;flex-direction: column;flex-grow: 1;} .row {display: flex;flex-direction: row;} .google-guarantee-info {--yt-icon-button-icon-height: 20px;--yt-icon-button-icon-width: 20px;--yt-button-icon-size: 20px;--yt-button-icon-padding: 0px;margin-left: 8px;} .merchant-row {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);display: flex;flex-direction: row;align-items: center;margin-top: 8px;} .logo {width: 24px;height: 24px;margin: 0 8px 0 0;border-radius: 12px;background-color: var(--yt-spec-general-background-b);} .logo-url {width: 24px;height: 24px;border-radius: 12px;background-color: var(--yt-spec-general-background-a);} .action-column {display: flex;flex-direction: column;align-items: center;} .price-column {flex-grow: 1;margin-right: 24px;} .price {display: flex;flex-direction: row;align-items: center;} .item-price {white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} .additional-fees {margin-left: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);} .offer-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);margin-top: 5px;max-width: 340px;} .shipping-details {margin-top: 8px;} .shipping-details-inner-row {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;margin-bottom: 8px;align-items: center;} .shipping-details-inner {margin-bottom: -8px;} .secondary-color {color: var(--yt-spec-text-secondary);} @media(max-width:971px) {.offer-title {max-width: 100%;}} @media(max-width:1185px),(min-width:1328px) and (max-width:1353px) {.row.price-and-action-row {flex-direction: column;}.row.price-and-action-row .price-column {margin-bottom: 16px;margin-right: 0;}} /*# sourceMappingURL=ytd-product-details-hero-offer-renderer.css.map*/</style>';
XLb=d}d=XLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);YLb=a}a=YLb;return a}}});
var k4=j4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],k4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],k4.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],k4.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],k4.prototype,"formattedFromMerchantText",void 0);_.S([_.N({type:String}),_.T("design:type",Object)],k4.prototype,"shippingIcon",void 0);
_.S([_.N({type:String}),_.T("design:type",Object)],k4.prototype,"shippingAddressIcon",void 0);_.S([_.N({type:String}),_.T("design:type",Object)],k4.prototype,"googleGuaranteeIcon",void 0);_.S([_.N({type:String}),_.T("design:type",Object)],k4.prototype,"returnPolicyIcon",void 0);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],k4.prototype,"showAdditionalFees",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],k4.prototype,"showPurchaseData",null);
k4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-hero-offer-renderer"})],k4);
var ZLb;
var $Lb;
var aMb;
var bMb;
var l4=function(){return _.K.apply(this,arguments)||this};
_.q(l4,_.K);_.f=l4.prototype;_.f.attached=function(){this.addEventListener("click",this.handleSelection);this.addEventListener("mouseenter",this.onMouseEnterImage);this.addEventListener("mouseleave",this.onMouseLeaveImage)};
_.f.onKeyDown=function(a){a=a.keyCode;13!==a&&32!==a||this.handleSelection()};
_.f.onMouseEnterImage=function(){var a;void 0!==(null==(a=this.data)?void 0:a.thumbnailDetails)&&_.Jg(this,"ytd-product-details-variant-image-select",[this.data.thumbnailDetails])};
_.f.onMouseLeaveImage=function(){_.Jg(this,"ytd-product-details-variant-image-unselect")};
_.f.handleSelection=function(){this.data&&this.fire("ytd-product-details-thumbnail-renderer-selected",this.data.index)};
_.t.Object.defineProperties(l4.prototype,{isSelected:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.isSelected}}});
_.t.Object.defineProperties(l4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-thumbnail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_thumbnail_renderer.ytd.product.details.thumbnail.renderer.css.js--\x3e<div id="product-card-renderer-container">\n  <div id="card">\n    <div hidden="[[!isSelected]]" id="card-selection-overlay"></div>\n    <div id="card-overlay"></div>\n    <yt-img-shadow id="card-image" aria-label="[[data.thumbnailDetails.accessibility.accessibilityData.label]]" object-fit="CONTAIN" thumbnail="[[data.thumbnailDetails]]" width="56px">\n    </yt-img-shadow>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_thumbnail_renderer.ytd.product.details.thumbnail.renderer.css.js--\x3e<style>:host {--yt-img-max-height: 100%;width: 56px;} :host:focus {outline: none;} :host:focus #card-overlay {border-color: rgba(0,0,0,0.6);} #product-card-renderer-container {display: block;background-color: var(--yt-spec-static-brand-white);} #card {position: relative;overflow: hidden;width: auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #card-selection-overlay {position: absolute;top: 0;right: 0;bottom: 0;left: 0;background: var(--yt-spec-static-overlay-background-medium-light);box-sizing: border-box;} #card-overlay {position: absolute;top: 0;right: 0;bottom: 0;left: 0;border: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;cursor: pointer;} #card-image {width: 56px;height: 56px;} /*# sourceMappingURL=ytd-product-details-thumbnail-renderer.css.map*/</style>";
aMb=d}d=aMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bMb=a}a=bMb;return a}}});
var m4=l4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m4.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],m4.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],m4.prototype,"isSelected",null);m4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-thumbnail-renderer"})],m4);
var n4=function(){var a=_.K.apply(this,arguments)||this;var b={};a.actionMap=(b["ytd-product-details-variant-image-select"]="handlePreviewImageSelect",b["ytd-product-details-variant-image-unselect"]="handlePreviewImageDeselect",b);a.selectedThumbnailIndex=0;a.selectItem=function(c){c.target.onKeyDown(c)};
return a};
_.q(n4,_.K);_.f=n4.prototype;_.f.handlePreviewImageSelect=function(a){this.hoverThumbnail=a};
_.f.handlePreviewImageDeselect=function(){this.hoverThumbnail=void 0};
_.f.configureRendererStamper=function(){return{"populatedData.imageRenderer":{id:"items",mapping:{productDetailsThumbnailRenderer:{component:"ytd-product-details-thumbnail-renderer",attributes:{role:"option"}}}}}};
_.f.onThumbnailSelected=function(a,b){this.selectedThumbnailIndex=b};
_.f.dataChanged=function(){this.ytdHorizontalListBehavior.reset();this.selectedThumbnailIndex=0};
_.f.updateOffset=function(){this.ytdHorizontalListBehavior.offset_=Math.max(0,Math.min(this.ytdHorizontalListBehavior.offset_,this.items.clientWidth-this.$["scroll-container"].clientWidth));this.ytdHorizontalListBehavior.reposition_()};
_.t.Object.defineProperties(n4.prototype,{showThumbnails:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)?0:a.imageRenderer){var b,c;return 1<(null==(b=this.data)?void 0:null==(c=b.imageRenderer)?void 0:c.length)}return!1}},
thumbnailDetails:{configurable:!0,enumerable:!0,get:function(){if(void 0!==this.hoverThumbnail)return this.hoverThumbnail;var a;if(null==(a=this.data)?0:a.imageRenderer){var b,c;return null==(b=this.data.imageRenderer[this.selectedThumbnailIndex])?void 0:null==(c=b.productDetailsThumbnailRenderer)?void 0:c.thumbnailDetails}}},
populatedData:{configurable:!0,enumerable:!0,get:function(){var a=this,b,c,d,e=null!=(d=null==(b=this.data)?void 0:null==(c=b.imageRenderer)?void 0:c.map(function(h,l){return{productDetailsThumbnailRenderer:Object.assign({},h.productDetailsThumbnailRenderer,{index:l,isSelected:l===a.selectedThumbnailIndex})}}))?d:[];
return Object.assign({},this.data,{imageRenderer:e})}}});
_.t.Object.defineProperties(n4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$Lb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-image-carousel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_image_carousel_renderer.ytd.product.details.image.carousel.renderer.css.js--\x3e<div class="preview">\n  <template is="dom-if" restamp="" if="[[thumbnailDetails]]">\n    <yt-img-shadow class="preview-image" object-fit="CONTAIN" thumbnail="[[thumbnailDetails]]" width="512"></yt-img-shadow>\n  </template>\n</div>\n<div id="main" class="main" hidden="[[!showThumbnails]]">\n  <div id="left-arrow-container" class="left-arrow-container">\n    <div id="left-arrow" class="arrow" on-click="prevClick_" hidden="[[atStart]]">\n       <yt-icon icon="yt-icons:chevron_left"></yt-icon>\n    </div>\n  </div>\n  <div id="scroll-container">\n    <tp-yt-paper-listbox id="items" on-keydown="selectItem"></tp-yt-paper-listbox>\n  </div>\n  <div id="right-arrow-container" class="right-arrow-container">\n    <div id="right-arrow" class="arrow" on-click="nextClick_" hidden="[[atEnd]]">\n       <yt-icon icon="yt-icons:chevron_right"></yt-icon>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ZLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_image_carousel_renderer.ytd.product.details.image.carousel.renderer.css.js--\x3e<style>:host {display: block;height: var(--yt-horizontal-list-renderer-height,auto);position: relative;width: 100%;} .main {display: flex;margin-top: 16px;width: var(--yt-horizontal-list-renderer-width,auto);} .preview {display: flex;justify-content: center;align-items: center;background-color: var(--yt-spec-static-brand-white);} .preview-image {height: 512px;width: var(--yt-horizontal-list-renderer-width,auto);} #scroll-container {overflow: hidden;} #items {transition-duration: 0.15s;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;padding: 0;background: transparent;} #items>ytd-product-details-thumbnail-renderer {padding-right: 8px;display: inline-block;vertical-align: top;white-space: normal;} .left-arrow-container,.right-arrow-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;align-items: center;display: flex;flex-direction: row;position: relative;z-index: 200;} .arrow {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;background-color: var(--yt-spec-general-background-c);border-radius: 24px;box-shadow: 0 4px 4px var(--yt-spec-10-percent-layer),0 0 8px var(--yt-spec-10-percent-layer);color: var(--yt-spec-icon-inactive);cursor: pointer;height: 40px;width: 40px;} /*# sourceMappingURL=ytd-product-details-image-carousel-renderer.css.map*/</style>";
ZLb=d}d=ZLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$Lb=a}a=$Lb;return a}}});
var o4=n4;o4.prototype.updateOffset=o4.prototype.updateOffset;o4.prototype.dataChanged=o4.prototype.dataChanged;o4.prototype.onThumbnailSelected=o4.prototype.onThumbnailSelected;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],o4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],o4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.vy),_.T("design:type",Object)],o4.prototype,"ytdHorizontalListBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],o4.prototype,"componentBehavior",void 0);_.S([_.L([_.Y.YtActionHandlerBehavior]),_.T("design:type",Object)],o4.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],o4.prototype,"data",void 0);_.S([_.N({value:"$.items.children"}),_.T("design:type",String)],o4.prototype,"itemsPath",void 0);_.S([_.N({value:3}),_.T("design:type",Number)],o4.prototype,"initialCount",void 0);
_.S([_.Z("#items"),_.T("design:type",m4)],o4.prototype,"items",void 0);_.S([_.N(),_.T("design:type",Object)],o4.prototype,"selectedThumbnailIndex",void 0);_.S([_.N(),_.T("design:type",Object)],o4.prototype,"hoverThumbnail",void 0);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],o4.prototype,"showThumbnails",null);
_.S([_.O("ytd-product-details-thumbnail-renderer-selected"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Number]),_.T("design:returntype")],o4.prototype,"onThumbnailSelected",null);_.S([_.V("data","selectedThumbnailIndex","hoverThumbnail"),_.T("design:type",Object),_.T("design:paramtypes",[])],o4.prototype,"thumbnailDetails",null);_.S([_.V("data","selectedThumbnailIndex"),_.T("design:type",Object),_.T("design:paramtypes",[])],o4.prototype,"populatedData",null);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],o4.prototype,"dataChanged",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],o4.prototype,"updateOffset",null);o4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-image-carousel-renderer"})],o4);
var cMb;
var dMb;
var eMb=function(){return _.K.apply(this,arguments)||this};
_.q(eMb,_.K);
_.t.Object.defineProperties(eMb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_offer_renderer.ytd.product.details.offer.renderer.css.js--\x3e<div class="offer-details offer-details-new-ux">\n  <div class="offer-details-information">\n    <div class="offer-price">\n      [[data.offerData.price]]\n      <span class="additional-fees">[[data.offerData.additionalFeesText]]</span>\n    </div>\n    <div class="offer-title">\n      [[data.offerData.title]]\n    </div>\n    <div class="vendor-information">\n      <div class="vendor-logo">\n        <img src$="[[data.offerData.vendorLogoUrl]]" alt="" class="vendor-logo-url" onerror="this.style.visibility=\'hidden\';">\n      </div>\n      <div class="vendor-name">[[data.offerData.vendorName]]</div>\n    </div>\n  </div>\n  <div class="offer-cta">\n    <div class="checkout">\n      <ytd-button-renderer data="[[data.purchaseButtonRenderer.buttonRenderer]]">\n      </ytd-button-renderer>\n    </div>\n  </div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_offer_renderer.ytd.product.details.offer.renderer.css.js--\x3e<style>:host {display: block;} .offer-details {display: flex;flex-direction: row;align-items: center;} .offer-details-new-ux {align-items: flex-start;flex-wrap: wrap;} .offer-details-new-ux .offer-title {max-width: 340px;} .vendor-logo {width: 24px;height: 24px;border-radius: 12px;background-color: var(--yt-spec-general-background-b);} .vendor-logo-url {width: 24px;height: 24px;border-radius: 12px;background-color: var(--yt-spec-general-background-a);} .vendor-data {margin-left: 8px;display: flex;flex-direction: column;} .vendor-name {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-primary);} .offer-tags {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-secondary);} .price {display: flex;flex-direction: column;align-items: flex-end;flex: 1;} .checkout {display: flex;flex-direction: row;align-items: center;} .hover-icon {width: 18px;height: 18px;color: var(--yt-spec-call-to-action);} .checkout-endpoint {margin-left: 10.5px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;color: var(--yt-spec-call-to-action);text-decoration: none;} .additional-fees {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-secondary);} .vendor-information {display: flex;align-items: center;} .vendor-information .vendor-name {margin-left: 8px;} .offer-price {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;color: var(--yt-spec-text-primary);} .offer-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-secondary);margin-top: 4px;margin-bottom: 6px;} .offer-cta {display: flex;flex-direction: column;align-items: flex-end;flex: 1;} .offer-cta .checkout {margin-top: -6px;margin-right: -16px;} @media(max-width:1185px),(min-width:1328px) and (max-width:1353px) {.offer-details-new-ux {align-items: normal;flex-direction: column;}.offer-details-new-ux .offer-details-information {margin-bottom: 16px;}.offer-details-new-ux .offer-title {max-width: 100%;}} /*# sourceMappingURL=ytd-product-details-offer-renderer.css.map*/</style>';
cMb=d}d=cMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);dMb=a}a=dMb;return a}}});
var p4=eMb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],p4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],p4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],p4.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],p4.prototype,"data",void 0);p4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-offer-renderer"})],p4);
var fMb;
var gMb;
var q4=function(){var a=_.K.apply(this,arguments)||this;a.isOffersHidden=!0;return a};
_.q(q4,_.K);q4.prototype.toggleOffers=function(){this.isOffersHidden=!this.isOffersHidden;var a,b,c=null==(a=this.data)?void 0:null==(b=a.viewOffersButton)?void 0:b.buttonRenderer;c&&this.ytRendererBehavior.logExplicitClick(c)};
q4.prototype.configureRendererStamper=function(){return{"data.offers":{id:"offer",mapping:{productDetailsOfferRenderer:"ytd-product-details-offer-renderer"}}}};
_.t.Object.defineProperties(q4.prototype,{firstOfferVendorLogoUrl:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e;return null==(a=this.data)?void 0:null==(b=a.offers)?void 0:null==(c=b[0])?void 0:null==(d=c.productDetailsOfferRenderer)?void 0:null==(e=d.offerData)?void 0:e.vendorLogoUrl}}});
_.t.Object.defineProperties(q4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-offers-container-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_offers_container_renderer.ytd.product.details.offers.container.renderer.css.js--\x3e<div class="offer-container">\n  <div class="header" on-click="toggleOffers">\n    <div class="title-description-container">\n      <yt-formatted-string class="title" text="[[data.descriptionLeft]]">\n      </yt-formatted-string>\n      <div class="vendor-logo">\n        <img src$="[[firstOfferVendorLogoUrl]]" alt="" class="vendor-logo-url" onerror="this.style.visibility=\'hidden\';">\n      </div>\n      <yt-formatted-string class="title" text="[[data.descriptionRight]]">\n      </yt-formatted-string>\n    </div>\n    <div class="action">\n      <ytd-button-renderer id="view-offers" class="view-button" aria-expanded="false" data="[[data.viewOffersButton.buttonRenderer]]" hidden="[[!isOffersHidden]]" noink="">\n      </ytd-button-renderer>\n      <ytd-button-renderer id="hide-offers" class="hide-button" aria-expanded="true" data="[[data.hideOffersButton.buttonRenderer]]" hidden="[[isOffersHidden]]" noink="">\n      </ytd-button-renderer>\n    </div>\n  </div>\n  <div id="offer" hidden="[[isOffersHidden]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_offers_container_renderer.ytd.product.details.offers.container.renderer.css.js--\x3e<style>:host {display: block;--yt-formatted-string-bold: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--yt-formatted-string-bold-color: var(--yt-spec-text-primary);} #view-offers,#hide-offers {--yt-button-padding: 2px;--yt-button-padding-minus-border: 0;--yt-button-padding-minus-focus-outline: 0;--yt-button-icon-padding: 0px;margin-top: 2px;text-transform: none;--iron-icon-height: 24px;--iron-icon-width: 24px;} #view-offers:focus:hover,#hide-offers:focus:hover {outline: none;} .offer-container {display: flex;flex-direction: column;} .header {display: flex;flex-flow: row wrap;align-items: center;user-select: none;cursor: pointer;} .title-description-container {display: flex;flex-wrap: wrap;margin-top: 4px;margin-right: 8px;} .logo-urls {display: flex;align-items: center;margin-right: 16px;} .vendor-logo {width: 24px;height: 24px;margin-left: 8px;margin-right: 8px;margin-top: -2px;border-radius: 16px;background-color: var(--yt-spec-general-background-b);} .vendor-logo-url {width: 100%;height: 100%;border-radius: 16px;background-color: var(--yt-spec-general-background-a);} .title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);} .hide-button,.view-button {color: var(--yt-spec-call-to-action);margin-right: -9px;} ytd-product-details-offer-renderer {margin-top: 8px;padding-bottom: 8px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} ytd-product-details-offer-renderer:last-child {border-bottom: none;} #offer {margin-top: 8px;} #offers {display: block;} @media(max-width:1185px) {.header {flex-direction: column;align-items: start;}.logo-urls {margin-bottom: 8px;}} /*# sourceMappingURL=ytd-product-details-offers-container-renderer.css.map*/</style>';
fMb=d}d=fMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gMb=a}a=gMb;return a}}});
var r4=q4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],r4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],r4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],r4.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],r4.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],r4.prototype,"isOffersHidden",void 0);
_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],r4.prototype,"firstOfferVendorLogoUrl",null);r4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-offers-container-renderer"})],r4);
var hMb;
var iMb;
var jMb;
var kMb;
var s4=function(){return _.K.apply(this,arguments)||this};
_.q(s4,_.K);s4.prototype.ready=function(){this.addEventListener("mouseenter",this.onMouseEnterImage);this.addEventListener("mouseleave",this.onMouseLeaveImage)};
s4.prototype.onMouseEnterImage=function(){this.isImageButton&&void 0!==this.thumbnailDetails&&_.Jg(this,"ytd-product-details-variant-image-select",[this.thumbnailDetails])};
s4.prototype.onMouseLeaveImage=function(){this.isImageButton&&_.Jg(this,"ytd-product-details-variant-image-unselect")};
_.t.Object.defineProperties(s4.prototype,{isImageButton:{configurable:!0,enumerable:!0,get:function(){return"VARIANT_ATTRIBUTE_DISPLAY_TYPE_IMAGE"===this.displayType}},
isPillButton:{configurable:!0,enumerable:!0,get:function(){return"VARIANT_ATTRIBUTE_DISPLAY_TYPE_PILL"===this.displayType||"VARIANT_ATTRIBUTE_DISPLAY_TYPE_DROPDOWN_LIST"===this.displayType}},
isActive:{configurable:!0,enumerable:!0,get:function(){var a;return"VARIANT_OPTION_STATE_SELECTED"===(null==(a=this.data)?void 0:a.variantOptionState)}},
isUnavailable:{configurable:!0,enumerable:!0,get:function(){var a,b,c;return"VARIANT_AVAILABILITY_NO_OFFERS"===(null==(a=this.data)?void 0:a.variantAvailability)||"VARIANT_OPTION_STATE_OTHER_ATTRIBUTE_WILL_CHANGE"===(null==(b=this.data)?void 0:b.variantOptionState)||"VARIANT_OPTION_STATE_DISABLED"===(null==(c=this.data)?void 0:c.variantOptionState)}},
thumbnailDetails:{configurable:!0,enumerable:!0,get:function(){if(this.isImageButton){var a;if(void 0!==(null==(a=this.data)?void 0:a.imageDetails))return this.data.imageDetails}}},
accessibilityLabel:{configurable:!0,enumerable:!0,get:function(){var a,b;return this.isUnavailable?null==(a=this.data)?void 0:a.variantOptionUnavailableAccessibilityLabel:null==(b=this.data)?void 0:b.variantOptionAccessibilityLabel}}});
_.t.Object.defineProperties(s4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-variant-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_variant_option_renderer.ytd.product.details.variant.option.renderer.css.js--\x3e<div class="container">\n  <template is="dom-if" restamp="" if="[[isImageButton]]">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.command)]]" data="[[data.command]]" aria-label="[[accessibilityLabel]]" rel="[[computeNofollow_(data.command)]]">\n      <div class="variant-option variant-option-image">\n        <yt-img-shadow alt="[[data.name]]" height="52" object-fit="CONTAIN" thumbnail="[[thumbnailDetails]]" width="52"></yt-img-shadow>\n      </div>\n    </a>\n    <tp-yt-paper-tooltip fit-to-visible-bounds="" offset="4" position="top">\n      [[accessibilityLabel]]\n    </tp-yt-paper-tooltip>\n  </template>\n  <template is="dom-if" restamp="" if="[[isPillButton]]">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.command)]]" data="[[data.command]]" aria-label="[[accessibilityLabel]]" rel="[[computeNofollow_(data.command)]]">\n      <div class="variant-option variant-option-pill">\n        <span>[[data.name]]</span>\n      </div>\n    </a>\n    <template is="dom-if" restamp="" if="[[isUnavailable]]">\n      <tp-yt-paper-tooltip fit-to-visible-bounds="" offset="4" position="top">\n        [[data.unavailableText]]\n      </tp-yt-paper-tooltip>\n    </template>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_variant_option_renderer.ytd.product.details.variant.option.renderer.css.js--\x3e<style>:host(:hover:not([is-active])) .variant-option {border-color: var(--yt-spec-icon-inactive);} :host(:hover:not([is-active])) .variant-option-image {padding: 1px;border-width: 1px;} :host([is-active]) .variant-option {border-color: var(--yt-spec-call-to-action);border-radius: 0;border-width: 2px;} :host([is-active]) .variant-option-pill {padding: 12px 8px;} :host([is-unavailable]) .variant-option {position: relative;} :host([is-unavailable]) .variant-option::before {content: "";width: 100%;height: 100%;position: absolute;left: 0;top: 0;background-color: var(--yt-spec-general-background-b);opacity: 0.5;} .variant-option {border-radius: 2px;white-space: nowrap;} .variant-option-pill {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-primary);border: 1px solid var(--yt-spec-10-percent-layer);padding: 13px 9px;} .variant-option-image {border: 2px var(--yt-spec-brand-background-solid) solid;background-color: var(--yt-spec-brand-background-solid);} .variant-option-image yt-img-shadow {display: block;width: 52px;height: 52px;} .yt-simple-endpoint {display: block;} /*# sourceMappingURL=ytd-product-details-variant-option-renderer.css.map*/</style>';
jMb=d}d=jMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kMb=a}a=kMb;return a}}});
var t4=s4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],t4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],t4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],t4.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],t4.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],t4.prototype,"displayType",void 0);
_.S([_.V("displayType","data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],t4.prototype,"isImageButton",null);_.S([_.V("displayType","data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],t4.prototype,"isPillButton",null);_.S([_.V("data"),_.N({reflectToAttribute:!0}),_.T("design:type",Boolean),_.T("design:paramtypes",[])],t4.prototype,"isActive",null);
_.S([_.V("data"),_.N({reflectToAttribute:!0}),_.T("design:type",Boolean),_.T("design:paramtypes",[])],t4.prototype,"isUnavailable",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],t4.prototype,"thumbnailDetails",null);_.S([_.V("isUnavailable","data"),_.T("design:type",Object),_.T("design:paramtypes",[])],t4.prototype,"accessibilityLabel",null);t4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-variant-option-renderer"})],t4);
var lMb;
var mMb;
var u4=function(){var a=_.K.apply(this,arguments)||this;a.variantsExpanded=!1;a.hideShowMoreLessVariantButton=!0;a.initialized=!1;a.computeVariantsDebouncer=null;a.computeVariants=function(b){b=void 0===b?!1:b;a.variantsExpanded||a.showOptions()||!b||(a.variantsExpanded=!0);if(a.variantsExpanded){b=_.k(a.items.children);for(var c=b.next();!c.done;c=b.next())c.value.hidden=!1}a.initialized=!0};
return a};
_.q(u4,_.K);_.f=u4.prototype;_.f.ready=function(){var a=this;setTimeout(function(){a.computeVariants(!0)})};
_.f.showOptions=function(){for(var a=_.k(this.items.children),b=a.next();!b.done;b=a.next())b.value.hidden=!0;var c=this.container.getBoundingClientRect().width,d=0,e=a=0,h=!1,l=_.k(this.items.children);for(b=l.next();!b.done;b=l.next()){b=b.value;b.hidden=!1;var m=b.getBoundingClientRect().width;if(d+m<c)d+=m;else if(2>++e)d=m;else break;a+=1;b.hasAttribute("is-active")&&(h=!0)}for(c=a;c<this.items.children.length;c++)this.items.children[c].hidden=!0;this.hideShowMoreLessVariantButton=a===this.items.children.length;
return h};
_.f.debouncedComputeVariants=function(){this.computeVariantsDebouncer=_.gn(this.computeVariantsDebouncer,_.Pm.after(100),this.computeVariants)};
_.f.onShowMoreLessVariantsButtonClick=function(){var a;null!=(a=this.data)&&a.variantOptionRenderers&&(this.variantsExpanded=!this.variantsExpanded,this.computeVariants())};
_.f.configureRendererStamper=function(){return{"data.variantOptionRenderers":{id:"items",mapping:{productDetailsVariantOptionRenderer:{component:"ytd-product-details-variant-option-renderer",properties:{displayType:"[[displayType]]"}}}}}};
_.t.Object.defineProperties(u4.prototype,{selectedOptionName:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e;return null!=(e=null==(c=null==(a=this.data)?void 0:null==(b=a.variantOptionRenderers)?void 0:b.find(function(h){return"VARIANT_OPTION_STATE_SELECTED"===h.productDetailsVariantOptionRenderer.variantOptionState}))?void 0:null==(d=c.productDetailsVariantOptionRenderer)?void 0:d.name)?e:""}},
displayType:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.displayType)||"VARIANT_ATTRIBUTE_DISPLAY_TYPE_UNKNOWN"}},
variantItemsClassname:{configurable:!0,enumerable:!0,get:function(){switch(this.displayType){case "VARIANT_ATTRIBUTE_DISPLAY_TYPE_PILL":return"pill";case "VARIANT_ATTRIBUTE_DISPLAY_TYPE_DROPDOWN_LIST":return"dropdown";case "VARIANT_ATTRIBUTE_DISPLAY_TYPE_IMAGE":return"image";default:return"unknown"}}}});
_.t.Object.defineProperties(u4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-variant-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_variant_renderer.ytd.product.details.variant.renderer.css.js--\x3e<div id="container">\n  <div class="variant-title-container">\n    <div class="variant-title">[[data.title]]</div><div class="variant-selected-option">[[selectedOptionName]]</div>\n  </div>\n  <div class$="variant-items-container variant-items-container-[[variantItemsClassname]]">\n    <div id="items"></div>\n  </div>\n  <template is="dom-if" if="[[!hideShowMoreLessVariantButton]]">\n    <ytd-button-renderer class="show-more-less-variants-button" data="[[data.showMoreVariants.buttonRenderer]]" hidden$="[[variantsExpanded]]" noink="" on-click="onShowMoreLessVariantsButtonClick">\n    </ytd-button-renderer>\n    <ytd-button-renderer id="more-variants-button" class="show-more-less-variants-button" data="[[data.showLessVariants.buttonRenderer]]" hidden$="[[!variantsExpanded]]" noink="" on-click="onShowMoreLessVariantsButtonClick">\n    </ytd-button-renderer>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_variant_renderer.ytd.product.details.variant.renderer.css.js--\x3e<style>:host {margin-bottom: 24px;width: 100%;opacity: 0;} :host([initialized]) {opacity: 1;} .variant-title-container {display: flex;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;margin-bottom: 6px;} .variant-title {color: var(--yt-spec-text-primary);} .variant-selected-option {margin-left: 8px;color: var(--yt-spec-text-secondary);} .variant-items-container {display: flex;align-items: center;} .variant-items-container #items {display: flex;flex-wrap: wrap;} ytd-product-details-variant-option-renderer {padding-top: 8px;padding-right: 8px;} .show-more-less-variants-button {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;--yt-button-padding: 2px 0 10px 0;--yt-button-padding-minus-focus-outline-width: 2px;--yt-button-icon-padding: 2px;--yt-button-padding-minus-focus-outline: 0 0 8px 0;color: var(--yt-spec-text-secondary);font-weight: 400;margin-top: 12px;text-transform: none;} .show-more-less-variants-button:focus {outline: -webkit-focus-ring-color auto 5px;} .show-more-less-variants-button:focus:hover {outline: none;} /*# sourceMappingURL=ytd-product-details-variant-renderer.css.map*/</style>';
lMb=d}d=lMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mMb=a}a=mMb;return a}}});
var v4=u4;v4.prototype.debouncedComputeVariants=v4.prototype.debouncedComputeVariants;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],v4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],v4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],v4.prototype,"componentBehavior",void 0);_.S([_.L(_.xx),_.T("design:type",Object)],v4.prototype,"ironResizableBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],v4.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],v4.prototype,"variantsExpanded",void 0);_.S([_.N(),_.T("design:type",Object)],v4.prototype,"hideShowMoreLessVariantButton",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],v4.prototype,"initialized",void 0);_.S([_.Z("#items"),_.T("design:type",HTMLDivElement)],v4.prototype,"items",void 0);_.S([_.Z("#container"),_.T("design:type",HTMLDivElement)],v4.prototype,"container",void 0);
_.S([_.Z("#more-variants-button"),_.T("design:type",HTMLElement)],v4.prototype,"moreVariantsButton",void 0);_.S([_.V("data"),_.T("design:type",String),_.T("design:paramtypes",[])],v4.prototype,"selectedOptionName",null);_.S([_.P("data","variantsExpanded"),_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],v4.prototype,"debouncedComputeVariants",null);
_.S([_.V("data"),_.T("design:type",String),_.T("design:paramtypes",[])],v4.prototype,"displayType",null);_.S([_.V("displayType"),_.T("design:type",Object),_.T("design:paramtypes",[])],v4.prototype,"variantItemsClassname",null);v4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-variant-renderer"})],v4);
var w4=function(){return _.K.apply(this,arguments)||this};
_.q(w4,_.K);
w4.prototype.configureRendererStamper=function(){return{"data.imageCarouselRenderer":{id:"image-carousel-renderer",mapping:{productDetailsImageCarouselRenderer:"ytd-product-details-image-carousel-renderer"}},"data.heroOfferRenderer":{id:"hero-offer-renderer",mapping:{productDetailsHeroOfferRenderer:{component:"ytd-product-details-hero-offer-renderer",properties:{formattedFromMerchantText:"[[data.formattedFromMerchantText]]"}}}},"data.variants":{id:"variants",mapping:{productDetailsVariantRenderer:"ytd-product-details-variant-renderer"}},"data.offersContainerRenderer":{id:"offers",
mapping:{productDetailsOffersContainerRenderer:"ytd-product-details-offers-container-renderer"}},"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"ytd-button-renderer",menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:more"}}}},"data.shareButton":{id:"share-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.descriptionRenderer":{id:"description-renderer",mapping:{productDetailsDescriptionRenderer:"ytd-product-details-description-renderer"}}}};
_.t.Object.defineProperties(w4.prototype,{showPurchaseData:{configurable:!0,enumerable:!0,get:function(){var a,b;return!(null==(a=this.data)||!a.formattedFromMerchantText)&&!(null==(b=this.data)||!b.heroOfferRenderer)}},
showHeroOfferRenderer:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.heroOfferRenderer)}},
showBrandText:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.formattedByBrandText)}},
showOffers:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d=null==(a=this.data)?void 0:null==(b=a.offersContainerRenderer)?void 0:null==(c=b.productDetailsOffersContainerRenderer)?void 0:c.offers;return void 0!==d&&1<(null==d?void 0:d.length)}},
showBuySeparator:{configurable:!0,enumerable:!0,get:function(){return this.showOffers&&this.showPurchaseData}},
showBuyCard:{configurable:!0,enumerable:!0,get:function(){return this.showOffers||this.showPurchaseData}},
selectedVariantsText:{configurable:!0,enumerable:!0,get:function(){var a,b,c;return(null!=(c=null==(a=this.data)?void 0:null==(b=a.variants)?void 0:b.map(function(d){var e,h,l,m;return null==(l=null==(h=null==d?void 0:null==(e=d.productDetailsVariantRenderer)?void 0:e.variantOptionRenderers)?void 0:h.find(function(p){var r;return"VARIANT_OPTION_STATE_SELECTED"===(null==p?void 0:null==(r=p.productDetailsVariantOptionRenderer)?void 0:r.variantOptionState)}))?void 0:null==(m=l.productDetailsVariantOptionRenderer)?
void 0:m.name}).filter(function(d){return"string"===typeof d}))?c:[]).join(" \u2022 ")}},
shoppingReportingButtonData:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e=null==(a=this.data)?void 0:null==(b=a.shoppingFlaggingRenderer)?void 0:null==(c=b.shoppingFlaggingRenderer)?void 0:null==(d=c.reportButton)?void 0:d.buttonRenderer;if(e)return{text:e.text,command:e.command,icon:{iconType:"FLAG"},accessibilityData:e.accessibilityData,trackingParams:e.trackingParams,loggingDirectives:e.loggingDirectives}}}});
_.t.Object.defineProperties(w4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-product-details-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_renderer.ytd.product.details.renderer.css.js--\x3e<div class="container">\n  <div class="column column-image-carousel">\n    <div id="image-carousel-renderer"></div>\n  </div>\n  <div class="column column-description">\n    <div class="title-row row">\n      <div>[[getSimpleString(data.title)]]</div>\n      <div class="title-row-buttons row">\n        <div id="share-button"></div>\n        <div id="action-button"></div>\n      </div>\n    </div>\n    <div class="brand-row row">\n      <template is="dom-if" restamp="" if="[[showBrandText]]">\n        <yt-formatted-string class="formatted-brand" text="[[data.formattedByBrandText]]">\n        </yt-formatted-string>\n      </template>\n    </div>\n    <div id="description-renderer"></div>\n    <div id="variants"></div>\n    <div class="buy" hidden="[[!showBuyCard]]">\n      <div hidden="[[!showHeroOfferRenderer]]" id="hero-offer-renderer"></div>\n      <div>\n        <hr class="buy-separator" hidden="[[!showBuySeparator]]">\n        <div id="offers" hidden="[[!showOffers]]"></div>\n      </div>\n    </div>\n    <div class="buy offer-unavailable" hidden="[[showBuyCard]]">\n        <yt-formatted-string class="offer-unavailable-title" text="[[data.unavailableText]]">\n        </yt-formatted-string>\n        <div class="offer-unavailable-variants">[[selectedVariantsText]]</div>\n    </div>\n    <div class="flagging-container" hidden="[[!data.shoppingFlaggingRenderer]]">\n      <ytd-button-renderer id="flagging-button" data="[[shoppingReportingButtonData]]">\n      </ytd-button-renderer>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.shopping.ytd_product_details_renderer.ytd.product.details.renderer.css.js--\x3e<style>:host {--yt-horizontal-list-renderer-width: 512px;--yt-formatted-string-bold: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--yt-formatted-string-bold-color: var(--yt-spec-text-primary);color: var(--yt-spec-text-primary);display: flex;flex-direction: row;justify-content: center;padding: 32px 0;} #image-carousel-renderer {display: flex;padding: 24px;margin-right: 16px;background: var(--yt-spec-brand-background-solid);} .container {display: flex;flex-direction: row;} .column {display: flex;flex-direction: column;flex-grow: 1;} .row {display: flex;flex-direction: row;} .title-row {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;justify-content: space-between;} .title-row-buttons {align-items: start;justify-content: space-between;margin-top: -8px;} .title-row-buttons:not(:first-child) {padding-left: 4px;} #information-button,#action-button,#share-button {--yt-icon-button-icon-height: 24px;--yt-icon-button-icon-width: 24px;--yt-button-icon-size: 40px;--yt-button-icon-padding: 0px;} #information-button ytd-button-renderer {color: var(#000);} .brand-row {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: flex;flex-direction: row;align-items: center;margin-top: 2px;} .formatted-brand {color: var(--yt-spec-text-secondary);} #expander,#description-renderer {margin-left: -1px;} .more-button,.less-button {text-transform: none;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .buy {display: flex;flex-direction: column;margin-top: 24px;padding: 24px;border: 1px solid var(--yt-spec-10-percent-layer);} .buy-separator {margin: 16px 0;border-top: 1px solid var(--yt-spec-10-percent-layer);} .buy.offer-unavailable {padding: 16px 24px;} .offer-unavailable {color: var(--yt-spec-text-disabled);} .offer-unavailable-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .offer-unavailable-variants {margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .flagging-container {text-align: end;margin-top: 6px;} .flagging-container ytd-button-renderer {--yt-button-paper-button: {--yt-button-text-transform: none;};} .call-to-action {color: var(--yt-spec-call-to-action);} .secondary-color {color: var(--yt-spec-text-secondary);} #variants {display: flex;flex-direction: column;margin-top: 24px;margin-bottom: -24px;} #description-renderer {margin-top: 8px;} @media(max-width:685px) {:host {--yt-horizontal-list-renderer-width: 380px;}} @media(max-width:971px) {.container {flex-direction: column;}.column-image-carousel {margin-bottom: 32px;}#image-carousel-renderer {margin-right: 0;}} /*# sourceMappingURL=ytd-product-details-renderer.css.map*/</style>';
hMb=d}d=hMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iMb=a}a=iMb;return a}}});
var x4=w4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],x4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],x4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],x4.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],x4.prototype,"data",void 0);_.S([_.Z("#image-carousel-renderer"),_.T("design:type",o4)],x4.prototype,"imageCarouselRenderer",void 0);
_.S([_.Z("#hero-offer-renderer"),_.T("design:type",k4)],x4.prototype,"productDetailsHeroOfferRenderer",void 0);_.S([_.Z("#variants"),_.T("design:type",v4)],x4.prototype,"productDetailsVariantRenderer",void 0);_.S([_.Z("#offers"),_.T("design:type",r4)],x4.prototype,"productDetailsOffersContainerRenderer",void 0);_.S([_.Z("#description-renderer"),_.T("design:type",i4)],x4.prototype,"productDetailsDescriptionRenderer",void 0);
_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],x4.prototype,"showPurchaseData",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],x4.prototype,"showHeroOfferRenderer",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],x4.prototype,"showBrandText",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],x4.prototype,"showOffers",null);
_.S([_.V("showOffers","showPurchaseData"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],x4.prototype,"showBuySeparator",null);_.S([_.V("showOffers","showPurchaseData"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],x4.prototype,"showBuyCard",null);_.S([_.V("data"),_.T("design:type",String),_.T("design:paramtypes",[])],x4.prototype,"selectedVariantsText",null);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],x4.prototype,"shoppingReportingButtonData",null);
x4=_.S([_.Q({asyncProperties:!0,is:"ytd-product-details-renderer"})],x4);
var nMb;
var oMb;
var pMb;
var qMb;
var y4=function(){return _.K.apply(this,arguments)||this};
_.q(y4,_.K);y4.prototype.configureRendererStamper=function(){return{"data.vcIcon":{id:"vc-icon",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer"}}}}};
_.t.Object.defineProperties(y4.prototype,{vcBalanceWidgetStyle:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.style?this.data.style:"VC_BALANCE_WIDGET_STYLE_UNKNOWN"}}});
_.t.Object.defineProperties(y4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-vc-balance-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_balance_renderer.yt.vc.balance.renderer.css.js--\x3e<div id="vc-icon" hidden$="[[!data.vcIcon]]">\n</div>\n<p id="vc-balance">[[formattedAmount]]</p>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_balance_renderer.yt.vc.balance.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([vc-balance-widget-style=VC_BALANCE_WIDGET_STYLE_UNKNOWN]) #vc-icon,:host([vc-balance-widget-style=VC_BALANCE_WIDGET_STYLE_PRIMARY_TEXT]) #vc-icon {margin-right: var(--ytd-margin-2x);} #vc-balance {position: relative;top: 1px;} :host([vc-balance-widget-style=VC_BALANCE_WIDGET_STYLE_UNKNOWN]) #vc-balance,:host([vc-balance-widget-style=VC_BALANCE_WIDGET_STYLE_PRIMARY_TEXT]) #vc-balance {color: var(--yt-spec-text-primary);@apply --ytd-subheadline-link;line-height: 1.8rem;} :host([vc-balance-widget-style=VC_BALANCE_WIDGET_STYLE_SECONDARY_TEXT]) #vc-icon {margin-right: var(--ytd-margin-base);} :host([vc-balance-widget-style=VC_BALANCE_WIDGET_STYLE_SECONDARY_TEXT]) #vc-balance {color: var(--yt-spec-text-disabled);@apply --ytd-subheadline-link;line-height: 1.8rem;} /*# sourceMappingURL=yt-vc-balance-renderer.css.map*/</style>";
pMb=d}d=pMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qMb=a}a=qMb;return a}}});
var z4=y4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],z4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],z4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],z4.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],z4.prototype,"formattedAmount",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],z4.prototype,"ariaLabel",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data.style"),_.T("design:type",String),_.T("design:paramtypes",[])],z4.prototype,"vcBalanceWidgetStyle",null);z4=_.S([_.lu({is:"yt-vc-balance-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],z4);
_.$u("vcBalanceRenderer","vcBalanceRenderer","ytd-vc-balance-renderer");var A4=function(){return _.K.apply(this,arguments)||this};
_.q(A4,_.K);_.t.Object.defineProperties(A4.prototype,{formattedAmount:{configurable:!0,enumerable:!0,get:function(){return this.vcBalanceEntity&&this.vcBalanceEntity.formattedAmount?this.vcBalanceEntity.formattedAmount:""}},
vcBalanceAriaLabel:{configurable:!0,enumerable:!0,get:function(){return this.vcBalanceEntity&&this.vcBalanceEntity.accessibilityFormattedAmount?this.vcBalanceEntity.accessibilityFormattedAmount:""}}});
_.t.Object.defineProperties(A4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-vc-balance-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.ytd_vc_balance_renderer.ytd.vc.balance.renderer.css.js--\x3e<yt-vc-balance-renderer aria-label="[[vcBalanceAriaLabel]]" data="[[data]]" formatted-amount="[[formattedAmount]]">\n</yt-vc-balance-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.ytd_vc_balance_renderer.ytd.vc.balance.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=ytd-vc-balance-renderer.css.map*/</style>";nMb=d}d=nMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oMb=a}a=oMb;return a}}});
var B4=A4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],B4.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],B4.prototype,"data",void 0);_.S([_.N({selectorArgs:["data.vcBalanceEntityKey"],selector:function(a,b){return _.Yg(a.entities,"vcBalanceEntity",b)}}),
_.T("design:type",Object)],B4.prototype,"vcBalanceEntity",void 0);_.S([_.V("vcBalanceEntity"),_.T("design:type",String),_.T("design:paramtypes",[])],B4.prototype,"formattedAmount",null);_.S([_.V("vcBalanceEntity"),_.T("design:type",String),_.T("design:paramtypes",[])],B4.prototype,"vcBalanceAriaLabel",null);B4=_.S([_.Q({asyncProperties:!0,is:"ytd-vc-balance-renderer"})],B4);
var rMb=function(){return _.K.apply(this,arguments)||this};
_.q(rMb,_.K);var sMb=rMb;sMb=_.S([_.Q({asyncProperties:!0,is:"ytd-browse-items"})],sMb);
var tMb;
var uMb;
var C4=function(){var a=_.K.apply(this,arguments)||this;a.rotation=0;a.isReloading=!1;return a};
_.q(C4,_.K);C4.prototype.rotationChanged=function(){this.icon.style.transform="rotate("+(this.rotation+180)+"deg)";this.icon.style.opacity=""+(.7/360*this.rotation+.3)};
C4.prototype.reset=function(){this.style.opacity=""};
C4.prototype.close=function(){var a=this;return _.y(function(b){if(1==b.nextAddress)return _.B(b,a.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.4)",opacity:0}],{duration:150,easing:"cubic-bezier(.05, 0, 0, 1)"}).finished,2);a.style.opacity="0";_.bf(b)})};
_.t.Object.defineProperties(C4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===uMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-refresh--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.components.gestures.ytd_refresh.ytd.refresh.css.js--\x3e<yt-icon id="icon" hidden="[[isReloading]]" icon="refresh"></yt-icon>\n<tp-yt-paper-spinner-lite active="[[isReloading]]" hidden="[[!isReloading]]">\n</tp-yt-paper-spinner-lite>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.components.gestures.ytd_refresh.ytd.refresh.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);border-radius: 50%;border: 1px solid var(--yt-spec-10-percent-layer);width: 38px;height: 38px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-spec-text-primary);--paper-spinner-stroke-width: 2px;height: 16px;width: 16px;} /*# sourceMappingURL=ytd-refresh.css.map*/</style>";
tMb=d}d=tMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);uMb=a}a=uMb;return a}}});
var D4=C4;D4.prototype.rotationChanged=D4.prototype.rotationChanged;_.S([_.N(),_.T("design:type",Object)],D4.prototype,"rotation",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],D4.prototype,"isReloading",void 0);_.S([_.Z("#icon"),_.T("design:type",HTMLElement)],D4.prototype,"icon",void 0);_.S([_.P("rotation"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D4.prototype,"rotationChanged",null);
D4=_.S([_.Q({asyncProperties:!0,is:"ytd-refresh"})],D4);
var vMb;
var wMb;
var xMb;
var yMb;
var zMb=function(a,b,c,d,e,h,l){this.minWidth_=a;this.minHeight_=b;this.recommendedWidth_=c;this.recommendedHeight_=d;this.maxFileSize_=e;this.JSC$42239_title_=h;this.bannerGalleryTitle_=l;a=_.LOa("yt-banner");b=(new D3("youtubebanner")).addUploadMetadata("silo_id","19");b.JSC$36982_opts.ytMaxFileSize=this.maxFileSize_;c=this.recommendedHeight_;b.JSC$36982_opts.ytRecWidth=this.recommendedWidth_;b.JSC$36982_opts.ytRecHeight=c;_.vA(a,b);_.vA(a,new _.iA);b=new _.iA;b.JSC$36982_opts.type="ytbanner";_.vA(a,
b.JSC$36984_setLabel(this.bannerGalleryTitle_));b=a.setTitle(this.JSC$42239_title_).setSize(1E3);b.urlParamMap_.set("thumbs","orig");c=this.minWidth_;d=this.minHeight_;if(isNaN(c)||isNaN(d))throw Error("ae`"+c+"`"+d);b.urlParamMap_.set("minSize",c+"x"+d);b.urlParamMap_.set("cropMode","ytcb");this.builder_=a;this.picker_=null};
zMb.prototype.open=function(){var a=this;return new _.wf(function(b,c){_.sQa(a.builder_,function(d){"picked"==d.action?b(d):"cancel"==d.action&&c(Error("xh"))});
a.picker_&&a.picker_.dispose();a.picker_=_.URa(a.builder_);a.picker_.setVisible(!0)})};
zMb.prototype.dispose=function(){this.picker_&&(this.picker_.dispose(),this.picker_=null)};
var AMb=function(a){this.JSC$42242_channelId_=a},BMb=function(a,b){var c="";
b.viewToken&&(c=b.viewToken[2].type);var d=b.docs[0];b=d.crop;a={channel_id:a.JSC$42242_channelId_,fife_url:d.thumbnails[0].url,photo_id:d.id,is_gallery_image:"ytbanner"==c};b&&(a.crop_top=b.top,a.crop_right=b.right,a.crop_bottom=b.bottom,a.crop_left=b.left);return _.BI("/channels_profile_ajax?action_update_banner_image=1",{method:"POST",postParams:a})};
var E4=function(){return _.K.apply(this,arguments)||this};
_.q(E4,_.K);_.f=E4.prototype;_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","button");this.hasAttribute("tabindex")||this.setAttribute("tabindex","0")};
_.f.detached=function(){this.picker&&this.picker.dispose()};
_.f.dataChanged=function(){this.uploader=this.picker=this.message=null};
_.f.computeAriaLabel=function(a){return a};
_.f.onTap=function(){var a=this,b;null!=(b=this.data)&&b.editBannerCommand||(this.message=null,this.picker||(this.picker=new zMb(this.data.bannerMinWidth||0,this.data.bannerMinHeight||0,this.data.bannerRecommendedWidth||0,this.data.bannerRecommendedHeight||0,this.data.bannerMaxFileSizeInMegabytes||0,this.data.editorTitle||"",this.data.galleryViewTitle||"")),this.picker.open().then(function(c){a.handleBannerPicked(c)},function(){}))};
_.f.handleBannerPicked=function(a){var b=this;this.uploader||(this.uploader=new AMb(this.data.channelId||""));this.message=this.data.uploadingText;BMb(this.uploader,a).then(function(c){b.handleBannerUploadSucceeded(c)},function(c){b.handleBannerUploadFailed(c)})};
_.f.handleBannerUploadSucceeded=function(a){a&&a.errors?this.handleBannerUploadFailed(a):(this.fire("yt-banner-updated",a),this.message=null)};
_.f.handleBannerUploadFailed=function(a){this.message=a&&a.errors&&a.errors.length?a.errors[0]:null};
_.t.Object.defineProperties(E4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===yMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-banner-editor-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_banner_editor_renderer.ytd.channel.banner.editor.renderer.css.js--\x3e<a id="edit-banner-link" class="yt-simple-endpoint" data="[[data.editBannerCommand]]" href$="[[computeHref_(data.editBannerCommand)]]" target="_blank" on-click="onTap">\n  <yt-icon icon="camera_alt"></yt-icon>\n  <tp-yt-paper-tooltip position="top">[[ariaLabel]]</tp-yt-paper-tooltip>\n  <div id="message" hidden$="[[!message]]">[[message]]</div>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_banner_editor_renderer.ytd.channel.banner.editor.renderer.css.js--\x3e<style>:host {display: inline-block;cursor: pointer;position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host(:focus) {outline: none;} yt-img-shadow {width: 80px;height: 80px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #edit-banner-link {width: 100%;height: 100%;} yt-icon {display: none;color: var(--yt-spec-static-brand-white);padding: 12px;position: absolute;top: 16px;right: 16px;border-radius: 50%;background-color: var(--yt-spec-static-overlay-background-medium);} :host(:hover) yt-icon {display: block;} #message {background-color: var(--yt-spec-static-overlay-background-medium);color: var(--yt-spec-static-brand-white);border-radius: 2px;padding: 4px 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-channel-banner-editor-renderer.css.map*/</style>';
xMb=d}d=xMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);yMb=a}a=yMb;return a}}});
var F4=E4;F4.prototype.dataChanged=F4.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],F4.prototype,"componentBehavior",void 0);_.S([_.L(_.Nw),_.T("design:type",Object)],F4.prototype,"ironButtonState",void 0);_.S([_.N(),_.T("design:type",Object)],F4.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,readOnly:!0,computed:"computeAriaLabel(data.buttonLabel)"}),_.T("design:type",String)],F4.prototype,"ariaLabel",void 0);
_.S([_.N(),_.T("design:type",Object)],F4.prototype,"message",void 0);_.S([_.N(),_.T("design:type",Object)],F4.prototype,"picker",void 0);_.S([_.N(),_.T("design:type",Object)],F4.prototype,"uploader",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],F4.prototype,"dataChanged",null);F4=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-banner-editor-renderer"})],F4);
var CMb;
var DMb;
var G4=function(){return _.K.apply(this,arguments)||this};
_.q(G4,_.K);_.f=G4.prototype;_.f.ready=function(){var a=this;this.$.form.addEventListener("submit",function(b){a.onSubmit(b)})};
_.f.onDataChanged=function(){var a;(null==(a=this.data)?0:a.selected)&&this.ytdExpandableInputBehavior.setShowInput(!0)};
_.f.closeOnOutsideClickHandler=function(){this.set("data.expandedText","")};
_.f.openOnClickHandler=function(){this.$.input.focus()};
_.f.onSubmit=function(a){a.preventDefault();return!1};
_.f.submitOnEnterKeyUp=function(a){if(13===a.keyCode){a=this.data.endpoint;var b=_.u.unsafeClone(a),c,d;(null==b?0:null==(c=b.commandMetadata)?0:null==(d=c.webCommandMetadata)?0:d.url)?(b.commandMetadata.webCommandMetadata.url=_.qt(b.commandMetadata.webCommandMetadata.url,"query",this.data.expandedText),b.browseEndpoint&&(b.browseEndpoint.query=this.data.expandedText),this.fire("yt-navigate",{endpoint:b,tempData:{disableCache:!0}})):_.Qf(new _.ge("Error: Trying to navigate to an endpoint without url",
a))}};
_.t.Object.defineProperties(G4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===DMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-expandable-tab-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_expandable_tab_renderer.ytd.expandable.tab.renderer.css.js--\x3e<yt-icon-button label="[[data.title]]" on-click="openOnClick_">\n  <yt-icon icon="yt-icons:search"></yt-icon>\n</yt-icon-button>\n<form id="form" action="[[data.endpoint.commandMetadata.webCommandMetadata.url]]">\n  <tp-yt-paper-input id="input" autocomplete="off" hidden="[[!showInput]]" label="[[data.title]]" max-length="100" name="query" no-label-float="" value="{{data.expandedText}}" on-keyup="submitOnEnterKeyUp">\n   </tp-yt-paper-input>\n</form>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_expandable_tab_renderer.ytd.expandable.tab.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);width: 300px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} :host([show-input]) yt-icon-button {opacity: 1;} form {margin-bottom: 0;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;opacity: 0.8;width: 40px;height: 40px;} tp-yt-paper-input {--paper-input-container-color: var(--yt-spec-text-primary);--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-input: {padding: 4px 0;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-input-container-label: {padding: 4px 0;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-input-container-underline-height: 0;--paper-input-container-underline-border-bottom: 1px solid var(--yt-spec-text-primary);text-transform: none;margin-bottom: -2px;height: 40px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-expandable-tab-renderer.css.map*/</style>";
CMb=d}d=CMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);DMb=a}a=DMb;return a}}});
var H4=G4;H4.prototype.onDataChanged=H4.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],H4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.E5a),_.T("design:type",Object)],H4.prototype,"ytdExpandableInputBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],H4.prototype,"data",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],H4.prototype,"onDataChanged",null);
H4=_.S([_.Q({asyncProperties:!0,is:"ytd-expandable-tab-renderer"})],H4);
var EMb;
var FMb;
var I4=function(){var a=_.K.apply(this,arguments)||this;a.ariaLabel=_.Bg("EDIT_AVATAR_LABEL",void 0,"Edit channel icon");return a};
_.q(I4,_.K);I4.prototype.attached=function(){this.setAttribute("role","button");this.setAttribute("tabindex","0")};
I4.prototype.computeHref=function(a){var b;return(null==a?0:null==(b=a.urlEndpoint)?0:b.url)?this.componentBehavior.computeHref_(a):null};
I4.prototype.onTap=function(){var a,b;null==(a=this.data)||!a.editAvatarServiceEndpoint||(null==(b=this.data.editAvatarServiceEndpoint.urlEndpoint)?0:b.url)||_.Kg(this,[this.data.editAvatarServiceEndpoint])};
_.t.Object.defineProperties(I4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-avatar-editor--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_channel_avatar_editor.ytd.channel.avatar.editor.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref(data.editAvatarServiceEndpoint)]]" data="[[data.editAvatarServiceEndpoint]]" target="_blank" on-click="onTap">\n  <yt-icon icon="camera_alt"></yt-icon>\n  <yt-img-shadow thumbnail="[[data.avatar]]" width="80"></yt-img-shadow>\n  <tp-yt-paper-tooltip position="top">[[ariaLabel]]</tp-yt-paper-tooltip>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===EMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_channel_avatar_editor.ytd.channel.avatar.editor.css.js--\x3e<style>:host {display: inline-block;position: relative;cursor: pointer;margin: 0 24px 0 0;} :host(:focus) {outline: none;} yt-img-shadow {width: 80px;height: 80px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} yt-icon {display: none;color: var(--yt-spec-static-brand-white);padding: 12px;position: absolute;top: 16px;left: 16px;border-radius: 50%;background-color: var(--yt-spec-static-overlay-background-medium);} :host(:hover) yt-icon {display: block;} /*# sourceMappingURL=ytd-channel-avatar-editor.css.map*/</style>";
EMb=d}d=EMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FMb=a}a=FMb;return a}}});
var J4=I4;_.S([_.L(_.Nw),_.T("design:type",Object)],J4.prototype,"ironButtonState",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],J4.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],J4.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],J4.prototype,"ariaLabel",void 0);J4=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-avatar-editor"})],J4);
var K4=function(){var a=_.K.apply(this,arguments)||this;a.isRichGrid=!1;a.richGridMiniMode=!1;a.actionMap={"yt-button-refresh-action":"handleButtonRefreshAction","yt-insert-channel-tab-command":"handleInsertTabCommand","ytd-refresh-channel-tab-action":"handleRefreshChannelTabAction","yt-unsubscribe-action":"handleUnsubscribeAction"};return a};
_.q(K4,_.K);_.f=K4.prototype;
_.f.configureRendererStamper=function(){return{"data.purchaseButton":{id:"purchase-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.sponsorButton":{id:"sponsor-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.subscribeButton":{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer",subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}},"data.editChannelButtons":{id:"edit-buttons",
mapping:{buttonRenderer:"ytd-button-renderer"}},"data.otherButtons":{id:"other-buttons",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.bannerEditor":{id:"banner-editor",mapping:{channelBannerEditorRenderer:"ytd-channel-banner-editor-renderer"}}}};
_.f.attached=function(){this.data&&this.dataChanged()};
_.f.computeDisplayChannelHandle=function(a){return _.x("enable_header_channel_handler_ui")&&a};
_.f.computeHeaderDisabled=function(a,b){return b||!a};
_.f.handleButtonRefreshAction=function(a){a.buttonRefreshAction&&this.set("data.sponsorButton",a.buttonRefreshAction.membershipButton)};
_.f.handleInsertTabCommand=function(a){if(a.insertChannelTabCommand){var b=a.insertChannelTabCommand;b.externalChannelId===this.data.channelId&&(b.tabIdentifier&&this.ytdTabbedHeaderBehavior.tabs.some(function(c){return c.tabRenderer&&c.tabRenderer.tabIdentifier===b.tabIdentifier})||this.splice("tabs",b.tabIndex||-1,0,b.tab))}};
_.f.handleRefreshChannelTabAction=function(a){this.ytdTabbedHeaderBehavior.selected&&this.ytdTabbedHeaderBehavior.tabs[this.ytdTabbedHeaderBehavior.selected].tabRenderer.tabIdentifier===a&&this.fire("yt-navigate",{endpoint:this.ytdGuideStateAwareBehavior.activeEndpoint,tempData:{disableCache:!0}})};
_.f.dataChanged=function(){var a=this.hasChannelArt;this.hasChannelArt=!1;if(this.data&&this.data.banner){var b=_.nu(this.data.banner.thumbnails,this.clientWidth);b&&(0===b.indexOf("//")&&(b="https:"+b),this.hasChannelArt=!0,this.updateStyles({"--yt-channel-banner":"url("+b+")"}))}this.hasChannelArt!==a&&this.$.header.fire("iron-resize")};
_.f.onBannerUpdated=function(a,b){a=1<window.devicePixelRatio?b.hq_url:b.url;0===a.indexOf("//")&&(a="https:"+a);this.hasChannelArt=!0;this.updateStyles({"--yt-channel-banner":"url("+a+")"})};
_.f.observeLightsourcePalette=function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.headerColorPalette)?void 0:b.lightsourceColorPaletteData;c&&_.av(this,c)};
_.f.observerRichGridItemsPerRow=function(){this.isRichGrid&&this.richGridItemsPerRow&&this.updateStyles({"--ytd-rich-grid-items-per-row":""+this.richGridItemsPerRow})};
_.f.onSearchNavigate=function(){this.tabsElement.selected=-1};
_.f.handleUnsubscribeAction=function(){var a,b,c;"STYLE_PRIMARY"===(null==(a=this.data)?void 0:null==(b=a.sponsorButton)?void 0:null==(c=b.buttonRenderer)?void 0:c.style)&&this.$$("#sponsor-button ytd-button-renderer").set("data.style","STYLE_SUGGESTIVE")};
_.f.onFocusedChanged=function(a){(a=_.H(a).rootTarget)&&"tp-yt-paper-tab"===a.is&&a.hasRipple()&&(a.getRipple().holdDown=!a.pointerDown&&a.focused)};
_.t.Object.defineProperties(K4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-c4-tabbed-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_c4_tabbed_header_renderer.ytd.c4.tabbed.header.renderer.css.js--\x3e<tp-yt-app-header-layout><tp-yt-app-header id="header" slot="header" condenses="" disabled="[[computeHeaderDisabled(active, guideIsVisibleButNotPersistent)]]" effects="parallax-background" effects-config="{&quot;parallax-background&quot;: {&quot;scalar&quot;: 0.5}}" fixed=""><a class="banner-visible-area yt-simple-endpoint" aria-label$="[[data.banner.accessibility.accessibilityData.label]]" data="[[data.bannerLinkEndpoint]]" hidden="[[!data.bannerLinkEndpoint]]" href="[[computeHref_(data.bannerLinkEndpoint)]]"></a><div class="banner-visible-area" hidden="[[data.bannerLinkEndpoint]]"><div id="banner-editor"></div></div><div id="channel-container"><div id="channel-header"><div id="channel-header-container"><yt-img-shadow id="avatar" disable-upgrade$="[[data.editAvatarServiceEndpoint]]" hidden="[[data.editAvatarServiceEndpoint]]" thumbnail="[[data.avatar]]" width="80"></yt-img-shadow><ytd-channel-avatar-editor data="[[data]]" disable-upgrade$="[[!data.editAvatarServiceEndpoint]]" hidden="[[!data.editAvatarServiceEndpoint]]"></ytd-channel-avatar-editor><div id="inner-header-container"><div id="meta"><ytd-channel-name id="channel-name" badges="[[data.badges]]" channel-name="[[data.title]]" has-channel-art="[[hasChannelArt]]" wrap-text=""></ytd-channel-name><p hidden="[[!computeDisplayChannelHandle(data.channelHandleText)]]"><yt-formatted-string id="channel-handle" text="[[data.channelHandleText]]"></yt-formatted-string></p><yt-formatted-string id="subscriber-count" text="[[data.subscriberCountText]]"></yt-formatted-string></div><div id="buttons"><ytd-button-renderer id="tip" button-raised="" data="[[data.tipCard.buttonRenderer]]"></ytd-button-renderer><div id="purchase-button"></div><div id="sponsor-button"></div><div id="edit-buttons"></div><div id="subscribe-button"></div><div id="other-buttons"></div></div></div></div><div id="links-holder"><div id="primary-links"><template is="dom-repeat" items="[[data.headerLinks.channelHeaderLinksRenderer.primaryLinks]]" as="primaryLink"><a class="yt-simple-endpoint container" href$="[[computeHref_(primaryLink.navigationEndpoint)]]" data="[[primaryLink.navigationEndpoint]]" title$="[[getSimpleString(primaryLink.title)]]"><div class="icon-container"><yt-img-shadow height="16" thumbnail="[[primaryLink.icon]]" width="16"></yt-img-shadow><yt-formatted-string text="[[primaryLink.title]]"></yt-formatted-string></div></a></template></div><div id="secondary-links"><template is="dom-repeat" items="[[data.headerLinks.channelHeaderLinksRenderer.secondaryLinks]]" as="secondaryLink"><a class="yt-simple-endpoint" href$="[[computeHref_(secondaryLink.navigationEndpoint)]]" data="[[secondaryLink.navigationEndpoint]]" title$="[[getSimpleString(secondaryLink.title)]]"><yt-img-shadow height="16" thumbnail="[[secondaryLink.icon]]" width="16"></yt-img-shadow></a></template></div></div></div></div><tp-yt-app-toolbar sticky=""><div id="tabs-container"><div id="tabs-inner-container"><tp-yt-paper-tabs id="tabs" noink="" remove-idle-scroll-buttons="" scrollable="" selected="{{selected}}" on-iron-activate="onTabsActivate"><template is="dom-repeat" items="[[tabs]]"><tp-yt-paper-tab disable-upgrade$="[[!item.tabRenderer]]" hidden="[[!item.tabRenderer]]" on-focused-changed="onFocusedChanged">\n                [[item.tabRenderer.title]]\n              </tp-yt-paper-tab><ytd-expandable-tab-renderer data="[[item.expandableTabRenderer]]" disable-upgrade$="[[!item.expandableTabRenderer]]" hidden="[[!item.expandableTabRenderer]]" on-yt-navigate="onSearchNavigate"></ytd-expandable-tab-renderer></template></tp-yt-paper-tabs></div></div></tp-yt-app-toolbar></tp-yt-app-header></tp-yt-app-header-layout>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_c4_tabbed_header_renderer.ytd.c4.tabbed.header.renderer.css.js--\x3e<style>:host {--yt-lightsource-section1-color: var(--yt-spec-general-background-a);--yt-lightsource-primary-title-color: var(--yt-spec-text-primary);--yt-lightsource-secondary-title-color: var(--yt-spec-text-secondary);display: block;} #channel-container,#tabs-container {background-color: var(--yt-spec-general-background-a);} #channel-container {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;} #channel-header {background-color: var(--yt-lightsource-section1-color);width: 100%;padding: 16px 107px 4px;position: relative;z-index: 1;min-width: 0;} #channel-header-container {height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host(:not([is-rich-grid])) #channel-header-container {max-width: 1284px;} #inner-header-container {-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #avatar {width: 80px;height: 80px;margin: 0 24px 0 0;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #channel-name {--ytd-channel-name-container-display: inline;--ytd-channel-name-text-container-display: inline;--ytd-channel-name-text-display: inline;--ytd-channel-name-badges-display: inline;--ytd-badge-icon-size: 16px;--ytd-badge-icon-color: var(--yt-lightsource-secondary-title-color);--ytd-badge-display: inline;--iron-icon: {margin-bottom: 7px;};--ytd-channel-name-text-font-size: var(--yt-channel-title-font-size, 2.4rem);--ytd-channel-name-text-font-weight: 400;--ytd-channel-name-text-line-height: var(--yt-channel-title-line-height, 3rem);max-height: 9rem;overflow: hidden;color: var(--yt-lightsource-primary-title-color);font-size: 2em;display: block;} #channel-name[verified] {color: var(--yt-spec-text-primary);} #channel-handle {color: var(--yt-lightsource-secondary-title-color);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #meta {max-height: 9rem;overflow: hidden;} #meta {min-width: 150px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .icon-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #subscriber-count {color: var(--yt-lightsource-secondary-title-color);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} ytd-button-renderer#tip {--iron-icon: {margin-right: 4px;width: 16px;height: 16px;};color: var(--yt-lightsouce-secondary-title-color,var(--yt-spec-filled-button-text));background-color: var(--yt-lightsource-section2-color,var(--yt-spec-themed-blue));margin-right: 4px;} #header {--app-header-background-front-layer-background-image: var(--yt-channel-banner);--app-header-background-front-layer-background-position: 0 0;--app-header-background-front-layer-background-repeat: no-repeat;--app-header-background-front-layer-background-size: 100% auto;position: fixed;margin-top: var(--ytd-toolbar-offset);z-index: 1;} .banner-visible-area.yt-simple-endpoint {display: block;} .banner-visible-area {display: block;height: 0;position: relative;} :host([has-channel-art]) .banner-visible-area {height: calc(16.1290322581vw - 1px);} :host([has-channel-art][guide-persistent-and-visible]) .banner-visible-area {height: calc((100vw - 240px)/6.2 - 1px);} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #tip:empty {display: none;} #sponsor-button ytd-button-renderer {margin-right: 8px;} #sponsor-button {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #edit-buttons ytd-button-renderer:first-child {margin-right: 8px;} #tabs-container {width: 100%;height: 48px;} #tabs-inner-container {background-color: var(--yt-lightsource-section1-color);} tp-yt-paper-tabs {--paper-tabs-selection-bar-color: var(--yt-lightsource-secondary-title-color);--paper-tabs-selection-bar: {border-bottom-width: 3px;};box-sizing: border-box;color: var(--yt-lightsource-secondary-title-color);height: 48px;padding-bottom: 1px;margin-left: 51px;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} tp-yt-paper-tab {padding: 0 32px;vertical-align: middle;} tp-yt-paper-tab:hover {color: var(--yt-lightsource-primary-title-color,var(--yt-spec-text-primary));} tp-yt-paper-tab {--paper-tab-ink: var(--yt-spec-paper-tab-ink);} tp-yt-paper-tab.iron-selected {color: var(--yt-lightsource-primary-title-color);} .expandable-tab {display: inline-block;} ytd-expandable-tab-renderer {--yt-expandable-color: var(--yt-lightsource-primary-title-color);--yt-expandable-unselected-color: var(--yt-lightsource-secondary-title-color);padding: 0 24px;vertical-align: middle;} #links-holder {height: 36px;top: -52px;right: 16px;position: absolute;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-app-toolbar {height: 48px;padding: 0;} #primary-links,#secondary-links {background-color: var(--yt-spec-static-overlay-background-medium-light);} #primary-links yt-formatted-string {color: var(--yt-spec-static-brand-white);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #primary-links yt-img-shadow {padding-right: 5px;} .yt-simple-endpoint {display: block;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} #primary-links a.yt-simple-endpoint {padding: 10px;display: inline-block;} #secondary-links a.yt-simple-endpoint {padding: 10px 10px 10px 2px;line-height: 0;display: inline-block;} #secondary-links a:first-child {padding-left: 10px;} @media(max-width:701px) {#avatar {display: none;}#channel-header-container {width: 428px;margin: auto;padding: 24px 0 0;box-sizing: border-box;}#channel-header {height: auto;padding: 0;}#channel-name {max-height: 7.3rem;--ytd-channel-name-text-font-size: var(--ytd-navbar-title-font-size);--ytd-channel-name-text-font-weight: var( --ytd-navbar-title-font-weight );--ytd-channel-name-text-line-height: var( --ytd-navbar-title-line-height );}tp-yt-paper-tabs {margin: 0;}} @media(max-width:800px) {#channel-header-container {-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;}#meta {margin-bottom: 8px;}#buttons ytd-button-renderer,#buttons ytd-subscribe-button-renderer {margin-bottom: 8px;}} @media(max-width:427px) {#channel-header-container {width: auto;padding: 20px 8px;}} @media(min-width:1304px) {:host(:not([guide-persistent-and-visible])) #channel-header-container {margin: auto;}} @media(min-width:1544px) {#channel-header-container {margin: auto;}} :host(.grid-1-columns) #channel-header {padding-right: calc((100% - 214px)/2);padding-left: calc((100% - 214px)/2);} :host(.grid-1-columns) tp-yt-paper-tabs {margin-left: calc((100% - 214px)/2);margin-right: calc((100% - 214px)/2);} :host(.grid-2-columns) #channel-header {padding-right: calc((100% - 428px)/2);padding-left: calc((100% - 428px)/2);} :host(.grid-2-columns) tp-yt-paper-tabs {margin-left: calc((100% - 428px)/2);margin-right: calc((100% - 428px)/2);} :host(.grid-3-columns) #channel-header {padding-right: calc((100% - 642px)/2);padding-left: calc((100% - 642px)/2);} :host(.grid-3-columns) tp-yt-paper-tabs {margin-left: calc((100% - 642px)/2);margin-right: calc((100% - 642px)/2);} :host(.grid-4-columns) #channel-header {padding-right: calc((100% - 856px)/2);padding-left: calc((100% - 856px)/2);} :host(.grid-4-columns) tp-yt-paper-tabs {margin-left: calc((100% - 856px)/2);margin-right: calc((100% - 856px)/2);} :host(.grid-5-columns) #channel-header {padding-right: calc((100% - 1070px)/2);padding-left: calc((100% - 1070px)/2);} :host(.grid-5-columns) tp-yt-paper-tabs {margin-left: calc((100% - 1070px)/2);margin-right: calc((100% - 1070px)/2);} :host(.grid-6-columns) #channel-header {padding-right: calc((100% - 1284px)/2);padding-left: calc((100% - 1284px)/2);} :host(.grid-6-columns) tp-yt-paper-tabs {margin-left: calc((100% - 1284px)/2);margin-right: calc((100% - 1284px)/2);} :host([is-rich-grid]) #channel-header {padding-left: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);padding-right: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);} :host([is-rich-grid]) tp-yt-paper-tabs {margin-left: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);margin-right: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);} :host([is-rich-grid][rich-grid-mini-mode]) #channel-header {padding-left: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);padding-right: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);} :host([is-rich-grid][rich-grid-mini-mode]) tp-yt-paper-tabs {margin-left: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);margin-right: max(24px,(100% - (var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin)))/2);} @media(max-width:600px) {:host([is-rich-grid][rich-grid-mini-mode]) #channel-header {padding: 0;}} @media(max-width:600px) {:host([is-rich-grid][rich-grid-mini-mode]) tp-yt-paper-tabs {margin: 0;}} /*# sourceMappingURL=ytd-c4-tabbed-header-renderer.css.map*/</style>';
vMb=d}d=vMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wMb=a}a=wMb;return a}}});
var L4=K4;L4.prototype.observerRichGridItemsPerRow=L4.prototype.observerRichGridItemsPerRow;L4.prototype.observeLightsourcePalette=L4.prototype.observeLightsourcePalette;L4.prototype.onBannerUpdated=L4.prototype.onBannerUpdated;L4.prototype.dataChanged=L4.prototype.dataChanged;_.S([_.L(_.B1),_.T("design:type",Object)],L4.prototype,"ytdGridStateAwareBehavior",void 0);_.S([_.L(hLb),_.T("design:type",Object)],L4.prototype,"ytdTabbedHeaderBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],L4.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],L4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],L4.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],L4.prototype,"ytdReduxBehavior",void 0);_.S([_.Z("#tabs"),_.T("design:type",Object)],L4.prototype,"tabsElement",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],L4.prototype,"isRichGrid",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],L4.prototype,"richGridMiniMode",void 0);_.S([_.N({selector:_.Yu}),_.T("design:type",Number)],L4.prototype,"richGridItemsPerRow",void 0);_.S([_.N(),_.T("design:type",Object)],L4.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],L4.prototype,"hasChannelArt",void 0);
_.S([_.N({selector:_.a5a,reflectToAttribute:!0}),_.T("design:type",Boolean)],L4.prototype,"guideIsVisibleButNotPersistent",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],L4.prototype,"dataChanged",null);_.S([_.O("yt-banner-updated"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],L4.prototype,"onBannerUpdated",null);
_.S([_.P("data.headerColorPalette.lightsourceColorPaletteData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],L4.prototype,"observeLightsourcePalette",null);_.S([_.P("richGridItemsPerRow"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],L4.prototype,"observerRichGridItemsPerRow",null);L4=_.S([_.Q({is:"ytd-c4-tabbed-header-renderer"})],L4);
var GMb;
var HMb;
var M4=function(){return _.K.apply(this,arguments)||this};
_.q(M4,_.K);M4.prototype.configureRendererStamper=function(){return{"data.buttons":{id:"buttons",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer",subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}}}};
M4.prototype.dataChanged=function(){if(this.data){var a=this.hasBannerArt;this.hasBannerArt=!1;if(this.data&&this.data.banner){var b=_.nu(this.data.banner.thumbnails,this.clientWidth);b&&(0===b.indexOf("//")&&(b="https:"+b),this.hasBannerArt=!0,this.updateStyles({"--ytd-interactive-tabbed-header-renderer-banner-url":"url("+b+")"}))}this.hasBannerArt!==a&&this.$.header.fire("iron-resize")}};
_.t.Object.defineProperties(M4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-interactive-tabbed-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_interactive_tabbed_header_renderer.ytd.interactive.tabbed.header.renderer.css.js--\x3e<tp-yt-app-header-layout><tp-yt-app-header id="header" slot="header" condenses="" disabled="[[!active]]" effects="parallax-background" effects-config="{&quot;parallax-background&quot;: {&quot;scalar&quot;: 0.5}}" fixed=""><svg id="bg" viewBox="0 0 1439 304" preserveAspectRatio="xMinYMid slice"><path opacity="0.5" d="M 0,304 V 0 H 963 L 1439,304 Z"></path><path opacity="0.5" d="M 0,0 l 0,304 580,0 L 1055,0 0,0 Z"></path><path opacity="0.9" d="M 0,304 V 0 H 780 L 1247,304 Z"></path></svg><div id="content-container"><div id="content"><yt-img-shadow id="box-art" object-fit="COVER" thumbnail="[[data.boxArt]]"></yt-img-shadow><div id="details"><div id="title">[[getSimpleString(data.title)]]</div><div id="auto-generated" hidden="[[!data.autoGenerated]]">[[getSimpleString(data.autoGenerated)]]</div><div id="description">[[getSimpleString(data.description)]]</div><div id="metadata">[[getSimpleString(data.metadata)]]</div><ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]"></ytd-badge-supported-renderer><div id="buttons"></div></div></div></div><tp-yt-app-toolbar sticky=""><div id="tabs-container"><div id="tabs-inner-container"><tp-yt-paper-tabs noink="" scrollable="" selected="{{selected}}" on-iron-activate="onTabsActivate"><template is="dom-repeat" items="[[tabs]]"><tp-yt-paper-tab disable-upgrade$="[[!item.tabRenderer]]" hidden="[[!item.tabRenderer]]">\n                [[item.tabRenderer.title]]\n              </tp-yt-paper-tab></template></tp-yt-paper-tabs></div></div></tp-yt-app-toolbar></tp-yt-app-header></tp-yt-app-header-layout>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_interactive_tabbed_header_renderer.ytd.interactive.tabbed.header.renderer.css.js--\x3e<style>:host {--ytd-badge-white-space: nowrap;display: block;} #bg {position: absolute;width: 100%;height: 100%;fill: var(--yt-spec-general-background-a);} #bg:dir(rtl) {-webkit-transform: scale(-1,1);transform: scale(-1,1);transform-origin: center;} #content-container {position: relative;width: 100%;} #content {height: 100%;margin: auto;padding: 24px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} #box-art {width: 184px;height: 256px;border-radius: 2px;} #details {margin-left: 40px;} #title {max-width: 320px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;max-height: 6.4rem;overflow: hidden;display: block;-webkit-line-clamp: 2;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #auto-generated {margin-top: 4px;color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #description {max-width: 320px;margin-top: 8px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 6.6rem;overflow: hidden;display: block;-webkit-line-clamp: 3;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #metadata {max-width: 320px;margin-top: 8px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} ytd-badge-supported-renderer {margin-top: 8px;overflow: hidden;height: 16px;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #buttons {-ms-flex-wrap: nowrap;-webkit-flex-wrap: nowrap;flex-wrap: nowrap;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #buttons ytd-button-renderer,#buttons ytd-subscribe-button-renderer {margin-top: 22px;} #buttons ytd-button-renderer {margin-right: 8px;} #buttons ytd-subscribe-button-renderer {margin-left: -4px;margin-right: 4px;} #header {--app-header-background-front-layer-background-image: var(--ytd-interactive-tabbed-header-renderer-banner-url);--app-header-background-front-layer-background-position: center;--app-header-background-front-layer-background-repeat: no-repeat;--app-header-background-front-layer-background-size: cover;position: fixed;margin-top: var(--ytd-toolbar-offset);z-index: 1;} #tabs-container {width: 100%;height: 48px;} #tabs-inner-container {background-color: var(--yt-spec-general-background-a);} tp-yt-paper-tabs {--paper-tabs-selection-bar-color: var(--yt-spec-text-secondary);--paper-tabs-selection-bar: {border-bottom-width: 3px;};position: relative;box-sizing: border-box;height: 48px;margin: auto;max-width: 100%;padding-bottom: 1px;color: var(--yt-spec-text-secondary);font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} tp-yt-paper-tab {padding: 0 32px;vertical-align: middle;} tp-yt-paper-tab:hover {color: var(--yt-spec-text-primary);} tp-yt-paper-tab:focus {background-color: var(--yt-spec-button-chip-background-hover);} tp-yt-paper-tab.iron-selected {color: var(--yt-spec-text-primary);} tp-yt-app-toolbar {height: 48px;padding: 0;} @media(max-width:701px) {#box-art {width: 90px;height: 125px;}#description,#metadata {display: none;}#buttons ytd-button-renderer,#buttons ytd-subscribe-button-renderer {margin-top: 16px;}} :host(.grid-1-columns) #content {width: 214px;} :host(.grid-1-columns) tp-yt-paper-tabs {width: 326px;} :host(.grid-2-columns) #content {width: 428px;} :host(.grid-2-columns) tp-yt-paper-tabs {width: 540px;} :host(.grid-3-columns) #content {width: 642px;} :host(.grid-3-columns) tp-yt-paper-tabs {width: 754px;} :host(.grid-4-columns) #content {width: 856px;} :host(.grid-4-columns) tp-yt-paper-tabs {width: 968px;} :host(.grid-5-columns) #content {width: 1070px;} :host(.grid-5-columns) tp-yt-paper-tabs {width: 1182px;} :host(.grid-6-columns) #content {width: 1284px;} :host(.grid-6-columns) tp-yt-paper-tabs {width: 1396px;} /*# sourceMappingURL=ytd-interactive-tabbed-header-renderer.css.map*/</style>';
GMb=d}d=GMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HMb=a}a=HMb;return a}}});
var N4=M4;N4.prototype.dataChanged=N4.prototype.dataChanged;_.S([_.L(hLb),_.T("design:type",Object)],N4.prototype,"ytdTabbedHeaderBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],N4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.B1),_.T("design:type",Object)],N4.prototype,"ytdGridStateAwareBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],N4.prototype,"ytdGuideStateAwareBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],N4.prototype,"componentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N4.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],N4.prototype,"selected",void 0);_.S([_.N(),_.T("design:type",Boolean)],N4.prototype,"active",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],N4.prototype,"hasBannerArt",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],N4.prototype,"dataChanged",null);N4=_.S([_.Q({is:"ytd-interactive-tabbed-header-renderer"})],N4);
var IMb;
var JMb;
var O4=function(){return _.K.apply(this,arguments)||this};
_.q(O4,_.K);O4.prototype.configureRendererStamper=function(){return{"data.leftActions":{id:"left-actions",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(O4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-page-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_page_footer_renderer.ytd.page.footer.renderer.css.js--\x3e<div id="left-actions"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===IMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_page_footer_renderer.ytd.page.footer.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-general-background-a);border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #left-actions ytd-button-renderer {margin-right: 8px;} /*# sourceMappingURL=ytd-page-footer-renderer.css.map*/</style>";
IMb=d}d=IMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JMb=a}a=JMb;return a}}});
var P4=O4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],P4.prototype,"data",void 0);P4=_.S([_.Q({asyncProperties:!0,is:"ytd-page-footer-renderer"})],P4);
var KMb;
var LMb;
var MMb;
var NMb;
var Q4=function(){var a=_.K.apply(this,arguments)||this;a.isEditing=!1;a.isMultiline=!1;return a};
_.q(Q4,_.K);_.f=Q4.prototype;_.f.onKeydown=function(a){if(13===a.keyCode&&!this.isMultiline)this.onSave();else if(27===a.keyCode)this.onCancel()};
_.f.computeComponentStyle=function(a){return a.style?a.style:"INLINE_FORM_STYLE_UNKNOWN"};
_.f.computeisMultiline=function(a){return a.formField&&a.formField.textInputFormFieldRenderer&&a.formField.textInputFormFieldRenderer.isMultiline?a.formField.textInputFormFieldRenderer.isMultiline:!1};
_.f.computeTextDisplayed=function(a,b){if(a)return a;if(b)return b};
_.f.onEdit=function(){this.isEditing=!0;this.textForm.focusTextInput()};
_.f.onSave=function(){if(this.textForm.validate()){this.textForm.save();var a=this.textForm.value;if(a)this.set("data.textDisplayed",_.Mu(a));else{var b;(null==(b=this.data)?0:b.placeholder)&&this.set("data.textDisplayed",this.data.placeholder)}this.isEditing=!1}};
_.f.onCancel=function(){var a=_.qi(this.data.textDisplayed);a===this.data.placeholder?this.textForm.reset(""):this.textForm.reset(a);this.isEditing=!1};
_.t.Object.defineProperties(Q4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-inline-form-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.forms.ytd_inline_form_renderer.ytd.inline.form.renderer.css.js--\x3e<div id="display-dialog" hidden="[[isEditing]]">\n  <yt-formatted-string id="text-displayed" split-lines="" text="[[computeTextDisplayed(data.textDisplayed, data.placeholder)]]">\n  </yt-formatted-string>\n  <ytd-button-renderer id="edit-button" data="[[data.editButton.buttonRenderer]]" on-click="onEdit">\n  </ytd-button-renderer>\n</div>\n<div id="edit-dialog" hidden="[[!isEditing]]">\n  <yt-text-input-form-field-renderer id="text-form" component-style="[[componentStyle]]" data="[[data.formField.textInputFormFieldRenderer]]" no-label-float="" required-error-message="[[addToStrings.REQUIRED_LABEL]]">\n  </yt-text-input-form-field-renderer>\n  <div id="edit-buttons">\n    <ytd-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" on-click="onCancel">\n  </ytd-button-renderer>\n    <ytd-button-renderer id="save-button" data="[[data.saveButton.buttonRenderer]]" on-click="onSave">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.forms.ytd_inline_form_renderer.ytd.inline.form.renderer.css.js--\x3e<style>:host {display: block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #text-displayed {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([component-style=INLINE_FORM_STYLE_TITLE]) #text-displayed {color: var(--yt-spec-text-primary);overflow: hidden;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} :host([component-style=INLINE_FORM_STYLE_BODY_TEXT]) #text-displayed {color: var(--yt-spec-text-primary);word-wrap: break-word;overflow: hidden;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([component-style=INLINE_FORM_STYLE_BODY_TEXT_PLACEHOLDER]) #text-displayed {color: var(--yt-spec-text-secondary);word-wrap: break-word;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #display-dialog {overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([component-style=INLINE_FORM_STYLE_TITLE]) #display-dialog {-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([component-style=INLINE_FORM_STYLE_TITLE]) #edit-button {-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #edit-button {color: var(--yt-spec-icon-active-other);padding-left: 8px;} :host([component-style=INLINE_FORM_STYLE_BODY_TEXT]) #edit-button {margin-top: -8px;} :host([component-style=INLINE_FORM_STYLE_BODY_TEXT_PLACEHOLDER]) #edit-button {margin-top: -8px;} #edit-dialog {min-width: 0;flex-grow: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #edit-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #save-button {margin-right: -16px;} yt-text-input-form-field-renderer {padding-bottom: 0;} /*# sourceMappingURL=ytd-inline-form-renderer.css.map*/</style>';
MMb=d}d=MMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NMb=a}a=NMb;return a}}});
var R4=Q4;R4.prototype.onKeydown=R4.prototype.onKeydown;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],R4.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],R4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R4.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R4.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],R4.prototype,"isEditing",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeComponentStyle(data)"}),_.T("design:type",String)],R4.prototype,"componentStyle",void 0);_.S([_.N({computed:"computeisMultiline(data)"}),_.T("design:type",Object)],R4.prototype,"isMultiline",void 0);_.S([_.Z("#text-form"),_.T("design:type",_.tF)],R4.prototype,"textForm",void 0);
_.S([_.O("keydown"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent]),_.T("design:returntype")],R4.prototype,"onKeydown",null);R4=_.S([_.Q({is:"ytd-inline-form-renderer"})],R4);
var OMb;
var PMb;
var S4=function(){var a=_.K.apply(this,arguments)||this;a.previousSelectValue=void 0;a.selectedItemMessage=void 0;return a};
_.q(S4,_.K);S4.prototype.detached=function(){this.selectedItemMessage=this.previousSelectValue=void 0};
S4.prototype.selectedValueChanged=function(){if(void 0!==this.selectedValue){var a,b,c,d,e=null==(a=this.data)?void 0:null==(b=a.dropdown)?void 0:null==(c=b.dropdownRenderer)?void 0:null==(d=c.entries)?void 0:d.map(function(l){return l.privacyDropdownItemRenderer});
a=_.k(null!=e?e:[]);for(b=a.next();!b.done;b=a.next())if((b=b.value)&&b.int32Value===this.selectedValue){this.selectedItemMessage=b.itemMessage;break}}else this.selectedItemMessage=void 0;if(-1!==this.selectedValue)if(void 0===this.previousSelectValue)this.previousSelectValue=this.selectedValue;else if(this.previousSelectValue!==this.selectedValue){var h;null!=(h=this.data)&&h.key&&this.data.onChange&&(this.set(this.data.key,this.selectedValue,this.data.onChange),_.Kg(this,[this.data.onChange]),this.previousSelectValue=
this.selectedValue)}};
S4.prototype.onValueChangedForSelectedValue=function(a){this.selectedValue=a.detail.value};
_.t.Object.defineProperties(S4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-dropdown-form-field-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_dropdown_form_field_renderer.ytd.dropdown.form.field.renderer.css.js--\x3e<div>\n  <ytd-dropdown-renderer id="dropdown" autosize="" data="[[data.dropdown.dropdownRenderer]]" min-autosize-width="0" no-label-float="" no-underline="" value="[[selectedValue]]" on-value-changed="onValueChangedForSelectedValue">\n  </ytd-dropdown-renderer>\n  <yt-formatted-string id="selected-item-message" hidden="[[!selectedItemMessage]]" text="[[selectedItemMessage]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===OMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_dropdown_form_field_renderer.ytd.dropdown.form.field.renderer.css.js--\x3e<style>:host {display: inline-block;color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-dropdown-form-field-renderer.css.map*/</style>";OMb=d}d=OMb;
c.call(b,d.content.cloneNode(!0),a.content.firstChild);PMb=a}a=PMb;return a}}});
var T4=S4;T4.prototype.selectedValueChanged=T4.prototype.selectedValueChanged;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],T4.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],T4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T4.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],T4.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Number)],T4.prototype,"selectedValue",void 0);_.S([_.Ct("selectedValue"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],T4.prototype,"selectedValueChanged",null);T4=_.S([_.Q({asyncProperties:!0,is:"ytd-dropdown-form-field-renderer"})],T4);
var QMb;
var RMb;
var U4=function(){var a=_.K.apply(this,arguments)||this;a.rtlBullet=_.x("web_playlist_stats_rtl_bullet_icon_killswitch");a.actionMap={"yt-update-playlist-action":"onUpdatePlaylistAction"};return a};
_.q(U4,_.K);_.f=U4.prototype;_.f.configureRendererStamper=function(){return{"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",params:{icon:"yt-icons:more"}}}},"data.playButtons":{id:"play-buttons",mapping:{buttonRenderer:{component:"ytd-button-renderer"},toggleButtonRenderer:{component:"ytd-toggle-button-renderer"},compactLinkRenderer:{component:"ytd-compact-link-renderer"}}}}};
_.f.attached=function(){};
_.f.computeIsCustomThumbnail=function(a){return a?!!a.playlistCustomThumbnailRenderer:!1};
_.f.onYtNavigate=function(a,b){if(b&&b.actions&&-1<b.actions.indexOf("shuffle")){a=_.Eg().resolve(_.Go);var c=b.tempData||{};c.watch_params=this.get("menu.menuRenderer.topLevelButtons[1].buttonRenderer.navigationEndpoint.watchEndpoint.params",this.data);b.tempData=c;a.isShuffleNextPlaylist=!0}};
_.f.onUpdatePlaylistAction=function(a){var b,c;if(a=null==a?void 0:null==(b=a.updatePlaylistAction)?void 0:null==(c=b.updatedRenderer)?void 0:c.playlistSidebarPrimaryInfoRenderer)this.data=a};
_.f.computeStyleType=function(a){return a?a.toLowerCase().replace(/_/g,"-"):""};
_.f.computeThumbnailWidth=function(a){return"PLAYLIST_SIDEBAR_PRIMARY_INFO_RENDERER_STYLE_TYPE_SHOW"===a?412:357};
_.f.computeHideThumbnailAria=function(a){if(null==a?0:a.thumbnailOverlays)for(var b=0;b<a.thumbnailOverlays.length;b++){var c=void 0;if(null==(c=a.thumbnailOverlays[b])?0:c.tvfilmShowWatchForwardOverlayRenderer)return!1}return!0};
_.t.Object.defineProperties(U4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-sidebar-primary-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_sidebar_primary_info_renderer.ytd.playlist.sidebar.primary.info.renderer.css.js--\x3e<ytd-playlist-thumbnail bottom-side-panel="" custom-thumbnail-size="[[thumbnailWidth]]" data="[[data]]" hidden="[[!data.thumbnailRenderer]]" hide-aria="[[computeHideThumbnailAria(data)]]" width="[[thumbnailWidth]]"></ytd-playlist-thumbnail><h1 id="title" hidden="[[!data.title]]"><yt-formatted-string text="[[data.title]]"></yt-formatted-string></h1><template is="dom-if" restamp="" if="[[data.titleForm]]"><ytd-inline-form-renderer id="title-form" data="[[data.titleForm.inlineFormRenderer]]"></ytd-inline-form-renderer></template><div id="stats" hidden="[[!data.stats]]"><template is="dom-repeat" items="[[data.stats]]"><yt-formatted-string text="[[item]]"></yt-formatted-string></template></div><div id="privacy-stats"><ytd-badge-supported-renderer id="badges" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]"></ytd-badge-supported-renderer><div id="show-stats" hidden="[[!data.showStats]]"><template is="dom-repeat" items="[[data.showStats]]"><yt-formatted-string text="[[item]]"></yt-formatted-string></template></div><template is="dom-if" restamp="" if="[[data.privacyForm]]"><ytd-dropdown-form-field-renderer id="privacy-form" data="[[data.privacyForm.dropdownFormFieldRenderer]]"></ytd-dropdown-form-field-renderer></template></div><div id="play-buttons"></div><div id="menu"></div><template is="dom-if" restamp="" if="[[data.description]]"><ytd-expander max-number-of-lines="20"><div id="description" slot="content"><yt-formatted-string id="description" split-lines="" text="[[data.description]]"></yt-formatted-string></div><yt-formatted-string class="more-button" slot="more-button" hidden="[[!data.showMoreText]]" role="button" text="[[data.showMoreText]]"></yt-formatted-string></ytd-expander></template><template is="dom-if" restamp="" if="[[data.descriptionForm]]"><ytd-expander max-number-of-lines="20"><div id="description-form" slot="content"><ytd-inline-form-renderer id="description-form" data="[[data.descriptionForm.inlineFormRenderer]]"></ytd-inline-form-renderer></div><yt-formatted-string class="more-button" slot="more-button" hidden="[[!data.showMoreText]]" role="button" text="[[data.showMoreText]]"></yt-formatted-string></ytd-expander></template>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_sidebar_primary_info_renderer.ytd.playlist.sidebar.primary.info.renderer.css.js--\x3e<style>@charset "UTF-8"; :host {display: block;} ytd-playlist-thumbnail {margin-bottom: 16px;} ytd-playlist-thumbnail:before {display: block;content: "";width: 100%;padding-top: 56.25%;background-color: var(--yt-spec-10-percent-layer);} :host([is-custom-thumbnail]) ytd-playlist-thumbnail:before {padding-top: 100%;} :host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) ytd-playlist-thumbnail {margin-bottom: 12px;} #title {display: block;margin-bottom: 8px;color: var(--yt-spec-text-primary);word-break: break-word;overflow: hidden;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} :host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) #title {margin-bottom: 2px;} #privacy-stats {margin-top: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #privacy-form {margin-right: 12px;} #badges {margin-top: 12px;margin-right: 4px;white-space: nowrap;} :host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) #privacy-stats,:host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) #badges {margin-top: 0;} #stats {color: var(--yt-spec-text-secondary);margin-top: 10px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) #stats {margin-top: 2px;margin-bottom: 2px;} #stats yt-formatted-string:not(:last-of-type):after {content: "\u2022";margin: 0 4px;} :host(:dir(rtl)[rtl-bullet]) #stats yt-formatted-string:not(:last-of-type):after {content: none;margin: 0;} :host(:dir(rtl)[rtl-bullet]) #stats yt-formatted-string:not(:last-of-type):before {content: "\u2022";margin: 0 4px;} #show-stats {color: var(--yt-spec-text-secondary);padding: 3px 4px;margin-right: 4px;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} #show-stats yt-formatted-string:not(:last-of-type):after {content: "\u2022";margin: 0 4px;} :host(:dir(rtl)) #show-stats yt-formatted-string:not(:last-of-type):after {content: none;margin: 0;} :host(:dir(rtl)) #show-stats yt-formatted-string:not(:last-of-type):before {content: "\u2022";margin: 0 4px;} #menu {margin-top: 4px;margin-bottom: 8px;margin-left: -8px;} #description {display: block;color: var(--yt-spec-text-secondary);word-wrap: break-word;margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #description-form {margin-bottom: 8px;} #play-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;} #play-buttons ytd-button-renderer,#play-buttons ytd-toggle-button-renderer {margin: 16px 0 8px 8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #play-buttons ytd-button-renderer:first-child,#play-buttons ytd-toggle-button-renderer:first-child {margin-left: 0;} :host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) #play-buttons {margin: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) #play-buttons>ytd-compact-link-renderer {border: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;border-radius: 2px;--paper-item-min-height: 34px;--paper-item-focused-before-background: none;} :host([style-type=playlist-sidebar-primary-info-renderer-style-type-show]) #play-buttons>* {margin: 4px 0;} .more-button {color: var(--yt-spec-text-secondary);display: inline-block;margin-top: 16px;margin-bottom: 16px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} /*# sourceMappingURL=ytd-playlist-sidebar-primary-info-renderer.css.map*/</style>';
QMb=d}d=QMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RMb=a}a=RMb;return a}}});
var V4=U4;V4.prototype.onYtNavigate=V4.prototype.onYtNavigate;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],V4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],V4.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],V4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],V4.prototype,"ytComponentBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],V4.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],V4.prototype,"rtlBullet",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyleType(data.style)"}),_.T("design:type",String)],V4.prototype,"styleType",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeThumbnailWidth(data.style)"}),_.T("design:type",Number)],V4.prototype,"thumbnailWidth",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeIsCustomThumbnail(data.thumbnailRenderer)"}),_.T("design:type",Boolean)],V4.prototype,"isCustomThumbnail",void 0);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[Event,Object]),_.T("design:returntype")],V4.prototype,"onYtNavigate",null);V4=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-sidebar-primary-info-renderer"})],V4);
var SMb;
var TMb;
var W4=function(){return _.K.apply(this,arguments)||this};
_.q(W4,_.K);W4.prototype.computeOwnerVisibility=function(a){return!(!a.videoOwner&&!a.button)};
W4.prototype.configureRendererStamper=function(){return{"data.videoOwner":{id:"video-owner",mapping:{videoOwnerRenderer:"ytd-video-owner-renderer"}},"data.button":{id:"button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer",subscriptionNotificationToggleButtonRenderer:"ytd-subscription-notification-toggle-button-renderer"}}}};
_.t.Object.defineProperties(W4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-sidebar-secondary-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_sidebar_secondary_info_renderer.ytd.playlist.sidebar.secondary.info.renderer.css.js--\x3e<yt-formatted-string id="title" hidden="[[!data.title]]" split-lines="" text="[[data.title]]">\n</yt-formatted-string>\n<div id="owner-container" hidden$="[[!computeOwnerVisibility(data)]]">\n  <div id="video-owner"></div>\n  <div id="button"></div>\n</div>\n<yt-formatted-string id="description" split-lines="" text="[[data.description]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_sidebar_secondary_info_renderer.ytd.playlist.sidebar.secondary.info.renderer.css.js--\x3e<style>:host {display: block;padding: 16px 0;} #owner-container {margin-bottom: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #video-owner {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #description {display: block;color: var(--yt-spec-text-secondary);word-wrap: break-word;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #title {display: block;padding-bottom: 16px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-playlist-sidebar-secondary-info-renderer.css.map*/</style>';
SMb=d}d=SMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TMb=a}a=TMb;return a}}});
var X4=W4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],X4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],X4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],X4.prototype,"data",void 0);X4=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-sidebar-secondary-info-renderer"})],X4);
var UMb;
var VMb;
var Y4=function(){return _.K.apply(this,arguments)||this};
_.q(Y4,_.K);Y4.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{gridShowRenderer:"ytd-grid-show-renderer"}}}};
_.t.Object.defineProperties(Y4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-sidebar-tertiary-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_sidebar_tertiary_info_renderer.ytd.playlist.sidebar.tertiary.info.renderer.css.js--\x3e<yt-formatted-string id="title" split-lines="" text="[[data.title]]">\n</yt-formatted-string>\n<div id="items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_sidebar_tertiary_info_renderer.ytd.playlist.sidebar.tertiary.info.renderer.css.js--\x3e<style>:host {display: block;padding: 20px 0;} #title {display: block;color: var(--yt-spec-text-secondary);word-wrap: break-word;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #items {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #items>*:not(:last-child) {margin-right: 4px;} /*# sourceMappingURL=ytd-playlist-sidebar-tertiary-info-renderer.css.map*/</style>';
UMb=d}d=UMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VMb=a}a=VMb;return a}}});
var Z4=Y4;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Z4.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Z4.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z4.prototype,"data",void 0);Z4=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-sidebar-tertiary-info-renderer"})],Z4);
var WMb;
var XMb;
var $4=function(){var a=_.K.apply(this,arguments)||this;a.expanded=!1;a.isCompact=!1;return a};
_.q($4,_.K);_.f=$4.prototype;_.f.attached=function(){this.ytdAutoScrollBehavior.scrollTarget=this.text};
_.f.dataChanged=function(){this.data&&_.zCb(_.H(this.text.root),_.Noa(_.qi(this.data.text||null),null))};
_.f.computeAutoScrollEnabled=function(a,b){return a&&!b};
_.f.expandedChanged=function(){this.expanderIcon.icon="yt-icons:expand-"+(this.expanded?"less":"more")};
_.f.toggleOnTap=function(){this.expanded=!this.expanded};
_.t.Object.defineProperties($4,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===XMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-legal-info-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_channel_legal_info_renderer.ytd.channel.legal.info.renderer.css.js--\x3e<yt-formatted-string id="text"></yt-formatted-string>\n<tp-yt-paper-material id="expand-button" elevation="1" on-click="toggleOnTap">\n  <yt-icon-button>\n    <yt-icon id="expander-icon"></yt-icon>\n  </yt-icon-button>\n</tp-yt-paper-material>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_channel_legal_info_renderer.ytd.channel.legal.info.renderer.css.js--\x3e<style>:host([expanded]) #text {height: auto;} :host([is-compact]) #text {padding: 16px 0;} #text {color: var(--yt-spec-text-secondary);display: block;height: 118px;overflow: auto;padding: 32px 64px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #expand-button {border-radius: 50%;background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-brand-icon-inactive);height: 40px;margin: -20px auto 0;width: 40px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #button {width: 40px;height: 40px;} /*# sourceMappingURL=ytd-channel-legal-info-renderer.css.map*/</style>';
WMb=d}d=WMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);XMb=a}a=XMb;return a}}});
var a5=$4;a5.prototype.expandedChanged=a5.prototype.expandedChanged;a5.prototype.dataChanged=a5.prototype.dataChanged;_.S([_.L(_.MEb),_.T("design:type",Object)],a5.prototype,"ytdAutoScrollBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],a5.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],a5.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a5.prototype,"expanded",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],a5.prototype,"isCompact",void 0);_.S([_.N({computed:"computeAutoScrollEnabled(data.autoscroll, expanded)"}),_.T("design:type",Boolean)],a5.prototype,"autoScrollEnabled",void 0);_.S([_.Z("#text"),_.T("design:type",Object)],a5.prototype,"text",void 0);_.S([_.Z("#expander-icon"),_.T("design:type",Object)],a5.prototype,"expanderIcon",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],a5.prototype,"dataChanged",null);_.S([_.P("expanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],a5.prototype,"expandedChanged",null);a5=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-legal-info-renderer"})],a5);
var b5=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-open-one-pick-add-video-modal-command":"onYtOnePickerAddVideoCommand"};a.standardizedThemedScrollbar=_.x("kevlar_themed_standardized_scrollbar");return a};
_.q(b5,_.K);
b5.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{playlistSidebarPrimaryInfoRenderer:{component:"ytd-playlist-sidebar-primary-info-renderer",noInjection:!0},playlistSidebarSecondaryInfoRenderer:{component:"ytd-playlist-sidebar-secondary-info-renderer",noInjection:!0},playlistSidebarTertiaryInfoRenderer:{component:"ytd-playlist-sidebar-tertiary-info-renderer",noInjection:!0},channelLegalInfoRenderer:{component:"ytd-channel-legal-info-renderer",params:{isCompact:!0},noInjection:!0}}}}};
b5.prototype.onYtOnePickerAddVideoCommand=function(a){a.openOnePickAddVideoModalCommand&&(new fLb(a.openOnePickAddVideoModalCommand)).show()};
b5.prototype.computeUsePremiumShowStyle=function(a){if(!a||!a.items)return!1;for(var b=0;b<a.items.length;b++)if(a.items[b].playlistSidebarPrimaryInfoRenderer){var c=void 0;return"PLAYLIST_SIDEBAR_PRIMARY_INFO_RENDERER_STYLE_TYPE_SHOW"===(null==(c=a.items[b].playlistSidebarPrimaryInfoRenderer)?void 0:c.style)}return!1};
_.t.Object.defineProperties(b5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-sidebar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_playlist_sidebar_renderer.ytd.playlist.sidebar.renderer.css.js--\x3e<div id="items"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KMb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_playlist_sidebar_renderer.ytd.playlist.sidebar.renderer.css.js--\x3e<style>:host {display: block;box-sizing: border-box;background-color: var(--yt-spec-general-background-a);width: 360px;padding: 24px;overflow-x: hidden;} :host(:not([standardized-themed-scrollbar])) {overflow-y: auto;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar {width: 8px;} :host(:not([standardized-themed-scrollbar]))::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} :host([standardized-themed-scrollbar]) {overflow-y: auto;} :host([standardized-themed-scrollbar])::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar])::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} #items>*:not(:last-child) {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} :host([use-premium-show-style]) {width: 460px;} /*# sourceMappingURL=ytd-playlist-sidebar-renderer.css.map*/</style>";
KMb=d}d=KMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LMb=a}a=LMb;return a}}});
var c5=b5;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],c5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],c5.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],c5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],c5.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeUsePremiumShowStyle(data)"}),_.T("design:type",Boolean)],c5.prototype,"usePremiumShowStyle",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],c5.prototype,"standardizedThemedScrollbar",void 0);c5=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-sidebar-renderer"})],c5);
var YMb;
var ZMb;
var $Mb=[10,12,14,16,18,20,24,28,32,36],aNb=[20,22,24,26,28,32,36,40,48,56,64,72,84,96,120],d5=function(){var a=_.K.apply(this,arguments)||this;a.useRoboto=!1;a.fontClass="";a.actionMap={"yt-window-resized":"resize"};return a};
_.q(d5,_.K);_.f=d5.prototype;_.f.attached=function(){var a=this;this.setParentConstraints();_.nt(this,function(){a.resize()});
_.Cj||document.fonts.ready.then(function(){a.resize()})};
_.f.dataChanged=function(){this.resize()};
_.f.guideIsExpandedChanged=function(){this.resize()};
_.f.resize=function(){if(this.textNode.offsetWidth||this.textNode.offsetWidth){this.textNode.style.visibility="hidden";var a=this.getMaxNumLines(),b=this.getMinFont(),c=this.getMaxFont(),d=this.useRoboto?$Mb:aNb;for(d=d.filter(function(h){return h<=c&&h>=b});1<d.length;){var e=Math.floor(d.length/2);
this.updateFontSize(d[e]);if(this.textNode.offsetWidth<=this.getMaxWidth()&&this.textNode.offsetHeight<=this.getMaxHeight()&&this.textNode.getClientRects().length<=a)d=d.slice(e,d.length);else if(this.textNode.offsetWidth>this.getMaxWidth()||this.textNode.offsetHeight>this.getMaxHeight()||this.textNode.getClientRects().length>a)d=d.slice(0,e);else break}this.updateFontSize(d[d.length-1]);this.textNode.style.visibility="inherit"}};
_.f.updateFontSize=function(a){this.fontClass&&this.textNode.classList.remove(this.fontClass);this.fontClass=(this.useRoboto?"roboto-":"yt-sans-")+a;this.textNode.classList.add(this.fontClass)};
_.f.getMaxFont=function(){var a=this.useRoboto?$Mb:aNb;a=a[a.length-1];return this.maxFontSize&&this.maxFontSize<=a?this.maxFontSize:a};
_.f.getMinFont=function(){var a=(this.useRoboto?$Mb:aNb)[0];return this.minFontSize&&this.minFontSize>=a?this.minFontSize:a};
_.f.getMaxWidth=function(){return this.maxWidth?this.maxWidth:this.containerNode.offsetWidth};
_.f.getMaxHeight=function(){return this.maxHeight?this.maxHeight:this.containerNode.offsetHeight};
_.f.getMaxNumLines=function(){return this.maxLines&&this.text?this.maxLines+_.qi(this.text).split("\n").length-1:Infinity};
_.f.setParentConstraints=function(){this.maxWidth&&(this.containerNode.style.maxWidth=this.maxWidth+"px");this.maxHeight&&(this.containerNode.style.maxHeight=this.maxHeight+"px");if(this.fontWeight){if(this.useRoboto&&400!==this.fontWeight&&500!==this.fontWeight)throw Error("yh`"+this.fontWeight);this.textNode.style.fontWeight=this.fontWeight.toString()}};
_.t.Object.defineProperties(d5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ZMb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-dynamic-sizing-formatted-string--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.components.yt_dynamic_sizing_formatted_string.yt.dynamic.sizing.formatted.string.css.js--\x3e<div id="container" class="dynamic-text-container">\n  <yt-formatted-string id="text" text="[[text]]"></yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===YMb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.components.yt_dynamic_sizing_formatted_string.yt.dynamic.sizing.formatted.string.css.js--\x3e<style>#container {max-height: 100%;max-width: 100%;} #text {white-space: pre-line;} .yt-sans-120 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 12rem;line-height: 15.4rem;font-weight: 700;} .yt-sans-96 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 9.6rem;line-height: 12.4rem;font-weight: 700;} .yt-sans-84 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 8.4rem;line-height: 10.8rem;font-weight: 700;} .yt-sans-72 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 7.2rem;line-height: 9.2rem;font-weight: 700;} .yt-sans-64 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 6.4rem;line-height: 8rem;font-weight: 700;} .yt-sans-56 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 5.6rem;line-height: 7rem;font-weight: 700;} .yt-sans-48 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 4.8rem;line-height: 6.6rem;font-weight: 700;} .yt-sans-40 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 4rem;line-height: 5.4rem;font-weight: 700;} .yt-sans-36 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 3.6rem;line-height: 5rem;font-weight: 700;} .yt-sans-32 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 3.2rem;line-height: 4.4rem;font-weight: 700;} .yt-sans-28 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.8rem;line-height: 3.8rem;font-weight: 700;} .yt-sans-26 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.6rem;line-height: 3.6rem;font-weight: 700;} .yt-sans-24 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 700;} .yt-sans-22 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.2rem;line-height: 3rem;font-weight: 700;} .yt-sans-20 {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 700;} .roboto-36 {font-family: "Roboto","Arial",sans-serif;font-size: 3.6rem;line-height: 5rem;font-weight: 500;} .roboto-32 {font-family: "Roboto","Arial",sans-serif;font-size: 3.2rem;line-height: 4.4rem;font-weight: 500;} .roboto-28 {font-family: "Roboto","Arial",sans-serif;font-size: 2.8rem;line-height: 3.8rem;font-weight: 500;} .roboto-24 {font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 500;} .roboto-20 {font-family: "Roboto","Arial",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 500;} .roboto-18 {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 500;} .roboto-16 {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} .roboto-14 {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .roboto-12 {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} .roboto-10 {font-family: "Roboto","Arial",sans-serif;font-size: 1rem;line-height: 1.6rem;font-weight: 500;} /*# sourceMappingURL=yt-dynamic-sizing-formatted-string.css.map*/</style>';
YMb=d}d=YMb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ZMb=a}a=ZMb;return a}}});
var e5=d5;e5.prototype.guideIsExpandedChanged=e5.prototype.guideIsExpandedChanged;e5.prototype.dataChanged=e5.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],e5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],e5.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],e5.prototype,"actionHandlerBehavior",void 0);
_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],e5.prototype,"text",void 0);_.S([_.N(),_.T("design:type",Number)],e5.prototype,"fontWeight",void 0);_.S([_.N(),_.T("design:type",Number)],e5.prototype,"maxWidth",void 0);_.S([_.N(),_.T("design:type",Number)],e5.prototype,"maxHeight",void 0);_.S([_.N(),_.T("design:type",Number)],e5.prototype,"maxFontSize",void 0);_.S([_.N(),_.T("design:type",Number)],e5.prototype,"minFontSize",void 0);
_.S([_.N(),_.T("design:type",Number)],e5.prototype,"maxLines",void 0);_.S([_.N(),_.T("design:type",Object)],e5.prototype,"useRoboto",void 0);_.S([_.N({selector:RKb}),_.T("design:type",Boolean)],e5.prototype,"guideIsExpanded",void 0);_.S([_.Z("#container"),_.T("design:type",HTMLElement)],e5.prototype,"containerNode",void 0);_.S([_.Z("#text"),_.T("design:type",HTMLElement)],e5.prototype,"textNode",void 0);
_.S([_.Ct("text"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],e5.prototype,"dataChanged",null);_.S([_.Ct("guideIsExpanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],e5.prototype,"guideIsExpandedChanged",null);e5=_.S([_.Q({asyncProperties:!0,is:"yt-dynamic-sizing-formatted-string"})],e5);
var bNb;
var cNb;
var f5=function(){return _.K.apply(this,arguments)||this};
_.q(f5,_.K);_.f=f5.prototype;_.f.computeUrlImg=function(a){if(a)return _.Sy(a.thumbnails,Number.MAX_VALUE)};
_.f.sendImpressionEndpoints=function(a){a.impressionEndpoints&&_.Kg(this,a.impressionEndpoints)};
_.f.observeBasicPalette=function(){var a,b,c=null==(a=this.data)?void 0:null==(b=a.colorData)?void 0:b.basicColorPaletteData;c?_.av(this,c):_.av(this,{})};
_.f.observeDataForCounterfactual=function(){if(_.x("kevlar_banner_cf_extra_logging")){var a;(null==(a=this.data)?0:a.isVisible)||this.sendImpressionEndpoints(this.data)}};
_.f.onDismissClick=function(){this.classList.add("dismissed")};
_.t.Object.defineProperties(f5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-banner-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_banner_promo_renderer.ytd.banner.promo.renderer.css.js--\x3e<template is="dom-if" if="[[data.isVisible]]">\n  <div class="ytd-banner-promo-renderer-background">\n    <ytd-button-renderer id="dismiss-button" align-by-text="" data="[[data.dismissButton.buttonRenderer]]" on-click="onDismissClick">\n    </ytd-button-renderer>\n    <div class="ytd-banner-promo-renderer-layout-container">\n      <div class="ytd-banner-promo-renderer-layout">\n        <img alt="" class="ytd-banner-promo-renderer-inline-image" src$="[[computeUrlImg(data.backgroundImage)]]">\n        <template is="dom-if" if="[[data.logoImage]]">\n          <h1 class="ytd-banner-promo-renderer-logo">\n            <yt-img-shadow height="24" thumbnail="[[data.logoImage]]">\n            </yt-img-shadow>\n          </h1>\n        </template>\n        <div class="ytd-banner-promo-renderer-content">\n          <div class="dynamic-text-container">\n            <yt-dynamic-sizing-formatted-string class="dynamic-title-short" font-weight="700" hidden="[[!data.title]]" max-font-size="64" max-height="94" max-lines="2" max-width="440" min-font-size="20" text="[[data.title]]">\n            </yt-dynamic-sizing-formatted-string>\n            <yt-dynamic-sizing-formatted-string class="dynamic-title-long" font-weight="700" hidden="[[!data.promoText]]" max-font-size="64" max-height="94" max-lines="2" max-width="440" min-font-size="20" text="[[data.promoText]]">\n            </yt-dynamic-sizing-formatted-string>\n          </div>\n          <ytd-button-renderer id="action-button" align-by-text="" data="[[data.actionButton.buttonRenderer]]" invisible$="[[!data.actionButton.buttonRenderer]]">\n          </ytd-button-renderer>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_banner_promo_renderer.ytd.banner.promo.renderer.css.js--\x3e<style>:host {--yt-lightsource-section2-color: var(--yt-spec-static-overlay-text-primary);--yt-lightsource-section3-color: var(--yt-spec-static-overlay-text-primary);--yt-lightsource-navBarColor: var(--yt-spec-static-overlay-text-primary);--yt-lightsource-body-text-color: var(--yt-spec-static-overlay-text-primary);--yt-lightsource-iron-activated-color: var( --yt-spec-static-overlay-text-primary );--yt-lightsource-iron-inactive-color: var( --yt-spec-static-overlay-text-primary );--yt-basic-foreground-body-color: var(--yt-spec-static-overlay-text-primary);--yt-basic-foreground-activated-color: var( --yt-spec-static-overlay-text-primary );display: inline-block;overflow: hidden;width: 100%;} :host(.dismissed) {display: none;} #action-button[invisible] {visibility: hidden;} .ytd-banner-promo-renderer-background {background-color: var(--yt-basic-background-color);background-position: top;background-repeat: no-repeat;position: relative;} .ytd-banner-promo-renderer-logo yt-img-shadow {max-height: 134px;max-width: 400px;} #action-button {margin-top: 20px;} #dismiss-button {--yt-button-icon-padding: 0px;--yt-button-icon-size: 24px;position: absolute;right: 13px;top: 13px;z-index: 2;} #dismiss-button[is-icon-button] {background-color: var(--yt-spec-static-overlay-text-secondary);color: var(--yt-spec-static-overlay-background-heavy);} .ytd-banner-promo-renderer-background {display: flex;flex-direction: column;justify-content: flex-end;background-position: top center;background-repeat: no-repeat;background-size: auto 260px;text-align: left;height: 260px;max-width: none;} .ytd-banner-promo-renderer-inline-image {position: absolute;bottom: 0;height: 260px;} .ytd-banner-promo-renderer-logo {position: relative;margin-bottom: 8px;height: 28px;} .dynamic-text-container {height: 94px;margin-bottom: 20px;} .dynamic-title-short {color: var(--yt-basic-foreground-title-color);} .dynamic-title-long {color: var(--yt-basic-foreground-body-color);} .ytd-banner-promo-renderer-content {position: relative;} #action-button {--yt-basic-background-color: transparent;} .ytd-banner-promo-renderer-layout-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;margin: 0 24px;} .ytd-banner-promo-renderer-layout {width: 100%;min-width: --ytd-rich-grid-item-min-width;max-width: calc(var(--ytd-rich-grid-item-max-width) * var(--ytd-rich-grid-items-per-row) + var(--ytd-rich-grid-item-margin) * var(--ytd-rich-grid-items-per-row));margin-right: calc(-1 * var(--ytd-rich-grid-item-margin));} ytd-button-renderer#action-button {margin: 0 0 34px;border: 2px solid;} /*# sourceMappingURL=ytd-banner-promo-renderer.css.map*/</style>";
bNb=d}d=bNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cNb=a}a=cNb;return a}}});
var g5=f5;g5.prototype.observeDataForCounterfactual=g5.prototype.observeDataForCounterfactual;g5.prototype.observeBasicPalette=g5.prototype.observeBasicPalette;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],g5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],g5.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],g5.prototype,"data",void 0);
_.S([_.P("data.colorData.basicColorPaletteData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],g5.prototype,"observeBasicPalette",null);_.S([_.P("data.isVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],g5.prototype,"observeDataForCounterfactual",null);g5=_.S([_.Q({asyncProperties:!0,is:"ytd-banner-promo-renderer"})],g5);
var dNb;
var eNb;
var h5=function(){return _.K.apply(this,arguments)||this};
_.q(h5,_.K);h5.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{compactLinkRenderer:{component:"ytd-compact-link-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(h5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-settings-sidebar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_sidebar_renderer.ytd.settings.sidebar.renderer.css.js--\x3e<div id="title">[[getSimpleString(data.title)]]</div>\n<div id="items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_settings_sidebar_renderer.ytd.settings.sidebar.renderer.css.js--\x3e<style>:host {display: block;width: 240px;padding: 20px 0;box-sizing: border-box;background-color: var(--yt-spec-general-background-b);display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {color: var(--yt-spec-text-secondary);padding-left: 24px;padding-bottom: 20px;text-transform: uppercase;font-size: 1.6em;font-weight: 500;} :host([background-refresh]) {padding: 18px 0;background: var(--yt-spec-brand-background-solid);border-right: 1px solid var(--yt-spec-10-percent-layer);} :host([background-refresh]) #title {text-transform: none;font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 600;} :host([background-refresh]) ytd-compact-link-renderer {margin: 0 12px;border-radius: 10px;} /*# sourceMappingURL=ytd-settings-sidebar-renderer.css.map*/</style>';
dNb=d}d=dNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);eNb=a}a=eNb;return a}}});
var i5=h5;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],i5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],i5.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],i5.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_background_colors_update")}),_.T("design:type",Boolean)],i5.prototype,"backgroundRefresh",void 0);
i5=_.S([_.Q({asyncProperties:!0,is:"ytd-settings-sidebar-renderer"})],i5);
var fNb;
var gNb;
var j5=function(){return _.K.apply(this,arguments)||this};
_.q(j5,_.K);_.f=j5.prototype;_.f.computeUrlImg=function(a){return a?_.nu(a.thumbnails,Number.MAX_VALUE):null};
_.f.computeBackgroundColorAndImage_=function(a){var b=_.H(this.root).querySelector("#background"),c=_.H(this.root).querySelector("#background-image");b&&c&&(a.backgroundColor&&(b.style.backgroundColor=_.ru(a.backgroundColor)),a.backgroundImage&&(a=this.computeUrlImg(a.backgroundImage)))&&(c.style.backgroundImage="url("+a+")")};
_.f.shouldHideHashtagInfo_=function(a){return!a.hashtagInfoText&&this.shouldHideAvatarFacepile_(a.avatarFacepile)};
_.f.shouldHideAvatarFacepile_=function(a){return!a||5>a.length};
_.f.processThumbnails_=function(a){return!a||5>a.length?[]:5<=a.length&&9>a.length?a.slice(0,5).reverse():a.reverse()};
_.t.Object.defineProperties(j5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-hashtag-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.social.ytd_hashtag_header_renderer.ytd.hashtag.header.renderer.css.js--\x3e<yt-formatted-string id="hashtag" dir="auto" text="[[data.hashtag]]">\n</yt-formatted-string>\n<div id="hashtag-info" hidden="[[shouldHideHashtagInfo_(data)]]">\n  <yt-formatted-string id="hashtag-info-text" hidden="[[!data.hashtagInfoText]]" text="[[data.hashtagInfoText]]">\n  </yt-formatted-string>\n  <div id="facepile" hidden="[[shouldHideAvatarFacepile_(data.avatarFacepile)]]">\n    <dom-repeat id="facepile-thumbnails" index-as="index" items="[[processThumbnails_(data.avatarFacepile)]]">\n      <template>\n        <yt-img-shadow class="thumbnail" fit="" height="18" thumbnail="[[item]]" width="18">\n        </yt-img-shadow>\n      </template>\n    </dom-repeat>\n  </div>\n</div>\n<div id="background" hidden="[[!data.backgroundColor]]">\n  <div id="background-image" hidden="[[!data.backgroundImage]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.social.ytd_hashtag_header_renderer.ytd.hashtag.header.renderer.css.js--\x3e<style>:host {display: block;position: relative;box-sizing: border-box;width: min-content;min-width: 100%;padding: 28px 24px;} #background {position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: -1;} #background-image {width: 100%;height: 100%;background-repeat: no-repeat;background-position: right center;background-size: 33.3%;} @media(max-width:720px) {#background-image {background-size: 50%;}} #background-image:dir(rtl) {background-position: left center;transform: scaleX(-1);} #hashtag {color: var(--yt-spec-static-brand-white);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #hashtag-info {padding-top: 6px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #hashtag-info-text {color: var(--yt-spec-static-brand-white);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #facepile {margin-left: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} .thumbnail {position: relative;margin-left: -5px;width: 18px;height: 18px;border: 2px solid var(--yt-spec-static-brand-white);border-radius: 50%;background-color: var(--yt-spec-static-brand-white)!important;overflow: hidden;} #facepile .thumbnail:nth-child(3) {margin-left: -9px;} #facepile .thumbnail:nth-child(2) {margin-left: -13px;} #facepile .thumbnail:nth-child(1) {margin-left: -17px;} /*# sourceMappingURL=ytd-hashtag-header-renderer.css.map*/</style>';
fNb=d}d=fNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gNb=a}a=gNb;return a}}});
var k5=j5;k5.prototype.computeBackgroundColorAndImage_=k5.prototype.computeBackgroundColorAndImage_;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],k5.prototype,"rendererBehaviors",void 0);_.S([_.N(),_.T("design:type",Object)],k5.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],k5.prototype,"computeBackgroundColorAndImage_",null);k5=_.S([_.Q({asyncProperties:!0,is:"ytd-hashtag-header-renderer"})],k5);
var hNb;
var iNb;
var l5=function(){return _.K.apply(this,arguments)||this};
_.q(l5,_.K);l5.prototype.configureRendererStamper=function(){return{"data.subscribeButton":{id:"subscribe-button",mapping:{buttonRenderer:"ytd-button-renderer",subscribeButtonRenderer:"ytd-subscribe-button-renderer"}}}};
l5.prototype.onSearchNavigate=function(){this.selected=void 0};
l5.prototype.onTabsChange=function(a){a=null==a?void 0:a.findIndex(function(b){var c;return null==b?void 0:null==(c=b.tabRenderer)?void 0:c.selected});
void 0!==a&&(this.selected=a)};
l5.prototype.onTabsActive=function(a){if(void 0!==this.tabs){var b,c;(a=null==(b=this.tabs[a.detail.selected])?void 0:null==(c=b.tabRenderer)?void 0:c.endpoint)&&this.fire("yt-navigate",{endpoint:a})}};
_.t.Object.defineProperties(l5.prototype,{tabsEnabled:{configurable:!0,enumerable:!0,get:function(){return void 0!==this.tabs&&1<this.tabs.length}}});
_.t.Object.defineProperties(l5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-topic-channel-details-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_topic_channel_details_renderer.ytd.topic.channel.details.renderer.css.js--\x3e<div id="header">\n  <div id="channel-header-container">\n    <a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n      <yt-img-shadow id="avatar" thumbnail="[[data.avatar]]" width="80">\n      </yt-img-shadow>\n      <div id="inner-header-container">\n        <h1>\n          <yt-formatted-string id="title" text="[[data.title]]">\n          </yt-formatted-string>\n        </h1>\n        <yt-formatted-string id="subtitle" text="[[data.subtitle]]">\n        </yt-formatted-string>\n      </div>\n    </a>\n    <div id="subscribe-button"></div>\n  </div>\n  <div id="tabs-container" hidden="[[!tabsEnabled]]">\n    <div id="tabs-inner-container">\n      <tp-yt-paper-tabs id="tabs" noink="" scrollable="" selected="[[selected]]" on-iron-activate="onTabsActive">\n        <template is="dom-repeat" items="[[tabs]]">\n          <tp-yt-paper-tab disable-upgrade$="[[!item.tabRenderer]]" hidden="[[!item.tabRenderer]]">\n            [[item.tabRenderer.title]]\n          </tp-yt-paper-tab>\n          <ytd-expandable-tab-renderer data="[[item.expandableTabRenderer]]" disable-upgrade$="[[!item.expandableTabRenderer]]" hidden="[[!item.expandableTabRenderer]]" on-yt-navigate="onSearchNavigate">\n          </ytd-expandable-tab-renderer>\n        </template>\n      </tp-yt-paper-tabs>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_topic_channel_details_renderer.ytd.topic.channel.details.renderer.css.js--\x3e<style>:host(.grid:not(.grid-disabled)) {max-width: var(--ytd-grid-max-width);} :host(.grid-1-columns),.grid-1-columns {width: var(--ytd-grid-1-columns-width)!important;} :host(.grid-2-columns),.grid-2-columns {width: var(--ytd-grid-2-columns-width)!important;} :host(.grid-3-columns),.grid-3-columns {width: var(--ytd-grid-3-columns-width)!important;} :host(.grid-4-columns),.grid-4-columns {width: var(--ytd-grid-4-columns-width)!important;} :host(.grid-5-columns),.grid-5-columns {width: var(--ytd-grid-5-columns-width)!important;} :host(.grid-6-columns),.grid-6-columns {width: var(--ytd-grid-6-columns-width)!important;} :host {display: block;} #channel-header-container {width: 100%;padding-top: 16px;padding-bottom: 16px;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title {display: inline;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .yt-simple-endpoint {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #avatar {width: 80px;height: 80px;margin: 0 24px 0 0;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} #subscribe-button {position: absolute;right: 0px;margin-right: -4px;} #tabs-container {width: 100%;height: 48px;overflow: auto;} tp-yt-paper-tabs {--paper-tabs-selection-bar-color: var(--yt-spec-text-secondary);--paper-tabs-selection-bar: {border-bottom-width: 3px;};box-sizing: border-box;color: var(--yt-spec-text-secondary);height: 48px;padding-bottom: 1px;margin-left: 51px;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} tp-yt-paper-tab {padding: 0 32px;vertical-align: middle;} tp-yt-paper-tab:hover {color: var(--yt-spec-text-primary);} tp-yt-paper-tab {--paper-tab-ink: var(--yt-spec-paper-tab-ink);} tp-yt-paper-tab.iron-selected {color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-topic-channel-details-renderer.css.map*/</style>';
hNb=d}d=hNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iNb=a}a=iNb;return a}}});
var m5=l5;m5.prototype.onTabsChange=m5.prototype.onTabsChange;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],m5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.B1),_.T("design:type",Object)],m5.prototype,"ytdGridStateAwareBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],m5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],m5.prototype,"ytdGuideStateAwareBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],m5.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Array)],m5.prototype,"tabs",void 0);_.S([_.N(),_.T("design:type",Number)],m5.prototype,"selected",void 0);_.S([_.V("tabs"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],m5.prototype,"tabsEnabled",null);_.S([_.Ct("tabs"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],m5.prototype,"onTabsChange",null);
m5=_.S([_.Q({asyncProperties:!0,is:"ytd-topic-channel-details-renderer"})],m5);
var jNb;
var kNb;
var n5=function(){var a=_.K.apply(this,arguments)||this;a.disableGridStateAware=!1;return a};
_.q(n5,_.K);n5.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{topicChannelDetailsRenderer:{component:"ytd-topic-channel-details-renderer",properties:{disableGridStateAware:"[[disableGridStateAware]]",tabs:"[[tabs]]"}},carouselItemRenderer:{component:"ytd-carousel-item-renderer",attributes:{"has-animation":!0},properties:{disableGridStateAware:"[[disableGridStateAware]]"}}}}}};
n5.prototype.activeChanged=function(){this.carousel&&(this.carousel.active=this.active)};
n5.prototype.updateCssVars=function(){this.updateStyles({"--ytd-rich-grid-max-width":this.richGridItemsPerRow*((this.richGridMiniMode?320:360)+16)-16+"px"})};
_.t.Object.defineProperties(n5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-carousel-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_carousel_header_renderer.ytd.carousel.header.renderer.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_carousel_header_renderer.ytd.carousel.header.renderer.css.js--\x3e<style>:host {--ytd-default-promo-panel-renderer-height: 400px;display: block;width: 100%;background-color: var(--yt-spec-general-background-a);} ytd-carousel-item-renderer {background-color: #000;} ytd-topic-channel-details-renderer {margin: auto;} :host([disable-grid-state-aware]) ytd-topic-channel-details-renderer {width: calc(100% - 48px);max-width: var(--ytd-rich-grid-max-width);} /*# sourceMappingURL=ytd-carousel-header-renderer.css.map*/</style>";
jNb=d}d=jNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kNb=a}a=kNb;return a}}});
var o5=n5;o5.prototype.updateCssVars=o5.prototype.updateCssVars;o5.prototype.activeChanged=o5.prototype.activeChanged;_.S([_.L(_.ry),_.T("design:type",Object)],o5.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],o5.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],o5.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],o5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],o5.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Array)],o5.prototype,"tabs",void 0);_.S([_.N(),_.T("design:type",Boolean)],o5.prototype,"active",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],o5.prototype,"disableGridStateAware",void 0);
_.S([_.N({selector:_.Yu}),_.T("design:type",Number)],o5.prototype,"richGridItemsPerRow",void 0);_.S([_.N({selector:_.Xu}),_.T("design:type",Boolean)],o5.prototype,"richGridMiniMode",void 0);_.S([_.Z("ytd-carousel-item-renderer"),_.T("design:type",Object)],o5.prototype,"carousel",void 0);_.S([_.P("active"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],o5.prototype,"activeChanged",null);
_.S([_.P("richGridItemsPerRow","richGridMiniMode"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],o5.prototype,"updateCssVars",null);o5=_.S([_.Q({is:"ytd-carousel-header-renderer"})],o5);
var lNb;
var mNb;
var p5=function(){var a=_.K.apply(this,arguments)||this;a.scriptAnalyticsAdded=!1;return a};
_.q(p5,_.K);p5.prototype.dataChanged=function(){this.data&&this.data.analyticsId&&this.sendGoogleAnalyticsPageview(this.data.analyticsId)};
p5.prototype.sendGoogleAnalyticsPageview=function(a){this.scriptAnalyticsAdded||this.appendAnalyticsScript();window.ga=window.ga||function(){var c=_.Ob.apply(0,arguments);(window.ga.q=window.ga.q||[]).push(c)};
var b=window.ga;b("set","page",window.location.pathname);b.l=+new Date;b("set","forceSSL",!0);b("create",a,"'auto'");b("send","pageview")};
p5.prototype.appendAnalyticsScript=function(){this.scriptAnalyticsAdded=!0;var a=_.Gb("SCRIPT");a.name="ga-analytics";var b=_.Tt(_.jb("https://www.google-analytics.com/analytics.js"));_.Fb(a,b);a.async=!0;_.H(this.root).appendChild(a)};
_.t.Object.defineProperties(p5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-metadata-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.services.ytd_channel_metadata_renderer.ytd.channel.metadata.renderer.css.js--\x3e<template is="dom-if" if="[[data.trackingImageUrl]]">\n  <img src$="[[data.trackingImageUrl]]" border="0" width="1" height="1" alt="">\n</template>\n<template is="dom-if" if="[[data.channelConversionUrl]]">\n  <img src$="[[data.channelConversionUrl]]" border="0" width="1" height="1" alt="">\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.services.ytd_channel_metadata_renderer.ytd.channel.metadata.renderer.css.js--\x3e<style>:host {display: none;} /*# sourceMappingURL=ytd-channel-metadata-renderer.css.map*/</style>";lNb=d}d=lNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mNb=a}a=
mNb;return a}}});
var q5=p5;q5.prototype.dataChanged=q5.prototype.dataChanged;_.S([_.N(),_.T("design:type",Object)],q5.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],q5.prototype,"dataChanged",null);q5=_.S([_.Q({is:"ytd-channel-metadata-renderer"})],q5);
var nNb;
var oNb;
var pNb;
var qNb;
var rNb=function(){return _.K.apply(this,arguments)||this};
_.q(rNb,_.K);
_.t.Object.defineProperties(rNb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sub-feed-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_sub_feed_option_renderer.ytd.sub.feed.option.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" tabindex="-1">\n  <tp-yt-paper-radio-button checked="[[data.isSelected]]">\n    <yt-formatted-string text="[[data.name]]"></yt-formatted-string>\n  </tp-yt-paper-radio-button>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_sub_feed_option_renderer.ytd.sub.feed.option.renderer.css.js--\x3e<style>:host {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .yt-simple-endpoint {display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-formatted-string {color: var(--yt-spec-text-primary);} tp-yt-paper-radio-button {--paper-radio-button-label-spacing: 0;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} tp-yt-paper-radio-button[style-target=label] {@apply --layout-horizontal;@apply --layout-center;} /*# sourceMappingURL=ytd-sub-feed-option-renderer.css.map*/</style>';
pNb=d}d=pNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qNb=a}a=qNb;return a}}});
var r5=rNb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],r5.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],r5.prototype,"data",void 0);r5=_.S([_.Q({asyncProperties:!0,is:"ytd-sub-feed-option-renderer"})],r5);
var sNb;
var tNb;
var s5=function(){return _.K.apply(this,arguments)||this};
_.q(s5,_.K);s5.prototype.configureRendererStamper=function(){return{"data.options":{id:"options",mapping:{subFeedOptionRenderer:{component:"ytd-sub-feed-option-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(s5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sub-feed-selector-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_sub_feed_selector_renderer.ytd.sub.feed.selector.renderer.css.js--\x3e<h2 id="title">\n   [[getSimpleString(data.title)]]\n</h2>\n<div id="options"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_sub_feed_selector_renderer.ytd.sub.feed.selector.renderer.css.js--\x3e<style>:host {display: block;margin-bottom: 8px;} #title {color: var(--yt-spec-text-primary);padding: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} ytd-sub-feed-option-renderer {padding: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #title,ytd-sub-feed-option-renderer {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=ytd-sub-feed-selector-renderer.css.map*/</style>';
sNb=d}d=sNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tNb=a}a=tNb;return a}}});
var t5=s5;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],t5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],t5.prototype,"ytRendererStamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],t5.prototype,"data",void 0);t5=_.S([_.Q({asyncProperties:!0,is:"ytd-sub-feed-selector-renderer"})],t5);
var u5=function(){return _.K.apply(this,arguments)||this};
_.q(u5,_.K);
u5.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{buttonRenderer:{component:"ytd-button-renderer",noInjection:!0},searchBoxRenderer:{component:"ytd-search-box-renderer",noInjection:!0},subFeedSelectorRenderer:{component:"ytd-sub-feed-selector-renderer",noInjection:!0},toggleButtonRenderer:{component:"ytd-toggle-button-renderer",noInjection:!0},compactLinkRenderer:{component:"ytd-compact-link-renderer",noInjection:!0},eomSettingsDisclaimerRenderer:{component:"ytd-eom-settings-disclaimer-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(u5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-browse-feed-actions-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_browse_feed_actions_renderer.ytd.browse.feed.actions.renderer.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_browse_feed_actions_renderer.ytd.browse.feed.actions.renderer.css.js--\x3e<style>:host {display: block;} #contents {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #contents>ytd-button-renderer,#contents>ytd-toggle-button-renderer {margin-top: 16px;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} @media(min-width:876px) {:host {margin-bottom: 50px;}} /*# sourceMappingURL=ytd-browse-feed-actions-renderer.css.map*/</style>";
nNb=d}d=nNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oNb=a}a=oNb;return a}}});
var v5=u5;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],v5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],v5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],v5.prototype,"data",void 0);v5=_.S([_.Q({asyncProperties:!0,is:"ytd-browse-feed-actions-renderer"})],v5);
var uNb;
var vNb;
var wNb;
var xNb;
var w5=function(){return _.K.apply(this,arguments)||this};
_.q(w5,_.K);w5.prototype.configureRendererStamper=function(){return{"data.subscribeButton":{id:"subscribe",mapping:{subscribeButtonRenderer:"ytd-subscribe-button-renderer",buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(w5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-mini-channel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_mini_channel_renderer.ytd.mini.channel.renderer.css.js--\x3e<a id="channel-info" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" rel$="[[computeNofollow_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <yt-img-shadow height="24" thumbnail="[[data.thumbnail]]" width="24">\n  </yt-img-shadow>\n  <span class="title">[[getSimpleString(data.title)]]</span>\n</a>\n\n<div id="subscribe"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_mini_channel_renderer.ytd.mini.channel.renderer.css.js--\x3e<style>:host {display: block;min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} yt-img-shadow {height: 24px;width: 24px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} #channel-info {margin-bottom: 8px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .title {color: var(--yt-spec-text-primary);text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} /*# sourceMappingURL=ytd-mini-channel-renderer.css.map*/</style>';
wNb=d}d=wNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xNb=a}a=xNb;return a}}});
var x5=w5;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],x5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],x5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],x5.prototype,"data",void 0);x5=_.S([_.Q({asyncProperties:!0,is:"ytd-mini-channel-renderer"})],x5);
var yNb;
var zNb;
var y5=function(){return _.K.apply(this,arguments)||this};
_.q(y5,_.K);y5.prototype.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{miniChannelRenderer:"ytd-mini-channel-renderer"}}}};
_.t.Object.defineProperties(y5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-vertical-channel-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_vertical_channel_section_renderer.ytd.vertical.channel.section.renderer.css.js--\x3e<h2 id="title">[[data.title]]</h2>\n<div id="items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_vertical_channel_section_renderer.ytd.vertical.channel.section.renderer.css.js--\x3e<style>:host {display: block;padding-bottom: 24px;} #items>*:not(:first-child) {padding-top: 24px;} #title {color: var(--yt-spec-text-secondary);margin-bottom: 24px;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} /*# sourceMappingURL=ytd-vertical-channel-section-renderer.css.map*/</style>";
yNb=d}d=yNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zNb=a}a=zNb;return a}}});
var z5=y5;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],z5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],z5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],z5.prototype,"data",void 0);z5=_.S([_.Q({asyncProperties:!0,is:"ytd-vertical-channel-section-renderer"})],z5);
var A5=function(){return _.K.apply(this,arguments)||this};
_.q(A5,_.K);A5.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{verticalChannelSectionRenderer:{component:"ytd-vertical-channel-section-renderer",noInjection:!0}}}}};
_.t.Object.defineProperties(A5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-browse-secondary-contents-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_browse_secondary_contents_renderer.ytd.browse.secondary.contents.renderer.css.js--\x3e<div id="contents">\n</div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.browse.ytd_browse_secondary_contents_renderer.ytd.browse.secondary.contents.renderer.css.js--\x3e<style>:host {display: block;padding-left: 28px;padding-top: 24px;} #contents>*:not(:first-child) {border-top: 1px solid var(--yt-spec-10-percent-layer);padding-top: 24px;} /*# sourceMappingURL=ytd-browse-secondary-contents-renderer.css.map*/</style>";
uNb=d}d=uNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vNb=a}a=vNb;return a}}});
var B5=A5;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],B5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],B5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],B5.prototype,"data",void 0);B5=_.S([_.Q({asyncProperties:!0,is:"ytd-browse-secondary-contents-renderer"})],B5);
var ANb;
var BNb;
var C5=function(){var a=_.K.apply(this,arguments)||this;a.isDarkTheme=!1;a.notSticky=!1;a.actionMap={"yt-chip-cloud-chip-select-action":"handleChipCloudChipSelectAction","yt-chip-cloud-chip-deselect-action":"handleChipCloudChipDeselectAction","yt-dark-mode-toggled-action":"onDarkModeToggledAction","yt-rich-grid-layout-refreshed":"updateChipBarWidthAndTop"};return a};
_.q(C5,_.K);_.f=C5.prototype;_.f.configureRendererStamper=function(){return{"data.contents":{id:"chips",mapping:{chipCloudChipRenderer:{component:"yt-chip-cloud-chip-renderer"}}},"data.previousButton":{id:"left-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundPrevClick]]"},params:{iconSize:16}}}},"data.nextButton":{id:"right-arrow-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundNextClick]]"},params:{iconSize:16}}}}}};
_.f.attached=function(){this.listen(document,"scroll","updateHLPChipBarStickiness");this.isDarkTheme=document.documentElement.hasAttribute("dark")};
_.f.detached=function(){this.unlisten(document,"scroll","updateHLPChipBarStickiness")};
_.f.dataChanged=function(){this.selectedIndex=0;this.updateChipBarWidthAndTop();this.ytScrollableChipCloudBehavior.reset()};
_.f.computeStyle=function(a){return a};
_.f.handleChipCloudChipSelectAction=function(a){a=this.JSC$42343_chipsSelector.indexOf(a);-1<a&&this.JSC$42343_chipsSelector.selectIndex(a)};
_.f.handleChipCloudChipDeselectAction=function(){var a,b,c,d,e=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b[0])?void 0:null==(d=c.chipCloudChipRenderer)?void 0:d.navigationEndpoint;e&&_.C(this,"yt-browse-section-list-reload-endpoint",[e]);this.JSC$42343_chipsSelector.selectIndex(0);this.ytScrollableChipCloudBehavior.reset()};
_.f.onGuideIsExpandedChanged=function(){var a=this.ytScrollableChipCloudBehavior;_.nt(a,a.setContainerWidthDiff);_.jG(this.ytScrollableChipCloudBehavior)};
_.f.onResize=function(){var a=this.ytScrollableChipCloudBehavior;_.nt(a,a.setContainerWidthDiff);_.jG(this.ytScrollableChipCloudBehavior)};
_.f.onDarkModeToggledAction=function(a){this.isDarkTheme=a};
_.f.updateChipBarWidthAndTop=function(){var a=this.ytRendererBehavior.parentComponent;if(a){var b=a.offsetTop;this.updateStyles({"--ytd-rich-grid-chips-bar-width":a.clientWidth+"px","--ytd-rich-grid-chips-bar-top":b+"px"});this.notSticky=56<b;this.updateHLPChipBarStickiness()}};
_.f.updateHLPChipBarStickiness=function(){if("FEED_FILTER_CHIP_BAR_STYLE_TYPE_HASHTAG_LANDING_PAGE"===this.componentStyle){var a=this.ytRendererBehavior.parentComponent;a&&(this.notSticky=56<=a.getBoundingClientRect().y)}};
_.t.Object.defineProperties(C5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===BNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feed-filter-chip-bar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_feed_filter_chip_bar_renderer.ytd.feed.filter.chip.bar.renderer.css.js--\x3e<div id="chips-wrapper">\n  <div id="left-arrow">\n    <div id="left-arrow-button"></div>\n  </div>\n  <div id="scroll-container">\n    <iron-selector id="chips" activate-event="" role="tablist" selected="{{selectedIndex}}" selected-attribute="selected">\n    </iron-selector>\n  </div>\n  <div id="right-arrow">\n    <div id="right-arrow-button"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ANb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_feed_filter_chip_bar_renderer.ytd.feed.filter.chip.bar.renderer.css.js--\x3e<style>:host {--ytd-rich-grid-chips-bar-width: 100%;--ytd-rich-grid-chips-bar-top: 56px;width: 100%;height: 56px;display: -ms-flexbox;display: -webkit-flex;display: flex;} #scroll-container {position: relative;white-space: nowrap;overflow: hidden;} #left-arrow:after,#right-arrow:before {height: 100%;width: 50px;content: "";pointer-events: none;} #left-arrow:after {background: linear-gradient(to right,var(--yt-spec-brand-background-primary) 20%,rgba(255,255,255,0) 80%);} :host([is-dark-theme]) #left-arrow:after {background: linear-gradient(to right,var(--yt-spec-brand-background-primary) 20%,rgba(33,33,33,0) 80%);} #right-arrow:before {background: linear-gradient(to left,var(--yt-spec-brand-background-primary) 20%,rgba(255,255,255,0) 80%);} :host([is-dark-theme]) #right-arrow:before {background: linear-gradient(to left,var(--yt-spec-brand-background-primary) 20%,rgba(33,33,33,0) 80%);} #chips {transition-duration: 0.15s;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: transform;display: inline-block;white-space: nowrap;} yt-chip-cloud-chip-renderer {margin: 12px;margin-left: 0;} yt-chip-cloud-chip-renderer:first-of-type {margin-left: 24px;} yt-chip-cloud-chip-renderer:last-of-type {margin-right: 24px;} #left-arrow,#right-arrow {position: absolute;height: 100%;z-index: 2020;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #left-arrow {left: 0;} #right-arrow {right: 0;} :host([at-start]) #left-arrow {display: none;} :host([at-end]) #right-arrow {display: none;} #left-arrow-button,#right-arrow-button {background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} ytd-button-renderer {--yt-button-color: var(--yt-spec-icon-active-other);--yt-button-icon-size: 32px;border-radius: 16px;height: 32px;margin: 0 12px;width: 32px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #chips-wrapper {position: fixed;top: var(--ytd-rich-grid-chips-bar-top);width: var(--ytd-rich-grid-chips-bar-width);z-index: 2000;background-color: var(--yt-spec-brand-background-primary);border-top: 1px solid var(--yt-spec-10-percent-layer);border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: none;-webkit-flex: none;flex: none;} :host([not-sticky]) #chips-wrapper {position: relative;top: 0;width: 100%;} :host([component-style=FEED_FILTER_CHIP_BAR_STYLE_TYPE_HASHTAG_LANDING_PAGE]) {margin-bottom: -24px;} :host([component-style=FEED_FILTER_CHIP_BAR_STYLE_TYPE_HASHTAG_LANDING_PAGE]) #chips-wrapper {background-color: var(--yt-spec-brand-background-primary);top: 56px;z-index: 2000;border: none;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([component-style=FEED_FILTER_CHIP_BAR_STYLE_TYPE_HASHTAG_LANDING_PAGE][not-sticky]) #chips-wrapper {top: 0;} /*# sourceMappingURL=ytd-feed-filter-chip-bar-renderer.css.map*/</style>';
ANb=d}d=ANb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);BNb=a}a=BNb;return a}}});
var D5=C5;D5.prototype.onResize=D5.prototype.onResize;D5.prototype.onGuideIsExpandedChanged=D5.prototype.onGuideIsExpandedChanged;D5.prototype.dataChanged=D5.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],D5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],D5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],D5.prototype,"actionHandlerBehavior",void 0);
_.S([_.L(_.xx),_.T("design:type",Object)],D5.prototype,"ironResizableBehavior",void 0);_.S([_.L(),_.T("design:type",_.kG)],D5.prototype,"ytScrollableChipCloudBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],D5.prototype,"data",void 0);_.S([_.N({value:0}),_.T("design:type",Number)],D5.prototype,"selectedIndex",void 0);_.S([_.N({value:320}),_.T("design:type",Number)],D5.prototype,"scrollDistance",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],D5.prototype,"isDarkTheme",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],D5.prototype,"notSticky",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.styleType)"}),_.T("design:type",String)],D5.prototype,"componentStyle",void 0);_.S([_.N({selector:RKb}),_.T("design:type",Boolean)],D5.prototype,"guideIsExpanded",void 0);
_.S([_.Z("#chips"),_.T("design:type",Object)],D5.prototype,"JSC$42343_chipsSelector",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D5.prototype,"dataChanged",null);_.S([_.P("guideIsExpanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D5.prototype,"onGuideIsExpandedChanged",null);
_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],D5.prototype,"onResize",null);D5=_.S([_.Q({is:"ytd-feed-filter-chip-bar-renderer"})],D5);
var CNb;
var DNb;
var ENb;
var FNb;
var E5=function(){return _.K.apply(this,arguments)||this};
_.q(E5,_.K);E5.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{richItemRenderer:"ytd-rich-item-renderer"}}}};
_.t.Object.defineProperties(E5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===FNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-grid-row--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_row.ytd.rich.grid.row.css.js--\x3e<div id="contents"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ENb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_row.ytd.rich.grid.row.css.js--\x3e<style>:host {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host #contents {width: 100%;max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)));margin: 0 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([mini-mode]) #contents {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)));} @media(max-width:600px) {:host #contents {width: calc(100% + var(--ytd-rich-grid-item-margin));margin: 0 calc(var(--ytd-rich-grid-item-margin)/-2);}} /*# sourceMappingURL=ytd-rich-grid-row.css.map*/</style>";
ENb=d}d=ENb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);FNb=a}a=FNb;return a}}});
var F5=E5;_.S([_.L(_.Wu),_.T("design:type",Object)],F5.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],F5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],F5.prototype,"data",void 0);_.S([_.N({selector:_.Xu,reflectToAttribute:!0}),_.T("design:type",Boolean)],F5.prototype,"miniMode",void 0);F5=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-grid-row"})],F5);
var GNb;
var HNb;
var G5=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!1;a.isWatchNext=_.x("rich_grid_watch_bottom_meta");a.descriptionLineCount=_.hd("kevlar_watch_metadata_refresh_description_lines",4);return a};
_.q(G5,_.K);_.t.Object.defineProperties(G5.prototype,{descriptionLines:{configurable:!0,enumerable:!0,get:function(){for(var a=[],b=this.descriptionLineCount-1,c=0;c<b;c++)a.push({});return a}}});
_.t.Object.defineProperties(G5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===HNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-engagement-panel-ghost-cards--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_engagement_panel_ghost_cards.ytd.engagement.panel.ghost.cards.css.js--\x3e<template is="dom-if" if="[[isLoading]]">\n  <template is="dom-if" if="[[isWatchNext]]">\n    <div class="ghost-chip-bar">\n      <span class="ghost-chip"></span>\n      <span class="ghost-chip medium"></span>\n      <span class="ghost-chip large"></span>\n    </div>\n    <div class="ghost-watch-next">\n      <template is="dom-repeat" items="[[watchNextItems]]">\n        <div class="ghost-video-with-context-renderer">\n          <div class="ghost-thumbnail"></div>\n          <div class="ghost-metadata">\n            <div class="ghost-text-shell title full-line"></div>\n            <div class="ghost-text-shell description long-line"></div>\n            <div class="ghost-text-shell description long-line"></div>\n          </div>\n        </div>\n      </template>\n    </div>\n  </template>\n  <template is="dom-if" if="[[!isWatchNext]]">\n    <div class="ghost-text-shell title full-line"></div>\n    <div class="ghost-text-shell title medium-line"></div>\n    <template is="dom-repeat" items="[[descriptionLines]]">\n      <div class="ghost-text-shell description full-line"></div>\n    </template>\n    <div class="ghost-text-shell description short-line"></div>\n  </template>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===GNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_engagement_panel_ghost_cards.ytd.engagement.panel.ghost.cards.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .ghost-text-shell {background-color: var(--yt-spec-10-percent-layer);border-radius: 2px;margin-bottom: 8px;} .ghost-chip-bar {display: flex;width: 100%;margin-bottom: 12px;} .ghost-chip {background-color: var(--yt-spec-10-percent-layer);border-radius: 100px;height: 30px;margin-right: 8px;width: 30px;} .ghost-chip.small {width: 40px;} .ghost-chip.medium {width: 50px;} .ghost-chip.large {width: 90px;} .ghost-watch-next {display: flex;flex-direction: column;width: 100%;} .ghost-video-with-context-renderer {display: flex;flex-direction: row;height: 94px;margin-bottom: 8px;} .ghost-thumbnail {aspect-ratio: 16/9;background-color: var(--yt-spec-10-percent-layer);height: 100%;margin-right: 8px;} .ghost-metadata {display: flex;flex-direction: column;flex-grow: 1;} .title {height: 2.6rem;} .description {height: 12px;} .full-line {width: 100%;} .long-line {width: 60%;} .medium-line {width: 45%;} .short-line {width: 35%;} /*# sourceMappingURL=ytd-engagement-panel-ghost-cards.css.map*/</style>";
GNb=d}d=GNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);HNb=a}a=HNb;return a}}});
var H5=G5;_.S([_.N(),_.T("design:type",Boolean)],H5.prototype,"isLoading",void 0);_.S([_.N(),_.T("design:type",Boolean)],H5.prototype,"isWatchNext",void 0);_.S([_.N(),_.T("design:type",Number)],H5.prototype,"descriptionLineCount",void 0);_.S([_.V("descriptionLineCount"),_.T("design:type",Array),_.T("design:paramtypes",[])],H5.prototype,"descriptionLines",null);H5=_.S([_.Q({asyncProperties:!0,is:"ytd-engagement-panel-ghost-cards"})],H5);
var INb;
var JNb;
var I5=function(){var a=_.K.apply(this,arguments)||this;a.watchResponse=null;a.panelHideDelayMs=100;a.bottomMeta=_.x("rich_grid_watch_bottom_meta");a.animationsEnabled=_.x("rich_grid_watch_animations");a.playerEvents=new Map;a.listenersAttached=!1;a.actionMap={"yt-fullscreen-change-action":"onFullScreenChange","yt-autonav-state-changed-action":"updatePlayerWithAutonavState","yt-engagement-panels-visible-changed":"onPanelsVisibleChange"};return a};
_.q(I5,_.K);_.f=I5.prototype;_.f.attached=function(){var a=this;this.playerEvents.set("onPlayVideo",this.onPlayerPlayVideo);this.playerEvents.set("onAutonavChangeRequest",this.onPlayerAutonavChangeRequest);this.playerEvents.set("onCollapseMiniplayer",this.collapseToMiniplayer);this.playerEvents.set("onStateChange",this.onPlayerStateChange);window.ResizeObserver&&(this.JSC$42352_resizeObserver=this.JSC$42352_resizeObserver||new ResizeObserver(function(){a.onResize()}),this.JSC$42352_resizeObserver.observe(this))};
_.f.detached=function(){var a=this,b,c;return _.y(function(d){null==(b=a.JSC$42352_resizeObserver)||b.disconnect();c=_.Eg().resolve(_.Co).getCurrentPage();return!c||"home"===c.pageSubtype||a.isWatchPage?d.jumpTo(0):_.B(d,a.close(),0)})};
_.f.calculateTargetHeight=function(){var a=Math.round(this.$.primary.clientWidth/(16/9));this.bottomMeta&&(a+=154);return a};
_.f.ready=function(){var a=this,b,c,d;return _.y(function(e){if(1==e.nextAddress){if(!a.animationsEnabled)return e.jumpTo(2);b=a.calculateTargetHeight();c=_.hd("rich_grid_watch_open_animation_duration")||0;d=a.$.content.animate([{height:"1px"},{height:b+"px"}],{duration:c});return _.B(e,d.finished,2)}a.$.content.style.height="auto";a.scrollIntoView({behavior:"smooth",block:"center"});_.bf(e)})};
_.f.configureRendererStamper=function(){return{clarificationData:{id:"clarify-box",mapping:{clarificationRenderer:"ytd-clarification-renderer",infoPanelContainerRenderer:"ytd-info-panel-container-renderer",infoPanelContentRenderer:"ytd-info-panel-content-renderer",emergencyOneboxRenderer:{component:"ytd-emergency-onebox-renderer",attributes:{"class":"watch"}}}},donationShelf:{id:"donation-shelf",mapping:{donationShelfRenderer:{component:"ytd-donation-shelf-renderer",properties:{isCollapsed:"[[hasChat]]"}},
donationUnavailableRenderer:{component:"ytd-donation-unavailable-renderer"}}},ticketShelf:{id:"ticket-shelf",mapping:{ticketShelfRenderer:"ytd-ticket-shelf-renderer"}},"playerData.playerAds":{id:"player-ads",mapping:{playerLegacyDesktopWatchAdsRenderer:"ytd-player-legacy-desktop-watch-ads-renderer"},initialRenderPriority:3,waitForSignal:_.z3()}}};
_.f.onData=function(){var a=this,b,c,d,e,h,l,m,p;return _.y(function(r){if(1==r.nextAddress){if(!a.data)return r.return();"fullscreen"===a.richGridWatchStatus&&(b=_.Eg().resolve(_.Co).getCurrentPage())&&b.setScrollTop(0);return(null==(c=a.data)?0:null==(d=c.watchEndpoint)?0:d.videoId)&&(null==(e=a.data)?void 0:null==(h=e.watchEndpoint)?void 0:h.videoId)===(null==(l=a.watchResponse)?void 0:null==(m=l.endpoint)?void 0:null==(p=m.watchEndpoint)?void 0:p.videoId)?r.jumpTo(0):_.C(a,"yt-miniplayer-active")[0]?
_.B(r,_.C(a,"yt-deactivate-miniplayer-action")[0],4):r.jumpTo(3)}return 3!=r.nextAddress?_.B(r,new Promise(function(v){_.xe.addJob(v,10)}),3):_.B(r,a.loadWatch(),0)})};
_.f.loadWatch=function(){var a=this,b,c,d,e,h,l,m,p,r,v,z,A,D,E,J,R;return _.y(function(da){if(1==da.nextAddress){b=a.fire("yt-rich-grid-watch-get-response");a.watchResponse=null==(c=b.detail)?void 0:c.returnValue;e=(null==(d=a.watchResponse)?void 0:d.endpoint)||a.data;if(!(null==(h=a.data)?0:null==(l=h.watchEndpoint)?0:l.videoId))return da.return();_.Qv.getInstance().currentEndpoint=e;_.Jg(a,"yt-miniplayer-endpoint-changed");if(!_.Xp(_.Wp.instance,e))return da.return();m=_.Wp.instance;p=_.Eg().resolve(_.Co);
v=(r=_.sv())||p.getPlayerFromWatch();if(!v)return da.return();a.$["player-container"].append(v);r||a.fire("yt-player-attached",v);v.focusOnPlayer();a.JSC$42352_playerElement=v;A=null==(z=a.JSC$42352_playerElement)?void 0:z.getPlayer();A.setSizeStyle(!1,!1);a.listenersAttached||(a.ytPlayerListenerBehavior.listenToPlayerEvents(A,a.playerEvents),a.listenersAttached=!0);if("inactive"===a.richGridWatchStatus)a.ytdReduxBehavior.dispatch(B3("inline"));else if((null==(D=a.JSC$42352_playerElement)?void 0:
D.watchNextData)===(null==(E=a.watchResponse)?void 0:E.response))return da.return();"inactive"===a.richGridWatchStatus&&a.ytdReduxBehavior.dispatch(B3("inline"));J=_.Yp(m,e,{},window.location.href,_.pla(e),function(){},function(){return!1});
_.se(da,2);return _.B(da,J,4)}if(2!=da.nextAddress)return R=da.yieldResult,a.changeEngagementHeaderButton(R),a.watchResponse=R,a.fire("yt-rich-grid-watch-set-response",a.watchResponse),_.te(da,0);_.ue(da);_.bf(da)})};
_.f.handleWatchResponse=function(){var a=this,b,c,d,e,h,l,m,p;return _.y(function(r){c=null==(b=a.watchResponse)?void 0:b.response;e=null==(d=a.watchResponse)?void 0:d.playerResponse;if(!(c&&e&&a.data&&a.JSC$42352_playerElement))return r.return();a.updatePlayerWithAutonavState();e.trackingParams=a.data.clickTrackingParams;a.JSC$42352_playerElement.watchNextData=c;a.JSC$42352_playerElement.loadVideoWithPlayerResponse(e);return"PLAYBACK_MODE_PAUSED_ONLY"!==(null==(h=e)?void 0:null==(l=h.playabilityStatus)?
void 0:null==(m=l.miniplayer)?void 0:null==(p=m.miniplayerRenderer)?void 0:p.playbackMode)?r.jumpTo(0):_.B(r,a.navigateToWatch(),0)})};
_.f.onNavigate=function(a){var b=a.detail.endpoint,c;if(null==b?0:null==(c=b.watchEndpoint)?0:c.videoId){a.stopPropagation();var d,e,h,l;if(b.watchEndpoint.videoId===(null==(d=this.data)?void 0:null==(e=d.watchEndpoint)?void 0:e.videoId)&&b.watchEndpoint.playlistId===(null==(h=this.data)?void 0:null==(l=h.watchEndpoint)?void 0:l.playlistId)){a=b.watchEndpoint.startTimeSeconds||0;var m,p;null==(m=this.JSC$42352_playerElement)||null==(p=m.getPlayer())||p.seekTo(a)}else this.loadEndpoint(b)}};
_.f.loadEndpoint=function(a){var b,c;null==(b=this.JSC$42352_playerElement)||null==(c=b.getPlayer())||c.stopVideo();this.watchResponse=null;this.fire("yt-rich-grid-watch-set-response");this.data=a};
_.f.changeEngagementHeaderButton=function(a){var b;a=_.k((null==(b=a.response)?void 0:b.engagementPanels)||[]);for(b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0,d=void 0,e=void 0,h=void 0;if(null==(c=b)?0:null==(d=c.engagementPanelSectionListRenderer)?0:null==(e=d.header)?0:null==(h=e.engagementPanelTitleHeaderRenderer)?0:h.visibilityButton)c=b.engagementPanelSectionListRenderer.header.engagementPanelTitleHeaderRenderer.visibilityButton,c.buttonRenderer&&(b.engagementPanelSectionListRenderer.header.engagementPanelTitleHeaderRenderer.visibilityButton=
void 0,c.buttonRenderer.icon={iconType:"BACK"},b.engagementPanelSectionListRenderer.header.engagementPanelTitleHeaderRenderer.navigationButton=c)}};
_.f.onResize=function(){var a=this.$.secondary,b=a.clientWidth;this.updateStyles({"--ytd-engagement-panel-content-height":a.clientHeight+"px"});this.updateStyles({"--ytd-engagement-panel-content-width":b+"px"})};
_.f.onTitleClick=function(a){this.watchResponse&&(a.preventDefault(),a.stopPropagation(),this.navigateToWatch())};
_.f.navigateToWatch=function(){var a=this,b;return _.y(function(c){if(!a.watchResponse)return c.return();b={url:a.watchResponse.url,endpoint:a.watchResponse.endpoint,data:a.watchResponse,miniplayer:!0};a.fire("yt-navigate-cache",b);return _.B(c,a.close(!0),0)})};
_.f.movePlayerToWatch=function(){var a=this,b,c,d;return _.y(function(e){if(1==e.nextAddress)return a.JSC$42352_playerElement?_.B(e,null==(b=a.JSC$42352_playerElement)?void 0:b.getPlayerPromise(),2):e.return();c=e.yieldResult;a.listenersAttached&&a.ytPlayerListenerBehavior.unlistenFromPlayerEvents(c,a.playerEvents);d=_.Eg().resolve(_.Co);a.fire("yt-player-detached",a.JSC$42352_playerElement);return _.B(e,d.movePlayerToWatch(a.JSC$42352_playerElement),0)})};
_.f.onCloseClick=function(){this.close()};
_.f.close=function(a,b){var c=this,d,e,h,l,m;return _.y(function(p){switch(p.nextAddress){case 1:if(!c.animationsEnabled){p.jumpTo(2);break}d=_.hd("rich_grid_watch_close_animation_duration")||0;e=c.$.content.animate([{height:"1px"}],{duration:d});return _.B(p,e.finished,2);case 2:if(!c.JSC$42352_playerElement)return p.return();c.fire("yt-guide-show");a||null==(h=c.JSC$42352_playerElement.getPlayer())||h.stopVideo();return _.B(p,null==(l=c.JSC$42352_playerElement)?void 0:l.getPlayerPromise(),4);case 4:m=
p.yieldResult;m.setFauxFullscreen(!1);if(b){p.jumpTo(5);break}_.Qv.getInstance().currentEndpoint=null;_.Jg(c,"yt-miniplayer-endpoint-changed");return _.B(p,c.movePlayerToWatch(),5);case 5:c.data=void 0,c.JSC$42352_playerElement=void 0,c.watchResponse=null,c.fire("yt-rich-grid-watch-set-response"),c.ytdReduxBehavior.dispatch(B3("inactive")),_.bf(p)}})};
_.f.computeCloseIcon=function(){return _.Ft("DISMISSAL")};
_.f.onFullScreenChange=function(a){var b=this,c,d,e;return _.y(function(h){c=a?"fullscreen":"inline";b.ytdReduxBehavior.dispatch(B3(c));a?b.fire("yt-guide-close"):b.fire("yt-guide-show");e=null==(d=b.JSC$42352_playerElement)?void 0:d.getPlayer();e.setFauxFullscreen(a);b.fire("yt-rich-grid-refresh",!0);_.bf(h)})};
_.f.collapseToMiniplayer=function(){var a=_.sv(),b,c=null==(b=this.watchResponse)?void 0:b.response;a&&c&&(b=_.HG(c),_.Qv.getInstance().miniplayerButtonActivation=!0,_.C(this,"yt-activate-miniplayer-action",[a,b,this.watchResponse]),_.Qv.getInstance().userActivation=!0,this.close(!0,!0))};
_.f.isFullscreen=function(a){return"fullscreen"===a};
_.f.autonavAllowed=function(){var a;return!!this.get("contents.twoColumnWatchNextResults.autoplay.autoplay",null==(a=this.watchResponse)?void 0:a.response)};
_.f.onPlayerAutonavChangeRequest=function(a){this.autonavAllowed()&&(a=a?2:1,_.lF.getInstance().setState(a))};
_.f.updatePlayerWithAutonavState=function(){var a,b=null==(a=this.JSC$42352_playerElement)?void 0:a.getPlayer();b&&(this.autonavAllowed()?b.setAutonavState(_.lF.getInstance().getState()):b.setAutonavState(1))};
_.f.onPlayerPlayVideo=function(a){var b=a.sessionData&&"autonav"in a.sessionData,c;a.sessionData&&a.sessionData.itct&&(c=a.sessionData.itct);var d=a.watchEndpoint;b=d&&b?_.FG(d,c):_.kh(a.videoId,a.listId,c);a.sessionData&&_.Nu(b.commandMetadata.webCommandMetadata.url,a.sessionData);this.loadEndpoint(b)};
_.f.onPanelsVisibleChange=function(a){var b=this,c=this.animationsEnabled?100:0;0<a.size?(this.hideDefault=!0,_.xe.addJob(function(){b.panelVisible=!0},10,c)):(this.panelVisible=!1,_.xe.addJob(function(){b.hideDefault=!1},10,c))};
_.f.onPlayerStateChange=function(a){_.Jg(this,"yt-miniplayer-play-state-changed",[1===a])};
_.t.Object.defineProperties(I5.prototype,{videoPrimaryInfoRenderer:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e,h,l,m=null!=(l=null==(a=this.watchResponse)?void 0:null==(b=a.response)?void 0:null==(c=b.contents)?void 0:null==(d=c.twoColumnWatchNextResults)?void 0:null==(e=d.results)?void 0:null==(h=e.results)?void 0:h.contents)?l:[];a=_.k(m);for(c=a.next();!c.done;c=a.next())if(b=void 0,c=null==(b=c.value)?void 0:b.videoPrimaryInfoRenderer)return c}},
videoSecondaryInfoRenderer:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e,h,l,m=null!=(l=null==(a=this.watchResponse)?void 0:null==(b=a.response)?void 0:null==(c=b.contents)?void 0:null==(d=c.twoColumnWatchNextResults)?void 0:null==(e=d.results)?void 0:null==(h=e.results)?void 0:h.contents)?l:[];a=_.k(m);for(c=a.next();!c.done;c=a.next())if(b=void 0,c=null==(b=c.value)?void 0:b.videoSecondaryInfoRenderer)return c}},
commentsEntryPointHeaderRenderer:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d,e,h,l,m=null!=(l=null==(a=this.watchResponse)?void 0:null==(b=a.response)?void 0:null==(c=b.contents)?void 0:null==(d=c.twoColumnWatchNextResults)?void 0:null==(e=d.results)?void 0:null==(h=e.results)?void 0:h.contents)?l:[];a=_.k(m);for(e=a.next();!e.done;e=a.next())if(d=c=b=void 0,e=null==(c=null==(b=e.value)?void 0:b.itemSectionRenderer)?void 0:null==(d=c.contents)?void 0:d[0],b=void 0,null==(b=e)?0:b.commentsEntryPointHeaderRenderer)return e}}});
_.t.Object.defineProperties(I5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===JNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-grid-watch--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_watch.ytd.rich.grid.watch.css.js--\x3e<div id="content">\n  <div id="primary">\n    <div id="player-container"></div>\n    <template is="dom-if" if="[[bottomMeta]]">\n      <div id="bottom">\n        <a id="video-title-link" class="yt-simple-endpoint focus-on-expand" href$="[[computeHref_(watchResponse.endpoint)]]" title$="[[getSimpleString(videoPrimaryInfoRenderer.title)]]" aria-label$="[[videoPrimaryInfoRenderer.title.accessibility.accessibilityData.label]]" on-click="onTitleClick" data="[[watchResponse.endpoint]]">\n          <h1 class="title">\n            <yt-formatted-string force-default-style="" text="[[videoPrimaryInfoRenderer.title]]">\n            </yt-formatted-string>\n          </h1>\n        </a>\n        <ytd-watch-metadata comments-entry-point-header-renderer="[[commentsEntryPointHeaderRenderer]]" hide-title="" video-primary-info-renderer="[[videoPrimaryInfoRenderer]]" video-secondary-info-renderer="[[videoSecondaryInfoRenderer]]">\n        </ytd-watch-metadata>\n      </div>\n    </template>\n  </div>\n  <div id="secondary">\n    <ytd-engagement-panel-ghost-cards is-loading="[[!watchResponse]]">\n    </ytd-engagement-panel-ghost-cards>\n    <ytd-watch-engagement-panels data="[[watchResponse.response.engagementPanels]]" hide-delay-ms="[[panelHideDelayMs]]">\n    </ytd-watch-engagement-panels>\n    <template is="dom-if" if="[[bottomMeta]]">\n      <div id="secondary-default">\n        <div id="clarify-box"></div>\n        \n        <template is="dom-if" if="[[merchShelf.merchandiseShelfRenderer]]" restamp="" id="merch-shelf">\n          <ytd-merch-shelf-renderer data="[[merchShelf.merchandiseShelfRenderer]]" watch-metadata-refresh="">\n          </ytd-merch-shelf-renderer>\n        </template>\n        <div id="ticket-shelf"></div>\n        \n        \n        <template is="dom-if" if="[[hasChat]]" restamp="">\n          <ytd-live-chat-frame id="chat" data="[[data.contents.twoColumnWatchNextResults.conversationBar]]">\n          </ytd-live-chat-frame>\n        </template>\n        <div id="donation-shelf"></div>\n        <ytd-playlist-panel-renderer id="playlist" autoplay-data="[[watchResponse.response.contents.twoColumnWatchNextResults.autoplay.autoplay]]" data="[[playlistData]]" disable-upgrade$="[[!hasPlaylistData]]" hidden="[[!hasPlaylistData]]" js-panel-height="">\n        </ytd-playlist-panel-renderer>\n        <div id="player-ads"></div>\n        <ytd-watch-next-secondary-results-renderer data="[[watchResponse.response.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" disable-upgrade$="[[!watchResponse.response.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" hidden="[[!watchResponse.response.contents.twoColumnWatchNextResults.secondaryResults.secondaryResults]]" player-data="[[playerData]]">\n        </ytd-watch-next-secondary-results-renderer>\n      </div>\n    </template>\n    <template is="dom-if" if="[[!bottomMeta]]">\n      <ytd-engagement-panel-ghost-cards is-loading="[[!watchResponse]]">\n      </ytd-engagement-panel-ghost-cards>\n      <template is="dom-if" if="[[watchResponse]]" restamp="">\n        <div id="secondary-default">\n          <a id="video-title-link" class="yt-simple-endpoint focus-on-expand" href$="[[computeHref_(watchResponse.endpoint)]]" title$="[[getSimpleString(videoPrimaryInfoRenderer.title)]]" aria-label$="[[videoPrimaryInfoRenderer.title.accessibility.accessibilityData.label]]" on-click="onTitleClick" data="[[watchResponse.endpoint]]">\n            <h1 class="title">\n              <yt-formatted-string force-default-style="" text="[[videoPrimaryInfoRenderer.title]]">\n              </yt-formatted-string>\n            </h1>\n          </a>\n          <ytd-watch-metadata actions-on-separate-line="[[!bottomMeta]]" comments-entry-point-header-renderer="[[commentsEntryPointHeaderRenderer]]" hide-title="" video-primary-info-renderer="[[videoPrimaryInfoRenderer]]" video-secondary-info-renderer="[[videoSecondaryInfoRenderer]]">\n          </ytd-watch-metadata>\n        </div>\n      </template>\n    </template>\n  </div>\n</div>\n<div class="close-container">\n  <a id="close-watch" on-click="onCloseClick">\n    <yt-icon-button label="Close" size-default="" style-opacity="">\n      <yt-icon icon="[[computeCloseIcon()]]"></yt-icon>\n    </yt-icon-button>\n  </a>\n</div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===INb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_watch.ytd.rich.grid.watch.css.js--\x3e<style>:host {background-color: var(--yt-spec-general-background-b);margin-bottom: 40px;padding: 40px 0;position: relative;width: 100%;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([fullscreen]) {padding-top: 0;} #content {margin: 0 24px;height: 1px;overflow: hidden;width: 100%;-ms-flex-line-pack: center;-ms-align-content: center;-webkit-align-content: center;align-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host([fullscreen]) #content,:host([items-per-row="1"]) #content,:host([items-per-row="2"]) #content {margin: 0;max-width: none;} #player-container {aspect-ratio: 16/9;background-color: black;width: 100%;} :host([fullscreen]) #player-container {height: 100vh;} #primary {margin-right: calc(var(--ytd-rich-grid-item-margin)/2);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([fullscreen]) #primary,:host([items-per-row="1"]) #primary,:host([items-per-row="2"]) #primary {margin: 40px 0 20px;width: 100%;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host([fullscreen]) #primary {margin-top: 0;} #secondary {color: var(--yt-spec-text-primary);margin-left: calc(var(--ytd-rich-grid-item-margin)/2);width: 350px;position: relative;word-break: break-word;} :host([fullscreen]) #secondary,:host([items-per-row="1"]) #secondary,:host([items-per-row="2"]) #secondary {height: 550px;margin: 0 24px;width: 100%;} :host([bottom-meta]) #secondary {width: 350px;} #bottom {margin-top: 16px;width: 100%;} :host([fullscreen]) #bottom {margin-left: 24px;margin-right: 24px;} :host([items-per-row="1"]) #primary,:host([items-per-row="2"]) #primary {margin: 16px 24px;} .close-container {color: var(--yt-spec-text-primary);margin-bottom: 8px;position: absolute;right: 0;top: 5px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;} .close-container yt-icon-button {height: var(--yt-button-icon-size,var(--yt-icon-height,40px));padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));} :host([fullscreen]) .close-container {display: none;} .title {color: var(--ytd-video-primary-info-renderer-title-color,var(--yt-spec-text-primary));font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} .stats {color: var(--yt-spec-text-secondary);margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .description-snippet {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #secondary-default {left: 0;height: var(--ytd-engagement-panel-content-height);overflow-x: hidden;overflow-y: auto;position: absolute;top: 0;transform: rotateY(0);transition: transform 100ms linear;width: var(--ytd-engagement-panel-content-width);} :host([hide-default]) #secondary-default {transform: rotateY(-90deg);} ytd-watch-engagement-panels {left: 0;position: absolute;top: 0;transform: rotateY(90deg);transition: transform 100ms linear;} :host([panel-visible]) ytd-watch-engagement-panels {transform: rotateY(0);} /*# sourceMappingURL=ytd-rich-grid-watch.css.map*/</style>';
INb=d}d=INb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);JNb=a}a=JNb;return a}}});
var J5=I5;J5.prototype.onNavigate=J5.prototype.onNavigate;J5.prototype.handleWatchResponse=J5.prototype.handleWatchResponse;J5.prototype.onData=J5.prototype.onData;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],J5.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],J5.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],J5.prototype,"ytdReduxBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],J5.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],J5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],J5.prototype,"data",void 0);_.S([_.N({selector:_.Yu,reflectToAttribute:!0}),_.T("design:type",Number)],J5.prototype,"itemsPerRow",void 0);_.S([_.N({selector:_.AI}),_.T("design:type",String)],J5.prototype,"richGridWatchStatus",void 0);
_.S([_.N({computed:"isFullscreen(richGridWatchStatus)",reflectToAttribute:!0}),_.T("design:type",Boolean)],J5.prototype,"fullscreen",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],J5.prototype,"panelVisible",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],J5.prototype,"hideDefault",void 0);_.S([_.N({selector:_.R0a}),_.T("design:type",Boolean)],J5.prototype,"isWatchPage",void 0);_.S([_.N(),_.T("design:type",Object)],J5.prototype,"watchResponse",void 0);
_.S([_.N(),_.T("design:type",Object)],J5.prototype,"panelHideDelayMs",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],J5.prototype,"bottomMeta",void 0);_.S([_.N(),_.T("design:type",Object)],J5.prototype,"animationsEnabled",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype",Promise)],J5.prototype,"onData",null);
_.S([_.P("watchResponse"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype",Promise)],J5.prototype,"handleWatchResponse",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],J5.prototype,"onNavigate",null);_.S([_.V("watchResponse"),_.T("design:type",Object),_.T("design:paramtypes",[])],J5.prototype,"videoPrimaryInfoRenderer",null);
_.S([_.V("watchResponse"),_.T("design:type",Object),_.T("design:paramtypes",[])],J5.prototype,"videoSecondaryInfoRenderer",null);_.S([_.V("watchResponse"),_.T("design:type",Object),_.T("design:paramtypes",[])],J5.prototype,"commentsEntryPointHeaderRenderer",null);J5=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-grid-watch"})],J5);
var KNb;
var LNb;
var MNb;
var NNb;
var K5=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-update-elements-per-row-action":"onUpdateElementsPerRowAction"};return a};
_.q(K5,_.K);_.f=K5.prototype;
_.f.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{richGridWatch:"ytd-rich-grid-watch",richItemRenderer:{component:"ytd-rich-item-renderer",params:{isShelfItem:!0}}}},"data.menu":{id:"menu",mapping:{menuRenderer:{component:"ytd-menu-renderer",attributes:{condensed:!0,icon:"yt-icons:more"},params:{buttonTooltipPosition:"rtl"===_.w("HTML_DIR")?"right":"left"}}}},dismissedRenderer:{id:"dismissed",mapping:{notificationMultiActionRenderer:{component:"ytd-notification-multi-action-renderer",params:{shelfDismissal:!0}}}}}};
_.f.attached=function(){this.listen(document,"yt-page-type-changed","collapseShelf");this.requestElementsPerRow()};
_.f.detached=function(){this.unlisten(document,"yt-page-type-changed","collapseShelf")};
_.f.onRowIndexChange=function(){var a=_.fg();this.data&&this.data.trackingParams&&a&&_.vg(void 0,a,_.no(this.data.trackingParams),{gridData:{veRowCoordinate:this.data.rowIndex}})};
_.f.collapseShelf=function(){var a;if(null==(a=this.data)?0:a.isExpanded)this.data.isExpanded=!1,this.updateItemVisibility()};
_.f.requestElementsPerRow=function(){this.fire("yt-request-elements-per-row")};
_.f.onUpdateElementsPerRowAction=function(a,b,c,d){a&&b&&c&&d&&(this.elementsPerRow!==a||this.postsPerRow!==b||this.slimItemsPerRow!==c||this.gameCardsPerRow!==d)&&(this.elementsPerRow=a,this.postsPerRow=b,this.slimItemsPerRow=c,this.gameCardsPerRow=d,this.updateItemVisibility())};
_.f.updateItemVisibility=function(a){var b=this;if(this.data&&this.data.contents){var c=this.isPostShelfRenderer()?this.postsPerRow:this.isSlimMediaShelfRenderer()?this.slimItemsPerRow:this.isLumiereShelfWithPosters()?this.slimItemsPerRow-1:this.isGameCardShelf()?this.gameCardsPerRow:this.elementsPerRow;var d=_.H(this.root).querySelectorAll("ytd-rich-item-renderer");d.forEach(function(h,l){var m;(null==(m=b.data)?0:m.isExpanded)?(h.hidden=!1,h.ytRendererBehavior.markDirty()):h.hidden=l>c-1});
var e;(null==(e=this.data)?0:e.isExpanded)&&a&&d[c]&&(a=d[c].querySelector(".focus-on-expand"))&&a.focus();this.isShowMoreHidden=this.data.contents.length<=c||!!this.data.isExpanded}};
_.f.onDataChange=function(){var a=this;_.nt(this,function(){a.updateItemVisibility()});
var b;if(null==(b=this.data)?0:b.contents)for(b=0;b<this.data.contents.length;b++){var c=this.data.contents[b].richItemRenderer||{};c.colIndex=b;c.rowIndex=this.data.rowIndex}};
_.f.onRichGridWatchActivate=function(a,b){var c;null!=(c=this.data)&&c.contents&&(a=this.data.contents.filter(function(d){return!d.richGridWatch}),a=[].concat(_.sc(a.slice(0,this.elementsPerRow)),[{richGridWatch:b}],_.sc(a.slice(this.elementsPerRow))),this.data=Object.assign({},this.data,{contents:a}))};
_.f.onRichGridWatchStatus=function(a){var b;null!=(b=this.data)&&b.contents&&"inactive"===a&&(a=this.data.contents.filter(function(c){return!c.richGridWatch}),this.data=Object.assign({},this.data,{contents:a}))};
_.f.onShowMoreTap=function(){this.data&&(this.data.isExpanded=!0,this.updateItemVisibility(!0))};
_.f.isSlimMediaShelfRenderer=function(){var a,b,c,d,e=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b[0])?void 0:null==(d=c.richItemRenderer)?void 0:d.content;return!!((null==e?0:e.movieRenderer)||(null==e?0:e.reelItemRenderer))};
_.f.isGameCardShelf=function(){var a,b,c,d,e;return!(null==(e=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b[0])?void 0:null==(d=c.richItemRenderer)?void 0:d.content)||!e.gameCardRenderer)};
_.f.hasGameBoxArtAvatarStyle=function(){var a;return"CHANNEL_THUMBNAIL_STYLE_BOXART"===(null==(a=this.data)?void 0:a.thumbnailStyle)};
_.f.isShortsShelf=function(){var a,b,c,d,e;return!(null==(e=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b[0])?void 0:null==(d=c.richItemRenderer)?void 0:d.content)||!e.reelItemRenderer)};
_.f.isPostShelfRenderer=function(){var a,b,c,d,e=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b[0])?void 0:null==(d=c.richItemRenderer)?void 0:d.content;return!!((null==e?0:e.postRenderer)||(null==e?0:e.sharedPostRenderer))};
_.f.isLumiereShelf=function(){var a,b,c,d,e;return!!(null==(a=this.data)?0:null==(b=a.contents)?0:null==(c=b[0])?0:null==(d=c.richItemRenderer)?0:null==(e=d.content)?0:e.lumiereShelfDetailsRenderer)};
_.f.isLumiereShelfWithPosters=function(){var a,b,c,d,e,h;return"LUMIERE_SHELF_THUMBNAIL_DIMENSIONS_POSTER"===(null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b[0])?void 0:null==(d=c.richItemRenderer)?void 0:null==(e=d.content)?void 0:null==(h=e.lumiereShelfDetailsRenderer)?void 0:h.thumbnailDimensions)};
_.t.Object.defineProperties(K5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===NNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_shelf_renderer.ytd.rich.shelf.renderer.css.js--\x3e<div id="dismissible">\n  <div id="rich-shelf-header">\n    <h2>\n      <template is="dom-if" if="[[!data.endpoint]]">\n        <yt-icon id="icon" disable-upgrade$="[[!data.icon.iconType]]" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]">\n        </yt-icon>\n        <yt-img-shadow id="avatar" disable-upgrade$="[[!data.thumbnail]]" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]">\n        </yt-img-shadow>\n        <div id="title-container">\n          <div id="title-text">\n            <span id="title">[[getSimpleString(data.title)]]</span>\n            <ytd-badge-supported-renderer id="featured-badge" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n            </ytd-badge-supported-renderer>\n          </div>\n          <yt-formatted-string id="subtitle" text="[[data.subtitle]]">\n          </yt-formatted-string>\n        </div>\n      </template>\n      <template is="dom-if" if="[[data.endpoint]]">\n        <div id="image-container">\n          <a class="yt-simple-endpoint" aria-hidden="true" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]" tabindex="-1" title="[[getSimpleString(data.title)]]">\n            <yt-img-shadow id="avatar" disable-upgrade$="[[!data.thumbnail]]" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]">\n            </yt-img-shadow>\n          </a>\n          <div id="title-container">\n            <div id="title-text">\n              <a class="yt-simple-endpoint" href$="[[computeHref_(data.endpoint)]]" data="[[data.endpoint]]">\n                <span id="title">[[getSimpleString(data.title)]]</span>\n              </a>\n              <ytd-badge-supported-renderer id="featured-badge" badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n              </ytd-badge-supported-renderer>\n            </div>\n            <yt-formatted-string id="subtitle" text="[[data.subtitle]]">\n            </yt-formatted-string>\n          </div>\n        </div>\n      </template>\n    </h2>\n    <div id="menu"></div>\n  </div>\n  <div id="contents"></div>\n  <div id="button-container" hidden="[[isShowMoreHidden]]">\n    <ytd-button-renderer id="show-more-button" data="[[data.showMoreButton.buttonRenderer]]" on-tap="onShowMoreTap">\n    </ytd-button-renderer>\n  </div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===MNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_shelf_renderer.ytd.rich.shelf.renderer.css.js--\x3e<style>:host {border-top: 4px solid var(--yt-spec-10-percent-layer);width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} #dismissible {width: 100%;} #dismissed {border-bottom: 4px solid var(--yt-spec-10-percent-layer);width: 100%;} #dismissed:focus {outline: none;} #rich-shelf-header {margin: 24px 0 24px 8px;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #rich-shelf-header:focus {outline: none;} #rich-shelf-header h2 {-ms-align-self: center;-webkit-align-self: center;align-self: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #rich-shelf-header a {--yt-endpoint-color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;} #image-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #avatar {height: 36px;width: 36px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} :host([has-box-art-thumbnail-style]) #avatar {height: 41px;width: 29px;margin-right: 8px;overflow: unset;} #icon {margin-right: 8px;} #title-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #title-text {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 400;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([is-shorts]) #title-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([is-shorts]) #subtitle {margin-left: 4px;} :host(:not([is-lumiere])) #featured-badge {margin-left: 8px;} #menu {margin-top: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #contents {margin-left: calc(-1 * var(--ytd-rich-grid-item-margin)/2);margin-right: calc(-1 * var(--ytd-rich-grid-item-margin)/2);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #contents ytd-rich-item-renderer {margin-bottom: 20px;} @media(max-width:800px) {:host #contents {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;}} #button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #show-more-button {border-bottom: 4px solid var(--yt-spec-10-percent-layer);cursor: pointer;padding: 2px 0;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #show-more-button:hover {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-icon-active-other);} #show-more-button:focus {outline: none;} :host([is-show-more-hidden]) #dismissible {border-bottom: 4px solid var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=ytd-rich-shelf-renderer.css.map*/</style>';
MNb=d}d=MNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);NNb=a}a=NNb;return a}}});
var L5=K5;L5.prototype.onRichGridWatchStatus=L5.prototype.onRichGridWatchStatus;L5.prototype.onRichGridWatchActivate=L5.prototype.onRichGridWatchActivate;L5.prototype.onDataChange=L5.prototype.onDataChange;L5.prototype.onRowIndexChange=L5.prototype.onRowIndexChange;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],L5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],L5.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.iy),_.T("design:type",Object)],L5.prototype,"ytdDismissibleItemBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],L5.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],L5.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],L5.prototype,"data",void 0);_.S([_.N({value:3}),_.T("design:type",Number)],L5.prototype,"elementsPerRow",void 0);
_.S([_.N({value:3}),_.T("design:type",Number)],L5.prototype,"postsPerRow",void 0);_.S([_.N({value:6}),_.T("design:type",Number)],L5.prototype,"slimItemsPerRow",void 0);_.S([_.N({value:6}),_.T("design:type",Number)],L5.prototype,"gameCardsPerRow",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],L5.prototype,"isShowMoreHidden",void 0);_.S([_.N({reflectToAttribute:!0,computed:"isShortsShelf(data)"}),_.T("design:type",Boolean)],L5.prototype,"isShorts",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"isLumiereShelf(data)"}),_.T("design:type",Boolean)],L5.prototype,"isLumiere",void 0);_.S([_.N({reflectToAttribute:!0,computed:"hasGameBoxArtAvatarStyle(data)"}),_.T("design:type",Boolean)],L5.prototype,"hasBoxArtThumbnailStyle",void 0);_.S([_.N({selector:_.AI}),_.T("design:type",String)],L5.prototype,"richGridWatchStatus",void 0);
_.S([_.P("data.rowIndex"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],L5.prototype,"onRowIndexChange",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],L5.prototype,"onDataChange",null);_.S([_.O("yt-rich-grid-watch-activate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],L5.prototype,"onRichGridWatchActivate",null);
_.S([_.P("richGridWatchStatus"),_.T("design:type",Function),_.T("design:paramtypes",[String]),_.T("design:returntype")],L5.prototype,"onRichGridWatchStatus",null);L5=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-shelf-renderer"})],L5);
var ONb;
var PNb;
var M5=function(){var a=_.K.apply(this,arguments)||this;a.visibleVideos=[];a.hiddenVideos=[];a.actionMap={"ytd-update-elements-per-row-action":"onUpdateElementsPerRowAction","yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(M5,_.K);_.f=M5.prototype;_.f.attached=function(){var a=!!document.documentElement.hasAttribute("dark");this.set("isDarkTheme",a);this.onDarkModeToggledAction(a)};
_.f.configureRendererStamper=function(){return{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"ytd-button-renderer"}},visibleVideos:{id:"visible-video-container",mapping:{videoRenderer:{component:"ytd-rich-grid-media",properties:{metadataColor:"[[videoMetadataColor]]"}}}},hiddenVideos:{id:"hidden-video-container",mapping:{videoRenderer:{component:"ytd-rich-grid-media",properties:{metadataColor:"[[videoMetadataColor]]"}}}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer",
notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.f.dataChanged=function(a){var b=this;this.requestElementsPerRow();this.currentColorPalette=this.isDarkTheme?a.darkColorData:a.lightColorData;var c;if(null==(c=this.currentColorPalette)?0:c.accentColor)this.videoMetadataColor=this.currentColorPalette.accentColor;this.checkExpanded(a);this.updateButtonPalette();this.setVisibleVideos();_.nt(this,function(){b.updateVisibilityForHiddenVideos()})};
_.f.elementsPerRowChanged=function(){this.updateTitleSpec();this.checkExpanded(this.data);this.setVisibleVideos();this.updateVisibilityForHiddenVideos()};
_.f.onDarkModeToggledAction=function(a){a!==this.isDarkTheme&&this.set("isDarkTheme",a);this.data&&(this.currentColorPalette=a?this.data.darkColorData:this.data.lightColorData,this.updateButtonPalette())};
_.f.getCurrentLogo=function(a,b){if(a)return b?a.darkLogoImage:a.lightLogoImage};
_.f.computeTitleStyle=function(a){var b;if(null!=(b=this.data)&&b.title&&a&&void 0!==a.textPrimary)return _.ou({color:_.ru(a.textPrimary)})};
_.f.computeSubtitleStyle=function(a){var b;if(null!=(b=this.data)&&b.subtitle&&a&&void 0!==a.textSecondary)return _.ou({color:_.ru(a.textSecondary)})};
_.f.computeDismissIconStyle=function(a){if(this.data&&this.data.dismissButton){var b;if(null==a?0:null==(b=a.dismissButtonColorData)?0:b.foregroundTitleColor)return _.ou({"--yt-button-color":_.ru(a.dismissButtonColorData.foregroundTitleColor)});var c,d,e,h;if(null==(c=this.data.dismissButton)?0:null==(d=c.buttonRenderer)?0:null==(e=d.colorData)?0:null==(h=e.basicColorPaletteData)?0:h.foregroundTitleColor)return _.ou({"--yt-button-color":_.ru(this.data.dismissButton.buttonRenderer.colorData.basicColorPaletteData.foregroundTitleColor)})}};
_.f.computeBackgroundStyle=function(a){if(a&&this.data){var b={};if(this.data.lightBackgroundImage&&this.data.darkBackgroundImage){var c=_.Sy((this.isDarkTheme?this.data.darkBackgroundImage:this.data.lightBackgroundImage).thumbnails,Number.MAX_VALUE);c&&(b["background-image"]=c)}a.backgroundColor&&(b["background-color"]=_.ru(a.backgroundColor));return _.ou(b)}};
_.f.shouldShowBottomButton=function(a,b){return!(null==a||!a.primaryButton)&&3>b};
_.f.checkExpanded=function(a){this.isExpanded=a&&a.content?3>this.elementsPerRow?a.content.length<=this.elementsPerRow:a.content.length<this.elementsPerRow:!0};
_.f.onShowMoreTap=function(){this.data&&(this.isExpanded=!0,this.updateVisibilityForHiddenVideos())};
_.f.updateButtonPalette=function(){if(this.data&&this.currentColorPalette){var a;if(null==(a=this.data.primaryButton)?0:a.buttonRenderer)this.currentColorPalette.primaryButtonColorData?(this.data.primaryButton.buttonRenderer.colorData={basicColorPaletteData:this.currentColorPalette.primaryButtonColorData},this.data.primaryButton.buttonRenderer.style=void 0):this.currentColorPalette.primaryButtonStyleType&&(this.data.primaryButton.buttonRenderer.style=this.currentColorPalette.primaryButtonStyleType,
this.data.primaryButton.buttonRenderer.colorData=void 0),this.set("primaryButton",Object.assign({},this.data.primaryButton.buttonRenderer))}};
_.f.setVisibleVideos=function(){if(this.data&&this.data.content)if(this.data.content.length){var a=this.data.content.length;3>this.elementsPerRow?(this.visibleVideos=this.data.content.slice(0,Math.min(a,this.elementsPerRow)),this.hiddenVideos=this.data.content.slice(Math.min(a,this.elementsPerRow),a)):(this.visibleVideos=this.data.content.slice(0,Math.min(a,this.elementsPerRow-1)),this.hiddenVideos=this.data.content.slice(Math.min(a,this.elementsPerRow-1),a))}else this.visibleVideos=[],this.hiddenVideos=
[]};
_.f.requestElementsPerRow=function(){this.fire("yt-request-elements-per-row")};
_.f.updateVisibilityForHiddenVideos=function(){if(this.data&&this.data.content){for(var a=_.k(this.hiddenMediaRenderers),b=a.next();!b.done;b=a.next())b=b.value,this.isExpanded&&b.ytRendererBehavior.markDirty();this.isExpanded&&this.hiddenMediaRenderers[0]&&(a=this.hiddenMediaRenderers[0].querySelector("#video-title-link"))&&a.focus()}};
_.f.updateTitleSpec=function(){var a;null!=(a=this.data)&&a.titleLength&&(this.largeTitle=2===this.elementsPerRow&&10<this.data.titleLength?!0:!1)};
_.f.onUpdateElementsPerRowAction=function(a){a&&this.elementsPerRow!==a&&(this.elementsPerRow=a)};
_.t.Object.defineProperties(M5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===PNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-brand-video-shelf-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_brand_video_shelf_renderer.ytd.brand.video.shelf.renderer.css.js--\x3e<div id="dismissible" style$="[[computeBackgroundStyle(currentColorPalette)]]">\n  <div id="content-wrapper">\n    <div id="visible-content-wrapper">\n      <div id="metadata-container">\n        <div id="header-container">\n          <yt-img-shadow id="logo-image" height="20" hidden="[[!data.lightLogoImage]]" thumbnail="[[getCurrentLogo(data, isDarkTheme)]]">\n          </yt-img-shadow>\n          <div id="badge-container" style$="[[computeTitleStyle(currentColorPalette)]]">\n            <yt-formatted-string id="badge" text="[[data.badgeText]]"></yt-formatted-string>\n          </div>\n        </div>\n        <div id="title-container" style$="[[computeTitleStyle(currentColorPalette)]]">\n          <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n        </div>\n        <div id="subtitle-container" style$="[[computeSubtitleStyle(currentColorPalette)]]">\n          <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n        </div>\n        <div id="metadata-button-container" hidden="[[shouldShowBottomButton(data, elementsPerRow)]]">\n          <ytd-button-renderer id="primary-button" data="[[primaryButton]]">\n          </ytd-button-renderer>\n        </div>\n      </div>\n      <div id="visible-video-container"></div>\n    </div>\n    <div id="hidden-video-container"></div>\n    <div id="bottom-button-container" hidden="[[!shouldShowBottomButton(data, elementsPerRow)]]">\n      <ytd-button-renderer id="primary-button" data="[[primaryButton]]">\n      </ytd-button-renderer>\n    </div>\n  </div>\n  <div id="show-more-button-container" hidden="[[isExpanded]]">\n    <ytd-button-renderer id="show-more-button" data="[[data.showMoreButton.buttonRenderer]]" style$="[[computeDismissIconStyle(currentColorPalette)]]" on-click="onShowMoreTap">\n    </ytd-button-renderer>\n  </div>\n  <div id="dismiss-button" style$="[[computeDismissIconStyle(currentColorPalette)]]"></div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ONb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_brand_video_shelf_renderer.ytd.brand.video.shelf.renderer.css.js--\x3e<style>:host {--ytd-brand-video-shelf-item-width: calc( 100% / var(--ytd-rich-grid-items-per-row) - var(--ytd-rich-grid-item-margin) );display: block;border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: 4px solid var(--yt-spec-10-percent-layer);} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} :host(:not([is-dismissed])) #dismissible {background-color: var(--yt-spec-general-background-c);position: relative;padding-left: var(--ytd-rich-grid-item-margin);padding-right: var(--ytd-rich-grid-item-margin);} :host([is-dark-theme]) #dismissible {background-color: var(--yt-spec-static-brand-white);} :host(:not([is-dismissed])[full-bleed-enabled]) #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #hidden-video-container {width: 100%;display: none;} #hidden-video-container ytd-rich-grid-media {flex-shrink: 0;width: var(--ytd-brand-video-shelf-item-width);margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);margin-bottom: 16px;} :host([is-expanded]) #hidden-video-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host #dismissed {width: 100%;} :host #dismissed:focus {outline: none;} #badge-container {margin-top: 8px;margin-bottom: -0.4rem;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #logo-image {margin-right: 8px;} #header-container {margin-bottom: 8px;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #content-wrapper {width: 100%;background-repeat: no-repeat;position: relative;-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title-container {color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 700;} #subtitle-container {color: var(--yt-spec-text-primary);margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #visible-content-wrapper {width: 100%;position: relative;margin-bottom: 16px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #visible-content-wrapper ytd-rich-grid-media {width: calc(100%/(var(--ytd-rich-grid-items-per-row) - 1) - var(--ytd-rich-grid-item-margin));} #metadata-container {width: var(--ytd-brand-video-shelf-item-width);margin-top: 44px;margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #visible-video-container {flex: 1;width: calc(100%/(var(--ytd-rich-grid-items-per-row) - 1) - var(--ytd-rich-grid-item-margin));margin-top: 48px;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #visible-video-container ytd-rich-grid-media {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);} #metadata-button-container {margin-top: 16px;} #show-more-button-container {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;} #show-more-button {cursor: pointer;padding: 2px 0;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #show-more-button:hover {background-color: var(--yt-spec-badge-chip-background);color: var(--yt-spec-icon-active-other);} #dismiss-button {position: absolute;top: 4px;right: 8px;} :host([elements-per-row="2"]) #visible-content-wrapper {margin-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([elements-per-row="2"]) #subtitle-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([elements-per-row="2"]) #metadata-container {width: calc(100% - var(--ytd-rich-grid-item-margin));margin-top: 0;} :host([elements-per-row="2"]) #metadata-button-container {margin: 0;} :host([elements-per-row="2"]) #visible-video-container {width: auto;margin-top: 16px;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;} :host([elements-per-row="2"]) #dismiss-button {top: 16px;} :host([elements-per-row="2"]) #bottom-button-container {width: 90%;margin-bottom: 8px;} :host([elements-per-row="2"]) #bottom-button-container #primary-button {width: 100%;} :host([elements-per-row="2"][is-expanded]) #dismissible {padding-bottom: 24px;} :host([elements-per-row="1"]) #visible-content-wrapper {margin-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([elements-per-row="1"]) #visible-content-wrapper ytd-rich-grid-media {width: auto;} :host([elements-per-row="1"]) #subtitle-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([elements-per-row="1"]) #metadata-container {margin-top: 0;} :host([elements-per-row="1"]) #metadata-button-container {margin: 0;} :host([elements-per-row="1"]) #visible-video-container {width: 100%;margin-top: 16px;display: block;} :host([elements-per-row="1"]) #dismiss-button {top: 16px;} :host([elements-per-row="1"]) #bottom-button-container {width: calc(100% - var(--ytd-rich-grid-item-margin));margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);margin-bottom: 8px;} :host([elements-per-row="1"]) #bottom-button-container #primary-button {width: 100%;} :host([elements-per-row="1"][is-expanded]) #dismissible {padding-bottom: 24px;} :host([is-expanded]) #visible-content-wrapper {margin-bottom: 40px;} :host([is-expanded]) #hidden-video-container ytd-rich-grid-media {margin-bottom: 40px;} :host([elements-per-row="2"][large-title]) #title-container {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 3.2rem;line-height: 4.4rem;font-weight: 700;} :host([full-bleed-enabled]) #content-wrapper {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)));} :host([full-bleed-enabled][mini-mode]) #content-wrapper {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)));} :host([full-bleed-enabled][elements-per-row="2"]) rich-grid-media {width: calc((100% - var(--ytd-rich-grid-item-margin))/2);} :host([full-bleed-enabled][elements-per-row="2"]) #show-more-button-container {margin: 0;} :host([full-bleed-enabled][elements-per-row="2"]) #metadata-container {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);} :host([full-bleed-enabled][elements-per-row="2"]) rich-grid-media {width: calc((100% - var(--ytd-rich-grid-item-margin))/var(--ytd-rich-grid-items-per-row));} :host([full-bleed-enabled][elements-per-row="1"]) rich-grid-media {width: calc((100% - var(--ytd-rich-grid-item-margin))/2);} :host([full-bleed-enabled][elements-per-row="1"]) #show-more-button-container {margin: 0;} :host([full-bleed-enabled][elements-per-row="1"]) #metadata-container {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);} :host([full-bleed-enabled][elements-per-row="1"]) rich-grid-media {width: calc((100% - var(--ytd-rich-grid-item-margin))/var(--ytd-rich-grid-items-per-row));} @media(max-width:346px),(min-width:512px) and (max-width:600px) {:host(:not([full-bleed-enabled])[elements-per-row="2"]) #metadata-container {width: calc(100% - 2 * var(--ytd-rich-grid-item-margin));margin-left: var(--ytd-rich-grid-item-margin);}:host([full-bleed-enabled]) #dismissible {padding: 0;}:host([full-bleed-enabled]) #content-wrapper {width: calc(100% + var(--ytd-rich-grid-item-margin));margin-left: calc(var(--ytd-rich-grid-item-margin)/-2);margin-right: calc(var(--ytd-rich-grid-item-margin)/-2);}:host([full-bleed-enabled]) #metadata-container {width: calc(100% - 2 * var(--ytd-rich-grid-item-margin));-ms-align-self: center;-webkit-align-self: center;align-self: center;}:host([full-bleed-enabled][elements-per-row="2"]) rich-grid-media {width: calc((100% - var(--ytd-rich-grid-item-margin))/2);}:host([elements-per-row="1"]) #metadata-container {width: calc(100% - 2 * var(--ytd-rich-grid-item-margin));margin-left: var(--ytd-rich-grid-item-margin);}:host([elements-per-row="1"]) #bottom-button-container {width: calc(100% - 2 * var(--ytd-rich-grid-item-margin));}:host(:not([full-bleed-enabled])) #dismiss-button {right: 24px;}} /*# sourceMappingURL=ytd-brand-video-shelf-renderer.css.map*/</style>';
ONb=d}d=ONb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);PNb=a}a=PNb;return a}}});
var N5=M5;N5.prototype.elementsPerRowChanged=N5.prototype.elementsPerRowChanged;N5.prototype.dataChanged=N5.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],N5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],N5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],N5.prototype,"ytdDismissibleItemBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],N5.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],N5.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],N5.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],N5.prototype,"currentColorPalette",void 0);_.S([_.N(),_.T("design:type",Array)],N5.prototype,"visibleVideos",void 0);_.S([_.N(),_.T("design:type",Array)],N5.prototype,"hiddenVideos",void 0);
_.S([_.N(),_.T("design:type",Object)],N5.prototype,"primaryButton",void 0);_.S([_.N({reflectToAttribute:!0,value:3}),_.T("design:type",Number)],N5.prototype,"elementsPerRow",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],N5.prototype,"isDarkTheme",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],N5.prototype,"isExpanded",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],N5.prototype,"largeTitle",void 0);
_.S([_.N(),_.T("design:type",Boolean)],N5.prototype,"showLightVideoMetadata",void 0);_.S([_.N(),_.T("design:type",Boolean)],N5.prototype,"showDarkVideoMetadata",void 0);_.S([_.N(),_.T("design:type",Number)],N5.prototype,"videoMetadataColor",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],N5.prototype,"miniMode",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("rich_grid_enable_edge_to_edge")}}),
_.T("design:type",Boolean)],N5.prototype,"fullBleedEnabled",void 0);_.S([_.yIa("#visible-video-container ytd-rich-grid-media"),_.T("design:type",Array)],N5.prototype,"visibleMediaRenderers",void 0);_.S([_.yIa("#hidden-video-container ytd-rich-grid-media"),_.T("design:type",Array)],N5.prototype,"hiddenMediaRenderers",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],N5.prototype,"dataChanged",null);
_.S([_.P("elementsPerRow"),_.T("design:type",Function),_.T("design:paramtypes",[Number]),_.T("design:returntype")],N5.prototype,"elementsPerRowChanged",null);N5=_.S([_.Q({is:"ytd-brand-video-shelf-renderer"})],N5);
var QNb;
var RNb;
var O5=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-update-elements-per-row-action":"onUpdateElementsPerRowAction","yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(O5,_.K);_.f=O5.prototype;_.f.attached=function(){var a=!!document.documentElement.hasAttribute("dark");this.set("isDarkTheme",a);this.onDarkModeToggledAction(a)};
_.f.configureRendererStamper=function(){return{primaryButton:{id:"primary-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"ytd-button-renderer"}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer",notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.f.dataChanged=function(a){this.requestElementsPerRow();this.currentColorPalette=this.isDarkTheme?a.darkColorData:a.lightColorData;this.computeVideoMetadataColor(this.isDarkTheme);this.updateButtonPalette()};
_.f.elementsPerRowChanged=function(){this.updateTitleSpec()};
_.f.onDarkModeToggledAction=function(a){a!==this.isDarkTheme&&this.set("isDarkTheme",a);this.data&&(this.currentColorPalette=a?this.data.darkColorData:this.data.lightColorData,this.computeVideoMetadataColor(a),this.updateButtonPalette())};
_.f.shouldShowThumbnailInMetadata=function(a){return 1>=a};
_.f.getCurrentLogo=function(a,b){if(a)return b?a.darkLogoImage:a.lightLogoImage};
_.f.computeVideoMetadataColor=function(){if(this.data){var a;if(null==(a=this.currentColorPalette)?0:a.accentColor)this.videoMetadataColor=this.currentColorPalette.accentColor}};
_.f.computeTitleStyle=function(a){var b;if(null!=(b=this.data)&&b.title&&a&&void 0!==a.textPrimary)return _.ou({color:_.ru(a.textPrimary)})};
_.f.computeSubtitleStyle=function(a){var b;if(null!=(b=this.data)&&b.subtitle&&a&&void 0!==a.textSecondary)return _.ou({color:_.ru(a.textSecondary)})};
_.f.computeDismissIconStyle=function(a){if(this.data&&this.data.dismissButton){var b;if(null==a?0:null==(b=a.dismissButtonColorData)?0:b.foregroundTitleColor)return _.ou({"--yt-button-color":_.ru(a.dismissButtonColorData.foregroundTitleColor)});var c,d,e,h;if(null==(c=this.data.dismissButton)?0:null==(d=c.buttonRenderer)?0:null==(e=d.colorData)?0:null==(h=e.basicColorPaletteData)?0:h.foregroundTitleColor)return _.ou({"--yt-button-color":_.ru(this.data.dismissButton.buttonRenderer.colorData.basicColorPaletteData.foregroundTitleColor)})}};
_.f.computeBackgroundStyle=function(a){if(a&&this.data){var b={};if(this.data.lightBackgroundImage&&this.data.darkBackgroundImage){var c=_.Sy((this.isDarkTheme?this.data.darkBackgroundImage:this.data.lightBackgroundImage).thumbnails,Number.MAX_VALUE);c&&(b["background-image"]=c)}a.backgroundColor&&(b["background-color"]=_.ru(a.backgroundColor));return _.ou(b)}};
_.f.updateButtonPalette=function(){if(this.data&&this.currentColorPalette){var a;if(null==(a=this.data.primaryButton)?0:a.buttonRenderer)this.currentColorPalette.primaryButtonColorData?(this.data.primaryButton.buttonRenderer.colorData={basicColorPaletteData:this.currentColorPalette.primaryButtonColorData},this.data.primaryButton.buttonRenderer.style=void 0):this.currentColorPalette.primaryButtonStyleType&&(this.data.primaryButton.buttonRenderer.style=this.currentColorPalette.primaryButtonStyleType,
this.data.primaryButton.buttonRenderer.colorData=void 0),this.set("primaryButton",{buttonRenderer:Object.assign({},this.data.primaryButton.buttonRenderer)})}};
_.f.requestElementsPerRow=function(){this.fire("yt-request-elements-per-row")};
_.f.updateTitleSpec=function(){var a;null!=(a=this.data)&&a.titleLength&&(this.titleSize=3>=this.elementsPerRow?10>=this.data.titleLength?"TITLE_SIZE_MEDIUM":"TITLE_SIZE_SMALL":13>=this.data.titleLength?"TITLE_SIZE_LARGE":30>=this.data.titleLength?"TITLE_SIZE_MEDIUM":"TITLE_SIZE_SMALL")};
_.f.onUpdateElementsPerRowAction=function(a){a&&this.elementsPerRow!==a&&(this.elementsPerRow=a)};
_.t.Object.defineProperties(O5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===RNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-brand-video-singleton-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_brand_video_singleton_renderer.ytd.brand.video.singleton.renderer.css.js--\x3e<div id="dismissible" style$="[[computeBackgroundStyle(currentColorPalette)]]">\n  <div id="content-wrapper">\n    <div id="thumbnail-container" hidden="[[shouldShowThumbnailInMetadata(elementsPerRow)]]">\n      <ytd-rich-grid-media data="[[data.content.videoRenderer]]" metadata-color="[[videoMetadataColor]]"></ytd-rich-grid-media>\n    </div>\n    <div id="metadata-container">\n      <div id="metadata-text-container">\n        <div id="header-container">\n          <yt-img-shadow id="logo-image" height="20" hidden="[[!data.lightLogoImage]]" thumbnail="[[getCurrentLogo(data, isDarkTheme)]]">\n          </yt-img-shadow>\n          <div id="badge-container" style$="[[computeTitleStyle(currentColorPalette)]]">\n            <yt-formatted-string id="badge" text="[[data.badgeText]]"></yt-formatted-string>\n          </div>\n        </div>\n        <div id="title-container" style$="[[computeTitleStyle(currentColorPalette)]]">\n          <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n        </div>\n        <div id="subtitle-container" style$="[[computeSubtitleStyle(currentColorPalette)]]">\n          <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n        </div>\n      </div>\n      <div id="metadata-video-container" hidden="[[!shouldShowThumbnailInMetadata(elementsPerRow)]]">\n        <ytd-rich-grid-media data="[[data.content.videoRenderer]]" metadata-color="[[videoMetadataColor]]"></ytd-rich-grid-media>\n      </div>\n      <div id="button-container">\n        <div id="primary-button"></div>\n      </div>\n    </div>\n  </div>\n  <div id="dismiss-button" style$="[[computeDismissIconStyle(currentColorPalette)]]"></div>\n</div>\n<div id="dismissed"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===QNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_brand_video_singleton_renderer.ytd.brand.video.singleton.renderer.css.js--\x3e<style>:host {--ytd-brand-video-item-width: calc( 100% / var(--ytd-rich-grid-items-per-row) - var(--ytd-rich-grid-item-margin) );display: block;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} :host(:not([is-dismissed])) #dismissible {background-color: var(--yt-spec-general-background-c);position: relative;padding: 16px var(--ytd-rich-grid-item-margin) 16px var(--ytd-rich-grid-item-margin);} :host([is-dark-theme]) #dismissible {background-color: var(--yt-spec-static-brand-white);} :host(:not([is-dismissed])[full-bleed-enabled]) #dismissible {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host #dismissed {border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: 4px solid var(--yt-spec-10-percent-layer);width: 100%;} :host #dismissed:focus {outline: none;} #content-wrapper {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #thumbnail-container {flex-shrink: 0;width: var(--ytd-brand-video-item-width);margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} #metadata-container {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} #metadata-text-container {width: calc(100%/(var(--ytd-rich-grid-items-per-row) - 1) * 2 - var(--ytd-rich-grid-item-margin));margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header-container {margin-bottom: 8px;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #badge-container {margin-top: 8px;margin-bottom: -0.4rem;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #logo-image {margin-right: 8px;} #title-container {color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 3.2rem;line-height: 4.4rem;font-weight: 700;} #subtitle-container {color: var(--yt-spec-text-primary);margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #button-container {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);} #dismiss-button {position: absolute;top: 16px;right: 8px;} :host([elements-per-row="3"]) #metadata-container {-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([elements-per-row="3"]) #metadata-text-container {width: auto;} :host([elements-per-row="3"]) #button-container {margin-top: 16px;} :host([elements-per-row="2"]) #metadata-container {-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([elements-per-row="2"]) #metadata-text-container {width: auto;} :host([elements-per-row="2"]) #button-container {margin-top: 16px;} :host([elements-per-row="2"]) #subtitle-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([elements-per-row="1"]) #dismissible {padding-top: 24px;padding-bottom: 24px;} :host([elements-per-row="1"]) #metadata-container {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([elements-per-row="1"]) #metadata-text-container {margin-bottom: 16px;margin-left: 0;margin-right: 0;width: auto;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;} :host([elements-per-row="1"]) #subtitle-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([elements-per-row="1"]) #header-container {margin-top: 8px;} :host([elements-per-row="1"]) #button-container {margin-left: 0;margin-top: 16px;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;} :host([elements-per-row="1"]) #button-container ytd-button-renderer {width: 100%;} :host([full-bleed-enabled]) #content-wrapper {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)));width: 100%;} :host([full-bleed-enabled][mini-mode]) #content-wrapper {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)));} :host([full-bleed-enabled][elements-per-row="1"]) #dismissible {padding-left: 0;padding-right: 0;} :host([full-bleed-enabled][elements-per-row="1"]) #dismiss-button {top: 24px;} :host([title-size=TITLE_SIZE_SMALL]) #title-container {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 700;} :host([title-size=TITLE_SIZE_MEDIUM]) #title-container {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 3.2rem;line-height: 4.4rem;font-weight: 700;} :host([title-size=TITLE_SIZE_LARGE]) #title-container {font-family: "YouTube Sans","Roboto",sans-serif;font-size: 4rem;line-height: 5.4rem;font-weight: 700;} @media(max-width:346px) {:host([elements-per-row="1"]) #button-container {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);}:host([elements-per-row="1"]) #metadata-text-container {margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);}:host(:not([full-bleed-enabled])) #dismiss-button {right: 24px;}:host([full-bleed-enabled]) #dismissible {padding-left: 0;padding-right: 0;}:host([full-bleed-enabled]) #content-wrapper {width: calc(100% + var(--ytd-rich-grid-item-margin));margin-left: calc(var(--ytd-rich-grid-item-margin)/-2);margin-right: calc(var(--ytd-rich-grid-item-margin)/-2);}:host([full-bleed-enabled]) #dismiss-button {right: 0;}} @media(min-width:512px) and (max-width:600px) {#metadata-text-container {margin-right: var(--ytd-rich-grid-item-margin);}:host(:not([full-bleed-enabled])) #dismiss-button {right: 24px;}:host([full-bleed-enabled]) #dismissible {padding-left: 0;padding-right: 0;}:host([full-bleed-enabled]) #content-wrapper {width: calc(100% + var(--ytd-rich-grid-item-margin));margin-left: calc(var(--ytd-rich-grid-item-margin)/-2);margin-right: calc(var(--ytd-rich-grid-item-margin)/-2);}} /*# sourceMappingURL=ytd-brand-video-singleton-renderer.css.map*/</style>';
QNb=d}d=QNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);RNb=a}a=RNb;return a}}});
var P5=O5;P5.prototype.elementsPerRowChanged=P5.prototype.elementsPerRowChanged;P5.prototype.dataChanged=P5.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],P5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],P5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],P5.prototype,"ytdDismissibleItemBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],P5.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],P5.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],P5.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],P5.prototype,"currentColorPalette",void 0);_.S([_.N(),_.T("design:type",Object)],P5.prototype,"primaryButton",void 0);
_.S([_.N({reflectToAttribute:!0,value:3}),_.T("design:type",Number)],P5.prototype,"elementsPerRow",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],P5.prototype,"isDarkTheme",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],P5.prototype,"titleSize",void 0);_.S([_.N(),_.T("design:type",Number)],P5.prototype,"videoMetadataColor",void 0);_.S([_.N({reflectToAttribute:!0,selector:_.Xu}),_.T("design:type",Boolean)],P5.prototype,"miniMode",void 0);
_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("rich_grid_enable_edge_to_edge")}}),
_.T("design:type",Boolean)],P5.prototype,"fullBleedEnabled",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],P5.prototype,"dataChanged",null);_.S([_.P("elementsPerRow"),_.T("design:type",Function),_.T("design:paramtypes",[Number]),_.T("design:returntype")],P5.prototype,"elementsPerRowChanged",null);P5=_.S([_.Q({asyncProperties:!0,is:"ytd-brand-video-singleton-renderer"})],P5);
var SNb;
var TNb;
var Q5=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"ytd-update-elements-per-row-action":"onUpdateElementsPerRowAction","yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(Q5,_.K);_.f=Q5.prototype;_.f.attached=function(){this.requestElementsPerRow();this.isDarkTheme=!!document.documentElement.hasAttribute("dark");this.data&&(this.currentColorData=this.isDarkTheme?this.data.darkColorData:this.data.lightColorData)};
_.f.configureRendererStamper=function(){return{primaryButton:{id:"primary-button",mapping:{buttonRenderer:"ytd-button-renderer"},reuseComponents:!0},secondaryButton:{id:"secondary-button",mapping:{buttonRenderer:"ytd-button-renderer"},reuseComponents:!0},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"ytd-button-renderer"}},dismissedRenderer:{id:"dismissed",mapping:{notificationTextRenderer:"ytd-notification-text-renderer",notificationMultiActionRenderer:"ytd-notification-multi-action-renderer"}}}};
_.f.dataChanged=function(a){this.requestElementsPerRow();this.updateButtonPalette();var b=!!a.tileImage;b!==this.hasTileImage&&this.set("hasTileImage",b);this.currentColorData=this.isDarkTheme?a.darkColorData:a.lightColorData};
_.f.themeChanged=function(a){this.data&&this.set("currentColorData",a?this.data.darkColorData:this.data.lightColorData)};
_.f.currentColorChanged=function(){this.updateButtonPalette()};
_.f.computeBackgroundStyle=function(a){if(a&&this.data){var b={};if(this.data.lightBackgroundImage&&this.data.darkBackgroundImage){var c=_.Sy((this.isDarkTheme?this.data.darkBackgroundImage:this.data.lightBackgroundImage).thumbnails,Number.MAX_VALUE);c&&(b["background-image"]=c)}var d;if(null==(d=a.basicColorData)?0:d.backgroundColor)b["background-color"]=_.ru(a.basicColorData.backgroundColor);return _.ou(b)}};
_.f.onDarkModeToggledAction=function(a){a!==this.isDarkTheme&&this.set("isDarkTheme",a)};
_.f.getCurrentLogo=function(a,b){if(a)return b?a.darkLogoImage:a.lightLogoImage};
_.f.computeTitleStyle=function(a){if(this.data&&this.data.title&&a&&a.basicColorData&&void 0!==a.basicColorData.foregroundTitleColor)return _.ou({color:_.ru(a.basicColorData.foregroundTitleColor)})};
_.f.computeSubtitleStyle=function(a){if(this.data&&this.data.subtitle&&a&&a.basicColorData&&void 0!==a.basicColorData.foregroundBodyColor)return _.ou({color:_.ru(a.basicColorData.foregroundBodyColor)})};
_.f.computeBadgeStyle=function(a){if(this.data&&this.data.badgeText&&a&&a.basicColorData&&void 0!==a.basicColorData.foregroundActivatedColor)return _.ou({color:_.ru(a.basicColorData.foregroundActivatedColor)})};
_.f.computeDismissIconStyle=function(a,b){if(this.data&&this.data.dismissButton&&(!this.data.tileImage||1!==b)){var c;if(null==a?0:null==(c=a.dismissButtonColorData)?0:c.foregroundTitleColor)return _.ou({"--yt-button-color":_.ru(a.dismissButtonColorData.foregroundTitleColor)});var d,e,h,l;if(null==(d=this.data.dismissButton)?0:null==(e=d.buttonRenderer)?0:null==(h=e.colorData)?0:null==(l=h.basicColorPaletteData)?0:l.foregroundTitleColor)return _.ou({"--yt-button-color":_.ru(this.data.dismissButton.buttonRenderer.colorData.basicColorPaletteData.foregroundTitleColor)})}};
_.f.shouldExpandLogo=function(a,b){return a?!1:2<=b};
_.f.requestElementsPerRow=function(){this.fire("yt-request-elements-per-row")};
_.f.updateButtonPalette=function(){if(this.data&&this.currentColorData){var a;if(null==(a=this.data.primaryButton)?0:a.buttonRenderer)this.currentColorData.primaryButtonColorData?(this.data.primaryButton.buttonRenderer.colorData={basicColorPaletteData:this.currentColorData.primaryButtonColorData},this.data.primaryButton.buttonRenderer.style=void 0):this.currentColorData.primaryButtonStyleType&&(this.data.primaryButton.buttonRenderer.style=this.currentColorData.primaryButtonStyleType,this.data.primaryButton.buttonRenderer.colorData=
void 0),this.set("primaryButton",{buttonRenderer:Object.assign({},this.data.primaryButton.buttonRenderer)});var b;if(null==(b=this.data.secondaryButton)?0:b.buttonRenderer)this.currentColorData.secondaryButtonColorData?(this.data.secondaryButton.buttonRenderer.colorData={basicColorPaletteData:this.currentColorData.secondaryButtonColorData},this.data.secondaryButton.buttonRenderer.style=void 0):this.currentColorData.secondaryButtonStyleType&&(this.data.secondaryButton.buttonRenderer.style=this.currentColorData.secondaryButtonStyleType,
this.data.secondaryButton.buttonRenderer.colorData=void 0),this.set("secondaryButton",{buttonRenderer:Object.assign({},this.data.secondaryButton.buttonRenderer)})}};
_.f.onUpdateElementsPerRowAction=function(a){a&&this.elementsPerRow!==a&&(this.elementsPerRow=a)};
_.t.Object.defineProperties(Q5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===TNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-statement-banner-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_statement_banner_renderer.ytd.statement.banner.renderer.css.js--\x3e<div id="dismissible">\n  <div id="content-wrapper" style$="[[computeBackgroundStyle(currentColorData)]]">\n    <div class="showcase-image" hidden="[[shouldExpandLogo(hasTileImage, elementsPerRow)]]">\n      <div hidden="[[!data.tileImage]]" id="tile-container">\n        <yt-img-shadow id="tile-image" thumbnail="[[data.tileImage]]" width="360">\n        </yt-img-shadow>\n      </div>\n    </div>\n    <div class="showcase-image" hidden="[[!shouldExpandLogo(hasTileImage, elementsPerRow)]]" id="logo-container">\n      <div id="logo-wrapper">\n        <yt-img-shadow id="logo-image" height="24" thumbnail="[[getCurrentLogo(data, isDarkTheme)]]">\n        </yt-img-shadow>\n      </div>\n    </div>\n    <div id="details-container">\n      <div id="text-container">\n        <div id="metadata-container">\n          <yt-img-shadow id="logo-image" dimension="height" height="20" hidden="[[shouldExpandLogo(hasTileImage, elementsPerRow)]]" thumbnail="[[getCurrentLogo(data, isDarkTheme)]]">\n          </yt-img-shadow>\n          <div id="badge-container" style$="[[computeBadgeStyle(currentColorData)]]">\n            <yt-formatted-string id="badge" text="[[data.badgeText]]"></yt-formatted-string>\n          </div>\n        </div>\n        <div id="dynamic-title" style$="[[computeTitleStyle(currentColorData)]]">\n          <yt-dynamic-sizing-formatted-string font-weight="700" max-font-size="36" max-height="110" max-lines="2" min-font-size="20" text="[[data.title]]">\n          </yt-dynamic-sizing-formatted-string>\n        </div>\n        <div id="subtitle-container" style$="[[computeSubtitleStyle(currentColorData)]]">\n          <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n        </div>\n      </div>\n      <div id="button-container">\n        <div id="button-wrapper">\n          <div id="primary-button"></div>\n          <div id="secondary-button"></div>\n        </div>\n      </div>\n    </div>\n    <div id="dismiss-button" style$="[[computeDismissIconStyle(currentColorData, elementsPerRow)]]"></div>\n  </div>\n</div>\n<div id="dismissed"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===SNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_statement_banner_renderer.ytd.statement.banner.renderer.css.js--\x3e<style>:host {--ytd-statement-banner-thumbnail-width: calc( (100% + var(--ytd-rich-grid-item-margin)) / var(--ytd-rich-grid-items-per-row) - var(--ytd-rich-grid-item-margin) );display: block;} :host([is-dismissed]) #dismissible,:host(:not([is-dismissed])) #dismissed {display: none;} :host([is-dark-theme]) #content-wrapper {background-color: var(--yt-spec-static-brand-white);} :host #dismissed :not(#hide-enclosing-action) {border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: 4px solid var(--yt-spec-10-percent-layer);width: 100%;} :host #dismissed:focus {outline: none;} #content-wrapper {width: 100%;background-repeat: no-repeat;position: relative;background-color: var(--yt-spec-general-background-c);-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .showcase-image {width: var(--ytd-statement-banner-thumbnail-width);flex-shrink: 0;height: auto;} #logo-container.showcase-image {position: relative;padding-bottom: calc(var(--ytd-statement-banner-thumbnail-width) * 9/16);} #tile-image {width: 100%;height: 100%;display: block;} #tile-container {-ms-align-self: center;-webkit-align-self: center;align-self: center;} #logo-container {-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #logo-wrapper {position: absolute;top: 0;left: 0;width: 100%;height: 100%;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #details-container {padding: 16px 16px 16px var(--ytd-rich-grid-item-margin);flex: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} #text-container {width: calc(100%/(var(--ytd-rich-grid-items-per-row) - 1) * 2);max-width: calc(100%/(var(--ytd-rich-grid-items-per-row) - 1) * 2);padding-right: var(--ytd-rich-grid-item-margin);margin-bottom: 8px;} #metadata-container {margin-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} #metadata-container #logo-image {margin-top: 8px;margin-right: 8px;} #badge-container {margin-top: 8px;margin-bottom: -0.4rem;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #button-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-align-self: center;-webkit-align-self: center;align-self: center;} #dynamic-title {color: var(--yt-spec-text-primary);margin-bottom: 8px;} #subtitle-container {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #primary-button {margin-right: 12px;} #dismiss-button {position: absolute;top: 8px;right: 8px;z-index: 1;} #primary-button,#secondary-button {margin-top: calc(var(--ytd-margin-3x)/2);margin-bottom: calc(var(--ytd-margin-3x)/2);} :host([elements-per-row="1"]) #subtitle {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([elements-per-row="1"]) #content-wrapper {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([elements-per-row="1"]) #details-container {padding-top: 40px;padding-left: 12px;padding-right: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} :host([elements-per-row="1"]) #dynamic-title {margin-bottom: 0;} :host([elements-per-row="1"]) #subtitle-container {margin-top: 8px;} :host([elements-per-row="1"]) #text-container {padding-right: 0;width: auto;margin-bottom: 0;} :host([elements-per-row="1"]) #button-container {margin-bottom: 8px;} :host([elements-per-row="1"]) #primary-button,:host([elements-per-row="1"]) #secondary-button {margin-top: 16px;margin-bottom: 0;} :host([elements-per-row="1"]) #dismiss-button {top: 12px;right: 12px;} :host([elements-per-row="1"][has-tile-image]) #dismiss-button {border-radius: 50%;background-color: rgba(0,0,0,0.6);} :host([elements-per-row="1"][has-tile-image]) #dismiss-button ytd-button-renderer {color: var(--yt-spec-static-brand-white);} :host([elements-per-row="1"][has-tile-image]) #details-container {padding-top: 12px;} :host([elements-per-row="2"]) .showcase-image {flex-shrink: 0;} :host([elements-per-row="2"]) #details-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([elements-per-row="2"]) #button-container {padding-top: 4px;margin-bottom: 8px;} :host([elements-per-row="2"]) #primary-button,:host([elements-per-row="2"]) #secondary-button {margin-top: 12px;margin-bottom: 0;} :host([elements-per-row="2"]) #text-container {width: auto;margin-bottom: 0;} :host([elements-per-row="2"]) #tile {-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([elements-per-row="2"]) #subtitle {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([elements-per-row="3"]) #button-container {padding-top: 4px;margin-bottom: 8px;} :host([elements-per-row="3"]) #details-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([elements-per-row="3"]) #text-container {margin-bottom: 0;} :host([elements-per-row="3"]) #primary-button,:host([elements-per-row="3"]) #secondary-button {margin-top: 12px;margin-bottom: 0;} :host([elements-per-row="3"]) #tile {-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([elements-per-row="4"]) #tile-container {-ms-align-self: center;-webkit-align-self: center;align-self: center;} /*# sourceMappingURL=ytd-statement-banner-renderer.css.map*/</style>';
SNb=d}d=SNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);TNb=a}a=TNb;return a}}});
var R5=Q5;R5.prototype.currentColorChanged=R5.prototype.currentColorChanged;R5.prototype.themeChanged=R5.prototype.themeChanged;R5.prototype.dataChanged=R5.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],R5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],R5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iy),_.T("design:type",Object)],R5.prototype,"ytdDismissibleItemBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],R5.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],R5.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],R5.prototype,"primaryButton",void 0);_.S([_.N(),_.T("design:type",Object)],R5.prototype,"secondaryButton",void 0);_.S([_.N({reflectToAttribute:!0,value:3}),_.T("design:type",Number)],R5.prototype,"elementsPerRow",void 0);
_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],R5.prototype,"isDarkTheme",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],R5.prototype,"hasTileImage",void 0);_.S([_.N(),_.T("design:type",Object)],R5.prototype,"currentColorData",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],R5.prototype,"isHideEnclosingAction",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],R5.prototype,"dataChanged",null);_.S([_.Ct("isDarkTheme"),_.T("design:type",Function),_.T("design:paramtypes",[Boolean]),_.T("design:returntype")],R5.prototype,"themeChanged",null);_.S([_.Ct("currentColorData"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],R5.prototype,"currentColorChanged",null);R5=_.S([_.Q({is:"ytd-statement-banner-renderer"})],R5);
var S5=function(){return _.K.apply(this,arguments)||this};
_.q(S5,_.K);S5.prototype.dataChanged=function(a){var b,c;if((null==a?0:null==(b=a.content)?0:b.brandVideoShelfRenderer)||(null==a?0:null==(c=a.content)?0:c.brandVideoSingletonRenderer))this.expandEdge=!0};
S5.prototype.configureRendererStamper=function(){return{"data.content":{id:"content",mapping:{backgroundPromoRenderer:"ytd-background-promo-renderer",compactPromotedItemRenderer:"ytd-compact-promoted-item-renderer",counterfactualRenderer:"ytd-counterfactual-renderer",destinationShelfRenderer:{component:"ytd-destination-shelf-renderer",params:{isRichGrid:!0}},inlineSurveyRenderer:"ytd-inline-survey-renderer",primetimePromoRenderer:"ytd-primetime-promo-renderer",richShelfRenderer:"ytd-rich-shelf-renderer",
showingResultsForRenderer:"yt-showing-results-for-renderer",statementBannerRenderer:"ytd-statement-banner-renderer",brandVideoShelfRenderer:"ytd-brand-video-shelf-renderer",brandVideoSingletonRenderer:"ytd-brand-video-singleton-renderer",richListHeaderRenderer:"ytd-rich-list-header-renderer"},reuseComponents:!1}}};
S5.prototype.computeAlignWithinRichGrid=function(a){return _.x("rich_grid_enable_edge_to_edge")&&!a};
_.t.Object.defineProperties(S5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===LNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_section_renderer.ytd.rich.section.renderer.css.js--\x3e<div id="content"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===KNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_section_renderer.ytd.rich.section.renderer.css.js--\x3e<style>:host {width: 100%;margin-left: calc(var(--ytd-rich-grid-item-margin)/2);margin-right: calc(var(--ytd-rich-grid-item-margin)/2);} :host([align-within-rich-grid]) {margin-left: 0;margin-right: 0;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([align-within-rich-grid]) #content {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin));margin: 0 24px;} :host([align-within-rich-grid][mini-mode]) #content {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)) - var(--ytd-rich-grid-item-margin));} @media(max-width:600px) {:host([align-within-rich-grid][mini-mode]) #content {margin: 0;}} :host([expand-edge]) {margin-left: 0;margin-right: 0;} :host([expand-edge]) #content {margin-left: calc(-1 * var(--ytd-rich-grid-item-margin));margin-right: calc(-1 * var(--ytd-rich-grid-item-margin));width: calc(100% + 2 * var(--ytd-rich-grid-item-margin));} :host([align-within-rich-grid][expand-edge]) #content {margin: 0;max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)));} #content {width: 100%;} ytd-inline-survey-renderer {border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: 4px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;} #content>* {margin-bottom: 40px;} ytd-counterfactual-renderer,#content>ytd-rich-list-header-renderer {margin-bottom: 0;} /*# sourceMappingURL=ytd-rich-section-renderer.css.map*/</style>";
KNb=d}d=KNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);LNb=a}a=LNb;return a}}});
var T5=S5;T5.prototype.dataChanged=T5.prototype.dataChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],T5.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],T5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],T5.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],T5.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],T5.prototype,"expandEdge",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeAlignWithinRichGrid(data.fullBleed)"}),_.T("design:type",Boolean)],T5.prototype,"alignWithinRichGrid",void 0);_.S([_.N({selector:_.Xu,reflectToAttribute:!0}),_.T("design:type",Boolean)],T5.prototype,"miniMode",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],T5.prototype,"dataChanged",null);T5=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-section-renderer"})],T5);
var U5=function(){var a=_.K.apply(this,arguments)||this;a.pageLoadingFromNavigation=!1;a.loggingRefactor=_.x("kevlar_rich_grid_logging_fix");a.actionMap={"yt-chip-cloud-chip-select-action":"handleChipCloudChipSelectAction","yt-chip-cloud-chip-deselect-action":"handleChipCloudChipDeselectAction"};return a};
_.q(U5,_.K);_.f=U5.prototype;_.f.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"contents","yt-reload-continuation-items-command-body":"contents"}};
_.f.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{feedFilterChipBarRenderer:"ytd-feed-filter-chip-bar-renderer"}},bigYoodleData:{id:"big-yoodle",mapping:{statementBannerRenderer:"ytd-statement-banner-renderer"},reuseComponents:!1},mastheadData:{id:"masthead-ad",mapping:{bannerPromoRenderer:"ytd-banner-promo-renderer",videoMastheadAdV3Renderer:"ytd-video-masthead-ad-v3-renderer",adSlotRenderer:"ytd-ad-slot-renderer"},reuseComponents:!1},shownItems:{id:"contents",mapping:{richGridRow:"ytd-rich-grid-row",
richGridWatch:"ytd-rich-grid-watch",richItemRenderer:"ytd-rich-item-renderer",richSectionRenderer:"ytd-rich-section-renderer",continuationItemRenderer:"ytd-continuation-item-renderer"},reuseComponents:!1}}};
_.f.attached=function(){if(!_.x("web_enable_video_preview_migration")){var a=document.createElement("ytd-video-preview");_.H(this.$.preview).appendChild(a)}this.updateIsInlinePreviewDisabled();this.listen(document,"yt-page-type-changed","onPageChange")};
_.f.detached=function(){this.unlisten(document,"yt-page-type-changed","onPageChange")};
_.f.computeIsReloading=function(){return this.ytContinuationHandlerBehavior.continuationIsReloading};
_.f.updateIsInlinePreviewDisabled=function(){_.x("web_enable_video_preview_migration")||(this.isInlinePreviewDisabled=_.ng(_.mg.getInstance(),186))};
_.f.computeIsInlinePreviewEnabled=function(a,b,c){var d=_.x("web_inline_disable_for_touch")&&_.QB;return!c&&!d&&(!a||_.x("web_inline_player_ignore_paused_miniplayer")&&[5,2].includes(b))};
_.f.isInlinePreviewEnabledChanged=function(){_.x("web_enable_video_preview_migration")||this.ytdReduxBehavior.dispatch(_.t5a(this.isInlinePreviewEnabled))};
_.f.guideIsExpandedHandler=function(){this.refreshAndLog()};
_.f.refreshAndLog=function(a){a=void 0===a?!1:a;this.isCurrentPage()&&(a=a&&!_.x("disable_rich_grid_force_reflow"),this.refreshGridLayout(a)&&this.logStateChanged(),this.updateMiniMode())};
_.f.onPageChange=function(){var a=this;this.isCurrentPage()?(this.pageLoadingFromNavigation=!0,this.setMasthead(),this.updateIsInlinePreviewDisabled(),_.xe.addJob(function(){a.pageLoadingFromNavigation=!1;a.maybeSetBigYoodle();a.refreshAndLog(!0);a.updateMiniMode()},8)):(this.mastheadData&&(this.mastheadData=void 0),this.watchEndpoint&&(this.watchEndpoint=void 0,this.reflowContent()))};
_.f.dataChanged=function(){var a=this;_.Jg(this,"ytd-update-grid-state-action");this.data&&this.pageLoadingFromNavigation||(this.pagePath=location.pathname,this.resetCacheAndIsFilteredFeed(),this.maybeSetBigYoodle(),this.setMasthead(),this.refreshGridLayout(),this.updateMiniMode(),_.nt(this,function(){a.logStateChanged()}))};
_.f.contentLengthChanged=function(){this.reflowContent();_.Jg(this,"ytd-rich-item-index-update-action")};
_.f.onRequestElementsPerRow=function(){_.Jg(this,"ytd-update-elements-per-row-action",[this.elementsPerRow,this.postsPerRow,this.slimItemsPerRow,this.gameCardsPerRow])};
_.f.onResize=function(){this.refreshAndLog()};
_.f.onPreviewLockupParentRequest=function(a){this.isCurrentPage()&&(a.detail.returnValue=this)};
_.f.onRichGridWatch=function(a,b){this.watchResponse=void 0;this.watchEndpoint=b;this.reflowContent()};
_.f.onRichGridWatchSetResponse=function(a,b){this.watchResponse=b};
_.f.onRichGridWatchGetResponse=function(a){a.detail.returnValue=this.watchResponse};
_.f.onRichGridWatchStatus=function(a){var b;null!=(b=this.data)&&b.contents&&"inactive"===a&&(this.watchEndpoint=void 0,this.reflowContent())};
_.f.refreshGridLayout=function(a){var b;if(null==(b=this.data)||!b.contents||!this.clientWidth)return!1;var c=b=this.calcElementsPerRow(320,6),d=this.calcElementsPerRow(154,12),e=this.calcElementsPerRow(154,12),h=3>=b&&this.miniModeAllowed();h&&(b=this.calcElementsPerRow(240,4));_.Jg(this,"yt-rich-grid-layout-refreshed");if(a||this.elementsPerRow!==b||this.postsPerRow!==c||this.slimItemsPerRow!==d||this.gameCardsPerRow!==e)return a=this.elementsPerRow!==b,this.elementsPerRow=b,this.postsPerRow=c,
this.slimItemsPerRow=d,this.gameCardsPerRow=e,this.reflowContent(),_.Jg(this,"ytd-update-elements-per-row-action",[b,c,d,e]),this.updateStyles({"--ytd-rich-grid-items-per-row":""+this.elementsPerRow,"--ytd-rich-grid-posts-per-row":""+this.postsPerRow,"--ytd-rich-grid-slim-items-per-row":""+this.slimItemsPerRow,"--ytd-rich-grid-game-cards-per-row":""+this.gameCardsPerRow}),this.ytdReduxBehavior.dispatch(_.Rg({type:"SET_RICH_GRID_ITEMS_PER_ROW",payload:this.elementsPerRow})),this.miniMode=h,a;this.miniMode=
h;return!1};
_.f.calcElementsPerRow=function(a,b){var c=this.clientWidth;if(!_.x("disable_rich_grid_guide_compensation")){var d=_.Eg().resolve(_.Cg(_.Ao)),e=null==d?void 0:d.guideElement;if(d&&!d.getData()&&!(null!=e&&e.opened||d.getMiniGuideVisible()))if(d.canFitPersistentGuide(c)){var h,l,m=Number(null==(h=window.getComputedStyle(this))?void 0:null==(l=h.getPropertyValue("--app-drawer-width"))?void 0:l.replace("px",""));c-=m||0}else if(d.canFitMiniGuide(c)){var p;h=Number(null==(m=window.getComputedStyle(this))?
void 0:null==(p=m.getPropertyValue("--ytd-mini-guide-width"))?void 0:p.replace("px",""));c-=h||0}}600<c&&(c-=48);return Math.min(Math.floor((c+16)/(a+16)),b)};
_.f.reflowContent=function(){var a=this;if(!this.isReflowing){this.isReflowing=!0;var b=this.data.contents.some(function(d){return d.continuationItemRenderer}),c=VKb(this.data.contents,this.elementsPerRow,b,this.data.reflowOptions,this.fullBleed,this.watchEndpoint,"fullscreen"===this.richGridWatchStatus);
b=function(){a.shownItems=c;a.isReflowing=!1;a.updateMiniMode()};
0===this.shownItems.length?(this.shownItems=c.slice(0,this.elementsPerRow),this.updateMiniMode(),_.nt(this,b)):b()}};
_.f.handleChipCloudChipSelectAction=function(){this.cachedContents||this.setCacheAndIsFilteredFeed()};
_.f.onReloadContinuationFinish=function(){this.reflowContent();this.scrollUpToTop();this.ytRendererBehavior.markDirty()};
_.f.handleChipCloudChipDeselectAction=function(){this.cachedContents&&(this.set("data.contents",this.cachedContents),this.resetCacheAndIsFilteredFeed(),this.reflowContent(),this.scrollUpToTop())};
_.f.logStateChanged=function(){var a={gridData:{gridColumnCount:this.elementsPerRow}},b;if(null==(b=this.data)?0:b.trackingParams)this.loggingRefactor?_.vp().stateChanged(this.data.trackingParams,a):(b=_.fg())&&_.vg(void 0,b,_.no(this.data.trackingParams),a);_.Jg(this,"ytd-rich-item-index-update-action")};
_.f.miniModeAllowed=function(){return _.x("rich_grid_mini_mode")};
_.f.updateMiniMode=function(){this.miniModeAllowed()&&this.ytdReduxBehavior.dispatch(_.Rg({type:"SET_RICH_GRID_MINI_MODE",payload:this.miniMode}))};
_.f.isCurrentPage=function(){return location.pathname===this.pagePath};
_.f.scrollUpToTop=function(){var a=_.Eg().resolve(_.Co).getCurrentPage();a&&a.setScrollTop(0)};
_.f.setCacheAndIsFilteredFeed=function(){this.cachedContents=this.get("contents",this.data);this.isFilteredFeed=!0};
_.f.resetCacheAndIsFilteredFeed=function(){this.cachedContents=void 0;this.isFilteredFeed=!1};
_.f.maybeSetBigYoodle=function(){var a;if(this.bigYoodleData!==(null==(a=this.data)?void 0:a.bigYoodle)){var b;this.bigYoodleData=null==(b=this.data)?void 0:b.bigYoodle}};
_.f.setMasthead=function(){var a;if(null==(a=this.data)?0:a.masthead)this.mastheadData=this.data.masthead};
_.f.isWatchFullscreen=function(a){return"fullscreen"===a};
_.t.Object.defineProperties(U5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===DNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-rich-grid-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_renderer.ytd.rich.grid.renderer.css.js--\x3e<div id="header" hidden="[[!data.header]]"></div>\n<div id="big-yoodle" hidden="[[isFilteredFeed]]"></div>\n<div id="masthead-ad" hidden="[[isFilteredFeed]]"></div>\n<div id="grid-title" hidden="[[!data.title]]">\n  <span id="title">[[getSimpleString(data.title)]]</span>\n</div>\n<div id="spinner-container">\n  <tp-yt-paper-spinner-lite active="[[computeIsReloading()]]">\n  </tp-yt-paper-spinner-lite>\n</div>\n<div id="contents"></div>\n<div id="preview"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===CNb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.home.ytd_rich_grid_renderer.ytd.rich.grid.renderer.css.js--\x3e<style>:host {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([continuation-is-reloading]) {opacity: 0.25;pointer-events: none;} #header {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([watch-fullscreen]) #header,:host([watch-fullscreen]) #big-yoodle,:host([watch-fullscreen]) #grid-title,:host([watch-fullscreen]) #masthead-ad {display: none;} :host([watch-fullscreen]) #contents {margin-top: 0;} #masthead-ad {width: 100%;-ms-flex: none;-webkit-flex: none;flex: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #big-yoodle {width: 100%;} ytd-video-masthead-ad-v3-renderer {margin: 16px 24px 0 24px;} @media(min-width:671px) {ytd-video-masthead-ad-v3-renderer {width: 100%!important;overflow: hidden;}} #grid-title {margin-top: 36px;margin-left: 24px;} #grid-title:focus {outline: none;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 400;} :host(:not([full-bleed])) #contents,#grid-title {width: calc(100% - var(--ytd-rich-grid-item-margin) * 2);max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-item-max-width) + var(--ytd-rich-grid-item-margin)));} :host([mini-mode]:not([full-bleed])) #contents {max-width: calc(var(--ytd-rich-grid-items-per-row) * (var(--ytd-rich-grid-mini-item-max-width) + var(--ytd-rich-grid-item-margin)));} #contents {width: 100%;margin-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} @media(max-width:600px) {:host(:not([full-bleed])) #contents {width: calc(100% + var(--ytd-rich-grid-item-margin));}} #masthead-ad>* {margin-bottom: 32px;} #contents ytd-rich-section-renderer:first-child {border-top: none;} ytd-rich-section-renderer+ytd-rich-section-renderer {margin-top: -44px;} #spinner-container {height: 0;} tp-yt-paper-spinner-lite {margin: auto;display: none;} tp-yt-paper-spinner-lite[active] {display: block;margin-top: 150px;} ytd-continuation-item-renderer {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} /*# sourceMappingURL=ytd-rich-grid-renderer.css.map*/</style>';
CNb=d}d=CNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);DNb=a}a=DNb;return a}}});
var V5=U5;V5.prototype.onReloadContinuationFinish=V5.prototype.onReloadContinuationFinish;V5.prototype.reflowContent=V5.prototype.reflowContent;V5.prototype.onRichGridWatchStatus=V5.prototype.onRichGridWatchStatus;V5.prototype.onRichGridWatchGetResponse=V5.prototype.onRichGridWatchGetResponse;V5.prototype.onRichGridWatchSetResponse=V5.prototype.onRichGridWatchSetResponse;V5.prototype.onRichGridWatch=V5.prototype.onRichGridWatch;V5.prototype.onPreviewLockupParentRequest=V5.prototype.onPreviewLockupParentRequest;
V5.prototype.onResize=V5.prototype.onResize;V5.prototype.onRequestElementsPerRow=V5.prototype.onRequestElementsPerRow;V5.prototype.contentLengthChanged=V5.prototype.contentLengthChanged;V5.prototype.dataChanged=V5.prototype.dataChanged;V5.prototype.refreshAndLog=V5.prototype.refreshAndLog;V5.prototype.guideIsExpandedHandler=V5.prototype.guideIsExpandedHandler;V5.prototype.isInlinePreviewEnabledChanged=V5.prototype.isInlinePreviewEnabledChanged;
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],V5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],V5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.xx),_.T("design:type",Object)],V5.prototype,"ironResizableBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],V5.prototype,"actionHandlerBehavior",void 0);
_.S([_.L(_.rE),_.T("design:type",Object)],V5.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],V5.prototype,"componentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],V5.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],V5.prototype,"data",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],V5.prototype,"miniMode",void 0);
_.S([_.N(),_.T("design:type",String)],V5.prototype,"pagePath",void 0);_.S([_.N({value:[]}),_.T("design:type",Array)],V5.prototype,"shownItems",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],V5.prototype,"isReflowing",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],V5.prototype,"isFilteredFeed",void 0);_.S([_.N({selector:RKb}),_.T("design:type",Boolean)],V5.prototype,"guideIsExpanded",void 0);
_.S([_.N({selector:_.AI}),_.T("design:type",String)],V5.prototype,"richGridWatchStatus",void 0);_.S([_.N({computed:"isWatchFullscreen(richGridWatchStatus)",reflectToAttribute:!0}),_.T("design:type",Boolean)],V5.prototype,"watchFullscreen",void 0);_.S([_.N(),_.T("design:type",Object)],V5.prototype,"bigYoodleData",void 0);_.S([_.N(),_.T("design:type",Object)],V5.prototype,"mastheadData",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.x("rich_grid_enable_edge_to_edge")}}),
_.T("design:type",Boolean)],V5.prototype,"fullBleed",void 0);_.S([_.N(),_.T("design:type",Boolean)],V5.prototype,"isInlinePreviewDisabled",void 0);_.S([_.N({selector:_.c5a}),_.T("design:type",Number)],V5.prototype,"miniplayerPlaybackState",void 0);_.S([_.N({selector:_.b5a}),_.T("design:type",Boolean)],V5.prototype,"miniplayerIsActive",void 0);
_.S([_.N({computed:"computeIsInlinePreviewEnabled(miniplayerIsActive, miniplayerPlaybackState, isInlinePreviewDisabled)"}),_.T("design:type",Boolean)],V5.prototype,"isInlinePreviewEnabled",void 0);_.S([_.Ct("isInlinePreviewEnabled"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"isInlinePreviewEnabledChanged",null);
_.S([_.Ct("guideIsExpanded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"guideIsExpandedHandler",null);_.S([_.O("yt-rich-grid-refresh"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],V5.prototype,"refreshAndLog",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"dataChanged",null);
_.S([_.Ct("data.contents.length"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"contentLengthChanged",null);_.S([_.O("yt-request-elements-per-row"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"onRequestElementsPerRow",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"onResize",null);
_.S([_.O("yt-preview-lockup-parent-request"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],V5.prototype,"onPreviewLockupParentRequest",null);_.S([_.O("yt-rich-grid-watch-activate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],V5.prototype,"onRichGridWatch",null);
_.S([_.O("yt-rich-grid-watch-set-response"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],V5.prototype,"onRichGridWatchSetResponse",null);_.S([_.O("yt-rich-grid-watch-get-response"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],V5.prototype,"onRichGridWatchGetResponse",null);
_.S([_.P("richGridWatchStatus"),_.T("design:type",Function),_.T("design:paramtypes",[String]),_.T("design:returntype")],V5.prototype,"onRichGridWatchStatus",null);_.S([_.O("yt-rich-grid-reflow"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"reflowContent",null);_.S([_.O("yt-reload-continuation-finish"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],V5.prototype,"onReloadContinuationFinish",null);
V5=_.S([_.Q({asyncProperties:!0,is:"ytd-rich-grid-renderer"})],V5);
var UNb;
var VNb;
var W5=function(){return _.K.apply(this,arguments)||this};
_.q(W5,_.K);_.f=W5.prototype;
_.f.configureRendererStamper=function(){return{content:{id:"primary",mapping:{richGridRenderer:"ytd-rich-grid-renderer",sectionListRenderer:{component:"ytd-section-list-renderer",properties:{initialCount:"[[initialCount]]",pageSubtype:"[[pageSubtype]]"}}}},"data.secondaryContents":{id:"secondary",mapping:{browseFeedActionsRenderer:{component:"ytd-browse-feed-actions-renderer",noInjection:!0},browseSecondaryContentsRenderer:{component:"ytd-browse-secondary-contents-renderer",noInjection:!0},profileColumnRenderer:{component:"ytd-profile-column-renderer",
noInjection:!0}}}}};
_.f.getPath=function(a,b){var c="data.tabs.#"+b+".";a.tabs[b].tabRenderer?c+="tabRenderer.":a.tabs[b].expandableTabRenderer&&(c+="expandableTabRenderer.");return c+"content.sectionListRenderer"};
_.f.computeDisplayedContent=function(a){this.unlinkPaths("content");if(a&&a.tabs)for(var b=a.tabs.length,c=0;c<b;c++){var d=a.tabs[c].tabRenderer||a.tabs[c].expandableTabRenderer;if(d.selected&&d.content)return this.linkPaths("content",this.getPath(a,c)),d.content}return null};
_.f.computeHasSecondaryColumnData=function(a){return!!a&&!!a.secondaryContents};
_.f.onRetrieveLocation=function(a,b){if(b.hasComments)var c="/comment_service_ajax?action_get_comments=1&pbj=1";else Math.random()<_.hd("browse_ajax_log_warning_fraction")&&!window.location.href.includes("community")&&!window.location.href.includes("storefront")&&(c=new _.ge("browse_ajax usage."),_.Rf(c)),c="/browse_ajax";b.locationRetrieved(c,void 0);a.stopPropagation()};
_.f.onYtServiceRequestSent=function(a,b){this.handleServiceRequestActions(b)};
_.f.onYtServiceRequestCompleted=function(a,b){this.handleServiceRequestActions(b)};
_.f.handleServiceRequestActions=function(a){if(a=a.actions){a=_.k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;(null==(c=b.replaceFeedContentAction)?0:c.items)&&this.listRenderer&&this.listRenderer.replacePrimaryContent(b.replaceFeedContentAction.items)}}};
_.t.Object.defineProperties(W5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===VNb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-two-column-browse-results-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.services.ytd_two_column_browse_results_renderer.ytd.two.column.browse.results.renderer.css.js--\x3e<div id="primary"></div>\n<div id="secondary">\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===UNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.services.ytd_two_column_browse_results_renderer.ytd.two.column.browse.results.renderer.css.js--\x3e<style>:host(.grid:not(.grid-disabled)) {max-width: var(--ytd-grid-max-width);} :host(.grid-1-columns),.grid-1-columns {width: var(--ytd-grid-1-columns-width)!important;} :host(.grid-2-columns),.grid-2-columns {width: var(--ytd-grid-2-columns-width)!important;} :host(.grid-3-columns),.grid-3-columns {width: var(--ytd-grid-3-columns-width)!important;} :host(.grid-4-columns),.grid-4-columns {width: var(--ytd-grid-4-columns-width)!important;} :host(.grid-5-columns),.grid-5-columns {width: var(--ytd-grid-5-columns-width)!important;} :host(.grid-6-columns),.grid-6-columns {width: var(--ytd-grid-6-columns-width)!important;} :host {flex: none;margin-bottom: 16px;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column-reverse;-webkit-flex-direction: column-reverse;flex-direction: column-reverse;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #primary {max-width: 100%;min-width: 0;} ytd-browse-feed-actions-renderer {width: 100%;margin-top: 8px;} ytd-browse-secondary-contents-renderer {display: none;} @media(min-width:876px) {:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;}#primary {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;}:host([page-subtype=history]) #secondary {overflow-y: auto;background-color: var(--yt-spec-general-background-b);height: 100%;position: fixed;right: 0;}:host([page-subtype=history][background-refresh]) #secondary {background-color: var(--yt-spec-general-background-a);}:host([page-subtype=history][has-secondary-column-data]) #primary {padding-right: 442px;}:host([page-subtype=history]) ytd-browse-feed-actions-renderer {padding: 0 28px;}ytd-browse-feed-actions-renderer {width: 385px;}ytd-browse-secondary-contents-renderer {display: block;width: 187px;}} @media(max-width:876px) {ytd-profile-column-renderer {display: none;}} /*# sourceMappingURL=ytd-two-column-browse-results-renderer.css.map*/</style>";
UNb=d}d=UNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);VNb=a}a=VNb;return a}}});
var X5=W5;X5.prototype.onYtServiceRequestCompleted=X5.prototype.onYtServiceRequestCompleted;X5.prototype.onYtServiceRequestSent=X5.prototype.onYtServiceRequestSent;X5.prototype.onRetrieveLocation=X5.prototype.onRetrieveLocation;_.S([_.L(_.B1),_.T("design:type",Object)],X5.prototype,"ytdGridStateAwareBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],X5.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],X5.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],X5.prototype,"data",void 0);_.S([_.N({computed:"computeDisplayedContent(data)"}),_.T("design:type",Object)],X5.prototype,"content",void 0);_.S([_.N({computed:"computeHasSecondaryColumnData(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],X5.prototype,"hasSecondaryColumnData",void 0);_.S([_.N({value:function(){return 1024<window.outerHeight?3:2}}),
_.T("design:type",Number)],X5.prototype,"initialCount",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],X5.prototype,"pageSubtype",void 0);_.S([_.Z("ytd-section-list-renderer"),_.T("design:type",Object)],X5.prototype,"listRenderer",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_background_colors_update")}),_.T("design:type",Boolean)],X5.prototype,"backgroundRefresh",void 0);
_.S([_.O("yt-retrieve-location"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],X5.prototype,"onRetrieveLocation",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],X5.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],X5.prototype,"onYtServiceRequestCompleted",null);X5=_.S([_.Q({asyncProperties:!0,is:"ytd-two-column-browse-results-renderer"})],X5);
var WNb;
var XNb;
_.Ng({is:"yt-alert-with-actions-renderer",_template:function(){if(void 0!==XNb)return XNb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-alert-with-actions-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_alert_with_actions_renderer.yt.alert.with.actions.renderer.css.js--\x3e<div id="content-wrapper" hidden="[[!data.isVisible]]">\n  <div id="content">\n    <yt-icon id="icon" hidden="[[!data.icon]]" icon="[[data.icon.iconType]]"></yt-icon>\n    <div id="text-content">\n      <yt-formatted-string id="title" hidden$="[[!!data.title]]" text="[[data.title]]"></yt-formatted-string>\n      <yt-formatted-string id="alert-message" text="[[data.alertMessage]]"></yt-formatted-string>\n    </div>\n  </div>\n  <div id="actions">\n    <div id="dismiss-button" hidden$="[[!!data.dismissButton]]"></div>\n    <div id="action-buttons" hidden$="[[!!data.actionButtons]]"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===WNb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_alert_with_actions_renderer.yt.alert.with.actions.renderer.css.js--\x3e<style>:host {display: block;} #content-wrapper {padding: var(--ytd-margin-2x) var(--ytd-margin-4x) 0 var(--ytd-margin-6x);background-color: var(--yt-spec-suggested-action);-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([is-music]) #content-wrapper {background-color: var(--yt-spec-brand-background-solid);} :host([wrap-buttons]) #content-wrapper {padding-left: var(--ytd-margin-4x);-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} :host([alert-style=ALERT_TYPE_WARNING]) #content-wrapper {background-color: var(--yt-spec-brand-link-text-faded);} #content {padding-bottom: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #text-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #icon {color: var(--yt-spec-icon-active-other);margin-right: var(--ytd-margin-4x);-ms-flex: none;-webkit-flex: none;flex: none;} :host([alert-style=ALERT_TYPE_WARNING]) #icon {color: var(--yt-spec-brand-button-background);} #title {color: var(--yt-spec-text-primary);font-size: 1.6em;line-height: 1.4em;font-weight: 500;} #alert-message {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} #actions {padding-bottom: var(--ytd-margin-2x);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=yt-alert-with-actions-renderer.css.map*/</style>";
WNb=d}d=WNb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return XNb=a},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],properties:{data:Object,wrapButtons:{type:Boolean,value:!1,reflectToAttribute:!0},isMusic:{type:Boolean,value:"WEB_REMIX"===_.w("INNERTUBE_CLIENT_NAME"),reflectToAttribute:!0},alertStyle:{type:String,reflectToAttribute:!0,computed:"computeAlertStyle_(data.alertType.type)"},dismissBoundButtonTap_:{type:Function,value:function(){return this.dismissButtonTap_.bind(this)}},
acceptBoundButtonTap_:{type:Function,value:function(){return this.acceptButtonTap_.bind(this)}}},
stampDom:{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{"on-tap":"[[dismissBoundButtonTap_]]"}}}},"data.actionButtons":{id:"action-buttons",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{"on-tap":"[[acceptBoundButtonTap_]]"}}}}},observers:["onIsVisibleChanged_(data.isVisible)"],created:function(){this.closeOnDismissButton_=new Set;this.closeOnDismissButton_.add("ALERT_WITH_ACTIONS_DISMISS_STRATEGY_UNKNOWN");this.closeOnDismissButton_.add("ALERT_WITH_ACTIONS_DISMISS_STRATEGY_ON_LINK_TAP");
this.closeOnDismissButton_.add("ALERT_WITH_ACTIONS_DISMISS_STRATEGY_ONLY_DISMISS_BUTTON_TAP");this.closeOnAcceptButton_=new Set;this.closeOnAcceptButton_.add("ALERT_WITH_ACTIONS_DISMISS_STRATEGY_UNKNOWN");this.closeOnAcceptButton_.add("ALERT_WITH_ACTIONS_DISMISS_STRATEGY_ON_LINK_TAP");this.closeOnAcceptButton_.add("ALERT_WITH_ACTIONS_DISMISS_STRATEGY_ONLY_ACTION_BUTTON_TAP")},
dismissButtonTap_:function(){this.set("data.isVisible",!this.closeOnDismissButton_.has(this.data.dismissStrategy||"ALERT_WITH_ACTIONS_DISMISS_STRATEGY_UNKNOWN"))},
acceptButtonTap_:function(){this.set("data.isVisible",!this.closeOnAcceptButton_.has(this.data.dismissStrategy||"ALERT_WITH_ACTIONS_DISMISS_STRATEGY_UNKNOWN"))},
computeAlertStyle_:function(a){return a},
onIsVisibleChanged_:function(){this.data&&!this.data.isVisible&&this.impressionLog()}});
var Y5=function(){var a=_.K.apply(this,arguments)||this;a.useContentVisibility=_.x("kevlar_content_visibility_hidden");a.attachedPlayers=_.x("kevlar_channel_trailer_multi_attach")?[]:void 0;a.player=null;a.actionMap={"yt-alert-command":"handleAlertCommand","yt-playlist-deletion-redirect-command":"handleYtPlaylistDeletionRedirect"};return a};
_.q(Y5,_.K);_.f=Y5.prototype;
_.f.configureRendererStamper=function(){return{mastheadAdData:{id:"masthead-ad",mapping:{bannerPromoRenderer:{component:"ytd-banner-promo-renderer",noInjection:!0},videoMastheadAdV3Renderer:{component:"ytd-video-masthead-ad-v3-renderer",noInjection:!0}},reuseComponents:!1},alertBannerData_:{id:"alert-banner",mapping:{alertWithActionsRenderer:{component:"yt-alert-with-actions-renderer",noInjection:!0}}},"data.alerts":{id:"alerts",mapping:{alertRenderer:{component:"yt-alert-renderer",noInjection:!0},
unlimitedUserNotificationRenderer:{component:"yt-unlimited-user-notification-renderer",noInjection:!0},alertWithButtonRenderer:{component:"ytd-alert-with-button-renderer",noInjection:!0}},initialRenderPriority:3,waitForSignal:"eocs"},"data.survey":{id:"survey",mapping:{surveyTriggerRenderer:{component:"ytd-survey-trigger-renderer",noInjection:!0}},initialRenderPriority:3,waitForSignal:"eocs"},"data.metadata":{id:"metadata",mapping:{channelMetadataRenderer:{component:"ytd-channel-metadata-renderer",
noInjection:!0}}},"data.header":{id:"header",mapping:{c4TabbedHeaderRenderer:{component:"ytd-c4-tabbed-header-renderer",properties:{active:"[[active]]",tabs:"[[data.contents.twoColumnBrowseResultsRenderer.tabs]]",isRichGrid:"[[richGrid]]"},noInjection:!0},interactiveTabbedHeaderRenderer:{component:"ytd-interactive-tabbed-header-renderer",properties:{active:"[[active]]",tabs:"[[data.contents.twoColumnBrowseResultsRenderer.tabs]]"},noInjection:!0},carouselHeaderRenderer:{component:"ytd-carousel-header-renderer",
properties:{active:"[[active]]",disableGridStateAware:"[[richGrid]]",tabs:"[[data.contents.twoColumnBrowseResultsRenderer.tabs]]"},noInjection:!0},hashtagHeaderRenderer:{component:"ytd-hashtag-header-renderer",properties:{active:"[[active]]",tabs:"[[data.contents.twoColumnBrowseResultsRenderer.tabs]]"},noInjection:!0}},events:!0},"data.footer":{id:"footer",mapping:{pageFooterRenderer:{component:"ytd-page-footer-renderer",noInjection:!0}}}}};
_.f.created=function(){var a=this;this.ytRendererBehavior.monitorScroll=!0;this.pageDisposeJobs=[function(){a.disposeMastheadAd()}]};
_.f.attached=function(){var a=this,b,c;_.x("kevlar_tabs_gesture")&&("channels"===this.pageSubtype||_.x("kevlar_tab_gestures_for_tabbed_header_data")&&(null==(b=this.data)?0:null==(c=b.header)?0:c.c4TabbedHeaderRenderer))&&(this.tabGestures=new F3(this.contents,this.contents,this,this.header,function(d){a.ytdReduxBehavior.dispatch(d)}));
_.x("kevlar_refresh_gesture")&&"home"===this.pageSubtype&&(this.refreshGesture=new kLb(this.refresh,this.contents))};
_.f.detached=function(){this.tabGestures&&(this.tabGestures.detach(),this.tabGestures=void 0);this.refreshGesture&&(this.refreshGesture.detach(),this.refreshGesture=void 0)};
_.f.activeChanged=function(){var a=this.ytPageBehavior.active,b=this.$.header;b&&b.firstChild&&(b.firstChild.active=a)};
_.f.tabsChanged=function(){var a,b,c,d=null==(a=this.data)?void 0:null==(b=a.contents)?void 0:null==(c=b.twoColumnBrowseResultsRenderer)?void 0:c.tabs;(a=this.$.header)&&a.firstChild&&(a.firstChild.tabs=d);this.tabGestures&&this.tabGestures.tabsChanged(d)};
_.f.channelIdChanged=function(){if(this.tabGestures){var a,b,c,d=this.tabGestures,e=null==(a=this.data)?void 0:null==(b=a.header)?void 0:null==(c=b.c4TabbedHeaderRenderer)?void 0:c.channelId;e&&e!==d.currentChannelId&&(d.scrollPositionForTabs.clear(),d.currentChannelId=e,d.lastVisitedTabScrollPosition=void 0,d.tabsStartAtInPx=0)}};
_.f.scrollAtTopChanged=function(){this.refreshGesture&&(this.scrollAtTop?this.refreshGesture.attach():this.refreshGesture.detach())};
_.f.onStampFinished=function(){var a=this;_.nt(this,function(){if(a.tabGestures){var b=a.tabGestures;if(b.scrollPositionNeedsUpdate){var c=_.Eg().resolve(_.Cg(_.Co)),d;if(null!=(d=b.selectedTab)&&d.title&&c&&(d=c.getCurrentPage())){if(b.scrollPositionForTabs.has(b.selectedTab.title)){var e,h;c=null!=(h=null==(e=c.getCurrentPage())?void 0:e.clientHeight)?h:0;e=b.scrollPositionForTabs.get(b.selectedTab.title);d.setScrollTop(e);c>e+100&&(b.scrollPositionNeedsUpdate=!1)}else d.setScrollTop(Math.min(void 0!==
b.lastVisitedTabScrollPosition?b.lastVisitedTabScrollPosition:Number.MAX_SAFE_INTEGER,b.tabsStartAtInPx)),b.scrollPositionNeedsUpdate=!1;b.ytdReduxDispatch(ZKb(!1))}}}})};
_.f.loadPage_=function(a){this.initCsi();a&&(this.data=a);this.updateTitle(this.data);this.setMastheadAd(this.data)};
_.f.getTitle=function(a){return"home"==this.pageSubtype?"":this.get("microformat.microformatDataRenderer.title",a)?this.get("microformat.microformatDataRenderer.title",a):this.get("header.c4TabbedHeaderRenderer.title",a)?this.get("header.c4TabbedHeaderRenderer.title",a):this.get("header.feedTabbedHeaderRenderer.title",a)?_.qi(this.get("header.feedTabbedHeaderRenderer.title",a)):this.get("header.interactiveTabbedHeaderRenderer.title",a)?this.get("header.interactiveTabbedHeaderRenderer.title",a):this.get("header.hashtagHeaderRenderer.hashtag",
a)?_.qi(this.get("header.hashtagHeaderRenderer.hashtag",a)):""};
_.f.updateTitle=function(a){this.fire("yt-update-title",this.getTitle(a))};
_.f.initCsi=function(){_.y3(this.pageSubtype||"browse",["ol"])};
_.f.getPlayer=function(){if(_.x("kevlar_channel_trailer_multi_attach")){for(var a=_.k(this.attachedPlayers),b=a.next();!b.done;b=a.next())if(b=b.value,b.isConnected||_.qk(this,b)||"inactive"!==this.richGridWatchStatus)return b;return null}return this.player};
_.f.onPlayerAttached=function(a,b){_.x("kevlar_channel_trailer_multi_attach")?this.attachedPlayers.push(b):this.player=b};
_.f.onPlayerDetached=function(a,b){_.x("kevlar_channel_trailer_multi_attach")?(a=this.attachedPlayers.indexOf(b),0>a||this.attachedPlayers.splice(a,1)):this.player=null};
_.f.getServiceTrackingParams=function(){var a,b;return(null==(a=this.data)?void 0:null==(b=a.responseContext)?void 0:b.serviceTrackingParams)||[]};
_.f.setMastheadAd=function(a){a&&a.mastheadAd&&(this.mastheadAdData=void 0);this.mastheadAdData=a&&a.mastheadAd};
_.f.dataChanged=function(){var a=this;this.refreshGesture&&this.refreshGesture.reset();var b=this.data;if(b.onResponseReceivedActions&&b.onResponseReceivedActions.length)for(var c=_.k(b.onResponseReceivedActions),d=c.next();!d.done;d=c.next())this.ytComponentBehavior.resolveCommand(d.value);if(c=this.get("onResponseReceivedEndpoints",b)){for(d=0;d<c.length;d++)c[d].urlEndpoint&&this.fire("yt-navigate",{endpoint:c[d]});_.Kg(this,c)}this.get("filler",b)||_.gDb();_.nt(this,function(){_.Jg(a,"ytd-update-grid-state-action")})};
_.f.disposeMastheadAd=function(){this.mastheadAdData=void 0};
_.f.computeAlertBannerData=function(){if(this.data&&this.data.alerts){var a=this.data.alerts;return a&&a.find(function(b){return!!b.alertWithActionsRenderer})}};
_.f.computeHasC4TabbedHeaderRenderer=function(a){var b;return!!(null==a?0:null==(b=a.header)?0:b.c4TabbedHeaderRenderer)};
_.f.handleAlertCommand=function(a){this.get("alertCommand.alert.alertWithActionsRenderer",a)&&(a=a.alertCommand,this.data.alerts||this.set("data.alerts",[]),this.unshift("data.alerts",a.alert))};
_.f.handleYtPlaylistDeletionRedirect=function(a){a=this.get("playlistDeletionRedirectCommand.redirectEndpoint",a);this.fire("yt-navigate",{endpoint:a})};
_.f.computeRichGridValue=function(a){return $Kb.includes(a)||_.x("trending_rich_grid")&&"trending"===a||_.x("trending_explore_rich_grid")&&"explore"===a};
_.f.computeHasSidebar=function(a){return!!a.sidebar};
_.f.computeUseUnifiedShowPageLayout=function(a){if(!a||"show"!==this.pageSubtype||!a.sidebar||!a.sidebar.playlistSidebarRenderer)return!1;a=a.sidebar.playlistSidebarRenderer;if(!a.items)return!1;for(var b=0;b<a.items.length;b++)if(a.items[b].playlistSidebarPrimaryInfoRenderer){var c=void 0;return"PLAYLIST_SIDEBAR_PRIMARY_INFO_RENDERER_STYLE_TYPE_SHOW"===(null==(c=a.items[b].playlistSidebarPrimaryInfoRenderer)?void 0:c.style)}return!1};
_.t.Object.defineProperties(Y5,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oLb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-browse--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.pages.ytd_browse.ytd.browse.css.js--\x3e<div id="alert-banner"></div>\n<div id="masthead-ad"></div>\n<div id="header"></div>\n<div id="alerts"></div>\n\n<ytd-channel-legal-info-renderer data="[[data.contents.twoColumnBrowseResultsRenderer.secondaryContents.browseSecondaryContentsRenderer.contents.0.channelLegalInfoRenderer]]" disable-upgrade$="[[!data.contents.twoColumnBrowseResultsRenderer.secondaryContents.browseSecondaryContentsRenderer.contents.0.channelLegalInfoRenderer]]" hidden="[[!data.contents.twoColumnBrowseResultsRenderer.secondaryContents.browseSecondaryContentsRenderer.contents.0.channelLegalInfoRenderer]]">\n</ytd-channel-legal-info-renderer>\n<ytd-playlist-sidebar-renderer data="[[data.sidebar.playlistSidebarRenderer]]" disable-upgrade$="[[!data.sidebar.playlistSidebarRenderer]]" hidden="[[!data.sidebar.playlistSidebarRenderer]]">\n</ytd-playlist-sidebar-renderer>\n<ytd-settings-sidebar-renderer data="[[data.sidebar.settingsSidebarRenderer]]" disable-upgrade$="[[!data.sidebar.settingsSidebarRenderer]]" hidden="[[!data.sidebar.settingsSidebarRenderer]]">\n</ytd-settings-sidebar-renderer>\n<ytd-two-column-browse-results-renderer data="[[data.contents.twoColumnBrowseResultsRenderer]]" disable-grid-state-aware="[[richGrid]]" page-subtype="[[pageSubtype]]">\n</ytd-two-column-browse-results-renderer>\n<div id="survey"></div>\n<div id="metadata"></div>\n<div id="footer"></div>\n<ytd-refresh id="refresh"></ytd-refresh>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nLb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.pages.ytd_browse.ytd.browse.css.js--\x3e<style>:host {overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([page-subtype=hashtag-landing-page]) {--ytd-background-promo-renderer-icon-width: auto;--ytd-background-promo-renderer-icon-height: auto;} :host([page-subtype=ypc-checkout]) {--yt-iframe-renderer-height: calc( 100vh - 56px - 16px );} :host([page-subtype=channels]) {background: var(--yt-spec-general-background-b);} :host([page-subtype=channels][background-refresh]) {background: var(--yt-spec-brand-background-solid);} :host([page-subtype=trending][has-c4-tabbed-header-renderer]) {background: var(--yt-spec-general-background-b);} :host([page-subtype=trending][has-c4-tabbed-header-renderer][background-refresh]) {background: var(--yt-spec-brand-background-solid);} :host([page-subtype=WEB_PAGE_TYPE_SETTINGS]) {margin-left: 240px;} :host([page-subtype=playlist][has-sidebar_]),:host([page-subtype=show][has-sidebar_]) {-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} #header {width: 100%;z-index: 2000;-ms-flex: none;-webkit-flex: none;flex: none;} #header>* {width: 100%;-ms-flex: none;-webkit-flex: none;flex: none;} #masthead-ad {-ms-flex: none;-webkit-flex: none;flex: none;} #masthead-ad {width: 100%;-ms-flex: none;-webkit-flex: none;flex: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} ytd-video-masthead-ad-v3-renderer {margin: 24px 20px 0 16px;} ytd-playlist-sidebar-renderer,ytd-settings-sidebar-renderer {position: fixed;left: 0;height: calc(100vh - var(--ytd-toolbar-height));} :host([mini-guide-visible]) ytd-playlist-sidebar-renderer {left: 72px;} :host([guide-persistent-and-visible]) ytd-playlist-sidebar-renderer {left: var(--app-drawer-width);} @supports(content-visibility:hidden) {:host([mini-guide-visible][use-content-visibility]) ytd-playlist-sidebar-renderer {left: 0;}:host([guide-persistent-and-visible][use-content-visibility]) ytd-playlist-sidebar-renderer {left: 0;}} #alerts,#alert-banner {width: 100%;} #alerts yt-alert-renderer {padding: 16px;} ytd-two-column-browse-results-renderer {padding-bottom: var(--ytd-miniplayer-offset,0);} :host([page-subtype~=red]) ytd-two-column-browse-results-renderer {width: 100%;} :host([page-subtype~=memberships-and-purchases]) ytd-two-column-browse-results-renderer {max-width: 700px;} :host([page-subtype=playlist]),:host([page-subtype=show]) {position: relative;background-color: var(--yt-spec-general-background-b);} :host([page-subtype=playlist]) ytd-two-column-browse-results-renderer,:host([page-subtype=show]) ytd-two-column-browse-results-renderer {width: 100%;min-width: 0;box-sizing: border-box;margin: 0;background-color: var(--yt-spec-general-background-b);min-height: calc(100vh - var(--ytd-toolbar-height));} :host([page-subtype=playlist][background-refresh]),:host([page-subtype=show][background-refresh]) {background: var(--yt-spec-brand-background-solid);} :host([page-subtype=playlist][background-refresh]) ytd-two-column-browse-results-renderer,:host([page-subtype=show][background-refresh]) ytd-two-column-browse-results-renderer {background: var(--yt-spec-brand-background-solid);} :host([page-subtype=playlist][has-sidebar_]) ytd-two-column-browse-results-renderer,:host([page-subtype=show][has-sidebar_]) ytd-two-column-browse-results-renderer {padding-left: 360px;} :host([use-unified-show-page-layout][page-subtype=show][has-sidebar_]) ytd-two-column-browse-results-renderer {padding-left: 460px;} :host([page-subtype=playlist][has-sidebar_]) #alerts,:host([page-subtype=playlist][has-sidebar_]) #alert-banner,:host([page-subtype=show][has-sidebar_]) #alerts,:host([page-subtype=show][has-sidebar_]) #alert-banner {padding-left: 360px;box-sizing: border-box;width: 100%;} :host([use-unified-show-page-layout][page-subtype=show][has-sidebar_]) #alerts,:host([use-unified-show-page-layout][page-subtype=show][has-sidebar_]) #alert-banner {padding-left: 460px;} :host([page-subtype=playlist]) #alerts yt-alert-renderer,:host([page-subtype=show]) #alerts yt-alert-renderer {padding: 16px 16px 0;} :host([page-subtype~=channels]) ytd-two-column-browse-results-renderer {min-height: calc(100vh - 56px - 48px - 16px);} :host([page-subtype~=labs]) ytd-two-column-browse-results-renderer,:host([page-subtype~=standalone]) ytd-two-column-browse-results-renderer {width: 100%;max-width: 100%;margin: 0;} :host([page-subtype~=ypc-offers]) ytd-two-column-browse-results-renderer {width: 100%;margin: 0;--yt-card-item-main-content-margin-right: 0;} :host([page-subtype=WEB_PAGE_TYPE_SETTINGS]) ytd-two-column-browse-results-renderer {width: 100%;max-width: 1080px;} @media(max-width:680px) {:host([page-subtype=WEB_PAGE_TYPE_SETTINGS]) ytd-settings-sidebar-renderer {display: none;}:host([page-subtype=WEB_PAGE_TYPE_SETTINGS]) {margin-left: 0;}} ytd-page-footer-renderer {position: fixed;bottom: 0;right: 0;left: 0;} ytd-refresh {display: none;position: fixed;top: 72px;left: 50%;z-index: 1999;} ytd-refresh.gesture-dragging,ytd-refresh[is-reloading] {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} ytd-refresh[is-reloading] {top: 152px;} /*# sourceMappingURL=ytd-browse.css.map*/</style>";
nLb=d}d=nLb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oLb=a}a=oLb;return a}}});
var Z5=Y5;Z5.prototype.dataChanged=Z5.prototype.dataChanged;Z5.prototype.onPlayerDetached=Z5.prototype.onPlayerDetached;Z5.prototype.onPlayerAttached=Z5.prototype.onPlayerAttached;Z5.prototype.onStampFinished=Z5.prototype.onStampFinished;Z5.prototype.scrollAtTopChanged=Z5.prototype.scrollAtTopChanged;Z5.prototype.channelIdChanged=Z5.prototype.channelIdChanged;Z5.prototype.tabsChanged=Z5.prototype.tabsChanged;Z5.prototype.activeChanged=Z5.prototype.activeChanged;
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],Z5.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],Z5.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],Z5.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],Z5.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.A3.YtPageBehavior),_.T("design:type",Object)],Z5.prototype,"ytPageBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],Z5.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],Z5.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],Z5.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],Z5.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],Z5.prototype,"mastheadAdData",void 0);
_.S([_.N({readOnly:!0,computed:"computeAlertBannerData(data.alerts.*)"}),_.T("design:type",Object)],Z5.prototype,"alertBannerData_",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",String)],Z5.prototype,"pageSubtype",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHasC4TabbedHeaderRenderer(data)"}),_.T("design:type",Boolean)],Z5.prototype,"hasC4TabbedHeaderRenderer",void 0);
_.S([_.N({computed:"computeHasSidebar(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],Z5.prototype,"hasSidebar_",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_background_colors_update")}),_.T("design:type",Boolean)],Z5.prototype,"backgroundRefresh",void 0);_.S([_.N({computed:"computeUseUnifiedShowPageLayout(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],Z5.prototype,"useUnifiedShowPageLayout",void 0);
_.S([_.N({computed:"computeRichGridValue(pageSubtype)"}),_.T("design:type",Boolean)],Z5.prototype,"richGrid",void 0);_.S([_.N({selector:function(a){return a.ui.scrollAtTop}}),
_.T("design:type",Boolean)],Z5.prototype,"scrollAtTop",void 0);_.S([_.N({selector:_.d5a}),_.T("design:type",Boolean)],Z5.prototype,"tabGesturesIsActive",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],Z5.prototype,"useContentVisibility",void 0);_.S([_.N({selector:_.AI,reflectToAttribute:!0}),_.T("design:type",String)],Z5.prototype,"richGridWatchStatus",void 0);_.S([_.Z("ytd-two-column-browse-results-renderer"),_.T("design:type",HTMLElement)],Z5.prototype,"contents",void 0);
_.S([_.Z("#header"),_.T("design:type",HTMLElement)],Z5.prototype,"header",void 0);_.S([_.Z("ytd-refresh"),_.T("design:type",D4)],Z5.prototype,"refresh",void 0);_.S([_.P("active"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Z5.prototype,"activeChanged",null);_.S([_.P("data.contents.twoColumnBrowseResultsRenderer.tabs"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Z5.prototype,"tabsChanged",null);
_.S([_.P("data.header.c4TabbedHeaderRenderer.channelId"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Z5.prototype,"channelIdChanged",null);_.S([_.P("scrollAtTop"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Z5.prototype,"scrollAtTopChanged",null);_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Z5.prototype,"onStampFinished",null);
_.S([_.O("yt-player-attached"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Element]),_.T("design:returntype")],Z5.prototype,"onPlayerAttached",null);_.S([_.O("yt-player-detached"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Element]),_.T("design:returntype")],Z5.prototype,"onPlayerDetached",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],Z5.prototype,"dataChanged",null);
Z5=_.S([_.Q({is:"ytd-browse"})],Z5);
_.Rt(_.Yma,Z5);

_.Ub();

}catch(e){_._DumpException(e)}
try{
_.Tb("kevlar_main_module");

var q6a=function(a){_.Qf(a)},r6a=function(a){if(a.length)return{titleText:_.lh(_.Bg("DOWNLOADS",void 0,"Downloads")),
contents:a.map(function(b){var c=b.videoEntity;b={videoId:c.videoId,title:_.mh(c.title),shortBylineText:_.mh(b.channelEntity.title),thumbnail:c.thumbnail};c.videoId&&(b.navigationEndpoint=_.kh(c.videoId,"PPSV"));c.lengthSeconds&&(b.thumbnailOverlays=[_.GYa(c.lengthSeconds)]);return{playlistPanelVideoRenderer:b}}),
totalVideos:a.length}},s6a=function(a){return(a=(0,_.u.getValueByKeys)(a,"playlistId"))?{playlistId:a}:null},t6a=function(a,b){b=_.eFa(a,b);
0<=b&&_.ia(a,b)},u6a=function(a,b,c,d){Array.prototype.splice.apply(a,_.c4a(arguments,1))},v6a=function(a){a instanceof _.Ja&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));
return a},w6a=function(a){a=_.gba(a);
var b="undefined"!==typeof window?window.trustedTypes:void 0;b=null!=b?b:null;return(null==b?0:b.isScriptURL(a))?TrustedScriptURL.prototype.toString.apply(a):a},x6a=function(a,b){var c=w6a(a);
if(/#/.test(c))throw Error("Z");var d=/\?/.test(c)?"&":"?";b.forEach(function(e,h){e=e instanceof Array?e:[e];for(var l=0;l<e.length;l++){var m=e[l];null!==m&&void 0!==m&&(c+=d+encodeURIComponent(h)+"="+encodeURIComponent(String(m)),d="&")}});
return _.nb(c)},z6a=function(){var a=y6a;
_.ld("yt.ads.biscotti.getId_")||_.Fe("yt.ads.biscotti.getId_",a)},A6a=function(a){_.Fe("yt.ads.biscotti.lastId_",a)},B6a=function(){var a=_.mg.getInstance();
a.set("utco",-Math.floor((new Date).getTimezoneOffset()));a.save()},C6a=function(){var a=_.Ffa();
if(!a)return!1;a=a.replace("/",".");var b=_.mg.getInstance();b.set("tz",a);b.save();return!0},E6a=function(){var a={};
for(_.ae=new D6a(void 0===a.handleError?q6a:a.handleError,void 0===a.logEvent?_.Kf:a.logEvent);0<_.be.length;)switch(a=_.be.shift(),a.type){case "ERROR":_.ae.logError(a.payload);break;case "EVENT":_.ae.logEvent(a.eventType,a.payload)}},F6a=function(a,b,c){return _.rga(function(d){return c?void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)&&c.includes(d.publicName):void 0!==d.userIdentifier&&!a.includes(d.userIdentifier)},b)},G6a=function(a){var b,c;
return _.y(function(d){if(1==d.nextAddress)return b=_.ee("YtIdbMeta hasAnyMeta other"),_.B(d,_.rga(function(e){return void 0!==e.userIdentifier&&e.userIdentifier!==b},a),2);
c=d.yieldResult;return d.return(0<c.length)})},H6a=function(a,b){mJ||(mJ=_.xe.addLowPriorityJob(function(){var c,d,e,h,l;
return _.y(function(m){switch(m.nextAddress){case 1:return _.B(m,_.Ge(),2);case 2:c=m.yieldResult;if(!c)return m.return();d=!0;_.se(m,3);return _.B(m,F6a(a,c,b),5);case 5:e=m.yieldResult;if(!e.length){d=!1;m.jumpTo(6);break}h=e[0];return _.B(m,_.ve(h.actualName),7);case 7:return _.B(m,_.Ae(h.actualName,c),6);case 6:_.te(m,4);break;case 3:l=_.ue(m),_.ce(l),d=!1;case 4:_.xe.cancelJob(mJ),mJ=0,d&&H6a(a,b),_.bf(m)}})}))},I6a=function(){var a;
return _.y(function(b){return 1==b.nextAddress?_.B(b,_.Ge(),2):(a=b.yieldResult)?b.return(G6a(a)):b.return(!1)})},J6a=function(a){var b=100;
b=void 0===b?500:b;var c,d,e,h,l,m;return _.y(function(p){return 1==p.nextAddress?(c=_.w("INNERTUBE_CONTEXT_CLIENT_NAME",0),d=[c,(0,_.Yd)()-2592E6],e=[c,(0,_.Yd)()],h=IDBKeyRange.bound(d,e),_.B(p,_.Xga(a),2)):3!=p.nextAddress?(l=p.yieldResult,m=[],_.B(p,_.ze(l,["SWHealthLog"],{mode:"readwrite",enableRetries:!0},function(r){m.length=0;return _.Pe(r.objectStore("SWHealthLog").index("swHealthNewRequest"),{query:h,direction:"prev"},function(v){if(v.getValue()&&m.length<b)return m.push(v.getValue()),v.delete().then(function(){return v.continue()})})}),
3)):p.return(m)})},K6a=function(){var a,b;
return _.y(function(c){a=_.Ee();if(!a)throw b=_.le("clearSWHealthLogsDb"),b;return c.return(_.Zga(a).catch(function(d){_.jd(d)}))})},L6a=function(){var a=_.Ee();
if(!a)throw _.le("retryQueuedRequests");_.Sga("QUEUED",a).then(function(b){b&&!_.pha(b,12E4)?_.xe.addLowPriorityJob(function(){return _.y(function(c){if(1==c.nextAddress)return void 0===b.id?c.jumpTo(2):_.B(c,_.Qe(b.id,a),2);L6a();_.bf(c)})}):_.Xe().isNetworkAvailable()&&_.af()})},M6a=function(){var a;
return _.y(function(b){switch(b.nextAddress){case 1:return _.B(b,_.Ge(),2);case 2:a=b.yieldResult;if(!a||!_.fe()&&!_.x("nwl_init_require_datasync_id_killswitch")||!_.kha()){b.jumpTo(0);break}_.df=!0;_.cf.isNwlInitialized=_.df;if(!_.x("use_new_nwl_initialization")){b.jumpTo(4);break}return _.B(b,_.$n().awaitInitialization(),5);case 5:return b.return();case 4:return _.B(b,_.Ega("LogsDatabaseV2"),6);case 6:if(!(.1>=Math.random())){b.jumpTo(7);break}return _.B(b,_.Uga(a),8);case 8:return _.B(b,_.Yga(a),
7);case 7:L6a();_.Xe().isNetworkAvailable()&&_.af();_.Xe().listen("publicytnetworkstatus-online",_.af);_.Xe().listen("publicytnetworkstatus-offline",_.oha);if(!_.x("networkless_immediately_drop_sw_health_store")){b.jumpTo(10);break}return _.B(b,K6a(),10);case 10:if(_.x("networkless_immediately_drop_all_requests"))return _.B(b,_.Vga(),0);b.jumpTo(0)}})},N6a=function(){var a=_.ld("_fact",window);
return null==a||-1==a?-1:Math.max(Date.now()-a,0)},nJ=function(a,b,c){var d=_.wE();
if(d&&b){var e=d.subscribe(a,function(){var h=arguments;var l=function(){_.co[e]&&b.apply&&"function"==typeof b.apply&&b.apply(c||window,h)};
try{_.fo[a]?l():_.Bd(l,0)}catch(m){_.jd(m)}},c);
_.co[e]=!0;_.eo[a]||(_.eo[a]=[]);_.eo[a].push(e);return e}return 0},P6a=function(){var a=O6a,b=_.wE();
b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),_.pd(a,function(c){b.unsubscribeByKey(c);delete _.co[c]}))},oJ=function(a,b){_.fo[a]=!0;
var c=_.wE();c&&c.publish.apply(c,arguments);_.fo[a]=!1},Q6a=function(a,b){b=void 0===b?"ERROR":b;
var c=void 0===c?{}:c;var d=_.ld("ytbin.polymer.shared.lib.tampering.info");d&&(d=d())&&(c["params.tamperingInfo"]=d.sort().join(","));_.Qf(a,b,void 0,void 0,!0,c)},pJ=function(){return _.kg("SLI_NAME_YOUTUBE_WEB_WARM_PAGE_NAVIGATION","WARM_PAGE_NAVIGATION",12E4,"TIMEOUT")},R6a=function(){return _.kg("SLI_NAME_YOUTUBE_WEB_YT_GUIDE_DATA_PRESENT","GUIDE_DATA_PRESENT",6E4,"FAILURE")},S6a=function(){var a={isWide:"1"==_.Kd.get("wide","0")};
_.mg.getInstance();if(_.ng(0,165)||_.ng(0,174))a.theme=_.pg(!0);if(_.qg()){var b=_.og()?"USER_INTERFACE_THEME_DARK":"USER_INTERFACE_THEME_LIGHT";a.system_theme=b}if((b=qJ)?!_.u.equals(b,a):a)b={currentValue:a},rJ&&(b.timeSinceLastSnapshotSecs=Math.round(((0,_.Yd)()-rJ)/1E3)),qJ&&(b.previousValue=qJ),_.Kf("appSettingsCaptured",b),qJ=a,rJ=(0,_.Yd)()},sJ=function(a,b){_.pd(b,function(c){_.dFa(void 0,a,c)})},T6a=function(a){a=_.rh(a.entities);
return _.ela(a).length},U6a=function(){var a,b,c,d,e,h,l,m,p,r,v,z,A,D,E,J,R,da;
return _.y(function(sa){switch(sa.nextAddress){case 1:a={},b=_.jla(),c=_.k(Object.entries(b)),d=c.next();case 4:if(d.done){sa.jumpTo(3);break}e=d.value;h=_.k(e);l=h.next().value;m=h.next().value;p=l;r=m;if(!r){sa.jumpTo(5);break}v=a;z=p;return _.B(sa,r(),8);case 8:v[z]=sa.yieldResult;case 5:d=c.next();sa.jumpTo(4);break;case 2:A=_.k(),D=A.next();case 9:if(D.done){sa.jumpTo(3);break}E=D.value;J=b[E];if(!J){sa.jumpTo(10);break}R=a;da=E;return _.B(sa,J(),13);case 13:R[da]=sa.yieldResult;case 10:D=A.next();
sa.jumpTo(9);break;case 3:return sa.return(a)}})},V6a=function(){var a;
_.y(function(b){if(1==b.nextAddress)return _.B(b,U6a(),2);a=b.yieldResult;return _.B(b,navigator.clipboard.writeText(JSON.stringify(a,null,2)),0)})},W6a=function(a){var b=_.vh(_.Gh(_.g.location.href));
a=_.vh(_.Gh(a));return _.x("kevlar_clear_non_displayable_url_params")?b==_.wh(a):_.wh(b)==_.wh(a)},X6a=function(){for(var a=_.Mh(),b=_.Oh(),c=_.Cla(),d=0;d<c.length;d++);
return!!("nrsu"in a||"nrsu"in b)},Y6a=function(a){a=void 0===a?{}:a;
_.SE();_.IYa();_.JYa();_.gHa(!1);a.cttAuthInfo&&(_.Lh().cttAuthInfo=a.cttAuthInfo);_.ed("TIMING_AFT_KEYS",[]);a.isHot?_.Qh({loadType:"hot"}):_.Qh({loadType:"warm"});_.ed("TIMING_ACTION","");delete _.w("TIMING_INFO",{}).yt_lt;_.fi("_start",a.startTime,void 0)},Z6a=function(a){var b,c,d,e,h,l,m,p,r,v,z;
return _.y(function(A){if(1==A.nextAddress)return _.B(A,_.ch(),2);if(3!=A.nextAddress)return(b=A.yieldResult)?_.B(A,_.Ama(b),3):A.return();c=A.yieldResult;if(!c)return A.return();e=(null==(d=c.offlineVideos)?void 0:d.length)||0;l=(null==(h=c.offlinePlaylists)?void 0:h.length)||0;if(0===e&&0===l)return A.return();p=m=0;if(c.offlineVideos)for(r=_.k(c.offlineVideos),v=r.next();!v.done;v=r.next())z=v.value,"OFFLINE_VIDEO_STATE_PLAYABLE"===z.videoState?m+=1:"OFFLINE_VIDEO_STATE_CANDIDATE"===z.videoState&&
(p+=1);a.offline_videos_count=e.toString();a.offline_videos_playable=m.toString();a.offline_videos_candidate=p.toString();a.offline_playlists_count=l.toString();a.offline_client_state=JSON.stringify(c);_.bf(A)})},$6a=function(a,b,c){c=void 0===c?!1:c;
var d,e;return _.y(function(h){if(1==h.nextAddress)return _.Ld("SOCS",a,34128E3,"youtube.com",!0),fetch(b,{method:"POST",mode:"cors",credentials:"include",cache:"no-store",headers:{"Content-Type":"text/plain"}}),_.B(h,fetch("/upgrade_visitor_cookie?eom=1",{method:"POST",mode:"same-origin",credentials:"same-origin",cache:"no-store",headers:{"Content-Type":"application/x-www-form-urlencoded"}}),2);if(4!=h.nextAddress){d=h.yieldResult;if(!d.ok)throw Error("od");return _.B(h,d.text(),4)}e=h.yieldResult;
!e.includes('"state_switch":true')&&!c||e.includes("skip_reload_for_test")||window.location.reload();_.bf(h)})},a7a=function(a){var b,c,d,e;
return _.y(function(h){switch(h.nextAddress){case 1:_.Ld("CONSENT",a.consentCookie,63072E3,"youtube.com",!0);if(!a.enableEom){h.jumpTo(2);break}return _.B(h,$6a(a.socsCookie,a.savePreferenceUrl,!0),3);case 3:return h.return();case 2:return _.Ld("VISITOR_INFO1_LIVE",a.visitorCookie,300,"youtube.com",!0),b=_.w("XSRF_FIELD_NAME"),c=_.w("XSRF_TOKEN"),fetch("/upgrade_visitor_cookie",{method:"POST",mode:"same-origin",credentials:"same-origin",cache:"no-store",headers:{"Content-Type":"application/x-www-form-urlencoded"},
body:"visitor_data="+a.serializedVisitorData+"&"+b+"="+c}),_.ed("EOM_VISITOR_DATA",void 0),_.ed("VISITOR_DATA",a.serializedVisitorData),d=_.w("INNERTUBE_CONTEXT"),d.client.visitorData=a.serializedVisitorData,_.B(h,fetch(a.consentSaveUrl,{method:"GET",mode:"cors",cache:"no-store",credentials:"include",redirect:"follow"}),4);case 4:e=h.yieldResult;if(!e.ok)throw Error(e.statusText);_.bf(h)}})},b7a=function(a){var b,c,d,e,h,l,m,p;
return _.y(function(r){switch(r.nextAddress){case 1:if(!a.enableEom){r.jumpTo(2);break}return _.B(r,$6a(a.socsCookie,a.savePreferenceUrl),3);case 3:return r.return();case 2:b=JSON.stringify({t:a.visitorCookie});c=_.k(a.nonBlockingUrl);for(d=c.next();!d.done;d=c.next())e=d.value,fetch(e,{method:"POST",mode:"cors",credentials:"include",cache:"no-store",headers:{"Content-Type":"text/plain"}});h=new AbortController;l=_.xe.addLowPriorityJob(function(){h.abort()},5E3);
return _.B(r,fetch(a.blockingUrl,{method:"POST",mode:"cors",cache:"no-store",credentials:"include",headers:{"Content-Type":"text/plain"},body:b,signal:h.signal}),4);case 4:m=r.yieldResult;_.xe.cancelJob(l);if(!m.ok)throw Error(m.statusText);_.ed("VISITOR_DATA",a.serializedVisitorData);p=_.w("INNERTUBE_CONTEXT");p.client.visitorData=a.serializedVisitorData;_.bf(r)}})},c7a=function(a){a.addEventListener("click",function(b){var c=b.target;
c&&c.getAttribute("href")&&(c=c.getAttribute("href"),_.ZE(c,void 0,_.jb("_blank")),b.preventDefault(),b.stopImmediatePropagation())})},d7a=function(a){var b,c,d,e,h,l,m;
_.y(function(p){if(1==p.nextAddress)return _.B(p,_.zJa(),2);if(3!=p.nextAddress){if(!p.yieldResult)return p.return(!1);b=[];return _.B(p,_.jw.keys(),3)}c=p.yieldResult;d=_.k(c);for(e=d.next();!e.done;e=d.next())h=e.value,l=_.yJa(h),m=l.datasyncId,!m||a.includes(m)||b.push(_.jw.delete(h));return p.return(Promise.all(b).then(function(r){return r.some(function(v){return v})}))})},e7a=function(){var a,b,c,d,e,h,l;
return _.y(function(m){if(1==m.nextAddress)return _.B(m,_.zJa(),2);if(3!=m.nextAddress){if(!m.yieldResult)return m.return(!1);a=_.ee("cache contains other");return _.B(m,_.jw.keys(),3)}b=m.yieldResult;c=_.k(b);for(d=c.next();!d.done;d=c.next())if(e=d.value,h=_.yJa(e),(l=h.datasyncId)&&l!==a)return m.return(!0);return m.return(!1)})},f7a=function(a,b){var c={};
b&&(c.serializedYpcFamilyCreateLoggingParams=b);_.Kf(a,c);_.If()},g7a=function(a,b){var c={};
c.serializedYpcRefundFlowLoggingParams=b;a&&(c.eventType=a);_.Kf("ypcRefundFlowEvent",c);_.If()},h7a=function(a){a&&_.JH("ypcCancelFlowFailed","serializedYpcCancelFlowLoggingParams",a,void 0,"YPC_ERROR_REASON_YPC_CANCEL_RECURRENCE_TRANSACTION_FAILURE")},i7a=function(a){return _.mI("NotificationsDisabled",a)},j7a=function(){return"granted"!=Notification.permission?Promise.resolve():_.j5a().then(function(a){return a?a.pushManager.getSubscription().then(function(b){if(b)return Promise.resolve();
b={userVisibleOnly:!0,applicationServerKey:_.tka("BPr83OIQ0ehMqbAUQWSaFHZOJeRvvXddR5EONgwwQcHR6FRe6G43LgD36pJq1IuGN10mmMv-V7IKSIZludF9G1k")};return a.pushManager.subscribe(b).then(function(){return Promise.resolve()},function(){return Promise.resolve()})}):Promise.resolve()}).catch(function(){})},k7a=function(a){return _.j5a().then(function(b){if(!b||!b.active)return Promise.reject(new _.ge("serviceworker.postMessage",a,b));
try{return b.active.postMessage(a),Promise.resolve()}catch(c){return Promise.reject(c)}})},tJ=function(){k7a({type:"notifications_register",
data:_.w("ID_TOKEN")})},l7a=function(){if(!_.fd("LOGGED_IN"))return Promise.resolve(!1);
var a=_.ot("service_worker_push_force_notification_prompt_tag");return a?_.fI("PromptTags").then(function(b){if(!b)return!0;var c=[];try{c=JSON.parse(b)}catch(d){return!1}return c&&-1==c.indexOf(a)}):Promise.resolve(!1)},m7a=function(){var a=_.hd("service_worker_push_prompt_delay_microseconds");
return a?_.fI("PromptTime").then(function(b){return Promise.resolve(Date.now()-a>(b||0))}):Promise.resolve(!0)},n7a=function(){var a=_.hd("service_worker_push_logged_out_prompt_watches");
return-1==a?Promise.resolve(!1):_.fI("WatchCount").then(function(b){return b>=a})},o7a=function(){var a=_.hk(document,"yt-push-prompt-modal-bg");
a&&_.Hb(a)},p7a=function(){return-1==_.hd("service_worker_push_prompt_cap")?Promise.resolve(!0):_.fI("PromptCount").then(function(a){a||(a=0);
return Promise.resolve(a<_.hd("service_worker_push_prompt_cap"))})},q7a=function(a){return _.fd("SERVICE_WORKER_PROMPT_NOTIFICATIONS")||_.fd("LOGGED_IN")&&(void 0===a?0:a)?l7a().then(function(b){if(b)return!0;
b=[p7a(),m7a()];_.fd("LOGGED_IN")||b.push(n7a());return Promise.all(b).then(function(c){return c.every(function(d){return d})})}):Promise.resolve(!1)},r7a=function(){_.fI("PromptCount").then(function(a){return _.mI("PromptCount",a+1)}).then(function(){return _.mI("PromptTime",Date.now())}).then(function(){var a=_.ot("service_worker_push_force_notification_prompt_tag");
if(a)return _.fI("PromptTags").then(function(b){var c=[];if(b)try{c=JSON.parse(b)}catch(d){return!1}c||(c=[]);c.push(a);return _.mI("PromptTags",JSON.stringify(c))})})},t7a=function(){s7a||o7a()},u7a=function(a){a.style.zIndex=2147483648;
a.style.pointerEvents="auto";a.style.backgroundColor="rgba(0, 0, 0, 0.6)";a.style.width="100%";a.style.height="100vh";a.style.position="absolute";a.style.top="0";a.style.left="0";a.style.border="none"},v7a=function(){var a=_.hk(document,"yt-push-prompt-modal-bg");
s7a=_.x("service_worker_push_prompt_modal_ignore_click");a?u7a(a):(a=_.tz("div",{id:"yt-push-prompt-modal-bg"}),u7a(a),document.body.appendChild(a),_.ao(document,"click",t7a))},w7a=function(){var a=arguments;
_.x("service_worker_push_prompt_modal_enable")&&v7a();return Notification.requestPermission().then(function(b){o7a();var c=document.getElementById("ticker");c&&(c.className=c.classList.remove("show"));if("granted"==b)return j7a().then(function(){i7a(!1);tJ();return Promise.resolve(!0)});
"denied"==b&&tJ();return Promise.resolve(!1)}).catch(function(){o7a();
return Promise.reject.apply(Promise,_.sc(a))})},x7a=function(a){a=void 0===a?!1:a;
var b=_.Dh().client;if(b&&b.browserVersion){var c=b.browserVersion,d="OPERA"==b.browserName&&0>_.oj(c,"42.0.0");if("CHROME"==b.browserName&&0>_.oj(c,"50.0.0")||d)return Promise.resolve()}return _.i5a().then(function(e){if(!e)return Promise.resolve();e=j7a().then(function(){return k7a({type:"notifications_check_registration",data:_.w("ID_TOKEN")})});
return"default"!=Notification.permission?e.catch(function(){}):e.then(function(){return q7a(a)}).then(function(h){if(h)return r7a(),w7a().then(function(){})}).catch(function(){})})},y7a=function(a){return _.k5a(a)?x7a():Promise.resolve()},z7a=function(a){return"www.googleadservices.com"!==_.xd(a)?a:a+"&nis=3"},A7a=function(a,b,c){b&&_.Nu(a,b);
b=_.It(a);b=_.yb(b);a!=b&&_.md(Error("Xe`"+a));a=b;var d,e;if(c&&"function"===typeof(null==(d=document.featurePolicy)?void 0:d.features)&&(null==(e=document.featurePolicy)?0:e.features().includes("attribution-reporting")))try{a=z7a(a);var h=Object.keys(c).map(function(l){return l.toLowerCase()+"="+c[l]}).join(",");
window.open(a,"_blank",h);return}catch(l){}window.open(a,"_blank")},B7a=function(){var a=document;
return _.ht(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})},C7a=function(){uJ=0;
var a=[_.fJ(!0)];vJ&&_.Jg(vJ,"yt-window-resized",a)},D7a=function(){uJ||(uJ=_.xe.addLowPriorityJob(C7a,200))},F7a=function(){wJ=0;
E7a=_.Mt(document);var a=[E7a];vJ&&_.Jg(vJ,"yt-window-scrolled",a)},G7a=function(){wJ||(wJ=_.xe.addLowPriorityJob(F7a,200))},H7a=function(a){a=void 0===a?null:a;
xJ.push(_.jf(window,"resize",D7a));xJ.push(_.jf(window,"scroll",G7a));a&&(vJ=a)},I7a=function(a){var b=a?_.Ed(a):"";
if(!b)return!1;b=b.toLowerCase();return 0===b.indexOf("/show/")||0===b.indexOf("/playlist")&&(a=_.sd(a),a.list&&0===a.list.indexOf("EL"))?!0:!1},J7a=function(a){var b=a?_.Ed(a):"";
if(b){if(0===b.indexOf("/channel/UCrpQ4p1Ql_hG8rKXIKM1MOQ"))return"fashion";if(0===b.indexOf("/channel/UCEgdi0XIXXZ-qJOFPf4JSKw"))return"sports";b=b.toLowerCase();if("/"===b)return"home";if(0===b.indexOf("/feed/trending"))return"trending";if(0===b.indexOf("/feed/explore"))return"explore";if(0===b.indexOf("/sports"))return"sports";if(0===b.indexOf("/fashion")||0===b.indexOf("/feed/fashion_destination"))return"fashion";if(0===b.indexOf("/channel/")||0===b.indexOf("/user/")||0===b.indexOf("/gaming"))return"channel";
if(I7a(a)&&_.x("enable_unified_show_page_web_client"))return"show";if("/playlist"===b||0===b.indexOf("/playlist/")||"/view_play_list"===b||0===b.indexOf("/view_play_list/")||0===b.indexOf("/show/"))return"playlist";if("/feed/history"===b||0===b.indexOf("/feed/history/"))return"history";if("/new"===b)return"labs";if("/feed/subscriptions"===b)return"subscriptions";if(0===b.indexOf("/feed/subscriptions/"))return"filteredsubscriptions";if("/history_controls"===b)return"standalone";if(0===b.indexOf("/account")||
"/gaia_link"===b)return"WEB_PAGE_TYPE_SETTINGS";if(0===b.indexOf("/paid_memberships")||0===b.indexOf("/refund")||0===b.indexOf("/purchases")||0===b.indexOf("/feed/purchases"))return"memberships-and-purchases";if(0===b.indexOf("/premium")||0===b.indexOf("/musicpremium"))return 0===b.indexOf("/premium/offers")||0===b.indexOf("/musicpremium/offers")?"ypc-offers":"red";if("/cart/checkout"===b||"/cart"===b)return"ypc-checkout";if(0===b.indexOf("/feed/downloads")||0===b.indexOf("/redeem")||0===b.indexOf("/reporthistory"))return"browse";
if(0===b.indexOf("/hashtag"))return"hashtag-landing-page"}},yJ=function(a,b){_.x("desktop_keyboard_shortcut_usage_log")&&(a=b?_.kJ.get(a):_.jJ.get(a))&&(a=_.oo(a),_.tv(_.fg(),_.eg(),a),_.pt(_.fg(),a))},K7a=function(a){var b=_.KG(a,"Content-Type");
if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new zJ:new AJ;if(b.startsWith("application/x-protobuf")){a=_.KG(a,"Content-Transfer-Encoding");if(!a)return new BJ;if("base64"==a.toLowerCase())return new CJ}return null},O7a=function(a,b){var c=function(h){h=_.zz(DJ,h.event);
return 1!==_.Sa(h,EJ)&&2!==_.Sa(h,EJ)},d=function(h){h=_.zz(DJ,h.event);
return 1!==_.Sa(h,EJ)&&3!==_.Sa(h,EJ)};
c=new L7a(function(h,l){return M7a.has(l)?"gal"===h.sentinel&&void 0!==h.event:!1},2===_.Sa(a.lastEvent,EJ)?c:d);
d=x6a(a.trustedUrl,new Map([["result_channel","5"],["origin",(new URL(window.location.href)).origin]]));if(void 0!==a.nestedOrigins){a=_.k(a.nestedOrigins);for(var e=a.next();!e.done;e=a.next())d=x6a(d,new Map([["origin",e.value]]))}return N7a(c,d,b).then(function(h){h=_.zz(DJ,h.event);return 1===_.Sa(h,EJ)?4===_.Tj(_.NG(h,FJ,1,EJ),2,0)?{statusCode:11,statusMessage:_.Vj(_.NG(h,FJ,1,EJ),3)}:{statusCode:12,statusMessage:_.Vj(_.NG(h,FJ,1,EJ),3)}:3===_.Sa(h,EJ)?{statusCode:1,consentLanguageKeys:_.Vj(_.NG(h,
GJ,3,EJ),2)}:{statusCode:1}}).catch(function(h){return void 0!==h.errorCode?{statusCode:h.errorCode,
statusMessage:h.errorMessage}:{statusCode:7,statusMessage:"Data Usage Notice screen did not return result"}})},P7a=function(a){var b={};
if(void 0===a||null===a)return b;void 0!==HJ(a)&&_.Qa(HJ(a),3)&&0<_.Qa(HJ(a),3).length&&(b.scopes=new Set(_.Qa(HJ(a),3)));void 0!==HJ(a)&&_.Qa(HJ(a),6)&&0<_.Qa(HJ(a),6).length&&(b.capabilities=new Set(_.Qa(HJ(a),6)));void 0!==_.Vj(a,3)&&(b.consistencyKey=_.Vj(a,3));return b},R7a=function(a){a=_.zz(Q7a,a);
if(!_.rz(a,2)&&""===_.Vj(a,1))throw Error("lf");return a},S7a=function(a,b){var c=a.flowParams;
return{serviceId:c.serviceId,sessionId:c.sessionId,currentFlow:a.currentFlow,googleScopesString:b,linkingSessionSerialized:a.session.serialize(),consentLanguageKeys:c.consentLanguageKeys,callerState:a.callerState}},X7a=function(a){var b=void 0!==a.googleScopes?Array.from(a.googleScopes).join(","):"";
T7a(S7a(a,b));b=U7a(a);return null===b?Promise.resolve(V7a):b.start().then(function(c){var d,e=null==(d=c.link)?void 0:d.consistencyKey;return 1===c.statusCode&&void 0!==a.googleScopes&&0<a.googleScopes.size&&void 0!==e?(d=a.flowParams,W7a(d.serviceId,d.sessionId,a.googleScopes,e,d.galService,a.config,c)):c})},W7a=function(a,b,c,d,e,h,l){return Y7a(e,{serviceId:a,
sessionId:b,googleScopes:c,consistencyKey:d}).then(function(){return l},function(m){return e.deleteLink({serviceId:a,
sessionId:b,accountLinkingEntryPoint:h.accountLinkingEntryPoint}).then(function(){return{statusCode:12,statusMesaage:"2-way linking failed: "+m.message}},function(p){return{statusCode:12,
statusMesaage:"2-way linking failed and did not cleanup the link:\n                            "+p.message}})})},U7a=function(a){switch(a.currentFlow){case 1:var b=_.Va(a.session,Z7a,1);
return IJ.createOAuthFlow(a.flowParams,b);case 2:case 3:return b=_.Va(a.session,$7a,6),JJ.createStreamlinedFlow(a.flowParams,b);default:return null}},a8a=function(a,b){2===a&&(a=3);
var c=0;-1!==KJ.indexOf(a)&&(c=KJ.indexOf(a)+1);for(a=c;a<KJ.length;a++)if(b.has(KJ[a]))return KJ[a]},d8a=function(a){var b=a.serviceId,c=a.sessionId,d=a.config,e=a.galService,h=a.callerState,l=a.consentLanguageKeys;
return e.startLinkingSession({serviceId:b,sessionId:c,capabilities:a.capabilities,scopes:a.scopes,loginHint:a.loginHint,callerState:h,supportedFlows:b8a(d.supportedFlows),completionUrl:d.completionUrl,accountLinkingEntryPoint:d.accountLinkingEntryPoint,consentLanguageKeys:l}).then(function(m){return new c8a(b,c,d,e,m,h,l)})},T7a=function(a){var b=new e8a;
null!==b.storage&&b.storage.set("SAVED_SESSION",a)},f8a=function(a){var b=new e8a;
if(null!==b.storage){var c=b.storage.get("SAVED_SESSION");void 0!==c&&c.serviceId===a&&b.storage.remove("SAVED_SESSION")}},b8a=function(a){var b=new Set;
a=_.k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,1!==c&&g8a.has(c)&&b.add(g8a.get(c));return b},h8a=function(a,b){void 0!==b&&(a.callerState=b);
return a},i8a=function(a){switch(a){case 5:return 3;
case 7:return 4;case 16:return 5;case 13:return 7;default:return 12}},l8a=function(){var a={timeout:5E3};
a=void 0===a?{}:a;return null!=j8a?j8a:j8a=k8a(a)},m8a=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,
onerror:b})})},k8a=function(a){a=void 0===a?{}:a;
var b;return _.y(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):_.B(c,_.dA(_.Tt(_.jb("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("mf");return b.client&&b.client.load?c.jumpTo(3):_.B(c,m8a(),3)}return c.return(b)})},n8a=function(a,b){b=void 0===b?0:b;
var c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);if(d&&d.expires_at-Date.now()<b){if(LJ.has(a))return LJ.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){LJ.delete(a)});
LJ.set(a,b);return b}return Promise.resolve()},o8a=function(a,b){var c;
return a.client.init({apiKey:b.apiKey,clientId:b.clientId,scope:b.scope,discoveryDocs:b.discoveryDocs,hostedDomain:b.hostedDomain,fetchBasicProfile:null!=(c=b.fetchBasicProfile)?c:!0})},p8a=function(a){if(null!=a.queryParams){var b={},c;
for(c in a.queryParams)void 0!==a.queryParams[c]&&(b[c]=a.queryParams[c]);a.queryParams=b}},s8a=function(a){return new q8a(a,new r8a(a))},MJ=function(a,b){if("function"!==typeof a)throw Error("Ie");
return _.g.setTimeout(function(){a()},b)},t8a=function(a){var b;
return null==(b=a.formContent)?void 0:b.locale},w8a=function(a){var b=t8a(a);
b=(b&&u8a.includes(b)?t8a(a):"en").replaceAll("-","_").toLowerCase();var c;a=(null==(c=a.initializationData)?0:c.useNightlyRelease)?"nightly":"live";return _.Pb(v8a,a,b)},y8a=function(a,b,c){if(x8a)return x8a;
var d=w8a(a);return x8a=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(e,h){var l=c.createElement("script");_.Fb(l,d);l.onload=function(){b.feedbackV2GlobalObject?e(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};
l.onerror=function(){h("Feedback binary script tag failed to load: "+d.toString())};
c.body.appendChild(l)})},z8a=function(a,b,c,d,e){e=void 0===e?!0:e;
var h,l,m,p,r;return _.y(function(v){switch(v.nextAddress){case 1:return h=Date.now(),_.B(v,y8a(a,c,d),2);case 2:l=v.yieldResult;if(!(e||(null==(p=a.initializationData)?0:p.useNightlyRelease)||(null==(r=a.initializationData)?0:r.isLocalServer))){m=l.initializeFeedbackClient(a,h,b);v.jumpTo(3);break}return _.B(v,l.initializeFeedbackClientAsync(a,h,b),4);case 4:m=v.yieldResult;case 3:return m.initiateAloha(),v.return(m)}})},A8a=function(a,b,c){var d=!0;
d=void 0===d?!0:d;var e,h,l,m;_.y(function(p){h=e=c||_.g;if(h.isFormLoading)throw l=Error("vf"),l.name="DuplicateFormError",l;h.isFormLoading=!0;a.callbacks=a.callbacks||{};m=a.callbacks.onLoad||function(){};
a.callbacks.onLoad=function(){h.isFormLoading=!1;m()};
try{return p.return(z8a(a,b,h,e.document,d))}catch(r){throw h.isFormLoading=!1,r;}})},D8a=function(a,b){return _.y(function(c){return c.return(new Promise(function(d){var e=B8a(null!=b?b:"")+"/aloha_form_properties?productId="+a;
_.k1a(e,function(h){h=h.target;var l=null;try{var m=JSON,p=m.stringify;if(h.JSC$35989_xhr_){var r=h.JSC$35989_xhr_.responseText;0==r.indexOf(")]}'\n")&&(r=r.substring(5));var v=(0,_.Ns)(r)}else v=void 0;l=_.zz(C8a,p.call(m,v))}catch(z){p=new C8a,v=new NJ,v=_.Yy(v,5,!1),v=_.Yy(v,2,!1),v=_.Yy(v,4,!1),v=_.Yy(v,7,!1),l=_.eb(p,1,v)}d(l)},"GET","",{},2E3,!0)}))})},B8a=function(a){return E8a.includes(a)?a:"https://www.google.com/tools/feedback"},H8a=function(){var a=_.u.clone(F8a),b;
return(new _.wf(function(c,d){a.onSuccess=function(e){_.ofa(e)?c(new G8a(e)):d(new OJ("Request failed, status="+_.nfa(e),"net.badstatus",e))};
a.onError=function(e){d(new OJ("Unknown request error","net.unknown",e))};
a.onTimeout=function(e){d(new OJ("Request timed out","net.timeout",e))};
b=_.Gd("//googleads.g.doubleclick.net/pagead/id",a)})).thenCatch(function(c){c instanceof _.Uk&&b.abort();
return _.Qk(c)})},y6a=function(){if(_.x("disable_biscotti_fetch_entirely_for_all_web_clients"))return _.Qk(Error("wf"));
if(!_.MHa())return _.Qk(Error("xf"));if("1"==_.u.get(_.w("PLAYER_VARS",{}),"privembed",!1))return _.Qk(Error("yf"));PJ||(PJ=H8a().then(I8a).thenCatch(function(a){return J8a(2,a)}));
return PJ},I8a=function(a){a=a.xhr.responseText;
if(!_.hi(a,")]}'"))throw new QJ;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new QJ;a=a.id;A6a(a);PJ=K8a(a);L8a(18E5,2);return a},J8a=function(a,b){b=new M8a(b);
A6a("");PJ=N8a(b);0<a&&L8a(12E4,a-1);throw b;},L8a=function(a,b){_.Bd(function(){H8a().then(I8a,function(c){return J8a(b,c)}).thenCatch(_.dj)},a)},O8a=function(){var a=_.eg(),b=_.fg();
b&&a&&_.BMa(b,[a],!0)},S8a=function(){if(!P8a){_.xha();
RJ("FOREGROUND_HEARTBEAT_TRIGGER_ON_FOREGROUND");_.Cd(_.aj(RJ,"FOREGROUND_HEARTBEAT_TRIGGER_ON_INTERVAL"),_.r4a("web_foreground_heartbeat_interval_ms",3E4));if(_.x("log_heartbeat_with_lifecycles")){var a={};Q8a||(Q8a=new _.IE);Q8a.install((a.document_visible={callback:R8a,priority:10},a.document_hidden={callback:R8a,priority:10},a))}else _.jf(document,"visibilitychange",R8a);P8a=!0}(a=_.fg())&&"UNDEFINED_CSN"!==a&&_.pja(a)},R8a=function(){if("hidden"==_.zu())var a="FOREGROUND_HEARTBEAT_TRIGGER_ON_BACKGROUND";
else"visible"==_.zu()&&(a="FOREGROUND_HEARTBEAT_TRIGGER_ON_FOREGROUND",SJ=null);a&&RJ(a)},RJ=function(a){if("FOREGROUND_HEARTBEAT_TRIGGER_ON_BACKGROUND"==a||"FOREGROUND_HEARTBEAT_TRIGGER_ON_FOREGROUND"==a){if(T8a==a)return;
T8a=a}var b=9E4+2E3*Math.random();if("FOREGROUND_HEARTBEAT_TRIGGER_ON_INTERVAL"!=a||!(_.of()>b)&&"visible"==_.zu()){var c=-1;SJ&&(c=Math.round((0,_.Yd)()-SJ));if(_.x("web_time_via_jspb")){b=new U8a;var d=N6a();_.n(b,1,d);_.n(b,5,_.ag);_.n(b,2,V8a);_.n(b,3,c);a=Object.keys(W8a).indexOf(String(a));(-1===a?0:a)&&_.n(b,4,a);a=new _.Df;_.Of(a,80,_.Pf,b);X8a?_.Mf(a,X8a):_.Nf(a)}else b={firstActivityMs:String(N6a()),clientDocumentNonce:_.ag,index:String(V8a),lastEventDeltaMs:String(c),trigger:a},_.Hf("foregroundHeartbeat",
b,X8a);_.Fe("_fact",-1,window);V8a++;SJ=(0,_.Yd)()}},UJ=function(a,b){_.uk.call(this);
this.JSC$38912_delay_=new TJ(this.JSC$38914_onTick_,0,this);_.wk(this,this.JSC$38912_delay_);this.JSC$38912_interval_=5E3;this.nextTickTime_=0;if("function"===typeof a)b&&(a=(0,_.$i)(a,b));else if(a&&"function"===typeof a.handleEvent)a=(0,_.$i)(a.handleEvent,a);else throw Error("ga");this.JSC$38914_listener_=a},VJ=function(a,b,c,d,e){c=void 0===c?!1:c;
d=void 0===d?function(){return""}:d;
e=void 0===e?!1:e;this.pathPrefix_=a;this.defaultQueryParams_=b;this.pubsub_=new _.fm;this.reconnectTimer_=new UJ(this.safeReconnect_,this);this.JSC$38915_channel_=null;this.JSC$38915_disposed_=!1;this.connectionParams_=null;this.sCookie_="";this.disconnectUi_=this.connectUi_=0;this.JSC$38915_pendingMessages_=[];this.enableAsyncTest_=c;this.JSC$38915_getXsrfToken_=d;this.enableLoungeTokenRefresh_=e;this.closedChannelsCounter=new Y8a;this.pendingMapsOnClosedCounter=new Z8a;this.undeliveredMapsOnClosedCounter=
new $8a},WJ=function(a){this.scheme="https";
this.port=this.domain="";this.basePath="/api/lounge";this.supportCors=!0;a=a||document.location.href;var b=Number(_.wd(a)[4]||null)||"";b&&(this.port=":"+b);this.domain=_.xd(a)||"";a=_.ua();0<=a.search("MSIE")&&0>_.oj(a.match(/MSIE ([\d.]+)/)[1],"10.0")&&(this.supportCors=!1)},XJ=function(a){a=a||{};
this.name=a.name||"";this.id=a.id||a.screenId||"";this.token=a.token||a.loungeToken||"";this.uuid=a.uuid||a.dialId||"";this.idType=a.screenIdType||"normal"},a9a=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;
return("x"==a?b:b&3|8).toString(16)})},b9a=function(a){return _.id(a,function(b){return{key:b.id,
name:b.name}})},c9a=function(a,b){return _.ht(a,function(c){return c||b?!c!=!b?!1:c.id==b.id:!0})},ZJ=function(a,b){return _.ht(a,function(c){return YJ(c,b)})},f9a=function(a,b,c,d,e){c=void 0===c?function(){return""}:c;
var h=function(){return new VJ($J(a,"/bc"),b,!1,c,d)};
return _.x("enable_mdx_web_channel_desktop")?new d9a(function(){return new aK($J(a,"/wc"),b,c)}):new e9a(h,e)},j9a=function(){var a=g9a;
h9a();bK.push(a);i9a()},cK=function(a,b){h9a();
var c=k9a(a,String(b));0==bK.length?l9a(c):(i9a(),_.pd(bK,function(d){d(c)}))},dK=function(a){cK("CP",a)},h9a=function(){bK||(bK=_.ld("yt.mdx.remote.debug.handlers_")||[],_.Fe("yt.mdx.remote.debug.handlers_",bK))},l9a=function(a){var b=(eK+1)%50;
eK=b;fK[b]=a;gK||(gK=49==b)},i9a=function(){var a=bK;
if(fK[0]){var b=gK?eK:-1;do{b=(b+1)%50;var c=fK[b];_.pd(a,function(d){d(c)})}while(b!=eK);
fK=Array(50);eK=-1;gK=!1}},k9a=function(a,b){var c=(Date.now()-m9a)/1E3;
c.toFixed&&(c=c.toFixed(3));var d=[];d.push("[",c+"s","] ");d.push("[","yt.mdx.remote","] ");d.push(a+": "+b,"\n");return d.join("")},hK=function(a){_.gJ.call(this);
this.JSC$38939_logName_=a;this.screens=[]},jK=function(a){hK.call(this,"LocalScreenService");
this.JSC$38946_http_=a;this.loungeTokenRefreshTimer_=NaN;iK(this);this.info("Initializing with "+n9a(this.screens))},kK=function(a){this.index=-1;
this.videoId=this.listId="";this.volume=this.playerState=-1;this.muted=!1;this.audioTrackId=null;this.playerTimeAt_=this.playerTime_=0;this.trackData=null;this.hasNext=this.hasPrevious=!1;this.loadedTime=this.JSC$38980_duration_=this.seekableEnd_=this.seekableStart_=0;this.liveIngestionTime_=NaN;this.isLive_=!1;this.reset(a)},o9a=function(){var a,b;
return _.y(function(c){if(1==c.nextAddress)return(_.Ye()||_.x("use_new_nwl"))&&_.Xe().isNetworkAvailable()?_.B(c,_.Ge(),2):c.return();if(3!=c.nextAddress)return(a=c.yieldResult)?_.B(c,J6a(a),3):c.return();b=c.yieldResult;if(!b.length)return c.return();b.forEach(function(d){var e={timestamp:d.timestamp};d=d.appShellAssetLoadReport?{payloadName:"appShellAssetLoadReport",payload:d.appShellAssetLoadReport,options:e}:d.clientError?{payloadName:"clientError",payload:d.clientError,options:e}:void 0;d&&_.Kf(d.payloadName,
d.payload,d.options)});
100===b.length&&_.xe.addLowPriorityJob(o9a);_.bf(c)})},q9a=function(a,b){a&&(a.playerResponse?(a=a.playerResponse,a.messages&&0<a.messages.length&&(a=a.messages.find(function(c){return!(!c||!c.mealbarPromoRenderer)}))&&a.mealbarPromoRenderer&&p9a(a.mealbarPromoRenderer,b)):a.response&&(a=a.response)&&a.overlay&&a.overlay.mealbarPromoRenderer&&p9a(a.overlay.mealbarPromoRenderer,b))},p9a=function(a,b){lK&&lK.promise.cancel();
if(a.isVisible)switch(lK=_.Sk(),lK.promise.then(function(){var c={popup:{mealbarPromoRenderer:a},popupType:"MEALBAR"};_.Io.getInstance().triggerOptionalAction("yt-open-popup-action",{openPopupAction:c},{});lK=null}),a.triggerCondition){case "TRIGGER_CONDITION_POST_AD":(b=_.rv(b))&&r9a(b);
break;default:lK.resolve()}else s9a(a)},r9a=function(a){var b=lK,c=_.Sk();
a.getPlayerPromise().then(function(d){c.resolve(d)});
c.promise.then(function(d){d.addEventListener("onAdEnd",b.resolve);_.Tk(b.promise,function(){d.removeEventListener("onAdEnd",b.resolve)})});
b.promise.thenCatch(function(){c.promise.cancel()})},s9a=function(a){a.impressionEndpoints&&_.Io.getInstance().triggerOptionalAction("yt-service-request",{},a.impressionEndpoints[0])},t9a=function(a){return!!a.watchEndpoint||!!a.reelWatchEndpoint&&_.x("kevlar_enable_shorts_prefetch")},mK=function(a,b){a=a.watchEndpoint||a.reelWatchEndpoint;
return"v"+a.videoId+(a.playlistId?"-pl"+a.playlistId:"")+(b?"-an1":"")+(a.params?"-pr"+a.params:"")},u9a=function(a){if(a.playerResponse){if(a=a.playerResponse,a.messages&&0<a.messages.length&&(a=a.messages.find(function(b){return!(!b||!b.mealbarPromoRenderer)}))&&a.mealbarPromoRenderer)return a.mealbarPromoRenderer}else if(a.response&&(a=a.response)&&a.overlay&&a.overlay.mealbarPromoRenderer)return a.overlay.mealbarPromoRenderer},v9a=function(a){if(a.playerResponse){var b=a.playerResponse;
if(b.messages&&0<b.messages.length&&(b=b.messages.find(function(c){return!(!c||!c.tooltipRenderer)}))&&b.tooltipRenderer)return b.tooltipRenderer}if(a.response&&(a=a.response)&&a.overlay&&a.overlay.tooltipRenderer)return a.overlay.tooltipRenderer},w9a=function(a){var b=self.location.origin+"/app_shell_home",c;
return _.y(function(d){switch(d.nextAddress){case 1:return _.se(d,2),_.B(d,a.match(b,{cacheName:"yt-appshell-assets"}),4);case 4:c=d.yieldResult;_.te(d,3);break;case 2:_.ue(d);case 3:return d.return(c)}})},x9a=function(a){_.y(function(b){if(1==b.nextAddress)return _.B(b,a.delete("yt-appshell-assets"),2);
_.bf(b)})},z9a=function(a){return _.ye(y9a(),a)},C9a=function(a){x9a(a);
A9a();B9a()},A9a=function(){var a;
_.y(function(b){return 1==b.nextAddress?_.B(b,nK.getInstance(),2):(a=b.yieldResult)?_.B(b,D9a(a),0):b.jumpTo(0)})},B9a=function(){var a;
_.y(function(b){return 1==b.nextAddress?_.B(b,oK.getInstance(),2):(a=b.yieldResult)?_.B(b,E9a(a),0):b.jumpTo(0)})},F9a=function(a){return _.y(function(b){return b.return(w9a(a))})},G9a=function(a){var b,c;
return _.y(function(d){if(1==d.nextAddress)return _.B(d,F9a(a),2);if(b=d.yieldResult){var e;a:{if(b.headers&&(e=b.headers.get("date"))&&(e=Date.parse(e),!isNaN(e))){e=Math.round((0,_.Yd)()-e);break a}e=-1}c=e;if(-1<c)return d.return(c)}return d.return(-1)})},H9a=function(){var a=_.g.caches,b=_.fd("IS_SHELL_LOAD"),c,d;
_.y(function(e){if(1==e.nextAddress)return c=-1,b?_.B(e,G9a(a),3):(d=_.Bu(),c=Math.round((0,_.Yd)()-d),e.jumpTo(2));2!=e.nextAddress&&(c=e.yieldResult);0<=c&&c<Math.pow(2,31)&&_.Rh("aida",c);_.bf(e)})},I9a=function(){var a=window.caches,b;
return _.y(function(c){if(1==c.nextAddress)return _.B(c,F9a(a),2);b=c.yieldResult;return c.return(!!b)})},O9a=function(){_.y(function(a){if(1==a.nextAddress){if(J9a)return a.jumpTo(0);
J9a=!0;if(_.x("enable_system_health_primes_monitoring"))return _.Cd(K9a,3E4),L9a(),a.return();if(!(Math.random()<_.hd("web_system_health_fraction")))return a.jumpTo(0);pK={heightPixels:screen.height,widthPixels:screen.width};qK&&!isNaN(qK.jsHeapSizeLimit)&&(pK.memoryTotalKbytes=String(Math.round(qK.jsHeapSizeLimit/1E3)));window.devicePixelRatio&&(pK.devicePixelRatio=window.devicePixelRatio);return _.B(a,M9a(),4)}_.Cd(K9a,3E4);return _.B(a,N9a(),0)})},M9a=function(){var a;
return _.y(function(b){if(1==b.nextAddress)return rK.intersectionObserverPresent="IntersectionObserver"in window,rK.serviceWorkerPresent="serviceWorker"in navigator,rK.webSharePresent="share"in navigator,rK.fullScreenApiPresent="exitFullscreen"in document||"webkitExitFullscreen"in document,rK.cacheStoragePresent="caches"in window,rK.storageEstimatePresent="storage"in navigator&&"estimate"in navigator.storage,rK.storagePersistPresent="storage"in navigator&&"persist"in navigator.storage,rK.webkitTemporaryStoragePresent=
"webkitTemporaryStorage"in sK&&sK.webkitTemporaryStorage&&"queryUsageAndQuota"in sK.webkitTemporaryStorage,rK.promiseRejectionEventPresent="undefined"!==typeof PromiseRejectionEvent,a=rK,_.B(b,_.De(),2);a.indexedDbPresent=b.yieldResult;rK.subtleCryptoPresent="crypto"in window&&"subtle"in window.crypto&&"importKey"in window.crypto.subtle;rK.broadcastChannelPresent="BroadcastChannel"in window;rK.webLocksApiPresent="locks"in navigator;_.bf(b)})},K9a=function(){var a=9E4+2E3*Math.random();
_.of()>a||(_.x("enable_system_health_primes_monitoring")?L9a():N9a())},N9a=function(){var a;
return _.y(function(b){if(1==b.nextAddress)return _.B(b,P9a(),2);a=b.yieldResult;_.Kf("systemHealthCaptured",a);_.bf(b)})},L9a=function(){var a={metric:{}},b=Q9a();
b.networkEvents.length&&(a.metric.networkEvents=R9a(b));_.Kf("systemHealthCaptured",a)},P9a=function(){var a,b,c,d,e,h,l,m;
return _.y(function(p){switch(p.nextAddress){case 1:a={metric:{staticContext:pK,dynamicContext:{viewportHeightPixels:Math.max(document.documentElement?document.documentElement.clientHeight||0:0,window.innerHeight||0),viewportWidthPixels:Math.max(document.documentElement?document.documentElement.clientWidth||0:0,window.innerWidth||0)},webMetric:S9a,webApiSupport:rK}};if(b=_.fg())a.csn=b;qK&&(a.metric.webMetric.currentHeapKbytes=Math.round(qK.usedJSHeapSize/1E3));window.matchMedia&&(a.metric.dynamicContext.hasHoverSupport=
window.matchMedia("(any-hover: hover)").matches,a.metric.dynamicContext.hasFinePointer=window.matchMedia("(any-pointer: fine)").matches,a.metric.dynamicContext.hasCoarsePointer=window.matchMedia("(any-pointer: coarse)").matches);if(!("getBattery"in sK&&"function"===typeof sK.getBattery)){p.jumpTo(2);break}return _.B(p,sK.getBattery(),3);case 3:c=p.yieldResult,a.metric.dynamicContext.chargingStatus=c.charging?"CHARGING_AC":"CHARGING_INACTIVE";case 2:"onLine"in navigator&&(a.metric.dynamicContext.networkCoarseState=
navigator.onLine?0:2);if(rK.storageEstimatePresent)return _.B(p,navigator.storage.estimate(),8);if(!rK.webkitTemporaryStoragePresent){p.jumpTo(5);break}return _.B(p,T9a(),7);case 7:d=p.yieldResult;p.jumpTo(5);break;case 8:d=p.yieldResult;case 5:return a.metric.dynamicContext.deviceStorageQuotaMbytes=(null==(e=d)?0:e.quota)?String(10*Math.round(d.quota/1048576/10)):"-1",a.metric.dynamicContext.deviceStorageUsageMbytes=(null==(h=d)?0:h.usage)?String(10*Math.round(d.usage/1048576/10)):"-1",l=a.metric.dynamicContext,
_.B(p,I9a(),9);case 9:return l.hasAppShell=p.yieldResult,m=Q9a(),m.networkEvents.length&&(a.metric.networkEvents=R9a(m)),p.return(a)}})},T9a=function(){return new Promise(function(a){var b;
rK.webkitTemporaryStoragePresent&&null!=(b=sK.webkitTemporaryStorage)&&b.queryUsageAndQuota?sK.webkitTemporaryStorage.queryUsageAndQuota(function(c,d){a({usage:c,quota:d})}):a(void 0)})},U9a=function(){var a=_.mg.getInstance(),b=_.ng(0,119),c=1<window.devicePixelRatio;
document.body&&_.Nx(document.body,"exp-invert-logo")&&(c&&!_.Nx(document.body,"inverted-hdpi")?_.Nz(document.body,"inverted-hdpi"):!c&&_.Nx(document.body,"inverted-hdpi")&&_.Pz(document.body,"inverted-hdpi"));b!=c&&(_.YE(0,119,c),a.save())},V9a=function(a){var b=["h",
"m","s"],c=_.ka(b);c.reverse();var d={};a=a.toLowerCase().match(/\d+\s*[hms]?/g)||[];a=a.filter(function(l){var m=(l.match(/[hms]/)||[""])[0];return m?(d[m]=parseInt(l.match(/\d+/)[0],10),!1):!0});
for(a.reverse();a.length&&c.length;){var e=c.shift();e in d||(d[e]=parseInt(a.shift(),10))}if(a.length||59<d.s||59<d.m||9<d.h)return null;var h="";b.forEach(function(l){d[l]&&(h+=d[l]+l)});
return h||null},W9a=function(a){return a.filter(function(b){return"ypcGetCartEndpoint"in b})},X9a=function(a){return a.filter(function(b){return!("ypcGetCartEndpoint"in b)})},Y9a=function(a){return function(b,c){_.w(a)[b]=c}},$9a=function(a){var b={};
a=_.k(a);for(var c=a.next();!c.done;b={$jscomp$loop$prop$setter$3335:b.$jscomp$loop$prop$setter$3335},c=a.next()){var d=c.value;c=d.params;d=d.service;c&&d&&(b.$jscomp$loop$prop$setter$3335=Z9a[d],b.$jscomp$loop$prop$setter$3335&&c.forEach(function(e){return function(h){var l=h.key;h=h.value;l&&h&&e.$jscomp$loop$prop$setter$3335(l,h)}}(b)))}},b$a=function(a,b){var c,d,e,h,l,m,p;
_.y(function(r){switch(r.nextAddress){case 1:c=_.Ch.getInstance();d=_.Gi.instance;e=_.Ei();if(!e)return a$a(a,d,b),r.return();_.se(r,2);a.onLoadingCommand&&d.resolveCommand(a.onLoadingCommand);return _.B(r,c.getCurrentPositionFromGeolocation(),4);case 4:h=r.yieldResult;if(!a.resolveLocationCommand){r.jumpTo(5);break}var v={},z=h.coords;if(null==z?0:z.latitude)v.latitudeE7=Math.floor(1E7*z.latitude);if(null==z?0:z.longitude)v.longitudeE7=Math.floor(1E7*z.longitude);l=v;return _.B(r,_.Dp(e,a.resolveLocationCommand,
{locationInfo:l}),6);case 6:m=r.yieldResult;if(m.error||m.errorMetadata)return a$a(a,d,b),r.return();var A;if(null==m?0:null==(A=m.onResponseReceivedActions)?0:A.length){A=_.k(m.onResponseReceivedActions);for(var D=A.next();!D.done;D=A.next())d.resolveCommand(D.value)}((null==(v=a.onSuccessCommand)?0:v.watchEndpoint)||(null==(z=a.onSuccessCommand)?0:z.browseEndpoint))&&b.fire("yt-navigate",{endpoint:a.onSuccessCommand,reload:!0});case 5:_.te(r,0);break;case 2:p=_.ue(r);if(p instanceof GeolocationPositionError&&
p.code===GeolocationPositionError.PERMISSION_DENIED)return a.onDeniedCommand&&d.resolveCommand(a.onDeniedCommand),r.return();a$a(a,d,b);_.bf(r)}})},a$a=function(a,b,c){a.onFailureCommand&&(b.resolveCommand(a.onFailureCommand),_.C(c,"yt-close-popup-action",["yt-confirm-dialog-renderer"]))},c$a=function(a){if(!a.urlEndpoint)return!1;
var b=a.urlEndpoint.url;if(!b)return _.Qf(Error("cg")),!1;if("TARGET_NEW_WINDOW"===a.urlEndpoint.target){var c=void 0;_.x("resolve_url_parent_tracking_params")&&(!_.xd(b)||_.yd(window.location.href,b))&&(c={endpoint:a,itct:a.clickTrackingParams});a=a.urlEndpoint;var d,e;if((null==(d=a.browserConversionApiData)?0:d.impressiondata)&&(null==(e=a.browserConversionApiData)?0:e.conversiondestination)){var h;if(null==(h=a.browserConversionApiData)?0:h.originTrialToken)d=document.createElement("meta"),d.setAttribute("http-equiv",
"origin-trial"),d.setAttribute("content",a.browserConversionApiData.originTrialToken),document.head.appendChild(d);a={attributionSourceEventId:a.browserConversionApiData.impressiondata,attributionDestination:a.browserConversionApiData.conversiondestination,attributionReportTo:a.browserConversionApiData.reportingorigin,attributionExpiry:Number(a.browserConversionApiData.impressionexpiry)||void 0}}else a=void 0;if(a)return A7a(b,c,a),!0;c&&_.Nu(b,c);_.w4a(b,{target:"_blank",noopener:!0});return!0}c=
(c=_.Ed(b))&&c.includes("/parent_tools");d=!(!_.xd(b)||_.yd(window.location.href,b));e=0<=b.indexOf("disable_polymer=1");if(d||e||c)_.SE(),_.XI(b,void 0,void 0,window.top);else return _.Rf(new _.ge("UrlEndpoint should not be used for same origin navigations. Use a better typed command instead",a)),!1;return!0},d$a=function(a,b){b=void 0===b?0:b;
if(!(a.signOutEndpoint||a.signInEndpoint||a.urlEndpoint&&a.urlEndpoint.url))return!1;var c;var d=(null==(c=a.urlEndpoint)?0:c.url)?{externalLinkData:{url:a.urlEndpoint.url}}:null;return _.vp().clickCommand(a,d,b)},e$a=function(a){a=Math.round(a);
return a%2?a-1:a},f$a=function(a){a=Math.round(a);
return 0===a%2?a-1:a},g$a=function(a,b){var c=_.xTa(b,{},a,!0);
return new Promise(function(d,e){c.listenOnce("i",function(){e(Error("lg`"+c.JSC$61995_getErrorDescription()))});
c.listenOnce("g",function(){var h=c.getResponseCode();if(200!==h)e(Error("mg`"+b+"`"+a.type+"`"+a.size+"`"+h));else try{d(JSON.parse(c.JSC$61995_getResponseText()).encryptedBlobId)}catch(l){e(l)}});
c.run()})},h$a=function(a){return a.substring(a.indexOf(":")+1,a.indexOf(";"))},i$a=function(a){return new Promise(function(b,c){var d=new FileReader;
d.onloadend=function(){try{var e=new Uint8Array(d.result);8>e.length&&c(void 0);var h=e.subarray(0,8);e="";for(var l=0;l<h.length;l++)e+=("0"+h[l].toString(16)).substr(-2);e.startsWith("ffd8ff")?b("image/jpeg"):e.startsWith("47494638")?b("image/gif"):e.startsWith("89504e470d0a1a0a")?b("image/png"):e.startsWith("424d")?b("image/bmp"):b(void 0)}catch(m){c(m)}};
d.onerror=c;d.readAsArrayBuffer(a)})},j$a=function(a){return new Promise(function(b,c){var d=new Image;
d.crossOrigin="anonymous";d.onload=function(){var e=document.createElement("canvas");e.width=d.naturalWidth;e.height=d.naturalHeight;var h=e.getContext("2d");if(!h)throw Error("kg");h.drawImage(d,0,0);h=h$a(a);e.toBlob(function(l){l?b(l):c()},h)};
d.src=a})},k$a=function(a,b){_.Kg(b,[a]).then(function(c){var d;
if(null==c?0:null==(d=c.data)?0:d.replacementEndpoint){var e;if(null==c?0:null==(e=c.data)?0:e.sequenceContinuation){var h;c.data.replacementEndpoint.reelWatchEndpoint.sequenceParams=null==c?void 0:null==(h=c.data)?void 0:h.sequenceContinuation}b.fire("yt-navigate",{endpoint:c.data.replacementEndpoint})}})},l$a=function(a){var b="";
a=_.k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.k(c.value);c=d.next().value;(d=d.next().value)&&(b+=c+" ")}return b},m$a=function(a,b){var c=a.iconBadgeText,d={"yt-spec-icon-badge-shape":!0};
a:switch(a.iconBadgeType){case "notification":a="yt-spec-icon-badge-shape--type-notification";break a;case "cart":a="yt-spec-icon-badge-shape--type-cart";break a;default:a=""}d=(d[a]=!0,d);2<(null==c?void 0:c.length)&&(d["yt-spec-icon-badge-shape--text-size-small"]=!0);(0,_.gx)({className:l$a(d)},function(){(0,_.gx)({className:"yt-spec-icon-badge-shape__icon"},function(){b()});
c&&(0,_.gx)({className:"yt-spec-icon-badge-shape__badge"},function(){_.NYa(c)})})},n$a=function(a){switch(a){case "UNKNOWN_FORMAT_TYPE":return"SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_UNKNOWN";
case "HD_1080":return"SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_HD_1080";case "SD":return"SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_SD";case "LD":return"SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_LD";default:return"SETTINGS_OPTIONS_ID_TYPE_DOWNLOAD_QUALITY_HD"}},o$a=function(a){return a.map(function(b){return{settingsRadioOptionRenderer:{title:_.nh(b.name),
asideText:_.nh(b.approximateSize),id:n$a(b.format)}}})},q$a=function(a){if(a&&0!==a.length)return a.filter(p$a()).map(function(b){return{settingsRadioOptionRenderer:{title:b.name,
asideText:b.approximateSize,id:n$a(b.formatType)}}})},r$a=function(a,b){var c,d,e,h,l,m,p,r,v,z,A,D,E,J;
_.y(function(R){if(1==R.nextAddress)return _.B(R,_.ti?_.ti:_.zma(),2);c=R.yieldResult;d=b;e=d.animationConfig;h=d.animationRef;l=d.listeners;m=c.loadAnimation(Object.assign({},{container:a},e));h&&(h.lottieEl=m);if(l)for(p=_.k(Object.entries(l)),r=p.next();!r.done;r=p.next())v=r.value,z=_.k(v),A=z.next().value,D=z.next().value,E=A,J=D,m.addEventListener(E,J);_.bf(R)})},t$a=function(a,b,c,d,e,h){var l=_.u.clone(s$a);
l.locale=_.w("SBOX_SETTINGS",{}).REQUEST_LANGUAGE;l.report={description:e||"<empty>"};e=_.w("SBOX_SETTINGS",{});b=b.join(",");var m=Date.now();a={choice_cc:d,choice_id_cc:c,choices_sc:b,gl:e.REQUEST_DOMAIN,hl:e.REQUEST_LANGUAGE,query:a,time:m};h&&(a.choice_additional_comment_cc=h);tK(l,a)},u$a=function(a){_.x("enable_ypc_spinners")&&_.C(a,"yt-open-popup-action",[{openPopupAction:{popupType:"FULLSCREEN_OVERLAY",
popup:{loadingRenderer:{hack:!0}}}},a])},uK=function(a){_.x("enable_ypc_spinners")&&_.C(a,"yt-close-popup-action",["yt-loading-renderer"])},v$a=function(a,b,c){var d=[b];
c&&d.push(c);return _.Kg(a,d).then(function(e){var h=b.ypcHandleTransactionEndpoint.serializedTransactionFlowLoggingParams;"YPC_RESPONSE_CODE_ERROR"===e.data.ypcResponseCode&&(_.GG("TRANSACTION_ERROR_TYPE_YPC_HANDLE_TRANSACTION_RPC_FAILURE",h),e=_.Qk(new vK("TRANSACTION_ERROR_TYPE_YPC_HANDLE_TRANSACTION_RPC_FAILURE",h)));return e},function(){var e=b.ypcHandleTransactionEndpoint.serializedTransactionFlowLoggingParams;
_.GG("TRANSACTION_ERROR_TYPE_YPC_HANDLE_TRANSACTION_RPC_FAILURE",e);return _.Qk(new vK("TRANSACTION_ERROR_TYPE_YPC_HANDLE_TRANSACTION_RPC_FAILURE",e))})},wK=function(a,b,c){var d;
d||(d={bubbles:!0,cancelable:!1,composed:!0});c&&(d.detail=c);b=new CustomEvent(b,d);a.dispatchEvent(b)},w$a=function(a,b,c){var d=_.Ei(),e=_.N3a(),h=(new _.Q3a).init(),l=_.S3a(),m=c.getPaymentInstrumentsParamsCommand.languageCode;
void 0===m?_.Qf(Error("xg"),"ERROR"):_.Rk([h,e]).then(function(){var p={ctk:payments.business.integration.ClientTokenFactory.createClientToken(m,l)};d&&_.Eh(c,d.endpointMap)?_.Dp(d,c,p).then(function(r){return{data:r}}).then(function(r){wK(b,"yt-service-request-completed",r);
"ERROR"!==r.code&&(r=r.data.command)&&_.Lg(a,[r],b)}):_.Qf(Error("yg"),"ERROR")})},z$a=function(a,b,c,d){var e=_.Ei();
e&&_.Eh(c,e.endpointMap)?_.Dp(e,c,d).then(function(h){return{data:h}}).then(function(h){return x$a(a,b,c,h)},function(){return y$a(c)}):(e=_.Eg().resolve(_.Cg(_.Eo)))&&e.requestDataForServiceEndpoint(c,d).then(function(h){return x$a(a,b,c,h)},function(){return y$a(c)})},x$a=function(a,b,c,d){wK(b,"yt-service-request-completed",d);
d.code&&"ERROR"==d.code?y$a(c):((d=d.data.commands)&&_.Lg(a,d,b),(a=c.ypcPauseSubscriptionCommand.serializedYpcPauseFlowLoggingParams)&&a&&_.JH("ypcPauseFlowSucceeded","serializedYpcPauseFlowLoggingParams",a))},y$a=function(a){(a=a.ypcPauseSubscriptionCommand.serializedYpcPauseFlowLoggingParams)&&a&&_.JH("ypcPauseFlowFailed","serializedYpcPauseFlowLoggingParams",a,void 0,"YPC_ERROR_REASON_INNERTUBE_RESPONSE_FAILURE")},C$a=function(a,b,c){var d=_.Ei();
d&&_.Eh(c,d.endpointMap)?_.Dp(d,c).then(function(e){return{data:e}}).then(function(e){return A$a(a,b,c,e)},function(){return B$a(c)}):(d=_.Eg().resolve(_.Cg(_.Eo)))&&d.requestDataForServiceEndpoint(c).then(function(e){return A$a(a,b,c,e)},function(){return B$a(c)})},A$a=function(a,b,c,d){wK(b,"yt-service-request-completed",d);
d.code&&"ERROR"==d.code?B$a(c):((d=d.data.commands)&&_.Lg(a,d,b),(a=c.ypcResumeSubscriptionCommand.serializedYpcResumeFlowLoggingParams)&&a&&_.JH("ypcResumeFlowSucceeded","serializedYpcResumeFlowLoggingParams",a))},B$a=function(a){(a=a.ypcResumeSubscriptionCommand.serializedYpcResumeFlowLoggingParams)&&a&&_.JH("ypcResumeFlowFailed","serializedYpcResumeFlowLoggingParams",a,void 0,"YPC_ERROR_REASON_INNERTUBE_RESPONSE_FAILURE")},D$a=function(){var a={abuseLink:"https://support.google.com/youtube/bin/answer.py?answer=140536",
customZIndex:"2000000005",allowNonLoggedInFeedback:!0};_.w("GOOGLE_FEEDBACK_FORCE_ANONYMOUS")&&(a.enableAnonymousFeedback=!0);_.w("SESSION_INDEX")&&(a.authuser=String(_.w("SESSION_INDEX")));return a},E$a=function(a){return Object.entries(a).map(function(b){return b.join(":")}).join(";")},G$a=function(a){var b,c,d;
_.y(function(e){if(1==e.nextAddress)return _.B(e,F$a(),2);b=e.yieldResult;c=_.Gi.instance;switch(b){case "granted":d=a.getLocationCommand;break;case "denied":d=a.openDeniedDialogAction;break;case "prompt":d=a.openCollectionDialogAction;break;default:d=a.openCollectionDialogAction}d&&c.resolveCommand(d);_.bf(e)})},F$a=function(){var a,b;
return _.y(function(c){if(1==c.nextAddress)return a="prompt",navigator.permissions?_.B(c,navigator.permissions.query({name:"geolocation"}),3):c.jumpTo(2);2!=c.nextAddress&&(b=c.yieldResult,a=b.state);return c.return(a)})},H$a=function(){_.Jga("nwl_transaction_latency_payload",function(a){_.x("nwl_csi_timeline_killswitch")||(_.KYa("networkless_performance",{startTime:a.startTime},"nwl_latency_timer"),_.Qh({transactionType:a.transactionType},"nwl_latency_timer"),_.fi("tc",a.transactionCompleteTime,
"nwl_latency_timer"))})},I$a=function(){var a,b;
return _.y(function(c){if(1==c.nextAddress)return a=_.Ei(),a?_.B(c,_.Dp(a,{signalServiceEndpoint:{signal:"GET_DATASYNC_IDS"}}),2):(_.Rf(Error("Hg")),c.return(void 0));if(b=c.yieldResult)return b.errorMetadata?(_.Qf(Error("Ig`"+b.errorMetadata.code+"`"+b.error)),c.return(void 0)):c.return(b.datasyncIds);_.Rf(Error("Jg"));return c.return(void 0)})},J$a=function(){try{return!!self.localStorage}catch(a){return!1}},K$a=function(a){a=a.match(/(.*)::.*::.*/);
if(null!==a)return a[1]},L$a=function(a){if(J$a()){var b=Object.keys(window.localStorage);
b=_.k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=K$a(c);void 0===d||a.includes(d)||self.localStorage.removeItem(c)}}},M$a=function(){if(!J$a())return!1;
var a=_.ee(),b=Object.keys(window.localStorage);b=_.k(b);for(var c=b.next();!c.done;c=b.next())if(c=K$a(c.value),void 0!==c&&c!==a)return!0;return!1},N$a=function(){I$a().then(function(a){a&&(H6a(a),d7a(a),L$a(a))})},O$a=function(a){_.xe.addLowPriorityJob(function(){var b,c,d,e;
return _.y(function(h){switch(h.nextAddress){case 1:if(_.x("ytidb_clear_optimizations_killswitch")){h.jumpTo(2);break}b=_.ee("clear");if(b.startsWith("V")){var l=[b];H6a(l);d7a(l);L$a(l);return h.return()}c=M$a();return _.B(h,e7a(),3);case 3:return d=h.yieldResult,_.B(h,I6a(),4);case 4:if(e=h.yieldResult,!c&&!d&&!e)return h.return();case 2:a.isNetworkAvailable()?N$a():a.listenOnce("publicytnetworkstatus-online",N$a),_.bf(h)}})})},P$a=function(a){return"undefined"===typeof a?"-1":String(Math.ceil(a/
1048576))},Q$a=function(){var a=xK.uaChPolyfill.state;
if(0===a.type)_.Kf("clientHintsPolyfillEvent",{clientHintsSupported:!1});else{var b=navigator.userAgent,c=void 0!==a.syntheticUa&&a.syntheticUa===b,d={clientHintsSupported:!0,uaAccessedBeforePolyfill:a.didAccessUaBeforePolyfillAvailable,syntheticUaMatches:c};a.didAccessUaBeforePolyfillAvailable&&(d.uaAccessBeforePolyfillCount=a.uaAccessBeforePolyfillCount,a.firstAccessUaError&&(d.firstUaAccessStack=String(a.firstAccessUaError.stack).replace(/\n/g,""),_.Qf(a.firstAccessUaError)),d.polyfillAvailabilityDelayMs=
a.polyfillAvailabilityDelay);_.Kf("clientHintsPolyfillEvent",d);c||(b={syntheticUa:a.syntheticUa,ua:b},b.brand=a.data.brands.map(function(e){return'"'+e.brand+'"; v="'+e.version+'"'}),b.mobileness=a.data.mobile,a=a.data.values,a.architecture&&(b.platformArchitecture=a.architecture),a.model&&(b.model=a.model),a.platform&&(b.platformBrand=a.platform),a.platformVersion&&(b.platformVersion=a.platformVersion),a.uaFullVersion&&(b.fullVersion=a.uaFullVersion),_.Kf("clientHintsPolyfillDiagnostics",b))}},
S$a=function(){var a;
1===(null==(a=xK.uaChPolyfill)?void 0:a.state.type)?R$a||(xK.uaChPolyfill.onReady=S$a,R$a=!0):xK.uaChPolyfill&&Q$a()},V$a=function(a,b){T$a(new U$a(b.invokeInstrumentManagerAction.addToken,b.invokeInstrumentManagerAction.commonToken)).then(function(){wK(a,"yt-invoke-instrument-manager-action-completed")},function(c){wK(a,"yt-invoke-instrument-manager-action-error",c)})},W$a=function(a){var b=1;
a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c},X$a=function(a){return _.ib(_.jb("From proto message. b/166824318"),a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue||"")},Y$a=function(a,b){var c=[];
_.e4a(b,function(d){try{var e=_.km.prototype.getWrapper.call(this,d,!0)}catch(h){if("Storage: Invalid value was encountered"==h)return;throw h;}void 0===e?c.push(d):_.Rta(e)&&c.push(d)},a);
return c},Z$a=function(a,b){Y$a(a,b).forEach(function(c){_.km.prototype.remove.call(this,c)},a)},$$a=function(){var a=_.Bh.instance;
_.y(function(b){return a.deferredInstallPrompt?_.B(b,a.deferredInstallPrompt.prompt(),0):b.jumpTo(0)})},aab=function(a){_.G.call(this,a)};
_.q(aab,_.G);var bab=function(a){var b=_.Mxa;a=void 0===a?{}:a;b=b.name;var c=_.yja("SUCCESS");_.Lxa({dimensions:a,records:[{name:b,state:"SLI_STATE_END",status:c}]})},cab=function(a,b){_.Jb(a.vm);
a.vm=b},dab=function(a,b,c,d){a.state=5;
try{var e=new _.ek({program:b,globalName:c});e.setupDonePromise.then(function(){a.state=6;d&&d(b)});
cab(a,e)}catch(h){a.state=7,h instanceof Error&&_.Rf(h)}},eab=function(a,b,c,d,e){var h=void 0===h?"trayride":h;
if(c)a.state=2,_.vE(c,function(){if(window[h])dab(a,d,h,e);else{a.state=3;var m=_.uXa(c);spf.script.unload(m);_.Rf(new _.ge("Unable to load Botguard","from "+c))}});
else if(b){var l=_.Gb("SCRIPT");l.textContent=b;l.nonce=_.yj();document.head.appendChild(l);document.head.removeChild(l);window[h]?dab(a,d,h,e):(a.state=4,_.Rf(new _.ge("Unable to load Botguard from JS")))}else _.Rf(new _.ge("Unable to load VM; no url or JS provided"))},fab=function(){this.state=1;
this.vm=null};
_.f=fab.prototype;_.f.initialize=function(a,b){if(a.program){var c,d=null!=(c=a.interpreterScript)?c:null,e;c=null!=(e=a.interpreterUrl)?e:null;a.interpreterSafeScript&&(d=a.interpreterSafeScript,_.jb("From proto message. b/166824318"),d=d.privateDoNotAccessOrElseSafeScriptWrappedValue||"",d=(e=_.kb())?e.createScript(d):d,d=(new _.jj(d,_.soa)).toString());a.interpreterSafeUrl&&(c=X$a(a.interpreterSafeUrl).toString());eab(this,d,c,a.program,b)}else _.Rf(Error("Sb"))};
_.f.isInitialized=function(){return!!this.vm};
_.f.getState=function(){return this.state};
_.f.isLoading=function(){return 2===this.state};
_.f.invoke=function(a){a=void 0===a?{}:a;if(this.vm){var b=this.vm;a={contentBinding:a};if(b.didDispose)throw Error("X");b=b.syncSnapshotFunction([a.contentBinding,a.signedTimestamp])}else b=null;return b};
_.f.dispose=function(){cab(this,null);this.state=8};
var gab=function(a,b){var c=_.hd("botguard_async_snapshot_timeout_ms",3E3);b=void 0===b?{}:b;c=void 0===c?3E3:c;return a.vm?Promise.race([new Promise(function(d,e){setTimeout(function(){setTimeout(function(){setTimeout(function(){e(Error("Tb"))},0)},0)},c)}),
new Promise(function(d){a.vm?a.vm.snapshot({contentBinding:b}).then(d):d(null)})]):Promise.resolve(null)},hab=["att/log"],iab=function(a,b,c){var d=Array.from(b.children);
b.shadowRoot&&(d=d.concat(b.shadowRoot.children));if(d&&d.length){b=d.length;for(var e=0;e<b;e++){var h=d[e],l=h.screenLayer||c;_.Pt(a,h,l)||iab(a,h,l)}}},jab=function(a,b){b=a.pendingPages_.indexOf(b);
-1<b&&a.pendingPages_.splice(b,1)},kab=function(a,b){var c=_.Xza.indexOf(b);
-1<c&&_.Xza.splice(c,1);a.targetPage_==b?(a.abort(),_.Zza(a)):jab(a,b)},lab=function(){_.Eg().resolve(_.zo);
return _.of()},mab=function(a){return new Promise(function(b){_.Jn(_.xe,function(){b(a())},1500)})},nab=function(a,b,c){var d,e,h;
return _.y(function(l){d=!1;e={};h=function(){var m,p,r;return _.y(function(v){switch(v.nextAddress){case 1:return _.B(v,a.challengePromise,2);case 2:m=v.yieldResult;e.challenge=m.challenge;if(!m.vm){"c1a"in m.challengeVars&&(e.error="ATTESTATION_ERROR_VM_NOT_INITIALIZED");v.jumpTo(3);break}p=Object.assign({},{c:m.challenge,e:b},c);_.se(v,4);d=!0;return _.B(v,m.vm.snapshot({contentBinding:p}),6);case 6:(r=v.yieldResult)?e.webResponse=r:e.error="ATTESTATION_ERROR_VM_NO_RESPONSE";_.te(v,3);break;case 4:_.ue(v),
e.error="ATTESTATION_ERROR_VM_INTERNAL_ERROR";case 3:return v.return(e)}})};
return l.return(Promise.race([h(),mab(function(){var m=Object.assign({},e);d&&(m.error="ATTESTATION_ERROR_VM_TIMEOUT");return m})]))})},oab=function(a,b,c){b={challenge:b};
c&&(b.webResponse=c);return _.up(a.JSC$35071_innertubeTransportService,b,_.zh(hab))},pab=function(a,b){if(!b.challenge)throw Error("nc");
if(b.botguardData&&b.botguardData.program){var c=new fab;c.initialize(b.botguardData,function(){gab(c,{atr_challenge:b.challenge}).then(function(d){if(!d)throw Error("oc");return oab(a,b.challenge,d)}).catch(function(d){_.Rf(d);
return oab(a,b.challenge)})},void 0)}else oab(a,b.challenge)},qab=function(a,b){return new _.wf(function(c,d){var e;
return _.y(function(h){if(1==h.nextAddress){var l=_.sp.instance,m=b.engagementType,p=b.ids,r={};p=_.k(null!=p?p:[]);for(var v=p.next();!v.done;v=p.next())v=v.value,v.externalChannelId?r.externalChannelId=v.externalChannelId:v.commentId?r.commentId=v.commentId:v.externalOwnerId?r.externalOwnerId=v.externalOwnerId:v.artistId?r.artistId=v.artistId:v.playlistId?r.playlistId=v.playlistId:v.externalPostId&&(r.externalPostId=v.externalPostId);return _.B(h,nab(l,m,r),2)}e=h.yieldResult;if(!e.challenge)return d(Error("pc")),
h.return();l={challenge:e.challenge};l.webResponse=e.webResponse;l.engagementType=b.engagementType;l.ids=b.ids;_.up(a.JSC$35071_innertubeTransportService,l,_.zh(hab)).then(c,d);_.bf(h)})})},sab=function(a){var b=rab();
return a.runAttestationCommand?_.x("use_rta_manager_for_async")&&void 0!==_.sp.instance?qab(b,a.runAttestationCommand):_.Dp(b.JSC$35071_innertubeTransportService,a).then(function(c){if(!c)throw new _.ge("Fetching RunAttestationCommand returned falsy",a);pab(b,c)}).thenCatch(function(c){_.Qf(c)}):_.Qk(Error("mc"))},tab=function(){var a=_.Eg().resolve(_.rs),b;
_.y(function(c){if(1==c.nextAddress)return _.B(c,a.playerApiPromise,2);b=c.yieldResult;return _.B(c,b.refreshAllVideos(),0)})},uab=function(){var a,b,c,d;
return _.y(function(e){if(1==e.nextAddress)return a=navigator,null!=(b=a.storage)&&b.persisted?_.B(e,null==(c=a.storage)?void 0:c.persisted(),2):e.return("PERSISTED_STATE_NOT_SUPPORTED");d=e.yieldResult;return e.return(d?"PERSISTED_STATE_GRANTED":"PERSISTED_STATE_NOT_GRANTED")})},vab=function(){var a,b,c,d;
return _.y(function(e){if(1==e.nextAddress)return a=navigator,null!=(b=a.storage)&&b.persist?_.B(e,null==(c=a.storage)?void 0:c.persist(),2):e.return("PERSISTED_STATE_NOT_SUPPORTED");d=e.yieldResult;return e.return(d?"PERSISTED_STATE_GRANTED":"PERSISTED_STATE_NOT_GRANTED")})},wab=function(){var a,b;
return _.y(function(c){switch(c.nextAddress){case 1:return a="PERSISTED_STATE_NOT_SUPPORTED",_.se(c,2),_.B(c,uab(),4);case 4:a=c.yieldResult;if("PERSISTED_STATE_NOT_GRANTED"!==a){c.jumpTo(5);break}return _.B(c,vab(),6);case 6:a=c.yieldResult;case 5:_.te(c,3);break;case 2:b=_.ue(c),b instanceof Error&&_.Qf(b);case 3:return _.Kf("persistentStorageStateChecked",{persistedState:a}),c.return(a)}})},xab=function(a){var b={};
a=a.getAllResponseHeaders().split("\r\n");for(var c=0;c<a.length;c++)if(!_.lj(a[c])){var d=W$a(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var h=b[e]||[];b[e]=h;h.push(d)}}return _.u.map(b,function(l){return l.join(", ")})},yab=function(a,b,c){if(!a.triggeredTargets.has(b)){var d=_.nGa(a,b);
d.action=c;_.lGa(a,b,d)}},zab=function(a){var b=_.eu();
b.visibilityMonitor=a;_.Fk(b.visibilityMonitor,"yt-visibility-monitor-refreshed",b.handleVisibilityRefreshed,!1,b)},Aab=function(){var a=_.Kh().vpl,b=_.Kh().cpt;
a&&b&&_.fi("ol",Math.max(a,b))},Bab=function(a){_.qu.getInstance();
_.yu("cpt")&&_.md(Error("kd"));_.g.requestAnimationFrame(function(){_.g.setTimeout(function(){_.fi("cpt");Aab()})});
try{a()}catch(b){_.jd(b)}_.g.requestAnimationFrame(function(){_.fi("bcp")})},Cab=function(){var a=_.Qv.getInstance(),b=a.playlistWatchPageActivation,c=a.lockupActivation,d=a.showMiniplayerCommandActivation,e=a.navigatingAwayFromWatchDeletedVideo;
return!a.miniplayerButtonActivation&&!b&&!c&&!d||e},Dab=function(a){var b=_.Dx;
b._minimumZ=Math.max(b._minimumZ,a)},Eab=function(a,b){var c=this;
this.listId="PPSV";this.JSC$36655_updateCallback=a;this.isOfflineVideoCallback=b;_.hh.subscribe(function(){c.handleUpdate()})};
Eab.prototype.getPlaylistData=function(){var a=_.hh.getState().entities;return r6a(_.ela(_.rh(a)))};
Eab.prototype.handleUpdate=function(){this.isOfflineVideoCallback()&&this.JSC$36655_updateCallback(this.listId,this.getPlaylistData(),{})};
var Fab=function(a,b,c,d){d=void 0===d?[]:d;_.Ox.call(this,a,b,c,d);this.JSC$36658_playlistNetworkManager=a;this.listId=b;this.JSC$36658_updateCallback=c;this.videoIds=d};
_.q(Fab,_.Ox);var Gab=function(a,b,c){if(!b||!b.createPlaylistServiceEndpoint)return _.Qk(Error("Fd"));b.createPlaylistServiceEndpoint.videoIds=c;c={create_playlist_title:_.Bg("QUEUE",void 0,"Queue")};return _.FMa(_.Dp(a.JSC$36686_innertubeTransportService,b,c),s6a)},Hab=function(a,b){_.XMa(a,"OBSOLETE");
a.currentCreateRequest=Gab(a.JSC$36658_playlistNetworkManager,b,a.videoIds);_.Tk(a.currentCreateRequest,function(){a.currentCreateRequest=void 0}).then(function(c){a.JSC$36658_setListId(c.playlistId);
0<a.pendingUpdates.length?_.Px(a):_.YMa(a)})},Iab=function(a,b,c,d){void 0!==d?a.videoIds.splice.apply(a.videoIds,[d,
0].concat(_.sc(b))):a.videoIds.push.apply(a.videoIds,_.sc(b));a.listId||a.currentCreateRequest?(b.forEach(function(e,h){e={addedVideoId:e,action:"ACTION_ADD_VIDEO"};d&&(e.addedVideoPosition=d+h);a.pendingUpdates.push(e)}),_.Px(a)):Hab(a,c.onCreateListCommand)},Jab=function(a){if(!a.storage)return!1;
a:{if(a.storage){try{var b=a.storage.get("TLPQtimestamp")}catch(c){}a=Number(b);if(!isNaN(a))break a}a=void 0}return a?864E5>Date.now()-a:!1},Kab=function(a){if(a.storage){try{var b=a.storage.get("TLPQindex")}catch(c){}a=Number(b);
if(!isNaN(a))return a}},Lab=function(a,b){a.queueProxy&&b.forEach(function(c){if(c.videoId&&c.trackingParams&&a.queueProxy instanceof _.Qx){var d=_.fg();
a.queueProxy.attributionData.set(c.videoId,{enqueueingVe:_.no(c.trackingParams).getAsJson(),enqueueingCsn:d?d:void 0,clientEnqueueingTimeMs:Math.floor((0,_.Yd)()).toString()})}})},Mab=function(a,b,c){void 0===a.index&&(a.index=0);
a.temporaryItems.push.apply(a.temporaryItems,_.sc(b));if((c.videoId||c.videoIds)&&void 0!==a.index&&"PLAYLIST_EDIT_LIST_TYPE_QUEUE"===c.listType){if(!a.queueProxy){var d=[];a.response&&(a.response.playlistPanelRenderer&&a.response.playlistId&&!a.response.playlistId.startsWith("TLPQ")?d=_.Jx(a.response.playlistPanelRenderer):a.response.playingVideoId&&!c.openMiniplayer&&d.push(a.response.playingVideoId));a.queueProxy=new _.Qx(a.JSC$36702_playlistNetworkManager,"",a.setPlaylistData.bind(a),a.clearQueue.bind(a),
d,a.storage);a.queueProxy.JSC$36658_setCurrentIndex(a.index)}Iab(a.queueProxy,c.videoIds||[c.videoId],c)}Lab(a,b);a.response&&_.Tx(a,_.Ux(a,a.response.autoplayRenderer));a.pageManager.isOnWatch()||a.activateMiniplayer(b[0],"PLAYLIST_EDIT_LIST_TYPE_QUEUE"===c.listType)},Nab=function(){var a=_.Sx();
a.signals.parkOrScheduleJob(function(){var b=a.storage;if(b.storage)if(Jab(b)){var c=b.getPlaylistId();b=Kab(b);c=!!c&&void 0!==b}else b.clear(),c=!1;else c=!1;if(c){c=a.pageManager.isOnWatch();a:{var d=a.storage;if(d.storage&&Jab(d)&&(b=d.getPlaylistId(),d=Kab(d),b&&void 0!==d)){c={recoverPlaylistCommand:{listId:b,index:d,openMiniplayer:!c,openListPanel:c,listType:"PLAYLIST_EDIT_LIST_TYPE_QUEUE"}};break a}c=void 0}c&&_.Qt(a.JSC$36702_actionRouter,[c],null)}},0,"ma")},Oab=function(a,b,c){_.Na(a);
null==c||(c instanceof _.Ja?c.isEmpty():0===c.length)?_.Oa(a,b):_.n(a,b,c);return a},yK=function(a){_.G.call(this,a)};
_.q(yK,_.G);yK.prototype.getValue=function(){if(Array.isArray(_.ab(this,2)))throw Error("V");var a=void 0===a?"":a;var b=_.MG(this,2);return null==b?a?new _.Ja(a,_.fb):_.gb():b};
yK.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=_.n(this,2,_.Ma(a));else if("string"===typeof a||a instanceof _.Ja||_.za(a))a=Oab(this,2,a);else throw Error("W`"+a);return a};
var Pab=function(a){if(0==a.state_)return a.nonAckedMapsAtChannelClose_;var b=[];_.oa(b,_.b2a(a.forwardChannelRequestPool_));_.oa(b,a.JSC$38187_outgoingMaps_);return b},Qab=function(a){return Pab(a.JSC$38206_channel_).map(function(b){b=b.map;
"__data__"in b&&(b=b.__data__,b=a.transportChannel_.sendRawJson_?(0,_.ota)(b):b);return b})},Rab=function(a){var b=_.n6a(a);
b!=a.currentSnapState_&&(a.currentSnapState_=b,a.actionRouter_.triggerOptionalAction("ytd-update-grid-state-action"))},Sab=function(a){var b=_.Zi(a);
if("object"==b||"array"==b){if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);b="array"==b?[]:{};for(var c in a)b[c]=Sab(a[c]);return b}return a},Uab={"\x00":"\\0",
"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},zK={"'":"\\'"},Vab=function(a){var b=_.Xoa(window.location.href),c=b[1],d=[];c&&c.split("&").forEach(function(e){var h=e.indexOf("=");a.hasOwnProperty(0<=h?e.slice(0,h):e)||d.push(e)});
b[1]=_.Yoa(d.join("&"),_.Hd(a));return b[0]+(b[1]?"?"+b[1]:"")+b[2]},Wab=function(a,b){_.Id(a,"/")&&(a=a.slice(0,-1));
_.hi(b,"/")&&(b=b.slice(1));return a+"/"+b},AK=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);
128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b},Xab=function(){this.JSC$32399_streamzService_=_.zg();
this.JSC$32399_streamzService_.addNewCounter("/client_streamz/youtube/web/navigation_request",{field_type:3,field_name:"page_type"})};
Xab.prototype.increment=function(a){this.JSC$32399_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/navigation_request",a)};
var Yab=function(){this.JSC$32403_streamzService_=_.zg();this.JSC$32403_streamzService_.addNewCounter("/client_streamz/youtube/web/navigation_response",{field_type:3,field_name:"result"},{field_type:3,field_name:"page_type"},{field_type:3,field_name:"error_type"})};
Yab.prototype.increment=function(a,b,c){this.JSC$32403_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/navigation_response",a,b,c)};
var Zab=function(){this.JSC$32406_streamzService_=_.zg();this.JSC$32406_streamzService_.addNewCounter("/client_streamz/youtube/web/servlet_response_errors",{field_type:3,field_name:"code"},{field_type:3,field_name:"location"})};
Zab.prototype.increment=function(a,b){this.JSC$32406_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/servlet_response_errors",a,b)};
var $ab=function(){this.JSC$32409_streamzService_=_.zg();this.JSC$32409_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/navigate_page_type",{field_type:3,field_name:"page_type"},{field_type:3,field_name:"request_type"})};
$ab.prototype.increment=function(a,b){this.JSC$32409_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/navigate_page_type",a,b)};
var abb=function(){this.JSC$32412_streamzService_=_.zg();this.JSC$32412_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/away_from_app_endpoint",{field_type:3,field_name:"page_type"})};
abb.prototype.increment=function(a){this.JSC$32412_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/away_from_app_endpoint",a)};
var bbb=function(){this.JSC$32415_streamzService_=_.zg();this.JSC$32415_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/bad_endpoint",{field_type:3,field_name:"page_type"})};
bbb.prototype.increment=function(a){this.JSC$32415_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/bad_endpoint",a)};
var cbb=function(){this.JSC$32418_streamzService_=_.zg();this.JSC$32418_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/forcer_cold_load",{field_type:3,field_name:"page_type"},{field_type:1,field_name:"url_not_polymer_compatible"},{field_type:1,field_name:"config_disable_warm_loads"})};
cbb.prototype.increment=function(a,b,c){this.JSC$32418_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/forcer_cold_load",a,b,c)};
var dbb=function(){this.JSC$32421_streamzService_=_.zg();this.JSC$32421_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/page_request_fail",{field_type:3,field_name:"page_type"})};
dbb.prototype.increment=function(a){this.JSC$32421_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/page_request_fail",a)};
var ebb=function(){this.JSC$32424_streamzService_=_.zg();this.JSC$32424_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/load_page_request",{field_type:1,field_name:"has_player"},{field_type:3,field_name:"data_page_type"},{field_type:1,field_name:"from_history"},{field_type:1,field_name:"from_miniplayer"})};
ebb.prototype.increment=function(a,b,c,d){this.JSC$32424_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/load_page_request",a,b,c,d)};
var fbb=function(){this.JSC$32427_streamzService_=_.zg();this.JSC$32427_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/page_chunk_received",{field_type:2,field_name:"chunks_received"},{field_type:3,field_name:"data_page_type"},{field_type:3,field_name:"page_type"})};
fbb.prototype.increment=function(a,b,c){this.JSC$32427_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/page_chunk_received",a,b,c)};
var gbb=function(){this.JSC$32430_streamzService_=_.zg();this.JSC$32430_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/page_request_finished",{field_type:3,field_name:"page_type"},{field_type:3,field_name:"data_page_type"},{field_type:1,field_name:"from_history"},{field_type:1,field_name:"from_miniplayer"})};
gbb.prototype.increment=function(a,b,c,d){this.JSC$32430_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/page_request_finished",a,b,c,d)};
var hbb=function(){this.JSC$32433_streamzService_=_.zg();this.JSC$32433_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/page_update_finish",{field_type:3,field_name:"page_type"},{field_type:3,field_name:"data_page_type"},{field_type:3,field_name:"from_history"})};
hbb.prototype.increment=function(a,b,c){this.JSC$32433_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/page_update_finish",a,b,c)};
var ibb=function(){this.JSC$32436_streamzService_=_.zg();this.JSC$32436_streamzService_.addNewCounter("/client_streamz/youtube/web/debug/browser_cookie_setting",{field_type:1,field_name:"cookie_enabled"})};
ibb.prototype.increment=function(a){this.JSC$32436_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/debug/browser_cookie_setting",a)};
var jbb=function(a){this.JSC$32439_streamzService_=a;this.JSC$32439_streamzService_.addNewCounter("/client_streamz/youtube/web/navigation_requests",{field_type:3,field_name:"page_type"},{field_type:3,field_name:"load_type"})};
jbb.prototype.increment=function(a,b){this.JSC$32439_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/web/navigation_requests",a,b)};
var Y8a=function(){this.JSC$32442_streamzService_=_.zg();this.JSC$32442_streamzService_.addNewCounter("/client_streamz/youtube/living_room/mdx/browser_channel/closed_channels")};
Y8a.prototype.increment=function(){this.JSC$32442_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/living_room/mdx/browser_channel/closed_channels")};
var Z8a=function(){this.JSC$32445_streamzService_=_.zg();this.JSC$32445_streamzService_.addNewCounter("/client_streamz/youtube/living_room/mdx/browser_channel/pending_maps")};
Z8a.prototype.increment=function(){this.JSC$32445_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/living_room/mdx/browser_channel/pending_maps")};
var $8a=function(){this.JSC$32448_streamzService_=_.zg();this.JSC$32448_streamzService_.addNewCounter("/client_streamz/youtube/living_room/mdx/browser_channel/undelivered_maps")};
$8a.prototype.increment=function(){this.JSC$32448_streamzService_.JSC$32395_incrementCounter("/client_streamz/youtube/living_room/mdx/browser_channel/undelivered_maps")};
var kbb=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new _.Dz(c,e,d-c,a-e)}return null},lbb={MAIN_APP_WEB_PAGE_TYPE_UNKNOWN:"MAIN_APP_WEB_PAGE_TYPE_UNKNOWN",
MAIN_APP_WEB_PAGE_TYPE_BROWSE:"MAIN_APP_WEB_PAGE_TYPE_BROWSE",MAIN_APP_WEB_PAGE_TYPE_SEARCH:"MAIN_APP_WEB_PAGE_TYPE_SEARCH",MAIN_APP_WEB_PAGE_TYPE_WATCH:"MAIN_APP_WEB_PAGE_TYPE_WATCH",MAIN_APP_WEB_PAGE_TYPE_CHANNEL:"MAIN_APP_WEB_PAGE_TYPE_CHANNEL",MAIN_APP_WEB_PAGE_TYPE_PLAYLIST:"MAIN_APP_WEB_PAGE_TYPE_PLAYLIST",MAIN_APP_WEB_PAGE_TYPE_SETTING:"MAIN_APP_WEB_PAGE_TYPE_SETTING",MAIN_APP_WEB_PAGE_TYPE_SHORTS:"MAIN_APP_WEB_PAGE_TYPE_SHORTS"},mbb={MAIN_APP_WEB_REQUEST_TYPE_UNKNOWN:"MAIN_APP_WEB_REQUEST_TYPE_UNKNOWN",
MAIN_APP_WEB_REQUEST_TYPE_NAVIGATE:"MAIN_APP_WEB_REQUEST_TYPE_NAVIGATE",MAIN_APP_WEB_REQUEST_TYPE_LOAD:"MAIN_APP_WEB_REQUEST_TYPE_LOAD"},nbb=function(a){return a.getCount&&"function"==typeof a.getCount?a.getCount():_.la(a)||"string"===typeof a?a.length:_.u.getCount(a)},obb=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);
if(_.la(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=_.$ta(a),d=_.qm(a),e=d.length,h=0;h<e;h++)if(!b.call(void 0,d[h],c&&c[h],a))return!1;return!0},pbb=function(a){_.G.call(this,a)};
_.q(pbb,_.G);var qbb=function(a){_.G.call(this,a)};
_.q(qbb,_.G);var mJ=0,U8a=function(a){_.G.call(this,a)};
_.q(U8a,_.G);var rbb=!1,qJ=null,rJ=void 0,sbb=function(){var a=(0,_.Mo)();a&&Z$a(a,a.mechanism.__iterator__(!0))},tbb=function(a){return _.Rg({type:"SET_GUIDE_IS_EXPANDED",
payload:a})},ubb=function(a){return _.Rg({type:"SET_MINIPLAYER_PLAYBACK_STATE",
payload:a})},vbb=function(a,b){return _.Rg({type:"SET_TRANSCRIPTION_STATE",
payload:{high:a,low:b}})},wbb=function(a){return _.Rg({type:"SET_OVERLAY_STATE",
payload:a})},xbb={signalServiceEndpoint:{signal:"LOAD_GUIDE"}},ybb=function(a,b){var c=pJ();
a||(a="unknown");b||(b="unknown");a="MAIN_APP_WEB_PAGE_TYPE_"+a.toUpperCase();a in lbb||(a="MAIN_APP_WEB_PAGE_TYPE_UNKNOWN");b="MAIN_APP_WEB_REQUEST_TYPE_"+b.toUpperCase();b in mbb||(b="MAIN_APP_WEB_REQUEST_TYPE_UNKNOWN");_.uo(c,{mainAppWeb:{pageType:a,requestType:b,isShellLoad:_.fd("IS_SHELL_LOAD",!1)}})},rab=function(){return _.vBa.instance},zbb=/#(.)(.)(.)/,Abb=/^#(?:[0-9a-f]{3}){1,2}$/i,Bbb=0,Cbb=function(a,b,c){var d=this;
this.completionCallback_=_.dj;this.wrappedJob=function(){a();d.completionCallback_()};
this.priority=b;this.delay=c;this.jobId_=0;this.id=++Bbb};
Cbb.prototype.enqueue=function(a){this.completionCallback_=a;this.jobId_=_.xe.addJob(this.wrappedJob,this.priority,this.delay)};
var BK=function(){_.In.call(this);this.suspendedTasks_=new Set;this.scheduledTasks_=new Set;this.JSC$36158_isActive_=!1;this.taskIdToTask_=new Map};
_.q(BK,_.In);BK.prototype.addJob=function(a,b,c){a=new Cbb(a,b,c);this.taskIdToTask_.set(a.id,a);this.JSC$36158_isActive_?Dbb(this,a):this.suspendedTasks_.add(a);return a.id};
var Dbb=function(a,b){a.scheduledTasks_.add(b);b.enqueue(function(){a.scheduledTasks_.delete(b)})};
BK.prototype.cancelJob=function(a){(a=this.taskIdToTask_.get(a))&&(this.scheduledTasks_.delete(a)?_.xe.cancelJob(a.jobId_):this.suspendedTasks_.delete(a))};
BK.prototype.pause=function(){var a=this;this.JSC$36158_isActive_=!1;this.scheduledTasks_.forEach(function(b){_.xe.cancelJob(b.jobId_);a.suspendedTasks_.add(b)});
this.scheduledTasks_.clear()};
BK.prototype.start=function(){var a=this;this.JSC$36158_isActive_=!0;this.suspendedTasks_.forEach(function(b){Dbb(a,b)});
this.suspendedTasks_.clear()};
BK.prototype.reset=function(){this.scheduledTasks_.forEach(function(a){_.xe.cancelJob(a.jobId_)});
this.scheduledTasks_.clear();this.suspendedTasks_.clear();this.taskIdToTask_.clear()};
var CK=function(a,b){this.JSC$36167_networkService_=a;this.pageRequestPromise=b};
CK.prototype.fetchData=function(a){Ebb(this,this.JSC$36167_networkService_.fetchData(a))};
CK.prototype.postData=function(a,b){Ebb(this,this.JSC$36167_networkService_.postData(a,b))};
CK.prototype.requestDataForServiceEndpoint=function(a,b){Ebb(this,this.JSC$36167_networkService_.requestDataForServiceEndpoint(a,b))};
var Ebb=function(a,b){b.then(a.pageRequestPromise.onSuccess,a.pageRequestPromise.onFailure,a.pageRequestPromise)};
CK.prototype.cancel=function(){this.pageRequestPromise.cancel()};
var DK=function(a){this.buildNetworkRequest_=a;this.pendingRequests_=new Set};
DK.prototype.reset=function(){this.pendingRequests_.forEach(function(a){a.cancel()});
this.pendingRequests_.clear()};
DK.prototype.fetchData=function(a){var b=Fbb(this);b.fetchData(a);return b.pageRequestPromise};
DK.prototype.postData=function(a,b){var c=Fbb(this);c.postData(a,b);return c.pageRequestPromise};
DK.prototype.requestDataForServiceEndpoint=function(a,b){var c=Fbb(this);c.requestDataForServiceEndpoint(a,b);return c.pageRequestPromise};
var Fbb=function(a){var b=a.buildNetworkRequest_();a.pendingRequests_.add(b);var c=function(){a.pendingRequests_.delete(b)};
b.pageRequestPromise.then(c,c);return b},Gbb=function(a){var b=new BK;
this.JSC$36174_networkService_=a;this.JSC$36174_taskManager_=b;this.JSC$36174_networkManager_=new DK(this.networkRequestFactory_.bind(this))};
_.f=Gbb.prototype;_.f.networkRequestFactory_=function(){return new CK(this.JSC$36174_networkService_,new _.Iu(this.JSC$36174_taskManager_))};
_.f.reset=function(){this.JSC$36174_taskManager_.reset();this.JSC$36174_networkManager_.reset()};
_.f.start=function(){this.JSC$36174_taskManager_.start()};
_.f.pause=function(){this.JSC$36174_taskManager_.pause()};
_.f.getTaskManager=function(){return this.JSC$36174_taskManager_};
_.f.getNetworkManager=function(){return this.JSC$36174_networkManager_};
var Hbb=!1,Ibb=function(){var a=_.Qv.getInstance();a.miniplayerButtonActivation=!1;a.userActivation=!1;a.playlistWatchPageActivation=!1;a.lockupActivation=!1;a.showMiniplayerCommandActivation=!1},Jbb=["response",
"contents","twoColumnWatchNextResults","autoplay","autoplay"],Kbb=["playerResponse","videoDetails"],Lbb=["response","currentVideoEndpoint","watchEndpoint","videoId"],Mbb=["response","currentVideoEndpoint","watchEndpoint","playlistId"],Nbb=["response","playerOverlays","playerOverlayRenderer","endScreen","watchNextEndScreenRenderer"],Obb=["response","contents","twoColumnWatchNextResults","playlist","playlist"],Pbb=["response","webWatchNextResponseExtensionData","relatedVideoArgs"],Qbb=["response","contents",
"twoColumnWatchNextResults"],Rbb=function(){var a=_.ega&&0<=_.oj(_.$Qa,10),b;if(b=_.opa)b=0<=_.oj(_.ZQa,10);var c=_.Kj&&0<=_.oj(_.$Qa,85);return _.Ej||a||b||c},Sbb=function(a){var b=_.Jz(a);
return b&&Rbb()?-a.scrollLeft:b&&!_.Dj&&"visible"!=_.dz(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft},Tbb=function(a,b){b=Math.max(b,0);
_.Jz(a)?a.scrollLeft=Rbb()?-b:_.Dj?b:a.scrollWidth-b-a.clientWidth:a.scrollLeft=b},Q8a,Ubb=function(a){var b=a.source,c=void 0===a.channelName?"ZNWN1d":a.channelName,d=void 0===a.onMessage?void 0:a.onMessage,e=void 0===a.onEstablished?void 0:a.onEstablished;
_.bZa({destination:a.destination,getSource:function(){return b},
originList:_.cZa(a.origin),channelName:c,onMessage:d,onEstablished:e})},EK=function(a){if(a=JSON.parse(a))window.dataLayer=window.dataLayer||[],window.dataLayer.push(a)},s7a=!1,Vbb=function(a){var b=a.installing||a.waiting;
return a.active||!b?Promise.resolve(a):new Promise(function(c){var d=function(e){if("activated"==e.target.state||"redundant"==e.target.state)b.removeEventListener("statechange",d),c(a)};
b.addEventListener("statechange",d)})},Wbb=function(){var a=new _.Aja("SLI_NAME_YOUTUBE_WEB_SERVICE_WORKER_REGISTRATION","",12E4,"TIMEOUT");
_.uo(a,{mainAppWeb:_.xh()});try{var b=_.C5a(_.z5a).catch(function(){_.Di(a,"FAILURE");return new Promise(function(){})});
_.x("service_worker_push_enabled")&&b.then(function(c){_.Di(a,"SUCCESS");return c}).then(Vbb).then(y7a)}catch(c){if(_.Di(a,"FAILURE"),"SecurityError"!=c.name)throw c;
}},Xbb=function(){_.fd("SERVICE_WORKER_KILLSWITCH")||navigator.serviceWorker&&navigator.serviceWorker.getRegistrations&&"https:"==window.location.protocol&&(_.x("service_worker_enabled")?Wbb():_.q5a())},Ybb=function(a){_.aa.call(this,a)};
_.q(Ybb,_.e6a);var E7a=null,xJ=[],uJ=0,wJ=0,vJ=null;
var Zbb=function(){var a=window.navigator.userAgent.match(/Chrome\/([0-9]+)/);return a?parseInt(a[1],10):0},$bb=function(a){return!!document.currentScript&&(-1!=document.currentScript.src.indexOf("?"+a)||-1!=document.currentScript.src.indexOf("&"+a))},acb=function(){return"function"==typeof window.__onGCastApiAvailable?window.__onGCastApiAvailable:null},FK=function(a){a.length?bcb(a.shift(),function(){FK(a)}):ccb()},dcb=function(a){return"chrome-extension://"+a+"/cast_sender.js"},bcb=function(a,b,
c){var d=document.createElement("script");
d.onerror=b;c&&(d.onload=c);_.Fb(d,_.kj(a));(document.head||document.documentElement).appendChild(d)},ecb=function(){var a=Zbb(),b=[];
if(1<a){var c=a-1;b.push("//www.gstatic.com/eureka/clank/"+a+"/cast_sender.js");b.push("//www.gstatic.com/eureka/clank/"+c+"/cast_sender.js")}return b},ccb=function(){var a=acb();
a&&a(!1,"No cast extension found")},gcb=function(){if(fcb){var a=2,b=acb(),c=function(){a--;
0==a&&b&&b(!0)};
window.__onGCastApiAvailable=c;bcb("//www.gstatic.com/cast/sdk/libs/sender/1.0/cast_framework.js",ccb,c)}},hcb=function(){gcb();
var a=ecb();a.push("//www.gstatic.com/eureka/clank/cast_sender.js");FK(a)},jcb=function(){gcb();
var a=ecb();a.push.apply(a,_.sc(icb.map(dcb)));a.push("//www.gstatic.com/eureka/clank/cast_sender.js");FK(a)},fcb=$bb("loadCastFramework")||$bb("loadCastApplicationFramework"),icb=["pkedcjkdefgpdelpbcmbmeomcjbeemfm",
"enhhojjnijigcajfphajepfemndkmdlo"];
var kcb=function(a){this.servicePromise_=a;a.then((0,_.$i)(function(){},this),function(){},this)},lcb=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];
if(!e)throw Error("Ze`"+b);return e.apply(d,c)})},ncb=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];
e=mcb(a,b).then(function(h){return h.apply(null,d)});
return new kcb(e)},ocb={},mcb=function(a,b){var c=ocb[b];
if(c)return c;c=(c=_.ld(b))?_.Mg(c):(new _.wf(function(d,e){var h=(new _.rk(document)).createElement("SCRIPT");h.async=!0;_.Fb(h,_.Tt(a));h.onload=h.onreadystatechange=function(){h.readyState&&"loaded"!=h.readyState&&"complete"!=h.readyState||d()};
h.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(h)})).then(function(){var d=_.ld(b);
if(!d)throw Error("$e`"+b+"`"+a);return d});
return ocb[b]=c};
var GK=function(a){this.JSC$38475_loader_=a};
GK.prototype.startHelp=function(a){lcb(this.JSC$38475_loader_,"startHelp",arguments)};
GK.prototype.loadChatSupport=function(a){lcb(this.JSC$38475_loader_,"loadChatSupport",arguments)};
GK.prototype.dismissSurvey=function(a){lcb(this.JSC$38475_loader_,"dismissSurvey",arguments).thenCatch(function(){},this)};
var pcb=_.jb("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");
var rcb=function(a){_.G.call(this,a,-1,qcb)};
_.q(rcb,_.G);var qcb=[3,5];
var scb=function(a){_.G.call(this,a)};
_.q(scb,_.G);var tcb=function(){var a=new scb;return _.Wy(a,1,3)};
var ucb=function(a){_.G.call(this,a)};
_.q(ucb,_.G);
var wcb=function(a){_.G.call(this,a,-1,vcb)};
_.q(wcb,_.G);wcb.prototype.setToken=function(a){return _.Wj(this,1,a)};
var vcb=[3,6,7];
var HK=function(a){_.G.call(this,a)};
_.q(HK,_.G);var HJ=function(a){return _.Va(a,wcb,2)};
HK.prototype.setToken=function(a){return _.eb(this,2,a)};
HK.prototype.getName=function(){return _.Vj(this,6)};
var xcb=function(a,b,c){this.requestMessage_=a;this.JSC$38508_methodDescriptor_=b;this.JSC$38508_metadata_=c};
xcb.prototype.getMethodDescriptor=function(){return this.JSC$38508_methodDescriptor_};
xcb.prototype.getMetadata=function(){return this.JSC$38508_metadata_};
var IK=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.JSC$38511_metadata_=c;this.JSC$38511_methodDescriptor_=b};
IK.prototype.getMetadata=function(){return this.JSC$38511_metadata_};
IK.prototype.getMethodDescriptor=function(){return this.JSC$38511_methodDescriptor_};
IK.prototype.getStatus=function(){return null};
var JK=function(a,b,c,d,e){this.name=a;this.methodType="unary";this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},ycb=function(a,b,c){c=void 0===c?{}:c;
return new xcb(b,a,c)};
JK.prototype.getName=function(){return this.name};
var KK=function(a){_.G.call(this,a)};
_.q(KK,_.G);KK.prototype.hasHeader=function(){return _.rz(this,1)};
var zcb=function(a){_.G.call(this,a)};
_.q(zcb,_.G);
var Acb=new JK("/google.internal.identity.accountlinking.v1.AccountLinkingService/DeleteLink",KK,zcb,function(a){return a.serialize()},function(a){return _.zz(zcb,a)});
var LK=function(a){_.G.call(this,a,-1,Bcb)};
_.q(LK,_.G);LK.prototype.hasHeader=function(){return _.rz(this,1)};
var Bcb=[3];
var Ccb=function(a){_.G.call(this,a)};
_.q(Ccb,_.G);
var Dcb=new JK("/google.internal.identity.accountlinking.v1.AccountLinkingService/DepositGoogleCredential",LK,Ccb,function(a){return a.serialize()},function(a){return _.zz(Ccb,a)});
var MK=function(a){_.G.call(this,a)};
_.q(MK,_.G);MK.prototype.hasHeader=function(){return _.rz(this,1)};
var Ecb=function(a){_.G.call(this,a)};
_.q(Ecb,_.G);
var Fcb=new JK("/google.internal.identity.accountlinking.v1.AccountLinkingService/FinishOAuth",MK,Ecb,function(a){return a.serialize()},function(a){return _.zz(Ecb,a)});
var Gcb=function(a){_.G.call(this,a)};
_.q(Gcb,_.G);var Z7a=function(a){_.G.call(this,a)};
_.q(Z7a,_.G);var $7a=function(a){_.G.call(this,a)};
_.q($7a,_.G);var NK=function(a){_.G.call(this,a)};
_.q(NK,_.G);NK.prototype.getUrl=function(){return _.Vj(this,2)};
NK.prototype.setUrl=function(a){return _.Wj(this,2,a)};
var Icb=function(a){_.G.call(this,a,-1,Hcb)};
_.q(Icb,_.G);var Hcb=[1];
var OK=function(a){_.G.call(this,a)};
_.q(OK,_.G);OK.prototype.hasHeader=function(){return _.rz(this,1)};
var Jcb=new JK("/google.internal.identity.accountlinking.v1.AccountLinkingService/GetLink",OK,HK,function(a){return a.serialize()},function(a){return _.zz(HK,a)});
var PK=function(a){_.G.call(this,a,-1,Kcb)};
_.q(PK,_.G);PK.prototype.hasHeader=function(){return _.rz(this,1)};
PK.prototype.getDeviceId=function(){return _.Vj(this,11)};
var Kcb=[3,5,4];
var Lcb=new JK("/google.internal.identity.accountlinking.v1.AccountLinkingService/StartLinkingSession",PK,Gcb,function(a){return a.serialize()},function(a){return _.zz(Gcb,a)});
var Mcb=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}};
var QK=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c};
_.q(QK,Error);QK.prototype.name="RpcError";
var Ncb=Promise;
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var RK=function(a,b){this.xhrNodeReadableStream_=a.nodeReadableStream;this.grpcResponseDeserializeFn_=b;this.JSC$38670_xhr_=a.xhr;this.onDataCallbacks_=[];this.onMetadataCallbacks_=[];this.onStatusCallbacks_=[];this.onEndCallbacks_=[];this.JSC$38670_onErrorCallbacks_=[];this.xhrNodeReadableStream_&&Ocb(this)},Rcb=function(a,b){_.Fk(a.JSC$38670_xhr_,"complete",function(){if(_.Rs(a.JSC$38670_xhr_)){var c=_.Ss(a.JSC$38670_xhr_);
var d;if(d=b)d=a.JSC$38670_xhr_,d.JSC$35989_xhr_&&d.isComplete()?(d=d.JSC$35989_xhr_.getResponseHeader("Content-Type"),d=null===d?void 0:d):d=void 0,d="text/plain"===d;if(d){if(!atob)throw Error("af");c=atob(c)}try{var e=a.grpcResponseDeserializeFn_(c)}catch(h){SK(a,new QK(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=Mcb(a.JSC$38670_xhr_.getStatus());TK(a,UK(a));0==c?Pcb(a,e):SK(a,new QK(c,"Xhr succeeded but the status code is not 200"))}else e=_.Ss(a.JSC$38670_xhr_),
d={},e?(d=Qcb(a,e),e=d.code,c=d.details,d=d.metadata):(e=2,c="Rpc failed due to xhr error. error code: "+a.JSC$38670_xhr_.JSC$35989_lastErrorCode_+", error: "+a.JSC$38670_xhr_.getLastError()),TK(a,UK(a)),SK(a,new QK(e,c,d))})},Ocb=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];
try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){SK(a,new QK(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&Pcb(a,d)}if("2"in b)for(b=Qcb(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});
a.xhrNodeReadableStream_.on("end",function(){TK(a,UK(a));for(var b=0;b<a.onEndCallbacks_.length;b++)a.onEndCallbacks_[b]()});
a.xhrNodeReadableStream_.on("error",function(){if(0!=a.JSC$38670_onErrorCallbacks_.length){var b=a.JSC$38670_xhr_.JSC$35989_lastErrorCode_;0!==b||_.Rs(a.JSC$38670_xhr_)||(b=6);var c=-1;switch(b){case 0:var d=2;break;case 7:d=10;break;case 8:d=4;break;case 6:c=a.JSC$38670_xhr_.getStatus();d=Mcb(c);break;default:d=14}TK(a,UK(a));b=_.vPa(b)+", error: "+a.JSC$38670_xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);SK(a,new QK(d,b))}})},UK=function(a){var b={},c=xab(a.JSC$38670_xhr_);
Object.keys(c).forEach(function(d){b[d]=c[d]});
return b},Qcb=function(a,b){var c=2,d={};
try{var e=_.zz(_.OG,b);c=_.Tj(e,1,0);var h=e.getMessage();_.Ua(e,yK,3).length&&(d["grpc-web-status-details-bin"]=b)}catch(l){a.JSC$38670_xhr_&&404===a.JSC$38670_xhr_.getStatus()?(c=5,h="Not Found: "+String(a.JSC$38670_xhr_.JSC$35989_lastUri_)):(c=14,h="Unable to parse RpcStatus: "+l)}return{code:c,details:h,metadata:d}};
RK.prototype.on=function(a,b){"data"==a?this.onDataCallbacks_.push(b):"metadata"==a?this.onMetadataCallbacks_.push(b):"status"==a?this.onStatusCallbacks_.push(b):"end"==a?this.onEndCallbacks_.push(b):"error"==a&&this.JSC$38670_onErrorCallbacks_.push(b);return this};
var VK=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};
RK.prototype.removeListener=function(a,b){"data"==a?VK(this.onDataCallbacks_,b):"metadata"==a?VK(this.onMetadataCallbacks_,b):"status"==a?VK(this.onStatusCallbacks_,b):"end"==a?VK(this.onEndCallbacks_,b):"error"==a&&VK(this.JSC$38670_onErrorCallbacks_,b);return this};
RK.prototype.cancel=function(){this.JSC$38670_xhr_.abort()};
var Pcb=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},TK=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},SK=function(a,b){for(var c=0;c<a.JSC$38670_onErrorCallbacks_.length;c++)a.JSC$38670_onErrorCallbacks_[c](b)};
RK.prototype.cancel=RK.prototype.cancel;RK.prototype.removeListener=RK.prototype.removeListener;RK.prototype.on=RK.prototype.on;
var Scb=function(){this.isInputValid_=!0;this.JSC$38677_streamPos_=0;this.leftoverInput_=""};
Scb.prototype.isInputValid=function(){return this.isInputValid_};
var BJ=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.JSC$38680_streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};
BJ.prototype.isInputValid=function(){return 3!=this.state_};
var WK=function(a,b,c,d){a.state_=3;a.errorMessage_="The stream is broken @"+a.JSC$38680_streamPos_+"/"+c+". Error: "+d+". With input:\n"+b;throw Error(a.errorMessage_);};
BJ.prototype.acceptsBinaryInput=function(){return!0};
BJ.prototype.parse=function(a){function b(p){p&128&&WK(h,l,m,"invalid tag");2!=(p&7)&&WK(h,l,m,"invalid wire type");h.tag_=p>>>3;1!=h.tag_&&2!=h.tag_&&15!=h.tag_&&WK(h,l,m,"unexpected tag");h.state_=1;h.length_=0;h.countLengthBytes_=0}
function c(p){h.countLengthBytes_++;5==h.countLengthBytes_&&p&240&&WK(h,l,m,"message length too long");h.length_|=(p&127)<<7*(h.countLengthBytes_-1);p&128||(h.state_=2,h.countMessageBytes_=0,"undefined"!==typeof Uint8Array?h.messageBuffer_=new Uint8Array(h.length_):h.messageBuffer_=Array(h.length_),0==h.length_&&e())}
function d(p){h.messageBuffer_[h.countMessageBytes_++]=p;h.countMessageBytes_==h.length_&&e()}
function e(){if(15>h.tag_){var p={};p[h.tag_]=h.messageBuffer_;h.result_.push(p)}h.state_=0}
for(var h=this,l=a instanceof Array?a:new Uint8Array(a),m=0;m<l.length;){switch(h.state_){case 3:WK(h,l,m,"stream already broken");break;case 0:b(l[m]);break;case 1:c(l[m]);break;case 2:d(l[m]);break;default:throw Error("cf`"+h.state_);}h.JSC$38680_streamPos_++;m++}a=h.result_;h.result_=[];return 0<a.length?a:null};
var CJ=function(){this.errorMessage_=null;this.JSC$38683_streamPos_=0;this.base64Decoder_=new Scb;this.pbParser_=new BJ};
CJ.prototype.isInputValid=function(){return null===this.errorMessage_};
var Tcb=function(a,b,c){a.errorMessage_="The stream is broken @"+a.JSC$38683_streamPos_+". Error: "+c+". With input:\n"+b;throw Error(a.errorMessage_);};
CJ.prototype.acceptsBinaryInput=function(){return!1};
CJ.prototype.parse=function(a){null!==this.errorMessage_&&Tcb(this,a,"stream already broken");var b=null;try{var c=this.base64Decoder_;if(!c.isInputValid_)throw c.isInputValid_=!1,Error("bf`"+c.JSC$38677_streamPos_+"`stream already broken`"+a);c.leftoverInput_+=a;var d=Math.floor(c.leftoverInput_.length/4);if(0==d)var e=null;else{try{var h=_.i1a(c.leftoverInput_.slice(0,4*d))}catch(p){var l=c.leftoverInput_,m=p.message;c.isInputValid_=!1;throw Error("bf`"+c.JSC$38677_streamPos_+"`"+m+"`"+l);}c.JSC$38677_streamPos_+=
4*d;c.leftoverInput_=c.leftoverInput_.slice(4*d);e=h}b=null===e?null:this.pbParser_.parse(e)}catch(p){Tcb(this,a,p.message)}this.JSC$38683_streamPos_+=a.length;return b};
var XK=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};
var AJ=function(a){this.errorMessage_=null;this.result_=[];this.JSC$38686_buffer_="";this.stack_=[];this.JSC$38686_pos_=this.depth_=0;this.slashed_=!1;this.unicodeCount_=0;this.stringInputPattern_=/[\\"]/g;this.state_=this.streamState_=0;this.deliverMessageAsRawString_=!(!a||!a.deliverMessageAsRawString)},Ucb={INIT:0,
VALUE:1,OBJECT_OPEN:2,OBJECT_END:3,ARRAY_OPEN:4,ARRAY_END:5,STRING:6,KEY_START:7,KEY_END:8,TRUE1:9,TRUE2:10,TRUE3:11,FALSE1:12,FALSE2:13,FALSE3:14,FALSE4:15,NULL1:16,NULL2:17,NULL3:18,NUM_DECIMAL_POINT:19,NUM_DIGIT:20};AJ.prototype.isInputValid=function(){return 3!=this.streamState_};
AJ.prototype.done=function(){return 2===this.streamState_};
var YK=function(a,b,c){a.streamState_=3;a.errorMessage_="The stream is broken @"+a.JSC$38686_pos_+"/"+c+". With input:\n"+b;throw Error(a.errorMessage_);};
AJ.prototype.acceptsBinaryInput=function(){return!1};
AJ.prototype.parse=function(a){function b(){for(;A<a.length;)if(XK(a[A]))A++,h.JSC$38686_pos_++;else break;return A<r}
function c(){for(var E;;){E=a[A++];if(!E)break;h.JSC$38686_pos_++;switch(h.state_){case p.INIT:"{"===E?h.state_=p.OBJECT_OPEN:"["===E?h.state_=p.ARRAY_OPEN:XK(E)||YK(h,a,A);continue;case p.KEY_START:case p.OBJECT_OPEN:if(XK(E))continue;if(h.state_===p.KEY_START)l.push(p.KEY_END);else if("}"===E){e("{}");h.state_=d();continue}else l.push(p.OBJECT_END);'"'===E?h.state_=p.STRING:YK(h,a,A);continue;case p.KEY_END:case p.OBJECT_END:if(XK(E))continue;":"===E?(h.state_===p.OBJECT_END&&(l.push(p.OBJECT_END),
h.depth_++),h.state_=p.VALUE):"}"===E?(h.depth_--,e(),h.state_=d()):","===E?(h.state_===p.OBJECT_END&&l.push(p.OBJECT_END),h.state_=p.KEY_START):YK(h,a,A);continue;case p.ARRAY_OPEN:case p.VALUE:if(XK(E))continue;if(h.state_===p.ARRAY_OPEN)if(h.depth_++,h.state_=p.VALUE,"]"===E){h.depth_--;if(0===h.depth_){h.state_=p.ARRAY_END;return}e("[]");h.state_=d();continue}else l.push(p.ARRAY_END);'"'===E?h.state_=p.STRING:"{"===E?h.state_=p.OBJECT_OPEN:"["===E?h.state_=p.ARRAY_OPEN:"t"===E?h.state_=p.TRUE1:
"f"===E?h.state_=p.FALSE1:"n"===E?h.state_=p.NULL1:"-"!==E&&(-1!=="0123456789".indexOf(E)?h.state_=p.NUM_DIGIT:YK(h,a,A));continue;case p.ARRAY_END:if(","===E)l.push(p.ARRAY_END),h.state_=p.VALUE,1===h.depth_&&(z=A);else if("]"===E){h.depth_--;if(0===h.depth_)return;e();h.state_=d()}else if(XK(E))continue;else YK(h,a,A);continue;case p.STRING:var J=A;a:for(;;){for(;0<h.unicodeCount_;)if(E=a[A++],4===h.unicodeCount_?h.unicodeCount_=0:h.unicodeCount_++,!E)break a;if('"'===E&&!h.slashed_){h.state_=d();
break}if("\\"===E&&!h.slashed_&&(h.slashed_=!0,E=a[A++],!E))break;if(h.slashed_)if(h.slashed_=!1,"u"===E&&(h.unicodeCount_=1),E=a[A++])continue;else break;m.lastIndex=A;E=m.exec(a);if(!E){A=a.length+1;break}A=E.index+1;E=a[E.index];if(!E)break}h.JSC$38686_pos_+=A-J;continue;case p.TRUE1:if(!E)continue;"r"===E?h.state_=p.TRUE2:YK(h,a,A);continue;case p.TRUE2:if(!E)continue;"u"===E?h.state_=p.TRUE3:YK(h,a,A);continue;case p.TRUE3:if(!E)continue;"e"===E?h.state_=d():YK(h,a,A);continue;case p.FALSE1:if(!E)continue;
"a"===E?h.state_=p.FALSE2:YK(h,a,A);continue;case p.FALSE2:if(!E)continue;"l"===E?h.state_=p.FALSE3:YK(h,a,A);continue;case p.FALSE3:if(!E)continue;"s"===E?h.state_=p.FALSE4:YK(h,a,A);continue;case p.FALSE4:if(!E)continue;"e"===E?h.state_=d():YK(h,a,A);continue;case p.NULL1:if(!E)continue;"u"===E?h.state_=p.NULL2:YK(h,a,A);continue;case p.NULL2:if(!E)continue;"l"===E?h.state_=p.NULL3:YK(h,a,A);continue;case p.NULL3:if(!E)continue;"l"===E?h.state_=d():YK(h,a,A);continue;case p.NUM_DECIMAL_POINT:"."===
E?h.state_=p.NUM_DIGIT:YK(h,a,A);continue;case p.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(E))continue;else A--,h.JSC$38686_pos_--,h.state_=d();continue;default:YK(h,a,A)}}}
function d(){var E=l.pop();return null!=E?E:p.VALUE}
function e(E){1<h.depth_||(E||(E=-1===z?h.JSC$38686_buffer_+a.substring(v,A):a.substring(z,A)),h.deliverMessageAsRawString_?h.result_.push(E):h.result_.push(JSON.parse(E)),z=A)}
for(var h=this,l=h.stack_,m=h.stringInputPattern_,p=Ucb,r=a.length,v=0,z=-1,A=0;A<r;)switch(h.streamState_){case 3:return YK(h,a,A),null;case 2:return b()&&YK(h,a,A),null;case 0:if(b()){var D=a[A++];h.JSC$38686_pos_++;if("["===D){h.streamState_=1;v=A;h.state_=p.ARRAY_OPEN;continue}else YK(h,a,A)}return null;case 1:return c(),0===h.depth_&&h.state_==p.ARRAY_END?(h.streamState_=2,h.JSC$38686_buffer_=a.substring(A)):h.JSC$38686_buffer_=-1===z?h.JSC$38686_buffer_+a.substring(v):a.substring(z),0<h.result_.length?
(D=h.result_,h.result_=[],D):null}return null};
var zJ=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.JSC$38691_streamPos_=0;this.result_=[];this.statusParsed_=!1};
zJ.prototype.isInputValid=function(){return null===this.errorMessage_};
zJ.prototype.acceptsBinaryInput=function(){return!1};
zJ.prototype.parse=function(a){function b(p){h.state_=6;h.errorMessage_="The stream is broken @"+h.JSC$38691_streamPos_+"/"+l+". Error: "+p+". With input:\n";throw Error(h.errorMessage_);}
function c(){h.jsonStreamParser_=new AJ({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}
function d(p){if(p)for(var r=0;r<p.length;r++){var v={};v[1]=p[r];h.result_.push(v)}}
function e(p){if(p){(h.statusParsed_||1<p.length)&&b("extra status: "+p);h.statusParsed_=!0;var r={};r[2]=p[0];h.result_.push(r)}}
for(var h=this,l=0;l<a.length;){var m;if(m=2!==h.state_){a:{for(;l<a.length;){if(!XK(a[l])){m=!0;break a}l++;h.JSC$38691_streamPos_++}m=!1}m=!m}if(m)return null;switch(h.state_){case 6:b("stream already broken");break;case 0:"["===a[l]?(h.state_=1,l++,h.JSC$38691_streamPos_++):b("unexpected input token");break;case 1:"["===a[l]?(h.state_=2,c()):","===a[l]||"null,"==a.slice(l,l+5)?h.state_=3:"]"===a[l]?(h.state_=5,l++,h.JSC$38691_streamPos_++):b("unexpected input token");break;case 2:m=h.jsonStreamParser_.parse(a.substring(l));
d(m);h.jsonStreamParser_.done()?(h.state_=3,m=h.jsonStreamParser_.JSC$38686_buffer_,h.JSC$38691_streamPos_+=a.length-l-m.length,a=m,l=0):(h.JSC$38691_streamPos_+=a.length-l,l=a.length);break;case 3:","===a[l]||"null,"==a.slice(l,l+5)?(h.state_=4,c(),h.jsonStreamParser_.parse("["),l+=","===a[l]?1:5,h.JSC$38691_streamPos_++):"]"===a[l]&&(h.state_=5,l++,h.JSC$38691_streamPos_++);break;case 4:m=h.jsonStreamParser_.parse(a.substring(l));e(m);h.jsonStreamParser_.done()?(h.state_=5,m=h.jsonStreamParser_.JSC$38686_buffer_,
h.JSC$38691_streamPos_+=a.length-l-m.length,a=m,l=0):(h.JSC$38691_streamPos_+=a.length-l,l=a.length);break;case 5:b("extra input after stream end")}}return 0<h.result_.length?(a=h.result_,h.result_=[],a):null};
var Vcb=function(a){this.JSC$38694_xhr_=a;this.JSC$38694_parser_=null;this.JSC$38694_status_=this.JSC$38694_pos_=0;this.hasStreamingResponseData_=!1;this.dataHandler_=this.statusHandler_=this.JSC$38694_textDecoder_=null;this.JSC$38694_eventHandler_=new _.bA(this);this.JSC$38694_eventHandler_.listen(this.JSC$38694_xhr_,"readystatechange",this.JSC$38696_readyStateChangeHandler_)},ZK=function(a,b){a.JSC$38694_status_!=b&&(a.JSC$38694_status_=b,a.statusHandler_&&a.statusHandler_())},$K=function(a){a.JSC$38694_eventHandler_.removeAll();
if(a.JSC$38694_xhr_){var b=a.JSC$38694_xhr_;a.JSC$38694_xhr_=null;b.abort();b.dispose()}};
Vcb.prototype.getStatus=function(){return this.JSC$38694_status_};
Vcb.prototype.JSC$38696_readyStateChangeHandler_=function(a){a=a.target;try{if(a==this.JSC$38694_xhr_)a:{var b=_.Qs(this.JSC$38694_xhr_),c=this.JSC$38694_xhr_.JSC$35989_lastErrorCode_,d=this.JSC$38694_xhr_.getStatus(),e=_.Ss(this.JSC$38694_xhr_);a=[];if(this.JSC$38694_xhr_.getResponse()instanceof Array){var h=this.JSC$38694_xhr_.getResponse();0<h.length&&h[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=h)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?ZK(this,7):7==
c?ZK(this,8):d||ZK(this,3)),this.JSC$38694_parser_||(this.JSC$38694_parser_=K7a(this.JSC$38694_xhr_),null==this.JSC$38694_parser_&&ZK(this,5)),2<this.JSC$38694_status_)$K(this);else{if(a.length>this.JSC$38694_pos_){var l=a.length;c=[];try{if(this.JSC$38694_parser_.acceptsBinaryInput())for(var m=0;m<l;m++){var p=this.JSC$38694_parser_.parse(Array.from(a[m]));p&&(c=c.concat(p))}else{p="";if(!this.JSC$38694_textDecoder_){if("undefined"===typeof TextDecoder)throw Error("df");this.JSC$38694_textDecoder_=
new TextDecoder}for(m=0;m<l;m++)p+=this.JSC$38694_textDecoder_.decode(a[m],{stream:4==b&&m==l-1});c=this.JSC$38694_parser_.parse(p)}a.splice(0,l);c&&this.dataHandler_(c)}catch(v){ZK(this,5);$K(this);break a}}else if(e.length>this.JSC$38694_pos_){m=e.slice(this.JSC$38694_pos_);this.JSC$38694_pos_=e.length;try{var r=this.JSC$38694_parser_.parse(m);null!=r&&this.dataHandler_&&this.dataHandler_(r)}catch(v){ZK(this,5);$K(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?ZK(this,2):ZK(this,
4),$K(this)):ZK(this,1)}}}catch(v){ZK(this,6),$K(this)}};
var Wcb=function(a){this.xhrReader_=a;a=(0,_.$i)(this.onData_,this);this.xhrReader_.dataHandler_=a;a=(0,_.$i)(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.JSC$38698_callbackMap_={};this.callbackOnceMap_={}};
_.f=Wcb.prototype;_.f.on=function(a,b){var c=this.JSC$38698_callbackMap_[a];c||(c=[],this.JSC$38698_callbackMap_[a]=c);c.push(b);return this};
_.f.addListener=function(a,b){this.on(a,b);return this};
_.f.removeListener=function(a,b){var c=this.JSC$38698_callbackMap_[a];c&&_.ja(c,b);(a=this.callbackOnceMap_[a])&&_.ja(a,b);return this};
_.f.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};
_.f.onData_=function(a){var b=this.JSC$38698_callbackMap_.data;b&&Xcb(a,b);(b=this.callbackOnceMap_.data)&&Xcb(a,b);this.callbackOnceMap_.data=[]};
var Xcb=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$message$3326:c.$jscomp$loop$prop$message$3326},d++)c.$jscomp$loop$prop$message$3326=a[d],b.forEach(function(e){return function(h){try{h(e.$jscomp$loop$prop$message$3326)}catch(l){}}}(c))};
Wcb.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:aL(this,"readable");break;case 5:case 6:case 4:case 7:case 3:aL(this,"error");break;case 8:aL(this,"close");break;case 2:aL(this,"end")}};
var aL=function(a,b){var c=a.JSC$38698_callbackMap_[b];c&&c.forEach(function(d){try{d()}catch(e){}});
(c=a.callbackOnceMap_[b])&&c.forEach(function(d){d()});
a.callbackOnceMap_[b]=[]};
var Ycb=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||_.ld("suppressCorsPreflight",a)||!1;this.JSC$38701_withCredentials_=a.withCredentials||_.ld("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},adb=function(a,b,c,d,e){var h=b.substr(0,b.length-e.name.length);
return Zcb(function(l){return new Ncb(function(m,p){var r={},v=$cb(a,l,h);v.on("error",function(z){return p(z)});
v.on("metadata",function(z){r=z});
v.on("data",function(z){var A=r;A=void 0===A?{}:A;m(new IK(z,l.getMethodDescriptor(),A))})})},a.unaryInterceptors_).call(a,ycb(e,c,d)).then(function(l){return l.responseMessage_})},bL=function(a,b,c,d,e){return adb(a,b,c,d,e)};
Ycb.prototype.serverStreaming=function(a,b,c,d){var e=this,h=a.substr(0,a.length-d.name.length);return Zcb(function(l){var m=l.getMethodDescriptor(),p=l.getMetadata(),r=bdb(e,!1);p=cdb(e,p,r,h+m.getName());var v=ddb(r,m.responseDeserializeFn,!0);l=m.requestSerializeFn(l.requestMessage_);r.send(p,"POST",l);return v},this.streamInterceptors_).call(this,ycb(d,b,c))};
var $cb=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),h=bdb(a,!0);a=cdb(a,e,h,c+d.getName());c=ddb(h,d.responseDeserializeFn,!1);Rcb(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);h.send(a,"POST",b);return c},bdb=function(a,b){b=a.chunkedServerStreaming_&&!b;
return a.workerScope_||b?new _.Os(new _.PG({worker:a.workerScope_,streamBinaryChunks:b})):new _.Os},cdb=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";
b["X-User-Agent"]="grpc-web-javascript/0.1";var e="Authorization"in b?(e=b.Authorization)?!!{SAPISIDHASH:!0,APISIDHASH:!0}[e.split(" ")[0]]:!1:!1;if(e||a.JSC$38701_withCredentials_)c.JSC$35989_withCredentials_=!0;if(a.suppressCorsPreflight_)d=_.TG(d,"$httpHeaders",b);else for(var h in b)c.headers.set(h,b[h]);return d},ddb=function(a,b,c){if(c)if(!_.Cj||_.Jj(10)){c=new Vcb(a);
var d=new Wcb(c)}else d=null;return new RK({xhr:a,nodeReadableStream:d},b)},Zcb=function(a,b){var c=a;
b.forEach(function(d){var e=c;c=function(h){return d.intercept(h,e)}});
return c};
var edb=function(a){var b={format:"jspb"};this.JSC$38709_client_=new Ycb(b);this.hostname_=a};
_.f=edb.prototype;_.f.JSC$38711_depositGoogleCredential=function(a,b){return bL(this.JSC$38709_client_,this.hostname_+"/$rpc/google.internal.identity.accountlinking.v1.AccountLinkingService/DepositGoogleCredential",a,b||{},Dcb)};
_.f.deleteLink=function(a,b){return bL(this.JSC$38709_client_,this.hostname_+"/$rpc/google.internal.identity.accountlinking.v1.AccountLinkingService/DeleteLink",a,b||{},Acb)};
_.f.JSC$38711_finishOAuth=function(a,b){return bL(this.JSC$38709_client_,this.hostname_+"/$rpc/google.internal.identity.accountlinking.v1.AccountLinkingService/FinishOAuth",a,b||{},Fcb)};
_.f.JSC$38711_getLink=function(a,b){return bL(this.JSC$38709_client_,this.hostname_+"/$rpc/google.internal.identity.accountlinking.v1.AccountLinkingService/GetLink",a,b||{},Jcb)};
_.f.startLinkingSession=function(a,b){return bL(this.JSC$38709_client_,this.hostname_+"/$rpc/google.internal.identity.accountlinking.v1.AccountLinkingService/StartLinkingSession",a,b||{},Lcb)};
var fdb=function(){this.storage=new Map};
var gdb=function(){var a=_.w("LINK_GAL_DOMAIN");this.alsDomain1p=_.w("LINK_GAL_DOMAIN");this.alsDomain3p=a;this.clientEnvironment=0;this.supportedFlows=this.clientXd3=void 0;this.accountLinkingEntryPoint=0;this.dataUsageNoticeConfig=void 0;this.loggerType=0};
var L7a=function(a,b){var c=this;this.validator=a;this.messageListener=b;this.dismissCallback=function(){hdb(c,{errorCode:9,errorMessage:"iFrame closed by parent window"})};
this.JSC$38724_receiveMessage=function(d){"message"===d.type&&(d=d.event_,null!==d&&(new URL(c.iframe.src)).origin===d.origin&&c.validator(d.data,d.origin)&&!c.messageListener(d.data)&&(void 0!==c.JSC$38724_resolveCb&&c.JSC$38724_resolveCb(d.data),idb(c)))}},N7a=function(a,b,c){void 0!==a.uiHandler&&hdb(a,{errorCode:7,
errorMessage:"iFrame window is already open"});return new Promise(function(d,e){a.JSC$38724_resolveCb=d;a.JSC$38724_rejectCb=e;a.iframe=document.createElement("iframe");_.Cb(a.iframe,b);a.uiHandler=c.displayContent(a.iframe,a.dismissCallback);_.Fk(window,"message",a.JSC$38724_receiveMessage,!1,a)})},hdb=function(a,b){void 0!==a.JSC$38724_rejectCb&&a.JSC$38724_rejectCb(b);
idb(a)},idb=function(a){void 0!==a.uiHandler&&a.uiHandler.hideContent();
_.Ik(window,"message",a.JSC$38724_receiveMessage,!1,a);a.JSC$38724_resolveCb=void 0;a.JSC$38724_rejectCb=void 0;a.uiHandler=void 0;a.iframe=void 0};
var FJ=function(a){_.G.call(this,a)};
_.q(FJ,_.G);
var DJ=function(a){_.G.call(this,a)};
_.q(DJ,_.G);var GJ=function(a){_.G.call(this,a)};
_.q(GJ,_.G);var EJ=[1,2,3];
var M7a=new Set(["https://myaccount.google.com","https://myaccount-dev.corp.google.com","https://myaccount-daily-0.corp.google.com","https://myaccount-daily-1.corp.google.com","https://myaccount-autopush.corp.google.com"]),jdb=function(a,b){this.JSC$38744_linkingSession=a;this.noticeConfig=b;this.displayInfoMap=new Map;a=new Map;if(_.rz(this.JSC$38744_linkingSession,7)){b=_.k(_.Ua(_.Va(this.JSC$38744_linkingSession,Icb,7),NK,1));for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=a;var e=c.set,
h=_.Tj(d,1,0);(d=_.Va(d,_.bk,3))?(d=_.ab(d,4),d=null===d||void 0===d?null:_.nb(d)):d=null;e.call(c,h,d)}}if(0<a.size&&void 0!==this.noticeConfig&&0<this.noticeConfig.enabledDataUsageNoticeUis.size){c=this.noticeConfig.enabledDataUsageNoticeUis;b=c.has(0)?a.get(1):void 0;c=c.has(1)?a.get(2):void 0;a=void 0!==b&&void 0!==c?a.get(3):void 0;e=this.noticeConfig.nestedOrigins;h=new DJ;d=new GJ;h=_.Of(h,2,EJ,d);d=new DJ;var l=new GJ;d=_.Of(d,3,EJ,l);l=[];void 0!==b&&(this.displayInfoMap.set(1,[{trustedUrl:b,
lastEvent:h,nestedOrigins:e}]),l.push({trustedUrl:b,lastEvent:h,nestedOrigins:e}));void 0!==c&&(this.displayInfoMap.set(2,[{trustedUrl:c,lastEvent:d,nestedOrigins:e}]),l.push({trustedUrl:c,lastEvent:d,nestedOrigins:e}));void 0!==a?this.displayInfoMap.set(3,[{trustedUrl:a,lastEvent:d,nestedOrigins:e}]):this.displayInfoMap.set(3,l)}};
var kdb=function(a){var b=new fdb;this.galService=a;this.galCache=b};
kdb.prototype.deleteLink=function(a,b){var c=this;return _.y(function(d){c.galCache.storage.delete(a);return d.return(c.galService.deleteLink({serviceId:a,sessionId:Math.floor(2147483648*Math.random()),accountLinkingEntryPoint:b}).then(function(){return!0}))})};
var mdb=function(a){var b=this;this.validator=a;this.closedPopupTimeout=this.JSC$38760_rejectCb=this.JSC$38760_resolveCb=this.popup=null;this.JSC$38760_receiveMessage=function(c){if(null!==c&&(c=c.event_,c.source===b.popup)){var d=c.data;b.validator(d,c.origin)&&(null!==b.JSC$38760_resolveCb&&b.JSC$38760_resolveCb(d),ldb(b))}}};
mdb.prototype.open=function(a,b){var c=this;null!==this.popup&&ndb(this);return new Promise(function(d,e){c.JSC$38760_resolveCb=d;c.JSC$38760_rejectCb=e;c.popup=_.ZE(a,null,_.jb(""),b);_.Fk(window,"message",c.JSC$38760_receiveMessage,!1,c);odb(c)})};
var ndb=function(a,b){null!==a.JSC$38760_rejectCb&&a.JSC$38760_rejectCb(b);ldb(a)},ldb=function(a){a.closedPopupTimeout&&(a.closedPopupTimeout.cancel(),a.closedPopupTimeout=null);
a.popup&&a.popup.close();_.Ik(window,"message",a.JSC$38760_receiveMessage,!1,a);a.popup=null;a.JSC$38760_resolveCb=null;a.JSC$38760_rejectCb=null},odb=function(a){a.closedPopupTimeout=_.qPa(100).then(function(){a.popup?a.popup.closed?pdb(a):odb(a):ndb(a,{errorCode:8,
errorMessage:"Popup blocked by the browser"})},function(){})},pdb=function(a){a.closedPopupTimeout=_.qPa(100).then(function(){ndb(a,{errorCode:9,
errorMessage:"Popup closed by the user"})},function(){})};
var qdb=new Set(["https://oauth-redirect.googleusercontent.com","https://oauth-redirect-sandbox.googleusercontent.com","https://oauth-redirect-test.googleusercontent.com"]),rdb=function(a,b,c,d,e,h,l){var m=this;this.serviceId=a;this.sessionId=b;this.galService=c;this.oauthDetails=d;this.interactionMode=e;this.redirectServiceUrl=h;this.consentLanguageKeys=l;this.started=!1;this.JSC$38766_dataValidator=function(p,r){var v=qdb.has(r);v||void 0===m.redirectServiceUrl||(v=m.redirectServiceUrl===r);return v?
"gdi"===p.sentinel:!1}};
rdb.prototype.complete=function(){var a=this,b;return _.y(function(c){if(1!==a.interactionMode)return c.return(Promise.resolve({statusCode:7,statusMessage:"Flow completion is only supported for redirect mode"}));b=IJ.getRedirectStateFromUri();return null===b?c.return(Promise.resolve({statusCode:12,statusMessage:"redirect_state is missing in URI"})):c.return(sdb(a,b,a.consentLanguageKeys))})};
rdb.prototype.start=function(){var a=this,b;return _.y(function(c){if(a.started)return c.return(Promise.resolve({statusCode:12,statusMessage:"OAuth flow is already active."}));if(!_.Vj(a.oauthDetails,1))return c.return(Promise.resolve({statusCode:7,statusMessage:"OAuth flow does not have redirect URL"}));if(1===a.interactionMode)return IJ.setLocation(_.Vj(a.oauthDetails,1)),c.return(Promise.resolve({statusCode:6,statusMessage:"OAuth flow redirected to different page"}));a.started=!0;b=IJ.getPostMessagePopup(a.JSC$38766_dataValidator);
return c.return(b.open(_.Vj(a.oauthDetails,1),"width=500,height=700,\n        top="+Math.max((window.screen.availHeight-700)/2,0)+",left="+Math.max((window.screen.availWidth-500)/2,0)).then(function(d){a.started=!1;if(void 0!==d.error)throw Error("jf");if(void 0===d.redirect_state)throw Error("kf");return sdb(a,d.redirect_state,a.consentLanguageKeys)}).catch(function(d){a.started=!1;
return void 0!==d.errorCode?{statusCode:d.errorCode,statusMessage:d.errorMessage}:{statusCode:7,statusMessage:"OAuth flow popup page did not return result"}}))})};
var sdb=function(a,b,c){return tdb(a.galService,{serviceId:a.serviceId,sessionId:a.sessionId,redirectState:b,consentLanguageKeys:c}).then(function(d){var e={statusCode:1,link:P7a(_.Va(d,HK,1))};void 0!==v6a(_.Vj(d,3))&&(e.callerState=v6a(_.Vj(d,3)));return e})},IJ={getPostMessagePopup:function(a){return new mdb(a)},
getRedirectStateFromUri:function(){var a=_.Bm(IJ.getLocation()).fragment_;return(new _.zm(a)).get("redirect_state",null)},
getLocation:function(){return window.location.href},
setLocation:function(a){a=_.eI(a);window.location.href=_.zb(a)},
createOAuthFlow:function(a,b){return new rdb(a.serviceId,a.sessionId,a.galService,b,a.interactionMode,a.redirectServiceUrl,a.consentLanguageKeys)}};
var Q7a=function(a){_.G.call(this,a)};
_.q(Q7a,_.G);
var udb=new Set(["https://myaccount.google.com","https://myaccount-dev.corp.google.com","https://myaccount-daily-0.corp.google.com","https://myaccount-daily-1.corp.google.com","https://myaccount-autopush.corp.google.com"]),vdb=function(a,b,c,d,e,h){var l=this;this.serviceId=a;this.sessionId=b;this.galService=c;this.gsiWebFlowDetails=d;this.interactionMode=e;this.redirectServiceUrl=h;this.started=!1;this.JSC$38778_dataValidator=function(m,p){var r=udb.has(p);r||void 0===l.redirectServiceUrl||(r=l.redirectServiceUrl===
p);return r?"gal"===m.sentinel:!1}};
vdb.prototype.complete=function(){var a=this,b,c;return _.y(function(d){if(1!==a.interactionMode)return d.return(Promise.resolve({statusCode:7,statusMessage:"Flow completion is only supported for redirect mode"}));b=JJ.getRedirectStateFromUri();if(void 0===b)return d.return(Promise.resolve({statusCode:12,statusMessage:"redirect_state is missing in URI"}));try{return c=R7a(b),d.return(wdb(a,c))}catch(e){return d.return(Promise.resolve({statusCode:12,statusMessage:"`e`"}))}})};
vdb.prototype.start=function(){var a=this,b;return _.y(function(c){if(a.started)return c.return(Promise.resolve({statusCode:12,statusMessage:"Streamlined flow is already active."}));if(!_.Vj(a.gsiWebFlowDetails,1))return c.return(Promise.resolve({statusCode:7,statusMessage:"Streamlined flow does not have URL"}));if(1===a.interactionMode)return JJ.setLocation(_.Vt(_.Vj(a.gsiWebFlowDetails,1),"result_channel",1===a.interactionMode?"2":"1")),c.return(Promise.resolve({statusCode:6,statusMessage:"Streamlined flow redirected to different page"}));
a.started=!0;b=JJ.getPostMessagePopup(a.JSC$38778_dataValidator);return c.return(b.open(_.Vt(_.Vj(a.gsiWebFlowDetails,1),"result_channel",1===a.interactionMode?"2":"1"),"width=500,height=700,\n        top="+Math.max((window.screen.availHeight-700)/2,0)+",left="+Math.max((window.screen.availWidth-500)/2,0)).then(function(d){a.started=!1;if(void 0===d.result)throw Error("kf");d=R7a(d.result);return wdb(a,d)}).catch(function(d){a.started=!1;
return void 0!==d.errorCode?{statusCode:d.errorCode,statusMessage:d.errorMessage}:{statusCode:7,statusMessage:"Streamlined flow popup page did not return result"}}))})};
var wdb=function(a,b){return null!==b&&_.rz(b,2)?1===_.Tj(_.Va(b,FJ,2),1,0)?Promise.resolve({statusCode:10,statusMessage:"flow cannot start due to recoverable reason"}):Promise.resolve({statusMessage:"Web-endpoint returned an error",statusCode:7}):xdb(a.galService,{serviceId:a.serviceId,sessionId:a.sessionId,consistencyKey:_.Vj(b,1)}).then(function(c){return{statusCode:1,link:P7a(c)}})},JJ={getPostMessagePopup:function(a){return new mdb(a)},
getRedirectStateFromUri:function(){return _.wz(_.Bm(JJ.getLocation()),"redirect_state")},
getLocation:function(){return window.location.href},
setLocation:function(a){a=_.eI(a);window.location.href=_.zb(a)},
createStreamlinedFlow:function(a,b){return new vdb(a.serviceId,a.sessionId,a.galService,b,a.interactionMode,a.redirectServiceUrl)}};
var e8a=function(){var a=new _.nm;this.storage=(a=a.isAvailable()?new _.pm(a,"GAL"):null)?new _.hm(a):null};
var KJ=[6,2,3,1],g8a=new Map([[4,1],[1,6],[2,2],[3,3]]),V7a={statusCode:7,statusMessage:"Failed to create flow object"},c8a=function(a,b,c,d,e,h,l){this.serviceId=a;this.sessionId=b;this.config=c;this.galService=d;this.JSC$38787_linkingSession=e;this.googleScopes=void 0;this.callerState=h;this.consentLanguageKeys=l;this.currentFlow=0;a=this.JSC$38787_linkingSession;b=new Set;_.rz(a,1)&&b.add(1);_.rz(a,2)&&_.rz(a,6)&&b.add(2);_.rz(a,3)&&_.rz(a,6)&&b.add(3);_.rz(a,4)&&b.add(6);this.supportedFlows=b},
ydb=function(a){return new Promise(function(b){var c,d,e,h,l,m,p,r,v,z;
return _.y(function(A){switch(A.nextAddress){case 1:c=a8a(a.currentFlow,a.supportedFlows),d=!1,e=new jdb(a.JSC$38787_linkingSession,a.config.dataUsageNoticeConfig);case 2:if(void 0===c){A.jumpTo(3);break}_.se(A,4);var D=c,E=void 0;d?1===D&&(E=e.displayInfoMap.get(2)):2===D||3===D?E=e.displayInfoMap.get(1):1===D&&(E=e.displayInfoMap.get(3));h=E?E:[];l=a.consentLanguageKeys;m=_.k(h);p=m.next();case 6:if(p.done)return a.currentFlow=c,_.B(A,X7a({flowParams:{serviceId:a.serviceId,sessionId:a.sessionId,
galService:a.galService,interactionMode:a.config.interactionMode,redirectServiceUrl:a.config.redirectServiceUrl,consentLanguageKeys:l},currentFlow:a.currentFlow,config:a.config,session:a.JSC$38787_linkingSession,googleScopes:a.googleScopes,callerState:a.callerState}),10);r=p.value;return _.B(A,O7a(r,a.config.dataUsageNoticeConfig.uiAdapter),9);case 9:v=A.yieldResult;if(1!==v.statusCode)return f8a(a.serviceId),a.currentFlow=0,b(h8a({statusCode:v.statusCode,statusMessage:v.statusMessage},a.callerState)),
A.return();void 0!==v.consentLanguageKeys&&(l=v.consentLanguageKeys);p=m.next();A.jumpTo(6);break;case 10:z=A.yieldResult;if(10!==z.statusCode)return 6!==z.statusCode&&(f8a(a.serviceId),a.currentFlow=0),1!==z.statusCode&&void 0!==a.callerState&&(z.callerState=a.callerState),b(z),A.return();_.te(A,5);break;case 4:_.ue(A);case 5:c=a8a(a.currentFlow,a.supportedFlows);d=!0;A.jumpTo(2);break;case 3:f8a(a.serviceId),a.currentFlow=0,b(h8a({statusCode:12,statusMessage:"Linking failed"},a.callerState)),_.bf(A)}})})};
var q8a=function(a,b){this.config=a;this.galService=b.getService();this.JSC$38800_galRepository=b.JSC$38829_galRepository};
q8a.prototype.deleteLink=function(a){return this.JSC$38800_galRepository.deleteLink(a,this.config.accountLinkingEntryPoint).then(function(){return{statusCode:1}}).catch(function(b){return{statusCode:i8a(b.code),
statusMessage:b.message}})};
q8a.prototype.startLinkingSession=function(a){var b=a.sessionId;return d8a({serviceId:a.serviceId,sessionId:void 0!==b?b:Math.floor(2147483648*Math.random()),config:this.config,galService:this.galService,loginHint:a.loginHint,callerState:a.callerState,consentLanguageKeys:a.consentLanguageKeys})};
var j8a=null,LJ=new WeakMap;
var zdb=function(){};
zdb.prototype.send=function(a,b){p8a(a);return this.makeRequest(a).then(function(c){if(b){var d=new b;if(null!=c){if(null==b)throw Error("nf");new b;throw Error("pf");}c=d}return c})};
var Adb=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};
_.q(Adb,zdb);var Cdb=function(a){return l8a().then(function(b){b=b||window.gapi;Bdb(a,b);return o8a(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
Adb.prototype.makeRequest=function(a){var b=this;return Cdb(this).then(function(c){return _.y(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):_.B(d,n8a(c,b.gapiAuthParams.minAuthTokenTimeRemaining),2);Bdb(b,c);return d.return(Ddb(c.client.request({root:b.gapiUrl,path:a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers,authType:a.authType,apiId:a.apiId||b.defaultApiId})))})})};
var Ddb=function(a){return new Promise(function(b,c){a.then(function(d){b(!1===d.result&&null!=d.body?{data:d.body}:d.result)},function(d){c(!1===d.result&&null!=d.body?{data:d.body}:d.result)})})},Bdb=function(a,b){for(var c in a.gapiConfigUpdates)if(a.gapiConfigUpdates.hasOwnProperty(c)){var d=b,e=a.gapiConfigUpdates[c],h=d.config.get(c);
e!==h&&d.config.update(c,e)}};
var cL=function(a,b,c,d,e,h){this.apiKey=b;this.authUser=c;this.oauthToken=d;this.bucket=e;if(void 0===d){if(void 0===b)throw Error("qf");this.requestService=new Adb(a,b,{"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0,"client/xd4":void 0===h||!1===h,"client/xd3":!0===h})}this.galServiceClient=new edb(a)};
cL.prototype.deleteLink=function(a){var b=a.serviceId,c=a.sessionId,d=a.accountLinkingEntryPoint,e=this,h;return _.y(function(l){var m=new KK;var p=dL(e,c);m=_.eb(m,1,p);p=Edb({serviceId:b});m=_.eb(m,2,p);h=_.Wy(m,3,d);return l.return(e.makeRequest(e.galServiceClient.deleteLink,h))})};
var tdb=function(a,b){var c=b.serviceId,d=b.sessionId,e=b.redirectState,h=b.consentLanguageKeys,l;return _.y(function(m){var p=new MK;var r=dL(a,d);p=_.eb(p,1,r);p=_.Wj(p,2,c);l=_.Wj(p,4,e);void 0!==h&&_.Wj(l,5,h);return m.return(a.makeRequest(a.galServiceClient.JSC$38711_finishOAuth,l))})},xdb=function(a,b){var c=b.serviceId,d=b.sessionId,e=b.scopes,h=b.capabilities,l=b.consistencyKey,m;
return _.y(function(p){var r=new OK;var v=dL(a,d);r=_.eb(r,1,v);v=Edb({serviceId:c,scopes:e,capabilities:h});m=_.eb(r,2,v);void 0!==l&&(r=tcb(),r=_.Wj(r,2,l),_.eb(m,3,r));return p.return(a.makeRequest(a.galServiceClient.JSC$38711_getLink,m))})},Y7a=function(a,b){var c=b.serviceId,d=b.sessionId,e=b.googleScopes,h=b.consistencyKey,l;
return _.y(function(m){var p=new LK;var r=dL(a,d);p=_.eb(p,1,r);p=_.Wj(p,2,c);r=Array.from(e.values());p=_.Uj(p,3,r);r=tcb();r=_.Wj(r,2,h);l=_.eb(p,4,r);return m.return(a.makeRequest(a.galServiceClient.JSC$38711_depositGoogleCredential,l))})};
cL.prototype.startLinkingSession=function(a){var b=a.serviceId,c=a.sessionId,d=a.scopes,e=a.capabilities,h=a.loginHint,l=a.supportedFlows,m=a.completionUrl,p=a.usePingPong,r=a.twoWayLinking,v=a.accountLinkingEntryPoint,z=a.callerState,A=a.consentLanguageKeys,D=this,E;return _.y(function(J){if(void 0!==e&&void 0!==d)throw Error("rf");var R=new PK;var da=dL(D,c);R=_.eb(R,1,da);E=_.Wj(R,2,b);void 0!==e?(R=Array.from(e.values()),_.Uj(E,5,R)):void 0!==d&&(R=Array.from(d.values()),_.Uj(E,3,R));void 0!==
m&&_.Wj(E,6,m);void 0!==p&&_.Yy(E,15,p);void 0!==l&&(R=Array.from(l.values()),_.Uj(E,4,R));void 0!==r&&_.Yy(E,8,r);void 0!==v&&_.Wy(E,9,v);void 0!==h&&_.Wj(E,13,h);void 0!==z&&(R=(new TextEncoder).encode(z),Oab(E,12,R));void 0!==A&&_.Wj(E,16,A);return J.return(D.makeRequest(D.galServiceClient.startLinkingSession,E))})};
cL.prototype.getMetadata=function(){var a=this,b,c,d;return _.y(function(e){if(1==e.nextAddress)return b={},a.requestService?_.B(e,Cdb(a.requestService),3):(b.Authorization="Bearer "+a.oauthToken,e.jumpTo(2));2!=e.nextAddress&&(c=e.yieldResult,b["X-Goog-Api-Key"]=a.apiKey,b["X-Goog-AuthUser"]=void 0!==a.authUser?a.authUser.toString():"0",(d=c.auth.getAuthHeaderValueForFirstParty([]))&&(b.Authorization=d));return e.return(b)})};
cL.prototype.makeRequest=function(a,b){var c=this,d;return _.y(function(e){if(1==e.nextAddress)return _.B(e,c.getMetadata(),2);d=e.yieldResult;return e.return(a.bind(c.galServiceClient)(b,d))})};
var dL=function(a,b){var c=new ucb;_.Kt(c,2,b);_.Wy(c,5,3);void 0!==a.bucket&&_.Wj(c,1,a.bucket);return c},Edb=function(a){var b=a.serviceId,c=a.scopes;
a=a.capabilities;if(void 0!==a&&void 0!==c)throw Error("rf");var d=new rcb;b=_.Wj(d,1,b);void 0!==a?(c=Array.from(a.values()),_.Uj(b,5,c)):void 0!==c&&(c=Array.from(c.values()),_.Uj(b,3,c));return b};
var r8a=function(a){this.galService=new cL(a.alsDomain,a.apiKey,a.authUser,a.oauthToken,a.bucket,a.clientXd3);this.JSC$38829_galRepository=new kdb(this.galService)};
r8a.prototype.getService=function(){return this.galService};
var Gdb=function(a){var b=Fdb;return function(c){var d=new b(c.data);a(new _.YYa(d,c.channel))}};
var TJ=function(a,b,c){_.uk.call(this);this.JSC$38830_listener_=a;this.JSC$38830_interval_=b||0;this.handler_=c;this.callback_=(0,_.$i)(this.JSC$38832_doAction_,this)};
_.cj(TJ,_.uk);_.f=TJ.prototype;_.f.JSC$38832_id_=0;_.f.disposeInternal=function(){TJ.superClass_.disposeInternal.call(this);this.stop();delete this.JSC$38830_listener_;delete this.handler_};
_.f.start=function(a){this.stop();this.JSC$38832_id_=_.Wk(this.callback_,void 0!==a?a:this.JSC$38830_interval_)};
_.f.stop=function(){this.isActive()&&_.Xk(this.JSC$38832_id_);this.JSC$38832_id_=0};
_.f.fire=function(){this.stop();this.JSC$38832_doAction_()};
_.f.isActive=function(){return 0!=this.JSC$38832_id_};
_.f.JSC$38832_doAction_=function(){this.JSC$38832_id_=0;this.JSC$38830_listener_&&this.JSC$38830_listener_.call(this.handler_)};
var eL=function(a,b,c){if(isNaN(a)||0>a||255<a||isNaN(b)||0>b||255<b||isNaN(c)||0>c||255<c||isNaN(1))throw Error("sf`"+a+"`"+b+"`"+c+"`1");a=[a,b,c,1];b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
var gL=function(a){fL.dispatchEvent(new Hdb(fL,a))},fL=new _.Kk,Hdb=function(a){_.yk.call(this,"statevent",a)};
_.q(Hdb,_.yk);
var hL=function(a,b,c,d,e){this.JSC$38835_channel_=a;this.JSC$38835_channelDebug_=b;this.sid_=c;this.JSC$38835_rid_=d;this.JSC$38835_retryId_=e||1;this.timeout_=45E3;this.JSC$38835_eventHandler_=new _.bA(this);this.JSC$38835_pollingTimer_=new _.Vk;this.JSC$38835_pollingTimer_.setInterval(250)};
_.f=hL.prototype;_.f.JSC$38837_extraHeaders_=null;_.f.JSC$38837_successful_=!1;_.f.JSC$38837_watchDogTimerId_=null;_.f.JSC$38837_watchDogTimeoutTime_=null;_.f.JSC$38837_requestStartTime_=null;_.f.JSC$38837_type_=null;_.f.JSC$38837_baseUri_=null;_.f.JSC$38837_requestUri_=null;_.f.JSC$38837_postData_=null;_.f.JSC$38837_xmlHttp_=null;_.f.JSC$38837_xmlHttpChunkStart_=0;_.f.trident_=null;_.f.JSC$38837_verb_=null;_.f.JSC$38837_lastError_=null;_.f.JSC$38837_lastStatusCode_=-1;_.f.sendClose_=!0;
_.f.JSC$38837_cancelled_=!1;_.f.JSC$38837_readyStateChangeThrottleMs_=0;_.f.JSC$38837_readyStateChangeThrottle_=null;var Idb=function(a,b){switch(a){case 0:return"Non-200 return code ("+b+")";case 1:return"XMLHTTP failure (no data)";case 2:return"HttpConnection timeout";default:return"Unknown error"}},Jdb={},Kdb={};
hL.prototype.setTimeout=function(a){this.timeout_=a};
var Mdb=function(a,b,c){a.JSC$38837_type_=1;a.JSC$38837_baseUri_=_.xz(b.clone());a.JSC$38837_postData_=c;a.decodeChunks_=!0;Ldb(a,null)},Ndb=function(a,b,c,d,e){a.JSC$38837_type_=1;
a.JSC$38837_baseUri_=_.xz(b.clone());a.JSC$38837_postData_=null;a.decodeChunks_=c;e&&(a.sendClose_=!1);Ldb(a,d)},Ldb=function(a,b){a.JSC$38837_requestStartTime_=Date.now();
iL(a);a.JSC$38837_requestUri_=a.JSC$38837_baseUri_.clone();_.IG(a.JSC$38837_requestUri_,"t",a.JSC$38835_retryId_);a.JSC$38837_xmlHttpChunkStart_=0;a.JSC$38837_xmlHttp_=a.JSC$38835_channel_.JSC$38844_createXhrIo(a.JSC$38835_channel_.JSC$38844_shouldUseSecondaryDomains()?b:null);0<a.JSC$38837_readyStateChangeThrottleMs_&&(a.JSC$38837_readyStateChangeThrottle_=new _.wv((0,_.$i)(a.JSC$38837_xmlHttpHandler_,a,a.JSC$38837_xmlHttp_),a.JSC$38837_readyStateChangeThrottleMs_));a.JSC$38835_eventHandler_.listen(a.JSC$38837_xmlHttp_,
"readystatechange",a.JSC$38837_readyStateChangeHandler_);b=a.JSC$38837_extraHeaders_?_.u.clone(a.JSC$38837_extraHeaders_):{};a.JSC$38837_postData_?(a.JSC$38837_verb_="POST",b["Content-Type"]="application/x-www-form-urlencoded",a.JSC$38837_xmlHttp_.send(a.JSC$38837_requestUri_,a.JSC$38837_verb_,a.JSC$38837_postData_,b)):(a.JSC$38837_verb_="GET",a.sendClose_&&!_.Fj&&(b.Connection="close"),a.JSC$38837_xmlHttp_.send(a.JSC$38837_requestUri_,a.JSC$38837_verb_,null,b));a.JSC$38835_channel_.notifyServerReachabilityEvent(1);
b=a.JSC$38835_channelDebug_;var c=a.JSC$38837_postData_;if(c){var d="";c=c.split("&");for(var e=0;e<c.length;e++){var h=c[e].split("=");if(1<h.length){var l=h[0];h=h[1];var m=l.split("_");d=2<=m.length&&"type"==m[1]?d+(l+"="+h+"&"):d+(l+"=redacted&")}}}else d=null;b.info("XMLHTTP REQ ("+a.JSC$38835_rid_+") [attempt "+a.JSC$38835_retryId_+"]: "+a.JSC$38837_verb_+"\n"+a.JSC$38837_requestUri_+"\n"+d)};
hL.prototype.JSC$38837_readyStateChangeHandler_=function(a){a=a.target;var b=this.JSC$38837_readyStateChangeThrottle_;b&&3==_.Qs(a)?(this.JSC$38835_channelDebug_.debug("Throttling readystatechange."),b.fire()):this.JSC$38837_xmlHttpHandler_(a)};
hL.prototype.JSC$38837_xmlHttpHandler_=function(a){try{if(a==this.JSC$38837_xmlHttp_)a:{var b=_.Qs(this.JSC$38837_xmlHttp_),c=this.JSC$38837_xmlHttp_.JSC$35989_lastErrorCode_,d=this.JSC$38837_xmlHttp_.getStatus();if(_.Cj&&!_.Jj(10)||_.Fj&&!_.Ij("420+")){if(4>b)break a}else if(3>b||3==b&&!_.Ss(this.JSC$38837_xmlHttp_))break a;this.JSC$38837_cancelled_||4!=b||7==c||(8==c||0>=d?this.JSC$38835_channel_.notifyServerReachabilityEvent(3):this.JSC$38835_channel_.notifyServerReachabilityEvent(2));Odb(this);
var e=this.JSC$38837_xmlHttp_.getStatus();this.JSC$38837_lastStatusCode_=e;var h=_.Ss(this.JSC$38837_xmlHttp_);h||this.JSC$38835_channelDebug_.debug("No response text for uri "+this.JSC$38837_requestUri_+" status "+e);this.JSC$38837_successful_=200==e;this.JSC$38835_channelDebug_.info("XMLHTTP RESP ("+this.JSC$38835_rid_+") [ attempt "+this.JSC$38835_retryId_+"]: "+this.JSC$38837_verb_+"\n"+this.JSC$38837_requestUri_+"\n"+b+" "+e);if(this.JSC$38837_successful_){4==b&&jL(this);if(this.decodeChunks_){for(a=
!0;!this.JSC$38837_cancelled_&&this.JSC$38837_xmlHttpChunkStart_<h.length;){var l=Pdb(this,h);if(l==Kdb){4==b&&(this.JSC$38837_lastError_=4,gL(15),a=!1);kL(this.JSC$38835_channelDebug_,this.JSC$38835_rid_,null,"[Incomplete Response]");break}else if(l==Jdb){this.JSC$38837_lastError_=4;gL(16);kL(this.JSC$38835_channelDebug_,this.JSC$38835_rid_,h,"[Invalid Chunk]");a=!1;break}else kL(this.JSC$38835_channelDebug_,this.JSC$38835_rid_,l,null),Qdb(this,l)}4==b&&0==h.length&&(this.JSC$38837_lastError_=1,
gL(17),a=!1);this.JSC$38837_successful_=this.JSC$38837_successful_&&a;a||(kL(this.JSC$38835_channelDebug_,this.JSC$38835_rid_,h,"[Invalid Chunked Response]"),jL(this),lL(this))}else kL(this.JSC$38835_channelDebug_,this.JSC$38835_rid_,h,null),Qdb(this,h);this.JSC$38837_successful_&&!this.JSC$38837_cancelled_&&(4==b?this.JSC$38835_channel_.JSC$38844_onRequestComplete(this):(this.JSC$38837_successful_=!1,iL(this)))}else 400==e&&0<h.indexOf("Unknown SID")?(this.JSC$38837_lastError_=3,gL(13),this.JSC$38835_channelDebug_.warning("XMLHTTP Unknown SID ("+
this.JSC$38835_rid_+")")):(this.JSC$38837_lastError_=0,gL(14),this.JSC$38835_channelDebug_.warning("XMLHTTP Bad status "+e+" ("+this.JSC$38835_rid_+")")),jL(this),lL(this)}else this.JSC$38835_channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(m){this.JSC$38835_channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_")}finally{}};
var Pdb=function(a,b){var c=a.JSC$38837_xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return Kdb;c=Number(b.substring(c,d));if(isNaN(c))return Jdb;d+=1;if(d+c>b.length)return Kdb;b=b.slice(d,d+c);a.JSC$38837_xmlHttpChunkStart_=d+c;return b},Rdb=function(a,b){a.JSC$38837_requestStartTime_=Date.now();
iL(a);var c=b?window.location.hostname:"";a.JSC$38837_requestUri_=a.JSC$38837_baseUri_.clone();_.vz(a.JSC$38837_requestUri_,"DOMAIN",c);_.vz(a.JSC$38837_requestUri_,"t",a.JSC$38835_retryId_);try{a.trident_=new ActiveXObject("htmlfile")}catch(p){jL(a);a.JSC$38837_lastError_=7;gL(22);lL(a);return}var d="<html><body>";if(b){var e="";for(b=0;b<c.length;b++){var h=c.charAt(b);if("<"==h)h=e+"\\x3c";else if(">"==h)h=e+"\\x3e";else{if(h in zK)h=zK[h];else if(h in Uab)h=zK[h]=Uab[h];else{var l=h.charCodeAt(0);
if(31<l&&127>l)var m=h;else{if(256>l){if(m="\\x",16>l||256<l)m+="0"}else m="\\u",4096>l&&(m+="0");m+=l.toString(16).toUpperCase()}h=zK[h]=m}h=e+h}e=h}d+='<script>document.domain="'+e+'"\x3c/script>'}d+="</body></html>";c=_.Jd(_.jb("b/12014412"),d);a.trident_.open();a.trident_.write(_.tb(c));a.trident_.close();a.trident_.parentWindow.m=(0,_.$i)(a.onTridentRpcMessage_,a);a.trident_.parentWindow.d=(0,_.$i)(a.onTridentDone_,a,!0);a.trident_.parentWindow.rpcClose=(0,_.$i)(a.onTridentDone_,a,!1);c=a.trident_.createElement("DIV");
a.trident_.parentWindow.document.body.appendChild(c);d=_.It(a.JSC$38837_requestUri_.toString());d=_.Lw(_.yb(d));d=_.Jd(_.jb("b/12014412"),'<iframe src="'+d+'"></iframe>');_.yz(c,d);a.JSC$38835_channelDebug_.info("TRIDENT REQ ("+a.JSC$38835_rid_+") [ attempt "+a.JSC$38835_retryId_+"]: GET\n"+a.JSC$38837_requestUri_);a.JSC$38835_channel_.notifyServerReachabilityEvent(1)};
_.f=hL.prototype;_.f.onTridentRpcMessage_=function(a){MJ((0,_.$i)(this.onTridentRpcMessageAsync_,this,a),0)};
_.f.onTridentRpcMessageAsync_=function(a){if(!this.JSC$38837_cancelled_){var b=this.JSC$38835_channelDebug_;b.info("TRIDENT TEXT ("+this.JSC$38835_rid_+"): "+Sdb(b,a));Odb(this);Qdb(this,a);iL(this)}};
_.f.onTridentDone_=function(a){MJ((0,_.$i)(this.onTridentDoneAsync_,this,a),0)};
_.f.onTridentDoneAsync_=function(a){this.JSC$38837_cancelled_||(this.JSC$38835_channelDebug_.info("TRIDENT TEXT ("+this.JSC$38835_rid_+"): "+a?"success":"failure"),jL(this),this.JSC$38837_successful_=a,this.JSC$38835_channel_.JSC$38844_onRequestComplete(this),this.JSC$38835_channel_.notifyServerReachabilityEvent(4))};
_.f.cancel=function(){this.JSC$38837_cancelled_=!0;jL(this)};
var iL=function(a){a.JSC$38837_watchDogTimeoutTime_=Date.now()+a.timeout_;Tdb(a,a.timeout_)},Tdb=function(a,b){if(null!=a.JSC$38837_watchDogTimerId_)throw Error("Je");
a.JSC$38837_watchDogTimerId_=MJ((0,_.$i)(a.JSC$38837_onWatchDogTimeout_,a),b)},Odb=function(a){a.JSC$38837_watchDogTimerId_&&(_.g.clearTimeout(a.JSC$38837_watchDogTimerId_),a.JSC$38837_watchDogTimerId_=null)};
hL.prototype.JSC$38837_onWatchDogTimeout_=function(){this.JSC$38837_watchDogTimerId_=null;var a=Date.now();0<=a-this.JSC$38837_watchDogTimeoutTime_?this.handleTimeout_():(this.JSC$38835_channelDebug_.warning("WatchDog timer called too early"),Tdb(this,this.JSC$38837_watchDogTimeoutTime_-a))};
hL.prototype.handleTimeout_=function(){this.JSC$38835_channelDebug_.info("TIMEOUT: "+this.JSC$38837_requestUri_);2!=this.JSC$38837_type_&&this.JSC$38835_channel_.notifyServerReachabilityEvent(3);jL(this);this.JSC$38837_lastError_=2;gL(18);lL(this)};
var lL=function(a){a.JSC$38835_channel_.JSC$38844_isClosed()||a.JSC$38837_cancelled_||a.JSC$38835_channel_.JSC$38844_onRequestComplete(a)},jL=function(a){Odb(a);
_.Jb(a.JSC$38837_readyStateChangeThrottle_);a.JSC$38837_readyStateChangeThrottle_=null;a.JSC$38835_pollingTimer_.stop();a.JSC$38835_eventHandler_.removeAll();if(a.JSC$38837_xmlHttp_){var b=a.JSC$38837_xmlHttp_;a.JSC$38837_xmlHttp_=null;b.abort();b.dispose()}a.trident_&&(a.trident_=null)};
hL.prototype.getLastError=function(){return this.JSC$38837_lastError_};
var Qdb=function(a,b){try{a.JSC$38835_channel_.JSC$38844_onRequestData(a,b),a.JSC$38835_channel_.notifyServerReachabilityEvent(4)}catch(c){}};
var mL=function(){},kL=function(a,b,c,d){a.info("XMLHTTP TEXT ("+b+"): "+Sdb(a,c)+(d?" "+d:""))};
mL.prototype.debug=function(a){this.info(a)};
mL.prototype.info=function(){};
mL.prototype.warning=function(){};
var Sdb=function(a,b){if(!b||"y2f%"==b)return b;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(2>e.length)){var h=e[1];if(Array.isArray(h)&&!(1>h.length)){var l=h[0];if("noop"!=l&&"stop"!=l)for(var m=1;m<h.length;m++)h[m]=""}}}return(0,_.Il)(c)}catch(p){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};
var Vdb=function(a,b,c,d,e){(new mL).debug("TestLoadImageWithRetries: "+e);if(0==d)c(!1);else{var h=e||0;d--;Udb(a,b,function(l){l?c(!0):_.g.setTimeout(function(){Vdb(a,b,c,d,h)},h)})}},Udb=function(a,b,c){var d=new mL;
d.debug("TestLoadImage: loading "+a);var e=new Image;e.onload=function(){try{d.debug("TestLoadImage: loaded"),nL(e),c(!0)}catch(h){}};
e.onerror=function(){try{d.debug("TestLoadImage: error"),nL(e),c(!1)}catch(h){}};
e.onabort=function(){try{d.debug("TestLoadImage: abort"),nL(e),c(!1)}catch(h){}};
e.ontimeout=function(){try{d.debug("TestLoadImage: timeout"),nL(e),c(!1)}catch(h){}};
_.g.setTimeout(function(){if(e.ontimeout)e.ontimeout()},b);
_.Kw(e,a)},nL=function(a){a.onload=null;
a.onerror=null;a.onabort=null;a.ontimeout=null};
var oL=function(a,b){this.JSC$38842_channel_=a;this.JSC$38842_channelDebug_=b;this.JSC$38842_parser_=new _.UG};
_.f=oL.prototype;_.f.JSC$38844_extraHeaders_=null;_.f.JSC$38844_request_=null;_.f.receivedIntermediateResult_=!1;_.f.JSC$38844_startTime_=null;_.f.firstTime_=null;_.f.lastTime_=null;_.f.JSC$38844_path_=null;_.f.state_=null;_.f.JSC$38844_lastStatusCode_=-1;_.f.JSC$38844_hostPrefix_=null;_.f.blockedPrefix_=null;
_.f.connect=function(a){this.JSC$38844_path_=a;a=Wdb(this.JSC$38842_channel_,this.JSC$38844_path_);gL(3);this.JSC$38844_startTime_=Date.now();var b=this.JSC$38842_channel_.firstTestResults_;null!=b?(this.JSC$38844_hostPrefix_=b[0],(this.blockedPrefix_=b[1])?(this.state_=1,Xdb(this)):(this.state_=2,Ydb(this))):(_.IG(a,"MODE","init"),this.JSC$38844_request_=new hL(this,this.JSC$38842_channelDebug_),this.JSC$38844_request_.JSC$38837_extraHeaders_=this.JSC$38844_extraHeaders_,Ndb(this.JSC$38844_request_,
a,!1,null,!0),this.state_=0)};
var Xdb=function(a){var b=Zdb(a.JSC$38842_channel_,a.blockedPrefix_,"/mail/images/cleardot.gif");_.xz(b);Vdb(b.toString(),5E3,(0,_.$i)(a.checkBlockedCallback_,a),3,2E3);a.notifyServerReachabilityEvent(1)};
oL.prototype.checkBlockedCallback_=function(a){if(a)this.state_=2,Ydb(this);else{gL(4);var b=this.JSC$38842_channel_;b.JSC$38845_channelDebug_.debug("Test Connection Blocked");b.JSC$38849_lastStatusCode_=b.connectionTest_.JSC$38844_lastStatusCode_;pL(b,9)}a&&this.notifyServerReachabilityEvent(2)};
var Ydb=function(a){a.JSC$38842_channelDebug_.debug("TestConnection: starting stage 2");var b=a.JSC$38842_channel_.secondTestResults_;if(null!=b)a.JSC$38842_channelDebug_.debug("TestConnection: skipping stage 2, precomputed result is "+b?"Buffered":"Unbuffered"),gL(5),b?(gL(11),qL(a.JSC$38842_channel_,a,!1)):(gL(12),qL(a.JSC$38842_channel_,a,!0));else if(a.JSC$38844_request_=new hL(a,a.JSC$38842_channelDebug_),a.JSC$38844_request_.JSC$38837_extraHeaders_=a.JSC$38844_extraHeaders_,b=$db(a.JSC$38842_channel_,
a.JSC$38844_hostPrefix_,a.JSC$38844_path_),gL(5),!_.Cj||_.Jj(10))_.IG(b,"TYPE","xmlhttp"),Ndb(a.JSC$38844_request_,b,!1,a.JSC$38844_hostPrefix_,!1);else{_.IG(b,"TYPE","html");var c=a.JSC$38844_request_;a=!!a.JSC$38844_hostPrefix_;c.JSC$38837_type_=3;c.JSC$38837_baseUri_=_.xz(b.clone());Rdb(c,a)}};
_.f=oL.prototype;_.f.JSC$38844_createXhrIo=function(a){return this.JSC$38842_channel_.JSC$38844_createXhrIo(a)};
_.f.abort=function(){this.JSC$38844_request_&&(this.JSC$38844_request_.cancel(),this.JSC$38844_request_=null);this.JSC$38844_lastStatusCode_=-1};
_.f.JSC$38844_isClosed=function(){return!1};
_.f.JSC$38844_onRequestData=function(a,b){this.JSC$38844_lastStatusCode_=a.JSC$38837_lastStatusCode_;if(0==this.state_)if(this.JSC$38842_channelDebug_.debug("TestConnection: Got data for stage 1"),b){try{var c=this.JSC$38842_parser_.parse(b)}catch(d){aeb(this.JSC$38842_channel_,this);return}this.JSC$38844_hostPrefix_=c[0];this.blockedPrefix_=c[1]}else this.JSC$38842_channelDebug_.debug("TestConnection: Null responseText"),aeb(this.JSC$38842_channel_,this);else if(2==this.state_)if(this.receivedIntermediateResult_)gL(7),
this.lastTime_=Date.now();else if("11111"==b){if(gL(6),this.receivedIntermediateResult_=!0,this.firstTime_=Date.now(),a=this.firstTime_-this.JSC$38844_startTime_,!_.Cj||_.Jj(10)||500>a)this.JSC$38844_lastStatusCode_=200,this.JSC$38844_request_.cancel(),this.JSC$38842_channelDebug_.debug("Test connection succeeded; using streaming connection"),gL(12),qL(this.JSC$38842_channel_,this,!0)}else gL(8),this.firstTime_=this.lastTime_=Date.now(),this.receivedIntermediateResult_=!1};
_.f.JSC$38844_onRequestComplete=function(){this.JSC$38844_lastStatusCode_=this.JSC$38844_request_.JSC$38837_lastStatusCode_;this.JSC$38844_request_.JSC$38837_successful_?0==this.state_?(this.JSC$38842_channelDebug_.debug("TestConnection: request complete for initial check"),this.blockedPrefix_?(this.state_=1,Xdb(this)):(this.state_=2,Ydb(this))):2==this.state_&&(this.JSC$38842_channelDebug_.debug("TestConnection: request complete for stage 2"),(!_.Cj||_.Jj(10)?!this.receivedIntermediateResult_:200>
this.lastTime_-this.firstTime_)?(this.JSC$38842_channelDebug_.debug("Test connection failed; not using streaming"),gL(11),qL(this.JSC$38842_channel_,this,!1)):(this.JSC$38842_channelDebug_.debug("Test connection succeeded; using streaming connection"),gL(12),qL(this.JSC$38842_channel_,this,!0))):(this.JSC$38842_channelDebug_.debug("TestConnection: request failed, in state "+this.state_),0==this.state_?gL(9):2==this.state_&&gL(10),aeb(this.JSC$38842_channel_,this,this.JSC$38844_request_.getLastError()))};
_.f.JSC$38844_shouldUseSecondaryDomains=function(){return this.JSC$38842_channel_.JSC$38844_shouldUseSecondaryDomains()};
_.f.isActive=function(){return this.JSC$38842_channel_.isActive()};
_.f.notifyServerReachabilityEvent=function(a){this.JSC$38842_channel_.notifyServerReachabilityEvent(a)};
var rL=function(a,b,c){this.state_=1;this.JSC$38845_outgoingMaps_=[];this.pendingMaps_=[];this.JSC$38845_channelDebug_=new mL;this.JSC$38845_parser_=new _.UG;this.firstTestResults_=a||null;this.secondTestResults_=null!=b?b:null;this.asyncTest_=c||!1},beb=function(a,b){this.JSC$38847_mapId=a;
this.map=b;this.context=null};
_.f=rL.prototype;_.f.JSC$38849_extraHeaders_=null;_.f.JSC$38849_extraParams_=null;_.f.forwardChannelRequest_=null;_.f.JSC$38849_backChannelRequest_=null;_.f.JSC$38849_path_=null;_.f.JSC$38849_forwardChannelUri_=null;_.f.JSC$38849_backChannelUri_=null;_.f.JSC$38849_hostPrefix_=null;_.f.JSC$38849_nextRid_=0;_.f.JSC$38849_nextMapId_=0;_.f.handler_=null;_.f.JSC$38849_forwardChannelTimerId_=null;_.f.JSC$38849_backChannelTimerId_=null;_.f.JSC$38849_deadBackChannelTimerId_=null;_.f.connectionTest_=null;
_.f.useChunked_=null;_.f.JSC$38849_lastArrayId_=-1;_.f.JSC$38849_lastPostResponseArrayId_=-1;_.f.JSC$38849_lastStatusCode_=-1;_.f.JSC$38849_forwardChannelRetryCount_=0;_.f.JSC$38849_backChannelRetryCount_=0;_.f.JSC$38849_channelVersion_=8;var ceb=function(a,b,c,d){_.yk.call(this,"timingevent",a);this.size=b;this.retries=d};
_.cj(ceb,_.yk);var deb=function(a){_.yk.call(this,"serverreachability",a)};
_.cj(deb,_.yk);rL.prototype.connect=function(a,b,c,d,e){this.JSC$38845_channelDebug_.debug("connect()");gL(0);this.JSC$38849_path_=b;this.JSC$38849_extraParams_=c||{};d&&void 0!==e&&(this.JSC$38849_extraParams_.OSID=d,this.JSC$38849_extraParams_.OAID=e);this.asyncTest_?(MJ((0,_.$i)(this.connectTest_,this,a),100),eeb(this)):this.connectTest_(a)};
rL.prototype.disconnect=function(){this.JSC$38845_channelDebug_.debug("disconnect()");feb(this);if(3==this.state_){var a=this.JSC$38849_nextRid_++,b=this.JSC$38849_forwardChannelUri_.clone();_.vz(b,"SID",this.sid_);_.vz(b,"RID",a);_.vz(b,"TYPE","terminate");sL(this,b);a=new hL(this,this.JSC$38845_channelDebug_,this.sid_,a);a.JSC$38837_type_=2;a.JSC$38837_baseUri_=_.xz(b.clone());_.Kw(new Image,a.JSC$38837_baseUri_.toString());a.JSC$38837_requestStartTime_=Date.now();iL(a)}geb(this)};
rL.prototype.connectTest_=function(a){this.JSC$38845_channelDebug_.debug("connectTest_()");this.connectionTest_=new oL(this,this.JSC$38845_channelDebug_);this.connectionTest_.JSC$38844_extraHeaders_=this.JSC$38849_extraHeaders_;this.connectionTest_.JSC$38842_parser_=this.JSC$38845_parser_;this.connectionTest_.connect(a)};
var eeb=function(a){a.JSC$38845_channelDebug_.debug("connectChannel_()");a.JSC$38849_ensureInState_(1,0);a.JSC$38849_forwardChannelUri_=Wdb(a,a.JSC$38849_path_);heb(a)},feb=function(a){a.connectionTest_&&(a.connectionTest_.abort(),a.connectionTest_=null);
a.JSC$38849_backChannelRequest_&&(a.JSC$38849_backChannelRequest_.cancel(),a.JSC$38849_backChannelRequest_=null);a.JSC$38849_backChannelTimerId_&&(_.g.clearTimeout(a.JSC$38849_backChannelTimerId_),a.JSC$38849_backChannelTimerId_=null);tL(a);a.forwardChannelRequest_&&(a.forwardChannelRequest_.cancel(),a.forwardChannelRequest_=null);a.JSC$38849_forwardChannelTimerId_&&(_.g.clearTimeout(a.JSC$38849_forwardChannelTimerId_),a.JSC$38849_forwardChannelTimerId_=null)},ieb=function(a,b){if(0==a.state_)throw Error("tf");
1E3==a.JSC$38845_outgoingMaps_.length&&a.JSC$38845_parser_.stringify(b);a.JSC$38845_outgoingMaps_.push(new beb(a.JSC$38849_nextMapId_++,b));2!=a.state_&&3!=a.state_||heb(a)};
rL.prototype.JSC$38844_isClosed=function(){return 0==this.state_};
rL.prototype.getState=function(){return this.state_};
var heb=function(a){a.forwardChannelRequest_||a.JSC$38849_forwardChannelTimerId_||(a.JSC$38849_forwardChannelTimerId_=MJ((0,_.$i)(a.JSC$38849_onStartForwardChannelTimer_,a),0),a.JSC$38849_forwardChannelRetryCount_=0)};
rL.prototype.JSC$38849_onStartForwardChannelTimer_=function(a){this.JSC$38849_forwardChannelTimerId_=null;jeb(this,a)};
var jeb=function(a,b){a.JSC$38845_channelDebug_.debug("startForwardChannel_");if(1==a.state_){if(!b){a.JSC$38845_channelDebug_.debug("open_()");a.JSC$38849_nextRid_=Math.floor(1E5*Math.random());b=a.JSC$38849_nextRid_++;var c=new hL(a,a.JSC$38845_channelDebug_,"",b);c.JSC$38837_extraHeaders_=a.JSC$38849_extraHeaders_;var d=keb(a),e=a.JSC$38849_forwardChannelUri_.clone();_.vz(e,"RID",b);_.vz(e,"CVER","1");sL(a,e);Mdb(c,e,d);a.forwardChannelRequest_=c;a.state_=2}}else 3==a.state_&&(b?leb(a,b):0==a.JSC$38845_outgoingMaps_.length?
a.JSC$38845_channelDebug_.debug("startForwardChannel_ returned: nothing to send"):a.forwardChannelRequest_||(leb(a),a.JSC$38845_channelDebug_.debug("startForwardChannel_ finished, sent request")))},leb=function(a,b){if(b)if(6<a.JSC$38849_channelVersion_){a.JSC$38845_outgoingMaps_=a.pendingMaps_.concat(a.JSC$38845_outgoingMaps_);
a.pendingMaps_.length=0;var c=a.JSC$38849_nextRid_-1;b=keb(a)}else c=b.JSC$38835_rid_,b=b.JSC$38837_postData_;else c=a.JSC$38849_nextRid_++,b=keb(a);var d=a.JSC$38849_forwardChannelUri_.clone();_.vz(d,"SID",a.sid_);_.vz(d,"RID",c);_.vz(d,"AID",a.JSC$38849_lastArrayId_);sL(a,d);c=new hL(a,a.JSC$38845_channelDebug_,a.sid_,c,a.JSC$38849_forwardChannelRetryCount_+1);c.JSC$38837_extraHeaders_=a.JSC$38849_extraHeaders_;c.setTimeout(1E4+Math.round(1E4*Math.random()));a.forwardChannelRequest_=c;Mdb(c,d,b)},
sL=function(a,b){a.handler_&&(a=a.handler_.JSC$38855_getAdditionalParams())&&_.u.forEach(a,function(c,d){_.vz(b,d,c)})},keb=function(a){var b=Math.min(a.JSC$38845_outgoingMaps_.length,1E3),c=["count="+b];
if(6<a.JSC$38849_channelVersion_&&0<b){var d=a.JSC$38845_outgoingMaps_[0].JSC$38847_mapId;c.push("ofs="+d)}else d=0;for(var e={},h=0;h<b;e={$jscomp$loop$prop$mapId$3333:e.$jscomp$loop$prop$mapId$3333},h++){e.$jscomp$loop$prop$mapId$3333=a.JSC$38845_outgoingMaps_[h].JSC$38847_mapId;var l=a.JSC$38845_outgoingMaps_[h].map;e.$jscomp$loop$prop$mapId$3333=6>=a.JSC$38849_channelVersion_?h:e.$jscomp$loop$prop$mapId$3333-d;try{_.u.forEach(l,function(m){return function(p,r){c.push("req"+m.$jscomp$loop$prop$mapId$3333+
"_"+r+"="+encodeURIComponent(p))}}(e))}catch(m){c.push("req"+e.$jscomp$loop$prop$mapId$3333+"_type="+encodeURIComponent("_badmap"))}}a.pendingMaps_=a.pendingMaps_.concat(a.JSC$38845_outgoingMaps_.splice(0,b));
return c.join("&")},meb=function(a){a.JSC$38849_backChannelRequest_||a.JSC$38849_backChannelTimerId_||(a.JSC$38849_backChannelAttemptId_=1,a.JSC$38849_backChannelTimerId_=MJ((0,_.$i)(a.JSC$38849_onStartBackChannelTimer_,a),0),a.JSC$38849_backChannelRetryCount_=0)},oeb=function(a){if(a.JSC$38849_backChannelRequest_||a.JSC$38849_backChannelTimerId_||3<=a.JSC$38849_backChannelRetryCount_)return!1;
a.JSC$38845_channelDebug_.debug("Going to retry GET");a.JSC$38849_backChannelAttemptId_++;a.JSC$38849_backChannelTimerId_=MJ((0,_.$i)(a.JSC$38849_onStartBackChannelTimer_,a),neb(a,a.JSC$38849_backChannelRetryCount_));a.JSC$38849_backChannelRetryCount_++;return!0};
rL.prototype.JSC$38849_onStartBackChannelTimer_=function(){this.JSC$38849_backChannelTimerId_=null;this.JSC$38845_channelDebug_.debug("Creating new HttpRequest");this.JSC$38849_backChannelRequest_=new hL(this,this.JSC$38845_channelDebug_,this.sid_,"rpc",this.JSC$38849_backChannelAttemptId_);this.JSC$38849_backChannelRequest_.JSC$38837_extraHeaders_=this.JSC$38849_extraHeaders_;this.JSC$38849_backChannelRequest_.JSC$38837_readyStateChangeThrottleMs_=0;var a=this.JSC$38849_backChannelUri_.clone();_.vz(a,
"RID","rpc");_.vz(a,"SID",this.sid_);_.vz(a,"CI",this.useChunked_?"0":"1");_.vz(a,"AID",this.JSC$38849_lastArrayId_);sL(this,a);if(!_.Cj||_.Jj(10))_.vz(a,"TYPE","xmlhttp"),Ndb(this.JSC$38849_backChannelRequest_,a,!0,this.JSC$38849_hostPrefix_,!1);else{_.vz(a,"TYPE","html");var b=this.JSC$38849_backChannelRequest_,c=!!this.JSC$38849_hostPrefix_;b.JSC$38837_type_=3;b.JSC$38837_baseUri_=_.xz(a.clone());Rdb(b,c)}this.JSC$38845_channelDebug_.debug("New Request created")};
var qL=function(a,b,c){a.JSC$38845_channelDebug_.debug("Test Connection Finished");a.useChunked_=c;a.JSC$38849_lastStatusCode_=b.JSC$38844_lastStatusCode_;a.asyncTest_||eeb(a)},aeb=function(a,b){a.JSC$38845_channelDebug_.debug("Test Connection Failed");
a.JSC$38849_lastStatusCode_=b.JSC$38844_lastStatusCode_;pL(a,2)};
rL.prototype.JSC$38844_onRequestData=function(a,b){if(0!=this.state_&&(this.JSC$38849_backChannelRequest_==a||this.forwardChannelRequest_==a))if(this.JSC$38849_lastStatusCode_=a.JSC$38837_lastStatusCode_,this.forwardChannelRequest_==a&&3==this.state_)if(7<this.JSC$38849_channelVersion_){try{var c=this.JSC$38845_parser_.parse(b)}catch(d){c=null}if(Array.isArray(c)&&3==c.length)if(b=c,0==b[0])a:if(this.JSC$38845_channelDebug_.debug("Server claims our backchannel is missing."),this.JSC$38849_backChannelTimerId_)this.JSC$38845_channelDebug_.debug("But we are currently starting the request.");
else{if(this.JSC$38849_backChannelRequest_)if(this.JSC$38849_backChannelRequest_.JSC$38837_requestStartTime_+3E3<this.forwardChannelRequest_.JSC$38837_requestStartTime_)tL(this),this.JSC$38849_backChannelRequest_.cancel(),this.JSC$38849_backChannelRequest_=null;else break a;else this.JSC$38845_channelDebug_.warning("We do not have a BackChannel established");oeb(this);gL(19)}else this.JSC$38849_lastPostResponseArrayId_=b[1],a=this.JSC$38849_lastPostResponseArrayId_-this.JSC$38849_lastArrayId_,0<a&&
(b=b[2],this.JSC$38845_channelDebug_.debug(b+" bytes (in "+a+" arrays) are outstanding on the BackChannel"),37500>b&&this.useChunked_&&0==this.JSC$38849_backChannelRetryCount_&&!this.JSC$38849_deadBackChannelTimerId_&&(this.JSC$38849_deadBackChannelTimerId_=MJ((0,_.$i)(this.JSC$38849_onBackChannelDead_,this),6E3)));else this.JSC$38845_channelDebug_.debug("Bad POST response data returned"),pL(this,11)}else"y2f%"!=b&&(this.JSC$38845_channelDebug_.debug("Bad data returned - missing/invald magic cookie"),
pL(this,11));else this.JSC$38849_backChannelRequest_==a&&tL(this),_.lj(b)||(a=this.JSC$38845_parser_.parse(b),this.onInput_(a))};
rL.prototype.JSC$38849_onBackChannelDead_=function(){null!=this.JSC$38849_deadBackChannelTimerId_&&(this.JSC$38849_deadBackChannelTimerId_=null,this.JSC$38849_backChannelRequest_.cancel(),this.JSC$38849_backChannelRequest_=null,oeb(this),gL(20))};
var tL=function(a){null!=a.JSC$38849_deadBackChannelTimerId_&&(_.g.clearTimeout(a.JSC$38849_deadBackChannelTimerId_),a.JSC$38849_deadBackChannelTimerId_=null)};
rL.prototype.JSC$38844_onRequestComplete=function(a){this.JSC$38845_channelDebug_.debug("Request complete");if(this.JSC$38849_backChannelRequest_==a){tL(this);this.JSC$38849_backChannelRequest_=null;var b=2}else if(this.forwardChannelRequest_==a)this.forwardChannelRequest_=null,b=1;else return;this.JSC$38849_lastStatusCode_=a.JSC$38837_lastStatusCode_;if(0!=this.state_)if(a.JSC$38837_successful_)if(1==b){b=Date.now()-a.JSC$38837_requestStartTime_;var c=fL;c.dispatchEvent(new ceb(c,a.JSC$38837_postData_?
a.JSC$38837_postData_.length:0,b,this.JSC$38849_forwardChannelRetryCount_));heb(this);this.pendingMaps_.length=0}else meb(this);else{c=a.getLastError();if(3==c||7==c||0==c&&0<this.JSC$38849_lastStatusCode_)this.JSC$38845_channelDebug_.debug("Not retrying due to error type");else{this.JSC$38845_channelDebug_.debug("Maybe retrying, last error: "+Idb(c,this.JSC$38849_lastStatusCode_));var d;if(d=1==b)this.forwardChannelRequest_||this.JSC$38849_forwardChannelTimerId_||1==this.state_||2<=this.JSC$38849_forwardChannelRetryCount_?
d=!1:(this.JSC$38845_channelDebug_.debug("Going to retry POST"),this.JSC$38849_forwardChannelTimerId_=MJ((0,_.$i)(this.JSC$38849_onStartForwardChannelTimer_,this,a),neb(this,this.JSC$38849_forwardChannelRetryCount_)),this.JSC$38849_forwardChannelRetryCount_++,d=!0);if(d||2==b&&oeb(this))return;this.JSC$38845_channelDebug_.debug("Exceeded max number of retries")}this.JSC$38845_channelDebug_.debug("Error: HTTP request failed");switch(c){case 1:pL(this,5);break;case 4:pL(this,10);break;case 3:pL(this,
6);break;case 7:pL(this,12);break;default:pL(this,2)}}};
var neb=function(a,b){var c=5E3+Math.floor(1E4*Math.random());a.isActive()||(a.JSC$38845_channelDebug_.debug("Inactive channel"),c*=2);return c*b};
rL.prototype.onInput_=function(a){for(var b=0;b<a.length;b++){var c=a[b];this.JSC$38849_lastArrayId_=c[0];c=c[1];2==this.state_?"c"==c[0]?(this.sid_=c[1],this.JSC$38849_hostPrefix_=c[2],c=c[3],null!=c?this.JSC$38849_channelVersion_=c:this.JSC$38849_channelVersion_=6,this.state_=3,this.handler_&&this.handler_.JSC$38855_channelOpened(),this.JSC$38849_backChannelUri_=$db(this,this.JSC$38849_hostPrefix_,this.JSC$38849_path_),meb(this)):"stop"==c[0]&&pL(this,7):3==this.state_&&("stop"==c[0]?pL(this,7):
"noop"!=c[0]&&this.handler_&&this.handler_.JSC$38855_channelHandleArray(c),this.JSC$38849_backChannelRetryCount_=0)}};
rL.prototype.JSC$38849_ensureInState_=function(a){if(!_.ha(arguments,this.state_))throw Error("uf`"+this.state_);};
var pL=function(a,b){a.JSC$38845_channelDebug_.info("Error code "+b);if(2==b||9==b){var c=null;a.handler_&&(c=null);var d=(0,_.$i)(a.testGoogleComCallback_,a);c||(c=new _.Jh("//www.google.com/images/cleardot.gif"),_.xz(c));Udb(c.toString(),1E4,d)}else gL(2);a.onError_(b)};
rL.prototype.testGoogleComCallback_=function(a){a?(this.JSC$38845_channelDebug_.info("Successfully pinged google.com"),gL(2)):(this.JSC$38845_channelDebug_.info("Failed to ping google.com"),gL(1),this.onError_(8))};
rL.prototype.onError_=function(a){this.JSC$38845_channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.JSC$38855_channelError(a);geb(this);feb(this)};
var geb=function(a){a.state_=0;a.JSC$38849_lastStatusCode_=-1;if(a.handler_)if(0==a.pendingMaps_.length&&0==a.JSC$38845_outgoingMaps_.length)a.handler_.JSC$38855_channelClosed();else{a.JSC$38845_channelDebug_.debug("Number of undelivered maps, pending: "+a.pendingMaps_.length+", outgoing: "+a.JSC$38845_outgoingMaps_.length);var b=_.ka(a.pendingMaps_),c=_.ka(a.JSC$38845_outgoingMaps_);a.pendingMaps_.length=0;a.JSC$38845_outgoingMaps_.length=0;a.handler_.JSC$38855_channelClosed(b,c)}},Wdb=function(a,
b){b=Zdb(a,null,b);
a.JSC$38845_channelDebug_.debug("GetForwardChannelUri: "+b);return b},$db=function(a,b,c){b=Zdb(a,a.JSC$38844_shouldUseSecondaryDomains()?b:null,c);
a.JSC$38845_channelDebug_.debug("GetBackChannelUri: "+b);return b},Zdb=function(a,b,c){var d=_.Bm(c);
if(""!=d.JSC$32753_domain_)b&&_.tm(d,b+"."+d.JSC$32753_domain_),_.um(d,d.JSC$32753_port_);else{var e=window.location;d=_.j1a(e.protocol,b?b+"."+e.hostname:e.hostname,+e.port,c)}a.JSC$38849_extraParams_&&_.u.forEach(a.JSC$38849_extraParams_,function(h,l){_.vz(d,l,h)});
_.vz(d,"VER",a.JSC$38849_channelVersion_);sL(a,d);return d};
rL.prototype.JSC$38844_createXhrIo=function(a){if(a)throw Error("Ke");a=new _.Os;a.JSC$35989_withCredentials_=!1;return a};
rL.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};
rL.prototype.notifyServerReachabilityEvent=function(a){var b=fL;b.dispatchEvent(new deb(b,a))};
rL.prototype.JSC$38844_shouldUseSecondaryDomains=function(){return!(!_.Cj||_.Jj(10))};
var peb=function(){};
_.f=peb.prototype;_.f.JSC$38855_channelOpened=function(){};
_.f.JSC$38855_channelHandleArray=function(){};
_.f.JSC$38855_channelError=function(){};
_.f.JSC$38855_channelClosed=function(){};
_.f.JSC$38855_getAdditionalParams=function(){return{}};
_.f.isActive=function(){return!0};
var uL=function(a){this.map_=new _.Wl;this.size=0;a&&this.addAll(a)},vL=function(a){var b=typeof a;
return"object"==b&&a||"function"==b?"o"+_.qa(a):b.charAt(0)+a};
_.f=uL.prototype;_.f.getCount=function(){return this.map_.size};
_.f.add=function(a){this.map_.set(vL(a),a);this.setSizeInternal_(this.map_.size)};
_.f.addAll=function(a){a=_.qm(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};
_.f.removeAll=function(a){a=_.qm(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
_.f.delete=function(a){a=this.map_.remove(vL(a));this.setSizeInternal_(this.map_.size);return a};
_.f.remove=function(a){return this.delete(a)};
_.f.clear=function(){this.map_.clear();this.setSizeInternal_(0)};
_.f.isEmpty=function(){return 0===this.map_.size};
_.f.has=function(a){return this.map_.containsKey(vL(a))};
_.f.contains=function(a){return this.map_.containsKey(vL(a))};
_.f.getValues=function(){return this.map_.getValues()};
_.f.values=function(){return this.map_.values()};
_.f.clone=function(){return new uL(this)};
_.f.equals=function(a){return this.getCount()==nbb(a)&&qeb(this,a)};
var qeb=function(a,b){var c=nbb(b);if(a.getCount()>c)return!1;!(b instanceof uL)&&5<c&&(b=new uL(b));return obb(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.containsValue&&"function"==typeof e.containsValue?e.containsValue(d):_.la(e)||"string"===typeof e?_.ha(e,d):_.u.containsValue(e,d)})};
uL.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};
uL.prototype[Symbol.iterator]=function(){return this.values()};
uL.prototype.setSizeInternal_=function(a){this.size=a};
/*

Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
var reb;
var seb;
/*

Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
_.Ng({_template:function(){if(void 0!==seb)return seb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:tp-yt-app-drawer--\x3e\x3c!--css_build_styles:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.drawer.tp.yt.app.drawer.css.js--\x3e<div id="scrim" on-click="close"></div>\n\n\n<div id="contentContainer" opened$="[[opened]]" persistent$="[[persistent]]" position$="[[position]]" swipe-open$="[[swipeOpen]]">\n  <slot></slot>\n</div>\n';var b=a.content,
c=b.insertBefore;if(void 0===reb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:third_party.javascript.youtube_components.tp_yt_app_layout.tp.yt.app.drawer.tp.yt.app.drawer.css.js--\x3e<style>/* autoprefixer: off */\n:host {\n  position: fixed;\n  z-index: 1;\n  top: -120px;\n  right: 0;\n  bottom: -120px;\n  left: 0;\n  visibility: hidden;\n  transition-property: visibility;\n}\n\n:host([opened]) {\n  visibility: visible;\n}\n\n:host([persistent]) {\n  width: var(--app-drawer-width, 256px);\n}\n\n:host([persistent][position=left]) {\n  right: auto;\n}\n\n:host([persistent][position=right]) {\n  left: auto;\n}\n\n#contentContainer {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  width: var(--app-drawer-width, 256px);\n  padding: var(--app-drawer-content-padding, 120px 0);\n  transition-property: -webkit-transform;\n  transition-property: transform;\n  -webkit-transform: translate3d(-100%, 0, 0);\n  transform: translate3d(-100%, 0, 0);\n  background-color: #fff;\n  background-color: var(--app-drawer-content-container-background-color);\n}\n\n#contentContainer[persistent] {\n  width: 100%;\n}\n\n#contentContainer[position=right] {\n  right: 0;\n  left: auto;\n  -webkit-transform: translate3d(100%, 0, 0);\n  transform: translate3d(100%, 0, 0);\n}\n\n#contentContainer[swipe-open]::after {\n  position: fixed;\n  top: 0;\n  bottom: 0;\n  left: 100%;\n  visibility: visible;\n  width: 20px;\n  content: "";\n}\n\n#contentContainer[swipe-open][position=right]::after {\n  right: 100%;\n  left: auto;\n}\n\n#contentContainer[opened] {\n  -webkit-transform: translate3d(0, 0, 0);\n  transform: translate3d(0, 0, 0);\n}\n\n#scrim {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  transition-property: opacity;\n  -webkit-transform: translateZ(0);\n  transform: translateZ(0);\n  opacity: 0;\n  background: var(--app-drawer-scrim-background, rgba(0, 0, 0, 0.5));\n}\n\n#scrim.visible {\n  opacity: 1;\n}\n\n:host([no-transition]) #contentContainer {\n  transition-property: none;\n}\n\n/*# sourceMappingURL=tp-yt-app-drawer.css.map */</style>';
reb=d}d=reb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return seb=a},
is:"tp-yt-app-drawer",properties:{opened:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},persistent:{type:Boolean,value:!1,reflectToAttribute:!0},transitionDuration:{type:Number,value:200},align:{type:String,value:"left"},position:{type:String,readOnly:!0,reflectToAttribute:!0},swipeOpen:{type:Boolean,value:!1,reflectToAttribute:!0},noFocusTrap:{type:Boolean,value:!1},disableSwipe:{type:Boolean,value:!1}},observers:["resetLayout(position, isAttached)","_resetPosition(align, isAttached)","_styleTransitionDuration(transitionDuration)",
"_openedPersistentChanged(opened, persistent)"],_translateOffset:0,_trackDetails:null,_drawerState:0,_boundEscKeydownHandler:null,_firstTabStop:null,_lastTabStop:null,attached:function(){_.nt(this,function(){this._boundEscKeydownHandler=this._escKeydownHandler.bind(this);this.addEventListener("keydown",this._tabKeydownHandler.bind(this));this.listen(this,"track","_track");this.setScrollDirection("y")});
this.fire("app-reset-layout")},
detached:function(){document.removeEventListener("keydown",this._boundEscKeydownHandler)},
open:function(){this.opened=!0},
close:function(){this.opened=!1},
toggle:function(){this.opened=!this.opened},
getWidth:function(){return this._savedWidth||this.$.contentContainer.offsetWidth},
_isRTL:function(){return"rtl"===window.getComputedStyle(this).direction},
_resetPosition:function(){switch(this.align){case "start":this._setPosition(this._isRTL()?"right":"left");return;case "end":this._setPosition(this._isRTL()?"left":"right");return}this._setPosition(this.align)},
_escKeydownHandler:function(a){27===a.keyCode&&(a.preventDefault(),this.close())},
_track:function(a){if(!this.persistent&&!this.disableSwipe)switch(a.preventDefault(),a.detail.state){case "start":this._trackStart(a);break;case "track":this._trackMove(a);break;case "end":this._trackEnd(a)}},
_trackStart:function(){this._drawerState=this._DRAWER_STATE.TRACKING;var a=this.$.contentContainer.getBoundingClientRect();this._savedWidth=a.width;this._translateOffset="left"===this.position?a.left:a.right-window.innerWidth;this._trackDetails=[];this._styleTransitionDuration(0);this.style.visibility="visible"},
_trackMove:function(a){this._trackDetails&&(this._translateDrawer(a.detail.dx+this._translateOffset),this._trackDetails.push({dx:a.detail.dx,timeStamp:Date.now()}))},
_trackEnd:function(a){if(this._trackDetails){var b=a.detail.dx+this._translateOffset,c=this.getWidth();b="left"===this.position?0<=b||b<=-c:0>=b||b>=c;if(!b){var d=this._trackDetails;this._trackDetails=null;this._flingDrawer(a,d);if(this._drawerState===this._DRAWER_STATE.FLINGING)return}c/=2;a.detail.dx<-c?this.opened="right"===this.position:a.detail.dx>c&&(this.opened="left"===this.position);b?this.debounce("_resetDrawerState",this._resetDrawerState):this.debounce("_resetDrawerState",this._resetDrawerState,
this.transitionDuration);this._styleTransitionDuration(this.transitionDuration);this._resetDrawerTranslate();this.style.visibility=""}},
_calculateVelocity:function(a,b){for(var c=Date.now(),d=c-100,e,h=0,l=b.length-1;h<=l;){var m=h+l>>1,p=b[m];p.timeStamp>=d?(e=p,l=m-1):h=m+1}return e?(a.detail.dx-e.dx)/(c-e.timeStamp||1):0},
_flingDrawer:function(a,b){b=this._calculateVelocity(a,b);if(!(Math.abs(b)<this._MIN_FLING_THRESHOLD)){this._drawerState=this._DRAWER_STATE.FLINGING;a=a.detail.dx+this._translateOffset;var c=this.getWidth(),d="left"===this.position,e=0<b;e?(b=Math.max(b,this._MIN_TRANSITION_VELOCITY),this.opened="left"===this.position):(b=Math.min(b,-this._MIN_TRANSITION_VELOCITY),this.opened="right"===this.position);b=this._FLING_INITIAL_SLOPE*(!e&&d?-(a+c):e&&!d?c-a:-a)/b;this._styleTransitionDuration(b);this._styleTransitionTimingFunction(this._FLING_TIMING_FUNCTION);
this._resetDrawerTranslate();this.debounce("_resetDrawerState",this._resetDrawerState,b)}},
_styleTransitionDuration:function(a){this.style.transitionDuration=a+"ms";this.$.contentContainer.style.transitionDuration=a+"ms";this.$.scrim.style.transitionDuration=a+"ms"},
_styleTransitionTimingFunction:function(a){this.$.contentContainer.style.transitionTimingFunction=a;this.$.scrim.style.transitionTimingFunction=a},
_translateDrawer:function(a){var b=this.getWidth();"left"===this.position?(a=Math.max(-b,Math.min(a,0)),this.$.scrim.style.opacity=1+a/b):(a=Math.max(0,Math.min(a,b)),this.$.scrim.style.opacity=1-a/b);this.translate3d(a+"px","0","0",this.$.contentContainer)},
_resetDrawerTranslate:function(){this.$.scrim.style.opacity="";this.transform("",this.$.contentContainer)},
_resetDrawerState:function(){var a=this._drawerState;a===this._DRAWER_STATE.FLINGING&&(this._styleTransitionDuration(this.transitionDuration),this._styleTransitionTimingFunction(""),this.style.visibility="");this._savedWidth=null;this._drawerState=this.opened?this.persistent?this._DRAWER_STATE.OPENED_PERSISTENT:this._DRAWER_STATE.OPENED:this._DRAWER_STATE.CLOSED;a!==this._drawerState&&(this._drawerState===this._DRAWER_STATE.OPENED?(this._setKeyboardFocusTrap(),document.addEventListener("keydown",
this._boundEscKeydownHandler),document.body.style.overflow="hidden"):(document.removeEventListener("keydown",this._boundEscKeydownHandler),document.body.style.overflow=""),a!==this._DRAWER_STATE.INIT&&this.fire("app-drawer-transitioned"))},
resetLayout:function(){this.fire("app-reset-layout")},
_setKeyboardFocusTrap:function(){if(!this.noFocusTrap){var a=_.H(this).querySelectorAll('a[href]:not([tabindex="-1"]),area[href]:not([tabindex="-1"]),input:not([disabled]):not([tabindex="-1"]),select:not([disabled]):not([tabindex="-1"]),textarea:not([disabled]):not([tabindex="-1"]),button:not([disabled]):not([tabindex="-1"]),iframe:not([tabindex="-1"]),[tabindex]:not([tabindex="-1"]),[contentEditable=true]:not([tabindex="-1"])');0<a.length?(this._firstTabStop=a[0],this._lastTabStop=a[a.length-1]):
this._lastTabStop=this._firstTabStop=null;(a=this.getAttribute("tabindex"))&&-1<parseInt(a,10)?this.focus():this._firstTabStop&&this._firstTabStop.focus()}},
_tabKeydownHandler:function(a){this.noFocusTrap||this._drawerState!==this._DRAWER_STATE.OPENED||9!==a.keyCode||(a.shiftKey?this._firstTabStop&&_.H(a).localTarget===this._firstTabStop&&(a.preventDefault(),this._lastTabStop.focus()):this._lastTabStop&&_.H(a).localTarget===this._lastTabStop&&(a.preventDefault(),this._firstTabStop.focus()))},
_openedPersistentChanged:function(a,b){this.toggleClass("visible",a&&!b,this.$.scrim);this.debounce("_resetDrawerState",this._resetDrawerState,this.transitionDuration)},
_MIN_FLING_THRESHOLD:.2,_MIN_TRANSITION_VELOCITY:1.2,_FLING_TIMING_FUNCTION:"cubic-bezier(0.667, 1, 0.667, 1)",_FLING_INITIAL_SLOPE:1.5,_DRAWER_STATE:{INIT:0,OPENED:1,OPENED_PERSISTENT:2,CLOSED:3,TRACKING:4,FLINGING:5}});
var NJ=function(a){_.G.call(this,a)};
_.q(NJ,_.G);_.f=NJ.prototype;_.f.getEnableSsEngine=function(){return _.sz(this,2)};
_.f.getEnableAwr=function(){return _.sz(this,3)};
_.f.getEnableHelpSuggestions=function(){return _.sz(this,4)};
_.f.getAlohaAutoGaRollout=function(){return _.sz(this,5)};
_.f.getEnableConfigurator=function(){return _.sz(this,6)};
_.f.getEnableMweb=function(){return _.sz(this,7)};
var C8a=function(a){_.G.call(this,a)};
_.q(C8a,_.G);
var E8a=["https://sandbox.google.com/tools/feedback"];
var u8a="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");
var v8a=_.Pi(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);
var x8a;
var wL=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||_.g,e=d.document,h=a.nonce||_.yj(d);h&&!a.nonce&&(a.nonce=h);if("help"==a.flow){var l=_.ld("document.location.href",d);!a.helpCenterContext&&l&&(a.helpCenterContext=l.substring(0,1200));l=!0;if(b&&JSON&&JSON.stringify){var m=JSON.stringify(b);(l=1200>=m.length)&&(a.psdJson=m)}l||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//www.google.com/tools/feedback";if(l=d.GOOGLE_FEEDBACK_START)l.apply(d,
b);else{d=c+"/load.js?";for(var p in a)b=a[p],null==b||_.pa(b)||(d+=encodeURIComponent(p)+"="+encodeURIComponent(b)+"&");a=_.Wt(e).createElement("SCRIPT");h&&a.setAttribute("nonce",h);_.Fb(a,_.ib(_.jb("serverUri is the endpoint of our own Help API"),d));e.body.appendChild(a)}},tK=function(a,b,c){try{"submit"===a.flow||"help"===a.flow||a.tinyNoPointer?wL(a,b,c):D8a(a.productId,a.serverUri).then(function(d){d=_.Va(d,NJ,1);
if(null==d||!d.getAlohaAutoGaRollout()||_.gpa&&!d.getEnableMweb())wL(a,b,c);else{var e=c||_.g,h="DEV"===a.serverEnvironment,l=c||_.g;l=a.nonce||_.yj(l);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,
defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink},initializationData:{isLocalServer:h,nonce:l,useNightlyRelease:h,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.serverUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,
enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(l=new Map(Object.entries(b)),h.extraData.productSpecificData=l);A8a(h,d,e)}},function(d){d&&"DuplicateFormError"!==d.name&&wL(a,b,c)})}catch(d){wL(a,b,c)}};
_.Fe("userfeedback.api.startFeedback",tK);
var Fdb=function(a){_.G.call(this,a,-1,teb)};
_.q(Fdb,_.G);var teb=[1];
var W8a={FOREGROUND_HEARTBEAT_TRIGGER_UNKNOWN:0,FOREGROUND_HEARTBEAT_TRIGGER_ON_INTERVAL:1,FOREGROUND_HEARTBEAT_TRIGGER_ON_FOREGROUND:2,FOREGROUND_HEARTBEAT_TRIGGER_ON_BACKGROUND:3};
var OJ=function(a,b,c){_.aa.call(this,a+", errorCode="+b);this.errorCode=b;this.xhr=c;this.name="PromiseAjaxError"};
_.q(OJ,_.aa);var G8a=function(a){this.xhr=a};
var xL=function(a){this.wrappedPromise_=void 0===a?null:a;this.state_=0;this.value_=null};
xL.prototype.then=function(a,b,c){return this.wrappedPromise_?this.wrappedPromise_.then(a,b,c):1===this.state_&&a?(a=a.call(c,this.value_))&&"function"===typeof a.then?a:K8a(a):2===this.state_&&b?(a=b.call(c,this.value_))&&"function"===typeof a.then?a:N8a(a):this};
xL.prototype.getValue=function(){return this.value_};
_.Pk(xL);var N8a=function(a){var b=new xL;a=void 0===a?null:a;b.state_=2;b.value_=void 0===a?null:a;return b},K8a=function(a){var b=new xL;
a=void 0===a?null:a;b.state_=1;b.value_=void 0===a?null:a;return b};
var M8a=function(a){_.aa.call(this,a.message||a.description||a.name);this.isMissing=a instanceof QJ;this.isTimeout=a instanceof OJ&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof _.Uk};
_.q(M8a,_.aa);M8a.prototype.name="BiscottiError";var QJ=function(){_.aa.call(this,"Biscotti ID is missing from server")};
_.q(QJ,_.aa);QJ.prototype.name="BiscottiMissingError";var F8a={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},PJ=null,ueb=function(){try{var a=_.ld("yt.ads.biscotti.getId_");return a?a():y6a()}catch(b){return _.Qk(b)}};
var P8a=!1,V8a=0,SJ=null,T8a=null,X8a=_.Jf;
var veb=function(a){_.yk.call(this,"channelMessage");this.message=a};
_.q(veb,_.yk);var web=function(a){_.yk.call(this,"channelError");this.error=a};
_.q(web,_.yk);
var xeb={AUTOPLAY:"atp",SKA_SKIPPABLE_ADS:"ska",QUEUE_SUPPORT:"que",MULTI_USER_SESSIONS:"mus",SINGLE_USER_SESSIONS:"sus",HAS_DISPLAY:"dsp",SCREEN_EXTENDED_QUEUE_SUPPORT:"seq",MIC:"mic",DPAD:"dpa",CAST_DIALOG_SIGN_IN:"cds",MULTISTATE_LOOP_MODE:"mlm",DISCONNECT_STRATEGY_DEFFERRED_TO_RECEIVER:"dsdtr",NATIVE_BROWSE:"ntb"};
var yL=function(a){this.name=this.id="";this.clientName="UNKNOWN_INTERFACE";this.app="";this.type="REMOTE_CONTROL";this.obfuscatedGaiaId=this.avatar=this.username="";this.connected=!1;this.capabilities=new Set;this.experiments=new Set;this.theme="u";new _.Wl;this.model=this.brand="";this.year=0;this.chipset=this.osVersion=this.os="";this.mdxDialServerType="MDX_DIAL_SERVER_TYPE_UNKNOWN";a&&(this.id=a.id||a.name,this.name=a.name,this.clientName=a.clientName?a.clientName.toUpperCase():"UNKNOWN_INTERFACE",
this.app=a.app,this.type=a.type||"REMOTE_CONTROL",this.username=a.user||"",this.avatar=a.userAvatarUri||"",this.obfuscatedGaiaId=a.obfuscatedGaiaId||"",this.theme=a.theme||"u",yeb(this,a.capabilities||""),zeb(this,a.experiments||""),this.brand=a.brand||"",this.model=a.model||"",this.year=a.year||0,this.os=a.os||"",this.osVersion=a.osVersion||"",this.chipset=a.chipset||"",this.mdxDialServerType=a.mdxDialServerType||"MDX_DIAL_SERVER_TYPE_UNKNOWN",a=a.deviceInfo)&&(a=JSON.parse(a),this.brand=a.brand||
"",this.model=a.model||"",this.year=a.year||0,this.os=a.os||"",this.osVersion=a.osVersion||"",this.chipset=a.chipset||"",this.clientName=a.clientName?a.clientName.toUpperCase():"UNKNOWN_INTERFACE",this.mdxDialServerType=a.mdxDialServerType||"MDX_DIAL_SERVER_TYPE_UNKNOWN")};
yL.prototype.equals=function(a){return a?this.id==a.id:!1};
var yeb=function(a,b){a.capabilities.clear();_.St(b.split(","),_.aj(_.u.contains,xeb)).forEach(function(c){a.capabilities.add(c)})},zeb=function(a,b){a.experiments.clear();
b.split(",").forEach(function(c){a.experiments.add(c)})};
var Aeb=function(a,b){this.action=a;this.params=b||{}};
_.cj(UJ,_.uk);_.f=UJ.prototype;_.f.JSC$38914_onTick_=function(){this.JSC$38912_interval_=Math.min(3E5,2*this.JSC$38912_interval_);this.JSC$38914_listener_();this.nextTickTime_&&this.start()};
_.f.start=function(){var a=this.JSC$38912_interval_+15E3*Math.random(),b=this.JSC$38912_delay_;b.isActive()||b.start(a);this.nextTickTime_=Date.now()+a};
_.f.stop=function(){this.JSC$38912_delay_.stop();this.nextTickTime_=0};
_.f.isActive=function(){return this.JSC$38912_delay_.isActive()};
_.f.reset=function(){this.JSC$38912_delay_.stop();this.JSC$38912_interval_=5E3};
_.cj(VJ,peb);_.f=VJ.prototype;_.f.subscribe=function(a,b,c){return this.pubsub_.subscribe(a,b,c)};
_.f.unsubscribe=function(a,b,c){return this.pubsub_.unsubscribe(a,b,c)};
_.f.unsubscribeByKey=function(a){return this.pubsub_.unsubscribeByKey(a)};
_.f.JSC$62287_publish=function(a,b){this.pubsub_.JSC$32713_publish.apply(this.pubsub_,arguments)};
_.f.dispose=function(){this.JSC$38915_disposed_||(this.JSC$38915_disposed_=!0,_.Jb(this.pubsub_),this.disconnect(),_.Jb(this.reconnectTimer_),this.reconnectTimer_=null,this.JSC$38915_getXsrfToken_=function(){return""})};
_.f.isDisposed=function(){return this.JSC$38915_disposed_};
_.f.connect=function(a,b,c){if(!this.JSC$38915_channel_||2!=this.JSC$38915_channel_.getState()){this.sCookie_="";this.reconnectTimer_.stop();this.connectionParams_=a||null;this.connectUi_=b||0;a=this.pathPrefix_+"/test";b=this.pathPrefix_+"/bind";var d=new rL(c?c.firstTestResults:null,c?c.secondTestResults:null,this.enableAsyncTest_),e=this.JSC$38915_channel_;e&&(e.handler_=null);d.handler_=this;this.JSC$38915_channel_=d;Beb(this);if(this.JSC$38915_channel_){d=_.w("ID_TOKEN");var h=this.JSC$38915_channel_.JSC$38849_extraHeaders_||
{};d?h["x-youtube-identity-token"]=d:delete h["x-youtube-identity-token"];this.JSC$38915_channel_.JSC$38849_extraHeaders_=h}e?(e.getState(),this.JSC$38915_channel_.connect(a,b,this.defaultQueryParams_,e.sid_,e.JSC$38849_lastArrayId_)):c?this.JSC$38915_channel_.connect(a,b,this.defaultQueryParams_,c.sessionId,c.arrayId):this.JSC$38915_channel_.connect(a,b,this.defaultQueryParams_)}};
_.f.disconnect=function(a){this.disconnectUi_=a||0;this.reconnectTimer_.stop();Beb(this);this.JSC$38915_channel_&&(3==this.JSC$38915_channel_.getState()&&jeb(this.JSC$38915_channel_),this.JSC$38915_channel_.disconnect());this.disconnectUi_=0};
_.f.sendMessage=function(a,b){a={_sc:a};b&&_.u.extend(a,b);this.reconnectTimer_.isActive()||2==(this.JSC$38915_channel_?this.JSC$38915_channel_.getState():0)?this.JSC$38915_pendingMessages_.push(a):this.isChannelOpened()&&(Beb(this),ieb(this.JSC$38915_channel_,a))};
_.f.JSC$38855_channelOpened=function(){this.reconnectTimer_.reset();this.connectionParams_=null;this.connectUi_=0;if(this.JSC$38915_pendingMessages_.length){var a=this.JSC$38915_pendingMessages_;this.JSC$38915_pendingMessages_=[];for(var b=0,c=a.length;b<c;++b)ieb(this.JSC$38915_channel_,a[b])}this.JSC$62287_publish("handlerOpened")};
_.f.JSC$38855_channelError=function(a){var b=2==a&&401==this.JSC$38915_channel_.JSC$38849_lastStatusCode_;4==a||b||this.reconnectTimer_.start();this.JSC$62287_publish("handlerError",a,b)};
_.f.JSC$38855_channelClosed=function(a,b){if(!this.reconnectTimer_.isActive())this.JSC$62287_publish("handlerClosed");else if(b)for(var c=0,d=b.length;c<d;++c){var e=b[c].map;e&&this.JSC$38915_pendingMessages_.push(e)}this.closedChannelsCounter.increment();a&&this.pendingMapsOnClosedCounter.JSC$32445_streamzService_.JSC$32395_incrementCounterBy("/client_streamz/youtube/living_room/mdx/browser_channel/pending_maps",a.length);b&&this.undeliveredMapsOnClosedCounter.JSC$32448_streamzService_.JSC$32395_incrementCounterBy("/client_streamz/youtube/living_room/mdx/browser_channel/undelivered_maps",
b.length)};
_.f.JSC$38855_getAdditionalParams=function(){var a={v:2};this.sCookie_&&(a.gsessionid=this.sCookie_);0!=this.connectUi_&&(a.ui=""+this.connectUi_);0!=this.disconnectUi_&&(a.ui=""+this.disconnectUi_);this.connectionParams_&&_.u.extend(a,this.connectionParams_);return a};
_.f.JSC$38855_channelHandleArray=function(a){"S"==a[0]?this.sCookie_=a[1]:"gracefulReconnect"==a[0]?(this.reconnectTimer_.start(),this.JSC$38915_channel_.disconnect()):this.JSC$62287_publish("handlerMessage",new Aeb(a[0],a[1]))};
_.f.isChannelOpened=function(){return!!this.JSC$38915_channel_&&3==this.JSC$38915_channel_.getState()};
var Beb=function(a){if(a.JSC$38915_channel_){var b=a.JSC$38915_getXsrfToken_(),c=a.JSC$38915_channel_.JSC$38849_extraHeaders_||{};b?c["x-youtube-lounge-xsrf-token"]=b:delete c["x-youtube-lounge-xsrf-token"];a.JSC$38915_channel_.JSC$38849_extraHeaders_=c}};
_.f=VJ.prototype;_.f.setLoungeToken=function(a){(this.defaultQueryParams_.loungeIdToken=a)||this.reconnectTimer_.stop();if(this.enableLoungeTokenRefresh_&&this.JSC$38915_channel_){var b=this.JSC$38915_channel_.JSC$38849_extraHeaders_||{};a?b["X-YouTube-LoungeId-Token"]=a:delete b["X-YouTube-LoungeId-Token"];this.JSC$38915_channel_.JSC$38849_extraHeaders_=b}};
_.f.getDeviceId=function(){return this.defaultQueryParams_.id};
_.f.getReconnectTimeout=function(){return this.reconnectTimer_.isActive()?this.reconnectTimer_.nextTickTime_-Date.now():NaN};
_.f.reconnect=function(){var a=this.reconnectTimer_;a.JSC$38912_delay_.fire();a.start()};
_.f.safeReconnect_=function(){var a=this.JSC$38915_channel_,b=0;a.JSC$38849_backChannelRequest_&&b++;a.forwardChannelRequest_&&b++;0==b&&this.connect(this.connectionParams_,this.connectUi_)};
var $J=function(a,b){var c=a.basePath;a.supportCors&&(c=a.scheme+"://"+a.domain+a.port+a.basePath);return _.vd(c+b,{})},Ceb=function(a,b,c,d,e){a={format:"JSON",
method:"POST",context:a,timeout:5E3,withCredentials:!1,onSuccess:_.aj(a.JSC$38920_onSuccess_,d,!0),onError:_.aj(a.onError_,e),onTimeout:_.aj(a.JSC$38920_onTimeout_,e)};c&&(a.postParams=c,a.headers={"Content-Type":"application/x-www-form-urlencoded"});return _.Gd(b,a)};
WJ.prototype.JSC$38920_onSuccess_=function(a,b,c,d){b?a(d):a({text:c.responseText})};
WJ.prototype.onError_=function(a,b){a(Error("zf`"+b.status))};
WJ.prototype.JSC$38920_onTimeout_=function(a){a(Error("Af"))};
var YJ=function(a,b){return!!b&&(a.id==b||a.uuid==b)},Deb=function(a){return{name:a.name,
screenId:a.id,loungeToken:a.token,dialId:a.uuid,screenIdType:a.idType}},Eeb=function(a){return new XJ(a)},Feb=function(a){return Array.isArray(a)?_.id(a,Eeb):[]},zL=function(a){return a?'{name:"'+a.name+'",id:'+a.id.substr(0,6)+"..,token:"+((a.token?".."+a.token.slice(-6):"-")+",uuid:"+(a.uuid?".."+a.uuid.slice(-6):"-")+",idType:"+a.idType+"}"):"null"},n9a=function(a){return Array.isArray(a)?"["+_.id(a,zL).join(",")+"]":"null"};
var AL,Ieb=function(){var a=BL(),b=CL();_.ha(a,b);if(Geb()){var c=a,d=_.q4a(c,b);0>d&&u6a(c,-(d+1),0,b)}a=Heb(a);if(0==a.length)try{_.Cfa("remote_sid")}catch(e){}else try{_.Ld("remote_sid",a.join(","),-1)}catch(e){}},BL=function(){var a=_.Oo("yt-remote-connected-devices")||[];
_.d4a(a);return a},Heb=function(a){if(0==a.length)return[];
var b=a[0].indexOf("#"),c=-1==b?a[0]:a[0].substring(0,b);return _.id(a,function(d,e){return 0==e?d:d.substring(c.length)})},Jeb=function(a){_.No("yt-remote-connected-devices",a,86400)},CL=function(){if(Keb)return Keb;
var a=_.Oo("yt-remote-device-id");a||(a=a9a(),_.No("yt-remote-device-id",a,31536E3));for(var b=BL(),c=1,d=a;_.ha(b,d);)c++,d=a+"#"+c;return Keb=d},Leb=function(){return _.Oo("yt-remote-session-browser-channel")},Geb=function(){return _.Oo("yt-remote-session-screen-id")},Oeb=function(a){5<a.length&&(a=a.slice(a.length-5));
var b=_.id(Meb(),function(d){return d.loungeToken}),c=_.id(a,function(d){return d.loungeToken});
_.cv(c,function(d){return!_.ha(b,d)})&&Neb();
_.No("yt-remote-local-screens",a,31536E3)},Meb=function(){return _.Oo("yt-remote-local-screens")||[]},Neb=function(){_.No("yt-remote-lounge-token-expiration",!0,86400)},DL=function(a){a||(_.Po("yt-remote-session-screen-id"),_.Po("yt-remote-session-video-id"));
Ieb();a=BL();_.ja(a,CL());Jeb(a)},Qeb=function(){Peb();
return AL?!!AL.get("yt-remote-use-staging-server"):!1},Peb=function(){if(!AL){var a=_.Zta();
a&&(AL=new _.hm(a))}},Keb="";
var e9a=function(a,b){_.Kk.call(this);var c=this;this.handler=a();this.handler.subscribe("handlerOpened",this.JSC$38927_onOpened,this);this.handler.subscribe("handlerClosed",this.JSC$38927_onClosed,this);this.handler.subscribe("handlerError",function(d,e){c.onError(e)});
this.handler.subscribe("handlerMessage",this.onMessage,this);this.currentScreenId=b};
_.q(e9a,_.Kk);_.f=e9a.prototype;_.f.connect=function(a,b,c){this.handler.connect(a,b,c)};
_.f.disconnect=function(a){this.handler.disconnect(a)};
_.f.reconnect=function(){this.handler.reconnect()};
_.f.getDeviceId=function(){return this.handler.getDeviceId()};
_.f.getReconnectTimeout=function(){return this.handler.getReconnectTimeout()};
_.f.isChannelOpened=function(){return this.handler.isChannelOpened()};
_.f.JSC$38927_onOpened=function(){this.dispatchEvent("channelOpened");var a=this.handler,b=this.currentScreenId;_.No("yt-remote-session-browser-channel",{firstTestResults:[""],secondTestResults:!a.JSC$38915_channel_.useChunked_,sessionId:a.JSC$38915_channel_.sid_,arrayId:a.JSC$38915_channel_.JSC$38849_lastArrayId_});_.No("yt-remote-session-screen-id",b);a=BL();b=CL();_.ha(a,b)||a.push(b);Jeb(a);Ieb()};
_.f.JSC$38927_onClosed=function(){this.dispatchEvent("channelClosed")};
_.f.onMessage=function(a){this.dispatchEvent(new veb(a))};
_.f.onError=function(a){this.dispatchEvent(new web(a?1:0))};
_.f.sendMessage=function(a,b){this.handler.sendMessage(a,b)};
_.f.setLoungeToken=function(a){this.handler.setLoungeToken(a)};
_.f.dispose=function(){this.handler.dispose()};
var aK=function(a,b,c){var d=this;c=void 0===c?function(){return""}:c;
var e=void 0===e?new _.q2a:e;var h=void 0===h?new _.fm:h;this.pathPrefix=a;this.defaultQueryParams=b;this.getXsrfToken=c;this.JSC$38930_pubsub=h;this.connectionParams=null;this.disconnectUi=this.connectUi=0;this.channel=null;this.JSC$38930_channelState=0;this.reconnectTimer=new UJ(function(){var l;0===(null==(l=d.channel)?void 0:_.W1a(_.zH(l).JSC$38206_channel_.forwardChannelRequestPool_))&&d.connect(d.connectionParams,d.connectUi)});
this.webChannelMessageHeaders={};this.webChannelMessageUrlParams={};this.disposed=!1;this.nonAckedMessagesOnChannelClosed=[];this.lastStatusCode=void 0};
aK.prototype.connect=function(a,b){a=void 0===a?{}:a;b=void 0===b?0:b;2!==this.JSC$38930_channelState&&(this.reconnectTimer.stop(),this.connectionParams=a,this.connectUi=b,Reb(this),(a=_.w("ID_TOKEN"))?this.webChannelMessageHeaders["x-youtube-identity-token"]=a:delete this.webChannelMessageHeaders["x-youtube-identity-token"],this.defaultQueryParams&&(this.webChannelMessageUrlParams.device=this.defaultQueryParams.device,this.webChannelMessageUrlParams.name=this.defaultQueryParams.name,this.webChannelMessageUrlParams.app=
this.defaultQueryParams.app,this.webChannelMessageUrlParams.id=this.defaultQueryParams.id,this.defaultQueryParams.mdxVersion&&(this.webChannelMessageUrlParams.mdxVersion=""+this.defaultQueryParams.mdxVersion),this.defaultQueryParams.theme&&(this.webChannelMessageUrlParams.theme=this.defaultQueryParams.theme),this.defaultQueryParams.capabilities&&(this.webChannelMessageUrlParams.capabilities=this.defaultQueryParams.capabilities)),0!==this.connectUi?this.webChannelMessageUrlParams.ui=""+this.connectUi:
delete this.webChannelMessageUrlParams.ui,Object.assign(this.webChannelMessageUrlParams,this.connectionParams),this.channel=new _.oH(this.pathPrefix,{httpSessionIdParam:"gsessionid",messageHeaders:this.webChannelMessageHeaders,messageUrlParams:this.webChannelMessageUrlParams}),this.channel.open(),this.JSC$38930_channelState=2,Seb(this))};
var Seb=function(a){_.Fk(a.channel,"n",function(){a.JSC$38930_channelState=3;a.reconnectTimer.reset();a.connectionParams=null;a.connectUi=0;for(var b=_.k(a.nonAckedMessagesOnChannelClosed),c=b.next();!c.done;c=b.next())c=c.value,a.channel&&a.channel.send(c);a.nonAckedMessagesOnChannelClosed=[];a.JSC$62287_publish("webChannelOpened")});
_.Fk(a.channel,"o",function(){a.JSC$38930_channelState=0;a.reconnectTimer.isActive()||a.JSC$62287_publish("webChannelClosed");var b,c=null==(b=a.channel)?void 0:Qab(_.zH(b));c&&(a.nonAckedMessagesOnChannelClosed=[].concat(_.sc(c)))});
_.Fk(a.channel,"q",function(b){var c=b.data;"gracefulReconnect"===c[0]?(a.reconnectTimer.start(),a.channel&&a.channel.close()):a.JSC$62287_publish("webChannelMessage",new Aeb(c[0],c[1]));a.lastStatusCode=b.statusCode});
_.Fk(a.channel,"p",function(){401===a.lastStatusCode||a.reconnectTimer.start();a.JSC$62287_publish("webChannelError")})};
_.f=aK.prototype;_.f.disconnect=function(a){this.disconnectUi=void 0===a?0:a;this.reconnectTimer.stop();Reb(this);this.channel&&(0!==this.disconnectUi?this.webChannelMessageUrlParams.ui=""+this.disconnectUi:delete this.webChannelMessageUrlParams.ui,this.channel.close());this.disconnectUi=0};
_.f.getReconnectTimeout=function(){return this.reconnectTimer.isActive()?this.reconnectTimer.nextTickTime_-Date.now():NaN};
_.f.reconnect=function(){var a=this.reconnectTimer;a.JSC$38912_delay_.fire();a.start()};
_.f.sendMessage=function(a,b){this.channel&&(Reb(this),a=Object.assign({},{_sc:a},b),this.channel.send(a))};
_.f.setLoungeToken=function(a){a||this.reconnectTimer.stop();a?this.webChannelMessageHeaders["X-YouTube-LoungeId-Token"]=a:delete this.webChannelMessageHeaders["X-YouTube-LoungeId-Token"]};
var Reb=function(a){var b=a.getXsrfToken();b?a.webChannelMessageHeaders["x-youtube-lounge-xsrf-token"]=b:delete a.webChannelMessageHeaders["x-youtube-lounge-xsrf-token"]};
_.f=aK.prototype;_.f.getDeviceId=function(){return this.defaultQueryParams?this.defaultQueryParams.id:""};
_.f.JSC$62287_publish=function(a){this.JSC$38930_pubsub.JSC$32713_publish.apply(this.JSC$38930_pubsub,[a].concat(_.sc(_.Ob.apply(1,arguments))))};
_.f.subscribe=function(a,b,c){return this.JSC$38930_pubsub.subscribe(a,b,c)};
_.f.unsubscribe=function(a,b,c){return this.JSC$38930_pubsub.unsubscribe(a,b,c)};
_.f.unsubscribeByKey=function(a){return this.JSC$38930_pubsub.unsubscribeByKey(a)};
_.f.dispose=function(){this.disposed||(this.disposed=!0,_.Jb(this.JSC$38930_pubsub),this.disconnect(),_.Jb(this.reconnectTimer),this.getXsrfToken=function(){return""})};
_.f.isDisposed=function(){return this.disposed};
var d9a=function(a){_.Kk.call(this);this.webChannelService=a();this.webChannelService.subscribe("webChannelOpened",this.JSC$38938_onOpened,this);this.webChannelService.subscribe("webChannelClosed",this.JSC$38938_onClosed,this);this.webChannelService.subscribe("webChannelError",this.onError,this);this.webChannelService.subscribe("webChannelMessage",this.onMessage,this)};
_.q(d9a,_.Kk);_.f=d9a.prototype;_.f.connect=function(a,b){this.webChannelService.connect(a,b)};
_.f.disconnect=function(a){this.webChannelService.disconnect(a)};
_.f.reconnect=function(){this.webChannelService.reconnect()};
_.f.getDeviceId=function(){return this.webChannelService.getDeviceId()};
_.f.getReconnectTimeout=function(){return this.webChannelService.getReconnectTimeout()};
_.f.isChannelOpened=function(){return 3===this.webChannelService.JSC$38930_channelState};
_.f.JSC$38938_onOpened=function(){this.dispatchEvent("channelOpened")};
_.f.JSC$38938_onClosed=function(){this.dispatchEvent("channelClosed")};
_.f.onMessage=function(a){this.dispatchEvent(new veb(a))};
_.f.onError=function(){this.dispatchEvent(new web(401===this.webChannelService.lastStatusCode?1:0))};
_.f.sendMessage=function(a,b){this.webChannelService.sendMessage(a,b)};
_.f.setLoungeToken=function(a){this.webChannelService.setLoungeToken(a)};
_.f.dispose=function(){this.webChannelService.dispose()};
var m9a=Date.now(),bK=null,fK=Array(50),eK=-1,gK=!1;
_.cj(hK,_.gJ);hK.prototype.getScreens=function(){return this.screens};
hK.prototype.contains=function(a){return!!c9a(this.screens,a)};
hK.prototype.get=function(a){return a?ZJ(this.screens,a):null};
var Teb=function(a,b){var c=a.get(b.uuid)||a.get(b.id);if(c)return a=c.name,c.id=b.id||c.id,c.name=b.name,c.token=b.token,c.uuid=b.uuid||c.uuid,c.name!=a;a.screens.push(b);return!0},Ueb=function(a,b){var c=a.screens.length!=b.length;
a.screens=_.St(a.screens,function(h){return!!c9a(b,h)});
for(var d=0,e=b.length;d<e;d++)c=Teb(a,b[d])||c;return c},Veb=function(a,b){var c=a.screens.length;
a.screens=_.St(a.screens,function(d){return!(d||b?!d!=!b?0:d.id==b.id:1)});
return a.screens.length<c};
hK.prototype.info=function(a){cK(this.JSC$38939_logName_,a)};
var Web=function(a,b,c,d,e){_.gJ.call(this);this.JSC$38942_http_=a;this.pairingCode_=b;this.deviceId_=c;this.friendlyName_=d;this.enableShortLivedLoungeToken_=e;this.pollIndex_=0;this.JSC$38942_xhr_=null;this.JSC$38942_timer_=NaN};
_.q(Web,_.gJ);_.f=Web.prototype;_.f.start=function(){!this.JSC$38942_xhr_&&isNaN(this.JSC$38942_timer_)&&this.poll_()};
_.f.stop=function(){this.JSC$38942_xhr_&&(this.JSC$38942_xhr_.abort(),this.JSC$38942_xhr_=null);isNaN(this.JSC$38942_timer_)||(_.Dd(this.JSC$38942_timer_),this.JSC$38942_timer_=NaN)};
_.f.disposeInternal=function(){this.stop();_.gJ.prototype.disposeInternal.call(this)};
_.f.poll_=function(){this.JSC$38942_timer_=NaN;this.JSC$38942_xhr_=_.Gd($J(this.JSC$38942_http_,"/pairing/get_screen"),{method:"POST",postParams:{pairing_code:this.pairingCode_},timeout:5E3,onSuccess:(0,_.$i)(this.JSC$38944_onSuccess_,this),onError:(0,_.$i)(this.onError_,this),onTimeout:(0,_.$i)(this.JSC$38944_onTimeout_,this)})};
_.f.JSC$38944_onSuccess_=function(a,b){this.JSC$38942_xhr_=null;a=b.screen||{};a.dialId=this.deviceId_;a.name=this.friendlyName_;b=-1;this.enableShortLivedLoungeToken_&&a.shortLivedLoungeToken&&a.shortLivedLoungeToken.value&&a.shortLivedLoungeToken.refreshIntervalMs&&(a.screenIdType="shortLived",a.loungeToken=a.shortLivedLoungeToken.value,b=a.shortLivedLoungeToken.refreshIntervalMs);this.JSC$62287_publish("pairingComplete",new XJ(a),b)};
_.f.onError_=function(a){this.JSC$38942_xhr_=null;a.status&&404==a.status?this.pollIndex_>=Xeb.length?this.JSC$62287_publish("pairingFailed",Error("Bf")):(a=Xeb[this.pollIndex_],this.JSC$38942_timer_=_.Bd((0,_.$i)(this.poll_,this),a),this.pollIndex_++):this.JSC$62287_publish("pairingFailed",Error("Cf`"+a.status))};
_.f.JSC$38944_onTimeout_=function(){this.JSC$38942_xhr_=null;this.JSC$62287_publish("pairingFailed",Error("Df"))};
var Xeb=[2E3,2E3,1E3,1E3,1E3,2E3,2E3,5E3,5E3,1E4];
_.cj(jK,hK);_.f=jK.prototype;_.f.start=function(){iK(this)&&this.JSC$62287_publish("screenChange");!_.Oo("yt-remote-lounge-token-expiration")&&Yeb(this);_.Dd(this.loungeTokenRefreshTimer_);this.loungeTokenRefreshTimer_=_.Bd((0,_.$i)(this.start,this),1E4)};
_.f.add=function(a,b){iK(this);Teb(this,a);EL(this,!1);this.JSC$62287_publish("screenChange");b(a);a.token||Yeb(this)};
_.f.remove=function(a,b){var c=iK(this);Veb(this,a)&&(EL(this,!1),c=!0);b(a);c&&this.JSC$62287_publish("screenChange")};
_.f.updateName=function(a,b,c,d){var e=iK(this),h=this.get(a.id);h?(h.name!=b&&(h.name=b,EL(this,!1),e=!0),c(a)):d(Error("Ef"));e&&this.JSC$62287_publish("screenChange")};
_.f.disposeInternal=function(){_.Dd(this.loungeTokenRefreshTimer_);jK.superClass_.disposeInternal.call(this)};
var Yeb=function(a){if(a.screens.length){var b=_.id(a.screens,function(d){return d.id}),c=$J(a.JSC$38946_http_,"/pairing/get_lounge_token_batch");
Ceb(a.JSC$38946_http_,c,{screen_ids:b.join(",")},(0,_.$i)(a.handleLoungeTokens_,a),(0,_.$i)(a.handleLoungeTokenError_,a))}};
jK.prototype.handleLoungeTokens_=function(a){iK(this);var b=this.screens.length;a=a&&a.screens||[];for(var c=0,d=a.length;c<d;++c){var e=a[c],h=this.get(e.screenId);h&&(h.token=e.loungeToken,--b)}EL(this,!b);b&&cK(this.JSC$38939_logName_,"Missed "+b+" lounge tokens.")};
jK.prototype.handleLoungeTokenError_=function(a){cK(this.JSC$38939_logName_,"Requesting lounge tokens failed: "+a)};
var iK=function(a){if(_.x("deprecate_pair_servlet_enabled"))return Ueb(a,[]);var b=Feb(Meb());b=_.St(b,function(c){return!c.uuid});
return Ueb(a,b)},EL=function(a,b){Oeb(_.id(a.screens,Deb));
b&&Neb()};
var FL=function(a,b){_.gJ.call(this);this.getScreensToCheck_=b;b=(b=_.Oo("yt-remote-online-screen-ids")||"")?b.split(","):[];for(var c={},d=this.getScreensToCheck_(),e=0,h=d.length;e<h;++e){var l=d[e].id;c[l]=_.ha(b,l)}this.screenIdSet_=c;this.JSC$38949_http_=a;this.refreshTimer_=this.fastCheckEndTime_=NaN;this.currentRequest_=null;Zeb("Initialized with "+(0,_.Il)(this.screenIdSet_))};
_.q(FL,_.gJ);FL.prototype.start=function(){var a=parseInt(_.Oo("yt-remote-fast-check-period")||"0",10);(this.fastCheckEndTime_=_.bj()-144E5<a?0:a)?GL(this):(this.fastCheckEndTime_=_.bj()+3E5,_.No("yt-remote-fast-check-period",this.fastCheckEndTime_),this.requestScreenAvailability_())};
FL.prototype.isEmpty=function(){return _.u.isEmpty(this.screenIdSet_)};
FL.prototype.update=function(){Zeb("Updating availability on schedule.");var a=this.getScreensToCheck_(),b=_.u.filter(this.screenIdSet_,function(c,d){return c&&!!ZJ(a,d)},this);
$eb(this,b)};
var afb=function(a,b,c){var d=$J(a.JSC$38949_http_,"/pairing/get_screen_availability");Ceb(a.JSC$38949_http_,d,{lounge_token:b.token},(0,_.$i)(function(e){e=e.screens||[];for(var h=0,l=e.length;h<l;++h)if(e[h].loungeToken==b.token){c("online"==e[h].status);return}c(!1)},a),(0,_.$i)(function(){c(!1)},a))};
FL.prototype.disposeInternal=function(){_.Dd(this.refreshTimer_);this.refreshTimer_=NaN;this.currentRequest_&&(this.currentRequest_.abort(),this.currentRequest_=null);_.gJ.prototype.disposeInternal.call(this)};
var $eb=function(a,b){a:if(_.u.getCount(b)!=_.u.getCount(a.screenIdSet_))var c=!1;else{c=_.u.getKeys(b);for(var d=0,e=c.length;d<e;++d)if(!a.screenIdSet_[c[d]]){c=!1;break a}c=!0}c||(Zeb("Updated online screens: "+(0,_.Il)(a.screenIdSet_)),a.screenIdSet_=b,a.JSC$62287_publish("screenChange"));bfb(a)},GL=function(a){isNaN(a.refreshTimer_)||_.Dd(a.refreshTimer_);
a.refreshTimer_=_.Bd((0,_.$i)(a.requestScreenAvailability_,a),0<a.fastCheckEndTime_&&a.fastCheckEndTime_<_.bj()?2E4:1E4)};
FL.prototype.requestScreenAvailability_=function(){_.Dd(this.refreshTimer_);this.refreshTimer_=NaN;this.currentRequest_&&this.currentRequest_.abort();var a=cfb(this);if(_.u.getCount(a)){var b=$J(this.JSC$38949_http_,"/pairing/get_screen_availability"),c={lounge_token:_.u.getKeys(a).join(",")};this.currentRequest_=Ceb(this.JSC$38949_http_,b,c,(0,_.$i)(this.onScreenAvailability_,this,a),(0,_.$i)(this.onScreenAvailabilityError_,this))}else $eb(this,{}),GL(this)};
FL.prototype.onScreenAvailability_=function(a,b){this.currentRequest_=null;var c=_.u.getKeys(cfb(this));if(_.jt(c,_.u.getKeys(a))){b=b.screens||[];c={};for(var d=0,e=b.length;d<e;++d)c[a[b[d].loungeToken]]="online"==b[d].status;$eb(this,c);GL(this)}else this.warn_("Changing Screen set during request."),this.requestScreenAvailability_()};
FL.prototype.onScreenAvailabilityError_=function(a){this.warn_("Screen availability failed: "+a);this.currentRequest_=null;GL(this)};
var Zeb=function(a){cK("OnlineScreenService",a)};
FL.prototype.warn_=function(a){cK("OnlineScreenService",a)};
var cfb=function(a){var b={};_.pd(a.getScreensToCheck_(),function(c){c.token?b[c.token]=c.id:this.warn_("Requesting availability of screen w/o lounge token.")});
return b},bfb=function(a){a=_.u.getKeys(_.u.filter(a.screenIdSet_,function(b){return b}));
_.d4a(a);a.length?_.No("yt-remote-online-screen-ids",a.join(","),60):_.Po("yt-remote-online-screen-ids")};
var HL=function(a,b){b=void 0===b?!1:b;hK.call(this,"ScreenService");this.JSC$38952_http_=a;this.disableAutomaticScreenCache_=b;this.onlineScreenService_=this.localScreenService_=null;this.automaticScreens_=[];this.deviceToScreenId_={};dfb(this)};
_.cj(HL,hK);_.f=HL.prototype;_.f.start=function(){this.localScreenService_.start();this.onlineScreenService_.start();this.screens.length&&(this.JSC$62287_publish("screenChange"),this.onlineScreenService_.isEmpty()||this.JSC$62287_publish("onlineScreenChange"))};
_.f.add=function(a,b,c){this.localScreenService_.add(a,b,c)};
_.f.remove=function(a,b,c){this.localScreenService_.remove(a,b,c);this.onlineScreenService_.update()};
_.f.updateName=function(a,b,c,d){this.localScreenService_.contains(a)?this.localScreenService_.updateName(a,b,c,d):(a="Updating name of unknown screen: "+a.name,cK(this.JSC$38939_logName_,a),d(Error(a)))};
_.f.getScreens=function(a){return a?this.screens:_.b4a(this.screens,_.St(this.automaticScreens_,function(b){return!this.contains(b)},this))};
_.f.JSC$38954_getOnlineScreens=function(){return _.St(this.getScreens(!0),function(a){return!!this.onlineScreenService_.screenIdSet_[a.id]},this)};
var ffb=function(a,b,c,d,e,h){a.info("getAutomaticScreenByIds "+c+" / "+b);c||(c=a.deviceToScreenId_[b]);var l=a.getScreens(),m=c?ZJ(l,c):null;c&&(a.disableAutomaticScreenCache_||m)||(m=ZJ(l,b));if(m){m.uuid=b;var p=IL(a,m);afb(a.onlineScreenService_,p,function(r){e(r?p:null)})}else c?efb(a,c,(0,_.$i)(function(r){var v=IL(this,new XJ({name:d,
screenId:c,loungeToken:r,dialId:b||""}));afb(this.onlineScreenService_,v,function(z){e(z?v:null)})},a),h):e(null)};
HL.prototype.JSC$38954_getScreenByPollingPairingCode=function(a,b,c,d,e,h){var l=this;this.info("getDialScreenByPairingCode "+a+" / "+b);var m=new Web(this.JSC$38952_http_,a,b,c,d);m.subscribe("pairingComplete",function(p,r){_.Jb(m);e(IL(l,p),r)});
m.subscribe("pairingFailed",function(p){_.Jb(m);h(p)});
m.start();return(0,_.$i)(m.stop,m)};
var gfb=function(a,b){for(var c=0,d=a.screens.length;c<d;++c)if(a.screens[c].name==b)return a.screens[c];return null};
HL.prototype.JSC$38954_getScreenByPairingCode=function(a,b,c,d){_.Gd($J(this.JSC$38952_http_,"/pairing/get_screen"),{method:"POST",postParams:{pairing_code:a},timeout:5E3,onSuccess:(0,_.$i)(function(e,h){e=new XJ(h.screen||{});if(!e.name||gfb(this,e.name)){a:{h=e.name;for(var l=2,m=b(h,l);gfb(this,m);){l++;if(20<l)break a;m=b(h,l)}h=m}e.name=h}c(IL(this,e))},this),
onError:(0,_.$i)(function(e){d(Error("Ff`"+e.status))},this),
onTimeout:(0,_.$i)(function(){d(Error("Gf"))},this)})};
var hfb=function(a,b,c){afb(a.onlineScreenService_,b,c)};
HL.prototype.disposeInternal=function(){_.Jb(this.localScreenService_);_.Jb(this.onlineScreenService_);HL.superClass_.disposeInternal.call(this)};
var efb=function(a,b,c,d){a.info("requestLoungeToken_ for "+b);var e={postParams:{screen_ids:b},method:"POST",context:a,onSuccess:function(h,l){h=l&&l.screens||[];h[0]&&h[0].screenId==b?c(h[0].loungeToken):d(Error("Hf"))},
onError:function(){d(Error("If"))}};
_.Gd($J(a.JSC$38952_http_,"/pairing/get_lounge_token_batch"),e)},ifb=function(a){a.screens=a.localScreenService_.getScreens();
for(var b=_.u.transpose(a.deviceToScreenId_),c=0,d=a.screens.length;c<d;++c){var e=a.screens[c];e.uuid=b[e.id]||""}a.info("Updated manual screens: "+n9a(a.screens))};
HL.prototype.handleScreenChange_=function(){ifb(this);this.JSC$62287_publish("screenChange");this.onlineScreenService_.update()};
var dfb=function(a){jfb(a);a.localScreenService_=new jK(a.JSC$38952_http_);a.localScreenService_.subscribe("screenChange",(0,_.$i)(a.handleScreenChange_,a));ifb(a);a.disableAutomaticScreenCache_||(a.automaticScreens_=Feb(_.Oo("yt-remote-automatic-screen-cache")||[]));jfb(a);a.info("Initializing automatic screens: "+n9a(a.automaticScreens_));a.onlineScreenService_=new FL(a.JSC$38952_http_,(0,_.$i)(a.getScreens,a,!0));a.onlineScreenService_.subscribe("screenChange",(0,_.$i)(function(){this.JSC$62287_publish("onlineScreenChange")},
a))},IL=function(a,b){var c=a.get(b.id);
c?(c.uuid=b.uuid,b=c):((c=ZJ(a.automaticScreens_,b.uuid))?(c.id=b.id,c.token=b.token,b=c):a.automaticScreens_.push(b),a.disableAutomaticScreenCache_||kfb(a));jfb(a);a.deviceToScreenId_[b.uuid]=b.id;_.No("yt-remote-device-id-map",a.deviceToScreenId_,31536E3);return b},kfb=function(a){a=_.St(a.automaticScreens_,function(b){return"shortLived"!=b.idType});
_.No("yt-remote-automatic-screen-cache",_.id(a,Deb))},jfb=function(a){a.deviceToScreenId_=_.Oo("yt-remote-device-id-map")||{}};
HL.prototype.dispose=HL.prototype.dispose;
var JL=function(a,b,c){_.gJ.call(this);this.JSC$38956_logName_=c;this.JSC$38956_screenService_=a;this.receiver_=b;this.screen_=null};
_.cj(JL,_.gJ);JL.prototype.getScreen=function(){return this.screen_};
var KL=function(a,b){a.screen_=b;a.JSC$62287_publish("sessionScreen",a.screen_)},lfb=function(a,b){a.screen_&&(a.screen_.token=b,IL(a.JSC$38956_screenService_,a.screen_));
a.JSC$62287_publish("sessionScreen",a.screen_)};
JL.prototype.onSessionStopped=function(a){this.isDisposed()||(a&&(LL(this,""+a),this.JSC$62287_publish("sessionFailed")),this.screen_=null,this.JSC$62287_publish("sessionScreen",null))};
JL.prototype.info=function(a){cK(this.JSC$38956_logName_,a)};
var LL=function(a,b){cK(a.JSC$38956_logName_,b)};
JL.prototype.JSC$38958_getCastSession=function(){return null};
JL.prototype.setDisplayStatus=function(a){var b=this.receiver_;a?(b.displayStatus=new chrome.cast.ReceiverDisplayStatus(a,[]),b.displayStatus.showStop=!0):b.displayStatus=null;chrome.cast.setReceiverDisplayStatus(b,(0,_.$i)(function(){this.info("Updated receiver status for "+b.friendlyName+": "+a)},this),(0,_.$i)(function(){LL(this,"Failed to update receiver status for: "+b.friendlyName)},this))};
JL.prototype.disposeInternal=function(){this.setDisplayStatus("");JL.superClass_.disposeInternal.call(this)};
var ML=function(a,b,c){JL.call(this,a,b,"CastSession");var d=this;this.config_=c;this.JSC$38961_session_=null;this.JSC$38961_boundSessionUpdate_=(0,_.$i)(this.JSC$38963_onSessionUpdate_,this);this.boundYoutubeMessage_=(0,_.$i)(this.onYoutubeMessage_,this);this.sessionStatusTimeoutKey_=_.Bd(function(){mfb(d,null)},12E4);
this.getLoungeTokenTimeoutKey_=this.onLoungeTokenTimeoutKey_=this.JSC$38961_checkScreenAvailabilityTimeoutKey_=this.getScreenTimeoutKey_=0;this.JSC$38961_isInitLoungeToken_=!1;this.JSC$38961_lastLoungeTokenRefreshError_="unknown"};
_.q(ML,JL);_.f=ML.prototype;
_.f.setCastSession=function(a){if(this.JSC$38961_session_){if(this.JSC$38961_session_==a)return;LL(this,"Overriding cast session with new session object");nfb(this);this.JSC$38961_isInitLoungeToken_=!1;this.JSC$38961_lastLoungeTokenRefreshError_="unknown";this.JSC$38961_session_.removeUpdateListener(this.JSC$38961_boundSessionUpdate_);this.JSC$38961_session_.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.boundYoutubeMessage_)}this.JSC$38961_session_=a;this.JSC$38961_session_.addUpdateListener(this.JSC$38961_boundSessionUpdate_);this.JSC$38961_session_.addMessageListener("urn:x-cast:com.google.youtube.mdx",
this.boundYoutubeMessage_);ofb(this,"getMdxSessionStatus")};
_.f.launchWithParams=function(a){this.info("launchWithParams no-op for Cast: "+(0,_.Il)(a))};
_.f.stop=function(){if(this.JSC$38961_session_)this.JSC$38961_session_.stop((0,_.$i)(function(){this.onSessionStopped()},this),(0,_.$i)(function(){this.onSessionStopped(Error("Jf"))},this));
else this.onSessionStopped(Error("Kf"))};
_.f.setDisplayStatus=function(){};
_.f.disposeInternal=function(){this.info("disposeInternal");nfb(this);this.JSC$38961_session_&&(this.JSC$38961_session_.removeUpdateListener(this.JSC$38961_boundSessionUpdate_),this.JSC$38961_session_.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.boundYoutubeMessage_));this.JSC$38961_session_=null;JL.prototype.disposeInternal.call(this)};
var qfb=function(a,b){_.Dd(a.getLoungeTokenTimeoutKey_);a.getLoungeTokenTimeoutKey_=0;0==b?pfb(a):a.getLoungeTokenTimeoutKey_=_.Bd(function(){pfb(a)},b)},pfb=function(a){ofb(a,"getLoungeToken");
_.Dd(a.onLoungeTokenTimeoutKey_);a.onLoungeTokenTimeoutKey_=_.Bd(function(){rfb(a,null)},3E4)},ofb=function(a,b){a.info("sendYoutubeMessage_: "+b+" "+(0,_.Il)(void 0));
var c={};c.type=b;a.JSC$38961_session_?a.JSC$38961_session_.sendMessage("urn:x-cast:com.google.youtube.mdx",c,function(){},(0,_.$i)(function(){LL(this,"Failed to send message: "+b+".")},a)):LL(a,"Sending yt message without session: "+(0,_.Il)(c))};
ML.prototype.onYoutubeMessage_=function(a,b){if(!this.isDisposed())if(b)if(b=(0,_.Ns)(b),_.pa(b))switch(a=""+b.type,b=b.data||{},this.info("onYoutubeMessage_: "+a+" "+(0,_.Il)(b)),a){case "mdxSessionStatus":mfb(this,b);break;case "loungeToken":rfb(this,b);break;default:LL(this,"Unknown youtube message: "+a)}else LL(this,"Unable to parse message.");else LL(this,"No data in message.")};
var sfb=function(a,b){if(b)a.info("onConnectedScreenId_: Received screenId: "+b),a.getScreen()&&a.getScreen().id==b||a.getScreen_(b,function(c){KL(a,c)},function(){return a.onSessionStopped()},5);
else a.onSessionStopped(Error("Lf"))},ufb=function(a,b,c){a.info("onConnectedScreenData_: Received screenData: "+JSON.stringify(b));
var d=new XJ(b);tfb(a,d,function(e){e?(a.JSC$38961_isInitLoungeToken_=!0,IL(a.JSC$38956_screenService_,d),KL(a,d),a.JSC$38961_lastLoungeTokenRefreshError_="unknown",qfb(a,c)):(_.jd(Error("Mf`"+JSON.stringify(b))),a.onSessionStopped())},5)},mfb=function(a,b){_.Dd(a.sessionStatusTimeoutKey_);
a.sessionStatusTimeoutKey_=0;if(b)a.config_.enableCastLoungeToken&&b.loungeToken?b.deviceId?a.getScreen()&&a.getScreen().uuid==b.deviceId||(b.loungeTokenRefreshIntervalMs?ufb(a,{name:a.receiver_.friendlyName,screenId:b.screenId,loungeToken:b.loungeToken,dialId:b.deviceId,screenIdType:"shortLived"},b.loungeTokenRefreshIntervalMs):(_.jd(Error("Of`"+JSON.stringify(b))),sfb(a,b.screenId))):(_.jd(Error("Nf`"+JSON.stringify(b))),sfb(a,b.screenId)):sfb(a,b.screenId);else a.onSessionStopped(Error("Lf"))},
rfb=function(a,b){_.Dd(a.onLoungeTokenTimeoutKey_);
a.onLoungeTokenTimeoutKey_=0;var c=null;if(b)if(b.loungeToken){var d;(null==(d=a.getScreen())?void 0:d.token)==b.loungeToken&&(c="staleLoungeToken")}else c="missingLoungeToken";else c="noLoungeTokenResponse";c?(a.info("Did not receive a new lounge token in onLoungeToken_ with data: "+(JSON.stringify(b)+", error: "+c)),a.JSC$38961_lastLoungeTokenRefreshError_=c,qfb(a,3E4)):(lfb(a,b.loungeToken),a.JSC$38961_isInitLoungeToken_=!1,a.JSC$38961_lastLoungeTokenRefreshError_="unknown",qfb(a,b.loungeTokenRefreshIntervalMs))};
ML.prototype.getScreen_=function(a,b,c,d){_.Dd(this.getScreenTimeoutKey_);this.getScreenTimeoutKey_=0;ffb(this.JSC$38956_screenService_,this.receiver_.label,a,this.receiver_.friendlyName,(0,_.$i)(function(e){e?b(e):0<=d?(LL(this,"Screen "+a+" appears to be offline. "+d+" retries left."),this.getScreenTimeoutKey_=_.Bd((0,_.$i)(this.getScreen_,this,a,b,c,d-1),300)):c(Error("Pf"))},this),c)};
var tfb=function(a,b,c,d){_.Dd(a.JSC$38961_checkScreenAvailabilityTimeoutKey_);a.JSC$38961_checkScreenAvailabilityTimeoutKey_=0;hfb(a.JSC$38956_screenService_,b,function(e){e||0>d?c(e):a.JSC$38961_checkScreenAvailabilityTimeoutKey_=_.Bd(function(){tfb(a,b,c,d-1)},300)})};
ML.prototype.JSC$38958_getCastSession=function(){return this.JSC$38961_session_};
ML.prototype.JSC$38963_onSessionUpdate_=function(a){this.isDisposed()||a||(LL(this,"Cast session died."),this.onSessionStopped())};
var nfb=function(a){_.Dd(a.getScreenTimeoutKey_);a.getScreenTimeoutKey_=0;_.Dd(a.JSC$38961_checkScreenAvailabilityTimeoutKey_);a.JSC$38961_checkScreenAvailabilityTimeoutKey_=0;_.Dd(a.sessionStatusTimeoutKey_);a.sessionStatusTimeoutKey_=0;_.Dd(a.onLoungeTokenTimeoutKey_);a.onLoungeTokenTimeoutKey_=0;_.Dd(a.getLoungeTokenTimeoutKey_);a.getLoungeTokenTimeoutKey_=0};
var NL=function(a,b,c,d){JL.call(this,a,b,"DialSession");this.config_=d;this.JSC$38966_session_=this.launchData_=null;this.reversePairingCode_="";this.JSC$38966_theme_=c;this.connectData_=null;this.deferredLaunch_=function(){};
this.JSC$38966_deferredLaunchDeadlineTimer_=NaN;this.JSC$38966_boundSessionUpdate_=(0,_.$i)(this.JSC$38968_onSessionUpdate_,this);this.cancelPolling_=function(){};
this.getDialAppInfoTimeoutKey_=this.JSC$38966_checkScreenAvailabilityTimeoutKey_=0;this.JSC$38966_isInitLoungeToken_=!1;this.JSC$38966_lastLoungeTokenRefreshError_="unknown"};
_.q(NL,JL);NL.prototype.setCastSession=function(a){this.JSC$38966_session_=a;this.JSC$38966_session_.addUpdateListener(this.JSC$38966_boundSessionUpdate_)};
NL.prototype.launchWithParams=function(a){this.connectData_=a;this.deferredLaunch_()};
NL.prototype.stop=function(){vfb(this);if(this.JSC$38966_session_)this.JSC$38966_session_.stop((0,_.$i)(this.onSessionStopped,this,null),(0,_.$i)(this.onSessionStopped,this,"Failed to stop DIAL device."));else this.onSessionStopped()};
NL.prototype.disposeInternal=function(){vfb(this);this.JSC$38966_session_&&this.JSC$38966_session_.removeUpdateListener(this.JSC$38966_boundSessionUpdate_);this.JSC$38966_session_=null;JL.prototype.disposeInternal.call(this)};
var OL=function(a){var b;return!!(a.config_.enableDialLoungeToken&&(null==(b=a.JSC$38966_session_)?0:b.getDialAppInfo))},wfb=function(a){a.cancelPolling_=a.JSC$38956_screenService_.JSC$38954_getScreenByPollingPairingCode(a.reversePairingCode_,a.receiver_.label,a.receiver_.friendlyName,OL(a),function(b,c){a.cancelPolling_=function(){};
a.JSC$38966_isInitLoungeToken_=!0;KL(a,b);"shortLived"==b.idType&&0<c&&PL(a,c)},function(b){a.cancelPolling_=function(){};
a.onSessionStopped(b)})};
NL.prototype.JSC$38968_onSessionUpdate_=function(a){this.isDisposed()||a||(LL(this,"DIAL session died."),this.cancelPolling_(),this.cancelPolling_=function(){},this.onSessionStopped())};
var xfb=function(a){var b={};b.pairingCode=a.reversePairingCode_;b.theme=a.JSC$38966_theme_;Qeb()&&(b.env_useStageMdx=1);return _.Hd(b)},yfb=function(a){return new Promise(function(b){a.reversePairingCode_=a9a();
if(a.connectData_){var c=new chrome.cast.DialLaunchResponse(!0,xfb(a));b(c);wfb(a)}else a.deferredLaunch_=function(){_.Dd(a.JSC$38966_deferredLaunchDeadlineTimer_);a.deferredLaunch_=function(){};
a.JSC$38966_deferredLaunchDeadlineTimer_=NaN;var d=new chrome.cast.DialLaunchResponse(!0,xfb(a));b(d);wfb(a)},a.JSC$38966_deferredLaunchDeadlineTimer_=_.Bd(function(){a.deferredLaunch_()},100)})},Afb=function(a,b,c){a.info("initOnConnectedScreenDataPromise_: Received screenData: "+JSON.stringify(b));
var d=new XJ(b);return(new Promise(function(e){zfb(a,d,function(h){h?(a.JSC$38966_isInitLoungeToken_=!0,IL(a.JSC$38956_screenService_,d),KL(a,d),PL(a,c)):_.jd(Error("Rf`"+JSON.stringify(b)));e(h)},5)})).then(function(e){return e?new chrome.cast.DialLaunchResponse(!1):yfb(a)})},Bfb=function(a,b){var c=a.launchData_.receiver.label,d=a.receiver_.friendlyName;
return(new Promise(function(e){ffb(a.JSC$38956_screenService_,c,b,d,function(h){h&&h.token&&KL(a,h);e(h)},function(h){LL(a,"Failed to get DIAL screen: "+h);
e(null)})})).then(function(e){return e&&e.token?new chrome.cast.DialLaunchResponse(!1):yfb(a)})},zfb=function(a,b,c,d){_.Dd(a.JSC$38966_checkScreenAvailabilityTimeoutKey_);
a.JSC$38966_checkScreenAvailabilityTimeoutKey_=0;hfb(a.JSC$38956_screenService_,b,function(e){e||0>d?c(e):a.JSC$38966_checkScreenAvailabilityTimeoutKey_=_.Bd(function(){zfb(a,b,c,d-1)},300)})},PL=function(a,b){a.info("getDialAppInfoWithTimeout_ "+b);
OL(a)&&(_.Dd(a.getDialAppInfoTimeoutKey_),a.getDialAppInfoTimeoutKey_=0,0==b?Cfb(a):a.getDialAppInfoTimeoutKey_=_.Bd(function(){Cfb(a)},b))},Cfb=function(a){OL(a)&&a.JSC$38966_session_.getDialAppInfo(function(b){a.info("getDialAppInfo dialLaunchData: "+JSON.stringify(b));
b=b.extraData||{};var c=null;if(b.loungeToken){var d;(null==(d=a.getScreen())?void 0:d.token)==b.loungeToken&&(c="staleLoungeToken")}else c="missingLoungeToken";c?(a.JSC$38966_lastLoungeTokenRefreshError_=c,PL(a,3E4)):(a.JSC$38966_isInitLoungeToken_=!1,a.JSC$38966_lastLoungeTokenRefreshError_="unknown",lfb(a,b.loungeToken),PL(a,b.loungeTokenRefreshIntervalMs))},function(b){a.info("getDialAppInfo error: "+b);
a.JSC$38966_lastLoungeTokenRefreshError_="noLoungeTokenResponse";PL(a,3E4)})},vfb=function(a){_.Dd(a.JSC$38966_checkScreenAvailabilityTimeoutKey_);
a.JSC$38966_checkScreenAvailabilityTimeoutKey_=0;_.Dd(a.getDialAppInfoTimeoutKey_);a.getDialAppInfoTimeoutKey_=0;a.cancelPolling_();a.cancelPolling_=function(){};
_.Dd(a.JSC$38966_deferredLaunchDeadlineTimer_)};
var QL=function(a,b){JL.call(this,a,b,"ManualSession");this.JSC$38970_deferredLaunchDeadlineTimer_=_.Bd((0,_.$i)(this.launchWithParams,this,null),150)};
_.q(QL,JL);QL.prototype.stop=function(){this.onSessionStopped()};
QL.prototype.setCastSession=function(){};
QL.prototype.launchWithParams=function(){_.Dd(this.JSC$38970_deferredLaunchDeadlineTimer_);this.JSC$38970_deferredLaunchDeadlineTimer_=NaN;var a=ZJ(this.JSC$38956_screenService_.getScreens(),this.receiver_.label);if(a)KL(this,a);else this.onSessionStopped(Error("Sf"))};
QL.prototype.disposeInternal=function(){_.Dd(this.JSC$38970_deferredLaunchDeadlineTimer_);this.JSC$38970_deferredLaunchDeadlineTimer_=NaN;JL.prototype.disposeInternal.call(this)};
var RL=function(a,b){_.gJ.call(this);this.config_=b;this.JSC$38973_screenService_=a;this.JSC$38973_appId_=b.appId||"233637DE";this.JSC$38973_theme_=b.theme||"cl";this.disableDial_=b.disableCastApi||!1;this.forceMirroring_=b.forceMirroring||!1;this.JSC$38973_session_=null;this.hasCastReceiver_=!1;this.customReceivers_=[];this.boundReceiverActionListener_=(0,_.$i)(this.onReceiverAction_,this)};
_.q(RL,_.gJ);
RL.prototype.init=function(a,b){chrome.cast.timeout.requestSession=3E4;var c=new chrome.cast.SessionRequest(this.JSC$38973_appId_,[chrome.cast.Capability.AUDIO_OUT]);this.disableDial_||(c.dialRequest=new chrome.cast.DialRequest("YouTube"));var d=chrome.cast.AutoJoinPolicy.TAB_AND_ORIGIN_SCOPED;a=a||this.forceMirroring_?chrome.cast.DefaultActionPolicy.CAST_THIS_TAB:chrome.cast.DefaultActionPolicy.CREATE_SESSION;var e=(0,_.$i)(this.onReceiverUpdated_,this);c=new chrome.cast.ApiConfig(c,(0,_.$i)(this.onSessionEstablished_,
this),e,d,a);c.customDialLaunchCallback=(0,_.$i)(this.onDialLaunchRequested_,this);chrome.cast.initialize(c,(0,_.$i)(function(){this.isDisposed()||(chrome.cast.addReceiverActionListener(this.boundReceiverActionListener_),j9a(),this.JSC$38973_screenService_.subscribe("onlineScreenChange",(0,_.$i)(this.JSC$38975_onScreenChange_,this)),this.customReceivers_=Dfb(this),chrome.cast.setCustomReceivers(this.customReceivers_,function(){},(0,_.$i)(function(h){this.warn_("Failed to set initial custom receivers: "+
(0,_.Il)(h))},this)),this.JSC$62287_publish("yt-remote-cast2-availability-change",SL(this)),b(!0))},this),(0,_.$i)(function(h){this.warn_("Failed to initialize API: "+(0,_.Il)(h));
b(!1)},this))};
RL.prototype.setConnectedScreenStatus=function(a,b){TL("Setting connected screen ID: "+a+" -> "+b);if(this.JSC$38973_session_){var c=this.JSC$38973_session_.getScreen();if(!a||c&&c.id!=a)TL("Unsetting old screen status: "+this.JSC$38973_session_.receiver_.friendlyName),UL(this,null)}if(a&&b){if(!this.JSC$38973_session_){c=ZJ(this.JSC$38973_screenService_.getScreens(),a);if(!c){TL("setConnectedScreenStatus: Unknown screen.");return}if("shortLived"==c.idType){TL("setConnectedScreenStatus: Screen with id type to be short lived.");
return}a=Efb(this,c);a||(TL("setConnectedScreenStatus: Connected receiver not custom..."),a=new chrome.cast.Receiver(c.uuid?c.uuid:c.id,c.name),a.receiverType=chrome.cast.ReceiverType.CUSTOM,this.customReceivers_.push(a),chrome.cast.setCustomReceivers(this.customReceivers_,function(){},(0,_.$i)(function(d){this.warn_("Failed to set initial custom receivers: "+(0,_.Il)(d))},this)));
TL("setConnectedScreenStatus: new active receiver: "+a.friendlyName);UL(this,new QL(this.JSC$38973_screenService_,a),!0)}this.JSC$38973_session_.setDisplayStatus(b)}else TL("setConnectedScreenStatus: no screen.")};
var Efb=function(a,b){return b?_.ht(a.customReceivers_,function(c){return YJ(b,c.label)},a):null};
RL.prototype.setLaunchParams=function(a){this.isDisposed()?this.warn_("Setting connection data on disposed cast v2"):this.JSC$38973_session_?this.JSC$38973_session_.launchWithParams(a):this.warn_("Setting connection data without a session")};
RL.prototype.JSC$38975_stopSession=function(){this.isDisposed()?this.warn_("Stopping session on disposed cast v2"):this.JSC$38973_session_?(this.JSC$38973_session_.stop(),UL(this,null)):TL("Stopping non-existing session")};
RL.prototype.requestSession=function(){chrome.cast.requestSession((0,_.$i)(this.onSessionEstablished_,this),(0,_.$i)(this.onSessionRequestFailed_,this))};
RL.prototype.disposeInternal=function(){this.JSC$38973_screenService_.unsubscribe("onlineScreenChange",(0,_.$i)(this.JSC$38975_onScreenChange_,this));window.chrome&&chrome.cast&&chrome.cast.removeReceiverActionListener(this.boundReceiverActionListener_);_.ja(_.ld("yt.mdx.remote.debug.handlers_")||[],g9a);_.Jb(this.JSC$38973_session_);_.gJ.prototype.disposeInternal.call(this)};
var TL=function(a){cK("Controller",a)};
RL.prototype.warn_=function(a){cK("Controller",a)};
var g9a=function(a){window.chrome&&chrome.cast&&chrome.cast.logMessage&&chrome.cast.logMessage(a)},SL=function(a){return a.hasCastReceiver_||!!a.customReceivers_.length||!!a.JSC$38973_session_},UL=function(a,b,c){b!=a.JSC$38973_session_&&(_.Jb(a.JSC$38973_session_),(a.JSC$38973_session_=b)?(c?a.JSC$62287_publish("yt-remote-cast2-receiver-resumed",b.receiver_):a.JSC$62287_publish("yt-remote-cast2-receiver-selected",b.receiver_),b.subscribe("sessionScreen",(0,_.$i)(a.onSessionScreen_,a,b)),b.subscribe("sessionFailed",
function(){return Ffb(a,b)}),b.getScreen()?a.JSC$62287_publish("yt-remote-cast2-session-change",b.getScreen()):c&&a.JSC$38973_session_.launchWithParams(null)):a.JSC$62287_publish("yt-remote-cast2-session-change",null))},Ffb=function(a,b){a.JSC$38973_session_==b&&a.JSC$62287_publish("yt-remote-cast2-session-failed")};
_.f=RL.prototype;_.f.onSessionScreen_=function(a,b){this.JSC$38973_session_==a&&(b||UL(this,null),this.JSC$62287_publish("yt-remote-cast2-session-change",b))};
_.f.onReceiverAction_=function(a,b){if(!this.isDisposed())if(a)switch(a.friendlyName=chrome.cast.unescape(a.friendlyName),TL("onReceiverAction_ "+a.label+" / "+a.friendlyName+"-- "+b),b){case chrome.cast.ReceiverAction.CAST:if(this.JSC$38973_session_)if(this.JSC$38973_session_.receiver_.label!=a.label)TL("onReceiverAction_: Stopping active receiver: "+this.JSC$38973_session_.receiver_.friendlyName),this.JSC$38973_session_.stop();else{TL("onReceiverAction_: Casting to active receiver.");this.JSC$38973_session_.getScreen()&&
this.JSC$62287_publish("yt-remote-cast2-session-change",this.JSC$38973_session_.getScreen());break}switch(a.receiverType){case chrome.cast.ReceiverType.CUSTOM:UL(this,new QL(this.JSC$38973_screenService_,a));break;case chrome.cast.ReceiverType.DIAL:UL(this,new NL(this.JSC$38973_screenService_,a,this.JSC$38973_theme_,this.config_));break;case chrome.cast.ReceiverType.CAST:UL(this,new ML(this.JSC$38973_screenService_,a,this.config_));break;default:this.warn_("Unknown receiver type: "+a.receiverType)}break;
case chrome.cast.ReceiverAction.STOP:this.JSC$38973_session_&&this.JSC$38973_session_.receiver_.label==a.label?this.JSC$38973_session_.stop():this.warn_("Stopping receiver w/o session: "+a.friendlyName)}else this.warn_("onReceiverAction_ called without receiver.")};
_.f.onDialLaunchRequested_=function(a){if(this.isDisposed())return Promise.reject(Error("Tf"));var b=a.receiver;b.receiverType!=chrome.cast.ReceiverType.DIAL&&(this.warn_("Not DIAL receiver: "+b.friendlyName),b.receiverType=chrome.cast.ReceiverType.DIAL);var c=this.JSC$38973_session_?this.JSC$38973_session_.receiver_:null;if(!c||c.label!=b.label)return this.warn_("Receiving DIAL launch request for non-clicked DIAL receiver: "+b.friendlyName),Promise.reject(Error("Uf"));if(c&&c.label==b.label&&c.receiverType!=
chrome.cast.ReceiverType.DIAL){if(this.JSC$38973_session_.getScreen())return TL("Reselecting dial screen."),this.JSC$62287_publish("yt-remote-cast2-session-change",this.JSC$38973_session_.getScreen()),Promise.resolve(new chrome.cast.DialLaunchResponse(!1));this.warn_('Changing CAST intent from "'+c.receiverType+'" to "dial" for '+b.friendlyName);UL(this,new NL(this.JSC$38973_screenService_,b,this.JSC$38973_theme_,this.config_))}b=this.JSC$38973_session_;b.launchData_=a;b.launchData_.appState==chrome.cast.DialAppState.RUNNING?
(a=b.launchData_.extraData||{},c=a.screenId||null,OL(b)&&a.loungeToken?a.loungeTokenRefreshIntervalMs?a=Afb(b,{name:b.receiver_.friendlyName,screenId:a.screenId,loungeToken:a.loungeToken,dialId:b.launchData_.receiver.label,screenIdType:"shortLived"},a.loungeTokenRefreshIntervalMs):(_.jd(Error("Qf`"+JSON.stringify(a))),a=Bfb(b,c)):a=Bfb(b,c)):a=yfb(b);return a};
_.f.onSessionEstablished_=function(a){var b=this;if(!this.isDisposed()&&!this.forceMirroring_){TL("New cast session ID: "+a.sessionId);var c=a.receiver;if(c.receiverType!=chrome.cast.ReceiverType.CUSTOM){if(!this.JSC$38973_session_)if(c.receiverType==chrome.cast.ReceiverType.CAST)TL("Got resumed cast session before resumed mdx connection."),c.friendlyName=chrome.cast.unescape(c.friendlyName),UL(this,new ML(this.JSC$38973_screenService_,c,this.config_),!0);else{this.warn_("Got non-cast session without previous mdx receiver event, or mdx resume.");
return}var d=this.JSC$38973_session_.receiver_,e=ZJ(this.JSC$38973_screenService_.getScreens(),d.label);e&&YJ(e,c.label)&&d.receiverType!=chrome.cast.ReceiverType.CAST&&c.receiverType==chrome.cast.ReceiverType.CAST&&(TL("onSessionEstablished_: manual to cast session change "+c.friendlyName),_.Jb(this.JSC$38973_session_),this.JSC$38973_session_=new ML(this.JSC$38973_screenService_,c,this.config_),this.JSC$38973_session_.subscribe("sessionScreen",(0,_.$i)(this.onSessionScreen_,this,this.JSC$38973_session_)),
this.JSC$38973_session_.subscribe("sessionFailed",function(){return Ffb(b,b.JSC$38973_session_)}),this.JSC$38973_session_.launchWithParams(null));
this.JSC$38973_session_.setCastSession(a)}}};
_.f.JSC$38975_getCastSession=function(){return this.JSC$38973_session_?this.JSC$38973_session_.JSC$38958_getCastSession():null};
_.f.onSessionRequestFailed_=function(a){this.isDisposed()||(this.warn_("Failed to estabilish a session: "+(0,_.Il)(a)),a.code!=chrome.cast.ErrorCode.CANCEL&&UL(this,null),this.JSC$62287_publish("yt-remote-cast2-session-failed"))};
_.f.onReceiverUpdated_=function(a){TL("Receiver availability updated: "+a);if(!this.isDisposed()){var b=SL(this);this.hasCastReceiver_=a==chrome.cast.ReceiverAvailability.AVAILABLE;SL(this)!=b&&this.JSC$62287_publish("yt-remote-cast2-availability-change",SL(this))}};
var Dfb=function(a){var b=a.JSC$38973_screenService_.JSC$38954_getOnlineScreens(),c=a.JSC$38973_session_&&a.JSC$38973_session_.receiver_;a=_.id(b,function(d){c&&YJ(d,c.label)&&(c=null);var e=d.uuid?d.uuid:d.id,h=Efb(this,d);h?(h.label=e,h.friendlyName=d.name):(h=new chrome.cast.Receiver(e,d.name),h.receiverType=chrome.cast.ReceiverType.CUSTOM);return h},a);
c&&(c.receiverType!=chrome.cast.ReceiverType.CUSTOM&&(c=new chrome.cast.Receiver(c.label,c.friendlyName),c.receiverType=chrome.cast.ReceiverType.CUSTOM),a.push(c));return a};
RL.prototype.JSC$38975_onScreenChange_=function(){this.isDisposed()||(this.customReceivers_=Dfb(this),TL("Updating custom receivers: "+(0,_.Il)(this.customReceivers_)),chrome.cast.setCustomReceivers(this.customReceivers_,function(){},(0,_.$i)(function(){this.warn_("Failed to set custom receivers.")},this)),this.JSC$62287_publish("yt-remote-cast2-availability-change",SL(this)))};
RL.prototype.setLaunchParams=RL.prototype.setLaunchParams;RL.prototype.setConnectedScreenStatus=RL.prototype.setConnectedScreenStatus;RL.prototype.stopSession=RL.prototype.JSC$38975_stopSession;RL.prototype.getCastSession=RL.prototype.JSC$38975_getCastSession;RL.prototype.requestSession=RL.prototype.requestSession;RL.prototype.init=RL.prototype.init;RL.prototype.dispose=RL.prototype.dispose;
var Mfb=function(a,b,c){c.disableCastApi?VL("Cannot initialize because disabled by Mdx config."):Gfb()?Hfb(a,c)&&(Ifb(!0),window.chrome&&chrome.cast&&chrome.cast.isAvailable?Jfb(b):(window.__onGCastApiAvailable=function(d,e){d?Jfb(b):(WL("Failed to load cast API: "+e),Kfb(!1),Ifb(!1),_.Po("yt-remote-cast-available"),_.Po("yt-remote-cast-receiver"),Lfb(),b(!1))},c.loadCastApiSetupScript?_.vE("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"):0<=window.navigator.userAgent.indexOf("Android")&&
0<=window.navigator.userAgent.indexOf("Chrome/")&&window.navigator.presentation?60<=Zbb()&&hcb():!window.chrome||!window.navigator.presentation||0<=window.navigator.userAgent.indexOf("Edge")?ccb():89<=Zbb()?jcb():(gcb(),FK(icb.map(dcb))))):VL("Cannot initialize because not running Chrome")},Lfb=function(){VL("dispose");
var a=XL();a&&a.dispose();_.Fe("yt.mdx.remote.cloudview.instance_",null);Nfb(!1);P6a();O6a.length=0},Ofb=function(){return!!_.Oo("yt-remote-cast-installed")},Pfb=function(){var a=_.Oo("yt-remote-cast-receiver");
return a?a.friendlyName:null},Qfb=function(){VL("clearCurrentReceiver");
_.Po("yt-remote-cast-receiver")},Rfb=function(){return Ofb()?XL()?XL().getCastSession():(WL("getCastSelector: Cast is not initialized."),null):(WL("getCastSelector: Cast API is not installed!"),null)},YL=function(a,b){Sfb()?XL().setConnectedScreenStatus(a,b):WL("setConnectedScreenStatus called before ready.")},Gfb=function(){var a=0<=_.ua().search(/ (CrMo|Chrome|CriOS)\//);
return _.Kj||a},Hfb=function(a,b){var c=!1;
XL()||(a=new RL(a,b),a.subscribe("yt-remote-cast2-availability-change",function(d){_.No("yt-remote-cast-available",d);oJ("yt-remote-cast2-availability-change",d)}),a.subscribe("yt-remote-cast2-receiver-selected",function(d){VL("onReceiverSelected: "+d.friendlyName);
_.No("yt-remote-cast-receiver",d);oJ("yt-remote-cast2-receiver-selected",d)}),a.subscribe("yt-remote-cast2-receiver-resumed",function(d){VL("onReceiverResumed: "+d.friendlyName);
_.No("yt-remote-cast-receiver",d);oJ("yt-remote-cast2-receiver-resumed",d)}),a.subscribe("yt-remote-cast2-session-change",function(d){VL("onSessionChange: "+zL(d));
d||_.Po("yt-remote-cast-receiver");oJ("yt-remote-cast2-session-change",d)}),_.Fe("yt.mdx.remote.cloudview.instance_",a),c=!0);
VL("cloudview.createSingleton_: "+c);return c},XL=function(){return _.ld("yt.mdx.remote.cloudview.instance_")},Jfb=function(a){Kfb(!0);
Ifb(!1);XL().init(!1,function(b){b?(Nfb(!0),_.xE("yt-remote-cast2-api-ready")):(WL("Failed to initialize cast API."),Kfb(!1),_.Po("yt-remote-cast-available"),_.Po("yt-remote-cast-receiver"),Lfb());a(b)})},VL=function(a){cK("cloudview",a)},WL=function(a){cK("cloudview",a)},Kfb=function(a){VL("setCastInstalled_ "+a);
_.No("yt-remote-cast-installed",a)},Sfb=function(){return!!_.ld("yt.mdx.remote.cloudview.apiReady_")},Nfb=function(a){VL("setApiReady_ "+a);
_.Fe("yt.mdx.remote.cloudview.apiReady_",a)},Ifb=function(a){_.Fe("yt.mdx.remote.cloudview.initializing_",a)},O6a=[];
var Tfb=function(a){a.audioTrackId=null;a.trackData=null;a.playerState=-1;a.hasPrevious=!1;a.hasNext=!1;a.playerTime_=0;a.playerTimeAt_=_.bj();a.seekableStart_=0;a.seekableEnd_=0;a.JSC$38980_duration_=0;a.loadedTime=0;a.liveIngestionTime_=NaN;a.isLive_=!1};
kK.prototype.reset=function(a){this.listId="";this.index=-1;this.videoId="";Tfb(this);this.volume=-1;this.muted=!1;a&&(this.index=a.index,this.listId=a.listId,this.videoId=a.videoId,this.playerState=a.playerState,this.volume=a.volume,this.muted=a.muted,this.audioTrackId=a.audioTrackId,this.trackData=a.trackData,this.hasPrevious=a.hasPrevious,this.hasNext=a.hasNext,this.playerTime_=a.playerTime,this.playerTimeAt_=a.playerTimeAt,this.seekableStart_=a.seekableStart,this.seekableEnd_=a.seekableEnd,this.JSC$38980_duration_=
a.duration,this.loadedTime=a.loadedTime,this.liveIngestionTime_=a.liveIngestionTime,this.isLive_=!isNaN(this.liveIngestionTime_))};
kK.prototype.isAdPlaying=function(){return 1081==this.playerState};
var ZL=function(a,b){a.playerTime_=b;a.playerTimeAt_=_.bj()},$L=function(a){switch(a.playerState){case 1:case 1081:return(_.bj()-a.playerTimeAt_)/1E3+a.playerTime_;
case -1E3:return 0}return a.playerTime_};
kK.prototype.getDuration=function(){return this.isLive_?this.JSC$38980_duration_+(1==this.playerState?(_.bj()-this.playerTimeAt_)/1E3:0):this.JSC$38980_duration_};
var aM=function(a,b,c){var d=a.videoId;a.videoId=b;a.index=c;b!=d&&Tfb(a)},Ufb=function(a){var b={};
b.index=a.index;b.listId=a.listId;b.videoId=a.videoId;b.playerState=a.playerState;b.volume=a.volume;b.muted=a.muted;b.audioTrackId=a.audioTrackId;b.trackData=_.u.unsafeClone(a.trackData);b.hasPrevious=a.hasPrevious;b.hasNext=a.hasNext;b.playerTime=a.playerTime_;b.playerTimeAt=a.playerTimeAt_;b.seekableStart=a.seekableStart_;b.seekableEnd=a.seekableEnd_;b.duration=a.JSC$38980_duration_;b.loadedTime=a.loadedTime;b.liveIngestionTime=a.liveIngestionTime_;return b};
kK.prototype.clone=function(){return new kK(Ufb(this))};
var cM=function(a,b){_.gJ.call(this);this.state_=0;this.connection_=a;this.contextSubscriptions_=[];this.JSC$38983_actionQueue_=new _.pI;this.castSession_=this.castMedia_=null;this.boundCastStatusListener_=(0,_.$i)(this.onCastStatusUpdate_,this);this.boundCastMediaListener_=(0,_.$i)(this.onCastMediaChange_,this);this.boundCastMediaUpdateListener_=(0,_.$i)(this.onCastMediaUpdate_,this);this.boundCloudviewAvailabilityChange_=(0,_.$i)(this.onCloudviewAvailabilityChange_,this);var c=0;a?(c=a.getProxyState(),
3!=c&&(a.subscribe("proxyStateChange",this.setState_,this),Vfb(this))):c=3;0!=c&&(b?this.setState_(c):_.Bd((0,_.$i)(function(){this.setState_(c)},this),0));
(a=Rfb())&&bM(this,a);this.subscribe("yt-remote-cast2-session-change",this.boundCloudviewAvailabilityChange_)};
_.q(cM,_.gJ);cM.prototype.getState=function(){return this.state_};
cM.prototype.getReconnectTimeout=function(){return this.connection_.getReconnectTimeout()};
cM.prototype.reconnect=function(){this.connection_.reconnect()};
var dM=function(a){return new kK(a.connection_.getPlayerContextData())};
_.f=cM.prototype;_.f.play=function(){eM(this)?(this.castMedia_?this.castMedia_.play(null,_.dj,fM(this,"play")):gM(this,"play"),Wfb(this,1,$L(dM(this))),this.JSC$62287_publish("remotePlayerChange")):hM(this,this.play)};
_.f.pause=function(){eM(this)?(this.castMedia_?this.castMedia_.pause(null,_.dj,fM(this,"pause")):gM(this,"pause"),Wfb(this,2,$L(dM(this))),this.JSC$62287_publish("remotePlayerChange")):hM(this,this.pause)};
_.f.seekTo=function(a){if(eM(this)){if(this.castMedia_){var b=dM(this),c=new chrome.cast.media.SeekRequest;c.currentTime=a;c.resumeState=1==b.playerState||3==b.playerState?chrome.cast.media.ResumeState.PLAYBACK_START:chrome.cast.media.ResumeState.PLAYBACK_PAUSE;this.castMedia_.seek(c,_.dj,fM(this,"seekTo",{newTime:a}))}else gM(this,"seekTo",{newTime:a});Wfb(this,3,a);this.JSC$62287_publish("remotePlayerChange")}else hM(this,_.aj(this.seekTo,a))};
_.f.stop=function(){if(eM(this)){this.castMedia_?this.castMedia_.stop(null,_.dj,fM(this,"stopVideo")):gM(this,"stopVideo");var a=dM(this);a.index=-1;a.videoId="";Tfb(a);iM(this,a);this.JSC$62287_publish("remotePlayerChange")}else hM(this,this.stop)};
_.f.setVolume=function(a,b){if(eM(this)){var c=dM(this);if(this.castSession_){if(c.volume!=a){var d=Math.round(a)/100;this.castSession_.setReceiverVolumeLevel(d,(0,_.$i)(function(){dK("set receiver volume: "+d)},this),(0,_.$i)(function(){this.warn_("failed to set receiver volume.")},this))}c.muted!=b&&this.castSession_.setReceiverMuted(b,(0,_.$i)(function(){dK("set receiver muted: "+b)},this),(0,_.$i)(function(){this.warn_("failed to set receiver muted.")},this))}else{var e={volume:a,
muted:b};-1!=c.volume&&(e.delta=a-c.volume);gM(this,"setVolume",e)}c.muted=b;c.volume=a;iM(this,c)}else hM(this,_.aj(this.setVolume,a,b))};
_.f.setAudioTrack=function(a,b){eM(this)?(b=b.getLanguageInfo().getId(),gM(this,"setAudioTrack",{videoId:a,audioTrackId:b}),a=dM(this),a.audioTrackId=b,iM(this,a)):hM(this,_.aj(this.setAudioTrack,a,b))};
_.f.addVideo=function(a){eM(this)?gM(this,"addVideo",{videoId:a}):hM(this,_.aj(this.addVideo,a))};
_.f.addPlaylist=function(a){eM(this)?gM(this,"addVideos",{listId:a}):hM(this,_.aj(this.addPlaylist,a))};
_.f.removeVideo=function(a){eM(this)?gM(this,"removeVideo",{videoId:a}):hM(this,_.aj(this.removeVideo,a))};
_.f.insertVideo=function(a){eM(this)?gM(this,"insertVideo",{videoId:a}):hM(this,_.aj(this.insertVideo,a))};
_.f.playVideo=function(a,b,c,d,e,h,l){d=void 0===d?null:d;e=void 0===e?null:e;h=void 0===h?null:h;l=void 0===l?null:l;var m=dM(this),p={videoId:a};void 0!==c&&(p.currentIndex=c);aM(m,a,c||0);void 0!==b&&(ZL(m,b),p.currentTime=b);d&&(p.listId=d);e&&(p.playerParams=e);h&&(p.clickTrackingParams=h);l&&(p.locationInfo=(0,_.Il)(l));gM(this,"setPlaylist",p);d||iM(this,m)};
_.f.nextVideo=function(a,b){if(eM(this)){if(a&&b){var c=dM(this);aM(c,a,b);iM(this,c)}gM(this,"next")}else hM(this,_.aj(this.nextVideo,a,b))};
_.f.clearPlaylist=function(){if(eM(this)){gM(this,"clearPlaylist");var a=dM(this);a.reset();iM(this,a);this.JSC$62287_publish("remotePlayerChange")}else hM(this,this.clearPlaylist)};
_.f.dispose=function(){if(3!=this.state_){var a=this.state_;this.state_=3;this.JSC$62287_publish("proxyStateChange",a,this.state_)}_.gJ.prototype.dispose.call(this)};
_.f.disposeInternal=function(){Xfb(this);this.connection_=null;this.JSC$38983_actionQueue_.clear();bM(this,null);_.gJ.prototype.disposeInternal.call(this)};
var Vfb=function(a){_.pd("nowAutoplaying autoplayDismissed remotePlayerChange remoteQueueChange autoplayModeChange autoplayUpNext previousNextChange multiStateLoopEnabled loopModeChange".split(" "),function(b){this.contextSubscriptions_.push(this.connection_.subscribe(b,_.aj(this.onProxyEvent_,b),this))},a)},Xfb=function(a){_.pd(a.contextSubscriptions_,function(b){this.connection_.unsubscribeByKey(b)},a);
a.contextSubscriptions_.length=0},eM=function(a){return 1==a.getState()},hM=function(a,b){50>a.JSC$38983_actionQueue_.getCount()&&a.JSC$38983_actionQueue_.enqueue(b)},Wfb=function(a,b,c){var d=dM(a);
ZL(d,c);-1E3!=d.playerState&&(d.playerState=b);iM(a,d)},gM=function(a,b,c){a.connection_.sendMessage(b,c)},iM=function(a,b){Xfb(a);
a.connection_.setPlayerContextData(Ufb(b));Vfb(a)};
cM.prototype.setState_=function(a){if((a!=this.state_||2==a)&&3!=this.state_&&0!=a){var b=this.state_;this.state_=a;this.JSC$62287_publish("proxyStateChange",b,a);if(1==a)for(;!this.JSC$38983_actionQueue_.isEmpty();)_.y4a(this.JSC$38983_actionQueue_).apply(this);else 3==a&&this.dispose()}};
cM.prototype.onProxyEvent_=function(a,b){this.JSC$62287_publish(a,b)};
var bM=function(a,b){a.castSession_&&(a.castSession_.removeUpdateListener(a.boundCastStatusListener_),a.castSession_.removeMediaListener(a.boundCastMediaListener_),a.onCastMediaChange_(null));a.castSession_=b;if(a.castSession_&&(dK("Setting cast session: "+a.castSession_.sessionId),a.castSession_.addUpdateListener(a.boundCastStatusListener_),a.castSession_.addMediaListener(a.boundCastMediaListener_),a.castSession_.media.length))a.onCastMediaChange_(a.castSession_.media[0])};
cM.prototype.onCastStatusUpdate_=function(a){if(!a)this.onCastMediaChange_(null),bM(this,null);else if(this.castSession_.receiver.volume){a=this.castSession_.receiver.volume;var b=dM(this),c=Math.round(100*a.level||0);if(b.volume!=c||b.muted!=a.muted)dK("Cast volume update: "+a.level+(a.muted?" muted":"")),b.volume=c,b.muted=!!a.muted,iM(this,b)}};
cM.prototype.onCastMediaChange_=function(a){dK("Cast media: "+!!a);this.castMedia_&&this.castMedia_.removeUpdateListener(this.boundCastMediaUpdateListener_);if(this.castMedia_=a)this.castMedia_.addUpdateListener(this.boundCastMediaUpdateListener_),Yfb(this),this.JSC$62287_publish("remotePlayerChange")};
var Yfb=function(a){var b=a.castMedia_.media,c=a.castMedia_.customData;if(b&&c){var d=dM(a);b.contentId!=d.videoId&&dK("Cast changing video to: "+b.contentId);d.videoId=b.contentId;d.playerState=c.playerState;ZL(d,a.castMedia_.getEstimatedTime());iM(a,d)}else dK("No cast media video. Ignoring state update.")};
cM.prototype.onCastMediaUpdate_=function(a){if(a)Yfb(this),this.JSC$62287_publish("remotePlayerChange");else this.onCastMediaChange_(null)};
cM.prototype.onCloudviewAvailabilityChange_=function(){var a=Rfb();a&&bM(this,a)};
cM.prototype.warn_=function(a){cK("CP",a)};
var fM=function(a,b,c){return(0,_.$i)(function(d){this.warn_("Failed to "+b+" with cast v2 channel. Error code: "+d.code);d.code!=chrome.cast.ErrorCode.TIMEOUT&&(this.warn_("Retrying "+b+" using MDx browser channel."),gM(this,b,c))},a)};
var lM=function(a,b,c,d){d=void 0===d?!1:d;_.gJ.call(this);var e=this;this.connectTimerId_=NaN;this.reconnecting_=!1;this.idleDisconnectTimerId_=this.clientSetVideoTimerId_=this.playingSyncTimerId_=this.reconnectedCheckScreenTimeout_=NaN;this.listeners_=[];this.autoplayMode_=this.autoplayVideoId_=this.clientVideoId_=this.playerContext_=this.channelService=null;this.JSC$38993_http_=a;this.enableConnectWithInitialState_=d;this.listeners_.push(_.jf(window,"beforeunload",function(){e.disconnect_(2)}));
this.connectedDevices_=[];this.playerContext_=new kK;this.currentScreenId_=b.id;this.currentScreenIdType_=b.idType;this.channelService=f9a(this.JSC$38993_http_,c,this.JSC$38996_getXsrfToken_,"shortLived"==this.currentScreenIdType_,this.currentScreenId_);this.channelService.listen("channelOpened",function(){Zfb(e)});
this.channelService.listen("channelClosed",function(){jM("Channel closed");isNaN(e.connectTimerId_)?DL(!0):DL();e.dispose()});
this.channelService.listen("channelError",function(h){DL();isNaN(e.getReconnectTimeout_())?(1==h&&"shortLived"==e.currentScreenIdType_&&e.JSC$62287_publish("browserChannelAuthError",h),jM("Channel error: "+h+" without reconnection"),e.dispose()):(e.reconnecting_=!0,jM("Channel error: "+h+" with reconnection in "+e.getReconnectTimeout_()+" ms"),kM(e,2))});
this.channelService.listen("channelMessage",function(h){$fb(e,h)});
this.channelService.setLoungeToken(b.token);this.subscribe("remoteQueueChange",function(){var h=e.playerContext_.videoId;Geb()&&_.No("yt-remote-session-video-id",h)})};
_.q(lM,_.gJ);
lM.prototype.connect=function(a,b){if(b){var c=b.listId,d=b.videoId,e=b.videoIds,h=b.playerParams,l=b.clickTrackingParams,m=b.index,p={videoId:d},r=b.currentTime,v=b.locationInfo;b=b.loopMode;void 0!==r&&(p.currentTime=5>=r?0:r);h&&(p.playerParams=h);v&&(p.locationInfo=v);l&&(p.clickTrackingParams=l);c&&(p.listId=c);e&&0<e.length&&(p.videoIds=e.join(","));void 0!==m&&(p.currentIndex=m);this.enableConnectWithInitialState_&&(p.loopMode=b||"LOOP_MODE_OFF");c&&(this.playerContext_.listId=c);this.playerContext_.videoId=
d;this.playerContext_.index=m||0;this.playerContext_.state=3;ZL(this.playerContext_,r);this.autoplayMode_="UNSUPPORTED";c=this.enableConnectWithInitialState_?"setInitialState":"setPlaylist";jM("Connecting with "+c+" and params: "+(0,_.Il)(p));this.channelService.connect({method:c,params:(0,_.Il)(p)},a,Leb())}else jM("Connecting without params"),this.channelService.connect({},a,Leb());agb(this)};
lM.prototype.setLoungeToken=function(a){this.channelService.setLoungeToken(a)};
lM.prototype.dispose=function(){this.isDisposed()||(_.Fe("yt.mdx.remote.remoteClient_",null),this.JSC$62287_publish("beforeDispose"),kM(this,3));_.gJ.prototype.dispose.call(this)};
lM.prototype.disposeInternal=function(){bgb(this);cgb(this);dgb(this);_.Dd(this.clientSetVideoTimerId_);this.clientSetVideoTimerId_=NaN;_.Dd(this.idleDisconnectTimerId_);this.idleDisconnectTimerId_=NaN;this.clientVideoId_=null;_.kf(this.listeners_);this.listeners_.length=0;this.channelService.dispose();_.gJ.prototype.disposeInternal.call(this);this.autoplayMode_=this.autoplayVideoId_=this.connectedDevices_=this.playerContext_=this.channelService=null};
var egb=function(a){return _.ht(a.connectedDevices_,function(b){return"LOUNGE_SCREEN"==b.type})},jM=function(a){cK("conn",a)},kM=function(a,b){a.JSC$62287_publish("proxyStateChange",b)},agb=function(a){a.connectTimerId_=_.Bd(function(){jM("Connecting timeout");
a.disconnect_(1)},2E4)},bgb=function(a){_.Dd(a.connectTimerId_);
a.connectTimerId_=NaN},dgb=function(a){_.Dd(a.reconnectedCheckScreenTimeout_);
a.reconnectedCheckScreenTimeout_=NaN},fgb=function(a){cgb(a);
a.playingSyncTimerId_=_.Bd(function(){mM(a,"getNowPlaying")},2E4)},cgb=function(a){_.Dd(a.playingSyncTimerId_);
a.playingSyncTimerId_=NaN},Zfb=function(a){jM("Channel opened");
a.reconnecting_&&(a.reconnecting_=!1,dgb(a),a.reconnectedCheckScreenTimeout_=_.Bd(function(){jM("Timing out waiting for a screen.");a.disconnect_(1)},15E3))},igb=function(a,b){var c=null;
if(b){var d=egb(a);d&&(c={clientName:d.clientName,deviceMake:d.brand,deviceModel:d.model,osVersion:d.osVersion})}_.Fe("yt.mdx.remote.remoteClient_",c);b&&(bgb(a),dgb(a));c=a.channelService.isChannelOpened()&&isNaN(a.connectTimerId_);b==c?b&&(kM(a,1),mM(a,"getSubtitlesTrack")):b?(a.getOtherConnectedRemoteId_()&&a.playerContext_.reset(),kM(a,1),mM(a,"getNowPlaying"),ggb(a)):a.disconnect_(1)},jgb=function(a,b){var c=b.params.videoId;
delete b.params.videoId;c==a.playerContext_.videoId&&(_.u.isEmpty(b.params)?a.playerContext_.trackData=null:a.playerContext_.trackData=b.params,a.JSC$62287_publish("remotePlayerChange"))},kgb=function(a,b,c){var d=b.params.videoId||b.params.video_id,e=parseInt(b.params.currentIndex,10);
a.playerContext_.listId=b.params.listId||a.playerContext_.listId;aM(a.playerContext_,d,e);a.JSC$62287_publish("remoteQueueChange",c)},lgb=function(a,b){b.params=b.params||{};
kgb(a,b,"NOW_PLAYING_MAY_CHANGE");a.onStateChange_(b);a.JSC$62287_publish("autoplayDismissed")};
lM.prototype.onStateChange_=function(a){var b=parseInt(a.params.currentTime||a.params.current_time,10);ZL(this.playerContext_,isNaN(b)?0:b);b=parseInt(a.params.state,10);b=isNaN(b)?-1:b;-1==b&&-1E3==this.playerContext_.playerState&&(b=-1E3);this.playerContext_.playerState=b;b=Number(a.params.loadedTime);this.playerContext_.loadedTime=isNaN(b)?0:b;b=Number(a.params.duration);this.playerContext_.JSC$38980_duration_=isNaN(b)?0:b;b=this.playerContext_;var c=Number(a.params.liveIngestionTime);b.liveIngestionTime_=
c;b.isLive_=isNaN(c)?!1:!0;b=this.playerContext_;c=Number(a.params.seekableStartTime);a=Number(a.params.seekableEndTime);b.seekableStart_=isNaN(c)?0:c;b.seekableEnd_=isNaN(a)?0:a;1==this.playerContext_.playerState?fgb(this):cgb(this);this.JSC$62287_publish("remotePlayerChange")};
lM.prototype.onAdStateChange_=function(a){if(-1E3!=this.playerContext_.playerState){var b=1085;switch(parseInt(a.params.adState,10)){case 1:b=1081;break;case 2:b=1084;break;case 0:b=1083}this.playerContext_.playerState=b;a=parseInt(a.params.currentTime,10);ZL(this.playerContext_,isNaN(a)?0:a);this.JSC$62287_publish("remotePlayerChange")}};
var mgb=function(a,b){var c="true"==b.params.muted;a.playerContext_.volume=parseInt(b.params.volume,10);a.playerContext_.muted=c;a.JSC$62287_publish("remotePlayerChange")},ngb=function(a,b){a.autoplayVideoId_=b.params.videoId;
a.JSC$62287_publish("nowAutoplaying",parseInt(b.params.timeout,10))},ogb=function(a,b){a.autoplayVideoId_=b.params.videoId||null;
a.JSC$62287_publish("autoplayUpNext",a.autoplayVideoId_)},pgb=function(a,b){a.autoplayMode_=b.params.autoplayMode;
a.JSC$62287_publish("autoplayModeChange",a.autoplayMode_);"DISABLED"==a.autoplayMode_&&a.JSC$62287_publish("autoplayDismissed")},qgb=function(a,b){var c="true"==b.params.hasNext;
a.playerContext_.hasPrevious="true"==b.params.hasPrevious;a.playerContext_.hasNext=c;a.JSC$62287_publish("previousNextChange")};
lM.prototype.isCapabilitySupportedOnConnectedDevices_=function(a){if(!this.connectedDevices_||0===this.connectedDevices_.length)return!1;for(var b=_.k(this.connectedDevices_),c=b.next();!c.done;c=b.next())if(!c.value.capabilities.has(a))return!1;return!0};
var $fb=function(a,b){b=b.message;b.params?jM("Received: action="+b.action+", params="+(0,_.Il)(b.params)):jM("Received: action="+b.action+" {}");switch(b.action){case "loungeStatus":b=(0,_.Ns)(b.params.devices);a.connectedDevices_=_.id(b,function(d){return new yL(d)});
b=!!_.ht(a.connectedDevices_,function(d){return"LOUNGE_SCREEN"==d.type});
igb(a,b);b=a.isCapabilitySupportedOnConnectedDevices_("mlm");a.JSC$62287_publish("multiStateLoopEnabled",b);break;case "loungeScreenDisconnected":t6a(a.connectedDevices_,function(d){return"LOUNGE_SCREEN"==d.type});
igb(a,!1);break;case "remoteConnected":var c=new yL((0,_.Ns)(b.params.device));_.ht(a.connectedDevices_,function(d){return d.equals(c)})||_.aaa(a.connectedDevices_,c);
break;case "remoteDisconnected":c=new yL((0,_.Ns)(b.params.device));t6a(a.connectedDevices_,function(d){return d.equals(c)});
break;case "gracefulDisconnect":break;case "playlistModified":kgb(a,b,"QUEUE_MODIFIED");break;case "nowPlaying":lgb(a,b);break;case "onStateChange":a.onStateChange_(b);break;case "onAdStateChange":a.onAdStateChange_(b);break;case "onVolumeChanged":mgb(a,b);break;case "onSubtitlesTrackChanged":jgb(a,b);break;case "nowAutoplaying":ngb(a,b);break;case "autoplayDismissed":a.JSC$62287_publish("autoplayDismissed");break;case "autoplayUpNext":ogb(a,b);break;case "onAutoplayModeChanged":pgb(a,b);break;case "onHasPreviousNextChanged":qgb(a,
b);break;case "requestAssistedSignIn":a.JSC$62287_publish("assistedSignInRequested",b.params.authCode);break;case "onLoopModeChanged":a.JSC$62287_publish("loopModeChange",b.params.loopMode);break;default:jM("Unrecognized action: "+b.action)}};
_.f=lM.prototype;_.f.getProxyState_=function(){var a=3;this.isDisposed()||(a=0,isNaN(this.getReconnectTimeout_())?this.channelService.isChannelOpened()&&isNaN(this.connectTimerId_)&&(a=1):a=2);return a};
_.f.disconnect_=function(a){jM("Disconnecting with "+a);_.Fe("yt.mdx.remote.remoteClient_",null);bgb(this);this.JSC$62287_publish("beforeDisconnect",a);1==a&&DL();this.channelService.disconnect(a);this.dispose()};
_.f.getPlayerContextData_=function(){var a=this.playerContext_;this.clientVideoId_&&(a=this.playerContext_.clone(),aM(a,this.clientVideoId_,a.index));return Ufb(a)};
_.f.setPlayerContextData_=function(a){var b=this,c=new kK(a);c.videoId&&c.videoId!=this.playerContext_.videoId&&(this.clientVideoId_=c.videoId,_.Dd(this.clientSetVideoTimerId_),this.clientSetVideoTimerId_=_.Bd(function(){if(b.clientVideoId_){var e=b.clientVideoId_;b.clientVideoId_=null;b.playerContext_.videoId!=e&&mM(b,"getNowPlaying")}},5E3));
var d=[];this.playerContext_.listId==c.listId&&this.playerContext_.videoId==c.videoId&&this.playerContext_.index==c.index||d.push("remoteQueueChange");this.playerContext_.playerState==c.playerState&&this.playerContext_.volume==c.volume&&this.playerContext_.muted==c.muted&&$L(this.playerContext_)==$L(c)&&(0,_.Il)(this.playerContext_.trackData)==(0,_.Il)(c.trackData)||d.push("remotePlayerChange");this.playerContext_.reset(a);_.pd(d,function(e){this.JSC$62287_publish(e)},this)};
_.f.getOtherConnectedRemoteId_=function(){var a=this.channelService.getDeviceId(),b=_.ht(this.connectedDevices_,function(c){return"REMOTE_CONTROL"==c.type&&c.id!=a});
return b?b.id:""};
_.f.getReconnectTimeout_=function(){return this.channelService.getReconnectTimeout()};
_.f.getAutoplayMode_=function(){return this.autoplayMode_||"UNSUPPORTED"};
_.f.getAutoplayVideoId_=function(){return this.autoplayVideoId_||""};
_.f.JSC$38996_reconnect_=function(){!isNaN(this.getReconnectTimeout_())&&this.channelService.reconnect()};
var ggb=function(a){_.Dd(a.idleDisconnectTimerId_);a.idleDisconnectTimerId_=_.Bd(function(){a.disconnect_(1)},864E5)},mM=function(a,b,c){c?jM("Sending: action="+b+", params="+(0,_.Il)(c)):jM("Sending: action="+b);
a.channelService.sendMessage(b,c)};
lM.prototype.sendMessageWithUserAction_=function(a,b){mM(this,a,b);ggb(this)};
lM.prototype.JSC$38996_getXsrfToken_=function(){var a=_.Kd.get("SID","")||"",b=_.Kd.get("SAPISID","")||"",c=_.Kd.get("__Secure-3PAPISID","")||"";if(!a&&!b&&!c)return"";a=_.Ia(AK(a),2);b=_.Ia(AK(b),2);c=_.Ia(AK(c),2);return _.Ia(AK(a+","+b+","+c),2)};
lM.prototype.subscribe=lM.prototype.subscribe;lM.prototype.unsubscribeByKey=lM.prototype.unsubscribeByKey;lM.prototype.getProxyState=lM.prototype.getProxyState_;lM.prototype.disconnect=lM.prototype.disconnect_;lM.prototype.getPlayerContextData=lM.prototype.getPlayerContextData_;lM.prototype.setPlayerContextData=lM.prototype.setPlayerContextData_;lM.prototype.getOtherConnectedRemoteId=lM.prototype.getOtherConnectedRemoteId_;lM.prototype.getReconnectTimeout=lM.prototype.getReconnectTimeout_;
lM.prototype.getAutoplayMode=lM.prototype.getAutoplayMode_;lM.prototype.getAutoplayVideoId=lM.prototype.getAutoplayVideoId_;lM.prototype.reconnect=lM.prototype.JSC$38996_reconnect_;lM.prototype.sendMessage=lM.prototype.sendMessageWithUserAction_;lM.prototype.getXsrfToken=lM.prototype.JSC$38996_getXsrfToken_;lM.prototype.isCapabilitySupportedOnConnectedDevices=lM.prototype.isCapabilitySupportedOnConnectedDevices_;
var rgb=function(a){hK.call(this,"ScreenServiceProxy");this.instance_=a;this.subscriptionKeys_=[];this.subscriptionKeys_.push(this.instance_.$_s("screenChange",(0,_.$i)(this.JSC$38999_onScreenChange_,this)));this.subscriptionKeys_.push(this.instance_.$_s("onlineScreenChange",(0,_.$i)(this.onOnlineScreenChange_,this)))};
_.q(rgb,hK);_.f=rgb.prototype;_.f.getScreens=function(a){return this.instance_.$_gs(a)};
_.f.contains=function(a){return!!this.instance_.$_c(a)};
_.f.get=function(a){return this.instance_.$_g(a)};
_.f.start=function(){this.instance_.$_st()};
_.f.add=function(a,b,c){this.instance_.$_a(a,b,c)};
_.f.remove=function(a,b,c){this.instance_.$_r(a,b,c)};
_.f.updateName=function(a,b,c,d){this.instance_.$_un(a,b,c,d)};
_.f.disposeInternal=function(){for(var a=0,b=this.subscriptionKeys_.length;a<b;++a)this.instance_.$_ubk(this.subscriptionKeys_[a]);this.subscriptionKeys_.length=0;this.instance_=null;hK.prototype.disposeInternal.call(this)};
_.f.JSC$38999_onScreenChange_=function(){this.JSC$62287_publish("screenChange")};
_.f.onOnlineScreenChange_=function(){this.JSC$62287_publish("onlineScreenChange")};
HL.prototype.$_st=HL.prototype.start;HL.prototype.$_gspc=HL.prototype.JSC$38954_getScreenByPairingCode;HL.prototype.$_gsppc=HL.prototype.JSC$38954_getScreenByPollingPairingCode;HL.prototype.$_c=HL.prototype.contains;HL.prototype.$_g=HL.prototype.get;HL.prototype.$_a=HL.prototype.add;HL.prototype.$_un=HL.prototype.updateName;HL.prototype.$_r=HL.prototype.remove;HL.prototype.$_gs=HL.prototype.getScreens;HL.prototype.$_gos=HL.prototype.JSC$38954_getOnlineScreens;HL.prototype.$_s=HL.prototype.subscribe;
HL.prototype.$_ubk=HL.prototype.unsubscribeByKey;
var ygb=function(a){Peb();if(!AL||!AL.get("yt-remote-disable-remote-module-for-dev")){a=_.w("MDX_CONFIG")||a;sbb();Ieb();nM||(nM=new WJ(a?a.loungeApiHost:void 0),Qeb()&&(nM.basePath="/api/loungedev"));oM||(oM=_.ld("yt.mdx.remote.deferredProxies_")||[],_.Fe("yt.mdx.remote.deferredProxies_",oM));sgb();var b=pM();if(!b){var c=new HL(nM,a?a.disableAutomaticScreenCache||!1:!1);_.Fe("yt.mdx.remote.screenService_",c);b=pM();var d={};a&&(d={appId:a.appId,disableDial:a.disableDial,theme:a.theme,loadCastApiSetupScript:a.loadCastApiSetupScript,
disableCastApi:a.disableCastApi,enableDialLoungeToken:a.enableDialLoungeToken,enableCastLoungeToken:a.enableCastLoungeToken,forceMirroring:a.forceMirroring});_.Fe("yt.mdx.remote.enableConnectWithInitialState_",a?a.enableConnectWithInitialState||!1:!1);Mfb(c,function(h){h?qM()&&YL(qM(),"YouTube TV"):c.subscribe("onlineScreenChange",function(){oJ("yt-remote-receiver-availability-change")})},d)}if(a&&!_.ld("yt.mdx.remote.initialized_")){_.Fe("yt.mdx.remote.initialized_",!0);
rM("Initializing: "+(0,_.Il)(a));sM.push(nJ("yt-remote-cast2-api-ready",function(){oJ("yt-remote-api-ready")}));
sM.push(nJ("yt-remote-cast2-availability-change",function(){oJ("yt-remote-receiver-availability-change")}));
sM.push(nJ("yt-remote-cast2-receiver-selected",function(){tgb();oJ("yt-remote-auto-connect","cast-selector-receiver")}));
sM.push(nJ("yt-remote-cast2-receiver-resumed",function(){oJ("yt-remote-receiver-resumed","cast-selector-receiver")}));
sM.push(nJ("yt-remote-cast2-session-change",ugb));sM.push(nJ("yt-remote-connection-change",function(h){h?YL(qM(),"YouTube TV"):vgb()||(YL(null,null),Qfb())}));
sM.push(nJ("yt-remote-cast2-session-failed",function(){oJ("yt-remote-connection-failed")}));
d=wgb();a.isAuto&&(d.id+="#dial");var e=a.capabilities||[];_.x("desktop_enable_autoplay")&&e.push("atp");0<e.length&&(d.capabilities=e);d.name=a.device;d.app=a.app;(a=a.theme)&&(d.theme=a);rM(" -- with channel params: "+(0,_.Il)(d));d?(_.No("yt-remote-session-app",d.app),_.No("yt-remote-session-name",d.name)):(_.Po("yt-remote-session-app"),_.Po("yt-remote-session-name"));_.Fe("yt.mdx.remote.channelParams_",d);b.start();qM()||xgb()}}},zgb=function(){var a=pM().instance_.$_gos();
var b=tM();b&&uM()&&(c9a(a,b)||a.push(b));return b9a(a)},Agb=function(){var a=zgb(),b=tM();
b||(b=vgb());return _.ht(a,function(c){return b&&YJ(b,c.key)?!0:!1})},tM=function(){var a=qM();
if(!a)return null;var b=pM().getScreens();return ZJ(b,a)},ugb=function(a){rM("remote.onCastSessionChange_: "+zL(a));
if(a){var b=tM();b&&b.id==a.id?(YL(b.id,"YouTube TV"),"shortLived"==a.idType&&(a=a.token)&&(b=uM())&&b.setLoungeToken(a)):(b&&Bgb(),Cgb(a,1))}else uM()&&Bgb()},Bgb=function(){Sfb()?XL().stopSession():WL("stopSession called before API ready.");
var a=uM();a&&(a.disconnect(1),Dgb(null))},Egb=function(){var a=uM();
return a&&3!=a.getProxyState()?new cM(uM(),void 0):null},rM=function(a){cK("remote",a)},pM=function(){if(!Fgb){var a=_.ld("yt.mdx.remote.screenService_");
Fgb=a?new rgb(a):null}return Fgb},qM=function(){return _.ld("yt.mdx.remote.currentScreenId_")},Ggb=function(a){_.Fe("yt.mdx.remote.currentScreenId_",a)},tgb=function(){_.Fe("yt.mdx.remote.connectData_",null)},uM=function(){return _.ld("yt.mdx.remote.connection_")},Dgb=function(a){var b=uM();
tgb();a||Ggb("");_.Fe("yt.mdx.remote.connection_",a);oM&&(_.pd(oM,function(c){c(a)}),oM.length=0);
b&&!a?oJ("yt-remote-connection-change",!1):!b&&a&&oJ("yt-remote-connection-change",!0)},vgb=function(){var a=Geb();
if(!a)return null;var b=pM();if(!b)return null;b=b.getScreens();return ZJ(b,a)},Cgb=function(a,b){Ggb(a.id);
a=new lM(nM,a,wgb(),_.ld("yt.mdx.remote.enableConnectWithInitialState_")||!1);a.connect(b,_.ld("yt.mdx.remote.connectData_"));a.subscribe("beforeDisconnect",function(c){oJ("yt-remote-before-disconnect",c)});
a.subscribe("beforeDispose",function(){uM()&&Dgb(null)});
a.subscribe("browserChannelAuthError",function(){var c=tM();c&&"shortLived"==c.idType&&(Sfb()?XL().handleBrowserChannelAuthError():WL("refreshLoungeToken called before API ready."))});
Dgb(a)},xgb=function(){var a=vgb();
a?(rM("Resume connection to: "+zL(a)),Cgb(a,0)):(DL(),Qfb(),rM("Skipping connecting because no session screen found."))},nM=null,oM=null,Fgb=null,sgb=function(){var a=wgb();
if(_.u.isEmpty(a)){a=CL();var b=_.Oo("yt-remote-session-name")||"",c=_.Oo("yt-remote-session-app")||"";a={device:"REMOTE_CONTROL",id:a,name:b,app:c,mdxVersion:3};_.Fe("yt.mdx.remote.channelParams_",a)}},wgb=function(){return _.ld("yt.mdx.remote.channelParams_")||{}},sM=[];
var vM=function(){this.JSC$62392_hasRun=!1};
var wM=function(a){a=void 0===a?{layer:0}:a;this.JSC$62392_hasRun=!1;this.createScreenConfig=a;a={};this.processedResponseMap=(a.response=!1,a.playerResponse=!1,a)};
_.q(wM,vM);wM.prototype.validate=function(a){return!(!a.data||!a.data.response&&!a.data.playerResponse)};
wM.prototype.handle=function(a){var b=_.vp(),c=this.createScreenConfig.layer;a.data.response&&a.data.response.trackingParams&&!this.processedResponseMap.response&&(_.ms(b,a.data.response.trackingParams,void 0,c),this.processedResponseMap.response=!0);a.data.playerResponse&&a.data.playerResponse.trackingParams&&!this.processedResponseMap.playerResponse&&(_.ms(b,a.data.playerResponse.trackingParams,void 0,c),this.processedResponseMap.playerResponse=!0)};
var xM=function(){this.JSC$39010_playerPromiseResolver=_.Sk();this.chunkProcessors=[];this.chunksProcessed=0};
xM.prototype.processChunk=function(a){if(a){for(var b=_.k(this.chunkProcessors),c=b.next();!c.done;c=b.next())c=c.value,c.validate(a)&&(c.handle(a),c.JSC$62392_hasRun=!0);_.fi("np"+this.chunksProcessed);this.chunksProcessed++}};
var yM=function(){vM.apply(this,arguments)};
_.q(yM,vM);yM.prototype.validate=function(a){var b,c;return!this.JSC$62392_hasRun&&!!(null==(b=a.data.response)?0:null==(c=b.onResponseReceivedEndpoints)?0:c.length)};
yM.prototype.handle=function(a){var b=_.Gi.instance;a=_.k(a.data.response.onResponseReceivedEndpoints);for(var c=a.next();!c.done;c=a.next())b.resolveCommand(c.value)};
var zM=function(a,b,c,d,e,h,l){c=void 0===c?!1:c;d=void 0===d?!1:d;h=void 0===h?_.Sx():h;this.JSC$62392_hasRun=!1;this.JSC$39016_playerPromiseResolver=a;this.playerProvider=b;this.miniplayerActive=c;this.fromHistory=d;this.previousVideoId=e;this.JSC$39016_playlistController=h;this.tempData=l};
_.q(zM,vM);zM.prototype.validate=function(a){return!(!a.data.playerResponse||"watch"!==a.data.page&&"shorts"!==a.data.page||this.JSC$62392_hasRun)};
zM.prototype.handle=function(a){var b,c,d;if(_.x("kevlar_continue_playback_without_player_response")&&(null==(b=a.endpoint.watchEndpoint)?0:b.videoId)&&this.previousVideoId&&(null==(c=a.endpoint.watchEndpoint)?void 0:c.videoId)===this.previousVideoId&&(null==(d=a.endpoint.watchEndpoint)?0:d.continuePlayback)&&!this.fromHistory)this.JSC$39016_playerPromiseResolver.resolve();else{b={};if("watch"===a.data.page){a.data.filler||this.miniplayerActive||(_.pw("cfg"),_.Io.getInstance().triggerAction("yt-start-loading-watch"));
c=Object;d=c.assign;a:{var e=a.endpoint;if(_.x("kevlar_playback_associated_queue")&&e&&e.watchEndpoint&&e.watchEndpoint.playlistId&&e.watchEndpoint.videoId){var h=this.JSC$39016_playlistController;h.queueProxy?(h=h.queueProxy,e=h.listId===e.watchEndpoint.playlistId?h.attributionData.get(e.watchEndpoint.videoId):void 0):e=void 0;if(e){e={queue_info:e};break a}}e=void 0}d.call(c,b,e);if(_.x("enable_masthead_quartile_ping_fix")){var l;c=(null==(l=this.tempData)?0:l.adpings)?{adpings:this.tempData.adpings}:
void 0;Object.assign(b,c)}l=this.fromHistory?{cached_load:!0}:void 0;Object.assign(b,l)}if(l=this.playerProvider()){try{l.loadVideoWithPlayerResponse(a.data.playerResponse,b),l.getPlayerPromise().then(this.JSC$39016_playerPromiseResolver.resolve)}catch(m){_.Qf(m),this.JSC$39016_playerPromiseResolver.resolve()}this.JSC$62392_hasRun=!0}else _.Rf(Error("Vf"))}};
var AM=function(a,b,c){this.JSC$62392_hasRun=!1;this.JSC$39024_playerPromiseResolver=a;this.pageRequest=b;this.JSC$39024_playlistController=c};
_.q(AM,vM);AM.prototype.validate=function(a){return!!_.u.getValueByKeys.apply(null,[a.data].concat(_.sc(Qbb)))};
AM.prototype.handle=function(a){var b=this;this.JSC$39024_playerPromiseResolver.promise.then(function(){var c=a.data;var d=_.u.getValueByKeys.apply(null,[c].concat(_.sc(Jbb))),e=_.u.getValueByKeys.apply(null,[c].concat(_.sc(Obb))),h=_.u.getValueByKeys.apply(null,[c].concat(_.sc(Lbb)));var l=(l=_.u.getValueByKeys.apply(null,[c].concat(_.sc(Kbb))))?{videoId:l.videoId,thumbnail:l.thumbnail,title:l.title?_.Mu(l.title):void 0,shortBylineText:l.author?_.Mu(l.author):void 0}:void 0;var m=void 0;_.x("web_get_playlist_id_from_current_endpoint_ks")||
(m=_.u.getValueByKeys.apply(null,[c].concat(_.sc(Mbb))));var p=_.u.getValueByKeys.apply(null,[c].concat(_.sc(Pbb))),r=_.u.getValueByKeys.apply(null,[c].concat(_.sc(Nbb))),v=!!p||!!r&&!!r.results&&0<r.results.length,z=0;e&&e.currentIndex&&e.localCurrentIndex&&(z=e.currentIndex-e.localCurrentIndex);e&&e.playlistId&&(m=e.playlistId);c={rawResponse:c,autoplayRenderer:d,hasRelatedVideoData:v,playingVideo:l,playingVideoId:h,playlistPanelRenderer:e,playlistId:m,playlistIndex:e&&e.currentIndex,relatedVideoArgs:p,
endScreenRenderer:r,playlistIndexOffset:z};a:{d=b.JSC$39024_playlistController;e=b.pageRequest;if((d.response=c)&&"PPSV"===c.playlistId)d.downloadPlaylistProxy||(d.downloadPlaylistProxy=new Eab(d.setPlaylistData.bind(d),d.isPlayingOfflineVideo.bind(d))),d.responsePlaylistData=d.downloadPlaylistProxy.getPlaylistData(),d.listId="PPSV",d.index=0;else if(c.playlistPanelRenderer&&c.playlistId&&c.autoplayRenderer)c.playlistId.startsWith("TLPQ")?d.queueProxy?d.listId===c.playlistId?(d.index=c.playlistIndex,
d.responsePlaylistData=c.playlistPanelRenderer,d.queueProxy.JSC$36658_setCurrentIndex(d.index)):c.playingVideoId&&void 0!==d.index&&e.clientParams.autoSaveToQueue&&(d.index+=1,d.queueProxy.JSC$36658_setCurrentIndex(d.index),Iab(d.queueProxy,[c.playingVideoId],{},d.index)):(d.queueProxy=new _.Qx(d.JSC$36702_playlistNetworkManager,c.playlistId,d.setPlaylistData.bind(d),d.clearQueue.bind(d),_.Jx(c.playlistPanelRenderer),d.storage),d.responsePlaylistData=c.playlistPanelRenderer,d.listId=c.playlistId,
d.index=c.playlistIndex):(d.index=c.playlistIndex,d.listId!==c.playlistId&&d.clearQueue(),d.responsePlaylistData=c.playlistPanelRenderer,d.listId=c.playlistId,d.playlistProxy=new Fab(d.JSC$36702_playlistNetworkManager,c.playlistId,d.setPlaylistData.bind(d),_.Jx(c.playlistPanelRenderer)));else if(!d.queueProxy)d.responsePlaylistData=void 0;else if(c.playingVideoId&&e.clientParams.autoSaveToQueue){if(void 0===d.index){_.Qf(Error("Gd"));d.clearQueue();break a}d.queueProxy.videoIds.includes(c.playingVideoId)||
(d.index+=1,d.queueProxy.JSC$36658_setCurrentIndex(d.index),Iab(d.queueProxy,[c.playingVideoId],{},d.index))}_.Tx(d,_.Ux(d,d.response.autoplayRenderer))}})};
var Hgb=function(a,b){b=void 0===b?_.Sx():b;xM.call(this);this.chunkProcessors.push(new AM(this.JSC$39010_playerPromiseResolver,{clientParams:{miniplayer:!1,autoSaveToQueue:!1}},b));this.chunkProcessors.push(new zM(this.JSC$39010_playerPromiseResolver,a,!1,!1));_.x("web_response_commands_chunk_processor")&&this.chunkProcessors.push(new yM)};
_.q(Hgb,xM);Hgb.prototype.processChunk=function(a){a&&void 0===a.data.player&&this.JSC$39010_playerPromiseResolver.resolve();xM.prototype.processChunk.call(this,a)};
var BM=function(a,b){a=void 0===a?{layer:0}:a;this.JSC$62392_hasRun=!1;this.createScreenConfig=a;this.parentOverride=b};
_.q(BM,vM);BM.prototype.validate=function(a){return!(this.JSC$62392_hasRun||!a.endpoint)};
BM.prototype.handle=function(a){var b=_.vp(),c,d,e,h=null==(c=a.endpoint)?void 0:null==(d=c.commandMetadata)?void 0:null==(e=d.webCommandMetadata)?void 0:e.rootVe;this.parentOverride&&h?_.ks(b,h,this.parentOverride,this.createScreenConfig):_.PCa(b,a.endpoint,this.createScreenConfig);this.JSC$62392_hasRun=!0};
var CM=function(a,b){this.JSC$62392_hasRun=!1;this.JSC$39036_chunkHandler=a;this.previousVideoId=b};
_.q(CM,vM);CM.prototype.validate=function(a){var b,c,d;return _.x("kevlar_continue_playback_without_player_response")&&(null==(b=a.endpoint.watchEndpoint)?0:b.videoId)&&this.previousVideoId&&(null==(c=a.endpoint.watchEndpoint)?void 0:c.videoId)===this.previousVideoId&&(null==(d=a.endpoint.watchEndpoint)?0:d.continuePlayback)?!1:0===this.JSC$39036_chunkHandler.chunksProcessed};
CM.prototype.handle=function(a){_.Io.getInstance().triggerAction("yt-stop-old-player",a.data,!0)};
var Igb=function(a){a=void 0===a?{layer:0}:a;xM.call(this);this.chunkProcessors.push(new CM(this));this.chunkProcessors.push(new BM(a));this.chunkProcessors.push(new wM(a))};
_.q(Igb,xM);
var DM=function(){this.JSC$62392_hasRun=this.JSC$62392_hasRun=!1};
_.q(DM,vM);DM.prototype.validate=function(a){return!this.JSC$62392_hasRun&&!(!a.data.csn||!a.data.rootVe)};
DM.prototype.handle=function(a){this.JSC$62392_hasRun=!0;_.hg(a.data.csn,a.data.rootVe,3)};
var EM=function(){vM.apply(this,arguments)};
_.q(EM,vM);EM.prototype.validate=function(a){return!!a.data.preconnect};
EM.prototype.handle=function(a){_.fi("bc");a=_.k(a.data.preconnect);for(var b=a.next();!b.done;b=a.next())b=b.value,(new Image).src=b};
var Jgb=function(a,b,c){c=void 0===c?{layer:0}:c;xM.call(this);this.chunkProcessors.push(new zM(this.JSC$39010_playerPromiseResolver,a));this.chunkProcessors.push(new BM(c));this.chunkProcessors.push(new wM(c))};
_.q(Jgb,xM);
var FM=function(a,b,c,d,e){c=void 0===c?{layer:0}:c;d=void 0===d?_.Sx():d;xM.call(this);var h=!!b&&!!b.clientParams&&!!b.clientParams.miniplayer;h&&this.chunkProcessors.push(new DM);this.chunkProcessors.push(new AM(this.JSC$39010_playerPromiseResolver,b,d));this.chunkProcessors.push(new EM);var l,m;this.chunkProcessors.push(new zM(this.JSC$39010_playerPromiseResolver,a,h,!(null==(l=b.clientParams)||!l.fromHistory),null==(m=b.clientParams)?void 0:m.previousVideoId,d,b.tempData));var p;this.chunkProcessors.push(new CM(this,
null==(p=b.clientParams)?void 0:p.previousVideoId));var r;null!=(r=b.clientParams)&&r.fromHistory||(c=Object.assign({},c,{layer:h?3:0}),this.chunkProcessors.push(new BM(c,e)),this.chunkProcessors.push(new wM(c)));_.x("web_response_commands_chunk_processor")&&this.chunkProcessors.push(new yM)};
_.q(FM,xM);
var Kgb=new _.Wd("yt-menu"),Lgb=function(){},Ngb=function(a,b,c){a="right-click"==b?c.rightClickMenuPopupHint:c.menuPopupHint;
if(!(10<Mgb(b)))return b=b||"default",Kgb.set(b+"-impression",Mgb(b)+1),a},Mgb=function(a){return parseInt(Kgb.get((a||"default")+"-impression")||0,10)};
_.Yi(Lgb);
var Ogb=function(){this.contexts_=new WeakMap;this.JSC$39052_networkService_=this.activeContext_=null},Pgb=function(a,b,c){var d=a.contexts_.get(b);
d||(d=new Gbb(a.JSC$39052_networkService_),a.contexts_.set(b,d));a.activeContext_=d;c&&a.activeContext_.reset();a.activeContext_.start();return a.activeContext_};
var lK=null;
var GM=function(a){this.JSC$39060_networkManager_=a;this.partCallbacks_=[]},Qgb=function(a,b,c){var d=a.getParams(c),e=_.st(b,d),h=a.getTempData(b,c);
h.endpoint=JSON.stringify(b);var l={headers:{"X-YouTube-STS":_.w("STS"),"x-youtube-csoc":1}};_.Nu(e,h);return new _.wf(function(m,p){var r=a.getXhrParams(d),v;_.x("kevlar_cache_on_ttl_player")&&(v=_.Wp.instance);v&&_.Xp(v,b)?_.s5a(v,b,h,window.location.href).then(function(z){z?m(z):p()},p):a.JSC$39060_networkManager_.requestDataForEndpoint(b,r,a.onPartsCallback_.bind(a),l).then(function(z){z?m(z):p()},p)})};
GM.prototype.getCacheKeyForEndpoint=function(a){return mK(a,!1)};
GM.prototype.onPartsCallback_=function(a){this.partCallbacks_.forEach(function(b){a&&b(a)})};
var HM=function(a,b,c){GM.call(this,a);this.player_=b;this.autoplayData_=c};
_.q(HM,GM);HM.prototype.getCacheKeyForEndpoint=function(a){return mK(a,!!this.autoplayData_)};
HM.prototype.getTempData=function(a,b){b=b.timeBeforeNextVideo;a={itct:a.clickTrackingParams,lact:_.of(),pbis:b,prefetch_reason:"hc_pbis",vis:this.player_.getVisibilityState()};this.autoplayData_&&(a.autonav=1);return a};
HM.prototype.getXhrParams=function(a){return Object.assign({pbj:"prefetch"},a)};
HM.prototype.getParams=function(a){a={frags:a.fragmentsRequested.join(",")};_.x("kevlar_droppable_prefetchable_requests")&&(a.prefetch=1);return a};
var IM=function(a,b,c){this.player=a;this.taskManager=b;this.prefetchDelay=c;this.completionResolver_=null;this.playerEvents_=[]};
IM.prototype.start=function(){var a=this;this.completionResolver_=_.Sk();_.Tk(this.completionResolver_.promise,function(){Rgb(a);a.completionResolver_=null});
this.prepareTrigger(this.completionResolver_);return this.completionResolver_.promise};
var Sgb=function(a,b,c){a.player.addEventListener(b,c);a.playerEvents_.push({eventName:b,callback:c})},Rgb=function(a){a.playerEvents_.forEach(function(b){a.player.removeEventListener(b.eventName,b.callback)});
a.playerEvents_.length=0};
var Tgb={watch:{pageFragments:["pl","wn"],prefetchedFragments:["pl"]},shorts:{pageFragments:["pl","riw"],prefetchedFragments:["pl"]}},Ugb={pl:{requiredKeys:["playerResponse"],graftedKeys:["playerResponse"]},wn:{requiredKeys:["response"],graftedKeys:["response"]}};
var JM=function(){this.endpointCacheKey_=null;this.expireJobId_=0;(this.ENABLE_PBJ_PREFETCH_=_.x("web_enable_pbj_prefetch"))&&window.addEventListener("unload",this.onUnload_.bind(this))};
JM.prototype.resolve=function(){this.ENABLE_PBJ_PREFETCH_&&this.endpointCacheKey_&&(this.endpointCacheKey_&&(this.endpointCacheKey_=null),Vgb(this))};
var Vgb=function(a){a.expireJobId_&&(_.xe.cancelJob(a.expireJobId_),a.expireJobId_=0)};
JM.prototype.onUnload_=function(){this.endpointCacheKey_&&(this.endpointCacheKey_=null);Vgb(this)};
var KM=function(a,b,c){IM.call(this,a,b,c);this.cueId_="playbackTrigger-"+Math.random()};
_.q(KM,IM);
KM.prototype.prepareTrigger=function(a){var b=this,c=this.player.getDuration(),d=this.player.getVideoData(),e=d.isLive&&d.hasProgressBarBoundaries&&_.x("enable_linear_prefetching_on_desktop");if(e&&d.progressBarEndPositionUtcTimeMillis){var h=d.progressBarEndPositionUtcTimeMillis/1E3;isNaN(h)||(c=h)}var l=0;0<=this.prefetchDelay?e?d.progressBarStartPositionUtcTimeMillis&&(d=d.progressBarStartPositionUtcTimeMillis/1E3,isNaN(d)||(l=d+this.prefetchDelay)):l=this.prefetchDelay:l=c+this.prefetchDelay;e?
this.player.addUtcCueRange(this.cueId_,l,c):this.player.addCueRange(this.cueId_,l,c);_.Tk(a.promise,function(){b.player.removeCueRange(b.cueId_)});
Sgb(this,"onCueRangeEnter",function(m){m==b.cueId_&&a.resolve(c-l)})};
var Xgb=function(a,b,c){this.pageFragments_=a;this.prefetchedFragments_=b;this.fragmentConfiguration_=Ugb;this.prefetchedData_=c;this.validatedFragments_=[];this.missingFragments_=this.pageFragments_.slice();this.mergedPrefetchedData_=null;Wgb(this)},Ygb=function(a){if(0==a.validatedFragments_.length)return null;
if(!a.mergedPrefetchedData_){for(var b=[],c=_.k(a.validatedFragments_),d=c.next();!d.done;d=c.next()){d=_.k(a.fragmentConfiguration_[d.value].graftedKeys);for(var e=d.next();!e.done;e=d.next())(e=a.prefetchedData_[e.value].trackingParams)&&b.push(e)}a.mergedPrefetchedData_={};Object.assign(a.mergedPrefetchedData_,a.prefetchedData_,{clientSideGrafts:b})}return a.mergedPrefetchedData_},Wgb=function(a){a.prefetchedFragments_.forEach(function(b){Zgb(a,b)})},Zgb=function(a,b){a.fragmentConfiguration_[b].requiredKeys.every(function(c){return!!a.prefetchedData_[c]})&&
(a.validatedFragments_.push(b),b=a.missingFragments_.indexOf(b),-1!==b&&a.missingFragments_.splice(b,1))};
var $gb=function(){},ahb=function(a){this.JSC$39090_playlistManager_=a};
_.q(ahb,$gb);ahb.prototype.getPrefetchEndpoint=function(){return this.JSC$39090_playlistManager_.getAutoplayEndpoint()};
var LM=function(a){this.autonavEndpoints_=a};
_.q(LM,$gb);LM.prototype.getPrefetchEndpoint=function(){return this.autonavEndpoints_.length?this.autonavEndpoints_[0]:void 0};
var bhb=function(a,b,c,d,e){this.autonavEndpoints=a;this.foregroundTrigger=b;this.backgroundTrigger=c;this.pageType=d;this.isInPlaylist=e},chb=function(a,b){if(a.webPrefetchData&&a.webPrefetchData.navigationEndpoints&&a.webPrefetchData.navigationEndpoints.length){a=a.webPrefetchData.navigationEndpoints;
var c=a[0];if(c&&c.watchEndpoint&&c.watchEndpoint.watchEndpointSupportedPrefetchConfig&&c.watchEndpoint.watchEndpointSupportedPrefetchConfig.prefetchHintConfig){var d=c.watchEndpoint.watchEndpointSupportedPrefetchConfig.prefetchHintConfig;c=d.playbackRelativeSecondsPrefetchCondition;c="number"===typeof c&&Math.abs(c)<b.videoDuration?c:void 0;d=d.countdownUiRelativeSecondsPrefetchCondition;d="number"!==typeof d||_.x("prefetch_job_config_cleanup_ks")&&b.inPlaylist?void 0:d;if("number"===typeof d)return new bhb(a,
b.makeUpNextTrigger(d),b.makePlaybackTrigger(d),"watch",b.inPlaylist);if("number"===typeof c)return new bhb(a,b.makePlaybackTrigger(c),null,"watch",b.inPlaylist)}}};
var MM=function(a,b,c,d){this.prefetchEndpointProvider_=a;this.prefetchRequestPromise_=this.triggerPromise_=null;this.storePrefetchedDataCallback_=b;this.prefetchJobConfig_=c;this.JSC$39102_networkPrefetchRequest_=d;this.prefetchResponseCacheKey_=null};
MM.prototype.enqueue=function(){this.triggerPromise_||(dhb(this,ehb(this)),_.Fk(document,"visibilitychange",this.onVisibilityChange_,!1,this))};
var dhb=function(a,b){a.triggerPromise_=b.start();a.triggerPromise_.then(function(c){var d=a.prefetchEndpointProvider_.getPrefetchEndpoint();if(d){var e=Tgb[a.prefetchJobConfig_.pageType].prefetchedFragments;a.prefetchRequestPromise_=Qgb(a.JSC$39102_networkPrefetchRequest_,d,{fragmentsRequested:e,timeBeforeNextVideo:c});a.prefetchResponseCacheKey_=a.JSC$39102_networkPrefetchRequest_.getCacheKeyForEndpoint(d);fhb(a);a.prefetchRequestPromise_.then(function(h){a.storePrefetchedDataCallback_(a.prefetchResponseCacheKey_,
h);if((_.x("web_prefetch_preload_video")||_.x("web_prefetch_preload_video_for_shorts"))&&1===e.length&&"pl"===e[0]&&h&&!h.playerAds&&!h.adPlacements){var l=_.Eg().resolve(d.reelWatchEndpoint?_.hAa:_.th);l&&d&&l.then(function(m){m.preloadVideoByPlayerVars({raw_player_response:h})})}})}})};
MM.prototype.resolve=function(){this.cancel()};
MM.prototype.cancel=function(){this.triggerPromise_&&this.triggerPromise_.cancel("Prefetch job cancelled, trigger promise cancelled.");this.prefetchRequestPromise_&&this.prefetchRequestPromise_.cancel("Prefetch job cancelled, request promise cancelled.");fhb(this)};
MM.prototype.onVisibilityChange_=function(){var a=this;0==_.Du()?this.triggerPromise_&&(this.triggerPromise_.thenCatch(function(){a.triggerPromise_=null}),this.triggerPromise_.cancel("Visibility changed to background, trigger promise cancelled.")):this.triggerPromise_||dhb(this,ehb(this))};
var fhb=function(a){_.Ik(document,"visibilitychange",a.onVisibilityChange_,!1,a)},ehb=function(a){return a.prefetchJobConfig_.backgroundTrigger?0==_.Du()?a.prefetchJobConfig_.backgroundTrigger:a.prefetchJobConfig_.foregroundTrigger:a.prefetchJobConfig_.foregroundTrigger};
var NM=function(a){GM.call(this,a)};
_.q(NM,GM);NM.prototype.getCacheKeyForEndpoint=function(a){return GM.prototype.getCacheKeyForEndpoint.call(this,a)};
NM.prototype.getTempData=function(){return{}};
NM.prototype.getXhrParams=function(a){return a};
NM.prototype.getParams=function(){return{}};
var ghb=function(a,b,c){IM.call(this,a,b,c)};
_.q(ghb,IM);ghb.prototype.prepareTrigger=function(a){var b=this;Sgb(this,"onAutonavCoundownStarted",function(c){hhb(b,c,a)})};
var hhb=function(a,b,c){var d=1E3*a.prefetchDelay;if(Math.abs(d)>b)c.promise.cancel("Not enough time to prefetch, cancelling prefetch job");else{var e=d,h=b-d;0>d&&(e=b+d,h=Math.abs(d));var l=a.taskManager.addJob(function(){c.resolve(h/1E3)},10,e);
c.promise.thenCatch(function(){a.taskManager.cancelJob(l)})}};
var OM=function(){this.prefetchCache_=new Map;this.pendingPrefetchJob_=null},jhb=function(a,b,c,d,e,h){var l=_.xe,m=_.lF.getInstance();
if(!_.x("block_all_player_prefetch_requests")){ihb(a);var p=!!c.getPlaylistId(),r=c.getVideoData().isLive&&c.getVideoData().hasProgressBarBoundaries&&_.x("enable_linear_prefetching_on_desktop");if((2==m.getState()||p||r)&&(!c.getVideoData().isLive||r)){m={inPlaylist:p,videoDuration:c.getDuration(),makeUpNextTrigger:function(z){return new ghb(c,l,z)},
makePlaybackTrigger:function(z){return new KM(c,l,z)}};
var v=chb(b,m);v&&(a.pendingPrefetchJob_=new MM(v.isInPlaylist?new ahb(e):new LM(v.autonavEndpoints),function(z,A){A=new Xgb(Tgb[v.pageType].pageFragments,Tgb[v.pageType].prefetchedFragments,A);return Ygb(A)?(a.prefetchCache_.set(z,A),!0):!1},v,new HM(d,c,h,e)),a.pendingPrefetchJob_.enqueue())}}},khb=function(a,b,c,d,e){var h=_.xe;
b&&c&&(ihb(a),b=c.entries.map(function(l){return l.command.reelWatchEndpoint.videoId}).indexOf(b.videoId),c=c.entries[b+1],null!=c&&c.command&&(d=new bhb([c.command],new KM(d,h,1),null,"shorts",!1),a.pendingPrefetchJob_=new MM(new LM(d.autonavEndpoints),function(){return!1},d,new NM(e)),a.pendingPrefetchJob_.enqueue()))},lhb=function(a,b,c){if(t9a(b))return a.prefetchCache_.get(mK(b,c))},ihb=function(a){a.pendingPrefetchJob_&&(a.pendingPrefetchJob_.cancel(),a.pendingPrefetchJob_=null)};
var PM=function(){};
PM.prototype.enqueue=function(){if(this.isCounterfactual()){var a=this.getCounterfactualData();a&&this.sendImpressionEndpoints(a)}else this.doEnqueue()};
PM.prototype.sendImpressionEndpoints=function(a){_.Io.getInstance().triggerOptionalAction("yt-service-request",{},a[0])};
var QM=function(a,b){this.renderer=a;this.page=b;this.resolver=_.Sk()};
_.q(QM,PM);QM.prototype.cancel=function(){this.resolver.promise.cancel()};
QM.prototype.getCounterfactualData=function(){return this.renderer.impressionEndpoints};
QM.prototype.isCounterfactual=function(){return!this.renderer.isVisible};
QM.prototype.doEnqueue=function(){var a=this;this.resolver.promise.then(function(){var c={popup:{mealbarPromoRenderer:a.renderer},popupType:"MEALBAR"};_.Io.getInstance().triggerOptionalAction("yt-open-popup-action",{openPopupAction:c},{})});
switch(this.renderer.triggerCondition){case "TRIGGER_CONDITION_POST_AD":if(this.page){var b=_.rv(this.page);b&&mhb(this.resolver,b)}break;default:this.resolver.resolve()}};
var mhb=function(a,b){var c=_.Sk();b.getPlayerPromise().then(function(d){c.resolve(d)});
c.promise.then(function(d){d.addEventListener("onAdEnd",a.resolve);_.Tk(a.promise,function(){d.removeEventListener("onAdEnd",a.resolve)})});
a.promise.thenCatch(function(){c.promise.cancel()})};
var RM=function(a,b){this.renderer=a;this.page=b};
_.q(RM,PM);RM.prototype.cancel=function(){this.JSC$39127_downloadedVideosCountSelectorUnsubscriber&&(this.JSC$39127_downloadedVideosCountSelectorUnsubscriber(),this.JSC$39127_downloadedVideosCountSelectorUnsubscriber=void 0)};
RM.prototype.getCounterfactualData=function(){return this.renderer.impressionEndpoints};
RM.prototype.isCounterfactual=function(){return!this.renderer.isVisible};
RM.prototype.doEnqueue=function(){var a=this,b,c;"TRIGGER_TYPE_POST_DOWNLOAD"===(null==(b=this.renderer.upsellDialogTriggerConditionSupportedDatas)?void 0:null==(c=b.playbackUpsellDialogTriggerConditionData)?void 0:c.triggerType)?this.JSC$39127_downloadedVideosCountSelectorUnsubscriber=_.sE(T6a,function(d,e){d>e&&(nhb(a),a.cancel())}):nhb(this)};
var nhb=function(a){var b={popup:{upsellDialogRenderer:a.renderer},popupType:"MODAL"};_.Io.getInstance().triggerOptionalAction("yt-open-popup-action",{openPopupAction:b},{});(a=_.rv(a.page))&&a.pause()};
var SM={},ohb=(SM.TOOLTIP_POSITION_TYPE_BELOW="OPEN_POPUP_POSITION_BOTTOM",SM.TOOLTIP_POSITION_TYPE_START="OPEN_POPUP_POSITION_LEFT",SM.TOOLTIP_POSITION_TYPE_END="OPEN_POPUP_POSITION_RIGHT",SM.TOOLTIP_POSITION_TYPE_BELOW_START="OPEN_POPUP_POSITION_BOTTOMLEFT",SM.TOOLTIP_POSITION_TYPE_BELOW_END="OPEN_POPUP_POSITION_BOTTOMRIGHT",SM.TOOLTIP_POSITION_TYPE_ABOVE_START="OPEN_POPUP_POSITION_TOPLEFT",SM.TOOLTIP_POSITION_TYPE_ABOVE_END="OPEN_POPUP_POSITION_TOPRIGHT",SM),TM=function(a,b){this.renderer=a;this.targetManager=
b};
_.q(TM,PM);TM.prototype.cancel=function(){"TOOLTIP_TRIGGER_CONDITION_TYPE_POST_DOWNLOAD"===this.renderer.triggerCondition&&this.JSC$39134_downloadedVideosCountSelectorUnsubscriber&&(this.JSC$39134_downloadedVideosCountSelectorUnsubscriber(),this.JSC$39134_downloadedVideosCountSelectorUnsubscriber=void 0)};
TM.prototype.getCounterfactualData=function(){if(this.isCounterfactual()){var a;return null==(a=this.renderer.promoConfig)?void 0:a.impressionEndpoints}};
TM.prototype.isCounterfactual=function(){return!(!this.renderer.promoConfig||!this.renderer.promoConfig.isCounterfactual)};
TM.prototype.doEnqueue=function(){var a=this;if(this.renderer.targetId)switch(this.renderer.triggerCondition){case "TOOLTIP_TRIGGER_CONDITION_TYPE_POST_DOWNLOAD":this.JSC$39134_downloadedVideosCountSelectorUnsubscriber=_.sE(T6a,function(b,c){a.renderer.targetId&&b>c&&(yab(a.targetManager,a.renderer.targetId,phb(a)),a.cancel())});
break;default:yab(this.targetManager,this.renderer.targetId,phb(this))}};
var phb=function(a){var b;if(null==(b=a.renderer.suggestedPosition)?0:b.type)var c=ohb[a.renderer.suggestedPosition.type];c||(c="OPEN_POPUP_POSITION_BOTTOM");return{openPopupAction:{popup:{tooltipRenderer:a.renderer},popupType:"HINT",position:c}}};
var qhb=function(){this.previousPage=null},rhb;
qhb.prototype.registerPromoCommand=function(a,b){var c;a=null==(c=a.roadblock)?void 0:c.upsellDialogRenderer;shb(this,void 0,void 0,a,b)};
var shb=function(a,b,c,d,e){a.previousPage!==e&&a.pendingTooltipPromo&&a.pendingTooltipPromo.cancel();a.previousPage=e;d?(a.pendingRoadblockPromo&&a.pendingRoadblockPromo.cancel(),a.pendingRoadblockPromo=new RM(d,e),a.pendingRoadblockPromo.enqueue()):(b&&(a.pendingMealbarPromo&&a.pendingMealbarPromo.cancel(),a.pendingMealbarPromo=new QM(b,e),a.pendingMealbarPromo.enqueue()),c&&(a.pendingTooltipPromo&&a.pendingTooltipPromo.cancel(),a.pendingTooltipPromo=new TM(c,_.eu()),a.pendingTooltipPromo.enqueue()))},
thb=function(){rhb||(rhb=new qhb);
return rhb};
var UM=function(){this.networkEvents=[];this.index=Math.floor(1E5*Math.random())},Q9a=function(){UM.instance||(UM.instance=new UM);
return UM.instance},R9a=function(a){var b=a.networkEvents;
a.networkEvents=[];return _.x("enable_network_monitoring")?b:[]};
var uhb={},y9a=_.Ke("yt-serviceworker-metadata",{objectStores:(uhb.auth={addedAtVersion:1},uhb["resource-manifest-assets"]={addedAtVersion:2},uhb),shared:!0,upgrade:function(a,b){b(1)&&_.Me(a,"resource-manifest-assets");b(2)&&_.Me(a,"auth")},
version:2});
var oK=function(a){this.token=a};
oK.getInstance=function(){var a;return _.y(function(b){if(1==b.nextAddress)return _.B(b,_.Ge(),2);a=b.yieldResult;if(!a)return b.return();oK.instance||(oK.instance=new oK(a));return b.return(oK.instance)})};
var E9a=function(a){var b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,z9a(a.token),2);b=c.yieldResult;return c.return(b.clear("resource-manifest-assets"))})};
var nK=function(a){this.token=a};
nK.getInstance=function(){var a;return _.y(function(b){if(1==b.nextAddress)return _.B(b,_.Ge(),2);a=b.yieldResult;if(!a)return b.return();nK.instance||(nK.instance=new nK(a));return b.return(nK.instance)})};
var D9a=function(a){var b;return _.y(function(c){if(1==c.nextAddress)return _.B(c,z9a(a.token),2);b=c.yieldResult;return _.B(c,b.clear("auth"),0)})};
var vhb,qK=null==_.g?void 0:null==(vhb=_.g.performance)?void 0:vhb.memory,J9a=!1,S9a={},pK={},rK={},sK=navigator;
var whb=!1,xhb=function(a){if(!whb&&(a=a||_.w("ZWIEBACK_PING_URLS"))&&a.length){whb=!0;for(var b=0;b<a.length;b++)_.Te(a[b])}};
var yhb;
var zhb=function(a){if("1"!=_.u.get(_.w("PLAYER_VARS",{}),"privembed",!1)){a&&z6a();try{ueb().then(function(){},function(){}),_.Bd(zhb,18E5)}catch(b){_.jd(b)}}};
var U$a=function(a,b){var c=_.w("SESSION_INDEX");this.actionToken_=a;this.commonToken_=b;this.sessionIndex_=c},T$a=function(a){var b=_.Sk(),c=_.ld("payments.business.integration.bootstrap"),d=_.ld("payments.business.integration"),e=d.Style.create().withMaterialDesignStyle(),h=d.mashupMode.popup("instrument-manager");
c.asMashupMode(h).usingUserIndex(a.sessionIndex_).usingDefaultActivityStatusChangeHandler().usingStyle(e).inStandaloneContext(d.standaloneContextAuthId.forUserId()).instrumentManager(a.actionToken_,0<a.commonToken_.length?a.commonToken_:void 0,function(l){var m=l.instrumentId;m?b.resolve(m):(m=_.ld("payments.business.integration.scenario.InstrumentManager"),b.reject(l.errorCode&&l.errorCode===m.FailureReason.CANCELLED?"instrumentManagerCancelled":"instrumentManagerCallbackError"))}).load(null,function(l){_.jd(l);
b.reject("instrumentManagerLoadError")});
return b.promise};
var vK=function(a,b,c){this.payloadName="transactionFlowFailed";this.payload={errorType:a,serializedTransactionFlowLoggingParams:b,isUserDismiss:void 0===c?!1:c}};
_.Fe("yt.ypc.shared.YpcTransactionFlowError",vK);
var VM=[10,20,30,40,50,60],Ahb=function(){this.currentPartitionIndex=0},Bhb=function(a){bab({mainAppWeb:_.xh(),
survivalSli:{partitionMinute:a,survivalStatus:"SURVIVAL_STATUS_TYPE_ALIVE_START"}})},Chb=function(a){bab({mainAppWeb:_.xh(),
survivalSli:{partitionMinute:a,survivalStatus:"SURVIVAL_STATUS_TYPE_ALIVE_END"}})},WM=function(a){return 0<=a.currentPartitionIndex&&a.currentPartitionIndex<VM.length?VM[a.currentPartitionIndex]:-1},Dhb=function(a){return 0<a.currentPartitionIndex&&a.currentPartitionIndex-1<VM.length?VM[a.currentPartitionIndex-1]:-1};
Ahb.prototype.start=function(){if(void 0===this.intervalId){this.currentPartitionIndex=0;var a=Dhb(this);0<a&&Chb(a);a=WM(this);0<a&&Bhb(a);Ehb(this)}};
var Ehb=function(a){var b=WM(a);if(0<b){var c=Dhb(a);0>c&&(c=0);a.intervalId=_.xe.addJob(function(){var d=Dhb(a);0<d&&Chb(d);d=WM(a);0<d&&Bhb(d);Ehb(a)},3,6E4*(b-c));
a.currentPartitionIndex+=1}else a.currentPartitionIndex=-1};
_.ed("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",{});_.ed("INNERTUBE_SUGGEST_CONFIG",{});var XM={},Z9a=(XM.CSI=function(a,b){if(_.x("web_csi_via_jspb")&&"_rid"===a.slice(-4)){var c={};c[a]=b;a=_.hHa(c);_.ei(a)}else _.Rh(a,b)},XM.ECATCHER=Y9a("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS"),XM.SUGGEST=Y9a("INNERTUBE_SUGGEST_CONFIG"),XM);
var Fhb={},Ghb={locationCollectionCommand:!0},YM=function(){var a=_.vt.apply(this,arguments)||this;a._noAccessors=!0;a.tabGesturesIsActive=!1;a.actionRouterIsRoot=!0;a.appBehaviorActionMap={"yt-update-notifications-unseen-count-action":"handleUpdateNotificationsUnseenCountAction","yt-clear-cookie-action":"handleClearCookieAction","yt-store-grafted-ve-action":"onStoreGraftedVeAction","yt-history-load":"onYtHistoryLoad","yt-history-pop":"onYtHistoryPop"};a.pageTitle="";a.titleSuffix="YouTube";a.unseenNotificationCount=
0;a.hasNavigated=!1;a.hasSetScrollTopForNavigation=!1;a.pagePreparer=null;a.zwiebackInitJobId=0;a.dataUpdatePromise=null;a.loadDepsPromise=_.Mg();a.hasPendingNavigation=!1;a.viewportLoadCalculationJobId=0;a.pendingPlayerOnResponseReceivedActions=[];a.preparePageLifecyclePromise=_.Sk();a.TEST_ONLY={maybeInitPageLifecycle:function(){a.maybeInitPageLifecycle()}};
return a};
_.q(YM,_.vt);_.f=YM.prototype;_.f.created=function(){"complete"==document.readyState?this.handleDocumentLoaded():window.addEventListener("load",this.handleDocumentLoaded.bind(this));var a={},b={};_.IXa().install((a.document_disposed={callback:this.onDisposeApp.bind(this)},a),(b.flush_logs={callback:function(){_.x("web_fp_via_jspb")&&_.If(!0);_.If()}},b));
this.initCsi();Hhb();_.x("enable_navigation_requests_streamz")&&(this.JSC$39182_navigationRequestSentCounter=new jbb(new _.zg));this.sessionPartition=new Ahb;this.sessionPartition.start();this.pendingPlayerOnResponseReceivedActions=[];O9a();S8a();_.x("enable_browser_cookie_status_monitoring")&&_.Jn(_.xe,this.reportBrowserCookieSetting);this.maybeInitPageLifecycle()};
_.f.maybeInitPageLifecycle=function(){if(this.JSC$39182_pageLifecycle=_.Eg().resolve(_.Cg(_.KDa))){var a={};this.JSC$39182_pageLifecycle.install((a.page_preparing={callback:this.preparePageCb.bind(this)},a.page_loading={callback:this.loadPageCb.bind(this)},a.page_active={callback:this.activePageCb.bind(this)},a))}};
_.f.preparePageCb=function(){this.preparePageLifecyclePromise=_.Sk()};
_.f.loadPageCb=function(){this.preparePageLifecyclePromise.resolve()};
_.f.activePageCb=function(a){Ihb(this,!!a.historyLoad)};
_.f.reportBrowserCookieSetting=function(){(new ibb).increment(_.Dfa())};
_.f.handleDocumentLoaded=function(){_.fi("dl");_.Ko().processSignal("pcl")};
_.f.attached=function(){Jhb(this);this.listen(document,"yt-navigate-cache","onYtNavigateCache");this.ytActionHandlerBehavior.registerActionMap(this.appBehaviorActionMap);if(ZM()){var a=$M();a.init();a.dispatchElement=this}};
var Jhb=function(a,b){b=void 0===b?0:b;var c=_.Eg().resolve(_.Cg(_.Do));if(c)Khb(a,c);else{if(5<=b)throw Error("Wf");setTimeout(function(){Jhb(a,b+1)},0)}},Khb=function(a,b){a.listen(b,"yt-navigate-start","onYtNavigateStart");
a.listen(b,"yt-navigate-finish","onYtNavigateFinish");a.listen(b,"yt-navigate-error","onYtNavigateError");a.listen(b,"yt-page-data-fetched","onYtPageDataFetched");a.listen(b,"yt-navigate-redirect","onYtNavigateRedirect")};
_.f=YM.prototype;_.f.detached=function(){var a=_.Eg().resolve(_.Do);this.unlisten(a,"yt-navigate-start","onYtNavigateStart");this.unlisten(a,"yt-navigate-finish","onYtNavigateFinish");this.unlisten(a,"yt-navigate-error","onYtNavigateError");this.unlisten(document,"yt-navigate-cache","onYtNavigateCache");this.unlisten(a,"yt-page-data-fetched","onYtPageDataFetched");this.unlisten(a,"yt-navigate-redirect","onYtNavigateRedirect");this.ytActionHandlerBehavior.unregisterActionMap(this.appBehaviorActionMap)};
_.f.setPageOffset=function(a,b){a?_.C(this,"yt-set-page-offset",[a,b]):_.Qf(Error("Xf"))};
_.f.setPageOffsetForNavigation=function(a,b){this.hasSetScrollTopForNavigation||(this.hasSetScrollTopForNavigation=!0,this.setPageOffset(a,b))};
_.f.onYtNavigateSetPageOffset=function(a,b){this.setPageOffsetForNavigation(b.page,b.offset)};
_.f.getPageOffset=function(){var a=this.$["page-manager"].getCurrentPage(),b=0;a&&(b=_.C(this,"yt-get-page-offset",[a])[0]);return b};
_.f.initCsi=function(){this.csiServiceName&&_.ed("CSI_SERVICE_NAME",this.csiServiceName);_.Qh({loadType:"cold"})};
var Hhb=function(){var a=_.Se(document.location.href,"enable");a&&-1<a.indexOf("scraper")&&_.ed("ADD_SCRAPER_ATTRIBUTES",!0)};
_.f=YM.prototype;
_.f.onDisposeApp=function(){if(_.x("finalize_all_timelines")){var a=[],b;for(b in _.ld("ytcsi.".slice(0,-1)))b.endsWith("data_")&&a.push(b.slice(0,-5));a=_.k(a);for(b=a.next();!b.done;b=a.next())b=b.value,_.SE(b),_.IYa(b),_.JYa(b)}_.SE();RJ("FOREGROUND_HEARTBEAT_TRIGGER_ON_BACKGROUND");O8a();this.sessionPartition&&(a=this.sessionPartition,void 0!==a.intervalId&&(a.intervalId&&_.xe.cancelJob(a.intervalId),a.intervalId=void 0,--a.currentPartitionIndex,a=WM(a),0<a&&bab({mainAppWeb:_.xh(),survivalSli:{partitionMinute:a,
survivalStatus:"SURVIVAL_STATUS_TYPE_CENSORED"}})));_.Fxa(_.lo);null!=_.to&&_.to.flush();_.yg&&_.yg.snapshotAndFlush()};
_.f.onYtHistoryPop=function(a,b){if(_.fd("DISABLE_WARM_LOADS"))a.preventDefault(),window.location.reload();else{var c=_.Eg().resolve(_.Do);c.hasPendingNavigation()&&a.preventDefault();c.cancelPendingNavigation();b.errorMsg&&(a=b.errorMsg.split(" - "),b=Error(a[0]),2==a.length&&a[1]&&(_.Sf(b,a[1]),_.Rf(b)),window.location.reload())}};
_.f.onYtHistoryLoad=function(a,b){var c=this;if(_.fd("DISABLE_WARM_LOADS"))window.location.reload();else{this.hasError=!1;(a=b.endpoint)&&Object.keys(a).length||(a=null);var d=b.historyEntry,e=_.Eg().resolve(_.Do),h=_.Eg().resolve(_.Co),l=null;d&&d.rootData&&(l=d.rootData);var m=l&&Lhb(l);if(!l||m||l.filler)a?(e.navigate(a,!0),Mhb(this,a)):(b.legacyBorder||m||(null==b.savedComponentState&&null==l?_.Rf(new _.ge("Incomplete history entry",b.forward)):_.Qf(new _.ge("Malformed history entry",b.savedComponentState,
b.forward,l))),window.location.reload());else{Y6a({isHot:!0});if(_.x("web_csi_via_jspb")){m=new aab;_.n(m,1,"h");var p=new _.Th;_.eb(p,38,m);_.ei(p)}else _.Qh({webInfo:{navigationReason:"h"}});O8a();_.fi("srt");_.fi("pdc");this.cancelPendingTasks();Nhb(this,b.forward,l);l.player&&(l.player.loaded=!1);Mhb(this,a);e.resetChunkState();e.pageRequestFinished(a||{},l,2,{}).then(function(){c.setPageOffset(h.getCurrentPage(),d.scrollTop||0)})}}};
_.f.navigateStart=function(){};
_.f.initHistoryManager=function(a){this.hasNavigated=!0;var b=this.$["page-manager"].getCurrentData();a=isNaN(a)?this.getPageOffset():a;var c=_.Eg().resolve(_.Do).getCurrentEndpoint();this.replaceState(c,b,a)};
_.f.cancelPendingTasks=function(){_.xe.cancelJob(this.viewportLoadCalculationJobId);this.pagePreparer&&this.pagePreparer.cancel();this.pauseVisibilityMonitor=!0;var a=_.Eg().resolve(_.Cg(_.Fo));a&&a.reset();_.kw.getInstance().reset()};
_.f.onYtNavigateStart=function(a,b){this.cancelPendingTasks();b.noProgressBar||(a=_.Eg().resolve(_.Cg(_.Fza)))&&a.start();a=this.hasPendingNavigation?null:this.data;this.hasError=!1;var c=_.Eg().resolve(_.Co),d,e,h;_.x("kevlar_use_vimio_behavior")&&!(null==(d=b.endpoint)?0:null==(e=d.commandMetadata)?0:null==(h=e.webCommandMetadata)?0:h.ignoreNavigation)&&c.getCurrentPage().disconnectVisibilityRoot();this.fire("yt-page-manager-navigate-start",b,{node:c,bubbles:!1});this.pagePreparer=new _.Ju(1,"pcl");
_.Ku(this.pagePreparer,c.preparePage.bind(c,b.pageType,b.endpoint));d=this.getPageOffset();this.hasNavigated||this.initHistoryManager(d);b.reload||this.hasPendingNavigation?this.replaceState(b.endpoint,a,d):"navigate-back"!=b.type&&"navigate-forward"!=b.type&&this.saveAndPush(b.url,b.endpoint,a,d);this.hasPendingNavigation=!0};
var Ohb=function(a){a.hasPendingNavigation=!1;var b=_.Eg().resolve(_.Cg(_.Fza));b&&b.finish();a.pauseVisibilityMonitor=!1};
YM.prototype.onYtNavigateError=function(a,b){Ohb(this);this.hasError=!0;b&&b.errorMessage?this.errorMessage=b.errorMessage:this.errorMessage=void 0;a=this.get("endpoint.commandMetadata.webCommandMetadata.url",b);var c=_.sd(window.location.href);a&&!c.pbjreload&&(b=b.navigationErrorReason||"10",_.x("kevlar_parent_on_pbjreload")&&(c={csn:_.fg()},this.get("data.endpoint.clickTrackingParams")&&(c.itct=this.data.endpoint.clickTrackingParams),_.Nu(a,c)),_.XI(_.td(a,{pbjreload:b})))};
YM.prototype.onYtNavigateCache=function(a,b){var c=this;a=b.url;var d=b.endpoint,e=b.data;b=!!b.miniplayer;if(a&&d&&e){var h=this.getPageOffset();this.saveAndPush(a,d,this.data||null,h);a=_.Eg().resolve(_.Do).pageRequestFinished(d,e,b?4:3,{},b);b&&a.then(function(){var l=c.JSC$39182_pageLifecycle?c.preparePageLifecyclePromise.promise:c.dataUpdatePromise;l&&l.then(function(){var m=_.Eg().resolve(_.Co);c.setPageOffset(m.getCurrentPage(),0)})})}};
var Phb=function(a){_.xe.cancelJob(a.viewportLoadCalculationJobId);var b=_.kw.getInstance();b.reset();a.viewportLoadCalculationJobId=_.Jn(_.xe,function(){b.elementLoadPromises_.size||b.loadTimeResolver_.resolve(0);_.HJa(b);b.loadTimeResolver_.promise.then(function(c){_.qu.getInstance();_.fi("vpl",c);Aab()},function(){var c=0;
for(var d=_.k(b.visibleSet_),e=d.next();!e.done;e=d.next())e=e.value.loadTime,Infinity!=e&&e>c&&(c=e);_.fi("vptl",c);_.qu.getInstance();_.fi("vpl",c);Aab()})},(_.x("kevlar_tuner_should_test_visibility_time_between_jobs")?_.hd("kevlar_tuner_visibility_time_between_jobs_ms",100):_.w("VISIBILITY_TIME_BETWEEN_JOBS_MS",500))+50)};
YM.prototype.onYtNavigateFinish=function(a,b){var c=this;this.JSC$39182_pageLifecycle?this.preparePageLifecyclePromise.promise.then(function(){c.JSC$39182_pageLifecycle.transition("page_active",{historyLoad:!!b.fromHistory});c.preparePageLifecyclePromise=_.Sk()}):this.dataUpdatePromise&&this.dataUpdatePromise.then(function(){Ihb(c,b.fromHistory)})};
var Ihb=function(a,b){Ohb(a);if(a.pendingPlayerOnResponseReceivedActions){for(var c=_.k(a.pendingPlayerOnResponseReceivedActions),d=c.next();!d.done;d=c.next())a.ytComponentBehavior.resolveCommand(d.value);a.pendingPlayerOnResponseReceivedActions=[]}c=_.Eg().resolve(_.Co);!b&&a.hasNavigated&&((b=c.getCurrentPage())?"ytd-shorts"===b.is||a.tabGesturesIsActive||a.setPageOffsetForNavigation(b,0):_.Rf(Error("Yf")));a.async(function(){a.async(function(){_.fi("pda");Phb(a)})})};
YM.prototype.onYtNavigateRedirect=function(a){a.detail.url&&this.replaceUrl(a.detail.url)};
YM.prototype.onYtNavigate=function(a){a.detail.endpoint||_.Qf(new _.ge("Error: Missing yt-navigate endpoint from target:",a.target,a.target.nodeName));var b;if(b=_.x("cold_missing_history"))ZM()?(b=$M(),b.init(!1),b=b.browserHistory.boundHistoryReplaceState&&b.browserHistory.boundHistoryPushState):b=aN(this).init(!1),b=!b;if(b){_.ed("DISABLE_WARM_LOADS",!0);b=new _.ge("Failed to initialize history manager",this.getDebugString());var c=navigator.userAgent&&navigator.userAgent.includes("Version/11.1.2 Safari");
this.getThirdPartyManipulationSuspected()||c?_.Rf(b):_.Qf(b)}b=a.detail.endpoint;var d,e;_.x("debug_forward_web_query_parameters")&&(null==(d=b.commandMetadata)?0:null==(e=d.webCommandMetadata)?0:e.url)&&(b=JSON.parse(JSON.stringify(b)),b.commandMetadata.webCommandMetadata.url=_.Fd(b.commandMetadata.webCommandMetadata.url));a={type:0,command:b,form:{params:a.detail.params,tempData:a.detail.tempData||{},requestType:a.detail.type,createScreenConfig:a.detail.createScreenConfig,reload:a.detail.reload?
a.detail.reload:!1}};_.x("kevlar_yt_navigate_command_handler")?(d=_.Eg().resolve(_.Fi),a.form.skipDefaultElement=!0,d.resolveCommand(b,{form:a.form})):this.handleNavigate(a)};
YM.prototype.handleNavigate=function(a){this.hasSetScrollTopForNavigation=!1;var b=_.Eg().resolve(_.Do),c=a.form||{};b.navigate(a.command,c.reload,c.params,c.tempData,c.requestType,c.createScreenConfig)&&Mhb(this,a.command,c.tempData)};
YM.prototype.onYtPageDataFetched=function(a,b){try{_.qu.getInstance().reset();this.data=b.pageData;this.dataUpdatePromise&&(this.dataUpdatePromise.cancel("canceled dataUpdatePromise_"),this.dataUpdatePromise=null);this.pendingPlayerOnResponseReceivedActions=[];this.get("response.frameworkUpdates.entityBatchUpdate",this.data);this.get("playerResponse.frameworkUpdates.entityBatchUpdate",this.data);var c=_.Eg().resolve(_.Co);this.JSC$39182_pageLifecycle?this.JSC$39182_pageLifecycle.transition("page_preparing",
{responseEnvelope:{response:this.data}}):this.dataUpdatePromise=c.updatePageData(this.data);var d=this.get("playerResponse.responseContext.serviceTrackingParams",this.data);d&&$9a(d);var e=this.get("response.responseContext.serviceTrackingParams",this.data);e&&$9a(e);var h=this.get("playerResponse.onResponseReceivedActions",this.data);h&&(h=Qhb(this,h));h&&_.Lg(this,h,this);var l=this.get("playerResponse.responseContext.consistencyTokenJar",this.data),m=this.get("response.responseContext.consistencyTokenJar",
this.data);if(l||m){var p=_.vla(),r=(0,_.u.getValues)(p.tokenJars);l&&p.replace(r,l);m&&p.replace(r,m)}}catch(v){_.Qf(v)}};
var Mhb=function(a,b,c){try{a.onYtEndpointChangeHandler(b,c)}catch(d){_.Qf(d)}};
_.f=YM.prototype;_.f.onYtEndpointChangeHandler=function(){};
_.f.setPageTitle=function(a){a=(this.pageTitle=a)?a+" - "+this.titleSuffix:this.titleSuffix;document.title=(this.unseenNotificationCount?"("+this.unseenNotificationCount+") ":"")+a};
_.f.onYtUpdateTitle=function(a,b){this.setPageTitle(b)};
_.f.setUnseenNotificationCount=function(a){this.unseenNotificationCount=a;this.setPageTitle(this.pageTitle)};
_.f.handleUpdateNotificationsUnseenCountAction=function(a){a.updateNotificationsUnseenCountAction&&(a.updateNotificationsUnseenCountAction.unseenCount?this.setUnseenNotificationCount(a.updateNotificationsUnseenCountAction.unseenCount):this.setUnseenNotificationCount(0))};
_.f.handleClearCookieAction=function(a){a.clearCookieAction&&a.clearCookieAction.cookieName&&_.Cfa(a.clearCookieAction.cookieName)};
_.f.onYtUpdateUnseenNotificationCount=function(a,b){this.setUnseenNotificationCount(b)};
_.f.loadData=function(a){var b=this;this.loadDepsPromise.then(function(){var c=_.Eg().resolve(_.Cg(_.Do));c||_.Qf(Error("Zf"));if(a&&a.response){if(!a.endpoint){var d=_.Gh(window.document.location.href)||"/",e="";if("/"==d||d.startsWith("/?"))e="WEB_PAGE_TYPE_BROWSE";a.endpoint={commandMetadata:{webCommandMetadata:{url:d,webPageType:e,rootVe:3854}}}}c.pageRequestFinished(a.endpoint,a,5,{}).then(function(){_.x("enable_navigation_requests_streamz")&&b.JSC$39182_navigationRequestSentCounter&&b.JSC$39182_navigationRequestSentCounter.increment(a.page||
"null","COLD")})}else a.endpoint?c.navigate(a.endpoint):c.navigate(_.hp);
_.xe.cancelJob(b.zwiebackInitJobId);b.zwiebackInitJobId=_.xe.addLowPriorityJob(xhb)})};
var ZM=function(){return _.x("desktop_use_new_history_manager")},$M=function(){return _.Eg().resolve(_.iBa)},aN=function(a){return a.$.historyManager};
_.f=YM.prototype;_.f.getDebugString=function(){return ZM()?$M().getDebugString():aN(this).getDebugString()};
_.f.getThirdPartyManipulationSuspected=function(){return ZM()?$M().getThirdPartyManipulationSuspected():aN(this).getThirdPartyManipulationSuspected()};
_.f.replaceState=function(a,b,c){ZM()?$M().saveAndReplace(a,b,c):aN(this).replaceState(a,b,c)};
_.f.saveAndPush=function(a,b,c,d){ZM()?$M().saveAndPush(a,b,c,d):aN(this).saveAndPush(a,b,c,d)};
_.f.replaceUrl=function(a){ZM()?$M().replaceUrl(a):aN(this).replaceUrl(a)};
var Lhb=function(a){return!a||isNaN(a.expirationTime)?!1:(0,_.Yd)()>a.expirationTime},Nhb=function(a,b,c){var d=a.get("response.trackingParams",c),e=_.eg(),h=_.fg();
if(d&&e&&h&&(d=a.get("response.responseContext.webResponseContextExtensionData.ytConfigData.rootVisualElementType",c),!d&&c.rootVe&&(d=c.rootVe),e=b?"forwardButton":"backButton",b=a.get("playerResponse.topbar.desktopTopbarRenderer."+e+".buttonRenderer.command.clickTrackingParams",a.data),a=a.get("response.topbar.desktopTopbarRenderer."+e+".buttonRenderer.command.clickTrackingParams",a.data),b=(a=b||a)?_.no(a):void 0,a=_.vp(),e=[_.Mg(c)],_.ks(a,d,b,{dataPromises:e,csnToClone:c.csn}),c.graftedVes))for(c=
_.k(c.graftedVes),d=c.next();!d.done;d=c.next())_.ls(a,d.value)};
YM.prototype.onStoreGraftedVeAction=function(a){this.data?(this.data.graftedVes||(this.data.graftedVes=[]),this.data.graftedVes.push(a)):_.Rf(Error("$f"))};
YM.prototype.onEntitiesUpdated=function(){};
var Qhb=function(a,b){return b.filter(function(c){for(var d in c)if(Ghb[d])return a.pendingPlayerOnResponseReceivedActions.push(c),!0;return!1})};
_.t.Object.defineProperties(YM.prototype,{csiServiceName:{configurable:!0,enumerable:!0,get:function(){}}});
var bN=YM;bN.prototype.onEntitiesUpdated=bN.prototype.onEntitiesUpdated;bN.prototype.onStoreGraftedVeAction=bN.prototype.onStoreGraftedVeAction;bN.prototype.loadData=bN.prototype.loadData;bN.prototype.onYtUpdateUnseenNotificationCount=bN.prototype.onYtUpdateUnseenNotificationCount;bN.prototype.handleClearCookieAction=bN.prototype.handleClearCookieAction;bN.prototype.handleUpdateNotificationsUnseenCountAction=bN.prototype.handleUpdateNotificationsUnseenCountAction;
bN.prototype.setUnseenNotificationCount=bN.prototype.setUnseenNotificationCount;bN.prototype.onYtUpdateTitle=bN.prototype.onYtUpdateTitle;bN.prototype.setPageTitle=bN.prototype.setPageTitle;bN.prototype.onYtEndpointChangeHandler=bN.prototype.onYtEndpointChangeHandler;bN.prototype.onYtPageDataFetched=bN.prototype.onYtPageDataFetched;bN.prototype.handleNavigate=bN.prototype.handleNavigate;bN.prototype.onYtNavigate=bN.prototype.onYtNavigate;bN.prototype.onYtNavigateRedirect=bN.prototype.onYtNavigateRedirect;
bN.prototype.onYtNavigateFinish=bN.prototype.onYtNavigateFinish;bN.prototype.onYtNavigateCache=bN.prototype.onYtNavigateCache;bN.prototype.onYtNavigateError=bN.prototype.onYtNavigateError;bN.prototype.onYtNavigateStart=bN.prototype.onYtNavigateStart;bN.prototype.cancelPendingTasks=bN.prototype.cancelPendingTasks;bN.prototype.initHistoryManager=bN.prototype.initHistoryManager;bN.prototype.navigateStart=bN.prototype.navigateStart;bN.prototype.onYtHistoryLoad=bN.prototype.onYtHistoryLoad;
bN.prototype.onYtHistoryPop=bN.prototype.onYtHistoryPop;bN.prototype.onYtNavigateSetPageOffset=bN.prototype.onYtNavigateSetPageOffset;bN.prototype.setPageOffset=bN.prototype.setPageOffset;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],bN.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],bN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],bN.prototype,"data",void 0);
_.S([_.N({value:!1}),_.T("design:type",Boolean)],bN.prototype,"hasError",void 0);_.S([_.N(),_.T("design:type",Object)],bN.prototype,"errorMessage",void 0);_.S([_.N(),_.T("design:type",Boolean)],bN.prototype,"pauseVisibilityMonitor",void 0);_.S([_.O("yt-navigate-set-page-offset"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],bN.prototype,"onYtNavigateSetPageOffset",null);
_.S([_.O("yt-history-pop"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],bN.prototype,"onYtHistoryPop",null);_.S([_.O("yt-history-load"),_.T("design:type",Function),_.T("design:paramtypes",[Event,_.bBa]),_.T("design:returntype")],bN.prototype,"onYtHistoryLoad",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],bN.prototype,"onYtNavigate",null);
_.S([_.O("yt-update-title"),_.T("design:type",Function),_.T("design:paramtypes",[Event,String]),_.T("design:returntype")],bN.prototype,"onYtUpdateTitle",null);_.S([_.O("yt-update-unseen-notification-count"),_.T("design:type",Function),_.T("design:paramtypes",[Event,Number]),_.T("design:returntype")],bN.prototype,"onYtUpdateUnseenNotificationCount",null);bN=_.S([_.wt()],bN);Fhb.YtdAppBehavior=[_.iu.YtComponentBehavior,_.Y.YtActionHandlerBehavior,bN.prototype];
var Rhb=function(){var a=_.vt.apply(this,arguments)||this;a._noAccessors=!0;a.autonavPauseReasons={scroll:!1,inputBoxFocus:!1,overlayOpen:!1,guideOpen:!1,reportOpened:!1,backgroundAndMute:!1,requestedByPlayer:!1,longIdle:!1,youthereLactExperiment:!1,userEngagement:!1};a.autonavPauseActionMap={"ytd-log-youthere-nav":"onYtEndpointChanged","yt-autonav-pause-user-engagement":"onYtAutonavPauseUserEngagement","yt-user-activity":"onYtUserActivity","yt-get-autonav-pause-debug-state":"onYtGetAutonavPauseDebugState"};
a.userEngagementCsn=null;return a};
_.q(Rhb,_.vt);_.f=Rhb.prototype;_.f.attached=function(){this.listen(document,"visibilitychange","onYtAutonavVisibilityChanged");this.ytActionHandlerBehavior.registerActionMap(this.autonavPauseActionMap)};
_.f.detached=function(){this.unlisten(document,"visibilitychange","onYtAutonavVisibilityChanged");this.ytActionHandlerBehavior.unregisterActionMap(this.autonavPauseActionMap)};
_.f.isAutonavBlockingPopup=function(a){if(!_.x("kevlar_autonav_popup_filtering"))return!0;var b;return(a=null==(b=_.H(a))?void 0:b.rootTarget)?a.hasAttribute("prevent-autonav"):!0};
_.f.onIronOverlayOpened=function(a){this.isAutonavBlockingPopup(a)&&(this.autonavPauseReasons.overlayOpen=!0,this.updateAutoNavState())};
_.f.onIronOverlayClosed=function(a){this.isAutonavBlockingPopup(a)&&(this.autonavPauseReasons.overlayOpen=!1,this.updateAutoNavState())};
_.f.onYtAutonavPauseFocus=function(){this.autonavPauseReasons.inputBoxFocus=!0;this.updateAutoNavState()};
_.f.onYtAutonavPauseBlur=function(){var a=this;this.async(function(){a.isInBackground()||(a.autonavPauseReasons.inputBoxFocus=!1,a.updateAutoNavState())},0)};
_.f.onYtAutonavPauseGuideOpened=function(){this.autonavPauseReasons.guideOpen=!0;this.updateAutoNavState()};
_.f.onYtAutonavPauseGuideClosed=function(){this.autonavPauseReasons.guideOpen=!1;this.updateAutoNavState()};
_.f.onYtReportFormOpened=function(){this.autonavPauseReasons.reportOpened=!0;this.updateAutoNavState()};
_.f.onYtReportFormClosed=function(){this.autonavPauseReasons.reportOpened=!1;this.updateAutoNavState()};
_.f.onYtAutonavPauseScroll=function(){var a=_.Eg().resolve(_.Co);a.isOnWatch()&&(a=a.getCurrentPage().getPlayerContainer())&&(this.autonavPauseReasons.scroll=-200>a.getBoundingClientRect().top,this.updateAutoNavState())};
_.f.onYtAutonavPauseUserEngagement=function(a){var b=this;if(_.x("user_engagement_enable_autoplay_pause_feature")){var c=Number(a.lowEngagementThresholdMs);isNaN(c)||0>=c||"LOW_USER_ENGAGEMENT_ACTION_PAUSE_AUTOPLAY"!==a.lowUserEngagementAction?_.nI("YOU_THERE_EVENT_TYPE_F_AUTONAV_INVALID_LACT_THRESHOLD"):lab()<c?_.Jn(_.xe,function(){_.nI("YOU_THERE_EVENT_TYPE_F_AUTONAV_BELOW_LACT_THRESHOLD")}):_.u4a()?(this.userEngagementCsn=_.fg(),_.Jn(_.xe,function(){_.nI("YOU_THERE_EVENT_TYPE_F_AUTONAV_PAUSE_ENABLED",
b.userEngagementCsn)}),this.autonavPauseReasons.userEngagement=!0,this.updateAutoNavState()):_.nI("YOU_THERE_EVENT_TYPE_F_AUTONAV_RATE_LIMITED")}else Q6a(Error("ag`"+JSON.stringify(a)))};
_.f.onYtAutonavPausePlayer=function(a){this.autonavPauseReasons.requestedByPlayer=!!a.detail;this.updateAutoNavState()};
_.f.onYtAutonavVisibilityChanged=function(){var a=this,b,c,d;return _.y(function(e){if(1==e.nextAddress)return(b=_.sv())?_.B(e,b.getPlayerPromise(),2):e.return();c=e.yieldResult;d=c.isMuted()||0===c.getVolume();a.autonavPauseReasons.backgroundAndMute=a.isInBackground()&&d;a.updateAutoNavState();_.bf(e)})};
_.f.onYtAutonavPausePlayerEnded=function(){_.Eg().resolve(_.zo);var a=144E5;_.x("user_engagement_enable_autoplay_pause_feature")||_.x("is_part_of_any_user_engagement_experiment")||!_.x("enable_watch_next_pause_autoplay_lact")||(a=1E3*_.hd("watch_next_pause_autoplay_lact_sec"));this.autonavPauseReasons.longIdle=_.of()>a;this.updateYouThereState();this.updateAutoNavState()};
_.f.onYtUserActivity=function(){var a=this;this.autonavPauseReasons.userEngagement&&(_.Jn(_.xe,function(){_.nI("YOU_THERE_EVENT_TYPE_F_AUTONAV_PAUSE_DISABLED_BY_LACT_RESET",a.userEngagementCsn)}),this.autonavPauseReasons.userEngagement=!1,this.updateAutoNavState());
this.autonavPauseReasons.youthereLactExperiment&&(_.Jn(_.xe,function(){_.nI("YOU_THERE_EVENT_TYPE_AUTOPLAY_RESUMED",a.userEngagementCsn);_.If()}),this.autonavPauseReasons.youthereLactExperiment=!1,this.updateAutoNavState());
this.autonavPauseReasons.longIdle&&!_.x("disable_kevlar_resume_autonav_after_user_activity")&&(this.autonavPauseReasons.longIdle=!1,this.updateAutoNavState())};
_.f.isInBackground=function(){var a=window.document.visibilityState;return!(!a||"visible"===a)};
_.f.updateAutoNavState=function(){for(var a=!1,b=_.k(Object.values(this.autonavPauseReasons)),c=b.next();!c.done;c=b.next())c=c.value,a=a||c;a?_.lF.getInstance().pause(this.autonavPauseReasons):(a=_.lF.getInstance(),3==a.autonavState_?(a.setState(2),a.autonavPauseReason_=void 0):1==a.autonavState_&&(a.disabledAutonavPauseReason_=void 0))};
_.f.updateYouThereState=function(){var a=this,b=!1;if(_.x("enable_autoplay_pause_by_lact")){_.Eg().resolve(_.zo);b=1E3*_.hd("autoplay_pause_by_lact_sec");var c=_.hd("autoplay_pause_by_lact_sampling_fraction");(b=_.of()>=b&&Math.random()<c)&&!_.u4a()&&(_.Jn(_.xe,function(){_.nI("YOU_THERE_EVENT_TYPE_AUTOPLAY_RATE_LIMITED")}),b=!1)}b!==this.autonavPauseReasons.youthereLactExperiment&&(this.autonavPauseReasons.youthereLactExperiment=b)&&(this.userEngagementCsn=_.fg(),_.Jn(_.xe,function(){_.nI("YOU_THERE_EVENT_TYPE_AUTOPLAY_PAUSED",
a.userEngagementCsn)}));
this.autonavPauseReasons.userEngagement&&_.Jn(_.xe,function(){_.nI("YOU_THERE_EVENT_TYPE_F_AUTONAV_PAUSED",a.userEngagementCsn)})};
_.f.onYtEndpointChanged=function(){this.autonavPauseReasons.youthereLactExperiment&&(_.nI("YOU_THERE_EVENT_TYPE_AUTOPLAY_NAVIGATED_OUT",this.userEngagementCsn),_.If(),this.autonavPauseReasons.youthereLactExperiment=!1,this.updateAutoNavState());this.autonavPauseReasons.userEngagement&&(_.nI("YOU_THERE_EVENT_TYPE_F_AUTONAV_NAVIGATED_OUT",this.userEngagementCsn),this.autonavPauseReasons.userEngagement=!1,this.updateAutoNavState())};
_.f.onYtGetAutonavPauseDebugState=function(){return JSON.stringify(this.autonavPauseReasons)};
var cN=Rhb;cN.prototype.onYtAutonavPausePlayerEnded=cN.prototype.onYtAutonavPausePlayerEnded;cN.prototype.onYtAutonavPausePlayer=cN.prototype.onYtAutonavPausePlayer;cN.prototype.onYtAutonavPauseScroll=cN.prototype.onYtAutonavPauseScroll;cN.prototype.onYtReportFormClosed=cN.prototype.onYtReportFormClosed;cN.prototype.onYtReportFormOpened=cN.prototype.onYtReportFormOpened;cN.prototype.onYtAutonavPauseGuideClosed=cN.prototype.onYtAutonavPauseGuideClosed;cN.prototype.onYtAutonavPauseGuideOpened=cN.prototype.onYtAutonavPauseGuideOpened;
cN.prototype.onYtAutonavPauseBlur=cN.prototype.onYtAutonavPauseBlur;cN.prototype.onYtAutonavPauseFocus=cN.prototype.onYtAutonavPauseFocus;cN.prototype.onIronOverlayClosed=cN.prototype.onIronOverlayClosed;cN.prototype.onIronOverlayOpened=cN.prototype.onIronOverlayOpened;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],cN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],cN.prototype,"ytComponentBehavior",void 0);
_.S([_.O("iron-overlay-opened"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],cN.prototype,"onIronOverlayOpened",null);_.S([_.O("iron-overlay-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],cN.prototype,"onIronOverlayClosed",null);_.S([_.O("yt-autonav-pause-focus"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtAutonavPauseFocus",null);
_.S([_.O("yt-autonav-pause-blur"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtAutonavPauseBlur",null);_.S([_.O("yt-autonav-pause-guide-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtAutonavPauseGuideOpened",null);_.S([_.O("yt-autonav-pause-guide-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtAutonavPauseGuideClosed",null);
_.S([_.O("yt-report-form-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtReportFormOpened",null);_.S([_.O("yt-report-form-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtReportFormClosed",null);_.S([_.O("yt-autonav-pause-scroll"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtAutonavPauseScroll",null);
_.S([_.O("yt-autonav-pause-player"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],cN.prototype,"onYtAutonavPausePlayer",null);_.S([_.O("yt-autonav-pause-player-ended"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cN.prototype,"onYtAutonavPausePlayerEnded",null);cN=_.S([_.wt()],cN);var Shb=[_.iu.YtComponentBehavior,_.Y.YtActionHandlerBehavior,cN.prototype];
var dN=function(){var a=_.vt.apply(this,arguments)||this;a._noAccessors=!0;return a};
_.q(dN,_.vt);dN.prototype.ready=function(){var a=this;this.$.checkbox.addEventListener("change",function(){a.onChange_()})};
dN.prototype.dataChanged_=function(){this.$.checkbox.checked=!1};
dN.prototype.onChange_=function(){this.fire("yt-dismissal-reason-"+(this.$.checkbox.checked?"selected":"deselected"),this.data.feedbackToken)};
var eN=dN;_.S([_.N({observer:"dataChanged_"}),_.T("design:type",Object)],eN.prototype,"data",void 0);eN=_.S([_.wt()],eN);var Thb=[eN.prototype];
var Uhb=function(){var a=_.vt.apply(this,arguments)||this;a.downloadManagerActionMap={"yt-signal-action-delete-all-downloads-prompt":"handleDeleteAllDownloadsPrompt","yt-signal-action-delete-all-downloads":"handleDeleteAllDownloads","yt-signal-action-delete-download":"handleDeleteDownload","yt-signal-action-install-pwa":"onYtSignalActionInstallPwa","yt-signal-action-refresh-downloads":"onYtSignalActionRefreshDownloads","yt-offline-video-endpoint":"handleOfflineVideoEndpoint"};return a};
_.q(Uhb,_.vt);_.f=Uhb.prototype;_.f.attached=function(){this.ytActionHandlerBehavior.registerActionMap(this.downloadManagerActionMap);_.Bh.instance=new _.Bh};
_.f.detached=function(){this.ytActionHandlerBehavior.unregisterActionMap(this.downloadManagerActionMap)};
_.f.handleDeleteAllDownloadsPrompt=function(){var a=_.Io.getInstance(),b=_.Bg("DELETE_ALL_DOWNLOADS_PROMPT",void 0,"Delete all downloads?"),c=_.Bg("DELETE",void 0,"Delete"),d=_.Bg("CANCEL",void 0,"Cancel");_.Qt(a,[{openPopupAction:_.Ula(b,c,d,{signal:"DELETE_ALL_DOWNLOADS"})}],this)};
_.f.handleDeleteAllDownloads=function(){return _.y(function(a){return 1==a.nextAddress?_.B(a,_.Eg().resolve(_.zs),2):_.B(a,_.Eg().resolve(_.rs).deleteAllVideos(),0)})};
_.f.handleDeleteDownload=function(a){var b;return _.y(function(c){return 1==c.nextAddress?null!=(b=a.signalAction)&&b.targetId?_.B(c,_.Eg().resolve(_.zs),3):c.jumpTo(0):_.B(c,_.Eg().resolve(_.rs).deleteVideo(a.signalAction.targetId),0)})};
_.f.onYtSignalActionRefreshDownloads=function(){_.x("kevlar_woffle_refresh_dl_load_killswitch")||tab()};
_.f.onYtSignalActionInstallPwa=function(){_.x("kevlar_woffle")&&_.Bh.instance&&$$a()};
_.f.handleOfflineVideoEndpoint=function(a){if(!a.offlineVideoEndpoint||!a.offlineVideoEndpoint.videoId)return!1;_.Eg().resolve(_.rs).handleOfflineVideoEndpoint(a.offlineVideoEndpoint,a.clickTrackingParams);return!0};
var fN=Uhb;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],fN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],fN.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Pu.YtEndpointHandlerBehavior),_.T("design:type",Object)],fN.prototype,"ytEndpointHandlerBehavior",void 0);fN=_.S([_.wt()],fN);var Vhb=[fN.prototype,_.Y.YtActionHandlerBehavior];
var gN=function(){var a=_.vt.apply(this,arguments)||this;a.timeoutJobId=0;a.actionMap={"yt-open-popup-action":"startTimeout","yt-close-popup-action":"cancelTimeout"};return a};
_.q(gN,_.vt);gN.prototype.ytdHatsSurveyBehaviorDataChanged=function(){this.cancelTimeout()};
gN.prototype.startTimeout=function(){var a=this,b=this.data&&this.data.displayDurationSeconds;b&&!this.timeoutJobId&&(this.timeoutJobId=_.Jn(_.xe,function(){_.C(a,"yt-close-popup-action",[a.is]);a.timeoutJobId=0},1E3*b))};
gN.prototype.cancelTimeout=function(){_.xe.cancelJob(this.timeoutJobId);this.timeoutJobId=0};
var hN=gN;hN.prototype.ytdHatsSurveyBehaviorDataChanged=hN.prototype.ytdHatsSurveyBehaviorDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],hN.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],hN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hN.prototype,"ytdHatsSurveyBehaviorDataChanged",null);hN=_.S([_.wt()],hN);
var Whb=[_.Y.YtActionHandlerBehavior,_.U.YtRendererBehavior,hN.prototype];
var Xhb=function(){var a=_.vt.apply(this,arguments)||this;a.standalone=!1;a.playlistHandlerActionMap={"yt-add-to-playlist-command":"handleAddToPlaylistCommand","yt-end-playlist-command":"handleEndPlaylistCommand","yt-recover-playlist-command":"handleRecoverPlaylistCommand","yt-refresh-playlist-command":"handleRefreshPlaylistCommand","yt-playlist-remove-videos-action":"handlePlaylistRemoveVideosAction"};return a};
_.q(Xhb,_.vt);_.f=Xhb.prototype;_.f.attached=function(){this.standalone||(this.ytActionHandlerBehavior.registerActionMap(this.playlistHandlerActionMap),Nab())};
_.f.detached=function(){this.ytActionHandlerBehavior.unregisterActionMap(this.playlistHandlerActionMap)};
_.f.handleAddToPlaylistCommand=function(a,b){if(a.addToPlaylistCommand&&b&&b.fire){var c=a.addToPlaylistCommand.videoIds||[a.addToPlaylistCommand.videoId];b=b.fire("yt-lockup-requested",{videoIds:c}).detail.returnValue;var d;"PLAYLIST_EDIT_LIST_TYPE_QUEUE"===a.addToPlaylistCommand.listType?d=b?b:c.map(function(e){return{videoId:e}}):b&&(d=b);
d&&(c=d.map(function(e){var h=Object,l=h.assign;var m=e.navigationEndpoint;if(null==m||!m.reelWatchEndpoint)if(m&&m.watchEndpoint){if(delete m.watchEndpoint.index,delete m.watchEndpoint.playlistId,m.commandMetadata&&m.commandMetadata.webCommandMetadata&&m.commandMetadata.webCommandMetadata.url){var p=m.commandMetadata.webCommandMetadata.url;p=_.uh(p,"list");p=_.uh(p,"index");m.commandMetadata.webCommandMetadata.url=p}}else m=void 0;return l.call(h,{},e,{ownerBadges:void 0,topStandaloneBadge:void 0,
menu:void 0,navigationEndpoint:m})}),Mab(_.Sx(),c,a.addToPlaylistCommand))}};
_.f.handleEndPlaylistCommand=function(a){_.Sx().handleEndPlaylistCommand(a)};
_.f.handleRecoverPlaylistCommand=function(a){_.Sx().handleRecoverPlaylistCommand(a)};
_.f.handlePlaylistRemoveVideosAction=function(a){a.playlistRemoveVideosAction&&a.playlistRemoveVideosAction.setVideoIds&&a.playlistRemoveVideosAction.setVideoIds.forEach(function(b){_.eNa(_.Sx(),b)})};
_.f.handleRefreshPlaylistCommand=function(a){_.Sx().handleRefreshPlaylistCommand(a)};
var iN=Xhb;iN.prototype.handleRefreshPlaylistCommand=iN.prototype.handleRefreshPlaylistCommand;iN.prototype.handlePlaylistRemoveVideosAction=iN.prototype.handlePlaylistRemoveVideosAction;iN.prototype.handleRecoverPlaylistCommand=iN.prototype.handleRecoverPlaylistCommand;iN.prototype.handleEndPlaylistCommand=iN.prototype.handleEndPlaylistCommand;iN.prototype.handleAddToPlaylistCommand=iN.prototype.handleAddToPlaylistCommand;
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],iN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],iN.prototype,"standalone",void 0);iN=_.S([_.wt()],iN);var Yhb=[_.Y.YtActionHandlerBehavior,iN.prototype];
var Zhb=function(a,b){return a.SHARED_RENDERERS_.hasOwnProperty(b)?"yt":a.prefix},jN={DIALOG:{component:"tp-yt-paper-dialog",
properties:{withBackdrop:!0},preventAutonav:!0},FULLSCREEN_OVERLAY:{component:null,properties:{withBackdrop:!0}}};jN.DROPDOWN={component:"tp-yt-iron-dropdown",properties:{noOverlap:!0,horizontalAlign:_.x("web_sheets_ui_refresh")?"right":"auto",verticalAlign:"top",dynamicAlign:!0,withBackdrop:!1},forceFocus:!0,slotName:"dropdown-content",preventAutonav:!0};
jN.HINT={component:"tp-yt-iron-dropdown",properties:{allowOutsideScroll:!0,dynamicAlign:!1,horizontalAlign:"center",noOverlap:!0,scrollAction:"refit",verticalAlign:"bottom",verticalOffset:15,withBackdrop:!1},positionalProperties:{OPEN_POPUP_POSITION_TOP:{horizontalAlign:"center",horizontalOffset:0,verticalAlign:"bottom",verticalOffset:15},OPEN_POPUP_POSITION_TOPLEFT:{horizontalAlign:"right",horizontalOffset:-12,shiftedHorizontalOffset:24,verticalAlign:"bottom",verticalOffset:15},OPEN_POPUP_POSITION_TOPRIGHT:{horizontalAlign:"left",
horizontalOffset:-12,shiftedHorizontalOffset:24,verticalAlign:"bottom",verticalOffset:15},OPEN_POPUP_POSITION_LEFT:{horizontalAlign:"right",horizontalOffset:12,verticalAlign:"middle",verticalOffset:0},OPEN_POPUP_POSITION_RIGHT:{horizontalAlign:"left",horizontalOffset:12,verticalAlign:"middle",verticalOffset:0},OPEN_POPUP_POSITION_BOTTOM:{horizontalAlign:"center",horizontalOffset:0,verticalAlign:"top",verticalOffset:12},OPEN_POPUP_POSITION_BOTTOMLEFT:{horizontalAlign:"right",horizontalOffset:12,shiftedHorizontalOffset:24,
verticalAlign:"top",verticalOffset:12},OPEN_POPUP_POSITION_BOTTOMRIGHT:{horizontalAlign:"left",horizontalOffset:-12,shiftedHorizontalOffset:24,verticalAlign:"top",verticalOffset:12}},forceCloseOnOutsideClick:!0,forceFocus:!0,slotName:"dropdown-content"};
jN.HINT_PERSISTENT={component:"tp-yt-iron-dropdown",properties:{allowOutsideScroll:!0,dynamicAlign:!1,horizontalAlign:"center",noOverlap:!0,scrollAction:"refit",verticalAlign:"bottom",verticalOffset:15,withBackdrop:!1,noAutoFocus:!0},positionalProperties:{OPEN_POPUP_POSITION_TOP:{horizontalAlign:"center",horizontalOffset:0,verticalAlign:"bottom",verticalOffset:15},OPEN_POPUP_POSITION_TOPLEFT:{horizontalAlign:"right",horizontalOffset:-12,shiftedHorizontalOffset:24,verticalAlign:"bottom",verticalOffset:15},
OPEN_POPUP_POSITION_TOPRIGHT:{horizontalAlign:"left",horizontalOffset:-12,shiftedHorizontalOffset:24,verticalAlign:"bottom",verticalOffset:15},OPEN_POPUP_POSITION_LEFT:{horizontalAlign:"right",horizontalOffset:12,verticalAlign:"middle",verticalOffset:0},OPEN_POPUP_POSITION_RIGHT:{horizontalAlign:"left",horizontalOffset:12,verticalAlign:"middle",verticalOffset:0},OPEN_POPUP_POSITION_BOTTOM:{horizontalAlign:"center",horizontalOffset:0,verticalAlign:"top",verticalOffset:12},OPEN_POPUP_POSITION_BOTTOMLEFT:{horizontalAlign:"right",
horizontalOffset:12,shiftedHorizontalOffset:24,verticalAlign:"top",verticalOffset:12},OPEN_POPUP_POSITION_BOTTOMRIGHT:{horizontalAlign:"left",horizontalOffset:-12,shiftedHorizontalOffset:24,verticalAlign:"top",verticalOffset:12}},slotName:"dropdown-content"};jN.LOCKED_OVERLAY_DIALOG={component:"tp-yt-paper-dialog",properties:{restoreFocusOnClose:!0,scrollAction:"lock",withBackdrop:!0},preventAutonav:!0};
jN.MEALBAR={component:"tp-yt-paper-dialog",properties:{keepBelowPlayer:!_.x("kevlar_mealbar_above_player"),noAutoFocus:!0,noCancelOnOutsideClick:!0,withBackdrop:!1},styles:{position:"fixed",top:"auto",left:"0",right:"auto",bottom:"0",margin:"16px"},rtlStyles:{position:"fixed",top:"auto",right:"0",left:"auto",bottom:"0",margin:"16px"}};jN.MODAL={component:"tp-yt-paper-dialog",properties:{modal:!0},forceFocus:!0,preventAutonav:!0};
jN.LOCKED_MODAL={component:"tp-yt-paper-dialog",properties:{modal:!0,scrollAction:"lock"},forceFocus:!0,preventAutonav:!0};jN.MOLE={component:null,styles:{position:"fixed",top:"auto",left:"auto",right:"0",bottom:"0",zIndex:"var(--ytd-z-index-miniplayer)"},rtlStyles:{position:"fixed",top:"auto",left:"0",right:"auto",bottom:"0",zIndex:"var(--ytd-z-index-miniplayer)"}};
jN.NOTIFICATION={component:null,styles:{position:"fixed",top:"0",left:"auto",right:"0",bottom:"auto",marginTop:"60px",zIndex:"var(--ytd-z-index-notification)"},rtlStyles:{position:"fixed",top:"0",left:"0",right:"auto",bottom:"auto",marginTop:"60px",zIndex:"var(--ytd-z-index-notification)"},preventAutonav:!0};
jN.OVERLAY_DROPDOWN={component:"tp-yt-iron-dropdown",properties:{noOverlap:!1,horizontalAlign:"auto",verticalAlign:"top",dynamicAlign:!0,withBackdrop:!1},forceFocus:!0,slotName:"dropdown-content",preventAutonav:!0};
jN.RESPONSIVE_DROPDOWN={component:"tp-yt-iron-dropdown",properties:{noOverlap:!0,horizontalAlign:"auto",verticalAlign:"top",dynamicAlign:!0,withBackdrop:!1},narrowProperties:{horizontalAlign:null,verticalAlign:null,dynamicAlign:!1,withBackdrop:!0},forceFocus:!0,slotName:"dropdown-content",preventAutonav:!0};
jN.SURVEY={component:"tp-yt-paper-dialog",properties:{withBackdrop:!1,noCancelOnOutsideClick:!0,noAutoFocus:!0},styles:{position:"fixed",top:"auto",left:"auto",right:"0",bottom:"0"},rtlStyles:{position:"fixed",top:"auto",left:"0",right:"auto",bottom:"0"},preventAutonav:_.x("web_survey_popup_prevent_autonav")};jN.TOP_ALIGNED_DIALOG={component:"tp-yt-paper-dialog",properties:{withBackdrop:!0,verticalAlign:"top",horizontalAlign:"center"},styles:{margin:"8px 0 0 0"},targetContainer:!0};
jN.TOAST={component:null,properties:{}};
var $hb=new function(a,b,c){this.supportedPopups=a;this.navigationEndpointPopupMap=b;this.popupTypeMap=c}({aboutThisAdRenderer:!0,
adFeedbackRenderer:!0,adInfoDialogRenderer:!0,addToPlaylistRenderer:!0,backstagePostDialogPopupRenderer:!0,bubbleHintRenderer:!0,channelCreationDialogRenderer:!0,channelWarmWelcomeRenderer:!0,channelWarmWelcomeContRenderer:!0,checkboxSurveyRenderer:!0,confirmDialogRenderer:!0,dismissalFollowUpRenderer:!0,fancyDismissibleDialogRenderer:!0,formPopupRenderer:!0,gamingAccountLinkConfirmDialogRenderer:!0,gamingAccountLinkSettingRenderer:!0,hotkeyDialogRenderer:!0,imageEditorRenderer:!0,sponsorshipConfirmCancelRenderer:!0,
modalWithTitleAndButtonRenderer:!0,notificationActionRenderer:!0,reportFormModalRenderer:!0,searchSuggestionReportDialog:!0,sharingRenderer:!0,sharingEmbedRenderer:!0,menuPopupRenderer:!0,queueToPlayDialogRenderer:!0,singleOptionSurveyRenderer:!0,surveyFollowUpRenderer:!0,unifiedSharePanelRenderer:!0,unlimitedFamilyMessageInterstitialRenderer:!0,unlimitedFamilyProfileInterstitialRenderer:!0,unpluggedPauseMembershipDialogRenderer:!0,ypcUpgradeDialogRenderer:!0,ypcOffersOverlayRenderer:!0,redCancelSurveyRenderer:!0,
conversationSectionController:!0,conversationHighPriorityNotificationContentRenderer:!0},{adFeedbackEndpoint:"adFeedbackEndpoint.content",adInfoDialogEndpoint:"adInfoDialogEndpoint.dialog",createBackstagePostDialogEndpoint:"createBackstagePostDialogEndpoint.dialog",confirmDialogEndpoint:"confirmDialogEndpoint.content",managePurchaseEndpoint:"managePurchaseEndpoint.content",modalEndpoint:"modalEndpoint.modal",shareEndpoint:"shareEndpoint",shareEntityEndpoint:"shareEntityEndpoint",unlimitedFamilyFlowEndpoint:"unlimitedFamilyFlowEndpoint.unlimitedFamilyFlowEndpointSupportedRenderers",
openPopupAction:"openPopupAction.popup",ypcCancelSurveyEndpoint:"ypcCancelSurveyEndpoint.surveySupportedRenderers"},{aboutThisAdRenderer:"DIALOG",adFeedbackRenderer:"DIALOG",adInfoDialogRenderer:"RESPONSIVE_DROPDOWN",addToPlaylistRenderer:_.x("desktop_add_to_playlist_renderer_dialog_popup")?"DIALOG":"RESPONSIVE_DROPDOWN",backstagePostDialogPopupRenderer:"DIALOG",bubbleHintRenderer:"HINT",checkboxSurveyRenderer:"SURVEY",confirmDialogRenderer:"DIALOG",dismissalFollowUpRenderer:"DIALOG",fancyDismissibleDialogRenderer:"DIALOG",
gamingAccountLinkConfirmDialogRenderer:"DIALOG",gamingAccountLinkSettingRenderer:"DIALOG",queueToPlayDialogRenderer:"DIALOG",hotkeyDialogRenderer:"DIALOG",sponsorshipConfirmCancelRenderer:"DIALOG",menuPopupRenderer:"RESPONSIVE_DROPDOWN",modalWithTitleAndButtonRenderer:"RESPONSIVE_DROPDOWN",notificationActionRenderer:"TOAST",reportFormModalRenderer:"DIALOG",searchSuggestionReportDialog:"DIALOG",sharingEmbedRenderer:"DIALOG",sharingRenderer:"RESPONSIVE_DROPDOWN",singleOptionSurveyRenderer:"SURVEY",
surveyFollowUpRenderer:"SURVEY",unifiedSharePanelRenderer:"DIALOG",unlimitedFamilyMessageInterstitialRenderer:"DIALOG",unlimitedFamilyProfileInterstitialRenderer:"DIALOG",unpluggedPauseMembershipDialogRenderer:"DIALOG",ypcOffersOverlayRenderer:"DIALOG",ypcUpgradeDialogRenderer:"DIALOG",redCancelSurveyRenderer:"DIALOG",conversationSectionController:"MOLE",conversationHighPriorityNotificationContentRenderer:"NOTIFICATION"}),aib=new function(){this.popupConfig=jN;this.forwardedEvents="yt-action yt-navigate yt-popup-canceled yt-popup-closed yt-popup-opened yt-service-request-completed yt-service-request-error yt-service-request-sent yt-lockup-requested".split(" ");
this.prefix="ytd";this.SHARED_RENDERERS_={aboutThisAdRenderer:!0,bubbleHintRenderer:!0,confirmDialogRenderer:!0,fancyDismissibleDialogRenderer:!0,notificationActionRenderer:!0,reportDetailsFormRenderer:!0,reportFormModalRenderer:!0,sharingEmbedRenderer:!0,sharingRenderer:!0,sortFilterSubMenuPopupRenderer:!0,tooltipRenderer:!0,unlimitedFamilyMessageInterstitialRenderer:!0,unlimitedFamilyProfileInterstitialRenderer:!0,unpluggedPauseMembershipDialogRenderer:!0,upsellDialogRenderer:!0,ypcOffersModalRenderer:!0,
ypcUpgradeDialogRenderer:!0,loadingRenderer:!0}};
var kN=function(a,b,c){this.apiKey=a;this.endpoint=b;this.confidenceThreshold=void 0===c?.5:c;this.stream=null;this.state=0;this.channelOpen=!1;this.languageCode="en-us";this.youtubeAssistantRequest=null;this.listeningHandler=function(){};
this.audioDetectedHandler=function(){};
this.completeHandler=function(){};
this.errorHandler=function(){};
this.stopHandler=function(){};
this.transcriptionUpdateHandler=function(){};
this.vozEndOfDataTimeout=this.noResponseReceivedTimeout=-1;this.transcribedSpeechResults=[];this.receivedEndOfUtterance=!1;this.startCustomCsiTimeline=!0;this.supportsCrossDomainXhr=!1;this.supportsHttpHeadersOverwriteParam=!0;this.isUsingVoz="https://embeddedassistant-webchannel.googleapis.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel"===b||"https://embeddedassistant-clients6.youtube.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel"===b||"https://embeddedassistant-frontend-webchannel.googleapis.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel"===
b||"https://embeddedassistant-frontend-clients6.youtube.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel"===b;new _.q2a};
kN.prototype.start=function(a){0===this.state&&(this.JSC$39254_isOnline()?(void 0!==a.supportsHttpHeadersOverwriteParam&&(this.supportsHttpHeadersOverwriteParam=a.supportsHttpHeadersOverwriteParam),void 0!==a.startCustomCsiTimeline&&(this.startCustomCsiTimeline=a.startCustomCsiTimeline),this.startCustomCsiTimeline&&_.KYa("voice_assistant"),_.pw("voz_ms",void 0,"voice_assistant"),this.state=1,this.receivedEndOfUtterance=!1,this.languageCode=a.languageCode||"en-US",this.supportsCrossDomainXhr=a.supportsCrossDomainXhr||
this.supportsCrossDomainXhr,this.youtubeAssistantRequest=a.youtubeAssistantRequest||null,this.listeningHandler=a.listeningHandler||this.listeningHandler,this.audioDetectedHandler=a.audioDetectedHandler||this.audioDetectedHandler,this.stopHandler=a.stopHandler||this.stopHandler,this.completeHandler=a.completeHandler||this.completeHandler,this.errorHandler=a.errorHandler||this.errorHandler,this.transcriptionUpdateHandler=a.transcriptionUpdateHandler||this.transcriptionUpdateHandler,this.accessToken=
a.accessToken,this.additionalHeaders=a.additionalHeaders||{},bib(this),this.startAudio(),cib(this)):this.errorHandler("OFFLINE"))};
kN.prototype.stop=function(){0!==this.state&&(lN("voz_cx"),mN(this),this.errorHandler("ABORTED"))};
kN.prototype.getState=function(){return this.state};
kN.prototype.isSupported=function(){return!0};
var dib=function(a){var b=a.isUsingVoz?"PLACEHOLDER":"example";b={config:{dialogStateIn:{languageCode:a.languageCode},deviceConfig:{deviceId:b,deviceModelId:b},audioInConfig:{encoding:"LINEAR16",sampleRateHertz:16E3},audioOutConfig:{encoding:"MP3",sampleRateHertz:22050,volumePercentage:0}}};a.isUsingVoz?a.isUsingVoz&&a.youtubeAssistantRequest&&(a=JSON.stringify(a.youtubeAssistantRequest),b.config.internalIn={youtubeAssistantS3InputJson:a}):b.config.requestType=4;return b};
kN.prototype.stopAudio=function(){lN("voz_mf")};
kN.prototype.startAudio=function(){lN("voz_vp");return _.Mg(null)};
var eib=function(a,b){a.channelOpen&&(2!==a.state&&(a.state=2,lN("voz_ss"),a.listeningHandler()),b=new Uint8Array(b),b='{ "audioIn": "'+_.Ia(b)+'" }',a.channel.send(b))},mN=function(a){-1<a.vozEndOfDataTimeout&&(clearTimeout(a.vozEndOfDataTimeout),a.vozEndOfDataTimeout=-1);
fib(a);a.stopAudio();a.channel&&(a.channelOpen=!1,a.channel.close(),a.channel=void 0);a.transcribedSpeechResults=[];a.state=0;a.stopHandler()},bib=function(a){var b={httpHeadersOverwriteParam:a.supportsHttpHeadersOverwriteParam?"$httpHeaders":void 0,
httpSessionIdParam:"gsessionid",sendRawJson:!0,initMessageHeaders:Object.assign({},a.additionalHeaders,a.accessToken&&a.isUsingVoz?{Authorization:"Bearer "+a.accessToken}:{"x-goog-api-key":a.apiKey}),supportsCrossDomainXhr:a.supportsCrossDomainXhr};a.channel=new _.oH(a.endpoint,b);a.channel.open();_.Fk(a.channel,"n",function(){a.channel.send(a.getAssistRequestInitial());a.channelOpen=!0});
_.Fk(a.channel,"o",function(){a.channelOpen=!1;a.channel=void 0;mN(a)});
_.Fk(a.channel,"q",function(c){if(c.data){fib(a);for(var d=0;d<c.data.length;d++){var e=a,h=c.data[d],l=h.speechResults;if(l)a:{var m=[];h=[];var p=!1;l=_.k(l);for(var r=l.next();!r.done;r=l.next()){r=r.value;if(r.noSpeech){mN(e);e.errorHandler("NO_SPEECH");break a}void 0!==r.transcript&&void 0!==r.stability&&(r.stability<e.confidenceThreshold&&(p=!0),p?h.push(r.transcript):m.push(r.transcript))}if(0!==m.length||0!==h.length)m=m.join(" "),h=h.join(" "),e.receivedEndOfUtterance&&!e.isUsingVoz?e.isUsingVoz||
e.completeHandler([m,h]):(lN("voz_sf"),e.transcriptionUpdateHandler(m,h),e.transcribedSpeechResults=[m,h])}else e.isUsingVoz&&h.internalOut?h.internalOut&&(h=h.internalOut.youtubeAssistantS3OutputJson,m=e.transcribedSpeechResults,h&&(lN("voz_rqf"),e.completeHandler(m,JSON.parse(h)))):"END_OF_UTTERANCE"===h.eventType?e.receivedEndOfUtterance=!0:(lN("voz_err"),e.errorHandler("UNEXPECTED_ASSISTANT_RESPONSE"),_.Rf(Error("bg")))}}});
_.Fk(a.channel,"p",function(c){mN(a);switch(c.status){case 1:c="WEBCHANNEL_NETWORK_ERROR";break;case 2:c="WEBCHANNEL_SERVER_ERROR";break;default:c="WEBCHANNEL_UNKNOWN_ERROR"}a.errorHandler(c);a.logError(Error(c))})};
kN.prototype.logError=function(a){_.Qf(a)};
kN.prototype.JSC$39254_isOnline=function(){return!0};
var cib=function(a){fib(a);a.noResponseReceivedTimeout=window.setTimeout(function(){mN(a);a.errorHandler("NO_SPEECH")},11E3)},fib=function(a){-1<a.noResponseReceivedTimeout&&(window.clearTimeout(a.noResponseReceivedTimeout),a.noResponseReceivedTimeout=-1)},lN=function(a){_.fi(a,void 0,"voice_assistant")};
var gib=function(){kN.apply(this,arguments);this.audioContext=this.processor=null;this.audioDetected=!1};
_.q(gib,kN);_.f=gib.prototype;_.f.isSupported=function(){try{var a=!(!window.AudioContext&&!window.webkitAudioContext)}catch(b){a=!1}return a};
_.f.getAssistRequestInitial=function(){return dib(this)};
_.f.startAudio=function(){var a=this;if(!navigator||!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)return _.Qk(null);this.audioContext=new (window.AudioContext||window.webkitAudioContext)({latencyHint:"interactive"});this.processor=this.audioContext.createScriptProcessor(1024,1,1);this.processor.onaudioprocess=function(d){hib(a,d)};
this.processor.connect(this.audioContext.destination);var b=function(d){a.stream=d;if(!a.audioContext)return _.Mg(null);d=a.audioContext.createMediaStreamSource(d);a.processor&&d.connect(a.processor);return _.Mg(null)},c={audio:{sampleSize:16,
channelCount:1},video:!1};this.stream?b(this.stream):navigator.mediaDevices.getUserMedia(c).then(b).catch(function(d){mN(a);d.name&&"NotAllowedError"===d.name?a.errorHandler("NO_MICROPHONE_PERMISSION"):(a.errorHandler("AUDIO_ERROR"),a.logError(d));return _.Qk(null)});
return kN.prototype.startAudio.call(this)};
_.f.stopAudio=function(){this.audioContext&&("running"===this.audioContext.state&&this.processor&&(this.processor.onaudioprocess=function(){}),this.audioContext.close(),this.audioContext=null,this.stream&&(this.stream.getAudioTracks().forEach(function(a){a.stop()}),this.stream=null));
this.processor=null;this.audioDetected=!1;kN.prototype.stopAudio.call(this)};
_.f.JSC$39254_isOnline=function(){return navigator.onLine};
var hib=function(a,b){if(a.audioContext)if(window.OfflineAudioContext){var c=a.audioContext.sampleRate,d=b.inputBuffer.getChannelData(0);b=new window.OfflineAudioContext(1,d.length,16E3);for(var e=b.createBuffer(1,d.length,c),h=e.getChannelData(0),l=0,m=0;m<d.length;m++)h[m]=d[m],l+=h[m]*h[m];!a.audioDetected&&.01<Math.sqrt(l/d.length)&&(a.audioDetected=!0,a.audioDetectedHandler());d=b.createBufferSource();d.buffer=e;d.connect(b.destination);d.start(0);b.oncomplete=function(p){p=p.renderedBuffer.getChannelData(0);
for(var r=Math.floor(16384E3/c),v=new Int16Array(r),z=0;z<r;++z)v[z]=32767*Math.max(-1,Math.min(1,p[z]));eib(a,v.buffer)};
b.startRendering()}else iib(a,b)},iib=function(a,b){var c=a.audioContext.sampleRate,d=b.inputBuffer.getChannelData(0),e=Math.floor((c+8E3)/16E3);
c=d.length/e;b=new Float32Array(c);for(var h=0;h<c;++h)b[h]=d[h*e];d=new Int16Array(c);for(e=0;e<c;++e)d[e]=32767*Math.max(-1,Math.min(1,b[e]));eib(a,d.buffer)};
var jib={FAILURE:"failure",NO_INPUT:"no_input",OPEN:"open",SUCCESS:"success"};
var kib=function(){this.audioEnabled=!0;this.audioFeedbackHolder={}},lib=function(a){for(var b=_.k(Object.values(jib)),c=b.next();!c.done;c=b.next())c=c.value,a.audioFeedbackHolder[c]=new Audio,a.audioFeedbackHolder[c].src="/s/search/audio/"+c+".mp3",a.audioFeedbackHolder[c].load()},nN=function(a,b){if(!1!==a.audioEnabled&&b in a.audioFeedbackHolder){for(var c=_.k(Object.values(a.audioFeedbackHolder)),d=c.next();!d.done;d=c.next())d=d.value,0<d.currentTime&&!d.paused&&!d.ended&&2<d.readyState&&d.pause();
a.audioFeedbackHolder[b].currentTime=0;a.audioFeedbackHolder[b].play()}};
var mib=function(a,b){var c=this;this.store=a;this.service=b;this.stream=null;this.permissionsSupported=!0;this.enableFirstPartyAuth=this.enableInlineSearchResponse=!1;this.audioPlayer=null;this.disableHttpHeadersOverwrite=!1;this.handleOfflineEvent=function(){c.setState("offline");c.stop()};
_.x("web_enable_voz_audio_feedback")&&(this.audioPlayer=new kib);var d;null==(d=this.audioPlayer)||lib(d)};
_.f=mib.prototype;_.f.getService=function(){return this.service};
_.f.isEnabled=function(){return!!this.service};
_.f.isSupported=function(){var a;return null==(a=this.service)?void 0:a.isSupported()};
_.f.start=function(){var a=this,b,c,d,e,h,l,m,p,r,v,z,A;return _.y(function(D){switch(D.nextAddress){case 1:a.store.dispatch(vbb("",""));if(!navigator.onLine)return a.setState("offline"),D.return();window.addEventListener("offline",a.handleOfflineEvent);a.stream=null;if(!a.permissionsSupported){D.jumpTo(2);break}_.se(D,3);return _.B(D,nib(a),5);case 5:b=D.yieldResult;if(!b)return null==(c=a.audioPlayer)||nN(c,"failure"),D.return();a.service.stream=a.stream;a.setState("listening");_.te(D,2);break;
case 3:_.ue(D),a.permissionsSupported=!1;case 2:d={context:_.Ofa(_.Nd())},d.youtubeAssistantParams={searchParams:{inlineSearchResponse:a.enableInlineSearchResponse}},e=function(E,J){a.store.dispatch(wbb("transcribing"));a.store.dispatch(vbb(E,J))},h=function(){var E;
null==(E=a.audioPlayer)||nN(E,"open");a.setState("listening")},l=function(){a.setState("transcribing")},m=function(E){a.setErrorState(E)},p=function(E,J){var R;
null==(R=a.audioPlayer)||nN(R,"success");J&&(_.x("kevlar_voice_search_inline_search")&&(a.responseProcessor=_.Eg().resolve(_.Li),a.responseProcessor&&(R=J.navigationAction,E=J.prefetchedSearchResponse,R&&E&&(R=(new _.Hr).JSC$35151_getStoreKey(R),_.Mi(a.responseProcessor,E,R)))),a.JSC$39313_actionRouter.triggerOptionalAction("yt-speech-query-complete-action",J))},r=function(){window.removeEventListener("offline",a.handleOfflineEvent)},v=_.Wfa(!1),z=a.enableFirstPartyAuth?v:{"X-Goog-Visitor-Id":v["X-Goog-Visitor-Id"]},
A={completeHandler:p,
errorHandler:m,listeningHandler:h,audioDetectedHandler:l,stopHandler:r,transcriptionUpdateHandler:e,youtubeAssistantRequest:d,languageCode:oib(),additionalHeaders:z,supportsCrossDomainXhr:a.enableFirstPartyAuth,supportsHttpHeadersOverwriteParam:!a.disableHttpHeadersOverwrite},a.service.start(A),_.bf(D)}})};
_.f.stop=function(){0!==this.service.getState()&&this.service.stop()};
_.f.reset=function(){this.store.dispatch(_.Rg({type:"RESET_VOICE_SEARCH_STATE"}))};
_.f.setState=function(a){this.store.dispatch(wbb(a))};
_.f.setErrorState=function(a){switch(a){case "OFFLINE":case "WEBCHANNEL_NETWORK_ERROR":case "WEBCHANNEL_SERVER_ERROR":case "WEBCHANNEL_UNKNOWN_ERROR":var b;null==(b=this.audioPlayer)||nN(b,"failure");this.setState("offline");break;case "NO_MICROPHONE_PERMISSION":if(this.permissionsSupported)nib(this);else{var c;null==(c=this.audioPlayer)||nN(c,"failure");this.setState("permission-denied")}break;case "ABORTED":var d;null==(d=this.audioPlayer)||nN(d,"no_input");break;default:var e;null==(e=this.audioPlayer)||
nN(e,"no_input");this.setState("timeout")}};
var nib=function(a){var b,c,d;return _.y(function(e){switch(e.nextAddress){case 1:return _.B(e,navigator.permissions.query({name:"microphone"}),2);case 2:b=e.yieldResult;if("granted"===b.state)return e.return(!0);if("denied"===b.state)return a.setState("permission-denied"),e.return(!1);a.setState("permission");c={audio:{sampleSize:16,channelCount:1},video:!1};_.se(e,3);d=a;return _.B(e,navigator.mediaDevices.getUserMedia(c),5);case 5:return d.stream=e.yieldResult,e.return(!0);case 3:return _.ue(e),
a.setState("permission-denied"),e.return(!1)}})},oib=function(){var a=_.w("INNERTUBE_CONTEXT_HL"),b=_.w("INNERTUBE_CONTEXT_GL");
return-1<a.indexOf("-")?a:a+"-"+b};
var oN=function(){kN.apply(this,arguments)};
_.q(oN,kN);oN.prototype.isSupported=function(){var a;return null==(a=window.MediaRecorder)?void 0:a.isTypeSupported("audio/webm; codecs=opus")};
oN.prototype.getAssistRequestInitial=function(){var a=dib(this);a.config.audioInConfig.encoding="WEBM_OPUS";a.config.audioInConfig.sampleRateHertz=48E3;return a};
oN.prototype.startAudio=function(){var a=this,b={audio:!0,video:!1},c=function(d){a.stream=d;a.mediaRecorder=new window.MediaRecorder(d,{mimeType:"audio/webm; codecs=opus"});a.mediaRecorder.ondataavailable=function(e){pib(a,e)};
a.mediaRecorder.start(100);a.mediaRecorder.onerror=function(e){mN(a);a.errorHandler("MEDIA_RECORDER_ERROR");a.logError(e.error)};
return kN.prototype.startAudio.call(a)};
this.stream?c(this.stream):navigator.mediaDevices.getUserMedia(b).then(c).catch(function(d){mN(a);!d.name||"SecurityError"!==d.name&&"NotAllowedError"!==d.name?(a.errorHandler("AUDIO_ERROR"),a.logError(d)):a.errorHandler("NO_MICROPHONE_PERMISSION");return _.Qk(null)});
return _.Mg(null)};
oN.prototype.stopAudio=function(){this.mediaRecorder&&("inactive"!==this.mediaRecorder.state&&this.mediaRecorder.stop(),this.mediaRecorder=void 0);if(this.stream&&this.stream.getAudioTracks){for(var a=_.k(this.stream.getAudioTracks()),b=a.next();!b.done;b=a.next())b=b.value,b.stop&&b.stop();this.stream=null}kN.prototype.stopAudio.call(this)};
var qib=function(){oN.apply(this,arguments)};
_.q(qib,oN);var pib=function(a,b){if(b.data.size){var c=new FileReader;c.onload=function(){eib(a,c.result)};
c.readAsArrayBuffer(b.data)}};
var rib=function(a,b,c){mib.call(this,b,c);this.JSC$39313_actionRouter=a;this.enableInlineSearchResponse=_.x("kevlar_voice_search_inline_search");this.enableFirstPartyAuth=_.x("kevlar_voice_search_auth_enabled");this.disableHttpHeadersOverwrite=_.x("kevlar_voice_search_disable_http_header_overwrite")},sib;
_.q(rib,mib);
var tib=function(){if(!sib){var a=_.x("kevlar_voice_search_auth_enabled")?"https://embeddedassistant-clients6.youtube.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel":"https://embeddedassistant-webchannel.googleapis.com/google.assistant.embedded.v1.EmbeddedAssistant/YTAssist/channel",b=_.Io.getInstance(),c=_.hh;a:{if(_.x("kevlar_voice_search_opus")){var d=new qib(_.w("VOZ_API_KEY"),a,.5);if(d.isSupported()){a=d;break a}}a=new gib(_.w("VOZ_API_KEY"),a,.5)}sib=new rib(b,c,a)}return sib};
var uib=function(){var a=_.K.apply(this,arguments)||this;a.miniGuideVisible=!1;a.guideUserStateOpened=!0;a.persistentGuideWidthThreshold=_.hd("kevlar_persistent_guide_width_threshold",1312);a.miniGuideWidthThreshold=_.hd("kevlar_mini_guide_width_threshold",791);a.persistentGuideBlockedPages="/clip /musicpremium /new /premium /premiumlite /red /watch".split(" ");a.persistentGuideBlockedPagesPatterns="^/clip(/|$) ^/musicpremium(/|$) ^/new(/|$) ^/premium(/|$) ^/premiumlite(/|$) ^/red(/|$) ^/watch(/|$)".split(" ");
a.persistentGuideBlockedPagePathRegex=new RegExp(a.persistentGuideBlockedPagesPatterns.join("|"));a.animationTransitionDuration=0;a.lateDataResolver=_.Sk();a.serviceEndpoint=xbb;a.initialGuideDataFetchFailed=!1;a.initialLoad=!0;a.guideRenderers=new Set;a.actionMap={"yt-start-loading-watch":"startLoadingWatch"};return a};
_.q(uib,_.K);_.f=uib.prototype;_.f.factoryImpl=function(){};
_.f.ready=function(){_.Eg().addProvider({provide:_.Ao,useValue:this})};
_.f.attached=function(){var a=this;this.cachedClientWidth=_.w("initialBodyClientWidth")||document.body.clientWidth;this.listen(document,"yt-navigate-finish","onYtNavigateFinish");this.listen(document,"yt-guide-toggle","onYtGuideToggle");this.listen(document,"yt-guide-close","onYtGuideClose");this.listen(document,"yt-guide-show","onYtGuideShow");_.nt(this,function(){a.animationTransitionDuration=200})};
_.f.detached=function(){this.unlisten(document,"yt-navigate-finish","onYtNavigateFinish");this.unlisten(document,"yt-guide-toggle","onYtGuideToggle");this.unlisten(document,"yt-guide-close","onYtGuideClose");this.unlisten(document,"yt-guide-show","onYtGuideShow");this.guideElement&&(this.unlisten(this.guideElement,"opened-changed","onDrawerOpenedChanged"),this.unlisten(this.guideElement,"app-drawer-transitioned","onAppDrawerTransitioned"),this.unlisten(this.guideElement,"app-drawer-transitioned",
"onAppDrawerTransitionedFromKeyInput"))};
_.f.getData=function(){return this.data};
_.f.load=function(){var a=this,b,c,d,e;return _.y(function(h){switch(h.nextAddress){case 1:if(!window.ytInitialGuideData&&window.ytInitialGuideDataPresent)return window.loadGuideDataHook=a.lateDataResolver.resolve.bind(a),h.return(a.lateDataResolver.promise);if(window.ytInitialGuideData)return b=_.Sk(),b.resolve(window.ytInitialGuideData),h.return(b.promise);d=!1;_.se(h,2);return _.B(h,a.fetchGuideData(),4);case 4:c=h.yieldResult;_.te(h,3);break;case 2:e=_.ue(h),"Returned error"===e.message&&(d=!0);
case 3:if(c)return h.return(c);a.onYtGuideClose();d||(a.initialGuideDataFetchFailed=!0);return h.return(a.lateDataResolver.promise)}})};
_.f.fetchGuideData=function(){var a=this,b,c,d,e,h,l;return _.y(function(m){if(1==m.nextAddress)return _.B(m,_.Kg(a,[a.serviceEndpoint]),2);if(3!=m.nextAddress)return b=m.yieldResult,c=_.Eg(),d=c.resolve(_.es),_.B(m,d(),3);(e=m.yieldResult)&&(null==(h=b)?0:h.data)&&0!==(null==(l=b.data.responseContext)?void 0:l.maxAgeSeconds)&&e.put("service:guide:fallback",new _.lp({innertubeResponse:b.data}));return m.return(b.data)})};
_.f.initializeGuideDataIfEmpty=function(){var a=this,b,c;return _.y(function(d){if(1==d.nextAddress){if(!a.initialGuideDataFetchFailed||a.data)return d.return();_.se(d,2);return _.B(d,a.fetchGuideData(),4)}if(2!=d.nextAddress)return(b=d.yieldResult)&&a.lateDataResolver.resolve(b),_.te(d,0);c=_.ue(d);_.Rf(c);_.bf(d)})};
_.f.initializeGuideData=function(){var a=this,b,c;return _.y(function(d){switch(d.nextAddress){case 1:return _.uo(R6a(),{mainAppWeb:_.xh()}),_.se(d,2),b=a,_.B(d,a.load(),4);case 4:b.data=d.yieldResult;_.te(d,3);break;case 2:_.ue(d),_.Di(R6a(),"FAILURE");case 3:c=a.data&&a.data.items&&0<a.data.items.length?"SUCCESS":"FAILURE",_.Di(R6a(),c),_.bf(d)}})};
_.f.setGuideData=function(a){var b=this,c,d;return _.y(function(e){if(1==e.nextAddress)return b.disabled?e.return():b.data?(a.data=b.data,b.guideRenderers.add(a),e.return()):_.B(e,b.initializeGuideData(),2);b.graftGuideToPage();c=_.fd("IS_HOMEPAGE_COLD")?"eop":void 0;_.x("disable_element_pool_populator")?b.setGuideDataAfterInit(a):(d=new _.Ju(1,c),_.Ku(d,b.setGuideDataAfterInit.bind(b,a)));_.bf(e)})};
_.f.setGuideDataAfterInit=function(a){a.data=this.data;a.markDirty();this.guideRenderers.add(a);this.async(function(){_.fi("gle")});
_.nt(this,function(){_.fi("gpe")})};
_.f.graftGuideToPage=function(){if(this.data){var a=this.data&&this.data.trackingParams;a&&(a=_.no(a),_.DE(_.vp(),a))}};
_.f.onGuideElementChanged=function(){this.listen(this.guideElement,"opened-changed","onDrawerOpenedChanged");_.x("desktop_swipeable_guide")&&(this.guideElement.swipeOpen=!0)};
_.f.onDrawerOpenedChanged=function(a,b){!b.value&&this.guideOpened&&(this.guideOpened=!1)};
_.f.onYtGuideToggle=function(a){var b=this.guideOpened;this.guideOpened=!b;this.guidePersistent&&(this.guideUserStateOpened=this.guideOpened);this.updateGuideDrawerElementState();this.guideElement&&(this.guideOpened&&a.detail.isKeyInput&&this.listen(this.guideElement,"app-drawer-transitioned","onAppDrawerTransitionedFromKeyInput"),this.listen(this.guideElement,"app-drawer-transitioned","onAppDrawerTransitioned"));b||this.initializeGuideDataIfEmpty()};
_.f.onAppDrawerTransitionedFromKeyInput=function(){this.unlisten(this.guideElement,"app-drawer-transitioned","onAppDrawerTransitionedFromKeyInput");this.guideOpened&&this.guideElement&&_.gy(this.guideElement)};
_.f.onAppDrawerTransitioned=function(){this.unlisten(this.guideElement,"app-drawer-transitioned","onAppDrawerTransitioned");this.ytdReduxBehavior.dispatch(tbb(this.guideOpened))};
_.f.guidePersistentAndVisibleChanged=function(){_.Jg(this,"ytd-update-guide-state-action",[this.guidePersistentAndVisible])};
_.f.guideIsVisibleButNotPersistentChanged=function(){this.ytdReduxBehavior.dispatch(_.Rg({type:"SET_GUIDE_IS_VISIBLE_BUT_NOT_PERSISTENT",payload:this.guideIsVisibleButNotPersistent}))};
_.f.miniGuideVisibleChanged=function(){_.Jg(this,"ytd-update-mini-guide-state-action",[this.miniGuideVisible])};
_.f.guideOpenedChanged=function(){this.initialLoad&&(this.ytdReduxBehavior.dispatch(tbb(this.guideOpened)),this.initialLoad=!1);_.Jg(this,"ytd-update-guide-opened-action",[this.guideOpened])};
_.f.activeEndpointChanged=function(){_.Jg(this,"ytd-update-active-endpoint-action",[this.activeEndpoint]);this.initializeGuideDataIfEmpty()};
_.f.pageUrlChanged=function(){this.forceMiniGuideClose=!1;if(this.persistentGuideEnabled(this.pageType,this.pageUrl))this.onYtGuideShow();else this.onYtGuideClose()};
_.f.onYtGuideShow=function(){this.forceMiniGuideClose=!1;this.guidePersistent=this.canFitPersistentGuide(this.cachedClientWidth);this.guideUserStateOpened&&this.guidePersistent?this.renderGuide=this.guideOpened=!0:this.guideOpened=!1;this.observeForMiniGuideVisible();this.updateGuideDrawerElementState()};
_.f.cachedClientWidthChanged=function(){if(this.persistentGuideEnabled(this.pageType,this.pageUrl)){var a=this.canFitPersistentGuide(this.cachedClientWidth);a?this.guideOpened=this.guideUserStateOpened:this.guidePersistent&&(this.guideOpened=!1);this.guidePersistent=a}this.updateGuideDrawerElementState()};
_.f.getGuidePersistentAndVisible=function(){return!!this.guidePersistentAndVisible};
_.f.getGuideOpened=function(){return this.guideOpened};
_.f.getActiveEndpoint=function(){return this.activeEndpoint};
_.f.getMiniGuideVisible=function(){return this.miniGuideVisible};
_.f.updateGuideDrawerElementState=function(){this.guideElement&&(this.guidePersistent?this.disableGuideAnimation():this.guideElement.persistent?this.disableGuideAnimation():this.enableGuideAnimation(),this.guideElement.opened=this.guideOpened,this.guideElement.persistent=this.guidePersistent,this.guideOpened&&this.guidePersistent&&this.fire("yt-guide-hover"),!this.guideOpened||this.guidePersistent)&&(document.body.style.overflow="")};
_.f.computeGuidePersistentAndVisible=function(){var a=this;this.debounce("computeGuidePersistentAndVisible",function(){a.guidePersistentAndVisible=a.guideOpened&&a.guidePersistent;a.guideIsVisibleButNotPersistent=!(!a.guideOpened||a.guidePersistent)})};
_.f.observeForMiniGuideVisible=function(){void 0!==this.guidePersistentAndVisible&&(this.miniGuideVisible=!this.forceMiniGuideClose&&!this.guidePersistentAndVisible&&this.canFitMiniGuide(this.cachedClientWidth)&&this.persistentGuideEnabled(this.pageType,this.pageUrl))};
_.f.closeGuide=function(){this.guideOpened=!1;this.updateGuideDrawerElementState()};
_.f.onYtGuideClose=function(){this.closeGuide();this.forceMiniGuideClose=!0;this.guidePersistent=this.miniGuideVisible=!1};
_.f.startLoadingWatch=function(){this.closeGuide()};
_.f.onYtNavigateFinish=function(a,b){if(!_.Cj||b)this.activeEndpoint=b.endpoint,this.pageType=b.pageType,this.pageUrl=b.response.url,!this.pageUrl&&b.endpoint&&b.endpoint.commandMetadata&&b.endpoint.commandMetadata.webCommandMetadata&&(this.pageUrl=b.endpoint.commandMetadata.webCommandMetadata.url),_.x("kevlar_use_vimio_behavior")&&this.markGuideRendererDirty(this.getVisibleGuideRenderer())};
_.f.getVisibleGuideRenderer=function(){for(var a=_.k(this.guideRenderers),b=a.next();!b.done;b=a.next())if(b=b.value,this.miniGuideVisible&&"ytd-mini-guide-renderer"===b.is||this.guideOpened&&"ytd-guide-renderer"===b.is)return b;return null};
_.f.markGuideRendererDirty=function(a){if(a){"function"===typeof a.markDirty&&a.markDirty();a=_.k([].concat(_.sc(a.children)));for(var b=a.next();!b.done;b=a.next())this.markGuideRendererDirty(b.value)}};
_.f.persistentGuideEnabled=function(a,b){if(!b||"watch"===a||"settings"===a||"browse"===a&&["theatreMode","fullscreen"].includes(this.richGridWatchStatus))return!1;var c=_.Ed(b)||"";return _.x("kevlar_premium_guide_collapse_killswitch")?!this.persistentGuideBlockedPages.some(function(d){return c===d}):!this.persistentGuideBlockedPagePathRegex.test(c)};
_.f.canFitPersistentGuide=function(a){return-1===this.persistentGuideWidthThreshold?!1:a>this.persistentGuideWidthThreshold};
_.f.canFitMiniGuide=function(a){return-1===this.miniGuideWidthThreshold?!1:a>this.miniGuideWidthThreshold};
_.f.onResize=function(){var a=this;this.debounce("calculateGuideState",function(){return a.onResizeDebounced()})};
_.f.onResizeDebounced=function(){this.cachedClientWidth=document.body.clientWidth};
_.f.disableGuideAnimation=function(){this.guideElement.transitionDuration=0};
_.f.enableGuideAnimation=function(){this.guideElement.transitionDuration=this.animationTransitionDuration};
var pN=uib;pN.prototype.onResize=pN.prototype.onResize;pN.prototype.observeForMiniGuideVisible=pN.prototype.observeForMiniGuideVisible;pN.prototype.computeGuidePersistentAndVisible=pN.prototype.computeGuidePersistentAndVisible;pN.prototype.cachedClientWidthChanged=pN.prototype.cachedClientWidthChanged;pN.prototype.pageUrlChanged=pN.prototype.pageUrlChanged;pN.prototype.activeEndpointChanged=pN.prototype.activeEndpointChanged;pN.prototype.guideOpenedChanged=pN.prototype.guideOpenedChanged;
pN.prototype.miniGuideVisibleChanged=pN.prototype.miniGuideVisibleChanged;pN.prototype.guideIsVisibleButNotPersistentChanged=pN.prototype.guideIsVisibleButNotPersistentChanged;pN.prototype.guidePersistentAndVisibleChanged=pN.prototype.guidePersistentAndVisibleChanged;pN.prototype.onGuideElementChanged=pN.prototype.onGuideElementChanged;_.S([_.L(_.xx),_.T("design:type",Object)],pN.prototype,"ironResizableBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],pN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],pN.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],pN.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],pN.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],pN.prototype,"disabled",void 0);
_.S([_.N({notify:!0}),_.T("design:type",Boolean)],pN.prototype,"guidePersistentAndVisible",void 0);_.S([_.N({notify:!0}),_.T("design:type",Boolean)],pN.prototype,"guideIsVisibleButNotPersistent",void 0);_.S([_.N({notify:!0}),_.T("design:type",Object)],pN.prototype,"miniGuideVisible",void 0);_.S([_.N(),_.T("design:type",Boolean)],pN.prototype,"forceMiniGuideClose",void 0);_.S([_.N({notify:!0}),_.T("design:type",Object)],pN.prototype,"activeEndpoint",void 0);
_.S([_.N({notify:!0}),_.T("design:type",Boolean)],pN.prototype,"renderGuide",void 0);_.S([_.N(),_.T("design:type",Boolean)],pN.prototype,"guideOpened",void 0);_.S([_.N({notify:!0}),_.T("design:type",Boolean)],pN.prototype,"guidePersistent",void 0);_.S([_.N(),_.T("design:type",Object)],pN.prototype,"guideUserStateOpened",void 0);_.S([_.N(),_.T("design:type",String)],pN.prototype,"pageUrl",void 0);_.S([_.N(),_.T("design:type",String)],pN.prototype,"pageType",void 0);
_.S([_.N(),_.T("design:type",Number)],pN.prototype,"cachedClientWidth",void 0);_.S([_.N(),_.T("design:type",Object)],pN.prototype,"guideElement",void 0);_.S([_.N({selector:_.AI}),_.T("design:type",String)],pN.prototype,"richGridWatchStatus",void 0);_.S([_.P("guideElement"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"onGuideElementChanged",null);
_.S([_.P("guidePersistentAndVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"guidePersistentAndVisibleChanged",null);_.S([_.Ct("guideIsVisibleButNotPersistent"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"guideIsVisibleButNotPersistentChanged",null);
_.S([_.P("miniGuideVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"miniGuideVisibleChanged",null);_.S([_.Ct("guideOpened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"guideOpenedChanged",null);_.S([_.P("activeEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"activeEndpointChanged",null);
_.S([_.Ct("pageUrl"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"pageUrlChanged",null);_.S([_.Ct("cachedClientWidth"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"cachedClientWidthChanged",null);_.S([_.P("guideOpened","guidePersistent"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"computeGuidePersistentAndVisible",null);
_.S([_.Ct("guidePersistentAndVisible","pageUrl","cachedClientWidth"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"observeForMiniGuideVisible",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pN.prototype,"onResize",null);pN=_.S([_.Q({is:"yt-guide-manager"})],pN);
var vib=function(){var a=_.K.apply(this,arguments)||this;a.JSC$39325_keyboardInUse=!1;a.boundHandleCapturedKeydownEvent=function(b){a.handleCapturedKeydownEvent(b)};
return a};
_.q(vib,_.K);_.f=vib.prototype;_.f.attached=function(){this.listen(document,"keydown","onKeyDownEvent");this.listen(document,"keyup","onKeyUpEvent");this.listen(document,"mousedown","onMouseDownEvent");_.x("desktop_keyboard_capture_keydown_killswitch")||document.addEventListener("keydown",this.boundHandleCapturedKeydownEvent,!0)};
_.f.detached=function(){this.unlisten(document,"keydown","onKeyDownEvent");this.unlisten(document,"keyup","onKeyUpEvent");this.unlisten(document,"mousedown","onMouseDownEvent");_.x("desktop_keyboard_capture_keydown_killswitch")||document.removeEventListener("keydown",this.boundHandleCapturedKeydownEvent,!0)};
_.f.ready=function(){_.Eg().addProvider({provide:_.Bo,useValue:this})};
_.f.isKeyBoardInUse=function(){return this.JSC$39325_keyboardInUse};
_.f.handleCapturedKeydownEvent=function(a){if(32===a.keyCode&&!this.isKeyBoardInUse())this.onKeyDownEvent(a)};
_.f.onMouseDownEvent=function(){this.JSC$39325_keyboardInUse=!1};
_.f.ignoreKeyEvent=function(a){if(a.ctrlKey||a.altKey)if(_.x("kevlar_macro_markers_keyboard_shortcut")){if(37!==a.keyCode&&39!==a.keyCode)return!0}else return!0;var b=_.H(a).path||[];return _.p6a(b)?!0:a.defaultPrevented?(yJ(a.keyCode,a.shiftKey),!0):32===a.keyCode&&this.isKeyBoardInUse()?this.isSpacebarClick(a):!1};
_.f.isSpacebarClick=function(a){var b=a||window.event;var c;b.composedPath&&"function"===typeof b.composedPath?c=b.composedPath():c=b.path;c&&c.length?b=c[0]:(b=b||window.event,b=b.target||b.srcElement,3==b.nodeType&&(b=b.parentNode));return b&&32===a.keyCode&&(a="BUTTON"===b.tagName||"A"===b.tagName||"INPUT"===b.tagName,b=(b=b.getAttribute("role"))&&("option"===b||"button"===b||0===b.indexOf("menuitem")),a||b)?!0:!1};
_.f.onKeyDownEvent=function(a){if(!this.ignoreKeyEvent(a)&&(191===a.keyCode&&(a.shiftKey||a.metaKey?null!=a.repeat&&a.repeat||(this.openHotkeyDialog(),yJ(a.keyCode,a.shiftKey)):(this.focusSearchBox(),a.preventDefault())),!a.metaKey))switch(a.keyCode){case 9:this.JSC$39325_keyboardInUse=!0;break;case 32:_.x("global_spacebar_pause")&&!this.isKeyBoardInUse()&&(a.preventDefault(),this.passEventToPlayer(a));break;case 84:this.toggleTheaterMode(a.keyCode,a.shiftKey);break;case 73:this.toggleMiniplayer(a.keyCode,
a.shiftKey);break;case 70:this.isMiniplayerActive()||this.passEventToPlayer(a);break;case 27:this.closeMiniplayer(a.keyCode,a.shiftKey)||this.passEventToPlayer(a);break;default:this.passEventToPlayer(a)}};
_.f.onKeyUpEvent=function(a){if(!this.ignoreKeyEvent(a)){var b=this.getPlayerManager();b&&(b=b.getPlayer())&&b.handleGlobalKeyUp(a.keyCode,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)}};
_.f.getPlayerManager=function(){var a=_.sv(),b=_.Eg().resolve(_.Cg(_.Co));return a&&b&&b.isOnWatch()?a:null};
_.f.passEventToPlayer=function(a){var b=this,c,d,e,h,l;return _.y(function(m){if(1==m.nextAddress)return d=_.Jg(b,"yt-miniplayer-active"),!_.x("desktop_keyboard_shortcuts_enabled_miniplayer_killswitch")&&d&&d[0]?(e=_.Jg(b,"yt-get-miniplayer-component-action"))&&e[0]&&(c=e[0].getPlayerElement()):b.inlinePreviewIsActive?(h=_.Jg(b,"yt-get-inline-preview-player-action"))&&h[0]&&(c=h[0]):c=_.sv(),c?_.B(m,c.getPlayerPromise(),3):m.jumpTo(0);l=m.yieldResult;l.handleGlobalKeyDown(a.keyCode,a.shiftKey,a.ctrlKey,
a.altKey,a.metaKey,a.key,a.code);38!==a.keyCode&&40!==a.keyCode&&yJ(a.keyCode,a.shiftKey);_.bf(m)})};
_.f.focusSearchBox=function(){this.fire("yt-focus-searchbox")};
_.f.openHotkeyDialog=function(){this.fire("yt-open-hotkey-dialog")};
_.f.isMiniplayerActive=function(){var a=_.Jg(this,"yt-miniplayer-active");return a&&a.length&&a[0]};
_.f.closeMiniplayer=function(a,b){return this.isMiniplayerActive()?(_.C(this,"yt-shortcut-close-miniplayer"),yJ(a,b),!0):!1};
_.f.toggleTheaterMode=function(a,b){var c=_.Jg(this,"yt-is-theater"),d=this.getPlayerManager(),e=_.x("disable_theater_mode_keyboard")||_.fd("START_IN_FULL_WINDOW_MODE");d&&!e&&1<=c.length&&(c=!c[0],_.dJ()&&_.x("external_fullscreen")&&(c=!0),_.C(this,"yt-toggle-theater-mode",[c]),yJ(a,b))};
_.f.toggleMiniplayer=function(a,b){var c=this.getPlayerManager();this.isMiniplayerActive()?(_.C(this,"yt-expand-watch-page-action"),yJ(a,b)):c&&(_.C(this,"yt-activate-miniplayer-from-watch-action"),yJ(a,b))};
var qN=vib;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],qN.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],qN.prototype,"ytdReduxBehavior",void 0);_.S([_.N({selector:_.AXa}),_.T("design:type",Boolean)],qN.prototype,"inlinePreviewIsActive",void 0);qN=_.S([_.Q({asyncProperties:!0,is:"yt-hotkey-manager"})],qN);
var wib=["__Secure-1PAPISID","SAPISID","__Secure-3PAPISID"],rN=function(){_.Kk.call(this);this.pollingInterval=3E3;this.sessionCookies=[null,null,null];xib(this)};
_.q(rN,_.Kk);rN.prototype.verifyUser=function(){var a=xib(this),b=a.logout;if(!a.sessionChange)return this.poll(),!0;this.dispatchEvent("ytsessionchange");b&&this.dispatchEvent("ytuserinvalid");this.poll();return!1};
var xib=function(a){var b=wib.map(function(e){var h;return null!=(h=_.Kd.get(e))?h:""}),c=b.some(function(e,h){return a.sessionCookies&&""!==a.sessionCookies[h]&&""===e}),d=b.some(function(e,h){return a.sessionCookies&&a.sessionCookies[h]!==e});
a.sessionCookies=b;return{logout:c,sessionChange:d}};
rN.prototype.poll=function(){};
rN.prototype.clearTimeout=function(){this.scheduledJobId&&(_.xe.cancelJob(this.scheduledJobId),this.scheduledJobId=void 0)};
var yib="/account /account_advanced /account_billing /account_notifications /account_playback /account_privacy /account_sharing /cart /channel/ /feed/ /gaming /gaming/ /hashtag /learning /manage_red /minor_moment /musicpremium /new /originals /paid_memberships /playlist /post/ /premium /product/ /reporthistory /results /search /shorts/ /show/ /user/ /watch /youtuberedoriginals".split(" "),zib=[],Aib=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-signal-action-history-back":"handleSignalActionHistoryBack",
"yt-signal-action-reload-page":"handleSignalActionReloadPage","yt-signal-action-soft-reload-page":"handleSignalActionSoftReloadPage","yt-signal-action-reset-warm-loads":"handleSignalActionResetWarmLoads","yt-signal-action-close-window":"handleSignalActionCloseWindow"};a.numNavigations=-1;a.chunksReceived=0;a.pendingNavigationPromise=null;a.lastNavigationUrl=null;a.autoplayCount=1;a.resetWarmLoads=!1;a.isMiniplayerExpansion=!1;a.currentEndpoint=null;return a};
_.q(Aib,_.K);_.f=Aib.prototype;_.f.ready=function(){_.Eg().addProvider({provide:_.Do,useValue:this})};
_.f.created=function(){this.initClientStreamzObjects();this.searchDebugUrlMatcher=new RegExp(/\/results\?.*deb|\/scraper_results\?.*deb|\/results\?.*enable=|\/scraper_results\?.*enable=/)};
_.f.initClientStreamzObjects=function(){_.x("enable_servlet_streamz")&&(this.requestCounter=new Xab,this.responsesCounter=new Yab);_.x("debug_servlet_streamz")&&(this.navigatePageTypeCounter=new $ab,this.awayFromAppEndpointCounter=new abb,this.cannotGenerateURLCounter=new bbb,this.forcedColdLoadCounter=new cbb,this.pageRequestFailCounter=new dbb,this.loadPageRequestCounter=new ebb,this.pageChunkReceivedCounter=new fbb,this.pageRequestFinishedCounter=new gbb,this.pageUpdateFinishCounter=new hbb);_.x("enable_navigation_requests_streamz")&&
new jbb(_.zg());_.x("enable_servlet_errors_streamz")&&(this.servletResponseErrorsCounter=new Zab)};
_.f.factoryImpl=function(){};
_.f.getPageTypeForEndpoint=function(a){var b="";if(!a)return null;a.commandMetadata&&a.commandMetadata.webCommandMetadata&&a.commandMetadata.webCommandMetadata.webPageType?b=_.nla(a.commandMetadata.webCommandMetadata.webPageType.toLowerCase()):a.browseEndpoint||a.watchPlaylistEndpoint?b="browse":a.searchEndpoint?b="search":a.watchEndpoint&&(b="watch");return b};
_.f.getCurrentEndpoint=function(){return this.currentEndpoint};
_.f.reload=function(){window.location.reload()};
_.f.reloadData=function(){this.currentEndpoint&&this.navigate(this.currentEndpoint,!0,void 0,{disableCache:!0})};
_.f.navigate=function(a,b,c,d,e,h){var l=this;b=void 0===b?!1:b;c=void 0===c?{}:c;d=void 0===d?{}:d;var m=this.getPageTypeForEndpoint(a);this.navigatePageTypeCounter&&this.navigatePageTypeCounter.increment(m||"null",e||"null");var p="1"==d.autonav,r=_.fg(),v;if("watch"===m){if(_.x("block_all_player_prefetch_requests")||(v=lhb(_.gm(OM),a,p)),this.shouldLoadEndpointInMiniplayer())return this.endpointInMiniplayer(a)?_.C(this,"yt-expand-watch-page-action"):_.C(this,"yt-miniplayer-load-endpoint",[a]),
!1}else if("watch"!==m){var z,A,D=null==(z=this.getCurrentEndpoint())?void 0:null==(A=z.watchEndpoint)?void 0:A.videoId;D&&_.dp.getInstance().then(function(da){da&&da.set("yt-miniplayer-shown-video-id",D)})}v&&(c.frags=v.missingFragments_.join(","));
z=null;var E=this.get("commandMetadata.webCommandMetadata.ignoreNavigation",a);E||(_.x("kevlar_command_url")?z=this.get("commandMetadata.webCommandMetadata.url",a):z=_.st(a,c));A=!1;if(z&&this.pendingNavigationPromise){if(this.lastNavigationUrl&&z==this.lastNavigationUrl)return X6a()||_.Rh("nrsu",1),!1;this.pendingNavigationPromise.cancel("canceled pendingNavigationPromise");A=!0;_.Di(pJ(),"CANCELLED")}z&&(this.lastNavigationUrl=z);_.ed("IS_HOMEPAGE_COLD",!1);_.ed("IS_RESULTS_PAGE_COLD",!1);_.ed("IS_WATCH_PAGE_COLD",
!1);a.loggingUrls&&a.loggingUrls.forEach(function(da){da.baseUrl&&_.Te(da.baseUrl)});
d$a(a,h?h.layer:0)&&_.x("kevlar_flush_logs_on_away_navigation")&&_.If();if(c$a(a))return this.awayFromAppEndpointCounter&&this.awayFromAppEndpointCounter.increment(m||"null"),!1;ybb(m,e);if(!z)return E||_.Rf(new _.ge("Can't construct url for endpoint",a)),this.cannotGenerateURLCounter&&this.cannotGenerateURLCounter.increment(m||"null"),_.Di(pJ(),"FAILURE"),!1;O8a();E=a&&a.hasOwnProperty("browseEndpoint")&&a.browseEndpoint.browseId.startsWith("UC");E=this.shouldRedirect(z)&&!E;var J;if(J=_.x("kevlar_next_cold_on_auth_change_detected"))rN.instance||
(rN.instance=new rN),J=!rN.instance.verifyUser();J&&(E=!0);if(E||_.w("DISABLE_WARM_LOADS")||this.resetWarmLoads)return _.XI(z,void 0,void 0,window.top),this.forcedColdLoadCounter&&this.forcedColdLoadCounter.increment(m||"null",this.shouldRedirect(z),_.w("DISABLE_WARM_LOADS")),_.Di(pJ(),"ABORTED"),!1;this.resetChunkState();Y6a();_.Sla("nr");p&&(_.x("web_csi_via_jspb")?(p=new aab,_.n(p,1,"an"),E=new _.Th,_.eb(E,38,p),_.ei(E)):_.Rh("nr","an"));A&&_.Rh("pnc",1);var R;a.clickTrackingParams&&(d.itct=a.clickTrackingParams,
d.csn=r);d.endpoint=JSON.stringify(a);_.u.isEmpty(d)||_.Nu(z,d);r={headers:{"X-YouTube-STS":_.w("STS"),"x-youtube-csoc":1}};e&&(r.type=e);r.method="POST";r.postParams={command:JSON.stringify(a)};this.requestCounter&&this.requestCounter.increment(m||"null");p=_.Xp(_.Wp.instance,a);!_.x("disable_miniplayer_expansion_log")&&this.isMiniplayerExpansion&&(h=Object.assign({},{layer:0},h,{parentLayer:3}));this.pendingNavigationPromise=R=p||_.x("kevlar_fetch_pbj")?_.Yp(_.Wp.instance,a,d,window.location.href,
this.getPageTypeForEndpoint(a),function(da,sa){_.x("kevlar_op_replicate_handle_navigate_part")?(_.fi("nc"+l.chunksReceived),l.chunksReceived++,l.pageChunkReceived(da,d,sa,h)):l.loadPageChunk(da,sa,d,h)},function(da){return l.isNetworkPromiseStale(da)}):_.Eg().resolve(_.Eo).requestDataForEndpoint(a,c,function(da){l.handleNavigatePart(R,a,d,da,h)},r,!!_.x("cancel_pending_navs"));
c=R.then(this.handleNavigateSuccess.bind(this,R,a,v,d),this.handleNavigateFail.bind(this,R,a));_.Qv.getInstance().navigationFinishPromise=c;b={endpoint:a,pageType:m,url:_.wh(z),reload:!!b};e&&(b.type=e);this.fire("yt-navigate-start",b);v&&this.loadPrefetchedData(a,v,d);return!0};
_.f.loadPrefetchedData=function(a,b,c){if(b=Ygb(b))_.x("kevlar_prefetched_data_set_csn_early")&&b.csn&&b.rootVe&&_.hg(b.csn,b.rootVe),this.loadPageChunk(a,b,c)};
_.f.navigateApp=function(){throw Error("dg");};
_.f.isNetworkPromiseStale=function(a){return a!=this.pendingNavigationPromise};
_.f.pageRequestFail=function(a,b,c,d){var e=this.getPageTypeForEndpoint(a);this.pageRequestFailCounter&&this.pageRequestFailCounter.increment(e||"null");a={endpoint:a,pageType:e};d&&(a.errorMessage=d);_.Rf(b);a.navigationDoneMs=_.fi("nd");a.navigationErrorReason=c;this.responsesCounter&&(c=this.get("params.error.0.code",b)||"null_error",this.responsesCounter.increment("failure",e||"null",c));this.servletResponseErrorsCounter&&(e=this.get("params.error.0.code",b)||"null_error_code",b=this.get("params.error.0.location",
b)||"null_error_location",this.servletResponseErrorsCounter.increment(e,b));this.fire("yt-navigate-error",a)};
_.f.handleNavigateFail=function(a,b,c){var d=void 0;c instanceof _.Uk&&(d=c,_.zI(c));if(this.isNetworkPromiseStale(a))return _.x("kevlar_track_mousedown_prefetch")&&_.gm(JM).resolve(!0),_.Qk(d);_.Di(pJ(),"FAILURE");this.pageRequestFail(b,c,"101");return _.Qk(c)};
_.f.handleNavigatePart=function(a,b,c,d,e){this.isNetworkPromiseStale(a)||(d.reload?window.location.reload(!0):(_.fi("nc"+this.chunksReceived),this.chunksReceived++,this.pageChunkReceived(b,c,d,e)))};
_.f.handleNavigateSuccess=function(a,b,c,d,e){if(this.isNetworkPromiseStale(a))return _.x("kevlar_track_mousedown_prefetch")&&_.gm(JM).resolve(!0),_.Mg();_.x("kevlar_track_mousedown_prefetch")&&_.gm(JM).resolve();this.pendingNavigationPromise=null;if(!e)return b=new _.ge("Missing data in response for navigation endpoint",b),_.Qk(b);if(e.reload)return window.location.reload(!0),_.Mg();c&&(a={},_.u.extend(a,Ygb(c),e),e=a);c=this.get("timing.responseStart",e);null!=c&&_.fi("srt",c);_.fi("pdc");c=this.get("timing.info",
e);if(null!=c)for(var h in c)_.Rh(h,c[h]);_.Di(pJ(),"SUCCESS");this.pageRequestFinished(b,e,1,d);return _.Mg()};
_.f.shouldRedirect=function(a){var b=a;_.x("kevlar_no_redirect_to_classic_2_ks")||(b=(new _.Jh(a)).getPath());if("/"==b||"/red"==b)return!1;var c=!0;yib.forEach(function(d){0==a.indexOf(d)&&(c=!1)});
zib.forEach(function(d){var e=d.url;_.x(d.expFlag)&&0==a.indexOf(e)&&(c=!1)});
return c};
_.f.publishPageData=function(a){this.fire("yt-page-data-fetched",{pageData:a})};
_.f.loadPageChunk=function(a,b,c,d){this.performChunkLoad(a,b,!1,!0,c,d)};
_.f.resetChunkState=function(){this.chunksReceived=0;this.JSC$39336_chunkHandler=void 0};
_.f.performChunkLoad=function(a,b,c,d,e,h){if(!this.JSC$39336_chunkHandler)if("watch"==b.page)if(d||c){if(_.x("kevlar_continue_playback_without_player_response")){var l,m;var p=null==(l=this.getCurrentEndpoint())?void 0:null==(m=l.watchEndpoint)?void 0:m.videoId}c={clientParams:{miniplayer:!1,autoSaveToQueue:!0,fromHistory:c,previousVideoId:p},tempData:e};this.JSC$39336_chunkHandler=new FM(this.playerProvider.bind(this),c,h)}else this.JSC$39336_chunkHandler=new Hgb(this.playerProvider.bind(this));
else"shorts"==b.page&&d&&!c?(c={clientParams:{miniplayer:!1,autoSaveToQueue:!1,fromHistory:!1},tempData:e},this.JSC$39336_chunkHandler=new Jgb(this.playerProvider.bind(this),c,h)):this.JSC$39336_chunkHandler=new Igb(h);this.JSC$39336_chunkHandler.processChunk({endpoint:a,data:b});return this.JSC$39336_chunkHandler.JSC$39010_playerPromiseResolver.promise};
_.f.loadPageRequest=function(a,b,c,d,e){var h=null;this.loadPageRequestCounter&&this.loadPageRequestCounter.increment(!!a.playerResponse,a.page||"null",b,c);"watch"!=a.page||c?a.filler||_.C(this,"yt-stop-old-player",[a]):h=this.performChunkLoad(d,a,b,!1,e);if(h)return h.then(this.publishPageData.bind(this,a));this.publishPageData(a);return _.Mg()};
_.f.checkNetworkResponseErrors=function(a,b){var c=null;if(!b)return c=new _.ge("Empty data",this.is,a);var d=b.response;d||(c=new _.ge("Response field missing from data",this.is,a));var e={endpointType:this.getPageTypeForEndpoint(a)||"unknown"};d.responseContext?(d=d.responseContext.errors)&&(c=new _.ge("Errors in response context",this.is,a,d,e)):c=d.error||d.errorMetadata?new _.ge("Errors in response",this.is,a,d.error,d.errorMetadata,e):new _.ge("responseContext missing",this.is,a,Object.keys(d).sort().join(","),
e);if(a=this.get("response.responseContext.webResponseContextExtensionData.webResponseContextDebugData.debugErrorMessages",b))for(b=0;b<a.length;b++);return c};
_.f.maybeFlattenErrorResponse=function(a){if(a&&a.response&&a.response.error&&a.response.error.code){var b=a.response.error.details;if(b)for(var c=0;c<b.length;c++){var d=b[c];d["@type"]&&"type.googleapis.com/youtube.api.pfiinnertube.YoutubeApiInnertube.BrowseResponse"==d["@type"]&&(delete d["@type"],a.response=d)}}};
_.f.getUserFacingErrorMessage=function(a){return this.get("response.responseContext.errors.error.0",a)};
_.f.pageChunkReceived=function(a,b,c,d){this.currentEndpoint=a;if(this.pageChunkReceivedCounter){var e=this.getPageTypeForEndpoint(a);this.pageChunkReceivedCounter.increment(this.chunksReceived,c.page||"null",e||"null")}c&&this.ensureDisplayUrlMatchesPageData(c);"watch"==c.page&&c.response&&!_.x("disable_watch_next_delay")?_.JG(_.xe,this.loadPageChunk.bind(this,a,c,b,d)):this.loadPageChunk(a,c,b,d)};
_.f.shouldDisplayUrlFromData=function(a){var b;if(!(b=!_.x("webfe_parse_debug_param_in_resolveurl_service")&&this.searchDebugUrlMatcher.test(a)))a:{a=_.sd(a);b=_.k(_.sfa);for(var c=b.next();!c.done;c=b.next())if(void 0!==a[c.value]){b=!0;break a}b=!1}return b?!0:!1};
_.f.ensureDisplayUrlMatchesPageData=function(a){if(a.url&&!a.url.startsWith("/clip")&&this.shouldDisplayUrlFromData(a.url))a.url&&!W6a(a.url)&&this.fire("yt-navigate-redirect",{url:a.url});else if(a.endpoint){var b=this.get("commandMetadata.webCommandMetadata.url",a.endpoint);b&&!W6a(b)&&this.fire("yt-navigate-redirect",{url:b});b&&a.url&&b!=a.url&&!a.url.match("playnext=1")&&new _.ge("Response url mismatch in response data",this.is,b,a.url)}};
_.f.pageRequestFinished=function(a,b,c,d,e){var h=this;this.isMiniplayerExpansion=e=void 0===e?!1:e;var l=2==c;this.currentEndpoint=a;if(this.pageRequestFinishedCounter){var m=this.getPageTypeForEndpoint(a);this.pageRequestFinishedCounter.increment(m||"null",b.page||"null",l,e)}this.numNavigations++;this.numNavigations&&(S9a.navigationCount=this.numNavigations);_.ed("NUM_NAV",this.numNavigations);this.maybeFlattenErrorResponse(b);if(m=this.checkNetworkResponseErrors(a,b))return c=this.getUserFacingErrorMessage(b),
this.pageRequestFail(a,m,"102",c),_.Qk(m);m=b.rootVe||this.get("response.responseContext.webResponseContextExtensionData.ytConfigData.rootVisualElementType",b);!l&&b&&this.ensureDisplayUrlMatchesPageData(b);var p=this.get("response.responseContext.maxAgeSeconds",b);if(!l&&!isNaN(p)){var r;_.x("kevlar_use_response_ttl_to_invalidate_cache")?r=(0,_.Yd)()+1E3*p:_.x("kevlar_always_invalidate_cache")&&(r=0);isNaN(r)||(b.expirationTime=r)}_.gm(OM).prefetchCache_.clear();l||"watch"!=b.page||"reduced"!=b.type&&
1!=c?c=this.loadPageRequest(b,l,!!e,a,d):(this.publishPageData(b),c=_.Mg());(d=_.Eg().resolve(_.Cg(_.Fo)))&&d.markDirty();d=c.then(function(){var v=h.getPageTypeForEndpoint(a);h.pageUpdateFinishCounter&&h.pageUpdateFinishCounter.increment(v||"null",b.page||"null",l.toString()||"null");var z={endpoint:a,pageType:v,fromHistory:l,response:b};z.navigationDoneMs=_.fi("nd");!l&&h.responsesCounter&&h.responsesCounter.increment("success",v||"null","null");h.fire("yt-navigate-finish",z)});
b.csn&&m&&b.clientSideGrafts&&c.then(this.attachClientSideGrafts.bind(this,b,_.eg()));return d};
_.f.attachClientSideGrafts=function(a,b){a.clientSideGrafts&&b&&a.clientSideGrafts.forEach(function(c){b&&c&&_.tv(a.csn,b,_.no(c))})};
_.f.endpointInMiniplayer=function(a){var b=_.Jg(this,"yt-get-miniplayer-component-action");return b&&b.length&&b[0]?_.x("disable_miniplayer_prevent_double_load")?(a=this.get("commandMetadata.webCommandMetadata.url",a),b=this.get("data.watchEndpoint.commandMetadata.webCommandMetadata.url",b[0]),a&&b?(a=_.wz(new _.Jh(a),"v"),b=_.wz(new _.Jh(b),"v"),a===b):!1):b[0].endpointAlreadyLoaded(a):!1};
_.f.handleSignalActionHistoryBack=function(){window.history.back()};
_.f.handleSignalActionCloseWindow=function(){window.close()};
_.f.handleSignalActionReloadPage=function(){this.reload()};
_.f.handleSignalActionSoftReloadPage=function(){this.reloadData()};
_.f.handleSignalActionResetWarmLoads=function(){this.resetWarmLoads=!0};
_.f.playerProvider=function(){return _.sv()};
_.f.isMiniplayerActive=function(){var a=_.Jg(this,"yt-miniplayer-active");return a&&a.length&&a[0]};
_.f.shouldLoadEndpointInMiniplayer=function(){return this.isMiniplayerActive()&&(_.Qv.getInstance().userActivation||_.Qv.getInstance().lockupActivation)};
_.f.hasPendingNavigation=function(){return!!this.pendingNavigationPromise};
_.f.cancelPendingNavigation=function(){this.pendingNavigationPromise&&(this.pendingNavigationPromise=null)};
var sN=Aib;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],sN.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],sN.prototype,"ytActionHandlerBehavior",void 0);sN=_.S([_.Q({is:"ytd-navigation-manager"})],sN);
var Bib;
var tN=function(){var a=_.K.apply(this,arguments)||this;a.lastCallback=null;a.getAccountLinkPromises={};a.gpgCommand=null;a.actionMap={"yt-initialize-third-party":"handleInitializeRequest","yt-account-link-command":"handleAccountLinkCommand","yt-account-unlink-command":"handleAccountUnlinkCommand","yt-create-gpg-profile-command":"handleCreateGPGProfileCommand","yt-log-account-linking-event-command":"handleLogAccountLinkingEventCommand"};return a};
_.q(tN,_.K);_.f=tN.prototype;
_.f.created=function(){var a=new gdb;a.apiKey=_.w("LINK_API_KEY");a.authUser=_.w("SESSION_INDEX")||0;a.supportedFlows=new Set([4]);var b={};if(void 0===a.supportedFlows||0===a.supportedFlows.size)throw Error("ef");b.supportedFlows=a.supportedFlows;if(void 0!==a.dataUsageNoticeConfig){if(0===a.dataUsageNoticeConfig.enabledDataUsageNoticeUis.size)throw Error("ff");if(!a.dataUsageNoticeConfig.uiAdapter)throw Error("gf");b.dataUsageNoticeConfig=a.dataUsageNoticeConfig}if(void 0!==a.apiKey)b.apiKey=a.apiKey,
b.alsDomain=a.alsDomain1p;else{if(void 0===a.oauthToken)throw Error("hf");b.oauthToken=a.oauthToken;b.alsDomain=a.alsDomain3p}b.clientXd3=a.clientXd3;b.accountLinkingEntryPoint=a.accountLinkingEntryPoint;void 0!==a.authUser&&(b.authUser=a.authUser);void 0!==a.bucket&&(b.bucket=a.bucket);void 0!==a.completionUrl&&(b.completionUrl=a.completionUrl);void 0!==a.interactionMode&&(b.interactionMode=a.interactionMode);void 0!==a.redirectServiceUrl&&(b.redirectServiceUrl=a.redirectServiceUrl);b.loggerType=
a.loggerType;b.clientEnvironment=a.clientEnvironment;this.galConfig=b};
_.f.handleInitializeRequest=function(a){var b=s8a(this.galConfig);this.getAccountLinkPromises[a]=b.startLinkingSession({serviceId:a})};
_.f.handleAccountLinkCommand=function(a){a.accountLinkCommand&&this.handleLinkRequest(a.accountLinkCommand)};
_.f.handleLinkRequest=function(a){var b=this,c=a.thirdPartyId;if(c){var d=function(){b.closeAndFire("ytd-gaming-account-link-setting-renderer",a.onFailureCommand)},e=function(){b.closeAndFire("ytd-gaming-account-link-setting-renderer",a.onSuccessCommand)};
this.lastCallback=e;this.getAccountLinkPromises[c].then(function(h){ydb(h).then(function(l){1===l.statusCode?e():d()})}).catch(function(){d()})}};
_.f.closeAndFire=function(a,b){_.C(this,"yt-close-popup-action",[a]);b&&_.vv([b],this)};
_.f.handleAccountUnlinkCommand=function(a){a.accountUnlinkCommand&&this.handleUnlinkRequest(a.accountUnlinkCommand)};
_.f.handleUnlinkRequest=function(a){var b=this,c=a.thirdPartyId;if(c){var d=function(){b.closeAndFire("ytd-gaming-account-link-confirm-dialog-renderer",a.onFailureCommand)},e=function(){b.closeAndFire("ytd-gaming-account-link-confirm-dialog-renderer",a.onSuccessCommand)};
this.lastCallback=e;var h=s8a(this.galConfig);this.unlinkUserGal(h,c).then(function(l){1===l.statusCode?e():d()}).catch(function(){d()})}};
_.f.unlinkUserGal=function(a,b){return a.deleteLink(b)};
_.f.handleCreateGPGProfileCommand=function(a){var b=this;if(this.gpgCommand=a.createGpgProfileCommand)a=_.ZE(this.gpgCommand.url+"&source=web",window.self,"_blank",["left="+(screen.availWidth-500)/2,"top="+(screen.availHeight-700)/2,"width=500,height=700"].join()),null!=a&&Ubb({destination:window,source:a,origin:this.gpgCommand.url?(new URL(this.gpgCommand.url)).origin:"",channelName:"gpg_profile_creation",onMessage:function(c){var d,e;if("success"===c.data&&(null==(d=b.gpgCommand)?0:null==(e=d.onSuccess)?
0:e.commands))_.vv(b.gpgCommand.onSuccess.commands,b);else{var h,l;if("error"===c.data&&(null==(h=b.gpgCommand)?0:null==(l=h.onFailure)?0:l.commands))_.vv(b.gpgCommand.onFailure.commands,b);else{var m,p;(null==(m=b.gpgCommand)?0:null==(p=m.onCancel)?0:p.commands)&&_.vv(b.gpgCommand.onCancel.commands,b)}}}})};
_.f.handleLogAccountLinkingEventCommand=function(a){_.x("enable_gel_log_commands")&&a.logAccountLinkingEventCommand&&(a=a.logAccountLinkingEventCommand.event)&&_.Kf("gamingAccountLinkStatusChanged",a)};
_.t.Object.defineProperties(tN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Bib){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-third-party-manager--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);Bib=a}a=Bib;return a}}});
var uN=tN;_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],uN.prototype,"ytOpenPopupBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],uN.prototype,"ytActionHandlerBehavior",void 0);uN=_.S([_.Q({asyncProperties:!0,is:"ytd-third-party-manager"})],uN);
var Cib;
var Dib;
var vN=function(){var a=_.K.apply(this,arguments)||this;a.useContentVisibility=_.x("kevlar_content_visibility_hidden");a.pageNameToElement=new Map;a.JSC$39363_currentPage=void 0;a.renderLoadingStateJobId=0;a.updatePageDataJobId=0;a.pageDisposeJobsets=new WeakMap;a.actionMap={"yt-start-loading-watch":"startLoadingWatch","yt-get-page-offset":"getPageOffset","yt-set-page-offset":"setPageOffset","yt-pause-active-page-context":"pauseActiveContext","yt-prepare-page-dispose":"preparePageDispose","yt-stop-old-player":"onYtStopOldPlayer"};
a.TEST_ONLY={resetCurrentPage:function(){a.JSC$39363_currentPage=void 0},
setCurrentPage:function(b){a.JSC$39363_currentPage=b},
resetPageDisposeJobsets:function(){a.pageDisposeJobsets=new WeakMap},
maybeInitPageLifecycle:function(){a.maybeInitPageLifecycle()}};
return a};
_.q(vN,_.K);_.f=vN.prototype;_.f.factoryImpl=function(){};
_.f.ready=function(){_.Eg().addProvider({provide:_.Co,useValue:this})};
_.f.created=function(){this.elementPoolPopulator=_.So.getInstance();this.contextSwitcher=new Ogb;this.maybeInitPageLifecycle()};
_.f.maybeInitPageLifecycle=function(){if(this.JSC$39363_pageLifecycle=_.Eg().resolve(_.Cg(_.KDa))){var a={};this.JSC$39363_pageLifecycle.install((a.page_preparing={callback:this.preparePageCb.bind(this)},a))}};
_.f.preparePageCb=function(a){var b=this,c;this.updatePageData(null==(c=a.responseEnvelope)?void 0:c.response).then(function(){b.JSC$39363_pageLifecycle.transition("page_loading",a)})};
_.f.attached=function(){this.fire("attached");var a=_.Eg().resolve(_.Cg(_.Eo));a&&(this.contextSwitcher.JSC$39052_networkService_=a)};
_.f.getPageOffset=function(a){return a.getScrollTop()};
_.f.setPageOffset=function(a,b){try{a.setScrollTop(b)}catch(c){}};
_.f.setPageOffsetForNavigation=function(a,b){this.fire("yt-navigate-set-page-offset",{page:a,offset:void 0===b?0:b})};
_.f.getPageSubTypeFromEndpoint=function(a){var b;(a=this.get("commandMetadata.webCommandMetadata.url",a))&&(b=J7a(a));return b};
_.f.getPageTypeFromData=function(a){if(!a)return"browse";var b=a.page,c=a.url,d=this.get("response.responseContext.webResponseContextExtensionData.pageTheme",a);d?b=d.toLowerCase().replace(/_/g,"-"):"watch"!==b&&(("browse"===b||"settings"===b)&&this.get("response.sidebar",a)&&this.get("response.sidebar.settingsSidebarRenderer",a)?b="WEB_PAGE_TYPE_SETTINGS":"browse"===b&&this.get("response.metadata.channelMetadataRenderer",a)?b="channel":c&&(b=J7a(c)||b));return b};
_.f.doesWatchPageHavePlaylist=function(a){var b=!!_.Sx().queueProxy;a=!!this.get("response.currentVideoEndpoint.watchEndpoint.playlistId",a);return b||a};
_.f.pauseActiveContext=function(){var a=this.contextSwitcher;a.activeContext_&&a.activeContext_.pause()};
_.f.getModuleNameForType=function(a){return"watch"===a?_.x("kevlar_watch_fixie")?"watchFixie":"watchFlexy":"shorts"===a||"search"===a?a:"browse"};
_.f.getPageElementForType=function(a){var b=this.pageNameToElement.get(a);if(!b){switch(a){case "watch":var c=_.x("kevlar_watch_fixie")?_.Hu("ytd-watch-fixie"):_.Hu("ytd-watch-flexy");break;case "shorts":c=_.Hu("ytd-shorts");break;case "search":c=_.Hu("ytd-search",this);break;case "channel":c=_.Hu("ytd-browse",this);c.pageSubtype="channels";break;case "trending":c=_.Hu("ytd-browse",this);c.pageSubtype="trending";break;case "playlist":case "standalone":case "home":case "explore":case "sports":case "red":case "WEB_PAGE_TYPE_SETTINGS":case "history":case "labs":case "subscriptions":case "filteredsubscriptions":case "memberships-and-purchases":case "ypc-offers":case "ypc-checkout":case "fashion":case "hashtag-landing-page":case "show":c=
_.Hu("ytd-browse",this);c.pageSubtype=a;break;case "browse":c=_.Hu("ytd-browse",this);break;default:_.Rf(new _.ge("Error getting page element for type",a))}b=c;this.pageNameToElement.set(a,b)}return b};
_.f.attachPage=function(a){if(!a.isAttached)try{_.H(this.root).appendChild(a)}catch(b){_.Rf(new _.ge("Error attaching page element for component",{origin:this.JSC$39363_currentPage.is,component:a.is}))}};
_.f.setActivePage=function(a){var b=this.JSC$39363_currentPage;a?a!=this.JSC$39363_currentPage&&(b&&(b.hidden=!0,b.active=!1,b.removeAttribute("role")),this.JSC$39363_currentPage=a,b&&this.fire("yt-page-type-changed",{oldPageType:b.is,newPageType:a.is}),a.hidden=!1,this.attachPage(a),a.active=!0,a.setAttribute("role","main"),b&&"ytd-shorts"!==b.is&&this.setPageOffsetForNavigation(a,0)):_.Qf(new _.ge("Unable to set active page",b?b.is:"unknown origin"))};
_.f.updatePageData=function(a){var b=this,c=this.data;this.updatePageDataJobId&&_.xe.cancelJob(this.updatePageDataJobId);this.data=a;return new _.wf(function(d){var e=function(){a.filler?b.performDataUpdate(a,c):Bab(function(){b.performDataUpdate(a,c)});
d()},h=function(){a&&"watch"===a.page?b.updatePageDataJobId=_.we(_.xe,e):e()};
if(_.x("kevlar_enable_mss_page_modules_client")&&a){var l=_.Eg().resolve(_.Ii),m=b.getModuleNameForType(a.page);(l=_.Gu(l,[m]))?l.then(h):h()}else h()})};
_.f.performDataUpdate=function(a,b){_.C(this,"yt-close-all-popups-action",[["ytd-conversation-section-renderer","ytd-video-download-toast-renderer"]]);var c=!a.filler;c&&(_.fi("lps"),_.x("config_age_report_killswitch")||H9a());var d=this.getPageTypeFromData(a),e=this.getPageElementForType(d);c&&kab(this.elementPoolPopulator,d);c&&!this.renderLoadingStateJobId&&this.setActivePage(e);if(e){var h="watch"===d,l="shorts"===d;_.x("kevlar_flush_jobs_before_setting_player_response")&&this.flushPageDisposeJobset(e);
if(h||l)e.playerData=a.playerResponse;if(l){a.reelWatchSequenceResponse&&(e.reelWatchSequenceResponse=a.reelWatchSequenceResponse);e.currentEndpoint=a.endpoint;var m;e.isPreviousPageShorts=!!(null==b?0:null==(m=b.endpoint)?0:m.reelWatchEndpoint)}_.x("block_all_player_prefetch_requests")||this.preparePrefetchRequest(a,e,c,h,l);_.x("kevlar_miniplayer_navigate_to_shorts_killswitch")?h||l?("watch"!==this.getPageTypeFromData(b)&&"shorts"!==this.getPageTypeFromData(b)&&_.C(this,"yt-cache-miniplayer-page-action",
[b]),_.C(this,"yt-deactivate-miniplayer-action")):"watch"===this.getPageTypeFromData(b)&&this.doesWatchPageHavePlaylist(b)&&(_.Qv.getInstance().playlistWatchPageActivation=!0,this.activateMiniplayer(b)):h?("watch"!==this.getPageTypeFromData(b)&&_.C(this,"yt-cache-miniplayer-page-action",[b]),_.C(this,"yt-deactivate-miniplayer-action")):l?_.C(this,"yt-pause-miniplayer-action"):"watch"===this.getPageTypeFromData(b)&&this.doesWatchPageHavePlaylist(b)&&(_.Qv.getInstance().playlistWatchPageActivation=
!0,this.activateMiniplayer(b));_.oHa(_.Eg().resolve(_.zo));_.x("kevlar_flush_jobs_before_setting_player_response")||this.flushPageDisposeJobset(e);c?(b=typeof e.loadPage,"function"===b?(e.pageContext=Pgb(this.contextSwitcher,e,e.data!=a.response),e.loadPage(a.response)):_.Qf(new _.ge("b/38014653 ",[d,e.is,e.nodeName,b])),_.fi("pdl")):(e.hidden=!0,a.response.filler=!0,e.data=a.response,this.attachPage(e));this.fire("yt-page-data-updated",{pageType:d})}_.Jn(_.xe,function(){if(_.x("kevlar_nitrate_driven_tooltips")){var p=
thb();if(a){var r=u9a(a),v=v9a(a),z;a:{if(a.playerResponse){var A=a.playerResponse,D;if(null==(z=A.auxiliaryUi)?0:null==(D=z.messageRenderers)?0:D.upsellDialogRenderer){z=A.auxiliaryUi.messageRenderers.upsellDialogRenderer;break a}}else if(a.response&&(z=a.response,null==(A=z.overlay)?0:A.upsellDialogRenderer)){z=z.overlay.upsellDialogRenderer;break a}z=void 0}shb(p,r,v,z,e)}}else q9a(a,e)})};
_.f.preparePrefetchRequest=function(a,b,c,d,e){var h=this,l,m,p,r,v,z,A,D;return _.y(function(E){if(1==E.nextAddress)return!c||!d&&!e||_.x("kevlar_disable_background_prefetch")&&0===_.Du()?E.return():(l=_.rv(b))?_.B(E,l.getPlayerPromise(),2):E.return();m=E.yieldResult;p=_.Eg().resolve(_.Cg(_.Eo));if(!p)return E.return();if(e)return r=_.gm(OM),khb(r,h.get("endpoint.reelWatchEndpoint",a),b.reelWatchSequenceResponse,m,p),E.return();v=h.get("response.responseContext.webResponseContextExtensionData",a);
if(!v)return E.return();z=h.get("response.contents.twoColumnWatchNextResults.autoplay.autoplay",a);A=_.Eg().resolve(_.Go);D=_.gm(OM);jhb(D,v,m,p,A,z);_.bf(E)})};
_.f.movePlayerToWatch=function(a){var b=this,c,d;return _.y(function(e){c=b.getPageElementForType("watch");d=c.getPlayerContainer();a.appendTo(d);_.bf(e)})};
_.f.getPlayerFromWatch=function(){var a=this.getPageElementForType("watch");return _.rv(a)};
_.f.activateMiniplayer=function(a){var b=_.HG(a.response),c=_.rv(this.getPageElementForType("watch"));_.Qv.getInstance().currentEndpoint=b.watchEndpoint||null;_.C(this,"yt-activate-miniplayer-action",[c,b,a])};
_.f.startLoadingWatch=function(){var a=this.getPageElementForType("watch");this.renderLoadingStateJobId?(_.xe.cancelJob(this.renderLoadingStateJobId),this.renderLoadingStateJobId=0,this.renderPageLoadingState("watch")):this.setActivePage(a)};
_.f.getCurrentPage=function(){return this.JSC$39363_currentPage};
_.f.getCurrentData=function(){return this.data};
_.f.isOnWatch=function(){return!!this.JSC$39363_currentPage&&("ytd-watch-flexy"===this.JSC$39363_currentPage.is||"ytd-watch-fixie"===this.JSC$39363_currentPage.is)};
_.f.preparePage=function(a,b){var c=this,d=function(){b&&(a=c.getPageSubTypeFromEndpoint(b)||a);if("watch"!==a){var l=c.elementPoolPopulator,m=a;m!=l.targetPage_&&-1<l.pendingPages_.indexOf(m)&&(l.targetPage_&&(l.pendingPages_.unshift(l.targetPage_),l.abort()),jab(l,m),_.Yza(l,m))}if((l=c.getPageElementForType(a))||!b.urlEndpoint)l.isAttached||l==c.JSC$39363_currentPage||(l.hidden=!0,c.attachPage(l)),!l.data&&(m=c.get("response",_.w("FILLER_DATA",{})[a]))&&(l.data=m),l.fire("yt-page-navigate-start",
{bubbles:!1,_useCache:!0})},e=function(l){_.Sf(l,b);
_.Rf(l)};
if(_.x("kevlar_enable_mss_page_modules_client")){var h=this.getModuleNameForType(a);if(h=_.Gu(_.Eg().resolve(_.Ii),[h])){h.then(d.bind(this)).catch(e.bind(this));return}}try{d()}catch(l){e(l)}};
_.f.lazyPrepareCriticalPages=function(a,b){a=this.getPageSubTypeFromEndpoint(b)||a;_.x("kevlar_enable_mss_page_modules_client")?this.downloadPageModules(a).then(this.maybePrepareWatchPage.bind(this,a)):this.maybePrepareWatchPage(a)};
_.f.maybePrepareWatchPage=function(a){"watch"!==a&&_.Jn(_.xe,this.preparePage.bind(this,"watch"))};
_.f.downloadPageModules=function(a){a=this.getModuleNameForType(a);var b=new Set(["browse","search","shorts",this.getModuleNameForType("watch")]);b.delete(a);var c=_.Eg().resolve(_.Ii);c.JSC$35934_loadModules(a);return c.JSC$35934_loadModules.apply(c,_.sc(b))};
_.f.renderPageLoadingState=function(a,b){this.preparePage(a,b);var c=this.getPageElementForType(a);c.loadingData&&(c.loadingData.endpoint=b);c.loading=!0;this.setActivePage(c);"watch"===a&&this.fire("yt-guide-close")};
_.f.onYtPageManagerNavigateStart=function(a,b){var c=this;_.x("kevlar_use_page_data_will_update")&&this.JSC$39363_currentPage&&b&&this.data&&(a=this.getPageSubTypeFromEndpoint(b.endpoint)||b.pageType,this.getPageTypeFromData(this.data)==a&&this.JSC$39363_currentPage.fire("yt-page-data-will-update",{bubbles:!1}));if("watch"===b.pageType&&this.data&&"watch"!==this.data.page){this.renderLoadingStateJobId&&_.xe.cancelJob(this.renderLoadingStateJobId);_.x("kevlar_miniplayer_jank_killswitch")||_.C(this,
"yt-deactivate-miniplayer-action");var d=this.data;this.renderLoadingStateJobId=_.JG(_.xe,function(){if(c.data!=d){var e=c.getPageElementForType(b.pageType);c.setActivePage(e)}else c.renderPageLoadingState(b.pageType,b.endpoint);c.renderLoadingStateJobId=0},150)}};
_.f.preparePageDispose=function(){if(this.JSC$39363_currentPage&&Array.isArray(this.JSC$39363_currentPage.pageDisposeJobs)&&0!==this.JSC$39363_currentPage.pageDisposeJobs.length){var a=new _.Ju(1);this.JSC$39363_currentPage.pageDisposeJobs.forEach(function(b){_.Ku(a,b)});
this.pageDisposeJobsets.set(this.JSC$39363_currentPage,a)}};
_.f.flushPageDisposeJobset=function(a){var b=this.pageDisposeJobsets.get(a);b&&(b.flushJobs(),this.pageDisposeJobsets.delete(a))};
_.f.onYtStopOldPlayer=function(a,b){b=void 0===b?!1:b;if(this.data){var c=this.getPageTypeFromData(this.data);var d=this.getPageElementForType(c);d=_.rv(d)}if(d){a=this.getPageTypeFromData(a);var e=this.getPageElementForType(a);e=_.rv(e);d==e?b&&!_.x("kevlar_disable_preemptive_player_reset")&&d.resetForNewPlayback():("watch"!==c||"watch"===a||Cab()&&!this.doesWatchPageHavePlaylist(this.data))&&d.stop()}};
_.t.Object.defineProperties(vN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Dib){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-page-manager--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.pages.ytd_page_manager.ytd.page.manager.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;
if(void 0===Cib){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.pages.ytd_page_manager.ytd.page.manager.css.js--\x3e<style>:host {display: block;overflow-y: auto;margin-top: var(--ytd-toolbar-height);} :host([remove-page-manager-scroll]) {overflow-y: visible;overflow: visible;} :host>* {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} @supports(content-visibility:hidden) {:host([use-content-visibility])>* {contain: style layout paint;}:host([use-content-visibility])>[hidden] {content-visibility: hidden;display: inherit!important;border: 0;margin: 0;padding: 0;}} /*# sourceMappingURL=ytd-page-manager.css.map*/</style>";
Cib=d}d=Cib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Dib=a}a=Dib;return a}}});
var wN=vN;wN.prototype.onYtPageManagerNavigateStart=wN.prototype.onYtPageManagerNavigateStart;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],wN.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],wN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],wN.prototype,"useContentVisibility",void 0);
_.S([_.O("yt-page-manager-navigate-start"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],wN.prototype,"onYtPageManagerNavigateStart",null);wN=_.S([_.Q({asyncProperties:!0,is:"ytd-page-manager"})],wN);
var Eib=_.oo(115990),Fib=_.oo(115991),Gib=_.oo(115992),Hib=function(a,b,c,d){var e=this,h=d.dismissAction,l=d.expandAction,m=d.playlistResizeAction;this.layer=3;this.miniplayerVideoConfig={startPosition:385,draggingClass:"gesture-dragging",startAction:function(){e.startAction()},
resetAction:function(){e.resetAction()},
triggers:{down:{fade:!0,endOpacity:.3,endPosition:485,threshold:50,triggerAction:function(){e.dismissAction()},
moveAction:function(r){e.moveAction(r)}},
up:{endPosition:285,threshold:50,triggerAction:function(){e.expandAction()}}}};
this.miniplayerPlaylistConfig={startPosition:385,draggingClass:"gesture-dragging",startAction:function(){e.startAction()},
resetAction:function(){e.resetAction()},
triggers:{down:{endPosition:485,endOpacity:.3,threshold:50,fade:!0,triggerAction:function(){e.dismissAction()},
moveAction:function(r){e.moveAction(r)}},
up:{endPosition:100,threshold:50,triggerAction:function(){e.gesture.config=e.miniplayerPlaylistExpandedConfig;e.playlistResizeAction()}}}};
this.miniplayerPlaylistExpandedConfig={startPosition:100,draggingClass:"gesture-dragging",triggers:{down:{endPosition:385,threshold:50,triggerAction:function(){e.gesture.config=e.miniplayerPlaylistConfig;e.playlistResizeAction()}},
up:{endPosition:0,threshold:50,triggerAction:function(){e.expandAction()}}}};
if(_.x("kevlar_touch_gesture_ves")){var p=_.vp();_.DE(p,Eib,this.layer);_.DE(p,Fib,this.layer);_.DE(p,Gib,this.layer);this.dismissAction=function(){h();_.Ou(p,{visualElement:Eib})};
this.expandAction=function(){l();_.Ou(p,{visualElement:Fib})};
this.playlistResizeAction=function(){m();_.Ou(p,{visualElement:Gib})}}else this.dismissAction=h,this.expandAction=l,this.playlistResizeAction=m;
this.gesture=new _.lI(a,b,c?this.miniplayerPlaylistConfig:this.miniplayerVideoConfig);this.gesture.attach()};
_.f=Hib.prototype;_.f.setPlayer=function(a){this.player=a};
_.f.detach=function(){this.gesture.detach()};
_.f.update=function(a,b){this.gesture.config=a?b?this.miniplayerPlaylistExpandedConfig:this.miniplayerPlaylistConfig:this.miniplayerVideoConfig};
_.f.startAction=function(){this.player&&(this.volume=this.player.getVolume())};
_.f.resetAction=function(){this.player&&this.volume&&this.player.setVolume(this.volume)};
_.f.moveAction=function(a){this.player&&this.volume&&this.player.setVolume(this.volume*(-.9*a+1))};
var Iib;
var Jib;
var Kib;
var Lib;
var xN=function(){var a=_.K.apply(this,arguments)||this;a.duration=2500;return a};
_.q(xN,_.K);_.f=xN.prototype;_.f.configureRendererStamper=function(){return{button:{id:"button",mapping:{buttonRenderer:{component:"ytd-button-renderer",noInjection:!0}}}}};
_.f.created=function(){_.xB.requestAvailability()};
_.f.ready=function(){var a=this;_.x("kevlar_frontend_video_list_undo")&&this.addEventListener("yt-service-request-sent",function(b){a.onServiceRequestSent(b)})};
_.f.open=function(a,b){this.data=a;this.label=b;this.opened=!0;this.closed=!1;this.fire("iron-announce",{text:this.label+" "+this.componentBehavior.getSimpleString(a.title)});this.async(this.close,this.duration)};
_.f.close=function(){this.closed=!0};
_.f.onServiceRequestSent=function(a){if(a=a.detail.actions)for(var b=0;b<a.length;b++){var c=a[b];c&&"ACTION_REMOVE_VIDEO_BY_VIDEO_ID"===c.action&&c.removedVideoId&&this.handleRemoveFromPlaylistCommand(c.removedVideoId)}};
_.f.handleRemoveFromPlaylistCommand=function(a){_.dNa(_.Sx(),a)};
_.t.Object.defineProperties(xN.prototype,{button:{configurable:!0,enumerable:!0,get:function(){if(this.data&&_.x("kevlar_frontend_video_list_undo"))return{buttonRenderer:{text:_.Mu(_.Bg("UNDO",void 0,"Undo")),style:"STYLE_BLUE_TEXT",serviceEndpoint:{playlistEditEndpoint:{actions:[{action:"ACTION_REMOVE_VIDEO_BY_VIDEO_ID",removedVideoId:this.data.videoId}]}}}}}}});
_.t.Object.defineProperties(xN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Lib){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-miniplayer-toast--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.components.playlists.ytd_miniplayer_toast.ytd.miniplayer.toast.css.js--\x3e<ytd-thumbnail data="[[data]]" width="78"></ytd-thumbnail>\n<div id="info">\n  <div id="label">[[label]]</div>\n  <div id="title">[[getSimpleString(data.title)]]</div>\n</div>\n<div id="button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Kib){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.components.playlists.ytd_miniplayer_toast.ytd.miniplayer.toast.css.js--\x3e<style>:host {background-color: var(--yt-spec-call-to-action);opacity: 0;-webkit-transform: translateY(0);transform: translateY(0);} :host([opened]) {padding: 10px 16px;opacity: 1;-webkit-transform: translateY(-100px);transform: translateY(-100px);background-color: var(--yt-spec-brand-background-solid);animation-name: animate-up,color-surge;animation-duration: 0.5s,0.4s;animation-delay: 0s,0.1s;animation-timing-function: cubic-bezier(0.05,0,0,1),cubic-bezier(0.2,0,0,0.4);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([closed]) {animation-name: animate-down;animation-duration: 0.3s;opacity: 1;-webkit-transform: translateY(0);transform: translateY(0);} @keyframes animate-up {from {-webkit-transform: translateY(0);transform: translateY(0);}to {-webkit-transform: translateY(-100px);transform: translateY(-100px);}} @keyframes animate-down {from {-webkit-transform: translateY(-100px);transform: translateY(-100px);}to {-webkit-transform: translateY(0);transform: translateY(0);}} @keyframes color-surge {from {background-color: var(--yt-spec-call-to-action);}to {background-color: var(--yt-spec-brand-background-solid);}} ytd-thumbnail {width: 78px;height: 44px;margin-right: 8px;} #info {min-width: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #label {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #title {color: var(--yt-spec-text-primary);text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} /*# sourceMappingURL=ytd-miniplayer-toast.css.map*/</style>';
Kib=d}d=Kib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Lib=a}a=Lib;return a}}});
var yN=xN;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],yN.prototype,"componentBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],yN.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],yN.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],yN.prototype,"label",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],yN.prototype,"opened",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],yN.prototype,"closed",void 0);_.S([_.N(),_.T("design:type",Object)],yN.prototype,"duration",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],yN.prototype,"button",null);yN=_.S([_.Q({asyncProperties:!0,is:"ytd-miniplayer-toast"})],yN);
var zN=function(){var a=_.K.apply(this,arguments)||this;a.active=!1;a.hasNoData=!1;a.enabled=!1;a.expanded=!1;a.disabledState=!1;a.externalPlaylistData_={};a.hasPlaylistData=!1;a.animateMiniplayer=_.x("desktop_animate_miniplayer");a.useNewZIndex=_.x("web_inline_player_ignore_paused_miniplayer");a.closed=!1;a.expandedClosed=!1;a.watchResponse_=null;a.player_=null;a.expandVe_=null;a.closeVe_=null;a.disabledInitialStateIsPlaying_=!1;a.PLAYER_EVENTS_=new Map;a.miniplayerFetchRequest_=null;a.playerElement_=
null;a.gestures_=null;a.screenLayer=3;a.actionMap={"yt-activate-miniplayer-action":"activate_","yt-activate-with-endpoint-action":"activateAndLoadEndpoint","yt-cache-miniplayer-page-action":"onCacheMiniplayerPageAction_","yt-shortcut-close-miniplayer":"onShortcutCloseMiniplayer_","yt-close-miniplayer-action":"onCloseMiniplayer","yt-collapse-miniplayer-action":"onYtCollapseMiniplayerAction_","yt-deactivate-miniplayer-action":"deactivate_","yt-pause-miniplayer-action":"pause","yt-expand-watch-page-action":"handleExpandWatchPageAction_",
"yt-get-miniplayer-component-action":"getMiniplayerComponent_","yt-miniplayer-active":"isMiniplayerActive_","yt-miniplayer-load-endpoint":"loadEndpoint_","yt-sync-with-remote-video":"syncWithRemoteVideo_","yt-miniplayer-toast-action":"handleMiniplayerToastAction_","yt-miniplayer-update-header-action":"updateHeader_","yt-show-miniplayer-command":"showMiniplayerCommand","yt-downloaded-video-deleted":"onDownloadedVideoDeleted"};return a};
_.q(zN,_.K);_.f=zN.prototype;_.f.created=function(){this.PLAYER_EVENTS_.set("onPlayVideo",this.onPlayerPlayVideo_);this.PLAYER_EVENTS_.set("onCloseMiniplayer",this.onPlayerCloseMiniplayer_);this.PLAYER_EVENTS_.set("onExpandMiniplayer",this.handleExpandWatchPageAction_);_.x("kevlar_thumbnail_equalizer_killswitch")||this.PLAYER_EVENTS_.set("onStateChange",this.onPlayerStateChange)};
_.f.attached=function(){var a=this;if(this.animateMiniplayer){var b=_.H(this.root).querySelector("#video-container");this.gestures_=new Hib(this,b,this.hasPlaylistData,{dismissAction:function(){a.onCloseMiniplayer()},
expandAction:function(){a.onMetadataTap_()},
playlistResizeAction:function(){a.playlistExpand_()}})}};
_.f.detached=function(){this.unlisten(this,"transitionend","resizePlaylist_");this.gestures_&&(this.gestures_.detach(),this.gestures_=null)};
_.f.hasPlaylistDataChanged=function(){this.gestures_&&this.gestures_.update(this.hasPlaylistData,this.expanded)};
_.f.activeChanged=function(){void 0!==this.active&&this.ytdReduxBehavior.dispatch(_.Rg({type:"SET_MINIPLAYER_IS_ACTIVE",payload:this.active}))};
_.f.onCacheMiniplayerPageAction_=function(a){this.backgroundPageData_=a};
_.f.onYtCollapseMiniplayerAction_=function(){this.backgroundPageData_?this.fire("yt-navigate-cache",{url:this.backgroundPageData_.url,endpoint:this.backgroundPageData_.endpoint,data:this.backgroundPageData_}):_.C(this,"yt-navigate-home-action");if(!_.x("kevlar_thumbnail_equalizer_killswitch")&&this.player_){var a=this.player_.getPlayerState(),b=1===a;this.ytdReduxBehavior.dispatch(ubb(a));_.Jg(this,"yt-miniplayer-play-state-changed",[b]);_.Qv.getInstance().isVideoPlaying=b}};
_.f.activate_=function(a,b,c){var d=this,e,h,l;return _.y(function(m){if(1==m.nextAddress){d.gestures_&&d.gestures_.update(d.hasPlaylistData,d.expanded);if(Cab())return m.return();c&&(d.hasNoData=!1);d.enabled||(d.enabled=!0);d.active=!0;d.expanded=!1;d.data=b;d.closed=!1;d.closedByPan_=!1;d.pannedClosed=!1;d.expandedClosed=!1;d.expandToWatch=!1;d.watchResponse_=c;d.playerElement_=a;a.preparePlayer();Ibb();d.logMiniplayer_();h=e=_.Eg().resolve(_.Go);e.setPlaylistComponent(d.$.playlist);d.listen(h,
"yt-navigate","onPlaylistYtNavigate_");d.listen(h,"yt-playlist-data-updated","onYtPlaylistDataUpdated_");d.onYtPlaylistDataUpdated_();a.appendTo(d.$["player-container"]);return _.B(m,a.getPlayerPromise(),2)}l=m.yieldResult;l.setMinimized(!0);l.setSizeStyle(!1,!0);d.ytPlayerListenerBehavior.listenToPlayerEvents(l,d.PLAYER_EVENTS_);d.player_=l;d.gestures_&&d.gestures_.setPlayer(l);_.Qv.getInstance().playerContainer=d.$["player-container"];_.Jg(d,"yt-miniplayer-endpoint-changed");d.handleMiniplayerPlaybackState_();
_.bf(m)})};
_.f.deactivate_=function(){var a=this,b,c,d,e,h;return _.y(function(l){if(1==l.nextAddress){if(!a.active)return l.return();a.expandToWatch||(a.expanded?a.expandedClosed=!0:a.closed=!0);b=a.getPlayerElement();return _.B(l,b.getPlayerPromise(),2)}if(3!=l.nextAddress)return c=l.yieldResult,c.setMinimized(!1),e=d=_.Eg().resolve(_.Go),a.unlisten(e,"yt-navigate","onPlaylistYtNavigate_"),a.unlisten(e,"yt-playlist-data-updated","onYtPlaylistDataUpdated_"),h=_.Eg().resolve(_.Co),_.B(l,h.movePlayerToWatch(b),
3);a.active=!1;a.data=void 0;a.watchResponse_=null;a.player_&&a.ytPlayerListenerBehavior.unlistenFromPlayerEvents(a.player_,a.PLAYER_EVENTS_);_.Qv.getInstance().currentEndpoint=null;_.Jg(a,"yt-miniplayer-endpoint-changed");a.playerElement_=null;_.Qv.getInstance().playerContainer=null;a.disabledState=!1;Ibb();_.bf(l)})};
_.f.getPlayerElement=function(){return this.playerElement_?this.playerElement_:this.$["player-container"].firstElementChild};
_.f.handleExpandWatchPageAction_=function(){this.onMetadataTap_()};
_.f.onMetadataTap_=function(){this.watchResponse_&&this.data&&this.data.watchEndpoint?(this.expandVe_&&_.pt(_.fg(this.screenLayer),this.expandVe_),this.fire("yt-navigate-cache",{url:this.watchResponse_.url,endpoint:this.data.watchEndpoint,data:this.watchResponse_,miniplayer:!0})):this.data&&this.data.watchEndpoint&&this.fire("yt-navigate",{endpoint:this.data.watchEndpoint});this.expandToWatch=!0};
_.f.onMetadataKeydown_=function(a){if(13===a.keyCode||32===a.keyCode)this.onMetadataTap_()};
_.f.onDisabledTap_=function(a){a.target===this.$["blocking-container"]&&(this.disabledInitialStateIsPlaying_&&this.player_.playVideo(),this.onMetadataTap_(),this.disabledState=!1)};
_.f.onPlaylistExpandTap_=function(a){if(this.hasPlaylistData){a=_.H(a).path||[];a=_.k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(b===this)break;if(b.classList&&b.classList.contains("miniplayer-title"))return}this.playlistExpand_();this.gestures_&&this.gestures_.update(this.hasPlaylistData,this.expanded)}};
_.f.playlistExpand_=function(){this.expanded||(this.listen(this,"transitionend","resizePlaylist_"),this.ytRendererBehavior.markDirty());this.expanded=!this.expanded};
_.f.resizePlaylist_=function(){var a=this.$.playlist.querySelector("tp-yt-iron-list");a&&a.notifyResize();this.unlisten(this,"transitionend","resizePlaylist_")};
_.f.getExpandIcon_=function(a){return a?"miniplayer:keyboard-arrow-down":"miniplayer:keyboard-arrow-up"};
_.f.syncWithRemoteVideo_=function(a,b){var c=this,d,e,h,l,m;return _.y(function(p){if(1==p.nextAddress){d=_.Eg().resolve(_.Co);if(!c.active&&d.isOnWatch())return p.return();e={videoId:a};b&&(e.playlistId=b);h={watchEndpoint:e};l=_.Eg().resolve(_.Eo);c.cancelActiveRequest_();c.miniplayerFetchRequest_=l.requestDataForEndpoint(h,{},void 0,{},!0);_.se(p,2);return _.B(p,c.miniplayerFetchRequest_,4)}if(2!=p.nextAddress)return m=p.yieldResult,c.handleWatchDataResponse_(m),_.te(p,0);_.ue(p);_.bf(p)})};
_.f.handleWatchDataResponse_=function(a){var b=this,c,d,e,h,l,m,p,r,v,z;return _.y(function(A){switch(A.nextAddress){case 1:if(!a)return A.return();b.hasNoData=!1;b.watchResponse_=a;b.logMiniplayer_();if(b.active)return h=b.getPlayerElement(),_.B(A,h.getPlayerPromise(),6);c=_.Eg().resolve(_.Co);c.activateMiniplayer(a);d=b.getPlayerElement();if(!d){b.deactivate_();_.md(Error("eg"));A.jumpTo(3);break}d.loadVideoWithPlayerResponse(a.playerResponse);a.response&&(d.watchNextResponse=a.response);e=b;return _.B(A,
d.getPlayerPromise(),5);case 5:e.player_=A.yieldResult;A.jumpTo(3);break;case 6:a.response&&(h.watchNextData=a.response),l=_.u.getValueByKeys.apply(_.u,[a].concat(_.sc(Jbb))),(m=_.u.getValueByKeys.apply(_.u,[a].concat(_.sc(Obb))))&&l&&(p=_.Eg().resolve(_.Go),p.setAutoplayRenderer(l)),l&&(v=(r=_.OYa())?2:1,b.player_.setAutonavState(v)),z=_.HG(a.response),b.set("data",z);case 3:b.handleMiniplayerPlaybackState_(),_.bf(A)}})};
_.f.onPlayerPlayVideo_=function(a){var b=this,c,d,e,h;return _.y(function(l){c=_.x("kevlar_miniplayer_playnext_killswitch")?a.sessionData&&"playnext"in a.sessionData:a.sessionData&&"autonav"in a.sessionData;a.sessionData&&a.sessionData.itct&&(d=a.sessionData.itct);h=(e=a.watchEndpoint)&&c?_.FG(e,d):_.kh(a.videoId,a.listId,d);a.sessionData&&_.Nu(h.commandMetadata.webCommandMetadata.url,a.sessionData);b.loadEndpoint_(h,!1);_.bf(l)})};
_.f.loadEndpoint_=function(a,b){var c=this,d,e,h,l,m,p,r;return _.y(function(v){switch(v.nextAddress){case 1:if(!_.x("disable_miniplayer_prevent_double_load")&&c.endpointAlreadyLoaded(a))return v.return();_.Qv.getInstance().currentEndpoint=a;_.Jg(c,"yt-miniplayer-endpoint-changed");_.x("kevlar_thumbnail_equalizer_killswitch")||(_.Jg(c,"yt-miniplayer-play-state-changed",[!1]),_.Qv.getInstance().isVideoPlaying=!1);d=_.Eg().resolve(_.Eo);e={clientParams:{miniplayer:!0,autoSaveToQueue:!b}};h=new FM(function(){return c.getPlayerElement()},
e,{layer:3,
parentLayer:0},void 0,c.readyToResumeVe);l=function(z){z.playlistData||(c.expanded=!1);if(b&&z.playerResponse){var A=c.get("playerConfig.playbackStartConfig",z.playerResponse)||{};A.startPaused=!0;c.set("playerConfig.playbackStartConfig",A,z.playerResponse)}h.processChunk({endpoint:a,data:z})};
m=_.Xp(_.Wp.instance,a);c.cancelActiveRequest_();m?(p=_.Wp.instance,c.miniplayerFetchRequest_=_.Yp(p,a,{},window.location.href,"watch",function(z,A){l(A)},function(z){return c.isNetworkPromiseStale_(z)})):c.miniplayerFetchRequest_=d.requestDataForEndpoint(a,{pbj:"miniplayer"},l,{},!0);
_.se(v,2);return _.B(v,c.miniplayerFetchRequest_,4);case 4:return r=v.yieldResult,_.B(v,c.handleWatchDataResponse_(r,b),5);case 5:_.te(v,0);break;case 2:_.ue(v),_.bf(v)}})};
_.f.onCloseMiniplayer=function(){var a=this;return _.y(function(b){a.getPlayerElement()&&a.getPlayerElement().stop();a.closeVe_&&_.pt(_.fg(a.screenLayer),a.closeVe_);a.hasNoData=!0;a.cancelActiveRequest_();_.C(a,"yt-deactivate-miniplayer-action");_.bf(b)})};
_.f.triggerCloseMiniplayer_=function(){_.Sx().closeMiniplayer(this)};
_.f.onPlayerCloseMiniplayer_=function(){this.triggerCloseMiniplayer_()};
_.f.onDownloadedVideoDeleted=function(a){var b,c,d,e,h;void 0!==(null==(b=this.watchResponse_)?void 0:null==(c=b.playerResponse)?void 0:c.offlineState)&&void 0!==(null==(d=this.data)?void 0:null==(e=d.watchEndpoint)?void 0:null==(h=e.watchEndpoint)?void 0:h.videoId)&&(b=this.data.watchEndpoint.watchEndpoint.videoId)&&a&&b===a&&this.triggerCloseMiniplayer_()};
_.f.onPlayerStateChange=function(){if(this.player_){var a=this.player_.getPlayerState(),b=1===a;this.ytdReduxBehavior.dispatch(ubb(a));_.Jg(this,"yt-miniplayer-play-state-changed",[b]);_.Qv.getInstance().isVideoPlaying=b}};
_.f.onShortcutCloseMiniplayer_=function(){this.triggerCloseMiniplayer_()};
_.f.isMiniplayerActive_=function(){return this.active};
_.f.getMiniplayerComponent_=function(){return this};
_.f.getScreenLayer=function(){return this.screenLayer};
_.f.logMiniplayer_=function(){if(this.watchResponse_){var a=this.get("playerResponse.trackingParams",this.watchResponse_),b=_.fg(this.screenLayer),c=_.eg(this.screenLayer);a&&b&&c&&(a=_.no(a),_.tv(b,c,a),this.expandVe_=_.oo(35989),this.closeVe_=_.oo(34699),_.sg(void 0,b,a,[this.expandVe_,this.closeVe_]),sJ(b,[this.expandVe_,this.closeVe_]))}};
_.f.onPlaylistYtNavigate_=function(a,b){var c=this,d,e,h,l,m,p,r,v;return _.y(function(z){if(1==z.nextAddress){if(!b.endpoint.watchEndpoint)return z.return();_.Qv.getInstance().currentEndpoint=b.endpoint;_.Jg(c,"yt-miniplayer-endpoint-changed");a.stopPropagation();(d=c.get("endpoint.commandMetadata.webCommandMetadata.url",b))&&b.tempData&&!_.u.isEmpty(b.tempData)&&_.Nu(d,b.tempData);e=_.Eg().resolve(_.Eo);h={clientParams:{miniplayer:!0,autoSaveToQueue:!1}};l=new FM(function(){return c.getPlayerElement()},
h,{layer:3});
m=function(A){l.processChunk({endpoint:b.endpoint,data:A})};
p=_.Xp(_.Wp.instance,b.endpoint);c.cancelActiveRequest_();p?(r=_.Wp.instance,c.miniplayerFetchRequest_=_.Yp(r,b.endpoint,{},window.location.href,"watch",function(A,D){m(D)},function(A){return c.isNetworkPromiseStale_(A)})):c.miniplayerFetchRequest_=e.requestDataForEndpoint(b.endpoint,{pbj:"miniplayer"},m,{},!0);
_.se(z,2);return _.B(z,c.miniplayerFetchRequest_,4)}if(2!=z.nextAddress)return v=z.yieldResult,c.handleWatchDataResponse_(v),_.te(z,0);_.ue(z);_.bf(z)})};
_.f.cancelActiveRequest_=function(){this.miniplayerFetchRequest_&&(this.miniplayerFetchRequest_.cancel&&this.miniplayerFetchRequest_.cancel("Active request obsolete"),this.miniplayerFetchRequest_=null)};
_.f.isNetworkPromiseStale_=function(a){return a!==this.miniplayerFetchRequest_};
_.f.handleMiniplayerPlaybackState_=function(){var a=this.get("playerResponse.playabilityStatus.miniplayer.miniplayerRenderer",this.watchResponse_);a&&"PLAYBACK_MODE_PAUSED_ONLY"===a.playbackMode&&(this.disabledState=!0,a.minimizedEndpoint&&_.Kg(this,[a.minimizedEndpoint]),this.player_&&(a=this.player_.getPlayerState(),(this.disabledInitialStateIsPlaying_=-1===a||1===a||3===a)&&this.player_.pauseVideo()))};
_.f.computePlaylistData_=function(a,b){b&&b.contents?(a=_.UMa(b),this.updateHeader_(a?a.title:void 0,b.isCourse?b.titleText:_.SMa(_.qi(b.titleText),b.currentIndex,b.totalVideos),void 0)):this.watchResponse_&&(a=_.HG(this.watchResponse_.response,!0),this.updateHeader_(a.miniplayerTitle,a.miniplayerSubtitle,a.watchEndpoint));return b};
_.f.computeHasPlaylistData_=function(){return!!this.playlistData&&!!this.playlistData.contents};
_.f.onYtPlaylistDataUpdated_=function(){this.externalPlaylistData_=_.Eg().resolve(_.Go).getPlaylistData()||{}};
_.f.handleMiniplayerToastAction_=function(a,b){this.$.toast.open(a,b)};
_.f.updateHeader_=function(a,b,c){this.data||(this.data={miniplayerTitle:{simpleText:""},miniplayerSubtitle:{simpleText:""},playlistData:null});a&&this.set("data.miniplayerTitle",a);b&&this.set("data.miniplayerSubtitle",b);c&&this.set("data.watchEndpoint",c)};
_.f.computeExpandButtonHidden_=function(a,b){return!a||!b};
_.f.computeExpandButtonLabel_=function(a){return a?_.Bg("MINIPLAYER_COLLAPSE_LABEL"):_.Bg("MINIPLAYER_EXPAND_LABEL")};
_.f.computeDisabledStateCloseButtonLabel_=function(){return _.Bg("MINIPLAYER_CLOSE",void 0,"Close")};
_.f.showMiniplayerCommand=function(a){var b=this,c,d,e,h,l,m,p,r,v,z,A,D,E,J;return _.y(function(R){switch(R.nextAddress){case 1:return!(null==(c=a)?0:null==(d=c.showMiniplayerCommand)?0:null==(e=d.miniplayerCommand)?0:e.watchEndpoint)||b.active?R.return():_.B(R,_.dp.getInstance(),2);case 2:return h=R.yieldResult,_.B(R,null==(l=h)?void 0:l.get("yt-miniplayer-shown-video-id"),3);case 3:m=R.yieldResult;p=a.showMiniplayerCommand.miniplayerCommand.watchEndpoint.videoId;if(!p||m===p)return R.return();
r=_.Eg().resolve(_.Co);if(r.isOnWatch())return _.md(Error("fg")),R.return();v=_.fg(0);z=_.eg(0);v&&z&&(A={channelItem:{externalId:btoa(p)}},D=void 0,_.x("il_via_jspb")&&(E=new pbb,_.n(E,1,btoa(p)),D=new qbb,_.eb(D,5,E)),b.readyToResumeVe=_.oo(121253,void 0,void 0,A,D),_.tv(v,z,b.readyToResumeVe),sJ(v,[b.readyToResumeVe]));_.Qv.getInstance().showMiniplayerCommandActivation=!0;return _.B(R,b.activateAndLoadEndpoint(a.showMiniplayerCommand.miniplayerCommand,!0),4);case 4:return b.set("data.miniplayerSubtitle",
{simpleText:_.Bg("CONTINUE_WATCHING",void 0,"Continue watching")}),_.B(R,null==(J=h)?void 0:J.set("yt-miniplayer-shown-video-id",a.showMiniplayerCommand.miniplayerCommand.watchEndpoint.videoId),5);case 5:delete b.readyToResumeVe,_.bf(R)}})};
_.f.activateAndLoadEndpoint=function(a,b){b=void 0===b?!1:b;var c=this,d,e,h;return _.y(function(l){switch(l.nextAddress){case 1:if(c.active){l.jumpTo(2);break}d=_.Eg().resolve(_.Co);h=null!=(e=c.getPlayerElement())?e:d.getPlayerFromWatch();if(!_.x("kevlar_enable_mss_page_modules_client")||h){l.jumpTo(3);break}return _.B(l,_.Eg().resolve(_.th),4);case 4:h=d.getPlayerFromWatch();case 3:return _.B(l,c.activate_(h),2);case 2:return _.B(l,c.loadEndpoint_(a,b),0)}})};
_.f.endpointAlreadyLoaded=function(a){var b;a=null==a?void 0:null==(b=a.watchEndpoint)?void 0:b.videoId;var c,d,e;b=null==(c=this.data)?void 0:null==(d=c.watchEndpoint)?void 0:null==(e=d.watchEndpoint)?void 0:e.videoId;return null!=a&&a===b};
_.f.pause=function(){var a=this,b;return _.y(function(c){a.active&&(null==(b=a.player_)||b.pauseVideo());_.bf(c)})};
_.t.Object.defineProperties(zN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Jib){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-miniplayer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.player.ytd_miniplayer.ytd.miniplayer.css.js--\x3e<div id="blocking-container" hidden="[[!disabledState]]" on-click="onDisabledTap_">\n  <yt-icon-button aria-label$="[[computeDisabledStateCloseButtonLabel_()]]" on-click="onCloseMiniplayer">\n    <yt-icon id="close-icon" icon="yt-icons:close"></yt-icon>\n  </yt-icon-button>\n</div>\n<div class="miniplayer" role="dialog">\n  <div id="card">\n    <div id="video-container">\n      <div class="video">\n        <div id="player-container"></div>\n      </div>\n      <div id="info-bar" on-click="onPlaylistExpandTap_">\n      <div class="metadata">\n        <h1 aria-label$="[[getSimpleString(data.miniplayerTitle)]]" class="title meta" hidden="[[!active]]" role="heading">\n          <a tabindex="0" on-keydown="onMetadataKeydown_" on-click="onMetadataTap_">\n            <yt-formatted-string class="miniplayer-title" ellipsis-truncate="" text="[[data.miniplayerTitle]]">\n            </yt-formatted-string>\n          </a>\n        </h1>\n        <div class="channel">\n          <yt-formatted-string id="owner-name" no-endpoints="" text="[[data.miniplayerSubtitle]]">\n          </yt-formatted-string>\n        </div>\n      </div>\n      <div class="expander" hidden="[[computeExpandButtonHidden_(hasPlaylistData, active)]]">\n        <yt-icon-button label="[[computeExpandButtonLabel_(expanded)]]">\n          <yt-icon icon="[[getExpandIcon_(expanded)]]"></yt-icon>\n        </yt-icon-button>\n      </div>\n    </div>\n    </div>\n    <ytd-playlist-panel-renderer id="playlist" data="[[playlistData]]" hidden="[[!expanded]]" hide-header-text="">\n    </ytd-playlist-panel-renderer>\n    <div id="expander-space"></div>\n    <ytd-miniplayer-toast id="toast"></ytd-miniplayer-toast>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Iib){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.player.ytd_miniplayer.ytd.miniplayer.css.js--\x3e<style>:host {--ytd-miniplayer-width: 400px;--ytd-miniplayer-height: 225px;--ytd-miniplayer-playlist-height: 285px;--ytd-miniplayer-fade-down-endpoint: 355px;--ytd-miniplayer-fade-down-expanded-endpoint: 70px;opacity: 0;pointer-events: none;position: fixed;z-index: 2025;right: 12px;height: 574px;transform: translate3d(0,215px,0);bottom: 0;background-color: var(--yt-spec-brand-background-primary);box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 3px 6px 0 rgba(0,0,0,0.2);} :host([use-new-z-index]) {z-index: 2018;} :host([animate-miniplayer]) {--ytd-miniplayer-playlist-height: 385px;--ytd-miniplayer-fade-down-endpoint: 455px;height: 674px;} :host([animate-miniplayer])[expanded] {transform: translate3d(0,100px,0);} :host([animate-miniplayer]) #expander-space {height: 100px;} :host([enabled]) {transition-property: opacity,transform;transition-duration: 366ms;transition-timing-function: cubic-bezier(0.05,0,0,1);will-change: opacity,transform;} :host([active]) {opacity: 1;pointer-events: auto;display: block;transform: translate3d(0,var(--ytd-miniplayer-playlist-height),0);} :host([expanded]) {transform: translate3d(0,0,0);} :host([closed]) {animation-name: fade-down;animation-duration: 0.366s;} @keyframes fade-down {from {-webkit-transform: translateY(var(--ytd-miniplayer-playlist-height));transform: translateY(var(--ytd-miniplayer-playlist-height));}to {-webkit-transform: translateY(var(--ytd-miniplayer-fade-down-endpoint));transform: translateY(var(--ytd-miniplayer-fade-down-endpoint));}} :host([expanded-closed]) {animation-name: expanded-fade-down;animation-duration: 0.366s;} @keyframes expanded-fade-down {from {-webkit-transform: translateY(0);transform: translateY(0);}to {-webkit-transform: translateY(var(--ytd-miniplayer-fade-down-expanded-endpoint));transform: translateY(var(--ytd-miniplayer-fade-down-expanded-endpoint));}} :host([has-no-data]) #player-container {display: none;} .video {background-color: var(--yt-spec-static-brand-black);} .miniplayer {height: 100%;} #blocking-container {position: absolute;width: 100%;height: 100%;z-index: 1;cursor: pointer;} #blocking-container>yt-icon-button {position: absolute;top: 0;right: 0;margin: 8px;background-color: transparent;} #close-icon {fill: #fff;} #card {position: relative;left: 0px;top: 0px;width: var(--ytd-miniplayer-width);height: var(--ytd-miniplayer-card-height);color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-miniplayer-toast {height: 0;box-sizing: border-box;width: var(--ytd-miniplayer-width);position: absolute;bottom: 0;left: 0;} ytd-miniplayer-toast[opened] {height: 64px;} :host([expanded]) #card {height: 100%;} :host(.gesture-dragging) #card:hover {box-shadow: none;} :host(.gesture-dragging) #expander-space {height: 0;} #card:hover {box-shadow: 0 8px 18px 2px rgba(0,0,0,0.16),0 14px 20px 1px rgba(0,0,0,0.2);} .cast-thumbnail {background-color: var(--yt-spec-static-overlay-background-solid);height: var(--ytd-miniplayer-height);width: 100%;position: absolute;} .cast-label {position: absolute;top: 0;right: 0;opacity: 0.5;padding: 8px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} .drop-shadow {-webkit-filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.6));filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.6));} .video {width: var(--ytd-miniplayer-width);height: var(--ytd-miniplayer-height);-ms-flex: none;-webkit-flex: none;flex: none;} #info-bar {height: 64px;-ms-flex: none;-webkit-flex: none;flex: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #info-bar .playlist-icon {padding-left: 10px;margin-right: -7px;cursor: pointer;color: var(--yt-spec-icon-inactive);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #info-bar .metadata {padding: 14px 16px 16px;overflow: hidden;cursor: pointer;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #info-bar .expander {padding-right: 16px;margin-left: -8px;opacity: 0.7;color: var(--yt-spec-text-primary);transition: opacity 0.1s cubic-bezier(0.4,0,0.2,1) 0s;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #info-bar .title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .miniplayer-title {display: inline-block;max-width: calc(var(--ytd-miniplayer-width) - 32px);} :host([has-playlist-data]) .miniplayer-title {max-width: calc(var(--ytd-miniplayer-width) - 40px - 16px - 8px);} #info-bar .channel {margin-top: 4px;color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #info-bar .metadata:hover .channel {color: var(--yt-spec-text-primary);} #player-container {width: var(--ytd-miniplayer-width);height: var(--ytd-miniplayer-height);background-color: var(--yt-spec-static-overlay-background-solid);} #playlist {height: 0;min-height: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .placeholder {width: 48px;height: 48px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-miniplayer.css.map*/</style>';
Iib=d}d=Iib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Jib=a}a=Jib;return a}}});
var AN=zN;AN.prototype.activeChanged=AN.prototype.activeChanged;AN.prototype.hasPlaylistDataChanged=AN.prototype.hasPlaylistDataChanged;_.S([_.L(_.tE.YtPlayerListenerBehavior),_.T("design:type",_.uE)],AN.prototype,"ytPlayerListenerBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],AN.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AN.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],AN.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],AN.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AN.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"active",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"hasNoData",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"enabled",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"expanded",void 0);_.S([_.N(),_.T("design:type",Object)],AN.prototype,"disabledState",void 0);_.S([_.N(),_.T("design:type",Object)],AN.prototype,"externalPlaylistData_",void 0);_.S([_.N({computed:"computePlaylistData_(data.playlistData, externalPlaylistData_)"}),_.T("design:type",Object)],AN.prototype,"playlistData",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeHasPlaylistData_(playlistData)"}),_.T("design:type",Object)],AN.prototype,"hasPlaylistData",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"animateMiniplayer",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"useNewZIndex",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"closed",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],AN.prototype,"expandedClosed",void 0);_.S([_.P("hasPlaylistData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],AN.prototype,"hasPlaylistDataChanged",null);_.S([_.P("active"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],AN.prototype,"activeChanged",null);AN=_.S([_.Q({asyncProperties:!0,is:"ytd-miniplayer"})],AN);
var Mib;
var Nib;
var BN=function(){var a=_.K.apply(this,arguments)||this;a.systemIcons=_.x("kevlar_system_icons");return a};
_.q(BN,_.K);_.f=BN.prototype;_.f.ready=function(){this.listen(this,"tap","onEndpointTapExtra")};
_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","menuitem")};
_.f.onFocus=function(){this.$$("tp-yt-paper-item").focus()};
_.f.onEndpointTapExtra=function(a){this.fire("iron-activate");var b=this.data.navigationEndpoint;b&&b.userFeedbackEndpoint&&(a.stopPropagation(),_.Lg(this,[b],this))};
_.f.computeIcon=function(a){return a&&a.iconType?_.Ft(a.iconType):""};
_.f.computeHasSeparator=function(){return!(!this.data||!this.data.hasSeparator)};
_.f.computeIconHidden=function(){return this.useIcons?!1:!this.icon};
_.f.forceUpdateStylesOnLegacyBrowsers=function(){_.x("kevlar_legacy_browsers")&&this.updateStyles()};
_.t.Object.defineProperties(BN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Nib){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-menu-navigation-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_navigation_item_renderer.ytd.menu.navigation.item.renderer.css.js--\x3e<template is="dom-if" if="[[!hidden]]">\n  <a class="yt-simple-endpoint" data="[[data.navigationEndpoint]]" href$="[[computeOptionalHref_(data.navigationEndpoint)]]" tabindex="-1">\n    <tp-yt-paper-item aria-label$="[[data.accessibility.accessibilityData.label]]" disabled="[[data.isDisabled]]">\n      <yt-icon hidden="[[computeIconHidden(icon, useIcons)]]" icon="[[icon]]"></yt-icon>\n      <yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n    </tp-yt-paper-item>\n  </a>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Mib){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_navigation_item_renderer.ytd.menu.navigation.item.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt*/ :host,.tp-yt-paper-item {display: block;position: relative;min-height: var(--paper-item-min-height,48px);padding: 0px 16px;} .tp-yt-paper-item {@apply --paper-font-subhead;border: none;outline: none;background: white;width: 100%;text-align: left;} :host([hidden]),.tp-yt-paper-item[hidden] {display: none!important;} :host(.iron-selected),.tp-yt-paper-item.iron-selected {font-weight: var(--paper-item-selected-weight,bold);background: var(--paper-item-selected-background);} :host([disabled]),.tp-yt-paper-item[disabled] {color: var(--paper-item-disabled-color,var(--disabled-text-color));} :host(:focus),.tp-yt-paper-item:focus {position: relative;outline: 0;background-color: var(--paper-item-focused-background-color);} :host(:focus):before,.tp-yt-paper-item:focus:before {position: absolute;top: 0;right: 0;bottom: 0;left: 0;pointer-events: none;background: var(--paper-item-focused-before-background,currentColor);border-radius: var(--paper-item-focused-before-border-radius,0);content: var(--paper-item-focused-before-content,"");opacity: var(--paper-item-focused-before-opacity,var(--dark-divider-opacity,0.12));} :host {min-height: 0;padding: 0;} a {display: block;} tp-yt-paper-item {--yt-endpoint-force-cursor: pointer;--paper-item-min-height: 36px;padding: 0 36px 0 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-item:hover {background-color: var(--yt-spec-10-percent-layer);} tp-yt-paper-item:focus {background-color: var(--yt-spec-badge-chip-background);outline: 0;position: relative;} yt-formatted-string {color: var(--yt-spec-text-primary);white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} yt-icon {display: var(--yt-menu-item-icon-display,none);margin-right: 16px;width: 24px;height: 24px;color: var(--yt-spec-icon-inactive);-ms-flex: none;-webkit-flex: none;flex: none;} :host([system-icons]) yt-icon {color: var(--yt-spec-text-primary);} :host([use-icons]) {--yt-menu-item-icon-display: inline-block;} :host([has-separator]:not(:last-child)::after) {content: "";display: block;height: 1px;background-color: var(--yt-spec-10-percent-layer);margin: 8px 0;} tp-yt-paper-item[disabled] yt-formatted-string {color: var(--yt-spec-text-disabled);} tp-yt-paper-item[disabled] yt-icon {color: var(--yt-spec-icon-disabled);} /*# sourceMappingURL=ytd-menu-navigation-item-renderer.css.map*/</style>';
Mib=d}d=Mib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Nib=a}a=Nib;return a}}});
var CN=BN;CN.prototype.forceUpdateStylesOnLegacyBrowsers=CN.prototype.forceUpdateStylesOnLegacyBrowsers;CN.prototype.onFocus=CN.prototype.onFocus;_.S([_.L(_.ov),_.T("design:type",Object)],CN.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.lJ.YtConditionalRendererBehavior),_.T("design:type",Object)],CN.prototype,"ytConditionalRendererBehavior",void 0);_.S([_.L(_.Tu.YtEndpointBehavior),_.T("design:type",Object)],CN.prototype,"ytEndpointBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],CN.prototype,"data",void 0);_.S([_.N({computed:"computeIcon(data.icon)",value:""}),_.T("design:type",String)],CN.prototype,"icon",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],CN.prototype,"useIcons",void 0);_.S([_.N({computed:"computeHasSeparator(data.hasSeparator)",reflectToAttribute:!0}),_.T("design:type",Boolean)],CN.prototype,"hasSeparator",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],CN.prototype,"systemIcons",void 0);_.S([_.O("focus"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CN.prototype,"onFocus",null);_.S([_.P("useIcons","hasSeparator"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],CN.prototype,"forceUpdateStylesOnLegacyBrowsers",null);CN=_.S([_.Q({asyncProperties:!0,is:"ytd-menu-navigation-item-renderer"})],CN);
var Oib;
var Pib;
var Qib=_.Mu(_.Bg("DOWNLOAD",{},"Download")),DN=_.Mu(_.Bg("DELETE_FROM_DOWNLOADS",{},"Delete from downloads")),Rib=_.Mu(_.Bg("RETRY",{},"Retry")),Sib=_.Mu(_.Bg("PAUSE_DOWNLOADING",{},"Pause downloading")),Tib=_.Mu(_.Bg("RESUME_DOWNLOAD",{},"Resume download")),EN=function(){var a=_.K.apply(this,arguments)||this;a.primaryText=Qib;a.primaryIconType="OFFLINE_DOWNLOAD";a.hasSecondaryContent=!1;a.hasSeparator=!1;a.transferState="TRANSFER_STATE_UNKNOWN";a.isHidden=!1;a.offlineabilityState="ADD_TO_OFFLINE_BUTTON_STATE_ENABLED";
return a};
_.q(EN,_.K);_.f=EN.prototype;_.f.onFocus=function(){this.$["primary-entry"].focus()};
_.f.onPrimaryClicked=function(){this.sendOfflineAction(this.primaryAction)};
_.f.onSecondaryClicked=function(){this.sendOfflineAction(this.secondaryAction)};
_.f.sendOfflineAction=function(a){var b=this.data.serviceEndpoint;if(b){var c=b.offlineVideoEndpoint;c&&a&&(c.action=a);this.ytComponentBehavior.resolveCommand(b)}};
_.f.onTransferStateChange=function(){this.hasSecondaryContent=!1;this.secondaryAction=this.primaryAction=void 0;switch(this.transferState){case "TRANSFER_STATE_UNKNOWN":this.primaryText=Qib;this.primaryIconType="OFFLINE_DOWNLOAD";this.primaryAction="ACTION_ADD";break;case "TRANSFER_STATE_FAILED":this.primaryText=Rib;this.primaryIconType="OFFLINE_DOWNLOAD";this.primaryAction="ACTION_RETRY";this.secondaryText=DN;this.secondaryIconType="DELETE";this.secondaryAction="ACTION_REMOVE_WITH_PROMPT";this.hasSecondaryContent=
!0;break;case "TRANSFER_STATE_PAUSED_BY_USER":this.primaryText=Tib;this.primaryIconType="OFFLINE_DOWNLOAD";this.primaryAction="ACTION_RESUME";this.secondaryText=DN;this.secondaryIconType="DELETE";this.secondaryAction="ACTION_REMOVE_WITH_PROMPT";this.hasSecondaryContent=!0;break;case "TRANSFER_STATE_TRANSFERRING":this.primaryText=Sib;this.primaryIconType="OFFLINE_PAUSE";this.primaryAction="ACTION_PAUSE";this.secondaryText=DN;this.secondaryIconType="DELETE";this.secondaryAction="ACTION_REMOVE_WITH_PROMPT";
this.hasSecondaryContent=!0;break;case "TRANSFER_STATE_COMPLETE":case "TRANSFER_STATE_WAITING_FOR_PLAYER_RESPONSE_REFRESH":case "TRANSFER_STATE_TRANSFER_IN_QUEUE":this.primaryText=DN;this.primaryIconType="DELETE";this.primaryAction="ACTION_REMOVE_WITH_PROMPT";break;default:this.primaryText=Qib,this.primaryIconType="OFFLINE_DOWNLOAD",this.primaryAction="ACTION_ADD"}};
_.f.showHideButton=function(){this.isHidden="ADD_TO_OFFLINE_BUTTON_STATE_ENABLED"!==this.offlineabilityState};
_.f.isSecondaryEntryHidden=function(a,b){return a?!0:!b};
_.f.computeHasSeparator=function(){var a;return!(null==(a=this.data)||!a.hasSeparator)};
_.t.Object.defineProperties(EN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Pib){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-menu-service-item-download-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_service_item_download_renderer.ytd.menu.service.item.download.renderer.css.js--\x3e\n<tp-yt-paper-item id="primary-entry" hidden="[[isHidden]]" on-tap="onPrimaryClicked">\n  <yt-icon icon="[[primaryIconType]]"></yt-icon>\n  <yt-formatted-string text="[[primaryText]]"></yt-formatted-string>\n</tp-yt-paper-item>\n<tp-yt-paper-item id="secondary-entry" hidden="[[isSecondaryEntryHidden(isHidden, hasSecondaryContent)]]" on-tap="onSecondaryClicked">\n  <yt-icon icon="[[secondaryIconType]]"></yt-icon>\n  <yt-formatted-string text="[[secondaryText]]"></yt-formatted-string>\n</tp-yt-paper-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Oib){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_service_item_download_renderer.ytd.menu.service.item.download.renderer.css.js--\x3e<style>:host {cursor: pointer;--yt-menu-item-icon-display: inline-block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([has-separator]:not(:last-child)::after) {content: "";display: block;height: 1px;background-color: var(--yt-spec-10-percent-layer);margin: 8px 0;} tp-yt-paper-item {--paper-item-min-height: 36px;padding: 0 36px 0 16px;} tp-yt-paper-item:hover {background-color: var(--yt-spec-10-percent-layer);} yt-formatted-string {color: var(--yt-spec-text-primary);white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} yt-icon {margin-right: 16px;width: 24px;height: 24px;color: var(--yt-spec-icon-inactive);display: var(--yt-menu-item-icon-display,none);-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-menu-service-item-download-renderer.css.map*/</style>';
Oib=d}d=Oib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Pib=a}a=Pib;return a}}});
var FN=EN;FN.prototype.showHideButton=FN.prototype.showHideButton;FN.prototype.onTransferStateChange=FN.prototype.onTransferStateChange;FN.prototype.onFocus=FN.prototype.onFocus;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],FN.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],FN.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],FN.prototype,"ytComponentBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],FN.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],FN.prototype,"primaryText",void 0);_.S([_.N(),_.T("design:type",String)],FN.prototype,"primaryIconType",void 0);_.S([_.N(),_.T("design:type",String)],FN.prototype,"primaryAction",void 0);_.S([_.N(),_.T("design:type",Object)],FN.prototype,"secondaryText",void 0);_.S([_.N(),_.T("design:type",String)],FN.prototype,"secondaryIconType",void 0);
_.S([_.N(),_.T("design:type",String)],FN.prototype,"secondaryAction",void 0);_.S([_.N(),_.T("design:type",Object)],FN.prototype,"hasSecondaryContent",void 0);_.S([_.N({computed:"computeHasSeparator(data.hasSeparator)",reflectToAttribute:!0}),_.T("design:type",Object)],FN.prototype,"hasSeparator",void 0);_.S([_.N({selector:_.uv,selectorArgs:["data.serviceEndpoint.offlineVideoEndpoint.videoId"]}),_.T("design:type",String)],FN.prototype,"transferState",void 0);
_.S([_.N(),_.T("design:type",Object)],FN.prototype,"isHidden",void 0);_.S([_.N({selector:function(a,b){a=a.entities;if(b){b=_.wIa(b);var c,d;b=null!=(d=null==(c=_.Yg(a,"offlineabilityEntity",_.Wg(b,"offlineabilityEntity")))?void 0:c.addToOfflineButtonState)?d:"ADD_TO_OFFLINE_BUTTON_STATE_ENABLED"}else b="ADD_TO_OFFLINE_BUTTON_STATE_DISABLED";return b},
selectorArgs:["data.serviceEndpoint.offlineVideoEndpoint.videoId"]}),_.T("design:type",Object)],FN.prototype,"offlineabilityState",void 0);_.S([_.O("focus"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FN.prototype,"onFocus",null);_.S([_.Ct("transferState"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FN.prototype,"onTransferStateChange",null);
_.S([_.Ct("offlineabilityState"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FN.prototype,"showHideButton",null);FN=_.S([_.Q({asyncProperties:!0,is:"ytd-menu-service-item-download-renderer"})],FN);
var Uib;
var Vib;
var GN=function(){var a=_.K.apply(this,arguments)||this;a.useIcons=!1;a.systemIcons=_.x("kevlar_system_icons");return a};
_.q(GN,_.K);_.f=GN.prototype;_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","menuitem")};
_.f.onFocus=function(){this.$$("tp-yt-paper-item").focus()};
_.f.onTap=function(){_.Jg(this,"yt-menu-service-item-selected-action",[this.data]);var a=this.data.serviceEndpoint,b=this.data.command;if(a){var c,d=null==(c=this.data)?void 0:c.trackingParams;c=!(null==a||!a.shareEntityServiceEndpoint);d&&c&&_.hh.dispatch(_.Rg({type:"SET_PARENT_CLICK_TRACKING_PARAMS",payload:{parentClickTrackingParams:d}}));!_.x("kevlar_menu_item_command_killswitch")&&this.ytComponentBehavior.resolveCommand(a)||_.Kg(this,[a])}b&&(this.ytComponentBehavior.resolveCommand(b)||_.Lg(this,
[b],this))};
_.f.computeIcon=function(a){return a&&a.iconType?_.Ft(a.iconType):""};
_.f.computeIconHidden=function(){return this.useIcons?!1:!this.icon};
_.f.computeHasSeparator=function(){var a;return!(null==(a=this.data)||!a.hasSeparator)};
_.f.forceUpdateStylesOnLegacyBrowsers=function(){_.x("kevlar_legacy_browsers")&&this.updateStyles()};
_.f.computeIsSelected=function(){var a;return!(null==(a=this.data)||!a.isSelected)};
_.t.Object.defineProperties(GN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Vib){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-menu-service-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_service_item_renderer.ytd.menu.service.item.renderer.css.js--\x3e<tp-yt-paper-item disabled="[[data.isDisabled]]">\n  <yt-icon hidden="[[computeIconHidden(icon, useIcons)]]" icon="[[icon]]"></yt-icon>\n  <yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n  <ytd-badge-supported-renderer badges="[[data.badges]]" disable-upgrade$="[[!data.badges]]" hidden="[[!data.badges]]">\n  </ytd-badge-supported-renderer>\n</tp-yt-paper-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Uib){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.sections.ytd_menu_service_item_renderer.ytd.menu.service.item.renderer.css.js--\x3e<style>:host {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} tp-yt-paper-item {--paper-item-min-height: 36px;padding: 0 12px 0 16px;} tp-yt-paper-item:hover {background-color: var(--yt-spec-10-percent-layer);} yt-formatted-string {color: var(--yt-spec-text-primary);white-space: nowrap;margin-right: 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} yt-icon {margin-right: 16px;width: 24px;height: 24px;color: var(--yt-spec-icon-inactive);display: var(--yt-menu-item-icon-display,none);-ms-flex: none;-webkit-flex: none;flex: none;} :host([system-icons]) yt-icon {color: var(--yt-spec-text-primary);} :host([is-selected]) {background-color: var(--yt-spec-10-percent-layer);} :host([is-selected]) tp-yt-paper-item:hover {background-color: var(--yt-spec-badge-chip-background);} :host([use-icons]) {--yt-menu-item-icon-display: inline-block;} :host([has-separator]:not(:last-child)::after) {content: "";display: block;height: 1px;background-color: var(--yt-spec-10-percent-layer);margin: 8px 0;} tp-yt-paper-item[disabled] yt-formatted-string {color: var(--yt-spec-text-disabled);} tp-yt-paper-item[disabled] yt-icon {color: var(--yt-spec-icon-disabled);} /*# sourceMappingURL=ytd-menu-service-item-renderer.css.map*/</style>';
Uib=d}d=Uib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Vib=a}a=Vib;return a}}});
var HN=GN;HN.prototype.forceUpdateStylesOnLegacyBrowsers=HN.prototype.forceUpdateStylesOnLegacyBrowsers;HN.prototype.onTap=HN.prototype.onTap;HN.prototype.onFocus=HN.prototype.onFocus;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],HN.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],HN.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],HN.prototype,"ytComponentBehavior",void 0);
_.S([_.L(_.lJ.YtConditionalRendererBehavior),_.T("design:type",Object)],HN.prototype,"ytConditionalRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],HN.prototype,"data",void 0);_.S([_.N({computed:"computeIcon(data.icon)",value:""}),_.T("design:type",String)],HN.prototype,"icon",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HN.prototype,"useIcons",void 0);
_.S([_.N({computed:"computeHasSeparator(data.hasSeparator)",reflectToAttribute:!0}),_.T("design:type",Boolean)],HN.prototype,"hasSeparator",void 0);_.S([_.N({computed:"computeIsSelected(data.isSelected)",reflectToAttribute:!0}),_.T("design:type",Boolean)],HN.prototype,"isSelected",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],HN.prototype,"systemIcons",void 0);
_.S([_.O("focus"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HN.prototype,"onFocus",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],HN.prototype,"onTap",null);_.S([_.P("useIcons","hasSeparator"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HN.prototype,"forceUpdateStylesOnLegacyBrowsers",null);
HN=_.S([_.Q({asyncProperties:!0,is:"ytd-menu-service-item-renderer"})],HN);
var Wib;
var Xib;
var IN=function(){return _.K.apply(this,arguments)||this};
_.q(IN,_.K);_.f=IN.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.onDataChanged=function(){var a=this;_.nt(this,function(){a.postbox.openDialog();a.focus();a.fire("yt-refit")})};
_.f.focus=function(){this.postbox.focus()};
_.f.closePopup=function(){_.C(this,"yt-close-popup-action")};
_.f.onYtCommentboxDismiss=function(){this.closePopup()};
_.t.Object.defineProperties(IN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Xib){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-backstage-post-dialog-popup-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.share.ytd_backstage_post_dialog_popup_renderer.ytd.backstage.post.dialog.popup.renderer.css.js--\x3e<div id="title-bar">\n  <div id="title">\n    [[getSimpleString(data.dialogRenderer.backstagePostDialogRenderer.title)]]\n  </div>\n  <yt-icon-button id="close-panel-icon" aria-label$="[[closeButtonAriaLabel]]" on-tap="closePopup">\n    <yt-icon class="remove-option" icon="yt-icons:close"></yt-icon>\n  </yt-icon-button>\n</div>\n<ytd-backstage-post-dialog-renderer id="postbox" data="[[data.dialogRenderer.backstagePostDialogRenderer]]" in-popup-container="">\n  <div slot="repost-preview" hidden="[[!data.dialogRenderer.backstagePostDialogRenderer.backstageAttachment.postRenderer]]">\n    <ytd-post-renderer data="[[data.dialogRenderer.backstagePostDialogRenderer.backstageAttachment.postRenderer]]">\n    </ytd-post-renderer>\n  </div>\n</ytd-backstage-post-dialog-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Wib){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.share.ytd_backstage_post_dialog_popup_renderer.ytd.backstage.post.dialog.popup.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--paper-input-container-input-align: baseline;background: var(--yt-spec-brand-background-primary);display: block;margin: 0;padding: 24px;width: 642px;} #title-bar {width: 100%;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {color: var(--yt-spec-text-primary);display: inline-block;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #close-panel-icon {margin-right: 4px;color: var(--yt-spec-icon-inactive);-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #close-panel-icon:hover {color: var(--yt-spec-icon-active-other);cursor: pointer;} :host ytd-backstage-post-dialog-renderer {background: var(--yt-spec-brand-background-primary);border: none;margin-top: 24px;} /*# sourceMappingURL=ytd-backstage-post-dialog-popup-renderer.css.map*/</style>';
Wib=d}d=Wib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Xib=a}a=Xib;return a}}});
var JN=IN;JN.prototype.onYtCommentboxDismiss=JN.prototype.onYtCommentboxDismiss;JN.prototype.onDataChanged=JN.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JN.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],JN.prototype,"data",void 0);_.S([_.N({value:function(){return _.Bg("SBOX_INAPPROPRIATE_CANCEL")}}),
_.T("design:type",String)],JN.prototype,"closeButtonAriaLabel",void 0);_.S([_.Z("#postbox"),_.T("design:type",Object)],JN.prototype,"postbox",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],JN.prototype,"onDataChanged",null);_.S([_.O("yt-commentbox-dismiss"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],JN.prototype,"onYtCommentboxDismiss",null);
JN=_.S([_.Q({asyncProperties:!0,is:"ytd-backstage-post-dialog-popup-renderer"})],JN);
var Yib;
var Zib;
var $ib=function(){return _.K.apply(this,arguments)||this};
_.q($ib,_.K);
_.t.Object.defineProperties($ib,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Zib){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sender-id-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.share.ytd_sender_id_section_renderer.ytd.sender.id.section.renderer.css.js--\x3e<div id="text">[[getSimpleString(data.text)]]</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Yib){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.share.ytd_sender_id_section_renderer.ytd.sender.id.section.renderer.css.js--\x3e<style>:host {display: inline-block;} #text {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-sender-id-section-renderer.css.map*/</style>';
Yib=d}d=Yib;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Zib=a}a=Zib;return a}}});
var KN=$ib;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],KN.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],KN.prototype,"data",void 0);KN=_.S([_.Q({asyncProperties:!0,is:"ytd-sender-id-section-renderer"})],KN);
var ajb;
var bjb;
var cjb;
var djb;
var LN=function(){return _.K.apply(this,arguments)||this};
_.q(LN,_.K);LN.prototype.closePopup=function(){_.C(this,"yt-close-popup-action")};
_.t.Object.defineProperties(LN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===djb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-community-post-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_community_post_section_renderer.yt.community.post.section.renderer.css.js--\x3e<div id="title">[[getSimpleString(data.title)]]</div>\n<div>\n  <yt-button-renderer id="post-button" data="[[data.postButton.buttonRenderer]]" on-tap="closePopup">\n  </yt-button-renderer>\n</div>\n<div id="subtitle">[[getSimpleString(data.subtitle)]]</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cjb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_community_post_section_renderer.yt.community.post.section.renderer.css.js--\x3e<style>:host {display: block;border-bottom: 1px solid var(--yt-spec-10-percent-layer);margin-bottom: var(--ytd-margin-4x);padding-bottom: var(--ytd-margin-4x);text-align: center;} #title {color: var(--yt-spec-text-primary);display: inline-block;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #subtitle {color: var(--yt-spec-text-secondary);display: inline-block;font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);} #post-button {margin: var(--ytd-margin-4x) 0;} /*# sourceMappingURL=yt-community-post-section-renderer.css.map*/</style>";
cjb=d}d=cjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);djb=a}a=djb;return a}}});
var MN=LN;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],MN.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],MN.prototype,"data",void 0);MN=_.S([_.lu({is:"yt-community-post-section-renderer",noInjection:!0})],MN);
var ejb;
var fjb;
var gjb;
var hjb;
var ijb;
var jjb;
var kjb=function(){return _.K.apply(this,arguments)||this};
_.q(kjb,_.K);
_.t.Object.defineProperties(kjb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-share-start-time-with-context-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_start_time_with_context_renderer.yt.share.start.time.with.context.renderer.css.js--\x3e<div id="start-time-title"><yt-formatted-string aria-label$="[[getSimpleString(data.title)]]" text="[[data.title]]"></yt-formatted-string></div>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ijb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_start_time_with_context_renderer.yt.share.start.time.with.context.renderer.css.js--\x3e<style>#start-time-title {margin: var(--ytd-margin-2x) 0;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=yt-share-start-time-with-context-renderer.css.map*/</style>';
ijb=d}d=ijb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jjb=a}a=jjb;return a}}});
var NN=kjb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NN.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],NN.prototype,"data",void 0);NN=_.S([_.lu({is:"yt-share-start-time-with-context-renderer",noInjection:!0})],NN);
var ON=function(){return _.K.apply(this,arguments)||this};
_.q(ON,_.K);ON.prototype.configureRendererStamper=function(){return{"data.subtitle":{id:"subtitle",mapping:{shareStartTimeWithContextRenderer:"yt-share-start-time-with-context-renderer"}}}};
_.t.Object.defineProperties(ON,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-share-panel-title-v15-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_panel_title_v15_renderer.yt.share.panel.title.v15.renderer.css.js--\x3e<h2 id="title">[[getSimpleString(data.title)]]</h2>\n<div id="subtitle" hidden="[[!data.subtitle]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gjb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_panel_title_v15_renderer.yt.share.panel.title.v15.renderer.css.js--\x3e<style>:host {display: inline-block;} #title {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} /*# sourceMappingURL=yt-share-panel-title-v15-renderer.css.map*/</style>";
gjb=d}d=gjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hjb=a}a=hjb;return a}}});
var PN=ON;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],PN.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],PN.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],PN.prototype,"data",void 0);PN=_.S([_.lu({is:"yt-share-panel-title-v15-renderer",noInjection:!0})],PN);
var QN=function(){return _.K.apply(this,arguments)||this};
_.q(QN,_.K);QN.prototype.configureRendererStamper=function(){return{"data.title":{id:"title",mapping:{sharePanelTitleV15Renderer:"yt-share-panel-title-v15-renderer"}},"data.communityPost":{id:"community-post",mapping:{communityPostSectionRenderer:"yt-community-post-section-renderer"}}}};
_.t.Object.defineProperties(QN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-share-panel-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_panel_header_renderer.yt.share.panel.header.renderer.css.js--\x3e<div id="community-post"></div>\n<div id="title-bar">\n  <div id="title"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ejb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_panel_header_renderer.yt.share.panel.header.renderer.css.js--\x3e<style>:host {display: block;} #title-bar {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {margin: auto 0;} /*# sourceMappingURL=yt-share-panel-header-renderer.css.map*/</style>";
ejb=d}d=ejb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fjb=a}a=fjb;return a}}});
var RN=QN;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],RN.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],RN.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],RN.prototype,"data",void 0);RN=_.S([_.lu({is:"yt-share-panel-header-renderer",noInjection:!0,notifyObserversOnUndefined:!1})],RN);
var ljb;
var mjb;
_.Ng({is:"yt-start-at-renderer",_template:function(){if(void 0!==mjb)return mjb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-start-at-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_start_at_renderer.yt.start.at.renderer.css.js--\x3e<div id="start-at-wrapper">\n  <tp-yt-paper-checkbox id="start-at-checkbox" checked="{{isStartAtChecked_}}" on-change="onChangeStartAtCheckbox_">\n    <yt-formatted-string text="[[data.startAtOptionLabel]]"></yt-formatted-string>\n  </tp-yt-paper-checkbox>\n  <tp-yt-paper-input id="start-at-timestamp" disabled="" no-label-float="" use-v2-underline="" on-blur="onChangeStartAtTimestamp_" on-change="onChangeStartAtTimestamp_">\n  </tp-yt-paper-input>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ljb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_start_at_renderer.yt.start.at.renderer.css.js--\x3e<style>:host {display: block;height: 23px;} #label {color: var(--yt-spec-text-primary);margin: var(--ytd-margin-3x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} tp-yt-paper-input {--paper-input-container-color: var(--yt-spec-10-percent-layer);--paper-input-container-input-color: var(--yt-spec-text-secondary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-color: var(--yt-spec-text-secondary);--paper-input-container-underline-disabled-display: none;} tp-yt-paper-input tp-yt-paper-input-container[style-target=host] {padding: 0;} #start-at-wrapper {--paper-input-container-input: {line-height: 40px;};padding-bottom: 2px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #start-at-wrapper tp-yt-paper-input-container[style-target=host] {padding: 0;} #start-at-checkbox {color: var(--yt-spec-text-primary);margin-top: -1px;margin-right: var(--ytd-margin-2x);margin-bottom: 1px;} yt-formatted-string {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} #start-at-timestamp {--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};max-width: 50px;} /*# sourceMappingURL=yt-start-at-renderer.css.map*/</style>";
ljb=d}d=ljb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return mjb=a},
actionMap:{"yt-open-popup-action":"onOpen_"},behaviors:[_.Y.YtActionHandlerBehavior,_.U.YtRendererBehavior],properties:{data:Object,isStartAtChecked_:{type:Boolean,value:!1,notify:!0},currentTimeSecs_:Number},attached:function(){this.onOpen_()},
updateTimeSecs_:function(a){this.currentTimeSecs_=a;this.$["start-at-timestamp"].value=this.getTimeString_()},
getTimeString_:function(){var a=this.currentTimeSecs_+"",b=Math.floor(a/3600),c=Math.floor(a%3600%60);return(0<b?b+":":"")+_.zj(Math.floor(a%3600/60),0<b?2:1)+":"+_.zj(c,2)},
getTimeParam_:function(){return V9a(this.getTimeString_())},
onChangeStartAtCheckbox_:function(){this.$["start-at-timestamp"].disabled=!this.isStartAtChecked_;this.setTimestamp_()},
onChangeStartAtTimestamp_:function(){for(var a=this.$["start-at-timestamp"].value.split(":"),b=0,c=1,d=a.length-1;0<=d;d--)b+=Number(a[d])*c,c*=60;this.updateTimeSecs_(b);this.setTimestamp_()},
onOpen_:function(){this.updateTimeSecs_(0);this.isStartAtChecked_=!1;var a=_.sv();a&&a.getPlayerPromise().then(function(b){b=b.getCurrentTime();this.updateTimeSecs_(b)}.bind(this))},
setTimestamp_:function(){var a=Math.floor(this.currentTimeSecs_);_.C(this,"yt-share-panel-set-timestamp-action",[{isSet:this.isStartAtChecked_&&!!a,timestamp:a||""}])}});
var njb;
var ojb;
var pjb;
var qjb;
var rjb;
var sjb=document.head,tjb=sjb.appendChild,ujb;
if(void 0===rjb){var vjb=document.createElement("template");vjb.innerHTML='<iron-iconset-svg name="socialNetworks" size="48"><svg><defs><g id="ameba"><rect fill="#46AE38" width="48" height="48"></rect><path fill="#FFFFFF" d="M35.1,29.1c0.7-0.1,1.4-0.2,2-0.5c0.8-0.3,1.7-0.6,2.3-1.3c0.6-0.8,0.9-1.7,1.1-2.7c0.1-0.5,0-1.1-0.2-1.6\n    c-0.3-0.8-0.9-1.5-1.6-1.9c-0.4-0.3-1-0.5-1.4-0.8c-0.9-0.7-1.3-1.8-1.3-2.9c0-0.8-0.3-1.7-0.9-2.3c-0.6-0.6-1.5-0.8-2.3-0.7\n    c-0.6,0.1-1.3-0.2-1.7-0.6c-0.8-0.7-1.2-1.6-1.3-2.6c-0.2-1-0.5-2.1-1.2-2.8c-0.6-0.7-1.5-1.1-2.4-1.2c-0.7-0.1-1.4-0.2-2.1-0.1\n    c-0.4,0.1-0.9,0.3-1.2,0.5c-0.9,0.7-1.4,1.7-1.7,2.8c-0.2,0.5-0.7,0.9-1.2,1.1c-0.8,0.3-1.7,0.4-2.5,0.5c-1,0.1-1.9,0.6-2.4,1.4\n    c-0.3,0.5-0.5,1-0.7,1.5c-0.4,0.7-1.2,1-1.9,1.2c-0.9,0.3-1.9,0.5-2.7,1c-1.1,0.6-1.9,1.7-2.1,2.9c-0.2,1.1-0.1,2.3,0.4,3.4\n    c0.5,1,1.3,1.9,2.3,2.3c0.6,0.2,1.4,0.3,1.9,0.8c0.5,0.5,0.4,1.4,0.1,2c-0.3,0.5-0.6,0.8-0.9,1.2c-0.5,0.7-0.9,1.5-0.9,2.4\n    c-0.3,2.2,1.6,4.4,3.9,4.4c0.9,0,1.8,0,2.6,0.5c0.7,0.4,0.9,1.2,1.5,1.8c0.5,0.6,1.2,0.9,1.9,1.1c1.2,0.2,2.4,0.1,3.5-0.5\n    c1.1-0.5,1.9-1.5,2.4-2.6c0.3-0.6,0.5-1.2,1-1.6c0.6-0.5,1.6-0.4,2.2,0.2c0.5,0.6,0.7,1.4,1,2.1c0.4,1.1,1.3,2.1,2.3,2.7\n    c1.3,0.7,2.9,0.9,4.3,0.4c1.1-0.4,1.9-1.2,2.3-2.3c0.3-0.8,0.6-1.7,0.4-2.6c-0.3-1.7-1.6-3.1-3.2-3.6C36,32,35.4,32,34.8,31.9\n    c-0.4-0.1-0.8-0.3-1.1-0.7c-0.3-0.4-0.2-1,0-1.4C34,29.4,34.6,29.2,35.1,29.1z M19.8,18.5c-0.2,0.6-1.1,0.8-1.5,0.3\n    c-0.5-0.5-0.2-1.3,0.4-1.5C19.4,17.1,20,17.8,19.8,18.5z M29,18.4c-0.1,0.6-0.9,0.9-1.4,0.5c-0.5-0.4-0.4-1.3,0.2-1.5\n    C28.5,17.1,29.2,17.7,29,18.4z"></path></g><g id="bebo"><rect fill="#ED1213" width="48" height="48"></rect><path fill="#FFFFFF" d="M24,7C14.6,7,7,14.6,7,24c0,9.4,7.6,17,17,17c9.4,0,17-7.6,17-17C41,14.6,33.4,7,24,7z M28.6,34.9h-5.7\n    c-4.6-0.2-8.2-3-8.3-6.9V15.1c0-3.3,3.5-3.3,3.5,0v10.5c0.1,2.8,1.6,4.9,4.2,5.4h5.9c4.3-0.2,7.1-7.4,0-9.3h-5.1\n    c-3.1,0-3.4-3.7,0-3.7h5.3c4.5,0.2,7.3,3.3,7.8,6.4c0.2,1,0.3,3.1,0,4.3C35.4,31.1,33.5,34.4,28.6,34.9z"></path></g><g id="blogger"><rect fill="#FF9800" width="48" height="48"></rect><path fill="#F1F1F1" d="M37.1,20.2h-1.2c-1,0-1.9-0.8-1.9-1.9c0-5.2-4.2-9.4-9.4-9.4h-6.2C13.2,9,9,13.2,9,18.4v11.2\n    c0,5.2,4.2,9.4,9.4,9.4h11.2c5.2,0,9.4-4.2,9.4-9.4v-7.5C39,21.1,38.2,20.2,37.1,20.2z M18.4,16.5h7.5c1,0,1.9,0.8,1.9,1.9\n    s-0.8,1.9-1.9,1.9h-7.5c-1,0-1.9-0.8-1.9-1.9S17.3,16.5,18.4,16.5z M29.6,31.5H18.4c-1,0-1.9-0.8-1.9-1.9s0.8-1.9,1.9-1.9h11.2\n    c1,0,1.9,0.8,1.9,1.9S30.7,31.5,29.6,31.5z"></path></g><g id="cyworld"><rect fill="#FF6500" width="48" height="48"></rect><path fill="#FFFFFF" d="M41,24c0,9.4-7.6,17-17,17c-9.4,0-17-7.6-17-17c0-9.4,7.6-17,17-17C33.4,7,41,14.6,41,24z M24,15\n    c-5,0-9,4-9,9c0,5,4,9,9,9c5,0,9-4,9-9C33,19,29,15,24,15z"></path><path fill="#FFFFFF" d="M18,19.6v2.3c0,0.4,0.3,0.7,0.7,0.7c0.4,0,0.7-0.3,0.7-0.7v-2.3c0-0.4-0.3-0.7-0.7-0.7\n    C18.3,18.9,18,19.2,18,19.6z"></path><path fill="#FFFFFF" d="M28.4,19.6v2.3c0,0.4,0.3,0.7,0.7,0.7c0.4,0,0.7-0.3,0.7-0.7v-2.3c0-0.4-0.3-0.7-0.7-0.7\n    C28.7,18.9,28.4,19.2,28.4,19.6z"></path><path fill="#FFFFFF" d="M26.3,24.8c0,1.4-1.1,2.6-2.6,2.6c-1.4,0-2.6-1.1-2.6-2.6c0-0.4-0.3-0.7-0.7-0.7c-0.4,0-0.7,0.3-0.7,0.7\n    c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4c0-0.4-0.3-0.7-0.7-0.7C26.6,24.1,26.3,24.4,26.3,24.8z"></path><path fill="#FFFFFF" d="M23.5,19.9l-1.6,1.6c-0.1,0.1-0.2,0.3-0.2,0.5c0,0.2,0.1,0.4,0.2,0.5l1.6,1.6c0.3,0.3,0.7,0.3,1,0\n    c0.1-0.1,0.2-0.3,0.2-0.5c0-0.2-0.1-0.4-0.2-0.5c0,0-0.6-0.6-1.1-1.1c0.5-0.5,1.1-1.1,1.1-1.1c0.1-0.1,0.2-0.3,0.2-0.5\n    c0-0.2-0.1-0.4-0.2-0.5C24.2,19.6,23.7,19.6,23.5,19.9z"></path></g><g id="digg"><rect width="48" height="48"></rect><path fill="#FFFFFF" d="M10.5,26.1h1.6v-4.3h-1.6V26.1z M7,18.9h5.1v-4.3h3.5v14.6H7V18.9z M20.7,17.5h-3.5v-3h3.5V17.5z\n     M20.7,29.1h-3.5V18.9h3.5V29.1z M25.7,26.1h1.6v-4.3h-1.6V26.1z M22.3,33.4v-3h5.1v-1.4h-5.1V18.9h8.6v14.6L22.3,33.4z M35.9,26.1\n    h1.6v-4.3h-1.6V26.1z M32.4,33.4v-3h5.1v-1.4h-5.1V18.9H41l0,14.6L32.4,33.4z"></path></g><g id="email"><g fill-rule="nonzero"><rect fill="#888888" width="48" height="48"></rect><path d="M35,13 L13,13 C11.26,13 10.014,14.2375 10,16 L10,32 C10,33.7625 11.26,35 13,35 L35,35 C36.74,35 38,33.7625 38,32 L38,16 C38,14.2375 36.74,13 35,13 Z M35,19 L24,26 L13,19 L13,16 L24,23 L35,16 L35,19 Z" fill="#FFFFFF"></path></g></g><g id="embed"><rect fill="#F4F4F4" width="48" height="48"></rect><path d="M20.88,29.72 L15.36,24.2 L20.88,18.68 L19.2,17 L12,24.2 L19.2,31.4 L20.88,29.72 Z M27.12,29.72 L32.64,24.2 L27.12,18.68 L28.8,17 L36,24.2 L28.8,31.4 L27.12,29.72 Z" fill="#6F6F6F" fill-rule="nonzero"></path></g><g id="facebook"><rect fill="#3B5898" width="48" height="48"></rect><path fill="#FFFFFF" d="M39.4,29.4l0.9-7.2h-7.2v-4.6c0-2.1,0.6-3.5,3.6-3.5h3.8V7.5c-0.7-0.1-2.9-0.3-5.6-0.3\n    c-5.5,0-9.3,3.4-9.3,9.6v5.3h-6.3v7.2h6.3V48h7.5V29.4H39.4z"></path></g><g id="fotka"><rect fill="#529ABC" width="48" height="48"></rect><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M29.4,17.4C20.7,17.1,7,23.8,7,23.8l0.6,0.6\n    c9.4-4.4,16.8-5.3,21.7-5c5.5,0.4,8.9,2,11.1,4.3l0,0l0.6-1.8C41,21.9,38.1,17.7,29.4,17.4z"></path><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M28.5,21.3c-2.6,0-4.7,2.1-4.7,4.7s2.1,4.7,4.7,4.7\n    s4.7-2.1,4.7-4.7S31.1,21.3,28.5,21.3z M29.2,26.3c-1,0-1.8-0.8-1.8-1.8s0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8S30.2,26.3,29.2,26.3z"></path></g><g id="goo"><rect fill="#CE2E2D" width="48" height="48"></rect><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M11.8,25.9c1.2,0,2.4,0,3.5,0.4c1.4,0.5,2.5,1.4,2.5,3\n    c0,2.7-3.3,3.4-5.4,3.4c-2.1,0-5.4-0.6-5.4-3.3c0-1.3,0.9-2.1,2-2.5v0c-1-0.3-1.8-0.9-1.8-2c0-1.1,0.8-1.8,1.8-2.1\n    c-0.4-0.5-0.6-1.2-0.6-1.8c0-2.2,2-3.4,4.1-3.4c0.4,0,0.9,0,1.3,0.2c-0.1-1.4,1.2-2.2,2.4-2.2c1.1,0,2.4,0.6,2.4,1.9\n    c0,0.6-0.5,1.2-1.2,1.2c-0.5,0-0.8-0.3-0.8-0.8c0-0.3,0.2-0.5,0.5-0.7c-0.2-0.3-0.5-0.5-0.9-0.5c-0.8,0-1.2,0.7-1.2,1.5\n    c1.1,0.6,1.7,1.8,1.7,3c0,2.3-2,3.6-4,3.6c-0.9,0-1.7-0.2-2.4-0.6C10,24,9.7,23.9,9.6,23.9c-0.5,0-0.8,0.5-0.8,0.9\n    c0,1,1.5,1.1,2.2,1.1H11.8z M15,21c0-1.3-1.2-2.2-2.5-2.2c-1.3,0-2.4,0.9-2.4,2.2c0,1.4,1.1,2.2,2.4,2.2C13.8,23.2,15,22.4,15,21z\n     M9.9,27.8c-0.6,0.3-1.1,0.8-1.1,1.5c0,0.8,0.7,1.4,1.4,1.6c0.7,0.2,1.6,0.3,2.3,0.3c1.2,0,3.7-0.3,3.7-2c0-1.7-2.4-1.9-3.6-1.9\n    C11.7,27.4,10.6,27.5,9.9,27.8z"></path><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M23.9,17.4c1.5,0,2.9,0.4,3.9,1.6c0.9,1.2,1.3,2.7,1.3,4.2\n    c0,3.2-1.8,5.9-5.2,5.9c-3.4,0-5-2.7-5-5.8C18.9,20.1,20.5,17.4,23.9,17.4z M23.9,27.6c2.6,0,3.5-2.3,3.5-4.5c0-1-0.2-2.2-0.8-3\n    c-0.6-0.9-1.5-1.2-2.6-1.2c-1.2,0-2.1,0.4-2.7,1.4c-0.5,0.8-0.7,2-0.7,2.9C20.6,25.3,21.4,27.6,23.9,27.6z"></path><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M35.8,17.4c1.5,0,2.9,0.4,3.9,1.6c0.9,1.2,1.3,2.7,1.3,4.2\n    c0,3.2-1.8,5.9-5.2,5.9c-3.4,0-5-2.7-5-5.8C30.7,20.1,32.4,17.4,35.8,17.4z M35.8,27.6c2.6,0,3.5-2.3,3.5-4.5c0-1-0.2-2.2-0.8-3\n    c-0.6-0.9-1.5-1.2-2.6-1.2c-1.2,0-2.1,0.4-2.7,1.4c-0.5,0.8-0.7,2-0.7,2.9C32.5,25.3,33.3,27.6,35.8,27.6z"></path><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M23.5,24.1c-0.6,0-1.2,0.6-1.2,1.2c0,0.7,0.6,1.2,1.2,1.2\n    c0.7,0,1.2-0.5,1.2-1.2C24.7,24.7,24.1,24.1,23.5,24.1z"></path><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M35.1,24.1c-0.7,0-1.2,0.6-1.2,1.2c0,0.7,0.5,1.2,1.2,1.2\n    c0.6,0,1.2-0.5,1.2-1.2C36.3,24.7,35.8,24.1,35.1,24.1z"></path></g><g id="hi5"><rect fill="#F7F7F7" width="48" height="48"></rect><path fill="#394142" d="M39.8,21.8c0.9,1.1,1.3,2.6,1.1,4.1c-0.1,1.7-0.9,3.4-2.2,4.4c-1.2,1-2.9,1.7-5.1,1.7\n    c-1.6,0-3.2-0.3-4.5-1.1v0.7c-7.4,0-14.8,0-22.2,0c0-1.8,0-3.6,0-5.5h1.1v-4.7H7c0-1.8,0-3.7,0-5.5c2.8,0,5.5,0,8.3,0v3.9\n    c1.4-0.5,3.2-0.5,4.4,0.5v-0.6h2v-2.9c2.1,0,4.2,0,6.3,0v2.2l0.6-3.1c3.8,0,7.6,0,11.4,0C40,17.9,39.9,19.9,39.8,21.8z"></path><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFA900" d="M23.2,18.3h3.4v2.3h-3.4V18.3z M17.2,21c2.3,0,2.6,2,2.6,2.8v3.8\n    h1.2v2.6h-6v-2.6h0.6v-3.1c0-1.5-1.7-1-1.7,1.5v1.7h0.5v2.6H8.4v-2.6h1.1V20H8.4v-2.6h5.4V23C14.6,21.8,15.6,21,17.2,21z\n     M21.2,21.2h5.4v6.4h1.1v2.6h-6.5v-2.6h1.1v-3.8h-1.1V21.2z"></path><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M35.3,21.4c2.4,0,4.4,1.2,4.3,4.4c0,2.5-2,4.8-5.8,4.8\n    c-2.5,0-4.6-0.9-5.3-2.3c-0.8-1.4-0.2-3.6,1.7-3.6c1.2,0,2,0.5,1.7,1.9c-0.3,0.9,0.3,1.2,0.9,1.2c0.9,0,1.6-1,1.6-2.1\n    c0-1-0.4-2-1.3-2c-0.4,0-0.8,0.1-1.2,0.7L28.6,24l1.2-6.6h8.7l-0.2,3.4h-5.8L32.5,22C33.4,21.6,34.4,21.4,35.3,21.4z"></path></g><g id="kakao"><g fill="none" fill-rule="evenodd"><path fill="#FFE812" d="M0 0h48v48H0z"></path><g fill-rule="nonzero"><path fill="#000" d="M24 10c-8.836615 0-16 5.546833-16 12.38908 0 4.423658 2.99477 8.305218 7.499692 10.497027-.245077.830069-1.574923 5.339996-1.627846 5.694294 0 0-.031846.266214.143692.367744.175539.10153.382.022663.382.022663.503385-.069046 5.837385-3.748603 6.760616-4.387548.922308.128273 1.872.194902 2.841846.194902 8.836615 0 16-5.546682 16-12.389081C40 15.546833 32.836615 10 24 10z"></path><path fill="#FFE812" d="M15.2897 27c-.512264 0-.928857-.387012-.928857-.86287v-5.367718h-1.449325c-.502666 0-.911518-.39695-.911518-.884706C12 19.39695 12.409006 19 12.911518 19h4.756364c.502666 0 .911518.39695.911518.884706 0 .487755-.409007.884706-.911518.884706h-1.449326v5.367717c0 .47586-.416592.862871-.928856.862871zm8.144832-.011746c-.387333 0-.683638-.152998-.772963-.399059l-.459939-1.171275-2.832393-.00015-.460248 1.172028c-.089015.24561-.385166.398456-.772499.398456-.20374.000203-.40513-.042326-.590443-.124687-.256055-.114899-.502202-.430833-.220139-1.283012l2.221825-5.68862c.156512-.43264.631932-.878382 1.236927-.891784.606698.013251 1.082118.459143 1.23894.892687l2.220895 5.68606c.282682.854137.036535 1.170222-.21952 1.28482-.185357.082215-.386725.124687-.590443.124536-.000154 0 0 0 0 0zm-1.721325-3.170786l-.927773-2.563765-.927773 2.563765h1.855546zm4.026128 3.050767c-.4909 0-.890154-.371651-.890154-.828235v-6.13647c0-.498297.425416-.90353.948207-.90353.522792 0 .948208.405233.948208.90353v5.308235h1.97382c.4909 0 .890154.371652.890154.828235 0 .456584-.399253.828235-.890154.828235h-2.980081zm5.160417.12002c-.512265 0-.928857-.405234-.928857-.90353v-6.181196c0-.498296.416592-.903529.928857-.903529.512264 0 .928856.405233.928856.90353v1.941985l2.59151-2.520847c.13329-.129656.31643-.201035.515205-.201035.231905 0 .464738.09728.639208.266842.162705.158118.25977.361563.273084.572838.013469.213082-.059447.408395-.204968.550099l-2.116709 2.058692 2.28638 2.946409c.149112.190929.213346.43202.178341.669365-.033445.237492-.16323.45208-.360396.595877-.160626.118763-.356948.182842-.558707.182363-.291844.00132-.567083-.131904-.742002-.359153l-2.178323-2.807567-.322313.313524v1.97135c-.000597.498956-.416225.903318-.929166.903982z"></path></g></g></g><g id="linkedin"><rect fill="#0080B2" width="48" height="48"></rect><path fill="#FFFFFF" d="M9.4,39h6.4V18.8H9.4V39z M12.6,9C10.4,9,9,10.5,9,12.5c0,1.9,1.4,3.5,3.6,3.5l0,0c2.2,0,3.6-1.6,3.6-3.5\n    C16.2,10.5,14.8,9,12.6,9z M31.6,18.3c-3.4,0-4.9,2-5.8,3.3v0.1l0,0v-0.1v-2.9h-6.4c0.1,1.9,0,20.2,0,20.2h6.4V27.7\n    c0-0.6,0-1.2,0.2-1.6c0.5-1.2,1.5-2.5,3.3-2.5c2.3,0,3.3,1.9,3.3,4.6V39H39V27.4C39,21.2,35.8,18.3,31.6,18.3z"></path></g><g id="livejournal"><rect fill="#F7F7F7" width="48" height="48"></rect><path fill="#00B0EA" d="M25.1,9.2c-2.2,0-4.4,0.5-6.3,1.3L15.3,7h0c-3.7,1.6-6.7,4.6-8.2,8.3l3.5,3.5 l0,0c-0.8,1.9-1.3,4.1-1.3,6.3c0,8.8,7.1,15.9,15.9,15.9C33.9,41,41,33.9,41,25.1S33.9,9.2,25.1,9.2"></path><path fill="#15374C" d="M23.5,31.7C25,28,28,25,31.7,23.4h0L18.8,10.5l0,0c-3.7,1.6-6.7,4.6-8.3,8.3 L23.5,31.7z"></path><path fill="#15374C" d="M32.6,27.8c-2.1,0.9-3.9,2.7-4.8,4.8l6,1.2L32.6,27.8z"></path><path fill="#FFFFFF" d="M32.8,28.7l1.1,5.2C33.9,33.9,33.3,31.3,32.8,28.7"></path><path fill="#FFFFFF" d="M32.6,27.8c-0.5-2.3-0.9-4.4-0.9-4.4l0,0C28,25,25,28,23.5,31.7l4.4,0.9 C28.8,30.5,30.5,28.8,32.6,27.8"></path></g><g id="mail"><g fill-rule="nonzero"><rect fill="#888888" width="48" height="48"></rect><path d="M35,13 L13,13 C11.26,13 10.014,14.2375 10,16 L10,32 C10,33.7625 11.26,35 13,35 L35,35 C36.74,35 38,33.7625 38,32 L38,16 C38,14.2375 36.74,13 35,13 Z M35,19 L24,26 L13,19 L13,16 L24,23 L35,16 L35,19 Z" fill="#FFFFFF"></path></g></g><g id="meneame"><rect fill="#FF6400" width="48" height="48"></rect><path fill="#FFFFFF" d="M38.3,15.7c-2.4,2.4-6.7,2.3-8.2,5.6c-1.4,3.9,1.8,10,3.2,13.5c0.9,1.8-7.1,3.6-6.1,4\n    c5.6-0.1,8-2.1,7.3-4.6c-0.6-2.4-3.6-7.2-3.6-11.1c0.1-2.9,3.3-3.8,5.4-5c2.4-1.1,4.7-3.5,4.1-6.4c0-1-1.8-4.4-1.1-1.8\n    C39.7,11.9,39.9,14.2,38.3,15.7z"></path><path fill="#FFFFFF" d="M30.9,11.3c-3.1-1.6-6.5-2.5-10-1.7C19,10,16.8,11,15.5,12.8c-1.7,2-1.7,4.9-0.6,7.2c0.9,1.8,2.2,3.7,4.3,4\n    c1.8,0.3,3.8,0,5.3-1c-1.8,0.3-4,1-5.6-0.3c-2.8-1.8-4.1-5.8-2.4-8.7c1.3-2.5,4.1-3.3,6.9-3.4c3.8-0.2,7.5,2,8.9,2.5\n    c1.4,0.4,3.3,1,4.3-0.5c0.6-0.7,0.3-2.5-0.1-2.7c0.1,1.3-0.8,2.9-2.3,2.5C33,12.3,32,11.8,30.9,11.3z"></path><path fill="#FFFFFF" d="M10.4,22.7c-1.8,2.8-3.4,6.1-2.8,9.5c0.6,3.6,4,6.1,7.4,6.5c3.5,0.4,7,0.3,10.6,0.1\n    c0.6-0.6-2.9-0.6-4.3-0.8c-3.3-0.4-7-0.4-9.8-2.4c-2.7-2-3-5.9-1.7-8.8c1.1-2.7,2.7-5.3,4.4-7.6C12.8,20.3,11.6,21.1,10.4,22.7z"></path><path fill="#FFFFFF" d="M19.2,31.5c2.1,0.2,5.5-0.1,7.1,1.1c0.6,0.9-0.5,5.7-0.1,6.3c0.8,0.2,1.8-5.7,1.2-7.1\n    C27.1,30.6,20,31.2,19.2,31.5z"></path></g><g id="mixi"><rect fill="#D1AD5A" width="48" height="48"></rect><path fill="#FFFFFF" d="M34.6,12C31.1,9.4,27,8.6,22.7,9.2c-5,0.6-9.1,2.9-12.1,7c-2.2,3.1-3.2,6.6-2.2,10.4c1.1,4,3.8,6.6,7.6,8.1\n    c2.7,1.1,5.6,1.4,8.5,1.2c0.6-0.1,0.6,0.1,0.6,0.6c0,0.8,0,1.6,0,2.5c0.1,0,0.2,0,0.3-0.1c4.3-1.5,8.1-3.8,11.1-7.3\n    c2.1-2.5,3.4-5.3,3.5-8.5C40.2,18.4,38.3,14.7,34.6,12z M32.2,28.7c-1.6,0-1.6,0-1.6-1.6c0-1.9,0-3.8,0-5.7c0-1-0.2-1.9-1.2-2.3\n    c-1.1-0.5-2.2-0.3-3.1,0.5c-0.9,0.7-1.2,1.8-1.3,2.9c0,1.9,0,3.8,0,5.7c0,0.5-0.1,0.6-0.6,0.6c-1.5,0-1.5,0-1.5-1.5\n    c0-1.8,0-3.6,0-5.4v-0.3c0-1.4-0.5-2.3-1.4-2.5C20.4,18.6,19,19,18.2,20c-0.6,0.8-0.8,1.7-0.8,2.6c0,1.8,0,3.6,0,5.5\n    c0,0.5-0.1,0.6-0.6,0.6c-1.5,0-1.5,0-1.5-1.5c0-3.1,0-6.2,0-9.4c0-0.5,0.1-0.6,0.6-0.6c1.5,0,1.5,0,1.5,1.5c0,0.1,0,0.2,0,0.4\n    c2.1-2.8,5.9-2.7,7.3,0.1c1.1-1.4,2.5-2.2,4.3-2.2c2,0,3.3,1.2,3.6,3.2c0.1,1.1,0.1,2.2,0.1,3.2c0,1.6,0,3.2,0,4.7\n    C32.7,28.5,32.6,28.7,32.2,28.7z"></path></g><g id="myspace"><rect width="48" height="48"></rect><circle fill="#FFFFFF" cx="35.1" cy="19" r="5.4"></circle><circle fill="#FFFFFF" cx="22.9" cy="20.5" r="4.9"></circle><circle fill="#FFFFFF" cx="11.8" cy="21.9" r="4.4"></circle><path fill="#FFFFFF" d="M11.8,27.3c-2.8,0-4.8,2.4-4.8,5V34c0,0.2,0.2,0.4,0.4,0.4h0.2H16h0.2c0.2,0,0.4-0.2,0.4-0.4v-1.7\n    C16.6,29.7,14.6,27.3,11.8,27.3z"></path><path fill="#FFFFFF" d="M22.9,26.5c-3.1,0-5.4,2.7-5.4,5.5v1.9c0,0.3,0.2,0.5,0.5,0.5h0.2h9.4h0.2c0.3,0,0.5-0.2,0.5-0.5V32\n    C28.2,29.2,26,26.5,22.9,26.5z"></path><path fill="#FFFFFF" d="M35.1,25.6c-3.4,0-5.9,3-5.9,6.1v2.1c0,0.3,0.2,0.5,0.5,0.5h0.2h10.4h0.2c0.3,0,0.5-0.2,0.5-0.5v-2.1\n    C41,28.6,38.5,25.6,35.1,25.6z"></path></g><g id="naver"><g fill="none" fill-rule="evenodd"><path fill="#00CD00" d="M0 0h48v48H0z"></path><path fill="#FFF" fill-rule="nonzero" d="M27.72603 13v10.9589L20.27397 13H12v21.91781h8.27397V23.9589l7.45206 10.95891H36V13z"></path></g></g><g id="odnoklassniki"><rect fill="#F6881F" width="48" height="48"></rect><path fill="#FFFFFF" d="M24,24.2c4.8,0,8.6-3.9,8.6-8.6c0-4.8-3.9-8.6-8.6-8.6c-4.8,0-8.6,3.9-8.6,8.6C15.4,20.4,19.2,24.2,24,24.2\n    z M24,11.4c2.3,0,4.2,1.9,4.2,4.2c0,2.3-1.9,4.2-4.2,4.2c-2.3,0-4.2-1.9-4.2-4.2C19.8,13.3,21.7,11.4,24,11.4z M33.9,25.3\n    c-0.5-1-1.8-1.8-3.6-0.4c-2.4,1.9-6.3,1.9-6.3,1.9s-3.9,0-6.3-1.9c-1.8-1.4-3.1-0.6-3.6,0.4c-0.8,1.7,0.1,2.5,2.3,3.9\n    c1.8,1.2,4.4,1.6,6,1.8L21,32.3c-1.9,1.9-3.8,3.8-5.1,5.1c-0.8,0.8-0.8,2,0,2.8l0.2,0.2c0.8,0.8,2,0.8,2.8,0l5.1-5.1\n    c1.9,1.9,3.8,3.8,5.1,5.1c0.8,0.8,2,0.8,2.8,0l0.2-0.2c0.8-0.8,0.8-2,0-2.8L27,32.3L25.7,31c1.6-0.2,4.1-0.6,6-1.8\n    C33.8,27.8,34.8,27,33.9,25.3z"></path></g><g id="pinterest"><rect fill="#CB2027" width="48" height="48"></rect><path fill="#FFFFFF" d="M24,7C14.6,7,7,14.6,7,24c0,7,4.2,12.9,10.2,15.6c0-1.2,0-2.6,0.3-3.9c0.3-1.4,2.2-9.3,2.2-9.3\n    s-0.5-1.1-0.5-2.7c0-2.5,1.5-4.4,3.3-4.4c1.5,0,2.3,1.2,2.3,2.6c0,1.6-1,3.9-1.5,6c-0.4,1.8,0.9,3.3,2.7,3.3c3.2,0,5.4-4.1,5.4-9\n    c0-3.7-2.5-6.5-7.1-6.5c-5.2,0-8.4,3.8-8.4,8.1c0,1.5,0.4,2.5,1.1,3.3c0.3,0.4,0.4,0.5,0.2,0.9c-0.1,0.3-0.3,1.1-0.3,1.4\n    c-0.1,0.4-0.5,0.6-0.9,0.4c-2.4-1-3.5-3.6-3.5-6.5c0-4.8,4.1-10.6,12.1-10.6c6.5,0,10.8,4.7,10.8,9.7c0,6.7-3.7,11.6-9.2,11.6\n    c-1.8,0-3.6-1-4.2-2.1c0,0-1,3.9-1.2,4.7c-0.4,1.3-1.1,2.6-1.7,3.6c1.5,0.5,3.1,0.7,4.8,0.7c9.4,0,17-7.6,17-17\n    C41,14.6,33.4,7,24,7z"></path></g><g id="rakuten"><rect fill="#CB2027" width="48" height="48"></rect><path fill="#FFFFFF" d="M24,7C14.6,7,7,14.6,7,24c0,9.4,7.6,17,17,17c9.4,0,17-7.6,17-17C41,14.6,33.4,7,24,7z M27.9,33.1\n    c0,0-4.1-5.7-4.2-5.9h-1.8c0,0.5,0,5.9,0,5.9h-3.5V14.9h5.9c3.4,0,6.2,2.8,6.2,6.2c0,2.2-1.2,4.3-3.1,5.3c0.3,0.4,4.8,6.7,4.8,6.7\n    H27.9z M24.3,18.3c0,0-2,0-2.4,0v5.4c0.4,0,2.4,0,2.4,0c1.5,0,2.7-1.2,2.7-2.7C27,19.6,25.8,18.3,24.3,18.3z"></path></g><g id="reddit"><rect fill="#CEE3F8" width="48" height="48"></rect><circle fill="#FFFFFF" cx="35.5" cy="13.2" r="2.5"></circle><path fill="#FFFFFF" d="M40.2,23.7c0-1.7-1.4-3.1-3.2-3.1c-1,0-1.9,0.5-2.5,1.2c-2.6-1.8-6.4-3-10.6-3s-7.9,1.1-10.6,2.9\n    c-0.6-0.7-1.5-1.1-2.4-1.1c-1.8,0-3.2,1.4-3.2,3.1c0,1.3,0.8,2.4,1.9,2.9C9.5,27,9.5,27.5,9.5,28c0,5.1,6.5,9.3,14.5,9.3\n    s14.5-4.1,14.5-9.3c0-0.5-0.1-0.9-0.2-1.4C39.4,26.2,40.2,25,40.2,23.7z"></path><path fill="#000000" d="M41,23.7c0-2.1-1.8-3.9-3.9-3.9c-1,0-1.9,0.4-2.6,1c-2.6-1.6-5.9-2.6-9.4-2.7l1.9-5.9l5.2,1.2c0.1,1.7,1.5,3.1,3.3,3.1\n    s3.3-1.4,3.3-3.2s-1.5-3.2-3.3-3.2c-1.3,0-2.4,0.8-3,1.9l-5.9-1.4c-0.4-0.1-0.8,0.1-0.9,0.5l-2.3,7c-3.8,0.1-7.3,1-10,2.7\n    c-0.7-0.6-1.6-0.9-2.5-0.9c-2.2,0-3.9,1.7-3.9,3.9c0,1.4,0.7,2.6,1.8,3.2c-0.1,0.4-0.1,0.7-0.1,1.1c0,2.7,1.6,5.3,4.6,7.2\n    C16.1,37,19.9,38,23.9,38s7.8-1,10.6-2.8c3-1.9,4.6-4.4,4.6-7.2c0-0.3,0-0.7-0.1-1C40.2,26.3,41,25.1,41,23.7z M35.5,11.5\n    c1,0,1.8,0.8,1.8,1.7c0,0.9-0.8,1.7-1.8,1.7s-1.8-0.8-1.8-1.7C33.7,12.3,34.5,11.5,35.5,11.5z M8.5,23.7c0-1.3,1.1-2.4,2.4-2.4\n    c0.5,0,0.9,0.1,1.2,0.3c-1.4,1.1-2.4,2.4-2.9,3.8C8.8,25,8.5,24.4,8.5,23.7z M33.7,33.9c-2.6,1.7-6.1,2.6-9.8,2.6s-7.2-0.9-9.8-2.6\n    c-2.5-1.6-3.9-3.7-3.9-5.9c0-0.2,0-0.3,0-0.5c0-0.5,0.2-1,0.3-1.4c0.5-1.2,1.3-2.3,2.6-3.3c0.3-0.2,0.6-0.5,0.9-0.7\n    c0.1-0.1,0.2-0.1,0.3-0.2c2.6-1.6,5.9-2.4,9.5-2.4s7,0.9,9.6,2.5l0.2,0.1c0.4,0.2,0.7,0.5,1,0.8c1.2,1,2,2.1,2.5,3.2\n    c0.2,0.5,0.3,1,0.3,1.4c0,0.2,0,0.3,0,0.5C37.6,30.2,36.3,32.3,33.7,33.9z M38.6,25.5c-0.5-1.4-1.5-2.7-2.9-3.8\n    c0.4-0.2,0.8-0.4,1.3-0.4c1.3,0,2.4,1.1,2.4,2.4C39.5,24.4,39.2,25.1,38.6,25.5z"></path><path fill="#FF4500" d="M18.9,23.9c-1.3,0-2.4,1.1-2.4,2.3s1.1,2.3,2.4,2.3s2.3-1,2.3-2.3S20.2,23.9,18.9,23.9z"></path><path fill="#FF4500" d="M29.1,23.9c-1.3,0-2.4,1.1-2.4,2.3c0,1.3,1.1,2.3,2.4,2.3s2.3-1,2.3-2.3S30.4,23.9,29.1,23.9z"></path><path fill="#000000" d="M29.5,31.7c-0.3-0.3-0.8-0.3-1.1,0C27.6,32.6,26.1,33,24,33s-3.6-0.4-4.4-1.3c-0.3-0.3-0.8-0.3-1.1,0c-0.3,0.3-0.3,0.8,0,1\n    c1.2,1.1,3,1.7,5.5,1.7s4.3-0.6,5.5-1.7C29.8,32.5,29.8,32,29.5,31.7z"></path></g><g id="skyblog"><rect fill="#00A4FE" width="48" height="48"></rect><path fill="#FFFFFF" d="M7,29.8c1.4,0,2.7,0,4,0c0.2,1.1,0.6,2.2,1.8,2.7c0.7,0.3,1.6,0.5,2.4,0.6c0.8,0.1,1.7-0.1,2.6-0.3\n    c0.9-0.2,1.5-0.8,1.7-1.8c0.2-1-0.3-1.6-1.1-2.1c-1.4-0.9-3-1.2-4.5-1.6c-1-0.3-2-0.5-3-0.8c-2.1-0.6-3.3-2.1-3.6-4.2\n    c-0.3-2,0.1-3.8,1.6-5.3c1-1,2.3-1.5,3.7-1.7c2-0.3,3.9-0.4,5.9,0.2c2.8,0.8,4.3,3.2,4.4,6c-1.2,0-2.5,0-3.7,0\n    c-0.1-0.1-0.1-0.3-0.2-0.5c-0.5-1.3-1.3-2.2-2.7-2.3c-1-0.1-2.1-0.1-3.1,0.1c-1.1,0.2-1.6,1.1-1.8,2c-0.1,1,0.6,1.7,1.5,2\n    c1.4,0.5,2.8,0.8,4.2,1.3c1.2,0.3,2.3,0.7,3.4,1.1c2,0.8,2.9,2.3,3.1,4.4c0.1,1.8-0.3,3.4-1.6,4.8c-1.1,1.2-2.5,1.7-4,2\n    c-2.4,0.4-4.8,0.4-7.1-0.5C8.6,34.9,6.8,32.2,7,29.8z"></path><path fill="#FFFFFF" d="M34,41.3c-3.2-2.3-6.2-4.5-9.2-6.6c-0.1-0.1-0.2-0.5-0.1-0.7c0.2-0.7,0.5-1.4,0.9-2.2c1,0.7,2,1.4,3.2,2.2\n    c-0.7-2.2-1.3-4.1-2-6.1c-0.3-0.8-0.1-1.1,0.5-1.6c1.7-1.1,3.3-2.4,5-3.7c-2.4,0-4.8,0-7.1,0c-0.3-1.5-0.5-2.9-0.9-4.2\n    c-0.6-1.8-1.8-3.2-3.5-4.1c-0.4-0.2-0.5-0.4-0.4-0.9c0.7-2.1,1.4-4.2,2.1-6.3c0-0.1,0.1-0.2,0.2-0.4c0.6,2,1.2,3.8,1.9,5.7\n    c0.7,2.3,1.5,4.6,2.2,6.9c0.2,0.5,0.4,0.6,0.9,0.6c4.1,0,8.2,0,12.4,0c0.2,0,0.5,0,1,0c-0.6,0.4-1,0.8-1.4,1.1\n    c-3.1,2.3-6.2,4.5-9.4,6.8c-0.4,0.3-0.5,0.5-0.3,0.9c1.3,4,2.6,8,3.9,12.1C33.8,40.8,33.9,41,34,41.3z"></path></g><g id="skype"><g fill="none" fill-rule="evenodd"><path fill="#00AFF0" d="M0 0h48v48H0z"></path><path d="M30.272 29.452c-.526.75-1.297 1.337-2.313 1.76-1.014.426-2.217.638-3.609.638-1.668 0-3.044-.29-4.129-.87a5.342 5.342 0 0 1-1.873-1.671c-.48-.696-.72-1.374-.72-2.033 0-.381.143-.709.432-.98.288-.274.655-.41 1.1-.41.362 0 .669.106.918.32.25.212.464.525.64.943.215.495.447.91.698 1.241.249.333.602.608 1.054.823.454.215 1.05.324 1.788.324 1.014 0 1.84-.216 2.474-.653.633-.433.952-.978.952-1.629 0-.515-.172-.936-.514-1.256-.342-.323-.784-.568-1.326-.738a23.907 23.907 0 0 0-2.175-.541c-1.214-.26-2.231-.568-3.05-.918-.817-.35-1.468-.827-1.948-1.432-.48-.606-.72-1.357-.72-2.255 0-.857.252-1.616.76-2.28.508-.666 1.241-1.178 2.204-1.535.96-.357 2.09-.535 3.39-.535 1.037 0 1.935.119 2.692.355.757.237 1.384.552 1.884.945.5.393.866.804 1.096 1.236.23.43.346.853.346 1.26 0 .375-.143.716-.432 1.015-.288.3-.647.452-1.077.452-.394 0-.692-.09-.895-.271-.204-.18-.425-.476-.663-.886-.308-.587-.675-1.045-1.108-1.373-.43-.33-1.121-.494-2.075-.494-.883 0-1.596.177-2.138.535-.543.356-.814.787-.814 1.29 0 .309.094.58.278.806.183.227.437.42.76.583.323.162.65.29.98.383.33.092.876.225 1.639.402.952.206 1.814.433 2.587.68.773.248 1.43.548 1.972.9a3.83 3.83 0 0 1 1.269 1.345c.303.54.456 1.203.456 1.988 0 .94-.265 1.786-.79 2.536m7.133-5.83c0-7.393-5.987-13.386-13.373-13.386-.691 0-1.364.067-2.026.168a7.595 7.595 0 0 0-4.951-1.833c-4.211 0-7.626 3.418-7.626 7.636 0 1.72.576 3.302 1.536 4.579a13.502 13.502 0 0 0-.306 2.837c0 7.395 5.986 13.388 13.373 13.388.949 0 1.874-.103 2.767-.292a7.574 7.574 0 0 0 5.003 1.883c4.212 0 7.627-3.417 7.627-7.633a7.599 7.599 0 0 0-2.19-5.348c.099-.656.166-1.318.166-1.998" fill="#FFF"></path></g></g><g id="stumbleupon"><g width="48" height="48" fill="none" fill-rule="evenodd"><path fill="#FF8226" d="M0 0h48v48H0z"></path><g fill="#FFF"><path d="M10 25.223v9.968c0 1.538 1.26 2.784 2.815 2.784s2.816-1.246 2.816-2.784V19.954c-.162 2.937-2.621 5.269-5.631 5.269M37.774 10c-6.126 0-11.092 4.912-11.092 10.97v3.415c0-1.538 1.26-2.784 2.815-2.784s2.816 1.246 2.816 2.784v1.417c0 1.538 1.26 2.784 2.815 2.784s2.815-1.246 2.815-2.784v-15.8L37.774 10" opacity=".3"></path><path d="M10 25.286c3.01 0 5.469-2.332 5.63-5.269v-2.612c0-.071.004-.142.01-.212.11-1.439 1.323-2.572 2.806-2.572 1.555 0 2.815 1.247 2.815 2.784V28.3c0 1.537 1.26 2.784 2.815 2.784s2.815-1.246 2.816-2.784V20.97c0-6.058 4.966-10.97 11.092-10.97H10v15.286z" opacity=".7"></path><path d="M10 25.223v9.968c0 1.538 1.26 2.784 2.815 2.784s2.816-1.246 2.816-2.784V19.954c-.162 2.937-2.621 5.269-5.631 5.269M37.774 10c-6.126 0-11.092 4.912-11.092 10.97v3.415c0-1.538 1.26-2.784 2.815-2.784s2.816 1.246 2.816 2.784v1.417c0 1.538 1.26 2.784 2.815 2.784s2.815-1.246 2.815-2.784v-15.8L37.774 10" opacity=".5"></path><path d="M10 25.286c3.01 0 5.469-2.332 5.63-5.269v-2.612c0-.071.004-.142.01-.212.11-1.439 1.323-2.572 2.806-2.572 1.555 0 2.815 1.247 2.815 2.784V28.3c0 1.537 1.26 2.784 2.815 2.784s2.815-1.246 2.816-2.784V20.97c0-6.058 4.966-10.97 11.092-10.97H10v15.286z"></path></g></g></g><g id="tuenti"><rect fill="#0C78BD" width="48" height="48"></rect><path fill="#FFFFFF" d="M38.9,34.6c-0.1-0.1-0.1-0.2-0.1-0.3c0-4.8,0-9.5,0-14.3c0-0.1,0-0.2,0.1-0.3c0,0.3,0.1,0.6,0.1,1\n    c0,4.2,0,8.3,0,12.5C39,33.6,39,34.1,38.9,34.6z"></path><path fill="#FFFFFF" d="M28,9c-0.1,0.1-0.2,0.1-0.3,0.1c-2.5,0-5,0-7.5,0c-0.1,0-0.2,0-0.3-0.1c0.2,0,0.4,0,0.6,0\n    c2.3,0,4.6,0,6.9,0C27.6,9,27.8,9,28,9z"></path><path fill="#FFFFFF" d="M9,20.1c0.1,0.1,0.1,0.2,0.1,0.3c0,2.4,0,4.8,0,7.2c0,0.1,0,0.2-0.1,0.3c0-0.3,0-0.6,0-0.9\n    c0-2.1,0-4.2,0-6.3C9,20.5,9,20.3,9,20.1z"></path><path fill="#FFFFFF" d="M20.2,39c0.1-0.1,0.2-0.1,0.3-0.1c4.2,0,8.5,0,12.7,0c0.1,0,0.2,0,0.3,0.1l-0.2,0c-4.3,0-8.6,0-12.9,0\n    L20.2,39z"></path><path fill="#FFFFFF" d="M38.9,20.5c0-0.3-0.1-0.6,0-0.8c0-0.3,0-0.5-0.1-0.8c-0.7-4.1-2.9-7.1-6.7-8.9c-1.3-0.6-2.7-1-4.2-1\n    c-0.2,0.1-0.4,0-0.5,0c-2.3,0-4.6,0-7,0c-0.2,0-0.4,0.1-0.6,0c-0.3,0-0.7,0-1,0.1c-4.2,0.7-7.2,3-9,6.8c-0.6,1.3-0.9,2.7-0.9,4.1\n    c0.1,0.2,0,0.4,0,0.6c0,2.2,0,4.5,0,6.7c0,0.2,0.1,0.4,0,0.6c0,0.4,0,0.8,0.1,1.2c0.7,4,2.9,7,6.5,8.8c1.4,0.7,2.9,1.1,4.5,1.1\n    c0.1,0,0.2,0,0.3,0c4.3,0,8.5,0,12.8,0c0.1,0,0.2,0,0.3,0c0.9,0,1.9,0,2.8-0.2c1.2-0.2,2-0.8,2.3-2c0.2-0.7,0.3-1.5,0.3-2.2\n    c-0.1-0.5,0-0.9,0-1.4C38.9,29,38.9,24.7,38.9,20.5z M22.3,27.3c-0.7,1.4-1.4,2.9-2.1,4.3c-0.3,0.7-1.1,1-1.8,0.8\n    c-0.7-0.2-1.2-0.8-1.2-1.6c0-0.2,0.1-0.5,0.2-0.7c0.7-1.4,1.4-2.8,2-4.2c0.4-0.8,1.3-1.2,2.1-0.8C22.4,25.5,22.7,26.5,22.3,27.3z\n     M20.9,21.4c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2c1.1,0,2,0.9,2,2C22.9,20.6,22,21.4,20.9,21.4z M28.6,31.8c-0.4,0.6-1.1,0.9-1.8,0.6\n    c-0.7-0.2-1.1-0.9-1-1.6c0-0.3,0.1-0.5,0.3-0.7c2.5-4.1,2.5-8.1,0-12.2c-0.3-0.5-0.4-1.1-0.1-1.6c0.3-0.5,0.8-0.8,1.4-0.8\n    c0.5,0,0.9,0.3,1.2,0.7c1.3,2,2.1,4.2,2.3,6.6c0,0.4,0.1,0.8,0.1,1.2C31,26.8,30.2,29.5,28.6,31.8z"></path></g><g id="tumblr"><rect fill="#385874" width="48" height="48"></rect><path fill="#FFFFFF" d="M25.3,7v8.6h9.3v5.3h-9.3v8.7c0,2,0.1,3.2,0.3,3.8c0.2,0.6,0.6,1,1.2,1.3c0.8,0.5,1.7,0.7,2.7,0.7\n    c1.8,0,3.6-0.6,5.4-1.7v5.4c-1.5,0.7-2.9,1.2-4.1,1.4c-1.2,0.3-2.6,0.4-4,0.4c-1.6,0-3.1-0.2-4.3-0.6c-1.3-0.4-2.3-1-3.2-1.7\n    c-0.9-0.7-1.5-1.5-1.8-2.3s-0.5-2-0.5-3.6V20.9h-4v-4.8c1.4-0.4,2.6-1.1,3.6-1.9c1-0.8,1.8-1.8,2.4-2.9c0.6-1.1,1-2.6,1.2-4.3H25.3\n    z"></path></g><g id="twitter"><rect fill="#55ACEE" width="48" height="48"></rect><path fill="#FFFFFF" d="M40,14.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6\n    C33.8,11.8,32,11,30.2,11c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3\n    c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8v0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1\n    c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1C10.9,36,14.4,37,18.1,37c12.1,0,18.7-10,18.7-18.7\n    c0-0.3,0-0.6,0-0.8C38,16.6,39.1,15.4,40,14.1z"></path></g><g id="vkontakte"><rect fill="#42678E" width="48" height="48"></rect><path fill="#FFFFFF" d="M34.6,33.7h-0.2c-1.7-0.3-2.9-1.5-3.9-2.6c-0.6-0.6-1.4-2.1-2.5-1.9c-1.5,0.2-0.7,2.7-1.4,3.8\n    c-0.5,0.9-2.6,0.7-4.1,0.6c-4.6-0.5-6.9-2.9-9-5.5c-2.2-2.8-3.9-5.7-5.5-9C7.7,18,7,16.9,7,15.6c0.7-0.6,2-0.4,3.2-0.4\n    c1,0,2.7-0.2,3.4,0.2c0.5,0.2,0.9,1.4,1.3,2.2c0.8,1.8,1.6,3.1,2.6,4.5c0.4,0.6,1.1,1.8,1.9,1.7c0.8-0.2,0.8-2,0.9-3.2\n    c0-1.4,0-3.1-0.4-3.8c-0.4-0.7-1.1-0.7-1.8-1.1c0.6-1.2,2.2-1.3,4.1-1.3c1.6,0,3.8-0.2,4.5,0.9c0.6,1.1,0.2,3,0.2,4.4\n    c0,1.6-0.3,3.3,0.8,4c0.9-0.1,1.3-0.9,1.8-1.6c1.1-1.4,1.8-2.7,2.6-4.5c0.3-0.8,0.7-2.1,1.4-2.3c1-0.4,2.5-0.1,3.9-0.1\n    c1.2,0,3.2-0.3,3.6,0.5c0.3,0.7-0.6,2.3-0.9,2.8c-1.1,1.7-2.1,2.8-3.3,4.4c-0.5,0.6-1.4,1.6-1.4,2.5c0,0.7,0.8,1.3,1.4,1.8\n    c1.2,1.1,2.1,2,3.1,3.2c0.4,0.5,1.2,1.5,1.1,2.1C40.8,34.5,36.2,33.2,34.6,33.7z"></path></g><g id="weibo"><g fill="none" fill-rule="evenodd"><path fill="#FFF" d="M0 0h48v48H0z"></path><g fill-rule="nonzero"><path d="M9 29c0 4.419 5.598 8 12.5 8S34 33.419 34 29c0-4.419-5.598-8-12.5-8S9 24.581 9 29" fill="#FFF"></path><path d="M20.931 36.783c-5.884.614-10.964-2.186-11.347-6.244-.382-4.063 4.08-7.847 9.96-8.46 5.884-.614 10.964 2.185 11.341 6.243.388 4.063-4.075 7.853-9.954 8.46M32.695 23.3c-.5-.16-.844-.263-.584-.954.569-1.5.628-2.794.01-3.722-1.152-1.733-4.31-1.64-7.929-.047 0 0-1.138.521-.843-.422.554-1.882.47-3.455-.393-4.368-1.961-2.067-7.183.078-11.66 4.785C7.946 22.094 6 25.832 6 29.064 6 35.241 13.537 39 20.907 39 30.57 39 37 33.096 37 28.41c.005-2.836-2.265-4.445-4.305-5.11" fill="#E6162D"></path><path d="M39.664 12.048a8.956 8.956 0 0 0-8.628-2.845c-.709.154-1.158.867-1.007 1.584.152.722.846 1.18 1.555 1.025a6.368 6.368 0 0 1 6.133 2.022 6.654 6.654 0 0 1 1.347 6.421 1.339 1.339 0 0 0 .846 1.68 1.306 1.306 0 0 0 1.649-.857v-.004c.964-3.028.354-6.49-1.895-9.026" fill="#F93"></path><path d="M35.906 15.554c-1.056-1.297-2.612-1.791-4.045-1.448-.587.136-.96.782-.838 1.433.128.65.706 1.064 1.288.923.701-.167 1.465.076 1.98.706.514.636.655 1.499.432 2.256-.182.63.127 1.311.7 1.518.574.202 1.184-.141 1.37-.777.45-1.549.169-3.315-.887-4.611" fill="#F93"></path><path d="M21.23 30.284c-.202.358-.647.528-.992.378-.344-.144-.45-.548-.253-.897.2-.349.627-.518.967-.378.344.13.469.533.277.897m-1.833 2.442c-.555.921-1.747 1.325-2.642.902-.88-.42-1.144-1.49-.589-2.393.55-.897 1.7-1.295 2.59-.907.9.404 1.187 1.466.641 2.398m2.087-6.529c-2.733-.743-5.82.678-7.008 3.185-1.21 2.556-.038 5.397 2.72 6.324 2.862.962 6.231-.514 7.404-3.27 1.158-2.7-.287-5.476-3.116-6.239" fill="#000"></path></g></g></g><g id="wykop"><rect fill="#337EAD" width="48" height="48"></rect><path fill="#FFFFFF" d="M40.5,16.6c-0.4-2.9-1.8-5.2-4.7-6.3c-1.3-0.5-2.7-0.8-4.1-0.9c-2.6-0.3-5.2-0.3-7.6-0.3\n    c-3.2,0-6.2,0-9.2,0.4c-4.8,0.7-7.2,3.4-7.7,7.9C7,20,7,22.6,7,25.2c0.1,2.3,0.1,4.5,0.6,6.8c0.6,3,2.3,5.1,5.3,6\n    c1.5,0.5,3.1,0.7,4.7,0.8c3.1,0.3,6.3,0.1,9.4,0.1c2.3,0,4.6-0.1,6.8-0.6c3.4-0.7,5.7-2.5,6.5-6c0.4-1.6,0.6-3.2,0.6-4.8\n    C41,24,41.1,20.3,40.5,16.6z M37.1,28.9c-0.1,1.2-0.3,2.4-0.9,3.5c-0.7,1.4-1.9,2-3.4,2.2C30,35.1,27,35,24,35.1\n    c-2.7,0-5.3-0.1-8-0.3c-3.1-0.2-4.7-1.9-5.1-5.1c-0.4-3.5-0.4-7-0.1-10.5c0.1-0.9,0.2-1.8,0.5-2.7c0.6-1.9,1.9-2.9,3.7-3.2\n    C17.1,13,19,13,21,13c3.3-0.1,6.5,0,9.8,0.1c0.8,0,1.6,0.2,2.4,0.3c2.2,0.4,3.2,1.9,3.7,3.9c0.3,1.3,0.4,2.7,0.4,4\n    C37.3,23.8,37.3,26.4,37.1,28.9z"></path><path fill="#FFFFFF" d="M35,25.8c0,0.2-0.2,0.2-0.4,0.3c-2.5,1.2-5,2.5-7.5,3.7c-2.5,1.2-5,2.4-7.4,3.7c-0.4,0.2-0.6,0.2-0.8-0.2\n    c-1.8-3.7-3.6-7.4-5.4-11c-0.2-0.3-0.1-0.5,0.2-0.6c1-0.5,2.1-1,3.1-1.5c0.4-0.2,0.5-0.1,0.7,0.3c1.4,3,2.9,5.9,4.3,8.9\n    c0.3,0.5,0.5,0.5,0.9,0.3c1.4-0.7,1.4-0.7,0.7-2.1c-1.3-2.7-2.6-5.4-4-8.1c-0.2-0.4-0.2-0.5,0.2-0.7c1-0.5,2-0.9,3-1.5\n    c0.4-0.2,0.6-0.2,0.8,0.3c1.4,2.9,2.9,5.9,4.3,8.8c0.2,0.5,0.4,0.6,0.9,0.3c1.4-0.7,1.4-0.7,0.7-2.1c-1.3-2.7-2.6-5.4-4-8.1\n    c-0.2-0.4-0.2-0.5,0.2-0.7c1.1-0.5,2.1-1,3.1-1.5c0.3-0.1,0.4-0.2,0.6,0.2c1.8,3.7,3.7,7.5,5.5,11.2C34.9,25.7,34.9,25.7,35,25.8z"></path></g><g id="yahoo"><rect fill="#592C71" width="48" height="48"></rect><path fill="#FFFFFF" d="M36.8,7L36.8,7L36.8,7c-1.6,0.4-3.1,0.4-4.5,0c-1.3,2.4-6,10.1-9,15c-3-5-6.6-10.8-9-15\n    c-1.9,0.4-2.6,0.4-4.5,0c3.7,5.5,9.6,16.1,11.6,19.6L21.1,41c0,0,1.3-0.2,2.2-0.2c1,0,2.1,0.2,2.1,0.2l-0.3-14.4\n    C28.9,20,35.1,9.3,36.8,7z"></path></g></defs></svg></iron-iconset-svg><iron-iconset-svg name="socialNetworksRound" size="60"><svg><defs><g id="ameba"><g fill-rule="nonzero" fill="none"><path d="M28.486325 59.9692983c-6.6364044-.569063-11.5630204-2.3269562-16.3219736-5.8239328C4.44376336 48.4721167 0 39.6467923 0 29.9869344 0 15.1115596 10.506778 2.79838844 25.2744118.36718043 31.302519-.62523147 37.978265.41644488 43.5623517 3.2208101 57.138627 10.0389054 63.3436513 25.7618627 58.2050226 40.3239688c-3.5279559 9.9977054-12.7897094 17.6177847-23.3910729 19.2449379-2.0856252.3201125-5.0651487.5086455-6.3276247.4003916z" fill="#40B14A"></path><path d="M44.0690432 48.6900794c.6178376-.2133332.8763502-.3884595 1.5290941-1.0358741.6421654-.636923.8538628-.9410708 1.1598081-1.6663101.3429133-.8128734.3747639-.9851562.3803005-2.0571357.0058537-1.1333833-.0069374-1.1962076-.4092429-2.0094048-.3100793-.6267835-.6125142-1.0252689-1.1938217-1.5729697-.9978663-.9401748-1.631428-1.2533904-3.1870173-1.5755727-1.7962852-.3720317-2.1434692-.6308512-2.1434692-1.5979108 0-.4940854.3668974-1.0099101.8582615-1.2066399.1691751-.0677339.8862722-.243923 1.5935513-.3915335 2.4277701-.506678 3.7431407-1.2092322 4.4377504-2.3702546.5680208-.9494342.811782-1.9989113.7481261-3.220949-.087339-1.6767202-.7363104-2.5807773-2.6708367-3.720645-1.1763717-.693144-1.3961923-.9020307-1.8024711-1.7128077-.2283257-.4556513-.3258931-.8906173-.4353855-1.9409834-.1544885-1.4820184-.3033986-1.88804216-.9369355-2.55468277-.630737-.66369609-1.0234385-.80959262-2.3959088-.89012754-1.4170541-.08315209-1.9828774-.2994609-2.5047207-.95752876-.5024169-.63357034-.8290633-1.460721-1.146764-2.90388307-.3350094-1.52178868-.6514976-2.20006369-1.345362-2.88328291C33.6201975 11.45287267 32.3967858 11 30.7636701 11c-2.2258765 0-3.4713208.91271231-4.3238291 3.16868033-.6214395 1.64449362-1.1867919 2.01457972-3.5515749 2.3249005-1.5441645.20263392-1.7131699.24279005-2.33650412.55517439-.69228599.34693886-.92060466.62568959-1.45014216 1.77046069-.25303651.54702216-.55816906 1.13218567-.67807104 1.30036355-.34046963.47755827-1.0311674.81660749-2.53519458 1.24447434-.76335544.2171596-1.65261401.5239964-1.97612926.6818583-.72339226.3529876-1.82249885 1.3521629-2.20559824 2.0050674-1.24133875 2.115572-.80703603 5.1725723.98759163 6.951548.70184198.6957204 1.01829995.8635514 2.32530925 1.2332161 1.2299094.3478571 1.74966085.993226 1.59542641 1.9810224-.09176165.5876875-.25673703.874775-1.1511209 2.0031653-.94858067 1.1967657-1.18570474 1.833568-1.18026143 3.1696128.00817206 2.0070503 1.25766956 3.8978179 2.90256984 4.3922493.28272421.0849823.92162884.1545136 1.41978827.1545136 2.25517248 0 2.95938083.3540309 4.19113513 2.1070365.633408.9014514.9017512 1.1510656 1.5411008 1.4335309.9344972.4128629 1.9508208.5180684 3.077644.3185839 2.0822418-.3686222 3.4808786-1.4237604 4.5002409-3.3950017.832134-1.6091788 1.4048192-2.1275994 2.350298-2.1275994.9113338 0 1.3839245.5170845 2.0516942 2.2448579.5679489 1.4695005 1.1546305 2.3643957 1.9780862 3.0172754 1.7725133 1.4053436 3.8463814 1.8202994 5.7729142 1.1550889zM23.0443977 24.1462938c-.6107123-.6111834-.1753498-1.6130415.7009539-1.6130415.5557217 0 .9551638.3941977.9551638.9426216 0 .8532939-1.0490463 1.2779633-1.6561177.6704199zm10.3264336-.0212327c-.5829917-.6282828-.1578488-1.5918088.7023634-1.5918088.557104 0 .9573381.3940815.9573381.9426216 0 .8673068-1.069227 1.2855326-1.6597015.6491863v9e-7z" fill="#FFF"></path></g></g><g id="bebo"><g fill="none" fill-rule="evenodd"><path d="M30 0C13.4313793 0 0 13.4313793 0 30s13.4313793 30 30 30 30-13.4313793 30-30S46.5686207 0 30 0z" fill="#FF001A" fill-rule="nonzero"></path><path d="M39.3367626 44.2374102c-4.9047301 2.7167565-8.3747532 2.0760984-9.7761257 2.0760984-7.1335922.1421143-13.8054936-5.8272584-13.8054936-14.7455743V16.5946055C15.7551433 15.67844 15.5103473 13 18.398411 13s2.9369642 2.5203128 2.9369642 3.5946055v14.9733288c-.029076.9837913-.2029443 3.4610695 1.2183995 5.4152126 1.6169456 2.2227879 3.9991173 4.1825069 7.0051001 4.1825069 3.7601951 0 6.0574885-.1787151 8.3703477-2.4305263 2.1253341-1.9229752 2.6432678-4.6124241 2.6432678-6.1478019 0-1.9361286-.603693-4.8015762-3.3775088-6.8626625-2.2428127-1.5485312-3.7328814-1.7156656-6.6081693-1.7156656-4.4904713 0-4.479164-5.4329412 0-5.4329412 2.790997 0 6.2110918.4843896 8.9577406 2.2875542C43.2987272 23.3281642 46 28.3487737 46 31.5354796c-.0071956 5.4593911-2.3939195 10.2137865-6.6632374 12.7019306z" fill="#FFF"></path></g></g><g id="blogger"><g fill="none" fill-rule="evenodd"><path d="M28.4863253 59.9692983c-6.6364044-.569063-11.5630204-2.3269561-16.3219736-5.8239327C4.44376366 48.4721168 3e-7 39.6467924 3e-7 29.9869344c0-14.8753747 10.506778-27.18854591 25.2744118-29.61975392 6.0281072-.9924119 12.7038532.04926445 18.2879399 2.85362966C57.1386273 10.0389054 63.3436516 25.7618627 58.2050229 40.3239688 54.677067 50.3216743 45.4153135 57.9417536 34.81395 59.5689067c-2.0856252.3201125-5.0651487.5086456-6.3276247.4003916z" fill="#F57D00" fill-rule="nonzero"></path><path d="M35.8273333 36.7781555H24.045c-.944 0-1.592-.5735923-1.592-1.5222386 0-.9493136.648-1.5225723 1.592-1.5225723h11.7823333c.944 0 1.592.5732587 1.592 1.5225723 0 .9486463-.648 1.5222386-1.592 1.5222386M24.0446667 23.2381737h6.5086666c.8886667 0 1.6086667.6066264 1.6086667 1.4995484 0 .8932558-.72 1.5155651-1.6086667 1.5155651h-6.5086666c-.8886667 0-1.6086667-.6223093-1.6086667-1.5155651 0-.892922.72-1.4995484 1.6086667-1.4995484M42.742 26.2469473c-.2083333 0-.8533333.0106777-1.8556667.0106777-1.3863333 0-1.2346666-1.2973397-1.2346666-1.2973397 0-5.4276047-4.42-9.9602853-9.757-9.9602853h-5.2313334C19.3263333 15 15 19.3998768 15 24.8274815v10.3613661c0 5.4276047 4.3263333 9.8274815 9.6633333 9.8274815H35.243c5.337 0 9.6633333-4.3998768 9.6633333-9.8274815 0 0 .0936667-3.7829063.0936667-6.5711188 0-1.356067-1.039-2.3707815-2.258-2.3707815" fill="#FFF"></path></g></g><g id="cyworld"><g fill="none" fill-rule="evenodd"><circle fill="#F15623" cx="30" cy="30" r="30"></circle><path d="M29.9934915 38.3940442c-3.6424799 0-7.1037358-3.0281835-6.9503002-6.8518872.0279729-.6982151.4468281-1.2286849 1.2003427-1.2286849.6837208 0 1.2140061.5445025 1.2140061 1.2141907.0279729 2.4843272 2.0514394 4.4937612 4.5359514 4.4937612 2.4978982 0 4.5213648-2.009434 4.54943-4.4937612 0-.6696882.5297313-1.2141907 1.2138215-1.2141907.7536992 0 1.1723698.5304698 1.2001581 1.2286849.1533432 3.8237037-3.3072665 6.8518872-6.9634096 6.8518872zm-.5864158-8.2196982l-2.3305223-2.330707-.4190399-.4050072c-.3626323-.376665-.4462741-.9207059-.2510176-1.3673493.0558535-.139403.1397722-.2654196.2510176-.3770343l2.7495622-2.7491929c.4744318-.4742471 1.2559193-.4742471 1.7308127 0 .4738778.474801.4738778 1.2560116 0 1.7309972l-1.8842483 1.8836943 1.8842483 1.8836943c.4738778.4746164.4738778 1.2561963 0 1.7308126-.4748934.4749857-1.2563809.4749857-1.7308127.0000923zm-7.4104223-3.9775085c0 .6700575-.5582581 1.214006-1.228131 1.214006-.6837208 0-1.2279464-.5440409-1.2279464-1.214006v-3.8936822c0-.6696882.5442256-1.2279464 1.2279464-1.2279464.6698729 0 1.228131.5582582 1.228131 1.2279464v3.8936822zm16.0071548 0v-3.8936822c0-.6696882.5582581-1.2279464 1.2283156-1.2279464.6696883 0 1.2275771.5582582 1.2275771 1.2279464v3.8936822c0 .6700575-.5578888 1.214006-1.2275771 1.214006-.6700575 0-1.2283156-.5440409-1.2283156-1.214006zM14 29.9931222c0 8.8470115 7.1593123 16.0072471 15.9934915 16.0072471C38.8408723 46.0003693 46 38.8401337 46 29.9931222 46 21.1589431 38.8408723 14 29.9934915 14 21.15922 13.9999077 14 21.1588507 14 29.9931222z" fill="#FFF"></path></g></g><g id="digg"><g fill="none" fill-rule="evenodd"><circle fill="#1B5891" cx="30" cy="30" r="30"></circle><g fill="#FFF" fill-rule="nonzero"><path d="M15.76923077 18v5.83333333H9V38h11V18h-4.23076923zm0 16.6666667h-2.53846154v-7.50000003h2.53846154v7.50000003zM22 24h4v14h-4zM22 18h4v4h-4zM27 24v14.0434783h6.7692308v1.6521739H27V43h11V24H27zm6.7692308 10.7391304h-2.5384616v-7.43478257h2.5384616v7.43478257zM40 24v14.0434783h6.7692308v1.6521739H40V43h11V24H40zm6.7692308 10.7391304h-2.5384616v-7.43478257h2.5384616v7.43478257z"></path></g></g></g><g id="email"><g fill-rule="nonzero" fill="none"><path d="M28.4863253 59.9692983c-6.6364044-.569063-11.5630204-2.3269561-16.3219736-5.8239327C4.44376366 48.4721168 3e-7 39.6467924 3e-7 29.9869344c0-14.8753747 10.506778-27.18854591 25.2744118-29.61975392 6.0281072-.9924119 12.7038532.04926445 18.2879399 2.85362966C57.1386273 10.0389054 63.3436516 25.7618627 58.2050229 40.3239688 54.677067 50.3216743 45.4153135 57.9417536 34.81395 59.5689067c-2.0856252.3201125-5.0651487.5086456-6.3276247.4003916z" fill="#888"></path><path d="M40.531502 19.160814h-22c-1.74 0-2.986 1.2375-3 3v16c0 1.7625 1.26 3 3 3h22c1.74 0 3-1.2375 3-3v-16c0-1.7625-1.26-3-3-3zm0 6l-11 7-11-7v-3l11 7 11-7v3z" fill="#FFF"></path></g></g><g viewBox="0 0 36 36" id="embed"><circle cx="18" cy="18" r="17.5" stroke="#E7E7E7" fill="#F4F4F4" stroke-width=".5"></circle><path d="m21.41,23.29l-0.71,-0.71l4.59,-4.58l-4.59,-4.59l0.71,-0.71l5.3,5.3l-5.3,5.29zm-6.12,-0.7l-4.58,-4.59l4.59,-4.59l-0.71,-0.7l-5.3,5.29l5.29,5.29l0.71,-0.7z" fill="#606060"></path></g><g id="facebook"><g fill="none" fill-rule="evenodd"><path d="M28.4863253 59.9692983c-6.6364044-.569063-11.5630204-2.3269561-16.3219736-5.8239327C4.44376366 48.4721168 3e-7 39.6467924 3e-7 29.9869344c0-14.8753747 10.506778-27.18854591 25.2744118-29.61975392 6.0281072-.9924119 12.7038532.04926445 18.2879399 2.85362966C57.1386273 10.0389054 63.3436516 25.7618627 58.2050229 40.3239688 54.677067 50.3216743 45.4153135 57.9417536 34.81395 59.5689067c-2.0856252.3201125-5.0651487.5086456-6.3276247.4003916z" fill="#3B5998" fill-rule="nonzero"></path><path d="M25.7305108 45h5.4583577V30.0073333h4.0947673l.8098295-4.6846666h-4.9045968V21.928c0-1.0943333.7076019-2.2433333 1.7188899-2.2433333h2.7874519V15h-3.4161354v.021c-5.3451414.194-6.4433395 3.2896667-6.5385744 6.5413333h-.0099897v3.7603334H23v4.6846666h2.7305108V45z" fill="#FFF"></path></g></g><g id="fotka"><g fill="none" fill-rule="evenodd"><circle fill="#4FA4CA" cx="30" cy="30" r="30"></circle><g fill="#FFF"><path d="M10.07905138 27.7213439c-.21384016-8.4391984 3.30826952-12.62274583 6.40316206-13.96553856 2.46173277-1.06808132 7.79011236-1.68663538 14.61246296-1.68663538 7.7583816 0 12.0884306.86212649 14.7764328 3.36632288C50.2663675 19.530203 49.9833251 26.119062 49.9833251 27.7213439c0 2.5821872-.4532331 7.9242836-1.7264699 10.132164-.8488245 1.4719203-2.2662426 2.9320292-4.2522542 4.3803267-.6585556.6757967-1.0957571 1.4220243-1.3116045 2.2386827-.323771 1.2249876.2751359 2.6673666.5972085 3.1879941.3220727.5206274-.465178.2752478-1.138062 0-.7336083-.3000877-2.1581645-.8223969-3.8949018-1.3938211-1.7367372-.5714241-2.7406281-.755234-5.8585258-1.2414309-2.4853318-.3875562-5.6181685-.6970278-8.4867527-1.0225729-2.3979766-.2721375-4.52197455-.4321964-6.31515563-1.134974-2.52130682-.9881423-4.39368207-2.6984005-5.85767664-5.2898037-1.23068134-2.1784176-1.53762192-5.0237968-1.66007905-9.8565649zm20.00000002 9.1798419c4.9771116 0 9.0118577-4.0347462 9.0118577-9.0118577 0-4.9771116-4.0347461-9.01185774-9.0118577-9.01185774-4.9771116 0-9.0118577 4.03474614-9.0118577 9.01185774 0 4.9771115 4.0347461 9.0118577 9.0118577 9.0118577zM16.2055336 16.2687747c-.93866578 0-1.69960475.76093897-1.69960475 1.69960475s.76093897 1.69960474 1.69960475 1.69960474h.71146245c.93866578 0 1.69960474-.76093896 1.69960474-1.69960474s-.76093896-1.69960475-1.69960474-1.69960475h-.71146245z"></path><path d="M30.0790514 34.687747c-3.7546631 0-6.798419-3.0437558-6.798419-6.7984189 0-3.7546632 3.0437559-6.79841901 6.798419-6.79841901s6.798419 3.04375581 6.798419 6.79841901c0 3.7546631-3.0437559 6.7984189-6.798419 6.7984189zm1.1857707-6.2450593c1.4844017 0 2.6877471-1.2033453 2.6877471-2.687747 0-1.4844017-1.2033454-2.687747-2.6877471-2.687747-1.4844017 0-2.687747 1.2033453-2.687747 2.687747 0 1.4844017 1.2033453 2.687747 2.687747 2.687747z"></path></g></g></g><g id="goo"><g fill="none" fill-rule="evenodd"><circle fill="#CE2E2D" cx="30" cy="30" r="30"></circle><g fill="#FFF"><path d="M17.8 31.9c1.2 0 2.4 0 3.5.4 1.4.5 2.5 1.4 2.5 3 0 2.7-3.3 3.4-5.4 3.4-2.1 0-5.4-.6-5.4-3.3 0-1.3.9-2.1 2-2.5-1-.3-1.8-.9-1.8-2s.8-1.8 1.8-2.1c-.4-.5-.6-1.2-.6-1.8 0-2.2 2-3.4 4.1-3.4.4 0 .9 0 1.3.2-.1-1.4 1.2-2.2 2.4-2.2 1.1 0 2.4.6 2.4 1.9 0 .6-.5 1.2-1.2 1.2-.5 0-.8-.3-.8-.8 0-.3.2-.5.5-.7-.2-.3-.5-.5-.9-.5-.8 0-1.2.7-1.2 1.5 1.1.6 1.7 1.8 1.7 3 0 2.3-2 3.6-4 3.6-.9 0-1.7-.2-2.4-.6-.3-.2-.6-.3-.7-.3-.5 0-.8.5-.8.9 0 1 1.5 1.1 2.2 1.1h.8zM21 27c0-1.3-1.2-2.2-2.5-2.2s-2.4.9-2.4 2.2c0 1.4 1.1 2.2 2.4 2.2 1.3 0 2.5-.8 2.5-2.2zm-5.1 6.8c-.6.3-1.1.8-1.1 1.5 0 .8.7 1.4 1.4 1.6.7.2 1.6.3 2.3.3 1.2 0 3.7-.3 3.7-2s-2.4-1.9-3.6-1.9c-.9.1-2 .2-2.7.5zM29.9 23.4c1.5 0 2.9.4 3.9 1.6.9 1.2 1.3 2.7 1.3 4.2 0 3.2-1.8 5.9-5.2 5.9-3.4 0-5-2.7-5-5.8 0-3.2 1.6-5.9 5-5.9zm0 10.2c2.6 0 3.5-2.3 3.5-4.5 0-1-.2-2.2-.8-3-.6-.9-1.5-1.2-2.6-1.2-1.2 0-2.1.4-2.7 1.4-.5.8-.7 2-.7 2.9 0 2.1.8 4.4 3.3 4.4zM41.8 23.4c1.5 0 2.9.4 3.9 1.6.9 1.2 1.3 2.7 1.3 4.2 0 3.2-1.8 5.9-5.2 5.9-3.4 0-5-2.7-5-5.8-.1-3.2 1.6-5.9 5-5.9zm0 10.2c2.6 0 3.5-2.3 3.5-4.5 0-1-.2-2.2-.8-3-.6-.9-1.5-1.2-2.6-1.2-1.2 0-2.1.4-2.7 1.4-.5.8-.7 2-.7 2.9 0 2.1.8 4.4 3.3 4.4z"></path><path d="M29.5 30.1c-.6 0-1.2.6-1.2 1.2 0 .7.6 1.2 1.2 1.2.7 0 1.2-.5 1.2-1.2 0-.6-.6-1.2-1.2-1.2zM41.1 30.1c-.7 0-1.2.6-1.2 1.2 0 .7.5 1.2 1.2 1.2.6 0 1.2-.5 1.2-1.2 0-.6-.5-1.2-1.2-1.2z"></path></g></g></g><g id="hi5"><g fill="none" fill-rule="evenodd"><circle fill-opacity=".87" fill="#000" cx="30" cy="30" r="30"></circle><path d="M46.7269728 28.10124514c.9574319 1.18337743 1.3206537 2.73417898 1.1945836 4.25892606-.1469416 1.7834708-.9633152 3.531502-2.2799066 4.6152841-1.2709261 1.0463813-3.0465525 1.719035-5.2835953 1.719035-1.6195798 0-3.3020545-.3310039-4.7220234-1.1358911v.7435331H12.60457587v-5.6692296h1.12440467v-4.89417896h-1.12440467V22.0168249h8.65036576v4.07878599c1.44294167-.53733852 3.36298837-.48536964 4.60645917.49419456v-.66074708h2.1179766v-3.02315954h6.5322491v2.33089494l.5953307-3.21996887h11.89807c-.0928716 2.0280467-.1851828 4.05637354-.2780544 6.08442024" fill="#C8C6C1"></path><path d="M46.1264591 27.14045136c.957432 1.18351751 1.3205137 2.73445915 1.1944436 4.25934634-.1469416 1.7827704-.9633152 3.5315019-2.2797665 4.6151439-1.2710662 1.0462413-3.0465525 1.7186148-5.2837354 1.7186148-1.6195798 0-3.3019144-.3311439-4.7214631-1.1356109v.7436732H12.00406226v-5.6696498h1.12440467v-4.89403894h-1.12440467v-5.72189883h8.65036576v4.07864591c1.44280158-.53733852 3.36312838-.48522957 4.60645918.49433463v-.660607h2.1179766v-3.02329961h6.5326693V24.276l.5947704-3.21996887h11.8982101c-.0928716 2.02804669-.1851829 4.05637354-.2780545 6.08442023" fill="#343B39"></path><path d="M26.7621012 26.46961868h5.6479377V33.173463h1.1242646v2.6666615h-6.7461479V33.173463h1.0984903v-3.97470814h-1.1245447v-2.72913618zm-4.1858055-.16207004c2.3666148 0 2.7218522 2.0507393 2.7218522 2.86473152V33.173463h1.1990661v2.6666615h-6.19592217V33.173463h.59252918v-3.25722954c0-1.53553307-1.740607-.99287159-1.740607 1.54169654v1.715533h.5229105v2.6666615h-6.17084825V33.173463h1.12440467v-7.89674705h-1.12440467v-2.71947081h5.64793775v5.76476264c.74367315-1.19822568 1.75223346-2.01445914 3.42308169-2.01445914zm6.3037821-.48172763h3.5299611v-2.37950194h-3.5299611v2.37950194z" fill="#FFFFFE"></path><path d="M41.3856654 26.64387549c2.5216809 0 4.5568716 1.27162646 4.4382257 4.59441241 0 2.5632841-2.0971051 4.9941946-6.0664903 4.9941946-2.5875175 0-4.7340701-.9631751-5.5065992-2.3883269-.7980234-1.4717976-.1720156-3.74301941 1.7717042-3.74652136 1.2679845-.0025214 2.0682491.56199222 1.8002802 2.01011676-.336607.9752218.3029883 1.2979611.9219922 1.2979611.9369806 0 1.6495564-1.0788794 1.6978833-2.1805915.0458054-1.035035-.3801712-2.04149414-1.3345214-2.05256029-.3867549-.00434241-.8469105.14133852-1.2853541.67671595l-3.3363735-.4496498 1.2643424-6.84238132h9.0868482l-.1634708 3.58221011h-5.9972918l-.1376965 1.14723736c.8627393-.38241245 1.8958132-.64281712 2.8465214-.64281712" fill="#E98C38"></path></g></g><g id="kakao"><g fill-rule="nonzero" fill="none"><path d="M28.486325 59.9692983c-6.6364044-.569063-11.5630204-2.3269562-16.3219736-5.8239328C4.44376336 48.4721167 0 39.6467923 0 29.9869344 0 15.1115596 10.506778 2.79838844 25.2744118.36718043 31.302519-.62523147 37.978265.41644488 43.5623517 3.2208101 57.138627 10.0389054 63.3436513 25.7618627 58.2050226 40.3239688c-3.5279559 9.9977054-12.7897094 17.6177847-23.3910729 19.2449379-2.0856252.3201125-5.0651487.5086455-6.3276247.4003916z" fill="#FFE812"></path><path d="M30.5 14C19.730375 14 11 20.69445394 11 28.952339c0 5.3388968 3.649875 10.0235376 9.14025 12.6688251-.2986875 1.0018068-1.9194375 6.4448229-1.9839375 6.8724233 0 0-.0388125.3212929.175125.4438292.2139375.1225362.4655625.0273518.4655625.0273518.6135-.0833319 7.1143125-4.5241766 8.2395-5.2953162 1.1240625.1548115 2.2815.2352259 3.4635.2352259 10.769625 0 19.5-6.6942716 19.5-14.9523391C50 20.69445394 41.269625 14 30.5 14z" fill="#000"></path><path d="M20.11212489 33c-.64033041 0-1.16107056-.4353882-1.16107056-.9707294v-6.0386824h-1.81165709C16.51106456 25.9905882 16 25.5440188 16 24.9952941S16.51125807 24 17.13939724 24h5.94545526c.6283327 0 1.1393973.4465694 1.1393973.9952941s-.5112581.9952941-1.1393973.9952941h-1.8116571v6.0386824c0 .5353412-.5207401.9707294-1.16107051.9707294zm10.18104071-.0132141c-.4841664 0-.8545479-.1721224-.9662042-.4489412l-.5749235-1.3176847-3.5404911-.0001694-.5753105 1.3185318c-.1112692.2763105-.4814572.4482635-.9656237.4482635-.2546749.0002283-.5064123-.0476164-.7380538-.140273-.3200685-.1292611-.6277522-.484687-.2751737-1.4433882l2.7772807-6.3996988c.1956404-.48672.789915-.9881788 1.546159-1.0032565.7583726.0149082 1.3526472.5165365 1.5486746 1.004273l2.7761197 6.3968188c.3533525.9609035.0456688 1.3164988-.2743997 1.4454212-.2316966.0924919-.4834067.1402736-.7380538.1401035-.0001935 0 0 0 0 0zm-2.1516573-3.5671341l-1.1597159-2.8842353-1.159716 2.8842353h2.3194319zm5.0326604 3.4321129c-.6136258 0-1.1126927-.4181082-1.1126927-.9317647v-6.9035294c0-.5605835.5317704-1.0164706 1.1852596-1.0164706s1.1852595.4558871 1.1852595 1.0164706v5.9717647H36.89927c.6136258 0 1.1126926.4181082 1.1126926.9317647s-.4990668.9317647-1.1126926.9317647h-3.7251013zm6.4505209.1350212c-.6403304 0-1.1610705-.4558871-1.1610705-1.0164706v-6.9538447c0-.5605835.5207401-1.0164706 1.1610705-1.0164706.6403305 0 1.1610706.4558871 1.1610706 1.0164706v2.1847341l3.2393869-2.8359529c.1666136-.1458636.395538-.2261647.6440071-.2261647.2898806 0 .5809223.10944.7990101.3001976.2033808.1778824.3247127.4067577.3413547.6444424.0168355.2397176-.0743085.4594447-.2562096.6188611l-2.6458863 2.3160283 2.8579752 3.3147106c.1863887.2147949.2666819.4860225.2229256.7530353-.0418059.2671791-.2040382.5085898-.4504954.6703623-.2007827.1336077-.4461848.2056972-.698384.2051577-.3648049.0014863-.7088533-.1483913-.9275018-.4040471l-2.722904-3.1585129-.4028915.3527152v2.2177695c-.0007462.5613249-.5202804 1.016232-1.1614576 1.0169788z" fill="#FFE812"></path></g></g><g id="linkedin"><g fill="none" fill-rule="evenodd"><path d="M28.4863253 59.9692983c-6.6364044-.569063-11.5630204-2.3269561-16.3219736-5.8239327C4.44376366 48.4721168 3e-7 39.6467924 3e-7 29.9869344c0-14.8753747 10.506778-27.18854591 25.2744118-29.61975392 6.0281072-.9924119 12.7038532.04926445 18.2879399 2.85362966C57.1386273 10.0389054 63.3436516 25.7618627 58.2050229 40.3239688 54.677067 50.3216743 45.4153135 57.9417536 34.81395 59.5689067c-2.0856252.3201125-5.0651487.5086456-6.3276247.4003916z" fill="#0077B5" fill-rule="nonzero"></path><g fill="#FFF"><path d="M17.88024691 22.0816337c2.14182716 0 3.87817284-1.58346229 3.87817284-3.53891365C21.75841975 16.58553851 20.02207407 15 17.88024691 15 15.73634568 15 14 16.58553851 14 18.54272005c0 1.95545136 1.73634568 3.53891365 3.88024691 3.53891365M14.88888889 44.8468474h6.95851852V24.77777778h-6.95851852zM31.6137778 33.6848316c0-2.3014877 1.0888889-4.552108 3.6925432-4.552108 2.6036543 0 3.2438518 2.2506203 3.2438518 4.4970883v10.960701h6.9274074V33.1816948c0-7.9263084-4.6853333-9.29280591-7.5676049-9.29280591-2.8798518 0-4.4682469.9740923-6.2961975 3.33440621v-2.70185178h-6.9471111V44.5905129h6.9471111V33.6848316z"></path></g></g></g><g id="livejournal"><circle fill="#3498DB" fill-rule="nonzero" cx="30" cy="30" r="30"></circle><path d="M33.2546484,59.8255078 C32.1855469,59.9408203 31.0996875,60 30,60 C13.4314453,60 0,46.5685547 0,30 C0,28.5435937 0.103828125,27.1114453 0.304335937,25.7104687 L21.8777344,15.0938672 L25.4296875,17.8125 L38.203125,27.890625 L43.4845312,36.6371484 L33.2546484,59.8255078 Z" fill="#000000" opacity="0.3"></path><path d="M30.6685547,45 C22.8829688,45 16.5714844,38.6898047 16.5714844,30.9057422 C16.5714844,28.7851172 17.0428125,26.7755859 17.881875,24.9716016 L29.2787109,35.9677734 C29.2787109,35.9677734 32.0103516,31.1544141 36.4265625,28.9205859 L25.4104688,17.8286719 C27.0357422,17.1747656 28.8092578,16.8113672 30.6685547,16.8113672 C38.4541406,16.8113672 44.765625,23.1216797 44.765625,30.9057422 C44.765625,38.6898047 38.4541406,45 30.6685547,45 Z M38.2051172,37.2677344 C37.8885937,35.9151562 37.32,33.4863281 37.32,33.4863281 C37.32,33.4863281 35.0398828,34.8769922 33.9446484,36.8610937 L37.5769922,37.9101562 C37.5769922,37.9101562 38.4492188,38.3102344 38.2051172,37.2677344 Z M17.881875,24.9716016 L15.4638281,22.6385156 C15.4638281,22.6385156 15.1267969,22.1342578 15.2711719,21.8080078 C16.8171094,18.3124219 20.6035547,15.8741016 21.9465234,15.0941016 C22.3694531,14.8484766 22.7607422,15.1605469 22.7607422,15.1605469 L25.4104688,17.8286719 C22.0842188,19.1669531 19.3871484,21.7348828 17.881875,24.9716016 Z" fill="#FFFFFF"></path></g><g id="mail"><g fill-rule="nonzero" fill="none"><path d="M28.4863253 59.9692983c-6.6364044-.569063-11.5630204-2.3269561-16.3219736-5.8239327C4.44376366 48.4721168 3e-7 39.6467924 3e-7 29.9869344c0-14.8753747 10.506778-27.18854591 25.2744118-29.61975392 6.0281072-.9924119 12.7038532.04926445 18.2879399 2.85362966C57.1386273 10.0389054 63.3436516 25.7618627 58.2050229 40.3239688 54.677067 50.3216743 45.4153135 57.9417536 34.81395 59.5689067c-2.0856252.3201125-5.0651487.5086456-6.3276247.4003916z" fill="#888"></path><path d="M40.531502 19.160814h-22c-1.74 0-2.986 1.2375-3 3v16c0 1.7625 1.26 3 3 3h22c1.74 0 3-1.2375 3-3v-16c0-1.7625-1.26-3-3-3zm0 6l-11 7-11-7v-3l11 7 11-7v3z" fill="#FFF"></path></g></g><g id="meneame"><g fill="none" fill-rule="evenodd"><circle fill="#E35615" cx="30" cy="30" r="30"></circle><path d="M22.0296292 16.5908518c1.5360178-1.2704239 3.3553358-1.8901429 5.294171-2.2309884 3.0366232-.5400409 5.9094634.0531188 8.6893459 1.2571443 1.4253537.619719 2.8064418 1.3456756 4.2804877 1.859157.3231392.1150907.6551315.2169017.995977.2611673.619719.0885313 1.1243474-.1239438 1.5315913-.5798799.5311877-.6020128.7171034-1.3235428.7171034-2.1070447.1505032-.0088531.1814892.1062376.2301814.1947689.4515095.8321941.3231392 2.1911493-.2921533 2.8949731-.6462784.7392362-1.5006053.8720332-2.408051.7657956-1.0358161-.1195172-2.0185134-.4205236-2.956945-.8720332-1.7706258-.8454738-3.5678109-1.6245491-5.4933664-2.0583524-2.4124776-.5444674-4.8028224-.4515096-7.1400484.3275658-3.404028 1.1287739-5.1967865 4.5150956-4.267208 7.9899487.5356143 2.0052336 1.6643882 3.5810905 3.4217342 4.6965848.7613691.4824955 1.6024164.6329987 2.4877292.6241455.8985926-.0132796 1.7706258-.1859157 2.6470855-.3541251.1505032-.0265594.3010064-.0663985.5356143.0044266-.7657956.4736424-1.5271647.7436628-2.3327994.9118722-1.1818927.2478876-2.3637854.2478876-3.5456781.0221328-1.0181098-.1947688-1.8547305-.7436628-2.5275682-1.5094584-1.3368225-1.5183116-2.2973869-3.2358186-2.5851136-5.2720382-.3983908-2.7975887.5798799-5.0551365 2.7179105-6.8257623zm9.5525259 29.7730721c-1.5758569.1283703-3.1561404.1991954-4.7364239.2213282-2.2265618.0354125-4.4619769.0486922-6.6575528-.3187127-3.5678109-.6020127-6.329987-2.377065-7.6756626-5.882904-.72153-1.8812899-.6285722-3.8378313-.0486922-5.7501071.8676066-2.8639872 2.1822962-5.4933664 4.3247534-7.6446767.5533205-.5577471 1.1774661-1.0358161 1.788332-1.5271647.0619719-.0486922.1150907-.1239438.2390345-.0841048-.0265594.1814892-.132797.3187127-.2301814.4603627-1.6643882 2.3726385-3.0853154 4.8736474-4.1609705 7.5738517-.7480894 1.8812898-.9295785 3.7979922-.4338033 5.7633868.6108659 2.4301839 2.2309884 3.9307892 4.5106691 4.8116755 1.6511085.6418518 3.3774686.9472848 5.1259615 1.1509067 2.4301839.2877267 4.8736474.4824955 7.3082578.7171035.2346079.0221328.4692158.0885312.6949706.1505031.1106641.0265594.2523142.0752516.2346079.2213283-.0132796.1770625-.172636.1239438-.2833001.1372235zm1.199599-.1283704c-.0752516.1062375-.1593563.2346079-.3142861.1814891-.1372235-.0486922-.1195172-.1947688-.1239438-.3098595-.0354125-.8233409.0973844-1.6378288.1770626-2.4523166.1062375-1.168613.3054329-2.337226.1947688-3.5191187-.0354125-.376258-.203622-.6020128-.5400408-.7613691-.9826973-.4692158-2.0406462-.6241456-3.1074482-.7303831-1.3058365-.1283704-2.6160996-.1150907-3.9219361-.1903423-.0841047-.0044265-.1637829-.0221328-.243461-.0354125 2.5231417-.4116705 5.0418568-.6418518 7.5782782-.3364189 1.2084521.1460766 1.4386334.3939642 1.4651928 1.6112694.0486922 1.9299821-.2213282 3.8201251-.7702222 5.670429-.0885313.305433-.203622.6108659-.3939642.8720332zm13.0937774-24.0805102c-.9118723.8676066-2.0273665 1.4032209-3.129581 1.9653946-.995977.5046283-2.0229399.9517113-2.9613716 1.5670037-1.0225364.6684113-1.8680101 1.4828991-2.1513103 2.7311903-.2301813 1.0136832-.0442656 2.0140868.1593563 3.0056372.4470831 2.1778697 1.3323959 4.2096627 2.2044291 6.2414558.4515096 1.0490957.9295785 2.0849118 1.2881302 3.1694201.57988 1.7484929.0973845 3.0941685-1.4607662 4.0768657-1.1199208.7038238-2.3726385 1.0136833-3.6607687 1.2217318-.752516.1195173-1.5138851.1549298-2.2929604.2080485-.1637829-.0531187-.4692158.1283704-.517908-.1018109-.0486922-.2257548.2700204-.2965799.4559361-.376258 1.1287739-.4692158 2.266401-.9162988 3.3996014-1.3855147.7038238-.2921532 1.3899413-.6241455 2.02294-1.0535223.2169016-.1505032.416097-.3187126.5931596-.5134815.2788736-.314286.345272-.6418518.1814891-1.0490957-.8543269-2.1468837-1.8148914-4.2583549-2.5674073-6.4539309-.6064393-1.7706257-1.0889348-3.5633843-1.2173052-5.4491007-.1505032-2.2177088.619719-3.9440689 2.5319948-5.1348147.9030192-.5621737 1.8724368-.9782707 2.8462809-1.3987944 1.199599-.517908 2.3903448-1.0490957 3.4438671-1.8547304 1.5758569-1.2040255 2.093765-2.815295 1.9565415-4.7142911-.0619719-.8543269-.203622-1.6953741-.3983908-2.5319948-.0221329-.0929579-.1505032-.2346079.0177062-.305433.1549298-.0663984.2346079.0531188.3010064.1726361.5134815.934005.9118723 1.8989961 1.0402426 2.9702247.2434611 2.062779-.6595581 3.6342093-2.0849118 4.9931646z" fill="#FFF" fill-rule="nonzero"></path></g></g><g id="mixi"><g fill="none" fill-rule="evenodd"><circle fill="#CAA75A" cx="30" cy="30" r="30"></circle><path d="M46 27.09895599c0-1.37949292-.2084691-2.652871-.6254072-3.92624908-.6254071-1.80395227-1.7719869-3.07733035-3.5439739-3.71401939-.9381108-.31834452-1.8762215-.42445936-2.9185668-.42445936-2.3973941.10611484-4.4820847.95503356-6.2540716 2.652871-.4169382.31834452-.7296417.74280388-1.0423453 1.16726324-.1042345.21222968-.3127036.53057419-.3127036.53057419s-.2084691-.42445935-.3127036-.53057419c-.1042345-.21222968-.208469-.42445936-.3127036-.63668904-1.0423452-1.69783744-2.5016286-2.75898584-4.3778501-3.07733036-2.39739417-.42445936-4.48208472.10611484-6.35830622 1.69783744-.62540717.5305742-1.14657981 1.27337808-1.77198697 1.91006712-.10423453.10611484-.41693811.74280387-.41693811.74280387v-4.0323639H14V40.8938852h3.752443V30.0701715c0-1.27337808.10423452-2.54675615.62540716-3.71401939.52117264-1.27337808 1.25081434-2.22841164 2.29315961-2.97121552 1.56351792-.95503355 3.12703583-1.27337807 4.89902283-.74280387.9381107.31834452 1.6677524.84891871 2.0846905 1.80395227.3127036.74280388.5211727 1.48560776.6254072 2.22841164V41h3.752443V28.4784489c.1042345-.84891871.3127036-1.59172259.6254072-2.44064131.5211726-1.16726324 1.3550488-2.22841164 2.3973941-2.97121551 1.2508143-.84891872 2.7100977-.95503356 4.1693811-.74280388.9381107.10611484 1.6677524.63668904 2.1889251 1.48560775.5211726.63668904.7296417 1.48560776.8338762 2.22841164V40.7877703H46V27.09895599s0 .10611484 0 0z" fill="#FFF"></path></g></g><g id="myspace"><g fill="none" fill-rule="evenodd"><circle fill="#000" cx="30" cy="30" r="30"></circle><g fill="#FFF"><path d="M22.30890433 29.00246849v-3.95942196c0-.77613479.05733334-1.34405458.17133334-1.70409303.11433333-.35970478.30066666-.6326533.55933333-.81884557.25833333-.18652594.534-.27962208.82733333-.27962208.40266667 0 .616.1554939.80966667.46581435 0 1.58096589.04666667 6.29616829.04666667 6.29616829h1.92500003v-5.27110978c0-1.3921042-.2036667-2.23263883-1.1183334-2.79121563-.4023333-.24592061-.4703333-.36871408-1.05166663-.36871408-.45733334 0-.88733334.108779-1.28966667.3260033-.40266667.217558-.77766667.54623073-1.12566667.9860182-.23833333-.43978747-.544-.7684602-.91666666-.9860182-.373-.2172243-.81266667-.3260033-1.31966667-.3260033-.954 0-1.77666667.43745173-2.46733333 1.3120215v-1.12582923H15.428571v8.24484722h2.09466667v-4.00613686c0-.79148398.056-1.35840273.16766666-1.7000889.11166667-.34135249.297-.60295597.55533334-.78380939.25833333-.1811871.549-.27194749.87233333-.27194749.26833333 0 .48066667.05705892.63733333.17084309.15633334.11411784.52633334.28729667.601.52020384.07433334.23290718.112.75077528.112 1.55260327v4.51833244h1.84zM29.5693805 30.11528428c-.2426666 0-.7493333-.03270043-1.0513333-.09776762l.0153333 1.74013024c.357.0850879.9553334.0423771 1.326.0423771.366 0 .8506667-.0427108 1.1413334-.1277986.2906666-.0854216.5356666-.2045446.7346666-.3573691.199-.1531581.3753334-.3523638.5286667-.5979508.1533333-.2455869.3146667-.60162122.484-1.06776924l.46-1.39143684 2.5743333-7.68627042h-1.9976666l-1.7026667 5.6708559-1.7436667-5.6708559h-2.0526666l2.7733333 8.0096043c-.1143333.44612735-.279.81350672-.4943333 1.10180442-.215.28829771-.5466667.43244656-.9953334.43244656M43.5402377 34.2900525v2.8135721H17.306571l-.00433333-2.8179099H15.448571l-.02 4.6801662h30l-.0143333-4.6758284z"></path></g></g></g><g id="naver"><g fill="none" fill-rule="evenodd"><path d="M28.486325 59.9692983c-6.6364044-.569063-11.5630204-2.3269562-16.3219736-5.8239328C4.44376336 48.4721167 0 39.6467923 0 29.9869344 0 15.1115596 10.506778 2.79838844 25.2744118.36718043 31.302519-.62523147 37.978265.41644488 43.5623517 3.2208101 57.138627 10.0389054 63.3436513 25.7618627 58.2050226 40.3239688c-3.5279559 9.9977054-12.7897094 17.6177847-23.3910729 19.2449379-2.0856252.3201125-5.0651487.5086455-6.3276247.4003916z" fill="#00CD00" fill-rule="nonzero"></path><path fill="#FFF" fill-rule="nonzero" d="M33.5025 19v11.5l-7.82-11.5H17v23h8.6825V30.5l7.82 11.5H42.185V19z"></path></g></g><g id="odnoklassniki"><g fill="none" fill-rule="evenodd"><circle fill="#F7931F" cx="30" cy="30" r="30"></circle><path d="M30.02666667 16.01333333c3.71666663.01 6.70333333 3.05 6.68333333 6.81333334C36.69 26.5 33.6566667 29.4766667 29.94333333 29.4633333c-3.67666666-.0133333-6.69-3.06-6.66666666-6.73999997.02333333-3.72333333 3.04-6.72 6.75-6.71zm-.01 10.01666667C31.84 26.0233333 33.2933333 24.56 33.2866667 22.73333333 33.28 20.90666667 31.82333333 19.45 30 19.45c-1.84-.00333333-3.31 1.48-3.29333333 3.32333333.01333333 1.82 1.48333333 3.26333337 3.31 3.25666667zM37.56 32.1066667C36.7366667 32.95 35.7466667 33.5633333 34.65 33.99c-1.04.4033333-2.1766667.6066667-3.30666667.74.17.1866667.25.2766667.35666667.3833333 1.53 1.5366667 3.0666667 3.07 4.5933333 4.61.52.5266667.63 1.1766667.3433334 1.7866667-.3133334.67-1.0133334 1.1066667-1.7 1.06-.4366667-.03-.7733334-.2466667-1.0766667-.55-1.1566667-1.1633333-2.33333333-2.3033333-3.46333333-3.4866667-.33-.3433333-.48666667-.28-.78.02-1.16333334 1.1966667-2.34 2.3733334-3.53 3.5433334-.53333334.5266666-1.16666667.62-1.78666667.32-.65666667-.32-1.07666667-.99-1.04333333-1.6633334.02333333-.4566666.24666666-.8033333.56-1.1166666C25.33 38.1233333 26.84 36.61 28.35333333 35.0933333c.1-.1.19333334-.2066666.34-.3633333-2.06-.2166667-3.91666666-.7233333-5.50666666-1.9666667-.19666667-.1533333-.4-.3033333-.58333334-.4766666-.69666666-.67-.76666666-1.4333334-.21333333-2.2233334.47-.6733333 1.26333333-.8566666 2.08333333-.47.16.0733334.31.17.45666667.27 2.96333333 2.0366667 7.03666667 2.0933334 10.01.0933334.2933333-.2233334.61-.41.9766667-.5033334.71-.1833333 1.37.0766667 1.7533333.7.4333333.71.4266667 1.4-.11 1.9533334z" fill="#FFF" fill-rule="nonzero"></path></g></g><g id="pinterest"><g fill="none" fill-rule="evenodd"><path d="M28.4863253 59.9692983c-6.6364044-.569063-11.5630204-2.3269561-16.3219736-5.8239327C4.44376366 48.4721168 3e-7 39.6467924 3e-7 29.9869344c0-14.8753747 10.506778-27.18854591 25.2744118-29.61975392 6.0281072-.9924119 12.7038532.04926445 18.2879399 2.85362966C57.1386273 10.0389054 63.3436516 25.7618627 58.2050229 40.3239688 54.677067 50.3216743 45.4153135 57.9417536 34.81395 59.5689067c-2.0856252.3201125-5.0651487.5086456-6.3276247.4003916z" fill="#BD081C" fill-rule="nonzero"></path><path d="M30 14c-8.8359111 0-16 7.1714944-16 16.0165392 0 6.5927634 3.9804444 12.254788 9.6650667 14.7135047-.0408889-1.1165307-.0010667-2.448039.2812444-3.6553302.3104-1.3030344 2.0682667-8.7589113 2.0682667-8.7589113s-.5134222-1.02755-.5134222-2.5444942c0-2.3797018 1.3806222-4.160741 3.0965333-4.160741 1.4609778 0 2.1671111 1.1005142 2.1671111 2.41565 0 1.4692506-.9365333 3.6667197-1.4200889 5.7022439-.4003555 1.7048716.8576 3.0968868 2.5372445 3.0968868 3.04 0 5.0876444-3.9112388 5.0876444-8.547849 0-3.5211471-2.3669333-6.159605-6.6794667-6.159605-4.8693333 0-7.9072 3.6364662-7.9072 7.6993283 0 1.3998456.4138667 2.3889558 1.0613334 3.1524109.2968889.3512961.3370666.4929535.2286222.897638-.0782222.2939925-.2510222 1.0058387-.3253333 1.2902212-.1063112.4068201-.4373334.5495453-.8046223.4000576-2.2421333-.9150783-3.2888889-3.3748628-3.2888889-6.1393174 0-4.5672052 3.8474667-10.042726 11.4766223-10.042726 6.1326222 0 10.1667555 4.4422761 10.1667555 9.2070185 0 6.3090928-3.5029333 11.0179553-8.6641778 11.0179553-1.7340444 0-3.3660444-.9385692-3.9217777-2.0020674 0 0-.9354667 3.7001765-1.1306667 4.4177174-.3370667 1.2211722-.9863111 2.4412765-1.5879111 3.4019129 1.3984.4000576 2.8768.6150352 4.4071111.6150352 8.8359111 0 16-7.1714944 16-16.0165392S38.8359111 14 30 14" fill="#FFF"></path></g></g><g id="rakuten"><g fill="none" fill-rule="evenodd"><circle fill="#FFF" cx="30" cy="30" r="30"></circle><path d="M30 1c15.991 0 29 13.009 29 29S45.991 59 30 59 1 45.991 1 30 14.009 1 30 1zm0-1C13.431 0 0 13.431 0 30c0 16.569 13.431 30 30 30 16.569 0 30-13.431 30-30C60 13.431 46.569 0 30 0z" fill="#E7E7E7" fill-rule="nonzero"></path><g fill="#BF0000"><path d="M19.62 49.081l-4.974-4.174h34.882z"></path><path d="M25.285 41.776H19.62V11.962h9.363c5.672 0 10.284 4.607 10.284 10.279 0 3.454-1.716 6.503-4.328 8.378l8.382 11.157h-7.092l-6.937-9.246h-4.007v9.246zm0-24.153v9.242h3.697a4.629 4.629 0 0 0 4.624-4.624 4.628 4.628 0 0 0-4.624-4.618h-3.697z" fill-rule="nonzero"></path></g></g></g><g id="reddit"><g fill-rule="nonzero" fill="none"><path d="M28.4863253 59.9692983c-6.6364044-.569063-11.5630204-2.3269561-16.3219736-5.8239327C4.44376366 48.4721168 3e-7 39.6467924 3e-7 29.9869344c0-14.8753747 10.506778-27.18854591 25.2744118-29.61975392 6.0281072-.9924119 12.7038532.04926445 18.2879399 2.85362966C57.1386273 10.0389054 63.3436516 25.7618627 58.2050229 40.3239688 54.677067 50.3216743 45.4153135 57.9417536 34.81395 59.5689067c-2.0856252.3201125-5.0651487.5086456-6.3276247.4003916z" fill="#FF4500"></path><path d="M34.1335847 43.9991814c1.6336774-.3831682 2.81654-.7939438 3.9781753-1.3815065 3.6153903-1.8286959 5.8788354-4.8645264 5.8788354-7.8849481 0-.9131088.0196207-.9556355.780668-1.6923265.6040409-.5847092.8404012-.962515 1.044679-1.6698428.2433185-.8425206.2441028-.9826228.0100139-1.7878614-.6566532-2.2588075-3.0054252-3.2764371-5.1075029-2.212882l-.8124519.4110627-.837264-.5151716c-1.6101652-.9907471-4.473974-1.96108051-6.3205111-2.14155924-.5059537-.04945042-1.143803-.1235464-1.4174535-.16465815l-.4975382-.07474783.2136595-1.06953332c.1175125-.5882423.3623778-1.7491883.5441475-2.57987956.181767-.83069153.4095191-1.95749071.5061138-2.50399817.1396137-.78991765.2348596-.99365031.4645331-.99365031.1589005 0 1.2955101.21462853 2.5257988.4769522 1.2302915.26232367 2.2622022.47695193 2.293134.47695193.0309345 0 .1003234.23497925.154203.52217616.1363137.72661143.4902897 1.17780487 1.2134714 1.54674469 1.7356128.8854428 3.6891485-.29431302 3.6891485-2.22790474 0-2.3956262-2.9538443-3.44186625-4.4550019-1.57794377-.2901205.36022881-.4356746.42625561-.7154284.32453216-.1931649-.07023833-1.5202546-.3669593-2.9490951-.65938053-1.8923676-.38728585-2.6686067-.48706487-2.8582979-.36740978-.2896185.1826864-.2522224.047706-1.0501419 3.79055007-.9490696 4.45187338-1.0064011 4.70400786-1.0882029 4.78580828-.0432388.04324046-.729551.14596475-1.5251367.22827402-2.413687.24971784-5.06621906 1.10194849-6.8544721 2.20227189l-.8268564.5087695-.81204644-.4046587c-2.11972653-1.0563058-4.47243958-.0382468-5.1287215 2.2192841-.23408885.8052386-.23330375.9453408.0100166 1.7878614.20427624.7073278.44063816 1.0851336 1.04467744 1.6698428.76105187.736691.78066878.7792177.78066878 1.6923265 0 4.172347 4.28816886 8.1540991 10.01599352 9.3002929 1.8975637.3797217 2.0263168.3894072 4.4515526.3349143 1.5849893-.0356103 2.7274992-.1508298 3.6566327-.3687526zm-6.6864685-3.0300366c-1.3154638-.2961613-2.8032079-.9569232-3.2391341-1.4386156-.34760429-.384099-.198986-.9659493.246724-.9659493.1736296 0 .5801788.1805458.9034441.4012095 2.1828306 1.4900284 7.1085991 1.484628 9.2987021-.0101767.7054363-.4814861 1.2827246-.468194 1.3538857.0311679.0334854.234998-.1164569.4687666-.4771278.7438635-1.7511846 1.3356924-5.2646974 1.8738181-8.086494 1.2385197v-.000019zm-4.01196195-5.9075609c-.81902983-.4443886-1.22403999-1.1532958-1.22477787-2.143771-.000787-1.135302.52653614-1.8699603 1.59778946-2.2257735.76240766-.253232.85344696-.2532238 1.51689516.0001492 1.785415.6818561 2.1507834 2.909296.6724678 4.0996229-.7705198.6204159-1.7299516.7214286-2.56237455.2697724zm11.09588945.0732995c-.7590038-.3947507-1.1832989-.8746601-1.3628596-1.5414995-.3321829-1.2336253.2931784-2.4377233 1.5067529-2.9011953.6634485-.253373.754488-.2533812 1.5168976-.0001492 1.0712525.3558132 1.5986343 1.0904715 1.5977903 2.2257735-.0008141 1.0085002-.4138259 1.7116813-1.2587076 2.1427072-.7599699.3877084-1.3548626.4098285-1.9998736.0743633z" fill="#FDFDFD"></path></g></g><g id="skyblog"><g fill-rule="nonzero" fill="none"><path d="M28.486325 59.9692983c-6.6364044-.569063-11.5630204-2.3269562-16.3219736-5.8239328C4.44376336 48.4721167 0 39.6467923 0 29.9869344 0 15.1115596 10.506778 2.79838844 25.2744118.36718043 31.302519-.62523147 37.978265.41644488 43.5623517 3.2208101 57.138627 10.0389054 63.3436513 25.7618627 58.2050226 40.3239688c-3.5279559 9.9977054-12.7897094 17.6177847-23.3910729 19.2449379-2.0856252.3201125-5.0651487.5086455-6.3276247.4003916z" fill-opacity=".87" fill="#000"></path><g fill="#FFF"><path d="M29.8428571 25.7285714c-1.3071428 0-2.5928571 0-3.8785714-.0071428-.0785714 0-.2071428-.1071429-.2357143-.1857143-.6071428-1.9428572-1.7142857-2.8214286-3.76428569-2.9571429-.95714285-.0642857-1.90714285-.0357143-2.80714285.3357143-.91428572.3785714-1.47857143 1.2285714-1.47857143 2.2071429 0 .5714285.26428571 1 .68571428 1.35.59285715.4857143 1.29285715.7571428 2.01428572.9571428C22.23571429 27.9428571 24.1 28.4214286 25.95 28.9571429c.9142857.2642857 1.8071429.6 2.5857143 1.1714285 1.1642857.8571429 1.8142857 2.0428572 2.0071428 3.45.2285715 1.6928572-.0142857 3.3142857-.9214285 4.8071429-.6714286 1.1-1.6285715 1.8571428-2.8071429 2.3285714-2.6285714 1.0642857-5.33571427 1.0714286-8.07142856.5357143-1.40714285-.2785714-2.66428571-.8714286-3.69285714-1.8928571-1.23571429-1.2142858-1.83571429-2.7214286-2-4.4214286-.01428571-.1642857-.02857143-.3285714-.04285714-.5285714h4.35c.17857143.5142857.30714285 1.0428571.53571428 1.5142857.4.8285714 1.12857143 1.2857143 1.98571429 1.5714285 1.7.5642858 3.39285717.5571429 5.05714287-.1214285C26.1 36.8928571 26.6214286 35.4285714 26 34.3928571c-.35-.5785714-.9214286-.9071428-1.5214286-1.2-1.54285711-.7428571-3.22142854-1.0642857-4.85714283-1.5142857-1.06428571-.2928571-2.12857143-.6-3.16428571-.9785714-1.5-.5571429-2.41428572-1.6785714-2.84285715-3.2071429-.5-1.7785714-.41428571-3.5071428.42857143-5.1714285.72857143-1.4285715 1.93571429-2.3 3.42142857-2.79285717 2.22142858-.72857143 4.49285715-.79285714 6.77142859-.37142857C25.75 19.43571429 27.1 20.0714286 28.1714286 21.2357143c.9571428 1.0214286 1.7857143 3.1571428 1.6714285 4.4928571z"></path><path d="M35.8428571 38.7571429c-.75-2.2785715-1.4857142-4.5642858-2.25-6.8357143-.1-.3-.0571428-.45.2-.6357143 1.8642858-1.3214286 3.7142858-2.6571429 5.5714286-3.9928572.1-.0714285.2-.1571428.3714286-.2857142h-7.7642857c-.0357143-.6071429-.0642857-1.1857143-.1142857-1.7642858-.2642858-3.2285714-1.7285715-5.68571424-4.6357143-7.21428567-.05-.02857143-.1-.05714286-.15-.09285714-.0071429-.00714286-.0142857-.01428572-.0571429-.06428572.85-2.57857143 1.7-5.17857143 2.5857143-7.87142857.3428571 1.05.6571429 2.00714286.9714286 2.97142857 1.1714285 3.59285714 2.3428571 7.18571433 3.5 10.78571433.0857143.2714285.2571428.25.4642857.25h14.4357143c-.1571429.1285714-.2428572.2-.3285715.2571428-3.7714285 2.7285714-7.5357142 5.4571429-11.3142857 8.1714286-.2428571.1785714-.2928571.3214286-.2.6142857 1.45 4.4071429 2.8857143 8.8142857 4.3214286 13.2214286.0357143.1071428.0642857.2214285.1357143.4285714C38.1571429 44.2214286 34.8071429 41.7928571 31.5 39.4c.3714286-.9714286.7357143-1.9142857 1.1071429-2.8857143 1.0428571.75 2.1214285 1.5214286 3.2 2.3 0-.0142857.0142857-.0357143.0357142-.0571428z"></path></g></g></g><g id="skype"><g fill="none" fill-rule="evenodd"><path d="M28.486325 59.9692983c-6.6364044-.569063-11.5630204-2.3269562-16.3219736-5.8239328C4.44376336 48.4721167 0 39.6467923 0 29.9869344 0 15.1115596 10.506778 2.79838844 25.2744118.36718043 31.302519-.62523147 37.978265.41644488 43.5623517 3.2208101 57.138627 10.0389054 63.3436513 25.7618627 58.2050226 40.3239688c-3.5279559 9.9977054-12.7897094 17.6177847-23.3910729 19.2449379-2.0856252.3201125-5.0651487.5086455-6.3276247.4003916z" fill="#44A836" fill-rule="nonzero"></path><circle fill="#00AFF0" cx="30" cy="30" r="30"></circle><path d="M36.2719048 35.4523242c-.5263334.7487732-1.2973334 1.3370473-2.3126667 1.7594835-1.0146667.4264404-2.2176667.6379922-3.609.6379922-1.6686667 0-3.044-.2896324-4.129-.8695646-.7673333-.4170974-1.3926667-.9753405-1.8736667-1.6717263-.4796666-.6957184-.72-1.3737519-.72-2.0327658 0-.3810601.1436667-.7083982.432-.9796783.288-.2739495.6556667-.4097564 1.101-.4097564.3613334 0 .668.1054422.917.318996.2506667.2125528.464.5258764.6396667.9439748.216.4948443.448.9092723.6986667 1.2409481.249.3326769.6016666.6076275 1.0536666.8228497.4543334.2145549 1.0506667.3236676 1.7883334.3236676 1.0143333 0 1.8393333-.2162233 2.4736666-.652674.6336667-.4334476.9523334-.9776762.9523334-1.6286818 0-.5158661-.172-.9363002-.5136667-1.2562973-.3426667-.3226665-.7846667-.5682535-1.3266667-.7377619-.542-.1705094-1.2663333-.3510291-2.1743333-.5415592-1.2146667-.2602687-2.2313333-.5682534-3.0493333-.9176142-.8183334-.3506955-1.469-.8275212-1.9486667-1.4321455-.481-.6059591-.7206667-1.3574017-.7206667-2.2546616 0-.8568849.2526667-1.6166694.7613334-2.2810221.507-.6653538 1.2403333-1.176882 2.2026666-1.534251.961-.3573691 2.0906667-.5352194 3.39-.5352194 1.0373334 0 1.9353334.119123 2.6923334.3546996.757.237245 1.3843333.5525706 1.8843333.9449758.5.3930726.866.8044975 1.0956667 1.2362767.231.4297771.3463333.8532144.3463333 1.2609687 0 .3747203-.1436667.7147381-.4323333 1.0143809-.2876667.3006438-.647.4521335-1.0773334.4521335-.3933333 0-.6913333-.0910941-.8946666-.2716138-.2036667-.1805197-.4253334-.475491-.6626667-.8859148-.308-.5866058-.6756667-1.0450792-1.108-1.3730846-.4306667-.3300074-1.1213333-.4938433-2.0753333-.4938433-.8826667 0-1.5963334.1768493-2.1383334.5352194-.5423333.356368-.8133333.7871462-.8133333 1.2893314 0 .3096531.0933333.5802659.2773333.8064995.183.2272346.4376667.4197668.7613334.5829353.3216666.1621674.6486666.2896324.979.3830622.3306666.0917614.8763333.2255663 1.639.4024155.952.2052119 1.8143333.4324466 2.5873333.6790346.7726667.2482563 1.43.5489001 1.972.9009303.542.3546996.9653333.802829 1.2686667 1.3443883.3033333.5398908.456 1.2035761.456 1.9887202 0 .9403044-.2646667 1.7855105-.79 2.5359521m7.1333333-5.8296866c0-7.3933012-5.9876667-13.3868237-13.3736667-13.3868237-.6906666 0-1.3633333.0667356-2.026.1685074-1.333-1.1391764-3.0596666-1.8328927-4.9506666-1.8328927-4.211 0-7.6263334 3.417529-7.6263334 7.6352177 0 1.7201095.5763334 3.3027438 1.5366667 4.5793955-.1963333.9156121-.3066667 1.8622563-.3066667 2.8365958 0 7.3949696 5.9863334 13.3888257 13.373 13.3888257.9493334 0 1.8746667-.1037738 2.7676667-.2923018 1.3393333 1.1712094 3.0873333 1.883278 5.003 1.883278 4.212 0 7.6263333-3.417529 7.6263333-7.6332156 0-2.0851532-.8353333-3.9721017-2.1896666-5.3485231.0986666-.6553433.1663333-1.3180277.1663333-1.9980632" fill="#FFF"></path></g></g><g id="stumbleupon"><g fill="none" fill-rule="evenodd"><g fill-rule="nonzero"><circle fill="#FF8226" cx="30" cy="30" r="30"></circle><g transform="translate(16.000000, 16.000000)" fill="#FFFFFF"><path d="M0,15.2225809 L0,25.1910701 C0,26.7287731 1.26040471,27.9752991 2.81528027,27.9752991 C4.37015582,27.9752991 5.63056053,26.7287731 5.63056053,25.1910701 L5.63056053,9.9538317 C5.46855813,12.8905403 3.00985687,15.2225809 0,15.2225809" opacity="0.299999982"></path><path d="M27.7743298,0 C21.648207,0 16.6819432,4.91150508 16.6819432,10.9702166 L16.6819432,14.3849279 C16.6819432,12.8472249 17.942565,11.6006989 19.4974406,11.6006989 C21.052099,11.6006989 22.3125037,12.8472249 22.3125037,14.3849279 L22.3125037,15.8020911 C22.3125037,17.339794 23.5731256,18.5863201 25.1280011,18.5863201 C26.6828767,18.5863201 27.9432814,17.339794 27.9432814,15.8020911 L27.9432814,0.00218765537 C27.8870366,0.00131259322 27.8307918,0 27.7743298,0" opacity="0.299999982"></path><path d="M0,15.2860232 C3.00985687,15.2860232 5.46855813,12.9539825 5.63056053,10.017274 L5.63056053,7.4054322 C5.63056053,7.33367711 5.63425227,7.26279707 5.63968131,7.19257334 C5.74956497,5.75418993 6.96349714,4.62098444 8.4458408,4.62098444 C10.0007164,4.62098444 11.2611211,5.86751048 11.2611211,7.4054322 L11.2611211,18.2990809 C11.2615554,19.8363463 12.5217429,21.0826536 14.0764013,21.0826536 C15.6310597,21.0826536 16.8912473,19.8365651 16.8918988,18.2992997 L16.8918988,10.9702166 C16.8918988,4.91150508 21.8579454,0 27.9840683,0 L0,0 L0,15.2860232 Z" opacity="0.699999988"></path><path d="M0,15.2225809 L0,25.1910701 C0,26.7287731 1.26040471,27.9752991 2.81528027,27.9752991 C4.37015582,27.9752991 5.63056053,26.7287731 5.63056053,25.1910701 L5.63056053,9.9538317 C5.46855813,12.8905403 3.00985687,15.2225809 0,15.2225809" opacity="0.5"></path><path d="M27.7743298,0 C21.648207,0 16.6819432,4.91150508 16.6819432,10.9702166 L16.6819432,14.3849279 C16.6819432,12.8472249 17.942565,11.6006989 19.4974406,11.6006989 C21.052099,11.6006989 22.3125037,12.8472249 22.3125037,14.3849279 L22.3125037,15.8020911 C22.3125037,17.339794 23.5731256,18.5863201 25.1280011,18.5863201 C26.6828767,18.5863201 27.9432814,17.339794 27.9432814,15.8020911 L27.9432814,0.00218765537 C27.8870366,0.00131259322 27.8307918,0 27.7743298,0" opacity="0.5"></path><path d="M0,15.2860232 C3.00985687,15.2860232 5.46855813,12.9539825 5.63056053,10.017274 L5.63056053,7.4054322 C5.63056053,7.33367711 5.63425227,7.26279707 5.63968131,7.19257334 C5.74956497,5.75418993 6.96349714,4.62098444 8.4458408,4.62098444 C10.0007164,4.62098444 11.2611211,5.86751048 11.2611211,7.4054322 L11.2611211,18.2990809 C11.2615554,19.8363463 12.5217429,21.0826536 14.0764013,21.0826536 C15.6310597,21.0826536 16.8912473,19.8365651 16.8918988,18.2992997 L16.8918988,10.9702166 C16.8918988,4.91150508 21.8579454,0 27.9840683,0 L0,0 L0,15.2860232 Z"></path></g></g></g></g><g id="tuenti"><g fill="none" fill-rule="evenodd"><circle fill-opacity=".87" fill="#000" cx="30" cy="30" r="30"></circle><g fill="#FFF"><path d="M23.659429 32.884887c-1.728 3.054857-3.133715 6.281142-4.659429 9.456 0 1.299428.802286 2.372571 2.074286 2.773714 1.138285.36 2.52-.133715 3.161143-1.368 1.285714-2.489143 2.502857-5.022857 3.682285-7.580572.562286-1.230857.109715-2.622857-.884571-3.36-1.083429-.802285-2.784-.990857-3.373714.078857zM34.019023 15.445437c-1.446857.912-1.676571 2.598857-.562285 4.354285 1.885714 3.013715 2.811428 6.294858 2.811428 9.857143-.096 1.004572-.133714 2.022857-.281143 3.024-.377143 2.653715-1.515428 4.998857-2.866285 7.275429-.805715 1.364571-.36343 2.945143.88457 3.774857 1.244572.805714 2.797715.497143 3.802287-.802286.202285-.253714.373714-.524571.534857-.805714 4.848-8.461714 4.834286-16.913143-.133714-25.309714-1.056-1.782857-2.746286-2.276572-4.189715-1.368zM22.655552 18.428658c-1.968-.013714-3.603429 1.604571-3.654857 3.6-.041143 1.875429 1.752 3.672 3.627428 3.644571 1.930286-.027428 3.644572-1.728 3.658286-3.617142 0-1.926858-1.686857-3.617143-3.630857-3.627429z"></path></g></g></g><g id="tumblr"><g fill="none" fill-rule="evenodd"><path d="M28.486325 59.969298c-6.636404-.569063-11.56302-2.326956-16.321973-5.823932C4.443764 48.472116 0 39.646792 0 29.986934 0 15.11156 10.506778 2.798388 25.274412.36718c6.028107-.992411 12.703853.049265 18.28794 2.85363 13.576275 6.818095 19.7813 22.541053 14.64267 37.103159-3.527955 9.997705-12.789708 17.617785-23.391072 19.244938-2.085625.320112-5.065149.508645-6.327625.400391z" fill="#35465C" fill-rule="nonzero"></path><path d="M25.96539 14c0 6.948267-5.96539 8.206933-5.96539 8.206933v4.750934h4.023219v11.788089C24.023219 42.70791 27.676687 46 32.121159 46c4.444828 0 6.882486-1.768533 6.882486-1.768533v-5.240178s-1.341547 1.7664-4.08147 1.7664c-2.739568 0-3.924832-2.132622-3.924832-3.778133v-9.992178h7.00325v-5.025422h-7.00325V14H25.96539z" fill="#FFF"></path></g></g><g id="twitter"><g fill="none" fill-rule="evenodd"><path d="M28.486325 59.969298c-6.636404-.569063-11.56302-2.326956-16.321973-5.823932C4.443764 48.472116 0 39.646792 0 29.986934 0 15.11156 10.506778 2.798388 25.274412.36718c6.028107-.992411 12.703853.049265 18.28794 2.85363 13.576275 6.818095 19.7813 22.541053 14.64267 37.103159-3.527955 9.997705-12.789708 17.617785-23.391072 19.244938-2.085625.320112-5.065149.508645-6.327625.400391z" fill="#1DA1F2" fill-rule="nonzero"></path><path d="M45.089067 17.577067c-.929778.595555-3.064534 1.460977-4.117334 1.460977v.001778C39.7696 17.784 38.077156 17 36.200178 17c-3.645511 0-6.6016 2.956089-6.6016 6.600178 0 .50631.058666 1.000178.16711 1.473778h-.001066c-4.945066-.129778-10.353422-2.608356-13.609244-6.85049-2.001778 3.46489-.269511 7.3184 2.002133 8.72249-.7776.058666-2.209067-.0896-2.882844-.747023-.045156 2.299734 1.060622 5.346845 5.092622 6.452267-.776533.417778-2.151111.297956-2.7488.209067.209778 1.941333 2.928355 4.479289 5.901155 4.479289C22.46009 38.565156 18.4736 40.788089 14 40.080889 17.038222 41.929422 20.5792 43 24.327111 43c10.650667 0 18.921956-8.631822 18.4768-19.280356-.001778-.011733-.001778-.023466-.002844-.036266.001066-.027378.002844-.054756.002844-.0832 0-.033067-.002844-.064356-.003911-.096356.9696-.66311 2.270578-1.836089 3.2-3.37991-.539022.296888-2.156089.891377-3.6608 1.038932.965689-.521244 2.396444-2.228266 2.749867-3.585777" fill="#FFF"></path></g></g><g id="vkontakte"><g fill="none" fill-rule="evenodd"><circle fill="#4680C2" fill-rule="nonzero" cx="30" cy="30" r="30"></circle><path d="M49.06121 21.60996c.28897-.90818 0-1.56868-1.27972-1.56868h-4.25195c-1.07331 0-1.56869.57794-1.85765 1.19715 0 0-2.1879 5.28399-5.2427 8.71032-.99076.99075-1.44485 1.321-1.9815 1.321-.28897 0-.6605-.33025-.6605-1.23843v-8.46264c0-1.0733-.33025-1.56868-1.23844-1.56868h-6.68754c-.6605 0-1.07331.49537-1.07331.99075 0 1.03203 1.5274 1.27971 1.69253 4.1694v6.27473c0 1.36227-.24769 1.60996-.78434 1.60996-1.44484 0-4.95374-5.32527-7.05908-11.3936C18.2242 20.4541 17.8114 20 16.73808 20h-4.29324C11.20641 20 11 20.57794 11 21.19715c0 1.1146 1.44484 6.72883 6.72883 14.15943 3.5089 5.07758 8.50391 7.80214 13.00355 7.80214 2.72456 0 3.0548-.61922 3.0548-1.65125v-3.83914c0-1.23844.2477-1.44484 1.1146-1.44484.61922 0 1.7338.33025 4.25196 2.76583C42.04342 41.879 42.53879 43.2 44.14875 43.2h4.25196c1.23844 0 1.81637-.61922 1.48612-1.81637-.37153-1.19715-1.77509-2.93096-3.59146-4.99502-.99074-1.15587-2.47686-2.43559-2.93096-3.0548-.61921-.82562-.45409-1.15587 0-1.89893-.04128 0 5.16015-7.34805 5.6968-9.82492" fill="#FFFFFF"></path></g></g><g id="web_system_activity_dialog"><g fill="none" fill-rule="evenodd"><circle cx="30" cy="30" r="29.5" stroke="#E7E7E7" fill="#F4F4F4" stroke-width="1"></circle><path d="M 37.2 34.8 c -0.948 0.0 -1.8 0.372 -2.436 0.972 L 26.292 30.84 c 0.06 -0.276 0.108 -0.552 0.108 -0.84 s -0.048 -0.564 -0.108 -0.84 l 8.46 -4.932 c 0.636 0.6 1.5 0.972 2.448 0.972 c 1.992 0.0 3.6 -1.608 3.6 -3.6 s -1.608 -3.6 -3.6 -3.6 s -3.6 1.608 -3.6 3.6 c 0.0 0.288 0.048 0.576 0.108 0.84 L 25.248 27.372 C 24.6 26.772 26.748 26.4 22.8 26.4 c -1.992 0.0 -3.6 1.608 -3.6 3.6 s 1.608 3.6 3.6 3.6 c 0.948 0.0 1.8 -0.372 2.448 -0.972 l 8.46 4.944 c -0.06 0.264 -0.108 0.54 -0.108 0.828 c 0.0 1.992 1.608 3.6 3.6 3.6 s 3.6 -1.608 3.6 -3.6 s -1.608 -3.6 -3.6 -3.6 Z m 0.0 -14.4 c 0.66 0.0 1.2 0.54 1.2 1.2 s -0.54 1.2 -1.2 1.2 s -1.2 -0.54 -1.2 -1.2 s 0.54 -1.2 1.2 -1.2 Z M 22.8 31.2 c -0.66 0.0 -1.2 -0.54 -1.2 -1.2 s 0.54 -1.2 1.2 -1.2 s 1.2 0.54 1.2 1.2 s -0.54 1.2 -1.2 1.2 Z m 14.4 8.4 c -0.66 0.0 -1.2 -0.54 -1.2 -1.2 s 0.54 -1.2 1.2 -1.2 s 1.2 0.54 1.2 1.2 s -0.54 1.2 -1.2 1.2 Z" fill="#6F6F6F" fill-rule="nonzero"></path></g></g><g id="weibo"><g fill="none" fill-rule="evenodd"><circle fill="#FFF" cx="30" cy="30" r="30"></circle><circle stroke="#EAEAEA" cx="30" cy="30" r="29.5"></circle><g fill-rule="nonzero"><path d="M14 35.5c0 4.6950262 6.04584352 8.5 13.5 8.5 7.4541565 0 13.5-3.8049738 13.5-8.5S34.9541565 27 27.5 27C20.04584352 27 14 30.8049738 14 35.5" fill="#FFF"></path><path d="M27.3761426 43.6124005c-6.45365226.6607543-12.02530537-2.3542842-12.44479277-6.7241466-.41948739-4.375415 4.47453223-8.4509919 10.92280647-9.1117462 6.4536522-.6607543 12.0253053 2.3542842 12.4394147 6.7241466.4248654 4.375415-4.4691542 8.4565444-10.9174284 9.1117462m12.9019265-14.5199368c-.5485605-.1721292-.9250235-.2831804-.6399872-1.027223.623853-1.6157941.6883896-3.0094859.0107561-4.0089462-1.2638403-1.86565918-4.7273003-1.76571316-8.6962964-.049973 0 0-1.2477061.5608082-.9250235-.4553097.6077189-2.02668333.5162921-3.72021324-.4302435-4.70301584-2.1512174-2.22657538-7.8788338.08328836-12.78898757 5.15277294C13.13508329 27.7931654 11 31.8187693 11 35.3002225 11 41.9521859 19.26605293 46 27.3492524 46c10.6001238 0 17.6507389-6.3576778 17.6507389-11.4049522.005378-3.0539064-2.4846561-4.7863042-4.7219222-5.5025841" fill="#E6162D"></path><path d="M47.4694908 17.28258474c-2.4366706-2.73706627-6.0302479-3.77901763-9.3473961-3.06364804-.7678584.1658828-1.2541687.93309077-1.090359 1.70548258.1638098.77757564.9163111 1.27004022 1.6841695 1.10415741 2.3598847-.50801608 4.9142937.2332727 6.6445346 2.17721181s2.201194 4.59288014 1.4589309 6.9152394c-.2405956.7568403.1689289 1.565519.916311 1.8091593.7473822.2436404 1.5459549-.1710666 1.7865505-.9227231v-.0051838c1.0442875-3.26063388.3839292-6.98781313-2.0527414-9.71969556" fill="#F93"></path><path d="M43.7237466 20.7757037c-1.2316662-1.48190528-3.0473119-2.04698978-4.7196173-1.65489033-.6848488.15568655-1.1201791.8937561-.9768386 1.63759183.1486493.74383572.8228804 1.21666153 1.5024203 1.05520881.8175715-.19028355 1.7094677.08649253 2.309374.80726358.5999064.72653722.7644825 1.71255201.5043461 2.57747731-.2123563.720771.1486493 1.4992037.8175715 1.7356167.6689221.2306467 1.3803155-.1614528 1.5979806-.88799.5255817-1.7702137.1964295-3.78837262-1.0352366-5.2702779" fill="#F93"></path><path d="M27.8864165 36.7119245c-.2193097.3947001-.704924.5810863-1.0808835.4166279-.3759594-.1589764-.4908359-.603014-.2767479-.9867503.2193097-.3837362.6840374-.5701223 1.0547752-.4166278.3759594.1425305.5117226.5865682.3028562.9867502M25.886521 39.398078c-.6057125 1.01416-1.9059056 1.4581976-2.8823559.9922322-.9607853-.4604834-1.2479765-1.6391018-.6422641-2.631334.6004908-.9867503 1.8536891-1.4253059 2.8249177-.9977142.9816719.4440377 1.2949715 1.6116921.6997023 2.636816m2.2766434-7.1813491c-2.9815674-.81681-6.3495376.7455446-7.64450909 3.5029634-1.32107978 2.8122383-.04177327 5.9369475 2.96590249 6.9565894 3.1225522 1.0580156 6.7986003-.5646404 8.0779068-3.5961565 1.2636415-2.9712147-.3132996-6.0246586-3.3993002-6.8633963" fill="#000"></path></g></g></g><g id="whatsapp"><g fill="none" fill-rule="evenodd"><circle cx="30" cy="30" r="30" fill="#25D366"></circle><path d="M39.7746 19.3513C37.0512 16.5467 33.42 15 29.5578 15C21.6022 15 15.1155 21.6629 15.1155 29.8725C15.1155 32.4901 15.7758 35.0567 17.0467 37.3003L15 45L22.6585 42.9263C24.7712 44.1161 27.148 44.728 29.5578 44.728C37.5134 44.728 44 38.0652 44 29.8555C44 25.8952 42.498 22.1558 39.7746 19.3513ZM29.5578 42.2295C27.3956 42.2295 25.2829 41.6346 23.4508 40.5127L23.0051 40.2408L18.4661 41.4646L19.671 36.9093L19.3904 36.4334C18.1855 34.4618 17.5583 32.1841 17.5583 29.8555C17.5583 23.0397 22.9556 17.4986 29.5743 17.4986C32.7763 17.4986 35.7968 18.7904 38.0581 21.119C40.3193 23.4476 41.5737 26.5581 41.5737 29.8555C41.5572 36.6884 36.1764 42.2295 29.5578 42.2295ZM36.1434 32.966C35.7803 32.779 34.0142 31.8782 33.6841 31.7592C33.354 31.6402 33.1064 31.5722 32.8754 31.9462C32.6278 32.3201 31.9511 33.153 31.7365 33.4079C31.5219 33.6629 31.3238 33.6799 30.9607 33.4929C30.5976 33.306 29.4422 32.915 28.0558 31.6572C26.9829 30.6714 26.2567 29.4476 26.0421 29.0907C25.8275 28.7167 26.0256 28.5127 26.2072 28.3258C26.3722 28.1558 26.5703 27.8839 26.7518 27.6799C26.9334 27.4589 26.9994 27.3059 27.115 27.068C27.2305 26.813 27.181 26.6091 27.082 26.4221C26.9994 26.2351 26.2732 24.3994 25.9761 23.6686C25.679 22.9377 25.3819 23.0397 25.1673 23.0227C24.9528 23.0057 24.7217 23.0057 24.4741 23.0057C24.2265 23.0057 23.8469 23.0907 23.5168 23.4646C23.1867 23.8385 22.2459 24.7394 22.2459 26.5581C22.2459 28.3938 23.5333 30.1445 23.7149 30.3994C23.8964 30.6544 26.2567 34.3938 29.8714 36.0085C30.7297 36.3994 31.4064 36.6204 31.9345 36.7904C32.7928 37.0793 33.5851 37.0283 34.2123 36.9433C34.9055 36.8414 36.3415 36.0425 36.6551 35.1756C36.9522 34.3088 36.9522 33.5609 36.8697 33.4079C36.7541 33.255 36.5065 33.153 36.1434 32.966Z" fill="white"></path></g></g><g id="wykop"><g fill="none" fill-rule="evenodd"><circle fill="#337EAD" cx="30" cy="30" r="30"></circle><g fill="#FFF" fill-rule="nonzero"><path d="M46.5 22.5c-.4-2.9-1.8-5.2-4.7-6.3-1.3-.5-2.7-.8-4.1-.9-2.6-.3-5.2-.3-7.6-.3-3.2 0-6.2 0-9.2.4-4.8.7-7.2 3.4-7.7 7.9-.2 2.6-.2 5.2-.2 7.8.1 2.3.1 4.5.6 6.8.6 3 2.3 5.1 5.3 6 1.5.5 3.1.7 4.7.8 3.1.3 6.3.1 9.4.1 2.3 0 4.6-.1 6.8-.6 3.4-.7 5.7-2.5 6.5-6 .4-1.6.6-3.2.6-4.8.1-3.5.2-7.2-.4-10.9zm-3.4 12.3c-.1 1.2-.3 2.4-.9 3.5-.7 1.4-1.9 2-3.4 2.2-2.8.5-5.8.4-8.8.5-2.7 0-5.3-.1-8-.3-3.1-.2-4.7-1.9-5.1-5.1-.4-3.5-.4-7-.1-10.5.1-.9.2-1.8.5-2.7.6-1.9 1.9-2.9 3.7-3.2 2.1-.3 4-.3 6-.3 3.3-.1 6.5 0 9.8.1.8 0 1.6.2 2.4.3 2.2.4 3.2 1.9 3.7 3.9.3 1.3.4 2.7.4 4 0 2.5 0 5.1-.2 7.6z"></path><path d="M41 31.7c0 .2-.2.2-.4.3-2.5 1.2-5 2.5-7.5 3.7-2.5 1.2-5 2.4-7.4 3.7-.4.2-.6.2-.8-.2-1.8-3.7-3.6-7.4-5.4-11-.2-.3-.1-.5.2-.6 1-.5 2.1-1 3.1-1.5.4-.2.5-.1.7.3 1.4 3 2.9 5.9 4.3 8.9.3.5.5.5.9.3 1.4-.7 1.4-.7.7-2.1-1.3-2.7-2.6-5.4-4-8.1-.2-.4-.2-.5.2-.7 1-.5 2-.9 3-1.5.4-.2.6-.2.8.3 1.4 2.9 2.9 5.9 4.3 8.8.2.5.4.6.9.3 1.4-.7 1.4-.7.7-2.1-1.3-2.7-2.6-5.4-4-8.1-.2-.4-.2-.5.2-.7 1.1-.5 2.1-1 3.1-1.5.3-.1.4-.2.6.2 1.8 3.7 3.7 7.5 5.5 11.2.2 0 .2 0 .3.1z"></path></g></g></g><g id="yahoo"><g fill="none" fill-rule="evenodd"><circle fill="#400191" cx="30" cy="30" r="30"></circle><path d="M37.513 14.571429c-1.109333 2.097833-5.201 8.885842-7.805 13.232664-2.641333-4.44092-5.768333-9.56788-7.805333-13.232664-1.615334.349694-2.291.37205-3.902667 0 3.199 4.893386 8.325 14.21401 10.068667 17.273837l-.234334 12.757174s1.125-.191198 1.877-.191198c.833 0 1.869667.191198 1.869667.191198l-.234-12.757174c3.253667-5.795651 8.625-15.251082 10.1-17.273837-.647333.44012-1.639.665353-2.551333.87457l-1.382667-.87457z" fill="#FFF"></path></g></g><g id="youtube_community_post"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g fill-rule="nonzero"><path d="M30,0 L30,0 C46.625,0 60,13.375 60,30 L60,30 C60,46.625 46.625,60 30,60 L30,60 C13.375,60 0,46.625 0,30 L0,30 C0,13.375 13.375,0 30,0 Z" fill="#ff0000"></path><path d="M40,27.125 L42.5,24.625 L42.5,40 C42.5,41.375 41.375,42.5 40,42.5 L20,42.5 C18.625,42.5 17.5,41.375 17.5,40 L17.5,20 C17.5,18.625 18.625,17.5 20,17.5 L35.375,17.5 L32.875,20 L20,20 L20,40 L40,40 L40,27.125 Z M23.75,32.625 L34.5,21.875 L38.125,25.5 L27.375,36.25 L23.75,36.25 L23.75,32.625 Z M41,22.75 L39.25,24.5 L35.625,20.875 L37.375,19.125 C37.75,18.75 38.375,18.75 38.75,19.125 L41,21.375 C41.375,21.75 41.375,22.375 41,22.75 Z" fill="#FFFFFF"></path></g></g></g><g id="youtube_community_repost"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g fill-rule="nonzero"><circle fill="#ff0000" cx="30" cy="30" r="30"></circle><path d="M22.7083333,23.28125 L37.2916667,23.28125 L37.2916667,27.5 L43.125,21.875 L37.2916667,16.25 L37.2916667,20.46875 L19.7916667,20.46875 L19.7916667,28.90625 L22.7083333,28.90625 L22.7083333,23.28125 Z M37.2916667,37.34375 L22.7083333,37.34375 L22.7083333,33.125 L16.875,38.75 L22.7083333,44.375 L22.7083333,40.15625 L40.2083333,40.15625 L40.2083333,31.71875 L37.2916667,31.71875 L37.2916667,37.34375 Z" fill="#FFFFFF"></path></g></g></g></defs></svg></iron-iconset-svg>';rjb=
vjb}ujb=rjb;tjb.call(sjb,ujb.content);
var SN=function(){var a=_.K.apply(this,arguments)||this;a.screenLayer=7;return a};
_.q(SN,_.K);SN.prototype.getScreenLayer=function(){return this.screenLayer};
SN.prototype.onTap=function(a){a&&a.detail&&(a.detail.x||a.detail.y)&&this.$.target.blur();this.data.serviceEndpoint?_.Kg(this,[this.data.serviceEndpoint]):this.data.navigationEndpoint&&(a=this.getScreenLayer(),this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint,createScreenConfig:{layer:a}}))};
_.t.Object.defineProperties(SN.prototype,{title:{configurable:!0,enumerable:!0,get:function(){return this.ytRendererBehavior.getSimpleString(this.data.title)}},
icon:{configurable:!0,enumerable:!0,get:function(){return"socialNetworksRound:"+this.data.serviceName.toLowerCase()}}});
_.t.Object.defineProperties(SN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-share-target-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_target_renderer.yt.share.target.renderer.css.js--\x3e<button id="target" title="[[title]]">\n  <yt-icon class="icon-resize" icon="[[icon]]"></yt-icon>\n  <div id="title">[[title]]</div>\n</button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pjb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_share_target_renderer.yt.share.target.renderer.css.js--\x3e<style>:host {display: inline-block;vertical-align: top;user-select: none;} #target {margin: 1px 0;border: none;border-radius: 3px;padding: 5px 1px 2px;outline: none;text-align: inherit;font-family: inherit;background-color: transparent;cursor: pointer;} #target:focus {outline: 1px solid var(--yt-spec-button-chip-background-hover);background-color: var(--yt-spec-button-chip-background-hover);} :host yt-icon {--iron-icon-height: 60px;--iron-icon-width: 60px;margin-left: var(--ytd-margin-base);margin-right: var(--ytd-margin-base);margin-bottom: var(--ytd-margin-2x);} #title {color: var(--yt-spec-text-primary);margin: auto;width: 68px;max-height: 42px;text-align: center;white-space: normal;overflow: hidden;@apply --ytd-thumbnail-attribution;@apply --yt-share-target-renderer-title;} /*# sourceMappingURL=yt-share-target-renderer.css.map*/</style>";
pjb=d}d=pjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qjb=a}a=qjb;return a}}});
var TN=SN;TN.prototype.onTap=TN.prototype.onTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],TN.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],TN.prototype,"data",void 0);_.S([_.V("data.title"),_.T("design:type",Object),_.T("design:paramtypes",[])],TN.prototype,"title",null);_.S([_.V("data.serviceName"),_.T("design:type",String),_.T("design:paramtypes",[])],TN.prototype,"icon",null);
_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],TN.prototype,"onTap",null);TN=_.S([_.lu({is:"yt-share-target-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],TN);
var wjb;
var xjb;
_.Ng({is:"yt-third-party-share-target-section-renderer",_template:function(){if(void 0!==xjb)return xjb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-third-party-share-target-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_third_party_share_target_section_renderer.yt.third.party.share.target.section.renderer.css.js--\x3e<div id="list">\n  <div id="contents" role="listbox"></div>\n</div>\n<yt-icon-button id="scroll-button-back" class="scroll-button" on-tap="onScrollBack_">\n  <yt-icon class="scroll-button-icon" icon="chevron_left"></yt-icon>\n</yt-icon-button>\n<yt-icon-button id="scroll-button-forward" class="scroll-button" on-tap="onScrollForward_">\n  <yt-icon class="scroll-button-icon" icon="chevron_right"></yt-icon>\n</yt-icon-button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wjb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_third_party_share_target_section_renderer.yt.third.party.share.target.section.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #list {overflow: hidden;white-space: nowrap;} #contents yt-share-target-renderer {display: inline-block;margin-right: 8px;} #scroll-button-back {left: -14px;} #scroll-button-forward {right: -14px;} .scroll-button-icon {width: 24px;height: 24px;} .scroll-button {position: absolute;width: 40px;height: 40px;top: 16px;border-radius: 50%;background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-icon-inactive);overflow: hidden;box-shadow: 0 4px 4px rgba(0,0,0,0.3),0 0 4px rgba(0,0,0,0.2);} /*# sourceMappingURL=yt-third-party-share-target-section-renderer.css.map*/</style>";
wjb=d}d=wjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return xjb=a},
actionMap:{"yt-share-panel-reset-action":"onReset_"},behaviors:[_.X.YtRendererstamperBehavior,_.Y.YtActionHandlerBehavior,_.U.YtRendererBehavior],listeners:{wheel:"onScrollWheel_"},properties:{data:{type:Object,observer:"onDataChanged_"}},stampDom:{"data.shareTargets":{id:"contents",mapping:{shareTargetRenderer:{component:"yt-share-target-renderer",attributes:{role:"option"}}}}},SHARE_TARGET_WIDTH_:70,SHARE_TARGET_MARGIN_RIGHT_:8,PAGE_SCROLL_SPEED_:9,onDataChanged_:function(){this.data&&this.data.shareTargets&&
(this.$["scroll-button-back"].hidden=!0,this.$["scroll-button-forward"].hidden=6>=this.data.shareTargets.length)},
onReset_:function(){if(this.$.list){var a=this.$.list;var b=this.$.list;var c=b.offsetLeft,d=b.offsetParent;d||"fixed"!=_.dz(b,"position")||(d=_.nk(b).documentElement);if(d){if(_.Ej&&!_.Ij(58)){var e=_.g1a(d);c+=e.left}else _.Jj(8)&&!_.Jj(9)&&(e=_.g1a(d),c-=e.left);b=_.Jz(d)?d.clientWidth-(c+b.offsetWidth):c}else b=c;Tbb(a,b);this.updateScrollButtons_()}},
onScrollBack_:function(){this.smoothScrollByOnePage_(!1)},
onScrollForward_:function(){this.smoothScrollByOnePage_(!0)},
onScrollWheel_:function(a){a.stopPropagation();a.preventDefault();var b=Sbb(this.$.list);Tbb(this.$.list,b+(Math.abs(a.deltaX)>Math.abs(a.deltaY)?a.deltaX:a.deltaY));this.updateScrollButtons_()},
smoothScrollByOnePage_:function(a){var b=this.$.list,c=(Math.floor(b.clientWidth/this.SHARE_TARGET_WIDTH_)*(this.SHARE_TARGET_WIDTH_+this.SHARE_TARGET_MARGIN_RIGHT_)-this.SHARE_TARGET_MARGIN_RIGHT_)/2,d=Sbb(b),e=c*(a?1:-1),h=this.PAGE_SCROLL_SPEED_,l=this.updateScrollButtons_.bind(this),m=0,p;(function v(){m+=h;p=m/c*2;Tbb(b,d+e*(1>p?p*p:-p*p+4*p-2));m<c?window.requestAnimationFrame(v):l()})()},
updateScrollButtons_:function(){var a=Sbb(this.$.list),b=this.$.list.scrollWidth-this.$.list.clientWidth;this.$["scroll-button-back"].hidden=0>=a;this.$["scroll-button-forward"].hidden=a>=b}});
_.Ng({is:"yt-third-party-network-section-renderer",_template:function(){if(void 0!==ojb)return ojb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-third-party-network-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_third_party_network_section_renderer.yt.third.party.network.section.renderer.css.js--\x3e<div id="share-targets"></div>\n<div id="copy-link"></div>\n<div id="start-at"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===njb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_third_party_network_section_renderer.yt.third.party.network.section.renderer.css.js--\x3e<style>:host {display: inline-block;} yt-copy-link-renderer {margin-top: var(--ytd-margin-6x);} yt-start-at-renderer {margin-top: var(--ytd-margin-6x);padding-top: var(--ytd-margin-6x);border-top: 1px solid var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=yt-third-party-network-section-renderer.css.map*/</style>";
njb=d}d=njb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return ojb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object},stampDom:{"data.shareTargetContainer":{id:"share-targets",mapping:{thirdPartyShareTargetSectionRenderer:"yt-third-party-share-target-section-renderer"}},"data.copyLinkContainer":{id:"copy-link",mapping:{copyLinkRenderer:"yt-copy-link-renderer"}},"data.startAtContainer":{id:"start-at",mapping:{startAtRenderer:"yt-start-at-renderer"}}}});
var UN=function(){var a=_.K.apply(this,arguments)||this;a.screenLayer=7;return a};
_.q(UN,_.K);_.f=UN.prototype;_.f.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{senderIdSectionRenderer:"ytd-sender-id-section-renderer",thirdPartyNetworkSection:"yt-third-party-network-section-renderer"}}}};
_.f.onDataChanged=function(){var a=this,b;null!=(b=this.data)&&b.contents&&(this.setAttribute("links-only","true"),this.toggleAttribute("can-post",this.hasCommunityPostRenderer()),this.logSharePanelPage(),_.nt(this,function(){a.fire("yt-refit")}))};
_.f.hasCommunityPostRenderer=function(){var a,b,c,d;return!!(null==(a=this.data)?0:null==(b=a.header)?0:null==(c=b.sharePanelHeaderRenderer)?0:null==(d=c.communityPost)?0:d.communityPostSectionRenderer)};
_.f.onTapClose=function(){_.C(this,"yt-close-popup-action",["ytd-unified-share-panel-renderer"])};
_.f.getScreenLayer=function(){return this.screenLayer};
_.f.logSharePanelPage=function(){var a;if(null!=(a=this.data)&&a.trackingParams){a=this.data.trackingParams;var b=this.parentClickTrackingParams;b=b?_.no(b):void 0;var c=_.vp();_.ks(c,21760,b,{layer:7,parentLayer:0});_.ms(c,a,void 0,7);_.hh.dispatch(_.Rg({type:"CLEAR_PARENT_CLICK_TRACKING_PARAMS"}))}};
_.t.Object.defineProperties(UN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-unified-share-panel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.share.ytd_unified_share_panel_renderer.ytd.unified.share.panel.renderer.css.js--\x3e<div id="spinner" hidden="[[!data.showLoadingSpinner]]">\n  <tp-yt-paper-spinner active="[[data.showLoadingSpinner]]"></tp-yt-paper-spinner>\n</div>\n<yt-icon-button id="close-button" label="[[closeButtonAriaLabel]]" on-click="onTapClose">\n  <yt-icon icon="close"></yt-icon>\n</yt-icon-button>\n<yt-share-panel-header-renderer id="share-panel-header" data="[[data.header.sharePanelHeaderRenderer]]" hidden="[[data.showLoadingSpinner]]">\n</yt-share-panel-header-renderer>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ajb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.share.ytd_unified_share_panel_renderer.ytd.unified.share.panel.renderer.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;max-width: 470px;padding: 0 24px 0 24px;user-select: none;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #spinner {width: 470px;height: 428px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host([links-only]) #spinner {height: 269px;} :host yt-share-panel-header-renderer {margin-bottom: 8px;} #contents ytd-sender-id-section-renderer {display: block;padding-bottom: 16px;} :host(:not([links-only])) #contents ytd-sender-id-section-renderer {margin-top: 24px;} #contents yt-third-party-network-section-renderer {display: block;} #close-button {position: absolute;right: 18px;top: -5px;color: var(--yt-spec-icon-inactive);} #close-button:hover {color: var(--yt-spec-icon-active-other);} /*# sourceMappingURL=ytd-unified-share-panel-renderer.css.map*/</style>";
ajb=d}d=ajb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bjb=a}a=bjb;return a}}});
var VN=UN;VN.prototype.onDataChanged=VN.prototype.onDataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],VN.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],VN.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],VN.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],VN.prototype,"data",void 0);
_.S([_.N({value:_.Bg("SBOX_INAPPROPRIATE_CANCEL")}),_.T("design:type",String)],VN.prototype,"closeButtonAriaLabel",void 0);_.S([_.N({selector:function(a){return a.share.parentClickTrackingParams}}),
_.T("design:type",String)],VN.prototype,"parentClickTrackingParams",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VN.prototype,"onDataChanged",null);VN=_.S([_.Q({asyncProperties:!0,is:"ytd-unified-share-panel-renderer"})],VN);
var yjb;
var zjb;
var WN=function(){return _.K.apply(this,arguments)||this};
_.q(WN,_.K);WN.prototype.attached=function(){this.setAttribute("modal","true")};
_.t.Object.defineProperties(WN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-modal-with-title-and-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.navigation_endpoints.ytd_modal_with_title_and_button_renderer.ytd.modal.with.title.and.button.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[data.title]]">\n</yt-formatted-string>\n<yt-formatted-string id="content" split-lines="" text="[[data.content]]">\n</yt-formatted-string>\n<div class="buttons" hidden="[[!data.button]]">\n  <ytd-button-renderer id="button" align-by-text="" data="[[data.button.buttonRenderer]]">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yjb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.navigation_endpoints.ytd_modal_with_title_and_button_renderer.ytd.modal.with.title.and.button.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {background-color: var(--yt-spec-brand-background-primary);display: inline-block;margin: 24px 40px;padding: 0;max-width: 500px;box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -5px rgba(0,0,0,0.4);} :host>* {margin-top: 20px;padding: 0 24px;} :host>*:first-child {margin-top: 24px;} .buttons {position: relative;padding: 8px 8px 8px 24px;margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([modal]) {margin: 0;min-width: 378px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {color: var(--yt-spec-text-primary);display: block;margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #content {color: var(--yt-spec-text-secondary);display: block;margin: 4px 0 32px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);height: 40px;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-modal-with-title-and-button-renderer.css.map*/</style>';
yjb=d}d=yjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zjb=a}a=zjb;return a}}});
var XN=WN;_.S([_.N(),_.T("design:type",Object)],XN.prototype,"data",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],XN.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],XN.prototype,"ytEventForwardingBehavior",void 0);XN=_.S([_.Q({asyncProperties:!0,is:"ytd-modal-with-title-and-button-renderer"})],XN);
var Ajb;
var Bjb;
var Cjb=function(){return _.K.apply(this,arguments)||this};
_.q(Cjb,_.K);
_.t.Object.defineProperties(Cjb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Bjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-account-item-section-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_item_section_header_renderer.ytd.account.item.section.header.renderer.css.js--\x3e<yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ajb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_item_section_header_renderer.ytd.account.item.section.header.renderer.css.js--\x3e<style>:host {display: inline-block;padding: 8px 16px;} yt-formatted-string {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-account-item-section-header-renderer.css.map*/</style>';
Ajb=d}d=Ajb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Bjb=a}a=Bjb;return a}}});
var YN=Cjb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YN.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YN.prototype,"data",void 0);_.S([_.N({notify:!0}),_.T("design:type",String)],YN.prototype,"page",void 0);YN=_.S([_.Q({asyncProperties:!0,is:"ytd-account-item-section-header-renderer"})],YN);
var Djb;
var Ejb;
var ZN=function(){return _.K.apply(this,arguments)||this};
_.q(ZN,_.K);ZN.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{accountItem:{component:"ytd-account-item-renderer",properties:{onAccountItemTap:"[[onAccountItemTap]]"}},accountItemRenderer:{component:"ytd-account-item-renderer",properties:{onAccountItemTap:"[[onAccountItemTap]]"}},compactLinkRenderer:"ytd-compact-link-renderer",continuationItemRenderer:{component:"ytd-continuation-item-renderer",params:{showButton:!0}}}},"data.header":{id:"header",mapping:{accountItemSectionHeaderRenderer:"ytd-account-item-section-header-renderer"}}}};
ZN.prototype.configureContinuationPathMap=function(){return{"yt-append-continuation-items-action":"contents"}};
_.t.Object.defineProperties(ZN,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ejb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-account-item-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_item_section_renderer.ytd.account.item.section.renderer.css.js--\x3e<div id="header"></div>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Djb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_item_section_renderer.ytd.account.item.section.renderer.css.js--\x3e<style>:host {display: block;} #contents>*:hover {background-color: var(--yt-spec-badge-chip-background);} #contents>ytd-continuation-item-renderer:hover {background: none;} ytd-continuation-item-renderer {margin: 8px 16px;} /*# sourceMappingURL=ytd-account-item-section-renderer.css.map*/</style>";
Djb=d}d=Djb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ejb=a}a=Ejb;return a}}});
var $N=ZN;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$N.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$N.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],$N.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$N.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!1}),_.T("design:type",Function)],$N.prototype,"onAccountItemTap",void 0);
$N=_.S([_.Q({asyncProperties:!0,is:"ytd-account-item-section-renderer"})],$N);
var Fjb;
var Gjb;
var Hjb;
var Ijb;
var Jjb=function(){return _.K.apply(this,arguments)||this};
_.q(Jjb,_.K);
_.t.Object.defineProperties(Jjb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ijb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-accounts-dialog-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_accounts_dialog_header_renderer.ytd.accounts.dialog.header.renderer.css.js--\x3e<yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Hjb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_accounts_dialog_header_renderer.ytd.accounts.dialog.header.renderer.css.js--\x3e<style>:host {display: inline-block;padding: 8px 16px;} yt-formatted-string {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-accounts-dialog-header-renderer.css.map*/</style>';
Hjb=d}d=Hjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ijb=a}a=Ijb;return a}}});
var aO=Jjb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],aO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],aO.prototype,"data",void 0);aO=_.S([_.Q({asyncProperties:!0,is:"ytd-accounts-dialog-header-renderer"})],aO);
var Kjb;
var Ljb;
var bO=function(){return _.K.apply(this,arguments)||this};
_.q(bO,_.K);bO.prototype.configureRendererStamper=function(){return{"data.managedAccountDisclaimer":{id:"managedAccountDisclaimer",mapping:{compactLinkRenderer:"ytd-compact-link-renderer"}}}};
_.t.Object.defineProperties(bO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ljb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-google-account-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_google_account_header_renderer.ytd.google.account.header.renderer.css.js--\x3e<div id="managedAccountDisclaimer"></div>\n<div id="container">\n  <div>\n    <yt-formatted-string id="name" text="[[data.name]]"></yt-formatted-string>\n  </div>\n  <div>\n    <yt-formatted-string id="email" text="[[data.email]]"></yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Kjb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_google_account_header_renderer.ytd.google.account.header.renderer.css.js--\x3e<style>:host {display: inline-block;} yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #container {margin: 0 16px;padding: 12px 0;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #name {color: var(--yt-spec-text-primary);} #email {color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-google-account-header-renderer.css.map*/</style>';
Kjb=d}d=Kjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ljb=a}a=Ljb;return a}}});
var cO=bO;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],cO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],cO.prototype,"data",void 0);cO=_.S([_.Q({asyncProperties:!0,is:"ytd-google-account-header-renderer"})],cO);
var dO=function(){return _.K.apply(this,arguments)||this};
_.q(dO,_.K);dO.prototype.configureRendererStamper=function(){return{"data.contents":{id:"contents",mapping:{accountItemSectionRenderer:"ytd-account-item-section-renderer",compactLinkRenderer:"ytd-compact-link-renderer"}},"data.header":{id:"header",mapping:{googleAccountHeaderRenderer:"ytd-google-account-header-renderer",accountsDialogHeaderRenderer:"ytd-accounts-dialog-header-renderer"}}}};
_.t.Object.defineProperties(dO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Gjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-account-section-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_section_list_renderer.ytd.account.section.list.renderer.css.js--\x3e<div id="header"></div>\n<div id="contents"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Fjb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_account_section_list_renderer.ytd.account.section.list.renderer.css.js--\x3e<style>:host {display: block;padding: 8px 0;} ytd-compact-link-renderer {padding: 4px 0 4px;} ytd-google-account-header-renderer {width: 100%;} /*# sourceMappingURL=ytd-account-section-list-renderer.css.map*/</style>";
Fjb=d}d=Fjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Gjb=a}a=Gjb;return a}}});
var eO=dO;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],eO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],eO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],eO.prototype,"data",void 0);_.S([_.N({notify:!0}),_.T("design:type",String)],eO.prototype,"page",void 0);eO=_.S([_.Q({asyncProperties:!0,is:"ytd-account-section-list-renderer"})],eO);
var Mjb;
var Njb;
var fO=function(){return _.K.apply(this,arguments)||this};
_.q(fO,_.K);fO.prototype.dataChanged=function(){if(this.data)this.avatar.onShow()};
_.t.Object.defineProperties(fO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Njb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-active-account-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_active_account_header_renderer.ytd.active.account.header.renderer.css.js--\x3e<yt-img-shadow id="avatar" height="40" thumbnail="[[data.accountPhoto]]" width="40">\n</yt-img-shadow>\n<div id="channel-container">\n  <yt-formatted-string id="account-name" ellipsis-truncate="" text="[[data.accountName]]">\n  </yt-formatted-string>\n  <yt-formatted-string id="email" ellipsis-truncate="" text="[[data.email]]">\n  </yt-formatted-string>\n  <yt-formatted-string id="manage-account" ellipsis-truncate="" force-default-style="" text="[[data.manageAccountTitle]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Mjb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_active_account_header_renderer.ytd.active.account.header.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-primary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;position: relative;padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #avatar {height: 40px;width: 40px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} #channel-container {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #account-name {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} #email {color: var(--yt-spec-text-primary);overflow: hidden;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #manage-account {margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-active-account-header-renderer.css.map*/</style>';
Mjb=d}d=Mjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Njb=a}a=Njb;return a}}});
var gO=fO;gO.prototype.dataChanged=gO.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],gO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],gO.prototype,"data",void 0);_.S([_.Z("#avatar"),_.T("design:type",Object)],gO.prototype,"avatar",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],gO.prototype,"dataChanged",null);
gO=_.S([_.Q({asyncProperties:!0,is:"ytd-active-account-header-renderer"})],gO);
var Ojb;
var Pjb;
var Qjb;
var Rjb;
var hO=function(){return _.K.apply(this,arguments)||this};
_.q(hO,_.K);hO.prototype.configureRendererStamper=function(){return{"data.buttons":{id:"buttons",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
hO.prototype.onBackTap=function(){this.fire("yt-menu-back-tapped")};
_.t.Object.defineProperties(hO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Rjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-simple-menu-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_simple_menu_header_renderer.ytd.simple.menu.header.renderer.css.js--\x3e<ytd-button-renderer id="back-button" data="[[data.backButton.buttonRenderer]]" hidden="[[!data.backButton.buttonRenderer]]" on-tap="onBackTap">\n</ytd-button-renderer>\n<h2>\n  <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n</h2>\n<div id="buttons"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Qjb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_simple_menu_header_renderer.ytd.simple.menu.header.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);min-height: 48px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #back-button {color: var(--yt-spec-text-primary);margin: 0 4px;} h2 {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #back-button[hidden]+h2 {margin-left: 16px;} #buttons {margin-right: 8px;} /*# sourceMappingURL=ytd-simple-menu-header-renderer.css.map*/</style>';
Qjb=d}d=Qjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Rjb=a}a=Rjb;return a}}});
var iO=hO;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],iO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],iO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],iO.prototype,"data",void 0);iO=_.S([_.Q({asyncProperties:!0,is:"ytd-simple-menu-header-renderer"})],iO);
var Sjb;
var Tjb;
var Ujb=function(){return _.K.apply(this,arguments)||this};
_.q(Ujb,_.K);
_.t.Object.defineProperties(Ujb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Tjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-video-thumbnail-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_video_thumbnail_header_renderer.ytd.comment.video.thumbnail.header.renderer.css.js--\x3e<a class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]">\n  <yt-formatted-string class="title" text="[[data.title]]"></yt-formatted-string>\n  <div class="thumbnail-container" hidden="[[!data.thumbnail]]">\n    <yt-img-shadow disable-upgrade$="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]" width="86">\n    </yt-img-shadow>\n  </div>\n</a>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Sjb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_video_thumbnail_header_renderer.ytd.comment.video.thumbnail.header.renderer.css.js--\x3e<style>:host {position: relative;display: block;padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .yt-simple-endpoint {min-width: 0;display: inline-block;cursor: pointer;text-decoration: none;color: var(--yt-endpoint-color,var(--yt-spec-text-primary));} .yt-simple-endpoint:hover {color: var(--yt-endpoint-hover-color,var(--yt-spec-text-primary));text-decoration: var(--yt-endpoint-text-decoration,none);} a.yt-simple-endpoint {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .title {color: var(--yt-spec-text-primary);min-width: 0;margin-bottom: 8px;padding-right: 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 12rem;overflow: hidden;display: block;-webkit-line-clamp: 6;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} .thumbnail-container {width: 86px;height: 48px;position: relative;overflow: hidden;display: block;-ms-flex: none;-webkit-flex: none;flex: none;} .thumbnail-container>yt-img-shadow {display: block;position: absolute;transform: translateY(-50%);top: 50%;left: 0;width: 100%;} /*# sourceMappingURL=ytd-comment-video-thumbnail-header-renderer.css.map*/</style>';
Sjb=d}d=Sjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Tjb=a}a=Tjb;return a}}});
var jO=Ujb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],jO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],jO.prototype,"data",void 0);jO=_.S([_.Q({asyncProperties:!0,is:"ytd-comment-video-thumbnail-header-renderer"})],jO);
var Vjb;
var Wjb;
var Xjb=function(){return _.K.apply(this,arguments)||this};
_.q(Xjb,_.K);
_.t.Object.defineProperties(Xjb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Wjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-abuse-type-selector-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_abuse_type_selector_renderer.ytd.abuse.type.selector.renderer.css.js--\x3e<div class="container">\n  <form>\n    <yt-options-renderer data="[[data.optionsSupportedRenderers.optionsRenderer]]">\n    </yt-options-renderer>\n  </form>\n  <div id="footer">[[getSimpleString(data.footer)]]</div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Vjb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_abuse_type_selector_renderer.ytd.abuse.type.selector.renderer.css.js--\x3e<style>:host {display: inline-block;} .container {padding-left: 20px;padding-right: 20px;padding-top: 8px;} #footer {color: var(--yt-spec-text-secondary);margin: 16px 0 16px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} /*# sourceMappingURL=ytd-abuse-type-selector-renderer.css.map*/</style>";
Vjb=d}d=Vjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Wjb=a}a=Wjb;return a}}});
var kO=Xjb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],kO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],kO.prototype,"data",void 0);kO=_.S([_.Q({asyncProperties:!0,is:"ytd-abuse-type-selector-renderer"})],kO);
var Yjb;
var Zjb;
var lO=function(){return _.K.apply(this,arguments)||this};
_.q(lO,_.K);lO.prototype.attached=function(){var a=this;this.additionalContext=this.additionalContextRedux||"";requestAnimationFrame(function(){a.additionalContextInput.focusTextInput()})};
lO.prototype.handleAdditionalContextChanged=function(){var a=this;this.debounce("ytd-report-channel-additional-context-update",function(){a.ytdReduxBehavior.dispatch(_.Rg({type:"ADDITIONAL_CONTEXT_UPDATED",payload:a.additionalContext}))},300)};
_.t.Object.defineProperties(lO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Zjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-channel-modal-additional-context-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_additional_context_renderer.ytd.report.channel.modal.additional.context.renderer.css.js--\x3e<yt-text-input-form-field-renderer component-style="TEXT_INPUT_FORM_FIELD_OUTLINED" data="[[data.additionalDetailsTextField.textInputFormFieldRenderer]]" value="{{additionalContext}}">\n</yt-text-input-form-field-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Yjb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_additional_context_renderer.ytd.report.channel.modal.additional.context.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;} yt-text-input-form-field-renderer {padding: 16px;width: calc(100% - 32px * 2);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-report-channel-modal-additional-context-renderer.css.map*/</style>";
Yjb=d}d=Yjb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Zjb=a}a=Zjb;return a}}});
var mO=lO;mO.prototype.handleAdditionalContextChanged=mO.prototype.handleAdditionalContextChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],mO.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",String)],mO.prototype,"additionalContext",void 0);_.S([_.N({selector:function(a){return a.reportChannelAbuse.additionalContext}}),
_.T("design:type",String)],mO.prototype,"additionalContextRedux",void 0);_.S([_.N(),_.T("design:type",Object)],mO.prototype,"data",void 0);_.S([_.Z("yt-text-input-form-field-renderer"),_.T("design:type",_.tF)],mO.prototype,"additionalContextInput",void 0);_.S([_.P("additionalContext"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],mO.prototype,"handleAdditionalContextChanged",null);mO=_.S([_.Q({is:"ytd-report-channel-modal-additional-context-renderer"})],mO);
var $jb;
var akb;
var nO=function(){var a=_.K.apply(this,arguments)||this;a.nextButtonDisabled=null;a.submitEndpoint=null;a.navigationEndpoint=null;a.actionMap={"yt-report-form-update":"handleReportFormEndpointUpdateAction","yt-signal-action-submit-form":"handleSignalActionSubmitForm","ytd-report-channel-modal-disable-next-button-action":"handleReportChannelModalDisableNextButtonAction"};return a};
_.q(nO,_.K);_.f=nO.prototype;_.f.computeNextButtonData=function(a,b,c){var d={};b&&(d.navigationEndpoint=b);c&&(d.serviceEndpoint=c);a&&a.buttonRenderer&&_.u.extend(d,a.buttonRenderer);return d};
_.f.handleReportChannelModalDisableNextButtonAction=function(a){this.setNextButtonIsDisabled(a)};
_.f.handleReportFormEndpointUpdateAction=function(a){this.setNextButtonIsDisabled(!!a.disableSubmitButton);this.resetEndpointData();a.submitEndpoint?this.submitEndpoint=a.submitEndpoint:a.submitNavigationEndpoint&&(this.navigationEndpoint=a.submitNavigationEndpoint)};
_.f.handleSignalActionSubmitForm=function(){var a,b=Object.keys((null==(a=this.reportChannelAbuseForm)?void 0:a.selectedVideoIds)||{}),c;a=(null==(c=this.reportChannelAbuseForm)?void 0:c.additionalContext)||"";var d;c={impersonated_channel_url:(null==(d=this.reportChannelAbuseForm)?void 0:d.impersonatedChannelUrl)||"",text:a,video_ids:b};var e;_.Kg(this,[null==(e=this.data)?void 0:e.submitEndpoint,c]);this.setNextButtonIsDisabled(!0)};
_.f.onYtServiceRequestCompleted=function(){this.resetEndpointData()};
_.f.onYtServiceRequestError=function(a){this.setNextButtonIsDisabled(!1);this.ytOpenToastBehavior.openToast(a.detail.error.message)};
_.f.setNextButtonIsDisabled=function(a){this.set("data.nextButton.buttonRenderer.isDisabled",a)};
_.f.resetEndpointData=function(){this.submitEndpoint=this.navigationEndpoint=null};
_.t.Object.defineProperties(nO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===akb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-channel-modal-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_footer_renderer.ytd.report.channel.modal.footer.renderer.css.js--\x3e<ytd-button-renderer id="back-button" data="[[data.backButton.buttonRenderer]]" hidden="[[!data.backButton]]">\n</ytd-button-renderer>\n<ytd-button-renderer id="next-button" data="[[computeNextButtonData(data.nextButton,\n          navigationEndpoint, submitEndpoint)]]" disabled="[[data.nextButton.buttonRenderer.isDisabled]]">\n    </ytd-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$jb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_footer_renderer.ytd.report.channel.modal.footer.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #back-button {margin-right: 8px;} /*# sourceMappingURL=ytd-report-channel-modal-footer-renderer.css.map*/</style>";
$jb=d}d=$jb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);akb=a}a=akb;return a}}});
var oO=nO;oO.prototype.onYtServiceRequestError=oO.prototype.onYtServiceRequestError;oO.prototype.onYtServiceRequestCompleted=oO.prototype.onYtServiceRequestCompleted;_.S([_.N(),_.T("design:type",Object)],oO.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],oO.prototype,"nextButtonDisabled",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],oO.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],oO.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(_.uF.YtOpenToastBehavior),_.T("design:type",Object)],oO.prototype,"ytOpenToastBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],oO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],oO.prototype,"submitEndpoint",void 0);_.S([_.N(),_.T("design:type",Object)],oO.prototype,"navigationEndpoint",void 0);_.S([_.N({selector:function(a){return a.reportChannelAbuse}}),
_.T("design:type",Object)],oO.prototype,"reportChannelAbuseForm",void 0);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],oO.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],oO.prototype,"onYtServiceRequestError",null);oO=_.S([_.Q({is:"ytd-report-channel-modal-footer-renderer"})],oO);
var bkb;
var ckb;
var pO=function(){var a=_.K.apply(this,arguments)||this;a.boundOnTapDismissButton=function(){a.closePopup()};
return a};
_.q(pO,_.K);pO.prototype.configureRendererStamper=function(){return{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundOnTapDismissButton]]"}}}}}};
pO.prototype.handleDataChanged=function(){_.fy(this)};
pO.prototype.closePopup=function(){_.C(this,"yt-close-popup-action")};
_.t.Object.defineProperties(pO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ckb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-channel-modal-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_header_renderer.ytd.report.channel.modal.header.renderer.css.js--\x3e<div id="title-container">\n  <span id="title">[[getSimpleString(data.title)]]</span>\n  <span id="subtitle">[[getSimpleString(data.subtitle)]]</span>\n</div>\n<div id="dismiss-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_header_renderer.ytd.report.channel.modal.header.renderer.css.js--\x3e<style>:host {border-bottom: 1px solid var(--yt-spec-10-percent-layer);border-top: 1px solid var(--yt-spec-10-percent-layer);display: inline-block;padding-left: 16px;padding-right: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host(:focus) {outline: none;} #dismiss-button {margin-bottom: 16px;margin-top: 16px;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #title-container {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-report-channel-modal-header-renderer.css.map*/</style>';
bkb=d}d=bkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ckb=a}a=ckb;return a}}});
var qO=pO;qO.prototype.handleDataChanged=qO.prototype.handleDataChanged;_.S([_.N(),_.T("design:type",Object)],qO.prototype,"boundOnTapDismissButton",void 0);_.S([_.N(),_.T("design:type",Object)],qO.prototype,"data",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],qO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],qO.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],qO.prototype,"handleDataChanged",null);qO=_.S([_.Q({is:"ytd-report-channel-modal-header-renderer"})],qO);
var dkb;
var ekb;
var rO=function(){var a=_.K.apply(this,arguments)||this;a.autoValidate=!1;a.invalid=!1;a.actionMap={"yt-modify-report-form-command":"handleModifyReportFormCommand"};return a};
_.q(rO,_.K);rO.prototype.attached=function(){var a=this;this.impersonatedChannelUrlRedux?(this.impersonatedChannelUrl=this.impersonatedChannelUrlRedux,this.handleImpersonatedChannelUrlChanged()):this.impersonatedChannelUrl="";requestAnimationFrame(function(){a.channelUrlInput.focusTextInput()})};
rO.prototype.disableNextButton=function(a){_.C(this,"ytd-report-channel-modal-disable-next-button-action",[a])};
rO.prototype.handleImpersonatedChannelUrlChanged=function(){var a=this;this.disableNextButton(!0);this.invalid=!1;this.debounce("ytd-report-channel-impersonated-channel-update",function(){var b=a.impersonatedChannelUrl.trim();a.ytdReduxBehavior.dispatch(_.Rg({type:"IMPERSONATED_CHANNEL_URL_UPDATED",payload:b}));var c;(null==(c=a.data)?0:c.submitEndpoint)&&b&&_.Kg(a,[a.data.submitEndpoint,{impersonated_channel_url:b}])},500)};
rO.prototype.handleModifyReportFormCommand=function(a){this.invalid="REPORT_FORM_ACTION_ENABLE_SUBMIT_BUTTON"!==this.get("modifyReportFormCommand.action",a);this.disableNextButton(this.invalid)};
_.t.Object.defineProperties(rO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ekb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-report-channel-modal-impersonation-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_impersonation_renderer.ytd.report.channel.modal.impersonation.renderer.css.js--\x3e<yt-text-input-form-field-renderer id="text-input" auto-validate="[[autoValidate]]" component-style="TEXT_INPUT_FORM_FIELD_OUTLINED" data="[[data.impersonationTextField.textInputFormFieldRenderer]]" invalid="{{invalid}}" value="{{impersonatedChannelUrl}}"></yt-text-input-form-field-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dkb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_report_channel_modal_impersonation_renderer.ytd.report.channel.modal.impersonation.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;} yt-text-input-form-field-renderer {padding: 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-report-channel-modal-impersonation-renderer.css.map*/</style>";
dkb=d}d=dkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ekb=a}a=ekb;return a}}});
var sO=rO;sO.prototype.handleImpersonatedChannelUrlChanged=sO.prototype.handleImpersonatedChannelUrlChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],sO.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],sO.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],sO.prototype,"autoValidate",void 0);_.S([_.N(),_.T("design:type",Object)],sO.prototype,"invalid",void 0);
_.S([_.N(),_.T("design:type",String)],sO.prototype,"impersonatedChannelUrl",void 0);_.S([_.N({selector:function(a){return a.reportChannelAbuse.impersonatedChannelUrl}}),
_.T("design:type",String)],sO.prototype,"impersonatedChannelUrlRedux",void 0);_.S([_.N(),_.T("design:type",Object)],sO.prototype,"data",void 0);_.S([_.Z("#text-input"),_.T("design:type",_.tF)],sO.prototype,"channelUrlInput",void 0);_.S([_.P("impersonatedChannelUrl"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],sO.prototype,"handleImpersonatedChannelUrlChanged",null);sO=_.S([_.Q({is:"ytd-report-channel-modal-impersonation-renderer"})],sO);
var fkb;
var gkb;
var hkb;
var ikb;
var tO=function(){return _.K.apply(this,arguments)||this};
_.q(tO,_.K);tO.prototype.onCheckboxToggled=function(a){var b,c,d;if(null==(b=this.data)?0:null==(c=b.video)?0:null==(d=c.videoRenderer)?0:d.videoId)b=this.data.video.videoRenderer.videoId,this.ytdReduxBehavior.dispatch(a.target.checked?_.Rg({type:"VIDEO_SELECTED",payload:b}):_.Rg({type:"VIDEO_UNSELECTED",payload:b}))};
tO.prototype.configureRendererStamper=function(){return{video:{id:"video",mapping:{videoRenderer:{component:"ytd-video-renderer",params:{isPostCompactVideo:!0}}}}}};
_.t.Object.defineProperties(tO.prototype,{video:{configurable:!0,enumerable:!0,get:function(){var a,b=null==(a=this.data)?void 0:a.video;if(!b)return{};var c;a=null==(c=b.videoRenderer)?void 0:c.navigationEndpoint;if(!a)return b;var d;if(null==a?0:null==(d=a.commandMetadata)?0:d.webCommandMetadata)a.commandMetadata.webCommandMetadata.ignoreNavigation=!0;return b}}});
_.t.Object.defineProperties(tO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ikb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-selectable-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_selectable_video_renderer.ytd.selectable.video.renderer.css.js--\x3e<tp-yt-paper-checkbox checked="[[checked]]" on-change="onCheckboxToggled">\n  <div id="video"></div>\n</tp-yt-paper-checkbox>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hkb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_selectable_video_renderer.ytd.selectable.video.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;} tp-yt-paper-checkbox {--paper-checkbox-vertical-align: top;} #video {width: 360px;} /*# sourceMappingURL=ytd-selectable-video-renderer.css.map*/</style>";
hkb=d}d=hkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ikb=a}a=ikb;return a}}});
var uO=tO;_.S([_.N({reflectToAttribute:!0,selector:function(a,b){return b in a.reportChannelAbuse.selectedVideoIds},
selectorArgs:["data.video.videoRenderer.videoId"]}),_.T("design:type",Boolean)],uO.prototype,"checked",void 0);_.S([_.N(),_.T("design:type",Object)],uO.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],uO.prototype,"video",null);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],uO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],uO.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.Wu),_.T("design:type",Object)],uO.prototype,"ytdReduxBehavior",void 0);uO=_.S([_.Q({asyncProperties:!0,is:"ytd-selectable-video-renderer"})],uO);
var vO=function(){var a=_.K.apply(this,arguments)||this;a.monitorScroll=!0;return a};
_.q(vO,_.K);vO.prototype.configureRendererStamper=function(){return{"data.selectableVideos":{id:"selectable-videos",mapping:{selectableVideoRenderer:{component:"ytd-selectable-video-renderer"}},events:!0}}};
_.t.Object.defineProperties(vO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-selectable-video-list-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_selectable_video_list_renderer.ytd.selectable.video.list.renderer.css.js--\x3e<div id="selectable-videos" hidden="[[!data.selectableVideos.length]]"></div>\n<div id="empty-state-message" hidden="[[data.selectableVideos.length]]">\n  [[getSimpleString(data.emptyStateMessage)]]\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_selectable_video_list_renderer.ytd.selectable.video.list.renderer.css.js--\x3e<style>:host {display: inline-block;height: 100%;overflow-y: auto;width: 100%;} ytd-selectable-video-renderer {border-bottom: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;padding: 8px 20px 8px 20px;width: 100%;} ytd-selectable-video-renderer:last-child {border-bottom: 0;} #empty-state-message {color: var(--yt-spec-text-primary);margin-top: 16px;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-selectable-video-list-renderer.css.map*/</style>';
fkb=d}d=fkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gkb=a}a=gkb;return a}}});
var wO=vO;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],wO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],wO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],wO.prototype,"data",void 0);wO=_.S([_.Q({asyncProperties:!0,is:"ytd-selectable-video-list-renderer"})],wO);
var jkb;
var kkb;
_.$u("multiPageMenuSectionItems","toggleItemRenderer","ytd-toggle-item-renderer");var xO=function(){return _.K.apply(this,arguments)||this};
_.q(xO,_.K);xO.prototype.onChange=function(a){if(a=_.H(a).rootTarget.checked?this.data.toggleOnActions:this.data.toggleOffActions)if(_.x("kevlar_command_handler_migration_killswitch"))_.Lg(this,a,this);else{a=_.k(a);for(var b=a.next();!b.done;b=a.next())this.ytComponentBehavior.resolveCommand(b.value)}};
xO.prototype.isEnabled=function(){return!!this.data.toggleOnActions||!!this.data.toggleOffActions};
_.t.Object.defineProperties(xO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-toggle-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_toggle_item_renderer.ytd.toggle.item.renderer.css.js--\x3e<template is="dom-repeat" items="[[data.descriptionLines]]">\n  <div class="description">[[getSimpleString(item)]]</div>\n</template>\n<div id="caption-container">\n  <div id="caption">[[getSimpleString(data.label)]]</div>\n  <tp-yt-paper-toggle-button checked="{{data.toggled}}" disabled="[[!enabled]]" noink="" on-change="onChange">\n  </tp-yt-paper-toggle-button>\n</div>\n<template is="dom-repeat" items="[[data.extraDescriptionLines]]">\n  <div class="extra-description">\n    <yt-formatted-string text="[[item]]"></yt-formatted-string>\n  </div>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_toggle_item_renderer.ytd.toggle.item.renderer.css.js--\x3e<style>:host {display: inline-block;margin: 8px 16px;} .description {color: var(--yt-spec-text-primary);padding-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .extra-description {color: var(--yt-spec-text-primary);padding-top: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #caption-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #caption {color: var(--yt-spec-text-secondary);font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} tp-yt-paper-toggle-button {margin: 0 8px;} /*# sourceMappingURL=ytd-toggle-item-renderer.css.map*/</style>';
jkb=d}d=jkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kkb=a}a=kkb;return a}}});
var yO=xO;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],yO.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],yO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],yO.prototype,"data",void 0);_.S([_.N({computed:"isEnabled(data)"}),_.T("design:type",Boolean)],yO.prototype,"enabled",void 0);yO=_.S([_.Q({asyncProperties:!0,is:"ytd-toggle-item-renderer"})],yO);
var lkb;
var mkb;
var nkb;
var okb;
var zO=function(){var a=_.K.apply(this,arguments)||this;a.setVisible=!1;a.boundOnSubmitButtonClick=function(){a.onSubmitButtonClick()};
a.actionMap={"yt-survey-flow-step-option-changed":"handleSurveyFlowStepOptionChanged","yt-signal-action-submit-form":"handleSignalActionSubmitForm"};return a};
_.q(zO,_.K);zO.prototype.configureRendererStamper=function(){return{"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{"on-tap":"[[boundOnSubmitButtonClick]]"},params:{noink:!0}}}},"data.secondaryButton":{id:"secondary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0},params:{noink:!0}}}}}};
zO.prototype.handleSurveyFlowStepOptionChanged=function(){this.setVisible=!0};
zO.prototype.onSubmitButtonClick=function(){var a;(null==(a=this.data)?0:a.submitEndpoint)&&!_.x("enable_ytc_refunds_submit_form_signal_action")&&_.Kg(this,[this.data.submitEndpoint,{formData:{ypcBrowseFormData:{problemFlowFormData:{surveyFeedbackData:this.surveyFeedbackData}}}}])};
zO.prototype.handleSignalActionSubmitForm=function(){var a;(null==(a=this.data)?0:a.submitEndpoint)&&_.Kg(this,[this.data.submitEndpoint,{formData:{ypcBrowseFormData:{problemFlowFormData:{surveyFeedbackData:this.surveyFeedbackData}}}}])};
_.t.Object.defineProperties(zO.prototype,{visibilityHidden:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.hiddenByDefault)&&!this.setVisible}}});
_.t.Object.defineProperties(zO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===okb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-flow-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_flow_footer_renderer.yt.flow.footer.renderer.css.js--\x3e<div id="secondary-button" hidden$="[[!data.secondaryButton]]"></div><div id="primary-button" hidden$="[[!data.primaryButton]]"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nkb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_flow_footer_renderer.yt.flow.footer.renderer.css.js--\x3e<style>:host {padding: 16px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([visibility-hidden]) {visibility: hidden;} #secondary-button:not(hidden) {margin-right: 16px;} /*# sourceMappingURL=yt-flow-footer-renderer.css.map*/</style>";
nkb=d}d=nkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);okb=a}a=okb;return a}}});
var AO=zO;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],AO.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],AO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AO.prototype,"setVisible",void 0);_.S([_.N(),_.T("design:type",Object)],AO.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],AO.prototype,"surveyFeedbackData",void 0);_.S([_.N(),_.T("design:type",Object)],AO.prototype,"boundOnSubmitButtonClick",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data","setVisible"),_.T("design:type",Object),_.T("design:paramtypes",[])],AO.prototype,"visibilityHidden",null);AO=_.S([_.lu({is:"yt-flow-footer-renderer",noInjection:!0})],AO);
var pkb=function(){return _.K.apply(this,arguments)||this};
_.q(pkb,_.K);
_.t.Object.defineProperties(pkb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-flow-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.flow.ytd_flow_footer_renderer.ytd.flow.footer.renderer.css.js--\x3e<yt-flow-footer-renderer data="[[data]]" survey-feedback-data="[[surveyFeedbackData]]">\n</yt-flow-footer-renderer>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lkb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.flow.ytd_flow_footer_renderer.ytd.flow.footer.renderer.css.js--\x3e<style>:host {display: inline-block;width: 100%;} /*# sourceMappingURL=ytd-flow-footer-renderer.css.map*/</style>";lkb=d}d=lkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mkb=a}a=mkb;return a}}});
var BO=pkb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],BO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],BO.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],BO.prototype,"data",void 0);_.S([_.N({selector:function(a){return a.ypc.surveyFeedbackData}}),
_.T("design:type",Object)],BO.prototype,"surveyFeedbackData",void 0);BO=_.S([_.Q({asyncProperties:!0,is:"ytd-flow-footer-renderer"})],BO);
var qkb;
var rkb;
var skb;
var tkb;
var ukb=function(){return _.K.apply(this,arguments)||this};
_.q(ukb,_.K);
_.t.Object.defineProperties(ukb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-survey-answer-card-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_survey_answer_card_renderer.yt.survey.answer.card.renderer.css.js--\x3e<yt-formatted-string id="answer-string" force-default-style="" split-lines="1" text="[[data.answerString]]"></yt-formatted-string><yt-icon id="card-icon" icon="CHEVRON_RIGHT"></yt-icon>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===skb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_survey_answer_card_renderer.yt.survey.answer.card.renderer.css.js--\x3e<style>:host {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;justify-content: space-between;padding: 16px 24px;border: 1px solid var(--yt-spec-10-percent-layer);} :host(:not(:first-of-type)) {border-top: none;} :host(:hover) {cursor: hand;} #answer-string {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #card-icon {--iron-icon-width: 1.8rem;--iron-icon-height: 1.8rem;color: var(--yt-spec-text-primary);margin-left: 20px;} :host(:hover) #answer-string,:host(:hover) #card-icon {color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=yt-survey-answer-card-renderer.css.map*/</style>';
skb=d}d=skb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tkb=a}a=tkb;return a}}});
var vkb=ukb;_.S([_.N(),_.T("design:type",Object)],vkb.prototype,"data",void 0);vkb=_.S([_.lu({is:"yt-survey-answer-card-renderer",isInjectionRoot:!0})],vkb);
var wkb;
var xkb;
var CO=function(){return _.K.apply(this,arguments)||this};
_.q(CO,_.K);CO.prototype.selectedItemChanged=function(a){_.C(this,"yt-survey-flow-step-option-changed",[{feedbackTokens:[a.feedbackToken||""]}])};
CO.prototype.surveyAnswerCardRendererClicked=function(a){if(a.target&&a.model.item.surveyAnswerCardRenderer){var b=a.target;a=a.model.item.surveyAnswerCardRenderer;a.onTapCommand?_.Lg(b,[a.onTapCommand],b):this.data.onTapCommand&&_.Lg(b,[this.data.onTapCommand],b);this.selectedItemChanged(a)}};
CO.prototype.checkIsCancellationStyle=function(a){return"SURVEY_FLOW_STEP_RENDERER_STYLE_CANCELLATION"===a};
CO.prototype.updateSelectedItemFromBinding=function(a){this.selectedItem=a.detail.value};
_.t.Object.defineProperties(CO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-survey-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_survey_flow_step_renderer.yt.survey.flow.step.renderer.css.js--\x3e<yt-formatted-string id="question" force-default-style="" split-lines="1" text="[[data.question]]">\n</yt-formatted-string>\n\n<template is="dom-if" if="[[isCancellationStyle]]" restamp="">\n  <template is="dom-repeat" items="[[data.answerCards]]" as="item">\n    <template is="dom-if" if="[[item.surveyAnswerCardRenderer]]" restamp="">\n      <yt-survey-answer-card-renderer data="[[item.surveyAnswerCardRenderer]]" on-click="surveyAnswerCardRendererClicked"></yt-survey-answer-card-renderer>\n    </template>\n  </template>\n</template>\n\n<template is="dom-if" if="[[!isCancellationStyle]]" restamp="">\n  <tp-yt-paper-radio-group id="options" selected="[[selectedItem]]" on-selected-changed="updateSelectedItemFromBinding">\n    <template is="dom-repeat" items="[[data.answerCards]]">\n      <template is="dom-if" if="[[item.surveyAnswerCardRenderer]]" restamp="">\n        <tp-yt-paper-radio-button id="radio" aria-label="[[getSimpleString(item.surveyAnswerCardRenderer.answerString)]]" name="[[item.surveyAnswerCardRenderer]]" no-ink="">\n          <yt-formatted-string id="answer-string" force-default-style="" split-lines="1" text="[[item.surveyAnswerCardRenderer.answerString]]">\n          </yt-formatted-string>\n        </tp-yt-paper-radio-button>\n      </template>\n    </template>\n  </tp-yt-paper-radio-group>\n</template>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_survey_flow_step_renderer.yt.survey.flow.step.renderer.css.js--\x3e<style>:host {box-sizing: border-box;width: 450px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #question {padding: 24px 16px 16px 16px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([is-cancellation-style]) {min-width: 450px;} :host([is-cancellation-style]) #question {padding: 24px 24px 28px 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;color: var(--yt-spec-text-primary);} #options {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #radio {--paper-radio-group-item-padding: 16px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #radio:last-of-type {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #answer-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=yt-survey-flow-step-renderer.css.map*/</style>';
wkb=d}d=wkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xkb=a}a=xkb;return a}}});
var DO=CO;DO.prototype.selectedItemChanged=DO.prototype.selectedItemChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],DO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],DO.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],DO.prototype,"selectedItem",void 0);_.S([_.N({computed:"checkIsCancellationStyle(data.style)",reflectToAttribute:!0}),_.T("design:type",Boolean)],DO.prototype,"isCancellationStyle",void 0);
_.S([_.P("selectedItem"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],DO.prototype,"selectedItemChanged",null);DO=_.S([_.lu({is:"yt-survey-flow-step-renderer",isInjectionRoot:!0})],DO);
var EO=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-survey-flow-step-option-changed":"handleSurveyFlowStepOptionChanged"};return a};
_.q(EO,_.K);EO.prototype.handleSurveyFlowStepOptionChanged=function(a){this.ytdReduxBehavior.dispatch(_.Rg({type:"YPC_UPDATE_SURVEY_FEEDBACK_DATA",payload:a}));_.C(this,"yt-flow-partial-update-flow-state-entity",[{cancellationFlowState:{surveyFeedback:a}}])};
_.t.Object.defineProperties(EO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-survey-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.flow.ytd_survey_flow_step_renderer.ytd.survey.flow.step.renderer.css.js--\x3e<yt-survey-flow-step-renderer data="[[data]]"></yt-survey-flow-step-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qkb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.flow.ytd_survey_flow_step_renderer.ytd.survey.flow.step.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=ytd-survey-flow-step-renderer.css.map*/</style>";qkb=d}d=qkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
rkb=a}a=rkb;return a}}});
var FO=EO;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],FO.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],FO.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],FO.prototype,"data",void 0);FO=_.S([_.Q({asyncProperties:!0,is:"ytd-survey-flow-step-renderer"})],FO);
var ykb;
var zkb;
_.Ng({is:"yt-multi-page-menu-section-renderer",_template:function(){if(void 0!==zkb)return zkb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-multi-page-menu-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.account.yt_multi_page_menu_section_renderer.yt.multi.page.menu.section.renderer.css.js--\x3e<div id="section-title" hidden="[[!data.notificationSectionTitle]]">\n  <h2>\n    <yt-formatted-string text="[[data.notificationSectionTitle]]"></yt-formatted-string>\n  </h2>\n</div>\n<div id="items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ykb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.account.yt_multi_page_menu_section_renderer.yt.multi.page.menu.section.renderer.css.js--\x3e<style>:host {display: block;} h2 {color: var(--yt-spec-text-primary);margin: var(--ytd-margin-4x) 0px var(--ytd-margin-base) var(--ytd-margin-4x);font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #items>*:not([compact-link-style=compact-link-style-type-disclaimer]):not([component-style=RENDER_STYLE_SIMPLE_HEADER]):hover {background-color: var(--yt-spec-badge-chip-background);} /*# sourceMappingURL=yt-multi-page-menu-section-renderer.css.map*/</style>";
ykb=d}d=ykb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return zkb=a},
behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior,_.Y.YtActionHandlerBehavior],listeners:{"yt-service-request-completed":"onServiceRequestCompleted_"},properties:{data:Object},actionMap:{"yt-broadcast-user-invalidation-action":"updateMenu_","yt-hide-enclosing-action":"handleHideEnclosingAction_"},stampDom:{"data.items":{id:"items",mapping:_.TE("multiPageMenuSectionItems")}},handleHideEnclosingAction_:function(a){if(this.data&&this.data.items)for(var b=0;b<this.data.items.length;b++){var c=
this.data.items[b].notificationRenderer;if(c&&c.notificationId==a.hideEnclosingAction.notificationId){this.splice("data.items",b,1);_.C(this,"yt-close-popup-action",["ytd-menu-popup-renderer"]);this.maybeHideNotificationSection_();break}}},
maybeHideNotificationSection_:function(){this.data&&this.data.items&&0==this.data.items.length&&this.toggleAttribute("hidden",!0)},
updateMenu_:function(a){if(this.parentComponent.isPopUpOpen&&this.data&&this.data.continuations&&a&&!a.doNotRefreshInbox){for(a=0;a<this.data.continuations.length;a++)if(this.data.continuations[a].invalidationContinuationData){var b=this.data.continuations[a].invalidationContinuationData.continuation;break}a=_.u.clone(this.data.continuationUpdateEndpoint);a.continuation=b;a.click_tracking_params=this.data.trackingParams;_.Kg(this,[a])}},
onServiceRequestCompleted_:function(a,b){if(this.data&&(a=b.actions)){b=0;for(var c=a.length;b<c;b++){var d=a[b];if(!d.appendContinuationItemsAction)break;var e="CONTINUATION_TARGET_NOTIFICATION_MENU"==d.appendContinuationItemsAction.target||"CONTINUATION_TARGET_CONVERSATION_MENU"==d.appendContinuationItemsAction.target;d.appendContinuationItemsAction&&e&&d.appendContinuationItemsAction.continuationItems&&this.data.items&&(e=this.data.items.length-1,this.data.items[e].continuationItemRenderer&&this.splice.apply(this,
["data.items",e,1].concat(d.appendContinuationItemsAction.continuationItems)))}}}});
var Akb;
var Bkb;
var GO=function(){return _.K.apply(this,arguments)||this};
_.q(GO,_.K);GO.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0},params:{noink:!0}}}}}};
_.t.Object.defineProperties(GO.prototype,{showProgressBar:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(null==(a=this.data)?void 0:a.progress)}},
progress:{configurable:!0,enumerable:!0,get:function(){var a;return null==(null==(a=this.data)?void 0:a.progress)?0:100*this.data.progress}}});
_.t.Object.defineProperties(GO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Bkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-flow-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_flow_header_renderer.yt.flow.header.renderer.css.js--\x3e<div id="top-bar">\n  <div id="action-button" hidden$="[[!data.actionButton]]"></div>\n  <yt-formatted-string id="title" force-default-style="" split-lines="1" text="[[data.title]]">\n  </yt-formatted-string>\n</div>\n<tp-yt-paper-progress id="progress-bar" hidden="[[!showProgressBar]]" value="[[progress]]"></tp-yt-paper-progress>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Akb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_flow_header_renderer.yt.flow.header.renderer.css.js--\x3e<style>:host {display: block;} #top-bar {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #progress-bar {--paper-progress-active-color: var(--yt-spec-text-primary);--paper-progress-container-color: var(--yt-spec-10-percent-layer);width: 100%;} #title {color: var(--yt-spec-text-primary);padding: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} /*# sourceMappingURL=yt-flow-header-renderer.css.map*/</style>';
Akb=d}d=Akb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Bkb=a}a=Bkb;return a}}});
var HO=GO;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],HO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],HO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],HO.prototype,"data",void 0);_.S([_.V("data.progress"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],HO.prototype,"showProgressBar",null);
_.S([_.V("data.progress"),_.T("design:type",Number),_.T("design:paramtypes",[])],HO.prototype,"progress",null);HO=_.S([_.lu({is:"yt-flow-header-renderer",noInjection:!0})],HO);
var Ckb;
var Dkb;
var IO=function(){return _.K.apply(this,arguments)||this};
_.q(IO,_.K);IO.prototype.configureRendererStamper=function(){return{"data.text":{id:"text",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}}}};
_.t.Object.defineProperties(IO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Dkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-post-confirmation-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_post_confirmation_flow_step_renderer.yt.post.confirmation.flow.step.renderer.css.js--\x3e<div id="container"><div id="text"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ckb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_post_confirmation_flow_step_renderer.yt.post.confirmation.flow.step.renderer.css.js--\x3e<style>:host {display: block;} #container {box-sizing: border-box;display: inline-block;padding: 16px;width: 100%;} /*# sourceMappingURL=yt-post-confirmation-flow-step-renderer.css.map*/</style>";
Ckb=d}d=Ckb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Dkb=a}a=Dkb;return a}}});
var JO=IO;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],JO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],JO.prototype,"data",void 0);JO=_.S([_.lu({is:"yt-post-confirmation-flow-step-renderer",noInjection:!0})],JO);
var Ekb;
var Fkb;
var KO=function(){return _.K.apply(this,arguments)||this};
_.q(KO,_.K);
KO.prototype.configureRendererStamper=function(){return{"data.userInfo":{id:"user-info",mapping:{cardItemTextWithImageRenderer:{component:"yt-card-item-text-with-image-renderer"}}},"data.confirmationText":{id:"confirmation-text",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}},"data.confirmationDetailsHeader":{id:"confirmation-details",mapping:{cardItemTextRenderer:{component:"yt-card-item-text-renderer"}}},"data.productDetails":{id:"product-details",mapping:{activityItemRenderer:{component:"yt-activity-item-renderer"}}},
"data.billingDetails":{id:"billing-details",mapping:{cardItemTextCollectionRenderer:{component:"yt-card-item-text-collection-renderer"}}}}};
_.t.Object.defineProperties(KO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Fkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-refund-confirmation-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_refund_confirmation_flow_step_renderer.yt.refund.confirmation.flow.step.renderer.css.js--\x3e<div id="container"><div id="user-info"></div><div id="confirmation-text"></div><div id="confirmation-details"></div><div id="product-details"></div><div id="billing-details"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ekb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_refund_confirmation_flow_step_renderer.yt.refund.confirmation.flow.step.renderer.css.js--\x3e<style>:host {display: block;} #container {box-sizing: border-box;display: inline-block;padding: 16px;width: 100%;} #user-info {margin-bottom: 16px;} #confirmation-text {margin-bottom: 24px;} #confirmation-details {padding-bottom: 12px;margin-bottom: 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} /*# sourceMappingURL=yt-refund-confirmation-flow-step-renderer.css.map*/</style>";
Ekb=d}d=Ekb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Fkb=a}a=Fkb;return a}}});
var LO=KO;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],LO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],LO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],LO.prototype,"data",void 0);LO=_.S([_.lu({is:"yt-refund-confirmation-flow-step-renderer",noInjection:!0})],LO);
var MO=function(){var a=_.K.apply(this,arguments)||this;a.covered=!1;a.hideMenu=!1;a.hasYourDataEntryButton=_.x("your_data_entrypoint");a.scrolledByTouch=!1;a.scrollbarRework=_.x("kevlar_scrollbar_rework");a.sheetsRefresh=_.x("web_sheets_ui_refresh");a.HIGH_PRIORITY_NOTIFICATION_DISPLAY_TIMEOUT_MS=4E3;return a};
_.q(MO,_.K);_.f=MO.prototype;
_.f.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{activeAccountHeaderRenderer:"ytd-active-account-header-renderer",flowHeaderRenderer:"yt-flow-header-renderer",simpleMenuHeaderRenderer:"ytd-simple-menu-header-renderer",reportChannelModalHeaderRenderer:"ytd-report-channel-modal-header-renderer"}},"data.sections":{id:"sections",mapping:{additionalContextRenderer:"ytd-report-channel-modal-additional-context-renderer",abuseTypeSelectorRenderer:"ytd-abuse-type-selector-renderer",accountSectionListRenderer:"ytd-account-section-list-renderer",
backgroundPromoRenderer:"ytd-background-promo-renderer",commentVideoThumbnailHeaderRenderer:"ytd-comment-video-thumbnail-header-renderer",impersonationScreenRenderer:"ytd-report-channel-modal-impersonation-renderer",itemSectionRenderer:"ytd-comments",messageRenderer:"ytd-message-renderer",multiPageMenuNotificationSectionRenderer:"yt-multi-page-menu-section-renderer",multiPageMenuSectionRenderer:"yt-multi-page-menu-section-renderer",postConfirmationFlowStepRenderer:"yt-post-confirmation-flow-step-renderer",
refundConfirmationFlowStepRenderer:"yt-refund-confirmation-flow-step-renderer",selectableVideoListRenderer:"ytd-selectable-video-list-renderer",surveyFlowStepRenderer:"ytd-survey-flow-step-renderer",toggleItemRenderer:"ytd-toggle-item-renderer"},events:!0},"data.footer":{id:"footer",mapping:{multiPageMenuSectionRenderer:"yt-multi-page-menu-section-renderer",reportChannelModalFooterRenderer:"ytd-report-channel-modal-footer-renderer",flowFooterRenderer:"ytd-flow-footer-renderer"}}}};
_.f.ready=function(){var a=this;this.JSC$39530_containerElement.addEventListener("scroll",function(){a.ytRendererBehavior.markDirty()})};
_.f.attributeChanged=function(a,b){"menu-style"===a&&_.C(this,"yt-multi-page-menu-closed-action",[b])};
_.f.detached=function(){this.unlisten(this,"yt-rendererstamper-finished","focusOnStampFinished")};
_.f.focusFirstItem=function(){this.doFocus();this.listen(this,"yt-rendererstamper-finished","focusOnStampFinished")};
_.f.reset=function(){this.closeJobId&&(_.xe.cancelJob(this.closeJobId),this.closeJobId=0);this.covered=!1};
_.f.focusOnStampFinished=function(a){a.detail.container===this.sectionsElement&&(this.unlisten(this,"yt-rendererstamper-finished","focusOnStampFinished"),this.doFocus())};
_.f.doFocus=function(){var a=_.Ax(this.sectionsElement);a.length&&a[0].focus()};
_.f.computeMenuStyle=function(a){return a?a.toLowerCase().replace(/_/g,"-"):""};
_.f.computeHideMenu=function(a,b){return a||!(!b||!b.showLoadingSpinner)};
_.f.onPopupClosed=function(){this.isPopUpOpen=!1;_.C(this,"yt-multi-page-menu-closed-action",[this.menuStyle])};
_.f.onPopupOpened=function(a,b){this.isPopUpOpen=!0;"ytd-multi-page-menu-renderer"===b.is&&(this.reset(),this.fire("yt-refit"),"MULTI_PAGE_MENU_STYLE_TYPE_REPORT_CHANNEL"===this.data.style&&this.ytdReduxBehavior.dispatch(_.Rg({type:"CHANNEL_REPORT_RESET"})))};
_.f.onYtNavigate=function(a,b){this.shouldCloseOnNavigateEvent(b.endpoint)&&_.C(this,"yt-close-all-popups-action")};
_.f.onServiceRequestSentOrCompleted=function(a,b){a.detail&&a.detail.endpoint&&a.detail.endpoint.getCommentsFromInboxCommand&&(this.spinnerElement.hidden=!1,this.headerElement.hidden=!0,this.JSC$39530_containerElement.hidden=!0,this.submenuElement.hidden=!0);if(b.actions){a=b.actions;b=0;for(var c=a.length;b<c;b++){var d=a[b];d.getMultiPageMenuAction&&this.handleGetMultiPageMenuAction(d.getMultiPageMenuAction)}}};
_.f.handleGetMultiPageMenuAction=function(a){var b=document.createElement("ytd-multi-page-menu-renderer");this.refitAfterRender();this.emptySubmenuContainer();_.H(this.submenuElement).appendChild(b);(a=a.menu.multiPageMenuRenderer)&&this.logSubmenu(a);b.data=a;b.covered=!1;this.covered=!0;this.spinnerElement.hidden=!0};
_.f.logSubmenu=function(a){if(!_.x("kevlar_multi_page_menu_sub_page_loggin_killswitch")){var b=this.ytRendererBehavior.getScreenLayer(),c=_.fg(b);b=_.eg(b);(a=a.trackingParams)&&c&&b&&_.tv(c,b,_.no(a))}};
_.f.emptySubmenuContainer=function(){for(var a=_.H(this.submenuElement);a.firstChild;)a.removeChild(a.firstChild)};
_.f.onMenuBackTap=function(a){this.fire("yt-submenu-closed");a.stopPropagation()};
_.f.onSubmenuClosed=function(a){_.H(a).rootTarget!==this&&(this.covered=!1,this.fire("yt-refit"),a.stopPropagation())};
_.f.onRetrieveLocation=function(a,b){b.hasComments&&(b.locationRetrieved("/comment_service_ajax?action_get_comments=1&pbj=1",void 0),a.stopPropagation())};
_.f.shouldCloseOnNavigateEvent=function(a){return a?a.updateCommentDialogEndpoint||a.updateCommentReplyDialogEndpoint||a.createCommentReplyDialogEndpoint||a.urlEndpoint||a.commandMetadata&&a.commandMetadata.webCommandMetadata&&a.commandMetadata.webCommandMetadata.ignoreNavigation?!1:!0:!0};
_.f.onContainerTouchStart=function(){this.scrolledByTouch=!0};
_.f.onContainerTouchEnd=function(){this.scrolledByTouch=!1};
_.f.refitAfterRender=function(){var a=this;_.nt(this,function(){a.fire("yt-refit")})};
_.t.Object.defineProperties(MO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Pjb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-multi-page-menu-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_multi_page_menu_renderer.ytd.multi.page.menu.renderer.css.js--\x3e<div id="spinner" hidden="[[!data.showLoadingSpinner]]">\n  <tp-yt-paper-spinner active="[[data.showLoadingSpinner]]"></tp-yt-paper-spinner>\n</div>\n<div id="header" hidden="[[hideMenu]]"></div>\n<div id="container" class="menu-container" hidden="[[hideMenu]]" on-touchstart="onContainerTouchStart" on-touchend="onContainerTouchEnd">\n  <div id="sections"></div>\n  <div id="footer"></div>\n</div>\n<div id="submenu" class="menu-container" hidden="[[!covered]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ojb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_multi_page_menu_renderer.ytd.multi.page.menu.renderer.css.js--\x3e<style>:host {display: inline-block;background: var(--yt-spec-brand-background-primary);border: 1px solid var(--yt-spec-10-percent-layer);border-top: none;overflow-x: hidden!important;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([sheets-refresh]) {border-radius: 12px;} :host([menu-style=multi-page-menu-style-type-account]) {width: 300px;} :host([menu-style=multi-page-menu-style-type-system]) {width: 300px;} :host([menu-style=multi-page-menu-style-type-creation]) {max-width: 300px;} :host([menu-style=multi-page-menu-style-type-comments]),:host([menu-style=multi-page-menu-style-type-notifications]) {height: 642px;width: 480px;} :host([menu-style=multi-page-menu-style-type-report-channel]) {margin: 0;width: 450px;padding: 0;} :host([menu-style=multi-page-menu-style-type-flow]) {margin: 0;width: 450px;padding: 0;} :host([menu-style=multi-page-menu-style-type-tvfilm-show-provider-switcher]) {width: 412px;box-shadow: 0px 18px 18px var(--yt-spec-verified-badge-background);border-radius: 2px;} #spinner {max-height: calc(100vh - 56px);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([menu-style=multi-page-menu-style-type-account]) #spinner {width: 300px;height: 673px;} :host([menu-style=multi-page-menu-style-type-account][has-your-data-entry-button]) #spinner {width: 300px;height: 713px;} :host([menu-style=multi-page-menu-style-type-report-channel]) #spinner {border-top: 1px solid var(--yt-spec-10-percent-layer);height: 573px;} :host([menu-style=multi-page-menu-style-type-system]) #spinner {width: 300px;height: 354px;} :host([menu-style=multi-page-menu-style-type-system][has-your-data-entry-button]) #spinner {width: 300px;height: 394px;} :host([menu-style=multi-page-menu-style-type-comments]) #spinner,:host([menu-style=multi-page-menu-style-type-notifications]) #spinner {width: 100%;height: 100%;margin: 220px 0;} :host([menu-style=multi-page-menu-style-type-flow]) #spinner {width: 100%;height: 522px;} :host([menu-style=multi-page-menu-style-type-comments]) {--comments-header-renderer-margin-top: 0px;--comments-header-renderer-margin-bottom: 0px;} #header {-ms-flex: none;-webkit-flex: none;flex: none;} #sections>ytd-background-promo-renderer {position: absolute;top: 48px;right: 0;bottom: 0;left: 0;margin-bottom: 20px;} #sections>* {padding: 8px 0;} :host([menu-style=multi-page-menu-style-type-notifications]) #sections>* {padding: 0;} :host([menu-style=multi-page-menu-style-type-report-channel]) #sections>* {height: 420px;padding: 0;} :host([menu-style=multi-page-menu-style-type-flow]) #sections>* {height: 390px;padding: 0;} :host([menu-style=multi-page-menu-style-type-tvfilm-show-provider-switcher]) #sections>* {padding: 8px 0;} :host([menu-style=multi-page-menu-style-type-comments]) #sections>ytd-comment-video-thumbnail-header-renderer,:host([menu-style=multi-page-menu-style-type-comments]) #sections>ytd-comments,:host([menu-style=multi-page-menu-style-type-comments]) #sections>ytd-message-renderer {padding: 16px 8px 16px 16px;} :host([menu-style=multi-page-menu-style-type-switcher]) #sections>*:nth-child(2) {border-top: 4px solid var(--yt-spec-10-percent-layer);border-bottom: none;} :host([menu-style=multi-page-menu-style-type-switcher]) #sections>* {border-bottom: none;} #sections>*:not(:last-child) {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} .menu-container {overflow: auto;} :host([scrollbar-rework]) .menu-container {overflow-y: auto;scrollbar-color: transparent transparent;scrollbar-width: thin;} :host([scrollbar-rework]) .menu-container::-webkit-scrollbar {background: transparent;width: 8px;} :host([scrollbar-rework]) .menu-container::-webkit-scrollbar-thumb {height: 56px;background: transparent;} :host([scrollbar-rework]) .menu-container:hover {scrollbar-color: var(--yt-spec-icon-disabled) transparent;} :host([scrollbar-rework]) .menu-container:hover::-webkit-scrollbar-thumb {background: var(--yt-spec-icon-disabled);} :host(:not([scrollbar-rework])[menu-style=multi-page-menu-style-type-comments])>.menu-container:not(:hover),:host(:not([scrollbar-rework])[menu-style=multi-page-menu-style-type-notifications])>.menu-container:not(:hover),:host(:not([scrollbar-rework])[menu-style=multi-page-menu-style-type-comments])>:host(:not([scrolled-by-touch])),:host(:not([scrollbar-rework])[menu-style=multi-page-menu-style-type-notifications])>:host(:not([scrolled-by-touch])) {margin-right: 8px;overflow: hidden;} :host(:not([scrollbar-rework])) .menu-container::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} :host(:not([scrollbar-rework])) .menu-container::-webkit-scrollbar {width: 8px;} :host([menu-style=multi-page-menu-style-type-report-channel]) .menu-container {overflow: visible;} #submenu {margin-right: 0;} #submenu ytd-multi-page-menu-renderer {border: none;} #footer>* {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px 0;} :host([menu-style=multi-page-menu-style-type-report-channel]) #footer>* {padding: 8px;} :host([menu-style=multi-page-menu-style-type-flow]) #footer>* {border-top: none;padding: 0;} /*# sourceMappingURL=ytd-multi-page-menu-renderer.css.map*/</style>";
Ojb=d}d=Ojb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Pjb=a}a=Pjb;return a}}});
var NO=MO;NO.prototype.refitAfterRender=NO.prototype.refitAfterRender;NO.prototype.onRetrieveLocation=NO.prototype.onRetrieveLocation;NO.prototype.onSubmenuClosed=NO.prototype.onSubmenuClosed;NO.prototype.onMenuBackTap=NO.prototype.onMenuBackTap;NO.prototype.onServiceRequestSentOrCompleted=NO.prototype.onServiceRequestSentOrCompleted;NO.prototype.onYtNavigate=NO.prototype.onYtNavigate;NO.prototype.onPopupOpened=NO.prototype.onPopupOpened;NO.prototype.onPopupClosed=NO.prototype.onPopupClosed;
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],NO.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],NO.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],NO.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],NO.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],NO.prototype,"covered",void 0);_.S([_.N({computed:"computeHideMenu(covered, data)"}),_.T("design:type",Object)],NO.prototype,"hideMenu",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeMenuStyle(data.style)"}),_.T("design:type",String)],NO.prototype,"menuStyle",void 0);_.S([_.N(),_.T("design:type",Boolean)],NO.prototype,"isPopUpOpen",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],NO.prototype,"hasYourDataEntryButton",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],NO.prototype,"scrolledByTouch",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],NO.prototype,"scrollbarRework",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],NO.prototype,"sheetsRefresh",void 0);_.S([_.Z("#sections"),_.T("design:type",HTMLElement)],NO.prototype,"sectionsElement",void 0);_.S([_.Z("#spinner"),_.T("design:type",HTMLElement)],NO.prototype,"spinnerElement",void 0);
_.S([_.Z("#header"),_.T("design:type",HTMLElement)],NO.prototype,"headerElement",void 0);_.S([_.Z("#container"),_.T("design:type",HTMLElement)],NO.prototype,"JSC$39530_containerElement",void 0);_.S([_.Z("#submenu"),_.T("design:type",HTMLElement)],NO.prototype,"submenuElement",void 0);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NO.prototype,"onPopupClosed",null);
_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Element]),_.T("design:returntype")],NO.prototype,"onPopupOpened",null);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],NO.prototype,"onYtNavigate",null);
_.S([_.O("yt-service-request-completed"),_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],NO.prototype,"onServiceRequestSentOrCompleted",null);_.S([_.O("yt-menu-back-tapped"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],NO.prototype,"onMenuBackTap",null);
_.S([_.O("yt-submenu-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],NO.prototype,"onSubmenuClosed",null);_.S([_.O("yt-retrieve-location"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],NO.prototype,"onRetrieveLocation",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NO.prototype,"refitAfterRender",null);
NO=_.S([_.Q({is:"ytd-multi-page-menu-renderer"})],NO);
var Gkb;
var Hkb;
var OO=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-multi-page-menu-closed-action":"handleTopbarMenuClosedAction"};return a};
_.q(OO,_.K);_.f=OO.prototype;_.f.created=function(){this.showTooltips=!0};
_.f.computeAccessibility_=function(a){return this.get("accessibility.accessibilityData",a)||null};
_.f.onTap=function(){var a=_.Jg(this,"yt-get-popup-opened-action",["ytd-multi-page-menu-renderer"]);this.toggleIconState(!0);if(a&&1===a.length&&a[0])_.C(this,"yt-close-popup-action",["ytd-multi-page-menu-renderer"]);else{var b;if(null==(b=this.data)?0:b.menuRenderer)this.ytdOpenPopupBehavior.openPopup({openPopupAction:{popupType:"DROPDOWN",popup:this.data.menuRenderer}});else{var c;(null==(c=this.data)?0:c.menuRequest)&&_.Kg(this,[this.data.menuRequest])}}};
_.f.handleTopbarMenuClosedAction=function(a){var b,c;(new Map([["multi-page-menu-style-type-creation","VIDEO_CALL"],["multi-page-menu-style-type-notifications","NOTIFICATIONS"],["multi-page-menu-style-type-yt-apps","APPS"]])).get(a)===(null==(b=this.data)?void 0:null==(c=b.icon)?void 0:c.iconType)&&this.toggleIconState(!1)};
_.f.toggleIconState=function(a){_.x("kevlar_system_icons")&&this.JSC$39536_iconButton&&(this.JSC$39536_iconButton.pressed=a)};
_.t.Object.defineProperties(OO.prototype,{container:{configurable:!0,enumerable:!0,get:function(){return this.$.button}}});
_.t.Object.defineProperties(OO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Hkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-topbar-menu-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_topbar_menu_button_renderer.ytd.topbar.menu.button.renderer.css.js--\x3e<template is="dom-if" if="[[data.avatar]]">\n  <button id="avatar-btn" aria-haspopup="true" aria-label$="[[data.accessibility.accessibilityData.label]]">\n    <yt-img-shadow height="32" thumbnail="[[data.avatar]]" width="32"></yt-img-shadow>\n  </button>\n</template>\n<div id="button">\n  \n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Gkb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.account.ytd_topbar_menu_button_renderer.ytd.topbar.menu.button.renderer.css.js--\x3e<style>tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} :host {opacity: var(--ytd-offline-opacity);pointer-events: var(--ytd-offline-pointer-events);} :host(.style-text[is-icon-button]),:host(.style-default[is-icon-button]) {color: var(--yt-spec-icon-active-other);} button {background: none;border: none;outline: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} yt-img-shadow {width: 32px;height: 32px;cursor: pointer;margin: 0 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} #avatar-btn:focus yt-img-shadow {box-shadow: 0 0 0 1px var(--ytd-avatar-outline-color,var(--yt-spec-themed-blue));} tp-yt-paper-tooltip {white-space: nowrap;} /*# sourceMappingURL=ytd-topbar-menu-button-renderer.css.map*/</style>";
Gkb=d}d=Gkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Hkb=a}a=Hkb;return a}}});
var PO=OO;PO.prototype.onTap=PO.prototype.onTap;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],PO.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],PO.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],PO.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.lv.YtButtonBehavior),_.T("design:type",Object)],PO.prototype,"ytButtonBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],PO.prototype,"data",void 0);_.S([_.Z("yt-icon-button#button"),_.T("design:type",Object)],PO.prototype,"JSC$39536_iconButton",void 0);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],PO.prototype,"onTap",null);PO=_.S([_.Q({asyncProperties:!0,is:"ytd-topbar-menu-button-renderer"})],PO);
var Ikb;
var Jkb;
var QO=function(){return _.K.apply(this,arguments)||this};
_.q(QO,_.K);_.f=QO.prototype;_.f.onPopupOpened=function(){_.C(this,"yt-mute-ad-action",["ytd-ad-feedback-renderer",this])};
_.f.computeConfirmButton=function(a){return{style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:a.confirmLabel}};
_.f.computeCancelButton=function(a){return{style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:a.cancelLabel}};
_.f.onConfirmTap=function(){var a=this.reasons.selected;void 0!==a&&(a=this.data.reasons[a].endpoint)&&(_.Kg(this,[a]),_.C(this,"yt-close-popup-action"),this.sendFeedbackSubmitToastAction())};
_.f.sendFeedbackSubmitToastAction=function(){this.data.completionMessage&&_.C(this,"yt-open-popup-action",[{openPopupAction:{popupType:"TOAST",popup:{notificationActionRenderer:{responseText:this.data.completionMessage}}}},this])};
_.f.onCancelTap=function(){_.C(this,"yt-close-popup-action")};
_.t.Object.defineProperties(QO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Jkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ad-feedback-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ad_feedback_renderer.ytd.ad.feedback.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[data.title]]">\n</yt-formatted-string>\n<template is="dom-if" if="[[data.reasonsTitle]]">\n  <yt-formatted-string id="reasons-title" text="[[data.reasonsTitle]]">\n  </yt-formatted-string>\n</template>\n<tp-yt-paper-radio-group id="reasons">\n  <template is="dom-repeat" items="[[data.reasons]]" as="feedbackReason">\n    <tp-yt-paper-radio-button name="[[index]]">\n      <yt-formatted-string text="[[feedbackReason.reason]]">\n      </yt-formatted-string>\n    </tp-yt-paper-radio-button>\n  </template>\n</tp-yt-paper-radio-group>\n<div class="buttons">\n  <ytd-button-renderer data="[[computeCancelButton(data)]]" on-tap="onCancelTap">\n  </ytd-button-renderer>\n  <ytd-button-renderer data="[[computeConfirmButton(data)]]" on-tap="onConfirmTap">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ikb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ad_feedback_renderer.ytd.ad.feedback.renderer.css.js--\x3e<style>:host {background: var(--yt-spec-brand-background-primary);max-width: 450px;margin: 0;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host>* {margin-top: 16px;padding: 0 16px;} #title,#reasons-title {color: var(--yt-spec-text-primary);white-space: pre-wrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #reasons {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} /*# sourceMappingURL=ytd-ad-feedback-renderer.css.map*/</style>';
Ikb=d}d=Ikb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Jkb=a}a=Jkb;return a}}});
var RO=QO;RO.prototype.onPopupOpened=RO.prototype.onPopupOpened;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],RO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],RO.prototype,"data",void 0);_.S([_.Z("#reasons"),_.T("design:type",Object)],RO.prototype,"reasons",void 0);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],RO.prototype,"onPopupOpened",null);
RO=_.S([_.Q({asyncProperties:!0,is:"ytd-ad-feedback-renderer"})],RO);
var Kkb;
var Lkb;
var SO=function(){return _.K.apply(this,arguments)||this};
_.q(SO,_.K);SO.prototype.computeConfirmButton=function(a){return{style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:a.confirmLabel}};
SO.prototype.onConfirmTap=function(){_.C(this,"yt-close-popup-action",["ytd-ad-info-dialog-renderer"])};
SO.prototype.onPopupClosed=function(){this.data&&this.data.confirmServiceEndpoint&&_.Kg(this,[this.data.confirmServiceEndpoint])};
_.t.Object.defineProperties(SO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Lkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ad-info-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ad_info_dialog_renderer.ytd.ad.info.dialog.renderer.css.js--\x3e<template is="dom-if" if="[[data.title]]">\n  <h2 id="title">[[getSimpleString(data.title)]]</h2>\n</template>\n<template is="dom-if" if="[[data.adReasons]]">\n  \n  <ul id="ad-reasons">\n    <template is="dom-repeat" items="[[data.adReasons]]" as="reason">\n      <li>\n        <yt-formatted-string text="[[reason]]">\n        </yt-formatted-string>\n      </li>\n    </template>\n  </ul>\n</template>\n<yt-formatted-string id="message" split-lines="" text="[[data.dialogMessage]]">\n</yt-formatted-string>\n<div class="buttons">\n  <ytd-button-renderer data="[[computeConfirmButton(data)]]" on-tap="onConfirmTap">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Kkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ads.ytd_ad_info_dialog_renderer.ytd.ad.info.dialog.renderer.css.js--\x3e<style>:host {background: var(--yt-spec-brand-background-primary);max-width: 450px;margin: 0;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host>* {margin-top: 16px;padding: 0 16px;} #title {color: var(--yt-spec-text-primary);white-space: pre-wrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #ad-reasons,#message {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #ad-reasons {list-style-position: inside;} .buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} /*# sourceMappingURL=ytd-ad-info-dialog-renderer.css.map*/</style>';
Kkb=d}d=Kkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Lkb=a}a=Lkb;return a}}});
var TO=SO;TO.prototype.onPopupClosed=TO.prototype.onPopupClosed;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],TO.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],TO.prototype,"data",void 0);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],TO.prototype,"onPopupClosed",null);TO=_.S([_.Q({asyncProperties:!0,is:"ytd-ad-info-dialog-renderer"})],TO);
var Mkb;
var Nkb;
var Okb;
var Pkb;
var UO=function(){var a=_.K.apply(this,arguments)||this;a.TEST_ONLY={immediateValidation:function(){a.immediateValidation()},
onValidationResponse:function(b){a.onValidationResponse(b)}};
return a};
_.q(UO,_.K);_.f=UO.prototype;_.f.validate=function(){this.immediateValidation()};
_.f.applyHandleEdit=function(){void 0!==this.handleEdit&&(this.handleInput.value=this.handleEdit,this.validationState={status:"PENDING"},this.immediateValidation())};
_.f.onDataChanged=function(){var a;this.validationState=(null==(a=this.data)?0:a.handle)?{status:"UNKNOWN",handle:this.data.handle}:void 0};
_.f.onInput=function(){this.validationState={status:"PENDING"};this.delayedValidation()};
_.f.onFocusout=function(a){this.handleInput.contains(a.relatedTarget)||void 0!==this.validationState&&"PENDING"!==this.validationState.status||this.immediateValidation()};
_.f.delayedValidation=function(){var a,b;this.debouncedValidation(null!=(b=null==(a=this.data)?void 0:a.validationDelayMs)?b:1E3)};
_.f.immediateValidation=function(){this.debouncedValidation(0)};
_.f.debouncedValidation=function(a){var b=this;this.debounce("debouncedValidation",function(){var c,d=b.staticValidation(null!=(c=b.handleInput.value)?c:"");if(void 0!==d)b.validationState={status:"INVALID",errorIndicator:"BORDER",errorMessage:d};else{var e;if(null!=(e=b.data)&&e.validateChannelHandleCommand){b.validationState={status:"LOADING"};var h;b.ytComponentBehavior.resolveCommand(b.data.validateChannelHandleCommand,{form:{handle:null!=(h=b.handleInput.value)?h:""},commandController:{onSuccess:function(l,
m){b.onValidationResponse(m)},
onServerError:function(l,m){b.onValidationServerError(m)}}})}else b.handleUnexpectedValidationError(new _.ge("Missing validateChannelHandleCommand in ChannelHandleInputRenderer.",b.data))}},a)};
_.f.staticValidation=function(a){var b;if(void 0!==(null==(b=this.data)?void 0:b.channelHandleStaticValidationParams)){b=this.data.channelHandleStaticValidationParams;if(void 0!==this.validValueRegexp&&!this.validValueRegexp.test(a)&&void 0!==b.validValueRegexpErrorMessage)return b.validValueRegexpErrorMessage;if(void 0!==b.minLength&&a.length<b.minLength&&void 0!==b.minLengthErrorMessage)return b.minLengthErrorMessage;if(void 0!==b.maxLength&&a.length>b.maxLength&&void 0!==b.maxLengthErrorMessage)return b.maxLengthErrorMessage}};
_.f.onValidationResponse=function(a){var b;void 0===(null==(b=a.result)?void 0:b.channelHandleValidationResultRenderer)?this.handleUnexpectedValidationError(new _.ge("ValidateChannelHandleResponse does not contain ChannelHandleValidationResultRenderer.",a)):this.handleValidationResultRenderer(a.result.channelHandleValidationResultRenderer)};
_.f.onValidationServerError=function(a){this.handleUnexpectedValidationError(new _.ge("ValidateChannelHandle request failed.",a))};
_.f.handleValidationResultRenderer=function(a){if(void 0===a.handle)this.handleUnexpectedValidationError(new _.ge("ChannelHandleValidationResultRenderer does not contain handle.",a));else if(a.handle===this.handleInput.value)switch(a.result){case "CHANNEL_HANDLE_VALIDATION_RESULT_OK":this.validationState={status:"OK",handle:a.handle};break;case "CHANNEL_HANDLE_VALIDATION_RESULT_UNAVAILABLE":case "CHANNEL_HANDLE_VALIDATION_RESULT_CONFORMANCE_ERROR":case "CHANNEL_HANDLE_VALIDATION_RESULT_COMPLIANCE_ERROR":this.validationState=
{status:"INVALID",errorIndicator:"ICON",errorMessage:a.errorMessage};break;case "CHANNEL_HANDLE_VALIDATION_RESULT_UNKNOWN":case void 0:this.handleUnexpectedValidationError(new _.ge("Unrecognized ChannelHandleValidationResult",a));break;default:_.Bb(a.result)}};
_.f.handleUnexpectedValidationError=function(a){var b;this.validationState={status:"UNKNOWN",handle:null!=(b=this.handleInput.value)?b:""};_.Rf(a)};
_.f.stopEventPropagation=function(a){a.stopPropagation()};
_.t.Object.defineProperties(UO.prototype,{value:{configurable:!0,enumerable:!0,get:function(){var a;if(a=this.validationState)a=this.validationState,a="OK"===a.status||"UNKNOWN"===a.status;if(a)return this.validationState.handle}},
errorIndicator:{configurable:!0,enumerable:!0,get:function(){var a;if("INVALID"===(null==(a=this.validationState)?void 0:a.status))return this.validationState.errorIndicator}},
borderErrorIndicator:{configurable:!0,enumerable:!0,get:function(){return"BORDER"===this.errorIndicator}},
handleEdit:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.channelHandleEntity)?void 0:a.handleEdit}},
validValueRegexp:{configurable:!0,enumerable:!0,get:function(){var a,b;if(void 0!==(null==(a=this.data)?void 0:null==(b=a.channelHandleStaticValidationParams)?void 0:b.validValueRegexp))return new RegExp("^"+this.data.channelHandleStaticValidationParams.validValueRegexp+"$")}}});
_.t.Object.defineProperties(UO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Pkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-handle-input-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_handle_input_renderer.ytd.channel.handle.input.renderer.css.js--\x3e<tp-yt-paper-input id="handle-input" always-float-label="" dir="ltr" invalid="[[equals(errorIndicator, \'BORDER\')]]" label="[[data.label]]" required="" use-v2-underline="" value="[[data.handle]]" on-focusout="onFocusout" on-input="onInput">\n  <span id="prefix" slot="prefix">@</span>\n  <div id="suffix-container" slot="suffix">\n    <div id="icon-container">\n      <template is="dom-if" restamp="" if="[[equals(validationState.status, \'LOADING\')]]">\n        <tp-yt-paper-spinner-lite id="spinner" active="">\n        </tp-yt-paper-spinner-lite>\n      </template>\n      <template is="dom-if" restamp="" if="[[equals(errorIndicator, \'ICON\')]]">\n        <tp-yt-iron-icon id="error-icon" class="end-icon" icon="icons:error">\n        </tp-yt-iron-icon>\n      </template>\n      <template is="dom-if" restamp="" if="[[equals(validationState.status, \'OK\')]]">\n        <tp-yt-iron-icon id="valid-icon" class="end-icon" icon="icons:check-circle">\n        </tp-yt-iron-icon>\n      </template>\n    </div>\n  </div>\n</tp-yt-paper-input>\n<div id="error-container">\n  <template is="dom-if" restamp="" if="[[equals(validationState.status, \'INVALID\')]]">\n    <yt-formatted-string id="error-message" text="[[validationState.errorMessage]]">\n    </yt-formatted-string>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Okb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_handle_input_renderer.ytd.channel.handle.input.renderer.css.js--\x3e<style>:host {display: block;} tp-yt-paper-input[focused] tp-yt-paper-input-container[style-target=host] {border-radius: 8px;padding: 4px 8px;border: 1px solid var(--yt-spec-themed-blue);} tp-yt-paper-input {--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;--paper-input-container-underline-disabled-display: none;--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;--paper-input-container-input: {text-align: left;};} tp-yt-paper-input tp-yt-paper-input-container[style-target=host] {border-radius: 8px;padding: 4px 8px;border: 1px solid var(--yt-spec-10-percent-layer);} :host([border-error-indicator]) tp-yt-paper-input tp-yt-paper-input-container[style-target=host] {border-radius: 8px;padding: 4px 8px;border: 1px solid var(--yt-brand-medium-red);} #prefix {color: var(--yt-spec-text-secondary);} #suffix-container {position: relative;width: 24px;height: 0;margin-right: 6px;} #icon-container {position: absolute;display: flex;bottom: 0;left: 0;width: 24px;height: 24px;align-items: center;justify-content: center;} #spinner {height: 20px;width: 20px;--paper-spinner-color: var(--yt-spec-text-secondary);--paper-spinner-stroke-width: 2px;} #error-icon {color: var(--yt-brand-medium-red);} #valid-icon {color: var(--yt-spec-themed-green);} #error-container {min-height: 1.8rem;margin-top: 4px;} #error-message {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-channel-handle-input-renderer.css.map*/</style>';
Okb=d}d=Okb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Pkb=a}a=Pkb;return a}}});
var VO=UO;VO.prototype.stopEventPropagation=VO.prototype.stopEventPropagation;VO.prototype.onDataChanged=VO.prototype.onDataChanged;VO.prototype.applyHandleEdit=VO.prototype.applyHandleEdit;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],VO.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],VO.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],VO.prototype,"data",void 0);
_.S([_.Z("#handle-input"),_.T("design:type",Object)],VO.prototype,"handleInput",void 0);_.S([_.N({notify:!0}),_.V("validationState"),_.T("design:type",Object),_.T("design:paramtypes",[])],VO.prototype,"value",null);_.S([_.V("validationState"),_.T("design:type",Object),_.T("design:paramtypes",[])],VO.prototype,"errorIndicator",null);_.S([_.N({reflectToAttribute:!0}),_.V("errorIndicator"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],VO.prototype,"borderErrorIndicator",null);
_.S([_.N({selectorArgs:["data.channelHandleEntityKey"],selector:function(a,b){return _.Yg(a.entities,"channelHandle",b)}}),
_.T("design:type",Object)],VO.prototype,"channelHandleEntity",void 0);_.S([_.V("channelHandleEntity"),_.T("design:type",Object),_.T("design:paramtypes",[])],VO.prototype,"handleEdit",null);_.S([_.P("handleEdit"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VO.prototype,"applyHandleEdit",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VO.prototype,"onDataChanged",null);
_.S([_.V("data.channelHandleStaticValidationParams.validValueRegexp"),_.T("design:type",Object),_.T("design:paramtypes",[])],VO.prototype,"validValueRegexp",null);_.S([_.O("yt-service-request-sent"),_.O("yt-service-request-completed"),_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],VO.prototype,"stopEventPropagation",null);VO=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-handle-input-renderer"})],VO);
var WO=function(){var a=_.K.apply(this,arguments)||this;a.data=null;a.errorMessage=null;a.isLoading=!0;a.hideContainer=!1;a.actionMap={"yt-image-updated-action":"handleImageUpdatedAction","yt-image-selection-error-action":"handleImageSelectionErrorAction","yt-image-selection-reset-error-action":"handleImageSelectionResetErrorAction","yt-show-caller-popup-action":"showContainer"};return a};
_.q(WO,_.K);_.f=WO.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.toggleCreateChannelButton()};
_.f.dataChanged=function(){this.set("isLoading",!1);this.set("errorMessage",null)};
_.f.onCreateTap=function(){var a=this;if(this.data&&this.data.channelCreationEndpoint){var b,c;if(!(null==(b=this.data.createChannelButton)?0:null==(c=b.buttonRenderer)?0:c.isDisabled)){var d;if(null!=(d=this.nameInput)&&d.value){this.setLoadingState();var e;b=Object.assign({},{name:this.nameInput.value},this.encryptedBlobId?{encryptedBlobId:this.encryptedBlobId}:{avatar_url:this.userSetPhotoThumbnailUrl},{handle:null==(e=this.handleInput)?void 0:e.value});this.ytComponentBehavior.resolveCommand(this.data.channelCreationEndpoint,
{form:b,commandController:{onSuccess:function(h,l){a.onChannelCreationEndpointSuccess(l)},
onServerError:function(){a.onChannelCreationEndpointError()}}})}}}};
_.f.onChannelCreationEndpointSuccess=function(a){if(a.createChannelError){var b;this.setErrorState(null==(b=a.createChannelError)?void 0:b.errorMessage);void 0!==this.handleInput&&this.handleInput.validate()}else a.actions&&a.actions.some(function(c){var d,e;return c.navigateAction||(null==(d=c.timedCommand)?void 0:null==(e=d.command)?void 0:e.navigateAction)})||_.C(this,"yt-close-popup-action",["ytd-channel-creation-dialog-renderer"])};
_.f.onChannelCreationEndpointError=function(){this.setErrorState();void 0!==this.handleInput&&this.handleInput.validate()};
_.f.onCancelTap=function(){var a,b,c;if(!(null==(a=this.data)?0:null==(b=a.cancelButton)?0:null==(c=b.buttonRenderer)?0:c.isDisabled)){var d;this.nameInput&&(null==(d=this.data)?0:d.name)&&(this.nameInput.value=this.data.name);var e;this.handleInput&&(null==(e=this.data)?0:e.channelHandleInput)&&(this.handleInput.data=this.data.channelHandleInput.channelHandleInputRenderer);this.encryptedBlobId=this.previewDataUrl=void 0}};
_.f.toggleCreateChannelButton=function(){this.set("data.createChannelButton.buttonRenderer.isDisabled",!this.nameInput.value||this.handleInput&&void 0===this.handleInput.value)};
_.f.onClearProfilePhotoTap=function(){var a,b,c;(null==(a=this.data)?0:null==(b=a.clearProfilePhotoButton)?0:null==(c=b.buttonRenderer)?0:c.isDisabled)||(this.set("data.isDefaultProfilePhoto",!0),this.set("data.clearProfilePhotoButton.buttonRenderer.isDisabled",!0))};
_.f.onEditAvatarTap=function(){var a,b,c;(null==(a=this.data)?0:null==(b=a.editAvatarButton)?0:null==(c=b.buttonRenderer)?0:c.isDisabled)||(this.hideContainer=!0)};
_.f.setLoadingState=function(){this.set("data.createChannelButton.buttonRenderer.isDisabled",!0);this.set("data.cancelButton.buttonRenderer.isDisabled",!0);this.set("data.clearProfilePhotoButton.buttonRenderer.isDisabled",!0);this.set("isLoading",!0);this.set("errorMessage",null)};
_.f.resetErrorState=function(){this.set("data.createChannelButton.buttonRenderer.isDisabled",!1);this.set("data.cancelButton.buttonRenderer.isDisabled",!1);this.set("data.clearProfilePhotoButton.buttonRenderer.isDisabled",this.data.isDefaultProfilePhoto);this.set("isLoading",!1);this.set("errorMessage",null)};
_.f.setErrorState=function(a){this.resetErrorState();var b;this.set("errorMessage",null!=a?a:null==(b=this.data)?void 0:b.errorMessage)};
_.f.handleImageUpdatedAction=function(a,b){this.hideContainer=!1;this.previewDataUrl=a;this.encryptedBlobId=b};
_.f.handleImageSelectionErrorAction=function(a){this.hideContainer=!1;this.setErrorState(a)};
_.f.handleImageSelectionResetErrorAction=function(){this.hideContainer=!1;this.resetErrorState()};
_.f.showContainer=function(){this.hideContainer=!1};
_.t.Object.defineProperties(WO.prototype,{photoThumbnail:{configurable:!0,enumerable:!0,get:function(){if(this.previewDataUrl)return{thumbnails:[{url:this.previewDataUrl,width:180,height:180}]};if(this.data)return this.data.isDefaultProfilePhoto?this.data.defaultProfilePhoto:this.data.profilePhoto}},
userSetPhotoThumbnailUrl:{configurable:!0,enumerable:!0,get:function(){if(this.data&&!this.data.isDefaultProfilePhoto){var a;return(null==(a=this.photoThumbnail)?0:a.thumbnails)&&0<this.photoThumbnail.thumbnails.length?this.photoThumbnail.thumbnails[0].url:void 0}}},
hideProfilePhotoButtonLayer:{configurable:!0,enumerable:!0,get:function(){return this.data?!(this.data.clearProfilePhotoButton||this.data.editAvatarButton):!0}}});
_.t.Object.defineProperties(WO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Nkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-creation-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_creation_dialog_renderer.ytd.channel.creation.dialog.renderer.css.js--\x3e<div class="container" hidden$="[[hideContainer]]">\n  <div class="popup-header">\n    <yt-formatted-string id="title" class="popup-header-title" text="[[data.title]]">\n      </yt-formatted-string>\n  </div>\n  <div class="profile-picture-container">\n    <div class="profile-picture">\n      <yt-img-shadow class="profile-photo" height="128" thumbnail="[[photoThumbnail]]" width="128">\n      </yt-img-shadow>\n    </div>\n  </div>\n  <div class="profile-photo-button-layer" hidden="[[hideProfilePhotoButtonLayer]]">\n    <ytd-button-renderer data="[[data.clearProfilePhotoButton.buttonRenderer]]" on-click="onClearProfilePhotoTap">\n    </ytd-button-renderer>\n    <ytd-button-renderer data="[[data.editAvatarButton.buttonRenderer]]" hidden="[[!data.editAvatarButton]]" on-click="onEditAvatarTap">\n    </ytd-button-renderer>\n  </div>\n  <div class="name-and-disclaimer-container">\n    <div class="profile-name" hidden="[[!data.isNameEditable]]">\n      <tp-yt-paper-input id="title-input" class="input" label="[[data.nameLabel]]" maxlength="50" required="" use-v2-underline="" value="[[data.name]]" on-input="toggleCreateChannelButton"></tp-yt-paper-input>\n      <template is="dom-if" restamp="" if="[[data.channelHandleInput]]" on-dom-change="toggleCreateChannelButton">\n        <ytd-channel-handle-input-renderer id="handle-input" data="[[data.channelHandleInput.channelHandleInputRenderer]]" on-value-changed="toggleCreateChannelButton">\n        </ytd-channel-handle-input-renderer>\n      </template>\n    </div>\n    <div class="readonly-profile-name" hidden="[[data.isNameEditable]]">\n      [[data.name]]\n    </div>\n    <div class="error-container" hidden="[[!errorMessage]]">\n      <yt-formatted-string class="error" text="[[errorMessage]]"></yt-formatted-string>\n    </div>\n    <div class="disclaimer-layer" hidden="[[!data.additionalInfos]]">\n      <div class="icon-container">\n        <yt-icon id="disclaimer-layer-icon" icon="yt-icons:info_outline"></yt-icon>\n      </div>\n      <template is="dom-repeat" items="[[data.additionalInfos]]">\n        <yt-formatted-string respect-html-dir="" text="[[item]]"></yt-formatted-string>\n      </template>\n    </div>\n    <div class="disclaimer-layer" hidden="[[!data.disclaimer]]">\n      <div class="icon-container">\n        <yt-icon id="disclaimer-layer-icon" hidden="[[data.additionalInfos]]" icon="yt-icons:info_outline"></yt-icon>\n      </div>\n      <div>\n        <yt-formatted-string class="warm-welcome-disclaimer" respect-html-dir="" text="[[data.disclaimer]]">\n        </yt-formatted-string>\n      </div>\n    </div>\n    <div hidden="[[!data.infos]]">\n      <template is="dom-repeat" items="[[data.infos]]">\n        <div class="disclaimer-layer disclaimer-layer-no-icon">\n          <yt-formatted-string respect-html-dir="" text="[[item]]"></yt-formatted-string>\n        </div>\n      </template>\n    </div>\n  </div>\n  <div class="button-layer">\n    <ytd-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" on-click="onCancelTap">\n    </ytd-button-renderer>\n    <ytd-button-renderer id="create-channel-button" data="[[data.createChannelButton.buttonRenderer]]" on-click="onCreateTap">\n    </ytd-button-renderer>\n  </div>\n  <div class="spinner-container" hidden="[[!isLoading]]">\n    <tp-yt-paper-spinner-lite active="[[isLoading]]"></tp-yt-paper-spinner-lite>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Mkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_creation_dialog_renderer.ytd.channel.creation.dialog.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([dialog][dialog][dialog]) {margin: 0;padding: 0;} .container {min-height: 488px;width: 738px;position: relative;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .popup-header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);height: 63px;text-align: left;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .readonly-profile-name {font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} .popup-header-title {color: var(--yt-spec-text-primary);margin-left: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} .spinner-container {position: absolute;width: 100%;height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .profile-picture-container {margin-top: 36px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .profile-photo {border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 50%;width: 128px;height: 128px;margin: 0 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} .profile-name {color: var(--yt-spec-text-primary);margin-bottom: 28px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;text-align: left;} #handle-input {margin-top: 12px;} .readonly-profile-name {color: var(--yt-spec-text-primary);margin-bottom: 28px;text-align: center;} .name-and-disclaimer-container {padding: 0 140px;} .disclaimer-layer {color: var(--yt-spec-text-secondary);text-align: left;margin: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .disclaimer-layer-no-icon {padding-left: 18px;} .icon-container {min-height: 13px;min-width: 13px;margin-right: 5px;} yt-icon {height: 13px;width: 13px;} .error-container {text-align: center;-ms-align-self: center;-webkit-align-self: center;align-self: center;} .error {color: var(--yt-spec-brand-link-text);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .profile-photo-button-layer {margin: 16px 0;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .button-layer {border-top: 1px solid var(--yt-spec-10-percent-layer);height: 52px;margin-top: 16px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} tp-yt-paper-input[focused] tp-yt-paper-input-container[style-target=host] {border-radius: 8px;padding: 4px 8px;border: 1px solid var(--yt-spec-themed-blue);} tp-yt-paper-input {--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;--paper-input-container-underline-disabled-display: none;} tp-yt-paper-input tp-yt-paper-input-container[style-target=host] {border-radius: 8px;padding: 4px 8px;border: 1px solid var(--yt-spec-10-percent-layer);} #cancel-button {margin-left: auto;} /*# sourceMappingURL=ytd-channel-creation-dialog-renderer.css.map*/</style>';
Mkb=d}d=Mkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Nkb=a}a=Nkb;return a}}});
var XO=WO;XO.prototype.dataChanged=XO.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],XO.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],XO.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],XO.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],XO.prototype,"errorMessage",void 0);_.S([_.N(),_.T("design:type",Object)],XO.prototype,"isLoading",void 0);
_.S([_.N(),_.T("design:type",String)],XO.prototype,"previewDataUrl",void 0);_.S([_.N(),_.T("design:type",Object)],XO.prototype,"hideContainer",void 0);_.S([_.Z("#title-input"),_.T("design:type",Object)],XO.prototype,"nameInput",void 0);_.S([_.Z("#handle-input"),_.T("design:type",VO)],XO.prototype,"handleInput",void 0);_.S([_.V("data","data.isDefaultProfilePhoto","previewDataUrl"),_.T("design:type",Object),_.T("design:paramtypes",[])],XO.prototype,"photoThumbnail",null);
_.S([_.V("data","data.isDefaultProfilePhoto","photoThumbnail"),_.T("design:type",Object),_.T("design:paramtypes",[])],XO.prototype,"userSetPhotoThumbnailUrl",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],XO.prototype,"hideProfilePhotoButtonLayer",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],XO.prototype,"dataChanged",null);XO=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-creation-dialog-renderer"})],XO);
var Qkb;
var Rkb;
var YO=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!1;a.isDisabled=!1;return a};
_.q(YO,_.K);YO.prototype.attached=function(){this.setAttribute("dialog","true")};
YO.prototype.updateDisabled=function(){var a;this.isDisabled=this.isLoading||void 0===(null==(a=this.handleInput)?void 0:a.value);this.set("data.saveButton.buttonRenderer.isDisabled",this.isDisabled)};
YO.prototype.onSaveClick=function(){var a=this;if(!this.isDisabled&&void 0!==this.handleInput.value){var b;void 0!==(null==(b=this.data)?void 0:b.editChannelHandleEndpoint)&&(this.errorMessage=void 0,this.isLoading=!0,this.ytComponentBehavior.resolveCommand(this.data.editChannelHandleEndpoint,{form:{handle:this.handleInput.value},commandController:{onSuccess:function(){var c;if(null==(c=a.data)?0:c.nextEndpoint){var d;a.ytComponentBehavior.resolveCommand(null==(d=a.data)?void 0:d.nextEndpoint)}else a.isLoading=
!1,a.closeDialog()},
onServerError:function(){a.isLoading=!1;a.handleInput.validate();var c;a.errorMessage=null==(c=a.data)?void 0:c.errorMessage}}}))}};
YO.prototype.closeDialog=function(){_.C(this,"yt-close-popup-action",[this.is])};
_.t.Object.defineProperties(YO,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Rkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-handle-edit-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_handle_edit_dialog_renderer.ytd.channel.handle.edit.dialog.renderer.css.js--\x3e<div id="container">\n  <div id="header">\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n    <template is="dom-if" restamp="" if="[[data.dismissButton]]">\n      <ytd-button-renderer id="dismiss-button" data="[[data.dismissButton.buttonRenderer]]" on-click="closeDialog">\n      </ytd-button-renderer>\n    </template>\n  </div>\n\n  <div id="body">\n    <yt-img-shadow id="profile-picture" height="128" thumbnail="[[data.profilePicture]]" width="128">\n    </yt-img-shadow>\n\n    <div id="name">[[data.channelTitle]]</div>\n\n    <template is="dom-if" restamp="" if="[[data.channelHandleInput]]" on-dom-change="updateDisabled">\n      <ytd-channel-handle-input-renderer id="handle-input" data="[[data.channelHandleInput.channelHandleInputRenderer]]" on-value-changed="updateDisabled">\n      </ytd-channel-handle-input-renderer>\n    </template>\n\n    <template is="dom-if" restamp="" if="[[data.existingHandle]]">\n      <div id="existing-handle" dir="ltr">\n        [[data.existingHandle]]\n      </div>\n    </template>\n\n    <template is="dom-if" restamp="" if="[[data.bodyText]]">\n      <yt-formatted-string id="body-text" text="[[data.bodyText]]">\n      </yt-formatted-string>\n    </template>\n\n    <template is="dom-if" restamp="" if="[[errorMessage]]">\n      <yt-formatted-string id="error-message" text="[[errorMessage]]"></yt-formatted-string>\n    </template>\n\n    <template is="dom-repeat" items="[[data.infoItems]]" as="infoItem">\n      <div class="info-item">\n        <yt-icon class="info-item-icon" icon="[[infoItem.icon.iconType]]">\n        </yt-icon>\n        <yt-formatted-string class="info-item-text" text="[[infoItem.infoText]]">\n        </yt-formatted-string>\n      </div>\n    </template>\n  </div>\n\n  <div id="footer">\n    <template is="dom-if" restamp="" if="[[data.cancelButton]]">\n      <ytd-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" on-click="closeDialog">\n      </ytd-button-renderer>\n    </template>\n    <template is="dom-if" restamp="" if="[[data.saveButton]]">\n      <ytd-button-renderer id="save-button" data="[[data.saveButton.buttonRenderer]]" on-click="onSaveClick">\n      </ytd-button-renderer>\n    </template>\n  </div>\n\n  <div id="spinner-container" hidden="[[!isLoading]]">\n    <tp-yt-paper-spinner-lite active="[[isLoading]]"></tp-yt-paper-spinner-lite>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Qkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_handle_edit_dialog_renderer.ytd.channel.handle.edit.dialog.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([dialog][dialog][dialog]) {margin: 0;padding: 0;} #container {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;width: 738px;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;height: 63px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 0 24px;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;color: var(--yt-spec-text-primary);} #body {-ms-align-self: center;-webkit-align-self: center;align-self: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;box-sizing: border-box;width: 100%;max-width: 488px;padding: 54px 24px 42px;} #profile-picture {width: 128px;height: 128px;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 50%;background-color: transparent;overflow: hidden;} #name {margin-top: 18px;font-family: "Roboto","Arial",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 400;color: var(--yt-spec-text-primary);} #handle-input {-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;margin-top: 24px;} #existing-handle {margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 400;color: var(--yt-spec-text-primary);} #body-text {margin-top: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);} #error-message {margin-top: 12px;color: var(--yt-spec-brand-link-text);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .info-item {-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;margin-top: 12px;} .info-item-icon {height: 16px;width: 16px;} .info-item-text {margin-left: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;color: var(--yt-spec-text-secondary);} #footer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex-align: center;-webkit-align-items: center;align-items: center;height: 51px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #footer>ytd-button-renderer {margin-right: 8px;} #spinner-container {position: absolute;width: 100%;height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-channel-handle-edit-dialog-renderer.css.map*/</style>';
Qkb=d}d=Qkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Rkb=a}a=Rkb;return a}}});
var ZO=YO;ZO.prototype.updateDisabled=ZO.prototype.updateDisabled;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],ZO.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ZO.prototype,"data",void 0);_.S([_.Z("#handle-input"),_.T("design:type",VO)],ZO.prototype,"handleInput",void 0);_.S([_.P("isLoading"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ZO.prototype,"updateDisabled",null);
ZO=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-handle-edit-dialog-renderer"})],ZO);
var Skb;
var Tkb;
var $O=function(){return _.K.apply(this,arguments)||this};
_.q($O,_.K);$O.prototype.configureRendererStamper=function(){return{"data.button":{id:"button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.feedback":{id:"feedback",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties($O,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Tkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-switcher-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_footer_renderer.ytd.channel.switcher.footer.renderer.css.js--\x3e<div id="button"></div>\n<div id="feedback"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Skb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_footer_renderer.ytd.channel.switcher.footer.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);border-top: 1px solid var(--yt-spec-10-percent-layer);min-height: 48px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #button {margin-left: 8px;flex: 1;} #feedback {margin-right: 8px;} /*# sourceMappingURL=ytd-channel-switcher-footer-renderer.css.map*/</style>";
Skb=d}d=Skb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Tkb=a}a=Tkb;return a}}});
var aP=$O;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],aP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],aP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],aP.prototype,"data",void 0);aP=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-switcher-footer-renderer"})],aP);
var Ukb;
var Vkb;
var Wkb;
var Xkb;
var bP=function(){return _.K.apply(this,arguments)||this};
_.q(bP,_.K);bP.prototype.onIronChange=function(){if(this.checkbox&&this.onDontAskAgainChanged)this.onDontAskAgainChanged(this.checkbox.checked)};
_.t.Object.defineProperties(bP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Xkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-identity-prompt-footer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_identity_prompt_footer_renderer.ytd.identity.prompt.footer.renderer.css.js--\x3e<tp-yt-paper-checkbox id="checkbox">\n  <yt-formatted-string text="[[data.dontShowAgainText]]"></yt-formatted-string>\n</tp-yt-paper-checkbox>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Wkb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_identity_prompt_footer_renderer.ytd.identity.prompt.footer.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);border-top: 1px solid var(--yt-spec-10-percent-layer);min-height: 48px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;padding-left: 16px;} tp-yt-paper-radio-button,tp-yt-paper-checkbox {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-identity-prompt-footer-renderer.css.map*/</style>';
Wkb=d}d=Wkb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Xkb=a}a=Xkb;return a}}});
var cP=bP;cP.prototype.onIronChange=cP.prototype.onIronChange;_.S([_.N(),_.T("design:type",Object)],cP.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!1}),_.T("design:type",Function)],cP.prototype,"onDontAskAgainChanged",void 0);_.S([_.Z("#checkbox"),_.T("design:type",Object)],cP.prototype,"checkbox",void 0);_.S([_.O("iron-change"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cP.prototype,"onIronChange",null);
cP=_.S([_.Q({asyncProperties:!0,is:"ytd-identity-prompt-footer-renderer"})],cP);
var dP=function(){var a=_.K.apply(this,arguments)||this;a.dontAskAgain=!1;a.showPopup=!1;a.boundDontAskAgainChanged=function(b){a.dontAskAgainChanged(b)};
a.standardizedThemedScrollbar=_.x("kevlar_themed_standardized_scrollbar");a.boundOnAccountItemTap=function(b){a.onAccountItemTap(b)};
return a};
_.q(dP,_.K);_.f=dP.prototype;
_.f.configureRendererStamper=function(){return{"data.sections":{id:"sections",mapping:{accountItemSectionRenderer:{component:"ytd-account-item-section-renderer",properties:{onAccountItemTap:"[[boundOnAccountItemTap]]"}}}},"data.header":{id:"header",mapping:{simpleMenuHeaderRenderer:"ytd-simple-menu-header-renderer"}},"data.footer":{id:"footer",mapping:{channelSwitcherFooterRenderer:"ytd-channel-switcher-footer-renderer",identityPromptFooterRenderer:{component:"ytd-identity-prompt-footer-renderer",properties:{onDontAskAgainChanged:"[[boundDontAskAgainChanged]]"}}}}}};
_.f.ready=function(){var a=this;this.$.container.addEventListener("scroll",function(){a.ytRendererBehavior.markDirty()})};
_.f.dontAskAgainChanged=function(a){this.dontAskAgain=a};
_.f.onAccountItemTap=function(a){if(a){var b={};this.dontAskAgain&&(b={dont_ask_again:this.dontAskAgain});_.XI(a,b)}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.dataChanged=function(){this.data&&this.redirectOnlyAccount(this.data)};
_.f.redirectOnlyAccount=function(a){var b,c,d,e;a.sections&&0<a.sections.length&&(null==(b=a.sections[0])?0:null==(c=b.accountItemSectionRenderer)?0:c.contents)&&1>=(null==(d=a.sections[0])?void 0:null==(e=d.accountItemSectionRenderer)?void 0:e.contents.length)?(a=_.sd(window.location.href),(null==a?0:a.next)&&_.jfa(a.next)?_.XI(a.next):_.XI("/")):this.showPopup=!0};
_.t.Object.defineProperties(dP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Vkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-switcher-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_renderer.ytd.channel.switcher.renderer.css.js--\x3e<div id="header"></div>\n<div id="container" class="menu-container">\n  <div id="sections"></div>\n</div>\n<div id="footer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ukb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_switcher_renderer.ytd.channel.switcher.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);width: 400px;padding: 0px;margin: 0px;} :host([show-popup]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(:not([show-popup])) {display: none;} :host(:not([standardized-themed-scrollbar])) .menu-container {max-height: 568px;overflow-y: auto;} :host(:not([standardized-themed-scrollbar])) .menu-container::-webkit-scrollbar {width: 8px;} :host(:not([standardized-themed-scrollbar])) .menu-container::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} :host([standardized-themed-scrollbar]) .menu-container {max-height: 568px;overflow-y: auto;} :host([standardized-themed-scrollbar]) .menu-container::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar]) .menu-container::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar]) .menu-container::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} #sections {padding: 8px 0;} /*# sourceMappingURL=ytd-channel-switcher-renderer.css.map*/</style>";
Ukb=d}d=Ukb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Vkb=a}a=Vkb;return a}}});
var eP=dP;eP.prototype.dataChanged=eP.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],eP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],eP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],eP.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!1}),_.T("design:type",Boolean)],eP.prototype,"dontAskAgain",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],eP.prototype,"showPopup",void 0);_.S([_.N({reflectToAttribute:!1}),_.T("design:type",Object)],eP.prototype,"boundDontAskAgainChanged",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],eP.prototype,"standardizedThemedScrollbar",void 0);_.S([_.N({reflectToAttribute:!1}),_.T("design:type",Object)],eP.prototype,"boundOnAccountItemTap",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],eP.prototype,"dataChanged",null);eP=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-switcher-renderer"})],eP);
var Ykb;
var Zkb;
var fP=function(){return _.K.apply(this,arguments)||this};
_.q(fP,_.K);_.t.Object.defineProperties(fP.prototype,{steps:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.steps?this.data.steps:[]}}});
_.t.Object.defineProperties(fP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Zkb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-transfer-stepper-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_transfer_stepper_renderer.ytd.channel.transfer.stepper.renderer.css.js--\x3e<div class="stepper">\n  <template is="dom-repeat" items="[[steps]]" as="step">\n    <div class="step-and-separator">\n      <div class="step" state$="[[step.state]]">\n        <yt-formatted-string class="step-title" text="[[step.title]]"></yt-formatted-string>\n        <div class="step-badge"></div>\n      </div>\n      <div class="separator"></div>\n    </div>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ykb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_transfer_stepper_renderer.ytd.channel.transfer.stepper.renderer.css.js--\x3e<style>.stepper {padding: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;} .step-and-separator {position: relative;margin: 0 8px;min-width: 105px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .step {outline: none;padding: 4px 16px;height: 64px;min-width: 128px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .separator {background-color: var(--yt-spec-call-to-action);position: absolute;top: 50%;pointer-events: none;height: 2px;width: calc(100% + 16px);min-width: 40px;margin-top: 9px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .step-badge {border-radius: 50%;background-color: var(--yt-spec-brand-background-solid);margin: 2px 0;z-index: 1;border: 4px solid var(--yt-spec-call-to-action);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .step-title {width: 100%;margin-bottom: 2px;white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .step[state=STEPPER_RENDERER_STATE_ACTIVE] .step-title {color: var(--yt-spec-call-to-action);} .step[state=STEPPER_RENDERER_STATE_INACTIVE] .step-title {color: var(--yt-spec-text-primary);} .step[state=STEPPER_RENDERER_STATE_ACTIVE] .step-badge {width: 12px;height: 12px;margin: 2px;} .step[state=STEPPER_RENDERER_STATE_INACTIVE] .step-badge {width: 8px;height: 8px;margin: 4px;} /*# sourceMappingURL=ytd-channel-transfer-stepper-renderer.css.map*/</style>';
Ykb=d}d=Ykb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Zkb=a}a=Zkb;return a}}});
var gP=fP;_.S([_.N(),_.T("design:type",Object)],gP.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],gP.prototype,"steps",null);gP=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-transfer-stepper-renderer"})],gP);
var $kb;
var alb;
var hP=function(){var a=_.K.apply(this,arguments)||this;a.data=null;a.isError=!1;a.isLoading=!1;return a};
_.q(hP,_.K);_.f=hP.prototype;_.f.configureRendererStamper=function(){return{"data.personalAccountTile.selectButton":{id:"personal-account-tile-select-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.brandAccountTile.selectButton":{id:"brand-account-tile-select-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.dataChanged=function(){this.set("isLoading",!1);this.set("isError",!1)};
_.f.computeProfileName=function(a){return a?a.givenNameValue+" "+a.familyNameValue:""};
_.f.onYtServiceRequestSent=function(){this.set("data.personalAccountTile.selectButton.buttonRenderer.isDisabled",!0);this.set("data.brandAccountTile.selectButton.buttonRenderer.isDisabled",!0);this.set("data.cancelButton.buttonRenderer.isDisabled",!0);this.set("isLoading",!0);this.set("isError",!1)};
_.f.onYtServiceRequestError=function(){this.set("data.personalAccountTile.selectButton.buttonRenderer.isDisabled",!1);this.set("data.brandAccountTile.selectButton.buttonRenderer.isDisabled",!1);this.set("data.cancelButton.buttonRenderer.isDisabled",!1);this.set("isLoading",!1);this.set("isError",!0)};
_.t.Object.defineProperties(hP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===alb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-warm-welcome-cont-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_warm_welcome_cont_renderer.ytd.channel.warm.welcome.cont.renderer.css.js--\x3e<div class="container">\n  <div class="popup-header">\n    <h2>\n      <yt-formatted-string id="title" class="popup-header-title" text="[[data.title]]">\n      </yt-formatted-string>\n    </h2>\n  </div>\n  <div class="tiles">\n    <div id="personal-account-tile" class="tile">\n      <div class="tile-content">\n        <div class="tile-header">\n          <h3>\n            <yt-formatted-string id="personal_account_tile-title" class="tile-header-title" text="[[data.personalAccountTile.title]]">\n            </yt-formatted-string>\n          </h3>\n        </div>\n        <div class="tile-description">\n          <yt-formatted-string id="personal_account_tile-description" class="tile-description-text" text="[[data.personalAccountTile.description]]">\n          </yt-formatted-string>\n        </div>\n        <div class="tile-profile-picture">\n          <yt-img-shadow class="profile-photo" height="96" style="border-radius: 50%" thumbnail="[[data.personalAccountTile.contents.createCoreIdentityChannelContentRenderer.profilePhoto]]" width="96">\n          </yt-img-shadow>\n        </div>\n        <div class="tile-profile-name">[[profileName]]</div>\n        <div class="tos">\n          <template is="dom-repeat" items="[[data.personalAccountTile.contents.createCoreIdentityChannelContentRenderer.additionalInfos]]">\n            <yt-formatted-string text="[[item]]"></yt-formatted-string>\n          </template>\n        </div>\n      </div>\n      <div class="tile-button-layer">\n        <span id="personal-account-tile-select-button"></span>\n      </div>\n    </div>\n    <span class="tile-separator"></span>\n    <div id="brand-account-tile" class="tile">\n      <div class="tile-content">\n        <div class="tile-header">\n          <h3>\n            <yt-formatted-string id="brand_account_tile-title" class="tile-header-title" text="[[data.brandAccountTile.title]]">\n            </yt-formatted-string>\n          </h3>\n        </div>\n        <div class="tile-description">\n          <yt-formatted-string id="brand_account_tile-description" class="tile-description-text" text="[[data.brandAccountTile.description]]">\n          </yt-formatted-string>\n        </div>\n        <div class="tile-illustration">\n          <yt-img-shadow height="164" thumbnail="[[data.brandAccountTile.illustration]]">\n          </yt-img-shadow>\n        </div>\n      </div>\n      <div class="tile-button-layer">\n        <span id="brand-account-tile-select-button" class="centered-button tile-button"></span>\n      </div>\n    </div>\n    <div class="spinner-container" hidden="[[!isLoading]]">\n      <tp-yt-paper-spinner-lite active="[[isLoading]]"></tp-yt-paper-spinner-lite>\n    </div>\n  </div>\n  <div class="error-container" hidden="[[!isError]]">\n    <yt-formatted-string class="error" text="[[data.errorMessage]]"></yt-formatted-string>\n  </div>\n  <div class="disclaimer-layer" hidden="[[!data.disclaimer]]">\n      <yt-formatted-string class="warm-welcome-disclaimer" text="[[data.disclaimer]]"></yt-formatted-string>\n  </div>\n  <div class="button-layer">\n    <span id="cancel-button" class="centered-button tile-button"></span>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$kb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_warm_welcome_cont_renderer.ytd.channel.warm.welcome.cont.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;min-height: 484px;width: 657px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([dialog][dialog][dialog]) {margin: 0;padding: 0;} .container {padding: 24px 0 0;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .popup-header {text-align: center;margin-bottom: 12px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .popup-header-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} .tiles {margin: 20px 0 0;padding-bottom: 16px;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .spinner-container {position: absolute;width: 100%;height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .spinner-container>tp-yt-paper-spinner-lite[active] {background-color: var(--paper-dialog-background-color,var(--primary-background-color));} .tile {width: 280px;margin: 0 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .tile-content {min-height: 260px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} .tile-description {text-align: center;margin-top: 8px;} .tile-header {text-align: center;} .tile-header-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .tile-description-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .tile-button-layer {margin-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .tile-profile-picture>yt-img-shadow {width: 96px;height: 96px;margin: 0 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} .profile-photo {border: 1px solid var(--yt-spec-10-percent-layer);} .tile-profile-name {color: var(--yt-spec-text-primary);margin-top: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .tos {text-align: center;color: var(--yt-spec-text-secondary);margin-top: 12px;min-height: 32px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .disclaimer-layer {color: var(--yt-spec-text-secondary);text-align: center;margin: 8px 44px 4px 44px;min-height: 32px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .error-container {text-align: center;-ms-align-self: center;-webkit-align-self: center;align-self: center;} .error {color: var(--yt-spec-brand-link-text);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .tile-profile-picture,.tile-illustration {margin-top: 16px;} .tile-separator {-ms-flex: 0 0 1px;-webkit-flex: 0 0 1px;flex: 0 0 1px;border-right: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;} .button-layer {-ms-flex: 0 0 49px;-webkit-flex: 0 0 49px;flex: 0 0 49px;border-top: 1px solid var(--yt-spec-10-percent-layer);margin-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-channel-warm-welcome-cont-renderer.css.map*/</style>';
$kb=d}d=$kb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);alb=a}a=alb;return a}}});
var iP=hP;iP.prototype.onYtServiceRequestError=iP.prototype.onYtServiceRequestError;iP.prototype.onYtServiceRequestSent=iP.prototype.onYtServiceRequestSent;iP.prototype.dataChanged=iP.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],iP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],iP.prototype,"data",void 0);
_.S([_.N({computed:"computeProfileName(data.personalAccountTile.contents.createCoreIdentityChannelContentRenderer)"}),_.T("design:type",String)],iP.prototype,"profileName",void 0);_.S([_.N(),_.T("design:type",Object)],iP.prototype,"isError",void 0);_.S([_.N(),_.T("design:type",Object)],iP.prototype,"isLoading",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],iP.prototype,"dataChanged",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],iP.prototype,"onYtServiceRequestSent",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],iP.prototype,"onYtServiceRequestError",null);iP=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-warm-welcome-cont-renderer"})],iP);
var blb;
var clb;
var jP=function(){var a=_.K.apply(this,arguments)||this;a.data=null;return a};
_.q(jP,_.K);jP.prototype.configureRendererStamper=function(){return{"data.nextButton":{id:"next-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
jP.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.hasAttribute("autofocus")||this.setAttribute("autofocus","true")};
_.t.Object.defineProperties(jP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===clb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-channel-warm-welcome-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_warm_welcome_renderer.ytd.channel.warm.welcome.renderer.css.js--\x3e<div class="container">\n  <div class="illustration">\n    <yt-img-shadow height="254" thumbnail="[[data.illustration]]">\n    </yt-img-shadow>\n  </div>\n  <div class="content">\n    <div class="popup-header">\n      <h2>\n        <yt-formatted-string id="title" class="popup-header-title" text="[[data.title]]">\n        </yt-formatted-string>\n      </h2>\n    </div>\n    <div class="popup-description">\n      <yt-formatted-string id="description" class="popup-description-text" text="[[data.description]]">\n      </yt-formatted-string>\n    </div>\n    <div class="button-layer">\n      <div id="next-button"></div>\n      <div id="cancel-button"></div>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===blb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_channel_warm_welcome_renderer.ytd.channel.warm.welcome.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;min-height: 484px;width: 657px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([dialog][dialog][dialog]) {margin: 0;padding: 0;} .container {padding: 24px 28px 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .illustration {height: 254px;} .content {margin-top: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .popup-header {text-align: center;padding: 0 24px;margin-bottom: 8px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .popup-header-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} .popup-description {margin-bottom: 16px;padding: 0 48px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .popup-description-text {text-align: center;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .button-layer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .button-layer ytd-button-renderer {margin-top: 8px;} /*# sourceMappingURL=ytd-channel-warm-welcome-renderer.css.map*/</style>';
blb=d}d=blb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);clb=a}a=clb;return a}}});
var kP=jP;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],kP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],kP.prototype,"data",void 0);kP=_.S([_.Q({asyncProperties:!0,is:"ytd-channel-warm-welcome-renderer"})],kP);
var dlb;
var elb;
var lP=function(a){var b=Error.call(this,"Try adding a file that's {$maxFileSizeMB}MB or smaller");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.maxFileSizeMB=a;Object.setPrototypeOf(this,lP.prototype)};
_.q(lP,Error);var mP=function(a,b){var c=Error.call(this,"Images must be at least {$minWidth} x {$minHeight} pixels");this.message=c.message;"stack"in c&&(this.stack=c.stack);this.minWidth=a;this.minHeight=b;Object.setPrototypeOf(this,mP.prototype)};
_.q(mP,Error);var flb=function(a){this.requirements=a;this.maxFileSize=1048576*a.maxFileSizeMB},glb=function(a,b){if(b.size>a.maxFileSize)throw new lP(a.requirements.maxFileSizeMB);
};
var hlb=function(a,b){this.canvas=a;this.imageEditorBuilder=b};
hlb.prototype.addEventListeners=function(a){var b=function(e){ilb(a,e)};
this.JSC$39609_mouseDownEvent=b;var c=function(e){jlb(a,e)};
this.JSC$39609_mouseMoveEvent=c;var d=function(){klb(a)};
this.JSC$39609_mouseUpEvent=d;this.canvas.addEventListener("mousedown",b);this.canvas.addEventListener("mousemove",c);document.addEventListener("mouseup",d)};
hlb.prototype.removeEventListeners=function(){this.JSC$39609_mouseDownEvent&&this.canvas.removeEventListener("mousedown",this.JSC$39609_mouseDownEvent);this.JSC$39609_mouseMoveEvent&&this.canvas.removeEventListener("mousemove",this.JSC$39609_mouseMoveEvent);this.JSC$39609_mouseUpEvent&&document.removeEventListener("mouseup",this.JSC$39609_mouseUpEvent)};
var llb=function(a,b){a.removeEventListeners();return new Promise(function(c){var d=new Image;d.crossOrigin="anonymous";d.onload=function(){var e=a.imageEditorBuilder(a.canvas,d);a.addEventListeners(e);c(e)};
d.src=b})},nP=function(a,b,c,d,e,h,l,m){this.canvas=a;
this.image=b;this.requiredRatio=c;this.minImageCropDimension=d;this.minOutputImageResolution=e;this.component=h;this.styleFocusedCorner=void 0===m?!0:m;this.action=2;this.focusedCorner=this.resizeCorner=0;a=this.canvas.getContext("2d");if(!a)throw Error("gg");this.ctx=a;this.canvasMargin=null!=l?l:24;this.canvasInnerWidth=this.canvas.width-2*this.canvasMargin;l=this.image;a=this.canvasInnerWidth/l.width;912<l.height*a&&(a=l.width/l.height*912/l.width);l=a;this.scaledImageWidth=this.canvas.width%2?
f$a(this.image.width*l):e$a(this.image.width*l);this.scaledImageHeight=Math.round(this.image.height*l);this.canvas.height=this.scaledImageHeight+2*this.canvasMargin;this.horizontalMargin=(this.canvas.width-this.scaledImageWidth)/2;this.JSC$39613_overlayMarginBottom=this.JSC$39613_overlayMarginTop=this.canvasMargin;this.JSC$39613_overlayMarginRight=this.JSC$39613_overlayMarginLeft=this.horizontalMargin;this.JSC$39613_overlayWidth=this.scaledImageWidth;this.JSC$39613_overlayHeight=this.scaledImageHeight;
a=this.image.width/this.image.height;a>this.requiredRatio?(this.JSC$39613_overlayWidth=this.canvas.width%2?f$a(this.scaledImageHeight*this.requiredRatio):e$a(this.scaledImageHeight*this.requiredRatio),this.JSC$39613_overlayMarginRight=this.JSC$39613_overlayMarginLeft=(this.canvas.width-this.JSC$39613_overlayWidth)/2):a<this.requiredRatio&&(this.JSC$39613_overlayHeight=this.canvas.height%2?f$a(this.scaledImageWidth/this.requiredRatio):e$a(this.scaledImageWidth/this.requiredRatio),this.JSC$39613_overlayMarginBottom=
this.JSC$39613_overlayMarginTop=(this.canvas.height-this.JSC$39613_overlayHeight)/2);this.minOverlayWidth=Math.min(this.minImageCropDimension[0]*l,this.scaledImageWidth);mlb(this)};
nP.prototype.getContext=function(){return this.ctx};
var ilb=function(a,b){b={x:Math.round(b.pageX-a.canvas.getBoundingClientRect().left),y:Math.round(b.pageY-a.canvas.getBoundingClientRect().top)};a.dragStart=b;0!==nlb(a,b)?(a.action=1,olb(a,b),a.resizeCorner=nlb(a,b)):b.x>a.JSC$39613_overlayMarginLeft&&b.x<a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth&&b.y>a.JSC$39613_overlayMarginTop&&b.y<a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight&&(a.action=0)},plb=function(a,b){switch(b){case 1:return{x:a.JSC$39613_overlayMarginLeft,
y:a.JSC$39613_overlayMarginTop};case 2:return{x:a.JSC$39613_overlayMarginLeft,y:a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight};case 3:return{x:a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth,y:a.JSC$39613_overlayMarginTop};case 4:return{x:a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth,y:a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight};default:throw Error("hg");}},oP=function(a,b){if(0!==a.focusedCorner){a.dragStart=plb(a,a.focusedCorner);
a.action=1;a.resizeCorner=a.focusedCorner;var c=a.dragStart.x,d=a.dragStart.y;switch(b){case 0:1===a.focusedCorner||4===a.focusedCorner?(c-=10,d-=10):(c-=10,d+=10);break;case 1:1===a.focusedCorner||4===a.focusedCorner?(c+=10,d+=10):(c+=10,d-=10);break;case 2:c=1===a.focusedCorner||4===a.focusedCorner?c-10:c+10;d-=10;break;case 3:c=1===a.focusedCorner||4===a.focusedCorner?c+10:c-10;d+=10;break;default:throw Error("ig");}qlb(a,{x:c,y:d});mlb(a);a.action=2;a.dragStart=void 0}},jlb=function(a,b){b={x:Math.round(b.pageX-
a.canvas.getBoundingClientRect().left),
y:Math.round(b.pageY-a.canvas.getBoundingClientRect().top)};olb(a,b);switch(a.action){case 1:qlb(a,b);break;case 0:a.dragStart&&(a.JSC$39613_overlayMarginLeft=Math.max(a.horizontalMargin,Math.min(a.JSC$39613_overlayMarginLeft-(a.dragStart.x-b.x),a.horizontalMargin+a.scaledImageWidth-a.JSC$39613_overlayWidth)),a.JSC$39613_overlayMarginRight=a.canvas.width-a.JSC$39613_overlayMarginLeft-a.JSC$39613_overlayWidth,a.JSC$39613_overlayMarginTop=Math.max(a.canvasMargin,Math.min(a.JSC$39613_overlayMarginTop-
(a.dragStart.y-b.y),a.scaledImageHeight-a.JSC$39613_overlayHeight+a.canvasMargin)),a.JSC$39613_overlayMarginBottom=a.canvas.height-(a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight));break;default:return}mlb(a);a.dragStart=b},klb=function(a){a.action=2;
a.dragStart=void 0;document.body.style.cursor="auto"},olb=function(a,b){switch(nlb(a,b)){case 1:document.body.style.cursor="nw-resize";
break;case 3:document.body.style.cursor="ne-resize";break;case 2:document.body.style.cursor="sw-resize";break;case 4:document.body.style.cursor="se-resize";break;default:1!==a.action&&(document.body.style.cursor="auto")}},nlb=function(a,b){var c=a.JSC$39613_overlayMarginLeft-5,d=a.JSC$39613_overlayMarginTop-5,e=a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth-5;
a=a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight-5;return pP(b,{x:c,y:d})?1:pP(b,{x:e,y:d})?3:pP(b,{x:c,y:a})?2:pP(b,{x:e,y:a})?4:0},pP=function(a,b){return a.x>=b.x&&a.x<=b.x+10&&a.y>=b.y&&a.y<=b.y+10},qlb=function(a,b){if(a.dragStart)switch(a.resizeCorner){case 2:Math.abs((a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth-b.x)/(b.y-a.JSC$39613_overlayMarginTop))>=a.requiredRatio?rlb(a,b.x):slb(a,b.y);
break;case 1:Math.abs((a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth-b.x)/(a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight-b.y))>=a.requiredRatio?tlb(a,b.x):slb(a,b.y);break;case 4:Math.abs((b.x-a.JSC$39613_overlayMarginLeft)/(b.y-a.JSC$39613_overlayMarginTop))>=a.requiredRatio?rlb(a,b.x):ulb(a,b.y);break;case 3:Math.abs((b.x-a.JSC$39613_overlayMarginLeft)/(a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight-b.y))>=a.requiredRatio?tlb(a,b.x):ulb(a,b.y);break;default:throw Error("jg");
}},rlb=function(a,b){var c=a.JSC$39613_overlayMarginTop;
a.JSC$39613_overlayMarginBottom=vlb(a,b);a.JSC$39613_overlayHeight=a.canvas.height-a.JSC$39613_overlayMarginBottom-c;a.JSC$39613_overlayWidth=Math.round(a.JSC$39613_overlayHeight*a.requiredRatio);wlb(a)},tlb=function(a,b){var c=a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight;
a.JSC$39613_overlayMarginTop=vlb(a,b);a.JSC$39613_overlayHeight=c-a.JSC$39613_overlayMarginTop;a.JSC$39613_overlayWidth=Math.round(a.JSC$39613_overlayHeight*a.requiredRatio);wlb(a)},wlb=function(a){switch(a.resizeCorner){case 2:case 1:a.JSC$39613_overlayMarginLeft=a.canvas.width-a.JSC$39613_overlayMarginRight-a.JSC$39613_overlayWidth;
break;case 4:case 3:a.JSC$39613_overlayMarginRight=a.canvas.width-a.JSC$39613_overlayMarginLeft-a.JSC$39613_overlayWidth;break;default:throw Error("jg");}},slb=function(a,b){var c=a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth;
a.JSC$39613_overlayMarginLeft=xlb(a,b);a.JSC$39613_overlayWidth=c-a.JSC$39613_overlayMarginLeft;a.JSC$39613_overlayHeight=Math.round(a.JSC$39613_overlayWidth/a.requiredRatio);ylb(a)},ulb=function(a,b){var c=a.JSC$39613_overlayMarginLeft;
a.JSC$39613_overlayMarginRight=xlb(a,b);a.JSC$39613_overlayWidth=a.canvas.width-a.JSC$39613_overlayMarginRight-c;a.JSC$39613_overlayHeight=Math.round(a.JSC$39613_overlayWidth/a.requiredRatio);ylb(a)},ylb=function(a){switch(a.resizeCorner){case 2:case 4:a.JSC$39613_overlayMarginBottom=a.canvas.height-a.JSC$39613_overlayMarginTop-a.JSC$39613_overlayHeight;
break;case 1:case 3:a.JSC$39613_overlayMarginTop=a.canvas.height-a.JSC$39613_overlayMarginBottom-a.JSC$39613_overlayHeight;break;default:throw Error("jg");}},vlb=function(a,b){switch(a.resizeCorner){case 2:b=a.canvas.height-(a.JSC$39613_overlayMarginTop+zlb(a,b));
break;case 4:b=a.canvas.height-(a.JSC$39613_overlayMarginTop+Alb(a,b));break;case 1:b=a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight-zlb(a,b);break;case 3:b=a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight-Alb(a,b);break;default:throw Error("jg");}return Math.max(b,a.canvasMargin)},zlb=function(a,b){b=a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth-Math.max(b,a.horizontalMargin);
b=0>b?a.JSC$39613_overlayWidth:Math.max(b,a.minOverlayWidth);return Math.round(b/a.requiredRatio)},Alb=function(a,b){b=a.canvas.width-Math.max(a.canvas.width-b,a.horizontalMargin)-a.JSC$39613_overlayMarginLeft;
b=0>b?a.JSC$39613_overlayWidth:Math.max(b,a.minOverlayWidth);return Math.round(b/a.requiredRatio)},xlb=function(a,b){switch(a.resizeCorner){case 2:b=a.canvas.width-a.JSC$39613_overlayMarginRight-Blb(a,b);
break;case 4:b=a.canvas.width-a.JSC$39613_overlayMarginLeft-Blb(a,b);break;case 1:b=a.canvas.width-a.JSC$39613_overlayMarginRight-Clb(a,b);break;case 3:b=a.canvas.width-a.JSC$39613_overlayMarginLeft-Clb(a,b);break;default:throw Error("jg");}return Math.max(b,a.horizontalMargin)},Blb=function(a,b){b=a.canvas.height-Math.max(a.canvas.height-b,a.canvasMargin)-a.JSC$39613_overlayMarginTop;
return 0>b?a.JSC$39613_overlayWidth:Math.max(Math.round(b*a.requiredRatio),a.minOverlayWidth)},Clb=function(a,b){b=a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight-Math.max(b,a.canvasMargin);
return 0>b?a.JSC$39613_overlayWidth:Math.max(Math.round(b*a.requiredRatio),a.minOverlayWidth)},mlb=function(a){a.ctx.clearRect(0,0,a.canvas.width,a.canvas.height);
a.ctx.drawImage(a.image,0,0,a.image.width,a.image.height,a.horizontalMargin,a.canvasMargin,a.canvas.width-2*a.horizontalMargin,a.scaledImageHeight);a.ctx.fillStyle="rgba(0, 0, 0, 0.7)";a.ctx.fillRect(a.horizontalMargin,a.JSC$39613_overlayMarginTop,a.JSC$39613_overlayMarginLeft-a.horizontalMargin,a.JSC$39613_overlayHeight);a.ctx.fillRect(a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth,a.JSC$39613_overlayMarginTop,a.JSC$39613_overlayMarginRight-a.horizontalMargin,a.JSC$39613_overlayHeight);a.ctx.fillRect(a.horizontalMargin,
a.canvasMargin,a.scaledImageWidth,a.JSC$39613_overlayMarginTop-a.canvasMargin);a.ctx.fillRect(a.horizontalMargin,a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight,a.scaledImageWidth,a.JSC$39613_overlayMarginBottom-a.canvasMargin);a.drawOverlay();a.component&&a.component.fire("image-updated")};
nP.prototype.drawOverlay=function(){this.ctx.lineWidth=2;this.ctx.strokeStyle="#3EA6FF";this.ctx.strokeRect(this.JSC$39613_overlayMarginLeft,this.JSC$39613_overlayMarginTop,this.JSC$39613_overlayWidth,this.JSC$39613_overlayHeight);Dlb(this)};
var Dlb=function(a){var b=a.JSC$39613_overlayMarginLeft-5,c=a.JSC$39613_overlayMarginTop-5,d=a.JSC$39613_overlayMarginLeft+a.JSC$39613_overlayWidth-5,e=a.JSC$39613_overlayMarginTop+a.JSC$39613_overlayHeight-5;a.ctx.fillStyle="#FFF";a.ctx.fillRect(b,c,10,10);a.ctx.strokeRect(b,c,10,10);a.ctx.fillRect(d,c,10,10);a.ctx.strokeRect(d,c,10,10);a.ctx.fillRect(b,e,10,10);a.ctx.strokeRect(b,e,10,10);a.ctx.fillRect(d,e,10,10);a.ctx.strokeRect(d,e,10,10);if(0!==a.focusedCorner&&a.styleFocusedCorner){a.ctx.lineWidth=
4;a.ctx.strokeStyle="#3EA6FF";switch(a.focusedCorner){case 1:--b;--c;break;case 2:--b;c=e-1;break;case 3:b=d-1;--c;break;case 4:b=d-1;c=e-1;break;default:return}a.ctx.strokeRect(b,c,12,12)}};
nP.prototype.crop=function(a,b){b=void 0===b?!0:b;var c=this.image.width/this.scaledImageWidth,d=document.createElement("canvas"),e=this.minOutputImageResolution?this.minOutputImageResolution[1]:this.minImageCropDimension[1],h=this.JSC$39613_overlayWidth*c,l=this.JSC$39613_overlayHeight*c;d.width=Math.max(h,this.minOutputImageResolution?this.minOutputImageResolution[0]:this.minImageCropDimension[0]);d.height=Math.max(l,e);a&&(d.width=Math.min(d.width,d.height),d.height=Math.min(d.width,d.height));
a=d.getContext("2d");if(!a)throw Error("kg");e=(this.JSC$39613_overlayMarginLeft-this.horizontalMargin)*c;c*=this.JSC$39613_overlayMarginTop-this.canvasMargin;b||(a.fillStyle="white",a.fillRect(0,0,d.width,d.height));a.drawImage(this.image,e,c,h,l,0,0,d.width,d.height);return d};
var Elb=function(a,b,c,d,e){nP.call(this,a,b,c,d,void 0,e,8,!1)};
_.q(Elb,nP);Elb.prototype.drawOverlay=function(){var a=this.getContext(),b=this.JSC$39613_overlayWidth,c=this.JSC$39613_overlayHeight,d=this.JSC$39613_overlayMarginTop,e=this.JSC$39613_overlayMarginLeft;a.lineWidth=2;a.strokeStyle="#3EA6FF";a.beginPath();a.arc(e+b/2,d+c/2,b/2,0,2*Math.PI);a.stroke();a.strokeRect(e,d,b,c);Dlb(this)};
var Flb={maxFileSizeMB:4,minWidth:98,minHeight:98},Glb=["image/png","image/jpeg","image/gif"],qP=function(){var a=_.K.apply(this,arguments)||this;a.fileSelectorFocusListener=null;a.errorMessage=null;a.isLoading=!0;a.hideContainer=!0;a.actionMap={"yt-upload-image-to-scotty-command":"handleUploadImageToScottyCommand"};return a};
_.q(qP,_.K);_.f=qP.prototype;_.f.cleanupFocusListener=function(){this.fileSelectorFocusListener&&window.removeEventListener("focus",this.fileSelectorFocusListener)};
_.f.setLoadingState=function(){this.set("data.updateButton.buttonRenderer.isDisabled",!0);this.set("data.cancelButton.buttonRenderer.isDisabled",!0);this.isLoading=!0;this.errorMessage=null};
_.f.resetErrorState=function(){this.set("data.updateButton.buttonRenderer.isDisabled",!1);this.set("data.cancelButton.buttonRenderer.isDisabled",!1);this.isLoading=!1;this.errorMessage=null;_.C(this,"yt-image-selection-reset-error-action",[])};
_.f.setErrorState=function(a){this.resetErrorState();a&&(this.errorMessage=a)};
_.f.showPopup=function(){var a=this;this.hideContainer=!1;_.Jn(_.xe,function(){a.fire("yt-refit")},100);
this.isLoading=!1};
_.f.closePopup=function(){this.fileSelector.value="";this.cleanupFocusListener();this.fileSelectorFocusListener=null;_.C(this,"yt-close-popup-action",[this.is])};
_.f.onCancelTap=function(){_.C(this,"yt-show-caller-popup-action",[]);this.closePopup()};
_.f.openFileSelector=function(){var a=this;this.resetErrorState();try{this.fileSelector.click(),this.fileSelectorFocusListener=function(){_.Jn(_.xe,function(){if(!a.fileSelector.files||0===a.fileSelector.files.length)a.onCancelTap();a.cleanupFocusListener()},500)},window.addEventListener("focus",this.fileSelectorFocusListener)}catch(b){b instanceof Error?_.Qf(b):_.Qf(new _.ge(JSON.stringify(b)))}};
_.f.handleFileSelection=function(){var a=this,b,c,d,e,h,l,m;return _.y(function(p){switch(p.nextAddress){case 1:_.se(p,2);if(!a.fileSelector.files||!a.imageEditorCanvas)return a.onCancelTap(),p.return();b=a.fileSelector.files[0];glb(a.imageChecker,b);_.se(p,4);c=a;return _.B(p,i$a(b),6);case 6:c.mimeType=p.yieldResult;_.te(p,5,2);break;case 4:_.ue(p,2),_.C(a,"yt-image-selection-error-action",[null==(d=a.data)?void 0:d.genericImageLoadErrorMessage]),a.onCancelTap();case 5:e=new FileReader;e.addEventListener("load",
function(){var r,v,z;return _.y(function(A){if(1==A.nextAddress){if(!e.result)return _.Rf(Error("ng")),A.return();r=e.result;v=new Image;v.src=r;v.onload=function(){try{var D=a.imageChecker;if(v.width<D.requirements.minWidth||v.height<D.requirements.minHeight)throw new mP(D.requirements.minWidth,D.requirements.minHeight);}catch(J){if(J instanceof mP){var E;_.C(a,"yt-image-selection-error-action",[null==(E=a.data)?void 0:E.imageDimensionErrorMessage])}else J instanceof Error?_.Qf(J):_.Qf(new _.ge(JSON.stringify(J)));
a.onCancelTap()}a.showPopup()};
v.onerror=function(){var D;_.C(a,"yt-image-selection-error-action",[null==(D=a.data)?void 0:D.genericImageLoadErrorMessage]);a.onCancelTap()};
z=a;return _.B(A,llb(a.imageEditorCanvas,r),2)}z.imageEditor=A.yieldResult;a.updatePositionOfAllCorners();a.addEventListeners(a.imageEditor);_.bf(A)})},!1);
e.readAsDataURL(b);_.te(p,0);break;case 2:h=_.ue(p),h instanceof lP?_.C(a,"yt-image-selection-error-action",[null==(l=a.data)?void 0:l.imageSizeErrorMessage]):(h instanceof Error?_.Qf(h):_.Qf(new _.ge(JSON.stringify(h))),_.C(a,"yt-image-selection-error-action",[null==(m=a.data)?void 0:m.genericImageLoadErrorMessage])),a.onCancelTap(),_.bf(p)}})};
_.f.convertToImageFormatBundle=function(a){var b=this,c,d,e;return _.y(function(h){switch(h.nextAddress){case 1:return c=a.toDataURL(b.outputMimeType,1),_.B(h,j$a(c),2);case 2:d=h.yieldResult;_.se(h,3);glb(b.imageChecker,d);_.te(h,4);break;case 3:e=_.ue(h);if(!(e instanceof lP))throw e;_.Rf(new _.ge("Output size is bigger than input size for image",b.mimeType,b.outputMimeType,d.size));c=a.toDataURL("image/jpeg",.95);return _.B(h,j$a(c),6);case 6:d=h.yieldResult;case 4:return h.return({dataUrl:c,imageFile:d})}})};
_.f.handleUploadImageToScottyCommand=function(a){var b=this,c,d,e,h,l,m;return _.y(function(p){switch(p.nextAddress){case 1:if(!b.imageEditor||!a.uploadImageToScottyCommand)return p.return();c=a.uploadImageToScottyCommand.scottyUploadUrl;if(!c)return _.Qf(new _.ge("Cannot handle UploadImageToScottyCommand without scotty upload \nURL")),p.return();_.se(p,2);b.setLoadingState();d=b.imageEditor.crop(!1,!1);return _.B(p,b.convertToImageFormatBundle(d),4);case 4:return e=p.yieldResult,_.B(p,g$a(e.imageFile,
c),5);case 5:h=p.yieldResult;_.C(b,"yt-image-updated-action",[e.dataUrl,h]);b.closePopup();_.te(p,0);break;case 2:l=_.ue(p),b.setErrorState(null==(m=b.data)?void 0:m.uploadErrorMessage),l instanceof Error?_.Qf(l):_.Qf(new _.ge(JSON.stringify(l))),_.bf(p)}})};
_.f.dataChanged=function(){var a=this,b,c;return _.y(function(d){if(1==d.nextAddress){if(!a.data||!a.canvasElement)return d.return();a.data.imageRatio&&a.data.minImageCropWidth||_.Qf(new _.ge("Renderer data is incomplete: missing image_ratio or \nmin_image_crop_width"));b=function(e,h){return new Elb(e,h,a.data.imageRatio,[a.data.minImageCropWidth,a.data.minImageCropWidth/a.data.imageRatio],a)};
a.imageEditorCanvas=new hlb(a.canvasElement,b);if(!a.data.url)return a.hideContainer=!0,a.openFileSelector(),d.jumpTo(0);c=a;return _.B(d,llb(a.imageEditorCanvas,a.data.url),3)}c.imageEditor=d.yieldResult;a.showPopup();a.addEventListeners(a.imageEditor);_.bf(d)})};
_.f.addEventListeners=function(a){this.removeEventListeners();var b=function(e){ilb(a,e)};
this.JSC$39621_mouseDownEvent=b;var c=function(e){jlb(a,e)};
this.JSC$39621_mouseMoveEvent=c;var d=function(){klb(a)};
this.JSC$39621_mouseUpEvent=d;this.topLeftCorner.addEventListener("mousedown",b);this.topLeftCorner.addEventListener("mousemove",c);this.topLeftCorner.addEventListener("mouseup",d);this.topRightCorner.addEventListener("mousedown",b);this.topRightCorner.addEventListener("mousemove",c);this.topRightCorner.addEventListener("mouseup",d);this.bottomLeftCorner.addEventListener("mousedown",b);this.bottomLeftCorner.addEventListener("mousemove",c);this.bottomLeftCorner.addEventListener("mouseup",d);this.bottomRightCorner.addEventListener("mousedown",
b);this.bottomRightCorner.addEventListener("mousemove",c);this.bottomRightCorner.addEventListener("mouseup",d)};
_.f.removeEventListeners=function(){this.JSC$39621_mouseDownEvent&&(this.topLeftCorner.removeEventListener("mousedown",this.JSC$39621_mouseDownEvent),this.topRightCorner.removeEventListener("mousedown",this.JSC$39621_mouseDownEvent),this.bottomLeftCorner.removeEventListener("mousedown",this.JSC$39621_mouseDownEvent),this.bottomRightCorner.removeEventListener("mousedown",this.JSC$39621_mouseDownEvent));this.JSC$39621_mouseMoveEvent&&(this.topLeftCorner.removeEventListener("mousemove",this.JSC$39621_mouseMoveEvent),
this.topRightCorner.removeEventListener("mousemove",this.JSC$39621_mouseMoveEvent),this.bottomLeftCorner.removeEventListener("mousemove",this.JSC$39621_mouseMoveEvent),this.bottomRightCorner.removeEventListener("mousemove",this.JSC$39621_mouseMoveEvent));this.JSC$39621_mouseUpEvent&&(this.topLeftCorner.removeEventListener("mouseup",this.JSC$39621_mouseUpEvent),this.topRightCorner.removeEventListener("mouseup",this.JSC$39621_mouseUpEvent),this.bottomLeftCorner.removeEventListener("mouseup",this.JSC$39621_mouseUpEvent),
this.bottomRightCorner.removeEventListener("mouseup",this.JSC$39621_mouseUpEvent))};
_.f.setFocusInImageEditor=function(){if(!this.imageEditor)return!1;for(var a=document.activeElement;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;switch(a){case this.topLeftCorner:this.imageEditor.focusedCorner=1;break;case this.topRightCorner:this.imageEditor.focusedCorner=3;break;case this.bottomLeftCorner:this.imageEditor.focusedCorner=2;break;case this.bottomRightCorner:this.imageEditor.focusedCorner=4;break;default:return this.imageEditor.focusedCorner=0,!1}return!0};
_.f.updatePositionOfCorner=function(a,b){var c=a.y-b.offsetHeight/2+4;b.style.left=a.x-b.offsetWidth/2+16+"px";b.style.top=c+"px"};
_.f.updatePositionOfAllCorners=function(){if(this.imageEditor)for(var a=_.k([{corner:1,div:this.topLeftCorner},{corner:3,div:this.topRightCorner},{corner:2,div:this.bottomLeftCorner},{corner:4,div:this.bottomRightCorner}]),b=a.next();!b.done;b=a.next()){b=b.value;var c=plb(this.imageEditor,b.corner);this.updatePositionOfCorner(c,b.div)}};
_.f.onLeft=function(a){this.imageEditor&&this.setFocusInImageEditor()&&(oP(this.imageEditor,0),this.updatePositionOfAllCorners(),a.preventDefault())};
_.f.onRight=function(a){this.imageEditor&&this.setFocusInImageEditor()&&(oP(this.imageEditor,1),this.updatePositionOfAllCorners(),a.preventDefault())};
_.f.onUp=function(a){this.imageEditor&&this.setFocusInImageEditor()&&(oP(this.imageEditor,2),this.updatePositionOfAllCorners(),a.preventDefault())};
_.f.onDown=function(a){this.imageEditor&&this.setFocusInImageEditor()&&(oP(this.imageEditor,3),this.updatePositionOfAllCorners(),a.preventDefault())};
_.f.beforeRegister=function(){this.ironA11yKeysBehavior.keyBindings={left:"onLeft",right:"onRight",up:"onUp",down:"onDown"}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.detached=function(){this.removeEventListeners();this.cleanupFocusListener();this.fileSelectorFocusListener=null};
_.t.Object.defineProperties(qP.prototype,{outputMimeType:{configurable:!0,enumerable:!0,get:function(){return this.mimeType&&Glb.includes(this.mimeType)?this.mimeType:"image/jpeg"}},
imageChecker:{configurable:!0,enumerable:!0,get:function(){var a,b,c;(null==(b=this.data)?0:b.imageRatio)&&(null==(c=this.data)?0:c.minImageCropWidth)?a={maxFileSizeMB:4,minWidth:this.data.minImageCropWidth,minHeight:this.data.minImageCropWidth/this.data.imageRatio}:a=Flb;return new flb(a)}}});
_.t.Object.defineProperties(qP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===elb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-image-editor-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_image_editor_renderer.ytd.image.editor.renderer.css.js--\x3e<div class="container" hidden$="[[hideContainer]]">\n  <div class="popup-header">\n    <h2>\n      <yt-formatted-string id="title" class="popup-header-title" text="[[data.title]]">\n      </yt-formatted-string>\n    </h2>\n  </div>\n  <div class="content" slot="content" no-padding="" id="canvas-container">\n    <div class="error" hidden="[[!errorMessage]]">\n      <yt-icon id="info-icon" icon="yt-icons:info"></yt-icon>\n      <yt-formatted-string id="error" class="error-message" text="[[errorMessage]]">\n    </yt-formatted-string>\n    </div>\n    <canvas id="canvas" width="600" height="600">\n    </canvas>\n    <div class="drag top-left" id="top-left-corner" aria-label="[[data.topLeftCornerImageCropAriaLabel]]" role="button" tabindex="0">\n    </div>\n    <div class="drag top-right" id="top-right-corner" aria-label="[[data.topRightCornerImageCropAriaLabel]]" role="button" tabindex="0">\n    </div>\n    <div class="drag bottom-left" id="bottom-left-corner" aria-label="[[data.bottomLeftCornerImageCropAriaLabel]]" role="button" tabindex="0">\n    </div>\n    <div class="drag bottom-right" id="bottom-right-corner" aria-label="[[data.bottomRightCornerImageCropAriaLabel]]" role="button" tabindex="0">\n    </div>\n  </div>\n  <div class="button-layer">\n    <input id="file-selector" accept="image/*" hidden="" type="file" on-change="handleFileSelection">\n    <ytd-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" on-click="onCancelTap">\n    </ytd-button-renderer>\n    <ytd-button-renderer id="update-button" data="[[data.updateButton.buttonRenderer]]">\n    </ytd-button-renderer>\n  </div>\n  <div class="spinner-container" hidden="[[!isLoading]]">\n    <tp-yt-paper-spinner-lite active="[[isLoading]]"></tp-yt-paper-spinner-lite>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.channels.ytd_image_editor_renderer.ytd.image.editor.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([dialog][dialog][dialog]) {max-height: inherit;margin: 0;padding: 0;} .container {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .popup-header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 24px 0 24px 24px;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: none;-webkit-flex: none;flex: none;} .popup-header-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} .content {overflow-y: auto;padding: 0 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;position: relative;} .error {margin: 16px 24px 0;color: var(--yt-spec-brand-link-text);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .button-layer {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #update-button {margin-right: -16px;} .spinner-container {position: absolute;width: 100%;height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #canvas {margin: 4px 0;} .drag {position: absolute;border: var(--yt-spec-static-overlay-call-to-action) 2px solid;background-color: var(--yt-spec-static-brand-white);width: 10px;height: 10px;} .drag:focus {border: var(--yt-spec-static-overlay-call-to-action) 4px solid;outline: none;} /*# sourceMappingURL=ytd-image-editor-renderer.css.map*/</style>';
dlb=d}d=dlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);elb=a}a=elb;return a}}});
var rP=qP;rP.prototype.updatePositionOfAllCorners=rP.prototype.updatePositionOfAllCorners;rP.prototype.dataChanged=rP.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],rP.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Xs),_.T("design:type",Object)],rP.prototype,"ironA11yKeysBehavior",void 0);_.S([_.Z("#canvas"),_.T("design:type",HTMLCanvasElement)],rP.prototype,"canvasElement",void 0);
_.S([_.Z("#file-selector"),_.T("design:type",HTMLInputElement)],rP.prototype,"fileSelector",void 0);_.S([_.Z("#top-left-corner"),_.T("design:type",HTMLDivElement)],rP.prototype,"topLeftCorner",void 0);_.S([_.Z("#top-right-corner"),_.T("design:type",HTMLDivElement)],rP.prototype,"topRightCorner",void 0);_.S([_.Z("#bottom-left-corner"),_.T("design:type",HTMLDivElement)],rP.prototype,"bottomLeftCorner",void 0);
_.S([_.Z("#bottom-right-corner"),_.T("design:type",HTMLDivElement)],rP.prototype,"bottomRightCorner",void 0);_.S([_.N(),_.T("design:type",Object)],rP.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],rP.prototype,"errorMessage",void 0);_.S([_.N(),_.T("design:type",Object)],rP.prototype,"isLoading",void 0);_.S([_.N(),_.T("design:type",Object)],rP.prototype,"hideContainer",void 0);
_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype",Promise)],rP.prototype,"dataChanged",null);_.S([_.O("image-updated"),_.O("yt-refit"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],rP.prototype,"updatePositionOfAllCorners",null);rP=_.S([_.Q({asyncProperties:!0,is:"ytd-image-editor-renderer"})],rP);
var Hlb;
var Ilb;
var sP=function(){return _.K.apply(this,arguments)||this};
_.q(sP,_.K);_.t.Object.defineProperties(sP.prototype,{thumbnailDetails:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.authorThumbnail)||{}}}});
_.t.Object.defineProperties(sP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ilb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-comment-preview-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_preview_renderer.ytd.comment.preview.renderer.css.js--\x3e<div class="avatar-block">\n  <yt-img-shadow class="thumbnail" fit="" thumbnail="[[thumbnailDetails]]">\n  </yt-img-shadow>\n</div>\n<div class="content-block">\n  <div class="username">[[data.authorName]]</div>\n  <div class="preview-text">\n    <yt-formatted-string split-lines="true" text="[[data.commentText]]">\n    </yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Hlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_comment_preview_renderer.ytd.comment.preview.renderer.css.js--\x3e<style>:host {background: var(--yt-spec-badge-chip-background);gap: var(--ytd-margin-2x);padding: var(--ytd-margin-3x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .thumbnail {height: 24px;width: 24px;border-radius: 50%;background-color: transparent;overflow: hidden;} .content-block {gap: var(--ytd-margin-2x);min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .username {color: var(--yt-spec-text-primary);overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} .preview-text {color: var(--yt-spec-text-primary);max-height: calc(4 * var(--yt-user-comment-line-height,2.1rem));overflow: hidden;-webkit-line-clamp: 4;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-comment-preview-renderer.css.map*/</style>';
Hlb=d}d=Hlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ilb=a}a=Ilb;return a}}});
var tP=sP;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],tP.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],tP.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],tP.prototype,"thumbnailDetails",null);tP=_.S([_.Q({asyncProperties:!0,is:"ytd-comment-preview-renderer"})],tP);
var Jlb;
var Klb;
var uP=function(){return _.K.apply(this,arguments)||this};
_.q(uP,_.K);uP.prototype.configureRendererStamper=function(){return{submitButton:{id:"submit-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(uP.prototype,{submitButton:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a.submitButton}}});
_.t.Object.defineProperties(uP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Klb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-notice-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_notice_renderer.ytd.notice.renderer.css.js--\x3e<div class="left">\n  <img alt="" class="illustration" src$="[[data.illustrationUrl]]">\n</div>\n\n<div class="right">\n  <yt-icon class="youtube-logo right-item" icon="yt-logos-ext:yt-logo-updated"></yt-icon>\n    <div class="notice-content right-item">\n      <yt-formatted-string class="notice-title" text="[[data.title]]">\n      </yt-formatted-string>\n      <yt-formatted-string class="notice-description" text="[[data.description]]">\n      </yt-formatted-string>\n    </div>\n    <div class="toolbar right-item">\n      <div id="submit-button"></div>\n    </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Jlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_notice_renderer.ytd.notice.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;--ytd-notice-renderer-content-margin: 25px;background: var(--yt-spec-brand-background-solid);height: 400px;width: 720px;} .left {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .right {-ms-flex: 2;-webkit-flex: 2;flex: 2;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .left .illustration {width: 211px;height: 173px;} .right .youtube-logo {color: var(--yt-spec-wordmark-text);height: 20px;margin-left: var(--ytd-notice-renderer-content-margin);margin-top: var(--ytd-notice-renderer-content-margin);width: 90px;} .right .notice-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;margin-left: var(--ytd-notice-renderer-content-margin);margin-right: 80px;} .right .notice-content .notice-title {font-size: 3.2rem;font-weight: 500;line-height: 3.8rem;color: var(--yt-spec-text-primary);} .right .notice-content .notice-description {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);margin-top: 16px;} .toolbar {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;margin: 0 var(--ytd-notice-renderer-content-margin) var(--ytd-notice-renderer-content-margin);padding-right: 10px;} /*# sourceMappingURL=ytd-notice-renderer.css.map*/</style>';
Jlb=d}d=Jlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Klb=a}a=Klb;return a}}});
var vP=uP;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],vP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],vP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],vP.prototype,"data",void 0);_.S([_.V("data"),_.T("design:type",Object),_.T("design:paramtypes",[])],vP.prototype,"submitButton",null);vP=_.S([_.Q({asyncProperties:!0,is:"ytd-notice-renderer"})],vP);
var Llb;
var Mlb;
var wP=function(){return _.K.apply(this,arguments)||this};
_.q(wP,_.K);wP.prototype.attached=function(){this.setAttribute("dialog","true")};
wP.prototype.configureRendererStamper=function(){return{"data.comment":{id:"comment-preview",mapping:{commentPreviewRenderer:{component:"ytd-comment-preview-renderer"}}},"data.buttons":{id:"buttons",mapping:{buttonRenderer:{component:"yt-button-renderer"}}}}};
_.t.Object.defineProperties(wP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Mlb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-preview-comment-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_preview_comment_dialog_renderer.ytd.preview.comment.dialog.renderer.css.js--\x3e<div class="text-area">\n  <div class="title">[[data.title]]</div>\n  <div id="comment-preview"></div>\n  <div class="messages">\n    <template is="dom-repeat" items="[[data.messages]]">\n      <yt-formatted-string class="message" text="[[item]]"></yt-formatted-string>\n    </template>\n  </div>\n</div>\n<div class="bottom">\n  <div id="buttons"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Llb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.comment.ytd_preview_comment_dialog_renderer.ytd.preview.comment.dialog.renderer.css.js--\x3e<style>:host([dialog]) {background: var(--yt-spec-brand-background-solid);width: 400px;margin: 0;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .text-area {padding: var(--ytd-margin-6x) var(--ytd-margin-6x) var(--ytd-margin-4x);gap: var(--ytd-margin-4x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 2.6rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} .messages {gap: var(--ytd-user-comment_-_line-height);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .message {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .bottom {padding: 6px 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} /*# sourceMappingURL=ytd-preview-comment-dialog-renderer.css.map*/</style>';
Llb=d}d=Llb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Mlb=a}a=Mlb;return a}}});
var xP=wP;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],xP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],xP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],xP.prototype,"data",void 0);xP=_.S([_.Q({asyncProperties:!0,is:"ytd-preview-comment-dialog-renderer"})],xP);
var Nlb;
var Olb;
var yP=function(){return _.K.apply(this,arguments)||this};
_.q(yP,_.K);yP.prototype.configureRendererStamper=function(){return{"data.doneButton":{id:"done-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(yP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Olb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-donation-post-transaction-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_post_transaction_renderer.ytd.donation.post.transaction.renderer.css.js--\x3e<div id="container">\n  <div id="title">\n    <yt-icon-button dialog-dismiss="">\n      <yt-icon icon="yt-icons:dismissal"></yt-icon>\n    </yt-icon-button>\n  </div>\n  <div id="icon-row">\n    <yt-img-shadow thumbnail="[[data.donationIcon]]" width="52"></yt-img-shadow>\n  </div>\n  <div id="messages">\n    <div id="message">\n      [[getSimpleString(data.thankYouMessage)]]\n    </div>\n    <div id="additional-info">\n      [[getSimpleString(data.additionalInfo)]]\n    </div>\n  </div>\n  <div id="thankyou-messages">\n    <div class="thankyou-message">\n      <div class="avatar">\n        <yt-img-shadow thumbnail="[[data.creatorMessage.thumbnail]]" width="32"></yt-img-shadow>\n      </div>\n      <div class="content">\n        <div class="body">\n          [[getSimpleString(data.creatorMessage.description)]]\n        </div>\n        <div class="user">\n          [[getSimpleString(data.creatorMessage.title)]]\n        </div>\n      </div>\n    </div>\n  </div>\n  <div id="button-row">\n    <div id="done-button" dialog-dismiss=""></div>\n    <ytd-button-renderer data="[[data.shareButton.buttonRenderer]]">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Nlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.donations.ytd_donation_post_transaction_renderer.ytd.donation.post.transaction.renderer.css.js--\x3e<style>:host {margin-bottom: 0;margin-top: 0;padding: 0;} #container {display: flex;padding: 16px;width: 500px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {color: var(--yt-spec-text-primary);margin-bottom: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} #messages {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #message {color: var(--yt-spec-text-primary);margin-bottom: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 2.6rem;overflow: hidden;display: block;-webkit-line-clamp: 1;} #additional-info {color: var(--yt-spec-text-secondary);margin-bottom: 32px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #button-row {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} #icon-row {margin-bottom: 20px;text-align: center;} #thankyou-messages {flex-grow: 1;padding: 0 32px;margin-bottom: 32px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .thankyou-message {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .thankyou-message>div {margin: 0 4px;} .thankyou-message .avatar {border-radius: 50%;height: 32px;overflow: hidden;width: 32px;} .thankyou-message .content {margin-left: 12px;flex: 1;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .thankyou-message .user {margin-top: 8px;color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .thankyou-message .body {border: 1px solid #ccc;border-radius: 12px;color: var(--yt-spec-text-primary);padding: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #done-button ytd-button-renderer {margin-left: 8px;} /*# sourceMappingURL=ytd-donation-post-transaction-renderer.css.map*/</style>';
Nlb=d}d=Nlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Olb=a}a=Olb;return a}}});
var zP=yP;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],zP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],zP.prototype,"ytRendererBehavior",void 0);_.S([_.N({}),_.T("design:type",Object)],zP.prototype,"data",void 0);zP=_.S([_.Q({asyncProperties:!0,is:"ytd-donation-post-transaction-renderer"})],zP);
var Plb;
var Qlb;
var Rlb;
var Slb;
var AP=function(){return _.K.apply(this,arguments)||this};
_.q(AP,_.K);AP.prototype.computeIsStreamingProvider=function(a){return!!a.isStreamingShelf};
AP.prototype.configureRendererStamper=function(){return{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",params:{alignByText:!1}}}}}};
_.t.Object.defineProperties(AP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Slb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-media-provider-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_media_provider_renderer.ytd.media.provider.renderer.css.js--\x3e<div class="provider">\n  <yt-img-shadow class="thumbnail" fit="" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]">\n  </yt-img-shadow>\n  <div class="provider-details">\n    <div id="action-button"></div>\n    <p id="media-price" hidden="[[!data.mediaPrice]]">\n      [[getSimpleString(data.mediaPrice)]]\n    </p>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Rlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_media_provider_renderer.ytd.media.provider.renderer.css.js--\x3e<style>:host([is-streaming-provider]) .thumbnail {height: 40px;width: 40px;border-radius: 50%;} :host([is-streaming-provider]) .provider {height: 40px;margin-bottom: 16px;} .thumbnail {height: 24px;width: 24px;} .provider {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;align-items: center;height: 36px;} .provider-details {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} ytd-button-renderer {--yt-button-padding: 0px 8px;} #media-price {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;max-height: 2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;color: var(--yt-spec-text-secondary);margin-left: 8px;} /*# sourceMappingURL=ytd-media-provider-renderer.css.map*/</style>';
Rlb=d}d=Rlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Slb=a}a=Slb;return a}}});
var BP=AP;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],BP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],BP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],BP.prototype,"data",void 0);_.S([_.N({computed:"computeIsStreamingProvider(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],BP.prototype,"isStreamingProvider",void 0);
BP=_.S([_.Q({asyncProperties:!0,is:"ytd-media-provider-renderer"})],BP);
var Tlb;
var Ulb;
var CP=function(){return _.K.apply(this,arguments)||this};
_.q(CP,_.K);CP.prototype.observeLightsourcePalette=function(){var a,b=null==(a=this.data)?void 0:a.vibrantsourceColorPaletteData;b&&_.av(this,b)};
_.t.Object.defineProperties(CP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ulb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-streaming-pop-up-dialog--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_streaming_pop_up_dialog.ytd.streaming.pop.up.dialog.css.js--\x3e<div class="details-wrapper">\n  <div class="image-wrapper">\n    <yt-img-shadow class="media-thumbnail" thumbnail="[[data.thumbnail]]">\n    </yt-img-shadow>\n    <div class="tv-show-season-wrapper" hidden="[[!data.tvShowSeasons]]">\n      <yt-icon id="tv-show-icon" icon="tv"></yt-icon>\n      <p id="tv-show-season">\n        [[getSimpleString(data.tvShowSeasons)]]\n      </p>\n    </div>\n  </div>\n  <div class="providers">\n    <template is="dom-repeat" items="[[data.mediaProviders]]" as="mediaProviders">\n      <ytd-media-provider-renderer data="[[mediaProviders.mediaProviderRenderer]]">\n      </ytd-media-provider-renderer>\n    </template>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Tlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_streaming_pop_up_dialog.ytd.streaming.pop.up.dialog.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;--yt-img-max-height: 250px;--yt-img-min-height: 100px;--yt-lightsource-section3-color: var(--yt-spec-general-background-c);--yt-lightsource-primary-title-color: var(--yt-spec-text-primary);} .details-wrapper {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .provider-wrapper {margin-vertical: 20px;} .image-wrapper {display: inline-block;position: relative;height: fit-content;} .media-thumbnail {display: block;max-width: 160px;} .providers {margin-left: 20px;} .tv-show-season-wrapper {background-color: var(--yt-lightsource-section3-color);opacity: 0.8;bottom: 0;position: absolute;height: 24px;width: 100%;} #tv-show-season {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;max-height: 2.2rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;bottom: 0;color: var(--yt-lightsource-primary-title-color);position: absolute;right: 5px;max-width: 75%;} #tv-show-icon {margin-inline-start: 5px;color: var(--yt-lightsource-primary-title-color);} /*# sourceMappingURL=ytd-streaming-pop-up-dialog.css.map*/</style>';
Tlb=d}d=Tlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ulb=a}a=Ulb;return a}}});
var DP=CP;DP.prototype.observeLightsourcePalette=DP.prototype.observeLightsourcePalette;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],DP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],DP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],DP.prototype,"data",void 0);
_.S([_.P("data.vibrantsourceColorPaletteData"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],DP.prototype,"observeLightsourcePalette",null);DP=_.S([_.Q({asyncProperties:!0,is:"ytd-streaming-pop-up-dialog"})],DP);
var EP=function(){return _.K.apply(this,arguments)||this};
_.q(EP,_.K);EP.prototype.onPopupOpened_=function(){var a;(null==(a=this.data)?0:a.serviceEndpoint)&&_.Kg(this,[this.data.serviceEndpoint])};
EP.prototype.configureContinuationPathMap=function(){return{"yt-reload-continuation-items-command-body":"content"}};
EP.prototype.configureRendererStamper=function(){return{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.content":{id:"content",mapping:{streamingPopUpDialog:{component:"ytd-streaming-pop-up-dialog"}}}}};
_.t.Object.defineProperties(EP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Qlb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-brandconnect-popup-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_brandconnect_popup_renderer.ytd.brandconnect.popup.renderer.css.js--\x3e<div id="header">\n  <yt-formatted-string id="title" text="[[data.popUpTitle]]"></yt-formatted-string>\n  <div id="dismiss-button"></div>\n</div>\n<div id="content">\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Plb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.famebit.ytd_brandconnect_popup_renderer.ytd.brandconnect.popup.renderer.css.js--\x3e<style>:host {display: inline-block;max-width: 600px;min-width: 500px;width: fit-content;} #header {background-size: cover;margin-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #title {align-items: center;color: var(--yt-spec-text-primary);width: 80%;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;max-height: 2.6rem;overflow: hidden;display: block;-webkit-line-clamp: 1;display: box;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;} #dismiss-button ytd-button-renderer {color: var(--yt-spec-icon-active-other);height: 24px;position: absolute;right: 24px;top: 24px;width: 24px;--yt-button-icon-size: 24px;--yt-button-icon-padding: 2px;} #content {min-height: 250px;min-width: 180px;} #error {align-items: center;color: var(--yt-spec-text-secondary);margin-inline-start: 12px;} /*# sourceMappingURL=ytd-brandconnect-popup-renderer.css.map*/</style>';
Plb=d}d=Plb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Qlb=a}a=Qlb;return a}}});
var FP=EP;FP.prototype.onPopupOpened_=FP.prototype.onPopupOpened_;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],FP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],FP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.rE),_.T("design:type",Object)],FP.prototype,"ytContinuationHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],FP.prototype,"data",void 0);
_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FP.prototype,"onPopupOpened_",null);FP=_.S([_.Q({asyncProperties:!0,is:"ytd-brandconnect-popup-renderer"})],FP);
var Vlb;
var Wlb;
var GP=function(){return _.K.apply(this,arguments)||this};
_.q(GP,_.K);_.f=GP.prototype;_.f.configureRendererStamper=function(){return{"data.options":{id:"options",mapping:{checkboxSurveyOptionRenderer:"ytd-checkbox-survey-option-renderer"}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.dataChanged=function(){for(var a=0;a<this.getOptionRenderers().length;a++)this.notifyPath("data.options."+a+".checkboxSurveyOptionRenderer.checked"),this.set("data.options."+a+".checkboxSurveyOptionRenderer.checked",!1);this.updateSubmitButton(!1)};
_.f.updateSubmitButton=function(a){this.set("data.submitButton.buttonRenderer.isDisabled",!a)};
_.f.computeAlt=function(a){return _.qi(a)};
_.f.onDismissTap=function(){_.C(this,"yt-close-popup-action");_.Kg(this,[this.data.dismissalEndpoint])};
_.f.getOptionRenderers=function(a){return(a=a||this.data)&&a.options?a.options.reduce(function(b,c){c.checkboxSurveyOptionRenderer&&b.push(c.checkboxSurveyOptionRenderer);return b},[]):[]};
_.f.onOptionChange=function(a){var b=this,c=!1;if(a.detail.checked)for(var d=this.getOptionRenderers().find(function(m){return m.value===a.detail.value}),e=this.getOptionRenderers(),h=0;h<e.length;h++){var l=e[h];
this.notifyPath("data.options."+h+".checkboxSurveyOptionRenderer.checked");l.checked&&((null==d?0:d.isExclusiveOption)?!l.isExclusiveOption:l.isExclusiveOption)?this.set("data.options."+h+".checkboxSurveyOptionRenderer.checked",!1):l.checked&&(c=!0)}else c=this.getOptionRenderers().some(function(m,p){b.notifyPath("data.options."+p+".checkboxSurveyOptionRenderer.checked");return m.checked});
this.updateSubmitButton(c)};
_.f.onSubmitTap=function(){var a=this.getOptionRenderers().filter(function(l){return l.checked});
if(0!==a.length){var b=a.map(function(l){return l.responseEndpoint});
a=[];for(var c=1;c<b.length;c++){var d=void 0,e=void 0,h=null==(d=b[c])?void 0:null==(e=d.feedbackEndpoint)?void 0:e.feedbackToken;h&&a.push(h)}b=[b[0]];a.length&&b.push({extra_feedback_tokens:a});_.Kg(this,b);_.C(this,"yt-close-popup-action",["ytd-checkbox-survey-renderer"]);a=this.data&&this.data.submitActions||[];if(_.x("kevlar_command_handler_migration_killswitch"))_.Lg(this,a,this);else for(a=_.k(a),b=a.next();!b.done;b=a.next())this.ytComponentBehavior.resolveCommand(b.value)}};
_.t.Object.defineProperties(GP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Wlb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-checkbox-survey-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_checkbox_survey_renderer.ytd.checkbox.survey.renderer.css.js--\x3e<div id="header">\n  <yt-formatted-string text="[[data.question]]"></yt-formatted-string>\n  <yt-icon-button label="[[computeAlt(data.dismissalText)]]" on-click="onDismissTap">\n    <yt-icon icon="yt-icons:close"></yt-icon>\n  </yt-icon-button>\n</div>\n<div id="options"></div>\n<div id="footer">\n  <ytd-button-renderer data="[[data.submitButton.buttonRenderer]]" on-click="onSubmitTap">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Vlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_checkbox_survey_renderer.ytd.checkbox.survey.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);display: inline-block;margin: 0;} :host {width: 325px;padding: 0 0 12px;} #header {color: var(--yt-spec-text-primary);display: block;margin: 24px 24px 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #footer {padding: 12px 24px 0;text-align: right;} yt-formatted-string {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;color: var(--yt-spec-icon-inactive);height: 40px;width: 40px;} /*# sourceMappingURL=ytd-checkbox-survey-renderer.css.map*/</style>';
Vlb=d}d=Vlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Wlb=a}a=Wlb;return a}}});
var HP=GP;HP.prototype.onOptionChange=HP.prototype.onOptionChange;HP.prototype.dataChanged=HP.prototype.dataChanged;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],HP.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],HP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],HP.prototype,"ytComponentBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],HP.prototype,"ytRendererBehavior",void 0);_.S([_.L(Whb),_.T("design:type",Object)],HP.prototype,"ytdHatsSurveyBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],HP.prototype,"data",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HP.prototype,"dataChanged",null);
_.S([_.O("ytd-checkbox-survey-option-changed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],HP.prototype,"onOptionChange",null);HP=_.S([_.Q({asyncProperties:!0,is:"ytd-checkbox-survey-renderer"})],HP);
var Xlb;
var Ylb;
var Zlb;
var $lb;
var amb=function(){return _.K.apply(this,arguments)||this};
_.q(amb,_.K);
_.t.Object.defineProperties(amb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$lb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-dismissal-reason-text-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_dismissal_reason_text_renderer.ytd.dismissal.reason.text.renderer.css.js--\x3e<tp-yt-paper-checkbox id="checkbox">\n  <yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n</tp-yt-paper-checkbox>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Zlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_dismissal_reason_text_renderer.ytd.dismissal.reason.text.renderer.css.js--\x3e<style>:host {display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-dismissal-reason-text-renderer.css.map*/</style>';Zlb=d}d=
Zlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$lb=a}a=$lb;return a}}});
var IP=amb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],IP.prototype,"ytRendererBehavior",void 0);_.S([_.L(Thb),_.T("design:type",Object)],IP.prototype,"ytdDismissalReasonBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],IP.prototype,"data",void 0);IP=_.S([_.Q({asyncProperties:!0,is:"ytd-dismissal-reason-text-renderer"})],IP);
var bmb;
var cmb;
var dmb=function(){return _.K.apply(this,arguments)||this};
_.q(dmb,_.K);
_.t.Object.defineProperties(dmb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-dismissal-reason-video-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_dismissal_reason_video_renderer.ytd.dismissal.reason.video.renderer.css.js--\x3e<tp-yt-paper-checkbox id="checkbox">\n  <yt-formatted-string id="label" text="[[data.text]]">\n  </yt-formatted-string>\n</tp-yt-paper-checkbox>\n<div id="video">\n  <yt-img-shadow thumbnail="[[data.videoThumb]]" width="120"></yt-img-shadow>\n  <div id="video-metadata">\n    <yt-formatted-string id="video-title" ellipsis-truncate="" text="[[data.videoTitle]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="video-creator" ellipsis-truncate="" text="[[data.creatorLine]]">\n    </yt-formatted-string>\n  </div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_dismissal_reason_video_renderer.ytd.dismissal.reason.video.renderer.css.js--\x3e<style>:host {display: block;} #label {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #video {margin-top: 8px;margin-left: 36px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #video-metadata {overflow: hidden;margin-left: 8px;} #video yt-formatted-string {display: block;} #video-title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} #video-creator {color: var(--yt-spec-text-secondary);margin-top: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-dismissal-reason-video-renderer.css.map*/</style>';
bmb=d}d=bmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cmb=a}a=cmb;return a}}});
var JP=dmb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JP.prototype,"ytRendererBehavior",void 0);_.S([_.L(Thb),_.T("design:type",Object)],JP.prototype,"ytdDismissalReasonBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],JP.prototype,"data",void 0);JP=_.S([_.Q({asyncProperties:!0,is:"ytd-dismissal-reason-video-renderer"})],JP);
var KP=function(){return _.K.apply(this,arguments)||this};
_.q(KP,_.K);_.f=KP.prototype;_.f.created=function(){this.selectedFeedbackTokens=new uL};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.configureRendererStamper=function(){return{"data.reasons":{id:"reasons",mapping:{dismissalReasonTextRenderer:"ytd-dismissal-reason-text-renderer",dismissalReasonVideoRenderer:"ytd-dismissal-reason-video-renderer"}}}};
_.f.dataChanged=function(){this.hasReasonsSelected=!1;this.selectedFeedbackTokens.clear()};
_.f.onDismissalReasonSelected=function(a,b){this.fire("yt-invalidate-popup-tabbables");this.selectedFeedbackTokens.add(b);this.hasReasonsSelected=!0};
_.f.onDismissalReasonDeselected=function(a,b){this.fire("yt-invalidate-popup-tabbables");this.selectedFeedbackTokens.delete(b);this.hasReasonsSelected=0!==this.selectedFeedbackTokens.size};
_.f.onCancelTap=function(){_.C(this,"yt-close-popup-action")};
_.f.onSubmitTap=function(){var a={feedback_tokens:Array.from(this.selectedFeedbackTokens.values())};_.Kg(this,[this.data.submitFeedbackEndpoint,a]);_.C(this,"yt-close-popup-action")};
_.t.Object.defineProperties(KP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ylb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-dismissal-follow-up-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_dismissal_follow_up_renderer.ytd.dismissal.follow.up.renderer.css.js--\x3e<div id="content">\n  <yt-formatted-string id="title" text="[[data.dismissalReasonsPrompt]]">\n  </yt-formatted-string>\n  <div id="reasons"></div>\n</div>\n<div id="buttons">\n  <ytd-button-renderer id="cancel" data="[[data.cancelButton.buttonRenderer]]" on-tap="onCancelTap">\n  </ytd-button-renderer>\n  <ytd-button-renderer id="submit" data="[[data.submitButton.buttonRenderer]]" disabled="[[!hasReasonsSelected]]" on-tap="onSubmitTap">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Xlb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_dismissal_follow_up_renderer.ytd.dismissal.follow.up.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);display: inline-block;margin: 0;padding: 0;} #content {color: var(--yt-spec-text-primary);margin: 24px;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #title,ytd-dismissal-reason-text-renderer,ytd-dismissal-reason-video-renderer {margin: 24px 0;} #buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);margin-top: 32px;padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #buttons ytd-button-renderer {margin-left: 8px;} /*# sourceMappingURL=ytd-dismissal-follow-up-renderer.css.map*/</style>';
Xlb=d}d=Xlb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ylb=a}a=Ylb;return a}}});
var LP=KP;LP.prototype.onDismissalReasonDeselected=LP.prototype.onDismissalReasonDeselected;LP.prototype.onDismissalReasonSelected=LP.prototype.onDismissalReasonSelected;LP.prototype.dataChanged=LP.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],LP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],LP.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],LP.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Boolean)],LP.prototype,"hasReasonsSelected",void 0);_.S([_.N(),_.T("design:type",uL)],LP.prototype,"selectedFeedbackTokens",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],LP.prototype,"dataChanged",null);_.S([_.O("yt-dismissal-reason-selected"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,String]),_.T("design:returntype")],LP.prototype,"onDismissalReasonSelected",null);
_.S([_.O("yt-dismissal-reason-deselected"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,String]),_.T("design:returntype")],LP.prototype,"onDismissalReasonDeselected",null);LP=_.S([_.Q({is:"ytd-dismissal-follow-up-renderer"})],LP);
var emb;
var fmb;
var MP=function(){return _.K.apply(this,arguments)||this};
_.q(MP,_.K);MP.prototype.onCheckedChange=function(){this.multiselect||this.fire("yt-feedback-single-select-changed");this.$.freeform.focus();this.fire("yt-refit")};
MP.prototype.showTextBox=function(a,b){return a&&b};
MP.prototype.dataChanged=function(){this.data&&(void 0===this.data.resultText&&this.set("data.resultText",""),void 0===this.data.checked&&this.set("data.checked",!1),void 0===this.data.allowFreeTextInput&&this.set("data.allowFreeTextInput",!1))};
_.t.Object.defineProperties(MP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feedback-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_feedback_option_renderer.ytd.feedback.option.renderer.css.js--\x3e<tp-yt-paper-radio-button class="choice" checked="{{data.checked}}" hidden="[[multiselect]]" on-change="onCheckedChange">\n  [[getSimpleString(data.description)]]\n</tp-yt-paper-radio-button>\n<tp-yt-paper-checkbox class="choice" checked="{{data.checked}}" hidden="[[!multiselect]]" on-change="onCheckedChange">\n  [[getSimpleString(data.description)]]\n</tp-yt-paper-checkbox>\n<tp-yt-paper-textarea id="freeform" hidden="[[!showTextBox(data.checked, data.allowFreeTextInput)]]" label="[[getSimpleString(data.freeTextHint)]]" maxlength="1000" use-v2-underline="" value="{{data.resultText}}">\n</tp-yt-paper-textarea>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===emb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_feedback_option_renderer.ytd.feedback.option.renderer.css.js--\x3e<style>:host {margin-bottom: 8px;margin-left: 0;display: block;} #freeform {--paper-input-container-label: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-secondary);overflow-wrap: break-word;word-break: break-word;margin-bottom: 8px;margin-left: 24px;} #freeform tp-yt-paper-input-container[style-target=host] {padding: 0;} tp-yt-paper-radio-button,tp-yt-paper-checkbox {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-feedback-option-renderer.css.map*/</style>';
emb=d}d=emb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fmb=a}a=fmb;return a}}});
var NP=MP;NP.prototype.dataChanged=NP.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NP.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],NP.prototype,"data",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],NP.prototype,"multiselect",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NP.prototype,"dataChanged",null);NP=_.S([_.Q({is:"ytd-feedback-option-renderer"})],NP);
var gmb;
var hmb;
var OP=function(){return _.K.apply(this,arguments)||this};
_.q(OP,_.K);OP.prototype.configureRendererStamper=function(){return{"data.options":{id:"options",mapping:{feedbackOptionRenderer:{component:"ytd-feedback-option-renderer",properties:{multiselect:"[[data.multiSelect]]"}}}}}};
OP.prototype.onSingleSelectCheckedChanged=function(a){a=_.H(a).rootTarget;for(var b=0;b<this.data.options.length;b++)if(a.data!==this.data.options[b].feedbackOptionRenderer){var c="data.options."+b+".feedbackOptionRenderer.checked";this.notifyPath(c);this.set(c,!1)}};
_.t.Object.defineProperties(OP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feedback-question-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_feedback_question_renderer.ytd.feedback.question.renderer.css.js--\x3e<div class="question-text">\n  [[getSimpleString(data.question)]]\n</div>\n<div id="options"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_feedback_question_renderer.ytd.feedback.question.renderer.css.js--\x3e<style>:host {display: block;margin-top: 8px;margin-bottom: 8px;} .question-text {color: var(--yt-spec-text-primary);margin-top: 12px;margin-bottom: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-feedback-question-renderer.css.map*/</style>';
gmb=d}d=gmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hmb=a}a=hmb;return a}}});
var PP=OP;PP.prototype.onSingleSelectCheckedChanged=PP.prototype.onSingleSelectCheckedChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],PP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],PP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],PP.prototype,"data",void 0);
_.S([_.O("yt-feedback-single-select-changed"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],PP.prototype,"onSingleSelectCheckedChanged",null);PP=_.S([_.Q({is:"ytd-feedback-question-renderer"})],PP);
var imb;
var jmb;
var QP=function(){return _.K.apply(this,arguments)||this};
_.q(QP,_.K);QP.prototype.configureRendererStamper=function(){return{"data.questions":{id:"questions",mapping:{feedbackQuestionRenderer:"ytd-feedback-question-renderer"}}}};
QP.prototype.getSelectedFeedbackResults=function(){for(var a={},b=0;b<this.data.questions.length;b++)for(var c=this.data.questions[b].feedbackQuestionRenderer,d=0;d<c.options.length;d++){var e=c.options[d].feedbackOptionRenderer;e&&e.checked&&(a[e.optionKey]=e.resultText)}return a};
QP.prototype.onKeyUp=function(){var a=this;_.Bi(_.xe,function(){a.fire("yt-refit")});
_.xe.start()};
QP.prototype.submitSurvey=function(){var a=this.getSelectedFeedbackResults();0<Object.keys(a).length&&_.Kg(this,[this.data.submitFeedbackEndpoint,{survey_results:a,is_feedback_token_unencrypted:!0}])};
_.t.Object.defineProperties(QP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-feedback-survey-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_feedback_survey_renderer.ytd.feedback.survey.renderer.css.js--\x3e<div id="questions" on-keyup="onKeyUp"></div>\n<yt-formatted-string id="disclaimer" text="[[data.disclaimer]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===imb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_feedback_survey_renderer.ytd.feedback.survey.renderer.css.js--\x3e<style>:host {display: inline-block;} #disclaimer {padding-top: 16px;padding-bottom: 12px;color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;display: block;} /*# sourceMappingURL=ytd-feedback-survey-renderer.css.map*/</style>";
imb=d}d=imb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jmb=a}a=jmb;return a}}});
var RP=QP;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],RP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],RP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],RP.prototype,"data",void 0);RP=_.S([_.Q({is:"ytd-feedback-survey-renderer"})],RP);
var kmb;
var lmb;
var mmb;
var nmb;
var SP=function(){return _.K.apply(this,arguments)||this};
_.q(SP,_.K);SP.prototype.computeAlt=function(a){return _.qi(a)};
SP.prototype.submitResponse=function(){var a,b;null!=(a=this.data)&&a.feedbackToken&&void 0!==(null==(b=this.data)?void 0:b.nextStageIndex)&&(_.Jg(this,"yt-single-select-submit-feedback",[this.data.feedbackToken]),_.Jg(this,"yt-survey-set-stage-index",[this.data.nextStageIndex]))};
SP.prototype.onClick=function(){this.submitResponse()};
_.t.Object.defineProperties(SP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-single-select-answer-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_select_answer_option_renderer.ytd.single.select.answer.option.renderer.css.js--\x3e<yt-icon-button alt="[[computeAlt(data.answerText)]]" hidden="[[!data.answerIcon.iconType]]">\n  <yt-icon icon="[[data.answerIcon.iconType]]"></yt-icon>\n</yt-icon-button>\n<yt-formatted-string text="[[data.answerText]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_select_answer_option_renderer.ytd.single.select.answer.option.renderer.css.js--\x3e<style>:host(:not([vertical])) {--yt-icon-button-container-width: 40px;width: var(--yt-icon-button-container-width);position: relative;padding-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(:not([vertical]):first-of-type) yt-formatted-string {display: block;left: 8px;} :host(:not([vertical]):last-of-type) yt-formatted-string {display: block;right: 8px;} :host(:not([vertical])) yt-formatted-string {display: none;position: absolute;bottom: 0;white-space: nowrap;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;width: 40px;height: 40px;color: var(--yt-spec-icon-inactive);margin-bottom: 4px;} :host([vertical]) {color: var(--yt-spec-text-secondary);display: block;margin: 0 -8px;padding: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([vertical]:hover) {background-color: var(--yt-spec-10-percent-layer);cursor: pointer;} :host([vertical]) yt-icon-button {display: none;} :host(:not([vertical]):hover) yt-icon-button {background-color: var(--yt-spec-10-percent-layer);border-radius: var(--yt-icon-button-container-width);color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-single-select-answer-option-renderer.css.map*/</style>';
mmb=d}d=mmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nmb=a}a=nmb;return a}}});
var TP=SP;TP.prototype.onClick=TP.prototype.onClick;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],TP.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],TP.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],TP.prototype,"vertical",void 0);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],TP.prototype,"onClick",null);
TP=_.S([_.Q({asyncProperties:!0,is:"ytd-single-select-answer-option-renderer"})],TP);
var omb;
var pmb;
var UP=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-single-select-submit-feedback":"submitFeedback"};return a};
_.q(UP,_.K);UP.prototype.configureRendererStamper=function(){return{"data.answerOptions":{id:"options",mapping:{singleSelectAnswerOptionRenderer:{component:"ytd-single-select-answer-option-renderer",properties:{vertical:"[[vertical]]"}}}}}};
UP.prototype.dataChanged=function(){var a,b;this.vertical="SURVEY_LAYOUT_TYPE_VERTICAL"===(null!=(b=null==(a=this.data)?void 0:a.answerOrientation)?b:"SURVEY_LAYOUT_TYPE_HORIZONTAL")};
UP.prototype.submitFeedback=function(a){var b;(null==(b=this.data)?0:b.responseEndpoint)&&a&&_.Kg(this,[this.data.responseEndpoint,{extra_feedback_tokens:[a]}])};
_.t.Object.defineProperties(UP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-single-select-question-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_select_question_renderer.ytd.single.select.question.renderer.css.js--\x3e<div id="question">\n  <yt-formatted-string text="[[data.questionText]]"></yt-formatted-string>\n</div>\n<div id="options"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===omb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_select_question_renderer.ytd.single.select.question.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);display: inline-block;margin: 0;} #question {color: var(--yt-spec-text-primary);margin-bottom: 8px;margin-right: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} yt-formatted-string {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;color: var(--yt-spec-icon-inactive);height: 40px;width: 40px;} #header yt-icon-button {margin-top: calc((2rem - 40px)/2);} :host(:not([vertical])) {max-width: 352px;} :host(:not([vertical])[dialog][dialog][dialog]) {padding: 24px;} :host(:not([vertical])) #options {margin: 0 -8px;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([vertical]) {width: 325px;padding: 0 0 12px;} :host([vertical]) #header {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;margin: 24px 24px 12px;} :host([vertical]) #options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-single-select-question-renderer.css.map*/</style>';
omb=d}d=omb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pmb=a}a=pmb;return a}}});
var VP=UP;VP.prototype.dataChanged=VP.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],VP.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],VP.prototype,"eventForwardingBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],VP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],VP.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],VP.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],VP.prototype,"vertical",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VP.prototype,"dataChanged",null);VP=_.S([_.Q({asyncProperties:!0,is:"ytd-single-select-question-renderer"})],VP);
var WP=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-survey-set-stage-index":"jumpToStage"};return a};
_.q(WP,_.K);_.f=WP.prototype;_.f.configureRendererStamper=function(){return{currentStage:{id:"current-stage",mapping:{singleSelectQuestionRenderer:"ytd-single-select-question-renderer",simpleMessageRenderer:"ytd-simple-message-renderer"}}}};
_.f.dataChanged=function(){this.jumpToStage(0)};
_.f.jumpToStage=function(a){var b,c;if(null==(b=this.data)?0:null==(c=b.stages)?0:c[a])this.currentStage=this.data.stages[a],this.refitAfterRender()};
_.f.computeAlt=function(a){return _.qi(a)};
_.f.computeSimpleMessage=function(a){var b;return null==a?void 0:null==(b=a.simpleSurveyMessageRenderer)?void 0:b.messageText};
_.f.onDismissTap=function(){_.C(this,"yt-close-popup-action");var a;(null==(a=this.currentStage)?0:a.simpleSurveyMessageRenderer)||_.Kg(this,[this.data.dismissalEndpoint])};
_.f.refitAfterRender=function(){var a=this;_.nt(this,function(){a.fire("yt-refit")})};
_.t.Object.defineProperties(WP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-multi-stage-survey-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_multi_stage_survey_renderer.ytd.multi.stage.survey.renderer.css.js--\x3e<div id="header">\n  <yt-icon-button label="[[computeAlt(data.dismissalText)]]" on-click="onDismissTap">\n    <yt-icon icon="yt-icons:close"></yt-icon>\n  </yt-icon-button>\n</div>\n<div id="current-stage"></div>\n<yt-formatted-string id="simple-message" text="[[computeSimpleMessage(currentStage)]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===kmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_multi_stage_survey_renderer.ytd.multi.stage.survey.renderer.css.js--\x3e<style>:host {display: block;min-width: 352px;outline: none;position: relative;} #simple-message {color: var(--yt-spec-text-primary);display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #header {position: absolute;top: 0;right: 1rem;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;color: var(--yt-spec-icon-inactive);height: 40px;width: 40px;} #header yt-icon-button {margin-top: calc((2rem - 40px)/2);} #simple-message {margin: 0 12px;} /*# sourceMappingURL=ytd-multi-stage-survey-renderer.css.map*/</style>';
kmb=d}d=kmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lmb=a}a=lmb;return a}}});
var XP=WP;XP.prototype.dataChanged=XP.prototype.dataChanged;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],XP.prototype,"eventForwardingBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],XP.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],XP.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],XP.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L(Whb),_.T("design:type",Object)],XP.prototype,"ytdHatsSurveyBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],XP.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],XP.prototype,"currentStage",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],XP.prototype,"dataChanged",null);XP=_.S([_.Q({asyncProperties:!0,is:"ytd-multi-stage-survey-renderer"})],XP);
var qmb;
var rmb;
var YP=function(){return _.K.apply(this,arguments)||this};
_.q(YP,_.K);YP.prototype.computeAlt=function(a){return _.qi(a)};
YP.prototype.submitResponse=function(){this.data&&this.data.submissionEndpoint&&(_.Kg(this,[this.data.submissionEndpoint]),_.C(this,"yt-close-popup-action",["ytd-single-option-survey-renderer"]))};
YP.prototype.onTap=function(){this.vertical&&this.submitResponse()};
_.t.Object.defineProperties(YP,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-single-option-survey-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_option_survey_option_renderer.ytd.single.option.survey.option.renderer.css.js--\x3e<yt-icon-button alt="[[computeAlt(data.option)]]" hidden="[[!data.icon.iconType]]" on-tap="submitResponse">\n  <yt-icon icon="[[data.icon.iconType]]"></yt-icon>\n</yt-icon-button>\n<yt-formatted-string text="[[data.option]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_option_survey_option_renderer.ytd.single.option.survey.option.renderer.css.js--\x3e<style>:host(:not([vertical])) {width: 40px;position: relative;padding-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(:not([vertical]):first-of-type) yt-formatted-string {display: block;left: 8px;} :host(:not([vertical]):last-of-type) yt-formatted-string {display: block;right: 8px;} :host(:not([vertical])) yt-formatted-string {display: none;position: absolute;bottom: 0;white-space: nowrap;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;width: 40px;height: 40px;color: var(--yt-spec-icon-inactive);margin-bottom: 4px;} :host([vertical]) {color: var(--yt-spec-text-secondary);display: block;padding: 8px 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host([vertical]:hover) {background-color: var(--yt-spec-10-percent-layer);cursor: pointer;} :host([vertical]) yt-icon-button {display: none;} /*# sourceMappingURL=ytd-single-option-survey-option-renderer.css.map*/</style>';
qmb=d}d=qmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rmb=a}a=rmb;return a}}});
var ZP=YP;ZP.prototype.onTap=ZP.prototype.onTap;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ZP.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ZP.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],ZP.prototype,"vertical",void 0);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],ZP.prototype,"onTap",null);
ZP=_.S([_.Q({asyncProperties:!0,is:"ytd-single-option-survey-option-renderer"})],ZP);
var smb;
var tmb;
var $P=function(){return _.K.apply(this,arguments)||this};
_.q($P,_.K);_.f=$P.prototype;_.f.configureRendererStamper=function(){return{"data.options":{id:"options",mapping:{singleOptionSurveyOptionRenderer:{component:"ytd-single-option-survey-option-renderer",properties:{vertical:"[[vertical]]"}}}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.dataChanged=function(){var a,b;this.vertical="VERTICAL"===((null==(a=this.data)?void 0:null==(b=a.surveyOrientation)?void 0:b.type)||"HORIZONTAL")};
_.f.computeAlt=function(a){return _.qi(a)};
_.f.onDismissTap=function(){_.C(this,"yt-close-popup-action");_.Kg(this,[this.data.dismissalEndpoint])};
_.t.Object.defineProperties($P,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-single-option-survey-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_option_survey_renderer.ytd.single.option.survey.renderer.css.js--\x3e<div id="header">\n  <yt-formatted-string text="[[data.question]]"></yt-formatted-string>\n  <yt-icon-button label="[[computeAlt(data.dismissalText)]]" on-tap="onDismissTap">\n    <yt-icon icon="yt-icons:close"></yt-icon>\n  </yt-icon-button>\n</div>\n<div id="options"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===smb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_single_option_survey_renderer.ytd.single.option.survey.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);display: inline-block;margin: 0;} #header {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;} yt-formatted-string {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;color: var(--yt-spec-icon-inactive);height: 40px;width: 40px;} #header yt-icon-button {margin-top: calc((2rem - 40px)/2);} :host(:not([vertical])) {max-width: 352px;} :host(:not([vertical])[dialog][dialog][dialog]) {padding: 24px;} :host(:not([vertical])) #options {margin-left: -8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host(:not([vertical])) #options>*:not(:last-child) {margin-right: 40px;} :host([vertical]) {width: 325px;padding: 0 0 12px;} :host([vertical]) #header {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;margin: 24px 24px 12px;} :host([vertical]) #options {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} /*# sourceMappingURL=ytd-single-option-survey-renderer.css.map*/</style>';
smb=d}d=smb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tmb=a}a=tmb;return a}}});
var aQ=$P;aQ.prototype.dataChanged=aQ.prototype.dataChanged;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],aQ.prototype,"eventForwardingBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],aQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],aQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(Whb),_.T("design:type",Object)],aQ.prototype,"ytdHatsSurveyBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],aQ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],aQ.prototype,"vertical",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],aQ.prototype,"dataChanged",null);aQ=_.S([_.Q({asyncProperties:!0,is:"ytd-single-option-survey-renderer"})],aQ);
var umb;
var vmb;
var bQ=function(){return _.K.apply(this,arguments)||this};
_.q(bQ,_.K);bQ.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
bQ.prototype.onDismissTap=function(){_.C(this,"yt-close-popup-action")};
bQ.prototype.onNavigate=function(){_.C(this,"yt-close-popup-action")};
_.t.Object.defineProperties(bQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-survey-follow-up-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_survey_follow_up_renderer.ytd.survey.follow.up.renderer.css.js--\x3e<div id="header">\n  <yt-formatted-string text="[[data.description]]"></yt-formatted-string>\n  <ytd-button-renderer data="[[data.dismissButton.buttonRenderer]]" on-tap="onDismissTap">\n  </ytd-button-renderer>\n</div>\n<ytd-button-renderer align-by-text="" data="[[data.followUpButton.buttonRenderer]]" hidden="[[!data.followUpButton.buttonRenderer]]">\n</ytd-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===umb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.feedback.ytd_survey_follow_up_renderer.ytd.survey.follow.up.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);display: inline-block;min-width: 350px;margin: 0;padding: 24px;} #header {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} /*# sourceMappingURL=ytd-survey-follow-up-renderer.css.map*/</style>';
umb=d}d=umb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vmb=a}a=vmb;return a}}});
var cQ=bQ;cQ.prototype.onNavigate=cQ.prototype.onNavigate;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],cQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],cQ.prototype,"ytEventForwardingBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],cQ.prototype,"data",void 0);_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],cQ.prototype,"onNavigate",null);
cQ=_.S([_.Q({asyncProperties:!0,is:"ytd-survey-follow-up-renderer"})],cQ);
var wmb;
var xmb;
var ymb;
var zmb;
var dQ=function(){var a=_.K.apply(this,arguments)||this;a.polymer2="Element"in Polymer;return a};
_.q(dQ,_.K);_.f=dQ.prototype;_.f.ready=function(){this.secondsEl.addEventListener("blur",this.formatSeconds.bind(this))};
_.f.secondsChanged=function(){this.secondsEl.focused||this.formatSeconds()};
_.f.formatSeconds=function(){1===this.seconds.length&&(this.seconds="0"+this.seconds)};
_.f.minutesChangedForBinding=function(){this.dispatchEvent(new _.TC("minutes-changed",this.minutes))};
_.f.secondsChangedForBinding=function(){this.dispatchEvent(new _.TC("seconds-changed",this.seconds))};
_.f.updateMinutesFromBinding=function(a){this.minutes=a.detail.value};
_.f.updateSecondsFromBinding=function(a){this.seconds=a.detail.value};
_.t.Object.defineProperties(dQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-timestamp-input--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_timestamp_input.yt.timestamp.input.css.js--\x3e<tp-yt-paper-input id="minutes" allowed-pattern="[0-9]" maxlength="3" no-label-float="" prevent-invalid-input="" use-v2-underline="" value="[[minutes]]" on-value-changed="updateMinutesFromBinding">\n</tp-yt-paper-input>\n<span id="separator"> : </span>\n<tp-yt-paper-input id="seconds" allowed-pattern="[0-9]" maxlength="2" no-label-float="" prevent-invalid-input="" use-v2-underline="" value="[[seconds]]" on-value-changed="updateSecondsFromBinding">\n</tp-yt-paper-input>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ymb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_timestamp_input.yt.timestamp.input.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} :host(:dir(rtl)) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #minutes,#seconds {text-align: right;height: 40px;} #minutes {width: 30px;} #separator {padding: 0 2px;} #seconds {width: 20px;} tp-yt-paper-input {--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-color: var(--yt-spec-10-percent-layer);--paper-input-container-underline-legacy-height: 0;} /*# sourceMappingURL=yt-timestamp-input.css.map*/</style>";
ymb=d}d=ymb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zmb=a}a=zmb;return a}}});
var eQ=dQ;eQ.prototype.secondsChangedForBinding=eQ.prototype.secondsChangedForBinding;eQ.prototype.minutesChangedForBinding=eQ.prototype.minutesChangedForBinding;eQ.prototype.secondsChanged=eQ.prototype.secondsChanged;_.S([_.N(),_.T("design:type",String)],eQ.prototype,"minutes",void 0);_.S([_.N(),_.T("design:type",String)],eQ.prototype,"seconds",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],eQ.prototype,"polymer2",void 0);
_.S([_.Z("#seconds"),_.T("design:type",Object)],eQ.prototype,"secondsEl",void 0);_.S([_.P("seconds"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],eQ.prototype,"secondsChanged",null);_.S([_.P("minutes"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],eQ.prototype,"minutesChangedForBinding",null);
_.S([_.P("seconds"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],eQ.prototype,"secondsChangedForBinding",null);eQ=_.S([_.lu({is:"yt-timestamp-input",noInjection:!0,notifyObserversOnUndefined:!1})],eQ);
var fQ=function(){return _.K.apply(this,arguments)||this};
_.q(fQ,_.K);_.f=fQ.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.JSC$39710_scroller.dialogElement=this.parentNode};
_.f.dataChanged=function(){var a=this;this.description.value="";this.seconds=this.minutes=this.fullName.value="";this.toggleSubmitButton(!1);this.showTimestamp&&_.qw().getPlayerPromise().then(function(b){b=b.getCurrentTime();a.minutes=Math.floor(b/60).toString();a.seconds=(Math.floor(b)%60).toString()})};
_.f.onTapSubmit=function(a){a.stopPropagation();this.serviceEndpoint&&!this.get("submitButton.isDisabled")&&(a={flag_description:this.descriptionText.trim(),flag_issue_type:this.issueType,flag_affiliation:this.affiliation},this.fullNameText&&(a.flag_full_name=this.fullNameText.trim()),this.showTimestamp&&(a.minutes=this.minutes,a.seconds=this.seconds),_.Kg(this,[this.serviceEndpoint,a]))};
_.f.onYtServiceRequestSent=function(){this.toggleSubmitButton(!1)};
_.f.onYtServiceRequestCompleted=function(a,b){b=b.actions;if(Array.isArray(b))for(var c=0,d=b.length;c<d;c++){var e=void 0;if(null==(e=b[c])?0:e.openPopupAction)a.stopPropagation(),this.parentElement.close(),this.ytOpenPopupBehavior.openPopup(b[c])}};
_.f.onYtServiceRequestError=function(){this.toggleSubmitButton(!0)};
_.f.toggleSubmitButton=function(a){this.set("submitButton.isDisabled",!a)};
_.f.handleInput=function(){var a=this.issueType,b=this.affiliation,c=this.minutes,d=this.seconds;c=!this.showTimestamp||!!c&&!!d;this.toggleSubmitButton(!!this.descriptionText&&!!a&&!!b&&c)};
_.f.computeServiceEndpoint=function(a){return this.get("submitButton.buttonRenderer.serviceEndpoint",a)};
_.f.computeSubmitButton=function(a){(a=this.get("submitButton.buttonRenderer",a))&&(a=Object.assign({},a,{serviceEndpoint:void 0}));return a};
_.f.computeShowTimestamp=function(a){return!!a};
_.f.onValueChangedForIssueType=function(a){this.issueType=a.detail.value};
_.f.onValueChangedForAffiliation=function(a){this.affiliation=a.detail.value};
_.t.Object.defineProperties(fQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-legal-report-details-form-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_legal_report_details_form_renderer.ytd.legal.report.details.form.renderer.css.js--\x3e<h2 id="title">[[getSimpleString(data.title)]]</h2>\n<tp-yt-paper-dialog-scrollable id="scroller">\n  <template is="dom-if" if="[[showTimestamp]]">\n    <label id="timestamp">\n      [[getSimpleString(data.timestampLabel)]]\n      <yt-timestamp-input minutes="{{minutes}}" seconds="{{seconds}}">\n      </yt-timestamp-input>\n    </label>\n  </template>\n  <div id="description-box">\n    <tp-yt-paper-input-container no-label-float="true" use-v2-underline="">\n      <tp-yt-iron-autogrow-textarea id="description" class="paper-input-input" slot="input" aria-label$="[[getSimpleString(data.descriptionHint)]]" maxlength$="[[data.maxDescriptionChars]]" placeholder="[[getSimpleString(data.descriptionHint)]]" required="true" rows="4" value="{{descriptionText}}">\n      </tp-yt-iron-autogrow-textarea>\n      <tp-yt-paper-input-char-counter slot="add-on"></tp-yt-paper-input-char-counter>\n    </tp-yt-paper-input-container>\n  </div>\n  <ytd-dropdown-renderer id="issue-type" data="[[data.issueTypeDropdown.dropdownRenderer]]" value="[[issueType]]" on-value-changed="onValueChangedForIssueType">\n  </ytd-dropdown-renderer>\n  <ytd-dropdown-renderer id="affiliation" data="[[data.affiliationDropdown.dropdownRenderer]]" value="[[affiliation]]" on-value-changed="onValueChangedForAffiliation">\n  </ytd-dropdown-renderer>\n  <tp-yt-paper-input id="full-name" maxlength="[[data.maxNameChars]]" placeholder="[[getSimpleString(data.nameHint)]]" use-v2-underline="" value="{{fullNameText}}">\n  </tp-yt-paper-input>\n  <div id="name-subtext">[[getSimpleString(data.nameSubtext)]]</div>\n  <div id="footer-text">[[getSimpleString(data.footerText)]]</div>\n</tp-yt-paper-dialog-scrollable>\n<div class="footer">\n  <div id="required-label">[[getSimpleString(data.requiredLabel)]]</div>\n  <div class="buttons">\n    <yt-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" dialog-dismiss="">\n    </yt-button-renderer>\n    <yt-button-renderer id="submit-button" data="[[submitButton]]" dialog-confirm="" on-click="onTapSubmit">\n    </yt-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flag.ytd_legal_report_details_form_renderer.ytd.legal.report.details.form.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--ytd-legal-report-details-form-renderer-content-width: 402px;--paper-input-container-input-align: baseline;--ytd-dropdown-renderer-width: var( --ytd-legal-report-details-form-renderer-content-width );background: var(--yt-spec-brand-background-primary);margin: 0;width: 450px;max-width: 80vw;min-height: 240px;min-width: 250px;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host>*:not(:last-child) {padding: 0 24px;} :host>*:first-child {margin-top: 24px;} h2 {color: var(--yt-spec-text-primary);padding: 0 24px;margin-top: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #scroller {--paper-dialog-scrollable-padding: 0;--paper-dialog-scrollable-overflow-x: hidden;} #scroller:first-child {margin-top: 20px;} #timestamp {display: block;color: var(--yt-spec-text-secondary);margin: 20px 0 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} yt-timestamp-input {height: 40px;} #description-box {margin-top: 24px;} #description-box tp-yt-paper-input-container {--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-input: {padding: 12px;box-sizing: border-box;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};padding-top: 0;padding-bottom: 0;} #description-box tp-yt-paper-input-container {--iron-autogrow-textarea-placeholder-padding: 10px;} #description {display: inline-block;padding: 12px 12px 32px 12px;box-shadow: inset 0 0 0 1px var(--yt-spec-10-percent-layer);border-radius: 2px;box-sizing: border-box;margin-bottom: -2px;} #description[focused] {box-shadow: inset 0 0 0 2px var(--yt-spec-text-primary);} #description-box tp-yt-paper-input-char-counter {--paper-input-char-counter: {color: var(--yt-spec-text-secondary);margin-top: -32px;margin-right: 18px;};} #issue-type,#affiliation,#full-name {margin-top: 0;} #full-name {--paper-input-container-underline-color: var(--yt-spec-10-percent-layer);--paper-input-container-underline-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-legacy-height: 0;--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));};height: 57px;} #name-subtext {color: var(--yt-spec-text-secondary);margin-top: 4px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #footer-text {color: var(--yt-spec-text-secondary);margin: 24px 0;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .footer {padding-left: 24px;border-top: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #cancel-button {margin-right: 8px;} #required-label {color: var(--yt-spec-text-secondary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .buttons {padding: 8px 8px 8px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-legal-report-details-form-renderer.css.map*/</style>';
wmb=d}d=wmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xmb=a}a=xmb;return a}}});
var gQ=fQ;gQ.prototype.handleInput=gQ.prototype.handleInput;gQ.prototype.onYtServiceRequestError=gQ.prototype.onYtServiceRequestError;gQ.prototype.onYtServiceRequestCompleted=gQ.prototype.onYtServiceRequestCompleted;gQ.prototype.onYtServiceRequestSent=gQ.prototype.onYtServiceRequestSent;gQ.prototype.dataChanged=gQ.prototype.dataChanged;_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],gQ.prototype,"ytOpenPopupBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],gQ.prototype,"ytRendererBehavior",void 0);_.S([_.Z("#scroller"),_.T("design:type",Object)],gQ.prototype,"JSC$39710_scroller",void 0);_.S([_.Z("#description"),_.T("design:type",HTMLInputElement)],gQ.prototype,"description",void 0);_.S([_.Z("#full-name"),_.T("design:type",Object)],gQ.prototype,"fullName",void 0);_.S([_.N(),_.T("design:type",Object)],gQ.prototype,"data",void 0);
_.S([_.N({computed:"computeShowTimestamp(data.timestampLabel)"}),_.T("design:type",Boolean)],gQ.prototype,"showTimestamp",void 0);_.S([_.N({readOnly:!0,computed:"computeServiceEndpoint(data)"}),_.T("design:type",Object)],gQ.prototype,"serviceEndpoint",void 0);_.S([_.N({computed:"computeSubmitButton(data)"}),_.T("design:type",Object)],gQ.prototype,"submitButton",void 0);_.S([_.N(),_.T("design:type",String)],gQ.prototype,"descriptionText",void 0);
_.S([_.N(),_.T("design:type",Number)],gQ.prototype,"issueType",void 0);_.S([_.N(),_.T("design:type",Number)],gQ.prototype,"affiliation",void 0);_.S([_.N(),_.T("design:type",String)],gQ.prototype,"fullNameText",void 0);_.S([_.N(),_.T("design:type",String)],gQ.prototype,"minutes",void 0);_.S([_.N(),_.T("design:type",String)],gQ.prototype,"seconds",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],gQ.prototype,"dataChanged",null);
_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],gQ.prototype,"onYtServiceRequestSent",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],gQ.prototype,"onYtServiceRequestCompleted",null);
_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],gQ.prototype,"onYtServiceRequestError",null);_.S([_.P("descriptionText","issueType","affiliation","fullNameText","minutes","seconds"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],gQ.prototype,"handleInput",null);gQ=_.S([_.Q({is:"ytd-legal-report-details-form-renderer"})],gQ);
var Amb;
var Bmb;
var Cmb;
var Dmb;
var hQ=function(){return _.K.apply(this,arguments)||this};
_.q(hQ,_.K);_.f=hQ.prototype;_.f.dataChanged=function(){this.userInput=this.data.couponCode?this.data.couponCode:"";this.validate()};
_.f.onSubmit=function(){var a=this.data.serviceEndpoint;a&&a.ypcGetOffersEndpoint&&(a.ypcGetOffersEndpoint.couponCode=this.userInput,_.Kg(this,[a]))};
_.f.validate=function(){var a=!(!this.data||!this.data.couponCode||this.data.couponCode!==this.userInput);this.showTick=a&&!this.data.errorMessage;this.showErrorMessage=a&&!!this.data.errorMessage;this.hideApplyButton=!this.userInput||this.showTick||this.showErrorMessage;this.disableApplyButton=null==this.userInput.match(/^[\d\w]{12}$/)};
_.f.computeStyle=function(a){return a};
_.f.computeShowValidationBelowInput=function(a){return"YPC_COUPON_RENDERER_STYLE_END_ALIGN"!==a};
_.t.Object.defineProperties(hQ.prototype,{validationState:{configurable:!0,enumerable:!0,get:function(){return this.showTick?"success":this.showErrorMessage?"error":this.userInput?"user-input":"default"}}});
_.t.Object.defineProperties(hQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Dmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ypc-coupon-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_ypc_coupon_renderer.ytd.ypc.coupon.renderer.css.js--\x3e<div>\n  <tp-yt-paper-input-container class$="[[validationState]]" invalid="{{showErrorMessage}}" use-v2-underline="">\n    <input id="input" maxlength="12" autocomplete="off" placeholder="[[data.boxHint]]" value="{{userInput::input}}" on-keyup="validate" slot="input">\n    <tp-yt-paper-input-error slot="add-on" aria-live="assertive" hidden="[[!showValidationBelowInput]]">\n      [[data.errorMessage]]\n    </tp-yt-paper-input-error>\n  </tp-yt-paper-input-container>\n</div>\n\n<div id="validation">\n  <div hidden="[[showValidationBelowInput]]">\n    <div class$="[[validationState]]" hidden="[[!showErrorMessage]]">\n      [[data.errorMessage]]\n    </div>\n    <div class$="[[validationState]]" hidden="[[!showTick]]">\n      [[data.successMessage]]\n    </div>\n  </div>\n  <yt-icon-button class="confirmation" hidden="[[!showTick]]" noink="">\n    <yt-icon icon="check"></yt-icon>\n  </yt-icon-button>\n</div>\n\n<ytd-button-renderer id="apply" data="[[data.applyCoupon.buttonRenderer]]" disabled="[[disableApplyButton]]" hidden="[[hideApplyButton]]" on-tap="onSubmit">\n</ytd-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Cmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_ypc_coupon_renderer.ytd.ypc.coupon.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-input-container {--paper-input-container-focus-color: var(--yt-spec-themed-blue);--paper-input-container-underline-height: 0;--paper-input-container-underline-background: transparent;--paper-input-container-underline-border-bottom: 1px solid var(--secondary-text-color);min-height: 60px;padding: 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} tp-yt-paper-input-error {margin-top: -2px;} .confirmation {color: var(--yt-spec-themed-green);} #input {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) #apply {-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) #validation {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: end;-webkit-align-items: flex-end;align-items: flex-end;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) .error {color: var(--yt-spec-brand-link-text);} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) .success {color: var(--yt-spec-themed-green);} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) .user-input {color: var(--yt-spec-themed-blue);} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) tp-yt-paper-input-container.error {--paper-input-container-underline-height: initial;--paper-input-container-underline-border-bottom: 1px solid var(--yt-spec-brand-link-text);--paper-input-container-underline-focus-height: 1px;--paper-input-container-underline-invalid-focus-color: var( --yt-spec-brand-link-text );} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) tp-yt-paper-input-container.error #input {color: var(--yt-spec-brand-link-text);} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) tp-yt-paper-input-container.success {--paper-input-container-underline-height: initial;--paper-input-container-underline-border-bottom: 1px solid var(--yt-spec-themed-green);} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) tp-yt-paper-input-container.success #input {color: var(--yt-spec-themed-green);} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) tp-yt-paper-input-container.user-input {--paper-input-container-underline-height: initial;--paper-input-container-underline-border-bottom: 1px solid var(--yt-spec-themed-blue);} :host([coupon-style=YPC_COUPON_RENDERER_STYLE_END_ALIGN]) tp-yt-paper-input-container.user-input #input {color: var(--yt-spec-themed-blue);} /*# sourceMappingURL=ytd-ypc-coupon-renderer.css.map*/</style>';
Cmb=d}d=Cmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Dmb=a}a=Dmb;return a}}});
var iQ=hQ;iQ.prototype.dataChanged=iQ.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],iQ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],iQ.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],iQ.prototype,"userInput",void 0);_.S([_.N(),_.T("design:type",Boolean)],iQ.prototype,"disableApplyButton",void 0);_.S([_.N(),_.T("design:type",Boolean)],iQ.prototype,"hideApplyButton",void 0);
_.S([_.N(),_.T("design:type",Boolean)],iQ.prototype,"hideErrorMessage",void 0);_.S([_.N(),_.T("design:type",Boolean)],iQ.prototype,"showTick",void 0);_.S([_.N(),_.T("design:type",Boolean)],iQ.prototype,"showErrorMessage",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.style)"}),_.T("design:type",String)],iQ.prototype,"couponStyle",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeShowValidationBelowInput(data.style)"}),_.T("design:type",Boolean)],iQ.prototype,"showValidationBelowInput",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],iQ.prototype,"dataChanged",null);_.S([_.V("showTick","showErrorMessage","userInput"),_.T("design:type",String),_.T("design:paramtypes",[])],iQ.prototype,"validationState",null);iQ=_.S([_.Q({is:"ytd-ypc-coupon-renderer"})],iQ);
var jQ=function(){return _.K.apply(this,arguments)||this};
_.q(jQ,_.K);jQ.prototype.configureRendererStamper=function(){return{"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.secondaryButton":{id:"secondary-button",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.couponRenderer":{id:"coupon-renderer",mapping:{ypcCouponRenderer:"ytd-ypc-coupon-renderer"}}}};
jQ.prototype.computeStyle=function(a){return a};
_.t.Object.defineProperties(jQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Bmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-flow-bottom-bar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_bottom_bar_renderer.ytd.flow.bottom.bar.renderer.css.js--\x3e<div id="coupon-renderer" hidden="[[!data.couponRenderer]]"></div>\n<div id="secondary-button" hidden="[[!data.secondaryButton]]"></div>\n<div id="primary-button" hidden="[[!data.primaryButton]]"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Amb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_bottom_bar_renderer.ytd.flow.bottom.bar.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-secondary);box-sizing: border-box;min-height: 56px;padding: 16px 24px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #secondary-button {padding-right: 8px;} :host([button-style=FLOW_BOTTOM_BAR_BUTTON_LAYOUT_STYLE_FULL_DISTRIBUTED])>* {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([button-style=FLOW_BOTTOM_BAR_BUTTON_LAYOUT_STYLE_FULL_DISTRIBUTED]) ytd-button-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([button-style=FLOW_BOTTOM_BAR_BUTTON_LAYOUT_STYLE_FLEX_PRIMARY]) #primary-button {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([button-style=FLOW_BOTTOM_BAR_BUTTON_LAYOUT_STYLE_FLEX_PRIMARY]) ytd-button-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([button-style=FLOW_BOTTOM_BAR_BUTTON_LAYOUT_STYLE_JUSTIFY_END]) {-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #coupon-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} ytd-ypc-coupon-renderer {-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} /*# sourceMappingURL=ytd-flow-bottom-bar-renderer.css.map*/</style>";
Amb=d}d=Amb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Bmb=a}a=Bmb;return a}}});
var kQ=jQ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],kQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],kQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],kQ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeStyle(data.style)"}),_.T("design:type",String)],kQ.prototype,"buttonStyle",void 0);kQ=_.S([_.Q({asyncProperties:!0,is:"ytd-flow-bottom-bar-renderer"})],kQ);
var Emb;
var Fmb;
var Gmb;
var Hmb;
var Imb;
var Jmb;
var lQ=function(){return _.K.apply(this,arguments)||this};
_.q(lQ,_.K);lQ.prototype.configureRendererStamper=function(){return{"data.trailingButtons":{id:"trailing-buttons",mapping:{buttonRenderer:"ytd-button-renderer"}},"data.backButton":{id:"back-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.t.Object.defineProperties(lQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Jmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-flow-top-bar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_top_bar_renderer.ytd.flow.top.bar.renderer.css.js--\x3e<div id="back-button"></div>\n<div id="content">\n  <div id="title">[[getSimpleString(data.title)]]</div>\n  <div id="subtitle">[[getSimpleString(data.subtitle)]]</div>\n</div>\n<div id="trailing-buttons"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Imb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_top_bar_renderer.ytd.flow.top.bar.renderer.css.js--\x3e<style>:host {box-sizing: border-box;min-height: 48px;padding: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #back-button ytd-button-renderer {margin-right: 8px;} #content {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #title {color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 700;} #subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-flow-top-bar-renderer.css.map*/</style>';
Imb=d}d=Imb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Jmb=a}a=Jmb;return a}}});
var mQ=lQ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],mQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],mQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],mQ.prototype,"data",void 0);mQ=_.S([_.Q({asyncProperties:!0,is:"ytd-flow-top-bar-renderer"})],mQ);
var Kmb;
var Lmb;
var Mmb;
var Nmb;
var nQ=function(){return _.K.apply(this,arguments)||this};
_.q(nQ,_.K);nQ.prototype.freeTextValueChanged=function(a){_.C(this,"yt-free-text-flow-step-input-changed",[{freeTextAnswers:[{answer:a}]}])};
nQ.prototype.updateFreeTextValueFromBinding=function(a){this.freeTextValue=a.detail.value};
_.t.Object.defineProperties(nQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Nmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-free-text-input-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_free_text_input_flow_step_renderer.yt.free.text.input.flow.step.renderer.css.js--\x3e<div id="question-container"><yt-formatted-string id="question" split-lines="1" text="[[data.question]]"></yt-formatted-string></div><div id="input-area"><tp-yt-paper-textarea id="user-input" char-counter="" label="[[getSimpleString(data.questionExplanation)]]" maxlength="[[data.responseMaxLength]]" placeholder="[[data.placeholderText]]" required="" rows="5" value="[[freeTextValue]]" on-value-changed="updateFreeTextValueFromBinding"></tp-yt-paper-textarea></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Mmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_free_text_input_flow_step_renderer.yt.free.text.input.flow.step.renderer.css.js--\x3e<style>:host {box-sizing: border-box;padding: 24px;width: 450px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #question-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;color: var(--yt-spec-text-primary);margin-bottom: 24px;} /*# sourceMappingURL=yt-free-text-input-flow-step-renderer.css.map*/</style>';
Mmb=d}d=Mmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Nmb=a}a=Nmb;return a}}});
var oQ=nQ;oQ.prototype.freeTextValueChanged=oQ.prototype.freeTextValueChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],oQ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],oQ.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],oQ.prototype,"freeTextValue",void 0);_.S([_.Z("#user-input"),_.T("design:type",HTMLTextAreaElement)],oQ.prototype,"input",void 0);
_.S([_.P("freeTextValue"),_.T("design:type",Function),_.T("design:paramtypes",[String]),_.T("design:returntype")],oQ.prototype,"freeTextValueChanged",null);oQ=_.S([_.lu({is:"yt-free-text-input-flow-step-renderer",isInjectionRoot:!0})],oQ);
var pQ=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-free-text-flow-step-input-changed":"handleFreeTextFlowStepInputChanged"};return a};
_.q(pQ,_.K);pQ.prototype.handleFreeTextFlowStepInputChanged=function(a){_.C(this,"yt-flow-partial-update-flow-state-entity",[{cancellationFlowState:{surveyFeedback:a}}])};
_.t.Object.defineProperties(pQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Lmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-free-text-input-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.flow.ytd_free_text_input_flow_step_renderer.ytd.free.text.input.flow.step.renderer.css.js--\x3e<yt-free-text-input-flow-step-renderer data="[[data]]"></yt-free-text-input-flow-step-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Kmb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.flow.ytd_free_text_input_flow_step_renderer.ytd.free.text.input.flow.step.renderer.css.js--\x3e<style>:host {display: inline-block;min-width: 450px;} /*# sourceMappingURL=ytd-free-text-input-flow-step-renderer.css.map*/</style>";Kmb=d}d=Kmb;c.call(b,
d.content.cloneNode(!0),a.content.firstChild);Lmb=a}a=Lmb;return a}}});
var qQ=pQ;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],qQ.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],qQ.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],qQ.prototype,"data",void 0);qQ=_.S([_.Q({asyncProperties:!0,is:"ytd-free-text-input-flow-step-renderer"})],qQ);
var Omb;
var Pmb;
var Qmb=function(){return _.K.apply(this,arguments)||this};
_.q(Qmb,_.K);
_.t.Object.defineProperties(Qmb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Pmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-billboard-masthead-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_billboard_masthead_renderer.ytd.billboard.masthead.renderer.css.js--\x3e<yt-img-shadow class="billboard with-placeholder" object-fit="COVER" thumbnail="[[data.billboard]]">\n</yt-img-shadow>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Omb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_billboard_masthead_renderer.ytd.billboard.masthead.renderer.css.js--\x3e<style>:host {--yt-img-shadow-min-height: 160px;display: flex;width: 100%;} .billboard {width: 100%;} /*# sourceMappingURL=ytd-billboard-masthead-renderer.css.map*/</style>";Omb=d}d=Omb;c.call(b,d.content.cloneNode(!0),
a.content.firstChild);Pmb=a}a=Pmb;return a}}});
var rQ=Qmb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],rQ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],rQ.prototype,"data",void 0);rQ=_.S([_.Q({asyncProperties:!0,is:"ytd-billboard-masthead-renderer"})],rQ);
var Rmb;
var Smb;
var sQ=function(){return _.K.apply(this,arguments)||this};
_.q(sQ,_.K);sQ.prototype.configureRendererStamper=function(){return{"data.metadataLines":{id:"metadata-lines",mapping:{metadataLineRenderer:{component:"ytd-metadata-line-renderer"}}}}};
_.t.Object.defineProperties(sQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Smb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-media-product-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_media_product_renderer.ytd.media.product.renderer.css.js--\x3e<div id="product">\n  <div id="image">\n    <yt-img-shadow id="thumbnail" height="90" thumbnail="[[data.thumbnail]]"></yt-img-shadow>\n  </div>\n  <div id="metadata">\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n    <div id="metadata-lines"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Rmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_media_product_renderer.ytd.media.product.renderer.css.js--\x3e<style>:host {display: inline-block;} :host([is-masthead]) {border-bottom: 1px solid var(--yt-spec-10-percent-layer);box-sizing: border-box;padding: 8px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;} #product {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #metadata {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #metadata-line {padding-top: 4px;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #image {padding-right: 12px;} /*# sourceMappingURL=ytd-media-product-renderer.css.map*/</style>';
Rmb=d}d=Rmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Smb=a}a=Smb;return a}}});
var tQ=sQ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],tQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],tQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],tQ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],tQ.prototype,"isMasthead",void 0);tQ=_.S([_.Q({asyncProperties:!0,is:"ytd-media-product-renderer"})],tQ);
var Tmb;
var Umb;
var Vmb=function(){return _.K.apply(this,arguments)||this};
_.q(Vmb,_.K);
_.t.Object.defineProperties(Vmb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Umb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-bullet-formatted-string--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_bullet_formatted_string.ytd.bullet.formatted.string.css.js--\x3e<yt-icon class="bullet-icon" hidden="[[!data.icon.iconType]]" icon="[[data.icon.iconType]]">\n</yt-icon>\n<yt-formatted-string class="text" split-lines="true" text="[[data.text]]">\n</yt-formatted-string>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Tmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_bullet_formatted_string.ytd.bullet.formatted.string.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .bullet-icon {color: var(--yt-spec-icon-active-other);} .text {-ms-align-self: center;-webkit-align-self: center;align-self: center;margin: 0 12px;} /*# sourceMappingURL=ytd-bullet-formatted-string.css.map*/</style>';
Tmb=d}d=Tmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Umb=a}a=Umb;return a}}});
var uQ=Vmb;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],uQ.prototype,"ytComponentBehaviorType",void 0);_.S([_.N(),_.T("design:type",Object)],uQ.prototype,"data",void 0);uQ=_.S([_.Q({asyncProperties:!0,is:"ytd-bullet-formatted-string"})],uQ);
var Wmb;
var Xmb;
var vQ=function(){return _.K.apply(this,arguments)||this};
_.q(vQ,_.K);vQ.prototype.configureRendererStamper=function(){return{"data.product":{id:"product",mapping:{mediaProductRenderer:"ytd-media-product-renderer"}}}};
_.t.Object.defineProperties(vQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Xmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offer-detail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_detail_renderer.ytd.offer.detail.renderer.css.js--\x3e<yt-formatted-string class="description" split-lines="true" text="[[data.description]]">\n</yt-formatted-string>\n<div id="product"></div>\n<div class="benefits">\n    <template is="dom-repeat" items="[[data.benefits]]" as="benefit">\n      <ytd-bullet-formatted-string class="benefit" data="[[benefit]]">\n      </ytd-bullet-formatted-string>\n    </template>\n</div>\n<yt-formatted-string class="terms" text="[[data.terms]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Wmb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_detail_renderer.ytd.offer.detail.renderer.css.js--\x3e<style>:host {display: block;color: var(--yt-spec-text-primary);} :host>* {margin: 8px 0;} .description {display: block;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;letter-spacing: 0.2px;} #product {padding: 8px 0;} .benefit {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;letter-spacing: 0.2px;padding: 4px 0;} .terms {display: block;margin: 8px 0 0;padding: 8px 0;--yt-badge-line-height-size: 1.8rem;--yt-badge-letter-spacing: .03rem;--yt-badge-font-weight: 400;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);color: var(--yt-spec-text-secondary);} /*# sourceMappingURL=ytd-offer-detail-renderer.css.map*/</style>';
Wmb=d}d=Wmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Xmb=a}a=Xmb;return a}}});
var wQ=vQ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],wQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],wQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],wQ.prototype,"data",void 0);wQ=_.S([_.Q({asyncProperties:!0,is:"ytd-offer-detail-renderer"})],wQ);
var Ymb;
var Zmb;
var xQ=function(){return _.K.apply(this,arguments)||this};
_.q(xQ,_.K);xQ.prototype.configureRendererStamper=function(){return{"data.masthead":{id:"masthead",mapping:{billboardMastheadRenderer:"ytd-billboard-masthead-renderer"}},"data.body":{id:"body",mapping:{offerDetailRenderer:"ytd-offer-detail-renderer"}}}};
_.t.Object.defineProperties(xQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Zmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offer-detail-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_detail_step_renderer.ytd.offer.detail.step.renderer.css.js--\x3e<div id="masthead"></div>\n<div id="body"></div>\n\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ymb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_detail_step_renderer.ytd.offer.detail.step.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;max-height: 600px;max-width: 575px;min-width: 575px;} #body {padding: 0 24px;} /*# sourceMappingURL=ytd-offer-detail-step-renderer.css.map*/</style>";
Ymb=d}d=Ymb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Zmb=a}a=Zmb;return a}}});
var yQ=xQ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],yQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],yQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],yQ.prototype,"data",void 0);yQ=_.S([_.Q({asyncProperties:!0,is:"ytd-offer-detail-step-renderer"})],yQ);
var $mb;
var anb;
var zQ=function(){return _.K.apply(this,arguments)||this};
_.q(zQ,_.K);zQ.prototype.configureRendererStamper=function(){return{"data.masthead":{id:"masthead",mapping:{billboardMastheadRenderer:"ytd-billboard-masthead-renderer",mediaProductRenderer:{component:"ytd-media-product-renderer",params:{isMasthead:!0}}}},"data.body":{id:"body",mapping:{offerSectionRenderer:"ytd-offer-section-renderer"}}}};
_.t.Object.defineProperties(zQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===anb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offer-selection-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_selection_step_renderer.ytd.offer.selection.step.renderer.css.js--\x3e<div id="masthead"></div>\n<div id="body"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$mb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_offer_selection_step_renderer.ytd.offer.selection.step.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;padding: 0 0 16px 0;max-height: 600px;max-width: 575px;min-width: 575px;} #body ytd-offer-section-renderer:last-of-type {border: none;} /*# sourceMappingURL=ytd-offer-selection-step-renderer.css.map*/</style>";
$mb=d}d=$mb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);anb=a}a=anb;return a}}});
var AQ=zQ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],AQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AQ.prototype,"data",void 0);AQ=_.S([_.Q({asyncProperties:!0,is:"ytd-offer-selection-step-renderer"})],AQ);
var bnb;
var cnb;
var dnb=function(){return _.K.apply(this,arguments)||this};
_.q(dnb,_.K);
_.t.Object.defineProperties(dnb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-confirmation-masthead-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_confirmation_masthead_renderer.ytd.confirmation.masthead.renderer.css.js--\x3e<yt-img-shadow class="thumbnail" thumbnail="[[data.thumbnail]]" width="90"></yt-img-shadow>\n<yt-icon class="entitlement-icon" hidden="[[!data.entitlementIcon.iconType]]" icon="[[data.entitlementIcon.iconType]]">\n</yt-icon>\n\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bnb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_confirmation_masthead_renderer.ytd.confirmation.masthead.renderer.css.js--\x3e<style>:host {width: fit-content;position: relative;margin-left: auto;margin-right: auto;overflow: hidden;display: block;overflow: visible;} .entitlement-icon {border-radius: 50%;background-color: transparent;overflow: hidden;background-color: var(--yt-spec-commerce-badge-background);bottom: -5%;color: var(--yt-spec-themed-green);height: 32px;right: -10%;position: absolute;width: 32px;} /*# sourceMappingURL=ytd-confirmation-masthead-renderer.css.map*/</style>";
bnb=d}d=bnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cnb=a}a=cnb;return a}}});
var BQ=dnb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],BQ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],BQ.prototype,"data",void 0);BQ=_.S([_.Q({asyncProperties:!0,is:"ytd-confirmation-masthead-renderer"})],BQ);
var enb;
var fnb;
var gnb=function(){return _.K.apply(this,arguments)||this};
_.q(gnb,_.K);
_.t.Object.defineProperties(gnb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-purchase-complete-detail-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_purchase_complete_detail_renderer.ytd.purchase.complete.detail.renderer.css.js--\x3e<template is="dom-repeat" items="[[data.description]]" as="description">\n    <yt-formatted-string class="description" split-lines="true" text="[[description]]">\n    </yt-formatted-string>\n</template>\n<template is="dom-repeat" items="[[data.benefits]]" as="benefit">\n    <ytd-bullet-formatted-string class="benefit" data="[[benefit]]">\n    </ytd-bullet-formatted-string>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===enb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_purchase_complete_detail_renderer.ytd.purchase.complete.detail.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host>* {margin: 8px 0;} .description {display: block;} /*# sourceMappingURL=ytd-purchase-complete-detail-renderer.css.map*/</style>';
enb=d}d=enb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fnb=a}a=fnb;return a}}});
var CQ=gnb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],CQ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],CQ.prototype,"data",void 0);CQ=_.S([_.Q({asyncProperties:!0,is:"ytd-purchase-complete-detail-renderer"})],CQ);
var hnb;
var inb;
var DQ=function(){return _.K.apply(this,arguments)||this};
_.q(DQ,_.K);DQ.prototype.configureRendererStamper=function(){return{"data.masthead":{id:"masthead",mapping:{confirmationMastheadRenderer:"ytd-confirmation-masthead-renderer"}},"data.body":{id:"body",mapping:{purchaseCompleteDetailRenderer:"ytd-purchase-complete-detail-renderer"}}}};
_.t.Object.defineProperties(DQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===inb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-purchase-complete-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_purchase_complete_step_renderer.ytd.purchase.complete.step.renderer.css.js--\x3e<div id="masthead"></div>\n<div id="body"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hnb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.purchase_panel.ytd_purchase_complete_step_renderer.ytd.purchase.complete.step.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;max-height: 600px;max-width: 575px;min-width: 575px;} #masthead {padding-top: 16px;padding-bottom: 16px;} #body {padding: 8px 24px;} /*# sourceMappingURL=ytd-purchase-complete-step-renderer.css.map*/</style>";
hnb=d}d=hnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);inb=a}a=inb;return a}}});
var EQ=DQ;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],EQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],EQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],EQ.prototype,"data",void 0);EQ=_.S([_.Q({asyncProperties:!0,is:"ytd-purchase-complete-step-renderer"})],EQ);
var jnb;
var knb;
var lnb;
var mnb;
var nnb=function(){return _.K.apply(this,arguments)||this};
_.q(nnb,_.K);
_.t.Object.defineProperties(nnb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-benefits-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_benefits_item_renderer.yt.benefits.item.renderer.css.js--\x3e<div id="benefits-item"><yt-formatted-string id="benefits-item-title" class="lhs" text="[[data.title]]"></yt-formatted-string><yt-formatted-string id="benefits-item-info-text" class="rhs" hidden="[[!data.text]]" text="[[data.text]]"></yt-formatted-string><yt-button-renderer id="benefits-item-info-button" class="rhs" data="[[data.button.buttonRenderer]]" hidden="[[!data.button.buttonRenderer]]"></yt-button-renderer></div>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lnb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_benefits_item_renderer.yt.benefits.item.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2.2rem;font-weight: 400;} #benefits-item {padding: 12px 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .lhs {-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} .rhs {min-width: 60px;margin-left: 8px;text-align: end;} yt-button-renderer#benefits-item-info-button {margin: -6px -16px;} /*# sourceMappingURL=yt-benefits-item-renderer.css.map*/</style>';
lnb=d}d=lnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mnb=a}a=mnb;return a}}});
var onb=nnb;_.S([_.N(),_.T("design:type",Object)],onb.prototype,"data",void 0);onb=_.S([_.lu({is:"yt-benefits-item-renderer",isInjectionRoot:!0})],onb);
var pnb;
var qnb;
var FQ=function(){return _.K.apply(this,arguments)||this};
_.q(FQ,_.K);FQ.prototype.configureRendererStamper=function(){return{"data.items":{id:"benefits-items",mapping:{benefitsItemRenderer:{component:"yt-benefits-item-renderer"}}}}};
_.t.Object.defineProperties(FQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-benefits-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_benefits_section_renderer.yt.benefits.section.renderer.css.js--\x3e<div id="benefits-section"><div id="benefits-header"><yt-formatted-string id="benefits-header-text" split-lines="1" text="[[data.header]]"></yt-formatted-string><div hidden="[[!data.tooltip]]"><yt-icon id="tooltip-icon" icon="yt-icons:info-outline"></yt-icon><tp-yt-paper-tooltip id="tooltip" always-display=""><yt-formatted-string split-lines="1" text="[[data.tooltip]]"></yt-formatted-string></tp-yt-paper-tooltip></div></div><div id="benefits-items"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pnb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_benefits_section_renderer.yt.benefits.section.renderer.css.js--\x3e<style>#benefits-section {padding: 12px 8px 0;} #benefits-header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);color: var(--yt-spec-text-primary);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #benefits-header-text {padding: 12px 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=yt-benefits-section-renderer.css.map*/</style>';
pnb=d}d=pnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qnb=a}a=qnb;return a}}});
var GQ=FQ;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],GQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],GQ.prototype,"data",void 0);GQ=_.S([_.lu({is:"yt-benefits-section-renderer",isInjectionRoot:!0})],GQ);
var HQ=function(){return _.K.apply(this,arguments)||this};
_.q(HQ,_.K);HQ.prototype.configureRendererStamper=function(){return{"data.benefitsSections":{id:"benefits-sections",mapping:{benefitsSectionRenderer:{component:"yt-benefits-section-renderer"}}}}};
_.t.Object.defineProperties(HQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===knb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-benefits-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_benefits_flow_step_renderer.yt.benefits.flow.step.renderer.css.js--\x3e<div id="header-container"><yt-img-shadow id="avatar" height="72" thumbnail="[[data.avatar]]" width="72"></yt-img-shadow><div id="header-content"><yt-formatted-string id="subtitle-text" split-lines="1" text="[[data.subtitleText]]"></yt-formatted-string><yt-formatted-string id="title-text" split-lines="1" text="[[data.titleText]]"></yt-formatted-string></div></div><div id="benefits-sections"></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jnb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_benefits_flow_step_renderer.yt.benefits.flow.step.renderer.css.js--\x3e<style>:host {box-sizing: border-box;padding: 24px 0;width: 450px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #avatar {float: left;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} #header-container {padding: 0 24px;overflow: hidden;} yt-formatted-string#title-text {display: block;color: var(--yt-spec-text-primary);margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} yt-formatted-string#subtitle-text {display: block;color: var(--yt-spec-text-disabled);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=yt-benefits-flow-step-renderer.css.map*/</style>';
jnb=d}d=jnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);knb=a}a=knb;return a}}});
var IQ=HQ;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],IQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],IQ.prototype,"data",void 0);IQ=_.S([_.lu({is:"yt-benefits-flow-step-renderer",isInjectionRoot:!0})],IQ);
var rnb;
var snb;
var tnb=function(){return _.K.apply(this,arguments)||this};
_.q(tnb,_.K);
_.t.Object.defineProperties(tnb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===snb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-confirmation-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_confirmation_flow_step_renderer.yt.confirmation.flow.step.renderer.css.js--\x3e<div id="thumbnail-container"><yt-img-shadow id="thumbnail" height="209" thumbnail="[[data.image]]" width="209"></yt-img-shadow></div><div id="title-container"><yt-formatted-string id="title" split-lines="1" text="[[data.titleText]]"></yt-formatted-string></div><div id="subtitle-container"><yt-formatted-string id="subtitle" split-lines="1" text="[[data.subtitleText]]"></yt-formatted-string></div>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rnb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_confirmation_flow_step_renderer.yt.confirmation.flow.step.renderer.css.js--\x3e<style>:host {box-sizing: border-box;padding: 24px;width: 450px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #thumbnail-container {display: flex;justify-content: center;} #title-container {color: var(--yt-spec-text-primary);text-align: center;font-family: "YouTube Sans","Roboto",sans-serif;font-size: 3.2rem;line-height: 4.4rem;font-weight: 700;} #subtitle-container {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);text-align: center;} /*# sourceMappingURL=yt-confirmation-flow-step-renderer.css.map*/</style>';
rnb=d}d=rnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);snb=a}a=snb;return a}}});
var JQ=tnb;_.S([_.N(),_.T("design:type",Object)],JQ.prototype,"data",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JQ.prototype,"ytRendererBehavior",void 0);JQ=_.S([_.lu({is:"yt-confirmation-flow-step-renderer",isInjectionRoot:!0})],JQ);
var unb;
var vnb;
var wnb=function(){return _.K.apply(this,arguments)||this};
_.q(wnb,_.K);
_.t.Object.defineProperties(wnb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-info-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_info_flow_step_renderer.yt.info.flow.step.renderer.css.js--\x3e<div id="title-container"><yt-formatted-string id="title" split-lines="1" text="[[data.titleText]]"></yt-formatted-string></div><div id="subtitle-text-container"><yt-formatted-string id="subtitle-text" split-lines="1" text="[[data.subtitleText]]"></yt-formatted-string></div>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===unb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_info_flow_step_renderer.yt.info.flow.step.renderer.css.js--\x3e<style>:host {box-sizing: border-box;padding: 24px;width: 450px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 500;} #subtitle-text {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2.2rem;font-weight: 400;} #subtitle-text-container {margin-top: 8px;} /*# sourceMappingURL=yt-info-flow-step-renderer.css.map*/</style>';
unb=d}d=unb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vnb=a}a=vnb;return a}}});
var xnb=wnb;_.S([_.N(),_.T("design:type",Object)],xnb.prototype,"data",void 0);xnb=_.S([_.lu({is:"yt-info-flow-step-renderer",noInjection:!0})],xnb);
var ynb;
var znb;
var Anb=function(){return _.K.apply(this,arguments)||this};
_.q(Anb,_.K);
_.t.Object.defineProperties(Anb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===znb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-info-list-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_info_list_flow_step_renderer.yt.info.list.flow.step.renderer.css.js--\x3e<div id="title-container"><yt-formatted-string id="title" split-lines="1" text="[[data.titleText]]"></yt-formatted-string></div><div id="info-list-header-container"><yt-formatted-string id="info-list-header" force-default-style="" split-lines="1" text="[[data.infoListHeader]]"></yt-formatted-string></div><div id="info-items-container"><template is="dom-repeat" items="[[data.infoItems]]" as="item"><div id="info-list-item"><yt-icon id="info-icon" icon="[[item.icon.iconType]]"></yt-icon><yt-formatted-string id="info-text" split-lines="1" text="[[item.text]]"></yt-formatted-string></div></template></div><div id="description-text-container"><yt-formatted-string id="description-text" split-lines="1" text="[[data.descriptionText]]"></yt-formatted-string></div>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ynb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.flow.yt_info_list_flow_step_renderer.yt.info.list.flow.step.renderer.css.js--\x3e<style>:host {box-sizing: border-box;padding: 24px;width: 450px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title-container {margin-bottom: 24px;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;color: var(--yt-spec-text-primary);} #info-list-header-container {margin-bottom: 12px;} #info-list-header {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-primary);} #description-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2.2rem;font-weight: 400;color: var(--yt-spec-text-primary);} #info-items-container {padding-top: 8px;padding-bottom: 8px;} #info-list-item {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-bottom: 8px;} #info-icon {--iron-icon-width: 1.8rem;--iron-icon-height: 1.8rem;color: var(--yt-spec-text-primary);margin-right: 12px;} #info-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-primary);} #description-text-container {margin-top: 8px;} /*# sourceMappingURL=yt-info-list-flow-step-renderer.css.map*/</style>';
ynb=d}d=ynb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);znb=a}a=znb;return a}}});
var Bnb=Anb;_.S([_.N(),_.T("design:type",Object)],Bnb.prototype,"data",void 0);Bnb=_.S([_.lu({is:"yt-info-list-flow-step-renderer",isInjectionRoot:!0})],Bnb);
var KQ=function(){return _.K.apply(this,arguments)||this};
_.q(KQ,_.K);KQ.prototype.onProgressChanged=function(){var a,b,c=100*(null!=(b=null==(a=this.data)?void 0:a.progress)?b:0);this.progressElement.style.width=c+"%"};
KQ.prototype.isProgressHidden=function(){var a;return!(null==(a=this.data)?0:a.progress)};
KQ.prototype.configureRendererStamper=function(){return{"data.topBarOverride":{id:"top-bar",mapping:{flowTopBarRenderer:"ytd-flow-top-bar-renderer"}},"data.content":{id:"content",mapping:{benefitsFlowStepRenderer:"yt-benefits-flow-step-renderer",confirmationFlowStepRenderer:"yt-confirmation-flow-step-renderer",freeTextInputFlowStepRenderer:"ytd-free-text-input-flow-step-renderer",infoFlowStepRenderer:"yt-info-flow-step-renderer",infoListFlowStepRenderer:"yt-info-list-flow-step-renderer",offerDetailStepRenderer:"ytd-offer-detail-step-renderer",
offerSelectionStepRenderer:"ytd-offer-selection-step-renderer",purchaseCompleteStepRenderer:"ytd-purchase-complete-step-renderer",surveyFlowStepRenderer:"ytd-survey-flow-step-renderer"}},"data.bottomBar":{id:"bottom-bar",mapping:{flowBottomBarRenderer:"ytd-flow-bottom-bar-renderer"}}}};
_.t.Object.defineProperties(KQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Hmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-flow-step-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_step_renderer.ytd.flow.step.renderer.css.js--\x3e<div id="top-bar"></div>\n<div id="progress-container" hidden="[[isProgressHidden(data)]]">\n  <div id="progress"></div>\n</div>\n<div id="content"></div>\n<div id="bottom-bar"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Gmb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_step_renderer.ytd.flow.step.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-secondary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {overflow-y: auto;} #content::-webkit-scrollbar {width: 16px;} #content::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} #content::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} #progress-container {height: 4px;background: var(--yt-spec-10-percent-layer);} #progress-container[hidden] {display: hidden;} #progress {height: 4px;background-color: var(--yt-spec-text-primary);width: 0;} /*# sourceMappingURL=ytd-flow-step-renderer.css.map*/</style>";
Gmb=d}d=Gmb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Hmb=a}a=Hmb;return a}}});
var LQ=KQ;LQ.prototype.onProgressChanged=LQ.prototype.onProgressChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],LQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],LQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],LQ.prototype,"data",void 0);_.S([_.Z("#progress"),_.T("design:type",HTMLElement)],LQ.prototype,"progressElement",void 0);
_.S([_.P("data.progress"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],LQ.prototype,"onProgressChanged",null);LQ=_.S([_.Q({asyncProperties:!0,is:"ytd-flow-step-renderer"})],LQ);
var Cnb=function(){this.ongoingFlowNonces=new Map},Dnb,Enb=function(){Dnb||(Dnb=new Cnb);
return Dnb},Fnb=function(a,b,c){return{eventType:{flowEventNamespace:a,
flowEventType:b},metadata:c,statusCode:void 0,csn:void 0,can:void 0}},Hnb=function(a,b,c,d){a={flowNonce:d||Gnb(a,c),
flowType:c,flowEventType:b.eventType};b.metadata&&(a.flowMetadata=b.metadata);void 0!==b.statusCode&&(a.flowEventStatus=b.statusCode);b.csn&&(a.csn=b.csn);b.can&&(a.can=b.can);_.Kf("flowEvent",a,void 0)},Gnb=function(a,b,c){c=void 0===c?!1:c;
var d=a.ongoingFlowNonces.get(b);if(!d||c)d=_.$f(),a.ongoingFlowNonces.set(b,d);return d};
var MQ=function(a){this.resolveCommand=a;this.steps={}},Inb=function(a,b){b=_.k(b||[]);
for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=Object.values(c)[0],e=void 0;if(null==(e=d)?0:e.stepId)a.steps[d.stepId]=c}},Lnb=function(a,b){var c,d,e;
return _.y(function(h){if(null==(c=a.state)||!c.currentStepId)return h.return(void 0);d=Jnb(a);if(!d)return h.return(Knb(a));if(e=d.flowStepRenderer){var l;(null==(l=e.screenLoggingData)?0:l.screenVeType)&&_.ks(_.vp(),e.screenLoggingData.screenVeType)}if(e&&b){var m,p,r,v;(null==(m=b.flowLoggingData)?0:m.eventNamespace)&&(null==(p=e.flowEventData)?0:p.eventType)&&(null==(r=e.flowEventData)?0:r.eventMetadata)&&(null==(v=b.flowLoggingData)?0:v.flowType)&&(l=Fnb(b.flowLoggingData.eventNamespace,e.flowEventData.eventType,
e.flowEventData.eventMetadata),Hnb(Enb(),l,b.flowLoggingData.flowType))}return h.return(d)})};
MQ.prototype.back=function(){var a;null!=(a=this.state)&&a.stepIdStack&&(this.state.currentStepId=this.state.stepIdStack.pop())};
MQ.prototype.handleUpdateFlowCommand=function(a){a.steps&&Inb(this,a.steps);a.entityUpdateCommand&&this.resolveCommand(a.entityUpdateCommand,{});a.flowContinuationCommand&&(a=a.flowContinuationCommand)&&(this.getFlowContinuationCommand=a);this.awaitFlowContinuation&&(this.awaitFlowContinuation(Jnb(this)),this.awaitFlowContinuation=void 0)};
MQ.prototype.reset=function(){this.state=void 0;this.steps={};this.awaitFlowContinuation=this.getFlowContinuationCommand=void 0};
var Knb=function(a){return _.y(function(b){return a.getFlowContinuationCommand?b.return(new Promise(function(c){a.awaitFlowContinuation=c;a.getFlowContinuationCommand&&a.resolveCommand(a.getFlowContinuationCommand,{flow_state:a.state})})):b.return(Promise.resolve(void 0))})},Jnb=function(a){var b;
if(null!=(b=a.state)&&b.currentStepId)return a.steps[a.state.currentStepId]};
var NQ=function(){var a=_.K.apply(this,arguments)||this;a.flowState=new MQ(function(b,c){c=void 0===c?{}:c;_.Gi.instance.resolveCommand(b,{form:{form:c,element:a}})});
a.initialState=!0;a.isLoading=!1;a.actionMap={"yt-flow-prev-step-command":"handleFlowPrevStepCommand","yt-flow-next-step-command":"handleFlowNextStepCommand","yt-update-flow-command":"handleUpdateFlowCommand","yt-ypc-cancel-recurrence-command":"handleYpcCancelRecurrenceCommand","yt-flow-partial-update-flow-state-entity":"handlePartialUpdateFlowStateEntity"};return a};
_.q(NQ,_.K);_.f=NQ.prototype;_.f.onPopupClosed=function(){this.currentFlowStep=this.data=void 0;this.initialState=!0;this.flowState.reset()};
_.f.configureRendererStamper=function(){return{"data.topBar":{id:"top-bar",mapping:{flowTopBarRenderer:"ytd-flow-top-bar-renderer"}},currentFlowStep:{id:"flow-step",mapping:{flowStepRenderer:"ytd-flow-step-renderer"}}}};
_.f.attached=function(){this.setAttribute("dialog","true")};
_.f.computeTopBarHidden=function(a){var b;return!!(null==a?0:null==(b=a.flowStepRenderer)?0:b.topBarOverride)};
_.f.dataChanged=function(){var a=this,b,c,d;return _.y(function(e){if(1==e.nextAddress){(null==(b=a.data)?0:b.steps)&&Inb(a.flowState,a.data.steps);if(null==(c=a.data)?0:c.flowContinuationCommand){var h=a.data.flowContinuationCommand;h&&(a.flowState.getFlowContinuationCommand=h)}d=a;return _.B(e,Lnb(a.flowState,a.data),2)}d.currentFlowStep=e.yieldResult;_.bf(e)})};
_.f.flowChanged=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress){if(!a.flow)return c.return();a.flowState.state=a.flow;a.isLoading=!0;return _.B(c,Lnb(a.flowState,a.data),2)}b=c.yieldResult;if(!b)return c.return();a.currentFlowStep=b;a.initialState=!1;a.isLoading=!1;a.autofocusAndRefit();_.bf(c)})};
_.f.autofocusAndRefit=function(){var a=this,b=_.Eg().resolve(_.Cg(_.Bo));b&&b.isKeyBoardInUse()&&_.gy(this);_.nt(this,function(){a.fire("yt-refit")})};
_.f.handleUpdateFlowCommand=function(a){this.data&&(a=a.updateFlowCommand,a.targetId===this.data.targetId&&(a.flowContinuationCommand&&(this.data.flowContinuationCommand=a.flowContinuationCommand),this.flowState.handleUpdateFlowCommand(a),this.autofocusAndRefit()))};
_.f.handleFlowNextStepCommand=function(a){this.data&&this.flow&&this.flow.key&&(a=a.flowNextStepCommand,a.targetId===this.data.targetId&&(a=a.stepId||"",this.ytdReduxBehavior.dispatch(_.aF("flowStateEntity",this.flow.key,{currentStepId:a,stepIdStack:(this.flow.stepIdStack||[]).concat(a)}))))};
_.f.handleFlowPrevStepCommand=function(a){if(this.data&&this.flow&&this.flow.key&&(a=a.flowPrevStepCommand,a.targetId===this.data.targetId)){var b=[].concat(_.sc(this.flow.stepIdStack||[]));1<b.length?(b.pop(),this.ytdReduxBehavior.dispatch(_.aF("flowStateEntity",this.flow.key,{currentStepId:b[b.length-1],stepIdStack:b}))):a.onFirstStepCommand&&this.ytComponentBehavior.resolveCommand(a.onFirstStepCommand)}};
_.f.handleYpcCancelRecurrenceCommand=function(a){if(this.data&&this.flow&&this.flow.key&&(a=a.ypcCancelRecurrenceCommand,a.targetId===this.data.targetId&&a.endpointCommand)){var b=this.flow.cancellationFlowState;b&&a.endpointCommand.ypcCancelRecurrenceEndpoint&&(a.endpointCommand.ypcCancelRecurrenceEndpoint.feedbackData=b.surveyFeedback);this.ytComponentBehavior.resolveCommand(a.endpointCommand)}};
_.f.handlePartialUpdateFlowStateEntity=function(a){this.data&&this.flow&&this.flow.key&&this.ytdReduxBehavior.dispatch(_.aF("flowStateEntity",this.flow.key,a,"REPEATED_FIELDS_MERGE_OPTION_REPLACE"))};
_.t.Object.defineProperties(NQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Fmb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-flow-root-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_root_renderer.ytd.flow.root.renderer.css.js--\x3e<div id="top-bar" hidden="[[computeTopBarHidden(currentFlowStep)]]"></div>\n<div id="content">\n  <div id="flow-step"></div>\n  <div id="spinner-overlay" hidden="[[!isLoading]]">\n    <tp-yt-paper-spinner-lite active="[[isLoading]]"></tp-yt-paper-spinner-lite>\n  </div>\n</div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Emb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.flow.ytd_flow_root_renderer.ytd.flow.root.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--paper-spinner-color: var(--yt-spec-call-to-action);background: var(--yt-spec-brand-background-primary);margin: 0;padding: 0;} :host {background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {position: relative;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #flow-step {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} :host([initial-state]) {min-width: 200px;min-height: 200px;} #spinner-overlay {background-color: var(--yt-spec-themed-overlay-background);position: absolute;top: 0;right: 0;bottom: 0;left: 0;} tp-yt-paper-spinner-lite {position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);} /*# sourceMappingURL=ytd-flow-root-renderer.css.map*/</style>";
Emb=d}d=Emb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Fmb=a}a=Fmb;return a}}});
var OQ=NQ;OQ.prototype.flowChanged=OQ.prototype.flowChanged;OQ.prototype.dataChanged=OQ.prototype.dataChanged;OQ.prototype.onPopupClosed=OQ.prototype.onPopupClosed;_.S([_.L(_.Wu),_.T("design:type",Object)],OQ.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],OQ.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],OQ.prototype,"ytComponentBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],OQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],OQ.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],OQ.prototype,"initialState",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],OQ.prototype,"isLoading",void 0);_.S([_.N(),_.T("design:type",Object)],OQ.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],OQ.prototype,"currentFlowStep",void 0);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],OQ.prototype,"onPopupClosed",null);_.S([_.N({selectorArgs:["data.flowStateEntityKey"],selector:function(a,b){return _.Yg(a.entities,"flowStateEntity",b)}}),
_.T("design:type",Object)],OQ.prototype,"flow",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype",Promise)],OQ.prototype,"dataChanged",null);_.S([_.Ct("flow"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype",Promise)],OQ.prototype,"flowChanged",null);OQ=_.S([_.Q({is:"ytd-flow-root-renderer"})],OQ);
var Mnb;
var Nnb;
var PQ=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-signal-action-submit-form":"handleSignalActionSubmitForm","yt-signal-action-submit-popup-form-fields":"handleSignalActionSubmitPopupFormFields"};return a};
_.q(PQ,_.K);_.f=PQ.prototype;_.f.configureRendererStamper=function(){return{"data.form":{id:"form",mapping:{formRenderer:"yt-form-renderer"}},"data.buttons":{id:"buttons",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.handleSignalActionSubmitForm=function(){if(this.formRenderer){var a=this.formRenderer.getForm();a&&(_.Kg(this,[this.data.submitEndpoint,a]),_.C(this,"yt-close-popup-action"))}};
_.f.handleSignalActionSubmitPopupFormFields=function(){this.formRenderer&&(this.formRenderer.submitFormFields(),_.C(this,"yt-close-popup-action"))};
_.f.onPopupClosed=function(){this.formRenderer&&this.formRenderer.reset()};
_.f.onPopupOpened=function(){this.fire("yt-invalidate-popup-tabbables")};
_.f.onYtServiceRequestCompleted=function(a,b){b.data&&b.data.success&&(this.set("data.buttons.1.buttonRenderer.isDisabled",!1),this.fire("yt-invalidate-popup-tabbables"))};
_.t.Object.defineProperties(PQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Nnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-form-popup-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.forms.ytd_form_popup_renderer.ytd.form.popup.renderer.css.js--\x3e<div id="title">[[getSimpleString(data.title)]]</div>\n<div id="form"></div>\n<div id="buttons"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Mnb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.forms.ytd_form_popup_renderer.ytd.form.popup.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {padding: 0;margin: 0;min-width: 500px;background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {display: block;color: var(--yt-spec-text-primary);margin: 24px 24px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #form {margin: 0 24px 34px 24px;} yt-form-renderer {display: block;} /*# sourceMappingURL=ytd-form-popup-renderer.css.map*/</style>';
Mnb=d}d=Mnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Nnb=a}a=Nnb;return a}}});
var QQ=PQ;QQ.prototype.onYtServiceRequestCompleted=QQ.prototype.onYtServiceRequestCompleted;QQ.prototype.onPopupOpened=QQ.prototype.onPopupOpened;QQ.prototype.onPopupClosed=QQ.prototype.onPopupClosed;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],QQ.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],QQ.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],QQ.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],QQ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],QQ.prototype,"data",void 0);_.S([_.Z("yt-form-renderer"),_.T("design:type",_.MI)],QQ.prototype,"formRenderer",void 0);
_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QQ.prototype,"onPopupClosed",null);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QQ.prototype,"onPopupOpened",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],QQ.prototype,"onYtServiceRequestCompleted",null);
QQ=_.S([_.Q({asyncProperties:!0,is:"ytd-form-popup-renderer"})],QQ);
var Onb;
var Pnb;
var RQ=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!1;return a};
_.q(RQ,_.K);_.f=RQ.prototype;_.f.configureRendererStamper=function(){return{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.linkButton":{id:"link-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.scrollable&&(this.scrollable.dialogElement=this.parentNode);c7a(this)};
_.f.onYtServiceRequestSent=function(){this.isLoading=!0};
_.f.onYtServiceRequestCompleted=function(){this.closeDialog()};
_.f.onYtServiceRequestError=function(a){this.closeDialog();this.ytOpenToastBehavior.openToast(a.detail.error.message)};
_.f.onDomChange=function(){this.ytRendererBehavior.markDirty()};
_.f.closeDialog=function(){this.isLoading=!1;_.C(this,"yt-close-popup-action",["ytd-connect-gpg-dialog-renderer"])};
_.t.Object.defineProperties(RQ.prototype,{hasDescription:{configurable:!0,enumerable:!0,get:function(){return!(!this.data||!this.data.description)}}});
_.t.Object.defineProperties(RQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Pnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-connect-gpg-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_connect_gpg_dialog_renderer.ytd.connect.gpg.dialog.renderer.css.js--\x3e<div id="header">\n  <div class="avatar-support">\n    <yt-img-shadow class="avatar" thumbnail="[[data.gamerAvatar]]">\n    </yt-img-shadow>\n  </div>\n  <div class="gamer-tag-support">\n    <yt-icon class="play-games-icon" icon="GOOGLE_PLAY_GAMES"></yt-icon>\n    <yt-formatted-string id="gamer-tag" text="[[data.gamerTag]]"></yt-formatted-string>\n  </div>\n  <div class="email-support">\n    <yt-formatted-string id="email-address" text="[[data.userIdentity]]">\n    </yt-formatted-string>\n  </div>\n  <div id="dismiss-button"></div>\n</div>\n<div id="content">\n  <yt-formatted-string id="title" text="[[data.header]]"></yt-formatted-string>\n  <div id="description-container" hidden="[[!hasDescription]]">\n    <template is="dom-repeat" items="[[data.description]]" as="description">\n      <yt-formatted-string class="description" text="[[description]]"></yt-formatted-string>\n    </template>\n  </div>\n</div>\n<div id="link-button-container">\n  <tp-yt-paper-spinner class="spinner" active="" hidden="[[!isLoading]]"></tp-yt-paper-spinner>\n  <div id="link-button" hidden="[[isLoading]]">\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Onb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_connect_gpg_dialog_renderer.ytd.connect.gpg.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;max-width: 500px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {background-size: cover;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .avatar-support {padding-bottom: 8px;padding-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .avatar {height: 56px;width: 56px;margin-left: 8px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} .play-games-icon {height: 16px;padding-right: 8px;width: 16px;} #dismiss-button {position: absolute;top: 0;right: 0;} #dismiss-button ytd-button-renderer {color: var(--yt-spec-icon-active-other);} #title {color: var(--yt-spec-text-primary);display: inline-block;margin: 0 24px;padding: 24px 0 0 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} .gamer-tag-support {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #gamer-tag {color: var(--yt-spec-text-primary);font-size: 1.8rem;line-height: 2.3rem;} .email-support {padding-bottom: 16px;padding-top: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #email-address {color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} :host([has-description]) #description-container {padding-top: 16px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #description-container {color: var(--yt-spec-text-secondary);display: inline-block;margin: 16px 24px 32px 24px;text-align: left;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #link-button-container {margin-bottom: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #link-button ytd-button-renderer {--yt-paper-button-min-width: 250px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-connect-gpg-dialog-renderer.css.map*/</style>';
Onb=d}d=Onb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Pnb=a}a=Pnb;return a}}});
var SQ=RQ;SQ.prototype.onDomChange=SQ.prototype.onDomChange;SQ.prototype.onYtServiceRequestError=SQ.prototype.onYtServiceRequestError;SQ.prototype.onYtServiceRequestCompleted=SQ.prototype.onYtServiceRequestCompleted;SQ.prototype.onYtServiceRequestSent=SQ.prototype.onYtServiceRequestSent;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],SQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],SQ.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.uF.YtOpenToastBehavior),_.T("design:type",Object)],SQ.prototype,"ytOpenToastBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],SQ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],SQ.prototype,"isLoading",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],SQ.prototype,"hasDescription",null);_.S([_.Z("tp-yt-paper-dialog-scrollable"),_.T("design:type",Object)],SQ.prototype,"scrollable",void 0);
_.S([_.Z("#header"),_.T("design:type",HTMLElement)],SQ.prototype,"header",void 0);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],SQ.prototype,"onYtServiceRequestSent",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],SQ.prototype,"onYtServiceRequestCompleted",null);
_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],SQ.prototype,"onYtServiceRequestError",null);_.S([_.O("dom-change"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],SQ.prototype,"onDomChange",null);SQ=_.S([_.Q({asyncProperties:!0,is:"ytd-connect-gpg-dialog-renderer"})],SQ);
var Qnb;
var Rnb;
var TQ=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!1;return a};
_.q(TQ,_.K);_.f=TQ.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");c7a(this)};
_.f.onYtServiceRequestSent=function(){this.isLoading=!0};
_.f.onYtServiceRequestCompleted=function(){_.C(this,"yt-close-popup-action",["ytd-gaming-account-link-confirm-dialog-renderer"])};
_.f.fireOnCloseActions=function(){this.isLoading=!1;this.data&&this.data.onClosedActions&&_.Lg(this,this.data.onClosedActions,this)};
_.f.closePopupHandler=function(){this.fireOnCloseActions()};
_.f.onHeaderImageChanged=function(){if(this.data){this.data.headerImage?this.setAttribute("dialog-with-header-image",""):this.removeAttribute("dialog-with-header-image");var a=this.get("data.headerImage.thumbnails");a&&(a=_.nu(a,this.clientWidth),this.$.header.style.backgroundImage="url("+a+")")}};
_.f.onYtNavigate=function(a){(a=_.H(a).rootTarget)&&a.parentElement===this.$["confirm-button"]&&this.parentElement&&this.parentElement.close()};
_.t.Object.defineProperties(TQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Rnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-gaming-account-link-confirm-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_gaming_account_link_confirm_dialog_renderer.ytd.gaming.account.link.confirm.dialog.renderer.css.js--\x3e<div id="header">\n  <div class="avatar-support" aria-hidden="true">\n    <yt-img-shadow class="avatar left" thumbnail="[[data.userAvatar]]">\n    </yt-img-shadow>\n    <yt-icon class="third-party-icon" icon="[[data.icon.iconType]]"></yt-icon>\n    <yt-img-shadow class="avatar right" thumbnail="[[data.thirdPartyAvatar]]">\n    </yt-img-shadow>\n  </div>\n  <div id="dismiss-button" dialog-dismiss=""></div>\n</div>\n<div id="main" hidden="[[data.showLoadingSpinner]]">\n  <yt-formatted-string id="title" hidden$="[[!data.title]]" text="[[data.title]]"></yt-formatted-string>\n  <div id="dialog-messages">\n    <template is="dom-repeat" items="[[data.dialogMessages]]">\n      <yt-formatted-string class="line-text" text="[[item]]"></yt-formatted-string>\n    </template>\n  </div>\n  <div class="buttons" hidden="[[isLoading]]">\n    <yt-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" hidden$="[[!data.cancelButton]]">\n    </yt-button-renderer>\n    <yt-button-renderer id="confirm-button" data="[[data.confirmButton.buttonRenderer]]" dialog-confirm="">\n    </yt-button-renderer>\n  </div>\n  <div class="spinner" hidden="[[!isLoading]]">\n    <tp-yt-paper-spinner active=""></tp-yt-paper-spinner>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Qnb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_gaming_account_link_confirm_dialog_renderer.ytd.gaming.account.link.confirm.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var(--yt-spec-10-percent-layer);--yt-endpoint-color: var(--yt-spec-themed-blue);background: var(--yt-spec-brand-background-primary);margin: 0;min-width: 400px;max-width: 688px;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .avatar-support {padding-bottom: 16px;padding-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .avatar {height: 56px;width: 56px;margin-left: -13px;margin-right: -13px;border-radius: 50%;background-color: transparent;overflow: hidden;} .avatar.left {z-index: 1;} .avatar.right {z-index: 0;} .third-party-icon {color: var(--yt-spec-static-brand-white);height: 16px;padding: 2px;width: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;background-color: var(--yt-spec-themed-blue);z-index: 2;} :host([dialog-with-header-image]) {width: min-content;} :host([dialog-with-thumbnail]) {min-width: 456px;} :host([dialog-with-thumbnail]) #main {min-width: 200px;} #main {margin-top: 24px;width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dialog-with-header-image]) #main {margin-top: 0;} #header-image {margin-bottom: 24px;width: max-content;} #title {display: block;color: var(--yt-spec-text-primary);margin: 16px 24px;font-size: 1.8rem;line-height: 2.3rem;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #dialog-messages {color: var(--yt-spec-text-secondary);margin: 4px 0 24px;padding: 0 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .line-text:not(:last-of-type) {display: block;margin-bottom: 8px;} .buttons {border-top: var(--yt-confirm-dialog-buttons-border-top,1px solid var(--yt-spec-10-percent-layer));position: relative;padding: 8px 8px 8px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} #cancel-button,#confirm-button {color: var(--yt-spec-call-to-action);margin-left: 8px;} :host([primary-is-cancel]) .buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} .spinner {margin-bottom: 24px;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-gaming-account-link-confirm-dialog-renderer.css.map*/</style>';
Qnb=d}d=Qnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Rnb=a}a=Rnb;return a}}});
var UQ=TQ;UQ.prototype.onYtNavigate=UQ.prototype.onYtNavigate;UQ.prototype.onHeaderImageChanged=UQ.prototype.onHeaderImageChanged;UQ.prototype.closePopupHandler=UQ.prototype.closePopupHandler;UQ.prototype.onYtServiceRequestCompleted=UQ.prototype.onYtServiceRequestCompleted;UQ.prototype.onYtServiceRequestSent=UQ.prototype.onYtServiceRequestSent;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],UQ.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],UQ.prototype,"ytEventForwardingBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],UQ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],UQ.prototype,"isLoading",void 0);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],UQ.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],UQ.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],UQ.prototype,"closePopupHandler",null);_.S([_.P("data.headerImage"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],UQ.prototype,"onHeaderImageChanged",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],UQ.prototype,"onYtNavigate",null);UQ=_.S([_.Q({asyncProperties:!0,is:"ytd-gaming-account-link-confirm-dialog-renderer"})],UQ);
var Snb;
var Tnb;
var VQ=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!1;return a};
_.q(VQ,_.K);_.f=VQ.prototype;_.f.configureRendererStamper=function(){return{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.linkButton":{id:"link-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.scrollable&&(this.scrollable.dialogElement=this.parentNode);c7a(this)};
_.f.onYtServiceRequestCompleted=function(){_.C(this,"yt-close-popup-action",["ytd-gaming-account-link-setting-renderer"])};
_.f.onYtServiceRequestError=function(a){this.ytOpenToastBehavior.openToast(a.detail.error.message)};
_.f.onDomChange=function(){this.ytRendererBehavior.markDirty()};
_.f.onButtonClick=function(){this.data&&(this.data.isContinueDialog||this.data.thirdPartyId&&"gpg"!==this.data.thirdPartyId&&_.C(this,"yt-initialize-third-party",[this.data.thirdPartyId]),this.isLoading=!0)};
_.f.onDataChanged=function(){this.isLoading=!1;var a=this.get("data.headerImage.thumbnails");a&&(a=_.nu(a,this.clientWidth),this.header.style.backgroundImage="url("+a+")");a=_.fg();var b=_.eg(),c=this.get("data.trackingParams");c&&b&&a&&_.tv(a,b,_.no(c))};
_.t.Object.defineProperties(VQ.prototype,{hasDescription:{configurable:!0,enumerable:!0,get:function(){return!(!this.data||!this.data.descriptions)}}});
_.t.Object.defineProperties(VQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Tnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-gaming-account-link-setting-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_gaming_account_link_setting_renderer.ytd.gaming.account.link.setting.renderer.css.js--\x3e<div id="header">\n  <div class="avatar-support" aria-hidden="true">\n    <yt-img-shadow class="avatar" thumbnail="[[data.userAvatar]]">\n    </yt-img-shadow>\n    <yt-icon class="third-party-icon" icon="[[data.icon.iconType]]"></yt-icon>\n    <yt-img-shadow class="avatar" thumbnail="[[data.thirdPartyAvatar]]">\n    </yt-img-shadow>\n  </div>\n  <div id="dismiss-button"></div>\n</div>\n<div id="content">\n  <yt-formatted-string id="title" text="[[data.header]]"></yt-formatted-string>\n  <div id="description-container" hidden="[[!hasDescription]]">\n    <template is="dom-repeat" items="[[data.descriptions]]" as="description">\n      <yt-formatted-string class="description" split-lines="" text="[[description]]"></yt-formatted-string>\n    </template>\n  </div>\n</div>\n<div id="link-button-container">\n  <tp-yt-paper-spinner class="spinner" active="" hidden="[[!isLoading]]"></tp-yt-paper-spinner>\n  <div id="link-button" hidden="[[isLoading]]" on-click="onButtonClick"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Snb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_gaming_account_link_setting_renderer.ytd.gaming.account.link.setting.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;max-width: 500px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {background-size: cover;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .avatar-support {padding-bottom: 16px;padding-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .avatar {height: 56px;width: 56px;margin-left: 8px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} .third-party-icon {height: 16px;padding: 2px;width: 16px;color: var(--yt-spec-filled-button-text);border-radius: 50%;background-color: transparent;overflow: hidden;background-color: var(--yt-spec-themed-blue);} #dismiss-button {position: absolute;top: 0;right: 0;} #dismiss-button ytd-button-renderer {color: var(--yt-spec-icon-active-other);} #title {color: var(--yt-spec-text-primary);display: inline-block;margin: 0 24px;padding: 24px 0 0 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} :host(:not([has-description])) #title {margin: 16px 24px;padding: 0;} :host([has-description]) #description-container {padding-top: 16px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #description-container {color: var(--yt-spec-text-secondary);display: inline-block;margin: 16px 24px 32px 24px;text-align: left;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #link-button-container {margin-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #link-button ytd-button-renderer {--yt-paper-button-min-width: 250px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} /*# sourceMappingURL=ytd-gaming-account-link-setting-renderer.css.map*/</style>';
Snb=d}d=Snb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Tnb=a}a=Tnb;return a}}});
var WQ=VQ;WQ.prototype.onDataChanged=WQ.prototype.onDataChanged;WQ.prototype.onDomChange=WQ.prototype.onDomChange;WQ.prototype.onYtServiceRequestError=WQ.prototype.onYtServiceRequestError;WQ.prototype.onYtServiceRequestCompleted=WQ.prototype.onYtServiceRequestCompleted;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],WQ.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],WQ.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.uF.YtOpenToastBehavior),_.T("design:type",Object)],WQ.prototype,"ytOpenToastBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],WQ.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],WQ.prototype,"isLoading",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],WQ.prototype,"hasDescription",null);_.S([_.Z("tp-yt-paper-dialog-scrollable"),_.T("design:type",Object)],WQ.prototype,"scrollable",void 0);
_.S([_.Z("#header"),_.T("design:type",HTMLElement)],WQ.prototype,"header",void 0);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],WQ.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],WQ.prototype,"onYtServiceRequestError",null);
_.S([_.O("dom-change"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],WQ.prototype,"onDomChange",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],WQ.prototype,"onDataChanged",null);WQ=_.S([_.Q({asyncProperties:!0,is:"ytd-gaming-account-link-setting-renderer"})],WQ);
var Unb;
var Vnb;
var Wnb;
var Xnb;
_.Ng({is:"yt-confirm-dialog-renderer",_template:function(){if(void 0!==Xnb)return Xnb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-confirm-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_confirm_dialog_renderer.yt.confirm.dialog.renderer.css.js--\x3e<div id="spinner" hidden="[[!showSpinner_]]">\n  <tp-yt-paper-spinner active="[[showSpinner_]]"></tp-yt-paper-spinner>\n</div>\n<yt-img-shadow id="thumbnail" hidden="[[!data.thumbnail]]" notify-on-loaded="" thumbnail="[[data.thumbnail]]" width="256">\n</yt-img-shadow>\n<div id="main" hidden="[[data.showLoadingSpinner]]">\n  <yt-img-shadow id="header-image" hidden="[[!data.headerImage]]" notify-on-loaded="" thumbnail="[[data.headerImage]]" width="[[data.headerImageWidth]]">\n  </yt-img-shadow>\n  <yt-formatted-string id="title" hidden$="[[!data.title]]" text="[[data.title]]"></yt-formatted-string>\n  <tp-yt-paper-dialog-scrollable id="scroller">\n    <template is="dom-repeat" items="[[data.dialogMessages]]">\n      <yt-formatted-string class="line-text" respect-html-dir="" split-lines="" text="[[item]]">\n      </yt-formatted-string>\n    </template>\n  </tp-yt-paper-dialog-scrollable>\n  <div class="buttons">\n    <yt-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" dialog-dismiss="" hidden="[[isCancelButtonHidden]]">\n    </yt-button-renderer>\n    <yt-button-renderer id="confirm-button" data="[[data.confirmButton.buttonRenderer]]" dialog-confirm$="[[!data.showLoadingSpinnerOnAction]]" hidden="[[!data.confirmButton]]">\n    </yt-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Wnb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_confirm_dialog_renderer.yt.confirm.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var( --yt-spec-10-percent-layer );background: var(--yt-spec-brand-background-primary);margin: 0;max-width: 688px;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([dialog][dialog][dialog][use-overlay-for-spinner_]) {position: relative;visibility: hidden;} :host([dialog-with-header-image]:not([has-header-image-width_])) {width: min-content;} :host(:not([use-overlay-for-spinner_])) #spinner {width: 400px;height: 224px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([use-overlay-for-spinner_]) #spinner {display: block;position: absolute;left: 50%;top: 50%;transform: translate(-50%,-50%);visibility: visible;} :host([dialog-with-thumbnail]) {min-width: 456px;} :host([dialog-with-thumbnail]) #main {min-width: 200px;} :host([dialog-with-thumbnail]) #scroller {margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;} #main {margin-top: var(--ytd-margin-6x);width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dialog-with-header-image]:not([has-header-image-width_])) #main {margin-top: 0;} :host([has-header-image-width_]) #header-image {margin: 0 0 24px;width: 100%;} :host(:not([has-header-image-width_])) #header-image {margin: 0 0 24px;width: max-content;} #title {display: block;color: var(--yt-spec-text-primary);margin-bottom: var(--ytd-margin-4x);padding: 0 var(--ytd-margin-6x);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #scroller {--paper-dialog-scrollable-min-width: 200px;--paper-dialog-scrollable-padding: 0 var(--ytd-margin-6x);--paper-dialog-scrollable-box-sizing: border-box;margin: var(--ytd-margin-base) 0 var(--ytd-margin-6x);flex: 1 0 auto;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} .line-text:not(:last-of-type) {display: block;margin-bottom: var(--ytd-margin-2x);} .buttons {border-top: var(--yt-confirm-dialog-buttons-border-top,1px solid var(--yt-spec-10-percent-layer));position: relative;padding: var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-6x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} #cancel-button,#confirm-button {margin-left: var(--ytd-margin-2x);} :host([primary-is-cancel]) .buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} @media(max-width:455px) {:host([dialog][dialog][dialog]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;}:host([dialog-with-thumbnail]) {min-width: initial;}:host([dialog-with-thumbnail]) #scroller {margin-bottom: 24px;min-height: initial;display: block;}} /*# sourceMappingURL=yt-confirm-dialog-renderer.css.map*/</style>";
Wnb=d}d=Wnb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Xnb=a},
hostAttributes:{dialog:!0},properties:{data:Object,primaryIsCancel:{type:Object,computed:"computePrimaryIsCancel_(data.primaryIsCancel)",reflectToAttribute:!0,readOnly:!0},isCancelButtonHidden:{type:Object,computed:"computeIsCancelButtonHidden_(data)",readOnly:!0},useOverlayForSpinner_:{type:Boolean,value:!1,computed:"computeUseOverlayForSpinner_(data.showLoadingSpinnerOnAction, isActionInProgress_)",reflectToAttribute:!0},showSpinner_:{type:Boolean,value:!1,computed:"computeShowSpinner_(useOverlayForSpinner_, data.showLoadingSpinner)"},
isActionInProgress_:{type:Boolean,value:!1},hasHeaderImageWidth_:{type:Boolean,value:!1,reflectToAttribute:!0,computed:"computeHasHeaderImageWidth_(data.headerImageWidth)"}},observers:["onHeaderImageChanged_(data.headerImage)","onHeaderImageWidthChanged_(data.headerImageWidth)","onThumbnailChanged_(data.thumbnail)"],behaviors:[_.U.YtRendererBehavior,_.Qw.YtEventForwardingBehavior],listeners:{"yt-img-shadow-loaded":"onThumbnailLoaded_","yt-navigate":"onYtNavigate_","yt-popup-opened":"openPopupHandler_",
"yt-popup-closed":"closePopupHandler_","yt-service-request-sent":"onYtServiceRequestSent_","yt-service-request-completed":"onYtServiceRequestCompleted_"},attached:function(){var a=this;this.$.scroller.dialogElement=this.parentNode;window.requestAnimationFrame(function(){a.$.thumbnail.onShow();a.$["header-image"].onShow()})},
computeUseOverlayForSpinner_:function(a,b){return!!a&&b},
computeShowSpinner_:function(a,b){return a||!!b},
fireOnCloseActions_:function(){if(_.x("kevlar_resolve_command_for_confirm_dialog"))for(var a=_.k(this.data.onClosedActions||[]),b=a.next();!b.done;b=a.next())this.resolveCommand(b.value);else this.data.onClosedActions&&_.Lg(this,this.data.onClosedActions,this)},
fireOnOpenCommands_:function(a){if(this.data.onOpenCommands)if(a.stopImmediatePropagation(),_.x("kevlar_resolve_command_for_confirm_dialog")){a=_.k(this.data.onOpenCommands);for(var b=a.next();!b.done;b=a.next())this.resolveCommand(b.value)}else _.Lg(this,this.data.onOpenCommands,this)},
fireOnDismissCommands_:function(a){if(this.data.onDismissCommands)if(a.stopImmediatePropagation(),_.x("kevlar_resolve_command_for_confirm_dialog")){a=_.k(this.data.onDismissCommands);for(var b=a.next();!b.done;b=a.next())this.resolveCommand(b.value)}else _.Lg(this,this.data.onDismissCommands,this)},
openPopupHandler_:function(a){a.detail==this&&this.fireOnOpenCommands_(a)},
closePopupHandler_:function(a,b){_.Jg(this,"yt-confirm-dialog-close-action",[b]);this.fireOnCloseActions_();(b&&!0===b.canceled||b&&!1===b.canceled&&!1===b.confirmed)&&this.fireOnDismissCommands_(a)},
onHeaderImageChanged_:function(a){a?this.setAttribute("dialog-with-header-image",""):this.removeAttribute("dialog-with-header-image")},
computeHasHeaderImageWidth_:function(a){return void 0!=a},
onHeaderImageWidthChanged_:function(a){this.$.main.style.width=a?2.5*a+a+"px":"100%"},
onThumbnailChanged_:function(a){a?(this.setAttribute("dialog-with-thumbnail",""),this.$.scroller.scrollTarget.style.maxHeight="139px",this.$.thumbnail.onShow()):(this.removeAttribute("dialog-with-thumbnail"),this.$.scroller.scrollTarget.style.maxHeight="none")},
onYtNavigate_:function(a){a=_.H(a).rootTarget;_.H(this.$["confirm-button"]).deepContains(a)&&this.parentElement.close()},
computePrimaryIsCancel_:function(a){return a},
computeIsCancelButtonHidden_:function(a){return a.skipCancelButton||!a.cancelButton},
onThumbnailLoaded_:function(){this.parentElement&&this.parentElement.fit()},
onYtServiceRequestSent_:function(){this.isActionInProgress_=!0},
onYtServiceRequestCompleted_:function(){this.data.showLoadingSpinnerOnAction&&this.parentElement&&this.parentElement.close&&this.parentElement.opened&&this.parentElement.close();this.isActionInProgress_=!1}});
var XQ=function(){return _.K.apply(this,arguments)||this};
_.q(XQ,_.K);_.f=XQ.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.hasAttribute("role")||this.setAttribute("role","dialog");this.hasAttribute("aria-modal")||this.setAttribute("aria-modal","true")};
_.f.ready=function(){var a=_.fg(),b=_.eg(),c=this.data.trackingParams;c&&b&&a&&_.tv(a,b,_.no(c))};
_.f.getParentElement=function(a){var b=this.ytRendererBehavior.parentComponent;return b&&b.querySelector(a)};
_.f.openPopupHandler=function(a){var b=this;a.currentTarget===this&&(_.Yqa(function(){b.focus()}),(a=this.getParentElement("#content"))&&a.setAttribute("aria-hidden","true"))};
_.f.closeDialog=function(){_.C(this,"yt-close-popup-action",["ytd-queue-to-play-dialog-renderer"])};
_.f.onPopupClosed=function(a){a.currentTarget===this&&(a=this.getParentElement("#content"))&&(a.setAttribute("aria-hidden","false"),_.C(this,"yt-focus-queue-to-play-state-renderer"))};
_.t.Object.defineProperties(XQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Vnb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-queue-to-play-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_queue_to_play_dialog_renderer.ytd.queue.to.play.dialog.renderer.css.js--\x3e<h1 id="title">[[getSimpleString(data.title)]]</h1>\n<div id="description-messages">\n  <template is="dom-repeat" items="[[data.dialogMessages]]">\n    <yt-formatted-string class="dialog-text" text="[[item]]"></yt-formatted-string>\n  </template>\n</div>\n<ul id="bulleted-messages">\n  <template is="dom-repeat" items="[[data.bulletedMessages]]">\n    <li class="bulleted-text">\n      <yt-formatted-string text="[[item]]"></yt-formatted-string>\n    </li>\n  </template>\n</ul>\n<div class="buttons">\n  <yt-button-renderer id="about-button" data="[[data.aboutButton.buttonRenderer]]">\n  </yt-button-renderer>\n  <yt-button-renderer id="close-button" data="[[data.closeButton.buttonRenderer]]" on-click="closeDialog">\n  </yt-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Unb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.gaming.ytd_queue_to_play_dialog_renderer.ytd.queue.to.play.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var(--yt-spec-10-percent-layer);--yt-endpoint-color: var(--yt-spec-themed-blue);background: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);margin: 0;max-width: 500px;padding: 24px 24px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {font-size: 1.6em;line-height: 1.4em;font-weight: 500;display: block;margin-bottom: 16px;} #description-messages,#bulleted-messages {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .dialog-text {display: block;margin-bottom: 10px;} #bulleted-messages {margin-left: 20px;padding-left: 20px;} .bulleted-text {padding-left: 10px;margin-bottom: 5px;} .buttons {border-top: var(--yt-confirm-dialog-buttons-border-top,1px solid var(--yt-spec-10-percent-layer));margin-top: 24px;padding: var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-6x);position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} /*# sourceMappingURL=ytd-queue-to-play-dialog-renderer.css.map*/</style>';
Unb=d}d=Unb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Vnb=a}a=Vnb;return a}}});
var YQ=XQ;YQ.prototype.onPopupClosed=YQ.prototype.onPopupClosed;YQ.prototype.openPopupHandler=YQ.prototype.openPopupHandler;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YQ.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YQ.prototype,"data",void 0);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],YQ.prototype,"openPopupHandler",null);
_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],YQ.prototype,"onPopupClosed",null);YQ=_.S([_.Q({asyncProperties:!0,is:"ytd-queue-to-play-dialog-renderer"})],YQ);
var Ynb;
var Znb;
var $nb;
var aob;
var ZQ=function(){var a=_.K.apply(this,arguments)||this;a.guideEntryRole=_.x("web_guide_entry_role_is_link")?"link":"tab";a.guideLinkRole=_.x("web_guide_entry_role_is_link")?"":"tablist";return a};
_.q(ZQ,_.K);_.f=ZQ.prototype;_.f.prepareSubsHintActions=function(){if(_.x("kevlar_mysubs_edu")&&this.active&&this.guideOpened){var a=_.Eg().resolve(_.Cg(_.Co));a&&(a=a.getCurrentPage())&&"filteredsubscriptions"===a.pageSubtype&&this.set("data.targetId","subs-filtered-by-channel")}};
_.f.triggerHintActions=function(){var a=this;this.data&&this.data.hintActions&&this.taskEmitterBehavior.getTaskManager().addLowPriorityJob(function(){var b=_.Jg(a,"yt-get-opened-popups-action");!(b&&1===b.length?b[0]:[]).some(function(c){c=c.openPopupAction.popupType;return"SURVEY"===c||"MEALBAR"===c||"HINT"===c})&&a.data.hintActions&&a.guideOpened&&(_.Lg(a,a.data.hintActions,a),a.data.hintActions=void 0)})};
_.f.prepareHintActions=function(){if(!_.x("kevlar_nitrate_driven_tooltips")&&this.data.targetId){var a=this.data.targetId;a&&(a=_.gv(a))&&this.set("data.hintActions",a)}};
_.f.getIconType=function(a){return a?"yt-icons:"+a.toLowerCase():null};
_.f.getBadgeIconType=function(a){return a&&a.liveBroadcasting?"live":null};
_.f.onDown=function(){this.interaction.triggerDown()};
_.f.onUp=function(){this.interaction.triggerUp()};
_.f.onTap=function(a){this.data.serviceEndpoint?(k$a(this.data.serviceEndpoint,this),a.preventDefault()):this.data.navigationEndpoint&&!_.Hx(_.H(a).path||[],this,["A".toString()])&&this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint})};
_.f.computeActive=function(a,b){if(!a)return!1;var c=a.navigationEndpoint;a=a.serviceEndpoint;if(!c&&!a||!b)return!1;if(c){if(c.browseEndpoint&&b.browseEndpoint){var d=c.browseEndpoint.browseId;b=b.browseEndpoint.browseId;return void 0!==d&&void 0!==b&&(d===b||"VLWL"===d&&"FEwatch_later"===b||"FEwatch_later"===d&&"VLWL"===b)}var e,h;c=null==(e=c.commandMetadata)?void 0:null==(h=e.webCommandMetadata)?void 0:h.url;var l;b=null==(d=b.commandMetadata)?void 0:null==(l=d.webCommandMetadata)?void 0:l.url;
return!(!c||!b||c!==b&&c!==_.Ed(b))}return!(null==a||!a.reelWatchEndpoint)&&!(null==b||!b.reelWatchEndpoint)};
_.f.computeIsPrimary=function(a){return!!a};
_.t.Object.defineProperties(ZQ.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.computeActive(this.data,this.activeEndpoint)}},
isPrimary:{configurable:!0,enumerable:!0,get:function(){return this.computeIsPrimary(this.data.isPrimary)}},
lineEndStyle:{configurable:!0,enumerable:!0,get:function(){return this.data?this.data.badges&&this.getBadgeIconType(this.data.badges)?"badge":"GUIDE_ENTRY_PRESENTATION_STYLE_NEW_CONTENT"===this.data.presentationStyle?"dot":this.data.count?"count":"none":"none"}},
ariaLabel:{configurable:!0,enumerable:!0,get:function(){var a=this.get("data.accessibility.accessibilityData.label");if("none"!==this.lineEndStyle&&a)return a}},
ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.active.toString()}}});
_.t.Object.defineProperties(ZQ,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===aob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-guide-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_entry_renderer.ytd.guide.entry.renderer.css.js--\x3e<a id="endpoint" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" tabindex="-1" title="[[getSimpleString(data.formattedTitle)]]" role$="[[guideLinkRole]]">\n  <tp-yt-paper-item aria-label$="[[ariaLabel]]" aria-selected$="[[ariaSelected]]" role$="[[guideEntryRole]]">\n    <yt-icon class="guide-icon" active="[[active]]" disable-upgrade$="[[data.thumbnail]]" hidden="[[data.thumbnail]]" icon="[[getIconType(data.icon.iconType)]]">\n    </yt-icon>\n    <yt-img-shadow disable-upgrade$="[[!data.thumbnail]]" height="24" hidden="[[!data.thumbnail]]" thumbnail="[[data.thumbnail]]" width="24">\n    </yt-img-shadow>\n    <yt-formatted-string class="title" text="[[data.formattedTitle]]"></yt-formatted-string>\n    <span class="guide-entry-count">\n      [[data.count]]\n    </span>\n    <yt-icon class="guide-entry-badge" disable-upgrade$="[[!getBadgeIconType(data.badges)]]" icon="[[getBadgeIconType(data.badges)]]">\n    </yt-icon>\n    <div id="newness-dot"></div>\n  </tp-yt-paper-item>\n</a>\n<yt-interaction></yt-interaction>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$nb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_entry_renderer.ytd.guide.entry.renderer.css.js--\x3e<style>:host {display: block;position: relative;width: 100%;} :host([guide-refresh]) {border-radius: 10px;width: calc(100% - 12px);} :host([active]) {background-color: var(--ytd-guide-entry-renderer-active-guide-item-background-color,var(--yt-spec-10-percent-layer));} :host([active]) .title {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([active]) .guide-icon {color: var(--yt-spec-brand-icon-active);} .title {color: var(--yt-spec-text-primary);overflow: hidden;white-space: nowrap;text-overflow: ellipsis;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #endpoint.yt-simple-endpoint {min-height: var(--paper-item-min-height,48px);cursor: pointer;box-sizing: border-box;outline: 0;color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #endpoint.yt-simple-endpoint:active {background-color: var(--yt-spec-10-percent-layer);} #endpoint.yt-simple-endpoint:hover,#endpoint.yt-simple-endpoint:focus {background-color: var(--yt-spec-badge-chip-background);} :host([guide-refresh]) #endpoint.yt-simple-endpoint:hover,:host([guide-refresh]) #endpoint.yt-simple-endpoint:focus {border-radius: 10px;} :host([guide-refresh]) tp-yt-paper-item {padding: 0 12px;} :host([guide-refresh]) #endpoint.yt-simple-endpoint:active {border-radius: 10px;} :host([guide-refresh]) yt-interaction {border-radius: 10px;overflow: hidden;} :host([guide-refresh]) tp-yt-paper-item {--paper-item-focused-before-border-radius: 10px;--paper-item-focused-before-background: var(--ytd-guide-entry-renderer-focused-guide-item-background-color, var(--yt-spec-icon-active-other));} yt-img-shadow {height: 24px;width: 24px;margin-right: 24px;border-radius: 50%;background-color: transparent;overflow: hidden;} a,tp-yt-paper-item {width: 100%;} tp-yt-paper-item {padding: 0 24px;min-width: 0;height: var(--paper-item-min-height,48px);} .guide-icon {--iron-icon-height: 24px;--iron-icon-width: 24px;margin-right: 24px;color: var(--yt-spec-brand-icon-inactive);} .guide-entry-count {display: none;opacity: var(--yt-spec-text-secondary);vertical-align: middle;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host([line-end-style=count]) .guide-entry-count {display: block;} .guide-entry-badge {width: 16px;height: 16px;color: var(--yt-spec-static-brand-red);display: none;} :host([line-end-style=badge]) .guide-entry-badge {display: block;} #newness-dot {width: 4px;height: 4px;border-radius: 50%;background-color: var(--yt-spec-themed-blue);margin: 0 6px;display: none;} @media(forced-colors:active) {#newness-dot {forced-color-adjust: none;}} :host([line-end-style=dot]) #newness-dot {display: block;} /*# sourceMappingURL=ytd-guide-entry-renderer.css.map*/</style>';
$nb=d}d=$nb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);aob=a}a=aob;return a}}});
var $Q=ZQ;$Q.prototype.onTap=$Q.prototype.onTap;$Q.prototype.onUp=$Q.prototype.onUp;$Q.prototype.onDown=$Q.prototype.onDown;$Q.prototype.prepareHintActions=$Q.prototype.prepareHintActions;$Q.prototype.triggerHintActions=$Q.prototype.triggerHintActions;$Q.prototype.prepareSubsHintActions=$Q.prototype.prepareSubsHintActions;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],$Q.prototype,"componentBehavior",void 0);
_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$Q.prototype,"rendererBehavior",void 0);_.S([_.L(_.Lu.YtTaskEmitterBehavior),_.T("design:type",Object)],$Q.prototype,"taskEmitterBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$Q.prototype,"activeEndpoint",void 0);_.S([_.N(),_.T("design:type",Object)],$Q.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],$Q.prototype,"guideOpened",void 0);_.S([_.N(),_.T("design:type",String)],$Q.prototype,"type",void 0);
_.S([_.Z("yt-interaction"),_.T("design:type",_.iv)],$Q.prototype,"interaction",void 0);_.S([_.N({reflectToAttribute:!0}),_.V("data","activeEndpoint"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],$Q.prototype,"active",null);_.S([_.N({reflectToAttribute:!0}),_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],$Q.prototype,"isPrimary",null);
_.S([_.N({reflectToAttribute:!0}),_.V("data.count","data.presentationStyle","data.badges.*"),_.T("design:type",String),_.T("design:paramtypes",[])],$Q.prototype,"lineEndStyle",null);_.S([_.V("lineEndStyle"),_.T("design:type",Object),_.T("design:paramtypes",[])],$Q.prototype,"ariaLabel",null);_.S([_.V("active"),_.T("design:type",Object),_.T("design:paramtypes",[])],$Q.prototype,"ariaSelected",null);_.S([_.N(),_.T("design:type",Object)],$Q.prototype,"guideEntryRole",void 0);
_.S([_.N(),_.T("design:type",Object)],$Q.prototype,"guideLinkRole",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_guide_ui_refresh")}),_.T("design:type",Boolean)],$Q.prototype,"guideRefresh",void 0);_.S([_.P("active","guideOpened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$Q.prototype,"prepareSubsHintActions",null);
_.S([_.P("data.hintActions","guideOpened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$Q.prototype,"triggerHintActions",null);_.S([_.P("data.targetId"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$Q.prototype,"prepareHintActions",null);_.S([_.O("down"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$Q.prototype,"onDown",null);
_.S([_.O("up"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$Q.prototype,"onUp",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],$Q.prototype,"onTap",null);$Q=_.S([_.lu({is:"ytd-guide-entry-renderer",notifyObserversOnUndefined:!0,noInjection:!0})],$Q);
var aR=function(){var a=_.K.apply(this,arguments)||this;a.userToggled=!1;return a};
_.q(aR,_.K);_.f=aR.prototype;_.f.getItemsPath=function(){return"data.expandableItems"};
_.f.configureRendererStamper=function(){return{shownItems:{id:"expandable-items",mapping:{guideEntryRenderer:{component:"ytd-guide-entry-renderer",properties:{activeEndpoint:"[[activeEndpoint]]"},noInjection:!0}}}}};
_.f.onExpanderItemTapped=function(a){this._setExpanded(!0);this.userToggled=!0;this.ytLazyListBehavior.fillRemainingListItems();a.preventDefault()};
_.f.onCollapserItemTapped=function(a){this._setExpanded(!1);this.userToggled=!0;a.preventDefault()};
_.f.observeActiveEndpoint=function(){for(var a=this.activeEndpoint,b=this.data,c=this.expandableItems.children,d=0,e=c.length;d<e;d++)c[d].activeEndpoint=a;b&&b.autoExpandCommand&&a&&!this.userToggled&&(c=this.data.autoExpandCommand,b=!(!c.browseEndpoint||!a.browseEndpoint||c.browseEndpoint.browseId!==a.browseEndpoint.browseId),a=this.get("commandMetadata.webCommandMetadata.url",a),c=this.get("commandMetadata.webCommandMetadata.url",c),b=b||!!(a&&c&&a.includes(c)),this._setExpanded(b),b&&this.ytLazyListBehavior.fillRemainingListItems())};
_.t.Object.defineProperties(aR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Znb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-guide-collapsible-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_collapsible_entry_renderer.ytd.guide.collapsible.entry.renderer.css.js--\x3e<ytd-guide-entry-renderer id="expander-item" data="[[data.expanderItem.guideEntryRenderer]]" detail="[[isDetail]]" on-click="onExpanderItemTapped">\n</ytd-guide-entry-renderer>\n<div id="expanded">\n  <div id="expandable-items"></div>\n  <ytd-guide-entry-renderer id="collapser-item" data="[[data.collapserItem.guideEntryRenderer]]" detail="[[isDetail]]" on-click="onCollapserItemTapped">\n  </ytd-guide-entry-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ynb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_collapsible_entry_renderer.ytd.guide.collapsible.entry.renderer.css.js--\x3e<style>:host {display: block;} :host([expanded]) #expander-item {display: none;} :host([expanded]) #expanded {display: block;} #expanded {display: none;} /*# sourceMappingURL=ytd-guide-collapsible-entry-renderer.css.map*/</style>";
Ynb=d}d=Ynb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Znb=a}a=Znb;return a}}});
var bR=aR;bR.prototype.observeActiveEndpoint=bR.prototype.observeActiveEndpoint;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],bR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],bR.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],bR.prototype,"ytLazyListBehavior",void 0);_.S([_.Z("#expandable-items"),_.T("design:type",HTMLElement)],bR.prototype,"expandableItems",void 0);
_.S([_.N(),_.T("design:type",Object)],bR.prototype,"data",void 0);_.S([_.N({readOnly:!0,reflectToAttribute:!0}),_.T("design:type",Boolean)],bR.prototype,"expanded",void 0);_.S([_.N({value:0}),_.T("design:type",Number)],bR.prototype,"initialCount",void 0);_.S([_.N(),_.T("design:type",Object)],bR.prototype,"activeEndpoint",void 0);_.S([_.P("data","activeEndpoint","canShowMore"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],bR.prototype,"observeActiveEndpoint",null);
bR=_.S([_.Q({asyncProperties:!0,is:"ytd-guide-collapsible-entry-renderer"})],bR);
var bob;
var cob;
var dob;
var eob;
var cR=function(){var a=_.K.apply(this,arguments)||this;a.allVideosCount=0;a.renderGuideEntry=!1;return a};
_.q(cR,_.K);cR.prototype.observeRenderEntry=function(){var a;this.renderGuideEntry=!(null==(a=this.data)||!a.alwaysShow)||!!this.allVideosCount};
_.t.Object.defineProperties(cR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===eob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-guide-downloads-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_downloads_entry_renderer.ytd.guide.downloads.entry.renderer.css.js--\x3e  <ytd-guide-entry-renderer id="downloads-entry" active-endpoint="[[activeEndpoint]]" data="[[data.entryRenderer.guideEntryRenderer]]" hidden="[[!renderGuideEntry]]">\n  </ytd-guide-entry-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_downloads_entry_renderer.ytd.guide.downloads.entry.renderer.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=ytd-guide-downloads-entry-renderer.css.map*/</style>";dob=d}d=dob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
eob=a}a=eob;return a}}});
var dR=cR;dR.prototype.observeRenderEntry=dR.prototype.observeRenderEntry;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],dR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],dR.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],dR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],dR.prototype,"activeEndpoint",void 0);_.S([_.N({selector:_.HYa}),_.T("design:type",Number)],dR.prototype,"allVideosCount",void 0);
_.S([_.N(),_.T("design:type",Object)],dR.prototype,"renderGuideEntry",void 0);_.S([_.Ct("allVideosCount","data.alwaysShow"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],dR.prototype,"observeRenderEntry",null);dR=_.S([_.Q({asyncProperties:!0,is:"ytd-guide-downloads-entry-renderer"})],dR);
var eR=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-add-to-guide-section-action":"handleAddToGuideSectionAction","yt-remove-from-guide-section-action":"handleRemoveFromGuideSectionAction"};return a};
_.q(eR,_.K);_.f=eR.prototype;_.f.configureRendererStamper=function(){return{"data.sectionItems":{id:"section-items",mapping:{guideCollapsibleEntryRenderer:{component:"ytd-guide-collapsible-entry-renderer",noInjection:!0,properties:{activeEndpoint:"[[activeEndpoint]]"}},guideEntryRenderer:{component:"ytd-guide-entry-renderer",noInjection:!0,properties:{activeEndpoint:"[[activeEndpoint]]"}},guideDownloadsEntryRenderer:{component:"ytd-guide-downloads-entry-renderer",noInjection:!0,properties:{activeEndpoint:"[[activeEndpoint]]"}}}}}};
_.f.activeEndpointChanged=function(){if(this.activeEndpoint){this.headerEntry.activeEndpoint=this.activeEndpoint;for(var a=this.sectionItems.children,b=0,c=a.length;b<c;b++)a[b].activeEndpoint=this.activeEndpoint}};
_.f.handleAddToGuideSectionAction=function(a){if(a.addToGuideSectionAction&&this.data){var b=a.addToGuideSectionAction.items;a=a.addToGuideSectionAction.handlerData;if(b&&a&&this.data.handlerDatas&&-1<this.data.handlerDatas.indexOf(a)){a=0;for(var c=b.length;a<c;a++)b[a].guideEntryRenderer&&this.data.sectionItems&&this.splice("data.sectionItems",this.data.sectionItems.length-1,0,b[a])}}};
_.f.handleRemoveFromGuideSectionAction=function(a){if(a.removeFromGuideSectionAction&&this.data){var b=a.removeFromGuideSectionAction.guideEntryId;a=a.removeFromGuideSectionAction.handlerData;b&&a&&this.data.handlerDatas&&-1<this.data.handlerDatas.indexOf(a)&&this.data&&this.data.sectionItems&&(this.removeFromExpandedSection(b,this.data.sectionItems),this.removeFromCollapsedSection(b,this.data.sectionItems))}};
_.f.removeFromExpandedSection=function(a,b){a=this.getEntryIndexMatchingId(a,b);-1!==a&&this.splice("data.sectionItems",a,1)};
_.f.removeFromCollapsedSection=function(a,b){var c=b.findIndex(function(d){return!!d.guideCollapsibleEntryRenderer});
c&&-1!==c&&b[c]&&b[c].guideCollapsibleEntryRenderer&&(b=b[c].guideCollapsibleEntryRenderer.expandableItems)&&(a=this.getEntryIndexMatchingId(a,b),-1!==a&&this.splice("data.sectionItems."+c+".guideCollapsibleEntryRenderer.expandableItems",a,1))};
_.f.getEntryIndexMatchingId=function(a,b){var c=this;return b.findIndex(function(d){return c.get("guideEntryRenderer.entryData.guideEntryData.guideEntryId",d)===a})};
_.t.Object.defineProperties(eR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-guide-collapsible-section-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_collapsible_section_entry_renderer.ytd.guide.collapsible.section.entry.renderer.css.js--\x3e<div id="header">\n  <ytd-guide-entry-renderer id="header-entry" data="[[data.headerEntry.guideEntryRenderer]]">\n  </ytd-guide-entry-renderer>\n</div>\n<div id="section-items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_collapsible_section_entry_renderer.ytd.guide.collapsible.section.entry.renderer.css.js--\x3e<style>:host {display: block;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-guide-collapsible-section-entry-renderer.css.map*/</style>";
bob=d}d=bob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cob=a}a=cob;return a}}});
var fR=eR;fR.prototype.activeEndpointChanged=fR.prototype.activeEndpointChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],fR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],fR.prototype,"actionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],fR.prototype,"ytRendererstamperBehavior",void 0);_.S([_.Z("#section-items"),_.T("design:type",HTMLDivElement)],fR.prototype,"sectionItems",void 0);
_.S([_.Z("#header-entry"),_.T("design:type",$Q)],fR.prototype,"headerEntry",void 0);_.S([_.N(),_.T("design:type",Object)],fR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],fR.prototype,"activeEndpoint",void 0);_.S([_.P("activeEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fR.prototype,"activeEndpointChanged",null);fR=_.S([_.Q({asyncProperties:!0,is:"ytd-guide-collapsible-section-entry-renderer"})],fR);
var fob;
var gob;
var hob;
var iob;
var gR=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-add-to-guide-section-action":"handleAddToGuideSectionAction","yt-remove-from-guide-section-action":"handleRemoveFromGuideSectionAction","yt-reset-channel-unread-count-command":"handleResetChannelUnreadCountCommand"};return a};
_.q(gR,_.K);_.f=gR.prototype;
_.f.configureRendererStamper=function(){return{shownItems:{id:"items",mapping:{guideEntryRenderer:{component:"ytd-guide-entry-renderer",properties:{activeEndpoint:"[[activeEndpoint]]",guideOpened:"[[guideOpened]]",type:"[[type]]"},noInjection:!0},guideCollapsibleEntryRenderer:{component:"ytd-guide-collapsible-entry-renderer",properties:{activeEndpoint:"[[activeEndpoint]]"},noInjection:!0},guideCollapsibleSectionEntryRenderer:{component:"ytd-guide-collapsible-section-entry-renderer",properties:{activeEndpoint:"[[activeEndpoint]]"},
noInjection:!0}}}}};
_.f.observeForEdu=function(){if(_.x("kevlar_mysubs_edu")&&"subscriptions"===this.type&&this.data){var a=_.Eg().resolve(_.Cg(_.Co));a&&(a=(a=a.getCurrentPage())?a.pageSubtype:null,_.x("kevlar_mysubs_single_guide_section")&&"home"===a&&this.setEduTarget(0,"subs-guide-item"))}};
_.f.setEduTarget=function(a,b){this.data.items&&this.data.items.length>a&&this.data.items[a].guideEntryRenderer&&this.set("data.items."+a+".guideEntryRenderer.targetId",b)};
_.f.persistentGuideChanged=function(){if(!this.ytdGuideStateAwareBehavior.guidePersistentAndVisible){var a=_.Jg(this,"yt-get-popup-opened-action",["yt-bubble-hint-renderer"]);a&&1===a.length&&a[0]&&_.Jg(this,"yt-close-popup-action",["yt-bubble-hint-renderer"])}};
_.f.handleResetChannelUnreadCountCommand=function(a){a.resetChannelUnreadCountCommand&&a.resetChannelUnreadCountCommand.channelId&&this.data&&this.data.items&&(a=this.getPathToEntryMatchingId(a.resetChannelUnreadCountCommand.channelId))&&(this.set(a+".guideEntryRenderer.count",0),this.set(a+".guideEntryRenderer.presentationStyle","GUIDE_ENTRY_PRESENTATION_STYLE_NONE"))};
_.f.getPathToEntryMatchingId=function(a){if(this.data&&this.data.items){var b=this.getEntryIndexMatchingId(a,this.data.items);if(-1<b)return"data.items."+b;for(var c=0;c<this.data.items.length;c++)if(b=this.get("guideCollapsibleEntryRenderer.expandableItems",this.data.items[c]))if(b=this.getEntryIndexMatchingId(a,b),-1<b)return"data.items."+c+".guideCollapsibleEntryRenderer.expandableItems."+b}};
_.f.handleAddToGuideSectionAction=function(a){var b=this;if(a.addToGuideSectionAction){var c=a.addToGuideSectionAction.items;a=a.addToGuideSectionAction.handlerData;var d,e;c&&a&&-1<(null==(d=this.data)?void 0:null==(e=d.handlerDatas)?void 0:e.indexOf(a))&&(c=c.filter(function(h){return(h=b.get("guideEntryRenderer.entryData.guideEntryData.guideEntryId",h))&&!b.isGuideItemPresent(h)}),_.x("kevlar_mysubs_single_guide_section")?this.splice.apply(this,["data.items",
1,0].concat(_.sc(c))):this.unshift.apply(this,["data.items"].concat(_.sc(c))))}};
_.f.isGuideItemPresent=function(a){if(this.data&&this.data.items){if(-1!==this.getEntryIndexMatchingId(a,this.data.items))return!0;var b=this.data.items.find(function(c){return!!c.guideCollapsibleEntryRenderer});
if((null==b?0:b.guideCollapsibleEntryRenderer.expandableItems)&&-1!==this.getEntryIndexMatchingId(a,b.guideCollapsibleEntryRenderer.expandableItems))return!0}return!1};
_.f.getEntryIndexMatchingId=function(a,b){var c=this;return b.findIndex(function(d){return c.get("guideEntryRenderer.entryData.guideEntryData.guideEntryId",d)===a})};
_.f.handleRemoveFromGuideSectionAction=function(a){if(a.removeFromGuideSectionAction){var b=a.removeFromGuideSectionAction.guideEntryId;a=a.removeFromGuideSectionAction.handlerData;var c,d;b&&a&&-1<(null==(c=this.data)?void 0:null==(d=c.handlerDatas)?void 0:d.indexOf(a))&&this.data&&this.data.items&&(this.removeFromExpandedSection(b,this.data.items),this.removeFromCollapsedSection(b,this.data.items))}};
_.f.removeFromExpandedSection=function(a,b){a=this.getEntryIndexMatchingId(a,b);-1!==a&&this.splice("data.items",a,1)};
_.f.removeFromCollapsedSection=function(a,b){var c=b.findIndex(function(d){return!!d.guideCollapsibleEntryRenderer});
-1!==c&&(b=b[c].guideCollapsibleEntryRenderer.expandableItems)&&(a=this.getEntryIndexMatchingId(a,b),-1!==a&&this.splice("data.items."+c+".guideCollapsibleEntryRenderer.expandableItems",a,1))};
_.f.activeEndpointChanged=function(){for(var a=this.$.items.children,b=0,c=a.length;b<c;b++)a[b].activeEndpoint=this.ytdGuideStateAwareBehavior.activeEndpoint};
_.f.guideOpenedChanged=function(){for(var a=this.$.items.children,b=0,c=a.length;b<c;b++)a[b].guideOpened=this.ytdGuideStateAwareBehavior.guideOpened};
_.t.Object.defineProperties(gR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===iob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-guide-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_section_renderer.ytd.guide.section.renderer.css.js--\x3e<h3 hidden="[[!data.formattedTitle]]">\n  <yt-formatted-string id="guide-section-title" text="[[data.formattedTitle]]">\n  </yt-formatted-string>\n</h3>\n<div id="items"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_section_renderer.ytd.guide.section.renderer.css.js--\x3e<style>:host {--paper-item-min-height: 40px;display: block;} h3 {margin: 0;} #guide-section-title {color: var(--yt-spec-text-secondary);display: block;padding: 8px 24px;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} ytd-guide-collapsible-section-entry-renderer:not(:first-child) {border-top: 1px solid var(--yt-spec-10-percent-layer);margin-top: 12px;padding-top: 12px;} :host([guide-refresh]) #guide-section-title {text-transform: none;letter-spacing: none;padding: 6px 12px 4px;font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2rem;line-height: 2.8rem;font-weight: 600;} /*# sourceMappingURL=ytd-guide-section-renderer.css.map*/</style>';
hob=d}d=hob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);iob=a}a=iob;return a}}});
var hR=gR;hR.prototype.guideOpenedChanged=hR.prototype.guideOpenedChanged;hR.prototype.activeEndpointChanged=hR.prototype.activeEndpointChanged;hR.prototype.persistentGuideChanged=hR.prototype.persistentGuideChanged;hR.prototype.observeForEdu=hR.prototype.observeForEdu;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],hR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],hR.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],hR.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],hR.prototype,"ytLazyListBehavior",void 0);_.S([_.L(_.ry),_.T("design:type",Object)],hR.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],hR.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],hR.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",String)],hR.prototype,"type",void 0);_.S([_.N({value:20}),_.T("design:type",Number)],hR.prototype,"initialCount",void 0);_.S([_.N({value:10}),_.T("design:type",Number)],hR.prototype,"targetFramerate",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],hR.prototype,"autoFill",void 0);_.S([_.N({value:50}),_.T("design:type",Number)],hR.prototype,"renderDelay",void 0);
_.S([_.N({reflectToAttribute:!0,value:_.x("web_guide_ui_refresh")}),_.T("design:type",Boolean)],hR.prototype,"guideRefresh",void 0);_.S([_.P("data","activeEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hR.prototype,"observeForEdu",null);_.S([_.P("guidePersistentAndVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hR.prototype,"persistentGuideChanged",null);
_.S([_.Ct("activeEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hR.prototype,"activeEndpointChanged",null);_.S([_.Ct("guideOpened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hR.prototype,"guideOpenedChanged",null);hR=_.S([_.Q({asyncProperties:!0,is:"ytd-guide-section-renderer"})],hR);
var job;
var kob;
var iR=function(){return _.K.apply(this,arguments)||this};
_.q(iR,_.K);_.t.Object.defineProperties(iR.prototype,{alignByText:{configurable:!0,enumerable:!0,get:function(){return"STYLE_BLUE_TEXT"===this.get("data.signInButton.buttonRenderer.style")}}});
_.t.Object.defineProperties(iR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-guide-signin-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_signin_promo_renderer.ytd.guide.signin.promo.renderer.css.js--\x3e<yt-formatted-string text="[[data.descriptiveText]]"></yt-formatted-string>\n<ytd-button-renderer id="sign-in-button" align-by-text="[[alignByText]]" data="[[data.signInButton.buttonRenderer]]" on-tap="onSignInTap">\n</ytd-button-renderer>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===job){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_signin_promo_renderer.ytd.guide.signin.promo.renderer.css.js--\x3e<style>:host {display: inline-block;padding: 16px 32px;} yt-formatted-string {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #sign-in-button:not([align-by-text]) {margin-top: 12px;} /*# sourceMappingURL=ytd-guide-signin-promo-renderer.css.map*/</style>';
job=d}d=job;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kob=a}a=kob;return a}}});
var jR=iR;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],jR.prototype,"rendererBehaviors",void 0);_.S([_.N(),_.T("design:type",Object)],jR.prototype,"data",void 0);_.S([_.N(),_.V("data.signInButton.buttonRenderer.style"),_.T("design:type",Object),_.T("design:paramtypes",[])],jR.prototype,"alignByText",null);jR=_.S([_.Q({asyncProperties:!0,is:"ytd-guide-signin-promo-renderer"})],jR);
var kR=function(){var a=_.K.apply(this,arguments)||this;a.showFooter=!1;return a};
_.q(kR,_.K);kR.prototype.configureRendererStamper=function(){return{shownItems:{id:"sections",mapping:{guideSectionRenderer:{component:"ytd-guide-section-renderer",noInjection:!0},guideSigninPromoRenderer:{component:"ytd-guide-signin-promo-renderer",noInjection:!0},guideSubscriptionsSectionRenderer:{component:"ytd-guide-section-renderer",params:{type:"subscriptions"},noInjection:!0}}}}};
kR.prototype.attached=function(){var a=this,b;return _.y(function(c){if(1==c.nextAddress){b=_.Eg().resolve(_.Cg(_.Ao));if(!b)return c.jumpTo(0);b.setGuideData(a);return _.B(c,0,3)}a.ytLazyListBehavior.initialCount=2;return c.return()})};
kR.prototype.dataChanged=function(){this.data&&(this.showFooter=!0)};
_.t.Object.defineProperties(kR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-guide-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_renderer.ytd.guide.renderer.css.js--\x3e<div id="sections"></div>\n<div id="footer" hidden="[[!showFooter]]">\n  <div id="guide-links-primary">\n    <slot name="guide-links-primary"></slot>\n  </div>\n  <div id="guide-links-secondary">\n    <slot name="guide-links-secondary"></slot>\n  </div>\n  <slot name="vat-notice"></slot>\n  <slot name="copyright"></slot>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_guide_renderer.ytd.guide.renderer.css.js--\x3e<style>:host {--yt-endpoint-color: var(--yt-spec-text-primary);display: block;} #sections {position: relative;} #sections>*:first-child {padding: 12px 0;} #sections>ytd-guide-section-renderer:not(:first-child),#sections>ytd-guide-subscriptions-section-renderer {padding: 8px 0;} #sections>*:not(:last-child) {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #footer ::slotted(#vat-notice),#footer ::slotted(#copyright) {display: block!important;} #guide-links-primary {padding: 16px 24px 0;border-top: 1px solid var(--yt-spec-10-percent-layer);} #guide-links-secondary {padding: 12px 24px 0;} #footer ::slotted(#vat-notice) {padding: 8px 24px;color: var(--yt-spec-text-secondary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #footer ::slotted(#copyright) {padding: 16px 24px;color: var(--yt-spec-text-disabled);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #guide-links-primary ::slotted(a),#guide-links-secondary ::slotted(a) {display: inline-block!important;text-decoration: none;color: var(--yt-spec-text-secondary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #guide-links-primary ::slotted(a:not(:last-child)),#guide-links-secondary ::slotted(a:not(:last-child)) {margin-right: 8px;} :host([guide-refresh]) #sections>*:first-child {padding: 12px;} :host([guide-refresh]) #sections>ytd-guide-section-renderer:not(:first-child),:host([guide-refresh]) #sections>ytd-guide-subscriptions-section-renderer {padding: 12px;} :host([guide-refresh]):hover {--ytd-guide-entry-renderer-active-guide-item-background-color: transparent;--ytd-guide-entry-renderer-focused-guide-item-background-color: transparent;} /*# sourceMappingURL=ytd-guide-renderer.css.map*/</style>';
fob=d}d=fob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gob=a}a=gob;return a}}});
var lR=kR;lR.prototype.dataChanged=lR.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],lR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],lR.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.sy.YtLazyListBehavior),_.T("design:type",Object)],lR.prototype,"ytLazyListBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],lR.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],lR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],lR.prototype,"showFooter",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],lR.prototype,"autoFill",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_guide_ui_refresh")}),_.T("design:type",Boolean)],lR.prototype,"guideRefresh",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],lR.prototype,"dataChanged",null);
lR=_.S([_.Q({asyncProperties:!0,is:"ytd-guide-renderer"})],lR);
var lob;
var mob;
var mR=function(){var a=_.K.apply(this,arguments)||this;a.systemIcons=_.x("kevlar_system_icons");a.guideRefresh=_.x("web_guide_ui_refresh");return a};
_.q(mR,_.K);_.f=mR.prototype;_.f.attached=function(){this.setAttribute("role","tab");this.setAttribute("tabindex","0")};
_.f.dataChanged=function(){this.setAttribute("aria-selected",""+this.isActive);this.setAttribute("aria-label",this.ytRendererBehavior.getSimpleString(this.data.formattedTitle))};
_.f.onActiveStateChange=function(){this.setAttribute("aria-selected",""+this.isActive)};
_.f.onDown=function(){this.interaction.triggerDown()};
_.f.onUp=function(){this.interaction.triggerUp()};
_.f.onTap=function(a){if(this.data.serviceEndpoint)k$a(this.data.serviceEndpoint,this),a.preventDefault();else{var b;(null==(b=this.data)?0:b.navigationEndpoint)&&!_.Hx(_.H(a).path||[],this,["A".toString()])&&this.fire("yt-navigate",{endpoint:this.data.navigationEndpoint})}};
_.f.computeActive=function(a,b){if(!a)return!1;var c=a.navigationEndpoint;a=a.serviceEndpoint;if(!c&&!a||!b)return!1;if(c){if(c.browseEndpoint&&b.browseEndpoint)return c.browseEndpoint.browseId===b.browseEndpoint.browseId&&c.browseEndpoint.params===b.browseEndpoint.params;var d,e;c=null==(d=c.commandMetadata)?void 0:null==(e=d.webCommandMetadata)?void 0:e.url;var h,l;b=null==(h=b.commandMetadata)?void 0:null==(l=h.webCommandMetadata)?void 0:l.url;return!(!c||!b||c!==b&&c!==_.Ed(b))}return!(null==
a||!a.reelWatchEndpoint)&&!(null==b||!b.reelWatchEndpoint)};
_.f.computeTitle=function(a,b){return b?"":this.ytRendererBehavior.getSimpleString(a)};
_.t.Object.defineProperties(mR.prototype,{ariaSelected:{configurable:!0,enumerable:!0,get:function(){if(void 0!==this.isActive)return this.isActive.toString()}}});
_.t.Object.defineProperties(mR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-mini-guide-entry-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_mini_guide_entry_renderer.ytd.mini.guide.entry.renderer.css.js--\x3e<a id="endpoint" tabindex="-1" class="yt-simple-endpoint" href$="[[computeHref_(data.navigationEndpoint)]]" data="[[data.navigationEndpoint]]" title="[[computeTitle(data.formattedTitle, noLabels)]]">\n  <yt-icon id="icon" class="guide-icon" active="[[isActive]]" disable-upgrade$="[[data.thumbnail]]" hidden="[[data.thumbnail]]" icon="[[data.icon.iconType]]">\n  </yt-icon>\n  <span class="title" hidden="[[noLabels]]">[[getSimpleString(data.formattedTitle)]]</span>\n  <tp-yt-paper-tooltip animation-delay="0" hidden="[[!noLabels]]" offset="4" position="right">\n    [[getSimpleString(data.formattedTitle)]]\n  </tp-yt-paper-tooltip>\n  <yt-interaction></yt-interaction>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_mini_guide_entry_renderer.ytd.mini.guide.entry.renderer.css.js--\x3e<style>:host {display: inline-block;position: relative;background-color: var(--yt-spec-brand-background-solid);} :host([guide-refresh]) {border-radius: 10px;} :host([system-icons][is-active]) .title,:host([system-icons]) .title {color: var(--yt-spec-text-primary);} a {width: 72px;padding: 16px 0 14px;outline: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .guide-icon {color: var(--yt-spec-brand-icon-inactive);margin-bottom: 6px;} .title {color: var(--yt-spec-text-secondary);max-width: 100%;display: block;max-height: 1.4rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 1rem;font-weight: 400;line-height: 1.4rem;} :host([is-active]) .guide-icon {color: var(--yt-spec-brand-icon-active);} :host([is-active]) .title {color: var(--yt-spec-selected-nav-text);} :host([no-labels]) a {padding: 8px 0;} :host([no-labels]) .guide-icon {margin-bottom: 0px;} :host(:hover),:host(:focus) {background-color: var(--yt-spec-badge-chip-background);outline: none;} /*# sourceMappingURL=ytd-mini-guide-entry-renderer.css.map*/</style>";
lob=d}d=lob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mob=a}a=mob;return a}}});
var nR=mR;nR.prototype.onTap=nR.prototype.onTap;nR.prototype.onUp=nR.prototype.onUp;nR.prototype.onDown=nR.prototype.onDown;nR.prototype.onActiveStateChange=nR.prototype.onActiveStateChange;nR.prototype.dataChanged=nR.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],nR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Nw),_.T("design:type",Object)],nR.prototype,"ironButtonState",void 0);_.S([_.N(),_.T("design:type",Object)],nR.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],nR.prototype,"activeEndpoint",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],nR.prototype,"noLabels",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeActive(data,activeEndpoint)"}),_.T("design:type",Boolean)],nR.prototype,"isActive",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],nR.prototype,"systemIcons",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],nR.prototype,"guideRefresh",void 0);
_.S([_.Z("yt-interaction"),_.T("design:type",_.iv)],nR.prototype,"interaction",void 0);_.S([_.V("isActive"),_.T("design:type",Object),_.T("design:paramtypes",[])],nR.prototype,"ariaSelected",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nR.prototype,"dataChanged",null);_.S([_.P("isActive"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nR.prototype,"onActiveStateChange",null);
_.S([_.O("down"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nR.prototype,"onDown",null);_.S([_.O("up"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nR.prototype,"onUp",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],nR.prototype,"onTap",null);nR=_.S([_.Q({is:"ytd-mini-guide-entry-renderer"})],nR);
var nob;
var oob;
var oR=function(){var a=_.K.apply(this,arguments)||this;a.allVideosCount=0;a.noLabels=_.x("kevlar_mini_guide_no_labels");a.guideRefresh=_.x("web_guide_ui_refresh");return a};
_.q(oR,_.K);_.f=oR.prototype;_.f.configureRendererStamper=function(){return{miniGuideItems:{id:"items",mapping:{guideEntryRenderer:{component:"ytd-mini-guide-entry-renderer",properties:{activeEndpoint:"[[activeEndpoint]]",noLabels:"[[noLabels]]"},noInjection:!0}}}}};
_.f.attached=function(){this.hasAttribute("role")||this.setAttribute("role","navigation")};
_.f.visibleChanged=function(){if(this.visible&&!this.data){var a=_.Eg().resolve(_.Cg(_.Ao));a&&a.setGuideData(this)}};
_.f.dataChanged=function(){var a=[],b;if(null!=(b=this.data)&&b.items){b=_.k(this.data.items);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;if(null==(d=c.guideSectionRenderer)?0:d.items)for(d=void 0,c=_.k(null==(d=c.guideSectionRenderer)?void 0:d.items),d=c.next();!d.done;d=c.next())if(d=d.value,d.guideEntryRenderer)d=d.guideEntryRenderer,d.isPrimary&&a.push({guideEntryRenderer:d});else if(d.guideCollapsibleSectionEntryRenderer){var e=void 0,h=void 0;(null==(e=d.guideCollapsibleSectionEntryRenderer.headerEntry)?
0:null==(h=e.guideEntryRenderer)?0:h.isPrimary)&&a.push({guideEntryRenderer:d.guideCollapsibleSectionEntryRenderer.headerEntry.guideEntryRenderer});if(d=d.guideCollapsibleSectionEntryRenderer.sectionItems)for(d=_.k(d),e=d.next();!e.done;e=d.next())if(e=e.value,h=void 0,null==(h=e.guideEntryRenderer)?0:h.isPrimary)a.push({guideEntryRenderer:e.guideEntryRenderer});else if(e.guideDownloadsEntryRenderer){e=e.guideDownloadsEntryRenderer;var l=h=void 0;(null==(h=e)?0:null==(l=h.entryRenderer)?0:l.guideEntryRenderer)&&
(e.alwaysShow||this.allVideosCount)&&a.push({guideEntryRenderer:e.entryRenderer.guideEntryRenderer})}}}}this.miniGuideItems=a};
_.f.activeEndpointChanged=function(){for(var a=this.items.children,b=0;b<a.length;b++)a[b].activeEndpoint=this.ytdGuideStateAwareBehavior.activeEndpoint};
_.t.Object.defineProperties(oR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===oob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-mini-guide-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_mini_guide_renderer.ytd.mini.guide.renderer.css.js--\x3e<div id="items"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.guide.ytd_mini_guide_renderer.ytd.mini.guide.renderer.css.js--\x3e<style>:host {display: inline-block;background-color: var(--yt-spec-brand-background-solid);z-index: 2028;} #items {margin-top: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([no-labels]) #items {margin-top: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([guide-refresh]) {border-top: 1px solid var(--yt-spec-10-percent-layer);border-right: 1px solid var(--yt-spec-10-percent-layer);padding: 0 4px;} /*# sourceMappingURL=ytd-mini-guide-renderer.css.map*/</style>";
nob=d}d=nob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);oob=a}a=oob;return a}}});
var pR=oR;pR.prototype.activeEndpointChanged=pR.prototype.activeEndpointChanged;pR.prototype.dataChanged=pR.prototype.dataChanged;pR.prototype.visibleChanged=pR.prototype.visibleChanged;_.S([_.L(_.Wu),_.T("design:type",Object)],pR.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],pR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],pR.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.ry),_.T("design:type",Object)],pR.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],pR.prototype,"ytComponentBehavior",void 0);_.S([_.Z("#items"),_.T("design:type",Object)],pR.prototype,"items",void 0);_.S([_.N(),_.T("design:type",Object)],pR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],pR.prototype,"visible",void 0);_.S([_.N(),_.T("design:type",Object)],pR.prototype,"miniGuideItems",void 0);
_.S([_.N({selector:_.HYa}),_.T("design:type",Number)],pR.prototype,"allVideosCount",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],pR.prototype,"noLabels",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],pR.prototype,"guideRefresh",void 0);_.S([_.Ct("visible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pR.prototype,"visibleChanged",null);
_.S([_.Ct("data","allVideosCount"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pR.prototype,"dataChanged",null);_.S([_.Ct("activeEndpoint"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],pR.prototype,"activeEndpointChanged",null);pR=_.S([_.Q({asyncProperties:!0,is:"ytd-mini-guide-renderer"})],pR);
var pob;
var qob;
var rob;
var sob;
var tob=function(){return _.K.apply(this,arguments)||this};
_.q(tob,_.K);
_.t.Object.defineProperties(tob,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===sob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-hotkey-dialog-section-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.hotkey.ytd_hotkey_dialog_section_option_renderer.ytd.hotkey.dialog.section.option.renderer.css.js--\x3e<div id="label">[[getSimpleString(data.label)]]</div>\n<div id="hotkey" aria-label$="[[data.hotkeyAccessibilityLabel.accessibilityData.label]]">[[data.hotkey]]</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.hotkey.ytd_hotkey_dialog_section_option_renderer.ytd.hotkey.dialog.section.option.renderer.css.js--\x3e<style>:host {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #label {color: var(--yt-spec-text-secondary);min-width: 300px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #hotkey {color: var(--yt-spec-text-primary);margin-left: 30px;min-width: 130px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto Mono",monospace;font-size: 1.4rem;font-weight: 500;line-height: 2.1rem;} /*# sourceMappingURL=ytd-hotkey-dialog-section-option-renderer.css.map*/</style>';
rob=d}d=rob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);sob=a}a=sob;return a}}});
var qR=tob;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],qR.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],qR.prototype,"data",void 0);qR=_.S([_.Q({asyncProperties:!0,is:"ytd-hotkey-dialog-section-option-renderer"})],qR);
var uob;
var vob;
var rR=function(){return _.K.apply(this,arguments)||this};
_.q(rR,_.K);rR.prototype.configureRendererStamper=function(){return{"data.options":{id:"options",mapping:{hotkeyDialogSectionOptionRenderer:"ytd-hotkey-dialog-section-option-renderer"}}}};
_.t.Object.defineProperties(rR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-hotkey-dialog-section-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.hotkey.ytd_hotkey_dialog_section_renderer.ytd.hotkey.dialog.section.renderer.css.js--\x3e<div id="sub-title">[[getSimpleString(data.title)]]</div>\n<div id="options"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.hotkey.ytd_hotkey_dialog_section_renderer.ytd.hotkey.dialog.section.renderer.css.js--\x3e<style>:host {min-width: 430px;display: inline-block;margin: 16px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #sub-title {color: var(--yt-spec-text-secondary);display: block;padding: 16px 8px;text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} /*# sourceMappingURL=ytd-hotkey-dialog-section-renderer.css.map*/</style>';
uob=d}d=uob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vob=a}a=vob;return a}}});
var sR=rR;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],sR.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],sR.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],sR.prototype,"data",void 0);sR=_.S([_.Q({asyncProperties:!0,is:"ytd-hotkey-dialog-section-renderer"})],sR);
var tR=function(){return _.K.apply(this,arguments)||this};
_.q(tR,_.K);tR.prototype.configureRendererStamper=function(){return{"data.sections":{id:"sections",mapping:{hotkeyDialogSectionRenderer:"ytd-hotkey-dialog-section-renderer"}}}};
tR.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.scrollable.dialogElement=this.parentElement};
tR.prototype.onCloseTap=function(){_.C(this,"yt-close-popup-action")};
_.t.Object.defineProperties(tR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-hotkey-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.hotkey.ytd_hotkey_dialog_renderer.ytd.hotkey.dialog.renderer.css.js--\x3e<div id="title">[[getSimpleString(data.title)]]</div>\n<tp-yt-paper-dialog-scrollable id="scrollable">\n  <div id="sections"></div>\n</tp-yt-paper-dialog-scrollable>\n<div id="action-buttons">\n  <ytd-button-renderer id="cancel" data="[[data.dismissButton.buttonRenderer]]" on-tap="onCloseTap">\n  </ytd-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===pob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.hotkey.ytd_hotkey_dialog_renderer.ytd.hotkey.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var( --yt-spec-10-percent-layer );background: var(--yt-spec-brand-background-primary);display: inline-block;margin: 0;padding: 0;width: 1280px;} @media(max-width:1439px) {:host([dialog][dialog][dialog]) {width: 100%;}} #title {color: var(--yt-spec-text-primary);margin: 24px 24px 16px;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #scrollable {justify-content: space-around;overflow: auto;} #hotkey-item:last-of-type {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} tp-yt-paper-dialog-scrollable {--paper-dialog-scrollable-padding: 0;} #sections {width: 100%;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-align: start;-webkit-align-items: flex-start;align-items: flex-start;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #action-buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} /*# sourceMappingURL=ytd-hotkey-dialog-renderer.css.map*/</style>';
pob=d}d=pob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qob=a}a=qob;return a}}});
var uR=tR;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],uR.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],uR.prototype,"ytRendererBehavior",void 0);_.S([_.Z("#scrollable"),_.T("design:type",Object)],uR.prototype,"scrollable",void 0);_.S([_.N(),_.T("design:type",Object)],uR.prototype,"data",void 0);uR=_.S([_.Q({asyncProperties:!0,is:"ytd-hotkey-dialog-renderer"})],uR);
var wob;
var xob;
var vR=function(){return _.K.apply(this,arguments)||this};
_.q(vR,_.K);vR.prototype.onYtServiceRequestError=function(){if(this.blocked){var a;var b=null==(a=this.data)?void 0:a.defaultServiceEndpoint}else{var c;b=null==(c=this.data)?void 0:c.toggledServiceEndpoint}var d,e;(b=null==(d=b)?void 0:null==(e=d.updateKidsBlacklistEndpoint)?void 0:e.onFailureAction)&&this.ytComponentBehavior.resolveCommand(b);this.updateBlockState(!this.blocked)};
vR.prototype.onYtToggleButton=function(a){this.updateBlockState(a.detail.toggled)};
vR.prototype.updateBlockState=function(a){if(a!==this.blocked){var b=this.blockedEntityKey;b&&this.ytdReduxBehavior.dispatch(_.jy("blockStateEntity",b,{key:b,blocked:a}));this.set("data.isToggled",a)}};
_.t.Object.defineProperties(vR.prototype,{blocked:{configurable:!0,enumerable:!0,get:function(){return this.blockStateEntity?(this.set("data.isToggled",this.blocked),!!this.blockStateEntity.blocked):!(!this.data||!this.data.isToggled)}}});
_.t.Object.defineProperties(vR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-block-button--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.kids.ytd_block_button.ytd.block.button.css.js--\x3e<ytd-toggle-button-renderer data="[[data]]">\n</ytd-toggle-button-renderer>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===wob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.kids.ytd_block_button.ytd.block.button.css.js--\x3e<style>/*# sourceMappingURL=ytd-block-button.css.map*/</style>";wob=d}d=wob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xob=a}a=xob;return a}}});
var wR=vR;wR.prototype.onYtToggleButton=wR.prototype.onYtToggleButton;wR.prototype.onYtServiceRequestError=wR.prototype.onYtServiceRequestError;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],wR.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],wR.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],wR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],wR.prototype,"blockedEntityKey",void 0);
_.S([_.N({selectorArgs:["blockedEntityKey"],selector:function(a,b){return _.Yg(a.entities,"blockStateEntity",b)}}),
_.T("design:type",Object)],wR.prototype,"blockStateEntity",void 0);_.S([_.V("data","blockStateEntity"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],wR.prototype,"blocked",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],wR.prototype,"onYtServiceRequestError",null);
_.S([_.O("yt-toggle-button"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],wR.prototype,"onYtToggleButton",null);wR=_.S([_.Q({asyncProperties:!0,is:"ytd-block-button"})],wR);
var yob;
var zob;
var Aob=function(){return _.K.apply(this,arguments)||this};
_.q(Aob,_.K);
_.t.Object.defineProperties(Aob,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-kids-blocklist-picker-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.kids.ytd_kids_blocklist_picker_item_renderer.ytd.kids.blocklist.picker.item.renderer.css.js--\x3e<div class="account-info">\n  <div class="account-avatar">\n    <yt-img-shadow id="account-icon" thumbnail="[[data.avatar]]" width="44">\n    </yt-img-shadow>\n  </div>\n  <div class="account-text-info">\n    <yt-formatted-string class="account-name" text="[[data.childDisplayName]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="account-description" text="[[data.childAccountDescription]]">\n    </yt-formatted-string>\n  </div>\n</div>\n<div class="action-button">\n  <ytd-block-button blocked-entity-key="[[data.blockedEntityKey]]" data="[[data.blockButton.toggleButtonRenderer]]">\n  </ytd-block-button>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.kids.ytd_kids_blocklist_picker_item_renderer.ytd.kids.blocklist.picker.item.renderer.css.js--\x3e<style>:host {display: inline-block;padding: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .account-info {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .account-info .account-avatar {height: 44px;width: 44px;} .account-info .account-avatar yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;} .account-info .account-text-info {margin-left: 12px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .account-info .account-text-info .account-name {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .account-info .account-text-info .account-description {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} /*# sourceMappingURL=ytd-kids-blocklist-picker-item-renderer.css.map*/</style>';
yob=d}d=yob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zob=a}a=zob;return a}}});
var xR=Aob;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],xR.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],xR.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],xR.prototype,"data",void 0);xR=_.S([_.Q({asyncProperties:!0,is:"ytd-kids-blocklist-picker-item-renderer"})],xR);
var Bob;
var Cob;
var yR=function(){var a=_.K.apply(this,arguments)||this;a.hasAnyRequestSucceeded=!1;a.hasAnyRequestFailed=!1;a.numPendingRequests=0;return a};
_.q(yR,_.K);_.f=yR.prototype;_.f.attached=function(){this.setAttribute("dialog","")};
_.f.configureRendererStamper=function(){return{"data.childRows":{id:"child-rows",mapping:{kidsBlocklistPickerItemRenderer:"ytd-kids-blocklist-picker-item-renderer"}}}};
_.f.onDoneButtonTap=function(){_.C(this,"yt-close-popup-action",["ytd-kids-blocklist-picker-renderer"])};
_.f.onYtServiceRequestSent=function(){this.numPendingRequests+=1};
_.f.onYtServiceRequestCompleted=function(){--this.numPendingRequests;this.hasAnyRequestSucceeded=!0};
_.f.onYtServiceRequestError=function(){--this.numPendingRequests;this.hasAnyRequestFailed=!0};
_.f.onPopupClosed=function(a){var b,c;if("tp-yt-paper-dialog"===(null==(b=a.detail)?void 0:null==(c=b.popup)?void 0:c.is)){var d;if(0>=this.numPendingRequests&&this.hasAnyRequestSucceeded&&!this.hasAnyRequestFailed&&(null==(d=this.data)?0:d.successfulToastActionMessage)){var e;a={openPopupAction:{popupType:"TOAST",popup:{notificationActionRenderer:{responseText:null==(e=this.data)?void 0:e.successfulToastActionMessage}}}};this.ytComponentBehavior.resolveCommand(a)}this.hasAnyRequestFailed=this.hasAnyRequestSucceeded=
!1;this.numPendingRequests=0}};
_.t.Object.defineProperties(yR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Cob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-kids-blocklist-picker-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.kids.ytd_kids_blocklist_picker_renderer.ytd.kids.blocklist.picker.renderer.css.js--\x3e<div id="content">\n  <div id="title">\n    <yt-formatted-string text="[[data.title]]">\n    </yt-formatted-string>\n  </div>\n  <div id="child-rows"></div>\n</div>\n<div id="footer">\n  <div id="action-buttons">\n    <ytd-button-renderer id="done-button" data="[[data.doneButton.buttonRenderer]]" on-click="onDoneButtonTap">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Bob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.kids.ytd_kids_blocklist_picker_renderer.ytd.kids.blocklist.picker.renderer.css.js--\x3e<style>:host([dialog]) {margin-bottom: 8px;margin-top: 24px;padding: 0;width: 400px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {padding-left: 24px;padding-right: 8px;} #content #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #content #child-rows {margin: 16px 0 8px;} #footer {border-top: 1px solid var(--yt-spec-10-percent-layer);padding-right: 8px;padding-top: 8px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=ytd-kids-blocklist-picker-renderer.css.map*/</style>';
Bob=d}d=Bob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Cob=a}a=Cob;return a}}});
var zR=yR;zR.prototype.onPopupClosed=zR.prototype.onPopupClosed;zR.prototype.onYtServiceRequestError=zR.prototype.onYtServiceRequestError;zR.prototype.onYtServiceRequestCompleted=zR.prototype.onYtServiceRequestCompleted;zR.prototype.onYtServiceRequestSent=zR.prototype.onYtServiceRequestSent;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],zR.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],zR.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],zR.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],zR.prototype,"data",void 0);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],zR.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],zR.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],zR.prototype,"onYtServiceRequestError",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],zR.prototype,"onPopupClosed",null);
zR=_.S([_.Q({asyncProperties:!0,is:"ytd-kids-blocklist-picker-renderer"})],zR);
var Dob;
var Eob;
var Fob;
var Gob;
var AR=function(){return _.K.apply(this,arguments)||this};
_.q(AR,_.K);AR.prototype.setTip=function(a){var b=this;this.data&&(this.tip=Ngb(Lgb.getInstance(),a,this.data),_.nt(this,function(){b.fire("yt-refit")}))};
AR.prototype.clearTip=function(){this.tip=void 0};
AR.prototype.computeHidden=function(a){return!a};
_.t.Object.defineProperties(AR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Gob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-menu-popup-tip-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_menu_popup_tip_renderer.ytd.menu.popup.tip.renderer.css.js--\x3e<yt-formatted-string text="[[tip]]"></yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Fob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_menu_popup_tip_renderer.ytd.menu.popup.tip.renderer.css.js--\x3e<style>:host {display: inline-block;background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-text-primary);padding: 10px 16px;border-top: 1px solid var(--yt-spec-10-percent-layer);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} /*# sourceMappingURL=ytd-menu-popup-tip-renderer.css.map*/</style>";
Fob=d}d=Fob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Gob=a}a=Gob;return a}}});
var BR=AR;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],BR.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],BR.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeHidden(tip)",value:!0}),_.T("design:type",Boolean)],BR.prototype,"hidden",void 0);_.S([_.N(),_.T("design:type",Object)],BR.prototype,"tip",void 0);BR=_.S([_.Q({asyncProperties:!0,is:"ytd-menu-popup-tip-renderer"})],BR);
var Hob;
var Iob;
var CR=function(){var a=_.K.apply(this,arguments)||this;a.useIcons=!1;return a};
_.q(CR,_.K);_.f=CR.prototype;_.f.onFocus=function(){this.$$("tp-yt-paper-item").focus()};
_.f.computeText=function(a,b,c){return this.componentBehavior.getSimpleString(a?c:b)};
_.f.onTap=function(){var a=this.data.isToggled?this.data.toggledServiceEndpoint:this.data.defaultServiceEndpoint;(null==a?0:a.commandExecutorCommand)?(this.componentBehavior.resolveCommand(a),this.updateToggledStateInEntity()):a&&_.Kg(this,[a])};
_.f.onYtServiceRequestCompleted=function(){this.updateToggledStateInEntity()};
_.f.toggledStateEntityChanged=function(){this.toggleMenuServiceItemEntity&&this.set("data.isToggled",!!this.toggleMenuServiceItemEntity.isToggled)};
_.f.updateToggledStateInEntity=function(){var a=this.data.toggleMenuServiceItemEntityKey,b=!this.data.isToggled;a&&this.ytdReduxBehavior.dispatch(_.jy("toggleMenuServiceItemEntity",a,{key:a,isToggled:b}))};
_.f.computeIcon=function(a,b,c){return(a=a?c:b)&&a.iconType?_.Ft(a.iconType):""};
_.f.computeIconHidden=function(){return this.useIcons?!1:!this.icon};
_.t.Object.defineProperties(CR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Iob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-toggle-menu-service-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_toggle_menu_service_item_renderer.ytd.toggle.menu.service.item.renderer.css.js--\x3e<tp-yt-paper-item>\n  <yt-icon hidden="[[computeIconHidden(icon, useIcons)]]" icon="[[icon]]"></yt-icon>\n  <span>[[computeText(data.isToggled, data.defaultText, data.toggledText)]]</span>\n</tp-yt-paper-item>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Hob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.menus.ytd_toggle_menu_service_item_renderer.ytd.toggle.menu.service.item.renderer.css.js--\x3e<style>:host {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} span {color: var(--yt-spec-text-primary);white-space: nowrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host(:hover) {background-color: var(--yt-spec-10-percent-layer);} yt-icon {margin-right: 16px;width: 24px;height: 24px;color: var(--yt-spec-icon-inactive);display: var(--yt-menu-item-icon-display,none);-ms-flex: none;-webkit-flex: none;flex: none;} :host([use-icons]) {--yt-menu-item-icon-display: inline-block;} tp-yt-paper-item {--paper-item-min-height: 36px;padding: 0 36px 0 16px;} /*# sourceMappingURL=ytd-toggle-menu-service-item-renderer.css.map*/</style>';
Hob=d}d=Hob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Iob=a}a=Iob;return a}}});
var DR=CR;DR.prototype.toggledStateEntityChanged=DR.prototype.toggledStateEntityChanged;DR.prototype.onYtServiceRequestCompleted=DR.prototype.onYtServiceRequestCompleted;DR.prototype.onTap=DR.prototype.onTap;DR.prototype.onFocus=DR.prototype.onFocus;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],DR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],DR.prototype,"componentBehavior",void 0);
_.S([_.L(_.Wu),_.T("design:type",Object)],DR.prototype,"ytdReduxBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],DR.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],DR.prototype,"useIcons",void 0);_.S([_.N({computed:"computeIcon(data.isToggled,data.defaultIcon,data.toggledIcon)",value:""}),_.T("design:type",String)],DR.prototype,"icon",void 0);
_.S([_.N({selectorArgs:["data.toggleMenuServiceItemEntityKey"],selector:function(a,b){return _.Yg(a.entities,"toggleMenuServiceItemEntity",b)}}),
_.T("design:type",Object)],DR.prototype,"toggleMenuServiceItemEntity",void 0);_.S([_.O("focus"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],DR.prototype,"onFocus",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],DR.prototype,"onTap",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],DR.prototype,"onYtServiceRequestCompleted",null);
_.S([_.P("toggleMenuServiceItemEntity.isToggled","data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],DR.prototype,"toggledStateEntityChanged",null);DR=_.S([_.Q({is:"ytd-toggle-menu-service-item-renderer"})],DR);
var Job;
var Kob;
var ER=function(){return _.K.apply(this,arguments)||this};
_.q(ER,_.K);ER.prototype.onFocus=function(){this.$$("tp-yt-paper-item").focus()};
_.t.Object.defineProperties(ER.prototype,{imageSource:{configurable:!0,enumerable:!0,get:function(){if(this.data&&this.data.iconUrl)return _.It(this.data.iconUrl)}}});
_.t.Object.defineProperties(ER,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Kob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-menu-custom-icon-item-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_menu_custom_icon_item_renderer.ytd.menu.custom.icon.item.renderer.css.js--\x3e<a class="yt-simple-endpoint" data="[[data.command]]" href$="[[computeHref_(data.command)]]" tabindex="-1">\n  <tp-yt-paper-item>\n    <img class="custom-icon" hidden$="[[!data.iconUrl]]" alt="icon" src$="[[imageSource]]">\n    <div class="action-text">\n      [[getSimpleString(data.actionText)]]\n      <yt-icon class="launch-icon" icon="yt-icons:launch"></yt-icon>\n    </div>\n  </tp-yt-paper-item>\n</a>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Job){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_menu_custom_icon_item_renderer.ytd.menu.custom.icon.item.renderer.css.js--\x3e<style>:host {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} tp-yt-paper-item {--paper-item-min-height: 40px;} tp-yt-paper-item:hover {background-color: var(--yt-spec-10-percent-layer);} .custom-icon {height: 24px;width: 24px;margin-right: 16px;} .action-text {color: var(--yt-spec-text-primary);text-decoration: none;-ms-flex: none;-webkit-flex: none;flex: none;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .launch-icon {color: var(--yt-spec-call-to-action);height: 16px;padding-bottom: 2px;width: 16px;} /*# sourceMappingURL=ytd-menu-custom-icon-item-renderer.css.map*/</style>';
Job=d}d=Job;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Kob=a}a=Kob;return a}}});
var FR=ER;FR.prototype.onFocus=FR.prototype.onFocus;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],FR.prototype,"rendererBehavior",void 0);_.S([_.L(_.Tu.YtEndpointBehavior),_.T("design:type",Object)],FR.prototype,"ytEndpointBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],FR.prototype,"data",void 0);_.S([_.O("focus"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FR.prototype,"onFocus",null);
_.S([_.V("data.iconUrl"),_.T("design:type",Object),_.T("design:paramtypes",[])],FR.prototype,"imageSource",null);FR=_.S([_.Q({asyncProperties:!0,is:"ytd-menu-custom-icon-item-renderer"})],FR);
var GR=function(){return _.K.apply(this,arguments)||this};
_.q(GR,_.K);_.f=GR.prototype;
_.f.configureRendererStamper=function(){return{"data.items":{id:"items",mapping:{menuNavigationItemRenderer:{component:"ytd-menu-navigation-item-renderer",properties:{useIcons:"[[useIcons]]"}},menuServiceItemRenderer:{component:"ytd-menu-service-item-renderer",properties:{useIcons:"[[useIcons]]"}},menuConditionalNavigationItemRenderer:{component:"ytd-menu-navigation-item-renderer",properties:{useIcons:"[[useIcons]]"}},menuConditionalServiceItemRenderer:{component:"ytd-menu-service-item-renderer",properties:{useIcons:"[[useIcons]]"}},
toggleMenuServiceItemRenderer:{component:"ytd-toggle-menu-service-item-renderer",properties:{useIcons:"[[useIcons]]"}},menuCustomIconItemRenderer:{component:"ytd-menu-custom-icon-item-renderer"},menuServiceItemDownloadRenderer:{component:"ytd-menu-service-item-download-renderer"}}},"data.footer":{id:"footer",mapping:{menuPopupTipRenderer:"ytd-menu-popup-tip-renderer"}}}};
_.f.computeAriaLabel=function(a){return a};
_.f.onPopupOpened=function(){this.items.selected=0;for(var a=_.k(_.H(this.items).children),b=a.next();!b.done;b=a.next())b.value.popupPositionTarget=this.positionTarget;if(a=this.popupTip||void 0)a.setTip(this.source||""),this.source=void 0;this.veData&&(a=_.fg())&&sJ(a,[this.veData])};
_.f.onPopupClosed=function(){var a=this.popupTip||void 0;a&&a.clearTip()};
_.f.onIronActivate=function(){_.C(this,"yt-close-popup-action",["ytd-menu-popup-renderer"]);if(this.veData){var a=_.fg();a&&_.pt(a,this.veData)}};
_.f.computeUseIcons=function(){return this.data&&this.data.items?this.data.items.some(function(a){return a.menuNavigationItemRenderer?!!a.menuNavigationItemRenderer.icon:a.menuServiceItemRenderer?!!a.menuServiceItemRenderer.icon:a.menuConditionalServiceItemRenderer?!!a.menuConditionalServiceItemRenderer.icon:a.menuConditionalNavigationItemRenderer?!!a.menuConditionalNavigationItemRenderer.icon:a.toggleMenuServiceItemRenderer?!!a.toggleMenuServiceItemRenderer.defaultIcon:!1}):!1};
_.t.Object.defineProperties(GR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Eob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-menu-popup-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.menu.ytd_menu_popup_renderer.ytd.menu.popup.renderer.css.js--\x3e<tp-yt-paper-listbox id="items" on-iron-activate="onIronActivate"></tp-yt-paper-listbox>\n<div id="footer"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Dob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.menu.ytd_menu_popup_renderer.ytd.menu.popup.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host {display: inline-grid;grid-template-columns: min-content;background-color: var(--yt-spec-brand-background-primary);border-radius: 4px;box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);} :host([sheets-refresh]) {border-radius: 12px;} /*# sourceMappingURL=ytd-menu-popup-renderer.css.map*/</style>";
Dob=d}d=Dob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Eob=a}a=Eob;return a}}});
var HR=GR;HR.prototype.onPopupClosed=HR.prototype.onPopupClosed;HR.prototype.onPopupOpened=HR.prototype.onPopupOpened;_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],HR.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],HR.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],HR.prototype,"ytRendererBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],HR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],HR.prototype,"veData",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_sheets_ui_refresh")}),_.T("design:type",Boolean)],HR.prototype,"sheetsRefresh",void 0);_.S([_.N({reflectToAttribute:!0,readOnly:!0,computed:"computeAriaLabel(data.menuPopupAccessibility.label)"}),_.T("design:type",String)],HR.prototype,"ariaLabel",void 0);
_.S([_.N({computed:"computeUseIcons(data)",reflectToAttribute:!0}),_.T("design:type",Boolean)],HR.prototype,"useIcons",void 0);_.S([_.Z("#items"),_.T("design:type",Object)],HR.prototype,"items",void 0);_.S([_.Z("ytd-menu-popup-tip-renderer"),_.T("design:type",BR)],HR.prototype,"popupTip",void 0);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HR.prototype,"onPopupOpened",null);
_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HR.prototype,"onPopupClosed",null);HR=_.S([_.Q({asyncProperties:!0,is:"ytd-menu-popup-renderer"})],HR);
var Lob;
var Mob;
var IR=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-update-notifications-unseen-count-action":"handleUpdateNotificationsUnseenCountAction","yt-multi-page-menu-closed-action":"handleTopbarMenuClosedAction"};a.unseenCount=0;return a};
_.q(IR,_.K);_.f=IR.prototype;_.f.attached=function(){var a=this;this.data&&this.data.updateUnseenCountEndpoint&&this.sendUnseenCountRequest(this.data.updateUnseenCountEndpoint);navigator&&navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",function(b){a.onServiceWorkerMessage(b)})};
_.f.onDataChanged=function(a,b){this.isAttached&&!b&&a&&a.updateUnseenCountEndpoint&&this.sendUnseenCountRequest(a.updateUnseenCountEndpoint)};
_.f.onServiceWorkerMessage=function(a){"update_unseen_notifications_count_signal"===a.data.type&&this.data&&this.data.updateUnseenCountEndpoint&&this.hasUnseenNotificationCountEndpoint()&&this.sendUnseenCountRequest(this.data.updateUnseenCountEndpoint)};
_.f.hasUnseenNotificationCountEndpoint=function(){return!!this.data&&!!this.data.updateUnseenCountEndpoint&&!!this.data.updateUnseenCountEndpoint.signalServiceEndpoint&&"GET_UNSEEN_NOTIFICATION_COUNT"===this.data.updateUnseenCountEndpoint.signalServiceEndpoint.signal};
_.f.computeAccessibility_=function(a){return this.get("accessibility.accessibilityData",a)||null};
_.f.handleUpdateNotificationsUnseenCountAction=function(a){var b=this,c;null!=(c=a.updateNotificationsUnseenCountAction)&&c.unseenCount&&"NOTIFICATION_ACTION_UPDATE_UNSEEN_COUNT"===a.updateNotificationsUnseenCountAction.handlerData&&(this.updateCountUI(a.updateNotificationsUnseenCountAction.unseenCount),0<a.updateNotificationsUnseenCountAction.unseenCount&&(this.cachedAction=void 0),_.xe.addLowPriorityJob(function(){_.Kg(b,[b.data.updateUnseenCountEndpoint])},a.updateNotificationsUnseenCountAction.timeoutMs))};
_.f.onTap=function(){this.fire("yt-update-unseen-notification-count",0);this.set("unseenCount",0);this.toggleIconState(!0);var a=_.Jg(this,"yt-get-popup-opened-action",["ytd-multi-page-menu-renderer"]);a&&1===a.length&&a[0]?_.C(this,"yt-close-popup-action",["ytd-multi-page-menu-renderer"]):this.cachedAction?this.ytdOpenPopupBehavior.openPopup(this.cachedAction):this.data.menuRequest&&_.Kg(this,[this.data.menuRequest])};
_.f.handleTopbarMenuClosedAction=function(a){var b,c;(new Map([["multi-page-menu-style-type-creation","VIDEO_CALL"],["multi-page-menu-style-type-notifications","NOTIFICATIONS"],["multi-page-menu-style-type-yt-apps","APPS"]])).get(a)===(null==(b=this.data)?void 0:null==(c=b.icon)?void 0:c.iconType)&&this.toggleIconState(!1)};
_.f.toggleIconState=function(a){this.JSC$39910_iconButton&&(this.JSC$39910_iconButton.pressed=a)};
_.f.onServiceRequestCompleted=function(a,b){if(a=b.actions){b=0;for(var c=a.length;b<c;b++){var d=this.get("openPopupAction.popupType",a[b]);if("MULTI_PAGE_MENU_STYLE_TYPE_NOTIFICATIONS"===this.get("openPopupAction.popupType.multiPageMenuRenderer.style",a[b])&&"DROPDOWN"===d){this.cachedAction=a[b];break}}}};
_.f.sendUnseenCountRequest=function(a){var b=this;_.Jn(_.xe,function(){_.Kg(b,[a])})};
_.f.updateCountUI=function(a){this.set("unseenCount",9>a?a:"9+")};
_.t.Object.defineProperties(IR.prototype,{showNotificationCount:{configurable:!0,enumerable:!0,get:function(){return this.unseenCount}}});
_.t.Object.defineProperties(IR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Mob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-notification-topbar-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.notification.ytd_notification_topbar_button_renderer.ytd.notification.topbar.button.renderer.css.js--\x3e<div id="button">\n  \n</div>\n<div id="notification-count" hidden="[[!showNotificationCount]]">\n  [[unseenCount]]\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Lob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.notification.ytd_notification_topbar_button_renderer.ytd.notification.topbar.button.renderer.css.js--\x3e<style>tp-yt-paper-button {display: inline-block;text-align: center;font-family: inherit;} :host {display: inline-block;text-transform: uppercase;} :host(.force-icon-button) a {cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([disabled]) a:focus {outline: none;} :host([is-icon-button][has-no-text]) {font-size: 0;} a {display: -ms-flexbox;display: -webkit-flex;display: flex;} a.yt-simple-endpoint {color: inherit;border-radius: inherit;text-decoration: none;} :host([is-paper-button]) {border-radius: var(--yt-button-border-radius,3px);margin: var(--yt-button-margin,0 0.29em);} :host([is-paper-button][disabled]) {color: var(--yt-spec-text-disabled);background-color: transparent;} :host([is-icon-button][disabled]) {color: var(--yt-spec-text-disabled);} :host([is-icon-button][style-action-button]) {--yt-button-icon-padding: 6px;} :host([is-paper-button][align-by-text]:not(:empty)) {margin-left: -16px;} :host([is-icon-button][icon-align-by-text]:not(:empty)) {margin-left: -8px;} :host([is-paper-button][button-size=size-large]) {line-height: 24px;} tp-yt-paper-button {width: var(--yt-paper-button-width,auto);height: var(--yt-paper-button-height,auto);border-radius: inherit;margin: 0;padding: var(--yt-button-padding,0.7em 0.57em);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;@apply --yt-button-paper-button;} :host([start-justified]) tp-yt-paper-button {-ms-flex-pack: start;-webkit-justify-content: flex-start;justify-content: flex-start;} :host([vertically-aligned]) tp-yt-paper-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([vertically-aligned]) tp-yt-paper-button #text {overflow: hidden;text-align: center;text-overflow: ellipsis;width: inherit;} #button {color: var(--yt-button-color);background-color: var(--yt-button-background-color);} :host #button {color: var(--yt-button-color,inherit);background-color: transparent;text-transform: var(--yt-button-text-transform,inherit);} button,yt-icon-button {padding: 1px 6px;} yt-icon-button {width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);color: var(--yt-endpoint-color,var(--yt-deprecated-luna-black));} yt-icon-button::-moz-focus-inner {padding: 0;margin: 0;border: 0;} yt-icon-button[disabled] {color: var(--yt-button-disabled-color,rgba(17,17,17,0.2));} yt-icon-button {line-height: 1;padding: var(--yt-button-icon-padding,8px);width: var(--yt-button-icon-size,var(--yt-icon-width,40px));height: var(--yt-button-icon-size,var(--yt-icon-height,40px));} yt-icon-button>yt-icon {width: 100%;height: 100%;} #button yt-icon+yt-formatted-string {margin-left: var(--yt-string-icon-padding,8px);} #button yt-formatted-string+yt-icon {margin-left: var(--yt-button-icon-padding,8px);} :host([vertically-aligned]) #button yt-icon+yt-formatted-string {margin-left: 0;margin-top: var(--yt-string-icon-padding,4px);} :host([vertically-aligned]) #button yt-formatted-string+yt-icon {margin-left: 0;margin-top: var(--yt-button-icon-padding,4px);} :host {color: var(--yt-spec-icon-active-other);position: relative;} button {background: none;border: none;outline: none;display: -ms-flexbox;display: -webkit-flex;display: flex;} tp-yt-paper-tooltip {white-space: nowrap;} #blue-info-notification-icon {color: var(--yt-spec-call-to-action);} #notification-count {position: absolute;top: 4px;left: 20px;color: var(--yt-spec-static-brand-white);background-color: var(--yt-spec-brand-button-background);border: 2px solid var(--yt-spec-brand-background-primary);padding: 0 4px;min-width: 8px;max-width: 18px;height: 16px;border-radius: 22px;text-align: center;cursor: pointer;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;line-height: 1.6rem;} /*# sourceMappingURL=ytd-notification-topbar-button-renderer.css.map*/</style>';
Lob=d}d=Lob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Mob=a}a=Mob;return a}}});
var JR=IR;JR.prototype.onServiceRequestCompleted=JR.prototype.onServiceRequestCompleted;JR.prototype.onTap=JR.prototype.onTap;JR.prototype.handleUpdateNotificationsUnseenCountAction=JR.prototype.handleUpdateNotificationsUnseenCountAction;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],JR.prototype,"ytdOpenPopupBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],JR.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.lv.YtButtonBehavior),_.T("design:type",Object)],JR.prototype,"ytButtonBehavior",void 0);_.S([_.N({observer:"onDataChanged"}),_.T("design:type",Object)],JR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],JR.prototype,"cachedAction",void 0);_.S([_.N(),_.T("design:type",Object)],JR.prototype,"unseenCount",void 0);
_.S([_.N({value:!0}),_.T("design:type",Boolean)],JR.prototype,"showTooltips",void 0);_.S([_.Z("#button"),_.T("design:type",HTMLButtonElement)],JR.prototype,"container",void 0);_.S([_.Z("yt-icon-button#button"),_.T("design:type",HTMLButtonElement)],JR.prototype,"JSC$39910_iconButton",void 0);_.S([_.V("unseenCount"),_.T("design:type",Object),_.T("design:paramtypes",[])],JR.prototype,"showNotificationCount",null);
_.S([_.O("yt-update-notifications-unseen-count-action"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],JR.prototype,"handleUpdateNotificationsUnseenCountAction",null);_.S([_.O("tap"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],JR.prototype,"onTap",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],JR.prototype,"onServiceRequestCompleted",null);JR=_.S([_.Q({asyncProperties:!0,is:"ytd-notification-topbar-button-renderer"})],JR);
var Nob;
var Oob;
var Pob,Qob=function(){if(void 0!==Pob)return Pob;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_shady_unscoped--\x3e<style shady-unscoped>@require "google3/video/youtube/web/contrib/web_interface_library/youtube_standards/colors/semantic_colors"; .yt-spec-icon-badge-shape {display: inline-block;color: var(--yt-spec-icon-active-other);position: relative;} .yt-spec-icon-badge-shape__icon {width: 24px;height: 24px;fill: currentColor;} .yt-spec-icon-badge-shape__badge {position: absolute;top: -4px;left: 12px;display: inline-block;padding: 0px 4px;min-width: 8px;max-width: 18px;height: 16px;border: 2px solid var(--yt-spec-brand-background-primary);border-radius: 22px;text-align: center;font-family: "Roboto","Arial",sans-serif;font-size: 12px;font-weight: 400;line-height: 16px;} .yt-spec-icon-badge-shape--text-size-small {} .yt-spec-icon-badge-shape--text-size-small .yt-spec-icon-badge-shape__badge {font-size: 10px;} .yt-spec-icon-badge-shape--type-notification {} .yt-spec-icon-badge-shape--type-notification .yt-spec-icon-badge-shape__badge {background-color: var(--yt-spec-brand-button-background);color: var(--yt-spec-static-brand-white);} .yt-spec-icon-badge-shape--type-cart {} .yt-spec-icon-badge-shape--type-cart .yt-spec-icon-badge-shape__badge {background-color: var(--yt-spec-call-to-action);color: var(--yt-spec-text-primary-inverse);} /*# sourceMappingURL=yt-icon-badge-shape.css.map*/</style>';
return Pob=a};
document.head.appendChild(Qob().content);
var Rob;
var KR=function(){return _.K.apply(this,arguments)||this};
_.q(KR,_.K);KR.prototype.renderIdom=function(){var a=this;this.data&&this.icon&&m$a(this.data,function(){_.Iw("yt-icon",{icon:a.icon},_.MYa)})};
_.t.Object.defineProperties(KR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Rob){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:yt-icon-badge-shape--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.web_interface_library.youtube_standards.yt_icon_badge_shape.yt.icon.badge.shape.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
a.content.insertBefore(Qob().content.cloneNode(!0),a.content.firstChild);Rob=a}a=Rob;return a}}});
var LR=KR;_.S([_.L(_.kLa),_.T("design:type",Object)],LR.prototype,"ytIdomTemplatingBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],LR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],LR.prototype,"icon",void 0);LR=_.S([_.lu({is:"yt-icon-badge-shape",isInjectionRoot:!0})],LR);
var MR=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-update-notifications-unseen-count-action":"handleUpdateNotificationsUnseenCountAction","yt-multi-page-menu-closed-action":"handleTopbarMenuClosedAction"};a.unseenCount=0;return a};
_.q(MR,_.K);_.f=MR.prototype;_.f.attached=function(){var a=this;this.data&&this.data.updateUnseenCountEndpoint&&this.sendUnseenCountRequest(this.data.updateUnseenCountEndpoint);navigator&&navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",function(b){a.onServiceWorkerMessage(b)})};
_.f.onDataChanged=function(a,b){this.isAttached&&!b&&a&&a.updateUnseenCountEndpoint&&this.sendUnseenCountRequest(a.updateUnseenCountEndpoint)};
_.f.computeIconBadgeShape=function(){return{iconBadgeType:"notification",iconBadgeText:this.unseenCount}};
_.f.computeIcon=function(){var a,b;return null==(a=this.data)?void 0:null==(b=a.icon)?void 0:b.iconType};
_.f.onServiceWorkerMessage=function(a){"update_unseen_notifications_count_signal"===a.data.type&&this.data&&this.data.updateUnseenCountEndpoint&&this.hasUnseenNotificationCountEndpoint()&&this.sendUnseenCountRequest(this.data.updateUnseenCountEndpoint)};
_.f.hasUnseenNotificationCountEndpoint=function(){return!!this.data&&!!this.data.updateUnseenCountEndpoint&&!!this.data.updateUnseenCountEndpoint.signalServiceEndpoint&&"GET_UNSEEN_NOTIFICATION_COUNT"===this.data.updateUnseenCountEndpoint.signalServiceEndpoint.signal};
_.f.handleUpdateNotificationsUnseenCountAction=function(a){var b=this,c;null!=(c=a.updateNotificationsUnseenCountAction)&&c.unseenCount&&"NOTIFICATION_ACTION_UPDATE_UNSEEN_COUNT"===a.updateNotificationsUnseenCountAction.handlerData&&(this.updateCountUI(a.updateNotificationsUnseenCountAction.unseenCount),_.xe.addLowPriorityJob(function(){b.data.updateUnseenCountEndpoint&&b.ytComponentBehavior.resolveCommand(b.data.updateUnseenCountEndpoint)},a.updateNotificationsUnseenCountAction.timeoutMs))};
_.f.onClick=function(){this.fire("yt-update-unseen-notification-count",0);this.set("unseenCount",0);this.toggleIconState(!0);var a=_.Jg(this,"yt-get-popup-opened-action",["ytd-multi-page-menu-renderer"]),b=this.data.menuRequest;a&&1===a.length&&a[0]?_.C(this,"yt-close-popup-action",["ytd-multi-page-menu-renderer"]):b&&this.ytComponentBehavior.resolveCommand(b)};
_.f.handleTopbarMenuClosedAction=function(a){var b,c;(new Map([["multi-page-menu-style-type-creation","VIDEO_CALL"],["multi-page-menu-style-type-notifications","NOTIFICATIONS"],["multi-page-menu-style-type-yt-apps","APPS"]])).get(a)===(null==(b=this.data)?void 0:null==(c=b.icon)?void 0:c.iconType)&&this.toggleIconState(!1)};
_.f.toggleIconState=function(a){this.JSC$39918_iconButton&&(this.JSC$39918_iconButton.pressed=a)};
_.f.sendUnseenCountRequest=function(a){var b=this;_.Jn(_.xe,function(){b.ytComponentBehavior.resolveCommand(a)})};
_.f.updateCountUI=function(a){this.set("unseenCount",9>a?a:"9+")};
_.t.Object.defineProperties(MR.prototype,{showNotificationCount:{configurable:!0,enumerable:!0,get:function(){return this.unseenCount}}});
_.t.Object.defineProperties(MR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Oob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-notification-topbar-button-shape-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.notification.ytd_notification_topbar_button_shape_renderer.ytd.notification.topbar.button.shape.renderer.css.js--\x3e<yt-icon-button id="icon" label="[[data.accessibility.accessibilityData.label]]" on-click="onClick">\n  <yt-icon-badge-shape data="[[computeIconBadgeShape(unseenCount)]]" icon="[[computeIcon(data)]]">\n  </yt-icon-badge-shape>\n</yt-icon-button>\n<tp-yt-paper-tooltip>[[data.tooltip]]</tp-yt-paper-tooltip>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Nob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.notification.ytd_notification_topbar_button_shape_renderer.ytd.notification.topbar.button.shape.renderer.css.js--\x3e<style>tp-yt-paper-tooltip {white-space: nowrap;} yt-icon-button {width: 40px;height: 40px;} /*# sourceMappingURL=ytd-notification-topbar-button-shape-renderer.css.map*/</style>";
Nob=d}d=Nob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Oob=a}a=Oob;return a}}});
var NR=MR;NR.prototype.handleUpdateNotificationsUnseenCountAction=NR.prototype.handleUpdateNotificationsUnseenCountAction;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],NR.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.ov),_.T("design:type",Object)],NR.prototype,"ytdOpenPopupBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],NR.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N({observer:"onDataChanged"}),_.T("design:type",Object)],NR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],NR.prototype,"unseenCount",void 0);_.S([_.N({value:!0}),_.T("design:type",Boolean)],NR.prototype,"showTooltips",void 0);_.S([_.Z("yt-icon-button"),_.T("design:type",HTMLButtonElement)],NR.prototype,"JSC$39918_iconButton",void 0);
_.S([_.V("unseenCount"),_.T("design:type",Object),_.T("design:paramtypes",[])],NR.prototype,"showNotificationCount",null);_.S([_.O("yt-update-notifications-unseen-count-action"),_.T("design:type",Function),_.T("design:paramtypes",[Object]),_.T("design:returntype")],NR.prototype,"handleUpdateNotificationsUnseenCountAction",null);NR=_.S([_.Q({asyncProperties:!0,is:"ytd-notification-topbar-button-shape-renderer"})],NR);
var Sob;
var Tob;
var OR=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggled"};return a};
_.q(OR,_.K);OR.prototype.configureRendererStamper=function(){return{"data.helpButton":{id:"help-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}}}};
OR.prototype.attached=function(){this.dark=document.documentElement.hasAttribute("dark")};
OR.prototype.onDarkModeToggled=function(a){this.dark=a};
_.t.Object.defineProperties(OR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Tob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-pdg-buy-flow-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.yt_pdg_buy_flow_header_renderer.yt.pdg.buy.flow.header.renderer.css.js--\x3e<div id="text-container">\n  <yt-formatted-string id="title" text="[[data.text]]"></yt-formatted-string>\n</div>\n<div id="help-button"></div>\n<div id="dismiss-button"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Sob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.yt_pdg_buy_flow_header_renderer.yt.pdg.buy.flow.header.renderer.css.js--\x3e<style>:host {display: block;color: var(--yt-spec-text-primary);min-width: 512px;box-sizing: border-box;padding: 24px 24px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #title {display: block;color: var(--yt-spec-text-primary);font-family: "YouTube Sans","YT SANS";max-width: 512px;font-size: 3.2rem;font-weight: 500;line-height: 3.8rem;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} #text-container {max-width: 440px;overflow: hidden;} /*# sourceMappingURL=yt-pdg-buy-flow-header-renderer.css.map*/</style>';
Sob=d}d=Sob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Tob=a}a=Tob;return a}}});
var PR=OR;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],PR.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],PR.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],PR.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],PR.prototype,"data",void 0);_.S([_.N({value:!0,reflectToAttribute:!0}),_.T("design:type",Boolean)],PR.prototype,"dark",void 0);
PR=_.S([_.Q({asyncProperties:!0,is:"yt-pdg-buy-flow-header-renderer"})],PR);
var Uob;
var Vob;
var Wob;
var Xob;
var QR=function(){var a=_.K.apply(this,arguments)||this;a.isAnimationDisabled=!1;a.currentCommentOptionIndex=0;a.textCycleOptions=[];a.isUserGeneratedCommentEnabled=!1;a.animationEndHandler=function(){};
a.userGeneratedCommentChangedHandler=function(){a.fire("ytd-pdg-user-generated-comment-changed")};
a.pasteHandler=function(b){b.preventDefault();b.stopImmediatePropagation();var c;if(b=null==(c=b.clipboardData)?void 0:c.getData("text/plain"))c=document.getSelection().getRangeAt(0),c.collapsed||c.deleteContents(),b=document.createTextNode(b),c.insertNode(b),c.selectNodeContents(b),c.collapse(!1),b=window.getSelection(),b.removeAllRanges(),b.addRange(c)};
return a};
_.q(QR,_.K);_.f=QR.prototype;_.f.attached=function(){var a=this;this.animationEndHandler=function(b){a.handleAnimationEnd(b)};
this.contentEl.addEventListener("animationend",this.animationEndHandler);this.contentEl.addEventListener("input",this.userGeneratedCommentChangedHandler);this.contentEl.addEventListener("paste",this.pasteHandler)};
_.f.detached=function(){this.contentEl.removeEventListener("animationend",this.animationEndHandler);this.contentEl.removeEventListener("input",this.userGeneratedCommentChangedHandler);this.contentEl.removeEventListener("paste",this.pasteHandler)};
_.f.currentCommentOptionChanged=function(){if(!this.isUserGeneratedCommentEnabled){var a;this.contentEl.textContent=this.rendererBehavior.getSimpleString(null==(a=this.currentCommentOption)?void 0:a.commentText)}this.handleBackgroundColorStyling()};
_.f.setupCyclingAnimation=function(){if(this.data&&this.data.commentOptionRenderers){this.textCycleOptions=[];for(var a=_.k(this.data.commentOptionRenderers),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0,d=void 0;(null==(c=b)?0:null==(d=c.pdgCommentOptionRenderer)?0:d.commentText)&&this.textCycleOptions.push(this.rendererBehavior.getSimpleString(b.pdgCommentOptionRenderer.commentText))}this.contentEl.textContent=this.textCycleOptions[this.currentCommentOptionIndex];!this.isAnimationDisabled&&
1<this.data.commentOptionRenderers.length&&(this.contentEl.classList.add("fadein"),this.containerEl.classList.add("background-transition-in"),this.paidCommentChipContainerEl.classList.add("fadein"),this.paidBackgroundImageContainerEL.classList.add("fadein"))}};
_.f.dataChanged=function(){var a;if(this.isUserGeneratedCommentEnabled=!(null==(a=this.data)||!a.defaultCommentText)){this.contentEl.setAttribute("contenteditable","true");this.containerEl.classList.add("ugc");var b;this.contentEl.textContent=this.rendererBehavior.getSimpleString(null==(b=this.data)?void 0:b.defaultCommentText)}};
_.f.handleAnimationEnd=function(a){var b=this;"fadein"===a.animationName?setTimeout(function(){b.contentEl.classList.remove("fadein");b.contentEl.classList.add("fadeout");b.containerEl.classList.remove("background-transition-in");b.containerEl.classList.add("background-transition-out");b.paidCommentChipContainerEl.classList.remove("fadein");b.paidCommentChipContainerEl.classList.add("fadeout");b.paidBackgroundImageContainerEL.classList.remove("fadein");b.paidBackgroundImageContainerEL.classList.add("fadeout")},
1E3):"fadeout"===a.animationName&&(this.currentCommentOptionIndex=(this.currentCommentOptionIndex+1)%this.textCycleOptions.length,this.contentEl.classList.remove("fadeout"),this.contentEl.classList.add("fadein"),this.containerEl.classList.remove("background-transition-out"),this.containerEl.classList.add("background-transition-in"),this.paidCommentChipContainerEl.classList.remove("fadeout"),this.paidCommentChipContainerEl.classList.add("fadein"),this.paidBackgroundImageContainerEL.classList.remove("fadeout"),
this.paidBackgroundImageContainerEL.classList.add("fadein"))};
_.f.handleBackgroundColorStyling=function(){var a;if(null==(a=this.currentCommentOption)?0:a.commentBackgroundColorArgb){var b;this.updateStyles({"--ytd-pdg-comment-preview-background-color":_.bv(null==(b=this.currentCommentOption)?void 0:b.commentBackgroundColorArgb)})}else this.updateStyles({"--ytd-pdg-comment-preview-background-color":"initial"})};
_.f.onContainerClick=function(){this.containerEl.classList.contains("ugc")&&this.contentEl.focus()};
_.f.onContentDrop=function(a){var b=this;if(a.dataTransfer){a=_.k(a.dataTransfer.items);for(var c=a.next();!c.done;c=a.next())c=c.value,"string"===c.kind&&c.type.match("^text/plain")&&c.getAsString(function(d){var e;null==(e=b.contentEl)||e.appendChild(document.createTextNode(d))})}};
_.f.getUserGeneratedCommentText=function(){var a,b=null==(a=this.contentEl)?void 0:a.innerText;return b?b.trim():""};
_.f.getIsUserGeneratedCommentEnabled=function(){return this.isUserGeneratedCommentEnabled};
_.t.Object.defineProperties(QR.prototype,{title:{configurable:!0,enumerable:!0,get:function(){return this.rendererBehavior.getSimpleString(this.data.title)}},
channelName:{configurable:!0,enumerable:!0,get:function(){return this.rendererBehavior.getSimpleString(this.data.authorText)}},
shouldShowPaidCommentChipRenderer:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.currentCommentOption)||!a.chipRenderer)}},
shouldShowPaidCommentBackgroundImage:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this.currentCommentOption)?0:null==(b=a.commentBackgroundImage)?0:b.thumbnails)}},
paidCommentBackgroundImage:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.currentCommentOption)?0:a.commentBackgroundImage)return this.currentCommentOption.commentBackgroundImage}},
paidCommentChipRenderer:{configurable:!0,enumerable:!0,get:function(){var a,b;if(null==(a=this.currentCommentOption)?0:null==(b=a.chipRenderer)?0:b.pdgCommentChipRenderer)return this.currentCommentOption.chipRenderer.pdgCommentChipRenderer}},
currentCommentOption:{configurable:!0,enumerable:!0,get:function(){var a,b,c;return(null==(a=this.data)?0:a.commentOptionRenderers)?null==(b=this.data)?void 0:null==(c=b.commentOptionRenderers[this.currentCommentOptionIndex])?void 0:c.pdgCommentOptionRenderer:void 0}}});
_.t.Object.defineProperties(QR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Xob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-pdg-comment-preview-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_comment_preview_renderer.ytd.pdg.comment.preview.renderer.css.js--\x3e<div id="title-background">\n  <h2 id="title">\n    [[title]]\n  </h2>\n</div>\n<div id="container" on-click="onContainerClick">\n  <div id="background-image-container">\n    <template is="dom-if" if="[[shouldShowPaidCommentBackgroundImage]]">\n      <yt-img-shadow id="paid-background-image" height="215" thumbnail="[[paidCommentBackgroundImage]]" width="307">\n      </yt-img-shadow>\n    </template>\n  </div>\n  <div id="comment">\n    <yt-img-shadow id="author-thumbnail" fit="" height="40" thumbnail="[[data.authorThumbnail]]" width="40">\n    </yt-img-shadow>\n    <div id="text">\n      <div id="header">\n        <span id="channel-name">[[channelName]]</span>\n      </div>\n      <span id="comment-chip-container">\n        <template is="dom-if" if="[[shouldShowPaidCommentChipRenderer]]">\n        <yt-pdg-comment-chip-renderer id="paid-comment-chip-renderer" data="[[paidCommentChipRenderer]]">\n        </yt-pdg-comment-chip-renderer>\n        </template>\n      </span>\n      <span id="content" on-drop="onContentDrop">[[content]]</span>\n    </div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Wob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_comment_preview_renderer.ytd.pdg.comment.preview.renderer.css.js--\x3e<style>:host {position: relative;} #container {padding: 12px 0;padding-inline: 16px 8px;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 2px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;background-color: var(--ytd-pdg-comment-preview-background-color);overflow: hidden;position: relative;} #container.ugc:hover {border-color: var(--yt-spec-text-primary);} #container.ugc:focus-within {border-color: var(--yt-spec-call-to-action);} #title-background {background-color: var(--yt-spec-brand-background-solid);position: absolute;top: -0.85rem;left: 1.7rem;z-index: 1;} #title {color: var(--yt-spec-text-secondary);padding: 4px;border-radius: 2px;background-color: var(--yt-spec-badge-chip-background);white-space: nowrap;font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} #author-thumbnail {width: 40px;height: 40px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} #header {display: flex;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #channel-name {color: var(--yt-spec-text-secondary);font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #comment {margin-top: 4px;margin-bottom: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;z-index: 1;} #content {color: var(--yt-spec-text-primary);display: inline-block;margin-top: 4px;white-space: pre-wrap;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #content:focus {outline: none;} #container.ugc #content {display: inline;-webkit-user-modify: read-write-plaintext-only;} #container.ugc #content:empty {padding: 0 1px;} #background-image-container {position: absolute;width: 307px;bottom: 0;left: 0;} #background-image-container #paid-background-image {vertical-align: bottom;} :dir(rtl) #paid-background-image {transform: scaleX(-1);} yt-pdg-comment-chip-renderer {margin-right: 5px;font-size: 1.3rem;font-weight: 500;line-height: 1.8rem;} #text {flex: 1;overflow: auto;max-height: 300px;padding-inline-end: 8px;} #container.ugc #text {cursor: text;} .fadein {animation: fadein 1s;} .fadeout {animation: fadeout 1s;} .background-transition-in {animation: background-transition-in 1s;} .background-transition-out {animation: background-transition-out 1s;} @keyframes background-transition-in {from {background-color: transparent;}to {background-color: var(--ytd-pdg-comment-preview-background-color);}} @keyframes background-transition-out {from {background-color: var(--ytd-pdg-comment-preview-background-color);}to {background-color: transparent;}} @keyframes fadein {from {opacity: 0;}to {opacity: 1;}} @keyframes fadeout {from {opacity: 1;}to {opacity: 0;}} /*# sourceMappingURL=ytd-pdg-comment-preview-renderer.css.map*/</style>';
Wob=d}d=Wob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Xob=a}a=Xob;return a}}});
var RR=QR;RR.prototype.dataChanged=RR.prototype.dataChanged;RR.prototype.setupCyclingAnimation=RR.prototype.setupCyclingAnimation;RR.prototype.currentCommentOptionChanged=RR.prototype.currentCommentOptionChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],RR.prototype,"rendererBehavior",void 0);_.S([_.Z("#content"),_.T("design:type",HTMLElement)],RR.prototype,"contentEl",void 0);_.S([_.Z("#container"),_.T("design:type",HTMLElement)],RR.prototype,"containerEl",void 0);
_.S([_.Z("#background-image-container"),_.T("design:type",HTMLElement)],RR.prototype,"paidBackgroundImageContainerEL",void 0);_.S([_.Z("#comment-chip-container"),_.T("design:type",HTMLElement)],RR.prototype,"paidCommentChipContainerEl",void 0);_.S([_.N(),_.T("design:type",Object)],RR.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],RR.prototype,"isAnimationDisabled",void 0);_.S([_.N(),_.T("design:type",Number)],RR.prototype,"currentCommentOptionIndex",void 0);
_.S([_.P("currentCommentOption"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RR.prototype,"currentCommentOptionChanged",null);_.S([_.P("data.commentOptionRenderers"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RR.prototype,"setupCyclingAnimation",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],RR.prototype,"dataChanged",null);
_.S([_.V("data.title"),_.T("design:type",Object),_.T("design:paramtypes",[])],RR.prototype,"title",null);_.S([_.V("data.authorText"),_.T("design:type",Object),_.T("design:paramtypes",[])],RR.prototype,"channelName",null);_.S([_.V("data.commentOptionRenderers","currentCommentOption"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RR.prototype,"shouldShowPaidCommentChipRenderer",null);
_.S([_.V("data.commentOptionRenderers","currentCommentOption"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],RR.prototype,"shouldShowPaidCommentBackgroundImage",null);_.S([_.V("data.commentOptionRenderers","currentCommentOption"),_.T("design:type",Object),_.T("design:paramtypes",[])],RR.prototype,"paidCommentBackgroundImage",null);_.S([_.V("data.commentOptionRenderers","currentCommentOption"),_.T("design:type",Object),_.T("design:paramtypes",[])],RR.prototype,"paidCommentChipRenderer",null);
_.S([_.V("data.commentOptionRenderers","currentCommentOptionIndex"),_.T("design:type",Object),_.T("design:paramtypes",[])],RR.prototype,"currentCommentOption",null);RR=_.S([_.Q({is:"ytd-pdg-comment-preview-renderer"})],RR);
var Yob;
var Zob;
var SR=function(){var a=_.K.apply(this,arguments)||this;a.isSelectable=!1;a.selected=!1;return a};
_.q(SR,_.K);_.f=SR.prototype;_.f.beforeRegister=function(){this.ironA11yKeysBehavior.keyBindings={"enter:keydown":"onKeyboardSelect","space:keydown":"onKeyboardSelect"}};
_.f.attached=function(){this.setAttribute("tabindex","0");this.isSelectable?this.setAttribute("role","radio"):this.setAttribute("role","button")};
_.f.dataChanged=function(){this.data&&(this.updateSelectableStatus(),this.data.chipColorArgb&&this.data.chipFontColorArgb&&this.updateStyles({"--yt-pdg-super-vod-selectable-item-button-chip-background-color":_.bv(this.data.chipColorArgb),"--yt-pdg-super-vod-selectable-item-button-chip-font-color":_.bv(this.data.chipFontColorArgb)}),this.basePriceText=this.data.basePriceText,this.purchaseCommand=this.data.purchaseCommand)};
_.f.selectedChanged=function(){this.setAttribute("aria-checked",this.selected.toString())};
_.f.onClick=function(){!this.isSelectable&&this.purchaseCommand&&_.Kg(this,[this.purchaseCommand]);this.logClick()};
_.f.onKeyboardSelect=function(){this.isSelectable&&this.fire("tap");this.onClick()};
_.f.logClick=function(){this.data&&this.ytRendererBehavior.logExplicitClick(this.data)};
_.f.updateSelectableStatus=function(){var a=_.H(this);this.isSelectable?a.setAttribute("selectable","true"):a.removeAttribute("selectable")};
_.t.Object.defineProperties(SR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Zob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-pdg-super-vod-selectable-item-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_super_vod_selectable_item_button_renderer.ytd.pdg.super.vod.selectable.item.button.renderer.css.js--\x3e<yt-img-shadow height="100" thumbnail="[[data.buttonImage]]" width="107">\n</yt-img-shadow>\n<span id="price">[[getSimpleString(data.basePriceText)]]</span>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Yob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_super_vod_selectable_item_button_renderer.ytd.pdg.super.vod.selectable.item.button.renderer.css.js--\x3e<style>:host {display: flex;position: relative;cursor: pointer;border-radius: 2px;box-sizing: border-box;--yt-img-border-radius: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host(:focus) {outline: 1px solid var(--yt-spec-call-to-action-faded);} #price {border-radius: 2px;padding: 4px;background-color: var(--yt-pdg-super-vod-selectable-item-button-chip-background-color);margin: 8px 0;color: var(--yt-pdg-super-vod-selectable-item-button-chip-font-color);font-size: var(--yt-badge-font-size,1.2rem);font-weight: var(--yt-badge-font-weight,500);line-height: var(--yt-badge-line-height-size,1.2rem);letter-spacing: var(--yt-badge-letter-spacing,unset);} :host([selectable]) {border: 1px solid var(--yt-spec-call-to-action);user-select: none;height: 36px;flex: 1;padding: 7px 16px;} :host([selectable]):focus-visible {border: 2px solid var(--yt-spec-text-primary);padding: 6px 15px;outline: none;} :host([selectable]) yt-img-shadow {display: none;} :host([selectable]) #price {background-color: transparent;padding: 0;margin: 0;color: var(--yt-spec-call-to-action);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} :host([selected]) {background-color: var(--yt-spec-call-to-action);} :host([selected]) #price {color: var(--yt-spec-text-primary-inverse);} /*# sourceMappingURL=ytd-pdg-super-vod-selectable-item-button-renderer.css.map*/</style>';
Yob=d}d=Yob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Zob=a}a=Zob;return a}}});
var TR=SR;TR.prototype.onClick=TR.prototype.onClick;TR.prototype.selectedChanged=TR.prototype.selectedChanged;TR.prototype.dataChanged=TR.prototype.dataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],TR.prototype,"componentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],TR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Xs),_.T("design:type",Object)],TR.prototype,"ironA11yKeysBehavior",void 0);
_.S([_.L(_.ux),_.T("design:type",Object)],TR.prototype,"ironSelectableBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],TR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],TR.prototype,"shownThumbnail",void 0);_.S([_.N(),_.T("design:type",Object)],TR.prototype,"basePriceText",void 0);_.S([_.N(),_.T("design:type",Object)],TR.prototype,"purchaseCommand",void 0);_.S([_.N(),_.T("design:type",Boolean)],TR.prototype,"isSelectable",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],TR.prototype,"selected",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],TR.prototype,"dataChanged",null);_.S([_.P("selected"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],TR.prototype,"selectedChanged",null);_.S([_.O("click"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],TR.prototype,"onClick",null);
TR=_.S([_.Q({is:"ytd-pdg-super-vod-selectable-item-button-renderer"})],TR);
var UR=function(){var a=_.K.apply(this,arguments)||this;a.selectedItemIndex=0;a.buyButtonDisabled=!1;return a};
_.q(UR,_.K);_.f=UR.prototype;
_.f.configureRendererStamper=function(){return{"data.commentPreview":{id:"comment-preview",mapping:{pdgCommentPreviewRenderer:{component:"ytd-pdg-comment-preview-renderer",properties:{isAnimationDisabled:"[[isSelectAndConfirm]]",currentCommentOptionIndex:"[[selectedItemIndex]]"}}}},"data.selectableItemButtons":{id:"selectable-items",mapping:{buttonRenderer:{component:"ytd-button-renderer"},superVodSelectableItemButtonRenderer:{component:"ytd-pdg-super-vod-selectable-item-button-renderer",properties:{isSelectable:"[[isSelectAndConfirm]]"}}}}}};
_.f.onBuyButtonClick=function(){if(!this.buyButtonDisabled&&void 0!==this.selectedItemIndex){var a,b=null==(a=this.data.selectableItemButtons[this.selectedItemIndex].superVodSelectableItemButtonRenderer)?void 0:a.purchaseCommand;if(b){var c;if(null==(c=this.commentPreviewRenderer)?0:c.getIsUserGeneratedCommentEnabled())b.ypcGetCartEndpoint.productData||(b.ypcGetCartEndpoint.productData={}),b.ypcGetCartEndpoint.productData={pdgData:{commentMessageText:this.commentPreviewRenderer.getUserGeneratedCommentText()}};
this.ytComponentBehavior.resolveCommand(b)}}};
_.f.dataChanged=function(){if(this.data){this.isSelectAndConfirm=!!this.data.buyButton;this.updatePriceSelectorStatus();this.updateDefaultSelection();var a=[];this.data.preloadImages&&(a=this.data.preloadImages);a=a.map(function(c){return _.nu(c.thumbnails,1920)});
a=_.k(a);for(var b=a.next();!b.done;b=a.next())(b=b.value)&&_.v4a(b).thenCatch(function(){_.Rf(Error("og"))})}};
_.f.selectedItemIndexChanged=function(){this.commentPreviewRenderer&&(this.commentPreviewRenderer.currentCommentOptionIndex=this.selectedItemIndex)};
_.f.updateDefaultSelection=function(){this.selectedItemIndex=this.data.defaultSelectableItemButton||0};
_.f.updatePriceSelectorStatus=function(){var a=_.H(this);this.isSelectAndConfirm?(a.removeAttribute("multi-price"),this.$["selectable-items"].setAttribute("role","radiogroup")):(a.setAttribute("multi-price","true"),this.$["selectable-items"].removeAttribute("role"))};
_.f.closeBuyFlow=function(){_.C(this,"yt-close-popup-action",["ytd-pdg-buy-flow-renderer"])};
_.f.onUserGeneratedContentChanged=function(){var a;this.buyButtonDisabled=!(null==(a=this.commentPreviewRenderer)?0:a.getUserGeneratedCommentText())};
_.t.Object.defineProperties(UR.prototype,{isDisclaimerTextShown:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==(a=this.data)||!a.disclaimerText)}}});
_.t.Object.defineProperties(UR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Vob){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-super-vod-buy-flow-content-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.yt_super_vod_buy_flow_content_renderer.yt.super.vod.buy.flow.content.renderer.css.js--\x3e<yt-formatted-string text="[[data.description]]"></yt-formatted-string><div id="comment-preview"></div><iron-selector id="selectable-items" selectable="[selectable]" selected="{{selectedItemIndex}}" selected-attribute="selected"></iron-selector><div id="footer"><div id="cancel-button"></div><yt-formatted-string id="disclaimer-text" hidden="[[!isDisclaimerTextShown]]" text="[[data.disclaimerText]]"></yt-formatted-string><ytd-button-renderer id="buy-button" data="[[data.buyButton.buttonRenderer]]" disabled="[[buyButtonDisabled]]" on-click="onBuyButtonClick"></ytd-button-renderer></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Uob){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.yt_super_vod_buy_flow_content_renderer.yt.super.vod.buy.flow.content.renderer.css.js--\x3e<style>:host {color: var(--yt-spec-text-secondary);} #buy-button {margin-left: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} yt-formatted-string {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} yt-formatted-string+#comment-preview {margin-top: 16px;} #selectable-items {margin-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;} :host([multi-price]) #selectable-items {margin-top: 16px;} #selectable-items ytd-pdg-super-vod-selectable-item-button-renderer {margin-right: 12px;} #selectable-items ytd-pdg-super-vod-selectable-item-button-renderer:last-child {margin-right: 0;} :host([multi-price]) #footer {display: none;} #footer {display: flex;justify-content: flex-end;margin-top: 40px;flex-wrap: wrap;} #disclaimer-text {color: var(--yt-spec-text-secondary);margin: -16px 0 24px;font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;} /*# sourceMappingURL=yt-super-vod-buy-flow-content-renderer.css.map*/</style>';
Uob=d}d=Uob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Vob=a}a=Vob;return a}}});
var VR=UR;VR.prototype.onUserGeneratedContentChanged=VR.prototype.onUserGeneratedContentChanged;VR.prototype.closeBuyFlow=VR.prototype.closeBuyFlow;VR.prototype.selectedItemIndexChanged=VR.prototype.selectedItemIndexChanged;VR.prototype.dataChanged=VR.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],VR.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],VR.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],VR.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],VR.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],VR.prototype,"selectedItemIndex",void 0);_.S([_.N(),_.T("design:type",Boolean)],VR.prototype,"isSelectAndConfirm",void 0);_.S([_.N(),_.T("design:type",Boolean)],VR.prototype,"buyButtonDisabled",void 0);
_.S([_.Z("ytd-pdg-comment-preview-renderer"),_.T("design:type",RR)],VR.prototype,"commentPreviewRenderer",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VR.prototype,"dataChanged",null);_.S([_.P("selectedItemIndex"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VR.prototype,"selectedItemIndexChanged",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VR.prototype,"closeBuyFlow",null);_.S([_.O("ytd-pdg-user-generated-comment-changed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],VR.prototype,"onUserGeneratedContentChanged",null);_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],VR.prototype,"isDisclaimerTextShown",null);
VR=_.S([_.Q({is:"yt-super-vod-buy-flow-content-renderer"})],VR);
var $ob;
var apb;
var WR=function(){return _.K.apply(this,arguments)||this};
_.q(WR,_.K);_.f=WR.prototype;_.f.created=function(){_.xB.requestAvailability();this.listen(this,"iron-overlay-opened","onPopupIronOverlayOpened")};
_.f.onPopupIronOverlayOpened=function(){this.data&&this.data.accessibility&&this.data.accessibility.accessibilityData&&this.data.accessibility.accessibilityData.label&&this.fire("iron-announce",{text:this.data.accessibility.accessibilityData.label})};
_.f.detached=function(){this.autoCloseJobId&&_.xe.cancelJob(this.autoCloseJobId);this.unlisten(this,"iron-overlay-opened","onPopupIronOverlayOpened")};
_.f.dataChanged=function(){var a=this;this.data&&this.data.autoCloseDelay&&(_.C(this,"yt-close-popup-action",["ytd-pdg-buy-flow-renderer"]),this.autoCloseJobId=_.Bi(_.xe,function(){a.closePopup()},1E3*(Number(this.data.autoCloseDelay.seconds)||0)))};
_.f.openPopup=function(){this.ironOverlayBehavior.open()};
_.f.closePopup=function(){this.ironOverlayBehavior.close();this.data&&(_.C(this,"yt-close-popup-action",["ytd-desktop-image-overlay-renderer"]),this.data.onCloseCommand&&_.Lg(this,[this.data.onCloseCommand],this),this.data.onCloseSurveyCommand&&_.Kg(this,[this.data.onCloseSurveyCommand]),this.autoCloseJobId&&_.xe.cancelJob(this.autoCloseJobId))};
_.t.Object.defineProperties(WR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===apb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-desktop-image-overlay-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_desktop_image_overlay_renderer.ytd.desktop.image.overlay.renderer.css.js--\x3e<div id="container">\n  <yt-img-shadow thumbnail="[[data.image]]" width="1920"></yt-img-shadow>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$ob){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_desktop_image_overlay_renderer.ytd.desktop.image.overlay.renderer.css.js--\x3e<style>:host {width: 100%;} #container {width: 100%;height: 100%;} yt-img-shadow {position: fixed;bottom: 0;left: 0;right: 0;} /*# sourceMappingURL=ytd-desktop-image-overlay-renderer.css.map*/</style>";
$ob=d}d=$ob;c.call(b,d.content.cloneNode(!0),a.content.firstChild);apb=a}a=apb;return a}}});
var YR=WR;YR.prototype.dataChanged=YR.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],YR.prototype,"rendererBehavior",void 0);_.S([_.L(_.Fx),_.T("design:type",Object)],YR.prototype,"ironOverlayBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],YR.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],YR.prototype,"dataChanged",null);
YR=_.S([_.Q({asyncProperties:!0,is:"ytd-desktop-image-overlay-renderer"})],YR);
var bpb;
var cpb;
var ZR=function(){return _.K.apply(this,arguments)||this};
_.q(ZR,_.K);_.f=ZR.prototype;_.f.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{pdgBuyFlowHeaderRenderer:{component:"yt-pdg-buy-flow-header-renderer"}}},"data.content":{id:"content",mapping:{superVodBuyFlowContentRenderer:{component:"yt-super-vod-buy-flow-content-renderer"}}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.hasAttribute("tabIndex")||this.setAttribute("tabIndex","0");this.listen(this,"yt-popup-closed","closePopup")};
_.f.detached=function(){this.unlisten(this,"yt-popup-closed","closePopup")};
_.f.dataChanged=function(){_.Jg(this,"yt-close-popup-action",["yt-loading-renderer"]);this.data&&this.data.header&&this.data.header.pdgBuyFlowHeaderRenderer&&(this.hasBackgroundBanner=!!this.data.header.pdgBuyFlowHeaderRenderer.backgroundBanner)};
_.f.handleBuyflowSelectionSubmitted=function(){this.unlisten(this,"yt-popup-closed","closePopup")};
_.f.closePopup=function(){this.data&&this.data.onCloseCommand&&_.Kg(this,[this.data.onCloseCommand])};
_.t.Object.defineProperties(ZR.prototype,{isZeroStepDisclaimerTextShown:{configurable:!0,enumerable:!0,get:function(){if(this.data&&this.data.content&&this.data.content[0]&&this.data.content[0].superVodBuyFlowContentRenderer){var a,b;return!(null==(a=this.data)||!a.zeroStepDisclaimerText)&&!(null==(b=this.data)?0:b.content[0].superVodBuyFlowContentRenderer.disclaimerText)}var c;return!(null==(c=this.data)||!c.zeroStepDisclaimerText)}}});
_.t.Object.defineProperties(ZR,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===cpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-pdg-buy-flow-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_buy_flow_renderer.ytd.pdg.buy.flow.renderer.css.js--\x3e<div id="header"></div>\n<div id="content"></div>\n<yt-formatted-string id="zero-step-disclaimer-text" hidden="[[!isZeroStepDisclaimerTextShown]]" text="[[data.zeroStepDisclaimerText]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===bpb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.pdg.ytd_pdg_buy_flow_renderer.ytd.pdg.buy.flow.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var(--yt-spec-10-percent-layer);background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;min-width: 400px;max-width: 512px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {padding: 16px 24px 24px;} #zero-step-disclaimer-text {color: var(--yt-spec-text-secondary);margin: -12px 24px 24px;font-size: 1.2rem;font-weight: 400;line-height: 1.6rem;} :host([has-background-banner]) #content {padding: 24px;} /*# sourceMappingURL=ytd-pdg-buy-flow-renderer.css.map*/</style>";
bpb=d}d=bpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);cpb=a}a=cpb;return a}}});
var $R=ZR;$R.prototype.handleBuyflowSelectionSubmitted=$R.prototype.handleBuyflowSelectionSubmitted;$R.prototype.dataChanged=$R.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$R.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],$R.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.uF.YtOpenToastBehavior),_.T("design:type",Object)],$R.prototype,"ytOpenToastBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],$R.prototype,"data",void 0);_.S([_.N({value:!0,reflectToAttribute:!0}),_.T("design:type",Boolean)],$R.prototype,"hasBackgroundBanner",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$R.prototype,"dataChanged",null);_.S([_.O("yt-pdg-buy-flow-selection-submitted"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$R.prototype,"handleBuyflowSelectionSubmitted",null);
_.S([_.V("data"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],$R.prototype,"isZeroStepDisclaimerTextShown",null);$R=_.S([_.Q({is:"ytd-pdg-buy-flow-renderer"})],$R);
var dpb;
var epb;
var aS=function(){var a=_.K.apply(this,arguments)||this;a.isOpen=!1;a.isPlaylistCreated=!1;return a};
_.q(aS,_.K);_.f=aS.prototype;_.f.reset=function(){this.isPlaylistCreated=this.isOpen=!1;this.nameInput.reset();this.privacyInput.reset()};
_.f.onOpenTap=function(){this.isOpen=!0;this.isPlaylistCreated=!1;this.nameInput.focusTextInput();this.fire("yt-refit")};
_.f.onCreateTap=function(){!this.isPlaylistCreated&&this.nameInput.validate()&&(_.Kg(this,[this.data.serviceEndpoint,{create_playlist_title:this.nameInput.value,create_playlist_privacy_status:this.privacyInput.value}]),this.isPlaylistCreated=!0)};
_.f.onKeydown=function(a){if(13===a.keyCode)this.onCreateTap()};
_.f.onServiceRequestCompleted=function(a){a.stopPropagation();_.C(this,"yt-close-popup-action",["ytd-add-to-playlist-renderer"])};
_.f.computePrivacyBadge=function(a){return a?[{metadataBadgeRenderer:a}]:[]};
_.t.Object.defineProperties(aS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===epb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-add-to-playlist-create-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_add_to_playlist_create_renderer.ytd.add.to.playlist.create.renderer.css.js--\x3e<ytd-compact-link-renderer data="[[data.openCreateLink.compactLinkRenderer]]" hidden="[[isOpen]]" on-tap="onOpenTap">\n</ytd-compact-link-renderer>\n<div id="create-playlist-form" hidden="[[!isOpen]]">\n  <yt-text-input-form-field-renderer id="name-input" data="[[data.nameInput.textInputFormFieldRenderer]]" required-error-message="[[addToStrings.REQUIRED_LABEL]]">\n  </yt-text-input-form-field-renderer>\n  <ytd-badge-supported-renderer badges="[[privacyBadge]]" hidden="[[!data.privacyInput.metadataBadgeRenderer]]">\n  </ytd-badge-supported-renderer>\n  <ytd-dropdown-renderer id="privacy-input" data="[[data.privacyInput.dropdownRenderer]]" hidden="[[!data.privacyInput.dropdownRenderer]]">\n  </ytd-dropdown-renderer>\n  <ytd-button-renderer id="privacy-button" data="[[data.privacyInput.buttonRenderer]]" hidden="[[!data.privacyInput.buttonRenderer]]">\n  </ytd-button-renderer>\n  <div id="actions">\n    <ytd-button-renderer data="[[data.createAction.buttonRenderer]]" on-tap="onCreateTap">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===dpb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_add_to_playlist_create_renderer.ytd.add.to.playlist.create.renderer.css.js--\x3e<style>:host {--paper-input-container-color: var(--yt-spec-text-primary);--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);display: block;} :host tp-yt-paper-input-container[style-target=host] {padding: 0;} #actions {padding: 12px 8px 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #create-playlist-form {padding-top: 16px;} ytd-dropdown-renderer {padding: 0 24px;padding-top: 18px;margin-bottom: -2px;} ytd-badge-supported-renderer {padding: 0 24px;padding-top: 18px;margin-bottom: -2px;} #privacy-button {padding: 0 8px;padding-top: 18px;margin-bottom: -2px;} yt-text-input-form-field-renderer {--yt-text-input-form-field-underline-color: var(--yt-spec-text-secondary);} yt-text-input-form-field-renderer {--paper-input-container-underline-color: var(--yt-spec-text-secondary);padding: 0 24px;} ytd-compact-link-renderer {--yt-compact-link-paper-item-padding: 4px 24px;--yt-compact-link-icon-width: 32px;} /*# sourceMappingURL=ytd-add-to-playlist-create-renderer.css.map*/</style>";
dpb=d}d=dpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);epb=a}a=epb;return a}}});
var bS=aS;bS.prototype.onServiceRequestCompleted=bS.prototype.onServiceRequestCompleted;bS.prototype.onKeydown=bS.prototype.onKeydown;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],bS.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],bS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],bS.prototype,"isOpen",void 0);_.S([_.N(),_.T("design:type",Object)],bS.prototype,"isPlaylistCreated",void 0);
_.S([_.N({value:{REQUIRED_LABEL:_.Bg("REQUIRED_LABEL",void 0,"Required"),NO_ANGLE_BRACKET_LABEL:_.Bg("NO_ANGLE_BRACKET_LABEL",void 0,"Cannot contain < or >")}}),_.T("design:type",Object)],bS.prototype,"addToStrings",void 0);_.S([_.N({computed:"computePrivacyBadge(data.privacyInput.metadataBadgeRenderer)"}),_.T("design:type",Array)],bS.prototype,"privacyBadge",void 0);_.S([_.Z("#privacy-input"),_.T("design:type",_.LF)],bS.prototype,"privacyInput",void 0);
_.S([_.Z("#name-input"),_.T("design:type",Object)],bS.prototype,"nameInput",void 0);_.S([_.O("keydown"),_.T("design:type",Function),_.T("design:paramtypes",[KeyboardEvent]),_.T("design:returntype")],bS.prototype,"onKeydown",null);_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],bS.prototype,"onServiceRequestCompleted",null);bS=_.S([_.Q({is:"ytd-add-to-playlist-create-renderer"})],bS);
var fpb;
var gpb;
var hpb;
var ipb;
var cS=function(){return _.K.apply(this,arguments)||this};
_.q(cS,_.K);cS.prototype.dataChanged=function(){this.data&&(this.$.checkbox.checked="ALL"===this.data.containsSelectedVideos)};
cS.prototype.onCheckboxChange=function(a){var b=this;this.data&&this.debounce("yt-playlist-checkbox-changed",function(){var c=_.H(a).rootTarget.checked?b.data.addToPlaylistServiceEndpoint:b.data.removeFromPlaylistServiceEndpoint;_.Kg(b,[c])},100)};
cS.prototype.computeIconType=function(a){return a?"yt-icons:"+a.toLowerCase():null};
_.t.Object.defineProperties(cS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ipb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-playlist-add-to-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_add_to_option_renderer.ytd.playlist.add.to.option.renderer.css.js--\x3e<tp-yt-paper-checkbox id="checkbox" checked="[[checked_]]" on-change="onCheckboxChange">\n  <div id="checkbox-container">\n    <div id="checkbox-label">\n      <yt-formatted-string id="label" class="checkbox-height" ellipsis-truncate="" text="[[data.title]]">\n      </yt-formatted-string>\n      <yt-formatted-string id="byline" ellipsis-truncate="" text="[[data.shortBylineText]]">\n      </yt-formatted-string>\n    </div>\n    <yt-icon icon="[[computeIconType(data.privacyIcon.iconType)]]" size="18"></yt-icon>\n  </div>\n</tp-yt-paper-checkbox>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_playlist_add_to_option_renderer.ytd.playlist.add.to.option.renderer.css.js--\x3e<style>:host {display: block;} a {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #label {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #label.checkbox-height {line-height: 24px;} #byline {--yt-endpoint-color: var(--yt-spec-text-secondary);--yt-endpoint-visited-color: var(--yt-spec-text-secondary);color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} tp-yt-paper-checkbox {--paper-checkbox-vertical-align: top;--paper-checkbox-margin: 3px;--paper-checkbox-label: {min-width: 0;@apply --layout-flex;};-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #checkbox-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #checkbox-label {min-width: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} yt-icon {margin-left: 4px;color: var(--yt-spec-icon-inactive);height: 18px;width: 18px;padding-top: 3px;} /*# sourceMappingURL=ytd-playlist-add-to-option-renderer.css.map*/</style>';
hpb=d}d=hpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ipb=a}a=ipb;return a}}});
var dS=cS;dS.prototype.dataChanged=dS.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],dS.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],dS.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],dS.prototype,"dataChanged",null);dS=_.S([_.Q({asyncProperties:!0,is:"ytd-playlist-add-to-option-renderer"})],dS);
var eS=function(){var a=_.K.apply(this,arguments)||this;a.addToStrings={ADD_TO_DROPDOWN_LABEL:_.Bg("ADD_TO_DROPDOWN_LABEL",void 0,"Save to...")};a.closeButtonAriaLabel=_.Bg("SBOX_INAPPROPRIATE_CANCEL");a.dialog=_.x("desktop_add_to_playlist_renderer_dialog_popup");a.increasedTapTarget=_.x("desktop_adjust_touch_target");return a};
_.q(eS,_.K);eS.prototype.configureRendererStamper=function(){return{"data.playlists":{id:"playlists",mapping:{playlistAddToOptionRenderer:"ytd-playlist-add-to-option-renderer"}},"data.actions":{id:"actions",mapping:{addToPlaylistCreateRenderer:"ytd-add-to-playlist-create-renderer"}}}};
eS.prototype.onPopupOpened=function(){this.toggleClass("scrollable",!0,this.playlists);this.createRenderer&&this.createRenderer.reset()};
eS.prototype.onPopupClosed=function(){this.toggleClass("scrollable",!1,this.playlists)};
eS.prototype.onTapClose=function(){_.C(this,"yt-close-popup-action",["ytd-add-to-playlist-renderer"])};
_.t.Object.defineProperties(eS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===gpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-add-to-playlist-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_add_to_playlist_renderer.ytd.add.to.playlist.renderer.css.js--\x3e<div id="header">\n  <div id="title">[[addToStrings.ADD_TO_DROPDOWN_LABEL]]</div>\n  <yt-icon-button id="close-button" hidden="[[!dialog]]" label="[[closeButtonAriaLabel]]" on-tap="onTapClose">\n    <yt-icon icon="close"></yt-icon>\n  </yt-icon-button>\n</div>\n<div id="playlists"></div>\n<div id="actions"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===fpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.playlist.ytd_add_to_playlist_renderer.ytd.add.to.playlist.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host(:not([dialog])) {display: inline-block;background: var(--yt-spec-brand-background-primary);width: 300px;overflow: visible;box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -5px rgba(0,0,0,0.4);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dialog]) {min-width: 300px;margin: 0;padding: 0;overflow: auto;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #title {color: var(--yt-spec-text-primary);padding: 16px 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #playlists {padding: 16px 24px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);overflow: visible;} :host([dialog]) #playlists,#playlists.scrollable {overflow: auto;} :host([dialog]) #playlists {max-height: 300px;max-width: 600px;} #playlists>*:not(:last-child) {margin-bottom: 8px;} :host([increased-tap-target]) #playlists>*:not(:last-child) {margin-bottom: 16px;} :host([dialog]) #close-button {margin-right: 20px;color: var(--yt-spec-icon-inactive);} :host([dialog]) #close-button:hover {color: var(--yt-spec-icon-active-other);} /*# sourceMappingURL=ytd-add-to-playlist-renderer.css.map*/</style>';
fpb=d}d=fpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);gpb=a}a=gpb;return a}}});
var fS=eS;fS.prototype.onPopupClosed=fS.prototype.onPopupClosed;fS.prototype.onPopupOpened=fS.prototype.onPopupOpened;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],fS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],fS.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],fS.prototype,"ytRendererStamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],fS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],fS.prototype,"addToStrings",void 0);_.S([_.N(),_.T("design:type",String)],fS.prototype,"closeButtonAriaLabel",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],fS.prototype,"dialog",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],fS.prototype,"increasedTapTarget",void 0);_.S([_.Z("#playlists"),_.T("design:type",HTMLElement)],fS.prototype,"playlists",void 0);
_.S([_.Z("ytd-add-to-playlist-create-renderer"),_.T("design:type",Object)],fS.prototype,"createRenderer",void 0);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fS.prototype,"onPopupOpened",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fS.prototype,"onPopupClosed",null);fS=_.S([_.Q({asyncProperties:!0,is:"ytd-add-to-playlist-renderer"})],fS);
var jpb;
var kpb;
var gS=function(){return _.K.apply(this,arguments)||this};
_.q(gS,_.K);_.f=gS.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.onDismissTap=function(){_.C(this,"yt-close-popup-action",["ytd-mealbar-promo-renderer"])};
_.f.computeIcon=function(a){return a?"BACKSTAGE_ARTWORK"===a?"backstage:artwork":a:null};
_.f.computeHasFullHeightImage=function(a){return!!(a&&a.thumbnails&&0<a.thumbnails.length)};
_.f.onThumbnailLoaded=function(){this.fire("yt-refit")};
_.t.Object.defineProperties(gS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===kpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-mealbar-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_mealbar_promo_renderer.ytd.mealbar.promo.renderer.css.js--\x3e<yt-img-shadow id="icon" hidden="[[!data.icon]]" notify-on-loaded="" thumbnail="[[data.icon]]">\n</yt-img-shadow>\n<yt-icon id="alternate-icon" hidden="[[!icon]]" icon="[[icon]]"></yt-icon>\n<div id="main">\n  <h2 class="ytd-mealbar-promo-renderer-message-title">\n    <yt-formatted-string text="[[data.messageTitle]]"></yt-formatted-string>\n  </h2>\n  <template is="dom-repeat" items="[[data.messageTexts]]">\n    <div id="message-text" class="ytd-mealbar-promo-renderer-message-text">\n      <yt-formatted-string text="[[item]]"></yt-formatted-string>\n    </div>\n  </template>\n  <div class="button-container">\n    <ytd-button-renderer id="dismiss-button" data="[[data.dismissButton.buttonRenderer]]" on-tap="onDismissTap">\n    </ytd-button-renderer>\n    <ytd-button-renderer id="action-button" data="[[data.actionButton.buttonRenderer]]" on-tap="onDismissTap">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.promos.ytd_mealbar_promo_renderer.ytd.mealbar.promo.renderer.css.js--\x3e<style>:host {max-width: 648px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([dialog][dialog][dialog]) {padding: 0;margin: 0;} :host([has-full-height-image]) {height: 192px;} #main {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #icon {--yt-img-max-height: 192px;margin: none;} #alternate-icon {margin: 28px;width: 160px;height: 160px;-ms-flex: none;-webkit-flex: none;flex: none;} .ytd-mealbar-promo-renderer-message-title {margin: 24px 0 0 0;padding: 0 24px;} .ytd-mealbar-promo-renderer-message-text {display: block;color: var(--yt-spec-text-secondary);margin: 16px 0 32px;padding: 0 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .button-container {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: 8px;} .button-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} .ytd-mealbar-promo-renderer-message-title {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-mealbar-promo-renderer.css.map*/</style>';
jpb=d}d=jpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);kpb=a}a=kpb;return a}}});
var hS=gS;hS.prototype.onThumbnailLoaded=hS.prototype.onThumbnailLoaded;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],hS.prototype,"ytRendererBehavior",void 0);_.S([_.N({}),_.T("design:type",Object)],hS.prototype,"data",void 0);_.S([_.N({computed:"computeIcon(data.alternateIcon.iconType)"}),_.T("design:type",Object)],hS.prototype,"icon",void 0);
_.S([_.N({reflectToAttribute:!0,computed:"computeHasFullHeightImage(data.icon)"}),_.T("design:type",Boolean)],hS.prototype,"hasFullHeightImage",void 0);_.S([_.O("yt-img-shadow-loaded"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],hS.prototype,"onThumbnailLoaded",null);hS=_.S([_.Q({asyncProperties:!0,is:"ytd-mealbar-promo-renderer"})],hS);
var lpb;
var mpb;
_.$u("itemSectionRenderer","redCancelSurveyRenderer","ytd-red-cancel-survey-renderer");var iS=function(){return _.K.apply(this,arguments)||this};
_.q(iS,_.K);_.f=iS.prototype;_.f.configureRendererStamper=function(){return{"data.nextButton":{id:"next-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-confirm":!0}}}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",classListBinding:"[[buttonClass_]]",attributes:{"dialog-dismiss":!0}}}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.dataChanged=function(){switch(this.get("data.singleOptions.preselectMode")){case "SINGLE_OPTION_PRESELECT_MODE_LAST":this.selectedResponseIndex=this.get("data.singleOptions.styles").length-1;break;default:this.selectedResponseIndex=void 0}var a=this.get("data.nextButton.buttonRenderer.navigationEndpoint");a&&(this.nextNavigationEndpoint=a,this.set("data.nextButton.buttonRenderer.navigationEndpoint",void 0))};
_.f.onSelectedResponseIndexChange=function(){if(null!=this.get("data.nextButton.buttonRenderer")){switch(this.get("data.submissionMode")){case "SURVEY_SUBMISSION_MODE_ONE_SELECTED_OPTION":this.set("data.nextButton.buttonRenderer.isDisabled",void 0===this.selectedResponseIndex);break;default:this.set("data.nextButton.buttonRenderer.isDisabled",!1)}if(null!=this.selectedResponseIndex){var a={feedbackTokens:[this.get(["data.singleOptions.styles",this.selectedResponseIndex]).radioButtonSurveyOptionRenderer.submissionEndpoint.feedbackEndpoint.feedbackToken]};
this.set("nextNavigationEndpoint.confirmDialogEndpoint.content.confirmDialogRenderer.confirmButton.buttonRenderer.serviceEndpoint.ypcCancelRecurrenceEndpoint.feedbackData",a)}}};
_.f.onPopupOpened=function(a){a.detail==this&&_.x("enable_premium_voluntary_pause")&&_.C(this,"yt-close-popup-action",["yt-confirm-dialog-renderer"])};
_.f.onNextButtonTap=function(){var a=this.nextNavigationEndpoint&&this.ytdOpenPopupBehavior.getNavigationEndpointPopupAction(this.nextNavigationEndpoint);a&&this.ytdOpenPopupBehavior.openPopup(a)};
_.t.Object.defineProperties(iS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===mpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-red-cancel-survey-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_red_cancel_survey_renderer.ytd.red.cancel.survey.renderer.css.js--\x3e<div id="content">\n  <div id="question">[[getSimpleString(data.question)]]</div>\n  <tp-yt-paper-radio-group id="responses" selected="{{selectedResponseIndex}}">\n    <template is="dom-repeat" items="[[data.singleOptions.styles]]">\n      <tp-yt-paper-radio-button name="[[index]]">\n        [[getSimpleString(item.radioButtonSurveyOptionRenderer.option)]]\n      </tp-yt-paper-radio-button>\n    </template>\n  </tp-yt-paper-radio-group>\n</div>\n<div class="buttons">\n  <div id="dismiss-button"></div>\n  <div id="next-button" on-click="onNextButtonTap"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.red.ytd_red_cancel_survey_renderer.ytd.red.cancel.survey.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);margin: 0;padding: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {padding: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #question {color: var(--yt-spec-text-primary);padding-bottom: 20px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #responses {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #responses tp-yt-paper-radio-button {height: 40px;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);position: relative;padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: stretch;-webkit-align-self: stretch;align-self: stretch;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} .buttons ytd-button-renderer {padding-left: 8px;} tp-yt-paper-radio-button {padding: 12px 0 0;} /*# sourceMappingURL=ytd-red-cancel-survey-renderer.css.map*/</style>';
lpb=d}d=lpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);mpb=a}a=mpb;return a}}});
var jS=iS;jS.prototype.onPopupOpened=jS.prototype.onPopupOpened;jS.prototype.onSelectedResponseIndexChange=jS.prototype.onSelectedResponseIndexChange;jS.prototype.dataChanged=jS.prototype.dataChanged;_.S([_.L(_.ov),_.T("design:type",Object)],jS.prototype,"ytdOpenPopupBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],jS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],jS.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],jS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],jS.prototype,"selectedResponseIndex",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],jS.prototype,"dataChanged",null);_.S([_.P("selectedResponseIndex"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],jS.prototype,"onSelectedResponseIndexChange",null);
_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],jS.prototype,"onPopupOpened",null);jS=_.S([_.Q({is:"ytd-red-cancel-survey-renderer"})],jS);
var npb;
var opb;
var kS=function(){return _.K.apply(this,arguments)||this};
_.q(kS,_.K);kS.prototype.attached=function(){this.setAttribute("dialog","true")};
kS.prototype.onClickClose=function(){_.C(this,"yt-close-popup-action",["ytd-reel-description-sheet-renderer"])};
_.t.Object.defineProperties(kS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===opb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-reel-description-sheet-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_description_sheet_renderer.ytd.reel.description.sheet.renderer.css.js--\x3e<div id="header">\n  <h2 id="title">\n    <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n  </h2>\n  <yt-icon-button id="close-button" label="[[closeButtonAriaLabel]]" on-click="onClickClose">\n    <yt-icon icon="close"></yt-icon>\n  </yt-icon-button>\n</div>\n<div id="content">\n  <div id="info-text">\n    <yt-formatted-string id="publish-time" text="[[data.publishTimeText]]"></yt-formatted-string>\n    <div id="view-count">\n      <span id="dot">\u2022</span>\n      <yt-formatted-string text="[[data.viewCountText]]"></yt-formatted-string>\n    </div>\n  </div>\n  <yt-formatted-string id="description" split-lines="" text="[[data.description]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===npb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.reels.ytd_reel_description_sheet_renderer.ytd.reel.description.sheet.renderer.css.js--\x3e<style>:host([dialog]) {background: var(--yt-spec-brand-background-solid);color: var(--yt-spec-text-primary);width: 450px;min-width: 300px;max-width: 80vw;min-height: 240px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #close-button {color: var(--yt-spec-icon-inactive);} #close-button:hover {color: var(--yt-spec-icon-active-other);} #info-text {margin: var(--ytd-margin-4x) 0;} #dot {margin-left: 4px;margin-right: 4px;} #view-count {display: inline-block;} /*# sourceMappingURL=ytd-reel-description-sheet-renderer.css.map*/</style>";
npb=d}d=npb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);opb=a}a=opb;return a}}});
var lS=kS;_.S([_.N(),_.T("design:type",Object)],lS.prototype,"data",void 0);_.S([_.N({value:_.Bg("SBOX_INAPPROPRIATE_CANCEL",void 0,"Close")}),_.T("design:type",String)],lS.prototype,"closeButtonAriaLabel",void 0);lS=_.S([_.Q({asyncProperties:!0,is:"ytd-reel-description-sheet-renderer"})],lS);
var ppb;
var qpb;
var p$a=function(){return function(a){a=a.availabilityType;return void 0===a||"OFFLINEABILITY_AVAILABILITY_TYPE_UNKNOWN"===a||"OFFLINEABILITY_AVAILABILITY_TYPE_PREMIUM_LOCKED"===a?!0:!1}};
var mS=function(){var a=_.K.apply(this,arguments)||this;a.qualityOptions=[];a.submitButtonDisabled=!0;a.rememberSettings=!1;a.actionMap={"yt-select-settings-radio-option":"onQualityOptionsSelect"};return a};
_.q(mS,_.K);_.f=mS.prototype;_.f.configureRendererStamper=function(){return{qualityOptions:{id:"quality-options",mapping:{settingsRadioOptionRenderer:{component:"ytd-settings-radio-option-renderer",noInjection:!0}}}}};
_.f.dataChanged=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.downloadButtonRenderer={style:"STYLE_BLUE_TEXT",size:"SIZE_DEFAULT",text:_.lh(_.Bg("DOWNLOAD",void 0,"Download")),isDisabled:!0};this.cancelButtonRenderer={style:"STYLE_TEXT",size:"SIZE_DEFAULT",text:_.lh(_.Bg("SBOX_INAPPROPRIATE_CANCEL",void 0,"Cancel"))};this.rememberSettingsCheckboxRenderer={title:_.lh(_.Bg("REMEMBER_MY_SETTINGS",void 0,"Remember my settings")),disabled:!1}};
_.f.updateQualityOptions=function(){var a;void 0===(null==(a=this.downloadQualityPickerEntity)?void 0:a.formats)?_.C(this,"yt-close-popup-action",["ytd-download-quality-selector-renderer"]):this.qualityOptions=o$a(this.downloadQualityPickerEntity.formats)};
_.f.onQualityOptionsSelect=function(a){if(this.qualityOptions&&a){void 0!==a&&this.downloadButtonRenderer&&(this.downloadButtonRenderer=Object.assign({},this.downloadButtonRenderer,{isDisabled:!1}));for(var b=_.k(this.qualityOptions.entries()),c=b.next();!c.done;c=b.next()){c=_.k(c.value);var d=c.next().value;c=c.next().value;var e=void 0,h=void 0;if((null==(e=c)?void 0:null==(h=e.settingsRadioOptionRenderer)?void 0:h.id)===a){this.selectedQualityIndex=d;break}}}};
_.f.onClickSubmit=function(){var a,b,c=null!=(b=null==(a=this.data)?void 0:a.onSubmitEndpoint)?b:{},d;if(null==(d=this.downloadButtonRenderer)||!d.isDisabled){var e,h,l;if(null!=(e=this.downloadQualityPickerEntity)&&e.formats&&void 0!==(null==(h=c.offlineVideoEndpoint)?void 0:h.videoId)&&void 0!==(null==(l=c.offlineVideoEndpoint)?void 0:l.action)){a=this.rememberSettingsCheckbox.checked?"DOWNLOAD_QUALITY_SETTINGS_ACTION_SAVE":"DOWNLOAD_QUALITY_SETTINGS_ACTION_DONT_SAVE";var m,p,r,v,z;b=null!=(z=null==
(m=this.downloadQualityPickerEntity)?void 0:null==(p=m.formats)?void 0:null==(r=p[null!=(v=this.selectedQualityIndex)?v:0])?void 0:r.format)?z:"UNKNOWN_FORMAT_TYPE";c.offlineVideoEndpoint.actionParams={formatType:b,settingsAction:a};this.ytComponentBehavior.resolveCommand(c)}_.C(this,"yt-close-popup-action",["ytd-download-quality-selector-renderer"])}};
_.f.onClickClose=function(){_.C(this,"yt-close-popup-action",["ytd-download-quality-selector-renderer"])};
_.t.Object.defineProperties(mS.prototype,{titleText:{configurable:!0,enumerable:!0,get:function(){return _.lh(_.Bg("DOWNLOAD_QUALITY",void 0,"Download Quality"))}}});
_.t.Object.defineProperties(mS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===qpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-download-quality-selector-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_download_quality_selector_renderer.ytd.download.quality.selector.renderer.css.js--\x3e<yt-formatted-string id="title" text="[[titleText]]">\n</yt-formatted-string>\n<div id="quality-options"></div>\n<ytd-settings-checkbox-renderer id="remember-settings" data="[[rememberSettingsCheckboxRenderer]]">\n</ytd-settings-checkbox-renderer>\n<div class="buttons">\n  <yt-button-renderer id="cancel-button" data="[[cancelButtonRenderer]]" dialog-dismiss="" on-click="onClickClose">\n  </yt-button-renderer>\n  <yt-button-renderer id="download-button" data="[[downloadButtonRenderer]]" disabled="" on-click="onClickSubmit">\n  </yt-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===ppb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sections.ytd_download_quality_selector_renderer.ytd.download.quality.selector.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {cursor: default;border-radius: 1px;background: var(--yt-spec-brand-background-primary);width: 342px;max-width: 80vw;padding: 24px 0 12px 0;margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host>* {padding-left: 24px;padding-right: 24px;} #quality-options>* {margin: 0 0 24px 0;} #title {color: var(--yt-spec-text-primary);margin-bottom: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #remember-settings {border-top: 1px solid var(--yt-spec-10-percent-layer);padding-top: 12px;padding-bottom: 24px;margin: 0px;} .buttons {padding-right: 8px;-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} /*# sourceMappingURL=ytd-download-quality-selector-renderer.css.map*/</style>';
ppb=d}d=ppb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);qpb=a}a=qpb;return a}}});
var nS=mS;nS.prototype.updateQualityOptions=nS.prototype.updateQualityOptions;nS.prototype.dataChanged=nS.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],nS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],nS.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],nS.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],nS.prototype,"ytActionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],nS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],nS.prototype,"selectedQualityIndex",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],nS.prototype,"ytdReduxBehavior",void 0);_.S([_.N({selector:function(a,b){if(b){var c;a=null!=(c=_.Yg(a.entities,"downloadQualityPickerEntity",b))?c:void 0}else a=void 0;return a},
selectorArgs:["data.downloadQualityPickerEntityKey"]}),_.T("design:type",Object)],nS.prototype,"downloadQualityPickerEntity",void 0);_.S([_.N(),_.T("design:type",Array)],nS.prototype,"qualityOptions",void 0);_.S([_.N(),_.T("design:type",Object)],nS.prototype,"downloadButtonRenderer",void 0);_.S([_.N(),_.T("design:type",Object)],nS.prototype,"submitButtonDisabled",void 0);_.S([_.N(),_.T("design:type",Object)],nS.prototype,"cancelButtonRenderer",void 0);
_.S([_.N(),_.T("design:type",Boolean)],nS.prototype,"rememberSettings",void 0);_.S([_.N(),_.T("design:type",Object)],nS.prototype,"rememberSettingsCheckboxRenderer",void 0);_.S([_.Z("#remember-settings"),_.T("design:type",HTMLInputElement)],nS.prototype,"rememberSettingsCheckbox",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nS.prototype,"dataChanged",null);
_.S([_.P("downloadQualityPickerEntity"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nS.prototype,"updateQualityOptions",null);nS=_.S([_.Q({asyncProperties:!0,is:"ytd-download-quality-selector-renderer"})],nS);
var rpb;
var spb;
var oS=function(){return _.K.apply(this,arguments)||this};
_.q(oS,_.K);oS.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
oS.prototype.configureRendererStamper=function(){return{"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:{attributes:{"dialog-dismiss":!0},component:"ytd-button-renderer"}}},"data.nextButton":{id:"next-button",mapping:{buttonRenderer:{attributes:{"dialog-dismiss":!0},component:"ytd-button-renderer"}}}}};
_.t.Object.defineProperties(oS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===spb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-cross-account-transfer-channel-confirm-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_cross_account_transfer_channel_confirm_dialog_renderer.ytd.cross.account.transfer.channel.confirm.dialog.renderer.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scroller">\n  <div id="header">\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  </div>\n  <div id="content">\n    <div id="source">\n      <yt-formatted-string id="source-title" text="[[data.sourceTitle]]"></yt-formatted-string>\n      <yt-formatted-string id="source-subtitle" text="[[data.sourceSubtitle]]"></yt-formatted-string>\n      <yt-formatted-string id="source-account-name" text="[[data.sourceAccountName]]">\n      </yt-formatted-string>\n      <yt-formatted-string id="source-account-email" text="[[data.sourceAccountEmail]]">\n      </yt-formatted-string>\n    </div>\n    <div id="target">\n      <yt-formatted-string id="target-title" text="[[data.targetTitle]]"></yt-formatted-string>\n      <yt-formatted-string id="target-subtitle" text="[[data.targetSubtitle]]">\n      </yt-formatted-string>\n      <div id="target-account">\n        <yt-img-shadow hidden="[[!data.sourceAccountThumbnail]]" thumbnail="[[data.sourceAccountThumbnail]]">\n        </yt-img-shadow>\n        <div id="target-account-info">\n          <yt-formatted-string id="target-account-name" text="[[data.targetAccountName]]">\n          </yt-formatted-string>\n          <yt-formatted-string id="target-account-email" text="[[data.targetAccountEmail]]">\n          </yt-formatted-string>\n          <yt-formatted-string id="sournce-channel-details" text="[[data.sourceChannelDetails]]">\n          </yt-formatted-string>\n        </div>\n      </div>\n    </div>\n    <div id="info-warning">\n      <div id="info-title">\n        <yt-icon disable-upgrade$="[[!infoIcon]]" hidden="[[!infoIcon]]" icon="[[infoIcon]]">\n        </yt-icon>\n        <yt-formatted-string id="info-title-text" text="[[data.infoTitle]]"></yt-formatted-string>\n      </div>\n      <yt-formatted-string id="info-text" split-lines="" text="[[data.infoText]]">\n      </yt-formatted-string>\n      <div id="warning-title">\n        <yt-icon disable-upgrade$="[[!warningIcon]]" hidden="[[!warningIcon]]" icon="[[warningIcon]]">\n        </yt-icon>\n        <yt-formatted-string id="warning-title-text" text="[[data.warningTitle]]">\n        </yt-formatted-string>\n      </div>\n      <yt-formatted-string id="warning-text" split-lines="" text="[[data.warningText]]">\n      </yt-formatted-string>\n      <yt-formatted-string id="footer" text="[[data.footer]]"></yt-formatted-string>\n    </div>\n  </div>\n  <div id="buttons">\n    <div id="cancel-button"></div>\n    <div id="next-button"></div>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_cross_account_transfer_channel_confirm_dialog_renderer.ytd.cross.account.transfer.channel.confirm.dialog.renderer.css.js--\x3e<style>:host {width: 725px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} :host(:not([standardized-themed-scrollbar])) #content {max-height: 500px;overflow-y: auto;} :host(:not([standardized-themed-scrollbar])) #content::-webkit-scrollbar {width: 8px;} :host(:not([standardized-themed-scrollbar])) #content::-webkit-scrollbar-thumb {height: 56px;background: var(--yt-spec-icon-disabled);} :host([standardized-themed-scrollbar]) #content {max-height: 500px;overflow-y: auto;} :host([standardized-themed-scrollbar]) #content::-webkit-scrollbar {width: 16px;} :host([standardized-themed-scrollbar]) #content::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: var(--yt-spec-text-secondary);} :host([standardized-themed-scrollbar]) #content::-webkit-scrollbar-thumb:hover {background-color: var(--yt-spec-icon-disabled);} #scroller {height: 656px;--paper-dialog-scrollable-padding: 0;} :host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);padding: 0;margin: 0;} #header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px;} #title {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {color: var(--yt-spec-text-primary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px 28px 12px 28px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #source {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding-top: 80px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #source-title,#target-title {padding-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #source-subtitle,#target-subtitle {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #source-account-name {padding-top: 12px;font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #source-account-email {padding-bottom: 20px;} #target {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #target-account {padding-top: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #target-account-info {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #target-account-name {font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;} #info-warning {padding-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #info-title,#warning-title {display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} yt-icon {width: 22px;height: 22px;} #info-title-text,#warning-title-text {padding-left: 8px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #info-text {padding-top: 12px;padding-bottom: 20px;} #warning-text {padding-top: 12px;padding-bottom: 12px;} yt-img-shadow {height: 72px;width: 72px;margin-right: 16px;border-radius: 50%;background-color: transparent;overflow: hidden;} #buttons {height: 52px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-cross-account-transfer-channel-confirm-dialog-renderer.css.map*/</style>';
rpb=d}d=rpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);spb=a}a=spb;return a}}});
var pS=oS;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],pS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],pS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],pS.prototype,"data",void 0);_.S([_.N({computed:"computeIcon_(data.infoIcon)"}),_.T("design:type",Object)],pS.prototype,"infoIcon",void 0);
_.S([_.N({computed:"computeIcon_(data.warningIcon)"}),_.T("design:type",Object)],pS.prototype,"warningIcon",void 0);pS=_.S([_.Q({is:"ytd-cross-account-transfer-channel-confirm-dialog-renderer"})],pS);
var tpb;
var upb;
var qS=function(){return _.K.apply(this,arguments)||this};
_.q(qS,_.K);qS.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
qS.prototype.configureRendererStamper=function(){return{"data.stepper":{id:"stepper",mapping:{channelTransferStepperRenderer:"ytd-channel-transfer-stepper-renderer"}},"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:{attributes:{"dialog-dismiss":!0},component:"ytd-button-renderer"}}},"data.signinButton":{id:"signin-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
_.t.Object.defineProperties(qS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===upb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-cross-account-transfer-channel-overview-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_cross_account_transfer_channel_overview_renderer.ytd.cross.account.transfer.channel.overview.renderer.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scroller">\n  <div id="header">\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  </div>\n  <div id="content">\n    <div id="stepper"></div>\n    <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n    <div id="messages">\n      <template is="dom-repeat" items="[[data.messages]]">\n        <yt-formatted-string class="line-text" split-lines="" text="[[item]]"></yt-formatted-string>\n      </template>\n    </div>\n  </div>\n  <div id="buttons">\n    <div id="cancel-button"></div>\n    <div id="signin-button"></div>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===tpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_cross_account_transfer_channel_overview_renderer.ytd.cross.account.transfer.channel.overview.renderer.css.js--\x3e<style>:host {width: 725px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #scroller {max-height: 440px;height: 70vh;--paper-dialog-scrollable-padding: 0;} :host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);padding: 0;margin: 0;} #header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px;} #title {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #subtitle {padding-left: 20px;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.4rem;font-weight: 400;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} ytd-channel-transfer-stepper-renderer {margin-top: 12px;} #messages {color: var(--yt-spec-text-primary);padding-left: 20px;padding-top: 20px;padding-bottom: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .line-text:not(:last-of-type) {display: block;margin-bottom: 8px;} #buttons {height: 52px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-cross-account-transfer-channel-overview-renderer.css.map*/</style>';
tpb=d}d=tpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);upb=a}a=upb;return a}}});
var rS=qS;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],rS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],rS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],rS.prototype,"data",void 0);rS=_.S([_.Q({asyncProperties:!0,is:"ytd-cross-account-transfer-channel-overview-renderer"})],rS);
var vpb;
var wpb;
var sS=function(){return _.K.apply(this,arguments)||this};
_.q(sS,_.K);sS.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
sS.prototype.configureRendererStamper=function(){return{"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:{attributes:{"dialog-dismiss":!0},component:"ytd-button-renderer"}}},"data.confirmButton":{id:"confirm-button",mapping:{buttonRenderer:{component:"ytd-button-renderer"}}}}};
sS.prototype.onServiceRequestSentOrCompleted=function(a,b){b&&b.actions&&0<b.actions.length&&_.C(this,"yt-close-popup-action",[this.is])};
_.t.Object.defineProperties(sS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-cross-account-transfer-channel-tnc-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_cross_account_transfer_channel_tnc_dialog_renderer.ytd.cross.account.transfer.channel.tnc.dialog.renderer.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scroller">\n  <div id="header">\n    <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  </div>\n  <div id="content">\n    <yt-formatted-string id="agree-title" text="[[data.agreeTitle]]"></yt-formatted-string>\n    <yt-formatted-string id="agree-text" split-lines="" text="[[data.agreeText]]"></yt-formatted-string>\n    <yt-formatted-string id="understand-title" text="[[data.understandTitle]]"></yt-formatted-string>\n    <yt-formatted-string id="understand-text" split-lines="" text="[[data.understandText]]"></yt-formatted-string>\n  </div>\n  <div id="buttons">\n    <div id="cancel-button"></div>\n    <div id="confirm-button"></div>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_cross_account_transfer_channel_tnc_dialog_renderer.ytd.cross.account.transfer.channel.tnc.dialog.renderer.css.js--\x3e<style>:host {width: 725px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #scroller {height: 426px;--paper-dialog-scrollable-padding: 0;} :host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);padding: 0;margin: 0;} #header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px;} #title {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {color: var(--yt-spec-text-primary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px 28px 32px 28px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #agree-title,#understand-title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #agree-title {padding-bottom: 12px;} #understand-title {padding-top: 20px;padding-bottom: 12px;} #agree-text,#understand-text {padding-left: 4px;} #buttons {height: 52px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} /*# sourceMappingURL=ytd-cross-account-transfer-channel-tnc-dialog-renderer.css.map*/</style>';
vpb=d}d=vpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wpb=a}a=wpb;return a}}});
var tS=sS;tS.prototype.onServiceRequestSentOrCompleted=tS.prototype.onServiceRequestSentOrCompleted;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],tS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],tS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],tS.prototype,"data",void 0);
_.S([_.O("yt-service-request-completed"),_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],tS.prototype,"onServiceRequestSentOrCompleted",null);tS=_.S([_.Q({is:"ytd-cross-account-transfer-channel-tnc-dialog-renderer"})],tS);
var xpb;
var ypb;
var uS=function(){var a=_.K.apply(this,arguments)||this;a.submitButtonDisabled=!0;return a};
_.q(uS,_.K);uS.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
uS.prototype.configureRendererStamper=function(){return{"data.sections":{id:"sections",mapping:{itemSectionRenderer:{component:"ytd-item-section-renderer",noInjection:!0}}}}};
uS.prototype.onDataChanged=function(){var a,b,c;if(void 0!==(null==(a=this.data)?void 0:null==(b=a.confirmButton)?void 0:null==(c=b.buttonRenderer)?void 0:c.isDisabled)){var d,e,h;this.submitButtonDisabled=null==(d=this.data)?void 0:null==(e=d.confirmButton)?void 0:null==(h=e.buttonRenderer)?void 0:h.isDisabled}};
uS.prototype.checkboxChanged=function(){this.submitButtonDisabled=!this.submitButtonDisabled};
_.t.Object.defineProperties(uS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===ypb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-transfer-channel-confirm-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_transfer_channel_confirm_dialog_renderer.ytd.transfer.channel.confirm.dialog.renderer.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scroller">\n  <div id="header">\n    <yt-formatted-string id="title" hidden$="[[!data.title]]" text="[[data.title]]"></yt-formatted-string>\n  </div>\n  <div id="content">\n    <div id="sections"></div>\n    <div id="messages">\n      <template is="dom-repeat" items="[[data.messages]]">\n        <yt-formatted-string class="line-text" split-lines="" text="[[item]]"></yt-formatted-string>\n      </template>\n    </div>\n    <div id="confirm">\n      <template is="dom-if" if="[[data.confirmText]]">\n        <tp-yt-paper-checkbox id="confirm-checkbox" checked="{{!submitButtonDisabled}}">\n          <yt-formatted-string id="confirm-text" text="[[data.confirmText]]"></yt-formatted-string>\n        </tp-yt-paper-checkbox>\n      </template>\n    </div>\n  </div>\n  <div id="buttons">\n    <yt-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" dialog-dismiss="" hidden="[[isCancelButtonHidden]]">\n    </yt-button-renderer>\n    <yt-button-renderer id="confirm-button" data="[[data.confirmButton.buttonRenderer]]" dialog-confirm="" disabled="{{submitButtonDisabled}}">\n    </yt-button-renderer>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===xpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.settings.ytd_transfer_channel_confirm_dialog_renderer.ytd.transfer.channel.confirm.dialog.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;width: 725px;} #scroller {--paper-dialog-scrollable-padding: 0;max-height: 510px;height: 70vh;} :host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);padding: 0;margin: 0;} #header {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: 20px;} #title {display: block;width: 100%;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;padding-left: 20px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #sections {width: 100%;margin-top: 12px;} ytd-item-section-renderer {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #messages {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;padding-top: 20px;padding-bottom: 20px;} .line-text:not(:last-of-type) {display: block;margin-bottom: 8px;} #confirm {padding-bottom: 20px;} #confirm-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #buttons {width: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;height: 52px;} /*# sourceMappingURL=ytd-transfer-channel-confirm-dialog-renderer.css.map*/</style>';
xpb=d}d=xpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);ypb=a}a=ypb;return a}}});
var vS=uS;vS.prototype.onDataChanged=vS.prototype.onDataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],vS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],vS.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],vS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],vS.prototype,"submitButtonDisabled",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],vS.prototype,"onDataChanged",null);vS=_.S([_.Q({asyncProperties:!0,is:"ytd-transfer-channel-confirm-dialog-renderer"})],vS);
var zpb;
var Apb;
var wS=function(){return _.K.apply(this,arguments)||this};
_.q(wS,_.K);wS.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
wS.prototype.configureRendererStamper=function(){return{"data.okayButton":{id:"okay-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}}}};
wS.prototype.onDataChanged=function(){var a=this.get("data.headerImage.thumbnails");a&&(a=_.nu(a,this.clientWidth),this.$.header.style.backgroundImage="url("+a+")");a=_.fg();var b=_.eg(),c=this.get("data.trackingParams");c&&b&&a&&_.tv(a,b,_.no(c));a=_.k(this.querySelectorAll("yt-img-shadow"));for(b=a.next();!b.done;b=a.next())b.value.onShow()};
wS.prototype.onPopupClosed=function(a){"ytd-membership-post-cancel-renderer"===_.H(a).rootTarget.localName&&_.C(this,"ytd-refresh-channel-tab-action",["TAB_ID_SPONSORSHIPS"])};
_.t.Object.defineProperties(wS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Apb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-membership-post-cancel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_membership_post_cancel_renderer.ytd.membership.post.cancel.renderer.css.js--\x3e<div id="header">\n  <div class="avatar-support" aria-hidden="true">\n    <yt-img-shadow class="avatar" thumbnail="[[data.viewerThumbnail]]">\n    </yt-img-shadow>\n    <yt-icon class="membership-icon" icon="sponsorship_star"></yt-icon>\n    <yt-img-shadow class="avatar" thumbnail="[[data.channelThumbnail]]">\n    </yt-img-shadow>\n  </div>\n</div>\n\n<yt-formatted-string class="header-title" text="[[data.header]]"></yt-formatted-string>\n\n<div class="messages">\n  <template is="dom-repeat" items="[[data.messages]]">\n    <yt-formatted-string text="[[item]]"></yt-formatted-string>\n  </template>\n</div>\n\n<div class="footer">\n  <div id="okay-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===zpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_membership_post_cancel_renderer.ytd.membership.post.cancel.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;max-width: 500px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {background-size: cover;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .avatar-support {padding-bottom: 8px;padding-top: 8px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .avatar {height: 56px;width: 56px;margin-left: 8px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} .membership-icon {color: var(--yt-spec-dark-green);height: 24px;width: 24px;} .header-title {margin: 24px 24px 16px 24px;color: var(--yt-spec-text-primary);font-size: 1.8rem;line-height: 2.4rem;font-weight: 500;} .messages {margin-left: 24px;margin-right: 24px;margin-bottom: 24px;color: var(--yt-spec-text-secondary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .footer {padding-top: 8px;padding-bottom: 4px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #okay-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} /*# sourceMappingURL=ytd-membership-post-cancel-renderer.css.map*/</style>';
zpb=d}d=zpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Apb=a}a=Apb;return a}}});
var xS=wS;xS.prototype.onPopupClosed=xS.prototype.onPopupClosed;xS.prototype.onDataChanged=xS.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],xS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],xS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],xS.prototype,"data",void 0);
_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],xS.prototype,"onDataChanged",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],xS.prototype,"onPopupClosed",null);xS=_.S([_.Q({asyncProperties:!0,is:"ytd-membership-post-cancel-renderer"})],xS);
var Bpb;
var Cpb;
var yS=function(){return _.K.apply(this,arguments)||this};
_.q(yS,_.K);_.f=yS.prototype;_.f.configureRendererStamper=function(){return{"data.confirmButton":{id:"confirm-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[onConfirmTap]]"}}}},"data.feedbackSurvey":{id:"feedback-survey",mapping:{feedbackSurveyRenderer:"ytd-feedback-survey-renderer"}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.scrollable.dialogElement=this.parentNode;this.onDataChanged()};
_.f.onYtPopupOpened=function(a,b){b===this&&this.data&&this.data.onOpenCommands&&_.Lg(this,this.data.onOpenCommands,this);_.C(this,"yt-close-popups-action",[["ytd-manage-membership-renderer","ytd-membership-offer-renderer"]])};
_.f.onYtPopupClosed=function(a,b){(b&&!0===b.canceled||b&&!1===b.canceled&&!1===b.confirmed)&&this.data&&this.data.onDismissCommands&&_.Lg(this,this.data.onDismissCommands,this)};
_.f.onYtServiceRequestCompleted=function(){_.C(this,"yt-close-popup-action",["ytd-sponsorship-confirm-cancel-renderer"])};
_.f.onYtServiceRequestError=function(a){this.ytOpenToastBehavior.openToast(a.detail.error.message)};
_.f.maybeSubmitFeedback=function(){var a=this.$$("ytd-feedback-survey-renderer");a&&a.submitSurvey()};
_.f.onDataChanged=function(){if(this.isAttached){var a=this.get("data.header.sponsorshipDialogHeaderRenderer.headerImage.thumbnails");a&&(a=_.nu(a,this.clientWidth),this.$.header.style.backgroundImage='url("'+a+'")')}};
_.f.onConfirmTap=function(){this.fire("yt-request-feedback-submission")};
_.t.Object.defineProperties(yS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Cpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorship-confirm-cancel-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorship_confirm_cancel_renderer.ytd.sponsorship.confirm.cancel.renderer.css.js--\x3e<div id="header">\n  <div id="dismiss-button">\n    <tp-yt-paper-icon-button aria-label$="[[closeButtonAriaLabel]]" dialog-dismiss="" icon="yt-icons:dismissal"></tp-yt-paper-icon-button>\n  </div>\n  <div class="avatar-support">\n    <yt-img-shadow class="avatar" thumbnail="[[data.header.sponsorshipDialogHeaderRenderer.viewerThumbnail]]">\n    </yt-img-shadow>\n    <yt-icon class="membership-icon" icon="sponsorship_star"></yt-icon>\n    <yt-img-shadow class="avatar" thumbnail="[[data.header.sponsorshipDialogHeaderRenderer.channelThumbnail]]">\n    </yt-img-shadow>\n  </div>\n</div>\n\n<tp-yt-paper-dialog-scrollable id="scrollable">\n  <div id="content">\n    <div id="title">\n      <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n    </div>\n    <div id="description">\n      <yt-formatted-string text="[[data.description]]"></yt-formatted-string>\n    </div>\n    <div id="feedback-survey"></div>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n<div class="footer">\n  <div id="confirm-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Bpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorship_confirm_cancel_renderer.ytd.sponsorship.confirm.cancel.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var( --yt-spec-10-percent-layer );background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;max-width: 500px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {background-size: cover;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #dismiss-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} #dismiss-button tp-yt-paper-icon-button {color: var(--yt-spec-black-4);width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #description {padding-top: 8px;padding-bottom: 8px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #content {margin: 24px 24px 8px 24px;max-height: 720px;} .avatar-support {margin-top: -24px;padding-bottom: 16px;border-bottom: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .avatar {height: 56px;width: 56px;margin-left: 8px;margin-right: 8px;border-radius: 50%;background-color: transparent;overflow: hidden;} .membership-icon {color: var(--yt-spec-dark-green);height: 24px;width: 24px;} #scrollable {--paper-dialog-scrollable-padding: 0;margin-bottom: 2px;} .footer {padding-top: 8px;padding-bottom: 4px;border-top: 1px solid var(--yt-spec-10-percent-layer);} #confirm-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} /*# sourceMappingURL=ytd-sponsorship-confirm-cancel-renderer.css.map*/</style>';
Bpb=d}d=Bpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Cpb=a}a=Cpb;return a}}});
var zS=yS;zS.prototype.onDataChanged=zS.prototype.onDataChanged;zS.prototype.maybeSubmitFeedback=zS.prototype.maybeSubmitFeedback;zS.prototype.onYtServiceRequestError=zS.prototype.onYtServiceRequestError;zS.prototype.onYtServiceRequestCompleted=zS.prototype.onYtServiceRequestCompleted;zS.prototype.onYtPopupClosed=zS.prototype.onYtPopupClosed;zS.prototype.onYtPopupOpened=zS.prototype.onYtPopupOpened;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],zS.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],zS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.uF.YtOpenToastBehavior),_.T("design:type",Object)],zS.prototype,"ytOpenToastBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],zS.prototype,"data",void 0);_.S([_.N({value:function(){return _.Bg("SBOX_INAPPROPRIATE_CANCEL")}}),
_.T("design:type",String)],zS.prototype,"closeButtonAriaLabel",void 0);_.S([_.Z("#scrollable"),_.T("design:type",Object)],zS.prototype,"scrollable",void 0);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],zS.prototype,"onYtPopupOpened",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],zS.prototype,"onYtPopupClosed",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],zS.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],zS.prototype,"onYtServiceRequestError",null);
_.S([_.O("yt-request-feedback-submission"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],zS.prototype,"maybeSubmitFeedback",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],zS.prototype,"onDataChanged",null);zS=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorship-confirm-cancel-renderer"})],zS);
var Dpb;
var Epb;
var Fpb=_.Pi(["\n      window.dataLayer = window.dataLayer || [];\n      function gtag(){dataLayer.push(arguments);}\n      gtag('event', 'conversion', {'send_to': 'AW-10800507011/WarlCOX0sIIDEIPRip4o', 'transaction_id': ''});\n    "]),AS=function(){var a=_.K.apply(this,arguments)||this;a.scriptsAppended=!1;return a};
_.q(AS,_.K);_.f=AS.prototype;
_.f.configureRendererStamper=function(){return{"data.header.sponsorshipsHeaderRenderer.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.secondaryButton":{id:"secondary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.contents":{id:"content",
mapping:{sponsorshipsListTileRenderer:{component:"ytd-sponsorships-list-tile-renderer"}}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.onDataChanged=function(){var a=this.get("data.header.sponsorshipsHeaderRenderer.backgroundColor");this.header.style.setProperty("background-color",_.bv(a));if(a=this.get("data.header.sponsorshipsHeaderRenderer.backgroundImage.thumbnails"))a=_.nu(a,this.getBoundingClientRect().width),this.header.style.setProperty("background-image","url("+a+")");a=_.fg(4);var b=_.eg(4),c=this.get("data.trackingParams");c&&b&&a&&_.tv(a,b,_.no(c));a=_.k(this.querySelectorAll("yt-img-shadow"));for(b=a.next();!b.done;b=
a.next())b.value.onShow();if(a=this.get("data.gtmId"))_.O3a(a),this.setupConversionTracking()};
_.f.setupConversionTracking=function(){if(!this.scriptsAppended){var a=document.createElement("script");var b=_.pb(Fpb[0]);_.Eb(a,b);document.head.appendChild(a);a=document.createElement("noscript");a.textContent='<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TGBSZFB" height="0" width="0" style="display:none;visibility:hidden"></iframe>';document.body.prepend(a);this.scriptsAppended=!0}};
_.f.onPopupClosed=function(a){"ytd-sponsorships-celebration-renderer"===_.H(a).rootTarget.localName&&_.C(this,"ytd-refresh-channel-tab-action",["TAB_ID_SPONSORSHIPS"])};
_.t.Object.defineProperties(AS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Epb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-celebration-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_celebration_renderer.ytd.sponsorships.celebration.renderer.css.js--\x3e<div id="header">\n  <div id="avatar-container">\n    <yt-img-shadow class="avatar" fit="true" thumbnail="[[data.header.sponsorshipsHeaderRenderer.channelImage]]">\n    </yt-img-shadow>\n  </div>\n  <div class="title-container">\n    <yt-formatted-string class="title" text="[[data.header.sponsorshipsHeaderRenderer.title]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="subtitle" text="[[data.header.sponsorshipsHeaderRenderer.subtitle]]">\n    </yt-formatted-string>\n  </div>\n</div>\n<div id="content"></div>\n<div id="top-bar">\n  <div id="dismiss-button"></div>\n</div>\n<div id="button-bar">\n  <div id="secondary-button"></div>\n  <div id="primary-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Dpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_celebration_renderer.ytd.sponsorships.celebration.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;min-width: 400px;max-width: 512px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {padding: 0 48px;background-repeat: no-repeat;background-size: cover;background-position: top right;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #dismiss-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #dismiss-button ytd-button-renderer {padding: 6px;color: var(--yt-spec-icon-inactive);} #top-bar {position: absolute;left: 0;right: 0;} #avatar-container {min-height: 224px;min-width: 256px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .avatar {height: 128px;width: 128px;margin-top: 24px;-ms-flex: none;-webkit-flex: none;flex: none;border-radius: 50%;background-color: transparent;overflow: hidden;} .title-container {margin: auto;flex-grow: 1;padding: 0 24px 32px 24px;} .title-container yt-formatted-string {display: block;padding: 4px 0;text-align: center;} .title-container yt-formatted-string.title {font-size: 2.8rem;font-weight: 400;line-height: 3.2rem;font-weight: 600;} .title-container yt-formatted-string.subtitle {font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #content {padding: 32px 64px 0 64px;} #content ytd-sponsorships-list-tile-renderer {max-width: 450px;height: auto;margin-bottom: 12px;margin-left: 4px;margin-right: 4px;} #button-bar {padding: 8px;border-top: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #primary-button {flex: 0;} #secondary-button {flex: 1;} /*# sourceMappingURL=ytd-sponsorships-celebration-renderer.css.map*/</style>';
Dpb=d}d=Dpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Epb=a}a=Epb;return a}}});
var BS=AS;BS.prototype.onPopupClosed=BS.prototype.onPopupClosed;BS.prototype.onDataChanged=BS.prototype.onDataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],BS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],BS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],BS.prototype,"data",void 0);_.S([_.Z("#header"),_.T("design:type",HTMLElement)],BS.prototype,"header",void 0);
_.S([_.N(),_.T("design:type",Object)],BS.prototype,"scriptsAppended",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],BS.prototype,"onDataChanged",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],BS.prototype,"onPopupClosed",null);BS=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-celebration-renderer"})],BS);
var Gpb;
var Hpb;
var CS=function(){var a=_.K.apply(this,arguments)||this;a.isToggleChecked=!1;return a};
_.q(CS,_.K);CS.prototype.onDataChanged=function(){var a;this.isToggleChecked="SPONSORSHIPS_GIFTING_OPT_IN_STATUS_ENABLED"===(null==(a=this.data)?void 0:a.initialOptInStatus)};
CS.prototype.close=function(){_.C(this,"yt-close-popup-action",["ytd-sponsorships-gifting-opt-in-renderer"])};
CS.prototype.handleOptInToggle=function(){this.isToggleChecked=!this.isToggleChecked;this.data&&(this.isToggleChecked&&this.data.optInCommand&&this.ytComponentBehavior.resolveCommand(this.data.optInCommand),!this.isToggleChecked&&this.data.optOutCommand&&this.ytComponentBehavior.resolveCommand(this.data.optOutCommand))};
CS.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.t.Object.defineProperties(CS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Hpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-gifting-opt-in-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gifting_opt_in_renderer.ytd.sponsorships.gifting.opt.in.renderer.css.js--\x3e<div id="close">\n  <yt-icon-button id="close-button" label="[[closeButtonAriaLabel]]" on-click="close">\n    <yt-icon icon="close"></yt-icon>\n  </yt-icon-button>\n</div>\n<div id="content">\n  <div id="header">\n    <yt-img-shadow class="thumbnail" thumbnail="[[data.thumbnail]]">\n    </yt-img-shadow>\n  </div>\n  <div id="optin">\n    <div id="title">\n      <yt-formatted-string class="title" text="[[data.title]]">\n      </yt-formatted-string>\n      <yt-formatted-string class="subtitle" text="[[data.subtitle]]">\n      </yt-formatted-string>\n    </div>\n    <div id="toggle">\n      <tp-yt-paper-toggle-button class="toggle" checked="[[isToggleChecked]]" on-click="handleOptInToggle">\n      </tp-yt-paper-toggle-button>\n    </div>\n  </div>\n  <div class="separator"></div>\n  <yt-formatted-string class="disclaimer" text="[[data.disclaimer]]">\n  </yt-formatted-string>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Gpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_gifting_opt_in_renderer.ytd.sponsorships.gifting.opt.in.renderer.css.js--\x3e<style>:host([dialog]) {display: block;width: 450px;margin: 0;padding: 24px;position: relative;--paper-toggle-button-label-spacing: 0;} #content {justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #close {position: absolute;top: 0px;right: 0px;} #close-button {color: var(--yt-spec-icon-active-other);width: var(--yt-button-icon-size,24px);height: var(--yt-button-icon-size,24px);margin: 16px;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;justify-content: center;margin: 8px;} .thumbnail {position: relative;top: -12px;width: 66%;} #optin {justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;margin-bottom: 16px;} #title {justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .title {color: var(--yt-spec-text-primary);margin-right: 8px;margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .subtitle {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-secondary);} #toggle {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;justify-content: flex-end;margin-left: 16px;} .disclaimer {color: var(--yt-spec-text-secondary);margin-bottom: 4px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} .separator {background-color: var(--yt-spec-10-percent-layer);height: 1px;margin: 12px 0 12px 0;} /*# sourceMappingURL=ytd-sponsorships-gifting-opt-in-renderer.css.map*/</style>';
Gpb=d}d=Gpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Hpb=a}a=Hpb;return a}}});
var DS=CS;DS.prototype.onDataChanged=DS.prototype.onDataChanged;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],DS.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],DS.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],DS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],DS.prototype,"isToggleChecked",void 0);
_.S([_.N({value:_.Bg("CLOSE")}),_.T("design:type",String)],DS.prototype,"closeButtonAriaLabel",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],DS.prototype,"onDataChanged",null);DS=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-gifting-opt-in-renderer"})],DS);
var Ipb;
var Jpb;
var ES=function(){return _.K.apply(this,arguments)||this};
_.q(ES,_.K);_.f=ES.prototype;_.f.configureRendererStamper=function(){return{"data.header.sponsorshipsHeaderRenderer.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.header.sponsorshipsHeaderRenderer.menuButton":{id:"action-menu",mapping:{menuRenderer:"ytd-menu-renderer"}},"data.alert":{id:"alert-renderer",mapping:{sponsorshipsAlertRenderer:{component:"ytd-sponsorships-alert-renderer"}}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.detached=function(){this.JSC$40020_playerElement.stop()};
_.f.onYtServiceRequestCompleted=function(){_.C(this,"yt-close-popup-action",["ytd-sponsorships-offer-renderer"])};
_.f.onYtServiceRequestError=function(a){this.ytOpenToastBehavior.openToast(a.detail.error.message)};
_.f.onYtPopupOpened=function(){this.scrollable&&(this.scrollable.scrollTarget.scrollTop=0)};
_.f.onYtPopupClosed=function(){this.JSC$40020_playerElement.stop();this.backgroundPlayerElement&&this.isBackgroundPlayerAlreadyPlaying&&!this.tierRenderer.purchaseButtonClicked&&this.backgroundPlayerElement.play();this.set("selectedTier",0)};
_.f.getTier=function(a,b){return!a||!a.tiers||0>b?null:a.tiers[b].sponsorshipsTierRenderer};
_.f.moreThanOne=function(a){return!!(a&&1<a.length)};
_.f.tierOverviewTap=function(a){var b=this;this.selectedTier=a.model.index;_.nt(this,function(){b.fire("yt-refit")})};
_.f.computeSelectedClass=function(a,b){return a===b?"selected":""};
_.f.onDataChanged=function(){this.$["header-overlay"].style.visibility="";this.$["header-overlay"].classList.remove("header-overlay-transition");this.offerVideo=this.get("data.header.sponsorshipsHeaderRenderer.inlineVideo.sponsorshipsOfferVideoRenderer.externalVideoId");this.setHeaderBackground();this.initializeVe(this.offerVideo);this.offerVideo&&this.setupVideoPlayer(this.offerVideo);for(var a=_.k(this.querySelectorAll("yt-img-shadow")),b=a.next();!b.done;b=a.next())b.value.onShow();this.set("selectedTier",
0)};
_.f.initializeVe=function(a){var b=_.fg(),c=_.eg(),d=this.get("data.trackingParams");c&&b&&(this.screenLayer=4,b=_.Pja(void 0,69877,{clientScreenNonce:b,visualElement:c}),_.hg(b,69877,4),c=_.eg(4),d&&c&&(d=_.no(d),_.tv(b,c,d),a&&(this.offerVideoVe=_.oo(74659),_.tv(b,d,this.offerVideoVe))))};
_.f.setHeaderBackground=function(){var a=this.get("data.header.sponsorshipsHeaderRenderer.backgroundColor");this.$["background-image-layer"].style.backgroundColor=_.bv(a);if(a=this.get("data.header.sponsorshipsHeaderRenderer.backgroundImage.thumbnails"))a=_.nu(a,screen.width),this.$["background-image-layer"].style.backgroundImage="url("+a+")"};
_.f.setupVideoPlayer=function(a){var b=this,c,d,e,h;return _.y(function(l){if(1==l.nextAddress)return c=b.get("data.header.sponsorshipsHeaderRenderer.inlineVideo.sponsorshipsOfferVideoRenderer.autoplay"),d=b.get("data.header.sponsorshipsHeaderRenderer.inlineVideo.sponsorshipsOfferVideoRenderer.playerWatchEndpointParams"),_.x("kevlar_player_update_killswitch")?b.JSC$40020_playerElement.update({args:{autoplay:c,video_id:a,player_params:d}}):b.JSC$40020_playerElement.loadVideoWithPlayerVars({autoplay:c,
video_id:a,player_params:d}),_.B(l,b.JSC$40020_playerElement.getPlayerPromise(),2);e=l.yieldResult;e.addEventListener("onStateChange",function(m){b.onPlayerStateChange(m)});
e.setScreenLayer(b.screenLayer);(h=_.fg(4))&&b.offerVideoVe&&_.xg(h,b.offerVideoVe);c&&(b.pauseOtherPlayers(),b.JSC$40020_playerElement.focusOnPlayer(),b.JSC$40020_playerElement.getPlayer().hideControls(),_.Jn(_.xe,function(){b.fadeOutHeaderOverlay()},4E3));
_.bf(l)})};
_.f.onPlayerStateChange=function(a){1===a?this.backgroundPlayerElement&&(a=this.backgroundPlayerElement.player_.getPlayerState(),1!==a&&3!==a||this.backgroundPlayerElement.pause()):0===a&&(this.$["header-overlay"].style.visibility="",this.JSC$40020_playerElement.getPlayer().hideControls(),this.$["header-overlay"].classList.remove("header-overlay-transition"))};
_.f.fadeOutHeaderOverlay=function(){this.$["header-overlay"].classList.add("header-overlay-transition");this.JSC$40020_playerElement.getPlayer().showControls()};
_.f.onHeaderTap=function(){if(this.offerVideo){this.$["header-overlay"].style.visibility="hidden";this.pauseOtherPlayers();var a;1===(null==(a=this.JSC$40020_playerElement.player_)?void 0:a.getPlayerState())?this.JSC$40020_playerElement.pause():this.JSC$40020_playerElement.play();(a=_.fg(4))&&this.offerVideoVe&&_.pt(a,this.offerVideoVe)}};
_.f.getBackgroundImageLayerClass=function(a){return a?"background-image-layer-with-video":""};
_.f.getHeaderClass=function(a){return a?"header-with-video":""};
_.f.getHeaderOverlayClass=function(a){return a?"header-overlay-with-video":""};
_.f.getTitleContainerClass=function(a){return a?"title-container-with-video":"title-container-without-video"};
_.f.tierTitleDisplayStatus=function(a){return this.moreThanOne(a)?"hide":"show"};
_.f.pauseOtherPlayers=function(){var a=_.Jg(this,"yt-miniplayer-active");a&&a[0]?(a=_.Jg(this,"yt-get-miniplayer-component-action"))&&a[0]&&(this.backgroundPlayerElement=a[0].getPlayerElement()):this.backgroundPlayerElement=_.sv();this.backgroundPlayerElement&&this.backgroundPlayerElement.player_&&(a=this.backgroundPlayerElement.player_.getPlayerState(),this.isBackgroundPlayerAlreadyPlaying=1===a||3===a,this.backgroundPlayerElement.pause())};
_.t.Object.defineProperties(ES,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Jpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_offer_renderer.ytd.sponsorships.offer.renderer.css.js--\x3e<div id="top-bar">\n  <div id="titlebar-text">\n    <yt-formatted-string text="[[data.header.sponsorshipsHeaderRenderer.titlebarText]]">\n    </yt-formatted-string>\n  </div>\n  <div id="action-menu"></div>\n  <div id="dismiss-button"></div>\n</div>\n<tp-yt-paper-dialog-scrollable id="scroller">\n  <div id="header" class$="[[getHeaderClass(offerVideo)]]">\n    <div id="header-overlay" on-click="onHeaderTap">\n      <div id="header-title-overlay" class$="[[getHeaderOverlayClass(offerVideo)]]">\n        <div id="avatar-container">\n          <yt-img-shadow class="avatar" fit="true" thumbnail="[[data.header.sponsorshipsHeaderRenderer.channelImage]]">\n          </yt-img-shadow>\n        </div>\n        <div class$="title-container [[getTitleContainerClass(offerVideo)]]">\n          <yt-formatted-string class="channel-title" ellipsis-truncate="" text="[[data.header.sponsorshipsHeaderRenderer.superTitle]]">\n          </yt-formatted-string>\n          <yt-formatted-string class="title" text="[[data.header.sponsorshipsHeaderRenderer.title]]">\n          </yt-formatted-string>\n          <yt-formatted-string class="subtitle" text="[[data.header.sponsorshipsHeaderRenderer.subtitle]]">\n          </yt-formatted-string>\n        </div>\n      </div>\n      <div id="background-image-layer" class$="[[getBackgroundImageLayerClass(offerVideo)]]"> </div>\n    </div>\n    <div id="video-container" hidden$="[[!offerVideo]]">\n      <ytd-player id="player" context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_SPONSORSHIPS_OFFER" player-id="[[playerId]]">\n      </ytd-player>\n    </div>\n  </div>\n  <div id="alert-renderer" hidden="[[!data.alert]]"></div>\n  <div id="content">\n    <template is="dom-if" if="[[moreThanOne(data.tiers)]]">\n      <div id="tier-overview">\n        <template is="dom-repeat" items="[[data.tiers]]" as="tier">\n          <button class$="offer-overview-item [[computeSelectedClass(index, selectedTier)]]" on-click="tierOverviewTap">\n            <yt-formatted-string class="title" text="[[tier.sponsorshipsTierRenderer.title]]">\n            </yt-formatted-string>\n            <yt-formatted-string class="subtitle" text="[[tier.sponsorshipsTierRenderer.subtitle]]">\n            </yt-formatted-string>\n          </button>\n        </template>\n      </div>\n    </template>\n    <ytd-sponsorships-tier-renderer id="tier" data="[[getTier(data, selectedTier)]]" titledisplaystatus="[[tierTitleDisplayStatus(data.tiers)]]">\n    </ytd-sponsorships-tier-renderer>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Ipb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_offer_renderer.ytd.sponsorships.offer.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var( --yt-spec-10-percent-layer );background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;min-width: 480px;max-width: 608px;width: 90vw;} #scroller {max-height: 644px;height: 90vh;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;height: 315px;position: relative;} .header-with-video {margin: 0 24px;} ytd-button-renderer {color: var(--yt-spec-icon-inactive);display: inline-block;} ytd-button-renderer:hover {color: var(--yt-spec-icon-active-other);} #top-bar {padding: 8px 16px 8px 24px;color: var(--yt-spec-text-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #titlebar-text {padding: 10px 0;width: 100%;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} .sponsorships-icon {height: 36px;width: 36px;color: var(--yt-spec-themed-green);margin: 8px;} #avatar-container {height: 144px;width: 144px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;margin: auto;margin-left: 0;} .avatar {height: 96px;width: 96px;border-radius: 50%;background-color: transparent;overflow: hidden;} .title-container {padding: 0 24px;color: var(--yt-spec-static-brand-black);} .title-container-without-video {color: var(--yt-spec-static-brand-black);} .title-container-with-video {color: var(--yt-spec-static-brand-white);} #header-overlay {z-index: 1;width: 100%;position: relative;} .header-overlay-transition {transition: opacity 500ms;opacity: 0;} #youtube-red-icon {position: absolute;height: 70px;width: 70px;top: 50%;left: 50%;transform: translate(-50%,-50%);} #header-title-overlay {height: 100%;width: 100%;display: flex;flex-direction: column;justify-content: flex-end;position: absolute;} #background-image-layer {height: 100%;background-repeat: no-repeat;background-size: cover;background-position: top right;z-index: -1;} .background-image-layer-with-video {opacity: 0.05;} #video-container {position: absolute;align-self: center;height: 100%;width: 100%;} .header-overlay-with-video {background: linear-gradient(180deg,rgba(0,0,0,0.1) 0%,rgba(0,0,0,0.5) 50%,rgba(0,0,0,0.65) 100%);} .title-container yt-formatted-string {display: block;} .title-container yt-formatted-string.channel-title {font-family: "YouTube Sans","YT SANS";-webkit-line-clamp: 2;overflow: hidden;width: 50%;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} .title-container yt-formatted-string.title {font-family: "YouTube Sans","YT SANS";-webkit-line-clamp: 2;overflow: hidden;width: 70%;margin-top: 2px;max-height: 7.8rem;font-size: 3.2rem;font-weight: 500;line-height: 3.8rem;-webkit-box-orient: vertical;text-overflow: ellipsis;white-space: normal;display: -webkit-box;} .title-container yt-formatted-string.subtitle {margin-top: 12px;margin-bottom: 28px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #scroller {--paper-dialog-scrollable-padding: 0;margin-bottom: 2px;} #content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #tier-overview {width: 220px;margin-top: 16px;flex-shrink: 0;margin-right: 16px;} #tier {width: 100%;padding: 24px;} .offer-overview-item {display: block;width: 100%;padding: 11px 24px;font-family: inherit;background: transparent;border: none;outline: none;text-align: left;cursor: pointer;} .offer-overview-item:not(:last-of-type) {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} .offer-overview-item.selected {background-color: var(--yt-spec-badge-chip-background);} .offer-overview-item yt-formatted-string {display: block;} .offer-overview-item yt-formatted-string.title {color: var(--yt-spec-text-primary);font-family: "YouTube Sans","YT SANS";font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;} .offer-overview-item yt-formatted-string.subtitle {color: var(--yt-spec-text-secondary);font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} ytd-sponsorships-alert-renderer {padding: 16px;} .header-with-video+#alert-renderer {margin-top: 24px;} /*# sourceMappingURL=ytd-sponsorships-offer-renderer.css.map*/</style>';
Ipb=d}d=Ipb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Jpb=a}a=Jpb;return a}}});
var FS=ES;FS.prototype.onDataChanged=FS.prototype.onDataChanged;FS.prototype.onYtPopupClosed=FS.prototype.onYtPopupClosed;FS.prototype.onYtPopupOpened=FS.prototype.onYtPopupOpened;FS.prototype.onYtServiceRequestError=FS.prototype.onYtServiceRequestError;FS.prototype.onYtServiceRequestCompleted=FS.prototype.onYtServiceRequestCompleted;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],FS.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],FS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.uF.YtOpenToastBehavior),_.T("design:type",Object)],FS.prototype,"ytOpenToastBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],FS.prototype,"data",void 0);_.S([_.N({notify:!0,value:0}),_.T("design:type",Number)],FS.prototype,"selectedTier",void 0);_.S([_.N({value:""}),_.T("design:type",String)],FS.prototype,"offerVideo",void 0);
_.S([_.N({value:!1}),_.T("design:type",Boolean)],FS.prototype,"isBackgroundPlayerAlreadyPlaying",void 0);_.S([_.N({value:function(){return"ytd-sponsorships-offer-with-video-renderer-"+_.qa(this)}}),
_.T("design:type",String)],FS.prototype,"playerId",void 0);_.S([_.Z("tp-yt-paper-dialog-scrollable"),_.T("design:type",Object)],FS.prototype,"scrollable",void 0);_.S([_.Z("ytd-sponsorships-tier-renderer"),_.T("design:type",_.EG)],FS.prototype,"tierRenderer",void 0);_.S([_.Z("#player"),_.T("design:type",Object)],FS.prototype,"JSC$40020_playerElement",void 0);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],FS.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],FS.prototype,"onYtServiceRequestError",null);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FS.prototype,"onYtPopupOpened",null);
_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FS.prototype,"onYtPopupClosed",null);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],FS.prototype,"onDataChanged",null);FS=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-offer-renderer"})],FS);
var Kpb;
var Lpb;
var GS=function(){return _.K.apply(this,arguments)||this};
_.q(GS,_.K);GS.prototype.configureRendererStamper=function(){return{"data.content.sponsorshipsPromotionChannelRenderer.primaryButton":{id:"primary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.header.sponsorshipsPromotionHeaderRenderer.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}}}};
GS.prototype.backgroundColorChanged=function(){var a,b,c,d,e=null==(a=this.data)?void 0:null==(b=a.content)?void 0:null==(c=b.sponsorshipsPromotionChannelRenderer)?void 0:null==(d=c.backgroundColor)?void 0:d.backgroundColor;e&&(a=_.ru(e),this.$.banner.style.backgroundColor=a,this.$["abstract-art"].style.backgroundColor=a)};
GS.prototype.attached=function(){this.JSC$40026_scroller&&(this.JSC$40026_scroller.dialogElement=this.parentNode,this.JSC$40026_scroller.attached&&"function"===typeof this.JSC$40026_scroller.attached&&this.JSC$40026_scroller.attached());this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.t.Object.defineProperties(GS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Lpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-sponsorships-promotion-celebration-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_promotion_celebration_renderer.ytd.sponsorships.promotion.celebration.renderer.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scroller">\n   <div id="dismiss-button"></div>\n   <div id="header">\n    <yt-img-shadow class="premium-icon" thumbnail="[[data.header.sponsorshipsPromotionHeaderRenderer.icon]]">\n    </yt-img-shadow>\n    <yt-img-shadow class="illustration" hidden="[[!data.header.sponsorshipsPromotionHeaderRenderer.illustrationThumbnail]]" thumbnail="[[data.header.sponsorshipsPromotionHeaderRenderer.illustrationThumbnail]]">\n    </yt-img-shadow>\n    <yt-formatted-string class="title" text="[[data.header.sponsorshipsPromotionHeaderRenderer.title]]">\n    </yt-formatted-string>\n    <yt-formatted-string class="subtitle" split-lines="" text="[[data.header.sponsorshipsPromotionHeaderRenderer.subtitle]]">\n    </yt-formatted-string>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n  <div id="banner">\n    <div id="content">\n      <div id="content-background" class="banner-shade">\n        <yt-img-shadow id="abstract-art" fit-height="" thumbnail="[[data.content.sponsorshipsPromotionChannelRenderer.backgroundImage]]">\n        </yt-img-shadow>\n      </div>\n      <div id="subcontent">\n        <yt-img-shadow class="channel-image" fit="" thumbnail="[[data.content.sponsorshipsPromotionChannelRenderer.channelImage]]">\n        </yt-img-shadow>\n        <div class="channel-info">\n          <yt-formatted-string class="channel-info-title" ellipsis-truncate="" text="[[data.content.sponsorshipsPromotionChannelRenderer.title]]">\n          </yt-formatted-string>\n          <yt-formatted-string class="channel-title" ellipsis-truncate="" text="[[data.content.sponsorshipsPromotionChannelRenderer.channelTitle]]">\n          </yt-formatted-string>\n          <yt-formatted-string class="membership-detail" ellipsis-truncate="" hidden="[[!data.content.sponsorshipsPromotionChannelRenderer.membershipDetail]]" text="[[data.content.sponsorshipsPromotionChannelRenderer.membershipDetail]]">\n          </yt-formatted-string>\n        </div>\n      </div>\n    </div>\n    <div id="button-bar" class="banner-shade">\n      <div id="primary-button"></div>\n    </div>\n  </div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Kpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.sponsorships.ytd_sponsorships_promotion_celebration_renderer.ytd.sponsorships.promotion.celebration.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {margin: 0;padding: 0;} :host {background-color: var(--yt-spec-brand-background-solid);justify-content: space-between;width: 612px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #scroller {--paper-dialog-scrollable-padding: 0;} #header {position: relative;min-height: 400px;padding: 40px 100px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #dismiss-button {margin-right: 16px;margin-top: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;} #dismiss-button tp-yt-paper-icon-button {color: var(--yt-spec-text-primary);width: var(--yt-button-icon-size,40px);height: var(--yt-button-icon-size,40px);} .premium-icon {height: 24px;margin-bottom: 24px;width: 114px;} .illustration {margin-bottom: 24px;} yt-formatted-string.title {color: var(--yt-spec-text-primary);margin-bottom: 12px;font-family: "YouTube Sans","YT Sans","Roboto",sans-serif;font-size: 2.8rem;font-weight: bold;line-height: 3.2rem;} yt-formatted-string.subtitle {color: var(--yt-spec-text-secondary);font-size: 1.4rem;line-height: 2rem;} #content {position: relative;} #content-background {overflow: hidden;position: absolute;top: 0;right: 0;bottom: 0;left: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #abstract-art {--yt-img-shadow-min-height: 100%;--yt-img-max-height: 100%;-ms-flex: none;-webkit-flex: none;flex: none;} #subcontent {padding: 0px 100px;position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .banner-shade {background-color: rgba(255,255,255,0.85);} .channel-image {margin: 20px 0px 20px 0px;height: 52px;margin-top: 20px;width: 52px;border-radius: 50%;background-color: transparent;overflow: hidden;-ms-flex: none;-webkit-flex: none;flex: none;} .channel-info {margin: 20px 0px 20px 12px;overflow: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 auto;-webkit-flex: 1 1 auto;flex: 1 1 auto;} .channel-info-title {color: var(--yt-spec-static-brand-black);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} .channel-title {color: var(--yt-spec-static-brand-black);font-size: 1.4rem;line-height: 2rem;} .membership-detail {color: var(--yt-spec-static-brand-black);font-size: 1.4rem;line-height: 2rem;} #button-bar {border-top: 1px solid #ccc;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #primary-button {--yt-button-color: var(--yt-spec-static-brand-black);margin: 8px;-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} /*# sourceMappingURL=ytd-sponsorships-promotion-celebration-renderer.css.map*/</style>';
Kpb=d}d=Kpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Lpb=a}a=Lpb;return a}}});
var HS=GS;HS.prototype.backgroundColorChanged=HS.prototype.backgroundColorChanged;_.S([_.N(),_.T("design:type",Object)],HS.prototype,"data",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],HS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.Z("#scroller"),_.T("design:type",Object)],HS.prototype,"JSC$40026_scroller",void 0);
_.S([_.P("data.content.sponsorshipsPromotionChannelRenderer.backgroundColor"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],HS.prototype,"backgroundColorChanged",null);HS=_.S([_.Q({asyncProperties:!0,is:"ytd-sponsorships-promotion-celebration-renderer"})],HS);
var Mpb;
var Npb;
var Opb;
var Ppb;
var IS=function(){return _.K.apply(this,arguments)||this};
_.q(IS,_.K);IS.prototype.getValue=function(){return this.checkbox.checked?this.data.params:void 0};
IS.prototype.computeIsInitiallyChecked=function(a){return 1===a};
_.t.Object.defineProperties(IS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ppb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-subscription-toggle-option-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_subscription_toggle_option_renderer.ytd.subscription.toggle.option.renderer.css.js--\x3e<tp-yt-paper-checkbox id="checkbox" checked="[[computeIsInitiallyChecked(data.initialValue)]]">\n  [[getSimpleString(data.label)]]\n</tp-yt-paper-checkbox>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Opb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_subscription_toggle_option_renderer.ytd.subscription.toggle.option.renderer.css.js--\x3e<style>:host {display: inline-block;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-subscription-toggle-option-renderer.css.map*/</style>';
Opb=d}d=Opb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ppb=a}a=Ppb;return a}}});
var JS=IS;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],JS.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],JS.prototype,"data",void 0);_.S([_.Z("#checkbox"),_.T("design:type",Object)],JS.prototype,"checkbox",void 0);JS=_.S([_.Q({asyncProperties:!0,is:"ytd-subscription-toggle-option-renderer"})],JS);
var KS=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-signal-action-submit-notification-options-form":"handleSignalActionSubmitNotificationOptionsForm"};return a};
_.q(KS,_.K);KS.prototype.configureRendererStamper=function(){return{"data.secondaryOptions":{id:"secondary-options",mapping:{subscriptionToggleOptionRenderer:"ytd-subscription-toggle-option-renderer"}},"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.confirmButton":{id:"confirm-button",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
KS.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
KS.prototype.handleSignalActionSubmitNotificationOptionsForm=function(){var a=this.data.options[this.$.options.selected].subscriptionRadioOptionRenderer.serviceEndpoint,b=this.$$("ytd-subscription-toggle-option-renderer");b&&a&&a.modifyChannelNotificationPreferenceEndpoint&&(b=b.getValue())&&(a.modifyChannelNotificationPreferenceEndpoint.secondaryParams=[b]);_.Kg(this,[a]);_.C(this,"yt-close-popup-action")};
_.t.Object.defineProperties(KS.prototype,{initialIndex:{configurable:!0,enumerable:!0,get:function(){if(!this.data||!this.data.options)return null;for(var a=this.data.options,b=0;b<a.length;b++){var c=a[b].subscriptionRadioOptionRenderer;if(c&&c.selected)return b}return null}}});
_.t.Object.defineProperties(KS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Npb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-subscription-notification-options-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_subscription_notification_options_renderer.ytd.subscription.notification.options.renderer.css.js--\x3e<div id="title">[[getSimpleString(data.title)]]</div>\n<div id="body">\n  <tp-yt-paper-radio-group id="options" selected="[[initialIndex]]">\n    <template is="dom-repeat" items="[[data.options]]">\n      <tp-yt-paper-radio-button name="[[index]]" value="[[item.subscriptionRadioOptionRenderer.serviceEndpoint]]">\n        <div class="content">\n          <div class="label">\n            [[getSimpleString(item.subscriptionRadioOptionRenderer.text)]]\n          </div>\n          <yt-icon icon="[[item.subscriptionRadioOptionRenderer.choiceIcon.iconType]]">\n          </yt-icon>\n        </div>\n      </tp-yt-paper-radio-button>\n    </template>\n  </tp-yt-paper-radio-group>\n  <div id="secondary-options"></div>\n</div>\n<div class="buttons">\n  <div id="cancel-button"></div>\n  <div id="confirm-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Mpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.subscription.ytd_subscription_notification_options_renderer.ytd.subscription.notification.options.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);margin: 0;max-width: 688px;padding: 0;} :host([dialog][dialog][dialog]) tp-yt-paper-radio-button[style-target=label] {width: 100%;} #title {display: block;color: var(--yt-spec-text-primary);margin: 24px 0 8px;padding: 0 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #body {margin: 0 24px 0 12px;padding: 0;} #secondary-options:not(:empty) {padding: 16px 0 16px 12px;border-top: 1px solid var(--yt-spec-10-percent-layer);} .buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);position: relative;padding: 8px 8px 8px 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} .buttons>* {margin-left: 8px;} tp-yt-paper-radio-group {display: block;margin-bottom: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} tp-yt-paper-radio-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-radio-button[style-target=container] {@apply --layout-flex-none;} tp-yt-paper-radio-button .content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-radio-button .label {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} tp-yt-paper-radio-button yt-icon {color: var(--yt-spec-icon-inactive);} tp-yt-paper-radio-button.iron-selected yt-icon {color: var(--yt-spec-text-primary);} /*# sourceMappingURL=ytd-subscription-notification-options-renderer.css.map*/</style>';
Mpb=d}d=Mpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Npb=a}a=Npb;return a}}});
var LS=KS;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],LS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],LS.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],LS.prototype,"eventForwardingBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],LS.prototype,"ytRendererBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],LS.prototype,"data",void 0);_.S([_.V("data.options"),_.T("design:type",Object),_.T("design:paramtypes",[])],LS.prototype,"initialIndex",null);LS=_.S([_.Q({asyncProperties:!0,is:"ytd-subscription-notification-options-renderer"})],LS);
var Qpb;
var Rpb;
var Spb=function(){return _.K.apply(this,arguments)||this};
_.q(Spb,_.K);
_.t.Object.defineProperties(Spb,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Rpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-tvfilm-offer-groups-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_tvfilm_offer_groups_renderer.ytd.tvfilm.offer.groups.renderer.css.js--\x3e<template is="dom-repeat" items="[[data.offerGroups]]">\n  <div class="offer-group">\n    <div class="offer-header">\n      <h2 class="offer-title">[[getSimpleString(item.offerGroupRenderer.title)]]</h2>\n      <h3>\n        <yt-formatted-string class="offer-subtitle standard-text" split-lines="" text="[[item.offerGroupRenderer.subtitle]]">\n        </yt-formatted-string>\n      </h3>\n    </div>\n    <div class="offer-list">\n      <template is="dom-repeat" items="[[item.offerGroupRenderer.offers]]">\n        <ytd-button-renderer class="offer-button" data="[[item.buttonRenderer]]" dialog-dismiss="true" ellipsis-truncate="">\n        </ytd-button-renderer>\n      </template>\n    </div>\n  </div>\n</template>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Qpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_tvfilm_offer_groups_renderer.ytd.tvfilm.offer.groups.renderer.css.js--\x3e<style>:host {display: inline-block;} .offer-header {margin-bottom: -6px;} .offer-title {color: var(--yt-spec-text-primary);font-size: 2.4rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .offer-subtitle {color: var(--yt-spec-text-secondary);margin: 4px 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .offer-group {margin-bottom: 20px;} .offer-group:last-of-type {margin-bottom: 0px;} .offer-list {display: flex;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} .offer-button {margin: 16px 16px 0 0;} /*# sourceMappingURL=ytd-tvfilm-offer-groups-renderer.css.map*/</style>';
Qpb=d}d=Qpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Rpb=a}a=Rpb;return a}}});
var MS=Spb;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],MS.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],MS.prototype,"data",void 0);MS=_.S([_.Q({asyncProperties:!0,is:"ytd-tvfilm-offer-groups-renderer"})],MS);
var Tpb;
var Upb;
var NS=function(){return _.K.apply(this,arguments)||this};
_.q(NS,_.K);_.f=NS.prototype;_.f.configureRendererStamper=function(){return{"data.offers":{id:"offers",mapping:{tvfilmOffersRenderer:{component:"ytd-tvfilm-offer-groups-renderer"}}},"data.coupon":{id:"coupon",mapping:{ypcCouponRenderer:"ytd-ypc-coupon-renderer"}},"data.thumbnailOverlays":{id:"overlays",mapping:{thumbnailOverlayTimeStatusRenderer:"ytd-thumbnail-overlay-time-status-renderer"}}}};
_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");this.hasAttribute("aria-label")||this.setAttribute("aria-label","Offers")};
_.f.computeThumbnailClass=function(a){return a.thumbnailOverlays?a.isShow?"thumbnail-show":"thumbnail-movie":a.isShow?"thumbnail-no-overlay-show":"thumbnail-no-overlay-movie"};
_.f.computeCommerceSectionClass=function(a){return a.offers&&a.offers.tvfilmOffersRenderer?"commerce-section-groups":"commerce-section-tabs"};
_.f.computeTitleClass=function(a){return a.offers&&a.offers.tvfilmOffersRenderer?"title-with-offer-groups":""};
_.f.onDataChanged=function(){[].concat(_.sc(this.querySelectorAll("yt-img-shadow"))).forEach(function(a){a.onShow()})};
_.t.Object.defineProperties(NS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Upb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ypc-offers-overlay-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_ypc_offers_overlay_renderer.ytd.ypc.offers.overlay.renderer.css.js--\x3e<div id="spinner" hidden="[[!data.showLoadingSpinner]]">\n  <tp-yt-paper-spinner active="[[data.showLoadingSpinner]]"></tp-yt-paper-spinner>\n</div>\n<div class="content" hidden="[[data.showLoadingSpinner]]">\n  <div class="header" hidden="[[!data.title]]">\n    <div class="metadata">\n      <div class$="title-badge [[computeTitleClass(data)]]">\n        [[getSimpleString(data.title)]]\n      </div>\n    </div>\n    <template is="dom-if" if="[[data.title]]">\n      <ytd-button-renderer class="dismiss-button" data="[[data.dismissButton.buttonRenderer]]" dialog-dismiss="true">\n      </ytd-button-renderer>\n    </template>\n  </div>\n\n  <div class="content-dismiss-section">\n    <div id="thumbnail-commerce-section">\n      <div id="thumbnail" class$="[[computeThumbnailClass(data)]]">\n        <yt-img-shadow fit="" thumbnail="[[data.thumbnail]]">\n        </yt-img-shadow>\n        <div id="overlays"></div>\n      </div>\n      <div id="commerce-metadata-section" class$="[[computeCommerceSectionClass(data)]]">\n        <div id="commerce-section">\n          <div id="offers"></div>\n        </div>\n        <div id="badges-metadata-section" hidden="[[!data.badges]]">\n          <hr class="metadata-separator-line">\n          <ytd-badge-supported-renderer class="left-aligned-badges" badges="[[data.badges]]">\n          </ytd-badge-supported-renderer>\n          <div class="subtitle standard-text">[[getSimpleString(data.metadata)]]</div>\n        </div>\n      </div>\n    </div>\n    <template is="dom-if" if="[[!data.title]]">\n      <ytd-button-renderer class="dismiss-button" data="[[data.dismissButton.buttonRenderer]]" dialog-dismiss="true">\n      </ytd-button-renderer>\n    </template>\n  </div>\n  <yt-formatted-string class="info-section standard-text" text="[[data.additionalInfo]]">\n  </yt-formatted-string>\n\n  <div class="footer">\n    <div id="coupon" hidden="[[!isCouponShown]]"></div>\n    <ytd-button-renderer id="help-button" data="[[data.helpButton.buttonRenderer]]">\n    </ytd-button-renderer>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Tpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.tvfilm.ytd_ypc_offers_overlay_renderer.ytd.ypc.offers.overlay.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--ytd-paper-button-min-width: 0;background: var(--yt-spec-brand-background-primary);margin: 0;max-width: 640px;min-width: 552px;width: fit-content;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #spinner {width: 552px;height: 322px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .content {margin-top: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;width: fit-content;} .header {margin-bottom: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .title-badge {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .thumbnail-movie {width: 156px;height: 225px;} .thumbnail-show {width: 156px;height: 87px;} .thumbnail-no-overlay-movie {height: 307px;width: 210px;} .thumbnail-no-overlay-show {height: 100%;max-height: 215px;width: 210px;} ytd-badge-supported-renderer {margin-left: 8px;} .metadata {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .metadata-separator-line {border-top: 1px solid;color: var(--yt-spec-icon-disabled);margin-top: var(--ytd-margin-3x);margin-bottom: var(--ytd-margin-3x);} .left-aligned-badges {margin-left: 0;} .subtitle {color: var(--yt-spec-text-secondary);margin-top: 4px;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} #badges {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #thumbnail {position: relative;flex-grow: 0;flex-shrink: 0;} #thumbnail-commerce-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #commerce-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .commerce-section-groups {margin-left: 24px;align-self: center;flex-grow: 1;} .commerce-section-tabs {margin-left: 16px;min-height: 246px;width: 400px;} .standard-text {color: var(--ytd-metadata-line-color,var(--yt-spec-text-secondary));font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} .info-section {margin-top: 12px;line-height: 24px;} #help-button {--yt-button-padding: 8px 0;} .footer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} .content-dismiss-section {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;width: fit-content;min-width: 552px;} .title-with-offer-groups {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} .dismiss-button {margin: -8px -8px 0 0;} /*# sourceMappingURL=ytd-ypc-offers-overlay-renderer.css.map*/</style>';
Tpb=d}d=Tpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Upb=a}a=Upb;return a}}});
var OS=NS;OS.prototype.onDataChanged=OS.prototype.onDataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],OS.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],OS.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],OS.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],OS.prototype,"onDataChanged",null);
OS=_.S([_.Q({asyncProperties:!0,is:"ytd-ypc-offers-overlay-renderer"})],OS);
var Vpb;
var Wpb;
var PS=function(){var a=_.K.apply(this,arguments)||this;a.microphoneSpinnerActive=!1;a.noAnimations=!1;a.boundExitClick=function(){a.onExitButtonClick()};
a.speechOverlayClassName="";a.isLevelAnimating=!1;a.playCloseDialogAudioFeedback=!0;a.actionMap={"yt-speech-query-complete-action":"handleSpeechQueryCompleteAction"};return a};
_.q(PS,_.K);_.f=PS.prototype;_.f.configureRendererStamper=function(){return{"data.exitButton":{id:"exit-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundExitClick]]"}}}}}};
_.f.attached=function(){this.setAttribute("dialog","true");this.manager=tib()};
_.f.dataChanged=function(){this.logDialog()};
_.f.onPopupClosed=function(){if(this.manager){this.manager.reset();if(!this.playCloseDialogAudioFeedback){var a;null!=(a=this.manager.audioPlayer)&&(a.audioEnabled=!1)}this.manager.stop();null!=(a=this.manager.audioPlayer)&&(a.audioEnabled=!0);this.playCloseDialogAudioFeedback=!0}};
_.f.handleSpeechQueryCompleteAction=function(a){var b=a.navigationAction;b&&(a.trackingParams&&_.ms(_.vp(),a.trackingParams,this.dialogVe,5),this.fire("yt-navigate",{endpoint:b,tempData:this.getNavigationParams(),createScreenConfig:{parentLayer:5}}),this.playCloseDialogAudioFeedback=!1,this.closeDialog())};
_.f.onExitButtonClick=function(){this.closeDialog()};
_.f.onMicrophoneTap=function(){if("listening"===this.state||"transcribing"===this.state){var a;if(null!=(a=this.manager)){var b;null==(b=a.audioPlayer)||nN(b,"failure");a.setState("microphone-off");a.stop()}}else null==(a=this.manager)||a.start()};
_.f.transcriptionChanged=function(){var a,b;((null==(a=this.transcription)?0:a.low)||(null==(b=this.transcription)?0:b.high))&&this.setState("transcribing",this.transcription)};
_.f.stateChanged=function(){this.setState(this.state,this.transcription)};
_.f.logDialog=function(){var a;null!=(a=this.data)&&a.trackingParams&&(a=_.vp(),_.ks(a,22678,void 0,{layer:5,parentLayer:0}),this.dialogVe=_.ms(a,this.data.trackingParams,void 0,5))};
_.f.getNavigationParams=function(){var a=window.ytvoicesearchloggingparams,b={};if(a){if(a=a())b.oq=a.oq,b.gs_l=a.gs_l}else _.md(Error("pg"));return b};
_.f.closeDialog=function(){_.C(this,"yt-close-popup-action",["ytd-voice-search-dialog-renderer"])};
_.f.setState=function(a,b){if(this.data){var c=this.data,d={};switch(a){case "listening":d={headerText:c.placeholderHeader,microphoneState:"listening",microphoneAriaLabel:c.microphoneButtonAriaLabel};break;case "timeout":d={headerText:c.promptHeader,microphoneState:"try-again",microphoneLabel:c.promptMicrophoneLabel,microphoneAriaLabel:c.promptMicrophoneLabel};break;case "microphone-off":d={headerText:c.microphoneOffPromptHeader,microphoneState:"try-again",microphoneLabel:c.promptMicrophoneLabel,
microphoneAriaLabel:c.promptMicrophoneLabel};break;case "transcribing":(null==b?0:b.low)||(null==b?0:b.high)?d={transcriptionLow:null==b?void 0:b.low,transcriptionHigh:null==b?void 0:b.high,microphoneState:"speaking",microphoneAriaLabel:c.microphoneButtonAriaLabel}:d={headerText:c.placeholderHeader,microphoneState:"speaking",microphoneAriaLabel:c.microphoneButtonAriaLabel};break;case "processing":d={headerText:c.loadingHeader,microphoneState:"processing",microphoneAriaLabel:c.microphoneButtonAriaLabel};
break;case "offline":d={headerText:c.connectionErrorHeader,microphoneState:"try-again",microphoneLabel:c.connectionErrorMicrophoneLabel,microphoneAriaLabel:c.connectionErrorMicrophoneLabel};break;case "permission":d={headerText:c.permissionsHeader,bodyLine1:c.permissionsSubtext,microphoneState:"try-again",microphoneAriaLabel:c.permissionsSubtext};break;case "permission-denied":d={headerText:c.disabledHeader,bodyLine1:c.disabledSubtext,microphoneState:"try-again",microphoneAriaLabel:c.disabledSubtext}}d.className=
a;this.speechOverlayState=d;this.setClass(this.speechOverlayState.className);this.setMicrophoneState(this.speechOverlayState.microphoneState)}};
_.f.setMicrophoneState=function(a){var b=this.isLevelAnimating;this.isLevelAnimating="speaking"===a;!b&&this.isLevelAnimating&&this.runLevelAnimation();this.microphoneSpinnerActive="processing"===a&&!this.noAnimations};
_.f.setClass=function(a){this.speechOverlayClassName&&this.toggleClass(this.speechOverlayClassName,!1);a&&(this.speechOverlayClassName=a,this.toggleClass(a,!0))};
_.f.runLevelAnimation=function(){var a=this;if(!this.noAnimations&&this.level)if(this.isLevelAnimating){var b=1+.75*Math.random(),c=Math.round(110+10*Math.random());this.level.style.setProperty("transition","transform "+c/1E3+"s ease-in-out");this.level.style.setProperty("transform","scale("+b+")");_.xe.addJob(function(){a.runLevelAnimation()},3,c)}else this.level.style.removeProperty("opacity"),this.level.style.removeProperty("transition"),this.level.style.removeProperty("transform")};
_.t.Object.defineProperties(PS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Wpb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-voice-search-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.voice.ytd_voice_search_dialog_renderer.ytd.voice.search.dialog.renderer.css.js--\x3e<div id="header">\n  <div id="header-text">\n    <div id="prompt" hidden="[[!speechOverlayState.headerText]]">\n      [[getSimpleString(speechOverlayState.headerText)]]\n    </div>\n    <div id="transcription-high">[[speechOverlayState.transcriptionHigh]]</div>\n    <div id="transcription-low">[[speechOverlayState.transcriptionLow]]</div>\n  </div>\n  <div id="exit-button"></div>\n</div>\n<div id="body">\n  <div class="body-line">[[getSimpleString(speechOverlayState.bodyLine1)]]</div>\n  <div class="body-line">[[getSimpleString(speechOverlayState.bodyLine2)]]</div>\n</div>\n<div id="microphone" state$="[[speechOverlayState.microphoneState]]">\n  <tp-yt-paper-spinner-lite active="[[microphoneSpinnerActive]]">\n  </tp-yt-paper-spinner-lite>\n  <div id="microphone-container">\n    <div id="microphone-pulse"></div>\n    <div id="microphone-levels"></div>\n    <div id="microphone-circle" aria-label$="[[getSimpleString(speechOverlayState.microphoneAriaLabel)]]" role="button" tabindex="0" on-tap="onMicrophoneTap">\n      <paper-ripple></paper-ripple>\n      <yt-icon icon="yt-icons:microphone_on"></yt-icon>\n    </div>\n  </div>\n  <div id="microphone-label">[[getSimpleString(speechOverlayState.microphoneLabel)]]</div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Vpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.voice.ytd_voice_search_dialog_renderer.ytd.voice.search.dialog.renderer.css.js--\x3e<style>:host([dialog]) {display: inline-block;width: 560px;height: 400px;margin: 0;padding: 0 0 16px 32px;background-color: var(--yt-spec-brand-background-primary);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host(:focus) {outline-style: solid;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #exit-button {margin: 8px;} #header-text {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 2.4rem;line-height: 3.2rem;font-weight: 400;padding: 48px 0 24px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #prompt,#transcription-high,#transcription-low {display: inline-block;} #transcription-low {color: var(--yt-spec-text-disabled);} #body {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} .body-line {padding-bottom: 16px;} #microphone {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-spinner-lite {--paper-spinner-color: var(--yt-spec-brand-button-background);--paper-spinner-stroke-width: 5px;display: none;width: 68px;height: 68px;margin: 16px;} #microphone-container {position: relative;height: 100px;width: 100px;margin-top: 16px;} #microphone-pulse,#microphone-levels,#microphone-circle {position: absolute;top: 16px;left: 16px;border-radius: 50%;width: 68px;height: 68px;} #microphone-pulse {width: 66px;height: 66px;border: 1px solid var(--yt-spec-10-percent-layer);opacity: 0;} #microphone[state=listening] #microphone-pulse {animation: pulse-listening 1.3s infinite;opacity: 1;} #microphone-levels {background-color: var(--yt-spec-10-percent-layer);transition: opacity 0.218s;} #microphone-circle {background-color: var(--yt-spec-brand-button-background);outline: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #microphone-circle yt-icon {width: 40px;height: 40px;color: var(--yt-spec-static-brand-white);} #microphone[state=try-again] #microphone-circle {background-color: var(--yt-spec-10-percent-layer);cursor: pointer;} #microphone[state=try-again] #microphone-circle yt-icon {color: var(--yt-spec-icon-active-other);} #microphone[state=processing] tp-yt-paper-spinner-lite {display: block;} #microphone[state=processing] #microphone-container {display: none;} #microphone-label {height: 24px;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} @keyframes pulse-listening {0% {transform: scale(1);opacity: 1;}100% {transform: scale(2);opacity: 0;}} :host([no-animations]) #microphone[state=listening] #microphone-pulse {animation: none;} /*# sourceMappingURL=ytd-voice-search-dialog-renderer.css.map*/</style>';
Vpb=d}d=Vpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Wpb=a}a=Wpb;return a}}});
var QS=PS;QS.prototype.stateChanged=QS.prototype.stateChanged;QS.prototype.transcriptionChanged=QS.prototype.transcriptionChanged;QS.prototype.onPopupClosed=QS.prototype.onPopupClosed;QS.prototype.dataChanged=QS.prototype.dataChanged;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],QS.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],QS.prototype,"ytRendererBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],QS.prototype,"rendererStamperBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],QS.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],QS.prototype,"eventForwardingBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],QS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],QS.prototype,"speechOverlayState",void 0);
_.S([_.N(),_.T("design:type",Object)],QS.prototype,"microphoneSpinnerActive",void 0);_.S([_.N({type:Boolean,reflectToAttribute:!0}),_.T("design:type",Object)],QS.prototype,"noAnimations",void 0);_.S([_.N({selector:function(a){var b;return null==(b=a.voiceSearch)?void 0:b.transcription}}),
_.T("design:type",Object)],QS.prototype,"transcription",void 0);_.S([_.N({selector:function(a){var b;return null==(b=a.voiceSearch)?void 0:b.overlay}}),
_.T("design:type",String)],QS.prototype,"state",void 0);_.S([_.N(),_.T("design:type",Object)],QS.prototype,"boundExitClick",void 0);_.S([_.Z("#microphone-levels"),_.T("design:type",HTMLElement)],QS.prototype,"level",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QS.prototype,"dataChanged",null);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QS.prototype,"onPopupClosed",null);
_.S([_.Ct("transcription"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QS.prototype,"transcriptionChanged",null);_.S([_.Ct("state"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],QS.prototype,"stateChanged",null);QS=_.S([_.Q({asyncProperties:!0,is:"ytd-voice-search-dialog-renderer"})],QS);
var Xpb;
var Ypb;
var RS=function(){var a=_.K.apply(this,arguments)||this;a.hidden=!1;return a};
_.q(RS,_.K);_.f=RS.prototype;_.f.onPopupClosed=function(){this.toggleIconState(!1)};
_.f.computeIcon=function(){var a,b,c,d;return null==(a=this.data)?void 0:null==(b=a.icon)?void 0:null==(c=b.iconBadgeRenderer)?void 0:null==(d=c.icon)?void 0:d.iconType};
_.f.computeIconBadgeShape=function(){var a;return{iconBadgeType:"cart",iconBadgeText:null==(a=this.iconBadgeEntity)?void 0:a.badgeText}};
_.f.onClick=function(){var a;null!=(a=this.data)&&a.onClick&&(this.toggleIconState(!0),this.ytComponentBehavior.resolveCommand(this.data.onClick))};
_.f.computeHidden=function(a){return!a};
_.f.toggleIconState=function(a){this.JSC$40058_iconButton&&(this.JSC$40058_iconButton.pressed=a)};
_.t.Object.defineProperties(RS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Ypb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-icon-badge-topbar-button-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_icon_badge_topbar_button_renderer.ytd.icon.badge.topbar.button.renderer.css.js--\x3e<yt-icon-button id="icon" label="[[data.accessibility.accessibilityData.label]]" on-click="onClick">\n  <yt-icon-badge-shape data="[[computeIconBadgeShape(iconBadgeEntity)]]" icon="[[computeIcon(data)]]">\n  </yt-icon-badge-shape>\n</yt-icon-button>\n<tp-yt-paper-tooltip>[[data.tooltip]]</tp-yt-paper-tooltip>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Xpb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.cart.ytd_icon_badge_topbar_button_renderer.ytd.icon.badge.topbar.button.renderer.css.js--\x3e<style>:host {display: inline-block;} yt-icon-button {width: 40px;height: 40px;} /*# sourceMappingURL=ytd-icon-badge-topbar-button-renderer.css.map*/</style>";
Xpb=d}d=Xpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Ypb=a}a=Ypb;return a}}});
var SS=RS;SS.prototype.onPopupClosed=SS.prototype.onPopupClosed;_.S([_.L(_.Wu),_.T("design:type",Object)],SS.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],SS.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],SS.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],SS.prototype,"data",void 0);
_.S([_.N({computed:"computeHidden(iconBadgeEntity.isVisible)",reflectToAttribute:!0}),_.T("design:type",Boolean)],SS.prototype,"hidden",void 0);_.S([_.N({selectorArgs:["data.iconBadgeEntityKey"],selector:function(a,b){return _.Yg(a.entities,"iconBadgeEntity",b)}}),
_.T("design:type",Object)],SS.prototype,"iconBadgeEntity",void 0);_.S([_.Z("yt-icon-button"),_.T("design:type",HTMLButtonElement)],SS.prototype,"JSC$40058_iconButton",void 0);_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],SS.prototype,"onPopupClosed",null);SS=_.S([_.Q({asyncProperties:!0,is:"ytd-icon-badge-topbar-button-renderer"})],SS);
var Zpb;
var $pb;
var TS=function(){var a=_.K.apply(this,arguments)||this;a.premiumOptions=[];return a};
_.q(TS,_.K);TS.prototype.configureRendererStamper=function(){return{premiumOptions:{id:"premium-options",mapping:{settingsRadioOptionRenderer:{component:"ytd-settings-radio-option-renderer",noInjection:!0}}}}};
TS.prototype.dataChanged=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true");var a;this.premiumOptions=q$a(null==(a=this.data)?void 0:a.formats)};
_.t.Object.defineProperties(TS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===$pb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-offline-promo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.ytd_offline_promo_renderer.ytd.offline.promo.renderer.css.js--\x3e  <yt-icon id="headers-icon" hidden="[[!headersIcon]]" icon="[[headersIcon]]"></yt-icon>\n  <yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n  <yt-formatted-string id="subtitle" text="[[data.subtitle]]"></yt-formatted-string>\n  <div id="premium-options"></div>\n  <yt-formatted-string id="description" text="[[data.description]]"></yt-formatted-string>\n<div class="buttons">\n  <yt-button-renderer id="dismiss-button" data="[[data.dismissButton.buttonRenderer]]">\n  </yt-button-renderer>\n  <yt-button-renderer id="action-button" data="[[data.actionButton.buttonRenderer]]">\n  </yt-button-renderer>\n</div>\n\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Zpb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ypc.ytd_offline_promo_renderer.ytd.offline.promo.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {cursor: default;border-radius: 1px;background: var(--yt-spec-brand-background-primary);width: 419px;max-width: 80vw;padding: 24px 0 12px 0;margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host>* {padding-left: 24px;padding-right: 24px;margin-bottom: 24px;} #headers-icon {color: var(--yt-spec-wordmark-text);width: fit-content;} #premium-options {margin-bottom: 0;} #premium-options>* {margin: 0 0 24px 0;} #title {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.8rem;line-height: 2.6rem;font-weight: 400;} #subtitle {color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #description {color: var(--yt-spec-text-secondary);border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding-top: 12px;padding-bottom: 12px;margin: 0px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .buttons {padding-right: 8px;padding-top: 12px;margin: 0px;-ms-align-self: flex-end;-webkit-align-self: flex-end;align-self: flex-end;} /*# sourceMappingURL=ytd-offline-promo-renderer.css.map*/</style>';
Zpb=d}d=Zpb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);$pb=a}a=$pb;return a}}});
var US=TS;US.prototype.dataChanged=US.prototype.dataChanged;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],US.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],US.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],US.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],US.prototype,"data",void 0);
_.S([_.N({computed:"computeIcon_(data.headersIcon)",value:""}),_.T("design:type",String)],US.prototype,"headersIcon",void 0);_.S([_.N(),_.T("design:type",Array)],US.prototype,"premiumOptions",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],US.prototype,"dataChanged",null);US=_.S([_.Q({asyncProperties:!0,is:"ytd-offline-promo-renderer"})],US);
var aqb;
var bqb;
var VS=function(){var a=_.K.apply(this,arguments)||this;a.isLoading=!1;a.hasError=!1;a.dialogClass="";a.youtubeLabel=_.Bg("LOGO_ALT_LABEL",{},"YouTube Home");a.logoName="yt-logos-ext:yt-logo-updated";a.actionMap={"yt-save-consent-action":"handleSaveConsent","yt-disable-personalization-action":"handleDisablePersonalization"};return a};
_.q(VS,_.K);_.f=VS.prototype;_.f.onDataChange=function(){var a;this.showEOMV1Text=!(null==(a=this.data)||!a.eomV1Text);var b;this.showEOMShortTermText=!this.showEOMV1Text&&!(null==(b=this.data)||!b.eomShortTermText);var c;this.showV2Text=!this.showEOMV1Text&&!this.showEOMShortTermText&&!(null==(c=this.data)||!c.v21Message);this.dialogClass=this.showEOMV1Text?"eom-v1-dialog":this.showEOMShortTermText?"eom-dialog":"v2-dialog"};
_.f.attached=function(){this.pausePlayer()};
_.f.handleLangSelect=function(a){this.langSelect.style.display="none";this.ytComponentBehavior.resolveCommand(this.data.languageList.dropdownRenderer.entries[a.target.selectedIndex].dropdownItemRenderer.onSelectCommand)};
_.f.showLangPicker=function(){this.langSelect.style.display=this.langSelect.style.display&&"none"!==this.langSelect.style.display?"none":"block"};
_.f.handleSaveConsent=function(a){var b=this;_.x("enable_client_side_eom_action")&&this.showLoadingSpinner();a7a(a.saveConsentAction).then(function(){_.x("enable_client_side_eom_action")||(b.dialog.close(),b.resumePlayer())}).catch(function(c){_.Rf(new _.ge("Something went wrong when save consent "+(c.message?c.message:c)+"."));
_.x("enable_client_side_eom_action")?(b.hideLoadingSpinner(),b.showErrorMessage()):(b.dialog.close(),b.resumePlayer())})};
_.f.handleDisablePersonalization=function(a){var b=this;this.showLoadingSpinner();b7a(a.disablePersonalizationAction).then(function(){b.dialog.close();b.resumePlayer()}).catch(function(c){_.Rf(new _.ge("Something went wrong when disable personalization "+(c.message?c.message:c)+"."));
b.hideLoadingSpinner();b.showErrorMessage()})};
_.f.showLoadingSpinner=function(){var a=this;this.showSpinnerJobId=_.xe.addLowPriorityJob(function(){a.isLoading=!0},500)};
_.f.hideLoadingSpinner=function(){this.isLoading=!1;void 0!==this.showSpinnerJobId&&(_.xe.cancelJob(this.showSpinnerJobId),this.showSpinnerJobId=void 0)};
_.f.showErrorMessage=function(){var a=this;this.hasError=!0;_.xe.addLowPriorityJob(function(){a.hasError=!1},2E3)};
_.f.pausePlayer=function(){try{var a=_.sv();a&&a.pause()}catch(b){}};
_.f.resumePlayer=function(){try{var a=_.sv();a&&a.play()}catch(b){}};
_.t.Object.defineProperties(VS.prototype,{essentialCookieMsgItems:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)||!a.eomShortTermText)return[];a=[];for(var b=["SHIELD","BAR_CHART"],c=this.data.eomShortTermText.essentialCookieMsg.items,d=0;2>d&&d<c.length;d++)a.push({icon:b[d],text:c[d]});return a}},
improvementCookieMsgItems:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)||!a.eomShortTermText)return[];a=[];for(var b=["TRENDING_UP","BAR_CHART"],c=this.data.eomShortTermText.improvementCookieMsg.items,d=0;2>d&&d<c.length;d++)a.push({icon:b[d],text:c[d]});return a}},
personalizationCookieMsgItems:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)||!a.eomShortTermText)return[];a=[];for(var b=["AUTO_AWESOME","PURCHASES"],c=this.data.eomShortTermText.personalizationCookieMsg.items,d=0;2>d&&d<c.length;d++)a.push({icon:b[d],text:c[d]});return a}},
eomEssentialCookieMsgItems:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)||!a.eomV1Text)return[];a=[];for(var b=["SHIELD","WARNING","BAR_CHART"],c=this.data.eomV1Text.essentialCookieMsg.items,d=0;d<b.length&&d<c.length;d++)a.push({icon:b[d],text:c[d]});return a}},
eomNonEssentialCookieMsgItems:{configurable:!0,enumerable:!0,get:function(){var a;if(null==(a=this.data)||!a.eomV1Text)return[];a=[];for(var b=["TRENDING_UP","BAR_CHART","AUTO_AWESOME","PURCHASES"],c=this.data.eomV1Text.nonEssentialCookieMsg.items,d=0;d<b.length&&d<c.length;d++)a.push({icon:b[d],text:c[d]});return a}}});
_.t.Object.defineProperties(VS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===bqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-consent-bump-v2-lightbox--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_consent_bump_v2_lightbox.ytd.consent.bump.v2.lightbox.css.js--\x3e<tp-yt-paper-dialog id="dialog" class$="[[dialogClass]]" aria-labelledby="cb-header" modal="">\n  <div class="loading-overlay" hidden="[[!isLoading]]">\n    <div>\n        <tp-yt-paper-spinner-lite active="[[isLoading]]"></tp-yt-paper-spinner-lite>\n    </div>\n    <yt-formatted-string class="loading-message" text="[[data.loadingMessage]]">\n    </yt-formatted-string>\n  </div>\n  <div class="error-overlay" hidden="[[!hasError]]">\n    <div class="error-message">\n      <yt-formatted-string text="[[data.errorMessage]]"></yt-formatted-string>\n    </div>\n  </div>\n  <div id="topbar">\n    <div id="logoandaside">\n\n      <div>\n        <div id="cb-logo-icon-container" aria-label="[[youtubeLabel]]"></div>\n        <yt-icon id="logo-icon" icon="[[logoName]]" target-container="cb-logo-icon-container">\n        </yt-icon>\n      </div>\n      <yt-formatted-string class="logo-aside" text="[[data.interstitialLogoAside]]"></yt-formatted-string>\n    </div>\n    <div class="top-buttons">\n      <div class="lang-picker-container">\n        <div>\n           <ytd-button-renderer data="[[data.languagePickerButton.buttonRenderer]]" on-click="showLangPicker"></ytd-button-renderer>\n        </div>\n       <div id="lang-select">\n          <select size="20" on-change="handleLangSelect">\n            <template is="dom-repeat" items="[[data.languageList.dropdownRenderer.entries]]">\n               <template is="dom-if" if="[[item.dropdownItemRenderer.isSelected]]">\n                  <option selected="">\n                    <yt-formatted-string text="[[item.dropdownItemRenderer.label]]">\n                    </yt-formatted-string>\n                 </option>\n               </template>\n              <template is="dom-if" if="[[!item.dropdownItemRenderer.isSelected]]">\n                 <option>\n                    <yt-formatted-string text="[[item.dropdownItemRenderer.label]]">\n                    </yt-formatted-string>\n                 </option>\n               </template>\n            </template>\n          </select>\n        </div>\n      </div>\n\n      <div>\n         <ytd-button-renderer class="signin" data="[[data.signInButton.buttonRenderer]]"></ytd-button-renderer>\n      </div>\n\n    </div>\n  </div>\n  <div id="content">\n    <template is="dom-if" if="[[showV2Text]]" restamp="">\n      <div class="top-img">\n        <img src="https://www.gstatic.com/ac/cb/scene_cookie_wall_youtube.svg" alt="">\n      </div>\n      <h2 tabindex="-1" id="cb-header" class="v2-title">\n        <yt-formatted-string text="[[data.interstitialTitle]]"></yt-formatted-string>\n      </h2>\n      <div class="body">\n       <div>\n          <yt-formatted-string class="begin-line" respect-html-dir="" text="[[data.v21Message.essentialCookieMsg.begin]]">\n          </yt-formatted-string>\n         <ul class="padding-left">\n            <template is="dom-repeat" items="[[data.v21Message.essentialCookieMsg.items]]">\n              <li><yt-formatted-string text="[[item]]"></yt-formatted-string></li>\n           </template>\n         </ul>\n\n        </div>\n       <div>\n          <yt-formatted-string class="begin-line" text="[[data.v21Message.nonEssentialCookieMsg.begin]]"></yt-formatted-string>\n          <ul class="padding-left">\n            <template is="dom-repeat" items="[[data.v21Message.nonEssentialCookieMsg.items]]">\n              <li><yt-formatted-string text="[[item]]"></yt-formatted-string></li>\n            </template>\n           </ul>\n        </div>\n       <div>\n          <yt-formatted-string text="[[data.v21Message.personalization]]"></yt-formatted-string>\n        </div>\n       <div>\n          <yt-formatted-string text="[[data.v21Message.customizationOption]]"></yt-formatted-string>\n       </div>\n       <div class="footer">\n         <div class="termlinks">\n          <yt-formatted-string class="link" sec="" text="[[data.privacyLink]]"></yt-formatted-string>\n           \n           \n           <span class="term_separator" aria-hidden="true">\u2022</span>\n          <yt-formatted-string class="link" text="[[data.termsLink]]"></yt-formatted-string>\n        </div>\n        <div class="buttons">\n          <ytd-button-renderer data="[[data.customizeButton.buttonRenderer]]"></ytd-button-renderer>\n          <ytd-button-renderer data="[[data.agreeButton.buttonRenderer]]"></ytd-button-renderer>\n        </div>\n       </div>\n      </div>\n    </template>\n    <template is="dom-if" if="[[showEOMShortTermText]]" restamp="">\n      <h2 tabindex="-1" id="cb-header" class="eom-title">\n        <yt-formatted-string text="[[data.interstitialTitle]]"></yt-formatted-string>\n      </h2>\n      <div class="body">\n       <div class="legal-text">\n          <yt-formatted-string respect-html-dir="" text="[[data.eomShortTermText.essentialCookieMsg.begin]]">\n          </yt-formatted-string>\n        </div>\n         <ul>\n            <template is="dom-repeat" items="[[essentialCookieMsgItems]]">\n              <li class="icon-li">\n                <yt-icon class="item-icon" icon="[[item.icon]]"></yt-icon>\n                <div>\n                  <yt-formatted-string text="[[item.text]]"></yt-formatted-string>\n                </div>\n              </li>\n           </template>\n         </ul>\n        <div class="legal-text">\n          <yt-formatted-string text="[[data.eomShortTermText.improvementCookieMsg.begin]]"></yt-formatted-string>\n        </div>\n          <ul>\n            <template is="dom-repeat" items="[[improvementCookieMsgItems]]">\n              <li class="icon-li">\n                <yt-icon class="item-icon" icon="[[item.icon]]"></yt-icon>\n                <div>\n                  <yt-formatted-string text="[[item.text]]"></yt-formatted-string>\n                </div>\n              </li>\n           </template>\n           </ul>\n        <div class="legal-text">\n          <yt-formatted-string text="[[data.eomShortTermText.personalizationCookieMsg.begin]]"></yt-formatted-string>\n        </div>\n          <ul>\n            <template is="dom-repeat" items="[[personalizationCookieMsgItems]]">\n              <li class="icon-li">\n                <yt-icon class="item-icon" icon="[[item.icon]]"></yt-icon>\n                <div>\n                  <yt-formatted-string text="[[item.text]]"></yt-formatted-string>\n                </div>\n              </li>\n           </template>\n           </ul>\n       <div class="legal-text">\n          <yt-formatted-string text="[[data.eomShortTermText.personalization]]"></yt-formatted-string>\n        </div>\n       <div class="legal-text">\n          <yt-formatted-string text="[[data.eomShortTermText.moreOptions]]"></yt-formatted-string>\n       </div>\n         <div class="eom-buttons">\n           <div class="eom-button-row">\n            <ytd-button-renderer data="[[data.disableP13nButton.buttonRenderer]]"></ytd-button-renderer>\n            <ytd-button-renderer data="[[data.agreeButton.buttonRenderer]]"></ytd-button-renderer>\n           </div>\n           <div class="eom-button-row">\n            <ytd-button-renderer data="[[data.customizeButton.buttonRenderer]]"></ytd-button-renderer>\n           </div>\n         </div>\n         <div class="termlinks">\n          <yt-formatted-string class="link" sec="" text="[[data.privacyLink]]"></yt-formatted-string>\n           \n           \n           <span class="term_separator" aria-hidden="true">\u2022</span>\n          <yt-formatted-string class="link" text="[[data.termsLink]]"></yt-formatted-string>\n        </div>\n      </div>\n    </template>\n    <template is="dom-if" if="[[showEOMV1Text]]" restamp="">\n      <h2 tabindex="-1" id="cb-header" class="eom-title">\n        <yt-formatted-string text="[[data.interstitialTitle]]"></yt-formatted-string>\n      </h2>\n      <div class="body">\n        <div>\n          <div class="legal-text">\n            <yt-formatted-string text="[[data.eomV1Text.essentialCookieMsg.begin]]">\n            </yt-formatted-string>\n          </div>\n          <ul>\n            <template is="dom-repeat" items="[[eomEssentialCookieMsgItems]]">\n              <li class="icon-li">\n                <yt-icon class="item-icon" icon="[[item.icon]]"></yt-icon>\n                <div>\n                  <yt-formatted-string text="[[item.text]]"></yt-formatted-string>\n                </div>\n              </li>\n            </template>\n          </ul>\n        </div>\n        <div>\n          <div class="legal-text">\n            <yt-formatted-string text="[[data.eomV1Text.nonEssentialCookieMsg.begin]]"></yt-formatted-string>\n          </div>\n          <ul>\n            <template is="dom-repeat" items="[[eomNonEssentialCookieMsgItems]]">\n              <li class="icon-li">\n                <yt-icon class="item-icon" icon="[[item.icon]]"></yt-icon>\n                <div>\n                  <yt-formatted-string text="[[item.text]]"></yt-formatted-string>\n                </div>\n              </li>\n            </template>\n          </ul>\n       </div>\n       <div class="legal-text">\n         <yt-formatted-string text="[[data.eomV1Text.ifReject]]"></yt-formatted-string>\n       </div>\n       <div class="legal-text">\n          <yt-formatted-string text="[[data.eomV1Text.personalization]]"></yt-formatted-string>\n       </div>\n       <div class="legal-text">\n          <yt-formatted-string text="[[data.eomV1Text.moreOptions]]"></yt-formatted-string>\n       </div>\n       <div class="eom-buttons">\n         <div class="eom-button-row">\n            <ytd-button-renderer data="[[data.disableP13nButton.buttonRenderer]]"></ytd-button-renderer>\n            <ytd-button-renderer data="[[data.agreeButton.buttonRenderer]]"></ytd-button-renderer>\n           </div>\n           <div class="eom-button-row">\n            <ytd-button-renderer data="[[data.customizeButton.buttonRenderer]]"></ytd-button-renderer>\n           </div>\n       </div>\n       <div class="termlinks">\n          <yt-formatted-string class="link" sec="" text="[[data.privacyLink]]"></yt-formatted-string>\n           \n           \n           <span class="term_separator" aria-hidden="true">\u2022</span>\n          <yt-formatted-string class="link" text="[[data.termsLink]]"></yt-formatted-string>\n        </div>\n      </div>\n    </template>\n  </div>\n</tp-yt-paper-dialog>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===aqb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_consent_bump_v2_lightbox.ytd.consent.bump.v2.lightbox.css.js--\x3e<style>:host(yt-icon),.yt-icon-container {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: relative;vertical-align: middle;fill: var(--iron-icon-fill-color,currentcolor);stroke: var(--iron-icon-stroke-color,none);width: var(--iron-icon-width,24px);height: var(--iron-icon-height,24px);@apply --iron-icon;} :host(.external-container) {display: none!important;} :host {display: inline;width: 0;height: 0;} #dialog {height: auto;padding: 24px 24px 8px 24px;margin: 0;border-radius: 2px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .v2-dialog {width: 670px;} .eom-v1-dialog {width: 700px;} .eom-dialog {width: 870px;} #dialog>*:last-child {margin-bottom: 0;} #topbar {z-index: 1;margin-top: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #logoandaside {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #cb-logo-icon-container {width: 90px;height: 20px;-ms-flex: none;-webkit-flex: none;flex: none;margin-right: 8px;} #cb-logo-icon-container #youtube-paths path {fill: var(--yt-spec-wordmark-text);} .logo-aside {color: var(--yt-spec-text-secondary);} .top-buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .lang-picker-container {margin-right: 16px;} .lang-picker-container {position: relative;} #lang-select {position: absolute;display: none;} .top-img {height: 128px;margin: 24px 0;} .top-img img {margin: auto;display: block;width: 360px;} #content {overflow-y: auto;} h2.v2-title {font-family: "YouTube Sans","YT Sans","Roboto",sans-serif;font-size: 2.4rem;line-height: 3.4rem;font-weight: 500;text-align: center;margin: 16px 0;color: var(--yt-spec-text-primary);} div.body {margin-top: 0;padding: 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;color: var(--yt-spec-text-primary);} .body>div {margin: 16px 0;} .begin-line {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 500;margin: 0;} .body ul.padding-left {padding: 0 16px;} .footer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;margin-top: 16px;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} .buttons {padding: 0;} .buttons ytd-button-renderer {margin-left: 16px;} .termlinks .term_separator {margin: 0 8px;display: inline-block;} .legal-text {margin: 16px 0;} li.icon-li {list-style: none;display: flex;margin: 8px 0;} .item-icon {flex: none;margin-right: 16px;} .body>div.eom-buttons {margin: 36px 0 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} .eom-button-row {display: flex;justify-content: flex-end;flex-wrap: wrap;} .eom-buttons ytd-button-renderer {margin: 0 8px 12px 12px;} h2.eom-title {text-align: center;margin: 24px 0;color: var(--yt-spec-text-primary);font-family: "YouTube Sans","Roboto",sans-serif;font-size: 2.6rem;line-height: 3.6rem;font-weight: 700;} .loading-overlay {position: absolute;width: 100%;height: 100%;left: 0;top: 0;background: var(--yt-spec-brand-background-primary);z-index: 999;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} .loading-overlay tp-yt-paper-spinner-lite {width: 36px;height: 36px;} .loading-message {margin-top: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} .error-overlay {position: absolute;width: 100%;left: 0;bottom: 0;background: var(--yt-spec-snackbar-background);box-shadow: 0px 2px 4px rgba(0,0,0,0.2);border-radius: 2px;} .error-message {color: var(--yt-spec-static-overlay-text-primary);padding: 12px 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} /*# sourceMappingURL=ytd-consent-bump-v2-lightbox.css.map*/</style>';
aqb=d}d=aqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);bqb=a}a=bqb;return a}}});
var WS=VS;WS.prototype.onDataChange=WS.prototype.onDataChange;_.S([_.N(),_.T("design:type",Object)],WS.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],WS.prototype,"showEOMShortTermText",void 0);_.S([_.N(),_.T("design:type",Boolean)],WS.prototype,"showEOMV1Text",void 0);_.S([_.N(),_.T("design:type",Boolean)],WS.prototype,"showV2Text",void 0);_.S([_.N(),_.T("design:type",Boolean)],WS.prototype,"isLoading",void 0);_.S([_.N(),_.T("design:type",Boolean)],WS.prototype,"hasError",void 0);
_.S([_.N(),_.T("design:type",Number)],WS.prototype,"showSpinnerJobId",void 0);_.S([_.N(),_.T("design:type",Object)],WS.prototype,"dialogClass",void 0);_.S([_.Z("#dialog"),_.T("design:type",Object)],WS.prototype,"dialog",void 0);_.S([_.Z("#cb-header"),_.T("design:type",HTMLElement)],WS.prototype,"header",void 0);_.S([_.Z("#lang-select"),_.T("design:type",HTMLElement)],WS.prototype,"langSelect",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],WS.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],WS.prototype,"ytComponentBehavior",void 0);_.S([_.N(),_.T("design:type",String)],WS.prototype,"youtubeLabel",void 0);_.S([_.N(),_.T("design:type",String)],WS.prototype,"logoName",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],WS.prototype,"onDataChange",null);
_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],WS.prototype,"essentialCookieMsgItems",null);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],WS.prototype,"improvementCookieMsgItems",null);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],WS.prototype,"personalizationCookieMsgItems",null);_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],WS.prototype,"eomEssentialCookieMsgItems",null);
_.S([_.V("data"),_.T("design:type",Array),_.T("design:paramtypes",[])],WS.prototype,"eomNonEssentialCookieMsgItems",null);WS=_.S([_.Q({asyncProperties:!0,is:"ytd-consent-bump-v2-lightbox"})],WS);
var cqb;
var dqb;
var XS=function(){return _.K.apply(this,arguments)||this};
_.q(XS,_.K);XS.prototype.ready=function(){if(!_.Dfa()||Hbb)var a=!0;else Hbb=!0,a=!1;a||(a=document.querySelector("ytd-app"),a||(a=document.body),this.internalLightBox=a.appendChild(this.lightBox),this.internalLightBox.dialog.open())};
_.t.Object.defineProperties(XS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===dqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-consent-bump-v2-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_consent_bump_v2_renderer.ytd.consent.bump.v2.renderer.css.js--\x3e<ytd-consent-bump-v2-lightbox id="lightbox" data="[[data]]"></ytd-consent-bump-v2-lightbox>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===cqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_consent_bump_v2_renderer.ytd.consent.bump.v2.renderer.css.js--\x3e<style>:host {display: inline;width: 0;height: 0;} /*# sourceMappingURL=ytd-consent-bump-v2-renderer.css.map*/</style>";cqb=d}d=cqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
dqb=a}a=dqb;return a}}});
var YS=XS;_.S([_.N(),_.T("design:type",Object)],YS.prototype,"data",void 0);_.S([_.Z("#lightbox"),_.T("design:type",WS)],YS.prototype,"lightBox",void 0);YS=_.S([_.Q({asyncProperties:!0,is:"ytd-consent-bump-v2-renderer"})],YS);
var eqb;
var fqb;
var ZS=function(){var a=_.K.apply(this,arguments)||this;a.duration=4E3;a.downloadingCount=0;a.downloadedCount=0;a.sessionTotalDownloads=0;a.sessionDownloaded=0;a.previousSessionsDownloaded=0;a.totalDownloadPercentage=0;a.currentDownloadProgress=0;a.currentDownloadPercentage=0;a.isLeaderTab=!0;a.uiRefresh=_.x("web_snackbar_ui_refresh");a.isFullScreen=!1;a.boundBeforeUnload=a.onBeforeUnload.bind(a);a.actionMap={"yt-fullscreen-change-action":"handleFullscreenChange"};return a};
_.q(ZS,_.K);_.f=ZS.prototype;
_.f.open=function(){var a=this;this.updateDownloadState();if(this.data){var b=_.x("kevlar_downloading_count_fix")?this.sessionDownloaded+1:this.sessionDownloaded;b=1<this.sessionTotalDownloads?_.Bg("VIDEOS_DOWNLOADING_RATIO",{downloaded:b.toString(),total:this.sessionTotalDownloads.toString()},"Downloading... "+b+"/"+this.sessionTotalDownloads):_.Bg("DOWNLOADING",void 0,"Downloading")+"...";var c=this.isLeaderTab?_.Bg("KEEP_OPEN",{},"Keep window open to continue"):"";if(_.qi(this.data.responseText)!==
b||_.qi(this.data.subText)!==c)this.set("data.responseText",_.Mu(b)),this.set("data.subText",_.Mu(c)),this.notificationActionRenderer.refit()}this.notificationActionRenderer.open(1);_.hIa()&&_.nt(this,function(){a.focus()});
window.addEventListener("beforeunload",this.boundBeforeUnload)};
_.f.close=function(){this.previousSessionsDownloaded=this.sessionDownloaded=this.sessionTotalDownloads=0;this.notificationActionRenderer.hasOpened&&this.notificationActionRenderer.close(1);window.removeEventListener("beforeunload",this.boundBeforeUnload)};
_.f.onBeforeUnload=function(a){this.isLeaderTab&&0<this.downloadingCount&&(a.preventDefault(),a.returnValue=!0)};
_.f.updatePopup=function(){!this.data||this.isFullScreen||0===this.downloadingCount?this.close():this.open()};
_.f.updateCurrentDownloadProgress=function(){this.currentDownloadPercentage=Math.floor(100*this.currentDownloadProgress)};
_.f.updateDownloadState=function(){if(_.x("kevlar_downloading_count_fix")){0===this.previousSessionsDownloaded&&(this.previousSessionsDownloaded=this.downloadedCount);var a=this.downloadedCount-this.previousSessionsDownloaded;a<this.sessionDownloaded&&(this.previousSessionsDownloaded-=this.sessionDownloaded-a);this.sessionDownloaded=this.downloadedCount-this.previousSessionsDownloaded;this.sessionTotalDownloads=this.downloadingCount+this.sessionDownloaded}else 0===this.sessionTotalDownloads?(this.sessionTotalDownloads=
this.downloadingCount,this.sessionDownloaded=1):(a=this.sessionTotalDownloads-this.sessionDownloaded+1,a!==this.downloadingCount&&(a>this.downloadingCount?this.sessionDownloaded++:this.sessionTotalDownloads++))};
_.f.handleFullscreenChange=function(a){(this.isFullScreen=a)||this.updatePopup()};
_.t.Object.defineProperties(ZS,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===fqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-video-download-toast-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_video_download_toast_renderer.ytd.video.download.toast.renderer.css.js--\x3e<yt-notification-action-renderer id="notification" class="is-download" data="[[data]]" duration="[[duration]]" use-close-button=""><tp-yt-paper-progress class="transiting" value="[[currentDownloadPercentage]]"></tp-yt-paper-progress></yt-notification-action-renderer>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===eqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_video_download_toast_renderer.ytd.video.download.toast.renderer.css.js--\x3e<style>:host {display: inline-block;} tp-yt-paper-progress {--paper-progress-active-color: var(--yt-spec-static-overlay-call-to-action);--paper-progress-container-color: var(--yt-spec-static-grey);--paper-progress-transition-duration: 1.3s;--paper-progress-transition-timing-function: ease-out;position: absolute;width: 100%;left: 0;bottom: 0;} :host([ui-refresh]) {--paper-progress-active-color: var(--yt-spec-call-to-action-inverse);} /*# sourceMappingURL=ytd-video-download-toast-renderer.css.map*/</style>";
eqb=d}d=eqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);fqb=a}a=fqb;return a}}});
var $S=ZS;$S.prototype.updateCurrentDownloadProgress=$S.prototype.updateCurrentDownloadProgress;$S.prototype.updatePopup=$S.prototype.updatePopup;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],$S.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],$S.prototype,"ytdReduxBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],$S.prototype,"ytEventForwardingBehavior",void 0);
_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],$S.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],$S.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Number)],$S.prototype,"duration",void 0);_.S([_.N({selector:function(a){return _.hla(a.entities).length}}),
_.T("design:type",Number)],$S.prototype,"downloadingCount",void 0);_.S([_.N({selector:T6a}),_.T("design:type",Number)],$S.prototype,"downloadedCount",void 0);_.S([_.N(),_.T("design:type",Object)],$S.prototype,"sessionTotalDownloads",void 0);_.S([_.N(),_.T("design:type",Object)],$S.prototype,"sessionDownloaded",void 0);_.S([_.N(),_.T("design:type",Object)],$S.prototype,"previousSessionsDownloaded",void 0);_.S([_.N(),_.T("design:type",Object)],$S.prototype,"totalDownloadPercentage",void 0);
_.S([_.N({selector:function(a){var b;a=null!=(b=_.hla(a.entities))?b:[];return 0<a.length?_.vIa(a.slice(-1)):0}}),
_.T("design:type",Object)],$S.prototype,"currentDownloadProgress",void 0);_.S([_.N(),_.T("design:type",Object)],$S.prototype,"currentDownloadPercentage",void 0);_.S([_.N({selector:_.ila}),_.T("design:type",Object)],$S.prototype,"isLeaderTab",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],$S.prototype,"uiRefresh",void 0);_.S([_.Z("yt-notification-action-renderer"),_.T("design:type",Object)],$S.prototype,"notificationActionRenderer",void 0);
_.S([_.Ct("downloadingCount"),_.Ct("downloadedCount"),_.Ct("isLeaderTab"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$S.prototype,"updatePopup",null);_.S([_.Ct("currentDownloadProgress"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],$S.prototype,"updateCurrentDownloadProgress",null);$S=_.S([_.Q({is:"ytd-video-download-toast-renderer"})],$S);
var gqb;
var hqb;
var iqb;
var jqb;
var aT=function(){return _.K.apply(this,arguments)||this};
_.q(aT,_.K);aT.prototype.computeIsRedLogo=function(a,b){!a&&b&&(a=b);return"YOUTUBE_RED_LOGO"===a||"YOUTUBE_PREMIUM_LOGO"===a};
aT.prototype.computeLogoName=function(a){a=this.componentBehavior.computeIcon_(a);return""===a?"yt-logos-ext:yt-logo-updated":a};
_.t.Object.defineProperties(aT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===jqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-logo--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_logo.ytd.logo.css.js--\x3e<yt-icon id="logo-icon" icon="[[logoName]]">\n</yt-icon>';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
var b=a.content,c=b.insertBefore;if(void 0===iqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_logo.ytd.logo.css.js--\x3e<style>:host(yt-icon),.yt-icon-container {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: relative;vertical-align: middle;fill: var(--iron-icon-fill-color,currentcolor);stroke: var(--iron-icon-stroke-color,none);width: var(--iron-icon-width,24px);height: var(--iron-icon-height,24px);@apply --iron-icon;} :host(.external-container) {display: none!important;} yt-icon {height: 20px;width: 90px;padding: 18px 14px 18px 16px;color: var(--yt-spec-wordmark-text);-ms-flex: none;-webkit-flex: none;flex: none;} :host([is-red-logo]) yt-icon {width: 97px;} /*# sourceMappingURL=ytd-logo.css.map*/</style>";
iqb=d}d=iqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);jqb=a}a=jqb;return a}}});
var bT=aT;_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],bT.prototype,"componentBehavior",void 0);_.S([_.N({value:!1,reflectToAttribute:!0,computed:"computeIsRedLogo(data.iconType, logoType)"}),_.T("design:type",Boolean)],bT.prototype,"isRedLogo",void 0);_.S([_.N({computed:"computeLogoName(data)"}),_.T("design:type",String)],bT.prototype,"logoName",void 0);_.S([_.N({value:{}}),_.T("design:type",Object)],bT.prototype,"data",void 0);
_.S([_.N(),_.T("design:type",Object)],bT.prototype,"logoType",void 0);bT=_.S([_.Q({asyncProperties:!0,is:"ytd-logo"})],bT);
var kqb;
var lqb;
var cT=function(){return _.K.apply(this,arguments)||this};
_.q(cT,_.K);cT.prototype.render=function(){this.firstElementChild&&this.removeChild(this.firstElementChild);this.data&&r$a(this.root,this.data)};
_.t.Object.defineProperties(cT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===lqb){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-lottie-player--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_lottie_player.ytd.lottie.player.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;
if(void 0===kqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_lottie_player.ytd.lottie.player.css.js--\x3e<style>:host {display: block;} /*# sourceMappingURL=ytd-lottie-player.css.map*/</style>";kqb=d}d=kqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);lqb=a}a=lqb;return a}}});
var dT=cT;dT.prototype.render=dT.prototype.render;_.S([_.N(),_.T("design:type",Object)],dT.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],dT.prototype,"render",null);dT=_.S([_.Q({is:"ytd-lottie-player"})],dT);
var eT=function(){var a=_.K.apply(this,arguments)||this;a.isDarkTheme=document.documentElement.hasAttribute("dark");a.animationRef={};a.actionMap={"yt-dark-mode-toggled-action":"onDarkModeToggledAction"};return a};
_.q(eT,_.K);_.f=eT.prototype;_.f.attached=function(){this.listen(document,"yt-navigate-finish","logYoodle")};
_.f.detached=function(){this.unlisten(document,"yt-navigate-finish","logYoodle")};
_.f.onDarkModeToggledAction=function(a){this.isDarkTheme=a};
_.f.logYoodle=function(){var a,b;if(null==(a=this.data)?0:null==(b=a.loggingDirectives)?0:b.trackingParams)this.ytRendererBehavior.markDirty(),_.ms(_.vp(),this.data.loggingDirectives.trackingParams)};
_.f.computeHideImg=function(a,b){return!!a||!!b};
_.f.computeHideYtdLogo=function(a,b){return!a||!!b};
_.f.computeHideLottie=function(a){return!a};
_.f.computeIsRedLogo=function(a){return"YOUTUBE_RED_LOGO"===a||"YOUTUBE_PREMIUM_LOGO"===a};
_.f.renderLogoEntity=function(){var a=this.getThumbnailUrl(this.isDarkTheme,this.data),b=this.getAnimatedThumbnailUrl(this.isDarkTheme,this.data),c=this.getLogoTitleText(this.data),d=this.getLottieUrl(this.isDarkTheme,this.data);this.url!==a&&(this.url=a);this.animatedUrl!==b&&(this.animatedUrl=b);this.logoTitleText!==c&&(this.logoTitleText=c);this.lottieUrl!==d&&(this.lottieUrl=d,this.lottiePlayerProps=this.computeLottiePlayerProps(d))};
_.f.getSanitizedThumbnail=function(a){return a&&a.thumbnails?_.LYa(a.thumbnails,122)||"":""};
_.f.getThumbnailUrl=function(a,b){if(!b)return"";var c,d;a=a?null==(c=b.darkThemeLogo)?void 0:c.thumbnail:null==(d=b.lightThemeLogo)?void 0:d.thumbnail;return this.getSanitizedThumbnail(a)};
_.f.getAnimatedThumbnailUrl=function(a,b){return b?this.getSanitizedThumbnail(a?b.darkThemeAnimatedLogo:b.lightThemeAnimatedLogo):""};
_.f.getLogoTitleText=function(a){if(a)return _.qi(a.tooltipText)};
_.f.computeLogoIcon=function(a,b){if(b){var c,d;return a?null==(c=b.darkThemeLogo)?void 0:c.icon:null==(d=b.lightThemeLogo)?void 0:d.icon}};
_.f.playAnimation=function(){this.animationRef.lottieEl&&this.animationRef.lottieEl.isPaused&&this.animationRef.lottieEl.goToAndPlay(0)};
_.f.getLottieUrl=function(a,b){var c,d,e,h;return a?null==b?void 0:null==(c=b.darkThemeLogo)?void 0:null==(d=c.lottieAnimation)?void 0:d.url:null==b?void 0:null==(e=b.lightThemeLogo)?void 0:null==(h=e.lottieAnimation)?void 0:h.url};
_.f.computeLottiePlayerProps=function(a){if(a){var b;if(null==(b=this.animationRef)?0:b.lottieEl){var c;null==(c=this.animationRef)||c.lottieEl.destroy()}return{animationRef:this.animationRef,animationConfig:{name:"LOGO_ENTITY_ANIMATION_NAME",path:a,autoplay:!0,loop:!1,rendererSettings:{viewBoxOnly:!1}},listeners:{data_failed:this.onLottieError.bind(this),error:this.onLottieError.bind(this)}}}};
_.f.onLottieError=function(){this.data&&this.lottieUrl&&this.fire("yoodle-error")};
_.f.onImgError=function(){this.data&&!this.lottieUrl&&this.fire("yoodle-error")};
_.t.Object.defineProperties(eT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===hqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-yoodle-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_yoodle_renderer.ytd.yoodle.renderer.css.js--\x3e<picture hidden="[[hideImg]]">\n  <source srcset$="[[animatedUrl]]" type="image/webp">\n  <img src$="[[url]]" alt="[[logoTitleText]]" on-error="onImgError">\n</picture>\n<ytd-logo data="[[logoIcon]]" hidden="[[hideYtdLogo]]" logo-type="[[logoType]]">\n</ytd-logo>\n<ytd-lottie-player aria-label="[[logoTitleText]]" data="[[lottiePlayerProps]]" hidden="[[hideLottie]]" on-click="playAnimation"></ytd-lottie-player>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===gqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_yoodle_renderer.ytd.yoodle.renderer.css.js--\x3e<style>:host {display: inline-block;} :host ytd-lottie-player {width: 122px;} :host([is-red-logo]) ytd-lottie-player {width: 129px;} img {height: 56px;} /*# sourceMappingURL=ytd-yoodle-renderer.css.map*/</style>";
gqb=d}d=gqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);hqb=a}a=hqb;return a}}});
var fT=eT;fT.prototype.renderLogoEntity=fT.prototype.renderLogoEntity;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],fT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],fT.prototype,"actionHandlerBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],fT.prototype,"data",void 0);_.S([_.N({value:!1,computed:"computeHideImg(logoIcon, lottiePlayerProps)"}),_.T("design:type",Boolean)],fT.prototype,"hideImg",void 0);
_.S([_.N({value:!0,computed:"computeHideYtdLogo(logoIcon, lottiePlayerProps)"}),_.T("design:type",Boolean)],fT.prototype,"hideYtdLogo",void 0);_.S([_.N({value:!0,computed:"computeHideLottie(lottiePlayerProps)"}),_.T("design:type",Boolean)],fT.prototype,"hideLottie",void 0);_.S([_.N({value:!1,reflectToAttribute:!0,computed:"computeIsRedLogo(logoType)"}),_.T("design:type",Boolean)],fT.prototype,"isRedLogo",void 0);_.S([_.N(),_.T("design:type",String)],fT.prototype,"url",void 0);
_.S([_.N(),_.T("design:type",String)],fT.prototype,"animatedUrl",void 0);_.S([_.N(),_.T("design:type",String)],fT.prototype,"logoTitleText",void 0);_.S([_.N({value:{},computed:"computeLogoIcon(isDarkTheme, data)"}),_.T("design:type",Object)],fT.prototype,"logoIcon",void 0);_.S([_.N(),_.T("design:type",Object)],fT.prototype,"logoType",void 0);_.S([_.N(),_.T("design:type",String)],fT.prototype,"lottieUrl",void 0);_.S([_.N(),_.T("design:type",Object)],fT.prototype,"lottiePlayerProps",void 0);
_.S([_.N(),_.T("design:type",Object)],fT.prototype,"animationRef",void 0);_.S([_.P("data"),_.P("isDarkTheme"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],fT.prototype,"renderLogoEntity",null);fT=_.S([_.Q({asyncProperties:!0,is:"ytd-yoodle-renderer"})],fT);
var mqb;
var nqb;
var gT=function(){return _.K.apply(this,arguments)||this};
_.q(gT,_.K);gT.prototype.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.t.Object.defineProperties(gT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===nqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-ypc-transaction-error-message-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_ypc_transaction_error_message_renderer.ytd.ypc.transaction.error.message.renderer.css.js--\x3e\n<div class="error-messages">\n  <template is="dom-repeat" items="[[data.errorMessages]]" as="message">\n    <yt-formatted-string text="[[message]]"></yt-formatted-string>\n  </template>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===mqb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.renderers.ytd_ypc_transaction_error_message_renderer.ytd.ypc.transaction.error.message.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {display: inline-block;background-color: var(--yt-spec-brand-background-primary);padding: 0px;margin: 0px;width: 380px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .error-messages {color: var(--yt-spec-text-secondary);margin: 24px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} /*# sourceMappingURL=ytd-ypc-transaction-error-message-renderer.css.map*/</style>';
mqb=d}d=mqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);nqb=a}a=nqb;return a}}});
var hT=gT;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],hT.prototype,"ytRendererBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],hT.prototype,"data",void 0);hT=_.S([_.Q({asyncProperties:!0,is:"ytd-ypc-transaction-error-message-renderer"})],hT);
var oqb;
var pqb;
var qqb;
var rqb;
var iT=function(){var a=_.K.apply(this,arguments)||this;a.hasFocus=!1;a.desktopSboxIcon=_.ot("desktop_sbox_icon");a.boundClearSearch=function(b){a.clearSearch(b)};
a.isClearButtonVisible=!1;a.systemIcons=_.x("kevlar_system_icons");a.sboxJsUrl="";return a};
_.q(iT,_.K);_.f=iT.prototype;_.f.configureRendererStamper=function(){return{"data.clearButton":{id:"search-clear-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-click":"[[boundClearSearch]]"}}}}}};
_.f.created=function(){this.searchButton=this.querySelector("#"+this.getSearchButtonId())};
_.f.attached=function(){var a=this;this.hasAttribute("role")||this.setAttribute("role","search");this.listen(document,"yt-navigate-finish","onYtNavigateFinish");_.H(this.$.container).observeNodes(function(b){_.pd(b.addedNodes,function(c){1===c.nodeType&&"search-input"===c.id&&(a.searchInput=c.firstElementChild,a.loadSearchbox(),a.searchInput.hidden=!1,a.listen(a.searchInput,"focus","onInputFocus"),a.listen(a.searchInput,"blur","onInputBlur"),a.listen(a.searchInput,"keyup","onInputChange"))},a)})};
_.f.focus=function(){this.searchInput&&this.searchInput.focus()};
_.f.computePlaceholder=function(a,b){a=a?_.qi(a):_.Bg("SBOX_PLACEHOLDER",void 0,"Search");b&&(b.placeholder=a,b.setAttribute("aria-label",a));return a};
_.f.hideKeyboard=function(){var a=document.getElementById("kbd"),b=document.querySelector(".gsst_a");a&&b&&"none"!=a.style.display&&b.click()};
_.f.search=function(a){var b,c=null==(b=this.searchInput)?void 0:b.value,d=!0;if(c){_.ed("REFINEMENTS_TUPLE",["ClearBySearchbox",[]]);this.data&&(a.itct=this.data.trackingParams);if(b=this.data&&this.data.searchEndpoint){var e=_.u.unsafeClone(b);e.searchEndpoint&&(e.searchEndpoint.query=c);var h,l;(null==(h=e.commandMetadata)?0:null==(l=h.webCommandMetadata)?0:l.url)?(h=_.qt(e.commandMetadata.webCommandMetadata.url,"search_query",c),h=h.replace(/%20/g,"+"),e.commandMetadata.webCommandMetadata.url=
h,b.clickTrackingParams&&(a.itct=b.clickTrackingParams),this.fire("yt-navigate",{endpoint:e,tempData:a}),d=!1):_.jd(Error("qg`"+JSON.stringify(b)))}this.previousQuery=c}return d};
_.f.onYtNavigateFinish=function(){var a=this,b=location.href;if(0<=b.indexOf("/results")){var c=_.Se(b,"q")||_.Se(b,"search_query");c&&(this.searchInput?this.searchInput.value=c:_.nt(this,function(){a.searchInput&&(a.searchInput.value=c)}),this.onInputChange())}};
_.f.initializeSearchbox=function(){var a=this,b=_.w("SBOX_SETTINGS");b.SBOX_STRINGS={SBOX_REPORT_SUGGESTIONS:_.Bg("SBOX_INAPPROPRIATE_PROMPT",void 0,"Report search predictions")};b.SEARCHBOX_REPORTING=_.x("searchbox_reporting");var c;b.SUGGESTION_BOX_STYLE=null!=(c=this.desktopSuggestionBoxStyle)?c:null;var d;b.SUGGESTION_BOX_ICON=null!=(d=this.desktopSboxIcon)?d:null;b.SEARCHBOX_COMPONENT=this;return(b=_.ld("yt.www.masthead.searchbox.initPolymer"))?(c=this.getSearchButtonId(),b(this.$["search-form"],
this.searchInput,this.$[c],function(e){return a.search(e)}),this.searchInput.classList.add("ytd-searchbox"),!0):!1};
_.f.loadSearchbox=function(){var a=this,b=_.w("SBOX_JS_URL",this.sboxJsUrl);b&&(this.sboxJsUrl=b,this.initializeSearchbox()||this.setupSearchboxLoad(b,function(){return a.initializeSearchbox()}))};
_.f.setupSearchboxLoad=function(a,b){var c=this,d=function(){c.cancelSearchboxLoad();c.sboxJsCallback=b;try{_.vE(a,b)}catch(r){_.md(r)}_.kf([e,h,l,m,p])};
var e=_.ao(this.searchInput,"mouseover",d);var h=_.ao(this.searchInput,"keypress",d);var l=_.ao(this.searchButton,"mouseover",d);var m=_.ao(this.searchButton,"keypress",d);var p=_.ao(this,"yt-voice-activated",d)};
_.f.cancelSearchboxLoad=function(){if(!_.ld("yt.www.masthead.searchbox.initPolymer")){try{_.zXa(this.sboxJsUrl,this.sboxJsCallback)}catch(a){}this.sboxJsCallback=null}};
_.f.onInputFocus=function(){this.hasFocus=!0;this.fire("yt-autonav-pause-focus")};
_.f.onInputBlur=function(){this.hasFocus=!1;this.fire("yt-autonav-pause-blur")};
_.f.logSearchboxVisibility=function(){var a,b=null==(a=this.data)?void 0:a.trackingParams;(a=_.fg())&&b&&_.xg(a,_.no(b))};
_.f.openReportForm=function(a){var b,c={openPopupAction:{popup:{searchSuggestionReportDialog:{searchQuery:null==(b=this.searchInput)?void 0:b.value,title:_.Bg("SBOX_INAPPROPRIATE_TITLE"),suggestions:a,categoryLabel:_.Bg("SBOX_INAPPROPRIATE_CATEGORY"),categories:[{id:1,label:_.Bg("SBOX_INAPPROPRIATE_HATEFUL")},{id:2,label:_.Bg("SBOX_INAPPROPRIATE_EXPLICIT")},{id:3,label:_.Bg("SBOX_INAPPROPRIATE_VIOLENT")},{id:4,label:_.Bg("SBOX_INAPPROPRIATE_DANGEROUS")},{id:5,label:_.Bg("SBOX_INAPPROPRIATE_OTHER"),
reasonLabel:_.Bg("SBOX_INAPPROPRIATE_REASON")}],detailsPlaceholderLabel:_.Bg("SBOX_INAPPROPRIATE_ADDITIONAL"),cancelButtonLabel:_.Bg("SBOX_INAPPROPRIATE_CANCEL"),submitButtonLabel:_.Bg("SBOX_INAPPROPRIATE_REPORT")}},popupType:"DIALOG"}};_.C(this,"yt-open-popup-action",[c,this])};
_.f.getPreviousQuery=function(){return this.previousQuery?this.previousQuery:null};
_.f.getRefinementsTuple=function(){if("REFINEMENTS_TUPLE"in _.dd){var a=_.w("REFINEMENTS_TUPLE");_.ed("REFINEMENTS_TUPLE",void 0);return a}return null};
_.f.getForm=function(){return this.$["search-form"]};
_.f.focusInput=function(a){null==a||a.preventDefault();this.searchInput.focus()};
_.f.onInputChange=function(){this.searchInput&&(this.isClearButtonVisible=""!==this.searchInput.value)};
_.f.computeIsDefaultVariant=function(a){return!a||"default"===a||"old_bar_with_mic_background"===a};
_.f.computeIsExpandableBarVariant=function(a){return"expandable_bar"===a};
_.f.clearSearch=function(a){a.preventDefault();this.searchInput.value="";this.isClearButtonVisible=!1;this.focusInput()};
_.f.getSearchButtonId=function(){return"search-icon-legacy"};
_.t.Object.defineProperties(iT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===rqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-searchbox--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_searchbox.ytd.searchbox.css.js--\x3e<form id="search-form" action="/results">\n  <div id="container">\n    <yt-icon id="search-icon" icon="[[icon]]" on-mousedown="focusInput">\n    </yt-icon>\n    <slot name="search-input"></slot>\n    <div id="search-clear-button" hidden="[[!isClearButtonVisible]]"></div>\n  </div>\n  <slot name="search-container"></slot>\n</form>\n<button id="search-icon-legacy" aria-label$="[[placeholder]]">\n  <yt-icon icon="[[icon]]"></yt-icon>\n  <tp-yt-paper-tooltip prefix="">[[placeholder]]</tp-yt-paper-tooltip>\n</button>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===qqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_searchbox.ytd.searchbox.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;} #container ::slotted([slot=search-input]) {width: 100%;} #search-form {height: 40px;position: relative;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #container {position: relative;align-items: center;background-color: var(--ytd-searchbox-background);border: 1px solid var(--ytd-searchbox-legacy-border-color);border-right: none;border-radius: 2px 0 0 2px;box-shadow: inset 0 1px 2px var(--ytd-searchbox-legacy-border-shadow-color);color: var(--ytd-searchbox-text-color);padding: 2px 6px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([has-focus]) #container {border: 1px solid #1c62b9;box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);} #container input {color: var(--ytd-searchbox-text-color);} #search-icon-legacy:hover {border-color: var(--ytd-searchbox-legacy-button-hover-border-color);background-color: var(--ytd-searchbox-legacy-button-hover-color);box-shadow: 0 1px 0 rgba(0,0,0,0.1);} #search-icon-legacy:focus {outline: none;background-color: var(--ytd-searchbox-legacy-button-focus-color);} #search-icon-legacy yt-icon {width: 20px;height: 20px;color: var(--ytd-searchbox-legacy-button-icon-color);opacity: 0.6;} :host([system-icons]) #search-icon-legacy yt-icon {width: 24px;height: 24px;color: var(--yt-spec-text-primary);} #search-icon-legacy:hover yt-icon {opacity: 1;} #search-icon-legacy {border: 1px solid var(--ytd-searchbox-legacy-button-border-color);background-color: var(--ytd-searchbox-legacy-button-color);border-radius: 0 2px 2px 0;cursor: pointer;height: 40px;width: 64px;margin: 0;} #search-icon-legacy yt-icon {width: 24px;height: 24px;color: var(--yt-spec-text-primary);opacity: 1;} #search-clear-button {height: 24px;width: 24px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #search-clear-button ytd-button-renderer {--yt-icon-button-icon-width: 20px;--yt-icon-button-icon-height: 20px;} :host([desktop-searchbar-style=bar_new_outline]) #container {box-shadow: none;color: var(--yt-spec-text-primary);} :host([has-focus][desktop-searchbar-style=bar_new_outline]) #container {border: 1px solid var(--yt-spec-verified-badge-background);box-shadow: none;} :host([desktop-searchbar-style=bar_new_background]) #container {background-color: var(--yt-spec-brand-background-solid);color: var(--yt-spec-text-primary);} :host([desktop-searchbar-style=bar_new_background]) #search-icon-legacy {background-color: var(--yt-spec-general-background-a);} :host([desktop-searchbar-style=bar_new_background]) #search-form:hover #container {background-color: var(--yt-spec-general-background-a);} :host([desktop-searchbar-style=bar_new_background]) #search-form:hover #search-icon-legacy {background-color: var(--yt-spec-general-background-b);} :host([has-focus][desktop-searchbar-style=bar_new_background]) #container {background-color: var(--yt-spec-brand-background-solid);} :host([has-focus][desktop-searchbar-style=bar_new_background]) #search-icon-legacy,:host([has-focus][desktop-searchbar-style=bar_new_background]) #search-form:hover #search-icon-legacy {background-color: var(--yt-spec-general-background-a);} #search-icon {display: none;position: absolute;left: 0;color: var(--yt-spec-icon-inactive);padding: 0 10px;} :host([desktop-sbox-icon=icon_24_ptext_primary]) #container {margin-left: 38px;} :host([desktop-sbox-icon=icon_24_ptext_primary]) #container ::slotted([slot=search-input]) input {box-sizing: border-box;padding: 1px 0;margin: 0;} :host([desktop-sbox-icon=icon_24_ptext_primary]) #search-clear-button ytd-button-renderer {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;} :host([has-focus][desktop-sbox-icon=icon_24_ptext_primary]) #container {margin-left: 0px;padding: 2px 6px 2px 44px;} :host([has-focus][desktop-sbox-icon=icon_24_ptext_primary]) #search-icon {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} :host([desktop-sbox-icon=icon_20_ptext_purple]) #container,:host([desktop-sbox-icon=icon_20_ptext_primary]) #container {margin-left: 34px;} :host([desktop-sbox-icon=icon_20_ptext_purple]) #container ::slotted([slot=search-input]) input,:host([desktop-sbox-icon=icon_20_ptext_primary]) #container ::slotted([slot=search-input]) input {box-sizing: border-box;padding: 1px 0;margin: 0;} :host([has-focus][desktop-sbox-icon=icon_20_ptext_purple]) #container,:host([has-focus][desktop-sbox-icon=icon_20_ptext_primary]) #container {margin-left: 0px;padding: 2px 6px 2px 40px;} :host([has-focus][desktop-sbox-icon=icon_20_ptext_purple]) #search-icon,:host([has-focus][desktop-sbox-icon=icon_20_ptext_primary]) #search-icon {width: 20px;height: 20px;display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;} /*# sourceMappingURL=ytd-searchbox.css.map*/</style>";
qqb=d}d=qqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);rqb=a}a=rqb;return a}}});
var jT=iT;jT.prototype.getRefinementsTuple=jT.prototype.getRefinementsTuple;jT.prototype.getPreviousQuery=jT.prototype.getPreviousQuery;jT.prototype.openReportForm=jT.prototype.openReportForm;jT.prototype.logSearchboxVisibility=jT.prototype.logSearchboxVisibility;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],jT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],jT.prototype,"ytRendererstamperBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],jT.prototype,"data",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],jT.prototype,"hasFocus",void 0);_.S([_.N({computed:"computeIcon_(data.icon)"}),_.T("design:type",String)],jT.prototype,"icon",void 0);_.S([_.N({computed:"computePlaceholder(data.placeholderText, searchInput)"}),_.T("design:type",String)],jT.prototype,"placeholder",void 0);_.S([_.N(),_.T("design:type",Object)],jT.prototype,"searchInput",void 0);
_.S([_.N({reflectToAttribute:!0,value:function(){return _.ot("desktop_searchbar_style")}}),
_.T("design:type",String)],jT.prototype,"desktopSearchbarStyle",void 0);_.S([_.N({value:function(){return _.ot("desktop_suggestion_box_style")}}),
_.T("design:type",String)],jT.prototype,"desktopSuggestionBoxStyle",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],jT.prototype,"desktopSboxIcon",void 0);_.S([_.N({computed:"computeIsDefaultVariant(desktopSearchbarStyle)"}),_.T("design:type",Boolean)],jT.prototype,"isDefaultVariant",void 0);_.S([_.N(),_.T("design:type",Object)],jT.prototype,"boundClearSearch",void 0);
_.S([_.N({computed:"computeIsExpandableBarVariant(desktopSearchbarStyle)"}),_.T("design:type",Boolean)],jT.prototype,"isExpandableBarVariant",void 0);_.S([_.N(),_.T("design:type",Object)],jT.prototype,"isClearButtonVisible",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Object)],jT.prototype,"systemIcons",void 0);_.S([_.P("data.trackingParams"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],jT.prototype,"logSearchboxVisibility",null);
jT=_.S([_.Q({asyncProperties:!0,is:"ytd-searchbox"})],jT);
var sqb;
var tqb;
var kT=function(){var a=_.K.apply(this,arguments)||this;a.actionMap={"yt-navigate-home-action":"onNavigateHomeAction"};return a};
_.q(kT,_.K);_.f=kT.prototype;_.f.onYoodleError=function(){_.x("kevlar_yoodle_handle_load_failure_killswitch")||(this.yoodleError=!0)};
_.f.computeLogoName=function(a){a=this.componentBehavior.computeIcon_(a);return""===a?"yt-logos-ext:yt-logo-updated":a};
_.f.computeTitle=function(a,b,c){return c&&(null==b?0:b.tooltipText)?_.qi(b.tooltipText):_.qi(a)};
_.f.computeAriaLabel=function(a,b,c){return c&&(null==b?0:b.tooltipText)?_.qi(a):""};
_.f.computeShowYoodle=function(a,b,c){return!a||!b&&!!c&&!_.u.isEmpty(c)};
_.f.onNavigateHomeAction=function(){_.x("kevlar_miniplayer_navigate_home_from_app_killswitch")&&this.$$(".yt-simple-endpoint").click()};
_.f.computeLogoHref=function(a,b,c){var d;(null==c?0:c.onTapCommand)?d=this.componentBehavior.computeHref_(c.onTapCommand):a&&(d=this.componentBehavior.computeHref_(a));if(d)return d;if(_.x("kevlar_topbar_logo_fallback_home"))return b};
_.f.computeCommand=function(a,b){return(null==b?void 0:b.onTapCommand)||a};
_.f.getEndpointForm=function(){return{disableCache:!0}};
_.t.Object.defineProperties(kT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===tqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-topbar-logo-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_topbar_logo_renderer.ytd.topbar.logo.renderer.css.js--\x3e<a aria-label="[[ariaLabelText]]" class="yt-simple-endpoint" href$="[[endpointUrl]]" id="logo" data="[[command]]" title="[[titleText]]" get-form="[[getEndpointForm]]">\n  <div hidden="[[showYoodle]]">\n    <ytd-logo data="[[data.iconImage]]" logo-type="[[logoType]]">\n    </ytd-logo>\n  </div>\n  <ytd-yoodle-renderer data="[[logoEntity]]" hidden="[[!showYoodle]]" logo-type="[[logoType]]">\n  </ytd-yoodle-renderer>\n</a>\n<span hidden="[[showYoodle]]" id="country-code">\n  [[countryCode]]\n</span>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===sqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_topbar_logo_renderer.ytd.topbar.logo.renderer.css.js--\x3e<style>:host(yt-icon),.yt-icon-container {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: relative;vertical-align: middle;fill: var(--iron-icon-fill-color,currentcolor);stroke: var(--iron-icon-stroke-color,none);width: var(--iron-icon-width,24px);height: var(--iron-icon-height,24px);@apply --iron-icon;} :host(.external-container) {display: none!important;} :host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #logo,ytd-yoodle-renderer {padding: 0;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: none;-webkit-flex: none;flex: none;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: center;-webkit-align-self: center;align-self: center;} :host(:dir(rtl)) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #country-code {color: var(--yt-spec-text-secondary);margin: 12px 0 0 -10px;} /*# sourceMappingURL=ytd-topbar-logo-renderer.css.map*/</style>";
sqb=d}d=sqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);tqb=a}a=tqb;return a}}});
var lT=kT;lT.prototype.onYoodleError=lT.prototype.onYoodleError;_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],lT.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],lT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],lT.prototype,"componentBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],lT.prototype,"ytdReduxBehavior",void 0);
_.S([_.N(),_.T("design:type",Object)],lT.prototype,"data",void 0);_.S([_.N(),_.T("design:type",String)],lT.prototype,"countryCode",void 0);_.S([_.N({selectorArgs:["data.overrideEntityKey"],selector:function(a,b){return _.Yg(a.entities,"logoEntity",b)}}),
_.T("design:type",Object)],lT.prototype,"logoEntity",void 0);_.S([_.N({reflectToAttribute:!0,computed:"computeShowYoodle(data, yoodleError, logoEntity)"}),_.T("design:type",Boolean)],lT.prototype,"showYoodle",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],lT.prototype,"yoodleError",void 0);_.S([_.N({computed:"computeTitle(data.tooltipText, logoEntity, showYoodle)"}),_.T("design:type",String)],lT.prototype,"titleText",void 0);
_.S([_.N({value:"",computed:"computeAriaLabel(data.tooltipText, logoEntity, showYoodle)"}),_.T("design:type",String)],lT.prototype,"ariaLabelText",void 0);_.S([_.N({value:"/"}),_.T("design:type",String)],lT.prototype,"defaultEndpointUrl",void 0);_.S([_.N({computed:"computeLogoHref(data.endpoint, defaultEndpointUrl, logoEntity)"}),_.T("design:type",String)],lT.prototype,"endpointUrl",void 0);
_.S([_.N({computed:"computeCommand(data.endpoint, logoEntity)"}),_.T("design:type",String)],lT.prototype,"command",void 0);_.S([_.N(),_.T("design:type",Object)],lT.prototype,"logoType",void 0);_.S([_.N({value:!1}),_.T("design:type",Boolean)],lT.prototype,"isWhite",void 0);_.S([_.O("yoodle-error"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],lT.prototype,"onYoodleError",null);lT=_.S([_.Q({asyncProperties:!0,is:"ytd-topbar-logo-renderer"})],lT);
var mT=function(){var a=_.K.apply(this,arguments)||this;a.menuButtonTargetId="topbar-guide-menu";a.narrow=!1;a.menuStrings={BACK_ALT_LABEL:_.Bg("BACK_ALT_LABEL",void 0,"Back"),GUIDE_ALT_LABEL:_.Bg("GUIDE_ALT_LABEL",void 0,"Guide"),LOGO_ALT_LABEL:_.Bg("LOGO_ALT_LABEL",void 0,"YouTube Home"),SEARCH_ALT_LABEL:_.Bg("SBOX_PLACEHOLDER",void 0,"Search")};a.isDarkThemeForced=!1;a.areGhostCardsHidden=!1;a.guideKeyboardToggle=!1;a.voiceSearchManager=tib();return a};
_.q(mT,_.K);_.f=mT.prototype;
_.f.configureRendererStamper=function(){return{"data.interstitial":{id:"interstitial",mapping:{consentBumpV2Renderer:"ytd-consent-bump-v2-renderer"}},"data.voiceSearchButton":{id:"voice-search-button",mapping:{buttonRenderer:{component:"ytd-button-renderer",properties:{"on-tap":"[[boundOnTapVoiceButton]]"}}}},"data.topbarButtons":{id:"buttons",events:!0,mapping:{buttonRenderer:"ytd-button-renderer",notificationTopbarButtonRenderer:_.x("web_notification_button_shape")?"ytd-notification-topbar-button-shape-renderer":
"ytd-notification-topbar-button-renderer",iconBadgeTopbarButtonRenderer:"ytd-icon-badge-topbar-button-renderer",topbarMenuButtonRenderer:"ytd-topbar-menu-button-renderer"},initialRenderPriority:1},"data.a11ySkipNavigationButton":{id:"skip-navigation",mapping:{buttonRenderer:"ytd-button-renderer"}}}};
_.f.attached=function(){var a=this;this.hasAttribute("role")||this.setAttribute("role","banner");var b=_.Lo(_.Ko(),"aa");this.toggleClass("shell",!1);!this.classList.contains("dark")&&!this.classList.contains("theater")||b||(this.isDarkThemeForced=this.dark=!0);this.logoType?(b=_.H(this).querySelector("#masthead-logo"))&&_.Hb(b):this.$.logo.hidden=!0;_.x("kevlar_use_vimio_behavior")||_.nt(this,function(){var c=a.ytRendererBehavior.getParentRenderer();c&&c.registerRenderer(a)})};
_.f.dataChanged=function(){var a=this.data;a&&(this.voiceEnabled=a.voiceSearchButton?tib().isSupported():!1,_.x("web_yt_icon_target_id_observer_killswitch")||_.oGa(this.menuButtonTargetId,this.guideButton),a.onReceivedActions&&0<a.onReceivedActions.length&&!this.hasShownCreatorEmailOptInPopup&&(_.Lg(this,a.onReceivedActions,this),this.hasShownCreatorEmailOptInPopup=!0),!this.hasRenderedWithData&&a&&(this.hasRenderedWithData=!0,this.$.logo.hidden=!1,this.toggleClass("dark",!1),this.toggleClass("theater",
!1),(a=_.H(this).querySelector("#masthead-logo"))&&_.Hb(a)))};
_.f.computeCenterHidden=function(){var a;return this.data&&!(null==(a=this.data.searchbox)?0:a.fusionSearchboxRenderer)};
_.f.onRendererStamperFinished=function(){this.areGhostCardsHidden||(this.toggleClass("masthead-finish",!0),this.areGhostCardsHidden=!0)};
_.f.focusGuide=function(){this.$["guide-button"].focus()};
_.f.onIronResize=function(){(this.get("data.interstitial")||this.get("data.ticker"))&&this.fire("yt-masthead-height-changed",{height:this.clientHeight})};
_.f.onGuideToggleTap=function(){this.fire("yt-guide-toggle",{isKeyInput:this.guideKeyboardToggle});this.guideKeyboardToggle=!1};
_.f.onGuideButtonKeydown=function(){this.guideKeyboardToggle=!0};
_.f.onGuideToggleHover=function(){this.fire("yt-guide-hover")};
_.f.onSearchCloseClick=function(){this.ytdExpandableInputBehavior.showInput=!1};
_.f.openOnClickHandler=function(){this.$.search.focus()};
_.f.narrowChanged=function(){this.narrow?this.$.search.hasFocus?this.ytdExpandableInputBehavior.openOnClick_():this.$.search.hideKeyboard():this.ytdExpandableInputBehavior.showInput=!1};
_.f.showInputChanged=function(a){!a&&this.$&&this.$.search.hideKeyboard()};
_.f.closeOnOutsideClickCondition=function(a){for(a=_.H(a).path;a[0];){var b=a.shift();if(b instanceof Element&&"kbd"===b.id)return!1}return!0};
_.f.onVoiceTap=function(){this.pausePlayer();this.voiceSearchManager.start();_.x("kevlar_voice_logging_fix")&&this.$.search.fire("yt-voice-activated")};
_.f.pausePlayer=function(){var a=_.sv();a&&(a.pause(),this.pauseMiniplayer())};
_.f.pauseMiniplayer=function(){var a=_.Jg(this,"yt-miniplayer-active");a&&a[0]&&(a=_.k(_.Jg(this,"yt-get-miniplayer-component-action")).next().value)&&a.getPlayerElement()&&a.getPlayerElement().pause()};
_.t.Object.defineProperties(mT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===pqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-masthead--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_masthead.ytd.masthead.css.js--\x3e<iron-media-query query="max-width: 656px" query-matches="{{narrow}}"></iron-media-query>\n<div id="ticker"></div>\n<div id="interstitial"></div>\n<div id="container">\n  <div id="start">\n    <yt-icon-button id="back-button" label="[[menuStrings.BACK_ALT_LABEL]]" on-click="onSearchCloseClick">\n      <yt-icon disable-upgrade$="[[!showInput]]" icon="yt-icons:arrow-back">\n      </yt-icon>\n    </yt-icon-button>\n    <tp-yt-paper-tooltip id="back-button-tooltip" disable-upgrade$="[[!showInput]]" for="back-button">\n      [[menuStrings.BACK_ALT_LABEL]]\n    </tp-yt-paper-tooltip>\n    <yt-icon-button id="guide-button" label="[[menuStrings.GUIDE_ALT_LABEL]]" pressed="[[guideOpened]]" toggleable="true" on-click="onGuideToggleTap" on-keydown="onGuideButtonKeydown" on-mouseenter="onGuideToggleHover">\n      <yt-icon id="guide-icon" icon="yt-icons:menu"></yt-icon>\n    </yt-icon-button>\n    <slot name="masthead-logo"></slot>\n    <ytd-topbar-logo-renderer id="logo" country-code="[[data.countryCode]]" data="[[data.logo.topbarLogoRenderer]]" is-white="[[!dark]]" logo-type="[[logoType]]">\n    </ytd-topbar-logo-renderer>\n    <div id="skip-navigation"></div>\n  </div>\n  <div id="center" hidden="[[computeCenterHidden(data)]]">\n    <ytd-searchbox id="search" data="[[data.searchbox.fusionSearchboxRenderer]]">\n      <slot name="search-container" slot="search-container"></slot>\n      <slot name="search-input" slot="search-input"></slot>\n    </ytd-searchbox>\n    <yt-icon-button id="search-button-narrow" label="[[menuStrings.SEARCH_ALT_LABEL]]" on-click="openOnClick_">\n      <yt-icon class="topbar-icons" disable-upgrade$="[[!narrow]]" icon="yt-icons:search">\n      </yt-icon>\n      <tp-yt-paper-tooltip disable-upgrade$="[[!narrow]]" for="search-button-narrow" hidden="[[!narrow]]">\n        [[menuStrings.SEARCH_ALT_LABEL]]\n      </tp-yt-paper-tooltip>\n    </yt-icon-button>\n    <div id="voice-search-button" hidden="[[!voiceEnabled]]"></div>\n  </div>\n  <div id="end">\n    <slot name="masthead-skeleton"></slot>\n    <div id="buttons"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===oqb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_masthead.ytd.masthead.css.js--\x3e<style>:host {--paper-input-container-input-align: baseline;display: block;width: 100%;background: var(--yt-spec-brand-background-primary);} #container {height: 56px;padding: 0 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #guide-button {margin: 0;} :host([guide-refresh]) yt-icon-button:hover,:host([guide-refresh]) ytd-topbar-menu-button-renderer:hover,:host([guide-refresh]) ytd-notification-topbar-button-renderer:hover {background-color: var(--yt-spec-10-percent-layer);border-radius: 24px;} :host([guide-refresh]) .ytd-masthead#buttons>ytd-topbar-menu-button-renderer:last-of-type:hover {background-color: transparent;} :host([guide-refresh]) {border-bottom: 1px solid var(--yt-spec-10-percent-layer);} #guide-icon {color: var(--yt-spec-icon-active-other);} #start {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #center {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex: 0 1 728px;-webkit-flex: 0 1 728px;flex: 0 1 728px;min-width: 0px;} ytd-searchbox {margin: 0 0 0 40px;padding: 0 4px;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #voice-search-button:empty {display: block;width: 40px;} #skip-navigation {position: absolute;top: -1000px;background-color: var(--yt-spec-brand-background-primary);} #skip-navigation:focus-within {top: 12px;left: 185px;z-index: 1;color: var(--yt-spec-text-secondary);text-transform: uppercase;font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 500;} #start,#end {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #end {-ms-flex: none;-webkit-flex: none;flex: none;} yt-icon-button {--yt-icon-button-icon-width: 24px;--yt-icon-button-icon-height: 24px;color: var(--yt-spec-icon-active-other);width: 40px;height: 40px;padding: 8px;margin-right: 8px;box-sizing: border-box;} #search-button,#search-button-narrow,#back-button,#back-button-tooltip {display: none;} #back-button {margin-right: 8px;} #end {min-width: 225px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #buttons {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #buttons>* {display: -ms-flexbox;display: -webkit-flex;display: flex;} #buttons>*:not(:last-child) {margin-right: 8px;} #voice-search-button [is-icon-button],#buttons [is-icon-button] {color: var(--yt-spec-icon-active-other);outline: none;} #voice-search-button {height: 40px;width: 40px;border-radius: 100px;background-color: var(--yt-spec-general-background-a);margin-left: 4px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} @media(max-width:656px) {#voice-search-button {border-radius: 0px;background-color: var(--yt-spec-brand-background-solid);}} @media(min-width:876px) {#logo {width: 129px;}} @media(max-width:656px) {#container {padding: 0 8px;}#end {min-width: 0;}#guide-button {margin: 0 4px 0 0;}ytd-topbar-menu-button-renderer {padding: 0;}#buttons>*:not(:last-child) {margin-right: 0;}ytd-searchbox {display: none;margin: 0;}#voice-search-button:empty {display: none;}#center {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;}#search-button,#search-button-narrow {display: block;margin-right: 0;}:host([show-input]) #guide-button,:host([show-input]) #search-button-narrow,:host([show-input]) #logo,:host([show-input]) #end {display: none;}:host([show-input]) ytd-searchbox,:host([show-input]) #back-button,:host([show-input]) #back-button-tooltip {display: -ms-flexbox;display: -webkit-flex;display: flex;}yt-icon-button {margin-right: 0;}ytd-topbar-logo-renderer {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;}} @media(max-width:428px) {#buttons>ytd-notification-topbar-button-renderer {display: none;}#voice-search-button {display: none;}} /*# sourceMappingURL=ytd-masthead.css.map*/</style>';
oqb=d}d=oqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);pqb=a}a=pqb;return a}}});
var nT=mT;nT.prototype.narrowChanged=nT.prototype.narrowChanged;nT.prototype.onIronResize=nT.prototype.onIronResize;nT.prototype.onRendererStamperFinished=nT.prototype.onRendererStamperFinished;nT.prototype.dataChanged=nT.prototype.dataChanged;_.S([_.L(_.xx),_.T("design:type",Object)],nT.prototype,"ironResizableBehavior",void 0);_.S([_.L(_.E5a),_.T("design:type",Object)],nT.prototype,"ytdExpandableInputBehavior",void 0);
_.S([_.L(_.ry),_.T("design:type",Object)],nT.prototype,"ytdGuideStateAwareBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],nT.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],nT.prototype,"ytComponentBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],nT.prototype,"ytRendererBehavior",void 0);_.S([_.Z("#guide-button"),_.T("design:type",HTMLElement)],nT.prototype,"guideButton",void 0);
_.S([_.N(),_.T("design:type",Object)],nT.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],nT.prototype,"narrow",void 0);_.S([_.N(),_.T("design:type",Object)],nT.prototype,"logoType",void 0);_.S([_.N(),_.T("design:type",Boolean)],nT.prototype,"voiceEnabled",void 0);_.S([_.N(),_.T("design:type",Object)],nT.prototype,"menuStrings",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],nT.prototype,"dark",void 0);_.S([_.N({value:function(){return this.onVoiceTap.bind(this)}}),
_.T("design:type",Function)],nT.prototype,"boundOnTapVoiceButton",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_guide_ui_refresh")}),_.T("design:type",Boolean)],nT.prototype,"guideRefresh",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nT.prototype,"dataChanged",null);
_.S([_.O("yt-rendererstamper-finished"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nT.prototype,"onRendererStamperFinished",null);_.S([_.O("iron-resize"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nT.prototype,"onIronResize",null);_.S([_.Ct("narrow"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],nT.prototype,"narrowChanged",null);nT=_.S([_.Q({is:"ytd-masthead"})],nT);
var uqb;
var vqb;
var oT=function(){var a=_.K.apply(this,arguments)||this;a.bannerString=_.Bg("NO_INTERNET_CONNECTION",void 0,"No internet connection");a.bannerVisible=!1;a.bannerVe=null;a.networkStatusManagerInstance=new _.Ve;return a};
_.q(oT,_.K);_.f=oT.prototype;_.f.attached=function(){var a=this;_.x("kevlar_network_banner_counterfactual")&&this.updateStyles({display:"none"});this.networkStatusManagerInstance.isNetworkAvailable()||(this.bannerVisible=!0);this.networkStatusManagerInstance.listen("publicytnetworkstatus-online",function(){a.onlineHandler()});
this.networkStatusManagerInstance.listen("publicytnetworkstatus-offline",function(){a.offlineHandler()})};
_.f.detached=function(){var a=this;this.networkStatusManagerInstance.unlisten("publicytnetworkstatus-online",function(){a.onlineHandler()});
this.networkStatusManagerInstance.unlisten("publicytnetworkstatus-offline",function(){a.offlineHandler()})};
_.f.onlineHandler=function(){this.bannerVisible=!1;this.logVisibility()};
_.f.offlineHandler=function(){this.bannerVisible=!0;this.logVisibility()};
_.f.logVisibility=function(){var a=_.fg();this.createBannerVe();a&&this.bannerVe&&(this.bannerVisible?sJ(a,[this.bannerVe]):_.BMa(a,[this.bannerVe]))};
_.f.createBannerVe=function(){!this.bannerVe&&this.bannerVisible&&(this.bannerVe=_.oo(37929),_.DE(_.vp(),this.bannerVe))};
_.t.Object.defineProperties(oT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===vqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-network-status-banner--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_network_status_banner.ytd.network.status.banner.css.js--\x3e<div class="status-banner" hidden="[[!bannerVisible]]" visible="[[bannerVisible]]">\n       [[bannerString]]\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===uqb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_network_status_banner.ytd.network.status.banner.css.js--\x3e<style>:host {position: fixed;bottom: 0;width: 100%;z-index: 2030;} .status-banner {background-color: var(--yt-spec-static-brand-black);color: var(--yt-spec-static-brand-white);padding-top: 4px;padding-bottom: 4px;text-align: center;width: 100%;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 500;} /*# sourceMappingURL=ytd-network-status-banner.css.map*/</style>';
uqb=d}d=uqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);vqb=a}a=vqb;return a}}});
var pT=oT;_.S([_.N(),_.T("design:type",String)],pT.prototype,"bannerString",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],pT.prototype,"bannerVisible",void 0);pT=_.S([_.Q({asyncProperties:!0,is:"ytd-network-status-banner"})],pT);
var wqb;
var xqb;
var yqb;
var zqb;
var s$a={productId:"5047190",bucket:"suggest",enableAnonymousFeedback:!0,flow:"submit",allowNonLoggedInFeedback:!0};
var qT=function(){return _.K.apply(this,arguments)||this};
_.q(qT,_.K);_.f=qT.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.dataChanged=function(){if(void 0!==this.data){Array.prototype.slice.call(this.querySelectorAll("tp-yt-paper-checkbox")).forEach(function(d){d.checked=!1});
this.catagorySelected=this.suggestionSelected=!1;var a=this,b,c=null==(b=window.ShadyDOM)?void 0:b.noPatch;c&&"on-demand"!==c||(a=_.H(this.root));a.querySelector("tp-yt-paper-radio-group").selected=null;if(b=a.querySelector("#reason-text"))b.value=null;a.querySelector("#description-text").value=null}};
_.f.canSubmit=function(a,b){this.fire("yt-invalidate-popup-tabbables");return!(a&&b)};
_.f.onCancel=function(){_.C(this,"yt-close-popup-action",["ytd-search-suggestion-report-dialog"])};
_.f.onSubmit=function(){var a=Array.prototype.slice.call(this.querySelectorAll("tp-yt-paper-checkbox")).filter(function(h){return h.active}).map(function(h){return h.innerText.trim()}),b=this.querySelector("tp-yt-paper-radio-group"),c=b.selectedItem,d=c.name;
c=c.innerText.trim();var e=b.querySelector("#reason-text");b=void 0;e&&(b=e.value);(e=this.descriptionText.value)&&(e=e.trim());t$a(this.data.searchQuery,a,d,c,e,b);_.C(this,"yt-close-popup-action",["ytd-search-suggestion-report-dialog"]);this.sendFormSubmitToast()};
_.f.sendFormSubmitToast=function(){var a={openPopupAction:{popupType:"TOAST",popup:{notificationActionRenderer:{responseText:_.Mu(_.Bg("SBOX_INAPPROPRIATE_TOAST"))}}}};_.C(this,"yt-open-popup-action",[a,this])};
_.f.onIronChange=function(){this.suggestionSelected=Array.prototype.slice.call(this.querySelectorAll("tp-yt-paper-checkbox")).some(function(a){return a.active})};
_.f.onIronSelect=function(){this.catagorySelected=!!this.querySelector("tp-yt-paper-radio-group").selected};
_.t.Object.defineProperties(qT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===zqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-search-suggestion-report-dialog--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_search_suggestion_report_dialog.ytd.search.suggestion.report.dialog.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scroller">\n  <div id="content">\n    <h2 id="title">[[data.title]]</h2>\n    <div id="suggestions">\n      <template is="dom-repeat" items="[[data.suggestions]]">\n        <tp-yt-paper-checkbox>[[item.label]]</tp-yt-paper-checkbox>\n      </template>\n    </div>\n    <tp-yt-paper-radio-group id="categories">\n      <h2 id="category-title">[[data.categoryLabel]]</h2>\n      <yt-formatted-string id="category-title" text="[[data.categoryLabel]]">\n      </yt-formatted-string>\n      <template is="dom-repeat" items="[[data.categories]]">\n        <tp-yt-paper-radio-button name="[[item.id]]">\n          [[item.label]]\n          <template is="dom-if" if="[[item.reasonLabel]]">\n            <tp-yt-paper-input-container id="reason" no-label-float="" use-v2-underline="">\n              <tp-yt-iron-autogrow-textarea id="reason-text" class="paper-input-input" slot="input" maxlength="500" placeholder="[[item.reasonLabel]]" rows="1">\n              </tp-yt-iron-autogrow-textarea>\n            </tp-yt-paper-input-container>\n          </template>\n        </tp-yt-paper-radio-button>\n      </template>\n    </tp-yt-paper-radio-group>\n    <tp-yt-paper-input-container id="details" no-label-float="" use-v2-underline="">\n      <tp-yt-iron-autogrow-textarea id="description-text" class="paper-input-input" slot="input" maxlength="500" placeholder="[[data.detailsPlaceholderLabel]]" rows="2">\n      </tp-yt-iron-autogrow-textarea>\n      <tp-yt-paper-input-char-counter slot="add-on"></tp-yt-paper-input-char-counter>\n    </tp-yt-paper-input-container>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n<div id="footer">\n  <tp-yt-paper-button id="cancel" on-tap="onCancel">[[data.cancelButtonLabel]]</tp-yt-paper-button>\n  <tp-yt-paper-button id="submit" disabled="[[submitDisabled]]" on-tap="onSubmit">\n    [[data.submitButtonLabel]]\n  </tp-yt-paper-button>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===yqb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_search_suggestion_report_dialog.ytd.search.suggestion.report.dialog.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--paper-input-container-input-align: baseline;margin: 0;padding: 0;height: calc(100vh - 48px);max-height: 760px;width: 425px;display: inline-block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #scroller {--paper-dialog-scrollable-padding: 0;height: 100%;} #content {padding: 24px 24px 16px;} #title {display: block;color: var(--yt-spec-text-primary);font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;} #suggestions,#categories {margin-top: 20px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #categories {--paper-radio-group-item-padding: 0;} #suggestions tp-yt-paper-checkbox {--paper-checkbox-label: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-checkbox-vertical-align: top;--paper-checkbox-margin: 2px 0 0 0;} #suggestions tp-yt-paper-checkbox:not(:first-child) {margin: 12px 0 0 0;} #categories tp-yt-paper-radio-button {margin: 12px 0 0 0;font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #category-title {color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.2rem;line-height: 1.8rem;font-weight: 400;} tp-yt-paper-radio-button {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-paper-radio-button[checked] tp-yt-paper-input-container {display: inline-block;} tp-yt-paper-radio-button:not([checked]) tp-yt-paper-input-container {display: none;} #reason {--paper-input-container-color: var(--yt-spec-text-secondary);--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-background: var(--yt-spec-10-percent-layer);--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};margin: -1px 0;width: 240px;margin-left: 16px;padding: 0;} #details {--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-input: {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};--paper-input-char-counter: {color: var(--yt-spec-text-secondary);};margin-top: 24px;border: 1px solid var(--yt-spec-10-percent-layer);border-radius: 2px;padding: 8px 8px 20px;} #footer {padding: 8px 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;-ms-flex: none;-webkit-flex: none;flex: none;} #footer tp-yt-paper-button {--paper-button-ink-color: var(--yt-spec-text-secondary);width: var(--yt-paper-button-width,auto);padding: 10px 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;font-size: var(--ytd-tab-system_-_font-size);font-weight: var(--ytd-tab-system_-_font-weight);letter-spacing: var(--ytd-tab-system_-_letter-spacing);text-transform: var(--ytd-tab-system_-_text-transform);} #cancel {color: var(--yt-spec-text-secondary);} #submit {color: var(--yt-spec-call-to-action);} #submit[disabled] {background-color: transparent;color: var(--yt-spec-text-disabled);} #description-text {--iron-autogrow-textarea: {padding: 0px;};} /*# sourceMappingURL=ytd-search-suggestion-report-dialog.css.map*/</style>';
yqb=d}d=yqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);zqb=a}a=zqb;return a}}});
var rT=qT;rT.prototype.onIronSelect=rT.prototype.onIronSelect;rT.prototype.onIronChange=rT.prototype.onIronChange;rT.prototype.dataChanged=rT.prototype.dataChanged;_.S([_.N(),_.T("design:type",Object)],rT.prototype,"data",void 0);_.S([_.N({value:!0,computed:"canSubmit(suggestionSelected,catagorySelected)"}),_.T("design:type",Boolean)],rT.prototype,"submitDisabled",void 0);_.S([_.N(),_.T("design:type",Boolean)],rT.prototype,"suggestionSelected",void 0);
_.S([_.N(),_.T("design:type",Boolean)],rT.prototype,"catagorySelected",void 0);_.S([_.Z("#description-text"),_.T("design:type",Object)],rT.prototype,"descriptionText",void 0);_.S([_.Ct("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],rT.prototype,"dataChanged",null);_.S([_.O("iron-change"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],rT.prototype,"onIronChange",null);
_.S([_.O("iron-select"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],rT.prototype,"onIronSelect",null);rT=_.S([_.Q({asyncProperties:!0,is:"ytd-search-suggestion-report-dialog"})],rT);
var sT=function(a){var b=a.openPopupAction,c=a.target,d=a.container,e=a.popupContainerConfig;a=a.getElement;this.popupContent=this.popup=void 0;this.openPopupAction=b;this.target=c;this.JSC$40135_container_=d;this.popupContainerConfig_=e;this.naturalHeight_=void 0;this.getElement_=a;this.popupConfig_=this.popupContainerConfig_.popupConfig[this.openPopupAction.popupType];this.rendererName=(b=Aqb(this))?_.dka(b,Zhb(this.popupContainerConfig_,b)):"";b=this.popupConfig_.component;this.popupContent=Bqb(this,
this.rendererName);b?(this.popup=Bqb(this,b),_.x("kevlar_keyboard_button_focus")&&(this.popup.restoreFocusOnClose=!0),this.popupConfig_.slotName&&this.popupContent.setAttribute("slot",this.popupConfig_.slotName),_.H(this.popup).appendChild(this.popupContent),document.body.appendChild(this.popup)):this.popup=this.popupContent;_.H(this.JSC$40135_container_.root).appendChild(this.popup)};
sT.prototype.updatePopup=function(a){this.openPopupAction=a;Cqb(this);Dqb(this);_.x("kevlar_keyboard_button_focus")&&(this.popup.restoreFocusOnClose=!0)};
sT.prototype.refit=function(){this.popup.opened&&this.popup.refit()};
var Fqb=function(a,b){Eqb(a,b&&a.popupConfig_.narrowProperties?a.popupConfig_.narrowProperties:a.popupConfig_.properties);"rtl"==_.w("HTML_DIR")&&Eqb(a,a.popupConfig_.rtlProperties);Dqb(a)},Cqb=function(a){a.popupContent.set("data",(0,_.u.unsafeClone)(a.openPopupAction.popup[Aqb(a)]));
a.popupContent.duration=a.getPopupDurationMs_();a.popupContent.positionType=a.openPopupAction.position;var b=a.openPopupAction.properties;b&&Object.keys(b).forEach(function(c){a.popupContent[c]=b[c]})},Eqb=function(a,b){if(b)for(var c in b)a.popup[c]=b[c]},Dqb=function(a){if(a.openPopupAction.position){var b=a.popupConfig_.positionalProperties&&a.popupConfig_.positionalProperties[a.openPopupAction.position],c=a.popupConfig_.rtlPositionalProperties&&a.popupConfig_.rtlPositionalProperties[a.openPopupAction.position];
b="rtl"==_.w("HTML_DIR")&&c?c:b;b.shiftedHorizontalOffset&&(c=a.popup.style.display,a.popup.style.display="block",a.popupContent&&a.popup.positionTarget&&a.popupContent.clientWidth>a.popup.positionTarget.clientWidth&&(b.horizontalOffset=a.popup.positionTarget.clientWidth/2-b.shiftedHorizontalOffset),a.popup.style.display=c);Eqb(a,b)}},Gqb=function(a,b){if(b)for(var c in b)a.popup.style[c]=b[c]},Aqb=function(a){return _.Fg(a.openPopupAction.popup,"renderer")||_.Fg(a.openPopupAction.popup,"dialog")||
void 0};
sT.prototype.getPopupDurationMs_=function(){var a=this.openPopupAction.durationHintMs;return 0===a?a:Math.max(4E3,a||4E3)};
var Bqb=function(a,b){(a=a.getElement_(b,a.target))?a.is?a.set||_.Rf(new _.ge("popup getElement result is not initialized",b)):_.Rf(new _.ge("popup getElement result is not a polymer element",b)):_.Rf(new _.ge("popup getElement returned null",b));return a};
var Hqb={};
Hqb.YtPopupContainerBehavior=[_.iu.YtComponentBehavior,_.Y.YtActionHandlerBehavior,{created:function(){this.popupContainerConfig=null;this.popups_={};this.popupContainerActionMap_={"yt-close-popup-action":"handleClosePopupAction_","yt-close-popup-command":"handleClosePopupCommand_","yt-close-popups-action":"handleClosePopupsAction_","yt-close-all-popups-action":"handleCloseAllPopupsAction_","yt-get-popup-opened-action":"handleGetPopupOpenedAction_","yt-get-opened-popups-action":"handleGetOpenedPopupsAction_","yt-open-popup-action":"handleOpenPopupAction",
"yt-signal-action-close-popup":"handleSignalActionClosePopup_","yt-window-scrolled":"windowResizedOrScrolled_","yt-window-resized":"windowResizedOrScrolled_","yt-refit-popups-action":"refitPopups_"};this.narrowMediaQuery_=void 0;this.repositionEventsBound_=!1;this.setPopupVisibilityJobId_=this.setPopupPositioningJobId_=0;this.dynamicallyPositionedElements_=new Set},
attached:function(){this.registerActionMap(this.popupContainerActionMap_);_.X0a(this,!1)},
detached:function(){this.unregisterActionMap(this.popupContainerActionMap_);_.Y0a(this)},
windowResizedOrScrolled_:function(){this.setPopupPositioningJobId_||(this.setPopupPositioningJobId_=_.xe.addLowPriorityJob(this.setPopupPositioning_.bind(this)));this.setPopupVisibilityJobId_||(this.setPopupVisibilityJobId_=_.xe.addLowPriorityJob(this.setPopupVisibility_.bind(this)))},
setPopupPositioning_:function(){this.dynamicallyPositionedElements_.forEach(function(a){a.opened&&a.keepBelowPlayer&&this.ensurePopupBelowPlayer(a)},this);
this.setPopupPositioningJobId_=0},
setPopupVisibility_:function(){for(var a in this.popups_){var b=this.popups_[a];if("refit"==b.popup.scrollAction){var c=b.popup.positionTarget.getBoundingClientRect(),d=b.popup;c=c.top;var e=b;if(!e.naturalHeight_){e.popup.hidden=!1;e.popup.style.position="fixed";e.popup.style.top="0px";e.popup.style.left="0px";var h=e.popup.getBoundingClientRect();e.naturalHeight_=h.bottom-h.top;e.popup.refit()}d.hidden=!(c>=e.naturalHeight_+60);0==b.popupContent.clientHeight&&b.popup.refit()}}this.setPopupVisibilityJobId_=
0},
ensurePopupBelowPlayer:function(){return!1},
initPopupContainerBehavior:function(a){this.popupContainerConfig=a},
handleOpenPopupAction:function(a,b){var c=a.openPopupAction,d=_.x("kevlar_toast_manager")&&"TOAST"===c.popupType;d&&!c.uniqueId&&(c.uniqueId=_.oI());var e=this.ensurePopup_(c,b);return new _.wf(function(h){e.then(function(l){if(!l)return h();this.maybeCreateNarrowMediaQuery_();var m=this.createCacheKey(l.rendererName,l.openPopupAction.uniqueId);m=this.popups_[m];var p=!(!m||!m.openPopupAction.beReused);p=!!c.reusePopup||p;if(l.popup.opened&&!p){d||this.handleClosePopupAction_(l.rendererName,l.openPopupAction.uniqueId);
if(!d&&m&&m.target==b&&!l.openPopupAction.replacePopup)return h();_.nt(l.popup,function(){this.completeOpenPopupAction_(c,b,l);h()}.bind(this))}else l.popup.opened?l.updatePopup(c):this.completeOpenPopupAction_(c,b,l),h()}.bind(this))}.bind(this))},
completeOpenPopupAction_:function(a,b,c){var d=this.narrowMediaQuery_.queryMatches;c.target=b;b=c.target.popupPositionTarget||c.target;c.popupConfig_.targetContainer&&(b=c.JSC$40135_container_);c.popup.positionTarget=b;c.popupContent.positionTarget=b;c.popupConfig_.forceFocus&&(c.popupContent.tabIndex=0,c.popupContent.style.outline="none");_.x("kevlar_autofocus_menu_on_keyboard_nav")&&(c.popupContent.tabIndex=-1);c.popupConfig_.narrowProperties&&(c.popup.style.position="static");c.popupConfig_.preventAutonav&&
c.popup.setAttribute("prevent-autonav",!0);c.popupConfig_.forceCloseOnOutsideClick&&c.popup.setAttribute("force-close-on-outside-click",!0);Fqb(c,d);Gqb(c,c.popupConfig_.styles);"rtl"==_.w("HTML_DIR")&&Gqb(c,c.popupConfig_.rtlStyles);c.openPopupAction.shouldStopParentSignal||c.popupContent.startForwardingEvents&&c.target.parentComponent!=c.popupContent&&c.popupContent!=c.target&&c.popupContent.startForwardingEvents(c.popupContainerConfig_.forwardedEvents,c.target);c.updatePopup(a);a=c.popup;this.listen(a,
"iron-overlay-opened","onPopupIronOverlayOpened_");this.listen(a,"iron-overlay-closed","onPopupIronOverlayClosed_");this.listen(a,"iron-overlay-canceled","onPopupIronOverlayCanceled_");this.listen(a,"yt-refit","refitPopup_");this.listen(a,"yt-invalidate-popup-tabbables","handleInvalidatePopupTabbables_");a.open()},
getPopupDurationMs_:function(a){return 0===a.durationHintMs?a.durationHintMs:Math.max(4E3,a.durationHintMs||4E3)},
handleClosePopupAction_:function(a,b){var c=_.x("web_popup_cache_key_killswitch")||!!b;a||c?(a=this.createCacheKey(a,b),a=(a=this.popups_[a])&&a.popup):a=_.Cx(_.Dx);if(a&&a.close){if(b=_.Eg().resolve(_.Cg(_.Bo)))a.restoreFocusOnClose=b.isKeyBoardInUse();a.close()}},
handleClosePopupCommand_:function(a){a.closePopupCommand&&a.closePopupCommand.uniquePopupId&&this.handleClosePopupAction_(void 0,a.closePopupCommand.uniquePopupId)},
handleCloseAllPopupsAction_:function(a){var b={},c;for(c in this.popups_){b.$jscomp$loop$prop$key$3337=c;if(!a||!a.some(function(h){return function(l){return l==h.$jscomp$loop$prop$key$3337}}(b))){var d=this.popups_[b.$jscomp$loop$prop$key$3337],e=d.popup;
_.x("kevlar_toast_manager")&&"TOAST"===d.openPopupAction.popupType||e&&e.close&&e.close()}b={$jscomp$loop$prop$key$3337:b.$jscomp$loop$prop$key$3337}}},
handleClosePopupsAction_:function(a){a.forEach(function(b){(b=this.popups_[b])&&(b=b.popup)&&b.close&&b.close()}.bind(this))},
handleGetPopupOpenedAction_:function(a,b){return(b=this.createCacheKey(a,b))&&this.popups_[b]?this.popups_[a].popup.opened:!1},
handleGetOpenedPopupsAction_:function(){var a=[],b;for(b in this.popups_){var c=this.popups_[b];c.popup.opened&&a.push(c)}return a},
handleSignalActionClosePopup_:function(){this.handleCloseAllPopupsAction_()},
ensurePopup_:function(a,b){this.maybeCreateNarrowMediaQuery_();var c=_.Fg(a.popup,"renderer")||_.Fg(a.popup,"dialog");if(!c)return _.Mg();c=_.dka(c,Zhb(this.popupContainerConfig,c));return _.Mg(this.getAndMaybeCreatePopup_(a,c,b))},
getAndMaybeCreatePopup_:function(a,b,c){b=this.createCacheKey(b,a.uniqueId);if(this.popups_[b])return this.popups_[b];a=new sT({openPopupAction:a,target:c,container:this,popupContainerConfig:this.popupContainerConfig,getElement:this.getElement.bind(this)});return this.popups_[b]=a},
getElement:function(){return null},
maybeCreateNarrowMediaQuery_:function(){this.narrowMediaQuery_||(this.narrowMediaQuery_=document.createElement("iron-media-query"),this.narrowMediaQuery_.query="(max-width: 656px)",this.listen(this.narrowMediaQuery_,"query-matches-changed","openPopupQueryMatchesChanged_"),_.H(this.root).appendChild(this.narrowMediaQuery_))},
openPopupQueryMatchesChanged_:function(a){a=a.detail.value;for(var b in this.popups_)Fqb(this.popups_[b],a)},
onPopupIronOverlayClosed_:function(a){var b=a.currentTarget,c=b.getContentChildren();c=0<c.length?c[0]:b;a.detail.popup=b;a.detail.popupRenderer=c;var d,e={context:{openingElement:(null==(d=this.popups_[(null==c?void 0:c.is)||""])?void 0:d.target)||void 0}};Object.assign(e,a.detail);c.fire("yt-popup-closed",e);this.unlisten(b,"yt-refit","refitPopup_");this.unlisten(b,"yt-invalidate-popup-tabbables","handleInvalidatePopupTabbables_");this.unlisten(b,"iron-overlay-canceled","onPopupIronOverlayCanceled_");
this.unlisten(b,"iron-overlay-closed","onPopupIronOverlayClosed_");this.dynamicallyPositionedElements_.delete(b)},
onPopupIronOverlayCanceled_:function(a,b){var c=a.currentTarget,d=c.getContentChildren();(0<d.length?d[0]:c).fire("yt-popup-canceled",a.detail);d=_.H(b).path;(!b||["click","tap"].includes(b.type))&&!c.hasAttribute("force-close-on-outside-click")&&c.positionTarget&&d&&d.includes(c.positionTarget)&&a.preventDefault();c.restoreFocusOnClose=_.Xs.keyboardEventMatchesKeys(b,"esc")},
onPopupIronOverlayOpened_:function(a){a=a.currentTarget;var b=a.getContentChildren();b=0<b.length?b[0]:a;b.fire("yt-popup-opened",b);a.keepBelowPlayer&&(this.ensurePopupBelowPlayer(a,!0),this.dynamicallyPositionedElements_.add(a));var c=_.Eg().resolve(_.Cg(_.Bo));c&&c.isKeyBoardInUse()&&_.x("kevlar_autofocus_menu_on_keyboard_nav")&&("function"===typeof b.focusFirstItem?b.focusFirstItem():(b=_.Ax(a),b.length&&b[0].focus()));this.unlisten(a,"iron-overlay-opened","onPopupIronOverlayOpened_")},
refitPopup_:function(a){a=a.currentTarget;a.refit&&a.refit()},
refitPopups_:function(){for(var a in this.popups_)this.popups_[a].refit()},
handleInvalidatePopupTabbables_:function(a){a=a.currentTarget;a.invalidateTabbables&&a.invalidateTabbables()},
createCacheKey:function(a,b){return _.x("web_popup_cache_key_killswitch")?b?a+"#"+b:a:b?"#"+b:a}}];
var Iqb;
var Jqb;
var Kqb=_.Pi(["about:blank"]),tT=function(){var a=_.K.apply(this,arguments)||this;a.isMuted=!1;a.pageLoadTimeoutId=void 0;return a};
_.q(tT,_.K);_.f=tT.prototype;_.f.dataChanged=function(){var a=this;if(this.data){this.ytRendererBehavior.markDirty();this.isMuted=!1;var b=_.nb(_.wb(X$a(this.data.url)).toString());_.Cb(this.iframe,b);this.pageLoadTimeoutId=_.Jn(_.Ci(),function(){return void a.logStateChanged({pageLoadTimedOut:!0})},5E3);
_.dZa({destination:window,iframe:this.iframe,origin:_.f4a(b.toString()),channelName:"ataiframe",onMessage:Gdb(function(c){c.data instanceof Fdb?(c=_.Qa(c.data,1),1!==c.length?_.Rf(Error("rg")):(c=c[0],3===c?(a.isMuted=!0,a.logStateChanged({adMuteRequested:!0})):1===c&&a.close())):_.Rf(Error("sg"))}),
onEstablished:function(){a.cancelPageLoadTimeout();a.logStateChanged({pageLoadSucceeded:!0})}})}};
_.f.cancelPageLoadTimeout=function(){void 0!==this.pageLoadTimeoutId&&(_.Ci().cancelJob(this.pageLoadTimeoutId),this.pageLoadTimeoutId=void 0)};
_.f.logStateChanged=function(a){var b;if(null==(b=this.data)?0:b.trackingParams)a={adsClientData:{aboutThisAdData:a}},_.vp().stateChanged(this.data.trackingParams,a)};
_.f.close=function(){_.C(this,"yt-close-popup-action",[this.is])};
_.f.onPopupClosed=function(a){var b=this,c,d,e,h;return _.y(function(l){if(1==l.nextAddress){c=_.Pb(Kqb);_.Cb(b.iframe,c);b.cancelPageLoadTimeout();if(!b.data)return l.jumpTo(0);b.ytRendererBehavior.markDirty();d=a.detail.context.openingElement;return d&&"ytd-player"===String(d.tagName||"").toLowerCase()?_.B(l,d.getPlayerPromise(),4):(b.isMuted&&_.C(b,"yt-mute-ad-action",[b.is,b]),l.jumpTo(0))}e=l.yieldResult;h=new _.IH(e);var m=b.isMuted,p=b.data.layoutId;h.getOptions().includes("onAboutThisAdPopupClosed")?
_.X2a(h,"onAboutThisAdPopupClosed",{isMuted:m,layoutId:p}):_.d1a("Calling onAboutThisAdPopupClosed when adModule is not loaded");_.bf(l)})};
_.f.detached=function(){this.cancelPageLoadTimeout()};
_.f.ready=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.t.Object.defineProperties(tT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Jqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-about-this-ad-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ads.yt_about_this_ad_renderer.yt.about.this.ad.renderer.css.js--\x3e<iframe id="iframe"></iframe>';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Iqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ads.yt_about_this_ad_renderer.yt.about.this.ad.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {display: block;margin: 0;padding: 0;overflow: hidden;height: calc(100vh - 2 * 64px);width: 720px;max-width: calc(100vw - 2 * 64px);} #iframe {margin: 0;padding: 0;height: 100%;width: 100%;background: var(--yt-spec-static-brand-white);} /*# sourceMappingURL=yt-about-this-ad-renderer.css.map*/</style>";
Iqb=d}d=Iqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Jqb=a}a=Jqb;return a}}});
var uT=tT;uT.prototype.onPopupClosed=uT.prototype.onPopupClosed;uT.prototype.dataChanged=uT.prototype.dataChanged;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],uT.prototype,"ytRendererBehavior",void 0);_.S([_.Z("#iframe"),_.T("design:type",HTMLIFrameElement)],uT.prototype,"iframe",void 0);_.S([_.N(),_.T("design:type",Object)],uT.prototype,"data",void 0);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],uT.prototype,"dataChanged",null);
_.S([_.O("yt-popup-closed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype",Promise)],uT.prototype,"onPopupClosed",null);uT=_.S([_.lu({is:"yt-about-this-ad-renderer",noInjection:!0})],uT);
var Lqb;
var Mqb;
var vT=function(){return _.K.apply(this,arguments)||this};
_.q(vT,_.K);_.f=vT.prototype;_.f.attached=function(){this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.configureRendererStamper=function(){return{"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0}}}},"data.backButton":{id:"back-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.submitButton":{id:"submit-button",mapping:{buttonRenderer:"yt-button-renderer"}}}};
_.f.ready=function(){this.$["submit-button"].addEventListener("yt-action",this.onSubmitYtAction.bind(this))};
_.f.onSubmitYtAction=function(a){var b=a.detail;"yt-service-request"===b.actionName&&(b=b.args[1],b.flagEndpoint&&(a.stopPropagation(),a={text:this.description,minutes:Number(this.minutes),seconds:Number(this.seconds)},this.vssId&&(a.vss_id=this.vssId),_.Kg(this,[b,a]),this.submitDisabled=!0))};
_.f.dataChanged=function(){var a=this;this.vssId=this.description=this.seconds=this.minutes="";this.submitDisabled=!1;var b=_.sv();b&&b.getPlayerPromise().then(function(c){var d=c.getOption("cc","track")||c.getOption("captions","track");d&&(a.vssId=d.vss_id);c=c.getCurrentTime();a.minutes=Math.floor(c/60).toString();a.seconds=(Math.floor(c)%60).toString()})};
_.f.updateSubmitButtonState=function(a,b,c,d){var e;(null==(e=this.data)?0:e.isFreeformReason)?this.set("data.submitButton.buttonRenderer.isDisabled",d||""===a||""===b||3>c.length):this.set("data.submitButton.buttonRenderer.isDisabled",d||""===a||""===b)};
_.f.onYtServiceRequestCompleted=function(){_.C(this,"yt-close-popup-action")};
_.f.onYtServiceRequestError=function(){this.submitDisabled=!1};
_.f.updateMinutesFromBinding=function(a){this.minutes=a.detail.value};
_.f.updateSecondsFromBinding=function(a){this.seconds=a.detail.value};
_.f.updateDescriptionFromBinding=function(a){this.description=a.detail.value};
_.t.Object.defineProperties(vT.prototype,{characterLimit:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.characterLimit)||500}},
textNumRows:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this.data)?void 0:a.textNumRows)||4}}});
_.t.Object.defineProperties(vT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Mqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-report-details-form-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.flag.yt_report_details_form_renderer.yt.report.details.form.renderer.css.js--\x3e<div id="header">\n  <div id="back-button"></div>\n  <h2 id="title">[[getSimpleString(data.title)]]</h2>\n</div>\n<div id="content">\n  <label id="timestamp">\n    [[getSimpleString(data.timestampLabel)]]\n    <yt-timestamp-input minutes="[[minutes]]" seconds="[[seconds]]" on-minutes-changed="updateMinutesFromBinding" on-seconds-changed="updateSecondsFromBinding"></yt-timestamp-input>\n  </label>\n  <div id="description">\n    <tp-yt-paper-input-container no-label-float="" use-v2-underline="">\n      <tp-yt-iron-autogrow-textarea id="description-text" class="paper-input-input" slot="input" aria-label$="[[getSimpleString(data.descriptionHint)]]" maxlength$="[[characterLimit]]" placeholder="[[getSimpleString(data.descriptionHint)]]" rows$="[[textNumRows]]" value="[[description]]" on-value-changed="updateDescriptionFromBinding">\n      </tp-yt-iron-autogrow-textarea>\n      <tp-yt-paper-input-char-counter slot="add-on"></tp-yt-paper-input-char-counter>\n    </tp-yt-paper-input-container>\n  </div>\n  <yt-formatted-string id="footer" text="[[data.footer]]"></yt-formatted-string>\n</div>\n<div id="buttons">\n  <div id="cancel-button"></div>\n  <div id="submit-button"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Lqb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.flag.yt_report_details_form_renderer.yt.report.details.form.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--paper-input-container-input-align: baseline;display: block;background: var(--yt-spec-brand-background-primary);color: var(--yt-spec-text-primary);width: 450px;max-width: 80vw;min-height: 240px;min-width: 250px;margin: 0;padding: 0;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;margin: 16px 12px 0;} #title {font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;margin-left: 8px;} #content {margin: 16px 24px 24px;} #timestamp {display: block;color: var(--yt-spec-text-secondary);font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;} #description {margin-top: 24px;} #description tp-yt-paper-input-container {--paper-input-container-underline-display: none;--paper-input-container-underline-focus-display: none;--paper-input-container-input-color: var(--yt-spec-text-primary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-input: {padding: 12px;box-sizing: border-box;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);};padding-top: 0;padding-bottom: 0;} #description-text {display: inline-block;--iron-autogrow-textarea: {padding: 10px;box-sizing: border-box;};box-shadow: inset 0 0 0 1px var(--yt-spec-10-percent-layer);border-radius: 2px;box-sizing: border-box;} #description-text[focused] {box-shadow: inset 0 0 0 2px var(--yt-spec-text-primary);} #description tp-yt-paper-input-char-counter {--paper-input-char-counter: {color: var(--yt-spec-text-secondary);margin-top: -32px;margin-right: 18px;};} #footer {--yt-endpoint-hover-color: var(--yt-endpoint-color);display: block;color: var(--yt-spec-text-secondary);margin-top: 24px;font-size: 1.2rem;font-weight: 400;line-height: 1.5rem;} #buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);margin-top: 32px;padding: 8px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #buttons yt-button-renderer {margin-left: 8px;} /*# sourceMappingURL=yt-report-details-form-renderer.css.map*/</style>';
Lqb=d}d=Lqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Mqb=a}a=Mqb;return a}}});
var wT=vT;wT.prototype.onYtServiceRequestError=wT.prototype.onYtServiceRequestError;wT.prototype.onYtServiceRequestCompleted=wT.prototype.onYtServiceRequestCompleted;wT.prototype.updateSubmitButtonState=wT.prototype.updateSubmitButtonState;_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],wT.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],wT.prototype,"ytRendererBehavior",void 0);
_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],wT.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Boolean)],wT.prototype,"submitDisabled",void 0);_.S([_.N(),_.T("design:type",String)],wT.prototype,"minutes",void 0);_.S([_.N(),_.T("design:type",String)],wT.prototype,"seconds",void 0);_.S([_.N(),_.T("design:type",String)],wT.prototype,"description",void 0);_.S([_.N(),_.T("design:type",String)],wT.prototype,"vssId",void 0);
_.S([_.V("data"),_.T("design:type",Number),_.T("design:paramtypes",[])],wT.prototype,"characterLimit",null);_.S([_.V("data"),_.T("design:type",Number),_.T("design:paramtypes",[])],wT.prototype,"textNumRows",null);_.S([_.Ct("minutes","seconds","description","submitDisabled"),_.T("design:type",Function),_.T("design:paramtypes",[String,String,String,Boolean]),_.T("design:returntype")],wT.prototype,"updateSubmitButtonState",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],wT.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],wT.prototype,"onYtServiceRequestError",null);wT=_.S([_.lu({is:"yt-report-details-form-renderer",noInjection:!0,notifyObserversOnUndefined:!1})],wT);
var Nqb;
var Oqb;
var Pqb;
var Qqb;
_.Ng({is:"yt-boolean-form-field-v2-renderer",_template:function(){if(void 0!==Qqb)return Qqb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-boolean-form-field-v2-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_boolean_form_field_v2_renderer.yt.boolean.form.field.v2.renderer.css.js--\x3e<tp-yt-paper-checkbox id="checkbox" aria-labelledby="yt-boolean-form-field-v2-renderer-label" checked="[[data.value]]" on-checked-changed="onCheckedChanged_">\n</tp-yt-paper-checkbox>\n<yt-formatted-string id="yt-boolean-form-field-v2-renderer-label" text="[[data.label]]" on-tap="onLabelTap_">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Pqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sections.yt_boolean_form_field_v2_renderer.yt.boolean.form.field.v2.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} tp-yt-paper-checkbox {--paper-checkbox-size: 18px;--paper-checkbox-vertical-align: top;--paper-checkbox-margin: 2px 0 0 0;} yt-formatted-string {padding-left: var(--yt-boolean-form-string-padding-left,var(--ytd-margin-6x));cursor: pointer;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} /*# sourceMappingURL=yt-boolean-form-field-v2-renderer.css.map*/</style>";
Pqb=d}d=Pqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Qqb=a},
behaviors:[_.U.YtRendererBehavior],properties:{data:Object},onCheckedChanged_:function(){if(this.data){var a=this.$.checkbox.checked;"yt-external-links-checkbox"===this.data.identifier?_.C(this,"yt-additional-detail-checkbox-update",[a]):a&&this.data.enableCommand?_.C(this,"yt-modify-report-form-command",[this.data.enableCommand.modifyReportFormCommand]):!a&&this.data.disableCommand&&_.C(this,"yt-modify-report-form-command",[this.data.disableCommand.modifyReportFormCommand])}},
onLabelTap_:function(a){"A"!=a.target.tagName&&(this.$.checkbox.checked=!this.$.checkbox.checked)}});
var xT=function(){var a=_.K.apply(this,arguments)||this;a.submitting=!1;a.submitButtonDisabled=!0;a.command=null;a.canShowCheckbox=!1;a.canShowAdditionalDetailCheckbox=!1;a.canShowNextButton=!1;a.additionalDetailCheckboxChecked=!1;a.refitJob=0;a.keepDropdownFocusedAfterSelection=!0;a.actionMap={"yt-report-form-update":"handleReportFormEndpointUpdateAction","yt-report-form-endpoint-update":"handleReportFormEndpointUpdateAction","yt-confirm-dialog-close-action":"handleConfirmDialogCloseAction","yt-modify-report-form-command":"handleModifyReportFormCommand",
"yt-additional-detail-checkbox-update":"handleAdditionalDetailCheckboxUpdateAction"};return a};
_.q(xT,_.K);_.f=xT.prototype;_.f.configureRendererStamper=function(){return{"data.legalReportCheckbox":{id:"checkbox-container",mapping:{booleanFormFieldV2Renderer:{component:"yt-boolean-form-field-v2-renderer",noInjection:!0}}},"data.additionalDetailCheckbox":{id:"additional-detail-checkbox-container",mapping:{booleanFormFieldV2Renderer:{component:"yt-boolean-form-field-v2-renderer",noInjection:!0}}}}};
_.f.created=function(){this.refitJob=0};
_.f.attached=function(){this.JSC$40163_scroller&&(this.JSC$40163_scroller.dialogElement=this.parentNode,this.JSC$40163_scroller.attached&&"function"===typeof this.JSC$40163_scroller.attached&&this.JSC$40163_scroller.attached());this.hasAttribute("dialog")||this.setAttribute("dialog","true")};
_.f.dataChanged=function(a){a&&(this.toggleSubmitButton(!!this.get("data.submitButton.buttonRenderer.isDisabled")),this.set("data.submitButton.buttonRenderer.isDisabled",void 0),this.set("data.nextButton.buttonRenderer.isDisabled",void 0),this.command=null,this.additionalDetailCheckboxChecked=this.canShowNextButton=this.canShowAdditionalDetailCheckbox=this.canShowCheckbox=this.hideReportForm=this.submitting=!1,a.legalReportCheckbox&&this.set("data.legalReportCheckbox.booleanFormFieldV2Renderer.value",
!1),a.additionalDetailCheckbox&&this.set("data.additionalDetailCheckbox.booleanFormFieldV2Renderer.value",!1),this.updateDialogStyling())};
_.f.onYtPopupOpened=function(){var a=_.sv();a&&a.getPlayerPromise().then(function(b){b.pauseVideo()})};
_.f.onYtNavigate=function(a){var b=a.detail.endpoint;b&&b.confirmDialogEndpoint&&(a.stopPropagation(),this.hideReportForm=!0)};
_.f.onYtServiceRequestSent=function(){this.toggleSubmitButton(!0)};
_.f.onYtServiceRequestCompleted=function(a,b){var c=b.actions;if(c)for(var d=0,e=c.length;d<e;d++)c[d].openPopupAction&&(a.stopPropagation(),this.parentElement.close(),this.openPopupBehavior.openPopup(c[d]));if(b.data&&(a=this.get("feedbackResponses",b.data)))for(b=0;b<a.length;b++)if(a[b].isThumbnailReporting){this.parentElement.close();break}};
_.f.onYtServiceRequestError=function(){this.toggleSubmitButton(!1)};
_.f._onDescendantIronResize=function(a){a.stopPropagation();return!1};
_.f.handleReportFormEndpointUpdateAction=function(a){if(a.submitEndpoint){var b=this.command=a.submitEndpoint;b&&b.flagEndpoint&&b.flagEndpoint.additionalDetailCheckboxChecked&&(b.flagEndpoint.additionalDetailCheckboxChecked=this.additionalDetailCheckboxChecked);this.toggleSubmitButton(!1)}else a.submitNavigationEndpoint?(this.command=a.submitNavigationEndpoint,this.toggleSubmitButton(!1)):a.confirmDialog?(this.command={confirmDialogEndpoint:{content:{confirmDialogRenderer:a.confirmDialog.confirmDialogRenderer}}},
this.toggleSubmitButton(!1)):this.command=null;a.disableSubmitButton&&this.toggleSubmitButton(!0);this.handleModifyReportFormCommand(this.get("clickCommands.0.modifyReportFormCommand",a));this.refit()};
_.f.handleConfirmDialogCloseAction=function(a){a.confirmed?this.parentElement.close():this.hideReportForm=!1};
_.f.submitButtonDisabledChanged=function(){this.parentElement&&this.parentElement.invalidateTabbables&&this.parentElement.invalidateTabbables()};
_.f.handleModifyReportFormCommand=function(a){a=this.get("action",a);"REPORT_FORM_ACTION_LEGAL_CHECKBOX_HIDE"===a?this.canShowCheckbox=!1:"REPORT_FORM_ACTION_LEGAL_CHECKBOX_SHOW"===a?this.canShowCheckbox=!0:"REPORT_FORM_ACTION_ADDITIONAL_DETAIL_CHECKBOX_HIDE"===a?this.canShowAdditionalDetailCheckbox=!1:"REPORT_FORM_ACTION_ADDITIONAL_DETAIL_CHECKBOX_SHOW"===a?this.canShowAdditionalDetailCheckbox=!0:"REPORT_FORM_ACTION_SUBMIT_BUTTON_SHOW"===a?this.canShowNextButton=!1:"REPORT_FORM_ACTION_NEXT_BUTTON_SHOW"===
a&&(this.canShowNextButton=!0);this.refit()};
_.f.updateDialogStyling=function(){var a,b,c,d,e,h=2>=(null!=(e=null==(a=this.data)?void 0:null==(b=a.optionsSupportedRenderers)?void 0:null==(c=b.optionsRenderer)?void 0:null==(d=c.items)?void 0:d.length)?e:0)?0:240;this.updateStyles({"--yt-report-form-modal-renderer-min-width":h+"px"})};
_.f.toggleSubmitButton=function(a){this.submitButtonDisabled=!a;this.submitButtonDisabled=a};
_.f.computeSubmitButtonData=function(a,b){var c={};(null==b?0:b.confirmDialogEndpoint)?c.navigationEndpoint=b:c.command=b||void 0;a&&a.buttonRenderer&&_.u.extend(c,a.buttonRenderer);return c};
_.f.computeNextButtonData=function(a,b){var c={};if(!a||!a.buttonRenderer)return c;_.u.extend(c,a.buttonRenderer);if(!b)return c;b.confirmDialogEndpoint?c.navigationEndpoint=Sab(b):(c.command=Sab(b),c.command.flagEndpoint&&(c.command.flagEndpoint.legalCheckboxChecked=!0));return c};
_.f.computeShowNextButton=function(a,b,c){return!!a&&b&&c};
_.f.refit=function(){var a=this;this.refitJob||(this.refitJob=_.xe.addLowPriorityJob(function(){a.fire("yt-refit");a.refitJob=0}))};
_.f.handleAdditionalDetailCheckboxUpdateAction=function(a){this.additionalDetailCheckboxChecked=a;this.command.flagEndpoint.additionalDetailCheckboxChecked=a};
_.t.Object.defineProperties(xT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===Oqb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-report-form-modal-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.flag.yt_report_form_modal_renderer.yt.report.form.modal.renderer.css.js--\x3e<template is="dom-if" if="[[submitting]]" restamp="">\n  <div id="container">\n    <div id="loading-indicator">\n      <tp-yt-paper-spinner-lite active=""></tp-yt-paper-spinner-lite>\n    </div>\n  </div>\n</template>\n<yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n<tp-yt-paper-dialog-scrollable id="scroller">\n  <div id="container" hidden="[[!data]]">\n    <yt-formatted-string id="description" hidden="[[!data.description]]" text="[[data.description]]">\n    </yt-formatted-string>\n    <yt-options-renderer data="[[data.optionsSupportedRenderers.optionsRenderer]]" restore-focus-on-close="[[keepDropdownFocusedAfterSelection]]">\n    </yt-options-renderer>\n    <div id="additional-detail-checkbox-container" hidden="[[!canShowAdditionalDetailCheckbox]]">\n    </div>\n    <div id="checkbox-container" hidden="[[!canShowCheckbox]]"></div>\n    <yt-formatted-string id="footer" hidden="[[!data.footer]]" split-lines="" text="[[data.footer]]">\n    </yt-formatted-string>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n<div class="buttons">\n  <yt-button-renderer id="cancel-button" data="[[data.cancelButton.buttonRenderer]]" dialog-dismiss="">\n  </yt-button-renderer>\n  <yt-button-renderer id="submit-button" data="[[computeSubmitButtonData(data.submitButton, command)]]" dialog-confirm="" disabled="[[submitButtonDisabled]]" hidden="[[computeShowNextButton(data.nextButton, canShowNextButton,\n              canShowCheckbox)]]">\n  </yt-button-renderer>\n  <yt-button-renderer id="next-button" data="[[computeNextButtonData(data.nextButton, command)]]" dialog-confirm="" hidden="[[!computeShowNextButton(data.nextButton, canShowNextButton,\n              canShowCheckbox)]]">\n  </yt-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Nqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.flag.yt_report_form_modal_renderer.yt.report.form.modal.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--yt-report-form-modal-renderer-width: 450px;background: var(--yt-spec-brand-background-solid);margin: 0;width: var(--yt-report-form-modal-renderer-width,450px);max-width: 80vw;min-height: var(--yt-report-form-modal-renderer-min-width,240px);min-width: var(--yt-report-form-modal-renderer-min-width,300px);padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dialog][dialog][dialog][hide-report-form]) {display: none;} :host>*:not(:last-child) {margin-top: 20px;padding: 0 24px;} :host>tp-yt-paper-dialog-scrollable:not(:last-child) {padding: 0;margin-top: 0;} tp-yt-paper-dialog-scrollable.is-scrolled {margin-top: 14px;} :host>*:first-child {margin-top: 24px;} tp-yt-paper-dialog-scrollable {--paper-dialog-scrollable-padding: 0 var(--ytd-margin-6x) var(--ytd-margin-6x) var(--ytd-margin-6x);} .buttons {padding: var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-6x);border-top: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #title {color: var(--yt-spec-text-primary);margin-bottom: var(--ytd-margin-base);padding: 0 var(--ytd-margin-6x) 0 var(--ytd-margin-6x);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #submit-container {padding-top: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #loading-indicator {height: 100%;width: 100%;position: absolute;z-index: var(--ytd-z-index-report-form-overlay);background-color: var(--yt-deprecated-white-opacity-lighten-1);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #message-container {color: var(--yt-spec-text-primary);padding: 0 var(--ytd-margin-6x) var(--ytd-margin-6x) var(--ytd-margin-6x);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #container {position: relative;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #description {margin: var(--ytd-margin-4x) 0 var(--ytd-margin-2x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} yt-options-renderer {--yt-options-renderer-dropdown-width: calc( var(--yt-report-form-modal-renderer-width) - (var(--ytd-margin-6x) * 2) - var(--ytd-margin-11x) - var(--ytd-margin-4x) );} #footer {color: var(--yt-spec-text-secondary);margin: var(--ytd-margin-6x) 0 var(--ytd-margin-2x);font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);} #cancel-button {margin-right: var(--ytd-margin-2x);} #additional-detail-checkbox-container,#checkbox-container {--yt-boolean-form-string-padding-left: 0;padding: var(--ytd-margin-4x) 0 var(--ytd-margin-6x) 0;border-top: 1px solid var(--yt-spec-10-percent-layer);margin: 24px 0 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=yt-report-form-modal-renderer.css.map*/</style>";
Nqb=d}d=Nqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);Oqb=a}a=Oqb;return a}}});
var yT=xT;yT.prototype.onYtServiceRequestError=yT.prototype.onYtServiceRequestError;yT.prototype.onYtServiceRequestCompleted=yT.prototype.onYtServiceRequestCompleted;yT.prototype.onYtServiceRequestSent=yT.prototype.onYtServiceRequestSent;yT.prototype.onYtNavigate=yT.prototype.onYtNavigate;yT.prototype.onYtPopupOpened=yT.prototype.onYtPopupOpened;_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],yT.prototype,"openPopupBehavior",void 0);
_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],yT.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],yT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],yT.prototype,"ytActionHandlerBehavior",void 0);_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],yT.prototype,"eventForwardingBehavior",void 0);
_.S([_.L(_.xx),_.T("design:type",Object)],yT.prototype,"ironResizableBehavior",void 0);_.S([_.N({observer:"dataChanged"}),_.T("design:type",Object)],yT.prototype,"data",void 0);_.S([_.N(),_.T("design:type",Object)],yT.prototype,"submitting",void 0);_.S([_.N({observer:"submitButtonDisabledChanged"}),_.T("design:type",Object)],yT.prototype,"submitButtonDisabled",void 0);_.S([_.N(),_.T("design:type",Object)],yT.prototype,"command",void 0);
_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],yT.prototype,"hideReportForm",void 0);_.S([_.N(),_.T("design:type",Object)],yT.prototype,"canShowCheckbox",void 0);_.S([_.N(),_.T("design:type",Object)],yT.prototype,"canShowAdditionalDetailCheckbox",void 0);_.S([_.N(),_.T("design:type",Object)],yT.prototype,"canShowNextButton",void 0);_.S([_.N(),_.T("design:type",Object)],yT.prototype,"additionalDetailCheckboxChecked",void 0);
_.S([_.N(),_.T("design:type",Object)],yT.prototype,"refitJob",void 0);_.S([_.N(),_.T("design:type",Object)],yT.prototype,"keepDropdownFocusedAfterSelection",void 0);_.S([_.Z("#scroller"),_.T("design:type",Object)],yT.prototype,"JSC$40163_scroller",void 0);_.S([_.O("yt-popup-opened"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],yT.prototype,"onYtPopupOpened",null);
_.S([_.O("yt-navigate"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],yT.prototype,"onYtNavigate",null);_.S([_.O("yt-service-request-sent"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Qu]),_.T("design:returntype")],yT.prototype,"onYtServiceRequestSent",null);
_.S([_.O("yt-service-request-completed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,_.Ru]),_.T("design:returntype")],yT.prototype,"onYtServiceRequestCompleted",null);_.S([_.O("yt-service-request-error"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],yT.prototype,"onYtServiceRequestError",null);yT=_.S([_.lu({is:"yt-report-form-modal-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],yT);
var Rqb;
var Sqb;
var Tqb={},Uqb=(Tqb.WEB_REMIX="music.youtube.com",Tqb);
_.Ng({is:"yt-sharing-embed-renderer",_template:function(){if(void 0!==Sqb)return Sqb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-sharing-embed-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_sharing_embed_renderer.yt.sharing.embed.renderer.css.js--\x3e<div id="video-preview"></div>\n<div id="embed-panel">\n  <div id="title-bar">\n    <div id="embed-label">\n      <yt-formatted-string text="[[data.title]]"></yt-formatted-string>\n    </div>\n    <yt-icon id="close-panel-icon" icon="yt-icons:close" on-tap="closePanel_"></yt-icon>\n  </div>\n  <tp-yt-paper-dialog-scrollable id="content">\n    <div id="basic">\n      <tp-yt-paper-textarea id="embed-code" no-label-float="" use-v2-underline="" value="{{embedCode_}}"></tp-yt-paper-textarea>\n      <div id="start-at"></div>\n    </div>\n    <template is="dom-if" if="[[computeShowEmbedOptions_(data)]]">\n      <div id="embed-options">\n        <yt-formatted-string id="embed-options-label" text="[[data.embedOptionsLabel]]">\n        </yt-formatted-string>\n        <div id="layout-size">\n          \n        </div>\n        <tp-yt-paper-checkbox id="player-controls-option" checked="{{isPlayerControlsOptionChecked_}}">\n          <yt-formatted-string text="[[data.showPlayerControlsOptionLabel]]">\n          </yt-formatted-string>\n        </tp-yt-paper-checkbox>\n        <span id="privacy-mode-wrapper">\n          <tp-yt-paper-checkbox id="privacy-mode-option" checked="{{isPrivacyModeOptionChecked_}}">\n            <yt-formatted-string text="[[data.enablePrivacyModeOptionLabel]]">\n            </yt-formatted-string>\n          </tp-yt-paper-checkbox>\n          <yt-icon id="privacy-mode-info" icon="yt-icons:info-outline"></yt-icon>\n          <tp-yt-paper-tooltip id="privacy-tooltip" for="privacy-mode-info" position="top">\n            [[data.enablePrivacyModeOptionLabel.accessibility.accessibilityData.label]]\n          </tp-yt-paper-tooltip>\n        </span>\n      </div>\n    </template>\n    <div id="additional-info">\n      <div id="additional-links">\n        <yt-formatted-string class="link" text="[[data.apiReferenceLinkLabel]]">\n        </yt-formatted-string>\n        <yt-formatted-string class="link" text="[[data.developerSampleLinkLabel]]"></yt-formatted-string>\n      </div>\n      <yt-formatted-string id="legal-info" text="[[data.legalInfo]]"></yt-formatted-string>\n    </div>\n  </tp-yt-paper-dialog-scrollable>\n  <div id="action-buttons"></div>\n</div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),
a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Rqb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.sharing.yt_sharing_embed_renderer.yt.sharing.embed.renderer.css.js--\x3e<style>/**\n@license\nCopyright (c) 2015 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\nSPDX-License-Identifier: BSD-3-Clause*/ :host([dialog][dialog][dialog]) {--paper-input-container-input-align: baseline;--divider-color: var(--yt-spec-10-percent-layer);margin: 0;max-width: 1280px;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -5px rgba(0,0,0,0.4);} :host {--preview-panel-small-width: 426px;--preview-panel-small-height: 240px;--preview-panel-medium-width: 640px;--preview-panel-medium-height: 360px;--preview-panel-default-width: 854px;--preview-panel-default-height: 480px;--embed-panel-default-width: 426px;--embed-panel-default-height: 480px;--embed-panel-medium-height: 360px;} :host([is-square-aspect-ratio_]) {--preview-panel-small-width: 426px;--preview-panel-small-height: 426px;--preview-panel-medium-width: 360px;--preview-panel-medium-height: 360px;--preview-panel-default-width: 480px;--preview-panel-default-height: 480px;} #title-bar {border-bottom: 1px solid var(--yt-spec-10-percent-layer);padding: var(--ytd-margin-4x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #embed-label {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #embed-label yt-formatted-string {color: var(--yt-spec-text-primary);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #close-panel-icon {--iron-icon-height: 24px;--iron-icon-width: 24px;color: var(--yt-spec-icon-active-other);cursor: pointer;} #content {-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} tp-yt-paper-dialog-scrollable {--paper-dialog-scrollable-padding: 0;} tp-yt-paper-input,tp-yt-paper-textarea {--paper-input-container-input-color: var(--yt-spec-text-secondary);--paper-input-container-focus-color: var(--yt-spec-text-primary);--paper-input-container-underline-color: var(--yt-spec-10-percent-layer);--paper-input-container-underline-disabled-display: none;} tp-yt-paper-input tp-yt-paper-input-container[style-target=host],tp-yt-paper-textarea tp-yt-paper-input-container[style-target=host] {padding: 0;} #embed-code {--paper-input-container-input: {font-family: "Roboto Mono",monospace;font-size: var(--ytd-code-snippet-font-size);font-weight: 400;line-height: var(--ytd-code-snippet-line-height);};margin-right: 80px;} yt-start-at-renderer {margin-top: var(--ytd-margin-4x);margin-bottom: var(--ytd-margin-4x);} tp-yt-paper-checkbox {margin: var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-2x) 0;} yt-formatted-string {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} #basic,#embed-options {padding: var(--ytd-margin-4x);} #basic {padding-bottom: 0;} #embed-options-label {color: var(--yt-spec-text-secondary);padding-bottom: var(--ytd-margin-2x);@apply --ytd-caption;} #layout-size {padding: var(--ytd-margin-2x) 0;} #additional-info {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: var(--ytd-margin-4x);} #additional-links {padding-bottom: var(--ytd-margin-4x);} .link {--yt-endpoint-color: var(--yt-spec-text-primary);margin-right: 24px;font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #legal-info {--yt-endpoint-color: var(--yt-spec-text-primary);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} #legal-info a {font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #action-buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #privacy-mode-wrapper {-ms-flex-align: center;-webkit-align-items: center;align-items: center;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} #privacy-mode-info {--iron-icon-height: 16px;--iron-icon-width: 16px;color: var(--yt-spec-icon-active-other);margin: var(--ytd-margin-2x) 0;} #video-preview {background: black;display: inherit;height: var(--preview-panel-default-height);width: var(--preview-panel-default-width);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} #embed-panel {background: var(--yt-spec-brand-background-primary);min-width: var(--embed-panel-default-width);height: var(--embed-panel-default-height);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} @media(min-width:1157px) and (max-width:1439px) {#video-preview,#video-preview iframe {height: var(--preview-panel-medium-height);width: var(--preview-panel-medium-width);max-width: var(--preview-panel-medium-width);}#embed-panel {width: var(--embed-panel-default-width);height: var(--embed-panel-medium-height);}} @media(max-width:1156px) {:host([dialog][dialog][dialog]) {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;}#video-preview,#video-preview iframe {min-height: var(--preview-panel-small-height);width: var(--preview-panel-small-width);}#embed-panel {min-width: var(--embed-panel-default-width);height: var(--embed-panel-default-height);}} /*# sourceMappingURL=yt-sharing-embed-renderer.css.map*/</style>';
Rqb=d}d=Rqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Sqb=a},
hostAttributes:{dialog:!0},behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior,_.Y.YtActionHandlerBehavior],properties:{data:Object,embedCode_:{type:String,computed:"computeEmbedCode_(data, startAtTimeStamp_, startAtChecked_, isPlayerControlsOptionChecked_, isPrivacyModeOptionChecked_)"},isPlayerControlsOptionChecked_:{type:Boolean,value:!0},isPrivacyModeOptionChecked_:{type:Boolean,value:!1},startAtChecked_:{type:Boolean,value:!1,notify:!0},startAtTimeStamp_:{type:String,value:0},isSquareAspectRatio_:{type:Boolean,
computed:"computeIsSquareAspectRatio_(data)",reflectToAttribute:!0}},listeners:{"yt-popup-closed":"onYtPopupClosed_"},actionMap:{"yt-signal-action-copy-share-embed-url":"handleSignalActionCopyShareEmbedUrl_","yt-share-panel-set-timestamp-action":"handleSetTimestamp_"},stampDom:{"data.actionButtons":{id:"action-buttons",mapping:{buttonRenderer:"yt-button-renderer"}},"data.startAt":{id:"start-at",mapping:{startAtRenderer:"yt-start-at-renderer"}}},created:function(){this.embedHost_=Uqb[_.w("INNERTUBE_CLIENT_NAME")]||
"www.youtube.com"},
ready:function(){this.$["embed-code"].addEventListener("tap",this.onEmbedCode_.bind(this))},
computeEmbedCode_:function(a,b,c,d,e){if(!a)return"";var h=a.videoId,l=a.fullListId,m=[];d||m.push("controls=0");c&&0<b&&m.push("start="+b);l&&(h="videoseries",m.push("list="+l));b="https://"+(e?"www.youtube-nocookie.com":this.embedHost_)+"/embed/"+h;a.clipId&&(m.push("clip="+a.clipId),m.push("clipt="+a.clipTiming));m=0<m.length?b+"?"+m.join("&amp;"):b;_.H(this.$["video-preview"]).innerHTML=this.getEmbedCode_(m,a.previewWidth||854,a.previewHeight||480);return this.getEmbedCode_(m,a.width||560,a.height||
315)},
computeIsSquareAspectRatio_:function(a){return a.previewHeight&&a.previewWidth?a.previewHeight==a.previewWidth:!1},
computeShowEmbedOptions_:function(a){return!!a.enablePrivacyModeOptionLabel||!!a.showPlayerControlsOptionLabel},
getEmbedCode_:function(a,b,c){return'<iframe width="'+b+'" height="'+c+'" src="'+a+'" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'},
handleSignalActionCopyShareEmbedUrl_:function(){this.$["embed-code"].inputElement.textarea.select();document.execCommand("copy");this.trackEmbedCopyUrl_()},
handleSetTimestamp_:function(a){this.startAtTimeStamp_=(this.startAtChecked_=a.isSet)?a.timestamp:0},
closePanel_:function(){_.C(this,"yt-close-popup-action",["yt-sharing-embed-renderer"])},
onEmbedCode_:function(){this.$["embed-code"].inputElement.textarea.select();this.trackEmbedCopyUrl_()},
onYtPopupClosed_:function(){_.Kx(this.$["video-preview"])},
trackEmbedCopyUrl_:function(){this&&this.data&&this.data.actionButtons&&0<this.data.actionButtons.length&&this.data.actionButtons[0].buttonRenderer&&this.logExplicitClick(this.data.actionButtons[0].buttonRenderer)}});
var Vqb={};Vqb.YtUnlimitedFamilyInterstitialBehavior=[_.Su.YtOpenPopupBehavior,_.Y.YtActionHandlerBehavior,{actionMap:{"yt-signal-action-show-previous-family-dialog":"handleSignalActionShowPreviousFamilyDialog_","yt-open-popup-action":"handleOpenPopupAction_"},listeners:{"yt-popup-closed":"onPopupClosed_"},created:function(){window.familyDialogHistory||(window.familyDialogHistory=[]);this.dialogHistory_=window.familyDialogHistory;this.showingPreviousDialog_=!1},
maybeCloseDialogOnFooterButtonTap:function(a){return _.nx(_.H(a).rootTarget,"yt-button-renderer").hasAttribute("footer-button")?(this.parentElement.close(),!0):!1},
pushToHistory:function(a){this.dialogHistory_.push(a)},
popFromHistory:function(){return this.dialogHistory_.pop()},
handleSignalActionShowPreviousFamilyDialog_:function(){var a=this.popFromHistory();if(a){var b={openPopupAction:{popupType:"DIALOG",popup:{}}};b.openPopupAction.popup[a.renderer]=a.data;this.showingPreviousDialog_=!0;this.openPopup(b)}},
handleOpenPopupAction_:function(a){if(this.showingPreviousDialog_)this.showingPreviousDialog_=!1;else{var b=["unlimitedFamilyMessageInterstitialRenderer","unlimitedFamilyProfileInterstitialRenderer"].some(function(d){return!!a.openPopupAction.popup[d]}),c=this.getElementName_();
b&&this.data&&(this.pushToHistory({renderer:c,data:this.data}),this.parentElement.close())}},
getElementName_:function(){var a=this.nodeName.split("-").slice(1).map(function(b){return""+b[0].toUpperCase()+b.slice(1).toLowerCase()}).join("");
return a[0].toLowerCase()+a.slice(1)}}];
var Wqb;
var Xqb;
_.Ng({is:"yt-unlimited-family-message-interstitial-renderer",_template:function(){if(void 0!==Xqb)return Xqb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-unlimited-family-message-interstitial-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_family_message_interstitial_renderer.yt.unlimited.family.message.interstitial.renderer.css.js--\x3e<tp-yt-paper-spinner active="[[loading]]"></tp-yt-paper-spinner>\n<div class="content-container" hidden="[[loading]]">\n  <div class="main-content">\n    <h2>[[getSimpleString(data.title)]]</h2>\n    <yt-formatted-string class="content" text="[[data.content]]"></yt-formatted-string>\n  </div>\n  <yt-img-shadow id="thumbnail" thumbnail="[[data.thumbnail]]" width="252"></yt-img-shadow>\n</div>\n<div class="footer-container" hidden="[[loading]]">\n  <yt-formatted-string class="footer" text="[[data.footer]]"></yt-formatted-string>\n  <div class="buttons">\n    <div id="dismiss-button" class="footer-button"></div>\n    <div id="action-button" class="footer-button"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Wqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_family_message_interstitial_renderer.yt.unlimited.family.message.interstitial.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);height: 340px;margin: 0;max-width: 608px;padding: var(--ytd-margin-6x);-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dialog][dialog][dialog][loading]) {min-height: 340px;min-width: 608px;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} :host([loading]) tp-yt-paper-spinner {display: block;} tp-yt-paper-spinner {display: none;} .content-container {margin: 0;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: flex-start;-webkit-align-self: flex-start;align-self: flex-start;} .main-content {margin-right: var(--ytd-margin-4x);} h2 {white-space: normal;color: var(--yt-spec-text-primary);display: block;max-height: calc(2 * var(--yt-navbar-title-line-height,2.4rem));overflow: hidden;font-size: var(--ytd-navbar-title-font-size);font-weight: var(--ytd-navbar-title-font-weight);line-height: var(--ytd-navbar-title-line-height);} .content {display: block;margin-top: var(--ytd-margin-3x);white-space: pre-line;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} .footer-container {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: var(--ytd-margin-4x) 0 0 0;margin: 0;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .footer {color: var(--yt-spec-text-secondary);@apply --ytd-thumbnail-attribution;} @media(max-width:605px) {#thumbnail {display: none;}} .buttons {padding-right: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: center;-webkit-align-self: center;align-self: center;} /*# sourceMappingURL=yt-unlimited-family-message-interstitial-renderer.css.map*/</style>";
Wqb=d}d=Wqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Xqb=a},
hostAttributes:{dialog:!0},behaviors:[_.Qw.YtEventForwardingBehavior,_.X.YtRendererstamperBehavior,Vqb.YtUnlimitedFamilyInterstitialBehavior,_.U.YtRendererBehavior],properties:{data:{type:Object,observer:"dataChanged_"},loading:{reflectToAttribute:!0,type:Boolean,value:!1}},listeners:{"yt-navigate":"onYtNavigate_","yt-service-request-completed":"onYtServiceRequestCompleted_","yt-service-request-sent":"onYtServiceRequestSent_","yt-popup-opened":"openPopupHandler_","yt-popup-closed":"closePopupHandler_"},
stampDom:{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"footer-button":!0}}}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0,"footer-button":!0}}}}},attached:function(){_.C(this,"yt-register-create-family-dialog");this.$.thumbnail.onShow()},
fireOnCloseCommand_:function(){this.data.onCloseCommand&&_.Lg(this,[this.data.onCloseCommand],this)},
onYtNavigate_:function(a){var b=a.detail.endpoint;b.unlimitedCreateFamilyEndpoint?(this.loading=!0,_.C(this,"yt-open-create-family-dialog",[b.unlimitedCreateFamilyEndpoint,this.unicornReadyCallback_.bind(this)]),a.stopPropagation()):this.maybeCloseDialogOnFooterButtonTap(a)},
onYtServiceRequestSent_:function(a,b){b&&b.endpoint&&b.endpoint.signalServiceEndpoint||(this.loading=!0)},
onYtServiceRequestCompleted_:function(){this.parentElement.close&&this.parentElement.close();this.loading=!1},
openPopupHandler_:function(a){a.detail==this&&this.data.onOpenCommands&&_.Lg(this,this.data.onOpenCommands,this)},
closePopupHandler_:function(a,b){this.fireOnCloseCommand_();(b&&!0===b.canceled||b&&!1===b.canceled&&!1===b.confirmed)&&this.data.onDismissCommands&&_.Lg(this,this.data.onDismissCommands,this)},
dataChanged_:function(){this.loading=!1},
unicornReadyCallback_:function(){this.parentElement.close&&this.parentElement.close();this.loading=!1}});
var Yqb;
var Zqb;
_.Ng({is:"yt-unlimited-family-profile-interstitial-renderer",_template:function(){if(void 0!==Zqb)return Zqb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-unlimited-family-profile-interstitial-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_family_profile_interstitial_renderer.yt.unlimited.family.profile.interstitial.renderer.css.js--\x3e<div class="content-container"><div class="left-side"><h2>[[getSimpleString(data.additionalInfoHeader)]]</h2><yt-formatted-string class="additional-info" text="[[data.additionalInfo]]"></yt-formatted-string></div><div class="right-side"><yt-img-shadow id="main-thumbnail" thumbnail="[[data.mainThumbnail]]" width="[[mainThumbnailWidth_]]"></yt-img-shadow><div class="secondary-thumbnails"><template is="dom-repeat" items="[[data.secondaryThumbnails]]"><yt-img-shadow class="secondary-thumbnail" thumbnail="[[item]]" width="36"></yt-img-shadow></template></div><span class="member-info">[[getSimpleString(data.memberInfo)]]</span><span class="member-title">[[getSimpleString(data.memberTitle)]]</span><div id="manage-button"></div></div></div><div class="buttons"><div id="dismiss-button"></div><div id="action-button"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Yqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unlimited_family_profile_interstitial_renderer.yt.unlimited.family.profile.interstitial.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);height: 340px;margin: 0;max-width: 608px;padding: var(--ytd-margin-6x);-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} .content-container {margin: 0;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} .left-side {margin-right: var(--ytd-margin-4x);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} h2 {color: var(--yt-spec-text-primary);display: block;max-height: calc(2 * var(--yt-navbar-title-line-height,2.4rem));overflow: hidden;font-size: var(--ytd-navbar-title-font-size);font-weight: var(--ytd-navbar-title-font-weight);line-height: var(--ytd-navbar-title-line-height);} .additional-info {display: block;margin-top: var(--ytd-margin-3x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} .right-side {width: 252px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} yt-img-shadow {border-radius: 50%;background-color: transparent;overflow: hidden;} #main-thumbnail {margin-bottom: var(--ytd-margin-2x);-ms-align-self: center;-webkit-align-self: center;align-self: center;} .secondary-thumbnails {margin-bottom: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-align-self: center;-webkit-align-self: center;align-self: center;} .secondary-thumbnail {margin-right: var(--ytd-margin-2x);} .secondary-thumbnail:last-of-type {margin-right: 0;} .member-info {color: var(--yt-spec-text-secondary);text-align: center;} .member-title {color: var(--yt-spec-text-primary);margin-top: var(--ytd-margin-base);text-align: center;font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #manage-button {-ms-align-self: center;-webkit-align-self: center;align-self: center;} .buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: var(--ytd-margin-4x) 0 0 0;margin: 0;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} /*# sourceMappingURL=yt-unlimited-family-profile-interstitial-renderer.css.map*/</style>";
Yqb=d}d=Yqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Zqb=a},
hostAttributes:{dialog:!0},properties:{data:Object,mainThumbnailWidth_:{type:Number,computed:"computeMainThumbnailWidth_(data.secondaryThumbnails)"},boundButtonTap_:{type:Function,value:function(){return this.onButtonTap_.bind(this)}}},
behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior,Vqb.YtUnlimitedFamilyInterstitialBehavior],stampDom:{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"footer-button":!0},properties:{"on-tap":"[[boundButtonTap_]]"}}}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0,"footer-button":!0}}}},"data.manageButton":{id:"manage-button",mapping:{buttonRenderer:"yt-button-renderer"}}},
attached:function(){_.H(this.root).querySelectorAll(".secondary-thumbnail").forEach(function(a){a.onShow()});
this.$["main-thumbnail"].onShow()},
onButtonTap_:function(a){this.maybeCloseDialogOnFooterButtonTap(a)},
computeMainThumbnailWidth_:function(a){return a&&0!==a.length?72:96}});
var $qb;
var arb;
_.Ng({is:"yt-unplugged-pause-membership-dialog-renderer",_template:function(){if(void 0!==arb)return arb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-unplugged-pause-membership-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unplugged_pause_membership_dialog_renderer.yt.unplugged.pause.membership.dialog.renderer.css.js--\x3e<tp-yt-paper-spinner-lite active="[[loading]]"></tp-yt-paper-spinner-lite><div class="dialog-title">[[getSimpleString(data.title)]]</div><div class="duration-title">\n  [[getSimpleString(selectedData_.pausePeriodMessage)]]\n</div><div class="duration-subtitle">\n  [[getSimpleString(selectedData_.pauseEndMessage)]]\n</div><tp-yt-paper-slider id="id-pause-slider" class="pause-slider" aria-label$="{{sliderAriaLabel_}}" max="[[selectIndexMax_]]" min="0" step="1" on-immediate-value-change="onSliderChange_" on-value-change="onSliderChange_"></tp-yt-paper-slider><template is="dom-repeat" items="[[data.dialogMessages]]"><yt-formatted-string class="body-message" split-lines="" text="[[item]]"></yt-formatted-string></template><div id="dialog-actions"><div id="secondary-button"></div><div id="primary-button"></div></div>';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===$qb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_unplugged_pause_membership_dialog_renderer.yt.unplugged.pause.membership.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {height: 100%;max-width: 600px;position: relative;padding: 0;margin: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([dialog][dialog][dialog][loading]) {height: 100%;max-width: 600px;position: relative;padding: 0;margin: 0;visibility: hidden;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} tp-yt-paper-spinner-lite {display: none;} :host([loading]) tp-yt-paper-spinner-lite {display: block;position: absolute;margin-left: auto;margin-right: auto;left: 50%;top: 50%;transform: translateX(-50%);visibility: visible;} .dialog-title {color: var(--yt-spec-text-primary);margin: var(--ytd-margin-6x) 0 var(--ytd-margin-5x) var(--ytd-margin-6x);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} .duration-title {color: var(--yt-spec-text-primary);margin-left: var(--ytd-margin-6x);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} .duration-subtitle {margin: 0 0 var(--ytd-margin-2x) var(--ytd-margin-6x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} .pause-slider {--paper-slider-active-color: var(--yt-spec-static-brand-red);--paper-slider-knob-color: var(--yt-spec-static-brand-red);--paper-slider-knob-start-border-color: var(--yt-spec-static-brand-red);--paper-slider-knob-start-color: var(--yt-spec-static-brand-red);--paper-slider-container-color: var(--yt-spec-icon-disabled);margin: 0 var(--ytd-margin-6x) var(--ytd-margin-3x) var(--ytd-margin-3x);width: 90%;max-width: 36rem;} .body-message {margin: var(--ytd-margin-2x) var(--ytd-margin-6x) var(--ytd-margin-5x) var(--ytd-margin-6x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} #dialog-actions {border-top: 1px solid var(--yt-spec-10-percent-layer);padding: var(--ytd-margin-2x) 0;margin-top: var(--ytd-margin-4x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} #secondary-button,#primary-button {margin-right: var(--ytd-margin-2x);} /*# sourceMappingURL=yt-unplugged-pause-membership-dialog-renderer.css.map*/</style>";
$qb=d}d=$qb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return arb=a},
hostAttributes:{dialog:!0},behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior],listeners:{"yt-popup-closed":"closePopupHandler_","yt-popup-opened":"onPopupOpened_","yt-service-request-completed":"onYtServiceRequestCompleted","yt-service-request-sent":"onYtServiceRequestSent"},properties:{data:{type:Object,observer:"dataChanged_"},loading:{reflectToAttribute:!0,type:Boolean,value:!1},selectIndexMax_:Number,selectedData_:Object,sliderAriaLabel_:{type:String,value:null},onButtonTap_:{type:Function,
value:function(){return this.onSubmitTap_.bind(this)}},
onSecondaryTap_:{type:Function,value:function(){return this.onExitButtonTap_.bind(this)}}},
stampDom:{"data.primaryButton":{id:"primary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{"on-tap":"[[onButtonTap_]]"}}}},"data.secondaryButton":{id:"secondary-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0},properties:{"on-tap":"[[onSecondaryTap_]]"}}}}},onPopupOpened_:function(a){a.detail==this&&_.x("enable_premium_voluntary_pause")&&(_.C(this,"yt-close-popup-action",["yt-confirm-dialog-renderer"]),this.handleOnOpenCommands_())},
created:function(){this.selectedIndex_=0},
setDialogData:function(a){this.data=a;this.resetSlider_()},
dataChanged_:function(){this.data&&this.resetSlider_()},
onSubmitTap_:function(){if(this.data.confirmCommand){var a=this.data.confirmCommand;a.ypcPauseSubscriptionCommand&&_.Kg(this,[a,{resume_time_ms:parseInt(this.selectedData_.resumeTimeMs,10)}])}},
onExitButtonTap_:function(){_.C(this,"yt-close-popup-action",["yt-unplugged-pause-membership-dialog-renderer"])},
closePopupHandler_:function(a,b){(b&&!0===b.canceled||!1===b.canceled&&!1===b.confirmed)&&this.handleOnDismissCommands_()},
onSliderChange_:function(){this.selectedIndex_=this.$["id-pause-slider"].immediateValue;this.updateUiState_()},
updateUiState_:function(){this.data&&(this.selectedData_=this.data.endOptions[this.selectedIndex_],this.setSliderAriaLabel_())},
setSliderAriaLabel_:function(){this.selectedData_&&(this.sliderAriaLabel_=this.selectedData_.accessibilityData.label)},
resetSlider_:function(){if(this.data){var a=this.data.defaultEndOptionIndex||0,b=this.$["id-pause-slider"];if(b.immediateValue<a)for(;b.immediateValue!=a;)b.increment();else if(a<b.immediateValue)for(;b.immediateValue!=a;)b.decrement();this.selectedIndex_=a;this.selectIndexMax_=this.data.endOptions.length-1;this.updateUiState_()}},
handleOnOpenCommands_:function(){this.data&&this.data.onOpenCommands&&this.data.onOpenCommands&&_.Lg(this,this.data.onOpenCommands,this)},
handleOnDismissCommands_:function(){this.data&&this.data.onDismissCommands&&this.data.onDismissCommands&&_.Lg(this,this.data.onDismissCommands,this)},
onYtServiceRequestSent:function(){this.loading=!0},
onYtServiceRequestCompleted:function(){this.parentElement.close&&this.parentElement.close();this.loading=!1}});
var brb;
var crb;
var zT=function(){return _.K.apply(this,arguments)||this};
_.q(zT,_.K);zT.prototype.configureRendererStamper=function(){return{"data.vcBalance":{id:"vc-balance",mapping:_.TE("vcBalanceRenderer")}}};
_.t.Object.defineProperties(zT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===crb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-vc-offer-layout-header-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_offer_layout_header_renderer.yt.vc.offer.layout.header.renderer.css.js--\x3e<div id="vc-balance"></div>\n<yt-formatted-string id="description" text="[[data.description]]">\n</yt-formatted-string>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===brb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_offer_layout_header_renderer.yt.vc.offer.layout.header.renderer.css.js--\x3e<style>:host {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #vc-balance {margin-bottom: var(--ytd-margin-4x);} #description {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} /*# sourceMappingURL=yt-vc-offer-layout-header-renderer.css.map*/</style>";
brb=d}d=brb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);crb=a}a=crb;return a}}});
var AT=zT;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],AT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],AT.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],AT.prototype,"data",void 0);AT=_.S([_.lu({is:"yt-vc-offer-layout-header-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],AT);
var drb;
var erb;
var frb;
var grb;
var BT=function(){return _.K.apply(this,arguments)||this};
_.q(BT,_.K);BT.prototype.configureRendererStamper=function(){return{"data.vcIcon":{id:"vc-icon",mapping:{themedImageRenderer:{component:"yt-themed-image-renderer"}}}}};
_.t.Object.defineProperties(BT.prototype,{ariaLabel:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.accessibilityText?this.data.accessibilityText:""}},
vcOfferStyle:{configurable:!0,enumerable:!0,get:function(){return this.data&&this.data.style?this.data.style:"VC_OFFER_STYLE_STANDARD"}},
showTitleText:{configurable:!0,enumerable:!0,get:function(){return!(!this.data||"VC_OFFER_STYLE_HERO"!==this.data.style||!this.data.titleText)}}});
_.t.Object.defineProperties(BT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===grb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-vc-offer-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_offer_renderer.yt.vc.offer.renderer.css.js--\x3e<yt-formatted-string id="title-text" hidden="[[!showTitleText]]" text="[[data.titleText]]">\n</yt-formatted-string>\n<div id="standard-offer-container">\n  <div id="standard-offer-content">\n    <yt-formatted-string id="offer-info" text="[[data.offerInfo]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="description-text" hidden="[[!data.descriptionText]]" text="[[data.descriptionText]]">\n    </yt-formatted-string>\n    <div id="vc-icon"></div>\n    <yt-formatted-string id="price" text="[[data.price]]">\n    </yt-formatted-string>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===frb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_offer_renderer.yt.vc.offer.renderer.css.js--\x3e<style>:host {box-sizing: border-box;height: 142px;padding: var(--ytd-margin-4x);border: 2px solid var(--yt-spec-10-percent-layer);border-radius: var(--ytd-margin-2x);cursor: pointer;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} :host([vc-offer-style=VC_OFFER_STYLE_STANDARD]) {width: 136px;} :host([vc-offer-style=VC_OFFER_STYLE_HERO]) {width: 288px;} #title-text {width: 128px;font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height,1.8rem);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} #standard-offer-container {width: 104px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #standard-offer-content {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;} #offer-info {color: var(--yt-spec-text-primary);font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} #description-text {color: var(--yt-spec-text-secondary);text-align: center;font-size: var(--ytd-mini-attribution-font-size);font-weight: var(--ytd-mini-attribution-font-weight);line-height: var(--ytd-mini-attribution-line-height);} #vc-icon {margin-top: var(--ytd-margin-2x);margin-bottom: var(--ytd-margin-2x);} #price {color: var(--yt-spec-text-secondary);font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} /*# sourceMappingURL=yt-vc-offer-renderer.css.map*/</style>";
frb=d}d=frb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);grb=a}a=grb;return a}}});
var CT=BT;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],CT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],CT.prototype,"ytRendererstamperBehavior",void 0);_.S([_.L(_.xF.YtTappableItemBehavior),_.T("design:type",Object)],CT.prototype,"ytTappableItemBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],CT.prototype,"data",void 0);
_.S([_.N({reflectToAttribute:!0}),_.V("data.accessibilityText"),_.T("design:type",String),_.T("design:paramtypes",[])],CT.prototype,"ariaLabel",null);_.S([_.N({reflectToAttribute:!0}),_.V("data.style"),_.T("design:type",String),_.T("design:paramtypes",[])],CT.prototype,"vcOfferStyle",null);_.S([_.V("data.style","data.titleText"),_.T("design:type",Boolean),_.T("design:paramtypes",[])],CT.prototype,"showTitleText",null);
CT=_.S([_.lu({is:"yt-vc-offer-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],CT);
var DT=function(){return _.K.apply(this,arguments)||this};
_.q(DT,_.K);DT.prototype.configureRendererStamper=function(){return{"data.header":{id:"header",mapping:{vcOfferLayoutHeaderRenderer:{component:"yt-vc-offer-layout-header-renderer"}}},"data.offers":{id:"offers",mapping:{vcOfferRenderer:{component:"yt-vc-offer-renderer",attributes:{"dialog-dismiss":!0}}}}}};
_.t.Object.defineProperties(DT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===erb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-vc-offer-layout-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_offer_layout_renderer.yt.vc.offer.layout.renderer.css.js--\x3e<div id="vc-offer-layout-container">\n  <div id="header"></div>\n  <div id="offers-container">\n    <div id="offers"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===drb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_vc_offer_layout_renderer.yt.vc.offer.layout.renderer.css.js--\x3e<style>:host {--yt-vc-offer-renderer-width: 136px;padding: var(--ytd-margin-8x) 0;background-color: var(--yt-spec-general-background-a);width: 80vw;max-width: 600px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #vc-offer-layout-container {max-width: calc(var(--yt-vc-offer-renderer-width) * 3 + var(--ytd-margin-4x) * 2 + var(--ytd-margin-2x) * 2);} @media(max-width:568px) {#vc-offer-layout-container {max-width: calc(var(--yt-vc-offer-renderer-width) * 2 + var(--ytd-margin-4x) + var(--ytd-margin-2x) * 2);}} #header {margin: 0 var(--ytd-margin-2x) var(--ytd-margin-4x) var(--ytd-margin-2x);} #offers {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-wrap: wrap;-webkit-flex-wrap: wrap;flex-wrap: wrap;} #offers>.yt-vc-offer-layout-renderer {margin: var(--ytd-margin-2x);} /*# sourceMappingURL=yt-vc-offer-layout-renderer.css.map*/</style>";
drb=d}d=drb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);erb=a}a=erb;return a}}});
var ET=DT;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],ET.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],ET.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],ET.prototype,"data",void 0);ET=_.S([_.lu({is:"yt-vc-offer-layout-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],ET);
var hrb;
var irb;
var jrb;
var krb;
var FT=function(){return _.K.apply(this,arguments)||this};
_.q(FT,_.K);FT.prototype.configureRendererStamper=function(){return{"data.dismiss":{id:"dismiss",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0},params:{noink:!0}}}},"data.helpLink":{id:"help-link",mapping:{buttonRenderer:{component:"yt-button-renderer",params:{noink:!0}}}}}};
_.t.Object.defineProperties(FT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===krb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-ypc-offers-modal-top-bar-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_offers_modal_top_bar_renderer.yt.ypc.offers.modal.top.bar.renderer.css.js--\x3e<div id="dismiss"></div>\n<yt-formatted-string id="title" text="[[data.title]]"></yt-formatted-string>\n<div id="help-link"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===jrb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_offers_modal_top_bar_renderer.yt.ypc.offers.modal.top.bar.renderer.css.js--\x3e<style>:host {background-color: var(--yt-spec-brand-background-solid);padding: var(--ytd-margin-2x);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} #title {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-primary));} /*# sourceMappingURL=yt-ypc-offers-modal-top-bar-renderer.css.map*/</style>";
jrb=d}d=jrb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);krb=a}a=krb;return a}}});
var GT=FT;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],GT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],GT.prototype,"ytRendererstamperBehavior",void 0);_.S([_.N(),_.T("design:type",Object)],GT.prototype,"data",void 0);GT=_.S([_.lu({is:"yt-ypc-offers-modal-top-bar-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],GT);
var HT=function(){return _.K.apply(this,arguments)||this};
_.q(HT,_.K);HT.prototype.configureRendererStamper=function(){return{"data.topBar":{id:"top-bar",mapping:{ypcOffersModalTopBarRenderer:{component:"yt-ypc-offers-modal-top-bar-renderer"}}},"data.content":{id:"content",mapping:{vcOfferLayoutRenderer:{component:"yt-vc-offer-layout-renderer"}}}}};
HT.prototype.ready=function(){this.setAttribute("dialog","")};
HT.prototype.attached=function(){this.scrollable.dialogElement=this.parentNode;var a=this.scrollable;a.attached&&"function"===typeof a.attached&&a.attached()};
_.t.Object.defineProperties(HT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===irb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-ypc-offers-modal-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_offers_modal_renderer.yt.ypc.offers.modal.renderer.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scrollable">\n  <div id="top-bar"></div>\n  <div id="content"></div>\n</tp-yt-paper-dialog-scrollable>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===hrb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_offers_modal_renderer.yt.ypc.offers.modal.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {margin: 0;padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #scrollable {--paper-dialog-scrollable-padding: 0;} /*# sourceMappingURL=yt-ypc-offers-modal-renderer.css.map*/</style>";
hrb=d}d=hrb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);irb=a}a=irb;return a}}});
var IT=HT;_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],IT.prototype,"ytRendererBehavior",void 0);_.S([_.L(_.X.YtRendererstamperBehavior),_.T("design:type",Object)],IT.prototype,"ytRendererstamperBehavior",void 0);_.S([_.Z("#scrollable"),_.T("design:type",Object)],IT.prototype,"scrollable",void 0);_.S([_.N(),_.T("design:type",Object)],IT.prototype,"data",void 0);IT=_.S([_.lu({is:"yt-ypc-offers-modal-renderer",notifyObserversOnUndefined:!1,noInjection:!0})],IT);
var lrb;
var mrb;
_.Ng({is:"yt-ypc-upgrade-dialog-renderer",_template:function(){if(void 0!==mrb)return mrb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-ypc-upgrade-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_upgrade_dialog_renderer.yt.ypc.upgrade.dialog.renderer.css.js--\x3e<tp-yt-paper-dialog-scrollable id="scrollable">\n  <div id="content">\n    <div id="header">\n      <div id="title">\n        <yt-formatted-string id="dialog-title" text="[[data.header.dialogTitle]]"></yt-formatted-string>\n        <yt-formatted-string id="offer-title" text="[[data.header.offerDisplayTitle]]"></yt-formatted-string>\n      </div>\n      <yt-formatted-string id="access-message" text="[[data.header.accessMessage]]"></yt-formatted-string>\n    </div>\n\n    <div id="billing-details-container">\n      <template is="dom-repeat" items="[[data.billingDetails]]">\n        <div class="billing-item">\n          <div class="item-header">\n            <yt-formatted-string text="[[item.title]]"></yt-formatted-string>\n            <yt-formatted-string text="[[item.subtitle]]"></yt-formatted-string>\n          </div>\n          <yt-formatted-string class="item-description" text="[[item.description]]"></yt-formatted-string>\n        </div>\n      </template>\n    </div>\n    <template is="dom-if" if="[[data.legalText]]">\n      <div id="legal-text">\n        <yt-formatted-string text="[[data.legalText]]"></yt-formatted-string>\n      </div>\n    </template>\n  </div>\n</tp-yt-paper-dialog-scrollable>\n<div id="footer">\n  <div id="continue-button"></div>\n  <div id="cancel-button"></div>\n</div>\n<div id="spinner-overlay" hidden$="[[!showSpinner]]">\n    <tp-yt-paper-spinner-lite id="spinner" active=""></tp-yt-paper-spinner-lite>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===lrb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.ypc.yt_ypc_upgrade_dialog_renderer.yt.ypc.upgrade.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {--divider-color: var( --yt-spec-brand-background-solid );background-color: var(--yt-spec-brand-background-solid);margin: 0px;padding: 0px;max-width: 432px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #title {display: block;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);color: var(--yt-spec-text-primary);margin-top: var(--ytd-margin-6x);margin-left: var(--ytd-margin-6x);margin-bottom: var(--ytd-margin-3x);} #access-message {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);margin-left: var(--ytd-margin-6x);margin-right: var(--ytd-margin-6x);margin-bottom: var(--ytd-margin-3x);color: var(--yt-spec-text-secondary,var(--ytd-user-comment_-_color));} #scrollable {--paper-dialog-scrollable-padding: 0;margin-bottom: 2px;} #content {max-height: 600px;} #billing-details-container {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;border-top: 1px solid var(--yt-spec-10-percent-layer);border-bottom: 1px solid var(--yt-spec-10-percent-layer);} .billing-item {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;padding: var(--ytd-margin-3x) var(--ytd-margin-6x) var(--ytd-margin-3x) var(--ytd-margin-6x);border-top: 1px solid var(--yt-spec-10-percent-layer);} #billing-details-container .billing-item:first-child {border-top: none;} .item-header {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: justify;-webkit-justify-content: space-between;justify-content: space-between;font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);color: var(--yt-spec-text-primary);margin-bottom: var(--ytd-margin-2x);} .item-description {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color);color: var(--yt-spec-text-secondary);width: 75%;} #legal-text {font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);margin-left: var(--ytd-margin-6x);margin-right: var(--ytd-margin-6x);margin-top: var(--ytd-margin-3x);color: var(--yt-spec-text-secondary,var(--ytd-user-comment_-_color));} #footer {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row-reverse;-webkit-flex-direction: row-reverse;flex-direction: row-reverse;-ms-flex: none;-webkit-flex: none;flex: none;margin-bottom: var(--ytd-margin-4x);margin-top: var(--ytd-margin-4x);} #cancel-button {margin-right: var(--ytd-margin-2x);} #continue-button {margin-left: var(--ytd-margin-2x);margin-right: var(--ytd-margin-4x);} #spinner-overlay {width: 100%;height: 100%;position: absolute;top: 0;left: 0;margin: 0;padding: 0;background-color: var(--yt-spec-brand-background-secondary);} #spinner {position: absolute;top: calc(50% - 14px);left: calc(50% - 14px);--paper-spinner-color: var(--yt-spec-icon-inactive);} /*# sourceMappingURL=yt-ypc-upgrade-dialog-renderer.css.map*/</style>";
lrb=d}d=lrb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return mrb=a},
hostAttributes:{dialog:!0},behaviors:[_.U.YtRendererBehavior,_.X.YtRendererstamperBehavior,_.uF.YtOpenToastBehavior],properties:{data:{type:Object},showSpinner:{type:Boolean,value:!1},continueButtonTapped:{type:Boolean,value:!1},bindOnContinueTapped_:{type:Function,value:function(){return this.onContinueTapped_.bind(this)}}},
listeners:{"yt-service-request-completed":"onYtServiceRequestCompleted_","yt-service-request-error":"onYtServiceRequestError_","yt-popup-closed":"onYtPopupClosed_","yt-popup-opened":"onYtPopupOpened_"},stampDom:{"data.continueButton":{id:"continue-button",mapping:{buttonRenderer:{component:"yt-button-renderer",properties:{"on-tap":"[[bindOnContinueTapped_]]"}}}},"data.cancelButton":{id:"cancel-button",mapping:{buttonRenderer:{component:"yt-button-renderer",attributes:{"dialog-dismiss":!0}}}}},attached:function(){this.$.scrollable.dialogElement=
this.parentNode},
onYtServiceRequestCompleted_:function(){this.set("showSpinner",!1);_.C(this,"yt-close-popup-action",["yt-ypc-upgrade-dialog-renderer"])},
onYtPopupOpened_:function(a,b){b==this&&this.data.onOpenCommands&&_.Lg(this,this.data.onOpenCommands,this)},
onYtPopupClosed_:function(a,b){this.continueButtonTapped||b&&(!0===b.canceled||!1===b.canceled&&!1===b.confirmed)&&this.data.onDismissCommands&&_.Lg(this,this.data.onDismissCommands,this)},
onYtServiceRequestError_:function(a){this.set("showSpinner",!1);this.openToast(a.detail.error.message)},
onContinueTapped_:function(){this.set("continueButtonTapped",!0);_.x("enable_ypc_spinners")?_.C(this,"yt-close-popup-action",["yt-ypc-upgrade-dialog-renderer"]):this.set("showSpinner",!0)}});
var nrb;
var orb;
_.Ng({is:"yt-bubble-hint-renderer",_template:function(){if(void 0!==orb)return orb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-bubble-hint-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_bubble_hint_renderer.yt.bubble.hint.renderer.css.js--\x3e<div id="content">\n  <div id="text" hidden$="[[!data.text]]">\n    <yt-formatted-string text="[[data.text]]"></yt-formatted-string>\n  </div>\n  <div id="details-text" hidden$="[[!data.detailsText]]">\n    <yt-formatted-string text="[[data.detailsText]]"></yt-formatted-string>\n  </div>\n</div>\n<div class="buttons" hidden="[[!hasButtons_]]">\n  <div id="dismiss-button" hidden$="[[!data.dismissButton]]"></div>\n  <div id="accept-button" hidden$="[[!data.confirmButton]]"></div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===nrb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_bubble_hint_renderer.yt.bubble.hint.renderer.css.js--\x3e<style>:host([style_=BUBBLE_HINT_STYLE_UNKNOWN]) {position: relative;background-color: var(--yt-spec-brand-background-primary);min-width: 350px;box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -5px rgba(0,0,0,0.4);overflow: visible!important;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([style_=BUBBLE_HINT_STYLE_UNKNOWN]::after) {content: "";border-width: 15px;position: absolute;border-style: solid;top: 100%;right: calc(50% - 15px);border-color: var(--yt-spec-brand-background-primary) transparent transparent transparent;} :host([style_=BUBBLE_HINT_STYLE_UNKNOWN]) #text {display: block;color: var(--yt-spec-text-primary);margin: var(--ytd-margin-6x);margin-bottom: var(--ytd-margin-4x);font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} :host([style_=BUBBLE_HINT_STYLE_UNKNOWN]) #details-text {margin: 0 var(--ytd-margin-6x) var(--ytd-margin-6x);font-size: var(--ytd-user-comment_-_font-size);font-weight: var(--ytd-user-comment_-_font-weight);line-height: var(--ytd-user-comment_-_line-height);letter-spacing: var(--ytd-user-comment_-_letter-spacing);font-family: var(--ytd-user-comment_-_font-family);color: var(--ytd-user-comment_-_color,var(--yt-spec-text-secondary));} :host([style_=BUBBLE_HINT_STYLE_UNKNOWN]) .buttons {border-top: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([style_=BUBBLE_HINT_STYLE_UNKNOWN]) #dismiss-button,:host([style_=BUBBLE_HINT_STYLE_UNKNOWN]) #accept-button {margin-right: var(--ytd-margin-2x);padding: var(--ytd-margin-2x) 0;} :host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]) {--yt-button-color: var(--yt-spec-static-brand-white);display: block;min-width: 0;min-height: 0;max-width: 300px;position: relative;background-color: var(--yt-spec-dark-blue);color: var(--yt-spec-static-brand-white);overflow: visible!important;@apply --ytd-thumbnail-attribution;} :host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]) #text:not(:empty) {margin-bottom: var(--ytd-margin-2x);font-size: var(--ytd-link_-_font-size);font-weight: var(--ytd-link_-_font-weight);line-height: var(--ytd-link_-_line-height);letter-spacing: var(--ytd-link_-_letter-spacing);} :host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]) #content {padding: var(--ytd-margin-4x);} :host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP][has-buttons_]) #content {padding: var(--ytd-margin-4x) var(--ytd-margin-4x) var(--ytd-margin-base);} :host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]) #content yt-formatted-string,:host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]) #text yt-formatted-string {--yt-endpoint-color: var(--yt-spec-static-brand-white);--yt-endpoint-visited-color: var(--yt-spec-static-brand-white);--yt-endpoint-hover-color: var(--yt-spec-static-brand-white);--yt-endpoint-text-decoration: underline;} :host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]) .buttons {padding: var(--ytd-margin-2x) var(--ytd-margin-base);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]::before) {content: "";position: absolute;border-style: solid;top: 100%;border-width: 12px;right: calc(50% - 12px);border-color: var(--yt-spec-dark-blue) transparent transparent transparent;} :host([position-type=OPEN_POPUP_POSITION_TOPLEFT][style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]::before) {right: 12px;} :host([position-type=OPEN_POPUP_POSITION_TOPRIGHT][style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]::before) {left: 12px;right: auto;} :host([position-type=OPEN_POPUP_POSITION_LEFT][style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]::before) {top: calc(50% - 12px);left: 100%;right: auto;border-color: transparent transparent transparent var(--yt-spec-dark-blue);} :host([position-type=OPEN_POPUP_POSITION_RIGHT][style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]::before) {top: calc(50% - 12px);right: 100%;left: auto;border-color: transparent var(--yt-spec-dark-blue) transparent transparent;} :host([position-type=OPEN_POPUP_POSITION_BOTTOM][style_=BUBBLE_HINT_STYLE_BLUE_TOOLTIP]::before) {top: -24px;left: calc(50% - 12px);border-color: transparent transparent var(--yt-spec-dark-blue) transparent;} /*# sourceMappingURL=yt-bubble-hint-renderer.css.map*/</style>';
nrb=d}d=nrb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return orb=a},
behaviors:[_.U.YtRendererBehavior,_.Qw.YtEventForwardingBehavior,_.X.YtRendererstamperBehavior],properties:{data:Object,positionType:{type:String,reflectToAttribute:!0},hasButtons_:{type:Boolean,value:!1,reflectToAttribute:!0,computed:"computeHasButtons_(data)"},style_:{type:Boolean,computed:"computeStyle_(data.style)",reflectToAttribute:!0}},stampDom:{"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.confirmButton":{id:"accept-button",mapping:{buttonRenderer:"yt-button-renderer"}}},
computeHasButtons_:function(a){return!(!a.dismissButton&&!a.confirmButton)},
computeStyle_:function(a){return a||"BUBBLE_HINT_STYLE_UNKNOWN"}});
var prb;
var qrb;
_.Ng({is:"yt-fancy-dismissible-dialog-renderer",_template:function(){if(void 0!==qrb)return qrb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-fancy-dismissible-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_fancy_dismissible_dialog_renderer.yt.fancy.dismissible.dialog.renderer.css.js--\x3e<h2 hidden="[[!showTitle]]" id="title">[[getSimpleString(data.title)]]</h2>\n<tp-yt-paper-dialog-scrollable id="scroller">\n  <yt-formatted-string id="message" split-lines="" text="[[data.dialogMessage]]">\n  </yt-formatted-string>\n</tp-yt-paper-dialog-scrollable>\n<div class="buttons">\n  <yt-button-renderer id="confirm-button" data="[[computeConfirmButton_(data)]]" dialog-confirm="">\n  </yt-button-renderer>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===prb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_fancy_dismissible_dialog_renderer.yt.fancy.dismissible.dialog.renderer.css.js--\x3e<style>:host([dialog][dialog][dialog]) {background: var(--yt-spec-brand-background-primary);margin: 0;width: 450px;max-width: 80vw;min-width: var(--yt-legal-report-details-form-renderer-min-width);padding: 0;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host>*:not(:last-child) {padding: 0 var(--ytd-margin-6x);} :host>*:first-child {margin-top: var(--ytd-margin-6x);} h2 {color: var(--yt-spec-text-primary);margin-bottom: 0;font-size: var(--ytd-subheadline-font-size);font-weight: var(--ytd-subheadline-font-weight);line-height: var(--ytd-subheadline-line-height);letter-spacing: var(--ytd-subheadline-letter-spacing);} #scroller {--paper-dialog-scrollable-padding: 0;margin-top: var(--ytd-margin-5x);margin-bottom: var(--ytd-margin-6x);} #message {color: var(--yt-spec-text-primary);@apply --ytd-thumbnail-attribution;} .buttons {padding: var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-2x) var(--ytd-margin-6x);border-top: 1px solid var(--yt-spec-10-percent-layer);display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} /*# sourceMappingURL=yt-fancy-dismissible-dialog-renderer.css.map*/</style>";
prb=d}d=prb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return qrb=a},
hostAttributes:{dialog:!0},behaviors:[_.U.YtRendererBehavior],properties:{data:Object,showTitle:{type:Boolean,computed:"computeShowTitle_(data)"}},attached:function(){this.$.scroller.dialogElement=this.parentNode},
computeConfirmButton_:function(a){var b={text:a.confirmLabel,size:"SIZE_DEFAULT",style:"STYLE_BLUE_TEXT"};a.confirmNavigationEndpoint?b.navigationEndpoint=a.confirmNavigationEndpoint:a.confirmServiceEndpoint&&(b.serviceEndpoint=a.confirmServiceEndpoint);return b},
computeShowTitle_:function(a){return!(!a||!a.title)}});
var rrb;
var srb;
Polymer({is:"yt-loading-renderer",_template:function(){if(void 0!==srb)return srb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-loading-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_loading_renderer.yt.loading.renderer.css.js--\x3e<tp-yt-paper-spinner id="spinner" alt="[[data.accessibility.accessibility_data.label]]">\n</tp-yt-paper-spinner>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===rrb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_loading_renderer.yt.loading.renderer.css.js--\x3e<style>:host {display: inline-block;} tp-yt-paper-spinner {height: 40px;width: 40px;} /*# sourceMappingURL=yt-loading-renderer.css.map*/</style>";rrb=d}d=rrb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);
return srb=a},
behaviors:[_.U.YtRendererBehavior,_.Fx],properties:{data:Object},listeners:{"iron-overlay-opened":"onIronOverlayOpened_","iron-overlay-closed":"onIronOverlayClosed_"},created:function(){Dab(2201)},
onIronOverlayOpened_:function(){this.$.spinner&&(this.$.spinner.active=!0)},
onIronOverlayClosed_:function(){this.$.spinner&&(this.$.spinner.active=!1)}});
var trb;
var urb;
_.Ng({is:"yt-upsell-dialog-renderer",_template:function(){if(void 0!==urb)return urb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-upsell-dialog-renderer--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.renderers.yt_upsell_dialog_renderer.yt.upsell.dialog.renderer.css.js--\x3e<yt-img-shadow height="[[computeImageHeight_(data.headerBackgroundImage)]]" hidden="[[!hasHeader]]" thumbnail="[[data.headerBackgroundImage]]" width="[[computeImageWidth_(data.headerBackgroundImage)]]">\n</yt-img-shadow>\n<div id="dialog">\n  <div id="icon-container" hidden="[[!hasLogo]]"></div>\n  <yt-icon id="logo-icon" hidden="[[!data.dialogIcon]]" icon="[[computeIconType_(data)]]" target-container="icon-container">\n  </yt-icon>\n  <template is="dom-if" if="[[!hasLogo]]">\n    <yt-icon id="icon" hidden="[[!data.dialogIcon]]" icon="[[computeIconType_(data)]]">\n    </yt-icon>\n  </template>\n  <div id="content">\n    <yt-formatted-string id="upsell-dialog-title" split-lines="" text="[[data.dialogMessageTitle]]">\n    </yt-formatted-string>\n    <yt-formatted-string id="upsell-dialog-text" split-lines="" text="[[data.dialogMessageText]]">\n    </yt-formatted-string>\n  </div>\n  <div id="button-container">\n    <div id="dismiss-button" on-click="onDismissButtonTap_"></div>\n    <div id="action-button" on-click="onAcceptButtonTap_"></div>\n  </div>\n</div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===trb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.renderers.yt_upsell_dialog_renderer.yt.upsell.dialog.renderer.css.js--\x3e<style>:host(yt-icon),.yt-icon-container {display: -ms-inline-flexbox;display: -webkit-inline-flex;display: inline-flex;-ms-flex-align: center;-webkit-align-items: center;align-items: center;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;position: relative;vertical-align: middle;fill: var(--iron-icon-fill-color,currentcolor);stroke: var(--iron-icon-stroke-color,none);width: var(--iron-icon-width,24px);height: var(--iron-icon-height,24px);@apply --iron-icon;} :host(.external-container) {display: none!important;} :host {overflow: hidden;color: var(--yt-spec-text-primary);background: var(--yt-spec-brand-background-primary);max-width: 400px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([dialog][dialog][dialog]) {padding: 0;margin: 0;} #dialog {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #icon {margin: 24px 24px 0;} #content {padding: 24px 24px 0;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;-ms-flex-pack: center;-webkit-justify-content: center;justify-content: center;} #upsell-dialog-title {margin-bottom: 16px;font-family: "Roboto","Arial",sans-serif;font-size: 1.6rem;line-height: 2.2rem;font-weight: 400;display: block;} #upsell-dialog-text {font-family: "Roboto","Arial",sans-serif;font-size: 1.4rem;line-height: 2rem;font-weight: 400;display: block;} #action-button {margin-left: 8px;} #button-container {padding: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-pack: end;-webkit-justify-content: flex-end;justify-content: flex-end;} :host([has-logo]) #icon-container {width: 90px;height: 20px;margin: 24px 24px 0;-ms-flex: none;-webkit-flex: none;flex: none;} :host([has-logo]) #icon-container #youtube-paths path,:host([has-logo]) #icon-container #youtube-red-paths path {fill: var(--yt-spec-wordmark-text);} :host(:not([layout-style=UPSELL_DIALOG_RENDERER_LAYOUT_HORIZONTAL])) #content {padding: 16px 16px 0;-ms-flex: none;-webkit-flex: none;flex: none;} :host([layout-style=UPSELL_DIALOG_RENDERER_LAYOUT_HORIZONTAL]) {max-width: 800px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;} :host([layout-style=UPSELL_DIALOG_RENDERER_LAYOUT_HORIZONTAL]) #button-container {padding: 24px;} :host([popup-size=UPSELL_DIALOG_RENDERER_POPUP_SIZE_LARGE]) #upsell-dialog-title {margin-bottom: 24px;font-size: 3.2rem;font-weight: 500;line-height: 3.8rem;} /*# sourceMappingURL=yt-upsell-dialog-renderer.css.map*/</style>';
trb=d}d=trb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return urb=a},
hostAttributes:{dialog:!0},properties:{data:{type:Object,observer:"dataChanged_"},hasHeader:{type:Boolean,computed:"computeHasHeader_(data)"},layoutStyle:{type:String,computed:"computeLayoutStyle_(data.layout)",reflectToAttribute:!0},popupSize:{type:String,computed:"computePopupSize_(data.popupSize)",reflectToAttribute:!0},hasLogo:{type:Boolean,computed:"computeIsLogo_(data)",reflectToAttribute:!0}},behaviors:[_.X.YtRendererstamperBehavior,_.U.YtRendererBehavior],listeners:{"yt-popup-opened":"openPopupHandler_"},
stampDom:{"data.actionButton":{id:"action-button",mapping:{buttonRenderer:"yt-button-renderer"}},"data.dismissButton":{id:"dismiss-button",mapping:{buttonRenderer:"yt-button-renderer"}}},created:function(){this.closeOnDismissButton_=new Set;this.closeOnDismissButton_.add("UPSELL_DIALOG_DISMISS_STRATEGY_UNKNOWN");this.closeOnDismissButton_.add("UPSELL_DIALOG_DISMISS_STRATEGY_ONLY_DISMISS_BUTTON_TAP");this.closeOnAcceptButton_=new Set;this.closeOnAcceptButton_.add("UPSELL_DIALOG_DISMISS_STRATEGY_UNKNOWN");
this.closeOnAcceptButton_.add("UPSELL_DIALOG_DISMISS_STRATEGY_ONLY_ACTION_BUTTON_TAP");this.defaultDismissStrategy_="UPSELL_DIALOG_DISMISS_STRATEGY_UNKNOWN"},
dataChanged_:function(a){this.hidden=!a.isVisible;a.isVisible||this.impressionLog()},
openPopupHandler_:function(a){a.detail==this&&this.hidden&&_.C(this,"yt-close-popup-action",["yt-upsell-dialog-renderer"])},
onDismissButtonTap_:function(){this.closeOnDismissButton_.has(this.data.dismissStrategy||this.defaultDismissStrategy_)&&(this.set("data.isVisible",!1),_.C(this,"yt-close-popup-action",["yt-upsell-dialog-renderer"]))},
onAcceptButtonTap_:function(){this.closeOnAcceptButton_.has(this.data.dismissStrategy||this.defaultDismissStrategy_)&&(this.set("data.isVisible",!1),_.C(this,"yt-close-popup-action",["yt-upsell-dialog-renderer"]))},
computeHasHeader_:function(a){return!!a.headerBackgroundImage},
computeLayoutStyle_:function(a){return a},
computePopupSize_:function(a){return a},
computeIconType_:function(a){return a.dialogIcon&&a.dialogIcon.iconType?"YOUTUBE_LOGO"===a.dialogIcon.iconType?"yt-logos-ext:yt-logo-updated":"YOUTUBE_PREMIUM_LOGO"===a.dialogIcon.iconType?"yt-logos-ext:yt-logo-red-updated":a.dialogIcon.iconType:""},
computeIsLogo_:function(a){return!!a.dialogIcon&&!!a.dialogIcon.iconType&&("YOUTUBE_LOGO"===a.dialogIcon.iconType||"YOUTUBE_PREMIUM_LOGO"===a.dialogIcon.iconType)},
computeImageHeight_:function(a){return a&&a.thumbnails?a.thumbnails[0].height||0:0},
computeImageWidth_:function(a){return a&&a.thumbnails?a.thumbnails[0].width||0:0}});
var JT=function(){return _.K.apply(this,arguments)||this};
_.q(JT,_.K);JT.prototype.created=function(){Dab(2200);this.ytPopupContainerBehavior.initPopupContainerBehavior(aib);var a=_.Eg().resolve(_.Cs);a&&(a.container=this.ytPopupContainerBehavior)};
JT.prototype.ensurePopupBelowPlayer=function(a,b){var c=_.Eg().resolve(_.Cg(_.Co));if(!c||!c.isOnWatch()||!_.sv())return!1;c=c.getCurrentPage().getPlayerContainer().getBoundingClientRect().bottom;_.fJ().height>c+this.getPopupHeight(a,b)?(a.style.top="auto",a.style.bottom="0px"):(a.style.top=c+"px",a.style.bottom="auto");return!0};
JT.prototype.getPopupHeight=function(a,b){b&&(a.cachedPopupHeight=0);if(!a.cachedPopupHeight){b=0;var c=a.clientHeight,d=window.getComputedStyle(a);b+=parseInt(d.marginTop,10);b+=parseInt(d.marginBottom,10);a.cachedPopupHeight=c+b}return a.cachedPopupHeight};
JT.prototype.getElement=function(a){return document.createElement(a)};
_.t.Object.defineProperties(JT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===xqb){var a=document.createElement("template");a.innerHTML="\x3c!--css_build_scope:ytd-popup-container--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ui.ytd_popup_container.ytd.popup.container.css.js--\x3e";a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,
c=b.insertBefore;if(void 0===wqb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ui.ytd_popup_container.ytd.popup.container.css.js--\x3e<style>:host {display: block;position: absolute;top: 0;width: 100%;} /*# sourceMappingURL=ytd-popup-container.css.map*/</style>";wqb=d}d=wqb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);xqb=a}a=xqb;return a}}});
var KT=JT;_.S([_.L(Hqb.YtPopupContainerBehavior),_.T("design:type",Object)],KT.prototype,"ytPopupContainerBehavior",void 0);_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],KT.prototype,"ytComponentBehavior",void 0);KT=_.S([_.Q({asyncProperties:!0,is:"ytd-popup-container"})],KT);
var vrb;
var wrb;
var xrb={};xrb.YtLogYpcFlowCommandsBehavior=[_.Y.YtActionHandlerBehavior,{created:function(){this.logFlowCommandsMap_={"yt-log-ypc-flow-start-command":"handleLogYpcFlowStart_","yt-log-ypc-flow-dismiss-command":"handleLogYpcFlowDismiss_"}},
attached:function(){this.registerActionMap(this.logFlowCommandsMap_)},
detached:function(){this.unregisterActionMap(this.logFlowCommandsMap_)},
handleLogYpcFlowStart_:function(a){a.logYpcFlowStartCommand&&a.logYpcFlowStartCommand&&(a=a.logYpcFlowStartCommand,a.serializedTransactionFlowLoggingParams?_.S0a(a.serializedTransactionFlowLoggingParams):a.serializedYpcCancelFlowLoggingParams?(a=a.serializedYpcCancelFlowLoggingParams)&&_.JH("ypcCancelFlowStarted","serializedYpcCancelFlowLoggingParams",a):a.serializedYpcResumeFlowLoggingParams?(a=a.serializedYpcResumeFlowLoggingParams)&&_.JH("ypcResumeFlowStarted","serializedYpcResumeFlowLoggingParams",
a):a.serializedYpcPauseFlowLoggingParams?(a=a.serializedYpcPauseFlowLoggingParams)&&_.JH("ypcPauseFlowStarted","serializedYpcPauseFlowLoggingParams",a):a.serializedYpcRefundFlowLoggingParams?(a=a.serializedYpcRefundFlowLoggingParams)&&g7a("YPC_EVENT_TYPE_START",a):a.serializedYpcDeactivateFlowLoggingParams?(a=a.serializedYpcDeactivateFlowLoggingParams)&&_.JH("ypcDeactivateFlowStarted","serializedYpcDeactivateFlowLoggingParams",a):a.serializedYpcCancelFlowGoToPaymentProcessorLoggingParams&&(a=a.serializedYpcCancelFlowGoToPaymentProcessorLoggingParams)&&
_.JH("ypcCancelFlowGoToPaymentProcessor","serializedYpcCancelFlowGoToPaymentProcessorLoggingParams",a))},
handleLogYpcFlowDismiss_:function(a){a.logYpcFlowDismissCommand&&(a=a.logYpcFlowDismissCommand,a.serializedTransactionFlowLoggingParams?_.T0a(a.serializedTransactionFlowLoggingParams):a.serializedYpcCancelFlowLoggingParams?(a=a.serializedYpcCancelFlowLoggingParams)&&_.JH("ypcCancelFlowCancelled","serializedYpcCancelFlowLoggingParams",a):a.serializedYpcResumeFlowLoggingParams?(a=a.serializedYpcResumeFlowLoggingParams)&&_.JH("ypcResumeFlowCancelled","serializedYpcResumeFlowLoggingParams",a):a.serializedYpcPauseFlowLoggingParams?
(a=a.serializedYpcPauseFlowLoggingParams)&&_.JH("ypcPauseFlowCancelled","serializedYpcPauseFlowLoggingParams",a):a.serializedYpcRefundFlowLoggingParams&&(a=a.serializedYpcRefundFlowLoggingParams)&&g7a("YPC_EVENT_TYPE_CANCEL",a))}}];
var yrb={};yrb.YtCancelRecurrenceBehavior=[_.iu.YtComponentBehavior,_.Pu.YtEndpointHandlerBehavior,{attached:function(){var a=this;this.registerServiceEndpointHandler(function(b,c){return a.ypcCancelRecurrenceHandler(b,c)})},
ypcCancelRecurrenceHandler:function(a,b){var c=this;if(!b||!b.ypcCancelRecurrenceEndpoint)return!1;if(!b.ypcCancelRecurrenceEndpoint.params)return _.jd(Error("tg")),!0;var d=_.Ei(),e=_.Eg().resolve(_.Cg(_.Eo));d&&_.Eh(b,d.endpointMap)?_.Dp(d,b).then(function(h){c.ypcCancelRecurrenceSuccess_(a,b,{data:h})},function(h){c.ypcCancelRecurrenceFailure_(a,b,h)}).thenCatch(function(){_.jd(Error("ug"))}):e?e.requestDataForServiceEndpoint(b).then(function(h){c.ypcCancelRecurrenceSuccess_(a,b,h)},function(h){c.ypcCancelRecurrenceFailure_(a,
b,h)}).thenCatch(function(){_.jd(Error("ug"))}):_.jd(Error("vg"));
return!0},
ypcCancelRecurrenceSuccess_:function(a,b,c){c.data||(c={data:c});c.data&&c.data.actions&&_.Lg(this,c.data.actions,this);c.data.messageRenderer?h7a(b.ypcCancelRecurrenceEndpoint.serializedYpcCancelFlowLoggingParams):(b=b.ypcCancelRecurrenceEndpoint.serializedYpcCancelFlowLoggingParams)&&_.JH("ypcCancelFlowSucceeded","serializedYpcCancelFlowLoggingParams",b);a.fire("yt-service-request-completed",c)},
ypcCancelRecurrenceFailure_:function(a,b,c){h7a(b.ypcCancelRecurrenceEndpoint.serializedYpcCancelFlowLoggingParams);a.fire("yt-service-request-error",{error:c,params:[a,b]})}}];
var zrb=function(a,b){_.aa.call(this,b)};
_.q(zrb,Ybb);
var Arb={};Arb.YtCompleteTransactionBehavior=[_.iu.YtComponentBehavior,_.Pu.YtEndpointHandlerBehavior,{attached:function(){var a=this;this.registerServiceEndpointHandler(function(b,c){return a.ypcCompleteTransactionHandler(b,c)})},
completeTransaction:function(a,b){var c=this;b={payments_payload:window.btoa(b.integratorData),buybucket_params:a.data.buybucketParams,offer_params:a.data.offerParams};var d=_.Eg().resolve(_.Eo),e=a.data.completeTransactionEndpoint,h=this.get("ypcCompleteTransactionEndpoint.actions",e);h&&_.Lg(this,h,this);return(h=_.Ei())&&_.Eh(e,h.endpointMap)?_.Dp(h,e,b).then(function(l){return{data:l}}).then(this.handleCompleteTransactionSuccess_,function(){return c.handleCompleteTransactionFailure_(a)}):d.requestDataForServiceEndpoint(e,
b).then(this.handleCompleteTransactionSuccess_,function(){return c.handleCompleteTransactionFailure_(a)})},
handleCompleteTransactionSuccess_:function(a){a.data||(a={data:a});if(a.data.messageRenderer)return _.Qk(new zrb(a.data.messageRenderer));if(a.data.trackingParams){var b=_.fg(),c=_.eg();b&&c&&_.tv(b,c,_.no(a.data.trackingParams))}return _.Mg(a)},
handleCompleteTransactionFailure_:function(a){a=this.get("data.serializedTransactionFlowLoggingParams",a);_.GG("TRANSACTION_ERROR_TYPE_YPC_COMPLETE_TRANSACTION_RPC_FAILURE",a);return _.Qk(new vK("TRANSACTION_ERROR_TYPE_YPC_COMPLETE_TRANSACTION_RPC_FAILURE",a))},
ypcCompleteTransactionHandler:function(a,b){var c=this;if(!b.ypcCompleteTransactionEndpoint)return!1;if(!b.ypcCompleteTransactionEndpoint.transactionParams)return _.jd(Error("wg")),!0;b.ypcCompleteTransactionEndpoint&&b.ypcCompleteTransactionEndpoint.gtmData&&EK(b.ypcCompleteTransactionEndpoint.gtmData);var d=_.Eg().resolve(_.Cg(_.Eo));if(d){u$a(this);var e=_.Ei();e&&_.Eh(b,e.endpointMap)?_.Dp(e,b).then(function(h){return{data:h}}).then(function(h){a.fire("yt-service-request-completed");
c.ypcCompleteTransactionSuccess_(b,h)},function(){return c.ypcCompleteTransactionFailure_(b)}):d.requestDataForServiceEndpoint(b).then(function(h){a.fire("yt-service-request-completed");
c.ypcCompleteTransactionSuccess_(b,h)},function(){return c.ypcCompleteTransactionFailure_(b)})}return!0},
ypcCompleteTransactionSuccess_:function(a,b){uK(this);b.data||(b={data:b});_.C(this,"yt-close-popup-action",["yt-loading-renderer"]);b.data.messageRenderer||"YPC_RESPONSE_CODE_ERROR"===b.data.ypcResponseCode?this.ypcCompleteTransactionFailure_(a):(EK('{"event": "purchased", "purchaseStatus": "success"}'),this.logTransactionEvent_("transactionFlowSucceeded",a));b.data.actions&&(a=W9a(b.data.actions),b=X9a(b.data.actions),a.length&&_.Kg(this,a),b.length&&_.Lg(this,b,this))},
ypcCompleteTransactionFailure_:function(a){uK(this);_.C(this,"yt-close-popup-action",["yt-loading-renderer"]);this.logTransactionEvent_("transactionFlowFailed",a,"TRANSACTION_ERROR_TYPE_YPC_COMPLETE_TRANSACTION_RPC_FAILURE")},
logTransactionEvent_:function(a,b,c){if(b=this.get("ypcCompleteTransactionEndpoint.serializedTransactionFlowLoggingParams",b))b={serializedTransactionFlowLoggingParams:b},c&&(b.errorType=c),_.Kf(a,b),_.If()}}];
var Brb={};Brb.YtEndpointHandlerWithYpcBehavior=[_.Pu.YtEndpointHandlerBehavior,_.Y.YtActionHandlerBehavior,[{openWalletDialog:function(a,b,c,d,e,h){var l=this,m=_.Sk();b=b.replace(/-/g,"+").replace(/_/g,"/");var p=_.mg.getInstance().get("hl");_.v2a(_.gm(_.BH),b,m.resolve,e,m.reject,p,function(r){return l.onServerBackendAnalyticEvent_(a,c,r)},this.onDialogClose_.bind(this),d,h);
return m.promise},
openFixFlowDialog:function(a,b,c,d){a=a.replace(/-/g,"+").replace(/_/g,"/");_.gm(_.BH).openFixFlowDialog(a,b,c,d)},
onDialogClose_:function(){_.C(this,"yt-wallet-dialog-closed")},
onServerBackendAnalyticEvent_:function(a,b,c){a.fire("yt-commerce-action-init-done");b&&_.Kg(this,[b,{backend_analytics:c}])}}],
_.Su.YtOpenPopupBehavior,[{listeners:{"yt-service-request-completed":"onUpdateFopServiceRequestCompleted_"},onUpdateFopServiceRequestCompleted_:function(a,b){a=this.get("data.nativeFlowEndpoint",b);b=this.get("data.fallbackEndpoint",b);a?_.Kg(this,[a]):b&&this.fire("yt-navigate",{endpoint:b})}}],
yrb.YtCancelRecurrenceBehavior,Arb.YtCompleteTransactionBehavior,{listeners:{"yt-service-request-sent":"onServiceRequestSent_","yt-service-request-completed":"onGetCartServiceRequestCompleted_","yt-service-request-error":"onServiceRequestError_"},created:function(){this.buyFlowActionMap_={};this.ypcRegisterActionMapJobId_=0},
attached:function(){var a=this;this.registerServiceEndpointHandler(function(b,c,d){return a.handleYPCEndpoint(b,c,d)});
this.ypcRegisterActionMapJobId_=_.Jn(_.xe,function(){a.registerActionMap(a.buyFlowActionMap_)})},
detached:function(){var a=this;_.xe.cancelJob(this.ypcRegisterActionMapJobId_);_.Jn(_.xe,function(){a.unregisterActionMap(a.buyFlowActionMap_)})},
handleYPCEndpoint:function(a,b,c){var d=b.ypcGetCartEndpoint;if(d){var e=d.gtmId;e&&_.O3a(e);(d=d.gtmData)&&EK(d)}return null!=this.get("ypcGetCartEndpoint.prefetchConfig.ypcGetCartPrefetchResponseDataConfig.encryptedPurchaseParams",b)?(this.handleYPCGetCartEndpointWithPrefetch_(a,b),!0):null!=this.get("ypcFixInstrumentEndpoint.encryptedFixInstrumentParameters",b)?(this.handleYPCFixInstrumentEndpoint_(a,b),!0):_.x("enable_premium_voluntary_pause")&&b.ypcPauseSubscriptionCommand?(z$a(this,a,b,c),!0):
_.x("enable_premium_voluntary_pause")&&b.ypcResumeSubscriptionCommand?(C$a(this,a,b),!0):b.getPaymentInstrumentsParamsCommand?(w$a(this,a,b),!0):!1},
handleYPCGetCartEndpointWithPrefetch_:function(a,b){var c=this,d=b.ypcGetCartEndpoint;b=d.prefetchConfig.ypcGetCartPrefetchResponseDataConfig;var e=b.encryptedPurchaseParams,h=d.offerParams;d=b.serializedTransactionFlowLoggingParams;var l=b.serializedPaymentsClientParams,m=this.createGetCartResponseFromParams_(b,h,d);h={offerParams:h};this.changeButtonState(a,!0);_.Kf("buyFlowStarted",h);_.Tk(this.openWalletDialog(a,e,b.ypcLogWalletAnalyticDataEndpoint,d,function(){c.changeButtonState(a,!1)},l).then(function(p){return c.handleBuyFlowCompleteCallback_(a,
m,p)},function(){return c.handleOnLoadError(m)}).then(function(p){return void c.handlePostPurchaseSuccess_(a,m,p)},function(p){return void c.handlePostPurchaseError_(p)}),function(){c.changeButtonState(a,!1);
a.fire("yt-commerce-action-done")})},
createGetCartResponseFromParams_:function(a,b,c){var d=a.completeTransactionEndpoint,e=a.handleTransactionEndpoint;b={data:{offerParams:window.btoa(b),serializedTransactionFlowLoggingParams:c}};e?b.data.handleTransactionEndpoint=e:b.data.completeTransactionEndpoint=d;a.onCartDismissCommand&&(b.data.onCartDismissCommand=a.onCartDismissCommand);return b},
onGetCartServiceRequestCompleted_:function(a,b){var c=this,d=a.target;if(b&&b.data&&b.data.messageRenderer)uK(this),this.handleMessageRenderer_(b.data.messageRenderer),this.changeButtonState(d,!1);else{var e=this.get("data.offerParams",b),h=this.get("data.encryptedPurchaseParams",b),l=this.get("data.upgradeDialogRenderer.ypcUpgradeDialogRenderer",b),m=this.get("data.ypcLogWalletAnalyticDataEndpoint",b),p=this.get("data.serializedPaymentsClientParams",b);if(h||l)a.stopPropagation(),uK(this),this.changeButtonState(d,
!1),l?_.C(this,"yt-open-popup-action",[{openPopupAction:{popupType:_.w("openPopupConfig").popupTypeMap.ypcUpgradeDialogRenderer,popup:{ypcUpgradeDialogRenderer:l}}},this]):(e&&_.Kf("buyFlowStarted",{offerParams:e}),a=this.getLoggingParams_(b),this.changeButtonState(d,!0),_.Tk(this.openWalletDialog(d,h,m,a,function(){c.changeButtonState(d,!1)},p).then(function(r){return c.handleBuyFlowCompleteCallback_(d,b,r)},function(){return c.handleOnLoadError(b)}).then(function(r){return c.handlePostPurchaseSuccess_(d,
b,r)},function(r){return c.handlePostPurchaseError_(r)}),function(){c.changeButtonState(d,!1);
d.fire("yt-commerce-action-done")}))}},
onServiceRequestSent_:function(a,b){b&&b.endpoint&&b.endpoint.ypcGetCartEndpoint&&!b.endpoint.ypcGetCartEndpoint.prefetchConfig&&(u$a(this),this.changeButtonState(a.target,!0))},
onServiceRequestError_:function(a,b){if(b&&b.params&&b.params.length){b=_.k(b.params);for(var c=b.next();!c.done;c=b.next())if((c=c.value)&&c.ypcGetCartEndpoint){uK(this);this.changeButtonState(a.target,!1);break}}},
handleBuyFlowCompleteCallback_:function(a,b,c){var d=c.integratorData;return null==d||""===d||null!=c.error?(d=this.getLoggingParams_(b),"-1"===String(c.error)?(b.data.onCartDismissCommand&&_.Lg(this,[b.data.onCartDismissCommand],a),_.Qk(new vK("TRANSACTION_ERROR_TYPE_YPC_BUYFLOW_COMPLETE_FAILURE",d,!0))):_.Qk(new vK("TRANSACTION_ERROR_TYPE_YPC_BUYFLOW_COMPLETE_FAILURE",d))):b.data.handleTransactionEndpoint?v$a(this,b.data.handleTransactionEndpoint,{payments_payload:d}):this.completeTransaction(b,
c)},
handlePostPurchaseSuccess_:function(a,b,c){b=this.getLoggingParams_(b);_.s4a(b);(b=c.data)&&b.gtmDatas&&b.gtmDatas.length?EK(b.gtmDatas[0]):EK('{"event": "purchased", "purchaseStatus": "success"}');c.data&&c.data.actions&&_.Lg(this,c.data.actions,a)},
handlePostPurchaseError_:function(a){a&&a.payload.isUserDismiss||_.Qf(Error("zg"))},
handleOnLoadError:function(a){a=this.getLoggingParams_(a);return _.Qk(new vK("TRANSACTION_ERROR_TYPE_LOAD_FAILURE",a))},
getLoggingParams_:function(a){return this.get("data.serializedTransactionFlowLoggingParams",a)},
handleMessageRenderer_:function(a){var b=_.Fg(a,"renderer"),c=_.w("openPopupConfig");"confirmDialogRenderer"===b&&c&&_.C(this,"yt-open-popup-action",[{openPopupAction:{popupType:c.popupTypeMap[b],popup:a}},this])},
handleYPCFixInstrumentEndpoint_:function(a,b){var c=this,d=b.ypcFixInstrumentEndpoint;b=d.encryptedFixInstrumentParameters;this.logFixFopEvent_(d,"FIX_FOP_EVENT_TYPE_START");this.changeButtonState(a,!0);this.openFixFlowDialog(b,function(e,h){c.onFixFlowCompleteCallback_(d,e,h)},function(){return c.changeButtonState(a,!1)},function(){c.changeButtonState(a,!1);
c.logFixFopEvent_(d,"FIX_FOP_EVENT_TYPE_FAILURE","FIX_FOP_ERROR_TYPE_LOAD_FAILURE")})},
onFixFlowCompleteCallback_:function(a,b,c){var d=_.ld("payments.business.integration.scenario.FixInstrument");if(b==d.IntegratorCallbackType.ON_COMPLETE){b="FIX_FOP_EVENT_TYPE_CANCEL";var e=null;null!=c.error?c.error!=d.OnCompleteCallbackError.USER_CANCELLED&&(_.Lg(this,[a.errorAction],this),b="FIX_FOP_EVENT_TYPE_FAILURE",e="FIX_FOP_ERROR_TYPE_UNSPECIFIED"):(_.Lg(this,[a.successAction],this),b="FIX_FOP_EVENT_TYPE_SUCCESS");this.logFixFopEvent_(a,b,e)}},
logFixFopEvent_:function(a,b,c){(a=a.serializedFixFopLoggingParams)?(b={eventType:b,serializedFixFopLoggingParams:a},null!=c&&(b.errorType=c),_.Kf("fixFopFlow",b),_.If()):_.Qf(Error("Ag"))},
changeButtonState:function(a,b){_.x("enable_ypc_spinners")&&a&&("yt-button-renderer"===a.is||"ytd-button-renderer"===a.is)&&(a.disabled=b)}}];
var Crb={};Crb.YtFeedbackCollectorBehavior=[_.Y.YtActionHandlerBehavior,{_noAccessors:!0,created:function(){this.feedbackCollectorActionMap_={"yt-help-dialog-requested":"handleHelpDialogRequested_","yt-feedback-dialog-requested":"handleFeedbackDialogRequested_","yt-signal-action-help":"handleSignalActionHelp_","yt-signal-action-send-feedback":"handleSignalActionSendFeedback_","yt-send-feedback-action":"handleSendFeedbackAction_","yt-user-feedback-endpoint":"handleUserFeedbackEndpoint_"}},
attached:function(){this.registerActionMap(this.feedbackCollectorActionMap_)},
detached:function(){this.unregisterActionMap(this.feedbackCollectorActionMap_)},
handleFeedbackDialogRequested_:function(a){a=void 0===a?{}:a;_.Eg().resolve(_.Ho).showFeedbackDialog(a.customProductData,a.feedbackContent,a.onFeedbackSubmitted,a.bucket)},
handleHelpDialogRequested_:function(a){a=void 0===a?{}:a;_.Eg().resolve(_.Ho).showHelpDialog(a.helpContext,a.articleId,a.productData)},
handleSignalActionHelp_:function(){this.handleHelpDialogRequested_()},
handleSignalActionSendFeedback_:function(){this.handleFeedbackDialogRequested_()},
handleSendFeedbackAction_:function(a,b,c){var d=this,e,h,l;return _.y(function(m){switch(m.nextAddress){case 1:if(a.sendFeedbackAction&&a.sendFeedbackAction.productId){h={productId:a.sendFeedbackAction.productId,bucket:a.sendFeedbackAction.bucket,enableAnonymousFeedback:!0,allowNonLoggedInFeedback:!0};l={feedbackChoice:c.feedbackChoice};if(_.x("web_collect_offline_state")){m.jumpTo(8);break}_.se(m,9);return _.B(m,Z6a(l),11)}e={bucket:a.sendFeedbackAction.bucket};if(_.x("web_collect_offline_state")){m.jumpTo(4);
break}e.customProductData={};_.se(m,5);return _.B(m,Z6a(e.customProductData),7);case 7:_.te(m,4);break;case 5:_.ue(m);case 4:d.handleFeedbackDialogRequested_(e);m.jumpTo(0);break;case 11:_.te(m,8);break;case 9:_.ue(m);case 8:tK(h,l),_.bf(m)}})},
handleUserFeedbackEndpoint_:function(a){if(a.userFeedbackEndpoint){a=a.userFeedbackEndpoint;var b={bucket:a.bucketIdentifier};a.additionalDatas&&(b.customProductData={},a.additionalDatas.forEach(function(c){if(c=c.userFeedbackEndpointProductSpecificValueData)b.customProductData[c.key]=c.value}));
this.handleFeedbackDialogRequested_(b)}}}];
var Drb=document.createElement("template");Drb.innerHTML='<custom-style><style is="custom-style">html {\n  --yt-swatch-icon-color: var(--yt-deprecated-luna-black-opacity-lighten-3);\n  --yt-swatch-primary: var(--yt-spec-static-brand-white);\n  --yt-swatch-primary-darker: rgb(230, 230, 230);\n  --yt-swatch-text: var(--yt-deprecated-luna-black-opacity-lighten-3);\n  --yt-swatch-input-text: var(--yt-deprecated-luna-black);\n  --yt-swatch-tab-selected-text: rgb(15, 15, 15);\n  --yt-swatch-textbox-bg: rgb(255, 255, 255);\n}\n\n/*# sourceMappingURL=yt-swatch-behavior_custom_style.css.map */\n</style></custom-style>';
document.head.appendChild(Drb.content);
var Erb={};
Erb.YtSwatchBehavior={_noAccessors:!0,properties:{swatch:{type:Object,observer:"updateStylesOnSwatchChanged_"}},created:function(){var a=this;this.LIGHT_TEXT_COLOR_=[255,255,255];this.DARK_TEXT_COLOR_=[17,17,17,.6];this.LIGHTENED_DARK_TEXT_COLOR_=[17,17,17,.4];this.RGB_MASK_=16777215;this.RED_MASK_=16711680;this.GREEN_MASK_=65280;this.BLUE_MASK_=255;this.baseColor_="#fff";this.isHighContrastBlack_=!1;_.nt(this,function(){if(null==yhb){var b=_.Wt(),c=b.JSC$32303_document_,d=b.createElement("div");d.style.backgroundColor=
"rgb(1, 2, 3)";b.appendChild(c.body,d);c=_.Yt(d,"backgroundColor");c=c.replace(/ /g,"");yhb="rgb(0,0,0)"===c?"black":"rgb(255,255,255)"===c?"white":null;b.removeNode(d)}a.isHighContrastBlack_="black"==yhb;a.isHighContrastBlack_&&a.setSwatch("#000")});
this.DARKMODE_META_THEME_COLOR=[33,33,33,.98];this.LIGHTMODE_META_THEME_COLOR=[255,255,255,.98]},
rgbStyle_:function(a){return 3==a.length?"rgb("+a.join(",")+")":"rgba("+a.join(",")+")"},
resetSwatch:function(){this.setSwatch("#fff")},
metaThemeColor_:function(a){return a?this.rgbStyle_(this.DARKMODE_META_THEME_COLOR):this.rgbStyle_(this.LIGHTMODE_META_THEME_COLOR)},
setSwatchWithArgb:function(a){a&=this.RGB_MASK_;var b=[(a&this.RED_MASK_)>>16,(a&this.GREEN_MASK_)>>8,a&this.BLUE_MASK_];a&&this.setSwatch(_.pu(b))},
getCurrentSwatch:function(){return this.baseColor_},
setSwatch:function(a){this.isHighContrastBlack_&&(a="#000");if(this.baseColor_!=a){var b=a;if(!Abb.test(b))throw Error("id`"+b);4==b.length&&(b=b.replace(zbb,"#$1$1$2$2$3$3"));b=b.toLowerCase();b=parseInt(b.slice(1),16);b=[b>>16,b>>8&255,b&255];var c=[0,0,0];var d=_.Az(.1,0,1);d=[Math.round(b[0]+d*(c[0]-b[0])),Math.round(b[1]+d*(c[1]-b[1])),Math.round(b[2]+d*(c[2]-b[2]))];var e=this.isTextLightColor_(b),h="#ffffff"===_.pu(b);c=this.DARK_TEXT_COLOR_;h?c=this.LIGHTENED_DARK_TEXT_COLOR_:e&&(c=this.LIGHT_TEXT_COLOR_);
e=h?"":this.rgbStyle_(c);h=h?"":this.rgbStyle_(this.LIGHT_TEXT_COLOR_);var l=eL(136,136,136);this.set("swatch",{baseColor:a,iconColor:l,inputText:this.pickInputTextColor_(b),logoOverrideColor:h,primary:this.rgbStyle_(b),primaryDarker:this.rgbStyle_(d),textColor:this.rgbStyle_(c),textImportantColor:e,textboxBg:this.pickTextboxBgColor_(b)});this.fire("yt-swatch-changed",this.swatch)}},
isTextLightColor_:function(a){return.5>(.299*a[0]+.587*a[1]+.114*a[2])/255},
pickInputTextColor_:function(a){return"#ffffff"==_.pu(a)?eL(17,17,17):"#232323"==_.pu(a)?eL(255,255,255):eL(17,17,17)},
pickTextboxBgColor_:function(a){return"#ffffff"==_.pu(a)?eL(255,255,255):"#232323"==_.pu(a)?eL(19,19,19):eL(255,255,255)},
applySwatchToElement:function(a,b){a&&b&&b.baseColor!=a.baseColor_&&(a.baseColor_=b.baseColor,a.updateStyles({"--yt-swatch-primary":this.swatch.primary,"--yt-swatch-primary-darker":this.swatch.primaryDarker,"--yt-swatch-text":this.swatch.textColor,"--yt-swatch-important-text":this.swatch.textImportantColor,"--yt-swatch-input-text":this.swatch.inputText,"--yt-swatch-textbox-bg":this.swatch.textboxBg,"--yt-swatch-logo-override":this.swatch.logoOverrideColor,"--yt-swatch-icon-color":this.swatch.iconColor}))},
updateStylesOnSwatchChanged_:function(a){this.applySwatchToElement(this,a)}};
var Frb={pushState:window.history.pushState,replaceState:window.history.replaceState};_.Ng({is:"yt-history-manager",behaviors:[_.iu.YtComponentBehavior],properties:{noIframe:Boolean},created:function(){this.historyEntryTime_=0;this.historySnapshotCache_=new _.mp(_.w("HISTORY_CACHE_MAX_SIZE",100));this.global=window;this.JSC$40264_iframe_=null;this.initialized_=!1;this.boundHistoryPushState_=this.boundHistoryReplaceState_=void 0;this.entryIndex_=0;this.debugInfo_={}},
hasBoundFunctions_:function(){return!!this.boundHistoryReplaceState_&&!!this.boundHistoryPushState_},
init:function(a){if(_.x("desktop_use_new_history_manager"))return!1;if(this.initialized_)return this.hasBoundFunctions_();this.initialized_=!0;if(!this.noIframe){var b=_.Gb("IFRAME");b.src="about:blank";b.style.display="none";this.JSC$40264_iframe_=b;document.body.appendChild(b)}this.bindHistoryStateFunctions_();a||this.replaceState(null,null,0);return this.hasBoundFunctions_()},
bindHistoryStateFunctions_:function(){var a=[];if(this.JSC$40264_iframe_&&this.JSC$40264_iframe_.contentWindow.history){var b=this.JSC$40264_iframe_.contentWindow.history;b&&(a.push(b),b.__proto__&&a.push(b.__proto__))}this.global.history&&a.push(this.global.history);this.global.history.__proto__&&a.push(this.global.history.__proto__);a.push(Frb);b=function(d){for(var e=null,h=0;h<a.length;h++){var l=a[h];if("function"===typeof l[d]){e=l[d].bind(this.global.history);this.debugInfo_[d]=h;break}}return e}.bind(this);
if(!this.boundHistoryReplaceState_){var c=b("replaceState");c&&(this.boundHistoryReplaceState_=c)}!this.boundHistoryPushState_&&(b=b("pushState"))&&(this.boundHistoryPushState_=b)},
attached:function(){_.x("desktop_use_new_history_manager")||(this.listen(this.global,"popstate","onPopState_"),"scrollRestoration"in this.global.history&&(this.global.history.scrollRestoration="manual"))},
detached:function(){this.unlisten(this.global,"popstate","onPopState_")},
getDebugString:function(){var a=[];this.initialized_&&a.push("i");this.boundHistoryReplaceState_&&a.push("bhr");this.boundHistoryPushState_&&a.push("bhs");"replaceState"in this.debugInfo_&&a.push("brs:"+this.debugInfo_.replaceState);"pushState"in this.debugInfo_&&a.push("bps:"+this.debugInfo_.pushState);0<this.entryIndex_&&a.push("ei:"+this.entryIndex_);return a.join(",")},
getThirdPartyManipulationSuspected:function(){return this.initialized_&&!!this.boundHistoryReplaceState_!==!!this.boundHistoryPushState_},
onPopState_:function(a){var b=null;a.state||(b="History popstate has no state - "+this.getDebugString());if(!this.fire("yt-history-pop",{errorMsg:b},{cancelable:!0}).defaultPrevented){var c=_.Eg().resolve(_.Co);b=c.getCurrentData();var d=c.getCurrentPage();c=0;d?(d=_.C(this,"yt-get-page-offset",[d]),0<d.length&&(c=d[0])):_.Qf(new _.ge("getCurrentPage returned undefined",{debugString:this.getDebugString(),page:b?b.page:"undefined"}));this.saveSnapshot_(this.historyEntryTime_,b,c,!0)}if(a.state){var e=
b=null;c=!1;d=null;var h=!!a.state["spf-timestamp"]||!!a.state.blazer;a.state.entryTime&&(a=a.state,d=this.historySnapshotCache_.get(a.entryTime),c=a.entryTime>this.historyEntryTime_,this.historyEntryTime_=a.entryTime,b=a.endpoint,e=a.savedComponentState);c?this.entryIndex_++:this.entryIndex_--;this.fire("yt-history-load",new _.bBa(b,c,d,e,h))}},
saveSnapshot_:function(a,b,c,d){(void 0===d?0:d)&&(b.csn=_.fg());this.historySnapshotCache_.set(a,new _.cBa(b,c))},
clearSavedStates:function(){this.historySnapshotCache_.clear()},
safeReplaceState_:function(a,b,c){this.boundHistoryReplaceState_||this.bindHistoryStateFunctions_();this.boundHistoryReplaceState_?this.boundHistoryReplaceState_(a,b,c):_.Qf(new _.ge("history.replaceState is not a function",this.getDebugString()))},
safePushState_:function(a,b,c){this.entryIndex_++;this.boundHistoryPushState_||this.bindHistoryStateFunctions_();this.boundHistoryPushState_?this.boundHistoryPushState_(a,b,c):_.Qf(new _.ge("history.pushState is not a function",this.getDebugString()))},
replaceState:function(a,b,c,d){this.init(!0);var e;this.global.history.state&&this.global.history.state.entryTime?e=this.global.history.state.entryTime:e=window.performance.now();a=new _.op(e,a,d);this.saveSnapshot_(e,b,c);this.historyEntryTime_=e;this.safeReplaceState_(a,"",this.global.location.href)},
replaceUrl:function(a){this.init(!0);this.safeReplaceState_(this.global.history.state,"",_.wh(a))},
replaceSavedComponentState:function(a){this.init(!0);var b=this.global.history.state;b.savedComponentState=a;this.safeReplaceState_(b,"",_.Gh(this.global.location.href))},
saveAndPush:function(a,b,c,d,e){this.init();this.maybeCacheTime_(c);this.saveSnapshot_(this.historyEntryTime_,c,d,!0);b=new _.op(window.performance.now(),b,e);this.historyEntryTime_=b.entryTime;this.safePushState_(b,"",_.wh(a))},
maybeCacheTime_:function(a){if(a){var b=_.sv(),c=a.playerResponse;"watch"!=a.page||!c||c.videoDetails&&c.videoDetails.isLive||!b||!(a=b.getPlayer())||(b=a.getDuration()-a.getCurrentTime()>_.hd("kevlar_time_caching_end_threshold")&&a.getCurrentTime()>_.hd("kevlar_time_caching_start_threshold"),c.playerConfig=c.playerConfig||{},c.playerConfig.playbackStartConfig=c.playerConfig.playbackStartConfig||{},c.playerConfig.playbackStartConfig.startSeconds=b?a.getCurrentTime():0)}}});
_.Ng({is:"yt-network-manager",behaviors:[_.iu.YtComponentBehavior],properties:{baseUrl:{type:String,value:""},baseServiceEndpointUrl:{type:String,value:""},mobile:Boolean},factoryImpl:function(){},
ready:function(){_.Eg().addProvider({provide:_.Eo,useValue:this})},
created:function(){this.aTag_=document.createElement("a")},
endpointToXhrUrl:function(a,b){b=void 0===b?{}:b;b.pbj||(b.pbj=1);a=_.st(a,b);this.baseUrl&&a&&(_.wd(a)[1]||_.xd(a)||(a=Wab(this.baseUrl,a)));this.aTag_.href=a;return this.aTag_.href},
fetchData:function(a){return _.BI(a)},
postData:function(a,b){var c={method:"POST"};if(b){for(var d in b){var e=b[d];_.pa(e)&&(b[d]=JSON.stringify(e))}c.postParams=b}return _.BI(a,c)},
requestDataForEndpoint:function(a,b,c,d,e){b=this.endpointToXhrUrl(a,b);if(!b)throw c=Error("Bg"),c.params=a,c;return _.BI(b,d,c,e)},
requestDataForServiceEndpoint:function(a,b){if(a.getAccountSwitcherEndpoint)return this.fetchData("/getAccountSwitcherEndpoint");b=b||{};var c=a.webSerializedServiceEndpointExtension;c?b.se=c.base64EncodedServiceEndpoint:b.sej=JSON.stringify(a);(c=_.fg())&&_.x("enable_service_ajax_csn")&&(b.csn=c);b.theme=_.pg();a.getAccountsListEndpoint&&_.w("DELEGATION_CONTEXT")&&(b.delegation_context=JSON.stringify(_.w("DELEGATION_CONTEXT")));c=null;for(var d in a)if(_.Id(d,"Endpoint")||_.Id(d,"Command")){c=d;
break}if(!c){var e=Error("Cg");e.params=a;Q6a(e,"WARNING");return new _.wf(function(h,l){return l(e)})}d={name:c};
a.signalServiceEndpoint&&a.signalServiceEndpoint.signal&&(d.signal=a.signalServiceEndpoint.signal);(c=_.sd(window.location.href))&&c.internalcountrycode&&(d.internalcountrycode=c.internalcountrycode);c="/service_ajax";_.x("debug_forward_web_query_parameters")&&(c=_.Fd(c));this.baseServiceEndpointUrl&&(c=Wab(this.baseServiceEndpointUrl,c));d=_.vd(c,d);a.clickTrackingParams&&_.Nu(d,{itct:a.clickTrackingParams});return this.postServiceRequest_(d,b)},
postServiceRequest_:function(a,b){return this.postData(a,b)}});
_.Ng({is:"yt-visibility-monitor",behaviors:[_.iu.YtComponentBehavior],properties:{trackWindowScroll:Boolean,heightPrescan:{type:Number,value:50},pauseScan:{type:Boolean,observer:"pauseScanChanged_"}},ready:function(){_.Eg().addProvider({provide:_.Fo,useValue:this})},
created:function(){this.dirty_=!0;this.timeBetweenJobsMs_=this.visibilityRoot_=null;this.timeBetweenJobsMs_=_.x("kevlar_tuner_should_test_visibility_time_between_jobs")?_.hd("kevlar_tuner_visibility_time_between_jobs_ms"):_.w("VISIBILITY_TIME_BETWEEN_JOBS_MS",500);this.screenRect_=new _.Dz(0,0,window.innerWidth,window.innerHeight);this.prescanRect_=null;this.pendingRefresh_=!1;this.lastJobRunTime_=0;this.boundDoAfterRenderRequest_=this.doAfterRenderRequest_.bind(this);this.lastVisibleSet_=new Set},
factoryImpl:function(){},
get visibilityRoot(){if(!this.visibilityRoot_){var a=_.w("VISIBILITY_ROOT");a&&(this.visibilityRoot_=_.H(this.parentElement.root).querySelector(a))}return this.visibilityRoot_},set visibilityRoot(a){this.visibilityRoot_&&this.unlisten(this.visibilityRoot_,"yt-visibility-refresh","markDirty");this.visibilityRoot_=a;this.dirty_=!1;this.refreshVisibility_();this.visibilityRoot_&&this.listen(this.visibilityRoot_,"yt-visibility-refresh","markDirty")},attached:function(){this.requestVisibilityRefresh();
this.trackWindowScroll&&(this.listen(window,"resize","markDirty"),this.listen(window,"scroll","markDirty"));this.visibilityRoot&&this.listen(this.visibilityRoot,"yt-visibility-refresh","markDirty")},
reset:function(){this.lastVisibleSet_.clear()},
runVisibilityJob_:function(){this.pendingRefresh_=!1;this.lastJobRunTime_=Date.now();this.refreshVisibility_()},
doIdleRequest_:function(a){window.setTimeout(this.boundDoAfterRenderRequest_,a)},
doAfterRenderRequest_:function(){_.nt(this,this.runVisibilityJob_)},
requestVisibilityRefresh:function(){if(!this.pendingRefresh_){this.pendingRefresh_=!0;var a=Date.now()-this.lastJobRunTime_;a>=this.timeBetweenJobsMs_?this.doAfterRenderRequest_():this.doIdleRequest_(this.timeBetweenJobsMs_-a)}},
refreshVisibility_:function(){if(this.dirty_&&!this.pauseScan)if(this.dirty_=!1,this.isAttached){var a=this.visibilityRoot;if(a){this.screenRect_=new _.Dz(0,0,window.innerWidth,window.innerHeight);this.prescanRect_=new _.Dz(this.screenRect_.left,this.screenRect_.top+this.screenRect_.height,this.screenRect_.width,this.heightPrescan);var b=new Set;this.traverseNodes_(a,this.screenRect_,b,0);a=_.kw.getInstance();for(var c=_.k(b),d=c.next();!d.done;d=c.next())d=d.value,this.lastVisibleSet_.has(d)||a.shown(d),
this.lastVisibleSet_.delete(d);this.lastVisibleSet_.forEach(a.hidden.bind(a));this.lastVisibleSet_=b;this.fire("yt-visibility-monitor-refreshed")}else _.md(Error("Dg"))}else _.md(Error("Eg"))},
isNodeVisible:function(a){return this.lastVisibleSet_.has(a)},
traverseNodes_:function(a,b,c,d){if(3!=a.visibilityLogging){var e=_.vo.getInstance();d=a.screenLayer||d;var h=window.getComputedStyle(a);if(!h||"none"!=h.display&&"hidden"!=h.visibility){var l=a.getBoundingClientRect();if(l.top||l.right||l.bottom||l.left||l.width||l.height){l=new _.Dz(l.left,l.top,l.width,l.height);var m=!1;_.x("viewport_non_overlapping_intersect")?m=l.left<b.left+b.width&&b.left<l.left+l.width&&l.top<b.top+b.height&&b.top<l.top+l.height:m=kbb(l,b);b=kbb(l,this.screenRect_);b=h&&
"fixed"==h.position?b:m&&b;h=null;this.heightPrescan&&(h=!a.disablePrescanVisibility)&&(h=this.prescanRect_,h=l.left<=h.left+h.width&&h.left<=l.left+l.width&&l.top<=h.top+h.height&&h.top<=l.top+l.height);if(b||h){b&&c.add(a);if(!a.wasVisible&&!a.wasPrescan&&a.onShow)a.onShow();b?_.Ot(e,a,d):_.Pt(e,a,d);a.wasVisible||(a.wasVisible=!!b);a.wasPrescan||(a.wasPrescan=h);if((a=a.getNodes?a.getNodes():null)&&a.length)for(e=a.length,b=0;b<e;b++){h=a[b];m=l;var p=void 0,r=h.constructor.generatedFrom;r&&(p=
r.hostAttributes);p&&p.dialog&&(m=this.screenRect_);this.traverseNodes_(h,m||l,c,d)}}else!_.Pt(e,a,d)&&_.x("web_log_hidden_children")&&iab(e,a,d)}}else!_.Pt(e,a,d)&&_.x("web_log_hidden_children")&&iab(e,a,d)}},
markDirty:function(){this.dirty_=!0;this.requestVisibilityRefresh()},
pauseScanChanged_:function(a){a||this.requestVisibilityRefresh()}});
var LT=function(a){this.element=a;this.productData_={};this.chatSupportLoaded_=!1;document.body.addEventListener("yt-page-data-updated",this.resetProductData_)};
LT.prototype.showFeedbackDialog=function(a,b,c,d){var e=Grb();if(!e)return!1;var h=D$a();h.productId=e;b&&(h.flow="submit",h.report={description:b});c&&(h.callback=_.kd(c));h.bucket=d||_.w("GOOGLE_FEEDBACK_BUCKET","Other");Hrb(h);a=Irb(this,"GFEEDBACK",a);try{tK(h,a)}catch(l){return _.jd(l),!1}return!0};
LT.prototype.showHelpDialog=function(a,b,c){var d=this,e=Grb();if(!e)return!1;var h={helpCenterPath:"/youtube",productData:Irb(this,"GUIDED_HELP",c)};Hrb(h);var l=D$a();l.context=a||h.productData.context||"default";l.defaultHelpArticleId=b;l.enableSendFeedback=!0;(_.ld("gapi.load")||function(m,p){return p()})("client",function(){try{var m=h||{},p=ncb(pcb,"help.service.Lazy.create",e,{apiKey:m.apiKey||m.apiKey,
environment:m.environment||m.environment,helpCenterPath:m.helpCenterPath||m.helpCenterPath,locale:m.locale||m.locale||"en-US".replace(/-/g,"_"),nonce:m.nonce||m.nonce,productData:m.productData||m.productData,receiverUri:m.receiverUri||m.receiverUri,renderApiUri:m.renderApiUri||m.renderApiUri,theme:m.theme||m.theme,window:m.window||m.window});var r=new GK(p);if(_.x("web_always_load_chat_support")&&!d.chatSupportLoaded_)try{r.loadChatSupport(l),d.chatSupportLoaded_=!0}catch(v){}r.startHelp(l)}catch(v){_.jd(v)}})};
var Grb=function(){var a=_.w("GOOGLE_FEEDBACK_PRODUCT_ID");a||_.jd(Error("Fg"));return a},Hrb=function(a){a&&(a.locale=_.x("kevlar_help_use_locale")?_.w("INNERTUBE_CONTEXT_HL","en"):_.w("HTML_LANG","en"))},Irb=function(a,b,c){var d=a.productData_;
delete d.origin;d.device=_.ua();var e;a:{if(e=document.createElement("canvas")){var h=e.getContext("experimental-webgl",{stencil:!0});if(h){var l=h.getExtension("WEBGL_debug_renderer_info");if(l){e=h.getParameter(l.UNMASKED_RENDERER_WEBGL);break a}}if(h=e.getContext("webgl")){e=h.getParameter(h.RENDERER);break a}}e=null}d.gpu=e;(e=_.w("GOOGLE_FEEDBACK_PRODUCT_DATA"))&&_.u.extend(d,e);(b=Jrb(b))&&_.u.extend(d,b);if(b=_.sv())if(b=b.getPlayer())b.pauseVideo(),d.playback_id=b.getVideoData().cpn,d.debug_text=
b.getDebugText(!0);(a=_.Jg(a.element,"yt-get-autonav-pause-debug-state"))&&a.length&&(d.autonav_pause_state=a[0]);a=_.jk();d.browser_resolution=a.width+"\u00d7"+a.height+"@"+(window.devicePixelRatio||1)+"x";c&&_.u.extend(d,c);return d},Jrb=function(a){if("GFEEDBACK"!=a&&"GUIDED_HELP"!=a)return _.jd(Error("Gg`"+a)),null;
var b=_.Eg().resolve(_.Cg(_.Co));if(!b)return null;if((b=b.getCurrentPage())&&b.getServiceTrackingParams){var c=b.getServiceTrackingParams();if(c)for(var d=0;b=c[d++];)if(b.service==a){a=null;if(b=b.params)for(a={},c=0;d=b[c++];)a[d.key]=d.value;return a}}return null};
LT.prototype.resetProductData_=function(){this.productData_={}};
_.Ng({is:"yt-gfeedback-manager",behaviors:[_.iu.YtComponentBehavior],ready:function(){_.Eg().addProvider({provide:_.Ho,useValue:this})},
created:function(){this.feedbackManager=new LT(this)},
factoryImpl:function(){},
showFeedbackDialog:function(a,b,c,d){return this.feedbackManager.showFeedbackDialog(a,b,c,d)},
showHelpDialog:function(a,b,c){return this.feedbackManager.showHelpDialog(a,b,c)}});
_.Ng({is:"yt-mdx-manager",behaviors:[_.Y.YtActionHandlerBehavior],properties:{appId:String,mdxConnected:Boolean,receiverAvailable:Boolean,receiverName:String,currentVideoId_:String,currentListId_:String},actionMap:{"yt-get-mdx-status":"handleGetMdxStatus_","yt-add-to-remote-queue-action":"handleAddToQueueAction_","yt-clear-remote-queue-action":"handleClearQueueAction_","yt-insert-in-remote-queue-action":"handleInsertInQueueAction_","yt-remove-from-remote-queue-action":"handleRemoveFromQueueAction_"},
created:function(){this.remoteApi_=null},
ready:function(){_.x("polymer_enable_mdx")&&(ygb({device:"Desktop",app:"youtube-desktop",appId:this.appId,loadCastApiSetupScript:_.x("mdx_load_cast_api_bootstrap_script"),enableDialLoungeToken:_.x("enable_dial_short_lived_lounge_token"),enableCastLoungeToken:_.x("enable_cast_short_lived_lounge_token")}),nJ("yt-remote-connection-change",this.handleConnectionChange_,this),nJ("yt-remote-receiver-availability-change",this.handleReceiverAvailabilityChange_,this),(this.remoteApi_=Egb())&&this.remoteApi_.subscribe("remoteQueueChange",
this.handleRemoteQueueChange_,this))},
handleGetMdxStatus_:function(){return{connected:this.mdxConnected,receiverAvailable:this.receiverAvailable,receiverName:this.receiverName}},
handleConnectionChange_:function(a){(this.mdxConnected=a)?(a=Agb(),!a&&Ofb()&&Pfb()&&(a={key:"cast-selector-receiver",name:Pfb()}),a=a.name):a=null;this.receiverName=a;_.Jb(this.remoteApi_);(this.remoteApi_=Egb())&&this.remoteApi_.subscribe("remoteQueueChange",this.handleRemoteQueueChange_,this)},
handleReceiverAvailabilityChange_:function(){var a=zgb();Ofb()&&_.Oo("yt-remote-cast-available")&&a.push({key:"cast-selector-receiver",name:"Cast..."});this.receiverAvailable=0<a.length},
handleRemoteQueueChange_:function(){var a=this.currentVideoId_,b=this.currentListId_,c=dM(this.remoteApi_);this.currentVideoId_=c.videoId;this.currentListId_=c.listId;this.currentVideoId_&&_.C(this,"yt-sync-with-remote-video",[this.currentVideoId_,_.x("polymer_enable_mdx_queue")?this.currentListId_:null,a,b])},
handleAddToQueueAction_:function(a){a=a.addToRemoteQueueAction;this.remoteApi_&&(a.videoId?this.remoteApi_.addVideo(a.videoId):a.playlistId&&this.remoteApi_.addPlaylist(a.playlistId))},
handleClearQueueAction_:function(){this.remoteApi_&&this.remoteApi_.clearPlaylist()},
handleInsertInQueueAction_:function(a){a=a.insertInRemoteQueueAction;this.remoteApi_&&a.videoId&&this.remoteApi_.insertVideo(a.videoId)},
handleRemoveFromQueueAction_:function(a){a=a.removeFromRemoteQueueAction;this.remoteApi_&&a.videoId&&this.remoteApi_.removeVideo(a.videoId)}});
_.Ng({is:"yt-playlist-manager",behaviors:[_.iu.YtComponentBehavior,_.tE.YtPlayerListenerBehavior,_.UB.YtdReduxBehavior],properties:{loopStateEntityKey_:{type:String,value:null},playlistLoopStateEntity_:{type:Object,selectorArgs:["loopStateEntityKey_"],selector:_.zIa,observer:"playlistLoopStateEntityChanged_"}},UNAVAILABLE_AUTOPLAY_DELAY_:5E3,UNAVAILABLE_AUTOPLAY_DELAY_BG_:1E3,factoryImpl:function(){},
ready:function(){_.Eg().addProvider({provide:_.Go,useValue:this})},
created:function(){this.PLAYER_EVENTS_=new Map;this.PLAYER_EVENTS_.set("onPlaylistNext",this.onPlaylistNext);this.PLAYER_EVENTS_.set("onPlaylistPrevious",this.onPlaylistPrevious);this.PLAYER_EVENTS_.set("onPlaylistIndex",this.onPlaylistIndex_);this.PLAYER_EVENTS_.set("onStateChange",this.onPlayerStateChange_);this.PLAYER_EVENTS_.set("onLoopChange",this.onPlayerLoopChange_);this.playerListenersSetup_=!1;this.videoSkipJob_=0;this.canAutoAdvance_=!1;this.playerManager_=null},
attached:function(){this.listen(document,"yt-navigate-start","onYtNavigateStart_");this.listen(document,"yt-navigate-finish","onYtNavigateFinish_")},
detached:function(){this.unlisten(document,"yt-navigate-start","onYtNavigateStart_");this.unlisten(document,"yt-navigate-finish","onYtNavigateFinish_")},
updatePlaylistEventListeners:function(a,b){b&&!this.playerListenersSetup_?(this.playerManager_=a,this.registerPlaylistEventListeners_(a)):!b&&this.playerListenersSetup_&&(this.playerManager_=null,this.removePlaylistEventListeners_(a))},
setPlayer:function(a){this.playerManager_&&this.removePlaylistEventListeners_(this.playerManager_);this.playerManager_=a},
activate_:function(){this.playerManager_&&this.registerPlaylistEventListeners_(this.playerManager_)},
deactivate_:function(){this.playerManager_&&this.removePlaylistEventListeners_(this.playerManager_)},
registerPlaylistEventListeners_:function(a){a.getPlayerPromise().then(function(b){this.playerListenersSetup_||(this.listenToPlayerEvents(b,this.PLAYER_EVENTS_),this.playerListenersSetup_=!0)}.bind(this))},
removePlaylistEventListeners_:function(a){a.getPlayerPromise().then(function(b){this.playerListenersSetup_&&(this.unlistenFromPlayerEvents(b,this.PLAYER_EVENTS_),this.playerListenersSetup_=!1)}.bind(this))},
isShuffleNextPlaylist:!1,setPlaylistComponent:function(a){this.playlistComponent&&(this.unlisten(this.playlistComponent,"yt-navigate","onPlaylistYtNavigate_"),a&&(a.data&&this.playlistComponent.data&&a.data.playlistId==this.playlistComponent.data.playlistId?(a.loopOn=this.playlistComponent.loopOn,a.shuffleOn=this.playlistComponent.shuffleOn):(a.loopOn=!1,a.shuffleOn=!1),this.isShuffleNextPlaylist&&(a.shuffleOn=!0,this.isShuffleNextPlaylist=!1)));this.playlistComponent=a;this.listen(this.playlistComponent,
"yt-navigate","onPlaylistYtNavigate_")},
setAutoplayRenderer:function(a){this.autoplayData=a},
setPlaylistData:function(a){this.currentPlaylistData_=a;this.fire("yt-playlist-data-updated");_.u.isEmpty(a)?this.deactivate_():this.activate_();this.setLoopStateEntityKey_(a)},
setPlayerPlaybackControlData:function(a){this.playerManager_&&this.playerManager_.updatePlayerComponents(a.playlistPanelRenderer)},
getPlaylistData:function(){return this.currentPlaylistData_},
getTempData_:function(a,b){if(null==this.playlistComponent)return null;a={};this.playlistComponent.shuffleOn&&(a.shuffle_on=this.playlistComponent.shuffleOn);this.playlistComponent.loopOn&&(a.loop_on=this.playlistComponent.loopOn);b&&(a.autonav="1",b=lab(),0<b&&(a.lact=b),this.playerManager_&&(b=this.playerManager_.getPlayer())&&b.shouldSendVisibilityState()&&(b=b.getVisibilityState(),0!=b&&(a.vis=b)));return a},
getPlaylistState_:function(){return this.playlistComponent.loopOn&&this.playlistComponent.shuffleOn?"LOOP_SHUFFLE":this.playlistComponent.loopOn?"LOOP":this.playlistComponent.shuffleOn?"SHUFFLE":"NORMAL"},
setLoopStateEntityKey_:function(a){var b;this.loopStateEntityKey_=(null==(b=this.getPlaylistLoopData_(a))?void 0:b.playlistLoopStateEntityKey)||null},
onPlaylistNext:function(){this.playlistComponent&&this.navigateToAutoplayWatchEndpoint_(this.getPlaylistState_(),"nextButtonVideo")},
onPlaylistPrevious:function(){this.playlistComponent&&this.navigateToAutoplayWatchEndpoint_(this.getPlaylistState_(),"previousButtonVideo")},
skipVideo:function(){var a=this.isInBackground_()?this.UNAVAILABLE_AUTOPLAY_DELAY_BG_:this.UNAVAILABLE_AUTOPLAY_DELAY_;this.videoSkipJob_=_.we(_.xe,this.onPlaylistNext.bind(this),a)},
cancelVideoSkip:function(){this.videoSkipJob_&&_.xe.cancelJob(this.videoSkipJob_)},
isInBackground_:function(){var a=window.document.visibilityState;return!(!a||"visible"==a)},
onPlaylistIndex_:function(a){this.playlistComponent&&(a=this.playlistComponent.data.contents[a].playlistPanelVideoRenderer.navigationEndpoint,this.fire("yt-navigate",{endpoint:a,tempData:this.getTempData_(a)}))},
onPlayerStateChange_:function(a){!(a=0!=a||!this.playlistComponent||!this.canAutoAdvance_)&&(a=_.x("kevlar_playlist_autonav"))&&(a=_.lF.getInstance(),a=3===a.autonavState_?!!a.autonavPauseReason_&&!0===a.autonavPauseReason_.inputBoxFocus:1===a.autonavState_?!!a.disabledAutonavPauseReason_&&!0===a.disabledAutonavPauseReason_.inputBoxFocus:!1);a||this.navigateToAutoplayWatchEndpoint_(this.getPlaylistState_(),"autoplayVideo",!0)},
onYtNavigateStart_:function(){this.canAutoAdvance_=!1},
onYtNavigateFinish_:function(){this.canAutoAdvance_=!0},
navigateToAutoplayWatchEndpoint_:function(a,b,c){var d=this.playlistComponent.data.currentIndex+1>=this.playlistComponent.data.totalVideos;if("NORMAL"!=a||"autoplayVideo"!=b||!d||!c)if(a=this.getVideoEndpoint_(a,b))c=this.getTempData_(a,c),this.fire("yt-navigate",{endpoint:a,tempData:c})},
getVideoEndpoint_:function(a,b){if(this.autoplayData&&this.autoplayData.sets)for(var c=0,d=this.autoplayData.sets.length;c<d;c++){var e=this.autoplayData.sets[c];if(e.mode==a){if(e[b])return e[b];break}}else a=new _.ge("AutoplayData is undefined in playlist manager","Mode: "+a+" endpoint: "+b),_.Rf(a)},
getAutoplayEndpoint:function(){if(this.playlistComponent)return this.getVideoEndpoint_(this.getPlaylistState_(),"autoplayVideo")},
onPlaylistYtNavigate_:function(a){if(a.detail.endpoint){a.stopPropagation();var b=a.detail;b.tempData=this.getTempData_(a.detail.endpoint);this.fire("yt-navigate",b)}},
hasAutoplayData:function(){return!(!this.autoplayData||!this.autoplayData.sets)},
playlistLoopStateEntityChanged_:function(a){var b=this,c,d,e;return _.y(function(h){if(1==h.nextAddress){if(!a)return h.return();c="PLAYLIST_LOOP_STATE_ONE"===a.state;return b.playerManager_?_.B(h,b.playerManager_.getPlayerPromise(),3):h.jumpTo(2)}2!=h.nextAddress&&(d=h.yieldResult,d.setLoopVideo(c));e="PLAYLIST_LOOP_STATE_ALL"===a.state;b.playlistComponent&&(b.playlistComponent.loopOn=e);_.bf(h)})},
getPlaylistLoopData_:function(a){var b,c;if(a=null==a?void 0:null==(b=a.playlistButtons)?void 0:null==(c=b.menuRenderer)?void 0:c.topLevelButtons)for(b=_.k(a),c=b.next();!c.done;c=b.next())if(c=c.value,c.playlistLoopButtonRenderer)return c.playlistLoopButtonRenderer},
getLoopStateCommand_:function(a){var b=this.getPlaylistData(),c,d,e,h,l;return null==(d=((null==(c=this.getPlaylistLoopData_(b))?void 0:c.states)||[])[a?1:2])?void 0:null==(e=d.playlistLoopButtonStateRenderer)?void 0:null==(h=e.button)?void 0:null==(l=h.buttonRenderer)?void 0:l.command},
onPlayerLoopChange_:function(a){this.playlistLoopStateEntity_&&(a?"PLAYLIST_LOOP_STATE_ONE":"PLAYLIST_LOOP_STATE_NONE")!==this.playlistLoopStateEntity_.state&&(a=this.getLoopStateCommand_(a))&&this.resolveCommand(a)}});
var Krb;
var Lrb;
_.Ng({is:"yt-create-family-dialog",_template:function(){if(void 0!==Lrb)return Lrb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-create-family-dialog--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.ypc.yt_create_family_dialog.yt.create.family.dialog.css.js--\x3e<tp-yt-paper-dialog id="dialog" with-backdrop="">\n  <div id="unicorn-iframe"></div>\n</tp-yt-paper-dialog>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===Krb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.ypc.yt_create_family_dialog.yt.create.family.dialog.css.js--\x3e<style>:host {display: block;} tp-yt-paper-dialog {width: 590px;} /*# sourceMappingURL=yt-create-family-dialog.css.map*/</style>";Krb=d}d=Krb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Lrb=
a},
APP_IDS:{ytr:3,ytm:5},behaviors:[_.Y.YtActionHandlerBehavior],properties:{isMobile:{type:Boolean,reflectToAttribute:!0},onReadyCallback_:Function,observer_:Object},actionMap:{"yt-open-create-family-dialog":"open"},created:function(){this.JSC$40298_timeoutId_=0;Dab(2200)},
detached:function(){this.observer_&&this.observer_.disconnect()},
open:function(a,b){var c=a.serializedYpcFamilyCreateLoggingParams;this.JSC$40298_timeoutId_=setTimeout(this.abort_.bind(this,a.postFlowErrorEndpoint,c),3E4);b&&(this.onReadyCallback_=b);var d=this.$["unicorn-iframe"];c&&c&&f7a("ypcFamilyCreateFlowStarted",c);_.a3a("family_creation",function(){var e=_.ld("gapi.family_creation.render");_.ld("gapi.config.update")("iframes/family_creation/url",this.getFamilyCreationUrlWithUnicornParams_());var h=3;a.appId&&a.appId in this.APP_IDS&&(h=this.APP_IDS[a.appId]);
h={authUser:_.w("SESSION_INDEX")||0,clientId:h,darkmode:document.documentElement.hasAttribute("dark")?1:0,hl:_.w("HL"),initialflow:[4,5,6,7],m:this.isMobile?1:0,onFlowComplete:this.onUnicornFlowComplete_.bind(this,a.postFlowSuccessEndpoint,c),onError:this.onUnicornFlowError_.bind(this,a.postFlowErrorEndpoint,c),onReady:this.onUnicornFlowReady_.bind(this,a.referencePcidParams)};e(d,h)}.bind(this))},
close:function(){this.$.dialog.close();this.observer_&&this.observer_.disconnect()},
onUnicornFlowComplete_:function(a,b){this.close();b&&b&&f7a("ypcFamilyCreateFlowSucceeded",b);this.fire("yt-navigate",{endpoint:a})},
onUnicornFlowError_:function(a,b){this.close();b&&f7a("ypcFamilyCreateFlowCancelled",b);this.fire("yt-navigate",{endpoint:a})},
onUnicornFlowReady_:function(a){this.clearTimeout_();if(this.onReadyCallback_)this.onReadyCallback_();a&&_.ld("gapi.family_creation.setConfig")(0,a);this.observer_=new MutationObserver(function(){this.$.dialog.fit()}.bind(this));
this.observer_.observe(this.$["unicorn-iframe"].querySelector("iframe"),{atttributes:!0,attributeFilter:["style"]});this.$.dialog.open()},
getFamilyCreationUrlWithUnicornParams_:function(){return _.w("YTR_FAMILY_CREATION_URL")},
getCurrentUrl_:function(){return document.location.href},
abort_:function(a,b){this.clearTimeout_();this.onUnicornFlowError_(a,b)},
clearTimeout_:function(){clearTimeout(this.JSC$40298_timeoutId_)}});
var Mrb;
var Nrb;
_.Ng({is:"yt-page-navigation-progress",_template:function(){if(void 0!==Nrb)return Nrb;var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:yt-page-navigation-progress--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.ui.yt_page_navigation_progress.yt.page.navigation.progress.css.js--\x3e<div id="progress"></div>\n';a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);
var b=a.content,c=b.insertBefore;if(void 0===Mrb){var d=document.createElement("template");d.innerHTML="\x3c!--css_build_mark:video.youtube.src.web.polymer.shared.ui.yt_page_navigation_progress.yt.page.navigation.progress.css.js--\x3e<style>:host {pointer-events: none;background-color: var(--yt-page-navigation-container-color,#e0e0e0);} :host,#progress {position: fixed;top: 0;left: 0;right: 0;height: 2px;} #progress {background-color: var(--yt-page-navigation-progress-color,var(--yt-spec-static-brand-red));-webkit-transform-origin: 0;transform-origin: left;-webkit-transform: scaleX(0);transform: scaleX(0);transition-property: transform;transition-duration: 0.08s;transition-timing-function: ease;} /*# sourceMappingURL=yt-page-navigation-progress.css.map*/</style>";
Mrb=d}d=Mrb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);return Nrb=a},
behaviors:[_.iu.YtComponentBehavior],factoryImpl:function(){},
STEP:1,BLOCK_ON:80,MIN_PROGESS:0,MAX_PROGESS:100,created:function(){this.boundNextProgress_=this.nextProgress_.bind(this)},
ready:function(){this.progress_=this.MIN_PROGESS;this.hidden=!0;this.setAttribute("aria-valuemin",this.MIN_PROGESS);this.setAttribute("aria-valuemax",this.MAX_PROGESS);_.Eg().addProvider({provide:_.Fza,useValue:this})},
set progress(a){this.progress_=a;var b="scaleX("+a/this.MAX_PROGESS+")",c=this.$.progress.style;c.transform=b;c.webkitTransform=b;this.setAttribute("aria-valuenow",a)},get progress(){return this.progress_},start:function(){this.progress=this.MIN_PROGESS;this.hidden=!1;window.requestAnimationFrame(this.boundNextProgress_)},
finish:function(){this.progress=this.MAX_PROGESS;this.asyncFrame(function(){this.progress==this.MAX_PROGESS&&(this.hidden=!0)}.bind(this),80)},
nextProgress_:function(){this.progress>=this.BLOCK_ON||(this.progress+=this.STEP,window.requestAnimationFrame(this.boundNextProgress_))}});
var Orb={padding:"10px 16px","font-size":"32px","font-weight":"bold",background:"linear-gradient(135deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%)",color:"#fff","text-shadow":"1px 1px 3px rgba(255, 255, 255, 0.3)","border-radius":"15px"},Prb={"font-size":"12px","font-style":"italic"},Qrb={padding:"8px 0","font-size":"14px","font-weight":"bold",color:"#f00"};
var D6a=function(a,b){var c=this;this.handleError=a;this.logEventInternal=b;this.hasUnloaded=!1;void 0===self.document||self.addEventListener("beforeunload",function(){c.hasUnloaded=!0});
this.shouldLogTransactionEnded=Math.random()<=_.hd("ytidb_transaction_ended_event_rate_limit",.02)};
D6a.prototype.logError=function(a){this.handleError(a)};
D6a.prototype.logEvent=function(a,b){switch(a){case "IDB_DATA_CORRUPTED":_.x("idb_data_corrupted_killswitch")||this.logEventInternal("idbDataCorrupted",b);break;case "IDB_UNEXPECTEDLY_CLOSED":this.logEventInternal("idbUnexpectedlyClosed",b);break;case "IS_SUPPORTED_COMPLETED":_.x("idb_is_supported_completed_killswitch")||this.logEventInternal("idbIsSupportedCompleted",b);break;case "QUOTA_EXCEEDED":Rrb(this,b);break;case "TRANSACTION_ENDED":this.shouldLogTransactionEnded&&this.logEventInternal("idbTransactionEnded",
b);break;case "TRANSACTION_UNEXPECTEDLY_ABORTED":a=Object.assign({},b,{hasWindowUnloaded:this.hasUnloaded}),this.logEventInternal("idbTransactionAborted",a)}};
var Rrb=function(a,b){_.Fs.getInstance().estimate().then(function(c){c=Object.assign({},b,{isSw:void 0===self.document,isIframe:self!==self.top,deviceStorageUsageMbytes:P$a(null==c?void 0:c.usage),deviceStorageQuotaMbytes:P$a(null==c?void 0:c.quota)});a.logEventInternal("idbQuotaExceeded",c)})};
var xK=window,R$a=!1;
var MT=function(){var a=_.K.apply(this,arguments)||this;a.tabGesturesIsActive=!1;a.scrollAtTop=!0;a.guideScrollTop=0;a.isTheaterModeSession=_.fd("START_IN_THEATER_MODE");a.isFullWindowSession=_.fd("START_IN_FULL_WINDOW_MODE");a.hasCreateFamilyDialog=!1;a.mastheadHeight=56;a.networkStatusManager=new _.Ve;a.actionMap={"yt-command-executor-command":"onYtCommandExecutorCommand","yt-dark-mode-toggled-action":"onDarkModeToggledAction","yt-edu-dismiss-action":"handleEduDismissAction","yt-edu-impression-action":"handleEduImpressionAction",
"yt-navigate-action":"onYtNavigateAction","yt-navigate-home-action":"onYtNavigateHomeAction","yt-player-fullscreen":"onPlayerFullscreen","yt-register-create-family-dialog":"onYtRegisterCreateFamilyDialog","yt-select-country-command":"handleSelectCountryCommand","yt-select-language-command":"handleSelectLanguageCommand","yt-clear-url-param-command":"handleClearUrlParamCommand","yt-set-cookie-command":"onSetCookieCommand","yt-set-pref-storage-entry-command":"onSetPrefStorageEntryCommand","yt-set-local-storage-command":"onSetLocalStorageCommand",
"yt-set-push-notifications-enabled-command":"onSetPushNotificationsEnabledCommand","yt-signal-action-copy-debug-data":"onYtSignalActionCopyDebugData","yt-signal-action-enable-chrome-notifications":"onYtSignalActionEnableChromeNotifications","yt-signal-action-toggle-restricted-mode-on":"onYtSignalActionToggleRestrictedModeOnAction","yt-signal-action-toggle-restricted-mode-off":"onYtSignalActionToggleRestrictedModeOffAction","yt-signal-action-confirm-mentions-edu":"onYtSignalActionConfirmMentionsEdu",
"yt-signal-action-record-mentions-edu-impression":"onYtSignalActionRecordMentionsEduImpression","yt-signal-action-show-keyboard-shortcut-dialog":"onYtSignalActionShowKeyboardShortcutDialog","yt-signal-action-skip-navigation":"onYtSignalActionSkipNavigation","yt-signal-action-request-persistent-storage":"onYtSignalActionRequestPersistentStorage","yt-timed-command":"onYtTimedCommand","yt-window-resized":"onWindowResized","yt-window-scrolled":"onWindowScrolled","yt-persist-subscriptions-display-preferences-command":"handlePersistSubscriptionsDisplayPreferencesCommand",
"yt-invoke-instrument-manager-action":"onInvokeInstrumentManagerAction","yt-entity-update-command":"handleEntityUpdateCommand","yt-web-native-share-command":"handleWebNativeShareCommand","yt-confirm-dialog-endpoint":"handleConfirmDialogEndpoint","yt-register-promo-command":"handleYtRegisterPromoCommand","yt-location-collection-command":"onYtLocationCollectionCommand","yt-get-location-command":"onYtGetLocationCommand","yt-log-flow-logging-event-command":"logFlowLoggingEventCommand"};a.dynamicActionMap=
{"yt-run-attestation-command":function(b){return sab(b)}};
return a};
_.q(MT,_.K);_.f=MT.prototype;_.f.created=function(){var a=_.Eg();_.x("kevlar_clear_duplicate_pref_cookie")&&_.Jn(_.xe,function(){var b=_.Kd.get("PREF");b&&!/f\d=/.test(b)&&(b=_.ot("kevlar_duplicate_pref_cookie_domain_override"),document.cookie=b?"PREF=null;domain="+b+";expires=Thu, 01 Jan 1970 00:00:01 GMT":"PREF=null;domain=.www.youtube.com;expires=Thu, 01 Jan 1970 00:00:01 GMT")});
_.x("nwl_init_killswitch")||(_.x("use_new_nwl")?_.$n().awaitInitialization().then(function(){_.xe.addLowPriorityJob(o9a)}):M6a().then(function(){_.xe.addLowPriorityJob(o9a)}),_.x("nwl_csi_killswitch")||H$a());
this.pageManagerAttachedPromise=_.Sk();this.ytdAppBehavior.loadDepsPromise=_.Rk([this.ytdAppBehavior.loadDepsPromise,this.pageManagerAttachedPromise.promise]);this.scrollThrottle=new _.wv(this.onThrottledScroll,200,this);_.x("external_fullscreen")&&(this.fullscreen=!1);_.x("kevlar_themed_standardized_scrollbar")&&(document.body.setAttribute("standardized-themed-scrollbar",""),document.documentElement.setAttribute("standardized-themed-scrollbar",""));this.ephemeralResponseStore=a.resolve(_.kp);this.boundOnTouchStart=
this.onTouchStart.bind(this);E6a();rbb=!!_.ld("ytappsettings.initialized");qJ=_.ld("ytappsettings.previousValue");rJ=_.ld("ytappsettings.previousSnapshotTime");rbb||(rbb=!0,S6a());zhb();U9a();_.ed("DEFERRED_DETACH",_.x("kevlar_tuner_should_defer_detach"));_.ed("REUSE_COMPONENTS",!0);_.ed("STAMPER_STABLE_LIST",!0);_.ed("SCHEDULED_LAZY_LIST",!0);_.ed("openPopupConfig",$hb);_.x("kevlar_shell_cleanup")&&_.xe.addLowPriorityJob(C9a.bind(this,_.g.caches));_.fd("IS_SHELL_LOAD")&&_.Qh({shellStartupDurationMs:Math.round((0,_.Yd)()-
_.Bu())});O$a(this.networkStatusManager);_.x("cache_utc_offset_minutes_in_pref_cookie")&&(C6a()||B6a());_.x("kevlar_is_hiring")&&(console.log("%cYouTube.com is hiring!",E$a(Orb)),console.log("%cYouTube.com is the second largest website in the world, with hundreds of\nmillions of users and watch-hours per day. It makes you laugh, learn, and leaves\nyou amazed. Are there things that you love about YouTube? Things that you don't?\nHelp us make it better!",E$a(Prb)),console.log("%cVisit http://go/join-youtube-web to apply today.",
E$a(Qrb)));_.x("web_ua_ch_polyfill_enabled")&&S$a()};
_.f.ready=function(){this.$.guide.addEventListener("transitionend",this.processDrawerIronSelect.bind(this));this.$["guide-inner-content"].addEventListener("scroll",this.ytRendererBehavior.markDirty.bind(this));var a=B7a();a&&_.x("external_fullscreen")&&document.addEventListener(a,this.setFullscreen.bind(this));(a=window.matchMedia("(prefers-color-scheme: dark)"))&&a.addEventListener&&a.addEventListener("change",this.onDeviceThemeChanged.bind(this));this.onDeviceThemeChanged()};
_.f.attached=function(){var a=this;_.Ko().processSignal("ci");_.x("kevlar_passive_event_listeners")?this.addEventListener("touchstart",this.boundOnTouchStart,_.Gqa?{passive:!0}:void 0):this.addEventListener("touchstart",this.boundOnTouchStart);_.Di(_.Bja(),"SUCCESS");this.updateIconSet();_.X0a(this.$["guide-inner-content"],!1);this.useVimio||(this.$["visibility-monitor"].visibilityRoot=this);var b=_.Eg().resolve(_.Cg(_.Fo));b?zab(b):this.useVimio&&_.eu().initVisibilityObserver();this.$["guide-service"].guideElement=
this.$.guide;b=document.createElement("ytd-miniplayer");if(_.x("miniplayer_before_content_killswitch"))_.H(this.root).appendChild(b);else{var c=this.$.content;_.H(this.root).insertBefore(b,c)}_.Ko().processSignal("ma");_.x("kevlar_network_banner")&&(b=document.createElement("ytd-network-status-banner"),_.H(this.root).appendChild(b));_.x("kevlar_right_click_on_lockups")&&_.Dx._onCaptureClick&&document.addEventListener("contextmenu",_.Dx._onCaptureClick.bind(_.Dx),!0);var d=function(){var e=_.Hu("yt-page-navigation-progress");
_.H(a.root).appendChild(e)};
_.x("enable_signals")?setTimeout(function(){_.Ko().parkOrScheduleJob(d,0,"eocs",16)},0):_.Jn(_.xe,d,200);
_.x("service_worker_push_enabled")&&_.Jn(_.xe,Xbb);_.l6a(_.Io.getInstance(),this.dynamicActionMap,this);this.fire("ytd-app-attached");_.Ko().processSignal("aa");H7a(this);_.Fe("gapi.load",_.a3a);_.x("kevlar_offline_aware_ui")&&(this.networkStatusManager.listen("publicytnetworkstatus-online",this.onlineHandler.bind(this)),this.networkStatusManager.listen("publicytnetworkstatus-offline",this.offlineHandler.bind(this)),this.networkStatusManager.isNetworkAvailable()||this.offlineHandler());_.x("web_enable_video_preview_migration")&&
(b=document.createElement("ytd-video-preview"),_.H(this.$["video-preview"]).appendChild(b));this.updateIsInlinePreviewDisabled();this.resetTheme()};
_.f.detached=function(){_.Y0a(this.$["guide-inner-content"]);_.xe.cancelJob(uJ);uJ=0;_.xe.cancelJob(wJ);wJ=0;_.kf(xJ);xJ.length=0;E7a=_.eJ=null;_.eu().dispose();_.x("kevlar_passive_event_listeners")&&this.removeEventListener("touchstart",this.boundOnTouchStart)};
_.f.updateIsInlinePreviewDisabled=function(){_.x("web_enable_video_preview_migration")&&(this.isInlinePreviewDisabled=_.ng(_.mg.getInstance(),186))};
_.f.computeIsInlinePreviewEnabled=function(a,b,c){var d=_.x("web_inline_disable_for_touch")&&_.QB;return!c&&!d&&(!a||_.x("web_inline_player_ignore_paused_miniplayer")&&[5,2].includes(b))};
_.f.isInlinePreviewEnabledChanged=function(){_.x("web_enable_video_preview_migration")&&this.ytdReduxBehavior.dispatch(_.t5a(this.isInlinePreviewEnabled))};
_.f.onlineHandler=function(){document.documentElement.removeAttribute("offline")};
_.f.onYtSignalActionRequestPersistentStorage=function(){if(!_.x("request_persistent_storage_killswitch")){var a=_.Eg().resolve(_.oDa);a.cachedPersistStatePromise||(a.cachedPersistStatePromise=wab())}};
_.f.offlineHandler=function(){document.documentElement.setAttribute("offline","true")};
_.f.initIconDefs=function(a,b,c){var d=document.createElement("iron-iconset-svg");d.name=a;a=document.createElementNS("http://www.w3.org/2000/svg","svg");d.appendChild(a);a.appendChild(b);if(c)for(var e in c)d[e]=c[e];document.body.appendChild(d);return d};
_.f.onWindowResized=function(){_.C(this,"yt-close-popup-action",["yt-tooltip-renderer"]);var a=_.iJ.getInstance();a.documentWidth_=document.body.clientWidth;Rab(a)};
_.f.onWindowScrolled=function(){if(_.x("kevlar_refresh_gesture")){var a=_.Eg().resolve(_.Co).getCurrentPage();_.x("kevlar_enable_mss_page_modules_client")&&!a||this.ytdReduxBehavior.dispatch(_.Rg({type:"SET_SCROLL_AT_TOP",payload:0>=a.getScrollTop()}))}};
_.f.guideIsVisibleButNotPersistentSelectorChanged=function(){var a=_.Eg().resolve(_.Co).getCurrentPage();"HTML"===this.getCurrentPageScrollableElementType()&&this.guideIsVisibleButNotPersistent?(document.body.style.overflowY="scroll",this.guideScrollTop=a.getScrollTop(),document.body.classList.add("lock-scrollbar"),document.body.style.top="-"+this.guideScrollTop+"px"):document.body.classList.contains("lock-scrollbar")&&(document.body.style.overflowY="",document.body.style.top="",document.body.classList.remove("lock-scrollbar"),
a.setScrollTop(this.guideScrollTop));_.Jg(this,"yt-rich-grid-layout-refreshed")};
_.f.getCurrentPageScrollableElementType=function(){var a=_.Eg().resolve(_.Co).getCurrentPage();if(a&&a.getPageScrollingElement())return a.getPageScrollingElement().nodeName};
_.f.observeGuideVisibility=function(){var a=_.iJ.getInstance(),b=this.miniGuideVisible;a.guidePersistentAndVisible_=this.guidePersistentAndVisible;a.miniGuideVisible_=b;Rab(a)};
_.f.handleEduDismissAction=function(a){a&&a.eduDismissAction&&(_.C(this,"yt-close-popup-action",["yt-bubble-hint-renderer"]),_.fv.getInstance(),_.ev.set(a.eduDismissAction.key+"-dismissed",!0))};
_.f.handleEduImpressionAction=function(a){if(a&&a.eduImpressionAction){var b=_.fv.getInstance();a=a.eduImpressionAction.key;b.JSC$36245_eduDisplayedThisLoad_[_.eIa[a].setKey||a]=!0;_.ev.set(a+"-impression",parseInt(_.ev.get(a+"-impression")||0,10)+1)}};
_.f.onYtSignalActionConfirmMentionsEdu=function(){_.C(this,"yt-close-popup-action",["yt-bubble-hint-renderer"]);_.PB.getInstance();_.OB.set("edu-dismissed",!0)};
_.f.onYtSignalActionRecordMentionsEduImpression=function(){_.PB.getInstance();var a=_.OB.set,b=parseInt(_.OB.get("edu-impressions"),10);a.call(_.OB,"edu-impressions",(isFinite(b)?b:0)+1)};
_.f.onYtdPageManagerAttached=function(a){"page-manager"==_.H(a).rootTarget.id&&this.pageManagerAttachedPromise.resolve()};
_.f.onInvokeInstrumentManagerAction=function(a,b){V$a(b,a)};
_.f.updateIconSet=function(){var a=_.H(this).querySelector("#masthead"),b=_.H(a),c=b.querySelector("g#yt-logo-updated");c&&(a=document.createElementNS("http://www.w3.org/2000/svg","defs"),a.appendChild(c.cloneNode(!0)),(b=b.querySelector("g#yt-logo-red-updated"))&&a.appendChild(b.cloneNode(!0)),this.initIconDefs("yt-logos-ext",a))};
_.f.updateMastheadData=function(){var a=this,b,c,d,e;return _.y(function(h){if(1==h.nextAddress){b=a.data;c=_.H(a).querySelector("#masthead");if(!c)return h.return();_.nt(a,function(){c.data=a.topbarData});
return a.get("response.topbar",b)&&0!==a.get("response.topbar.responseContext.maxAgeSeconds",b)?(d=_.x("topbar_persistent_store_fallback")?_.Eg().resolve(_.es):void 0)?_.B(h,d(),7):a.ephemeralResponseStore?_.B(h,a.ephemeralResponseStore.put("service:topbar:fallback",new _.lp({innertubeResponse:a.get("response.topbar",b)})),0):h.jumpTo(0):h.jumpTo(0)}return(e=h.yieldResult)?_.B(h,e.put("service:topbar:fallback",new _.lp({innertubeResponse:a.get("response.topbar",b)})),0):h.jumpTo(0)})};
_.f.computeTopbarData=function(a){return a?a.response?this.get("topbar.desktopTopbarRenderer",a.response)||this.get("desktopTopbar.desktopTopbarRenderer",a.response):null:null};
_.f.resetTheme=function(){var a=_.Fja();a=a?a:_.pg();this.setThemeMarkup("USER_INTERFACE_THEME_DARK"===a);this.setMastheadTheme()};
_.f.onSetTheaterModeEnabled=function(a,b){this.isTheaterModeSession=b.enabled;this.setTheaterModeStyles(b.enabled)};
_.f.setTheaterModeStyles=function(){this.setMastheadTheme()};
_.f.onDarkModeToggledAction=function(){_.Ed(window.location.href);_.x("kevlar_legacy_browsers")&&_.x("polymer2_not_shady_build")&&!_.sd(window.location.href).themeRefresh&&(S6a(),_.XI(_.td(window.location.href,{themeRefresh:1})));_.x("web_appshell_refresh_trigger")&&_.g.caches&&this.refreshAppShellResponse();var a=_.Gh(window.location.href);this.$.historyManager.replaceUrl(_.uh(a,"theme"));a=this.isAppDarkTheme();this.setThemeMarkup(!a);this.setMastheadTheme();_.eGa();S6a()};
_.f.onYtSignalActionToggleRestrictedModeOnAction=function(){this.setRestrictedMode(!0)};
_.f.onYtSignalActionToggleRestrictedModeOffAction=function(){this.setRestrictedMode(!1)};
_.f.onPlayerFullscreen=function(a){_.dJ();this.playerFullscreen=a};
_.f.setRestrictedMode=function(a){var b=_.mg.getInstance();_.YE(0,58,a);b.save();_.Eg().resolve(_.Do).reload()};
_.f.onPageChanged=function(a){"ytd-watch-flexy"===a.detail.newPageType||"ytd-watch-fixie"===a.detail.newPageType?this.ytdReduxBehavior.dispatch(_.Qma("WEB_PAGE_TYPE_WATCH")):this.ytdReduxBehavior.dispatch(_.Qma("WEB_PAGE_TYPE_UNKNOWN"));a.detail.oldPageType&&this.resetTheme();this.isFullWindowSession&&this.setFullscreen();this.updateIsInlinePreviewDisabled()};
_.f.onSetCookieCommand=function(a){if(a=a.setCookieCommand){var b=_.mg.getInstance();a.flagNum&&"boolean"===typeof a.value?(_.YE(0,a.flagNum,a.value),b.save()):a.key&&"string"===typeof a.stringValue&&(b.set(a.key,a.stringValue),b.save())}};
_.f.onSetPrefStorageEntryCommand=function(a){var b=a.setPrefStorageEntryCommand;b&&_.dp.getInstance().then(function(c){void 0!==c&&void 0!==b.key&&c.set(b.key,b.value)})};
_.f.onSetLocalStorageCommand=function(a){(a=a.setLocalStorageCommand)&&window.localStorage&&"string"===typeof a.key&&"string"===typeof a.value&&(window.localStorage[a.key]=a.value)};
_.f.onGuideToggleTap=function(){this.fire("yt-guide-toggle")};
_.f.onGuideToggleHover=function(){this.fire("yt-guide-hover")};
_.f.setThemeMarkup=function(a){this.ytdReduxBehavior.dispatch(_.Rg({type:"SET_DARK_MODE_IS_ENABLED",payload:a}));a?document.documentElement.setAttribute("dark","true"):document.documentElement.removeAttribute("dark");var b=document.querySelector('meta[name="theme-color"]');b&&(b.content=this.ytSwatchBehavior.metaThemeColor_(a))};
_.f.isTheaterMode=function(){return this.isWatchPage&&this.isTheaterModeSession};
_.f.isAppDarkTheme=function(){return document.documentElement.hasAttribute("dark")};
_.f.setMastheadTheme=function(){var a=this.queryEffectiveChildren("#masthead");a&&(a.dark=a.isDarkThemeForced||this.isTheaterMode()||this.isAppDarkTheme(),a.isDarkThemeForced=!1)};
_.f.onRequestPanelModeChange=function(a,b){this.hideHeaderShadow="seamed"!==b.mode};
_.f.onGuideOpenButtonHover=function(){this.renderGuide=!0};
_.f.onDrawerIronSelect=function(a){"guide"===_.H(a).rootTarget.id&&this.processDrawerIronSelect()};
_.f.processDrawerIronSelect=function(){this.ytRendererBehavior.markDirty();var a="closed",b=this.$.guide;b.opened&&(this.renderGuide=!0,b.persistent||(a="opened"));this.fire("yt-autonav-pause-guide-"+a)};
_.f.onAddElementToApp=function(a){_.H(this.root).appendChild(a.detail)};
_.f.onThrottledScroll=function(){var a=_.Eg().resolve(_.Co).getCurrentPage();a&&(this.scrollAtTop=0>=a.getScrollTop());this.mastheadHidden=this.canHideMasthead()};
_.f.canHideMasthead=function(){return this.scrollAtTop&&!!this.fullscreen};
_.f.setFullscreen=function(){var a=_.x("kevlar_fullerscreen_root_only_killswitch")?!!_.dJ():!!_.dJ()&&_.dJ()===document.documentElement;a=(this.isWatchPage||"inactive"!==this.richGridWatchStatus)&&(a||this.isFullWindowSession);this.fullscreen!==a&&((this.fullscreen=a)&&_.Jg(this,"yt-close-all-popups-action"),this.toggleFullscreenStyles(!!this.fullscreen),_.C(this,"yt-fullscreen-change-action",[this.fullscreen]))};
_.f.updateMastheadCssHeight=function(){var a=this.mastheadHeight;this.fullscreen&&(a=0);this.updateStyles({"--ytd-masthead-height":a+"px"})};
_.f.toggleFullscreenStyles=function(a){var b=_.Eg().resolve(_.Co).getCurrentPage();a?(document.body.classList.add("no-scroll"),b.pageScrollElement=this,this.scrolling=!0,this.listen(this,"scroll","onScroll"),b.setScrollTop(0),this.updateStyles({"--ytd-app-fullerscreen-scrollbar-width":_.AH()+"px"})):(document.body.classList.remove("no-scroll"),b.pageScrollElement=null,this.scrolling=!1,this.unlisten(this,"scroll","onScroll"));this.mastheadHidden=a;this.updateMastheadCssHeight()};
_.f.onScroll=function(){this.ytRendererBehavior.markDirty();this.scrollThrottle.fire()};
_.f.onYtMastheadHeightChanged=function(a,b){this.mastheadHeight=b.height;this.updateMastheadCssHeight()};
_.f.onYtNavigateAction=function(a){a=this.get("navigateAction.endpoint",a);this.fire("yt-navigate",{endpoint:a})};
_.f.onYtRegisterCreateFamilyDialog=function(){if(!this.hasCreateFamilyDialog){var a=document.createElement("yt-create-family-dialog");_.H(this.root).appendChild(a);this.hasCreateFamilyDialog=!0}};
_.f.onSetPushNotificationsEnabledCommand=function(a){var b=this;a.setPushNotificationsEnabledCommand&&"boolean"===typeof a.setPushNotificationsEnabledCommand.enabled&&("granted"!==Notification.permission?w7a().then(function(){"granted"===Notification.permission?(i7a(!a.setPushNotificationsEnabledCommand.enabled).then(tJ),a.setPushNotificationsEnabledCommand.successAction&&_.Kg(b,[a.setPushNotificationsEnabledCommand.successAction])):a.setPushNotificationsEnabledCommand.failureAction&&_.Kg(b,[a.setPushNotificationsEnabledCommand.failureAction])}):
(i7a(!a.setPushNotificationsEnabledCommand.enabled).then(tJ),a.setPushNotificationsEnabledCommand.successAction&&_.Kg(this,[a.setPushNotificationsEnabledCommand.successAction])))};
_.f.onYtSignalActionEnableChromeNotifications=function(){x7a(!0)};
_.f.onFocusSearchBox=function(){var a=this.querySelector("ytd-searchbox");a&&a.focus()};
_.f.onOpenHotkeyDialog=function(){this.topbarData.hotkeyDialog&&this.ytOpenPopupBehavior.openPopup({openPopupAction:{popupType:"DIALOG",popup:{hotkeyDialogRenderer:this.topbarData.hotkeyDialog.hotkeyDialogRenderer}}})};
_.f.onYtSignalActionShowKeyboardShortcutDialog=function(){_.C(this,"yt-close-popup-action",["ytd-multi-page-menu-renderer"]);this.onOpenHotkeyDialog()};
_.f.onYtEndpointChangeHandler=function(a,b){var c=_.gm(OM);c.pendingPrefetchJob_&&(b=!(!b||"1"!=b.autonav),c.pendingPrefetchJob_.resolve(a&&t9a(a)?mK(a,b):""),c.pendingPrefetchJob_=null);_.C(this,"yt-pause-active-page-context");_.C(this,"ytd-log-youthere-nav");_.C(this,"yt-prepare-page-dispose")};
_.f.handleClearUrlParamCommand=function(a){if(a.clearUrlParamCommand&&a.clearUrlParamCommand.paramKeys){var b=a.clearUrlParamCommand.paramKeys;a=_.Bm(window.location.href);b=_.k(b);for(var c=b.next();!c.done;c=b.next())a.JSC$32753_queryData_.remove(c.value);window.history.replaceState(window.history.state,document.title,a.toString())}};
_.f.onYtCommandExecutorCommand=function(a,b){a.commandExecutorCommand.commands&&_.Lg(this,a.commandExecutorCommand.commands,b)};
_.f.onYtTimedCommand=function(a){var b=this;a.timedCommand.command&&_.JG(_.xe,function(){_.Lg(b,[a.timedCommand.command],b)},a.timedCommand.timeoutMs||0)};
_.f.onYtSignalActionSkipNavigation=function(){var a=_.Eg().resolve(_.Co).getCurrentPage();_.gy(a)};
_.f.onYtSignalActionCopyDebugData=function(){V6a()};
_.f.handleEntityUpdateCommand=function(a){_.eh(a.entityUpdateCommand.entityBatchUpdate,this.ytdReduxBehavior.store)};
_.f.logFlowLoggingEventCommand=function(a){if(a.logFlowLoggingEventCommand)if("FLOW_LOGGING_EVENT_CLASSIFICATION_START_EVENT"===a.logFlowLoggingEventCommand.eventType){a=a.logFlowLoggingEventCommand;var b=a.flowEventNamespace,c=a.flowEventType,d=a.flowType;d&&b&&c&&(a=Fnb(b,c,a.flowEventMetadata),b=Enb(),c=Gnb(b,d,!0),Hnb(b,a,d,c))}else{d=Enb();a=a.logFlowLoggingEventCommand;b=a.flowEventNamespace;c=a.flowEventType;var e=a.flowType;e&&b&&c&&Hnb(d,Fnb(b,c,a.flowEventMetadata),e,a.flowNonce)}};
_.f.onGuideTouchStart=function(){this.guideScrolledByTouch=!0};
_.f.onGuideTouchEnd=function(){this.guideScrolledByTouch=!1};
_.f.onTouchStart=function(){if(_.x("desktop_touch_gestures_usage_log")){var a=_.JE(),b=_.fg();if(_.x("kevlar_touch_gesture_ves")&&a.ve&&a.JSC$37798_screenManager&&b)_.Ou(a.JSC$37798_screenManager,{visualElement:a.ve});else if((a=_.eg())&&b){var c=_.oo(83615);_.tv(b,a,c);_.pt(b,c)}}};
_.f.handleWebNativeShareCommand=function(a){navigator.share({url:a.webNativeShareCommand.url}).catch(function(){})};
_.f.handleSelectCountryCommand=function(a){if(a=a.selectCountryCommand.gl){var b={persist_gl:1,gl:a},c=_.mg.getInstance();c.set("gl",a);c.save();a=Vab(b);_.XI(a)}};
_.f.handlePersistSubscriptionsDisplayPreferencesCommand=function(a){if(a.persistSubscriptionsDisplayPreferencesCommand){var b=_.mg.getInstance();_.YE(0,155,a.persistSubscriptionsDisplayPreferencesCommand.useListView);b.save()}};
_.f.handleSelectLanguageCommand=function(a){if(a=a.selectLanguageCommand.hl){var b=_.mg.getInstance();b.set("hl",a);b.save();_.Eg().resolve(_.Do).reload()}};
_.f.handleConfirmDialogEndpoint=function(a){(a=this.ytOpenPopupBehavior.getNavigationEndpointPopupAction(a))&&this.ytOpenPopupBehavior.openPopup(a)};
_.f.hardReloadWithShellPurge=function(a){a=void 0===a?{}:a;a=Object.assign({},a,{purge_shell:1});a=Vab(a);_.XI(a)};
_.f.refreshAppShellResponse=function(){navigator.serviceWorker&&navigator.serviceWorker.ready.then(function(a){a&&a.active&&a.active.postMessage({type:"refresh_shell"})}).catch(function(a){"SecurityError"!==a.name&&_.Qf(a)})};
_.f.onDeviceThemeChanged=function(){var a=_.og();_.YE(_.mg.getInstance(),185,a);if(_.Gja()&&this.isAppDarkTheme()!==a)this.onDarkModeToggledAction()};
_.f.handleYtRegisterPromoCommand=function(a){if(a.registerPromoCommand){var b=_.Eg().resolve(_.Co).getCurrentPage()||this;thb().registerPromoCommand(a.registerPromoCommand,b)}};
_.f.onYtNavigateHomeAction=function(){if(!_.x("kevlar_miniplayer_navigate_home_from_app_killswitch")){var a,b,c,d,e=null!=(d=null==(a=this.topbarData)?void 0:null==(b=a.logo)?void 0:null==(c=b.topbarLogoRenderer)?void 0:c.endpoint)?d:_.hp;this.ytComponentBehavior.resolveCommand(e)}};
_.f.onYtLocationCollectionCommand=function(a){G$a(a.locationCollectionCommand)};
_.f.onYtGetLocationCommand=function(a){_.x("enable_mainapp_location_collection_on_desktop")&&b$a(a.getLocationCommand,this)};
_.t.Object.defineProperties(MT.prototype,{csiServiceName:{configurable:!0,enumerable:!0,get:function(){return"youtube"}}});
_.t.Object.defineProperties(MT,{template:{configurable:!0,enumerable:!0,get:function(){if(void 0===wrb){var a=document.createElement("template");a.innerHTML='\x3c!--css_build_scope:ytd-app--\x3e\x3c!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.main_desktop.ytd_app.ytd.app.css.js--\x3e<yt-guide-manager id="guide-service" disabled="[[standalone]]" guide-persistent-and-visible="{{guidePersistentAndVisible}}" mini-guide-visible="{{miniGuideVisible}}" render-guide="{{renderGuide}}">\n</yt-guide-manager>\n<yt-gfeedback-manager></yt-gfeedback-manager>\n<yt-mdx-manager></yt-mdx-manager>\n<ytd-navigation-manager id="nav"></ytd-navigation-manager>\n<yt-network-manager id="net"></yt-network-manager>\n<yt-playlist-manager></yt-playlist-manager>\n<yt-hotkey-manager></yt-hotkey-manager>\n<yt-visibility-monitor id="visibility-monitor" disable-upgrade$="[[useVimio]]" height-prescan="400" pause-scan="[[pauseVisibilityMonitor]]" track-window-scroll=""></yt-visibility-monitor>\n<yt-history-manager id="historyManager"></yt-history-manager>\n<div id="content">\n  <div id="masthead-container">\n    <slot name="masthead"></slot>\n  </div>\n  <tp-yt-app-drawer id="guide" align="start" role="navigation">\n    <div id="guide-wrapper">\n      <div id="guide-spacer"></div>\n      <div id="guide-content">\n        <div id="header" hidden="[[guidePersistentAndVisible]]">\n          \n          <yt-icon-button id="guide-button" aria-label$="[[menuStrings.GUIDE_ALT_LABEL]]" pressed="true" toggleable="true" on-mouseenter="onGuideToggleHover" on-tap="onGuideToggleTap">\n            <yt-icon id="guide-icon" icon="yt-icons:menu"></yt-icon>\n          </yt-icon-button>\n          <ytd-topbar-logo-renderer country-code="[[topbarData.countryCode]]" data="[[topbarData.logo.topbarLogoRenderer]]" disable-upgrade$="[[guideIsVisibleButNotPersistent]]">\n          </ytd-topbar-logo-renderer>\n        </div>\n        <div id="guide-inner-content" on-touchstart="onGuideTouchStart" on-touchend="onGuideTouchEnd">\n          <template is="dom-if" if="[[renderGuide]]">\n            <ytd-guide-renderer id="guide-renderer">\n              <slot name="guide-links-primary" slot="guide-links-primary"></slot>\n              <slot name="guide-links-secondary" slot="guide-links-secondary"></slot>\n              <slot name="vat-notice" slot="vat-notice"></slot>\n              <slot name="copyright" slot="copyright"></slot>\n            </ytd-guide-renderer>\n          </template>\n        </div>\n      </div>\n    </div>\n  </tp-yt-app-drawer>\n  <ytd-mini-guide-renderer disable-upgrade$="[[!miniGuideVisible]]" hidden="[[!miniGuideVisible]]" visible="[[miniGuideVisible]]">\n  </ytd-mini-guide-renderer>\n  <ytd-page-manager id="page-manager"></ytd-page-manager>\n</div>\n<ytd-popup-container></ytd-popup-container>\n<ytd-third-party-manager></ytd-third-party-manager>\n<div id="video-preview"></div>\n';
a.content.insertBefore(_.I().content.cloneNode(!0),a.content.firstChild);var b=a.content,c=b.insertBefore;if(void 0===vrb){var d=document.createElement("template");d.innerHTML='\x3c!--css_build_mark:video.youtube.src.web.polymer.main_desktop.ytd_app.ytd.app.css.js--\x3e<style>:host {--app-drawer-width: 240px;--ytd-mini-guide-width: 72px;--app-drawer-content-container-background-color: var(--yt-spec-general-background-a);background: var(--yt-spec-general-background-a);display: block;left: 0;min-height: 100%;position: absolute;right: 0;top: 0;scrollbar-color: var(--yt-spec-text-secondary) transparent;} :host([background-refresh]) {background: var(--yt-spec-brand-background-solid);} :host([guide-refresh]) {--app-drawer-content-container-background-color: var(--yt-spec-brand-background-solid);} :host([scrolling]) {position: absolute;top: 0;left: 0;right: calc((var(--ytd-app-fullerscreen-scrollbar-width) + 1px) * -1);bottom: 0;overflow-x: auto;} #guide-button {color: var(--yt-spec-icon-active-other);width: 40px;height: 40px;padding: 8px;box-sizing: border-box;} #guide-icon {fill: var(--yt-spec-icon-active-other);} #guide-content {background: var(--yt-spec-brand-background-solid);-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} :host([guide-refresh]) #guide-content {border-right: 1px solid var(--yt-spec-10-percent-layer);} #guide-inner-content {overflow: hidden;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;overflow-y: auto;scrollbar-color: transparent transparent;scrollbar-width: thin;} #guide-inner-content::-webkit-scrollbar {background: transparent;width: 16px;} #guide-inner-content::-webkit-scrollbar-thumb {height: 56px;border-radius: 8px;border: 4px solid transparent;background-clip: content-box;background-color: transparent;} #guide-inner-content:hover {scrollbar-color: var(--yt-spec-icon-disabled) transparent;} #guide-inner-content:hover::-webkit-scrollbar-thumb {background-color: var(--yt-spec-icon-disabled);} :host([guide-persistent-and-visible]) ytd-page-manager {margin-left: 240px;} :host([mini-guide-visible]) ytd-page-manager {margin-left: var(--ytd-mini-guide-width);} ytd-mini-guide-renderer {position: fixed;left: 0;top: var(--ytd-masthead-height,var(--ytd-toolbar-height));bottom: 0;width: var(--ytd-mini-guide-width);} tp-yt-app-drawer:not([persistent]) {z-index: 2030;} tp-yt-app-drawer[persistent] {z-index: 2005;} #guide-wrapper {height: 100%;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: column;-webkit-flex-direction: column;flex-direction: column;} #guide-spacer {margin-top: var(--ytd-masthead-height,var(--ytd-toolbar-height));} tp-yt-app-drawer:not([persistent]) #guide-spacer {display: none;} #masthead-container {position: fixed;top: 0;width: 100%;z-index: 2020;transform: translateY(0);transition: transform 0.3s ease;} :host([player-fullscreen]) #masthead-container {position: inherit;} :host([masthead-hidden]) #masthead-container {transform: translateY(calc(-100% - 5px));opacity: 0;transition: transform 0.3s ease,opacity 0s 0.3s;} :host([hide-header-shadow]) #masthead-container::after {opacity: 0;} #masthead-container::after {content: "";height: 5px;opacity: 1;pointer-events: none;position: absolute;right: 0px;width: 100%;z-index: 2050;bottom: 0;left: 0;} #header {height: 56px;padding-left: 16px;display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex-direction: row;-webkit-flex-direction: row;flex-direction: row;-ms-flex-align: center;-webkit-align-items: center;align-items: center;} tp-yt-app-drawer #header:after {content: "";height: 5px;left: 0px;position: absolute;right: 0px;top: var(--ytd-toolbar-height);width: 100%;} tp-yt-app-drawer[persistent] #header:after {box-shadow: inset 0px 4px 8px -3px rgba(17,17,17,0.06);} #page-manager {--ytd-toolbar-offset: var(--ytd-masthead-height, var(--ytd-toolbar-height));overflow-x: auto;margin-top: var(--ytd-masthead-height,var(--ytd-toolbar-height));} :host(:not([use-content-visibility])) #page-manager {display: -ms-flexbox;display: -webkit-flex;display: flex;-ms-flex: 1 1 0.000000001px;-webkit-flex: 1;flex: 1;-webkit-flex-basis: 0.000000001px;flex-basis: 0.000000001px;} ytd-guide-renderer {width: 240px;} yt-page-navigation-progress {--yt-page-navigation-container-color: var(--yt-spec-10-percent-layer);z-index: 2100;} #opt-out-button {margin-top: 4px;} #gfeedback-button {margin-top: 8px;} :host([standalone]) #page-manager {margin: 0;} :host([standalone]) ytd-mini-guide-renderer,:host([standalone]) #masthead-container,:host([standalone]) #guide {display: none;} :host([miniplayer-is-active]) {--ytd-miniplayer-offset: calc( var(--ytd-miniplayer-card-height) + var(--ytd-margin-base) );} /*# sourceMappingURL=ytd-app.css.map*/</style>';
vrb=d}d=vrb;c.call(b,d.content.cloneNode(!0),a.content.firstChild);wrb=a}a=wrb;return a}}});
var NT=MT;NT.prototype.onOpenHotkeyDialog=NT.prototype.onOpenHotkeyDialog;NT.prototype.onFocusSearchBox=NT.prototype.onFocusSearchBox;NT.prototype.onYtMastheadHeightChanged=NT.prototype.onYtMastheadHeightChanged;NT.prototype.setFullscreen=NT.prototype.setFullscreen;NT.prototype.onAddElementToApp=NT.prototype.onAddElementToApp;NT.prototype.onDrawerIronSelect=NT.prototype.onDrawerIronSelect;NT.prototype.onGuideOpenButtonHover=NT.prototype.onGuideOpenButtonHover;
NT.prototype.onRequestPanelModeChange=NT.prototype.onRequestPanelModeChange;NT.prototype.onPageChanged=NT.prototype.onPageChanged;NT.prototype.onSetTheaterModeEnabled=NT.prototype.onSetTheaterModeEnabled;NT.prototype.updateMastheadData=NT.prototype.updateMastheadData;NT.prototype.onYtdPageManagerAttached=NT.prototype.onYtdPageManagerAttached;NT.prototype.observeGuideVisibility=NT.prototype.observeGuideVisibility;NT.prototype.guideIsVisibleButNotPersistentSelectorChanged=NT.prototype.guideIsVisibleButNotPersistentSelectorChanged;
NT.prototype.isInlinePreviewEnabledChanged=NT.prototype.isInlinePreviewEnabledChanged;_.S([_.L(Shb),_.T("design:type",Object)],NT.prototype,"ytdAutonavPauseBehavior",void 0);_.S([_.L(_.Wu),_.T("design:type",Object)],NT.prototype,"ytdReduxBehavior",void 0);_.S([_.L(Yhb),_.T("design:type",Object)],NT.prototype,"ytdPlaylistHandlerBehavior",void 0);_.S([_.L(Vhb),_.T("design:type",Object)],NT.prototype,"ytdDownloadManagerBehavior",void 0);
_.S([_.L(_.Qw.YtEventForwardingBehavior),_.T("design:type",Object)],NT.prototype,"ytEventForwardingBehavior",void 0);_.S([_.L(_.Su.YtOpenPopupBehavior),_.T("design:type",Object)],NT.prototype,"ytOpenPopupBehavior",void 0);_.S([_.L(_.Y.YtActionHandlerBehavior),_.T("design:type",Object)],NT.prototype,"ytActionHandlerBehavior",void 0);
_.S([_.L({_noAccessors:!0,actionRouterIsRoot:!1,created:function(){this.actionRouter_=_.Io.getInstance();this.actionRouterNode=this.actionRouterIsRoot?document:this;this.onYtActionBoundListener_=this.onYtAction_.bind(this);this.actionRouterListenersRegistered_=!1;_.x("action_router_attached_only_killswitch")&&this.registerActionRouterEventListeners_()},
attached:function(){this.registerActionRouterEventListeners_()},
detached:function(){this.unregisterActionRouterEventListeners_()},
registerActionRouterEventListeners_:function(){this.actionRouterListenersRegistered_||(this.actionRouterListenersRegistered_=!0,this.actionRouterNode.addEventListener("yt-action",this.onYtActionBoundListener_))},
unregisterActionRouterEventListeners_:function(){this.actionRouterListenersRegistered_=!1;this.actionRouterNode.removeEventListener("yt-action",this.onYtActionBoundListener_)},
onYtAction_:function(a){this.actionRouter_.handleAction(a.detail)}}),
_.T("design:type",Object)],NT.prototype,"ytActionRouterBehavior",void 0);_.S([_.L(Fhb.YtdAppBehavior),_.T("design:type",Object)],NT.prototype,"ytdAppBehavior",void 0);_.S([_.L(_.Tu.YtEndpointBehavior),_.T("design:type",Object)],NT.prototype,"ytEndpointBehavior",void 0);_.S([_.L(Brb.YtEndpointHandlerWithYpcBehavior),_.T("design:type",Object)],NT.prototype,"ytEndpointHandlerWithYpcBehavior",void 0);
_.S([_.L(xrb.YtLogYpcFlowCommandsBehavior),_.T("design:type",Object)],NT.prototype,"ytLogYpcFlowCommandsBehavior",void 0);_.S([_.L(Crb.YtFeedbackCollectorBehavior),_.T("design:type",Object)],NT.prototype,"ytFeedbackCollectorBehavior",void 0);_.S([_.L(_.U.YtRendererBehavior),_.T("design:type",Object)],NT.prototype,"ytRendererBehavior",void 0);_.S([_.L(Erb.YtSwatchBehavior),_.T("design:type",Object)],NT.prototype,"ytSwatchBehavior",void 0);
_.S([_.L(_.iu.YtComponentBehavior),_.T("design:type",Object)],NT.prototype,"ytComponentBehavior",void 0);_.S([_.N({selector:_.d5a}),_.T("design:type",Boolean)],NT.prototype,"tabGesturesIsActive",void 0);_.S([_.N(),_.T("design:type",Boolean)],NT.prototype,"renderGuide",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],NT.prototype,"guidePersistentAndVisible",void 0);_.S([_.N({selector:_.a5a}),_.T("design:type",Boolean)],NT.prototype,"guideIsVisibleButNotPersistent",void 0);
_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],NT.prototype,"standalone",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],NT.prototype,"miniGuideVisible",void 0);_.S([_.N({selector:_.c5a}),_.T("design:type",Number)],NT.prototype,"miniplayerPlaybackState",void 0);_.S([_.N({selector:_.b5a,reflectToAttribute:!0}),_.T("design:type",Boolean)],NT.prototype,"miniplayerIsActive",void 0);
_.S([_.N({computed:"computeIsInlinePreviewEnabled(miniplayerIsActive, miniplayerPlaybackState, isInlinePreviewDisabled)"}),_.T("design:type",Boolean)],NT.prototype,"isInlinePreviewEnabled",void 0);_.S([_.N(),_.T("design:type",Boolean)],NT.prototype,"isInlinePreviewDisabled",void 0);_.S([_.N({reflectToAttribute:!0,value:function(){return _.fd("START_IN_FULL_WINDOW_MODE")}}),
_.T("design:type",Boolean)],NT.prototype,"mastheadHidden",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],NT.prototype,"playerFullscreen",void 0);_.S([_.N({value:!1,reflectToAttribute:!0}),_.T("design:type",Boolean)],NT.prototype,"hideHeaderShadow",void 0);_.S([_.N({value:{GUIDE_ALT_LABEL:_.Bg("GUIDE_ALT_LABEL",void 0,"Guide")}}),_.T("design:type",Object)],NT.prototype,"menuStrings",void 0);
_.S([_.N({computed:"computeTopbarData(data)"}),_.T("design:type",Object)],NT.prototype,"topbarData",void 0);_.S([_.N({selector:_.R0a}),_.T("design:type",Boolean)],NT.prototype,"isWatchPage",void 0);_.S([_.N({value:_.x("kevlar_use_vimio_behavior")}),_.T("design:type",Boolean)],NT.prototype,"useVimio",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("web_guide_ui_refresh")}),_.T("design:type",Boolean)],NT.prototype,"guideRefresh",void 0);
_.S([_.N({reflectToAttribute:!0,value:_.x("web_background_colors_update")}),_.T("design:type",Boolean)],NT.prototype,"backgroundRefresh",void 0);_.S([_.N({reflectToAttribute:!0}),_.T("design:type",Boolean)],NT.prototype,"scrolling",void 0);_.S([_.N({reflectToAttribute:!0,value:!1}),_.T("design:type",Boolean)],NT.prototype,"guideScrolledByTouch",void 0);_.S([_.N({reflectToAttribute:!0,value:_.x("kevlar_content_visibility_hidden")}),_.T("design:type",Boolean)],NT.prototype,"useContentVisibility",void 0);
_.S([_.N({selector:_.AI}),_.T("design:type",String)],NT.prototype,"richGridWatchStatus",void 0);_.S([_.Ct("isInlinePreviewEnabled"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NT.prototype,"isInlinePreviewEnabledChanged",null);_.S([_.P("guideIsVisibleButNotPersistent"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NT.prototype,"guideIsVisibleButNotPersistentSelectorChanged",null);
_.S([_.P("guidePersistentAndVisible","miniGuideVisible"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NT.prototype,"observeGuideVisibility",null);_.S([_.O("attached"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],NT.prototype,"onYtdPageManagerAttached",null);_.S([_.P("data"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype",Promise)],NT.prototype,"updateMastheadData",null);
_.S([_.O("yt-set-theater-mode-enabled"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],NT.prototype,"onSetTheaterModeEnabled",null);_.S([_.O("yt-page-type-changed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],NT.prototype,"onPageChanged",null);
_.S([_.O("yt-request-panel-mode-change"),_.T("design:type",Function),_.T("design:paramtypes",[Event,Object]),_.T("design:returntype")],NT.prototype,"onRequestPanelModeChange",null);_.S([_.O("yt-guide-hover"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NT.prototype,"onGuideOpenButtonHover",null);_.S([_.O("app-drawer-transitioned"),_.T("design:type",Function),_.T("design:paramtypes",[Event]),_.T("design:returntype")],NT.prototype,"onDrawerIronSelect",null);
_.S([_.O("yt-add-element-to-app"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent]),_.T("design:returntype")],NT.prototype,"onAddElementToApp",null);_.S([_.O("yt-set-fullerscreen-styles"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NT.prototype,"setFullscreen",null);
_.S([_.O("yt-masthead-height-changed"),_.T("design:type",Function),_.T("design:paramtypes",[CustomEvent,Object]),_.T("design:returntype")],NT.prototype,"onYtMastheadHeightChanged",null);_.S([_.O("yt-focus-searchbox"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NT.prototype,"onFocusSearchBox",null);_.S([_.O("yt-open-hotkey-dialog"),_.T("design:type",Function),_.T("design:paramtypes",[]),_.T("design:returntype")],NT.prototype,"onOpenHotkeyDialog",null);
NT=_.S([_.Q({asyncProperties:!0,is:"ytd-app"})],NT);_.Ko().processSignal("eor");

_.Ub();

}catch(e){_._DumpException(e)}
}).call(this,this.default_kevlar_base);
// Google Inc.
